PageSourceSearch

https://ottiaq.org/_nuxt/BoTA74Eu.js

js ottiaq.org collected 2026-10-02 07:47:54 UTC 6,381 bytes, 1 lines download raw bytes

1import se from"./BUQnJZ0x.js";import ne from"./C11JtXxs.js";import{a_ as P,a$ as A,b0 as b,x as g,b1 as M,r as _,b2 as E,b3 as re,b4 as ie,b5 as le,q as D,b6 as ae,u as ce,k as ue,b7 as pe,y as de,b8 as N,h as y,D as C,b as $,C as fe,c as k,aw as ve,g as w,d as T,w as F,aB as ye,t as j,E as S,H,K as me,T as we,aA as he,b9 as ke,N as _e}from"./cTqHTfvr.js";import{u as be}from"./1MYWaMUX.js";function h(e){var t;const o=E(e);return(t=o==null?void 0:o.$el)!=null?t:o}const x=ae?window:void 0;function O(...e){let t,o,s,u;if(re(e[0])||Array.isArray(e[0])?([o,s,u]=e,t=x):[t,o,s,u]=e,!t)return b;Array.isArray(o)||(o=[o]),Array.isArray(s)||(s=[s]);const p=[],l=()=>{p.forEach(c=>c()),p.length=0},r=(c,d,n,i)=>(c.addEventListener(d,n,i),()=>c.removeEventListener(d,n,i)),a=g(()=>[h(t),E(u)],([c,d])=>{l(),c&&p.push(...o.flatMap(n=>s.map(i=>r(c,n,i,d))))},{immediate:!0,flush:"post"}),m=()=>{a(),l()};return M(m),m}let V=!1;function Y(e,t,o={}){const{window:s=x,ignore:u=[],capture:p=!0,detectIframe:l=!1}=o;if(!s)return;A&&!V&&(V=!0,Array.from(s.document.body.children).forEach(n=>n.addEventListener("click",b)));let r=!0;const a=n=>u.some(i=>{if(typeof i=="string")return Array.from(s.document.querySelectorAll(i)).some(v=>v===n.target||n.composedPath().includes(v));{const v=h(i);return v&&(n.target===v||n.composedPath().includes(v))}}),c=[O(s,"click",n=>{const i=h(e);if(!(!i||i===n.target||n.composedPath().includes(i))){if(n.detail===0&&(r=!a(n)),!r){r=!0;return}t(n)}},{passive:!0,capture:p}),O(s,"pointerdown",n=>{const i=h(e);i&&(r=!n.composedPath().includes(i)&&!a(n))},{passive:!0}),l&&O(s,"blur",n=>{var i;const v=h(e);((i=s.document.activeElement)==null?void 0:i.tagName)==="IFRAME"&&!(v!=null&&v.contains(s.document.activeElement))&&t(n)})].filter(Boolean);return()=>c.forEach(n=>n())}const q={[P.mounted](e,t){const o=!t.modifiers.bubble;if(typeof t.value=="function")e.__onClickOutside_stop=Y(e,t.value,{capture:o});else{const[s,u]=t.value;e.__onClickOutside_stop=Y(e,s,Object.assign({capture:o},u))}},[P.unmounted](e){e.__onClickOutside_stop()}},z=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},K="__vueuse_ssr_handlers__";z[K]=z[K]||{};function ge(e,t=!1){const o=_(),s=()=>o.value=!!e();return s(),ie(s,t),o}function R(e,t,o={}){const{root:s,rootMargin:u="0px",threshold:p=.1,window:l=x}=o,r=ge(()=>l&&"IntersectionObserver"in l);let a=b;const m=r.value?g(()=>({el:h(e),root:h(s)}),({el:d,root:n})=>{if(a(),!d)return;const i=new IntersectionObserver(t,{root:n,rootMargin:u,threshold:p});i.observe(d),a=()=>{i.disconnect(),a=b}},{immediate:!0,flush:"post"}):b,c=()=>{a(),m()};return M(c),{isSupported:r,stop:c}}const Be={[P.mounted](e,t){typeof t.value=="function"?R(e,t.value):R(e,...t.value)}};function U(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientHeight<e.scrollHeight||t.overflowY==="auto"&&e.clientWidth<e.scrollWidth)return!0;{const o=e.parentNode;return!o||o.tagName==="BODY"?!1:U(o)}}function Se(e){const t=e||window.event,o=t.target;return U(o)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}function Oe(e,t=!1){const o=_(t);let s=null,u;g(le(e),r=>{if(r){const a=r;u=a.style.overflow,o.value&&(a.style.overflow="hidden")}},{immediate:!0});const p=()=>{const r=E(e);!r||o.value||(A&&(s=O(r,"touchmove",a=>{Se(a)},{passive:!1})),r.style.overflow="hidden",o.value=!0)},l=()=>{const r=E(e);!r||!o.value||(A&&(s==null||s()),r.style.overflow=u,o.value=!1)};return M(l),D({get(){return o.value},set(r){r?p():l()}})}const Ee=()=>{let e=!1;const t=_(!1);return(o,s)=>{if(t.value=s.value,e)return;e=!0;const u=Oe(o,s.value);g(t,p=>u.value=p)}};Ee();const Le=["data-lenis-prevent","aria-labelledby","aria-describedby"],Ce={class:"visually-hidden"},Te={key:0,id:"popup-title",class:"popup__title"},Pe={__name:"Popup",props:{title:{type:String},wysiwyg:{type:String},ariaTitle:{type:String},ariaDescription:{type:String},link:{type:Object},isOpen:{type:Boolean,default:!1},classPopup:{type:String,default:""}},emits:["closePopup"],setup(e,{emit:t}){const o=ce(),{start:s,stop:u}=ue(),p=pe(),l=e,r=t,a=D(()=>l.ariaTitle??(l.title&&"popup-title")),m=D(()=>l.ariaDescription??(l.wysiwyg&&"popup-description")),c=_(),d=_(),n=_(),{init:i,destroy:v,activate:X,deactivate:G}=be(n);g(()=>l.isOpen,f=>{f?de(()=>{Q()}):Z()});const L=()=>{r("closePopup")},B=f=>{f.key==="Escape"&&r("closePopup")},I=f=>{c.value.raf(f*1e3)},J=()=>{c.value=new ke({wrapper:d.value,content:n.value,duration:1.2,easing:f=>Math.min(1,1.001-Math.pow(2,-10*f)),orientation:"vertical",gestureOrientation:"vertical",smoothWheel:!0,wheelMultiplier:1,smoothTouch:!1,touchMultiplier:2,infinite:!1}),N.ticker.add(I)},Q=()=>{J(),document.addEventListener("keydown",B),i(),X()},Z=()=>{G(),v(),document.removeEventListener("keydown",B),N.ticker.remove(I),c.value.destroy(),s()};return(f,W)=>{const ee=se,te=ne,oe=_e;return y(),C(he,{to:"body",disabled:!e.isOpen},[$(we,{name:"fade"},{default:fe(()=>[e.isOpen?(y(),k("div",{key:0,class:ve(["popup",`${e.classPopup}`]),"data-lenis-prevent":!w(o).$device.isDesktop||null,role:"dialog","aria-modal":!0,"aria-labelledby":w(a),"aria-describedby":w(m)},[W[0]||(W[0]=T("div",{class:"popup__bg","aria-hidden":!0},null,-1)),w(p).default?(y(),k("div",{key:0,class:"popup__wrapper",ref_key:"wrapper",ref:d},[F((y(),k("div",{class:"popup__slot popup__content",ref_key:"content",ref:n},[ye(f.$slots,"default")])),[[w(q),L]])],512)):(y(),k("div",{key:1,class:"popup__wrapper",ref_key:"wrapper",ref:d},[F((y(),k("div",{class:"popup__content",ref_key:"content",ref:n},[T("button",{class:"popup__close fade-hover",onClick:L},[$(ee,{"aria-hidden":!0}),T("span",Ce,j(f.$translate("popup_close_label")),1)]),e.title?(y(),k("h4",Te,j(e.title),
11)):S("",!0),e.wysiwyg?(y(),C(te,H({key:1,id:"popup-description",class:"popup__wysiwyg"},{wysiwyg:e.wysiwyg}),null,16)):S("",!0),e.link?(y(),C(oe,H({key:2,class:"popup__link"},e.link,{tracking:{event:"cta",click_url:e.link.url,click_text:e.link.title,internal:!("isExternalLink"in f?f.isExternalLink:w(me))(e.link.url),cta_context:"Liens Popup"}}),null,16,["tracking"])):S("",!0)])),[[w(q),L]])],512))],10,Le)):S("",!0)]),_:3})],8,["disabled"])}}},Ie=Object.freeze(Object.defineProperty({__proto__:null,default:Pe},Symbol.toStringTag,{value:"Module"}));export{Ie as P,Pe as _,Be as v};

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.