1import{Q as W,r as N,S as D,x as E,c as k,f as l,e as L,a as J,b as z,g as x,o as i,d as e,t,E as B,j as b,n as p,F as A,k as T,H as w,y as X,z as G,L as K,N as Q}from"./app-5uW00C10.js";const U={key:0,class:"fixed bottom-0 inset-x-0 z-50 p-4"},q={class:"max-w-4xl mx-auto"},Z={class:"bg-white rounded-xl shadow-2xl border border-gray-200 overflow-hidden"},ee={key:0,class:"bg-blue-50 border-b border-blue-100 px-6 py-3"},te={class:"flex items-center gap-2 text-sm text-blue-800"},se={key:0},oe={key:1},re={class:"p-6"},ae={class:"flex items-start gap-4"},ne={class:"flex-1 min-w-0"},ie={class:"text-lg font-semibold text-gray-900"},le={class:"mt-1 text-sm text-gray-600"},ce={class:"mt-3 flex flex-wrap gap-4 text-sm"},de={href:"/privacy-policy",class:"text-primary-600 hover:text-primary-800 underline"},pe={href:"/cookie-policy",class:"text-primary-600 hover:text-primary-800 underline"},ue={class:"mt-6 flex flex-col sm:flex-row gap-3"},ge=["disabled"],fe=["disabled"],ye=["disabled"],me={key:0,class:"fixed inset-0 z-[60] overflow-y-auto"},ve={class:"flex min-h-full items-center justify-center p-4"},_e={class:"relative w-full max-w-2xl bg-white rounded-xl shadow-2xl"},he={class:"flex items-center justify-between px-6 py-4 border-b border-gray-200"},xe={class:"text-xl font-semibold text-gray-900"},ke={class:"px-6 py-4 max-h-[60vh] overflow-y-auto"},be={class:"text-sm text-gray-600 mb-6"},we={key:0,class:"mb-6 p-4 bg-blue-50 rounded-lg"},Ce={class:"text-sm text-blue-800"},Se={class:"space-y-4"},je={class:"border border-gray-200 rounded-lg overflow-hidden"},Ne={class:"flex items-center justify-between p-4 bg-gray-50"},Ae={class:"flex-1"},$e={class:"font-medium text-gray-900"},Me={class:"inline-flex items-center mt-1 px-2 py-0.5 rounded text-xs font-medium bg-green-100 text-green-800"},Pe={class:"p-4 border-t border-gray-200"},De={class:"text-sm text-gray-600 mb-4"},Ee={key:0,class:"overflow-x-auto"},Le={class:"min-w-full text-sm"},ze={class:"text-left text-gray-500"},Be={class:"pb-2 font-medium"},Te={class:"pb-2 font-medium"},Oe={class:"pb-2 font-medium"},Fe={class:"pb-2 font-medium"},Ie={class:"text-gray-700"},Re={class:"py-1 font-mono text-xs"},Ve={class:"py-1"},We={class:"py-1"},Ye={class:"py-1"},He={class:"border border-gray-200 rounded-lg overflow-hidden"},Je={class:"flex items-center justify-between p-4"},Xe={class:"flex-1"},Ge={class:"font-medium text-gray-900"},Ke={class:"text-sm text-gray-500 mt-0.5"},Qe={class:"flex items-center gap-3"},Ue={class:"p-4 border-t border-gray-200"},qe={class:"text-sm text-gray-600"},Ze={class:"border border-gray-200 rounded-lg overflow-hidden"},et={class:"flex items-center justify-between p-4"},tt={class:"flex-1"},st={class:"font-medium text-gray-900"},ot={class:"text-sm text-gray-500 mt-0.5"},rt={class:"flex items-center gap-3"},at={class:"p-4 border-t border-gray-200"},nt={class:"text-sm text-gray-600"},it={class:"border border-gray-200 rounded-lg overflow-hidden"},lt={class:"flex items-center justify-between p-4"},ct={class:"flex-1"},dt={class:"font-medium text-gray-900"},pt={class:"text-sm text-gray-500 mt-0.5"},ut={class:"flex items-center gap-3"},gt={class:"p-4 border-t border-gray-200"},ft={class:"text-sm text-gray-600 mb-4"},yt={key:0,class:"overflow-x-auto"},mt={class:"min-w-full text-sm"},vt={class:"text-left text-gray-500"},_t={class:"pb-2 font-medium"},ht={class:"pb-2 font-medium"},xt={class:"pb-2 font-medium"},kt={class:"pb-2 font-medium"},bt={class:"text-gray-700"},wt={class:"py-1 font-mono text-xs"},Ct={class:"py-1"},St={class:"py-1"},jt={class:"py-1"},Nt={class:"mt-6 pt-4 border-t border-gray-200 flex flex-wrap gap-4 text-sm"},At={href:"/privacy-policy",class:"text-primary-600 hover:text-primary-800 underline"},$t={href:"/cookie-policy",class:"text-primary-600 hover:text-primary-800 underline"},Mt={class:"flex flex-col sm:flex-row gap-3 px-6 py-4 border-t border-gray-200 bg-gray-50"},Pt=["disabled"],Dt=["disabled"],Et=["disabled"],V="1.0",Lt=365,Vt={__name:"CookieConsent",setup(O,{expose:h}){const S=W(),c=N(!1),f=N(!1),d=N(!1),y=D({gpc:!1,dnt:!1}),r=D({necessary:!0,analytics:!1,marketing:!1,preferences:!1}),u=D({necessary:!1,analytics:!1,marketing:!1,preferences:!1}),_={necessary:[{name:"XSRF-TOKEN",provider:"Laravel",purpose:"purpose_security",duration:"Session"},{name:"laravel_session",provider:"Laravel",purpose:"purpose_session",duration:"2h"},{name:"cookie_consent",provider:"This website",purpose:"purpose_consent_storage",duration:"12 months"}],analytics:[],marketing:[],preferences:[{name:"locale",provider:"This website",purpose:"purpose_preferences",duration:"12 months"}]},s=(n,o="")=>{const a=n.split(".");let C=S.props.translations;for(const H of a)C=C==null?void 0:C[H];return C||o};E(async()=>{$();const n=m();n&&n.version===V&&!v(n.date)?(Object.assign(r,n.categories),c.value=!1):((y.gpc||y.dnt)&&(r.analytics=!1,r.marketing=!1,r.preferences=!1),c.value=!0)});const $=()=>
1{y.gpc=navigator.globalPrivacyControl===!0,y.dnt=navigator.doNotTrack==="1"||window.doNotTrack==="1"},m=()=>{try{const n=localStorage.getItem("cookie_consent_data");return n?JSON.parse(n):null}catch{return null}},v=n=>{if(!n)return!0;const o=new Date(n),a=new Date(o);return a.setDate(a.getDate()+Lt),new Date>a},g=async n=>{const o={version:V,date:new Date().toISOString(),categories:{...r},locale:S.props.locale||"en",action:n};localStorage.setItem("cookie_consent_data",JSON.stringify(o)),localStorage.setItem("cookie_consent",n==="accept_all"?"accepted":n==="reject_all"?"declined":"customized"),localStorage.setItem("cookie_consent_date",o.date);try{await G.post("/api/cookie-consent",{action:n,analytics:r.analytics,marketing:r.marketing,preferences:r.preferences})}catch(a){console.warn("Failed to store consent to server:",a)}window.dispatchEvent(new CustomEvent("cookieConsentChanged",{detail:{categories:{...r},action:n}}))},M=async()=>{d.value=!0,r.analytics=!0,r.marketing=!0,r.preferences=!0,await g("accept_all"),c.value=!1,f.value=!1,d.value=!1},F=async()=>{d.value=!0,r.analytics=!1,r.marketing=!1,r.preferences=!1,await g("reject_all"),c.value=!1,f.value=!1,d.value=!1},Y=async()=>{d.value=!0,await g("customize"),c.value=!1,f.value=!1,d.value=!1},P=()=>{f.value=!0},I=()=>{f.value=!1},j=n=>{u[n]=!u[n]};h({openModal:P}),E(()=>{window.openCookieSettings=P});const R=k(()=>y.gpc||y.dnt);return(n,o)=>(i(),l(A,null,[L(B,{"enter-active-class":"transition ease-out duration-300","enter-from-class":"translate-y-full opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition ease-in duration-200","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-full opacity-0"},{default:z(()=>[c.value&&!f.value?(i(),l("div",U,[e("div",q,[e("div",Z,[R.value?(i(),l("div",ee,[e("div",te,[o[7]||(o[7]=e("svg",{class:"w-5 h-5 flex-shrink-0",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75L11.25 15 15 9.75m-3-7.036A11.959 11.959 0 013.598 6 11.99 11.99 0 003 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285z"})],-1)),y.gpc?(i(),l("span",se,t(s("app.cookies.gpc_detected","Global Privacy Control enabled")),1)):y.dnt?(i(),l("span",oe,t(s("app.cookies.dnt_detected","Do Not Track enabled")),1)):x("",!0)])])):x("",!0),e("div",re,[e("div",ae,[o[8]||(o[8]=e("div",{class:"flex-shrink-0 w-12 h-12 bg-primary-100 rounded-full flex items-center justify-center"},[e("svg",{class:"w-6 h-6 text-primary-600",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 8.25v-1.5m0 1.5c-1.355 0-2.697.056-4.024.166C6.845 8.51 6 9.473 6 10.608v2.513m6-4.87c1.355 0 2.697.055 4.024.165C17.155 8.51 18 9.473 18 10.608v2.513m-3-4.87v-1.5m-6 1.5v-1.5m12 9.75l-1.5.75a3.354 3.354 0 01-3 0 3.354 3.354 0 00-3 0 3.354 3.354 0 01-3 0 3.354 3.354 0 00-3 0 3.354 3.354 0 01-3 0L3 16.5m15-3.38a48.474 48.474 0 00-6-.37c-2.032 0-4.034.125-6 .37m12 0c.39.049.777.102 1.163.16 1.07.16 1.837 1.094 1.837 2.175v5.17c0 .62-.504 1.124-1.125 1.124H4.125A1.125 1.125 0 013 20.625v-5.17c0-1.08.768-2.014 1.837-2.174A47.78 47.78 0 016 13.12M12.265 3.11a.375.375 0 11-.53 0L12 2.845l.265.265zm-3 0a.375.375 0 11-.53 0L9 2.845l.265.265zm6 0a.375.375 0 11-.53 0L15 2.845l.265.265z"})])],-1)),e("div",ne,[e("h3",ie,t(s("app.cookies.banner_title","We value your privacy")),1),e("p",le,t(s("app.cookies.banner_description","We use cookies to enhance your browsing experience. You can choose which cookies you allow.")),1),e("div",ce,[e("a",de,t(s("app.cookies.privacy_policy","Privacy Policy")),1),e("a",pe,t(s("app.cookies.cookie_policy","Cookie Policy")),1)])])]),e("div",ue,[e("button",{onClick:F,disabled:d.value,class:"flex-1 px-4 py-2.5 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-lg hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500 disabled:opacity-50 transition-colors"},t(s("app.cookies.reject_all","Reject All")),9,ge),e("button",{onClick:P,disabled:d.value,class:"flex-1 px-4 py-2.5 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-lg hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500 disabled:opacity-50 transition-colors"},t(s("app.cookies.customize","Customize")),9,fe),e("button",{onClick:M,disabled:d.value,class:"flex-1 px-4 py-2.5 text-sm font-medium text-white bg-primary-600 border border-transparent roun
1ded-lg hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500 disabled:opacity-50 transition-colors"},t(s("app.cookies.accept_all","Accept All")),9,ye)])])])])])):x("",!0)]),_:1}),(i(),J(X,{to:"body"},[L(B,{"enter-active-class":"transition ease-out duration-300","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition ease-in duration-200","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:z(()=>[f.value?(i(),l("div",me,[e("div",{class:"fixed inset-0 bg-black/50",onClick:I}),e("div",ve,[e("div",_e,[e("div",he,[e("h2",xe,t(s("app.cookies.modal_title","Cookie Preferences")),1),e("button",{onClick:I,class:"text-gray-400 hover:text-gray-600"},[...o[9]||(o[9]=[e("svg",{class:"w-6 h-6",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)])])]),e("div",ke,[e("p",be,t(s("app.cookies.modal_description","When you visit our website, we may store or retrieve information on your browser.")),1),R.value?(i(),l("div",we,[e("p",Ce,t(s("app.cookies.privacy_signal_detected","We detected privacy protection in your browser. Non-essential cookies are disabled by default.")),1)])):x("",!0),e("div",Se,[e("div",je,[e("div",Ne,[e("div",Ae,[e("h3",$e,t(s("app.cookies.category_necessary","Strictly Necessary")),1),e("span",Me,t(s("app.cookies.always_active","Always Active")),1)]),e("button",{onClick:o[0]||(o[0]=a=>j("necessary")),class:"text-gray-500 hover:text-gray-700"},[(i(),l("svg",{class:p(["w-5 h-5 transition-transform",{"rotate-180":u.necessary}]),fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[...o[10]||(o[10]=[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"},null,-1)])],2))])]),b(e("div",Pe,[e("p",De,t(s("app.cookies.category_necessary_desc","These cookies are essential for the website to function properly.")),1),_.necessary.length?(i(),l("div",Ee,[e("table",Le,[e("thead",null,[e("tr",ze,[e("th",Be,t(s("app.cookies.cookie_name","Name")),1),e("th",Te,t(s("app.cookies.cookie_provider","Provider")),1),e("th",Oe,t(s("app.cookies.cookie_purpose","Purpose")),1),e("th",Fe,t(s("app.cookies.cookie_duration","Duration")),1)])]),e("tbody",Ie,[(i(!0),l(A,null,T(_.necessary,a=>(i(),l("tr",{key:a.name},[e("td",Re,t(a.name),1),e("td",Ve,t(a.provider),1),e("td",We,t(s("app.cookies."+a.purpose,a.purpose)),1),e("td",Ye,t(a.duration),1)]))),128))])])])):x("",!0)],512),[[w,u.necessary]])]),e("div",He,[e("div",Je,[e("div",Xe,[e("h3",Ge,t(s("app.cookies.category_analytics","Analytics & Statistics")),1),e("p",Ke,t(s("app.cookies.cookies_used",":count cookie(s) used").replace(":count",_.analytics.length||0)),1)]),e("div",Qe,[e("button",{onClick:o[1]||(o[1]=a=>r.analytics=!r.analytics),class:p([r.analytics?"bg-primary-600":"bg-gray-200","relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2"])},[e("span",{class:p([r.analytics?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out"])},null,2)],2),e("button",{onClick:o[2]||(o[2]=a=>j("analytics")),class:"text-gray-500 hover:text-gray-700"},[(i(),l("svg",{class:p(["w-5 h-5 transition-transform",{"rotate-180":u.analytics}]),fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[...o[11]||(o[11]=[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"},null,-1)])],2))])])]),b(e("div",Ue,[e("p",qe,t(s("app.cookies.category_analytics_desc","These cookies help us understand how visitors interact with our website.")),1)],512),[[w,u.analytics]])]),e("div",Ze,[e("div",et,[e("div",tt,[e("h3",st,t(s("app.cookies.category_marketing","Marketing & Advertising")),1),e("p",ot,t(s("app.cookies.cookies_used",":count cookie(s) used").replace(":count",_.marketing.length||0)),1)]),e("div",rt,[e
1("button",{onClick:o[3]||(o[3]=a=>r.marketing=!r.marketing),class:p([r.marketing?"bg-primary-600":"bg-gray-200","relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2"])},[e("span",{class:p([r.marketing?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out"])},null,2)],2),e("button",{onClick:o[4]||(o[4]=a=>j("marketing")),class:"text-gray-500 hover:text-gray-700"},[(i(),l("svg",{class:p(["w-5 h-5 transition-transform",{"rotate-180":u.marketing}]),fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[...o[12]||(o[12]=[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"},null,-1)])],2))])])]),b(e("div",at,[e("p",nt,t(s("app.cookies.category_marketing_desc","These cookies are used to track visitors across websites to display relevant advertisements.")),1)],512),[[w,u.marketing]])]),e("div",it,[e("div",lt,[e("div",ct,[e("h3",dt,t(s("app.cookies.category_preferences","Preferences & Functionality")),1),e("p",pt,t(s("app.cookies.cookies_used",":count cookie(s) used").replace(":count",_.preferences.length||0)),1)]),e("div",ut,[e("button",{onClick:o[5]||(o[5]=a=>r.preferences=!r.preferences),class:p([r.preferences?"bg-primary-600":"bg-gray-200","relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2"])},[e("span",{class:p([r.preferences?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out"])},null,2)],2),e("button",{onClick:o[6]||(o[6]=a=>j("preferences")),class:"text-gray-500 hover:text-gray-700"},[(i(),l("svg",{class:p(["w-5 h-5 transition-transform",{"rotate-180":u.preferences}]),fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[...o[13]||(o[13]=[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"},null,-1)])],2))])])]),b(e("div",gt,[e("p",ft,t(s("app.cookies.category_preferences_desc","These cookies enable the website to remember choices you make.")),1),_.preferences.length?(i(),l("div",yt,[e("table",mt,[e("thead",null,[e("tr",vt,[e("th",_t,t(s("app.cookies.cookie_name","Name")),1),e("th",ht,t(s("app.cookies.cookie_provider","Provider")),1),e("th",xt,t(s("app.cookies.cookie_purpose","Purpose")),1),e("th",kt,t(s("app.cookies.cookie_duration","Duration")),1)])]),e("tbody",bt,[(i(!0),l(A,null,T(_.preferences,a=>(i(),l("tr",{key:a.name},[e("td",wt,t(a.name),1),e("td",Ct,t(a.provider),1),e("td",St,t(s("app.cookies."+a.purpose,a.purpose)),1),e("td",jt,t(a.duration),1)]))),128))])])])):x("",!0)],512),[[w,u.preferences]])])]),e("div",Nt,[e("a",At,t(s("app.cookies.privacy_policy","Privacy Policy")),1),e("a",$t,t(s("app.cookies.cookie_policy","Cookie Policy")),1)])]),e("div",Mt,[e("button",{onClick:F,disabled:d.value,class:"flex-1 px-4 py-2.5 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-lg hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500 disabled:opacity-50 transition-colors"},t(s("app.cookies.reject_all","Reject All")),9,Pt),e("button",{onClick:Y,disabled:d.value,class:"flex-1 px-4 py-2.5 text-sm font-medium text-white bg-primary-600 border border-transparent rounded-lg hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500 disabled:opacity-50 transition-colors"},t(s("app.cookies.save_preferences","Save Preferences")),9,Dt),e("button",{onClick:M,disabled:d.value,class:"flex-1 px-4 py-2.5 text-sm font-medium text-white bg-primary-600 border border-transparent rounded-lg hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500 disabled:opacity-50 transition-colors"},t(s("app.cookies.accept_all","Accept All")),9,Et)])])])])):x("",!0)]),_:1})]))],64))}},zt={class:"relative"},Bt=["aria-expanded"],Tt={class:"uppercase"},Ot=["onClick"],Ft={class:"flex items-center gap-2"},It={class:"font-mono text-xs uppercase w-5"},Wt={__name:"LanguageDropdown",props:{align:{type:String,default:"right"},variant:{type:String,default:"default"}},setup(O){const h=O,S=W(),c=N(!1),f=k(()=>S.props.locale||"en"),d=[{code:"en",name:"English",flag:"EN"},{code:"fr",name:"Français",flag:"FR"}],y=m=>{Q.post(route("locale.update"),{locale:m},{preserveScroll:!0}),c.value=!1},r=m=>{c.value&&m.key==="Escape"&&(c.value=!1)};E(()=>document.addEventListener("keydown",r)),K(()=>document.removeEventListener("keydown",r));const u=k(()=>h.align==="left"?"ltr:origin-top-left rtl:origin-top-right start-0":h.align==="right"?"ltr:origin-top-right rtl:origin-top-left end-0":"origin-top"),_=k(()=>{const m="flex items-center gap-1.5 text-sm font-medium transition duration-150 ease-in-out focus:outline-none";switch(h.variant){case"landing":return`${m} px-2 py-1.5 rounded-md text-gray-600 hover:text-gray-900 hover:bg-gray-100`;
1case"minimal":return`${m} text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200`;default:return`${m} text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200`}}),s=k(()=>{switch(h.variant){case"landing":return"py-1 bg-white shadow-lg border border-gray-200";default:return"py-1 bg-white dark:bg-gray-700 shadow-lg"}}),$=k(()=>{switch(h.variant){case"landing":return"block w-full px-4 py-2 text-start text-sm text-gray-700 hover:bg-gray-100";default:return"block w-full px-4 py-2 text-start text-sm text-gray-700 dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600"}});return(m,v)=>(i(),l("div",zt,[e("button",{type:"button",onClick:v[0]||(v[0]=g=>c.value=!c.value),class:p(_.value),"aria-expanded":c.value,"aria-haspopup":"true"},[v[3]||(v[3]=e("svg",{class:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 21a9.004 9.004 0 008.716-6.747M12 21a9.004 9.004 0 01-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 017.843 4.582M12 3a8.997 8.997 0 00-7.843 4.582m15.686 0A11.953 11.953 0 0112 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0121 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0112 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 013 12c0-1.605.42-3.113 1.157-4.418"})],-1)),e("span",Tt,t(f.value),1),(i(),l("svg",{class:p(["w-4 h-4 transition-transform duration-200",{"rotate-180":c.value}]),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[...v[2]||(v[2]=[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"},null,-1)])],2))],10,Bt),b(e("div",{class:"fixed inset-0 z-40",onClick:v[1]||(v[1]=g=>c.value=!1)},null,512),[[w,c.value]]),L(B,{"enter-active-class":"transition ease-out duration-200","enter-from-class":"opacity-0 scale-95","enter-to-class":"opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"opacity-100 scale-100","leave-to-class":"opacity-0 scale-95"},{default:z(()=>[b(e("div",{class:p(["absolute z-50 mt-2 w-36 rounded-md ring-1 ring-black ring-opacity-5",[u.value,s.value]]),role:"menu","aria-orientation":"vertical"},[(i(),l(A,null,T(d,g=>e("button",{key:g.code,onClick:M=>y(g.code),class:p([$.value,f.value===g.code?"font-semibold bg-gray-50 dark:bg-gray-600":""]),role:"menuitem"},[e("span",Ft,[e("span",It,t(g.flag),1),e("span",null,t(g.name),1)])],10,Ot)),64))],2),[[w,c.value]])]),_:1})]))}};export{Wt as _,Vt as a};
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.