vendor: 10,223 bytes, line 1
1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,1139,e=>{"use strict";var t=e.i(43476),i=e.i(75157);function a({className:e,size:a="w-[15%] h-[40%]",opacity:s=.6,blur:l=220,color:n="bg-primary-500"}){return(0,t.jsx)("div",{className:(0,i.cn)("pointer-events-none absolute rounded-full",n,a,e),style:{opacity:s,filter:`blur(${l}px)`}})}e.s(["default",()=>a])},61543,e=>{"use strict";let t,i;var a,s,l,n,r,o=e.i(43476),c=e.i(71645),p=Object.defineProperty,x=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,h=(e,t,i)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,u=(e,t)=>{for(var i in t||(t={}))d.call(t,i)&&h(e,i,t[i]);if(x)for(var i of x(t))m.call(t,i)&&h(e,i,t[i]);return e},f=(e,t)=>{var i={};for(var a in e)d.call(e,a)&&0>t.indexOf(a)&&(i[a]=e[a]);if(null!=e&&x)for(var a of x(e))0>t.indexOf(a)&&m.call(e,a)&&(i[a]=e[a]);return i};(e=>{let t=class t{constructor(e,i,a,l){if(this.version=e,this.errorCorrectionLevel=i,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError("Version value out of range");if(l<-1||l>7)throw RangeError("Mask value out of range");this.size=4*e+17;let n=[];for(let e=0;e<this.size;e++)n.push(!1);for(let e=0;e<this.size;e++)this.modules.push(n.slice()),this.isFunction.push(n.slice());this.drawFunctionPatterns();const r=this.addEccAndInterleave(a);if(this.drawCodewords(r),-1==l){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const i=this.getPenaltyScore();i<e&&(l=t,e=i),this.applyMask(t)}}s(0<=l&&l<=7),this.mask=l,this.applyMask(l),this.drawFormatBits(l),this.isFunction=[]}static encodeText(i,a){let s=e.QrSegment.makeSegments(i);return t.encodeSegments(s,a)}static encodeBinary(i,a){let s=e.QrSegment.makeBytes(i);return t.encodeSegments([s],a)}static encodeSegments(e,a,l=1,r=40,o=-1,c=!0){let p,x;if(!(t.MIN_VERSION<=l&&l<=r&&r<=t.MAX_VERSION)||o<-1||o>7)throw RangeError("Invalid value");for(p=l;;p++){let i=8*t.getNumDataCodewords(p,a),s=n.getTotalBits(e,p);if(s<=i){x=s;break}if(p>=r)throw RangeError("Data too long")}for(let e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])c&&x<=8*t.getNumDataCodewords(p,e)&&(a=e);let d=[];for(let t of e)for(let e of(i(t.mode.modeBits,4,d),i(t.numChars,t.mode.numCharCountBits(p),d),t.getData()))d.push(e);s(d.length==x);let m=8*t.getNumDataCodewords(p,a);s(d.length<=m),i(0,Math.min(4,m-d.length),d),i(0,(8-d.length%8)%8,d),s(d.length%8==0);for(let e=236;d.length<m;e^=253)i(e,8,d);let h=[];for(;8*h.length<d.length;)h.push(0);return d.forEach((e,t)=>h[t>>>3]|=e<<7-(7&t)),new t(p,a,h,o)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);let e=this.getAlignmentPatternPositions(),t=e.length;for(let i=0;i<t;i++)for(let a=0;a<t;a++)(0!=i||0!=a)&&(0!=i||a!=t-1)&&(i!=t-1||0!=a)&&this.drawAlignmentPattern(e[i],e[a]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){let t=this.errorCorrectionLevel.formatBits<<3|e,i=t;for(let e=0;e<10;e++)i=i<<1^(i>>>9)*1335;let l=(t<<10|i)^21522;s(l>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,a(l,e));this.setFunctionModule(8,7,a(l,6)),this.setFunctionModule(8,8,a(l,7)),this.setFunctionModule(7,8,a(l,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,a(l,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,a(l,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,a(l,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^(e>>>11)*7973;let t=this.version<<12|e;s(t>>>18==0);for(let e=0;e<18;e++){let i=a(t,e),s=this.size-11+e%3,l=Math.floor(e/3);this.setFunctionModule(s,l,i),this.setFunctionModule(l,s,i)}}drawFinderPattern(e,t){for(let i=-4;i<=4;i++)for(let a=-4;a<=4;a++){let s=Math.max(Math.abs(a),Math.abs(i)),l=e+a,n=t+i;0<=l&&l<this.size&&0<=n&&n<this.size&&this.setFunctionModule(l,n,2!=s&&4!=s)}}drawAlignmentPattern(e,t){for(let i=-2;i<=2;i++)for(let a=-2;a<=2;a++)this.setFunctionModule(e+a,t+i,1!=Math.max(Math.abs(a),Math.abs(i)))}setFunctionModule(e,t,i){this.modules[t][e]=i,this.isFunction[t][e]=!0}addEccAndInterleave(e){let i=this.version,a=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(i,a))throw RangeError("Invalid argument");let l=t.NUM_ERROR_CORRECTION_BLOCKS[a.ordinal][i],n=t.ECC_CODEWORDS_PER_BLOCK[a.ordinal][i],r=Math.floor(t.getNumRawDataModules(i)/8),o=l-r%l,c=Math.floor(r/l),p=[],x=t.reedSolomonComputeDivisor(n);for(let i=0,a=0;i<l;i++){let s=e.slice(a,a+c-n+(i<o?0:1));a+=s.length;let l=t.reedSolomonComputeRemainder(s,x);i<o&&s.push(0),p.push(s.concat(l))}let d=[];for(let e=0;e<p[0].length;e++)p.forEach((t,i)=>{(e!=c-n||i>=o)&&d.push(t[e])});return s(d.length==r),d}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw RangeError("Invalid argument");let i=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let s=0;s<this.size;s++)for(let l=0;l<2;l++){let n=t-l,r=(t+1&2)==0?this.size-1-s:s;!this.isFunction[r][n]&&i<8*e.length&&(this.modules[r][n]=a(e[i>>>3],7-(7&i)),i++)}}s(i==8*e.length)}applyMask(e){if(e<0||e>7)throw RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let i=0;i<this.size;i++){let a;switch(e){case 0:a=(i+t)%2==0;break;case 1:a=t%2==0;break;case 2:a=i%3==0;break;case 3:a=(i+t)%3==0;break;case 4:a=(Math.floor(i/3)+Math.floor(t/2))%2==0;break;case 5:a=i*t%2+i*t%3==0;break;case 6:a=(i*t%2+i*t%3)%2==0;break;case 7:a=((i+t)%2+i*t%3)%2==0;break;default:throw Error("Unreachable")}!this.isFunction[t][i]&&a&&(this.modules[t][i]=!this.modules[t][i])}}getPenaltyScore(){let e=0;for(let i=0;i<this.size;i++){let a=!1,s=0,l=[0,0,0,0,0,0,0];for(let n=0;n<this.size;n++)this.modules[i][n]==a?5==++s?e+=t.PENALTY_N1:s>5&&e++:(this.finderPenaltyAddHistory(s,l),a||(e+=this.finderPenaltyCountPatterns(l)*t.PENALTY_N3),a=this.modules[i][n],s=1);e+=this.finderPenaltyTerminateAndCount(a,s,l)*t.PENALTY_N3}for(let i=0;i<this.size;i++){let a=!1,s=0,l=[0,0,0,0,0,0,0];for(let n=0;n<this.size;n++)this.modules[n][i]==a?5==++s?e+=t.PENALTY_N1:s>5&&e++:(this.finderPenaltyAddHistory(s,l),a||(e+=this.finderPenaltyCountPatterns(l)*t.PENALTY_N3),a=this.modules[n][i],s=1);e+=this.finderPenaltyTerminateAndCount(a,s,l)*t.PENALTY_N3}for(let i=0;i<this.size-1;i++)for(let a=0;a<this.size-1;a++){let s=this.modules[i][a];s==this.modules[i][a+1]&&s==this.modules[i+1][a]&&s==this.modules[i+1][a+1]&&(e+=t.PENALTY_N2)}let i=0;for(let e of this.modules)i=e.reduce((e,t)=>e+ +!!t,i);let a=this.size*this.size,l=Math.ceil(Math.abs(20*i-10*a)/a)-1;return s(0<=l&&l<=9),s(0<=(e+=l*t.PENALTY_N4)&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{let e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2)),i=[6];for(let a=this.size-7;i.length<e;a-=t)i.splice(1,0,a);return i}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError("Version number out of range");let i=(16*e+128)*e+64;if(e>=2){let t=Math.floor(e/7)+2;i-=(25*t-10)*t-55,e>=7&&(i-=36)}return s(208<=i&&i<=29648),i}static getNumDataCodewords(e,i){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[i.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw RangeError("Degree out of range");let i=[];for(let t=0;t<e-1;t++)i.push(0);i.push(1);let a=1;for(let s=0;s<e;s++){for(let e=0;e<i.length;e++)i[e]=t.reedSolomonMultiply(i[e],a),e+1<i.length&&(i[e]^=i[e+1]);a=t.reedSolomonMultiply(a,2)}return i}static reedSolomonComputeRemainder(e,i){let a=i.map(e=>0);for(let s of e){let e=s^a.shift();a.push(0),i.forEach((i,s)=>a[s]^=t.reedSolomonMultiply(i,e))}return a}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw RangeError("Byte out of range");let i=0;for(let a=7;a>=0;a--)i=i<<1^(i>>>7)*285^(t>>>a&1)*e;return s(i>>>8==0),i}finderPenaltyCountPatterns(e){let t=e[1];s(t<=3*this.size);let i=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(i&&e[0]>=4*t&&e[6]>=t?1:0)+(i&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,i){return e&&(this.finderPenaltyAddHistory(t,i),t=0),t+=this.size,this.finderPenaltyAddHistory(t,i),this.finderPenaltyCountPatterns(i)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};function i(e,t,i){if(t<0||t>31||e>>>t!=0)throw RangeError("Value out of range");for(let a=t-1;a>=0;a--)i.push(e>>>a&1)}function a(e,t){return(e>>>t&1)!=0}function s(e){if(!e)throw Error("Assertion error")}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;let l=class e{constructor(e,t,i){if(this.mode=e,this.numChars=t,this.bitData=i,t<0)throw RangeError("Invalid argument");this.bitData=i.slice()}static makeBytes(t){let a=[];for(let e of t)i(e,8,a);return new e(e.Mode.BYTE,t.length,a)}static makeNumeric(t){if(!e.isNumeric(t))throw RangeError("String contains
1non-numeric characters");let a=[];for(let e=0;e<t.length;){let s=Math.min(t.length-e,3);i(parseInt(t.substring(e,e+s),10),3*s+1,a),e+=s}return new e(e.Mode.NUMERIC,t.length,a)}static makeAlphanumeric(t){let a;if(!e.isAlphanumeric(t))throw RangeError("String contains unencodable characters in alphanumeric mode");let s=[];for(a=0;a+2<=t.length;a+=2){let l=45*e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(a));i(l+=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(a+1)),11,s)}return a<t.length&&i(e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(a)),6,s),new e(e.Mode.ALPHANUMERIC,t.length,s)}static makeSegments(t){return""==t?[]:e.isNumeric(t)?[e.makeNumeric(t)]:e.isAlphanumeric(t)?[e.makeAlphanumeric(t)]:[e.makeBytes(e.toUtf8ByteArray(t))]}static makeEci(t){let a=[];if(t<0)throw RangeError("ECI assignment value out of range");if(t<128)i(t,8,a);else if(t<16384)i(2,2,a),i(t,14,a);else if(t<1e6)i(6,3,a),i(t,21,a);else throw RangeError("ECI assignment value out of range");return new e(e.Mode.ECI,0,a)}static isNumeric(t){return e.NUMERIC_REGEX.test(t)}static isAlphanumeric(t){return e.ALPHANUMERIC_REGEX.test(t)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let i=0;for(let a of e){let e=a.mode.numCharCountBits(t);if(a.numChars>=1<<e)return 1/0;i+=4+e+a.bitData.length}return i}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let i=0;i<e.length;i++)"%"!=e.charAt(i)?t.push(e.charCodeAt(i)):(t.push(parseInt(e.substring(i+1,i+3),16)),i+=2);return t}};l.NUMERIC_REGEX=/^[0-9]*$/,l.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,l.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";let n=l;e.QrSegment=l})(r||(r={})),s=(a=r||(r={})).QrCode||(a.QrCode={}),(t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}}).LOW=new t(0,1),t.MEDIUM=new t(1,0),t.QUARTILE=new t(2,3),t.HIGH=new t(3,2),s.Ecc=t,n=(l=r||(r={})).QrSegment||(l.QrSegment={}),(i=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}).NUMERIC=new i(1,[10,12,14]),i.ALPHANUMERIC=new i(2,[9,11,13]),i.BYTE=new i(4,[8,16,16]),i.KANJI=new i(8,[8,10,12]),i.ECI=new i(7,[0,0,0]),n.Mode=i;var g=r,w={L:g.QrCode.Ecc.LOW,M:g.QrCode.Ecc.MEDIUM,Q:g.QrCode.Ecc.QUARTILE,H:g.QrCode.Ecc.HIGH},N="#FFFFFF",E="#000000";function v(e,t=0){let i=[];return e.forEach(function(e,a){let s=null;e.forEach(function(l,n){if(!l&&null!==s){i.push(`M${s+t} ${a+t}h${n-s}v1H${s+t}z`),s=null;return}if(n===e.length-1){if(!l)return;null===s?i.push(`M${n+t},${a+t} h1v1H${n+t}z`):i.push(`M${s+t},${a+t} h${n+1-s}v1H${s+t}z`);return}l&&null===s&&(s=n)})}),i.join("")}function _(e,t){return e.slice().map((e,i)=>i<t.y||i>=t.y+t.h?e:e.map((e,i)=>(i<t.x||i>=t.x+t.w)&&e))}function I({value:e,level:t,minVersion:i,includeMargin:a,marginSize:s,imageSettings:l,size:n,boostLevel:r}){let o=c.default.useMemo(()=>{let a=(Array.isArray(e)?e:[e]).reduce((e,t)=>(e.push(...g.QrSegment.makeSegments(t)),e),[]);return g.QrCode.encodeSegments(a,w[t],i,void 0,void 0,r)},[e,t,i,r]),{cells:p,margin:x,numCells:d,calculatedImageSettings:m}=c.default.useMemo(()=>{let e=o.getModules(),t=null!=s?Math.max(Math.floor(s),0):4*!!a,i=e.length+2*t,r=function(e,t,i,a){if(null==a)return null;let s=e.length+2*i,l=Math.floor(.1*t),n=s/t,r=(a.width||l)*n,o=(a.height||l)*n,c=null==a.x?e.length/2-r/2:a.x*n,p=null==a.y?e.length/2-o/2:a.y*n,x=null==a.opacity?1:a.opacity,d=null;if(a.excavate){let e=Math.floor(c),t=Math.floor(p),i=Math.ceil(r+c-e),a=Math.ceil(o+p-t);d={x:e,y:t,w:i,h:a}}return{x:c,y:p,h:o,w:r,excavation:d,opacity:x,crossOrigin:a.crossOrigin}}(e,n,t,l);return{cells:e,margin:t,numCells:i,calculatedImageSettings:r}},[o,n,l,a,s]);return{qrcode:o,margin:x,cells:p,numCells:d,calculatedImageSettings:m}}var b=function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}return!0}();c.default.forwardRef(function(e,t){let{value:i,size:a=128,level:s="L",bgColor:l=N,fgColor:n=E,includeMargin:r=!1,minVersion:o=1,boostLevel:p,marginSize:x,imageSettings:d}=e,m=f(e,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:h}=m,g=f(m,["style"]),w=null==d?void 0:d.src,R=c.default.useRef(null),C=c.default.useRef(null),A=c.default.useCallback(e=>{R.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]),[j,y]=c.default.useState(!1),{margin:P,cells:S,numCells:M,calculatedImageSettings:O}=I({value:i,level:s,minVersion:o,boostLevel:p,includeMargin:r,marginSize:
1x,imageSettings:d,size:a});c.default.useEffect(()=>{if(null!=R.current){let e=R.current,t=e.getContext("2d");if(!t)return;let i=S,s=C.current,r=null!=O&&null!==s&&s.complete&&0!==s.naturalHeight&&0!==s.naturalWidth;r&&null!=O.excavation&&(i=_(S,O.excavation));let o=window.devicePixelRatio||1;e.height=e.width=a*o;let c=a/M*o;t.scale(c,c),t.fillStyle=l,t.fillRect(0,0,M,M),t.fillStyle=n,b?t.fill(new Path2D(v(i,P))):S.forEach(function(e,i){e.forEach(function(e,a){e&&t.fillRect(a+P,i+P,1,1)})}),O&&(t.globalAlpha=O.opacity),r&&t.drawImage(s,O.x+P,O.y+P,O.w,O.h)}}),c.default.useEffect(()=>{y(!1)},[w]);let T=u({height:a,width:a},h),k=null;return null!=w&&(k=c.default.createElement("img",{src:w,key:w,style:{display:"none"},onLoad:()=>{y(!0)},ref:C,crossOrigin:null==O?void 0:O.crossOrigin})),c.default.createElement(c.default.Fragment,null,c.default.createElement("canvas",u({style:T,height:a,width:a,ref:A,role:"img"},g)),k)}).displayName="QRCodeCanvas";var R=c.default.forwardRef(function(e,t){let{value:i,size:a=128,level:s="L",bgColor:l=N,fgColor:n=E,includeMargin:r=!1,minVersion:o=1,boostLevel:p,title:x,marginSize:d,imageSettings:m}=e,h=f(e,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:g,cells:w,numCells:b,calculatedImageSettings:R}=I({value:i,level:s,minVersion:o,boostLevel:p,includeMargin:r,marginSize:d,imageSettings:m,size:a}),C=w,A=null;null!=m&&null!=R&&(null!=R.excavation&&(C=_(w,R.excavation)),A=c.default.createElement("image",{href:m.src,height:R.h,width:R.w,x:R.x+g,y:R.y+g,preserveAspectRatio:"none",opacity:R.opacity,crossOrigin:R.crossOrigin}));let j=v(C,g);return c.default.createElement("svg",u({height:a,width:a,viewBox:`0 0 ${b} ${b}`,ref:t,role:"img"},h),!!x&&c.default.createElement("title",null,x),c.default.createElement("path",{fill:l,d:`M0,0 h${b}v${b}H0z`,shapeRendering:"crispEdges"}),c.default.createElement("path",{fill:n,d:j,shapeRendering:"crispEdges"}),A)});R.displayName="QRCodeSVG";var C=e.i(46932),A=e.i(48148),j=e.i(83268),y=e.i(5383),P=e.i(57528),S=e.i(16228),M=e.i(27225),O=e.i(55596);function T(){let e=(0,A.useTranslations)("downloadBanner");return(0,o.jsx)("section",{className:"py-[40px] xl:py-[80px]",children:(0,o.jsx)("div",{className:"container-main",children:(0,o.jsxs)(C.motion.div,{className:"relative flex flex-col xl:flex-row items-center overflow-hidden rounded-[30px] xl:rounded-[50px] bg-[#f1f1f1]",variants:O.STAGGER,initial:"hidden",whileInView:"visible",viewport:O.VIEWPORT_ONCE,children:[(0,o.jsxs)(C.motion.div,{className:"flex flex-col gap-[28px] xl:gap-[60px] h-full px-[24px] xl:px-0 xl:pl-[85px] pt-[40px] xl:pt-[60px] pb-[32px] xl:pb-[60px]",variants:O.STAGGER,children:[(0,o.jsx)(C.motion.h2,{className:"max-w-[635px] text-[27px] xl:text-[49px] font-semibold leading-[1.07] tracking-[-1.5px] xl:tracking-[-2.5px] text-black",variants:O.FADE_UP,children:e("title")}),(0,o.jsxs)(C.motion.div,{className:"flex xl:mt-auto items-start xl:items-end gap-[10px] xl:gap-[30px]",variants:O.FADE_UP,children:[(0,o.jsx)("div",{className:"flex size-[100px] xl:size-[140px] shrink-0 items-center justify-center rounded-[14px] xl:rounded-[18px] bg-white p-[8px] xl:p-[10px]",children:(0,o.jsx)(R,{value:(0,M.getStoreLink)(),size:120,level:"M",bgColor:"transparent",className:"size-full"})}),(0,o.jsxs)("div",{className:"flex flex-col gap-[12px] xl:gap-[16px]",children:[(0,o.jsxs)(y.default,{variant:"cta",className:"flex h-[47px] xl:h-[53px] w-full xl:w-[279px] items-center justify-center gap-[10px] rounded-[50px] bg-black text-[15px] max-[398px]:text-[13px] xl:text-[17px] font-semibold tracking-[-0.72px] text-white whitespace-nowrap",onClick:()=>{window.open((0,M.getStoreLink)(),"_blank","noopener,noreferrer")},children:[(0,o.jsx)(j.default,{icon:P.ICONS.APPLE_STORE,className:"max-[398px]:w-[14px] shrink-0"}),(0,o.jsx)(j.default,{icon:P.ICONS.GOOGLE_PLAY,className:"max-[398px]:w-[14px] shrink-0"}),e("downloadApp")]}),(0,o.jsx)("p",{className:"max-w-[279px] text-[15px] xl:text-[23px] leading-[1.41] tracking-[-0.64px] xl:tracking-[-0.96px] text-black",children:e("scanQr")})]})]})]}),(0,o.jsx)(C.motion.div,{className:"relative h-[325px] xl:h-[545px] w-full xl:w-2/5 shrink-0",initial:{opacity:0,y:60},whileInView:{opacity:1,y:0},viewport:O.VIEWPORT_ONCE,transition:{type:"spring",stiffness:100,damping:20,delay:.2},children:(0,o.jsx)("div",{className:"absolute bottom-0 left-1/2 -translate-x-1/2 xl:translate-x-0 xl:left-[30px] top-[25px] w-[280px] xl:w-[370px]",children:(0,o.jsx)(j.default,{icon:S.IMAGES.FULL_PHONE,className:"w-full"})})})]})})})}e.s(["default",()=>T],61543)},13460,e=>{"use strict";var t=e.i(43476),i=e.i(46932),a=e.i(6649),s=e.i(55596);function l({title:e,description:l}){let n=(0,a.useUIStore)(e=>e.pageLoaded);return(0,t.jsx)("section",{className:"relative overflow-hidden py-[20px] sm:py-[80px]",children:(0,t.jsxs)(i.motion.div,{className:"container-main relative flex flex-col gap-[16px] lg:flex-row lg:items-start lg:justify-between lg:gap-[60px]",variants:s.STAGGER,initial:"hidden",animate:n?"visible":"hidden",children:[(0,t.jsx)(i.motion.h1,{className:"max-w-[660px] text-[34px] sm:text-[44px] lg:text-[60px] xl:text-[80px] font-semibold leading-[1.04] sm:leading-[0.96] tracking-[-1.6px] xl:tracking-[-3.2px] text-black",variants:s.FADE_UP,children:e}),l&&(0,t.jsx)(i.motion.p,{className:"max-w-[481px] pt-0 sm:pt-[10px] text-lg sm:text-[20px] lg:text-[26px] xl:text-[30px] leading-[1.69] sm:leading-[1.42] tracking-[-0.6px] xl:tracking-[-1.2px] text-black",variants:s.FADE_UP,children:l})]})})}e.s(["default",()=>l])},16228,e=>{"use strict";e.s(["IMAGES",0,{EMPTY_IPHONE:{path:"/images/phone_cni.webp",alt:"iPhone CI Identité",aspectRatio:.5025,className:"w-[402px]"},IPHONE_EMPTY_FRAME:{path:"/images/image_iphone_empty.webp",alt:"iPhone CI Identité",aspectRatio:805/1601,className:"w-[402px]"},VIRTUAL_CARD_IPHONE:{path:"/images/virtual_card_iphone.webp",alt:"Carte virtuelle CI Identité",aspectRatio:805/1601,className:"w-[402px]"},SCAN_PHONE:{path:"/images/scan_phone.webp",alt:"Téléphone scan Verif",aspectRatio:792/752,className:"w-full"},SCAN_DOCUMENT:{path:"/images/scan_document.webp",alt:"Document scanné",aspectRatio:503/323,className:"w-[65%]"}
1,VERIF_APP_ICON:{path:"/images/verif_app_icon.png",alt:"Verif By ONECI",aspectRatio:1,className:"w-[119px]"},TUTORIAL_PLACEHOLDER:{path:"/tutorials/placeholder.webp",alt:"Tutoriel",aspectRatio:728/562,className:"w-full"},INSCRIPTION_TUTORIAL_POSTER:{path:"/videos/tutorial_inscription_poster_v2.webp",alt:"Tutoriel â Inscription sur CI Identité",aspectRatio:1.7824,className:"w-full",objectPosition:"right"},RECTO_CNI:{path:"/images/recto_cni.webp",alt:"Recto CNI",aspectRatio:487/317,className:"w-[487px]"},VERSO_CNI:{path:"/images/verso_cni.webp",alt:"Verso CNI",aspectRatio:487/317,className:"w-[487px]"},PAIEMENT_PHONE:{path:"/images/paiement_phone.png",alt:"Paiement phone",aspectRatio:402/797,className:"w-[402px]"},VIRTUAL_CARD:{path:"/images/virtual_card.webp",alt:"Virtual card",aspectRatio:360/230,className:"w-[360px]"},IPHONE_WITH_CNI:{path:"/images/iphone_with_cni.webp",alt:"iPhone CI Identité avec CNI",aspectRatio:.5025,className:"w-[370px]"},FULL_PHONE:{path:"/images/full_phone_v2.webp",alt:"iPhone CI Identité",aspectRatio:805/1601,className:"w-[370px]"},IPHONE_DOWNLOAD:{path:"/images/iphone_dowload.png",alt:"Télécharger CI Identité",aspectRatio:.5025,className:"w-[328px]"},MASTERCARD_VIRTUAL_GREEN:{path:"/images/mastercard/card_virtuel_mastercard_green.webp",alt:"Carte virtuelle Mastercard verte",aspectRatio:302/192,className:"w-[250px]"},MASTERCARD_VIRTUAL_ORANGE:{path:"/images/mastercard/card_virtuel_mastercard_orange.webp",alt:"Carte virtuelle Mastercard orange",aspectRatio:302/192,className:"w-[250px]"},ERROR_POTS:{path:"/images/error/electrical_pots.webp",alt:"",aspectRatio:173/188,className:"w-[173px]"},NEWS_BANNER:{path:"/images/news/banner.webp",alt:"Actualités CI Identité",aspectRatio:1728/461,className:"w-full"},NEWS_CIID_APP_1:{path:"/images/news/article_ciid_app_1.webp",alt:"Application Côte d'Ivoire Identité",aspectRatio:.8,className:"w-full"},NEWS_CIID_APP_2:{path:"/images/news/article_ciid_app_2.webp",alt:"Application CIID - démarches administratives simplifiées",aspectRatio:.8,className:"w-full"},NEWS_CIID_APP_3:{path:"/images/news/article_ciid_app_3.webp",alt:"Services CIID - identité numérique",aspectRatio:1,className:"w-full"},NEWS_JURIDICTIONS_1:{path:"/images/news/article_juridictions_1.webp",alt:"Nouvelles juridictions disponibles dans CIID",aspectRatio:1509/2048,className:"w-full",objectPosition:"top"},NEWS_JURIDICTIONS_2:{path:"/images/news/article_juridictions_2.webp",alt:"Plateforme e-justice intégrée à CIID",aspectRatio:1600/1548,className:"w-full",objectPosition:"top"},NEWS_JURIDICTIONS_3:{path:"/images/news/article_juridictions_3.webp",alt:"Extension du réseau de juridictions CIID",aspectRatio:1600/1272,className:"w-full",objectPosition:"top"},LAMPE:{path:"/images/lampe.webp",alt:"",aspectRatio:278/407,className:"w-[278px]"},SPECIMEN_JUSTIFICATIF:{path:"/images/specimens/justificatif.webp",alt:"Spécimen justificatif d'identité",aspectRatio:1241/1754,className:"w-full"},SPECIMEN_RESIDENCE:{path:"/images/specimens/residence.webp",alt:"Spécimen certificat de résidence",aspectRatio:1920/2714,className:"w-full"},SPECIMEN_PREUVE_VIE:{path:"/images/specimens/preuve_vie.webp",alt:"Spécimen preuve de vie",aspectRatio:1241/1754,className:"w-full"},SPECIMEN_PROCURATION:{path:"/images/specimens/procuration.webp",alt:"Spécimen procuration",aspectRatio:1241/1754,className:"w-full"},SPECIMEN_CASIER_JUDICIAIRE:{path:"/images/specimens/casier_judiciaire.webp",alt:"Spécimen casier judiciaire",aspectRatio:.70625,className:"w-full"},SPECIMEN_CERTIFICAT_NATIONALITE:{path:"/images/specimens/certificat_nationalite.webp",alt:"Spécimen certificat de nationalité",aspectRatio:.706875,className:"w-full"},SERVICE_IPHONE:{path:"/images/iphone_service.webp",alt:"iPhone Services CI Identité",aspectRatio:.5025,className:"w-[402px]"},HOME_IPHONE_RULES:{path:"/images/home/iphone_rules.webp",alt:"iPhone Conditions CI Identité",aspectRatio:588/1104,className:"w-full"},HOME_ADVANTAGE:{path:"/images/home/advantage_image.webp",alt:"",aspectRatio:212/232,className:"w-[140px]"},HOME_ADVANTAGE_SIMPLICITY:{path:"/images/home/advantage_simplicity.svg",alt:"Simplicité",aspectRatio:1,className:"w-[140px]"},HOME_ADVANTAGE_SECURITY:{path:"/images/home/advantage_security.svg",alt:"Sécurité",aspectRatio:1,className:"w-[140px]"},HOME_ADVANTAGE_TRUST:{path:"/images/home/advantage_trust.svg",alt:"Tiers de confiance",aspectRatio:1,className:"w-[140px]"},HOME_CARTE_CMU:{path:"/images/home/carte_cmu.webp",alt:"Carte CMU",aspectRatio:137/91,className:"w-[50px]"},HOME_PERMIS:{path:"/images/home/permis.webp",alt:"Permis de conduire",aspectRatio:137/91,className:"w-[50px]"},HOME_IPHONE_HOMEPAGE:{path:"/images/home/iphone_homepage_3.webp",alt:"CI Identité App",aspectRatio:604/1201,className:"w-full"},HOME_IPHONE_HOMEPAGEPNG:{path:"/images/home/iphone_homepage_3.png",alt:"CI Identité App",aspectRatio:604/1201,className:"w-full"},HOME_IPHONE_DETAILS:{path:"/images/home/iphone_ask_details.webp",alt:"Détails demande",aspectRatio:575/1169,className:"w-full"},HOME_IPHONE_SERVICES:{path:"/images/home/iphone_home_services.webp",alt:"Portefeuille identité",aspectRatio:575/1169,className:"w-full"},HOME_IPHONE_LEFT_V2:{path:"/images/home/iphone_left_2.webp",alt:"Détails demande casier judiciaire",aspectRatio:380.29/800.24,className:"w-full"},HOME_IPHONE_LEFT:{path:"/images/home/iphone_left.webp",alt:"Détails demande casier judiciaire",aspectRatio:575/1169,className:"w-full"},HOME_IPHONE_RIGHT:{path:"/images/home/iphone_right.webp",alt:"Services CI Identité",aspectRatio:575/1169,className:"w-full"},BG_HOME_HERO:{path:"/images/home/bg_home_hero.svg",alt:"",aspectRatio:1554/1512,className:"w-full"}}])},34797,e=>{"use strict";var t=e.i(43476),i=e.i(46932),a=e.i(48148),s=e.i(57528),l=e.i(83268),n=e.i(29066),r=e.i(55596);let o=[{icon:s.ICONS.PARTNER_ONECI,url:"https://www.oneci.ci",label:"www.oneci.ci"},{icon:s.ICONS.PARTNER_MASTERCARD,url:"https://www.mastercard.com",label:"www.mastercard.com"},{icon:s.ICONS.PARTNER_PAYNAH,url:"https://www.paynah.com",label:"www.paynah.com"}];function c(){let e=(0,a.useTranslations)("partners");return(0,t.jsx)("section",{className:"flex py-[60px] xl:py-0 xl:min-h-[700px]",children:(0,t.jsxs)(i.motion.div,{className:"container-main flex flex-col gap-[40px] xl:flex-row xl:items-center xl:gap-[100px]",variants:r.STAGGER,initial:"hidden",
1whileInView:"visible",viewport:r.VIEWPORT_ONCE,children:[(0,t.jsxs)(i.motion.div,{className:"flex flex-1 flex-col gap-[24px]",variants:r.STAGGER,children:[(0,t.jsx)(i.motion.h2,{className:"text-[26px] xl:text-[50px] font-semibold leading-[1.125] tracking-[-1.04px] xl:tracking-[-2px] text-black",variants:r.FADE_UP,children:e("title")}),(0,t.jsx)(i.motion.p,{className:"max-w-[530px] text-[16px] xl:text-[18px] leading-[1.59] tracking-[-0.64px] xl:tracking-[-0.72px] text-black whitespace-pre-line",variants:r.FADE_UP,children:e("description")})]}),(0,t.jsx)(i.motion.div,{className:"flex flex-col items-center gap-[20px] md:flex-row md:justify-center md:gap-[42px]",variants:r.STAGGER,children:o.map(e=>(0,t.jsxs)(i.motion.div,{className:"flex flex-col items-center gap-[16px] xl:gap-[32px]",variants:r.SCALE_IN,children:[(0,t.jsx)(n.default,{href:e.url,external:!0,variant:"cta",className:"flex h-[120px] w-[130px] xl:h-[163px] xl:w-[170px] items-center justify-center rounded-[20px] xl:rounded-[30px] bg-[#f9f9f9]",children:(0,t.jsx)(l.default,{icon:e.icon,className:"w-[60px] xl:w-[80px]"})}),(0,t.jsx)(n.default,{href:e.url,external:!0,variant:"underline",className:"text-[16px] xl:text-[20px] font-semibold tracking-[-0.8px] text-primary-500",children:e.label})]},e.label))})]})})}e.s(["default",()=>c])},34113,46742,e=>{"use strict";var t=e.i(16228);let i=[{slug:"nouvelles-juridictions-ci-identite",titleKey:"items.nouvellesJuridictions.title",excerptKey:"items.nouvellesJuridictions.excerpt",contentKey:"items.nouvellesJuridictions.content",publishedAtKey:"items.nouvellesJuridictions.publishedAt",thumbnail:t.IMAGES.NEWS_JURIDICTIONS_2,detailImages:[t.IMAGES.NEWS_JURIDICTIONS_2,t.IMAGES.NEWS_JURIDICTIONS_3,t.IMAGES.NEWS_JURIDICTIONS_1]},{slug:"ciid-app-demarches-administratives",titleKey:"items.ciidApp.title",excerptKey:"items.ciidApp.excerpt",contentKey:"items.ciidApp.content",publishedAtKey:"items.ciidApp.publishedAt",thumbnail:t.IMAGES.NEWS_CIID_APP_1,detailImages:[t.IMAGES.NEWS_CIID_APP_2,t.IMAGES.NEWS_CIID_APP_3,t.IMAGES.NEWS_CIID_APP_1]}];e.s(["NEWS_ARTICLES",0,i],34113);var a=e.i(43476),s=e.i(57688),l=e.i(48148),n=e.i(29066),r=e.i(83268),o=e.i(57528);function c({article:e}){let t=(0,l.useTranslations)("pages.news");return(0,a.jsxs)(n.default,{href:`/news/${e.slug}`,variant:"navActive",className:"flex h-full flex-col items-start gap-4 roun
1ded-[36px] xl:rounded-[50px] bg-surface-card p-[18px] sm:p-[24px] xl:p-[35px]",children:[(0,a.jsxs)("div",{className:"flex items-center w-full justify-between ",children:[(0,a.jsx)("p",{className:"text-[9px] xl:text-[11px] font-semibold uppercase text-[#a8a8a8]",children:t(e.publishedAtKey)}),(0,a.jsx)(r.default,{icon:o.ICONS.NEWS_ARROW,className:"w-[25px] xl:w-[30px]"})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-6 flex-1",children:[(0,a.jsx)("h3",{className:"text-[20px] xl:text-[28px] line-clamp-3 font-medium sm:leading-[1.125] leading-[1.25] tracking-[-0.8px] xl:tracking-[-1.12px] text-black",children:t(e.titleKey)}),(0,a.jsx)("p",{className:"text-[14px] xl:text-[17px] leading-[1.59] mt-auto line-clamp-3 tracking-[-0.56px] xl:tracking-[-0.67px] text-black",children:t(e.excerptKey)})]}),(0,a.jsx)("div",{className:"w-full shrink-0 aspect-349/169",children:(0,a.jsx)("div",{className:"relative size-full overflow-hidden rounded-[20px]",children:e.thumbnail?(0,a.jsx)(s.default,{src:e.thumbnail.path,alt:e.thumbnail.alt,fill:!0,sizes:"400px",className:"object-cover",style:{objectPosition:e.thumbnail.objectPosition}}):(0,a.jsx)("div",{className:"flex size-full items-center justify-center bg-[#4E4E4E]",children:(0,a.jsx)(r.default,{icon:o.ICONS.NEWS_ICON,className:"w-[40px] opacity-60"})})})})]})}e.s(["default",()=>c],46742)},24173,e=>{"use strict";var t=e.i(43476),i=e.i(48148),a=e.i(13460);function s(){let e=(0,i.useTranslations)("pages.news.hero");return(0,t.jsx)(a.default,{title:e("title")})}e.s(["default",()=>s])},26874,e=>{"use strict";var t=e.i(43476),i=e.i(34113),a=e.i(46742),s=e.i(1139),l=e.i(6649),n=e.i(24153),r=e.i(46932),o=e.i(55596);function c(){let{isSm:e}=(0,n.useBreakpoint)(),c=(0,l.useUIStore)(e=>e.pageLoaded);return(0,t.jsxs)("section",{className:"relative overflow-x-clip pb-[60px] pt-[5px] sm:pb-[80px] sm:pt-[40px]",children:[!e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{className:"-left-[44px] -top-[250px]",size:"h-[630px] w-[220px]",opacity:.6,blur:220}),(0,t.jsx)(s.default,{className:"-right-[100px] top-[250px]",size:"h-[630px] w-[220px]",opacity:.6,blur:220})]}),(0,t.jsx)("div",{className:"container-main relative grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-3 gap-[16px] sm:gap-[20px] xl:gap-[24px]",children:i.NEWS_ARTICLES.map(e=>(0,t.jsx)(r.motion.div,{variants:o.FADE_UP_SCALE,initial:"hidden",whileInView:c?"visible":"hidden",viewport:o.VIEWPORT_ONCE,className:"w-full",children:(0,t.jsx)(a.default,{article:e})},e.slug))})]})}e.s(["default",()=>c])},39932,e=>{"use strict";var t=e.i(43476),i=e.i(46932);function a({className:e=""}){return(0,t.jsx)("div",{className:`relative overflow-hidden bg-[#ececec] ${e}`,"aria-hidden":"true",children:(0,t.jsx)(i.motion.div,{className:"absolute inset-0 -translate-x-full bg-gradient-to-r from-transparent via-white/55 to-transparent",animate:{x:["-100%","200%"]},transition:{duration:1.6,ease:"easeInOut",repeat:1/0,repeatDelay:.2}})})}function s(){return(0,t.jsxs)("div",{className:"pointer-events-none select-none",role:"status","aria-label":"Chargement de l'article",children:[(0,t.jsx)("section",{children:(0,t.jsx)(a,{className:"sm:h-[461px] h-[330px] sm:mt-[40px] w-full"})}),(0,t.jsx)("section",{className:"sm:py-[60px] py-[30px] sm:pb-[30px] pb-[16px]",children:(0,t.jsxs)("div",{className:"container-main flex flex-col gap-[16px] sm:gap-[30px]",children:[(0,t.jsx)(a,{className:"h-[20px] sm:h-[24px] w-[120px] sm:w-[160px] rounded-[6px]"}),(0,t.jsxs)("div",{className:"flex flex-col gap-[10px] sm:gap-[14px]",children:[(0,t.jsx)(a,{className:"h-[34px] sm:h-[72px] w-[88%] rounded-[10px]"}),(0,t.jsx)(a,{className:"h-[34px] sm:h-[72px] w-[72%] rounded-[10px]"}),(0,t.jsx)(a,{className:"h-[34px] sm:h-[72px] w-[55%] rounded-[10px]"})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-[8px] sm:gap-[12px] mt-[6px] sm:mt-[10px]",children:[(0,t.jsx)(a,{className:"h-[14px] sm:h-[20px] w-full rounded-[6px]"}),(0,t.jsx)(a,{className:"h-[14px] sm:h-[20px] w-[95%] rounded-[6px]"}),(0,t.jsx)(a,{className:"h-[14px] sm:h-[20px] w-[90%] rounded-[6px]"}),(0,t.jsx)(a,{className:"h-[14px] sm:h-[20px] w-[60%] rounded-[6px]"})]})]})}),(0,t.jsx)("section",{className:"sm:pb-[60px] pb-[30px]",children:(0,t.jsxs)("div",{className:"container-main flex sm:flex-row flex-col w-full gap-[20px] sm:gap-[24px]",children:[(0,t.jsx)(a,{className:"w-full h-[260px] sm:h-[355px] sm:rou
1nded-[30px] rounded-[20px]"}),(0,t.jsx)(a,{className:"w-full h-[260px] sm:h-[355px] sm:rounded-[30px] rounded-[20px]"})]})}),(0,t.jsx)("section",{className:"sm:pb-[80px] pb-[30px]",children:(0,t.jsxs)("div",{className:"container-main flex flex-col gap-[8px] sm:gap-[12px]",children:[(0,t.jsx)(a,{className:"h-[14px] sm:h-[20px] w-full rounded-[6px]"}),(0,t.jsx)(a,{className:"h-[14px] sm:h-[20px] w-[97%] rounded-[6px]"}),(0,t.jsx)(a,{className:"h-[14px] sm:h-[20px] w-[92%] rounded-[6px]"}),(0,t.jsx)(a,{className:"h-[14px] sm:h-[20px] w-[75%] rounded-[6px]"})]})})]})}e.s(["default",()=>s])},64042,e=>{"use strict";var t=e.i(43476),i=e.i(71645),a=e.i(57688),s=e.i(48148),l=e.i(29066),n=e.i(34113),r=e.i(16228),o=e.i(46742),c=e.i(39932),p=e.i(46932),x=e.i(88653);function d({zoomed:e,onClose:s}){let l=(0,i.useCallback)(()=>s(),[s]);return(0,i.useEffect)(()=>{if(!e)return;let t=e=>{"Escape"===e.key&&l()},i=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",t),()=>{document.body.style.overflow=i,window.removeEventListener("keydown",t)}},[e,l]),(0,t.jsx)(x.AnimatePresence,{children:e&&(0,t.jsxs)(p.motion.div,{className:"fixed inset-0 z-[100] flex items-center justify-center bg-black/85 backdrop-blur-sm px-[16px] py-[40px] sm:p-[60px] cursor-zoom-out",initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.25},onClick:l,role:"dialog","aria-modal":"true","aria-label":e.image.alt||"Image",children:[(0,t.jsx)(p.motion.button,{type:"button","aria-label":"Fermer",onClick:e=>{e.stopPropagation(),l()},className:"absolute top-[20px] right-[20px] z-[1] flex size-[44px] items-center justify-center rounded-full bg-white/10 text-white backdrop-blur transition-colors hover:bg-white/20",initial:{opacity:0,scale:.6},animate:{opacity:1,scale:1,transition:{delay:.15,duration:.2}},exit:{opacity:0,scale:.6,transition:{duration:.15}},children:(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M6 6l12 12M6 18L18 6",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round"})})}),(0,t.jsx)(p.motion.div,{layoutId:e.layoutId,className:"relative overflow-hidden rounded-[18px] sm:rounded-[24px] shadow-[0_30px_80px_rgba(0,0,0,0.45)] cursor-zoom-out",style:{width:`min(95vw, calc((100vh - 80px) * ${e.image.aspectRatio}))`,aspectRatio:e.image.aspectRatio,maxWidth:"1400px"},transition:{type:"spring",stiffness:260,damping:28},children:(0,t.jsx)(a.default,{src:e.image.path,alt:e.image.alt,fill:!0,sizes:"100vw",priority:!0,className:"object-contain select-none"})})]},"lightbox")})}var m=e.i(24153),h=e.i(6649),u=e.i(55596);function f({blocks:e}){return(0,t.jsx)("div",{className:"flex flex-col gap-[16px] sm:gap-[24px]",children:e.map((e,i)=>"paragraph"===e.type?(0,t.jsx)(p.motion.p,{variants:u.FADE_UP,className:"max-w-[1170px] sm:text-[24px] text-lg leading-[1.59] tracking-[-0.48px] text-black",children:e.text},i):(0,t.jsxs)(p.motion.div,{variants:u.FADE_UP,className:"flex flex-col gap-[12px]",children:[e.intro&&(0,t.jsx)("p",{className:"max-w-[1170px] sm:text-[24px] text-lg leading-[1.59] tracking-[-0.48px] text-black",children:e.intro}),(0,t.jsx)("ul",{className:"flex flex-col gap-[10px] pl-[4px]",children:e.items.map((e,i)=>(0,t.jsxs)("li",{className:"flex items-start gap-[14px] sm:text-[22px] text-base leading-[1.55] tracking-[-0.44px] text-black",children:[(0,t.jsx)("span",{className:"mt-[14px] size-[7px] shrink-0 rounded-full bg-primary-500"}),(0,t.jsx)("span",{children:e})]},i))})]},i))})}function g({image:e,layoutId:i,onZoom:s,className:l,children:n,sizes:r,priority:o}){return(0,t.jsxs)(p.motion.button,{type:"button",layoutId:i,onClick:()=>s({image:e,layoutId:i}),whileHover:{scale:1.015},whileTap:{scale:.985},transition:{type:"spring",stiffness:320,damping:24},"aria-label":`Agrandir l'image: ${e.alt||""}`,className:`group relative block cursor-zoom-in overflow-hidden ${l}`,children:[(0,t.jsx)(a.default,{src:e.path,alt:e.alt,fill:!0,sizes:r??"100vw",priority:o,className:"object-cover select-none pointer-events-none transition-transform duration-300 ease-out group-hover:scale-[1.03]",style:{objectPosition:e.objectPosition}}),n,(0,t.jsx)("span",{"aria-hidden":"true",className:"pointer-events-none absolute right-[14px] bottom-[14px] flex size-[36px] items-center justify-center rounded-full bg-black/40 text-white backdrop-blur opacity-0 transition-opacity duration-200 group-hover:opacity-100",children:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:(0,t.jsx)("path",{d:"M5 9V5h4M15 5h4v4M19 15v4h-4M9 19H5v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})}function w({article:e}){let w=(0,s.useTranslations)("pages.news"),{isXl:N}=(0,m.useBreakpoint)(),E=(0,h.useUIStore)(e=>e.pageLoaded),[v,_]=(0,i.useState)(null),I=(0,i.useMemo)(()=>n.NEWS_ARTICLES.filter(t=>t.slug!==e.slug).slice(0,3),[e.slug]),b=function(e){let t=[];for(let i of e.split(/\n\n+/)){let e=i.split("\n").map(e=>e.trim()).filter(e=>e.length>0),a=e.filter(e=>/^[-â¢]\s+/.test(e)),s=e.filter(e=>!/^[-â¢]\s+/.test(e));a.length>0?t.push({type:"list",intro:s.length?s.join(" "):void 0,items:a.map(e=>e.replace(/^[-â¢]\s+/,""))}):s.length>0&&t.push({type:"paragraph",text:s.join(" ")})}return t}(w(e.contentKey)),R=b[0]?[b[0]]:[],C=b.slice(1),A=e.detailImages??[],j=A[0]??r.IMAGES.NEWS_BANNER,y=A[1],P=A[2],S=`${e.slug}-banner`,M=`${e.slug}-side-1`,O=`${e.slug}-side-2`,T=(0,i.useMemo)(()=>
1[j,y,P].filter(Boolean),[j,y,P]),k=T.length,[D,L]=(0,i.useState)(0),[U,F]=(0,i.useState)(!1),H=(0,i.useCallback)(()=>{L(e=>e+1)},[]);return(0,i.useEffect)(()=>{let e=setTimeout(()=>F(!0),5e3);return()=>clearTimeout(e)},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none fixed -left-[9999px] -top-[9999px] w-[100vw] h-[60vh] opacity-0",children:T.map((e,i)=>(0,t.jsx)("div",{className:"relative w-full h-full",children:(0,t.jsx)(a.default,{src:e.path,alt:"",fill:!0,sizes:"100vw",priority:!0,onLoad:H,onError:H})},i))}),(0,t.jsx)(x.AnimatePresence,{mode:"wait",initial:!1,children:(U||k>0&&D>=k)&&E?(0,t.jsxs)(p.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,ease:"easeOut"},children:[(0,t.jsx)("section",{children:(0,t.jsx)("div",{className:"relative sm:h-[461px] h-[330px] sm:mt-[40px] w-full overflow-hidden bg-gradient-to-b from-[#ebebeb] to-white",children:(0,t.jsx)(g,{image:j,layoutId:S,onZoom:_,priority:!0,className:"absolute inset-0 w-full h-full",sizes:"100vw"})})}),(0,t.jsx)("section",{className:"sm:py-[60px] py-[30px] sm:pb-[30px] pb-[16px]",children:(0,t.jsxs)(p.motion.div,{variants:u.STAGGER,initial:"hidden",animate:"visible",className:"container-main flex flex-col gap-[16px] sm:gap-[30px]",children:[(0,t.jsx)(p.motion.p,{variants:u.FADE_UP,className:"text-[16px] sm:text-[20px] font-semibold text-[#a8a8a8]",children:w(e.publishedAtKey)}),(0,t.jsx)(p.motion.h1,{variants:u.FADE_UP,className:"max-w-[1110px] sm:text-[80px] text-[36px] font-semibold leading-[1.14] sm:tracking-[-3.2px] tracking-[-1.6px] text-black",children:w(e.titleKey)}),(0,t.jsx)(f,{blocks:R})]})}),(y||P)&&(0,t.jsx)("section",{className:"sm:pb-[60px] pb-[30px]",children:(0,t.jsxs)(p.motion.div,{variants:u.STAGGER,initial:"hidden",animate:"visible",className:"container-main flex sm:flex-row flex-col w-full gap-[20px] sm:gap-[24px]",children:[y&&(0,t.jsx)(p.motion.div,{variants:u.FADE_UP_SCALE,className:"relative w-full h-[260px] sm:h-[355px]",children:(0,t.jsx)(g,{image:y,layoutId:M,onZoom:_,priority:!0,className:"absolute inset-0 w-full h-full sm:rounded-[30px] rounded-[20px]",sizes:"100vw"})}),P&&(0,t.jsx)(p.motion.div,{variants:u.FADE_UP_SCALE,className:"relative w-full h-[260px] sm:h-[355px]",children:(0,t.jsx)(g,{image:P,layoutId:O,onZoom:_,priority:!0,className:"absolute inset-0 w-full h-full sm:rounded-[30px] rounded-[20px]",sizes:"100vw"})})]})}),C.length>0&&(0,t.jsx)("section",{className:"sm:pb-[80px] pb-[30px]",children:(0,t.jsx)(p.motion.div,{variants:u.STAGGER,initial:"hidden",whileInView:"visible",viewport:u.VIEWPORT_ONCE,className:"container-main",children:(0,t.jsx)(f,{blocks:C})})}),I.length>0&&(0,t.jsx)("section",{className:"bg-[#FFEEE3] sm:py-[80px] py-[30px]",children:(0,t.jsxs)(p.motion.div,{variants:u.STAGGER,initial:"hidden",whileInView:"visible",viewport:u.VIEWPORT_ONCE,className:"container-main flex flex-col gap-[40px]",children:[(0,t.jsxs)(p.motion.div,{variants:u.STAGGER,initial:"hidden",whileInView:"visible",viewport:u.VIEWPORT_ONCE,className:"flex items-center justify-between",children:[(0,t.jsxs)(p.motion.div,{variants:u.STAGGER,initial:"hidden",whileInView:"visible",viewport:u.VIEWPORT_ONCE,className:"flex flex-col gap-[16px]",children:[(0,t.jsx)(p.motion.h2,{variants:u.FADE_UP,className:"xl:text-[50px] sm:text-[36px] text-[24px] sm:w-fit w-full text-center sm:text-left font-semibold leading-[1.125] tracking-[-2px] text-black",children:w("otherNews")}),!N&&(0,t.jsx)(p.motion.p,{variants:u.FADE_UP,className:"text-[16px] sm:text-[18px] sm:text-left text-black tracking-[-0.48px]",children:"Le programme Côte dâIvoire Identité est conçu pour dématérialiser et sécuriser les services existants liés à lâidentité comme le certificat de résidence et développer de nouveaux services grâce à lâidentité digitale à lâinstar de la preuve de vie biométrique."})]}),N&&(0,t.jsx)(l.default,{href:"/news",variant:"cta",className:"flex h-[54px] items-center rounded-[50px] border-2 border-black px-[23px] text-[18px] font-semibold tracking-[-0.72px] text-black",children:w("allNews")})]}),(0,t.jsx)("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 grid-cols-1 gap-[24px]",children:I.map(e=>
1(0,t.jsx)(p.motion.div,{initial:"hidden",whileInView:"visible",viewport:u.VIEWPORT_ONCE,variants:u.FADE_UP_SCALE,className:"w-full",children:(0,t.jsx)(o.default,{article:e})},e.slug))}),!N&&(0,t.jsx)(p.motion.div,{className:"w-full flex justify-center",variants:u.FADE_UP,children:(0,t.jsx)(l.default,{href:"/news",variant:"ctaHover",className:"mx-auto px-[23px] py-[12px] bg-primary-500 text-white rounded-[50px] text-[16px] font-semibold tracking-[-0.72px]",children:w("allNews")})})]})})]},"news-content"):(0,t.jsx)(p.motion.div,{initial:{opacity:1},animate:{opacity:1},exit:{opacity:0},transition:{duration:.35,ease:"easeOut"},children:(0,t.jsx)(c.default,{})},"news-skeleton")}),(0,t.jsx)(d,{zoomed:v,onClose:()=>_(null)})]})}e.s(["default",()=>w],64042)},32796,e=>{"use strict";var t=e.i(43476),i=e.i(46932),a=e.i(48148),s=e.i(20133),l=e.i(83268),n=e.i(57528),r=e.i(55596);function o(){let e=(0,a.useTranslations)("pages.news.comingSoon");return(0,t.jsx)("section",{className:"py-[40px] sm:py-[60px] xl:py-[100px]",children:(0,t.jsx)("div",{className:"container-main",children:(0,t.jsxs)(i.motion.div,{className:"mx-auto flex max-w-[640px] flex-col items-center gap-[20px] xl:gap-[28px] text-center",variants:r.STAGGER,initial:"hidden",whileInView:"visible",viewport:r.VIEWPORT_ONCE,children:[(0,t.jsx)(i.motion.div,{variants:r.FADE_UP_SCALE,style:{perspective:800},children:(0,t.jsx)(i.motion.div,{animate:{y:[0,-10,0],rotateX:[-4,4,-4],rotateY:[-6,6,-6]},transition:{duration:6,ease:"easeInOut",repeat:1/0},style:{transformStyle:"preserve-3d"},children:(0,t.jsx)(l.default,{icon:n.ICONS.NOT_FOUND_ILLUSTRATION,className:"w-[120px] xl:w-[150px]"})})}),(0,t.jsx)(i.motion.h2,{className:"max-w-[520px] text-[22px] sm:text-[26px] xl:text-[32px] font-semibold leading-[1.2] tracking-[-0.88px] xl:tracking-[-1.28px] text-black",variants:r.FADE_UP,children:e("title")}),(0,t.jsx)(i.motion.p,{className:"max-w-[520px] text-[14px] sm:text-[16px] xl:text-[18px] leading-[1.59] tracking-[-0.56px] xl:tracking-[-0.72px] text-black/70",variants:r.FADE_UP,children:e("description")}),(0,t.jsx)(i.motion.div,{variants:r.FADE_UP,children:(0,t.jsx)(s.Link,{href:"/",className:"inline-flex h-[48px] xl:h-[54px] items-center justify-center rounded-full border-2 border-black px-[24px] xl:px-[30px] text-[15px] xl:text-[18px] font-semibold tracking-[-0.6px] xl:tracking-[-0.72px] text-black transition-colors hover:bg-black hover:text-white",children:e("cta")})})]})})})}e.s(["default",()=>o])}]);
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.