1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55596,e=>{"use strict";e.s(["FADE_IN",0,{hidden:{opacity:0},visible:{opacity:1,transition:{duration:.5,ease:"easeOut"}}},"FADE_UP",0,{hidden:{opacity:0,y:40,filter:"blur(4px)"},visible:{opacity:1,y:0,filter:"blur(0px)",transition:{type:"spring",stiffness:150,damping:20,mass:.8}}},"FADE_UP_SCALE",0,{hidden:{opacity:0,y:50,scale:.92},visible:{opacity:1,y:0,scale:1,transition:{type:"spring",stiffness:130,damping:18,mass:.9}}},"SCALE_IN",0,{hidden:{opacity:0,scale:.7},visible:{opacity:1,scale:1,transition:{type:"spring",stiffness:200,damping:15,mass:.6}}},"SLIDE_FROM_RIGHT",0,{hidden:{opacity:0,x:80},visible:{opacity:1,x:0,transition:{type:"spring",stiffness:120,damping:20,mass:1}}},"STAGGER",0,{hidden:{},visible:{transition:{staggerChildren:.12,delayChildren:.05}}},"STAGGER_FAST",0,{hidden:{},visible:{transition:{staggerChildren:.08}}},"VIEWPORT_ONCE",0,{once:!0,amount:.25},"VIEWPORT_ONCE_LESS",0,{once:!0,amount:.15}])},6649,68834,e=>{"use strict";var t=e.i(71645);let i=e=>{let t,i=new Set,a=(e,a)=>{let n="function"==typeof e?e(t):e;if(!Object.is(n,t)){let e=t;t=(null!=a?a:"object"!=typeof n||null===n)?n:Object.assign({},t,n),i.forEach(i=>i(t,e))}},n=()=>t,s={setState:a,getState:n,getInitialState:()=>r,subscribe:e=>(i.add(e),()=>i.delete(e))},r=t=e(a,n,s);return s},a=e=>{let a=e?i(e):i,n=e=>(function(e,i=e=>e){let a=t.default.useSyncExternalStore(e.subscribe,t.default.useCallback(()=>i(e.getState()),[e,i]),t.default.useCallback(()=>i(e.getInitialState()),[e,i]));return t.default.useDebugValue(a),a})(a,e);return Object.assign(n,a),n},n=e=>e?a(e):a;e.s(["create",()=>n],68834);let s=n(e=>({navbarHidden:!1,setNavbarHidden:t=>e({navbarHidden:t}),pageLoaded:!1,setPageLoaded:t=>e({pageLoaded:t})}));e.s(["useUIStore",0,s],6649)},98244,(e,t,i)=>{"use strict";i.match=function(e,t){return o(e).some(function(e){var i=e.inverse,a="all"===e.type||t.type===e.type;if(a&&i||!(a||i))return!1;var n=e.expressions.every(function(e){var i=e.feature,a=e.modifier,n=e.value,s=t[i];if(!s)return!1;switch(i){case"orientation":case"scan":return s.toLowerCase()===n.toLowerCase();case"width":case"height":case"device-width":case"device-height":n=d(n),s=d(s);break;case"resolution":n=u(n),s=u(s);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":n=c(n),s=c(s);break;case"grid":case"color":case"color-index":case"monochrome":n=parseInt(n,10)||1,s=parseInt(s,10)||0}switch(a){case"min":return s>=n;case"max":return s<=n;default:return s===n}});return n&&!i||!n&&i})},i.parse=o;var a=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,n=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,s=/^(?:(min|max)-)?(.+)/,r=/(em|rem|px|cm|mm|in|pt|pc)?$/,l=/(dpi|dpcm|dppx)?$/;function o(e){return e.split(",").map(function(e){var t=(e=e.trim()).match(a),i=t[1],r=t[2],l=t[3]||"",o={};return o.inverse=!!i&&"not"===i.toLowerCase(),o.type=r?r.toLowerCase():"all",o.expressions=(l=l.match(/\([^\)]+\)/g)||[]).map(function(e){var t=e.match(n),i=t[1].toLowerCase().match(s);return{modifier:i[1],feature:i[2],value:t[2]}}),o})}function c(e){var t,i=Number(e);return i||(i=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),i}function u(e){var t=parseFloat(e);switch(String(e).match(l)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function d(e){var t=parseFloat(e);switch(String(e).match(r)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}},74144,(e,t,i)=>{"use strict";var a=e.r(98244).match,n="u">typeof window?window.matchMedia:null;function s(e,t,i){var s,r=this;function l(e){r.matches=e.matches,r.media=e.media}n&&!i&&(s=n.call(window,e)),s?(this.matches=s.matches,this.media=s.media,s.addListener(l)):(this.matches=a(e,t),this.media=e),this.addListener=function(e){s&&s.addListener(e)},this.removeListener=function(e){s&&s.removeListener(e)},this.dispose=function(){s&&s.removeListener(l)}}t.exports=function(e,t,i){return new s(e,t,i)}},32189,(e,t,i)=>{"use strict";
1t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},65156,(e,t,i)=>{"use strict";var a=e.r(32189);function n(){}function s(){}s.resetWarningCache=n,t.exports=function(){function e(e,t,i,n,s,r){if(r!==a){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:n};return i.PropTypes=i,i}},45009,(e,t,i)=>{t.exports=e.r(65156)()},67290,43601,e=>{"use strict";var t=e.i(71645),i=e.i(74144),a=/[A-Z]/g,n=/^ms-/,s={};function r(e){return"-"+e.toLowerCase()}let l=function(e){if(s.hasOwnProperty(e))return s[e];var t=e.replace(a,r);return s[e]=n.test(t)?"-"+t:t};var o=e.i(45009);let c=o.default.oneOfType([o.default.string,o.default.number]),u={all:o.default.bool,grid:o.default.bool,aural:o.default.bool,braille:o.default.bool,handheld:o.default.bool,print:o.default.bool,projection:o.default.bool,screen:o.default.bool,tty:o.default.bool,tv:o.default.bool,embossed:o.default.bool},{type:d,...p}={orientation:o.default.oneOf(["portrait","landscape"]),scan:o.default.oneOf(["progressive","interlace"]),aspectRatio:o.default.string,deviceAspectRatio:o.default.string,height:c,deviceHeight:c,width:c,deviceWidth:c,color:o.default.bool,colorIndex:o.default.bool,monochrome:o.default.bool,resolution:c,type:Object.keys(u)},m={minAspectRatio:o.default.string,maxAspectRatio:o.default.string,minDeviceAspectRatio:o.default.string,maxDeviceAspectRatio:o.default.string,minHeight:c,maxHeight:c,minDeviceHeight:c,maxDeviceHeight:c,minWidth:c,maxWidth:c,minDeviceWidth:c,maxDeviceWidth:c,minColor:o.default.number,maxColor:o.default.number,minColorIndex:o.default.number,maxColorIndex:o.default.number,minMonochrome:o.default.number,maxMonochrome:o.default.number,minResolution:c,maxResolution:c,...p};var f={...u,...m};let x=(0,t.createContext)(void 0),h=e=>{if(e)return Object.keys(e).reduce((t,i)=>(t[l(i)]=e[i],t),{})},v=()=>{let e=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{e.current=!0},[]),e.current},g=(e,a,n)=>{let s=(e=>{let i=(0,t.useContext)(x),a=()=>h(e)||h(i),[n,s]=(0,t.useState)(a);return(0,t.useEffect)(()=>{let e=a();!function(e,t){if(e===t)return!0;if(!e||!t)return!1;let i=Object.keys(e),a=Object.keys(t),n=i.length;if(a.length!==n)return!1;for(let a=0;a<n;a++){let n=i[a];if(e[n]!==t[n]||!Object.prototype.hasOwnProperty.call(t,n))return!1}return!0}(n,e)&&s(e)},[e,i]),n})(a),r=(e=>{let i=()=>{let t;return e.query||(t=[],Object.keys(f).forEach(i=>{let a=e[i];null!=a&&t.push(((e,t)=>{let i=l(e);if("number"==typeof t&&(t=`${t}px`),!0===t)return i;if(!1===t)return`not ${i}`;return`(${i}: ${t})`})(i,a))}),t.join(" and "))},[a,n]=(0,t.useState)(i);return(0,t.useEffect)(()=>{let e=i();a!==e&&n(e)},[e]),a})(e);if(!r)throw Error("Invalid or missing MediaQuery!");let o=((e,a)=>{let n=()=>(0,i.default)(e,a||{},!!a),[s,r]=(0,t.useState)(n),l=v();return(0,t.useEffect)(()=>{if(l){let e=n();return r(e),()=>{e&&e.dispose()}}},[e,a]),s})(r,s),c=(e=>{let[i,a]=(0,t.useState)(e.matches);return(0,t.useEffect)(()=>{let t=e=>{a(e.matches)};return e.addListener(t),a(e.matches),()=>{e.removeListener(t)}},[e]),i})(o),u=v();return(0,t.useEffect)(()=>{u&&n&&n(c)},[c]),(0,t.useEffect)(()=>()=>{o&&o.dispose()},[]),c};function b(){let[e,i]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{i(!0)},[]),e}e.s(["useMediaQuery",()=>g],67290),e.s(["useIsClient",()=>b],43601)},24153,e=>{"use strict";var t=e.i(67290),i=e.i(43601);function a(){let e=(0,i.useIsClient)(),a=(0,t.useMediaQuery)({maxWidth:767}),n=(0,t.useMediaQuery)({minWidth:768,maxWidth:1023}),s=(0,t.useMediaQuery)({minWidth:1024,maxWidth:1279}),r=(0,t.useMediaQuery)({minWidth:1280});return{isSm:e&&a,isMd:e&&n,isLg:e&&s,isXl:e&&r}}
1e.s(["useBreakpoint",()=>a])},5383,e=>{"use strict";var t=e.i(43476),i=e.i(46932),a=e.i(75157);let n={cta:{hover:{scale:1.02,y:-1,boxShadow:"0 0 20px rgba(237,129,21,0.25)"},tap:{scale:.99},transition:{duration:.3,ease:"easeOut"}},ghost:{hover:{opacity:.7},tap:{scale:.98},transition:{duration:.2,ease:"easeInOut"}},icon:{hover:{scale:1.08},tap:{scale:.95},transition:{duration:.2,ease:"easeOut"}}};function s({children:e,variant:s="ghost",className:r,disabled:l=!1,ariaLabel:o,style:c,type:u="button",onClick:d,onPointerEnter:p,onPointerLeave:m,onMouseEnter:f,onMouseLeave:x}){let h=n[s];return(0,t.jsx)(i.motion.button,{type:u,onClick:l?void 0:d,onPointerEnter:l?void 0:p,onPointerLeave:l?void 0:m,onMouseEnter:l?void 0:f,onMouseLeave:l?void 0:x,disabled:l,whileHover:l?void 0:h.hover,whileTap:l?void 0:h.tap,transition:h.transition,className:(0,a.cn)("relative inline-flex cursor-pointer items-center justify-center",l&&"!cursor-not-allowed opacity-40",r),"aria-label":o,"aria-disabled":l||void 0,style:c,children:e})}e.s(["default",()=>s],5383)},27225,e=>{"use strict";var t=e.i(19307);function i(){let e=function(){if("u"<typeof navigator)return"desktop";let e=navigator.userAgent.toLowerCase();return/iphone|ipad|ipod/.test(e)?"ios":/android/.test(e)?"android":"desktop"}();return"ios"===e?t.STORE_LINKS.APPLE:"android"===e?t.STORE_LINKS.GOOGLE:t.STORE_LINKS.APPLE}e.s(["getStoreLink",()=>i])},19307,e=>{"use strict";var t=e.i(57528);let i=[{icon:t.ICONS.SOCIAL_FACEBOOK,href:"https://www.facebook.com/cotedivoireidentite/",label:"Facebook"},{icon:t.ICONS.SOCIAL_INSTAGRAM,href:"https://www.instagram.com/ci.identite?igsh=bTNueG1pbWtubTBx",label:"Instagram"},{icon:t.ICONS.SOCIAL_LINKEDIN,href:"https://www.linkedin.com/company/cotedivoireidentite/",label:"LinkedIn"}];e.s(["LEGAL_LINKS",0,{TERMS:"/legal/termes-et-conditions",PRIVACY:"/legal/politique-de-confidentialite",LEGAL:"/legal/politique-de-confidentialite"},"SOCIAL_LINKS",0,i,"STORE_LINKS",0,{APPLE:"https://apps.apple.com/ci/app/ci-identit%C3%A9/id6736760919",GOOGLE:"https://play.google.com/store/apps/details?id=com.asernum.ci_identite"},"VERIF_STORE_LINKS",0,{APPLE:"https://apps.apple.com/ci/app/verif-by-oneci/id6468998216",GOOGLE:"https://play.google.com/store/apps/details?id=eu.id3.oneci.verif&hl=fr"}])},81576,e=>{"use strict";var t=e.i(43476),i=e.i(83268),a=e.i(29066),n=e.i(75157),s=e.i(57528);function r({variant:e,label:r,href:l="#",className:o}){let c="apple"===e?s.ICONS.APPLE_STORE:s.ICONS.GOOGLE_PLAY;return(0,t.jsxs)(a.default,{href:l,variant:"cta",external:!0,className:(0,n.cn)("flex h-[44px] xl:h-[54px] w-[170px] xl:w-[223px] items-center justify-center gap-[8px] xl:gap-[10px] rounded-[50px] bg-black text-[14px] xl:text-[18px] font-semibold tracking-[-0.72px] text-white",o),children:[(0,t.jsx)(i.default,{icon:c}),r]})}e.s(["default",()=>r])},75696,e=>{"use strict";var t=e.i(61745),i=e.i(43476);function a({locale:e,...a}){if(!e)throw Error(void 0);return(0,i.jsx)(t.IntlProvider,{locale:e,...a})}e.s(["default",()=>a])},37271,e=>{"use strict";var t=e.i(71645);function i({lang:e}){return(0,t.useEffect)(()=>{document.documentElement.lang=e},[e]),null}e.s(["default",()=>i])},1584,3485,59876,e=>{"use strict";var t=e.i(43476),i=e.i(71645),a=e.i(74080),n=e.i(46932),s=e.i(88653),r=e.i(80902),l=e.i(22289);function o(e,t,i){try{return e(t)}catch(e){return(0,l.l)("[nuqs] Error while parsing value `%s`: %O"+(i?" (for key `%s`)":""),t,e,i),null}}function c(e){function t(t){if(void 0===t)return null;let i="";if(Array.isArray(t)){if(void 0===t[0])return null;i=t[0]}return"string"==typeof t&&(i=t),o(e.parse,i)}return{type:"single",eq:(e,t)=>e===t,...e,parseServerSide:t,withDefault(e){return{...this,defaultValue:e,parseServerSide:i=>t(i)??e}},withOptions(e){return{...this,...e}}}}let u=c({parse:e=>e,serialize:String});function d(e,t){return e.valueOf()===t.valueOf()}c({parse:e=>{let t=parseInt(e);return t==t?t:null},serialize:e=>""+Math.round(e)}),c({parse:e=>{let t=parseInt(e);return t==t?t-1:null},serialize:e=>""+Math.round(e+1)}),c({parse:e=>{let t=parseInt(e,16);return t==t?t:null},serialize:e=>{let t=Math.round(e).toString(16);return(1&t.length?"0":"")+t}}
1),c({parse:e=>{let t=parseFloat(e);return t==t?t:null},serialize:String}),c({parse:e=>"true"===e.toLowerCase(),serialize:String}),c({parse:e=>{let t=parseInt(e);return t==t?new Date(t):null},serialize:e=>""+e.valueOf(),eq:d}),c({parse:e=>{let t=new Date(e);return t.valueOf()==t.valueOf()?t:null},serialize:e=>e.toISOString(),eq:d}),c({parse:e=>{let t=new Date(e.slice(0,10));return t.valueOf()==t.valueOf()?t:null},serialize:e=>e.toISOString().slice(0,10),eq:d});let p=(0,r.r)(),m={};function f(e,t,i,a,n,s){let l=!1,c=Object.entries(e).reduce((e,[c,u])=>{var d;let p=t?.[c]??c,m=a[p],f="multi"===u.type?[]:null,x=void 0===m?("multi"===u.type?i?.getAll(p):i?.get(p))??f:m;return n&&s&&((d=n[p]??f)===x||null!==d&&null!==x&&"string"!=typeof d&&"string"!=typeof x&&d.length===x.length&&d.every((e,t)=>e===x[t]))?e[c]=s[c]??null:(l=!0,e[c]=((0,r.i)(x)?null:o(u.parse,x,p))??null,n&&(n[p]=x)),e},{});if(!l){let t=Object.keys(e),i=Object.keys(s??{});l=t.length!==i.length||t.some(e=>!i.includes(e))}return{state:c,hasChanged:l}}function x(e,t){return Object.fromEntries(Object.keys(e).map(i=>[i,e[i]??t[i]??null]))}let h=(0,e.i(68834).create)(e=>({openModals:{},open:(t,i)=>e(e=>({openModals:{...e.openModals,[t]:{params:i}}})),close:t=>e(e=>{let{[t]:i,...a}=e.openModals;return{openModals:a}}),closeAll:()=>e({openModals:{}})}));function v(e){let t=h(e=>e.openModals),a=h(e=>e.open),n=h(e=>e.close),s=e in t,r=t[e]?.params??void 0;return{isOpen:s,open:(0,i.useCallback)(t=>a(e,t),[e,a]),close:(0,i.useCallback)(()=>n(e),[e,n]),params:r}}function g(e,t){let[a,n]=function(e,t={}){let{parse:a,type:n,serialize:s,eq:o,defaultValue:c,...u}=t,[{[e]:d},h]=function(e,t={}){let a=(0,i.useId)(),n=(0,l.i)(),s=(0,l.a)(),{history:o="replace",scroll:c=n?.scroll??!1,shallow:u=n?.shallow??!0,throttleMs:d=r.s.timeMs,limitUrlUpdates:h=n?.limitUrlUpdates,clearOnDefault:v=n?.clearOnDefault??!0,startTransition:g,urlKeys:b=m}=t,y=Object.keys(e).join(","),w=(0,i.useMemo)(()=>Object.fromEntries(Object.keys(e).map(e=>[e,b[e]??e])),[y,JSON.stringify(b)]),N=(0,l.r)(Object.values(w)),O=N.searchParams,j=(0,i.useRef)({}),E=(0,i.useMemo)(()=>Object.fromEntries(Object.keys(e).map(t=>[t,e[t].defaultValue??null])),[Object.values(e).map(({defaultValue:e})=>e).join(",")]),S=r.t.useQueuedQueries(Object.values(w)),[k,I]=(0,i.useState)(()=>f(e,b,O??new URLSearchParams,S).state),L=(0,i.useRef)(k);if((0,l.c)("[nuq+ %s `%s`] render - state: %O, iSP: %s",a,y,k,O),Object.keys(j.current).join("&")!==Object.values(w).join("&")){let{state:t,hasChanged:i}=f(e,b,O,S,j.current,L.current);i&&((0,l.c)("[nuq+ %s `%s`] State changed: %O",a,y,{state:t,initialSearchParams:O,queuedQueries:S,queryRef:j.current,stateRef:L.current}),L.current=t,I(t)),j.current=Object.fromEntries(Object.entries(w).map(([t,i])=>[i,e[t]?.type==="multi"?O?.getAll(i):O?.get(i)??null]))}(0,i.useEffect)(()=>{let{state:t,hasChanged:i}=f(e,b,O,S,j.current,L.current);i&&((0,l.c)("[nuq+ %s `%s`] State changed: %O",a,y,{state:t,initialSearchParams:O,queuedQueries:S,queryRef:j.current,stateRef:L.current}),L.current=t,I(t))},[Object.values(w).map(e=>`${e}=${O?.getAll(e)}`).join("&"),JSON.stringify(S)]),(0,i.useEffect)(()=>{let t=Object.keys(e).reduce((t,i)=>(t[i]=({state:t,query:n})=>{I(s=>{let{defaultValue:r}=e[i],o=w[i],c=t??r??null;return Object.is(s[i]??r??null,c)?((0,l.c)("[nuq+ %s `%s`] Cross-hook key sync %s: %O (default: %O). no change, skipping, resolved: %O",a,y,o,t,r,L.current),s):(L.current={...L.current,[i]:c},j.current[o]=n,(0,l.c)("[nuq+ %s `%s`] Cross-hook key sync %s: %O (default: %O). updateInternalState, resolved: %O",a,y,o,t,r,L.current),L.current)})},t),{});for(let i of Object.keys(e)){let e=w[i];(0,l.c)("[nuq+ %s `%s`] Subscribing to sync for `%s`",a,e,y),p.on(e,t[i])}return()=>{for(let i of Object.keys(e)){let e=w[i];(0,l.c)("[nuq+ %s `%s`] Unsubscribing to sync for `%s`",a,e,y),p.off(e,t[i])}}},[y,w]);let A=(0,i.useCallback)((t,i={})=>{let n,m=Object.fromEntries(Object.keys(e).map(e=>[e,null])),f="function"==typeof t?t(x(L.current,E))??m:t??m;(0,l.c)("[nuq+ %s `%s`] setState: %O",a,y,f);let b=0,O=!1,j=[];for(let[t,a]of Object.entries(f)){let m=e[t],f=w[t];if(!m||void 0===a)continue;(i.clearOnDefault??m.clearOnDefault??v)&&null!==a&&void 0!==m.defaultValue&&(m.eq??((e,t)=>e===t))(a,m.defaultValue)&&(a=null);let x=null===a?null:(m.serialize??String)(a);p.emit(f,{state:a,query:x});let y={key:f,query:x,options:{history:i.history??m.history??o,shallow:i.shallow??m.shallow??u,scroll:i.scroll??m.scroll??c,startTransition:i.startTransition??m.startTransition??g}};if(i?.limitUrlUpdates?.method==="debounce"||h?.method==="debounce"||m.limitUrlUpdates?.method==="debounce"){!0===y.options.shallow&&console.warn((0,l.s)(422));let e=i?.limitUrlUpdates?.timeMs??h?.timeMs??m.limitUrlUpdates?.timeMs??r.s.timeMs,t=r.t.push(y,e,N,s);b<e&&(n=t,b=e)}else{let e=i?.limitUrlUpdates?.timeMs??m?.limitUrlUpdates?.timeMs??h?.timeMs??i.throttleMs??m.throttleMs??d;j.push(r.t.abort(f)),r.n.push(y,e),O=!0}}let S=j.reduce((e,t)=>
1t(e),O?r.n.flush(N,s):r.n.getPendingPromise(N));return n??S},[y,o,u,c,d,h?.method,h?.timeMs,g,w,N.updateUrl,N.getSearchParamsSnapshot,N.rateLimitFactor,s,E]);return[(0,i.useMemo)(()=>x(k,E),[k,E]),A]}({[e]:{parse:a??(e=>e),type:n,serialize:s,eq:o,defaultValue:c}},u);return[d,(0,i.useCallback)((t,i={})=>h(i=>({[e]:"function"==typeof t?t(i[e]):t}),i),[e,h])]}(t,u.withOptions({shallow:!0,scroll:!1})),{isOpen:s,open:o,close:c,params:d}=v(e);return(0,i.useEffect)(()=>{a&&!s&&o({key:a})},[]),(0,i.useEffect)(()=>{!s&&a&&n(null)},[s]),{isOpen:s,open:(0,i.useCallback)(e=>{n(e),o({key:e})},[n,o]),close:(0,i.useCallback)(()=>{c()},[c]),params:d}}e.s(["useModal",()=>v,"useModalWithUrl",()=>g],3485);var b=e.i(5383),y=e.i(83268),w=e.i(57528),N=e.i(75157);function O({modalKey:e,children:r,className:l,maxWidth:o="960px",onClose:c}){let{isOpen:u,close:d}=v(e),p=(0,i.useCallback)(()=>{d(),c?.()},[d,c]);return((0,i.useEffect)(()=>(u?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[u]),(0,i.useEffect)(()=>{if(!u)return;let e=e=>{"Escape"===e.key&&p()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[u,p]),"u"<typeof document)?null:(0,a.createPortal)((0,t.jsx)(s.AnimatePresence,{children:u&&(0,t.jsxs)(n.motion.div,{className:"fixed inset-0 z-[100] flex items-center justify-center p-[16px]",initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},children:[(0,t.jsx)(n.motion.div,{className:"absolute inset-0 bg-black/60",onClick:p}),(0,t.jsxs)("div",{className:"relative z-[101] flex flex-col items-end gap-[12px]",style:{maxWidth:`min(${o}, calc(100vw - 58px))`,width:"100%"},children:[(0,t.jsx)(b.default,{variant:"icon",onClick:p,ariaLabel:"Fermer",className:"absolute -top-[30px] -right-[30px] sm:scale-100 scale-75",children:(0,t.jsx)(y.default,{icon:w.ICONS.CLOSE_MODAL})}),(0,t.jsx)(n.motion.div,{className:(0,N.cn)("w-full overflow-y-auto rounded-[30px] bg-[#F2F2F2]",l),style:{maxHeight:"calc(100dvh - 60px)"},initial:{opacity:0,scale:.95,y:10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:10},transition:{duration:.25,ease:"easeOut"},onClick:e=>e.stopPropagation(),children:r})]})]})}),document.body)}e.s([],1584),e.s(["BaseModal",()=>O],59876)},36950,e=>{"use strict";let t=[{key:"home",href:"/",translationNamespace:"metadata",showInNav:!0},{key:"discover",href:"/discover",translationNamespace:"pages.discover",showInNav:!0},{key:"discover-inscription",href:"/discover/inscription",translationNamespace:"pages.discover.inscription",showInNav:!1},{key:"discover-mastercard",href:"/discover/mastercard",translationNamespace:"pages.discover.mastercard",showInNav:!1},{key:"discover-tutorials",href:"/discover/tutorials",translationNamespace:"pages.tutorials",showInNav:!1},{key:"services",href:"/services",translationNamespace:"pages.services",showInNav:!0},{key:"news",href:"/news",translationNamespace:"pages.news",showInNav:!0},{key:"support",href:"/support",translationNamespace:"pages.support",showInNav:!0}].filter(e=>e.showInNav);e.s(["NAV_PATHNAMES",0,t])},52200,e=>{"use strict";var t=e.i(43476),i=e.i(57528),a=e.i(83268);function n({className:e,onClick:n}){return(0,t.jsx)(a.default,{icon:i.ICONS.LOGO_IDENTITY,className:e,onClick:n})}e.s(["default",()=>n])},3265,e=>{"use strict";var t=e.i(43476),i=e.i(71645),a=e.i(48148),n=e.i(20133),s=e.i(46932),r=e.i(36950),l=e.i(57528),o=e.i(6649);e.i(1584);var c=e.i(3485),u=e.i(52200),d=e.i(29066),p=e.i(83268),m=e.i(5383),f=e.i(27225),x=e.i(19307),h=e.i(59876),v=e.i(81576);function g({modalKey:e}){let i=(0,a.useTranslations)("nav"),{close:s}=(0,c.useModal)(e),l=(0,n.useRouter)();return(0,t.jsx)(h.BaseModal,{modalKey:e,maxWidth:"400px",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-[28px] px-[24px] py-[40px]",children:[(0,t.jsx)(u.default,{onClick:()=>{l.push("/"),s()}}),(0,t.jsx)("div",{className:"flex flex-col items-center gap-[8px]",children:r.NAV_PATHNAMES.map(({key:e,href:a})=>(0,t.jsx)("div",{onClick:s,children:(0,t.jsx)(d.default,{href:a,variant:"ghost",className:"text-[20px] p-1.5 font-medium leading-[29px] tracking-[-0.6px] text-black",children:i(e)})},e))}),(0,t.jsxs)("div",{className:"flex flex-col gap-[10px]",children:[(0,t.jsx)(v.default,{variant:"apple",label:i("download"),href:x.STORE_LINKS.APPLE}),(0,t.jsx)(v.default,{variant:"google",label:i("download"),href:x.STORE_LINKS.GOOGLE})]})]})})}let b="mobile-menu";function y(){let e=(0,a.useTranslations)("nav"),x=(0,n.usePathname)(),[h,v]=(0,i.useState)(!1),y=(0,o.useUIStore)(e=>e.navbarHidden),w=(0,o.useUIStore)(e=>e.pageLoaded),{open:N,close:O,isOpen:j}=(0,c.useModal)(b),E="/"===x;(0,i.useEffect)(()=>{let e=window.innerWidth<1280,t=()=>{e&&!E?v(!0):v(window.scrollY>10)};return t(),window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[E]),(0,i.useEffect)(()=>{O()},[x,O]);let S=y&&!j||!w;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.motion.nav,{className:`fixed top-0 left-0 right-0 z-40 will-change-transform ${h&&!S?"bg-white/95 backdrop-blur-md shadow-[0_0_23px_rgba(0,0,0,0.07)]":""}`,style:{translateZ:0},initial:{y:"-100%"},animate:{y:S?"-100%":"0%"},transition:w?{type:"tween",duration:.3,ease:"easeInOut"}:{type:"spring",stiffness:150,damping:20,mass:.8},children:(0,t.jsxs)("div",{className:"container-main xl:h-fit relative flex items-center justify-between py-[16px] sm:py-[16px] xl:py-[20px]",children:[(0,t.jsx)(d.default,{href:"/",variant:"ghost",ariaLabel:"Accueil CI Identité",className:"xl:w-auto w-[65px]",children:(0,t.jsx)(u.default,{className:"w-[52px] sm:w-[76px]"})}),(0,t.jsx)(s.motion.div,{className:"hidden xl:flex absolute left-1/2 -translate-x-1/2 items-center gap-[14px] rounded-[20px] bg-white p-[14px] backdrop-blur-[2px]",animate:{boxShadow:h?"0px 0px 0px 0px rgba(0,0,0,0)":"0px 4px 14.7px 0px rgba(0,0,0,0.08)"},transition:{duration:.3,ease:"easeInOut"},children:r.NAV_PATHNAMES.map(({key:i,href:a})=>{let n=x===a||"/"!==a&&x.startsWith(a);return(0,t.jsx)(d.default,{href:a,variant:n?"navActive":"nav",isActive:n,className:n?"flex h-[48px] items-center justify-center rounded-[10px] bg-primary-500 px-[26px] py-[13px] text-[16px] font-bold tracking-[-0.64px] text-white":"flex h-[48px] items-center justify-center rounded-[15p
1x] bg-white px-[26px] py-[13px] text-[16px] font-normal tracking-[-0.64px] text-black",children:e(i)},i)})}),(0,t.jsx)(m.default,{variant:"cta",className:"hidden xl:flex h-[54px] w-[193px] items-center justify-center rounded-[50px] bg-[#181818] text-[18px] font-semibold tracking-[-0.72px] text-white",onClick:()=>window.open((0,f.getStoreLink)(),"_blank","noopener,noreferrer"),children:e("download")}),(0,t.jsx)(m.default,{variant:"ghost",className:"w-[30px] sm:w-auto xl:hidden",onClick:()=>N(),ariaLabel:"Ouvrir le menu",children:(0,t.jsx)(p.default,{icon:l.ICONS.MENU_BURGER})})]})}),(0,t.jsx)("div",{className:"h-[85px] xl:h-[100px]"}),(0,t.jsx)(g,{modalKey:b})]})}e.s(["default",()=>y],3265)},58234,e=>{"use strict";var t=e.i(43476),i=e.i(46932),a=e.i(48148),n=e.i(36950),s=e.i(19307),r=e.i(52200),l=e.i(29066),o=e.i(83268),c=e.i(55596);function u(){let e=(0,a.useTranslations)();return(0,t.jsx)("footer",{className:"pt-[60px] pb-[30px] md:pt-[80px] md:pb-[40px]",style:{background:"linear-gradient(180deg, #FFF 8.32%, #FFCC9F 121.32%)"},children:(0,t.jsxs)(i.motion.div,{className:"container-main flex flex-col items-center gap-[30px] md:gap-[40px]",variants:c.STAGGER_FAST,initial:"hidden",whileInView:"visible",viewport:c.VIEWPORT_ONCE_LESS,children:[(0,t.jsx)(i.motion.div,{variants:c.SCALE_IN,children:(0,t.jsx)(r.default,{})}),(0,t.jsxs)(i.motion.nav,{className:"flex flex-col items-center gap-[16px] sm:flex-row sm:flex-wrap sm:justify-center md:gap-[50px]",variants:c.STAGGER_FAST,children:[(0,t.jsx)(i.motion.div,{className:"flex items-center gap-[32px] sm:contents",variants:c.STAGGER_FAST,children:n.NAV_PATHNAMES.slice(0,3).map(({key:a,href:n})=>(0,t.jsx)(i.motion.div,{variants:c.FADE_UP,children:(0,t.jsx)(l.default,{href:n,variant:"underline",className:"text-[16px] tracking-[-0.64px] text-black",children:e(`nav.${a}`)})},a))}),(0,t.jsx)(i.motion.div,{className:"flex items-center gap-[32px] sm:contents",variants:c.STAGGER_FAST,children:n.NAV_PATHNAMES.slice(3).map(({key:a,href:n})=>(0,t.jsx)(i.motion.div,{variants:c.FADE_UP,children:(0,t.jsx)(l.default,{href:n,variant:"underline",className:"text-[16px] tracking-[-0.64px] text-black",children:e(`nav.${a}`)})},a))})]}),(0,t.jsx)(i.motion.div,{className:"flex items-center gap-[16px]",variants:c.STAGGER_FAST,children:s.SOCIAL_LINKS.map(({icon:e,href:a,label:n})=>(0,t.jsx)(i.motion.div,{variants:c.SCALE_IN,children:(0,t.jsx)(l.default,{href:a,variant:"ghost",external:!0,ariaLabel:n,className:"flex size-[34px] items-center justify-center rounded-full border border-black text-black",children:(0,t.jsx)(o.default,{icon:e})})},n))}),(0,t.jsx)(i.motion.div,{className:"h-px w-full bg-black/10",variants:c.FADE_IN}),(0,t.jsxs)(i.motion.div,{className:"flex flex-col items-center gap-[12px] md:flex-row md:w-full md:justify-between",variants:c.FADE_IN,children:[(0,t.jsx)("div",{className:"flex flex-col items-center gap-[12px] md:flex-row md:gap-[16px]",children:(0,t.jsx)("p",{className:"text-center text-[12px] md:text-[14px] font-light tracking-[-0.48px] md:tracking-[-0.56px] text-black",children:e("footer.copyright",{year:new Date().getFullYear()})})}),(0,t.jsxs)("div",{className:"flex flex-wrap justify-center items-center gap-[8px] text-[12px] md:text-[14px] font-light tracking-[-0.48px] md:tracking-[-0.56px] text-black",children:[(0,t.jsx)(l.default,{href:s.LEGAL_LINKS.TERMS,variant:"underline",className:"text-[12px] md:text-[14px] font-light tracking-[-0.48px] md:tracking-[-0.56px] text-black",children:e("footer.terms")}),(0,t.jsx)("span",{children:"|"}),(0,t.jsx)(l.default,{href:s.LEGAL_LINKS.PRIVACY,variant:"underline",className:"text-[12px] md:text-[14px] font-light tracking-[-0.48px] md:tracking-[-0.56px] text-black",children:e("footer.privacy")})]})]})]})})}e.s(["default",()=>u])},45071,e=>{"use strict";var t=e.i(43476),i=e.i(71645),a=e.i(20133),n=e.i(46932),s=e.i(88653),r=e.i(5383),l=e.i(83268),o=e.i(57528);let c=[];function u(){let e=(0,a.usePathname)(),[u,d]=(0,i.useState)(!1),[p,m]=(0,i.useState)(20),f=c.some(t=>e.startsWith(t));return((0,i.useEffect)(()=>{if(f)return;let e=()=>{d(window.scrollY>400);let e=document.documentElement.scrollHeight-window.scrollY-window.innerHeight;e<200?m(20+(200-e)):m(20)};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[f,e]),f)?null:(0,t.jsx)("div",{className:"fixed right-[16px] md:right-[40px] z-50",style:{bottom:p},children:(0,t.jsx)(s.AnimatePresence,{children:u&&(0,t.jsx)(n.motion.div,{initial:{opacity:0,scale:.5,y:20}
1,animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.5,y:20},transition:{duration:.25,ease:"easeOut"},children:(0,t.jsx)(r.default,{variant:"cta",className:"flex size-[38px] md:size-[50px] rounded-full bg-primary-500 text-white shadow-lg",ariaLabel:"Retour en haut",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:(0,t.jsx)(l.default,{icon:o.ICONS.ARROW_UP})})})})})}e.s(["default",()=>u])},723,e=>{"use strict";var t=e.i(43476),i=e.i(71645),a=e.i(20133),n=e.i(48148),s=e.i(46932),r=e.i(6649),l=e.i(81576),o=e.i(19307),c=e.i(24153);let u=[];function d(){let e=(0,a.usePathname)(),{isXl:d}=(0,c.useBreakpoint)(),p=(0,n.useTranslations)("mobileDownloadBar"),m=(0,r.useUIStore)(e=>e.navbarHidden),f=(0,r.useUIStore)(e=>e.pageLoaded),x=u.some(t=>e.startsWith(t)),h="/"===e,[v,g]=(0,i.useState)(h);return((0,i.useEffect)(()=>{let e=()=>{let e;if(h)return void g(window.scrollY<10);let t=document.documentElement.scrollHeight-window.innerHeight;if(t<=0)return void g(!1);let i=window.scrollY/t,a=document.querySelector("footer"),n=!!a&&a.getBoundingClientRect().top<window.innerHeight-20,s=document.getElementById("ci-connect-section"),r=!!s&&(e=s.getBoundingClientRect()).top<window.innerHeight-20&&e.bottom>20;g((d?i>=.1&&i<=.8:i>=.1)&&!n&&!r)};return e(),window.addEventListener("scroll",e,{passive:!0}),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[d,h]),x)?null:d?(0,t.jsx)(s.motion.div,{className:"fixed bottom-[59px] left-1/2 z-50 -translate-x-1/2 will-change-transform",style:{translateZ:0},initial:{y:60,opacity:0},animate:f&&v?{y:0,opacity:1}:{y:60,opacity:0},transition:{type:"tween",duration:.3,ease:"easeInOut"},children:(0,t.jsxs)("div",{className:"flex w-[505px] flex-col items-center gap-[10px] rounded-[24px] border border-white/30 px-[42px] py-[20px]",style:{background:"rgba(255, 255, 255, 0.25)",backdropFilter:"blur(20px) saturate(1.4)",WebkitBackdropFilter:"blur(20px) saturate(1.4)",boxShadow:"0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.4)"},children:[(0,t.jsx)("p",{className:"text-center text-[16px] font-semibold tracking-[-0.64px] text-black",children:p.rich("titleDesktop",{highlight:e=>(0,t.jsx)("span",{className:"text-primary-500",children:e})})}),(0,t.jsxs)("div",{className:"flex w-full gap-[10px]",children:[(0,t.jsx)(l.default,{variant:"google",label:p("download"),href:o.STORE_LINKS.GOOGLE,className:"h-[48px] w-0 flex-1"}),(0,t.jsx)(l.default,{variant:"apple",label:p("download"),href:o.STORE_LINKS.APPLE,className:"h-[48px] w-0 flex-1"})]})]})}):(0,t.jsx)(s.motion.div,{className:"fixed bottom-0 left-0 right-0 z-50 xl:hidden will-change-transform",style:{translateZ:0},initial:{y:"100%"},animate:{y:!m&&f&&v?"0%":"100%"},transition:f?{type:"tween",duration:.3,ease:"easeInOut"}:{type:"spring",stiffness:120,damping:18,mass:.8,delay:.3},children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-[10px] bg-white px-[20px] sm:py-[14px] py-[13px] shadow-[0_-2px_10px_rgba(0,0,0,0.08)]",children:[(0,t.jsx)("p",{className:"text-center text-[14px] font-semibold tracking-[-0.56px] text-black",children:p("title")}),(0,t.jsxs)("div",{className:"flex w-full gap-[10px]",children:[(0,t.jsx)(l.default,{variant:"google",label:p("download"),href:o.STORE_LINKS.GOOGLE,className:"h-[40px] w-0 flex-1 text-[13px] gap-[6px]"}),(0,t.jsx)(l.default,{variant:"apple",label:p("download"),href:o.STORE_LINKS.APPLE,className:"h-[40px] w-0 flex-1 text-[13px] gap-[6px]"})]})]})})}e.s(["default",()=>d])},39788,e=>{"use strict";var t=e.i(43476),i=e.i(71645),a=e.i(74080),n=e.i(46932),s=e.i(88653),r=e.i(6649),l=e.i(52200);let o={CICONNECT_BRANDING:{path:"/videos/ciconnect_branding.mp4",alt:"Animation CI Connect",aspectRatio:688/464}};function c(){let[e,c]=(0,i.useState)("logo"),[u,d]=(0,i.useState)(!1),[p,m]=(0,i.useState)(!0),[f,x]=(0,i.useState)(!1),h=(0,r.useUIStore)(e=>e.setPageLoaded),v=(0,i.useRef)(null),g=(0,i.useRef)(!1),b=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{let e=Date.now();a.default.preload(o.CICONNECT_BRANDING.path,{as:"video"}),Promise.all([new Promise(e=>{"complete"===document.readyState?e():window.addEventListener("load",()=>e(),{once:!0})}),new Promise(e=>{let t=document.createElement("video");
1t.preload="auto",t.src=o.CICONNECT_BRANDING.path;let i=()=>e();t.addEventListener("canplaythrough",i,{once:!0}),t.addEventListener("loadeddata",i,{once:!0}),setTimeout(i,4e3)})]).then(()=>{setTimeout(()=>c("video"),Math.max(0,1200-(Date.now()-e)))})},[]),(0,i.useEffect)(()=>{if("video"!==e)return;let t=v.current;if(!t)return;function i(){b.current=!0,d(!0)}function a(){!t||g.current||(t.duration-t.currentTime)*1e3<=2125&&(g.current=!0,c("fading-out"),setTimeout(()=>{c("done"),m(!1)},600))}function n(){g.current||(g.current=!0,x(!0),c("fading-out"),setTimeout(()=>{c("done"),m(!1)},600))}t.addEventListener("playing",i),t.addEventListener("timeupdate",a);let s=t.play();s&&"function"==typeof s.catch&&s.catch(()=>n());let r=setTimeout(()=>{b.current||n()},3e3);return()=>{t.removeEventListener("playing",i),t.removeEventListener("timeupdate",a),clearTimeout(r)}},[e]),(0,t.jsx)(s.AnimatePresence,{onExitComplete:()=>h(!0),children:p&&(0,t.jsxs)(n.motion.div,{className:"fixed inset-0 z-200 flex items-center justify-center bg-white",animate:{opacity:+("fading-out"!==e&&"done"!==e)},transition:{duration:.6,ease:"easeIn"},exit:{opacity:0},children:[(0,t.jsx)(n.motion.div,{className:"w-[82px] md:w-[125px] xl:w-[142px]",initial:{opacity:0}
1,animate:{opacity:"logo"===e||f?[1,.4,1]:1},transition:"logo"===e||f?{duration:1.4,ease:"easeInOut",repeat:1/0}:{duration:.3},children:(0,t.jsx)(l.default,{className:"w-full"})}),("video"===e||"fading-out"===e||"done"===e)&&(0,t.jsx)(n.motion.div,{className:"pointer-events-none absolute inset-0 flex items-center justify-center bg-white",initial:{opacity:0},animate:{opacity:+!!u},transition:{duration:.25},children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("video",{ref:v,src:o.CICONNECT_BRANDING.path,autoPlay:!0,muted:!0,playsInline:!0,style:{background:"white"},className:"block max-h-[270px] max-w-[400px] object-contain md:max-h-[405px] md:max-w-[600px] xl:max-h-[80vh] xl:max-w-[90vw]"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 top-0 h-[24%] bg-white"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 h-[24%] bg-white"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 w-[24%] bg-white"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 right-0 w-[24%] bg-white"})]})})]})})}e.s(["default",()=>c],39788)}]);
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.