PageSourceSearch

https://boitepac.com/assets/index-D7CM1Alp.js

js boitepac.com collected 2026-10-04 18:30:01 UTC 1,664,131 bytes, 3,253 lines download raw bytes

vendor: 6,401 bytes, lines 1-9
1var ML=Object.defineProperty;var Qw=e=>{throw TypeError(e)};var BL=(e,t,n)=>t in e?ML(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Vr=(e,t,n)=>BL(e,typeof t!="symbol"?t+"":t,n),Tf=(e,t,n)=>t.has(e)||Qw("Cannot "+n);var F=(e,t,n)=>(Tf(e,t,"read from private field"),n?n.call(e):t.get(e)),Se=(e,t,n)=>t.has(e)?Qw("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),he=(e,t,n,r)=>(Tf(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),jt=(e,t,n)=>(Tf(e,t,"access private method"),n);var gu=(e,t,n,r)=>({set _(i){he(e,t,i,n)},get _(){return F(e,t,r)}});function $L(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var Qd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var sS={exports:{}},ah={},oS={exports:{}},xe={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var Wc=Symbol.for("react.element"),FL=Symbol.for("react.portal"),zL=Symbol.for("react.fragment"),UL=Symbol.for("react.strict_mode"),VL=Symbol.for("react.profiler"),WL=Symbol.for("react.provider"),HL=Symbol.for("react.context"),GL=Symbol.for("react.forward_ref"),KL=Symbol.for("react.suspense"),JL=Symbol.for("react.memo"),YL=Symbol.for("react.lazy"),Xw=Symbol.iterator;function QL(e){return e===null||typeof e!="object"?null:(e=Xw&&e[Xw]||e["@@iterator"],typeof e=="function"?e:null)}var aS={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},lS=Object.assign,cS={};function $a(e,t,n){this.props=e,this.context=t,this.refs=cS,this.updater=n||aS}$a.prototype.isReactComponent={};$a.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};$a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function uS(){}uS.prototype=$a.prototype;function eb(e,t,n){this.props=e,this.context=t,this.refs=cS,this.updater=n||aS}var tb=eb.prototype=new uS;tb.constructor=eb;lS(tb,$a.prototype);tb.isPureReactComponent=!0;var Zw=Array.isArray,dS=Object.prototype.hasOwnProperty,nb={current:null},pS={key:!0,ref:!0,__self:!0,__source:!0};function hS(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)dS.call(t,r)&&!pS.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var c=Array(a),u=0;u<a;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:Wc,type:e,key:s,ref:o,props:i,_owner:nb.current}}function XL(e,t){return{$$typeof:Wc,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function rb(e){return typeof e=="object"&&e!==null&&e.$$typeof===Wc}function ZL(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var e0=/\/+/g;function Pf(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ZL(""+e.key):t.toString(36)}function md(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Wc:case FL:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+Pf(o,0):r,Zw(i)?(n="",e!=null&&(n=e.replace(e0,"$&/")+"/"),md(i,t,n,"",function(u){return u})):i!=null&&(rb(i)&&(i=XL(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(e0,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",Zw(e))for(var a=0;a<e.length;a++){s=e[a];var c=r+Pf(s,a);o+=md(s,t,n,c,i)}else if(c=QL(e),typeof c=="function")for(e=c.call(e),a=0;!(s=e.next()).done;)s=s.value,c=r+Pf(s,a++),o+=md(s,t,n,c,i);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function vu(e,t,n){if(e==null)return e;var r=[],i=0;return md(e,r,"","",function(s){return t.call(n,s,i++)}),r}function e5(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ft={current:null},gd={transition:null},t5={ReactCurrentDispatcher:Ft,ReactCurrentBatchConfig:gd,ReactCurrentOwner:nb};function fS(){throw Error("act(...) is not supported in production builds of React.")}xe.Children={map:vu,forEach:function(e,t,n){vu(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return vu(e,function(){t++}),t},toArray:function(e){return vu(e,function(t){return t})||[]},only:function(e){if(!rb(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};xe.Component=$a;xe.Fragment=zL;xe.Profiler=VL;xe.PureComponent=eb;xe.StrictMode=UL;xe.Suspense=KL;
vendor: 4,820 bytes, lines 9-25
9xe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=t5;xe.act=fS;xe.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=lS({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=nb.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(c in t)dS.call(t,c)&&!pS.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&a!==void 0?a[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){a=Array(c);for(var u=0;u<c;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Wc,type:e.type,key:i,ref:s,props:r,_owner:o}};xe.createContext=function(e){return e={$$typeof:HL,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:WL,_context:e},e.Consumer=e};xe.createElement=hS;xe.createFactory=function(e){var t=hS.bind(null,e);return t.type=e,t};xe.createRef=function(){return{current:null}};xe.forwardRef=function(e){return{$$typeof:GL,render:e}};xe.isValidElement=rb;xe.lazy=function(e){return{$$typeof:YL,_payload:{_status:-1,_result:e},_init:e5}};xe.memo=function(e,t){return{$$typeof:JL,type:e,compare:t===void 0?null:t}};xe.startTransition=function(e){var t=gd.transition;gd.transition={};try{e()}finally{gd.transition=t}};xe.unstable_act=fS;xe.useCallback=function(e,t){return Ft.current.useCallback(e,t)};xe.useContext=function(e){return Ft.current.useContext(e)};xe.useDebugValue=function(){};xe.useDeferredValue=function(e){return Ft.current.useDeferredValue(e)};xe.useEffect=function(e,t){return Ft.current.useEffect(e,t)};xe.useId=function(){return Ft.current.useId()};xe.useImperativeHandle=function(e,t,n){return Ft.current.useImperativeHandle(e,t,n)};xe.useInsertionEffect=function(e,t){return Ft.current.useInsertionEffect(e,t)};xe.useLayoutEffect=function(e,t){return Ft.current.useLayoutEffect(e,t)};xe.useMemo=function(e,t){return Ft.current.useMemo(e,t)};xe.useReducer=function(e,t,n){return Ft.current.useReducer(e,t,n)};xe.useRef=function(e){return Ft.current.useRef(e)};xe.useState=function(e){return Ft.current.useState(e)};xe.useSyncExternalStore=function(e,t,n){return Ft.current.useSyncExternalStore(e,t,n)};xe.useTransition=function(){return Ft.current.useTransition()};xe.version="18.3.1";oS.exports=xe;var y=oS.exports;const O=hs(y),ib=$L({__proto__:null,default:O},[y]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var n5=y,r5=Symbol.for("react.element"),i5=Symbol.for("react.fragment"),s5=Object.prototype.hasOwnProperty,o5=n5.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a5={key:!0,ref:!0,__self:!0,__source:!0};function mS(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)s5.call(t,r)&&!a5.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:r5,type:e,key:s,ref:o,props:i,_owner:o5.current}}ah.Fragment=i5;ah.jsx=mS;ah.jsxs=mS;sS.exports=ah;var l=sS.exports,gS={exports:{}},gn={},vS={exports:{}},yS={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(I,N){var _=I.length;I.push(N);e:for(;0<_;){var z=_-1>>>1,H=I[z];if(0<i(H,N))I[z]=N,I[_]=H,_=z;else break e}}function n(I){return I.length===0?null:I[0]}function r(I){if(I.length===0)return null;var N=I[0],_=I.pop();if(_!==N){I[0]=_;e:for(var z=0,H=I.length,E=H>>>1;z<E;){var Q=2*(z+1)-1,ne=I[Q],ae=Q+1,ce=I[ae];if(0>i(ne,_))ae<H&&0>i(ce,ne)?(I[z]=ce,I[ae]=_,z=ae):(I[z]=ne,I[Q]=_,z=Q);else if(ae<H&&0>i(ce,_))I[z]=ce,I[ae]=_,z=ae;else break e}}return N}function i(I,N){var _=I.sortIndex-N.sortIndex;return _!==0?_:I.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var c=[],u=[],p=1,d=null,h=3,f=!1,m=!1,g=!1,x=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(I){for(var N=n(u);N!==null;){if(N.callback===null)r(u);else if(N.startTime<=I)r(u),N.sortIndex=N.expirationTime,t(c,N);else break;N=n(u)}}
vendor: 9,389 bytes, lines 25-34
25function k(I){if(g=!1,w(I),!m)if(n(c)!==null)m=!0,B(S);else{var N=n(u);N!==null&&V(k,N.startTime-I)}}function S(I,N){m=!1,g&&(g=!1,v(P),P=-1),f=!0;var _=h;try{for(w(N),d=n(c);d!==null&&(!(d.expirationTime>N)||I&&!q());){var z=d.callback;if(typeof z=="function"){d.callback=null,h=d.priorityLevel;var H=z(d.expirationTime<=N);N=e.unstable_now(),typeof H=="function"?d.callback=H:d===n(c)&&r(c),w(N)}else r(c);d=n(c)}if(d!==null)var E=!0;else{var Q=n(u);Q!==null&&V(k,Q.startTime-N),E=!1}return E}finally{d=null,h=_,f=!1}}var C=!1,T=null,P=-1,R=5,j=-1;function q(){return!(e.unstable_now()-j<R)}function A(){if(T!==null){var I=e.unstable_now();j=I;var N=!0;try{N=T(!0,I)}finally{N?D():(C=!1,T=null)}}else C=!1}var D;if(typeof b=="function")D=function(){b(A)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,$=L.port2;L.port1.onmessage=A,D=function(){$.postMessage(null)}}else D=function(){x(A,0)};function B(I){T=I,C||(C=!0,D())}function V(I,N){P=x(function(){I(e.unstable_now())},N)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(I){I.callback=null},e.unstable_continueExecution=function(){m||f||(m=!0,B(S))},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(I){switch(h){case 1:case 2:case 3:var N=3;break;default:N=h}var _=h;h=N;try{return I()}finally{h=_}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(I,N){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var _=h;h=I;try{return N()}finally{h=_}},e.unstable_scheduleCallback=function(I,N,_){var z=e.unstable_now();switch(typeof _=="object"&&_!==null?(_=_.delay,_=typeof _=="number"&&0<_?z+_:z):_=z,I){case 1:var H=-1;break;case 2:H=250;break;case 5:H=1073741823;break;case 4:H=1e4;break;default:H=5e3}return H=_+H,I={id:p++,callback:N,priorityLevel:I,startTime:_,expirationTime:H,sortIndex:-1},_>z?(I.sortIndex=_,t(u,I),n(c)===null&&I===n(u)&&(g?(v(P),P=-1):g=!0,V(k,_-z))):(I.sortIndex=H,t(c,I),m||f||(m=!0,B(S))),I},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(I){var N=h;return function(){var _=h;h=N;try{return I.apply(this,arguments)}finally{h=_}}}})(yS);vS.exports=yS;var l5=vS.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var c5=y,fn=l5;function U(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var bS=new Set,ec={};function po(e,t){ja(e,t),ja(e+"Capture",t)}function ja(e,t){for(ec[e]=t,e=0;e<t.length;e++)bS.add(t[e])}var si=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),bg=Object.prototype.hasOwnProperty,u5=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,t0={},n0={};function d5(e){return bg.call(n0,e)?!0:bg.call(t0,e)?!1:u5.test(e)?n0[e]=!0:(t0[e]=!0,!1)}function p5(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function h5(e,t,n,r){if(t===null||typeof t>"u"||p5(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function zt(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var kt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){kt[e]=new zt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];kt[t]=new zt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){kt[e]=new zt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){kt[e]=new zt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){kt[e]=new zt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){kt[e]=new zt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){kt[e]=new zt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){kt[e]=new zt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){kt[e]=new zt(e,5,!1,e.toLowerCase(),null,!1,!1)});var sb=/[\-:]([a-z])/g;function ob(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(sb,ob);kt[t]=new zt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(sb,ob);kt[t]=new zt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(sb,ob);kt[t]=new zt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){kt[e]=new zt(e,1,!1,e.toLowerCase(),null,!1,!1)});kt.xlinkHref=new zt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){kt[e]=new zt(e,1,!1,e.toLowerCase(),null,!0,!0)});function ab(e,t,n,r){var i=kt.hasOwnProperty(t)?kt[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(h5(t,n,i,r)&&(n=null),r||i===null?d5(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var pi=c5.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,yu=Symbol.for("react.element"),$o=Symbol.for("react.portal"),Fo=Symbol.for("react.fragment"),lb=Symbol.for("react.strict_mode"),xg=Symbol.for("react.profiler"),xS=Symbol.for("react.provider"),wS=Symbol.for("react.context"),cb=Symbol.for("react.forward_ref"),wg=Symbol.for("react.suspense"),kg=Symbol.for("react.suspense_list"),ub=Symbol.for("react.memo"),Ai=Symbol.for("react.lazy"),kS=Symbol.for("react.offscreen"),r0=Symbol.iterator;function il(e){return e===null||typeof e!="object"?null:(e=r0&&e[r0]||e["@@iterator"],typeof e=="function"?e:null)}var Ve=Object.assign,Af;function Cl(e){if(Af===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Af=t&&t[1]||""}return`
34`+Af+e}var Nf=!1;function Rf(e,t){if(!e||Nf)return"";Nf=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 17,106 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
35`),s=r.stack.split(`
36`),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||i[o]!==s[a]){var c=`
37`+i[o].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=o&&0<=a);break}}}finally{Nf=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Cl(e):""}function f5(e){switch(e.tag){case 5:return Cl(e.type);case 16:return Cl("Lazy");case 13:return Cl("Suspense");case 19:return Cl("SuspenseList");case 0:case 2:case 15:return e=Rf(e.type,!1),e;case 11:return e=Rf(e.type.render,!1),e;case 1:return e=Rf(e.type,!0),e;default:return""}}function Cg(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Fo:return"Fragment";case $o:return"Portal";case xg:return"Profiler";case lb:return"StrictMode";case wg:return"Suspense";case kg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case wS:return(e.displayName||"Context")+".Consumer";case xS:return(e._context.displayName||"Context")+".Provider";case cb:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ub:return t=e.displayName||null,t!==null?t:Cg(e.type)||"Memo";case Ai:t=e._payload,e=e._init;try{return Cg(e(t))}catch{}}return null}function m5(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Cg(t);case 8:return t===lb?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ss(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function CS(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function g5(e){var t=CS(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function bu(e){e._valueTracker||(e._valueTracker=g5(e))}function jS(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=CS(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Xd(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function jg(e,t){var n=t.checked;return Ve({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function i0(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ss(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function SS(e,t){t=t.checked,t!=null&&ab(e,"checked",t,!1)}function Sg(e,t){SS(e,t);var n=ss(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?_g(e,t.type,n):t.hasOwnProperty("defaultValue")&&_g(e,t.type,ss(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function s0(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function _g(e,t,n){(t!=="number"||Xd(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var jl=Array.isArray;function na(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ss(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Eg(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(U(91));return Ve({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function o0(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(U(92));if(jl(n)){if(1<n.length)throw Error(U(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ss(n)}}function _S(e,t){var n=ss(t.value),r=ss(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function a0(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ES(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Tg(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ES(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var xu,TS=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(xu=xu||document.createElement("div"),xu.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=xu.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function tc(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Rl={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},v5=["Webkit","ms","Moz","O"];Object.keys(Rl).forEach(function(e){v5.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Rl[t]=Rl[e]})});function PS(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Rl.hasOwnProperty(e)&&Rl[e]?(""+t).trim():t+"px"}function AS(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=PS(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var y5=Ve({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Pg(e,t){if(t){if(y5[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(U(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(U(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(U(61))}if(t.style!=null&&typeof t.style!="object")throw Error(U(62))}}function Ag(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ng=null;function db(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Rg=null,ra=null,ia=null;function l0(e){if(e=Kc(e)){if(typeof Rg!="function")throw Error(U(280));var t=e.stateNode;t&&(t=ph(t),Rg(e.stateNode,e.type,t))}}function NS(e){ra?ia?ia.push(e):ia=[e]:ra=e}function RS(){if(ra){var e=ra,t=ia;if(ia=ra=null,l0(e),t)for(e=0;e<t.length;e++)l0(t[e])}}function qS(e,t){return e(t)}function IS(){}var qf=!1;function LS(e,t,n){if(qf)return e(t,n);qf=!0;try{return qS(e,t,n)}finally{qf=!1,(ra!==null||ia!==null)&&(IS(),RS())}}function nc(e,t){var n=e.stateNode;if(n===null)return null;var r=ph(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(U(231,t,typeof n));return n}var qg=!1;if(si)try{var sl={};Object.defineProperty(sl,"passive",{get:function(){qg=!0}}),window.addEventListener("test",sl,sl),window.removeEventListener("test",sl,sl)}catch{qg=!1}function b5(e,t,n,r,i,s,o,a,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(p){this.onError(p)}}var ql=!1,Zd=null,ep=!1,Ig=null,x5={onError:function(e){ql=!0,Zd=e}};function w5(e,t,n,r,i,s,o,a,c){ql=!1,Zd=null,b5.apply(x5,arguments)}function k5(e,t,n,r,i,s,o,a,c){if(w5.apply(this,arguments),ql){if(ql){var u=Zd;ql=!1,Zd=null}else throw Error(U(198));ep||(ep=!0,Ig=u)}}function ho(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function OS(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c0(e){if(ho(e)!==e)throw Error(U(188))}function C5(e){var t=e.alternate;if(!t){if(t=ho(e),t===null)throw Error(U(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return c0(i),e;if(s===r)return c0(i),t;s=s.sibling}throw Error(U(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o){for(a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o)throw Error(U(189))}}if(n.alternate!==r)throw Error(U(190))}if(n.tag!==3)throw Error(U(188));return n.stateNode.current===n?e:t}function DS(e){return e=C5(e),e!==null?MS(e):null}function MS(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=MS(e);if(t!==null)return t;e=e.sibling}return null}var BS=fn.unstable_scheduleCallback,u0=fn.unstable_cancelCallback,j5=fn.unstable_shouldYield,S5=fn.unstable_requestPaint,Ze=fn.unstable_now,_5=fn.unstable_getCurrentPriorityLevel,pb=fn.unstable_ImmediatePriority,$S=fn.unstable_UserBlockingPriority,tp=fn.unstable_NormalPriority,E5=fn.unstable_LowPriority,FS=fn.unstable_IdlePriority,lh=null,Ar=null;function T5(e){if(Ar&&typeof Ar.onCommitFiberRoot=="function")try{Ar.onCommitFiberRoot(lh,e,void 0,(e.current.flags&128)===128)}catch{}}var tr=Math.clz32?Math.clz32:N5,P5=Math.log,A5=Math.LN2;function N5(e){return e>>>=0,e===0?32:31-(P5(e)/A5|0)|0}var wu=64,ku=4194304;function Sl(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function np(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=Sl(a):(s&=o,s!==0&&(r=Sl(s)))}else o=n&~i,o!==0?r=Sl(o):s!==0&&(r=Sl(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-tr(t),i=1<<n,r|=e[n],t&=~i;return r}function R5(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function q5(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-tr(s),a=1<<o,c=i[o];c===-1?(!(a&n)||a&r)&&(i[o]=R5(a,t)):c<=t&&(e.expiredLanes|=a),s&=~a}}function Lg(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function zS(){var e=wu;return wu<<=1,!(wu&4194240)&&(wu=64),e}function If(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Hc(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-tr(t),e[t]=n}function I5(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-tr(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function hb(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-tr(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Ee=0;function US(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var VS,fb,WS,HS,GS,Og=!1,Cu=[],Ji=null,Yi=null,Qi=null,rc=new Map,ic=new Map,Oi=[],L5="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function d0(e,t){switch(e){case"focusin":case"focusout":Ji=null;break;case"dragenter":case"dragleave":Yi=null;break;case"mouseover":case"mouseout":Qi=null;break;case"pointerover":case"pointerout":rc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ic.delete(t.pointerId)}}function ol(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=Kc(t),t!==null&&fb(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function O5(e,t,n,r,i){switch(t){case"focusin":return Ji=ol(Ji,e,t,n,r,i),!0;case"dragenter":return Yi=ol(Yi,e,t,n,r,i),!0;case"mouseover":return Qi=ol(Qi,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return rc.set(s,ol(rc.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,ic.set(s,ol(ic.get(s)||null,e,t,n,r,i)),!0}return!1}function KS(e){var t=Ds(e.target);if(t!==null){var n=ho(t);if(n!==null){if(t=n.tag,t===13){if(t=OS(n),t!==null){e.blockedOn=t,GS(e.priority,function(){WS(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function vd(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Dg(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ng=r,n.target.dispatchEvent(r),Ng=null}else return t=Kc(n),t!==null&&fb(t),e.blockedOn=n,!1;t.shift()}return!0}function p0(e,t,n){vd(e)&&n.delete(t)}function D5(){Og=!1,Ji!==null&&vd(Ji)&&(Ji=null),Yi!==null&&vd(Yi)&&(Yi=null),Qi!==null&&vd(Qi)&&(Qi=null),rc.forEach(p0),ic.forEach(p0)}function al(e,t){e.blockedOn===t&&(e.blockedOn=null,Og||(Og=!0,fn.unstable_scheduleCallback(fn.unstable_NormalPriority,D5)))}function sc(e){function t(i){return al(i,e)}if(0<Cu.length){al(Cu[0],e);for(var n=1;n<Cu.length;n++){var r=Cu[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Ji!==null&&al(Ji,e),Yi!==null&&al(Yi,e),Qi!==null&&al(Qi,e),rc.forEac
vendor: 10,198 bytes, line 37
37h(t),ic.forEach(t),n=0;n<Oi.length;n++)r=Oi[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Oi.length&&(n=Oi[0],n.blockedOn===null);)KS(n),n.blockedOn===null&&Oi.shift()}var sa=pi.ReactCurrentBatchConfig,rp=!0;function M5(e,t,n,r){var i=Ee,s=sa.transition;sa.transition=null;try{Ee=1,mb(e,t,n,r)}finally{Ee=i,sa.transition=s}}function B5(e,t,n,r){var i=Ee,s=sa.transition;sa.transition=null;try{Ee=4,mb(e,t,n,r)}finally{Ee=i,sa.transition=s}}function mb(e,t,n,r){if(rp){var i=Dg(e,t,n,r);if(i===null)Vf(e,t,r,ip,n),d0(e,r);else if(O5(i,e,t,n,r))r.stopPropagation();else if(d0(e,r),t&4&&-1<L5.indexOf(e)){for(;i!==null;){var s=Kc(i);if(s!==null&&VS(s),s=Dg(e,t,n,r),s===null&&Vf(e,t,r,ip,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else Vf(e,t,r,null,n)}}var ip=null;function Dg(e,t,n,r){if(ip=null,e=db(r),e=Ds(e),e!==null)if(t=ho(e),t===null)e=null;else if(n=t.tag,n===13){if(e=OS(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ip=e,null}function JS(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(_5()){case pb:return 1;case $S:return 4;case tp:case E5:return 16;case FS:return 536870912;default:return 16}default:return 16}}var Wi=null,gb=null,yd=null;function YS(){if(yd)return yd;var e,t=gb,n=t.length,r,i="value"in Wi?Wi.value:Wi.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return yd=i.slice(e,1<r?1-r:void 0)}function bd(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ju(){return!0}function h0(){return!1}function vn(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?ju:h0,this.isPropagationStopped=h0,this}return Ve(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ju)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ju)},persist:function(){},isPersistent:ju}),t}var Fa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vb=vn(Fa),Gc=Ve({},Fa,{view:0,detail:0}),$5=vn(Gc),Lf,Of,ll,ch=Ve({},Gc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yb,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ll&&(ll&&e.type==="mousemove"?(Lf=e.screenX-ll.screenX,Of=e.screenY-ll.screenY):Of=Lf=0,ll=e),Lf)},movementY:function(e){return"movementY"in e?e.movementY:Of}}),f0=vn(ch),F5=Ve({},ch,{dataTransfer:0}),z5=vn(F5),U5=Ve({},Gc,{relatedTarget:0}),Df=vn(U5),V5=Ve({},Fa,{animationName:0,elapsedTime:0,pseudoElement:0}),W5=vn(V5),H5=Ve({},Fa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),G5=vn(H5),K5=Ve({},Fa,{data:0}),m0=vn(K5),J5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Y5={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Q5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function X5(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Q5[e])?!!t[e]:!1}function yb(){return X5}var Z5=Ve({},Gc,{key:function(e){if(e.key){var t=J5[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=bd(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Y5[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yb,charCode:function(e){return e.type==="keypress"?bd(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?bd(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),e4=vn(Z5),t4=Ve({},ch,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),g0=vn(t4),n4=Ve({},Gc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yb}),r4=vn(n4),i4=Ve({},Fa,{propertyName:0,elapsedTime:0,pseudoElement:0}),s4=vn(i4),o4=Ve({},ch,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),a4=vn(o4),l4=[9,13,27,32],bb=si&&"CompositionEvent"in window,Il=null;si&&"documentMode"in document&&(Il=document.documentMode);var c4=si&&"TextEvent"in window&&!Il,QS=si&&(!bb||Il&&8<Il&&11>=Il),v0=" ",y0=!1;function XS(e,t){switch(e){case"keyup":return l4.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ZS(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var zo=!1;function u4(e,t){switch(e){case"compositionend":return ZS(t);case"keypress":return t.which!==32?null:(y0=!0,v0);case"textInput":return e=t.data,e===v0&&y0?null:e;default:return null}}function d4(e,t){if(zo)return e==="compositionend"||!bb&&XS(e,t)?(e=YS(),yd=gb=Wi=null,zo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return QS&&t.locale!=="ko"?null:t.data;default:return null}}var p4={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function b0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!p4[e.type]:t==="textarea"}function e_(e,t,n,r){NS(r),t=sp(t,"onChange"),0<t.length&&(n=new vb("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ll=null,oc=null;function h4(e){d_(e,0)}function uh(e){var t=Wo(e);if(jS(t))return e}function f4(e,t){if(e==="change")return t}var t_=!1;if(si){var Mf;if(si){var Bf="oninput"in document;if(!Bf){var x0=document.createElement("div");x0.setAttribute("oninput","return;"),Bf=typeof x0.oninput=="function"}Mf=Bf}else Mf=!1;t_=Mf&&(!document.documentMode||9<document.documentMode)}function w0(){Ll&&(Ll.detachEvent("onpropertychange",n_),oc=Ll=null)}function n_(e){if(e.propertyName==="value"&&uh(oc)){var t=[];e_(t,oc,e,db(e)),LS(h4,t)}}function m4(e,t,n){e==="focusin"?(w0(),Ll=t,oc=n,Ll.attachEvent("onpropertychange",n_)):e==="focusout"&&w0()}function g4(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return uh(oc)}function v4(e,t){if(e==="click")return uh(t)}function y4(e,t){if(e==="input"||e==="change")return uh(t)}function b4(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var sr=typeof Object.is=="function"?Object.is:b4;function ac(e,t){if(sr(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!bg.call(t,i)||!sr(e[i],t[i]))return!1}return!0}function k0(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function C0(e,t){var n=k0(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=k0(n)}}function r_(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?r_(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function i_(){for(var e=window,t=Xd();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Xd(e.document)}return t}function xb(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function x4(e){var t=i_(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&r_(n.ownerDocument.documentElement,n)){if(r!==null&&xb(n)){if
vendor: 5,074 bytes, line 37
37(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=C0(n,s);var o=C0(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var w4=si&&"documentMode"in document&&11>=document.documentMode,Uo=null,Mg=null,Ol=null,Bg=!1;function j0(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Bg||Uo==null||Uo!==Xd(r)||(r=Uo,"selectionStart"in r&&xb(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ol&&ac(Ol,r)||(Ol=r,r=sp(Mg,"onSelect"),0<r.length&&(t=new vb("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Uo)))}function Su(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Vo={animationend:Su("Animation","AnimationEnd"),animationiteration:Su("Animation","AnimationIteration"),animationstart:Su("Animation","AnimationStart"),transitionend:Su("Transition","TransitionEnd")},$f={},s_={};si&&(s_=document.createElement("div").style,"AnimationEvent"in window||(delete Vo.animationend.animation,delete Vo.animationiteration.animation,delete Vo.animationstart.animation),"TransitionEvent"in window||delete Vo.transitionend.transition);function dh(e){if($f[e])return $f[e];if(!Vo[e])return e;var t=Vo[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in s_)return $f[e]=t[n];return e}var o_=dh("animationend"),a_=dh("animationiteration"),l_=dh("animationstart"),c_=dh("transitionend"),u_=new Map,S0="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function fs(e,t){u_.set(e,t),po(t,[e])}for(var Ff=0;Ff<S0.length;Ff++){var zf=S0[Ff],k4=zf.toLowerCase(),C4=zf[0].toUpperCase()+zf.slice(1);fs(k4,"on"+C4)}fs(o_,"onAnimationEnd");fs(a_,"onAnimationIteration");fs(l_,"onAnimationStart");fs("dblclick","onDoubleClick");fs("focusin","onFocus");fs("focusout","onBlur");fs(c_,"onTransitionEnd");ja("onMouseEnter",["mouseout","mouseover"]);ja("onMouseLeave",["mouseout","mouseover"]);ja("onPointerEnter",["pointerout","pointerover"]);ja("onPointerLeave",["pointerout","pointerover"]);po("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));po("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));po("onBeforeInput",["compositionend","keypress","textInput","paste"]);po("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));po("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));po("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _l="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),j4=new Set("cancel close invalid load scroll toggle".split(" ").concat(_l));function _0(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,k5(r,t,void 0,e),e.currentTarget=null}function d_(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],c=a.instance,u=a.currentTarget;if(a=a.listener,c!==s&&i.isPropagationStopped())break e;_0(i,a,u),s=c}else for(o=0;o<r.length;o++){if(a=r[o],c=a.instance,u=a.currentTarget,a=a.listener,c!==s&&i.isPropagationStopped())break e;_0(i,a,u),s=c}}}if(ep)throw e=Ig,ep=!1,Ig=null,e}function Oe(e,t){var n=t[Vg];n===void 0&&(n=t[Vg]=new Set);var r=e+"__bubble";n.has(r)||(p_(t,e,2,!1),n.add(r))}function Uf(e,t,n){var r=0;t&&(r|=4),p_(n,e,r,t)}var _u="_reactListening"+Math.random().toString(36).slice(2);
vendor: 3,228 bytes, line 37
37function lc(e){if(!e[_u]){e[_u]=!0,bS.forEach(function(n){n!=="selectionchange"&&(j4.has(n)||Uf(n,!1,e),Uf(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[_u]||(t[_u]=!0,Uf("selectionchange",!1,t))}}function p_(e,t,n,r){switch(JS(t)){case 1:var i=M5;break;case 4:i=B5;break;default:i=mb}n=i.bind(null,t,n,e),i=void 0,!qg||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Vf(e,t,n,r,i){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;o=o.return}for(;a!==null;){if(o=Ds(a),o===null)return;if(c=o.tag,c===5||c===6){r=s=o;continue e}a=a.parentNode}}r=r.return}LS(function(){var u=s,p=db(n),d=[];e:{var h=u_.get(e);if(h!==void 0){var f=vb,m=e;switch(e){case"keypress":if(bd(n)===0)break e;case"keydown":case"keyup":f=e4;break;case"focusin":m="focus",f=Df;break;case"focusout":m="blur",f=Df;break;case"beforeblur":case"afterblur":f=Df;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=f0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=z5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=r4;break;case o_:case a_:case l_:f=W5;break;case c_:f=s4;break;case"scroll":f=$5;break;case"wheel":f=a4;break;case"copy":case"cut":case"paste":f=G5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=g0}var g=(t&4)!==0,x=!g&&e==="scroll",v=g?h!==null?h+"Capture":null:h;g=[];for(var b=u,w;b!==null;){w=b;var k=w.stateNode;if(w.tag===5&&k!==null&&(w=k,v!==null&&(k=nc(b,v),k!=null&&g.push(cc(b,k,w)))),x)break;b=b.return}0<g.length&&(h=new f(h,m,null,n,p),d.push({event:h,listeners:g}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",h&&n!==Ng&&(m=n.relatedTarget||n.fromElement)&&(Ds(m)||m[oi]))break e;if((f||h)&&(h=p.window===p?p:(h=p.ownerDocument)?h.defaultView||h.parentWindow:window,f?(m=n.relatedTarget||n.toElement,f=u,m=m?Ds(m):null,m!==null&&(x=ho(m),m!==x||m.tag!==5&&m.tag!==6)&&(m=null)):(f=null,m=u),f!==m)){if(g=f0,k="onMouseLeave",v="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(g=g0,k="onPointerLeave",v="onPointerEnter",b="pointer"),x=f==null?h:Wo(f),w=m==null?h:Wo(m),h=new g(k,b+"leave",f,n,p),h.target=x,h.relatedTarget=w,k=null,Ds(p)===u&&(g=new g(v,b+"enter",m,n,p),g.target=w,g.relatedTarget=x,k=g),x=k,f&&m)t:{for(g=f,v=m,b=0,w=g;w;w=wo(w))b++;for(w=0,k=v;k;k=wo(k))w++;for(;0<b-w;)g=wo(g),b--;for(;0<w-b;)v=wo(v),w--;for(;b--;){if(g===v||v!==null&&g===v.alternate)break t;g=wo(g),v=wo(v)}g=null}else g=null;f!==null&&E0(d,h,f,g,!1),m!==null&&x!==null&&E0(d,x,m,g,!0)}}
vendor: 5,393 bytes, lines 37-38
37e:{if(h=u?Wo(u):window,f=h.nodeName&&h.nodeName.toLowerCase(),f==="select"||f==="input"&&h.type==="file")var S=f4;else if(b0(h))if(t_)S=y4;else{S=g4;var C=m4}else(f=h.nodeName)&&f.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(S=v4);if(S&&(S=S(e,u))){e_(d,S,n,p);break e}C&&C(e,h,u),e==="focusout"&&(C=h._wrapperState)&&C.controlled&&h.type==="number"&&_g(h,"number",h.value)}switch(C=u?Wo(u):window,e){case"focusin":(b0(C)||C.contentEditable==="true")&&(Uo=C,Mg=u,Ol=null);break;case"focusout":Ol=Mg=Uo=null;break;case"mousedown":Bg=!0;break;case"contextmenu":case"mouseup":case"dragend":Bg=!1,j0(d,n,p);break;case"selectionchange":if(w4)break;case"keydown":case"keyup":j0(d,n,p)}var T;if(bb)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else zo?XS(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(QS&&n.locale!=="ko"&&(zo||P!=="onCompositionStart"?P==="onCompositionEnd"&&zo&&(T=YS()):(Wi=p,gb="value"in Wi?Wi.value:Wi.textContent,zo=!0)),C=sp(u,P),0<C.length&&(P=new m0(P,e,null,n,p),d.push({event:P,listeners:C}),T?P.data=T:(T=ZS(n),T!==null&&(P.data=T)))),(T=c4?u4(e,n):d4(e,n))&&(u=sp(u,"onBeforeInput"),0<u.length&&(p=new m0("onBeforeInput","beforeinput",null,n,p),d.push({event:p,listeners:u}),p.data=T))}d_(d,t)})}function cc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function sp(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=nc(e,n),s!=null&&r.unshift(cc(e,s,i)),s=nc(e,t),s!=null&&r.push(cc(e,s,i))),e=e.return}return r}function wo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function E0(e,t,n,r,i){for(var s=t._reactName,o=[];n!==null&&n!==r;){var a=n,c=a.alternate,u=a.stateNode;if(c!==null&&c===r)break;a.tag===5&&u!==null&&(a=u,i?(c=nc(n,s),c!=null&&o.unshift(cc(n,c,a))):i||(c=nc(n,s),c!=null&&o.push(cc(n,c,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var S4=/\r\n?/g,_4=/\u0000|\uFFFD/g;function T0(e){return(typeof e=="string"?e:""+e).replace(S4,`
38`).replace(_4,"")}function Eu(e,t,n){if(t=T0(t),T0(e)!==t&&n)throw Error(U(425))}function op(){}var $g=null,Fg=null;function zg(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ug=typeof setTimeout=="function"?setTimeout:void 0,E4=typeof clearTimeout=="function"?clearTimeout:void 0,P0=typeof Promise=="function"?Promise:void 0,T4=typeof queueMicrotask=="function"?queueMicrotask:typeof P0<"u"?function(e){return P0.resolve(null).then(e).catch(P4)}:Ug;function P4(e){setTimeout(function(){throw e})}function Wf(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),sc(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);sc(t)}function Xi(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function A0(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var za=Math.random().toString(36).slice(2),_r="__reactFiber$"+za,uc="__reactProps$"+za,oi="__reactContainer$"+za,Vg="__reactEvents$"+za,A4="__reactListeners$"+za,N4="__reactHandles$"+za;function Ds(e){var t=e[_r];if(t)return t;for(var n=e.parentNode;n;){if(t=n[oi]||n[_r]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=A0(e);e!==null;){if(n=e[_r])return n;e=A0(e)}return t}e=n,n=e.parentNode}return null}function Kc(e){return e=e[_r]||e[oi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Wo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(U(33))}function ph(e){return e[uc]||null}var Wg=[],Ho=-1;function ms(e){return{current:e}}function Me(e){0>Ho||(e.current=Wg[Ho],Wg[Ho]=null,Ho--)}function Ie(e,t){Ho++,Wg[Ho]=e.current,e.current=t}var os={},Nt=ms(os),Yt=ms(!1),to=os;function Sa(e,t){var n=e.type.contextTypes;if(!n)return os;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Qt(e){return e=e.childContextTypes,e!=null}function ap(){Me(Yt),Me(Nt)}function N0(e,t,n){if(Nt.current!==os)throw Error(U(168));Ie(Nt,t),Ie(Yt,n)}function h_(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(U(108,m5(e)||"Unknown",i));return Ve({},n,r)}function lp(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||os,to=Nt.current,Ie(Nt,e),Ie(Yt,Yt.current),!0}function R0(e,t,n){var r=e.stateNode;if(!r)throw Error(U(169));n?(e=h_(e,t,to),r.__reactInternalMemoizedMergedChildContext=e,Me(Yt),Me(Nt),Ie(Nt,e)):Me(Yt),Ie(Yt,n)}var ei=null,hh=!1,Hf=!1;function f_(e){ei===null?ei=[e]:ei.push(e)}function R4(e){hh=!0,f_(e)}function gs(){if(!Hf&&ei!==null){Hf=!0;var e=0,t=Ee;
vendor: 14,771 bytes, line 38
38try{var n=ei;for(Ee=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}ei=null,hh=!1}catch(i){throw ei!==null&&(ei=ei.slice(e+1)),BS(pb,gs),i}finally{Ee=t,Hf=!1}}return null}var Go=[],Ko=0,cp=null,up=0,jn=[],Sn=0,no=null,ni=1,ri="";function Ns(e,t){Go[Ko++]=up,Go[Ko++]=cp,cp=e,up=t}function m_(e,t,n){jn[Sn++]=ni,jn[Sn++]=ri,jn[Sn++]=no,no=e;var r=ni;e=ri;var i=32-tr(r)-1;r&=~(1<<i),n+=1;var s=32-tr(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,ni=1<<32-tr(t)+i|n<<i|r,ri=s+e}else ni=1<<s|n<<i|r,ri=e}function wb(e){e.return!==null&&(Ns(e,1),m_(e,1,0))}function kb(e){for(;e===cp;)cp=Go[--Ko],Go[Ko]=null,up=Go[--Ko],Go[Ko]=null;for(;e===no;)no=jn[--Sn],jn[Sn]=null,ri=jn[--Sn],jn[Sn]=null,ni=jn[--Sn],jn[Sn]=null}var dn=null,un=null,$e=!1,Xn=null;function g_(e,t){var n=Tn(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function q0(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,dn=e,un=Xi(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,dn=e,un=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=no!==null?{id:ni,overflow:ri}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Tn(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,dn=e,un=null,!0):!1;default:return!1}}function Hg(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Gg(e){if($e){var t=un;if(t){var n=t;if(!q0(e,t)){if(Hg(e))throw Error(U(418));t=Xi(n.nextSibling);var r=dn;t&&q0(e,t)?g_(r,n):(e.flags=e.flags&-4097|2,$e=!1,dn=e)}}else{if(Hg(e))throw Error(U(418));e.flags=e.flags&-4097|2,$e=!1,dn=e}}}function I0(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;dn=e}function Tu(e){if(e!==dn)return!1;if(!$e)return I0(e),$e=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!zg(e.type,e.memoizedProps)),t&&(t=un)){if(Hg(e))throw v_(),Error(U(418));for(;t;)g_(e,t),t=Xi(t.nextSibling)}if(I0(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(U(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){un=Xi(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}un=null}}else un=dn?Xi(e.stateNode.nextSibling):null;return!0}function v_(){for(var e=un;e;)e=Xi(e.nextSibling)}function _a(){un=dn=null,$e=!1}function Cb(e){Xn===null?Xn=[e]:Xn.push(e)}var q4=pi.ReactCurrentBatchConfig;function cl(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(U(309));var r=n.stateNode}if(!r)throw Error(U(147,e));var i=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(o){var a=i.refs;o===null?delete a[s]:a[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(U(284));if(!n._owner)throw Error(U(290,e))}return e}function Pu(e,t){throw e=Object.prototype.toString.call(t),Error(U(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function L0(e){var t=e._init;return t(e._payload)}function y_(e){function t(v,b){if(e){var w=v.deletions;w===null?(v.deletions=[b],v.flags|=16):w.push(b)}}function n(v,b){if(!e)return null;for(;b!==null;)t(v,b),b=b.sibling;return null}function r(v,b){for(v=new Map;b!==null;)b.key!==null?v.set(b.key,b):v.set(b.index,b),b=b.sibling;return v}function i(v,b){return v=ns(v,b),v.index=0,v.sibling=null,v}function s(v,b,w){return v.index=w,e?(w=v.alternate,w!==null?(w=w.index,w<b?(v.flags|=2,b):w):(v.flags|=2,b)):(v.flags|=1048576,b)}function o(v){return e&&v.alternate===null&&(v.flags|=2),v}function a(v,b,w,k){return b===null||b.tag!==6?(b=Zf(w,v.mode,k),b.return=v,b):(b=i(b,w),b.return=v,b)}function c(v,b,w,k){var S=w.type;return S===Fo?p(v,b,w.props.children,k,w.key):b!==null&&(b.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Ai&&L0(S)===b.type)?(k=i(b,w.props),k.ref=cl(v,b,w),k.return=v,k):(k=_d(w.type,w.key,w.props,null,v.mode,k),k.ref=cl(v,b,w),k.return=v,k)}function u(v,b,w,k){return b===null||b.tag!==4||b.stateNode.containerInfo!==w.containerInfo||b.stateNode.implementation!==w.implementation?(b=em(w,v.mode,k),b.return=v,b):(b=i(b,w.children||[]),b.return=v,b)}function p(v,b,w,k,S){return b===null||b.tag!==7?(b=Qs(w,v.mode,k,S),b.return=v,b):(b=i(b,w),b.return=v,b)}function d(v,b,w){if(typeof b=="string"&&b!==""||typeof b=="number")return b=Zf(""+b,v.mode,w),b.return=v,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case yu:return w=_d(b.type,b.key,b.props,null,v.mode,w),w.ref=cl(v,null,b),w.return=v,w;case $o:return b=em(b,v.mode,w),b.return=v,b;case Ai:var k=b._init;return d(v,k(b._payload),w)}if(jl(b)||il(b))return b=Qs(b,v.mode,w,null),b.return=v,b;Pu(v,b)}return null}function h(v,b,w,k){var S=b!==null?b.key:null;if(typeof w=="string"&&w!==""||typeof w=="number")return S!==null?null:a(v,b,""+w,k);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case yu:return w.key===S?c(v,b,w,k):null;case $o:return w.key===S?u(v,b,w,k):null;case Ai:return S=w._init,h(v,b,S(w._payload),k)}if(jl(w)||il(w))return S!==null?null:p(v,b,w,k,null);Pu(v,w)}return null}function f(v,b,w,k,S){if(typeof k=="string"&&k!==""||typeof k=="number")return v=v.get(w)||null,a(b,v,""+k,S);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case yu:return v=v.get(k.key===null?w:k.key)||null,c(b,v,k,S);case $o:return v=v.get(k.key===null?w:k.key)||null,u(b,v,k,S);case Ai:var C=k._init;return f(v,b,w,C(k._payload),S)}if(jl(k)||il(k))return v=v.get(w)||null,p(b,v,k,S,null);Pu(b,k)}return null}function m(v,b,w,k){for(var S=null,C=null,T=b,P=b=0,R=null;T!==null&&P<w.length;P++){T.index>P?(R=T,T=null):R=T.sibling;var j=h(v,T,w[P],k);if(j===null){T===null&&(T=R);break}e&&T&&j.alternate===null&&t(v,T),b=s(j,b,P),C===null?S=j:C.sibling=j,C=j,T=R}if(P===w.length)return n(v,T),$e&&Ns(v,P),S;if(T===null){for(;P<w.length;P++)T=d(v,w[P],k),T!==null&&(b=s(T,b,P),C===null?S=T:C.sibling=T,C=T);return $e&&Ns(v,P),S}for(T=r(v,T);P<w.length;P++)R=f(T,v,P,w[P],k),R!==null&&(e&&R.alternate!==null&&T.delete(R.key===null?P:R.key),b=s(R,b,P),C===null?S=R:C.sibling=R,C=R);return e&&T.forEach(function(q){return t(v,q)}),$e&&Ns(v,P),S}function g(v,b,w,k){var S=il(w);if(typeof S!="function")throw Error(U(150));if(w=S.call(w),w==null)throw Error(U(151));for(var C=S=null,T=b,P=b=0,R=null,j=w.next();T!==null&&!j.done;P++,j=w.next()){T.index>P?(R=T,T=null):R=T.sibling;var q=h(v,T,j.value,k);if(q===null){T===null&&(T=R);break}e&&T&&q.alternate===null&&t(v,T),b=s(q,b,P),C===null?S=q:C.sibling=q,C=q,T=R}if(j.done)return n(v,T),$e&&Ns(v,P),S;if(T===null){for(;!j.done;P++,j=w.next())j=d(v,j.value,k),j!==null&&(b=s(j,b,P),C===null?S=j:C.sibling=j,C=j);return $e&&Ns(v,P),S}for(T=r(v,T);!j.done;P++,j=w.next())j=f(T,v,P,j.value,k),j!==null&&(e&&j.alternate!==null&&T.delete(j.key===null?P:j.key),b=s(j,b,P),C===null?S=j:C.sibling=j,C=j);return e&&T.forEach(function(A){return t(v,A)}),$e&&Ns(v,P),S}function x(v,b,w,k){if(typeof w=="object"&&w!==null&&w.type===Fo&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case yu:e:{for(var S=w.key,C=b;C!==null;){if(C.key===S){if(S=w.type,S===Fo){if(C.tag===7){n(v,C.sibling),b=i(C,w.props.children),b.return=v,v=b;break e}}else if(C.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Ai&&L0(S)===C.type){n(v,C.sibling),b=i(C,w.props),b.ref=cl(v,C,w),b.return=v,v=b;break e}n(v,C);break}else t(v,C);C=C.sibling}w.type===Fo?(b=Qs(w.props.children,v.mode,k,w.key),b.return=v,v=b):(k=_d(w.type,w.key,w.props,null,v.mode,k),k.ref=cl(v,b,w),k.return=v,v=k)}return o(v);case $o:e:{for(C=w.key;b!==null;){if(b.key===C)if(b.tag===4&&b.stateNode.containerInfo===w.containerInfo&&b.stateNode.implementation===w.implementation){n(v,b.sibling),b=i(b,w.children||[]),b.return=v,v=b;break e}else{n(v,b);break}else t(v,b);b=b.sibling}b=em(w,v.mode,k),b.return=v,v=b}return o(v);case Ai:return C=w._init,x(v,b,C(w._payload),k)}if(jl(w))return m(v,b,w,k);if(il(w))return g(v,b,w,k);Pu(v,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,b!==null&&b.tag===6?(n(v,b.sibling),b=i(b,w),b.return=v,v=b):(n(v,b),b=Zf(w,v.mode,k),b.return=v,v=b),o(v)):n(v,b)}return x}var Ea=y_(!0),b_=y_(!1),dp=ms(null),pp=null,Jo=null,jb=null;function Sb(){jb=Jo=pp=null}function _b(e){var t=dp.current;Me(dp),e._currentValue=t}function Kg(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function oa(e,t){pp=e,jb=Jo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Jt=!0),e.firstContext=null)}function qn(e){var t=e._currentValue;if(jb!==e)if(e={context:e,memoizedValue:t,next:null},Jo===null){if(pp===null)throw Error(U(308));Jo=e,pp.dependencies={lanes:0,firstContext:e}}else Jo=Jo.next=e;return t}var Ms=null;function Eb(e){Ms===null?Ms=[e]:Ms.push(e)}function x_(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Eb(t)):(n.next=i.next,i.next=n),t.interleaved=n,ai(e,r)}function ai(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Ni=!1;function Tb(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function w_(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ii(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zi(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Ce&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,ai(e,n)}return i=r.interleaved,i===null?(t.next=t,Eb(r)):(t.next=i.next,i.next=t),r.interleaved=t,ai(e,n)}function xd(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,hb(e,n)}}function O0(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function hp(e,t,n,r){var i=e.updateQueue;Ni=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var c=a,u=c.next;c.next=null,o===null?s=u:o.next=u,o=c;var p=e.alternate;p!==null&&(p=p.updateQueue,a=p.lastBaseUpdate,a!==o&&(a===null?p.firstBaseUpdate=u:a.next=u,p.lastBaseUpdate=c))}if(s!==null){var d=i.baseState;o=0,p=u=c=null,a=s;do{var h=a.lane,f=a.eventTime;if((r&h)===h){p!==null&&(p=p.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var m=e,g=a;switch(h=t,f=n,g.tag){case 1:if(m=g.payload,typeof m=="function"){d=m.call(f,d,h);break e}d=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=g.payload,h=typeof m=="function"?m.call(f,d,h):m,h==null)break e;d=Ve({},d,h);break e;case 2:Ni=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[a]:h.push(a))}else f={eventTime:f,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},p===null?(u=p=f,c=d):p=p.next=f,o|=h;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;h=a,a=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(p===null&&(c=d),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=p,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);io|=o,e.lanes=o,e.memoizedState=d}}function D0(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(U(191,i));i.call(r)}}}var Jc={},Nr=ms(Jc),dc=ms(Jc),pc=ms(Jc);function Bs(e){if(e===Jc)throw Error(U(174));return e}function Pb(e,t){switch(Ie(pc,t),Ie(dc,e),Ie(Nr,Jc),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Tg(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Tg(t,e)}Me(Nr),Ie(Nr,t)}function Ta(){Me(Nr),Me(dc),Me(pc)}function k_(e){Bs(pc.current);var t=Bs(Nr.current),n=Tg(t,e.type);t!==n&&(Ie(dc,e),Ie(Nr,n))}function Ab(e){dc.current===e&&(Me(Nr),Me(dc))}var ze=ms(0);function fp(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Gf=[];function Nb(){for(var e=0;e<Gf.length;e++)Gf[e]._workInProgressVersionPrimary=null;Gf.length=0}var wd=pi.ReactCurrentDispatcher,Kf=pi.ReactCurrentBatchConfig,ro=0,Ue=null,dt=null,mt=null,mp=!1,Dl=!1,hc=0,I4=0;function St(){throw Error(U(321))}function Rb(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function qb(e,t,n,r,i,s){if(ro=s,Ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,wd.current=e===null||e.memoizedState===null?M4:B4,e=n(r,i),Dl){s=0;do{if(Dl=!1,hc=0,25<=s)throw Error(U(301));s+=1,mt=dt=null,t.updateQueue=null,wd.current=$4,e=n(r,i)}while(Dl)}if(wd.current=gp,t=dt!==null&&dt.next!==null,ro=0,mt=dt=Ue=null,mp=!1,t)throw Error(U(300));return e}function Ib(){var e=hc!==0;return hc=0,e}function vr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return mt===null?Ue.memoizedState=mt=e:mt=mt.next=e,mt}function In(){if(dt===null){var e=Ue.alternate;e=e!==null?e.memoizedState:null}else e=dt.next;var t=mt===null?Ue.memoizedState:mt.next;if(t!==null)mt=t,dt=e;else{if(e===null)throw Error(U(310));dt=e,e={memoizedState:dt.memoizedState,baseState:dt.baseState,baseQueue:dt.baseQueue,queue:dt.queue,next:null},mt===null?Ue.memoizedState=mt=e:mt=mt.next=e}return mt}function fc(e,t){return typeof t=="function"?t(e):t}function Jf(e){var t=In(),n=t.queue;if(n===null)throw Error(U(311));n.lastRenderedReducer=e;var r=dt,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;
vendor: 1,384 bytes, line 38
38i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var a=o=null,c=null,u=s;do{var p=u.lane;if((ro&p)===p)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:p,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(a=c=d,o=r):c=c.next=d,Ue.lanes|=p,io|=p}u=u.next}while(u!==null&&u!==s);c===null?o=r:c.next=a,sr(r,t.memoizedState)||(Jt=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,Ue.lanes|=s,io|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Yf(e){var t=In(),n=t.queue;if(n===null)throw Error(U(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);sr(s,t.memoizedState)||(Jt=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function C_(){}function j_(e,t){var n=Ue,r=In(),i=t(),s=!sr(r.memoizedState,i);if(s&&(r.memoizedState=i,Jt=!0),r=r.queue,Lb(E_.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||mt!==null&&mt.memoizedState.tag&1){if(n.flags|=2048,mc(9,__.bind(null,n,r,i,t),void 0,null),gt===null)throw Error(U(349));
vendor: 4,230 bytes, line 38
38ro&30||S_(n,t,i)}return i}function S_(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ue.updateQueue,t===null?(t={lastEffect:null,stores:null},Ue.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function __(e,t,n,r){t.value=n,t.getSnapshot=r,T_(t)&&P_(e)}function E_(e,t,n){return n(function(){T_(t)&&P_(e)})}function T_(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch{return!0}}function P_(e){var t=ai(e,1);t!==null&&nr(t,e,1,-1)}function M0(e){var t=vr();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:fc,lastRenderedState:e},t.queue=e,e=e.dispatch=D4.bind(null,Ue,e),[t.memoizedState,e]}function mc(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ue.updateQueue,t===null?(t={lastEffect:null,stores:null},Ue.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function A_(){return In().memoizedState}function kd(e,t,n,r){var i=vr();Ue.flags|=e,i.memoizedState=mc(1|t,n,void 0,r===void 0?null:r)}function fh(e,t,n,r){var i=In();r=r===void 0?null:r;var s=void 0;if(dt!==null){var o=dt.memoizedState;if(s=o.destroy,r!==null&&Rb(r,o.deps)){i.memoizedState=mc(t,n,s,r);return}}Ue.flags|=e,i.memoizedState=mc(1|t,n,s,r)}function B0(e,t){return kd(8390656,8,e,t)}function Lb(e,t){return fh(2048,8,e,t)}function N_(e,t){return fh(4,2,e,t)}function R_(e,t){return fh(4,4,e,t)}function q_(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function I_(e,t,n){return n=n!=null?n.concat([e]):null,fh(4,4,q_.bind(null,t,e),n)}function Ob(){}function L_(e,t){var n=In();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Rb(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function O_(e,t){var n=In();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Rb(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function D_(e,t,n){return ro&21?(sr(n,t)||(n=zS(),Ue.lanes|=n,io|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Jt=!0),e.memoizedState=n)}function L4(e,t){var n=Ee;Ee=n!==0&&4>n?n:4,e(!0);var r=Kf.transition;Kf.transition={};try{e(!1),t()}finally{Ee=n,Kf.transition=r}}function M_(){return In().memoizedState}function O4(e,t,n){var r=ts(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},B_(e))$_(t,n);else if(n=x_(e,t,n,r),n!==null){var i=$t();nr(n,e,r,i),F_(n,t,r)}}function D4(e,t,n){var r=ts(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(B_(e))$_(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,sr(a,o)){var c=t.interleaved;c===null?(i.next=i,Eb(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}finally{}n=x_(e,t,i,r),n!==null&&(i=$t(),nr(n,e,r,i),F_(n,t,r))}}function B_(e){var t=e.alternate;return e===Ue||t!==null&&t===Ue}function $_(e,t){Dl=mp=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function F_(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,hb(e,n)}}var gp={readContext:qn,useCallback:St,useContext:St,useEffect:St,useImperativeHandle:St,useInsertionEffect:St,useLayoutEffect:St,useMemo:St,useReducer:St,useRef:St,useState:St,useDebugValue:St,useDeferredValue:St,useTransition:St,useMutableSource:St,useSyncExternalStore:St,useId:St,unstable_isNewReconciler:!1},M4={readContext:qn,useCallback:function(e,t){return vr().memoizedState=[e,t===void 0?null:t],e},useContext:qn,useEffect:B0,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,kd(4194308,4,q_.bind(null,t,e),n)},useLayoutEffect:function(e,t){return kd(4194308,4,e,t)},useInsertionEffect:function(e,t){return kd(4,2,e,t)},useMemo:function(e,t){var n=vr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vr();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=O4.bind(null,Ue,e),[r.memoizedState,e]}
vendor: 5,199 bytes, lines 38-40
38,useRef:function(e){var t=vr();return e={current:e},t.memoizedState=e},useState:M0,useDebugValue:Ob,useDeferredValue:function(e){return vr().memoizedState=e},useTransition:function(){var e=M0(!1),t=e[0];return e=L4.bind(null,e[1]),vr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ue,i=vr();if($e){if(n===void 0)throw Error(U(407));n=n()}else{if(n=t(),gt===null)throw Error(U(349));ro&30||S_(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,B0(E_.bind(null,r,s,e),[e]),r.flags|=2048,mc(9,__.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=vr(),t=gt.identifierPrefix;if($e){var n=ri,r=ni;n=(r&~(1<<32-tr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=hc++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=I4++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},B4={readContext:qn,useCallback:L_,useContext:qn,useEffect:Lb,useImperativeHandle:I_,useInsertionEffect:N_,useLayoutEffect:R_,useMemo:O_,useReducer:Jf,useRef:A_,useState:function(){return Jf(fc)},useDebugValue:Ob,useDeferredValue:function(e){var t=In();return D_(t,dt.memoizedState,e)},useTransition:function(){var e=Jf(fc)[0],t=In().memoizedState;return[e,t]},useMutableSource:C_,useSyncExternalStore:j_,useId:M_,unstable_isNewReconciler:!1},$4={readContext:qn,useCallback:L_,useContext:qn,useEffect:Lb,useImperativeHandle:I_,useInsertionEffect:N_,useLayoutEffect:R_,useMemo:O_,useReducer:Yf,useRef:A_,useState:function(){return Yf(fc)},useDebugValue:Ob,useDeferredValue:function(e){var t=In();return dt===null?t.memoizedState=e:D_(t,dt.memoizedState,e)},useTransition:function(){var e=Yf(fc)[0],t=In().memoizedState;return[e,t]},useMutableSource:C_,useSyncExternalStore:j_,useId:M_,unstable_isNewReconciler:!1};function Hn(e,t){if(e&&e.defaultProps){t=Ve({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Jg(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ve({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var mh={isMounted:function(e){return(e=e._reactInternals)?ho(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=$t(),i=ts(e),s=ii(r,i);s.payload=t,n!=null&&(s.callback=n),t=Zi(e,s,i),t!==null&&(nr(t,e,i,r),xd(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=$t(),i=ts(e),s=ii(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Zi(e,s,i),t!==null&&(nr(t,e,i,r),xd(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=$t(),r=ts(e),i=ii(n,r);i.tag=2,t!=null&&(i.callback=t),t=Zi(e,i,r),t!==null&&(nr(t,e,r,n),xd(t,e,r))}};function $0(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!ac(n,r)||!ac(i,s):!0}function z_(e,t,n){var r=!1,i=os,s=t.contextType;return typeof s=="object"&&s!==null?s=qn(s):(i=Qt(t)?to:Nt.current,r=t.contextTypes,s=(r=r!=null)?Sa(e,i):os),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=mh,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function F0(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&mh.enqueueReplaceState(t,t.state,null)}function Yg(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Tb(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=qn(s):(s=Qt(t)?to:Nt.current,i.context=Sa(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Jg(e,t,s,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&mh.enqueueReplaceState(i,i.state,null),hp(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Pa(e,t){try{var n="",r=t;do n+=f5(r),r=r.return;while(r);var i=n}catch(s){i=`
39Error generating stack: `+s.message+`
40`+s.stack}return{value:e,source:t,stack:i,digest:null}}function Qf(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Qg(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var F4=typeof WeakMap=="function"?WeakMap:Map;function U_(e,t,n){n=ii(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){yp||(yp=!0,av=r),Qg(e,t)},n}function V_(e,t,n){n=ii(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Qg(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Qg(e,t),typeof r!="function"&&(es===null?es=new Set([this]):es.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}
vendor: 10,253 bytes, line 40
40function z0(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new F4;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=tO.bind(null,e,t,n),t.then(e,e))}function U0(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function V0(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=ii(-1,1),t.tag=2,Zi(n,t,1))),n.lanes|=1),e)}var z4=pi.ReactCurrentOwner,Jt=!1;function Lt(e,t,n,r){t.child=e===null?b_(t,null,n,r):Ea(t,e.child,n,r)}function W0(e,t,n,r,i){n=n.render;var s=t.ref;return oa(t,i),r=qb(e,t,n,r,s,i),n=Ib(),e!==null&&!Jt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,li(e,t,i)):($e&&n&&wb(t),t.flags|=1,Lt(e,t,r,i),t.child)}function H0(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!Vb(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,W_(e,t,s,r,i)):(e=_d(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:ac,n(o,r)&&e.ref===t.ref)return li(e,t,i)}return t.flags|=1,e=ns(s,r),e.ref=t.ref,e.return=t,t.child=e}function W_(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(ac(s,r)&&e.ref===t.ref)if(Jt=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(Jt=!0);else return t.lanes=e.lanes,li(e,t,i)}return Xg(e,t,n,r,i)}function H_(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ie(Qo,an),an|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ie(Qo,an),an|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,Ie(Qo,an),an|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,Ie(Qo,an),an|=r;return Lt(e,t,i,n),t.child}function G_(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Xg(e,t,n,r,i){var s=Qt(n)?to:Nt.current;return s=Sa(t,s),oa(t,i),n=qb(e,t,n,r,s,i),r=Ib(),e!==null&&!Jt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,li(e,t,i)):($e&&r&&wb(t),t.flags|=1,Lt(e,t,n,i),t.child)}function G0(e,t,n,r,i){if(Qt(n)){var s=!0;lp(t)}else s=!1;if(oa(t,i),t.stateNode===null)Cd(e,t),z_(t,n,r),Yg(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var c=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=qn(u):(u=Qt(n)?to:Nt.current,u=Sa(t,u));var p=n.getDerivedStateFromProps,d=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||c!==u)&&F0(t,o,r,u),Ni=!1;var h=t.memoizedState;o.state=h,hp(t,r,o,i),c=t.memoizedState,a!==r||h!==c||Yt.current||Ni?(typeof p=="function"&&(Jg(t,n,p,r),c=t.memoizedState),(a=Ni||$0(t,n,a,r,h,c,u))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,w_(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Hn(t.type,a),o.props=u,d=t.pendingProps,h=o.context,c=n.contextType,typeof c=="object"&&c!==null?c=qn(c):(c=Qt(n)?to:Nt.current,c=Sa(t,c));var f=n.getDerivedStateFromProps;(p=typeof f=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==d||h!==c)&&F0(t,o,r,c),Ni=!1,h=t.memoizedState,o.state=h,hp(t,r,o,i);var m=t.memoizedState;a!==d||h!==m||Yt.current||Ni?(typeof f=="function"&&(Jg(t,n,f,r),m=t.memoizedState),(u=Ni||$0(t,n,u,r,h,m,c)||!1)?(p||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,m,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,m,c)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),o.props=r,o.state=m,o.context=c,r=u):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Zg(e,t,n,r,s,i)}function Zg(e,t,n,r,i,s){G_(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&R0(t,n,!1),li(e,t,s);r=t.stateNode,z4.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Ea(t,e.child,null,s),t.child=Ea(t,null,a,s)):Lt(e,t,a,s),t.memoizedState=r.state,i&&R0(t,n,!0),t.child}function K_(e){var t=e.stateNode;t.pendingContext?N0(e,t.pendingContext,t.pendingContext!==t.context):t.context&&N0(e,t.context,!1),Pb(e,t.containerInfo)}function K0(e,t,n,r,i){return _a(),Cb(i),t.flags|=256,Lt(e,t,n,r),t.child}var ev={dehydrated:null,treeContext:null,retryLane:0};function tv(e){return{baseLanes:e,cachePool:null,transitions:null}}function J_(e,t,n){var r=t.pendingProps,i=ze.current,s=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Ie(ze,i&1),e===null)return Gg(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=yh(o,r,0,null),e=Qs(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=tv(n),t.memoizedState=ev,e):Db(t,o));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return U4(e,t,o,r,a,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,a=i.sibling;var c={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=ns(i,c),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=ns(a,s):(s=Qs(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?tv(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=ev,r}return s=e.child,e=s.sibling,r=ns(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Db(e,t){return t=yh({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Au(e,t,n,r){return r!==null&&Cb(r),Ea(t,e.child,null,n),e=Db(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function U4(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=Qf(Error(U(422))),Au(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=yh({mode:"visible",children:r.children},i,0,null),s=Qs(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&Ea(t,e.child,null,o),t.child.memoizedState=tv(o),t.memoizedState=ev,s);if(!(t.mode&1))return Au(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(U(419)),r=Qf(s,r,void 0),Au(e,t,o,r)}if(a=(o&e.childLanes)!==0,Jt||a){if(r=gt,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,ai(e,i),nr(r,e,i,-1))}return Ub(),r=Qf(Error(U(421))),Au(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=nO.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,un=Xi(i.nextSibling),dn=t,$e=!0,Xn=null,e!==null&&(jn[Sn++]=ni,jn[Sn++]=ri,jn[Sn++]=no,ni=e.id,ri=e.overflow,no=t),t=Db(t,r.children),t.flags|=4096,t)}function J0(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Kg(e.return,t,n)}function Xf(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function Y_(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(Lt(e,t,r.children,n),r=ze.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&J0(e,n,t);else if(e.tag===19)J0(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ie(ze,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&fp(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Xf(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&fp(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Xf(t,!0,n,null,s);break;case"together":Xf(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Cd(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}
vendor: 4,903 bytes, line 40
40function li(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),io|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(U(153));if(t.child!==null){for(e=t.child,n=ns(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ns(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function V4(e,t,n){switch(t.tag){case 3:K_(t),_a();break;case 5:k_(t);break;case 1:Qt(t.type)&&lp(t);break;case 4:Pb(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ie(dp,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ie(ze,ze.current&1),t.flags|=128,null):n&t.child.childLanes?J_(e,t,n):(Ie(ze,ze.current&1),e=li(e,t,n),e!==null?e.sibling:null);Ie(ze,ze.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Y_(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ie(ze,ze.current),r)break;return null;case 22:case 23:return t.lanes=0,H_(e,t,n)}return li(e,t,n)}var Q_,nv,X_,Z_;Q_=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};nv=function(){};X_=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Bs(Nr.current);var s=null;switch(n){case"input":i=jg(e,i),r=jg(e,r),s=[];break;case"select":i=Ve({},i,{value:void 0}),r=Ve({},r,{value:void 0}),s=[];break;case"textarea":i=Eg(e,i),r=Eg(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=op)}Pg(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ec.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var c=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&c!==a&&(c!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&a[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(s||(s=[]),s.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,a=a?a.__html:void 0,c!=null&&a!==c&&(s=s||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(s=s||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ec.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&Oe("scroll",e),s||a===c||(s=[])):(s=s||[]).push(u,c))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Z_=function(e,t,n,r){n!==r&&(t.flags|=4)};function ul(e,t){if(!$e)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function _t(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function W4(e,t,n){var r=t.pendingProps;switch(kb(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _t(t),null;case 1:return Qt(t.type)&&ap(),_t(t),null;case 3:return r=t.stateNode,Ta(),Me(Yt),Me(Nt),Nb(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Tu(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Xn!==null&&(uv(Xn),Xn=null))),nv(e,t),_t(t),null;case 5:Ab(t);var i=Bs(pc.current);if(n=t.type,e!==null&&t.stateNode!=null)X_(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(U(166));return _t(t),null}if(e=Bs(Nr.current),Tu(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[_r]=t,r[uc]=s,e=(t.mode&1)!==0,n){case"dialog":Oe("cancel",r),Oe("close",r);break;case"iframe":case"object":case"embed":Oe("load",r);break;case"video":case"audio":for(i=0;i<_l.length;i++)Oe(_l[i],r);break;case"source":Oe("error",r);break;case"img":case"image":case"link":Oe("error",r),Oe("load",r);break;case"details":Oe("toggle",r);break;case"input":i0(r,s),Oe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Oe("invalid",r);break;case"textarea":o0(r,s),Oe("invalid",r)}Pg(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];
vendor: 31,695 bytes, line 40
40o==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&Eu(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Eu(r.textContent,a,e),i=["children",""+a]):ec.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&Oe("scroll",r)}switch(n){case"input":bu(r),s0(r,s,!0);break;case"textarea":bu(r),a0(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=op)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ES(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[_r]=t,e[uc]=r,Q_(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ag(n,r),n){case"dialog":Oe("cancel",e),Oe("close",e),i=r;break;case"iframe":case"object":case"embed":Oe("load",e),i=r;break;case"video":case"audio":for(i=0;i<_l.length;i++)Oe(_l[i],e);i=r;break;case"source":Oe("error",e),i=r;break;case"img":case"image":case"link":Oe("error",e),Oe("load",e),i=r;break;case"details":Oe("toggle",e),i=r;break;case"input":i0(e,r),i=jg(e,r),Oe("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Ve({},r,{value:void 0}),Oe("invalid",e);break;case"textarea":o0(e,r),i=Eg(e,r),Oe("invalid",e);break;default:i=r}Pg(n,i),a=i;for(s in a)if(a.hasOwnProperty(s)){var c=a[s];s==="style"?AS(e,c):s==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&TS(e,c)):s==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&tc(e,c):typeof c=="number"&&tc(e,""+c):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(ec.hasOwnProperty(s)?c!=null&&s==="onScroll"&&Oe("scroll",e):c!=null&&ab(e,s,c,o))}switch(n){case"input":bu(e),s0(e,r,!1);break;case"textarea":bu(e),a0(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ss(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?na(e,!!r.multiple,s,!1):r.defaultValue!=null&&na(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=op)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return _t(t),null;case 6:if(e&&t.stateNode!=null)Z_(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(U(166));if(n=Bs(pc.current),Bs(Nr.current),Tu(t)){if(r=t.stateNode,n=t.memoizedProps,r[_r]=t,(s=r.nodeValue!==n)&&(e=dn,e!==null))switch(e.tag){case 3:Eu(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Eu(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[_r]=t,t.stateNode=r}return _t(t),null;case 13:if(Me(ze),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if($e&&un!==null&&t.mode&1&&!(t.flags&128))v_(),_a(),t.flags|=98560,s=!1;else if(s=Tu(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(U(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(U(317));s[_r]=t}else _a(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_t(t),s=!1}else Xn!==null&&(uv(Xn),Xn=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ze.current&1?pt===0&&(pt=3):Ub())),t.updateQueue!==null&&(t.flags|=4),_t(t),null);case 4:return Ta(),nv(e,t),e===null&&lc(t.stateNode.containerInfo),_t(t),null;case 10:return _b(t.type._context),_t(t),null;case 17:return Qt(t.type)&&ap(),_t(t),null;case 19:if(Me(ze),s=t.memoizedState,s===null)return _t(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)ul(s,!1);else{if(pt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=fp(e),o!==null){for(t.flags|=128,ul(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ie(ze,ze.current&1|2),t.child}e=e.sibling}s.tail!==null&&Ze()>Aa&&(t.flags|=128,r=!0,ul(s,!1),t.lanes=4194304)}else{if(!r)if(e=fp(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ul(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!$e)return _t(t),null}else 2*Ze()-s.renderingStartTime>Aa&&n!==1073741824&&(t.flags|=128,r=!0,ul(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Ze(),t.sibling=null,n=ze.current,Ie(ze,r?n&1|2:n&1),t):(_t(t),null);case 22:case 23:return zb(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?an&1073741824&&(_t(t),t.subtreeFlags&6&&(t.flags|=8192)):_t(t),null;case 24:return null;case 25:return null}throw Error(U(156,t.tag))}function H4(e,t){switch(kb(t),t.tag){case 1:return Qt(t.type)&&ap(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ta(),Me(Yt),Me(Nt),Nb(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ab(t),null;case 13:if(Me(ze),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(U(340));_a()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Me(ze),null;case 4:return Ta(),null;case 10:return _b(t.type._context),null;case 22:case 23:return zb(),null;case 24:return null;default:return null}}var Nu=!1,Pt=!1,G4=typeof WeakSet=="function"?WeakSet:Set,Z=null;function Yo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ke(e,t,r)}else n.current=null}function rv(e,t,n){try{n()}catch(r){Ke(e,t,r)}}var Y0=!1;function K4(e,t){if($g=rp,e=i_(),xb(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,c=-1,u=0,p=0,d=e,h=null;t:for(;;){for(var f;d!==n||i!==0&&d.nodeType!==3||(a=o+i),d!==s||r!==0&&d.nodeType!==3||(c=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(f=d.firstChild)!==null;)h=d,d=f;for(;;){if(d===e)break t;if(h===n&&++u===i&&(a=o),h===s&&++p===r&&(c=o),(f=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=f}n=a===-1||c===-1?null:{start:a,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fg={focusedElem:e,selectionRange:n},rp=!1,Z=t;Z!==null;)if(t=Z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Z=e;else for(;Z!==null;){t=Z;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var g=m.memoizedProps,x=m.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:Hn(t.type,g),x);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(U(163))}}catch(k){Ke(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,Z=e;break}Z=t.return}return m=Y0,Y0=!1,m}function Ml(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&rv(t,n,s)}i=i.next}while(i!==r)}}function gh(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function iv(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function eE(e){var t=e.alternate;t!==null&&(e.alternate=null,eE(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[_r],delete t[uc],delete t[Vg],delete t[A4],delete t[N4])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function tE(e){return e.tag===5||e.tag===3||e.tag===4}function Q0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||tE(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function sv(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=op));else if(r!==4&&(e=e.child,e!==null))for(sv(e,t,n),e=e.sibling;e!==null;)sv(e,t,n),e=e.sibling}function ov(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ov(e,t,n),e=e.sibling;e!==null;)ov(e,t,n),e=e.sibling}var yt=null,Qn=!1;function wi(e,t,n){for(n=n.child;n!==null;)nE(e,t,n),n=n.sibling}function nE(e,t,n){if(Ar&&typeof Ar.onCommitFiberUnmount=="function")try{Ar.onCommitFiberUnmount(lh,n)}catch{}switch(n.tag){case 5:Pt||Yo(n,t);case 6:var r=yt,i=Qn;yt=null,wi(e,t,n),yt=r,Qn=i,yt!==null&&(Qn?(e=yt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):yt.removeChild(n.stateNode));break;case 18:yt!==null&&(Qn?(e=yt,n=n.stateNode,e.nodeType===8?Wf(e.parentNode,n):e.nodeType===1&&Wf(e,n),sc(e)):Wf(yt,n.stateNode));break;case 4:r=yt,i=Qn,yt=n.stateNode.containerInfo,Qn=!0,wi(e,t,n),yt=r,Qn=i;break;case 0:case 11:case 14:case 15:if(!Pt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&rv(n,t,o),i=i.next}while(i!==r)}wi(e,t,n);break;case 1:if(!Pt&&(Yo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ke(n,t,a)}wi(e,t,n);break;case 21:wi(e,t,n);break;case 22:n.mode&1?(Pt=(r=Pt)||n.memoizedState!==null,wi(e,t,n),Pt=r):wi(e,t,n);break;default:wi(e,t,n)}}function X0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new G4),t.forEach(function(r){var i=rO.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function $n(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:yt=a.stateNode,Qn=!1;break e;case 3:yt=a.stateNode.containerInfo,Qn=!0;break e;case 4:yt=a.stateNode.containerInfo,Qn=!0;break e}a=a.return}if(yt===null)throw Error(U(160));nE(s,o,i),yt=null,Qn=!1;var c=i.alternate;c!==null&&(c.return=null),i.return=null}catch(u){Ke(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)rE(t,e),t=t.sibling}function rE(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if($n(t,e),fr(e),r&4){try{Ml(3,e,e.return),gh(3,e)}catch(g){Ke(e,e.return,g)}try{Ml(5,e,e.return)}catch(g){Ke(e,e.return,g)}}break;case 1:$n(t,e),fr(e),r&512&&n!==null&&Yo(n,n.return);break;case 5:if($n(t,e),fr(e),r&512&&n!==null&&Yo(n,n.return),e.flags&32){var i=e.stateNode;try{tc(i,"")}catch(g){Ke(e,e.return,g)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,a=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&SS(i,s),Ag(a,o);var u=Ag(a,s);for(o=0;o<c.length;o+=2){var p=c[o],d=c[o+1];p==="style"?AS(i,d):p==="dangerouslySetInnerHTML"?TS(i,d):p==="children"?tc(i,d):ab(i,p,d,u)}switch(a){case"input":Sg(i,s);break;case"textarea":_S(i,s);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var f=s.value;f!=null?na(i,!!s.multiple,f,!1):h!==!!s.multiple&&(s.defaultValue!=null?na(i,!!s.multiple,s.defaultValue,!0):na(i,!!s.multiple,s.multiple?[]:"",!1))}i[uc]=s}catch(g){Ke(e,e.return,g)}}break;case 6:if($n(t,e),fr(e),r&4){if(e.stateNode===null)throw Error(U(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(g){Ke(e,e.return,g)}}break;case 3:if($n(t,e),fr(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{sc(t.containerInfo)}catch(g){Ke(e,e.return,g)}break;case 4:$n(t,e),fr(e);break;case 13:$n(t,e),fr(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||($b=Ze())),r&4&&X0(e);break;case 22:if(p=n!==null&&n.memoizedState!==null,e.mode&1?(Pt=(u=Pt)||p,$n(t,e),Pt=u):$n(t,e),fr(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!p&&e.mode&1)for(Z=e,p=e.child;p!==null;){for(d=Z=p;Z!==null;){switch(h=Z,f=h.child,h.tag){case 0:case 11:case 14:case 15:Ml(4,h,h.return);break;case 1:Yo(h,h.return);var m=h.stateNode;if(typeof m.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){Ke(r,n,g)}}break;case 5:Yo(h,h.return);break;case 22:if(h.memoizedState!==null){e1(d);continue}}f!==null?(f.return=h,Z=f):e1(d)}p=p.sibling}e:for(p=null,d=e;;){if(d.tag===5){if(p===null){p=d;try{i=d.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=d.stateNode,c=d.memoizedProps.style,o=c!=null&&c.hasOwnProperty("display")?c.display:null,a.style.display=PS("display",o))}catch(g){Ke(e,e.return,g)}}}else if(d.tag===6){if(p===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(g){Ke(e,e.return,g)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;p===d&&(p=null),d=d.return}p===d&&(p=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:$n(t,e),fr(e),r&4&&X0(e);break;case 21:break;default:$n(t,e),fr(e)}}function fr(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(tE(n)){var r=n;break e}n=n.return}throw Error(U(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(tc(i,""),r.flags&=-33);var s=Q0(e);ov(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,a=Q0(e);sv(e,a,o);break;default:throw Error(U(161))}}catch(c){Ke(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function J4(e,t,n){Z=e,iE(e)}function iE(e,t,n){for(var r=(e.mode&1)!==0;Z!==null;){var i=Z,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||Nu;if(!o){var a=i.alternate,c=a!==null&&a.memoizedState!==null||Pt;a=Nu;var u=Pt;if(Nu=o,(Pt=c)&&!u)for(Z=i;Z!==null;)o=Z,c=o.child,o.tag===22&&o.memoizedState!==null?t1(i):c!==null?(c.return=o,Z=c):t1(i);for(;s!==null;)Z=s,iE(s),s=s.sibling;Z=i,Nu=a,Pt=u}Z0(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,Z=s):Z0(e)}}function Z0(e){for(;Z!==null;){var t=Z;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Pt||gh(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Pt)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Hn(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&D0(t,s,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}D0(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var p=u.memoizedState;if(p!==null){var d=p.dehydrated;d!==null&&sc(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(U(163))}Pt||t.flags&512&&iv(t)}catch(h){Ke(t,t.return,h)}}if(t===e){Z=null;break}if(n=t.sibling,n!==null){n.return=t.return,Z=n;break}Z=t.return}}function e1(e){for(;Z!==null;){var t=Z;if(t===e){Z=null;break}var n=t.sibling;if(n!==null){n.return=t.return,Z=n;break}Z=t.return}}function t1(e){for(;Z!==null;){var t=Z;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{gh(4,t)}catch(c){Ke(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(c){Ke(t,i,c)}}var s=t.return;try{iv(t)}catch(c){Ke(t,s,c)}break;case 5:var o=t.return;try{iv(t)}catch(c){Ke(t,o,c)}}}catch(c){Ke(t,t.return,c)}if(t===e){Z=null;break}var a=t.sibling;if(a!==null){a.return=t.return,Z=a;break}Z=t.return}}var Y4=Math.ceil,vp=pi.ReactCurrentDispatcher,Mb=pi.ReactCurrentOwner,An=pi.ReactCurrentBatchConfig,Ce=0,gt=null,lt=null,wt=0,an=0,Qo=ms(0),pt=0,gc=null,io=0,vh=0,Bb=0,Bl=null,Kt=null,$b=0,Aa=1/0,Yr=null,yp=!1,av=null,es=null,Ru=!1,Hi=null,bp=0,$l=0,lv=null,jd=-1,Sd=0;function $t(){return Ce&6?Ze():jd!==-1?jd:jd=Ze()}function ts(e){return e.mode&1?Ce&2&&wt!==0?wt&-wt:q4.transition!==null?(Sd===0&&(Sd=zS()),Sd):(e=Ee,e!==0||(e=window.event,e=e===void 0?16:JS(e.type)),e):1}function nr(e,t,n,r){if(50<$l)throw $l=0,lv=null,Error(U(185));Hc(e,n,r),(!(Ce&2)||e!==gt)&&(e===gt&&(!(Ce&2)&&(vh|=n),pt===4&&Di(e,wt)),Xt(e,r),n===1&&Ce===0&&!(t.mode&1)&&(Aa=Ze()+500,hh&&gs()))}function Xt(e,t){var n=e.callbackNode;q5(e,t);var r=np(e,e===gt?wt:0);if(r===0)n!==null&&u0(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&u0(n),t===1)e.tag===0?R4(n1.bind(null,e)):f_(n1.bind(null,e)),T4(function(){!(Ce&6)&&gs()}),n=null;else{switch(US(r)){case 1:n=pb;break;case 4:n=$S;break;case 16:n=tp;break;case 536870912:n=FS;break;default:n=tp}n=pE(n,sE.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function sE(e,t){if(jd=-1,Sd=0,Ce&6)throw Error(U(327));var n=e.callbackNode;if(aa()&&e.callbackNode!==n)return null;var r=np(e,e===gt?wt:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=xp(e,r);else{t=r;var i=Ce;Ce|=2;var s=aE();(gt!==e||wt!==t)&&(Yr=null,Aa=Ze()+500,Ys(e,t));do try{Z4();break}catch(a){oE(e,a)}while(!0);Sb(),vp.current=s,Ce=i,lt!==null?t=0:(gt=null,wt=0,t=pt)}if(t!==0){if(t===2&&(i=Lg(e),i!==0&&(r=i,t=cv(e,i))),t===1)throw n=gc,Ys(e,0),Di(e,r),Xt(e,Ze()),n;if(t===6)Di(e,r);else{if(i=e.current.alternate,!(r&30)&&!Q4(i)&&(t=xp(e,r),t===2&&(s=Lg(e),s!==0&&(r=s,t=cv(e,s))),t===1))throw n=gc,Ys(e,0),Di(e,r),Xt(e,Ze()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(U(345));case 2:Rs(e,Kt,Yr);break;case 3:if(Di(e,r),(r&130023424)===r&&(t=$b+500-Ze(),10<t)){if(np(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){$t(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Ug(Rs.bind(null,e,Kt,Yr),t);break}Rs(e,Kt,Yr);break;case 4:if(Di(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-tr(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=Ze()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Y4(r/1960))-r,10<r){e.timeoutHandle=Ug(Rs.bind(null,e,Kt,Yr),r);break}Rs(e,Kt,Yr);break;case 5:Rs(e,Kt,Yr);break;default:throw Error(U(329))}}}return Xt(e,Ze()),e.callbackNode===n?sE.bind(null,e):null}function cv(e,t){var n=Bl;return e.current.memoizedState.isDehydrated&&(Ys(e,t).flags|=256),e=xp(e,t),e!==2&&(t=Kt,Kt=n,t!==null&&uv(t)),e}function uv(e){Kt===null?Kt=e:Kt.push.apply(Kt,e)}function Q4(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],s=i.getSnapshot;i=i.value;try{if(!sr(s(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Di(e,t){for(t&=~Bb,t&=~vh,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-tr(t),r=1<<n;e[n]=-1,t&=~r}}function n1(e){if(Ce&6)throw Error(U(327));aa();var t=np(e,0);if(!(t&1))return Xt(e,Ze()),null;var n=xp(e,t);if(e.tag!==0&&n===2){var r=Lg(e);r!==0&&(t=r,n=cv(e,r))}if(n===1)throw n=gc,Ys(e,0),Di(e,t),Xt(e,Ze()),n;if(n===6)throw Error(U(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Rs(e,Kt,Yr),Xt(e,Ze()),null}function Fb(e,t){var n=Ce;Ce|=1;try{return e(t)}finally{Ce=n,Ce===0&&(Aa=Ze()+500,hh&&gs())}}function so(e){Hi!==null&&Hi.tag===0&&!(Ce&6)&&aa();var t=Ce;Ce|=1;var n=An.transition,r=Ee;try{if(An.transition=null,Ee=1,e)return e()}finally{Ee=r,An.transition=n,Ce=t,!(Ce&6)&&gs()}}function zb(){an=Qo.current,Me(Qo)}function Ys(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,E4(n)),lt!==null)for(n=lt.return;n!==null;){var r=n;switch(kb(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ap();break;case 3:Ta(),Me(Yt),Me(Nt),Nb();break;case 5:Ab(r);break;case 4:Ta();break;case 13:Me(ze);break;case 19:Me(ze);break;case 10:_b(r.type._context);break;case 22:case 23:zb()}n=n.return}if(gt=e,lt=e=ns(e.current,null),wt=an=t,pt=0,gc=null,Bb=vh=io=0,Kt=Bl=null,Ms!==null){for(t=0;t<Ms.length;t++)if(n=Ms[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}Ms=null}return e}function oE(e,t){do{var n=lt;try{if(Sb(),wd.current=gp,mp){for(var r=Ue.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}mp=!1}if(ro=0,mt=dt=Ue=null,Dl=!1,hc=0,Mb.current=null,n===null||n.return===null){pt=1,gc=t,lt=null;break}e:{var s=e,o=n.return,a=n,c=t;if(t=wt,a.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,p=a,d=p.tag;if(!(p.mode&1)&&(d===0||d===11||d===15)){var h=p.alternate;h?(p.updateQueue=h.updateQueue,p.memoizedState=h.memoizedState,p.lanes=h.lanes):(p.updateQueue=null,p.memoizedState=null)}var f=U0(o);if(f!==null){f.flags&=-257,V0(f,o,a,s,t),f.mode&1&&z0(s,u,t),t=f,c=u;var m=t.updateQueue;if(m===null){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}else{if(!(t&1)){z0(s,u,t),Ub();break e}c=Error(U(426))}}else if($e&&a.mode&1){var x=U0(o);if(x!==null){!(x.flags&65536)&&(x.flags|=256),V0(x,o,a,s,t),Cb(Pa(c,a));break e}}s=c=Pa(c,a),pt!==4&&(pt=2),Bl===null?Bl=[s]:Bl.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var v=U_(s,c,t);O0(s,v);break e;case 1:a=c;var b=s.type,w=s.stateNode;if(!(s.flags&128)&&(typeof b.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(es===null||!es.has(w)))){s.flags|=65536,t&=-t,s.lanes|=t;var k=V_(s,a,t);O0(s,k);break e}}s=s.return}while(s!==null)}cE(n)}catch(S){t=S,lt===n&&n!==null&&(lt=n=n.return);continue}break}while(!0)}function aE(){var e=vp.current;return vp.current=gp,e===null?gp:e}function Ub(){(pt===0||pt===3||pt===2)&&(pt=4),gt===null||!(io&268435455)&&!(vh&268435455)||Di(gt,wt)}function xp(e,t){var n=Ce;Ce|=2;var r=aE();(gt!==e||wt!==t)&&(Yr=null,Ys(e,t));do try{X4();break}catch(i){oE(e,i)}while(!0);if(Sb(),Ce=n,vp.current=r,lt!==null)throw Error(U(261));return gt=null,wt=0,pt}function X4(){for(;lt!==null;)lE(lt)}function Z4(){for(;lt!==null&&!j5();)lE(lt)}function lE(e){var t=dE(e.alternate,e,an);e.memoizedProps=e.pendingProps,t===null?cE(e):lt=t,Mb.current=null}function cE(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=H4(n,t),n!==null){n.flags&=32767,lt=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{pt=6,lt=null;return}}else if(n=W4(n,t,an),n!==null){lt=n;return}if(t=t.sibling,t!==null){lt=t;return}lt=t=e}while(t!==null);pt===0&&(pt=5)}function Rs(e,t,n){var r=Ee,i=An.transition;try{An.transition=null,Ee=1,eO(e,t,n,r)}finally{An.transition=i,Ee=r}return null}function eO(e,t,n,r){do aa();while(Hi!==null);if(Ce&6)throw Error(U(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(U(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(I5(e,s),e===gt&&(lt=gt=null,wt=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ru||(Ru=!0,pE(tp,function(){return aa(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=An.transition,An.transition=null;var o=Ee;Ee=1;var a=Ce;Ce|=4,Mb.current=null,K4(e,n),rE(n,e),x4(Fg),rp=!!$g,Fg=$g=null,e.current=n,J4(n),S5(),Ce=a,Ee=o,An.transition=s}else e.current=n;if(Ru&&(Ru=!1,Hi=e,bp=i),s=e.pendingLanes,s===0&&(es=null),T5(n.stateNode),Xt(e,Ze()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(yp)throw yp=!1,e=av,av=null,e;return bp&1&&e.tag!==0&&aa(),s=e.pendingLanes,s&1?e===lv?$l++:($l=0,lv=e):$l=0,gs(),null}function aa(){if(Hi!==null){var e=US(bp),t=An.transition,n=Ee;try{if(An.transition=null,Ee=16>e?16:e,Hi===null)var r=!1;else{if(e=Hi,Hi=null,bp=0,Ce&6)throw Error(U(331));var i=Ce;for(Ce|=4,Z=e.current;Z!==null;){var s=Z,o=s.child;if(Z.flags&16){var a=s.deletions;if(a!==null){for(var c=0;c<a.length;c++){var u=a[c];for(Z=u;Z!==null;){var p=Z;switch(p.tag){case 0:case 11:case 15:Ml(8,p,s)}var d=p.child;if(d!==null)d.return=p,Z=d;else for(;Z!==null;){p=Z;var h=p.sibling,f=p.return;if(eE(p),p===u){Z=null;break}if(h!==null){h.return=f,Z=h;break}Z=f}}}var m=s.alternate;if(m!==null){var g=m.child;if(g!==null){m.child=null;do{var x=g.sibling;g.sibling=null,g=x}while(g!==null)}}Z=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,Z=o;else e:for(;Z!==null;){if(s=Z,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Ml(9,s,s.return)}var v=s.sibling;if(v!==null){v.return=s.return,Z=v;break e}Z=s.return}}var b=e.current;for(Z=b;Z!==null;){o=Z;var w=o.child;if(o.subtreeFlags&2064&&w!==null)w.return=o,Z=w;else e:for(o=b;Z!==null;){if(a=Z,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:gh(9,a)}}catch(S){Ke(a,a.return,S)}if(a===o){Z=null;break e}var k=a.sibling;if(k!==null){k.return=a.return,Z=k;break e}Z=a.return}}if(Ce=i,gs(),Ar&&typeof Ar.onPostCommitFiberRoot=="function")try{Ar.onPostCommitFiberRoot(lh,e)}catch{}r=!0}return r}finally{Ee=n,An.transition=t}}return!1}function r1(e,t,n){t=Pa(n,t),t=U_(e,t,1),e=Zi(e,t,1),t=$t(),e!==null&&(Hc(e,1,t),Xt(e,t))}function Ke(e,t,n){if(e.tag===3)r1(e,e,n);else for(;t!==null;){if(t.tag===3){r1(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(es===null||!es.has(r))){e=Pa(n,e),e=V_(t,e,1),t=Zi(t,e,1),e=$t(),t!==null&&(Hc(t,1,e),Xt(t,e));break}}t=t.return}}function tO(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=$t(),e.pingedLanes|=e.suspendedLanes&n,gt===e&&(wt&n)===n&&(pt===4||pt===3&&(wt&130023424)===wt&&500>Ze()-$b?Ys(e,0):Bb|=n),Xt(e,t)}function uE(e,t){t===0&&(e.mode&1?(t=ku,ku<<=1,!(ku&130023424)&&(ku=4194304)):t=1);var n=$t();e=ai(e,t),e!==null&&(Hc(e,t,n),Xt(e,n))}function nO(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),uE(e,n)}function rO(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(U(314))}r!==null&&r.delete(t),uE(e,n)}var dE;dE=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Yt.current)Jt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Jt=!1,V4(e,t,n);Jt=!!(e.flags&131072)}else Jt=!1,$e&&t.flags&1048576&&m_(t,up,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Cd(e,t),e=t.pendingProps;var i=Sa(t,Nt.current);oa(t,n),i=qb(null,t,r,e,i,n);var s=Ib();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Qt(r)?(s=!0,lp(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Tb(t),i.updater=mh,t.stateNode=i,i._reactInternals=t,Yg(t,r,e,n),t=Zg(null,t,r,!0,s,n)):(t.tag=0,$e&&s&&wb(t),Lt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Cd(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=sO(r),e=Hn(r,e),i){case 0:t=Xg(null,t,r,e,n);break e;case 1:t=G0(null,t,r,e,n);break e;case 11:t=W0(null,t,r,e,n);break e;case 14:t=H0(null,t,r,Hn(r.type,e),n);break e}throw Error(U(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Hn(r,i),Xg(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Hn(r,i),G0(e,t,r,i,n);case 3:e:{if(K_(t),e===null)throw Error(U(387));r=t.pendingProps,s=t.memoizedState,i=s.element,w_(e,t),hp(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=Pa(Error(U(423)),t),t=K0(e,t,r,n,i);break e}else if(r!==i){i=Pa(Error(U(424)),t),t=K0(e,t,r,n,i);break e}else for(un=Xi(t.stateNode.containerInfo.firstChild),dn=t,$e=!0,Xn=null,n=b_(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(_a(),r===i){t=li(e,t,n);break e}Lt(e,t,r,n)}t=t.child}return t;case 5:return k_(t),e===null&&Gg(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,zg(r,i)?o=null:s!==null&&zg(r,s)&&(t.flags|=32),G_(e,t),Lt(e,t,o,n),t.child;case 6:return e===null&&Gg(t),null;case 13:return J_(e,t,n);case 4:return Pb(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ea(t,null,r,n):Lt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Hn(r,i),W0(e,t,r,i,n);case 7:return Lt(e,t,t.pendingProps,n),t.child;case 8:return Lt(e,t,t.pendingProps.children,n),t.child;case 12:return Lt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,Ie(dp,r._currentValue),r._currentValue=o,s!==null)if(sr(s.value,o)){if(s.children===i.children&&!Yt.current){t=li(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var c=a.firstContext;c!==null;){if(c.context===r){if(s.tag===1){c=ii(-1,n&-n),c.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var p=u.pending;p===null?c.next=c:(c.next=p.next,p.next=c),u.pending=c}}s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Kg(s.return,n,t),a.lanes|=n;break}c=c.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(U(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Kg(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Lt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,oa(t,n),i=qn(i),r=r(i),t.flags|=1,Lt(e,t,r,n),t.child;case 14:return r=t.type,i=Hn(r,t.pendingProps),i=Hn(r.type,i),H0(e,t,r,i,n);case 15:return W_(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Hn(r,i),Cd(e,t),t.tag=1,Qt(r)?(e=!0,lp(t)):e=!1,oa(t,n),z_(t,r,i),Yg(t,r,i,n),Zg(null,t,r,!0,e,n);case 19:return Y_(e,t,n);case 22:return H_(e,t,n)}throw Error(U(156,t.tag))};function pE(e,t){return BS(e,t)}function iO(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 5,379 bytes, line 40
40ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tn(e,t,n,r){return new iO(e,t,n,r)}function Vb(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sO(e){if(typeof e=="function")return Vb(e)?1:0;if(e!=null){if(e=e.$$typeof,e===cb)return 11;if(e===ub)return 14}return 2}function ns(e,t){var n=e.alternate;return n===null?(n=Tn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function _d(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Vb(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Fo:return Qs(n.children,i,s,t);case lb:o=8,i|=8;break;case xg:return e=Tn(12,n,t,i|2),e.elementType=xg,e.lanes=s,e;case wg:return e=Tn(13,n,t,i),e.elementType=wg,e.lanes=s,e;case kg:return e=Tn(19,n,t,i),e.elementType=kg,e.lanes=s,e;case kS:return yh(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xS:o=10;break e;case wS:o=9;break e;case cb:o=11;break e;case ub:o=14;break e;case Ai:o=16,r=null;break e}throw Error(U(130,e==null?e:typeof e,""))}return t=Tn(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Qs(e,t,n,r){return e=Tn(7,e,r,t),e.lanes=n,e}function yh(e,t,n,r){return e=Tn(22,e,r,t),e.elementType=kS,e.lanes=n,e.stateNode={isHidden:!1},e}function Zf(e,t,n){return e=Tn(6,e,null,t),e.lanes=n,e}function em(e,t,n){return t=Tn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function oO(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=If(0),this.expirationTimes=If(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=If(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Wb(e,t,n,r,i,s,o,a,c){return e=new oO(e,t,n,a,c),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Tn(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Tb(s),e}function aO(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:$o,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function hE(e){if(!e)return os;e=e._reactInternals;e:{if(ho(e)!==e||e.tag!==1)throw Error(U(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Qt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(U(171))}if(e.tag===1){var n=e.type;if(Qt(n))return h_(e,n,t)}return t}function fE(e,t,n,r,i,s,o,a,c){return e=Wb(n,r,!0,e,i,s,o,a,c),e.context=hE(null),n=e.current,r=$t(),i=ts(n),s=ii(r,i),s.callback=t??null,Zi(n,s,i),e.current.lanes=i,Hc(e,i,r),Xt(e,r),e}function bh(e,t,n,r){var i=t.current,s=$t(),o=ts(i);return n=hE(n),t.context===null?t.context=n:t.pendingContext=n,t=ii(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Zi(i,t,o),e!==null&&(nr(e,i,o,s),xd(e,i,o)),o}function wp(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function i1(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Hb(e,t){i1(e,t),(e=e.alternate)&&i1(e,t)}function lO(){return null}var mE=typeof reportError=="function"?reportError:function(e){console.error(e)};function Gb(e){this._internalRoot=e}xh.prototype.render=Gb.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(U(409));bh(e,t,null,null)};xh.prototype.unmount=Gb.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;so(function(){bh(null,e,null,null)}),t[oi]=null}};function xh(e){this._internalRoot=e}xh.prototype.unstable_scheduleHydration=function(e){if(e){var t=HS();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Oi.length&&t!==0&&t<Oi[n].priority;n++);Oi.splice(n,0,e),n===0&&KS(e)}};function Kb(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function wh(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function s1(){}function cO(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=wp(o);s.call(u)}}var o=fE(t,r,e,0,null,!1,!1,"",s1);return e._reactRootContainer=o,e[oi]=o.current,lc(e.nodeType===8?e.parentNode:e),so(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=wp(c);
vendor: 4,767 bytes, line 40
40a.call(u)}}var c=Wb(e,0,!1,null,null,!1,!1,"",s1);return e._reactRootContainer=c,e[oi]=c.current,lc(e.nodeType===8?e.parentNode:e),so(function(){bh(t,c,n,r)}),c}function kh(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var a=i;i=function(){var c=wp(o);a.call(c)}}bh(t,o,e,i)}else o=cO(n,t,e,i,r);return wp(o)}VS=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Sl(t.pendingLanes);n!==0&&(hb(t,n|1),Xt(t,Ze()),!(Ce&6)&&(Aa=Ze()+500,gs()))}break;case 13:so(function(){var r=ai(e,1);if(r!==null){var i=$t();nr(r,e,1,i)}}),Hb(e,1)}};fb=function(e){if(e.tag===13){var t=ai(e,134217728);if(t!==null){var n=$t();nr(t,e,134217728,n)}Hb(e,134217728)}};WS=function(e){if(e.tag===13){var t=ts(e),n=ai(e,t);if(n!==null){var r=$t();nr(n,e,t,r)}Hb(e,t)}};HS=function(){return Ee};GS=function(e,t){var n=Ee;try{return Ee=e,t()}finally{Ee=n}};Rg=function(e,t,n){switch(t){case"input":if(Sg(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=ph(r);if(!i)throw Error(U(90));jS(r),Sg(r,i)}}}break;case"textarea":_S(e,n);break;case"select":t=n.value,t!=null&&na(e,!!n.multiple,t,!1)}};qS=Fb;IS=so;var uO={usingClientEntryPoint:!1,Events:[Kc,Wo,ph,NS,RS,Fb]},dl={findFiberByHostInstance:Ds,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},dO={bundleType:dl.bundleType,version:dl.version,rendererPackageName:dl.rendererPackageName,rendererConfig:dl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:pi.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=DS(e),e===null?null:e.stateNode},findFiberByHostInstance:dl.findFiberByHostInstance||lO,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var qu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qu.isDisabled&&qu.supportsFiber)try{lh=qu.inject(dO),Ar=qu}catch{}}gn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=uO;gn.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Kb(t))throw Error(U(200));return aO(e,t,null,n)};gn.createRoot=function(e,t){if(!Kb(e))throw Error(U(299));var n=!1,r="",i=mE;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Wb(e,1,!1,null,null,n,!1,r,i),e[oi]=t.current,lc(e.nodeType===8?e.parentNode:e),new Gb(t)};gn.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(U(188)):(e=Object.keys(e).join(","),Error(U(268,e)));return e=DS(t),e=e===null?null:e.stateNode,e};gn.flushSync=function(e){return so(e)};gn.hydrate=function(e,t,n){if(!wh(t))throw Error(U(200));return kh(null,e,t,!0,n)};gn.hydrateRoot=function(e,t,n){if(!Kb(e))throw Error(U(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=mE;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=fE(t,null,e,1,n??null,i,!1,s,o),e[oi]=t.current,lc(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new xh(t)};gn.render=function(e,t,n){if(!wh(t))throw Error(U(200));return kh(null,e,t,!1,n)};gn.unmountComponentAtNode=function(e){if(!wh(e))throw Error(U(40));return e._reactRootContainer?(so(function(){kh(null,null,e,!1,function(){e._reactRootContainer=null,e[oi]=null})}),!0):!1};gn.unstable_batchedUpdates=Fb;gn.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!wh(n))throw Error(U(200));if(e==null||e._reactInternals===void 0)throw Error(U(38));return kh(e,t,n,!1,r)};gn.version="18.3.1-next-f1338f8080-20240426";function gE(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(gE)}catch(e){console.error(e)}}gE(),gS.exports=gn;var Yc=gS.exports;const vE=hs(Yc);var yE,o1=Yc;yE=o1.createRoot,o1.hydrateRoot;var pO=typeof Element<"u",hO=typeof Map=="function",fO=typeof Set=="function",mO=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Ed(e,t){if(e===t)return!0;
40if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Ed(e[r],t[r]))return!1;return!0}var s;if(hO&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;for(s=e.entries();!(r=s.next()).done;)if(!Ed(r.value[1],t.get(r.value[0])))return!1;return!0}if(fO&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(mO&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(pO&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!Ed(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var gO=function(t,n){try{return Ed(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const vO=hs(gO);var yO=function(e,t,n,r,i,s,o,a){if(!e){var c;if(t===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,s,o,a],p=0;c=new Error(t.replace(/%s/g,function(){return u[p++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},bO=yO;const a1=hs(bO);var xO=function(t,n,r,i){var s=r?r.call(i,t,n):void 0;if(s!==void 0)return!!s;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),a=Object.keys(n);if(o.length!==a.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(n),u=0;u<o.length;u++){var p=o[u];if(!c(p))return!1;var d=t[p],h=n[p];if(s=r?r.call(i,d,h,p):void 0,s===!1||s===void 0&&d!==h)return!1}return!0};const wO=hs(xO);var bE=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(bE||{}),tm={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},l1=Object.values(bE),Ch={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},xE=Object.entries(Ch).reduce((e,[t,n])=>(e[n]=t,e),{}),er="data-rh",la={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},ca=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},kO=e=>{let t=ca(e,"title");const n=ca(e,la.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=ca(e,la.DEFAULT_TITLE);return t||r||void 0},CO=e=>ca(e,la.ON_CHANGE_CLIENT_STATE)||(()=>{}),nm=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),jO=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const i=Object.keys(r);for(let s=0;s<i.length;s+=1){const a=i[s].toLowerCase();if(e.indexOf(a)!==-1&&r[a])return n.concat(r)}}return n},[]),SO=e=>console&&typeof console.warn=="function"&&console.warn(e),pl=(e,t,n)=>{const r={};return n.filter(i=>Array.isArray(i[e])?!0:(typeof i[e]<"u"&&SO(`Helmet: ${e} should be of type "Array". Instead found type "${typeof i[e]}"`),!1)).map(i=>i[e]).reverse().reduce((i,s)=>{const o={};s.filter(c=>{let u;const p=Object.keys(c);for(let h=0;h<p.length;h+=1){const f=p[h],m=f.toLowerCase();t.indexOf(m)!==-1&&!(u==="rel"&&c[u].toLowerCase()==="canonical")&&!(m==="rel"&&c[m].toLowerCase()==="stylesheet")&&(u=m),t.indexOf(f)!==-1&&(f==="innerHTML"||f==="cssText"||f==="itemprop")&&(u=f)}if(!u||!c[u])return!1;const d=c[u].toLowerCase();return r[u]||(r[u]={}),o[u]||(o[u]={}),r[u][d]?!1:(o[u][d]=!0,!0)}
40).reverse().forEach(c=>i.push(c));const a=Object.keys(o);for(let c=0;c<a.length;c+=1){const u=a[c],p={...r[u],...o[u]};r[u]=p}return i},[]).reverse()},_O=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},EO=e=>({baseTag:jO(["href"],e),bodyAttributes:nm("bodyAttributes",e),defer:ca(e,la.DEFER),encode:ca(e,la.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:nm("htmlAttributes",e),linkTags:pl("link",["rel","href"],e),metaTags:pl("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:pl("noscript",["innerHTML"],e),onChangeClientState:CO(e),scriptTags:pl("script",["src","innerHTML"],e),styleTags:pl("style",["cssText"],e),title:kO(e),titleAttributes:nm("titleAttributes",e),prioritizeSeoTags:_O(e,la.PRIORITIZE_SEO_TAGS)}),wE=e=>Array.isArray(e)?e.join(""):e,TO=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},rm=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(TO(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},c1=(e,t)=>({...e,[t]:void 0}),PO=["noscript","script","style"],dv=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),kE=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),AO=(e,t,n,r)=>{const i=kE(n),s=wE(t);return i?`<${e} ${er}="true" ${i}>${dv(s,r)}</${e}>`:`<${e} ${er}="true">${dv(s,r)}</${e}>`},NO=(e,t,n=!0)=>t.reduce((r,i)=>{const s=i,o=Object.keys(s).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,p)=>{const d=typeof s[p]>"u"?p:`${p}="${dv(s[p],n)}"`;return u?`${u} ${d}`:d},""),a=s.innerHTML||s.cssText||"",c=PO.indexOf(e)===-1;return`${r}<${e} ${er}="true" ${o}${c?"/>":`>${a}</${e}>`}`},""),CE=(e,t={})=>Object.keys(e).reduce((n,r)=>{const i=Ch[r];return n[i||r]=e[r],n},t),RO=(e,t,n)=>{const r={key:t,[er]:!0},i=CE(n,r);return[O.createElement("title",i,t)]},Td=(e,t)=>t.map((n,r)=>{const i={key:r,[er]:!0};return Object.keys(n).forEach(s=>{const a=Ch[s]||s;if(a==="innerHTML"||a==="cssText"){const c=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:c}}else i[a]=n[s]}),O.createElement(e,i)}),kn=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>RO(e,t.title,t.titleAttributes),toString:()=>AO(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>CE(t),toString:()=>kE(t)};default:return{toComponent:()=>Td(e,t),toString:()=>NO(e,t,n)}}},qO=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=rm(e,tm.meta),s=rm(t,tm.link),o=rm(n,tm.script);return{priorityMethods:{toComponent:()=>[...Td("meta",i.priority),...Td("link",s.priority),...Td("script",o.priority)],toString:()=>`${kn("meta",i.priority,r)} ${kn("link",s.priority,r)} ${kn("script",o.priority,r)}`},metaTags:i.default,linkTags:s.default,scriptTags:o.default}},IO=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:s,styleTags:o,title:a="",titleAttributes:c,prioritizeSeoTags:u}=e;let{linkTags:p,metaTags:d,scriptTags:h}=e,f={toComponent:()=>[],toString:()=>""};return u&&({priorityMethods:f,linkTags:p,metaTags:d,scriptTags:h}=qO(e)),{priority:f,base:kn("base",t,r),bodyAttributes:kn("bodyAttributes",n,r),htmlAttributes:kn("htmlAttributes",i,r),link:kn("link",p,r),meta:kn("meta",d,r),noscript:kn("noscript",s,r),script:kn("script",h,r),style:kn("style",o,r),title:kn("title",{title:a,titleAttributes:c},r)}},pv=IO,Iu=[],Jb=!!(typeof window<"u"&&window.document&&window.document.createElement),hv=class{constructor(e,t){Vr(this,"instances",[]);Vr(this,"canUseDOM",Jb);Vr(this,"context");Vr(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Iu:this.instances,add:e=>{(this.canUseDOM?Iu:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Iu:this.instances).indexOf(e);(this.canUseDOM?Iu:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=pv({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},LO=parseInt(O.version.split(".")[0],10),fv=LO>=19,OO={},jE=O.createContext(OO),Us,SE=(Us=class extends y.Component{constructor(n){super(n);Vr(this,"helmetData");fv?this.helmetData=null:this.helmetData=new hv(this.props.context||{},Us.canUseDOM)}render(){return fv?O.createElement(O.Fragment,null,this.props.children):O.createElement(jE.Provider,{value:this.helmetData.value},this.props.children)}},Vr(Us,"canUseDOM",Jb),Us),ko=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${er}]`),i=[].slice.call(r),s=[];let o;return t&&t.length&&t.forEach(a=>{const c=document.createElement(e);for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u))if(u==="innerHTML")c.innerHTML=a.innerHTML;else if(u==="cssText"){const p=a.cssText;c.appendChild(document.createTextNode(p))}else{const p=u,d=typeof a[p]>"u"?"":a[p];c.setAttribute(u,d)}c.setAttribute(er,"true"),i.some((u,p)=>(o=p,c.isEqualNode(u)))?i.splice(o,1):s.push(c)}
40),i.forEach(a=>{var c;return(c=a.parentNode)==null?void 0:c.removeChild(a)}),s.forEach(a=>n.appendChild(a)),{oldTags:i,newTags:s}},mv=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(er),i=r?r.split(","):[],s=[...i],o=Object.keys(t);for(const a of o){const c=t[a]||"";n.getAttribute(a)!==c&&n.setAttribute(a,c),i.indexOf(a)===-1&&i.push(a);const u=s.indexOf(a);u!==-1&&s.splice(u,1)}for(let a=s.length-1;a>=0;a-=1)n.removeAttribute(s[a]);i.length===s.length?n.removeAttribute(er):n.getAttribute(er)!==o.join(",")&&n.setAttribute(er,o.join(","))},DO=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=wE(e)),mv("title",t)},u1=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:s,metaTags:o,noscriptTags:a,onChangeClientState:c,scriptTags:u,styleTags:p,title:d,titleAttributes:h}=e;mv("body",r),mv("html",i),DO(d,h);const f={baseTag:ko("base",n),linkTags:ko("link",s),metaTags:ko("meta",o),noscriptTags:ko("noscript",a),scriptTags:ko("script",u),styleTags:ko("style",p)},m={},g={};Object.keys(f).forEach(x=>{const{newTags:v,oldTags:b}=f[x];v.length&&(m[x]=v),b.length&&(g[x]=f[x].oldTags)}),t&&t(),c(e,m,g)},hl=null,MO=e=>{hl&&cancelAnimationFrame(hl),e.defer?hl=requestAnimationFrame(()=>{u1(e,()=>{hl=null})}):(u1(e),hl=null)},BO=MO,d1=class extends y.Component{constructor(){super(...arguments);Vr(this,"rendered",!1)}shouldComponentUpdate(t){return!wO(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const i=EO(t.get().map(s=>{const{context:o,...a}=s.props;return a}));SE.canUseDOM?BO(i):pv&&(r=pv(i)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Pd=[],p1=e=>{const t={};for(const n of Object.keys(e))t[xE[n]||n]=e[n];return t},_s=e=>{const t={};for(const n of Object.keys(e)){const r=Ch[n];t[r||n]=e[n]}return t},h1=(e,t)=>{if(!Jb)return;const n=document.getElementsByTagName(e)[0];if(!n)return;const r="data-rh-managed",i=n.getAttribute(r),s=i?i.split(","):[],o=Object.keys(t);for(const a of s)o.includes(a)||n.removeAttribute(a);for(const a of o){const c=t[a];c==null||c===!1?n.removeAttribute(a):c===!0?n.setAttribute(a,""):n.setAttribute(a,String(c))}o.length>0?n.setAttribute(r,o.join(",")):n.removeAttribute(r)},im=()=>{const e={},t={};for(const n of Pd){const{htmlAttributes:r,bodyAttributes:i}=n.props;r&&Object.assign(e,p1(r)),i&&Object.assign(t,p1(i))}h1("html",e),h1("body",t)},$O=class extends y.Component{componentDidMount(){Pd.push(this),im()}componentDidUpdate(){im()}componentWillUnmount(){const e=Pd.indexOf(this);e!==-1&&Pd.splice(e,1),im()}resolveTitle(){const{title:e,titleTemplate:t,defaultTitle:n}=this.props;return e&&t?t.replace(/%s/g,()=>Array.isArray(e)?e.join(""):e):e||n||void 0}renderTitle(){const e=this.resolveTitle();if(e===void 0)return null;const t=this.props.titleAttributes||{};return O.createElement("title",_s(t),e)}renderBase(){const{base:e}=this.props;return e?O.createElement("base",_s(e)):null}renderMeta(){const{meta:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>O.createElement("meta",{key:n,..._s(t)}))}renderLink(){const{link:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>O.createElement("link",{key:n,..._s(t)}))}renderScript(){const{script:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...i}=t,s=_s(i);return r&&(s.dangerouslySetInnerHTML={__html:r}),O.createElement("script",{key:n,...s})})}renderStyle(){const{style:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{cssText:r,...i}=t,s=_s(i);return r&&(s.dangerouslySetInnerHTML={__html:r}),O.createElement("style",{key:n,...s})})}renderNoscript(){const{noscript:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...i}=t,s=_s(i);return r&&(s.dangerouslySetInnerHTML={__html:r}),O.createElement("noscript",{key:n,...s})})}render(){return O.createElement(O.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},yg,vs=(yg=class extends y.Component{shouldComponentUpdate(e){return!vO(c1(this.props,"helmetData"),c1(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}
40warnOnInvalidChildren(e,t){return a1(l1.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${l1.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),a1(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return O.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:i,...s}=r.props,o=Object.keys(s).reduce((c,u)=>(c[xE[u]||u]=s[u],c),{});let{type:a}=r;switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(r,i),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,o,i);break;default:t=this.mapObjectTypeChildren(r,t,o,i);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof hv)){const i=r;r=new hv(i.context,!0),delete n.helmetData}return fv?O.createElement($O,{...n}):r?O.createElement(d1,{...n,context:r.value}):O.createElement(jE.Consumer,null,i=>O.createElement(d1,{...n,context:i}))}},Vr(yg,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),yg),jh=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Sh=typeof window>"u"||"Deno"in globalThis;function Gn(){}function FO(e,t){return typeof e=="function"?e(t):e}function zO(e){return typeof e=="number"&&e>=0&&e!==1/0}function UO(e,t){return Math.max(e+(t||0)-Date.now(),0)}function gv(e,t){return typeof e=="function"?e(t):e}function VO(e,t){return typeof e=="function"?e(t):e}function f1(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==Yb(o,t.options))return!1}else if(!yc(t.queryKey,o))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||s&&!s(t))}function m1(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(vc(t.options.mutationKey)!==vc(s))return!1}else if(!yc(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Yb(e,t){return((t==null?void 0:t.queryKeyHashFn)||vc)(e)}function vc(e){return JSON.stringify(e,(t,n)=>vv(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function yc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>yc(e[n],t[n])):!1}function _E(e,t){if(e===t)return e;const n=g1(e)&&g1(t);if(n||vv(e)&&vv(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{},c=new Set(r);let u=0;for(let p=0;p<o;p++){const d=n?p:s[p];(!n&&c.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,u++):(a[d]=_E(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return i===o&&u===i?e:a}return t}function g1(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function vv(e){if(!v1(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!v1(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function v1(e){return Object.prototype.toString.call(e)==="[object Object]"}function WO(e){return new Promise(t=>{setTimeout(t,e)})}function HO(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?_E(e,t):t}function GO(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function KO(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Qb=Symbol();function EE(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Qb?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Vs,$i,ga,Q2,JO=(Q2=class extends jh{constructor(){super();Se(this,Vs);Se(this,$i);Se(this,ga);he(this,ga,t=>{if(!Sh&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){F(this,$i)||this.setEventListener(F(this,ga))}onUnsubscribe(){var t;this.hasListeners()||((t=F(this,$i))==null||t.call(this),he(this,$i,void 0))}setEventListener(t){var n;he(this,ga,t),(n=F(this,$i))==null||n.call(this),he(this,$i,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){F(this,Vs)!==t&&(he(this,Vs,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 4,924 bytes, line 40
40this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof F(this,Vs)=="boolean"?F(this,Vs):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Vs=new WeakMap,$i=new WeakMap,ga=new WeakMap,Q2),TE=new JO,va,Fi,ya,X2,YO=(X2=class extends jh{constructor(){super();Se(this,va,!0);Se(this,Fi);Se(this,ya);he(this,ya,t=>{if(!Sh&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){F(this,Fi)||this.setEventListener(F(this,ya))}onUnsubscribe(){var t;this.hasListeners()||((t=F(this,Fi))==null||t.call(this),he(this,Fi,void 0))}setEventListener(t){var n;he(this,ya,t),(n=F(this,Fi))==null||n.call(this),he(this,Fi,t(this.setOnline.bind(this)))}setOnline(t){F(this,va)!==t&&(he(this,va,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return F(this,va)}},va=new WeakMap,Fi=new WeakMap,ya=new WeakMap,X2),kp=new YO;function QO(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function XO(e){return Math.min(1e3*2**e,3e4)}function PE(e){return(e??"online")==="online"?kp.isOnline():!0}var AE=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function sm(e){return e instanceof AE}function NE(e){let t=!1,n=0,r=!1,i;const s=QO(),o=g=>{var x;r||(h(new AE(g)),(x=e.abort)==null||x.call(e))},a=()=>{t=!0},c=()=>{t=!1},u=()=>TE.isFocused()&&(e.networkMode==="always"||kp.isOnline())&&e.canRun(),p=()=>PE(e.networkMode)&&e.canRun(),d=g=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,g),i==null||i(),s.resolve(g))},h=g=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,g),i==null||i(),s.reject(g))},f=()=>new Promise(g=>{var x;i=v=>{(r||u())&&g(v)},(x=e.onPause)==null||x.call(e)}).then(()=>{var g;i=void 0,r||(g=e.onContinue)==null||g.call(e)}),m=()=>{if(r)return;let g;const x=n===0?e.initialPromise:void 0;try{g=x??e.fn()}catch(v){g=Promise.reject(v)}Promise.resolve(g).then(d).catch(v=>{var C;if(r)return;const b=e.retry??(Sh?0:3),w=e.retryDelay??XO,k=typeof w=="function"?w(n,v):w,S=b===!0||typeof b=="number"&&n<b||typeof b=="function"&&b(n,v);if(t||!S){h(v);return}n++,(C=e.onFail)==null||C.call(e,n,v),WO(k).then(()=>u()?void 0:f()).then(()=>{t?h(v):m()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:a,continueRetry:c,canStart:p,start:()=>(p()?m():f().then(m),s)}}var ZO=e=>setTimeout(e,0);function eD(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=ZO;const s=a=>{t?e.push(a):i(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(c=>{n(c)})})})};return{batch:a=>{let c;t++;try{c=a()}finally{t--,t||o()}return c},batchCalls:a=>(...c)=>{s(()=>{a(...c)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var Ot=eD(),Ws,Z2,RE=(Z2=class{constructor(){Se(this,Ws)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),zO(this.gcTime)&&he(this,Ws,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Sh?1/0:5*60*1e3))}clearGcTimeout(){F(this,Ws)&&(clearTimeout(F(this,Ws)),he(this,Ws,void 0))}},Ws=new WeakMap,Z2),ba,Hs,Cn,Gs,Tt,Uc,Ks,Jn,Jr,eS,tD=(eS=class extends RE{constructor(t){super();Se(this,Jn);Se(this,ba);Se(this,Hs);Se(this,Cn);Se(this,Gs);Se(this,Tt);Se(this,Uc);Se(this,Ks);he(this,Ks,!1),he(this,Uc,t.defaultOptions),this.setOptions(t.options),this.observers=[],he(this,Gs,t.client),he(this,Cn,F(this,Gs).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,he(this,ba,rD(this.options)),this.state=t.state??F(this,ba),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=F(this,Tt))==null?void 0:t.promise}setOptions(t){this.options={...F(this,Uc),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&F(this,Cn).remove(this)}setData(t,n){const r=HO(this.state.data,t,this.options);return jt(this,Jn,Jr).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){jt(this,Jn,Jr).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=F(this,Tt))==null?void 0:r.promise;return(i=F(this,Tt))==null||i.cancel(t),n?n.then(Gn).catch(Gn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(F(this,ba))}isActive(){return this.observers.some(t=>VO(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Qb||this.state.dataUpdateCount+this.state.errorUpdate
vendor: 1,274 bytes, line 40
40Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>gv(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!UO(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=F(this,Tt))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=F(this,Tt))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),F(this,Cn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(F(this,Tt)&&(F(this,Ks)?F(this,Tt).cancel({revert:!0}):F(this,Tt).cancelRetry()),this.scheduleGc()),F(this,Cn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||jt(this,Jn,Jr).call(this,{type:"invalidate"})}
vendor: 13,738 bytes, line 40
40fetch(t,n){var u,p,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(F(this,Tt))return F(this,Tt).continueRetry(),F(this,Tt).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(f=>f.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(he(this,Ks,!0),r.signal)})},s=()=>{const h=EE(this.options,n),m=(()=>{const g={client:F(this,Gs),queryKey:this.queryKey,meta:this.meta};return i(g),g})();return he(this,Ks,!1),this.options.persister?this.options.persister(h,m,this):h(m)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:F(this,Gs),state:this.state,fetchFn:s};return i(h),h})();(u=this.options.behavior)==null||u.onFetch(a,this),he(this,Hs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=a.fetchOptions)==null?void 0:p.meta))&&jt(this,Jn,Jr).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const c=h=>{var f,m,g,x;sm(h)&&h.silent||jt(this,Jn,Jr).call(this,{type:"error",error:h}),sm(h)||((m=(f=F(this,Cn).config).onError)==null||m.call(f,h,this),(x=(g=F(this,Cn).config).onSettled)==null||x.call(g,this.state.data,h,this)),this.scheduleGc()};return he(this,Tt,NE({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var f,m,g,x;if(h===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(v){c(v);return}(m=(f=F(this,Cn).config).onSuccess)==null||m.call(f,h,this),(x=(g=F(this,Cn).config).onSettled)==null||x.call(g,h,this.state.error,this),this.scheduleGc()},onError:c,onFail:(h,f)=>{jt(this,Jn,Jr).call(this,{type:"failed",failureCount:h,error:f})},onPause:()=>{jt(this,Jn,Jr).call(this,{type:"pause"})},onContinue:()=>{jt(this,Jn,Jr).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),F(this,Tt).start()}},ba=new WeakMap,Hs=new WeakMap,Cn=new WeakMap,Gs=new WeakMap,Tt=new WeakMap,Uc=new WeakMap,Ks=new WeakMap,Jn=new WeakSet,Jr=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...nD(r.data,this.options),fetchMeta:t.meta??null};case"success":return he(this,Hs,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return sm(i)&&i.revert&&F(this,Hs)?{...F(this,Hs),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ot.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),F(this,Cn).notify({query:this,type:"updated",action:t})})},eS);function nD(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:PE(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function rD(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var wr,tS,iD=(tS=class extends jh{constructor(t={}){super();Se(this,wr);this.config=t,he(this,wr,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??Yb(i,n);let o=this.get(s);return o||(o=new tD({client:t,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){F(this,wr).has(t.queryHash)||(F(this,wr).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=F(this,wr).get(t.queryHash);n&&(t.destroy(),n===t&&F(this,wr).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ot.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return F(this,wr).get(t)}getAll(){return[...F(this,wr).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>f1(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>f1(t,r)):n}notify(t){Ot.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ot.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ot.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},wr=new WeakMap,tS),kr,It,Js,Cr,_i,nS,sD=(nS=class extends RE{constructor(t){super();Se(this,Cr);Se(this,kr);Se(this,It);Se(this,Js);this.mutationId=t.mutationId,he(this,It,t.mutationCache),he(this,kr,[]),this.state=t.state||oD(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){F(this,kr).includes(t)||(F(this,kr).push(t),this.clearGcTimeout(),F(this,It).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){he(this,kr,F(this,kr).filter(n=>n!==t)),this.scheduleGc(),F(this,It).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){F(this,kr).length||(this.state.status==="pending"?this.scheduleGc():F(this,It).remove(this))}continue(){var t;return((t=F(this,Js))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,o,a,c,u,p,d,h,f,m,g,x,v,b,w,k,S,C,T,P;const n=()=>{jt(this,Cr,_i).call(this,{type:"continue"})};he(this,Js,NE({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(R,j)=>{jt(this,Cr,_i).call(this,{type:"failed",failureCount:R,error:j})},onPause:()=>{jt(this,Cr,_i).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>F(this,It).canRun(this)}));const r=this.state.status==="pending",i=!F(this,Js).canStart();try{if(r)n();else{jt(this,Cr,_i).call(this,{type:"pending",variables:t,isPaused:i}),await((o=(s=F(this,It).config).onMutate)==null?void 0:o.call(s,t,this));const j=await((c=(a=this.options).onMutate)==null?void 0:c.call(a,t));j!==this.state.context&&jt(this,Cr,_i).call(this,{type:"pending",context:j,variables:t,isPaused:i})}const R=await F(this,Js).start();return await((p=(u=F(this,It).config).onSuccess)==null?void 0:p.call(u,R,t,this.state.context,this)),await((h=(d=this.options).onSuccess)==null?void 0:h.call(d,R,t,this.state.context)),await((m=(f=F(this,It).config).onSettled)==null?void 0:m.call(f,R,null,this.state.variables,this.state.context,this)),await((x=(g=this.options).onSettled)==null?void 0:x.call(g,R,null,t,this.state.context)),jt(this,Cr,_i).call(this,{type:"success",data:R}),R}catch(R){try{throw await((b=(v=F(this,It).config).onError)==null?void 0:b.call(v,R,t,this.state.context,this)),await((k=(w=this.options).onError)==null?void 0:k.call(w,R,t,this.state.context)),await((C=(S=F(this,It).config).onSettled)==null?void 0:C.call(S,void 0,R,this.state.variables,this.state.context,this)),await((P=(T=this.options).onSettled)==null?void 0:P.call(T,void 0,R,t,this.state.context)),R}finally{jt(this,Cr,_i).call(this,{type:"error",error:R})}}finally{F(this,It).runNext(this)}}},kr=new WeakMap,It=new WeakMap,Js=new WeakMap,Cr=new WeakSet,_i=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Ot.batch(()=>{F(this,kr).forEach(r=>{r.onMutationUpdate(t)}),F(this,It).notify({mutation:this,type:"updated",action:t})})},nS);function oD(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ti,Yn,Vc,rS,aD=(rS=class extends jh{constructor(t={}){super();Se(this,ti);Se(this,Yn);Se(this,Vc);this.config=t,he(this,ti,new Set),he(this,Yn,new Map),he(this,Vc,0)}build(t,n,r){const i=new sD({mutationCache:this,mutationId:++gu(this,Vc)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){F(this,ti).add(t);const n=Lu(t);if(typeof n=="string"){const r=F(this,Yn).get(n);r?r.push(t):F(this,Yn).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(F(this,ti).delete(t)){const n=Lu(t);if(typeof n=="string"){const r=F(this,Yn).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&F(this,Yn).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Lu(t);if(typeof n=="string"){const r=F(this,Yn).get(n),i=r==null?void 0:r.find(s=>s.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=Lu(t);if(typeof n=="string"){const i=(r=F(this,Yn).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ot.batch(()=>{F(this,ti).forEach(t=>{this.notify({type:"removed",mutation:t})}),F(this,ti).clear(),F(this,Yn).clear()})}getAll(){return Array.from(F(this,ti))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>m1(n,r))}findAll(t={}){return this.getAll().filter(n=>m1(t,n))}notify(t){Ot.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ot.batch(()=>Promise.all(t.map(n=>n.continue().catch(Gn))))}},ti=new WeakMap,Yn=new WeakMap,Vc=new WeakMap,rS);function Lu(e){var t;return(t=e.options.scope)==null?void 0:t.id}function y1(e){return{onFetch:(t,n)=>{var p,d,h,f,m;const r=t.options,i=(h=(d=(p=t.fetchOptions)==null?void 0:p.meta)==null?void 0:d.fetchMore)==null?void 0:h.direction,s=((f=t.state.data)==null?void 0:f.pages)||[],o=((m=t.state.data)==null?void 0:m.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const u=async()=>{let g=!1;const x=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},v=EE(t.options,t.fetchOptions),b=async(w,k,S)=>{if(g)return Promise.reject();if(k==null&&w.pages.length)return Promise.resolve(w);const T=(()=>{const q={client:t.client,queryKey:t.queryKey,pageParam:k,direction:S?"backward":"forward",meta:t.options.meta};return x(q),q})(),P=await v(T),{maxPages:R}=t.options,j=S?KO:GO;return{pages:j(w.pages,P,R),pageParams:j(w.pageParams,k,R)}};if(i&&s.length){const w=i==="backward",k=w?lD:b1,S={pages:s,pageParams:o},C=k(r,S);a=await b(S,C,w)}else{const w=e??s.length;do{const k=c===0?o[0]??r.initialPageParam:b1(r,a);if(c>0&&k==null)break;a=await b(a,k),c++}while(c<w)}return a};t.options.persister?t.fetchFn=()=>{var g,x;return(x=(g=t.options).persister)==null?void 0:x.call(g,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function b1(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function lD(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var He,zi,Ui,xa,wa,Vi,ka,Ca,iS,cD=(iS=class{constructor(e={}){Se(this,He);Se(this,zi);Se(this,Ui);Se(this,xa);Se(this,wa);Se(this,Vi);Se(this,ka);Se(this,Ca);he(this,He,e.queryCache||new iD),he(this,zi,e.mutationCache||new aD),he(this,Ui,e.defaultOptions||{}),he(this,xa,new Map),he(this,wa,new Map),he(this,Vi,0)}mount(){gu(this,Vi)._++,F(this,Vi)===1&&(he(this,ka,TE.subscribe(async e=>{e&&(await this.resumePausedMutations(),F(this,He).onFocus())})),he(this,Ca,kp.subscribe(async e=>{e&&(await this.resumePausedMutations(),F(this,He).onOnline())})))}unmount(){var e,t;gu(this,Vi)._--,F(this,Vi)===0&&((e=F(this,ka))==null||e.call(this),he(this,ka,void 0),(t=F(this,Ca))==null||t.call(this),he(this,Ca,void 0))}isFetching(e){return F(this,He).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return F(this,zi).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=F(this,He).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=F(this,He).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(gv(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return F(this,He).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=F(this,He).get(r.queryHash),s=i==null?void 0:i.state.data,o=FO(t,s);if(o!==void 0)return F(this,He).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return Ot.batch(()=>F(this,He).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=F(this,He).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=F(this,He);Ot.batch(()=>
40{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=F(this,He);return Ot.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ot.batch(()=>F(this,He).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Gn).catch(Gn)}invalidateQueries(e,t={}){return Ot.batch(()=>(F(this,He).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Ot.batch(()=>F(this,He).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(Gn)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Gn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=F(this,He).build(this,t);return n.isStaleByTime(gv(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Gn).catch(Gn)}fetchInfiniteQuery(e){return e.behavior=y1(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Gn).catch(Gn)}ensureInfiniteQueryData(e){return e.behavior=y1(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return kp.isOnline()?F(this,zi).resumePausedMutations():Promise.resolve()}getQueryCache(){return F(this,He)}getMutationCache(){return F(this,zi)}getDefaultOptions(){return F(this,Ui)}setDefaultOptions(e){he(this,Ui,e)}setQueryDefaults(e,t){F(this,xa).set(vc(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...F(this,xa).values()],n={};return t.forEach(r=>{yc(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){F(this,wa).set(vc(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...F(this,wa).values()],n={};return t.forEach(r=>{yc(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...F(this,Ui).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Yb(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Qb&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...F(this,Ui).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){F(this,He).clear(),F(this,zi).clear()}},He=new WeakMap,zi=new WeakMap,Ui=new WeakMap,xa=new WeakMap,wa=new WeakMap,Vi=new WeakMap,ka=new WeakMap,Ca=new WeakMap,iS),uD=y.createContext(void 0),dD=({client:e,children:t})=>(y.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(uD.Provider,{value:e,children:t}));/**
41 * @remix-run/router v1.23.0
42 *
43 * Copyright (c) Remix Software Inc.
44 *
45 * This source code is licensed under the MIT license found in the
46 * LICENSE.md file in the root directory of this source tree.
47 *
48 * @license MIT
49 */function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bc.apply(this,arguments)}var Gi;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Gi||(Gi={}));const x1="popstate";function pD(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:a}=r.location;return yv("",{pathname:s,search:o,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Cp(i)}return fD(t,n,null,e)}function et(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function qE(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function hD(){return Math.random().toString(36).substr(2,8)}function w1(e,t){return{usr:e.state,key:e.key,idx:t}}function yv(e,t,n,r){return n===void 0&&(n=null),bc({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ua(t):t,{state:n,key:t&&t.key||r||hD()})}function Cp(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Ua(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function fD(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=Gi.Pop,c=null,u=p();u==null&&(u=0,o.replaceState(bc({},o.state,{idx:u}),""));function p(){return(o.state||{idx:null}).idx}function d(){a=Gi.Pop;
vendor: 3,517 bytes, line 49
49let x=p(),v=x==null?null:x-u;u=x,c&&c({action:a,location:g.location,delta:v})}function h(x,v){a=Gi.Push;let b=yv(g.location,x,v);u=p()+1;let w=w1(b,u),k=g.createHref(b);try{o.pushState(w,"",k)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(k)}s&&c&&c({action:a,location:g.location,delta:1})}function f(x,v){a=Gi.Replace;let b=yv(g.location,x,v);u=p();let w=w1(b,u),k=g.createHref(b);o.replaceState(w,"",k),s&&c&&c({action:a,location:g.location,delta:0})}function m(x){let v=i.location.origin!=="null"?i.location.origin:i.location.href,b=typeof x=="string"?x:Cp(x);return b=b.replace(/ $/,"%20"),et(v,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,v)}let g={get action(){return a},get location(){return e(i,o)},listen(x){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(x1,d),c=x,()=>{i.removeEventListener(x1,d),c=null}},createHref(x){return t(i,x)},createURL:m,encodeLocation(x){let v=m(x);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:h,replace:f,go(x){return o.go(x)}};return g}var k1;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(k1||(k1={}));function mD(e,t,n){return n===void 0&&(n="/"),gD(e,t,n,!1)}function gD(e,t,n,r){let i=typeof t=="string"?Ua(t):t,s=Xb(i.pathname||"/",n);if(s==null)return null;let o=IE(e);vD(o);let a=null;for(let c=0;a==null&&c<o.length;++c){let u=TD(s);a=_D(o[c],u,r)}return a}function IE(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(s,o,a)=>{let c={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};c.relativePath.startsWith("/")&&(et(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=rs([r,c.relativePath]),p=n.concat(c);s.children&&s.children.length>0&&(et(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),IE(s.children,t,p,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:jD(u,s.index),routesMeta:p})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let c of LE(s.path))i(s,o,c)}),t}function LE(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=LE(r.join("/")),a=[];return a.push(...o.map(c=>c===""?s:[s,c].join("/"))),i&&a.push(...o),a.map(c=>e.startsWith("/")&&c===""?"/":c)}function vD(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:SD(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const yD=/^:[\w-]+$/,bD=3,xD=2,wD=1,kD=10,CD=-2,C1=e=>e==="*";function jD(e,t){let n=e.split("/"),r=n.length;return n.some(C1)&&(r+=CD),t&&(r+=xD),n.filter(i=>!C1(i)).reduce((i,s)=>i+(yD.test(s)?bD:s===""?wD:kD),r)}function SD(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function _D(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let a=0;a<r.length;++a){let c=r[a],u=a===r.length-1,p=s==="/"?t:t.slice(s.length)||"/",d=j1({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},p),h=c.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=j1({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},p)),!d)return null;
vendor: 6,917 bytes, lines 49-58
49Object.assign(i,d.params),o.push({params:i,pathname:rs([s,d.pathname]),pathnameBase:RD(rs([s,d.pathnameBase])),route:h}),d.pathnameBase!=="/"&&(s=rs([s,d.pathnameBase]))}return o}function j1(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=ED(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,p,d)=>{let{paramName:h,isOptional:f}=p;if(h==="*"){let g=a[d]||"";o=s.slice(0,s.length-g.length).replace(/(.)\/+$/,"$1")}const m=a[d];return f&&!m?u[h]=void 0:u[h]=(m||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function ED(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),qE(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,c)=>(r.push({paramName:a,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function TD(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return qE(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Xb(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function PD(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Ua(e):e;return{pathname:n?n.startsWith("/")?n:AD(n,t):t,search:qD(r),hash:ID(i)}}function AD(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function om(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function ND(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Zb(e,t){let n=ND(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function ex(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Ua(e):(i=bc({},e),et(!i.pathname||!i.pathname.includes("?"),om("?","pathname","search",i)),et(!i.pathname||!i.pathname.includes("#"),om("#","pathname","hash",i)),et(!i.search||!i.search.includes("#"),om("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,a;if(o==null)a=n;else{let d=t.length-1;if(!r&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),d-=1;i.pathname=h.join("/")}a=d>=0?t[d]:"/"}let c=PD(i,a),u=o&&o!=="/"&&o.endsWith("/"),p=(s||o===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||p)&&(c.pathname+="/"),c}const rs=e=>e.join("/").replace(/\/\/+/g,"/"),RD=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),qD=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ID=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function LD(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const OE=["post","put","patch","delete"];new Set(OE);const OD=["get",...OE];new Set(OD);/**
50 * React Router v6.30.1
51 *
52 * Copyright (c) Remix Software Inc.
53 *
54 * This source code is licensed under the MIT license found in the
55 * LICENSE.md file in the root directory of this source tree.
56 *
57 * @license MIT
58 */function xc(){return xc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xc.apply(this,arguments)}const tx=y.createContext(null),DD=y.createContext(null),ys=y.createContext(null),_h=y.createContext(null),hi=y.createContext({outlet:null,matches:[],isDataRoute:!1}),DE=y.createContext(null);function MD(e,t){let{relative:n}=t===void 0?{}:t;Va()||et(!1);let{basename:r,navigator:i}=y.useContext(ys),{hash:s,pathname:o,search:a}=BE(e,{relative:n}),c=o;return r!=="/"&&(c=o==="/"?r:rs([r,o])),i.createHref({pathname:c,search:a,hash:s})}function Va(){return y.useContext(_h)!=null}function Ct(){return Va()||et(!1),y.useContext(_h).location}function ME(e){y.useContext(ys).static||y.useLayoutEffect(e)}function fo(){let{isDataRoute:e}=y.useContext(hi);return e?QD():BD()}function BD(){Va()||et(!1);let e=y.useContext(tx),{basename:t,future:n,navigator:r}=y.useContext(ys),{matches:i}=y.useContext(hi),{pathname:s}=Ct(),o=JSON.stringify(Zb(i,n.v7_relativeSplatPath)),a=y.useRef(!1);return ME(()=>{a.current=!0}),y.useCallback(function(u,p){if(p===void 0&&(p={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=ex(u,JSON.parse(o),s,p.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:rs([t,d.pathname])),(p.replace?r.replace:r.push)(d,p.state,p)},[t,r,o,s,e])}function Qc(){let{matches:e}=y.useContext(hi),t=e[e.length-1];return t?t.params:{}}function BE(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=y.useContext(ys),{matches:i}=y.useContext(hi),{pathname:s}=Ct(),o=JSON.stringify(Zb(i,r.v7_relativeSplatPath));return y.useMemo(()=>ex(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function $D(e,t){return FD(e,t)}function FD(e,t,n,r){Va()||et(!1);let{navigator:i}=y.useContext(ys),{matches:s}=y.useContext(hi),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=Ct(),p;if(t){var d;let x=typeof t=="string"?Ua(t):t;c==="/"||(d=x.pathname)!=null&&d.startsWith(c)||et(!1),p=x}else p=u;let h=p.pathname||"/",f=h;if(c!=="/"){let x=c.replace(/^\//,"").split("/");f="/"+h.replace(/^\//,"").split("/").slice(x.length).join("/")}let m=mD(e,{pathname:f}),g=HD(m&&m.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:rs([c,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?c:rs([c,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),s,n,r);return t&&g?y.createElement(_h.Provider,{value:{location:xc({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:Gi.Pop}},g):g}function zD(){let e=YD(),t=LD(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application 
58Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),n?y.createElement("pre",{style:i},n):null,null)}const UD=y.createElement(zD,null);class VD extends y.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?y.createElement(hi.Provider,{value:this.props.routeContext},y.createElement(DE.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function WD(e){let{routeContext:t,match:n,children:r}=e,i=y.useContext(tx);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),y.createElement(hi.Provider,{value:t},r)}function HD(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let p=o.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);p>=0||et(!1),o=o.slice(0,Math.min(o.length,p+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let p=0;p<o.length;p++){let d=o[p];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=p),d.route.id){let{loaderData:h,errors:f}=n,m=d.route.loader&&h[d.route.id]===void 0&&(!f||f[d.route.id]===void 0);if(d.route.lazy||m){c=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((p,d,h)=>{let f,m=!1,g=null,x=null;n&&(f=a&&d.route.id?a[d.route.id]:void 0,g=d.route.errorElement||UD,c&&(u<0&&h===0?(m=!0,x=null):u===h&&(m=!0,x=d.route.hydrateFallbackElement||null)));let v=t.concat(o.slice(0,h+1)),b=()=>{let w;return f?w=g:m?w=x:d.route.Component?w=y.createElement(d.route.Component,null):d.route.element?w=d.route.element:w=p,y.createElement(WD,{match:d,routeContext:{outlet:p,matches:v,isDataRoute:n!=null},children:w})};return n&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?y.createElement(VD,{location:n.location,revalidation:n.revalidation,component:g,error:f,children:b(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):b()},null)}var $E=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}($E||{}),jp=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(jp||{});function GD(e){let t=y.useContext(tx);return t||et(!1),t}function KD(e){let t=y.useContext(DD);return t||et(!1),t}function JD(e){let t=y.useContext(hi);return t||et(!1),t}function FE(e){let t=JD(),n=t.matches[t.matches.length-1];return n.route.id||et(!1),n.route.id}function YD(){var e;let t=y.useContext(DE),n=KD(jp.UseRouteError),r=FE(jp.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function QD(){let{router:e}=GD($E.UseNavigateStable),t=FE(jp.UseNavigateStable),n=y.useRef(!1);return ME(()=>{n.current=!0}),y.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,xc({fromRouteId:t},s)))},[e,t])}function XD(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function we(e){let{to:t,replace:n,state:r,relative:i}=e;Va()||et(!1);let{future:s,static:o}=y.useContext(ys),{matches:a}=y.useContext(hi),{pathname:c}=Ct(),u=fo(),p=ex(t,Zb(a,s.v7_relativeSplatPath),c,i==="path"),d=JSON.stringify(p);return y.useEffect(()=>u(JSON.parse(d),{replace:n,state:r,relative:i}),[u,d,i,n,r]),null}function Y(e){et(!1)}function ZD(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Gi.Pop,navigator:s,static:o=!1,future:a}=e;Va()&&et(!1);let c=t.replace(/^\/*/,"/"),u=y.useMemo(()=>({basename:c,navigator:s,static:o,future:xc({v7_relativeSplatPath:!1},a)}),[c,a,s,o]);typeof r=="string"&&(r=Ua(r));let{pathname:p="/",search:d="",hash:h="",state:f=null,key:m="default"}=r,g=y.useMemo(()=>{let x=Xb(p,c);return x==null?null:{location:{pathname:x,search:d,hash:h,state:f,key:m},navigationType:i}},[c,p,d,h,f,m,i]);return g==null?null:y.createElement(ys.Provider,{value:u},y.createElement(_h.Provider,{children:n,value:g}))}function e3(e){let{children:t,location:n}=e;return $D(bv(t),n)}new Promise(()=>{});function bv(e,t){t===void 0&&(t=[]);let n=[];
58return y.Children.forEach(e,(r,i)=>{if(!y.isValidElement(r))return;let s=[...t,i];if(r.type===y.Fragment){n.push.apply(n,bv(r.props.children,s));return}r.type!==Y&&et(!1),!r.props.index||!r.props.children||et(!1);let o={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=bv(r.props.children,s)),n.push(o)}),n}/**
59 * React Router DOM v6.30.1
60 *
61 * Copyright (c) Remix Software Inc.
62 *
63 * This source code is licensed under the MIT license found in the
64 * LICENSE.md file in the root directory of this source tree.
65 *
66 * @license MIT
67 */function xv(){return xv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xv.apply(this,arguments)}function t3(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function n3(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function r3(e,t){return e.button===0&&(!t||t==="_self")&&!n3(e)}function wv(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function i3(e,t){let n=wv(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(s=>{n.append(i,s)})}),n}const s3=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],o3="6";try{window.__reactRouterVersion=o3}catch{}const a3="startTransition",S1=ib[a3];function l3(e){let{basename:t,children:n,future:r,window:i}=e,s=y.useRef();s.current==null&&(s.current=pD({window:i,v5Compat:!0}));let o=s.current,[a,c]=y.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},p=y.useCallback(d=>{u&&S1?S1(()=>c(d)):c(d)},[c,u]);return y.useLayoutEffect(()=>o.listen(p),[o,p]),y.useEffect(()=>XD(r),[r]),y.createElement(ZD,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const c3=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",u3=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ie=y.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:a,target:c,to:u,preventScrollReset:p,viewTransition:d}=t,h=t3(t,s3),{basename:f}=y.useContext(ys),m,g=!1;if(typeof u=="string"&&u3.test(u)&&(m=u,c3))try{let w=new URL(window.location.href),k=u.startsWith("//")?new URL(w.protocol+u):new URL(u),S=Xb(k.pathname,f);k.origin===w.origin&&S!=null?u=S+k.search+k.hash:g=!0}catch{}let x=MD(u,{relative:i}),v=d3(u,{replace:o,state:a,target:c,preventScrollReset:p,relative:i,viewTransition:d});function b(w){r&&r(w),w.defaultPrevented||v(w)}return y.createElement("a",xv({},h,{href:m||x,onClick:g||s?r:b,ref:n,target:c}))});var _1;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(_1||(_1={}));var E1;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(E1||(E1={}));function d3(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,c=fo(),u=Ct(),p=BE(e,{relative:o});return y.useCallback(d=>{if(r3(d,n)){d.preventDefault();let h=r!==void 0?r:Cp(u)===Cp(p);c(e,{replace:h,state:i,preventScrollReset:s,relative:o,viewTransition:a})}},[u,c,p,r,i,n,e,s,o,a])}function zE(e){let t=y.useRef(wv(e)),n=y.useRef(!1),r=Ct(),i=y.useMemo(()=>i3(r.search,n.current?null:t.current),[r.search]),s=fo(),o=y.useCallback((a,c)=>{const u=wv(typeof a=="function"?a(i):a);n.current=!0,s("?"+u,c)},[s,i]);return[i,o]}var T1=["light","dark"],p3="(prefers-color-scheme: dark)",h3=y.createContext(void 0),f3={setTheme:e=>{},themes:[]},m3=()=>{var e;return(e=y.useContext(h3))!=null?e:f3};y.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:s,value:o,attrs:a,nonce:c})=>{let u=s==="system",p=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(m=>`'${m}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?T1.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(m,g=!1,x=!0)=>{let v=o?o[m]:m,b=g?m+"|| ''":`'${v}'`,w="";return i&&x&&!g&&T1.includes(m)&&(w+=`d.style.colorScheme = '${m}';`),n==="class"?g||v?w+=`c.add(${b})`:w+="null":v&&(w+=`d[s](n,${b})`),w},f=e?`!function(){${p}${h(e)}}()`:r?`!function(){try{${p}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${p3}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}${u?"":"else{"+h(s,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${p}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}else{${h(s,!1,!1)};}${d}}catch(t){}}();`;return y.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:f}})});var g3=e=>{switch(e){case"success":return b3;case"info":return w3;case"warning":return x3;case"error":return k3;default:return null}},v3=Array(12).fill(0),y3=({visible:e,className:t})=>O.createElement("div",{className:["sonner-loading-wrapper",t].filter(
67Boolean).join(" "),"data-visible":e},O.createElement("div",{className:"sonner-spinner"},v3.map((n,r)=>O.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),b3=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),x3=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),w3=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),k3=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),C3=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},O.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),O.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),j3=()=>{let[e,t]=O.useState(document.hidden);return O.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},kv=1,S3=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:kv++,s=this.toasts.find(a=>a.id===i),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),s?this.toasts=this.toasts.map(a=>a.id===i?(this.publish({...a,...e,id:i,title:n}),{...a,...e,id:i,dismissible:o,title:n}):a):this.addToast({title:n,...r,dismissible:o,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
67this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0,s,o=r.then(async c=>{if(s=["resolve",c],O.isValidElement(c))i=!1,this.create({id:n,type:"default",message:c});else if(E3(c)&&!c.ok){i=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,p=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:p})}else if(t.success!==void 0){i=!1;let u=typeof t.success=="function"?await t.success(c):t.success,p=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:p})}}).catch(async c=>{if(s=["reject",c],t.error!==void 0){i=!1;let u=typeof t.error=="function"?await t.error(c):t.error,p=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:p})}}).finally(()=>{var c;i&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),a=()=>new Promise((c,u)=>o.then(()=>s[0]==="reject"?u(s[1]):c(s[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||kv++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Gt=new S3,_3=(e,t)=>{let n=(t==null?void 0:t.id)||kv++;return Gt.addToast({title:e,...t,id:n}),n},E3=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",T3=_3,P3=()=>Gt.toasts,A3=()=>Gt.getActiveToasts(),P1=Object.assign(T3,{success:Gt.success,info:Gt.info,warning:Gt.warning,error:Gt.error,custom:Gt.custom,message:Gt.message,promise:Gt.promise,dismiss:Gt.dismiss,loading:Gt.loading},{getHistory:P3,getToasts:A3});function N3(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}N3(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
67left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
67:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
67--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
68`);function Ou(e){return e.label!==void 0}var R3=3,q3="32px",I3="16px",A1=4e3,L3=356,O3=14,D3=20,M3=200;function Fn(...e){return e.filter(Boolean).join(" ")}function B3(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var $3=e=>{var t,n,r,i,s,o,a,c,u,p,d;let{invert:h,toast:f,unstyled:m,interacting:g,setHeights:x,visibleToasts:v,heights:b,index:w,toasts:k,expanded:S,removeToast:C,defaultRichColors:T,closeButton:P,style:R,cancelButtonStyle:j,actionButtonStyle:q,className:A="",descriptionClassName:D="",duration:L,position:$,gap:B,loadingIcon:V,expandByDefault:I,classNames:N,icons:_,closeButtonAriaLabel:z="Close toast",pauseWhenPageIsHidden:H}=e,[E,Q]=O.useState(null),[ne,ae]=O.useState(null),[ce,Ye]=O.useState(!1),[Te,vt]=O.useState(!1),[tn,mi]=O.useState(!1),[pr,yo]=O.useState(!1),[bo,ks]=O.useState(!1),[xo,Cs]=O.useState(0),[zr,rl]=O.useState(0),js=O.useRef(f.duration||L||A1),mu=O.useRef(null),Ur=O.useRef(null),Sf=w===0,_f=w+1<=v,M=f.type,G=f.dismissible!==!1,ue=f.className||"",ye=f.descriptionClassName||"",je=O.useMemo(()=>b.findIndex(pe=>pe.toastId===f.id)||0,[b,f.id]),nn=O.useMemo(()=>{var pe;
68return(pe=f.closeButton)!=null?pe:P},[f.closeButton,P]),hr=O.useMemo(()=>f.duration||L||A1,[f.duration,L]),rn=O.useRef(0),bn=O.useRef(0),gi=O.useRef(0),it=O.useRef(null),[vi,On]=$.split("-"),Jw=O.useMemo(()=>b.reduce((pe,Pe,Be)=>Be>=je?pe:pe+Pe.height,0),[b,je]),Yw=j3(),OL=f.invert||h,Ef=M==="loading";bn.current=O.useMemo(()=>je*B+Jw,[je,Jw]),O.useEffect(()=>{js.current=hr},[hr]),O.useEffect(()=>{Ye(!0)},[]),O.useEffect(()=>{let pe=Ur.current;if(pe){let Pe=pe.getBoundingClientRect().height;return rl(Pe),x(Be=>[{toastId:f.id,height:Pe,position:f.position},...Be]),()=>x(Be=>Be.filter(Dn=>Dn.toastId!==f.id))}},[x,f.id]),O.useLayoutEffect(()=>{if(!ce)return;let pe=Ur.current,Pe=pe.style.height;pe.style.height="auto";let Be=pe.getBoundingClientRect().height;pe.style.height=Pe,rl(Be),x(Dn=>Dn.find(Mn=>Mn.toastId===f.id)?Dn.map(Mn=>Mn.toastId===f.id?{...Mn,height:Be}:Mn):[{toastId:f.id,height:Be,position:f.position},...Dn])},[ce,f.title,f.description,x,f.id]);let yi=O.useCallback(()=>{vt(!0),Cs(bn.current),x(pe=>pe.filter(Pe=>Pe.toastId!==f.id)),setTimeout(()=>{C(f)},M3)},[f,C,x,bn]);O.useEffect(()=>{if(f.promise&&M==="loading"||f.duration===1/0||f.type==="loading")return;let pe;return S||g||H&&Yw?(()=>{if(gi.current<rn.current){let Pe=new Date().getTime()-rn.current;js.current=js.current-Pe}gi.current=new Date().getTime()})():js.current!==1/0&&(rn.current=new Date().getTime(),pe=setTimeout(()=>{var Pe;(Pe=f.onAutoClose)==null||Pe.call(f,f),yi()},js.current)),()=>clearTimeout(pe)},[S,g,f,M,H,Yw,yi]),O.useEffect(()=>{f.delete&&yi()},[yi,f.delete]);function DL(){var pe,Pe,Be;return _!=null&&_.loading?O.createElement("div",{className:Fn(N==null?void 0:N.loader,(pe=f==null?void 0:f.classNames)==null?void 0:pe.loader,"sonner-loader"),"data-visible":M==="loading"},_.loading):V?O.createElement("div",{className:Fn(N==null?void 0:N.loader,(Pe=f==null?void 0:f.classNames)==null?void 0:Pe.loader,"sonner-loader"),"data-visible":M==="loading"},V):O.createElement(y3,{className:Fn(N==null?void 0:N.loader,(Be=f==null?void 0:f.classNames)==null?void 0:Be.loader),visible:M==="loading"})}return O.createElement("li",{tabIndex:0,ref:Ur,className:Fn(A,ue,N==null?void 0:N.toast,(t=f==null?void 0:f.classNames)==null?void 0:t.toast,N==null?void 0:N.default,N==null?void 0:N[M],(n=f==null?void 0:f.classNames)==null?void 0:n[M]),"data-sonner-toast":"","data-rich-colors":(r=f.richColors)!=null?r:T,"data-styled":!(f.jsx||f.unstyled||m),"data-mounted":ce,"data-promise":!!f.promise,"data-swiped":bo,"data-removed":Te,"data-visible":_f,"data-y-position":vi,"data-x-position":On,"data-index":w,"data-front":Sf,"data-swiping":tn,"data-dismissible":G,"data-type":M,"data-invert":OL,"data-swipe-out":pr,"data-swipe-direction":ne,"data-expanded":!!(S||I&&ce),style:{"--index":w,"--toasts-before":w,"--z-index":k.length-w,"--offset":`${Te?xo:bn.current}px`,"--initial-height":I?"auto":`${zr}px`,...R,...f.style},onDragEnd:()=>{mi(!1),Q(null),it.current=null},onPointerDown:pe=>{Ef||!G||(mu.current=new Date,Cs(bn.current),pe.target.setPointerCapture(pe.pointerId),pe.target.tagName!=="BUTTON"&&(mi(!0),it.current={x:pe.clientX,y:pe.clientY}))},onPointerUp:()=>{var pe,Pe,Be,Dn;if(pr||!G)return;it.current=null;let Mn=Number(((pe=Ur.current)==null?void 0:pe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),bi=Number(((Pe=Ur.current)==null?void 0:Pe.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ss=new Date().getTime()-((Be=mu.current)==null?void 0:Be.getTime()),Bn=E==="x"?Mn:bi,xi=Math.abs(Bn)/Ss;if(Math.abs(Bn)>=D3||xi>.11){Cs(bn.current),(Dn=f.onDismiss)==null||Dn.call(f,f),ae(E==="x"?Mn>0?"right":"left":bi>0?"down":"up"),yi(),yo(!0),ks(!1);return}mi(!1),Q(null)},onPointerMove:pe=>{var Pe,Be,Dn,Mn;if(!it.current||!G||((Pe=window.getSelection())==null?void 0:Pe.toString().length)>0)return;let bi=pe.clientY-it.current.y,Ss=pe.clientX-it.current.x,Bn=(Be=e.swipeDirections)!=null?Be:B3($);!E&&(Math.abs(Ss)>1||Math.abs(bi)>1)&&Q(Math.abs(Ss)>Math.abs(bi)?"x":"y");let xi={x:0,y:0};E==="y"?(Bn.includes("top")||Bn.includes("bottom"))&&(Bn.includes("top")&&bi<0||Bn.includes("bottom")&&bi>0)&&(xi.y=bi):E==="x"&&(Bn.includes("left")||Bn.includes("right"))&&(Bn.includes("left")&&Ss<0||Bn.includes("right")&&Ss>0)&&(xi.x=Ss),(Math.abs(xi.x)>0||Math.abs(xi.y)>0)&&ks(!0),(Dn=Ur.current)==null||Dn.style.setProperty("--swipe-amount-x",`${xi.x}px`),(Mn=Ur.current)==null||Mn.style.setProperty("--swipe-amount-y",`${xi.y}px`)}},nn&&!f.jsx?O.createElement("button",{"aria-label":z,"data-disabled":Ef,"data-close-button":!0,onClick:Ef||!G?()=>{}:()=>{var pe;yi(),(pe=f.onDismiss)==null||pe.call(f,f)},className:Fn(N==null?void 0:N.closeButton,(i=f==null?void 0:f.classNames)==null?void 0:i.closeButton)},(s=_==null?void 0:_.close)!=null?s:C3):null,f.jsx||y.isValidElement(f.title)?f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title:O.createElement(O.Fragment,null,M||f.icon||f.promise?O.createElement("div",{"data-icon":"",className:Fn(N==null?void 0:N.icon,(o=f==null?void 0:f.classNames)==null?void 0:o.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||DL():null,f.type!=="loading"?f.icon||(_==null?void 0:_[M])||g3(M):null):null,O.createElement("div",{"data-content":"",className:Fn(N==null?void 0:N.content,(a=f==null?void 0:f.classNames)==null?void 0:a.content)},O.createElement("div",{"data-title":"",className:Fn(N==null?void 0:N.title,(c=f==null?void 0:f.classNames)==null?void 0:c.title)},typeof f.title=="function"?f.title():f.title),f.description?O.createElement("div",{"data-description":"",className:Fn(D,ye,N==null?void 0:N.description,(u=f==null?void 0:f.classNames)==null?void 0:u.description)},typeof f.description=="function"?f.description():f.description):null),y.isValidElement(f.cancel)?f.cancel:f.cancel&&Ou(f.cancel)?O.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||j,onClick:pe=>{var Pe,Be;Ou(f.cancel)&&G&&((Be=(Pe=f.cancel).onClick)==null||Be.call(Pe,pe),yi())},className:Fn(N==null?void 0:N.cancelButton,(p=f==null?void 0:f.classNames)==null?void 0:p.cancelButton)},f.cancel.label):null,y.isValidElement(f.action)?f.action:f.action&&Ou(f.action)?O.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||q,onClick:pe=>{var Pe,Be;Ou(f.action)&&((Be=(Pe=f.action).onClick)==null||Be.call(Pe,pe),!pe.defaultPrevented&&yi())},className:Fn(N==null?void 0:N.actionButton,(d=f==null?void 0:f.classNames)==null?void 0:d.actionButton)},f.action.label):null))};function N1(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function F3(e,t){let n={};return[e,t].forEach((r,i)=>{let s=i===1,o=s?"--mobile-offset":"--offset",a=s?I3:q3;function c(u){["top","right","bottom","left"].forEach(p=>{n[`${o}-${p}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${o}-${u}`]=a:n[`${o}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(a)}),n}var z3=y.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:s,closeButton:o,className:a,offset:c,mobileOffset:u,theme:p="light",richColors:d,duration:h,style:f,visibleToasts:m=R3,toastOptions:g,dir:x=N1(),gap:v=O3,loadingIcon:b,icons:w,containerAriaLabel:k="Notifications",pauseWhenPageIsHidden:S}=e,[C,T]=O.useState([]),P=O.useMemo(()=>Array.from(new Set([r].concat(C.filter(H=>H.position).map(H=>H.position)))),[C,r]),[R,j]=O.useState([]),[q,A]=O.useState(!1),[D,L]=O.useState(!1),[$,B]=O.useState(p!=="system"?p:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
68k":"light"),V=O.useRef(null),I=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=O.useRef(null),_=O.useRef(!1),z=O.useCallback(H=>{T(E=>{var Q;return(Q=E.find(ne=>ne.id===H.id))!=null&&Q.delete||Gt.dismiss(H.id),E.filter(({id:ne})=>ne!==H.id)})},[]);return O.useEffect(()=>Gt.subscribe(H=>{if(H.dismiss){T(E=>E.map(Q=>Q.id===H.id?{...Q,delete:!0}:Q));return}setTimeout(()=>{vE.flushSync(()=>{T(E=>{let Q=E.findIndex(ne=>ne.id===H.id);return Q!==-1?[...E.slice(0,Q),{...E[Q],...H},...E.slice(Q+1)]:[H,...E]})})})}),[]),O.useEffect(()=>{if(p!=="system"){B(p);return}if(p==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?B("dark"):B("light")),typeof window>"u")return;let H=window.matchMedia("(prefers-color-scheme: dark)");try{H.addEventListener("change",({matches:E})=>{B(E?"dark":"light")})}catch{H.addListener(({matches:Q})=>{try{B(Q?"dark":"light")}catch(ne){console.error(ne)}})}},[p]),O.useEffect(()=>{C.length<=1&&A(!1)},[C]),O.useEffect(()=>{let H=E=>{var Q,ne;i.every(ae=>E[ae]||E.code===ae)&&(A(!0),(Q=V.current)==null||Q.focus()),E.code==="Escape"&&(document.activeElement===V.current||(ne=V.current)!=null&&ne.contains(document.activeElement))&&A(!1)};return document.addEventListener("keydown",H),()=>document.removeEventListener("keydown",H)},[i]),O.useEffect(()=>{if(V.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,_.current=!1)}},[V.current]),O.createElement("section",{ref:t,"aria-label":`${k} ${I}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map((H,E)=>{var Q;let[ne,ae]=H.split("-");return C.length?O.createElement("ol",{key:H,dir:x==="auto"?N1():x,tabIndex:-1,ref:V,className:a,"data-sonner-toaster":!0,"data-theme":$,"data-y-position":ne,"data-lifted":q&&C.length>1&&!s,"data-x-position":ae,style:{"--front-toast-height":`${((Q=R[0])==null?void 0:Q.height)||0}px`,"--width":`${L3}px`,"--gap":`${v}px`,...f,...F3(c,u)},onBlur:ce=>{_.current&&!ce.currentTarget.contains(ce.relatedTarget)&&(_.current=!1,N.current&&(N.current.focus({preventScroll:!0}),N.current=null))},onFocus:ce=>{ce.target instanceof HTMLElement&&ce.target.dataset.dismissible==="false"||_.current||(_.current=!0,N.current=ce.relatedTarget)},onMouseEnter:()=>A(!0),onMouseMove:()=>A(!0),onMouseLeave:()=>{D||A(!1)},onDragEnd:()=>A(!1),onPointerDown:ce=>{ce.target instanceof HTMLElement&&ce.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},C.filter(ce=>!ce.position&&E===0||ce.position===H).map((ce,Ye)=>{var Te,vt;return O.createElement($3,{key:ce.id,icons:w,index:Ye,toast:ce,defaultRichColors:d,duration:(Te=g==null?void 0:g.duration)!=null?Te:h,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:n,visibleToasts:m,closeButton:(vt=g==null?void 0:g.closeButton)!=null?vt:o,interacting:D,position:H,style:g==null?void 0:g.style,unstyled:g==null?void 0:g.unstyled,classNames:g==null?void 0:g.classNames,cancelButtonStyle:g==null?void 0:g.cancelButtonStyle,actionButtonStyle:g==null?void 0:g.actionButtonStyle,removeToast:z,toasts:C.filter(tn=>tn.position==ce.position),heights:R.filter(tn=>tn.position==ce.position),setHeights:j,expandByDefault:s,gap:v,loadingIcon:b,expanded:q,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const U3=({...e})=>{const{theme:t="system"}=m3();return l.jsx(z3,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},V3=1,W3=1e6;let am=0;function H3(){return am=(am+1)%Number.MAX_SAFE_INTEGER,am.toString()}const lm=new Map,R1=e=>{if(lm.has(e))return;const t=setTimeout(()=>{lm.delete(e),Fl({type:"REMOVE_TOAST",toastId:e})},W3);lm.set(e,t)},G3=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,V3)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;
68return n?R1(n):e.toasts.forEach(r=>{R1(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Ad=[];let Nd={toasts:[]};function Fl(e){Nd=G3(Nd,e),Ad.forEach(t=>{t(Nd)})}function K3({...e}){const t=H3(),n=i=>Fl({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Fl({type:"DISMISS_TOAST",toastId:t});return Fl({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function Eh(){const[e,t]=y.useState(Nd);return y.useEffect(()=>(Ad.push(t),()=>{const n=Ad.indexOf(t);n>-1&&Ad.splice(n,1)}),[e]),{...e,toast:K3,dismiss:n=>Fl({type:"DISMISS_TOAST",toastId:n})}}function X(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function q1(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Th(...e){return t=>{let n=!1;const r=e.map(i=>{const s=q1(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():q1(e[i],null)}}}}function _e(...e){return y.useCallback(Th(...e),e)}function J3(e,t){const n=y.createContext(t),r=s=>{const{children:o,...a}=s,c=y.useMemo(()=>a,Object.values(a));return l.jsx(n.Provider,{value:c,children:o})};r.displayName=e+"Provider";function i(s){const o=y.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,i]}function Ln(e,t=[]){let n=[];function r(s,o){const a=y.createContext(o),c=n.length;n=[...n,o];const u=d=>{var v;const{scope:h,children:f,...m}=d,g=((v=h==null?void 0:h[e])==null?void 0:v[c])||a,x=y.useMemo(()=>m,Object.values(m));return l.jsx(g.Provider,{value:x,children:f})};u.displayName=s+"Provider";function p(d,h){var g;const f=((g=h==null?void 0:h[e])==null?void 0:g[c])||a,m=y.useContext(f);if(m)return m;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${s}\``)}return[u,p]}const i=()=>{const s=n.map(o=>y.createContext(o));return function(a){const c=(a==null?void 0:a[e])||s;return y.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return i.scopeName=e,[r,Y3(i,...t)]}function Y3(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((a,{useScope:c,scopeName:u})=>{const d=c(s)[`__scope${u}`];return{...a,...d}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function oo(e){const t=X3(e),n=y.forwardRef((r,i)=>{const{children:s,...o}=r,a=y.Children.toArray(s),c=a.find(eM);if(c){const u=c.props.children,p=a.map(d=>d===c?y.Children.count(u)>1?y.Children.only(null):y.isValidElement(u)?u.props.children:null:d);return l.jsx(t,{...o,ref:i,children:y.isValidElement(u)?y.cloneElement(u,void 0,p):null})}return l.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}var Q3=oo("Slot");function X3(e){const t=y.forwardRef((n,r)=>{const{children:i,...s}=n;if(y.isValidElement(i)){const o=nM(i),a=tM(s,i.props);return i.type!==y.Fragment&&(a.ref=r?Th(r,o):o),y.cloneElement(i,a)}return y.Children.count(i)>1?y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var UE=Symbol("radix.slottable");function Z3(e){const t=({children:n})=>l.jsx(l.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=UE,t}function eM(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===UE}function tM(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...a)=>{const c=s(...a);return i(...a),c}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function nM(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Xc(e){const t=e+"CollectionProvider",[n,r]=Ln(t),[i,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=g=>{const{scope:x,children:v}=g,b=O.useRef(null),w=O.useRef(new Map).current;return l.jsx(i,{scope:x,itemMap:w,collectionRef:b,children:v})};o.displayName=t;const a=e+"CollectionSlot",c=oo(a),u=O.forwardRef((g,x)=>{const{scope:v,children:b}=g,w=s(a,v),k=_e(x,w.collectionRef);return l.jsx(c,{ref:k,children:b})});u.displayName=a;const p=e+"CollectionItemSlot",d="data-radix-collection-item",h=oo(p),f=O.forwardRef((g,x)=>{const{scope:v,children:b,...w}
vendor: 9,263 bytes, line 68
68=g,k=O.useRef(null),S=_e(x,k),C=s(p,v);return O.useEffect(()=>(C.itemMap.set(k,{ref:k,...w}),()=>void C.itemMap.delete(k))),l.jsx(h,{[d]:"",ref:S,children:b})});f.displayName=p;function m(g){const x=s(e+"CollectionConsumer",g);return O.useCallback(()=>{const b=x.collectionRef.current;if(!b)return[];const w=Array.from(b.querySelectorAll(`[${d}]`));return Array.from(x.itemMap.values()).sort((C,T)=>w.indexOf(C.ref.current)-w.indexOf(T.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:o,Slot:u,ItemSlot:f},m,r]}var rM=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ve=rM.reduce((e,t)=>{const n=oo(`Primitive.${t}`),r=y.forwardRef((i,s)=>{const{asChild:o,...a}=i,c=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(c,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function nx(e,t){e&&Yc.flushSync(()=>e.dispatchEvent(t))}function mn(e){const t=y.useRef(e);return y.useEffect(()=>{t.current=e}),y.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function iM(e,t=globalThis==null?void 0:globalThis.document){const n=mn(e);y.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var sM="DismissableLayer",Cv="dismissableLayer.update",oM="dismissableLayer.pointerDownOutside",aM="dismissableLayer.focusOutside",I1,VE=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Wa=y.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:a,...c}=e,u=y.useContext(VE),[p,d]=y.useState(null),h=(p==null?void 0:p.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=y.useState({}),m=_e(t,T=>d(T)),g=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),v=g.indexOf(x),b=p?g.indexOf(p):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=b>=v,S=cM(T=>{const P=T.target,R=[...u.branches].some(j=>j.contains(P));!k||R||(i==null||i(T),o==null||o(T),T.defaultPrevented||a==null||a())},h),C=uM(T=>{const P=T.target;[...u.branches].some(j=>j.contains(P))||(s==null||s(T),o==null||o(T),T.defaultPrevented||a==null||a())},h);return iM(T=>{b===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},h),y.useEffect(()=>{if(p)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(I1=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(p)),u.layers.add(p),L1(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=I1)}},[p,h,n,u]),y.useEffect(()=>()=>{p&&(u.layers.delete(p),u.layersWithOutsidePointerEventsDisabled.delete(p),L1())},[p,u]),y.useEffect(()=>{const T=()=>f({});return document.addEventListener(Cv,T),()=>document.removeEventListener(Cv,T)},[]),l.jsx(ve.div,{...c,ref:m,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:X(e.onFocusCapture,C.onFocusCapture),onBlurCapture:X(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:X(e.onPointerDownCapture,S.onPointerDownCapture)})});Wa.displayName=sM;var lM="DismissableLayerBranch",WE=y.forwardRef((e,t)=>{const n=y.useContext(VE),r=y.useRef(null),i=_e(t,r);return y.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx(ve.div,{...e,ref:i})});WE.displayName=lM;function cM(e,t=globalThis==null?void 0:globalThis.document){const n=mn(e),r=y.useRef(!1),i=y.useRef(()=>{});return y.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let c=function(){HE(oM,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=c,t.addEventListener("click",i.current,{once:!0})):c()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function uM(e,t=globalThis==null?void 0:globalThis.document){const n=mn(e),r=y.useRef(!1);return y.useEffect(()=>{const i=s=>{s.target&&!r.current&&HE(aM,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function L1(){const e=new CustomEvent(Cv);document.dispatchEvent(e)}function HE(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?nx(i,s):i.dispatchEvent(s)}var dM=Wa,pM=WE,Lr=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{},hM="Portal",Zc=y.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,s]=y.useState(!1);Lr(()=>s(!0),[]);const o=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?vE.createPortal(l.jsx(ve.div,{...r,ref:t}),o):null});Zc.displayName=hM;function fM(e,t){return y.useReducer((n,r)=>t[n][r]??n,e)}var yn=e=>{const{present:t,children:n}=e,r=mM(t),i=typeof n=="function"?n({present:r.isPresent}):y.Children.only(n),s=_e(r.ref,gM(i));return typeof n=="function"||r.isPresent?y.cloneElement(i,{ref:s}):null};yn.displayName="Presence";function mM(e){const[t,n]=y.useState(),r=y.useRef(null),i=y.useRef(e),s=y.useRef("none"),o=e?"mounted":"unmounted",[a,c]=fM(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const u=Du(r.current);s.current=a==="mounted"?u:"none"},[a]),Lr(()=>{const u=r.current,p=i.current;if(p!==e){const h=s.current,f=Du(u);e?c("MOUNT"):f==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(p&&h!==f?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,c]),Lr(()=>{if(t){let u;const p=t.ownerDocument.defaultView??window,d=f=>{const g=Du(r.current).includes(f.animationName);if(f.target===t&&g&&(c("ANIMATION_END"),!i.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},h=f=>{f.target===t&&(s.current=Du(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{p.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:y.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Du(e){return(e==null?void 0:e.animationName)||"none"}function gM(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var vM=ib[" useInsertionEffect ".trim().toString()]||Lr;function Mr({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,s,o]=yM({defaultProp:t,onChange:n}),a=e!==void 0,c=a?e:i;{const p=y.useRef(e!==void 0);y.useEffect(()=>{const d=p.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=a},[a,r])}const u=y.useCallback(p=>{var d;if(a){const h=bM(p)?p(e):p;h!==e&&((d=o.current)==null||d.call(o,h))}else s(p)},[a,e,s,o]);return[c,u]}function yM({defaultProp:e,onChange:t}){const[n,r]=y.useState(e),i=y.useRef(n),s=y.useRef(t);return vM(()=>{s.current=t},[t]),y.useEffect(()=>{var o;i.current!==n&&((o=s.current)==null||o.call(s,n),i.current=n)},[n,i]),[n,r,s]}function bM(e){return typeof e=="function"}var xM=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),wM="VisuallyHidden",Ph=y.forwardRef((e,t)=>l.jsx(ve.span,{...e,ref:t,style:{...xM,...e.style}}));Ph.displayName=wM;var kM=Ph,rx="ToastProvider",[ix,CM,jM]=Xc("Toast"),[GE,Dme]=Ln("Toast",[jM]),[SM,Ah]=GE(rx),KE=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:s=50,children:o}=e,[a,c]=y.useState(null),[u,p]=y.useState(0),d=y.useRef(!1),h=y.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${rx}\`. Expected non-empty \`string\`.`),l.jsx(ix.Provider,{scope:t,children:l.jsx(SM,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:c,onToastAdd:y.useCallback(()=>p(f=>f+1),[]),onToastRemove:y.useCallback(()=>p(f=>f-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:h,children:o})})};KE.displayName=rx;var JE="ToastViewport",_M=["F8"],jv="toast.viewportPause",Sv="toast.viewportResume",YE=y.forwardRef((e,t)=>
68{const{__scopeToast:n,hotkey:r=_M,label:i="Notifications ({hotkey})",...s}=e,o=Ah(JE,n),a=CM(n),c=y.useRef(null),u=y.useRef(null),p=y.useRef(null),d=y.useRef(null),h=_e(t,d,o.onViewportChange),f=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),m=o.toastCount>0;y.useEffect(()=>{const x=v=>{var w;r.length!==0&&r.every(k=>v[k]||v.code===k)&&((w=d.current)==null||w.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),y.useEffect(()=>{const x=c.current,v=d.current;if(m&&x&&v){const b=()=>{if(!o.isClosePausedRef.current){const C=new CustomEvent(jv);v.dispatchEvent(C),o.isClosePausedRef.current=!0}},w=()=>{if(o.isClosePausedRef.current){const C=new CustomEvent(Sv);v.dispatchEvent(C),o.isClosePausedRef.current=!1}},k=C=>{!x.contains(C.relatedTarget)&&w()},S=()=>{x.contains(document.activeElement)||w()};return x.addEventListener("focusin",b),x.addEventListener("focusout",k),x.addEventListener("pointermove",b),x.addEventListener("pointerleave",S),window.addEventListener("blur",b),window.addEventListener("focus",w),()=>{x.removeEventListener("focusin",b),x.removeEventListener("focusout",k),x.removeEventListener("pointermove",b),x.removeEventListener("pointerleave",S),window.removeEventListener("blur",b),window.removeEventListener("focus",w)}}},[m,o.isClosePausedRef]);const g=y.useCallback(({tabbingDirection:x})=>{const b=a().map(w=>{const k=w.ref.current,S=[k,...BM(k)];return x==="forwards"?S:S.reverse()});return(x==="forwards"?b.reverse():b).flat()},[a]);return y.useEffect(()=>{const x=d.current;if(x){const v=b=>{var S,C,T;const w=b.altKey||b.ctrlKey||b.metaKey;if(b.key==="Tab"&&!w){const P=document.activeElement,R=b.shiftKey;if(b.target===x&&R){(S=u.current)==null||S.focus();return}const A=g({tabbingDirection:R?"backwards":"forwards"}),D=A.findIndex(L=>L===P);cm(A.slice(D+1))?b.preventDefault():R?(C=u.current)==null||C.focus():(T=p.current)==null||T.focus()}};return x.addEventListener("keydown",v),()=>x.removeEventListener("keydown",v)}},[a,g]),l.jsxs(pM,{ref:c,role:"region","aria-label":i.replace("{hotkey}",f),tabIndex:-1,style:{pointerEvents:m?void 0:"none"},children:[m&&l.jsx(_v,{ref:u,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"forwards"});cm(x)}}),l.jsx(ix.Slot,{scope:n,children:l.jsx(ve.ol,{tabIndex:-1,...s,ref:h})}),m&&l.jsx(_v,{ref:p,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"backwards"});cm(x)}})]})});YE.displayName=JE;var QE="ToastFocusProxy",_v=y.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,s=Ah(QE,n);return l.jsx(Ph,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const a=o.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});_v.displayName=QE;var eu="Toast",EM="toast.swipeStart",TM="toast.swipeMove",PM="toast.swipeCancel",AM="toast.swipeEnd",XE=y.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:s,...o}=e,[a,c]=Mr({prop:r,defaultProp:i??!0,onChange:s,caller:eu});return l.jsx(yn,{present:n||a,children:l.jsx(qM,{open:a,...o,ref:t,onClose:()=>c(!1),onPause:mn(e.onPause),onResume:mn(e.onResume),onSwipeStart:X(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:X(e.onSwipeMove,u=>{const{x:p,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${p}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:X(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:X(e.onSwipeEnd,u=>{const{x:p,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${p}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),c(!1)})})})});XE.displayName=eu;var[NM,RM]=GE(eu,{onClose(){}}),qM=y.forwardRef((e,t)=>
68{const{__scopeToast:n,type:r="foreground",duration:i,open:s,onClose:o,onEscapeKeyDown:a,onPause:c,onResume:u,onSwipeStart:p,onSwipeMove:d,onSwipeCancel:h,onSwipeEnd:f,...m}=e,g=Ah(eu,n),[x,v]=y.useState(null),b=_e(t,L=>v(L)),w=y.useRef(null),k=y.useRef(null),S=i||g.duration,C=y.useRef(0),T=y.useRef(S),P=y.useRef(0),{onToastAdd:R,onToastRemove:j}=g,q=mn(()=>{var $;(x==null?void 0:x.contains(document.activeElement))&&(($=g.viewport)==null||$.focus()),o()}),A=y.useCallback(L=>{!L||L===1/0||(window.clearTimeout(P.current),C.current=new Date().getTime(),P.current=window.setTimeout(q,L))},[q]);y.useEffect(()=>{const L=g.viewport;if(L){const $=()=>{A(T.current),u==null||u()},B=()=>{const V=new Date().getTime()-C.current;T.current=T.current-V,window.clearTimeout(P.current),c==null||c()};return L.addEventListener(jv,B),L.addEventListener(Sv,$),()=>{L.removeEventListener(jv,B),L.removeEventListener(Sv,$)}}},[g.viewport,S,c,u,A]),y.useEffect(()=>{s&&!g.isClosePausedRef.current&&A(S)},[s,S,g.isClosePausedRef,A]),y.useEffect(()=>(R(),()=>j()),[R,j]);const D=y.useMemo(()=>x?sT(x):null,[x]);return g.viewport?l.jsxs(l.Fragment,{children:[D&&l.jsx(IM,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:D}),l.jsx(NM,{scope:n,onClose:q,children:Yc.createPortal(l.jsx(ix.ItemSlot,{scope:n,children:l.jsx(dM,{asChild:!0,onEscapeKeyDown:X(a,()=>{g.isFocusedToastEscapeKeyDownRef.current||q(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx(ve.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":g.swipeDirection,...m,ref:b,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:X(e.onKeyDown,L=>{L.key==="Escape"&&(a==null||a(L.nativeEvent),L.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,q()))}),onPointerDown:X(e.onPointerDown,L=>{L.button===0&&(w.current={x:L.clientX,y:L.clientY})}),onPointerMove:X(e.onPointerMove,L=>{if(!w.current)return;const $=L.clientX-w.current.x,B=L.clientY-w.current.y,V=!!k.current,I=["left","right"].includes(g.swipeDirection),N=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,_=I?N(0,$):0,z=I?0:N(0,B),H=L.pointerType==="touch"?10:2,E={x:_,y:z},Q={originalEvent:L,delta:E};V?(k.current=E,Mu(TM,d,Q,{discrete:!1})):O1(E,g.swipeDirection,H)?(k.current=E,Mu(EM,p,Q,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs($)>H||Math.abs(B)>H)&&(w.current=null)}),onPointerUp:X(e.onPointerUp,L=>{const $=k.current,B=L.target;if(B.hasPointerCapture(L.pointerId)&&B.releasePointerCapture(L.pointerId),k.current=null,w.current=null,$){const V=L.currentTarget,I={originalEvent:L,delta:$};O1($,g.swipeDirection,g.swipeThreshold)?Mu(AM,f,I,{discrete:!0}):Mu(PM,h,I,{discrete:!0}),V.addEventListener("click",N=>N.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),IM=e=>{const{__scopeToast:t,children:n,...r}=e,i=Ah(eu,t),[s,o]=y.useState(!1),[a,c]=y.useState(!1);return DM(()=>o(!0)),y.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:l.jsx(Zc,{asChild:!0,children:l.jsx(Ph,{...r,children:s&&l.jsxs(l.Fragment,{children:[i.label," ",n]})})})},LM="ToastTitle",ZE=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(ve.div,{...r,ref:t})});ZE.displayName=LM;var OM="ToastDescription",eT=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(ve.div,{...r,ref:t})});eT.displayName=OM;var tT="ToastAction",nT=y.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?l.jsx(iT,{altText:n,asChild:!0,children:l.jsx(sx,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${tT}\`. Expected non-empty \`string\`.`),null)});nT.displayName=tT;var rT="ToastClose",sx=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=RM(rT,n);return l.jsx(iT,{asChild:!0,children:l.jsx(ve.button,{type:"button",...r,ref:t,onClick:X(e.onClick,i.onClose)})})});sx.displayName=rT;var iT=y.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return l.jsx(ve.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function sT(e){const t=[];
vendor: 7,185 bytes, lines 68-128
68return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),MM(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!i)if(s){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...sT(r))}}),t}function Mu(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?nx(i,s):i.dispatchEvent(s)}var O1=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),s=r>i;return t==="left"||t==="right"?s&&r>n:!s&&i>n};function DM(e=()=>{}){const t=mn(e);Lr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function MM(e){return e.nodeType===e.ELEMENT_NODE}function BM(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function cm(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var $M=KE,oT=YE,aT=XE,lT=ZE,cT=eT,uT=nT,dT=sx;function pT(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=pT(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function hT(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=pT(e))&&(r&&(r+=" "),r+=t);return r}const D1=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,M1=hT,tu=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return M1(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(u=>{const p=n==null?void 0:n[u],d=s==null?void 0:s[u];if(p===null)return null;const h=D1(p)||D1(d);return i[u][h]}),a=n&&Object.entries(n).reduce((u,p)=>{let[d,h]=p;return h===void 0||(u[d]=h),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,p)=>{let{class:d,className:h,...f}=p;return Object.entries(f).every(m=>{let[g,x]=m;return Array.isArray(x)?x.includes({...s,...a}[g]):{...s,...a}[g]===x})?[...u,d,h]:u},[]);return M1(e,o,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
69 * @license lucide-react v0.462.0 - ISC
70 *
71 * This source code is licensed under the ISC license.
72 * See the LICENSE file in the root directory of this source tree.
73 */const FM=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),fT=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
74 * @license lucide-react v0.462.0 - ISC
75 *
76 * This source code is licensed under the ISC license.
77 * See the LICENSE file in the root directory of this source tree.
78 */var zM={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
79 * @license lucide-react v0.462.0 - ISC
80 *
81 * This source code is licensed under the ISC license.
82 * See the LICENSE file in the root directory of this source tree.
83 */const UM=y.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...a},c)=>y.createElement("svg",{ref:c,...zM,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:fT("lucide",i),...a},[...o.map(([u,p])=>y.createElement(u,p)),...Array.isArray(s)?s:[s]]));/**
84 * @license lucide-react v0.462.0 - ISC
85 *
86 * This source code is licensed under the ISC license.
87 * See the LICENSE file in the root directory of this source tree.
88 */const fe=(e,t)=>{const n=y.forwardRef(({className:r,...i},s)=>y.createElement(UM,{ref:s,iconNode:t,className:fT(`lucide-${FM(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
89 * @license lucide-react v0.462.0 - ISC
90 *
91 * This source code is licensed under the ISC license.
92 * See the LICENSE file in the root directory of this source tree.
93 */const ox=fe("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/**
94 * @license lucide-react v0.462.0 - ISC
95 *
96 * This source code is licensed under the ISC license.
97 * See the LICENSE file in the root directory of this source tree.
98 */const Nh=fe("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
99 * @license lucide-react v0.462.0 - ISC
100 *
101 * This source code is licensed under the ISC license.
102 * See the LICENSE file in the root directory of this source tree.
103 */const ci=fe("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
104 * @license lucide-react v0.462.0 - ISC
105 *
106 * This source code is licensed under the ISC license.
107 * See the LICENSE file in the root directory of this source tree.
108 */const Je=fe("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/**
109 * @license lucide-react v0.462.0 - ISC
110 *
111 * This source code is licensed under the ISC license.
112 * See the LICENSE file in the root directory of this source tree.
113 */const mT=fe("BadgeCheck",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
114 * @license lucide-react v0.462.0 - ISC
115 *
116 * This source code is licensed under the ISC license.
117 * See the LICENSE file in the root directory of this source tree.
118 */const gT=fe("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);/**
119 * @license lucide-react v0.462.0 - ISC
120 *
121 * This source code is licensed under the ISC license.
122 * See the LICENSE file in the root directory of this source tree.
123 */const VM=fe("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
124 * @license lucide-react v0.462.0 - ISC
125 *
126 * This source code is licensed under the ISC license.
127 * See the LICENSE file in the root directory of this source tree.
128 */const WM=fe("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
128],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
129 * @license lucide-react v0.462.0 - ISC
130 *
131 * This source code is licensed under the ISC license.
132 * See the LICENSE file in the root directory of this source tree.
133 */const HM=fe("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
134 * @license lucide-react v0.462.0 - ISC
135 *
136 * This source code is licensed under the ISC license.
137 * See the LICENSE file in the root directory of this source tree.
138 */const vT=fe("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
139 * @license lucide-react v0.462.0 - ISC
140 *
141 * This source code is licensed under the ISC license.
142 * See the LICENSE file in the root directory of this source tree.
143 */const Sp=fe("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
144 * @license lucide-react v0.462.0 - ISC
145 *
146 * This source code is licensed under the ISC license.
147 * See the LICENSE file in the root directory of this source tree.
148 */const yT=fe("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
149 * @license lucide-react v0.462.0 - ISC
150 *
151 * This source code is licensed under the ISC license.
152 * See the LICENSE file in the root directory of this source tree.
153 */const Rh=fe("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
154 * @license lucide-react v0.462.0 - ISC
155 *
156 * This source code is licensed under the ISC license.
157 * See the LICENSE file in the root directory of this source tree.
158 */const GM=fe("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
159 * @license lucide-react v0.462.0 - ISC
160 *
161 * This source code is licensed under the ISC license.
162 * See the LICENSE file in the root directory of this source tree.
163 */const KM=fe("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
164 * @license lucide-react v0.462.0 - ISC
165 *
166 * This source code is licensed under the ISC license.
167 * See the LICENSE file in the root directory of this source tree.
168 */const JM=fe("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
169 * @license lucide-react v0.462.0 - ISC
170 *
171 * This source code is licensed under the ISC license.
172 * See the LICENSE file in the root directory of this source tree.
173 */const YM=fe("CloudLightning",[["path",{d:"M6 16.326A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 .5 8.973",key:"1cez44"}],["path",{d:"m13 12-3 5h4l-3 5",key:"1t22er"}]]);/**
174 * @license lucide-react v0.462.0 - ISC
175 *
176 * This source code is licensed under the ISC license.
177 * See the LICENSE file in the root directory of this source tree.
178 */const ax=fe("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
179 * @license lucide-react v0.462.0 - ISC
180 *
181 * This source code is licensed under the ISC license.
182 * See the LICENSE file in the root directory of this source tree.
183 */const QM=fe("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/**
184 * @license lucide-react v0.462.0 - ISC
185 *
186 * This source code is licensed under the ISC license.
187 * See the LICENSE file in the root directory of this source tree.
188 */const Ev=fe("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
189 * @license lucide-react v0.462.0 - ISC
190 *
191 * This source code is licensed under the ISC license.
192 * See the LICENSE file in the root directory of this source tree.
193 */const XM=fe("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/**
194 * @license lucide-react v0.462.0 - ISC
195 *
196 * This source code is licensed under the ISC license.
197 * See the LICENSE file in the root directory of this source tree.
198 */const bT=fe("HeartHandshake",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M12 5 9.04 7.96a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66",key:"4oyue0"}],["path",{d:"m18 15-2-2",key:"60u0ii"}],["path",{d:"m15 18-2-2",key:"6p76be"}]]);/**
199 * @license lucide-react v0.462.0 - ISC
200 *
201 * This source code is licensed under the ISC license.
202 * See the LICENSE file in the root directory of this source tree.
203 */const wc=fe("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
204 * @license lucide-react v0.462.0 - ISC
205 *
206 * This source code is licensed under the ISC license.
207 * See the LICENSE file in the root directory of this source tree.
208 */const ZM=fe("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);/**
209 * @license lucide-react v0.462.0 - ISC
210 *
211 * This source code is licensed under the ISC license.
212 * See the LICENSE file in the root directory of this source tree.
213 */const e6=fe("Leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]);/**
214 * @license lucide-react v0.462.0 - ISC
215 *
216 * This source code is licensed under the ISC license.
217 * See the LICENSE file in the root directory of this source tree.
218 */const t6=fe("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
219 * @license lucide-react v0.462.0 - ISC
220 *
221 * This source code is licensed under the ISC license.
222 * See the LICENSE file in the root directory of this source tree.
223 */const xT=fe("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
224 * @license lucide-react v0.462.0 - ISC
225 *
226 * This source code is licensed under the ISC license.
227 * See the LICENSE file in the root directory of this source tree.
228 */const qh=fe("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]]);/**
229 * @license lucide-react v0.462.0 - ISC
230 *
231 * This source code is licensed under the ISC license.
232 * See the LICENSE file in the root directory of this source tree.
233 */const n6=fe("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
234 * @license lucide-react v0.462.0 - ISC
235 *
236 * This source code is licensed under the ISC license.
237 * See the LICENSE file in the root directory of this source tree.
238 */const wT=fe("MessageCircleHeart",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M15.8 9.2a2.5 2.5 0 0 0-3.5 0l-.3.4-.35-.3a2.42 2.42 0 1 0-3.2 3.6l3.6 3.5 3.6-3.5c1.2-1.2 1.1-2.7.2-3.7",key:"43lnbm"}]]);/**
239 * @license lucide-react v0.462.0 - ISC
240 *
241 * This source code is licensed under the ISC license.
242 * See the LICENSE file in the root directory of this source tree.
243 */const r6=fe("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
244 * @license lucide-react v0.462.0 - ISC
245 *
246 * This source code is licensed under the ISC license.
247 * See the LICENSE file in the root directory of this source tree.
248 */const i6=fe("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
249 * @license lucide-react v0.462.0 - ISC
250 *
251 * This source code is licensed under the ISC license.
252 * See the LICENSE file in the root directory of this source tree.
253 */const kT=fe("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
254 * @license lucide-react v0.462.0 - ISC
255 *
256 * This source code is licensed under the ISC license.
257 * See the LICENSE file in the root directory of this source tree.
258 */const lx=fe("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
259 * @license lucide-react v0.462.0 - ISC
260 *
261 * This source code is licensed under the ISC license.
262 * See the LICENSE file in the root directory of this source tree.
263 */const CT=fe("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
264 * @license lucide-react v0.462.0 - ISC
265 *
266 * This source code is licensed under the ISC license.
267 * See the LICENSE file in the root directory of this source tree.
268 */const s6=fe("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
269 * @license lucide-react v0.462.0 - ISC
270 *
271 * This source code is licensed under the ISC license.
272 * See the LICENSE file in the root directory of this source tree.
273 */const o6=fe("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
274 * @license lucide-react v0.462.0 - ISC
275 *
276 * This source code is licensed under the ISC license.
277 * See the LICENSE file in the root directory of this source tree.
278 */const kc=fe("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
279 * @license lucide-react v0.462.0 - ISC
280 *
281 * This source code is licensed under the ISC license.
282 * See the LICENSE file in the root directory of this source tree.
283 */const a6=fe("Sprout",[["path",{d:"M7 20h10",key:"e6iznv"}],["path",{d:"M10 20c5.5-2.5.8-6.4 3-10",key:"161w41"}],["path",{d:"M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z",key:"9gtqwd"}],["path",{d:"M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z",key:"bkxnd2"}]]);/**
284 * @license lucide-react v0.462.0 - ISC
285 *
286 * This source code is licensed under the ISC license.
287 * See the LICENSE file in the root directory of this source tree.
288 */const l6=fe("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
289 * @license lucide-react v0.462.0 - ISC
290 *
291 * This source code is licensed under the ISC license.
292 * See the LICENSE file in the root directory of this source tree.
293 */const c6=fe("UsersRound",[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]]);/**
294 * @license lucide-react v0.462.0 - ISC
295 *
296 * This source code is licensed under the ISC license.
297 * See the LICENSE file in the root directory of this source tree.
298 */const _p=fe("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
299 * @license lucide-react v0.462.0 - ISC
300 *
301 * This source code is licensed under the ISC license.
302 * See the LICENSE file in the root directory of this source tree.
303 */const lr=fe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,913 bytes, line 303
303],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),cx="-",u6=e=>{const t=p6(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(cx);return a[0]===""&&a.length!==1&&a.shift(),jT(a,t)||d6(o)},getConflictingClassGroupIds:(o,a)=>{const c=n[o]||[];return a&&r[o]?[...c,...r[o]]:c}}},jT=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?jT(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(cx);return(o=t.validators.find(({validator:a})=>a(s)))==null?void 0:o.classGroupId},B1=/^\[(.+)\]$/,d6=e=>{if(B1.test(e)){const t=B1.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},p6=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return f6(Object.entries(e.classGroups),n).forEach(([s,o])=>{Tv(o,r,s,t)}),r},Tv=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:$1(t,i);s.classGroupId=n;return}if(typeof i=="function"){if(h6(i)){Tv(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{Tv(o,$1(t,s),n,r)})})},$1=(e,t)=>{let n=e;return t.split(cx).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},h6=e=>e.isThemeGetter,f6=(e,t)=>t?e.map(([n,r])=>{const i=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,a])=>[t+o,a])):s);return[n,i]}):e,m6=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(s,o)=>{n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}},ST="!",g6=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],s=t.length,o=a=>{const c=[];let u=0,p=0,d;for(let x=0;x<a.length;x++){let v=a[x];if(u===0){if(v===i&&(r||a.slice(x,x+s)===t)){c.push(a.slice(p,x)),p=x+s;continue}if(v==="/"){d=x;continue}}v==="["?u++:v==="]"&&u--}const h=c.length===0?a:a.substring(p),f=h.startsWith(ST),m=f?h.substring(1):h,g=d&&d>p?d-p:void 0;return{modifiers:c,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:g}};return n?a=>n({className:a,parseClassName:o}):o},v6=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},y6=e=>({cache:m6(e.cacheSize),parseClassName:g6(e),...u6(e)}),b6=/\s+/,x6=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=[],o=e.trim().split(b6);let a="";for(let c=o.length-1;c>=0;c-=1){const u=o[c],{modifiers:p,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:f}=n(u);let m=!!f,g=r(m?h.substring(0,f):h);if(!g){if(!m){a=u+(a.length>0?" "+a:a);continue}if(g=r(h),!g){a=u+(a.length>0?" "+a:a);continue}m=!1}const x=v6(p).join(":"),v=d?x+ST:x,b=v+g;if(s.includes(b))continue;s.push(b);const w=i(g,m);for(let k=0;k<w.length;++k){const S=w[k];s.push(v+S)}a=u+(a.length>0?" "+a:a)}return a};function w6(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=_T(t))&&(r&&(r+=" "),r+=n);return r}const _T=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=_T(e[r]))&&(n&&(n+=" "),n+=t);return n};function k6(e,...t){let n,r,i,s=o;function o(c){const u=t.reduce((p,d)=>d(p),e());return n=y6(u),r=n.cache.get,i=n.cache.set,s=a,a(c)}function a(c){const u=r(c);if(u)return u;const p=x6(c,n);return i(c,p),p}return function(){return s(w6.apply(null,arguments))}}const Le=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},ET=/^\[(?:([a-z-]+):)?(.+)\]$/i,C6=/^\d+\/\d+$/,j6=new Set(["px","full","screen"]),S6=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_6=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,E6=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,T6=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,P6=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Wr=e=>ua(e)||j6.has(e)||C6.test(e),ki=e=>Ha(e,"length",D6),ua=e=>!!e&&!Number.isNaN(Number(e)),um=e=>Ha(e,"number",ua),fl=e=>!!e&&Number.isInteger(Number(e)),A6=e=>e.endsWith("%")&&ua(e.slice(0,-1)),ge=e=>ET.test(e),Ci=e=>S6.test(e),N6=new Set(["length","size","percentage"]),R6=e=>Ha(e,N6,TT),q6=e=>Ha(e,"position",TT),I6=new Set(["image","url"]),L6=e=>Ha(e,I6,B6),O6=e=>Ha(e,"",M6),ml=()=>!0,Ha=(e,t,n)=>{const r=ET.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},D6=e=>_6.test(e)&&!E6.test(e),TT=()=>!1,M6=e=>T6.test(e),B6=e=>P6.test(e),$6=()=>{const e=Le("colors"),t=Le("spacing"),n=Le("blur"),r=Le("brightness"),i=Le("borderColor"),s=Le("borderRadius"),o=Le("borderSpacing"),a=Le("borderWidth"),c=Le("contrast"),u=Le("grayscale"),p=Le("hueRotate"),d=Le("invert"),h=Le("gap"),f=Le("gradientColorStops"),m=Le("gradientColorStopPositions"),g=Le("inset"),x=Le("margin"),v=Le("opacity"),b=Le("padding"),w=Le("saturate"),k=Le("scale"),S=Le("sepia"),C=Le("skew"),T=Le("space"),P=Le("translate"),R=()=>["auto","contain","none"],j=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",ge,t],A=()=>[ge,t],D=()=>["",Wr,ki],L=()=>["auto",ua,ge],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],I=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",ge],_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[ua,ge];return{cacheSize:500,separator:":",theme:{colors:[ml],spacing:[Wr,ki],blur:["none","",Ci,ge],brightness:z(),borderColor:[e],borderRadius:["n
303one","","full",Ci,ge],borderSpacing:A(),borderWidth:D(),contrast:z(),grayscale:N(),hueRotate:z(),invert:N(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[A6,ki],inset:q(),margin:q(),opacity:z(),padding:A(),saturate:z(),scale:z(),sepia:N(),skew:z(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",ge]}],container:["container"],columns:[{columns:[Ci]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...$(),ge]}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",fl,ge]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ge]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",fl,ge]}],"grid-cols":[{"grid-cols":[ml]}],"col-start-end":[{col:["auto",{span:["full",fl,ge]},ge]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[ml]}],"row-start-end":[{row:["auto",{span:[fl,ge]},ge]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ge]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ge]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...I()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...I(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...I(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ge,t]}],"min-w":[{"min-w":[ge,t,"min","max","fit"]}],"max-w":[{"max-w":[ge,t,"none","full","min","max","fit","prose",{screen:[Ci]},Ci]}],h:[{h:[ge,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ge,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ge,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ge,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ci,ki]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",um]}],"font-family":[{font:[ml]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ge]}],"line-clamp":[{"line-clamp":["none",ua,um]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Wr,ge]}],"list-image":[{"list-image":["none",ge]}],"list-style-type":[{list:["none","disc","decimal",ge]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Wr,ki]}],"underline-offset":[{"underline-offset":["auto",Wr,ge]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ge]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ge]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$(),q6]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",R6]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]}
vendor: 5,240 bytes, line 303
303,L6]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:B()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[Wr,ge]}],"outline-w":[{outline:[Wr,ki]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[Wr,ki]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ci,O6]}],"shadow-color":[{shadow:[ml]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Ci,ge]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ge]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",ge]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",ge]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[fl,ge]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ge]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ge]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,642 bytes, line 303
303],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ge]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Wr,ki,um]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},F6=k6($6);function K(...e){return F6(hT(e))}const z6=$M,PT=y.forwardRef(({className:e,...t},n)=>l.jsx(oT,{ref:n,className:K("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));PT.displayName=oT.displayName;const U6=tu("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),AT=y.forwardRef(({className:e,variant:t,...n},r)=>l.jsx(aT,{ref:r,className:K(U6({variant:t}),e),...n}));AT.displayName=aT.displayName;const V6=y.forwardRef(({className:e,...t},n)=>l.jsx(uT,{ref:n,className:K("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));V6.displayName=uT.displayName;const NT=y.forwardRef(({className:e,...t},n)=>l.jsx(dT,{ref:n,className:K("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 3,508 bytes, line 303
303/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:l.jsx(lr,{className:"h-4 w-4"})}));NT.displayName=dT.displayName;const RT=y.forwardRef(({className:e,...t},n)=>l.jsx(lT,{ref:n,className:K("text-sm font-semibold",e),...t}));RT.displayName=lT.displayName;const qT=y.forwardRef(({className:e,...t},n)=>l.jsx(cT,{ref:n,className:K("text-sm opacity-90",e),...t}));qT.displayName=cT.displayName;function W6(){const{toasts:e}=Eh();return l.jsxs(z6,{children:[e.map(function({id:t,title:n,description:r,action:i,...s}){return l.jsxs(AT,{...s,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(RT,{children:n}),r&&l.jsx(qT,{children:r})]}),i,l.jsx(NT,{})]},t)}),l.jsx(PT,{})]})}var H6=ib[" useId ".trim().toString()]||(()=>{}),G6=0;function Rr(e){const[t,n]=y.useState(H6());return Lr(()=>{n(r=>r??String(G6++))},[e]),t?`radix-${t}`:""}const K6=["top","right","bottom","left"],as=Math.min,ln=Math.max,Ep=Math.round,Bu=Math.floor,ls=e=>({x:e,y:e}),J6={left:"right",right:"left",bottom:"top",top:"bottom"},Y6={start:"end",end:"start"};function Pv(e,t,n){return ln(e,as(t,n))}function ui(e,t){return typeof e=="function"?e(t):e}function di(e){return e.split("-")[0]}function Ga(e){return e.split("-")[1]}function ux(e){return e==="x"?"y":"x"}function dx(e){return e==="y"?"height":"width"}function cs(e){return["top","bottom"].includes(di(e))?"y":"x"}function px(e){return ux(cs(e))}function Q6(e,t,n){n===void 0&&(n=!1);const r=Ga(e),i=px(e),s=dx(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=Tp(o)),[o,Tp(o)]}function X6(e){const t=Tp(e);return[Av(e),t,Av(t)]}function Av(e){return e.replace(/start|end/g,t=>Y6[t])}function Z6(e,t,n){const r=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?s:o;default:return[]}}function eB(e,t,n,r){const i=Ga(e);let s=Z6(di(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(Av)))),s}function Tp(e){return e.replace(/left|right|bottom|top/g,t=>J6[t])}function tB(e){return{top:0,right:0,bottom:0,left:0,...e}}function IT(e){return typeof e!="number"?tB(e):{top:e,right:e,bottom:e,left:e}}function Pp(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function F1(e,t,n){let{reference:r,floating:i}=e;const s=cs(t),o=px(t),a=dx(o),c=di(t),u=s==="y",p=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,h=r[a]/2-i[a]/2;let f;switch(c){case"top":f={x:p,y:r.y-i.height};break;case"bottom":f={x:p,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-i.width,y:d};break;default:f={x:r.x,y:r.y}}switch(Ga(t)){case"start":f[o]-=h*(n&&u?-1:1);break;case"end":f[o]+=h*(n&&u?-1:1);break}return f}const nB=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:p,y:d}=F1(u,r,c),h=r,f={},m=0;for(let g=0;g<a.length;g++){const{name:x,fn:v}=a[g],{x:b,y:w,data:k,reset:S}=await v({x:p,y:d,initialPlacement:r,placement:h,strategy:i,middlewareData:f,re
vendor: 9,374 bytes, line 303
303cts:u,platform:o,elements:{reference:e,floating:t}});p=b??p,d=w??d,f={...f,[x]:{...f[x],...k}},S&&m<=50&&(m++,typeof S=="object"&&(S.placement&&(h=S.placement),S.rects&&(u=S.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:p,y:d}=F1(u,h,c)),g=-1)}return{x:p,y:d,placement:h,strategy:i,middlewareData:f}};async function Cc(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:p="viewport",elementContext:d="floating",altBoundary:h=!1,padding:f=0}=ui(t,e),m=IT(f),x=a[h?d==="floating"?"reference":"floating":d],v=Pp(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(x)))==null||n?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:p,strategy:c})),b=d==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),k=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},S=Pp(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:w,strategy:c}):b);return{top:(v.top-S.top+m.top)/k.y,bottom:(S.bottom-v.bottom+m.bottom)/k.y,left:(v.left-S.left+m.left)/k.x,right:(S.right-v.right+m.right)/k.x}}const rB=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:c}=t,{element:u,padding:p=0}=ui(e,t)||{};if(u==null)return{};const d=IT(p),h={x:n,y:r},f=px(i),m=dx(f),g=await o.getDimensions(u),x=f==="y",v=x?"top":"left",b=x?"bottom":"right",w=x?"clientHeight":"clientWidth",k=s.reference[m]+s.reference[f]-h[f]-s.floating[m],S=h[f]-s.reference[f],C=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let T=C?C[w]:0;(!T||!await(o.isElement==null?void 0:o.isElement(C)))&&(T=a.floating[w]||s.floating[m]);const P=k/2-S/2,R=T/2-g[m]/2-1,j=as(d[v],R),q=as(d[b],R),A=j,D=T-g[m]-q,L=T/2-g[m]/2+P,$=Pv(A,L,D),B=!c.arrow&&Ga(i)!=null&&L!==$&&s.reference[m]/2-(L<A?j:q)-g[m]/2<0,V=B?L<A?L-A:L-D:0;return{[f]:h[f]+V,data:{[f]:$,centerOffset:L-$-V,...B&&{alignmentOffset:V}},reset:B}}}),iB=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:c,elements:u}=t,{mainAxis:p=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...x}=ui(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const v=di(i),b=cs(a),w=di(a)===a,k=await(c.isRTL==null?void 0:c.isRTL(u.floating)),S=h||(w||!g?[Tp(a)]:X6(a)),C=m!=="none";!h&&C&&S.push(...eB(a,g,m,k));const T=[a,...S],P=await Cc(t,x),R=[];let j=((r=s.flip)==null?void 0:r.overflows)||[];if(p&&R.push(P[v]),d){const L=Q6(i,o,k);R.push(P[L[0]],P[L[1]])}if(j=[...j,{placement:i,overflows:R}],!R.every(L=>L<=0)){var q,A;const L=(((q=s.flip)==null?void 0:q.index)||0)+1,$=T[L];if($)return{data:{index:L,overflows:j},reset:{placement:$}};let B=(A=j.filter(V=>V.overflows[0]<=0).sort((V,I)=>V.overflows[1]-I.overflows[1])[0])==null?void 0:A.placement;if(!B)switch(f){case"bestFit":{var D;const V=(D=j.filter(I=>{if(C){const N=cs(I.placement);return N===b||N==="y"}return!0}).map(I=>[I.placement,I.overflows.filter(N=>N>0).reduce((N,_)=>N+_,0)]).sort((I,N)=>I[1]-N[1])[0])==null?void 0:D[0];V&&(B=V);break}case"initialPlacement":B=a;break}if(i!==B)return{reset:{placement:B}}}return{}}}};function z1(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function U1(e){return K6.some(t=>e[t]>=0)}const sB=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=ui(e,t);switch(r){case"referenceHidden":{const s=await Cc(t,{...i,elementContext:"reference"}),o=z1(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:U1(o)}}}case"escaped":{const s=await Cc(t,{...i,altBoundary:!0}),o=z1(s,n.floating);return{data:{escapedOffsets:o,escaped:U1(o)}}}default:return{}}}}};async function oB(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=di(n),a=Ga(n),c=cs(n)==="y",u=["left","top"].includes(o)?-1:1,p=s&&c?-1:1,d=ui(t,e);let{mainAxis:h,crossAxis:f,alignmentAxis:m}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof m=="number"&&(f=a==="end"?m*-1:m),c?{x:f*p,y:h*u}:{x:h*u,y:f*p}}const aB=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,c=await oB(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+c.x,y:s+c.y,data:{...c,placement:o}}}}},lB=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:x=>{let{x:v,y:b}=x;return{x:v,y:b}}},...c}=ui(e,t),u={x:n,y:r},p=await Cc(t,c),d=cs(di(i)),h=ux(d);let f=u[h],m=u[d];if(s){const x=h==="y"?"top":"left",v=h==="y"?"bottom":"right",b=f+p[x],w=f-p[v];f=Pv(b,f,w)}if(o){const x=d==="y"?"top":"left",v=d==="y"?"bottom":"right",b=m+p[x],w=m-p[v];m=Pv(b,m,w)}const g=a.fn({...t,[h]:f,[d]:m});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[h]:s,[d]:o}}}}}},cB=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:a=0,mainAxis:c=!0,crossAxis:u=!0}=ui(e,t),p={x:n,y:r},d=cs(i),h=ux(d);let f=p[h],m=p[d];const g=ui(a,t),x=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const w=h==="y"?"height":"width",k=s.reference[h]-s.floating[w]+x.mainAxis,S=s.reference[h]+s.reference[w]-x.mainAxis;f<k?f=k:f>S&&(f=S)}if(u){var v,b;const w=h==="y"?"width":"height",k=["top","left"].includes(di(i)),S=s.reference[d]-s.floating[w]+(k&&((v=o.offset)==null?void 0:v[d])||0)+(k?0:x.crossAxis),C=s.reference[d]+s.reference[w]+(k?0:((b=o.offset)==null?void 0:b[d])||0)-(k?x.crossAxis:0);m<S?m=S:m>C&&(m=C)}return{[h]:f,[d]:m}}}},uB=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:a}=t,{apply:c=()=>{},...u}=ui(e,t),p=await Cc(t,u),d=di(i),h=Ga(i),f=cs(i)==="y",{width:m,height:g}=s.floating;let x,v;d==="top"||d==="bottom"?(x=d,v=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(v=d,x=h==="end"?"top":"bottom");const b=g-p.top-p.bottom,w=m-p.left-p.right,k=as(g-p[x],b),S=as(m-p[v],w),C=!t.middlewareData.shift;let T=k,P=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=b),C&&!h){const j=ln(p.left,0),q=ln(p.right,0),A=ln(p.top,0),D=ln(p.bottom,0);f?P=m-2*(j!==0||q!==0?j+q:ln(p.left,p.right)):T=g-2*(A!==0||D!==0?A+D:ln(p.top,p.bottom))}await c({...t,availableWidth:P,availableHeight:T});const R=await o.getDimensions(a.floating);return m!==R.width||g!==R.height?{reset:{rects:!0}}:{}}}};function Ih(){return typeof window<"u"}function Ka(e){return LT(e)?(e.nodeName||"").toLowerCase():"#document"}function pn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Br(e){var t;return(t=(LT(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function LT(e){return Ih()?e instanceof Node||e instanceof pn(e).Node:!1}function or(e){return Ih()?e instanceof Element||e instanceof pn(e).Element:!1}function Or(e){return Ih()?e instanceof HTMLElement||e instanceof pn(e).HTMLElement:!1}function V1(e){return!Ih()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof pn(e).ShadowRoot}function nu(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=ar(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function dB(e){return["table","td","th"].includes(Ka(e))}function Lh(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function hx(e){const t=fx(),n=or(e)?ar(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function pB(e){let t=us(e);for(;Or(t)&&!Na(t);){if(hx(t))return t;if(Lh(t))return null;t=us(t)}return null}function fx(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Na(e){return["html","body","#document"].includes(Ka(e))}function ar(e){return pn(e).getComputedStyle(e)}function Oh(e){return or(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function us(e){if(Ka(e)==="html")return e;const t=e.assignedSlot||e.parentNode||V1(e)&&e.host||Br(e);return V1(t)?t.host:t}function OT(e){const t=us(e);return Na(t)?e.ownerDocument?e.ownerDocument.body:e.body:Or(t)&&nu(t)?t:OT(t)}function jc(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=OT(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=pn(i);if(s){const a=Nv(o);
vendor: 4,651 bytes, line 303
303return t.concat(o,o.visualViewport||[],nu(i)?i:[],a&&n?jc(a):[])}return t.concat(i,jc(i,[],n))}function Nv(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function DT(e){const t=ar(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Or(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=Ep(n)!==s||Ep(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function mx(e){return or(e)?e:e.contextElement}function da(e){const t=mx(e);if(!Or(t))return ls(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=DT(t);let o=(s?Ep(n.width):n.width)/r,a=(s?Ep(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const hB=ls(0);function MT(e){const t=pn(e);return!fx()||!t.visualViewport?hB:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function fB(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==pn(e)?!1:t}function ao(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=mx(e);let o=ls(1);t&&(r?or(r)&&(o=da(r)):o=da(e));const a=fB(s,n,r)?MT(s):ls(0);let c=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,p=i.width/o.x,d=i.height/o.y;if(s){const h=pn(s),f=r&&or(r)?pn(r):r;let m=h,g=Nv(m);for(;g&&r&&f!==m;){const x=da(g),v=g.getBoundingClientRect(),b=ar(g),w=v.left+(g.clientLeft+parseFloat(b.paddingLeft))*x.x,k=v.top+(g.clientTop+parseFloat(b.paddingTop))*x.y;c*=x.x,u*=x.y,p*=x.x,d*=x.y,c+=w,u+=k,m=pn(g),g=Nv(m)}}return Pp({width:p,height:d,x:c,y:u})}function mB(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=Br(r),a=t?Lh(t.floating):!1;if(r===o||a&&s)return n;let c={scrollLeft:0,scrollTop:0},u=ls(1);const p=ls(0),d=Or(r);if((d||!d&&!s)&&((Ka(r)!=="body"||nu(o))&&(c=Oh(r)),Or(r))){const h=ao(r);u=da(r),p.x=h.x+r.clientLeft,p.y=h.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+p.x,y:n.y*u.y-c.scrollTop*u.y+p.y}}function gB(e){return Array.from(e.getClientRects())}function Rv(e,t){const n=Oh(e).scrollLeft;return t?t.left+n:ao(Br(e)).left+n}function vB(e){const t=Br(e),n=Oh(e),r=e.ownerDocument.body,i=ln(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=ln(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Rv(e);const a=-n.scrollTop;return ar(r).direction==="rtl"&&(o+=ln(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}function yB(e,t){const n=pn(e),r=Br(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,c=0;if(i){s=i.width,o=i.height;const u=fx();(!u||u&&t==="fixed")&&(a=i.offsetLeft,c=i.offsetTop)}return{width:s,height:o,x:a,y:c}}function bB(e,t){const n=ao(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=Or(e)?da(e):ls(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,c=i*s.x,u=r*s.y;return{width:o,height:a,x:c,y:u}}function W1(e,t,n){let r;if(t==="viewport")r=yB(e,n);else if(t==="document")r=vB(Br(e));else if(or(t))r=bB(t,n);else{const i=MT(e);r={...t,x:t.x-i.x,y:t.y-i.y}}return Pp(r)}function BT(e,t){const n=us(e);return n===t||!or(n)||Na(n)?!1:ar(n).position==="fixed"||BT(n,t)}function xB(e,t){const n=t.get(e);if(n)return n;let r=jc(e,[],!1).filter(a=>or(a)&&Ka(a)!=="body"),i=null;const s=ar(e).position==="fixed";let o=s?us(e):e;for(;or(o)&&!Na(o);){const a=ar(o),c=hx(o);!c&&a.position==="fixed"&&(i=null),(s?!c&&!i:!c&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||nu(o)&&!c&&BT(e,o))?r=r.filter(p=>p!==o):i=a,o=us(o)}return t.set(e,r),r}function wB(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?Lh(t)?[]:xB(t,this._c):[].concat(n),r],a=o[0],c=o.reduce((u,p)=>{const d=W1(t,p,i);return u.top=ln(d.top,u.top),u.right=as(d.right,u.right),u.bottom=as(d.bottom,u.bottom),u.left=ln(d.left,u.left),u},W1(t,a,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function kB(e){const{width:t,height:n}=DT(e);return{width:t,height:n}}function CB(e,t,n){const r=Or(t),i=Br(t),s=n==="fixed",o=ao(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const c=ls(0);if(r||!r&&!s)if((Ka(t)!=="body"||nu(i))&&(a=Oh(t)),r){const f=ao(t,!0,s,t);c.x=f.x+t.clientLeft,c.y=f.y+t.clientTop}else i&&(c.x=Rv(i));let u=0,p=0;if(i&&!r&&!s){const f=i.getBoundingClientRect();p=f.top+a.scrollTop,u=f.left+a.scrollLeft-Rv(i,f)}const d=o.left+a.scrollLeft-c.x-u,h=o.top+a.scrollTop-c.y-p;return{x:d,y:h,width:o.width,height:o.height}}function dm(e){return ar(e).position==="static"}function H1(e,t){if(!Or(e)||ar(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Br(e)===n&&(n=n.ownerDocument.body),n}function $T(e,t){const n=pn(e);if(Lh(e))return n;if(!Or(e)){let i=us(e);for(;i&&!Na(i);
vendor: 8,991 bytes, line 303
303){if(or(i)&&!dm(i))return i;i=us(i)}return n}let r=H1(e,t);for(;r&&dB(r)&&dm(r);)r=H1(r,t);return r&&Na(r)&&dm(r)&&!hx(r)?n:r||pB(e)||n}const jB=async function(e){const t=this.getOffsetParent||$T,n=this.getDimensions,r=await n(e.floating);return{reference:CB(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function SB(e){return ar(e).direction==="rtl"}const _B={convertOffsetParentRelativeRectToViewportRelativeRect:mB,getDocumentElement:Br,getClippingRect:wB,getOffsetParent:$T,getElementRects:jB,getClientRects:gB,getDimensions:kB,getScale:da,isElement:or,isRTL:SB};function EB(e,t){let n=null,r;const i=Br(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),s();const{left:u,top:p,width:d,height:h}=e.getBoundingClientRect();if(a||t(),!d||!h)return;const f=Bu(p),m=Bu(i.clientWidth-(u+d)),g=Bu(i.clientHeight-(p+h)),x=Bu(u),b={rootMargin:-f+"px "+-m+"px "+-g+"px "+-x+"px",threshold:ln(0,as(1,c))||1};let w=!0;function k(S){const C=S[0].intersectionRatio;if(C!==c){if(!w)return o();C?o(!1,C):r=setTimeout(()=>{o(!1,1e-7)},1e3)}w=!1}try{n=new IntersectionObserver(k,{...b,root:i.ownerDocument})}catch{n=new IntersectionObserver(k,b)}n.observe(e)}return o(!0),s}function TB(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=mx(e),p=i||s?[...u?jc(u):[],...jc(t)]:[];p.forEach(v=>{i&&v.addEventListener("scroll",n,{passive:!0}),s&&v.addEventListener("resize",n)});const d=u&&a?EB(u,n):null;let h=-1,f=null;o&&(f=new ResizeObserver(v=>{let[b]=v;b&&b.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var w;(w=f)==null||w.observe(t)})),n()}),u&&!c&&f.observe(u),f.observe(t));let m,g=c?ao(e):null;c&&x();function x(){const v=ao(e);g&&(v.x!==g.x||v.y!==g.y||v.width!==g.width||v.height!==g.height)&&n(),g=v,m=requestAnimationFrame(x)}return n(),()=>{var v;p.forEach(b=>{i&&b.removeEventListener("scroll",n),s&&b.removeEventListener("resize",n)}),d==null||d(),(v=f)==null||v.disconnect(),f=null,c&&cancelAnimationFrame(m)}}const PB=aB,AB=lB,NB=iB,RB=uB,qB=sB,G1=rB,IB=cB,LB=(e,t,n)=>{const r=new Map,i={platform:_B,...n},s={...i.platform,_c:r};return nB(e,t,{...i,platform:s})};var Rd=typeof document<"u"?y.useLayoutEffect:y.useEffect;function Ap(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Ap(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const s=i[r];if(!(s==="_owner"&&e.$$typeof)&&!Ap(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function FT(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function K1(e,t){const n=FT(e);return Math.round(t*n)/n}function pm(e){const t=y.useRef(e);return Rd(()=>{t.current=e}),t}function OB(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:a=!0,whileElementsMounted:c,open:u}=e,[p,d]=y.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,f]=y.useState(r);Ap(h,r)||f(r);const[m,g]=y.useState(null),[x,v]=y.useState(null),b=y.useCallback(I=>{I!==C.current&&(C.current=I,g(I))},[]),w=y.useCallback(I=>{I!==T.current&&(T.current=I,v(I))},[]),k=s||m,S=o||x,C=y.useRef(null),T=y.useRef(null),P=y.useRef(p),R=c!=null,j=pm(c),q=pm(i),A=pm(u),D=y.useCallback(()=>{if(!C.current||!T.current)return;const I={placement:t,strategy:n,middleware:h};q.current&&(I.platform=q.current),LB(C.current,T.current,I).then(N=>{const _={...N,isPositioned:A.current!==!1};L.current&&!Ap(P.current,_)&&(P.current=_,Yc.flushSync(()=>{d(_)}))})},[h,t,n,q,A]);Rd(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,d(I=>({...I,isPositioned:!1})))},[u]);const L=y.useRef(!1);Rd(()=>(L.current=!0,()=>{L.current=!1}),[]),Rd(()=>{if(k&&(C.current=k),S&&(T.current=S),k&&S){if(j.current)return j.current(k,S,D);D()}},[k,S,D,j,R]);const $=y.useMemo(()=>({reference:C,floating:T,setReference:b,setFloating:w}),[b,w]),B=y.useMemo(()=>({reference:k,floating:S}),[k,S]),V=y.useMemo(()=>{const I={position:n,left:0,top:0};if(!B.floating)return I;const N=K1(B.floating,p.x),_=K1(B.floating,p.y);return a?{...I,transform:"translate("+N+"px, "+_+"px)",...FT(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:N,top:_}},[n,a,B.floating,p.x,p.y]);return y.useMemo(()=>({...p,update:D,refs:$,elements:B,floatingStyles:V}),[p,D,$,B,V])}const DB=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?G1({element:r.current,padding:i}).fn(n):{}:r?G1({element:r,padding:i}).fn(n):{}}}},MB=(e,t)=>({...PB(e),options:[e,t]}),BB=(e,t)=>({...AB(e),options:[e,t]}),$B=(e,t)=>({...IB(e),options:[e,t]}),FB=(e,t)=>({...NB(e),options:[e,t]}),zB=(e,t)=>({...RB(e),options:[e,t]}),UB=(e,t)=>({...qB(e),options:[e,t]}),VB=(e,t)=>({...DB(e),options:[e,t]});var WB="Arrow",zT=y.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return l.jsx(ve.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});zT.displayName=WB;var HB=zT;function UT(e){const[t,n]=y.useState(void 0);return Lr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let o,a;if("borderBoxSize"in s){const c=s.borderBoxSize,u=Array.isArray(c)?c[0]:c;o=u.inlineSize,a=u.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var gx="Popper",[VT,Ja]=Ln(gx),[GB,WT]=VT(gx),HT=e=>{const{__scopePopper:t,children:n}=e,[r,i]=y.useState(null);return l.jsx(GB,{scope:t,anchor:r,onAnchorChange:i,children:n})};HT.displayName=gx;var GT="PopperAnchor",KT=y.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=WT(GT,n),o=y.useRef(null),a=_e(t,o);return y.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:l.jsx(ve.div,{...i,ref:a})});KT.displayName=GT;var vx="PopperContent",[KB,JB]=VT(vx),JT=y.forwardRef((e,t)=>{var ce,Ye,Te,vt,tn,mi;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:p=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:f="optimized",onPlaced:m,...g}=e,x=WT(vx,n),[v,b]=y.useState(null),w=_e(t,pr=>b(pr)),[k,S]=y.useState(null),C=UT(k),T=(C==null?void 0:C.width)??0,P=(C==null?void 0:C.height)??0,R=r+(s!=="center"?"-"+s:""),j=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},q=Array.isArray(u)?u:[u],A=q.length>0,D={padding:j,boundary:q.filter(QB),altBoundary:A},{refs:L,floatingStyles:$,placement:B,isPositioned:V,middlewareData:I}=OB({strategy:"fixed",placement:R,whileElementsMounted:(...pr)=>TB(...pr,{animationFrame:f==="always"}),elements:{reference:x.anchor},middleware:[MB({mainAxis:i+P,alignmentAxis:o}),c&&BB({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?$B():void 0,...D}),c&&FB({...D}),zB({...D,apply:({elements:pr,rects:yo,availableWidth:bo,availableHeight:ks})=>{const{width:xo,height:Cs}=yo.reference,zr=pr.floating.style;zr.setProperty("--radix-popper-available-width",`${bo}px`),zr.setProperty("--radix-popper-available-height",`${ks}px`),zr.setProperty("--radix-popper-anchor-width",`${xo}px`),zr.setProperty("--radix-popper-anchor-height",`${Cs}px`)}}),k&&VB({element:k,padding:a}),XB({arrowWidth:T,arrowHeight:P}),h&&UB({strategy:"referenceHidden",...D})]}),[N,_]=XT(B),z=mn(m);Lr(()=>{V&&(z==null||z())},[V,z]);const H=(ce=I.arrow)==null?void 0:ce.x,E=(Ye=I.arrow)==null?void 0:Ye.y,Q=((Te=I.arrow)==null?void 0:Te.centerOffset)!==0,[ne,ae]=y.useState();return Lr(()=>{v&&ae(window.getComputedStyle(v).zIndex)},[v]),l.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:V?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ne,"--radix-popper-transform-origin":[(vt=I.transformOrigin)==null?void 0:vt.x,(tn=I.transformOrigin)==null?void 0:tn.y].join(" "),...((mi=I.hide)==null?void 0:mi.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(KB,{scope:n,placedSide:N,onArrowChange:S,arrowX:H,arrowY:E,shouldHideArrow:Q,children:l.jsx(ve.div,{"data-side":N,"data-align":_,...g,ref:w,style:{...g.style,animation:V?void 0:"none"}})})})});JT.displayName=vx;var YT="PopperArrow",YB={top:"bottom",right:"left",bottom:"top",left:"r
303ight"},QT=y.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=JB(YT,r),o=YB[s.placedSide];return l.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:l.jsx(HB,{...i,ref:n,style:{...i.style,display:"block"}})})});QT.displayName=YT;function QB(e){return e!==null}var XB=e=>({name:"transformOrigin",options:e,fn(t){var x,v,b;const{placement:n,rects:r,middlewareData:i}=t,o=((x=i.arrow)==null?void 0:x.centerOffset)!==0,a=o?0:e.arrowWidth,c=o?0:e.arrowHeight,[u,p]=XT(n),d={start:"0%",center:"50%",end:"100%"}[p],h=(((v=i.arrow)==null?void 0:v.x)??0)+a/2,f=(((b=i.arrow)==null?void 0:b.y)??0)+c/2;let m="",g="";return u==="bottom"?(m=o?d:`${h}px`,g=`${-c}px`):u==="top"?(m=o?d:`${h}px`,g=`${r.floating.height+c}px`):u==="right"?(m=`${-c}px`,g=o?d:`${f}px`):u==="left"&&(m=`${r.floating.width+c}px`,g=o?d:`${f}px`),{data:{x:m,y:g}}}});function XT(e){const[t,n="center"]=e.split("-");return[t,n]}var yx=HT,Dh=KT,bx=JT,xx=QT,[Mh,Mme]=Ln("Tooltip",[Ja]),Bh=Ja(),ZT="TooltipProvider",ZB=700,qv="tooltip.open",[e8,wx]=Mh(ZT),eP=e=>{const{__scopeTooltip:t,delayDuration:n=ZB,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,o=y.useRef(!0),a=y.useRef(!1),c=y.useRef(0);return y.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),l.jsx(e8,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:y.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:y.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:y.useCallback(u=>{a.current=u},[]),disableHoverableContent:i,children:s})};eP.displayName=ZT;var Sc="Tooltip",[t8,$h]=Mh(Sc),tP=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:s,disableHoverableContent:o,delayDuration:a}=e,c=wx(Sc,e.__scopeTooltip),u=Bh(t),[p,d]=y.useState(null),h=Rr(),f=y.useRef(0),m=o??c.disableHoverableContent,g=a??c.delayDuration,x=y.useRef(!1),[v,b]=Mr({prop:r,defaultProp:i??!1,onChange:T=>{T?(c.onOpen(),document.dispatchEvent(new CustomEvent(qv))):c.onClose(),s==null||s(T)},caller:Sc}),w=y.useMemo(()=>v?x.current?"delayed-open":"instant-open":"closed",[v]),k=y.useCallback(()=>{window.clearTimeout(f.current),f.current=0,x.current=!1,b(!0)},[b]),S=y.useCallback(()=>{window.clearTimeout(f.current),f.current=0,b(!1)},[b]),C=y.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>{x.current=!0,b(!0),f.current=0},g)},[g,b]);return y.useEffect(()=>()=>{f.current&&(window.clearTimeout(f.current),f.current=0)},[]),l.jsx(yx,{...u,children:l.jsx(t8,{scope:t,contentId:h,open:v,stateAttribute:w,trigger:p,onTriggerChange:d,onTriggerEnter:y.useCallback(()=>{c.isOpenDelayedRef.current?C():k()},[c.isOpenDelayedRef,C,k]),onTriggerLeave:y.useCallback(()=>{m?S():(window.clearTimeout(f.current),f.current=0)},[S,m]),onOpen:k,onClose:S,disableHoverableContent:m,children:n})})};tP.displayName=Sc;var Iv="TooltipTrigger",nP=y.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=$h(Iv,n),s=wx(Iv,n),o=Bh(n),a=y.useRef(null),c=_e(t,a,i.onTriggerChange),u=y.useRef(!1),p=y.useRef(!1),d=y.useCallback(()=>u.current=!1,[]);return y.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),l.jsx(Dh,{asChild:!0,...o,children:l.jsx(ve.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:c,onPointerMove:X(e.onPointerMove,h=>{h.pointerType!=="touch"&&!p.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),p.current=!0)}),onPointerLeave:X(e.onPointerLeave,()=>{i.onTriggerLeave(),p.current=!1}),onPointerDown:X(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:X(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:X(e.onBlur,i.onClose),onClick:X(e.onClick,i.onClose)})})});nP.displayName=Iv;var n8="TooltipPortal",[Bme,r8]=Mh(n8,{forceMount:void 0}),Ra="TooltipContent",rP=y.forwardRef((e,t)=>
vendor: 4,283 bytes, line 303
303{const n=r8(Ra,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=e,o=$h(Ra,e.__scopeTooltip);return l.jsx(yn,{present:r||o.open,children:o.disableHoverableContent?l.jsx(iP,{side:i,...s,ref:t}):l.jsx(i8,{side:i,...s,ref:t})})}),i8=y.forwardRef((e,t)=>{const n=$h(Ra,e.__scopeTooltip),r=wx(Ra,e.__scopeTooltip),i=y.useRef(null),s=_e(t,i),[o,a]=y.useState(null),{trigger:c,onClose:u}=n,p=i.current,{onPointerInTransitChange:d}=r,h=y.useCallback(()=>{a(null),d(!1)},[d]),f=y.useCallback((m,g)=>{const x=m.currentTarget,v={x:m.clientX,y:m.clientY},b=c8(v,x.getBoundingClientRect()),w=u8(v,b),k=d8(g.getBoundingClientRect()),S=h8([...w,...k]);a(S),d(!0)},[d]);return y.useEffect(()=>()=>h(),[h]),y.useEffect(()=>{if(c&&p){const m=x=>f(x,p),g=x=>f(x,c);return c.addEventListener("pointerleave",m),p.addEventListener("pointerleave",g),()=>{c.removeEventListener("pointerleave",m),p.removeEventListener("pointerleave",g)}}},[c,p,f,h]),y.useEffect(()=>{if(o){const m=g=>{const x=g.target,v={x:g.clientX,y:g.clientY},b=(c==null?void 0:c.contains(x))||(p==null?void 0:p.contains(x)),w=!p8(v,o);b?h():w&&(h(),u())};return document.addEventListener("pointermove",m),()=>document.removeEventListener("pointermove",m)}},[c,p,o,u,h]),l.jsx(iP,{...e,ref:s})}),[s8,o8]=Mh(Sc,{isInside:!1}),a8=Z3("TooltipContent"),iP=y.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:o,...a}=e,c=$h(Ra,n),u=Bh(n),{onClose:p}=c;return y.useEffect(()=>(document.addEventListener(qv,p),()=>document.removeEventListener(qv,p)),[p]),y.useEffect(()=>{if(c.trigger){const d=h=>{const f=h.target;f!=null&&f.contains(c.trigger)&&p()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[c.trigger,p]),l.jsx(Wa,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:d=>d.preventDefault(),onDismiss:p,children:l.jsxs(bx,{"data-state":c.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[l.jsx(a8,{children:r}),l.jsx(s8,{scope:n,isInside:!0,children:l.jsx(kM,{id:c.contentId,role:"tooltip",children:i||r})})]})})});rP.displayName=Ra;var sP="TooltipArrow",l8=y.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Bh(n);return o8(sP,n).isInside?null:l.jsx(xx,{...i,...r,ref:t})});l8.displayName=sP;function c8(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,i,s)){case s:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function u8(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function d8(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function p8(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const a=t[s],c=t[o],u=a.x,p=a.y,d=c.x,h=c.y;p>r!=h>r&&n<(d-u)*(r-p)/(h-p)+u&&(i=!i)}return i}function h8(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),f8(t)}function f8(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const s=t[t.length-1],o=t[t.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const s=n[n.length-1],o=n[n.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var m8=eP,g8=tP,v8=nP,oP=rP;const aP=m8,y8=g8,b8=v8,lP=y.forwardRef(({className:e,sideOffset:t=4,...n},r)=>
303l.jsx(oP,{ref:r,sideOffset:t,className:K("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));lP.displayName=oP.displayName;function x8(){const{pathname:e}=Ct();return y.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"auto"})},[e]),null}const w8=[{fr:"/",en:"/en"},{fr:"/a-propos",en:"/en/about"},{fr:"/contact",en:"/en/contact"},{fr:"/nos-ateliers",en:"/en/our-workshops"},{fr:"/ateliers/:slug",en:"/en/workshops/:slug"},{fr:"/services/:slug",en:"/en/services/:slug"},{fr:"/expertise/leadership-organisationnel",en:"/en/expertise/organizational-leadership"},{fr:"/expertise/accompagnement-certification-b-corp",en:"/en/expertise/b-corp-certification"},{fr:"/equipe/:slug",en:"/en/team/:slug"},{fr:"/etudes-de-cas",en:"/en/case-studies"},{fr:"/blog",en:"/en/blog"},{fr:"/blog/:slug",en:"/en/blog/:slug"},{fr:"/politique-de-confidentialite",en:"/en/privacy-policy"},{fr:"/inscription/confirmation",en:"/en/registration/confirmation"}];function is(e){return e==="/en"||e.startsWith("/en/")?"en":"fr"}function k8(e){const t=[],n=e.replace(/[.+*?^${}()|[\]\\]/g,"\\$&").replace(/:([A-Za-z_][A-Za-z0-9_]*)/g,(r,i)=>(t.push(i),"([^/]+)"));return{regex:new RegExp(`^${n}/?$`),keys:t}}function C8(e,t){return e.replace(/:([A-Za-z_][A-Za-z0-9_]*)/g,(n,r)=>encodeURIComponent(t[r]??`:${r}`))}function _c(e,t){const n=e.split("?")[0].split("#")[0];for(const r of w8){const i=t==="en"?r.fr:r.en,s=t==="en"?r.en:r.fr,{regex:o,keys:a}=k8(i),c=n.match(o);if(c){const u={};return a.forEach((p,d)=>u[p]=decodeURIComponent(c[d+1])),C8(s,u)}}return t==="en"?"/en":"/"}function We(){const e=Ct(),t=is(e.pathname);return y.useCallback(n=>{if(!n||n.startsWith("http")||n.startsWith("mailto:")||n.startsWith("tel:")||n.startsWith("#")||t==="fr")return n;const r=n.indexOf("#"),i=n.indexOf("?"),s=[r,i].filter(c=>c>=0).sort((c,u)=>c-u)[0]??-1,o=s>=0?n.slice(0,s):n,a=s>=0?n.slice(s):"";return _c(o,"en")+a},[t])}function nt(){const e=Ct();return is(e.pathname)}function me(){const e=nt();return function(n,r){return e==="en"?r:n}}const J1="boitepac-cookie-consent";function j8(){const e=me(),[t,n]=y.useState(null),[r,i]=y.useState(!1);y.useEffect(()=>{const o=localStorage.getItem(J1);o?n(o):i(!0)},[]);const s=o=>{localStorage.setItem(J1,o??"necessary"),n(o),i(!1)};return r?l.jsx("div",{role:"dialog","aria-live":"polite","aria-label":e("Préférences de témoins","Cookie preferences"),className:"fixed inset-x-0 bottom-0 z-[90] border-t border-cream/10 bg-navy p-4 shadow-mega md:p-6",children:l.jsxs("div",{className:"section flex flex-col items-start gap-4 md:flex-row md:items-center md:justify-between",children:[l.jsxs("div",{className:"max-w-2xl text-sm leading-relaxed text-cream/90",children:[l.jsx("p",{children:e("Nous utilisons des témoins de connexion (cookies) pour améliorer votre expérience et analyser la fréquentation du site. En cliquant sur « Tout accepter », vous consentez à l’utilisation des témoins analytiques et publicitaires. Vous pouvez à tout moment modifier votre choix.",'We use cookies to improve your experience and analyze site traffic. By clicking "Accept all", you consent to the use of analytics and advertising cookies. You can change your choice at any time.')}),l.jsx("p",{className:"mt-2",children:l.jsx(ie,{to:e("/politique-de-confidentialite","/en/privacy-policy"),className:"underline underline-offset-2 transition-opacity hover:text-cream",children:e("Lire la politique de confidentialité","Read the privacy policy")})})]}),l.jsxs("div",{className:"flex w-full flex-shrink-0 flex-wrap items-center gap-3 md:w-auto",children:[l.jsx("button",{type:"button",onClick:()=>s("necessary"),className:"inline-flex items-center justify-center rounded-full border border-cream/30 px-5 py-2.5 text-sm font-medium text-cream transition-colors hover:bg-cream/10",children:e("Tout refuser","Refuse all")}),l.jsx("button",{type:"button",onClick:()=>s("all"),className:"inline-flex items-center justify-center rounded-full bg-cream px-5 py-2.5 text-sm font-medium text-navy transition-colors hover:bg-cream/90",children:e("Tout accepter","Accept all")}),l.jsx("button",{type:"button",onClick:()=>s("necessary"),"aria-label":e("Fermer","Close"),className:"grid h-10 w-10 place-items-center rounded-full text-cream/70 transition-colors hover:bg-cream/10 hover:text-cream",children:l.jsx(lr,{className:"h-5 w-5"})})]})]})}):null}const kx=y.createContext({});function Cx(e){const t=y.useRef(null);return t.current===null&&(t.current=e()),t.current}const S8=typeof window<"u",cP=S8?y.useLayoutEffect:y.useEffect,Fh=y.createContext(null);function jx(e,t){e.indexOf(t)===-1&&e.push(t)}function Np(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}
vendor: 9,310 bytes, line 303
303const Dr=(e,t,n)=>n>t?t:n<e?e:n;let zh=()=>{},qa=()=>{};const ds={},uP=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function dP(e){return typeof e=="object"&&e!==null}const pP=e=>/^0[^.\s]+$/u.test(e);function hP(e){let t;return()=>(t===void 0&&(t=e()),t)}const Nn=e=>e,_8=(e,t)=>n=>t(e(n)),ru=(...e)=>e.reduce(_8),Ec=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Sx{constructor(){this.subscriptions=[]}add(t){return jx(this.subscriptions,t),()=>Np(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let s=0;s<i;s++){const o=this.subscriptions[s];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Zt=e=>e*1e3,Pn=e=>e/1e3;function fP(e,t){return t?e*(1e3/t):0}const mP=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,E8=1e-7,T8=12;function P8(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=mP(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>E8&&++a<T8);return o}function iu(e,t,n,r){if(e===t&&n===r)return Nn;const i=s=>P8(s,0,1,e,n);return s=>s===0||s===1?s:mP(i(s),t,r)}const gP=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,vP=e=>t=>1-e(1-t),yP=iu(.33,1.53,.69,.99),_x=vP(yP),bP=gP(_x),xP=e=>e>=1?1:(e*=2)<1?.5*_x(e):.5*(2-Math.pow(2,-10*(e-1))),Ex=e=>1-Math.sin(Math.acos(e)),wP=vP(Ex),kP=gP(Ex),A8=iu(.42,0,1,1),N8=iu(0,0,.58,1),CP=iu(.42,0,.58,1),R8=e=>Array.isArray(e)&&typeof e[0]!="number",jP=e=>Array.isArray(e)&&typeof e[0]=="number",Y1={linear:Nn,easeIn:A8,easeInOut:CP,easeOut:N8,circIn:Ex,circInOut:kP,circOut:wP,backIn:_x,backInOut:bP,backOut:yP,anticipate:xP},q8=e=>typeof e=="string",Q1=e=>{if(jP(e)){qa(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return iu(t,n,r,i)}else if(q8(e))return qa(Y1[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Y1[e];return e},$u=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],X1={value:null,addProjectionMetrics:null};function I8(e,t){let n=new Set,r=new Set,i=!1,s=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},c=0;function u(d){o.has(d)&&(p.schedule(d),e()),c++,d(a)}const p={schedule:(d,h=!1,f=!1)=>{const g=f&&i?n:r;return h&&o.add(d),g.add(d),d},cancel:d=>{r.delete(d),o.delete(d)},process:d=>{if(a=d,i){s=!0;return}i=!0;const h=n;n=r,r=h,n.forEach(u),t&&X1.value&&X1.value.frameloop[t].push(c),c=0,n.clear(),i=!1,s&&(s=!1,p.process(d))}};return p}const L8=40;function SP(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=$u.reduce((w,k)=>(w[k]=I8(s,t?k:void 0),w),{}),{setup:a,read:c,resolveKeyframes:u,preUpdate:p,update:d,preRender:h,render:f,postRender:m}=o,g=()=>{const w=ds.useManualTiming,k=w?i.timestamp:performance.now();n=!1,w||(i.delta=r?1e3/60:Math.max(Math.min(k-i.timestamp,L8),1)),i.timestamp=k,i.isProcessing=!0,a.process(i),c.process(i),u.process(i),p.process(i),d.process(i),h.process(i),f.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(g))},x=()=>{n=!0,r=!0,i.isProcessing||e(g)};return{schedule:$u.reduce((w,k)=>{const S=o[k];return w[k]=(C,T=!1,P=!1)=>(n||x(),S.schedule(C,T,P)),w},{}),cancel:w=>{for(let k=0;k<$u.length;k++)o[$u[k]].cancel(w)},state:i,steps:o}}const{schedule:Ne,cancel:ps,state:bt,steps:hm}=SP(typeof requestAnimationFrame<"u"?requestAnimationFrame:Nn,!0);let qd;function O8(){qd=void 0}const Mt={now:()=>(qd===void 0&&Mt.set(bt.isProcessing||ds.useManualTiming?bt.timestamp:performance.now()),qd),set:e=>{qd=e,queueMicrotask(O8)}},_P=e=>t=>typeof t=="string"&&t.startsWith(e),EP=_P("--"),D8=_P("var(--"),Tx=e=>D8(e)?M8.test(e.split("/*")[0].trim()):!1,M8=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Z1(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Ya={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Tc={...Ya,transform:e=>Dr(0,1,e)},Fu={...Ya,default:1},zl=e=>Math.round(e*1e5)/1e5,Px=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function B8(e){return e==null}const $8=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ax=(e,t)=>n=>!!(typeof n=="string"&&$8.test(n)&&n.startsWith(e)||t&&!B8(n)&&Object.prototype.hasOwnProperty.call(n,t)),TP=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,a]=r.match(Px);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},F8=e=>Dr(0,255,e),fm={...Ya,transform:e=>Math.round(F8(e))},$s={test:Ax("rgb","red"),parse:TP("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+fm.transform(e)+", "+fm.transform(t)+", "+fm.transform(n)+", "+zl(Tc.transform(r))+")"};function z8(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Lv={test:Ax("#"),parse:z8,transform:$s.transform},su=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ei=su("deg"),qr=su("%"),ee=su("px"),U8=su("vh"),V8=su("vw"),ek={...qr,parse:e=>qr.parse(e)/100,transform:e=>qr.transform(e*100)},Xo={test:Ax("hsl","hue"),parse:TP("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+qr.transform(zl(t))+", "+qr.transform(zl(n))+", "+zl(Tc.transform(r))+")"},at={test:e=>$s.test(e)||Lv.test(e)||Xo.test(e),parse:e=>$s.test(e)?$s.parse(e):Xo.test(e)?Xo.parse(e):Lv.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?$s.transform(e):Xo.transform(e),getAnimatableNone:e=>{const t=at.parse(e);return t.alpha=0,at.transform(t)}},W8=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function H8(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Px))==null?void 0:t.length)||0)+(((n=e.match(W8))==null?void 0:n.length)||0)>0}const PP="number",AP="color",G8="var",K8="var(",tk="${}",J8=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ia(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(J8,c=>(at.test(c)?(r.color.push(s),i.push(AP),n.push(at.parse(c))):c.startsWith(K8)?(r.var.push(s),i.push(G8),n.push(c)):(r.number.push(s),i.push(PP),n.push(parseFloat(c))),++s,tk)).split(tk);return{values:n,split:a,indexes:r,types:i}}function Y8(e){return Ia(e).values}function NP({split:e,types:t}){const n=e.length;return r=>{let i="";for(let s=0;s<n;s++)if(i+=e[s],r[s]!==void 0){const o=t[s];o===PP?i+=zl(r[s]):o===AP?i+=at.transform(r[s]):i+=r[s]}return i}}function Q8(e){return NP(Ia(e))}const X8=e=>typeof e=="number"?0:at.test(e)?at.getAnimatableNone(e):e,Z8=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:X8(e);function e$(e){const t=Ia(e);return NP(t)(t.values.map((r,i)=>Z8(r,t.split[i])))}const rr={test:H8,parse:Y8,createTransformer:Q8,getAnimatableNone:e$};function mm(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function t$({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,c=2*n-a;i=mm(c,a,e+1/3),s=mm(c,a,e),o=mm(c,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function Rp(e,t){return n=>n>0?t:e}const De=(e,t,n)=>e+(t-e)*n,gm=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},n$=[Lv,$s,Xo],r$=e=>n$.find(t=>t.test(e));function nk(e){const t=r$(e);if(zh(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Xo&&(n=t$(n)),n}const rk=(e,t)=>{const n=nk(e),r=nk(t);if(!n||!r)return Rp(e,t);const i={...n};return s=>(i.red=gm(n.red,r.red,s),i.green=gm(n.green,r.green,s),i.blue=gm(n.blue,r.blue,s),i.alpha=De(n.alpha,r.alpha,s),$s.transform(i))},Ov=new Set(["none","hidden"]);function i$(e,t){return Ov.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function s$(e,t){return n=>De(e,t,n)}function Nx(e){return typeof e=="number"?s$:typeof e=="string"?Tx(e)?Rp:at.test(e)?rk:l$:Array.isArray(e)?RP:typeof e=="object"?at.test(e)?rk:o$:Rp}function RP(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>Nx(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function o$(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Nx(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function a$(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],o=e.indexes[s][r[s]],a=e.values[o]??0;n[i]=a,r[s]++}return n}const l$=(e,t)=>{const n=rr.createTransformer(t),r=Ia(e),i=Ia(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Ov.has(e)&&!i.values.length||Ov.has(t)&&!r.values.length?i$(e,t):ru(RP(a$(r,i),i.values),n):(zh(!0,`Complex values '${e}' and '${t}
303' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Rp(e,t))};function qP(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?De(e,t,n):Nx(e)(e,t)}const c$=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>Ne.update(t,n),stop:()=>ps(t),now:()=>bt.isProcessing?bt.timestamp:Mt.now()}},IP=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let s=0;s<i;s++)r+=Math.round(e(s/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},qp=2e4;function Rx(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<qp;)t+=n,r=e.next(t);return t>=qp?1/0:t}function u$(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(Rx(r),qp);return{type:"keyframes",ease:s=>r.next(i*s).value/t,duration:Pn(i)}}const Fe={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Dv(e,t){return e*Math.sqrt(1-t*t)}const d$=12;function p$(e,t,n){let r=n;for(let i=1;i<d$;i++)r=r-e(r)/t(r);return r}const vm=.001;function h$({duration:e=Fe.duration,bounce:t=Fe.bounce,velocity:n=Fe.velocity,mass:r=Fe.mass}){let i,s;zh(e<=Zt(Fe.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=Dr(Fe.minDamping,Fe.maxDamping,o),e=Dr(Fe.minDuration,Fe.maxDuration,Pn(e)),o<1?(i=u=>{const p=u*o,d=p*e,h=p-n,f=Dv(u,o),m=Math.exp(-d);return vm-h/f*m},s=u=>{const d=u*o*e,h=d*n+n,f=Math.pow(o,2)*Math.pow(u,2)*e,m=Math.exp(-d),g=Dv(Math.pow(u,2),o);return(-i(u)+vm>0?-1:1)*((h-f)*m)/g}):(i=u=>{const p=Math.exp(-u*e),d=(u-n)*e+1;return-vm+p*d},s=u=>{const p=Math.exp(-u*e),d=(n-u)*(e*e);return p*d});const a=5/e,c=p$(i,s,a);if(e=Zt(e),isNaN(c))return{stiffness:Fe.stiffness,damping:Fe.damping,duration:e};{const u=Math.pow(c,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const f$=["duration","bounce"],m$=["stiffness","damping","mass"];function ik(e,t){return t.some(n=>e[n]!==void 0)}function g$(e){let t={velocity:Fe.velocity,stiffness:Fe.stiffness,damping:Fe.damping,mass:Fe.mass,isResolvedFromDuration:!1,...e};if(!ik(e,m$)&&ik(e,f$))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*Dr(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Fe.mass,stiffness:i,damping:s}}else{const n=h$({...e,velocity:0});t={...t,...n,mass:Fe.mass},t.isResolvedFromDuration=!0}return t}function Ip(e=Fe.visualDuration,t=Fe.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:c,damping:u,mass:p,duration:d,velocity:h,isResolvedFromDuration:f}=g$({...n,velocity:-Pn(n.velocity||0)}),m=h||0,g=u/(2*Math.sqrt(c*p)),x=o-s,v=Pn(Math.sqrt(c/p)),b=Math.abs(x)<5;r||(r=b?Fe.restSpeed.granular:Fe.restSpeed.default),i||(i=b?Fe.restDelta.granular:Fe.restDelta.default);let w,k,S,C,T,P;if(g<1)S=Dv(v,g),C=(m+g*v*x)/S,w=j=>{const q=Math.exp(-g*v*j);return o-q*(C*Math.sin(S*j)+x*Math.cos(S*j))},T=g*v*C+x*S,P=g*v*x-C*S,k=j=>Math.exp(-g*v*j)*(T*Math.sin(S*j)+P*Math.cos(S*j));else if(g===1){w=q=>o-Math.exp(-v*q)*(x+(m+v*x)*q);const j=m+v*x;k=q=>Math.exp(-v*q)*(v*j*q-m)}else{const j=v*Math.sqrt(g*g-1);w=L=>{const $=Math.exp(-g*v*L),B=Math.min(j*L,300);return o-$*((m+g*v*x)*Math.sinh(B)+j*x*Math.cosh(B))/j};const q=(m+g*v*x)/j,A=g*v*q-x*j,D=g*v*x-q*j;k=L=>{const $=Math.exp(-g*v*L),B=Math.min(j*L,300);return $*(A*Math.sinh(B)+D*Math.cosh(B))}}const R={calculatedDuration:f&&d||null,velocity:j=>Zt(k(j)),next:j=>{if(!f&&g<1){const A=Math.exp(-g*v*j),D=Math.sin(S*j),L=Math.cos(S*j),$=o-A*(C*D+x*L),B=Zt(A*(T*D+P*L));return a.done=Math.abs(B)<=r&&Math.abs(o-$)<=i,a.value=a.done?o:$,a}const q=w(j);if(f)a.done=j>=d;else{const A=Zt(k(j));a.done=Math.abs(A)<=r&&Math.abs(o-q)<=i}return a.value=a.done?o:q,a},toString:()=>{const j=Math.min(Rx(R),qp),q=IP(A=>
vendor: 16,338 bytes, line 303
303R.next(j*A).value,j,30);return j+"ms "+q},toTransition:()=>{}};return R}Ip.applyToOptions=e=>{const t=u$(e,100,Ip);return e.ease=t.ease,e.duration=Zt(t.duration),e.type="keyframes",e};const v$=5;function LP(e,t,n){const r=Math.max(t-v$,0);return fP(n-e(r),t-r)}function Mv({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:c,restDelta:u=.5,restSpeed:p}){const d=e[0],h={done:!1,value:d},f=P=>a!==void 0&&P<a||c!==void 0&&P>c,m=P=>a===void 0?c:c===void 0||Math.abs(a-P)<Math.abs(c-P)?a:c;let g=n*t;const x=d+g,v=o===void 0?x:o(x);v!==x&&(g=v-d);const b=P=>-g*Math.exp(-P/r),w=P=>v+b(P),k=P=>{const R=b(P),j=w(P);h.done=Math.abs(R)<=u,h.value=h.done?v:j};let S,C;const T=P=>{f(h.value)&&(S=P,C=Ip({keyframes:[h.value,m(h.value)],velocity:LP(w,P,h.value),damping:i,stiffness:s,restDelta:u,restSpeed:p}))};return T(0),{calculatedDuration:null,next:P=>{let R=!1;return!C&&S===void 0&&(R=!0,k(P),T(P)),S!==void 0&&P>=S?C.next(P-S):(!R&&k(P),h)}}}function y$(e,t,n){const r=[],i=n||ds.mix||qP,s=e.length-1;for(let o=0;o<s;o++){let a=i(e[o],e[o+1]);if(t){const c=Array.isArray(t)?t[o]||Nn:t;a=ru(c,a)}r.push(a)}return r}function b$(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(qa(s===t.length,"Both input and output ranges must be the same length","range-length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=y$(t,r,i),c=a.length,u=p=>{if(o&&p<e[0])return t[0];let d=0;if(c>1)for(;d<e.length-2&&!(p<e[d+1]);d++);const h=Ec(e[d],e[d+1],p);return a[d](h)};return n?p=>u(Dr(e[0],e[s-1],p)):u}function x$(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Ec(0,t,r);e.push(De(n,1,i))}}function w$(e){const t=[0];return x$(t,e.length-1),t}function k$(e,t){return e.map(n=>n*t)}function C$(e,t){return e.map(()=>t||CP).splice(0,e.length-1)}function Ul({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=R8(r)?r.map(Q1):Q1(r),s={done:!1,value:t[0]},o=k$(n&&n.length===t.length?n:w$(t),e),a=b$(o,t,{ease:Array.isArray(i)?i:C$(t,i)});return{calculatedDuration:e,next:c=>(s.value=a(c),s.done=c>=e,s)}}const j$=e=>e!==null;function Uh(e,{repeat:t,repeatType:n="loop"},r,i=1){const s=e.filter(j$),a=i<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!a||r===void 0?s[a]:r}const S$={decay:Mv,inertia:Mv,tween:Ul,keyframes:Ul,spring:Ip};function OP(e){typeof e.type=="string"&&(e.type=S$[e.type])}class qx{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const _$=e=>e/100;class Lp extends qx{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==Mt.now()&&this.tick(Mt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;OP(t);const{type:n=Ul,repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:a}=t;const c=n||Ul;c!==Ul&&typeof a[0]!="number"&&(this.mixKeyframes=ru(_$,qP(a[0],a[1])),a=[0,100]);const u=c({...t,keyframes:a});s==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...a].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=Rx(u));const{calculatedDuration:p}=u;this.calculatedDuration=p,this.resolvedDuration=p+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:c}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:p,repeat:d,repeatType:h,repeatDelay:f,type:m,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?v<0:v>i;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let w=this.currentTime,k=r;if(d){const P=Math.min(this.currentTime,i)/a;let R=Math.floor(P),j=P%1;!j&&P>=1&&(j=1),j===1&&R--,R=Math.min(R,d+1),!!(R%2)&&(h==="reverse"?(j=1-j,f&&(j-=f/a)):h==="mirror"&&(k=o)),w=Dr(0,1,j)*a}let S;b?(this.delayState.value=p[0],S=this.delayState):S=k.next(w),s&&!b&&(S.value=s(S.value));let{done:C}=S;!b&&c!==null&&(C=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return T&&m!==Mv&&(S.value=Uh(p,this.options,x,this.speed)),g&&g(S.value),T&&this.finish(),S}then(t,n){return this.finished.then(t,n)}get duration(){return Pn(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Pn(t)}get time(){return Pn(this.currentTime)}set time(t){t=Zt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return LP(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(Mt.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=Pn(this.currentTime))}play(){var i,s;if(this.isStopped)return;const{driver:t=c$,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(s=(i=this.options).onPlay)==null||s.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Mt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function E$(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Fs=e=>e*180/Math.PI,Bv=e=>{const t=Fs(Math.atan2(e[1],e[0]));return $v(t)},T$={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Bv,rotateZ:Bv,skewX:e=>Fs(Math.atan(e[1])),skewY:e=>Fs(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},$v=e=>(e=e%360,e<0&&(e+=360),e),sk=Bv,ok=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ak=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),P$={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ok,scaleY:ak,scale:e=>(ok(e)+ak(e))/2,rotateX:e=>$v(Fs(Math.atan2(e[6],e[5]))),rotateY:e=>$v(Fs(Math.atan2(-e[2],e[0]))),rotateZ:sk,rotate:sk,skewX:e=>Fs(Math.atan(e[4])),skewY:e=>Fs(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Fv(e){return e.includes("scale")?1:0}function zv(e,t){if(!e||e==="none")return Fv(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=P$,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=T$,i=a}if(!i)return Fv(t);const s=r[t],o=i[1].split(",").map(N$);return typeof s=="function"?s(o):o[s]}const A$=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return zv(n,t)};function N$(e){return parseFloat(e.trim())}const Qa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Xa=new Set(Qa),lk=e=>e===Ya||e===ee,R$=new Set(["x","y","z"]),q$=Qa.filter(e=>!R$.has(e));function I$(e){const t=[];return q$.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Ki={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const i=e.max-e.min;return r==="border-box"?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const i=e.max-e.min;return r==="border-box"?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>zv(t,"x"),y:(e,{transform:t})=>zv(t,"y")};Ki.translateX=Ki.x;Ki.translateY=Ki.y;const Xs=new Set;let Uv=!1,Vv=!1,Wv=!1;function DP(){if(Vv){const e=Array.from(Xs).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=I$(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([s,o])=>{var a;(a=r.getValue(s))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Vv=!1,Uv=!1,Xs.forEach(e=>e.complete(Wv)),Xs.clear()}function MP(){Xs.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Vv=!0)})}function L$(){Wv=!0,MP(),DP(),Wv=!1}class Ix{constructor(t,n,r,i,s,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Xs.add(this),Uv||(Uv=!0,Ne.read(MP),Ne.resolveKeyframes(DP))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const s=i==null?void 0:i.get(),o=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),i&&s===void 0&&i.set(t[0])}E$(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Xs.delete(this)}cancel(){this.state==="scheduled"&&(Xs.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const O$=e=>e.startsWith("--");function BP(e,t,n){O$(t)?e.style.setProperty(t,n):e.style[t]=n}const D$={};function $P(e,t){const n=hP(e);return()=>D$[t]??n()}const M$=$P(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),FP=$P(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),El=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ck={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:El([0,.65,.55,1]),circOut:El([.55,0,1,.45]),backIn:El([.31,.01,.66,-.59]),backOut:El([.33,1.53,.69,.99])};function zP(e,t){if(e)return typeof e=="function"?FP()?IP(e,t):"ease-out":jP(e)?El(e):Array.isArray(e)?e.map(n=>zP(n,t)||ck.easeOut):ck[e]}function B$(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:c}={},u=void 0){const p={[t]:n};c&&(p.offset=c);const d=zP(a,i);Array.isArray(d)&&(p.easing=d);const h={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(p,h)}function UP(e){return typeof e=="function"&&"applyToOptions"in e}function $$({type:e,...t}){return UP(e)&&FP()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class VP extends qx{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:a,onComplete:c}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,qa(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=$$(t);this.animation=B$(n,r,i,u,s),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const p=Uh(i,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(p),BP(n,r,p),this.animation.cancel()}c==null||c(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,i;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((i=(r=this.animation).commitStyles)==null||i.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return Pn(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Pn(t)}get time(){return Pn(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Zt(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:i}){var s;return this.allowFlatten&&((s=this.animation.effect)==null||s.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&M$()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),Nn):i(this)}}const WP={anticipate:xP,backInOut:bP,circInOut:kP};function F$(e){return e in WP}function z$(e){typeof e.ease=="string"&&F$(e.ease)&&(e.ease=WP[e.ease])}const ym=10;class U$ extends VP{constructor(t){z$(t),OP(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:s,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Lp({...o,autoplay:!1}),c=Math.max(ym,Mt.now()-this.startTime),u=Dr(0,ym,c-ym),p=a.sample(c).value,{name:d}=this.options;s&&d&&BP(s,d,p),n.setWithVelocity(a.sample(Math.max(0,c-u)).value,p,u),a.stop()}}const uk=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(rr.test(e)||e==="0")&&!e.startsWith("url("));function V$(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function W$(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=uk(i,t),a=uk(s,t);return zh(o===a,`You are trying to animate ${t} from "${i}" to "${s}". "${o?s:i}" is not an animatable value.`,"value-not-animatable"),!o||!a?!1:V$(e)||(n==="spring"||UP(n))&&r}function Hv(e){e.duration=0,e.type="keyframes"}const HP=new Set(["opacity","clipPath","filter","transform"]),H$=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function G$(e){for(let t=0;t<e.length;
303t++)if(typeof e[t]=="string"&&H$.test(e[t]))return!0;return!1}const K$=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),J$=hP(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Y$(e){var d;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:o,keyframes:a}=e;if(!(((d=t==null?void 0:t.owner)==null?void 0:d.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:p}=t.owner.getProps();return J$()&&n&&(HP.has(n)||K$.has(n)&&G$(a))&&(n!=="transform"||!p)&&!u&&!r&&i!=="mirror"&&s!==0&&o!=="inertia"}const Q$=40;class X$ extends qx{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o="loop",keyframes:a,name:c,motionValue:u,element:p,...d}){var m;super(),this.stop=()=>{var g,x;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(x=this.keyframeResolver)==null||x.cancel()},this.createdAt=Mt.now();const h={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,name:c,motionValue:u,element:p,...d},f=(p==null?void 0:p.KeyframeResolver)||Ix;this.keyframeResolver=new f(a,(g,x,v)=>this.onKeyframesResolved(g,x,h,!v),c,u,p),(m=this.keyframeResolver)==null||m.scheduleResolve()}onKeyframesResolved(t,n,r,i){var v,b;this.keyframeResolver=void 0;const{name:s,type:o,velocity:a,delay:c,isHandoff:u,onUpdate:p}=r;this.resolvedAt=Mt.now();let d=!0;W$(t,s,o,a)||(d=!1,(ds.instantAnimations||!c)&&(p==null||p(Uh(t,r,n))),t[0]=t[t.length-1],Hv(r),r.repeat=0);const f={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Q$?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},m=d&&!u&&Y$(f),g=(b=(v=f.motionValue)==null?void 0:v.owner)==null?void 0:b.current;let x;if(m)try{x=new U$({...f,element:g})}catch{x=new Lp(f)}else x=new Lp(f);x.finished.then(()=>{this.notifyFinished()}).catch(Nn),this.pendingTimeline&&(this.stopTimeline=x.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=x}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),L$()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function GP(e,t,n,r=0,i=1){const s=Array.from(e).sort((u,p)=>u.sortNodePosition(p)).indexOf(t),o=e.size,a=(o-1)*r;return typeof n=="function"?n(s,o):i===1?s*r:a-s*r}const Z$=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function eF(e){const t=Z$.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const tF=4;function KP(e,t,n=1){qa(n<=tF,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=eF(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return uP(o)?parseFloat(o):o}return Tx(i)?KP(i,t,n+1):i}const nF={type:"spring",stiffness:500,damping:25,restSpeed:10},rF=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),iF={type:"keyframes",duration:.8},sF={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},oF=(e,{keyframes:t})=>t.length>2?iF:Xa.has(e)?e.startsWith("scale")?rF(t[1]):nF:sF;function JP(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Lx(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?JP(n,e):n}const aF=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function lF(e){for(const t in e)if(!aF.has(t))return!0;return!1}const Ox=(e,t,n,r={},i,s)=>o=>{const a=Lx(r,e)||{},c=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Zt(c);const p={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};lF(a)||Object.assign(p,oF(e,p)),p.duration&&(p.duration=Zt(p.duration)),p.repeatDelay&&(p.repeatDelay=Zt(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let d=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(Hv(p),p.delay===0&&(
vendor: 8,796 bytes, line 303
303d=!0)),(ds.instantAnimations||ds.skipAnimations||i!=null&&i.shouldSkipAnimations)&&(d=!0,Hv(p),p.delay=0),p.allowFlatten=!a.type&&!a.ease,d&&!s&&t.get()!==void 0){const h=Uh(p.keyframes,a);if(h!==void 0){Ne.update(()=>{p.onUpdate(h),p.onComplete()});return}}return a.isSync?new Lp(p):new X$(p)};function dk(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Dx(e,t,n,r){if(typeof t=="function"){const[i,s]=dk(r);t=t(n!==void 0?n:e.custom,i,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,s]=dk(r);t=t(n!==void 0?n:e.custom,i,s)}return t}function Zs(e,t,n){const r=e.getProps();return Dx(r,t,n!==void 0?n:r.custom,e)}const YP=new Set(["width","height","top","left","right","bottom",...Qa]),pk=30,cF=e=>!isNaN(parseFloat(e));class uF{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var s;const i=Mt.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((s=this.events.change)==null||s.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Mt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=cF(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Sx);const r=this.events[t].add(n);return t==="change"?()=>{r(),Ne.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Mt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>pk)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,pk);return fP(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function La(e,t){return new uF(e,t)}const Gv=e=>Array.isArray(e);function dF(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,La(n))}function pF(e){return Gv(e)?e[e.length-1]||0:e}function hF(e,t){const n=Zs(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=pF(s[o]);dF(e,o,a)}}const xt=e=>!!(e&&e.getVelocity);function fF(e){return!!(xt(e)&&e.add)}function Kv(e,t){const n=e.getValue("willChange");if(fF(n))return n.add(t);if(!n&&ds.WillChange){const r=new ds.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Mx(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const mF="framerAppearId",QP="data-"+Mx(mF);function XP(e){return e.props[QP]}function gF({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function ZP(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s,transitionEnd:o,...a}=t;const c=e.getDefaultTransition();s=s?JP(s,c):c;const u=s==null?void 0:s.reduceMotion;r&&(s=r);const p=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const h in a){const f=e.getValue(h,e.latestValues[h]??null),m=a[h];if(m===void 0||d&&gF(d,h))continue;const g={delay:n,...Lx(s||{},h)},x=f.get();if(x!==void 0&&!f.isAnimating()&&!Array.isArray(m)&&m===x&&!g.velocity){Ne.update(()=>f.set(m));continue}let v=!1;if(window.MotionHandoffAnimation){const k=XP(e);if(k){const S=window.MotionHandoffAnimation(k,h,Ne);S!==null&&(g.startTime=S,v=!0)}}Kv(e,h);const b=u??e.shouldReduceMotion;f.start(Ox(h,f,m,b&&YP.has(h)?{type:!1}:g,e,v));const w=f.animation;w&&p.push(w)}if(o){const h=()=>Ne.update(()=>{o&&hF(e,o)});p.length?Promise.all(p).then(h):h()}return p}function Jv(e,t,n={}){var c;const r=Zs(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(ZP(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:p=0,staggerChildren:d,staggerDirection:h}=i;return vF(e,t,u,p,d,h,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,p]=a==="beforeChildren"?[s,o]:[o,s];return u().then(()=>p())}else return Promise.all([s(),o(n.delay)])}function vF(e,t,n=0,r=0,i=0,s=1,o){const a=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),a.push(Jv(c,t,{...o,delay:n+(typeof r=="function"?0:r)+GP(e.variantChildren,c,r,i,s)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(a)}function yF(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Jv(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Jv(e,t,n);else{const i=typeof t=="function"?Zs(e,t,n.custom):t;r=Promise.all(ZP(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const bF={test:e=>e==="auto",parse:e=>e},eA=e=>t=>t.test(e),tA=[Ya,ee,qr,Ei,V8,U8,bF],hk=e=>tA.find(eA(e));function xF(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||pP(e):!0}const wF=new Set(["brightness","contrast","saturate","opacity"]);function kF(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Px)||[];if(!r)return e;const i=n.replace(r,"");let s=wF.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const CF=/\b([a-z-]*)\(.*?\)/gu,Yv={...rr,getAnimatableNone:e=>{const t=e.match(CF);return t?t.map(kF).join(" "):e}},Qv={...rr,getAnimatableNone:e=>{const t=rr.parse(e);return rr.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},fk={...Ya,transform:Math.round},jF={rotate:Ei,rotateX:Ei,rotateY:Ei,rotateZ:Ei,scale:Fu,scaleX:Fu,scaleY:Fu,scaleZ:Fu,skew:Ei,skewX:Ei,skewY:Ei,distance:ee,translateX:ee,translateY:ee,translateZ:ee,x:ee,y:ee,z:ee,perspective:ee,transformPerspective:ee,opacity:Tc,originX:ek,originY:ek,originZ:ee},Bx={borderWidth:ee,borderTopWidth:ee,borderRightWidth:ee,borderBottomWidth:ee,borderLeftWidth:ee,borderRadius:ee,borderTopLeftRadius:ee,borderTopRightRadius:ee,borderBottomRightRadius:ee,borderBottomLeftRadius:ee,width:ee,maxWidth:ee,height:ee,maxHeight:ee,top:ee,right:ee,bottom:ee,left:ee,inset:ee,insetBlock:ee,insetBlockStart:ee,insetBlockEnd:ee,insetInline:ee,insetInlineStart:ee,insetInlineEnd:ee,padding:ee,paddingTop:ee,paddingRight:ee,paddingBottom:ee,paddingLeft:ee,paddingBlock:ee,paddingBlockStart:ee,paddingBlockEnd:ee,paddingInline:ee,paddingInlineStart:ee,paddingInlineEnd:ee,margin:ee,marginTop:ee,marginRight:ee,marginBottom:ee,marginLeft:ee,marginBlock:ee,marginBlockStart:ee,marginBlockEnd:ee,marginInline:ee,marginInlineStart:ee,marginInlineEnd:ee,fontSize:ee,backgroundPositionX:ee,backgroundPositionY:ee,...jF,zIndex:fk,fillOpacity:Tc,strokeOpacity:Tc,numOctaves:fk},SF={...Bx,color:at,backgroundColor:at,outlineColor:at,fill:at,stroke:at,borderColor:at,borderTopColor:at,borderRightColor:at,borderBottomColor:at,borderLeftColor:at,filter:Yv,WebkitFilter:Yv,mask:Qv,WebkitMask:Qv},nA=e=>SF[e],_F=new Set([Yv,Qv]);function rA(e,t){let n=nA(e);return _F.has(n)||(n=rr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const EF=new Set(["auto","none","0"]);function TF(e,t,n){let r=0,i;for(;r<e.length&&!i;){const s=e[r];typeof s=="string"&&!EF.has(s)&&Ia(s).values.length&&(i=e[r]),r++}if(i&&n)for(const s of t)e[s]=rA(n,i)}class PF extends Ix{constructor(t,n,r,i,s){super(t,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let p=0;p<t.length;p++){let d=t[p];
vendor: 1,295 bytes, line 303
303if(typeof d=="string"&&(d=d.trim(),Tx(d))){const h=KP(d,n.current);h!==void 0&&(t[p]=h),p===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!YP.has(r)||t.length!==2)return;const[i,s]=t,o=hk(i),a=hk(s),c=Z1(i),u=Z1(s);if(c!==u&&Ki[r]){this.needsMeasurement=!0;return}if(o!==a)if(lk(o)&&lk(a))for(let p=0;p<t.length;p++){const d=t[p];typeof d=="string"&&(t[p]=parseFloat(d))}else Ki[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||xF(t[i]))&&r.push(i);r.length&&TF(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ki[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const s=r.length-1,o=r[s];r[s]=Ki[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEac
vendor: 50,691 bytes, line 303
303h(([c,u])=>{t.getValue(c).set(u)}),this.resolveNoneKeyframes()}}function iA(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(r=>r!=null)}const sA=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Id(e){return dP(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:$x,cancel:$me}=SP(queueMicrotask,!1),Vn={x:!1,y:!1};function oA(){return Vn.x||Vn.y}function AF(e){return e==="x"||e==="y"?Vn[e]?null:(Vn[e]=!0,()=>{Vn[e]=!1}):Vn.x||Vn.y?null:(Vn.x=Vn.y=!0,()=>{Vn.x=Vn.y=!1})}function aA(e,t){const n=iA(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function NF(e){return!(e.pointerType==="touch"||oA())}function RF(e,t,n={}){const[r,i,s]=aA(e,n);return r.forEach(o=>{let a=!1,c=!1,u;const p=()=>{o.removeEventListener("pointerleave",m)},d=x=>{u&&(u(x),u=void 0),p()},h=x=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),c&&(c=!1,d(x))},f=()=>{a=!0,window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",h,i)},m=x=>{if(x.pointerType!=="touch"){if(a){c=!0;return}d(x)}},g=x=>{if(!NF(x))return;c=!1;const v=t(o,x);typeof v=="function"&&(u=v,o.addEventListener("pointerleave",m,i))};o.addEventListener("pointerenter",g,i),o.addEventListener("pointerdown",f,i)}),s}const lA=(e,t)=>t?e===t?!0:lA(e,t.parentElement):!1,Fx=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,qF=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function IF(e){return qF.has(e.tagName)||e.isContentEditable===!0}const LF=new Set(["INPUT","SELECT","TEXTAREA"]);function OF(e){return LF.has(e.tagName)||e.isContentEditable===!0}const Ld=new WeakSet;function mk(e){return t=>{t.key==="Enter"&&e(t)}}function bm(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const DF=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=mk(()=>{if(Ld.has(n))return;bm(n,"down");const i=mk(()=>{bm(n,"up")}),s=()=>bm(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function gk(e){return Fx(e)&&!oA()}const vk=new WeakSet;function MF(e,t,n={}){const[r,i,s]=aA(e,n),o=a=>{const c=a.currentTarget;if(!gk(a)||vk.has(a))return;Ld.add(c),n.stopPropagation&&vk.add(a);const u=t(c,a),p=(f,m)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",h),Ld.has(c)&&Ld.delete(c),gk(f)&&typeof u=="function"&&u(f,{success:m})},d=f=>{p(f,c===window||c===document||n.useGlobalTarget||lA(c,f.target))},h=f=>{p(f,!1)};window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",h,i)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),Id(a)&&(a.addEventListener("focus",u=>DF(u,i)),!IF(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),s}function zx(e){return dP(e)&&"ownerSVGElement"in e}const Od=new WeakMap;let Ti;const cA=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:zx(r)&&"getBBox"in r?r.getBBox()[t]:r[n],BF=cA("inline","width","offsetWidth"),$F=cA("block","height","offsetHeight");function FF({target:e,borderBoxSize:t}){var n;(n=Od.get(e))==null||n.forEach(r=>{r(e,{get width(){return BF(e,t)},get height(){return $F(e,t)}})})}function zF(e){e.forEach(FF)}function UF(){typeof ResizeObserver>"u"||(Ti=new ResizeObserver(zF))}function VF(e,t){Ti||UF();const n=iA(e);return n.forEach(r=>{let i=Od.get(r);i||(i=new Set,Od.set(r,i)),i.add(t),Ti==null||Ti.observe(r)}),()=>{n.forEach(r=>{const i=Od.get(r);i==null||i.delete(t),i!=null&&i.size||Ti==null||Ti.unobserve(r)})}}const Dd=new Set;let Zo;function WF(){Zo=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Dd.forEach(t=>t(e))},window.addEventListener("resize",Zo)}function HF(e){return Dd.add(e),Zo||WF(),()=>{Dd.delete(e),!Dd.size&&typeof Zo=="function"&&(window.removeEventListener("resize",Zo),Zo=void 0)}}function yk(e,t){return typeof e=="function"?HF(e):VF(e,t)}function GF(e){return zx(e)&&e.tagName==="svg"}const KF=[...tA,at,rr],JF=e=>KF.find(eA(e)),bk=()=>({translate:0,scale:1,origin:0,originPoint:0}),ea=()=>({x:bk(),y:bk()}),xk=()=>({min:0,max:0}),ut=()=>({x:xk(),y:xk()}),YF=new WeakMap;function Vh(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Pc(e){return typeof e=="string"||Array.isArray(e)}const Ux=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Vx=["initial",...Ux];function Wh(e){return Vh(e.animate)||Vx.some(t=>Pc(e[t]))}function uA(e){return!!(Wh(e)||e.variants)}function QF(e,t,n){for(const r in t){const i=t[r],s=n[r];if(xt(i))e.addValue(r,i);else if(xt(s))e.addValue(r,La(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,La(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Xv={current:null},dA={current:!1},XF=typeof window<"u";function ZF(){if(dA.current=!0,!!XF)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Xv.current=e.matches;e.addEventListener("change",t),t()}else Xv.current=!1}const wk=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Op={};function pA(e){Op=e}function e9(){return Op}class t9{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,skipAnimations:s,blockInitialAnimation:o,visualState:a},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Ix,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=Mt.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,Ne.render(this.render,!1,!0))};const{latestValues:u,renderState:p}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=p,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=s,this.options=c,this.blockInitialAnimation=!!o,this.isControllingVariants=Wh(n),this.isVariantNode=uA(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in h){const m=h[f];u[f]!==void 0&&xt(m)&&m.set(u[f])}}mount(t){var n,r;if(this.hasBeenMounted)for(const i in this.initialValues)(n=this.values.get(i))==null||n.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=t,YF.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,s)=>this.bindToMotionValue(s,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(dA.current||ZF(),this.shouldReduceMotion=Xv.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),ps(this.notifyUpdate),ps(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&HP.has(t)&&this.current instanceof HTMLElement){const{factory:o,keyframes:a,times:c,ease:u,duration:p}=n.accelerate,d=new VP({element:this.current,name:t,keyframes:a,times:c,ease:u,duration:Zt(p)}),h=o(d);this.valueSubscriptions.set(t,()=>{h(),d.cancel()});return}const r=Xa.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&Ne.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;typeof window<"u"&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Op){const n=Op[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ut()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<wk.length;r++){const i=wk[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s="on"+i,o=t[s];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=QF(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=La(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(uP(r)||pP(r))?r=parseFloat(r):!JF(r)&&rr.test(n)&&(r=rA(t,n)),this.setBaseTarget(t,xt(r)?r.get():r)),xt(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var s;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=Dx(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!xt(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Sx),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){$x.render(this.render)}}class hA extends t9{constructor(){super(...arguments),this.KeyframeResolver=PF}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;xt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class bs{constructor(t){this.isMounted=!1,this.node=t}update(){}}function fA({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function n9({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function r9(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function xm(e){return e===void 0||e===1}function Zv({scale:e,scaleX:t,scaleY:n}){return!xm(e)||!xm(t)||!xm(n)}function qs(e){return Zv(e)||mA(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function mA(e){return kk(e.x)||kk(e.y)}function kk(e){return e&&e!=="0%"}function Dp(e,t,n){const r=e-n,i=t*r;return n+i}function Ck(e,t,n,r,i){return i!==void 0&&(e=Dp(e,i,r)),Dp(e,n,r)+t}function ey(e,t=0,n=1,r,i){e.min=Ck(e.min,t,n,r,i),e.max=Ck(e.max,t,n,r,i)}function gA(e,{x:t,y:n}){ey(e.x,t.translate,t.scale,t.originPoint),ey(e.y,n.translate,n.scale,n.originPoint)}const jk=.999999999999,Sk=1.0000000000001;function i9(e,t,n,r=!1){var a;const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let c=0;c<i;c++){s=n[c],o=s.projectionDelta;const{visualElement:u}=s.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(jr(e.x,-s.scroll.offset.x),jr(e.y,-s.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,gA(e,o)),r&&qs(s.latestValues)&&Md(e,s.latestValues,(a=s.layout)==null?void 0:a.layoutBox))}t.x<Sk&&t.x>jk&&(t.x=1),t.y<Sk&&t.y>jk&&(t.y=1)}function jr(e,t){e.min+=t,e.max+=t}function _k(e,t,n,r,i=.5){const s=De(e.min,e.max,i);ey(e,t,n,s,r)}function Ek(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Md(e,t,n){const r=n??e;_k(e.x,Ek(t.x,r.x),t.scaleX,t.scale,t.originX),_k(e.y,Ek(t.y,r.y),t.scaleY,t.scale,t.originY)}function vA(e,t){return fA(r9(e.getBoundingClientRect(),t))}function s9(e,t,n){const r=vA(e,n),{scroll:i}=t;return i&&(jr(r.x,i.offset.x),jr(r.y,i.offset.y)),r}const o9={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},a9=Qa.length;function l9(e,t,n){let r="",i=!0;for(let s=0;s<a9;s++){const o=Qa[s],a=e[o];if(a===void 0)continue;let c=!0;if(typeof a=="number")c=a===(o.startsWith("scale")?1:0);else{const u=parseFloat(a);c=o.startsWith("scale")?u===1:u===0}if(!c||n){const u=sA(a,Bx[o]);if(!c){i=!1;const p=o9[o]||o;r+=`${p}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function Wx(e,t,n){const{style:r,vars:i,transformOrigin:s}=e;let o=!1,a=!1;for(const c in t){const u=t[c];if(Xa.has(c)){o=!0;continue}else if(EP(c)){i[c]=u;continue}else{const p=sA(u,Bx[c]);c.startsWith("origin")?(a=!0,s[c]=p):r[c]=p}}if(t.transform||(o||n?r.transform=l9(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:c="50%",originY:u="50%",originZ:p=0}=s;r.transformOrigin=`${c} ${u} ${p}`}}function yA(e,{style:t,vars:n},r,i){const s=e.style;let o;for(o in t)s[o]=t[o];i==null||i.applyProjectionStyles(s,r);for(o in n)s.setProperty(o,n[o])}function Tk(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const gl={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ee.test(e))e=parseFloat(e);else return e;const n=Tk(e,t.target.x),r=Tk(e,t.target.y);return`${n}% ${r}%`}},c9={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=rr.parse(e);if(i.length>5)return r;const s=rr.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=c;const u=De(a,c,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}},ty={borderRadius:{...gl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:gl,borderTopRightRadius:gl,borderBottomLeftRadius:gl,borderBottomRightRadius:gl,boxShadow:c9};function bA(e,{layout:t,layoutId:n}){return Xa.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!ty[e]||e==="opacity")}function Hx(e,t,n){var o;const r=e.style,i=t==null?void 0:t.style,s={};if(!r)return s;for(const a in r)(xt(r[a])||i&&xt(i[a])||bA(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(s[a]=r[a]);return s}function u9(e){return window.getComputedStyle(e)}class d9 extends hA{constructor(){super(...arguments),this.type="html",this.renderInstance=yA}readValueFromInstance(t,n){var r;if(Xa.has(n))return(r=this.projection)!=null&&r.isProjecting?Fv(n):A$(t,n);{const i=u9(t),s=(EP(n)?i.getPropertyValue(n):i[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return vA(t,n)}build(t,n,r){Wx(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Hx(t,n,r)}}const p9={offset:"stroke-dashoffset",array:"stroke-dasharray"},h9={offset:"strokeDashoffset",array:"strokeDasharray"};function f9(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?p9:h9;e[s.offset]=`${-r}`,e[s.array]=`${t} ${n}`}const m9=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function xA(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:s=1,pathOffset:o=0,...a},c,u,p){if(Wx(e,a,u),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:h}=e;d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=(p==null?void 0:p.transformBox)??"fill-box",delete d.transformBox);for(const f of m9)d[f]!==void 0&&(h[f]=d[f],delete d[f]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&f9(d,i,s,o,!1)}const wA=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),kA=e=>typeof e=="string"&&e.toLowerCase()==="svg";function g9(e,t,n,r){yA(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(wA.has(i)?i:Mx(i),t.attrs[i])}function CA(e,t,n){const r=Hx(e,t,n);for(const i in e)if(xt(e[i])||xt(t[i])){const s=Qa.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}class v9 extends hA{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ut}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Xa.has(n)){const r=nA(n);return r&&r.default||0}return n=wA.has(n)?n:Mx(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return CA(t,n,r)}build(t,n,r){xA(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){g9(t,n,r,i)}mount(t){this.isSVGTag=kA(t.tagName),super.mount(t)}}const y9=Vx.length;function jA(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?jA(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<y9;n++){const r=Vx[n],i=e.props[r];(Pc(i)||i===!1)&&(t[r]=i)}return t}function SA(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const b9=[...Ux].reverse(),x9=Ux.length;function w9(e){return t=>Promise.all(t.map(({animation:n,options:r})=>yF(e,n,r)))}function k9(e){let t=w9(e),n=Pk(),r=!0,i=!1;const s=u=>(p,d)=>{var f;const h=Zs(e,d,u==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);if(h){const{transition:m,transitionEnd:g,...x}=h;p={...p,...x,...g}}return p};function o(u){t=u(e)}function a(u){const{props:p}=e,d=jA(e.parent)||{},h=[],f=new Set;let m={},g=1/0;for(let v=0;v<x9;v++){const b=b9[v],w=n[b],k=p[b]!==void 0?p[b]:d[b],S=Pc(k),C=b===u?w.isActive:null;C===!1&&(g=v);let T=k===d[b]&&k!==p[b]&&S;if(T&&(r||i)&&e.manuallyAnimateOnMount&&(T=!1),w.protectedKeys={...m},!w.isActive&&C===null||!k&&!w.prevProp||Vh(k)||typeof k=="boolean")continue;if(b==="exit"&&w.isActive&&C!==!0){w.prevResolvedValues&&(m={...m,...w.prevResolvedValues});continue}const P=C9(w.prevProp,k);let R=P||b===u&&w.isActive&&!T&&S||v>g&&S,j=!1;const q=Array.isArray(k)?k:[k];let A=q.reduce(s(b),{});C===!1&&(A={});const{prevResolvedValues:D={}}=w,L={...D,...A},$=I=>{R=!0,f.has(I)&&(j=!0,f.delete(I)),w.needsAnimating[I]=!0;const N=e.getValue(I);N&&(N.liveStyle=!1)};for(const I in L){const N=A[I],_=D[I];if(m.hasOwnProperty(I))continue;let z=!1;Gv(N)&&Gv(_)?z=!SA(N,_):z=N!==_,z?N!=null?$(I):f.add(I):N!==void 0&&f.has(I)?$(I):w.protectedKeys[I]=!0}w.prevProp=k,w.prevResolvedValues=A,w.isActive&&(m={...m,...A}),(r||i)&&e.blockInitialAnimation&&(R=!1);const B=T&&P;R&&(!B||j)&&h.push(...q.map(I=>{const N={type:b};if(typeof I=="string"&&(r||i)&&!B&&e.manuallyAnimateOnMount&&e.parent){const{parent:_}=e,z=Zs(_,I);if(_.enteringChildren&&z){const{delayChildren:H}=z.transition||{};N.delay=GP(_.enteringChildren,e,H)}}return{animation:I,options:N}}))}if(f.size){const v={};if(typeof p.initial!="boolean"){const b=Zs(e,Array.isArray(p.initial)?p.initial[0]:p.initial);b&&b.transition&&(v.transition=b.transition)}f.forEach(b=>{const w=e.getBaseTarget(b),k=e.getValue(b);k&&(k.liveStyle=!0),v[b]=w??null}),h.push({animation:v})}let x=!!h.length;return r&&(p.initial===!1||p.initial===p.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,i=!1,x?t(h):Promise.resolve()}function c(u,p){var h;if(n[u].isActive===p)return Promise.resolve();(h=e.variantChildren)==null||h.forEach(f=>{var m;return(m=f.animationState)==null?void 0:m.setActive(u,p)}),n[u].isActive=p;const d=a(u);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:a,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Pk(),i=!0}}}function C9(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!SA(t,e):!1}function Es(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Pk(){return{animate:Es(!0),whileInView:Es(),whileHover:Es(),whileTap:Es(),whileDrag:Es(),whileFocus:Es(),exit:Es()}}function ny(e,t){e.min=t.min,e.max=t.max}function zn(e,t){ny(e.x,t.x),ny(e.y,t.y)}function Ak(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const _A=1e-4,j9=1-_A,S9=1+_A,EA=.01,_9=0-EA,E9=0+EA;function Bt(e){return e.max-e.min}function T9(e,t,n){return Math.abs(e-t)<=n}function Nk(e,t,n,r=.5){e.origin=r,e.originPoint=De(t.min,t.max,e.origin),e.scale=Bt(n)/Bt(t),e.translate=De(n.min,n.max,e.origin)-e.originPoint,(e.scale>=j9&&e.scale<=S9||isNaN(e.scale))&&(e.scale=1),(e.translate>=_9&&e.translate<=E9||isNaN(e.translate))&&(e.translate=0)}function Vl(e,t,n,r){Nk(e.x,t.x,n.x,r?r.originX:void 0),Nk(e.y,t.y,n.y,r?r.originY:void 0)}function Rk(e,t,n,r=0){const i=r?De(n.min,n.max,r):n.min;e.min=i+t.min,e.max=e.min+Bt(t)}function P9(e,t,n,r){Rk(e.x,t.x,n.x,r==null?void 0:r.x),Rk(e.y,t.y,n.y,r==null?void 0:r.y)}function qk(e,t,n,r=0){const i=r?De(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Bt(t)}function Mp(e,t,n,r){qk(e.x,t.x,n.x,r==null?void 0:r.x),qk(e.y,t.y,n.y,r==null?void 0:r.y)}function Ik(e,t,n,r,i){return e-=t,e=Dp(e,1/n,r),i!==void 0&&(e=Dp(e,1/i,r)),e}function A9(e,t=0,n=1,r=.5,i,s=e,o=e){if(qr.test(t)&&(t=parseFloat(t),t=De(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=De(s.min,s.max,r);e===s&&(a-=t),e.min=Ik(e.min,t,n,a,i),e.max=Ik(e.max,t,n,a,i)}function Lk(e,t,[n,r,i],s,o){A9(e,t[n],t[r],t[i],t.scale,s,o)}const N9=["x","scaleX","originX"],R9=["y","scaleY","originY"];function Ok(e,t,n,r){Lk(e.x,t,N9,n?n.x:void 0,r?r.x:void 0),Lk(e.y,t,R9,n?n.y:void 0,r?r.y:void 0)}function Dk(e){return e.translate===0&&e.scale===1}function TA(e){return Dk(e.x)&&Dk(e.y)}function Mk(e,t){return e.min===t.min&&e.max===t.max}function q9(e,t){return Mk(e.x,t.x)&&Mk(e.y,t.y)}function Bk(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function PA(e,t){return Bk(e.x,t.x)&&Bk(e.y,t.y)}function $k(e){return Bt(e.x)/Bt(e.y)}function Fk(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function yr(e){return[e("x"),e("y")]}function I9(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:p,rotateX:d,rotateY:h,skewX:f,skewY:m}=n;u&&(r=`perspective(${u}px) ${r}`),p&&(r+=`rotate(${p}deg) `),d&&(r+=`rotateX(${d}deg) `),h&&(r+=`rotateY(${h}deg) `),f&&(r+=`skewX(${f}deg) `),m&&(r+=`skewY(${m}deg) `)}const a=e.x.scale*t.x,c=e.y.scale*t.y;return(a!==1||c!==1)&&(r+=`scale(${a}, ${c})`),r||"none"}const AA=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],L9=AA.length,zk=e=>typeof e=="string"?parseFloat(e):e,Uk=e=>typeof e=="number"||ee.test(e);function O9(e,t,n,r,i,s){i?(e.opacity=De(0,n.opacity??1,D9(r)),e.opacityExit=De(t.opacity??1,0,M9(r))):s&&(e.opacity=De(t.opacity??1,n.opacity??1,r));for(let o=0;o<L9;o++){const a=AA[o];let c=Vk(t,a),u=Vk(n,a);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||Uk(c)===Uk(u)?(e[a]=Math.max(De(zk(c),zk(u),r),0),(qr.test(u)||qr.test(c))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=De(t.rotate||0,n.rotate||0,r))}function Vk(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const D9=NA(0,.5,wP),M9=NA(.5,.95,Nn);function NA(e,t,n){return r=>r<e?0:r>t?1:n(Ec(e,t,r))}function B9(e,t,n){const r=xt(e)?e:La(e);return r.start(Ox("",r,t,n)),r.animation}function Ac(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const $9=(e,t)=>e.depth-t.depth;class F9{constructor(){this.children=[],this.isDirty=!1}add(t){jx(this.children,t),this.isDirty=!0}remove(t){Np(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort($9),this.isDirty=!1,this.children.forEach(t)}}function z9(e,t){const n=Mt.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(ps(r),e(s-t))};return Ne.setup(r,!0),()=>ps(r)}function Bd(e){return xt(e)?e.get():e}class U9{constructor(){this.members=[]}add(t){jx(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const i=r.instance;(!i||i.isConnected===!1)&&!r.snapshot&&(Np(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(Np(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const i=this.members[r];if(i.isPresent!==!1&&((n=i.instance)==null?void 0:n.isConnected)!==!1)return this.promote(i),!0}return!1}promote(t,n){var i;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:s}=r.options,{layoutDependency:o}=t.options;(s===void 0||s!==o)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(i=t.root)!=null&&i.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,s,o;(r=(n=t.options).onExitComplete)==null||r.call(n),(o=(i=t.resumingFrom)==null?void 0:(s=i.options).onExitComplete)==null||o.call(s)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const $d={hasAnimatedSinceResize:!0,hasEverUpdated:!1},wm=["","X","Y","Z"],V9=1e3;let W9=0;function km(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function RA(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=XP(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Ne,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&RA(r)}function qA({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=W9++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(K9),this.nodes.forEach(ez),this.nodes.forEach(tz),this.nodes.forEach(J9)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new F9)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Sx),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const c=this.eventHandlers.get(o);c&&c.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=zx(o)&&!GF(o),this.instance=o;const{layoutId:a,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||a)&&(this.isLayoutDirty=!0),e){let p,d=0;const h=()=>this.root.updateBlockedByResize=!1;Ne.read(()=>{d=window.innerWidth}),e(o,()=>{const f=window.innerWidth;f!==d&&(d=f,this.root.updateBlockedByResize=!0,p&&p(),p=z9(h,250),$d.hasAnimatedSinceResize&&($d.hasAnimatedSinceResize=!1,this.nodes.forEach(Gk)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||c)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:d,hasRelativeLayoutChanged:h,layout:f})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||u.getDefaultTransition()||oz,{onLayoutAnimationStart:g,onLayoutAnimationComplete:x}=u.getProps(),v=!this.targetLayout||!PA(this.targetLayout,f),b=!d&&h;if(this.options.layoutRoot||this.resumeFrom||b||d&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const w={...Lx(m,"layout"),onPlay:g,onComplete:x};(u.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w),this.setAnimationOrigin(p,b)}else d||Gk(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=f})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ps(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(nz),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&RA(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const d=this.path[p];d.shouldResetTransform=!0,(typeof d.latestValues.x=="string"||typeof d.latestValues.y=="string")&&(d.isLayoutDirty=!0),d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:c}=this.options;if(a===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const c=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),c&&this.nodes.forEach(Q9),this.nodes.forEach(Wk);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Hk);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(X9),this.nodes.forEach(Z9),this.nodes.forEach(H9),this.nodes.forEach(G9)):this.nodes.forEach(Hk),this.clearAllSnapshots();const a=Mt.now();bt.delta=Dr(0,1e3/60,a-bt.timestamp),bt.timestamp=a,bt.isProcessing=!0,hm.update.process(bt),hm.preRender.process(bt),hm.render.process(bt),bt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,$x.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Y9),this.sharedNodes.forEach(rz)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ne.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ne.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Bt(this.snapshot.measuredBox.x)&&!Bt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=ut()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&this.instance){const c=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!TA(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,p=u!==this.prevTransformTemplateValue;o&&this.instance&&(a||qs(this.latestValues)||p)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let c=this.removeElementScroll(a);return o&&(c=this.removeTransform(c)),az(c),{animationId:this.root.animationId,measuredBox:a,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:o}=this.options;if(!o)return ut();const a=o.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(lz))){const{scroll:p}=this.root;p&&(jr(a.x,p.offset.x),jr(a.y,p.offset.y))}return a}removeElementScroll(o){var c;const a=ut();if(zn(a,o),(c=this.scroll)!=null&&c.wasRoot)return a;for(let u=0;u<this.path.length;u++){const p=this.path[u],{scroll:d,options:h}=p;p!==this.root&&d&&h.layoutScroll&&(d.wasRoot&&zn(a,o),jr(a.x,d.offset.x),jr(a.y,d.offset.y))}return a}applyTransform(o,a=!1,c){var p,d;const u=c||ut();zn(u,o);for(let h=0;h<this.path.length;h++){const f=this.path[h];!a&&f.options.layoutScroll&&f.scroll&&f!==f.root&&(jr(u.x,-f.scroll.offset.x),jr(u.y,-f.scroll.offset.y)),qs(f.latestValues)&&Md(u,f.latestValues,(p=f.layout)==null?void 0:p.layoutBox)}return qs(this.latestValues)&&Md(u,this.latestValues,(d=this.layout)==null?void 0:d.layoutBox),u}removeTransform(o){var c;const a=ut();zn(a,o);for(let u=0;u<this.path.length;u++){const p=this.path[u];if(!qs(p.latestValues))continue;let d;p.instance&&(Zv(p.latestValues)&&p.updateSnapshot(),d=ut(),zn(d,p.measurePageBox())),Ok(a,p.latestValues,(c=p.snapshot)==null?void 0:c.layoutBox,d)}return qs(this.latestValues)&&Ok(a,this.latestValues),a}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==bt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var f;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==a;if(!(o||c&&this.isSharedProjectionDirty||this.isProjectionDirty||(f=this.parent)!=null&&f.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:p,layoutId:d}=this.options;if(!this.layout||!(p||d))return;this.resolvedRelativeTargetAt=bt.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ut(),this.targetWithTransforms=ut()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),P9(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):zn(this.target,this.layout.layoutBox),gA(this.target,this.targetDelta)):zn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Zv(this.parent.latestValues)||mA(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,a,c){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ut(),this.relativeTargetOrigin=ut(),Mp(this.relativeTargetOrigin,a,c,this.options.layoutAnchor||void 0),zn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var m;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let c=!0;if((this.isProjectionDirty||(m=this.parent)!=null&&m.isProjectionDirty)&&(c=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===bt.timestamp&&(c=!1),c)return;const{layout:u,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||p))return;zn(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,h=this.treeScale.y;i9(this.layoutCorrected,this.treeScale,this.path,a),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=ut());const{target:f}=o;if(!f){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ak(this.prevProjectionDelta.x,this.projectionDelta.x),Ak(this.prevProjectionDelta.y,this.projectionDelta.y)),Vl(this.projectionDelta,this.layoutCorrected,f,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==h||!Fk(this.projectionDelta.x,this.prevProjectionDelta.x)||!Fk(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",f))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),o){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ea(),this.projectionDelta=ea(),this.projectionDeltaWithTransform=ea()}setAnimationOrigin(o,a=!1){const c=this.snapshot,u=c?c.latestValues:{},p={...this.latestValues},d=ea();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=ut(),f=c?c.source:void 0,m=this.layout?this.layout.source:void 0,g=f!==m,x=this.getStack(),v=!x||x.members.length<=1,b=!!(g&&!v&&this.options.crossfade===!0&&!this.path.some(sz));this.animationProgress=0;let w;this.mixTargetDelta=k=>{const S=k/1e3;Kk(d.x,o.x,S),Kk(d.y,o.y,S),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Mp(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),iz(this.relativeTarget,this.relativeTargetOrigin,h,S),w&&q9(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=ut()),zn(w,this.relativeTarget)),g&&(this.animationValues=p,O9(p,u,this.latestValues,S,b,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var a,c,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(c=this.resumingFrom)==null?void 0:c.currentAnimation)==null||u.stop(),this.pendingAnimation&&(ps(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ne.update(()=>{$d.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=La(0)),this.motionValue.jump(0,!1),this.currentAnimation=B9(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:p=>{this.mixTargetDelta(p),o.onUpdate&&o.onUpdate(p)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(V9),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:c,layout:u,latestValues:p}=o;if(!(!a||!c||!u)){if(this!==o&&this.layout&&u&&IA(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||ut();const d=Bt(this.layout.layoutBox.x);c.x.min=o.target.x.min,c.x.max=c.x.min+d;const h=Bt(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+h}zn(a,c),Md(a,p),Vl(this.projectionDeltaWithTransform,this.layoutCorrected,a,p)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new U9),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var a;const{layoutId:o}=this.options;return o?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:o}=this.options;return o?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:c}=o;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(a=!0),!a)return;const u={};c.z&&km("z",o,u,this.animationValues);for(let p=0;p<wm.length;p++)km(`rotate${wm[p]}`,o,u,this.animationValues),km(`skew${wm[p]}`,o,u,this.animationValues);o.render();for(const p in u)o.setStaticValue(p,u[p]),this.animationValues&&(this.animationValues[p]=u[p]);o.scheduleRender()}applyProjectionStyles(o,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=Bd(a==null?void 0:a.pointerEvents)||"",o.transform=c?c(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=Bd(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!qs(this.latestValues)&&(o.transform=c?c({},""):"none",this.hasProjected=!1);return}o.visibility="";const p=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=I9(this.projectionDeltaWithTransform,this.treeScale,p);c&&(d=c(p,d)),o.transform=d;const{x:h,y:f}=this.projectionDelta;o.transformOrigin=`${h.origin*100}% ${f.origin*100}% 0`,u.animationValues?o.opacity=u===this?p.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:o.opacity=u===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const m in ty){if(p[m]===void 0)continue;const{correct:g,applyTo:x,isCSSVariable:v}=ty[m],b=d==="none"?p[m]:g(p[m],u);if(x){const w=x.length;for(let k=0;k<w;k++)o[x[k]]=b}else v?this.options.visualElement.renderState.vars[m]=b:o[m]=b}this.options.layoutId&&(o.pointerEvents=u===this?Bd(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var a;return(a=o.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(Wk),this.root.sharedNodes.clear()}}}function H9(e){e.updateLayout()}function G9(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:s}=e.options,o=t.source!==e.layout.source;if(s==="size")yr(d=>{const h=o?t.measuredBox[d]:t.layoutBox[d],f=Bt(h);h.min=r[d].min,h.max=h.min+f});else if(s==="x"||s==="y"){const d=s==="x"?"y":"x";ny(o?t.measuredBox[d]:t.layoutBox[d],r[d])}else IA(s,t.layoutBox,r)&&yr(d=>{const h=o?t.measuredBox[d]:t.layoutBox[d],f=Bt(r[d]);h.max=h.min+f,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+f)});const a=ea();Vl(a,r,t.layoutBox);const c=ea();o?Vl(c,e.applyTransform(i,!0),t.measuredBox):Vl(c,r,t.layoutBox);const u=!TA(a);let p=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:h,layout:f}=d;if(h&&f){const m=e.options.layoutAnchor||void 0,g=ut();Mp(g,t.layoutBox,h.layoutBox,m);const x=ut();Mp(x,r,f.layoutBox,m),PA(g,x)||(p=!0),d.options.layoutRoot&&(e.relativeTarget=x,e.relativeTargetOrigin=g,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:c,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:p})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function K9(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function J9(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Y9(e){e.clearSnapshot()}function Wk(e){e.clearMeasurements()}function Q9(e){e.isLayoutDirty=!0,e.updateLayout()}function Hk(e){e.isLayoutDirty=!1}function X9(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Z9(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Gk(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ez(e){e.resolveTargetDelta()}function tz(e){e.calcProjection()}
303function nz(e){e.resetSkewAndRotation()}function rz(e){e.removeLeadSnapshot()}function Kk(e,t,n){e.translate=De(t.translate,0,n),e.scale=De(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Jk(e,t,n,r){e.min=De(t.min,n.min,r),e.max=De(t.max,n.max,r)}function iz(e,t,n,r){Jk(e.x,t.x,n.x,r),Jk(e.y,t.y,n.y,r)}function sz(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const oz={duration:.45,ease:[.4,0,.1,1]},Yk=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Qk=Yk("applewebkit/")&&!Yk("chrome/")?Math.round:Nn;function Xk(e){e.min=Qk(e.min),e.max=Qk(e.max)}function az(e){Xk(e.x),Xk(e.y)}function IA(e,t,n){return e==="position"||e==="preserve-aspect"&&!T9($k(t),$k(n),.2)}function lz(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const cz=qA({attachResizeListener:(e,t)=>Ac(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Cm={current:void 0},LA=qA({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Cm.current){const e=new cz({});e.mount(window),e.setOptions({layoutScroll:!0}),Cm.current=e}return Cm.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Gx=y.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Zk(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function uz(...e){return t=>{let n=!1;const r=e.map(i=>{const s=Zk(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():Zk(e[i],null)}}}}function dz(...e){return y.useCallback(uz(...e),e)}class pz extends y.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(Id(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,i=Id(r)&&r.offsetWidth||0,s=Id(r)&&r.offsetHeight||0,o=getComputedStyle(n),a=this.props.sizeRef.current;a.height=parseFloat(o.height),a.width=parseFloat(o.width),a.top=n.offsetTop,a.left=n.offsetLeft,a.right=i-a.width-a.left,a.bottom=s-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}}function hz({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:s}){var h;const o=y.useId(),a=y.useRef(null),c=y.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:u}=y.useContext(Gx),p=((h=e.props)==null?void 0:h.ref)??(e==null?void 0:e.ref),d=dz(a,p);return y.useInsertionEffect(()=>{const{width:f,height:m,top:g,left:x,right:v,bottom:b}=c.current;if(t||s===!1||!a.current||!f||!m)return;const w=n==="left"?`left: ${x}`:`right: ${v}`,k=r==="bottom"?`bottom: ${b}`:`top: ${g}`;a.current.dataset.motionPopId=o;const S=document.createElement("style");u&&(S.nonce=u);const C=i??document.head;return C.appendChild(S),S.sheet&&S.sheet.insertRule(`
304          [data-motion-pop-id="${o}"] {
305            position: absolute !important;
306            width: ${f}px !important;
307            height: ${m}px !important;
308            ${w}px !important;
309            ${k}px !important;
310          }
311        `),()=>{var T;(T=a.current)==null||T.removeAttribute("data-motion-pop-id"),C.contains(S)&&C.removeChild(S)}},[t]),l.jsx(pz,{isPresent:t,childRef:a,sizeRef:c,pop:s,children:s===!1?e:y.cloneElement(e,{ref:d})})}const fz=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o,anchorX:a,anchorY:c,root:u})=>{const p=Cx(mz),d=y.useId();let h=!0,f=y.useMemo(()=>(h=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:m=>{p.set(m,!0);for(const g of p.values())if(!g)return;r&&r()},register:m=>(p.set(m,!1),()=>p.delete(m))}),[n,p,r]);return s&&h&&(f={...f}),y.useMemo(()=>{p.forEach((m,g)=>p.set(g,!1))},[n]),y.useEffect(()=>{!n&&!p.size&&r&&r()},[n]),e=l.jsx(hz,{pop:o==="popLayout",isPresent:n,anchorX:a,anchorY:c,root:u,children:e}),l.jsx(Fh.Provider,{value:f,children:e})};function mz(){return new Map}function OA(e=!0){const t=y.useContext(Fh);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=y.useId();y.useEffect(()=>{if(e)return i(s)},[e]);const o=y.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const zu=e=>e.key||"";function eC(e){const t=[];
vendor: 4,503 bytes, line 311
311return y.Children.forEach(e,n=>{y.isValidElement(n)&&t.push(n)}),t}const Ir=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1,anchorX:a="left",anchorY:c="top",root:u})=>{const[p,d]=OA(o),h=y.useMemo(()=>eC(e),[e]),f=o&&!p?[]:h.map(zu),m=y.useRef(!0),g=y.useRef(h),x=Cx(()=>new Map),v=y.useRef(new Set),[b,w]=y.useState(h),[k,S]=y.useState(h);cP(()=>{m.current=!1,g.current=h;for(let P=0;P<k.length;P++){const R=zu(k[P]);f.includes(R)?(x.delete(R),v.current.delete(R)):x.get(R)!==!0&&x.set(R,!1)}},[k,f.length,f.join("-")]);const C=[];if(h!==b){let P=[...h];for(let R=0;R<k.length;R++){const j=k[R],q=zu(j);f.includes(q)||(P.splice(R,0,j),C.push(j))}return s==="wait"&&C.length&&(P=C),S(eC(P)),w(h),null}const{forceRender:T}=y.useContext(kx);return l.jsx(l.Fragment,{children:k.map(P=>{const R=zu(P),j=o&&!p?!1:h===k||f.includes(R),q=()=>{if(v.current.has(R))return;if(x.has(R))v.current.add(R),x.set(R,!0);else return;let A=!0;x.forEach(D=>{D||(A=!1)}),A&&(T==null||T(),S(g.current),o&&(d==null||d()),r&&r())};return l.jsx(fz,{isPresent:j,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:s,root:u,onExitComplete:j?void 0:q,anchorX:a,anchorY:c,children:P},R)})})},DA=y.createContext({strict:!1}),tC={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let nC=!1;function gz(){if(nC)return;const e={};for(const t in tC)e[t]={isEnabled:n=>tC[t].some(r=>!!n[r])};pA(e),nC=!0}function MA(){return gz(),e9()}function vz(e){const t=MA();for(const n in e)t[n]={...t[n],...e[n]};pA(t)}const yz=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Bp(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||yz.has(e)}let BA=e=>!Bp(e);function bz(e){typeof e=="function"&&(BA=t=>t.startsWith("on")?!Bp(t):e(t))}try{bz(require("@emotion/is-prop-valid").default)}catch{}function xz(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||xt(e[i])||(BA(i)||n===!0&&Bp(i)||!t&&!Bp(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const Hh=y.createContext({});function wz(e,t){if(Wh(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Pc(n)?n:void 0,animate:Pc(r)?r:void 0}}return e.inherit!==!1?t:{}}function kz(e){const{initial:t,animate:n}=wz(e,y.useContext(Hh));return y.useMemo(()=>({initial:t,animate:n}),[rC(t),rC(n)])}function rC(e){return Array.isArray(e)?e.join(" "):e}const Kx=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $A(e,t,n){for(const r in t)!xt(t[r])&&!bA(r,n)&&(e[r]=t[r])}function Cz({transformTemplate:e},t){return y.useMemo(()=>{const n=Kx();return Wx(n,t,e),Object.assign({},n.vars,n.style)},[t])}function jz(e,t){const n=e.style||{},r={};return $A(r,n,e),Object.assign(r,Cz(e,t)),r}function Sz(e,t){const n={},r=jz(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const FA=()=>({...Kx(),attrs:{}});function _z(e,t,n,r){const i=y.useMemo(()=>{const s=FA();return xA(s,t,kA(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};$A(s,e.style,e),i.style={...s,...i.style}}return i}const Ez=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Jx(e){return typeof e!="string"||e.includes("-")?!1:!!(Ez.indexOf(e)>-1||/[A-Z]/u.test(e))}function Tz(e,t,n,{latestValues:r}
vendor: 22,835 bytes, line 311
311,i,s=!1,o){const c=(o??Jx(e)?_z:Sz)(t,r,i,e),u=xz(t,typeof e=="string",s),p=e!==y.Fragment?{...u,...c,ref:n}:{},{children:d}=t,h=y.useMemo(()=>xt(d)?d.get():d,[d]);return y.createElement(e,{...p,children:h})}function Pz({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:Az(n,r,i,e),renderState:t()}}function Az(e,t,n,r){const i={},s=r(e,{});for(const h in s)i[h]=Bd(s[h]);let{initial:o,animate:a}=e;const c=Wh(e),u=uA(e);t&&u&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let p=n?n.initial===!1:!1;p=p||o===!1;const d=p?a:o;if(d&&typeof d!="boolean"&&!Vh(d)){const h=Array.isArray(d)?d:[d];for(let f=0;f<h.length;f++){const m=Dx(e,h[f]);if(m){const{transitionEnd:g,transition:x,...v}=m;for(const b in v){let w=v[b];if(Array.isArray(w)){const k=p?w.length-1:0;w=w[k]}w!==null&&(i[b]=w)}for(const b in g)i[b]=g[b]}}}return i}const zA=e=>(t,n)=>{const r=y.useContext(Hh),i=y.useContext(Fh),s=()=>Pz(e,t,r,i);return n?s():Cx(s)},Nz=zA({scrapeMotionValuesFromProps:Hx,createRenderState:Kx}),Rz=zA({scrapeMotionValuesFromProps:CA,createRenderState:FA}),qz=Symbol.for("motionComponentSymbol");function Iz(e,t,n){const r=y.useRef(n);y.useInsertionEffect(()=>{r.current=n});const i=y.useRef(null);return y.useCallback(s=>{var a;s&&((a=e.onMount)==null||a.call(e,s));const o=r.current;if(typeof o=="function")if(s){const c=o(s);typeof c=="function"&&(i.current=c)}else i.current?(i.current(),i.current=null):o(s);else o&&(o.current=s);t&&(s?t.mount(s):t.unmount())},[t])}const UA=y.createContext({});function Io(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Lz(e,t,n,r,i,s){var w,k;const{visualElement:o}=y.useContext(Hh),a=y.useContext(DA),c=y.useContext(Fh),u=y.useContext(Gx),p=u.reducedMotion,d=u.skipAnimations,h=y.useRef(null),f=y.useRef(!1);r=r||a.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:p,skipAnimations:d,isSVG:s}),f.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));const m=h.current,g=y.useContext(UA);m&&!m.projection&&i&&(m.type==="html"||m.type==="svg")&&Oz(h.current,n,i,g);const x=y.useRef(!1);y.useInsertionEffect(()=>{m&&x.current&&m.update(n,c)});const v=n[QP],b=y.useRef(!!v&&typeof window<"u"&&!((w=window.MotionHandoffIsComplete)!=null&&w.call(window,v))&&((k=window.MotionHasOptimisedAnimation)==null?void 0:k.call(window,v)));return cP(()=>{f.current=!0,m&&(x.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),b.current&&m.animationState&&m.animationState.animateChanges())}),y.useEffect(()=>{m&&(!b.current&&m.animationState&&m.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{var S;(S=window.MotionHandoffMarkAsComplete)==null||S.call(window,v)}),b.current=!1),m.enteringChildren=void 0)}),m}function Oz(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:c,layoutRoot:u,layoutAnchor:p,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:VA(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&Io(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:u,layoutAnchor:p})}function VA(e){if(e)return e.options.allowProjection!==!1?e.projection:VA(e.parent)}function jm(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&vz(r);const s=n?n==="svg":Jx(e),o=s?Rz:Nz;function a(u,p){let d;const h={...y.useContext(Gx),...u,layoutId:Dz(u)},{isStatic:f}=h,m=kz(u),g=o(u,f);if(!f&&typeof window<"u"){Mz();const x=Bz(h);d=x.MeasureLayout,m.visualElement=Lz(e,g,h,i,x.ProjectionNode,s)}return l.jsxs(Hh.Provider,{value:m,children:[d&&m.visualElement?l.jsx(d,{visualElement:m.visualElement,...h}):null,Tz(e,u,Iz(g,m.visualElement,p),g,f,t,s)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=y.forwardRef(a);return c[qz]=e,c}function Dz({layoutId:e}){const t=y.useContext(kx).id;return t&&e!==void 0?t+"-"+e:e}function Mz(e,t){y.useContext(DA).strict}function Bz(e){const t=MA(),{drag:n,layout:r}=t;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function $z(e,t){if(typeof Proxy>"u")return jm;const n=new Map,r=(s,o)=>jm(s,o,e,t),i=(s,o)=>r(s,o);return new Proxy(i,{get:(s,o)=>o==="create"?r:(n.has(o)||n.set(o,jm(o,void 0,e,t)),n.get(o))})}const Fz=(e,t)=>t.isSVG??Jx(e)?new v9(t):new d9(t,{allowProjection:e!==y.Fragment});class zz extends bs{constructor(t){super(t),t.animationState||(t.animationState=k9(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Vh(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let Uz=0;class Vz extends bs{constructor(){super(...arguments),this.id=Uz++,this.isExitComplete=!1}update(){var s;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:o,custom:a}=this.node.getProps();if(typeof o=="string"){const c=Zs(this.node,o,a);if(c){const{transition:u,transitionEnd:p,...d}=c;for(const h in d)(s=this.node.getValue(h))==null||s.jump(d[h])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const Wz={animation:{Feature:zz},exit:{Feature:Vz}};function ou(e){return{point:{x:e.pageX,y:e.pageY}}}const Hz=e=>t=>Fx(t)&&e(t,ou(t));function Wl(e,t,n,r){return Ac(e,t,Hz(n),r)}const WA=({current:e})=>e?e.ownerDocument.defaultView:null,iC=(e,t)=>Math.abs(e-t);function Gz(e,t){const n=iC(e.x,t.x),r=iC(e.y,t.y);return Math.sqrt(n**2+r**2)}const sC=new Set(["auto","scroll"]);class HA{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=f=>{this.handleScroll(f.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Uu(this.lastRawMoveEventInfo,this.transformPagePoint));const f=Sm(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,g=Gz(f.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!g)return;const{point:x}=f,{timestamp:v}=bt;this.history.push({...x,timestamp:v});const{onStart:b,onMove:w}=this.handlers;m||(b&&b(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),w&&w(this.lastMoveEvent,f)},this.handlePointerMove=(f,m)=>{this.lastMoveEvent=f,this.lastRawMoveEventInfo=m,this.lastMoveEventInfo=Uu(m,this.transformPagePoint),Ne.update(this.updatePoint,!0)},this.handlePointerUp=(f,m)=>{this.end();const{onEnd:g,onSessionEnd:x,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=Sm(f.type==="pointercancel"?this.lastMoveEventInfo:Uu(m,this.transformPagePoint),this.history);this.startEvent&&g&&g(f,b),x&&x(f,b)},!Fx(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=i||window;const c=ou(t),u=Uu(c,this.transformPagePoint),{point:p}=u,{timestamp:d}=bt;this.history=[{...p,timestamp:d}];const{onSessionStart:h}=n;h&&h(t,Sm(u,this.history)),this.removeListeners=ru(Wl(this.contextWindow,"pointermove",this.handlePointerMove),Wl(this.contextWindow,"pointerup",this.handlePointerUp),Wl(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(sC.has(r.overflowX)||sC.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:i.x-n.x,y:i.y-n.y};s.x===0&&s.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,i),Ne.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ps(this.updatePoint)}}function Uu(e,t){return t?{point:t(e.point)}:e}function oC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Sm({point:e},t){return{point:e,delta:oC(e,GA(t)),offset:oC(e,Kz(t)),velocity:Jz(t,.1)}}function Kz(e){return e[0]}function GA(e){return e[e.length-1]}function Jz(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=GA(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Zt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>Zt(t)*2&&(r=e[1]);const s=Pn(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Yz(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?De(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?De(n,e,r.max):Math.min(e,n)),e}function aC(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Qz(e,{top:t,left:n,bottom:r,right:i}){return{x:aC(e.x,n,i),y:aC(e.y,t,r)}}function lC(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Xz(e,t){return{x:lC(e.x,t.x),y:lC(e.y,t.y)}}function Zz(e,t){let n=.5;const r=Bt(e),i=Bt(t);return i>r?n=Ec(t.min,t.max-r,e.min):r>i&&(n=Ec(e.min,e.max-i,t.min)),Dr(0,1,n)}function eU(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const ry=.35;function tU(e=ry){return e===!1?e=0:e===!0&&(e=ry),{x:cC(e,"left","right"),y:cC(e,"top","bottom")}}function cC(e,t,n){return{min:uC(e,t),max:uC(e,n)}}function uC(e,t){return typeof e=="number"?e:e[t]||0}const nU=new WeakMap;class rU{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ut(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=d=>{n&&this.snapToCursor(ou(d).point),this.stopAnimation()},o=(d,h)=>{const{drag:f,dragPropagation:m,onDragStart:g}=this.getProps();if(f&&!m&&(this.openDragLock&&this.openDragLock(),this.openDragLock=AF(f),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),yr(v=>{let b=this.getAxisMotionValue(v).get()||0;if(qr.test(b)){const{projection:w}=this.visualElement;if(w&&w.layout){const k=w.layout.layoutBox[v];k&&(b=Bt(k)*(parseFloat(b)/100))}}this.originPoint[v]=b}),g&&Ne.update(()=>g(d,h),!1,!0),Kv(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},a=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h;const{dragPropagation:f,dragDirectionLock:m,onDirectionLock:g,onDrag:x}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:v}=h;if(m&&this.currentDirection===null){this.currentDirection=sU(v),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",h.point,v),this.updateAxis("y",h.point,v),this.visualElement.render(),x&&Ne.update(()=>x(d,h),!1,!0)},c=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h,this.stop(d,h),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:d}=this.getProps();(d||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:p}=this.getProps();this.panSession=new HA(t,{onSessionStart:s,onStart:o,onMove:a,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:p,distanceThreshold:r,contextWindow:WA(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!r)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&Ne.postRender(()=>a(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Vu(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=Yz(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var s;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(s=this.visualElement.projection)==null?void 0:s.layout,i=this.constraints;t&&Io(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=Qz(r.layoutBox,t):this.constraints=!1,this.elastic=tU(n),i!==this.constraints&&!Io(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&yr(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=eU(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Io(t))return!1;const r=t.current;qa(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=s9(r,i.root,this.visualElement.getTransformPagePoint());let o=Xz(i.layout.layoutBox,s);if(n){const a=n(n9(o));this.hasMutatedConstraints=!!a,a&&(o=fA(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),c=this.constraints||{},u=yr(p=>{if(!Vu(p,n,this.currentDirection))return;let d=c&&c[p]||{};(o===!0||o===p)&&(d={min:0,max:0});const h=i?200:1e6,f=i?40:1e7,m={type:"inertia",velocity:r?t[p]:0,bounceStiffness:h,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(p,m)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Kv(this.visualElement,t),r.start(Ox(t,r,0,n,this.visualElement,!1))}stopAnimation(){yr(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){yr(n=>{const{drag:r}=this.getProps();if(!Vu(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n],c=s.get()||0;s.set(t[n]-De(o,a,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Io(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};yr(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const c=a.get();i[o]=Zz({min:c,max:c},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),yr(o=>{if(!Vu(o,t,null))return;const a=this.getAxisMotionValue(o),{min:c,max:u}=this.constraints[o];a.set(De(c,u,i[o]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;nU.set(this.visualElement,this);const t=this.visualElement.current,n=Wl(t,"pointerdown",u=>{const{drag:p,dragListener:d=!0}=this.getProps(),h=u.target,f=h!==t&&OF(h);p&&d&&!f&&this.start(u)});let r;const i=()=>{const{dragConstraints:u}=this.getProps();Io(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=iU(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,o=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),Ne.read(i);const a=Ac(window,"resize",()=>this.scalePositionWithinConstraints()),c=s.addEventListener("didUpdate",({delta:u,hasLayoutChanged:p})=>{this.isDragging&&p&&(yr(d=>{const h=this.getAxisMotionValue(d);h&&(this.originPoint[d]+=u[d].translate,h.set(h.get()+u[d].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),c&&c(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=ry,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function dC(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function iU(e,t,n){const r=yk(e,dC(n)),i=yk(t,dC(n));return()=>{r(),i()}}function Vu(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function sU(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class oU extends bs{constructor(t){super(t),this.removeGroupControls=Nn,this.removeListeners=Nn,this.controls=new rU(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Nn}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const _m=e=>(t,n)=>{e&&Ne.update(()=>e(t,n),!1,!0)};class aU extends bs{constructor(){super(...arguments),this.removePointerDownListener=Nn}onPointerDown(t){this.session=new HA(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:WA(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:_m(t),onStart:_m(n),onMove:_m(r),onEnd:(s,o)=>{delete this.session,i&&Ne.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=Wl(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Em=!1;class lU extends y.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),Em&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),$d.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,{projection:o}=r;return o&&(o.isPresent=s,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),Em=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||Ne.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),$x.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;Em=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function KA(e){const[t,n]=OA(),r=y.useContext(kx);return l.jsx(lU,{...e,layoutGroup:r,switchLayoutGroup:y.useContext(UA),isPresent:t,safeToRemove:n})}const cU={pan:{Feature:aU},drag:{Feature:oU,ProjectionNode:LA,MeasureLayout:KA}};function pC(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,s=r[i];s&&Ne.postRender(()=>s(t,ou(t)))}class uU extends bs{mount(){const{current:t}=this.node;t&&(this.unmount=RF(t,(n,r)=>(pC(this.node,r,"Start"),i=>pC(this.node,i,"End"))))}unmount(){}}class dU extends bs{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ru(Ac(this.node.current,"focus",()=>this.onFocus()),Ac(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function hC(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),s=r[i];s&&Ne.postRender(()=>s(t,ou(t)))}class pU extends bs{mount(){const{current:t}=this.node;if(!t)return;
311const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=MF(t,(i,s)=>(hC(this.node,s,"Start"),(o,{success:a})=>hC(this.node,o,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const iy=new WeakMap,Tm=new WeakMap,hU=e=>{const t=iy.get(e.target);t&&t(e)},fU=e=>{e.forEach(hU)};function mU({root:e,...t}){const n=e||document;Tm.has(n)||Tm.set(n,{});const r=Tm.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(fU,{root:e,...t})),r[i]}function gU(e,t,n){const r=mU(t);return iy.set(e,n),r.observe(e),()=>{iy.delete(e),r.unobserve(e)}}const vU={some:0,all:1};class yU extends bs{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var c;(c=this.stopObserver)==null||c.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:vU[i]},a=u=>{const{isIntersecting:p}=u;if(this.isInView===p||(this.isInView=p,s&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:d,onViewportLeave:h}=this.node.getProps(),f=p?d:h;f&&f(u)};this.stopObserver=gU(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(bU(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function bU({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const xU={inView:{Feature:yU},tap:{Feature:pU},focus:{Feature:dU},hover:{Feature:uU}},wU={layout:{ProjectionNode:LA,MeasureLayout:KA}},kU={...Wz,...xU,...cU,...wU},re=$z(kU,Fz),CU=1,jU="bec7cc2e-c284-4e3a-8194-8361ded6cb1a",SU="2a085179-0a1c-43ad-88f9-631c9eab2259",_U="/__l5e/assets-v1/bec7cc2e-c284-4e3a-8194-8361ded6cb1a/RUN_LEARN.png",EU="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/bec7cc2e-c284-4e3a-8194-8361ded6cb1a/RUN_LEARN.png",TU="RUN_LEARN.png",PU=2009756,AU="image/png",NU="2026-08-19T18:44:58Z",RU={version:CU,asset_id:jU,project_id:SU,url:_U,r2_key:EU,original_filename:TU,size:PU,content_type:AU,created_at:NU},qU="boitepac_run_learn_popup_seen";function IU(){const[e,t]=y.useState(!1);y.useEffect(()=>{},[]),y.useEffect(()=>{if(!e)return;const r=document.body.style.overflow;document.body.style.overflow="hidden";const i=s=>s.key==="Escape"&&n();return window.addEventListener("keydown",i),()=>{document.body.style.overflow=r,window.removeEventListener("keydown",i)}},[e]);const n=()=>{try{localStorage.setItem(qU,"1")}catch{}t(!1)};return l.jsx(Ir,{children:e&&l.jsx(re.div,{initial:{opacity:0}
311,animate:{opacity:1},exit:{opacity:0},transition:{duration:.25},className:"fixed inset-0 z-[120] grid place-items-center bg-navy/70 px-4 py-6 backdrop-blur-md",onClick:n,role:"dialog","aria-modal":"true","aria-labelledby":"launch-popup-title",children:l.jsxs(re.div,{initial:{scale:.96,opacity:0,y:10},animate:{scale:1,opacity:1,y:0},exit:{scale:.96,opacity:0,y:10},transition:{duration:.35,ease:[.22,1,.36,1]},onClick:r=>r.stopPropagation(),className:"relative w-full max-w-2xl overflow-hidden rounded-3xl bg-[hsl(var(--pink-soft))] text-foreground shadow-mega",children:[l.jsx("button",{type:"button",onClick:n,"aria-label":"Fermer",className:"absolute right-4 top-4 z-10 grid h-9 w-9 place-items-center rounded-full bg-foreground/15 text-foreground backdrop-blur transition-colors hover:bg-foreground/25 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-foreground",children:l.jsx(lr,{className:"h-5 w-5"})}),l.jsxs("div",{className:"grid gap-5 p-5 md:grid-cols-2 md:gap-6 md:p-7",children:[l.jsx("div",{className:"relative mx-auto w-full max-w-[260px] md:order-first md:max-w-none",children:l.jsx("div",{className:"aspect-[3/4] overflow-hidden rounded-2xl bg-navy/30 shadow-elevated",children:l.jsx("img",{src:RU.url,alt:"Affiche Run & Learn — Édition Leadership, 2 septembre 2026",className:"h-full w-full object-cover"})})}),l.jsxs("div",{className:"flex flex-col justify-center",children:[l.jsx("span",{className:"inline-flex w-fit items-center gap-1.5 rounded-full border border-foreground
311/40 px-2.5 py-0.5 text-[10px] font-medium uppercase tracking-wider text-foreground",children:"Événement spécial"}),l.jsxs("h2",{id:"launch-popup-title",className:"mt-3 font-display text-2xl font-medium leading-[1.1] tracking-tight md:text-3xl",children:["Run & Learn",l.jsx("br",{}),"Édition Leadership"]}),l.jsxs("ul",{className:"mt-3 space-y-1.5 text-[13px] text-foreground/90",children:[l.jsxs("li",{className:"flex items-center gap-2",children:[l.jsx(HM,{className:"h-4 w-4 shrink-0","aria-hidden":!0}),"2 septembre 2026"]}),l.jsxs("li",{className:"flex items-center gap-2",children:[l.jsx(JM,{className:"h-4 w-4 shrink-0","aria-hidden":!0}),"8 h 30 à 10 h"]}),l.jsxs("li",{className:"flex items-center gap-2",children:[l.jsx(xT,{className:"h-4 w-4 shrink-0","aria-hidden":!0}),"Montréal"]})]}),l.jsx("p",{className:"mt-3 max-w-sm text-[13px] leading-relaxed text-foreground/85",children:"L'apprentissage par le mouvement : une course conviviale suivie d'un échange sur le leadership. Bougez, réfléchissez et connectez avec d'autres gestionnaires dans un format simple et inspirant. Tous les rythmes sont bienvenus."}),l.jsx("div",{className:"mt-4",children:l.jsx("a",{href:"https://boite-pac.corelo.io/run-learn-x-leadership-6595",target:"_blank",rel:"noopener noreferrer",onClick:n,className:"inline-flex items-center rounded-full bg-foreground px-4 py-2 text-[13px] font-medium text-cream shadow-sm transition-transform duration-300 ease-smooth hover:scale-[1.03]",children:"S'inscrire maintenant"})})]})]})]})})})}const le=e=>typeof e=="string",vl=()=>{let e,t;const n=new Promise((r,i)=>{e=r,t=i});return n.resolve=e,n.reject=t,n},fC=e=>e==null?"":String(e),LU=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},OU=/###/g,mC=e=>e&&e.includes("###")?e.replace(OU,"."):e,gC=e=>!e||le(e),Hl=(e,t,n)=>{const r=le(t)?t.split("."):t;let i=0;for(;i<r.length-1;){if(gC(e))return{};const s=mC(r[i]);!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++i}return gC(e)?{}:{obj:e,k:mC(r[i])}},vC=(e,t,n)=>{const{obj:r,k:i}=Hl(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let s=t[t.length-1],o=t.slice(0,t.length-1),a=Hl(e,o,Object);for(;a.obj===void 0&&o.length;)s=`${o[o.length-1]}.${s}`,o=o.slice(0,o.length-1),a=Hl(e,o,Object),a!=null&&a.obj&&typeof a.obj[`${a.k}.${s}`]<"u"&&(a.obj=void 0);a.obj[`${a.k}.${s}`]=n},DU=(e,t,n,r)=>{const{obj:i,k:s}=Hl(e,t,Object);i[s]=i[s]||[],i[s].push(n)},$p=(e,t)=>{const{obj:n,k:r}=Hl(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},MU=(e,t,n)=>{const r=$p(e,n);return r!==void 0?r:$p(t,n)},JA=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?le(e[r])||e[r]instanceof String||le(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):JA(e[r],t[r],n):e[r]=t[r]);return e},Hr=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),BU={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},$U=e=>le(e)?e.replace(/[&<>"'\/]/g,t=>BU[t]):e;class FU{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const zU=[" ",",","?","!",";"],UU=new FU(20),VU=(e,t,n)=>{t=t||"",n=n||"";const r=zU.filter(o=>!t.includes(o)&&!n.includes(o));if(r.length===0)return!0;const i=UU.getRegExp(`(${r.map(o=>o==="?"?"\\?":o).join("|")})`);let s=!i.test(e);if(!s){const o=e.indexOf(n);o>0&&!i.test(e.substring(0,o))&&(s=!0)}return s},sy=(e,t,n=".")=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const r=t.split(n);let i=e;for(let s=0;s<r.length;){if(!i||typeof i!="object")return;let o,a="";for(let c=s;c<r.length;++c)if(c!==s&&(a+=n),a+=r[c],o=i[a],o!==void 0){if(["string","number","boolean"].includes(typeof o)&&c<r.length-1)continue;s+=c-s+1;break}i=o}return i},Nc=e=>e==null?void 0:e.replace(/_/g,"-"),WU={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){var n,r;(r=(n=console==null?void 0:console[e])==null?void 0:n.apply)==null||r.call(n,console,t)}};class Fp{constructor(t,n={}){this.init(t,n)}init(t,n={}){this.prefix=n.prefix||"i18next:",this.logger=t||WU,this.options=n,this.debug=n.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,i){return i&&!this.debug?null:(t=t.map(s=>le(s)?s.replace(/[\r\n\x00-\x1F\x7F]/g," "):s),le(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new Fp(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Fp(this.logger,t)}}var Tr=new Fp;class Gh{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const i=this.observers[r].get(n)||0;this.observers[r].set(n,i+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}once(t,n){const r=(...i)=>{n(...i),this.off(t,r)};return this.on(t,r),this}emit(t,...n){this.observers[t]&&Array.from(this.observers[t].entries()).forEac
vendor: 3,298 bytes, line 311
311h(([i,s])=>{for(let o=0;o<s;o++)i(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([i,s])=>{for(let o=0;o<s;o++)i(t,...n)})}}class yC extends Gh{constructor(t,n={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.includes(t)||this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r,i={}){var u,p;const s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,o=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;t.includes(".")?a=t.split("."):(a=[t,n],r&&(Array.isArray(r)?a.push(...r):le(r)&&s?a.push(...r.split(s)):a.push(r)));const c=$p(this.data,a);return!c&&!n&&!r&&t.includes(".")&&(t=a[0],n=a[1],r=a.slice(2).join(".")),c||!o||!le(r)?c:sy((p=(u=this.data)==null?void 0:u[t])==null?void 0:p[n],r,s)}addResource(t,n,r,i,s={silent:!1}){const o=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let a=[t,n];r&&(a=a.concat(o?r.split(o):r)),t.includes(".")&&(a=t.split("."),i=n,n=a[1]),this.addNamespaces(n),vC(this.data,a,i),s.silent||this.emit("added",t,n,r,i)}addResources(t,n,r,i={silent:!1}){for(const s in r)(le(r[s])||Array.isArray(r[s]))&&this.addResource(t,n,s,r[s],{silent:!0});i.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,i,s,o={silent:!1,skipCopy:!1}){let a=[t,n];t.includes(".")&&(a=t.split("."),i=r,r=n,n=a[1]),this.addNamespaces(n);let c=$p(this.data,a)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?JA(c,r,s):c={...c,...r},vC(this.data,a,c),o.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(i=>n[i]&&Object.keys(n[i]).length>0)}toJSON(){return this.data}}var YA={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(s=>{var o;t=((o=this.processors[s])==null?void 0:o.process(t,n,r,i))??t}),t}};const QA=Symbol("i18next/PATH_KEY");function HU(){const e=[],t=Object.create(null);let n;return t.get=(r,i)=>{var s;return(s=n==null?void 0:n.revoke)==null||s.call(n),i===QA?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)},Proxy.revocable(Object.create(null),t).proxy}function pa(e,t){const{[QA]:n}=e(HU()),r=(t==null?void 0:t.keySeparator)??".",i=(t==null?void 0:t.nsSeparator)??":",s=(t==null?void 0:t.enableSelector)==="strict";if(n.length>1&&i){const o=t==null?void 0:t.ns,a=s?Array.isArray(o)?o:o?[o]:null:Array.isArray(o)?o:null;if(a&&(s?a:a.length>1?a.slice(1):[]).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}const Pm=e=>!le(e)&&typeof e!="boolean"&&typeof e!="number";class zp extends Gh{constructor(t,n={}){super(),LU(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
311i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Tr.create("translator"),this.checkedLoadedFor={}}changeLanguage(t){t&&(this.language=t)}exists(t,n={interpolation:{}}){const r={...n};if(t==null)return!1;const i=this.resolve(t,r);if((i==null?void 0:i.res)===void 0)return!1;const s=Pm(i.res);return!(r.returnObjects===!1&&s)}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let s=n.ns||this.options.defaultNS||[];const o=r&&t.includes(r),a=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!VU(t,r,i);if(o&&!a){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:le(s)?[s]:s};const u=t.split(r);(r!==i||r===i&&this.options.ns.includes(u[0]))&&(s=u.shift()),t=u.join(i)}return{key:t,namespaces:le(s)?[s]:s}}translate(t,n,r){let i=typeof n=="object"?{...n}:n;if(typeof i!="object"&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i=="object"&&(i={...i}),i||(i={}),t==null)return"";typeof t=="function"&&(t=pa(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(D=>typeof D=="function"?pa(D,{...this.options,...i}):String(D));const s=i.returnDetails!==void 0?i.returnDetails:this.options.returnDetails,o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,{key:a,namespaces:c}=this.extractFromKey(t[t.length-1],i),u=c[c.length-1];let p=i.nsSeparator!==void 0?i.nsSeparator:this.options.nsSeparator;p===void 0&&(p=":");const d=i.lng||this.language,h=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((d==null?void 0:d.toLowerCase())==="cimode")return h?s?{res:`${u}${p}${a}`,usedKey:a,exactUsedKey:a,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(i)}:`${u}${p}${a}`:s?{res:a,usedKey:a,exactUsedKey:a,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(i)}:a;const f=this.resolve(t,i);let m=f==null?void 0:f.res;const g=(f==null?void 0:f.usedKey)||a,x=(f==null?void 0:f.exactUsedKey)||a,v=["[object Number]","[object Function]","[object RegExp]"],b=i.joinArrays!==void 0?i.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject,k=i.count!==void 0&&!le(i.count),S=zp.hasDefaultValue(i),C=k?this.pluralResolver.getSuffix(d,i.count,i):"",T=i.ordinal&&k?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):"",P=k&&!i.ordinal&&i.count===0,R=P&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${C}`]||i[`defaultValue${T}`]||i.defaultValue;let j=m;w&&!m&&S&&(j=R);const q=Pm(j),A=Object.prototype.toString.apply(j);if(w&&j&&q&&!v.includes(A)&&!(le(b)&&Array.isArray(j))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const D=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,j,{...i,ns:c}):`key '${a} (${this.language})' returned an object instead of string.`;return s?(f.res=D,f.usedParams=this.getUsedParamsDetails(i),f):D}if(o){const D=Array.isArray(j),L=D?[]:{},$=D?x:g;for(const B in j)if(Object.prototype.hasOwnProperty.call(j,B)){const V=`${$}${o}${B}`;S&&!m?L[B]=this.translate(V,{...i,defaultValue:Pm(R)?R[B]:void 0,joinArrays:!1,ns:c}):L[B]=this.translate(V,{...i,joinArrays:!1,ns:c}),L[B]===V&&(L[B]=j[B])}m=L}}else if(w&&le(b)&&Array.isArray(m))m=m.join(b),m&&(m=this.extendTranslation(m,t,i,r));else{let D=!1,L=!1;!this.isValidLookup(m)&&S&&(D=!0,m=R),this.isValidLookup(m)||(L=!0,m=a);const B=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&L?void 0:m,V=S&&R!==m&&this.options.updateMissing;if(L||D||V){if(this.logger.log(V?"updateKey":"missingKey",d,u,k&&!V?`${a}${this.pluralResolver.getSuffix(d,i.count,i)}`:a,V?R:m),o){const z=this.resolve(a,{...i,keySeparator:!1});z&&z.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let I=[];const N=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo==="fallback"&&N&&N[0])for(let z=0;z<N.length;z++)I.push(N[z]);else this.options.saveMissingTo==="all"?I=this.languageUtils.toResolveHierarchy(i.lng||this.language):I.push(i.lng||this.language);const _=(z,H,E)=>{var ne;const Q=S&&E!==m?E:B;this.options.missingKeyHandler?this.options.missingKeyHandler(z,u,H,Q,V,i):(ne=this.backendConnector)!=null&&ne.saveMissing&&this.backendConnector.saveMissing(z,u,H,Q,V,i),this.emit
vendor: 29,047 bytes, line 311
311("missingKey",z,u,H,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&k?I.forEach(z=>{const H=this.pluralResolver.getSuffixes(z,i);P&&i[`defaultValue${this.options.pluralSeparator}zero`]&&!H.includes(`${this.options.pluralSeparator}zero`)&&H.push(`${this.options.pluralSeparator}zero`),H.forEach(E=>{_([z],a+E,i[`defaultValue${E}`]||R)})}):_(I,a,R))}m=this.extendTranslation(m,t,i,f,r),L&&m===a&&this.options.appendNamespaceToMissingKey&&(m=`${u}${p}${a}`),(L||D)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${p}${a}`:a,D?m:void 0,i))}return s?(f.res=m,f.usedParams=this.getUsedParamsDetails(i),f):m}extendTranslation(t,n,r,i,s){var c,u;if((c=this.i18nFormat)!=null&&c.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const p=le(t)&&(((u=r==null?void 0:r.interpolation)==null?void 0:u.skipOnVariables)!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(p){const f=t.match(this.interpolator.nestingRegexp);d=f&&f.length}let h=r.replace&&!le(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),t=this.interpolator.interpolate(t,h,r.lng||this.language||i.usedLng,r),p){const f=t.match(this.interpolator.nestingRegexp),m=f&&f.length;d<m&&(r.nest=!1)}!r.lng&&i&&i.res&&(r.lng=this.language||i.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,(...f)=>(s==null?void 0:s[0])===f[0]&&!r.context?(this.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${n[0]}`),null):this.translate(...f,n),r)),r.interpolation&&this.interpolator.reset()}const o=r.postProcess||this.options.postProcess,a=le(o)?[o]:o;return t!=null&&(a!=null&&a.length)&&r.applyPostProcessor!==!1&&(t=YA.handle(a,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t,n={}){let r,i,s,o,a;return le(t)&&(t=[t]),Array.isArray(t)&&(t=t.map(c=>typeof c=="function"?pa(c,{...this.options,...n}):c)),t.forEach(c=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(c,n),p=u.key;i=p;let d=u.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));const h=n.count!==void 0&&!le(n.count),f=h&&!n.ordinal&&n.count===0,m=n.context!==void 0&&(le(n.context)||typeof n.context=="number")&&n.context!=="",g=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);d.forEach(x=>{var v,b;this.isValidLookup(r)||(a=x,!this.checkedLoadedFor[`${g[0]}-${x}`]&&((v=this.utils)!=null&&v.hasLoadedNamespace)&&!((b=this.utils)!=null&&b.hasLoadedNamespace(a))&&(this.checkedLoadedFor[`${g[0]}-${x}`]=!0,this.logger.warn(`key "${i}" for languages "${g.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),g.forEach(w=>{var C;if(this.isValidLookup(r))return;o=w;const k=[p];if((C=this.i18nFormat)!=null&&C.addLookupKeys)this.i18nFormat.addLookupKeys(k,p,w,x,n);else{let T;h&&(T=this.pluralResolver.getSuffix(w,n.count,n));const P=`${this.options.pluralSeparator}zero`,R=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(h&&(n.ordinal&&T.startsWith(R)&&k.push(p+T.replace(R,this.options.pluralSeparator)),k.push(p+T),f&&k.push(p+P)),m){const j=`${p}${this.options.contextSeparator||"_"}${n.context}`;k.push(j),h&&(n.ordinal&&T.startsWith(R)&&k.push(j+T.replace(R,this.options.pluralSeparator)),k.push(j+T),f&&k.push(j+P))}}let S;for(;S=k.pop();)this.isValidLookup(r)||(s=S,r=this.getResource(w,x,S,n))}))})}),{res:r,usedKey:i,exactUsedKey:s,usedLng:o,usedNS:a}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r,i={}){var s;return(s=this.i18nFormat)!=null&&s.getResource?this.i18nFormat.getResource(t,n,r,i):this.resourceStore.getResource(t,n,r,i)}getUsedParamsDetails(t={}){const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!le(t.replace);let i=r?t.replace:t;if(r&&typeof t.count<"u"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!r){i={...i};for(const s of n)delete i[s]}return i}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&r.startsWith(n)&&t[r]!==void 0)return!0;return!1}}class bC{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Tr.create("languageUtils")}getScriptPartFromCode(t){if(t=Nc(t),!t||!t.includes("-"))return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=Nc(t),!t||!t.includes("-"))return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(le(t)&&t.includes("-")){let n;try{n=Intl.getCanonicalLocales(t)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.includes(t)}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(n=i)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const i=this.getScriptPartFromCode(r);if(this.isSupportedCode(i))return n=i;const s=this.getLanguagePartFromCode(r);if(this.isSupportedCode(s))return n=s;n=this.options.supportedLngs.find(o=>o===s?!0:!o.includes("-")&&!s.includes("-")?!1:!!(o.includes("-")&&!s.includes("-")&&o.slice(0,o.indexOf("-"))===s||o.startsWith(s)&&s.length>1))}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),le(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes((n===!1?[]:n)||this.options.fallbackLng||[],t),i=[],s=o=>{o&&(this.isSupportedCode(o)?i.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return le(t)&&(t.includes("-")||t.includes("_"))?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):le(t)&&s(this.formatLanguageCode(t)),r.forEach(o=>{i.includes(o)||s(this.formatLanguageCode(o))}),i}}const xC={zero:0,one:1,two:2,few:3,many:4,other:5},wC={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class GU{constructor(t,n={}){this.languageUtils=t,this.options=n,this.logger=Tr.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(t,n={}){const r=Nc(t==="dev"?"en":t),i=n.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:r,type:i});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let o;try{o=new Intl.PluralRules(r,{type:i})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),wC;if(!t.match(/-|_/))return wC;const c=this.languageUtils.getLanguagePartFromCode(t);o=this.getRule(c,n)}return this.pluralRulesCache[s]=o,o}needsPlural(t,n={}){let r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),(r==null?void 0:r.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(t,n,r={}){return this.getSuffixes(t,r).map(i=>`${n}${i}`)}getSuffixes(t,n={}){let r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((i,s)=>xC[i]-xC[s]).map(i=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i}`):[]}getSuffix(t,n,r={}){const i=this.getRule(t,r);return i?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(n)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",n,r))}}const kC=(e,t,n,r=".",i=!0)=>{let s=MU(e,t,n);return!s&&i&&le(n)&&(s=sy(e,n,r),s===void 0&&(s=sy(t,n,r))),s},Am=e=>e.replace(/\$/g,"$$$$");class CC{constructor(t={}){var n;this.logger=Tr.create("interpolator"),this.options=t,this.format=((n=t==null?void 0:t.interpolation)==null?void 0:n.format)||(r=>r),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:i,prefix:s,prefixEscaped:o,suffix:a,suffixEscaped:c,formatSeparator:u,unescapeSuffix:p,unescapePrefix:d,nestingPrefix:h,nestingPrefixEscaped:f,nestingSuffix:m,nestingSuffixEscaped:g,nestingOptionsSeparator:x,maxReplaces:v,alwaysFormat:b}=t.interpolation;this.escape=n!==void 0?n:$U,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=s?Hr(s):o||"{{",this.suffix=a?Hr(a):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=p?"":d?Hr(d):"-",this.unescapeSuffix=this.unescapePrefix?"":p?Hr(p):"",this.nestingPrefix=h?Hr(h):f||Hr("$t("),this.nestingSuffix=m?Hr(m):g||Hr(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=v||1e3,this.alwaysFormat=b!==void 0?b:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>(n==null?void 0:n.source)===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(t,n,r,i){var f;let s,o,a;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=m=>{if(!m.includes(this.formatSeparator)){const b=kC(n,c,m,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(b,void 0,r,{...i,...n,interpolationkey:m}):b}const g=m.split(this.formatSeparator),x=g.shift().trim(),v=g.join(this.formatSeparator).trim();return this.format(kC(n,c,x,this.options.keySeparator,this.options.ignoreJSONStructure),v,r,{...i,...n,interpolationkey:x})};this.resetRegExp(),!this.escapeValue&&typeof t=="string"&&/\$t\([^)]*\{[^}]*\{\{/.test(t)&&this.logger.warn("nesting options string contains interpolated variables with escapeValue: false — if any of those values are attacker-controlled they can inject additional nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing it to t(), or keep escapeValue: true.");const p=(i==null?void 0:i.missingInterpolationHandler)||this.options.missingInterpolationHandler,d=((f=i==null?void 0:i.interpolation)==null?void 0:f.skipOnVariables)!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:m=>Am(m)},{regex:this.regexp,safeValue:m=>this.escapeValue?Am(this.escape(m)):Am(m)}].forEach(m=>{for(a=0;s=m.regex.exec(t);){const g=s[1].trim();if(o=u(g),o===void 0)if(typeof p=="function"){const v=p(t,s,i);o=le(v)?v:""}else if(i&&Object.prototype.hasOwnProperty.call(i,g))o="";else if(d){o=s[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${t}`),o="";else!le(o)&&!this.useRawValueToEscape&&(o=fC(o));const x=m.safeValue(o);if(t=t.replace(s[0],x),d?(m.regex.lastIndex+=o.length,m.regex.lastIndex-=s[0].length):m.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),t}nest(t,n,r={}){let i,s,o;const a=(c,u)=>{const p=this.nestingOptionsSeparator;if(!c.includes(p))return c;const d=c.split(new RegExp(`${Hr(p)}[ ]*{`));let h=`{${d[1]}`;c=d[0],h=this.interpolate(h,o);const f=h.match(/'/g),m=h.match(/"/g);(((f==null?void 0:f.length)??0)%2===0&&!m||((m==null?void 0:m.length)??0)%2!==0)&&(h=h.replace(/'/g,'"'));try{o=JSON.parse(h),u&&(o={...u,...o})}catch(g){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,g),`${c}${p}${h}`}return o.defaultValue&&o.defaultValue.includes(this.prefix)&&delete o.defaultValue,c};for(;i=this.nestingRegexp.exec(t);){let c=[];o={...r},o=o.replace&&!le(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;const u=/{.*}/.test(i[1])?i[1].lastIndexOf("}")+1:i[1].indexOf(this.formatSeparator);if(u!==-1&&(c=i[1].slice(u).split(this.formatSeparator).map(p=>p.trim()).filter(Boolean),i[1]=i[1].slice(0,u)),s=n(a.call(this,i[1].trim(),o),o),s&&i[0]===t&&!le(s))return s;le(s)||(s=fC(s)),s||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),s=""),c.length&&(s=c.reduce((p,d)=>this.format(p,d,r.lng,{...r,interpolationkey:i[1].trim()}),s.trim())),t=t.replace(i[0],s),this.regexp.lastIndex=0}return t}}const KU=e=>{let t=e.toLowerCase().trim();const n={};if(e.includes("(")){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].slice(0,-1);t==="currency"&&!i.includes(":")?n.currency||(n.currency=i.trim()):t==="relativetime"&&!i.includes(":")?n.range||(n.range=i.trim()):i.split(";").forEach(o=>{if(o){const[a,...c]=o.split(":"),u=c.join(":").trim().replace(/^'+|'+$/g,""),p=a.trim();n[p]||(n[p]=u),u==="false"&&(n[p]=!1),u==="true"&&(n[p]=!0),isNaN(u)||(n[p]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}},jC=e=>{const t={};return(n,r,i)=>{let s=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(s={...s,[i.interpolationkey]:void 0});const o=r+JSON.stringify(s);let a=t[o];return a||(a=e(Nc(r),i),t[o]=a),a(n)}},JU=e=>(t,n,r)=>e(Nc(n),r)(t);class YU{constructor(t={}){this.logger=Tr.create("formatter"),this.options=t,this.init(t)}init(t,n={interpolation:{}}){this.formatSeparator=n.interpolation.formatSeparator||",";const r=n.cacheInBuiltFormats?jC:JU;this.formats={number:r((i,s)=>{const o=new Intl.NumberFormat(i,{...s});return a=>o.format(a)}),currency:r((i,s)=>{const o=new Intl.NumberFormat(i,{...s,style:"currency"});return a=>o.format(a)}),datetime:r((i,s)=>{const o=new Intl.DateTimeFormat(i,{...s});return a=>o.format(a)}),relativetime:r((i,s)=>{const o=new Intl.RelativeTimeFormat(i,{...s});return a=>o.format(a,s.range||"day")}),list:r((i,s)=>{const o=new Intl.ListFormat(i,{...s});return a=>o.format(a)})}}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=jC(n)}format(t,n,r,i={}){if(!n||t==null)return t;const s=n.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&!s[0].includes(")")&&s.find(a=>a.includes(")"))){const a=s.findIndex(c=>c.includes(")"));s[0]=[s[0],...s.splice(1,a)].join(this.formatSeparator)}return s.reduce((a,c)=>{var d;const{formatName:u,formatOptions:p}=KU(c);if(this.formats[u]){let h=a;try{const f=((d=i==null?void 0:i.formatParams)==null?void 0:d[i.interpolationkey])||{},m=f.locale||f.lng||i.locale||i.lng||r;h=this.formats[u](a,m,{...p,...i,...f})}catch(f){this.logger.warn(f)}return h}else this.logger.warn(`there was no format function for ${u}`);return a},t)}}const QU=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class XU extends Gh{constructor(t,n,r,i={}){var s,o;super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=Tr.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],(o=(s=this.backend)==null?void 0:s.init)==null||o.call(s,r,i.backend,i)}queueLoad(t,n,r,i){const s={},o={},a={},c={};return t.forEach(u=>{let p=!0;n.forEach(d=>{const h=`${u}|${d}`;!r.reload&&this.store.hasResourceBundle(u,d)?this.state[h]=2:this.state[h]<0||(this.state[h]===1?o[h]===void 0&&(o[h]=!0):(this.state[h]=1,p=!1,o[h]===void 0&&(o[h]=!0),s[h]===void 0&&(s[h]=!0),c[d]===void 0&&(c[d]=!0)))}),p||(a[u]=!0)}),(Object.keys(s).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(s),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(c)}}loaded(t,n,r){const i=t.split("|"),s=i[0],o=i[1];n&&this.emit("failedLoading",s,o,n),!n&&r&&this.store.addResourceBundle(s,o,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const a={};this.queue.forEach(c=>{DU(c.loaded,[s],o),QU(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{a[u]||(a[u]={});const p=c.loaded[u];p.length&&p.forEach(d=>{a[u][d]===void 0&&(a[u][d]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(c=>!c.done)}read(t,n,r,i=0,s=this.retryTimeout,o){if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:i,wait:s,callback:o});return}this.readingCalls++;const a=(u,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const d=this.waitingReads.shift();this.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(u&&p&&i<this.maxRetries){setTimeout(()=>{this.read(t,n,r,i+1,s*2,o)},s);return}o(u,p)},c=this.backend[r].bind(this.backend);if(c.length===2){try{const u=c(t,n);u&&typeof u.then=="function"?u.then(p=>a(null,p)).catch(a):a(null,u)}catch(u){a(u)}return}return c(t,n,a)}prepareLoading(t,n,r={},i){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();le(t)&&(t=this.languageUtils.toResolveHierarchy(t)),le(n)&&(n=[n]);const s=this.queueLoad(t,n,r,i);if(!s.toLoad.length)return s.pending.length||i(),null;s.toLoad.forEach(o=>{this.loadOne(o)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t,n=""){const r=t.split("|"),i=r[0],s=r[1];this.read(i,s,"read",void 0,void 0,(o,a)=>{o&&this.logger.warn(`${n}loading namespace ${s} for language ${i} failed`,o),!o&&a&&this.logger.log(`${n}loaded namespace ${s} for language ${i}`,a),this.loaded(t,o,a)})}saveMissing(t,n,r,i,s,o={},a=()=>{}){var c,u,p,d,h;if((u=(c=this.services)==null?void 0:c.utils)!=null&&u.hasLoadedNamespace&&!((d=(p=this.services)==null?void 0:p.utils)!=null&&d.hasLoadedNamespace(n))){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if((h=this.backend)!=null&&h.create){const f={...o,isUpdate:s},m=this.backend.create.bind(this.backend);if(m.length<6)try{let g;m.length===5?g=m(t,n,r,i,f):g=m(t,n,r,i),g&&typeof g.then=="function"?g.then(x=>a(null,x)).catch(a):a(null,g)}catch(g){a(g)}else m(t,n,r,i,a,f)}!t||!t[0]||this.store.addResource(t[0],n,r,i)}}}const Nm=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",enableSelector:!1,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),le(e[1])&&(t.defaultValue=e[1]),le(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),SC=e=>(le(e.ns)&&(e.ns=[e.ns]),le(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),le(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&!e.supportedLngs.includes("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),Wu=()=>{},ZU=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class Gl extends Gh{constructor(t={},n){if(super(),this.options=SC(t),this.services={},this.logger=Tr,this.modules={external:[]},ZU(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(t={},n){this.isInitializing=!0,typeof t=="function"&&(n=t,t={}),t.defaultNS==null&&t.ns&&(le(t.ns)?t.defaultNS=t.ns:t.ns.includes("translation")||(t.defaultNS=t.ns[0]));const r=Nm();this.options={...r,...this.options,...SC(t)},this.options.interpolation={...r.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=r.overloadTranslationOptionHandler);const i=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?Tr.init(i(this.modules.logger),this.options):Tr.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:u=YU;const p=new bC(this.options);this.store=new yC(this.options.resources,this.options);const d=this.services;d.logger=Tr,d.resourceStore=this.store,d.languageUtils=p,d.pluralResolver=new GU(p,{prepend:this.options.pluralSeparator}),u&&(d.formatter=i(u),d.formatter.init&&d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new CC(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new XU(i(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",(h,...f)=>{this.emit(h,...f)}),this.modules.languageDetector&&(d.languageDetector=i(this.modules.languageDetector),d.languageDetector.init&&d.languageDetector.init(d,this.options.detection,this.options)),this.modules.i18nFormat&&(d.i18nFormat=i(this.modules.i18nFormat),d.i18nFormat.init&&d.i18nFormat.init(this)),this.translator=new zp(this.services,this.options),this.translator.on("*",(h,...f)=>{this.emit(h,...f)}),this.modules.external.forEach(h=>{h.init&&h.init(this)})}if(this.format=this.options.interpolation.format,n||(n=Wu),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(u=>{this[u]=(...p)=>this.store[u](...p)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=(...p)=>(this.store[u](...p),this)});const a=vl(),c=()=>{const u=(p,d)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(d),n(p,d)};if((this.languages||this.isLanguageChangingTo)&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initAsync?c():setTimeout(c,0),a}loadResources(t,n=Wu){var s,o;let r=n;const i=le(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if((i==null?void 0:i.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const a=[],c=u=>{if(!u||u==="cimode")return;this.services.languageUtils.toResolveHierarchy(u).forEach(d=>{d!=="cimode"&&(a.includes(d)||a.push(d))})};i?c(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(p=>c(p)),(o=(s=this.options.preload)==null?void 0:s.forEach)==null||o.call(s,u=>c(u)),this.services.backendConnector.load(a,this.options.ns,u=>{!u&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(u)})}else r(null)}reloadResources(t,n,r){const i=vl();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=Wu),this.services.backendConnector.reload(t,n,s=>{i.resolve(),r(s)}),i}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&YA.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!["cimode","dev"].includes(t)){for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!["cimode","dev"].includes(r)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}!this.resolvedLanguage&&!this.languages.includes(t)&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(t,n){this.isLanguageChangingTo=t;const r=vl();this.emit("languageChanging",t);const i=a=>{this.language=a,this.languages=this.services.languageUtils.toResolveHierarchy(a),this.resolvedLanguage=void 0,this.setResolvedLanguage(a)},s=(a,c)=>{c?this.isLanguageChangingTo===t&&(i(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,r.resolve((...u)=>this.t(...u)),n&&n(a,(...u)=>this.t(...u))},o=a=>{var p,d;!t&&!a&&this.services.languageDetector&&(a=[]);const c=le(a)?a:a&&a[0],u=this.store.hasLanguageSomeTranslations(c)?c:this.services.languageUtils.getBestMatchFromCodes(le(a)?[a]:a);u&&(this.language||i(u),this.translator.language||this.translator.changeLanguage(u),(d=(p=this.services.languageDetector)==null?void 0:p.cacheUserLanguage)==null||d.call(p,u)),this.loadResources(u,h=>{s(h,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?o(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(t),r}getFixedT(t,n,r,i){const s=i==null?void 0:i.scopeNs,o=(a,c,...u)=>{let p;typeof c!="object"?p=this.options.overloadTranslationOptionHandler([a,c].concat(u)):p={...c},p.lng=p.lng||o.lng,p.lngs=p.lngs||o.lngs;const d=p.ns!==void 0&&p.ns!==null;p.ns=p.ns||o.ns,p.keyPrefix!==""&&(p.keyPrefix=p.keyPrefix||r||o.keyPrefix);const h={...this.options,...p};Array.isArray(s)&&!d&&(h.ns=s),typeof p.keyPrefix=="function"&&(p.keyPrefix=pa(p.keyPrefix,h));const f=this.options.keySeparator||".";let m;return p.keyPrefix&&Array.isArray(a)?m=a.map(g=>(typeof g=="function"&&(g=pa(g,h)),`${p.keyPrefix}${f}${g}`)):(typeof a=="function"&&(a=pa(a,h)),m=p.keyPrefix?`${p.keyPrefix}${f}${a}`:a),this.t(m,p)};return le(t)?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(...t){var n;return(n=this.translator)==null?void 0:n.translate(...t)}exists(...t){var n;return(n=this.translator)==null?void 0:n.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,n={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
311if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const o=(a,c)=>{const u=this.services.backendConnector.state[`${a}|${c}`];return u===-1||u===0||u===2};if(n.precheck){const a=n.precheck(this,o);if(a!==void 0)return a}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,t)&&(!i||o(s,t)))}loadNamespaces(t,n){const r=vl();return this.options.ns?(le(t)&&(t=[t]),t.forEach(i=>{this.options.ns.includes(i)||this.options.ns.push(i)}),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=vl();le(t)&&(t=[t]);const i=this.options.preload||[],s=t.filter(o=>!i.includes(o)&&this.services.languageUtils.isSupportedCode(o));return s.length?(this.options.preload=i.concat(s),this.loadResources(o=>{r.resolve(),n&&n(o)}),r):(n&&n(),Promise.resolve())}dir(t){var i,s;if(t||(t=this.resolvedLanguage||(((i=this.languages)==null?void 0:i.length)>0?this.languages[0]:this.language)),!t)return"rtl";try{const o=new Intl.Locale(t);if(o&&o.getTextInfo){const a=o.getTextInfo();if(a&&a.direction)return a.direction}}catch{}const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=((s=this.services)==null?void 0:s.languageUtils)||new bC(Nm());return t.toLowerCase().indexOf("-latn")>1?"ltr":n.includes(r.getLanguagePartFromCode(t))||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},n){const r=new Gl(t,n);return r.createInstance=Gl.createInstance,r}cloneInstance(t={},n=Wu){const r=t.forkResourceStore;r&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},s=new Gl(i);if((t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(a=>{s[a]=this[a]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r){const a=Object.keys(this.store.data).reduce((c,u)=>(c[u]={...this.store.data[u]},c[u]=Object.keys(c[u]).reduce((p,d)=>(p[d]={...c[u][d]},p),c[u]),c),{});s.store=new yC(a,i),s.services.resourceStore=s.store}if(t.interpolation){const c={...Nm().interpolation,...this.options.interpolation,...t.interpolation},u={...i,interpolation:c};s.services.interpolator=new CC(u)}return s.translator=new zp(s.services,i),s.translator.on("*",(a,...c)=>{s.emit(a,...c)}),s.init(i,n),s.translator.options=i,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Ut=Gl.createInstance();Ut.createInstance;Ut.dir;Ut.init;Ut.loadResources;Ut.reloadResources;Ut.use;Ut.changeLanguage;Ut.getFixedT;Ut.t;Ut.exists;Ut.setDefaultNamespace;Ut.hasLoadedNamespace;Ut.loadNamespaces;Ut.loadLanguages;const e7=(e,t,n,r)=>{var s,o,a,c;const i=[n,{code:t,...r||{}}];if((o=(s=e==null?void 0:e.services)==null?void 0:s.logger)!=null&&o.forward)return e.services.logger.forward(i,"warn","react-i18next::",!0);lo(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),(c=(a=e==null?void 0:e.services)==null?void 0:a.logger)!=null&&c.warn?e.services.logger.warn(...i):console!=null&&console.warn&&console.warn(...i)},_C={},oy=(e,t,n,r)=>{lo(n)&&_C[n]||(lo(n)&&(_C[n]=new Date),e7(e,t,n,r))},XA=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},ay=(e,t,n)=>{e.loadNamespaces(t,XA(e,n))},EC=(e,t,n,r)=>{if(lo(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return ay(e,n,r);
311n.forEach(i=>{e.options.ns.indexOf(i)<0&&e.options.ns.push(i)}),e.loadLanguages(t,XA(e,r))},t7=(e,t,n={})=>!t.languages||!t.languages.length?(oy(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,i)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!i(r.isLanguageChangingTo,e))return!1}}),lo=e=>typeof e=="string",n7=e=>typeof e=="object"&&e!==null,r7=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,i7={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},s7=e=>i7[e],o7=e=>e.replace(r7,s7);let ly={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:o7,transDefaultProps:void 0};const a7=(e={})=>{ly={...ly,...e}},l7=()=>ly;let ZA;const c7=e=>{ZA=e},u7=()=>ZA,d7={type:"3rdParty",init(e){a7(e.options.react),c7(e)}},p7=y.createContext();class h7{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var eN={exports:{}},tN={};/**
312 * @license React
313 * use-sync-external-store-shim.production.js
314 *
315 * Copyright (c) Meta Platforms, Inc. and affiliates.
316 *
317 * This source code is licensed under the MIT license found in the
318 * LICENSE file in the root directory of this source tree.
319 */var Oa=y;function f7(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var m7=typeof Object.is=="function"?Object.is:f7,g7=Oa.useState,v7=Oa.useEffect,y7=Oa.useLayoutEffect,b7=Oa.useDebugValue;function x7(e,t){var n=t(),r=g7({inst:{value:n,getSnapshot:t}}),i=r[0].inst,s=r[1];return y7(function(){i.value=n,i.getSnapshot=t,Rm(i)&&s({inst:i})},[e,n,t]),v7(function(){return Rm(i)&&s({inst:i}),e(function(){Rm(i)&&s({inst:i})})},[e]),b7(n),n}function Rm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!m7(e,n)}catch{return!0}}function w7(e,t){return t()}var k7=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?w7:x7;tN.useSyncExternalStore=Oa.useSyncExternalStore!==void 0?Oa.useSyncExternalStore:k7;eN.exports=tN;var C7=eN.exports;const j7=(e,t)=>{if(lo(t))return t;if(n7(t)&&lo(t.defaultValue))return t.defaultValue;if(typeof e=="function")return"";if(Array.isArray(e)){const n=e[e.length-1];return typeof n=="function"?"":n}return e},S7={t:j7,ready:!1},_7=()=>()=>{},E7=(e,t={})=>{var R,j,q;const{i18n:n}=t,{i18n:r,defaultNS:i}=y.useContext(p7)||{},s=n||r||u7();s&&!s.reportNamespaces&&(s.reportNamespaces=new h7),s||oy(s,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const o=y.useMemo(()=>{var A;return{...l7(),...(A=s==null?void 0:s.options)==null?void 0:A.react,...t}},[s,t]),{useSuspense:a,keyPrefix:c}=o,u=i||((R=s==null?void 0:s.options)==null?void 0:R.defaultNS),p=lo(u)?[u]:u||["translation"],d=y.useMemo(()=>p,p);(q=(j=s==null?void 0:s.reportNamespaces)==null?void 0:j.addUsedNamespaces)==null||q.call(j,d);const h=y.useRef(0),f=y.useCallback(A=>{if(!s)return _7;const{bindI18n:D,bindI18nStore:L}=o,$=()=>{h.current+=1,A()};return D&&s.on(D,$),L&&s.store.on(L,$),()=>{D&&D.split(" ").forEach(B=>s.off(B,$)),L&&L.split(" ").forEach(B=>s.store.off(B,$))}},[s,o]),m=y.useRef(),g=y.useCallback(()=>{if(!s)return S7;const A=!!(s.isInitialized||s.initializedStoreOnce)&&d.every(I=>t7(I,s,o)),D=t.lng||s.language,L=h.current,$=m.current;if($&&$.ready===A&&$.lng===D&&$.keyPrefix===c&&$.revision===L)return $;const V={t:s.getFixedT(D,o.nsMode==="fallback"?d:d[0],c,{scopeNs:d}),ready:A,lng:D,keyPrefix:c,revision:L};return m.current=V,V},[s,d,c,o,t.lng]),[x,v]=y.useState(0),{t:b,ready:w}=C7.useSyncExternalStore(f,g,g);y.useEffect(()=>{if(s&&!w&&!a){const A=()=>v(D=>D+1);t.lng?EC(s,t.lng,d,A):ay(s,d,A)}},[s,t.lng,d,w,a,x]);const k=s||{},S=y.useRef(null),C=y.useRef(),T=A=>{const D=Object.getOwnPropertyDescriptors(A);D.__original&&delete D.__original;const L=Object.create(Object.getPrototypeOf(A),D);if(!Object.prototype.hasOwnProperty.call(L,"__original"))try{Object.defineProperty(L,"__original",{value:A,writable:!1,enumerable:!1,
319configurable:!1})}catch{}return L},P=y.useMemo(()=>{const A=k,D=A==null?void 0:A.language;let L=A;A&&(S.current&&S.current.__original===A?C.current!==D?(L=T(A),S.current=L,C.current=D):L=S.current:(L=T(A),S.current=L,C.current=D));const $=!w&&!a?(...V)=>(oy(s,"USE_T_BEFORE_READY","useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t."),b(...V)):b,B=[$,L,w];return B.t=$,B.i18n=L,B.ready=w,B},[b,k,w,k.resolvedLanguage,k.language,k.languages]);if(s&&a&&!w)throw new Promise(A=>{const D=()=>A();t.lng?EC(s,t.lng,d,D):ay(s,d,D)});return P},qm="https://boitepac.com";function T7(){const{pathname:e}=Ct(),t=is(e),n=e.replace(/\/+$/,"")||"/",r=t==="fr"?n:_c(n,"fr"),i=t==="en"?n:_c(n,"en"),s=`${qm}${n}`,o=`${qm}${r}`,a=`${qm}${i}`;return l.jsxs(vs,{children:[l.jsx("link",{rel:"canonical",href:s}),l.jsx("link",{rel:"alternate",hrefLang:"fr-CA",href:o}),l.jsx("link",{rel:"alternate",hrefLang:"en-CA",href:a}),l.jsx("link",{rel:"alternate",hrefLang:"x-default",href:o})]})}const P7={title:"Boîte Pac — Cabinet conseils & stratégie d'impact",description:"Cabinet conseils en leadership et impact organisationnel. Nous accompagnons les entreprises qui veulent faire les choses différemment."},A7={title:"Boîte Pac — Leadership & impact strategy consultancy",description:"Consultancy in leadership and organizational impact. We support companies that want to do things differently."},nN={fr:P7,en:A7},N7={"/":nN,"/a-propos":{fr:{title:"À propos — L'équipe Boîte Pac",description:"Découvrez l'équipe et l'histoire de Boîte Pac : un cabinet montréalais qui transforme le monde du travail par le leadership humain et l'impact durable."},en:{title:"About — Meet the Boîte Pac team",description:"Meet the team and history of Boîte Pac: a Montréal consultancy reshaping the workplace through human leadership and lasting impact."}},"/contact":{fr:{title:"Contact — Parlons de votre projet | Boîte Pac",description:"Un projet, un défi, une ambition à faire grandir ? Écrivez-nous, on vous répond rapidement pour planifier un appel découverte."},en:{title:"Contact — Let's talk about your project | Boîte Pac",description:"Have a project, a challenge or an ambition to grow? Get in touch and we'll set up a discovery call."}},"/nos-ateliers":{fr:{title:"Nos ateliers — Formations leadership et culture | Boîte Pac",description:"Ateliers, conférences et lunch & learn sur le leadership, la culture d'entreprise et la performance humaine, animés par Boîte Pac."},en:{title:"Our workshops — Leadership and culture training | Boîte Pac",description:"Workshops, talks and lunch & learns on leadership, company culture and human performance, facilitated by Boîte Pac."}},"/etudes-de-cas":{fr:{title:"Études de cas — Transformations clients | Boîte Pac",description:"Explorez nos études de cas : entreprises certifiées B Corp, transformations de leadership et stratégies d'impact concrètes."},en:{title:"Case studies — Client transformations | Boîte Pac",description:"Browse our case studies: B Corp certifications, leadership transformations and tangible impact strategies."}},"/expertise/leadership-organisationnel":{fr:{title:"Leadership organisationnel — Expertise | Boîte Pac",description:"Programmes, cohortes et coaching pour développer un leadership humain, ancré et performant au sein de votre organisation."},en:{title:"Organizational leadership — Expertise | Boîte Pac",description:"Programs, cohorts and coaching to grow a human, grounded and high-performing leadership inside your organization."}},"/expertise/accompagnement-certification-b-corp":{fr:{title:"Accompagnement B Corp — Certification & recertification | Boîte Pac",description:"Accompagnement complet vers la certification ou la recertification B Corp : audit, plan d'action, soumission et stratégie d'impact."},en:{title:"B Corp certification support — From audit to submission | Boîte Pac",description:"End-to-end support to achieve or renew B Corp certification: audit, action plan, submission and impact strategy."}},"/blog":{fr:{title:"Blogue — Idées & inspirations | Boîte Pac",description:"Articles, réflexions et inspirations sur le leadership, la culture d'entreprise, la certification B Corp et l'impact durable."},en:{title:"Blog — Ideas & inspiration | Boîte Pac",description:"Articles, reflections and inspiration on leadership, company culture, B Corp certification and lasting impact."}},"/politique-de-confidentialite":{fr:{title:"Politique de confidentialité | Boîte Pac",description:"Comment Boîte Pac collecte, utilise et protège vos renseignements personnels."},en:{title:"Privacy policy | Boîte Pac",description:"How Boîte Pac collects, uses and protects your personal information."}},"/inscription/confirmation":{fr:{title:"Inscription confirmée | Boîte Pac",description:"Confirmation d'inscription à un programme Boîte Pac."},en:{title:"Registration confirmed | Boîte Pac",description:"Confirmation of your registration to a Boîte Pac program."}}},R7="https://boitepac.com";function q7(){const{pathname:e}=Ct(),t=is(e),n=e.replace(/\/+$/,"")||"/",r=t==="fr"?n:_c(n,"fr"),i=N7[r]??nN,{title:s,description:o}=t==="en"?i.en:i.fr,a=`${R7}${n}`;return l.jsxs(vs,{children:[l.jsx("title",{children:s}),l.jsx("meta",{name:"description",content:o}),l.jsx("meta",{property:"og:title",content:s}),l.jsx("meta",{property:"og:description",content:o}),l.jsx("meta",{property:"og:url",content:a}),l.jsx("meta",{name:"twitter:title",content:s}),l.jsx("meta",{name:"twitter:description",content:o})]})}function I7({children:e}){const t=Ct(),{i18n:n}=E7(),r=is(t.pathname),i=r==="en"?"en-CA":"fr-CA";return y.useEffect(()=>{n.language!==r&&n.changeLanguage(r)},[r,n]),l.jsxs(l.Fragment,{children:[l.jsx(vs,{children:l.jsx("html",{lang:i})}),l.jsx(T7,{}),l.jsx(q7,{}),e]})}const Yx="boitepac:favorites:v1",rN=y.createContext(null);function TC(){if(typeof window>"u")return[];try{const e=window.localStorage.getItem(Yx);if(!e)return[];const t=JSON.parse(e);return Array.isArray(t)?t.filter(n=>typeof n=="string"):[]}catch{return[]}}function L7(e){if(!(typeof window>"u"))try{window.localStorage.setItem(Yx,JSON.stringify(e))}catch{}}function O7({children:e}){const[t,n]=y.useState([]),[r,i]=y.useState(!1);y.useEffect(()=>{n(TC())},[]),y.useEffect(()=>{const h=f=>{f.key===Yx&&n(TC())};return window.addEventListener("storage",h),()=>window.removeEventListener("storage",h)},[]);const s=y.useCallback(h=>{n(h),L7(h)},[]),o=y.useCallback(h=>t.includes(h),[t]),a=y.useCallback(h=>{t.includes(h)||s([...t,h])},[t,s]),c=y.useCallback(h=>{s(t.filter(f=>f!==h))},[t,s]),u=y.useCallback(h=>t.includes(h)?(s(t.filter(f=>f!==h)),!1):(s([...t,h]),!0),[t,s]),p=y.useCallback(()=>s([]),[s]),d=y.useMemo(()=>({slugs:t,count:t.length,isFavorite:o,toggle:u,add:a,remove:c,clear:p,isOpen:r,open:()=>i(!0),close:()=>i(!1),setOpen:i}),[t,o,u,a,c,p,r]);return l.jsx(rN.Provider,{value:d,children:e})}function Kh(){const e=y.useContext(rN);if(!e)throw new Error("useFavorites must be used within FavoritesProvi
319der");return e}const D7=tu("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-full text-sm font-medium ring-offset-background transition-all duration-300 ease-smooth focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:-translate-y-0.5 active:translate-y-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 hover:shadow-card",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-foreground/15 bg-transparent hover:bg-foreground/5 hover:border-foreground/30",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-foreground/5 hover:translate-y-0",link:"text-primary underline-offset-4 hover:underline rounded-none hover:translate-y-0",accent:"bg-accent text-accent-foreground hover:bg-[hsl(var(--blue-vivid-hover))] shadow-card hover:shadow-elevated",cream:"bg-cream text-navy hover:bg-cream/90 shadow-card hover:shadow-elevated",navy:"bg-navy text-cream hover:bg-navy-light shadow-card hover:shadow-elevated",pill:"bg-cream text-navy border border-navy/10 hover:shadow-card hover:border-navy/25"},size:{default:"h-12 px-6 py-3",sm:"h-10 px-4 text-xs",lg:"h-14 px-8 text-base",xl:"h-16 px-10 text-base",icon:"h-12 w-12"}},defaultVariants:{variant:"default",size:"default"}}),tt=y.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},s)=>{const o=r?Q3:"button";return l.jsx(o,{className:K(D7({variant:t,size:n,className:e})),ref:s,...i})});tt.displayName="Button";const Pr={leadership:{label:"Leadership organisationnel",href:"/expertise/leadership-organisationnel",description:"Développer le leadership et la culture d'équipe pour des humains qui passent à l'action.",services:[{label:"Programme Leadership personnalisé",format:"personnalise",formatLabel:"Niveau 1",href:"/services/parcours-leadership-cohorte-personnalisee",icon:_p,blurb:"Un parcours co-construit pour faire grandir vos gestionnaires, ancré dans votre réalité."},{label:"Programme Leadership personnalisé",format:"personnalise",formatLabel:"Niveau 2",href:"/services/programme-leadership-personnalise-niveau-2",icon:_p,blurb:"Un parcours avancé pour pousser plus loin l'intentionnalité, le sens et la perspective stratégique."},{label:"Cohorte Leadership signature",href:"/services/parcours-leadership-en-groupe",icon:Ev,blurb:"Un parcours en cohorte pour explorer les 8 compétences clés du leadership d'impact."},{label:"Cohorte leadership pour fondateur·rice·s",format:"cohorte",formatLabel:"Bientôt disponible",announce:!0,href:"/services/cohorte-leadership-fondateur",icon:Ev,blurb:"Deux jours immersifs conçus exclusivement pour les fondateur·rice·s d'entreprise."},{label:"Test psychométrique Nova",href:"/services/tests-psychometriques",icon:gT,blurb:"Mieux se connaître pour mieux collaborer et décider."},{label:"Coaching & conseils",href:"/services/coaching-conseils-leadership",icon:wT,blurb:"Accompagnement individuel et d'équipe sur mesure.",hiddenInMenu:!0}]},impact:{label:"Accompagnement certification B Corp",href:"/expertise/accompagnement-certification-b-corp",description:"Structurer et amplifier l'évolution ESG de votre organisation, simplement.",services:[{label:"Certification B Corp (personnalisée)",href:"/services/certification-b-corp-personnalise",icon:mT,blurb:"Un accompagnement sur mesure, calibré à votre rythme."},{label:"Certification B Corp (en groupe)",href:"/services/certification-b-corp-cohorte-de-groupe",icon:kc,blurb:"Cheminez vers la certification au sein d'une cohorte d'entreprises."},{label:"Recertification B Corp (personnalisée)",href:"/services/recertification-b-corp-personnalise",icon:ax,blurb:"On revisite, on consolide et on prépare le prochain cycle."},{label:"Recertification B Corp (en groupe)",href:"/services/recertification-b-corp-cohorte-de-groupe",icon:CT,blurb:"Préparez votre prochain cycle entouré d'autres B Corps."}]}},PC=[{label:"Expertise",type:"mega"},{label:"Nos ateliers",href:"/nos-ateliers",type:"link"},{label:"À propos",href:"/a-propos",type:"link"}],AC={"/expertise/leadership-organisationnel":{fr:"Leadership organisationnel",en:"Organizational leadership"},"/expertise/accompagnement-certification-b-corp":{fr:"Accompagnement certification B Corp",en:"B Corp certification support"}},M7={"/services/parcours-leadership-cohorte-personnalisee":{fr:"Programme Leadership personnalisé",en:"Custom Leadership Program"},"/services/programme-leadership-personnalise-niveau-2":{fr:"Programme Leadership personnalisé",en:"Custom Leadership Program"},"/services/parcours-leadership-en-groupe":{fr:"Cohorte Leadership signature",en:"Signature Leadership Cohort"},"/services/tests-psychometriques":{fr:"Test psychométrique Nova",en:"Nova psychometric test"},"/services/coaching-conseils-leadership":{fr:"Coaching & conseils",en:"
319Coaching & advisory"},"/services/certification-b-corp-personnalise":{fr:"Certification B Corp (personnalisée)",en:"B Corp Certification (customized)"},"/services/certification-b-corp-cohorte-de-groupe":{fr:"Certification B Corp (en groupe)",en:"B Corp Certification (group)"},"/services/recertification-b-corp-personnalise":{fr:"Recertification B Corp (personnalisée)",en:"B Corp Recertification (customized)"},"/services/recertification-b-corp-cohorte-de-groupe":{fr:"Recertification B Corp (en groupe)",en:"B Corp Recertification (group)"}},B7={personnalise:{fr:"Parcours personnalisé",en:"Custom program"},cohorte:{fr:"Cohorte de groupe",en:"Group cohort"}},$7={"Niveau 1":{fr:"Niveau 1",en:"Level 1"},"Niveau 2":{fr:"Niveau 2",en:"Level 2"},"Inscriptions en cours":{fr:"Inscriptions en cours",en:"Registrations open"}};function F7(e,t){var n,r;return((n=AC[e])==null?void 0:n[t])??((r=AC[e])==null?void 0:r.fr)??""}function iN(e,t,n){var r;return((r=M7[e])==null?void 0:r[t])??n}function cy(e,t){return B7[e][t]}function sN(e,t){var n;return((n=$7[e])==null?void 0:n[t])??e}const z7=1,U7="ccd95663-ab51-4d50-a37a-63dbbf9d3a23",V7="2a085179-0a1c-43ad-88f9-631c9eab2259",W7="/__l5e/assets-v1/ccd95663-ab51-4d50-a37a-63dbbf9d3a23/logo-boitepac-white.png",H7="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/ccd95663-ab51-4d50-a37a-63dbbf9d3a23/logo-boitepac-white.png",G7="logo-boitepac-white.png",K7=34179,J7="image/png",Y7="2026-06-16T14:48:07Z",oN={version:z7,asset_id:U7,project_id:V7,url:W7,r2_key:H7,original_filename:G7,size:K7,content_type:J7,created_at:Y7};function Im({variant:e="header",className:t}){const{count:n,open:r}=Kh(),s=me()("Mes favoris","My favorites");return e==="mobile"?l.jsxs("button",{type:"button",onClick:r,"aria-label":s,className:K("flex w-full items-center justify-between rounded-2xl px-3 py-3 text-left font-display text-lg text-cream",t),children:[l.jsxs("span",{className:"inline-flex items-center gap-3",children:[l.jsx(wc,{className:K("h-5 w-5",n>0&&"fill-accent text-accent")}),s]}),n>0&&l.jsx("span",{className:"inline-grid h-6 min-w-6 place-items-center rounded-full bg-accent px-2 text-xs font-semibold text-accent-foreground",children:n})]}):l.jsxs("button",{type:"button",onClick:r,"aria-label":n>0?`${s} (${n})`:s,className:K("relative inline-flex h-10 w-10 items-center justify-center rounded-full text-cream/85 transition-colors hover:text-cream focus:outline-none focus-visible:ring-2 focus-visible:ring-cream/50",t),children:[l.jsx(wc,{className:K("h-5 w-5 transition-colors",n>0&&"fill-accent text-accent")}),l.jsx(Ir,{children:n>0&&l.jsx(re.span,{initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},exit:{scale:0,opacity:0},transition:{type:"spring",stiffness:400,damping:20},className:"absolute -right-1 -top-1 grid h-5 min-w-5 place-items-center rounded-full bg-accent px-1 text-[10px] font-bold leading-none text-accent-foreground",children:n},n)}),l.jsx("span",{className:"sr-only",children:s})]})}const NC={Expertise:{fr:"Expertise",en:"Expertise"},"Nos ateliers":{fr:"Nos ateliers",en:"Our workshops"},"À propos":{fr:"À propos",en:"About"}},Q7=({className:e,href:t})=>l.jsxs(ie,{to:t,"aria-label":"Boîte Pac — Home",className:K("flex items-center gap-2",e),children:[l.jsx("img",{src:oN.url,alt:"Boîte Pac",width:160,height:160,className:"h-11 w-11 object-contain"}),l.jsx("span",{className:"sr-only",children:"Boîte Pac"})]});function X7(){const[e,t]=y.useState(!1),[n,r]=y.useState(!1),[i,s]=y.useState(!1),[o,a]=y.useState(!1),[c,u]=y.useState(!1),p=y.useRef(0),d=y.useRef(!1),h=Ct(),f=nt(),m=We(),g=me();return y.useEffect(()=>{const x=()=>t(window.scrollY>8);return x(),window.addEventListener("scroll",x,{passive:!0}),()=>window.removeEventListener("scroll",x)},[]),y.useEffect(()=>{const x=()=>{d.current||(window.requestAnimationFrame(()=>{const v=window.scrollY;v>p.current&&v>80&&!i&&!n?u(!0):v<p.current&&u(!1),p.current=v,d.current=!1}),d.current=!0)};return window.addEventListener("scroll",x,{passive:!0}),()=>window.removeEventListener("scroll",x)},[i,n]),y.useEffect(()=>{r(!1),s(!1),a(!1),u(!1)},[h.pathname]),l.jsx("header",{className:K("fixed inset-x-0 top-0 z-50 transition-transform duration-500 ease-smooth",c&&"-translate-y-full"),children:l.jsxs("div",{className:K("transition-all duration-500 ease-smooth",e?"py-2":"py-4"),children:[l.jsx("div",{className:"section",children:l.jsxs("div",{className:"flex items-center gap-3",children:[l.jsxs("div",{className:K("flex flex-1 items-center justify-between rounded-full bg-navy/95 px-4 py-2.5 backdrop-blur-md transition-all duration-500 ease-smooth md:px-6",e?"shadow-elevated":""),children:[l.jsx(Q7,{href:m("/")}),l.jsxs("nav",{className:"absolute left-1/2 hidden -translate-x-1/2 items-center gap-1 lg:flex",onMouseLeave:()=>r(!1),children:[l.jsxs("div",{className:"relative",children:[l.jsxs("button",{className:K("group inline-flex items-center gap-1.5 rounded-full px-4 py-2 text-sm font-medium text-cream/85 transition-colors hover:text-cream",n&&"text-cream"),onMouseEnter:()=>r(!0),onClick:()=>r(x=>!x),"aria-expanded":n,"aria-haspopup":"true",children:[g("Expertise","Expertise"),l.jsx(Sp,{className:K("h-4 w-4 transition-transform duration-300",n&&"rotate-180")}
319)]}),l.jsx(Ir,{children:n&&l.jsx(re.div,{initial:{opacity:0,y:-6},animate:{opacity:1,y:0},exit:{opacity:0,y:-6},transition:{duration:.22,ease:[.22,1,.36,1]},className:"absolute left-0 top-full z-40 w-[min(640px,90vw)] pt-4",onMouseEnter:()=>r(!0),children:l.jsxs("div",{className:"grid gap-3 rounded-[1.75rem] border border-foreground/5 bg-cream p-3 shadow-mega",children:[l.jsx(Hu,{pole:Pr.leadership,tone:"leadership",lang:f,lh:m}),l.jsx(Hu,{pole:Pr.impact,tone:"impact",lang:f,lh:m})]})})})]}),PC.filter(x=>x.type==="link").map(x=>{var v;return l.jsx(ie,{to:m(x.href),className:"rounded-full px-4 py-2 text-sm font-medium text-cream/85 transition-colors hover:text-cream",children:((v=NC[x.label])==null?void 0:v[f])??x.label},x.label)})]}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(Im,{className:"hidden sm:inline-flex"}),l.jsx(tt,{asChild:!0,variant:"cream",size:"default",className:"hidden sm:inline-flex",children:l.jsx(ie,{to:m("/contact"),children:g("Contactez-nous","Contact us")})}),l.jsx(Im,{className:"inline-flex h-11 w-11 rounded-full sm:hidden"}),l.jsx("button",{className:"grid h-11 w-11 place-items-center rounded-full text-cream lg:hidden",onClick:()=>s(x=>!x),"aria-label":"Menu",children:i?l.jsx(lr,{className:"h-5 w-5"}):l.jsx(n6,{className:"h-5 w-5"})})]})]}),l.jsx(Z7,{})]})}),l.jsx(Ir,{children:i&&l.jsx(re.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.2},className:"section mt-3 lg:hidden",children:l.jsxs("div",{className:"max-h-[calc(100vh-7rem)] overflow-y-auto overscroll-contain rounded-3xl bg-navy p-4 shadow-mega",children:[l.jsxs("button",{onClick:()=>a(x=>!x),className:"flex w-full items-center justify-between rounded-2xl px-3 py-3 text-left font-display text-lg text-cream",children:[g("Expertise","Expertise"),l.jsx(Sp,{className:K("h-5 w-5 transition-transform",o&&"rotate-180")})]}),l.jsx(Ir,{initial:!1,children:o&&l.jsx(re.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.25,ease:[.22,1,.36,1]},className:"overflow-hidden",children:l.jsxs("div",{className:"space-y-3 px-1 pb-2",children:[l.jsx(Hu,{pole:Pr.leadership,tone:"leadership",compact:!0,lang:f,lh:m}),l.jsx(Hu,{pole:Pr.impact,tone:"impact",compact:!0,lang:f,lh:m})]})})}),l.jsxs("div",{className:"mt-2 flex flex-col",children:[PC.filter(x=>x.type==="link").map(x=>{var v;return l.jsx(ie,{to:m(x.href),className:"rounded-2xl px-3 py-3 font-display text-lg text-cream",children:((v=NC[x.label])==null?void 0:v[f])??x.label},x.label)}),l.jsx(Im,{variant:"mobile",className:"mt-1"}),l.jsxs(ie,{to:m("/contact"),className:"mt-3 inline-flex items-center justify-center gap-2 rounded-full bg-cream px-6 py-3 font-medium text-navy",children:[g("Contactez-nous","Contact us")," ",l.jsx(Je,{className:"h-4 w-4"})]})]})]})})})]})})}function Hu({pole:e,tone:t,compact:n=!1,lang:r,lh:i}){const s=F7(e.href,r),[o,...a]=s.split(" "),c=a.join(" ");return l.jsx(ie,{to:i(e.href),className:K("group relative block rounded-2xl p-5 transition-all duration-300 ease-smooth hover:shadow-card",t==="leadership"?"bg-leadership":"bg-impact"),children:l.jsxs("div",{className:"flex items-start justify-between gap-4",children:[l.jsxs("div",{className:"min-w-0",children:[l.jsxs("h3",{className:K("font-display text-xl font-semibold leading-tight",n&&"text-lg"),children:[l.jsx("span",{className:"font-bold",children:o})," ",l.jsx("span",{className:"text-foreground/70",children:c})]}),l.jsx("ul",{className:"mt-3 space-y-1.5",children:e.services.filter(u=>!("hiddenInMenu"in u)||!u.hiddenInMenu).map(u=>{const p="format"in u?u.format:void 0,d="formatLabel"in u?u.formatLabel:void 0,h="announce"in u?u.announce:!1,f=iN(u.href,r,u.label),m=d?sN(d,r):void 0;return l.jsx("li",{children:l.jsxs(ie,{to:i(u.href),onClick:g=>g.stopPropagation(),className:"inline-flex flex-wrap items-center gap-2 rounded-full text-[15px] text-foreground/90 transition-colors hover:text-foreground",children:[l.jsx("span",{className:"hover:underline",children:f}),h&&m?l.jsxs("span",{className:"inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-[10px] font-semibold uppercase tracking-wider bg-[hsl(var(--blue-vivid))] text-white",children:[l.jsx(qh,{className:"h-3 w-3 shrink-0","aria-hidden":!0}),m]}):l.jsxs(l.Fragment,{children:[p&&!d&&p==="cohorte"&&l.jsx("span",{className:"px-2.5 py-0.5 rounded-full text-[10px] font-semibold uppercase tracking-wider border bg-accent/10 text-accent border-accent/30",children:cy(p,r)}),p&&!d&&p==="personnalise"&&l.jsx("span",{className:"px-2.5 py-0.5 rounded-full text-[10px] font-semibold uppercase tracking-wider border bg-white/40 text-foreground
319/70 border-foreground/20",children:cy(p,r)}),m&&l.jsx("span",{className:"px-2.5 py-0.5 rounded-full text-[10px] font-semibold uppercase tracking-wider border bg-white/40 text-foreground/70 border-foreground/20",children:m})]})]})},u.href)})})]}),l.jsx("span",{className:"grid h-9 w-9 shrink-0 place-items-center rounded-full bg-accent text-accent-foreground transition-transform duration-300 ease-smooth group-hover:translate-x-1",children:l.jsx(Je,{className:"h-4 w-4"})})]})})}function Z7(){const e=Ct(),t=fo(),n=nt(),r=i=>{if(i===n)return;const s=_c(e.pathname,i);t(s+e.search+e.hash)};return l.jsx("div",{className:"hidden shrink-0 items-center rounded-full bg-navy/95 p-1 backdrop-blur-md shadow-card sm:inline-flex",children:["FR","EN"].map(i=>{const s=i.toLowerCase(),o=n===s;return l.jsx("button",{type:"button",onClick:()=>r(s),"aria-pressed":o,className:K("rounded-full px-3 py-1.5 text-[11px] font-semibold tracking-wider transition-colors",o?"bg-cream text-navy":"text-cream/70 hover:text-cream"),children:i},i)})})}const eV=1,tV="2ec93240-154b-4ecf-8fb5-73ac39e27027",nV="2a085179-0a1c-43ad-88f9-631c9eab2259",rV="/__l5e/assets-v1/2ec93240-154b-4ecf-8fb5-73ac39e27027/bcorp-canadian-white.png",iV="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/2ec93240-154b-4ecf-8fb5-73ac39e27027/bcorp-canadian-white.png",sV="bcorp-canadian-white.png",oV=56518,aV="image/png",lV="2026-06-16T14:42:28Z",cV={version:eV,asset_id:tV,project_id:nV,url:rV,r2_key:iV,original_filename:sV,size:oV,content_type:aV,created_at:lV},uV=({className:e})=>l.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,className:e,children:l.jsx("path",{d:"M20.45 20.45h-3.55v-5.57c0-1.33-.02-3.04-1.85-3.04-1.85 0-2.13 1.45-2.13 2.95v5.66H9.37V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.06 2.06 0 1 1 0-4.13 2.06 2.06 0 0 1 0 4.13zM7.12 20.45H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.72v20.56C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.72V1.72C24 .77 23.2 0 22.22 0z"})}),dV=({className:e})=>l.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,className:e,children:l.jsx("path",{d:"M12 2.16c3.2 0 3.58.01 4.85.07 1.17.05 1.8.25 2.23.41.56.22.96.48 1.38.9.42.42.68.82.9 1.38.16.42.36 1.06.41 2.23.06 1.27.07 1.65.07 4.85s-.01 3.58-.07 4.85c-.05 1.17-.25 1.8-.41 2.23-.22.56-.48.96-.9 1.38-.42.42-.82.68-1.38.9-.42.16-1.06.36-2.23.41-1.27.06-1.65.07-4.85.07s-3.58-.01-4.85-.07c-1.17-.05-1.8-.25-2.23-.41-.56-.22-.96-.48-1.38-.9-.42-.42-.68-.82-.9-1.38-.16-.42-.36-1.06-.41-2.23-.06-1.27-.07-1.65-.07-4.85s.01-3.58.07-4.85c.05-1.17.25-1.8.41-2.23.22-.56.48-.96.9-1.38.42-.42.82-.68 1.38-.9.42-.16 1.06-.36 2.23-.41 1.27-.06 1.65-.07 4.85-.07M12 0C8.74 0 8.33.01 7.05.07 5.78.13 4.9.33 4.14.63c-.79.3-1.46.72-2.13 1.39C1.34 2.69.92 3.36.62 4.15c-.3.76-.5 1.64-.56 2.91C0 8.34 0 8.75 0 12s.01 3.66.07 4.94c.06 1.27.26 2.15.56 2.91.3.79.72 1.46 1.39 2.13.67.67 1.34 1.09 2.13 1.39.76.3 1.64.5 2.91.56C8.33 23.99 8.74 24 12 24s3.67-.01 4.95-.07c1.27-.06 2.15-.26 2.91-.56a5.9 5.9 0 0 0 2.13-1.39 5.9 5.9 0 0 0 1.39-2.13c.3-.76.5-1.64.56-2.91.06-1.28.07-1.69.07-4.94s-.01-3.66-.07-4.94c-.06-1.27-.26-2.15-.56-2.91a5.9 5.9 0 0 0-1.39-2.13A5.9 5.9 0 0 0 19.86.63c-.76-.3-1.64-.5-2.91-.56C15.67.01 15.26 0 12 0zm0 5.84a6.16 6.16 0 1 0 0 12.32 6.16 6.16 0 0 0 0-12.32zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.4-11.84a1.44 1.44 0 1 0 0 2.88 1.44 1.44 0 0 0 0-2.88z"})}),pV=({className:e})=>l.jsx("img",{src:cV.url,alt:"Certified B Corporation",className:e,width:200,height:280,loading:"lazy"});function hV(){const e=me(),t=We();return l.jsx("footer",{className:"w-full bg-navy text-cream",children:l.jsxs("div",{className:"section py-16 md:py-24",children:[l.jsxs("div",{className:"grid gap-12 md:grid-cols-12",children:[l.jsxs("div",{className:"md:col-span-5",children:[l.jsx("img",{src:oN.url,alt:"Boîte Pac",width:160,height:160,loading:"lazy",className:"h-16 w-16 object-contain"}),l.jsx("p",{className:"mt-6 max-w-sm font-display text-2xl leading-snug",children:e(l.jsxs(l.Fragment,{children:["Des ",l.jsx("em",{className:"not-italic font-semibold",children:"humains"}
319)," à impact, dans des"," ",l.jsx("em",{className:"not-italic font-semibold",children:"entreprises"})," à impact."]}),l.jsxs(l.Fragment,{children:[l.jsx("em",{className:"not-italic font-semibold",children:"Humans"})," with impact, within"," ",l.jsx("em",{className:"not-italic font-semibold",children:"companies"})," with impact."]}))}),l.jsxs("div",{className:"mt-8 space-y-1 text-sm text-cream/80",children:[l.jsx("a",{href:"mailto:[email protected]",className:"block hover:text-cream",children:"[email protected]"}),l.jsx("a",{href:"tel:+15145881357",className:"block hover:text-cream",children:"514 588-1357"})]})]}),l.jsxs("div",{className:"md:col-span-3",children:[l.jsx("h4",{className:"text-xs font-semibold uppercase tracking-widest text-cream/60",children:e("Navigation","Navigation")}),l.jsxs("ul",{className:"mt-4 space-y-2.5 text-sm",children:[l.jsx("li",{children:l.jsx(ie,{to:t("/"),className:"text-cream/85 hover:text-cream",children:e("Accueil","Home")})}),l.jsx("li",{children:l.jsx(ie,{to:t(Pr.leadership.href),className:"text-cream/85 hover:text-cream",children:e("Leadership organisationnel","Organizational leadership")})}),l.jsx("li",{children:l.jsx(ie,{to:t(Pr.impact.href),className:"text-cream/85 hover:text-cream",children:e("Accompagnement certification B Corp","B Corp certification support")})}),l.jsx("li",{children:l.jsx(ie,{to:t("/nos-ateliers"),className:"text-cream/85 hover:text-cream",children:e("Nos ateliers","Our workshops")})}),l.jsx("li",{children:l.jsx(ie,{to:t("/a-propos"),className:"text-cream/85 hover:text-cream",children:e("À propos","About")})}),l.jsx("li",{children:l.jsx(ie,{to:t("/blog"),className:"text-cream/85 hover:text-cream",children:"Blog"})}),l.jsx("li",{children:l.jsx(ie,{to:t("/contact"),className:"text-cream/85 hover:text-cream",children:"Contact"})})]})]}),l.jsxs("div",{className:"md:col-span-2",children:[l.jsx("h4",{className:"text-xs font-semibold uppercase tracking-widest text-cream/60",children:e("Bureau","Office")}),l.jsxs("a",{href:"https://www.google.com/maps/place/Boite+Pac/@45.532967,-73.620916,19z",target:"_blank",rel:"noopener noreferrer",className:"mt-4 block text-sm leading-relaxed text-cream/85 transition-colors hover:text-cream hover:underline",children:["7236 Waverly, Suite 225",l.jsx("br",{}),"Montréal, Québec"]})]}),l.jsxs("div",{className:"md:col-span-2",children:[l.jsx("h4",{className:"text-xs font-semibold uppercase tracking-widest text-cream/60",children:e("Suivez-nous","Follow us")}),l.jsxs("div",{className:"mt-4 flex gap-3",children:[l.jsx("a",{href:"https://www.linkedin.com/company/bo%C3%AEte-pac/",target:"_blank",rel:"noopener noreferrer","aria-label":"LinkedIn",className:"grid h-10 w-10 place-items-center rounded-full bg-accent text-accent-foreground transition-all duration-300 ease-smooth hover:scale-110 hover:bg-[hsl(var(--blue-vivid-hover))]",children:l.jsx(uV,{className:"h-4 w-4"})}),l.jsx("a",{href:"https://www.instagram.com/boitepac/",target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram",className:"grid h-10 w-10 place-items-center rounded-full bg-accent text-accent-foreground transition-all duration-300 ease-smooth hover:scale-110 hover:bg-[hsl(var(--blue-vivid-hover))]",children:l.jsx(dV,{className:"h-4 w-4"})})]}),l.jsx("a",{href:"https://www.bcorporation.net/en-us/",target:"_blank",rel:"noopener noreferrer","aria-label":"Certified B Corporation",className:"mt-8 inline-block",title:"Certified B Corporation",children:l.jsx(pV,{className:"h-32 w-auto md:h-36"})})]})]}),l.jsxs("div",{className:"mt-16 flex flex-col items-start justify-between gap-3 border-t border-cream/10 pt-6 text-xs text-cream/60 md:flex-row md:items-center",children:[l.jsxs("p",{children:["© ",new Date().getFullYear()," Boîte Pac. ",e("Tous droits réservés.","All rights reserved.")]}),l.jsx(ie,{to:t("/politique-de-confidentialite"),className:"hover:text-cream",children:e("Politique de confidentialité","Privacy policy")})]})]})})}var Lm="focusScope.autoFocusOnMount",Om="focusScope.autoFocusOnUnmount",RC={bubbles:!1,cancelable:!0},fV="FocusScope",Jh=y.forwardRef((e,t)=>
vendor: 5,004 bytes, line 319
319{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...o}=e,[a,c]=y.useState(null),u=mn(i),p=mn(s),d=y.useRef(null),h=_e(t,g=>c(g)),f=y.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;y.useEffect(()=>{if(r){let g=function(w){if(f.paused||!a)return;const k=w.target;a.contains(k)?d.current=k:Pi(d.current,{select:!0})},x=function(w){if(f.paused||!a)return;const k=w.relatedTarget;k!==null&&(a.contains(k)||Pi(d.current,{select:!0}))},v=function(w){if(document.activeElement===document.body)for(const S of w)S.removedNodes.length>0&&Pi(a)};document.addEventListener("focusin",g),document.addEventListener("focusout",x);const b=new MutationObserver(v);return a&&b.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",x),b.disconnect()}}},[r,a,f.paused]),y.useEffect(()=>{if(a){IC.add(f);const g=document.activeElement;if(!a.contains(g)){const v=new CustomEvent(Lm,RC);a.addEventListener(Lm,u),a.dispatchEvent(v),v.defaultPrevented||(mV(xV(aN(a)),{select:!0}),document.activeElement===g&&Pi(a))}return()=>{a.removeEventListener(Lm,u),setTimeout(()=>{const v=new CustomEvent(Om,RC);a.addEventListener(Om,p),a.dispatchEvent(v),v.defaultPrevented||Pi(g??document.body,{select:!0}),a.removeEventListener(Om,p),IC.remove(f)},0)}}},[a,u,p,f]);const m=y.useCallback(g=>{if(!n&&!r||f.paused)return;const x=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,v=document.activeElement;if(x&&v){const b=g.currentTarget,[w,k]=gV(b);w&&k?!g.shiftKey&&v===k?(g.preventDefault(),n&&Pi(w,{select:!0})):g.shiftKey&&v===w&&(g.preventDefault(),n&&Pi(k,{select:!0})):v===b&&g.preventDefault()}},[n,r,f.paused]);return l.jsx(ve.div,{tabIndex:-1,...o,ref:h,onKeyDown:m})});Jh.displayName=fV;function mV(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Pi(r,{select:t}),document.activeElement!==n)return}function gV(e){const t=aN(e),n=qC(t,e),r=qC(t.reverse(),e);return[n,r]}function aN(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function qC(e,t){for(const n of e)if(!vV(n,{upTo:t}))return n}function vV(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function yV(e){return e instanceof HTMLInputElement&&"select"in e}function Pi(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&yV(e)&&t&&e.select()}}var IC=bV();function bV(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=LC(e,t),e.unshift(t)},remove(t){var n;e=LC(e,t),(n=e[0])==null||n.resume()}}}function LC(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function xV(e){return e.filter(t=>t.tagName!=="A")}var Dm=0;function Qx(){y.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??OC()),document.body.insertAdjacentElement("beforeend",e[1]??OC()),Dm++,()=>{Dm===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Dm--}},[])}function OC(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Er=function(){return Er=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Er.apply(this,arguments)};function lN(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function wV(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Fd="right-scroll-bar-position",zd="width-before-scroll-bar",kV="with-scroll-bars-hidden",CV="--removed-body-scroll-bar-size";function Mm(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function jV(e,t){var n=y.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}var SV=typeof window<"u"?y.useLayoutEffect:y.useEffect,DC=new WeakMap;function _V(e,t){var n=jV(null,function(r){return e.forEach(function(i){return Mm(i,r)})});return SV(function(){var r=DC.get(n);if(r){var i=new Set(r),s=new Set(e),o=n.current;
vendor: 4,196 bytes, lines 319-334
319i.forEach(function(a){s.has(a)||Mm(a,null)}),s.forEach(function(a){i.has(a)||Mm(a,o)})}DC.set(n,e)},[e]),n}function EV(e){return e}function TV(e,t){t===void 0&&(t=EV);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var o=t(s,r);return n.push(o),function(){n=n.filter(function(a){return a!==o})}},assignSyncMedium:function(s){for(r=!0;n.length;){var o=n;n=[],o.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var o=[];if(n.length){var a=n;n=[],a.forEach(s),o=n}var c=function(){var p=o;o=[],p.forEach(s)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(p){o.push(p),u()},filter:function(p){return o=o.filter(p),n}}}};return i}function PV(e){e===void 0&&(e={});var t=TV(null);return t.options=Er({async:!0,ssr:!1},e),t}var cN=function(e){var t=e.sideCar,n=lN(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return y.createElement(r,Er({},n))};cN.isSideCarExport=!0;function AV(e,t){return e.useMedium(t),cN}var uN=PV(),Bm=function(){},Yh=y.forwardRef(function(e,t){var n=y.useRef(null),r=y.useState({onScrollCapture:Bm,onWheelCapture:Bm,onTouchMoveCapture:Bm}),i=r[0],s=r[1],o=e.forwardProps,a=e.children,c=e.className,u=e.removeScrollBar,p=e.enabled,d=e.shards,h=e.sideCar,f=e.noRelative,m=e.noIsolation,g=e.inert,x=e.allowPinchZoom,v=e.as,b=v===void 0?"div":v,w=e.gapMode,k=lN(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=h,C=_V([n,t]),T=Er(Er({},k),i);return y.createElement(y.Fragment,null,p&&y.createElement(S,{sideCar:uN,removeScrollBar:u,shards:d,noRelative:f,noIsolation:m,inert:g,setCallbacks:s,allowPinchZoom:!!x,lockRef:n,gapMode:w}),o?y.cloneElement(y.Children.only(a),Er(Er({},T),{ref:C})):y.createElement(b,Er({},T,{className:c,ref:C}),a))});Yh.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Yh.classNames={fullWidth:zd,zeroRight:Fd};var NV=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function RV(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=NV();return t&&e.setAttribute("nonce",t),e}function qV(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function IV(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var LV=function(){var e=0,t=null;return{add:function(n){e==0&&(t=RV())&&(qV(t,n),IV(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},OV=function(){var e=LV();return function(t,n){y.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},dN=function(){var e=OV(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},DV={left:0,top:0,right:0,gap:0},$m=function(e){return parseInt(e||"",10)||0},MV=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[$m(n),$m(r),$m(i)]},BV=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return DV;var t=MV(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},$V=dN(),ha="data-scroll-locked",FV=function(e,t,n,r){var i=e.left,s=e.top,o=e.right,a=e.gap;return n===void 0&&(n="margin"),`
320  .`.concat(kV,` {
321   overflow: hidden `).concat(r,`;
322   padding-right: `).concat(a,"px ").concat(r,`;
323  }
324  body[`).concat(ha,`] {
325    overflow: hidden `).concat(r,`;
326    overscroll-behavior: contain;
327    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
328    padding-left: `.concat(i,`px;
329    padding-top: `).concat(s,`px;
330    padding-right: `).concat(o,`px;
331    margin-left:0;
332    margin-top:0;
333    margin-right: `).concat(a,"px ").concat(r,`;
334    `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";
334")].filter(Boolean).join(""),`
335  }
336  
337  .`).concat(Fd,` {
338    right: `).concat(a,"px ").concat(r,`;
339  }
340  
341  .`).concat(zd,` {
342    margin-right: `).concat(a,"px ").concat(r,`;
343  }
344  
345  .`).concat(Fd," .").concat(Fd,` {
346    right: 0 `).concat(r,`;
347  }
348  
349  .`).concat(zd," .").concat(zd,` {
350    margin-right: 0 `).concat(r,`;
351  }
352  
353  body[`).concat(ha,`] {
354    `).concat(CV,": ").concat(a,`px;
355  }
356`)},MC=function(){var e=parseInt(document.body.getAttribute(ha)||"0",10);return isFinite(e)?e:0},zV=function(){y.useEffect(function(){return document.body.setAttribute(ha,(MC()+1).toString()),function(){var e=MC()-1;e<=0?document.body.removeAttribute(ha):document.body.setAttribute(ha,e.toString())}},[])},UV=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;zV();var s=y.useMemo(function(){return BV(i)},[i]);return y.createElement($V,{styles:FV(s,!t,i,n?"":"!important")})},uy=!1;if(typeof window<"u")try{var Gu=Object.defineProperty({},"passive",{get:function(){return uy=!0,!0}});window.addEventListener("test",Gu,Gu),window.removeEventListener("test",Gu,Gu)}catch{uy=!1}var Co=uy?{passive:!1}:!1,VV=function(e){return e.tagName==="TEXTAREA"},pN=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!VV(e)&&n[t]==="visible")},WV=function(e){return pN(e,"overflowY")},HV=function(e){return pN(e,"overflowX")},BC=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=hN(e,r);if(i){var s=fN(e,r),o=s[1],a=s[2];if(o>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},GV=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},KV=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},hN=function(e,t){return e==="v"?WV(t):HV(t)},fN=function(e,t){return e==="v"?GV(t):KV(t)},JV=function(e,t){return e==="h"&&t==="rtl"?-1:1},YV=function(e,t,n,r,i){var s=JV(e,window.getComputedStyle(t).direction),o=s*r,a=n.target,c=t.contains(a),u=!1,p=o>0,d=0,h=0;do{if(!a)break;var f=fN(e,a),m=f[0],g=f[1],x=f[2],v=g-x-s*m;(m||v)&&hN(e,a)&&(d+=v,h+=m);var b=a.parentNode;a=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(p&&(Math.abs(d)<1||!i)||!p&&(Math.abs(h)<1||!i))&&(u=!0),u},Ku=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},$C=function(e){return[e.deltaX,e.deltaY]},FC=function(e){return e&&"current"in e?e.current:e},QV=function(e,t){return e[0]===t[0]&&e[1]===t[1]},XV=function(e){return`
357  .block-interactivity-`.concat(e,` {pointer-events: none;}
358  .allow-interactivity-`).concat(e,` {pointer-events: all;}
359`)},ZV=0,jo=[];function eW(e){var t=y.useRef([]),n=y.useRef([0,0]),r=y.useRef(),i=y.useState(ZV++)[0],s=y.useState(dN)[0],o=y.useRef(e);y.useEffect(function(){o.current=e},[e]),y.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var g=wV([e.lockRef.current],(e.shards||[]).map(FC),!0).filter(Boolean);return g.forEach(function(x){return x.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),g.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=y.useCallback(function(g,x){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!o.current.allowPinchZoom;var v=Ku(g),b=n.current,w="deltaX"in g?g.deltaX:b[0]-v[0],k="deltaY"in g?g.deltaY:b[1]-v[1],S,C=g.target,T=Math.abs(w)>Math.abs(k)?"h":"v";if("touches"in g&&T==="h"&&C.type==="range")return!1;var P=BC(T,C);if(!P)return!0;if(P?S=T:(S=T==="v"?"h":"v",P=BC(T,C)),!P)return!1;if(!r.current&&"changedTouches"in g&&(w||k)&&(r.current=S),!S)return!0;var R=r.current||S;return YV(R,x,g,R==="h"?w:k,!0)},[]),c=y.useCallback(function(g){var x=g;if(!(!jo.length||jo[jo.length-1]!==s)){var v="deltaY"in x?$C(x):Ku(x),b=t.current.filter(function(S){return S.name===x.type&&(S.target===x.target||x.target===S.shadowParent)&&QV(S.delta,v)}
vendor: 4,137 bytes, line 359
359)[0];if(b&&b.should){x.cancelable&&x.preventDefault();return}if(!b){var w=(o.current.shards||[]).map(FC).filter(Boolean).filter(function(S){return S.contains(x.target)}),k=w.length>0?a(x,w[0]):!o.current.noIsolation;k&&x.cancelable&&x.preventDefault()}}},[]),u=y.useCallback(function(g,x,v,b){var w={name:g,delta:x,target:v,should:b,shadowParent:tW(v)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(k){return k!==w})},1)},[]),p=y.useCallback(function(g){n.current=Ku(g),r.current=void 0},[]),d=y.useCallback(function(g){u(g.type,$C(g),g.target,a(g,e.lockRef.current))},[]),h=y.useCallback(function(g){u(g.type,Ku(g),g.target,a(g,e.lockRef.current))},[]);y.useEffect(function(){return jo.push(s),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",c,Co),document.addEventListener("touchmove",c,Co),document.addEventListener("touchstart",p,Co),function(){jo=jo.filter(function(g){return g!==s}),document.removeEventListener("wheel",c,Co),document.removeEventListener("touchmove",c,Co),document.removeEventListener("touchstart",p,Co)}},[]);var f=e.removeScrollBar,m=e.inert;return y.createElement(y.Fragment,null,m?y.createElement(s,{styles:XV(i)}):null,f?y.createElement(UV,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function tW(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const nW=AV(uN,eW);var Qh=y.forwardRef(function(e,t){return y.createElement(Yh,Er({},e,{ref:t,sideCar:nW}))});Qh.classNames=Yh.classNames;var rW=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},So=new WeakMap,Ju=new WeakMap,Yu={},Fm=0,mN=function(e){return e&&(e.host||mN(e.parentNode))},iW=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=mN(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},sW=function(e,t,n,r){var i=iW(t,Array.isArray(e)?e:[e]);Yu[n]||(Yu[n]=new WeakMap);var s=Yu[n],o=[],a=new Set,c=new Set(i),u=function(d){!d||a.has(d)||(a.add(d),u(d.parentNode))};i.forEach(u);var p=function(d){!d||c.has(d)||Array.prototype.forEach.call(d.children,function(h){if(a.has(h))p(h);else try{var f=h.getAttribute(r),m=f!==null&&f!=="false",g=(So.get(h)||0)+1,x=(s.get(h)||0)+1;So.set(h,g),s.set(h,x),o.push(h),g===1&&m&&Ju.set(h,!0),x===1&&h.setAttribute(n,"true"),m||h.setAttribute(r,"true")}catch(v){console.error("aria-hidden: cannot operate on ",h,v)}})};return p(t),a.clear(),Fm++,function(){o.forEach(function(d){var h=So.get(d)-1,f=s.get(d)-1;So.set(d,h),s.set(d,f),h||(Ju.has(d)||d.removeAttribute(r),Ju.delete(d)),f||d.removeAttribute(n)}),Fm--,Fm||(So=new WeakMap,So=new WeakMap,Ju=new WeakMap,Yu={})}},Xx=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=rW(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),sW(r,i,n,"aria-hidden")):function(){return null}},Xh="Dialog",[gN,zme]=Ln(Xh),[oW,cr]=gN(Xh),vN=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:s,modal:o=!0}=e,a=y.useRef(null),c=y.useRef(null),[u,p]=Mr({prop:r,defaultProp:i??!1,onChange:s,caller:Xh});return l.jsx(oW,{scope:t,triggerRef:a,contentRef:c,contentId:Rr(),titleId:Rr(),descriptionId:Rr(),open:u,onOpenChange:p,onOpenToggle:y.useCallback(()=>p(d=>!d),[p]),modal:o,children:n})};vN.displayName=Xh;var yN="DialogTrigger",aW=y.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=cr(yN,n),s=_e(t,i.triggerRef);return l.jsx(ve.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":tw(i.open),...r,ref:s,onClick:X(e.onClick,i.onOpenToggle)})});aW.displayName=yN;var Zx="DialogPortal",[lW,bN]=gN(Zx,{forceMount:void 0}),xN=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,s=cr(Zx,t);return l.jsx(lW,{scope:t,forceMount:n,children:y.Children.map(r,o=>l.jsx(yn,{present:n||s.open,children:l.jsx(Zc,{asChild:!0,container:i,children:o})}))})};xN.displayName=Zx;var Up="DialogOverlay",wN=y.forwardRef((e,t)=>
vendor: 5,220 bytes, lines 359-363
359{const n=bN(Up,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,s=cr(Up,e.__scopeDialog);return s.modal?l.jsx(yn,{present:r||s.open,children:l.jsx(uW,{...i,ref:t})}):null});wN.displayName=Up;var cW=oo("DialogOverlay.RemoveScroll"),uW=y.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=cr(Up,n);return l.jsx(Qh,{as:cW,allowPinchZoom:!0,shards:[i.contentRef],children:l.jsx(ve.div,{"data-state":tw(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),co="DialogContent",kN=y.forwardRef((e,t)=>{const n=bN(co,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,s=cr(co,e.__scopeDialog);return l.jsx(yn,{present:r||s.open,children:s.modal?l.jsx(dW,{...i,ref:t}):l.jsx(pW,{...i,ref:t})})});kN.displayName=co;var dW=y.forwardRef((e,t)=>{const n=cr(co,e.__scopeDialog),r=y.useRef(null),i=_e(t,n.contentRef,r);return y.useEffect(()=>{const s=r.current;if(s)return Xx(s)},[]),l.jsx(CN,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:X(e.onCloseAutoFocus,s=>{var o;s.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:X(e.onPointerDownOutside,s=>{const o=s.detail.originalEvent,a=o.button===0&&o.ctrlKey===!0;(o.button===2||a)&&s.preventDefault()}),onFocusOutside:X(e.onFocusOutside,s=>s.preventDefault())})}),pW=y.forwardRef((e,t)=>{const n=cr(co,e.__scopeDialog),r=y.useRef(!1),i=y.useRef(!1);return l.jsx(CN,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var o,a;(o=e.onCloseAutoFocus)==null||o.call(e,s),s.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),s.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:s=>{var c,u;(c=e.onInteractOutside)==null||c.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const o=s.target;((u=n.triggerRef.current)==null?void 0:u.contains(o))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),CN=y.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:s,...o}=e,a=cr(co,n),c=y.useRef(null),u=_e(t,c);return Qx(),l.jsxs(l.Fragment,{children:[l.jsx(Jh,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:s,children:l.jsx(Wa,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":tw(a.open),...o,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),l.jsxs(l.Fragment,{children:[l.jsx(hW,{titleId:a.titleId}),l.jsx(mW,{contentRef:c,descriptionId:a.descriptionId})]})]})}),ew="DialogTitle",jN=y.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=cr(ew,n);return l.jsx(ve.h2,{id:i.titleId,...r,ref:t})});jN.displayName=ew;var SN="DialogDescription",_N=y.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=cr(SN,n);return l.jsx(ve.p,{id:i.descriptionId,...r,ref:t})});_N.displayName=SN;var EN="DialogClose",TN=y.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=cr(EN,n);return l.jsx(ve.button,{type:"button",...r,ref:t,onClick:X(e.onClick,()=>i.onOpenChange(!1))})});TN.displayName=EN;function tw(e){return e?"open":"closed"}var PN="DialogTitleWarning",[Ume,AN]=J3(PN,{contentName:co,titleName:ew,docsSlug:"dialog"}),hW=({titleId:e})=>{const t=AN(PN),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
360
361If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
362
363For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return y.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},fW="DialogDescriptionWarning",mW=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${AN(fW).contentName}}.`;return y.useEffect(()=>{var s;const i=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},NN=vN,RN=xN,Zh=wN,ef=kN,tf=jN,nf=_N,qN=TN;const gW=NN,vW=RN,IN=y.forwardRef(({className:e,...t},n)=>l.jsx(Zh,{className:K("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));IN.displayName=Zh.displayName;const yW=tu("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),LN=y.forwardRef(({side:e="right",className:t,children:n,...r},i)=>l.jsxs(vW,{children:[l.jsx(IN,{}),l.jsxs(ef,{ref:i,className:K(yW({side:e}),t),...r,children:[n,l.jsxs(qN,{className:"absolute right-4 top-4 roun
363ded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-secondary hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[l.jsx(lr,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));LN.displayName=ef.displayName;const ON=({className:e,...t})=>l.jsx("div",{className:K("flex flex-col space-y-2 text-center sm:text-left",e),...t});ON.displayName="SheetHeader";const DN=y.forwardRef(({className:e,...t},n)=>l.jsx(tf,{ref:n,className:K("text-lg font-semibold text-foreground",e),...t}));DN.displayName=tf.displayName;const bW=y.forwardRef(({className:e,...t},n)=>l.jsx(nf,{ref:n,className:K("text-sm text-muted-foreground",e),...t}));bW.displayName=nf.displayName;const rf="/assets/atelier-salle-bleue-B858uZBb.jpg",xW=1,wW="71b558b5-d34f-4ea7-ae51-aecf4b65ccc0",kW="2a085179-0a1c-43ad-88f9-631c9eab2259",CW="/__l5e/assets-v1/71b558b5-d34f-4ea7-ae51-aecf4b65ccc0/1-156.jpg",jW="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/71b558b5-d34f-4ea7-ae51-aecf4b65ccc0/1-156.jpg",SW="1-156.jpg",_W=142136,EW="image/jpeg",TW="2026-08-19T19:53:26Z",PW={version:xW,asset_id:wW,project_id:kW,url:CW,r2_key:jW,original_filename:SW,size:_W,content_type:EW,created_at:TW},nw="/assets/marie-conference-oaZvifbx.jpg",AW="/assets/atelier-travailler-mieux-DRWxTGdo.jpg",NW="/assets/conference-femmes-DEwg9SCk.jpg",RW="/assets/atelier-culture-cap-Bqrf4sCz.jpg",qW="/assets/atelier-boite-pac-DXD3M6rR.jpg",IW="/assets/atelier-communiquer-efficacement-BubUdwei.jpg",LW="/assets/atelier-developper-employes-DNhajWCV.jpg",OW="/assets/atelier-reintegration-employe-D1MdX5L_.jpg",DW="/assets/atelier-semaine-reduite-vmv39rJD.jpg",MW="/assets/atelier-travailler-mieux-DRWxTGdo.jpg",BW="/assets/atelier-art-du-feedback-Dp3b4eq6.jpg",$W=PW.url,FW=["Leadership","Culture d'entreprise"],zW=["Conférence","Formation","Lunch & Learn"],UW={"travailler-mieux-stresser-moins":AW,"communiquer-efficacement":IW,"allie-femmes-au-travail":NW,"culture-cap-turbulences":rf,"prioriser-bien-etre-equipe":RW,"boite-pac-jase-enviro":qW,"developper-ses-employes":LW,"reintegration-employe":OW,"introduction-semaine-reduite":DW,"techniques-de-productivite":MW,"art-du-feedback":BW},zC=[rf,$W,nw],VW=["Animation par deux expert·es en leadership, culture ou ESG","Rencontre préparatoire pour bien comprendre votre réalité","Contenu adapté à votre équipe et à vos enjeux","Tous les outils et visuels présentés remis après l'atelier","Sondage d'impact et recommandations pour poursuivre les apprentissages"],UC={duration:"À partir de 2h00",mode:"Formation",longDescription:"Une formation pour apprendre à mieux communiquer, même quand les conversations sont plus délicates. À travers des outils concrets, des mises en situation et des réflexions pratiques, cet atelier vous aidera à offrir des rétroactions plus mobilisatrices, aborder les discussions difficiles avec authenticité et renforcer la qualité des relations au sein de votre équipe.",topics:["Les 3 super-pouvoirs de la communication","Le rituel des 1-on-1s","L'art de la rétroaction positive et constructive","Préparer et naviguer les discussions difficiles"],takeaways:["Des outils de préparation aux conversations difficiles","Des connexions plus riches et authentiques","Des trucs concrets pour améliorer votre écoute et amplifier votre curiosité","De la confiance pour adresser les choses importantes","Un schéma pour mettre la rétroaction en pratique"],audience:["Gestionnaires et employé·es désirant contribuer à la création d'une culture d'entreprise saine, où règne une communication claire et mobilisante."],facilitators:["judith","noemie","marie","carmen","thomas"]},WW=[{slug:"communiquer-efficacement",title:"Communication et feedback au travail",category:"Culture d'entreprise",blurb:"Favoriser une culture de co-développement au sein de votre équipe.",duration:"2h00",mode:"Formation",formats:["Formation"],maxParticipants:25,longDescription:`Communiquer c'est facile… jusqu'à ce que ça ne le soit plus.
364
365Cette formation vise à outiller pour les conversations du quotidien, même les plus délicates, avec assurance, clarté et considération. À travers des out
365ils concrets, des mises en situation et des réflexions pratiques, cet atelier vous aidera à offrir des feedbacks plus mobilisatrices, aborder les discussions difficiles avec authenticité et renforcer la qualité des relations au sein de votre équipe. L'objectif : créer une culture de communication plus claire, humaine et constructive au quotidien.`,topics:["Les 3 super-pouvoirs de la communication","Le rituel des clearings","L'art du feedback positif et constructif","Préparer et naviguer les discussions difficiles"],takeaways:[],audience:["Gestionnaires et employé·e·s désirant contribuer à la création d'une culture d'entreprise saine, où règne une communication claire et mobilisante."],relatedSlugs:["art-du-feedback"],testimonialIds:["jordane-communication-avril2026","lucie-communication-avril2026"]},{slug:"techniques-de-productivite",title:"Techniques de productivité",category:"Culture d'entreprise",blurb:"Reprendre le contrôle de son agenda, dompter ses réunions et travailler mieux, pas plus.",duration:"2h00",mode:"Formation",formats:["Formation"],maxParticipants:25,longDescription:`« Pas l'temps, on est dans le jus, j'éteins des feux, je suis toujours en réunion » font partie prenante de votre vocabulaire, ou celui de votre équipe? Cet atelier semble pile pour vous.
366
367Cette formation vise à outiller pour reprendre le contrôle de son agenda, de ses priorités, développer de meilleurs réflexes de gestion du temps et devenir des ninjas des réunions d'équipe. Tout ça, sans te demander de travailler plus, mais bien de travailler mieux.
368
369Des méthodes simples, prouvées et applicables dès la sortie de la formation!`,topics:["Optimisation de la communication interne","Gestion du temps et de son horaire","Techniques d'organisation de l'agenda","Améliorer ses réunions (de la préparation à l'animation)","Planification et priorisation des tâches","Techniques de productivité","Et l'IA, dans tout ça?"],takeaways:["Un coffre à outils bien garni pour mieux structurer ses journées, reprendre le dessus sur son agenda."],audience:["Cette formation s'adresse à toute équipe ou entreprise souhaitant optimiser son temps, gagner en efficacité collective et se donner les moyens de travailler plus intelligemment."]},{slug:"art-du-feedback",title:"L'art du feedback",category:"Culture d'entreprise",additionalCategories:["Leadership"],blurb:"Une formation express pour démystifier le feedback : l'offrir, le recevoir, l'ancrer.",duration:"1h00",mode:"Formation",formats:["Lunch & Learn"],maxParticipants:60,longDescription:"Cette formation express démystifie ce grand morceau qu'est le feedback : pourquoi on l'évite, l'importance d'en offrir, comment s'y préparer, le formuler, et le recevoir sans être trop fragilisé·e. Un format idéal pour un lunch & learn ou pour compléter une journée de formation avec une séance mi-théorique, mi-pratique.",topics:["Déconstruction des mythes entourant la rétroaction","Le feedback positif, à ne pas prendre pour acquis!","Préparer et offrir une rétroaction constructive","Mettre son ego de côté et recevoir du feedback","Instaurer une culture du feedback au sein de son équipe"],takeaways:["Des trucs concrets pour amener ton feedback positif au niveau expert","Un schéma clair signé Boite Pac pour préparer et livrer une rétroaction constructive"],audience:["Aux équipes de travail qui veulent établir des bases communes en matière de feedback et créer un espace où les idées (et les vrais échanges) ont leur place."],relatedSlugs:["communiquer-efficacement","developper-ses-employes"]},{slug:"developper-ses-employes",title:"Développement des employé·e·s",category:"Leadership",blurb:"Faire grandir vos talents grâce à des conversations qui élèvent.",duration:"2h00",mode:"Formation",formats:["Formation"],maxParticipants:25,longDescription:"Une formation par année et un plan de développement qui dort dans un dossier… Qui se reconnaît ici? Cette formation se base sur le principe que l'apprentissage continu, c'est une culture à construire au quotidien, et non une case à cocher une fois dans l'année. À travers le modèle Boite Pac, nous vous accompagnons dans la co-création de plan de développement et la mise en place de mécanismes pour les faire vivre. On part de l'inspiration, mais on termine avec du concret (oui, le concret l'emporte toujours!)",topics:["Qu'est-ce que le développement des talents?","Comment bâtir une vraie culture d'apprentissage","Les parcours à valoriser","Bâtir un plan de développement de A à Z avec le modèle Boite Pac","Adapter le modèle à votre réalité d'équipe","L'art du coaching comme levier de croissance","Les rencontres à mettre à l'agenda"],takeaways:["Un plan de développement adapté à votre équipe","Des réflexes et questions de coaching","Des gabarits pour les différentes rencontres indispensables à l'agenda (1:1, rencontres trimestrielles, évaluation annuelle, etc.)"],audience:["Gestionnaires et équipes RH ou culture qui veulent faire du développement une vraie priorité, et se donner le moyen de leurs ambitions."]},{slug:"prioriser-bien-etre-equipe",title:"Bien-être au travail",category:"Leadership",blurb
369:"Mettre en place des pratiques durables pour une équipe en santé.",duration:"2h00",mode:"Formation",formats:["Formation"],maxParticipants:25,longDescription:`10 000 matins, c'est le nombre de fois que les gens se rendront en moyenne au travail. Un tiers, c'est la proportion de temps que votre équipe passe au sein de vos quatre murs. Aussi bien en faire un endroit où ils se sentent bien, pas vrai?
370
371Cet atelier invite à repenser ce que veut dire le bien-être et l'équilibre au travail, au-delà des chaises ergonomiques et des cours de yoga. On y explore ce qu'une organisation peut faire concrètement pour prendre soin de la santé mentale et physique de ses équipes. Nous approfondissons des thèmes clés avec vous et vous proposons une banque d'outils et d'idées facilement applicables pour prioriser le bien-être de votre équipe, et l'incarner intentionnellement. Prendre soin des gens, c'est une décision d'affaires tout aussi importante que le reste.`,topics:["La place du bien-être dans la vie de tous les jours","Comment implanter un programme de bien-être en entreprise","Thèmes clés","Idées de pratiques à mettre en place","Objectifs et KPI : comment suivre le bien-être de vos équipes"],takeaways:["Une meilleure compréhension de ce qui fait une réelle différence","Une banque d'idées concrètes et adaptables","Un gabarit de programme bien-être à garnir","Des mesures d'impact pour vos initiatives"],audience:["Direction, gestionnaires ou équipes RH intéressés par les thèmes de santé mentale et physique, et par l'impact du travail sur le bien-être des gens."]},{slug:"reintegration-employe",title:"Re-onboarding",category:"Leadership",blurb:"Accueillir et réintégrer avec soin pour assurer un retour réussi.",duration:"2h00",mode:"Formation",formats:["Formation"],maxParticipants:12,longDescription:"Un retour au travail après une absence prolongée, quelque soit la nature de celui-ci, ça ne s'improvise pas. Ni pour la personne qui revient, ni pour l'équipe qui l'accueille. Congé parental, épuisement, arrêt maladie : le retour mérite d'être adressé avec soin, structure et ouverture. Cette formation vous permettra de mieux comprendre les réalités humaines et psychologiques liées aux arrêts de travail, tout en vous outillant concrètement pour structurer les départs et les retours au sein de votre organisation.",topics:["Congé de parentalité, épuisement professionnel et autres arrêts de travail","Notions psychologiques liées aux arrêts de travail","L'importance de la préparation","Démarches administratives","Implication de l'employé·e, de l'employeur et de l'équipe","Plans de départ graduels","Plans de re-onboarding graduels","Banque d'idées de bonnes pratiques, rituels et outils concrets à mettre en place rapidement"],takeaways:["Un plan de re-onboarding adapté à votre réalité, prêt à partager à vos équipes","Des outils pour encadrer chaque étape de la transition"],audience:["Cette formation s'adresse principalement à des gestionnaires et/ou aux équipes culture, talents, RH qui souhaitent s'outiller afin de mieux comprendre et encadrer les arrêts de travail à venir au sein de leur entreprise."]},{slug:"culture-cap-turbulences",title:"Culture d'entreprise",category:"Culture d'entreprise",blurb:"Redéfinir votre culture et l'incarner au quotidien, dans l'action.",duration:"2h00",mode:"Formation",formats:["Formation"],maxParticipants:25,longDescription:"La culture d'entreprise… La première chose que l'on mentionne dans une offre d'emploi et trop souvent, la dernière qu'on prend réellement le temps de bien construire. Et pourtant? La culture l'emporte sur tout le reste et elle est partout : dans la façon dont on se parle, dont on prend les décisions, dont on traverse les moments plus houleux. Cet atelier vise à redéfinir votre culture d'entreprise, et ressortir avec des pistes concrètes pour l'incarner au quotidien.",topics:["La culture, ça mange quoi en hiver?","Les piliers d'une saine culture","Comment traduire vos valeurs en actions concrètes","Prioriser les valeurs en temps de crise","La culture en mode hybride","Inspirations et bonnes pratiques","Ateliers guidés pour rehausser votre culture"],takeaways:[],audience:["Aux équipes de direction, gestionnaires et équipes RH qui veulent construire (ou reconstruire) une culture à l'image de leurs aspirations. En faire quelque chose qui se vit, et non juste affiché.","À noter qu'une portion de cet atelier peut être adaptée pour y impliquer toute l'équipe."],relatedSlugs:["communiquer-efficacement","prioriser-bien-etre-equipe"],testimonialIds:["genevieve-culture-avril2026","anne-sophie-culture-avril2026"]},{slug:"introduction-semaine-reduite",title:"Flexibilité au travail : du rêve à la réalité",category:"Leadership",blurb
371:"Structurer la flexibilité au travail : modèles, conditions gagnantes et étapes d'implantation.",duration:"3h00",mode:"Formation",formats:["Formation"],maxParticipants:12,longDescription:`Travailler moins, et produire tout autant? C'est possible, mais pas en claquant des doigts. Cette formation signature de Boite Pac explore comment structurer la flexibilité au travail sous toutes ses coutures. Contradiction nous direz-vous? Pas du tout! Pour permettre la flexibilité, on se doit d'être clair sur le cadre et les attentes. Clear is kind comme on dit chez nous!
372
373Cet atelier explore différents modèles possibles, les conditions gagnantes, les étapes pour passer de la curiosité à l'implantation. Que vous envisagiez passer à la semaine de 4 jours, repenser votre horaire conventionnel ou simplement explorer différents modèles : ces 3 heures avec nous sont une bonne façon de commencer la réflexion sérieusement.`,topics:["Différents modèles de flexibilité","Modèle de semaine réduite (4 jours)","Exemples d'entreprises ayant fait le saut","Étapes d'implantation","Quelques techniques de productivité pour que ça fonctionne","Enjeux fréquents et pistes de solution"],takeaways:["Une compréhension claire des différents modèles","Un plan par étape pour l'implanter dans votre entreprise","Un portrait réaliste des défis potentiels","Un plan de communication pour les différentes parties prenantes"],audience:["Cette formation s'adresse principalement à des gestionnaires, des entrepreneurs ou des employé·e·s curieux d'en savoir plus sur la semaine de travail réduite."],relatedSlugs:["techniques-de-productivite","culture-cap-turbulences","prioriser-bien-etre-equipe"]},{slug:"allie-femmes-au-travail",title:"Solidarité féminine : Bâtir un système pour s'élever entre femmes",category:"Culture d'entreprise",blurb:"Comprendre les enjeux et passer à l'action pour une culture inclusive.",duration:"90 minutes",mode:"C
373onférence",formats:["Conférence"],maxParticipants:60,longDescription:"Oui, on en parle encore et oui, il reste toute une montagne à gravir! À travers une valse entre théorie et réflexion, Boite Pac explore ce que la solidarité féminine veut dire en contexte de travail et surtout, comment la faire vivre au quotidien à travers 7 pratiques bien concrètes. Nul besoin de revoir aucun processus RH : la conférence se base sur le principe que ce qu'on pratique individuellement rejaillit collectivement.",topics:["Le portrait actuel de la place des femmes au travail","Petit lexique pratico-pratique","Pourquoi la solidarité féminine est encore (et toujours) nécessaire","7 pratiques pour bâtir un système pour s'élever entre femmes","Exercice d'autodéfense : déconstruire les mythes du quotidien","Questions de réflexion solo au fil de la conférence"],takeaways:["Des outils concrets pour pratiquer la solidarité féminine au quotidien, dans son milieu de travail comme dans sa vie personnelle","Une banque de questions pour poursuivre la réflexion","La présentation visuelle et la liste de ressources"],audience:["À toute entreprise souhaitant offrir un moment qui sort de l'ordinaire à ses équipes, et créer un environnement où les femmes peuvent prendre leur place, s'exprimer et s'élever.","Pssst! Pertinent pour tou·te·s, peu importe le genre."],relatedSlugs:["culture-cap-turbulences"]}],HW=["Conférence","Formation"],fa=WW.map((e,t)=>({...e,formats:e.formats??HW,image:UW[e.slug]??zC[t%zC.length]})),Ud=e=>fa.find(t=>t.slug===e),GW=(e,t=3)=>{var i;if((i=e.relatedSlugs)!=null&&i.length)return e.relatedSlugs.map(s=>fa.find(o=>o.slug===s)).filter(s=>!!s).slice(0,t);const n=fa.filter(s=>s.slug!==e.slug&&s.category===e.category),r=fa.filter(s=>s.slug!==e.slug&&s.category!==e.category);return[...n,...r].slice(0,t)},KW={Leadership:"Leadership","Culture d'entreprise":"Company culture"},JW={Conférence:"Talk",Formation:"Training","Lunch & Learn":"Lunch & Learn"},YW=["Facilitation by two experts in leadership, culture or ESG","Prep meeting to fully understand your reality","Content tailored to your team and challenges","All tools and visuals shared after the workshop","Impact survey and recommendations to extend the learnings"],QW={duration:"From 2h",mode:"Training",longDescription:"A training to learn how to communicate better, even when conversations get tricky. Through concrete tools, real-world scenarios and practical reflections, this workshop will help you give more mobilizing feedback, navigate difficult discussions with authenticity, and strengthen the quality of relationships within your team.",topics:["The 3 superpowers of communication","The 1-on-1 ritual","The art of positive and constructive feedback","Preparing and navigating difficult conversations"],takeaways:["Tools to prepare for difficult conversations","Richer and more authentic connections","Concrete tips to improve your listening and amplify your curiosity","The confidence to address what matters","A framework to put feedback into practice"],audience:["Managers and team members who want to help build a healthy workplace culture, where communication is clear and mobilizing."]},XW={"communiquer-efficacement":{title:"Communication and feedback at work",blurb:"Foster a culture of co-development within your team.",duration:"2h",mode:"Training",longDescription:`Communicating is easy… until it isn't.
374
375This training equips you for everyday conversations — even the trickiest ones — with confidence, clarity and care. Through concrete tools, real-world scenarios and practical reflections, you'll learn to give more mobilizing feedback, navigate difficult discussions with authenticity, and strengthen the quality of relationships within your team. The goal: build a clearer, more human and constructive communication culture, every day.`,topics:["The 3 superpowers of communication","The clearings ritual","The art of positive and constructive feedback","Preparing and navigating difficult conversations"],takeaways:[],audience:["Managers and team members who want to help build a healthy workplace culture, where communication is clear and mobilizing."]},"art-du-feedback":{title:"The art of feedback",blurb:"An express training to demystify feedback: giving it, receiving it, embedding it.",duration:"1h",mode:"Training",longDescription:"This express training demystifies the big topic of feedback: why we avoid it, why giving it matters, how to prepare, deliver and receive it without falling apart. An ideal format for a lunch & learn or to round out a training day with a half-theory, half-practice session.",topics:["Debunking the myths around feedback","Positive feedback — don't take it for granted!","Preparing and delivering constructive feedback","Setting your ego aside to receive feedback","Building a feedback culture within your team"],takeaways:["Concrete tips to take your positive feedback to expert level","A clear Boite Pac framework to prepare and deliver constructive feedback"],audience:["Teams that want to build shared foundations around feedback and create space where ideas (and real conversations) belong."]},"developper-ses-employes":{title:"Developing your team members",blurb
375:"Grow your talents through conversations that elevate.",duration:"2h",mode:"Training",longDescription:"One training a year and a development plan gathering dust in a folder… sound familiar? This training is built on the idea that continuous learning is a culture to nurture every day, not a box to tick once a year. Using the Boite Pac model, we guide you through co-creating development plans and putting mechanisms in place to keep them alive. We start with inspiration but end with the concrete (because concrete always wins).",topics:["What is talent development?","How to build a true learning culture","The paths worth valuing","Building an end-to-end development plan with the Boite Pac model","Adapting the model to your team's reality","The art of coaching as a growth lever","The meetings to put on the calendar"],takeaways:["A development plan tailored to your team","Coaching reflexes and questions","Templates for the key recurring meetings (1:1s, quarterly check-ins, annual reviews, etc.)"],audience:["Managers and HR or culture teams who want to make development a real priority — and give themselves the means to act on it."]},"prioriser-bien-etre-equipe":{title:"Well-being at work",blurb:"Put sustainable practices in place for a healthy team.",duration:"2h",mode:"Training",longDescription:`10,000 mornings — that's how many times, on average, people will commute to work over a career. A third — that's the share of their lives your team spends within your four walls. Might as well make it a place where they feel good, right?
376
377This workshop invites you to rethink what well-being and balance at work really mean, beyond ergonomic chairs and yoga classes. We explore what an organization can do, concretely, to take care of the mental and physical health of its teams. We dive into key themes and offer a bank of easy-to-apply tools and ideas so you can prioritize team well-being — and embody it intentionally. Taking care of people is a business decision, just as important as the rest.`,topics:["The place of well-being in everyday life","How to roll out a corporate well-being program","Key themes","Ideas for practices to put in place","Goals and KPIs: how to track your team's well-being"],takeaways:["A clearer understanding of what really makes a difference","A bank of concrete, adaptable ideas","A well-being program template to fill in","Impact metrics for your initiatives"],audience:["Leadership, managers or HR teams interested in mental and physical health and in the impact of work on people's well-being."]},"techniques-de-productivite":{title:"Productivity techniques",blurb:"Take back control of your schedule, tame your meetings and work better — not more.",duration:"2h",mode:"Training",longDescription:`“No time, totally swamped, putting out fires, always in meetings” — does that sound like you or your team? This workshop is for you.
378
379This training equips you to take back control of your schedule and priorities, build better time-management reflexes and become a ninja of team meetings. All without working more — just working better.
380
381Simple, proven, immediately applicable methods!`,topics:["Optimizing internal communication","Managing your time and calendar","Calendar organization techniques","Better meetings (from preparation to facilitation)","Planning and prioritizing tasks","Productivity techniques","And what about AI?"],takeaways:["A well-stocked toolbox to better structure your days and regain control of your calendar."],audience:["This training is for any team or company looking to optimize their time, boost collective efficiency and give themselves the means to work more intelligently."]},"culture-cap-turbulences":{title:"Company culture",blurb:"Redefine your culture and embody it every day, through action.",duration:"2h",mode:"Training",longDescription:"Company culture… the first thing we mention in a job posting, and too often the last one we actually take time to build well. And yet? Culture eats everything else for breakfast, and it's everywhere: in the way we speak to each other, make decisions, and weather rough patches. This workshop aims to redefine your company culture and leave with concrete ways to bring it to life every day.",topics:["Culture — what does it really mean?","The pillars of a healthy culture","How to translate your values into concrete actions","Prioritizing values in times of crisis","Culture in hybrid mode","Inspirations and best practices","Guided exercises to elevate your culture"],takeaways:[],audience:["Leadership teams, managers and HR teams who want to build (or rebuild) a culture that matches their ambitions — something lived, not just posted on a wall.","Note: a portion of this workshop can be adapted to involve the whole team."]},"reintegration-employe":{title:"Re-onboarding",blurb:"Welcome and reintegrate with care to ensure a successful return.",duration:"2h",mode:"Training",longDescription:"A return to work after an extended leave — whatever the reason — doesn't happen by itself. Not for the person coming back, nor for the team welcoming them. Parental leave, burnout, medical leave: the return deserves to be approached with care, structure and openness. This training will help you better understand the human and psychological realities tied to work absences, while giving you concrete tools to structure departures and returns in your organization.",topics:["Parental leave, burnout and other work absences","Psychological notions related to work absences","The importance of preparation","Administrative steps","The roles of the employee, the employer and the team","Gradual departure plans","Gradual re-onboarding plans","A bank of best-practice ideas, rituals and concrete tools you can put in place quickly"],takeaways:["A re-onboarding plan tailored to your reality, ready to share with your teams","Tools to support every step of the transition"],audience:["This training is mainly aimed at managers and/or culture, talent, HR team
381s who want to be better equipped to understand and support upcoming work absences in their organization."]},"introduction-semaine-reduite":{title:"Flexibility at work: from dream to reality",blurb:"Structure flexibility at work: models, winning conditions and steps to implementation.",duration:"3h",mode:"Training",longDescription:`Working less and producing just as much? It's possible — but not by snapping your fingers. This Boite Pac signature training explores how to structure flexibility at work, top to bottom. A contradiction, you say? Not at all! To allow for flexibility, you need to be crystal clear on the framework and expectations. Clear is kind, as we say around here!
382
383This workshop explores possible models, the winning conditions, and the steps from curiosity to implementation. Whether you're considering the 4-day week, rethinking your conventional schedule or simply exploring different models, these 3 hours are a great way to start the conversation seriously.`,topics:["Different flexibility models","The reduced-week model (4 days)","Examples of companies that made the leap","Implementation steps","A few productivity techniques to make it work","Common challenges and solutions"],takeaways:["A clear understanding of the different models","A step-by-step plan to roll it out in your company","A realistic picture of potential challenges","A communication plan for the various stakeholders"],audience:["This training is mainly aimed at managers, entrepreneurs or team members curious to learn more about the reduced workweek."]},"allie-femmes-au-travail":{title:"Sisterhood: building a system that lifts women up",blurb:"Understand the issues and take action toward an inclusive culture.",duration:"90 minutes",mode:"Talk",longDescription:"Yes, we're still talking about it — and yes, there's still a whole mountain to climb! Through a back-and-forth between theory and reflection, Boite Pac explores what female solidarity means in a workplace context and, above all, how to bring it to life every day through 7 concrete practices. No need to overhaul any HR process: the talk is built on the idea that what we practice individually echoes collectively.",topics:["The current picture of women in the workplace","A practical short glossary","Why female solidarity is still (always) necessary","7 practices to build a system that lifts women up","Self-defense exercise: deconstructing everyday myths","Solo reflection questions throughout the talk"],takeaways:["Concrete tools to practice female solidarity every day, at work and in personal life","A bank of questions to keep reflecting","The visual presentation and a resource list"],audience:["Any company that wants to offer its teams something out of the ordinary and create an environment where women can take their place, speak up and rise.","Pssst! Relevant for everyone, regardless of gender."]}},VC="/assets/workshop-Bw0folP8.jpg",ZW=1,eH="b8d18486-3a5f-411d-a983-1fa6070ca583",tH="2a085179-0a1c-43ad-88f9-631c9eab2259",nH="/__l5e/assets-v1/b8d18486-3a5f-411d-a983-1fa6070ca583/frame-1268.jpg",rH="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/b8d18486-3a5f-411d-a983-1fa6070ca583/frame-1268.jpg",iH="frame-1268.jpg",sH=481428,oH="image/jpeg",aH="2026-08-19T18:21:31Z",WC={version:ZW,asset_id:eH,project_id:tH,url:nH,r2_key:rH,original_filename:iH,size:sH,content_type:oH,created_at:aH},lH=1,cH="e6a84738-2e0b-466a-a791-764b7a04b822",uH="2a085179-0a1c-43ad-88f9-631c9eab2259",dH="/__l5e/assets-v1/e6a84738-2e0b-466a-a791-764b7a04b822/recertification-meeting.jpg",pH="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/e6a84738-2e0b-466a-a791-764b7a04b822/recertification-meeting.jpg",hH="recertification-meeting.jpg",fH=411286,mH="image/jpeg",gH="2026-06-25T16:18:30Z",zm={version:lH,asset_id:cH,project_id:uH,url:dH,r2_key:pH,original_filename:hH,size:fH,content_type:mH,created_at:gH},vH=1,yH="2fde45b4-9567-43f8-a012-63fddcecd4bc",bH="2a085179-0a1c-43ad-88f9-631c9eab2259",xH="/__l5e/assets-v1/2fde45b4-9567-43f8-a012-63fddcecd4bc/2033.jpg",wH="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/2fde45b4-9567-43f8-a012-63fddcecd4bc/2033.jpg",kH="2033.jpg",CH=393044,jH="image/jpeg",SH="2026-09-01T17:41:03Z",HC={version:vH,asset_id:yH,project_id:bH,url:xH,r2_key:wH,original_filename:kH,size:CH,content_type:jH,created_at:SH},_H="/assets/bcorp-cohorte-hero-C_iO9Ktr.jpg",EH=1,TH="b18809de-01c2-4636-a2ac-804bff92a816",PH="2a085179-0a1c-43ad-88f9-631c9eab2259",AH="/__l5e/assets-v1/b18809de-01c2-4636-a2ac-804bff92a816/bcorp-personnalise-hero.jpg",NH="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/b18809de-01c2-4636-a2ac-804bff92a816/bcorp-personnalise-hero.jpg",RH="bcorp-personnalise-hero.jpg",qH=338968,IH="image/jpeg",LH="2026-06-08T19:54:34Z",OH={version:EH,asset_id:TH,project_id:PH,url:AH,r2_key:NH,original_filename:RH,size:qH,content_type:IH,created_at:LH},DH=1,MH="e0b91b58-f7ab-49d3-9087-a421ec0e3f76",BH="2a085179-0a1c-43ad-88f9-631c9eab2259",$H="/__l5e/assets-v1/e0b91b58-f7ab-49d3-9087-a421ec0e3f76/recertif-perso-hero.jpg",FH="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/e0b91b58-f7ab-49d3-9087-a421ec0e3f76/recertif-perso-hero.jpg",zH="recertif-perso-hero.jpg",UH=310035,VH="image/jpeg",WH="2026-06-08T21:44:57Z",HH={version:DH,asset_id:MH,project_id:BH,url:$H,r2_key:FH,original_filename:zH,size:UH,content_type:VH,created_at:WH}
383,GH=1,KH="69a6e707-1423-4922-9469-a0490db015d8",JH="2a085179-0a1c-43ad-88f9-631c9eab2259",YH="/__l5e/assets-v1/69a6e707-1423-4922-9469-a0490db015d8/recertif-cohorte-hero.jpg",QH="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/69a6e707-1423-4922-9469-a0490db015d8/recertif-cohorte-hero.jpg",XH="recertif-cohorte-hero.jpg",ZH=426015,eG="image/jpeg",tG="2026-06-08T21:54:56Z",nG={version:GH,asset_id:KH,project_id:JH,url:YH,r2_key:QH,original_filename:XH,size:ZH,content_type:eG,created_at:tG},rG=1,iG="ebc98d45-7d1a-4e61-81e0-2221f403cabf",sG="2a085179-0a1c-43ad-88f9-631c9eab2259",oG="/__l5e/assets-v1/ebc98d45-7d1a-4e61-81e0-2221f403cabf/cohorte-leadership-signature-hero.jpg",aG="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/ebc98d45-7d1a-4e61-81e0-2221f403cabf/cohorte-leadership-signature-hero.jpg",lG="cohorte-leadership-signature-hero.jpg",cG=401597,uG="image/jpeg",dG="2026-06-11T13:54:01Z",MN={version:rG,asset_id:iG,project_id:sG,url:oG,r2_key:aG,original_filename:lG,size:cG,content_type:uG,created_at:dG},pG=1,hG="915f8d7f-8173-436a-acff-68adde250416",fG="2a085179-0a1c-43ad-88f9-631c9eab2259",mG="/__l5e/assets-v1/915f8d7f-8173-436a-acff-68adde250416/programme-leadership-personnalise-hero.jpg",gG="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/915f8d7f-8173-436a-acff-68adde250416/programme-leadership-personnalise-hero.jpg",vG="programme-leadership-personnalise-hero.jpg",yG=257258,bG="image/jpeg",xG="2026-06-11T14:07:05Z",dy={version:pG,asset_id:hG,project_id:fG,url:mG,r2_key:gG,original_filename:vG,size:yG,content_type:bG,created_at:xG},wG=1,kG="9932b030-9f39-4ecd-b464-a433fb6f2154",CG="2a085179-0a1c-43ad-88f9-631c9eab2259",jG="/__l5e/assets-v1/9932b030-9f39-4ecd-b464-a433fb6f2154/programme-leadership-niveau-2-hero.jpg",SG="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/9932b030-9f39-4ecd-b464-a433fb6f2154/programme-leadership-niveau-2-hero.jpg",_G="programme-leadership-niveau-2-hero.jpg",EG=260321,TG="image/jpeg",PG="2026-06-11T14:17:30Z",AG={version:wG,asset_id:kG,project_id:CG,url:jG,r2_key:SG,original_filename:_G,size:EG,content_type:TG,created_at:PG},NG=1,RG="25cec007-9faf-4841-b285-23b69d07fb99",qG="2a085179-0a1c-43ad-88f9-631c9eab2259",IG="/__l5e/assets-v1/25cec007-9faf-4841-b285-23b69d07fb99/programme-leadership-niveau-2-description.jpg",LG="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/25cec007-9faf-4841-b285-23b69d07fb99/programme-leadership-niveau-2-description.jpg",OG="programme-leadership-niveau-2-description.jpg",DG=417478,MG="image/jpeg",BG="2026-06-11T14:20:50Z",$G={version:NG,asset_id:RG,project_id:qG,url:IG,r2_key:LG,original_filename:OG,size:DG,content_type:MG,created_at:BG},FG=1,zG="f53a2c55-9082-437a-ab7a-4ce1e579c1b5",UG="2a085179-0a1c-43ad-88f9-631c9eab2259",VG="/__l5e/assets-v1/f53a2c55-9082-437a-ab7a-4ce1e579c1b5/tests-psychometriques-hero.jpg",WG="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/f53a2c55-9082-437a-ab7a-4ce1e579c1b5/tests-psychometriques-hero.jpg",HG="tests-psychometriques-hero.jpg",GG=309483,KG="image/jpeg",JG="2026-06-16T14:49:55Z",YG={version:FG,asset_id:zG,project_id:UG,url:VG,r2_key:WG,original_filename:HG,size:GG,content_type:KG,created_at:JG},QG=1,XG="52a91b1e-9546-45e4-bc4d-09be7a68b9e6",ZG="2a085179-0a1c-43ad-88f9-631c9eab2259",eK="/__l5e/assets-v1/52a91b1e-9546-45e4-bc4d-09be7a68b9e6/coaching-conseils-hero.jpg",tK="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/52a91b1e-9546-45e4-bc4d-09be7a68b9e6/coaching-conseils-hero.jpg",nK="coaching-conseils-hero.jpg",rK=399729,iK="image/jpeg",sK="2026-06-11T14:45:58Z",oK={version:QG,asset_id:XG,project_id:ZG,url:eK,r2_key:tK,original_filename:nK,size:rK,content_type:iK,created_at:sK},aK=1,lK="ae4d17e2-f99a-4786-a8ed-c0c970e5b360",cK="2a085179-0a1c-43ad-88f9-631c9eab2259",uK="/__l5e/assets-v1/ae4d17e2-f99a-4786-a8ed-c0c970e5b360/coaching-conseils-description.jpg",dK="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/ae4d17e2-f99a-4786-a8ed-c0c970e5b360/coaching-conseils-description.jpg",pK="coaching-conseils-description.jpg",hK=287227,fK="image/jpeg",mK="2026-06-11T15:07:52Z",gK={version:aK,asset_id:lK,project_id:cK,url:uK,r2_key:dK,original_filename:pK,size:hK,content_type:fK,created_at:mK},vK=1,yK="bb351619-d5aa-4b73-aede-f38b890e1e45",bK="2a085179-0a1c-43ad-88f9-631c9eab2259",xK="/__l5e/assets-v1/bb351619-d5aa-4b73-aede-f38b890e1e45/slide-frame-625-1.png",wK="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/bb351619-d5aa-4b73-aede-f38b890e1e45/slide-frame-625-1.png",kK="slide-frame-625-1.png",CK=75610,jK="image/png",SK="2026-08-19T18:06:02Z",_K={version:vK,asset_id:yK,project_id:bK,url:xK,r2_key:wK,original_filename:kK,size:CK,content_type:jK,created_at:SK},EK=1,TK="f9ce0b50-c1bb-4aed-932b-9155cef2c3c0",PK="2a085179-0a1c-43ad-88f9-631c9eab2259",AK="/__l5e/assets-v1/f9ce0b50-c1bb-4aed-932b-9155cef2c3c0/slide-frame-856.png",NK="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/f9ce0b50-c1bb-4aed-932b-9155cef2c3c0/slide-frame-856.png",RK="slide-frame-856.png",qK=232514,IK="image/png",LK="2026-08-19T18:06:04Z",OK={version:EK,asset_id:TK,project_id:PK,url:AK,r2_key:NK,original_filename:RK,size:qK,content_type:IK,created_at:LK},DK=1,MK="58a164ff-e7b5-49d9-be88-721b044ccd62",BK="2a085179-0a1c-43ad-88f9-631c9eab2259",$K="/__l5e/assets-v1/58a164ff-e7b5-49d9-be88-721b044ccd62/slide-frame-880.png",FK="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/58a164ff-e7b5-49d9-be88-721b044ccd62/slide-frame-880.png",zK="slide-frame-880.png",UK=113283,VK="image/png",WK="2026-08-19T18:06:06Z",HK={version:DK,asset_id:MK,project_id:BK,url:$K,r2_key:FK,original_filename:zK,size:UK,content_type:VK,created_at:WK},GK=1,KK="3b6b90d9-83c8-4c80-80a5-87a875dd32f6",JK="2a085179-0a1c-43ad-88f9-631c9eab2259",YK="/__l5e/assets-v1/3b6b90d9-83c8-4c80-80a5-87a875dd32f6/slide-frame-967-1.png",QK="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/3b6b90d9-83c8-4c80-80a5-87a875dd32f6/slide-frame-967-1.png",XK="slide-frame-967-1.png",ZK=47017,eJ="image/png",tJ="2026-08-19T18:06:09Z",nJ={version:GK,asset_id:KK,project_id:JK,url:YK,r2_key:QK,original_filename:XK,size:ZK,content_type:eJ,created_at:tJ},rJ=1,iJ="f1cab095-c61a-493a-8e3b-14428cd2fed4",sJ="2a085179-0a1c-43ad-88f9-631c9eab2259",oJ="/__l5e/assets-v1/f1cab095-c61a-493a-8e3b-14428cd2fed4/slide-frame-1267.png",aJ="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/f1cab095-c61a-493a-8e3b-14428cd2fed4/slide-frame-1267.png",lJ="slide-frame-1267.png",cJ=353499,uJ="image/png",dJ="2026-08-19T18:06:12Z",pJ={version:rJ,asset_id:iJ,project_id:sJ,url:oJ,r2_key:aJ,original_filename:lJ,size:cJ,content_type:uJ,created_at:dJ},hJ=1,fJ="26b88463-1905-489b-bacf-81682de06995",mJ="2a085179-0a1c-43ad-88f9-631c9eab2259",gJ="/__l5e/assets-v1/26b88463-1905-489b-bacf-81682de06995/slide-frame-1401.png",vJ="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/26b88463-1905-489b-bacf-81682de06995/slide-frame-1401.png",yJ="slide-frame-1401.png",bJ=76420,xJ="image/png",wJ="2026-08-19T18:06:14Z",kJ={version:hJ,asset_id:fJ,project_id:mJ,url:gJ,r2_key:vJ,original_filename:yJ,size:bJ,content_type:xJ,created_at:wJ},CJ=1,jJ="f9e4481a-8c97-4b42-aa97-1bde4244de63",SJ="2a085179-0a1c-43ad-88f9-631c9eab2259",_J="/__l5e/assets-v1/f9e4481a-8c97-4b42-aa97-1bde4244de63/bcorp-droits-humains.jpg",EJ="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/f9e4481a-8c97-4b42-aa97-1bde4244de63/bcorp-droits-humains.jpg",TJ="bcorp-droits-humains.jpg",PJ=387770,AJ="image/jpeg",NJ="2026-09-01T17:44:26Z",RJ={version:CJ,asset_id:jJ,project_id:SJ,url:_J,r2_key:EJ,original_filename:TJ,size:PJ,content_type:AJ,created_at:NJ},qJ=1,IJ="39f7b7c3-3dfd-4d96-a674-0a005ca3004d",LJ="2a085179-0a1c-43ad-88f9-631c9eab2259",OJ="/__l5e/assets-v1/39f7b7c3-3dfd-4d96-a674-0a005ca3004d/bcorp-salaire-subsistance.jpg",DJ="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/39f7b7c3-3dfd-4d96-a674-0a005ca3004d/bcorp-salaire-subsistance.jpg",MJ="bcorp-salaire-subsistance.jpg",BJ=291788,$J="image/jpeg",FJ="2026-09-01T17:44:28Z",zJ={version:qJ,asset_id:IJ,project_id:LJ,url:OJ,r2_key:DJ,original_filename:MJ,size:BJ,content_type:$J,created_at:FJ},UJ=1,VJ="afbbea0d-ed01-4154-ac2a-a29c0f5e935d",WJ="2a085179-0a1c-43ad-88f9-631c9eab2259",HJ="/__l5e/assets-v1/afbbea0d-ed01-4154-ac2a-a29c0f5e935d/bcorp-parcours-certification.jpg",GJ="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/afbbea0d-ed01-4154-ac2a-a29c0f5e935d/bcorp-parcours-certification.jpg",KJ="bcorp-parcours-certification.jpg",JJ=427689,YJ="image/jpeg",QJ="2026-09-01T17:44:32Z",XJ={version:UJ,asset_id:VJ,project_id:WJ,url:HJ,r2_key:GJ,original_filename:KJ,size:JJ,content_type:YJ,created_at:QJ},ZJ=1,eY="2d686bfa-c560-4dfd-a8c5-b4ea6acc0790",tY="2a085179-0a1c-43ad-88f9-631c9eab2259",nY="/__l5e/assets-v1/2d686bfa-c560-4dfd-a8c5-b4ea6acc0790/bcorp-exigences-gouvernance.jpg",rY="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/2d686bfa-c560-4dfd-a8c5-b4ea6acc0790/bcorp-exigences-gouvernance.jpg",iY="bcorp-exigences-gouvernance.jpg",sY=560951,oY="image/jpeg",aY="2026-09-01T17:44:36Z",lY={version:ZJ,asset_id:eY,project_id:tY,url:nY,r2_key:rY,original_filename:iY,size:sY,content_type:oY,created_at:aY},cY=1,uY="26d8ba37-67de-4161-8242-f0e117aa5cf5",dY="2a085179-0a1c-43ad-88f9-631c9eab2259",pY="/__l5e/assets-v1/26d8ba37-67de-4161-8242-f0e117aa5cf5/bcorp-standards-environnementaux.jpg",hY="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/26d8ba37-67de-4161-8242-f0e117aa5cf5/bcorp-standards-environnementaux.jpg",fY="bcorp-standards-environnementaux.jpg",mY=424005,gY="image/jpeg",vY="2026-09-01T17:44:40Z",yY={version:cY,asset_id:uY,project_id:dY,url:pY,r2_key:hY,original_filename:fY,size:mY,content_type:gY,created_at:vY},bY=1,xY="5b7cb050-4365-4db3-94de-ddebdcc1bc9d",wY="2a085179-0a1c-43ad-88f9-631c9eab2259",kY="/__l5e/assets-v1/5b7cb050-4365-4db3-94de-ddebdcc1bc9d/bcorp-piliers-changement.jpg",CY="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/5b7cb050-4365-4db3-94de-ddebdcc1bc9d/bcorp-piliers-changement.jpg",jY="bcorp-piliers-changement.jpg",SY=382517,_Y="image/jpeg",EY="2026-09-01T17:44:44Z",TY={version:bY,asset_id:xY,project_id:wY,url:kY,r2_key:CY,original_filename:jY,size:SY,content_type:_Y,created_at:EY},PY=1,AY="5ad83823-9073-4488-800d-2017929bd696",NY="2a085179-0a1c-43ad-88f9-631c9eab2259",RY="/__l5e/assets-v1/5ad83823-9073-4488-800d-2017929bd696/bcorp-scenarios-diffusion.png",qY="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/5ad83823-9073-4488-800d-2017929bd696/bcorp-scenarios-diffusion.png",IY="bcorp-scenarios-diffusion.png",LY=120656,OY="image/png",DY="2026-09-01T17:44:47Z",MY={version:PY,asset_id:AY,project_id:NY,url:RY,r2_key:qY,original_filename:IY,size:LY,content_type:OY,created_at:DY},_o={label:"Retour aux services leadership",href:"/expertise/leadership-organisationnel"},Qu={label:"Retour aux services B Corp",href:"/expertise/accompagnement-certification-b-corp"},Um=["DEVINCI","GURU","Ciele","Ig2","GEN V","Tel-jeunes","OMY LAB","PLURITEC","Novatize","CarbonLED"],BY={"parcours-leadership-cohorte-personnalisee":{slug:"parcours-leadership-cohorte-personnalisee",pole:"leadership",parent:_o,hero:{eyebrow:"Leadership organisationnel",title:l.jsx(l.Fragment,{children:"Programme Leadership personnalisé"}),formatLabel:"Niveau 1",description:`Les modèles de leadership évoluent. Le temps de faire briller les égos est révolu : place aux leaders capables de vulnérabilité et de courage. Depuis ses débuts, Boîte Pac s'intéresse à ce qui permet aux équipes de réellement performer, et surtout à la posture des gestionnaires qui les accompagnent. 
384
385
386Ce parcours de formation explore les 8 compétences essentielles à un leadership d'impact : un doux mélange entre la théorie, l'introspection et les outils plus-que-concrets pour mettre les apprentissages en pratique dès le lendemain. Ici, on co-construit avec vous. Le contenu s'ancre dans les réalités, les valeurs et les enjeux propres à votre organisation.`,image:dy.url,imageAlt:"Cohorte en atelier de leadership personnalisé"},description:{image:zm.url,imageAlt:"Atelier collaboratif",eyebrow:"Description",title:"Même structure, même richesse de contenu, mais co-construit pour votre équipe.",paragraphs:["On commence par prendre le pouls de vos enjeux, vos besoins et vos valeurs, puis on co-construit un parcours qui parle vraiment. 4 blocs de 2 heures, en compagnie de gestionnaires de votre organisation où l'on valse entre la théorie, la pratique et les partages. Maximum 12 participant·e·s par cohorte, en virtuel ou en présentiel.","Ce que ça inclut :"],bullets:["Analyse de l'entreprise","Sondage envoyé aux participant·e·s","Test psychométrique aux participant·e·s si désiré","Compte rendu des profils psychométriques","Rencontre avec les RH","Personnalisation du parcours de formation","Validation du contenu","Ronde d'ajustement","4 séances personnalisées, thèmes sélectionnés dans la liste ci-bas","Sondage mi-p
386arcours","Outils pour faciliter l'implantation de nouvelles pratiques","Sondage fin de parcours","Recommandations post-programme","Coaching et co-développement si désiré par la suite"]},info:{duration:{label:"Durée",value:"À confirmer",emoji:"⏱️"},price:{label:"Tarif",value:"Sur demande",emoji:"✨"},third:{label:"Format",value:"Max. 12 / séance",emoji:"👥"}},topics:{eyebrow:"Sujets abordés",title:"Les 4 séances du parcours",items:[{title:"Séance 1 — Assumer sa posture : bâtir un leadership qui mobilise",description:"Sélection de 6 compétences clés à explorer parmi les suivantes : pouvoir d'influence, connexion, organisation, communication, courage managérial, développement des talents et vision stratégique.",points:["Prendre conscience de son impact grâce à la notion de Weather Maker","Exercice de réflexion et de déprogrammation","Clarifier sa vision et tracer les bases de son leadership","Prendre sa place avec confiance et développer sa crédibilité","Construire la relation avec son équipe","Devenir des ninjas de l'organisation"]},{title:"Séance 2 — Gérer des humain·es : l'art de la communication",points:["Créer un cadre psychologique sécurisant, au-delà de « ma porte est toujours ouverte »","Les 3 super-pouvoirs de la communication","Développer l'écoute active","Cultiver la curiosité et poser les bonnes questions","Repenser la vulnérabilité à travers le rituel des clearings","Distinguer les faits des perceptions","Clarifier ses messages et son intention","Classe de maître : la reconnaissance niveau expert","Maîtriser l'art du feedback constructif","Demander du feedback pour soi : à qui, quand et comment?"]},{title:"Séance 3 — Oser le leadership dans l'inconfort",points:["La part de responsabilité","Recevoir du feedback et laisser son ego de côté","Se préparer à une discussion difficile et structurer ses échanges","Se préparer à une annonce difficile grâce au schéma Boîte Pac","Gérer les déceptions et les transformer en opportunités","Introduction à la gestion du changement"]},{title:"Séance 4 — De gestionnaire à développeur de talents",points:["Structurer un parcours d'intégration clair et mobilisateur","Coacher avec impact","Déterminer quand être un coach et quand être un conseiller","Cartographier les forces et les aspirations de son équipe pour les rallier aux objectifs de l'entreprise","Bâtir des plans de développement individuel","Mettre en place des mécanismes et rituels pour les faire vivre","Déléguer stratég
386iquement et sortir de l'opérationnel","Identifier comment conjuguer l'inspiration au concret"]}]},promise:{eyebrow:"Notre promesse",title:"Oui à l'inspiration, oui à l'introspection, oui à l'innovation. Non au pelletage de nuages.",text:"Chez Boîte Pac, votre parcours est conçu pour refléter la réalité unique de votre entreprise. On transforme les idées en actions concrètes, on vous guide vers des pratiques adaptées à votre contexte, et on vous fournit les outils nécessaires pour les déployer efficacement avec vos équipes : liste de questions 1:1s, modèle d'ordre du jour de rencontres, schéma de la rétroaction constructive, schéma d'annonce difficile et gabarit de plan d'accueil et d'intégration."},faq:[],testimonialIds:["shirley-lussier","francis-lussier","martin-lussier"]},"programme-leadership-personnalise-niveau-2":{slug:"programme-leadership-personnalise-niveau-2",pole:"leadership",parent:_o,hero:{eyebrow:"Leadership organisationnel",title:l.jsx(l.Fragment,{children:"Programme Leadership personnalisé"}),formatLabel:"Niveau 2",description:"Élevez votre leadership d'un cran. Ce programme avancé vous outille pour créer un environnement propice à la collaboration, à la performance et à la transformation — en misant sur la mise en pratique, les échanges entre pairs et l'apport d'experts de votre industrie.",image:AG.url,imageAlt:"Cohorte en classe de maître de leadership niveau 2"},description:{image:$G.url,imageAlt:"Participante attentive lors d'une classe de maître Boîte Pac",eyebrow:"Description",title:"Une formation avancée, personnalisée à la réalité de votre entreprise.",paragraphs:["Il y a certains mantras dont on ne se lasse pas chez Boîte Pac. Ils guident nos réflexions et nous ramènent souvent à l'essentiel lorsque vient le temps de gérer sous pression. On vous propose de les décortiquer avec vous et de vous les approprier pour avoir plus d'impact (et plus de fun) au quotidien.","Véritablement axé sur le partage d'expériences et l'intelligence collective, ce programme fait le pari que la mise en pratique, les échanges entre pairs et l'ancrage dans le réel l'emportent sur la théorie. Il permet de prendre du recul sur sa pratique de gestion, d'affiner son impact comme leader et de développer des façons d'agir plus efficaces au quotidien.","Le parcours est enrichi par l'apport d'experts issus de l'industrie, qui contribuent à la conception et à l'animation des contenus afin d'assurer leur pertinence et leur ancrage dans la réalité terrain. La participation inclut également les résultats d'évaluation issus de l'outil psychométrique Nova Global.","Formation personnalisée divisée en 4 séances de 3h ou en deux journées complètes. Maximum 12 participant·e·s par séance, en présentiel ou en virtuel. Ce que ça inclut :"],bullets:["Rencontre avec les RH","Sondage envoyé aux participant·e·s","Évaluation psychométrique Nova des participant·e·s","Personnalisation du parcours de formation","Validation des classes de maîtres","Ronde d'ajustement","4 classes de maître et ateliers s'inscrivant dans les thèmes ci-bas","Sondage mi-parcours","Outils pour faciliter l'amélioration de la posture du leader","Recommandations post-programme","Coaching et co-développement possibles par la suite"]},info:{duration:{label:"Durée",value:"4 séances de 3h",emoji:"⏱️"},price:{label:"Tarif",value:"Sur demande",emoji:"✨"},third:{label:"Format",value:"Max. 12 / séance",emoji:"👥"}},topics:{eyebrow:"Sujets abordés",title:"Les 4 séances du parcours",items:[{title:"Séance 1 — Développer un leadership intentionnel (Slow down to speed up)",description:"Prendre le temps de ralentir pour mieux comprendre l'impact de ses actions, de ses réactions et de ses habitudes de gestion. Cette séance permet aux participant·e·s de réfléchir à leur posture de leader, d'identifier ce qui les aide ou les freine dans leur rôle et de développer davantage d'intentionnalité dans leur quotidien.",points:["Mieux se connaître pour mieux diriger","Développer sa capacité de recul et son jugement dans l'action","Identifier les habitudes qui amplifient ou limitent son impact"]},{title:"Séance 2 — Donner du sens pour mieux mobiliser (Purpose before process)",description:"Les attentes envers les leaders évoluent. Au-delà des résultats, ils doivent créer du sens, favoriser l'engagement et rallier les équipes autour d'une direction claire. Cette séance amène les participant·e·s à réfléchir à leur rôle comme porteur·euse·s de sens et à leur capacité à mobiliser autour d'une vision commune.",points:["Comprendre les attentes envers les leaders d'aujourd'hui","Clarifier son rôle dans la mobilisation des équipes","Communiquer le sens derrière les décisions et les priorités"]},{title:"Séance 3 — Naviguer l'inconfort avec courage (Clear is Kind)",description:"Les conversations difficiles, les changements et les situations délicates font partie intégrante du rôle de leader. Cette séance vise à développer la capacité à aborder ces moments avec clarté, courage et bienveillance afin de maintenir la confiance et la performance au sein des équipes.",points:["Communiquer clairement dans les situations complexes","Gérer les résistances et les réactions au changement","Transformer les conversations difficiles en occasions de progression"]}
386,{title:"Séance 4 — Élever sa perspective stratégique (Surprotéger, c'est sous-estimer)",description:"Un leader mobilisateur ne porte pas seul le poids des décisions. Il partage l'information, développe l'autonomie et permet à son équipe de contribuer pleinement à la réussite collective. Cette séance aide les participant·e·s à adopter une vision plus stratégique de leur rôle et à créer les conditions propices à l'engagement.",points:["Développer une vision d'ensemble et une pensée stratégique","Favoriser l'autonomie plutôt que la dépendance","Mobiliser les talents autour des priorités et des objectifs communs"]}]},promise:{eyebrow:"Notre promesse",title:"Du concret, des expert·e·s et un miroir précis sur votre leadership.",text:"Beaucoup de cas et d'exercices pratiques, des expert·e·s invité·e·s pour approfondir des enjeux précis et des liens directs entre votre profil Nova et votre leadership pour améliorer votre présence exécutive."},faq:[{q:"Est-ce que je dois avoir fait le niveau 1 avant de passer au niveau 2?",a:"Oui. Le niveau 2 part du langage commun, des outils et de la posture développés au niveau 1 pour aller plus loin dans l'intentionnalité, le sens et la perspective stratégique. Avoir complété le niveau 1 de Boîte Pac est un prérequis pour permettre à toute la cohorte de plonger directement dans la mise en pratique et les échanges entre pairs."},{q:"Est-ce que cette formation me donne une certification?",a:"Le programme n'est pas une certification reconnue par un ordre professionnel. Par contre, chaque participant·e reçoit ses résultats d'évaluation Nova Global, une attestation de participation au programme ainsi que les outils et recommandations personnalisés pour ancrer les apprentissages dans son quotidien de gestion."}],testimonialIds:[]},"parcours-leadership-en-groupe":{slug:"parcours-leadership-en-groupe",pole:"leadership",parent:_o,hero:{eyebrow:"Leadership organisationnel",title:l.jsx(l.Fragment,{children:"Cohorte Leadership signature"}),description:"Les modèles de leadership évoluent. Le temps de faire briller les égos est révolu : place aux leaders capables de vulnérabilité et de courage. Ce parcours de formation en 4 séances explore les 8 compétences essentielles à un leadership d'impact : un doux mélange entre la théorie, l'introspection et les outils plus-que-concrets pour mettre les apprentissages en pratique dès le lendemain. Ici, vous apprendrez en cohorte de groupe aux côtés de gestionnaires de d'autres organisations. Parce que les échanges nourrissent autant que le contenu. Notre prochaine cohorte débute en septembre 2026, ne manquez pas votre chance!",image:MN.url,imageAlt:"Cohorte de gestionnaires en discussion autour d'une table",formatLabel:"Cohorte de groupe"},description:{image:WC.url,imageAlt:"Cohorte Leadership signature en atelier",eyebrow:"Description",title:"Cohorte Leadership signature",paragraphs:["4 blocs de 2 heures, en compagnie de gestionnaires provenant d'horizons variés. On valse entre la théorie, la pratique et les partages. Maximum 12 participant·e·s par cohorte, pour que tout le monde ait vraiment sa place. Alerte aux échanges riches!","Ce parcours s'adresse à :"],bullets:["Les nouveaux·elles gestionnaires en transition vers un rôle de leadership","Les gestionnaires en poste qui souhaitent solidifier leurs bases","Les leaders en devenir qui veulent développer leur leadership","Les entrepreneur·e·s sur le point de faire grandir leur équipe et de jouer un rôle de gestionnaire","Les organisations qui veulent outiller leurs gestionnaires"]},info:{duration:{label:"Durée",value:"4 semaines (2h/semaine)",emoji:"⏱️"},price:{label:"Tarif",value:"1 050 $",emoji:"✨"},third:{label:"Dates",value:"Prochaine cohorte du 17 septembre au 8 octobre 2026",emoji:"📅"}},topics:{eyebrow:"Sujets abordés",title:"Le programme des 4 séances",items:[{title:"Séance 1 — Assumer sa posture : bâtir un leadership qui mobilise",description:"Aider les participant·e·s à atterrir avec confiance dans leur rôle, à prendre leur place en tant que leader, clarifier leur posture et poser, dès le départ, des fondations solides. Compétences explorées : pouvoir d'influence, connexion et organisation.",points:["Prendre conscience de son impact grâce à la notion de Weather Maker","Exercice de réflexion et déprogrammation","Clarifier sa vision et tracer les bases de son leadership","Prendre sa place avec confiance et développer sa crédibilité","Construire la relation avec son équipe","Du rôle de contributeur au rôle de leader","Organiser sa première rencontre d'équipe et instaurer des 1:1s","Rituels de connexion et pratiques de mobilisation","Engagement des employé·e·s à distance","Devenir des ninjas de l'organisation : gestion du temps, priorisation, animation de réunions"]},{title:"Séance 2 — Gérer des humain·e·s : communication et l'art de la rétroaction",description:"Améliorer la communication des rétroactions et faciliter les échanges plus difficiles tout en favorisant l'émergence de connexions plus riches et authentiques dans votre équipe. Compétence explorée : communication.",points:["Créer un cadre psychologique sécurisant, au-delà de « ma porte est toujours ouverte »","Les 3 super-pouvoirs de la communication","Développer l'écoute active","Cultiver la curiosité et poser les bonnes questions","Repenser la vulnérabilité à travers le rituel des clearings","Distinguer les faits des perceptions","Clarifier ses messages et son intention","Optimiser sa communication écrite","Développer la reconnaissance au sein de son équipe","Maîtriser l'art du feedback constructif : un schéma signé Boîte Pac","Demander du feedback pour soi : à qui, quand et comment?"]},{title:"Séance 3 — Oser le leadership dans l'inconfort",description:"Développer le courage managérial nécessaire pour assumer sa pleine responsabilité comme leader, naviguer avec assurance les discussions difficiles et mobiliser son équipe à travers le changement.",points:["La part de responsabilité","Recevoir du feedback et laisser son ego de côté","Courage managérial, okay mais comment?","Se préparer pour une discussion difficile et structurer vos échanges","Se préparer à une annonce difficile grâce au schéma Boîte Pac"]},{title:"Séance 4 — De gestionnaire à développeur de talents",description:"Passer d'un rôle de gestionnaire à celui de véritable levier au développement de son équipe, capable d'allier vision, impact et exécution. Compétences explorées : développement des talents et vision stratég
386ique.",points:["Structurer un parcours d'intégration clair et mobilisateur","Coacher avec impact","Déterminer quand être un coach et quand être un conseiller","Instaurer une culture de développement","Cartographier les forces et les aspirations de son équipe pour les rallier aux objectifs de l'entreprise","Bâtir des plans de développement individuel","Mettre en place des mécanismes et rituels pour les faire vivre","Déléguer stratégiquement et sortir de l'opérationnel","Identifier comment conjuguer l'inspiration au concret","Repenser ses objectifs : au-delà du SMART, qu'est-ce qui est engageant?"]}]},promise:{eyebrow:"Notre promesse",title:"Oui à l'inspiration, oui à l'introspection, oui à l'innovation. Non au pelletage de nuages.",text:"Chez Boîte Pac, votre parcours est conçu pour refléter la réalité unique de votre entreprise. On transforme les idées en actions concrètes, on vous guide vers des pratiques adaptées à votre contexte, et on vous fournit les outils nécessaires pour les déployer efficacement avec vos équipes : liste de questions 1:1s, modèle d'ordre du jour de rencontres, schéma de la rétroaction constructive, schéma d'annonce difficile, gabarit de plan d'accueil et d'intégration, modèle de plan de développement, gabarit de questions pour mieux connaître votre équipe et questionnaire pour bâtir la connexion dès le départ."},slideshow:{eyebrow:"Un aperçu du contenu",title:"Un avant-goût de ce qui vous attend en séance",intro:"Des extraits de nos diapositives : des modèles concrets, des schémas signature Boîte Pac et des exercices qui se transposent directement dans votre quotidien de gestion.",slides:[{image:_K.url,alt:"Diapositive : quelle est la priorité #1 de tout·e gestionnaire?"},{image:OK.url,alt:"Diapositive : « ma porte est toujours ouverte » n'est pas un mécanisme de feedback"},{image:HK.url,alt:"Diapositive : organiser un premier 1:1 avec chaque membre de son équipe"},{image:kJ.url,alt:"Diapositive : l'impact réel du gestionnaire sur l'engagement"},{image:pJ.url,alt:"Diapositive : petit guide pour mieux travailler ensemble"},{image:nJ.url,alt:"Diapositive : exercice de réflexion solo papier et crayon"}]},faq:[{q:"Est-ce que le contenu est le même dans la cohorte et dans le programme personnalisé?",a:"Les 4 modules et les 8 compétences sont les mêmes, mais le contexte change. Dans la cohorte, les 8 compétences sont explorées et vous apprenez aux côtés de gestionnaires d'autres organisations. Dans le programme personnalisé, l'entreprise est amenée à sélectionner les 6 compétences les plus pertinentes pour ancrer le contenu dans les réalités spécifiques de vos équipes."},{q:"Faut-il avoir de l'expérience en gestion pour participer? Est-ce que je peux participer à la formation même si je ne gère pas une équipe?",a:"Pas du tout. Le parcours est conçu autant pour les gestionnaires qui débutent dans leur rôle que pour ceux et celles qui ont longtemps appris sur le tas… et souhaitent solidifier leurs bases, valider certains concepts et garnir leur boîte à outils."},{q:"Les séances sont-elles enregistrées?",a:"Non, et c'est voulu! Il s'agit d'une formation qui repose sur les échanges, le partage de situations, de doutes et défis. Pour cette raison, elle ne se suit pas en différé. Bien évidemment, si vous devez manquer une séance, nous trouverons un moyen de vous partager toutes les ressources essentielles."}],testimonialIds:["anon-nl-avril2026-1","anon-nl-avril2026-2","anon-nl-automne2025-1"]},"cohorte-leadership-fondateur":{slug:"cohorte-leadership-fondateur",pole:"leadership",parent:_o,hero:{eyebrow:"Leadership organisationnel",title:l.jsx(l.Fragment,{children:"Cohorte leadership pour fondateur·rice·s"}),formatLabel:"Bientôt disponible",announce:!0,description:`Dans le contexte actuel, les organisations ont plus que jamais besoin de leaders capables de naviguer dans la complexité avec tête, cœur et courage : la tête pour garder le cap, le cœur pour mobiliser et engager les équipes, et le courage pour sortir de sa zone de confort, oser autrement et transformer les défis en occasions d'innover.
387
388
389Un tout nouveau parcours immersif de deux jours, conçu exclusivement pour les fondateur·rice·s d'entreprise. Les détails complets seront dévoilés sous peu.`,image:dy.url,imageAlt:"Fondateur·rice·s en discussion lors d'une journée de formation Boîte Pac"},description:{image:WC.url,imageAlt:"Groupe de fondateur·rice·s en atelier de leadership",eyebrow:"Description",title:"Deux jours immersifs, entre fondateur·rice·s",paragraphs:["Durant ces deux jours, vous serez amené·e à prendre un pas de recul (slow down to speed up, comme on dit ici) sur votre façon de diriger et à explorer les réflexes qui influencent votre leadership. À travers un parcours immersif axé sur la réflexion, les échanges et l'expérience, vous développerez une meilleure compréhension de vos réflexes, de votre impact et de la posture de leader que vous désirez incarner.","Un format condensé, pensé pour celles et ceux qui portent leur entreprise sur leurs épaules et qui gagnent à être entouré·e·s d'autres fondateur·rice·s qui vivent les mêmes réalités.","Les inclusions :"],bullets:["Profil psych
389ométrique Nova","Séance de débreffage personnalisée","2 journées de formation complètes","Café et dîner inclus","Séances de mouvement, question de mieux intégrer les notions","Tous les outils explorés durant la formation"]},info:{duration:{label:"Durée",value:`2 jours
390Dates à venir (début 2027) `,emoji:"⏱️"},price:{label:"Tarif",value:"À venir",emoji:"✨"},third:{label:"Format",value:`Cohorte exclusive de fondateur·rice·s
391Places limitées`,emoji:"👥"}},topics:{eyebrow:"Sujets abordés",title:"Contenu détaillé à venir",hideChevron:!0,items:[{title:"Jour 1 — Se retrouver comme fondateur·rice",description:"Leadership intentionnel, présence exécutive d'impact et la connexion comme priorité."},{title:"Jour 2 — Mission et vision",description:"Communication et art de la rétroaction, perspective stratégique et clôture du parcours."},{title:"Le programme complet sera dévoilé sous peu",description:"On peaufine encore le contenu, les dates et le tarif. Revenez bientôt pour tous les détails — ou écrivez-nous pour être parmi les premier·ère·s informé·e·s."}]},promise:{eyebrow:"Notre promesse",title:"Une expérience immersive, entre fondateur·rice·s qui se comprennent.",text:"Pas de théorie déconnectée : deux journées pour ralentir, se regarder aller, échanger franchement avec d'autres fondateur·rice·s et repartir avec des outils qui s'appliquent dès le lundi suivant."},faq:[],testimonialIds:[]},"tests-psychometriques":{slug:"tests-psychometriques",pole:"leadership",parent:_o,hero:{eyebrow:"Leadership organisationnel",title:l.jsxs(l.Fragment,{children:["Test ",l.jsx("em",{className:"not-italic font-bold",children:"psychométrique Nova"})]}),description:"Chez Boîte Pac, nous utilisons le Profil Nova Global pour nos évaluations psychométriques, parce qu'il offre un équilibre remarquable entre profondeur d'analyse et simplicité d'utilisation. Complet, concret et accessible (trio d'atouts gagnants selon nous), il permet de mieux comprendre ses forces, ses motivations et son impact sur les autres. Que l'on soit gestionnaire ou non, le Profil Nova Global est un puissant outil de développement du leadership et de connaissance de soi. En mettant en lumière les différents styles de communication et de collaboration, il favorise des relations de travail plus efficaces, une meilleure synergie d'équipe et contribue au succès collectif.",image:YG.url,imageAlt:"Session de débriefing du Profil Nova Global"},description:{image:zm.url,imageAlt:"Débriefing personnalisé du Profil Nova",eyebrow:"Description",title:"Le point de départ pour un leadership d'impact : se connaître!",paragraphs:["Ce programme se déroule en trois étapes :"],bulletsOrdered:!0,bullets:["Complétion du questionnaire en solo (20 minutes)","Rencontre de débrief (compte rendu) (60 minutes)","Recommandations et coaching (1 à 3 séances de 60 minutes)"],secondaryCta:void 0},info:{duration:{label:"Durée",value:"Questionnaire 20 min",emoji:"⏱️"},price:{label:"Tarif",value:"Sur demande",emoji:"✨"},third:{label:"Format",value:"Individuel ou équipe",emoji:"👥"}},topics:{eyebrow:"Sujets abordés",title:"Ce qu'on couvre",hideChevron:!0,items:[{title:"Complétion du questionnaire Nova Global en solo"},{title:"Débriefing personnalisé du compte rendu"},{title:"Identification des forces, motivations et angles morts"},{title:"Lecture des styles de communication et de collaboration"},{title:"Séances de coaching pour transformer les apprentissages en actions"}]},promise:{eyebrow:"Notre promesse",title:"Se connaître, oui. Mais surtout, savoir quoi en faire.",text:"Chaque participant·e repart avec un portrait clair et nuancé de son fonctionnement, mais surtout avec des leviers précis pour développer son leadership au quotidien. C'est bon de se connaître certes, mais encore faut-il savoir quoi ajuster, quoi renforcer et quoi mettre en pratique pour évoluer."},faq:[{q:"Est-ce que ça vaut la peine si je suis la seule personne de mon équipe à le faire?",a:"Oui, absolument. Le Profil Nova Global est d'abord un outil de connaissance de soi : même seul·e, vous repartez avec une lecture précise de vos forces, de vos motivations et de votre impact sur les autres. Vous comprenez mieux pourquoi certaines dynamiques vous énergisent ou vous drainent, comment ajuster votre communication selon les profils que vous croisez et où concentrer vos efforts pour gagner en justesse. Évidemment, l'expérience prend une autre dimension lorsque toute une équipe le fait, mais l'impact individuel est déjà très concret."},{q:"Est-ce que mes réponses sont confidentielles?",a:"Oui. Vos réponses au questionnaire et votre compte rendu Nova vous appartiennent. Rien n'est partagé à votre gestionnaire, à vos collègues ou à votre employeur sans votre accord explicite. Lors d'un mandat d'équipe, on convient ensemble en amont de ce qui est partagé et de ce qui reste strictement individuel."},{q:"Est-ce qu'il s'agit du test des couleurs?",a:"Non, le Profil Nova Global n'est pas le « test des couleurs ». C'est un outil psych
391ométrique plus complet, basé sur des recherches en psychologie du travail, qui dresse un portrait nuancé de votre style, de vos motivations et de votre fonctionnement sous pression. Il va plus loin qu'une catégorisation en quatre profils : on y trouve la profondeur d'analyse d'un outil professionnel, avec la clarté et l'accessibilité dont on a besoin pour agir."},{q:"Est-ce que c'est pertinent que je le fasse même si je ne suis pas gestionnaire?",a:"Tout à fait. Le Profil Nova Global est un outil de développement du leadership et de connaissance de soi, peu importe votre titre. Que vous soyez en début de carrière, expert·e dans votre domaine, contributeur·rice individuel·le ou en transition, il vous aide à mieux comprendre votre impact, à ajuster votre communication et à collaborer plus efficacement. Le leadership, chez Boîte Pac, ne dépend pas du poste : c'est une posture, et cet outil sert tout le monde."}],testimonialIds:["sophie-psycho","alex-leadership"],clientLogos:Um},"coaching-conseils-leadership":{slug:"coaching-conseils-leadership",pole:"leadership",parent:_o,hero:{eyebrow:"Cultiver sa présence exécutive",title:l.jsxs(l.Fragment,{children:["Coaching & ",l.jsx("em",{className:"not-italic font-bold",children:"conseils"})]}),description:"Un coaching personnalisé pour gestionnaires et professionnel·le·s qui veulent gagner en clarté, en impact et en alignement. À travers des échanges francs, des réflexions structurées et des outils concrets, nous générons des changements durables, directement applicables à votre réalité.",image:oK.url,imageAlt:"Séance de coaching individuel"},description:{image:gK.url,imageAlt:"Participante prenant des notes lors d'une séance de coaching",eyebrow:"Description",title:"Un accompagnement individuel, ancré dans votre réalité.",paragraphs:["Nous accompagnons les leaders dans les défis réels qu'ils rencontrent au quotidien : mobilisation des équipes, communication, prise de décision, gestion du changement, courage managérial et développement de leur influence.","Le parcours repose sur des rencontres individuelles de 60 à 90 minutes, espacées dans le temps pour permettre l'expérimentation entre les séances. Chaque échange part des enjeux réels du participant et se concentre sur la prise de recul, la clarté des priorités et l'identification d'actions concrètes à mettre en œuvre immédiatement.","Entre les séances, le leader met en pratique, ajuste et observe ses comportements dans son environnement réel, afin de développer un leadership plus intentionnel, aligné et efficace.","Ce que ça inclut :"],bullets:["Rencontre exploratoire et définition des objectifs","4 à 8 séances de coaching individuel (60 à 90 minutes)","Outils et exercices de réflexion adaptés aux besoins","Plan d'action personnalisé et évolutif","Suivi des progrès et ajustements en cours de parcours"]},info:{duration:{label:"Durée",value:"4 à 8 séances",emoji:"⏱️"},price:{label:"Tarif",value:"Sur demande",emoji:"✨"},third:{label:"Format",value:"60 à 90 min / séance",emoji:"💬"}},topics:{eyebrow:"Sujets abordés",title:"Pour qui, pour quoi",items:[{title:"Coaching exécutif (CEO, fondateur·rice·s)",description:"Un espace confidentiel pour prendre du recul, clarifier votre vision et affiner les décisions structurantes. On y travaille la posture de dirigeant·e, la gestion de la complexité et l'alignement entre ambition stratégique et réalité humaine de l'organisation."},{title:"Coaching de gestionnaires",description:"Un accompagnement sur mesure pour renforcer la posture managériale, gagner en assurance dans les conversations difficiles et mobiliser son équipe avec justesse. Idéal en transition de rôle, en prise de poste ou face à un défi d'équipe."},{title:"Codéveloppement entre pairs",description:"Des rencontres animées en petit groupe où chaque participant·e apporte une situation réelle et bénéficie de l'intelligence collective du groupe. Une formule puissante pour briser l'isolement, élargir ses perspectives et apprendre dans l'action."},{title:"Médiation et résolution de conflits",description:"Un processus structuré et neutre pour dénouer des tensions interpersonnelles ou d'équipe. Nous créons les conditions d'un dialogue franc, restaurons la confiance et identifions ensemble des ententes claires pour la suite."}
391,{title:"Conseil stratégique en leadership",description:"Un accompagnement de la direction ou des RH pour penser le développement du leadership à l'échelle de l'organisation : diagnostic, choix d'approches, design de programmes et suivi des changements de culture."}]},philosophy:{eyebrow:"Notre philosophie",title:"Des leaders conscients, alignés et capables d'agir au bon moment.",text:"Notre objectif n'est pas de créer des leaders parfaits, mais des leaders conscients de leurs forces, alignés avec leurs valeurs et capables de poser les bonnes actions au bon moment. Nous misons sur ce qui a le plus d'impact : une meilleure connaissance de soi, une plus grande intentionnalité dans l'action et la capacité d'influencer positivement leur environnement. Chaque démarche est personnalisée afin de générer des changements concrets, durables et directement applicables dans la réalité de l'organisation."},promise:{eyebrow:"Notre promesse",title:"Renforcer votre pouvoir d'agir, au-delà de la théorie.",text:"Les concepts de base sont importants, certes, mais un leadership efficace ne se construit pas uniquement dans la théorie. Il se développe au quotidien, dans l'action réfléchie et intentionnelle. La promesse de Boîte Pac est de renforcer le pouvoir d'agir des leaders, en les aidant à clarifier leur impact, à prendre de meilleures décisions dans la complexité et à mobiliser leurs équipes avec plus de justesse, afin d'avoir plus de portée et de plaisir au quotidien."},faq:[{q:"Combien de séances faut-il typiquement ?",a:"Un cycle de coaching exécutif compte généralement 6 à 10 séances réparties sur 6 à 12 mois."},{q:"Les séances sont-elles en présentiel ou en visio ?",a:"Les deux, selon votre préférence. La majorité de nos clients optent pour un mix."}],testimonialIds:["jean-coaching","alex-leadership","marie-claude-rh"],clientLogos:Um},"certification-b-corp-personnalise":{slug:"certification-b-corp-personnalise",pole:"impact",parent:Qu,hero:{eyebrow:"Accompagnement certification B Corp",title:l.jsx(l.Fragment,{children:"Certification B Corp — Parcours personnalisé"}),description:"Chez Boîte Pac, on mise sur l'expertise terrain et la co-création pour construire un parcours qui s'appuie à la fois sur notre connaissance approfondie de la certification B Corp ainsi que sur les réalités, les forces et les enjeux propres à votre entreprise. Résultat : un accompagnement concret, sur mesure, qui vous permet de transformer vos pratiques en matière de gouvernance, d'environnement, de culture d'entreprise et de communauté de façon cohérente, alignée et durable.",image:OH.url,imageAlt:"Atelier B Corp",showBCorpBadge:!0},description:{image:VC,imageAlt:"Travail collaboratif sur la démarche B Corp",eyebrow:"Description",title:"Un accompagnement sur mesure.",paragraphs:["Un parcours personnalisé à la réalité de votre entreprise, structuré en 10 étapes, de l'analyse initiale jusqu'au suivi post-certification.","Votre contexte organisationnel est le point de départ pour bâtir un plan d'action aligné, mobilisant et qui s'incarne dans les pratiques de votre organisation."],bulletsOrdered:!0,bullets:["Diagnostic d'impact complet de l'entreprise","Aide à la complétion du B Impact Assessment","Révision complète du B Impact Assessment","Lancement du projet et création du comité B Corp","Animation de cinq (5) ateliers B Corp pour définir les actions concrètes","Accompagnement lors de l'implantation des initiatives","Mobilisation interne via une campagne de communication","Formalisation des pratiques en politiques","Support lors de l'évaluation du B Lab","Suivi post-certification pour assurer la pérennité des initiatives et l'ADN B Corp"]},info:{duration:{label:"Durée",value:"6 mois à 1 an",emoji:"⏱️"},price:{label:"Tarif",value:"À partir de 24 000$",emoji:"✨"},third:{label:"Format",value:"Virtuel et présentiel",emoji:"🎯"}},topics:{eyebrow:"Sujets abordés",title:"Les 5 ateliers",items:[{title:"Gouvernance, mission et implication",points:["Raison d'être de l'entreprise","Mapping des parties prenantes","Initiatives d'implication","Communication et marketing responsable","Prise en compte de l'impact dans les décisions stratég
391iques"]},{title:"Culture d'entreprise",points:["Parcours-employé·e et axes d'amélioration","Culture de développement","Mécanismes de dialogue formel (1:1, évaluations, sondages-éclairs)","Sécurité financière et rémunération équitable"]},{title:"Environnement",points:["Sources de pollution et chaîne de valeur","Plan environnemental","Gestion des fournisseurs","Action climatique et circularité"]},{title:"Activisme",points:["Droits humains et chaîne de valeur","Rôle des entreprises dans les solutions collectives","Justice, équité, diversité et inclusion (JEDI)","Inspirations d'entreprises B Corp engagées"]},{title:"Implication des parties prenantes",points:["Identification et cartographie des parties prenantes","Définition d'initiatives d'implication concrètes","Intégration de l'impact social et environnemental dans les décisions","Communication responsable vers l'externe"]}]},promise:{eyebrow:"Notre promesse",title:"On vous garantit le contraire d'un processus intimidant.",text:"La certification B Corp ne cherche pas la perfection, elle récompense le progrès. Notre parcours est conçu pour que B Corp devienne un réel levier de transformation, non pas une case à cocher, mais bien ancré dans le quotidien de votre organisation."},faq:[{q:"Pourquoi devenir une entreprise certifiée B Corp ?",a:"Pour attirer et retenir des talents qui cherchent à travailler pour des entreprises ayant des valeurs responsables ; pour répondre aux exigences ESG de clients, partenaires financiers et fournisseurs ; pour créer des opportunités d'affaires avec plus de 10 000 entreprises responsables partout dans le monde ; et pour responsabiliser ses pratiques selon les plus hauts standards d'impact social et environnemental."},{q:"Combien de temps dure le parcours B Corp ?",a:"Le processus dure généralement 1 an. Toutefois, cette durée peut varier selon les initiatives à mettre en place pour répondre aux exigences de B Corp."},{q:"La certification B Corp est-elle permanente ?",a:"Non. La certification doit être renouvelée tous les 3 ans, et l'entreprise doit prouver qu'elle maintient ou améliore ses performances sociales et environnementales."},{q:"Quels sont les coûts associés à la certification B Corp ?",a:"Les frais de certification varient en fonction du chiffre d'affaires de l'entreprise. Vous pouvez consulter la grille de prix officielle ici : https://usca.bcorporation.net/fees/."}],testimonialIds:["melissa-esg","sarah-ciele"],videoTestimonials:[{id:"NlgRntncT9U"},{id:"VU2X2Buw2oE"},{id:"fFy33JZBM6Y"},{id:"wOPIjB2Z4Sk"}]},"certification-b-corp-cohorte-de-groupe":{slug:"certification-b-corp-cohorte-de-groupe",pole:"impact",parent:Qu,hero:{eyebrow:"Accompagnement certification B Corp",title:l.jsx(l.Fragment,{children:"Certification B Corp — Cohorte de groupe"}),description:"Un parcours de 6 mois vers l'obtention de votre certification B Corp. Parcours offert en groupe de 3 à 5 entreprises qui avancent ensemble, au même rythme. Moins intimidant, plus mobilisateur, et ancré dans le concret dès le départ.",image:_H,imageAlt:"Cohorte B Corp en atelier",showBCorpBadge:!0,announce:!0,formatLabel:"Inscriptions en cours • automne 2026"},description:{image:HC.url,imageAlt:"Parcours de certification B Corp et dimensions d'impact",eyebrow:"Description",title:"En groupe, mais jamais générique.",paragraphs:["On structure le parcours autour des exigences B Corp tout en laissant de la place à la réalité de chaque entreprise du groupe. Le résultat : un processus clair, outillé et mobilisateur, porté par une communauté d'organisations qui avancent dans la même direction.","Idéal pour les entreprises qui veulent se certifier B Corp sans s'y perdre, qui voient la valeur d'apprendre avec d'autres et souhaitent une offre accessible."],bulletsOrdered:!0,bullets:["Parcours de 6 mois en groupe de 3 à 5 entreprises","6 ateliers en visioconférence couvrant l'ensemble des standards B Corp","Maximum de 2 participant·e·s par entreprise","2 formateur·trice·s attitré·e·s","Courtes rencontres individuelles entre chaque atelier pour valider la direction et ajuster le plan d'action","Outils et gabarits pour chaque standard abordé","3 rencontres d'accompagnement post-formations pour assurer la mise en oeuvre du plan d'action"]},info:{duration:{label:"DURÉE/ FORMAT",value:`6 formations de groupe (1/mois)
392
393Suivis et accompagnement personnalisé post-formations`,emoji:"⏱️"},price:{label:"Tarif",value:`6 000 $*
394
395*Subvention disponible pouvant couvrir une portion des frais.`,emoji:"✨"},third:{label:"DATES",value:"Prochaine cohorte du 22 septembre 2026 au 16 février 2027",emoji:"📅"}},topics:{eyebrow:"Sujets abordés",title:"Comment on procède",items:[{title:"Rencontre découverte et présentation du parcours",description:"Une première rencontre pour comprendre votre contexte, vos ambitions et vos enjeux. On vous présente le parcours, son déroulement et les outils utilisés, afin de vous assurer que la cohorte répond bien à vos besoins."},{title:"Introduction",points:["Nouveaux standards B Corp","Vision d'impact","Survol des outils","Rapport d'impact"]},{title:"Mission, gouvernance & parties prenantes",points:["Raison d'être et modèles de gouvernance responsable","Filtre décisionnel aligné avec ses valeurs","Culture de transparence","Mobilisation de la direction et des employé·e·s"]},{title:"Culture d'entreprise",points:["Bâtir une culture qui inspire l'engagement","Mécanismes de dialogue et feedback","Rémunération équitable et sécurité financière","Droits humains selon la réalité de l'entreprise"]},{title:"Environnement",points:["Impact environnemental et pistes d'action","Mapping des principales sources de pollution","Plan environnemental concret","Outils pour déployer sa stratég
395ie"]},{title:"Activisme en entreprise",points:["Plan d'action en diversité, équité et inclusion","Sensibilisation des fournisseurs","Façons d'influencer son industrie","Initiatives d'impact social et mobilisation des employé·e·s"]},{title:"Conclusion",points:["Processus d'évaluation B Corp","Prochaines étapes et bonnes pratiques","Communication interne","Calendrier de communication lié aux pratiques B Corp"]}]},promise:{eyebrow:"Notre promesse",title:"On vous garantit le contraire d'un processus intimidant.",text:"La certification B Corp ne cherche pas la perfection, elle récompense le progrès. Notre parcours est conçu pour que B Corp devienne un réel levier de transformation, non pas une case à cocher, mais bien ancré dans le quotidien de votre organisation."},slideshow:{eyebrow:"Un aperçu du contenu",title:"Un avant-goût de ce qui vous attend en séance",intro:"Des extraits de nos diapositives : des modèles concrets, des schémas signature Boîte Pac et des exercices qui se transposent directement dans votre quotidien.",slides:[{image:HC.url,alt:"Parcours de certification B Corp et dimensions d'impact"},{image:RJ.url,alt:"Diapositive : droits humains et ce qui se cache derrière une entreprise bien intentionnée"},{image:zJ.url,alt:"Diapositive : salaire de subsistance versus salaire minimum"},{image:XJ.url,alt:"Diapositive : les 6 étapes du parcours de certification B Corp"},{image:lY.url,alt:"Diapositive : les 6 exigences du standard gouvernance"},{image:yY.url,alt:"Diapositive : standards environnementaux B Corp"},{image:TY.url,alt:"Diapositive : les 3 piliers de la gestion du changement"},{image:MY.url,alt:"Diapositive : 2 scénarios de diffusion de B Corp dans l'organisation"}]},faq:[{q:"Pourquoi devenir une entreprise certifiée B Corp ?",a:"Pour attirer et retenir des talents qui cherchent à travailler pour des entreprises ayant des valeurs responsables ; pour répondre aux exigences ESG de clients, partenaires financiers et fournisseurs ; pour créer des opportunités d'affaires avec plus de 10 000 entreprises responsables partout dans le monde ; et pour responsabiliser ses pratiques selon les plus hauts standards d'impact social et environnemental."},{q:"Combien de temps dure le parcours B Corp ?",a:"Le processus dure généralement 1 an. Toutefois, cette durée peut varier selon les initiatives à mettre en place pour répondre aux exigences de B Corp."},{q:"La certification B Corp est-elle permanente ?",a:"Non. La certification doit être renouvelée tous les 3 ans, et l'entreprise doit prouver qu'elle maintient ou améliore ses performances sociales et environnementales."},{q:"Quels sont les coûts associés à la certification B Corp ?",a:"Les frais de certification varient en fonction du chiffre d'affaires de l'entreprise. Vous pouvez consulter la grille de prix officielle ici : https://usca.bcorporation.net/fees/."}],testimonialIds:["pascale-novatize","danielle-perlimpinpin"],videoTestimonials:[{id:"NlgRntncT9U"},{id:"VU2X2Buw2oE"},{id:"fFy33JZBM6Y"},{id:"wOPIjB2Z4Sk"}]},"recertification-b-corp-cohorte-de-groupe":{slug:"recertification-b-corp-cohorte-de-groupe",pole:"impact",parent:Qu,hero:{eyebrow:"Accompagnement certification B Corp",title:l.jsx(l.Fragment,{children:"Recertification B Corp — Cohorte de groupe"}),description:"Chez Boite Pac, on mise sur l'expertise terrain et l'intelligence collective pour construire un parcours qui s'appuie à la fois sur notre connaissance approfondie des nouveaux standards B Corp et sur la réalité de chaque entreprise du groupe. Résultat : un accompagnement concret, structuré et mobilisateur, qui vous permet de naviguer la recertification avec clarté, entouré·e·s d'organisations qui vivent les mêmes enjeux que vous.",image:nG.url,imageAlt:"Cohorte de recertification B Corp",showBCorpBadge:!0},description:{image:VC,imageAlt:"Atelier de recertification en cohorte",eyebrow:"Description",title:"Un parcours de groupe, mais jamais générique.",paragraphs:["On structure le parcours autour des nouveaux standards B Corp tout en laissant de la place à la réalité de chaque entreprise du groupe. Le résultat : un processus clair, outillé et mobilisateur, porté par une communauté d'organisations qui avancent dans la même direction.","Idéal pour les entreprises déjà certifiées qui veulent aborder leur recertification sans s'y perdre, et qui voient la valeur d'apprendre avec d'autres."],bulletsOrdered:!0,bullets:["Parcours de 6 mois en groupe de 3 à 5 entreprises","6 ateliers couvrant l'ensemble des nouveaux standards B Corp","Maximum de 2 participant·e·s par entreprise","2 formateur·trice·s attitré·e·s","Courtes rencontres individuelles entre chaque atelier pour valider la direction et ajuster au besoin","Outils et gabarits pour chaque standard abordé","Élaboration d'un plan d'action concret"]},info:{duration:{label:"Durée",value:"6 mois",emoji:"⏱️"},price:{label:"Tarif",value:"6 000 $",emoji:"✨"},third:{label:"Format",value:"6 ateliers virtuels",emoji:"💻"}},topics:{eyebrow:"Sujets abordés",title:"Les 5 ateliers",items:[{title:"Gouvernance, mission et impl
395ication",points:["Raison d'être de l'entreprise selon les nouveaux standards","Mapping des parties prenantes","Initiatives d'implication","Communication et marketing responsable","Prise en compte de l'impact dans les décisions stratégiques"]},{title:"Culture d'entreprise",points:["Parcours-employé·e et axes d'amélioration","Culture de développement","Mécanismes de dialogue formel (1:1, évaluations, sondages-éclairs)","Sécurité financière et rémunération équitable"]},{title:"Environnement",points:["Sources de pollution et chaîne de valeur","Plan environnemental mis à jour","Gestion des fournisseurs","Action climatique et circularité"]},{title:"Activisme",points:["Droits humains et chaîne de valeur","Rôle des entreprises dans les solutions collectives","Justice, équité, diversité et inclusion (JEDI)","Inspirations d'entreprises B Corp engagées"]},{title:"Implication des parties prenantes",points:["Identification et cartographie des parties prenantes","Définition d'initiatives d'implication concrètes","Intégration de l'impact social et environnemental dans les décisions","Communication responsable vers l'externe"]}]},promise:{eyebrow:"Notre promesse",title:"Pourquoi de l'aide externe pour une recertification ?",text:"Vous êtes déjà B Corp. Vous savez ce que ça implique. Mais les nouveaux standards ont changé la donne, et même les plus aguerri·e·s se retrouvent à naviguer un processus plus complexe qu'avant. La cohorte, c'est la façon la plus efficace et la plus mobilisatrice de traverser cette étape, entouré·e·s d'autres entreprises qui comprennent exactement ce que vous vivez."},faq:[{q:"Est-ce que la cohorte est adaptée même si on a déjà vécu le processus de certification ?",a:"Oui, et c'est même là que le format prend tout son sens. Les nouveaux standards B Corp sont significativement plus exigeants que la version précédente. Même les entreprises bien rodées au processus se retrouvent à devoir revoir en profondeur leurs pratiques. La cohorte vous permet de le faire de façon structurée, avec un groupe d'entreprises qui vivent exactement la même réalité."},{q:"Est-ce que l'accompagnement tient compte de ce qu'on a déjà mis en place lors de notre première certification ?",a:"Absolument. On part de votre certification passée, de ce qui a bien fonctionné et de ce qui a évolué dans votre organisation depuis. L'objectif n'est pas de tout recommencer à zéro, mais de bâtir sur ce que vous avez déjà accompli tout en vous aidant à naviguer les nouvelles exigences."},{q:"La recertification est-elle plus difficile que la certification initiale ?",a:"Avec les nouveaux standards, oui, pour la majorité des entreprises. Les exigences ont été rehaussées, les critères sont plus précis et le processus d'évaluation plus rigoureux. C'est pourquoi de plus en plus d'entreprises déjà certifiées choisissent de s'y préparer en groupe, avec un accompagnement structuré."},{q:"La certification B Corp est-elle permanente ?",a:"Non. La certification B Corp doit être renouvelée tous les 3 ans. 
395C'est une démarche d'amélioration continue : à chaque cycle, vous devez démontrer que vos pratiques évoluent et répondent aux exigences en vigueur, qui elles aussi se rehaussent au fil du temps."},{q:"Quels sont les coûts associés à la certification B Corp ?",a:"Les coûts se divisent en deux : les frais de certification versés à B Lab (calculés selon votre chiffre d'affaires annuel) et l'investissement en accompagnement. Chez Boite Pac, on bâtit une proposition adaptée à votre réalité — n'hésitez pas à nous écrire pour obtenir une estimation personnalisée."}],testimonialIds:["melissa-esg","sarah-ciele"],videoTestimonials:[{id:"NlgRntncT9U"},{id:"VU2X2Buw2oE"},{id:"fFy33JZBM6Y"},{id:"wOPIjB2Z4Sk"}],clientLogos:Um},"recertification-b-corp-personnalise":{slug:"recertification-b-corp-personnalise",pole:"impact",parent:Qu,hero:{eyebrow:"Accompagnement certification B Corp",title:l.jsx(l.Fragment,{children:"Recertification B Corp — Parcours personnalisé"}),description:"Chez Boite Pac, on mise sur l'expertise terrain et la co-création pour construire un parcours qui s'appuie à la fois sur notre connaissance approfondie des nouveaux standards B Corp et sur les réalités, les forces et les enjeux propres à votre entreprise. Résultat : un accompagnement concret, sur mesure, qui vous permet de naviguer la recertification avec clarté, sans vous perdre dans la complexité des nouvelles exigences.",image:HH.url,imageAlt:"Accompagnement personnalisé recertification",showBCorpBadge:!0},description:{image:zm.url,imageAlt:"Réunion de recertification",eyebrow:"Description",title:"Un parcours sur mesure, en 9 étapes.",paragraphs:["Un parcours personnalisé à la réalité de votre entreprise, structuré en 9 étapes, de l'analyse de votre certification passée jusqu'au suivi post-recertification.","On part de là où vous en êtes pour bâtir un plan d'action réaliste, mobilisant et qui s'incarne dans les pratiques de votre organisation."],bulletsOrdered:!0,bullets:["Analyse de votre certification passée et identification des écarts avec les nouveaux standards","Aide à la complétion du nouveau B Impact Assessment","Révision complète du BIA","Kickoff du projet et remobilisation du comité B Corp","Ateliers B Corp en co-création pour définir les actions concrètes selon les nouveaux standards","Aide à l'implantation des nouvelles initiatives","Formalisation des pratiques en politiques (juste ce qu'il faut)","Support lors de l'évaluation du B Lab","Suivi post-recertification pour assurer la continuité"]},info:{duration:{label:"Durée",value:"4 à 6 mois",emoji:"⏱️"},price:{label:"Tarif",value:"À partir de 24 000 $",emoji:"✨"},third:{label:"Format",value:"Virtuel et présentiel",emoji:"🎯"}},topics:{eyebrow:"Sujets abordés",title:"Les 5 ateliers",items:[{title:"Gouvernance, mission et implication",points:["Raison d'être de l'entreprise selon les nouveaux standards","Mapping des parties prenantes","Initiatives d'implication","Communication et marketing responsable","Prise en compte de l'impact dans les décisions stratégiques"]},{title:"Culture d'entreprise",points:["Parcours-employé·e et axes d'amélioration","Culture de développement","Mécanismes de dialogue formel (1:1, évaluations, sondages-éclairs)","Sécurité financière et rémunération équitable"]},{title:"Environnement",points:["Sources de pollution et chaîne de valeur","Plan environnemental mis à jour","Gestion des fournisseurs","Action climatique et circularité"]},{title:"Activisme",points:["Droits humains et chaîne de valeur","Rôle des entreprises dans les solutions collectives","Justice, équité, diversité et inclusion (JEDI)","Inspirations d'entreprises B Corp engagées"]},{title:"Implication des parties prenantes",points:["Identification et cartographie des parties prenantes","Définition d'initiatives d'implication concrètes","Intégration de l'impact social et environnemental dans les décisions","Communication responsable vers l'externe"]}]},promise:{eyebrow:"Notre promesse",title:"De la complexité à la clarté.",text:"Vous êtes déjà certifiés B Corp et vous savez ce que ça implique. Mais les nouveaux standards ont changé la donne, et même les plus aguerri·e·s 
395naviguent un processus plus exigeant et moins familier qu'avant. On est là pour transformer cette complexité en clarté, et faire de votre recertification un vrai levier de progression et d'innovation — pas juste un renouvellement."},faq:[{q:"Pourquoi faire appel à un accompagnement externe pour la recertification ?",a:"Les nouveaux standards B Corp sont significativement plus exigeants que la version précédente. Même les entreprises bien rodées au processus se retrouvent à devoir revoir en profondeur leurs pratiques et leur documentation. Un regard externe permet de cibler rapidement les écarts, d'éviter les erreurs fréquentes et de mobiliser l'équipe efficacement."},{q:"La recertification est-elle plus difficile que la certification initiale ?",a:"Avec les nouveaux standards, oui, pour la majorité des entreprises. Les exigences ont été rehaussées, les critères sont plus précis et le processus d'évaluation plus rigoureux. C'est pourquoi de plus en plus d'entreprises déjà certifiées choisissent de s'y préparer avec un accompagnement structuré."},{q:"Est-ce que l'accompagnement tient compte de ce qu'on a déjà mis en place lors de notre première certification ?",a:"Absolument. C'est même là que ça devient intéressant. On part de votre certification passée, de ce qui a bien fonctionné et de ce qui a évolué dans votre organisation depuis. L'objectif n'est pas de tout recommencer à zéro, mais de bâtir sur ce que vous avez déjà accompli tout en vous aidant à naviguer les nouvelles exigences. Chaque accompagnement est calibré à votre réalité, pas à un modèle générique."},{q:"La certification B Corp est-elle permanente ?",a:"Non. La certification B Corp doit être renouvelée tous les 3 ans. 
395C'est une démarche d'amélioration continue : à chaque cycle, vous devez démontrer que vos pratiques évoluent et répondent aux exigences en vigueur, qui elles aussi se rehaussent au fil du temps."},{q:"Quels sont les coûts associés à la certification B Corp ?",a:"Les coûts se divisent en deux : les frais de certification versés à B Lab (calculés selon votre chiffre d'affaires annuel) et l'investissement en accompagnement. Chez Boite Pac, on bâtit une proposition adaptée à votre réalité — n'hésitez pas à nous écrire pour obtenir une estimation personnalisée."}],testimonialIds:["melissa-esg","marie-claude-rh"],videoTestimonials:[{id:"NlgRntncT9U"},{id:"VU2X2Buw2oE"},{id:"fFy33JZBM6Y"},{id:"wOPIjB2Z4Sk"}]}},Eo={label:"Back to leadership services",href:"/expertise/leadership-organisationnel"},Xu={label:"Back to B Corp services",href:"/expertise/accompagnement-certification-b-corp"},Gr="Duration",mr="Price",ji="Format",$Y="Dates",gr="Request an exploratory call",FY={"parcours-leadership-cohorte-personnalisee":{parent:Eo,hero:{eyebrow:"Organizational leadership",title:l.jsx(l.Fragment,{children:"Custom Leadership Program"}),formatLabel:"Level 1",description:`Leadership models are evolving. The era of polished egos is over: it's time for leaders who can show vulnerability and courage. From day one, Boîte Pac has focused on what truly allows teams to perform — and on the posture of the managers who support them.
396
397
398This program explores the 8 essential competencies of impact leadership: a gentle blend of theory, introspection and very concrete tools to put learnings into practice the next day. Here, we co-build with you. The content is anchored in the realities, values and challenges of your organization.`,imageAlt:"Cohort in a custom leadership workshop",ctaLabel:gr},description:{imageAlt:"Collaborative workshop",eyebrow:"Description",title:"Same structure, same rich content — co-built for your team.",paragraphs:["We start by taking the pulse of your challenges, needs and values, then we co-build a journey that truly resonates. 4 blocks of 2 hours with managers from your organization, weaving between theory, practice and sharing. Maximum 12 participants per cohort, virtual or in person.","What's included:"],bullets:["Company analysis","Survey sent to participants","Psychometric assessment for participants if desired","Psychometric profile debrief","Meeting with HR","Customization of the program","Content validation","Adjustment round","4 personalized sessions, themes chosen from the list below","Mid-program survey","Tools to support the rollout of new practices","End-of-program survey","Post-program recommendations","Coaching and co-development afterwards, if desired"]},info:{duration:{label:Gr,value:"To be confirmed"},price:{label:mr,value:"On request"},third:{label:ji,value:"Max. 12 / session"}},topics:{eyebrow:"Topics covered",title:"The 4 sessions of the program",items:[{title:"Session 1 — Owning your posture: building leadership that mobilizes",description:"Choose 6 key competencies among: influence, connection, organization, communication, managerial courage, talent development and strategic vision.",points:["Becoming aware of your impact through the Weather Maker concept","Reflection and deprogramming exercise","Clarifying your vision and laying the foundations of your leadership","Taking your place with confidence and developing credibility","Building the relationship with your team","Becoming ninjas of organization"]},{title:"Session 2 — Leading humans: the art of communication",points:["Creating a psychologically safe environment, beyond “my door is always open”","The 3 superpowers of communication","Developing active listening","Cultivating curiosity and asking the right questions","Rethinking vulnerability through the clearings ritual","Distinguishing facts from perceptions","Clarifying your messages and intent","Masterclass: expert-level recognition","Mastering the art of constructive feedback","Asking for feedback yourself: from whom, when and how?"]},{title:"Session 3 — Daring to lead in discomfort",points:["Your share of responsibility","Receiving feedback and setting your ego aside","Preparing for a difficult conversation and structuring your exchanges","Preparing for a difficult announcement using the Boîte Pac framework","Managing disappointments and turning them into opportunities","Introduction to change management"]},{title:"Session 4 — From manager to talent developer",points:["
398Structuring a clear and mobilizing onboarding path","Coaching with impact","Knowing when to coach and when to advise","Mapping your team's strengths and aspirations to align them with company goals","Building individual development plans","Putting mechanisms and rituals in place to keep them alive","Delegating strategically and getting out of the operational","Pairing inspiration with concrete action"]}]},promise:{eyebrow:"Our promise",title:"Yes to inspiration, introspection and innovation. No to fluff.",text:"At Boîte Pac, your journey is designed to reflect the unique reality of your company. We turn ideas into concrete actions, guide you toward practices adapted to your context, and provide the tools to deploy them effectively with your teams: 1:1 question lists, meeting agenda templates, a constructive-feedback framework, a difficult-announcement framework, and an onboarding plan template."},faq:[]},"programme-leadership-personnalise-niveau-2":{parent:Eo,hero:{eyebrow:"Organizational leadership",title:l.jsx(l.Fragment,{children:"Custom Leadership Program"}),formatLabel:"Level 2",description:"Take your leadership up a notch. This advanced program equips you to create an environment that fosters collaboration, performance and transformation — through real-world practice, peer exchanges, and contributions from industry experts.",imageAlt:"Level 2 leadership masterclass cohort",ctaLabel:gr},description:{imageAlt:"Attentive participant during a Boîte Pac masterclass",eyebrow:"Description",title:"An advanced training, tailored to your company's reality.",paragraphs:["There are mantras we never tire of at Boîte Pac. They guide our thinking and bring us back to the essentials when managing under pressure. We unpack them with you so you can make them your own — and have more impact (and more fun) every day.","Truly built around sharing and collective intelligence, this program bets that practice, peer exchanges and real-world anchoring win over theory. It allows leaders to step back from their practice, refine their impact and develop more effective everyday behaviors.","The journey is enriched by the contribution of industry experts who help design and facilitate content to ensure its relevance and grounding. Participation also includes results from the Nova Global psychometric tool.","A customized training split into 4 sessions of 3h or two full days. Maximum 12 participants per session, in person or virtual. What's included:"],bullets:["Meeting with HR","Survey sent to participants","Nova psychometric assessment for participants","Customization of the program","Validation of the masterclasses","Adjustment round","4 masterclasses and workshops covering the themes below","Mid-program survey","Tools to support the leader's evolving posture","Post-program recommendations","Coaching and co-development possible afterwards"]},info:{duration:{label:Gr,value:"4 sessions of 3h"},price:{label:mr,value:"On request"},third:{label:ji,value:"Max. 12 / session"}},topics:{eyebrow:"Topics covered",title:"The 4 sessions of the program",items:[{title:"Session 1 — Developing intentional leadership (Slow down to speed up)",description:"Take time to slow down to better understand the impact of your actions, reactions and management habits. This session invites participants to reflect on their posture as leaders, identify what helps or hinders them, and develop more intentionality in their day-to-day.",points:["Knowing yourself better to lead better","Developing your ability to step back and exercise judgment in action","Identifying habits that amplify or limit your impact"]},{title:"Session 2 — Giving meaning to better mobilize (Purpose before process)",description:"Expectations of leaders are shifting. Beyond results, they must create meaning, foster engagement and rally teams around a clear direction. This session invites participants to reflect on their role as meaning-makers and on their ability to mobilize around a shared vision.",points:["Understanding the expectations placed on today's leaders","Clarifying your role in mobilizing teams","Communicating the meaning behind decisions and priorities"]},{title:"Session 3 — Navigating discomfort with courage (Clear is Kind)",description:"Difficult conversations, changes and sensitive situations are part of the leader's role. This session aims to develop the ability to approach these moments with clarity, courage and care — to maintain trust and performance within teams.",points:["Communicating clearly in complex situations","Managing resistance and reactions to change","Turning difficult conversations into opportunities for growth"]},{title:"Session 4 — Elevating your strategic perspective (Overprotecting is underestimating)",description:"A mobilizing leader doesn't carry the weight of decisions alone. They share information, build autonomy and let their team contribute fully to collective success. This session helps participants take a more strategic view of their role and create the conditions for engagement.",points:["Developing a big-picture view and strategic thinking","Fostering autonomy rather than dependence","Mobilizing talent around shared priorities and goals"]}]},promise:{eyebrow:"Our promise",title:"Concrete content, expert voices, and a precise mirror on your leadership.",text:"Many practical cases and exercises, guest experts to dive into specific challenges, and direct links between your Nova profile and 
398your leadership to sharpen your executive presence."},faq:[{q:"Do I need to have completed Level 1 before Level 2?",a:"Yes. Level 2 builds on the shared language, tools and posture developed in Level 1 to go further into intentionality, meaning and strategic perspective. Completing Boîte Pac's Level 1 is a prerequisite so the whole cohort can dive straight into practice and peer exchanges."},{q:"Does this training give me a certification?",a:"The program is not a certification recognized by a professional order. However, each participant receives their Nova Global assessment results, a program participation certificate, and personalized tools and recommendations to anchor the learnings in their day-to-day management."}]},"parcours-leadership-en-groupe":{parent:Eo,hero:{eyebrow:"Organizational leadership",title:l.jsx(l.Fragment,{children:"Signature Leadership Cohort"}),description:`Leadership models are evolving. The era of polished egos is over: it's time for leaders who can show vulnerability and courage. From day one, Boîte Pac has focused on what truly allows teams to perform — and on the posture of the managers who support them. 
399
400
401This program explores the 8 essential competencies of impact leadership: a gentle blend of theory, introspection and very concrete tools to put learnings into practice the next day. Here, you'll learn alongside managers from other organizations — because exchanges nourish you just as much as the content.`,imageAlt:"Cohort of managers in discussion around a table",formatLabel:"Group cohort",ctaLabel:gr},description:{imageAlt:"Signature Leadership Cohort workshop",eyebrow:"Description",title:"Signature Leadership Cohort",paragraphs:["4 blocks of 2 hours with managers from a variety of backgrounds. We weave between theory, practice and sharing. Maximum 12 participants per cohort, so everyone truly has a place. Rich exchanges guaranteed!","This program is for:"],bullets:["New managers transitioning into a leadership role","Experienced managers who want to strengthen their foundations","Emerging leaders who want to grow their leadership","Entrepreneurs about to grow their team and step into a manager role","Organizations that want to equip their managers"]},info:{duration:{label:Gr,value:"8 hours / 4 weeks"},price:{label:mr,value:"$1,050"},third:{label:$Y,value:"Next cohort September 17 to October 8, 2026"}},topics:{eyebrow:"Topics covered",title:"The 4-session program",items:[{title:"Session 1 — Owning your posture: building leadership that mobilizes",description:"Help participants land with confidence in their role, take their place as a leader, clarify their posture and lay strong foundations from the start. Competencies explored: influence, connection and organization.",points:["Becoming aware of your impact through the Weather Maker concept","Reflection and deprogramming exercise","Clarifying your vision and laying the foundations of your leadership","Taking your place with confidence and developing credibility","Building the relationship with your team","From contributor to leader","Running your first team meeting and setting up 1:1s","Connection rituals and mobilization practices","Engaging remote team members","Becoming ninjas of organization: time management, prioritization, meeting facilitation"]},{title:"Session 2 — Leading humans: communication and the art of feedback",description:"Improve how you give feedback and navigate harder conversations while fostering richer, more authentic connections in your team. Competency explored: communication.",points:["Creating a psychologically safe environment, beyond “my door is always open”","The 3 superpowers of communication","Developing active listening","Cultivating curiosity and asking the right questions","Rethinking vulnerability through the clearings ritual","Distinguishing facts from perceptions","Clarifying your messages and intent","Optimizing your written communication","Building recognition within your team","Mastering the art of constructive feedback: a Boîte Pac framework","Asking for feedback yourself: from whom, when and how?"]},{title:"Session 3 — Daring to lead in discomfort",description:"Develop the managerial courage to fully assume responsibility as a leader, navigate difficult conversations with confidence, and mobilize your team through change.",points:["Your share of responsibility","Receiving feedback and setting your ego aside","Managerial courage — but how?","Preparing for a difficult conversation and structuring your exchanges","Preparing for a difficult announcement using the Boîte Pac framework"]},{title:"Session 4 — From manager to talent developer",description:"Move from a manager role to a true lever for your team's development — combining vision, impact and execution. Competencies explored: talent development and strategic vision.",points:["
401Structuring a clear and mobilizing onboarding path","Coaching with impact","Knowing when to coach and when to advise","Building a development culture","Mapping your team's strengths and aspirations to align them with company goals","Building individual development plans","Putting mechanisms and rituals in place to keep them alive","Delegating strategically and getting out of the operational","Pairing inspiration with concrete action","Rethinking your goals: beyond SMART, what's truly engaging?"]}]},promise:{eyebrow:"Our promise",title:"Yes to inspiration, introspection and innovation. No to fluff.",text:"At Boîte Pac, your journey is designed to reflect the unique reality of your company. We turn ideas into concrete actions, guide you toward practices adapted to your context, and provide the tools to deploy them effectively: 1:1 question lists, meeting agenda templates, constructive-feedback and difficult-announcement frameworks, an onboarding plan template, a development plan template, a questions template to get to know your team, and a questionnaire to build connection from the start."},slideshow:{eyebrow:"A look inside",title:"A preview of what awaits you in session",intro:"Excerpts from our slides: concrete models, signature Boîte Pac frameworks and exercises you can apply directly in your day-to-day as a manager."},faq:[{q:"Is the content the same in the cohort and in the custom program?",a:"The 4 modules and 8 competencies are the same, but the context changes. In the cohort, all 8 competencies are explored and you learn alongside managers from other organizations. In the custom program, the company selects the 6 most relevant competencies to anchor the content in the specific realities of your teams."},{q:"Do I need management experience to take part? Can I attend if I don't lead a team?",a:"Not at all. The program is designed for both new managers and those who've long learned on the job and want to strengthen their foundations, validate concepts and round out their toolbox."},{q:"Are the sessions recorded?",a:"No, on purpose! This training relies on exchanges and the sharing of situations, doubts and challenges. For that reason, it isn't followed asynchronously. Of course, if you have to miss a session, we'll find a way to share all the essential resources with you."}]},"cohorte-leadership-fondateur":{parent:Eo,hero:{eyebrow:"Organizational leadership",title:l.jsx(l.Fragment,{children:"Founder Leadership Cohort"}),formatLabel:"Coming soon",announce:!0,description:`In today's context, organizations need leaders who can navigate complexity with head, heart and courage: the head to stay the course, the heart to mobilize and engage teams, and the courage to step outside their comfort zone, dare differently and turn challenges into opportunities to innovate.
402
403
404A brand-new two-day immersive program, designed exclusively for company founders. Full details will be revealed shortly.`,imageAlt:"Founders in discussion during a Boîte Pac training day",ctaLabel:gr},description:{imageAlt:"Group of founders in a leadership workshop",eyebrow:"Description",title:"Two immersive days, among founders",paragraphs:["Over these two days, you'll take a step back (slow down to speed up, as we say here) from the way you lead and explore the reflexes that shape your leadership. Through an immersive journey built on reflection, exchange and experience, you'll gain a clearer understanding of your reflexes, your impact and the leadership posture you want to embody.","A condensed format designed for those who carry their company on their shoulders and who benefit from being surrounded by other founders living the same realities.","What's included:"],bullets:["Nova psychometric profile","Personalized debrief session","2 full training days","Coffee and lunch included","Movement sessions, to better integrate the learnings","All the tools explored during the training"]},info:{duration:{label:Gr,value:`2 days
405Dates to be announced`},price:{label:mr,value:"To be announced"},third:{label:ji,value:`Exclusive founder cohort
406Limited seats`}},topics:{eyebrow:"Topics covered",title:"Detailed content coming soon",hideChevron:!0,items:[{title:"Day 1 — Reconnecting with yourself as a founder",description:"Intentional leadership, impactful executive presence, and connection as a priority."},{title:"Day 2 — Mission and vision",description:"Communication and the art of feedback, strategic perspective, and closing the journey."},{title:"The full program will be revealed shortly",description:"We're still fine-tuning the content, dates and pricing. Come back soon for all the details — or write to us to be among the first to know."}]},promise:{eyebrow:"Our promise",title:"An immersive experience, among founders who get each other.",text:"No disconnected theory: two days to slow down, observe yourself, exchange c
406andidly with other founders and leave with tools you can apply the very next Monday."},faq:[]},"tests-psychometriques":{parent:Eo,hero:{eyebrow:"Organizational leadership",title:l.jsxs(l.Fragment,{children:["Nova ",l.jsx("em",{className:"not-italic font-bold",children:"psychometric"})," test"]}),description:"At Boîte Pac, we use the Nova Global Profile for our psychometric assessments — because it offers a remarkable balance of analytical depth and ease of use. Complete, concrete and accessible (a winning trio in our book), it helps you better understand your strengths, motivations and impact on others. Whether you manage a team or not, the Nova Global Profile is a powerful tool for leadership development and self-knowledge. By shedding light on different styles of communication and collaboration, it fosters more effective working relationships, better team synergy, and collective success.",imageAlt:"Nova Global Profile debrief session",ctaLabel:gr},description:{imageAlt:"Personalized Nova profile debrief",eyebrow:"Description",title:"The starting point for impactful leadership: knowing yourself!",paragraphs:["This program unfolds in three steps:"],bullets:["Solo completion of the questionnaire (20 minutes)","Debrief meeting (60 minutes)","Recommendations and coaching (1 to 3 sessions of 60 minutes)"]},info:{duration:{label:Gr,value:"Questionnaire 20 min"},price:{label:mr,value:"On request"},third:{label:ji,value:"Individual or team"}},topics:{eyebrow:"Topics covered",title:"What we cover",hideChevron:!0,items:[{title:"Solo completion of the Nova Global questionnaire"},{title:"Personalized debrief of the report"},{title:"Identifying strengths, motivations and blind spots"},{title:"Reading styles of communication and collaboration"},{title:"Coaching sessions to turn learnings into action"}]},promise:{eyebrow:"Our promise",title:"Knowing yourself, yes. But above all, knowing what to do with it.",text:"Each participant leaves with a clear and nuanced picture of how they function — and, more importantly, with precise levers to develop their leadership every day. Knowing yourself is good, but knowing what to adjust, strengthen and put into practice is what drives growth."},faq:[{q:"Is it worth doing if I'm the only one on my team taking it?",a:"Yes, absolutely. The Nova Global Profile is first and foremost a self-knowledge tool: even alone, you leave with a precise read on your strengths, your motivations and your impact on others. You'll better understand why certain dynamics energize or drain you, how to adjust your communication based on the profiles you meet, and where to focus your efforts to gain precision. Of course, the experience takes on another dimension when the whole team does it — but the individual impact is already very concrete."},{q:"Are my answers confidential?",a:"Yes. Your questionnaire answers and your Nova report belong to you. Nothing is shared with your manager, colleagues or employer without your explicit consent. For team mandates, we agree upfront on what is shared and what remains strictly individual."},{q:"Is this the “color test”?",a:"No, the Nova Global Profile isn't the “color test.” It's a more comprehensive psychometric tool, based on workplace psychology research, that paints a nuanced picture of your style, motivations and behavior under pressure. It goes further than a four-profile categorization: you get the depth of a professional tool with the clarity and accessibility you need to act on it."},{q:"Is it relevant for me even if I'm not a manager?",a:"Absolutely. The Nova Global Profile is a leadership development and self-knowledge tool, regardless of your title. Whether you're early in your career, an expert in your field, an individual contributor or in transition, it helps you better understand your impact, adjust your communication and collaborate more effectively. Leadership at Boîte Pac doesn't depend on a job title — it's a posture, and this tool serves everyone."}]},"coaching-conseils-leadership":{parent:Eo,hero:{eyebrow:"Cultivating executive presence",title:l.jsxs(l.Fragment,{children:["Coaching & ",l.jsx("em",{className:"not-italic font-bold",children:"advisory"})]}),description:"Personalized coaching for managers and professionals who want to gain clarity, impact and alignment. Through frank conversations, structured reflection and concrete tools, we generate lasting change that's directly applicable to your reality.",imageAlt:"One-on-one coaching session",ctaLabel:gr},description:{imageAlt:"Participant taking notes during a coaching session",eyebrow:"Description",title:"Individual support, anchored in your reality.",paragraphs:["We support leaders through the real challenges they face every day: mobilizing teams, communication, decision-making, change management, managerial courage and developing their influence.","The program is built around 60-to-90-minute individual meetings, spaced out to allow experimentation between sessions. Each conversation starts with the participant's real challenges and focuses on stepping back, clarifying priorities, and identifying concrete actions to implement right away.","Between sessions, the leader puts things into practice, adjusts and observes their behaviors in their real environment — to develop more intentional, aligned and effective leadership.","What's included:"],bullets:["Exploratory meeting and goal-setting","4 to 8 individual coaching sessions (60 to 90 minutes)","Tools and reflection exercises tailored to needs","Personalized, evolving action plan","Progress monitoring and adjustments along the way"]},info:{duration:{label:Gr,value:"4 to 8 sessions"},price:{label:mr,value:"On request"},third:{label:ji,value:"60 to 90 min / session"}},topics:{eyebrow:"Topics covered",title:"Who it's for, what it covers",
406items:[{title:"Executive coaching (CEOs, founders)",description:"A confidential space to step back, clarify your vision and sharpen structural decisions. We work on the executive posture, managing complexity and the alignment between strategic ambition and the human reality of the organization."},{title:"Manager coaching",description:"Tailored support to strengthen your managerial posture, gain confidence in difficult conversations, and mobilize your team with care. Ideal during a role transition, a new posting or a team challenge."},{title:"Peer co-development",description:"Facilitated small-group sessions where each participant brings a real situation and benefits from the group's collective intelligence. A powerful format to break isolation, broaden perspectives and learn through action."},{title:"Mediation and conflict resolution",description:"A structured, neutral process to untangle interpersonal or team tensions. We create the conditions for frank dialogue, restore trust and identify clear agreements for the path forward."},{title:"Strategic leadership advisory",description:"Support for leadership or HR to think about leadership development at an organizational scale: diagnosis, choice of approaches, program design, and culture-change follow-through."}]},philosophy:{eyebrow:"Our philosophy",title:"Aware, aligned leaders who can act at the right moment.",text:"Our goal isn't to create perfect leaders, but conscious leaders who know their strengths, align with their values and can take the right action at the right moment. We focus on what has the most impact: better self-knowledge, greater intentionality in action, and the ability to positively influence their environment. Every engagement is personalized to generate concrete, lasting change that's directly applicable to the organization's reality."},promise:{eyebrow:"Our promise",title:"Reinforce your ability to act — beyond the theory.",text:"The basics matter, of course, but effective leadership isn't built on theory alone. It develops every day, through thoughtful and intentional action. Boîte Pac's promise is to reinforce leaders' ability to act, helping them clarify their impact, make better decisions in complexity, and mobilize their teams with greater precision — for more reach and more enjoyment, every day."},faq:[{q:"How many sessions does it usually take?",a:"An executive coaching cycle typically runs 6 to 10 sessions over 6 to 12 months."},{q:"Are the sessions in person or by video?",a:"Both, depending on your preference. Most of our clients opt for a mix."}]},"certification-b-corp-personnalise":{parent:Xu,hero:{eyebrow:"B Corp certification support",title:l.jsx(l.Fragment,{children:"B Corp Certification — Custom journey"}),description:"At Boîte Pac, we rely on field expertise and co-creation to build a journey that draws on our deep knowledge of B Corp certification and on the realities, strengths and challenges of your company. The result: concrete, tailor-made support that lets you transform your governance, environmental, 
406culture and community practices in a coherent, aligned and lasting way.",imageAlt:"B Corp workshop",ctaLabel:gr},description:{imageAlt:"Collaborative work on the B Corp journey",eyebrow:"Description",title:"Tailor-made support.",paragraphs:["A journey personalized to your company's reality, structured in 10 steps — from the initial analysis to post-certification follow-up.","Your organizational context is the starting point for an aligned, mobilizing action plan that's embedded in your daily practices."],bullets:["Full impact diagnostic of the company","Help completing the B Impact Assessment","Full review of the B Impact Assessment","Project kickoff and creation of the B Corp committee","Facilitation of five (5) B Corp workshops to define concrete actions","Support during the rollout of initiatives","Internal mobilization via a communication campaign","Formalizing practices into policies","Support during the B Lab evaluation","Post-certification follow-up to sustain initiatives and the B Corp DNA"]},info:{duration:{label:Gr,value:"6 months to 1 year"},price:{label:mr,value:"From $15,000"},third:{label:ji,value:"Virtual and in person"}},topics:{eyebrow:"Topics covered",title:"The 5 workshops",items:[{title:"Governance, mission and engagement",points:["Company purpose","Stakeholder mapping","Engagement initiatives","Responsible communication and marketing","Integrating impact into strategic decisions"]},{title:"Company culture",points:["Employee journey and areas for improvement","Development culture","Formal dialogue mechanisms (1:1s, reviews, pulse surveys)","Financial security and pay equity"]},{title:"Environment",points:["Sources of pollution and value chain","Environmental plan","Supplier management","Climate action and circularity"]},{title:"Activism",points:["Human rights and value chain","The role of companies in collective solutions","Justice, equity, diversity and inclusion (JEDI)","Inspirations from engaged B Corp companies"]},{title:"Stakeholder engagement",points:["Identifying and mapping stakeholders","Defining concrete engagement initiatives","Embedding social and environmental impact in decisions","Responsible external communication"]}]},promise:{eyebrow:"Our promise",title:"We promise the opposite of an intimidating process.",text:"B Corp certification doesn't reward perfection — it rewards progress. Our journey is designed so B Corp becomes a real lever of transformation: not a box to tick, but something embedded in your organization's daily life."},faq:[{q:"Why become a B Corp certified company?",a:"To attract and retain talent looking to work for responsibly-driven companies; to meet the ESG requirements of clients, financial partners and suppliers; to create business opportunities with more than 10,000 responsible companies around the world; and to hold your practices to the highest social and environmental impact standards."},{q:"How long does the B Corp journey take?",a:"The process usually takes about 1 year. The duration can vary depending on the initiatives required to meet B Corp's expectations."},{q:"Is B Corp certification permanent?",a:"No. Certification must be renewed every 3 years, and the company must demonstrate that it maintains or improves its social and environmental performance."},{q:"What are the costs of B Corp certification?",a:"Certification fees depend on the company's revenue. You can view the official fee grid here: https://usca.bcorporation.net/fees/."}]},"certification-b-corp-cohorte-de-groupe":{parent:Xu,hero:{eyebrow:"B Corp certification support",title:l.jsx(l.Fragment,{children:"B Corp Certification — Group cohort"}),description:"A 6-month journey toward obtaining your B Corp certification. Offered in a group of 3 to 5 companies moving forward together, at the same pace. Less intimidating, more mobilizing, and grounded in the concrete from day one.",imageAlt:"B Corp cohort in a workshop",ctaLabel:gr,announce:!0,formatLabel:"Registrations open • fall 2026"},description:{imageAlt:"B Corp group workshop",eyebrow:"Description",title:"In a group, but never generic.",paragraphs:["We structure the program around B Corp requirements while leaving room for the reality of each company in the group. The result: a clear, well-equipped and mobilizing process, carried by a community of organizations moving in the same direction.","Ideal for companies that want to certify B Corp without getting lost, see the value of learning with peers, and want an accessible offer."],bullets:["6-month journey in a group of 3 to 5 companies","6 videoconference workshops covering all the B Corp standards","Maximum 2 participants per company","2 dedicated facilitators","Short individual meetings between each workshop to validate direction and adjust the action plan","Tools and templates for each standard covered","3 post-training support meetings to ensure the implementation of the action plan"]},info:{duration:{label:"DURATION/ FORMAT",value:`6 group training sessions (1/month)
407
408Follow-ups and personalized support post-training`},price:{label:mr,value:`$8,000*
409
410*Grant available that may cover a portion of the fees`},third:{label:"DATES",value:"Next cohort from September 22, 2026 to February 16, 2027"}},topics:{eyebrow:"Topics covered",title:"How we proceed",items:[{title:"Discovery meeting and program overview",description:"A first meeting to understand your context, your ambitions and your challenges. We walk 
410you through the program, how it unfolds and the tools used, to make sure the cohort fits your needs."},{title:"Introduction",points:["New B Corp standards","Impact vision","Overview of the tools","Impact report"]},{title:"Mission, governance & stakeholders",points:["Purpose and responsible governance models","Decision filter aligned with your values","Culture of transparency","Mobilizing leadership and employees"]},{title:"Company culture",points:["Building a culture that inspires engagement","Dialogue and feedback mechanisms","Fair compensation and financial security","Human rights tailored to your company's reality"]},{title:"Environment",points:["Environmental impact and paths to action","Mapping the main sources of pollution","Concrete environmental plan","Tools to deploy your strategy"]},{title:"Activism in business",points:["DEI action plan","Supplier awareness","Ways to influence your industry","Social impact initiatives and employee mobilization"]},{title:"Conclusion",points:["B Corp evaluation process","Next steps and best practices","Internal communication","Communication calendar tied to B Corp practices"]}]},promise:{eyebrow:"Our promise",title:"We promise the opposite of an intimidating process.",text:"B Corp certification doesn't reward perfection — it rewards progress. Our program is designed so B Corp becomes a real lever of transformation: not a box to tick, but something embedded in your organization's daily life."},faq:[{q:"Why become a B Corp certified company?",a:"To attract and retain talent looking to work for responsibly-driven companies; to meet the ESG requirements of clients, financial partners and suppliers; to create business opportunities with more than 10,000 responsible companies around the world; and to hold your practices to the highest social and environmental impact standards."},{q:"How long does the B Corp journey take?",a:"The process usually takes about 1 year. The duration can vary depending on the initiatives required to meet B Corp's expectations."},{q:"Is B Corp certification permanent?",a:"No. Certification must be renewed every 3 years, and the company must demonstrate that it maintains or improves its social and environmental performance."},{q:"What are the costs of B Corp certification?",a:"Certification fees depend on the company's revenue. You can view the official fee grid here: https://usca.bcorporation.net/fees/."}]},"recertification-b-corp-cohorte-de-groupe":{parent:Xu,hero:{eyebrow:"B Corp certification support",title:l.jsx(l.Fragment,{children:"B Corp Recertification — Group cohort"}),description:"At Boite Pac, we rely on field expertise and collective intelligence to build a program rooted both in our deep knowledge of the new B Corp standards and in the reality of each company in the group. The result: concrete, structured and mobilizing support that lets you navigate recertification with clarity, surrounded by organizations facing the same realities as you.",imageAlt:"B Corp recertification cohort",ctaLabel:gr},description:{imageAlt:"Cohort recertification workshop",eyebrow:"Description",title:"A group journey, never generic.",paragraphs:["We structure the program around the new B Corp standards while leaving room for each company's reality. The result: a clear, well-equipped and mobilizing process, carried by a community of organizations moving in the same direction.","Ideal for already-certified companies that want to approach their recertification without getting lost — and see the value of learning with peers."],bullets:["6-month journey in a group of 3 to 5 companies","6 workshops covering all the new B Corp standards","Maximum 2 participants per company","2 dedicated facilitators","Short individual meetings between each workshop to validate direction and adjust as needed","Tools and templates for each standard covered","Building a concrete action plan"]},info:{duration:{label:Gr,value:"6 months"},price:{label:mr,value:"$6,000"},third:{label:ji,value:"6 virtual workshops"}},topics:{eyebrow:"Topics covered",title:"The 5 workshops",items:[{title:"Governance, mission and engagement",points:["Company purpose under the new standards","Stakeholder mapping","Engagement initiatives","Re
410sponsible communication and marketing","Integrating impact into strategic decisions"]},{title:"Company culture",points:["Employee journey and areas for improvement","Development culture","Formal dialogue mechanisms (1:1s, reviews, pulse surveys)","Financial security and pay equity"]},{title:"Environment",points:["Sources of pollution and value chain","Updated environmental plan","Supplier management","Climate action and circularity"]},{title:"Activism",points:["Human rights and value chain","The role of companies in collective solutions","Justice, equity, diversity and inclusion (JEDI)","Inspirations from engaged B Corp companies"]},{title:"Stakeholder engagement",points:["Identifying and mapping stakeholders","Defining concrete engagement initiatives","Embedding social and environmental impact in decisions","Responsible external communication"]}]},promise:{eyebrow:"Our promise",title:"Why external help for a recertification?",text:"You're already a B Corp. You know what it entails. But the new standards have changed the game, and even seasoned teams find themselves navigating a more complex process than before. The cohort is the most effective and mobilizing way to go through this step, surrounded by other companies experiencing exactly what you are."},faq:[{q:"Is the cohort relevant even if we've already been through certification?",a:"Yes — and that's where the format really shines. The new B Corp standards are significantly more demanding than the previous version. Even companies that know the process well now need to revisit their practices in depth. The cohort lets you do this in a structured way, with a group of companies going through exactly the same reality."},{q:"Does the support take into account what we already put in place during our first certification?",a:"Absolutely. We start from your past certification, what worked well and what's evolved in your organization since. The goal isn't to start over from scratch, but to build on what you've already accomplished while helping you navigate the new requirements."},{q:"Is recertification harder than the initial certification?",a:"With the new standards, yes — for most companies. Requirements have been raised, criteria are more precise and the evaluation process is more rigorous. That's why more and more already-certified companies choose to prepare in a group, with structured support."},{q:"Is B Corp certification permanent?",a:"No. B Corp certification must be renewed every 3 years. It's a continuous-improvement journey: at each cycle you need to demonstrate that your practices are evolving and meeting the requirements in place, which themselves rise over time."},{q:"What are the costs of B Corp certification?",a:"Costs break down in two: certification fees paid to B Lab (based on your annual revenue) and the investment in support. At Boite Pac, we tailor a proposal to your reality — feel free to write us for a personalized estimate."}]},"recertification-b-corp-personnalise":{parent:Xu,hero:{eyebrow:"B Corp certification support",title:l.jsx(l.Fragment,{children:"B Corp Recertification — Custom journey"}),description:"At Boite Pac, we rely on field expertise and co-creation to build a program rooted both in our deep knowledge of the new B Corp standards and in the realities, strengths and challenges of your company. The result: concrete, tailor-made support that lets you navigate recertification with clarity, without getting lost in the complexity of the new requirements.",imageAlt:"Custom recertification support",ctaLabel:gr},description:{imageAlt:"Recertification meeting",eyebrow:"Description",title:"A tailor-made journey, in 9 steps.",paragraphs:["A journey personalized to your company's reality, structured in 9 steps — from analyzing your past certification through post-recertification follow-up.","We start from where you are to build a realistic, mobilizing action plan that's embedded in your organization's practices."],bullets:["Analysis of your past certification and gap analysis against the new standards","Help completing the new B Impact Assessment","Full review of the BIA","Project kickoff and remobilization of the B Corp committee","Co-creation B Corp workshops to define concrete actions against the new standards","Support implementing the new initiatives","Formalizing practices into policies (just enough)","Support during the B Lab evaluation","Post-recertification follow-up to ensure continuity"]},info:{duration:{label:Gr,value:"4 to 6 months"},price:{label:mr,value:"From $24,000"},third:{label:ji,value:"Virtual and in person"}},topics:{eyebrow:"Topics covered",title:"The 5 workshops",items:[{title:"Governance, mission and engagement",points:["Company purpose under the new standards","Stakeholder mapping","Engagement initiatives","Re
410sponsible communication and marketing","Integrating impact into strategic decisions"]},{title:"Company culture",points:["Employee journey and areas for improvement","Development culture","Formal dialogue mechanisms (1:1s, reviews, pulse surveys)","Financial security and pay equity"]},{title:"Environment",points:["Sources of pollution and value chain","Updated environmental plan","Supplier management","Climate action and circularity"]},{title:"Activism",points:["Human rights and value chain","The role of companies in collective solutions","Justice, equity, diversity and inclusion (JEDI)","Inspirations from engaged B Corp companies"]},{title:"Stakeholder engagement",points:["Identifying and mapping stakeholders","Defining concrete engagement initiatives","Embedding social and environmental impact in decisions","Responsible external communication"]}]},promise:{eyebrow:"Our promise",title:"From complexity to clarity.",text:"You're already B Corp certified and you know what it entails. But the new standards have changed the game, and even seasoned teams are navigating a more demanding and less familiar process than before. We're here to turn that complexity into clarity — and make your recertification a real lever of growth and innovation, not just a renewal."},faq:[{q:"Why bring in external support for the recertification?",a:"The new B Corp standards are significantly more demanding than the previous version. Even companies well-versed in the process now need to revisit their practices and documentation in depth. An outside eye helps quickly target gaps, avoid common mistakes and mobilize the team effectively."},{q:"Is recertification harder than the initial certification?",a:"With the new standards, yes — for most companies. Requirements have been raised, criteria are more precise and the evaluation process is more rigorous. That's why more and more already-certified companies choose structured support to prepare."},{q:"Does the support take into account what we already put in place during our first certification?",a:"Absolutely — that's where it gets interesting. We start from your past certification, what worked well and what's evolved in your organization since. The goal isn't to start over from scratch, but to build on what you've already accomplished while helping you navigate the new requirements. Every engagement is calibrated to your reality, not a generic template."},{q:"Is B Corp certification permanent?",a:"No. B Corp certification must be renewed every 3 years. It's a continuous-improvement journey: at each cycle you need to demonstrate that your practices are evolving and meeting the requirements in place, which themselves rise over time."},{q:"What are the costs of B Corp certification?",a:"Costs break down in two: certification fees paid to B Lab (based on your annual revenue) and the investment in support. At Boite Pac, we tailor a proposal to your reality — feel free to write us for a personalized estimate."}]}},zY=[{slug:"comment-donner-du-feedback-a-un-employe",title:"Comment donner du feedback à un·e employé·e : le guide pour gestionnaires",date:"2026-10-02",excerpt:"Comment donner du feedback à un·e employé·e? Une méthode en 7 étapes avec des exemples concrets pour reconnaître, ajuster et faire progresser son équipe.",cover:"/__l5e/assets-v1/4ba9252d-154a-4f4c-a597-a71acfa79c8d/feedback_montreal_quebec.png",coverAlt:"Illustration d’une culture du feedback au sein d’une équipe",content:`**TL;DR**
411
412Donner du feedback à un·e employé·e, c'est nommer ce que tu observes, expliquer l'impact que ça a, puis construire la suite avec la personne. Ça se prépare, ça se pratique chaque semaine (pas juste à l'évaluation annuelle) et ça ne devrait jamais être une surprise. Voici 7 étapes concrètes, avec des exemples de phrases, pour le faire sans blesser et sans démotiver.
413
414Si personne ne donne de feedback à ton équipe, ça ne veut pas dire que tout va bien. Ça veut dire que ton monde devine. Et quand les gens devinent, ils comblent le vide avec le pire scénario.
415
416Pourtant, plusieurs gestionnaires repoussent la conversation : peur de blesser, peur de se tromper, peur de briser la relation. C'est normal. Personne ne nous apprend ça quand on passe d'employé·e à gestionnaire. C'est justement l'un des [mythes qu'on déconstruit](/blog/5-mythes-%C3%A0-d%C3%A9construire-sur-les-gestionnaires-en-2026) : l'absence de feedback n'est pas du confort, c'est du flou.
417
418Dans cet article, on te partage une méthode en 7 étapes, inspirée de ce qu'on enseigne dans nos parcours de leadership.
419
420## C'est quoi, du bon feedback?
421
422Le feedback (ou rétroaction), c'est une information précise sur ce que tu observes chez quelqu'un, partagée dans le but de l'aider à continuer ce qui fonctionne ou à ajuster ce qui ne fonctionne pas. Il prend deux grandes formes :
423
424- **Le feedback de reconnaissance** : tu nommes ce qui a bien été fait et pourquoi ça compte, pour que la personne le refasse.
425- **Le feedback d'ajustement** (aussi appelé feedback constructif) : tu nommes un écart entre ce qui était attendu et ce qui s'est passé, pour qu'on puisse le corriger ensemble.
426
427Un « bravo, belle job! » fait plaisir, mais c'est trop flou pour aider quelqu'un à progresser. Les deux formes ont besoin de précision.
428
429## Étape 1 : Installe la structure avant d'en avoir besoin
430
431Le pire moment pour une première conversation de feedback, c'est quand il y a un problème. La personne se met en mode défensif, parce qu'elle n'a jamais eu ce genre d'échange avec toi.
432
433La solution : mettre les rendez-vous à l'agenda une fois pour toutes.
434
435- **1:1 individuel**, chaque semaine
436- **Rencontre de suivi en équipe**, chaque trimestre
437- **Rencontre du plan de développement**, chaque année
438
439Quand le feedback fait partie de la routine, il perd son côté dramatique. Une conversation d'ajustement devient un sujet parmi d'autres dans le 1:1, pas une convocation.
440
441## Étape 2 : Clarifie ton intention, puis vérifie le message
442
443Avant de parler, pose-toi deux questions : qu'est-ce que je veux que cette personne comprenne ou fasse après la conversation? Et comment ça risque d'être reçu?
444
445L'écart entre l'intention et le message est souvent plus grand qu'on pense. Exemple qu'on utilise en formation : une gestionnaire a vraiment à cœur son entreprise et son équipe, et elle choisit de mettre des heures supplémentaires. Son intention : faire avancer les choses. Le message que son équipe reçoit : « Avoir un poste de direction, ça implique de mettre plus d'heures. »
446
447Ton impact, c'est ce que l'autre reçoit, pas ce que tu voulais dire.
448
449## Étape 3 : Parle de faits observables, pas de personnalité
450
451Une structure simple et très utilisée est le modèle **situation, comportement, impact** (SBI), popularisé par le Center for Creative Leadership :
452
453- **Situation** : quand et où c'est arrivé?
454- **Comportement** : qu'est-ce que tu as vu ou entendu, concrètement?
455- **Impact** : quel effet ça a eu sur l'équipe, le client, le projet, ou sur toi?
456
457Termine avec une question ouverte, comme « Comment tu vois ça, toi? ». Voici à quoi ça ressemble :
458
459| Au lieu de | Essaie plutôt |
460| --- | --- |
461| « Tu manques d'engagement. » | « Dans les deux dernières réunions d'équipe, tu n'as pas pris la parole. J'ai peur qu'on passe à côté de tes idées. Comment tu vis ça? » |
462| « Ton rapport était incomplet. » | « Dans le rapport de jeudi, la section sur les coûts manquait et le client a dû la redemander. J'aimerais qu'on regarde comment éviter ça. » |
463| « Super présentation! » | « Ta présentation d'hier était claire : tu as ramené les chiffres à trois messages, et le client a tout de suite posé des questions sur la suite. Refais exactement ça. » |
464
465## Étape 4 : Choisis le bon moment et le bon endroit
466
467- **Rapidement** : le plus tôt possible après l'événement, mais quand tu es calme. Un feedback livré six mois plus tard n'aide personne.
468- **En privé pour l'ajustement** : le feedback de reconnaissance peut se faire devant l'équipe, si la personne est à l'aise avec ça.
469- **Avec une invitation** : « As-tu 15 minutes cet après-midi pour qu'on jase de la présentation? » Pas entre deux portes.
470- **Hors du bureau, pour les grandes occasions** : pour une évaluation annuelle, sors prendre un café ou une crème glacée. Le contexte change la conversation.
471
472## Étape 5 : Fais-en une conversation, pas un monologue
473
474Une fois ton observation partagée, laisse de la place. Il y a souvent un contexte que tu ne vois pas. Quelques questions qui ouvrent la discussion :
475
476- « Comment tu l'as vécu? »
477- « Qu'est-ce qui s'est passé de ton côté? »
478- « De quoi tu aurais besoin pour que ça se passe autrement la prochaine fois? »
479
480Termine en co-créant la suite : une action claire, et un moment précis pour en reparler.
481
482## Étape 6 : Relie le feedback au développement
483
484Un feedback sans suite, c'est du bruit. Ce qui le rend utile, c'est son lien avec un plan de développement que la personne a contribué à bâtir.
485
486**Rends les objectifs précis (SMART).** « Travailler sur notre communication interne » est trop vague. « Créer et coordonner l'envoi d'une infolettre mensuelle, avec un taux d'ouverture de 60 % » donne une cible claire et mesurable.
487
488**Pense le développement en 70-20-10.** Environ 70 % passe par l'expertise développée dans le rôle, 20 % par les gens vers qui on se tourne (mentorat, collègues, réseau) et 10 % par la formation formelle (budget formation, plateformes en ligne, livres, journées de R&D).
489
490**Célèbre l'apprentissage, pas seulement la performance.** Souligner publiquement un essai audacieux, même imparfait, envoie un message clair : ici, on a le droit d'apprendre.
491
492## Étape 7 : Donne l'exemple
493
494Si tu donnes du feedback sans jamais en recevoir, tu envoies un message.
495
496Demande-en à ton tour : « Qu'est-ce que je pourrais faire différemment pour mieux te soutenir? » Remercie la personne, même si ça pique.
497
498Et applique ce que tu prêches. Une politique de vacances ou de déconnexion ne vaut pas grand-chose si les gestionnaires ne l'utilisent jamais. Ce que tu fais pèse plus lourd que ce que tu dis.
499
500## Et l'évaluation annuelle? Zéro surprise
501
502L'évaluation annuelle devrait résumer ce qui a déjà été dit pendant l'année. Si la personne apprend quelque chose de majeur ce jour-là, le feedback est arrivé trop tard. Pour la préparer :
503
504- **Bloque du temps** à ton agenda : auto-évaluation, évaluation par les pairs (2 à 3 questions) et une rencontre d'environ 1 h.
505- **Sors du bureau** pour la conversation.
506- **Célèbre le travail accompli** : « Cette année, tu as contribué à ___. »
507- **Honore le plan de développement** convenu l'an dernier.
508- **Ne crée aucune surprise.**
509- **Discute de la vision** pour la suite.
510
511## 5 erreurs fréquentes à éviter
512
513- Attendre l'évaluation annuelle pour tout dire.
514- Réserver le feedback aux problèmes, et oublier la reconnaissance.
515- Parler de la personne (« tu es désorganisé·e ») plutôt que du comportement.
516- Noyer le message dans tellement de précautions que la personne ne réalise pas qu'il y a un enjeu.
517- Donner du feedback d'ajustement devant les autres, ou ne faire aucun suivi.
518
519## Questions fréquentes sur le feedback en gestion
520
521### À quelle fréquence donner du feedback à un·e employé·e?
522
523Idéalement en continu, avec des points structurés : un 1:1 chaque semaine, un suivi d'équipe chaque trimestre et une conversation sur le développement chaque année.
524
525### Comment donner du feedback négatif sans démotiver?
526
527Reste sur les faits (situation, comportement, impact), parle en privé, demande le point de vue de la personne et termine par une action concrète. Assure-toi aussi qu'elle reçoit de la reconnaissance régulièrement, pas seulement quand ça va mal.
528
529### Quelle est la différence entre feedback et évaluation de performance?
530
531Le feedback est fréquent, ponctuel et souvent informel. L'évaluation de performance est un moment formel, une fois par année, qui fait le bilan et regarde vers l'avant. Elle ne devrait contenir aucune surprise.
532
533### Peut-on donner du feedback par écrit ou à distance?
534
535Oui pour la reconnaissance. Pour un ajustement, privilégie la voix ou la vidéo : l'écrit enlève le ton et laisse place à l'interprétation. Tu peux utiliser un message pour proposer un moment de jase.
536
537### Que faire si la personne réagit mal?
538
539Respire, reconnais l'émotion (« Je vois que ça te touche ») et propose de reprendre la conversation plus tard au besoin. Une réaction vive n'est pas un échec. Ce qui compte, c'est ce qui se passe ensuite.
540
541## En résumé
542
543Un bon feedback, c'est du concret. Un moment prévu à l'agenda. Une vraie conversation. Et une suite.
544
545Ça ne vient pas naturellement à personne, mais ça s'apprend, et ça se pratique. Ton équipe n'a pas besoin d'un·e gestionnaire parfait·e. Elle a besoin de quelqu'un qui lui dit où elle en est, avec respect et clarté.
546
547## Le leadership, ça pousse rarement seul
548
549Tu veux pratiquer ces conversations avec d'autres gestionnaires? Découvre la [Cohorte Leadership signature de Boîte Pac](/services/parcours-leadership-en-groupe), ou jase avec nous de ce que ça pourrait donner dans ton équipe.
550
551[Réserve une rencontre avec nous](/contact)
552
553_Article écrit par [Judith](/equipe/judith) 👋_`,legacyUrl:""},{slug:"tout-ce-qu’il-faut-savoir-sur-les-nouveaux-standards-b-corp-2026",title:"Tout ce qu’il faut savoir sur les nouveaux standards B Corp 202
5536",date:"2026-01-06",excerpt:"La certification B Corp évolue profondément. Après une refonte majeure publiée en avril 2025 et une version clarifiée publiée en août 2025, les nouvelles normes deviendront la référence officielle de certification à part…",cover:"/blog/images/tout-ce-qu-il-faut-savoir-sur-les-nouveaux-standards-b-corp-2026-878be144a5.png",coverAlt:"standards B Corp 2026 montréal",content:`La certification **B Corp évolue profondément**. Après une refonte majeure publiée en **avril 2025** et une version clarifiée publiée en **août 2025**, les nouvelles normes deviendront la **référence officielle de certification à partir de 2026**.
554
555Le mouvement _B Corp_ ne se contente plus d’un système basé sur un score total (ex. 80/200 points). La certification évolue vers une approche structurée autour de normes minimales obligatoires, appliquées à toutes les entreprises qui veulent être certifiées ou recertifiées à partir de 2026.
556
557### **👉 Ce que ça change concrètement**
558
559**Plus de score global qui masque des faiblesses sectorielles** Les entreprises doivent désormais satisfaire **des critères minimaux dans chaque domaine clé**, et non seulement atteindre un score total élevé.
560
561**Amélioration continue formalisée** Les organisations doivent démontrer non seulement qu’elles respectent les normes aujourd’hui, mais aussi qu’elles progressent au fil du temps (cycle de 3 et 5 ans).
562
563**Troisième partie impliquée dans la certification** Un **audit externe indépendant** est maintenant requis pour garantir la véracité des preuves d’impact, un grand pas vers la crédibilité et contre le _greenwashing_.
564
565## **Quand cela s’applique-t-il?**
566
567**Janvier 2026** — ouverture des certifications selon les nouveaux standards pour les entreprises existantes et nouvelles.
568
569**Février 2026** — les audits externes indépendants commencent à être déployés.
570
571**Juin 2026** — les nouvelles entreprises peuvent soumettre leurs candidatures selon les nouvelles normes.
572
573⚠️ **Important** : après février 2026, seules les nouvelles certifications selon ces standards seront possibles ; l’ancien système ne sera plus ouvert pour commencer une certification.
574
575## **Ce que les 7 nouveaux standards exigent**
576
577Alors que l’ancien système B Impact Assessment tolérait des compensations entre catégories, le nouveau cadre repose sur des exigences minimales strictes dans 7 domaines:
578
5791️⃣ **Mission & gouvernance intégrée aux parties prenantes**• Transparence accrue et réelles pratiques décisionnelles qui incluent les employé·e·s, partenaires, client·e·s, etc.
580
5812️⃣ **Droits humains**• Mesures concrètes pour éliminer les impacts négatifs directs et dans la chaîne d’approvisionnement.
582
5833️⃣ **Conditions de travail équitables**• Salaire vital, équité salariale, soutien au bien-être et au progrès.
584
5854️⃣ **Justice, équité, diversité & inclusion (JEDI)**• Plan d’action structuré, mesurable et suivi dans le temps.
586
5875️⃣ **Action climatique concrète**• Mesure annuelle d’émissions GES + plan d’action environnemental concret.
588
5896️⃣ **Gestion environnementale & circularité**• Réduction d’impact, stratég
589ie continue auprès des fournisseurs, économie circulaire.
590
5917️⃣ **Affaires publiques & action collective**• Engagement dans son industrie pour amplifier l’impact social et environnemental.
592
593## **En résumé**
594
595- Le mouvement B Corp se transforme pour être **plus rigoureux, crédible et exigeant**.
596
597- Les entreprises doivent démontrer non seulement des pratiques exemplaires aujourd’hui, mais aussi des progrès clairs dans le futur.
598
599- Une audience globale, des audits externes, et une série de normes minimales obligatoires redéfinissent ce qu’est une entreprise réellement engagée pour les personnes et la planète.
600
601
602Article écrit par \`Thomas\` 🙂`,legacyUrl:"https://www.boitepac.com/post/tout-ce-qu%E2%80%99il-faut-savoir-sur-les-nouveaux-standards-b-corp-2026"},{slug:"5-mythes-à-déconstruire-sur-les-gestionnaires-en-2026",title:"5 mythes à déconstruire sur les gestionnaires en 2026",date:"2025-11-27",excerpt:"En 2026, on peut-tu lâcher prise sur l’image du·de la gestionnaire ultra-performant·e, expert·e de tout, leader charismatique en tout temps? On déconstruit 5 idées qui font plus de mal que de bien — pour ton équipe et po…",cover:"/blog/images/5-mythes-d-construire-sur-les-gestionnaires-en-2026-5917b3081f.png",coverAlt:"Gestionnaires à Montréal : Les 5 mythes de 2026",content:`## 5 mythes à déconstruire sur les gestionnaires en 2026
603
604🎯 _TL;DR_
605
606En 2026, on peut-tu lâcher prise sur l’image du·de la gestionnaire ultra-performant·e, expert·e de tout, leader charismatique en tout temps? On déconstruit 5 idées qui font plus de mal que de bien — pour ton équipe _et_ pour toi.
607
608### 🧠 Mythe \\#1 : Un·e bon·ne gestionnaire a réponse à tout
609
610Le modèle d'un·e gestionnaire omniscient·e est dépassé. En 2026, les meilleurs leaders savent dire : « Je sais pas, mais on va le trouver ensemble. »
611
612💬 Ce qui compte?
613
614La capacité à poser de bonnes questions, pas à tout expliquer. Cultiver l’humilité, c’est créer un espace de co-création.
615
616### 🔥 Mythe \\#2 : Il faut être passionné·e pour être bon·ne
617
618La passion, c’est cool. Mais ce n'est pas une condition pour être un·e gestionnaire compétent·e. Ce qui fait la différence? L’écoute, la clarté, la constance. Et parfois, juste _être là_.
619
620🛠️ On valorise quoi en 2026?
621
622Les habiletés relationnelles, la capacité à s’adapter, à tenir le cap sans se brûler. La passion, c’est un bonus — pas un prérequis.
623
624### 🧩 Mythe \\#3 : Tu dois combler toutes tes faiblesses
625
626Non. En fait, miser sur tes forces donne souvent de bien meilleurs résultats. Un·e bon·ne gestionnaire en 2026 sait nommer ce qu’iel ne maîtrise pas… et s’entourer.
627
628💡 Le mindset?
629
630Identifier ce qui t’allume, ce que tu fais bien — et déléguer le reste intelligemment. Le développement, c’est pas toujours synonyme de “corriger”.
631
632### 🧭 Mythe \\#4 : Si personne ne te donne du feedback, c’est que tout va bien
633
634L’absence de feedback, c’est pas du confort. C’est du flou. Et ça, c’est toxique pour une équipe. En 2026, les gestionnaires qui performent sont ceux qui _provoquent_ les conversations.
635
636📣 À mettre en place
637
638Un cadre clair. Des moments de feedback formels. Des invitations ouvertes. Parce que le feedback, ça se mérite — mais surtout, ça se pratique.
639
640### 🎓 Mythe \\#5 : Être gestionnaire, c’est la suite logique d’une carrière
641
642Nope. Gérer, c’est un choix. Un rôle. Une posture. Pas une promotion par défaut. En 2026, on célèbre autant l’expertise que le leadership.
643
644🌱 Ce qu’on change?
645
646On offre de vraies voies de progression pour les expert·e·s. On normalise le droit de dire “non merci” à la gestion. On valorise l’impact, pas juste le titre.
647
648### En résumé
649
650Le·la gestionnaire en 2026, c’est plus un modèle à suivre.
651
652C’est une personne à l’écoute. Un humain, imparfait mais lucide.
653
654Quelqu’un qui sait quand se taire, quand agir, et quand demander de l’aide.
655
656Et ça, c’est une révolution qu’on peut tous·tes applaudir.
657
658Article écrit par \`Marie\` 🙂`,legacyUrl:"https://www.boitepac.com/post/5-mythes-%C3%A0-d%C3%A9construire-sur-les-gestionnaires-en-2026"},{slug:"novembre-mood-6-idées-concrètes-pour-soutenir-le-moral-des-troupes",title:"Novembre mood : 6 idées concrètes pour soutenir le moral des troupes",date:"2025-11-03",excerpt:"Novembre mood : 6 idées concrètes pour soutenir le moral des troupes",cover:"/blog/images/novembre-mood-6-id-es-concr-tes-pour-soutenir-le-moral-des-troupes-736873600a.png",coverAlt:"Bien être employé Montréal expert",content:`## Novembre mood : 6 idées concrètes pour soutenir le moral des troupes
659
660🎯 **TL;DR**
661
662Le mois de novembre, c’est pas juste des feuilles mortes et des vibes grises — 
662c’est aussi un bon moment pour prendre soin de son équipe. Voici 6 idées concrètes, simples et humaines pour aider ton monde à passer au travers sans sombrer dans le _November doom spiral_.
663
664### 🧘‍♀️ 1\\. Rappelle à ton équipe leurs avantages bien-être
665
666Avant que tout le monde oublie qu’il reste des massages, des entrées SÉPAQ ou une session d’acupuncture dans leur banque, envoie un petit rappel personnalisé.
667
668🎯 Objectif : faire sentir à ton monde que ces ressources _sont là pour être utilisées_, surtout en novembre.
669
670### ☕ 2\\. Pimp ton bar à café (et ton tiroir à collations)
671
672Petite dopamine boost : ajoute des collations, du chocolat, des vitamines et une lampe de luminothérapie dans les espaces communs.
673
674🪄 C’est pas révolutionnaire, mais ça fait une vraie différence au quotidien.
675
676### 🌞 3\\. Offre des horaires flex pour voir le soleil
677
678Permets à ton équipe de commencer (ou finir) plus tôt pour profiter de la lumière naturelle.
679
680Traduction : 30 min de soleil > 2 tasses de café.
681
682🌤️ Pro-tip : appelle ça un “horaire smoothie” et ça passe mieux en meeting.
683
684### 👟 4\\. Lance un défi qui bouge
685
686Une compétition de pas, une marche à l’heure du lunch, un bingo actif — comme SOJA&CO l’a fait, sans pression, juste pour le plaisir de se dégourdir.
687
688🏃‍♂️ Bouger un peu plus ensemble, c’est un bon antidote à la grisaille.
689
690### 👂 5\\. Intègre une "prise de pouls" d’équipe
691
69215 minutes en milieu de semaine pour jaser fatigue, besoins, niveau d’énergie. Sans agenda, sans jugement.
693
694💬 Ce genre d’espace est souvent plus utile qu’un long all-staff planifié depuis trois mois.
695
696### 🎓 6\\. Offrir une formation qui donne un boost
697
698Un atelier fun et utile sur la créativité, l’organisation, ou la motivation. Juste assez structurant pour redonner du jus sans épuiser.
699
700📚 Et si on finissait l’année en inspirant plutôt qu’en survivant?
701
702### En résumé
703
704Non, tu peux pas contrôler le coucher du soleil à 16h11.
705
706Mais tu peux créer un environnement où ton équipe sent qu’elle a le droit d’avoir un down — et les moyens d’en sortir.
707
708**Un novembre plus doux, ça commence à l’interne.** 💙
709
710Article écrit par \`Judith\` 👋`,legacyUrl:"https://www.boitepac.com/post/novembre-mood-6-id%C3%A9es-concr%C3%A8tes-pour-soutenir-le-moral-des-troupes"},{slug:"pourquoi-devenir-b-corp-en-2025",title:"Pourquoi devenir B Corp en 2025?",date:"2025-08-22",excerpt:"TL;DR : Devenir B Corp en 2025, c’est bien plus qu’avoir une simple certification. C’est un réel levier pour attirer les talents, gagner la confiance des clients et bâtir une entreprise alignée avec des valeurs responsab…",cover:"/blog/images/pourquoi-devenir-b-corp-en-2025-1fc88037fe.png",coverAlt:"Accompagnement B Corp Montréal 2025",content:`**TL;DR :** Devenir B Corp en 2025, c’est bien plus qu’avoir une simple certification. C’est un réel levier pour attirer les talents, gagner la confiance des clients et bâtir une entreprise alignée avec des valeurs responsables. _Spoiler_ : ça renforce aussi la rentabilité 😮.
711
712## **Pourquoi devenir B Corp en 2025?**
713
714En 2025, on ne parle plus d’impact social comme d’un " _nice to have_" pour une entreprise. C’est devenu une exigence, que ce soit de la part des employé·es, des partenaires, des grands donneurs d’ordres ou des clients. Dans ce contexte, la certification **B Corp** s’impose comme une preuve de confiance pour toutes vos parties prenantes.
715
716Voici pourquoi vous devriez envisager faire le saut :
717
718### **1\\. Attirer et garder les meilleurs talents**
719
720Selon une étude LinkedIn, 76 % des professionnel·le·s ne postuleraient pas dans une entreprise dont les valeurs ne reflètent pas les leurs. Quant à la génération Z et aux milléniaux, ils·elles veulent plus qu’un salaire; les gens de ces tranches d’âges cherchent un emploi qui a du sens.
721
722La certification B Corp envoie un signal clair : ici, on met l’impact social et environnemental au même niveau que les profits. On souhaite attirer des personnes engagées, créatives et qui ont envie de voir le milieu des affaires autrement.
723
724### **2\\. Se différencier (vraiment) dans son industrie**
725
726B Corp, c’est comme un filtre magique pour votre marque. Face à un marché saturé de promesses marketing (parfois fausses), afficher la certification permet de se distinguer avec une preuve concrète d’engagement.
727
728Et les chiffres parlent : 69 % des consommateurs·trices européen·ne·s affirment préférer acheter à une entreprise B Corp si on leur donne le choix (source : B Lab Europe, 2023).
729
730### **3\\. Stimuler la performance financière (oui, oui, ça rapporte)**
731
732On parle souvent d’éthique, mais parlons également d’affaires. Une entreprise B Corp performe souvent mieux dans le temps : plus de robustesse, une clientèle plus fidèle, un bouche-à-oreille organique en santé et une meilleure capacité à naviguer dans l’incertitude.
733
734À noter que les entreprises certifiées B Corp ont démontré une croissance supérieure à la moyenne pendant la pandémie (source : B Lab Europe).
735
736### **4\\. Structurer ses pratiques et progresser**
737
738Devenir B Corp, ce n’est pas juste cocher des cases. C’est faire un diagnostic complet de ses pratiques, puis s’engager à s’améliorer continuellement. C’est donc un outil hyper utile pour aligner ses actions, prendre des décisions claires et prioriser ce qui a de l’impact (à l’interne et à l’externe). C’est aussi un levier pour mobiliser les équipes autour d’une vision commune, renforcer la culture d’entreprise et donner du sens aux actions de tous les jours.
739
740### **5\\. Accéder à une communauté engagée**
741
742Une fois certifiée, votre entreprise entre dans un réseau mondial de +10 000 B Corps. On y compte des entreprises comme Patagonia, Ciele, Danone, ou encore plusieurs PME et OBNL du Québec.
743
744C’est une communauté qui partage des pratiques, des opportunités d’affaires et une même volonté : redéfinir le succès en affaires. Bref, un bon club pour progresser, ici ou ailleurs.
745
746#### **En conclusion :**
747
748Devenir B Corp en 2025, ce n’est pas juste aller chercher une certification parmi tant d'autres. C’est un vrai choix stratég
748ique pour aligner valeurs et performance, attirer les bonnes personnes, se différencier dans un marché exigeant et bâtir un avenir plus résilient.
749
750> Vous hésitez encore ? \`Faites-moi signe\` pour en jaser!
751
752> Article écrit par \`Thomas\` , cofondateur.`,legacyUrl:"https://www.boitepac.com/post/pourquoi-devenir-b-corp-en-2025"},{slug:"qu-est-ce-que-la-certification-b-corp",title:"Certification B Corp : étapes, coûts et délais (2026)",date:"2025-01-30",excerpt:"Ce qu'est la certification B Corp, ce qu'elle coûte (dès 2 100 $ US par an), combien de temps elle prend (12 mois minimum) et comment vous y préparer.",cover:"/blog/images/qu-est-ce-que-la-certification-b-corp-73af2fd920.png",coverAlt:"Expert B Corp Montréal Québec",content:`**Mis à jour le 29 septembre 2026** — pour tenir compte des nouveaux standards B Corp entrés en vigueur cette année.
753
754Vous vous demandez ce qu'est vraiment la certification B Corp, ce qu'elle exige concrètement et ce qu'elle coûte? Voici l'essentiel, sans jargon : ce que c'est, comment le B Lab vous évalue, combien de temps et d'argent il faut prévoir, et par où commencer si vous partez de zéro.
755
756### Qu'est-ce que la certification B Corp?
757
758B Corp (Beneficial Corporation) est une certification octroyée aux entreprises à but lucratif qui répondent aux plus hauts standards d'impact social et environnemental, de gouvernance éthique et de transparence envers le public.
759
760Elle est née en 2006 aux États-Unis, en Pennsylvanie, à l'initiative du [B Lab](https://www.bcorporation.net/), un organisme à but non lucratif. C'est le B Lab qui vérifie les réponses des entreprises et qui accorde (ou non) la certification.
761
762Ce qui la distingue des autres certifications :
763
764- Elle est la seule à évaluer l'entièreté des performances sociales et environnementales d'une entreprise, et non un seul aspect (l'énergie, les matériaux, une chaîne d'approvisionnement).
765- Elle oblige à une reddition de comptes périodique : une fois certifiée, une entreprise doit prouver que ses progrès tiennent.
766- Elle donne accès à une communauté d'affaires active, qui se rencontre régulièrement en personne et en ligne.
767
768### Comment le B Lab évalue-t-il une entreprise?
769
770Le B Lab a créé le _B Impact Assessment_ (évaluation de l'impact), un questionnaire offert gratuitement en ligne qui permet à une entreprise d'évaluer son propre impact avant même de songer à se certifier.
771
772Les organisations répondent à des dizaines de questions réparties en 5 catégories :
773
7741. la gouvernance
7752. les employé·e·s
7763. la communauté
7774. l'environnement
7785. les clients
779
780**Ce qui change en 2026 :** la méthode du score global (80 points sur 200) laisse place aux [nouveaux standards B Corp](/blog/tout-ce-qu%E2%80%99il-faut-savoir-sur-les-nouveaux-standards-b-corp-2026), construits autour de 7 thèmes d'impact avec des exigences à satisfaire, et vérifiés par des auditeurs externes indépendants plutôt que par le B Lab seul. Concrètement, on ne peut plus « compenser » un point faible par un point fort : les exigences doivent être rencontrées une par une.
781
782### Comment obtenir la certification, étape par étape?
783
7841. **Remplir le _B Impact Assessment_.** Gratuit, en ligne, et utile même sans intention de se certifier : il pose un diagnostic honnête de vos pratiques.
7852. **Répondre aux exigences des standards.** Créer la documentation qui manque (code d'éthique, guide de l'employé·e, politique de gestion des risques…), mettre en place des initiatives concrètes et mesurables, et corriger les écarts.
7863. **Verrouiller votre mission.** Adopter un cadre juridique qui oblige l'entreprise à considérer également le bienêtre de ses parties prenantes et la croissance de ses profits.
7874. **Payer les frais de soumission et déposer votre évaluation** au B Lab pour la phase de vérification.
7885. **Passer la vérification.** Un examen indépendant de vos réponses et des preuves à l'appui.
7896. **Publier votre rapport d'impact** dans l'annuaire B Corp et rejoindre la communauté.
790
791À noter : seuls les organismes à but lucratif existant depuis au moins un an sont admissibles, et 
791certains secteurs d'activité sont exclus d'office par le B Lab. Les jeunes entreprises de moins d'un an peuvent passer par _Pending B Corp_ en attendant d'avoir un historique à évaluer. Les organismes sans but lucratif ne sont pas admissibles à la certification, mais peuvent tout de même utiliser le _B Impact Assessment_ gratuitement pour structurer leurs pratiques.
792
793### Combien coûte la certification B Corp?
794
795Voici les postes à prévoir :
796
797- **Le _B Impact Assessment_ : gratuit.** Rien ne vous oblige à débourser un sou pour découvrir votre point de départ.
798- **Les frais de soumission :** un montant unique, payé en dollars américains au moment du dépôt de l'évaluation, non remboursable.
799- **Les frais annuels de certification :** calculés selon le chiffre d'affaires brut annuel. Dans la grille 2026 du B Lab États-Unis et Canada, ils démarrent à 2 100 $ US par an pour une entreprise dont le chiffre d'affaires est sous 5 M$ US, et grimpent avec la taille de l'entreprise. Le B Lab a limité la hausse à 5 % pour 2026.
800- **L'accompagnement, si vous choisissez d'en prendre un.** C'est le poste le plus variable, et souvent celui qui fait gagner le plus de temps.
801
802Un détail souvent oublié : le vrai coût n'est pas seulement celui de la facture, c'est le temps interne. Rassembler les preuves, répondre aux questions, documenter ce qui n'a jamais été écrit — c'est là que les projets prennent du retard.
803
804### Combien de temps ça prend?
805
806Le B Lab demande de prévoir **au moins 12 mois** entre le début de l'évaluation et la certification. En pratique, la durée dépend de trois choses : la taille de l'entreprise, le nombre de personnes impliquées dans la collecte d'information, et l'état de votre documentation au départ.
807
808Une entreprise qui a déjà ses politiques par écrit et un suivi de ses données part avec une longueur d'avance considérable. Une entreprise qui doit tout écrire en même temps qu'elle remplit le questionnaire doublera presque toujours son échéancier.
809
810### Est-ce que ça vaut la peine?
811
812C'est la question qu'on nous pose en premier, et la réponse honnête est : ça dépend de ce que vous en faites.
813
814Ce que la certification apporte réellement :
815
8161. Elle vous met en règle avec les exigences ESG des grands donneurs d'ordre et des partenaires financiers, de plus en plus strictes.
8172. Elle crée un élément différenciateur dans une industrie où tout le monde se dit « responsable ».
8183. Elle facilite le recrutement : une partie des candidats filtre désormais activement sur ce genre de preuve.
8194. Elle aide à retenir les équipes, qui veulent du sens et de la cohérence.
8205. Elle ouvre des occasions d'affaires par la communauté B Corp.
8216. Elle améliore la visibilité et la notoriété de la marque.
8227. Elle vous force à documenter et à mesurer, ce qui rend les améliorations possibles là où le « on est une entreprise responsable » ne menait à rien.
823
824Ce qu'elle ne fait pas : elle ne transforme pas une culture d'entreprise à elle seule, et elle ne remplace pas une démarche sincère. Si l'objectif est uniquement d'apposer un logo, le retour sur investissement sera décevant — et le public le remarque.
825
826### Qui est déjà certifié?
827
828Il y a présentement plus de 9 000 entreprises certifiées B Corp à travers plus de 75 pays, dont plusieurs centaines au Canada. Elles se distinguent toutes dans leurs industries par leurs pratiques sociétales et environnementales et par leur désir de redéfinir le succès en affaires.
829
830Quelques entreprises certifiées B Corp au Québec (voir la [liste complète](https://www.bcorporation.net/en-us/find-a-b-corp/)) : Prana, GenV, Ciele, LG2.
831
832Quelques entreprises certifiées B Corp à l'international : Patagonia, Danone, TOMS, Ben & Jerry's.
833
834### Et pour aller plus loin?
835
836- [Pourquoi devenir B Corp](/blog/pourquoi-devenir-b-corp-en-2025) : les bénéfices concrets pour une PME québécoise.
837- [Notre accompagnement vers la certification B Corp](/services/certification-b-corp-personnalise), en formule individuelle.
838- [La certification B Corp en cohorte de groupe](/services/certification-b-corp-cohorte-de-groupe), à coûts partagés.
839- [La recertification B Corp](/services/recertification-b-corp-personnalise), pour les entreprises déjà certifiées.
840
841💡 Un coup de main pour remplir votre questionnaire B Corp? Nous serions ravis de vous accompagner gratuitement l'instant d'un 30 minutes. [Prenez rendez-vous](/contact) avec nous 👋
842
843_Article écrit par [Thomas](/equipe/thomas), consultant B Corp (il/he/him)._`,legacyUrl:"https://www.boitepac.com/post/qu-est-ce-que-la-certification-b-corp"},{slug:"tout-sur-le-nouveaux-standards-b-corp",title:"Tout sur les nouveaux standards B Corp",date:"2024-12-20",excerpt:"Depuis des années maintenant, le B Lab (l’OBNL qui gère B Corp) fonctionne avec un questionnaire où 80 points sur 200 sont nécessaires pour obtenir la certification.",cover:"/blog/images/tout-sur-le-nouveaux-standards-b-corp-ffaec749af.png",coverAlt:"Accompagnement B Corp Montréal Québec",content:`### Qu’est-ce qui se passe chez B Corp 🤔
844
845La société change et évolue!
846
847Ça tombe bien, le processus d’évaluation B Corp aussi 😎
848
849Depuis des années maintenant, le B Lab (l’OBNL qui gère B Corp) fonctionne avec un questionnaire où 80 points sur 200 sont nécessaires pour obtenir la certification.
850
851Une entreprise peut donc choisir les initiatives qu’elles souhaitent déployer afin d’obtenir un pointage égal ou supérieur à 80.
852
853Afin d’évaluer plus efficacement les grandes entreprises et les multinationales en plus de refléter davantage les enjeux actuels, le B Lab a décidé d’entamer une revue complète de son processus d’évaluation.
854
855«Parle-moi d’une bonne nouvelle 😍»
856
857Il s’agit maintenant de \`7 standards\` à respecter plutôt qu’un pointage à atteindre.
858
859### Quels sont ces 7 standards 👀
860
861##### Exigences de base  🔍
862
863L’entreprise doit tout d'abord répondre aux critères de base de B Corp avant de se lancer dans l'évaluation. Elle est donc prête à modifier ces documents juridiques afin d’y ajouter les clauses légales en plus de répondre aux conditions d'éligibilité.
864
8651. ##### Mission et Gouvernance des parties Prenantes ⚖️
866
867
868L’entreprise s’assure que la direction surveille et prend les mesures nécessaires pour améliorer l’impact social et environnemental. Elle est aussi transparente sur ses performances sociales et environnementales, ses objectifs à atteindre en plus de sa façon de faire pour inclure ses parties prenantes (employé·e·s, fournisseurs, client·e·s, actionnaires).
869
8702. ##### Droits humains 🤝
871
872
873L’entreprise prend soin d’inclure les employé·e·s dans la prise de décision de manière concrète et formalisée. Elle s’assure également de mesurer la satisfaction de l’équipe en plus de prendre des mesures pour l’améliorer. De plus, l’entreprise s’assure d’éliminer tout effet négatif sur les droits humains en plus de s’assurer que ses fournisseurs principaux font de même.
874
8753. ##### Travail équitable 💵
876
877
878En plus de faire tout le nécessaire pour respecter l’équité salariale, l’entreprise s’assure de verser au moins le salaire minimum vital à son équipe. Elle prend soin également de sensibiliser ses fournisseurs principaux afin qu’ils fassent de même avec leur propre équipe.
879
8804. ##### Justice, équité, diversité et inclusion (JEDI) 💙💛
881
882
883L’entreprise prend soin d’améliorer ses pratiques de JEDI en mettant en œuvre un plan d’action clair qui est communiqué aux parties prenantes internes comme externes.
884
8855. ##### Actions climatiques 🌎
886
887
888L'entreprise mesure chaque année ses émissions de gaz à effet de serre en plus de se fixer des objectifs basés sur les recommandations scie
888ntifiques pour maintenir le réchauffement climatique en dessous de 1,5 °C.
889
8906. ##### Gestion environnementale et circularité ♻️
891
892
893L’entreprise prend les mesures nécessaires pour connaître son impact négatif sur l’environnement en plus de créer une stratégie visant à réduire son empreinte carbone. L’entreprise collabore également avec ses fournisseurs afin d’atteindre ses objectifs environnementaux.
894
8957. ##### Affaires publiques et action collective 🤜🤛
896
897
898L'entreprise collabore avec ses parties prenantes dans le but d’accroître l'impact collectif sur le plan social et/ou environnemental au niveau des politiques, de l'industrie et/ou de la communauté d'affaires.
899
900
901### Devrais-je me certifier avec la méthode d’évaluation actuelle ou attendre?
902
903Est-ce que c’est plus facile de se certifier maintenant ? Pour les entreprises avec plus de 250 employé·e·s ou un chiffre d’affaires annuel de plus de 75 millions, la réponse est oui. Pour les autres entreprises, pas nécessairement.
904
905Bien qu’il soit encore difficile de connaître la forme de l'évaluation liée au nouveau nouveaux standards, nous pouvons supposer que le questionnaire actuel permet une plus grande flexibilité.
906
907«Donc j’attends ou non?  😅»
908
909Si vous voulez avoir une idée claire du processus d’évaluation, commencez le processus maintenant afin de soumettre votre questionnaire avant la fin de 2025, soit la date limite pour se certifier avec la méthode actuelle.
910
911«Ouin, mais j’aurais aimé me certifier avec les nouveaux standards. 😢»
912
913Ça tombe bien, une entreprise doit se recertifier tous les 3 ans pour préserver sa certification. Le processus de recertification se fera assurément avec les nouveaux standards.
914
915Encore des questionnements face à ces standards? C'est normal, \`planifiez\` un moment avec moi pour qu'on puisse en jaser 🙂
916
917Guide écrit par \`Thomas\`, Consultant B Corp (il/he/him)`,legacyUrl:"https://www.boitepac.com/post/tout-sur-le-nouveaux-standards-b-corp"},{slug:"on-parle-deja-de-la-rentree-et-de-kamala-harris",title:"On parle (déjà) de la rentrée ✏️ .... et de Kamala Harris 🧐",date:"2024-08-13",excerpt:"DOSE D’ACTUALITÉ 🗞️ Après le plafond de verre, place à la falaise.",cover:"/blog/images/on-parle-deja-de-la-rentree-et-de-kamala-harris-f53ccbc444.png",coverAlt:"standards B Corp 2026 montréal",content:`###### **DOSE D’ACTUALITÉ 🗞️**    **Après le plafond de verre, place à la falaise.**
918
919Terme apparu pour la première fois il y a 20 ans, la falaise de verre (glass cliff) définit une tendance où, en période de crise au sein d'une organisation, les femmes sont davantage susceptibles d'être promues à des postes de direction. Ces leaders féminines, ainsi placées dans des situations précaires, doivent naviguer dans des eaux périlleuses.
920
921En 20 ans, il doit y avoir eu du progrès? 🧐 Mhm, ça s’en va plutôt dans l’autre sens 👇
922
923![](https://framerusercontent.com/images/zuJtjWGNv5aSx5uEMN1WJggw.png?width=2912&height=2096)
924
925‍
926
927Selon une analyse des Fortune 500 sur une période de 15 ans, lors de la nomination d’un·e CEO pour prendre le relais…
928
929‍
930
931\\- 🏆 D’une organisation **à succès** 👉🏼 62% choisissent un homme;
932
933\\- 📉 D’une organisation où **ça va pas ben** 👉🏼 69% choisissent une femme.
934
935###### **Le cercle vertueux de la falaise de verre, renforçant les stéréotypes sexistes selon lesquels les femmes et le leadership, ça fait deux 👇🏼** ‍
936
937![](https://framerusercontent.com/images/9xkAJCoXCkcNThQrwDbuWKvjDqc.png?width=2912&height=2096)
938
939👋 Ceci est un aperçu de notre infolettre mensuelle. Si jamais vous souhaitez accéder à l'intégralité du contenu, vous pouvez le retrouver [ici.](https://boitepac.substack.com/p/on-parle-deja-de-la-rentree-et-de?r=2v4uu6)`,legacyUrl:"https://www.boitepac.com/post/on-parle-deja-de-la-rentree-et-de-kamala-harris"},{slug:"lete-cest-fait-pour-bien-des-choses",title:"L'été c'est fait pour... bien des choses!",date:"2024-06-17",excerpt:"Voici les 4 traditions estivales favorites de Boite Pac, et des trucs pour mettre le tout en application au sein de votre entreprise 💡",cover:"/blog/images/lete-cest-fait-pour-bien-des-choses-98f6a9133b.png",coverAlt:"standards B Corp 202
9396 montréal",content:`Voici les 4 **traditions estivales** favorites de Boite Pac, et des trucs pour mettre le tout en application au sein de votre entreprise 💡
940
941‍
942
943### **1\\. Organiser son lac-à-l’épaule annuel 📈🍹**
944
945Les conseils de l’équipe en rafale 👇🏼
946
947‍
948
949**Thomas et ses lunettes de la gouvernance :** Sonder toute l’équipe pour mieux cerner quels seraient les sujets prioritaires à discuter. 🎙️
950
951_#QuickWin: envoyer un Typeform avec une liste de sujets à couvrir, puis demander à chacun·e de les classer en ordre de pertinence en prévision du off-site. Résultat? Un ordre du jour qui répond aux besoins de tou·te·s!_
952
953‍
954
955**Catherine et ses lunettes de la diversité, équité et inclusion** : Pensez à sonder le niveau d’aise de vos employé·e·s avant de rendre obligatoire des nuitées hors de la maison. 3 jours dans un chalet, ça peut complexifier la gestion familiale et ce n’est pas accessible pour tou·te·s. 💡
956
957‍
958
959**Alexandra et ses lunettes enviro** : Optez pour un lieu accessible en transport en commun 🚈. Sinon, prendre en charge la coordination du covoiturage 🚙 entre les participant·e·s et [compenser les émissions de GES](https://planetair.ca/) qui seront émises par les déplacements. 🍃
960
961![](https://framerusercontent.com/images/47kzc9WyQSSEFZhdPcsQIycUQkg.png?width=2452&height=600)
962
963**Judith et ses lunettes bien-être, Marie et ses lunettes créativité** : L’objectif d’un lac-à-l’épaule? Brasser des idées, voir grand. Et comment naissent les idées? À partir de 2 informations pas nécessairement connexes qui, lorsqu’on leur laisse l’espace nécessaire, se rencontrent à un certain moment dans notre cerveau. _Bing_! Une idée est née. 💥
964
965‍
966
967Pensez à ventiler les blocs de réflexion et de travail; prévoyez du temps pour des pauses détente, des pauses mouvements et des activités qui sortent du cadre du travail. Les trois formes, tout aussi pertinentes les unes que les autres, permettent à la créativité d’être optimisée, et c’est absolument nécessaire lors d’un _offsite_.
968
969‍
970
971![](https://framerusercontent.com/images/bZxXxBcEcwaVKbMhEmkq5BJ6hww.png?width=980&height=294)
972
973👋 Ceci est un aperçu de notre infolettre mensuelle. Si vous souhaitez connaitre nos 3 autres traditions estivales, vous pouvez les retrouver [ici.](https://open.substack.com/pub/boitepac/p/lete-cest-fait-pour-bien-des-choses?r=2v4uu6&utm_campaign=post&utm_medium=web)`,legacyUrl:"https://www.boitepac.com/post/lete-cest-fait-pour-bien-des-choses"},{slug:"techniques-de-productivite-101",title:"Techniques de productivité 101",date:"2024-05-01",excerpt:"Qu'est-ce qui nous a permis de passer à la semaine de 4 jours tout en maintenant un niveau de productivité élevé?",cover:"/blog/images/techniques-de-productivite-101-f3bb90b969.png",coverAlt:"standards B Corp 2026 montréal",content:`Qu'est-ce qui nous a permis de passer à la **semaine de 4 jours** tout en maintenant un niveau de **productivité élevé**?
974
975Voici nos techniques de productivité favorites 🤩
976
977‍
978
979_**La go-to de Marie**_: mettre de la couleur dans mon agenda 🎨
980
981_**La favorite de Catherine**_ : placer des blocs de temps pour mes tâches solo, au même titre que je place mes réunions dans mon calendrier.
982
983_**La préférée de Judith**_ : le Flow (pour plus d’explications, [c’est par ici](https://www.instagram.com/p/C5oVA6vrtoO/?img_index=1)!)
984
985![](https://framerusercontent.com/images/Uu8pYcZM47edwGaC1urnJ1WC8.png?width=2239&height=683)
986
987_**Le p’tit nouveau d’Alexandra**_ : Pomodoro
988
989![](https://framerusercontent.com/images/o4RDGSFk3Z7gOyve8UStrQ2UDGU.png?width=2178&height=295)
990
991### **Les actualités B Corp 🗞**
992
993_**B Corp Retreat :**_ Thomas a eu la chance de participer à la B Corp Retreat qui s’est tenue à Vancouver. C’est plus de 700 personnes provenant de différentes B Corp à travers l’Amérique du Nord qui se sont regroupées pour repenser le milieu des affaires. Il a même eu l’opportunité de s’entretenir avec la personne responsable de créer les nouveaux standards B Corp 🤯.
994
995**\\- Son moment marquant** 😍 : La rencontre de nombreux entrepreneur·e·s et membres de la communauté autochtones de Vancouver (territoire non cédé, ancestral et traditionnel des xʷməθkʷəy̓əm (Musqueam), des Sḵwx̱wú7mesh (Squamish) et des səlil̓wətaʔɬ (Tsleil-Waututh)). Il a même eu la chance de discuter avec d’autres B Corp sur les manières de faire pour s’impliquer dans les communautés autochtones qui nous entourent.
996
997‍
998
999**\\- À retenir pour les B Corp** 👋 : Le nouveau questionnaire qui inclura les nouveaux standards ne sera pas prêt avant juin 2025. Pour les entreprises qui doivent se recertifier avant cette date, le processus se fera donc avec la version actuelle.
1000
1001Psssst. Votre recertification arrive? N'ésitez pas à nous [contacter](https://www.boitepac.com/francais/contact), on peut vous aider à simplifier tout ça 😎.
1002
1003‍
1004
1005‍
1006
1007👋 Ceci est un aperçu de notre infolettre mensuelle. Si vous souhaitez accéder à l'intégralité du contenu, vous pouvez le retrouver [ici.](https://boitepac.substack.com/p/ding-une-nouvelle-dose-dimpact?r=2v4uu6)`,legacyUrl:"https://www.boitepac.com/post/techniques-de-productivite-101"},{slug:"excursion-dans-les-cerveaux-de-boite-pac",title:"Excursion dans les cerveaux de Boite Pac 🧠",date:"2024-01-17",excerpt:"On était en pleine politique de déconnexion pendant la période des récaps annuels de 2023, on va donc y aller par en avant. Ceci dit, on est d’avis qu’il est encore trop tôt pour les grands sujets (nos esprits se sentent…",cover:"/blog/images/excursion-dans-les-cerveaux-de-boite-pac-27fdfde3a7.png",coverAlt:"standards B Corp 202
10076 montréal",content:`On était en pleine **politique de déconnexion** pendant la période des _récaps_ annuels de 2023, on va donc y aller par en avant. Ceci dit, on est d’avis qu’il est encore trop tôt pour les grands sujets (nos esprits se sentent encore en vacances!), c’est pourquoi on a préféré jouer aux entrevues avec l’équipe de Boite Pac pour se remettre dans l’bain.
1008
1009![](https://framerusercontent.com/images/0MYY3BCI3EjOtprImJKJKBYRU4.jpeg?width=980&height=294)
1010
1011### **🚀 Qu’est-ce qu’on peut trouver dans ton plan de développement pour 2024?**
1012
1013‍
1014
1015\\- L’envie de pousser encore plus loin le concept d’inclusivité dans tous nos accompagnements;
1016
1017\\- Un plongeon dans l’équité des genres, la maternité et le féminisme;
1018
1019\\- Du temps pour explorer encore davantage le concept de bien-être au travail (on a d’ailleurs [**un atelier à la carte sur le sujet**](https://www.boitepac.com/francais/services) que je recommande chau-de-ment!)
1020
1021‍
1022
1023##### **📚 Ta lecture actuelle, ou celle que t’as hâte d’entamer?**
1024
1025Une recommandation d’ _**Alexe**_ que j’adore déjà : [Braving the Wilderness, de Brené Brown](https://www.amazon.ca/Braving-Wilderness-Quest-Belonging-Courage/dp/0812985818/ref=sr_1_1?crid=2KVG5NVCFDWK0&keywords=braving+the+wilderness+brene+brown&qid=1704809917&sprefix=braving+the+%2Caps%2C106&sr=8-1). Et qui sera aussitôt suivi d’une recommandation de _**Marie**_ : [La banalité d’un tir, de Mali Navia](https://www.amazon.ca/banalit%C3%A9-dun-tir-French-ebook/dp/B09WCX55Q1/ref=sr_1_1?crid=2DEA02JJTBNVY&keywords=la+banalit%C3%A9+d%27un+tir&qid=1704808869&s=books&sprefix=la+banalit%C3%A9+d%27un+tir%2Cstripbooks%2C87&sr=1-1)
1026
1027##### **🎙 Ce qui joue dans tes oreilles en ce début d’année?**
1028
1029Mes podcasts préférés, en boucle : [On Purpose with Jay Shetty](https://www.jayshetty.me/podcast), [Boob to Food - The Podcast](https://open.spotify.com/show/279q03lNBxM8nN98iSa83E), [After Bedtime with Big Little Feelings](https://biglittlefeelings.com/podcast/listen/), [The Salty Club Podcast](https://open.spotify.com/show/6wxdVMj80KOO9BfqYt6H8E)
1030
1031##### **📣 Le gouvernement québécois te permet d’instaurer une loi en 2024, quelle est-elle?**
1032
1033Faciliter le processus d’immigration pour les gens du monde entier. Et je demanderais probablement 2 mois de vacances pour tou·te·s, tant qu’à être ici!
1034
1035##### **☕️ Les sujets autour desquels il te fait toujours plaisir d’échanger?**
1036
1037L’immigration et la vie d’expat, le tourisme responsable, la maternité dans tout ce qu’elle a de beau et de moins beau, le bien-être des femmes, les derniers documentaires qui vous ont fait vibrer, etc. etc.!
1038
1039![](https://framerusercontent.com/images/oXmhuLTi0cltOtYBaeaTEXlotc4.jpeg?width=980&height=294)
1040
1041### **🚀 Qu’est-ce qu’on peut trouver dans ton plan de développement pour 2024?**
1042
1043‍
1044
1045\\- Création d’une infolettre le fun à lire (j’espère que vous avez du fun en ce moment)
1046
1047\\- Participer à la B Corp Retreat à Vancouver qui regroupe les B Corp d’Amérique du Nord.
1048
1049\\- Poster un peu plus sur LinkedIn
1050
1051‍
1052
1053##### **📚 Ta lecture actuelle, ou celle que t’as hâte d’entamer?**
1054
1055[No Rules Rules: Netflix and the Culture of Reinvention](https://www.goodreads.com/book/show/49099937-no-rules-rules) de Reed Hastings et Erin Meyer. Un bonbon pour tous ceux et celles qui capotent sur la culture organisationnelle.
1056
1057##### **🎙 Ce qui joue dans tes oreilles en ce début d’année?**
1058
1059Des podcasts sur le bien-être au travail, particulièrement lorsque c’est Sonia Lupien qui intervient. Voici d’ailleurs une [excellente entrevue](https://ici.radio-canada.ca/ohdio/premiere/emissions/tout-un-matin/segments/entrevue/464435/sonia-lupien-le-stress-au-travail-vs-le-stress-du-travail-productivite) de la neuroscientifique à écouter.
1060
1061##### **📣 Le gouvernement québécois te permet d’instaurer une loi en 2024, quelle est-elle?**
1062
1063Les entreprises B Corp ont des incitatifs financiers tels que des retours d’impôts alléchants 🤑.
1064
1065##### **☕️ Les sujets autour desquels il te fait toujours plaisir d’échanger?**
1066
1067Le 4 jours et à quel point c’est plus simple et réaliste qu’on le pense, B Corp bien sûr et tout ce qui touche à une culture saine en entreprise.
1068
1069‍
1070
1071👋 Ceci est un aperçu de notre infolettre mensuelle. Si vous souhaitez compléter votre excursion dans le cerveau de Judith, Alexe et Marie, c'est [ici.](https://boitepac.substack.com/p/excursion-dans-les-cerveaux-de-boite?r=2v4uu6)
1072
1073‍`,legacyUrl:"https://www.boitepac.com/post/excursion-dans-les-cerveaux-de-boite-pac"},{slug:"pratiquer-son-ecoute-on-commence-par-ou",title:"Pratiquer son écoute, on commence par où?",date:"2023-11-29",excerpt:"‍ Alright, alright. Pratiquer son écoute, on commence par où?",cover:"/blog/images/pratiquer-son-ecoute-on-commence-par-ou-feaac05d7f.png",coverAlt:"standards B Corp 202
10736 montréal",content:`### Communication: curiosité, vulnérabilité & écoute.
1074
1075‍ _Alright, alright_. Pratiquer son écoute, on commence par où?
1076
1077‍
1078
1079### **3 niveaux à pratiquer** _**(et débloquer)**_ **pour le prochain mois:**
1080
1081‍
1082
1083_**Niveau débutant·e**_: écouter sans faire autre chose (on tourne le téléphone de bord, et on termine son courriel plus tard!)
1084
1085_**Niveau intermédiaire**_ : ne pas assumer le ressenti de l’autre, le·la laisser nous le communiquer!
1086
1087_**Niveau expert·e**_ : **ne pas** réfléchir à sa réponse pendant que l’autre personne nous parle (normaliser les silences, certes).
1088
1089‍
1090
1091### **Le palmarès du mois**
1092
1093_(des idées pour emporter!)_ 📦
1094
1095‍
1096
1097**\\- Une bonne pratique**: un plan de retour ( _reonboarding_) pour les retours de congé de parentalité. 🤰 Comme [celui](https://www.instagram.com/p/CoVfO5fPlwP/?img_index=1) de notre chère Alexandra, [par exemple](https://www.instagram.com/p/CoVfO5fPlwP/?img_index=1)!
1098
1099**\\- Un** _**perk**_: remboursement de la **passe SÉPAQ** pour faciliter l’accès à la nature, combiné à la flexibilité d’horaire pour en profiter avant la noirceur de 17h.
1100
1101_\\- pssssst_: avez-vous jeté un œil à [notre menu d’horaires smoothie](https://www.instagram.com/p/CzHeGlxPV-L/?img_index=1)?
1102
1103**\\- Un podcast**: [Les Dérangeants](https://www.lesderangeants.com/) 🎙
1104
1105**\\- Un livre dont on parle tout l’temps**: 📚 [You’re Not Listening](https://www.goodreads.com/book/show/45892276-you-re-not-listening), _Kate Murphy_
1106
1107**\\- Un livre sur notre** _**wishlist**_: 📚 [Hidden Potential](https://adamgrant.net/book/hidden-potential/), _Adam Grant_
1108
1109‍
1110
1111‍
1112
1113👋 Ceci est un aperçu de notre infolettre mensuelle. Si vous souhaitez accéder à l'intégralité du contenu, vous pouvez le retrouver [ici.](https://boitepac.substack.com/p/knock-knock-boite-pac-se-glisse-dans?r=2v4uu6)`,legacyUrl:"https://www.boitepac.com/post/pratiquer-son-ecoute-on-commence-par-ou"},{slug:"les-avantages-de-la-semaine-de-4-jours",title:"Les avantages de la semaine de 4 jours",date:"2023-09-10",excerpt:"Le 4 jours par semaine est sur les lèvres de plusieurs en ce moment. Alors que certains en ont peur et n'y croient pas, d’autres ont décidé de l’essayer ou l'embrassent depuis un moment déjà. Pour vous aider à y voir plu…",cover:"/blog/images/les-avantages-de-la-semaine-de-4-jours-5fc845d1e8.png",coverAlt:"standards B Corp 2026 montréal",content:`Le 4 jours par semaine est sur les lèvres de plusieurs en ce moment.  Alors que certains en ont peur et n'y croient pas, d’autres ont décidé de l’essayer ou l'embrassent depuis un moment déjà. Pour vous aider à y voir plus clair, on vous propose un regard sur cette nouvelle pratique qui risque de gagner en popularité dans les prochaines années (on le souhaite ben gros chez Boite Pac).
1114
1115### **En quoi consiste le 4 jours semaine?**
1116
1117Le concept du 4 jours semaine ne consiste pas à demander à ses employé(e)s de travailler moins pour un plus petit salaire. Selon nous, l’idée est plutôt d’offrir le même salaire aux employé.es, en leur offrant de travailler moins d’heures.  On parle donc de retrancher une journée à la semaine (allô les vendredis off) ou de répartir les heures de travail différemment du lundi au vendredi, en travaillant un peu moins à tous les jours. En gros, c’est de travailler tout aussi fort, mais autrement.
1118
1119Donc, question que vous soyez tout aussi excités que nous à propos de la semaine réduite, voici 4 avantages qui vous inciteront (peut-être) à adopter la semaine de 4 jours. On a pensé vous proposer, par la suite, quelques pistes de solution pour vous outiller adéquatement AU CAS où vous voudriez instaurer le concept dans votre propre entreprise. Si vous n’êtes pas convaincus après ça, on ira prendre un café ou une bière pour en jaser:)
1120
1121##### **Avantage 01 : Les employé.e·s qui travaillent 4 jours sont plus productifs**
1122
1123Plus on a de temps dans notre semaine, plus on le perd! Je parle pour moi ici, mais quand j’ai un _deadline_, je coupe dans les actions inutiles pour être plus efficace (regarder mes courriels 20 fois dans une journée, prendre trop de temps sur LinkedIn et Instagram, etc.). C’est également ce qu’a observé l’entreprise néozélandaise [Perpetual Gardian](https://www.perpetualguardian.co.nz/) lorsqu’elle a mis en place la semaine réduite. Les gens passaient moins de temps en réunion, moins de temps sur les réseaux sociaux, et ce, en plus de mettre en place des mécanismes pour éviter de se faire interrompre régulièrement par leur
1123s collègues. En somme, l’entreprise a observé, qu’en effet, la productivité avait été affectée, mais de manière positive.
1124
1125##### **Avantage 02 : Le niveau de stress des employé.es diminue**
1126
1127Ayant plus de temps à consacrer à des activités personnelles, plus de temps pour expérimenter de nouveaux passe-temps, et plus de moments à passer en famille et entre ami(e)s, les employé(e)s se retrouvent moins stressé(e)s par leur travail. C’est d’ailleurs l’un des nombreux résultats observés par [l’Islande](https://www.bbc.com/news/business-57724779) lorsque son gouvernement a demandé à 2500 travailleur.es du secteur public de réduire d’une journée leur semaine de travail. Autre observation très intéressante: les employé.es ont affirmé avoir un meilleur équilibre travail/vie personnel, diminuant ainsi leur risque de faire un _burnout_.
1128
1129**‍**
1130
1131##### **Avantage 03 : La semaine de 4 jours diminue les inégalités salariales entre les genres** ‍
1132
1133‍
1134
1135Selon [The Guardian](https://www.theguardian.com/commentisfree/2019/apr/03/four-day-week-inequality-gender-pay-gap-income), le nombre de femmes qui travaillent à temps partiel, souvent pour être en mesure de jumeler la vie familiale et le boulot, est 4 fois plus élevé que le nombre d'hommes. Temps partiel dit également salaire moins élevé, et moins de chance d’obtenir une promotion.  Vous voyez où je veux en venir: Considérer les semaines de 4 jours comme du temps plein et permettre aux femmes d’avoir accès aux mêmes salaires que leurs homologues masculins est un pas dans la bonne direction, celle de l’équité.‍
1136
1137‍
1138
1139##### **Avantage 04 : La semaine de 4 jours diminue l’impact environnemental des entreprises** ‍
1140
1141‍
1142
1143On l’a vu durant la pandémie : se rendre moins souvent au bureau nous permet de diminuer la pollution individuelle causée par les transports. Il est donc facile de penser qu’une journée de moins à travailler toutes les semaines permettrait de réduire drastiquement l’empreinte carbone de chaque individu. D’ailleurs, une étude menée en [Angleterre](https://www.theguardian.com/commentisfree/2019/apr/03/four-day-week-inequality-gender-pay-gap-income) a montré que de réduire d’une journée la semaine de travail pourrait diminuer l’empreinte carbone annuelle de 21,3% du pays tout entier. C’pas rien quand même! **‍**
1144
1145‍
1146
1147### **Si vous voulez implanter le 4 jours semaine,** _**what’s next**_ **?**
1148
1149‍
1150
1151##### **Étape 01 :** Envoyez un sondage à vos employé(e)s pour connaître leur impression
1152
1153‍
1154
1155Mettre en place une initiative d’envergure comme la semaine de 4 jours demande évidemment la participation et la mobilisation de votre équipe. Le sondage est donc un excellent moyen pour en savoir plus sur leurs impressions, leurs angoisses et leurs demandes spéciales concernant la modification de leur temps de travail. De cette manière, vous serez en mesure d’obtenir de la data pertinent qui vous permettra de déployer l'initiative sur des bonnes bases. **‍**
1156
1157‍
1158
1159##### **Étape 02** : Présentez à l’équipe des méthodes pour améliorer leur efficacité
1160
1161‍
1162
1163Travailler 4 jours implique d’avoir environ 8h de moins dans une semaine pour accomplir ses tâches. Certains employé.es seront aptes à modifier leurs méthodes de travail pour améliorer leur efficacité alors que d'autres, trouveront la tâche plus difficile. Pour cette raison, n’hésitez pas à proposer ce genre d’initiatives:
1164
11651- Diminuer de moitié le temps des réunions
1166
11672- Définir des moments précis de “concentration” dans une journée où les employé.es ne peuvent être dérangé(e)s par l’un(e) de leurs collègues.
1168
11693- Offrir de l’équipement pour améliorer la productivité ( _stand up desk_, écouteurs _noise cancelling,_ etc _.)._ Laissez-les également créer leur propre espace de travail! **‍**
1170
1171‍
1172
1173##### **Étape 03** : Faites-en l’expérience avant de couler le tout dans le béton
1174
1175‍
1176
1177N’essayez pas de trouver la recette gagnante avant même d’avoir essayé différentes formules. Autrement dit, essayez divers modèles avec votre équipe et mesurez les résultats pour savoir quelle formule du 4 jours semaine est la plus adéquate pour votre entreprise et votre équipe. Par exemple, pendant un mois, vou
1177s pourriez offrir le vendredi de congé à tout le monde et voir les résultats qui en découlent. Par résultats, je veux dire tout ce qui touche la productivité des employé.es, le taux de satisfaction, etc. Après le mois, envoyez un court sondage à l’équipe pour connaître leur impression. Ensuite, essayez une autre formule pour le prochain mois (offrir le lundi de congé par exemple) tout en continuant de récolter du data pour connaître l’avis des employé.es.
1178
1179‍
1180
1181J’espère que vous voyez maintenant plus clair lorsqu’on parle de 4 jours semaine et que vous êtes aussi emballés que nous par ce sujet. Si d’ailleurs vous êtes curieux·euses d’en savoir davantage ou si vous souhaitez passer aux 4 jours de travail, contactez-nous pour en savoir plus sur notre [service d'accompagnement 4 jours!](https://www.boitepac.com/francais/services)
1182
1183Article écrit par [**Alexandra, Consultante B Corp (elle/she/her)**](https://www.boitepac.com/)`,legacyUrl:"https://www.boitepac.com/post/les-avantages-de-la-semaine-de-4-jours"},{slug:"comment-instaurer-la-semaine-de-4-jours",title:"Comment instaurer la semaine de 4 jours",date:"2023-04-06",excerpt:"On vous le dit depuis un certain temps déjà ( et il y a maintenant des chiffres pour le prouver), la semaine de 4 jours, c’est LE tournant à considérer pour votre entreprise si vous le voulez :",cover:"/blog/images/comment-instaurer-la-semaine-de-4-jours-0097fe29f9.png",coverAlt:"standards B Corp 2026 montréal",content:`On vous le dit depuis un certain temps déjà ( [et il y a maintenant des chiffres pour le prouver](https://static1.squarespace.com/static/60b956cbe7bf6f2efd86b04e/t/6387be703530a824fc3adf58/1669840498593/The+Four+Day+Week-+Assessing+Global+Trials+of+Reduced+Work+Time+with+No+Reduction+in+Pay+%E2%80%93+F+%E2%80%93+30112022.pdf)), la semaine de 4 jours, c’est LE tournant à considérer pour votre entreprise si vous le voulez :
1184
1185‍
1186
11871. Prioriser le **bien-être** de vos employé·e·s (c.-à-d. éviter de les mener vers un épuisement professionnel);
1188
11892. En finir avec vos problèmes de **recrutement**;
1190
11913. Améliorer votre **impact environnemental**; ET
1192
11934. Faire un pas de plus vers l’ **équité des genres**.
1194
1195
1196‍
1197
1198Tout ça, en renforçant la **motivation** de votre équipe et en augmentant à la fois la **productivité** de vos employé·e·s et votre **marge de profits**.
1199
1200‍
1201
1202Pour nous, c’est un _no brainer_, tout simplement. 🤷‍♀️
1203
1204‍
1205
1206Ceci étant dit, c’est également le genre de projet qui exige un **excellent niveau de planification et de préparation.**
1207
1208‍
1209
1210Dans l’optique de vous donner un petit coup de pouce, voici une liste de petites choses à garder en tête si l’aventure vous attire.
1211
1212‍
1213
1214_PS. Avril et mai font d’excellents mois de préparation si vous souhaitez vous lancer en mode 4 jours dès cet été! 🙋‍♀️_
1215
1216‍
1217
1218##### Liste Boite Pac pour préparer une transition tout en douceur
1219
1220‍
1221
122201. Définir votre formule \\| _Êtes-vous plus du genre 4 jours ou 5-hour workday?_
1223
122402. Choisir vos indicateurs de performance clés (KPIs) et définir l’échéancier de votre phase-test (qui devrait durer au moins trois mois)
1225
122603. Planifier la communication du projet avec vos employé·e·s et vos client·e·s \\| _Ils auront toutes sortes de questions, avez-vous déjà les réponses?_
1227
122804. Envoyer un sondage à votre équipe
1229
123005. Former vos gestionnaires pour les outiller en vue de la transition \\| _Qu’en est-il des suivis? Y aura-t-il de la résistance au changement? Comment pourraient-ils responsabiliser davantage leurs équipes?_
1231
123206. Former toute l’équipe sur différentes techniques de productivité \\| _Pomodoro, Flow, Eat that Frog… Laquelle vous parle le plus??_
1233
123407. Définir la procédure finale des vendredis de congé (rôles, attentes, gestion des urgences, personnes-ressources, etc)
1235
123608. Lancer la phase-test et planifier les suivis mensuels (s’ajuster au besoin!)
1237
123809. Planifier l’analyse post-mortem et la prise de décision finale
1239
124010. Planifier (CÉLÉBRER!) la transition permanente vers la semaine de travail réduite
1241
1242
1243‍
1244
1245Au plaisir de se croiser en randonnée un vendredi! 😉
1246
1247‍
1248
1249Article écrit par \`Catherine\`, Consultante B Corp (elle/she/her)`,legacyUrl:"https://www.boitepac.com/post/comment-instaurer-la-semaine-de-4-jours"},{slug:"strava-x-ricardo",title:"Strava x Ricardo",date:"2023-01-12",excerpt:"Imaginez une journée au cours de laquelle des centaines d’adeptes de course et de vélo se regrouperaient (à distance avec un masque bien sûr) pour aller offrir du bon poulet général Tao signé Ricardo aux gens dans le bes…",cover:"/blog/images/strava-x-ricardo-30d5cb0227.png",coverAlt:"standards B Corp 202
12496 montréal",content:`Imaginez une journée au cours de laquelle des centaines d’adeptes de course et de vélo se regrouperaient (à distance avec un masque bien sûr) pour aller offrir du bon poulet général Tao signé **Ricardo** aux gens dans le besoin. Poussez votre réflexion encore un peu et imaginez en plus, que **Strava** se mette de la partie.
1250
1251Avouez que ça pique votre curiosité! On vous explique ce qu’on a en tête! **‍**
1252
1253Avant d'entamer votre lecture, veuillez noter que le partenariat qui vous est présenté dans cet article est fictif et qu'il s'agit seulement d'un exercice créatif de la part de Boite Pac.
1254
1255## **Le concept** ‍
1256
1257Vous avez probablement déjà entendu parler du _24h Tremblant_ qui consiste à skier pendant 24h afin d’amasser des fonds pour les enfants malades. Le concept qu’on vous propose ici est semblable, mais on parle de course et de vélo au lieu de ski, et de 12 heures plutôt que 24.
1258
1259Vous avez du mal à suivre où on s’en va avec tout ça? C’est normal! Ne vous en faites pas, vous allez comprendre dans un instant!
1260
1261**‍**
1262
1263### **1 - Le gueuleton** ‍
1264
1265Il s’agirait donc de regrouper des milliers de plats prêts à manger fournis par Ricardo dans un endroit central d’une ville X (Montréal, Québec, Sherbrooke, choisi la ville québécoise qui te fait plaisir d'imaginer l’ami.e!). Que ce soit du poulet général tao, de la lasagne ou du pain de viande, peu importe, le but est de réconforter des gens dans le besoin avec de la bonne bouffe concoctée par la gang de Ricardo.
1266
1267Mais attends, comment tous ces repas seraient-ils distribués aux gens dans le besoin? Excellente question! **‍**
1268
1269‍
1270
1271### **2 - La livraison** ‍
1272
1273Le transport se ferait à la course à pied ou à vélo, et ce, par des citoyen·nne·s qui désirent participer à l’évènement. Autrement dit, chaque participant.e partirait du centre de collecte où se trouveraient les bons plats prêt-à-manger de notre chum Ricardo pour ensuite aller les distribuer, en courant ou en pédalant, aux gens dans le besoin.
1274
1275Les participants formeraient des équipes de 5 à 10 personnes.
1276
1277Les équipes auraient, on se le rappelle, 12 heures pour aller remettre le plus de repas possible.
1278
1279Là je t’entends dire: ‘’Oui mais là 12h de course ou de bike c’est long en titi!’’
1280
1281Eh oui l’ami.e! Par contre, comme dans le 24h de Tremblant, les personnes pourraient se relayer sans problème!
1282
1283Les équipes gagnantes seraient celles ayant réussi à aller distribuer le plus de plats tout en ayant parcouru la plus grande distance. Un prix pour les cyclistes et un prix pour les coureurs!
1284
1285C’est là que Strava deviendrait très utile. Cette magnifique application permettrait, non seulement de voir courir les équipes en temps réel, mais elle permettrait également de définir les distances finales exactes parcourues par chacune des équipes. **‍**
1286
1287‍
1288
1289### **3 - Le prix** ‍
1290
1291Et le prix pour les gagnants? Écoute, rendu là, si Strava et Ricardo décident d’être _bold_ et de réellement déployer l’initiative, ils décideront du prix! **‍**
1292
1293‍
1294
1295## **Les avantages pour Strava et Ricardo de faire ce genre d’initiative**  ‍
1296
1297_First thing first_: Ça améliorerait leur impact social en distribuant des milliers de repas à la population dans le besoin
1298
1299Qui dit amélioration de l’impact, dit hausse de popularité auprès des générations Y et Z, ce qui pourrait donc mener à une hausse des ventes provenant de cette tranche d’âge pour les deux entreprises partenaires. Selon Deloitte, une grande majorité des gens issus des générations Y et Z priorise les achats auprès d’entreprises qui prennent soin de leur communauté, surtout en ces temps de pandémie.
1300
1301Et tant qu’à y être, pourquoi ne pas créer une belle campagne de communication, question de briller davantage et d’améliorer leur notoriété auprès de leur audience cible. Comme le mentionne le _Guide de relance pour les marques prêtes à bâtir une nouvelle réalité_ publié par Republik en mai 2020, “mettre de l’avant vos bonne
1301s actions sociales ou environnementales peut être payant puisque les consommateurs considèrent qu’il est dans le devoir des entreprises de prendre position sur des enjeux sociaux et environnementaux qui leur tiennent plus à cœur”.
1302
1303‍
1304
1305‍
1306
1307## **Qui est Ricardo selon Wikipédia** _‍_
1308
1309Ricardo Larrivée, simplement appelé Ricardo, né le 12 mars 1967 à Montréal (Québec), est un chef cuisinier canadien. Il est l'animateur de l'émission _Ricardo_ sur les ondes de Radio-Canada, ainsi que l'animateur de _Ricardo and Friends_ pour la chaîne Food Network. Ça ne le dit pas sur Wikipédia, mais il est aussi fondateur d’une entreprise qui roule “un peu” au Québec! **‍**
1310
1311‍
1312
1313## **Qui est Strava selon Wikipédia**
1314
1315**‍** Strava est un site internet et une application mobile utilisée pour enregistrer des activités sportives via GPS. Le siège social se situe à San Francisco en Californie. En suédois, Strava signifie « s'efforcer à faire quelque chose sans relâche ».
1316
1317‍
1318
1319Envie d'en apprendre plus sur l'amélioration de l'impact social et environnemental? Viens nous \`jaser\`!
1320
1321‍
1322
1323Article écrit par \`Thomas\`, Consultant B Corp (il/he/him)`,legacyUrl:"https://www.boitepac.com/post/strava-x-ricardo"},{slug:"cest-lheure-de-puncher-out",title:"C’est l’heure de puncher out",date:"2022-05-31",excerpt:"Nous nous sommes construits un monde du travail qui tourne vite vite vite. Plus que jamais aujourd’hui, on a souvent l’impression d’être emportés par ce courant, seuls devant nos écrans d’ordinateur, pas tellement concen…",cover:"/blog/images/cest-lheure-de-puncher-out-6dc1e0055f.png",coverAlt:"standards B Corp 2026 montréal",content:`Nous nous sommes construits un monde du travail qui tourne vite vite vite. Plus que jamais aujourd’hui, on a souvent l’impression d’être emportés par ce courant, seuls devant nos écrans d’ordinateur, pas tellement concentrés, mais pas vraiment le cerveau à _off_ non plus.
1324
1325‍
1326
1327On essaie de tout terminer avant 17h00, mais le bruit de la machine à laver dérange et les enfants aux nez qui coulent ne vont plus à la garderie. Alors, on se dit que ce n’est pas si grave, que ça sert à ça la “flexibilité” après tout, qu’on terminera de préparer notre _meeting_ à 20h, 21h, peut-être 22h.
1328
1329‍
1330
1331Le matin arrive rapidement et en se réveillant, c’est évidemment plus facile d’attraper notre cellulaire sous l’oreiller que de se lever pour ouvrir les rideaux. Par réflexe, on regarde nos courriels: un heureux mélange de _pro_ et de _perso_. Puis bon, rendu là, c’est trop d’en faire fi : un petit regard à l’application _Slack_ et voilà qu’on aperçoit le petit point rouge nous avisant d’une notification. Oups, ai-je manqué un message hier?
1332
1333‍
1334
1335Une routine s’est installée tout doucement dans notre vie-de-pandémie. Après deux années de télétravail, on réalise soudainement que jour après jour, on étend nos “8 heures” de travail de 6h le matin à 22h le soir. Il n’y a plus vraiment de début, il n’y a plus vraiment de fin. Tout ce qu’il y a, c’est un cerveau en compote, un sentiment d’anxiété, une mauvaise humeur latente et une furieuse envie de partir en vacances.
1336
1337‍
1338
1339Ce n’est pas moi qui le dit, plusieurs études confirment maintenant que le fait d’être constamment connectés, disponibles et semi-engagés dans le travail, à toute heure de la journée, crée un sentiment d’anxiété grandissant. Cette fausse “flexibilité” peut également créer des conflits avec nos proches ou affecter notre santé négativement, lorsque nous manquons de temps pour nous entraîner, faire à manger ou bien dormir, par exemple.
1340
1341‍
1342
1343##### À l’inverse, instaurer une heure stricte de fin de journée de travail permet entre autres de :
1344
1345‍
1346
1347\\- Restaurer nos ressources émotionnelles et cognitives ;
1348
1349\\- Réduire notre niveau de fatigue ;
1350
1351\\- Augmenter notre sensation de bien-être au quotidien ;
1352
1353\\- Augmenter notre niveau de satisfaction (autant dans la vie qu’au travail!) ;
1354
1355\\- Diminuer notre niveau de stress et le sentiment d’être toujours débordé ; et
1356
1357\\- Augmenter notre engagement et notre motivation face au travail.
1358
1359‍
1360
1361Et ça, c’est sans parler du temps qu’on libère enfin pour aller chercher un cornet de crème glacée, lire un bon livre ou se faire un petit apéro en plein milieu de la semaine!
1362
1363‍
1364
1365Chez Boite Pac, on pense que ça vaut définitivement la peine de changer nos habitudes collectives pour finir - réellement - nos journées à des heures qui ont de l’allure, sans compromis!
1366
1367‍
1368
1369Ok, ok, c’est bien beau tout ça, mais comment fait-on pour finalement en finir avec notre journée de travail? Pour décrocher, déconnecter, mettre la “switch à off”? C’est plus facile à dire qu’à faire, ça, c'est certain, mais voici un mini plan de match inspiré par Joe Robinson, spécialiste en conciliation travail-famille et gestion du stress.
1370
1371Rituel post-travail
1372
1373_→ Routine qui permet de se dissocier de toute pensée liée au travail et de s’engager dans de
1373s expériences qui permettent de ramener notre tête et notre corps à un état pré-stress. AKA un bouton Reset sur lequel on peut appuyer chaque jour!_ 🙌
1374
1375‍
1376
1377**1\\. Détachement** : on laisse le travail au travail et on arrête d’y penser, sans culpabilité! (Difficile pour toi? Prends cinq minutes pour préparer ta journée du lendemain et mettre par écrit les trucs qui tournent en boucle dans ta tête).
1378
1379**2\\. Relaxation** : on prend 30 minutes pour faire une activité qui nous CALME. Ça peut être une petite course, une bonne douche suivie d’une mini séance de méditation, une longue marche pour revenir à la maison, ou tout simplement d’écouter de la musique en prenant le métro.
1380
1381**3\\. Maîtrise** : on fait quelque chose qui nous stimule, mais qui n’est absolument pas lié au travail. Par exemple : on écoute un podcast dont le sujet nous passionne, on apprend à faire une nouvelle recette, on se prépare une petite dégustation de vin, on planifie notre prochain voyage, etc.
1382
1383**4\\. Contrôle** : Finalement, il faut bien prendre le temps de structurer notre vie hors-travail et de se réserver des moments pour nos loisirs, nos passions, notre vie sociale, etc. Quand on y pense, c’est autant, sinon (BEAUCOUP) plus important d’organiser notre vie que nos rencontres clients!
1384
1385‍
1386
1387Et vous, à quelle heure finissez-vous **vraiment** de travailler? Embarquez-vous avec nous dans le mouvement _la-journée-est-finie_?
1388
1389‍
1390
1391Source : \`Work to live\`
1392
1393‍
1394
1395Article écrit par \`Catherine\`, Consultante B Corp (elle/she/her)`,legacyUrl:"https://www.boitepac.com/post/cest-lheure-de-puncher-out"},{slug:"responsabiliser-ses-pratiques-en-tant-quentreprise-de-services",title:"Responsabiliser ses pratiques en tant qu’entreprise de services",date:"2022-05-03",excerpt:"Quand vient le temps de parler d’amélioration de l’impact d’une entreprise, on pense souvent à celle qui base son modèle d’affaires sur la vente de produits. Ce genre d’entreprise pourrait développer des emballages recyc…",cover:"/blog/images/responsabiliser-ses-pratiques-en-tant-quentreprise-de-services-1e0655c5e1.png",coverAlt:"standards B Corp 2026 montréal",content:`_Quand vient le temps de parler d’amélioration de l’impact d’une entreprise, on pense souvent à celle qui base son modèle d’affaires sur la vente de produits.  Ce genre d’entreprise pourrait développer des emballages recyclables ou compostables pour réduire son empreinte écologique. Ou bien, elle pourrait offrir des produits gratuitement aux communautés défavorisées pour améliorer son impact social. Les exemples sont nombreux!_
1396
1397_Par contre, qu’en est-il des entreprises de services? Quel est leur rôle au juste dans l’amélioration de notre société? Maudite bonne question et c’est pourquoi on va en jaser là là!!_
1398
1399### **Avant de commencer, qu’est-ce qu’une entreprise de services ?**
1400
1401On parle surtout de:
1402
1403\\- Cabinet d’avocat/comptable
1404
1405\\- Firme d’ingénierie
1406
1407\\- Agence de pub
1408
1409\\- Agence d’e-commerce
1410
1411\\- Firme de consultation
1412
1413\\- Bref, toutes les entreprises qui n’offrent pas de produits tangibles
1414
1415### **Comment améliorer son impact environnemental lorsqu’on vend des services ?**
1416
1417Il existe plusieurs façons concrètes d’améliorer l’empreinte écologique de ton entreprise. En voici quelques-unes:
1418
1419‍
1420
1421\\- Offre une liste de fournisseurs locaux à l’équipe pour les inciter à choisir des options locales lors de leurs achats. Pour pousser l’initiative plus loin, prend le temps de présenter des nouveaux fournisseurs dans le cadre de lunch & learn avec l’équipe qui seront ajoutés à la liste.
1422
1423‍
1424
1425\\- Partage les ressources adéquates (\`Recyc-Qc\`) afin que l’équipe puisse se départir de leurs déchets électroniques aux bons endroits selon leur localisation.
1426
1427‍
1428
1429\\- Inclus une manière d’éduquer les clients sur les bonnes pratiques environnementales dans l’offre de service. Que ce soit avec des workshops, l’envoi d’infolettres ou l’organisation de webinaires, plusieurs moyens existent pour les inciter à responsabiliser leurs propres pratiques. **‍**
1430
1431‍
1432
1433‍
1434
1435### **Comment améliorer son impact social ?** ‍
1436
1437‍
1438
1439Impact social ça veut dire quoi? En gros, on parle de l’impact que peut avoir une entreprise sur la communauté. Pour une définition plus développée, je t’invite à lire ça\`ici\`.
1440
1441‍
1442
1443Donc, comment concrètement ton entreprise (de services toujours) peut avoir un impact sur sa communauté? Je te l’explique juste ici:
1444
1445‍
1446
1447\\- Offrir ses services de manière pro bono à des OBNL de sa communauté. Si ton entreprise choisit cette option, n’oublie pas de recenser les heures travaillées sur ce projet afin d’amener ce nombre à augmenter à travers les années.
1448
1449‍
1450
1451\\- Partager son expertise et la réalité de son industrie à des jeunes de la rel
1451ève provenant de communautés défavorisées avec des présentations dans les écoles. Cette initiative est un excellent moyen de démocratiser des emplois qui sont parfois méconnus dans certaines communautés.
1452
1453‍
1454
1455\\- Parlant de la relève, pourquoi ne pas offrir des stages d’un jour (ou plus) à des jeunes afin qu’ils comprennent concrètement la réalité de ton domaine.
1456
1457‍
1458
1459‍
1460
1461Tu vois, il existe beaucoup de façons de devenir un acteur de changement en tant qu’entreprise de services. Il s’agit juste de commencer et de plonger! Go, ne manque pas le bateau et viens nous \`jaser\` pour qu’on t’aide à responsabiliser tes pratiques;)
1462
1463‍
1464
1465Article écrit par \`Thomas\`, Consultant B Corp (il/he/him)`,legacyUrl:"https://www.boitepac.com/post/responsabiliser-ses-pratiques-en-tant-quentreprise-de-services"},{slug:"comment-le-4-jours-semaine-a-change-notre-vie",title:"Comment le 4 jours semaine a changé notre vie",date:"2022-01-27",excerpt:"Pour ceux qui ne le savent pas encore, en septembre dernier, Boite Pac a officiellement adopté la semaine de travail réduite. Oui oui, tous les membres de l’équipe travaillent très fort du lundi au jeudi, mais après, hop…",cover:"/blog/images/comment-le-4-jours-semaine-a-change-notre-vie-068ded4b54.png",coverAlt:"standards B Corp 2026 montréal",content:`Pour ceux qui ne le savent pas encore, en septembre dernier, Boite Pac a officiellement adopté la semaine de travail réduite. Oui oui, tous les membres de l’équipe travaillent très fort du lundi au jeudi, mais après, hop! Tout le monde ferme ses dossiers et vaque à ses projets personnels pour 3 jours.
1466
1467En ce qui me concerne, la mise en place de cette initiative tombait à point: Je revenais tout juste de mon ‘’congé’’ de maternité #2. Je me retrouvais donc entrepreneure à gérer différents dossiers et maman de deux enfants de moins de 3 ans. Nul besoin de vous dire que le retour au travail me causait un brin d’anxiété.
1468
1469#### **Ce qui est valorisé**
1470
1471Malheureusement, encore aujourd’hui, on constate que ce qui est valorisé au sein de plusieurs entreprises mène au développement d’une culture toxique. Le fait de sacrifier du sommeil est bien vu (allô les courriels reçus à 5h30 le matin ou à 23h le soir?!) et le fait de faire un nombre exorbitant d’heures de travail est, dans certains cas, non seulement valorisé, mais parfois même normalisé. Ouch!
1472
1473À l’opposé, les entreprises qui prônent et qui développent une culture saine s’attendent à ce que leurs employé(e)s soient passionné(e)s par leur vie à l’extérieur du travail; qu’ils priorisent leur santé physique et mentale et leur famille. C’est même célébré.
1474
1475#### **L’importance de notre équilibre**
1476
1477Chez Boite Pac, nous sommes 3 associés devenus entrepreneurs par désir d'avoir un impact concret dans le monde. Chacun à notre manière, nous voulions prendre part à un changement quant à la définition du succès dans le monde des affaires.
1478
1479Bien que nous ayons beaucoup d’idées en tête pour faire croître l’entreprise et une panoplie de projets stimulants sur lesquels nous travaillons au quotidien, nous avons tous les trois une vie remplie à l’extérieur du travail. Nous accordons une grande importance à notre famille, à nos amis et au développement de nos projets personnels. Aussi passionnés que nous soyons par la mission de Boite Pac, aussi ambitieux, inspirés et carriéristes que nous sommes comme entrepreneurs,  ça a  toujours été très clair pour nous que le travail devait être complémentaire à notre vie personnelle et non à son détriment.
1480
1481#### **Après 5 mois à travailler 4 jours par semaines, voici nos constats:**
1482
1483###### L’efficacité
1484
1485Puisque nos semaines sont très organisées et que nous avons mis en place des méthodes de travail pour optimiser notre temps, certains seront peut-être surpris de l’apprendre, mais nous avons constaté que notre efficacité est augmentée. Nous avons pu mesurer cette donnée en comparant la charge de travail que nous accomplissions avant l’instauration officielle de la semaine de 4 jours avec celle d’après.
1486
1487###### La créativité
1488
1489La créativité ne vient pas toujours sur commande, et dans notre cas, elle vient très rarement lorsque nous sommes assis derrière notre ordinateur. Souvent, les moments qui élucident nos questionnements nous viennent en courant, en lisant ou en changeant de décor. Les vendredis, on s'encourage à activer nos méninges autrement et ça fait du bien ; du bien au moral et du bien pour la croissance de l’entreprise!
1490
1491###### L’équilibre
1492
1493Évidemment, une journée de moins à travailler = une journée de plus à vaquer à ses occupations ou à ses obligations personnelles. On parle ici d’une grande journée destinée à lire, planifier des rendez-vous de bien-être, s’entraîner, aller faire les courses, se débarrasser du ménage ou passer du temps de qualité avec ses proches. Pas toujours évident de tendre vers l’équilibre, mais avec une journée de plus sans travail, on y arrive beaucoup plus.
1494
1495###### Le budget
1496
1497Qui dit manque de temps pour cuisiner dit: Resto!
1498
1499Qui dit manque de temps pour déconnecter dit: Besoin de s’évader
1500
15012 exemples plutôt banals, mais ô combien vrais! En adoptant la semaine de 4 jours, on s’est mis à cuisiner davantage et à diminuer l’achat de repas de dernière minute. De plus, puisqu’on n’arrive pas complètement brûlé à la fin de nos semaines ou de nos mois, on ressent moins le profond besoin de se payer la traite d’une façon ou d’une autre!
1502
1503###### La charge mentale
1504
1505En tant que maman et future maman, on vous assure que la charge mentale grandement allégée en sachant qu’une journée de plus par semaine pourra être c
1505onsacrée à l’achat de couches, au rendez-vous chez le médecin à l’inscription aux cours de natation ou à l’achat d’items pour la nouvelle chambre de bébé. Bonjour douceur mentale!
1506
1507###### Le bien-être
1508
1509Nous avons tous les trois pris l’habitude de planifier des rendez-vous bien-être les vendredis. Que ce soit un rendez-vous chez le psychologue ou un massage, on sait qu’on peut compter sur notre vendredi de congé pour prendre soin de notre corps et de notre esprit.
1510
1511###### L’anxiété
1512
1513Vous savez, la boule qu’on peut ressentir le dimanche soir, à la veille de retourner au bureau?  Ou bien ce voile d'angoisse qui nous prend lorsqu’on termine nos vacances et qu’on s’apprête à retourner au travail ?  Dans notre cas, le fait de travailler 4 jours par semaine a considérablement réduit notre niveau d'anxiété, sachant que, tous les vendredis, nous aurions le _**temps**_ de profiter de la vie.
1514
1515###### L’implication en société
1516
1517Pas facile de donner de son temps quand on en manque nous-mêmes! Le vendredi de congé nous permet de prendre part à différents projets de société qui nous touchent.
1518
1519###### L’impact environnemental
1520
1521Nous prenons le temps d’acheter localement et de consommer des produits responsables. Nous évitons également de nous déplacer vers le bureau les vendredis!
1522
1523‍
1524
1525Quoi qu’il en soit, entrepreneur·e·s, on vous encourage à repenser votre modèle d'affaires. Employé·e·s, on vous encourage à aller de l’avant en présentant un plan pour faire changer les choses. On ne le répètera jamais assez: Il n’y a que des avantages à travailler moins, mais mieux.
1526
1527Pour savoir comment s’y prendre afin d’instaurer la semaine réduite de travail, inscrivez-vous à notre [formation](https://www.eventbrite.ca/e/semaine-de-4-jours-comment-faire-le-saut-etape-par-etape-tickets-256236067977) ou encore, allez jeter un coup d’œil à notre [article](https://www.boitepac.com/post/les-avantages-de-la-semaine-de-4-jours) sur le sujet.
1528
1529Article écrit par [**Judith, Consultante B Corp (elle/she/her)**](https://www.boitepac.com/)`,legacyUrl:"https://www.boitepac.com/post/comment-le-4-jours-semaine-a-change-notre-vie"},{slug:"changeons-notre-perception-de-la-maternite-en-entreprise",title:"Changeons notre perception de la maternité en entreprise",date:"2021-11-01",excerpt:"Pourquoi faut-il changer notre perception de la maternité en entreprise?",cover:"/blog/images/changeons-notre-perception-de-la-maternite-en-entreprise-e9cf3eb077.png",coverAlt:"standards B Corp 2026 montréal",content:`#### **Pourquoi faut-il changer notre perception de la maternité en entreprise?**
1530
1531Pour une femme enceinte, appliquer sur un nouveau poste est une situation des plus angoissantes.
1532
1533_«_ Non, c’est sûr que je ne leur en parle pas voyons! _»_
1534
1535_«_ Je vais m’habiller en lousse, comme ça, ça ne paraîtra pas! _»_
1536
1537_«_ J’suis vraiment stressée, mais je ne peux pas leur dire quand même! _»_
1538
1539#### **Les peurs sournoises de la maternité**
1540
1541La gêne, voire la honte nous guette, et comme si ce n’était pas assez de se préparer pour un entretien d’embauche régulier, on doit également se préparer à détourner toutes questions sensibles qui pourraient laisser place à l’interprétation d’une grossesse en cours, ou imminente. Et pourtant, en quoi les capacités intellectuelles d’une femme sont minées par sa grossesse?
1542
1543Cette même angoisse persiste quand on annonce notre grossesse, lorsqu’on parle de la longueur de notre congé de maternité ainsi qu’à notre retour au travail. La peur de perdre son poste, la peur d’être “en retard” sur les autres.
1544
1545Les mères sont pourtant très souvent les talents les plus productifs d’une entreprise, car elles ont le sens de l’optimisation. Une recherche européenne sur le sujet nous a révélé que les femmes avec enfants sont légèrement plus productives que les autres(1).
1546
1547#### **Des changements nécessaires**
1548
1549Ne perdons pas de temps à déterminer à qui la faute et pensons plutôt à ce qui pourrait être possible.
1550
1551On jase.
1552
1553Et si les entreprises prônaient et valorisaient l’embauche de femmes enceintes?
1554
1555Et si les organisations avaient une structure en place pour accompagner les femmes enceintes dans leurs besoins?
1556
1557Et si les entreprises offraient un re-onboarding pour les employées qui reviennent de leur “congé” de maternité?
1558
1559Et si les entreprises offraient un horaire flexible pour accommoder les parents?
1560
1561Vous connaissez la chanson: Un·e employé·e qui se sent soutenu(e) dans son développement personnel par son employeur est un(e) employé(e) heureux(se).
1562
1563Un·e employé·e heureux·se, est un·e employé·e qui reste.
1564
1565Quand on s’apprête à devenir parent, que ce soit pour la première fois, ou pour la quatrième fois, n’est-ce pas ici l’un des projets ‘’pers
1565onnels’’ des plus gigantesques qu’une employée puisse vivre?
1566
1567Et si les employeurs étaient des alliés dans la réalisation de ce projet?
1568
1569Et si embaucher une femme enceinte était gage de rétention, de santé et de bonheur des employé(e)s
1570
1571Et si le succès d’une entreprise passait par une culture d’inclusivité?
1572
1573_Nous, Judith et Alexandra, sommes 2 entrepreneures carriéristes et, respectivement, mère de 2 jeunes enfants et très prochainement maman.  Bien que la société nous poussait parfois à penser autrement, nous avons pris et allons prendre nos congés de maternité avec grande fierté. Nous avons également parlé de nausées, de fatigue, de rendez-vous chez le médecin, de plancher pelvien, d’allaitement et d’une panoplie d’autres sujets qui peuvent peut-être sembler banals, mais détrompez-vous, ils ne le sont pas! Nous savons toutes les deux que nous avons beaucoup de chance d’avoir un homme progressiste à nos côtés comme associé ( et on le dit souvent: Thomas, merci d’être qui tu es!).   Mais notre situation ne devrait pas être une exception.  Elle devrait être la norme, un point c’est tout._
1574
1575‍
1576
1577Article écrit par \`Alexandra\`(elle/she/her) et\`Judith\`(elle/she/her), Consultantes B Corp`,legacyUrl:"https://www.boitepac.com/post/changeons-notre-perception-de-la-maternite-en-entreprise"},{slug:"portrait-de-changemaker-camille-de-niche",title:"Portrait de changemaker : Camille de Niché",date:"2021-09-30",excerpt:"C’est quoi ton hell yes?- La chose que tu regardes en premier quand tu cherches une job",cover:"/blog/images/portrait-de-changemaker-camille-de-niche-74540cdc3e.png",coverAlt:"standards B Corp 2026 montréal",content:`#### **C’est quoi ton hell yes?- La chose que tu regardes en premier quand tu cherches une job**
1578
1579La flexibilité !
1580
1581J’ai besoin d’un employeur qui comprend les réalités d’un.e employé.e; avoir des rendez-vous chez le dentiste, avoir envie de voir ses enfants le soir, d’aller travailler au chalet de temps en temps.
1582
1583La flexibilité, c'est beaucoup plus qu’une ligne dans une offre d’emploi, ça se concrétise de plusieurs manières au sein d’une entreprise et c’est pour moi un critère vraiment important.
1584
1585#### **C’est quoi ton hell no?- Ce qui te ferait dire non sans hésiter à une job**
1586
1587Être la seule personne de l’entreprise à pouvoir faire un poste et des tâches précises. Pour moi c’est synonyme non seulement d’une mauvaise gestion, mais aussi d’une pression énorme envers l’équipe.
1588
1589Personne ne devrait être l’unique référence sur un dossier, vivement la polyvalence et la collaboration !
1590
1591‍
1592
1593#### **Quel est ton impact personnel dans l’entreprise? Ex: qu’est-ce que tu fais concrètement pour améliorer la culture de ton entreprise?**
1594
1595Prendre du temps pour les autres, c’est si facile et pourtant souvent négligé. Il m’arrive souvent de juste téléphoner à un collègue pendant la journée pour lui souhaiter une bonne journée et prendre des nouvelles. Je raccroche avec le sourire et j’ose croire que la personne au bout de la ligne aussi ! Ne jamais sous-estimer le pouvoir de l’écoute !
1596
1597‍
1598
1599‍
1600
1601#### **Quelle est ta condition de travail(perk) préférée?**
1602
1603‍
1604
1605Quand la pandémie est arrivée en 2020, le domaine de l’événementiel a été durement impacté. J’ai donc profité de ce moment d’accalmie pour retourner aux études, pour en apprendre plus sur une de mes passions : les fleurs et les plantes !
1606
160710 mois plus tard, avec un diplôme de fleuristerie en poche, j’ai officiellement deux métiers : chargée des opérations internes en événementiel et fleuriste !
1608
1609Selon moi, m’offrir la possibilité d’avoir deux emplois en même temps, c’est le plus beau _perk_ que mes employeurs pouvaient m’offrir. J’ai réalisé que faire du 40h semaine derrière mon ordinateur, ce n’était pas l’idéal pour mon corps et ma tête. J’avais besoin d’avoir quelques journées de travail plus physique, qui me demandent aussi beaucoup de créativité. Je divise donc mes semaines avec 25h chez Niché et 15h chez Prune les fleurs, c’est pour moi l’équilibre parfait !
1610
1611‍
1612
1613‍
1614
1615#### **Quelle est la pratique responsable la plus originale de ton employeur?**
1616
1617Le télétravail a amené son lot d’avantages et de désavantages et parmi ceux-ci; la connectivité en tout temps.
1618
1619On s’est rendu compte que c’était vraiment facile de répondre à un courriel ou un 
1619Slack en soirée, parce que l’ordi était accessible et prêt à être utilisé, « alors pourquoi ne pas régler ça immédiatement ».
1620
1621Nous avons donc instauré une politique pour que personne n'écrive ou ne reçoive de messages sur l’heure du lunch et passé 17h00. Si jamais un employé veut travailler de soir pour quelconque raison, il programme ses courriels pour le lendemain, afin de ne pas déranger les autres avec les notifications engendrées par ces logiciels.
1622
1623Ça fonctionne vraiment bien et on s’encourage tous à respecter la politique. Il faut apprendre à déconnecter pour être plus en santé.
1624
1625‍
1626
1627Article écrit par \`Alexandra\` **,** Consultante B Corp (elle/she/her)`,legacyUrl:"https://www.boitepac.com/post/portrait-de-changemaker-camille-de-niche"},{slug:"portrait-de-changemaker-ben-de-new-mode",title:"Portrait de changemaker : Ben de New/Mode",date:"2021-08-05",excerpt:"C’est quoi ton hell yes? - La chose que tu regardes en premier quand tu cherches une job",cover:"/blog/images/portrait-de-changemaker-ben-de-new-mode-09a289e633.png",coverAlt:"standards B Corp 2026 montréal",content:`#### **C’est quoi ton hell yes? - La chose que tu regardes en premier quand tu cherches une job**
1628
1629Salaire. Pas parce que c’est seulement le cash qui me motive! Je veux seulement éviter un poste qui ne me permettrait pas de vivre.
1630
1631#### **C’est quoi ton hell no? - Ce qui te ferait dire non sans hésiter à une job**
1632
1633Les clichés utilisés pour masquer l’environnement toxique du genre “une équipe hyper motivée qui deviendra rapidement ta famille”.
1634
1635#### **Quel est ton impact personnel dans l’entreprise? Ex: qu’est-ce que tu fais concrètement pour améliorer la culture de ton entreprise?**
1636
1637Je partage nos offres d’emploi sur Slack avec des réseaux d’emploi pour groupes minoritaires. Pour que mes collègues sachent que je suis là pour eux, j’offre beaucoup de mon temps à mes collègues pour des conversations 1v1. Lors des Zooms je fais tout pour rester attentif à la personne qui parle.
1638
1639‍
1640
1641#### **Quelle est ta condition de travail(perk) préférée?**
1642
1643Des périodes sabbatiques - il y avait une époque de ma vie où Stefan Sagmeister m’inspirait beaucoup.
1644
1645#### **Quelle est la pratique responsable la plus originale de ton employeur?**
1646
1647[New/Mode](https://www.newmode.net/home) est un logiciel efficace pour le plaidoyer numérique  offert uniquement aux causes progressives de nos jours. Nous sommes sévères avec notre politique...car nous travaillons dans la politique! Sans cette pratique, plusieurs projets de loi autour de monde n’auront pas été adoptés.
1648
1649‍
1650
1651Article écrit par \`Alexandra\` **,** Consultante B Corp (elle/she/her)`,legacyUrl:"https://www.boitepac.com/post/portrait-de-changemaker-ben-de-new-mode"},{slug:"portrait-de-changemaker-camille-de-linkedin",title:"Portrait de changemaker : Camille de LinkedIn",date:"2021-06-02",excerpt:"C’est quoi ton hell yes?- La chose que tu regardes en premier quand tu cherches une job",cover:"/blog/images/portrait-de-changemaker-camille-de-linkedin-8eb22f3431.png",coverAlt:"standards B Corp 2026 montréal",content:`#### **C’est quoi ton hell yes?- La chose que tu regardes en premier quand tu cherches une job**
1652
1653Les HUMAINS avec qui je vais partager une bonne partie de mon quotidien (virtuellement ou en personne!). Avant même d’appliquer pour un poste, je trouve une façon de parler à plusieurs membres de l'équipe pour me faire une tête. J’observe beaucoup la place que prend l’HUMOUR au sein de l’entreprise et de l'équipe.  L’humour est synonyme d'humilité, de connexion humaine,  de créativité, de plaisir et de communication authentique - tout ce qui est essentiel pour une culture organisationnelle saine. Les entreprises les plus innovantes sont collaboratives, ludiques et amusantes, car elles encouragent les gens à explorer, à prendre des risques intelligents et à remettre en question le statu quo. Une entreprise qui se parodie dit au monde " _Nous pouvons le faire parce que nous avons confiance en qui nous sommes et en ce que nous croyons. Et, guess what, nous ne sommes pas parfaits_." C’est pas pour rien que j’ai choisi LinkedIn - l’un des 5 piliers de LinkedIn est l’humour. “Changing the world is hard work, it’s important to have a few laughs along the way”. **‍**
1654
1655‍
1656
1657#### **C’est quoi ton hell no?- Ce qui te ferait dire non sans hésiter à une job**
1658
1659**‍** Les meilleures entreprises demandent régulièrement du feedback aux employés et agissent en conséquence pour améliorer les choses.
1660
1661Dans une entrevue, je cherche toujours à savoir quelle est la culture autour du feedback. Par exemple, si la compagnie est incapable de me fournir des exemples concrets de choses qui ont changé dû au feedback des employés, je n’irai pas de l’avant dans le processus d’embauche. Si les personnes qui fournissent le feedback et les personnes qui le sollicitent ne se sentent pas suffisamment “en sécurité” pour partager des informations franches et transparentes sans crainte de répercussions, je ne vois pas comment l’entreprise peut évoluer dans la bonne direction et prendre soin de son actif principal, son capital humain.
1662
1663Anecdote: J’ai déjà posé la question dans une entrevue: Que pensez-vous qu’il se passerait si j’envoyais un courriel avec une suggestion au dirigeant de l’entreprise? Mon interviewer a ri et a enchaîné avec la prochaine question. Ça en dit beaucoup sur la personnalité de l’entreprise. Je n’ai pas accepté l’offre d’emploi. **‍**
1664
1665‍
1666
1667#### **Quel est ton impact personnel dans l’entreprise? Ex: qu’est-ce que tu fais concrètement pour améliorer la culture de ton entreprise?**
1668
1669LinkedIn a plus d’une dizaine de  “ _Employee Resource Group (ERG)_”, c-a-d des groupes d'employés qui, en plus de leurs responsabilités principales, mettent sur pied des initiatives communautaires visant à adresser certaines problématiques ou soutenir des groupes sous-représentés (GoGreen,Black Inclusion Group, Military & Veterans, etc.). Je suis la Lead pour GoGreen au Canada. Autrement dit, en plus de mon rôle comme gestionnaire-client, je mets sur pied des initiatives pour sensibiliser mes collègues à la cause environnementale. Dans la dernière année, nous avons notamment organisé un évènement avec une nutritionniste végétalienne, un évènement avec une spécialiste en DIY pour apprendre à faire son propre déodorant, puis un défi “anti-plastique”. C’est ma contribution à la culture LinkedIn et au sentiment d’appartenance dont parlent les employés. **‍**
1670
1671‍
1672
1673#### **Quelle est ta condition de travail préférée?**
1674
1675LinkedIn encourage ses employés à prendre une journée par mois pour investir en eux-mêmes en dehors de leurs responsabilités principales. Une journée pour soi, pour inspirer les autres ou innover. Cette journée est appelée Investment Day ou _InDay._ ‍
1676
1677À chaque mois, LinkedIn présente un thème différent et des activités pour aider les employés à décrocher de leurs tâches quotidiennes. Par exemple, en Juin, chaque année, c’est le thème du Jeu et plusieurs activités extérieures sont organisées (olympiades, courses à relai, jeux de société) pour apprendre à connaître nos collègues différemment. En Juillet, c’est le thème de la famille et nous avons une journée “Bring Your Parents to Work”. Nos parents sont invités dans nos bureaux! Que tu sois au bureau de Bangalore, New York ou Toronto, tous les employés passent du temps ensemble pour construire la culture dans laquelle ils veulent travailler. **‍**
1678
1679‍
1680
1681#### **Quelle est la pratique responsable la plus originale de ton employeur?**
1682
1683Chaque année, LinkedIn crée un _Culture Camp_, une expérience immersive de 3 jours où les Leads des _Employee Resource Groups,_ ont l’occasion de rencontrer les représentants des différents bureaux à travers le monde. C’est l’occasion pour nous de faire le point sur la dernière année, de mettre sur pied un agenda pour la prochaine année et de discuter des possibilités de collaboration entre les différents groupes. À titre d’exemple, c’est grâce au Culture Camp que GoGreen a pu collaborer avec BIG (Black Inclusion Group) pour mettre sur pied une conférence sur l’intersection entre les enjeux environnementaux et les injustices raciales. Le fait que LinkedIn nous encourage à prendre 3 jours à l'extérieur du bureau pour développer des initiatives communautaires en dit beaucoup sur les valeurs de l’entreprise. **‍**
1684
1685‍
1686
1687#### **Quelle citation incarne le mieux ton** _**mojo**_ **au travail?** [‍](http://evene.lefigaro.fr/citation/faut-avoir-peur-bonheur-seulement-bon-moment-passer-19714.php)
1688
1689“Il ne faut pas avoir peur du bonheur. C'est seulement un bon moment à passer.â€
1689\\- Romain Gary
1690
1691‍
1692
1693Article écrit par \`Alexandra\` **,** Consultante B Corp (elle/she/her)`,legacyUrl:"https://www.boitepac.com/post/portrait-de-changemaker-camille-de-linkedin"},{slug:"portrait-dune-changemaker-genevieve-de-designstripe",title:"Portrait de changemaker : Geneviève de designstripe",date:"2021-05-05",excerpt:"Dans le but de vous inspirer à créer des espaces de travail inclusifs, équilibrés, diversifiés, innovants (bref, sa coche), on s’est dit que ce serait une pas pire idée de vous présenter des portraits de changemaker qui…",cover:"/blog/images/portrait-dune-changemaker-genevieve-de-designstripe-37e4e59fd7.png",coverAlt:"standards B Corp 2026 montréal",content:`Dans le but de vous inspirer à créer des espaces de travail inclusifs, équilibrés, diversifiés, innovants (bref, sa coche), on s’est dit que ce serait une pas pire idée de vous présenter des portraits de _changemaker_ qui mangent de l’innovation pour déjeuner.
1694
1695On débute la série avec la présentation de Geneviève (Jenny pour les intimes) de l’entreprise [designstripe](https://www.designstripe.com/).
1696
1697‍
1698
1699#### **C’est quoi ton hell yes?- La chose que tu regardes en premier quand tu cherches une job.** ‍
1700
1701PEOPLE. It’s all about the people! Pour vrai, le fait de m'entourer de personnes qui comprennent ma _valeur_, voient mon potentiel, utilisent mes forces et me laissent m’épanouir est essentiel.
1702
1703‍
1704
1705#### ‍ **C’est quoi ton hell no?- ce qui te ferait dire non sans hésiter à une job.** ‍
1706
1707Wow bonne question. Il y a plusieurs “couches”. La première est l’impact sur la planète et la société. Si la compagnie contribue à un problème qui heurte mes valeurs, je ne pourrais jamais y travailler. Ensuite, le manque de flexibilité. S’il faut que je suive trop de règles (bureau physique sans option de télétravail, code vestimentaire, heures de travail fixes, etc) c’est un gros non pour moi. Enfin, l’équipe. Si je ne suis pas inspirée par mon équipe, mes collègues, mes supérieurs, je ne pourrais jamais y travailler.
1708
1709‍
1710
1711#### **C’est quoi ton impact personnel dans l’entreprise? Ex: qu’est-ce que tu fais concrètement pour améliorer la culture de ton entreprise?** ‍
1712
1713J’ai la chance d’avoir (selon moi) la meilleure job au monde, soit celle d’être responsable de créer un environnement de travail et une culture qui permettent à mon équipe de s’épanouir et d’être la meilleure version d’eux-mêmes. J’étais l’employée #1 dans la compagnie, responsable Culture & Talent. Dès le jour 1, ça a été mon mandat et ma vocation. Voici quelques actions concrètes que je fais pour mon équipe:
1714
1715‍
1716
17171- Leur permettre de développer leur introspection personnelle et être au courant de leurs forces & de l’impact qu'elles peuvent avoir sur la compagnie (strength based culture, Clifton Strength Assessment, rencontre entre collègues )
1718
17192- Mettre en place des valeurs qui guident leurs actions et décisions au quotidien (nous avons des valeurs solides depuis la naissance de la compagnie) et l’équipe contribue à l’évolution de celles-ci. (atelier sur nos valeurs, sondage hebdomadaire via Officevibe, entrevue en personne)
1720
17213- Les supporter dans leur évolution professionnelle (mentorat informel, coaching bimensuel, culture de feedback au quotidien, suivi de leur progression dans leur rôle)
1722
17234- Leur offrir des outils concernant la prise en charge de leur bien-être (formation continue sur la science du bien-être, ateliers, challenges d’équipe, partage de connaissances et outils)
1724
17255- Créer un environnement transparent où ils se sentent à l’aise d’exprimer tout “blocker” potentiels qu’ils peuvent rencontrer (daily standup sur Slack, question Officevibe, questionnaire guidé sur le feedback transparent, etc)
1726
1727‍
1728
1729#### **Quelle est ta condition de travail préférée?** ‍
1730
1731Le fait d’être une équipe 100% “asynchronous”, distribuée à travers le monde et centrée sur le bien-être. J’ai triché...j’ai partagé 3 concepts, mais ils coexistent tous!
1732
1733‍
1734
1735Je travaille d’où je veux, quand je veux. Cet été, je suis partie vivre en Colombie-Britannique avec mon copain (ça fait 8 mois qu’on y vit), et j’ai travaillé de ma van durant le road trip. Je suis sur une nouvelle “timezone” (3 heures de différence avec Montréal) et ça n’a que rendu mon travail plus productif puisque j’y ai intégré des activités de plein air au quotidien.
1736
1737‍
1738
1739On travaille tous sur un cycle de 24 heures, donc on n'est jamais dans un “rush” immédiat. Je peux toujours planifier ma journée la veille et elle ne sera pas chamboulée par des “rush” de dernière minute. Je protège donc mon temps précieux pour mes activités de bien-être et j’arrive à les honorer, car on travaille tous sur ce même cycle et on s’encourage mutuellement à prendre du temps pour recharger nos batteries.
1740
1741‍
1742
1743#### **Quelle est la pratique responsable la plus originale de ton employeur?** ‍
1744
1745Ça c’est moi! Je ne veux pas me vanter, loin de là, mais j’avoue que je suis assez fière de ma politique de vacances. Voici pourquoi. Tu sais, dans les startups, on travaille fort, beaucoup et souvent sans relâche. Quand on te dit “prend des vacances”, tu hésites, tu te sens mal, tu es souvent le seul à pouvoir faire ta job (on est une petite équipe, surtout au début) donc mÃ
1745ªme quand tu pars prendre tes vacances, tu as un petit fond de culpabilité.
1746
1747‍
1748
1749Tu regardes tes courriels, tu vas sur Slack, BREF tu décroches PAS. Selon moi, ça c’est PIRE, car tu profites même pas et ensuite tu n’associes pas tes vacances à un bon moment. Pour moi, c’est super important que mon équipe prenne des vacances. Des vraies. Qu’ils décrochent. Ils sont mon équipe olympique, j’ai besoin qu’ils soient reposés, en santé et heureux. Je ne peux pas me permettre d’avoir une équipe brûlée, fatiguée et aliénée. DONC j’ai mis en place un bonus de vacances.
1750
1751‍
1752
1753Une fois par année, lorsque tu prends ta première semaine de vacances au complet et 100% déconnectée (5 jours consécutifs, sans être en ligne), tu reçois un extra 1000$ USD à ta prochaine paie. Hell yeah! Ton employeur veut tellement que tu prennes des vacances et que tu les savoures, qu’il te paie pour. Le message est clair et super bien reçu, l’équipe se sent réellement bien de prendre du temps pour décompresser, et en plus, ils peuvent se gâter s’ils veulent et rendre cette première semaine de vacances mémorable. :)
1754
1755‍
1756
1757Article écrit par \`Alexandra\` **,** Consultante B Corp (elle/she/her)`,legacyUrl:"https://www.boitepac.com/post/portrait-dune-changemaker-genevieve-de-designstripe"},{slug:"comment-redefinir-le-succes-en-affaire",title:"Comment redéfinir le succès en affaire?",date:"2021-04-20",excerpt:"Vous avez probablement déjà entendu parler du mouvement B Corp. Chez Boite Pac, on y croit vraiment. En fait, on y croit tellement que nous sommes en voie d’être certifiés B Corp et tous les jours, nous accompagnons des…",cover:"/blog/images/comment-redefinir-le-succes-en-affaire-76689fac49.png",coverAlt:"standards B Corp 2026 montréal",content:`Vous avez probablement déjà entendu parler du mouvement B Corp. Chez Boite Pac, on y croit vraiment. En fait, on y croit tellement que nous sommes en voie d’être certifiés B Corp et tous les jours, nous accompagnons des entreprises dans leur processus de certification.
1758
1759Dans notre article [redéfinissons le succès en affaires](https://www.boitepac.com/post/redefinissons-le-succes-en-affaires), on vous explique notre vision. Pourquoi on pense que les entreprises doivent passer à l’action? On pourrait en parler longtemps, mais voici quelques raisons:
1760
1761‍
1762
17631-La planète a franchement besoin d’entreprises plus responsables
1764
17652- Les prochaines générations veulent travailler pour des employeurs qui ont le bien-être de la société à cœur
1766
17673- Les consommateurs recherchent, eux aussi, des services/produits responsables.
1768
17694- Parce que c’est franchement valorisant d’être un acteur de changement
1770
1771‍
1772
1773Dans ce webinaire d’exactement 23min51, on vous parle de comment, vous aussi, vous pouvez revoir votre modèle du succès. Vous apprendrez:
1774
1775‍
1776
17771- L’histoire derrière le mouvement B Corp
1778
17792- Les piliers de la certification
1780
17813- Concrètement, quelles sont les initiatives à mettre en place
1782
17834- Ça ressemble à quoi des initiatives B Corp inspirantes
1784
1785‍
1786
1787Si vous vous êtes rendus jusqu’ici, c’est déjà super. Puis, si vous voulez aller plus loin, on est là! [‍](https://www.youtube.com/watch?v=gEPtfxGY1Gc&ab_channel=BoitePac)
1788
1789[https://www.youtube.com/watch?v=gEPtfxGY1Gc&ab\\_channel=BoitePac](https://www.youtube.com/watch?v=gEPtfxGY1Gc&ab_channel=BoitePac)
1790
1791[‍](https://www.youtube.com/watch?v=gEPtfxGY1Gc&ab_channel=BoitePac)
1792
1793Article écrit par \`Thomas\`, Consultant B Corp (il/he/him)`,legacyUrl:"https://www.boitepac.com/post/comment-redefinir-le-succes-en-affaire"},{slug:"avoir-de-limpact-ca-veut-dire-quoi",title:"''Avoir de l'impact'' ça veut dire quoi?",date:"2021-02-09",excerpt:"'’Améliorez votre impact’’. '’Faites attention à l’impact de votre entreprise’’. '’Misez sur votre impact’’. '’Mettez votre impact au cœur de votre modèle d'affaires’’. '’Les millénales et la Gen Z accordent énormément d…",cover:"/blog/images/avoir-de-limpact-ca-veut-dire-quoi-423034e8af.png",coverAlt:"standards B Corp 202
17936 montréal",content:`_'’Améliorez votre impact’’.  '’Faites attention à l’impact de votre entreprise’’.  '’Misez sur votre impact’’.  '’Mettez votre impact au cœur de votre modèle d'affaires’’.  '’Les millénales et la Gen Z accordent énormément d’importance à l’impact.’’_
1794
1795OKAY, mais ça veut dire quoi au juste ‘’Avoir de l’impact’’ ?
1796
1797On te l’accorde, le terme a été galvaudé dans les derniers temps, presque brûlé même.  Et ce, peut-être avant qu’on en comprenne encore le sens.  Il n’empêche qu’il n’en est pas moins important pour autant.
1798
1799Avant tout, on pourrait définir l’impact d’une entreprise par son apport ou son amoindrissement envers ses parties prenantes.  Par parties prenantes, on entend toutes les sphères qui gravitent autour de l’entreprise: Ses employé(e)s, ses fournisseurs, ses clients, sa communauté, ses partenaires et l’environnement dans lequel elle se trouve.
1800
1801C’est large l’impact et il y a plusieurs façons de s’y attaquer.  L’idée, c’est de ne pas tomber dans le piège en voulant tout faire en même temps.  _Take a chill pill_, fait l’état des priorités et crée un plan d’action.  Si tu n’as jamais nagé, couru ni fait de vélo, l’idée de se lancer dans un triathlon est franchement très excitante, mais il demeure que les premières étapes devraient ressembler à l’achat d’un maillot, l’apprentissage de la natation et la création d’un plan d’entraînement.  Le commencement quoi!  Eh bien, c'est la même chose pour l’impact d’une entreprise.   Enfin, presque!
1802
1803On t’entend, il peut être facile de s’y perdre; de ne pas savoir par où commencer, de se retrouver à un point où il est difficile d’évaluer le résultat de notre travail ou d’avoir l’impression que les mesures de succès sont arbitraires.  Comme dans tout bon projet, il faut se doter des bons outils, et ce, idéalement, avant de débuter.  Dans le cas d’une entreprise qui voudrait responsabiliser ses pratiques d’affaires, un des meilleurs outils pour mesurer l’efficacité de son modèle d’affaires, sous une loupe responsable, est la certification B Corp.  Celle-ci permet non seulement de faire état de l’impact de l’entreprise en se basant sur 5 piliers (gouvernance, employé(e)s, communauté, environnement et clients), mais propose également des façons de combler les gaps de l’entreprise en la guidant avec un plan d’action.
1804
1805En gros, le questionnaire B Corp qui sert d’outil d’évaluation (BIA, pour _B Impact Assessment_) permettra d’évaluer à quoi ressemblent les activités de l’entreprise et leurs impacts.  À l’interne, l’évaluation portera entre autres sur le processus de formation des nouveaux employé(e)s, la formation continue, le niveau de diversité et d’inclusion.  Pour ce qui est externe à l’entreprise, on évaluera si l’organisation a un impact positif sur sa communauté, sur la planète, etc.
1806
1807Une fois l'évaluation 360 terminée, le BIA permettra d’orienter l’entreprise sur les mesures à prendre pour une responsabilisation de ses pratiques efficace et durable.
1808
1809Ça peut paraître laborieux, concilier profits et responsabilité pour une entreprise, mais il y a quelque chose de rafraîchissant, inspirant, et même sexy à concrétiser tout ça!
1810
1811On te le dit, en 2021, il faut prendre le tournant responsable et devenir un vecteur de changement positif.  Ne manque pas le bateau et viens nous \`jaser\`!
1812
1813‍
1814
1815Article écrit par \`Thomas\`, Consultant B Corp (il/he/him)`,legacyUrl:"https://www.boitepac.com/post/avoir-de-limpact-ca-veut-dire-quoi"},{slug:"redefinissons-le-succes-en-affaires",title:"Redéfinissons le succès en affaires",date:"2020-12-09",excerpt:"Mais qui inspire donc le changement dans notre société? Qui mène la transformation et l’amélioration de nos communautés? Qui décide de conjuguer création de valeur et résolution de problème? La réponse: les entrepreneurs…",cover:"/blog/images/redefinissons-le-succes-en-affaires-c7468df109.jpg",coverAlt:"standards B Corp 202
18156 montréal",content:`Mais qui inspire donc le changement dans notre société?  Qui mène la transformation et l’amélioration de nos communautés? Qui décide de conjuguer création de valeur et résolution de problème?   La réponse: les entrepreneurs sociaux.
1816
1817Détrompez-vous, les organisations qui choisissent de créer de la valeur à long terme pour la société et pour l’environnement ne sont pas nécessairement des organismes à but non lucratif.  Les chef·fes d’entreprises qui décident d’allier croissance et mission sociale sont des entrepreneurs sociaux.  Leur objectif demeure de faire croître leur organisation certes, mais sans que ce soit au détriment des populations vulnérables ou de l’environnement. Pire encore, des deux!
1818
1819‍
1820
1821Boite Pac, comme bien des autres, pense qu’il est grand temps de redéfinir le succès en affaires, et on croit que c’est en mettant de l’avant et en prônant des pratiques plus responsables qu’on va être en mesure d’y arriver.  L’entrepreneuriat social est selon nous le modèle d’affaire de l’avenir.  Bien que la mission sociale ne soit pas au cœur de la raison d’être de plusieurs entreprises, nous pensons qu’elles ont toutes le pouvoir d’amorcer un changement et d’ainsi contribuer au bien-être collectif.
1822
1823Les entreprises ont tout avantage à faire de leur impact une priorité.  Non seulement pour assurer la croissance de leur organisation, mais **pour offrir à notre société une meilleure justice, et à notre planète un meilleur avenir.** En mettant sur un même pied d’égalité profits et impact, l’entreprise se positionne comme une société avant-gardiste, responsable, noble, et selon nous, **sexy!**
1824
1825‍
1826
1827Boite Pac s’est donné comme mission de démocratiser l’amélioration de l’impact en entreprise. On croit que les organisations ont le pouvoir d’amorcer un changement actif pour contribuer concrètement au bien-être de notre communauté.  On les accompagne dans la responsabilisation de leurs pratiques, notamment en les guidant vers l’obtention de la **certification B Corp** qui régie les plus hauts standards de performance sociale et environnementale pour une entreprise.
1828
1829‍
1830
1831Parce qu’on croit qu’ensemble, on peut concrètement changer les choses;
1832
1833Parce qu’on croit que c’est non seulement possible, mais important pour une organisation d’être à la fois responsable et profitable;
1834
1835Parce qu’on croit que le Québec peut devenir un berceau important d'entreprises responsables à travers le monde;
1836
1837On est prêt à unir nos forces avec vous, entrepreneur·e·s qui osent redéfinir le succès en affaires.
1838
1839‍
1840
1841Pour en savoir plus sur nos services, venez nous \`jaser\`!
1842
1843‍
1844
1845Article écrit par \`Judith\` **,** Consultante B Corp (elle/she/her)`,legacyUrl:"https://www.boitepac.com/post/redefinissons-le-succes-en-affaires"},{slug:"what-businesses-can-learn-from-patagonia",title:"What businesses can learn from Patagonia",date:"2020-12-04",excerpt:"In 1991, Yvon Chouinard, founder of the well-known sports brand Patagonia was facing a huge challenge. Patagonia was simply growing too fast.",cover:"/blog/images/what-businesses-can-learn-from-patagonia-5ff5c44cb5.png",coverAlt:"standards B Corp 2026 montréal",content:`In 1991, Yvon Chouinard, founder of the well-known sports brand Patagonia was facing a huge challenge. Patagonia was simply growing too fast.
1846
1847For many companies, especially at that time, growth wouldn’t have been a problem, but a good opportunity to make their businesses more profitable. Not for Patagonia;
1847 For them, growing too fast would have meant putting aside their desire to make a sustainable and quality product. For them, keeping the same growth pace would have meant going against their core values.
1848
1849Since day one, they tried to rethink and challenge the way of doing business, in order to position themselves as a leader in the environmental crisis. They had to reflect on what kind of business they wanted to become to respect this statement.
1850
1851To reflect on it, Yvon Chouinard decided to take a dozen of his top managers to Argentina to let them see what the real Patagonia was and talk about the future of the brand. Their main purpose behind this off-site trip was to define their core values and to create structures to preserve sustainable culture through growth.
1852
1853After a couple of days of board meetings, they were still struggling to put into words their values. One day, one of the managers decided to skip lunch to go for a walk by himself. When he returned, seven values of a brand beyond its time were born. In those seven, three particularly caught my attention:
1854
1855_1- All decisions of the company are made in the context of the environmental crisis. We must strive to do no harm. Wherever possible, our acts should serve to decrease the problem._
1856
1857_2- We consider ourselves to be an integral part of communities that also include employees, communities in which we live, our suppliers and customers. It’s our policy to employ people who share the fundamental values of this corporation, while representing cultural and ethnic diversity._
1858
1859_3- Without its achievement primacy, we seek to profit on our activities. However, growth and expansion are values not basic to this corporation._
1860
1861Let’s remind ourselves that those statements were made in 1991.
1862
1863In that year, Patagonia, a multi-million dollar company, understood that it was possible and realistic to be a profitable company, and to benefit society and the planet at the same time.
1864
1865![](https://framerusercontent.com/images/uWbqkBAbw8fW56S3qYcDF9lVLI.png?width=1948&height=1168)
1866
1867Photo credit : Patagonia
1868
1869The reason why I bring up this short story, is because I feel we are currently facing a crossroads because of the current pandemic. Before this crisis, the economy was so strong that businesses didn’t have to change their mindsets or ask themselves if the way they were doing business was good. Everything was fine, right? Why should they change anything? I disagree with this way of thinking but unfortunately, it was the reality for a lot of companies.
1870
1871Since the beginning of the pandemic, I’ve often asked myself: Will it be the same when the crisis is behind us? Will caring about the maximization of profits be considered as normal for a company, or will they realize this is a non-viable mindset that will destroy our people and our planet in the long term? Only the coming months will tell, but for now, businesses, I would like to suggest something.
1872
1873Before getting back to “business as usual”, do us, society, a favor and learn from what Patagonia has done. That means, take a dozen people that you trust (that includes not only men but people of any gender and from every culture) and rethink the way you’re doing business. Take the time to list your core values and make sure that those take into account the well-being of your stakeholders. After writing those down, find a way to incorporate the values in your day to day and make sure you walk the talk. From now on businesses, do us a favor and be best for the world instead of best in the world.
1874
1875Remind yourself that if Patagonia did it in 1991, you can do it in 2020.
1876
1877‍
1878
1879If you want to improve your own social and environmental impact, let's chat [here](https://www.boitepac.com/contact)!
1880
1881‍
1882
1883Article written by \`Thomas\`, B Corp Consultant (il/he/him)
1884
1885_Source: Let My People Go Surfing, Yvon Chouinard_
1886
1887‍`,legacyUrl:"https://www.boitepac.com/post/what-businesses-can-learn-from-patagonia"},{slug:"les-humains-derriere-never-was-average",title:"Les humains derrière Never Was Average",date:"2020-10-29",excerpt:"Cette semaine, projecteur sur Never Was Average, notre partenaire en D&I",cover:"/blog/images/les-humains-derriere-never-was-average-4603f4e16d.png",coverAlt:"standards B Corp 202
18876 montréal",content:`## **Cette semaine, projecteur sur Never Was Average, notre partenaire en D&I**
1888
1889### ‍
1890
1891Si vous ne les connaissez pas, vous avez certainement entendu parler de l’une ou plusieurs de leurs réalisations. Au cours des dernières années, Hanna et Harry n’ont pas chômé. Le duo fondateur de Never Was Average est d’ailleurs derrière la création de l’immense fresque irriguée sur la rue Ste-Catherine, à l’intersection Berri ‘’La Vie Des Noir·e·s Compte’’ l’été dernier. Dans la foulée du mouvement Black Lives Matter, les deux entrepreneurs qui se spécialisent en Diversité et Inclusion en communauté et en entreprises depuis 2017, ont vu l’importance de marquer leur ville, en y apposant le symbole de Black Lives Matter, en français. C’est d’ailleurs la toute première au monde qui a été réalisée dans cette langue.
1892
1893‍
1894
1895### **Quelques autres accomplissements de Never Was Average**
1896
1897‍
1898
1899○ L’installation participative ainsi que la curation d’un espace au Musée des beaux-arts de Montréal en 2018.
1900
1901○ Lauréats pour le mois de l'histoire des noires 2020 au Québec.
1902
1903○ La réalisation du court-métrage Amour is love en étant nommé pour la relève RIDM.
1904
1905‍
1906
1907La plus grande fierté du duo demeure toutefois d’avoir réussi à créer un sentiment d’appartenance à travers leur communauté diversifiée grâce à une série de conversations ouvertes et authentiques.
1908
1909‍
1910
1911### **Questions en rafales**
1912
1913### ‍
1914
1915#### ‍ **Comment vous êtes-vous connus Hanna et Harry?**
1916
1917Nous nous sommes rencontrés en 2006 via un ami en commun qui est en fait le meilleur ami de Hanna. Nous allions tous les deux à l’école pour adulte Marianne. Nous avons cliqué immédiatement parce qu’on avait le même désir de devenir entrepreneur et de changer le monde.
1918
1919‍
1920
1921#### **Comment avez-vous eu l’idée de fonder NWA?**
1922
1923Le concept de Never Was Average est né de façon organique en 2015 à Montréal alors qu'on dirigeait notre première boutique de mode masculine. On a su que cela serait beaucoup difficile à naviguer en tant que jeunes entrepreneurs et surtout, jeunes entrepreneurs noirs. On voulait donc raconter notre expérience à travers un projet. On voulait aussi partager ce qu’on avait appris au cours de ces années. Partager nos connaissances avec des personnes qui, comme nous, ne voulaient pas emprunter le chemin que la société nous dit de prendre.
1924
1925Nous avons donc décidé de fermer la boutique et de changer notre réalité culturelle. Pendant un an, suite à la fermeture, nous nous sommes consacrés à la création de contenu. C'était un bon moment pour développer notre côté créatif qui nous a aussi amenés à officiellement lancer Never Was Average en 2017 avec la mission de créer des espaces inclusifs dans les domaines des arts, de la culture, de la mode, du bienêtre et du milieu de travail.
1926
1927‍
1928
1929#### **Et pourquoi l’avez-vous fait?**
1930
1931Never Was Average est un projet qui nous comble en fait. Nous n’avons pas de limite! On peut faire ce qu’on veut comme on le veut. Nous avons réussi à trouver une ligne directrice pour tous nos projets sous la bannière de Never Was Average. Pour changer notre monde, c’est formidable!
1932
1933‍
1934
1935#### **Quelle est la plus grande problématique liée à la Diversité et à l’Inclusion selon vous au sein de notre société?**
1936
1937Au fil des ans, nous avons vu les marques faire beaucoup pour s'aligner sur les valeurs de la génération Y et de la génération Z en matière de diversité et d'inclusion, et cela, pour augmenter l'engagement et d'avoir un impact commercial plus fort. Par contre, il y a un grand écart entre ce que pensent les dirigeants et ce que les employés disent se produire sur le terrain. Et cela crée une entreprise avec deux cultures.
1938
1939On pense que les compagnies ont une approche trop globale, sans toutefois noter qu’il y a des nuances; tout dépend de l’emplacement des entreprises, et plus encore. Une approche qui généralise toutes les expériences sous la diversité et inclusion, ce n’est pas la solution. La diversité peut être quelque chose de complètement différent pour une personne à Montréal et pour une qui habite Sherbrooke par exemple. On peut facilement parler d’intersectionnalité, d’identité et même d’intergénération. Ce qu’on veut dire c'est que chaque expérience est unique et il faut prendre ça en considération.
1940
1941‍
1942
1943#### **Qu’est-ce qui vous motive le plus à vous lever chaque matin?**
1944
1945Pour changer le monde aujourd’hui. Pas demain. Pas après-demain. Maintenant! 
1945Notre mission est de créer une société où les Noirs, les Autochtones et les personnes de couleur peut se sentir REPRÉSENTÉE, SOUTENUE, ACCOMPLIE et on travaille très fort, tous les jours, pour y arriver.
1946
1947Si vous voulez en connaître davantage sur Never Was Average et les fondateurs, on vous invite à aller jeter un coup d’œil \`ici\`!
1948
1949Si vous désirez en savoir plus sur leur rôle dans notre service d'accompagnement B Corp, venez nous \`jaser\`!
1950
1951‍
1952
1953Article écrit par \`Judith\` **,** Consultante B Corp (elle/she/her)`,legacyUrl:"https://www.boitepac.com/post/les-humains-derriere-never-was-average"},{slug:"never-was-average-nos-partenaires-en-d-i",title:"Never Was Average: nos partenaires en D&I",date:"2020-10-22",excerpt:"Boite Pac existe pour créer le parcours menant à l’entreprise responsable et engagée. L’entreprise souhaite contribuer concrètement à faire progresser la société et à aider un maximum de gens en passant par l’amélioratio…",cover:"/blog/images/never-was-average-nos-partenaires-en-d-i-e75d0125be.png",coverAlt:"standards B Corp 2026 montréal",content:`Boite Pac existe pour créer le parcours menant à l’entreprise responsable et engagée. L’entreprise souhaite contribuer concrètement à faire progresser la société et à aider un maximum de gens en passant par l’amélioration de l’impact des entreprises. C’est en les amenant à concevoir diverses philosophies, en les outillant, et en les guidant vers de nouvelles pratiques d’affaires que nous croyons être en mesure d’offrir à notre société une meilleure justice, et à notre planète un meilleur avenir.
1954
1955‍
1956
1957Ceci dit, Boite Pac est loin d’avoir la prétention d’être expert dans tous les domaines. Nous collaborons avec les meilleurs de chaque sphère afin de guider le plus optimalement possible les entreprises vers un changement infaillible et durable.
1958
1959‍
1960
1961C’est donc avec beaucoup d’enthousiasme et de fierté que nous vous présentons, Never Was Average nos partenaires en Diversité et Inclusion.
1962
1963‍
1964
1965‍
1966
1967### _**Pourquoi un partenariat entre Boite Pac et NWA**_
1968
1969L’obtention de la certification B Corp nécessite non seulement une prise de conscience importante des pratiques actuelles de l'entreprise, mais également une réflexion poussée sur les différents enjeux qui doivent être considérés pour guider l’élaboration des changements d’affaires. Puisque la diversité et l’inclusion sont des sujets majeurs abordés dans le travail de certification B Corp, il allait de soi de s’associer à des spécialistes pour nous aider à vous aider.
1970
1971‍
1972
1973Never Was Average conçoit, organise et anime des expériences spécialement pensées pour les entreprises qui désirent soit amorcer ou pousser leur réflexion sur la diversité et l'inclusion. Leurs expertises les ont amenés à avoir un impact positif sur la culture de plusieurs organisations en les aidant à créer une culture d'engagement, d'inclusion et d'appartenance où les Noirs, les Autochtones et les personnes de couleur de la génération Y, de la génération Z et toutes les couches intermédiaires peuvent se sentir représentées, soutenues et accomplies.
1974
1975‍
1976
1977Les co-fondateurs offrent des conversations / workshops des plus complètes et dynamiques, destinées aux entreprises qui ont le désir de stimuler le changement social grâce à la créativité de leur équipe.
1978
1979‍
1980
1981Restez à l’affût, un portrait plus global sur NWA sortira dans les prochaines semaines.
1982
1983Pour plus d’information: [https://www.neverwasaverage.com/](https://www.neverwasaverage.com/)
1984
1985‍
1986
1987Si vous désirez en savoir plus sur leur rôle dans notre service d'accompagnement B Corp, venez nous [jaser](https://www.boitepac.com/contact)!
1988
1989‍
1990
1991Article écrit par \`Judith\` **,** Consultante B Corp (elle/she/her)`,legacyUrl:"https://www.boitepac.com/post/never-was-average-nos-partenaires-en-d-i"},{slug:"5-trucs-eco-responsables-pour-les-entreprises",title:"5 trucs éco-responsables pour les entreprises",date:"2020-03-03",excerpt:"De plus en plus, on fait des choix dans nos vies personnelles pour diminuer notre empreinte écologique. On consomme moins, on dim
1991inue nos déplacements en voiture, on fait du compost, etc. Chez soi, dans certains cas, c’e…",cover:"/blog/images/5-trucs-eco-responsables-pour-les-entreprises-cb707c1620.png",coverAlt:"standards B Corp 2026 montréal",content:`De plus en plus, on fait des choix dans nos vies personnelles pour diminuer notre empreinte écologique. On consomme moins, on diminue nos déplacements en voiture, on fait du compost, etc. Chez soi, dans certains cas, c’est plus facile d’adopter un mode de vie éco-responsable, du moins plus accessible. Par contre, quand vient le temps de transposer nos bonnes volontés à notre travail, on ne sait pas par où commencer ou même quoi prioriser en termes d’actions. Étant souvent plongé dans la recherche de nouvelles initiatives pour améliorer l’impact environnemental des entreprises avec qui je collabore, j’ai décidé de lister 5 trucs concrets qui vous permettront, soit comme employé.e ou gestionnaire, d’améliorer l’impact environnemental de votre entreprise.
1992
1993## **1\\. Mesurez et définissez les sources de pollution de l’entreprise.**
1994
1995Comme un de mes anciens collègues chez Workleap (ancien GSoft) me disait : Mesure et évalue avant d’agir! Autrement dit, avant de se poser des questions telles que : est-ce que je devrais faire du compost ou éliminer les voyages en avion, il est d’abord essentiel de mesurer et d’évaluer quelles sont les sources de pollution importantes de l’entreprise. Il est primordial d’effectuer cette tâche en amont afin d’éviter de s’attaquer à des problématiques _cutes_ et faciles à résoudre. Parfois, elles n’ont malheureusement pas un réel impact sur l’empreinte écologique de l’entreprise.
1996
1997Profitez également de cette étape pour mettre en place une stratégie claire concernant les actions que vous allez poser. N’hésitez pas à lier des indicateurs de performance (KPI) pour chacune des initiatives que vous allez implanter pour être en mesure d’évaluer le réel impact de chacune et de l’améliorer à travers le temps.
1998
1999## **2.** **Optez pour des articles promotionnels éco-responsables**
2000
2001Offrir des cadeaux à l’effigie de l’entreprise est toujours un bon moyen pour fidéliser sa clientèle ou même promouvoir sa marque. Cette technique de marketing existe depuis plusieurs années, mais malheureusement, constitue une source de pollution en soi. Des stylos, des clés USB ou même des chandails faits en Chine trouvent souvent refuge dans une boite oubliée en-dessous d’une autre boite. Ces articles ne sont pas utilisés et dans la plupart des cas, ne représentent pas nécessairement les valeurs de l’entreprise.
2002
2003La solution n’est pas d’arrêter d’offrir des articles promotionnels, mais c’est plutôt d’en acheter moins et auprès d’entreprises d’ici qui encouragent l’utilisation de matériaux éco-responsables et locaux. [Kotmo](https://kotmo.ca/), une entreprise certifiée [B Corp](https://www.boitepac.com/certification-b-corp), et [Alterna Éco-Solutions](https://alternaeco.com/) sont d’ailleurs d’excellentes options pour l’achat de divers objets qui seront certes en accord avec vos valeurs.
2004
2005## **3.** **Diminuez vos transports**
2006
2007Aujourd’hui nous avons la chance de jouir des avancées technologiques incroyables. Les Facetime de ce monde permettent à toute personne voulant communiquer de le faire sans émettre de gaz effet de serre à travers le transport. En effet, je suis conscient que certaines rencontres doivent se faire comme dans le bon vieux temps, c’est-à-dire face à face sans matériel technologique. Toutefois, je vous propose de lister vos rencontres du prochain mois et d’identifier si chacune d’entre elles nécessite un déplacement. Vous allez probablement constater que ce n’est pas le cas. Si par contre vous devez vous déplacer, prenez le temps d’évaluer les différentes options qui s’offrent à vous. Si la situation vous le permet, priorisez les transports en commun ou même le train en cas de déplacement hors des centres urbains.
2008
2009Pour ce qui est des voyages d’affaires qui doivent se faire en avion, compensez vos émissions de carbone auprès d’entreprises telles que \`Solutions Will\` (entreprise certifiée B Corp) ou\`Planetair\`. Les sommes versées dans le cadre d’une compensation carbone vous permettront d’investir dans de
2009s projets d’énergies renouvelables, d’efficacité énergétique ou de reforestation.
2010
2011Finalement, encouragez le télétravail de manière régulière. Proposez à l’ensemble de l’équipe de travailler à partir de la maison à quelques reprises durant leur semaine de travail. En plus de diminuer drastiquement les émissions de carbone émis, cette mesure peut permettre un meilleur équilibre travail-famille et, chez certains employé.es, une hausse d’efficacité.
2012
2013## **4.** **Implantez des stations de tri pour faciliter la gestion des déchets**
2014
2015Par expérience, si une pelure de banane se retrouve à la poubelle alors que l’entreprise fait du compost, c’est peut-être parce que les stations de tri ne sont pas suffisamment accessibles. Souvent, les gens sont pressés et ne prennent pas le temps de faire la marche de santé pour aller déposer leurs matières organiques dans le compost. C’est pour cette raison que je vous suggère d’installer des stations de tri ayant 3 compartiments (recyclage, compost et déchet) pour qu’ils soient accessibles à tous. De plus pour éviter la confusion chez certains, prenez le temps d’inscrire dans quel compartiment chacune des matières doit aller. Pour créer cette liste ou même implanter un système de compost dans votre entreprise, si ce n’est pas encore fait, je vous invite à vous référer à\`Compost Montréal.\`
2016
2017## **5.** **Évitez les contenants à usage unique (en tout temps)**
2018
2019Ceci n’est probablement pas une surprise pour plusieurs d’entre vou
2019s. Évitez les contenants à usage unique au quotidien ne figure pas dans la liste des défis insurmontables, je le reconnais. Par contre, essayez d’appliquer cette approche éco-responsable à l’entièreté de vos évènements. Qu’il s’agisse de votre party de Noël ou d’un événement offert à vos clients, optez pour de la vaisselle en porcelaine ou compostable et pour des ustensiles lavables ou compostables. D’ailleurs, priorisez en tout temps les fournitures qui sont réutilisables ou compostables à tout ce qui est recyclable. Et finalement, optez pour un traiteur local à mission social, tel que \`Les Filles Fattoush\`. Encourager des entreprises d’ici, c'est évidemment faire prospérer sa communauté locale, mais c’est également diminuer les gaz à effet de serre émis par le transport.
2020
2021## **Derniers trucs**
2022
2023N’oubliez pas d’inclure votre équipe dans cette démarche. Autrement dit, en cas de besoin, créez un comité environnemental qui aura pour mission d’établir une stratégie et d’orchestrer les initiatives qui amélioreront l’impact environnemental de votre entreprise.
2024
2025Prenez également soin de partager les résultats aux employé.es. Si vous voulez que ces derniers adhèrent aux initiatives que vous présentez, ils doivent connaître les résultats qui en découlent. Par exemple, si vous mettez en place des initiatives pour diminuer le transport en avion lors des voyages d’affaires, partagez la quantité de gaz à effet de serre qui n’a pas été émise. De cette manière, les employé.es seront motivés à poursuivre dans la bonne direction.
2026
2027En espérant que ces solutions concrètes puissent vous aider dans la mise en place de votre plan d’action éco-responsables. Si vous désirez obtenir des conseils supplémentaires, n’hésitez pas à venir nous [jaser](https://www.boitepac.com/contact)!
2028
2029‍
2030
2031Article écrit par \`Thomas\`, Consultant B Corp (il/he/him)`,legacyUrl:"https://www.boitepac.com/post/5-trucs-eco-responsables-pour-les-entreprises"},{slug:"entreprises-en-2020-mettez-la-diversite-et-linclusion-au-centre-de-vos-preoccupations",title:"Les Filles Fattoush : une source d'inspiration",date:"2020-01-21",excerpt:"J'ai eu le plaisir de rencontrer Geneviève Comeau des Filles Fattoush. Œuvrant anciennement dans le milieu publicitaire, elle gagne maintenant sa vie en tant que directrice générale dans une entreprise sociale forte insp…",cover:"/blog/images/entreprises-en-2020-mettez-la-diversite-et-linclusion-au-centre-de-vos-preoccupations-03dc27a392.jpg",coverAlt:"standards B Corp 2026 montréal",content:`J'ai eu le plaisir de rencontrer Geneviève Comeau des Filles Fattoush. Œuvrant anciennement dans le milieu publicitaire, elle gagne maintenant sa vie en tant que directrice générale dans une entreprise sociale forte inspirante _._
2032
2033[Les Filles Fattoush](http://www.lesfillesfattoush.com/), c’est un service traiteur de cuisine syrienne qui a pour mission de donner de l’emploi aux femmes syriennes nouvellement arrivées au Canada. Les Filles Fattoush, c’est aussi un désir de créer un pont entre ces deux cultures à travers la cuisine et le savoir-faire culinaire. L’entreprise représente la force de réunir des femmes et de leur donner une indépendance financière, de faciliter leur intégration à une nouvelle culture, de les sortir de l’isolement, mais surtout, de leur donner confiance en leurs propres moyens.
2034
2035C’est donc autour d’un Ouzi (plat typiquement syrien et considéré par Geneviève comme le pâté chinois de la Syrie) que nous avons discuté du concept des Filles Fattoush, mais aussi de l’importance de miser sur l’inclusion au sein d’une entreprise.
2036
2037### **Pourquoi avoir quitté le milieu de la publicité pour se joindre à une entreprise à caractère social comme les Filles Fattoush?**
2038
2039J’avais un énorme désir de tester l’entrepreneuriat, en plus d’un grand besoin d’avoir un impact positif auprès de la société. C’est d’ailleurs durant mon séjour chez l’agence de publicités Bob que j’ai eu la chance de découvrir le concept du développement durable, car elle souhaitait le mettre de l’avant dans ses pratiques.
2040
2041Grâce à mes recherches, j’ai pu en apprendre davantage sur l’impact social et les points positifs rattachés. Je suis également tombée sur la phrase suivante : la meilleure façon de rencontrer l’autre, c’est à travers un repas. Donc lorsqu’une des fondatrices m’a approché pour me présenter le concept des Filles Fattoush, j’ai tout de suite été interpelée.
2042
2043### **Comment est née l’idée d’une entreprise qui fait le pont entre la communauté syrienne et canadienne?**
2044
2045L’idéatrice du projet est Josette Gauthier, une documentariste sociale. Lors d’un séjour dans un camp de réfugiés au Liban, elle a été témoin d’un projet inspirant qui consistait à permettre aux femmes de cuisiner des plats pour ensuite les vendre à l’extérieur du camp. Marquée par cette initiative, elle a décidé, à son retour à Montréal, de créer un projet semblable en mettant au cœur l’expertise des femmes.
2046
2047Pourquoi aller vers la communauté syrienne? Étant consciente de la gravité de la crise qui frappait la Syrie et du sort qui est destiné à ce peuple, elle décide de cibler cette c
2047ommunauté pour tenter de faciliter leur intégration. Et pourquoi aller vers les femmes? Souvent à l’arrivée des familles syriennes au Canada, il est beaucoup plus difficile pour elles de trouver des ouvertures professionnelles. La situation familiale qui restreint la femme à rester à la maison ou même un bagage professionnel différent de celui de l’homme explique entre autres ce phénomène.
2048
2049Par contre, Josette, n’étant pas Syrienne, n’avait pas énormément de contacts pour développer son projet. C’est alors qu’Adèle Tarzibachi, une Canadienne originaire d’Alep, s’est jointe à l’équipe en tant que cofondatrice. C’est grâce à cette femme d’affaires que le projet a réellement pris forme.
2050
2051![](https://framerusercontent.com/images/3kQQuRParEAJDm11TGKVnjRng34.jpg?width=3024&height=4032)
2052
2053### **Est-ce qu’un emploi avec les Filles Fattoush est un tremplin vers une autre profession ou est-ce que les femmes qui débutent avec vous souhaitent en faire une carrière à long terme ?**
2054
2055Il y a eu des femmes qui ont travaillé avec nous et qui ont par la suite travaillé dans des restaurants ou des garderies. Certaines sont même retournées aux études.
2056
2057Cela dit, il y a aussi des femmes qui nous accompagnent depuis le début et qui souhaitent en faire une profession plus que passagère. En leur fournissant de bonnes conditions de travail, on leur permet d’évoluer dans un milieu qui est sain et où tout le monde est respecté. Dans les deux cas, ont accompli notre mission de leur offrir un travail en plus de créer la première ligne de leur CV.
2058
2059### **Quel retour recevez-vous de la part des femmes qui viennent travailler avec vous?**
2060
2061Elles sont fières du travail accompli et de faire partie d’un projet, en plus d’être impressionnées et agréablement surprises par la réaction positive de la communauté montréalaise face aux produits. Elles sont aussi reconnaissantes de pouvoir vivre une expérience professionnelle valorisante dans leur nouvelle terre d’adoption.
2062
2063### **Comment définirais-tu l’engouement de la communauté montréalaise à l’égard de votre mission d'entreprise?**
2064
2065Elle est très réceptive au projet. Dans les médias, nous entendons plusieurs actualités concernant la crise qui sévit en Syrie. Les gens sont donc contents de voir qu’une entreprise offre une solution concrète pour accueillir ces nouveaux arrivants qui quittent une zone de guerre.
2066
2067Les Montréalais viennent vers nous parce qu’ils veulent contribuer à notre mission. Ainsi, en plus de répondre à leur besoin de services traiteurs et de découvrir une nouvelle cuisine, ils ont un impact positif au sein de la société. On a aussi la chance d’œuvrer dans une ville comme Montréal, où l’engouement pour l’économie sociale est grandissant. Cela nous aide grandement.
2068
2069### **Selon toi, quels sont les principaux avantages reliés au fait de bâtir une équipe qui mise sur la diversité?**
2070
2071Ça permet d'enrichir la culture interne d’une entreprise, parce que chaque culture amène des visions et des forces différentes. Une entreprise doit souvent répondre à des besoins qui vont varier d’une communauté à l’autre. Selon moi, pour répondre à une diversité de besoins, pourquoi ne pas miser sur la diversité elle-même pour y répondre le mieux possible?
2072
2073Ça permet à une entreprise de se remettre en question ; de revoir sa manière de faire les choses. Par exemple, notre rapport à la performance et au rendement a changé. On a décidé de miser sur le fait d’être plus accomplies et heureuses dans ce qu’on fait, au lieu d’avoir un stress constant relié à la rentabilité. Cette réflexion est clairement le résultat d’une collaboration avec la communauté syrienne.
2074
2075### **Si une entreprise souhaite améliorer la diversité au sein de son équipe de travail, qu’est-ce que tu leur suggères?**
2076
2077Avant tout, les employés à l’interne doivent être ouverts à la réalité de la diversité et de l’inclusion au sein de leur équipe. Ces deux concepts doivent faire parti des valeurs de l’entreprise. Il faut prendre le temps d’en discuter pour que l’ensemble de la compagnie, direction comme employés, comprenne les nombreux bienfaits que la diversité et l’inclusion peuvent apporter à l’organisation. Une valeur, une vision ou des actions qui sont expliquées sont toujours plus facilement assimilées.
2078
2079### **Quelles sont les actions qui pourraient être prises pour aider la communauté syrienne?**
2080
2081Selon moi, la meilleure manière d’aider les nouveaux arrivants à s’intégrer est de leur offrir des possibilités d’emploi où ils seront encadrés et respectés. Les programmes de parrainage (voir la liste ci-bas) ne sont malheureusement pas assez connus et pourtant, ce sont des programmes qui pourraient grandement aider à l’intégration des nouveaux arrivants, peu importe leur pays de provenance.
2082
2083### **Recommandations Pac**
2084
2085Tu désires miser sur la diversité et l’inclusion au sein de ton équipe de travail, voici 4 éléments clés qui pourraient t’aider à y parvenir.
2086
20871.Crée un environnement de travail où le respect, l’acceptation des différences et l’ouverture d’esprit sont prônés
2088
2089‍2.Mets en place des situations où les employé·e·s sont amenés à discuter et à partager sur des sujets qui ne sont pas reliés au travail. Ces échanges peuvent clairement favoriser un climat de confiance et de respect au sein de ton équipe de travail.
2090
2091‍3.En tant que gestionnaire, assure-toi de connaitre les spécificités, soit reliées à des pratiques religieuses ou à certaines limitations physiques, chez tes employé·e·s pour t’assurer que l’entreprise les encadre adéquatement.
2092
2093‍4.Informe-toi sur les différents organismes qui viennent en aide aux nouveaux arrivants à la recherche d’emploi (Parrainage Chambre des Commerces de Montréal, Welcome Collective, CSAI)
2094
2095Si tu désires en apprendre plus sur des bonnes pratiques en entreprise, n’hésite pas à venir nous \`jaser\`.
2096
2097‍
2098
2099Article écrit par \`Thomas\`, Consultant B Corp (il/he/him)`,legacyUrl:"https://www.boitepac.com/post/entreprises-en-2020-mettez-la-diversite-et-linclusion-au-centre-de-vos-preoccupations"}],UY=[{slug:"comment-donner-du-feedback-a-un-employe",title:"How to give feedback to an employee: a guide for managers",date:"2026-10-02",excerpt:"Seven practical steps and real-life examples for giving employees feedback that recognizes good work, addresses problems, and helps them grow.",cover:"/__l5e/assets-v1/4ba9252d-154a-4f4c-a597-a71acfa79c8d/feedback_montreal_quebec.png",coverAlt:"Illustration of building a feedback culture within a team",content:`**TL;DR**
2100
2101Giving an employee feedback means naming what you've observed, explaining its impact, and working out what comes next together. Prepare for it, practise it every week (not just at the annual review), and never let it come as a surprise. Here are seven practical steps and phrases to help you do it without hurting or discouraging anyone.
2102
2103If nobody gives your team feedback, it doesn't mean everything is fine. It means people are guessing. And when people guess, they often imagine the worst.
2104
2105Still, many managers put off the conversation: they're afraid of hurting someone, getting it wrong, or damaging the relationship. That's normal. Nobody teaches us this when we move from employee to manager. It's one of the [myths we challenge](/en/blog/5-mythes-%C3%A0-d%C3%A9construire-sur-les-gestionnaires-en-2026): silence isn't comfort; it's uncertainty.
2106
2107Here are seven steps inspired by what we teach in our leadership programs.
2108
2109## What does good feedback look like?
2110
2111Feedback is specific information about what you've observed in someone, shared to help them keep doing what works or adjust what doesn't. There are two main kinds:
2112
2113- **Recognition feedback:** name what went well and why it mattered, so the person can do it again.
2114- **Adjustment feedback** (sometimes called constructive feedback): name the gap between what was expected and what happened, so you can close it together.
2115
2116“Great job!” feels good, but it's too vague to help someone grow. Both kinds need specifics.
2117
2118## Step 1: Put the structure in place before you need it
2119
2120The worst time for a first feedback conversation is when something has gone wrong. The person may become defensive because this kind of exchange is new to them.
2121
2122The answer is to put regular meetings on the calendar:
2123
2124- **Individual one-on-one**, every week
2125- **Team check-in**, every quarter
2126- **Development-plan conversation**, every year
2127
2128When feedback is part of the routine, it loses its drama. An adjustment becomes one topic in a one-on-one, not a summons.
2129
2130## Step 2: Clarify your intention, then check your message
2131
2132Before you speak, ask yourself: What do I want this person to understand or do afterward? And how might my message land?
2133
2134The gap between intention and impact can be bigger than we think. Take an example from our training: a manager cares deeply about her company and team, so she works extra hours. Her intention is to move things forward. What her team hears is: “A leadership role means working longer hours.”
2135
2136Your impact is what the other person receives, not just what you meant to say.
2137
2138## Step 3: Talk about observable facts, not personality
2139
2140A simple and widely used structure is the **situation, behavior, impact** (SBI) model popularized by the Center for Creative Leadership:
2141
2142- **Situation:** when and where did it happen?
2143- **Behavior:** what exactly did you see or hear?
2144- **Impact:** what effect did it have on the team, client, project, or you?
2145
2146End with an open question such as “How do you see it?” Here are a few examples:
2147
2148| Instead of | Try this |
2149| --- | --- |
2150| “You aren't engaged.” | “In the last two team meetings, you didn't speak up. I'm worried we're missing your ideas. How are you experiencing these meetings?” |
2151| “Your report was incomplete.” | “Thursday's report was missing the costs section, and the client had to ask for it. Let's look at how to avoid that next time.” |
2152| “Great presentation!” | “Yesterday's presentation was clear: you distilled the numbers into three messages, and the client immediately asked about next steps. Do that again.” |
2153
2154## Step 4: Pick the right time and place
2155
2156- **Promptly:** as soon as possible after the event, once you're calm. Feedback delivered six months later helps no one.
2157- **In private for adjustments:** recognition can happen in front of the team if the person is comfortable with it.
2158- **With an invitation:** “Do you have 15 minutes this afternoon to talk about the presentation?” Not while passing in the hallway.
2159- **Outside the office for big conversations:** for an annual review, go for a coffee or an ice cream. The setting can change the conversation.
2160
2161## Step 5: Make it a conversation, not a monologue
2162
2163Once you've shared your observation, leave room for the other person. There may be context you can't see. Ask:
2164
2165- “How did you experience it?”
2166- “What happened from your side?”
2167- “What would you need for it to go differently next time?”
2168
2169Agree on what comes next: one clear action and a specific time to revisit it.
2170
2171## Step 6: Connect feedback to development
2172
2173Feedback without follow-through is noise. It becomes useful when it connects to a development plan the person helped create.
2174
2175**Make goals specific (SMART).** “Improve our internal communication” is too vague. “Create and coordinate a monthly newsletter with a 60% open rate” gives everyone a measurable target.
2176
2177**Think 70-20-10 for development.** Roughly 70% comes from experience in the role, 20% from people around us (mentors, colleagues, networks), and 10% from formal learning (training budgets, online platforms, books, research days).
2178
2179**Celebrate learning, not just performance.** Publicly recognizing a bold attempt, even an imperfect one, signals that it's safe to learn here.
2180
2181## Step 7: Lead by example
2182
2183If you give feedback but never receive any, that sends a message.
2184
2185Ask for it yourself: “What could I do differently to support you better?” Thank the person, even if it's uncomfortable.
2186
2187And practise what you preach. A vacation or disconnect policy means little if managers never use it. What you do carries more weight than what you say.
2188
2189## What about the annual review? No surprises
2190
2191An annual review should recap what has already been discussed during the year. If the person learns something major that day, feedback arrived too late. To prepare:
2192
2193- **Block time** for a self-assessment, peer feedback (two or three questions), and a meeting of about an hour.
2194- **Leave the office** for the conversation.
2195- **Celebrate accomplishments:** “This year, you contributed to ___.”
2196- **Honour last year's development plan.**
2197- **Don't introduce any surprises.**
2198- **Discuss your vision** for what comes next.
2199
2200## Five common mistakes to avoid
2201
2202- Saving everything for the annual review.
2203- Only giving feedback when something goes wrong, and forgetting recognition.
2204- Judging the person (“You're disorganized”) instead of describing the behavior.
2205- Burying the point in so many caveats that the person misses the issue.
2206- Giving adjustment feedback in front of others, or never following up.
2207
2208## Frequently asked questions about feedback
2209
2210### How often should you give an employee feedback?
2211
2212Ideally, continuously, with structured touchpoints: a weekly one-on-one, a quarterly team check-in, and an annual development conversation.
2213
2214### How can you give negative feedback without demotivating someone?
2215
2216Stick to facts (situation, behavior, impact), speak privately, ask for their perspective, and agree on a concrete next step. Make sure they also regularly receive recognition, not just correction.
2217
2218### What's the difference between feedback and a performance review?
2219
2220Feedback is frequent, specific, and often informal. A performance review is a formal annual conversation that takes stock and looks ahead. It shouldn't contain surprises.
2221
2222### Can you give feedback in writing or remotely?
2223
2224Writing works for recognition. For adjustments, prefer a call or video: writing loses tone and invites misinterpretation. A message can be a good way to propose a time to talk.
2225
2226### What if the person reacts badly?
2227
2228Breathe, acknowledge their emotion (“I can see this is upsetting”), and offer to resume later if needed. A strong reaction isn't a failure. What matters is what happens next.
2229
2230## In short
2231
2232Good feedback is concrete: a scheduled moment, a real conversation, and a follow-up.
2233
2234It doesn't come naturally to everyone, but it can be learned and practised. Your team doesn't need a perfect manager. They need someone who tells them where they stand, with respect and clarity.
2235
2236## Leadership rarely grows alone
2237
2238Want to practise these conversations with other managers? Explore [Boîte Pac's Leadership Signature cohort](/en/services/parcours-leadership-en-groupe), or talk with us about what it could look like for your team.
2239
2240[Book a conversation with us](/en/contact)
2241
2242_Article written by [Judith](/en/team/judith) 👋_`,legacyUrl:""},{slug:"tout-ce-qu’il-faut-savoir-sur-les-nouveaux-standards-b-corp-2026",title:"Everything you need to know about the new B Corp 202
22426 standards",date:"2026-01-06",excerpt:"B Corp certification is changing deeply. After a major overhaul published in April 2025 and a clarified version in August 2025, the new standards will become the official certification reference starting in 2026.",cover:"/blog/images/tout-ce-qu-il-faut-savoir-sur-les-nouveaux-standards-b-corp-2026-878be144a5.png",coverAlt:"B Corp 2026 standards Montreal",content:`**B Corp certification is changing deeply.** After a major overhaul published in **April 2025** and a clarified version in **August 2025**, the new standards will become the **official certification reference starting in 2026**.
2243
2244The _B Corp_ movement is moving away from a system based on a total score (e.g. 80/200 points). Certification is shifting toward an approach built around mandatory minimum standards applied to every company that wants to be certified or recertified from 2026 onward.
2245
2246### **👉 What changes concretely**
2247
2248**No more global score that masks weak spots** Companies must now meet **minimum criteria in every key area**, not just reach a high overall score.
2249
2250**Formalized continuous improvement** Organizations have to demonstrate not only that they meet the standards today, but also that they progress over time (3- and 5-year cycles).
2251
2252**A third party in the loop** An **independent external audit** is now required to ensure the truthfulness of impact evidence — a big step toward credibility and against _greenwashing_.
2253
2254## **When does this apply?**
2255
2256**January 2026** — certifications under the new standards open for existing and new companies.
2257
2258**February 2026** — independent external audits begin to roll out.
2259
2260**June 2026** — new companies can submit applications under the new standards.
2261
2262⚠️ **Important**: after February 2026, only new certifications under these standards will be possible; the old system will no longer be open for starting a certification.
2263
2264## **What the 7 new standards require**
2265
2266While the old B Impact Assessment allowed trade-offs between categories, the new framework relies on strict minimum requirements across 7 areas:
2267
22681️⃣ **Purpose & stakeholder governance**• Greater transparency and real decision-making practices that include employees, partners, customers, etc.
2269
22702️⃣ **Human rights**• Concrete measures to eliminate negative impacts directly and across the supply chain.
2271
22723️⃣ **Fair working conditions**• Living wage, pay equity, support for well-being and advancement.
2273
22744️⃣ **Justice, equity, diversity & inclusion (JEDI)**• A structured, measurable action plan tracked over time.
2275
22765️⃣ **Concrete climate action**• Annual GHG measurement + concrete environmental action plan.
2277
22786️⃣ **Environmental stewardship & circularity**• Impact reduction, ongoing supplier strategy, circular economy.
2279
22807️⃣ **Public affairs & collective action**• Engagement in your industry to amplify social and environmental impact.
2281
2282## **In short**
2283
2284- The B Corp movement is becoming **more rigorous, credible and demanding**.
2285
2286- Companies must demonstrate not only exemplary practices today, but also clear progress in the future.
2287
2288- A global audience, external audits, and a set of mandatory minimum standards redefine what it means to be a company truly committed to people and the planet.
2289
2290
2291Article written by \`Thomas\` 🙂`,legacyUrl:"https://www.boitepac.com/post/tout-ce-qu%E2%80%99il-faut-savoir-sur-les-nouveaux-standards-b-corp-2026"},{slug:"5-mythes-à-déconstruire-sur-les-gestionnaires-en-2026",title:"5 myths to bust about managers in 2026",date:"2025-11-27",excerpt:"In 2026, can we please let go of the image of the ultra-high-performing manager, expert at everything, charismatic leader at all times? We bust 5 ideas that do more harm than good — for your team and for you.",cover:"/blog/images/5-mythes-d-construire-sur-les-gestionnaires-en-2026-5917b3081f.png",coverAlt:"Managers in Montreal: the 5 myths of 2026",content:`## 5 myths to bust about managers in 2026
2292
2293🎯 _TL;DR_
2294
2295In 2026, can we please let go of the image of the ultra-high-performing manager, expert at everything, charismatic leader at all times? We bust 5 ideas that do more harm than good — for your team _and_ for you.
2296
2297### 🧠 Myth \\#1: A good manager has all the answers
2298
2299The model of the all-knowing manager is outdated. In 2026, the best leaders are the ones who can say: “I don't know — but we'll figure it out together.”
2300
2301💬 What matters?
2302
2303The ability to ask good questions, not to explain everything. Cultivating humility means creating space for co-creation.
2304
2305### 🔥 Myth \\#2: You have to be passionate to be good
2306
2307Passion is cool. But it's not a prerequisite to being a competent manager. What makes the difference? Listening, clarity, consistency. And sometimes, just _being there_.
2308
2309🛠️ What do we value in 2026?
2310
2311Relational skills, adaptability, the ability to stay the course without burning out. Passion is a bonus — not a requirement.
2312
2313### 🧩 Myth \\#3: You have to fix all your weaknesses
2314
2315Nope. In fact, leaning into your strengths often produces much better results. A good manager in 2026 knows how to name what they're not great at… and surround themselves accordingly.
2316
2317💡 The mindset?
2318
2319Identify what energizes you, what you do well — and delegate the rest intelligently. Development isn't always synonymous with “fixing.”
2320
2321### 🧭 Myth \\#4: If no one gives you feedback, things must be fine
2322
2323The absence of feedback isn't comfort. It's fog. And that's toxic for a team. In 2026, the managers who perform are the ones who _spark_ the conversations.
2324
2325📣 What to put in place
2326
2327A clear framework. Formal feedback moments. Open invitations. Because feedback is earned — but above all, it's practiced.
2328
2329### 🎓 Myth \\#5: Becoming a manager is the natural next step in a career
2330
2331Nope. Managing is a choice. A role. A posture. Not a default promotion. In 2026, we celebrate expertise as much as leadership.
2332
2333🌱 What's changing?
2334
2335We build real growth paths for experts. We normalize saying “no thanks” to management. We value impact, not just titles.
2336
2337### In short
2338
2339The 2026 manager isn't a model to follow.
2340
2341They're a person who listens. A human, imperfect but clear-eyed.
2342
2343Someone who knows when to stay silent, when to act, and when to ask for help.
2344
2345And that's a revolution we can all applaud.
2346
2347Article written by \`Marie\` 🙂`,legacyUrl:"https://www.boitepac.com/post/5-mythes-%C3%A0-d%C3%A9construire-sur-les-gestionnaires-en-2026"},{slug:"novembre-mood-6-idées-concrètes-pour-soutenir-le-moral-des-troupes",title:"November mood: 6 concrete ideas to lift your team's spirits",date:"2025-11-03",excerpt:"November mood: 6 concrete ideas to lift your team's spirits.",cover:"/blog/images/novembre-mood-6-id-es-concr-tes-pour-soutenir-le-moral-des-troupes-736873600a.png",coverAlt:"Employee well-being expert Montreal",content:`## November mood: 6 concrete ideas to lift your team's spirits
2348
2349🎯 **TL;DR**
2350
2351November isn't just dead leaves and grey vibes — it's also a great time to take care of your team. Here are 6 concrete, simple, human ideas to help your people get through it without sliding into the _November doom spiral_.
2352
2353### 🧘‍♀️ 1\\. Remind your team about their wellness perks
2354
2355Before everyone forgets they still have massages, SÉPAQ passes or an acupuncture session in their bank, send a personalized little reminder.
2356
2357🎯 Goal: help your people feel that these resources _are there to be used_, especially in November.
2358
2359### ☕ 2\\. Pimp your coffee bar (and snack drawer)
2360
2361A little dopamine boost: add snacks, chocolate, vitamins and a light therapy lamp in common areas.
2362
2363🪄 It's not revolutionary, but it makes a real daily difference.
2364
2365### 🌞 3\\. Offer flex hours to catch some sun
2366
2367Let your team start (or finish) earlier to enjoy natural light.
2368
2369Translation: 30 minutes of sunshine > 2 cups of coffee.
2370
2371🌤️ Pro-tip: call it a “smoothie schedule” and it lands better in a meeting.
2372
2373### 👟 4\\. Launch a moving challenge
2374
2375A step competition, a lunch walk, an active bingo — like SOJA&CO did, with no pressure, just for the pleasure of moving.
2376
2377🏃‍♂️ Moving a bit more, together, is a great antidote to the greyness.
2378
2379### 👂 5\\. Add a team pulse check
2380
238115 minutes mid-week to talk about fatigue, needs, energy. No agenda, no judgment.
2382
2383💬 This kind of space is often more useful than a long all-staff planned three months ago.
2384
2385### 🎓 6\\. Offer a training that gives a boost
2386
2387A fun, useful workshop on creativity, organization or motivation. Just structured enough to refuel without draining.
2388
2389📚 What if we ended the year inspiring rather than just surviving?
2390
2391### In short
2392
2393No, you can't control the sun setting at 4:11 pm.
2394
2395But you can create an environment where your team feels allowed to have a down moment — and equipped to come out of it.
2396
2397**A softer November starts internally.** 💙
2398
2399Article written by \`Judith\` 👋`,legacyUrl:"https://www.boitepac.com/post/novembre-mood-6-id%C3%A9es-concr%C3%A8tes-pour-soutenir-le-moral-des-troupes"},{slug:"pourquoi-devenir-b-corp-en-2025",title:"Why become a B Corp in 2025?",date:"2025-08-22",excerpt:"TL;DR: Becoming a B Corp in 2025 is much more than a certification. It's a real lever to attract talent, win client trust and build a company aligned with responsible values. Spoiler: it also strengthens profitability 😮.",cover:"/blog/images/pourquoi-devenir-b-corp-en-2025-1fc88037fe.png",coverAlt:"B Corp support Montreal 2025",content:`**TL;DR:** Becoming a B Corp in 2025 is much more than a certification. It's a real lever to attract talent, win client trust and build a company aligned with responsible values. _Spoiler_: it also strengthens profitability 😮.
2400
2401## **Why become a B Corp in 2025?**
2402
2403In 2025, social impact is no longer a “nice to have” for companies. It has become a requirement — from employees, partners, large clients and customers. In this context, **B Corp** certification stands out as a proof of trust for all your stakeholders.
2404
2405Here's why you should consider taking the leap:
2406
2407### **1\\. Attract and retain top talent**
2408
2409According to a LinkedIn study, 76% of professionals wouldn't apply to a company whose values don't reflect their own. As for Gen Z and millennials, they want more than a paycheck — they want work that means something.
2410
2411B Corp certification sends a clear signal: here, social and environmental impact sit at the same level as profit. We want to attract engaged, creative people who want to see business differently.
2412
2413### **2\\. Stand out (for real) in your industry**
2414
2415B Corp is like a magic filter for your brand. In a market flooded with marketing promises (some of them false), the certification helps you stand out with concrete proof of commitment.
2416
2417The numbers speak: 69% of European consumers say they prefer to buy from a B Corp company when given the choice (source: B Lab Europe, 2023).
2418
2419### **3\\. Boost financial performance (yes, it pays off)**
2420
2421We often talk ethics, but let's also talk business. A B Corp company often performs better over time: more resilience, more loyal customers, healthy organic word-of-mouth and a stronger ability to navigate uncertainty.
2422
2423Worth noting: B Corp certified companies demonstrated above-average growth during the pandemic (source: B Lab Europe).
2424
2425### **4\\. Structure your practices and progress**
2426
2427Becoming a B Corp isn't just ticking boxes. It's running a full diagnostic of your practices and committing to continuous improvement. It's a powerful tool to align actions, make clear decisions and prioritize what has impact (internally and externally). It's also a lever to mobilize teams around a shared vision, strengthen company culture and add meaning to daily actions.
2428
2429### **5\\. Join an engaged community**
2430
2431Once certified, your company enters a global network of +10,000 B Corps — including Patagonia, Ciele, Danone, and many Quebec SMEs and NPOs.
2432
2433It's a community that shares practices, business opportunities and a common ambition: redefining success in business. A great club to grow in, here or elsewhere.
2434
2435#### **In conclusion:**
2436
2437Becoming a B Corp in 2025 isn't just earning another certification. It's a real strategic choice to align values and performance, attract the right people, stand out in a demanding market and build a more resilient future.
2438
2439> Still hesitating? \`Reach out\` and let's chat!
2440
2441> Article written by \`Thomas\`, co-founder.`,legacyUrl:"https://www.boitepac.com/post/pourquoi-devenir-b-corp-en-2025"},{slug:"qu-est-ce-que-la-certification-b-corp",title:"B Corp Certification: Steps, Costs and Timeline (2026)",date:"2025-01-30",excerpt:"What B Corp certification is, what it costs (from US$2,100 a year), how long it takes (12 months minimum) and how to prepare for it in 2026.",cover:"/blog/images/qu-est-ce-que-la-certification-b-corp-73af2fd920.png",coverAlt:"B Corp expert Montreal Quebec",content:`**Updated September 29, 2026** — to reflect the new B Corp standards that came into effect this year.
2442
2443Wondering what B Corp certification actually is, what it requires and what it costs? Here are the essentials, jargon-free: what it is, how B Lab assesses you, how much time and money to budget, and where to start if you're beginning from scratch.
2444
2445### What is B Corp certification?
2446
2447B Corp (Beneficial Corporation) is a certification awarded to for-profit companies that meet the highest standards of social and environmental impact, ethical governance and transparency towards the public.
2448
2449It was born in 2006 in Pennsylvania, United States, on the initiative of the [B Lab](https://www.bcorporation.net/), a non-profit organization. The B Lab is the body that verifies companies' answers and grants (or refuses) certification.
2450
2451What sets it apart from other certifications:
2452
2453- It is the only one that assesses a company's entire social and environmental performance, rather than a single dimension (energy, materials, one supply chain).
2454- It requires periodic accountability: once certified, a company has to prove its progress holds up.
2455- It opens the door to an active business community that meets regularly, in person and online.
2456
2457### How does B Lab assess a company?
2458
2459B Lab created the _B Impact Assessment_, a questionnaire available free of charge online that lets a company measure its own impact long before deciding to certify.
2460
2461Companies answer dozens of questions spread across 5 categories:
2462
24631. governance
24642. employees
24653. community
24664. environment
24675. customers
2468
2469**What changes in 2026:** the overall-score method (80 points out of 200) gives way to the [new B Corp standards](/en/blog/tout-ce-qu%E2%80%99il-faut-savoir-sur-les-nouveaux-standards-b-corp-2026), built around 7 impact topics with requirements to meet, verified by external independent auditors rather than by the B Lab alone. In practice, a weak area can no longer be "offset" by a strong one: each requirement has to be met on its own.
2470
2471### How to get certified, step by step
2472
24731. **Complete the _B Impact Assessment._** Free, online, and useful even if you never certify: it gives you an honest read of your practices.
24742. **Meet the standard requirements.** Write the documentation you're missing (code of ethics, employee guide, risk management policy…), roll out concrete and measurable initiatives, and close the gaps.
24753. **Lock in your mission.** Adopt a legal framework that requires the company to weigh the wellbeing of its stakeholders equally with the growth of its profits.
24764. **Pay the submission fee and file your assessment** with the B Lab to enter the verification phase.
24775. **Pass the verification.** An independent review of your answers and of the evidence behind them.
24786. **Publish your impact report** in the B Corp Directory and join the community.
2479
2480Worth noting: only for-profit organizations operating for at least one year are eligible, and some industries are excluded outright by the B Lab. Companies less than a year old can go through _Pending B Corp_ while they build a track record to assess. Non-profits are not eligible for certification, but can still use the _B Impact Assessment_ free of charge to structure their practices.
2481
2482### How much does B Corp certification cost?
2483
2484Here is what to budget for:
2485
2486- **The _B Impact Assessment_: free.** Nothing forces you to spend a dollar to find out where you stand.
2487- **Submission fees:** a one-off amount, paid in US dollars when you file the assessment, non-refundable.
2488- **Annual certification fees:** based on gross annual revenue. In the B Lab US & Canada 2026 grid, they start at US$2,100 per year for a company with revenue under US$5 million, and rise with company size. B Lab capped the 2026 increase at 5%.
2489- **Outside support, if you choose to get some.** This is the most variable line item, and usually the one that saves the most time.
2490
2491A detail people forget: the real cost isn't just the invoice, it's the internal hours. Gathering evidence, answering questions, documenting things that were never written down — that's where certification projects fall behind schedule.
2492
2493### How long does it take?
2494
2495B Lab asks companies to plan for **at least 12 months** between starting the assessment and getting certified. In practice, the duration comes down to three things: company size, how many people are involved in gathering the information, and the state of your documentation on day one.
2496
2497A company that already has its policies in writing and tracks its data starts with a serious head start. A company that has to write everything while filling out the questionnaire will almost always double its timeline.
2498
2499### Is it worth it?
2500
2501It's the first question we get asked, and the honest answer is: it depends on what you do with it.
2502
2503What certification genuinely delivers:
2504
25051. It puts you in step with the ESG requirements of large clients and financial partners, which keep tightening.
25062. It creates a real point of difference in an industry where everyone claims to be "responsible".
25073. It makes hiring easier: a share of candidates now actively filter on proof like this.
25084. It helps keep your people, who want meaning and consistency.
25095. It opens business opportunities through the B Corp community.
25106. It improves the visibility and reputation of your brand.
25117. It forces you to document and measure, which makes improvement possible where "we're a responsible company" led nowhere.
2512
2513What it does not do: it won't transform a company culture on its own, and it is no substitute for a genuine commitment. If the only goal is to put a logo on the website, the return on investment will be disappointing — and people notice.
2514
2515### Who is already certified?
2516
2517There are currently more than 9,000 certified B Corps across more than 75 countries, including several hundred in Canada. Each stands out in its industry for its societal and environmental practices and its desire to redefine success in business.
2518
2519A few certified B Corps in Quebec (see the [full list](https://www.bcorporation.net/en-us/find-a-b-corp/)): Prana, GenV, Ciele, LG2.
2520
2521A few certified B Corps internationally: Patagonia, Danone, TOMS, Ben & Jerry's.
2522
2523### Going further
2524
2525- [Why become a B Corp](/en/blog/pourquoi-devenir-b-corp-en-2025): the concrete benefits for a small or mid-sized business.
2526- [Our B Corp certification support](/en/services/certification-b-corp-personnalise), one company at a time.
2527- [B Corp certification in a group cohort](/en/services/certification-b-corp-cohorte-de-groupe), with shared costs.
2528- [B Corp recertification](/en/services/recertification-b-corp-personnalise), for companies already certified.
2529
2530💡 Need a hand with your B Impact Assessment? We'd be glad to support you for a free 30-minute call. [Book a time](/en/contact) with us 👋
2531
2532_Article written by [Thomas](/en/about#equipe), B Corp consultant (he/him)._`,legacyUrl:"https://www.boitepac.com/post/qu-est-ce-que-la-certification-b-corp"},{slug:"tout-sur-le-nouveaux-standards-b-corp",title:"All about the new B Corp standards",date:"2024-12-20",excerpt:"For years now, B Lab (the non-profit that runs B Corp) has used a questionnaire where 80 out of 200 points are needed to earn certification.",cover:"/blog/images/tout-sur-le-nouveaux-standards-b-corp-ffaec749af.png",coverAlt:"B Corp support Montreal Quebec",content:`### What's going on at B Corp 🤔
2533
2534Society is changing and evolving!
2535
2536Good thing, so is the B Corp assessment process 😎
2537
2538For years now, B Lab (the non-profit that runs B Corp) has used a questionnaire where 80 out of 200 points are needed to earn certification.
2539
2540A company could therefore choose which initiatives to deploy to reach a score at or above 80.
2541
2542To more effectively assess large companies and multinationals, and to better reflect today's challenges, B Lab decided to do a full review of its assessment process.
2543
2544“Tell me some good news 😍”
2545
2546It's now \`7 standards\` to meet rather than a score to reach.
2547
2548### What are these 7 standards 👀
2549
2550##### Baseline requirements 🔍
2551
2552The company must first meet B Corp's baseline criteria before diving into the assessment. That includes updating its legal documents to add the required legal clauses and meeting the eligibility conditions.
2553
25541. ##### Mission and Stakeholder Governance ⚖️
2555
2556The company ensures that leadership monitors and takes the necessary steps to improve social and environmental impact. It is also transparent about its social and environmental performance, its targets, and how it includes its stakeholders (employees, suppliers, customers, shareholders).
2557
25582. ##### Human rights 🤝
2559
2560The company involves employees in decision-making in a concrete and formalized way. It measures team satisfaction and acts to improve it. It also ensures it eliminates negative human-rights impacts and that its main suppliers do the same.
2561
25623. ##### Fair work 💵
2563
2564In addition to doing what's needed to ensure pay equity, the company pays at least a living minimum wage to its team. It also engages its main suppliers to do the same with their own teams.
2565
25664. ##### Justice, equity, diversity and inclusion (JEDI) 💙💛
2567
2568The company actively improves its JEDI practices with a clear action plan communicated to internal and external stakeholders.
2569
25705. ##### Climate action 🌎
2571
2572The company measures its greenhouse-gas emissions each year and sets science-based targets aligned with keeping global warming below 1.5 °C.
2573
25746. ##### Environmental stewardship and circularity ♻️
2575
2576The company takes the steps needed to understand its negative environmental impact and builds a 
2576strategy to reduce its carbon footprint. It also works with its suppliers to reach its environmental goals.
2577
25787. ##### Public affairs and collective action 🤜🤛
2579
2580The company collaborates with its stakeholders to increase collective social and/or environmental impact at the policy, industry and/or business-community level.
2581
2582### Should I get certified under the current method or wait?
2583
2584Is it easier to certify now? For companies with more than 250 employees or annual revenue above 75 million, the answer is yes. For other companies, not necessarily.
2585
2586While the exact form of the new-standards assessment is still becoming clearer, we can assume that the current questionnaire allows for greater flexibility.
2587
2588“So do I wait or not? 😅”
2589
2590If you want a clear view of the assessment process, start now to submit your questionnaire before the end of 2025 — the deadline to certify under the current method.
2591
2592“Yeah, but I would have liked to certify under the new standards. 😢”
2593
2594Good news: companies must recertify every 3 years. Recertification will definitely happen under the new standards.
2595
2596Still have questions? Totally normal — \`book\` a moment with me to talk it through 🙂
2597
2598Guide written by \`Thomas\`, B Corp consultant (he/him)`,legacyUrl:"https://www.boitepac.com/post/tout-sur-le-nouveaux-standards-b-corp"},{slug:"on-parle-deja-de-la-rentree-et-de-kamala-harris",title:"Already talking about back-to-work ✏️ … and Kamala Harris 🧐",date:"2024-08-13",excerpt:"NEWS DOSE 🗞️ After the glass ceiling, meet the cliff.",cover:"/blog/images/on-parle-deja-de-la-rentree-et-de-kamala-harris-f53ccbc444.png",coverAlt:"B Corp 2026 standards Montreal",content:`###### **NEWS DOSE 🗞️** **After the glass ceiling, meet the cliff.**
2599
2600First named about 20 years ago, the glass cliff describes a pattern where, during organizational crises, women are more likely to be promoted to leadership positions. These female leaders, placed in precarious situations, must navigate perilous waters.
2601
2602In 20 years, surely there's been progress? 🧐 Hmm, actually it's going the other way 👇
2603
2604![](https://framerusercontent.com/images/zuJtjWGNv5aSx5uEMN1WJggw.png?width=2912&height=2096)
2605
2606According to a 15-year analysis of the Fortune 500, when appointing a CEO to take over…
2607
2608- 🏆 At a **successful** organization 👉🏼 62% choose a man;
2609
2610- 📉 At one **in trouble** 👉🏼 69% choose a woman.
2611
2612###### **The vicious cycle of the glass cliff, reinforcing the sexist stereotype that women and leadership don't mix 👇🏼**
2613
2614![](https://framerusercontent.com/images/9xkAJCoXCkcNThQrwDbuWKvjDqc.png?width=2912&height=2096)
2615
2616👋 This is a preview of our monthly newsletter. To read the full version, find it [here.](https://boitepac.substack.com/p/on-parle-deja-de-la-rentree-et-de?r=2v4uu6)`,legacyUrl:"https://www.boitepac.com/post/on-parle-deja-de-la-rentree-et-de-kamala-harris"},{slug:"lete-cest-fait-pour-bien-des-choses",title:"Summer is made for… lots of things!",date:"2024-06-17",excerpt:"Here are Boite Pac's 4 favorite summer traditions, plus tips to bring them into your company 💡",cover:"/blog/images/lete-cest-fait-pour-bien-des-choses-98f6a9133b.png",coverAlt:"B Corp 2026 standards Montreal",content:`Here are Boite Pac's 4 favorite **summer traditions**, plus tips to bring them into your company 💡
2617
2618### **1\\. Hold your annual offsite 📈🍹**
2619
2620Rapid-fire tips from the team 👇🏼
2621
2622**Thomas, with his governance lens:** Survey the whole team to figure out which topics should be prioritized. 🎙️
2623
2624_#QuickWin: send a Typeform with a list of topics and ask each person to rank them. The result? An agenda that addresses everyone's needs!_
2625
2626**Catherine, with her diversity-equity-inclusion lens**: Check your team's comfort level before making overnight stays mandatory. 3 days at a chalet can complicate family logistics and isn't accessible to everyone. 💡
2627
2628**Alexandra, with her enviro lens**: Pick a venue accessible by public transit 🚈. If not, organize carpooling 🚙 between participants and [offset the GHG emissions](https://planetair.ca/) from the travel. 🍃
2629
2630![](https://framerusercontent.com/images/47kzc9WyQSSEFZhdPcsQIycUQkg.png?width=2452&height=600)
2631
2632**Judith with her well-being lens, Marie with her creativity lens**: The goal of an offsite? Brainstorming, thinking big. And how do ideas appear? From two seemingly unrelated bits of information that, given enough space, meet somewhere in our brain. _Bing_! An idea is born. 💥
2633
2634Ventilate the work blocks: plan time for relaxation breaks, movement breaks, and activities outside the work frame. All three are equally relevant and allow creativity to flow — which is absolutely needed during an _offsite_.
2635
2636![](https://framerusercontent.com/images/bZxXxBcEcwaVKbMhEmkq5BJ6hww.png?width=980&he
2636ight=294)
2637
2638👋 This is a preview of our monthly newsletter. To discover our 3 other summer traditions, read on [here.](https://open.substack.com/pub/boitepac/p/lete-cest-fait-pour-bien-des-choses?r=2v4uu6&utm_campaign=post&utm_medium=web)`,legacyUrl:"https://www.boitepac.com/post/lete-cest-fait-pour-bien-des-choses"},{slug:"techniques-de-productivite-101",title:"Productivity techniques 101",date:"2024-05-01",excerpt:"What allowed us to move to a 4-day week while keeping our productivity high?",cover:"/blog/images/techniques-de-productivite-101-f3bb90b969.png",coverAlt:"B Corp 2026 standards Montreal",content:`What allowed us to move to the **4-day week** while keeping a **high productivity** level?
2639
2640Here are our favorite productivity techniques 🤩
2641
2642_**Marie's go-to**_: adding color to my calendar 🎨
2643
2644_**Catherine's favorite**_: blocking time for my solo tasks the same way I block meetings.
2645
2646_**Judith's pick**_: the Flow (for more details, [it's here](https://www.instagram.com/p/C5oVA6vrtoO/?img_index=1)!)
2647
2648![](https://framerusercontent.com/images/Uu8pYcZM47edwGaC1urnJ1WC8.png?width=2239&height=683)
2649
2650_**Alexandra's new one**_: Pomodoro
2651
2652![](https://framerusercontent.com/images/o4RDGSFk3Z7gOyve8UStrQ2UDGU.png?width=2178&height=295)
2653
2654### **B Corp news 🗞**
2655
2656_**B Corp Retreat:**_ Thomas had the chance to take part in the B Corp Retreat in Vancouver — more than 700 people from B Corps across North America came together to rethink business. He even got to speak with the person leading the creation of the new B Corp standards 🤯.
2657
2658**\\- His standout moment** 😍: Meeting many entrepreneurs and members of Indigenous communities in Vancouver (the unceded ancestral and traditional territory of the xʷməθkʷəy̓əm (Musqueam), Sḵwx̱wú7mesh (Squamish), and səlil̓wətaʔɬ (Tsleil-Waututh) nations). He also got to discuss with other B Corps how to engage meaningfully with Indigenous communities around us.
2659
2660**\\- A note for B Corps** 👋: The new questionnaire with the updated standards won't be ready before June 2025. Companies recertifying before then will do so under the current version.
2661
2662Psssst. Recertification coming up? Don't hesitate to [contact us](https://www.boitepac.com/francais/contact) — we can help simplify it 😎.
2663
2664👋 This is a preview of our monthly newsletter. Read the full version [here.](https://boitepac.substack.com/p/ding-une-nouvelle-dose-dimpact?r=2v4uu6)`,legacyUrl:"https://www.boitepac.com/post/techniques-de-productivite-101"},{slug:"excursion-dans-les-cerveaux-de-boite-pac",title:"A trip inside the Boite Pac brains 🧠",date:"2024-01-17",excerpt:"We were on our disconnect policy during the 2023 year-end recap window, so we'll move forward. Still, we feel it's a bit early for the big topics (our brains are still on vacation!), so we played interview with the Boite Pac team to ease back in.",cover:"/blog/images/excursion-dans-les-cerveaux-de-boite-pac-27fdfde3a7.png",coverAlt:"B Corp 2026 standards Montreal",content:`We were on our **disconnect policy** during the 2023 _year-end recap_ window, so we'll move forward. Still, we feel it's too early for the big topics (our brains are still on vacation!), which is why we preferred to play interview with the Boite Pac team to ease back in.
2665
2666![](https://framerusercontent.com/images/0MYY3BCI3EjOtprImJKJKBYRU4.jpeg?width=980&height=294)
2667
2668### **🚀 What can we find in your 2024 development plan?**
2669
2670- The desire to push the inclusivity concept further across all our engagements;
2671
2672- A deep-dive into gender equity, motherhood and feminism;
2673
2674- Time to keep exploring well-being at work (we even have [**an à la carte workshop on the topic**](https://www.boitepac.com/francais/services) that I highly recommend!)
2675
2676##### **📚 Your current read, or the one you can't wait to start?**
2677
2678A recommendation from _**Alexe**_ that I already love: [Braving the Wilderness, by Brené Brown](https://www.amazon.ca/Braving-Wilderness-Quest-Belonging-Courage/dp/0812985818/ref=sr_1_1?crid=2KVG5NVCFDWK0&keywords=braving+the+wilderness+brene+brown&qid=1704809917&sprefix=braving+the+%2Caps%2C106&sr=8-1). Followed straight after by one from _**Marie**_: [La banalité d’un tir, by Mali Navia](https://www.amazon.ca/banalit%C3%A9-dun-tir-French-ebook/dp/B09WCX55Q1/ref=sr_1_1?crid=2DEA02JJTBNVY&keywords=la+banalit%C3%A9+d%27un+tir&qid=1704808869&s=books&sprefix=la+banalit%C3%A9+d%27un+tir%2Cstripbooks%2C87&sr=1-1)
2679
2680##### **🎙 What's playing in your ears at the start of the year?**
2681
2682My favorite podcasts, on loop: [On Purpose with Jay Shetty](https://www.jayshetty.me/p
2682odcast), [Boob to Food - The Podcast](https://open.spotify.com/show/279q03lNBxM8nN98iSa83E), [After Bedtime with Big Little Feelings](https://biglittlefeelings.com/podcast/listen/), [The Salty Club Podcast](https://open.spotify.com/show/6wxdVMj80KOO9BfqYt6H8E)
2683
2684##### **📣 The Quebec government lets you pass one law in 2024 — what is it?**
2685
2686Make immigration easier for people worldwide. And I'd probably ask for 2 months of vacation for everyone, while I'm at it!
2687
2688##### **☕️ Topics you always love chatting about?**
2689
2690Immigration and expat life, responsible tourism, motherhood in all its beautiful and not-so-beautiful sides, women's well-being, the latest documentaries that moved you, and on and on!
2691
2692![](https://framerusercontent.com/images/oXmhuLTi0cltOtYBaeaTEXlotc4.jpeg?width=980&height=294)
2693
2694### **🚀 What can we find in your 2024 development plan?**
2695
2696- Creating a fun-to-read newsletter (hope you're having fun right now!)
2697
2698- Attending the B Corp Retreat in Vancouver bringing together North American B Corps.
2699
2700- Posting a bit more on LinkedIn
2701
2702##### **📚 Your current read, or the one you can't wait to start?**
2703
2704[No Rules Rules: Netflix and the Culture of Reinvention](https://www.goodreads.com/book/show/49099937-no-rules-rules) by Reed Hastings and Erin Meyer. Candy for anyone obsessed with organizational culture.
2705
2706##### **🎙 What's playing in your ears at the start of the year?**
2707
2708Podcasts on well-being at work, especially when Sonia Lupien is on. Here's a great [interview](https://ici.radio-canada.ca/ohdio/premiere/emissions/tout-un-matin/segments/entrevue/464435/sonia-lupien-le-stress-au-travail-vs-le-stress-du-travail-productivite) with the neuroscientist.
2709
2710##### **📣 The Quebec government lets you pass one law in 2024 — what is it?**
2711
2712B Corp companies get financial incentives like attractive tax credits 🤑.
2713
2714##### **☕️ Topics you always love chatting about?**
2715
2716The 4-day week and how much simpler and more realistic it is than people think, B Corp of course, and everything about a healthy company culture.
2717
2718👋 This is a preview of our monthly newsletter. To complete the trip inside Judith, Alexe and Marie's brains, it's [here.](https://boitepac.substack.com/p/excursion-dans-les-cerveaux-de-boite?r=2v4uu6)`,legacyUrl:"https://www.boitepac.com/post/excursion-dans-les-cerveaux-de-boite-pac"},{slug:"pratiquer-son-ecoute-on-commence-par-ou",title:"Practicing your listening — where do we start?",date:"2023-11-29",excerpt:"Alright, alright. Practicing your listening — where do we start?",cover:"/blog/images/pratiquer-son-ecoute-on-commence-par-ou-feaac05d7f.png",coverAlt:"B Corp 2026 standards Montreal",content:`### Communication: curiosity, vulnerability & listening.
2719
2720_Alright, alright_. Practicing your listening — where do we start?
2721
2722### **3 levels to practice** _**(and unlock)**_ **for the coming month:**
2723
2724_**Beginner level**_: listen without doing anything else (flip the phone face-down, finish that email later!)
2725
2726_**Intermediate level**_: don't assume how the other person feels — let them tell you!
2727
2728_**Expert level**_: **don't** be planning your reply while the other person is talking (normalize silences, please).
2729
2730### **The month's top picks**
2731
2732_(ideas to take with you!)_ 📦
2733
2734**\\- A good practice**: a return plan ( _re-onboarding_) for returns from parental leave. 🤰 Like [the one](https://www.instagram.com/p/CoVfO5fPlwP/?img_index=1) from our dear Alexandra, [for example](https://www.instagram.com/p/CoVfO5fPlwP/?img_index=1)!
2735
2736**\\- A** _**perk**_: reimbursing the **SÉPAQ pass** to make nature more accessible, paired with flex hours to enjoy it before the 5 pm darkness.
2737
2738_\\- pssssst_: have you checked [our smoothie-schedule menu](https://www.instagram.com/p/CzHeGlxPV-L/?img_index=1)?
2739
2740**\\- A podcast**: [Les Dérangeants](https://www.lesderangeants.com/) 🎙
2741
2742**\\- A book we keep mentioning**: 📚 [You're Not Listening](https://www.goodreads.com/book/show/45892276-you-re-not-listening), _Kate Murphy_
2743
2744**\\- A book on our** _**wishlist**_: 📚 [Hidden Potential](https://adamgrant.net/book/hidden-potential/), _Adam Grant_
2745
2746👋 This is a preview of our monthly newsletter. Read the full version [here.](https://boitepac.substack.com/p/knock-knock-boite-pac-se-glisse-dans?r=2v4uu6)`,legacyUrl:"https://www.boitepac.com/post/pratiquer-son-ecoute-on-commence-par-ou"},{slug:"les-avantages-de-la-semaine-de-4-jours",title:"The advantages of the 4-day week",date:"2023-09-10",excerpt:"The 4-day week is on a lot of lips right now. While some fear it and don't believe in it, others have decided to try it or have embraced it for a while. To help you see more clearly, here's a look at this practice that's likely to grow.",cover:"/blog/images/les-avantages-de-la-semaine-de-4-jours-5fc845d1e8.png",coverAlt:"B Corp 202
27466 standards Montreal",content:`The 4-day week is on a lot of lips right now. While some fear it and don't believe in it, others have decided to try it or have been embracing it for a while. To help you see more clearly, here's a look at this new practice that's likely to grow in popularity in the coming years (and we're rooting for it at Boite Pac).
2747
2748### **What is the 4-day week?**
2749
2750The 4-day-week concept isn't about asking employees to work less for less pay. To us, the idea is to offer the same pay while letting them work fewer hours. That can mean cutting a day from the week (hello Fridays off) or redistributing the hours differently from Monday to Friday, working a bit less each day. Bottom line: working just as hard, but differently.
2751
2752So that you're as excited as we are about the shorter week, here are 4 benefits that might convince you to adopt it. We'll then suggest a few ideas to equip yourself well IF you'd like to introduce the concept in your own company. Not convinced after that? We'll grab a coffee or a beer to talk it over :)
2753
2754##### **Benefit 01: Employees working 4 days are more productive**
2755
2756The more time we have in our week, the more we waste! Speaking for myself, when I have a _deadline_, I cut unnecessary actions to be more effective (checking email 20 times a day, spending too much time on LinkedIn or Instagram, etc.). That's also what New Zealand's [Perpetual Guardian](https://www.perpetualguardian.co.nz/) observed when implementing the shorter week — less time in meetings, less time on social media, and mechanisms to avoid being constantly interrupted by colleagues. The company saw that productivity was indeed affected — positively.
2757
2758##### **Benefit 02: Employee stress goes down**
2759
2760With more time for personal activities, new hobbies and friends and family, employees are less stressed by work. That's one of many results observed by [Iceland](https://www.bbc.com/news/business-57724779) when its government asked 2,500 public-sector workers to cut a day from their workweek. Another striking finding: better work-life balance, reducing the risk of burnout.
2761
2762##### **Benefit 03: The 4-day week reduces gender pay gaps**
2763
2764According to [The Guardian](https://www.theguardian.com/commentisfree/2019/apr/03/four-day-week-inequality-gender-pay-gap-income), the number of women who work part-time — often to juggle family life and work — is 4x higher than men. Part-time often means lower pay and less chance of promotion. You see where this is going: treating 4-day weeks as full-time and giving women access to the same pay as their male counterparts is a step in the right direction — equity.
2765
2766##### **Benefit 04: The 4-day week reduces a company's environmental impact**
2767
2768We saw it during the pandemic: going to the office less often reduces individual transport pollution. It's easy to imagine that one less workday per week could meaningfully reduce each person's carbon footprint. A study run in [England](https://www.theguardian.com/commentisfree/2019/apr/03/four-day-week-inequality-gender-pay-gap-income) showed that cutting one workday could lower the country's annual carbon footprint by 21.3%. Not nothing.
2769
2770### **If you want to implement the 4-day week,** _**what's next**_ **?**
2771
2772##### **Step 01:** Survey your employees to gather their take
2773
2774A project as big as the 4-day week clearly requires participation and mobilization from your team. A survey is a great way to learn about their impressions, concerns and special requests about changing their work time. You'll get relevant data to roll out the initiative on solid ground.
2775
2776##### **Step 02**: Share methods to help the team improve efficiency
2777
2778Working 4 days means having about 8 fewer hours a week to get things done. Some employees will adapt their methods naturally; others will struggle. To help, suggest things like:
2779
27801- Cutting meeting times in half
2781
27822- Setting clear focus windows in the day where employees can't be interrupted by colleagues.
2783
27843- Offering equipment to improve productivity (sit-stand desks, noise-cancelling headphones, etc.). Let them shape their own workspace too!
2785
2786##### **Step 03**: Try it before locking it in
2787
2788Don't try to find the winning recipe before testing different formulas. Try various models with your team and measure the results to see which 4-day formula fits your company and team best. For example, give everyone Fridays off for a month and look at the outcomes — productivity, satisfaction, etc. Then send a short survey to the team and try a different formula the next month (e.g. Mondays off), continuing to gather data.
2789
2790Hope you see more clearly now and that you're as excited as we are about this topic. If you're curious to learn more or considering moving to 4 days, contact us about our [4-day support service!](https://www.boitepac.com/francais/services)
2791
2792Article written by [**Alexandra, B Corp consultant (she/her)**](https://www.boitepac.com/)`,legacyUrl:"https://www.boitepac.com/post/les-avantages-de-la-semaine-de-4-jours"},{slug:"comment-instaurer-la-semaine-de-4-jours",title:"How to implement the 4-day week",date:"2023-04-06",excerpt:"We've been saying it for a while (and there are now numbers to prove it): the 4-day week is THE turn to consider for your company if you want to:",cover:"/blog/images/comment-instaurer-la-semaine-de-4-jours-0097fe29f9.png",coverAlt:"B Corp 202
27926 standards Montreal",content:`We've been saying it for a while ([and there are now numbers to prove it](https://static1.squarespace.com/static/60b956cbe7bf6f2efd86b04e/t/6387be703530a824fc3adf58/1669840498593/The+Four+Day+Week-+Assessing+Global+Trials+of+Reduced+Work+Time+with+No+Reduction+in+Pay+%E2%80%93+F+%E2%80%93+30112022.pdf)): the 4-day week is THE turn to consider for your company if you want to:
2793
27941. Prioritize your team's **well-being** (i.e. avoid leading them to burnout);
2795
27962. End your **hiring** struggles;
2797
27983. Improve your **environmental impact**; AND
2799
28004. Take a step toward **gender equity**.
2801
2802All while reinforcing your team's **motivation** and increasing both employee **productivity** and your **profit margin**.
2803
2804For us, it's a _no brainer_, plain and simple. 🤷‍♀️
2805
2806That said, it's also the kind of project that demands an **excellent level of planning and preparation.**
2807
2808To give you a little nudge, here's a list of small things to keep in mind if the adventure tempts you.
2809
2810_PS. April and May make excellent prep months if you want to launch the 4-day mode this summer! 🙋‍♀️_
2811
2812##### Boite Pac's checklist for a smooth transition
2813
281401. Define your formula \\| _Are you more 4-day or 5-hour workday?_
2815
281602. Choose your KPIs and define the timeline of your trial phase (which should last at least three months)
2817
281803. Plan the communication of the project with employees and clients \\| _They'll have all kinds of questions — do you have the answers?_
2819
282004. Send a survey to your team
2821
282205. Train your managers to be equipped for the transition \\| _What about follow-ups? Will there be resistance to change? How can they better empower their teams?_
2823
282406. Train the whole team on productivity techniques \\| _Pomodoro, Flow, Eat that Frog… which speaks to you most?_
2825
282607. Define the final procedure for Fridays off (roles, expectations, emergency handling, points of contact, etc.)
2827
282808. Launch the trial phase and plan monthly check-ins (adjust as needed!)
2829
283009. Plan the post-mortem analysis and final decision
2831
283210. Plan (and CELEBRATE!) the permanent transition to the shorter week
2833
2834Looking forward to crossing paths on a Friday hike! 😉
2835
2836Article written by \`Catherine\`, B Corp consultant (she/her)`,legacyUrl:"https://www.boitepac.com/post/comment-instaurer-la-semaine-de-4-jours"},{slug:"strava-x-ricardo",title:"Strava x Ricardo",date:"2023-01-12",excerpt:"Imagine a day where hundreds of running and cycling fans would gather (at a distance, mask on of course) to deliver tasty General Tao chicken signed Ricardo to people in need.",cover:"/blog/images/strava-x-ricardo-30d5cb0227.png",coverAlt:"B Corp 2026 standards Montreal",content:`Imagine a day where hundreds of running and cycling fans would gather (at a distance, mask on of course) to deliver tasty General Tao chicken signed **Ricardo** to people in need. Now imagine, on top of that, that **Strava** joined in.
2837
2838Intrigued? Let us explain what we have in mind!
2839
2840Before you start reading, note that the partnership presented here is fictional and just a creative exercise from Boite Pac.
2841
2842## **The concept**
2843
2844You've probably heard of the _24h Tremblant_, where people ski for 24 hours to raise funds for sick children. The concept here is similar, but with running and cycling instead of skiing, and 12 hours rather than 24.
2845
2846Having a hard time following? Totally normal! Don't worry, you'll get it in a second!
2847
2848### **1 - The feast**
2849
2850We'd gather thousands of ready-to-eat meals provided by Ricardo at a central spot in a given city (Montreal, Quebec City, Sherbrooke — pick whichever Quebec city you enjoy imagining, friend!). Whether it's General Tao chicken, lasagna or meatloaf, the goal is to comfort people in need with good food crafted by Ricardo's crew.
2851
2852But wait, how would all these meals be distributed to people in need? Great question!
2853
2854### **2 - The delivery**
2855
2856Delivery would happen on foot or by bike, by citizens who want to take part in the event. Each participant would set off from the central collection point and deliver the ready-to-eat dishes — running or cycling — to people in need.
2857
2858Participants would form teams of 5 to 10.
2859
2860Teams would have 12 hours to deliver as many meals as possible.
2861
2862“But 12 hours of running or biking is reeeally long!” you say.
2863
2864Yep! But just like in the 24h Tremblant, people could relay with no problem!
2865
2866Winning teams would be those who delivered the most meals while covering the longest distance — one prize for runners, one for cyclists!
2867
2868That's where Strava becomes very useful. The app could not only let people watch teams move in real time, but also calculate the exact distances covered by each team.
2869
2870### **3 - The prize**
2871
2872And the prize for the winners? Honestly, if Strava and Ricardo decide to be _bold_ and actually run the initiative, they decide the prize!
2873
2874## **Why this kind of initiative is good for Strava and Ricardo**
2875
2876_First thing first_: It would boost their social impact by distributing thousands of meals to people in need.
2877
2878More impact = more popularity with Gen Y and Z, which could mean more sales from those age groups for both partner brands. According to Deloitte, a large majority of Gen Y and Z prioritize purchases from companies that take care of their community, especially in pandemic times.
2879
2880And why not build a strong communications campaign on top of it to shine brighter and boost brand awareness with their target audience? As the _Republik Brand Recovery Guide_ (May 2020) puts it: “highlighting your social or environmental good deeds can pay off, because consumers feel companies have a duty to take a stand on social and environmental issues that matter most to them.”
2881
2882## **Who is Ricardo (per Wikipedia)**
2883
2884Ricardo Larrivée, simply known as Ricardo, born March 12, 1967 in Montreal, is a Canadian chef. He hosts the show _Ricardo_ on Radio-Canada, and _Ricardo and Friends_ on Food Network. Wikipedia doesn't say it, but he also founded a company that's doing quite well in Quebec!
2885
2886## **Who is Strava (per Wikipedia)**
2887
2888Strava is a website and mobile app used to record sports activities via GPS. Its headquarters are in San Francisco, California. In Swedish, Strava means “to strive relentlessly.”
2889
2890Want to learn more about improving social and environmental impact? Come \`chat\` with us!
2891
2892Article written by \`Thomas\`, B Corp consultant (he/him)`,legacyUrl:"https://www.boitepac.com/post/strava-x-ricardo"},{slug:"cest-lheure-de-puncher-out",title:"Time to punch out",date:"2022-05-31",excerpt:"We've built a working world that spins fast, fast, fast. More than ever today, we often feel swept by the current — alone in front of our screens, not really focused, but our brains not really off either.",cover:"/blog/images/cest-lheure-de-puncher-out-6dc1e0055f.png",coverAlt:"B Corp 2026 standards Montreal",content:`We've built a working world that spins fast, fast, fast. More than ever today, we often feel swept by the current — alone in front of our screens, not really focused, but our brains not really off either.
2893
2894We try to wrap up everything before 5 pm, but the washing machine is loud and the runny-nosed kids aren't going to daycare. So we tell ourselves it's no big deal, that's what “flexibility” is for, and we'll finish prepping our _meeting_ at 8, 9, maybe 10 pm.
2895
2896Morning comes fast, and when we wake up it's clearly easier to grab our phone from under the pillow than to get up and open the curtains. By reflex, we check email: a delightful mix of _work_ and _personal_. Then we can't help peeking at _Slack_ — and there's that little red dot signaling a notification. Oops, did I miss a message yesterday?
2897
2898A routine has quietly settled into our pandemic-era life. After two years of remote work, we suddenly realize that, day after day, we stretch our “8 hours” from 6 am to 10 pm. There's no real start, no real end. Just a foggy brain, a rising anxiety, a low-grade bad mood and a fierce craving for vacation.
2899
2900It's not just me saying this — several studies confirm that being constantly connected, available and semi-engaged with work, at any hour, breeds growing anxiety. This fal
2900se “flexibility” can also create friction with loved ones or hurt our health when we lack time to exercise, cook or sleep well.
2901
2902##### Conversely, setting a strict end-of-day allows us to:
2903
2904- Restore our emotional and cognitive resources;
2905
2906- Reduce fatigue;
2907
2908- Boost daily well-being;
2909
2910- Raise life and work satisfaction;
2911
2912- Lower stress and that constant overwhelmed feeling; and
2913
2914- Increase engagement and motivation at work.
2915
2916Not to mention the time we finally free up for an ice cream cone, a good book or a midweek apéro!
2917
2918At Boite Pac, we think it's absolutely worth changing our collective habits to actually end our days at a reasonable hour — no compromise!
2919
2920Ok, ok, all that's nice — but how do we actually finish our workday? Switch off, disconnect, flip to off? Easier said than done, sure, but here's a mini game plan inspired by Joe Robinson, work-family balance and stress management specialist.
2921
2922Post-work ritual
2923
2924_→ A routine to dissociate from work thoughts and engage in experiences that bring our head and body back to a pre-stress state. AKA a Reset button you can hit each day!_ 🙌
2925
2926**1\\. Detachment**: leave work at work and stop thinking about it, guilt-free! (Hard for you? Take five minutes to prep tomorrow's day and dump the stuff looping in your head onto paper.)
2927
2928**2\\. Relaxation**: take 30 minutes for an activity that CALMS you. A short run, a hot shower followed by a mini meditation, a long walk home, or just listening to music on the subway.
2929
2930**3\\. Mastery**: do something that stimulates you but isn't related to work. Listen to a podcast on a topic you love, learn a new recipe, do a small wine tasting, plan your next trip, etc.
2931
2932**4\\. Control**: finally, take the time to structure your non-work life and book moments for hobbies, passions, social life, etc. Honestly, it's as important — if not (MUCH) more — to plan your life as it is to plan client meetings!
2933
2934And you, at what time do you **really** stop working? Will you join us in the _day-is-done_ movement?
2935
2936Source: \`Work to live\`
2937
2938Article written by \`Catherine\`, B Corp consultant (she/her)`,legacyUrl:"https://www.boitepac.com/post/cest-lheure-de-puncher-out"},{slug:"responsabiliser-ses-pratiques-en-tant-quentreprise-de-services",title:"Making your practices more responsible as a service company",date:"2022-05-03",excerpt:"When it comes to improving a company's impact, we often think of those whose business model is selling products — recyclable packaging, donations of products, etc.",cover:"/blog/images/responsabiliser-ses-pratiques-en-tant-quentreprise-de-services-1e0655c5e1.png",coverAlt:"B Corp 2026 standards Montreal",content:`_When it comes to improving a company's impact, we often think of businesses whose model is selling products. They could develop recyclable or compostable packaging to reduce their footprint, or donate products to under-served communities to boost social impact. Plenty of examples!_
2939
2940_But what about service companies? What's their role in improving society? Great question — and that's exactly what we're digging into today!_
2941
2942### **First, what's a service company?**
2943
2944We're mostly talking about:
2945
2946- Law/accounting firms
2947
2948- Engineering firms
2949
2950- Ad agencies
2951
2952- E-commerce agencies
2953
2954- Consulting firms
2955
2956- In short, any company that doesn't sell tangible products
2957
2958### **How to improve your environmental impact when you sell services?**
2959
2960There are plenty of concrete ways to improve your company's environmental footprint. Here are a few:
2961
2962- Offer a list of local suppliers to your team to encourage local choices. To push further, introduce new suppliers in lunch & learns and add them to the list.
2963
2964- Share the right resources (\`Recyc-Qc\`) so the team can dispose of e-waste in the right places based on their location.
2965
2966- Build a way to educate clients on environmental best practices into your service offer. Workshops, newsletters, webinars — many channels exist to encourage them to take responsibility for their own practices.
2967
2968### **How to improve your social impact?**
2969
2970What does social impact mean? In short, the impact a company can have on its community. For a more detailed definition, read up \`here\`.
2971
2972So how can your (service) company concretely have a community impact? Right here:
2973
2974- Offer your services pro bono to local non-profits. If your company picks this route, log the hours worked so you can grow that number over the years.
2975
2976- Share your expertise and industry reality with young people from under-served communities via school presentations. A great way to democratize careers that are sometimes invisible in certain communities.
2977
2978- Speaking of the next generation, why not offer day-long (or longer) shadowing experiences so young people understand the reality of your field?
2979
2980You see — many ways to become a changemaker as a service company. You just have to start and jump in! Don't miss the boat — come \`chat\` so we can help you make your practices more responsible :)
2981
2982Article written by \`Thomas\`, B Corp consultant (he/him)`,legacyUrl:"https://www.boitepac.com/post/responsabiliser-ses-pratiques-en-tant-quentreprise-de-services"},{slug:"comment-le-4-jours-semaine-a-change-notre-vie",title:"How the 4-day week changed our lives",date:"2022-01-27",excerpt:"For those who don't know yet, last September Boite Pac officially adopted the reduced workweek. Yes — every team member works very hard Monday to Thursday, but after, hop into the weekend!",cover:"/blog/images/comment-le-4-jours-semaine-a-change-notre-vie-068ded4b54.png",coverAlt:"B Corp 202
29826 standards Montreal",content:`For those who don't know yet: last September, Boite Pac officially adopted the **reduced workweek**. Yes — every team member works very hard Monday to Thursday, but after that, off into a long weekend!
2983
2984It sounds revolutionary written down. And in many ways it really is.
2985
2986Here's a glimpse at what changed for us — and what could change for your company if you took the leap.
2987
2988### **1\\. We're more focused**
2989
2990Knowing we have one less day forces us to set sharper priorities. We say no more often, cut what doesn't add value, and protect our deep-work blocks. Meetings get tighter, agendas get clearer.
2991
2992### **2\\. We feel better**
2993
2994A full third day off completely changes the texture of life. Personal errands, sport, family, hobbies — they fit without bleeding into the evenings. People show up Monday with more in the tank.
2995
2996### **3\\. Recruiting is easier**
2997
2998When the 4-day week shows up in a job ad, candidates pay attention. It's a powerful signal about how we view work, time and trust.
2999
3000### **4\\. Our culture is more intentional**
3001
3002Moving to 4 days forced us to formalize practices we'd been winging — meeting hygiene, decision rights, written-first communication. The shorter week made our culture stronger.
3003
3004Curious to try it in your company? We \`support\` companies considering the leap — let's chat.
3005
3006Article written by \`Catherine\`, B Corp consultant (she/her)`,legacyUrl:"https://www.boitepac.com/post/comment-le-4-jours-semaine-a-change-notre-vie"},{slug:"changeons-notre-perception-de-la-maternite-en-entreprise",title:"Let's change our perception of motherhood at work",date:"2021-11-01",excerpt:"Why do we need to change our perception of motherhood in business?",cover:"/blog/images/changeons-notre-perception-de-la-maternite-en-entreprise-e9cf3eb077.png",coverAlt:"B Corp 2026 standards Montreal",content:`**Why do we need to change our perception of motherhood at work?**
3007
3008For too long, motherhood in business has been treated as an interruption — a parenthesis to be managed around. Yet the skills sharpened during this period (decision-making under fatigue, ruthless prioritization, empathy, capacity to hold complexity) are exactly the skills companies say they need from their leaders.
3009
3010Let's change the narrative:
3011
3012- A mat-leave return isn't a “catch up” — it's a re-onboarding.
3013
3014- A return-to-work plan is as important as an onboarding plan.
3015
3016- Flexibility isn't a perk — it's a structural choice.
3017
3018When we treat motherhood as an asset rather than a problem, we build companies that retain experienced talent and make better decisions. That's good business — and the right thing to do.
3019
3020Article written by the Boite Pac team.`,legacyUrl:"https://www.boitepac.com/post/changeons-notre-perception-de-la-maternite-en-entreprise"},{slug:"portrait-de-changemaker-camille-de-niche",title:"Changemaker portrait: Camille from Niché",date:"2021-09-30",excerpt:"What's your hell yes? — The first thing you look at when job hunting.",cover:"/blog/images/portrait-de-changemaker-camille-de-niche-74540cdc3e.png",coverAlt:"B Corp 2026 standards Montreal",content:`Portrait of Camille from Niché — what drives her, what she looks for in a job and how she's helping reshape workplaces in Quebec.
3021
3022Full English version of this portrait coming soon. In the meantime, you can read the original French interview on our blog.`,legacyUrl:"https://www.boitepac.com/post/portrait-de-changemaker-camille-de-niche"},{slug:"portrait-de-changemaker-ben-de-new-mode",title:"Changemaker portrait: Ben from New/Mode",date:"2021-08-05",excerpt:"What's your hell yes? — The first thing you look at when job hunting.",cover:"/blog/images/portrait-de-changemaker-ben-de-new-mode-09a289e633.png",coverAlt:"B Corp 2026 standards Montreal",content:`Portrait of Ben from New/Mode — how a values-driven engineer builds civic tech for the long haul.
3023
3024Full English version of this portrait coming soon. In the meantime, you can read the original French interview on our blog.`,legacyUrl:"https://www.boitepac.com/post/portrait-de-changemaker-ben-de-new-mode"},{slug:"portrait-de-changemaker-camille-de-linkedin",title:"Changemaker portrait: Camille from LinkedIn",date:"2021-06-02",excerpt:"What's your hell yes? — The first thing you look at when job hunting.",cover:"/blog/images/portrait-de-changemaker-camille-de-linkedin-8eb22f3431.png",coverAlt:"B Corp 202
30246 standards Montreal",content:`Portrait of Camille from LinkedIn — what a thoughtful career looks like inside a large tech company.
3025
3026Full English version of this portrait coming soon. In the meantime, you can read the original French interview on our blog.`,legacyUrl:"https://www.boitepac.com/post/portrait-de-changemaker-camille-de-linkedin"},{slug:"portrait-dune-changemaker-genevieve-de-designstripe",title:"Changemaker portrait: Geneviève from designstripe",date:"2021-05-05",excerpt:"To inspire you to create inclusive, balanced, diverse, innovative workplaces (basically: amazing ones), we thought it'd be a great idea to share portraits of changemakers who…",cover:"/blog/images/portrait-dune-changemaker-genevieve-de-designstripe-37e4e59fd7.png",coverAlt:"B Corp 2026 standards Montreal",content:`To inspire you to create inclusive, balanced, diverse and innovative workplaces, we're sharing portraits of changemakers who walk the talk. First up: Geneviève from designstripe.
3027
3028Full English version of this portrait coming soon. In the meantime, you can read the original French interview on our blog.`,legacyUrl:"https://www.boitepac.com/post/portrait-dune-changemaker-genevieve-de-designstripe"},{slug:"comment-redefinir-le-succes-en-affaire",title:"How to redefine success in business?",date:"2021-04-20",excerpt:"You've probably heard of the B Corp movement. At Boite Pac, we really believe in it. So much so that we're on our way to becoming B Corp certified, and every day we support…",cover:"/blog/images/comment-redefinir-le-succes-en-affaire-76689fac49.png",coverAlt:"B Corp 2026 standards Montreal",content:`You've probably heard of the **B Corp movement**. At Boite Pac, we really believe in it. So much so that we're on our way to certification, and every day we support companies that want to redefine success in business.
3029
3030Redefining success means asking better questions: who benefits from this growth? what are we measuring? are we leaving things better than we found them?
3031
3032For us, it starts with three reflexes:
3033
3034- Make decisions through a stakeholder lens, not only a shareholder one.
3035
3036- Treat impact as a strategic question, not a marketing one.
3037
3038- Build practices that survive a change in management.
3039
3040These aren't slogans — they're operational choices. And they make companies more resilient, more attractive and more aligned with their people.
3041
3042Article written by the Boite Pac team.`,legacyUrl:"https://www.boitepac.com/post/comment-redefinir-le-succes-en-affaire"},{slug:"avoir-de-limpact-ca-veut-dire-quoi",title:"What does “having impact” actually mean?",date:"2021-02-09",excerpt:"“Improve your impact.” “Watch your company's impact.” “Bet on your impact.” “Put your impact at the heart of your business model.” “Millennials and Gen Z care deeply about impact…”",cover:"/blog/images/avoir-de-limpact-ca-veut-dire-quoi-423034e8af.png",coverAlt:"B Corp 2026 standards Montreal",content:`“Improve your impact.” “Watch your company's impact.” “Bet on your impact.” “Put your impact at the heart of your business model.” “Millennials and Gen Z care deeply about impact…”
3043
3044The word is everywhere — but it can mean very different things. So let's unpack it.
3045
3046For us, impact is the **net positive (or negative) effect** a company has on people and the planet — from its products and operations all the way through its supply chain and community.
3047
3048Three useful questions to bring it down to earth:
3049
30501. **Who is affected by our decisions?** Beyond clients and shareholders, who else? Employees, suppliers, neighbors, future generations?
3051
30522. **What would it take to verify what we say?** If we can't measure it, can we at least describe it precisely?
3053
30543. **What are we willing to give up to make it real?** Impact that doesn't cost anything is usually marketing.
3055
3056That's what we mean when we say impact. Not a tagline — a question to keep answering.
3057
3058Article written by the Boite Pac team.`,legacyUrl:"https://www.boitepac.com/post/avoir-de-limpact-ca-veut-dire-quoi"},{slug:"redefinissons-le-succes-en-affaires",title:"Let's redefine success in business",date:"2020-12-09",excerpt:"Who inspires change in our society? Who drives the transformation and improvement of our communities? Who decides to pair value creation with problem solving? The answer: entrepreneurs.",cover:"/blog/images/redefinissons-le-succes-en-affaires-c7468df109.jpg",coverAlt:"B Corp 202
30586 standards Montreal",content:`Who inspires change in our society? Who drives the transformation of our communities? Who pairs value creation with problem solving?
3059
3060The answer: **entrepreneurs**.
3061
3062Which is why we believe redefining success in business is one of the highest-leverage moves available. When entrepreneurs change the way they measure success, entire ecosystems shift.
3063
3064Three leverage points we keep coming back to:
3065
3066- **Governance**: who sits at the table when big decisions are made?
3067
3068- **Distribution of value**: how is the value created shared between shareholders, employees, suppliers and communities?
3069
3070- **Time horizon**: are we optimizing for the next quarter, or the next decade?
3071
3072None of this is easy, but it's where the most meaningful business design happens.
3073
3074Article written by the Boite Pac team.`,legacyUrl:"https://www.boitepac.com/post/redefinissons-le-succes-en-affaires"},{slug:"what-businesses-can-learn-from-patagonia",title:"What businesses can learn from Patagonia",date:"2020-12-04",excerpt:"In 1991, Yvon Chouinard, founder of the well-known sports brand Patagonia was facing a huge challenge. Patagonia was simply growing too fast.",cover:"/blog/images/what-businesses-can-learn-from-patagonia-5ff5c44cb5.png",coverAlt:"B Corp 2026 standards Montreal",content:`In 1991, Yvon Chouinard, founder of the well-known sports brand Patagonia, was facing a huge challenge. Patagonia was simply growing too fast.
3075
3076Chouinard's response would become a template for purpose-driven leadership: slow down on purpose, audit the supply chain, fund environmental causes structurally, and refuse to chase growth that breaks the values of the company.
3077
3078Three lessons that still apply today:
3079
30801. **Profit is a means, not the end.** Patagonia uses profit to fund the mission, not the other way around.
3081
30822. **Transparency is a competitive advantage.** Honest reporting on what's not working builds long-term trust.
3083
30843. **The best marketing is doing the work.** Patagonia's brand is the by-product of its choices, not its campaigns.
3085
3086What would your company do differently if growth wasn't the primary metric?
3087
3088Article written by the Boite Pac team.`,legacyUrl:"https://www.boitepac.com/post/what-businesses-can-learn-from-patagonia"},{slug:"les-humains-derriere-never-was-average",title:"The humans behind Never Was Average",date:"2020-10-29",excerpt:"This week, spotlight on Never Was Average, our partner in D&I.",cover:"/blog/images/les-humains-derriere-never-was-average-4603f4e16d.png",coverAlt:"B Corp 2026 standards Montreal",content:`This week, spotlight on **Never Was Average**, our partner in D&I. A short portrait of the humans behind the work — what they care about, how they show up, and why we love collaborating with them.
3089
3090Full English version coming soon. In the meantime, you can read the original French version on our blog.`,legacyUrl:"https://www.boitepac.com/post/les-humains-derriere-never-was-average"},{slug:"never-was-average-nos-partenaires-en-d-i",title:"Never Was Average: our partners in D&I",date:"2020-10-22",excerpt:"Boite Pac exists to create the path toward the responsible, engaged company.",cover:"/blog/images/never-was-average-nos-partenaires-en-d-i-e75d0125be.png",coverAlt:"B Corp 2026 standards Montreal",content:`Boite Pac exists to create the path toward the responsible, engaged company. Never Was Average is a partner that helps us walk it — especially on diversity & inclusion.
3091
3092Full English version coming soon. In the meantime, you can read the original French version on our blog.`,legacyUrl:"https://www.boitepac.com/post/never-was-average-nos-partenaires-en-d-i"},{slug:"5-trucs-eco-responsables-pour-les-entreprises",title:"5 eco-responsible tips for companies",date:"2020-03-03",excerpt:"More and more, we make choices in our personal lives to reduce our ecological footprint. But translating that to work isn't always obvious — here are 5 concrete tips.",cover:"/blog/images/5-trucs-eco-responsables-pour-les-entreprises-cb707c1620.png",coverAlt:"standards B Corp 2026 montréal",content:`More and more, we make choices in our personal lives to reduce our ecological footprint — consuming less, driving less, composting, and so on. At home, in many cases, it's easier (or at least more accessible) to adopt an eco-responsible lifestyle. But when it comes to translating those good intentions to work, we don't always know where to start or what to prioritize. Since I'm constantly digging into new ways to improve the environmental impact of the companies I support, I decided to list 5 concrete tips you can use — as an employee or a manager — to improve your company's environmental footprint.
3093
3094## **1\\. Measure and identify your company's sources of pollution.**
3095
3096As a former colleague at Workleap (previously GSoft) used to say: measure and evaluate before acting! Before asking whether you should start composting or cut air travel, you first need to measure and assess the company's main 
3096sources of pollution. Doing this upfront is essential — otherwise we tend to tackle _cute_, easy-to-solve issues that don't actually move the needle on the environmental footprint.
3097
3098Use this step to put in place a clear strategy for the actions you'll take. Don't hesitate to attach KPIs to each initiative so you can evaluate the real impact and improve it over time.
3099
3100## **2\\. Choose eco-responsible promotional items**
3101
3102Branded gifts have long been a way to build customer loyalty or promote your brand — but they're also a source of pollution. Pens, USB sticks or t-shirts made in China often end up in a forgotten box under another forgotten box. They go unused, and often don't reflect the company's values.
3103
3104The solution isn't to stop offering promotional items, but to buy fewer of them and from local companies that prioritize eco-responsible, local materials. [Kotmo](https://kotmo.ca/) (a certified [B Corp](https://www.boitepac.com/certification-b-corp)) and [Alterna Éco-Solutions](https://alternaeco.com/) are great options for items that align with your values.
3105
3106## **3\\. Reduce your travel**
3107
3108We're lucky to have incredible technology today. FaceTime and friends let anyone connect without burning fuel. Of course, some meetings need to happen face-to-face. But I invite you to list your meetings over the next month and ask whether each one requires travel — you'll likely find that many don't. When you do travel, take the time to consider your options. Where possible, prioritize public transit or, for trips outside urban centers, the train.
3109
3110For business trips that require flying, offset your carbon emissions with companies like \`Solutions Will\` (a certified B Corp) or \`Planetair\`. The amounts you contribute fund renewable energy, energy efficiency or reforestation projects.
3111
3112Finally, encourage regular remote work. Offer the whole team the chance to work from home a few times per week. In addition to drastically cutting carbon emissions, this can improve work-family balance and, for some, boost efficiency.
3113
3114## **4\\. Set up sorting stations to make waste management easier**
3115
3116In my experience, if a banana peel ends up in the trash even though the company composts, it's often because the sorting stations aren't easy enough to reach. People are in a hurry and won't make a special trip. That's why I recommend installing 3-compartment sorting stations (recycling, compost and trash) so they're accessible to everyone. And to avoid confusion, write down which compartment each material goes in. To build that list — or to launch a compost program if you don't have one — see \`Compost Montréal.\`
3117
3118## **5\\. Avoid single-use containers (always)**
3119
3120This probably isn't a surprise. Cutting single-use containers in daily life isn't an insurmountable challenge. But try applying this approach to all your events too. Whether it's your holiday party or a client event, choose porcelain or compostable dishware and washable or compostable utensils. Always prefer reusable or compostable supplies to recyclable ones. And opt for local, socially-minded caterers like \`Les Filles Fattoush\`. Supporting local businesses grows your local community and cuts transport emissions.
3121
3122## **Final tips**
3123
3124Don't forget to include your team. If needed, create an environmental committee whose mission is to set the strategy and orchestrate the initiatives that improve your company's environmental impact.
3125
3126Also, share the results with employees. If you want them to embrace the initiatives, they need to see the outcomes. For example, if you put in place measures to reduce flying, share how much greenhouse gas wasn't emitted. That visibility keeps people motivated.
3127
3128Hoping these concrete solutions help you build your eco-responsible action plan. Want more advice? Come [chat](https://www.boitepac.com/contact) with us!
3129
3130Article written by \`Thomas\`, B Corp consultant (he/him)`,legacyUrl:"https://www.boitepac.com/post/5-trucs-eco-responsables-pour-les-entreprises"},{slug:"entreprises-en-2020-mettez-la-diversite-et-linclusion-au-centre-de-vos-preoccupations",title:"Companies in 2020: put diversity and inclusion at the heart of your priorities",date:"2020-01-21",excerpt:"An interview with Geneviève Comeau of Les Filles Fattoush — a social enterprise giving employment and confidence to newly-arrived Syrian women in Canada.",cover:"/blog/images/entreprises-en-2020-mettez-la-diversite-et-linclusion-au-ce
3130ntre-de-vos-preoccupations-03dc27a392.jpg",coverAlt:"standards B Corp 2026 montréal",content:`I had the pleasure of meeting Geneviève Comeau of Les Filles Fattoush. Formerly in the advertising world, she now makes her living as the executive director of a deeply inspiring social enterprise.
3131
3132[Les Filles Fattoush](http://www.lesfillesfattoush.com/) is a Syrian-cuisine catering service whose mission is to provide employment to newly-arrived Syrian women in Canada. It's also a desire to build a bridge between two cultures through food and culinary know-how. The company embodies the power of bringing women together to give them financial independence, ease their integration into a new culture, lift them out of isolation and, above all, give them confidence in themselves.
3133
3134It was over an Ouzi (a traditional Syrian dish that Geneviève describes as Syria's pâté chinois) that we talked about the Les Filles Fattoush concept — and the importance of betting on inclusion within a company.
3135
3136### **Why leave advertising to join a social enterprise like Les Filles Fattoush?**
3137
3138I had a huge desire to try entrepreneurship, and a great need to have a positive impact on society. It was during my time at the agency Bob that I discovered the concept of sustainable development, as they wanted to bring it to the forefront of their practices.
3139
3140Through my own research, I learned more about social impact and its benefits. I also came across this line: the best way to meet another person is over a meal. So when one of the founders approached me to share the Les Filles Fattoush concept, I was immediately drawn in.
3141
3142### **Why did diversity and inclusion become central to your work?**
3143
3144Because it's the simplest, most powerful way to make a company better — better at decisions, better at retaining people, better at serving customers who don't all look the same. D&I isn't a campaign — it's a way of designing the company.
3145
3146### **What would you say to a leader who doesn't know where to start?**
3147
3148Start by listening. Then look at your processes — hiring, evaluation, promotion. That's where bias hides. Then make space for the people you've recruited to actually shape the culture, not just fit into it.
3149
3150A huge thank-you to Geneviève for sharing her time and her vision. To learn more about Les Filles Fattoush and how to bring D&I more deeply into your company, come [chat](https://www.boitepac.com/contact) with us.
3151
3152Article written by the Boite Pac team.`,legacyUrl:"https://www.boitepac.com/post/entreprises-en-2020-mettez-la-diversite-et-linclusion-au-centre-de-vos-preoccupations"}];function Vp(e,t){return t==="en"?KW[e]:e}function py(e,t){return t==="en"?JW[e]:e}function BN(e,t){if(t!=="en")return e;const n=XW[e.slug];return n?{...e,...n}:e}function rw(){const e=nt();return y.useMemo(()=>fa.map(t=>BN(t,e)),[e])}function VY(e){const t=nt(),n=Ud(e);return y.useMemo(()=>n?BN(n,t):void 0,[n,t])}function $N(e,t){if(t==null)return e;if(Array.isArray(e)||Array.isArray(t)||typeof e!="object"||typeof t!="object")return t??e;const n={...e};for(const r of Object.keys(t))r in e?n[r]=$N(e[r],t[r]):n[r]=t[r];return n}function WY(e){const t=nt(),n=BY[e];return y.useMemo(()=>{if(!n)return;if(t!=="en")return n;const r=FY[e];return r?$N(n,r):n},[n,t,e])}const iw=zY,sw=UY;function HY(){return nt()==="en"?sw:iw}function GY(e){const t=nt(),n=decodeURIComponent(e);return(t==="en"?sw:iw).find(i=>i.slug===n||i.slug===e)}function KY(e,t=3){const n=nt(),r=decodeURIComponent(e);return(n==="en"?sw:iw).filter(s=>s.slug!==r&&s.slug!==e).slice(0,t)}function ow(e,t){return new Date(e+"T00:00:00").toLocaleDateString(t==="en"?"en-CA":"fr-CA",{day:"numeric",month:"long",year:"numeric"})}function JY(e,t){return e==="art-du-feedback"?t==="en"?"$1,500":"1 500 $":t==="en"?"$2,700":"2 700 $"}function YY({atelier:e}){const{remove:t,close:n}=Kh(),r=We(),i=nt(),s=me();return l.jsxs("div",{className:"group relative flex gap-4 rounded-2xl border border-foreground
3152/10 bg-cream p-3 transition-colors hover:border-foreground/20",children:[l.jsx(ie,{to:r(`/ateliers/${e.slug}`),onClick:n,className:"block h-20 w-20 shrink-0 overflow-hidden rounded-xl",children:l.jsx("img",{src:e.image,alt:e.title,className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-105"})}),l.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[l.jsx(ie,{to:r(`/ateliers/${e.slug}`),onClick:n,className:"font-display text-[15px] font-semibold leading-snug text-foreground hover:text-accent",children:e.title}),l.jsx("p",{className:"mt-1 text-xs text-foreground/60",children:Vp(e.category,i)}),l.jsxs("p",{className:"mt-auto pt-2 text-sm font-semibold text-foreground",children:[s("À partir de ","From "),JY(e.slug,i)]})]}),l.jsx("button",{type:"button",onClick:()=>t(e.slug),"aria-label":s("Retirer des favoris","Remove from favorites"),className:"absolute right-2 top-2 grid h-7 w-7 place-items-center rounded-full text-foreground/50 transition-colors hover:bg-foreground/10 hover:text-foreground",children:l.jsx(lr,{className:"h-4 w-4"})})]})}function QY(){const{isOpen:e,setOpen:t,slugs:n,clear:r,close:i}=Kh(),s=rw(),o=We(),a=me(),c=fo(),u=n.map(d=>s.find(h=>h.slug===d)).filter(d=>!!d),p=()=>{i(),c(o("/contact"),{state:{subject:"ateliers",favorites:u.map(d=>({slug:d.slug,title:d.title}))}})};return l.jsx(gW,{open:e,onOpenChange:t,children:l.jsxs(LN,{side:"right",className:"flex w-full flex-col gap-0 border-l border-foreground
3152/10 bg-background p-0 sm:max-w-md",children:[l.jsx(ON,{className:"border-b border-foreground/10 px-6 py-5 text-left",children:l.jsxs("div",{className:"flex items-center gap-3",children:[l.jsx("span",{className:"grid h-10 w-10 place-items-center rounded-full bg-accent/15 text-accent",children:l.jsx(wc,{className:"h-5 w-5 fill-accent"})}),l.jsxs("div",{children:[l.jsx(DN,{className:"font-display text-xl font-bold text-foreground",children:a("Mes ateliers favoris","My favorite workshops")}),l.jsx("p",{className:"text-xs text-foreground/60",children:u.length>0?a(`${u.length} atelier${u.length>1?"s":""} enregistré${u.length>1?"s":""}`,`${u.length} workshop${u.length>1?"s":""} saved`):a("Aucun atelier enregistré","No workshop saved yet")})]})]})}),u.length===0?l.jsxs("div",{className:"flex flex-1 flex-col items-center justify-center px-6 py-12 text-center",children:[l.jsx("span",{className:"grid h-16 w-16 place-items-center rounded-full bg-accent/10 text-accent",children:l.jsx(wc,{className:"h-7 w-7"})}),l.jsx("h3",{className:"mt-5 font-display text-xl font-semibold text-foreground",children:a("Votre liste est vide","Your list is empty")}),l.jsx("p",{className:"mt-2 max-w-xs text-sm text-foreground/70",children:a("Parcourez notre catalogue et cliquez sur le cœur pour enregistrer les ateliers qui vous intéressent.","Browse our catalog and click the heart to save the workshops you're interested in.")}),l.jsxs(tt,{variant:"accent",size:"lg",className:"mt-6",onClick:()=>{i(),c(o("/nos-ateliers"))},children:[a("Parcourir les ateliers","Browse workshops"),l.jsx(ci,{className:"h-4 w-4"})]})]}):l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"flex-1 space-y-3 overflow-y-auto px-6 py-5",children:u.map(d=>l.jsx(YY,{atelier:d},d.slug))}
3152),l.jsxs("div",{className:"border-t border-foreground/10 bg-cream/40 px-6 py-5",children:[u.length>=2?l.jsxs("div",{className:"mb-4 flex items-start gap-3 rounded-2xl bg-accent/10 px-4 py-3",children:[l.jsx(kc,{className:"mt-0.5 h-4 w-4 shrink-0 text-accent"}),l.jsx("p",{className:"text-xs leading-relaxed text-foreground/80",children:a("Deux ateliers ou plus? Faites-en une journée d'offsite et de formation pour votre équipe. On vous accompagne de la planification jusqu'à l'animation. On en discute?","Two or more workshops? Turn them into an offsite training day for your team. We support you from planning to facilitation. Let's discuss?")})]}):l.jsxs("div",{className:"mb-4 flex items-start gap-3 rounded-2xl bg-accent/10 px-4 py-3",children:[l.jsx(kc,{className:"mt-0.5 h-4 w-4 shrink-0 text-accent"}),l.jsx("p",{className:"text-xs leading-relaxed text-foreground/80",children:a("Prêt·e à passer à l'action ? Envoyez-nous votre sélection et on revient vers vous avec une proposition adaptée.","Ready to take action? Send us your selection and we'll come back with a tailored proposal.")})]}),l.jsxs(tt,{variant:"accent",size:"lg",className:"w-full",onClick:p,children:[a("Obtenir une soumission","Get a quote"),l.jsx(ci,{className:"h-4 w-4"})]}),l.jsx("button",{type:"button",onClick:r,className:"mt-3 block w-full text-center text-xs font-medium text-foreground/60 underline-offset-4 transition-colors hover:text-foreground hover:underline",children:a("Vider mes favoris","Clear my favorites")})]})]})]})})}function ht({children:e}){return l.jsxs("div",{className:"flex min-h-screen flex-col bg-navy",children:[l.jsx(X7,{}),l.jsx("main",{className:"flex-1",children:e}),l.jsx(hV,{}),l.jsx(QY,{})]})}const XY=1,ZY="89516370-96dd-446e-bfd0-38f5fc8dc435",eQ="2a085179-0a1c-43ad-88f9-631c9eab2259",tQ="/__l5e/assets-v1/89516370-96dd-446e-bfd0-38f5fc8dc435/hero-preview.mp4",nQ="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/89516370-96dd-446e-bfd0-38f5fc8dc435/hero-preview.mp4",rQ="hero-preview.mp4",iQ=17100937,sQ="video/mp4",oQ="2026-06-11T13:32:21Z",GC={version:XY,asset_id:ZY,project_id:eQ,url:tQ,r2_key:nQ,original_filename:rQ,size:iQ,content_type:sQ,created_at:oQ},aQ="/assets/logo-boitepac-DTgDP6gl.png";function lQ(){const[e,t]=y.useState(!1),n=y.useRef(null);return y.useEffect(()=>{if(!e)return;const r=document.body.style.overflow;document.body.style.overflow="hidden";const i=o=>o.key==="Escape"&&t(!1);window.addEventListener("keydown",i);const s=n.current;return s&&(s.currentTime=0,s.play().catch(()=>{})),()=>{document.body.style.overflow=r,window.removeEventListener("keydown",i)}},[e]),l.jsxs(l.Fragment,{children:[l.jsx("button",{type:"button",onClick:()=>t(!0),"aria-label":"Lire la vidéo de présentation",className:"group relative block w-[180px] translate-y-2 overflow-hidden rounded-2xl border border-cream/15 bg-navy-light shadow-mega transition-transform duration-300 ease-smooth hover:translate-y-1 hover:scale-[1.02] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent md:w-[220px] md:translate-y-4 md:hover:translate-y-3",children:l.jsxs("div",{className:"relative aspect-square w-full",children:[l.jsx("video",{src:GC.url,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"metadata",className:"pointer-events-none absolute inset-0 h-full w-full object-cover",tabIndex:-1,"aria-hidden":!0}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-navy/60 via-trans
3152parent to-navy/20"}),l.jsx("span",{className:"absolute right-2 top-2 grid h-9 w-9 place-items-center rounded-full bg-cream shadow-sm",children:l.jsx("img",{src:aQ,alt:"Boîte Pac",width:28,height:28,className:"h-6 w-6 object-contain"})}),l.jsx("span",{className:"absolute bottom-2 left-2 grid h-9 w-9 place-items-center rounded-full bg-cream/95 text-navy transition-transform duration-300 ease-smooth group-hover:scale-110",children:l.jsx(kT,{className:"h-4 w-4 fill-navy"})})]})}),l.jsx(Ir,{children:e&&l.jsx(re.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.25},className:"fixed inset-0 z-[100] grid place-items-center bg-navy/90 px-4 py-6 backdrop-blur-md",onClick:()=>t(!1),role:"dialog","aria-modal":"true","aria-label":"Lecteur vidéo",children:l.jsxs(re.div,{initial:{scale:.96,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.96,opacity:0},transition:{duration:.3,ease:[.22,1,.36,1]},className:"relative",onClick:r=>r.stopPropagation(),children:[l.jsx("button",{type:"button",onClick:()=>t(!1),"aria-label":"Fermer la vidéo",className:"absolute -top-12 right-0 grid h-10 w-10 place-items-center rounded-full bg-cream text-navy transition-transform hover:scale-105",children:l.jsx(lr,{className:"h-5 w-5"})}),l.jsx("div",{className:"overflow-hidden rounded-2xl border border-cream/15 bg-navy shadow-mega",children:l.jsx("video",{ref:n,src:GC.url,controls:!0,autoPlay:!0,playsInline:!0,className:"block h-[85vh] w-auto max-w-[95vw] object-contain",style:{aspectRatio:"9 / 16"}})})]})})})]})}function cQ(){const e=me(),t=We(),n=()=>{window.scrollTo({top:window.innerHeight*.95,behavior:"smooth"})};return l.jsxs("section",{className:"relative overflow-hidden bg-navy text-cream",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-hero","aria-hidden":!0}),l.jsxs("div",{className:"section relative flex min-h-[calc(100svh+2rem)] flex-col pt-24 pb-12 md:pt-28 md:pb-16",children:[l.jsxs(re.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.7,ease:[.22,1,.36,1]},className:"mx-auto flex max-w-5xl flex-1 flex-col justify-start pt-12 md:pt-16 text-center",children:[l.jsx("span",{className:"pill-light mx-auto",children:e("Cabinet conseils & stratégie","Consulting & strategy firm")}),l.jsx("h1",{className:"mt-6 font-display text-[clamp(2rem,5.5vw,4.75rem)] font-medium leading-[1.05] tracking-[-0.025em]",children:e(l.jsxs(l.Fragment,{children:["Des humains à ",l.jsx("span",{className:"text-impact-text",children:"impact"}),",",l.jsx("br",{className:"hidden sm:block"})," dans des entreprises à"," ",l.jsx("span",{className:"text-impact-text",children:"impact"}),"."]}),l.jsxs(l.Fragment,{children:["Humans with ",l.jsx("span",{className:"text-impact-text",children:"impact"}),",",l.jsx("br",{className:"hidden sm:block"})," within companies with"," ",l.jsx("span",{className:"text-impact-text",children:"impact"}),"."]}))}),l.jsx("p",{className:"mx-auto mt-6 max-w-2xl text-sm leading-relaxed text-cream/80 md:text-base",children:e("Nous sommes la firme québécoise de référence quand vient le temps de former vos leaders ou vous mener vers la certification B Corp","We generate concrete, lasting impact by working closely with you on two essential levers: your teams' leadership and the evolution of your environmental, social and governance practices.")}),l.jsxs("div",{className:"mt-8 flex flex-wrap justify-center gap-3",children:[l.jsx(tt,{asChild:!0,variant:"accent",size:"lg",children:l.jsx(ie,{to:t(Pr.leadership.href),children:e("Développer mon leadership","Develop my leadership")})}),l.jsx(tt,{asChild:!0,variant:"accent",size:"lg",children:l.jsx(ie,{to:t(Pr.impact.href),children:e("Responsabiliser mes pratiques","Make my practices responsible")})})]})]}),l.jsxs(re.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.7,delay:.25,ease:[.22,1,.36,1]},className:"pointer-events-none mt-4 flex items-end justify-between gap-4 pb-2 md:pb-4",children:[l.jsx(re.button,{type:"button",onClick:n,"aria-label":e("Faire défiler vers le bas","Scroll down"),animate:{y:[0,6,0]},transition:{duration:1.6,repeat:1/0,ease:"easeInOut"},className:"pointer-events-auto grid h-12 w-12 place-items-center rounded-full bg-cream text-navy shadow-mega transition-transform duration-300 ease-smooth hover:scale-110 md:h-14 md:w-14",children:l.jsx(ox,{className:"h-5 w-5"})}),l.jsx("div",{className:"pointer-events-auto",children:l.jsx(lQ,{})})]})]})]})}const uQ=[{id:"cohorte-leadership-fondateur",title:"Cohorte leadership pour fondateur·rice·s",titleEn:"Founder Leadership Cohort",dateLabel:"Programme condensé de 2 jours",dateLabelEn:"Condensed two-day program",description:"Deux journées immersives conçues exclusivement pour les fondateur·rice·s d'entreprise.",descriptionEn:"Two immersive days designed exclusively for company founders.",image:dy.url,imageAlt:"Fondateur·rice·s en discussion lors d'une journée de formation Boîte Pac",imageAltEn:"Founders in discussion during a Boîte Pac training day",badge:"Bientôt disponible",badgeEn:"Coming soon",badgeVariant:"neutral",cta:"Découvrir la cohorte leadership pour fondateur·rice·s",ctaEn:"Discover the Founder Leadership Cohort",href:"https://boitepac.com/services/cohorte-leadership-fondateur"},{id:"cohorte-leadership-signature",title:"Cohorte Leadership signature",titleEn:"Leadership Signature Cohort",dateLabel:"Cohorte de groupe · 4 séances",dateLabelEn:"Group cohort · 4 sessions",de
3152scription:"Développez une posture de leader authentique et durable aux côtés d'autres gestionnaires.",descriptionEn:"Develop an authentic and lasting leadership posture alongside other managers.",image:MN.url,imageAlt:"Cohorte de gestionnaires en discussion autour d'une table",imageAltEn:"Cohort of managers discussing around a table",badge:"Prochain départ : mars 2027",badgeEn:"Next start: March 2027",badgeVariant:"accent",cta:"Découvrir la cohorte Leadership signature",ctaEn:"Discover the Leadership Signature Cohort",href:"https://boitepac.com/services/parcours-leadership-en-groupe"}],dQ={accent:"bg-accent text-accent-foreground",neutral:"bg-background/95 text-foreground border border-foreground/20"};function pQ({event:e}){const t=me(),n=t(e.title,e.titleEn),r=t(e.dateLabel,e.dateLabelEn),i=t(e.description,e.descriptionEn),s=t(e.badge,e.badgeEn),o=t(e.imageAlt,e.imageAltEn),a=t(e.cta,e.ctaEn);return l.jsxs("a",{href:e.href,target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,"aria-label":n,className:"group min-w-[280px] snap-center overflow-hidden rounded-2xl border border-border bg-card shadow-sm transition-all duration-300 hover:-translate-y-1 hover:shadow-md md:min-w-0",children:[l.jsxs("div",{className:"relative h-44 w-full overflow-hidden bg-muted md:h-48",children:[l.jsx("img",{src:e.image,alt:o,loading:"lazy",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"}),l.jsx("span",{className:`absolute left-3 top-3 rounded-full px-2.5 py-1 text-[10px] font-bold uppercase tracking-wider ${dQ[e.badgeVariant]}`,children:s})]}),l.jsxs("div",{className:"flex flex-col p-5",children:[l.jsx("p",{className:"mb-1.5 text-[11px] font-semibold uppercase tracking-wide text-accent",children:r}),l.jsx("h3",{className:"mb-2 text-base font-bold leading-tight text-foreground md:text-lg",children:n}),l.jsx("p",{className:"mb-4 line-clamp-2 text-sm leading-relaxed text-muted-foreground",children:i}),l.jsxs("span",{className:"mt-auto inline-flex items-center gap-1 text-[11px] font-bold uppercase tracking-wide text-foreground transition-colors group-hover:text-accent",children:[a,l.jsx(Rh,{className:"h-3.5 w-3.5 transition-transform group-hover:translate-x-0.5"})]})]})]})}function hQ(){const e=me();return l.jsx("section",{className:"relative z-10 rounded-t-[2.5rem] bg-background md:rounded-t-[3rem]",children:l.jsxs("div",{className:"section py-12 md:py-16",children:[l.jsx("div",{className:"mb-8 flex items-center justify-center",children:l.jsxs("span",{className:"pill",children:[l.jsx(qh,{className:"h-3.5 w-3.5",strokeWidth:2}),l.jsx("h2",{className:"font-medium",children:e("Événements à venir","Upcoming events")})]})}),l.jsx("div",{className:"flex snap-x snap-mandatory gap-5 overflow-x-auto pb-2 md:grid md:grid-cols-2 md:gap-8 md:overflow-visible",children:uQ.map(t=>l.jsx(pQ,{event:t},t.id))})]})})}const fQ=1,mQ="dd54c662-e5b2-41aa-9bab-185a1fbca784",gQ="2a085179-0a1c-43ad-88f9-631c9eab2259",vQ="/__l5e/assets-v1/dd54c662-e5b2-41aa-9bab-185a1fbca784/desjardins.png",yQ="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/dd54c662-e5b2-41aa-9bab-185a1fbca784/desjardins.png",bQ="desjardins.png",xQ=48162,wQ="image/png",kQ="2026-06-08T18:57:17Z",CQ={version:fQ,asset_id:mQ,project_id:gQ,url:vQ,r2_key:yQ,original_filename:bQ,size:xQ,content_type:wQ,created_at:kQ},jQ=1,SQ="42ca73ce-a8a4-4b55-b990-9e0a83e75831",_Q="2a085179-0a1c-43ad-88f9-631c9eab2259",EQ="/__l5e/assets-v1/42ca73ce-a8a4-4b55-b990-9e0a83e75831/genv.png",TQ="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/42ca73ce-a8a4-4b55-b990-9e0a83e75831/genv.png",PQ="genv.png",AQ=86761,NQ="image/png",RQ="2026-06-08T18:57:17Z",qQ={version:jQ,asset_id:SQ,project_id:_Q,url:EQ,r2_key:TQ,original_filename:PQ,size:AQ,content_type:NQ,created_at:RQ},IQ=1,LQ="d2dc9fdb-9d05-4f30-b344-44861d8805f9",OQ="2a085179-0a1c-43ad-88f9-631c9eab2259",DQ="/__l5e/assets-v1/d2dc9fdb-9d05-4f30-b344-44861d8805f9/lussier.png",MQ="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/d2dc9fdb-9d05-4f30-b344-44861d8805f9/lussier.png",BQ="lussier.png",$Q=367520,FQ="image/png",zQ="2026-06-08T18:57:17Z",Vd={version:IQ,asset_id:LQ,project_id:OQ,url:DQ,r2_key:MQ,original_filename:BQ,size:$Q,content_type:FQ,created_at:zQ},UQ=1,VQ="8843d4c4-295b-499b-ba1d-210e987a3cec",WQ="2a085179-0a1c-43ad-88f9-631c9eab2259",HQ="/__l5e/assets-v1/8843d4c4-295b-499b-ba1d-210e987a3cec/lg2.png",GQ="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/8843d4c4-295b-499b-ba1d-210e987a3cec/lg2.png",KQ="lg2.png",JQ=181066,YQ="image/png",QQ="2026-06-16T13:58:56Z",XQ={version:UQ,asset_id:VQ,project_id:WQ,url:HQ,r2_key:GQ,original_filename:KQ,size:JQ,content_type:YQ,created_at:QQ},ZQ=1,eX="deee4adf-2654-43b6-a26a-a94b574d1e8b",tX="2a085179-0a1c-43ad-88f9-631c9eab2259",nX="/__l5e/assets-v1/deee4adf-2654-43b6-a26a-a94b574d1e8b/ciele.png",rX="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/deee4adf-2654-43b6-a26a-a94b574d1e8b/ciele.png",iX="ciele.png",sX=76849,oX="image/png",aX="2026-06-08T18:57:17Z",FN={version:ZQ,asset_id:eX,project_id:tX,url:nX,r2_key:rX,original_filename:iX,size:sX,content_type:oX,created_at:aX},lX=1,cX="3e798c16-dc6b-4eef-8884-155228048b23",uX="2a085179-0a1c-43ad-88f9-631c9eab2259",dX="/__l5e/assets-v1/3e798c16-dc6b-4eef-8884-155228048b23/guru.png",pX="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/3e798c16-dc6b-4eef-8884-155228048b23/guru.png",hX="guru.png",fX=86420,mX="image/png",gX="2026-06-08T18:57:17Z",vX={version:lX,asset_id:cX,project_id:uX,url:dX,r2_key:pX,original_filename:hX,size:fX,content_type:mX,created_at:gX},yX=1,bX="661b64ab-6c86-4b84-969e-7c198b3eb620",xX="2a085179-0a1c-43ad-88f9-631c9eab2259",wX="/__l5e/assets-v1/661b64ab-6c86-4b84-969e-7c198b3eb620/boreale.png",kX="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/661b64ab-6c86-4b84-969e-7c198b3eb620/boreale.png",CX="boreale.png",jX=94260,SX="image/png",_X="2026-06-08T18:57:17Z",EX={version:yX,asset_id:bX,project_id:xX,url:wX,r2_key:kX,original_filename:CX,size:jX,content_type:SX,created_at:_X},TX=1,PX="760f9386-51c3-4133-9efc-bd9d5ef32e1c",AX="2a085179-0a1c-43ad-88f9-631c9eab2259",NX="/__l5e/assets-v1/760f9386-51c3-4133-9efc-bd9d5ef32e1c/montoni.png",RX="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/760f9386-51c3-4133-9efc-bd9d5ef32e1c/montoni.png",qX="montoni.png",IX=98468,LX="image/png",OX="2026-06-08T18:57:17Z",DX={version:TX,asset_id:PX,project_id:AX,url:NX,r2_key:RX,original_filename:qX,size:IX,content_type:LX,created_at:OX},MX=1,BX="136e8b68-5e08-430b-baff-b25d4dc60de0",$X="2a085179-0a1c-43ad-88f9-631c9eab2259",FX="/__l5e/assets-v1/136e8b68-5e08-430b-baff-b25d4dc60de0/sanimax.png",zX="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/136e8b68-5e08-430b-baff-b25d4dc60de0/sanimax.png",UX="sanimax.png",VX=24642,WX="image/png",HX="2026-06-08T19:19:20Z",GX={version:MX,asset_id:BX,project_id:$X,url:FX,r2_key:zX,original_filename:UX,size:VX,content_type:WX,created_at:HX},KC=[{name:"Desjardins",url:CQ.url,heightClass:"h-12"},{name:"Gen V",url:qQ.url,heightClass:"h-20"},{name:"Lussier",url:Vd.url,heightClass:"h-14"},{name:"lg2",url:XQ.url,heightClass:"h-16"},{name:"Ciele Athletics",url:FN.url,heightClass:"h-14"},{name:"Guru",url:vX.url,heightClass:"h-14",offsetClass:"translate-x-2"},{name:"Boréale",url:EX.url,heightClass:"h-20"},{name:"Montoni",url:DX.url,heightClass:"h-20"},{name:"Sanimax",url:GX.url,heightClass:"h-20"}];function KX(){const e=me(),t=[...KC,...KC];return l.jsxs("section",{className:"relative z-10 -mt-8 rounded-t-[2.5rem] bg-background py-20 md:-mt-12 md:rounded-t-[3rem] md:py-28",children:[l.jsxs("div",{className:"section text-center",children:[l.jsx("span",{className:"pill",children:e("Le réseau Boite Pac","The Boite Pac network")}),l.jsx("h2",{className:"mx-auto mt-6 max-w-3xl font-display text-3xl font-medium leading-tight md:text-5xl",children:e(l.jsxs(l.Fragment,{children:["Prêts à être les prochains à ",l.jsx("em",{className:"not-italic font-bold",children:"transformer "}),"le milieu des affaires ?"]}),l.jsxs(l.Fragment,{children:["Ready to be the next to ",l.jsx("em",{className:"not-italic font-bold",children:"transform "}),"the business world?"]}))}),l.jsxs("p",{className:"mx-auto mt-4 max-w-xl text-sm text-muted-foreground md:text-base",children:[e("Plus de 350 organisations ont décidé d'embarquer avec nous et faire les choses différemment depuis 2019!","More than 350 organizations have chosen to join us and do things differently since 2019!"),l.jsx("br",{}),l.jsx("em",{children:"(Let's make it fun!)"})]})]}),l.jsx("div",{className:"relative mt-16 overflow-hidden",style:{maskImage:"linear-gradient(to right, transparent, black 8%, black 92%, transparent)",WebkitMaskImage:"linear-gradient(to right, transparent, black 8%, black 92%, transparent)"},children:l.jsx("div",{className:"flex w-max animate-marquee items-center gap-6 px-6 md:gap-8",children:t.map((n,r)=>l.jsx("div",{className:"grid h-28 w-[220px] shrink-0 place-items-center rounded-full border border-blue-soft-border/30 bg-blue-soft-1/60 px-8 md:h-32 md:w-[240px]",children:l.jsx("img",{src:n.url,alt:n.name,className:`${n.heightClass} ${n.offsetClass??""} w-auto object-contain`,loading:"lazy"})},`${n.name}-${r}`))})})]})}const JX=1,YX="3e3857e7-0e52-4b20-9584-a3cd4a5dc71d",QX="2a085179-0a1c-43ad-88f9-631c9eab2259",XX="/__l5e/assets-v1/3e3857e7-0e52-4b20-9584-a3cd4a5dc71d/bcorp-logo.svg",ZX="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/3e3857e7-0e52-4b20-9584-a3cd4a5dc71d/bcorp-logo.svg",eZ="bcorp-logo.svg",tZ=23493,nZ="image/svg+xml",rZ="2026-06-08T23:39:50Z",iZ={version:JX,asset_id:YX,project_id:QX,url:XX,r2_key:ZX,original_filename:eZ,size:tZ,content_type:nZ,created_at:rZ},sZ=1,oZ="2231e70d-60a3-429e-b8f0-8ff8a284f5f7",aZ="2a085179-0a1c-43ad-88f9-631c9eab2259",lZ="/__l5e/assets-v1/2231e70d-60a3-429e-b8f0-8ff8a284f5f7/leadership-organisationnel.jpg",cZ="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/2231e70d-60a3-429e-b8f0-8ff8a284f5f7/leadership-organisationnel.jpg",uZ="leadership-organisationnel.jpg",dZ=281610,pZ="image/jpeg",hZ="2026-06-09T21:09:19Z",zN={version:sZ,asset_id:oZ,project_id:aZ,url:lZ,r2_key:cZ,original_filename:uZ,size:dZ,content_type:pZ,created_at:hZ},fZ=1,mZ="65c5c72f-392d-40bd-850b-4e5b45f4bb61",gZ="2a085179-0a1c-43ad-88f9-631c9eab2259",vZ="/__l5e/assets-v1/65c5c72f-392d-40bd-850b-4e5b45f4bb61/accompagnement-bcorp.jpg",yZ="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/65c5c72f-392d-40bd-850b-4e5b45f4bb61/accompagnement-bcorp.jpg",bZ="accompagnement-bcorp.jpg",xZ=387351,wZ="image/jpeg",kZ="2026-06-09T21:09:18Z",UN={version:fZ,asset_id:mZ,project_id:gZ,url:vZ,r2_key:yZ,original_filename:bZ,size:xZ,content_type:wZ,created_at:kZ};function CZ(){const e=me(),t=We(),n=nt(),r=[{stat:e("150+ gestionnaires formés / ","150+ managers trained / "),pole:Pr.leadership,titleHead:e("Leadership","Leadership"),titleTail:e("organisationnel","organizational"),blurb:e("Faites grandir vos gestionnaires, vos équipes et votre culture. On forme, on coache et on outille les humains qui font tourner votre organisation grâce à des parcours de formation uniques.","Grow your managers, teams and culture. We train, coach and equip the humans who make your organization run with unique training programs."),bg:"bg-leadership",cta:e("Découvrir le leadership organisationnel","Explore organizational leadership"),image:zN.url,imageAlt:e("Coaching de leadership en petit groupe","Leadership coaching in a small group")},{stat:e("30+ démarches B Corp accompagnées","30+ B Corp journeys supported"),pole:Pr.impact,titleHead:e("Accompagnement","B Corp"),titleTail:e("certification B Corp","certification support"),blurb:e("Structurez votre évolution ESG avec le cadre B Corp. Notre force : simplifier une démarche trop souvent perçue comme complexe et vous guider jusqu'à l'obtention de votre certification B Corp.","Structure your ESG evolution with the B Corp framework. Our strength: simplifying a process often perceived as complex and guiding you all the way to your B Corp certification."),bg:"bg-impact",cta:e("Découvrir l'accompagnement B Corp","Explore B Corp certification support"),logo:iZ.url,
3152image:UN.url,imageAlt:e("Atelier de formation B Corp en salle","B Corp training workshop in room"),dedupePillsByLabel:!0}];return l.jsx("section",{className:"bg-background pb-20 md:pb-28",children:l.jsxs("div",{className:"section",children:[l.jsxs("div",{className:"mb-12 flex flex-col items-start justify-between gap-6 md:flex-row md:items-end",children:[l.jsxs("div",{children:[l.jsx("span",{className:"pill",children:e("Nos pôles d'expertise","Our expertise pillars")}),l.jsx("h2",{className:"mt-4 max-w-2xl font-display text-3xl font-medium leading-tight md:text-5xl",children:e(l.jsxs(l.Fragment,{children:["Qu'aimeriez-vous travailler"," ",l.jsx("span",{className:"font-bold",children:"avec nous"})," ?"]}),l.jsxs(l.Fragment,{children:["What would you like to work on"," ",l.jsx("span",{className:"font-bold",children:"with us"}),"?"]}))})]}),l.jsx("p",{className:"max-w-md text-muted-foreground",children:e("Concrètement, découvrez nos deux pôles de services complémentaires. Des services indépendants avec une promesse commune : un accompagnement bienveillant, humain et hors du commun (de l'impact TOUJOURS but let's make it fun).","Discover our two complementary service pillars. Independent services with a shared promise: caring, human and out-of-the-ordinary support (ALWAYS impact but let's make it fun).")})]}),l.jsx("div",{className:"flex flex-col gap-5",children:r.map((i,s)=>l.jsx(re.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.5,delay:s*.1,ease:[.22,1,.36,1]},children:l.jsxs(ie,{to:t(i.pole.href),className:`group relative grid gap-8 rounded-3xl ${i.bg} p-8 transition-all duration-500 ease-smooth hover:-translate-y-1 hover:shadow-elevated md:grid-cols-2 md:gap-12 md:p-10`,children:[l.jsxs("div",{className:"flex flex-col gap-8",children:[l.jsx("span",{className:"text-sm text-foreground/60",children:i.stat}),l.jsxs("h3",{className:"font-display text-3xl leading-[1.05] tracking-tight md:text-5xl",children:[l.jsx("span",{className:"font-bold",children:i.titleHead})," ",l.jsx("span",{className:"font-normal text-foreground/55",children:i.titleTail})]}),l.jsx("p",{className:"max-w-md text-base leading-relaxed text-foreground/80",children:i.blurb}),l.jsx("div",{className:"mt-auto flex flex-wrap content-start gap-0.5",children:(i.dedupePillsByLabel?i.pole.services.filter((o,a,c)=>c.findIndex(u=>u.label===o.label)===a):i.pole.services).map(o=>{const a=!i.dedupePillsByLabel&&"format"in o?o.format:void 0,c=!i.dedupePillsByLabel&&"formatLabel"in o?o.formatLabel:void 0,u=c?sN(c,n):a?cy(a,n):void 0,p=iN(o.href,n,o.label);return l.jsxs("span",{className:"inline-flex items-center rounded-full border border-foreground
3152/10 bg-white px-1.5 py-0.5 text-[10px] font-medium leading-tight text-foreground/80",children:[p,u&&l.jsxs("span",{className:"text-[8px] uppercase tracking-wider text-foreground/50",children:["· ",u]})]},o.href)})})]}),l.jsxs("div",{className:"flex flex-col gap-6 md:items-end",children:[l.jsx("div",{className:"w-full overflow-hidden rounded-2xl md:max-w-[320px]",children:l.jsx("img",{src:i.image,alt:i.imageAlt,width:640,height:400,loading:"lazy",className:"aspect-[16/10] w-full object-cover"})}),l.jsxs("div",{className:"mt-auto flex items-center gap-3 md:justify-end",children:[l.jsxs("span",{className:"relative font-medium",children:[i.cta,l.jsx("span",{className:"absolute -bottom-0.5 left-0 h-0.5 w-0 bg-foreground transition-all duration-300 ease-smooth group-hover:w-full"})]}),l.jsx("span",{className:"grid h-11 w-11 place-items-center rounded-full bg-accent text-accent-foreground transition-transform duration-300 ease-smooth group-hover:translate-x-1 group-hover:scale-105",children:l.jsx(Je,{className:"h-5 w-5"})})]})]})]})},i.pole.href))})]})})}function jZ(){const e=me(),t=We(),n=[{label:e("Productivité","Productivity"),href:"/ateliers/techniques-de-productivite"},{label:e("L'art du feedback","The art of feedback"),href:"/ateliers/art-du-feedback"},{label:e("Communication efficace","Effective communication"),href:"/ateliers/communiquer-efficacement"}];return l.jsx("section",{className:"relative z-10 -mt-8 rounded-t-[2.5rem] bg-navy py-20 text-cream md:-mt-12 md:rounded-t-[3rem] md:py-28",children:l.jsx("div",{className:"section",children:l.jsxs("div",{className:"mx-auto flex max-w-3xl flex-col items-center text-center",children:[l.jsx("span",{className:"pill-light",children:e("Envie d'y aller petit à petit?","Want to take it step by step?")}),l.jsx("span",{"aria-hidden":!0,className:"mt-6 grid h-10 w-10 place-items-center rounded-full bg-cream text-navy shadow-card",children:l.jsx(ox,{className:"h-4 w-4"})}),l.jsxs("div",{className:"relative mt-8",children:[l.jsx("div",{className:"overflow-hidden rounded-[1.75rem] shadow-mega",children:l.jsx("img",{src:nw,alt:e("Atelier de formation en groupe","Group training workshop"),width:960,height:640,loading:"lazy",className:"aspect-[4/3] w-full max-w-[360px] object-cover object-center md:max-w-[420px]"})}),l.jsxs("div",{className:"pointer-events-none absolute right-0 top-6 hidden translate-x-[calc(100%+1.5rem)] md:block",children:[l.jsxs("p",{className:"pointer-events-auto w-[210px] font-handwrite text-base leading-snug text-cream/85",children:[e("Rencontrez","Meet")," ",l.jsx(ie,{to:t("/equipe/judith"),className:"underline decoration-cream/30 decoration-1 underline-offset-4 transition-colors hover:text-cream hover:decoration-cream",children:"Judith"})," & ",l.jsx(ie,{to:t("/equipe/thomas"),className:"underline decoration-cream/30 decoration-1 underline-offset-4 transition-colors hover:text-cream hover:decoration-cream",children:"Thomas"}),e(", fondateurs de Boite Pac",", founders of Boite Pac")]}),l.jsx("svg",{className:"mt-2 -translate-x-2",width:"100",height:"68",viewBox:"0 0 186 124",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:l.jsx("path",{d:"M2 121.182C7.65222 121.182 26.5978 119.612 50.463 117.953C56.0367 117.565 69.1859 115.429 91.8777 110.781C102.929 108.518 112.318 103.454 121.797 97.8146C141.024 86.3758 151.652 76.5334 155.963 71.9351C161.744 65.7686 167.741 53.5651 174.282 37.6287C179.564 21.4758 182.199 11.6619 182.66 8.29945C182.855 6.43532 182.971 4.25076 183.091 2",stroke:"hsl(var(--cream))",strokeOpacity:"0.85",strokeWidth:"3",strokeLinecap:"round",fill:"none"})})]})]}),l.jsxs("p",{className:"mt-5 max-w-[260px] text-center font-handwrite text-base leading-snug text-cream/85 md:hidden",children:[e("Rencontrez","Meet")," ",l.jsx(ie,{to:t("/equipe/judith"),className:"underline decoration-cream/30 decoration-1 underline-offset-4 transition-colors hover:text-cream hover:decoration-cream",children:"Judith"})," & ",l.jsx(ie,{to:t("/equipe/thomas"),className:"underline decoration-cream/30 decoration-1 underline-offset-4 transition-colors hover:text-cream hover:decoration-cream",children:"Thomas"}),e(", fondateurs de Boite Pac",", founders of Boite Pac")]}),l.jsx("h2",{className:"mt-10 font-display text-3xl font-medium leading-tight tracking-[-0.02em] md:text-5xl",children:e("Passez à l'action avec nos ateliers à la carte","Take action with our à la carte workshops")}),l.jsx("p",{className:"mt-5 max-w-xl leading-relaxed text-cream/80",children:e("Découvrez notre catalogue d'ateliers concrets pour amorcer ou faire avancer vos pratiques de leadership et d'impact. Lunch & learn? Offsite? Journée de formation? On est là!","Discover our catalog of concrete workshops to kick off or advance your leadership and impact practices. Lunch & learn? Offsite? Training day? We're here!")}),l.jsx("div",{className:"mt-8 flex flex-wrap justify-center gap-3",children:n.map(r=>l.jsx(ie,{to:t(r.href),className:"inline-flex items-center rounded-full bg-accent px-5 py-2.5 text-sm font-medium text-accent-foreground transition-all duration-300 ease-smooth hover:bg-[hsl(var(--blue-vivid-h
3152over))] hover:scale-105",children:r.label},r.href))}),l.jsxs(ie,{to:t("/nos-ateliers"),className:"group mt-12 inline-flex items-center gap-3 text-sm font-medium text-cream transition-colors hover:text-cream/80",children:[e("Découvrir tous les ateliers","Discover all workshops"),l.jsx("span",{className:"grid h-9 w-9 place-items-center rounded-full bg-cream text-navy transition-transform duration-300 ease-smooth group-hover:translate-x-1",children:l.jsx(ci,{className:"h-4 w-4"})})]})]})})})}const SZ="/assets/thomas-conference-DSOlF-43.jpg";function _Z(){const e=me(),t=We();return l.jsx("section",{className:"relative z-10 -mt-8 rounded-t-[2.5rem] bg-background py-20 md:-mt-12 md:rounded-t-[3rem] md:py-28",children:l.jsx("div",{className:"section",children:l.jsxs("div",{className:"grid items-center gap-10 md:grid-cols-2 md:gap-16",children:[l.jsx(re.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6},className:"relative overflow-hidden rounded-[2rem] shadow-card",children:l.jsx("img",{src:SZ,alt:e("L'équipe Boîte Pac en discussion","The Boîte Pac team in discussion"),width:1200,height:1200,loading:"lazy",className:"aspect-[4/5] w-full object-cover"})}),l.jsxs(re.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.1},children:[l.jsx("span",{className:"pill",children:e("À propos de Boîte Pac","About Boîte Pac")}),l.jsx("h2",{className:"mt-6 font-display text-3xl font-medium leading-[1.05] tracking-[-0.02em] md:text-5xl",children:e("Défier le statu quo et amplifier l'impact des entreprises","Challenge the status quo and amplify companies' impact")}),l.jsxs("div",{className:"mt-6 space-y-4 leading-relaxed text-foreground/75",children:[l.jsx("p",{children:e("En 2026, nous croyons que les entreprises peuvent faire mieux. Et surtout, autrement. Basés à Montréal, nous accompagnons des organisations à travers le Québec à transformer leurs intentions en actions concrètes et à faire évoluer leurs pratiques en profondeur.","In 2026, we believe companies can do better. And above all, differently. Based in Montreal, we support organizations across Quebec to turn their intentions into concrete actions and deeply evolve their practices.")}),l.jsx("p",{children:e("Pssst : Notre accompagnement se fait d'humains à humains, sans prétention.","Pssst: Our support is human-to-human, without pretense.")})]}),l.jsxs(ie,{to:t("/a-propos"),className:"group mt-10 inline-flex items-center gap-3 text-sm font-medium text-foreground transition-colors hover:text-foreground/70",children:[e("En savoir plus sur Boîte Pac","Learn more about Boîte Pac"),l.jsx("span",{className:"grid h-10 w-10 place-items-center rounded-full bg-accent text-accent-foreground transition-transform duration-300 ease-smooth group-hover:translate-x-1",children:l.jsx(ci,{className:"h-4 w-4"})})]})]})]})})})}const EZ="/assets/marie-portrait-BzXvLErj.png";function ur({portraitSrc:e=EZ,portraitAlt:t,mergeWithFooter:n=!0}){const r=me(),i=We();return l.jsx("section",{className:n?"bg-background":"bg-background pb-20 md:pb-28",children:l.jsx(ie,{to:i("/contact"),"aria-label":r("Aller à la page contact","Go to the contact page"),className:"group relative z-10 -mt-8 md:-mt-12 block w-full overflow-hidden rounded-t-[2.5rem] bg-accent text-accent-foreground md:rounded-t-[3rem]",children:l.jsx("div",{className:"section",children:l.jsxs("div",{className:"grid items-end gap-6 md:grid-cols-[1.4fr,1fr]",children:[l.jsxs("div",{className:"pt-12 pb-12 md:pt-20 md:pb-20",children:[l.jsx("h2",{className:"font-display text-4xl leading-[1.05] tracking-[-0.02em] md:whitespace-nowrap md:text-[clamp(2.5rem,4.5vw,3.75rem)]",children:r(l.jsxs(l.Fragment,{children:[l.jsx("span",{className:"font-normal",children:"Alors, on "}),l.jsx("span",{className:"font-bold",children:"discute?"})]}),l.jsxs(l.Fragment,{children:[l.jsx("span",{className:"font-normal",children:"So, shall we "}),l.jsx("span",{className:"font-bold",children:"chat?"})]}))}),l.jsx("p",{className:"mt-6 max-w-md leading-relaxed text-white/85",children:r("Parce que quand les humains changent, les organisations suivent, chez Boîte Pac, on travaille autant à amplifier l'impact des humains dans les organisations que l'impact des organisations elles-mêmes.","Because when humans change, organizations follow. At Boîte Pac, we work just as much to amplify the impact of humans within organizations as the impact of the organizations themselves.")}),l.jsx("div",{className:"mt-8",onClick:s=>s.stopPropagation(),children:l.jsx(tt,{asChild:!0,variant:"cream",size:"lg",className:"group/btn",children:l.jsxs(ie,{to:i("/contact"),children:[r("Parlons-nous","Let's talk"),l.jsx(Je,{className:"h-4 w-4 transition-transform duration-300 group-hover/btn:translate-x-1 group-hover/btn:-translate-y-0.5"})]})})})]}),l.jsxs("div",{className:"relative flex items-end justify-center self-end md:justify-end",children:[l.jsx("img",{src:e,alt:t??r("Marie, experte conseils","Marie, advisory expert"),width:820,height:620,loading:"lazy",className:"block h-auto w-full max-w-[360px] origin-bottom object-contain transition-transform duration-500 ease-smooth group-hover:scale-[1.04] md:max-w-[440px] lg:max-w-[500px]"}
3152),l.jsxs("span",{"aria-hidden":!0,className:"pointer-events-none absolute right-2 top-10 hidden font-handwrite text-base leading-tight text-white/95 md:block lg:right-4 lg:top-14 lg:text-lg",children:["Marie",l.jsx("br",{}),r("Experte conseils","Advisory expert")]})]})]})})})})}const JC=()=>l.jsxs(ht,{children:[l.jsx(cQ,{}),l.jsx(hQ,{}),l.jsx(KX,{}),l.jsx(CZ,{}),l.jsx(jZ,{}),l.jsx(_Z,{}),l.jsx(ur,{})]}),TZ={sm:"h-24 w-24 text-[11px]",md:"h-32 w-32 text-[12px]",lg:"h-40 w-40 text-sm"},PZ={green:{fill:"fill-[hsl(var(--green-pastille))]",text:"text-white"},cream:{fill:"fill-cream",text:"text-navy"},navy:{fill:"fill-navy",text:"text-cream"}},AZ="M50 2 C54 8 58 6 62 9 C66 4 70 8 71 13 C77 11 80 16 79 21 C85 21 86 27 83 31 C89 33 88 39 84 41 C90 45 87 51 82 51 C87 56 83 61 78 60 C81 65 76 70 71 68 C72 74 66 77 61 74 C61 80 55 82 51 78 C49 84 43 84 41 79 C37 84 31 82 31 76 C26 78 21 74 23 69 C17 70 13 64 17 60 C11 60 9 54 13 51 C8 48 9 42 14 41 C9 38 11 32 16 31 C12 27 16 21 21 22 C19 16 25 12 30 15 C30 9 36 6 40 10 C42 4 48 4 50 2 Z";function NZ({children:e,name:t,role:n,sub:r,variant:i="punchline",tone:s="green",rotate:o=-8,size:a="md",className:c,spin:u=!1,groupHover:p=!1}){const d=PZ[s];return l.jsxs("span",{className:K("relative inline-grid place-items-center select-none pointer-events-none",TZ[a],p&&"transition-transform duration-700 ease-out group-hover/sticker:rotate-12",c),style:{transform:`rotate(${o}deg)`},"aria-hidden":!0,children:[l.jsx("svg",{viewBox:"0 0 100 100",className:K("absolute inset-0 h-full w-full drop-shadow-[0_4px_12px_rgba(0,0,0,0.18)]",d.fill,u&&"animate-spin-slow"),children:l.jsx("path",{d:AZ})}),i==="signature"?l.jsxs("span",{className:K("relative z-10 flex flex-col items-center px-3 text-center leading-tight",d.text),children:[t&&l.jsx("span",{className:"font-handwrite text-[1.35em] font-bold leading-none",children:t}),n&&l.jsx("span",{className:"mt-0.5 font-handwrite text-[1em] leading-tight",children:n}),r&&l.jsx("span",{className:"font-handwrite text-[0.9em] italic leading-tight opacity-90",children:r})]}):l.jsx("span",{className:K("relative z-10 px-3 text-center font-display font-extrabold uppercase italic leading-[1.05] tracking-tight",d.text),children:e})]})}const RZ=()=>{const e=Ct(),t=me(),n=e.pathname.startsWith("/en");y.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]);const r=n?[{to:"/en",label:"Home"},{to:"/en/our-workshops",label:"Workshops"},{to:"/en/expertise/organizational-leadership",label:"Leadership"},{to:"/en/expertise/b-corp-certification",label:"B Corp"},{to:"/en/about",label:"About"},{to:"/en/contact",label:"Contact"}]:[{to:"/",label:"Accueil"},{to:"/nos-ateliers",label:"Ateliers"},{to:"/expertise/leadership-organisationnel",label:"Leadership"},{to:"/expertise/accompagnement-certification-b-corp",label:"B Corp"},{to:"/a-propos",label:"À propos"},{to:"/contact",label:"Contact"}];return l.jsxs("main",{className:"relative flex min-h-[calc(100vh-80px)] items-center justify-center overflow-hidden bg-background px-6 py-24",children:[l.jsx(vs,{children:l.jsx("meta",{name:"robots",content:"noindex, follow"})}),l.jsx("div",{className:"absolute -left-24 top-20 h-64 w-64 rounded-full bg-leadership/40 blur-3xl"}),l.jsx("div",{className:"absolute -right-24 bottom-20 h-64 w-64 rounded-full bg-impact/40 blur-3xl"}),l.jsxs("div",{className:"relative z-10 flex w-full max-w-xl flex-col items-center text-center",children:[l.jsx(NZ,{tone:"navy",size:"sm",rotate:-6,className:"mb-8",children:"404"}),l.jsx("h1",{className:"mb-4 font-display text-5xl font-medium leading-none tracking-tight text-foreground md:text-7xl",children:t("Page introuvable","Page not found")}),l.jsx("p",{className:"mb-10 max-w-md text-lg leading-relaxed text-muted-foreground",children:t("Oups ! La page que vous cherchez n’existe pas ou a été déplacée.","Oops! The page you are looking for does not exist or has been moved.")}),l.jsx(ie,{to:t("/","/en"),className:"inline-flex items-center justify-center rounded-full bg-foreground px-8 py-3.5 text-sm font-medium text-primary-foreground transition-all hover:opacity-90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",children:t("Retour à l’accueil","Back to home")}),l.jsxs("div",{className:"mt-10 w-full",children:[l.jsx("p",{className:"mb-4 text-sm uppercase tracking-widest text-muted-foreground",children:t("Ou explorez","Or explore")}),l.jsx("div",{className:"flex flex-wrap items-center justify-center gap-2",children:r.map(i=>l.jsx(ie,{to:i.to,className:"rounded-full border border-foreground
3152/15 bg-background/60 px-4 py-2 text-sm text-foreground transition-colors hover:border-foreground/40 hover:bg-foreground hover:text-primary-foreground",children:i.label},i.to))})]})]})]})},aw="/assets/workshop-cafe-Bds-9wSy.jpg",Wp="/assets/judith-DjswnuOt.jpg";function Zu(){const e=me(),t=We(),n=[{value:"70%",label:e("des employé·es disent que leur engagement dépend davantage de leur équipe immédiate que de l'entreprise.","of employees say their engagement depends more on their immediate team than on the company.")},{value:"+25%",label:e("de productivité dans les équipes dont les leaders savent instaurer un climat de sécurité psychologique.","more productivity in teams whose leaders know how to foster a climate of psychological safety.")},{value:"+40%",label:e("d'engagement quand les rétroactions sont régulières, claires et bienveillantes.","more engagement when feedback is regular, clear and caring.")}],r=[{Icon:kc,title:e("Pouvoir d'influence","Power of influence"),desc:e("Mobiliser sans imposer, en créant une adhésion naturelle autour de la vision.","Mobilize without imposing, by creating natural buy-in around the vision.")},{Icon:bT,title:e("Connexion","Connection"),desc:e("Bâtir des relations authentiques basées sur l'empathie et l'écoute active.","Build authentic relationships based on empathy and active listening.")},{Icon:ZM,title:e("Organisation","Organization"),desc:e("Structurer l'espace et le temps pour favoriser la clarté et l'efficacité collective.","Structure space and time to foster clarity and collective effectiveness.")},{Icon:r6,title:e("Communication","Communication"),desc:e("Maîtriser l'art de transmettre des messages clairs, impactants et bienveillants.","Master the art of conveying clear, impactful and caring messages.")},{Icon:QM,title:e("Courage managérial","Managerial courage"),desc:e("Oser les conversations difficiles et prendre des décisions intègres malgré la pression.","Dare to have difficult conversations and make principled decisions despite pressure.")},{Icon:a6,title:e("Développement des talents","Talent development"),desc:e("Identifier et propulser le potentiel de chaque membre de l'équipe.","Identify and propel the potential of each team member.")},{Icon:ax,title:e("Vision stratégique","Strategic vision"),desc:e("Prendre de la hauteur pour aligner les actions quotidiennes avec le futur souhaité.","Step back to align daily actions with the desired future.")},{Icon:l6,title:e("Intentionnalité","Intentionality"),desc:e("Agir avec conscience et détermination pour maximiser l'impact de chaque geste.","Act with awareness and determination to maximize the impact of each move.")}],i=[{Icon:_p,badge:e("Personnalisé · Niveau 1","Custom · Level 1"),title:e("Programme Leadership personnalisé","Custom Leadership Program"),subtitle:e("Fondations pour gestionnaires de premier niveau","Foundations for first-level managers"),description:e("Un parcours co-construit pour faire grandir vos gestionnaires, ancré dans la réalité, les valeurs et la culture de votre entreprise.","A co-built program to grow your managers, anchored in the reality, values and culture of your company."),href:"/services/parcours-leadership-cohorte-personnalisee",featured:!0},{Icon:_p,badge:e("Personnalisé · Niveau 2","Custom · Level 2"),title:e("Programme Leadership · Niveau 2","Leadership Program · Level 2"),subtitle:e("Approfondissement pour leaders aguerris","Depth for seasoned leaders"),description:e("Pousser plus loin l'intentionnalité, le sens et la perspective stratégique des leaders qui ont déjà des bases solides.","Push further the intentionality, meaning and strategic perspective of leaders who already have solid foundations."),href:"/services/programme-leadership-personnalise-niveau-2"},{Icon:Ev,badge:e("Cohorte signature","Signature cohort"),title:e("Cohorte Leadership signature","Signature Leadership Cohort"),subtitle:e("Format de groupe pour nouveaux leaders","Group format for new leaders"),description:e("Explorer les 8 compétences clés du leadership d'évolution au sein d'une cohorte intime de gestionnaires de différentes organisations.","Explore the 8 key competencies of evolutionary leadership within an intimate cohort of managers from different organizations."),href:"/services/parcours-leadership-en-groupe"}],s=[{Icon:gT,badge:e("Outil","Tool"),title:e("Test psychométrique Nova","Nova psychometric test"),subtitle:e("Profil Nova Global","Nova Global profile"),description:e("Avant de gérer les autres, encore faut-il se gérer soi-même. Une vision complète de vos forces, comportements et motivations.","Before managing others, you must manage yourself. A complete view of your strengths, behaviors and motivations."),href:"/services/tests-psychometriques"},{Icon:wT,badge:e("Sur mesure","Custom"),title:e("Coaching & conseils","Coaching & advisory"),subtitle:e("Accompagnement individuel ou d'équipe","Individual or team support"),description:e("Une méthode conçue pour comprendre vos besoins, vos angles morts et mettre vos forces au profit de votre développement.","A method designed to understand your needs, your blind spots and put your strengths to work for your development."),href:"/services/coaching-conseils-leadership"}],o=[{q:e("En quoi ce programme est différent des autres formations en leadership ?","How is this program different from other leadership trainings?"),a:e("On combine théorie, introspection, pratique et outils ultra-concrets — pour que les apprentissages s'appliquent dès le lendemain. Nos cohortes restent volontairement petites pour préserver la qualité des échanges.","We combine theory, introspection, practice and ultra-concrete tools — so learnings can be applied the very next day. Our cohorts stay deliberately small to preserve the quality of exchanges.")},{q:e("Est-ce que ce programme est adapté aux réalités actuelles des organisations ?","Is this program suited to today's organizational realities?"),a:e("Oui. On retravaille continuellement nos contenus pour qu'ils tiennent compte des défis réels : changement, pression, performance, hybridité, santé psych
3152ologique.","Yes. We continuously rework our content to reflect real challenges: change, pressure, performance, hybridity, psychological health.")},{q:e("Est-ce que des équipes complètes peuvent suivre le programme ensemble ?","Can entire teams take the program together?"),a:e("Absolument — c'est même l'une des configurations les plus puissantes. Le programme personnalisé est précisément conçu pour cela.","Absolutely — it's actually one of the most powerful setups. The custom program is designed precisely for this.")},{q:e("Quelle est la différence entre votre parcours signature et le programme sur mesure ?","What's the difference between your signature program and the custom program?"),a:e("Signature : cohorte ouverte, calendrier fixe, intervenants Boîte Pac. Sur mesure : conçu pour vos équipes, votre culture, votre calendrier.","Signature: open cohort, fixed calendar, Boîte Pac facilitators. Custom: built for your teams, your culture, your schedule.")},{q:e("Est-ce que je peux participer à la formation même si je ne gère pas une équipe ?","Can I take the training even if I don't manage a team?"),a:e("Oui, plusieurs participants en font une démarche de développement personnel et de préparation à un futur rôle de gestion.","Yes, many participants use it as a personal development journey and preparation for a future management role.")},{q:e("Est-ce adapté pour des gestionnaires techniques comme des superviseurs ?","Is it suitable for technical managers like supervisors?"),a:e("Oui — c'est même souvent le profil le plus transformé par notre approche.","Yes — that's often the profile most transformed by our approach.")}];return l.jsxs(ht,{children:[l.jsx("section",{className:"bg-navy text-cream",children:l.jsxs("div",{className:"section pt-32 pb-16 md:pt-40 md:pb-24",children:[l.jsxs(re.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-4xl",children:[l.jsx("span",{className:"pill-light",children:e("Leadership organisationnel ","Organizational leadership ")}),l.jsx("h1",{className:"mt-6 font-display text-[clamp(2.25rem,5vw,4.5rem)] font-medium leading-[1.05] tracking-[-0.02em]",children:e(l.jsxs(l.Fragment,{children:["Devenir un meilleur"," ",l.jsx("em",{className:"not-italic font-bold text-accent",children:"leader"})," en entreprise"]}),l.jsxs(l.Fragment,{children:["Becoming a better"," ",l.jsx("em",{className:"not-italic font-bold text-accent",children:"leader"})," in business"]}))}),l.jsx("p",{className:"mt-6 max-w-2xl text-base leading-relaxed text-cream/80 md:text-lg",children:e("Boite Pac est une firme montréalaise spécialisée en formation en leadership et en développement des gestionnaires. Nous accompagnons des entreprises partout au Québec avec des cohortes de leadership et des formations sur mesure, pour que les gestionnaires repartent avec des outils concrets à appliquer dès le lendemain : mobiliser leur équipe, communiquer clairement, donner du feedback et mener des conversations difficiles. Plus de 150 gestionnaires formés et plus de 350 organisations accompagnées nous font confiance.","Boîte Pac is a Montréal firm specializing in leadership training and manager development. We support companies across Quebec with leadership cohorts and custom training, so managers leave with concrete tools they can apply the very next day: mobilizing their team, communicating clearly, giving feedback and leading difficult conversations. More than 150 managers trained and over 350 organizations supported trust us.")})]}),l.jsx(re.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.15},className:"mt-12 overflow-hidden rounded-[2rem] md:rounded-[2.5rem]",children:l.jsx("img",{src:zN.url,alt:e("Atelier leadership Boîte Pac","Boîte Pac leadership workshop"),width:1600,height:900,className:"aspect-[16/9] w-full object-cover"})})]})}),l.jsx("section",{className:"relative z-10 -mt-8 rounded-t-[2.5rem] bg-background py-20 md:-mt-12 md:rounded-t-[3rem] md:py-28",children:l.jsxs("div",{className:"section grid gap-12 md:grid-cols-2 md:gap-16",children:[l.jsxs("div",{children:[l.jsx("span",{className:"pill",children:e("Pourquoi miser sur nos leaders","Why bet on our leaders")}),l.jsx("h2",{className:"mt-4 font-display text-3xl font-medium leading-tight md:text-5xl",children:e(l.jsxs(l.Fragment,{children:["Le gestionnaire est le"," ",l.jsx("em",{className:"not-italic font-bold",children:"chef d'orchestre"})," des équipes."]}),l.jsxs(l.Fragment,{children:["The manager is the"," ",l.jsx("em",{className:"not-italic font-bold",children:"conductor"})," of teams."]}))}),l.jsx("p",{className:"mt-6 max-w-md text-lg leading-relaxed text-muted-foreground",children:e("C'est lui qui transforme la vision en réalité quotidienne. Quand il évolue, toute l'équipe, et l'entreprise, évolue avec lui.","They turn vision into daily reality. When they grow, the whole team — and the company — grows with them.")})]}),l.jsx("div",{className:"grid gap-4",children:n.map((a,c)=>l.jsxs(re.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.5,delay:c*.08},className:"flex items-baseline gap-6 rounded-[1.75rem] border border-border bg-card p-6 md:p-7",children:[l.jsx("span",{className:"font-display text-4xl font-bold text-accent md:text-5xl",children:a.value}),l.jsx("span",{className:"text-sm leading-relaxed text-foreground
3152/75",children:a.label})]},a.value))})]})}),l.jsx("section",{className:"bg-background pb-20 md:pb-28",children:l.jsxs("div",{className:"section",children:[l.jsxs("div",{className:"mx-auto mb-14 max-w-2xl text-center",children:[l.jsx("span",{className:"inline-flex items-center rounded-full bg-foreground px-4 py-1.5 text-xs font-semibold uppercase tracking-widest text-background",children:e("Pédagogie distinctive","Distinctive pedagogy")}),l.jsx("h2",{className:"mt-6 font-display text-3xl font-medium leading-tight md:text-5xl",children:e(l.jsxs(l.Fragment,{children:["Les 8 piliers du"," ",l.jsx("em",{className:"not-italic font-bold text-accent",children:"leadership"})," Boîte Pac"]}),l.jsxs(l.Fragment,{children:["The 8 pillars of Boîte Pac"," ",l.jsx("em",{className:"not-italic font-bold text-accent",children:"leadership"})]}))}),l.jsx("p",{className:"mt-5 text-lg leading-relaxed text-muted-foreground",children:e("Notre approche repose sur le développement de compétences transversales pour transformer l'autorité en influence positive.","Our approach relies on developing transversal skills to turn authority into positive influence.")})]}),l.jsx("div",{className:"grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4",children:r.map((a,c)=>{const u=a.Icon;return l.jsxs(re.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.45,delay:c%4*.06},className:"group rounded-[1.75rem] border border-border bg-card p-7 shadow-card transition-all duration-500 ease-smooth hover:-translate-y-1 hover:shadow-elevated",children:[l.jsx("div",{className:"mb-6 grid h-11 w-11 place-items-center rounded-2xl bg-leadership shadow-sm",children:l.jsx(u,{className:"h-5 w-5 text-accent"})}),l.jsx("h3",{className:"font-display text-lg font-bold leading-tight",children:a.title}),l.jsx("p",{className:"mt-3 text-sm leading-relaxed text-foreground/70",children:a.desc})]},a.title)})})]})}),l.jsx("section",{className:"bg-background pb-20 md:pb-28",children:l.jsxs("div",{className:"section",children:[l.jsxs("div",{className:"mb-12 flex flex-col items-start justify-between gap-6 md:flex-row md:items-end",children:[l.jsxs("div",{className:"max-w-2xl",children:[l.jsx("span",{className:"pill",children:e("Parcours & cohortes","Programs & cohorts")}),l.jsx("h2",{className:"mt-4 font-display text-3xl font-medium leading-tight md:text-5xl",children:e(l.jsxs(l.Fragment,{children:["Comment on"," ",l.jsx("em",{className:"not-italic font-bold",children:"vous accompagne"})]}),l.jsxs(l.Fragment,{children:["How we"," ",l.jsx("em",{className:"not-italic font-bold",children:"support you"})]}))})]}),l.jsx("p",{className:"max-w-md text-muted-foreground",children:e("Trois formats pour faire grandir vos leaders — du parcours sur mesure ancré dans votre culture à la cohorte signature inter-entreprises.","Three formats to grow your leaders — from the custom program rooted in your culture to the cross-company signature cohort.")})]}),l.jsx("div",{className:"grid gap-5 lg:grid-cols-3",children:i.map((a,c)=>l.jsx(YC,{card:a,index:c,tone:"leadership",href:t(a.href),t:e},a.href))}),l.jsx("div",{className:"mt-10 grid gap-5 md:grid-cols-2",children:s.map((a,c)=>l.jsx(YC,{card:a,index:c,tone:"leadership",compact:!0,href:t(a.href),t:e},a.href))})]})}),l.jsx("section",{className:"bg-background pb-20 md:pb-28",children:l.jsxs("div",{className:"section grid items-center gap-10 md:grid-cols-2",children:[l.jsx("div",{className:"overflow-hidden rounded-[2rem] md:rounded-[2.5rem]",children:l.jsx("img",{src:aw,alt:e("Notre approche","Our approach"),width:900,height:680,loading:"lazy",className:"h-[320px] w-full object-cover md:h-[440px]"})}),l.jsxs("div",{children:[l.jsx("span",{className:"pill",children:e("Notre approche","Our approach")}),l.jsx("h2",{className:"mt-6 font-display text-3xl leading-tight md:text-5xl",children:e(l.jsxs(l.Fragment,{children:["Un mélange juste de"," ",l.jsx("em",{className:"not-italic font-bold",children:"théorie, introspection"})," et outils concrets."]}),l.jsxs(l.Fragment,{children:["A fair mix of"," ",l.jsx("em",{className:"not-italic font-bold",children:"theory, introspection"})," and concrete tools."]}))}
3152),l.jsx("p",{className:"mt-6 text-foreground/75 leading-relaxed",children:e("On forme des leaders qui repartent avec des choses à faire dès lundi matin pas avec une pile de slides.","We train leaders who leave with things to do Monday morning — not with a stack of slides.")}),l.jsx(tt,{asChild:!0,variant:"navy",size:"lg",className:"mt-8",children:l.jsxs(ie,{to:t("/a-propos"),children:[e("Découvrir notre approche","Discover our approach"),l.jsx(Je,{className:"h-4 w-4"})]})})]})]})}),l.jsx("section",{className:"bg-background pb-20 md:pb-28",children:l.jsxs("div",{className:"section grid gap-12 md:grid-cols-[1fr,1.5fr]",children:[l.jsxs("div",{children:[l.jsx("span",{className:"pill",children:e("Foire aux questions","Frequently asked questions")}),l.jsx("h2",{className:"mt-4 font-display text-3xl font-medium leading-tight md:text-5xl",children:e(l.jsxs(l.Fragment,{children:["On vous ",l.jsx("em",{className:"not-italic font-bold",children:"répond"}),"."]}),l.jsxs(l.Fragment,{children:["We ",l.jsx("em",{className:"not-italic font-bold",children:"answer"}),"."]}))}),l.jsxs("p",{className:"mt-6 text-muted-foreground",children:[e("Vous avez d'autres questions ?","Other questions?")," ",l.jsx(ie,{to:t("/contact"),state:{subject:"leadership"},className:"font-medium text-foreground underline underline-offset-4",children:e("Écrivez-nous","Write to us")}),"."]}),l.jsxs("div",{className:"mt-10 flex items-center gap-4",children:[l.jsx("img",{src:Wp,alt:e("Judith Dignard, cofondatrice de Boîte Pac","Judith Dignard, co-founder of Boîte Pac"),width:88,height:88,loading:"lazy",className:"h-20 w-20 rounded-full object-cover ring-2 ring-accent/40"}),l.jsxs("div",{className:"text-sm leading-relaxed",children:[l.jsx("p",{className:"text-foreground/85",children:e("Au plaisir d'échanger avec vous très bientôt !","Looking forward to chatting with you very soon!")}),l.jsx("p",{className:"mt-1 font-display font-semibold",children:"Judith"}),l.jsx("p",{className:"text-foreground/60",children:e("Cofondatrice","Co-founder")})]})]})]}),l.jsx("ul",{className:"divide-y divide-border rounded-[1.75rem] border border-border bg-card",children:o.map((a,c)=>l.jsx(qZ,{q:a.q,a:a.a,defaultOpen:c===0},c))})]})}),l.jsx(ur,{})]})}function YC({card:e,index:t,tone:n,compact:r,href:i,t:s}){const o=e.Icon;return l.jsx(re.div,{initial:{opacity:0,y:18},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.5,delay:t*.07},children:l.jsxs(ie,{to:i,className:K("group relative flex h-full flex-col justify-between gap-8 overflow-hidden rounded-[1.75rem] border border-white/60 p-8 transition-all duration-500 ease-smooth hover:-translate-y-1 hover:shadow-elevated md:p-9",n==="leadership"?"bg-leadership":"bg-impact",e.featured&&"ring-2 ring-accent/40"),children:[l.jsxs("div",{children:[l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsx("span",{className:"grid h-11 w-11 place-items-center rounded-2xl bg-card shadow-card",children:l.jsx(o,{className:"h-5 w-5 text-accent"})}),l.jsx("span",{className:"rounded-full bg-card/80 px-3 py-1 text-[11px] font-semibold uppercase tracking-wider text-foreground/70",children:e.badge})]}),l.jsx("h3",{className:K("mt-6 font-display font-bold leading-tight",r?"text-xl md:text-2xl":"text-2xl md:text-[1.6rem]"),children:e.title}),l.jsx("p",{className:"mt-1 text-sm font-medium text-foreground/60",children:e.subt
3152itle}),l.jsx("p",{className:"mt-4 text-foreground/80 leading-relaxed",children:e.description})]}),l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsxs("span",{className:"relative font-medium",children:[s("Découvrir","Discover"),l.jsx("span",{className:"absolute -bottom-0.5 left-0 h-0.5 w-0 bg-foreground transition-all duration-300 group-hover:w-full"})]}),l.jsx("span",{className:"grid h-11 w-11 place-items-center rounded-full bg-accent text-accent-foreground transition-transform duration-300 group-hover:translate-x-1 group-hover:scale-105",children:l.jsx(Je,{className:"h-5 w-5"})})]})]})})}function qZ({q:e,a:t,defaultOpen:n}){const[r,i]=y.useState(!!n);return l.jsxs("li",{children:[l.jsxs("button",{type:"button",onClick:()=>i(s=>!s),className:"flex w-full items-start justify-between gap-6 px-6 py-5 text-left transition-colors hover:bg-foreground/[0.03]","aria-expanded":r,children:[l.jsx("span",{className:"font-display text-base font-semibold md:text-lg",children:e}),l.jsx("span",{className:K("mt-1 grid h-7 w-7 shrink-0 place-items-center rounded-full bg-accent text-accent-foreground transition-transform duration-300",r?"rotate-45":"rotate-0"),children:l.jsx(lx,{className:"h-4 w-4"})})]}),l.jsx("div",{className:K("grid overflow-hidden px-6 transition-all duration-300 ease-smooth",r?"grid-rows-[1fr] pb-5 opacity-100":"grid-rows-[0fr] opacity-0"),children:l.jsx("p",{className:"min-h-0 text-muted-foreground leading-relaxed",children:t})})]})}const IZ="/assets/bcorp-logo-white-BsAghKht.svg",lw="/assets/thomas-C9XA3p25.jpg";function ed(){const e=me(),t=We(),n=[{value:"30+",label:e("démarches B Corp accompagnées au Québec et au Canada.","B Corp journeys supported in Quebec and Canada.")},{value:"100%",label:e("de taux de certification chez nos clients accompagnés.","certification rate among our supported clients.")},{value:"7",label:e("standards d'impact couverts par la nouvelle norme B Corp.","impact standards covered by the new B Corp standard.")}],r=[{Icon:WM,title:e("Gouvernance responsable","Responsible governance"),desc:e("Aligner la mission, la prise de décision et la transparence sur l'impact long terme.","Align mission, decision-making and transparency with long-term impact.")},{Icon:bT,title:e("Droits humains","Human rights"),desc:e("Respecter et faire respecter les droits fondamentaux dans toute la chaîne de valeur.","Respect and enforce fundamental rights throughout the value chain.")},{Icon:VM,title:e("Travail équitable","Fair work"),desc:e("Conditions de travail justes, rémunération équitable et culture de bien-être.","Fair working conditions, equitable pay and a culture of wellbeing.")},{Icon:c6,title:e("JEDI","JEDI"),desc:e("Justice, équité, diversité et inclusion intégrées à chaque processus.","Justice, equity, diversity and inclusion embedded in every process.")},{Icon:YM,title:e("Action climatique","Climate action"),desc:e("Mesurer, réduire et compenser son empreinte carbone avec ambition.","Measure, reduce and offset your carbon footprint with ambition.")},{Icon:e6,title:e("Gestion environnementale","Environmental stewardship"),desc:e("Préserver les ressources naturelles et minimiser les impacts au-delà du climat.","Preserve natural resources and minimize impacts beyond climate.")},{Icon:XM,title:e("Action collective","Collective action"),desc:e("Contribuer activement aux communautés et au mouvement pour une économie régénérative.","Actively contribute to communities and the movement for a regenerative economy.")}],i=[{Icon:mT,badge:e("Certification · Personnalisé","Certification · Custom"),title:e("Certification B Corp · Parcours personnalisé","B Corp Certification · Custom Program"),subtitle:e("Accompagnement sur mesure, à votre rythme","Tailored support, at your pace"),description:e("On structure votre démarche en fonction de votre maturité, de vos équipes et de vos priorités, jusqu'à la certification.","We structure your journey based on your maturity, your teams and your priorities, all the way to certification."),href:"/services/certification-b-corp-personnalise",featured:!0},{Icon:kc,badge:e("Certification · Cohorte","Certification · Cohort"),title:e("Certification B Corp · Cohorte de groupe","B Corp Certification · Group Cohort"),subtitle:e("Cheminer entouré d'autres entreprises","Move forward surrounded by other companies"),description:e("Un parcours collectif qui combine apprentissages communs, jalons partagés et accompagnement individuel.","A collective journey combining shared learnings, shared milestones and individual support."),href:"/services/certification-b-corp-cohorte-de-groupe"}],s=[{Icon:ax,badge:e("Recertification · Personnalisé","Recertification · Custom"),title:e("Recertification B Corp · Parcours personnalisé","B Corp Recertification · Custom Program"),subtitle:e("Consolider, progresser, préparer le prochain cycle","Consolidate, progress, prepare for the next cycle"),description:e("On revisite vos pratiques, on identifie les progrès à faire et on prépare votre prochain B Impact Assessment.","We revisit your practices, identify progress to make and prepare for your next B Impact Assessment."),href:"/services/recertification-b-corp-personnalise"},{Icon:CT,badge:e("Recertification · Cohorte","Recertification · Cohort"),title:e("Recertification B Corp · Cohorte de groupe","B Corp Recertification · Group Cohort"),subtitle:e("Préparer son prochain cycle entre B Corps","Prepare your next cycle among B Corps"),description:e("Une cohorte d'entreprises certifiées qui se préparent ensemble à la prochaine évaluation avec un accompagnement structuré.","A cohort of certified companies preparing together for the next assessment with structured support."),href:"/services/recertification-b-corp-cohorte-de-groupe"}],o=[{q:e("À qui s'adresse votre accompagnement B Corp ?","Who is your B Corp support for?"),a:e("Aux entreprises de toutes tailles qui veulent structurer leur démarche d'impact — qu'elles soient au tout début de leur réflexion ou déjà certifiées en quête de recertification.","Companies of all sizes that want to structure their impact journey — whether at the start of their reflection or already certified and seeking recertification.")},{q:e("Quelle est la différence entre la cohorte et le parcours personnalisé ?","What's the difference between the cohort and the custom program?"),a:e("La cohorte combine apprentissages collectifs, intelligence de groupe et jalons partagés, à coût moindre. Le personnalisé est calibré sur votre rythme, votre culture et vos enjeux spécifiques.","The cohort combines collective learning, group intelligence and shared milestones, at a lower cost. Custom is calibrated to your pace, culture and specific challenges.")},{q:e("Combien de temps dure une démarche de certification ?","How long does a certification journey take?"),a:e("Entre 6 et 18 mois en général, selon la maturité de l'entreprise, la taille et la complexité des pratiques à formaliser.","Generally between 6 and 18 months, depending on the company's maturity, size and the complexity of practices to formalize.")},{q:e("Est-ce que vous garantissez la certification ?","Do you guarantee certification?"),a:e("100% de nos clients accompagnés ont obtenu leur certification. On vous accompagne jusqu'à l'atteinte du score minimum exigé par B Lab.","100% of our supported clients have obtained certification. We support you until you reach the minimum score required by B Lab.")},{q:e("Comment fonctionne la recertification ?","How does recertification work?"),a:e("Tous les 3 ans, les B Corps doivent repasser l'évaluation. Nos parcours de recertification vous aident à consolider vos pratiques et à viser un meilleur score.","Every 3 years, B Corps must retake the assessment. Our recertification programs help you consolidate your practices and aim for a better score.")},{q:e("Et la nouvelle norme B Corp ?","What about the new B Corp standard?"),a:e("La nouvelle norme repose sur 7 standards d'impact obligatoires plutôt qu'un score global. Nos parcours sont déjà alignés avec cette logique.","The new standard is based on 7 mandatory impact standards rather than a global score. Our programs are already aligned with this logic.")}];return l.jsxs(ht,{children:[l.jsx("section",{className:"bg-navy text-cream",children:l.jsxs("div",{className:"section pt-32 pb-16 md:pt-40 md:pb-24",children:[l.jsxs(re.div,{initial:{opacity:0,y:16}
3152,animate:{opacity:1,y:0},transition:{duration:.6},className:"grid items-start gap-10 md:grid-cols-[1fr_auto]",children:[l.jsxs("div",{className:"max-w-4xl",children:[l.jsx("span",{className:"pill-light",children:e("Accompagnement certification B Corp","B Corp certification support")}),l.jsx("h1",{className:"mt-6 font-display text-[clamp(2.25rem,5vw,4.5rem)] font-medium leading-[1.05] tracking-[-0.02em]",children:e(l.jsxs(l.Fragment,{children:["Rehausser l'",l.jsx("em",{className:"not-italic font-bold text-accent",children:"impact"})," de votre entreprise"]}),l.jsxs(l.Fragment,{children:["Raise your company's ",l.jsx("em",{className:"not-italic font-bold text-accent",children:"impact"})]}))}),l.jsx("p",{className:"mt-6 max-w-2xl text-base leading-relaxed text-cream/80 md:text-lg",children:e("On croit profondément à la force de faire de la business autrement. Pas comme un compromis, mais comme un levier puissant pour accélérer la transformation de la société. Pour y arriver, on vous propose l'accompagnement vers l'obtention de votre certification B Corp. Une certification reconnue mondialement qui fera évoluer vos pratiques environnementales, sociales et de gouvernance.","We deeply believe in the power of doing business differently. Not as a compromise, but as a powerful lever to accelerate the transformation of society. To get there, we offer support toward obtaining your B Corp certification — a globally recognized certification that will evolve your environmental, social and governance practices.")})]}),l.jsx("img",{src:IZ,alt:e("Logo Certified B Corporation","Certified B Corporation logo"),width:220,height:220,className:"hidden h-auto w-[180px] self-center justify-self-end md:block lg:w-[220px]"})]}),l.jsx(re.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.15},className:"mt-12 overflow-hidden rounded-[2rem] md:rounded-[2.5rem]",children:l.jsx("img",{src:UN.url,alt:e("Accompagnement B Corp Boîte Pac","Boîte Pac B Corp support"),width:1600,height:900,className:"aspect-[16/9] w-full object-cover"})})]})}),l.jsx("section",{className:"relative z-10 -mt-8 rounded-t-[2.5rem] bg-background py-20 md:-mt-12 md:rounded-t-[3rem] md:py-28",children:l.jsxs("div",{className:"section grid gap-12 md:grid-cols-2 md:gap-16",children:[l.jsxs("div",{children:[l.jsx("span",{className:"pill",children:e("Pourquoi miser sur le cadre B Corp","Why bet on the B Corp framework")}),l.jsx("h2",{className:"mt-4 font-display text-3xl font-medium leading-tight md:text-5xl",children:e(l.jsxs(l.Fragment,{children:["B Corp, ce n'est pas un"," ",l.jsx("em",{className:"not-italic font-bold",children:"logo"}),", c'est une boussole stratégique."]}),l.jsxs(l.Fragment,{children:["B Corp isn't a"," ",l.jsx("em",{className:"not-italic font-bold",children:"logo"})," — it's a strategic compass."]}))}),l.jsx("p",{className:"mt-6 max-w-md text-lg leading-relaxed text-muted-foreground",children:e("Un cadre robuste pour structurer vos pratiques ESG, mobiliser vos équipes et rassurer vos parties prenantes. Notre point fort : on simplifie une démarche trop souvent perçue comme complexe.","A robust framework to structure your ESG practices, mobilize your teams and reassure your stakeholders. Our strength: simplifying a process too often perceived as complex.")})]}),l.jsx("div",{className:"grid gap-4",children:n.map((a,c)=>l.jsxs(re.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.5,delay:c*.08},className:"flex items-baseline gap-6 rounded-[1.75rem] border border-border bg-card p-6 md:p-7",children:[l.jsx("span",{className:"font-display text-4xl font-bold text-accent md:text-5xl",children:a.value}),l.jsx("span",{className:"text-sm leading-relaxed text-foreground/75",children:a.label})]},a.value))})]})}),l.jsx("section",{className:"bg-background pb-20 md:pb-28",children:l.jsxs("div",{className:"section",children:[l.jsxs("div",{className:"mx-auto mb-14 max-w-2xl text-center",children:[l.jsx("span",{className:"inline-flex items-center rounded-full bg-foreground px-4 py-1.5 text-xs font-semibold uppercase tracking-widest text-background",children:e("La nouvelle norme B Corp","The new B Corp standard")}),l.jsx("h2",{className:"mt-6 font-display text-3xl font-medium leading-tight md:text-5xl",children:e(l.jsxs(l.Fragment,{children:["Les 7 standards"," ",l.jsx("em",{className:"not-italic font-bold text-accent",children:"d'impact"})]}),l.jsxs(l.Fragment,{children:["The 7"," ",l.jsx("em",{className:"not-italic font-bold text-accent",children:"impact"})," standards"]}))}),l.jsx("p",{className:"mt-5 text-lg leading-relaxed text-muted-foreground",children:e("La nouvelle norme remplace le score global par 7 standards obligatoires. Voici les terrains sur lesquels on vous accompagne, concrètement.","The new standard replaces the global score with 7 mandatory standards. Here are the areas where we support you, concretely.")})]}),l.jsx("div",{className:"grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4",children:r.map((a,c)=>{const u=a.Icon;return l.jsxs(re.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.45,delay:c%4*.06},className:"group rounded-[1.75rem] border border-border/60 bg-soft-cream p-7 shadow-[0_4px_20px_-4px_hsl(var(--accent)/0.10)] transition-all duration-500 ease-smooth hover:-translate-y-1 hover:shadow-[0_14px_36px_-8px_hsl(var(--accent)/0.22)]",children:[l.jsx("div",{className:"mb-6 grid h-11 w-11 place-items-center rounded-2xl bg-card shadow-card",children:l.jsx(u,{className:"h-5 w-5 text-accent"})}),l.jsx("h3",{className:"font-display text-lg font-bold leading-tight",children:a.title}),l.jsx("p",{className:"mt-3 text-sm leading-relaxed text-foreground
3152/70",children:a.desc})]},a.title)})})]})}),l.jsx("section",{className:"bg-background pb-20 md:pb-28",children:l.jsxs("div",{className:"section",children:[l.jsxs("div",{className:"mb-12 flex flex-col items-start justify-between gap-6 md:flex-row md:items-end",children:[l.jsxs("div",{className:"max-w-2xl",children:[l.jsx("span",{className:"pill",children:e("Nos 4 parcours","Our 4 programs")}),l.jsx("h2",{className:"mt-4 font-display text-3xl font-medium leading-tight md:text-5xl",children:e(l.jsxs(l.Fragment,{children:["Comment on"," ",l.jsx("em",{className:"not-italic font-bold",children:"vous accompagne"})]}),l.jsxs(l.Fragment,{children:["How we"," ",l.jsx("em",{className:"not-italic font-bold",children:"support you"})]}))})]}),l.jsx("p",{className:"max-w-md text-muted-foreground",children:e("Que vous visiez votre première certification ou que vous prépariez votre prochain cycle, on a un parcours pour vous — au format personnalisé ou en cohorte.","Whether you're aiming for your first certification or preparing for your next cycle, we have a program for you — custom or cohort.")})]}),l.jsxs("div",{className:"space-y-8",children:[l.jsxs("div",{children:[l.jsx("h3",{className:"mb-4 font-display text-sm font-semibold uppercase tracking-widest text-foreground/60",children:e("Certification B Corp","B Corp Certification")}),l.jsx("div",{className:"grid gap-5 md:grid-cols-2",children:i.map((a,c)=>l.jsx(QC,{card:a,index:c,tone:"impact",href:t(a.href),t:e},a.href))})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"mb-4 font-display text-sm font-semibold uppercase tracking-widest text-foreground/60",children:e("Recertification B Corp","B Corp Recertification")}),l.jsx("div",{className:"grid gap-5 md:grid-cols-2",children:s.map((a,c)=>l.jsx(QC,{card:a,index:c,tone:"impact",href:t(a.href),t:e},a.href))})]})]})]})}),l.jsx("section",{className:"bg-background pb-20 md:pb-28",children:l.jsxs("div",{className:"section grid items-center gap-10 md:grid-cols-2",children:[l.jsx("div",{className:"overflow-hidden rounded-[2rem] md:rounded-[2.5rem]",children:l.jsx("img",{src:aw,alt:e("Notre approche B Corp","Our B Corp approach"),width:900,height:680,loading:"lazy",className:"h-[320px] w-full object-cover md:h-[440px]"})}),l.jsxs("div",{children:[l.jsx("span",{className:"pill",children:e("Notre promesse","Our promise")}),l.jsx("h2",{className:"mt-6 font-display text-3xl leading-tight md:text-5xl",children:e(l.jsxs(l.Fragment,{children:["Une démarche"," ",l.jsx("em",{className:"not-italic font-bold",children:"structurée"}),", jamais intimidante."]}),l.jsxs(l.Fragment,{children:["A"," ",l.jsx("em",{className:"not-italic font-bold",children:"structured"})," journey, never intimidating."]}))}),l.jsx("p",{className:"mt-6 text-foreground/75 leading-relaxed",children:e("On traduit la complexité réglementaire en jalons clairs, en outils prêts à l'emploi et en rituels d'équipe qui font avancer pour vrai.","We translate regulatory complexity into clear milestones, ready-to-use tools and team rituals that truly move things forward.")}),l.jsx(tt,{asChild:!0,variant:"navy",size:"lg",className:"mt-8",children:l.jsxs(ie,{to:t("/a-propos"),children:[e("Découvrir notre approche","Discover our approach"),l.jsx(Je,{className:"h-4 w-4"})]})})]})]})}),l.jsx("section",{className:"bg-background pb-20 md:pb-28",children:l.jsxs("div",{className:"section grid gap-12 md:grid-cols-[1fr,1.5fr]",children:[l.jsxs("div",{children:[l.jsx("span",{className:"pill",children:e("Foire aux questions","Frequently asked questions")}),l.jsx("h2",{className:"mt-4 font-display text-3xl font-medium leading-tight md:text-5xl",children:e(l.jsxs(l.Fragment,{children:["On vous ",l.jsx("em",{className:"not-italic font-bold",children:"répond"}),"."]}),l.jsxs(l.Fragment,{children:["We ",l.jsx("em",{className:"not-italic font-bold",children:"answer"}),"."]}))}),l.jsxs("p",{className:"mt-6 text-muted-foreground",children:[e("Vous avez d'autres questions ?","Other questions?")," ",l.jsx(ie,{to:t("/contact"),state:{subject:"b-corp"},className:"font-medium text-foreground underline underline-offset-4",children:e("Écrivez-nous","Write to us")}),"."]}),l.jsxs("div",{className:"mt-10 flex items-center gap-4",children:[l.jsx("img",{src:lw,alt:e("Thomas, c
3152ofondateur de Boîte Pac","Thomas, co-founder of Boîte Pac"),width:88,height:88,loading:"lazy",className:"h-20 w-20 rounded-full object-cover ring-2 ring-accent/40"}),l.jsxs("div",{className:"text-sm leading-relaxed",children:[l.jsx("p",{className:"text-foreground/85",children:e("Au plaisir d'échanger avec vous très bientôt !","Looking forward to chatting with you very soon!")}),l.jsx("p",{className:"mt-1 font-display font-semibold",children:"Thomas"}),l.jsx("p",{className:"text-foreground/60",children:e("Cofondateur","Co-founder")})]})]})]}),l.jsx("ul",{className:"divide-y divide-border rounded-[1.75rem] border border-border bg-card",children:o.map((a,c)=>l.jsx(LZ,{q:a.q,a:a.a,defaultOpen:c===0},c))})]})}),l.jsx(ur,{})]})}function QC({card:e,index:t,tone:n,href:r,t:i}){const s=e.Icon;return l.jsx(re.div,{initial:{opacity:0,y:18},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.5,delay:t*.07},children:l.jsxs(ie,{to:r,className:K("group relative flex h-full flex-col justify-between gap-8 overflow-hidden rounded-[1.75rem] border border-white/60 p-8 transition-all duration-500 ease-smooth hover:-translate-y-1 hover:shadow-elevated md:p-9",n==="leadership"?"bg-leadership":"bg-impact",e.featured&&"ring-2 ring-accent/40"),children:[l.jsxs("div",{children:[l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsx("span",{className:"grid h-11 w-11 place-items-center rounded-2xl bg-card shadow-card",children:l.jsx(s,{className:"h-5 w-5 text-accent"})}),l.jsx("span",{className:"rounded-full bg-card/80 px-3 py-1 text-[11px] font-semibold uppercase tracking-wider text-foreground/70",children:e.badge})]}),l.jsx("h3",{className:"mt-6 font-display text-2xl font-bold leading-tight md:text-[1.6rem]",children:e.title}),l.jsx("p",{className:"mt-1 text-sm font-medium text-foreground/60",children:e.subt
3152itle}),l.jsx("p",{className:"mt-4 text-foreground/80 leading-relaxed",children:e.description})]}),l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsxs("span",{className:"relative font-medium",children:[i("Découvrir","Discover"),l.jsx("span",{className:"absolute -bottom-0.5 left-0 h-0.5 w-0 bg-foreground transition-all duration-300 group-hover:w-full"})]}),l.jsx("span",{className:"grid h-11 w-11 place-items-center rounded-full bg-accent text-accent-foreground transition-transform duration-300 group-hover:translate-x-1 group-hover:scale-105",children:l.jsx(Je,{className:"h-5 w-5"})})]})]})})}function LZ({q:e,a:t,defaultOpen:n}){const[r,i]=y.useState(!!n);return l.jsxs("li",{children:[l.jsxs("button",{type:"button",onClick:()=>i(s=>!s),className:"flex w-full items-start justify-between gap-6 px-6 py-5 text-left transition-colors hover:bg-foreground/[0.03]","aria-expanded":r,children:[l.jsx("span",{className:"font-display text-base font-semibold md:text-lg",children:e}),l.jsx("span",{className:K("mt-1 grid h-7 w-7 shrink-0 place-items-center rounded-full bg-accent text-accent-foreground transition-transform duration-300",r?"rotate-45":"rotate-0"),children:l.jsx(lx,{className:"h-4 w-4"})})]}),l.jsx("div",{className:K("grid overflow-hidden px-6 transition-all duration-300 ease-smooth",r?"grid-rows-[1fr] pb-5 opacity-100":"grid-rows-[0fr] opacity-0"),children:l.jsx("p",{className:"min-h-0 text-muted-foreground leading-relaxed",children:t})})]})}const OZ="/assets/conference-femmes-DEwg9SCk.jpg",DZ="/assets/equipe-entrepot-A0FtOqnS.jpg",MZ="/assets/panel-jccq-D3obmxXO.jpg",BZ="/assets/le-camp-C16no43d.jpg",$Z="/assets/panel-intervenants-B_Gw514A.jpg",FZ="/assets/panel-bcorp-Dv7F_yBR.jpg",zZ="/assets/extra-1-N5zJXvdt.jpg",UZ="/assets/extra-2-CoWf52rw.jpg",VZ="/assets/extra-3-CRnqo25I.jpg",WZ="/assets/extra-4-DfUAfF6_.jpg",HZ=[{eyebrow:{fr:"+350",en:"+350"},title:{fr:"organisations accompagnées",en:"organizations supported"},tone:"navy"},{eyebrow:{fr:"Depuis 2019",en:"Since 2019"},title:{fr:"on bâtit de l'impact",en:"we've been building impact"},description:{fr:"(and we make it fun)",en:"(and we make it fun)"},tone:"cream"},{eyebrow:{fr:"Basés à Montréal",en:"Based in Montreal"},title:{fr:"mais actifs partout à travers le Québec",en:"but active throughout Quebec"},tone:"accent"},{eyebrow:{fr:"Cadre B Corp",en:"B Corp framework"},title:{fr:"on s'appuie sur cette certification",en:"we rely on this certification"},description:{fr:"exigeante, structurante, concrète et ô combien pertinente",en:"demanding, structuring, concrete and oh so relevant"},tone:"cream"},{eyebrow:{fr:"4 jours / semaine",en:"4 days / week"},title:{fr:"On ne travaille pas les vendredis",en:"We don't work on Fridays"},description:{fr:"plus d'énergie, plus d'impact (oui, ça change tout)",en:"more energy, more impact (yes, it changes everything)"},tone:"navy"}],Wd=[{src:OZ,alt:{fr:"Conférence Boîte Pac",en:"Boîte Pac conference"}},{src:DZ,alt:{fr:"L'équipe Boîte Pac en entrepôt",en:"The Boîte Pac team in a warehouse"}},{src:MZ,alt:{fr:"Panel à la Jeune Chambre de commerce de Québec",en:"Panel at the Quebec Junior Chamber of Commerce"}},{src:BZ,alt:{fr:"Présentation au Camp",en:"Presentation at Le Camp"}},{src:$Z,alt:{fr:"Panel d'intervenants",en:"Speakers panel"}},{src:FZ,alt:{fr:"Panel sur l'écosystème B Corp",en:"Panel on the B Corp ecosystem"}},{src:zZ,alt:{fr:"Moment Boîte Pac",en:"Boîte Pac moment"}},{src:UZ,alt:{fr:"Moment Boîte Pac",en:"Boîte Pac moment"}},{src:VZ,alt:{fr:"Moment Boîte Pac",en:"Boîte Pac moment"}},{src:WZ,alt:{fr:"Moment Boîte Pac",en:"Boîte Pac moment"}}],GZ={cream:"bg-cream text-navy",navy:"bg-navy text-cream",accent:"bg-accent text-accent-foreground"};function KZ({m:e,lang:t}){const n=GZ[e.tone??"cream"];return l.jsxs("div",{className:`flex h-full flex-col items-center justify-center rounded-[1.5rem] p-6 text-center shadow-card md:p-8 ${n}`,children:[l.jsx("p",{className:"font-display text-2xl font-medium leading-[1.1] tracking-[-0.01em] md:text-3xl",children:e.eyebrow[t]}),l.jsx("p",{className:"mt-3 font-display text-base leading-snug md:text-lg",children:e.title[t]}),e.description&&l.jsx("p",{className:"mt-2 max-w-[26ch] text-xs leading-relaxed opacity-80 md:text-sm",children:e.description[t]})]})}const VN=[{kind:"image",index:0},{kind:"milestone",index:0},{kind:"image",index:1},{kind:"milestone",index:1},{kind:"milestone",index:2},{kind:"image",index:2},{kind:"milestone",index:3},{kind:"image",index:3},{kind:"image",index:4},{kind:"milestone",index:4},{kind:"image",index:5},{kind:"image",index:6}],To=VN.filter(e=>e.kind==="image").map(e=>e.index%Wd.length);function JZ(){const e=me(),t=nt(),[n,r]=y.useState(null),i=n!==null,s=y.useCallback(()=>r(null),[]),o=y.useCallback(()=>r(u=>u===null?u:(u+1)%To.length),[]),a=y.useCallback(()=>r(u=>u===null?u:(u-1+To.length)%To.length),[]);y.useEffect(()=>{if(!i)return;const u=d=>{d.key==="Escape"?s():d.key==="ArrowRight"?o():d.key==="ArrowLeft"&&a()};window.addEventListener("keydown",u);const p=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{window.removeEventListener("keydown",u),document.body.style.overflow=p}},[i,s,o,a]);const c=n!==null?Wd[To[n]]:null;return l.jsxs("section",{className:"relative z-10 -mt-8 rounded-t-[2.5rem] bg-impact py-20 md:-mt-12 md:rounded-t-[3rem] md:py-28",children:[l.jsxs("div",{className:"section",children:[l.jsxs(re.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6},className:"max-w-3xl",children:[l.jsx("span",{className:"pill",children:e("Notre histoire","Our story")}),l.jsx("h2",{className:"mt-6 font-display text-4xl leading-[1.05] tracking-[-0.02em] md:text-6xl",children:e(l.jsxs(l.Fragment,{children:["Boîte Pac, ",l.jsx("span",{className:"font-bold",children:"au fil des années"})]}),l.jsxs(l.Fragment,{children:["Boîte Pac, ",l.jsx("span",{className:"font-bold",children:"over the years"})]}))}
3152),l.jsx("p",{className:"mt-6 leading-relaxed text-foreground/75 md:text-lg",children:e("Quelques chiffres, quelques moments, et beaucoup d'humains. Voici ce qui nous façonne depuis nos débuts.","A few numbers, a few moments, and a lot of humans. Here's what's shaped us from the start.")})]}),l.jsx(re.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.7},className:"mt-14 grid grid-cols-2 gap-4 md:grid-cols-4 md:gap-5",children:VN.map((u,p)=>{if(u.kind==="milestone")return l.jsx("div",{className:"aspect-square",children:l.jsx(KZ,{m:HZ[u.index],lang:t})},p);const d=u.index%Wd.length,h=Wd[d],f=To.indexOf(d),m=h.alt[t];return l.jsx("button",{type:"button",onClick:()=>r(f),"aria-label":e(`Agrandir : ${m}`,`Enlarge: ${m}`),className:"group aspect-square overflow-hidden rounded-[1.5rem] bg-muted shadow-card focus:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-background",children:l.jsx("img",{src:h.src,alt:m,loading:"lazy",className:"h-full w-full object-cover transition-transform duration-700 ease-smooth group-hover:scale-[1.04]"})},p)})})]}),i&&c&&l.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":e("Visionneuse d'images","Image viewer"),className:"fixed inset-0 z-[100] flex items-center justify-center bg-navy/90 backdrop-blur-sm animate-fade-in",onClick:s,children:[l.jsx("button",{type:"button",onClick:u=>{u.stopPropagation(),s()},"aria-label":e("Fermer","Close"),className:"absolute right-4 top-4 grid h-12 w-12 place-items-center rounded-full bg-cream/10 text-cream transition-colors hover:bg-cream/20 md:right-6 md:top-6",children:l.jsx(lr,{className:"h-5 w-5"})}),l.jsx("button",{type:"button",onClick:u=>{u.stopPropagation(),a()},"aria-label":e("Image précédente","Previous image"),className:"absolute left-3 top-1/2 -translate-y-1/2 grid h-12 w-12 place-items-center rounded-full bg-cream/10 text-cream transition-colors hover:bg-cream/20 md:left-6 md:h-14 md:w-14",children:l.jsx(yT,{className:"h-6 w-6"})}),l.jsx("button",{type:"button",onClick:u=>{u.stopPropagation(),o()},"aria-label":e("Image suivante","Next image"),className:"absolute right-3 top-1/2 -translate-y-1/2 grid h-12 w-12 place-items-center rounded-full bg-cream/10 text-cream transition-colors hover:bg-cream/20 md:right-6 md:h-14 md:w-14",children:l.jsx(Rh,{className:"h-6 w-6"})}),l.jsxs("figure",{className:"relative mx-4 max-h-[88vh] max-w-[92vw] md:mx-16",onClick:u=>u.stopPropagation(),children:[l.jsx("img",{src:c.src,alt:c.alt[t],className:"max-h-[82vh] w-auto rounded-[1.25rem] object-contain shadow-elevated animate-scale-in"},c.src),l.jsxs("figcaption",{className:"mt-4 text-center text-sm text-cream/80",children:[c.alt[t]," · ",n+1," / ",To.length]})]})]})]})}const hy="/assets/marie-DBTcEJK-.jpg",fy="/assets/catherine-C4RgYHXC.jpg",YZ="/assets/noemie-C699rkJb.jpg",QZ="/assets/carmen-CiBexC_I.jpg",sf=[{slug:"judith",name:"Judith",role:"Cofondatrice et associée culture et talents (elle/she/her)",tags:["Leadership","Culture","Talents"],photo:Wp,linkedin:"https://www.linkedin.com/in/judith-dignard/",bio:[`Marathonienne à ses heures, maman de trois jeunes enfants et toujours partante pour un petit apéro, Judith est profondément passionnée par le développement humain.
3153Forte de son expertise, elle accompagne les organisations dans la création et l’implantation de programmes de leadership sur mesure, ancrés dans une culture d’apprentissage forte et durable.
3154
3155Au quotidien, elle cherche à faire converger les aspirations des employé·e·s et les objectifs de l’organisation, convaincue que cet alignement constitue un puissant levier de succès durable.
3156Le point de départ de ses réflexions est toujours le même : Slow down to speed up.`,""]},{slug:"marie",name:"Marie",role:"Partenaire, Stratégie et communications (elle/she/her)",tags:["Stratégie","Communications","B Corp"],photo:hy,linkedin:"https://www.linkedin.com/in/marie-larochelle-825b65101/",bio:["Marie acquiert une expertise 360 degrés à travers un parcours diversifié. Du tourisme aux ressources humaines jusqu'au monde des communications, ses expérience
3156s rallient avec le temps un dénominateur commun : le bien-être et le développement des humains derrière une marque.","Persuadée qu'un vent de changement au sein de notre société s'impose, elle rejoint les rangs de Boite Pac à titre de partenaire, stratégie et communications afin de redéfinir le monde du travail. En accompagnant les entreprises vers la certification B Corp ou les formant vers un leadership plus humain et plus ancré.","C'est la tête pleine d'idées que Marie chapeaute d'une main de maître des projets visant une transformation du milieu des affaires."]},{slug:"noemie",name:"Noémie",role:"Stratège d'impact et développement des affaires (elle/she/her)",tags:["Impact","Stratégie","Développement"],photo:YZ,linkedin:"https://www.linkedin.com/in/no%C3%A9mie-garcia-559858163/",bio:["Curieuse de nature, Noémie aime plonger dans de nouveaux univers, comprendre rapidement les dynamiques et proposer des solutions créatives. Forte de son expérience en marketing, elle se distingue par un regard à la fois stratégique et créatif.","Sportive et passionnée de voyages, elle s'inspire autant des sentiers de course que des rencontres humaines pour nourrir sa réflexion et élargir ses perspectives. Actuellement à la maîtrise en développement durable à HEC Montréal, elle souhaite aligner ses valeurs avec son travail et contribuer à des projets porteurs de sens."]},{slug:"carmen",name:"Carmen",role:"Facilitatrice (elle/she/her)",tags:["Facilitation","Co-création","Formation"],photo:QZ,linkedin:"https://www.linkedin.com/in/carmenbosse/",bio:["Carmen anime nos cohortes de leadership et nos ateliers à la carte avec la générosité et la rigueur qui caractérisent Boîte Pac.","Elle crée des espaces où les équipes osent réellement avancer."]},{slug:"thomas",name:"Thomas",role:"Cofondateur et associé (il/him)",tags:["B Corp","Stratégie","Cofondateur"],photo:lw,linkedin:"https://www.linkedin.com/in/thomas-ferland-dionne-14aa9112b/",bio:[`Thomas n'est pas du genre à accepter les choses telles qu'elles sont. Il est du genre à demander : et si on faisait mieux ?
3157
3158C'est cette question qui l'a propulsé au cœur de Workleap, où il a piloté une démarche vers l'obtention de la certification B Corp. En cherchant des ressources pour guider ce processus , Thomas a réalisé que les outils et l'aide n'existaient tout simplement pas.
3159
3160C'est donc en 2019, qu'il cofonde Boite Pac avec une conviction simple : les entreprises qui veulent faire le bien ne devraient pas être laissées à elles-mêmes pour le prouver. Depuis, Boite Pac a accompagné plus de 75 organisations dans leur parcours vers la certification B Corp.
3161
3162Ce qui anime Thomas, c'est l'intersection entre l'humain et l'entreprise. Il croit que les organisations les plus solides sont celles qui prennent soin des gens, leurs équipes, leurs communautés, leur environnement.
3163
3164Entrepreneur dans l'âme, Thomas continue de pousser les limites de ce que peut être une culture d'entreprise saine. Parce que pour lui, transformer le monde des affaires, c'est d'abord transformer la façon dont on traite les gens à l'intérieur.`,`
3165`]},{slug:"catherine",name:"Catherine",role:"Partenaire, Finances et durabilité (elle/she/her)",tags:["Finance","Durabilité","ESG"],photo:fy,linkedin:"https://www.linkedin.com/in/catherine-galvani-4497446a/",bio:["Juricomptable devenue professeure de yoga, Catherine a passé cinq des dernières années au Salvador, où elle a redéfini sa manière d'interagir avec le monde qui nous entoure. Forte de cette expérience et de son parcours professionnel, elle est maintenant de retour à Montréal, où elle renoue avec le monde de la consultation en aidant les gestionnaires à mettre en place des stratégies de gestion responsables et innovatrices.","Chez Boite Pac, Catherine accompagne notamment les entreprises qui souhaitent faire évoluer leurs pratiques environnementales, sociétales et de gouvernance, avec une approche pragmatique qui valorise tout autant le bien-être de l'équipe, la satisfaction des client·es et la profitabilité des opérations."]}],XZ=e=>sf.find(t=>t.slug===e),ZZ=1,eee="c5935dd7-d37e-4ff8-a5dd-f2e521aacca2",tee="2a085179-0a1c-43ad-88f9-631c9eab2259",nee="/__l5e/assets-v1/c5935dd7-d37e-4ff8-a5dd-f2e521aacca2/equipe-pac.jpg",ree="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/c5935dd7-d37e-4ff8-a5dd-f2e521aacca2/equipe-pac.jpg",iee="equipe-pac.jpg",see=489307,oee="image/jpeg",aee="2026-06-16T14:19:17Z",lee={ver
3165sion:ZZ,asset_id:eee,project_id:tee,url:nee,r2_key:ree,original_filename:iee,size:see,content_type:oee,created_at:aee};function XC(){const{hash:e}=Ct(),t=me(),n=We();return y.useEffect(()=>{if(!e)return;const r=e.replace("#",""),i=document.getElementById(r);i&&requestAnimationFrame(()=>i.scrollIntoView({behavior:"smooth",block:"start"}))},[e]),l.jsxs(ht,{children:[l.jsxs("section",{className:"relative overflow-hidden bg-navy text-cream",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-hero opacity-90","aria-hidden":!0}),l.jsx("div",{className:"section relative pt-32 pb-20 md:pt-40 md:pb-24",children:l.jsxs(re.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.7,ease:[.22,1,.36,1]},className:"flex flex-col",children:[l.jsx("span",{className:"pill-light self-start",children:t("À propos","About")}),l.jsx("h1",{className:"mt-6 font-display text-[clamp(2.5rem,6vw,5.5rem)] font-medium leading-[1.03] tracking-[-0.025em]",children:t(l.jsxs(l.Fragment,{children:["Nous transformons des"," ",l.jsx("span",{className:"italic text-impact-text",children:"intentions"})," en"," ",l.jsx("span",{className:"font-bold",children:"impact réel"})]}),l.jsxs(l.Fragment,{children:["We turn"," ",l.jsx("span",{className:"italic text-impact-text",children:"intentions"})," into"," ",l.jsx("span",{className:"font-bold",children:"real impact"})]}))}),l.jsxs("div",{className:"mt-16 grid gap-10 md:mt-20 md:grid-cols-[minmax(0,0.7fr)_minmax(0,1.8fr)] md:items-stretch md:gap-14",children:[l.jsx("div",{className:"overflow-hidden rounded-[1.75rem] md:rounded-[2rem] md:max-w-[280px]",children:l.jsx("img",{src:lee.url,alt:t("L'équipe de Boîte Pac réunie au bureau","The Boîte Pac team gathered at the office"),loading:"lazy",className:"aspect-[4/5] w-full object-cover object-center"})}),l.jsxs("div",{className:"flex flex-col md:h-full",children:[l.jsxs("div",{className:"space-y-5 text-base leading-relaxed text-cream/80 md:text-lg",children:[l.jsx("p",{children:t("Nous sommes une petite équipe mais avec une grande ambition : générer un impact réel dans le monde des affaires.","We're a small team with big ambition: to generate real impact in the business world.")}),l.jsx("p",{children:t("Nous ne faisons pas qu'en parler, nous le vivons à l'interne aussi. Le bien-être de notre équipe fait partie de l'équation, pas un « nice to have ». À chaque jour, nous questionnons le statu quo. Nous testons. Nous ajustons. Nous faisons autrement.","We don't just talk about it — we live it internally too. Our team's wellbeing is part of the equation, not a nice-to-have. Every day we question the status quo. We test. We adjust. We do things differently.")}),l.jsx("p",{children:t("Transparence, audace, équilibre sans jamais oublier le fun : c'est notre recette pour faire mieux.","Transparency, boldness, balance — and never forgetting the fun: that's our recipe to do better.")})]}),l.jsxs("a",{href:"#equipe","aria-label":t("Découvrir l'équipe","Meet the team"),className:"mt-12 inline-flex items-center gap-3 text-sm font-medium text-cream transition-colors hover:text-cream/70 md:ml-auto md:mt-auto md:flex md:w-fit md:pt-8",children:[t("Rencontrer l'équipe","Meet the team"),l.jsx(re.span,{animate:{y:[0,6,0]},transition:{duration:1.6,repeat:1/0,ease:"easeInOut"},className:"grid h-11 w-11 place-items-center rounded-full bg-cream text-navy shadow-mega",children:l.jsx(ox,{className:"h-5 w-5"})})]})]})]})]})})]}),l.jsx("section",{id:"equipe",className:"relative z-10 -mt-8 rounded-t-[2.5rem] bg-background py-20 md:-mt-12 md:rounded-t-[3rem] md:py-28",children:l.jsxs("div",{className:"section",children:[l.jsx(re.h2,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6},className:"font-display text-4xl leading-[1.05] tracking-[-0.02em] md:text-6xl",children:t(l.jsxs(l.Fragment,{children:["Une équipe ",l.jsx("span",{className:"font-bold",children:"engagée"}),",",l.jsx("br",{}),"pour de vrai"]}),l.jsxs(l.Fragment,{children:["A truly ",l.jsx("span",{className:"font-bold",children:"committed"}),l.jsx("br",{}),"team"]}))}),l.jsx("div",{className:"mt-14 grid gap-8 md:grid-cols-3",children:sf.map((r,i)=>l.jsx(re.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.5,delay:i%3*.08},children:l.jsxs(ie,{to:n(`/equipe/${r.slug}`),"aria-label":t(`Voir la bio de ${r.name}`,`See ${r.name}'s bio`),className:"group block",children:[l.jsxs("div",{className:"relative aspect-[4/5] overflow-hidden rounded-[1.75rem] bg-muted",children:[l.jsx("img",{src:r.photo,alt:t(`Portrait de ${r.name}`,`Portrait of ${r.name}`),width:768,height:960,loading:"lazy",className:"h-full w-full object-cover transition-transform duration-700 ease-smooth group-hover:scale-[1.04]"}),l.jsx("span",{className:"absolute bottom-3 right-3 grid h-10 w-10 place-items-center rounded-full bg-accent text-accent-foreground opacity-90 shadow-card transition-all duration-300 ease-smooth group-hover:scale-110 group-hover:opacity-100",children:l.jsx(Je,{className:"h-4 w-4"})}),l.jsx("div",{className:"pointer-events-none absolute inset-0 bg-navy/0 transition-colors duration-300 group-hover:bg-navy/10"})]}),l.jsxs("div",{className:"mt-4",children:[l.jsx("h3",{className:"font-display text-xl font-bold",children:r.name}),l.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:r.role})]})]})},r.slug))})]})}),l.jsx(JZ,{}),l.jsx(ur,{})]})}function ZC(){var a;const{slug:e}=Qc(),t=e?XZ(e):void 0;if(!t)return l.jsx(we,{to:"/a-propos",replace:!0});const n=t.role.replace(/\s*\(.*\)$/,""),r=`${t.name} — ${n} | Boîte Pac`,i=((a=t.bio[0])==null?void 0:a.slice(0,200))??n,s=`https://boitepac.com/equipe/${t.slug}`,o={"@context":"https://schema.org","@type":"ProfilePage",mainEntity:{"@type":"Person",name:t.name,jobTitle:n,worksFor:{"@type":"Organization",name:"Boîte Pac"},sameAs:t.linkedin?[t.linkedin]:void 0},url:s};return l.jsxs(ht,{children:[l.jsxs(vs,{children:[l.jsx("title",{children:r}),l.jsx("meta",{name:"description",content:i}),l.jsx("meta",{property:"og:title",content:r}),l.jsx("meta",{property:"og:description",content:i}),l.jsx("meta",{property:"og:url",content:s}),l.jsx("meta",{property:"og:type",content:"profile"}),l.jsx("meta",{name:"twitter:title",content:r}),l.jsx("meta",{name:"twitter:description",content:i}),l.jsx("script",{type:"application/ld+json",children:JSON.stringify(o)})]}),l.jsx("section",{className:"bg-background pt-32 pb-20 md:pt-40 md:pb-28",children:l.jsxs("div",{className:"section",children:[l.jsxs(ie,{to:"/a-propos#equipe",className:"inline-flex items-center gap-2 text-sm text-muted-foreground transition-colors hover:text-foreground",children:[l.jsx(Nh,{className:"h-4 w-4"})," Retour à l'équipe"]}),l.jsxs("div",{className:"mt-10 grid items-start gap-10 md:grid-cols-[1fr,1.1fr] md:gap-16",children:[l.jsx(re.div,{initial:{opacity:0,y:20}
3165,animate:{opacity:1,y:0},transition:{duration:.6,ease:[.22,1,.36,1]},className:"overflow-hidden rounded-[2rem] bg-muted md:rounded-[2.5rem]",children:l.jsx("img",{src:t.photo,alt:`Portrait de ${t.name}`,width:800,height:1e3,className:"h-auto w-full object-cover"})}),l.jsxs(re.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1},children:[l.jsx("span",{className:"pill",children:"Équipe"}),l.jsx("h1",{className:"mt-6 font-display text-5xl font-bold leading-[1.05] tracking-[-0.02em] md:text-7xl",children:t.name}),l.jsx("p",{className:"mt-2 font-display text-2xl font-medium leading-tight text-foreground/80 md:text-4xl",children:t.role.replace(/\s*\(.*\)$/,"")}),l.jsx("ul",{className:"mt-6 flex flex-wrap gap-2",children:t.tags.map(c=>l.jsx("li",{className:"rounded-full bg-accent px-4 py-1.5 text-sm font-medium text-accent-foreground",children:c},c))}),l.jsx("div",{className:"mt-8 space-y-4 text-base leading-relaxed text-foreground/85 md:text-lg",children:t.bio.map((c,u)=>l.jsx("p",{className:"whitespace-pre-line",children:c},u))}),t.linkedin&&l.jsxs("a",{href:t.linkedin,target:"_blank",rel:"noopener noreferrer",className:"mt-8 inline-flex items-center gap-3 text-base font-medium text-foreground hover:underline",children:[l.jsxs("span",{className:"underline",children:["Suivre ",t.name," sur LinkedIn"]}),l.jsx("span",{className:"grid h-10 w-10 place-items-center rounded-full bg-accent text-accent-foreground transition-transform duration-300 hover:scale-110",children:l.jsx(Je,{className:"h-4 w-4"})})]})]})]}),l.jsxs("div",{className:"mt-24",children:[l.jsx("h2",{className:"font-display text-2xl font-medium md:text-3xl",children:"Découvrir le reste de l'équipe"}),l.jsx("div",{className:"mt-6 flex flex-wrap gap-4",children:sf.filter(c=>c.slug!==t.slug).map(c=>l.jsxs(ie,{to:`/equipe/${c.slug}`,className:"group flex items-center gap-3 rounded-full border border-border bg-card px-3 py-2 transition-all duration-300 hover:-translate-y-0.5 hover:shadow-card",children:[l.jsx("img",{src:c.photo,alt:c.name,className:"h-9 w-9 rounded-full object-cover"}),l.jsx("span",{className:"pr-2 text-sm font-medium",children:c.name})]},c.slug))})]})]})}),l.jsx(ur,{})]})}function cee(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(p){try{u(r.next(p))}catch(d){o(d)}}function c(p){try{u(r.throw(p))}catch(d){o(d)}}function u(p){p.done?s(p.value):i(p.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}const uee=e=>e?(...t)=>e(...t):(...t)=>fetch(...t);class cw extends Error{constructor(t,n="FunctionsError",r){super(t),this.name=n,this.context=r}toJSON(){return{name:this.name,message:this.message,context:this.context}}}class dee extends cw{constructor(t){super("Failed to send a request to the Edge Function","FunctionsFetchError",t)}}class ej extends cw{constructor(t){super("Relay Error invoking the Edge Function","FunctionsRelayError",t)}}class tj extends cw{constructor(t){super("Edge Function returned a non-2xx status code","FunctionsHttpError",t)}}var my;(function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"})(my||(my={}));class pee{constructor(t,{headers:n={},customFetch:r,region:i=my.Any}={}){this.url=t,this.headers=n,this.region=i,this.fetch=uee(r)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t){return cee(this,arguments,void 0,function*(n,r={}){var i;let s,o;try{const{headers:a,method:c,body:u,signal:p,timeout:d}=r;let h={},{region:f}=r;f||(f=this.region);const m=new URL(`${this.url}/${n}`);f&&f!=="any"&&(h["x-region"]=f,m.searchParams.set("forceFunctionRegion",f));let g;u&&(a&&!Object.prototype.hasOwnProperty.call(a,"Content-Type")||!a)?typeof Blob<"u"&&u instanceof Blob||u instanceof ArrayBuffer?(h["Content-Type"]="application/octet-stream",g=u):typeof u=="string"?(h["Content-Type"]="text/plain",g=u):typeof FormData<"u"&&u instanceof FormData?g=u:(h["Content-Type"]="application/json",g=JSON.stringify(u)):u&&typeof u!="string"&&!(typeof Blob<"u"&&u instanceof Blob)&&!(u instanceof ArrayBuffer)&&!(typeof FormData<"u"&&u instanceof FormData)?g=JSON.stringify(u):g=u;let x=p;d&&(o=new AbortController,s=setTimeout(()=>
3165o.abort(),d),p?(x=o.signal,p.addEventListener("abort",()=>o.abort())):x=o.signal);const v=yield this.fetch(m.toString(),{method:c||"POST",headers:Object.assign(Object.assign(Object.assign({},h),this.headers),a),body:g,signal:x}).catch(S=>{throw new dee(S)}),b=v.headers.get("x-relay-error");if(b&&b==="true")throw new ej(v);if(!v.ok)throw new tj(v);let w=((i=v.headers.get("Content-Type"))!==null&&i!==void 0?i:"text/plain").split(";")[0].trim(),k;return w==="application/json"?k=yield v.json():w==="application/octet-stream"||w==="application/pdf"?k=yield v.blob():w==="text/event-stream"?k=v:w==="multipart/form-data"?k=yield v.formData():k=yield v.text(),{data:k,error:null,response:v}}catch(a){return{data:null,error:a,response:a instanceof tj||a instanceof ej?a.context:void 0}}finally{s&&clearTimeout(s)}})}}const WN=3,nj=e=>Math.min(1e3*2**e,3e4),hee=[520,503],HN=["GET","HEAD","OPTIONS"];var rj=class extends Error{constructor(e){super(e.message),this.name="PostgrestError",this.details=e.details,this.hint=e.hint,this.code=e.code}toJSON(){return{name:this.name,message:this.message,details:this.details,hint:this.hint,code:this.code}}};function ij(e,t){return new Promise(n=>{if(t!=null&&t.aborted){n();return}const r=setTimeout(()=>{t==null||t.removeEventListener("abort",i),n()},e);function i(){clearTimeout(r),n()}t==null||t.addEventListener("abort",i)})}function fee(e,t,n,r){return!(!r||n>=WN||!HN.includes(e)||!hee.includes(t))}var mee=class{constructor(e){var t,n,r,i,s;this.shouldThrowOnError=!1,this.retryEnabled=!0,this.method=e.method,this.url=e.url,this.headers=new Headers(e.headers),this.schema=e.schema,this.body=e.body,this.shouldThrowOnError=(t=e.shouldThrowOnError)!==null&&t!==void 0?t:!1,this.signal=e.signal,this.isMaybeSingle=(n=e.isMaybeSingle)!==null&&n!==void 0?n:!1,this.shouldStripNulls=(r=e.shouldStripNulls)!==null&&r!==void 0?r:!1,this.urlLengthLimit=(i=e.urlLengthLimit)!==null&&i!==void 0?i:8e3,this.retryEnabled=(s=e.retry)!==null&&s!==void 0?s:!0,e.fetch?this.fetch=e.fetch:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}stripNulls(){if(this.headers.get("Accept")==="text/csv")throw new Error("stripNulls() cannot be used with csv()");return this.shouldStripNulls=!0,this}setHeader(e,t){return this.headers=new Headers(this.headers),this.headers.set(e,t),this}retry(e){return this.retryEnabled=e,this}then(e,t){var n=this;if(this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers.set("Accept-Profile",this.schema):this.headers.set("Content-Profile",this.schema)),this.method!=="GET"&&this.method!=="HEAD"&&this.headers.set("Content-Type","application/json"),this.shouldStripNulls){const o=this.headers.get("Accept");o==="application/vnd.pgrst.object+json"?this.headers.set("Accept","application/vnd.pgrst.object+json;nulls=stripped"):(!o||o==="application/json")&&this.headers.set("Accept","application/vnd.pgrst.array+json;nulls=stripped")}const r=this.fetch;let s=(async()=>{let o=0;for(;;){const u={};n.headers.forEach((d,h)=>{u[h]=d}),o>0&&(u["X-Retry-Count"]=String(o));let p;try{p=await r(n.url.toString(),{method:n.method,headers:u,body:JSON.stringify(n.body,(d,h)=>typeof h=="bigint"?h.toString():h),signal:n.signal})}catch(d){if((d==null?void 0:d.name)==="AbortError"||(d==null?void 0:d.code)==="ABORT_ERR"||!HN.includes(n.method))throw d;if(n.retryEnabled&&o<WN){const h=nj(o);o++,await ij(h,n.signal);continue}throw d}if(fee(n.method,p.status,o,n.retryEnabled)){var a,c;const d=(a=(c=p.headers)===null||c===void 0?void 0:c.get("Retry-After"))!==null&&a!==void 0?a:null,h=d!==null?Math.max(0,parseInt(d,10)||0)*1e3:nj(o);await p.text(),o++,await ij(h,n.signal);continue}return await n.processResponse(p)}})();return this.shouldThrowOnError||(s=s.catch(o=>{var a;let c="",u="",p="";const d=o==null?void 0:o.cause;if(d){var h,f,m,g;const b=(h=d==null?void 0:d.message)!==null&&h!==void 0?h:"",w=(f=d==null?void 0:d.code)!==null&&f!==void 0?f:"";c=`${(m=o==null?void 0:o.name)!==null&&m!==void 0?m:"FetchError"}: ${o==null?void 0:o.message}`,c+=`
3166
3167Caused by: ${(g=d==null?void 0:d.name)!==null&&g!==void 0?g:"Error"}: ${b}`,w&&(c+=` (${w})`),d!=null&&d.stack&&(c+=`
3168${d.stack}`)}else{var x;c=(x=o==null?void 0:o.stack)!==null&&x!==void 0?x:""}const v=this.url.toString().length;return(o==null?void 0:o.name)==="AbortError"||(o==null?void 0:o.code)==="ABORT_ERR"?(p="",u="Request was aborted (timeout or manual cancellation)",v>this.urlLengthLimit&&(u+=`. Note: Your request URL is ${v} characters, which may exceed server limits. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [many IDs])), consider using an RPC function to pass values server-side.`)):((d==null?void 0:d.name)==="HeadersOverflowError"||(d==null?void 0:d.code)==="UND_ERR_HEADERS_OVERFLOW")&&(p="",u="HTTP headers exceeded server limits (typically 16KB)",v>this.urlLengthLimit&&(u+=`. Your request URL is ${v} characters. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [200+ IDs])), consider using an RPC function instead.`)),{success:!1,error:{message:`${(a=o==null?void 0:o.name)!==null&&a!==void 0?a:"FetchError"}: ${o==null?void 0:o.message}`,details:c,hint:u,code:p},data:null,count:null,status:0,statusText:""}}
3168)),s.then(e,t)}async processResponse(e){var t=this;let n=null,r=null,i=null,s=e.status,o=e.statusText;if(e.ok){var a,c;if(t.method!=="HEAD"){var u;const h=await e.text();if(h!=="")if(t.headers.get("Accept")==="text/csv")r=h;else if(t.headers.get("Accept")&&(!((u=t.headers.get("Accept"))===null||u===void 0)&&u.includes("application/vnd.pgrst.plan+text")))r=h;else try{r=JSON.parse(h)}catch{if(n={message:h},r=null,t.shouldThrowOnError)throw new rj({message:h,details:"",hint:"",code:""})}}const p=(a=t.headers.get("Prefer"))===null||a===void 0?void 0:a.match(/count=(exact|planned|estimated)/),d=(c=e.headers.get("content-range"))===null||c===void 0?void 0:c.split("/");p&&d&&d.length>1&&(i=parseInt(d[1])),t.isMaybeSingle&&Array.isArray(r)&&(r.length>1?(n={code:"PGRST116",details:`Results contain ${r.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},r=null,i=null,s=406,o="Not Acceptable"):r.length===1?r=r[0]:r=null)}else{const p=await e.text();try{n=JSON.parse(p),Array.isArray(n)&&e.status===404&&(r=[],n=null,s=200,o="OK")}catch{e.status===404&&p===""?(s=204,o="No Content"):n={message:p}}if(n&&t.shouldThrowOnError)throw new rj(n)}return{success:n===null,error:n,data:r,count:i,status:s,statusText:o}}returns(){return this}overrideTypes(){return this}},gee=class extends mee{throwOnError(){return super.throwOnError()}select(e){let t=!1;const n=(e??"*").split("").map(r=>/\s/.test(r)&&!t?"":(r==='"'&&(t=!t),r)).join("");return this.url.searchParams.set("select",n),this.headers.append("Prefer","return=representation"),this}order(e,{ascending:t=!0,nullsFirst:n,foreignTable:r,referencedTable:i=r}={}){const s=i?`${i}.order`:"order",o=this.url.searchParams.get(s);return this.url.searchParams.set(s,`${o?`${o},`:""}${e}.${t?"asc":"desc"}${n===void 0?"":n?".nullsfirst":".nullslast"}`),this}limit(e,{foreignTable:t,referencedTable:n=t}={}){const r=typeof n>"u"?"limit":`${n}.limit`;return this.url.searchParams.set(r,`${e}`),this}range(e,t,{foreignTable:n,referencedTable:r=n}={}){const i=typeof r>"u"?"offset":`${r}.offset`,s=typeof r>"u"?"limit":`${r}.limit`;return this.url.searchParams.set(i,`${e}`),this.url.searchParams.set(s,`${t-e+1}`),this}abortSignal(e){return this.signal=e,this}single(){return this.headers.set("Accept","application/vnd.pgrst.object+json"),this}maybeSingle(){return this.isMaybeSingle=!0,this}csv(){return this.headers.set("Accept","text/csv"),this}geojson(){return this.headers.set("Accept","application/geo+json"),this}explain({analyze:e=!1,verbose:t=!1,settings:n=!1,buffers:r=!1,wal:i=!1,format:s="text"}={}){var o;const a=[e?"analyze":null,t?"verbose":null,n?"settings":null,r?"buffers":null,i?"wal":null].filter(Boolean).join("|"),c=(o=this.headers.get("Accept"))!==null&&o!==void 0?o:"application/json";return this.headers.set("Accept",`application/vnd.pgrst.plan+${s}; for="${c}"; options=${a};`),s==="json"?this:this}rollback(){return this.headers.append("Prefer","tx=rollback"),this}returns(){return this}maxAffected(e){return this.headers.append("Prefer","handling=strict"),this.headers.append("Prefer",`max-affected=${e}`),this}};const sj=new RegExp("[,()]");var Lo=class extends gee{throwOnError(){return super.throwOnError()}eq(e,t){return this.url.searchParams.append(e,`eq.${t}`),this}neq(e,t){return this.url.searchParams.append(e,`neq.${t}`),this}gt(e,t){return this.url.searchParams.append(e,`gt.${t}`),this}gte(e,t){return this.url.searchParams.append(e,`gte.${t}`),this}lt(e,t){return this.url.searchParams.append(e,`lt.${t}`),this}lte(e,t){return this.url.searchParams.append(e,`lte.${t}`),this}like(e,t){return this.url.searchParams.append(e,`like.${t}`),this}likeAllOf(e,t){return this.url.searchParams.append(e,`like(all).{${t.join(",")}}`),this}likeAnyOf(e,t){return this.url.searchParams.append(e,`like(any).{${t.join(",")}}`),this}ilike(e,t){return this.url.searchParams.append(e,`ilike.${t}`),this}ilikeAllOf(e,t){return this.url.searchParams.append(e,`ilike(all).{${t.join(",")}}`),this}ilikeAnyOf(e,t){return this.url.searchParams.append(e,`ilike(any).{${t.join(",")}}`),this}regexMatch(e,t){return this.url.searchParams.append(e,`match.${t}`),this}regexIMatch(e,t){return this.url.searchParams.append(e,`imatch.${t}`),this}is(e,t){return this.url.searchParams.append(e,`is.${t}`),this}isDistinct(e,t){return this.url.searchParams.append(e,`isdistinct.${t}`),this}in(e,t){const n=Array.from(new Set(t)).map(r=>typeof r=="string"&&sj.test(r)?`"${r}"`:`${r}`).join(",");return this.url.searchParams.append(e,`in.(${n})`),this}notIn(e,t){const n=Array.from(new Set(t)).map(r=>typeof r=="string"&&sj.test(r)?`"${r}"`:`${r}`).join(",");return this.url.searchParams.append(e,`not.in.(${n})`),this}contains(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cs.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cs.{${t.join(",")}}`):this.url.searchParams.append(e,`cs.${JSON.stringify(t)}`),this}containedBy(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cd.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cd.{${t.join(",")}}`):this.url.searchParams.append(e,`cd.${JSON.stringify(t)}`),this}rangeGt(e,t){return this.url.searchParams.append(e,`sr.${t}`),this}rangeGte(e,t){return this.url.searchParams.append(e,`nxl.${t}`),this}rangeLt(e,t){return this.url.searchParams.append(e,`sl.${t}`),this}rangeLte(e,t){return this.url.searchParams.append(e,`nxr.${t}`),this}rangeAdjacent(e,t){return this.url.searchParams.append(e,`adj.${t}`),this}overlaps(e,t){return typeof t=="string"?this.url.searchParams.append(e,`ov.${t}`):this.url.searchParams.append(e,`ov.{${t.join(",")}}`),this}textSearch(e,t,{config:n,type:r}={}){let i="";r==="plain"?i="pl":r==="phrase"?i="ph":r==="websearch"&&(i="w");const s=n===void 0?"":`(${n})`;return this.url.searchParams.append(e,`${i}fts${s}.${t}`),this}match(e){return Object.entries(e).filter(([t,n])=>
3168n!==void 0).forEach(([t,n])=>{this.url.searchParams.append(t,`eq.${n}`)}),this}not(e,t,n){return this.url.searchParams.append(e,`not.${t}.${n}`),this}or(e,{foreignTable:t,referencedTable:n=t}={}){const r=n?`${n}.or`:"or";return this.url.searchParams.append(r,`(${e})`),this}filter(e,t,n){return this.url.searchParams.append(e,`${t}.${n}`),this}},vee=class{constructor(e,{headers:t={},schema:n,fetch:r,urlLengthLimit:i=8e3,retry:s}){this.url=e,this.headers=new Headers(t),this.schema=n,this.fetch=r,this.urlLengthLimit=i,this.retry=s}cloneRequestState(){return{url:new URL(this.url.toString()),headers:new Headers(this.headers)}}select(e,t){const{head:n=!1,count:r}=t??{},i=n?"HEAD":"GET";let s=!1;const o=(e??"*").split("").map(u=>/\s/.test(u)&&!s?"":(u==='"'&&(s=!s),u)).join(""),{url:a,headers:c}=this.cloneRequestState();return a.searchParams.set("select",o),r&&c.append("Prefer",`count=${r}`),new Lo({method:i,url:a,headers:c,schema:this.schema,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}insert(e,{count:t,defaultToNull:n=!0}={}){var r;const i="POST",{url:s,headers:o}=this.cloneRequestState();if(t&&o.append("Prefer",`count=${t}`),n||o.append("Prefer","missing=default"),Array.isArray(e)){const a=e.reduce((c,u)=>c.concat(Object.keys(u)),[]);if(a.length>
31680){const c=[...new Set(a)].map(u=>`"${u}"`);s.searchParams.set("columns",c.join(","))}}return new Lo({method:i,url:s,headers:o,schema:this.schema,body:e,fetch:(r=this.fetch)!==null&&r!==void 0?r:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}upsert(e,{onConflict:t,ignoreDuplicates:n=!1,count:r,defaultToNull:i=!0}={}){var s;const o="POST",{url:a,headers:c}=this.cloneRequestState();if(c.append("Prefer",`resolution=${n?"ignore":"merge"}-duplicates`),t!==void 0&&a.searchParams.set("on_conflict",t),r&&c.append("Prefer",`count=${r}`),i||c.append("Prefer","missing=default"),Array.isArray(e)){const u=e.reduce((p,d)=>p.concat(Object.keys(d)),[]);if(u.length>0){const p=[...new Set(u)].map(d=>`"${d}"`);a.searchParams.set("columns",p.join(","))}}return new Lo({method:o,url:a,headers:c,schema:this.schema,body:e,fetch:(s=this.fetch)!==null&&s!==void 0?s:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}update(e,{count:t}={}){var n;const r="PATCH",{url:i,headers:s}=this.cloneRequestState();return t&&s.append("Prefer",`count=${t}`),new Lo({method:r,url:i,headers:s,schema:this.schema,body:e,fetch:(n=this.fetch)!==null&&n!==void 0?n:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}delete({count:e}={}){var t;const n="DELETE",{url:r,headers:i}=this.cloneRequestState();return e&&i.append("Prefer",`count=${e}`),new Lo({method:n,url:r,headers:i,schema:this.schema,fetch:(t=this.fetch)!==null&&t!==void 0?t:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}};function Rc(e){"@babel/helpers - typeof";return Rc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rc(e)}function yee(e,t){if(Rc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Rc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bee(e){var t=yee(e,"string");return Rc(t)=="symbol"?t:t+""}function xee(e,t,n){return(t=bee(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function td(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?oj(Object(n),!0).forEach(function(r){xee(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oj(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var wee=class GN{constructor(t,{headers:n={},schema:r,fetch:i,timeout:s,urlLengthLimit:o=8e3,retry:a}={}){this.url=t,this.headers=new Headers(n),this.schemaName=r,this.urlLengthLimit=o;const c=i??globalThis.fetch;s!==void 0&&s>0?this.fetch=(u,p)=>{const d=new AbortController,h=setTimeout(()=>d.abort(),s),f=p==null?void 0:p.signal;if(f){if(f.aborted)return clearTimeout(h),c(u,p);const m=()=>{clearTimeout(h),d.abort()};return f.addEventListener("abort",m,{once:!0}),c(u,td(td({},p),{},{signal:d.signal})).finally(()=>{clearTimeout(h),f.removeEventListener("abort",m)})}return c(u,td(td({},p),{},{signal:d.signal})).finally(()=>clearTimeout(h))}:this.fetch=c,this.retry=a}from(t){if(!t||typeof t!="string"||t.trim()==="")throw new Error("Invalid relation name: relation must be a non-empty string.");return new vee(new URL(`${this.url}/${t}`),{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}schema(t){return new GN(this.url,{headers:this.headers,schema:t,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}rpc(t,n={},{head:r=!1,get:i=!1,count:s}={}){var o;let a;const c=new URL(`${this.url}/rpc/${t}`);let u;const p=f=>f!==null&&typeof f=="object"&&(!Array.isArray(f)||f.some(p)),d=r&&Object.values(n).some(p);d?(a="POST",u=n):r||i?(a=r?"HEAD":"GET",Object.entries(n).filter(([f,m])=>m!==void 0).map(([f,m])=>[f,Array.isArray(m)?`{${m.join(",")}}`:`${m}
3168`]).forEach(([f,m])=>{c.searchParams.append(f,m)})):(a="POST",u=n);const h=new Headers(this.headers);return d?h.set("Prefer",s?`count=${s},return=minimal`:"return=minimal"):s&&h.set("Prefer",`count=${s}`),new Lo({method:a,url:c,headers:h,schema:this.schemaName,body:u,fetch:(o=this.fetch)!==null&&o!==void 0?o:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}};class kee{constructor(){}static detectEnvironment(){var t;if(typeof WebSocket<"u")return{type:"native",wsConstructor:WebSocket};const n=globalThis;if(typeof globalThis<"u"&&typeof n.WebSocket<"u")return{type:"native",wsConstructor:n.WebSocket};const r=typeof global<"u"?global:void 0;if(r&&typeof r.WebSocket<"u")return{type:"native",wsConstructor:r.WebSocket};if(typeof globalThis<"u"&&typeof n.WebSocketPair<"u"&&typeof globalThis.WebSocket>"u")return{type:"cloudflare",error:"Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.",workaround:"Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime."};if(typeof globalThis<"u"&&n.EdgeRuntime||typeof navigator<"u"&&(!((t=navigator.userAgent)===null||t===void 0)&&t.includes("Vercel-Edge")))return{type:"unsupported",error:"Edge runtime detected (Vercel Edge/Netlify Edge). WebSockets are not supported in edge functions.",workaround:"Use serverless functions or a different deployment target for WebSocket functionality."};const i=globalThis.process;if(i){const s=i.versions;if(s&&s.node){const o=s.node,a=parseInt(o.replace(/^v/,"").split(".")[0]);return a>=22?typeof globalThis.WebSocket<"u"?{type:"native",wsConstructor:globalThis.WebSocket}:{type:"unsupported",error:`Node.js ${a} detected but native WebSocket not found.`,workaround:"Provide a WebSocket implementation via the transport option."}:{type:"unsupported",error:`Node.js ${a} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option:
3169import ws from "ws"
3170new RealtimeClient(url, { transport: ws })`}}}return{type:"unsupported",error:"Unknown JavaScript runtime without WebSocket support.",workaround:"Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation."}}static getWebSocketConstructor(){const t=this.detectEnvironment();if(t.wsConstructor)return t.wsConstructor;let n=t.error||"WebSocket not supported in this environment.";throw t.workaround&&(n+=`
3171
3172Suggested solution: ${t.workaround}`),new Error(n)}static isWebSocketSupported(){try{const t=this.detectEnvironment();return t.type==="native"||t.type==="ws"}catch{return!1}}}const Cee="2.108.2",jee=`realtime-js/${Cee}`,See="1.0.0",KN="2.0.0",_ee=KN,Eee=1e4,Tee=100,Mi={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},JN={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave",access_token:"access_token"},gy={connecting:"connecting",open:"open",closing:"closing",closed:"closed"};class Pee{constructor(t){this.HEADER_LENGTH=1,this.USER_BROADCAST_PUSH_META_LENGTH=6,this.KINDS={userBroadcastPush:3,userBroadcast:4},this.BINARY_ENCODING=0,this.JSON_ENCODING=1,this.BROADCAST_EVENT="broadcast",this.allowedMetadataKeys=[],this.allowedMetadataKeys=t??[]}encode(t,n){if(t.event===this.BROADCAST_EVENT&&!(t.payload instanceof ArrayBuffer)&&typeof t.payload.event=="string")return n(this._binaryEncodeUserBroadcastPush(t));let r=[t.join_ref,t.ref,t.topic,t.event,t.payload];return n(JSON.stringify(r))}_binaryEncodeUserBroadcastPush(t){var n;return this._isArrayBuffer((n=t.payload)===null||n===void 0?void 0:n.payload)?this._encodeBinaryUserBroadcastPush(t):this._encodeJsonUserBroadcastPush(t)}_encodeBinaryUserBroadcastPush(t){var n,r;const i=(r=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&r!==void 0?r:new ArrayBuffer(0);return this._encodeUserBroadcastPush(t,this.BINARY_ENCODING,i)}_encodeJsonUserBroadcastPush(t){var n,r;const i=(r=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&r!==void 0?r:{},o=new TextEncoder().encode(JSON.stringify(i)).buffer;return this._encodeUserBroadcastPush(t,this.JSON_ENCODING,o)}_encodeUserBroadcastPush(t,n,r){var i,s;const o=t.topic,a=(i=t.ref)!==null&&i!==void 0?i:"",c=(s=t.join_ref)!==null&&s!==void 0?s:"",u=t.payload.event,p=this.allowedMetadataKeys?this._pick(t.payload,this.allowedMetadataKeys):{},d=Object.keys(p).length===0?"":JSON.stringify(p);if(c.length>255)throw new Error(`joinRef length ${c.length} exceeds maximum of 255`);if(a.length>255)throw new Error(`ref length ${a.length} exceeds maximum of 255`);if(o.length>255)throw new Error(`topic length ${o.length} exceeds maximum of 255`);if(u.length>255)throw new Error(`userEvent length ${u.length} exceeds maximum of 255`);if(d.length>255)throw new Error(`metadata length ${d.length} exceeds maximum of 255`);const h=this.USER_BROADCAST_PUSH_META_LENGTH+c.length+a.length+o.length+u.length+d.length,f=new ArrayBuffer(this.HEADER_LENGTH+h);let m=new DataView(f),g=0;m.setUint8(g++,this.KINDS.userBroadcastPush),m.setUint8(g++,c.length),m.setUint8(g++,a.length),m.setUint8(g++,o.length),m.setUint8(g++,u.length),m.setUint8(g++,d.length),m.setUint8(g++,n),Array.from(c,v=>m.setUint8(g++,v.charCodeAt(0))),Array.from(a,v=>m.setUint8(g++,v.charCodeAt(0))),Array.from(o,v=>m.setUint8(g++,v.charCodeAt(0))),Array.from(u,v=>m.setUint8(g++,v.charCodeAt(0))),Array.from(d,v=>m.setUint8(g++,v.charCodeAt(0)));var x=new Uint8Array(f.byteLength+r.byteLength);return x.set(new Uint8Array(f),0),x.set(new Uint8Array(r),f.byteLength),x.buffer}decode(t,n){if(this._isArrayBuffer(t)){let r=this._binaryDecode(t);return n(r)}if(typeof t=="string"){const r=JSON.parse(t),[i,s,o,a,c]=r;
3172return n({join_ref:i,ref:s,topic:o,event:a,payload:c})}return n({})}_binaryDecode(t){const n=new DataView(t),r=n.getUint8(0),i=new TextDecoder;switch(r){case this.KINDS.userBroadcast:return this._decodeUserBroadcast(t,n,i)}}_decodeUserBroadcast(t,n,r){const i=n.getUint8(1),s=n.getUint8(2),o=n.getUint8(3),a=n.getUint8(4);let c=this.HEADER_LENGTH+4;const u=r.decode(t.slice(c,c+i));c=c+i;const p=r.decode(t.slice(c,c+s));c=c+s;const d=r.decode(t.slice(c,c+o));c=c+o;const h=t.slice(c,t.byteLength),f=a===this.JSON_ENCODING?JSON.parse(r.decode(h)):h,m={type:this.BROADCAST_EVENT,event:p,payload:f};return o>0&&(m.meta=JSON.parse(d)),{join_ref:null,ref:null,topic:u,event:this.BROADCAST_EVENT,payload:m}}_isArrayBuffer(t){var n;return t instanceof ArrayBuffer||((n=t==null?void 0:t.constructor)===null||n===void 0?void 0:n.name)==="ArrayBuffer"}_pick(t,n){return!t||typeof t!="object"?{}:Object.fromEntries(Object.entries(t).filter(([r])=>n.includes(r)))}}var qe;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(qe||(qe={}));const aj=(e,t,n={})=>{var r;const i=(r=n.skipTypes)!==null&&r!==void 0?r:[];return t?Object.keys(t).reduce((s,o)=>(s[o]=Aee(o,e,t,i),s),{}):{}},Aee=(e,t,n,r)=>{const i=t.find(a=>a.name===e),s=i==null?void 0:i.type,o=n[e];return s&&!r.includes(s)?YN(s,o):vy(o)},YN=(e,t)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return Iee(t,n)}switch(e){case qe.bool:return Nee(t);case qe.float4:case qe.float8:case qe.int2:case qe.int4:case qe.int8:case qe.numeric:case qe.oid:return Ree(t);case qe.json:case qe.jsonb:return qee(t);case qe.timestamp:return Lee(t);case qe.abstime:case qe.date:case qe.daterange:case qe.int4range:case qe.int8range:case qe.money:case qe.reltime:case qe.text:case qe.time:case qe.timestamptz:case qe.timetz:case qe.tsrange:case qe.tstzrange:return vy(t);default:return vy(t)}},vy=e=>e,Nee=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},Ree=e=>{if(typeof e=="string"){const t=parseFloat(e);if(!Number.isNaN(t))return t}return e},qee=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e},Iee=(e,t)=>{if(typeof e!="string")return e;const n=e.length-1,r=e[n];if(e[0]==="{"&&r==="}"){let s;const o=e.slice(1,n);try{s=JSON.parse("["+o+"]")}catch{s=o?o.split(","):[]}return s.map(a=>YN(t,a))}return e},Lee=e=>typeof e=="string"?e.replace(" ","T"):e,QN=e=>{const t=new URL(e);return t.protocol=t.protocol.replace(/^ws/i,"http"),t.pathname=t.pathname.replace(/\/+$/,"").replace(/\/socket\/websocket$/i,"").replace(/\/socket$/i,"").replace(/\/websocket$/i,""),t.pathname===""||t.pathname==="/"?t.pathname="/api/broadcast":t.pathname=t.pathname+"/api/broadcast",t.href};var Kl=e=>typeof e=="function"?e:function(){return e},Oee=typeof self<"u"?self:null,Oo=typeof window<"u"?window:null,xr=Oee||Oo||globalThis,Dee="2.0.0",Mee=1e4,Bee=1e3,Sr={connecting:0,open:1,closing:2,closed:3},Wt={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},Qr={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},yy={longpoll:"longpoll",websocket:"websocket"},$ee={complete:4},by="base64url.bearer.phx.",nd=class{constructor(e,t,n,r){this.channel=e,this.event=t,this.payload=n||function(){return{}},this.receivedResp=null,this.timeout=r,this.timeoutTimer=null,this.recHooks=[],this.sent=!1,this.ref=void 0}resend(e){this.timeout=e,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(e,t){return this.hasReceived(e)&&t(this.receivedResp.response),this.recHooks.push({status:e,callback:t}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}destroy(){this.cancelRefEvent(),this.cancelTimeout()}
vendor: 8,157 bytes, line 3172
3172matchReceive({status:e,response:t,_ref:n}){this.recHooks.filter(r=>r.status===e).forEach(r=>r.callback(t))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,e=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=e,this.matchReceive(e)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}trigger(e,t){this.channel.trigger(this.refEvent,{status:e,response:t})}},XN=class{constructor(e,t){this.callback=e,this.timerCalc=t,this.timer=void 0,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},Fee=class{constructor(e,t,n){this.state=Wt.closed,this.topic=e,this.params=Kl(t||{}),this.socket=n,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new nd(this,Qr.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new XN(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=Wt.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(r=>r.send()),this.pushBuffer=[]}),this.joinPush.receive("error",r=>{this.state=Wt.errored,this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,r),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic}`),this.state=Wt.closed,this.socket.remove(this)}),this.onError(r=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,r),this.isJoining()&&this.joinPush.reset(),this.state=Wt.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),new nd(this,Qr.leave,Kl({}),this.timeout).send(),this.state=Wt.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(Qr.reply,(r,i)=>{this.trigger(this.replyEventName(i),r)})}join(e=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=e,this.joinedOnce=!0,this.rejoin(),this.joinPush}teardown(){this.pushBuffer.forEach(e=>e.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=Wt.closed,this.bindings=[]}onClose(e){this.on(Qr.close,e)}onError(e){return this.on(Qr.error,t=>e(t))}on(e,t){let n=this.bindingRef++;return this.bindings.push({event:e,ref:n,callback:t}),n}off(e,t){this.bindings=this.bindings.filter(n=>!(n.event===e&&(typeof t>"u"||t===n.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(e,t,n=this.timeout){if(t=t||{},!this.joinedOnce)throw new Error(`tried to push '${e}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let r=new nd(this,e,function(){return t},n);return this.canPush()?r.send():(r.startTimeout(),this.pushBuffer.push(r)),r}leave(e=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=Wt.leaving;let t=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(Qr.close,"leave"),this.joinedOnce=!1},n=new nd(this,Qr.leave,Kl({}),e);return n.receive("ok",()=>t()).receive("timeout",()=>t()),n.send(),this.canPush()||n.trigger("ok",{}),n}onMessage(e,t,n){return t}filterBindings(e,t,n){return!0}isMember(e,t,n,r){return this.topic!==e?!1:r&&r!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:e,event:t,payload:n,joinRef:r}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(e=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=Wt.joining,this.joinPush.resend(e))}trigger(e,t,n,r){let i=this.onMessage(e,t,n,r);if(t&&!i)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let s=this.bindings.filter(o=>o.event===e&&this.filterBindings(o,t,n));for(let o=0;o<s.length;o++)s[o].callback(i,n,r||this.joinRef())}replyEventName(e){return`chan_reply_${e}`}isClosed(){return this.state===Wt.closed}isErrored(){return this.state===Wt.errored}isJoined(){return this.state===Wt.joined}isJoining(){return this.state===Wt.joining}isLeaving(){return this.state===Wt.leaving}},Hp=class{static request(e,t,n,r,i,s,o){if(xr.XDomainRequest){let a=new xr.XDomainRequest;return this.xdomainRequest(a,e,t,r,i,s,o)}else if(xr.XMLHttpRequest){let a=new xr.XMLHttpRequest;return this.xhrRequest(a,e,t,n,r,i,s,o)}else{if(xr.fetch&&xr.AbortController)return this.fetchRequest(e,t,n,r,i,s,o);throw new Error("No suitable XMLHttpRequest implementation found")}}static fetchRequest(e,t,n,r,i,s,o){let a={method:e,headers:n,body:r},c=null;return i&&(c=new AbortController,setTimeout(()=>c.abort(),i),a.signal=c.signal),xr.fetch(t,a).then(u=>u.text()).then(u=>this.parseJSON(u)).then(u=>o&&o(u)).catch(u=>{u.name==="AbortError"&&s?s():o&&o(null)}),c}static xdomainRequest(e,t,n,r,i,s,o){return e.timeout=i,e.open(t,n),e.onload=()=>{let a=this.parseJSON(e.responseText);o&&o(a)},s&&(e.ontimeout=s),e.onprogress=()=>{},e.send(r),e}static xhrRequest(e,t,n,r,i,s,o,a){e.open(t,n,!0),e.timeout=s;for(let[c,u]of Object.entries(r))e.setRequestHeader(c,u);return e.onerror=()=>a&&a(null),e.onreadystatechange=()=>{if(e.readyState===$ee.complete&&a){let c=this.parseJSON(e.responseText);a(c)}},o&&(e.ontimeout=o),e.send(i),e}static parseJSON(e){if(!e||e==="")return null;try{return JSON.parse(e)}catch{return console&&console.log("failed to parse JSON response",e),null}}static serialize(e,t){let n=[];for(var r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=t?`${t}[${r}]`:r,s=e[r];typeof s=="object"?n.push(this.serialize(s,i)):n.push(encodeURIComponent(i)+"="+encodeURIComponent(s))}return n.join("&")}static appendParams(e,t){if(Object.keys(t).length===0)return e;let n=e.match(/\?/)?"&":"?";return`${e}${n}${this.serialize(t)}`}},zee=e=>{let t="",n=new Uint8Array(e),r=n.byteLength;for(let i=0;i<r;i++)t+=String.fromCharCode(n[i]);return btoa(t)},Po=class{constructor(e,t){t&&t.length===2&&t[1].startsWith(by)&&(this.authToken=atob(t[1].slice(by.length))),this.endPoint=null,this.token=null,this.skipHeartbeat=!0,this.reqs=new Set,this.awaitingBatchAck=!1,this.currentBatch=null,this.currentBatchTimer=null,this.batchBuffer=[],this.onopen=function(){},this.onerror=function(){},this.onmessage=function(){},this.onclose=function(){},this.pollEndpoint=this.normalizeEndpoint(e),this.readyState=Sr.connecting,setTimeout(()=>this.poll(),0)}normalizeEndpoint(e){return e.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+yy.websocket),"$1/"+yy.longpoll)}endpointURL(){return Hp.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(e,t,n){this.close(e,t,n),this.readyState=Sr.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===Sr.open||this.readyState===Sr.connecting}poll(){const e={Accept:"application/json"};this.authToken&&(e["X-Phoenix-AuthToken"]=this.authToken),this.ajax("GET",e,null,()=>this.ontimeout(),t=>{if(t){var{status:n,token:r,messages:i}=t;if(n===410&&this.token!==null){this.onerror(410),this.closeAndRetry(3410,"session_gone",!1);return}this.token=r}else n=0;switch(n){case 200:i.forEach(s=>{setTimeout(()=>this.onmessage({data:s}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=Sr.open,this.onopen({}),this.poll();break;
3172case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${n}`)}})}send(e){typeof e!="string"&&(e=zee(e)),this.currentBatch?this.currentBatch.push(e):this.awaitingBatchAck?this.batchBuffer.push(e):(this.currentBatch=[e],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(e){this.awaitingBatchAck=!0,this.ajax("POST",{"Content-Type":"application/x-ndjson"},e.join(`
3173`),()=>this.onerror("timeout"),t=>{this.awaitingBatchAck=!1,!t||t.status!==200?(this.onerror(t&&t.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(e,t,n){for(let i of this.reqs)i.abort();this.readyState=Sr.closed;let r=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:e,reason:t,wasClean:n});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent<"u"?this.onclose(new CloseEvent("close",r)):this.onclose(r)}ajax(e,t,n,r,i){let s,o=()=>{this.reqs.delete(s),r()};s=Hp.request(e,this.endpointURL(),t,n,this.timeout,o,a=>{this.reqs.delete(s),this.isActive()&&i(a)}),this.reqs.add(s)}},Uee=class Tl{constructor(t,n={}){let r=n.events||{state:"presence_state",diff:"presence_diff"};this.state={},this.pendingDiffs=[],this.channel=t,this.joinRef=null,this.caller={onJoin:function(){},onLeave:function(){},onSync:function(){}},this.channel.on(r.state,i=>{let{onJoin:s,onLeave:o,onSync:a}=this.caller;this.joinRef=this.channel.joinRef(),this.state=Tl.syncState(this.state,i,s,o),this.pendingDiffs.forEach(c=>{this.state=Tl.syncDiff(this.state,c,s,o)}),this.pendingDiffs=[],a()}),this.channel.on(r.diff,i=>{let{onJoin:s,onLeave:o,onSync:a}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(i):(this.state=Tl.syncDiff(this.state,i,s,o),a())})}onJoin(t){this.caller.onJoin=t}onLeave(t){this.caller.onLeave=t}onSync(t){this.caller.onSync=t}list(t){return Tl.list(this.state,t)}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel.joinRef()}static syncState(t,n,r,i){let s=this.clone(t),o={},a={};return this.map(s,(c,u)=>{n[c]||(a[c]=u)}),this.map(n,(c,u)=>{let p=s[c];if(p){let d=u.metas.map(g=>g.phx_ref),h=p.metas.map(g=>g.phx_ref),f=u.metas.filter(g=>h.indexOf(g.phx_ref)<0),m=p.metas.filter(g=>d.indexOf(g.phx_ref)<0);f.length>0&&(o[c]=u,o[c].metas=f),m.length>0&&(a[c]=this.clone(p),a[c].metas=m)}else o[c]=u}),this.syncDiff(s,{joins:o,leaves:a},r,i)}static syncDiff(t,n,r,i){let{joins:s,leaves:o}=this.clone(n);return r||(r=function(){}),i||(i=function(){}),this.map(s,(a,c)=>{let u=t[a];if(t[a]=this.clone(c),u){let p=t[a].metas.map(h=>h.phx_ref),d=u.metas.filter(h=>p.indexOf(h.phx_ref)<0);t[a].metas.unshift(...d)}r(a,u,c)}),this.map(o,(a,c)=>{let u=t[a];if(!u)return;let p=c.metas.map(d=>d.phx_ref);u.metas=u.metas.filter(d=>p.indexOf(d.phx_ref)<0),i(a,u,c),u.metas.length===0&&delete t[a]}),t}static list(t,n){return n||(n=function(r,i){return i}),this.map(t,(r,i)=>n(r,i))}static map(t,n){return Object.getOwnPropertyNames(t).map(r=>n(r,t[r]))}static clone(t){return JSON.parse(JSON.stringify(t))}},rd={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(e,t){if(e.payload.constructor===ArrayBuffer)return t(this.binaryEncode(e));{let n=[e.join_ref,e.ref,e.topic,e.event,e.payload];return t(JSON.stringify(n))}},decode(e,t){if(e.constructor===ArrayBuffer)return t(this.binaryDecode(e));{let[n,r,i,s,o]=JSON.parse(e);return t({join_ref:n,ref:r,topic:i,event:s,payload:o})}},binaryEncode(e){let{join_ref:t,ref:n,event:r,topic:i,payload:s}=e,o=this.META_LENGTH+t.length+n.length+i.length+r.length,a=new ArrayBuffer(this.HEADER_LENGTH+o),c=new DataView(a),u=0;c.setUint8(u++,this.KINDS.push),c.setUint8(u++,t.length),c.setUint8(u++,n.length),c.setUint8(u++,i.length),c.setUint8(u++,r.length),Array.from(t,d=>c.setUint8(u++,d.charCodeAt(0))),Array.from(n,d=>c.setUint8(u++,d.charCodeAt(0))),Array.from(i,d=>c.setUint8(u++,d.charCodeAt(0))),Array.from(r,d=>c.setUint8(u++,d.charCodeAt(0)));var p=new Uint8Array(a.byteLength+s.byteLength);return p.set(new Uint8Array(a),0),p.set(new Uint8Array(s),a.byteLength),p.buffer},binaryDecode(e){let t=new DataView(e),n=t.getUint8(0),r=new TextDecoder;switch(n){case this.KINDS.push:return this.decodePush(e,t,r);case this.KINDS.reply:return this.decodeReply(e,t,r);case this.KINDS.broadcast:return this.decodeBroadcast(e,t,r)}}
vendor: 8,489 bytes, line 3173
3173,decodePush(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),s=t.getUint8(3),o=this.HEADER_LENGTH+this.META_LENGTH-1,a=n.decode(e.slice(o,o+r));o=o+r;let c=n.decode(e.slice(o,o+i));o=o+i;let u=n.decode(e.slice(o,o+s));o=o+s;let p=e.slice(o,e.byteLength);return{join_ref:a,ref:null,topic:c,event:u,payload:p}},decodeReply(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),s=t.getUint8(3),o=t.getUint8(4),a=this.HEADER_LENGTH+this.META_LENGTH,c=n.decode(e.slice(a,a+r));a=a+r;let u=n.decode(e.slice(a,a+i));a=a+i;let p=n.decode(e.slice(a,a+s));a=a+s;let d=n.decode(e.slice(a,a+o));a=a+o;let h=e.slice(a,e.byteLength),f={status:d,response:h};return{join_ref:c,ref:u,topic:p,event:Qr.reply,payload:f}},decodeBroadcast(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),s=this.HEADER_LENGTH+2,o=n.decode(e.slice(s,s+r));s=s+r;let a=n.decode(e.slice(s,s+i));s=s+i;let c=e.slice(s,e.byteLength);return{join_ref:null,ref:null,topic:o,event:a,payload:c}}},Vee=class{constructor(e,t={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.fallbackRef=null,this.timeout=t.timeout||Mee,this.transport=t.transport||xr.WebSocket||Po,this.conn=void 0,this.primaryPassedHealthCheck=!1,this.longPollFallbackMs=t.longPollFallbackMs,this.fallbackTimer=null;let n=null;try{n=xr&&xr.sessionStorage}catch{}this.sessionStore=t.sessionStorage||n,this.establishedConnections=0,this.defaultEncoder=rd.encode.bind(rd),this.defaultDecoder=rd.decode.bind(rd),this.closeWasClean=!0,this.disconnecting=!1,this.binaryType=t.binaryType||"arraybuffer",this.connectClock=1,this.pageHidden=!1,this.encode=void 0,this.decode=void 0,this.transport!==Po?(this.encode=t.encode||this.defaultEncoder,this.decode=t.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let r=null;Oo&&Oo.addEventListener&&(Oo.addEventListener("pagehide",i=>{this.conn&&(this.disconnect(),r=this.connectClock)}),Oo.addEventListener("pageshow",i=>{r===this.connectClock&&(r=null,this.connect())}),Oo.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"?this.pageHidden=!0:(this.pageHidden=!1,!this.isConnected()&&!this.closeWasClean&&this.teardown(()=>this.connect()))})),this.heartbeatIntervalMs=t.heartbeatIntervalMs||3e4,this.autoSendHeartbeat=t.autoSendHeartbeat??!0,this.heartbeatCallback=t.heartbeatCallback??(()=>{}),this.rejoinAfterMs=i=>t.rejoinAfterMs?t.rejoinAfterMs(i):[1e3,2e3,5e3][i-1]||1e4,this.reconnectAfterMs=i=>t.reconnectAfterMs?t.reconnectAfterMs(i):[10,50,100,150,200,250,500,1e3,2e3][i-1]||5e3,this.logger=t.logger||null,!this.logger&&t.debug&&(this.logger=(i,s,o)=>{console.log(`${i}: ${s}`,o)}),this.longpollerTimeout=t.longpollerTimeout||2e4,this.params=Kl(t.params||{}),this.endPoint=`${e}/${yy.websocket}`,this.vsn=t.vsn||Dee,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.heartbeatSentAt=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new XN(()=>{if(this.pageHidden){this.log("Not reconnecting as page is hidden!"),this.teardown();return}this.teardown(async()=>{t.beforeReconnect&&await t.beforeReconnect(),this.connect()})},this.reconnectAfterMs),this.authToken=t.authToken}getLongPollTransport(){return Po}replaceTransport(e){this.connectClock++,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.conn&&(this.conn.close(),this.conn=null),this.transport=e}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let e=Hp.appendParams(Hp.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return e.charAt(0)!=="/"?e:e.charAt(1)==="/"?`${this.protocol()}:${e}`:`${this.protocol()}://${location.host}${e}`}disconnect(e,t,n){this.connectClock++,this.disconnecting=!0,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.teardown(()=>{this.disconnecting=!1,e&&e()},t,n)}connect(e){e&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=Kl(e)),!(this.conn&&!this.disconnecting)&&(this.longPollFallbackMs&&this.transport!==Po?this.connectWithFallback(Po,this.longPollFallbackMs):this.transportConnect())}log(e,t,n){this.logger&&this.logger(e,t,n)}hasLogger(){return this.logger!==null}onOpen(e){let t=this.makeRef();return this.stateChangeCallbacks.open.push([t,e]),t}onClose(e){let t=this.makeRef();return this.stateChangeCallbacks.close.push([t,e]),t}onError(e){let t=this.makeRef();return this.stateChangeCallbacks.error.push([t,e]),t}onMessage(e){let t=this.makeRef();return this.stateChangeCallbacks.message.push([t,e]),t}onHeartbeat(e){this.heartbeatCallback=e}ping(e){if(!this.isConnected())return!1;let t=this.makeRef(),n=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:t});let r=this.onMessage(i=>{i.ref===t&&(this.off([r]),e(Date.now()-n))});return!0}transportName(e){switch(e){case Po:return"LongPoll";default:return e.name}}transportConnect(){this.connectClock++,this.closeWasClean=!1;let e;this.authToken&&(e=["phoenix",`${by}${btoa(this.authToken).replace(/=/g,"")}`]),this.conn=new this.transport(this.endPointURL(),e),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=t=>this.onConnError(t),this.conn.onmessage=t=>this.onConnMessage(t),this.conn.onclose=t=>this.onConnClose(t)}getSession(e){return this.sessionStore&&this.sessionStore.getItem(e)}storeSession(e,t){this.sessionStore&&this.sessionStore.setItem(e,t)}connectWithFallback(e,t=2500){clearTimeout(this.fallbackTimer);let n=!1,r=!0,i,s,o=this.transportName(e),a=c=>{this.log("transport",`falling back to ${o}...`,c),this.off([i,s]),r=!1,this.replaceTransport(e),this.transportConnect()};if(this.getSession(`phx:fallback:${o}`))return a("memorized");this.fallbackTimer=setTimeout(a,t),s=this.onError(c=>{this.log("transport","error",c),r&&!n&&(clearTimeout(this.fallbackTimer),a(c))}),this.fallbackRef&&this.off([this.fallbackRef]),this.fallbackRef=this.onOpen(()=>{if(n=!0,!r){let c=this.transportName(e);return this.primaryPassedHealthCheck||this.storeSession(`phx:fallback:${c}`,"true"),this.log("transport",`established ${c} fallback`)}clearTimeout(this.fallbackTimer),this.fallbackTimer=setTimeout(a,t),this.ping(c=>{this.log("transport","connected to primary after",c),this.primaryPassedHealthCheck=!0,clearTimeout(this.fallbackTimer)})}),this.transportConnect()}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.disconnecting=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.autoSendHeartbeat&&this.resetHeartbeat(),this.triggerStateCallbacks("open")}heartbeatTimeout(){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.heartbeatSentAt=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection");try{this.heartbeatCallback("timeout")}catch(e){this.log("error","error in heartbeat callback",e)}this.triggerChanError(new Error("heartbeat timeout")),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),Bee,"heartbeat timeout")}}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(e,t,n){if(!this.conn)return e&&e();const r=this.conn;this.waitForBufferDone(r,()=>{t?r.close(t,n||""):r.close(),this.waitForSocketClosed(r,()=>{this.conn===r&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),e&&e()})})}waitForBufferDone(e,t,n=1){if(n===5||!e.bufferedAmount){t();return}setTimeout(()=>{this.waitForBufferDone(e,t,n+1)},150*n)}waitForSocketClosed(e,t,n=1){if(n===5||e.readyState===Sr.closed){t();return}setTimeout(()=>{this.waitForSocketClosed(e,t,n+1)},150*n)}onConnClose(e){this.conn&&(this.conn.onclose=()=>{}),this.hasLogger()&&this.log("transport","close",e),this.triggerChanError(e),this.clearHeartbeats(),this.closeWasClean||this.reconnectTimer.scheduleTimeout(),this.triggerStateCallbacks("close",e)}onConnError(e){this.hasLogger()&&this.log("transport","error",e);let t=this.transport,n=this.establishedConnections;this.triggerStateCallbacks("error",e,t,n),(t===this.transport||n>0)&&this.triggerChanError(e)}
vendor: 4,134 bytes, line 3173
3173triggerChanError(e){this.channels.forEach(t=>{t.isErrored()||t.isLeaving()||t.isClosed()||t.trigger(Qr.error,e)})}connectionState(){switch(this.conn&&this.conn.readyState){case Sr.connecting:return"connecting";case Sr.open:return"open";case Sr.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(e){this.off(e.stateChangeRefs),this.channels=this.channels.filter(t=>t!==e)}off(e){for(let t in this.stateChangeCallbacks)this.stateChangeCallbacks[t]=this.stateChangeCallbacks[t].filter(([n])=>e.indexOf(n)===-1)}channel(e,t={}){let n=new Fee(e,t,this);return this.channels.push(n),n}push(e){if(this.hasLogger()){let{topic:t,event:n,payload:r,ref:i,join_ref:s}=e;this.log("push",`${t} ${n} (${s}, ${i})`,r)}this.isConnected()?this.encode(e,t=>this.conn.send(t)):this.sendBuffer.push(()=>this.encode(e,t=>this.conn.send(t)))}makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}sendHeartbeat(){if(!this.isConnected()){try{this.heartbeatCallback("disconnected")}catch(e){this.log("error","error in heartbeat callback",e)}return}if(this.pendingHeartbeatRef){this.heartbeatTimeout();return}this.pendingHeartbeatRef=this.makeRef(),this.heartbeatSentAt=Date.now(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback("sent")}catch(e){this.log("error","error in heartbeat callback",e)}this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs)}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(e=>e()),this.sendBuffer=[])}onConnMessage(e){this.decode(e.data,t=>{let{topic:n,event:r,payload:i,ref:s,join_ref:o}=t;if(s&&s===this.pendingHeartbeatRef){const a=this.heartbeatSentAt?Date.now()-this.heartbeatSentAt:void 0;this.clearHeartbeats();try{this.heartbeatCallback(i.status==="ok"?"ok":"error",a)}catch(c){this.log("error","error in heartbeat callback",c)}this.pendingHeartbeatRef=null,this.heartbeatSentAt=null,this.autoSendHeartbeat&&(this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}this.hasLogger()&&this.log("receive",`${i.status||""} ${n} ${r} ${s&&"("+s+")"||""}`.trim(),i);for(let a=0;a<this.channels.length;a++){const c=this.channels[a];c.isMember(n,r,i,o)&&c.trigger(r,i,s,o)}this.triggerStateCallbacks("message",t)})}triggerStateCallbacks(e,...t){try{this.stateChangeCallbacks[e].forEach(([n,r])=>{try{r(...t)}catch(i){this.log("error",`error in ${e} callback`,i)}})}catch(n){this.log("error",`error triggering ${e} callbacks`,n)}}leaveOpenTopic(e){let t=this.channels.find(n=>n.topic===e&&(n.isJoined()||n.isJoining()));t&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${e}"`),t.leave())}};class Jl{constructor(t,n){const r=Hee(n);this.presence=new Uee(t.getChannel(),r),this.presence.onJoin((i,s,o)=>{const a=Jl.onJoinPayload(i,s,o);t.getChannel().trigger("presence",a)}),this.presence.onLeave((i,s,o)=>{const a=Jl.onLeavePayload(i,s,o);t.getChannel().trigger("presence",a)}),this.presence.onSync(()=>{t.getChannel().trigger("presence",{event:"sync"})})}get state(){return Jl.transformState(this.presence.state)}static transformState(t){return t=Wee(t),Object.getOwnPropertyNames(t).reduce((n,r)=>{const i=t[r];return n[r]=Hd(i),n},{})}static onJoinPayload(t,n,r){const i=lj(n),s=Hd(r);return{event:"join",key:t,currentPresences:i,newPresences:s}}static onLeavePayload(t,n,r){const i=lj(n),s=Hd(r);return{event:"leave",key:t,currentPresences:i,leftPresences:s}}}function Hd(e){return e.metas.map(t=>(t.presence_ref=t.phx_ref,delete t.phx_ref,delete t.phx_ref_prev,t))}function Wee(e){return JSON.parse(JSON.stringify(e))}function Hee(e){return(e==null?void 0:e.events)&&{events:e.events}}function lj(e){return e!=null&&e.metas?Hd(e):[]}var cj;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(cj||(cj={}));class Gee{get state(){return this.presenceAdapter.state}constructor(t,n){this.channel=t,this.presenceAdapter=new Jl(this.channel.channelAdapter,n)}}function Kee(e){if(e instanceof Error)return e;if(typeof e=="string")return new Error(e);
3173if(e&&typeof e=="object"){const t=e;if(typeof t.code=="number"){const n=typeof t.reason=="string"&&t.reason?` (${t.reason})`:"";return new Error(`socket closed: ${t.code}${n}`,{cause:e})}return new Error("channel error: transport failure",{cause:e})}return new Error("channel error: connection lost")}class Jee{constructor(t,n,r){const i=Yee(r);this.channel=t.getSocket().channel(n,i),this.socket=t}get state(){return this.channel.state}set state(t){this.channel.state=t}get joinedOnce(){return this.channel.joinedOnce}get joinPush(){return this.channel.joinPush}get rejoinTimer(){return this.channel.rejoinTimer}on(t,n){return this.channel.on(t,n)}off(t,n){this.channel.off(t,n)}subscribe(t){return this.channel.join(t)}unsubscribe(t){return this.channel.leave(t)}teardown(){this.channel.teardown()}onClose(t){this.channel.onClose(t)}onError(t){return this.channel.onError(t)}push(t,n,r){let i;try{i=this.channel.push(t,n,r)}catch{throw new Error(`tried to push '${t}' to '${this.channel.topic}' before joining. Use channel.subscribe() before pushing events`)}if(this.channel.pushBuffer.length>Tee){const s=this.channel.pushBuffer.shift();s.cancelTimeout(),this.socket.log("channel",`discarded push due to buffer overflow: ${s.event}`,s.payload())}return i}updateJoinPayload(t){const n=this.channel.joinPush.payload();this.channel.joinPush.payload=()=>Object.assign(Object.assign({},n),t)}canPush(){return this.socket.isConnected()&&this.state===Mi.joined}isJoined(){return this.state===Mi.joined}isJoining(){return this.state===Mi.joining}isClosed(){return this.state===Mi.closed}isLeaving(){return this.state===Mi.leaving}updateFilterBindings(t){this.channel.filterBindings=t}updatePayloadTransform(t){this.channel.onMessage=t}getChannel(){return this.channel}}function Yee(e){return{config:Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},e.config)}}var uj;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(uj||(uj={}));var ta;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes",e.SYSTEM="system"})(ta||(ta={}));var Xr;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(Xr||(Xr={}));class Yl{get state(){return this.channelAdapter.state}set state(t){this.channelAdapter.state=t}get joinedOnce(){return this.channelAdapter.joinedOnce}get timeout(){return this.socket.timeout}get joinPush(){return this.channelAdapter.joinPush}get rejoinTimer(){return this.channelAdapter.rejoinTimer}constructor(t,n={config:{}},r){var i,s;if(this.topic=t,this.params=n,this.socket=r,this.bindings={},this.subTopic=t.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},n.config),this.channelAdapter=new Jee(this.socket.socketAdapter,t,this.params),this.presence=new Gee(this),this._onClose(()=>{this.socket._remove(this)}),this._updateFilterTransform(),this.broadcastEndpointURL=QN(this.socket.socketAdapter.endPointURL()),this.private=this.params.config.private||!1,!this.private&&(!((s=(i=this.params.config)===null||i===void 0?void 0:i.broadcast)===null||s===void 0)&&s.replay))throw new Error(`tried to use replay on public channel '${this.topic}'. It must be a private channel.`)}subscribe(t,n=this.timeout){var r,i,s;if(this.socket.isConnected()||this.socket.connect(),this.channelAdapter.isClosed()){const{config:{broadcast:o,presence:a,private:c}}=this.params,u=(i=(r=this.bindings.postgres_changes)===null||r===void 0?void 0:r.map(f=>f.filter))!==null&&i!==void 0?i:[],p=!!this.bindings[ta.PRESENCE]&&this.bindings[ta.PRESENCE].length>0||((s=this.params.config.presence)===null||s===void 0?void 0:s.enabled)===!0,d={},h={broadcast:o,presence:Object.assign(Object.assign({},a),{enabled:p}),postgres_changes:u,private:c};this.socket.accessTokenValue&&(d.access_token=this.socket.accessTokenValue),this._onError(f=>{t==null||t(Xr.CHANNEL_ERROR,Kee(f))}),this._onClose(()=>t==null?void 0:t(Xr.CLOSED)),this.updateJoinPayload(Object.assign({config:h},d)),this._updateFilterMessage(),this.channelAdapter.subscribe(n).receive("ok",async({postgres_changes:f})=>{if(this.socket._isManualToken()||this.socket.setAuth(),f===void 0){t==null||t(Xr.SUBSCRIBED);return}this._updatePostgresBindings(f,t)}).receive("error",f=>{this.state=Mi.errored;const m=Object.values(f).join(", ")||"error";t==null||t(Xr.CHANNEL_ERROR,new Error(m,{cause:f}))}).receive("timeout",()=>{t==null||t(Xr.TIMED_OUT)})}return this}_updatePostgresBindings(t,n){var r;const i=this.bindings.postgres_changes,s=(r=i==null?void 0:i.length)!==null&&r!==void 0?r:0,o=[];for(let a=0;a<s;a++){const c=i[a],{filter:{event:u,schema:p,table:d,filter:h}}=c,f=t&&t[a];if(f&&f.event===u&&Yl.isFilterValueEqual(f.schema,p)&&Yl.isFilterValueEqual(f.table,d)&&Yl.isFilterValueEqual(f.filter,h))o.push(Object.assign(Object.assign({},c),{id:f.id}));else{this.unsubscribe(),this.state=Mi.errored,n==null||n(Xr.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=o,this.state!=Mi.errored&&n&&n(Xr.SUBSCRIBED)}presenceState(){return this.presence.state}async track(t,n={}){return await this.send({type:"presence",event:"track",payload:t},n.timeout||this.timeout)}async untrack(t={}){return await this.send({type:"presence",event:"untrack"},t)}on(t,n,r){const i=this.channelAdapter.isJoined()||this.channelAdapter.isJoining(),s=t===ta.PRESENCE||t===ta.POSTGRES_CHANGES;if(i&&s)throw this.socket.log("channel",`cannot add \`${t}\` callbacks for ${this.topic} after \`subscribe()\`.`),new Error(`cannot add \`${t}\` callbacks for ${this.topic} after \`subscribe()\`.`);return this._on(t,n,r)}async httpSend(t,n,r={}){var i;if(n==null)return Promise.reject(new Error("Payload is required for httpSend()"));const s=n instanceof ArrayBuffer||ArrayBuffer.isView(n),o={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":s?"application/octet-stream":"application/json"};this.socket.accessTokenValue&&(o.Authorization=`Bearer ${this.socket.accessTokenValue}`);const a=new URL(this.broadcastEndpointURL);a.pathname+=`/${encodeURIComponent(this.subTopic)}/events/${encodeURIComponent(t)}`,this.private&&a.searchParams.set("private","true");const c={method:"POST",headers:o,body:s?n:JSON.stringify(n)},u=await this._fetchWithTimeout(a.toString(),c,(i=r.timeout)!==null&&i!==void 0?i:this.timeout);if(u.status===202)return{success:!0};if(u.status===404)return Promise.reject(new Error("httpSend() requires Realtime server v2.97.0 or newer; the endpoint returned 404. Update your Supabase CLI to a recent version, or upgrade the Realtime server in your self-hosted setup. See https://github.com/supabase/supabase-js/blob/master/packages/core/realt
3173ime-js/migrations/httpsend-server-version.md"));let p=u.statusText;try{const d=await u.json();p=d.error||d.message||p}catch{}return Promise.reject(new Error(p))}async send(t,n={}){var r,i;if(!this.channelAdapter.canPush()&&t.type==="broadcast"){console.warn("Realtime send() is automatically falling back to REST API. This behavior will be deprecated in the future. Please use httpSend() explicitly for REST delivery.");const{event:s,payload:o}=t,a={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(a.Authorization=`Bearer ${this.socket.accessTokenValue}`);const c={method:"POST",headers:a,body:JSON.stringify({messages:[{topic:this.subTopic,event:s,payload:o,private:this.private}]})};try{const u=await this._fetchWithTimeout(this.broadcastEndpointURL,c,(r=n.timeout)!==null&&r!==void 0?r:this.timeout);return await((i=u.body)===null||i===void 0?void 0:i.cancel()),u.ok?"ok":"error"}catch(u){return u instanceof Error&&u.name==="AbortError"?"timed out":"error"}}else return new Promise(s=>{var o,a,c;const u=this.channelAdapter.push(t.type,t,n.timeout||this.timeout);t.type==="broadcast"&&!(!((c=(a=(o=this.params)===null||o===void 0?void 0:o.config)===null||a===void 0?void 0:a.broadcast)===null||c===void 0)&&c.ack)&&s("ok"),u.receive("ok",()=>s("ok")),u.receive("error",()=>s("error")),u.receive("timeout",()=>s("timed out"))})}updateJoinPayload(t){this.channelAdapter.updateJoinPayload(t)}async unsubscribe(t=this.timeout){return new Promise(n=>{this.channelAdapter.unsubscribe(t).receive("ok",()=>n("ok")).receive("timeout",()=>n("timed out")).receive("error",()=>n("error"))})}teardown(){this.channelAdapter.teardown()}async _fetchWithTimeout(t,n,r){const i=new AbortController,s=setTimeout(()=>i.abort(),r),o=await this.socket.fetch(t,Object.assign(Object.assign({},n),{signal:i.signal}));return clearTimeout(s),o}_on(t,n,r){const i=t.toLocaleLowerCase(),s=this.channelAdapter.on(t,r),o={type:i,filter:n,callback:r,ref:s};return this.bindings[i]?this.bindings[i].push(o):this.bindings[i]=[o],this._updateFilterMessage(),this}_onClose(t){this.channelAdapter.onClose(t)}_onError(t){this.channelAdapter.onError(t)}_updateFilterMessage(){this.channelAdapter.updateFilterBindings((t,n,r)=>{var i,s,o,a,c,u,p;const d=t.event.toLocaleLowerCase();if(this._notThisChannelEvent(d,r))return!1;const h=(i=this.bindings[d])===null||i===void 0?void 0:i.find(f=>f.ref===t.ref);if(!h)return!0;if(["broadcast","presence","postgres_changes"].includes(d))if("id"in h){const f=h.id,m=(s=h.filter)===null||s===void 0?void 0:s.event;return f&&((o=n.ids)===null||o===void 0?void 0:o.includes(f))&&(m==="*"||(m==null?void 0:m.toLocaleLowerCase())===((a=n.data)===null||a===void 0?void 0:a.type.toLocaleLowerCase()))}else{const f=(u=(c=h==null?void 0:h.filter)===null||c===void 0?void 0:c.event)===null||u===void 0?void 0:u.toLocaleLowerCase();return f==="*"||f===((p=n==null?void 0:n.event)===null||p===void 0?void 0:p.toLocaleLowerCase())}else return h.type.toLocaleLowerCase()===d})}_notThisChannelEvent(t,n){const{close:r,error:i,leave:s,join:o}=JN;return n&&[r,i,s,o].includes(t)&&n!==this.joinPush.ref}_updateFilterTransform(){this.channelAdapter.updatePayloadTransform((t,n,r)=>{if(typeof n=="object"&&"ids"in n){const i=n.data,{schema:s,table:o,commit_timestamp:a,type:c,errors:u}=i;return Object.assign(Object.assign({},{schema:s,table:o,commit_timestamp:a,eventType:c,new:{},old:{},errors:u}),this._getPayloadRecords(i))}return n})}copyBindings(t){if(this.joinedOnce)throw new Error("cannot copy bindings into joined channel");for(const n in t.bindings)for(const r of t.bindings[n])this._on(r.type,r.filter,r.callback)}static isFilterValueEqual(t,n){return(t??void 0)===(n??void 0)}_getPayloadRecords(t){const n={new:{},old:{}};return(t.type==="INSERT"||t.type==="UPDATE")&&(n.new=aj(t.columns,t.record)),(t.type==="UPDATE"||t.type==="DELETE")&&(n.old=aj(t.columns,t.old_record)),n}}class Qee{constructor(t,n){this.socket=new Vee(t,n)}get timeout(){return this.socket.timeout}get endPoint(){return this.socket.endPoint}get transport(){return this.socket.transport}get heartbeatIntervalMs(){return this.socket.heartbeatIntervalMs}get heartbeatCallback(){return this.socket.heartbeatCallback}set heartbeatCallback(t){this.socket.heartbeatCallback=t}get heartbeatTimer(){return this.socket.heartbeatTimer}get pendingHeartbeatRef(){return this.socket.pendingHeartbeatRef}get reconnectTimer(){return this.socket.reconnectTimer}get vsn(){return this.socket.vsn}get encode(){return this.socket.encode}get decode(){return this.socket.decode}get reconnectAfterMs(){return this.socket.reconnectAfterMs}get sendBuffer(){return this.socket.sendBuffer}get stateChangeCallbacks(){return this.socket.stateChangeCallbacks}connect(){this.socket.connect()}disconnect(t,n,r,i=1e4){return new Promise(s=>{setTimeout(()=>s("timeout"),i),this.socket.disconnect(()=>{t(),s("ok")},n,r)})}push(t){this.socket.push(t)}log(t,n,r){this.socket.log(t,n,r)}makeRef(){return this.socket.makeRef()}onOpen(t){this.socket.onOpen(t)}onClose(t){this.socket.onClose(t)}onError(t){this.socket.onError(t)}onMessage(t){this.socket.onMessage(t)}isConnected(){return this.socket.isConnected()}isConnecting(){return this.socket.connectionState()==gy.connecting}isDisconnecting(){return this.socket.connectionState()==gy.closing}connectionState(){return this.socket.connectionState()}endPointURL(){return this.socket.endPointURL()}sendHeartbeat(){this.socket.sendHeartbeat()}getSocket(){return this.socket}}const dj={HEARTBEAT_INTERVAL:25e3,RECONNECT_DELAY:10,HEARTBEAT_TIMEOUT_FALLBACK:100},Xee=[1e3,2e3,5e3,1e4],Zee=1e4;function ete(){const e=new Map;return{get length(){return e.size},clear(){e.clear()},getItem(t){return e.has(t)?e.get(t):null},key(t){var n;return(n=Array.from(e.keys())[t])!==null&&n!==void 0?n:null},removeItem(t){e.delete(t)},setItem(t,n){e.set(t,String(n))}}}function tte(){try{if(typeof globalThis<"u"&&globalThis.sessionStorage)return globalThis.sessionStorage}catch{}return ete()}const nte=`
3174  addEventListener("message", (e) => {
3175    if (e.data.event === "start") {
3176      setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval);
3177    }
3178  });`;class rte{get endPoint(){return this.socketAdapter.endPoint}get timeout(){return this.socketAdapter.timeout}get transport(){return this.socketAdapter.transport}get heartbeatCallback(){return this.socketAdapter.heartbeatCallback}get heartbeatIntervalMs(){return this.socketAdapter.heartbeatIntervalMs}get heartbeatTimer(){return this.worker?this._workerHeartbeatTimer:this.socketAdapter.heartbeatTimer}get pendingHeartbeatRef(){return this.worker?this._pendingWorkerHeartbeatRef:this.socketAdapter.pendingHeartbeatRef}get reconnectTimer(){return this.socketAdapter.reconnectTimer}get vsn(){return this.socketAdapter.vsn}get encode(){return this.socketAdapter.encode}get decode(){return this.socketAdapter.decode}get reconnectAfterMs(){return this.socketAdapter.reconnectAfterMs}get sendBuffer(){return this.socketAdapter.sendBuffer}get stateChangeCallbacks(){return this.socketAdapter.stateChangeCallbacks}constructor(t,n){var r;if(this.channels=new Array,this.accessTokenValue=null,this.accessToken=null,this.apiKey=null,this.httpEndpoint="",this.headers={},this.params={}
3178,this.ref=0,this.serializer=new Pee,this._manuallySetToken=!1,this._authPromise=null,this._workerHeartbeatTimer=void 0,this._pendingWorkerHeartbeatRef=null,this._pendingDisconnectTimer=null,this._disconnectOnEmptyChannelsAfterMs=0,this._resolveFetch=s=>s?(...o)=>s(...o):(...o)=>fetch(...o),!(!((r=n==null?void 0:n.params)===null||r===void 0)&&r.apikey))throw new Error("API key is required to connect to Realtime");this.apiKey=n.params.apikey;const i=this._initializeOptions(n);this.socketAdapter=new Qee(t,i),this.httpEndpoint=QN(t),this.fetch=this._resolveFetch(n==null?void 0:n.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.isConnected())){this.accessToken&&!this._authPromise&&this._setAuthSafely("connect"),this._setupConnectionHandlers();try{this.socketAdapter.connect()}catch(t){const n=t.message;throw n.includes("Node.js")?new Error(`${n}
3179
3180To use Realtime in Node.js, you need to provide a WebSocket implementation:
3181
3182Option 1: Use Node.js 22+ which has native WebSocket support
3183Option 2: Install and provide the "ws" package:
3184
3185  npm install ws
3186
3187  import ws from "ws"
3188  const client = new RealtimeClient(url, {
3189    ...options,
3190    transport: ws
3191  })`):new Error(`WebSocket not available: ${n}`)}this._handleNodeJsRaceCondition()}}endpointURL(){return this.socketAdapter.endPointURL()}async disconnect(t,n){return this._cancelPendingDisconnect(),this.isDisconnecting()?"ok":await this.socketAdapter.disconnect(()=>{clearInterval(this._workerHeartbeatTimer),this._terminateWorker()},t,n)}getChannels(){return this.channels}async removeChannel(t){const n=await t.unsubscribe();return n==="ok"&&t.teardown(),n}async removeAllChannels(){const t=this.channels.map(async r=>{const i=await r.unsubscribe();return r.teardown(),i}),n=await Promise.all(t);return await this.disconnect(),n}log(t,n,r){this.socketAdapter.log(t,n,r)}connectionState(){return this.socketAdapter.connectionState()||gy.closed}isConnected(){return this.socketAdapter.isConnected()}isConnecting(){return this.socketAdapter.isConnecting()}isDisconnecting(){return this.socketAdapter.isDisconnecting()}channel(t,n={config:{}}){const r=`realtime:${t}`,i=this.getChannels().find(s=>s.topic===r);if(i)return i;{const s=new Yl(`realtime:${t}`,n,this);return this._cancelPendingDisconnect(),this.channels.push(s),s}}push(t){this.socketAdapter.push(t)}async setAuth(t=null){this._authPromise=this._performAuth(t);try{await this._authPromise}finally{this._authPromise=null}}_isManualToken(){return this._manuallySetToken}async sendHeartbeat(){this.socketAdapter.sendHeartbeat()}onHeartbeat(t){this.socketAdapter.heartbeatCallback=this._wrapHeartbeatCallback(t)}_makeRef(){return this.socketAdapter.makeRef()}_remove(t){this.channels=this.channels.filter(n=>n.topic!==t.topic),this.channels.length===0&&(this.log("transport","no channels remaining, scheduling disconnect"),this._schedulePendingDisconnect())}_schedulePendingDisconnect(){if(this._cancelPendingDisconnect(),this._disconnectOnEmptyChannelsAfterMs===0){this.log("transport","disconnecting immediately - no channels"),this.disconnect();return}
3191this._pendingDisconnectTimer=setTimeout(()=>{this._pendingDisconnectTimer=null,this.channels.length===0&&(this.log("transport","deferred disconnect fired - no channels, disconnecting"),this.disconnect())},this._disconnectOnEmptyChannelsAfterMs),this.log("transport",`deferred disconnect scheduled in ${this._disconnectOnEmptyChannelsAfterMs}ms`)}_cancelPendingDisconnect(){this._pendingDisconnectTimer!==null&&(this.log("transport","pending disconnect cancelled - channel activity detected"),clearTimeout(this._pendingDisconnectTimer),this._pendingDisconnectTimer=null)}async _performAuth(t=null){let n,r=!1;if(t)n=t,r=!0;else if(this.accessToken)try{n=await this.accessToken()}catch(i){this.log("error","Error fetching access token from callback",i),n=this.accessTokenValue}else n=this.accessTokenValue;r?this._manuallySetToken=!0:this.accessToken&&(this._manuallySetToken=!1),this.accessTokenValue!=n&&(this.accessTokenValue=n,this.channels.forEach(i=>{const s={access_token:n,version:jee};n&&i.updateJoinPayload(s),i.joinedOnce&&i.channelAdapter.isJoined()&&i.channelAdapter.push(JN.access_token,{access_token:n})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(t="general"){this._isManualToken()||this.setAuth().catch(n=>{this.log("error",`Error setting auth in ${t}`,n)})}_setupConnectionHandlers(){this.socketAdapter.onOpen(()=>{(this._authPromise||(this.accessToken&&!this.accessTokenValue?this.setAuth():Promise.resolve())).catch(n=>{this.log("error","error waiting for auth on connect",n)}),this.worker&&!this.workerRef&&this._startWorkerHeartbeat()}),this.socketAdapter.onClose(()=>{this.worker&&this.workerRef&&this._terminateWorker()}),this.socketAdapter.onMessage(t=>{t.ref&&t.ref===this._pendingWorkerHeartbeatRef&&(this._pendingWorkerHeartbeatRef=null)})}_handleNodeJsRaceCondition(){this.socketAdapter.isConnected()&&this.socketAdapter.getSocket().onConnOpen()}_wrapHeartbeatCallback(t){return(n,r)=>{n=="sent"&&this._setAuthSafely(),t&&t(n,r)}}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const t=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(t),this.workerRef.onerror=n=>{this.log("worker","worker error",n.message),this._terminateWorker(),this.disconnect()},this.workerRef.onmessage=n=>{n.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_terminateWorker(){this.workerRef&&(this.log("worker","terminating worker"),this.workerRef.terminate(),this.workerRef=void 0)}_workerObjectUrl(t){let n;if(t)n=t;else{const r=new Blob([nte],{type:"application/javascript"});n=URL.createObjectURL(r)}return n}_initializeOptions(t){var n,r,i,s,o,a,c,u,p,d,h,f;this.worker=(n=t==null?void 0:t.worker)!==null&&n!==void 0?n:!1,this.accessToken=(r=t==null?void 0:t.accessToken)!==null&&r!==void 0?r:null;const m={};m.timeout=(i=t==null?void 0:t.timeout)!==null&&i!==void 0?i:Eee,m.heartbeatIntervalMs=(s=t==null?void 0:t.heartbeatIntervalMs)!==null&&s!==void 0?s:dj.HEARTBEAT_INTERVAL,this._disconnectOnEmptyChannelsAfterMs=(o=t==null?void 0:t.disconnectOnEmptyChannelsAfterMs)!==null&&o!==void 0?o:2*((a=t==null?void 0:t.heartbeatIntervalMs)!==null&&a!==void 0?a:dj.HEARTBEAT_INTERVAL),m.transport=(c=t==null?void 0:t.transport)!==null&&c!==void 0?c:kee.getWebSocketConstructor(),m.params=t==null?void 0:t.params,m.logger=t==null?void 0:t.logger,m.heartbeatCallback=this._wrapHeartbeatCallback(t==null?void 0:t.heartbeatCallback),m.sessionStorage=(u=t==null?void 0:t.sessionStorage)!==null&&u!==void 0?u:tte(),m.reconnectAfterMs=(p=t==null?void 0:t.reconnectAfterMs)!==null&&p!==void 0?p:b=>Xee[b-1]||Zee;let g,x;const v=(d=t==null?void 0:t.vsn)!==null&&d!==void 0?d:_ee;switch(v){case See:g=(b,w)=>w(JSON.stringify(b)),x=(b,w)=>w(JSON.parse(b));break;case KN:g=this.serializer.encode.bind(this.serializer),x=this.serializer.decode.bind(this.serializer);break;default:throw new Error(`Unsupported serializer version: ${m.vsn}`)}if(m.vsn=v,m.encode=(h=t==null?void 0:t.encode)!==null&&h!==void 0?h:g,m.decode=(f=t==null?void 0:t.decode)!==null&&f!==void 0?f:x,m.beforeReconnect=this._reconnectAuth.bind(this),(t!=null&&t.logLevel||t!=null&&t.log_level)&&(this.logLevel=t.logLevel||t.log_level,m.params=Object.assign(Object.assign({},m.params),{log_level:this.logLevel})),this.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.workerUrl=t==null?void 0:t.workerUrl,m.autoSendHeartbeat=!this.worker}return m}async _reconnectAuth(){await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()}}
3191var qc=class extends Error{constructor(e,t){var n;super(e),this.name="IcebergError",this.status=t.status,this.icebergType=t.icebergType,this.icebergCode=t.icebergCode,this.details=t.details,this.isCommitStateUnknown=t.icebergType==="CommitStateUnknownException"||[500,502,504].includes(t.status)&&((n=t.icebergType)==null?void 0:n.includes("CommitState"))===!0}isNotFound(){return this.status===404}isConflict(){return this.status===409}isAuthenticationTimeout(){return this.status===419}};function ite(e,t,n){const r=new URL(t,e);if(n)for(const[i,s]of Object.entries(n))s!==void 0&&r.searchParams.set(i,s);return r.toString()}async function ste(e){return!e||e.type==="none"?{}:e.type==="bearer"?{Authorization:`Bearer ${e.token}`}:e.type==="header"?{[e.name]:e.value}:e.type==="custom"?await e.getHeaders():{}}function ote(e){const t=e.fetchImpl??globalThis.fetch;return{async request({method:n,path:r,query:i,body:s,headers:o}){const a=ite(e.baseUrl,r,i),c=await ste(e.auth),u=await t(a,{method:n,headers:{...s?{"Content-Type":"application/json"}:{},...c,...o},body:s?JSON.stringify(s):void 0}),p=await u.text(),d=(u.headers.get("content-type")||"").includes("application/json"),h=d&&p?JSON.parse(p):p;if(!u.ok){const f=d?h:void 0,m=f==null?void 0:f.error;throw new qc((m==null?void 0:m.message)??`Request failed with status ${u.status}`,{status:u.status,icebergType:m==null?void 0:m.type,icebergCode:m==null?void 0:m.code,details:f})}return{status:u.status,headers:u.headers,data:h}}}}function id(e){return e.join("�")}var ate=class{constructor(e,t=""){this.client=e,this.prefix=t}async listNamespaces(e){const t=e?{parent:id(e.namespace)}:void 0;return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces`,query:t})).data.namespaces.map(r=>({namespace:r}))}async createNamespace(e,t){const n={namespace:e.namespace,properties:t==null?void 0:t.properties};return(await this.client.request({method:"POST",path:`${this.prefix}/namespaces`,body:n})).data}async dropNamespace(e){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${id(e.namespace)}`})}async loadNamespaceMetadata(e){return{properties:(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${id(e.namespace)}`})).data.properties}}async namespaceExists(e){try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${id(e.namespace)}`}),!0}catch(t){if(t instanceof qc&&t.status===404)return!1;throw t}}async createNamespaceIfNotExists(e,t){try{return await this.createNamespace(e,t)}catch(n){if(n instanceof qc&&n.status===409)return;throw n}}};function Ao(e){return e.join("�")}var lte=class{constructor(e,t="",n){this.client=e,this.prefix=t,this.accessDelegation=n}async listTables(e){return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Ao(e.namespace)}/tables`})).data.identifiers}async createTable(e,t){const n={};return this.accessDelegation&&(n["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${Ao(e.namespace)}/tables`,body:t,headers:n})).data.metadata}async updateTable(e,t){const n=await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${Ao(e.namespace)}/tables/${e.name}`,body:t});return{"metadata-location":n.data["metadata-location"],metadata:n.data.metadata}}async dropTable(e,t){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${Ao(e.namespace)}/tables/${e.name}`,query:{purgeRequested:String((t==null?void 0:t.purge)??!1)}})}async loadTable(e){const t={};return this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Ao(e.namespace)}/tables/${e.name}`,headers:t})).data.metadata}async tableExists(e){const t={};this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation);try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${Ao(e.namespace)}/tables/${e.name}`,headers:t}),!0}catch(n){if(n instanceof qc&&n.status===404)return!1;throw n}}async createTableIfNotExists(e,t){try{return await this.createTable(e,t)}catch(n){if(n instanceof qc&&n.status===409)return await this.loadTable({namespace:e.namespace,name:t.name});throw n}}},cte=class{constructor(e){var r;let t="v1";e.catalogName&&(t+=`/${e.catalogName}`);const n=e.baseUrl.endsWith("/")?e.baseUrl:`${e.baseUrl}/`;this.client=ote({baseUrl:n,auth:e.auth,fetchImpl:e.fetch}),this.accessDelegation=(r=e.accessDelegation)==null?void 0:r.join(","),this.namespaceOps=new ate(this.client,t),this.tableOps=new lte(this.client,t,this.accessDelegation)}async listNamespaces(e){return this.namespaceOps.listNamespaces(e)}async createNamespace(e,t){return this.namespaceOps.createNamespace(e,t)}async dropNamespace(e){await this.namespaceOps.dropNamespace(e)}async loadNamespaceMetadata(e){return this.namespaceOps.loadNamespaceMetadata(e)}async listTables(e){return this.tableOps.listTables(e)}
3191async createTable(e,t){return this.tableOps.createTable(e,t)}async updateTable(e,t){return this.tableOps.updateTable(e,t)}async dropTable(e,t){await this.tableOps.dropTable(e,t)}async loadTable(e){return this.tableOps.loadTable(e)}async namespaceExists(e){return this.namespaceOps.namespaceExists(e)}async tableExists(e){return this.tableOps.tableExists(e)}async createNamespaceIfNotExists(e,t){return this.namespaceOps.createNamespaceIfNotExists(e,t)}async createTableIfNotExists(e,t){return this.tableOps.createTableIfNotExists(e,t)}};function Ic(e){"@babel/helpers - typeof";return Ic=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ic(e)}function ute(e,t){if(Ic(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Ic(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function dte(e){var t=ute(e,"string");return Ic(t)=="symbol"?t:t+""}function pte(e,t,n){return(t=dte(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function oe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pj(Object(n),!0).forEach(function(r){pte(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pj(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var of=class extends Error{constructor(e,t="storage",n,r){super(e),this.__isStorageError=!0,this.namespace=t,this.name=t==="vectors"?"StorageVectorsError":"StorageError",this.status=n,this.statusCode=r}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}};function af(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}var xy=class extends of{constructor(e,t,n,r="storage"){super(e,r,t,n),this.name=r==="vectors"?"StorageVectorsApiError":"StorageApiError",this.status=t,this.statusCode=n}toJSON(){return oe({},super.toJSON())}},ZN=class extends of{constructor(e,t,n="storage"){super(e,n),this.name=n==="vectors"?"StorageVectorsUnknownError":"StorageUnknownError",this.originalError=t}};function Gp(e,t,n){const r=oe({},e),i=t.toLowerCase();for(const s of Object.keys(r))s.toLowerCase()===i&&delete r[s];return r[i]=n,r}function hte(e){const t={};for(const[n,r]of Object.entries(e))t[n.toLowerCase()]=r;return t}const fte=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),mte=e=>{if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},wy=e=>{if(Array.isArray(e))return e.map(n=>wy(n));if(typeof e=="function"||e!==Object(e))return e;const t={};return Object.entries(e).forEach(([n,r])=>{const i=n.replace(/([-_][a-z])/gi,s=>s.toUpperCase().replace(/[-_]/g,""));t[i]=wy(r)}),t},gte=e=>!e||typeof e!="string"||e.length===0||e.length>100||e.trim()!==e||e.includes("/")||e.includes("\\")?!1:/^[\w!.\*'() &$@=;:+,?-]+$/.test(e),hj=e=>{if(typeof e=="object"&&e!==null){const t=e;if(typeof t.msg=="string")return t.msg;if(typeof t.message=="string")return t.message;if(typeof t.error_description=="string")return t.error_description;if(typeof t.error=="string")return t.error;if(typeof t.error=="object"&&t.error!==null){const n=t.error;if(typeof n.message=="string")return n.message}}return JSON.stringify(e)},vte=async(e,t,n,r)=>{if(e!==null&&typeof e=="object"&&"json"in e&&typeof e.json=="function"){const i=e;let s=parseInt(String(i.status),10);Number.isFinite(s)||(s=500),i.json().then(o=>{const a=(o==null?void 0:o.statusCode)||(o==null?void 0:o.code)||s+"";t(new xy(hj(o),s,a,r))}).catch(()=>{const o=s+"";t(new xy(i.statusText||`HTTP ${s} error`,s,o,r))})}else t(new ZN(hj(e),e,r))},yte=(e,t,n,r)=>{const i={method:e,headers:(t==null?void 0:t.headers)||{}};if(e==="GET"||e==="HEAD"||!r)return oe(oe({},i),n);if(mte(r)){var s;const o=(t==null?void 0:t.headers)||{};let a;for(const[c,u]of Object.entries(o))c.toLowerCase()==="content-type"&&(a=u);i.headers=Gp(o,"Content-Type",(s=a)!==null&&s!==void 0?s:"application/json"),i.body=JSON.stringify(r)}else i.body=r;return t!=null&&t.duplex&&(i.duplex=t.duplex),oe(oe({},i),n)};async function yl(e,t,n,r,i,s,o){return new Promise((a,c)=>{e(n,yte(t,r,i,s)).then(u=>{if(!u.ok)throw u;if(r!=null&&r.noResolveJson)return u;if(o==="vectors"){const p=u.headers.get("content-type");if(u.headers.get("content-length")==="0"||u.status===204)return{};if(!p||!p.includes("application/json"))return{}}return u.json()}).then(u=>a(u)).catch(u=>vte(u,c,r,o))})}function eR(e="storage"){return{get:async(t,n,r,i)=>yl(t,"GET",n,r,i,void 0,e),post:async(t,n,r,i,s)=>yl(t,"POST",n,i,s,r,e),put:async(t,n,r,i,s)=>yl(t,"PUT",n,i,s,r,e),head:async(t,n,r,i)=>yl(t,"HEAD",n,oe(oe({},r),{},{noResolveJson:!0}),i,void 0,e),remove:async(t,n,r,i,s)=>yl(t,"DELETE",n,i,s,r,e)}}const bte=eR("storage"),{get:Lc,post:Kn,put:ky,head:xte,remove:uw}=bte,cn=eR("vectors");var Za=class{constructor(e,t={},n,r="storage"){this.shouldThrowOnError=!1,this.url=e,this.headers=hte(t),this.fetch=fte(n),this.namespace=r}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(e,t){return this.headers=Gp(this.headers,e,t),this}async handleOperation(e){var t=this;try{return{data:await e(),error:null}}catch(n){if(t.shouldThrowOnError)throw n;if(af(n))return{data:null,error:n};throw n}}};let tR;tR=Symbol.toStringTag;var wte=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t,this[tR]="StreamDownloadBuilder",this.promise=null}
3191then(e,t){return this.getPromise().then(e,t)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}async execute(){var e=this;try{return{data:(await e.downloadFn()).body,error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(af(t))return{data:null,error:t};throw t}}};let nR;nR=Symbol.toStringTag;var kte=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t,this[nR]="BlobDownloadBuilder",this.promise=null}asStream(){return new wte(this.downloadFn,this.shouldThrowOnError)}then(e,t){return this.getPromise().then(e,t)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}async execute(){var e=this;try{return{data:await(await e.downloadFn()).blob(),error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(af(t))return{data:null,error:t};throw t}}};const Cte={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},fj={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};var jte=class extends Za{constructor(e,t={},n,r){super(e,t,r,"storage"),this.bucketId=n}async uploadOrUpdate(e,t,n,r){var i=this;return i.handleOperation(async()=>{let s;const o=oe(oe({},fj),r);let a=oe(oe({},i.headers),e==="POST"&&{"x-upsert":String(o.upsert)});const c=o.metadata;if(typeof Blob<"u"&&n instanceof Blob?(s=new FormData,s.append("cacheControl",o.cacheControl),c&&s.append("metadata",i.encodeMetadata(c)),s.append("",n)):typeof FormData<"u"&&n instanceof FormData?(s=n,s.has("cacheControl")||s.append("cacheControl",o.cacheControl),c&&!s.has("metadata")&&s.append("metadata",i.encodeMetadata(c))):(s=n,a["cache-control"]=`max-age=${o.cacheControl}`,a["content-type"]=o.contentType,c&&(a["x-metadata"]=i.toBase64(i.encodeMetadata(c))),(typeof ReadableStream<"u"&&s instanceof ReadableStream||s&&typeof s=="object"&&"pipe"in s&&typeof s.pipe=="function")&&!o.duplex&&(o.duplex="half")),r!=null&&r.headers)for(const[h,f]of Object.entries(r.headers))a=Gp(a,h,f);const u=i._removeEmptyFolders(t),p=i._getFinalPath(u),d=await(e=="PUT"?ky:Kn)(i.fetch,`${i.url}/object/${p}`,s,oe({headers:a},o!=null&&o.duplex?{duplex:o.duplex}:{}));return{path:u,id:d.Id,fullPath:d.Key}})}async upload(e,t,n){return this.uploadOrUpdate("POST",e,t,n)}async uploadToSignedUrl(e,t,n,r){var i=this;const s=i._removeEmptyFolders(e),o=i._getFinalPath(s),a=new URL(i.url+`/object/upload/sign/${o}`);return a.searchParams.set("token",t),i.handleOperation(async()=>{let c;const u=oe(oe({},fj),r);let p=oe(oe({},i.headers),{"x-upsert":String(u.upsert)});const d=u.metadata;if(typeof Blob<"u"&&n instanceof Blob?(c=new FormData,c.append("cacheControl",u.cacheControl),d&&c.append("metadata",i.encodeMetadata(d)),c.append("",n)):typeof FormData<"u"&&n instanceof FormData?(c=n,c.has("cacheControl")||c.append("cacheControl",u.cacheControl),d&&!c.has("metadata")&&c.append("metadata",i.encodeMetadata(d))):(c=n,p["cache-control"]=`max-age=${u.cacheControl}`,p["content-type"]=u.contentType,d&&(p["x-metadata"]=i.toBase64(i.encodeMetadata(d))),(typeof ReadableStream<"u"&&c instanceof ReadableStream||c&&typeof c=="object"&&"pipe"in c&&typeof c.pipe=="function")&&!u.duplex&&(u.duplex="half")),r!=null&&r.headers)for(const[h,f]of Object.entries(r.headers))p=Gp(p,h,f);return{path:s,fullPath:(await ky(i.fetch,a.toString(),c,oe({headers:p},u!=null&&u.duplex?{duplex:u.duplex}:{}))).Key}})}async createSignedUploadUrl(e,t){var n=this;return n.handleOperation(async()=>{let r=n._getFinalPath(e);const i=oe({},n.headers);t!=null&&t.upsert&&(i["x-upsert"]="true");const s=await Kn(n.fetch,`${n.url}/object/upload/sign/${r}`,{},{headers:i}),o=new URL(n.url+s.url),a=o.searchParams.get("token");if(!a)throw new of("No token returned by API");return{signedUrl:o.toString(),path:e,token:a}})}async update(e,t,n){return this.uploadOrUpdate("PUT",e,t,n)}async move(e,t,n){var r=this;return r.handleOperation(async()=>await Kn(r.fetch,`${r.url}/object/move`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,de
3191stinationBucket:n==null?void 0:n.destinationBucket},{headers:r.headers}))}async copy(e,t,n){var r=this;return r.handleOperation(async()=>({path:(await Kn(r.fetch,`${r.url}/object/copy`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,destinationBucket:n==null?void 0:n.destinationBucket},{headers:r.headers})).Key}))}async createSignedUrl(e,t,n){var r=this;return r.handleOperation(async()=>{let i=r._getFinalPath(e);const s=typeof(n==null?void 0:n.transform)=="object"&&n.transform!==null&&Object.keys(n.transform).length>0;let o=await Kn(r.fetch,`${r.url}/object/sign/${i}`,oe({expiresIn:t},s?{transform:n.transform}:{}),{headers:r.headers});const a=new URLSearchParams;n!=null&&n.download&&a.set("download",n.download===!0?"":n.download),(n==null?void 0:n.cacheNonce)!=null&&a.set("cacheNonce",String(n.cacheNonce));const c=a.toString();return{signedUrl:encodeURI(`${r.url}${o.signedURL}${c?`&${c}`:""}`)}})}async createSignedUrls(e,t,n){var r=this;return r.handleOperation(async()=>{const i=await Kn(r.fetch,`${r.url}/object/sign/${r.bucketId}`,{expiresIn:t,paths:e},{headers:r.headers}),s=new URLSearchParams;n!=null&&n.download&&s.set("download",n.download===!0?"":n.download),(n==null?void 0:n.cacheNonce)!=null&&s.set("cacheNonce",String(n.cacheNonce));const o=s.toString();return i.map(a=>oe(oe({},a),{},{signedUrl:a.signedURL?encodeURI(`${r.url}${a.signedURL}${o?`&${o}`:""}`):null}))})}download(e,t,n){const r=typeof(t==null?void 0:t.transform)=="object"&&t.transform!==null&&Object.keys(t.transform).length>0?"render/image/authenticated":"object",i=new URLSearchParams;t!=null&&t.transform&&this.applyTransformOptsToQuery(i,t.transform),(t==null?void 0:t.cacheNonce)!=null&&i.set("cacheNonce",String(t.cacheNonce));const s=i.toString(),o=this._getFinalPath(e),a=()=>Lc(this.fetch,`${this.url}/${r}/${o}${s?`?${s}`:""}`,{headers:this.headers,noResolveJson:!0},n);return new kte(a,this.shouldThrowOnError)}async info(e){var t=this;const n=t._getFinalPath(e);return t.handleOperation(async()=>wy(await Lc(t.fetch,`${t.url}/object/info/${n}`,{headers:t.headers})))}async exists(e){var t=this;const n=t._getFinalPath(e);try{return await xte(t.fetch,`${t.url}/object/${n}`,{headers:t.headers}),{data:!0,error:null}}catch(i){if(t.shouldThrowOnError)throw i;if(af(i)){var r;const s=i instanceof xy?i.status:i instanceof ZN?(r=i.originalError)===null||r===void 0?void 0:r.status:void 0;if(s!==void 0&&[400,404].includes(s))return{data:!1,error:i}}throw i}}getPublicUrl(e,t){const n=this._getFinalPath(e),r=new URLSearchParams;t!=null&&t.download&&r.set("download",t.download===!0?"":t.download),t!=null&&t.transform&&this.applyTransformOptsToQuery(r,t.transform),(t==null?void 0:t.cacheNonce)!=null&&r.set("cacheNonce",String(t.cacheNonce));const i=r.toString(),s=typeof(t==null?void 0:t.transform)=="object"&&t.transform!==null&&Object.keys(t.transform).length>0?"render/image":"object";return{data:{publicUrl:encodeURI(`${this.url}/${s}/public/${n}`)+(i?`?${i}`:"")}}}async remove(e){var t=this;return t.handleOperation(async()=>await uw(t.fetch,`${t.url}/object/${t.bucketId}`,{prefixes:e},{headers:t.headers}))}async list(e,t,n){var r=this;return r.handleOperation(async()=>{const i=oe(oe(oe({},Cte),t),{},{prefix:e||""});return await Kn(r.fetch,`${r.url}/object/list/${r.bucketId}`,i,{headers:r.headers},n)})}async listV2(e,t){var n=this;return n.handleOperation(async()=>{const r=oe({},e);return await Kn(n.fetch,`${n.url}/object/list-v2/${n.bucketId}`,r,{headers:n.headers},t)})}encodeMetadata(e){return JSON.stringify(e)}toBase64(e){return typeof Buffer<"u"?Buffer.from(e).toString("base64"):btoa(e)}_getFinalPath(e){return`${this.bucketId}/${e.replace(/^\/+/,"")}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}applyTransformOptsToQuery(e,t){return t.width&&e.set("width",t.width.toString()),t.height&&e.set("height",t.height.toString()),t.resize&&e.set("resize",t.resize),t.format&&e.set("format",t.format),t.quality&&e.set("quality",t.quality.toString()),e}};const Ste="2.108.2",au={"X-Client-Info":`storage-js/${Ste}`};var _te=class extends Za{constructor(e,t={},n,r){const i=new URL(e);r!=null&&r.useNewHostname&&/supabase\.(co|in|red)$/.test(i.hostname)&&!i.hostname.includes("storage.supabase.")&&(i.hostname=i.hostname.replace("supabase.","storage.supabase."));const s=i.href.replace(/\/$/,""),o=oe(oe({},au),t);super(s,o,n,"storage")}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=t.listBucketOptionsToQueryString(e);return await Lc(t.fetch,`${t.url}/bucket${n}`,{headers:t.headers})})}async getBucket(e){var t=this;return t.handleOperation(async()=>await Lc(t.fetch,`${t.url}/bucket/${e}`,{headers:t.headers}))}async createBucket(e,t={public:!1}){var n=this;return n.handleOperation(async()=>await Kn(n.fetch,`${n.url}/bucket`,{id:e,name:e,type:t.type,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async updateBucket(e,t){var n=this;return n.handleOperation(async()=>await ky(n.fetch,`${n.url}/bucket/${e}`,{id:e,name:e,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async emptyBucket(e){var t=this;return t.handleOperation(async()=>await Kn(t.fetch,`${t.url}/bucket/${e}/empty`,{},{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await uw(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}listBucketOptionsToQueryString(e){const t={};return e&&("limit"in e&&(t.limit=String(e.limit)),"offset"in e&&(t.offset=String(e.offset)),e.search&&(t.search=e.search),e.sortColumn&&(t.sortColumn=e.sortColumn),e.sortOrder&&(t.sortOrder=e.sortOrder)),Object.keys(t).length>0?"?"+new URLSearchParams(t).toString():""}},Ete=class extends Za{constructor(e,t={},n){const r=e.replace(/\/$/,""),i=oe(oe({},au),t);super(r,i,n,"storage")}async createBucket(e){var t=this;return t.handleOperation(async()=>await Kn(t.fetch,`${t.url}/bucket`,{name:e},{headers:t.headers}))}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=new URLSearchParams;(e==null?void 0:e.limit)!==void 0&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString()),e!=null&&e.sortColumn&&n.set("sortColumn",e.sortColumn),e!=null&&e.sortOrder&&n.set("sortOrder",e.sortOrder),e!=null&&e.search&&n.set("search",e.search);const r=n.toString(),i=r?`${t.url}/bucket?${r}`:`${t.url}/bucket`;return await Lc(t.fetch,i,{headers:t.headers})})}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await uw(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}from(e){var t=this;if(!gte(e))throw new of("Invalid bucket name: File, folder, and bucket names must follow AWS object key naming guidelines and should avoid the use of any other characters.");const n=new cte({baseUrl:this.url,catalogName:e,auth:{type:"custom",getHeaders:async()=>t.headers},fetch:this.fetch}
3191),r=this.shouldThrowOnError;return new Proxy(n,{get(i,s){const o=i[s];return typeof o!="function"?o:async(...a)=>{try{return{data:await o.apply(i,a),error:null}}catch(c){if(r)throw c;return{data:null,error:c}}}}})}},Tte=class extends Za{constructor(e,t={},n){const r=e.replace(/\/$/,""),i=oe(oe({},au),{},{"Content-Type":"application/json"},t);super(r,i,n,"vectors")}async createIndex(e){var t=this;return t.handleOperation(async()=>await cn.post(t.fetch,`${t.url}/CreateIndex`,e,{headers:t.headers})||{})}async getIndex(e,t){var n=this;return n.handleOperation(async()=>await cn.post(n.fetch,`${n.url}/GetIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers}))}async listIndexes(e){var t=this;return t.handleOperation(async()=>await cn.post(t.fetch,`${t.url}/ListIndexes`,e,{headers:t.headers}))}async deleteIndex(e,t){var n=this;return n.handleOperation(async()=>await cn.post(n.fetch,`${n.url}/DeleteIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers})||{})}},Pte=class extends Za{constructor(e,t={},n){const r=e.replace(/\/$/,""),i=oe(oe({},au),{},{"Content-Type":"application/json"},t);super(r,i,n,"vectors")}async putVectors(e){var t=this;if(e.vectors.length<1||e.vectors.length>500)throw new Error("Vector batch size must be between 1 and 500 items");return t.handleOperation(async()=>await cn.post(t.fetch,`${t.url}/PutVectors`,e,{headers:t.headers})||{})}async getVectors(e){var t=this;return t.handleOperation(async()=>await cn.post(t.fetch,`${t.url}/GetVectors`,e,{headers:t.headers}))}async listVectors(e){var t=this;if(e.segmentCount!==void 0){if(e.segmentCount<1||e.segmentCount>16)throw new Error("segmentCount must be between 1 and 16");if(e.segmentIndex!==void 0&&(e.segmentIndex<0||e.segmentIndex>=e.segmentCount))throw new Error(`segmentIndex must be between 0 and ${e.segmentCount-1}`)}return t.handleOperation(async()=>await cn.post(t.fetch,`${t.url}/ListVectors`,e,{headers:t.headers}))}async queryVectors(e){var t=this;return t.handleOperation(async()=>await cn.post(t.fetch,`${t.url}/QueryVectors`,e,{headers:t.headers}))}async deleteVectors(e){var t=this;if(e.keys.length<1||e.keys.length>500)throw new Error("Keys batch size must be between 1 and 500 items");return t.handleOperation(async()=>await cn.post(t.fetch,`${t.url}/DeleteVectors`,e,{headers:t.headers})||{})}},Ate=class extends Za{constructor(e,t={},n){const r=e.replace(/\/$/,""),i=oe(oe({},au),{},{"Content-Type":"application/json"},t);super(r,i,n,"vectors")}async createBucket(e){var t=this;return t.handleOperation(async()=>await cn.post(t.fetch,`${t.url}/CreateVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}async getBucket(e){var t=this;return t.handleOperation(async()=>await cn.post(t.fetch,`${t.url}/GetVectorBucket`,{vectorBucketName:e},{headers:t.headers}))}async listBuckets(e={}){var t=this;return t.handleOperation(async()=>await cn.post(t.fetch,`${t.url}/ListVectorBuckets`,e,{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await cn.post(t.fetch,`${t.url}/DeleteVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}},Nte=class extends Ate{constructor(e,t={}){super(e,t.headers||{},t.fetch)}from(e){return new Rte(this.url,this.headers,e,this.fetch)}async createBucket(e){var t=()=>super.createBucket,n=this;return t().call(n,e)}async getBucket(e){var t=()=>super.getBucket,n=this;return t().call(n,e)}async listBuckets(e={}){var t=()=>super.listBuckets,n=this;return t().call(n,e)}async deleteBucket(e){var t=()=>super.deleteBucket,n=this;return t().call(n,e)}},Rte=class extends Tte{constructor(e,t,n,r){super(e,t,r),this.vectorBucketName=n}async createIndex(e){var t=()=>super.createIndex,n=this;return t().call(n,oe(oe({},e),{},{vectorBucketName:n.vectorBucketName}))}async listIndexes(e={}){var t=()=>super.listIndexes,n=this;return t().call(n,oe(oe({},e),{},{vectorBucketName:n.vectorBucketName}))}async getIndex(e){var t=()=>super.getIndex,n=this;return t().call(n,n.vectorBucketName,e)}async deleteIndex(e){var t=()=>super.deleteIndex,n=this;return t().call(n,n.vectorBucketName,e)}index(e){return new qte(this.url,this.headers,this.vectorBucketName,e,this.fetch)}},qte=class extends Pte{constructor(e,t,n,r,i){super(e,t,i),this.vectorBucketName=n,this.indexName=r}async putVectors(e){var t=()=>super.putVectors,n=this;return t().call(n,oe(oe({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async getVectors(e){var t=()=>super.getVectors,n=this;return t().call(n,oe(oe({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async listVectors(e={}){var t=()=>super.listVectors,n=this;return t().call(n,oe(oe({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async queryVectors(e){var t=()=>super.queryVectors,n=this;return t().call(n,oe(oe({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async deleteVectors(e){var t=()=>super.deleteVectors,n=this;return t().call(n,oe(oe({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}},Ite=class extends _te{constructor(e,t={},n,r){super(e,t,n,r)}from(e){return new jte(this.url,this.headers,e,this.fetch)}get vectors(){return new Nte(this.url+"/vector",{headers:this.headers,fetch:this.fetch})}get analytics(){return new Ete(this.url+"/iceberg",this.headers,this.fetch)}};function lf(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}const rR="2.108.2",Zr=30*1e3,Pl=3,Vm=Pl*Zr,Lte=2*Zr,Ote="http://localhost:9999",Dte="supabase.auth.token",Mte={"X-Client-Info":`gotrue-js/${rR}`},Cy="X-Supabase-Api-Version",iR={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},Bte=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,$te=10*60*1e3;
3191class Oc extends Error{constructor(t,n,r){super(t),this.__isAuthError=!0,this.name="AuthError",this.status=n,this.code=r}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code}}}function J(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class Fte extends Oc{constructor(t,n,r){super(t,n,r),this.name="AuthApiError",this.status=n,this.code=r}}function zte(e){return J(e)&&e.name==="AuthApiError"}class Zn extends Oc{constructor(t,n){super(t),this.name="AuthUnknownError",this.originalError=n}}class $r extends Oc{constructor(t,n,r,i){super(t,r,i),this.name=n,this.status=r}}class ft extends $r{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function sd(e){return J(e)&&e.name==="AuthSessionMissingError"}class No extends $r{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class od extends $r{constructor(t){super(t,"AuthInvalidCredentialsError",400,void 0)}}class ad extends $r{constructor(t,n=null){super(t,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=n}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{details:this.details})}}function Ute(e){return J(e)&&e.name==="AuthImplicitGrantRedirectError"}class mj extends $r{constructor(t,n=null){super(t,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=n}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{details:this.details})}}class Vte extends $r{constructor(){super("PKCE code verifier not found in storage. This can happen if the auth flow was initiated in a different browser or device, or if the storage was cleared. For SSR frameworks (Next.js, SvelteKit, etc.), use @supabase/ssr on both the server and client to store the code verifier in cookies.","AuthPKCECodeVerifierMissingError",400,"pkce_code_verifier_not_found")}}class jy extends $r{constructor(t,n){super(t,"AuthRetryableFetchError",n,void 0)}}function gj(e){return J(e)&&e.name==="AuthRetryableFetchError"}class vj extends $r{constructor(t="Refresh result discarded: session state changed mid-flight (e.g., concurrent signOut)"){super(t,"AuthRefreshDiscardedError",409,void 0)}}function Wte(e){return J(e)&&e.name==="AuthRefreshDiscardedError"}class yj extends $r{constructor(t,n,r){super(t,"AuthWeakPasswordError",n,"weak_password"),this.reasons=r}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{reasons:this.reasons})}}class Kp extends $r{constructor(t){super(t,"AuthInvalidJwtError",400,"invalid_jwt")}}const Jp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),bj=` 	
3192\r=`.split(""),Hte=(()=>{const e=new Array(128);for(let t=0;t<e.length;t+=1)e[t]=-1;for(let t=0;t<bj.length;t+=1)e[bj[t].charCodeAt(0)]=-2;for(let t=0;t<Jp.length;t+=1)e[Jp[t].charCodeAt(0)]=t;return e})();function xj(e,t,n){if(e!==null)for(t.queue=t.queue<<8|e,t.queuedBits+=8;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(Jp[r]),t.queuedBits-=6}else if(t.queuedBits>0)for(t.queue=t.queue<<6-t.queuedBits,t.queuedBits=6;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(Jp[r]),t.queuedBits-=6}}function sR(e,t,n){const r=Hte[e];if(r>-1)for(t.queue=t.queue<<6|r,t.queuedBits+=6;t.queuedBits>=8;)n(t.queue>>t.queuedBits-8&255),t.queuedBits-=8;else{if(r===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(e)}"`)}}function wj(e){const t=[],n=o=>{t.push(String.fromCodePoint(o))},r={utf8seq:0,codepoint:0},i={queue:0,queuedBits:0},s=o=>{Jte(o,r,n)};for(let o=0;o<e.length;o+=1)sR(e.charCodeAt(o),i,s);return t.join("")}function Gte(e,t){if(e<=127){t(e);return}else if(e<=2047){t(192|e>>6),t(128|e&63);return}else if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|e&63);return}else if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|e&63);return}throw new Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function Kte(e,t){for(let n=0;n<e.length;n+=1){let r=e.charCodeAt(n);if(r>55295&&r<=56319){const i=(r-55296)*1024&65535;r=(e.charCodeAt(n+1)-56320&65535|i)+65536,n+=1}Gte(r,t)}}function Jte(e,t,n){if(t.utf8seq===0){if(e<=127){n(e);return}for(let r=1;r<6;r+=1)if(!(e>>7-r&1)){t.utf8seq=r;break}if(t.utf8seq===2)t.codepoint=e&31;else if(t.utf8seq===3)t.codepoint=e&15;else if(t.utf8seq===4)t.codepoint=e&7;else throw new Error("Invalid UTF-8 sequence");t.utf8seq-=1}else if(t.utf8seq>0){if(e<=127)throw new Error("Invalid UTF-8 sequence");t.codepoint=t.codepoint<<6|e&63,t.utf8seq-=1,t.utf8seq===0&&n(t.codepoint)}}function ma(e){const t=[],n={queue:0,queuedBits:0},r=i=>{t.push(i)};for(let i=0;i<e.length;i+=1)sR(e.charCodeAt(i),n,r);return new Uint8Array(t)}function Yte(e){const t=[];return Kte(e,n=>t.push(n)),new Uint8Array(t)}function zs(e){const t=[],n={queue:0,queuedBits:0},r=i=>{t.push(i)};return e.forEach(i=>
3192xj(i,n,r)),xj(null,n,r),t.join("")}function Qte(e){return Math.round(Date.now()/1e3)+e}function Xte(){return Symbol("auth-callback")}const Et=()=>typeof window<"u"&&typeof document<"u",Ts={tested:!1,writable:!1},oR=()=>{if(!Et())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(Ts.tested)return Ts.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),Ts.tested=!0,Ts.writable=!0}catch{Ts.tested=!0,Ts.writable=!1}return Ts.writable};function Zte(e){const t={},n=new URL(e);if(n.hash&&n.hash[0]==="#")try{new URLSearchParams(n.hash.substring(1)).forEach((i,s)=>{t[s]=i})}catch{}return n.searchParams.forEach((r,i)=>{t[i]=r}),t}const aR=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),ene=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",Do=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},Un=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return null}},Qe=async(e,t)=>{await e.removeItem(t)};class cf{constructor(){this.promise=new cf.promiseConstructor((t,n)=>{this.resolve=t,this.reject=n})}}cf.promiseConstructor=Promise;function ld(e){const t=e.split(".");if(t.length!==3)throw new Kp("Invalid JWT structure");for(let r=0;r<t.length;r++)if(!Bte.test(t[r]))throw new Kp("JWT not in base64url format");return{header:JSON.parse(wj(t[0])),payload:JSON.parse(wj(t[1])),signature:ma(t[2]),raw:{header:t[0],payload:t[1]}}}async function tne(e){return await new Promise(t=>{setTimeout(()=>t(null),e)})}function nne(e,t){return new Promise((r,i)=>{(async()=>{for(let s=0;s<1/0;s++)try{const o=await e(s);if(!t(s,null,o)){r(o);return}}catch(o){if(!t(s,o)){i(o);return}}})()})}function rne(e){return("0"+e.toString(16)).substr(-2)}function ine(){const t=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=n.length;let i="";for(let s=0;s<56;s++)i+=n.charAt(Math.floor(Math.random()*r));return i}return crypto.getRandomValues(t),Array.from(t,rne).join("")}async function sne(e){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),i=new Uint8Array(r);return Array.from(i).map(s=>String.fromCharCode(s)).join("")}async function one(e){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const n=await sne(e);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Ps(e,t,n=!1){const r=ine();let i=r;n&&(i+="/recovery"),await Do(e,`${t}-code-verifier`,i);const s=await one(r);return[s,r===s?"plain":"s256"]}const ane=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function lne(e){const t=e.headers.get(Cy);if(!t||!t.match(ane))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch{return null}}function cne(e){if(!e)throw new Error("Missing exp claim");const t=Math.floor(Date.now()/1e3);if(e<=t)throw new Error("JWT has expired")}function une(e){switch(e){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}const dne=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function Kr(e){if(!dne.test(e))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function Wn(e){if(!e.passkey)throw new Error("@supabase/auth-js: the passkey API is experimental and disabled by default. Enable it by passing `auth: { experimental: { passkey: true } }` to createClient (or to the GoTrueClient constructor).")}function Wm(){const e={};return new Proxy(e,{get:(t,n)=>{if(n==="__isUserNotAvailableProxy")return!0;if(typeof n=="symbol"){const r=n.toString();if(r==="Symbol(Symbol.toPrimitive)"||r==="Symbol(Symbol.toStringTag)"||r==="Symbol(util.inspect.custom)")return}throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${n}" property of the session object is not supported. Please use getUser() instead.`)},set:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function pne(e,t){return new Proxy(e,{get:(n,r,i)=>{if(r==="__isInsecureUserWarningProxy")return!0;
3192if(typeof r=="symbol"){const s=r.toString();if(s==="Symbol(Symbol.toPrimitive)"||s==="Symbol(Symbol.toStringTag)"||s==="Symbol(util.inspect.custom)"||s==="Symbol(nodejs.util.inspect.custom)")return Reflect.get(n,r,i)}return!t.value&&typeof r=="string"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),t.value=!0),Reflect.get(n,r,i)}})}function kj(e){return JSON.parse(JSON.stringify(e))}const Is=e=>{if(typeof e=="object"&&e!==null){const t=e;if(typeof t.msg=="string")return t.msg;if(typeof t.message=="string")return t.message;if(typeof t.error_description=="string")return t.error_description;if(typeof t.error=="string")return t.error}return JSON.stringify(e)},hne=[500,501,502,503,504,520,521,522,523,524,525,526,527,528,529,530];async function Cj(e){var t;if(!ene(e))throw new jy(Is(e),0);if(hne.includes(e.status))throw new jy(Is(e),e.status);let n;try{n=await e.json()}catch(s){throw new Zn(Is(s),s)}let r;const i=lne(e);if(i&&i.getTime()>=iR["2024-01-01"].timestamp&&typeof n=="object"&&n&&typeof n.code=="string"?r=n.code:typeof n=="object"&&n&&typeof n.error_code=="string"&&(r=n.error_code),r){if(r==="weak_password")throw new yj(Is(n),e.status,((t=n.weak_password)===null||t===void 0?void 0:t.reasons)||[]);if(r==="session_not_found")throw new ft}else if(typeof n=="object"&&n&&typeof n.weak_password=="object"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce((s,o)=>s&&typeof o=="string",!0))throw new yj(Is(n),e.status,n.weak_password.reasons);throw new Fte(Is(n),e.status||500,r)}const fne=(e,t,n,r)=>{const i={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?i:(i.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},t==null?void 0:t.headers),i.body=JSON.stringify(r),Object.assign(Object.assign({},i),n))};async function te(e,t,n,r){var i;const s=Object.assign({},r==null?void 0:r.headers);s[Cy]||(s[Cy]=iR["2024-01-01"].name),r!=null&&r.jwt&&(s.Authorization=`Bearer ${r.jwt}`);const o=(i=r==null?void 0:r.query)!==null&&i!==void 0?i:{};r!=null&&r.redirectTo&&(o.redirect_to=r.redirectTo);const a=Object.keys(o).length?"?"+new URLSearchParams(o).toString():"",c=await mne(e,t,n+a,{headers:s,noResolveJson:r==null?void 0:r.noResolveJson},{},r==null?void 0:r.body);return r!=null&&r.xform?r==null?void 0:r.xform(c):{data:Object.assign({},c),error:null}}async function mne(e,t,n,r,i,s){const o=fne(t,r,i,s);let a;try{a=await e(n,Object.assign({},o))}catch(c){throw console.error(c),new jy(Is(c),0)}if(a.ok||await Cj(a),r!=null&&r.noResolveJson)return a;try{return await a.json()}catch(c){await Cj(c)}}function xn(e){var t;let n=null;yne(e)&&(n=Object.assign({},e),e.expires_at||(n.expires_at=Qte(e.expires_in)));const r=(t=e.user)!==null&&t!==void 0?t:typeof(e==null?void 0:e.id)=="string"?e:null;return{data:{session:n,user:r},error:null}}function jj(e){const t=xn(e);return!t.error&&e.weak_password&&typeof e.weak_password=="object"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message=="string"&&e.weak_password.reasons.reduce((n,r)=>n&&typeof r=="string",!0)&&(t.data.weak_password=e.weak_password),t}function Bi(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function gne(e){return{data:e,error:null}}function vne(e){const{action_link:t,email_otp:n,hashed_token:r,redirect_to:i,verification_type:s}=e,o=lf(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),a={action_link:t,email_otp:n,hashed_token:r,redirect_to:i,verification_type:s},c=Object.assign({},o);return{data:{properties:a,user:c},error:null}}function Sj(e){return e}function yne(e){return!!e.access_token&&!!e.refresh_token&&!!e.expires_in}const Hm=["global","local","others"];class bne{constructor({url:t="",headers:n={},fetch:r,experimental:i}){this.url=t,this.headers=n,this.fetch=aR(r),this.experimental=i??{},this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)},this.oauth={listClients:this._listOAuthClients.bind(this),createClient:this._createOAuthClient.bind(this),getClient:this._getOAuthClient.bind(this),updateClient:this._updateOAuthClient.bind(this),deleteClient:this._deleteOAuthClient.bind(this),regenerateClientSecret:this._regenerateOAuthClientSecret.bind(this)},this.customProviders={listProviders:this._listCustomProviders.bind(this),createProvider:this._createCustomProvider.bind(this),getProvider:this._getCustomProvider.bind(this),updateProvider:this._updateCustomProvider.bind(this),deleteProvider:this._deleteCustomProvider.bind(this)},this.passkey={listPasskeys:this._adminListPasskeys.bind(this),deletePasskey:this._adminDeletePasskey.bind(this)}}async signOut(t,n=Hm[0]){if(Hm.indexOf(n)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${Hm.join(", ")}`);try{return await te(this.fetch,"POST",`${this.url}/logout?scope=${n}`,{headers:this.headers,jwt:t,noResolveJson:!0}),{data:null,error:null}}catch(r){if(J(r))return{data:null,error:r};throw r}}async inviteUserByEmail(t,n={}){try{return await te(this.fetch,"POST",`${this.url}/invite`,{body:{email:t,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:Bi})}catch(r){if(J(r))return{data:{user:null},error:r};throw r}}async generateLink(t){try{const{options:n}=t,r=lf(t,["options"]),i=Object.assign(Object.assign({},r),n);return"newEmail"in r&&(i.new_email=r==null?void 0:r.newEmail,delete i.newEmail),await te(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:i,headers:this.headers,xform:vne,redirectTo:n==null?void 0:n.redirectTo})}catch(n){if(J(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(t){try{return await te(this.fetch,"POST",`${this.url}/admin/users`,{body:t,headers:this.headers,xform:Bi})}catch(n){if(J(n))return{data:{user:null},error:n};throw n}}async listUsers(t){var n,r,i,s,o,a,c;try{const u={nextPage:null,lastPage:0,total:0},p=await te(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(s=(i=t==null?void 0:t.perPage)===null||i===void 0?void 0:i.toString())!==null&&s!==void 0?s:""},xform:Sj});if(p.error)throw p.error;const d=await p.json(),h=(o=p.headers.get("x-total-count"))!==null&&o!==void 0?o:0,f=(c=(a=p.headers.get("link"))===null||a===void 0?void 0:a.split(","))!==null&&c!==void 0?c:[];return f.length>0&&(f.forEach(m=>{const g=parseInt(m.split(";")[0].split("=")[1].substring(0,1)),x=JSON.parse(m.split(";")[1].split("=")[1]);u[`${x}Page`]=g}),u.total=parseInt(h)),{data:Object.assign(Object.assign({},d),u),error:null}}catch(u){if(J(u))return{data:{users:[]},error:u};throw u}}async getUserById(t){Kr(t);try{return await te(this.fetch,"GET",`${this.url}/admin/users/${t}`,{headers:this.headers,xform:Bi})}catch(n){if(J(n))return{data:{user:null},error:n};throw n}}async updateUserById(t,n){Kr(t);try{return await te(this.fetch,"PUT",`${this.url}/admin/users/${t}`,{body:n,headers:this.headers,xform:Bi})}catch(r){if(J(r))return{data:{user:null},error:r};throw r}}async deleteUser(t,n=!1){Kr(t);
3192try{return await te(this.fetch,"DELETE",`${this.url}/admin/users/${t}`,{headers:this.headers,body:{should_soft_delete:n},xform:Bi})}catch(r){if(J(r))return{data:{user:null},error:r};throw r}}async _listFactors(t){Kr(t.userId);try{const{data:n,error:r}=await te(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/factors`,{headers:this.headers,xform:i=>({data:{factors:i},error:null})});return{data:n,error:r}}catch(n){if(J(n))return{data:null,error:n};throw n}}async _deleteFactor(t){Kr(t.userId),Kr(t.id);try{return{data:await te(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/factors/${t.id}`,{headers:this.headers}),error:null}}catch(n){if(J(n))return{data:null,error:n};throw n}}async _listOAuthClients(t){var n,r,i,s,o,a,c;try{const u={nextPage:null,lastPage:0,total:0},p=await te(this.fetch,"GET",`${this.url}/admin/oauth/clients`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(s=(i=t==null?void 0:t.perPage)===null||i===void 0?void 0:i.toString())!==null&&s!==void 0?s:""},xform:Sj});if(p.error)throw p.error;const d=await p.json(),h=(o=p.headers.get("x-total-count"))!==null&&o!==void 0?o:0,f=(c=(a=p.headers.get("link"))===null||a===void 0?void 0:a.split(","))!==null&&c!==void 0?c:[];return f.length>0&&(f.forEach(m=>{const g=parseInt(m.split(";")[0].split("=")[1].substring(0,1)),x=JSON.parse(m.split(";")[1].split("=")[1]);u[`${x}Page`]=g}),u.total=parseInt(h)),{data:Object.assign(Object.assign({},d),u),error:null}}catch(u){if(J(u))return{data:{clients:[]},error:u};throw u}}async _createOAuthClient(t){try{return await te(this.fetch,"POST",`${this.url}/admin/oauth/clients`,{body:t,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(J(n))return{data:null,error:n};throw n}}async _getOAuthClient(t){try{return await te(this.fetch,"GET",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(J(n))return{data:null,error:n};throw n}}async _updateOAuthClient(t,n){try{return await te(this.fetch,"PUT",`${this.url}/admin/oauth/clients/${t}`,{body:n,headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(J(r))return{data:null,error:r};throw r}}async _deleteOAuthClient(t){try{return await te(this.fetch,"DELETE",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(J(n))return{data:null,error:n};throw n}}async _regenerateOAuthClientSecret(t){try{return await te(this.fetch,"POST",`${this.url}/admin/oauth/clients/${t}/regenerate_secret`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(J(n))return{data:null,error:n};throw n}}async _listCustomProviders(t){try{const n={};return t!=null&&t.type&&(n.type=t.type),await te(this.fetch,"GET",`${this.url}/admin/custom-providers`,{headers:this.headers,query:n,xform:r=>{var i;return{data:{providers:(i=r==null?void 0:r.providers)!==null&&i!==void 0?i:[]},error:null}}})}catch(n){if(J(n))return{data:{providers:[]},error:n};throw n}}async _createCustomProvider(t){try{return await te(this.fetch,"POST",`${this.url}/admin/custom-providers`,{body:t,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(J(n))return{data:null,error:n};throw n}}async _getCustomProvider(t){try{return await te(this.fetch,"GET",`${this.url}/admin/custom-providers/${t}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(J(n))return{data:null,error:n};throw n}}async _updateCustomProvider(t,n){try{return await te(this.fetch,"PUT",`${this.url}/admin/custom-providers/${t}`,{body:n,headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(J(r))return{data:null,error:r};throw r}}async _deleteCustomProvider(t){try{return await te(this.fetch,"DELETE",`${this.url}/admin/custom-providers/${t}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(J(n))return{data:null,error:n};throw n}}async _adminListPasskeys(t){Wn(this.experimental),Kr(t.userId);try{return await te(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/passkeys`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(J(n))return{data:null,error:n};throw n}}async _adminDeletePasskey(t){Wn(this.experimental),Kr(t.userId),Kr(t.passkeyId);
3192try{return await te(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/passkeys/${t.passkeyId}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(J(n))return{data:null,error:n};throw n}}}function _j(e={}){return{getItem:t=>e[t]||null,setItem:(t,n)=>{e[t]=n},removeItem:t=>{delete e[t]}}}globalThis&&oR()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug");class xne extends Error{constructor(t){super(t),this.isAcquireTimeout=!0}}function wne(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}function lR(e){if(!/^0x[a-fA-F0-9]{40}$/.test(e))throw new Error(`@supabase/auth-js: Address "${e}" is invalid.`);return e.toLowerCase()}function kne(e){return parseInt(e,16)}function Cne(e){const t=new TextEncoder().encode(e);return"0x"+Array.from(t,r=>r.toString(16).padStart(2,"0")).join("")}function jne(e){var t;const{chainId:n,domain:r,expirationTime:i,issuedAt:s=new Date,nonce:o,notBefore:a,requestId:c,resources:u,scheme:p,uri:d,version:h}=e;{if(!Number.isInteger(n))throw new Error(`@supabase/auth-js: Invalid SIWE message field "chainId". Chain ID must be a EIP-155 chain ID. Provided value: ${n}`);if(!r)throw new Error('@supabase/auth-js: Invalid SIWE message field "domain". Domain must be provided.');if(o&&o.length<8)throw new Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${o}`);if(!d)throw new Error('@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.');if(h!=="1")throw new Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${h}`);if(!((t=e.statement)===null||t===void 0)&&t.includes(`
3193`))throw new Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${e.statement}`)}const f=lR(e.address),m=p?`${p}://${r}
3193`:r,g=e.statement?`${e.statement}
3194`:"",x=`${m} wants you to sign in with your Ethereum account:
3195${f}
3196
3197${g}`;let v=`URI: ${d}
3198Version: ${h}
3199Chain ID: ${n}${o?`
3200Nonce: ${o}`:""}
3201Issued At: ${s.toISOString()}`;if(i&&(v+=`
3202Expiration Time: ${i.toISOString()}`),a&&(v+=`
3203Not Before: ${a.toISOString()}`),c&&(v+=`
3204Request ID: ${c}`),u){let b=`
3205Resources:`;for(const w of u){if(!w||typeof w!="string")throw new Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${w}`);b+=`
3206- ${w}`}v+=b}return`${x}
3207${v}`}class ot extends Error{constructor({message:t,code:n,cause:r,name:i}){var s;super(t,{cause:r}),this.__isWebAuthnError=!0,this.name=(s=i??(r instanceof Error?r.name:void 0))!==null&&s!==void 0?s:"Unknown Error",this.code=n}toJSON(){return{name:this.name,message:this.message,code:this.code}}}class Yp extends ot{constructor(t,n){super({code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:n,message:t}),this.name="WebAuthnUnknownError",this.originalError=n}}function Sne({error:e,options:t}){var n,r,i;const{publicKey:s}=t;if(!s)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new ot({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if(e.name==="ConstraintError"){if(((n=s.authenticatorSelection)===null||n===void 0?void 0:n.requireResidentKey)===!0)return new ot({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if(t.mediation==="conditional"&&((r=s.authenticatorSelection)===null||r===void 0?void 0:r.userVerification)==="required")return new ot({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});if(((i=s.authenticatorSelection)===null||i===void 0?void 0:i.userVerification)==="required")return new ot({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if(e.name==="InvalidStateError")return new ot({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if(e.name==="NotAllowedError")return new ot({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="NotSupportedError")return s.pubKeyCredParams.filter(a=>a.type==="public-key").length===0?new ot({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new ot({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if(e.name==="SecurityError"){const o=window.location.hostname;if(cR(o)){if(s.rp.id!==o)return new ot({message:`The RP ID "${s.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new ot({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="TypeError"){if(s.user.id.byteLength<1||s.user.id.byteLength>64)return new ot({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if(e.name==="UnknownError")return new ot({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new ot({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}function _ne({error:e,options:t}){const{publicKey:n}=t;if(!n)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new ot({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else{if(e.name==="NotAllowedError")return new ot({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="SecurityError"){const r=window.location.hostname;if(cR(r)){if(n.rpId!==r)return new ot({message:`The RP ID "${n.rpId}
3207" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new ot({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="UnknownError")return new ot({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new ot({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}class Ene{createNewAbortSignal(){if(this.controller){const n=new Error("Cancelling existing WebAuthn API call for new one");n.name="AbortError",this.controller.abort(n)}const t=new AbortController;return this.controller=t,t.signal}cancelCeremony(){if(this.controller){const t=new Error("Manually cancelling existing WebAuthn API call");t.name="AbortError",this.controller.abort(t),this.controller=void 0}}}const Sy=new Ene;function Ej(e){if(!e)throw new Error("Credential creation options are required");if(typeof PublicKeyCredential<"u"&&"parseCreationOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseCreationOptionsFromJSON=="function")return PublicKeyCredential.parseCreationOptionsFromJSON(e);const{challenge:t,user:n,excludeCredentials:r}=e,i=lf(e,["challenge","user","excludeCredentials"]),s=ma(t).buffer,o=Object.assign(Object.assign({},n),{id:ma(n.id).buffer}),a=Object.assign(Object.assign({},i),{challenge:s,user:o});if(r&&r.length>0){a.excludeCredentials=new Array(r.length);for(let c=0;c<r.length;c++){const u=r[c];a.excludeCredentials[c]=Object.assign(Object.assign({},u),{id:ma(u.id).buffer,type:u.type||"public-key",transports:u.transports})}}return a}function Tj(e){if(!e)throw new Error("Credential request options are required");if(typeof PublicKeyCredential<"u"&&"parseRequestOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseRequestOptionsFromJSON=="function")return PublicKeyCredential.parseRequestOptionsFromJSON(e);const{challenge:t,allowCredentials:n}=e,r=lf(e,["challenge","allowCredentials"]),i=ma(t).buffer,s=Object.assign(Object.assign({},r),{challenge:i});if(n&&n.length>0){s.allowCredentials=new Array(n.length);for(let o=0;o<n.length;o++){const a=n[o];s.allowCredentials[o]=Object.assign(Object.assign({},a),{id:ma(a.id).buffer,type:a.type||"public-key",transports:a.transports})}}return s}function Pj(e){var t;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e;return{id:e.id,rawId:e.id,response:{attestationObject:zs(new Uint8Array(e.response.attestationObject)),clientDataJSON:zs(new Uint8Array(e.response.clientDataJSON))},type:"public-key",clientExtensionResults:e.getClientExtensionResults(),authenticatorAttachment:(t=n.authenticatorAttachment)!==null&&t!==void 0?t:void 0}}function Aj(e){var t;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e,r=e.getClientExtensionResults(),i=e.response;return{id:e.id,rawId:e.id,response:{authenticatorData:zs(new Uint8Array(i.authenticatorData)),clientDataJSON:zs(new Uint8Array(i.clientDataJSON)),signature:zs(new Uint8Array(i.signature)),userHandle:i.userHandle?zs(new Uint8Array(i.userHandle)):void 0},type:"public-key",clientExtensionResults:r,authenticatorAttachment:(t=n.authenticatorAttachment)!==null&&t!==void 0?t:void 0}}function cR(e){return e==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e)}function Qp(){var e,t;return!!(Et()&&"PublicKeyCredential"in window&&window.PublicKeyCredential&&"credentials"in navigator&&typeof((e=navigator==null?void 0:navigator.credentials)===null||e===void 0?void 0:e.create)=="function"&&typeof((t=navigator==null?void 0:navigator.credentials)===null||t===void 0?void 0:t.get)=="function")}async function uR(e){try{const t=await navigator.credentials.create(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new Yp("Browser returned unexpected credential type",t)}:{data:null,error:new Yp("Empty credential response",t)}}catch(t){return{data:null,error:Sne({error:t,options:e})}}}async function dR(e){try{const t=await navigator.credentials.get(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new Yp("Browser returned unexpected credential type",t)}:{data:null,error:new Yp("Empty credential response",t)}}
3207catch(t){return{data:null,error:_ne({error:t,options:e})}}}const Tne={hints:["security-key"],authenticatorSelection:{authenticatorAttachment:"cross-platform",requireResidentKey:!1,userVerification:"preferred",residentKey:"discouraged"},attestation:"direct"},Pne={userVerification:"preferred",hints:["security-key"],attestation:"direct"};function Xp(...e){const t=i=>i!==null&&typeof i=="object"&&!Array.isArray(i),n=i=>i instanceof ArrayBuffer||ArrayBuffer.isView(i),r={};for(const i of e)if(i)for(const s in i){const o=i[s];if(o!==void 0)if(Array.isArray(o))r[s]=o;else if(n(o))r[s]=o;else if(t(o)){const a=r[s];t(a)?r[s]=Xp(a,o):r[s]=Xp(o)}else r[s]=o}return r}function Ane(e,t){return Xp(Tne,e,t||{})}function Nne(e,t){return Xp(Pne,e,t||{})}class Rne{constructor(t){this.client=t,this.enroll=this._enroll.bind(this),this.challenge=this._challenge.bind(this),this.verify=this._verify.bind(this),this.authenticate=this._authenticate.bind(this),this.register=this._register.bind(this)}async _enroll(t){return this.client.mfa.enroll(Object.assign(Object.assign({},t),{factorType:"webauthn"}))}async _challenge({factorId:t,webauthn:n,friendlyName:r,signal:i},s){var o;try{const{data:a,error:c}=await this.client.mfa.challenge({factorId:t,webauthn:n});if(!a)return{data:null,error:c};const u=i??Sy.createNewAbortSignal();if(a.webauthn.type==="create"){const{user:p}=a.webauthn.credential_options.publicKey;if(!p.name){const d=r;if(d)p.name=`${p.id}:${d}`;else{const f=(await this.client.getUser()).data.user,m=((o=f==null?void 0:f.user_metadata)===null||o===void 0?void 0:o.name)||(f==null?void 0:f.email)||(f==null?void 0:f.id)||"User";p.name=`${p.id}:${m}`}}p.displayName||(p.displayName=p.name)}switch(a.webauthn.type){case"create":{const p=Ane(a.webauthn.credential_options.publicKey,s==null?void 0:s.create),{data:d,error:h}=await uR({publicKey:p,signal:u});return d?{data:{factorId:t,challengeId:a.id,webauthn:{type:a.webauthn.type,credential_response:d}},error:null}:{data:null,error:h}}case"request":{const p=Nne(a.webauthn.credential_options.publicKey,s==null?void 0:s.request),{data:d,error:h}=await dR(Object.assign(Object.assign({},a.webauthn.credential_options),{publicKey:p,signal:u}));return d?{data:{factorId:t,challengeId:a.id,webauthn:{type:a.webauthn.type,credential_response:d}},error:null}:{data:null,error:h}}}}catch(a){return J(a)?{data:null,error:a}:{data:null,error:new Zn("Unexpected error in challenge",a)}}}async _verify({challengeId:t,factorId:n,webauthn:r}){return this.client.mfa.verify({factorId:n,challengeId:t,webauthn:r})}async _authenticate({factorId:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:r=typeof window<"u"?[window.location.origin]:void 0,signal:i}={}},s){if(!n)return{data:null,error:new Oc("rpId is required for WebAuthn authentication")};try{if(!Qp())return{data:null,error:new Zn("Browser does not support WebAuthn",null)};const{data:o,error:a}=await this.challenge({factorId:t,webauthn:{rpId:n,rpOrigins:r},signal:i},{request:s});if(!o)return{data:null,error:a};const{webauthn:c}=o;return this._verify({factorId:t,challengeId:o.challengeId,webauthn:{type:c.type,rpId:n,rpOrigins:r,credential_response:c.credential_response}})}catch(o){return J(o)?{data:null,error:o}:{data:null,error:new Zn("Unexpected error in authenticate",o)}}}async _register({friendlyName:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:r=typeof window<"u"?[window.location.origin]:void 0,signal:i}={}},s){if(!n)return{data:null,error:new Oc("rpId is required for WebAuthn registration")};try{if(!Qp())return{data:null,error:new Zn("Browser does not support WebAuthn",null)};const{data:o,error:a}=await this._enroll({friendlyName:t});if(!o)return await this.client.mfa.listFactors().then(p=>{var d;return(d=p.data)===null||d===void 0?void 0:d.all.find(h=>h.factor_type==="webauthn"&&h.friendly_name===t&&h.status!=="unverified")}).then(p=>p?this.client.mfa.unenroll({factorId:p==null?void 0:p.id}):void 0),{data:null,error:a};const{data:c,error:u}=await this._challenge({factorId:o.id,friendlyName:o.friendly_name,webauthn:{rpId:n,rpOrigins:r},signal:i},{create:s});return c?this._verify({factorId:o.id,challengeId:c.challengeId,webauthn:{rpId:n,rpOrigins:r,type:c.webauthn.type,credential_response:c.webauthn.credential_response}}):{data:null,error:u}}catch(o){return J(o)?{data:null,error:o}:{data:null,error:new Zn("Unexpected error in register",o)}}}}wne();const qne={url:Ote,storageKey:Dte,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:Mte,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1,throwOnError:!1,lockAcquireTimeout:5e3,skipAutoInitialize:!1,experimental:{}},Ro={};class Dc{get jwks(){var t,n;return(n=(t=Ro[this.storageKey])===null||t===void 0?void 0:t.jwks)!==null&&n!==void 0?n:{keys:[]}}set jwks(t){Ro[this.storageKey]=Object.assign(Object.assign({},Ro[this.storageKey]),{jwks:t})}get jwks_cached_at(){var t,n;return(n=(t=Ro[this.storageKey])===null||t===void 0?void 0:t.cachedAt)!==null&&n!==void 0?n:Number.MIN_SAFE_INTEGER}set jwks_cached_at(t){Ro[this.storageKey]=Object.assign(Object.assign({},Ro[this.storageKey]),{cachedAt:t})}constructor(t){var n,r,i;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.autoRefreshTickTimeout=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.lastRefreshFailure=null,this._sessionRemovalEpoch=0,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lock=null,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log;const s=Object.assign(Object.assign({},qne),t);if(this.storageKey=s.storageKey,this.instanceID=(n=Dc.nextInstanceID[this.storageKey])!==null&&n!==void 0?n:0,Dc.nextInstanceID[this.storageKey]=this.instanceID+1,this.logDebugMessages=!!s.debug,typeof s.debug=="function"&&(this.logger=s.debug),this.instanceID>0&&Et()){const o=`${this._logPrefix()} Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.`;console.warn(o),this.logDebugMessages&&console.trace(o)}if(this.persistSession=s.persistSession,this.autoRefreshToken=s.autoRefreshToken,this.experimental=(r=s.experimental)!==null&&r!==void 0?r:{},this.admin=new bne({url:s.url,headers:s.headers,fetch:s.fetch,experimental:this.experimental}),this.url=s.url,this.headers=s.headers,this.fetch=aR(s.fetch),this.detectSessionInUrl=s.detectSessionInUrl,this.flowType=s.flowType,this.hasCustomAuthorizationHeader=s.hasCustomAuthorizationHeader,this.throwOnError=s.throwOnError,this.lockAcquireTimeout=s.lockAcquireTimeout,s.lock!=null&&(this.lock=s.lock),this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this),webauthn:new Rne(this)}
3207,this.oauth={getAuthorizationDetails:this._getAuthorizationDetails.bind(this),approveAuthorization:this._approveAuthorization.bind(this),denyAuthorization:this._denyAuthorization.bind(this),listGrants:this._listOAuthGrants.bind(this),revokeGrant:this._revokeOAuthGrant.bind(this)},this.passkey={startRegistration:this._startPasskeyRegistration.bind(this),verifyRegistration:this._verifyPasskeyRegistration.bind(this),startAuthentication:this._startPasskeyAuthentication.bind(this),verifyAuthentication:this._verifyPasskeyAuthentication.bind(this),list:this._listPasskeys.bind(this),update:this._updatePasskey.bind(this),delete:this._deletePasskey.bind(this)},this.persistSession?(s.storage?this.storage=s.storage:oR()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=_j(this.memoryStorage)),s.userStorage&&(this.userStorage=s.userStorage)):(this.memoryStorage={},this.storage=_j(this.memoryStorage)),Et()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(o){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",o)}(i=this.broadcastChannel)===null||i===void 0||i.addEventListener("message",async o=>{this._debug("received broadcast notification from other tab or client",o),(o.data.event==="TOKEN_REFRESHED"||o.data.event==="SIGNED_IN")&&(this.lastRefreshFailure=null);try{await this._notifyAllSubscribers(o.data.event,o.data.session,!1)}catch(a){this._debug("#broadcastChannel","error",a)}})}s.skipAutoInitialize||this.initialize().catch(o=>{this._debug("#initialize()","error",o)})}isThrowOnErrorEnabled(){return this.throwOnError}_returnResult(t){if(this.throwOnError&&t&&t.error)throw t.error;return t}_logPrefix(){return`GoTrueClient@${this.storageKey}:${this.instanceID} (${rR}) ${new Date().toISOString()}`}_debug(...t){return this.logDebugMessages&&this.logger(this._logPrefix(),...t),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._initialize()):await this._initialize())(),await this.initializePromise)}async _initialize(){var t;try{let n={},r="none";if(Et()&&(n=Zte(window.location.href),this._isImplicitGrantCallback(n)?r="implicit":await this._isPKCECallback(n)&&(r="pkce")),Et()&&this.detectSessionInUrl&&r!=="none"){const{data:i,error:s}=await this._getSessionFromURL(n,r);if(s){if(this._debug("#_initialize()","error detecting session from URL",s),Ute(s)){const c=(t=s.details)===null||t===void 0?void 0:t.code;if(c==="identity_already_exists"||c==="identity_not_found"||c==="single_identity_not_deletable")return{error:s}}return{error:s}}const{session:o,redirectType:a}=i;return this._debug("#_initialize()","detected session in URL",o,"redirect type",a),await this._saveSession(o),setTimeout(async()=>{a==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",o):await this._notifyAllSubscribers("SIGNED_IN",o)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(n){return J(n)?this._returnResult({error:n}):this._returnResult({error:new Zn("Unexpected error during initialization",n)})}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(t){var n,r,i;try{const s=await te(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(r=(n=t==null?void 0:t.options)===null||n===void 0?void 0:n.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:(i=t==null?void 0:t.options)===null||i===void 0?void 0:i.captchaToken}},xform:xn}),{data:o,error:a}=s;
3207if(a||!o)return this._returnResult({data:{user:null,session:null},error:a});const c=o.session,u=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",c)),this._returnResult({data:{user:u,session:c},error:null})}catch(s){if(J(s))return this._returnResult({data:{user:null,session:null},error:s});throw s}}async signUp(t){var n,r,i;try{let s;if("email"in t){const{email:p,password:d,options:h}=t;let f=null,m=null;this.flowType==="pkce"&&([f,m]=await Ps(this.storage,this.storageKey)),s=await te(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:h==null?void 0:h.emailRedirectTo,body:{email:p,password:d,data:(n=h==null?void 0:h.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:h==null?void 0:h.captchaToken},code_challenge:f,code_challenge_method:m},xform:xn})}else if("phone"in t){const{phone:p,password:d,options:h}=t;s=await te(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:p,password:d,data:(r=h==null?void 0:h.data)!==null&&r!==void 0?r:{},channel:(i=h==null?void 0:h.channel)!==null&&i!==void 0?i:"sms",gotrue_meta_security:{captcha_token:h==null?void 0:h.captchaToken}},xform:xn})}else throw new od("You must provide either an email or phone number and a password");const{data:o,error:a}=s;
3207if(a||!o)return await Qe(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:a});const c=o.session,u=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",c)),this._returnResult({data:{user:u,session:c},error:null})}catch(s){if(await Qe(this.storage,`${this.storageKey}-code-verifier`),J(s))return this._returnResult({data:{user:null,session:null},error:s});throw s}}async signInWithPassword(t){try{let n;if("email"in t){const{email:s,password:o,options:a}=t;n=await te(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:s,password:o,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:jj})}else if("phone"in t){const{phone:s,password:o,options:a}=t;n=await te(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:s,password:o,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:jj})}else throw new od("You must provide either an email or phone number and a password");const{data:r,error:i}=n;if(i)return this._returnResult({data:{user:null,session:null},error:i});if(!r||!r.session||!r.user){const s=new No;return this._returnResult({data:{user:null,session:null},error:s})}return r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),this._returnResult({data:Object.assign({user:r.user,session:r.session},r.weak_password?{weakPassword:r.weak_password}:null),error:i})}catch(n){if(J(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOAuth(t){var n,r,i,s;return await this._handleProviderSignIn(t.provider,{redirectTo:(n=t.options)===null||n===void 0?void 0:n.redirectTo,scopes:(r=t.options)===null||r===void 0?void 0:r.scopes,queryParams:(i=t.options)===null||i===void 0?void 0:i.queryParams,skipBrowserRedirect:(s=t.options)===null||s===void 0?void 0:s.skipBrowserRedirect})}async exchangeCodeForSession(t){return await this.initializePromise,this.lock!=null?this._acquireLock(this.lockAcquireTimeout,async()=>this._exchangeCodeForSession(t)):this._exchangeCodeForSession(t)}async signInWithWeb3(t){const{chain:n}=t;switch(n){case"ethereum":return await this.signInWithEthereum(t);case"solana":return await this.signInWithSolana(t);default:throw new Error(`@supabase/auth-js: Unsupported chain "${n}"`)}}async signInWithEthereum(t){var n,r,i,s,o,a,c,u,p,d,h;let f,m;if("message"in t)f=t.message,m=t.signature;else{const{chain:g,wallet:x,statement:v,options:b}=t;let w;if(Et())if(typeof x=="object")w=x;else{const R=window;if("ethereum"in R&&typeof R.ethereum=="object"&&"request"in R.ethereum&&typeof R.ethereum.request=="function")w=R.ethereum;else throw new Error("@supabase/auth-js: No compatible Ethereum wallet interface on the window object (window.ethereum) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'ethereum', wallet: resolvedUserWallet }) instead.")}else{if(typeof x!="object"||!(b!=null&&b.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");w=x}const k=new URL((n=b==null?void 0:b.url)!==null&&n!==void 0?n:window.location.href),S=await w.request({method:"eth_requestAccounts"}).then(R=>R).catch(()=>{throw new Error("@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid")});if(!S||S.length===0)throw new Error("@supabase/auth-js: No accounts available. Please ensure the wallet is connected.");const C=lR(S[0]);let T=(r=b==null?void 0:b.signInWithEthereum)===null||r===void 0?void 0:r.chainId;if(!T){const R=await w.request({method:"eth_chainId"});T=kne(R)}const P={domain:k.host,address:C,statement:v,uri:k.href,version:"1",chainId:T,nonce:(i=b==null?void 0:b.signInWithEthereum)===null||i===void 0?void 0:i.nonce,issuedAt:(o=(s=b==null?void 0:b.signInWithEthereum)===null||s===void 0?void 0:s.issuedAt)!==null&&o!==void 0?o:new Date,expirationTime:(a=b==null?void 0:b.signInWithEthereum)===null||a===void 0?void 0:a.expirationTime,notBefore:(c=b==null?void 0:b.signInWithEthereum)===null||c===void 0?void 0:c.notBefore,requestId:(u=b==null?void 0:b.signInWithEthereum)===null||u===void 0?void 0:u.requestId,resources:(p=b==null?void 0:b.signInWithEthereum)===null||p===void 0?void 0:p.resources};f=jne(P),m=await w.request({method:"personal_sign",params:[Cne(f),C]})}try{const{data:g,error:x}=await te(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"ethereum",message:f,signature:m},!((d=t.options)===null||d===void 0)&&d.captchaToken?{gotrue_meta_security:{captcha_token:(h=t.options)===null||h===void 0?void 0:h.captchaToken}}:null),xform:xn});if(x)throw x;if(!g||!g.session||!g.user){const v=new No;return this._returnResult({data:{user:null,session:null},error:v})}return g.session&&(await this._saveSession(g.session),await this._notifyAllSubscribers("SIGNED_IN",g.session)),this._returnResult({data:Object.assign({},g),error:x})}catch(g){if(J(g))return this._returnResult({data:{user:null,session:null},error:g});throw g}}async signInWithSolana(t){var n,r,i,s,o,a,c,u,p,d,h,f;let m,g;if("message"in t)m=t.message,g=t.signature;else{const{chain:x,wallet:v,statement:b,options:w}=t;let k;if(Et())if(typeof v=="object")k=v;else{const C=window;if("solana"in C&&typeof C.solana=="object"&&("signIn"in C.solana&&typeof C.solana.signIn=="function"||"signMessage"in C.solana&&typeof C.solana.signMessage=="function"))k=C.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof v!="object"||!(w!=null&&w.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");k=v}const S=new URL((n=w==null?void 0:w.url)!==null&&n!==void 0?n:window.location.href);
3207if("signIn"in k&&k.signIn){const C=await k.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},w==null?void 0:w.signInWithSolana),{version:"1",domain:S.host,uri:S.href}),b?{statement:b}:null));let T;if(Array.isArray(C)&&C[0]&&typeof C[0]=="object")T=C[0];else if(C&&typeof C=="object"&&"signedMessage"in C&&"signature"in C)T=C;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in T&&"signature"in T&&(typeof T.signedMessage=="string"||T.signedMessage instanceof Uint8Array)&&T.signature instanceof Uint8Array)m=typeof T.signedMessage=="string"?T.signedMessage:new TextDecoder().decode(T.signedMessage),g=T.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in k)||typeof k.signMessage!="function"||!("publicKey"in k)||typeof k!="object"||!k.publicKey||!("toBase58"in k.publicKey)||typeof k.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");m=[`${S.host} wants you to sign in with your Solana account:`,k.publicKey.toBase58(),...b?["",b,""]:[""],"Version: 1",`URI: ${S.href}`,`Issued At: ${(i=(r=w==null?void 0:w.signInWithSolana)===null||r===void 0?void 0:r.issuedAt)!==null&&i!==void 0?i:new Date().toISOString()}`,...!((s=w==null?void 0:w.signInWithSolana)===null||s===void 0)&&s.notBefore?[`Not Before: ${w.signInWithSolana.notBefore}`]:[],...!((o=w==null?void 0:w.signInWithSolana)===null||o===void 0)&&o.expirationTime?[`Expiration Time: ${w.signInWithSolana.expirationTime}`]:[],...!((a=w==null?void 0:w.signInWithSolana)===null||a===void 0)&&a.chainId?[`Chain ID: ${w.signInWithSolana.chainId}`]:[],...!((c=w==null?void 0:w.signInWithSolana)===null||c===void 0)&&c.nonce?[`Nonce: ${w.signInWithSolana.nonce}`]:[],...!((u=w==null?void 0:w.signInWithSolana)===null||u===void 0)&&u.requestId?[`Request ID: ${w.signInWithSolana.requestId}`]:[],...!((d=(p=w==null?void 0:w.signInWithSolana)===null||p===void 0?void 0:p.resources)===null||d===void 0)&&d.length?["Resources",...w.signInWithSolana.resources.map(T=>`- ${T}`)]:[]].join(`
3208`);const C=await k.signMessage(new TextEncoder().encode(m),"utf8");if(!C||!(C instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");g=C}}try{const{data:x,error:v}=await te(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:m,signature:zs(g)},!((h=t.options)===null||h===void 0)&&h.captchaToken?{gotrue_meta_security:{captcha_token:(f=t.options)===null||f===void 0?void 0:f.captchaToken}}:null),xform:xn});if(v)throw v;if(!x||!x.session||!x.user){const b=new No;return this._returnResult({data:{user:null,session:null},error:b})}return x.session&&(await this._saveSession(x.session),await this._notifyAllSubscribers("SIGNED_IN",x.session)),this._returnResult({data:Object.assign({},x),error:v})}catch(x){if(J(x))return this._returnResult({data:{user:null,session:null},error:x});throw x}}async _exchangeCodeForSession(t){const n=await Un(this.storage,`${this.storageKey}-code-verifier`),[r,i]=(n??"").split("/");try{if(!r&&this.flowType==="pkce")throw new Vte;const{data:s,error:o}=await te(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:r},xform:xn});if(await Qe(this.storage,`${this.storageKey}-code-verifier`),o)throw o;if(!s||!s.session||!s.user){const a=new No;return this._returnResult({data:{user:null,session:null,redirectType:null},error:a})}return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers(i==="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",s.session)),this._returnResult({data:Object.assign(Object.assign({},s),{redirectType:i??null}),error:o})}catch(s){if(await Qe(this.storage,`${this.storageKey}-code-verifier`),J(s))return this._returnResult({data:{user:null,session:null,redirectType:null},error:s});throw s}}async signInWithIdToken(t){try{const{options:n,provider:r,token:i,access_token:s,nonce:o}=t,a=await te(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:i,access_token:s,nonce:o,gotrue_meta_security:{captcha_token:n==null?void 0:n.captchaToken}},xform:xn}),{data:c,error:u}=a;if(u)return this._returnResult({data:{user:null,session:null},error:u});if(!c||!c.session||!c.user){const p=new No;return this._returnResult({data:{user:null,session:null},error:p})}return c.session&&(await this._saveSession(c.session),await this._notifyAllSubscribers("SIGNED_IN",c.session)),this._returnResult({data:c,error:u})}catch(n){if(J(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOtp(t){var n,r,i,s,o;try{if("email"in t){const{email:a,options:c}=t;let u=null,p=null;this.flowType==="pkce"&&([u,p]=await Ps(this.storage,this.storageKey));const{error:d}=await te(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:a,data:(n=c==null?void 0:c.data)!==null&&n!==void 0?n:{},create_user:(r=c==null?void 0:c.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:c==null?void 0:c.captchaToken},code_challenge:u,code_challenge_method:p},redirectTo:c==null?void 0:c.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:d})}if("phone"in t){const{phone:a,options:c}=t,{data:u,error:p}=await te(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:a,data:(i=c==null?void 0:c.data)!==null&&i!==void 0?i:{},create_user:(s=c==null?void 0:c.shouldCreateUser)!==null&&s!==void 0?s:!0,gotrue_meta_security:{captcha_token:c==null?void 0:c.captchaToken},channel:(o=c==null?void 0:c.channel)!==null&&o!==void 0?o:"sms"}});return this._returnResult({data:{user:null,session:null,messageId:u==null?void 0:u.message_id},error:p})}throw new od("You must provide either an email or phone number.")}catch(a){if(await Qe(this.storage,`${this.storageKey}-code-verifier`),J(a))return this._returnResult({data:{user:null,session:null},error:a});throw a}}async verifyOtp(t){var n,r;try{let i,s;"options"in t&&(i=(n=t.options)===null||n===void 0?void 0:n.redirectTo,s=(r=t.options)===null||r===void 0?void 0:r.captchaToken);const{data:o,error:a}=await te(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:s}}),redirectTo:i,xform:xn});if(a)throw a;if(!o)throw new Error("An error occurred on token verification.");const c=o.session,u=o.user;return c!=null&&c.access_token&&(await this._saveSession(c),await this._notifyAllSubscribers(t.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",c)),this._returnResult({data:{user:u,session:c},error:null})}catch(i){if(J(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}}async signInWithSSO(t){var n,r,i,s,o;try{let a=null,c=null;this.flowType==="pkce"&&([a,c]=await Ps(this.storage,this.storageKey));const u=await te(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in t?{provider_id:t.providerId}:null),"domain"in t?{domain:t.domain}:null),{redirect_to:(r=(n=t.options)===null||n===void 0?void 0:n.redirectTo)!==null&&r!==void 0?r:void 0}),!((i=t==null?void 0:t.options)===null||i===void 0)&&i.captchaToken?{gotrue_meta_security:{captcha_token:t.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:a,code_challenge_method:c}),headers:this.headers,xform:gne});return!((s=u.data)===null||s===void 0)&&s.url&&Et()&&!(!((o=t.options)===null||o===void 0)&&o.skipBrowserRedirect)&&window.location.assign(u.data.url),this._returnResult(u)}catch(a){if(await Qe(this.storage,`${this.storageKey}-code-verifier`),J(a))return this._returnResult({data:null,error:a});throw a}}async reauthenticate(){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._reauthenticate()):await this._reauthenticate()}async _reauthenticate(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;if(r)throw r;if(!n)throw new ft;const{error:i}=await te(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:n.access_token});return this._returnResult({data:{user:null,session:null},error:i})})}catch(t){if(J(t))return this._returnResult({data:{user:null,session:null},error:t});throw t}}async resend(t){try{const n=`${this.url}/resend`;if("email"in t){const{email:r,type:i,options:s}=t;let o=null,a=null;this.flowType==="pkce"&&([o,a]=await Ps(this.storage,this.storageKey));const{error:c}=await te(this.fetch,"POST",n,{headers:this.headers,body:{email:r,type:i,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}
3208,code_challenge:o,code_challenge_method:a},redirectTo:s==null?void 0:s.emailRedirectTo});return c&&await Qe(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:c})}else if("phone"in t){const{phone:r,type:i,options:s}=t,{data:o,error:a}=await te(this.fetch,"POST",n,{headers:this.headers,body:{phone:r,type:i,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}}});return this._returnResult({data:{user:null,session:null,messageId:o==null?void 0:o.message_id},error:a})}throw new od("You must provide either an email or phone number and a type")}catch(n){if(await Qe(this.storage,`${this.storageKey}-code-verifier`),J(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async getSession(){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>this._useSession(async t=>t)):await this._useSession(async t=>t)}async _acquireLock(t,n){this._debug("#_acquireLock","begin",t);try{if(this.lockAcquired){const r=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),i=(async()=>(await r,await n()))();return this.pendingInLock.push((async()=>{try{await i}catch{}})()),i}return await this.lock(`lock:${this.storageKey}`,t,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const r=n();for(this.pendingInLock.push((async()=>{try{await r}catch{}})()),await r;this.pendingInLock.length;){const i=[...this.pendingInLock];await Promise.all(i),this.pendingInLock.splice(0,i.length)}return await r}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(t){this._debug("#_useSession","begin");try{const n=await this.__loadSession();return await t(n)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lock!=null&&!this.lockAcquired&&this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let t=null;const n=await Un(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",n),n!==null&&(this._isValidSession(n)?t=n:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession())),!t)return{data:{session:null},error:null};const r=t.expires_at?t.expires_at*1e3-Date.now()<Vm:!1;if(this._debug("#__loadSession()",`session has${r?"":" not"} expired`,"expires_at",t.expires_at),!r){if(this.userStorage){const o=await Un(this.userStorage,this.storageKey+"-user");o!=null&&o.user?t.user=o.user:t.user=Wm()}if(this.storage.isServer&&t.user&&!t.user.__isUserNotAvailableProxy){const o={value:this.suppressGetSessionWarning};t.user=pne(t.user,o),o.value&&(this.suppressGetSessionWarning=!0)}return{data:{session:t},error:null}}const{data:i,error:s}=await this._callRefreshToken(t.refresh_token);if(s){if(!!(t.expires_at&&t.expires_at*1e3>Date.now())){const a=await Un(this.storage,this.storageKey);if(a&&a.refresh_token===t.refresh_token)return this._returnResult({data:{session:t},error:null})}return this._returnResult({data:{session:null},error:s})}return this._returnResult({data:{session:i},error:null})}finally{this._debug("#__loadSession()","end")}}async getUser(t){if(t)return await this._getUser(t);await this.initializePromise;let n;return this.lock!=null?n=await this._acquireLock(this.lockAcquireTimeout,async()=>await this._getUser()):n=await this._getUser(),n.data.user&&(this.suppressGetSessionWarning=!0),n}async _getUser(t){try{return t?await te(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:t,xform:Bi}):await this._useSession(async n=>{var r,i,s;const{data:o,error:a}=n;if(a)throw a;return!(!((r=o.session)===null||r===void 0)&&r.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new ft}:await te(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(s=(i=o.session)===null||i===void 0?void 0:i.access_token)!==null&&s!==void 0?s:void 0,xform:Bi})})}catch(n){if(J(n))return sd(n)&&(await this._removeSession(),await Qe(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({data:{user:null},error:n});throw n}}async updateUser(t,n={}){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._updateUser(t,n)):await this._updateUser(t,n)}async _updateUser(t,n={}){try{return await this._useSession(async r=>{const{data:i,error:s}=r;if(s)throw s;if(!i.session)throw new ft;const o=i.session;let a=null,c=null;this.flowType==="pkce"&&t.email!=null&&([a,c]=await Ps(this.storage,this.storageKey));const{data:u,error:p}=await te(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n==null?void 0:n.emailRedirectTo,body:Object.assign(Object.assign({},t),{code_challenge:a,code_challenge_method:c}),jwt:o.access_token,xform:Bi});if(p)throw p;return o.user=u.user,await this._saveSession(o),await this._notifyAllSubscribers("USER_UPDATED",o),this._returnResult({data:{user:o.user},error:null})})}catch(r){if(await Qe(this.storage,`${this.storageKey}-code-verifier`),J(r))return this._returnResult({data:{user:null},error:r});throw r}}async setSession(t){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._setSession(t)):await this._setSession(t)}async _setSession(t){try{if(!t.access_token||!t.refresh_token)throw new ft;const n=Date.now()/1e3;let r=n,i=!0,s=null;const{payload:o}=ld(t.access_token);if(o.exp&&(r=o.exp,i=r<=n),i){const{data:a,error:c}=await this._callRefreshToken(t.refresh_token);if(c)return this._returnResult({data:{user:null,session:null},error:c});if(!a)return{data:{user:null,session:null},error:null};s=a}else{const{data:a,error:c}=await this._getUser(t.access_token);if(c)return this._returnResult({data:{user:null,session:null},error:c});s={access_token:t.access_token,refresh_token:t.refresh_token,user:a.user,token_type:"bearer",expires_in:r-n,expires_at:r},await this._saveSession(s),await this._notifyAllSubscribers("SIGNED_IN",s)}return this._returnResult({data:{user:s.user,session:s},error:null})}catch(n){if(J(n))return this._returnResult({data:{session:null,user:null},error:n});throw n}}async refreshSession(t){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._refreshSession(t)):await this._refreshSession(t)}async _refreshSession(t){try{return await this._useSession(async n=>{var r;if(!t){const{data:o,error:a}=n;
3208if(a)throw a;t=(r=o.session)!==null&&r!==void 0?r:void 0}if(!(t!=null&&t.refresh_token))throw new ft;const{data:i,error:s}=await this._callRefreshToken(t.refresh_token);return s?this._returnResult({data:{user:null,session:null},error:s}):i?this._returnResult({data:{user:i.user,session:i},error:null}):this._returnResult({data:{user:null,session:null},error:null})})}catch(n){if(J(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async _getSessionFromURL(t,n){var r;try{if(!Et())throw new ad("No browser detected.");if(t.error||t.error_description||t.error_code)throw new ad(t.error_description||"Error in URL with unspecified error_description",{error:t.error||"unspecified_error",code:t.error_code||"unspecified_code"});switch(n){case"implicit":if(this.flowType==="pkce")throw new mj("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new ad("Not a valid implicit grant flow url.");break;default:}if(n==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!t.code)throw new mj("No code detected.");const{data:w,error:k}=await this._exchangeCodeForSession(t.code);if(k)throw k;const S=new URL(window.location.href);return S.searchParams.delete("code"),window.history.replaceState(window.history.state,"",S.toString()),{data:{session:w.session,redirectType:(r=w.redirectType)!==null&&r!==void 0?r:null},error:null}}const{provider_token:i,provider_refresh_token:s,access_token:o,refresh_token:a,expires_in:c,expires_at:u,token_type:p}=t;if(!o||!c||!a||!p)throw new ad("No session defined in URL");const d=Math.round(Date.now()/1e3),h=parseInt(c);let f=d+h;u&&(f=parseInt(u));const m=f-d;m*1e3<=Zr&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${m}s, should have been closer to ${h}s`);const g=f-h;d-g>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",g,f,d):d-g<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",g,f,d);const{data:x,error:v}=await this._getUser(o);if(v)throw v;const b={provider_token:i,provider_refresh_token:s,access_token:o,expires_in:h,expires_at:f,refresh_token:a,token_type:p,user:x.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),this._returnResult({data:{session:b,redirectType:t.type},error:null})}catch(i){if(J(i))return this._returnResult({data:{session:null,redirectType:null},error:i});throw i}}_isImplicitGrantCallback(t){return typeof this.detectSessionInUrl=="function"?this.detectSessionInUrl(new URL(window.location.href),t):!!(t.access_token||t.error||t.error_description||t.error_code)}async _isPKCECallback(t){const n=await Un(this.storage,`${this.storageKey}-code-verifier`);return!!(t.code&&n)}async signOut(t={scope:"global"}){return await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>await this._signOut(t)):await this._signOut(t)}async _signOut({scope:t}={scope:"global"}){return await this._useSession(async n=>{var r;const{data:i,error:s}=n;if(s&&!sd(s))return this._returnResult({error:s});const o=(r=i.session)===null||r===void 0?void 0:r.access_token;if(o){const{error:a}=await this.admin.signOut(o,t);if(a&&!(zte(a)&&(a.status===404||a.status===401||a.status===403)||sd(a)))return this._returnResult({error:a})}return t!=="others"&&(await this._removeSession(),await Qe(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({error:null})})}onAuthStateChange(t){const n=Xte(),r={id:n,callback:t,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,r),(async()=>(await this.initializePromise,this.lock!=null?await this._acquireLock(this.lockAcquireTimeout,async()=>{this._emitInitialSession(n)}):await this._emitInitialSession(n)))(),{data:{subscription:r}}}async _emitInitialSession(t){return await this._useSession(async n=>{var r,i;try{const{data:{session:s},error:o}=n;
3208if(o)throw o;await((r=this.stateChangeEmitters.get(t))===null||r===void 0?void 0:r.callback("INITIAL_SESSION",s)),this._debug("INITIAL_SESSION","callback id",t,"session",s)}catch(s){await((i=this.stateChangeEmitters.get(t))===null||i===void 0?void 0:i.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",t,"error",s),sd(s)?console.warn(s):console.error(s)}})}async resetPasswordForEmail(t,n={}){let r=null,i=null;this.flowType==="pkce"&&([r,i]=await Ps(this.storage,this.storageKey,!0));try{return await te(this.fetch,"POST",`${this.url}/recover`,{body:{email:t,code_challenge:r,code_challenge_method:i,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(s){if(await Qe(this.storage,`${this.storageKey}-code-verifier`),J(s))return this._returnResult({data:null,error:s});throw s}}async getUserIdentities(){var t;try{const{data:n,error:r}=await this.getUser();if(r)throw r;return this._returnResult({data:{identities:(t=n.user.identities)!==null&&t!==void 0?t:[]},error:null})}catch(n){if(J(n))return this._returnResult({data:null,error:n});throw n}}async linkIdentity(t){return"token"in t?this.linkIdentityIdToken(t):this.linkIdentityOAuth(t)}async linkIdentityOAuth(t){var n;try{const{data:r,error:i}=await this._useSession(async s=>{var o,a,c,u,p;const{data:d,error:h}=s;if(h)throw h;const f=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,t.provider,{redirectTo:(o=t.options)===null||o===void 0?void 0:o.redirectTo,scopes:(a=t.options)===null||a===void 0?void 0:a.scopes,queryParams:(c=t.options)===null||c===void 0?void 0:c.queryParams,skipBrowserRedirect:!0});return await te(this.fetch,"GET",f,{headers:this.headers,jwt:(p=(u=d.session)===null||u===void 0?void 0:u.access_token)!==null&&p!==void 0?p:void 0})});if(i)throw i;return Et()&&!(!((n=t.options)===null||n===void 0)&&n.skipBrowserRedirect)&&window.location.assign(r==null?void 0:r.url),this._returnResult({data:{provider:t.provider,url:r==null?void 0:r.url},error:null})}catch(r){if(J(r))return this._returnResult({data:{provider:t.provider,url:null},error:r});throw r}}async linkIdentityIdToken(t){return await this._useSession(async n=>{var r;try{const{error:i,data:{session:s}}=n;if(i)throw i;const{options:o,provider:a,token:c,access_token:u,nonce:p}=t,d=await te(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:(r=s==null?void 0:s.access_token)!==null&&r!==void 0?r:void 0,body:{provider:a,id_token:c,access_token:u,nonce:p,link_identity:!0,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken}},xform:xn}),{data:h,error:f}=d;return f?this._returnResult({data:{user:null,session:null},error:f}):!h||!h.session||!h.user?this._returnResult({data:{user:null,session:null},error:new No}):(h.session&&(await this._saveSession(h.session),await this._notifyAllSubscribers("USER_UPDATED",h.session)),this._returnResult({data:h,error:f}))}catch(i){if(await Qe(this.storage,`${this.storageKey}-code-verifier`),J(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}})}async unlinkIdentity(t){try{return await this._useSession(async n=>{var r,i;const{data:s,error:o}=n;if(o)throw o;return await te(this.fetch,"DELETE",`${this.url}/user/identities/${t.identity_id}`,{headers:this.headers,jwt:(i=(r=s.session)===null||r===void 0?void 0:r.access_token)!==null&&i!==void 0?i:void 0})})}catch(n){if(J(n))return this._returnResult({data:null,error:n});throw n}}async _refreshAccessToken(t){const n="#_refreshAccessToken()";this._debug(n,"begin");try{const r=Date.now();return await nne(async i=>(i>0&&await tne(200*Math.pow(2,i-1)),this._debug(n,"refreshing attempt",i),await te(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:xn})),(i,s)=>{const o=200*Math.pow(2,i);return s&&gj(s)&&Date.now()+o-r<Zr})}catch(r){if(this._debug(n,"error",r),J(r))return this._returnResult({data:{session:null,user:null},error:r});throw r}finally{this._debug(n,"end")}}_isValidSession(t){return typeof t=="object"&&t!==null&&"access_token"in t&&"refresh_token"in t&&"expires_at"in t}async _handleProviderSignIn(t,n){const r=await this._getUrlForProvider(`${this.url}/authorize`,t,{redirectTo:n.redirectTo,scopes:n.scopes,queryParams:n.queryParams});return this._debug("#_handleProviderSignIn()","provider",t,"options",n,"url",r),Et()&&!n.skipBrowserRedirect&&window.location.assign(r),{data:{provider:t,url:r},error:null}}async _recoverAndRefresh(){var t,n;const r="#_recoverAndRefresh()";this._debug(r,"begin");try{const i=await Un(this.storage,this.storageKey);if(i&&this.userStorage){let o=await Un(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!o&&(o={user:i.user},await Do(this.userStorage,this.storageKey+"-user",o)),i.user=(t=o==null?void 0:o.user)!==null&&t!==void 0?t:Wm()}else if(i&&!i.user&&!i.user){const o=await Un(this.storage,this.storageKey+"-user");o&&(o!=null&&o.user)?(i.user=o.user,await Qe(this.storage,this.storageKey+"-user"),await Do(this.storage,this.storageKey,i)):i.user=Wm()}
3208if(this._debug(r,"session from storage",i),!this._isValidSession(i)){this._debug(r,"session is not valid"),i!==null&&await this._removeSession();return}const s=((n=i.expires_at)!==null&&n!==void 0?n:1/0)*1e3-Date.now()<Vm;if(this._debug(r,`session has${s?"":" not"} expired with margin of ${Vm}s`),s){if(this.autoRefreshToken&&i.refresh_token){const{error:o}=await this._callRefreshToken(i.refresh_token);o&&(Wte(o)?this._debug(r,"refresh discarded by commit guard",o):this._debug(r,"refresh failed",o))}}else if(i.user&&i.user.__isUserNotAvailableProxy===!0)try{const{data:o,error:a}=await this._getUser(i.access_token);!a&&(o!=null&&o.user)?(i.user=o.user,await this._saveSession(i),await this._notifyAllSubscribers("SIGNED_IN",i)):this._debug(r,"could not get user data, skipping SIGNED_IN notification")}catch(o){console.error("Error getting user data:",o),this._debug(r,"error getting user data, skipping SIGNED_IN notification",o)}else await this._notifyAllSubscribers("SIGNED_IN",i)}catch(i){this._debug(r,"error",i),console.error(i);return}finally{this._debug(r,"end")}}async _callRefreshToken(t){var n,r;if(!t)throw new ft;if(this.refreshingDeferred)return this.refreshingDeferred.promise;if(this.lastRefreshFailure&&this.lastRefreshFailure.refreshToken===t&&Date.now()<this.lastRefreshFailure.expiresAt)return this._debug("#_callRefreshToken()","returning cached failure (cooldown active)"),this.lastRefreshFailure.result;const i="#_callRefreshToken()";this._debug(i,"begin");try{this.refreshingDeferred=new cf;const s=await Un(this.storage,this.storageKey),{data:o,error:a}=await this._refreshAccessToken(t);if(a)throw a;if(!o.session)throw new ft;const c=await Un(this.storage,this.storageKey);if(s!==null&&(c===null||c.refresh_token!==s.refresh_token)){this._debug(i,"commit guard: storage changed since refresh started, discarding rotated tokens",{startedWith:"present",nowHolds:c?"replaced":"cleared"});const h={data:null,error:new vj};return this.refreshingDeferred.resolve(h),h}const p=this._sessionRemovalEpoch;if(await this._saveSession(o.session),this._sessionRemovalEpoch!==p){this._debug(i,"commit guard (post-save): _removeSession ran during _saveSession, undoing write"),await Qe(this.storage,this.storageKey),this.userStorage&&await Qe(this.userStorage,this.storageKey+"-user");const h={data:null,error:new vj};return this.refreshingDeferred.resolve(h),h}await this._notifyAllSubscribers("TOKEN_REFRESHED",o.session);const d={data:o.session,error:null};return this.lastRefreshFailure=null,this.refreshingDeferred.resolve(d),d}catch(s){if(this._debug(i,"error",s),J(s)){const o={data:null,error:s};if(!gj(s)){const a=await Un(this.storage,this.storageKey);!!(a!=null&&a.expires_at&&a.expires_at*1e3>Date.now())?this._debug(i,"proactive refresh failed, access token still valid — preserving session"):await this._removeSession()}return this.lastRefreshFailure={refreshToken:t,result:o,expiresAt:Date.now()+Lte},(n=this.refreshingDeferred)===null||n===void 0||n.resolve(o),o}throw(r=this.refreshingDeferred)===null||r===void 0||r.reject(s),s}finally{this.refreshingDeferred=null,this._debug(i,"end")}}async _notifyAllSubscribers(t,n,r=!0){const i=`#_notifyAllSubscribers(${t})`;this._debug(i,"begin",n,`broadcast = ${r}`);try{this.broadcastChannel&&r&&this.broadcastChannel.postMessage({event:t,session:n});const s=[],o=Array.from(this.stateChangeEmitters.values()).map(async a=>{try{await a.callback(t,n)}catch(c){s.push(c)}});if(await Promise.all(o),s.length>0){for(let a=0;a<s.length;a+=1)console.error(s[a]);throw s[0]}}finally{this._debug(i,"end")}}async _saveSession(t){this._debug("#_saveSession()",t),this.suppressGetSessionWarning=!0,await Qe(this.storage,`${this.storageKey}-code-verifier`);const n=Object.assign({},t),r=n.user&&n.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!r&&n.user&&await Do(this.userStorage,this.storageKey+"-user",{user:n.user});const i=Object.assign({},n);delete i.user;const s=kj(i);await Do(this.storage,this.storageKey,s)}else{const i=kj(n);await Do(this.storage,this.storageKey,i)}}async _removeSession(){this._sessionRemovalEpoch+=1,this._debug("#_removeSession()"),this.lastRefreshFailure=null,this.suppressGetSessionWarning=!1,await Qe(this.storage,this.storageKey),await Qe(this.storage,this.storageKey+"-code-verifier"),await Qe(this.storage,this.storageKey+"-user"),this.userStorage&&await Qe(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const t=this.visibilityChangedCallback;this.visibilityChangedCallback=null;
3208try{t&&Et()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",t)}catch(n){console.error("removing visibilitychange callback failed",n)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const t=setInterval(()=>this._autoRefreshTokenTick(),Zr);this.autoRefreshTicker=t,t&&typeof t=="object"&&typeof t.unref=="function"?t.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(t);const n=setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0);this.autoRefreshTickTimeout=n,n&&typeof n=="object"&&typeof n.unref=="function"?n.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(n)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const t=this.autoRefreshTicker;this.autoRefreshTicker=null,t&&clearInterval(t);const n=this.autoRefreshTickTimeout;this.autoRefreshTickTimeout=null,n&&clearTimeout(n)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async dispose(){var t;this._removeVisibilityChangedCallback(),await this._stopAutoRefresh(),(t=this.broadcastChannel)===null||t===void 0||t.close(),this.broadcastChannel=null,this.stateChangeEmitters.clear()}async _autoRefreshTokenTick(){if(this._debug("#_autoRefreshTokenTick()","begin"),this.lock!=null){try{await this._acquireLock(0,async()=>{try{const t=Date.now();try{return await this._useSession(async n=>{const{data:{session:r}}=n;if(!r||!r.refresh_token||!r.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const i=Math.floor((r.expires_at*1e3-t)/Zr);this._debug("#_autoRefreshTokenTick()",`access token expires in ${i} ticks, a tick lasts ${Zr}ms, refresh threshold is ${Pl} ticks`),i<=Pl&&await this._callRefreshToken(r.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(t){if(t instanceof xne)this._debug("auto refresh token tick lock not available");else throw t}return}if(this.refreshingDeferred!==null){this._debug("#_autoRefreshTokenTick()","refresh already in flight, skipping");return}try{const t=Date.now();try{await this._useSession(async n=>{const{data:{session:r}}=n;if(!r||!r.refresh_token||!r.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const i=Math.floor((r.expires_at*1e3-t)/Zr);this._debug("#_autoRefreshTokenTick()",`access token expires in ${i} ticks, a tick lasts ${Zr}ms, refresh threshold is ${Pl} ticks`),i<=Pl&&await this._callRefreshToken(r.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!Et()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>{try{await this._onVisibilityChanged(!1)}catch(t){this._debug("#visibilityChangedCallback","error",t)}},window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(t){console.error("_handleVisibilityChange",t)}}async _onVisibilityChanged(t){const n=`#_onVisibilityChanged(${t})`;if(this._debug(n,"visibilityState",document.visibilityState),document.visibilityState==="visible"){if(this.autoRefreshToken&&this._startAutoRefresh(),!t)if(await this.initializePromise,this.lock!=null)await this._acquireLock(this.lockAcquireTimeout,async()=>{if(document.visibilityState!=="visible"){this._debug(n,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()});else{if(document.visibilityState!=="visible"){this._debug(n,"visibilityState is no longer visible, skipping recovery");return}await this._recoverAndRefresh()}}else document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(t,n,r){const i=[`provider=${encodeURIComponent(n)}`];if(r!=null&&r.redirectTo&&i.push(`redirect_to=${encodeURIComponent(r.redirectTo)}`),r!=null&&r.scopes&&i.push(`scopes=${encodeURIComponent(r.scopes)}`),this.flowType==="pkce"){const[s,o]=await Ps(this.storage,this.storageKey),a=new URLSearchParams({code_challenge:`${encodeURIComponent(s)}`,code_challenge_method:`${encodeURIComponent(o)}`});i.push(a.toString())}if(r!=null&&r.queryParams){const s=new URLSearchParams(r.queryParams);i.push(s.toString())}return r!=null&&r.skipBrowserRedirect&&i.push(`skip_http_redirect=${r.skipBrowserRedirect}`),`${t}?${i.join("&")}`}async _unenroll(t){try{return await this._useSession(async n=>{var r;const{data:i,error:s}=n;return s?this._returnResult({data:null,error:s}
3208):await te(this.fetch,"DELETE",`${this.url}/factors/${t.factorId}`,{headers:this.headers,jwt:(r=i==null?void 0:i.session)===null||r===void 0?void 0:r.access_token})})}catch(n){if(J(n))return this._returnResult({data:null,error:n});throw n}}async _enroll(t){try{return await this._useSession(async n=>{var r,i;const{data:s,error:o}=n;if(o)return this._returnResult({data:null,error:o});const a=Object.assign({friendly_name:t.friendlyName,factor_type:t.factorType},t.factorType==="phone"?{phone:t.phone}:t.factorType==="totp"?{issuer:t.issuer}:{}),{data:c,error:u}=await te(this.fetch,"POST",`${this.url}/factors`,{body:a,headers:this.headers,jwt:(r=s==null?void 0:s.session)===null||r===void 0?void 0:r.access_token});return u?this._returnResult({data:null,error:u}):(t.factorType==="totp"&&c.type==="totp"&&(!((i=c==null?void 0:c.totp)===null||i===void 0)&&i.qr_code)&&(c.totp.qr_code=`data:image/svg+xml;utf-8,${c.totp.qr_code}`),this._returnResult({data:c,error:null}))})}catch(n){if(J(n))return this._returnResult({data:null,error:n});throw n}}async _verify(t){const n=async()=>{try{return await this._useSession(async r=>{var i;const{data:s,error:o}=r;if(o)return this._returnResult({data:null,error:o});const a=Object.assign({challenge_id:t.challengeId},"webauthn"in t?{webauthn:Object.assign(Object.assign({},t.webauthn),{credential_response:t.webauthn.type==="create"?Pj(t.webauthn.credential_response):Aj(t.webauthn.credential_response)})}:{code:t.code}),{data:c,error:u}=await te(this.fetch,"POST",`${this.url}/factors/${t.factorId}/verify`,{body:a,headers:this.headers,jwt:(i=s==null?void 0:s.session)===null||i===void 0?void 0:i.access_token});return u?this._returnResult({data:null,error:u}):(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+c.expires_in},c)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",c),this._returnResult({data:c,error:u}))})}catch(r){if(J(r))return this._returnResult({data:null,error:r});throw r}};return this.lock!=null?this._acquireLock(this.lockAcquireTimeout,n):n()}async _challenge(t){const n=async()=>{try{return await this._useSession(async r=>{var i;const{data:s,error:o}=r;if(o)return this._returnResult({data:null,error:o});const a=await te(this.fetch,"POST",`${this.url}/factors/${t.factorId}/challenge`,{body:t,headers:this.headers,jwt:(i=s==null?void 0:s.session)===null||i===void 0?void 0:i.access_token});if(a.error)return a;const{data:c}=a;if(c.type!=="webauthn")return{data:c,error:null};switch(c.webauthn.type){case"create":return{data:Object.assign(Object.assign({},c),{webauthn:Object.assign(Object.assign({},c.webauthn),{credential_options:Object.assign(Object.assign({},c.webauthn.credential_options),{publicKey:Ej(c.webauthn.credential_options.publicKey)})})}),error:null};case"request":return{data:Object.assign(Object.assign({},c),{webauthn:Object.assign(Object.assign({},c.webauthn),{credential_options:Object.assign(Object.assign({},c.webauthn.credential_options),{publicKey:Tj(c.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(r){if(J(r))return this._returnResult({data:null,error:r});throw r}};return this.lock!=null?this._acquireLock(this.lockAcquireTimeout,n):n()}async _challengeAndVerify(t){const{data:n,error:r}=await this._challenge({factorId:t.factorId});return r?this._returnResult({data:null,error:r}):await this._verify({factorId:t.factorId,challengeId:n.id,code:t.code})}async _listFactors(){var t;const{data:{user:n},error:r}=await this.getUser();if(r)return{data:null,error:r};const i={all:[],phone:[],totp:[],webauthn:[]};for(const s of(t=n==null?void 0:n.factors)!==null&&t!==void 0?t:[])i.all.push(s),s.status==="verified"&&i[s.factor_type].push(s);return{data:i,error:null}}async _getAuthenticatorAssuranceLevel(t){var n,r,i,s;if(t)try{const{payload:f}=ld(t);let m=null;f.aal&&(m=f.aal);let g=m;const{data:{user:x},error:v}=await this.getUser(t);if(v)return this._returnResult({data:null,error:v});((r=(n=x==null?void 0:x.factors)===null||n===void 0?void 0:n.filter(k=>k.status==="verified"))!==null&&r!==void 0?r:[]).length>0&&(g="aal2");const w=f.amr||[];return{data:{currentLevel:m,nextLevel:g,currentAuthenticationMethods:w},error:null}}catch(f){if(J(f))return this._returnResult({data:null,error:f});throw f}const{data:{session:o},error:a}
3208=await this.getSession();if(a)return this._returnResult({data:null,error:a});if(!o)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:c}=ld(o.access_token);let u=null;c.aal&&(u=c.aal);let p=u;((s=(i=o.user.factors)===null||i===void 0?void 0:i.filter(f=>f.status==="verified"))!==null&&s!==void 0?s:[]).length>0&&(p="aal2");const h=c.amr||[];return{data:{currentLevel:u,nextLevel:p,currentAuthenticationMethods:h},error:null}}async _getAuthorizationDetails(t){try{return await this._useSession(async n=>{const{data:{session:r},error:i}=n;return i?this._returnResult({data:null,error:i}):r?await te(this.fetch,"GET",`${this.url}/oauth/authorizations/${t}`,{headers:this.headers,jwt:r.access_token,xform:s=>({data:s,error:null})}):this._returnResult({data:null,error:new ft})})}catch(n){if(J(n))return this._returnResult({data:null,error:n});throw n}}async _approveAuthorization(t,n){try{return await this._useSession(async r=>{const{data:{session:i},error:s}=r;if(s)return this._returnResult({data:null,error:s});if(!i)return this._returnResult({data:null,error:new ft});const o=await te(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:i.access_token,body:{action:"approve"},xform:a=>({data:a,error:null})});return o.data&&o.data.redirect_url&&Et()&&!(n!=null&&n.skipBrowserRedirect)&&window.location.assign(o.data.redirect_url),o})}catch(r){if(J(r))return this._returnResult({data:null,error:r});throw r}}async _denyAuthorization(t,n){try{return await this._useSession(async r=>{const{data:{session:i},error:s}=r;if(s)return this._returnResult({data:null,error:s});if(!i)return this._returnResult({data:null,error:new ft});const o=await te(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:i.access_token,body:{action:"deny"},xform:a=>({data:a,error:null})});return o.data&&o.data.redirect_url&&Et()&&!(n!=null&&n.skipBrowserRedirect)&&window.location.assign(o.data.redirect_url),o})}catch(r){if(J(r))return this._returnResult({data:null,error:r});throw r}}async _listOAuthGrants(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;return r?this._returnResult({data:null,error:r}):n?await te(this.fetch,"GET",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:n.access_token,xform:i=>({data:i,error:null})}):this._returnResult({data:null,error:new ft})})}catch(t){if(J(t))return this._returnResult({data:null,error:t});throw t}}async _revokeOAuthGrant(t){try{return await this._useSession(async n=>{const{data:{session:r},error:i}=n;return i?this._returnResult({data:null,error:i}):r?(await te(this.fetch,"DELETE",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:r.access_token,query:{client_id:t.clientId},noResolveJson:!0}),{data:{},error:null}):this._returnResult({data:null,error:new ft})})}catch(n){if(J(n))return this._returnResult({data:null,error:n});throw n}}async fetchJwk(t,n={keys:[]}){let r=n.keys.find(a=>a.kid===t);if(r)return r;const i=Date.now();if(r=this.jwks.keys.find(a=>a.kid===t),r&&this.jwks_cached_at+$te>i)return r;const{data:s,error:o}=await te(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(o)throw o;return!s.keys||s.keys.length===0||(this.jwks=s,this.jwks_cached_at=i,r=s.keys.find(a=>a.kid===t),!r)?null:r}async getClaims(t,n={}){try{let r=t;if(!r){const{data:f,error:m}
3208=await this.getSession();if(m||!f.session)return this._returnResult({data:null,error:m});r=f.session.access_token}const{header:i,payload:s,signature:o,raw:{header:a,payload:c}}=ld(r);if(!(n!=null&&n.allowExpired))try{cne(s.exp)}catch(f){throw new Kp(f instanceof Error?f.message:"JWT validation failed")}const u=!i.alg||i.alg.startsWith("HS")||!i.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(i.kid,n!=null&&n.keys?{keys:n.keys}:n==null?void 0:n.jwks);if(!u){const{error:f}=await this.getUser(r);if(f)throw f;return{data:{claims:s,header:i,signature:o},error:null}}const p=une(i.alg),d=await crypto.subtle.importKey("jwk",u,p,!0,["verify"]);if(!await crypto.subtle.verify(p,d,o,Yte(`${a}.${c}`)))throw new Kp("Invalid JWT signature");return{data:{claims:s,header:i,signature:o},error:null}}catch(r){if(J(r))return this._returnResult({data:null,error:r});throw r}}async signInWithPasskey(t){var n,r,i;Wn(this.experimental);try{if(!Qp())return this._returnResult({data:null,error:new Zn("Browser does not support WebAuthn",null)});const{data:s,error:o}=await this._startPasskeyAuthentication({options:{captchaToken:(n=t==null?void 0:t.options)===null||n===void 0?void 0:n.captchaToken}});if(o||!s)return this._returnResult({data:null,error:o});const a=Tj(s.options),c=(i=(r=t==null?void 0:t.options)===null||r===void 0?void 0:r.signal)!==null&&i!==void 0?i:Sy.createNewAbortSignal(),{data:u,error:p}=await dR({publicKey:a,signal:c});if(p||!u)return this._returnResult({data:null,error:p??new Zn("WebAuthn ceremony failed",null)});const d=Aj(u);return this._verifyPasskeyAuthentication({challengeId:s.challenge_id,credential:d})}catch(s){if(J(s))return this._returnResult({data:null,error:s});throw s}}async registerPasskey(t){var n,r;Wn(this.experimental);try{if(!Qp())return this._returnResult({data:null,error:new Zn("Browser does not support WebAuthn",null)});const{data:i,error:s}=await this._startPasskeyRegistration();if(s||!i)return this._returnResult({data:null,error:s});const o=Ej(i.options),a=(r=(n=t==null?void 0:t.options)===null||n===void 0?void 0:n.signal)!==null&&r!==void 0?r:Sy.createNewAbortSignal(),{data:c,error:u}=await uR({publicKey:o,signal:a});if(u||!c)return this._returnResult({data:null,error:u??new Zn("WebAuthn ceremony failed",null)});const p=Pj(c);return this._verifyPasskeyRegistration({challengeId:i.challenge_id,credential:p})}catch(i){if(J(i))return this._returnResult({data:null,error:i});throw i}}async _startPasskeyRegistration(){Wn(this.experimental);try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;if(r)return this._returnResult({data:null,error:r});if(!n)return this._returnResult({data:null,error:new ft});const{data:i,error:s}=await te(this.fetch,"POST",`${this.url}/passkeys/registration/options`,{headers:this.headers,jwt:n.access_token,body:{}});return s?this._returnResult({data:null,error:s}):this._returnResult({data:i,error:null})})}catch(t){if(J(t))return this._returnResult({data:null,error:t});throw t}}async _verifyPasskeyRegistration(t){Wn(this.experimental);try{return await this._useSession(async n=>{const{data:{session:r},error:i}=n;if(i)return this._returnResult({data:null,error:i});if(!r)return this._returnResult({data:null,error:new ft});const{data:s,error:o}=await te(this.fetch,"POST",`${this.url}/passkeys/registration/verify`,{headers:this.headers,jwt:r.access_token,body:{challenge_id:t.challengeId,credential:t.credential}});return o?this._returnResult({data:null,error:o}):this._returnResult({data:s,error:null})})}catch(n){if(J(n))return this._returnResult({data:null,error:n});throw n}}async _startPasskeyAuthentication(t){var n;Wn(this.experimental);try{const{data:r,error:i}=await te(this.fetch,"POST",`${this.url}/passkeys/authentication/options`,{headers:this.headers,body:{gotrue_meta_security:{captcha_token:(n=t==null?void 0:t.options)===null||n===void 0?void 0:n.captchaToken}}});return i?this._returnResult({data:null,error:i}):this._returnResult({data:r,error:null})}catch(r){if(J(r))return this._returnResult({data:null,error:r});throw r}}async _verifyPasskeyAuthentication(t){Wn(this.experimental);try{const{data:n,error:r}=await te(this.fetch,"POST",`${this.url}/passkeys/authentication/verify`,{headers:this.headers,body:{challenge_id:t.challengeId,credential:t.credential},xform:xn});return r?this._returnResult({data:null,error:r}):(n.session&&(await this._saveSession(n.session),await this._notifyAllSubscribers("SIGNED_IN",n.session)),this._returnResult({data:n,error:null}))}catch(n){if(J(n))return this._returnResult({data:null,error:n});throw n}}async _listPasskeys(){Wn(this.experimental);try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;if(r)return this._returnResult({data:null,error:r});if(!n)return this._returnResult({data:null,error:new ft});const{data:i,error:s}=await te(this.fetch,"GET",`${this.url}/passkeys`,{headers:this.headers,jwt:n.access_token,xform:o=>({data:o,error:null})});return s?this._returnResult({data:null,error:s}):this._returnResult({data:i,error:null})})}catch(t){if(J(t))return this._returnResult({data:null,error:t});throw t}}async _updatePasskey(t){Wn(this.experimental);try{return await this._useSession(async n=>{const{data:{session:r},error:i}=n;if(i)return this._returnResult({data:null,error:i});if(!r)return this._returnResult({data:null,error:new ft});const{data:s,error:o}=await te(this.fetch,"PATCH",`${this.url}/passkeys/${t.passkeyId}`,{headers:this.headers,jwt:r.access_token,body:{friendly_name:t.friendlyName}});return o?this._returnResult({data:null,error:o}):this._returnResult({data:s,error:null})})}catch(n){if(J(n))return this._returnResult({data:null,error:n});throw n}}async _deletePasskey(t){Wn(this.experimental);try{return await this._useSession(async n=>{const{data:{session:r},error:i}=n;if(i)return this._returnResult({data:null,error:i});if(!r)return this._returnResult({data:null,error:new ft});const{error:s}
3208=await te(this.fetch,"DELETE",`${this.url}/passkeys/${t.passkeyId}`,{headers:this.headers,jwt:r.access_token,noResolveJson:!0});return s?this._returnResult({data:null,error:s}):this._returnResult({data:null,error:null})})}catch(n){if(J(n))return this._returnResult({data:null,error:n});throw n}}}Dc.nextInstanceID={};const Ine=Dc,Lne="2.108.2";let Al="",Zp;if(typeof Deno<"u"){var Gm;Al="deno",Zp=(Gm=Deno.version)===null||Gm===void 0?void 0:Gm.deno}else if(typeof document<"u")Al="web";else if(typeof navigator<"u"&&navigator.product==="ReactNative")Al="react-native";else{var Km;Al="node",Zp=typeof process<"u"?(Km=process.version)===null||Km===void 0?void 0:Km.replace(/^v/,""):void 0}const pR=[`runtime=${Al}`];Zp&&pR.push(`runtime-version=${Zp}`);const One={"X-Client-Info":`supabase-js/${Lne}; ${pR.join("; ")}`},Dne={headers:One},Mne={schema:"public"},Bne={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},$ne={},Fne={enabled:!1,respectSamplingDecision:!0};function zne(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(p){try{u(r.next(p))}catch(d){o(d)}}function c(p){try{u(r.throw(p))}catch(d){o(d)}}function u(p){p.done?s(p.value):i(p.value).then(a,c)}u((r=r.apply(e,[])).next())})}let Jm=null;const Une="@opentelemetry/api";function Vne(){return Jm===null&&(Jm=import(Une).catch(()=>null)),Jm}function Wne(){return zne(this,void 0,void 0,function*(){try{const e=yield Vne();if(!e||!e.propagation||!e.context)return null;const t={};e.propagation.inject(e.context.active(),t);const n=t.traceparent;return n?{traceparent:n,tracestate:t.tracestate,baggage:t.baggage}:null}catch{return null}})}function Hne(e){if(!e||typeof e!="string")return null;const t=e.split("-");if(t.length!==4)return null;const[n,r,i,s]=t;if(n.length!==2||r.length!==32||i.length!==16||s.length!==2)return null;const o=/^[0-9a-f]+$/i;return!o.test(n)||!o.test(r)||!o.test(i)||!o.test(s)||r==="00000000000000000000000000000000"||i==="0000000000000000"?null:{version:n,traceId:r,parentId:i,traceFlags:s,isSampled:(parseInt(s,16)&1)===1}}function Gne(e,t){if(!e||!t||t.length===0)return!1;let n;if(e instanceof URL)n=e;else try{n=new URL(e)}catch{return!1}for(const r of t)try{if(typeof r=="string"){if(Kne(n.hostname,r))return!0}else if(r instanceof RegExp){if(r.test(n.hostname))return!0}else if(typeof r=="function"&&r(n))return!0}catch{continue}return!1}function Kne(e,t){if(t===e)return!0;if(t.startsWith("*.")){const n=t.slice(2);if(e.endsWith(n)&&(e===n||e.endsWith("."+n)))return!0}return!1}function Jne(e){const t=[];try{const n=new URL(e);t.push(n.hostname)}catch{}return t.push("*.supabase.co","*.supabase.in"),t.push("localhost","127.0.0.1","[::1]"),t}function Mc(e){"@babel/helpers - typeof";return Mc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mc(e)}function Yne(e,t){if(Mc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Mc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qne(e){var t=Yne(e,"string");return Mc(t)=="symbol"?t:t+""}function Xne(e,t,n){return(t=Qne(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ge(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Nj(Object(n),!0).forEach(function(r){Xne(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nj(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}const Zne=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),ere=()=>Headers,tre=(e,t,n,r,i)=>{const s=Zne(r),o=ere(),a=(i==null?void 0:i.enabled)===!0,c=(i==null?void 0:i.respectSamplingDecision)!==!1,u=a?Jne(t):null;return async(p,d)=>{var h;const f=(h=await n())!==null&&h!==void 0?h:e;let m=new o(d==null?void 0:d.headers);if(m.has("apikey")||m.set("apikey",e),m.has("Authorization")||m.set("Authorization",`Bearer ${f}`),u){const g=await nre(p,u,c);g&&(g.traceparent&&!m.has("traceparent")&&m.set("traceparent",g.traceparent),g.tracestate&&!m.has("tracestate")&&m.set("tracestate",g.tracestate),g.baggage&&!m.has("baggage")&&m.set("baggage",g.baggage))}return s(p,Ge(Ge({},d),{},{headers:m}))}};async function nre(e,t,n){if(!Gne(typeof e=="string"||e instanceof URL?e:e.url,t))return null;const r=await Wne();if(!r||!r.traceparent)return null;if(n){const i=Hne(r.traceparent);if(i&&!i.isSampled)return null}return r}function Rj(e){return typeof e=="boolean"?{enabled:e}:e}function rre(e){return e.endsWith("/")?e:e+"/"}function ire(e,t){var n,r,i,s,o,a;const{db:c,auth:u,realtime:p,global:d}=e,{db:h,auth:f,realtime:m,global:g}=t,x=Rj(e.tracePropagation),v=Rj(t.tracePropagation),b={db:Ge(Ge({},h),c),auth:Ge(Ge({},f),u),realtime:Ge(Ge({},m),p),storage:{},global:Ge(Ge(Ge({},g),d),{},{headers:Ge(Ge({},(n=g==null?void 0:g.headers)!==null&&n!==void 0?n:{}),(r=d==null?void 0:d.headers)!==null&&r!==void 0?r:{})}),tracePropagation:{enabled:(i=(s=x==null?void 0:x.enabled)!==null&&s!==void 0?s:v==null?void 0:v.enabled)!==null&&i!==void 0?i:!1,respectSamplingDecision:(o=(a=x==null?void 0:x.respectSamplingDecision)!==null&&a!==void 0?a:v==null?void 0:v.respectSamplingDecision)!==null&&o!==void 0?o:!0},accessToken:async()=>""};return e.accessToken?b.accessToken=e.accessToken:delete b.accessToken,b}function sre(e){const t=e==null?void 0:e.trim();if(!t)throw new Error("supabaseUrl is required.");
3208if(!t.match(/^https?:\/\//i))throw new Error("Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.");try{return new URL(rre(t))}catch{throw Error("Invalid supabaseUrl: Provided URL is malformed.")}}var ore=class extends Ine{constructor(e){super(e)}},are=class{constructor(e,t,n){var r,i;this.supabaseUrl=e,this.supabaseKey=t;const s=sre(e);if(!t)throw new Error("supabaseKey is required.");this.realtimeUrl=new URL("realtime/v1",s),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",s),this.storageUrl=new URL("storage/v1",s),this.functionsUrl=new URL("functions/v1",s);const o=`sb-${s.hostname.split(".")[0]}-auth-token`,a={db:Mne,realtime:$ne,auth:Ge(Ge({},Bne),{},{storageKey:o}),global:Dne,tracePropagation:Fne},c=ire(n??{},a);if(this.settings=c,this.storageKey=(r=c.auth.storageKey)!==null&&r!==void 0?r:"",this.headers=(i=c.global.headers)!==null&&i!==void 0?i:{},c.accessToken)this.accessToken=c.accessToken,this.auth=new Proxy({},{get:(p,d)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(d)} is not possible`)}});else{var u;this.auth=this._initSupabaseAuthClient((u=c.auth)!==null&&u!==void 0?u:{},this.headers,c.global.fetch)}this.fetch=tre(t,e,this._getAccessToken.bind(this),c.global.fetch,c.tracePropagation),this.realtime=this._initRealtimeClient(Ge({headers:this.headers,accessToken:this._getAccessToken.bind(this),fetch:this.fetch},c.realtime)),this.accessToken&&Promise.resolve(this.accessToken()).then(p=>this.realtime.setAuth(p)).catch(p=>console.warn("Failed to set initial Realtime auth token:",p)),this.rest=new wee(new URL("rest/v1",s).href,{headers:this.headers,schema:c.db.schema,fetch:this.fetch,timeout:c.db.timeout,urlLengthLimit:c.db.urlLengthLimit}),this.storage=new Ite(this.storageUrl.href,this.headers,this.fetch,n==null?void 0:n.storage),c.accessToken||this._listenForAuthEvents()}get functions(){return new pee(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,t={},n={head:!1,get:!1,count:void 0}){return this.rest.rpc(e,t,n)}channel(e,t={config:{}}){return this.realtime.channel(e,t)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}async _getAccessToken(){var e=this,t,n;if(e.accessToken)return await e.accessToken();const{data:r}=await e.auth.getSession();return(t=(n=r.session)===null||n===void 0?void 0:n.access_token)!==null&&t!==void 0?t:e.supabaseKey}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:i,storageKey:s,flowType:o,lock:a,debug:c,throwOnError:u,experimental:p,lockAcquireTimeout:d,skipAutoInitialize:h},f,m){const g={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new ore({url:this.authUrl.href,headers:Ge(Ge({},g),f),storageKey:s,autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:i,flowType:o,lock:a,debug:c,throwOnError:u,experimental:p,fetch:m,lockAcquireTimeout:d,skipAutoInitialize:h,hasCustomAuthorizationHeader:Object.keys(this.headers).some(x=>x.toLowerCase()==="authorization")})}_initRealtimeClient(e){return new rte(this.realtimeUrl.href,Ge(Ge({},e),{},{params:Ge(Ge({},{apikey:this.supabaseKey}),e==null?void 0:e.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((e,t)=>{this._handleTokenChanged(e,"CLIENT",t==null?void 0:t.access_token)})}_handleTokenChanged(e,t,n){(e==="TOKEN_REFRESHED"||e==="SIGNED_IN")&&this.changedAccessToken!==n?(this.changedAccessToken=n,this.realtime.setAuth(n)):e==="SIGNED_OUT"&&(this.realtime.setAuth(),t=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}};const lre=(e,t,n)=>new are(e,t,n);function cre(){if(typeof window<"u")return!1;const e=globalThis.process;if(!e)return!1;const t=e.version;if(t==null)return!1;const n=t.match(/^v(\d+)\./);return n?parseInt(n[1],10)<=18:!1}cre()&&console.warn("⚠️  Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to N
3208ode.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217");function ure(){var x,v;if(typeof window>"u")return;const e=location.hostname,n=["lovableproject.com","lovableproject-dev.com","lovable.app","gpt-eng.com","gptengineer.run"].some(b=>e===b||e.endsWith("."+b)),r="[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}",i=n?((x=e.match(new RegExp("^(?:id-preview(?:-[a-z0-9]+)?|project)--("+r+")(?:-dev)?(?=\\.|$)","i")))==null?void 0:x[1])??((v=e.match(new RegExp("^("+r+")(?=[.-])","i")))==null?void 0:v[1]):void 0,s=window.parent&&window.parent!==window;if(!i||!s)return localStorage;const o=e.endsWith(".lovableproject-dev.com")||e.endsWith(".gpt-eng.com"),a=o?/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$|^http:\/\/localhost:3000$/:/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$/,c=location.ancestorOrigins&&location.ancestorOrigins[0]||(document.referrer?new URL(document.referrer).origin:""),u=c&&a.test(c)?[c]:o?["https://lovable.dev","http://localhost:3000"]:["https://lovable.dev"],p="lovable-preview-auth:result",d=2e3,h=()=>Math.random().toString(36).slice(2)+Date.now().toString(36),f=(b,w,k)=>new Promise(S=>{const C=h();let T=!1,P;const R=A=>{T||(T=!0,clearTimeout(P),window.removeEventListener("message",j),S(A))},j=A=>{if(u.indexOf(A.origin)<0)return;const D=A.data;D&&D.type===p&&D.requestId===C&&R(D)};window.addEventListener("message",j);const q={type:b,requestId:C,projectId:i,key:w};k!==void 0&&(q.value=k);for(const A of u)window.parent.postMessage(q,A);P=setTimeout(()=>R(null),d)});let m=!0;const g=250;return{getItem:async b=>{let w=await f("lovable-preview-auth:get",b);return!w&&m&&(await new Promise(k=>setTimeout(k,g)),w=await f("lovable-preview-auth:get",b)),m=!1,w&&w.ok&&typeof w.value=="string"?w.value===""?(localStorage.removeItem(b),null):w.value:localStorage.getItem(b)},setItem:(b,w)=>(localStorage.setItem(b,w),f("lovable-preview-auth:set",b,w).then(k=>{k&&k.ok&&typeof k.value=="string"&&localStorage.getItem(b)===w&&(k.value===""?localStorage.removeItem(b):localStorage.setItem(b,k.value))})),removeItem:b=>(localStorage.removeItem(b),f("lovable-preview-auth:remove",b).then(()=>{}))}}const dre="https://dwffttvrnuljxioernpr.supabase.co",pre="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImR3ZmZ0dHZybnVsanhpb2VybnByIiwicm9sZSI6ImFub24iLCJpYXQiOjE3ODE2MTUyNDIsImV4cCI6MjA5NzE5MTI0Mn0.bjQMd1jJNuhorcgxCMoMtODo2mURIkIVZF1ydVuMkps",En=lre(dre,pre,{auth:{storage:ure(),persistSession:!0,autoRefreshToken:!0}}),hre=1,fre="5ab2861f-a8ef-4005-95f0-8f73bebe9b45",mre="2a085179-0a1c-43ad-88f9-631c9eab2259",gre="/__l5e/assets-v1/5ab2861f-a8ef-4005-95f0-8f73bebe9b45/grille-medias-sociaux.mp4",vre="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/5ab2861f-a8ef-4005-95f0-8f73bebe9b45/grille-medias-sociaux.mp4",yre="grille-medias-sociaux.mp4",bre=928142,xre="video/mp4",wre="2026-06-08T18:33:15Z",kre={version:hre,asset_id:fre,project_id:mre,url:gre,r2_key:vre,original_filename:yre,size:bre,content_type:xre,created_at:wre},Cre=kre.url,jre=["[email protected]","[email protected]"],Sre=[{match:/leadership/,value:"leadership"},{match:/impact/,value:"impact"},{match:/atelier|workshop/,value:"ateliers"},{match:/b-corp/,value:"b-corp"},{match:/coaching/,value:"coaching"},{match:/psycho/,value:"psychometrie"}];function qj(){const{toast:e}=Eh(),t=Ct(),[n,r]=y.useState(!1),i=me(),s=[{value:"leadership",label:i("Leadership organisationnel","Organizational leadership")},{value:"impact",label:i("Accompagnement certification B Corp","B Corp certification support")},{value:"ateliers",label:i("Ateliers à la carte","À la carte workshops")},{value:"general",label:i("Question générale","General question")}],o=[{value:"appel-connexion",label:i("Demander un appel exploratoire","Request an exploratory call")},{value:"info-service",label:i("Obtenir plus d'information sur un service","Get more information about a service")},{value:"devis",label:i("Recevoir une proposition / un devis","Receive a proposal / quote")},{value:"partenariat",label:i("Partenariat ou collaboration","Partnership or collaboration")},{value:"autre",label:i("Autre","Other")}],a=[{value:"parcours-leadership-cohorte-personnalisee",label:i("Programme leadership personnalisé — Niveau 1","Custom Leadership Program — Level 1"),pole:"leadership"},{value:"programme-leadership-personnalise-niveau-2",label:i("Programme leadership personnalisé — Niveau 2","Custom Leadership Program — Level 2"),pole:"leadership"},{value:"parcours-leadership-en-groupe",label:i("Cohorte Leadership signature","Signature Leadership Cohort"),pole:"leadership"},{value:"tests-psychometriques",label:i("Test psychométrique Nova","Nova psychometric test"),pole:"leadership"}
3208,{value:"coaching-conseils-leadership",label:i("Coaching et conseils","Coaching and advisory"),pole:"leadership"},{value:"certification-b-corp-personnalise",label:i("Certification B Corp — personnalisée","B Corp Certification — custom"),pole:"impact"},{value:"certification-b-corp-cohorte-de-groupe",label:i("Certification B Corp — cohorte","B Corp Certification — cohort"),pole:"impact"},{value:"recertification-b-corp-cohorte-de-groupe",label:i("Recertification B Corp — cohorte","B Corp Recertification — cohort"),pole:"impact"},{value:"recertification-b-corp-personnalise",label:i("Recertification B Corp — personnalisée","B Corp Recertification — custom"),pole:"impact"}],c=t.state,u=y.useMemo(()=>{if(c!=null&&c.subject)return c.subject;const q=new URLSearchParams(t.search).get("subject");if(q&&s.some(A=>A.value===q))return q;if(typeof document<"u"&&document.referrer)try{const A=new URL(document.referrer).pathname,D=Sre.find(L=>L.match.test(A));if(D)return D.value}catch{}return""},[t,c]),[p,d]=y.useState(u);y.useEffect(()=>d(u),[u]);const h=(c==null?void 0:c.requestType)??"",[f,m]=y.useState(h);y.useEffect(()=>m(h),[h]);const g=y.useMemo(()=>c!=null&&c.serviceSlug?c.serviceSlug:new URLSearchParams(t.search).get("service")??"",[c,t.search]),[x,v]=y.useState(g);y.useEffect(()=>v(g),[g]);const b=y.useMemo(()=>{const q=new URLSearchParams(t.search).get("atelier");if(!q)return null;const A=Ud(q);return A?{slug:A.slug,title:A.title}:null},[t.search]),[w,k]=y.useState((b==null?void 0:b.slug)??"");y.useEffect(()=>{b!=null&&b.slug&&k(b.slug)},[b==null?void 0:b.slug]);const S=y.useMemo(()=>{var L;if((L=c==null?void 0:c.favorites)!=null&&L.length)return c.favorites;const q=new URLSearchParams(t.search).get("favorites");if(!q)return null;const D=q.split(",").map($=>$.trim()).filter(Boolean).map($=>{const B=Ud($);return B?{slug:B.slug,title:B.title}:null}).filter($=>!!$);return D.length?D:null},[c,t.search]),C=y.useMemo(()=>{if(c!=null&&c.presetMessage)return c.presetMessage;if(!(S!=null&&S.length))return"";const j=is(t.pathname)==="en"?`Hello,
3209
3210I'd like to receive a quote for the following workshops I saved in my favorites:
3211`:`Bonjour,
3212
3213J'aimerais recevoir une soumission pour les ateliers suivants enregistrés dans mes favoris :
3214`,q=S.map(D=>`• ${D.title}`).join(`
3215`),A=is(t.pathname)==="en"?`
3216
3217Could you share availability and next steps?
3218
3219Thank you!`:`
3220
3221Pourriez-vous me partager les disponibilités et les prochaines étapes ?
3222
3223Merci !`;return`${j}${q}${A}`},[S,t.pathname,c]),[T,P]=y.useState(C);y.useEffect(()=>{C&&P(C)},[C]),y.useEffect(()=>{if(t.hash==="#contact-form"){const j=document.getElementById("contact-form");j&&requestAnimationFrame(()=>j.scrollIntoView({behavior:"smooth",block:"start"}))}},[t.hash,t.key]);async function R(j){var _;j.preventDefault(),r(!0);const q=j.currentTarget,A=new FormData(q),D=(z,H)=>{var Q;const E=String(A.get(z)??"");return((Q=H.find(ne=>ne.value===E))==null?void 0:Q.label)??E},L=String(A.get("atelier")??w??""),$=L?((_=Ud(L))==null?void 0:_.title)??L:"",B=is(t.pathname),V={name:String(A.get("name")??"").trim(),email:String(A.get("email")??"").trim(),company:String(A.get("company")??"").trim(),subject:D("subject",s),requestType:D("requestType",o),serviceDetail:D("serviceDetail",a),atelier:$,message:String(A.get("message")??"").trim(),language:B,pageUrl:typeof window<"u"?window.location.href:""},I=Date.now(),N=V.email.replace(/[^a-z0-9]/gi,"-").toLowerCase();try{const z=[En.functions.invoke("send-transactional-email",{body:{templateName:"contact-confirmation",recipientEmail:V.email,idempotencyKey:`contact-confirm-${N}-${I}`,templateData:{name:V.name,language:B}}}),...jre.map(Q=>En.functions.invoke("send-transactional-email",{body:{templateName:"contact-notification",recipientEmail:Q,idempotencyKey:`contact-notif-${Q}-${N}-${I}`,templateData:V}}))],H=await Promise.allSettled(z);if(H.filter(Q=>{var ne;return Q.status==="rejected"||Q.status==="fulfilled"&&((ne=Q.value)==null?void 0:ne.error)}).length===H.length)throw new Error("All email sends failed");e({title:i("Message envoyé !","Message sent!"),description:i("On vous revient sous 24-48 h. Merci de votre confiance.","We'll get back to you within 24–48 hours. Thank y
3223ou for your trust.")}),q.reset(),d(""),m(""),v(""),k(""),P("")}catch(z){console.error("Contact form send failed",z),e({title:i("Oups, une erreur est survenue","Oops, something went wrong"),description:i("Merci de réessayer ou de nous écrire directement à [email protected].","Please try again or email us directly at [email protected]."),variant:"destructive"})}finally{r(!1)}}return l.jsxs(ht,{children:[l.jsx("section",{className:"bg-background pt-32 pb-20 md:pt-40 md:pb-28",children:l.jsxs("div",{className:"section",children:[l.jsxs(re.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-3xl",children:[l.jsx("span",{className:"pill",children:i("Contactez-nous","Contact us")}),l.jsx("h1",{className:"mt-6 font-display text-[clamp(2.25rem,5vw,4.5rem)] font-medium leading-[1.05] tracking-[-0.02em]",children:i(l.jsxs(l.Fragment,{children:["Un premier pas vers"," ",l.jsx("span",{className:"font-bold text-accent",children:"plus d'impact"})]}),l.jsxs(l.Fragment,{children:["A first step toward"," ",l.jsx("span",{className:"font-bold text-accent",children:"more impact"})]}))}),l.jsx("p",{className:"mt-6 max-w-2xl text-lg text-muted-foreground",children:i("Que vous souhaitiez développer votre leadership ou faire évoluer vos pratiques, chaque démarche commence par une conversation. Et ça tombe bien : on adore jaser.","Whether you want to develop your leadership or evolve your practices, every journey starts with a conversation. And lucky us — we love to chat.")})]}),l.jsxs("div",{className:"mt-16 grid gap-12 md:grid-cols-[1fr,1.3fr] md:gap-14",children:[l.jsxs("div",{className:"space-y-6",children:[l.jsx("div",{className:"relative overflow-hidden rounded-[1.75rem] bg-gradient-to-br from-leadership to-cream p-1",children:l.jsxs("div",{className:"rounded-[1.5rem] bg-cream p-6",children:[l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("div",{className:"h-20 w-20 shrink-0 overflow-hidden rounded-full ring-2 ring-accent/30",children:l.jsx("img",{src:lw,alt:"Thomas",className:"h-full w-full object-cover"})}),l.jsxs("div",{children:[l.jsx("p",{className:"text-xs uppercase tracking-widest text-muted-foreground",children:i("Vous écrit en personne","Writes to you personally")}),l.jsx("p",{className:"mt-1 font-display text-2xl font-bold leading-tight",children:"Thomas"}),l.jsx("p",{className:"text-sm text-muted-foreground",children:i("Cofondateur","Co-founder")})]})]}),l.jsx("p",{className:"mt-5 text-sm leading-relaxed text-foreground/80",children:i(l.jsxs(l.Fragment,{children:["Promis : pas de robot, pas de réponse générique. Je lis chaque message et vous reviens personnellement ",l.jsx("span",{className:"font-semibold",children:"sous 24 à 48 heures"})," pour explorer comment on peut vous aider."]}),l.jsxs(l.Fragment,{children:["Promise: no bot, no generic reply. I read every message and personally reply ",l.jsx("span",{className:"font-semibold",children:"within 24 to 48 hours"})," to explore how we can help."]}))})]})}),l.jsxs("a",{href:"mailto:[email protected]",className:"group flex items-center gap-4 roun
3223ded-[1.5rem] border border-border bg-card p-5 transition-all duration-300 hover:-translate-y-0.5 hover:border-accent hover:shadow-card",children:[l.jsx("span",{className:"grid h-11 w-11 place-items-center rounded-full bg-accent/10 text-accent",children:l.jsx(t6,{className:"h-5 w-5"})}),l.jsxs("div",{className:"min-w-0 flex-1",children:[l.jsx("p",{className:"text-xs uppercase tracking-widest text-muted-foreground",children:i("Courriel","Email")}),l.jsx("p",{className:"font-display font-semibold",children:"[email protected]"})]}),l.jsx(Je,{className:"h-4 w-4 text-muted-foreground transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5"})]}),l.jsxs("a",{href:"tel:+15145881357",className:"group flex items-center gap-4 rounded-[1.5rem] border border-border bg-card p-5 transition-all duration-300 hover:-translate-y-0.5 hover:border-accent hover:shadow-card",children:[l.jsx("span",{className:"grid h-11 w-11 place-items-center rounded-full bg-accent/10 text-accent",children:l.jsx(i6,{className:"h-5 w-5"})}),l.jsxs("div",{className:"min-w-0 flex-1",children:[l.jsx("p",{className:"text-xs uppercase tracking-widest text-muted-foreground",children:i("Téléphone","Phone")}),l.jsx("p",{className:"font-display font-semibold",children:"514 588-1357"})]}),l.jsx(Je,{className:"h-4 w-4 text-muted-foreground transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5"})]}),l.jsxs("a",{href:"https://www.google.com/maps/place/Boite+Pac/@45.532967,-73.620916,19z",target:"_blank",rel:"noopener noreferrer",className:"group flex items-center gap-4 roun
3223ded-[1.5rem] border border-border bg-card p-5 transition-all duration-300 hover:-translate-y-0.5 hover:border-accent hover:shadow-card",children:[l.jsx("span",{className:"grid h-11 w-11 place-items-center rounded-full bg-accent/10 text-accent",children:l.jsx(xT,{className:"h-5 w-5"})}),l.jsxs("div",{className:"min-w-0 flex-1",children:[l.jsx("p",{className:"text-xs uppercase tracking-widest text-muted-foreground",children:i("Bureau","Office")}),l.jsx("p",{className:"font-display font-semibold",children:"7236 Waverly, Suite 225"}),l.jsx("p",{className:"text-sm text-muted-foreground",children:"Montréal, Québec"})]}),l.jsx(Je,{className:"h-4 w-4 text-muted-foreground transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5"})]})]}),l.jsxs("form",{id:"contact-form",onSubmit:R,className:"scroll-mt-28 space-y-5 rounded-[1.75rem] border border-border bg-card p-6 md:p-8",children:[l.jsxs("div",{className:"grid gap-5 sm:grid-cols-2",children:[l.jsx(Ym,{label:i("Nom","Name"),name:"name",placeholder:"Lévi Pepin",required:!0}),l.jsx(Ym,{label:i("Courriel professionnel","Professional email"),type:"email",name:"email",placeholder:"[email protected]",required:!0})]}),l.jsx(Ym,{label:i("Organisation","Organization"),name:"company",placeholder:i("Votre entreprise","Your company")}),l.jsxs("label",{className:"block",children:[l.jsx("span",{className:"mb-2 block text-sm font-medium",children:i("Comment peut-on vous accompagner ?","How can we help you?")}),l.jsxs("select",{name:"subject",required:!0,value:p,onChange:j=>d(j.target.value),className:"w-full rounded-2xl border border-border bg-background px-4 py-3 text-foreground focus:border-accent focus:outline-none focus:ring-2 focus:ring-accent/20",children:[l.jsx("option",{value:"",children:i("— Sélectionnez un sujet —","— Select a subject —")}),s.map(j=>l.jsx("option",{value:j.value,children:j.label},j.value))]})]}),h&&l.jsxs("label",{className:"block",children:[l.jsx("span",{className:"mb-2 block text-sm font-medium",children:i("Type de demande","Type of request")}),l.jsxs("select",{name:"requestType",value:f,onChange:j=>m(j.target.value),className:"w-full rounded-2xl border border-border bg-background px-4 py-3 text-foreground focus:border-accent focus:outline-none focus:ring-2 focus:ring-accent/20",children:[l.jsx("option",{value:"",children:i("— Sélectionnez un type de demande —","— Select a type of request —")}),o.map(j=>l.jsx("option",{value:j.value,children:j.label},j.value))]})]}),(()=>{const j=p==="leadership"||p==="coaching"||p==="psychometrie"?"leadership":p==="impact"||p==="b-corp"?"impact":null;if(!j)return null;const q=a.filter(A=>A.pole===j);return l.jsxs("label",{className:"block",children:[l.jsxs("span",{className:"mb-2 block text-sm font-medium",children:[i("Service spécifique","Specific service")," ",l.jsx("span",{className:"font-normal text-muted-foreground",children:i("(optionnel)","(optional)")})]}),l.jsxs("select",{name:"serviceDetail",value:x,onChange:A=>v(A.target.value),className:"w-full rounded-2xl border border-border bg-background px-4 py-3 text-foreground focus:border-accent focus:outline-none focus:ring-2 focus:ring-accent/20",children:[l.jsx("option",{value:"",children:i("— Aucun service spécifique —","— No specific service —")}),q.map(A=>l.jsx("option",{value:A.value,children:A.label},A.value))]})]})})(),(b||p==="ateliers")&&l.jsxs("label",{className:"block",children:[l.jsx("span",{className:"mb-2 block text-sm font-medium",children:i("Atelier qui vous intéresse","Workshop you're interested in")}),l.jsxs("select",{name:"atelier",value:w,onChange:j=>k(j.target.value),className:"w-full rounded-2xl border border-accent/40 bg-accent/5 px-4 py-3 font-medium text-foreground focus:border-accent focus:outline-none focus:ring-2 focus:ring-accent/20",children:[l.jsx("option",{value:"",children:i("— Sélectionnez un atelier —","— Select a workshop —")}),fa.map(j=>l.jsx("option",{value:j.slug,children:j.title},j.slug))]})]}),l.jsx(Ere,{label:i("Message","Message"),name:"message",placeholder:i("Parlez-nous de votre projet…","Tell us about your project…"),required:!0,value:T,onChange:j=>P(j.target.value)}),l.jsxs(tt,{type:"submit",variant:"accent",size:"lg",disabled:n,className:"w-full sm:w-auto",children:[l.jsx(o6,{className:"h-4 w-4"})," ",n?i("Envoi…","Sending…"):i("Soumettre","Submit")]})]})]})]})}),l.jsx(_re,{})]})}function _re(){const e=me();return l.jsx("section",{className:"bg-background pb-20 md:pb-28",children:l.jsx("div",{className:"section",children:l.jsx("div",{className:"relative overflow-hidden rounded-[2rem] bg-navy text-cream md:rounded-[2.5rem]",children:l.jsxs("div",{className:"grid items-center gap-8 px-8 py-12 md:grid-cols-[1.2fr,1fr] md:gap-12 md:px-16 md:py-16",children:[l.jsxs("div",{children:[l.jsx("span",{className:"pill-light",children:e("Suivez-nous","Follow us")}),l.jsx("h2",{className:"mt-6 font-display text-3xl leading-[1.05] tracking-[-0.02em] md:text-5xl",children:e(l.jsxs(l.Fragment,{children:["Du ",l.jsx("span",{className:"font-bold",children:"contenu"})," qui inspire,",l.jsx("br",{}),"au quotidien."]}),l.jsxs(l.Fragment,{children:["Inspiring ",l.jsx("span",{className:"font-bold",children:"content"}),",",l.jsx("br",{}),"every day."]}))}),l.jsx("p",{className:"mt-6 max-w-md text-cream/80 leading-relaxed",children:e("Conseils concrets, coulisses, réflexions sur le leadership et l'évolution on partage tout sur LinkedIn et Instagram.","Practical tips, behind the scenes, reflections on leadership and evolution — we share it all on LinkedIn and Instagram.")}),l.jsxs("div",{className:"mt-8 flex flex-wrap gap-3",children:[l.jsxs("a",{href:"https://www.linkedin.com/company/bo%C3%AEte-pac/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-full bg-accent px-6 py-3 text-sm font-medium text-accent-foreground transition-all duration-300 hover:-translate-y-0.5 hover:shadow-elevated",children:[e("Suivre sur LinkedIn","Follow on LinkedIn"),l.jsx(Je,{className:"h-4 w-4"})]}),l.jsxs("a",{href:"https://www.instagram.com/boitepac/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-full bg-cream px-6 py-3 text-sm font-medium text-navy transition-all duration-300 hover:-translate-y-0.5 hover:shadow-elevated",children:[e("Suivre sur Instagram","Follow on Instagram"),l.jsx(Je,{className:"h-4 w-4"})]})]})]}),l.jsx("div",{className:"relative w-full md:justify-self-end",children:l.jsx("div",{className:"relative aspect-square w-full overflow-hidden rounded-[2.75rem] bg-navy-light shadow-mega md:rounded-[3.25rem]",children:l.jsx("video",{src:Cre,autoPlay:!0,muted:!0,loop:!0,playsInl
vendor: 22,075 bytes, line 3223
3223ine:!0,className:"absolute inset-0 h-full w-full object-cover"})})})]})})})})}function Ym({label:e,name:t,type:n="text",placeholder:r,required:i}){return l.jsxs("label",{className:"block",children:[l.jsx("span",{className:"mb-2 block text-sm font-medium",children:e}),l.jsx("input",{name:t,type:n,placeholder:r,required:i,className:"w-full rounded-2xl border border-border bg-background px-4 py-3 text-foreground placeholder:text-muted-foreground/60 focus:border-accent focus:outline-none focus:ring-2 focus:ring-accent/20"})]})}function Ere({label:e,name:t,placeholder:n,required:r,value:i,onChange:s}){return l.jsxs("label",{className:"block",children:[l.jsx("span",{className:"mb-2 block text-sm font-medium",children:e}),l.jsx("textarea",{name:t,placeholder:n,required:r,rows:6,value:i,onChange:s,className:"w-full resize-y rounded-2xl border border-border bg-background px-4 py-3 text-foreground placeholder:text-muted-foreground/60 focus:border-accent focus:outline-none focus:ring-2 focus:ring-accent/20"})]})}var Tre=y.createContext(void 0);function uf(e){const t=y.useContext(Tre);return e||t||"ltr"}var Qm="rovingFocusGroup.onEntryFocus",Pre={bubbles:!1,cancelable:!0},lu="RovingFocusGroup",[_y,hR,Are]=Xc(lu),[Nre,fR]=Ln(lu,[Are]),[Rre,qre]=Nre(lu),mR=y.forwardRef((e,t)=>l.jsx(_y.Provider,{scope:e.__scopeRovingFocusGroup,children:l.jsx(_y.Slot,{scope:e.__scopeRovingFocusGroup,children:l.jsx(Ire,{...e,ref:t})})}));mR.displayName=lu;var Ire=y.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:s,currentTabStopId:o,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:p=!1,...d}=e,h=y.useRef(null),f=_e(t,h),m=uf(s),[g,x]=Mr({prop:o,defaultProp:a??null,onChange:c,caller:lu}),[v,b]=y.useState(!1),w=mn(u),k=hR(n),S=y.useRef(!1),[C,T]=y.useState(0);return y.useEffect(()=>{const P=h.current;if(P)return P.addEventListener(Qm,w),()=>P.removeEventListener(Qm,w)},[w]),l.jsx(Rre,{scope:n,orientation:r,dir:m,loop:i,currentTabStopId:g,onItemFocus:y.useCallback(P=>x(P),[x]),onItemShiftTab:y.useCallback(()=>b(!0),[]),onFocusableItemAdd:y.useCallback(()=>T(P=>P+1),[]),onFocusableItemRemove:y.useCallback(()=>T(P=>P-1),[]),children:l.jsx(ve.div,{tabIndex:v||C===0?-1:0,"data-orientation":r,...d,ref:f,style:{outline:"none",...e.style},onMouseDown:X(e.onMouseDown,()=>{S.current=!0}),onFocus:X(e.onFocus,P=>{const R=!S.current;if(P.target===P.currentTarget&&R&&!v){const j=new CustomEvent(Qm,Pre);if(P.currentTarget.dispatchEvent(j),!j.defaultPrevented){const q=k().filter(B=>B.focusable),A=q.find(B=>B.active),D=q.find(B=>B.id===g),$=[A,D,...q].filter(Boolean).map(B=>B.ref.current);yR($,p)}}S.current=!1}),onBlur:X(e.onBlur,()=>b(!1))})})}),gR="RovingFocusGroupItem",vR=y.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:s,children:o,...a}=e,c=Rr(),u=s||c,p=qre(gR,n),d=p.currentTabStopId===u,h=hR(n),{onFocusableItemAdd:f,onFocusableItemRemove:m,currentTabStopId:g}=p;return y.useEffect(()=>{if(r)return f(),()=>m()},[r,f,m]),l.jsx(_y.ItemSlot,{scope:n,id:u,focusable:r,active:i,children:l.jsx(ve.span,{tabIndex:d?0:-1,"data-orientation":p.orientation,...a,ref:t,onMouseDown:X(e.onMouseDown,x=>{r?p.onItemFocus(u):x.preventDefault()}),onFocus:X(e.onFocus,()=>p.onItemFocus(u)),onKeyDown:X(e.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){p.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const v=Dre(x,p.orientation,p.dir);if(v!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let w=h().filter(k=>k.focusable).map(k=>k.ref.current);if(v==="last")w.reverse();else if(v==="prev"||v==="next"){v==="prev"&&w.reverse();const k=w.indexOf(x.currentTarget);w=p.loop?Mre(w,k+1):w.slice(k+1)}setTimeout(()=>yR(w))}}),children:typeof o=="function"?o({isCurrentTabStop:d,hasTabStop:g!=null}):o})})});vR.displayName=gR;var Lre={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Ore(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Dre(e,t,n){const r=Ore(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return Lre[r]}function yR(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function Mre(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var Bre=mR,$re=vR,Ey=["Enter"," "],Fre=["ArrowDown","PageUp","Home"],bR=["ArrowUp","PageDown","End"],zre=[...Fre,...bR],Ure={ltr:[...Ey,"ArrowRight"],rtl:[...Ey,"ArrowLeft"]},Vre={ltr:["ArrowLeft"],rtl:["ArrowRight"]},cu="Menu",[Bc,Wre,Hre]=Xc(cu),[mo,xR]=Ln(cu,[Hre,Ja,fR]),df=Ja(),wR=fR(),[Gre,go]=mo(cu),[Kre,uu]=mo(cu),kR=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:s,modal:o=!0}=e,a=df(t),[c,u]=y.useState(null),p=y.useRef(!1),d=mn(s),h=uf(i);return y.useEffect(()=>{const f=()=>{p.current=!0,document.addEventListener("pointerdown",m,{capture:!0,once:!0}),document.addEventListener("pointermove",m,{capture:!0,once:!0})},m=()=>p.current=!1;return document.addEventListener("keydown",f,{capture:!0}),()=>{document.removeEventListener("keydown",f,{capture:!0}),document.removeEventListener("pointerdown",m,{capture:!0}),document.removeEventListener("pointermove",m,{capture:!0})}},[]),l.jsx(yx,{...a,children:l.jsx(Gre,{scope:t,open:n,onOpenChange:d,content:c,onContentChange:u,children:l.jsx(Kre,{scope:t,onClose:y.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:p,dir:h,modal:o,children:r})})})};kR.displayName=cu;var Jre="MenuAnchor",dw=y.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=df(n);return l.jsx(Dh,{...i,...r,ref:t})});dw.displayName=Jre;var pw="MenuPortal",[Yre,CR]=mo(pw,{forceMount:void 0}),jR=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,s=go(pw,t);return l.jsx(Yre,{scope:t,forceMount:n,children:l.jsx(yn,{present:n||s.open,children:l.jsx(Zc,{asChild:!0,container:i,children:r})})})};jR.displayName=pw;var Rn="MenuContent",[Qre,hw]=mo(Rn),SR=y.forwardRef((e,t)=>{const n=CR(Rn,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,s=go(Rn,e.__scopeMenu),o=uu(Rn,e.__scopeMenu);return l.jsx(Bc.Provider,{scope:e.__scopeMenu,children:l.jsx(yn,{present:r||s.open,children:l.jsx(Bc.Slot,{scope:e.__scopeMenu,children:o.modal?l.jsx(Xre,{...i,ref:t}):l.jsx(Zre,{...i,ref:t})})})})}),Xre=y.forwardRef((e,t)=>{const n=go(Rn,e.__scopeMenu),r=y.useRef(null),i=_e(t,r);return y.useEffect(()=>{const s=r.current;if(s)return Xx(s)},[]),l.jsx(fw,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:X(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Zre=y.forwardRef((e,t)=>{const n=go(Rn,e.__scopeMenu);return l.jsx(fw,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),eie=oo("MenuContent.ScrollLock"),fw=y.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:o,disableOutsidePointerEvents:a,onEntryFocus:c,onEscapeKeyDown:u,onPointerDownOutside:p,onFocusOutside:d,onInteractOutside:h,onDismiss:f,disableOutsideScroll:m,...g}=e,x=go(Rn,n),v=uu(Rn,n),b=df(n),w=wR(n),k=Wre(n),[S,C]=y.useState(null),T=y.useRef(null),P=_e(t,T,x.onContentChange),R=y.useRef(0),j=y.useRef(""),q=y.useRef(0),A=y.useRef(null),D=y.useRef("right"),L=y.useRef(0),$=m?Qh:y.Fragment,B=m?{as:eie,allowPinchZoom:!0}:void 0,V=N=>{var ce,Ye;const _=j.current+N,z=k().filter(Te=>!Te.disabled),H=document.activeElement,E=(ce=z.find(Te=>Te.ref.current===H))==null?void 0:ce.textValue,Q=z.map(Te=>Te.textValue),ne=pie(Q,_,E),ae=(Ye=z.find(Te=>Te.textValue===ne))==null?void 0:Ye.ref.current;(function Te(vt){j.current=vt,window.clearTimeout(R.current),vt!==""&&(R.current=window.setTimeout(()=>Te(""),1e3))})(_),ae&&setTimeout(()=>ae.focus())};y.useEffect(()=>()=>window.clearTimeout(R.current),[]),Qx();const I=y.useCallback(N=>{var z,H;return D.current===((z=A.current)==null?void 0:z.side)&&fie(N,(H=A.current)==null?void 0:H.area)},[]);return l.jsx(Qre,{scope:n,searchRef:j,onItemEnter:y.useCallback(N=>{I(N)&&N.preventDefault()},[I]),onItemLeave:y.useCallback(N=>{var _;I(N)||((_=T.current)==null||_.focus(),C(null))},[I]),onTriggerLeave:y.useCallback(N=>{I(N)&&N.preventDefault()},[I]),pointerGraceTimerRef:q,onPointerGraceIntentChange:y.useCallback(N=>{A.current=N},[]),children:l.jsx($,{...B,children:l.jsx(Jh,{asChild:!0,trapped:i,onMountAutoFocus:X(s,N=>{var _;N.preventDefault(),(_=T.current)==null||_.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:l.jsx(Wa,{asChild:!0,disableOutsidePointerEvents:a,onEscapeKeyDown:u,onPointerDownOutside:p,onFocusOutside:d,onInteractOutside:h,onDismiss:f,children:l.jsx(Bre,{asChild:!0,...w,dir:v.dir,orientation:"vertical",loop:r,currentTabStopId:S,onCurrentTabStopIdChange:C,onEntryFocus:X(c,N=>{v.isUsingKeyboardRef.current||N.preventDefault()}),preventScrollOnEntryFocus:!0,children:l.jsx(bx,{role:"menu","aria-orientation":"vertical","data-state":FR(x.open),"data-radix-menu-content":"",dir:v.dir,...b,...g,ref:P,style:{outline:"none",...g.style},onKeyDown:X(g.onKeyDown,N=>{const z=N.target.closest("[data-radix-menu-content]")===N.currentTarget,H=N.ctrlKey||N.altKey||N.metaKey,E=N.key.length===1;z&&(N.key==="Tab"&&N.preventDefault(),!H&&E&&V(N.key));const Q=T.current;if(N.target!==Q||!zre.includes(N.key))return;N.preventDefault();const ae=k().filter(ce=>!ce.disabled).map(ce=>ce.ref.current);bR.includes(N.key)&&ae.reverse(),uie(ae)}),onBlur:X(e.onBlur,N=>{N.currentTarget.contains(N.target)||(window.clearTimeout(R.current),j.current="")}),onPointerMove:X(e.onPointerMove,$c(N=>{const _=N.target,z=L.current!==N.clientX;if(N.currentTarget.contains(_)&&z){const H=N.clientX>L.current?"right":"left";D.current=H,L.current=N.clientX}}))})})})})})})});SR.displayName=Rn;var tie="MenuGroup",mw=y.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return l.jsx(ve.div,{role:"group",...r,ref:t})});mw.displayName=tie;var nie="MenuLabel",_R=y.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return l.jsx(ve.div,{...r,ref:t})});_R.displayName=nie;var eh="MenuItem",Ij="menu.itemSelect",pf=y.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,s=y.useRef(null),o=uu(eh,e.__scopeMenu),a=hw(eh,e.__scopeMenu),c=_e(t,s),u=y.useRef(!1),p=()=>{const d=s.current;if(!n&&d){const h=new CustomEvent(Ij,{bubbles:!0,cancelable:!0});d.addEventListener(Ij,f=>r==null?void 0:r(f),{once:!0}),nx(d,h),h.defaultPrevented?u.current=!1:o.onClose()}};return l.jsx(ER,{...i,ref:c,disabled:n,onClick:X(e.onClick,p),onPointerDown:d=>{var h;(h=e.onPointerDown)==null||h.call(e,d),u.current=!0},onPointerUp:X(e.onPointerUp,d=>{var h;u.current||(h=d.currentTarget)==null||h.click()}),onKeyDown:X(e.onKeyDown,d=>{const h=a.searchRef.current!=="";n||h&&d.key===" "||Ey.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});pf.displayName=eh;var ER=y.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...s}=e,o=hw(eh,n),a=wR(n),c=y.useRef(null),u=_e(t,c),[p,d]=y.useState(!1),[h,f]=y.useState("");return y.useEffect(()=>{const m=c.current;m&&f((m.textContent??"").trim())},[s.children]),l.jsx(Bc.ItemSlot,{scope:n,disabled:r,textValue:i??h,children:l.jsx($re,{asChild:!0,...a,focusable:!r,children:l.jsx(ve.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...s,ref:u,onPointerMove:X(e.onPointerMove,$c(m=>{r?o.onItemLeave(m):(o.onItemEnter(m),m.defaultPrevented||m.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:X(e.onPointerLeave,$c(m=>o.onItemLeave(m))),onFocus:X(e.onFocus,()=>d(!0)),onBlur:X(e.onBlur,()=>d(!1))})})})}),rie="MenuCheckboxItem",TR=y.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...i}=e;return l.jsx(qR,{scope:e.__scopeMenu,checked:n,children:l.jsx(pf,{role:"menuitemcheckbox","aria-checked":th(n)?"mixed":n,...i,ref:t,"data-state":vw(n),onSelect:X(i.onSelect,()=>r==null?void 0:r(th(n)?!0:!n),{checkForDefaultPrevented:!1})})})});TR.displayName=rie;var PR="MenuRadioGroup",[iie,sie]=mo(PR,{value:void 0,onValueChange:()=>{}}),AR=y.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,s=mn(r);return l.jsx(iie,{scope:e.__scopeMenu,value:n,onValueChange:s,children:l.jsx(mw,{...i,ref:t})})});AR.displayName=PR;var NR="MenuRadioItem",RR=y.forwardRef((e,t)=>{const{value:n,...r}=e,i=sie(NR,e.__scopeMenu),s=n===i.value;return l.jsx(qR,{scope:e.__scopeMenu,checked:s,children:l.jsx(pf,{role:"menuitemradio","aria-checked":s,...r,ref:t,"data-state":vw(s),onSelect:X(r.onSelect,()=>{var o;return(o=i.onValueChange)==null?void 0:o.call(i,n)},{checkForDefaultPrevented:!1})})})});RR.displayName=NR;var gw="MenuItemIndicator",[qR,oie]=mo(gw,{checked:!1}),IR=y.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,s=oie(gw,n);return l.jsx(yn,{present:r||th(s.checked)||s.checked===!0,children:l.jsx(ve.span,{...i,ref:t,"data-state":vw(s.checked)})})});IR.displayName=gw;var aie="MenuSeparator",LR=y.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return l.jsx(ve.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});LR.displayName=aie;var lie="MenuArrow",OR=y.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=df(n);return l.jsx(xx,{...i,...r,ref:t})});OR.displayName=lie;var cie="MenuSub",[Vme,DR]=mo(cie),Nl="MenuSubTrigger",MR=y.forwardRef((e,t)=>{const n=go(Nl,e.__scopeMenu),r=uu(Nl,e.__scopeMenu),i=DR(Nl,e.__scopeMenu),s=hw(Nl,e.__scopeMenu),o=y.useRef(null),{pointerGraceTimerRef:a,onPointerGraceIntentChange:c}=s,u={__scopeMenu:e.__scopeMenu},p=y.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return y.useEffect(()=>p,[p]),y.useEffect(()=>{const d=a.current;return()=>{window.clearTimeout(d),c(null)}},[a,c]),l.jsx(dw,{asChild:!0,...u,children:l.jsx(ER,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":FR(n.open),...e,ref:Th(t,i.onTriggerChange),onClick:d=>{var h;(h=e.onClick)==null||h.call(e,d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:X(e.onPointerMove,$c(d=>{s.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(s.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:X(e.onPointerLeave,$c(d=>{var f,m;p();const h=(f=n.content)==null?void 0:f.getBoundingClientRect();if(h){const g=(m=n.content)==null?void 0:m.dataset.side,x=g==="right",v=x?-5:5,b=h[x?"left":"right"],w=h[x?"right":"left"];s.onPointerGraceIntentChange({area:[{x:d.clientX+v,y:d.clientY},{x:b,y:h.top},{x:w,y:h.top},{x:w,y:h.bottom},{x:b,y:h.bottom}],side:g}),window.clearTimeout(a.current),a.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(d),d.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:X(e.onKeyDown,d=>{var f;const h=s.searchRef.current!=="";e.disabled||h&&d.key===" "||Ure[r.dir].includes(d.key)&&(n.onOpenChange(!0),(f=n.content)==null||f.focus(),d.preventDefault())})})})});MR.displayName=Nl;var BR="MenuSubContent",$R=y.forwardRef((e,t)=>{const n=CR(Rn,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,s=go(Rn,e.__scopeMenu),o=uu(Rn,e.__scopeMenu),a=DR(BR,e.__scopeMenu),c=y.useRef(null),u=_e(t,c);return l.jsx(Bc.Provider,{scope:e.__scopeMenu,children:l.jsx(yn,{present:r||s.open,children:l.jsx(Bc.Slot,{scope:e.__scopeMenu,children:l.jsx(fw,{id:a.contentId,"aria-labelledby":a.triggerId,...i,ref:u,align:"start",side:o.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{var d;o.isUsingKeyboardRef.current&&((d=c.current)==null||d.focus()),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:X(e.onFocusOutside,p=>{p.target!==a.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:X(e.onEscapeKeyDown,p=>{o.onClose(),p.preventDefault()}),onKeyDown:X(e.onKeyDown,p=>{var f;const d=p.currentTarget.contains(p.target),h=Vre[o.dir].includes(p.key);d&&h&&(s.onOpenChange(!1),(f=a.trigger)==null||f.focus(),p.preventDefault())})})})})})});$R.displayName=BR;function FR(e){return e?"open":"closed"}function th(e){return e==="indeterminate"}function vw(e){return th(e)?"indeterminate":e?"checked":"unchecked"}function uie(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function die(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function pie(e,t,n){const i=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let o=die(e,Math.max(s,0));i.length===1&&(o=o.filter(u=>u!==n));const c=o.find(u=>u.toLowerCase().startsWith(i.toLowerCase()));return c!==n?c:void 0}function hie(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const a=t[s],c=t[o],u=a.x,p=a.y,d=c.x,h=c.y;p>r!=h>r&&n<(d-u)*(r-p)/(h-p)+u&&(i=!i)}return i}function fie(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return hie(n,t)}function $c(e){return t=>t.pointerType==="mouse"?e(t):void 0}var mie=kR,gie=dw,vie=jR,yie=SR,bie=mw,xie=_R,wie=pf,kie=TR,Cie=AR,jie=RR,Sie=IR,_ie=LR,Eie=OR,Tie=MR,Pie=$R,hf="DropdownMenu",[Aie,Wme]=Ln(hf,[xR]),Vt=xR(),[Nie,zR]=Aie(hf),UR=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:s,onOpenChange:o,modal:a=!0}=e,c=Vt(t),u=y.useRef(null),[p,d]=Mr({prop:i,defaultProp:s??!1,onChange:o,caller:hf});return l.jsx(Nie,{scope:t,triggerId:Rr(),triggerRef:u,contentId:Rr(),open:p,onOpenChange:d,onOpenToggle:y.useCallback(()=>d(h=>!h),[d]),modal:a,children:l.jsx(mie,{...c,open:p,onOpenChange:d,dir:r,modal:a,children:n})})};UR.displayName=hf;var VR="DropdownMenuTrigger",WR=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,s=zR(VR,n),o=Vt(n);return l.jsx(gie,{asChild:!0,...o,children:l.jsx(ve.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...i,ref:Th(t,s.triggerRef),onPointerDown:X(e.onPointerDown,a=>{!r&&a.button===0&&a.ctrlKey===!1&&(s.onOpenToggle(),s.open||a.preventDefault())}),onKeyDown:X(e.onKeyDown,a=>{r||(["Enter"," "].includes(a.key)&&s.onOpenToggle(),a.key==="ArrowDown"&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(a.key)&&a.preventDefault())})})})});WR.displayName=VR;var Rie="DropdownMenuPortal",HR=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Vt(t);return l.jsx(vie,{...r,...n})};HR.displayName=Rie;var GR="DropdownMenuContent",KR=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=zR(GR,n),s=Vt(n),o=y.useRef(!1);return l.jsx(yie,{id:i.contentId,"aria-labelledby":i.triggerId,...s,...r,ref:t,onCloseAutoFocus:X(e.onCloseAutoFocus,a=>{var c;o.current||(c=i.triggerRef.current)==null||c.focus(),o.current=!1,a.preventDefault()}),onInteractOutside:X(e.onInteractOutside,a=>{const c=a.detail.originalEvent,u=c.button===0&&c.ctrlKey===!0,p=c.button===2||u;(!i.modal||p)&&(o.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});KR.displayName=GR;var qie="DropdownMenuGroup",Iie=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Vt(n);return l.jsx(bie,{...i,...r,ref:t})});Iie.displayName=qie;var Lie="DropdownMenuLabel",JR=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Vt(n);return l.jsx(xie,{...i,...r,ref:t})});JR.displayName=Lie;var Oie="DropdownMenuItem",YR=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Vt(n);return l.jsx(wie,{...i,...r,ref:t})});YR.displayName=Oie;var Die="DropdownMenuCheckboxItem",QR=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Vt(n);return l.jsx(kie,{...i,...r,ref:t})});QR.displayName=Die;var Mie="DropdownMenuRadioGroup",Bie=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Vt(n);return l.jsx(Cie,{...i,...r,ref:t})});Bie.displayName=Mie;var $ie="DropdownMenuRadioItem",XR=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Vt(n);return l.jsx(jie,{...i,...r,ref:t})});XR.displayName=$ie;var Fie="DropdownMenuItemIndicator",ZR=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Vt(n);return l.jsx(Sie,{...i,...r,ref:t})});ZR.displayName=Fie;var zie="DropdownMenuSeparator",eq=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Vt(n);return l.jsx(_ie,{...i,...r,ref:t})});eq.displayName=zie;var Uie="DropdownMenuArrow",Vie=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Vt(n);return l.jsx(Eie,{...i,...r,ref:t})});Vie.displayName=Uie;var Wie="DropdownMenuSubTrigger",tq=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Vt(n);return l.jsx(Tie,{...i,...r,ref:t})});tq.displayName=Wie;var Hie="DropdownMenuSubContent",nq=y.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Vt(n);return l.jsx(Pie,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});nq.displayName=Hie;var Gie=UR,Kie=WR,Jie=HR,rq=KR,iq=JR,sq=YR,oq=QR,aq=XR,lq=ZR,cq=eq,uq=tq,dq=nq;const Lj=Gie,Oj=Kie,Yie=y.forwardRef(({className:e,inset:t,children:n,...r},i)=>l.jsxs(uq,{ref:i,className:K("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[state=open]:bg-accent focus:bg-accent",t&&"pl-8",e),...r,children:[n,l.jsx(Rh,{className:"ml-auto h-4 w-4"})]}));Yie.displayName=uq.displayName;
vendor: 3,958 bytes, line 3223
3223const Qie=y.forwardRef(({className:e,...t},n)=>l.jsx(dq,{ref:n,className:K("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Qie.displayName=dq.displayName;const Ty=y.forwardRef(({className:e,sideOffset:t=4,...n},r)=>l.jsx(Jie,{children:l.jsx(rq,{ref:r,sideOffset:t,className:K("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));Ty.displayName=rq.displayName;const Xie=y.forwardRef(({className:e,inset:t,...n},r)=>l.jsx(sq,{ref:r,className:K("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",t&&"pl-8",e),...n}));Xie.displayName=sq.displayName;const Py=y.forwardRef(({className:e,children:t,checked:n,...r},i)=>l.jsxs(oq,{ref:i,className:K("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",e),checked:n,...r,children:[l.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:l.jsx(lq,{children:l.jsx(vT,{className:"h-4 w-4"})})}),t]}));Py.displayName=oq.displayName;const Zie=y.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(aq,{ref:r,className:K("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",e),...n,children:[l.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:l.jsx(lq,{children:l.jsx(KM,{className:"h-2 w-2 fill-current"})})}),t]}));Zie.displayName=aq.displayName;const Ay=y.forwardRef(({className:e,inset:t,...n},r)=>l.jsx(iq,{ref:r,className:K("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));Ay.displayName=iq.displayName;const Ny=y.forwardRef(({className:e,...t},n)=>l.jsx(cq,{ref:n,className:K("-mx-1 my-1 h-px bg-muted",e),...t}));Ny.displayName=cq.displayName;var ff="Popover",[pq,Hme]=Ln(ff,[Ja]),du=Ja(),[ese,xs]=pq(ff),hq=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:s,modal:o=!1}=e,a=du(t),c=y.useRef(null),[u,p]=y.useState(!1),[d,h]=Mr({prop:r,defaultProp:i??!1,onChange:s,caller:ff});return l.jsx(yx,{...a,children:l.jsx(ese,{scope:t,contentId:Rr(),triggerRef:c,open:d,onOpenChange:h,onOpenToggle:y.useCallback(()=>h(f=>!f),[h]),hasCustomAnchor:u,onCustomAnchorAdd:y.useCallback(()=>p(!0),[]),onCustomAnchorRemove:y.useCallback(()=>p(!1),[]),modal:o,children:n})})};hq.displayName=ff;var fq="PopoverAnchor",tse=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=xs(fq,n),s=du(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:a}=i;return y.useEffect(()=>(o(),()=>a()),[o,a]),l.jsx(Dh,{...s,...r,ref:t})});tse.displayName=fq;var mq="PopoverTrigger",gq=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=xs(mq,n),s=du(n),o=_e(t,i.triggerRef),a=l.jsx(ve.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":wq(i.open
vendor: 4,764 bytes, line 3223
3223),...r,ref:o,onClick:X(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?a:l.jsx(Dh,{asChild:!0,...s,children:a})});gq.displayName=mq;var yw="PopoverPortal",[nse,rse]=pq(yw,{forceMount:void 0}),vq=e=>{const{__scopePopover:t,forceMount:n,children:r,container:i}=e,s=xs(yw,t);return l.jsx(nse,{scope:t,forceMount:n,children:l.jsx(yn,{present:n||s.open,children:l.jsx(Zc,{asChild:!0,container:i,children:r})})})};vq.displayName=yw;var Da="PopoverContent",yq=y.forwardRef((e,t)=>{const n=rse(Da,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,s=xs(Da,e.__scopePopover);return l.jsx(yn,{present:r||s.open,children:s.modal?l.jsx(sse,{...i,ref:t}):l.jsx(ose,{...i,ref:t})})});yq.displayName=Da;var ise=oo("PopoverContent.RemoveScroll"),sse=y.forwardRef((e,t)=>{const n=xs(Da,e.__scopePopover),r=y.useRef(null),i=_e(t,r),s=y.useRef(!1);return y.useEffect(()=>{const o=r.current;if(o)return Xx(o)},[]),l.jsx(Qh,{as:ise,allowPinchZoom:!0,children:l.jsx(bq,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:X(e.onCloseAutoFocus,o=>{var a;o.preventDefault(),s.current||(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:X(e.onPointerDownOutside,o=>{const a=o.detail.originalEvent,c=a.button===0&&a.ctrlKey===!0,u=a.button===2||c;s.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:X(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1})})})}),ose=y.forwardRef((e,t)=>{const n=xs(Da,e.__scopePopover),r=y.useRef(!1),i=y.useRef(!1);return l.jsx(bq,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var o,a;(o=e.onCloseAutoFocus)==null||o.call(e,s),s.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),s.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:s=>{var c,u;(c=e.onInteractOutside)==null||c.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const o=s.target;((u=n.triggerRef.current)==null?void 0:u.contains(o))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),bq=y.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:o,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:u,onInteractOutside:p,...d}=e,h=xs(Da,n),f=du(n);return Qx(),l.jsx(Jh,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:s,children:l.jsx(Wa,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:p,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:u,onDismiss:()=>h.onOpenChange(!1),children:l.jsx(bx,{"data-state":wq(h.open),role:"dialog",id:h.contentId,...f,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),xq="PopoverClose",ase=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=xs(xq,n);return l.jsx(ve.button,{type:"button",...r,ref:t,onClick:X(e.onClick,()=>i.onOpenChange(!1))})});ase.displayName=xq;var lse="PopoverArrow",cse=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=du(n);return l.jsx(xx,{...i,...r,ref:t})});cse.displayName=lse;function wq(e){return e?"open":"closed"}var use=hq,dse=gq,pse=vq,kq=yq;const hse=use,fse=dse,Cq=y.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},i)=>l.jsx(pse,{children:l.jsx(kq,{ref:i,align:t,sideOffset:n,className:K("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));Cq.displayName=kq.displayName;function jq(e,[t,n]){return Math.min(n,Math.max(t,e))}function mse(e){const t=y.useRef({value:e,previous:e});return y.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Sq=["PageUp","PageDown"],_q=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Eq={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},el="Slider",[Ry,gse,vse]=Xc(el),[Tq,Gme]=Ln(el,[vse]),[yse,mf]=Tq(el),Pq=y.forwardRef((e,t)=>
3223{const{name:n,min:r=0,max:i=100,step:s=1,orientation:o="horizontal",disabled:a=!1,minStepsBetweenThumbs:c=0,defaultValue:u=[r],value:p,onValueChange:d=()=>{},onValueCommit:h=()=>{},inverted:f=!1,form:m,...g}=e,x=y.useRef(new Set),v=y.useRef(0),w=o==="horizontal"?bse:xse,[k=[],S]=Mr({prop:p,defaultProp:u,onChange:q=>{var D;(D=[...x.current][v.current])==null||D.focus(),d(q)}}),C=y.useRef(k);function T(q){const A=Sse(k,q);j(q,A)}function P(q){j(q,v.current)}function R(){const q=C.current[v.current];k[v.current]!==q&&h(k)}function j(q,A,{commit:D}={commit:!1}){const L=Pse(s),$=Ase(Math.round((q-r)/s)*s+r,L),B=jq($,[r,i]);S((V=[])=>{const I=Cse(V,B,A);if(Tse(I,c*s)){v.current=I.indexOf(B);const N=String(I)!==String(V);return N&&D&&h(I),N?I:V}else return V})}return l.jsx(yse,{scope:e.__scopeSlider,name:n,disabled:a,min:r,max:i,valueIndexToChangeRef:v,thumbs:x.current,values:k,orientation:o,form:m,children:l.jsx(Ry.Provider,{scope:e.__scopeSlider,children:l.jsx(Ry.Slot,{scope:e.__scopeSlider,children:l.jsx(w,{"aria-disabled":a,"data-disabled":a?"":void 0,...g,ref:t,onPointerDown:X(g.onPointerDown,()=>{a||(C.current=k)}),min:r,max:i,inverted:f,onSlideStart:a?void 0:T,onSlideMove:a?void 0:P,onSlideEnd:a?void 0:R,onHomeKeyDown:()=>!a&&j(r,0,{commit:!0}),onEndKeyDown:()=>!a&&j(i,k.length-1,{commit:!0}),onStepKeyDown:({event:q,direction:A})=>{if(!a){const $=Sq.includes(q.key)||q.shiftKey&&_q.includes(q.key)?10:1,B=v.current,V=k[B],I=s*$*A;j(V+I,B,{commit:!0})}}})})})})});Pq.displayName=el;var[Aq,Nq]=Tq(el,{startEdge:"left",endEdge:"right",size:"width",direction:1}),bse=y.forwardRef((e,t)=>{const{min:n,max:r,dir:i,inverted:s,onSlideStart:o,onSlideMove:a,onSlideEnd:c,onStepKeyDown:u,...p}=e,[d,h]=y.useState(null),f=_e(t,w=>h(w)),m=y.useRef(void 0),g=uf(i),x=g==="ltr",v=x&&!s||!x&&s;function b(w){const k=m.current||d.getBoundingClientRect(),S=[0,k.width],T=bw(S,v?[n,r]:[r,n]);return m.current=k,T(w-k.left)}return l.jsx(Aq,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width",children:l.jsx(Rq,{dir:g,"data-orientation":"horizontal",...p,ref:f,style:{...p.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:w=>{const k=b(w.clientX);o==null||o(k)},onSlideMove:w=>{const k=b(w.clientX);a==null||a(k)},onSlideEnd:()=>{m.current=void 0,c==null||c()},onStepKeyDown:w=>{const S=Eq[v?"from-left":"from-right"].includes(w.key);u==null||u({event:w,direction:S?-1:1})}})})}),xse=y.forwardRef((e,t)=>{const{min:n,max:r,inverted:i,onSlideStart:s,onSlideMove:o,onSlideEnd:a,onStepKeyDown:c,...u}=e,p=y.useRef(null),d=_e(t,p),h=y.useRef(void 0),f=!i;function m(g){const x=h.current||p.current.getBoundingClientRect(),v=[0,x.height],w=bw(v,f?[r,n]:[n,r]);return h.current=x,w(g-x.top)}return l.jsx(Aq,{scope:e.__scopeSlider,startEdge:f?"bottom":"top",endEdge:f?"top":"bottom",size:"height",direction:f?1:-1,children:l.jsx(Rq,{"data-orientation":"vertical",...u,ref:d,style:{...u.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:g=>{const x=m(g.clientY);s==null||s(x)},onSlideMove:g=>{const x=m(g.clientY);o==null||o(x)},onSlideEnd:()=>{h.current=void 0,a==null||a()},onStepKeyDown:g=>{const v=Eq[f?"from-bottom":"from-top"].includes(g.key);c==null||c({event:g,direction:v?-1:1})}})})}),Rq=y.forwardRef((e,t)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:i,onSlideEnd:s,onHomeKeyDown:o,onEndKeyDown:a,onStepKeyDown:c,...u}=e,p=mf(el,n);return l.jsx(ve.span,{...u,ref:t,onKeyDown:X(e.onKeyDown,d=>{d.key==="Home"?(o(d),d.preventDefault()):d.key==="End"?(a(d),d.preventDefault()):Sq.concat(_q).includes(d.key)&&(c(d),d.preventDefault())}),onPointerDown:X(e.onPointerDown,d=>{const h=d.target;h.setPointerCapture(d.pointerId),d.preventDefault(),p.thumbs.has(h)?h.focus():r(d)}),onPointerMove:X(e.onPointerMove,d=>{d.target.hasPointerCapture(d.pointerId)&&i(d)}),onPointerUp:X(e.onPointerUp,d=>{const h=d.target;h.hasPointerCapture(d.pointerId)&&(h.releasePointerCapture(d.pointerId),s(d))})})}),qq="SliderTrack",Iq=y.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,i=mf(qq,n);return l.jsx(ve.span,{"data-disabled":i.disabled?"":void 0,"data-orientation":i.orientation,...r,ref:t})});Iq.displayName=qq;var qy="SliderRange",Lq=y.forwardRef((e,t)=>
3223{const{__scopeSlider:n,...r}=e,i=mf(qy,n),s=Nq(qy,n),o=y.useRef(null),a=_e(t,o),c=i.values.length,u=i.values.map(h=>Mq(h,i.min,i.max)),p=c>1?Math.min(...u):0,d=100-Math.max(...u);return l.jsx(ve.span,{"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,...r,ref:a,style:{...e.style,[s.startEdge]:p+"%",[s.endEdge]:d+"%"}})});Lq.displayName=qy;var Iy="SliderThumb",Oq=y.forwardRef((e,t)=>{const n=gse(e.__scopeSlider),[r,i]=y.useState(null),s=_e(t,a=>i(a)),o=y.useMemo(()=>r?n().findIndex(a=>a.ref.current===r):-1,[n,r]);return l.jsx(wse,{...e,ref:s,index:o})}),wse=y.forwardRef((e,t)=>{const{__scopeSlider:n,index:r,name:i,...s}=e,o=mf(Iy,n),a=Nq(Iy,n),[c,u]=y.useState(null),p=_e(t,b=>u(b)),d=c?o.form||!!c.closest("form"):!0,h=UT(c),f=o.values[r],m=f===void 0?0:Mq(f,o.min,o.max),g=jse(r,o.values.length),x=h==null?void 0:h[a.size],v=x?_se(x,m,a.direction):0;return y.useEffect(()=>{if(c)return o.thumbs.add(c),()=>{o.thumbs.delete(c)}},[c,o.thumbs]),l.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[a.startEdge]:`calc(${m}% + ${v}
3223px)`},children:[l.jsx(Ry.ItemSlot,{scope:e.__scopeSlider,children:l.jsx(ve.span,{role:"slider","aria-label":e["aria-label"]||g,"aria-valuemin":o.min,"aria-valuenow":f,"aria-valuemax":o.max,"aria-orientation":o.orientation,"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,tabIndex:o.disabled?void 0:0,...s,ref:p,style:f===void 0?{display:"none"}:e.style,onFocus:X(e.onFocus,()=>{o.valueIndexToChangeRef.current=r})})}),d&&l.jsx(Dq,{name:i??(o.name?o.name+(o.values.length>1?"[]":""):void 0),form:o.form,value:f},r)]})});Oq.displayName=Iy;var kse="RadioBubbleInput",Dq=y.forwardRef(({__scopeSlider:e,value:t,...n},r)=>{const i=y.useRef(null),s=_e(i,r),o=mse(t);return y.useEffect(()=>{const a=i.current;if(!a)return;const c=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(c,"value").set;if(o!==t&&p){const d=new Event("input",{bubbles:!0});p.call(a,t),a.dispatchEvent(d)}},[o,t]),l.jsx(ve.input,{style:{display:"none"},...n,ref:s,defaultValue:t})});Dq.displayName=kse;function Cse(e=[],t,n){const r=[...e];return r[n]=t,r.sort((i,s)=>i-s)}function Mq(e,t,n){const s=100/(n-t)*(e-t);return jq(s,[0,100])}function jse(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function Sse(e,t){if(e.length===1)return 0;const n=e.map(i=>Math.abs(i-t)),r=Math.min(...n);return n.indexOf(r)}function _se(e,t,n){const r=e/2,s=bw([0,50],[0,r]);return(r-s(t)*n)*n}function Ese(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function Tse(e,t){if(t>0){const n=Ese(e);return Math.min(...n)>=t}return!0}function bw(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function Pse(e){return(String(e).split(".")[1]||"").length}function Ase(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}var Bq=Pq,Nse=Iq,Rse=Lq,qse=Oq;const $q=y.forwardRef(({className:e,...t},n)=>l.jsxs(Bq,{ref:n,className:K("relative flex w-full touch-none select-none items-center",e),...t,children:[l.jsx(Nse,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:l.jsx(Rse,{className:"absolute h-full bg-primary"})}),l.jsx(qse,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]}));$q.displayName=Bq.displayName;const Xm=30;function Zm({label:e,active:t,count:n}){return l.jsxs("button",{type:"button",className:K("inline-flex items-center gap-2 rounded-full px-5 py-2.5 text-sm font-medium transition-colors",t?"bg-accent text-accent-foreground":"bg-accent/90 text-accent-foreground hover:bg-accent"),children:[e,n?l.jsx("span",{className:"grid h-5 min-w-5 place-items-center rounded-full bg-white/25 px-1.5 text-[11px]",children:n}):null,l.jsx(Sp,{className:"h-4 w-4 opacity-90"})]})}function Ise(e){const{categories:t,formats:n,maxParticipants:r,onToggleCategory:i,onToggleFormat:s,onSetMaxParticipants:o,onReset:a,mention:c}=e,u=nt(),p=me(),d=t.size>0||n.size>0||r!==null;return l.jsxs("div",{className:"flex flex-col gap-4",children:[l.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[c?l.jsx("span",{className:"inline-flex max-w-[14rem] items-center rounded-2xl border border-foreground
3223/30 bg-cream px-4 py-2 text-xs font-medium leading-snug text-foreground",children:c}):null,l.jsxs(Lj,{children:[l.jsx(Oj,{asChild:!0,children:l.jsx("div",{children:l.jsx(Zm,{label:p("Catégorie","Category"),active:t.size>0,count:t.size||void 0})})}),l.jsxs(Ty,{align:"start",className:"w-64",children:[l.jsx(Ay,{children:p("Filtrer par catégorie","Filter by category")}),l.jsx(Ny,{}),FW.map(h=>l.jsx(Py,{checked:t.has(h),onCheckedChange:()=>i(h),children:Vp(h,u)},h))]})]}),l.jsxs(Lj,{children:[l.jsx(Oj,{asChild:!0,children:l.jsx("div",{children:l.jsx(Zm,{label:p("Format","Format"),active:n.size>0,count:n.size||void 0})})}),l.jsxs(Ty,{align:"start",className:"w-56",children:[l.jsx(Ay,{children:p("Filtrer par format","Filter by format")}),l.jsx(Ny,{}),zW.map(h=>l.jsx(Py,{checked:n.has(h),onCheckedChange:()=>s(h),children:py(h,u)},h))]})]}),l.jsxs(hse,{children:[l.jsx(fse,{asChild:!0,children:l.jsx("div",{children:l.jsx(Zm,{label:p("Nombre de participants","Number of participants"),active:r!==null})})}),l.jsx(Cq,{align:"start",className:"w-72",children:l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{children:[l.jsx("p",{className:"text-sm font-semibold text-foreground",children:p("Participants maximum","Maximum participants")}),l.jsx("p",{className:"mt-1 text-xs text-muted-foreground",children:p("Filtre les ateliers acceptant jusqu'à ce nombre.","Filters workshops that accept up to this number.")})]}),l.jsx("div",{className:"text-center font-display text-2xl font-semibold",children:p(`Jusqu'à ${r??Xm} pers.`,`Up to ${r??Xm} ppl.`)}),l.jsx($q,{min:5,max:50,step:5,value:[r??Xm],onValueChange:h=>o(h[0])}),l.jsxs("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[l.jsx("span",{children:"5"}),l.jsx("span",{children:"50"})]}),r!==null&&l.jsx("button",{type:"button",onClick:()=>o(null),className:"w-full text-center text-xs font-medium text-accent hover:underline",children:p("Retirer ce filtre","Remove this filter")})]})})]})]}),d&&l.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[[...t].map(h=>l.jsx(eg,{label:Vp(h,u),onRemove:()=>i(h)},`c-${h}`)),[...n].map(h=>l.jsx(eg,{label:py(h,u),onRemove:()=>s(h)},`f-${h}`)),r!==null&&l.jsx(eg,{label:p(`Jusqu'à ${r} pers.`,`Up to ${r} ppl.`),onRemove:()=>o(null)}),l.jsxs("button",{type:"button",onClick:a,className:"ml-1 inline-flex items-center gap-1.5 text-xs font-medium text-foreground/70 transition-colors hover:text-foreground",children:[l.jsx(s6,{className:"h-3.5 w-3.5"}),p("Réinitialiser les filtres","Reset filters")]})]})]})}function eg({label:e,onRemove:t}){return l.jsxs("button",{type:"button",onClick:t,"aria-label":`Remove ${e}`,className:"group inline-flex items-center gap-2 rounded-full border border-border bg-card px-3 py-1.5 text-xs font-medium text-foreground transition-colors hover:border-foreground
3223/40 hover:bg-muted",children:[e,l.jsx("span",{className:"grid h-4 w-4 place-items-center rounded-full text-foreground/60 transition-colors group-hover:bg-foreground group-hover:text-background",children:l.jsx(lr,{className:"h-3 w-3"})})]})}function Fq({slug:e,title:t,variant:n="card",className:r}){const{isFavorite:i,toggle:s}=Kh(),o=me(),a=i(e),c=o("Ajouter à mes favoris","Add to my favorites"),u=o("Retirer des favoris","Remove from favorites"),p=a?u:c,d=f=>{f.preventDefault(),f.stopPropagation(),s(e)?P1.success(t?o(`« ${t} » ajouté à vos favoris`,`"${t}" added to your favorites`):o("Ajouté à vos favoris","Added to your favorites")):P1(t?o(`« ${t} » retiré des favoris`,`"${t}" removed from favorites`):o("Retiré des favoris","Removed from favorites"))},h=n==="hero"?"h-12 w-12":"h-10 w-10";return l.jsx(aP,{delayDuration:150,children:l.jsxs(y8,{children:[l.jsx(b8,{asChild:!0,children:l.jsx("button",{type:"button",onClick:d,"aria-pressed":a,"aria-label":p,className:K("group/fav relative grid place-items-center rounded-full bg-cream/95 text-foreground shadow-card backdrop-blur-sm transition-all duration-200 hover:scale-110 hover:bg-cream focus:outline-none focus-visible:ring-2 focus-visible:ring-accent",h,r),children:l.jsx(Ir,{mode:"wait",initial:!1,children:l.jsx(re.span,{initial:{scale:.6,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.6,opacity:0},transition:{duration:.18},className:"grid place-items-center",children:l.jsx(wc,{className:K("transition-colors",n==="hero"?"h-5 w-5":"h-[18px] w-[18px]",a?"fill-accent text-accent":"fill-transparent text-foreground"),strokeWidth:2})},a?"on":"off")})})}),l.jsx(lP,{side:"right",children:p})]})})}const Lse=re(ie);function zq({atelier:e,index:t=0}){const n=nt(),r=We(),i=me();return l.jsxs(Lse,{to:r(`/ateliers/${e.slug}`),initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.5,delay:t%4*.06},className:"group flex h-full flex-col overflow-hidden rounded-[2rem] bg-impact p-3 shadow-sm transition-all duration-300 hover:-translate-y-1 hover:shadow-card",children:[l.jsxs("div",{className:"relative overflow-hidden rounded-[1.5rem]",children:[l.jsx("img",{src:e.image,alt:e.title,width:800,height:600,loading:"lazy",className:"aspect-[16/10] w-full object-cover transition-transform duration-500 ease-smooth group-hover:scale-105"}),l.jsx(Fq,{slug:e.slug,title:e.title,className:"absolute left-3 top-3"})]}),l.jsxs("div",{className:"flex flex-1 flex-col px-4 pt-5 pb-5 md:px-5",children:[l.jsxs("div",{className:"flex flex-wrap gap-2",children:[l.jsx(tg,{children:Vp(e.category,n)}),e.maxParticipants?l.jsx(tg,{children:i(`Maximum ${e.maxParticipants} personnes`,`Up to ${e.maxParticipants} people`)}):null,l.jsx(tg,{children:e.formats.map(s=>py(s,n)).join(" · ")})]}),l.jsx("h3",{className:"mt-5 font-display text-xl font-bold leading-tight text-foreground md:text-2xl",children:e.title}),l.jsx("p",{className:"mt-3 text-sm leading-relaxed text-foreground/70",children:e.blurb}),l.jsxs("p",{className:"mt-4 flex-1 text-sm font-semibold text-foreground",children:[i("À partir de ","From "),e.slug==="art-du-feedback"?n==="en"?"$1,500":"1 500 $":n==="en"?"$2,700":"2 700 $"]}),l.jsx("div",{className:"mt-6 flex items-center justify-end",children:l.jsxs("span",{className:"inline-flex items-center gap-2 text-sm font-medium text-foreground",children:[i("Voir détails","View details"),l.jsx("span",{className:"grid h-9 w-9 place-items-center rounded-full bg-accent text-accent-foreground transition-transform duration-300 ease-smooth group-hover:translate-x-0.5",children:l.jsx(ci,{className:"h-4 w-4"})})]})})]})]})}function tg({children:e}){return l.jsx("span",{className:"inline-flex items-center rounded-full border border-foreground
3223/15 bg-card/70 px-3 py-1 text-[11px] font-medium text-foreground/80",children:e})}const Ose=8;function Dj(){const e=me(),t=rw(),[n,r]=y.useState(new Set),[i,s]=y.useState(new Set),[o,a]=y.useState(null),[c,u]=y.useState(!1);y.useEffect(()=>{document.title=e("Nos ateliers à la carte — Boîte Pac","Our à la carte workshops — Boîte Pac")},[e]);const p=(m,g)=>{const x=new Set(m);return x.has(g)?x.delete(g):x.add(g),x},d=y.useMemo(()=>t.filter(m=>!(n.size>0&&![m.category,...m.additionalCategories??[]].some(x=>n.has(x))||i.size>0&&!m.formats.some(g=>i.has(g))||o!==null&&(m.maxParticipants===void 0||m.maxParticipants<o))),[t,n,i,o]);y.useEffect(()=>{u(!1)},[n,i,o]);const h=c?d:d.slice(0,Ose),f=d.length-h.length;return l.jsxs(ht,{children:[l.jsxs("div",{className:"bg-cream",children:[l.jsx("section",{className:"pt-28 pb-12 md:pt-32 md:pb-16",children:l.jsx("div",{className:"section",children:l.jsxs(re.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6},className:"grid items-end gap-10 md:grid-cols-[1.4fr,1fr] md:gap-14",children:[l.jsx("h1",{className:"font-display text-[clamp(2.25rem,5vw,4.5rem)] font-medium leading-[1.05] tracking-[-0.02em] text-foreground",children:e(l.jsxs(l.Fragment,{children:["Nos ",l.jsx("span",{className:"font-bold",children:"ateliers"})," à la carte"]}),l.jsxs(l.Fragment,{children:["Our à la carte ",l.jsx("span",{className:"font-bold",children:"workshops"})]}))}),l.jsx("p",{className:"text-sm leading-relaxed text-foreground/70 md:text-base",children:e("Des ateliers conçus pour répondre à des besoins réels. Choisissez ceux qui parlent à votre équipe, et repartez avec des outils que vous pourrez utiliser dès le lendemain.","Workshops built for real needs. Pick the ones that resonate with your team, and leave with tools you can use the very next day.")})]})})}),l.jsx("section",{className:"pb-10 md:pb-14",children:l.jsx("div",{className:"section",children:l.jsx(Ise,{mention:e("Trouvez l'atelier qui correspond à vos besoins !","Find the workshop that fits your needs!"),categories:n,formats:i,maxParticipants:o,onToggleCategory:m=>r(g=>p(g,m)),onToggleFormat:m=>s(g=>p(g,m)),onSetMaxParticipants:a,onReset:()=>{r(new Set),s(new Set),a(null)}})})}),l.jsx("section",{className:"pb-20 md:pb-28",children:l.jsx("div",{className:"section",children:d.length===0?l.jsx("div",{className:"rounded-[2rem] border border-border bg-card/60 p-12 text-center text-foreground/70",children:e("Aucun atelier ne correspond à vos filtres pour l'instant.","No workshop matches your filters right now.")}):l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"grid gap-6 md:grid-cols-2 md:gap-8",children:h.map((m,g)=>l.jsx(zq,{atelier:m,index:g},m.slug))}),f>0&&l.jsx("div",{className:"mt-10 flex justify-center md:mt-12",children:l.jsxs(tt,{variant:"accent",size:"lg",onClick:()=>u(!0),children:[l.jsx(lx,{className:"h-5 w-5"}),e(`Voir plus d'ateliers (${f})`,`Show more workshops (${f})`)]})})]})})})]}),l.jsx(ur,{})]})}const Dse={1:"bg-blue-soft-1 border-blue-soft-3/60",2:"bg-blue-soft-2 border-blue-soft-4/60",3:"bg-blue-soft-3 border-blue-soft-border/60",4:"bg-blue-soft-4 border-blue-soft-border/80"};function Mse({children:e,tone:t=1}){return l.jsx("span",{className:`inline-flex items-center rounded-full border px-4 py-1.5 text-xs font-medium text-foreground ${Dse[t]}`,children:e})}function Bse({atelier:e,duration:t,mode:n}){const r=nt(),i=We(),s=me(),o=[t?t.replace(/^À partir de\s+|^From\s+/i,""):null,n??null,e.maxParticipants?r==="en"?`Up to ${e.maxParticipants} participants`:`Jusqu'à ${e.maxParticipants} participants`:null].filter(a=>!!a);return l.jsx("section",{className:"relative z-10 rounded-t-[2rem] md:rounded-t-[2.5rem] bg-impact pt-28 pb-24 md:pt-32 md:pb-32",children:l.jsxs("div",{className:"section",children:[l.jsxs(ie,{to:i("/nos-ateliers"),className:"inline-flex items-center gap-2 text-sm font-medium text-foreground/70 transition-colors hover:text-foreground",children:[l.jsx(Nh,{className:"h-4 w-4"}),s("Retour aux ateliers","Back to workshops")]}),l.jsxs(re.div,{initial:{opacity:0,y:16}
3223,animate:{opacity:1,y:0},transition:{duration:.6},className:"mt-6",children:[l.jsx("span",{className:"inline-flex items-center rounded-full bg-navy px-5 py-2 text-xs font-medium text-background",children:s("Ateliers à la carte","À la carte workshops")}),l.jsxs("div",{className:"mt-6 flex items-start justify-between gap-4",children:[l.jsx("h1",{className:"font-display text-[clamp(2.25rem,5vw,4.5rem)] font-medium leading-[1.05] tracking-[-0.02em] text-foreground",children:e.title}),l.jsx(Fq,{slug:e.slug,title:e.title,variant:"hero",className:"mt-2 shrink-0"})]}),o.length>0&&l.jsx("div",{className:"mt-6 flex flex-wrap gap-2",children:o.map((a,c)=>l.jsx(Mse,{tone:c%4+1,children:a},a))})]})]})})}function $se({description:e,image:t,alt:n}){const r=me();return l.jsx("section",{className:"relative z-10 -mt-8 md:-mt-12 rounded-t-[2rem] md:rounded-t-[2.5rem] bg-navy text-background overflow-hidden",children:l.jsxs("div",{className:"grid md:grid-cols-2",children:[l.jsxs("div",{className:"flex flex-col justify-center px-6 pt-8 pb-16 md:px-10 md:pt-12 md:pb-24 lg:pl-[max(2.5rem,calc((100vw-80rem)/2+2.5rem))] lg:pr-12",children:[l.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.15em] text-background/60",children:r("À propos de cet atelier","About this workshop")}),l.jsx("p",{className:"mt-5 max-w-xl text-base leading-relaxed text-background/85 md:text-lg",children:e})]}),l.jsx("div",{className:"relative min-h-[420px] md:min-h-[760px]",children:l.jsx("img",{src:t,alt:n,loading:"lazy",className:"absolute inset-0 h-full w-full object-cover"})})]})})}function Fse({topics:e,image:t,alt:n}){const r=me();return!e||e.length===0?null:l.jsx("section",{className:"relative z-10 -mt-8 md:-mt-12 rounded-t-[2rem] md:rounded-t-[2.5rem] bg-impact overflow-hidden",children:l.jsxs("div",{className:"grid items-stretch md:grid-cols-2",children:[l.jsx("div",{className:"relative min-h-[420px] md:min-h-[760px] order-2 md:order-1",children:l.jsx("img",{src:t,alt:n,loading:"lazy",className:"absolute inset-0 h-full w-full object-cover"})}),l.jsxs("div",{className:"order-1 md:order-2 flex flex-col justify-center px-6 pt-8 pb-16 md:px-10 md:pt-12 md:pb-24 lg:pl-12 lg:pr-[max(2.5rem,calc((100vw-80rem)/2+2.5rem))]",children:[l.jsx("div",{className:"flex justify-center md:justify-start",children:l.jsx("span",{className:"inline-flex items-center rounded-full bg-navy px-5 py-2 text-xs font-medium text-background",children:r("Sujets abordés","Topics covered")})}),l.jsx("ul",{className:"mt-5 space-y-3",children:e.map(i=>l.jsx("li",{className:"rounded-full bg-card px-6 py-4 text-sm font-medium text-foreground shadow-sm md:text-base",children:i},i))})]})]})})}function zse({takeaways:e}){const t=me();return!e||e.length===0?null:l.jsx("section",{className:"relative z-10 -mt-8 md:-mt-12 rounded-t-[2rem] md:rounded-t-[2.5rem] bg-navy",children:l.jsx("div",{className:"section pt-16 pb-24 md:pt-20 md:pb-32",children:l.jsxs("div",{className:"rounded-[2rem] bg-card px-6 py-8 md:px-10 md:py-10",children:[l.jsx("div",{className:"flex justify-center",children:l.jsx("span",{className:"inline-flex items-center rounded-full bg-navy px-5 py-2 text-xs font-medium text-background",children:t("Ce avec quoi vous repartirez","What you'll leave with")})}),l.jsx("ul",{className:"mt-8 grid gap-x-8 gap-y-3 md:gap-y-4 md:grid-cols-2",children:e.map((n,r)=>l.jsxs("li",{className:"flex items-start gap-3 text-sm leading-relaxed text-foreground md:text-base",children:[l.jsx("span",{className:"mt-0.5 grid h-6 w-6 shrink-0 place-items-center rounded-full bg-foreground text-background",children:l.jsx(vT,{className:"h-3.5 w-3.5",strokeWidth:3})}),l.jsx("span",{children:n})]},r))})]})})})}function Use({audience:e,image:t,alt:n,slug:r}){const i=We(),s=me();return!e||e.length===0?null:l.jsx("section",{className:"relative z-10 -mt-8 md:-mt-12 rounded-t-[2rem] md:rounded-t-[2.5rem] bg-leadership",children:l.jsx("div",{className:"section pt-16 pb-24 md:pt-20 md:pb-32",children:l.jsxs("div",{className:"grid items-center gap-8 md:grid-cols-2 md:gap-12",children:[l.jsxs("div",{className:"flex flex-col",children:[l.jsx("span",{className:"inline-flex w-fit items-center rounded-full bg-navy px-5 py-2 text-xs font-medium text-background",children:s("À qui s'adresse cet atelier","Who this workshop is for")}),l.jsx("div",{className:"mt-6 space-y-4 text-sm leading-relaxed text-foreground
3223/85 md:text-base",children:e.map((o,a)=>l.jsx("p",{children:o},a))}),l.jsx("div",{className:"mt-8",children:l.jsxs(ie,{to:i(`/contact?subject=ateliers&atelier=${r}#contact-form`),className:"group inline-flex items-center gap-3 rounded-full bg-navy px-3 py-3 pl-8 text-base font-medium text-background transition-all hover:-translate-y-0.5 hover:shadow-elevated md:text-lg",children:[s("Passer à la prochaine étape","Take the next step"),l.jsx("span",{className:"grid h-11 w-11 place-items-center rounded-full bg-accent text-accent-foreground transition-transform group-hover:translate-x-0.5",children:l.jsx(ci,{className:"h-5 w-5"})})]})})]}),l.jsx("div",{className:"overflow-hidden rounded-[1.75rem]",children:l.jsx("img",{src:t,alt:n,loading:"lazy",className:"aspect-[4/3] w-full object-cover"})})]})})})}function Vse({slugs:e}){const t=We(),n=me(),r=e.map(i=>sf.find(s=>s.slug===i)).filter(i=>!!i);return r.length===0?null:l.jsx("section",{className:"relative z-10 -mt-8 md:-mt-12 rounded-t-[2rem] md:rounded-t-[2.5rem] bg-impact",children:l.jsxs("div",{className:"section pt-14 pb-20 md:pt-16 md:pb-28",children:[l.jsx("h2",{className:"text-center font-display text-2xl font-medium text-foreground md:text-3xl",children:n("Découvrir vos formateurs·trices","Meet your facilitators")}),l.jsx("div",{className:"mt-8 flex flex-wrap justify-center gap-3 md:gap-4",children:r.map(i=>l.jsxs(ie,{to:t(`/equipe/${i.slug}`),className:"group inline-flex items-center gap-3 rounded-full bg-card pl-1.5 pr-5 py-1.5 shadow-sm transition-all hover:-translate-y-0.5 hover:shadow-card",children:[l.jsx("img",{src:i.photo,alt:i.name,className:"h-10 w-10 rounded-full object-cover",loading:"lazy"}),l.jsx("span",{className:"text-sm font-medium text-foreground",children:i.name})]},i.slug))})]})})}function Wse({slug:e}){const t=We(),n=me();return l.jsx("section",{className:"relative z-10 -mt-8 md:-mt-12 rounded-t-[2rem] md:rounded-t-[2.5rem] bg-background",children:l.jsxs("div",{className:"section pt-10 pb-24 md:pt-12 md:pb-32",children:[l.jsx("p",{className:"text-center font-display text-xl text-foreground/80 md:text-2xl",children:n("J'aimerais offrir cette formation à mon équipe.","I'd like to offer this training to my team.")}),l.jsx("div",{className:"mt-8 flex justify-center",children:l.jsxs(ie,{to:t(`/contact?subject=ateliers&atelier=${e}#contact-form`),className:"group inline-flex items-center gap-3 rounded-full bg-navy px-3 py-3 pl-8 text-base font-medium text-background transition-all hover:-translate-y-0.5 hover:shadow-elevated md:text-lg",children:[n("C'est parti!","Let's go!"),l.jsx("span",{className:"grid h-11 w-11 place-items-center rounded-full bg-accent text-accent-foreground transition-transform group-hover:translate-x-0.5",children:l.jsx(ci,{className:"h-5 w-5"})})]})})]})})}function Hse({title:e,slug:t,price:n}){const r=We(),i=me(),[s,o]=y.useState(!1),a=y.useRef(0);return y.useEffect(()=>{const c=()=>{const u=window.scrollY,p=u>a.current;p&&u>240?o(!0):p||o(!1),a.current=u};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),l.jsx(Ir,{children:s&&l.jsx(re.div,{initial:{y:"-100%",opacity:0}
3223,animate:{y:0,opacity:1},exit:{y:"-100%",opacity:0},transition:{duration:.35,ease:[.22,1,.36,1]},className:"fixed left-3 right-3 top-3 z-[60] h-16 overflow-hidden rounded-2xl bg-accent shadow-elevated md:left-6 md:right-6 md:top-4 md:h-20 md:rounded-[1.5rem]",children:l.jsxs(ie,{to:r(`/contact?subject=ateliers&atelier=${t}#contact-form`),className:"group mx-auto flex h-full w-full max-w-[1400px] items-center gap-4 px-4 text-accent-foreground md:px-6",children:[l.jsx("h2",{className:"flex-1 truncate font-display text-base font-medium tracking-[-0.01em] md:text-xl",children:e}),l.jsxs("div",{className:"hidden shrink-0 text-right text-xs leading-tight md:block",children:[l.jsx("div",{className:"font-semibold",children:i("À partir de","From")}),l.jsx("div",{className:"opacity-90",children:n})]}),l.jsxs("span",{className:"inline-flex shrink-0 items-center gap-2 py-1 pl-2 text-xs font-medium md:pl-3 md:text-sm",children:[l.jsx("span",{className:"hidden underline-offset-4 group-hover:underline md:inline leading-tight",children:i(l.jsxs(l.Fragment,{children:["Offrir cette formation",l.jsx("br",{className:"hidden lg:block"})," à mon équipe"]}),l.jsxs(l.Fragment,{children:["Offer this training",l.jsx("br",{className:"hidden lg:block"})," to my team"]}))}),l.jsx("span",{className:"md:hidden underline underline-offset-4",children:i("Offrir","Offer")}),l.jsx("span",{className:"grid h-8 w-8 place-items-center rounded-full bg-background/15 transition-transform group-hover:translate-x-0.5 md:h-9 md:w-9",children:l.jsx(ci,{className:"h-3.5 w-3.5 md:h-4 md:w-4"})})]})]})})})}function Gse({ateliers:e}){const t=me();return e.length===0?null:l.jsx("section",{className:"relative z-10 -mt-8 md:-mt-12 rounded-t-[2rem] md:rounded-t-[2.5rem] bg-blue-soft-3",children:l.jsxs("div",{className:"section pt-16 pb-24 md:pt-20 md:pb-32",children:[l.jsx("div",{className:"flex justify-center",children:l.jsx("span",{className:"inline-flex items-center rounded-full border border-foreground
3223/30 bg-card/80 px-5 py-2 text-xs font-medium text-foreground",children:t("Certains combinent cet atelier avec ceux-ci","Some teams pair this workshop with these")})}),l.jsx("div",{className:"mt-10 grid gap-6 md:grid-cols-3 md:gap-8",children:e.map((n,r)=>l.jsx(zq,{atelier:n,index:r},n.slug))})]})})}const Kse=1,Jse="646e0afa-617f-4014-8fee-150499545eb2",Yse="2a085179-0a1c-43ad-88f9-631c9eab2259",Qse="/__l5e/assets-v1/646e0afa-617f-4014-8fee-150499545eb2/db.png",Xse="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/646e0afa-617f-4014-8fee-150499545eb2/db.png",Zse="db.png",eoe=28628,toe="image/png",noe="2026-06-08T19:58:58Z",roe={version:Kse,asset_id:Jse,project_id:Yse,url:Qse,r2_key:Xse,original_filename:Zse,size:eoe,content_type:toe,created_at:noe},ioe=1,soe="28c558c9-e06f-4e1d-9fea-afc64fc10c57",ooe="2a085179-0a1c-43ad-88f9-631c9eab2259",aoe="/__l5e/assets-v1/28c558c9-e06f-4e1d-9fea-afc64fc10c57/novatize.png",loe="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/28c558c9-e06f-4e1d-9fea-afc64fc10c57/novatize.png",coe="novatize.png",uoe=9618,doe="image/png",poe="2026-06-18T11:45:52Z",hoe={version:ioe,asset_id:soe,project_id:ooe,url:aoe,r2_key:loe,original_filename:coe,size:uoe,content_type:doe,created_at:poe},foe=1,moe="f2f4dbbc-0905-4929-ae58-ed35462bf086",goe="2a085179-0a1c-43ad-88f9-631c9eab2259",voe="/__l5e/assets-v1/f2f4dbbc-0905-4929-ae58-ed35462bf086/perlimpinpin.png",yoe="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/f2f4dbbc-0905-4929-ae58-ed35462bf086/perlimpinpin.png",boe="perlimpinpin.png",xoe=3754,woe="image/png",koe="2026-06-18T11:45:53Z",Coe={version:foe,asset_id:moe,project_id:goe,url:voe,r2_key:yoe,original_filename:boe,size:xoe,content_type:woe,created_at:koe},joe=[{id:"marie-claude-rh",quote:"Merci pour tout! Sans leur support, leur professionnalisme, leur expertise et leur rigueur, nous ne serions probablement pas certifié aujourd'hui. Je ne me tannerai jamais de vanter leurs services.",author:"Marie-Claude",role:"Responsable RH",photo:hy},{id:"sarah-ciele",quote:"Boîte Pac nous a soutenu de manière hyper attentionnée dans notre processus de certification B Corp tout en nous introduisant à une communauté d'entreprises qui veulent changer le monde des affaires.",author:"SARAH MAINS",role:"Culture & Talents",company:"Ciele",photo:Wp,companyLogo:FN.url},{id:"melissa-esg",quote:"Une équipe brillante qui nous accompagne dans l'univers B Corp avec douceur et bonheur! On se demande comment on pourrait penser faire ce processus sans Boîte Pac.",author:"MÉLISSA DEMERS",role:"Responsable ESG",company:"db",photo:fy,companyLogo:roe.url},{id:"alex-leadership",quote:"Le parcours leadership a transformé la dynamique de notre équipe. Nos gestionnaires repartent avec des outils concrets et une vraie confiance pour passer à l'action.",author:"Alex",role:"Directeur général",company:"OMY Lab",photo:Wp},{id:"jean-coaching",quote:"Le coaching m'a permis de clarifier ma posture de leader. Concret, humain, sans jargon. Exactement ce dont j'avais besoin.",author:"Jean",role:"VP Opérations",photo:hy},{id:"sophie-psycho",quote:"Les tests psychométriques nous ont ouvert les yeux sur nos forces collectives — et sur nos angles morts. Une vraie révélation pour l'équipe.",author:"Sophie",role:"Directrice Talent",company:"Pluritec",photo:fy},{id:"shirley-lussier",quote:"Des professionnelles dynamiques et engagées qui vont explorer de façon concrète les enjeux que vivent les gestionnaires!",author:"Shirley Marquis",role:"Gestionnaire",company:"Lussier Assurance",companyLogo:Vd.url},{id:"francis-lussier",quote:"Une équipe motivée et énergique qui est là pour les bonnes raisons. Boîte Pac nous fait avancer pour vrai.",author:"Francis Audet",role:"Gestionnaire",company:"Lussier Assurance",companyLogo:Vd.url},{id:"martin-lussier",quote:"Cette formation m'a permis de mieux structurer mon rôle de leader et de réfléchir à mes pratiques de gestion. Les échanges avec les autres participants ont été particulièrement enrichissants et m'ont aidé à voir différentes réalités terrain.",author:"Martin Verville",role:"Gestionnaire",company:"Lussier Assurance",companyLogo:Vd.url},{id:"anon-nl-avril2026-1",quote:"On a tous des croûtes à manger pour être de meilleurs gestionnaires, Boîte Pac s'occupe de rester à l'affût des meilleures pratiques et nous le communique avec brio.",author:"PARTICIPANT COHORTE AVRIL 2026",role:"Cohorte Nouveaux Leaders",cohort:"",anonymous:!0},{id:"anon-nl-avril2026-2",quote:"Grâce à la formation Leadership : d'employé à gestionnaire de Boîte Pac, j'ai mis des mots sur une réalité que je vivais dé
3223jà au quotidien. Même sans titre de gestionnaire, je coordonne une quinzaine de partenariats, avec des organisations et des réalités très différentes. On y a abordé des sujets concrets : le feedback, les conversations difficiles, l'écoute. Mais surtout, ça m'a amenée à réfléchir davantage à ce qui me motive réellement au travail, et à faire la différence entre ce que je veux vraiment et ce que je pensais devoir vouloir.",author:"PARTICIPANTE COHORTE AVRIL 2026",role:"Cohorte Nouveaux Leaders",cohort:"",anonymous:!0},{id:"anon-nl-automne2025-1",quote:"J'ai adoré la formation de la Boîte Pac! En tant que nouvelle gestionnaire, c'était le parcours d'intégration idéal pour prendre confiance dans mon rôle, mieux me connaître et mieux comprendre les dynamiques d'équipe. Les outils, les échanges et les réflexions partagés avec d'autres nouveaux gestionnaires m'ont permis de développer une meilleure compréhension de mes forces et de celles des autres. Une expérience à la fois humaine, inspirante et concrète, qui m'a donné des repères solides pour collaborer plus efficacement et faire grandir mon équipe et notre organisation!",author:"PARTICIPANTE COHORTE AVRIL 2026",role:"PARTICIPANTE COHORTE AUTOMNE 2025",cohort:"",anonymous:!0},{id:"genevieve-culture-avril2026",quote:"Formation très pertinente ! J'ai beaucoup aimé les exemples concrets.",author:"Geneviève Arseneault",role:"Atelier Culture d'entreprise",cohort:"Avril 2026"},{id:"anne-sophie-culture-avril2026",quote:"J'ai adoré ma matinée de formation avec Judith! Le contenu est pertinent et elle donne des exemples qui sont réellement applicables à la réalité des entreprises.",author:"Anne-Sophie Héon",role:"Atelier Culture d'entreprise",cohort:"Avril 2026"},{id:"jordane-communication-avril2026",quote:"J'ai énormément apprécié cette formation animée par Marie et Judith. Les exercices de mise en pratique ont été particulièrement pertinents et concrets. Ils m'ont permis d'intégrer immédiatement les apprentissages et de me projeter dans des situations réelles de travail. Le climat bienveillant instauré par les formatrices a encouragé la prise de parole et les réflexions partagées, ce qui a grandement enrichi l'expérience. Je repars avec des outils concrets et applicables qui me seront très utiles dans ma nouvelle tâche de responsable RH au sein d'une petite équipe. La pertinence des contenus et la qualité de l'accompagnement ont largement dépassé mes attentes. Un grand merci !",author:"Jordane Zarkzewski",role:"Atelier Communication et feedback",cohort:"Avril 2026"},{id:"lucie-communication-avril2026",quote:"J'ai beaucoup aimé cette formation. Les contenus pertinents, pensés de façon pratique et applicables à différentes situations étaient livrés avec beaucoup de dynamisme et d'ouverture. C'est sans conteste l'une des plus intéressantes formations auxquelles j'ai participé. Merci et bravo.",author:"Lucie Fauteux",role:"Atelier Communication et feedback",cohort:"Avril 2026"},{id:"pascale-novatize",quote:"Grâce à l'équipe de la Boîte Pac nous nous sommes senties accompagnées et confiantes dans notre processus de certification B Corp. Ils ont su nous coacher et nous diriger vers des solutions adaptées à notre réalité d'entreprise. L'accompagnement de Boîte Pac est un facteur de succès et un facilitateur dont on ne pourrait pas se passer!",author:"Pascale Turpin",role:"Certification B Corp",company:"Novatize",companyLogo:hoe.url},{id:"danielle-perlimpinpin",quote:"Accompagnement très professionnel et pertinent. Un grand facilitateur dans la démarche B Corp.",author:"Danielle Déry",role:"Certification B Corp",company:"Perlimpinpin inc.",companyLogo:Coe.url}],Uq=e=>joe.find(t=>t.id===e);function Soe({ids:e}){const t=me(),n=e.map(Uq).filter(Boolean);return n.length?l.jsx("section",{className:"bg-background py-16 md:py-24",children:l.jsxs("div",{className:"section",children:[l.jsx("div",{className:"mb-10 text-center",children:l.jsx("span",{className:"pill",children:t("Pssst — ce qu'ils disent sur nous","Pssst — what they s
3223ay about us")})}),l.jsx("div",{className:K("grid gap-5 mx-auto",n.length>=3?"md:grid-cols-3":n.length===2?"md:grid-cols-2 max-w-4xl":"max-w-xl"),children:n.map((r,i)=>l.jsxs(re.figure,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.5,delay:i*.08},className:"relative rounded-[1.75rem] border border-border bg-card p-6 md:p-7",children:[l.jsxs("blockquote",{className:"text-foreground/85 leading-relaxed",children:["« ",r.quote," »"]}),l.jsxs("figcaption",{className:"mt-6 flex items-center gap-3",children:[r.companyLogo&&l.jsx("img",{src:r.companyLogo,alt:r.company?`Logo ${r.company}`:"",loading:"lazy",className:"h-8 w-8 rounded-full object-contain"}),l.jsxs("div",{className:"text-xs",children:[l.jsx("div",{className:"font-bold uppercase tracking-wider",children:r.author}),l.jsxs("div",{className:"text-foreground/60",children:[r.role,r.company?` — ${r.company}`:"",r.cohort?` · ${r.cohort}`:""]})]})]})]},r.id))})]})}):null}const _oe=1,Eoe="37473944-a8c2-433d-b24a-5b912312459e",Toe="2a085179-0a1c-43ad-88f9-631c9eab2259",Poe="/__l5e/assets-v1/37473944-a8c2-433d-b24a-5b912312459e/1-109.jpg",Aoe="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/37473944-a8c2-433d-b24a-5b912312459e/1-109.jpg",Noe="1-109.jpg",Roe=315415,qoe="image/jpeg",Ioe="2026-08-19T19:53:22Z",Loe={version:_oe,asset_id:Eoe,project_id:Toe,url:Poe,r2_key:Aoe,original_filename:Noe,size:Roe,content_type:qoe,created_at:Ioe};function Mj(){var T;const{slug:e=""}=Qc(),t=nt(),n=VY(e),r=rw();if(!n)return l.jsx(we,{to:t==="en"?"/en/our-workshops":"/nos-ateliers",replace:!0});const i=`${n.title} — Boîte Pac`,s=n.blurb,o=`https://boitepac.com${t==="en"?"/en/workshops/":"/ateliers/"}${n.slug}`,a={"@context":"https://schema.org","@type":"Service",name:n.title,description:n.blurb,serviceType:t==="en"?"Workshop":"Atelier",provider:{"@type":"Organization",name:"Boîte Pac",url:"https://boitepac.com"},areaServed:"CA",inLanguage:t==="en"?"en":"fr",url:o},c=t==="en"?QW:UC,u=n.duration??c.duration,p=n.mode??c.mode,d=n.longDescription??c.longDescription,h=n.topics??[...c.topics],f=t==="en"?YW:VW,m=n.takeaways??[...c.takeaways],g=Array.from(new Set([...f,...m])),x=n.audience??[...c.audience],v=n.facilitators??[...UC.facilitators],b=n.heroImage??n.image,w=rf,k=n.audienceImage??Loe.url,C=GW(n,3).map(P=>r.find(R=>R.slug===P.slug)??P);return l.jsxs(ht,{children:[l.jsxs(vs,{children:[l.jsx("title",{children:i}),l.jsx("meta",{name:"description",content:s}),l.jsx("meta",{property:"og:title",content:i}),l.jsx("meta",{property:"og:description",content:s}),l.jsx("meta",{property:"og:url",content:o}),l.jsx("meta",{property:"og:type",content:"article"}),l.jsx("meta",{name:"twitter:title",content:i}),l.jsx("meta",{name:"twitter:description",content:s}),l.jsx("script",{type:"application/ld+json",children:JSON.stringify(a)})]}),l.jsx(Hse,{title:n.title,slug:n.slug,price:n.slug==="art-du-feedback"?t==="en"?"$1,500":"1 500 $":t==="en"?"$2,700":"2 700 $"}),l.jsx(Bse,{atelier:n,duration:u,mode:p}),l.jsx($se,{description:d,image:b,alt:n.title}),l.jsx(Fse,{topics:h,image:w,alt:t==="en"?"Team in a workshop":"Équipe en atelier"}),l.jsx(zse,{takeaways:g}),l.jsx(Use,{audience:x,image:k,alt:t==="en"?"Who this workshop is for":"À qui s'adresse cet atelier",slug:n.slug}),l.jsx(Vse,{slugs:v}),l.jsx(Wse,{slug:n.slug}),(T=n.testimonialIds)!=null&&T.length?l.jsx(Soe,{ids:n.testimonialIds}):null,l.jsx(Gse,{ateliers:C}),l.jsx(ur,{})]})}const Ooe=1,Doe="e538bdb6-8357-4105-aa86-6a74c4c4404c",Moe="2a085179-0a1c-43ad-88f9-631c9eab2259",Boe="/__l5e/assets-v1/e538bdb6-8357-4105-aa86-6a74c4c4404c/1-102.jpg",$oe="a/v1/2a085179-0a1c-43ad-88f9-631c9eab2259/e538bdb6-8357-4105-aa86-6a74c4c4404c/1-102.jpg",Foe="1-102.jpg",zoe=153043,Uoe="image/jpeg",Voe="2026-08-19T19:53:18Z",Woe={version:Ooe,asset_id:Doe,project_id:Moe,url:Boe,r2_key:$oe,original_filename:Foe,size:zoe,content_type:Uoe,created_at:Voe},Hoe=Woe.url,Goe=[{client:"Novatize",sector:"Commerce numérique",title:"Aligner 80 leaders sur une posture commune",image:rf,tag:"Leadership"},{client:"Cool & Simple",sector:"Alimentation",title:"Du chemin parcouru à la certification B Corp",image:aw,tag:"B Corp"},{client:"Ig2",sector:"Communication",title:"Bâtir une culture du feedback authentique",image:Hoe,tag:"Coaching d'équipe"},{client:"GEN V",sector:"Énergie",title:"Structurer une stratég
3223ie ESG opérationnelle",image:nw,tag:"Évolution"}];function Bj(){return l.jsxs(ht,{children:[l.jsx("section",{className:"bg-navy text-cream",children:l.jsx("div",{className:"section pt-32 pb-20 md:pt-40 md:pb-24",children:l.jsxs(re.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-4xl",children:[l.jsx("span",{className:"pill-light",children:"Études de cas"}),l.jsxs("h1",{className:"mt-6 font-display text-[clamp(2.25rem,5vw,4.75rem)] font-medium leading-[1.05] tracking-[-0.02em]",children:["Des transformations ",l.jsx("span",{className:"font-bold",children:"tangibles"}),", chez des organisations ",l.jsx("span",{className:"font-bold",children:"tangibles"}),"."]}),l.jsx("p",{className:"mt-6 max-w-2xl text-base leading-relaxed text-cream/75 md:text-lg",children:"Bientôt : des récits complets de mandats récents, avec contexte, démarche et résultats mesurables. En attendant, voici un aperçu."})]})})}),l.jsx("section",{className:"relative z-10 -mt-8 rounded-t-[2.5rem] bg-background py-20 md:-mt-12 md:rounded-t-[3rem] md:py-28",children:l.jsxs("div",{className:"section",children:[l.jsx("div",{className:"grid gap-8 md:grid-cols-2",children:Goe.map((e,t)=>l.jsxs(re.article,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.6,delay:t%2*.08},className:"group cursor-pointer",children:[l.jsxs("div",{className:"relative overflow-hidden rounded-[1.75rem] bg-muted",children:[l.jsx("img",{src:e.image,alt:e.client,width:1200,height:760,loading:"lazy",className:"aspect-[5/3] w-full object-cover transition-transform duration-700 ease-smooth group-hover:scale-[1.04]"}
3223),l.jsx("span",{className:"absolute left-4 top-4 rounded-full bg-cream/95 px-3 py-1 text-xs font-medium text-navy",children:e.tag}),l.jsx("span",{className:"absolute bottom-4 right-4 grid h-11 w-11 place-items-center rounded-full bg-accent text-accent-foreground transition-transform duration-300 group-hover:scale-110",children:l.jsx(Je,{className:"h-4 w-4"})})]}),l.jsx("div",{className:"mt-5 flex items-baseline justify-between gap-4",children:l.jsxs("p",{className:"font-display text-sm uppercase tracking-widest text-muted-foreground",children:[e.client," · ",e.sector]})}),l.jsx("h3",{className:"mt-2 font-display text-2xl font-medium leading-tight md:text-3xl",children:e.title})]},e.client))}),l.jsx("div",{className:"mt-16 rounded-[1.75rem] border border-dashed border-border p-8 text-center",children:l.jsxs("p",{className:"text-muted-foreground",children:["D'autres études de cas seront publiées prochainement."," ",l.jsx(ie,{to:"/contact",className:"font-medium underline",children:"Contactez-nous"})," ","pour discuter d'un mandat similaire au vôtre."]})})]})}),l.jsx(ur,{})]})}function Koe({data:e}){const t=We(),n=me();return l.jsxs(l.Fragment,{children:[e.slug==="parcours-leadership-en-groupe"?l.jsxs(tt,{variant:"navy",size:"lg",onClick:()=>window.dispatchEvent(new Event("open-cohorte-checkout")),children:[n("S'inscrire maintenant","Register now"),l.jsx(Je,{className:"h-4 w-4"})]}):null,l.jsx(tt,{asChild:!0,variant:e.slug==="parcours-leadership-en-groupe"?"outline":"navy",size:"lg",children:l.jsxs(ie,{to:t("/contact"),state:{subject:e.pole,serviceSlug:e.slug,requestType:"appel-connexion"},children:[e.hero.ctaLabel??n("Demander un appel exploratoire","Request an exploratory call"),l.jsx(Je,{className:"h-4 w-4"})]})})]})}const Joe="/badges/bcorp-canadian-black.svg";function Yoe({data:e}){const t=e.pole==="leadership"?"bg-leadership":"bg-impact",n=We();return l.jsx("section",{className:"bg-navy text-cream",children:l.jsx("div",{className:"section pt-32 pb-12 md:pt-40 md:pb-16",children:l.jsxs(re.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6,ease:[.22,1,.36,1]},className:K("relative grid min-w-0 items-stretch gap-6 overflow-hidden rounded-[2rem] p-6 text-foreground md:grid-cols-[1.4fr,1fr] md:p-10",t),children:[l.jsxs("div",{className:"flex min-w-0 flex-col justify-between",children:[l.jsxs("div",{children:[l.jsxs("div",{className:"flex flex-col items-start gap-3",children:[l.jsxs(ie,{to:n(e.parent.href),className:"inline-flex items-center gap-2 text-sm font-medium text-foreground/70 transition-colors hover:text-foreground",children:[l.jsx(Nh,{className:"h-4 w-4"}),e.parent.label]}),e.hero.formatLabel&&l.jsxs("div",{className:K("flex w-fit items-center gap-1 rounded-full px-3 py-1 font-sans text-[11px] font-semibold uppercase tracking-wider",e.hero.announce?"bg-[hsl(var(--blue-vivid))] text-white":"border border-accent/40 bg-accent/15 text-accent"),children:[e.hero.announce&&l.jsx(qh,{className:"h-3 w-3 shrink-0","aria-hidden":!0}),e.hero.formatLabel]})]}),l.jsx("h1",{className:"mt-3 font-display text-[clamp(2rem,4.5vw,3.5rem)] font-medium leading-[1.05] tracking-[-0.02em]",children:e.hero.title}),e.hero.showBCorpBadge&&l.jsx("img",{src:Joe,alt:"Logo B Corp Certified",width:80,height:85,className:"mt-6 h-32 w-auto opacity-90"}),l.jsx("p",{className:"mt-6 max-w-xl text-base leading-relaxed text-foreground/75 md:text-lg",children:e.hero.description})]}),l.jsx("div",{className:"mt-8 flex flex-wrap gap-3",children:l.jsx(Koe,{data:e})})]}),l.jsx("div",{className:"relative min-w-0 overflow-hidden rounded-3xl",children:l.jsx("img",{src:e.hero.image,alt:e.hero.imageAlt,width:900,height:1100,className:"h-full max-h-[420px] w-full object-cover md:max-h-none"})})]})})})}function Qoe({data:e}){const{description:t}=e;return l.jsx("section",{className:"bg-background pt-4 pb-8 md:pt-6 md:pb-12",children:l.jsx("div",{className:"section",children:l.jsxs("div",{className:"grid items-start gap-10 md:grid-cols-[1fr,1.3fr] md:gap-14",children:[l.jsx(re.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6}
3223,className:"overflow-hidden rounded-[2rem] shadow-card",children:l.jsx("img",{src:t.image,alt:t.imageAlt,width:900,height:1100,loading:"lazy",className:"aspect-[4/5] w-full object-cover"})}),l.jsxs(re.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,delay:.1},className:"rounded-[2rem] border border-border bg-card p-8 md:p-10",children:[l.jsx("span",{className:"text-xs font-bold uppercase tracking-wider text-accent",children:t.eyebrow}),l.jsx("h2",{className:"mt-3 font-display text-2xl font-semibold leading-tight md:text-3xl",children:t.title}),l.jsx("div",{className:"mt-5 space-y-4 leading-relaxed text-foreground/75",children:t.paragraphs.map((n,r)=>l.jsx("p",{children:n},r))}),t.bullets&&(t.bulletsOrdered?l.jsx("ol",{className:"mt-5 space-y-2",children:t.bullets.map((n,r)=>l.jsxs("li",{className:"flex gap-3 text-foreground/80",children:[l.jsx("span",{className:"flex h-6 w-6 flex-none items-center justify-center rounded-full bg-accent text-xs font-bold text-accent-foreground",children:r+1}),l.jsx("span",{className:"pt-0.5",children:n})]},n))}):l.jsx("ul",{className:"mt-5 space-y-2",children:t.bullets.map(n=>l.jsxs("li",{className:"flex gap-2 text-foreground/80",children:[l.jsx("span",{className:"text-accent",children:"•"}),l.jsx("span",{children:n})]},n))})),t.secondaryCta&&l.jsxs(ie,{to:t.secondaryCta.href,className:"group mt-8 inline-flex items-center gap-3 rounded-full bg-accent px-5 py-2.5 text-sm font-medium text-accent-foreground transition-transform hover:translate-x-0.5",children:[t.secondaryCta.label,l.jsx(ci,{className:"h-4 w-4 transition-transform group-hover:translate-x-1"})]})]})]})})})}function Xoe(e){const t=e.search(/\n\s*\n\s*\*/);return t===-1?{main:e}:{main:e.slice(0,t).trim(),note:e.slice(t).trim().replace(/^[\n\s*]+/,"*")}}function Zoe({data:e}){const t=[e.info.duration,e.info.price,e.info.third];return l.jsx("section",{className:"bg-background pt-4 pb-2 md:pt-6 md:pb-4",children:l.jsx("div",{className:"section",children:l.jsx("div",{className:"grid gap-4 md:grid-cols-3",children:t.map((n,r)=>{const{main:i,note:s}=Xoe(n.value);return l.jsxs(re.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.5,delay:r*.08},className:"rounded-[1.75rem] border border-border bg-card p-5 md:p-6",children:[l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsx("span",{className:"text-xs font-bold uppercase tracking-wider text-accent",children:n.label}),n.emoji&&l.jsx("span",{"aria-hidden":!0,className:"text-lg",children:n.emoji})]}),l.jsx("div",{className:"mt-4 font-display text-lg font-semibold leading-snug md:text-xl whitespace-pre-line",children:i}),s&&l.jsx("div",{className:"mt-4 text-xs text-muted-foreground leading-relaxed",children:s})]},n.label)})})})})}function eae({data:e}){if(!e.philosophy)return null;const t=e.pole==="leadership"?"bg-leadership":"bg-impact";return l.jsx("section",{className:"bg-background pb-12 md:pb-16",children:l.jsx("div",{className:"section",children:l.jsxs(re.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.6},className:K("rounded-[2rem] p-8 md:p-12 lg:p-16",t),children:[l.jsx("span",{className:"text-xs font-bold uppercase tracking-wider text-foreground/70",children:e.philosophy.eyebrow}),l.jsx("h2",{className:"mt-3 font-display text-2xl font-semibold leading-tight md:text-4xl",children:e.philosophy.title}),l.jsx("p",{className:"mt-6 max-w-3xl text-base leading-relaxed text-foreground/80 md:text-lg",children:e.philosophy.text})]})})})}var gf="Collapsible",[tae,Vq]=Ln(gf),[nae,xw]=tae(gf),Wq=y.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:s,onOpenChange:o,...a}=e,[c,u]=Mr({prop:r,defaultProp:i??!1,onChange:o,caller:gf});return l.jsx(nae,{scope:n,disabled:s,contentId:Rr(),open:c,onOpenToggle:y.useCallback(()=>u(p=>!p),[u]),children:l.jsx(ve.div,{"data-state":kw(c),"data-disabled":s?"":void 0,...a,ref:t})})});Wq.displayName=gf;var Hq="CollapsibleTrigger",Gq=y.forwardRef((e,t)=>
vendor: 4,134 bytes, line 3223
3223{const{__scopeCollapsible:n,...r}=e,i=xw(Hq,n);return l.jsx(ve.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":kw(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:X(e.onClick,i.onOpenToggle)})});Gq.displayName=Hq;var ww="CollapsibleContent",Kq=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=xw(ww,e.__scopeCollapsible);return l.jsx(yn,{present:n||i.open,children:({present:s})=>l.jsx(rae,{...r,ref:t,present:s})})});Kq.displayName=ww;var rae=y.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:i,...s}=e,o=xw(ww,n),[a,c]=y.useState(r),u=y.useRef(null),p=_e(t,u),d=y.useRef(0),h=d.current,f=y.useRef(0),m=f.current,g=o.open||a,x=y.useRef(g),v=y.useRef(void 0);return y.useEffect(()=>{const b=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(b)},[]),Lr(()=>{const b=u.current;if(b){v.current=v.current||{transitionDuration:b.style.transitionDuration,animationName:b.style.animationName},b.style.transitionDuration="0s",b.style.animationName="none";const w=b.getBoundingClientRect();d.current=w.height,f.current=w.width,x.current||(b.style.transitionDuration=v.current.transitionDuration,b.style.animationName=v.current.animationName),c(r)}},[o.open,r]),l.jsx(ve.div,{"data-state":kw(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!g,...s,ref:p,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":m?`${m}px`:void 0,...e.style},children:g&&i})});function kw(e){return e?"open":"closed"}var iae=Wq,sae=Gq,oae=Kq,dr="Accordion",aae=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Cw,lae,cae]=Xc(dr),[vf,Kme]=Ln(dr,[cae,Vq]),jw=Vq(),Jq=O.forwardRef((e,t)=>{const{type:n,...r}=e,i=r,s=r;return l.jsx(Cw.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?l.jsx(hae,{...s,ref:t}):l.jsx(pae,{...i,ref:t})})});Jq.displayName=dr;var[Yq,uae]=vf(dr),[Qq,dae]=vf(dr,{collapsible:!1}),pae=O.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=()=>{},collapsible:s=!1,...o}=e,[a,c]=Mr({prop:n,defaultProp:r??"",onChange:i,caller:dr});return l.jsx(Yq,{scope:e.__scopeAccordion,value:O.useMemo(()=>a?[a]:[],[a]),onItemOpen:c,onItemClose:O.useCallback(()=>s&&c(""),[s,c]),children:l.jsx(Qq,{scope:e.__scopeAccordion,collapsible:s,children:l.jsx(Xq,{...o,ref:t})})})}),hae=O.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=()=>{},...s}=e,[o,a]=Mr({prop:n,defaultProp:r??[],onChange:i,caller:dr}),c=O.useCallback(p=>a((d=[])=>[...d,p]),[a]),u=O.useCallback(p=>a((d=[])=>d.filter(h=>h!==p)),[a]);return l.jsx(Yq,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:u,children:l.jsx(Qq,{scope:e.__scopeAccordion,collapsible:!0,children:l.jsx(Xq,{...s,ref:t})})})}),[fae,yf]=vf(dr),Xq=O.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:i,orientation:s="vertical",...o}=e,a=O.useRef(null),c=_e(a,t),u=lae(n),d=uf(i)==="ltr",h=X(e.onKeyDown,f=>{var P;if(!aae.includes(f.key))return;const m=f.target,g=u().filter(R=>{var j;return!((j=R.ref.current)!=null&&j.disabled)}),x=g.findIndex(R=>R.ref.current===m),v=g.length;if(x===-1)return;f.preventDefault();let b=x;const w=0,k=v-1,S=()=>{b=x+1,b>k&&(b=w)},C=()=>{b=x-1,b<w&&(b=k)};switch(f.key){case"Home":b=w;break;case"End":b=k;break;case"ArrowRight":s==="horizontal"&&(d?S():C());break;case"ArrowDown":s==="vertical"&&S();break;case"ArrowLeft":s==="horizontal"&&(d?C():S());break;case"ArrowUp":s==="vertical"&&C();break}const T=b%v;(P=g[T].ref.current)==null||P.focus()});return l.jsx(fae,{scope:n,disabled:r,direction:i,orientation:s,children:l.jsx(Cw.Slot,{scope:n,children:l.jsx(ve.div,{...o,"data-orientation":s,ref:c,onKeyDown:r?void 0:h})})})}),nh="AccordionItem",[mae,Sw]=vf(nh),Zq=O.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...i}=e,s=yf(nh,n),o=uae(nh,n),a=jw(n),c=Rr(),u=r&&o.value.includes(r)||!1,p=s.disabled||e.disabled;return l.jsx(mae,{scope:n,open:u,disabled:p,triggerId:c,children:l.jsx(iae,{"data-orientation":s.orientation,"data-state":sI(u),...a,...i,ref:t,disabled:p,open:u,onOpenChange:d=>{d?o.onItemOpen(r):o.onItemClose(r)}})})});
3223Zq.displayName=nh;var eI="AccordionHeader",tI=O.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=yf(dr,n),s=Sw(eI,n);return l.jsx(ve.h3,{"data-orientation":i.orientation,"data-state":sI(s.open),"data-disabled":s.disabled?"":void 0,...r,ref:t})});tI.displayName=eI;var Ly="AccordionTrigger",nI=O.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=yf(dr,n),s=Sw(Ly,n),o=dae(Ly,n),a=jw(n);return l.jsx(Cw.ItemSlot,{scope:n,children:l.jsx(sae,{"aria-disabled":s.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:s.triggerId,...a,...r,ref:t})})});nI.displayName=Ly;var rI="AccordionContent",iI=O.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=yf(dr,n),s=Sw(rI,n),o=jw(n);return l.jsx(oae,{role:"region","aria-labelledby":s.triggerId,"data-orientation":i.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});iI.displayName=rI;function sI(e){return e?"open":"closed"}var gae=Jq,vae=Zq,yae=tI,oI=nI,aI=iI;const lI=gae,_w=y.forwardRef(({className:e,...t},n)=>l.jsx(vae,{ref:n,className:K("border-b",e),...t}));_w.displayName="AccordionItem";const Ew=y.forwardRef(({className:e,children:t,hideChevron:n,...r},i)=>l.jsx(yae,{className:"flex",children:l.jsxs(oI,{ref:i,className:K("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...r,children:[t,!n&&l.jsx(Sp,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));Ew.displayName=oI.displayName;const Tw=y.forwardRef(({className:e,children:t,...n},r)=>l.jsx(aI,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:l.jsx("div",{className:K("pb-4 pt-0",e),children:t})}));Tw.displayName=aI.displayName;function bae({data:e}){const t=e.pole==="leadership"?"bg-leadership":"bg-impact";return l.jsx("section",{className:"bg-background pb-16 md:pb-24",children:l.jsx("div",{className:"section",children:l.jsxs("div",{className:"grid gap-5 md:grid-cols-[1.6fr,1fr]",children:[l.jsxs(re.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.6},className:"rounded-[2rem] border border-border bg-card p-8 md:p-10",children:[l.jsx("span",{className:"text-xs font-bold uppercase tracking-wider text-accent",children:e.topics.eyebrow}),l.jsx("h2",{className:"mt-3 font-display text-2xl font-semibold leading-tight md:text-3xl",children:e.topics.title}),l.jsx(lI,{type:"single",collapsible:!0,className:"mt-6 divide-y divide-border border-y border-border",children:e.topics.items.map((n,r)=>l.jsxs(_w,{value:`topic-${r}`,className:"border-b-0",children:[l.jsx(Ew,{hideChevron:e.topics.hideChevron,className:"gap-5 py-5 text-left hover:no-underline",children:l.jsxs("span",{className:"flex flex-1 items-start gap-5",children:[l.jsx("span",{className:"font-display text-base font-bold tabular-nums text-foreground/40",children:String(r+1).padStart(2,"0")}),l.jsx("span",{className:"flex-1 font-medium text-foreground/90",children:n.title})]})}),(n.description||n.points&&n.points.length>0)&&l.jsxs(Tw,{className:"pb-6 pl-[3rem] pr-2",children:[n.description&&l.jsx("p",{className:"mb-3 text-sm leading-relaxed text-foreground/75",children:n.description}),n.points&&n.points.length>0&&l.jsx("ul",{className:"space-y-2",children:n.points.map(i=>l.jsxs("li",{className:"flex gap-2 text-sm leading-relaxed text-foreground/75",children:[l.jsx("span",{className:"text-accent",children:"•"}),l.jsx("span",{children:i})]},i))})]})]},n.title))})]}),l.jsxs(re.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.6,delay:.1},className:K("flex flex-col justify-between rounded-[2rem] p-8 md:p-10",t),children:[l.jsxs("div",{children:[l.jsx("span",{className:"text-xs font-bold uppercase tracking-wider text-foreground/70",children:e.promise.eyebrow}),l.jsx("h3",{className:"mt-3 font-display text-xl font-semibold leading-tight md:text-2xl",children:e.promise.title})]}
3223),l.jsx("p",{className:"mt-6 leading-relaxed text-foreground/80",children:e.promise.text})]})]})})})}function xae({data:e}){const[t,n]=y.useState(null),r=e.slides;if(!r.length)return null;const i=[...r,...r];return l.jsxs("section",{className:"overflow-hidden bg-cream py-8 md:py-12",children:[l.jsx("div",{className:"group relative overflow-hidden",style:{maskImage:"linear-gradient(to right, transparent, black 6%, black 94%, transparent)",WebkitMaskImage:"linear-gradient(to right, transparent, black 6%, black 94%, transparent)"},children:l.jsx("div",{className:"flex w-max gap-4 px-4 motion-safe:animate-[marquee_60s_linear_infinite] motion-safe:group-hover:[animation-play-state:paused] motion-reduce:overflow-x-auto",children:i.map((s,o)=>l.jsx("button",{type:"button",onClick:()=>n(o%r.length),"aria-label":s.alt,className:"relative block w-[280px] shrink-0 overflow-hidden rounded-2xl border border-navy/10 bg-cream shadow-card transition-all duration-500 ease-smooth hover:z-10 hover:scale-[1.04] hover:shadow-mega focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent sm:w-[420px] lg:w-[520px]",children:l.jsx("img",{src:s.image,alt:s.alt,loading:"lazy",className:"aspect-video w-full object-cover"})},`${s.image}-${o}`))})}),l.jsx(Ir,{children:t!==null&&l.jsx(wae,{slides:r,currentIndex:t,onClose:()=>n(null),onNavigate:s=>n(s)})})]})}function wae({slides:e,currentIndex:t,onClose:n,onNavigate:r}){const i=e[t],s=t>0,o=t<e.length-1;return y.useEffect(()=>{const a=document.body.style.overflow;document.body.style.overflow="hidden";const c=u=>{u.key==="Escape"&&n(),u.key==="ArrowLeft"&&s&&r(t-1),u.key==="ArrowRight"&&o&&r(t+1)};return window.addEventListener("keydown",c),()=>{document.body.style.overflow=a,window.removeEventListener("keydown",c)}},[n,r,t,s,o]),l.jsx(re.div,{initial:{opacity:0}
3223,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},onClick:n,role:"dialog","aria-modal":"true","aria-label":i.alt,className:"fixed inset-0 z-[100] grid place-items-center bg-navy/90 px-4 py-10 backdrop-blur-md",children:l.jsxs(re.div,{initial:{scale:.96,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.96,opacity:0},transition:{duration:.3,ease:[.22,1,.36,1]},className:"relative flex items-center justify-center gap-4",onClick:a=>a.stopPropagation(),children:[l.jsx("button",{type:"button",onClick:a=>{a.stopPropagation(),s&&r(t-1)},"aria-label":"Image précédente",disabled:!s,className:"hidden h-12 w-12 shrink-0 place-items-center rounded-full bg-cream text-navy transition-transform hover:scale-105 disabled:opacity-30 disabled:hover:scale-100 md:grid",children:l.jsx(yT,{className:"h-6 w-6"})}),l.jsxs("div",{className:"relative overflow-hidden",children:[l.jsx(Ir,{mode:"wait",initial:!1,children:l.jsx(re.img,{src:i.image,alt:i.alt,initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.25,ease:[.22,1,.36,1]},className:"max-h-[80vh] max-w-[92vw] rounded-2xl border border-cream/15 object-contain shadow-mega"},i.image)}),l.jsx("button",{type:"button",onClick:n,"aria-label":"Fermer l'image",className:"absolute -top-12 right-0 grid h-10 w-10 place-items-center rounded-full bg-cream text-navy transition-transform hover:scale-105",children:l.jsx(lr,{className:"h-5 w-5"})})]}),l.jsx("button",{type:"button",onClick:a=>{a.stopPropagation(),o&&r(t+1)},"aria-label":"Image suivante",disabled:!o,className:"hidden h-12 w-12 shrink-0 place-items-center rounded-full bg-cream text-navy transition-transform hover:scale-105 disabled:opacity-30 disabled:hover:scale-100 md:grid",children:l.jsx(Rh,{className:"h-6 w-6"})})]})})}function kae({data:e}){const t=me();return e.faq.length?l.jsx("section",{className:"bg-background py-16 md:py-24",children:l.jsx("div",{className:"section",children:l.jsxs(re.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.6},className:"rounded-[2rem] border border-border bg-card p-8 md:p-10",children:[l.jsx("div",{className:"mb-2 flex items-center gap-2",children:l.jsx("span",{className:"text-xs font-bold uppercase tracking-wider text-accent",children:"FAQ"})}),l.jsx("h2",{className:"font-display text-2xl font-semibold leading-tight md:text-3xl",children:t("Les questions qu'on nous pose souvent","Frequently asked questions")}),l.jsx(lI,{type:"single",collapsible:!0,className:"mt-6",children:e.faq.map((n,r)=>l.jsxs(_w,{value:`item-${r}
3223`,className:"border-foreground/10",children:[l.jsx(Ew,{className:"text-left text-base font-medium hover:no-underline",children:n.q}),l.jsx(Tw,{className:"text-base leading-relaxed text-foreground/75",children:n.a})]},r))})]})})}):null}function Cae({data:e}){const t=me(),n=e.testimonialIds.map(Uq).filter(Boolean);return n.length?l.jsx("section",{className:"bg-background pb-16 md:pb-24",children:l.jsxs("div",{className:"section",children:[l.jsx("div",{className:"mb-10 text-center",children:l.jsx("span",{className:"pill",children:t("Pssst — ce qu'ils disent sur nous","Pssst — what they say about us")})}),l.jsx("div",{className:K("grid gap-5 mx-auto",n.length>=3?"md:grid-cols-3":n.length===2?"md:grid-cols-2 max-w-4xl":"max-w-xl"),children:n.map((r,i)=>l.jsxs(re.figure,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.5,delay:i*.08},className:"relative rounded-[1.75rem] border border-border bg-card p-6 md:p-7",children:[l.jsxs("blockquote",{className:"text-foreground/85 leading-relaxed",children:["« ",r.quote," »"]}),l.jsxs("figcaption",{className:"mt-6 flex items-center gap-3",children:[r.companyLogo&&l.jsx("img",{src:r.companyLogo,alt:r.company?`Logo ${r.company}`:"",loading:"lazy",className:"h-8 w-8 rounded-full object-contain"}),l.jsxs("div",{className:"text-xs",children:[l.jsx("div",{className:"font-bold uppercase tracking-wider",children:r.author}),l.jsxs("div",{className:"text-foreground/60",children:[r.role,r.company?` — ${r.company}`:"",r.cohort?` · ${r.cohort}`:""]})]})]})]},r.id))})]})}):null}function jae({id:e,title:t}){const[n,r]=y.useState(!1),[i,s]=y.useState(!1),o=i?`https://img.youtube.com/vi/${e}/hqdefault.jpg`:`https://img.youtube.com/vi/${e}/maxresdefault.jpg`;return l.jsx(re.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.5},className:"relative aspect-video overflow-hidden rounded-2xl border border-border bg-card shadow-sm",children:n?l.jsx("iframe",{src:`https://www.youtube-nocookie.com/embed/${e}?autoplay=1&rel=0`,title:t||"Vidéo témoignage",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,loading:"lazy",className:"absolute inset-0 h-full w-full"}):l.jsxs("button",{type:"button",onClick:()=>r(!0),className:"group absolute inset-0 h-full w-full","aria-label":t||"Lire la vidéo",children:[l.jsx("img",{src:o,alt:t||"Miniature de la vidéo",loading:"lazy",onError:()=>s(!0),className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"}
3223),l.jsx("span",{className:"absolute inset-0 bg-foreground/20 transition-colors duration-300 group-hover:bg-foreground/30"}),l.jsx("span",{className:"absolute left-1/2 top-1/2 flex h-14 w-14 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full bg-background/90 text-foreground shadow-lg backdrop-blur-sm transition-transform duration-300 group-hover:scale-110",children:l.jsx(kT,{className:"ml-1 h-6 w-6 fill-current"})})]})})}function Sae({data:e}){const t=me(),n=e.videoTestimonials??[];return n.length?l.jsx("section",{className:K("bg-background pb-16 md:pb-24",(e.clientLogos,"")),children:l.jsxs("div",{className:"section",children:[l.jsx("div",{className:"mb-10 text-center",children:l.jsx("span",{className:"pill",children:t("Pssst — ce qu'ils disent sur nous","Pssst — what they say about us")})}),l.jsx("div",{className:"grid gap-5 md:grid-cols-2",children:n.map(r=>l.jsx(jae,{id:r.id,title:r.title},r.id))})]})}):null}function _ae({logos:e}){if(!e.length)return null;const t=[...e,...e];return l.jsx("section",{className:"bg-background pb-16 md:pb-24",children:l.jsx("div",{className:"relative overflow-hidden",style:{maskImage:"linear-gradient(to right, transparent, black 8%, black 92%, transparent)",WebkitMaskImage:"linear-gradient(to right, transparent, black 8%, black 92%, transparent)"},children:l.jsx("div",{className:"flex w-max animate-marquee gap-6 px-6",children:t.map((n,r)=>l.jsx("div",{className:"grid h-14 min-w-[140px] place-items-center rounded-2xl border border-border bg-card px-6 font-display text-base font-semibold text-foreground/70",children:n},`${n}-${r}`))})})})}const Eae=NN,Tae=RN,cI=y.forwardRef(({className:e,...t},n)=>l.jsx(Zh,{ref:n,className:K("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));cI.displayName=Zh.displayName;const uI=y.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(Tae,{children:[l.jsx(cI,{}),l.jsxs(ef,{ref:r,className:K("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...n,children:[t,l.jsxs(qN,{className:"absolute right-4 top-4 roun
3223ded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[l.jsx(lr,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));uI.displayName=ef.displayName;const dI=y.forwardRef(({className:e,...t},n)=>l.jsx(tf,{ref:n,className:K("text-lg font-semibold leading-none tracking-tight",e),...t}));dI.displayName=tf.displayName;const Pae=y.forwardRef(({className:e,...t},n)=>l.jsx(nf,{ref:n,className:K("text-sm text-muted-foreground",e),...t}));Pae.displayName=nf.displayName;var pI={exports:{}},Aae="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Nae=Aae,Rae=Nae;function hI(){}function fI(){}fI.resetWarningCache=hI;var qae=function(){function e(r,i,s,o,a,c){if(c!==Rae){var u=new 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 u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={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:fI,resetWarningCache:hI};return n.PropTypes=n,n};pI.exports=qae();var Iae=pI.exports;const Xe=hs(Iae);function $j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Fj(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$j(Object(n),!0).forEach(function(r){mI(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$j(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Gd(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Gd=function(t){return typeof t}:Gd=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gd(e)}function mI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lae(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Oae(e,t){if(e==null)return{};var n=Lae(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gI(e,t){return Dae(e)||Mae(e,t)||Bae(e,t)||$ae()}function Dae(e){if(Array.isArray(e))return e}function Mae(e,t){var n=e&&(typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"]);if(n!=null){var r=[],i=!0,s=!1,o,a;try{for(n=n.call(e);!(i=(o=n.next()).done)&&(r.push(o.value),!(t&&r.length===t));i=!0);}catch(c){s=!0,a=c}finally{try{!i&&n.return!=null&&n.return()}finally{if(s)throw a}}return r}}function Bae(e,t){if(e){if(typeof e=="string")return zj(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zj(e,t)}}function zj(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $ae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3224In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var qt=function(t,n,r){var i=!!r,s=O.useRef(r);O.useEffect(function(){s.current=r},[r]),O.useEffect(function(){if(!i||!t)return function(){};var o=function(){s.current&&s.current.apply(s,arguments)};return t.on(n,o),function(){t.off(n,o)}},[i,n,t,s])},Oy=function(t){var n=O.useRef(t);return O.useEffect(function(){n.current=t},[t]),n.current},Ma=function(t){return t!==null&&Gd(t)==="object"},Fae=function(t){return Ma(t)&&typeof t.then=="function"},zae=function(t){return Ma(t)&&typeof t.elements=="function"&&typeof t.createToken=="function"&&typeof t.createPaymentMethod=="function"&&typeof t.confirmCardPayment=="function"},Uj="[object Object]",Uae=function e(t,n){if(!Ma(t)||!Ma(n))return t===n;var r=Array.isArray(t),i=Array.isArray(n);if(r!==i)return!1;var s=Object.prototype.toString.call(t)===Uj,o=Object.prototype.toString.call(n)===Uj;if(s!==o)return!1;if(!s&&!r)return t===n;var a=Object.keys(t),c=Object.keys(n);if(a.length!==c.length)return!1;for(var u={},p=0;p<a.length;p+=1)u[a[p]]=!0;for(var d=0;d<c.length;d+=1)u[c[d]]=!0;var h=Object.keys(u);if(h.length!==a.length)return!1;var f=t,m=n,g=function(v){return e(f[v],m[v])};return h.every(g)},Vae=function(t,n,r){return Ma(t)?Object.keys(t).reduce(function(i,s){var o=!Ma(n)||!Uae(t[s],n[s]);return r.includes(s)?(o&&console.warn("Unsupported prop change: options.".concat(s," is not a mutable property.")),i):o?Fj(Fj({},i||{}),{},mI({},s,t[s])):i},null):null},vI="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",Vj=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:vI;if(t===null||zae(t))return t;throw new Error(n)},Wae=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:vI;if(Fae(t))return{tag:"async",stripePromise:Promise.resolve(t).then(function(i){return Vj(i,n)})};var r=Vj(t,n);return r===null?{tag:"empty"}:{tag:"sync",stripe:r}},Hae=function(t){!t||!t._registerWrapper||!t.registerAppInfo||(t._registerWrapper({name:"react-stripe-js",version:"6.2.0"}),t.registerAppInfo({name:"react-stripe-js",version:"6.2.0",url:"https://stripe.com/docs/stripe-js/react"}))},yI=O.createContext(null);yI.displayName="ElementsContext";var Gae=function(t,n){if(!t)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(n," in an <Elements> provider."));return t};Xe.any,Xe.object;Xe.func.isRequired;var bI=O.createContext(null);bI.displayName="CheckoutContext";var Wj=function(t){var n=O.useContext(bI),r=O.useContext(yI);if(n){if(r)throw new Error("You cannot wrap the part of your app that ".concat(t," in both a checkout provider and <Elements> provider."));return n}else return Gae(r,t)},Kae=["mode"],Jae=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},ct=function(t,n,r){var i="".concat(Jae(t),"Element"),s=function(u){var p=u.id,d=u.className,h=u.options,f=h===void 0?{}:h,m=u.onBlur,g=u.onFocus,x=u.onReady,v=u.onChange,b=u.onEscape,w=u.onClick,k=u.onLoadError,S=u.onLoaderStart,C=u.onNetworksChange,T=u.onConfirm,P=u.onCancel,R=u.onShippingAddressChange,j=u.onShippingRateChange,q=u.onSavedPaymentMethodRemove,A=u.onSavedPaymentMethodUpdate,D=Wj("mounts <".concat(i,">")),L="elements"in D?D.elements:null,$="checkoutState"in D?D.checkoutState:null,B=($==null?void 0:$.type)==="success"||($==null?void 0:$.type)==="loading"?$.sdk:null,V=O.useState(null),I=gI(V,2),N=I[0],_=I[1],z=O.useRef(null),H=O.useRef(null);
3224qt(N,"blur",m),qt(N,"focus",g),qt(N,"escape",b),qt(N,"click",w),qt(N,"loaderror",k),qt(N,"loaderstart",S),qt(N,"networkschange",C),qt(N,"confirm",T),qt(N,"cancel",P),qt(N,"shippingaddresschange",R),qt(N,"shippingratechange",j),qt(N,"savedpaymentmethodremove",q),qt(N,"savedpaymentmethodupdate",A),qt(N,"change",v);var E;x&&(t==="expressCheckout"?E=x:E=function(){x(N)}),qt(N,"ready",E),O.useLayoutEffect(function(){if(z.current===null&&H.current!==null&&(L||B)){var ne=null;if(B){var ae=B,ce=B;switch(t){case"paymentForm":ne=ce.createForm(f);break;case"payment":ne=ae.createPaymentElement(f);break;case"address":if("mode"in f){var Ye=f.mode,Te=Oae(f,Kae);if(Ye==="shipping")ne=ae.createShippingAddressElement(Te);else if(Ye==="billing")ne=ae.createBillingAddressElement(Te);else throw new Error("Invalid options.mode. mode must be 'billing' or 'shipping'.")}else throw new Error("You must supply options.mode. mode must be 'billing' or 'shipping'.");break;case"expressCheckout":ne=ae.createExpressCheckoutElement(f);break;case"currencySelector":ne=B.createCurrencySelectorElement();break;case"taxId":ne=ae.createTaxIdElement(f);break;case"contactDetails":ne=ae.createContactDetailsElement();break;default:throw new Error("<".concat(i,"> is not supported inside a checkout provider. Use an <Elements> provider instead."))}}else L&&(ne=L.create(t,f));z.current=ne,_(ne),ne&&ne.mount(H.current)}},[L,B,f]);var Q=Oy(f);return O.useEffect(function(){if(z.current){var ne=Vae(f,Q,["paymentRequest"]);ne&&"update"in z.current&&z.current.update(ne)}},[f,Q]),O.useLayoutEffect(function(){return function(){if(z.current&&typeof z.current.destroy=="function")try{z.current.destroy(),z.current=null}catch{}}},[]),O.createElement("div",{id:p,className:d,ref:H})},o=function(u){Wj("mounts <".concat(i,">"));var p=u.id,d=u.className;return O.createElement("div",{id:p,className:d})},a=n?o:s;return a.propTypes={id:Xe.string,className:Xe.string,onChange:Xe.func,onBlur:Xe.func,onFocus:Xe.func,onReady:Xe.func,onEscape:Xe.func,onClick:Xe.func,onLoadError:Xe.func,onLoaderStart:Xe.func,onNetworksChange:Xe.func,onConfirm:Xe.func,onCancel:Xe.func,onShippingAddressChange:Xe.func,onShippingRateChange:Xe.func,onSavedPaymentMethodRemove:Xe.func,onSavedPaymentMethodUpdate:Xe.func,options:Xe.object},a.displayName=i,a.__elementType=t,a},rt=typeof window>"u",Pw=O.createContext(null);Pw.displayName="EmbeddedCheckoutProviderContext";var xI=function(){var t=O.useContext(Pw);if(!t)throw new Error("<EmbeddedCheckout> must be used within <EmbeddedCheckoutProvider>");return t},Yae="Invalid prop `stripe` supplied to `EmbeddedCheckoutProvider`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",Qae=function(t){var n=t.stripe,r=t.options,i=t.children,s=O.useMemo(function(){return Wae(n,Yae)},[n]),o=O.useRef(null),a=O.useRef(null),c=O.useState({embeddedCheckout:null}),u=gI(c,2),p=u[0],d=u[1];O.useEffect(function(){if(!(a.current||o.current)){var m=function(x){a.current||o.current||(a.current=x,o.current=a.current.createEmbeddedCheckoutPage(r).then(function(v){d({embeddedCheckout:v})}))};s.tag==="async"&&!a.current&&(r.clientSecret||r.fetchClientSecret)?s.stripePromise.then(function(g){g&&m(g)}):s.tag==="sync"&&!a.current&&(r.clientSecret||r.fetchClientSecret)&&m(s.stripe)}},[s,r,p,a]),O.useEffect(function(){return function(){p.embeddedCheckout?(o.current=null,p.embeddedCheckout.destroy()):o.current&&o.current.then(function(){o.current=null,p.embeddedCheckout&&p.embeddedCheckout.destroy()})}},[p.embeddedCheckout]),O.useEffect(function(){Hae(a)},[a]);var h=Oy(n);O.useEffect(function(){h!==null&&h!==n&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the `stripe` prop after setting it.")},[h,n]);var f=Oy(r);return O.useEffect(function(){if(f!=null){if(r==null){console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot unset options after setting them.");return}r.clientSecret===void 0&&r.fetchClientSecret===void 0&&console.warn("Invalid props passed to EmbeddedCheckoutProvider: You must provide one of either `options.fetchClientSecret` or `options.clientSecret`."),f.clientSecret!=null&&r.clientSecret!==f.clientSecret&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the client secret after setting it. Unmount and create a new instance of EmbeddedCheckoutProvider instead."),f.fetchClientSecret!=null&&r.fetchClientSecret!==f.fetchClientSecret&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change fetchClientSecret after setting it. Unmount and create a new instance of EmbeddedCheckoutProvider instead."),f.onComplete!=null&&r.onComplete!==f.onComplete&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onComplete option after setting it."),f.onShippingDetailsChange!=null&&r.onShippingDetailsChange!==f.onShippingDetailsChange&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onShippingDetailsChange option after setting it."),f.onLineItemsChange!=null&&r.onLineItemsChange!==f.onLineItemsChange&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onLineItemsChange option after setting it.")}},[f,r]),O.createElement(Pw.Provider,{value:p},i)},Xae=function(t){var n=t.id,r=t.className,i=xI(),s=i.embeddedCheckout,o=O.useRef(!1),a=O.useRef(null);return O.useLayoutEffect(function(){return!o.current&&s&&a.current!==null&&(s.mount(a.current),o.current=!0),function(){if(o.current&&s)try{s.unmount(),o.current=!1}catch{}}},[s]),O.createElement("div",{ref:a,id:n,className:r})},Zae=function(t){var n=t.id,r=t.className;return xI(),O.createElement("div",{id:n,className:r})},ele=rt?Zae:Xae;ct("auBankAccount",rt);ct("card",rt);ct("cardNumber",rt);ct("cardExpiry",rt);ct("cardCvc",rt);ct("iban",rt);ct("payment",rt);ct("expressCheckout",rt);ct("paymentRequestButton",rt);ct("linkAuthentication",rt);ct("contactDetails",rt);ct("address",rt);ct("shippingAddress",rt);ct("paymentMethodMessaging",rt);ct("taxId",rt);
3224ct("issuingCardNumberDisplay",rt);ct("issuingCardCvcDisplay",rt);ct("issuingCardExpiryDisplay",rt);ct("issuingCardPinDisplay",rt);ct("issuingCardCopyButton",rt);function Kd(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Kd=function(t){return typeof t}:Kd=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kd(e)}var wI="dahlia",tle=function(t){return t===3?"v3":t},kI="https://js.stripe.com",nle="".concat(kI,"/").concat(wI,"/stripe.js"),rle=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,ile=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,Hj="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",sle=function(t){return rle.test(t)||ile.test(t)},ole=function(){for(var t=document.querySelectorAll('script[src^="'.concat(kI,'"]')),n=0;n<t.length;n++){var r=t[n];if(sle(r.src))return r}return null},Gj=function(t){var n="",r=document.createElement("script");r.src="".concat(nle).concat(n);var i=document.head||document.body;if(!i)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return i.appendChild(r),r},ale=function(t,n){!t||!t._registerWrapper||t._registerWrapper({name:"stripe-js",version:"9.2.0",startTime:n})},bl=null,cd=null,ud=null,lle=function(t){return function(n){t(new Error("Failed to load Stripe.js",{cause:n}))}},cle=function(t,n){return function(){window.Stripe?t(window.Stripe):n(new Error("Stripe.js not available"))}},ule=function(t){return bl!==null?bl:(bl=new Promise(function(n,r){if(typeof window>"u"||typeof document>"u"){n(null);return}if(window.Stripe&&t&&console.warn(Hj),window.Stripe){n(window.Stripe);return}try{var i=ole();if(i&&t)console.warn(Hj);else if(!i)i=Gj(t);else if(i&&ud!==null&&cd!==null){var s;i.removeEventListener("load",ud),i.removeEventListener("error",cd),(s=i.parentNode)===null||s===void 0||s.removeChild(i),i=Gj(t)}ud=cle(n,r),cd=lle(r),i.addEventListener("load",ud),i.addEventListener("error",cd)}catch(o){r(o);return}}),bl.catch(function(n){return bl=null,Promise.reject(n)}))},dle=function(t,n,r){if(t===null)return null;var i=n[0];if(typeof i!="string")throw new Error("Expected publishable key to be of type string, got type ".concat(Kd(i)," instead."));var s=i.match(/^pk_test/),o=tle(t.version),a=wI;s&&o!==a&&console.warn("Stripe.js@".concat(o," was loaded on the page, but @stripe/stripe-js@").concat("9.2.0"," expected Stripe.js@").concat(a,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var c=t.apply(void 0,n);return ale(c,r),c},xl,CI=!1,jI=function(){return xl||(xl=ule(null).catch(function(t){return xl=null,Promise.reject(t)}),xl)};Promise.resolve().then(function(){return jI()}).catch(function(e){CI||console.warn(e)});var ple=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];CI=!0;var i=Date.now();return jI().then(function(s){return dle(s,n,i)})};const Ls="pk_live_51Tj2KuAobrluHOCkaoF9ybNYU03631zJI2vypDUqzUuJf0QKtr3nXLEjpcYoPVDJM5SEMb5ICwbcEnE5IcaluI5Z00xmfzAVdA";function SI(){if(Ls!=null&&Ls.startsWith("pk_test_"))return"sandbox";if(Ls!=null&&Ls.startsWith("pk_live_"))return"live";throw new Error("Les paiements ne sont pas configurés pour cette version. Complétez la mise en service Stripe dans votre projet Lovable.")}let ng=null;function hle(){return ng||(SI(),ng=ple(Ls)),ng}function fle(){return SI()}function mle({payload:e}){const t=async()=>{const{data:n,error:r}=await En.functions.invoke("create-checkout",{body:{...e,environment:fle()}});if(r||!(n!=null&&n.clientSecret))throw new Error((r==null?void 0:r.message)||"Impossible de démarrer le paiement");return n.clientSecret};return l.jsx("div",{id:"checkout",children:l.jsx(Qae,{stripe:hle(),options:{fetchClientSecret:t},children:l.jsx(ele,{})})})}function Kj(e,t){return new Intl.NumberFormat("fr-CA",{style:"currency",currency:t.toUpperCase(),minimumFractionDigits:0,maximumFractionDigits:0}).format(e/100)}function gle(e,t){const n=new Date(e+"T12:00:00"),r=new Date(t+"T12:00:00"),i=n.getMonth()===r.getMonth()&&n.getFullYear()===r.getFullYear(),s=new Intl.DateTimeFormat("fr-CA",{day:"numeric"}),o=new Intl.DateTimeFormat("fr-CA",{day:"numeric",month:"long"}),a=new Intl.DateTimeFormat("fr-CA",{day:"numeric",month:"long",year:"numeric"});return i?`${s.format(n)} au ${a.format(r)}`:`${o.format(n)} au ${a.format(r)}`}function vle(){const[e,t]=y.useState(null),[n,r]=y.useState(!0),[i,s]=y.useState(!1);y.useEffect(()=>{let p=!1;return(async()=>{const{data:d}=await En.from("cohortes").select("id, nom, date_debut, date_fin, prix_cents, currency, places_totales, places_vendues, statut").ilike("slug","cohorte-leadership-signature%").order("date_debut",{ascending:!0}).limit(1).maybeSingle();p||(t(d??null),r(!1))})(),()=>{p=!0}},[]),y.useEffect(()=>{const p=()=>s(!0);return window.addEventListener("open-cohorte-checkout",p),()=>window.removeEventListener("open-cohorte-checkout",p)},[]);const o=y.useMemo(()=>
3224{if(!e)return"unavailable";const p=Math.max(0,e.places_totales-e.places_vendues);return e.statut!=="ouverte"||p<=0?"full":p<=3?"last":"open"},[e]);if(n||!e)return null;const a=Math.max(0,e.places_totales-e.places_vendues),c=`${window.location.origin}/inscription/confirmation?session_id={CHECKOUT_SESSION_ID}`,u=o==="open"||o==="last";return l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:"fixed inset-x-0 bottom-0 z-40 shadow-[0_-10px_30px_-12px_rgba(0,0,0,0.35)]",role:"region","aria-label":"Inscription à la cohorte",children:[u&&l.jsx("div",{className:"group overflow-hidden bg-navy text-cream",style:{maskImage:"linear-gradient(to right, transparent, black 5%, black 95%, transparent)",WebkitMaskImage:"linear-gradient(to right, transparent, black 5%, black 95%, transparent)"},children:l.jsx("div",{className:"flex w-max animate-marquee items-center gap-6 whitespace-nowrap py-1 font-display text-[10.5px] uppercase tracking-[0.2em] group-hover:[animation-play-state:paused] motion-reduce:animate-none sm:text-[11px]",children:Array.from({length:2}).map((p,d)=>l.jsx("div",{className:"flex shrink-0 items-center gap-6 pr-6",children:Array.from({length:10}).map((h,f)=>l.jsxs("span",{className:"flex items-center gap-2",children:[l.jsx(qh,{className:"h-3 w-3","aria-hidden":!0}),l.jsx("span",{children:"Inscriptions ouvertes"}),l.jsx("span",{"aria-hidden":!0,className:"text-cream/50",children:"·"})]},f))},d))})}),l.jsx("div",{className:K("border-t border-white/10 text-white","bg-[hsl(var(--blue-vivid))] backdrop-blur supports-[backdrop-filter]:bg-[hsl(var(--blue-vivid)/0.95)]"),children:l.jsxs("div",{className:"section flex flex-col gap-2 py-2 sm:flex-row sm:items-center sm:justify-between sm:py-2.5",children:[l.jsxs("div",{className:"min-w-0",children:[l.jsxs("p",{className:"font-display text-sm font-medium leading-tight sm:text-base",children:[e.nom,l.jsx("span",{className:"ml-2 hidden text-white/70 sm:inline",children:"·"}),l.jsx("span",{className:"ml-2 block text-xs text-white/80 sm:inline sm:text-sm",children:gle(e.date_debut,e.date_fin)})]}),l.jsxs("p",{className:"mt-0.5 text-xs text-white/85 sm:text-sm",children:[l.jsx("span",{className:"font-semibold",children:Kj(e.prix_cents,e.currency)}),o==="last"&&l.jsxs("span",{className:"ml-2 text-cream",children:["· Dernières places (",a,")"]}),o==="full"&&l.jsx("span",{className:"ml-2",children:"· Complet"})]})]}),l.jsx("div",{className:"flex shrink-0 items-center gap-3",children:o==="full"?l.jsx(tt,{asChild:!0,variant:"cream",size:"default",children:l.jsxs(ie,{to:"/contact",state:{subject:"leadership",serviceSlug:"parcours-leadership-en-groupe",requestType:"liste-attente",presetMessage:"Bonjour, je souhaite être ajouté·e à la liste d'attente pour la Cohorte Leadership Signature."},children:["Complet — nous contacter",l.jsx(Je,{className:"h-4 w-4"})]})}):l.jsxs(tt,{variant:"cream",size:"default",onClick:()=>s(!0),children:["S'inscrire maintenant",l.jsx(Je,{className:"h-4 w-4"})]})})]})})]}),l.jsx("div",{"aria-hidden":!0,className:"h-24 sm:h-20"}),l.jsx(Eae,{open:i,onOpenChange:s,children:l.jsxs(uI,{className:"max-w-3xl p-0 sm:rounded-2xl",children:[l.jsxs(dI,{className:"sr-only",children:["Inscription à la ",e.nom]}
3224),l.jsxs("div",{className:"border-b border-foreground/10 px-4 py-3 pr-12 sm:px-6 sm:pr-14",children:[l.jsxs("p",{className:"font-display text-base font-medium",children:["Inscription · ",e.nom]}),l.jsxs("p",{className:"text-xs text-muted-foreground",children:[Kj(e.prix_cents,e.currency)," · Paiement sécurisé par Stripe"]})]}),l.jsx("div",{className:"max-h-[80vh] overflow-y-auto p-4 sm:p-6",children:i&&l.jsx(mle,{payload:{cohorteId:e.id,returnUrl:c}})})]})})]})}const yle="pk_live_51Tj2KuAobrluHOCkaoF9ybNYU03631zJI2vypDUqzUuJf0QKtr3nXLEjpcYoPVDJM5SEMb5ICwbcEnE5IcaluI5Z00xmfzAVdA";function ble(){return yle.startsWith("pk_test_")?l.jsx("div",{className:"w-full bg-orange-100 border-b border-orange-300 px-4 py-2 text-center text-sm text-orange-800",children:"Mode test — aucun paiement réel n'est effectué."}):null}function xle({data:e}){var i;const t=e.pole==="leadership"&&e.testimonialIds.length===0&&!((i=e.videoTestimonials)!=null&&i.length),n=e.videoTestimonials&&e.videoTestimonials.length>0,r=e.slug==="parcours-leadership-en-groupe";return l.jsxs(ht,{children:[r&&l.jsx(ble,{}),l.jsx(Yoe,{data:e}),l.jsx(Zoe,{data:e}),l.jsx(Qoe,{data:e}),e.philosophy&&l.jsx(eae,{data:e}),l.jsx(bae,{data:e}),e.slideshow&&l.jsx(xae,{data:e.slideshow}),l.jsx(kae,{data:e}),!t&&n&&l.jsx(Sae,{data:e}),!t&&!n&&l.jsx(Cae,{data:e}),!t&&e.clientLogos&&l.jsx(_ae,{logos:e.clientLogos}),l.jsx(ur,{}),r&&l.jsx(vle,{})]})}function Jj(){const{slug:e}=Qc(),t=nt(),n=e?WY(e):void 0;if(!n)return l.jsx(we,{to:t==="en"?"/en":"/",replace:!0});const r=`${n.description.title} — Boîte Pac`,i=n.hero.description,s=`https://boitepac.com${t==="en"?"/en/services/":"/services/"}${n.slug}`,o={"@context":"https://schema.org","@type":"Service",name:n.description.title,description:n.hero.description,provider:{"@type":"Organization",name:"Boîte Pac",url:"https://boitepac.com"},areaServed:"CA",inLanguage:t==="en"?"en":"fr",url:s};return l.jsxs(l.Fragment,{children:[l.jsxs(vs,{children:[l.jsx("title",{children:r}),l.jsx("meta",{name:"description",content:i}),l.jsx("meta",{property:"og:title",content:r}),l.jsx("meta",{property:"og:description",content:i}),l.jsx("meta",{property:"og:url",content:s}),l.jsx("meta",{name:"twitter:title",content:r}),l.jsx("meta",{name:"twitter:description",content:i}),l.jsx("script",{type:"application/ld+json",children:JSON.stringify(o)})]}),l.jsx(xle,{data:n})]})}function _I(e){return`/blog/${encodeURIComponent(e)}`}function wle({post:e}){const t=nt(),n=We(),r=me();return l.jsx(re.article,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.6},className:"group",children:l.jsxs(ie,{to:n(_I(e.slug)),className:"grid gap-8 md:grid-cols-12 md:gap-12 items-center",children:[l.jsx("div",{className:"md:col-span-7 overflow-hidden rounded-[1.75rem] bg-muted",children:e.cover&&l.jsx("img",{src:e.cover,alt:e.coverAlt,className:"aspect-[16/10] w-full object-cover transition-transform duration-700 ease-smooth group-hover:scale-[1.03]",loading:"eager"})}),l.jsxs("div",{className:"md:col-span-5",children:[l.jsxs("div",{className:"flex items-center gap-3 text-xs font-semibold uppercase tracking-[0.18em] text-accent",children:[l.jsx("span",{children:r("À la une","Featured")}),l.jsx("span",{className:"h-px w-8 bg-accent/40"}),l.jsx("time",{dateTime:e.date,className:"text-foreground/60",children:ow(e.date,t)})]}),l.jsx("h2",{className:"mt-5 font-display text-[clamp(1.75rem,3.2vw,2.75rem)] font-medium leading-[1.1] tracking-[-0.02em] text-foreground",children:e.title}),l.jsx("p",{className:"mt-5 text-base leading-relaxed text-foreground/70 md:text-lg",children:e.excerpt}),l.jsxs("span",{className:"mt-6 inline-flex items-center gap-2 font-medium text-accent transition-transform duration-300 ease-smooth group-hover:translate-x-1",children:[r("Lire l'article","Read article"),l.jsx(Je,{className:"h-4 w-4"})]})]})]})})}function EI({post:e,index:t=0}){const n=nt(),r=We(),i=me();return l.jsx(re.article,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.5,delay:t%2*.08},className:"group",children:l.jsxs(ie,{to:r(_I(e.slug)),className:"block",children:[l.jsx("div",{className:"overflow-hidden rounded-[1.5rem] bg-muted",children:e.cover&&l.jsx("img",{src:e.cover,alt:e.coverAlt,loading:"lazy",className:"aspect-[16/10] w-full object-cover transition-transform duration-700 ease-smooth group-hover:scale-[1.04]"})}),l.jsxs("div",{className:"mt-5",children:[l.jsx("time",{dateTime:e.date,className:"text-xs font-semibold uppercase tracking-[0.18em] text-accent",children:ow(e.date,n)}),l.jsx("h3",{className:"mt-3 font-display text-2xl font-medium leading-[1.15] tracking-[-0.01em] text-foreground transition-colors group-hover:text-accent",children:e.title}),l.jsx("p",{className:"mt-3 line-clamp-3 text-[15px] leading-relaxed text-foreground
3224/70",children:e.excerpt}),l.jsxs("span",{className:"mt-4 inline-flex items-center gap-1.5 text-sm font-medium text-accent transition-transform duration-300 ease-smooth group-hover:translate-x-1",children:[i("Lire l'article","Read article"),l.jsx(Je,{className:"h-4 w-4"})]})]})]})})}function Yj(){const e=me(),t=HY(),n=t[0],r=t.slice(1);return y.useEffect(()=>{document.title=e("Blog — Boîte Pac","Blog — Boîte Pac");const i=document.querySelector('meta[name="description"]');i&&i.setAttribute("content",e("Réflexions, outils et histoires de notre équipe sur le leadership, l'impact et la certification B Corp.","Reflections, tools and stories from our team on leadership, impact and B Corp certification."))},[e]),l.jsxs(ht,{children:[l.jsx("section",{className:"bg-navy text-cream",children:l.jsx("div",{className:"section pt-32 pb-20 md:pt-40 md:pb-24",children:l.jsxs(re.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-4xl",children:[l.jsx("span",{className:"pill-light",children:e("Notre blog","Our blog")}),l.jsx("h1",{className:"mt-6 font-display text-[clamp(2.25rem,5vw,4.75rem)] font-medium leading-[1.05] tracking-[-0.02em]",children:e(l.jsxs(l.Fragment,{children:["Réflexions, outils et histoires",l.jsx("br",{}),"de notre équipe."]}),l.jsxs(l.Fragment,{children:["Reflections, tools and stories",l.jsx("br",{}),"from our team."]}))}),l.jsx("p",{className:"mt-6 max-w-2xl text-base leading-relaxed text-cream/75 md:text-lg",children:e("Leadership, certification B Corp, culture d'équipe : on partage ce qu'on apprend en chemin.","Leadership, B Corp certification, team culture: we share what we learn along the way.")})]})})}),l.jsx("section",{className:"relative z-10 -mt-8 rounded-t-[2.5rem] bg-background py-20 md:-mt-12 md:rounded-t-[3rem] md:py-28",children:l.jsxs("div",{className:"section",children:[n&&l.jsx(wle,{post:n}),r.length>0&&l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:"mt-20 mb-12 flex items-center gap-4 md:mt-28",children:[l.jsx("h2",{className:"font-display text-sm font-semibold uppercase tracking-[0.2em] text-foreground/60",children:e("Tous les articles","All articles")}
vendor: 4,757 bytes, line 3224
3224),l.jsx("span",{className:"h-px flex-1 bg-foreground/10"}),l.jsx("span",{className:"text-sm text-foreground/50",children:e(`${t.length} articles`,`${t.length} articles`)})]}),l.jsx("div",{className:"grid gap-x-10 gap-y-16 md:grid-cols-2 md:gap-y-20",children:r.map((i,s)=>l.jsx(EI,{post:i,index:s},i.slug))})]})]})}),l.jsx(ur,{})]})}function kle(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Cle=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,jle=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Sle={};function Qj(e,t){return(Sle.jsx?jle:Cle).test(e)}const _le=/[ \t\n\f\r]/g;function Ele(e){return typeof e=="object"?e.type==="text"?Xj(e.value):!1:Xj(e)}function Xj(e){return e.replace(_le,"")===""}class pu{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}pu.prototype.normal={};pu.prototype.property={};pu.prototype.space=void 0;function TI(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new pu(n,r,t)}function Dy(e){return e.toLowerCase()}class en{constructor(t,n){this.attribute=n,this.property=t}}en.prototype.attribute="";en.prototype.booleanish=!1;en.prototype.boolean=!1;en.prototype.commaOrSpaceSeparated=!1;en.prototype.commaSeparated=!1;en.prototype.defined=!1;en.prototype.mustUseProperty=!1;en.prototype.number=!1;en.prototype.overloadedBoolean=!1;en.prototype.property="";en.prototype.spaceSeparated=!1;en.prototype.space=void 0;let Tle=0;const de=vo(),st=vo(),My=vo(),W=vo(),Ae=vo(),eo=vo(),sn=vo();function vo(){return 2**++Tle}const By=Object.freeze(Object.defineProperty({__proto__:null,boolean:de,booleanish:st,commaOrSpaceSeparated:sn,commaSeparated:eo,number:W,overloadedBoolean:My,spaceSeparated:Ae},Symbol.toStringTag,{value:"Module"})),rg=Object.keys(By);class Aw extends en{constructor(t,n,r,i){let s=-1;if(super(t,n),Zj(this,"space",i),typeof r=="number")for(;++s<rg.length;){const o=rg[s];Zj(this,rg[s],(r&By[o])===By[o])}}}Aw.prototype.defined=!0;function Zj(e,t,n){n&&(e[t]=n)}function tl(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const s=new Aw(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Dy(r)]=r,n[Dy(s.attribute)]=r}return new pu(t,n,e.space)}const PI=tl({properties:{ariaActiveDescendant:null,ariaAtomic:st,ariaAutoComplete:null,ariaBusy:st,ariaChecked:st,ariaColCount:W,ariaColIndex:W,ariaColSpan:W,ariaControls:Ae,ariaCurrent:null,ariaDescribedBy:Ae,ariaDetails:null,ariaDisabled:st,ariaDropEffect:Ae,ariaErrorMessage:null,ariaExpanded:st,ariaFlowTo:Ae,ariaGrabbed:st,ariaHasPopup:null,ariaHidden:st,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ae,ariaLevel:W,ariaLive:null,ariaModal:st,ariaMultiLine:st,ariaMultiSelectable:st,ariaOrientation:null,ariaOwns:Ae,ariaPlaceholder:null,ariaPosInSet:W,ariaPressed:st,ariaReadOnly:st,ariaRelevant:null,ariaRequired:st,ariaRoleDescription:Ae,ariaRowCount:W,ariaRowIndex:W,ariaRowSpan:W,ariaSelected:st,ariaSetSize:W,ariaSort:null,ariaValueMax:W,ariaValueMin:W,ariaValueNow:W,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function AI(e,t){return t in e?e[t]:t}function NI(e,t){return AI(e,t.toLowerCase())}const Ple=tl({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:eo,acceptCharset:Ae,accessKey:Ae,action:null,allow:null,allowFullScreen:de,allowPaymentRequest:de,allowUserMedia:de,alpha:de,alt:null,as:null,async:de,autoCapitalize:null,autoComplete:Ae,autoFocus:de,autoPlay:de,blocking:Ae,capture:null,charSet:null,checked:de,cite:null,className:Ae,closedBy:null,colorSpace:null,cols:W,colSpan:W,command:null,commandFor:null,content:null,contentEditable:st,controls:de,controlsList:Ae,coords:W|eo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:de,defer:de,dir:null,dirName:null,disabled:de,download:My,draggable:st,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:de,formTarget:null,headers:Ae,height:W,hidden:My,high:W,href:null,hrefLang:null,htmlFor:Ae,httpEquiv:Ae,id:null,imageSizes:null,imageSrcSet:null,inert:de,inputMode:null,integrity:null,is:null,isMap:de,itemId:null,itemProp:Ae,itemRef:Ae,itemScope:de,itemType:Ae,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:de,low:W,manifest:null,max:null,maxLength:W,media:null,method:null,min:null,minLength:W,multiple:de,muted:de,name:null,nonce:null,noModule:de,noValidate:de,onAbort:null,onAfterPrint:null,onAuxCl
3224ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:de,optimum:W,pattern:null,ping:Ae,placeholder:null,playsInline:de,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:de,referrerPolicy:null,rel:Ae,required:de,reversed:de,rows:W,rowSpan:W,sandbox:Ae,scope:null,scoped:de,seamless:de,selected:de,shadowRootClonable:de,shadowRootCustomElementRegistry:de,shadowRootDelegatesFocus:de,shadowRootMode:null,shadowRootSerializable:de,shape:null,size:W,sizes:null,slot:null,span:W,spellCheck:st,src:null,
3224srcDoc:null,srcLang:null,srcSet:null,start:W,step:null,style:null,tabIndex:W,target:null,title:null,translate:null,type:null,typeMustMatch:de,useMap:null,value:st,width:W,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ae,axis:null,background:null,bgColor:null,border:W,borderColor:null,bottomMargin:W,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:de,declare:de,event:null,face:null,frame:null,frameBorder:null,hSpace:W,leftMargin:W,link:null,longDesc:null,lowSrc:null,marginHeight:W,marginWidth:W,noResize:de,noHref:de,noShade:de,noWrap:de,object:null,profile:null,prompt:null,rev:null,rightMargin:W,rules:null,scheme:null,scrolling:st,standby:null,summary:null,text:null,topMargin:W,valueType:null,version:null,vAlign:null,vLink:null,vSpace:W,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:de,disablePictureInPicture:de,disableRemotePlayback:de,exportParts:eo,part:Ae,prefix:null,property:null,results:W,security:null,unselectable:null},space:"html",transform:NI}),Ale=tl({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
3224-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:sn,accentHeight:W,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:W,amplitude:W,arabicForm:null,ascent:W,attributeName:null,attributeType:null,azimuth:W,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:W,by:null,calcMode:null,capHeight:W,className:Ae,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:W,diffuseConstant:W,direction:null,display:null,dur:null,divisor:W,dominantBaseline:null,download:de,dx:null,dy:null,edgeMode:null,editable:null,elevation:W,enableBackground:null,end:null,event:null,exponent:W,externalResourcesRequired:null,fill:null,fillOpacity:W,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:eo,g2:eo,glyphName:eo,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:W,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:W,horizOriginX:W,horizOriginY:W,id:null,ideographic:W,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:W,k:W,k1:W,k2:W,k3:W,k4:W,kernelMatrix:sn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:W,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:W,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
vendor: 4,377 bytes, lines 3224-3225
3224Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:W,overlineThickness:W,paintOrder:null,panose1:null,path:null,pathLength:W,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ae,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:W,pointsAtY:W,pointsAtZ:W,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:sn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:sn,rev:sn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:sn,requiredFeatures:sn,requiredFonts:sn,requiredFormats:sn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:W,specularExponent:W,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:W,strikethroughThickness:W,string:null,stroke:null,strokeDashArray:sn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:W,strokeOpacity:W,strokeWidth:null,style:null,surfaceScale:W,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:sn,tabIndex:W,tableValues:null,target:null,targetX:W,targetY:W,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:sn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:W,underlineThickness:W,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:W,values:null,vAlphabetic:W,vMathematical:W,vectorEffect:null,vHanging:W,vIdeographic:W,version:null,vertAdvY:W,vertOriginX:W,vertOriginY:W,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:W,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:AI}),RI=tl({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),qI=tl({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:NI}),II=tl({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Nle={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Rle=/[A-Z]/g,e2=/-[a-z]/g,qle=/^data[-\w.:]+$/i;function Ile(e,t){const n=Dy(t);let r=t,i=en;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&qle.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(e2,Ole);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!e2.test(s)){let o=s.replace(Rle,Lle);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Aw}return new i(r,t)}function Lle(e){return"-"+e.toLowerCase()}function Ole(e){return e.charAt(1).toUpperCase()}const Dle=TI([PI,Ple,RI,qI,II],"html"),Nw=TI([PI,Ale,RI,qI,II],"svg");function Mle(e){return e.join(" ").trim()}var Rw={},t2=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ble=/\n/g,$le=/^\s*/,Fle=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,zle=/^:\s*/,Ule=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Vle=/^[;\s]*/,Wle=/^\s+|\s+$/g,Hle=`
3225`,n2="/",r2="*",Os="",Gle="comment",Kle="declaration";function Jle(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(m){var g=m.match(Ble);g&&(n+=g.length);var x=m.lastIndexOf(Hle);r=~x?m.length-x:r+m.length}function s(){var m={line:n,column:r};return function(g){return g.position=new o(m),u(),g}}function o(m){this.start=m,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function a(m){var g=new Error(t.source+":"+n+":"+r+": "+m);
vendor: 4,615 bytes, line 3225
3225if(g.reason=m,g.filename=t.source,g.line=n,g.column=r,g.source=e,!t.silent)throw g}function c(m){var g=m.exec(e);if(g){var x=g[0];return i(x),e=e.slice(x.length),g}}function u(){c($le)}function p(m){var g;for(m=m||[];g=d();)g!==!1&&m.push(g);return m}function d(){var m=s();if(!(n2!=e.charAt(0)||r2!=e.charAt(1))){for(var g=2;Os!=e.charAt(g)&&(r2!=e.charAt(g)||n2!=e.charAt(g+1));)++g;if(g+=2,Os===e.charAt(g-1))return a("End of comment missing");var x=e.slice(2,g-2);return r+=2,i(x),e=e.slice(g),r+=2,m({type:Gle,comment:x})}}function h(){var m=s(),g=c(Fle);if(g){if(d(),!c(zle))return a("property missing ':'");var x=c(Ule),v=m({type:Kle,property:i2(g[0].replace(t2,Os)),value:x?i2(x[0].replace(t2,Os)):Os});return c(Vle),v}}function f(){var m=[];p(m);for(var g;g=h();)g!==!1&&(m.push(g),p(m));return m}return u(),f()}function i2(e){return e?e.replace(Wle,Os):Os}var Yle=Jle,Qle=Qd&&Qd.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Rw,"__esModule",{value:!0});Rw.default=Zle;const Xle=Qle(Yle);function Zle(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,Xle.default)(e),i=typeof t=="function";return r.forEach(s=>{if(s.type!=="declaration")return;const{property:o,value:a}=s;i?t(o,a,s):a&&(n=n||{},n[o]=a)}),n}var bf={};Object.defineProperty(bf,"__esModule",{value:!0});bf.camelCase=void 0;var ece=/^--[a-zA-Z0-9_-]+$/,tce=/-([a-z])/g,nce=/^[^-]+$/,rce=/^-(webkit|moz|ms|o|khtml)-/,ice=/^-(ms)-/,sce=function(e){return!e||nce.test(e)||ece.test(e)},oce=function(e,t){return t.toUpperCase()},s2=function(e,t){return"".concat(t,"-")},ace=function(e,t){return t===void 0&&(t={}),sce(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(ice,s2):e=e.replace(rce,s2),e.replace(tce,oce))};bf.camelCase=ace;var lce=Qd&&Qd.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},cce=lce(Rw),uce=bf;function $y(e,t){var n={};return!e||typeof e!="string"||(0,cce.default)(e,function(r,i){r&&i&&(n[(0,uce.camelCase)(r,t)]=i)}),n}$y.default=$y;var dce=$y;const pce=hs(dce),LI=OI("end"),qw=OI("start");function OI(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function hce(e){const t=qw(e),n=LI(e);if(t&&n)return{start:t,end:n}}function Ql(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?o2(e.position):"start"in e||"end"in e?o2(e):"line"in e||"column"in e?Fy(e):""}function Fy(e){return a2(e&&e.line)+":"+a2(e&&e.column)}function o2(e){return Fy(e&&e.start)+"-"+Fy(e&&e.end)}function a2(e){return e&&typeof e=="number"?e:1}class Rt extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",s={},o=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?i=t:!s.cause&&t&&(o=!0,i=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?s.ruleId=r:(s.source=r.slice(0,c),s.ruleId=r.slice(c+1))}if(!s.place&&s.ancestors&&s.ancestors){const c=s.ancestors[s.ancestors.length-1];c&&(s.place=c.position)}const a=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=a?a.line:void 0,this.name=Ql(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=o&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Rt.prototype.file="";Rt.prototype.name="";Rt.prototype.reason="";Rt.prototype.message="";Rt.prototype.stack="";Rt.prototype.column=void 0;Rt.prototype.line=void 0;Rt.prototype.ancestors=void 0;Rt.prototype.cause=void 0;Rt.prototype.fatal=void 0;Rt.prototype.place=void 0;Rt.prototype.ruleId=void 0;Rt.prototype.source=void 0;const Iw={}.hasOwnProperty,fce=new Map,mce=/[A-Z]/g,gce=new Set(["table","tbody","thead","tfoot","tr"]),vce=new Set(["td","th"]),DI="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function yce(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=_ce(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 5,896 bytes, line 3225
3225if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Sce(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Nw:Dle,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=MI(i,e,void 0);return s&&typeof s!="string"?s:i.create(e,i.Fragment,{children:s||void 0},void 0)}function MI(e,t,n){if(t.type==="element")return bce(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return xce(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return kce(e,t,n);if(t.type==="mdxjsEsm")return wce(e,t);if(t.type==="root")return Cce(e,t,n);if(t.type==="text")return jce(e,t)}function bce(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Nw,e.schema=i),e.ancestors.push(t);const s=$I(e,t.tagName,!1),o=Ece(e,t);let a=Ow(e,t);return gce.has(t.tagName)&&(a=a.filter(function(c){return typeof c=="string"?!Ele(c):!0})),BI(e,o,s,t),Lw(o,a),e.ancestors.pop(),e.schema=r,e.create(t,s,o,n)}function xce(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Fc(e,t.position)}function wce(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Fc(e,t.position)}function kce(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=Nw,e.schema=i),e.ancestors.push(t);const s=t.name===null?e.Fragment:$I(e,t.name,!0),o=Tce(e,t),a=Ow(e,t);return BI(e,o,s,t),Lw(o,a),e.ancestors.pop(),e.schema=r,e.create(t,s,o,n)}function Cce(e,t,n){const r={};return Lw(r,Ow(e,t)),e.create(t,e.Fragment,r,n)}function jce(e,t){return t.value}function BI(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Lw(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Sce(e,t,n){return r;function r(i,s,o,a){const u=Array.isArray(o.children)?n:t;return a?u(s,o,a):u(s,o)}}function _ce(e,t){return n;function n(r,i,s,o){const a=Array.isArray(s.children),c=qw(r);return t(i,s,o,a,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function Ece(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&Iw.call(t.properties,i)){const s=Pce(e,i,t.properties[i]);if(s){const[o,a]=s;e.tableCellAlignToStyle&&o==="align"&&typeof a=="string"&&vce.has(t.tagName)?r=a:n[o]=a}}if(r){const s=n.style||(n.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function Tce(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const s=r.data.estree.body[0];s.type;const o=s.expression;o.type;const a=o.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else Fc(e,t.position);else{const i=r.name;let s;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const a=r.value.data.estree.body[0];a.type,s=e.evaluater.evaluateExpression(a.expression)}else Fc(e,t.position);else s=r.value===null?!0:r.value;n[i]=s}return n}function Ow(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:fce;for(;++r<t.children.length;){const s=t.children[r];let o;if(e.passKeys){const c=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(c){const u=i.get(c)||0;o=c+"-"+u,i.set(c,u+1)}}const a=MI(e,s,o);a!==void 0&&n.push(a)}return n}function Pce(e,t,n){const r=Ile(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?kle(n):Mle(n)),r.property==="style"){let i=typeof n=="object"?n:Ace(e,String(n));return e.stylePropertyNameCase==="css"&&(i=Nce(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?Nle[r.property]||r.property:r.attribute,n]}}function Ace(e,t){try{return pce(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new Rt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=DI+"#cannot-parse-style-attribute",i}}function $I(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let s=-1,o;for(;++s<i.length;){const a=Qj(i[s])?{type:"Identifier",name:i[s]}:{type:"Literal",value:i[s]};o=o?{type:"MemberExpression",object:o,property:a,computed:!!(s&&a.type==="Literal"),optional:!1}:a}r=o}else r=Qj(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return Iw.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Fc(e)}function Fc(e,t){const n=new Rt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=DI+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Nce(e){const t={};let n;for(n in e)Iw.call(e,n)&&(t[Rce(n)]=e[n]);return t}function Rce(e){let t=e.replace(mce,qce);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function qce(e){return"-"+e.toLowerCase()}const ig={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Ice={};function Dw(e,t){const n=Ice,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return FI(e,r,i)}
vendor: 11,370 bytes, line 3225
3225function FI(e,t,n){if(Lce(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return l2(e.children,t,n)}return Array.isArray(e)?l2(e,t,n):""}function l2(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=FI(e[i],t,n);return r.join("")}function Lce(e){return!!(e&&typeof e=="object")}const c2=document.createElement("i");function Mw(e){const t="&"+e+";";c2.innerHTML=t;const n=c2.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function hn(e,t,n,r){const i=e.length;let s=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);s<r.length;)o=r.slice(s,s+1e4),o.unshift(t,0),e.splice(...o),s+=1e4,t+=1e4}function _n(e,t){return e.length>0?(hn(e,e.length,0,t),e):t}const u2={}.hasOwnProperty;function zI(e){const t={};let n=-1;for(;++n<e.length;)Oce(t,e[n]);return t}function Oce(e,t){let n;for(n in t){const i=(u2.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let o;if(s)for(o in s){u2.call(i,o)||(i[o]=[]);const a=s[o];Dce(i[o],Array.isArray(a)?a:a?[a]:[])}}}function Dce(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);hn(e,0,0,r)}function UI(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function ir(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Dt=ws(/[A-Za-z]/),At=ws(/[\dA-Za-z]/),Mce=ws(/[#-'*+\--9=?A-Z^-~]/);function rh(e){return e!==null&&(e<32||e===127)}const zy=ws(/\d/),Bce=ws(/[\dA-Fa-f]/),$ce=ws(/[!-/:-@[-`{-~]/);function se(e){return e!==null&&e<-2}function Re(e){return e!==null&&(e<0||e===32)}function be(e){return e===-2||e===-1||e===32}const xf=ws(new RegExp("\\p{P}|\\p{S}","u")),uo=ws(/\s/);function ws(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function nl(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const s=e.charCodeAt(n);let o="";if(s===37&&At(e.charCodeAt(n+1))&&At(e.charCodeAt(n+2)))i=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(o=String.fromCharCode(s));else if(s>55295&&s<57344){const a=e.charCodeAt(n+1);s<56320&&a>56319&&a<57344?(o=String.fromCharCode(s,a),i=1):o="�"}else o=String.fromCharCode(s);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function ke(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let s=0;return o;function o(c){return be(c)?(e.enter(n),a(c)):t(c)}function a(c){return be(c)&&s++<i?(e.consume(c),a):(e.exit(n),t(c))}}const Fce={tokenize:zce};function zce(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),ke(e,t,"linePrefix")}function i(a){return e.enter("paragraph"),s(a)}function s(a){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,o(a)}function o(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return se(a)?(e.consume(a),e.exit("chunkText"),s):(e.consume(a),o)}}const Uce={tokenize:Vce},d2={tokenize:Wce};function Vce(e){const t=this,n=[];let r=0,i,s,o;return a;function a(w){if(r<n.length){const k=n[r];return t.containerState=k[1],e.attempt(k[0].continuation,c,u)(w)}return u(w)}function c(w){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&b();const k=t.events.length;let S=k,C;for(;S--;)if(t.events[S][0]==="exit"&&t.events[S][1].type==="chunkFlow"){C=t.events[S][1].end;break}v(r);let T=k;for(;T<t.events.length;)t.events[T][1].end={...C},T++;return hn(t.events,S+1,0,t.events.slice(k)),t.events.length=T,u(w)}return a(w)}function u(w){if(r===n.length){if(!i)return h(w);if(i.currentConstruct&&i.currentConstruct.concrete)return m(w);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(d2,p,d)(w)}function p(w){return i&&b(),v(r),h(w)}function d(w){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(w)}function h(w){return t.containerState={},e.attempt(d2,f,m)(w)}function f(w){return r++,n.push([t.currentConstruct,t.containerState]),h(w)}function m(w){if(w===null){i&&b(),v(0),e.consume(w);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:s}),g(w)}function g(w){if(w===null){x(e.exit("chunkFlow"),!0),v(0),e.consume(w);return}return se(w)?(e.consume(w),x(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(w),g)}function x(w,k){const S=t.sliceStream(w);if(k&&S.push(null),w.previous=s,s&&(s.next=w),s=w,i.defineSkip(w.start),i.write(S),t.parser.lazy[w.start.line]){let C=i.events.length;for(;C--;)if(i.events[C][1].start.offset<o&&(!i.events[C][1].end||i.events[C][1].end.offset>o))return;const T=t.events.length;let P=T,R,j;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){if(R){j=t.events[P][1].end;break}R=!0}for(v(r),C=T;C<t.events.length;)t.events[C][1].end={...j},C++;hn(t.events,P+1,0,t.events.slice(T)),t.events.length=C}}function v(w){let k=n.length;for(;k-- >w;){const S=n[k];t.containerState=S[1],S[0].exit.call(t,e)}n.length=w}function b(){i.write([null]),s=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Wce(e,t,n){return ke(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ba(e){if(e===null||Re(e)||uo(e))return 1;if(xf(e))return 2}function wf(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const s=e[i].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}const Uy={name:"attention",resolveAll:Hce,tokenize:Gce};function Hce(e,t){let n=-1,r,i,s,o,a,c,u,p;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d={...e[r][1].end},h={...e[n][1].start};p2(d,-c),p2(h,c),o={type:c>1?"strongSequence":"emphasisSequence",start:d,end:{...e[r][1].end}},a={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:h},s={type:c>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},e[r][1].end={...o.start},e[n][1].start={...a.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=_n(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=_n(u,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",s,t]]),u=_n(u,wf(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=_n(u,[["exit",s,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(p=2,u=_n(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):p=0,hn(e,r-1,n-r+3,u),n=r+u.length-p-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Gce(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Ba(r);let s;return o;function o(c){return s=c,e.enter("attentionSequence"),a(c)}function a(c){if(c===s)return e.consume(c),a;const u=e.exit("attentionSequence"),p=Ba(c),d=!p||p===2&&i||n.includes(c),h=!i||i===2&&p||n.includes(r);return u._open=!!(s===42?d:d&&(i||!h)),u._close=!!(s===42?h:h&&(p||!d)),t(c)}}function p2(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Kce={name:"autolink",tokenize:Jce};function Jce(e,t,n){let r=0;return i;function i(f){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(f){return Dt(f)?(e.consume(f),o):f===64?n(f):u(f)}function o(f){return f===43||f===45||f===46||At(f)?(r=1,a(f)):u(f)}function a(f){return f===58?(e.consume(f),r=0,c):(f===43||f===45||f===46||At(f))&&r++<32?(e.consume(f),a):(r=0,u(f))}function c(f){return f===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):f===null||f===32||f===60||rh(f)?n(f):(e.consume(f),c)}function u(f){return f===64?(e.consume(f),p):Mce(f)?(e.consume(f),u):n(f)}function p(f){return At(f)?d(f):n(f)}function d(f){return f===46?(e.consume(f),r=0,p):f===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):h(f)}function h(f){if((f===45||At(f))&&r++<63){const m=f===45?h:d;return e.consume(f),m}return n(f)}}const hu={partial:!0,tokenize:Yce};function Yce(e,t,n){return r;function r(s){return be(s)?ke(e,i,"linePrefix")(s):i(s)}function i(s){return s===null||se(s)?t(s):n(s)}}const VI={continuation:{tokenize:Xce},exit:Zce,name:"blockQuote",tokenize:Qce};function Qce(e,t,n){const r=this;return i;function i(o){if(o===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),s}return n(o)}function s(o){return be(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function Xce(e,t,n){const r=this;return i;function i(o){return be(o)?ke(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):s(o)}function s(o){return e.attempt(VI,t,n)(o)}}function Zce(e){e.exit("blockQuote")}const WI={name:"characterEscape",tokenize:eue};function eue(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),i}function i(s){return $ce(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}const HI={name:"characterReference",tokenize:tue};function tue(e,t,n){const r=this;let i=0,s,o;return a;function a(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),c}function c(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),s=31,o=At,p(d))}function u(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,o=Bce,p):(e.enter("characterReferenceValue"),s=7,o=zy,p(d))}function p(d){if(d===59&&i){const h=e.exit("characterReferenceValue");return o===At&&!Mw(r.sliceSerialize(h))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(d)&&i++<s?(e.consume(d),p):n(d)}}const h2={partial:!0,tokenize:rue},f2={concrete:!0,name:"codeFenced",tokenize:nue};function nue(e,t,n){const r=this,i={partial:!0,tokenize:S};let s=0,o=0,a;return c;function c(C){return u(C)}function u(C){const T=r.events[r.events.length-1];return s=T&&T[1].type==="linePrefix"?T[2].sliceSerialize(T[1],!0).length:0,a=C,e.enter("co
3225deFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(C)}function p(C){return C===a?(o++,e.consume(C),p):o<3?n(C):(e.exit("codeFencedFenceSequence"),be(C)?ke(e,d,"whitespace")(C):d(C))}function d(C){return C===null||se(C)?(e.exit("codeFencedFence"),r.interrupt?t(C):e.check(h2,g,k)(C)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(C))}function h(C){return C===null||se(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(C)):be(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ke(e,f,"whitespace")(C)):C===96&&C===a?n(C):(e.consume(C),h)}function f(C){return C===null||se(C)?d(C):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(C))}function m(C){return C===null||se(C)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(C)):C===96&&C===a?n(C):(e.consume(C),m)}function g(C){return e.attempt(i,k,x)(C)}function x(C){return e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),v}function v(C){return s>0&&be(C)?ke(e,b,"linePrefix",s+1)(C):b(C)}function b(C){return C===null||se(C)?e.check(h2,g,k)(C):(e.enter("codeFlowValue"),w(C))}function w(C){return C===null||se(C)?(e.exit("codeFlowValue"),b(C)):(e.consume(C),w)}function k(C){return e.exit("codeFenced"),t(C)}function S(C,T,P){let R=0;return j;function j($){return C.enter("lineEnding"),C.consume($),C.exit("lineEnding"),q}function q($){return C.enter("codeFencedFence"),be($)?ke(C,A,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):A($)}function A($){return $===a?(C.enter("codeFencedFenceSequence"),D($)):P($)}function D($){return $===a?(R++,C.consume($),D):R>=o?(C.exit("codeFencedFenceSequence"),be($)?ke(C,L,"whitespace")($):L($)):P($)}function L($){return $===null||se($)?(C.exit("codeFencedFence"),T($)):P($)}}}function rue(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const sg={name:"codeIndented",tokenize:sue},iue={partial:!0,tokenize:oue};function sue(e,t,n){const r=this;return i;function i(u){return e.enter("codeIndented"),ke(e,s,"linePrefix",5)(u)}function s(u){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?o(u):n(u)}function o(u){return u===null?c(u):se(u)?e.attempt(iue,o,c)(u):(e.enter("codeFlowValue"),a(u))}function a(u){return u===null||se(u)?(e.exit("codeFlowValue"),o(u)):(e.consume(u),a)}function c(u){return e.exit("codeIndented"),t(u)}}function oue(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):se(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):ke(e,s,"linePrefix",5)(o)}function s(o){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):se(o)?i(o):n(o)}}const aue={name:"codeText",previous:cue,resolve:lue,tokenize:uue};function lue(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function cue(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function uue(e,t,n){let r=0,i,s;return o;function o(d){return e.enter("codeText"),e.enter("codeTextSequence"),a(d)}function a(d){return d===96?(e.consume(d),r++,a):(e.exit("codeTextSequence"),c(d))}function c(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),c):d===96?(s=e.enter("codeTextSequence"),i=0,p(d)):se(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("codeTextData"),u(d))}function u(d){return d===null||d===32||d===96||se(d)?(e.exit("codeTextData"),c(d)):(e.consume(d),u)}function p(d){return d===96?(e.consume(d),i++,p):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(s.type="codeTextData",u(
vendor: 5,301 bytes, line 3225
3225d))}}class due{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&wl(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),wl(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),wl(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);wl(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);wl(this.left,n.reverse())}}}function wl(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function GI(e){const t={};let n=-1,r,i,s,o,a,c,u;const p=new due(e);for(;++n<p.length;){for(;n in t;)n=t[n];if(r=p.get(n),n&&r[1].type==="chunkFlow"&&p.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,s=0,s<c.length&&c[s][1].type==="lineEndingBlank"&&(s+=2),s<c.length&&c[s][1].type==="content"))for(;++s<c.length&&c[s][1].type!=="content";)c[s][1].type==="chunkText"&&(c[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,pue(p,n)),n=t[n],u=!0);else if(r[1]._container){for(s=n,i=void 0;s--;)if(o=p.get(s),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(p.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=s);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...p.get(i)[1].start},a=p.slice(i,n),a.unshift(r),p.splice(i,n-i+1,a))}}return hn(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!u}function pue(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const s=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const a=o.events,c=[],u={};let p,d,h=-1,f=n,m=0,g=0;const x=[g];for(;f;){for(;e.get(++i)[1]!==f;);s.push(i),f._tokenizer||(p=r.sliceStream(f),f.next||p.push(null),d&&o.defineSkip(f.start),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(p),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=f,f=f.next}for(f=n;++h<a.length;)a[h][0]==="exit"&&a[h-1][0]==="enter"&&a[h][1].type===a[h-1][1].type&&a[h][1].start.line!==a[h][1].end.line&&(g=h+1,x.push(g),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(o.events=[],f?(f._tokenizer=void 0,f.previous=void 0):x.pop(),h=x.length;h--;){const v=a.slice(x[h],x[h+1]),b=s.pop();c.push([b,b+v.length-1]),e.splice(b,2,v)}for(c.reverse(),h=-1;++h<c.length;)u[m+c[h][0]]=m+c[h][1],m+=c[h][1]-c[h][0]-1;return u}const hue={resolve:mue,tokenize:gue},fue={partial:!0,tokenize:vue};function mue(e){return GI(e),e}function gue(e,t){let n;return r;function r(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?s(a):se(a)?e.check(fue,o,s)(a):(e.consume(a),i)}function s(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function o(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function vue(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ke(e,s,"linePrefix")}function s(o){if(o===null||se(o))return n(o);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function KI(e,t,n,r,i,s,o,a,c){const u=c||Number.POSITIVE_INFINITY;let p=0;return d;function d(v){return v===60?(e.enter(r),e.enter(i),e.enter(s),e.consume(v),e.exit(s),h):v===null||v===32||v===41||rh(v)?n(v):(e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),g(v))}function h(v){return v===62?(e.enter(s),e.consume(v),e.exit(s),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),f(v))}function f(v){return v===62?(e.exit("chunkString"),e.exit(a),h(v)):v===null||v===60||se(v)?n(v):(e.consume(v),v===92?m:f)}function m(v){return v===60||v===62||v===92?(e.consume(v),f):f(v)}function g(v){return!p&&(v===null||v===41||Re(v))?(e.exit("chunkString"),e.exit(a),e.exit(o),e.exit(r),t(v)):p<u&&v===40?(e.consume(v),p++,g):v
vendor: 16,287 bytes, line 3225
3225===41?(e.consume(v),p--,g):v===null||v===32||v===40||rh(v)?n(v):(e.consume(v),v===92?x:g)}function x(v){return v===40||v===41||v===92?(e.consume(v),g):g(v)}}function JI(e,t,n,r,i,s){const o=this;let a=0,c;return u;function u(f){return e.enter(r),e.enter(i),e.consume(f),e.exit(i),e.enter(s),p}function p(f){return a>999||f===null||f===91||f===93&&!c||f===94&&!a&&"_hiddenFootnoteSupport"in o.parser.constructs?n(f):f===93?(e.exit(s),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):se(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),d(f))}function d(f){return f===null||f===91||f===93||se(f)||a++>999?(e.exit("chunkString"),p(f)):(e.consume(f),c||(c=!be(f)),f===92?h:d)}function h(f){return f===91||f===92||f===93?(e.consume(f),a++,d):d(f)}}function YI(e,t,n,r,i,s){let o;return a;function a(h){return h===34||h===39||h===40?(e.enter(r),e.enter(i),e.consume(h),e.exit(i),o=h===40?41:h,c):n(h)}function c(h){return h===o?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(e.enter(s),u(h))}function u(h){return h===o?(e.exit(s),c(o)):h===null?n(h):se(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),ke(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(h))}function p(h){return h===o||h===null||se(h)?(e.exit("chunkString"),u(h)):(e.consume(h),h===92?d:p)}function d(h){return h===o||h===92?(e.consume(h),p):p(h)}}function Xl(e,t){let n;return r;function r(i){return se(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):be(i)?ke(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const yue={name:"definition",tokenize:xue},bue={partial:!0,tokenize:wue};function xue(e,t,n){const r=this;let i;return s;function s(f){return e.enter("definition"),o(f)}function o(f){return JI.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function a(f){return i=ir(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),f===58?(e.enter("definitionMarker"),e.consume(f),e.exit("definitionMarker"),c):n(f)}function c(f){return Re(f)?Xl(e,u)(f):u(f)}function u(f){return KI(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function p(f){return e.attempt(bue,d,d)(f)}function d(f){return be(f)?ke(e,h,"whitespace")(f):h(f)}function h(f){return f===null||se(f)?(e.exit("definition"),r.parser.defined.push(i),t(f)):n(f)}}function wue(e,t,n){return r;function r(a){return Re(a)?Xl(e,i)(a):n(a)}function i(a){return YI(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function s(a){return be(a)?ke(e,o,"whitespace")(a):o(a)}function o(a){return a===null||se(a)?t(a):n(a)}}const kue={name:"hardBreakEscape",tokenize:Cue};function Cue(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),i}function i(s){return se(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}const jue={name:"headingAtx",resolve:Sue,tokenize:_ue};function Sue(e,t){let n=e.length-2,r=3,i,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},hn(e,r,n-r+1,[["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t]])),e}function _ue(e,t,n){let r=0;return i;function i(p){return e.enter("atxHeading"),s(p)}function s(p){return e.enter("atxHeadingSequence"),o(p)}function o(p){return p===35&&r++<6?(e.consume(p),o):p===null||Re(p)?(e.exit("atxHeadingSequence"),a(p)):n(p)}function a(p){return p===35?(e.enter("atxHeadingSequence"),c(p)):p===null||se(p)?(e.exit("atxHeading"),t(p)):be(p)?ke(e,a,"whitespace")(p):(e.enter("atxHeadingText"),u(p))}function c(p){return p===35?(e.consume(p),c):(e.exit("atxHeadingSequence"),a(p))}function u(p){return p===null||p===35||Re(p)?(e.exit("atxHeadingText"),a(p)):(e.consume(p),u)}}const Eue=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],m2=["pre","script","style","textarea"],Tue={concrete:!0,name:"htmlFlow",resolveTo:Nue,tokenize:Rue},Pue={partial:!0,tokenize:Iue},Aue={partial:!0,tokenize:que};function Nue(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Rue(e,t,n){const r=this;let i,s,o,a,c;return u;function u(E){return p(E)}function p(E){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(E),d}function d(E){return E===33?(e.consume(E),h):E===47?(e.consume(E),s=!0,g):E===63?(e.consume(E),i=3,r.interrupt?t:_):Dt(E)?(e.consume(E),o=String.fromCharCode(E),x):n(E)}function h(E){return E===45?(e.consume(E),i=2,f):E===91?(e.consume(E),i=5,a=0,m):Dt(E)?(e.consume(E),i=4,r.interrupt?t:_):n(E)}function f(E){return E===45?(e.consume(E),r.interrupt?t:_):n(E)}function m(E){const Q="CDATA[";return E===Q.charCodeAt(a++)?(e.consume(E),a===Q.length?r.interrupt?t:A:m):n(E)}function g(E){return Dt(E)?(e.consume(E),o=String.fromCharCode(E),x):n(E)}function x(E){if(E===null||E===47||E===62||Re(E)){const Q=E===47,ne=o.toLowerCase();return!Q&&!s&&m2.includes(ne)?(i=1,r.interrupt?t(E):A(E)):Eue.includes(o.toLowerCase())?(i=6,Q?(e.consume(E),v):r.interrupt?t(E):A(E)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(E):s?b(E):w(E))}return E===45||At(E)?(e.consume(E),o+=String.fromCharCode(E),x):n(E)}function v(E){return E===62?(e.consume(E),r.interrupt?t:A):n(E)}function b(E){return be(E)?(e.consume(E),b):j(E)}function w(E){return E===47?(e.consume(E),j):E===58||E===95||Dt(E)?(e.consume(E),k):be(E)?(e.consume(E),w):j(E)}function k(E){return E===45||E===46||E===58||E===95||At(E)?(e.consume(E),k):S(E)}function S(E){return E===61?(e.consume(E),C):be(E)?(e.consume(E),S):w(E)}function C(E){return E===null||E===60||E===61||E===62||E===96?n(E):E===34||E===39?(e.consume(E),c=E,T):be(E)?(e.consume(E),C):P(E)}function T(E){return E===c?(e.consume(E),c=null,R):E===null||se(E)?n(E):(e.consume(E),T)}function P(E){return E===null||E===34||E===39||E===47||E===60||E===61||E===62||E===96||Re(E)?S(E):(e.consume(E),P)}function R(E){return E===47||E===62||be(E)?w(E):n(E)}function j(E){return E===62?(e.consume(E),q):n(E)}function q(E){return E===null||se(E)?A(E):be(E)?(e.consume(E),q):n(E)}function A(E){return E===45&&i===2?(e.consume(E),B):E===60&&i===1?(e.consume(E),V):E===62&&i===4?(e.consume(E),z):E===63&&i===3?(e.consume(E),_):E===93&&i===5?(e.consume(E),N):se(E)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Pue,H,D)(E)):E===null||se(E)?(e.exit("htmlFlowData"),D(E)):(e.consume(E),A)}function D(E){return e.check(Aue,L,H)(E)}function L(E){return e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),$}function $(E){return E===null||se(E)?D(E):(e.enter("htmlFlowData"),A(E))}function B(E){return E===45?(e.consume(E),_):A(E)}function V(E){return E===47?(e.consume(E),o="",I):A(E)}function I(E){if(E===62){const Q=o.toLowerCase();return m2.includes(Q)?(e.consume(E),z):A(E)}return Dt(E)&&o.length<8?(e.consume(E),o+=String.fromCharCode(E),I):A(E)}function N(E){return E===93?(e.consume(E),_):A(E)}function _(E){return E===62?(e.consume(E),z):E===45&&i===2?(e.consume(E),_):A(E)}function z(E){return E===null||se(E)?(e.exit("htmlFlowData"),H(E)):(e.consume(E),z)}function H(E){return e.exit("htmlFlow"),t(E)}}function que(e,t,n){const r=this;return i;function i(o){return se(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):n(o)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function Iue(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(hu,t,n)}}const Lue={name:"htmlText",tokenize:Oue};function Oue(e,t,n){const r=this;let i,s,o;return a;function a(_){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(_),c}function c(_){return _===33?(e.consume(_),u):_===47?(e.consume(_),S):_===63?(e.consume(_),w):Dt(_)?(e.consume(_),P):n(_)}function u(_){return _===45?(e.consume(_),p):_===91?(e.consume(_),s=0,m):Dt(_)?(e.consume(_),b):n(_)}function p(_){return _===45?(e.consume(_),f):n(_)}function d(_){return _===null?n(_):_===45?(e.consume(_),h):se(_)?(o=d,V(_)):(e.consume(_),d)}function h(_){return _===45?(e.consume(_),f):d(_)}function f(_){return _===62?B(_):_===45?h(_):d(_)}function m(_){const z="CDATA[";return _===z.charCodeAt(s++)?(e.consume(_),s===z.length?g:m):n(_)}function g(_){return _===null?n(_):_===93?(e.consume(_),x):se(_)?(o=g,V(_)):(e.consume(_),g)}function x(_){return _===93?(e.consume(_),v):g(_)}function v(_){return _===62?B(_):_===93?(e.consume(_),v):g(_)}function b(_){return _===null||_===62?B(_):se(_)?(o=b,V(_)):(e.consume(_),b)}function w(_){return _===null?n(_):_===63?(e.consume(_),k):se(_)?(o=w,V(_)):(e.consume(_),w)}function k(_){return _===62?B(_):w(_)}function S(_){return Dt(_)?(e.consume(_),C):n(_)}function C(_){return _===45||At(_)?(e.consume(_),C):T(_)}function T(_){return se(_)?(o=T,V(_)):be(_)?(e.consume(_),T):B(_)}function P(_){return _===45||At(_)?(e.consume(_),P):_===47||_===62||Re(_)?R(_):n(_)}function R(_){return _===47?(e.consume(_),B):_===58||_===95||Dt(_)?(e.consume(_),j):se(_)?(o=R,V(_)):be(_)?(e.consume(_),R):B(_)}function j(_){return _===45||_===46||_===58||_===95||At(_)?(e.consume(_),j):q(_)}function q(_){return _===61?(e.consume(_),A):se(_)?(o=q,V(_)):be(_)?(e.consume(_),q):R(_)}function A(_){return _===null||_===60||_===61||_===62||_===96?n(_):_===34||_===39?(e.consume(_),i=_,D):se(_)?(o=A,V(_)):be(_)?(e.consume(_),A):(e.consume(_),L)}function D(_){return _===i?(e.consume(_),i=void 0,$):_===null?n(_):se(_)?(o=D,V(_)):(e.consume(_),D)}function L(_){return _===null||_===34||_===39||_===60||_===61||_===96?n(_):_===47||_===62||Re(_)?R(_):(e.consume(_),L)}function $(_){return _===47||_===62||Re(_)?R(_):n(_)}function B(_){return _===62?(e.consume(_),e.exit("htmlTextData"),e.exit("htmlText"),t):n(_)}function V(_){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),I}function I(_){return be(_)?ke(e,N,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(_):N(_)}function N(_){return e.enter("htmlTextData"),o(_)}}const Bw={name:"labelEnd",resolveAll:$ue,resolveTo:Fue,tokenize:zue},Due={tokenize:Uue},Mue={tokenize:Vue},Bue={tokenize:Wue};function $ue(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&hn(e,0,e.length,n),e}function Fue(e,t){let n=e.length,r=0,i,s,o,a;for(;n--;)if(i=e[n][1],s){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(s=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const c={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[s][1].start},end:{...e[o][1].end}},p={type:"labelText",start:{...e[s+r+2][1].end},end:{...e[o-2][1].start}};return a=[["enter",c,t],["enter",u,t]],a=_n(a,e.slice(s+1,s+r+3)),a=_n(a,[["enter",p,t]]),a=_n(a,wf(t.parser.constructs.insideSpan.null,e.slice(s+r+4,o-3),t)),a=_n(a,[["exit",p,t],e[o-2],e[o-1],["exit",u,t]]),a=_n(a,e.slice(o+1)),a=_n(a,[["exit",c,t]]),hn(e,s,e.length,a),e}function zue(e,t,n){const r=this;let i=r.events.length,s,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){s=r.events[i][1];break}return a;function a(h){return s?s._inactive?d(h):(o=r.parser.defined.includes(ir(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),c):n(h)}function c(h){return h===40?e.attempt(Due,p,o?p:d)(h):h===91?e.attempt(Mue,p,o?u:d)(h):o?p(h):d(h)}function u(h){return e.attempt(Bue,p,d)(h)}function p(h){return t(h)}function d(h){return s._balanced=!0,n(h)}}function Uue(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),i}function i(d){return Re(d)?Xl(e,s)(d):s(d)}function s(d){return d===41?p(d):KI(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function o(d){return Re(d)?Xl(e,c)(d):p(d)}function a(d){return n(d)}function c(d){return d===34||d===39||d===40?YI(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):p(d)}function u(d){return Re(d)?Xl(e,p)(d):p(d)}function p(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function Vue(e,t,n){const r=this;return i;function i(a){return JI.call(r,e,s,o,"reference","referenceMarker","referenceString")(a)}function s(a){return r.parser.defined.includes(ir(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function o(a){return n(a)}}function Wue(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),i}function i(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}const Hue={name:"labelStartImage",resolveAll:Bw.resolveAll,tokenize:Gue};function Gue(e,t,n){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),s}function s(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),o):n(a)}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const Kue={name:"labelStartLink",resolveAll:Bw.resolveAll,tokenize:Jue};function Jue(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),s}function s(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const og={name:"lineEnding",tokenize:Yue};function Yue(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ke(e,t,"linePrefix")}}const Jd={name:"thematicBreak",tokenize:Que};function Que(e,t,n){let r=0,i;return s;function s(u){return e.enter("thematicBreak"),o(u)}function o(u){return i=u,a(u)}function a(u){return u===i?(e.enter("thematicBreakSequence"),c(u)):r>=3&&(u===null||se(u))?(e.exit("thematicBreak"),t(u)):n(u)}function c(u){return u===i?(e.consume(u),r++,c):(e.exit("thematicBreakSequence"),be(u)?ke(e,a,"whitespace")(u):a(u))}}const Ht={continuation:{tokenize:tde},exit:rde,name:"list",tokenize:ede},Xue={partial:!0,tokenize:ide},Zue={partial:!0,tokenize:nde};function ede(e,t,n){const r=this,i=r.events[r.events.length-1];let s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return a;function a(f){const m=r.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||f===r.containerState.marker:zy(f)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),f===42||f===45?e.check(Jd,n,u)(f):u(f);if(!r.interrupt||f===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(f)}return n(f)}function c(f){return zy(f)&&++o<10?(e.consume(f),c):(!r.interrupt||o<2)&&(r.containerState.marker?f===r.containerState.marker:f===41||f===46)?(e.exit("listItemValue"),u(f)):n(f)}function u(f){return e.enter("listItemMarker"),e.consume(f),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||f,e.check(hu,r.interrupt?n:p,e.attempt(Xue,h,d))}
vendor: 5,407 bytes, line 3225
3225function p(f){return r.containerState.initialBlankLine=!0,s++,h(f)}function d(f){return be(f)?(e.enter("listItemPrefixWhitespace"),e.consume(f),e.exit("listItemPrefixWhitespace"),h):n(f)}function h(f){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(f)}}function tde(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(hu,i,s);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ke(e,t,"listItemIndent",r.containerState.size+1)(a)}function s(a){return r.containerState.furtherBlankLines||!be(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Zue,t,o)(a))}function o(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,ke(e,e.attempt(Ht,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function nde(e,t,n){const r=this;return ke(e,i,"listItemIndent",r.containerState.size+1);function i(s){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(s):n(s)}}function rde(e){e.exit(this.containerState.type)}function ide(e,t,n){const r=this;return ke(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(s){const o=r.events[r.events.length-1];return!be(s)&&o&&o[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const g2={name:"setextUnderline",resolveTo:sde,tokenize:ode};function sde(e,t){let n=e.length,r,i,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",s?(e.splice(i,0,["enter",o,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end={...e[s][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function ode(e,t,n){const r=this;let i;return s;function s(u){let p=r.events.length,d;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){d=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),i=u,o(u)):n(u)}function o(u){return e.enter("setextHeadingLineSequence"),a(u)}function a(u){return u===i?(e.consume(u),a):(e.exit("setextHeadingLineSequence"),be(u)?ke(e,c,"lineSuffix")(u):c(u))}function c(u){return u===null||se(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const ade={tokenize:lde};function lde(e){const t=this,n=e.attempt(hu,r,e.attempt(this.parser.constructs.flowInitial,i,ke(e,e.attempt(this.parser.constructs.flow,i,e.attempt(hue,i)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const cde={resolveAll:XI()},ude=QI("string"),dde=QI("text");function QI(e){return{resolveAll:XI(e==="text"?pde:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],s=n.attempt(i,o,a);return o;function o(p){return u(p)?s(p):a(p)}function a(p){if(p===null){n.consume(p);return}return n.enter("data"),n.consume(p),c}function c(p){return u(p)?(n.exit("data"),s(p)):(n.consume(p),c)}function u(p){if(p===null)return!0;const d=i[p];let h=-1;if(d)for(;++h<d.length;){const f=d[h];if(!f.previous||f.previous.call(r,r.previous))return!0}return!1}}}function XI(e){return t;function t(n,r){let i=-1,s;for(;++i<=n.length;)s===void 0?n[i]&&n[i][1].type==="data"&&(s=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==s+2&&(n[s][1].end=n[i-1][1].end,n.splice(s+2,i-s-2),i=s+2),s=void 0);return e?e(n,r):n}}function pde(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let s=i.length,o=-1,a=0,c;for(;s--;){const u=i[s];if(typeof u=="string"){for(o=u.length;u.charCodeAt(o-1)===32;)a++,o--;if(o)break;o=-1}else if(u===-2)c=!0,a++;else if(u!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(a=0),a){const u={type:n===e.length||c||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?o:r.start._bufferIndex+o,_index:r.start._index+s,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}const hde={42:Ht,43:Ht,45:Ht,48:Ht,49:Ht,50:Ht,51:Ht,52:Ht,53:Ht,54:Ht,55:Ht,56:Ht,57:Ht,62:VI},fde={91:yue},mde={[-2]:sg,[-1]:sg,32:sg},gde={35:jue,42:Jd,45:[g2,Jd],60:Tue,61:g2,95:Jd,96:f2,126:f2},vde={38:HI,92:WI},yde={[-5]:og,[-4]:og,[-3]:og,33:Hue,38:HI,42:Uy,60:[Kce,Lue],91:Kue,92:[kue,WI],93:Bw,95:Uy,96:aue},bde={null:[Uy,cde]},xde={null:[42,95]},wde={null:[]},kde=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:xde,contentInitial:fde,disable:wde,document:hde,flow:gde,flowInitial:mde,insideSpan:bde,string:vde,text:yde},Symbol.toStringTag,{value:"Module"}));function Cde(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
vendor: 14,639 bytes, lines 3225-3227
3225olumn:n&&n.column||1,offset:n&&n.offset||0};const i={},s=[];let o=[],a=[];const c={attempt:T(S),check:T(C),consume:b,enter:w,exit:k,interrupt:T(C,{interrupt:!0})},u={code:null,containerState:{},defineSkip:g,events:[],now:m,parser:e,previous:null,sliceSerialize:h,sliceStream:f,write:d};let p=t.tokenize.call(u,c);return t.resolveAll&&s.push(t),u;function d(q){return o=_n(o,q),x(),o[o.length-1]!==null?[]:(P(t,0),u.events=wf(s,u.events,u),u.events)}function h(q,A){return Sde(f(q),A)}function f(q){return jde(o,q)}function m(){const{_bufferIndex:q,_index:A,line:D,column:L,offset:$}=r;return{_bufferIndex:q,_index:A,line:D,column:L,offset:$}}function g(q){i[q.line]=q.column,j()}function x(){let q;for(;r._index<o.length;){const A=o[r._index];if(typeof A=="string")for(q=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===q&&r._bufferIndex<A.length;)v(A.charCodeAt(r._bufferIndex));else v(A)}}function v(q){p=p(q)}function b(q){se(q)?(r.line++,r.column=1,r.offset+=q===-3?2:1,j()):q!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=q}function w(q,A){const D=A||{};return D.type=q,D.start=m(),u.events.push(["enter",D,u]),a.push(D),D}function k(q){const A=a.pop();return A.end=m(),u.events.push(["exit",A,u]),A}function S(q,A){P(q,A.from)}function C(q,A){A.restore()}function T(q,A){return D;function D(L,$,B){let V,I,N,_;return Array.isArray(L)?H(L):"tokenize"in L?H([L]):z(L);function z(ae){return ce;function ce(Ye){const Te=Ye!==null&&ae[Ye],vt=Ye!==null&&ae.null,tn=[...Array.isArray(Te)?Te:Te?[Te]:[],...Array.isArray(vt)?vt:vt?[vt]:[]];return H(tn)(Ye)}}function H(ae){return V=ae,I=0,ae.length===0?B:E(ae[I])}function E(ae){return ce;function ce(Ye){return _=R(),N=ae,ae.partial||(u.currentConstruct=ae),ae.name&&u.parser.constructs.disable.null.includes(ae.name)?ne():ae.tokenize.call(A?Object.assign(Object.create(u),A):u,c,Q,ne)(Ye)}}function Q(ae){return q(N,_),$}function ne(ae){return _.restore(),++I<V.length?E(V[I]):B}}}function P(q,A){q.resolveAll&&!s.includes(q)&&s.push(q),q.resolve&&hn(u.events,A,u.events.length-A,q.resolve(u.events.slice(A),u)),q.resolveTo&&(u.events=q.resolveTo(u.events,u))}function R(){const q=m(),A=u.previous,D=u.currentConstruct,L=u.events.length,$=Array.from(a);return{from:L,restore:B};function B(){r=q,u.previous=A,u.currentConstruct=D,u.events.length=L,a=$,j()}}function j(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function jde(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,s=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,s)];else{if(o=e.slice(n,i),r>-1){const a=o[0];typeof a=="string"?o[0]=a.slice(r):o.shift()}s>0&&o.push(e[i].slice(0,s))}return o}function Sde(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const s=e[n];let o;if(typeof s=="string")o=s;else switch(s){case-5:{o="\r";break}case-4:{o=`
3226`;break}case-3:{o=`\r
3227`;break}case-2:{o=t?" ":"	";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(s)}i=s===-2,r.push(o)}return r.join("")}function _de(e){const r={constructs:zI([kde,...(e||{}).extensions||[]]),content:i(Fce),defined:[],document:i(Uce),flow:i(ade),lazy:{},string:i(ude),text:i(dde)};return r;function i(s){return o;function o(a){return Cde(r,s,a)}}}function Ede(e){for(;!GI(e););return e}const v2=/[\0\t\n\r]/g;function Tde(){let e=1,t="",n=!0,r;return i;function i(s,o,a){const c=[];let u,p,d,h,f;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(o||void 0).decode(s)),d=0,t="",n&&(s.charCodeAt(0)===65279&&d++,n=void 0);d<s.length;){if(v2.lastIndex=d,u=v2.exec(s),h=u&&u.index!==void 0?u.index:s.length,f=s.charCodeAt(h),!u){t=s.slice(d);break}if(f===10&&d===h&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),d<h&&(c.push(s.slice(d,h)),e+=h-d),f){case 0:{c.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,c.push(-2);e++<p;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}d=h+1}return a&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const Pde=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ade(e){return e.replace(Pde,Nde)}function Nde(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),s=i===120||i===88;return UI(n.slice(s?2:1),s?16:10)}return Mw(n)||e}const ZI={}.hasOwnProperty;function Rde(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),qde(n)(Ede(_de(n).document().write(Tde()(e,t,!0))))}function qde(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(zr),autolinkProtocol:R,autolinkEmail:R,atxHeading:s(bo),blockQuote:s(vt),characterEscape:R,characterReference:R,codeFenced:s(tn),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:s(tn,o),codeText:s(mi,o),codeTextData:R,data:R,codeFlowValue:R,definition:s(pr),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:s(yo),hardBreakEscape:s(ks),hardBreakTrailing:s(ks),htmlFlow:s(xo,o),htmlFlowData:R,htmlText:s(xo,o),htmlTextData:R,image:s(Cs),label:o,link:s(zr),listItem:s(js),listItemValue:h,listOrdered:s(rl,d),listUnordered:s(rl),paragraph:s(mu),reference:E,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:s(bo),strong:s(Ur),thematicBreak:s(_f)},exit:{atxHeading:c(),atxHeadingSequence:S,autolink:c(),autolinkEmail:Te,autolinkProtocol:Ye,blockQuote:c(),characterEscapeValue:j,characterReferenceMarkerHexadecimal:ne,characterReferenceMarkerNumeric:ne,characterReferenceValue:ae,characterReference:ce,codeFenced:c(x),codeFencedFence:g,codeFencedFenceInfo:f,codeFencedFenceMeta:m,codeFlowValue:j,codeIndented:c(v),codeText:c($),codeTextData:j,data:j,definition:c(),definitionDestinationString:k,definitionLabelString:b,definitionTitleString:w,emphasis:c(),hardBreakEscape:c(A),hardBreakTrailing:c(A),htmlFlow:c(D),htmlFlowData:j,htmlText:c(L),htmlTextData:j,image:c(V),label:N,labelText:I,lineEnding:q,link:c(B),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:Q,resourceDestinationString:_,resourceTitleString:z,resource:H,setextHeading:c(P),setextHeadingLineSequence:T,setextHeadingText:C,strong:c(),thematicBreak:c()}};eL(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(M){let G={type:"root",children:[]};const ue={stack:[G],tokenStack:[],config:t,enter:a,exit:u,buffer:o,resume:p,data:n},ye=[];let je=-1;for(;++je<M.length;)if(M[je][1].type==="listOrdered"||M[je][1].type==="listUnordered")if(M[je][0]==="enter")ye.push(je);else{const nn=ye.pop();je=i(M,nn,je)}for(je=-1;++je<M.length;){const nn=t[M[je][0]];ZI.call(nn,M[je][1].type)&&nn[M[je][1].type].call(Object.assign({sliceSerialize:M[je][2].sliceSerialize},ue),M[je][1])}if(ue.tokenStack.length>0){const nn=ue.tokenStack[ue.tokenStack.length-1];(nn[1]||y2).call(ue,void 0,nn[0])}for(G.position={start:Si(M.length>0?M[0][1].start:{line:1,column:1,offset:0}),end:Si(M.length>0?M[M.length-2][1].end:{line:1,column:1,offset:0})},je=-1;++je<t.transforms.length;)G=t.transforms[je](G)||G;return G}function i(M,G,ue){let ye=G-1,je=-1,nn=!1,hr,rn,bn,gi;for(;++ye<=ue;){const it=M[ye];switch(it[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{it[0]==="enter"?je++:je--,gi=void 0;break}case"lineEndingBlank":{it[0]==="enter"&&(hr&&!gi&&!je&&!bn&&(bn=ye),gi=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:gi=void 0}if(!je&&it[0]==="enter"&&it[1].type==="listItemPrefix"||je===-1&&it[0]==="exit"&&(it[1].type==="listUnordered"||it[1].type==="listOrdered")){if(hr){let vi=ye;for(rn=void 0;vi--;){const On=M[vi];if(On[1].type==="lineEnding"||On[1].type==="lineEndingBlank"){if(On[0]==="exit")continue;rn&&(M[rn][1].type="lineEndingBlank",nn=!0),On[1].type="lineEnding",rn=vi}else if(!(On[1].type==="linePrefix"||On[1].type==="blockQuotePrefix"||On[1].type==="blockQuotePrefixWhitespace"||On[1].type==="blockQuoteMarker"||On[1].type==="listItemIndent"))break}bn&&(!rn||bn<rn)&&(hr._spread=!0),hr.end=Object.assign({},rn?M[rn][1].start:it[1].end),M.splice(rn||ye,0,["exit",hr,it[2]]),ye++,ue++}if(it[1].type==="listItemPrefix"){const vi={type:"listItem",_spread:!1,start:Object.assign({},it[1].start),end:void 0};hr=vi,M.splice(ye,0,["enter",vi,it[2]]),ye++,ue++,bn=void 0,gi=!0}}}return M[G][1]._spread=nn,ue}function s(M,G){return ue;function ue(ye){a.call(this,M(ye),ye),G&&G.call(this,ye)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(M,G,ue){this.stack[this.stack.length-1].children.push(M),this.stack.push(M),this.tokenStack.push([G,ue||void 0]),M.position={start:Si(G.start),end:void 0}}function c(M){return G;function G(ue){M&&M.call(this,ue),u.call(this,ue)}}function u(M,G){const ue=this.stack.pop(),ye=this.tokenStack.pop();if(ye)ye[0].type!==M.type&&(G?G.call(this,M,ye[0]):(ye[1]||y2).call(this,M,ye[0]));else throw new Error("Cannot close `"+M.type+"` ("+Ql({start:M.start,end:M.end})+"): it’s not open");ue.position.end=Si(M.end)}function p(){return Dw(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function h(M){if(this.data.expectingFirstListItemValue){const G=this.stack[this.stack.length-2];G.start=Number.parseInt(this.sliceSerialize(M),10),this.data.expectingFirstListItemValue=void 0}}function f(){const M=this.resume(),G=this.stack[this.stack.length-1];G.lang=M}function m(){const M=this.resume(),G=this.stack[this.stack.length-1];G.meta=M}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function x(){const M=this.resume(),G=this.stack[this.stack.length-1];G.value=M.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const M=this.resume(),G=this.stack[this.stack.length-1];G.value=M.replace(/(\r?\n|\r)$/g,"")}function b(M){const G=this.resume(),ue=this.stack[this.stack.length-1];ue.label=G,ue.identifier=ir(this.sliceSerialize(M)).toLowerCase()}function w(){const M=this.resume(),G=this.stack[this.stack.length-1];G.title=M}function k(){const M=this.resume(),G=this.stack[this.stack.length-1];G.url=M}function S(M){const G=this.stack[this.stack.length-1];if(!G.depth){const ue=this.sliceSerialize(M).length;G.depth=ue}}function C(){this.data.setextHeadingSlurpLineEnding=!0}function T(M){const G=this.stack[this.stack.length-1];G.depth=this.sliceSerialize(M).codePointAt(0)===61?1:2}function P(){this.data.setextHeadingSlurpLineEnding=void 0}function R(M){const ue=this.stack[this.stack.length-1].children;let ye=ue[ue.length-1];(!ye||ye.type!=="text")&&(ye=Sf(),ye.position={start:Si(M.start),end:void 0},ue.push(ye)),this.stack.push(ye)}function j(M){const G=this.stack.pop();G.value+=this.sliceSerialize(M),G.position.end=Si(M.end)}function q(M){const G=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ue=G.children[G.children.length-1];ue.position.end=Si(M.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(G.type)&&(R.call(this,M),j.call(this,M))}function A(){this.data.atHardBreak=!0}function D(){const M=this.resume(),G=this.stack[this.stack.length-1];G.value=M}function L(){const M=this.resume(),G=this.stack[this.stack.length-1];G.value=M}function $(){const M=this.resume(),G=this.stack[this.stack.length-1];G.value=M}function B(){const M=this.stack[this.stack.length-1];if(this.data.inReference){const G=this.data.referenceType||"shortcut";M.type+="Reference",M.referenceType=G,delete M.url,delete M.title}else delete M.identifier,delete M.label;this.data.referenceType=void 0}function V(){const M=this.stack[this.stack.length-1];if(this.data.inReference){const G=this.data.referenceType||"shortcut";M.type+="Reference",M.referenceType=G,delete M.url,delete M.title}else delete M.identifier,delete M.label;this.data.referenceType=void 0}function I(M){const G=this.sliceSerialize(M),ue=this.stack[this.stack.length-2];ue.label=Ade(G),ue.identifier=ir(G).toLowerCase()}function N(){const M=this.stack[this.stack.length-1],G=this.resume(),ue=this.stack[this.stack.length-1];if(this.data.inReference=!0,ue.type==="link"){const ye=M.children;ue.children=ye}else ue.alt=G}function _(){const M=this.resume(),G=this.stack[this.stack.length-1];G.url=M}function z(){const M=this.resume(),G=this.stack[this.stack.length-1];G.title=M}function H(){this.data.inReference=void 0}function E(){this.data.referenceType="collapsed"}function Q(M){const G=this.resume(),ue=this.stack[this.stack.length-1];ue.label=G,ue.identifier=ir(this.sliceSerialize(M)).toLowerCase(),this.data.referenceType="full"}function ne(M){this.data.characterReferenceType=M.type}function ae(M){const G=this.sliceSerialize(M),ue=this.data.characterReferenceType;let ye;ue?(ye=UI(G,ue==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ye=Mw(G);const je=this.stack[this.stack.length-1];je.value+=ye}function ce(M){const G=this.stack.pop();G.position.end=Si(M.end)}function Ye(M){j.call(this,M);const G=this.stack[this.stack.length-1];G.url=this.sliceSerialize(M)}function Te(M){j.call(this,M);const G=this.stack[this.stack.length-1];G.url="mailto:"+this.sliceSerialize(M)}function vt(){return{type:"blockquote",children:[]}}function tn(){return{type:"code",lang:null,meta:null,value:""}}function mi(){return{type:"inlineCode",value:""}}function pr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function yo(){return{type:"emphasis",children:[]}}function bo(){return{type:"heading",depth:0,children:[]}}function ks(){return{type:"break"}}function xo(){return{type:"html",value:""}}function Cs(){return{type:"image",title:null,url:"",alt:null}}function zr(){return{type:"link",title:null,url:"",children:[]}}function rl(M){return{type:"list",ordered:M.type==="listOrdered",start:null,spread:M._spread,children:[]}}function js(M){return{type:"listItem",spread:M._spread,checked:null,children:[]}}function mu(){return{type:"paragraph",children:[]}}function Ur(){return{type:"strong",children:[]}}function Sf(){return{type:"text",value:""}}function _f(){return{type:"thematicBreak"}}}function Si(e){return{line:e.line,column:e.column,offset:e.offset}}function eL(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?eL(e,r):Ide(e,r)}}function Ide(e,t){let n;for(n in t)if(ZI.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function y2(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ql({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ql({start:t.start,end:t.end}
vendor: 4,533 bytes, lines 3227-3231
3227)+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ql({start:t.start,end:t.end})+") is still open")}function Lde(e){const t=this;t.parser=n;function n(r){return Rde(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Ode(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Dde(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
3228`}]}function Mde(e,t){const n=t.value?t.value+`
3229`:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let s={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s}function Bde(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function $de(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Fde(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=nl(r.toLowerCase()),s=e.footnoteOrder.indexOf(r);let o,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=s+1,a+=1,e.footnoteCounts.set(r,a);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,c);const u={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,u),e.applyData(t,u)}function zde(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ude(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function tL(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),s=i[0];s&&s.type==="text"?s.value="["+s.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function Vde(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tL(e,t);const i={src:nl(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,s),e.applyData(t,s)}function Wde(e,t){const n={src:nl(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Hde(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Gde(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tL(e,t);const i={href:nl(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function Kde(e,t){const n={href:nl(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Jde(e,t,n){const r=e.all(t),i=n?Yde(n):nL(t),s={},o=[];if(typeof t.checked=="boolean"){const p=r[0];let d;p&&p.type==="element"&&p.tagName==="p"?d=p:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const p=r[a];(i||a!==0||p.type!=="element"||p.tagName!=="p")&&o.push({type:"text",value:`
3230`}),p.type==="element"&&p.tagName==="p"&&!i?o.push(...p.children):o.push(p)}const c=r[r.length-1];c&&(i||c.type!=="element"||c.tagName!=="p")&&o.push({type:"text",value:`
3231`});const u={type:"element",tagName:"li",properties:s,children:o};
vendor: 3,267 bytes, line 3231
3231return e.patch(t,u),e.applyData(t,u)}function Yde(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=nL(n[r])}return t}function nL(e){const t=e.spread;return t??e.children.length>1}function Qde(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const o=r[i];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)}function Xde(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Zde(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function epe(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function tpe(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=qw(t.children[1]),c=LI(t.children[t.children.length-1]);a&&c&&(o.position={start:a,end:c}),i.push(o)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,s),e.applyData(t,s)}function npe(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,a=o?o.length:t.children.length;let c=-1;const u=[];for(;++c<a;){const d=t.children[c],h={},f=o?o[c]:void 0;f&&(h.align=f);let m={type:"element",tagName:s,properties:h,children:[]};d&&(m.children=e.all(d),e.patch(d,m),m=e.applyData(d,m)),u.push(m)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,p),e.applyData(t,p)}function rpe(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const b2=9,x2=32;function ipe(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const s=[];for(;r;)s.push(w2(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return s.push(w2(t.slice(i),i>0,!1)),s.join("")}function w2(e,t,n){let r=0,i=e.length;if(t){let s=e.codePointAt(r);for(;s===b2||s===x2;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(i-1);for(;s===b2||s===x2;)i--,s=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function spe(e,t){const n={type:"text",value:ipe(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function ope(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const ape={blockquote:Ode,break:Dde,code:Mde,delete:Bde,emphasis:$de,footnoteReference:Fde,heading:zde,html:Ude,imageReference:Vde,image:Wde,inlineCode:Hde,linkReference:Gde,link:Kde,listItem:Jde,list:Qde,paragraph:Xde,root:Zde,strong:epe,table:tpe,tableCell:rpe,tableRow:npe,text:spe,thematicBreak:ope,toml:dd,yaml:dd,definition:dd,footnoteDefinition:dd};function dd(){}const rL=-1,kf=0,Zl=1,ih=2,$w=3,Fw=4,zw=5,Uw=6,iL=7,sL=8,lpe=typeof self=="object"?self:globalThis,k2=(e,t)=>
vendor: 4,597 bytes, lines 3231-3232
3231{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new lpe[e](t)},cpe=(e,t)=>{const n=(i,s)=>(e.set(s,i),i),r=i=>{if(e.has(i))return e.get(i);const[s,o]=t[i];switch(s){case kf:case rL:return n(o,i);case Zl:{const a=n([],i);for(const c of o)a.push(r(c));return a}case ih:{const a=n({},i);for(const[c,u]of o)a[r(c)]=r(u);return a}case $w:return n(new Date(o),i);case Fw:{const{source:a,flags:c}=o;return n(new RegExp(a,c),i)}case zw:{const a=n(new Map,i);for(const[c,u]of o)a.set(r(c),r(u));return a}case Uw:{const a=n(new Set,i);for(const c of o)a.add(r(c));return a}case iL:{const{name:a,message:c}=o;return n(k2(a,c),i)}case sL:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:a}=new Uint8Array(o);return n(new DataView(a),o)}}return n(k2(s,o),i)};return r},C2=e=>cpe(new Map,e)(0),qo="",{toString:upe}={},{keys:dpe}=Object,kl=e=>{const t=typeof e;if(t!=="object"||!e)return[kf,t];const n=upe.call(e).slice(8,-1);switch(n){case"Array":return[Zl,qo];case"Object":return[ih,qo];case"Date":return[$w,qo];case"RegExp":return[Fw,qo];case"Map":return[zw,qo];case"Set":return[Uw,qo];case"DataView":return[Zl,n]}return n.includes("Array")?[Zl,n]:n.includes("Error")?[iL,n]:[ih,n]},pd=([e,t])=>e===kf&&(t==="function"||t==="symbol"),ppe=(e,t,n,r)=>{const i=(o,a)=>{const c=r.push(o)-1;return n.set(a,c),c},s=o=>{if(n.has(o))return n.get(o);let[a,c]=kl(o);switch(a){case kf:{let p=o;switch(c){case"bigint":a=sL,p=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);p=null;break;case"undefined":return i([rL],o)}return i([a,p],o)}case Zl:{if(c){let h=o;return c==="DataView"?h=new Uint8Array(o.buffer):c==="ArrayBuffer"&&(h=new Uint8Array(o)),i([c,[...h]],o)}const p=[],d=i([a,p],o);for(const h of o)p.push(s(h));return d}case ih:{if(c)switch(c){case"BigInt":return i([c,o.toString()],o);case"Boolean":case"Number":case"String":return i([c,o.valueOf()],o)}if(t&&"toJSON"in o)return s(o.toJSON());const p=[],d=i([a,p],o);for(const h of dpe(o))(e||!pd(kl(o[h])))&&p.push([s(h),s(o[h])]);return d}case $w:return i([a,o.toISOString()],o);case Fw:{const{source:p,flags:d}=o;return i([a,{source:p,flags:d}],o)}case zw:{const p=[],d=i([a,p],o);for(const[h,f]of o)(e||!(pd(kl(h))||pd(kl(f))))&&p.push([s(h),s(f)]);return d}case Uw:{const p=[],d=i([a,p],o);for(const h of o)(e||!pd(kl(h)))&&p.push(s(h));return d}}const{message:u}=o;return i([a,{name:c,message:u}],o)};return s},j2=(e,{json:t,lossy:n}={})=>{const r=[];return ppe(!(t||n),!!t,new Map,r)(e),r},sh=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?C2(j2(e,t)):structuredClone(e):(e,t)=>C2(j2(e,t));function hpe(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function fpe(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function mpe(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||hpe,r=e.options.footnoteBackLabel||fpe,i=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let c=-1;for(;++c<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[c]);if(!u)continue;const p=e.all(u),d=String(u.identifier).toUpperCase(),h=nl(d.toLowerCase());let f=0;const m=[],g=e.footnoteCounts.get(d);for(;g!==void 0&&++f<=g;){m.length>0&&m.push({type:"text",value:" "});let b=typeof n=="string"?n:n(c,f);typeof b=="string"&&(b={type:"text",value:b}),m.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+h+(f>1?"-"+f:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(c,f),className:["data-footnote-backref"]},children:Array.isArray(b)?b:[b]})}const x=p[p.length-1];if(x&&x.type==="element"&&x.tagName==="p"){const b=x.children[x.children.length-1];b&&b.type==="text"?b.value+=" ":x.children.push({type:"text",value:" "}),x.children.push(...m)}else p.push(...m);const v={type:"element",tagName:"li",properties:{id:t+"fn-"+h},children:e.wrap(p,!0)};e.patch(u,v),a.push(v)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...sh(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
3232`},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)}
vendor: 19,741 bytes, lines 3232-3237
3232,{type:"text",value:`
3233`}]}}const Cf=function(e){if(e==null)return bpe;if(typeof e=="function")return jf(e);if(typeof e=="object")return Array.isArray(e)?gpe(e):vpe(e);if(typeof e=="string")return ype(e);throw new Error("Expected function, string, or object as test")};function gpe(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Cf(e[n]);return jf(r);function r(...i){let s=-1;for(;++s<t.length;)if(t[s].apply(this,i))return!0;return!1}}function vpe(e){const t=e;return jf(n);function n(r){const i=r;let s;for(s in e)if(i[s]!==t[s])return!1;return!0}}function ype(e){return jf(t);function t(n){return n&&n.type===e}}function jf(e){return t;function t(n,r,i){return!!(xpe(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function bpe(){return!0}function xpe(e){return e!==null&&typeof e=="object"&&"type"in e}const oL=[],wpe=!0,Vy=!1,kpe="skip";function aL(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const s=Cf(i),o=r?-1:1;a(e,void 0,[])();function a(c,u,p){const d=c&&typeof c=="object"?c:{};if(typeof d.type=="string"){const f=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(h,"name",{value:"node ("+(c.type+(f?"<"+f+">":""))+")"})}return h;function h(){let f=oL,m,g,x;if((!t||s(c,u,p[p.length-1]||void 0))&&(f=Cpe(n(c,p)),f[0]===Vy))return f;if("children"in c&&c.children){const v=c;if(v.children&&f[0]!==kpe)for(g=(r?v.children.length:-1)+o,x=p.concat(v);g>-1&&g<v.children.length;){const b=v.children[g];if(m=a(b,g,x)(),m[0]===Vy)return m;g=typeof m[1]=="number"?m[1]:g+o}}return f}}}function Cpe(e){return Array.isArray(e)?e:typeof e=="number"?[wpe,e]:e==null?oL:[e]}function Vw(e,t,n,r){let i,s,o;typeof t=="function"&&typeof n!="function"?(s=void 0,o=t,i=n):(s=t,o=n,i=r),aL(e,s,a,i);function a(c,u){const p=u[u.length-1],d=p?p.children.indexOf(c):void 0;return o(c,d,p)}}const Wy={}.hasOwnProperty,jpe={};function Spe(e,t){const n=t||jpe,r=new Map,i=new Map,s=new Map,o={...ape,...n.handlers},a={all:u,applyData:Epe,definitionById:r,footnoteById:i,footnoteCounts:s,footnoteOrder:[],handlers:o,one:c,options:n,patch:_pe,wrap:Ppe};return Vw(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const d=p.type==="definition"?r:i,h=String(p.identifier).toUpperCase();d.has(h)||d.set(h,p)}}),a;function c(p,d){const h=p.type,f=a.handlers[h];if(Wy.call(a.handlers,h)&&f)return f(a,p,d);if(a.options.passThrough&&a.options.passThrough.includes(h)){if("children"in p){const{children:g,...x}=p,v=sh(x);return v.children=a.all(p),v}return sh(p)}return(a.options.unknownHandler||Tpe)(a,p,d)}function u(p){const d=[];if("children"in p){const h=p.children;let f=-1;for(;++f<h.length;){const m=a.one(h[f],p);if(m){if(f&&h[f-1].type==="break"&&(!Array.isArray(m)&&m.type==="text"&&(m.value=S2(m.value)),!Array.isArray(m)&&m.type==="element")){const g=m.children[0];g&&g.type==="text"&&(g.value=S2(g.value))}Array.isArray(m)?d.push(...m):d.push(m)}}}return d}}function _pe(e,t){e.position&&(t.position=hce(e))}function Epe(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,s=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const o="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:o}}n.type==="element"&&s&&Object.assign(n.properties,sh(s)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function Tpe(e,t){const n=t.data||{},r="value"in t&&!(Wy.call(n,"hProperties")||Wy.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Ppe(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
3234`});++r<e.length;)r&&n.push({type:"text",value:`
3235`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
3236`}),n}function S2(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function _2(e,t){const n=Spe(e,t),r=n.one(e,void 0),i=mpe(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&s.children.push({type:"text",value:`
3237`},i),s}function Ape(e,t){return e&&"run"in e?async function(n,r){const i=_2(n,{file:r,...t});await e.run(i,r)}:function(n,r){return _2(n,{file:r,...e||t})}}function E2(e){if(e)throw e}var Yd=Object.prototype.hasOwnProperty,lL=Object.prototype.toString,T2=Object.defineProperty,P2=Object.getOwnPropertyDescriptor,A2=function(t){return typeof Array.isArray=="function"?Array.isArray(t):lL.call(t)==="[object Array]"},N2=function(t){if(!t||lL.call(t)!=="[object Object]")return!1;var n=Yd.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Yd.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||Yd.call(t,i)},R2=function(t,n){T2&&n.name==="__proto__"?T2(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},q2=function(t,n){if(n==="__proto__")if(Yd.call(t,n)){if(P2)return P2(t,n).value}else return;return t[n]},Npe=function e(){var t,n,r,i,s,o,a=arguments[0],c=1,u=arguments.length,p=!1;for(typeof a=="boolean"&&(p=a,a=arguments[1]||{},c=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});c<u;++c)if(t=arguments[c],t!=null)for(n in t)r=q2(a,n),i=q2(t,n),a!==i&&(p&&i&&(N2(i)||(s=A2(i)))?(s?(s=!1,o=r&&A2(r)?r:[]):o=r&&N2(r)?r:{},R2(a,{name:n,newValue:e(p,o,i)})):typeof i<"u"&&R2(a,{name:n,newValue:i}));return a};const ag=hs(Npe);function Hy(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Rpe(){const e=[],t={run:n,use:r};return t;function n(...i){let s=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);a(null,...i);function a(c,...u){const p=e[++s];let d=-1;if(c){o(c);return}for(;++d<i.length;)(u[d]===null||u[d]===void 0)&&(u[d]=i[d]);i=u,p?qpe(p,a)(...u):o(null,...u)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function qpe(e,t){let n;return r;function r(...o){const a=e.length>o.length;let c;a&&o.push(i);try{c=e.apply(this,o)}catch(u){const p=u;if(a&&n)throw p;return i(p)}a||(c&&c.then&&typeof c.then=="function"?c.then(s,i):c instanceof Error?i(c):s(c))}function i(o,...a){n||(n=!0,t(o,...a))}function s(o){i(null,o)}}const br={basename:Ipe,dirname:Lpe,extname:Ope,join:Dpe,sep:"/"};function Ipe(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');fu(e);let n=0,r=-1,i=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else r<0&&(s=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else o<0&&(s=!0,o=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function Lpe(e){if(fu(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function Ope(e){fu(e);let t=e.length,n=-1,r=0,i=-1,s=0,o;for(;t--;){const a=e.codePointAt(t);if(a===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),a===46?i<0?i=t:s!==1&&(s=1):i>-1&&(s=-1)}return i<0||n<0||s===0||s===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function Dpe(...e){let t=-1,n;for(;++t<e.length;)fu(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Mpe(n)}function Mpe(e){fu(e);const t=e.codePointAt(0)===47;let n=Bpe(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Bpe(e,t){let n="",r=0,i=-1,s=0,o=-1,a,c;for(;++o<=e.length;){if(o<e.length)a=e.codePointAt(o);else{if(a===47)break;a=47}if(a===47){if(!(i===o-1||s===1))if(i!==o-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),i=o,s=0;continue}}else if(n.length>0){n="",r=0,i=o,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,s=0}else a===46&&s>-1?s++:s=-1}return n}function fu(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const $pe={cwd:Fpe};function Fpe(){return"/"}function Gy(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function zpe(e){if(typeof e=="string")e=new URL(e);else if(!Gy(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Upe(e)}function Upe(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const lg=["history","path","basename","stem","extname","dirname"];class cL{constructor(t){let n;t?Gy(t)?n={path:t}:typeof t=="string"||Vpe(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":$pe.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<lg.length;){const s=lg[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let i;for(i in n)lg.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?br.basename(this.path):void 0}set basename(t){ug(t,"basename"),cg(t,"basename"),this.path=br.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?br.dirname(this.path):void 0}set dirname(t){I2(this.basename,"dirname"),this.path=br.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?br.extname(this.path):void 0}set extname(t){if(cg(t,"extname"),I2(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=br.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Gy(t)&&(t=zpe(t)),ug(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?br.basename(this.path,this.extname):void 0}set stem(t){ug(t,"stem"),cg(t,"stem"),this.path=br.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Rt(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function cg(e,t){if(e&&e.includes(br.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+br.sep+"`")}function ug(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function I2(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Vpe(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Wpe=function(e){const r=this.constructor.prototype,i=r[e],s=function(){return i.apply(s,arguments)};return Object.setPrototypeOf(s,r),s},Hpe={}.hasOwnProperty;class Ww extends Wpe{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Rpe()}copy(){const t=new Ww;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(ag(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(hg("data",this.frozen),this.namespace[t]=n,this):Hpe.call(this.namespace,t)&&this.namespace[t]||void 0:t?(hg("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=hd(t),r=this.parser||this.Parser;return dg("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),dg("process",this.parser||this.Parser),pg("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(s,o){const a=hd(t),c=r.parse(a);r.run(c,a,function(p,d,h){if(p||!d||!h)return u(p);const f=d,m=r.stringify(f,h);Jpe(m)?h.value=m:h.result=m,u(p,h)});function u(p,d){p||!d?o(p):s?s(d):n(void 0,d)}}}processSync(t){let n=!1,r;return this.freeze(),dg("processSync",this.parser||this.Parser),pg("processSync",this.compiler||this.Compiler),this.process(t,i),O2("processSync","process",n),r;function i(s,o){n=!0,E2(s),r=o}}run(t,n,r){L2(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(o,a){const c=hd(n);i.run(t,c,u);function u(p,d,h){const f=d||t;p?a(p):o?o(f):r(void 0,f,h)}}}runSync(t,n){let r=!1,i;return this.run(t,n,s),O2("runSync","run",r),i;function s(o,a){E2(o),i=a,r=!0}}stringify(t,n){this.freeze();const r=hd(n),i=this.compiler||this.Compiler;return pg("stringify",i),L2(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(hg("use",this.frozen),t!=null)if(typeof t=="function")c(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(u){if(typeof u=="function")c(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[p,...d]=u;c(p,d)}else o(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function o(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(u.plugins),u.settings&&(i.settings=ag(!0,i.settings,u.settings))}function a(u){let p=-1;if(u!=null)if(Array.isArray(u))for(;++p<u.length;){const d=u[p];s(d)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function c(u,p){let d=-1,h=-1;for(;++d<r.length;)if(r[d][0]===u){h=d;break}if(h===-1)r.push([u,...p]);else if(p.length>0){let[f,...m]=p;const g=r[h][1];Hy(g)&&Hy(f)&&(f=ag(!0,g,f)),r[h]=[u,f,...m]}}}}const Gpe=new Ww().freeze();function dg(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function pg(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function hg(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function L2(e){if(!Hy(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function O2(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function hd(e){return Kpe(e)?e:new cL(e)}function Kpe(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Jpe(e){return typeof e=="string"||Ype(e)}function Ype(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Qpe="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",D2=[],M2={allowDangerousHtml:!0},Xpe=/^(https?|ircs?|mailto|xmpp)$/i,Zpe=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function ehe(e){const t=the(e),n=nhe(e);return rhe(t.runSync(t.parse(n),n),e)}function the(e){const t=e.rehypePlugins||D2,n=e.remarkPlugins||D2,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...M2}:M2;return Gpe().use(Lde).use(n).use(Ape,r).use(t)}function nhe(e){const t=e.children||"",n=new cL;return typeof t=="string"&&(n.value=t),n}function rhe(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,s=t.disallowedElements,o=t.skipHtml,a=t.unwrapDisallowed,c=t.urlTransform||ihe;for(const p of Zpe)Object.hasOwn(t,p.from)&&(""+p.from+(p.to?"use `"+p.to+"` instead":"remove it")+Qpe+p.id,void 0);return Vw(e,u),yce(e,{Fragment:l.Fragment,components:i,ignoreInvalidStyle:!0,jsx:l.jsx,jsxs:l.jsxs,passKeys:!0,passNode:!0});function u(p,d,h){if(p.type==="raw"&&h&&typeof d=="number")return o?h.children.splice(d,1):h.children[d]={type:"text",value:p.value},d;if(p.type==="element"){let f;for(f in ig)if(Object.hasOwn(ig,f)&&Object.hasOwn(p.properties,f)){const m=p.properties[f],g=ig[f];(g===null||g.includes(p.tagName))&&(p.properties[f]=c(String(m||""),f,p))}}if(p.type==="element"){let f=n?!n.includes(p.tagName):s?s.includes(p.tagName):!1;if(!f&&r&&typeof d=="number"&&(f=!r(p,d,h)),f&&h&&typeof d=="number")return a&&p.children?h.children.splice(d,1,...p.children):h.children.splice(d,1),d}}}function ihe(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||Xpe.test(e.slice(0,t))?e:""}function B2(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function she(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function ohe(e,t,n){const i=Cf((n||{}).ignore||[]),s=ahe(t);let o=-1;for(;++o<s.length;)aL(e,"text",a);function a(u,p){let d=-1,h;for(;++d<p.length;){const f=p[d],m=h?h.children:void 0;if(i(f,m?m.indexOf(f):void 0,h))return;h=f}if(h)return c(u,p)}function c(u,p){const d=p[p.length-1],h=s[o][0],f=s[o][1];let m=0;const x=d.children.indexOf(u);let v=!1,b=[];h.lastIndex=0;let w=h.exec(u.value);for(;w;){const k=w.index,S={index:w.index,input:w.input,stack:[...p,u]};let C=f(...w,S);if(typeof C=="string"&&(C=C.length>0?{type:"text",value:C}:void 0),C===!1?h.lastIndex=k+1:(m!==k&&b.push({type:"text",value:u.value.slice(m,k)}),Array.isArray(C)?b.push(...C):C&&b.push(C),m=k+w[0].length,v=!0),!h.global)break;w=h.exec(u.value)}return v?(m<u.value.length&&b.push({type:"text",value:u.value.slice(m)}
vendor: 13,301 bytes, lines 3237-3250
3237),d.children.splice(x,1,...b)):b=[u],x+b.length}}function ahe(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([lhe(i[0]),che(i[1])])}return t}function lhe(e){return typeof e=="string"?new RegExp(she(e),"g"):e}function che(e){return typeof e=="function"?e:function(){return e}}const fg="phrasing",mg=["autolink","link","image","label"];function uhe(){return{transforms:[vhe],enter:{literalAutolink:phe,literalAutolinkEmail:gg,literalAutolinkHttp:gg,literalAutolinkWww:gg},exit:{literalAutolink:ghe,literalAutolinkEmail:mhe,literalAutolinkHttp:hhe,literalAutolinkWww:fhe}}}function dhe(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:fg,notInConstruct:mg},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:fg,notInConstruct:mg},{character:":",before:"[ps]",after:"\\/",inConstruct:fg,notInConstruct:mg}]}}function phe(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function gg(e){this.config.enter.autolinkProtocol.call(this,e)}function hhe(e){this.config.exit.autolinkProtocol.call(this,e)}function fhe(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function mhe(e){this.config.exit.autolinkEmail.call(this,e)}function ghe(e){this.exit(e)}function vhe(e){ohe(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,yhe],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),bhe]],{ignore:["link","linkReference"]})}function yhe(e,t,n,r,i){let s="";if(!uL(i)||(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!xhe(n)))return!1;const o=whe(n+r);if(!o[0])return!1;const a={type:"link",title:null,url:s+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[a,{type:"text",value:o[1]}]:a}function bhe(e,t,n,r){return!uL(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function xhe(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function whe(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=B2(e,"(");let s=B2(e,")");for(;r!==-1&&i>s;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[e,n]}function uL(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||uo(n)||xf(n))&&(!t||n!==47)}dL.peek=Ahe;function khe(){this.buffer()}function Che(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function jhe(){this.buffer()}function She(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function _he(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ir(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Ehe(e){this.exit(e)}function The(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ir(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Phe(e){this.exit(e)}function Ahe(){return"["}function dL(e,t,n,r){const i=n.createTracker(r);let s=i.move("[^");const o=n.enter("footnoteReference"),a=n.enter("reference");return s+=i.move(n.safe(n.associationId(e),{after:"]",before:s})),a(),o(),s+=i.move("]"),s}function Nhe(){return{enter:{gfmFootnoteCallString:khe,gfmFootnoteCall:Che,gfmFootnoteDefinitionLabelString:jhe,gfmFootnoteDefinition:She},exit:{gfmFootnoteCallString:_he,gfmFootnoteCall:Ehe,gfmFootnoteDefinitionLabelString:The,gfmFootnoteDefinition:Phe}}}function Rhe(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:dL},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,s,o){const a=s.createTracker(o);let c=a.move("[^");const u=s.enter("footnoteDefinition"),p=s.enter("label");return c+=a.move(s.safe(s.associationId(r),{before:c,after:"]"})),p(),c+=a.move("]:"),r.children&&r.children.length>0&&(a.shift(4),c+=a.move((t?`
3238`:" ")+s.indentLines(s.containerFlow(r,a.current()),t?pL:qhe))),u(),c}}function qhe(e,t,n){return t===0?e:pL(e,t,n)}function pL(e,t,n){return(n?"":"    ")+e}const Ihe=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];hL.peek=Bhe;function Lhe(){return{canContainEols:["delete"],enter:{strikethrough:Dhe},exit:{strikethrough:Mhe}}}function Ohe(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Ihe}],handlers:{delete:hL}}}function Dhe(e){this.enter({type:"delete",children:[]},e)}function Mhe(e){this.exit(e)}function hL(e,t,n,r){const i=n.createTracker(r),s=n.enter("strikethrough");let o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),s(),o}function Bhe(){return"~"}function $he(e){return e.length}function Fhe(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||$he,s=[],o=[],a=[],c=[];let u=0,p=-1;for(;++p<e.length;){const g=[],x=[];let v=-1;for(e[p].length>u&&(u=e[p].length);++v<e[p].length;){const b=zhe(e[p][v]);if(n.alignDelimiters!==!1){const w=i(b);x[v]=w,(c[v]===void 0||w>c[v])&&(c[v]=w)}g.push(b)}o[p]=g,a[p]=x}let d=-1;if(typeof r=="object"&&"length"in r)for(;++d<u;)s[d]=$2(r[d]);else{const g=$2(r);for(;++d<u;)s[d]=g}d=-1;const h=[],f=[];for(;++d<u;){const g=s[d];let x="",v="";g===99?(x=":",v=":"):g===108?x=":":g===114&&(v=":");let b=n.alignDelimiters===!1?1:Math.max(1,c[d]-x.length-v.length);const w=x+"-".repeat(b)+v;n.alignDelimiters!==!1&&(b=x.length+b+v.length,b>c[d]&&(c[d]=b),f[d]=b),h[d]=w}o.splice(1,0,h),a.splice(1,0,f),p=-1;const m=[];for(;++p<o.length;){const g=o[p],x=a[p];d=-1;const v=[];for(;++d<u;){const b=g[d]||"";let w="",k="";if(n.alignDelimiters!==!1){const S=c[d]-(x[d]||0),C=s[d];C===114?w=" ".repeat(S):C===99?S%2?(w=" ".repeat(S/2+.5),k=" ".repeat(S/2-.5)):(w=" ".repeat(S/2),k=w):k=" ".repeat(S)}n.delimiterStart!==!1&&!d&&v.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&b==="")&&(n.delimiterStart!==!1||d)&&v.push(" "),n.alignDelimiters!==!1&&v.push(w),v.push(b),n.alignDelimiters!==!1&&v.push(k),n.padding!==!1&&v.push(" "),(n.delimiterEnd!==!1||d!==u-1)&&v.push("|")}m.push(n.delimiterEnd===!1?v.join("").replace(/ +$/,""):v.join(""))}return m.join(`
3239`)}function zhe(e){return e==null?"":String(e)}function $2(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function Uhe(e,t,n,r){const i=n.enter("blockquote"),s=n.createTracker(r);s.move("> "),s.shift(2);const o=n.indentLines(n.containerFlow(e,s.current()),Vhe);return i(),o}function Vhe(e,t,n){return">"+(n?"":" ")+e}function Whe(e,t){return F2(e,t.inConstruct,!0)&&!F2(e,t.notInConstruct,!1)}function F2(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function z2(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
3240`&&Whe(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
3241`}function Hhe(e,t){const n=String(e);let r=n.indexOf(t),i=r,s=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++s>o&&(o=s):s=1,i=r+t.length,r=n.indexOf(t,i);return o}function Ghe(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Khe(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Jhe(e,t,n,r){const i=Khe(n),s=e.value||"",o=i==="`"?"GraveAccent":"Tilde";if(Ghe(e,n)){const d=n.enter("codeIndented"),h=n.indentLines(s,Yhe);return d(),h}const a=n.createTracker(r),c=i.repeat(Math.max(Hhe(s,i)+1,3)),u=n.enter("codeFenced");let p=a.move(c);if(e.lang){const d=n.enter(`codeFencedLang${o}`);p+=a.move(n.safe(e.lang,{before:p,after:" ",encode:["`"],...a.current()})),d()}if(e.lang&&e.meta){const d=n.enter(`codeFencedMeta${o}`);p+=a.move(" "),p+=a.move(n.safe(e.meta,{before:p,after:`
3242`,encode:["`"],...a.current()})),d()}return p+=a.move(`
3243`),s&&(p+=a.move(s+`
3244`)),p+=a.move(c),u(),p}function Yhe(e,t,n){return(n?"":"    ")+e}function Hw(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Qhe(e,t,n,r){const i=Hw(n),s=i==='"'?"Quote":"Apostrophe",o=n.enter("definition");let a=n.enter("label");const c=n.createTracker(r);let u=c.move("[");return u+=c.move(n.safe(n.associationId(e),{before:u,after:"]",...c.current()})),u+=c.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),u+=c.move("<"),u+=c.move(n.safe(e.url,{before:u,after:">",...c.current()})),u+=c.move(">")):(a=n.enter("destinationRaw"),u+=c.move(n.safe(e.url,{before:u,after:e.title?" ":`
3245`,...c.current()}))),a(),e.title&&(a=n.enter(`title${s}`),u+=c.move(" "+i),u+=c.move(n.safe(e.title,{before:u,after:i,...c.current()})),u+=c.move(i),a()),o(),u}function Xhe(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function zc(e){return"&#x"+e.toString(16).toUpperCase()+";"}function oh(e,t,n){const r=Ba(e),i=Ba(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}fL.peek=Zhe;function fL(e,t,n,r){const i=Xhe(n),s=n.enter("emphasis"),o=n.createTracker(r),a=o.move(i);let c=o.move(n.containerPhrasing(e,{after:i,before:a,...o.current()}));const u=c.charCodeAt(0),p=oh(r.before.charCodeAt(r.before.length-1),u,i);p.inside&&(c=zc(u)+c.slice(1));const d=c.charCodeAt(c.length-1),h=oh(r.after.charCodeAt(0),d,i);h.inside&&(c=c.slice(0,-1)+zc(d));const f=o.move(i);return s(),n.attentionEncodeSurroundingInfo={after:h.outside,before:p.outside},a+c+f}function Zhe(e,t,n){return n.options.emphasis||"*"}function efe(e,t){let n=!1;return Vw(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Vy}),!!((!e.depth||e.depth<3)&&Dw(e)&&(t.options.setext||n))}function tfe(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(efe(e,n)){const p=n.enter("headingSetext"),d=n.enter("phrasing"),h=n.containerPhrasing(e,{...s.current(),before:`
3246`,after:`
3247`});return d(),p(),h+`
3248`+(i===1?"=":"-").repeat(h.length-(Math.max(h.lastIndexOf("\r"),h.lastIndexOf(`
3249`))+1))}const o="#".repeat(i),a=n.enter("headingAtx"),c=n.enter("phrasing");s.move(o+" ");let u=n.containerPhrasing(e,{before:"# ",after:`
3250`,...s.current()});return/^[\t ]/.test(u)&&(u=zc(u.charCodeAt(0))+u.slice(1)),u=u?o+" "+u:o,n.options.closeAtx&&(u+=" "+o),c(),a(),u}mL.peek=nfe;function mL(e){return e.value||""}function nfe(){return"<"}gL.peek=rfe;function gL(e,t,n,r){const i=Hw(n),s=i==='"'?"Quote":"Apostrophe",o=n.enter("image");let a=n.enter("label");const c=n.createTracker(r);let u=c.move("![");return u+=c.move(n.safe(e.alt,{before:u,after:"]",...c.current()})),u+=c.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),u+=c.move("<"),u+=c.move(n.safe(e.url,{before:u,after:">",...c.current()})),u+=c.move(">")):(a=n.enter("destinationRaw"),u+=c.move(n.safe(e.url,{before:u,after:e.title?" ":")",...c.current()}))),a(),e.title&&(a=n.enter(`title${s}`),u+=c.move(" "+i),u+=c.move(n.safe(e.title,{before:u,after:i,...c.current()})),u+=c.move(i),a()),u+=c.move(")"),o(),u}function rfe(){return"!"}vL.peek=ife;function vL(e,t,n,r){const i=e.referenceType,s=n.enter("imageReference");let o=n.enter("label");const a=n.createTracker(r);let c=a.move("![");const u=n.safe(e.alt,{before:c,after:"]",...a.current()});c+=a.move(u+"]["),o();const p=n.stack;n.stack=[],o=n.enter("reference");const d=n.safe(n.associationId(e),{before:c,after:"]",...a.current()});return o(),n.stack=p,s(),i==="full"||!u||u!==d?c+=a.move(d+"]"):i==="shortcut"?c=c.slice(0,-1):c+=a.move("]"),c}function ife(){return"!"}yL.peek=sfe;function yL(e,t,n){let r=e.value||"",i="`",s=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++s<n.unsafe.length;){const o=n.unsafe[s],a=n.compilePattern(o);let c;if(o.atBreak)for(;c=a.exec(r);){let u=c.index;r.charCodeAt(u)===10&&r.charCodeAt(u-1)===13&&u--,r=r.slice(0,u)+" "+r.slice(c.index+1)}}return i+r+i}function sfe(){return"`"}function bL(e,t){const n=Dw(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}xL.peek=ofe;function xL(e,t,n,r){const i=Hw(n),s=i==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let a,c;if(bL(e,n)){const p=n.stack;n.stack=[],a=n.enter("autolink");let d=o.move("<");return d+=o.move(n.containerPhrasing(e,{before:d,after:">",...o.current()})),d+=o.move(">"),a(),n.stack=p,d}
vendor: 7,135 bytes, lines 3250-3252
3250a=n.enter("link"),c=n.enter("label");let u=o.move("[");return u+=o.move(n.containerPhrasing(e,{before:u,after:"](",...o.current()})),u+=o.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),u+=o.move("<"),u+=o.move(n.safe(e.url,{before:u,after:">",...o.current()})),u+=o.move(">")):(c=n.enter("destinationRaw"),u+=o.move(n.safe(e.url,{before:u,after:e.title?" ":")",...o.current()}))),c(),e.title&&(c=n.enter(`title${s}`),u+=o.move(" "+i),u+=o.move(n.safe(e.title,{before:u,after:i,...o.current()})),u+=o.move(i),c()),u+=o.move(")"),a(),u}function ofe(e,t,n){return bL(e,n)?"<":"["}wL.peek=afe;function wL(e,t,n,r){const i=e.referenceType,s=n.enter("linkReference");let o=n.enter("label");const a=n.createTracker(r);let c=a.move("[");const u=n.containerPhrasing(e,{before:c,after:"]",...a.current()});c+=a.move(u+"]["),o();const p=n.stack;n.stack=[],o=n.enter("reference");const d=n.safe(n.associationId(e),{before:c,after:"]",...a.current()});return o(),n.stack=p,s(),i==="full"||!u||u!==d?c+=a.move(d+"]"):i==="shortcut"?c=c.slice(0,-1):c+=a.move("]"),c}function afe(){return"["}function Gw(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function lfe(e){const t=Gw(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function cfe(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function kL(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function ufe(e,t,n,r){const i=n.enter("list"),s=n.bulletCurrent;let o=e.ordered?cfe(n):Gw(n);const a=e.ordered?o==="."?")":".":lfe(n);let c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const p=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&p&&(!p.children||!p.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),kL(n)===o&&p){let d=-1;for(;++d<e.children.length;){const h=e.children[d];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){c=!0;break}}}}c&&(o=a),n.bulletCurrent=o;const u=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=s,i(),u}function dfe(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function pfe(e,t,n,r){const i=dfe(n);let s=n.bulletCurrent||Gw(n);t&&t.type==="list"&&t.ordered&&(s=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+s);let o=s.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const a=n.createTracker(r);a.move(s+" ".repeat(o-s.length)),a.shift(o);const c=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,a.current()),p);return c(),u;function p(d,h,f){return h?(f?"":" ".repeat(o))+d:(f?s:s+" ".repeat(o-s.length))+d}}function hfe(e,t,n,r){const i=n.enter("paragraph"),s=n.enter("phrasing"),o=n.containerPhrasing(e,r);return s(),i(),o}const ffe=Cf(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function mfe(e,t,n,r){return(e.children.some(function(o){return ffe(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function gfe(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}CL.peek=vfe;function CL(e,t,n,r){const i=gfe(n),s=n.enter("strong"),o=n.createTracker(r),a=o.move(i+i);let c=o.move(n.containerPhrasing(e,{after:i,before:a,...o.current()}));const u=c.charCodeAt(0),p=oh(r.before.charCodeAt(r.before.length-1),u,i);p.inside&&(c=zc(u)+c.slice(1));const d=c.charCodeAt(c.length-1),h=oh(r.after.charCodeAt(0),d,i);h.inside&&(c=c.slice(0,-1)+zc(d));const f=o.move(i+i);return s(),n.attentionEncodeSurroundingInfo={after:h.outside,before:p.outside},a+c+f}function vfe(e,t,n){return n.options.strong||"*"}function yfe(e,t,n,r){return n.safe(e.value,r)}function bfe(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function xfe(e,t,n){const r=(kL(n)+(n.options.ruleSpaces?" ":"")).repeat(bfe(n));return n.options.ruleSpaces?r.slice(0,-1):r}const jL={blockquote:Uhe,break:z2,code:Jhe,definition:Qhe,emphasis:fL,hardBreak:z2,heading:tfe,html:mL,image:gL,imageReference:vL,inlineCode:yL,link:xL,linkReference:wL,list:ufe,listItem:pfe,paragraph:hfe,root:mfe,strong:CL,text:yfe,thematicBreak:xfe};function wfe(){return{enter:{table:kfe,tableData:U2,tableHeader:U2,tableRow:jfe},exit:{codeText:Sfe,table:Cfe,tableData:vg,tableHeader:vg,tableRow:vg}}}function kfe(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function Cfe(e){this.exit(e),this.data.inTable=void 0}function jfe(e){this.enter({type:"tableRow",children:[]},e)}function vg(e){this.exit(e)}function U2(e){this.enter({type:"tableCell",children:[]},e)}function Sfe(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,_fe));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function _fe(e,t){return t==="|"?t:e}function Efe(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
3251`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:h,table:o,tableCell:c,tableRow:a}};function o(f,m,g,x){return u(p(f,g,x),f.align)}function a(f,m,g,x){const v=d(f,g,x),b=u([v]);return b.slice(0,b.indexOf(`
3252`))}function c(f,m,g,x){const v=g.enter("tableCell"),b=g.enter("phrasing"),w=g.containerPhrasing(f,{...x,before:s,after:s});return b(),v(),w}function u(f,m){return Fhe(f,{align:m,alignDelimiters:r,padding:n,stringLength:i})}function p(f,m,g){const x=f.children;let v=-1;const b=[],w=m.enter("table");for(;++v<x.length;)b[v]=d(x[v],m,g);return w(),b}function d(f,m,g){const x=f.children;let v=-1;const b=[],w=m.enter("tableRow");for(;++v<x.length;)b[v]=c(x[v],f,m,g);return w(),b}
vendor: 11,152 bytes, line 3252
3252function h(f,m,g){let x=jL.inlineCode(f,m,g);return g.stack.includes("tableCell")&&(x=x.replace(/\|/g,"\\$&")),x}}function Tfe(){return{exit:{taskListCheckValueChecked:V2,taskListCheckValueUnchecked:V2,paragraph:Afe}}}function Pfe(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Nfe}}}function V2(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Afe(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let s=-1,o;for(;++s<i.length;){const a=i[s];if(a.type==="paragraph"){o=a;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function Nfe(e,t,n,r){const i=e.children[0],s=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);s&&a.move(o);let c=jL.listItem(e,t,n,{...r,...a.current()});return s&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),c;function u(p){return p+o}}function Rfe(){return[uhe(),Nhe(),Lhe(),wfe(),Tfe()]}function qfe(e){return{extensions:[dhe(),Rhe(e),Ohe(),Efe(e),Pfe()]}}const Ife={tokenize:$fe,partial:!0},SL={tokenize:Ffe,partial:!0},_L={tokenize:zfe,partial:!0},EL={tokenize:Ufe,partial:!0},Lfe={tokenize:Vfe,partial:!0},TL={name:"wwwAutolink",tokenize:Mfe,previous:AL},PL={name:"protocolAutolink",tokenize:Bfe,previous:NL},fi={name:"emailAutolink",tokenize:Dfe,previous:RL},Fr={};function Ofe(){return{text:Fr}}let As=48;for(;As<123;)Fr[As]=fi,As++,As===58?As=65:As===91&&(As=97);Fr[43]=fi;Fr[45]=fi;Fr[46]=fi;Fr[95]=fi;Fr[72]=[fi,PL];Fr[104]=[fi,PL];Fr[87]=[fi,TL];Fr[119]=[fi,TL];function Dfe(e,t,n){const r=this;let i,s;return o;function o(d){return!Ky(d)||!RL.call(r,r.previous)||Kw(r.events)?n(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(d))}function a(d){return Ky(d)?(e.consume(d),a):d===64?(e.consume(d),c):n(d)}function c(d){return d===46?e.check(Lfe,p,u)(d):d===45||d===95||At(d)?(s=!0,e.consume(d),c):p(d)}function u(d){return e.consume(d),i=!0,c}function p(d){return s&&i&&Dt(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):n(d)}}function Mfe(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!AL.call(r,r.previous)||Kw(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Ife,e.attempt(SL,e.attempt(_L,s),n),n)(o))}function s(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function Bfe(e,t,n){const r=this;let i="",s=!1;return o;function o(d){return(d===72||d===104)&&NL.call(r,r.previous)&&!Kw(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(d),e.consume(d),a):n(d)}function a(d){if(Dt(d)&&i.length<5)return i+=String.fromCodePoint(d),e.consume(d),a;if(d===58){const h=i.toLowerCase();if(h==="http"||h==="https")return e.consume(d),c}return n(d)}function c(d){return d===47?(e.consume(d),s?u:(s=!0,c)):n(d)}function u(d){return d===null||rh(d)||Re(d)||uo(d)||xf(d)?n(d):e.attempt(SL,e.attempt(_L,p),n)(d)}function p(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function $fe(e,t,n){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),s):n(o)}function s(o){return o===null?n(o):t(o)}}function Ffe(e,t,n){let r,i,s;return o;function o(u){return u===46||u===95?e.check(EL,c,a)(u):u===null||Re(u)||uo(u)||u!==45&&xf(u)?c(u):(s=!0,e.consume(u),o)}function a(u){return u===95?r=!0:(i=r,r=void 0),e.consume(u),o}function c(u){return i||r||!s?n(u):t(u)}}function zfe(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?s(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(EL,t,s)(o):o===null||Re(o)||uo(o)?t(o):(e.consume(o),i)}function s(o){return o===41&&r++,e.consume(o),i}}function Ufe(e,t,n){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(e.consume(a),r):a===38?(e.consume(a),s):a===93?(e.consume(a),i):a===60||a===null||Re(a)||uo(a)?t(a):n(a)}function i(a){return a===null||a===40||a===91||Re(a)||uo(a)?t(a):r(a)}function s(a){return Dt(a)?o(a):n(a)}function o(a){return a===59?(e.consume(a),r):Dt(a)?(e.consume(a),o):n(a)}}function Vfe(e,t,n){return r;function r(s){return e.consume(s),i}function i(s){return At(s)?n(s):t(s)}}function AL(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Re(e)}function NL(e){return!Dt(e)}function RL(e){return!(e===47||Ky(e))}function Ky(e){return e===43||e===45||e===46||e===95||At(e)}function Kw(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const Wfe={tokenize:Zfe,partial:!0};function Hfe(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Yfe,continuation:{tokenize:Qfe},exit:Xfe}},text:{91:{name:"gfmFootnoteCall",tokenize:Jfe},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Gfe,resolveTo:Kfe}}}}function Gfe(e,t,n){const r=this;let i=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const c=r.events[i][1];if(c.type==="labelImage"){o=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return a;function a(c){if(!o||!o._balanced)return n(c);const u=ir(r.sliceSerialize({start:o.end,end:r.now()}));return u.codePointAt(0)!==94||!s.includes(u.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}function Kfe(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",s,t],["enter",o,t],["exit",o,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function Jfe(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,o;return a;function a(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),c}function c(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(d){if(s>999||d===93&&!o||d===null||d===91||Re(d))return n(d);if(d===93){e.exit("chunkString");const h=e.exit("gfmFootnoteCallString");return i.includes(ir(r.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(d)}return Re(d)||(o=!0),s++,e.consume(d),d===92?p:u}function p(d){return d===91||d===92||d===93?(e.consume(d),s++,u):u(d)}}function Yfe(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,o=0,a;return c;function c(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):n(m)}function p(m){if(o>999||m===93&&!a||m===null||m===91||Re(m))return n(m);if(m===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return s=ir(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return Re(m)||(a=!0),o++,e.consume(m),m===92?d:p}function d(m){return m===91||m===92||m===93?(e.consume(m),o++,p):p(m)}function h(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),i.includes(s)||i.push(s),ke(e,f,"gfmFootnoteDefinitionWhitespace")):n(m)}function f(m){return t(m)}}function Qfe(e,t,n){return e.check(hu,t,e.attempt(Wfe,t,n))}function Xfe(e){e.exit("gfmFootnoteDefinition")}function Zfe(e,t,n){const r=this;return ke(e,i,"gfmFootnoteDefinitionIndent",5);function i(s){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(s):n(s)}}function eme(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:s,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,a){let c=-1;for(;++c<o.length;)if(o[c][0]==="enter"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._close){let u=c;for(;u--;)if(o[u][0]==="exit"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._open&&o[c][1].end.offset-o[c][1].start.offset===o[u][1].end.offset-o[u][1].start.offset){o[c][1].type="strikethroughSequence",o[u][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({},o[u][1].start),end:Object.assign({},o[c][1].end)},d={type:"strikethroughText",start:Object.assign({},o[u][1].end),end:Object.assign({},o[c][1].start)},h=[["enter",p,a],["enter",o[u][1],a],["exit",o[u][1],a],["enter",d,a]],f=a.parser.constructs.insideSpan.null;f&&hn(h,h.length,0,wf(f,o.slice(u+1,c),a)),hn(h,h.length,0,[["exit",d,a],["enter",o[c][1],a],["exit",o[c][1],a],["exit",p,a]]),hn(o,u-1,c-u+3,h),c=u+h.length-2;break}}for(c=-1;++c<o.length;)o[c][1].type==="strikethroughSequenceTemporary"&&(o[c][1].type="data");return o}function s(o,a,c){const u=this.previous,p=this.events;let d=0;return h;function h(m){return u===126&&p[p.length-1][1].type!=="characterEscape"?c(m):(o.enter("strikethroughSequenceTemporary"),f(m))}function f(m){const g=Ba(u);if(m===126)return d>1?c(m):(o.consume(m),d++,f);if(d<2&&!n)return c(m);const x=o.exit("strikethroughSequenceTemporary"),v=Ba(m);return x._open=!v||v===2&&!!g,x._close=!g||g===2&&!!v,a(m)}}}class tme{constructor(){this.map=[]}add(t,n,r){nme(this,t,n,r)}consume(t){if(this.map.sort(function(s,o){return s[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];
vendor: 4,098 bytes, line 3252
3252r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const s of i)t.push(s);i=r.pop()}this.map.length=0}}function nme(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function rme(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const s=r.length-1;r[s]=r[s]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function ime(){return{flow:{null:{name:"table",tokenize:sme,resolveAll:ome}}}}function sme(e,t,n){const r=this;let i=0,s=0,o;return a;function a(j){let q=r.events.length-1;for(;q>-1;){const L=r.events[q][1].type;if(L==="lineEnding"||L==="linePrefix")q--;else break}const A=q>-1?r.events[q][1].type:null,D=A==="tableHead"||A==="tableRow"?C:c;return D===C&&r.parser.lazy[r.now().line]?n(j):D(j)}function c(j){return e.enter("tableHead"),e.enter("tableRow"),u(j)}function u(j){return j===124||(o=!0,s+=1),p(j)}function p(j){return j===null?n(j):se(j)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),f):n(j):be(j)?ke(e,p,"whitespace")(j):(s+=1,o&&(o=!1,i+=1),j===124?(e.enter("tableCellDivider"),e.consume(j),e.exit("tableCellDivider"),o=!0,p):(e.enter("data"),d(j)))}function d(j){return j===null||j===124||Re(j)?(e.exit("data"),p(j)):(e.consume(j),j===92?h:d)}function h(j){return j===92||j===124?(e.consume(j),d):d(j)}function f(j){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(j):(e.enter("tableDelimiterRow"),o=!1,be(j)?ke(e,m,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):m(j))}function m(j){return j===45||j===58?x(j):j===124?(o=!0,e.enter("tableCellDivider"),e.consume(j),e.exit("tableCellDivider"),g):S(j)}function g(j){return be(j)?ke(e,x,"whitespace")(j):x(j)}function x(j){return j===58?(s+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(j),e.exit("tableDelimiterMarker"),v):j===45?(s+=1,v(j)):j===null||se(j)?k(j):S(j)}function v(j){return j===45?(e.enter("tableDelimiterFiller"),b(j)):S(j)}function b(j){return j===45?(e.consume(j),b):j===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(j),e.exit("tableDelimiterMarker"),w):(e.exit("tableDelimiterFiller"),w(j))}function w(j){return be(j)?ke(e,k,"whitespace")(j):k(j)}function k(j){return j===124?m(j):j===null||se(j)?!o||i!==s?S(j):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(j)):S(j)}function S(j){return n(j)}function C(j){return e.enter("tableRow"),T(j)}function T(j){return j===124?(e.enter("tableCellDivider"),e.consume(j),e.exit("tableCellDivider"),T):j===null||se(j)?(e.exit("tableRow"),t(j)):be(j)?ke(e,T,"whitespace")(j):(e.enter("data"),P(j))}function P(j){return j===null||j===124||Re(j)?(e.exit("data"),T(j)):(e.consume(j),j===92?R:P)}function R(j){return j===92||j===124?(e.consume(j),P):P(j)}}function ome(e,t){let n=-1,r=!0,i=0,s=[0,0,0,0],o=[0,0,0,0],a=!1,c=0,u,p,d;const h=new tme;for(;++n<e.length;){const f=e[n],m=f[1];f[0]==="enter"?m.type==="tableHead"?(a=!1,c!==0&&(W2(h,t,c,u,p),p=void 0,c=0),u={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(n,0,[["enter",u,t]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(r=!0,d=void 0,s=[0,0,0,0],o=[0,n+1,0,0],a&&(a=!1,p={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(n,0,[["enter",p,t]])),i=m.type==="tableDelimiterRow"?2:p?3:1):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(s[1]!==0&&(o[0]=o[1],d=fd(h,t,s,i,void 0,d),s=[0,0,0,0]),o[2]=n)):m.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(o[0]=o[1],d=fd(h,t,s,i,void 0,d)),s=o,o=[s[1],n,0,0])):m.type==="tableHead"?(a=!0,c=n):m.type==="tableRow"||m.type==="tableDelimiterRow"?(c=n,s[1]!==0?(o[0]=o[1],d=fd(h,t,s,i,n,d)):o[1]!==0&&(
3252d=fd(h,t,o,i,n,d)),i=0):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(o[3]=n)}for(c!==0&&W2(h,t,c,u,p),h.consume(t.events),n=-1;++n<t.events.length;){const f=t.events[n];f[0]==="enter"&&f[1].type==="table"&&(f[1]._align=rme(t.events,n))}return e}function fd(e,t,n,r,i,s){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";n[0]!==0&&(s.end=Object.assign({},Mo(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const c=Mo(t.events,n[1]);if(s={type:o,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",s,t]]),n[2]!==0){const u=Mo(t.events,n[2]),p=Mo(t.events,n[3]),d={type:a,start:Object.assign({},u),end:Object.assign({},p)};if(e.add(n[2],0,[["enter",d,t]]),r!==2){const h=t.events[n[2]],f=t.events[n[3]];if(h[1].end=Object.assign({},f[1].end),h[1].type="chunkText",h[1].contentType="text",n[3]>n[2]+1){const m=n[2]+1,g=n[3]-n[2]-1;e.add(m,g,[])}}e.add(n[3]+1,0,[["exit",d,t]])}return i!==void 0&&(s.end=Object.assign({},Mo(t.events,i)),e.add(i,0,[["exit",s,t]]),s=void 0),s}function W2(e,t,n,r,i){const s=[],o=Mo(t.events,n);i&&(i.end=Object.assign({},o),s.push(["exit",i,t])),r.end=Object.assign({},o),s.push(["exit",r,t]),e.add(n+1,0,s)}function Mo(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const ame={name:"tasklistCheck",tokenize:cme};function lme(){return{text:{91:ame}}}function cme(e,t,n){const r=this;return i;function i(c){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),s)}function s(c){return Re(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),o):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),o):n(c)}function o(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(c)}function a(c){return se(c)?t(c):be(c)?e.check({tokenize:ume},t,n)(c):n(c)}}function ume(e,t,n){return ke(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function dme(e){return zI([Ofe(),Hfe(),eme(e),ime(),lme()])}const pme={};function hme(e){const t=this,n=e||pme,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(dme(n)),s.push(Rfe()),o.push(qfe(n))}function H2(){const{slug:e=""}=Qc(),t=nt(),n=We(),r=me(),i=GY(e),s=KY(e,2);if(!i)return l.jsx(we,{to:n("/blog"),replace:!0});const a=`https://boitepac.com${t==="en"?"/en/blog":"/blog"}/${encodeURIComponent(i.slug)}`,c=`${i.title} — Boîte Pac`,u={"@context":"https://schema.org","@type":"Article",headline:i.title,datePublished:i.date,description:i.excerpt,image:i.cover?`https://boitepac.com${i.cover}`:void 0,author:{"@type":"Organization",name:"Boîte Pac"},publisher:{"@type":"Organization",name:"Boîte Pac"},mainEntityOfPage:a,inLanguage:t==="en"?"en":"fr"};return l.jsxs(ht,{children:[l.jsxs(vs,{children:[l.jsx("title",{children:c}),l.jsx("meta",{name:"description",content:i.excerpt}),l.jsx("meta",{property:"og:title",content:c}),l.jsx("meta",{property:"og:description",content:i.excerpt}),l.jsx("meta",{property:"og:url",content:a}),l.jsx("meta",{property:"og:type",content:"article"}),i.cover&&l.jsx("meta",{property:"og:image",content:`https://boitepac.com${i.cover}`}),l.jsx("meta",{name:"twitter:title",content:c}),l.jsx("meta",{name:"twitter:description",content:i.excerpt}),i.cover&&l.jsx("meta",{name:"twitter:image",content:`https://boitepac.com${i.cover}`}),l.jsx("script",{type:"application/ld+json",children:JSON.stringify(u)})]}),l.jsxs("article",{children:[l.jsx("section",{className:"bg-navy text-cream",children:l.jsx("div",{className:"section pt-32 pb-12 md:pt-40 md:pb-16",children:l.jsxs(re.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-3xl",children:[l.jsxs(ie,{to:n("/blog"),className:"inline-flex items-center gap-2 text-sm text-cream/70 transition-colors hover:text-cream",children:[l.jsx(Nh,{className:"h-4 w-4"}),r("Tous les articles","All articles")]}),l.jsx("time",{dateTime:i.date,className:"mt-8 block text-xs font-semibold uppercase tracking-[0.2em] text-accent",children:ow(i.date,t)}),l.jsx("h1",{className:"mt-4 font-display text-[clamp(2rem,4.5vw,4rem)] font-medium leading-[1.05] tracking-[-0.02em]",children:i.title})]})})}),i.cover&&l.jsx("div",{className:"section -mt-4 md:-mt-8",children:l.jsx("div",{className:"overflow-hidden rounded-[1.75rem] md:rounded-[2.5rem]",children:l.jsx("img",{src:i.cover,alt:i.coverAlt,className:"aspect-[16/9] w-full object-cover md:aspect-[21/9]"})})}),l.jsx("section",{className:"bg-background py-16 md:py-24",children:l.jsx("div",{className:"section",children:l.jsx("div",{className:"mx-auto max-w-[720px]",children:l.jsx("div",{className:"prose prose-lg max-w-none prose-headings:font-display prose-headings:font-medium prose-headings:tracking-[-0.01em] prose-headings:text-foreground prose-p:text-foreground
3252/85 prose-p:leading-relaxed prose-a:text-accent prose-a:no-underline hover:prose-a:underline prose-strong:text-foreground prose-img:rounded-2xl prose-blockquote:border-l-accent prose-blockquote:text-foreground/75 prose-li:text-foreground/85 prose-code:text-foreground prose-code:bg-foreground/5 prose-code:px-1.5 prose-code:py-0.5 prose-code:rounded prose-code:before:content-none prose-code:after:content-none",children:l.jsx(ehe,{remarkPlugins:[hme],children:i.content})})})})}),s.length>0&&l.jsx("section",{className:"bg-background pb-24",children:l.jsx("div",{className:"section",children:l.jsxs("div",{className:"mx-auto max-w-[1100px] border-t border-foreground/10 pt-16",children:[l.jsx("h2",{className:"font-display text-sm font-semibold uppercase tracking-[0.2em] text-foreground/60",children:r("À lire ensuite","Read next")}),l.jsx("div",{className:"mt-10 grid gap-x-10 gap-y-16 md:grid-cols-2",children:s.map((p,d)=>l.jsx(EI,{post:p,index:d},p.slug))})]})})})]}),l.jsx(ur,{})]})}function fme(){const{slug:e=""}=Qc();return l.jsx(we,{to:`/blog/${e}`,replace:!0})}function G2(){const[e]=zE(),t=e.get("session_id");return y.useEffect(()=>{document.title="Inscription confirmée | Boîte Pac"},[]),l.jsx(ht,{children:l.jsxs("div",{className:"container max-w-2xl py-20 text-center",children:[l.jsx(GM,{className:"mx-auto h-16 w-16 text-green-600 mb-6"}),l.jsx("h1",{className:"text-3xl md:text-4xl font-bold mb-4",children:"Merci pour votre inscription !"}),l.jsx("p",{className:"text-lg text-muted-foreground mb-2",children:"Votre place dans la Cohorte Leadership Signature est confirmée."}),l.jsxs("p",{className:"text-muted-foreground mb-8",children:["Vous recevrez sous peu un courriel de confirmation avec les détails de la cohorte et les prochaines étapes. Si vous ne le recevez pas dans les minutes qui suivent, vérifiez votre boîte de courrier indésirable ou écrivez-nous à ",l.jsx("a",{className:"underline",href:"mailto:[email protected]",children:"[email protected]"}),"."]}),t&&l.jsxs("p",{className:"text-xs text-muted-foreground mb-8",children:["Référence : ",t]}),l.jsx(tt,{asChild:!0,size:"lg",children:l.jsx(ie,{to:"/",children:"Retour à l'accueil"})})]})})}function K2(){const e=nt();return l.jsx(ht,{children:l.jsx("section",{className:"section py-20 md:py-28",children:l.jsxs("div",{className:"mx-auto max-w-3xl",children:[l.jsx("h1",{className:"font-display text-4xl md:text-5xl text-white",children:e==="en"?"Privacy Policy":"Politique de confidentialité"}),l.jsx("div",{className:"prose prose-invert mt-10 max-w-none text-white/85 prose-headings:font-display prose-headings:text-white prose-h1:text-white prose-h2:mt-12 prose-h2:text-2xl prose-h2:text-white prose-h3:text-xl prose-h3:text-white prose-h4:text-white prose-strong:text-white prose-li:text-white/85 prose-p:text-white/85 prose-a:text-accent",children:e==="en"?l.jsx(gme,{}):l.jsx(mme,{})})]})})})}function mme(){return l.jsxs(l.Fragment,{children:[l.jsx("p",{children:"Boîte Pac (« Boîte Pac », « nous », « notre », « nos ») accorde une importance particulière au respect de votre vie privée et à la protection de vos renseignements personnels. La présente Politique de confidentialité (la « Politique ») décrit les renseignements personnels que nous pouvons recevoir ou recueillir auprès de vous ainsi que la manière dont nous les utilisons, les communiquons, les conservons et les sécurisons. Ainsi, vous pouvez faire des choix éclairés et réfléchis."}),l.jsx("p",{className:"text-sm text-white/60",children:"Dernière mise à jour : 23 juin 2026."}),l.jsx("p",{children:"Cette Politique s'applique à notre site Web boitepac.com ainsi qu'à notre gestionnaire de relation client Pipedrive. Toutefois, nous tenons à attirer votre attention sur le fait que les droits et obligations décrits dans la présente Politique ne couvrent pas les plateformes tierces qui pourraient être mentionnées sur la Plateforme. Ces plateformes tierces disposent de leurs propres politiques de confidentialité, et nous vous invitons à les lire attentivement."}),l.jsx("h2",{children:"1. Qu'est-ce qu'un renseignement personnel?"}),l.jsx("p",{children:"Aux fins de la présente Politique, nous entendons par « renseignement personnel » toute information concernant une personne physique permettant son identification, ou qui, prise séparément ou combinée à d'autres renseignements, permet de l'identifier."}),l.jsx("h2",{children:"2. Comment recueillons-nous vos renseignements personnels?"}),l.jsx("h3",{children:"Avec votre consentement"}),l.jsx("p",{children:"De manière générale, nous obtiendrons les renseignements personnels dont nous avons besoin directement auprès de vous, avec votre consentement, conformément à la Loi 25 modernisant des dis
3252positions législatives en matière de protection des renseignements personnels au Québec, et sous réserve de toute exception législative ou réglementaire applicable. Par exemple, Boîte Pac pourrait avoir à procéder sans votre consentement lorsque, pour des raisons de détection ou de prévention de la fraude, demander votre consentement irait à l'encontre du but recherché."}),l.jsx("p",{children:"Boîte Pac recueille principalement vos renseignements personnels directement auprès de vous, notamment lorsque vous communiquez avec nous ou utilisez nos services. Vos renseignements personnels peuvent également être recueillis par le biais de témoins de connexion (cookies), à partir de registres publiquement accessibles ou auprès de tiers, dans la mesure permise par la loi applicable ou si nous avons obtenu le consentement nécessaire."}),l.jsx("h3",{children:"Refus de la collecte et retrait de votre consentement"}),l.jsx("p",{children:"Vous avez le droit, si vous le souhaitez, de refuser la collecte, l'utilisation et la communication de vos renseignements personnels. Vous pouvez également retirer votre consentement quant à l'utilisation des renseignements personnels en notre possession à tout moment, sous réserve d'un préavis raisonnable et de restrictions légales ou contractuelles applicables, en nous contactant. Toutefois, sachez que si vous décidez de ne pas nous fournir vos renseignements personnels, cela pourrait vous empêcher d'accéder à certains de nos services."}),l.jsx("p",{children:"Nous souhaitons également vous informer que les renseignements anonymisés, qui ne permettent pas de savoir qui vous êtes, pourront continuer à être utilisés malgré le retrait de votre consentement."}),l.jsx("h3",{children:"Utilisation secondaire"}),l.jsx("p",{children:"Selon les circonstances, Boîte Pac pourrait également demander votre consentement pour utiliser vos renseignements personnels à des fins secondaires, par exemple pour mener des études de marché ou enrichir ses bases de données. Votre consentement à une utilisation secondaire peut être retiré à tout moment en nous contactant, sans que cela n'affecte la prestation de nos services."}),l.jsx("h2",{children:"3. Quels renseignements personnels recueillons-nous?"}),l.jsx("p",{children:"Dans le cadre de nos activités et de la prestation de nos services, les renseignements personnels recueillis peuvent inclure, sans s'y limiter :"}),l.jsxs("ul",{children:[l.jsx("li",{children:"vos coordonnées (par exemple : votre nom, votre adresse courriel, votre employeur ou votre numéro de téléphone), à des fins d'identification et de correspondance;"}),l.jsx("li",{children:"vos préférences de communication;"}),l.jsx("li",{children:"vos commentaires ou réponses à des sondages, le cas échéant;"}),l.jsx("li",{children:"tout autre renseignement personnel que vous nous avez fourni."})]}),l.jsx("p",{children:"Boîte Pac recueille également des renseignements relatifs à l'utilisation de son site Web, y compris des renseignements techniques au sujet de vos visites ainsi que tout autre renseignement collecté par le biais de témoins de connexion ou d'autres outils similaires. Pour plus d'information à ce sujet, nous vous invitons à consulter la section « Témoins de connexion et autres outils similaires »."}),l.jsx("p",{children:"Boîte Pac NE COLLECTE PAS les données suivantes :"}),l.jsx("ul",{children:l.jsx("li",{children:"des données biométriques physiologiques."})}),l.jsx("h2",{children:"4. Pourquoi recueillons-nous et utilisons-nous vos renseignements personnels?"}),l.jsx("p",{children:"Boîte Pac ne recueille et n'utilise que les renseignements nécessaires à l'exécution de ses obligations ainsi qu'à la prestation et à l'amélioration de ses services. Les renseignements personnels recueillis par ou pour le compte de Boîte Pac sont utilisés aux fins suivantes :"}),l.jsxs("ul",{children:[l.jsx("li",{children:"pour communiquer avec vous et vous accompagner dans la prestation de nos services;"}),l.jsx("li",{children:"pour fournir et maintenir les services demandés;"}),l.jsx("li",{children:"à des fins de recherche et développement, de statistiques et pour améliorer l'utilisation de notre site Web et votre expérience client. Autrement dit, nous voulons nous assurer que vous appréciez votre expérience numérique et que nos services répondent à vos besoins;"}),l.jsx("li",{children:"pour répondre à vos demandes d'information. Autrement dit, si vous avez besoin d'aide, nous nous efforcerons de vous répondre;"}),l.jsx("li",{children:"pour vous informer de nos nouvelles offres et vous communiquer toute autre information de nature commerciale, si vous nous y consentez ou si la loi nous y autorise;"}),l.jsx("li",{children:"tel que permis ou requis, pour toute obligation ou disposition légale ou réglementaire applicable;"}),l.jsx("li",{children:"à toute autre fin à laquelle vous avez consenti."})]}),l.jsx("h3",{children:"Par procédés automatisés"}),l.jsx("p",{children:"Lorsque vous utilisez notre site Web, nous obtenons certains renseignements par procédés automatisés, comme les pages que vous avez consultées. Les renseignements ainsi recueillis nous aident à mieux adapter notre site Web à vos besoins afin d'en optimiser les fonctionnalités et de vous offrir la meilleure expérience possible. Nous recueillons ces renseignements par différents moye
3252ns, notamment l'utilisation de témoins de connexion ou d'autres outils similaires."}),l.jsx("h2",{children:"5. Témoins de connexion et autres outils similaires"}),l.jsx("p",{children:"Comme mentionné dans les sections précédentes, nous pouvons utiliser différents outils afin d'améliorer votre expérience sur notre site Web et mieux comprendre le comportement de notre clientèle, notamment en lien avec nos stratégies marketing. La section suivante vise à vous fournir plus d'information sur la manière dont nous utilisons ces outils et procédons, le cas échéant, au profilage."}),l.jsx("h3",{children:"Témoins de connexion et pixels invisibles"}),l.jsx("p",{children:"Nous pouvons utiliser des témoins de connexion (cookies) et des pixels invisibles. De manière générale, les témoins de connexion sont de petits fichiers de données qui sont couramment stockés sur votre appareil lors de l'utilisation de sites Web et de services en ligne. Les pixels invisibles, parfois appelés « pixels espions », sont de minuscules images qui peuvent être placées sur les pages Web ou dans les courriels. Ils peuvent être utilisés, par exemple, pour suivre anonymement le nombre de fois où une page donnée a été visitée par un utilisateur ou pour confirmer qu'un courriel a été lu. Comme leur nom l'indique, les pixels sont invisibles et toute partie de notre site Web, y compris les publicités qui peuvent y être affichées, peuvent contenir des pixels invisibles. Contrairement aux témoins de connexion, les pixels invisibles ne sont pas placés sur votre appareil. Dans la présente Politique, nous désignons collectivement les témoins de connexion et les pixels invisibles par le terme « témoins »."}),l.jsx("h3",{children:"Les témoins que nous utilisons"}),l.jsx("p",{children:"Boîte Pac peut utiliser différents types de témoins. Comme décrit ci-dessous, certains de ces témoins sont strictement nécessaires au bon fonctionnement du site Web, tandis que d'autres seront utilisés, si vous y consentez, à des fins fonctionnelles, de performance, de ciblage ou pour partager du contenu sur les médias sociaux :"}),l.jsxs("ul",{children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Témoins strictement nécessaires."})," Nous utilisons des témoins strictement nécessaires pour permettre le bon fonctionnement de notre Plateforme, de nos mesures de sécurité ainsi que celles de tiers. Sans ces témoins, les services que vous avez demandés ne peuvent être fournis."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Témoins fonctionnels"})," (aussi appelés « témoins de préférence »). Ces témoins ne sont pas essentiels à la prestation de nos services. Si vous avez consenti à leur utilisation, ces témoins contribuent à personnaliser et à améliorer l'expérience utilisateur. Par exemple, ils conservent vos préférences de communication et de langue."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Témoins publicitaires."})," Ces témoins ne sont pas essentiels à la prestation de nos services. Si vous y avez consenti, nous utilisons des témoins publicitaires pour vous présenter du contenu publicitaire pertinent, notamment sur les médias sociaux. De plus, nos partenaires peuvent utiliser ces témoins pour déterminer si nos publicités vous ont été présentées et, le cas échéant, si vous avez interagi avec celles-ci. Dans de tels cas, nos partenaires partagent avec nous des données, notamment des statistiques concernant la performance de nos publicités."]})]}),l.jsx("h3",{children:"Outils d'analyse"}),l.jsx("p",{children:"Si vous y consentez, Boîte Pac utilise des outils d'analyse pour étudier les comportements de navigation des visiteurs de sa Plateforme. Entre autres, nous utilisons l'outil Google Analytics fourni par Google LLC (« Google ») afin de recueillir des renseignements sur la façon dont vous naviguez sur notre site Web, ainsi que des données démographiques et d'intérêts."}),l.jsx("h3",{children:"Publicité ciblée"}),l.jsx("p",{children:"Boîte Pac collabore également avec des sociétés de publicité tierces telles que Google Ads qui recueillent et utilisent des renseignements concernant vos visites sur notre Plateforme afin de vous présenter des annonces susceptibles de vous intéresser. Boîte Pac ne fournit aucun renseignement permettant à ces sociétés de publicité de vous identifier."}),l.jsx("h3",{children:"Désactivation des témoins"}),l.jsx("p",{children:"À l'exception des témoins strictement nécessaires, nous ne placerons des témoins sur votre appareil que si vous y consentez, et ceux-ci seront conservés pour une période maximale de treize mois à compter de leur dépôt sur votre appareil. Au terme de cette période, votre consentement sera de nouveau requis."}),l.jsx("p",{children:"Vous pouvez également gérer vos paramètres de témoins à tout moment en modifiant les paramètres de votre navigateur ou de votre appareil mobile. Si vous choisissez de refuser les témoins, certaines pages ou sections de notre site Web pourraient ne pas s'afficher correctement, ou certaines fonctionnalités pourraient ne pas être disponibles."}),l.jsx("h2",{children:"6. Comment communiquons-nous vos renseignements personnels?"}),l.jsx("p",{children:"Dans le cadre de nos activités, nous devons parfois communiquer vos renseignements personnels à différents intervenants. Nous nous efforçons toutefois de ne les divulguer que de la manière décrite ci-dessous :"}),l.jsxs("ul",{children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Nos employés."})," Dans le cadre de leur travail, nos employés peuvent avoir besoin d'accéder à vos renseignements personnels, par exemple lorsque vous communiquez avec nous pour obtenir de l'information sur nos services. Leur accès est limité à ce qui est nécessaire à l'exécution de leurs fonctions."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Nos mandataires et fournisseurs de services."})," Nous pouvons parfois être amenés à partager vos renseignements personnels avec des mandataires ou fournisseurs de services tiers qui nous aident à fournir nos services (par exemple : analyse, exigences légales, détection de fraude et marketing)."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Lorsque requis par la loi applicable"}),", pour faire respecter des règles ou pour protéger les biens ou la sécurité de nos droits ou de ceux d'autrui. Par exemple, nous pouvons divulguer des renseignements personnels aux autorités légales ou réglementaires si nous soupçonnons des activités de blanchiment d'argent, de délit d'initié, de pratiques commerciales trompeuses ou d'autres activités criminelles, pour détecter et prévenir la fraude, ou pour nous conformer aux exigences de la loi ou d'organismes gouvernementaux, d'agences de réglementation ou d'autres organismes d'autoréglementation."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Transfert d'entreprise."})," Dans le cours du développement de notre entreprise, nous pourrions être amenés à vendre ou acheter des entreprises ou des services. Dans de telles transactions, les renseignements personnels font généralement partie des actifs commerciaux transférés, mais demeurent assujettis aux engagements pris dans toute politique de confidentialité existante."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"De manière anonymisée."})," Des renseignements personnels anonymisés peuvent être partagés avec des tiers. Par exemple, nous pourrions anonymiser des renseignements personnels pour établir des tendances ou des statistiques."]})]}),l.jsx("h2",{children:"7. Transférons-nous vos renseignements personnels à l'extérieur du Québec?"}),l.jsx("p",{children:"Les renseignements personnels que nous recueillons sont stockés dans des systèmes sécurisés hébergés sur des serveurs qui peuvent être situés à l'extérieur du Québec, notamment au Canada et aux États-Unis. Nous faisons également appel aux services de mandataires et de fournisseurs de services qui peuvent être situés à l'extérieur du Québec."}),l.jsx("p",{children:"Nous nous efforçons toutefois de protéger les renseignements personnels en notre possession, y compris ceux confiés à un mandataire ou à un fournisseur de services, qu'il soit situé au Canada, aux États-Unis ou dans d'autres juridictions ou pays. Nous nous efforçons notamment de limiter leur accès aux renseignements personnels nécessaires à l'exécution des tâches qui leur sont confiées et d'établir des ententes contractuelles avec ces mandataires et fournisseurs afin d'assurer la confidentialité et la sécurité de vos renseignements personnels."}),l.jsx("h2",{children:"8. Combien de temps conservons-nous vos renseignements personnels?"}),l.jsx("p",{children:"Vos renseignements personnels seront conservés aussi longtemps que nécessaire pour atteindre les fins déterminées ou pour respecter les exigences prévues par toute loi applicable concernant les péri
3252odes de conservation. Ainsi, la période de conservation de vos renseignements personnels variera en fonction de la finalité de leur utilisation. À la fin de cette période, nous nous efforcerons de détruire ou d'anonymiser ces renseignements."}),l.jsx("h3",{children:"8.1 Comment accéder à mes données ou les supprimer?"}),l.jsx("p",{children:"Vous pouvez en tout temps demander à avoir accès à une copie des données que Boîte Pac détient à votre sujet. Vous pouvez également demander que l'ensemble des données que nous détenons à votre sujet soit supprimé. Dans les deux cas, il suffit de nous contacter à [email protected]."}),l.jsx("h2",{children:"9. Comment protégeons-nous vos renseignements personnels?"}),l.jsx("p",{children:"Nous nous efforçons de mettre en place les mesures de sécurité nécessaires et appropriées pour assurer la confidentialité des renseignements personnels en notre possession. À cette fin, nous suivons les normes généralement admises dans l'industrie, notamment en matière de chiffrement, de pare-feu et de protocoles de sécurité. Les renseignements personnels que nous détenons ne sont donc accessibles qu'aux personnes autorisées à en prendre connaissance et qui y accèdent uniquement lorsque cela est nécessaire à l'exécution de leurs fonctions."}),l.jsx("p",{children:"Des protections et mesures de sécurité physiques, techniques et administratives appropriées ont été mises en place et sont maintenues à jour pour minimiser le risque d'incidents de sécurité. Si vous croyez que la sécurité de vos renseignements personnels a été compromise, nous vous invitons à nous contacter."}),l.jsx("h2",{children:"10. Quels sont vos droits?"}),l.jsx("p",{children:"En vertu de la loi applicable, notamment la Loi 25 au Québec, vous pouvez bénéficier de certains droits, tels que les suivants :"}),l.jsxs("ul",{children:[l.jsx("li",{children:"la protection de la confidentialité de vos renseignements personnels;"}),l.jsx("li",{children:"l'accès à vos renseignements personnels;"}),l.jsx("li",{children:"la rectification de vos renseignements personnels s'ils sont incomplets, inexacts ou équivoques, ou si leur collecte, communication ou conservation n'est pas autorisée par la loi applicable;"}),l.jsx("li",{children:"la portabilité de vos renseignements personnels, dans la mesure prévue par la loi;"}),l.jsx("li",{children:"le retrait de votre adresse courriel de notre liste d'envoi d'infolettre, le cas échéant;"}),l.jsx("li",{children:"le retrait de votre consentement à la communication, à l'utilisation et à la divulgation de vos renseignements personnels, le cas échéant;"}),l.jsx("li",{children:"le droit de porter plainte auprès de la Commission d'accès à l'information du Québec si vous estimez que nous ne respectons pas la loi applicable."})]}),l.jsx("h2",{children:"11. Modifications et mises à jour de la politique"}),l.jsx("p",{children:"Boîte Pac se réserve le droit de modifier le présent document à tout moment et pour quelque raison que ce soit, auquel cas la version la plus récente de la Politique sera publiée sur le site Web. Il vous incombe de respecter les mises à jour affichées de la Politique, le cas échéant. Votre utilisation continue du site Web après la publication de la version modifiée de la Politique indique votre acceptation pleine et entière de celle-ci."}),l.jsx("h2",{children:"12. Comment nous contacter?"}),l.jsx("p",{children:"Boîte Pac a établi des procédures pour recevoir les plaintes et demandes concernant ses politiques et pratiques de gestion des renseignements personnels. Nous informerons les personnes qui formulent une demande ou déposent une plainte de l'existence des procédures pertinentes."}),l.jsx("p",{children:"Boîte Pac s'efforcera d'enquêter sur toutes les plaintes qui lui sont soumises. Si une plainte est jugée fondée, nous prendrons les mesures appropriées, y compris, si nécessaire, la modification de nos politiques et pratiques."}),l.jsxs("p",{children:["N'hésitez pas à nous contacter pour toute question, demande d'information, commentaire ou plainte concernant vos renseignements personnels, à l'adresse",l.jsx("a",{href:"mailto:[email protected]",children:" [email protected]"})," ou au 514 588-1357."]}),l.jsx("h2",{children:"13. Responsable de la protection des renseignements personnels"}),l.jsx("p",{children:"Boîte Pac est responsable de la protection de tout renseignement personnel sous sa garde. Elle a désigné une personne responsable de la protection des renseignements personnels afin d'assurer la conformité de l'organisation avec la présente politique et les principes qui la sous-tendent. Afin d'assurer le traitement approprié et uniforme de toute demande en vertu de la présente politique, toutes les demandes d'accès et de rectification doivent être soumises par écrit au responsable de la protection des renseignements personnels, soit :"}),l.jsxs("p",{children:[l.jsx("strong",{children:"Thomas Ferland-Dionne"}),l.jsx("br",{}),"Cofondateur, Consultant B Corp",l.jsx("br",{}),"Courriel : ",l.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"})]}),l.jsx("h2",{children:"14. Politique de sécurité"}),l.jsx("p",{children:"Boîte Pac utilise des mesures conformes aux normes de l'industrie pour assurer la confidentialité, la sécurité et l'intégrité des données de ses clients contre toute forme d'utilisation, de consultation, de communication, d'altération, de perte non autorisée, ainsi que de destruction illicite ou accidentelle. Nous nous engageons à assurer la protection des données chiffrées, tant au repos qu'en transit, et nous nous engageons à leur conservation ou suppression en conformité avec notre politique ou toute entente prévalant avec un établissement d'enseignement."}),l.jsx("p",{children:"Boîte Pac ne divulgue pas de manière informelle les données couvertes par la présente politique à ses employés. Seuls les employés qui ont besoin des données protégées pour exécuter leurs fonctions y ont accès. Dans ces cas, le principe de l'accès minimal est appliqué, ce qui signifie que chaque programme ou employé se voit accorder le moins d'accès possible nécessaire à l'exécution de ses tâches. Les employés qui ont accès aux données protégées sont formés sur leurs responsabilités concernant le traitement de ces données ainsi que sur les différentes lois et ententes liées à la sécurité des données."}),l.jsx("p",{children:"Bien que Boîte Pac s'engage à mettre en œuvre les meilleures pratiques en matière de sécurité de l'information et des données, nous ne pouvons pas garantir une sécurité totale, car les technologies des virus et des pirates informatiques évoluent constamment et il existe d'autres facteur
3252s de risque, tels que des défaillances matérielles ou logicielles imprévisibles. Par conséquent, Boîte Pac ne peut être tenue responsable de la perte ou de l'altération des données."}),l.jsxs("p",{children:["Si vous souhaitez en savoir plus sur nos mesures de sécurité ou obtenir une copie de notre politique de sécurité des données, veuillez nous contacter à",l.jsx("a",{href:"mailto:[email protected]",children:" [email protected]"}),"."]})]})}function gme(){return l.jsxs(l.Fragment,{children:[l.jsx("p",{children:'Boîte Pac ("Boîte Pac", "we", "our", "us") places great importance on respecting your privacy and protecting your personal information. This Privacy Policy (the "Policy") describes the personal information we may receive or collect from you, as well as how we use, disclose, retain and secure it, so that you can make informed and thoughtful choices.'}),l.jsx("p",{className:"text-sm text-white/60",children:"Last updated: June 23, 2026."}),l.jsx("p",{children:"This Policy applies to our boitepac.com website as well as to our customer relationship manager, Pipedrive. Please note, however, that the rights and obligations described in this Policy do not cover third-party platforms that may be mentioned on the Platform. Those third-party platforms have their own privacy policies, which we encourage you to read carefully."}),l.jsx("h2",{children:"1. What is personal information?"}),l.jsx("p",{children:'For the purposes of this Policy, "personal information" means any information concerning a natural person that allows them to be identified, or that, taken alone or combined with other information, allows them to be identified.'}),l.jsx("h2",{children:"2. How do we collect your personal information?"}),l.jsx("h3",{children:"With your consent"}),l.jsx("p",{children:"Generally speaking, we obtain the personal information we need directly from you, with your consent, in accordance with Quebec's Act 25 modernizing legislative provisions relating to the protection of personal information, and subject to any applicable legal or regulatory exceptions. For example, Boîte Pac may have to proceed without your consent when, for reasons of fraud detection or prevention, requesting your consent would defeat the intended purpose."}),l.jsx("p",{children:"Boîte Pac mainly collects your personal information directly from you, particularly when you communicate with us or use our services. Your personal information may also be collected through cookies, from publicly available records or from third parties, to the extent permitted by applicable law or if we have obtained the necessary consent."}),l.jsx("h3",{children:"Refusing collection and withdrawing your consent"}),l.jsx("p",{children:"You have the right, if you wish, to refuse the collection, use and disclosure of your personal information. You may also withdraw your consent to the use of the personal information in our possession at any time, subject to reasonable notice and applicable legal or contractual restrictions, by contacting us. However, please note that if you decide not to provide us with your personal information, this may prevent you from accessing some of our services."}),l.jsx("p",{children:"We also want to inform you that anonymized information, which does not make it possible to identify you, may continue to be used despite the withdrawal of your consent."}),l.jsx("h3",{children:"Secondary use"}),l.jsx("p",{children:"Depending on the circumstances, Boîte Pac may also seek your consent to use your personal information for secondary purposes, such as conducting market research or enriching its databases. Your consent to a secondary use may be withdrawn at any time by contacting us, without affecting the delivery of our services."}),l.jsx("h2",{children:"3. What personal information do we collect?"}),l.jsx("p",{children:"As part of our activities and the delivery of our services, the personal information collected may include, without limitation:"}),l.jsxs("ul",{children:[l.jsx("li",{children:"your contact details (for example: your name, email address, employer or phone number), for identification and correspondence purposes;"}),l.jsx("li",{children:"your communication preferences;"}),l.jsx("li",{children:"your comments or responses to surveys, where applicable;"}),l.jsx("li",{children:"any other personal information you have provided to us."})]}),l.jsx("p",{children:'Boîte Pac also collects information related to the use of its website, including technical information about your visits and any other information collected through cookies or other similar tools. For more information on this topic, please refer to the "Cookies and other similar tools" section.'}),l.jsx("p",{children:"Boîte Pac DOES NOT collect the following data:"}),l.jsx("ul",{children:l.jsx("li",{children:"physiological biometric data."})}),l.jsx("h2",{children:"4. Why do we collect and use your personal information?"}),l.jsx("p",{children:"Boîte Pac only collects and uses the information necessary to fulfill its obligations and to deliver and improve its services. The personal information collected by or on behalf of Boîte Pac is used for the following purposes:"}),l.jsxs("ul",{children:[l.jsx("li",{children:"to communicate with you and support you in the delivery of our services;"}),l.jsx("li",{children:"to provide and maintain the requested services;"}),l.jsx("li",{children:"for research and development purposes, statistics and to improve the use of our website and your customer experience. In other words, we want to make sure you enjoy your digital experience and that our services meet your needs;"}),l.jsx("li",{children:"to respond to your information requests. In other words, if you need help, we'll do our best to get back to you;"}),l.jsx("li",{children:"to inform you of our new offers and to send you any other commercial information, if you consent or if the law authorizes us to do so;"}),l.jsx("li",{children:"as permitted or required, for any applicable legal or regulatory obligation or provision;"}),l.jsx("li",{children:"for any other purpose to which you have consented."})]}),l.jsx("h3",{children:"Through automated processes"}),l.jsx("p",{children:"When you use our website, we obtain certain information through automated processes, such as the pages you have viewed. The information collected helps us better tailor our website to your needs in order to optimize its features and offer you the best possible experience. We collect this information by various means, including the use of cookies or other similar tools."}),l.jsx("h2",{children:"5. Cookies and other similar tools"}),l.jsx("p",{children:"As mentioned in the previous sections, we may use various tools to improve your experience on our website and to better understand the behavior of our clientele, particularly in connection with our marketing strategies. The following section is intended to provide you with more information about how we use these tools and, where applicable, carry out profiling."}),l.jsx("h3",{children:"Cookies and invisible pixels"}),l.jsx("p",{children:'We may use cookies and invisible pixels. Generally, cookies are small data files commonly stored on your device when using websites and online services. Invisible pixels, sometimes called "spy pixels", are tiny images that may be placed on web pages or in emails. They may be used, for example, to anonymously track the number of times a given page has been visited by a user or to confirm that an email has been read. As their name suggests, pixels are invisible, and any part of our website, including the ads that may appear there, may contain invisible pixels. Unlike cookies, invisible pixels are not placed on your device. In this Policy, we collectively refer to cookies and invisible pixels as "cookies".'}),l.jsx("h3",{children:"The cookies we use"}),l.jsx("p",{children:"Boîte Pac may use different types of cookies. As described below, some of these cookies are strictly necessary for the proper functioning of the website, while others will be used, with your consent, for functional, performance, targeting or social media sharing purposes:"}),l.jsxs("ul",{children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Strictly necessary cookies."})," We use strictly necessary cookies to allow the proper functioning of our Platform, our security measures and those of third parties. Without these cookies, the services you have requested cannot be provided."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Functional cookies"}),' (also called "preference cookies"). These cookies are not essential to the delivery of our services. If you have consented to their use, these cookies help personalize and improve the user experience. For example, they retain your communication and language preferences.']}),l.jsxs("li",{children:[l.jsx("strong",{children:"Advertising cookies."}
3252)," These cookies are not essential to the delivery of our services. If you have consented, we use advertising cookies to present you with relevant advertising content, particularly on social media. In addition, our partners may use these cookies to determine whether our advertisements have been shown to you and, if so, whether you have interacted with them. In such cases, our partners share data with us, including statistics about the performance of our ads."]})]}),l.jsx("h3",{children:"Analytics tools"}),l.jsx("p",{children:'With your consent, Boîte Pac uses analytics tools to study the browsing behavior of visitors to its Platform. Among other tools, we use Google Analytics, provided by Google LLC ("Google"), to collect information about how you navigate our website, as well as demographic and interest data.'}),l.jsx("h3",{children:"Targeted advertising"}),l.jsx("p",{children:"Boîte Pac also works with third-party advertising companies such as Google Ads that collect and use information about your visits to our Platform to present you with advertisements that may interest you. Boîte Pac does not provide any information that allows these advertising companies to identify you."}),l.jsx("h3",{children:"Disabling cookies"}),l.jsx("p",{children:"Except for strictly necessary cookies, we will only place cookies on your device with your consent, and they will be kept for a maximum period of thirteen months from the time they are placed on your device. After this period, your consent will be required again."}),l.jsx("p",{children:"You can also manage your cookie settings at any time by changing your browser or mobile device settings. If you choose to refuse cookies, some pages or sections of our website may not display correctly, or some features may not be available."}),l.jsx("h2",{children:"6. How do we disclose your personal information?"}),l.jsx("p",{children:"As part of our activities, we sometimes need to disclose your personal information to various parties. We strive, however, to only disclose it as described below:"}),l.jsxs("ul",{children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Our employees."})," As part of their work, our employees may need to access your personal information, for example when you contact us for information about our services. Their access is limited to what is necessary for the performance of their duties."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Our agents and service providers."})," We may sometimes share your personal information with third-party agents or service providers that help us deliver our services (for example: analytics, legal requirements, fraud detection and marketing)."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"When required by applicable law"}),", to enforce rules or to protect the property or security of our rights or those of others. For example, we may disclose personal information to legal or regulatory authorities if we suspect money laundering, insider trading, deceptive business practices or other criminal activities, to detect and prevent fraud, or to comply with the requirements of the law or of governmental bodies, regulatory agencies or other self-regulatory bodies."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Business transfer."})," In the course of developing our business, we may be led to sell or buy businesses or services. In such transactions, personal information is generally part of the business assets transferred, but remains subject to the commitments made in any existing privacy policy."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"On an anonymized basis."})," Anonymized personal information may be shared with third parties. For example, we may anonymize personal information to establish trends or statistics."]})]}),l.jsx("h2",{children:"7. Do we transfer your personal information outside Quebec?"}),l.jsx("p",{children:"The personal information we collect is stored in secure systems hosted on servers that may be located outside Quebec, particularly in Canada and the United States. We also use the services of agents and service providers that may be located outside Quebec."}),l.jsx("p",{children:"However, we strive to protect the personal information in our possession, including that entrusted to an agent or service provider, whether located in Canada, the United States or in other jurisdictions or countries. In particular, we strive to limit their access to the personal information necessary to perform the tasks entrusted to them and to enter into contractual agreements with these agents and providers to ensure the confidentiality and security of your personal information."}),l.jsx("h2",{children:"8. How long do we keep your personal information?"}),l.jsx("p",{children:"Your personal information will be kept for as long as necessary to achieve the determined purposes or to comply with the requirements of any applicable law regarding retention periods. The retention period for your personal information will therefore vary depending on the purpose of its use. At the end of this period, we will strive to destroy or anonymize this information."}),l.jsx("h3",{children:"8.1 How can I access or delete my data?"}),l.jsx("p",{children:"You may at any time request access to a copy of the data that Boîte Pac holds about you. You may also request that all the data we hold about you be deleted. In either case, simply contact us at [email protected]."}),l.jsx("h2",{children:"9. How do we protect your personal information?"}),l.jsx("p",{children:"We strive to implement the necessary and appropriate security measures to ensure the confidentiality of the personal information in our possession. To this end, we follow industry-accepted standards, particularly with regard to encryption, firewalls and security protocols. The personal information we hold is therefore only accessible to authorized persons and only when necessary for the performance of their duties."}),l.jsx("p",{children:"Appropriate physical, technical and administrative safeguards and security measures have been implemented and are maintained up to date to minimize the risk of security incidents. If you believe the security of your personal information has been compromised, please contact us."}),l.jsx("h2",{children:"10. What are your rights?"}),l.jsx("p",{children:"Under applicable law, including Quebec's Act 25, you may have certain rights, including:"}),l.jsxs("ul",{children:[l.jsx("li",{children:"the protection of the confidentiality of your personal information;"}),l.jsx("li",{children:"access to your personal information;"}),l.jsx("li",{children:"the rectification of your personal information if it is incomplete, inaccurate or ambiguous, or if its collection, disclosure or retention is not authorized by applicable law;"}),l.jsx("li",{children:"the portability of your personal information, to the extent provided by law;"}),l.jsx("li",{children:"the removal of your email address from our newsletter mailing list, where applicable;"}),l.jsx("li",{children:"the withdrawal of your consent to the disclosure, use and disclosure of your personal information, where applicable;"}),l.jsx("li",{children:"the right to file a complaint with the Commission d'accès à l'information du Québec if you believe we are not complying with applicable law."})]}),l.jsx("h2",{children:"11. Changes and updates to the policy"}),l.jsx("p",{children:"Boîte Pac reserves the right to modify this document at any time and for any reason, in which case the most recent version of the Policy will be posted on the website. It is y
3252our responsibility to comply with the posted updates to the Policy, where applicable. Your continued use of the website after the publication of the modified version of the Policy indicates your full and complete acceptance of it."}),l.jsx("h2",{children:"12. How to contact us?"}),l.jsx("p",{children:"Boîte Pac has established procedures for receiving complaints and requests regarding its personal information management policies and practices. We will inform individuals who submit a request or file a complaint of the existence of the relevant procedures."}),l.jsx("p",{children:"Boîte Pac will strive to investigate all complaints submitted to it. If a complaint is found to be well-founded, we will take appropriate measures, including, if necessary, modifying our policies and practices."}),l.jsxs("p",{children:["Please feel free to contact us with any questions, requests for information, comments or complaints regarding your personal information, at",l.jsx("a",{href:"mailto:[email protected]",children:" [email protected]"})," or at 514 588-1357."]}),l.jsx("h2",{children:"13. Privacy officer"}),l.jsx("p",{children:"Boîte Pac is responsible for protecting any personal information in its care. It has designated a person responsible for the protection of personal information to ensure the organization's compliance with this policy and the principles underlying it. To ensure the proper and consistent handling of any request under this policy, all access and rectification requests must be submitted in writing to the privacy officer, namely:"}),l.jsxs("p",{children:[l.jsx("strong",{children:"Thomas Ferland-Dionne"}),l.jsx("br",{}),"Co-founder, B Corp Consultant",l.jsx("br",{}),"Email: ",l.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"})]}),l.jsx("h2",{children:"14. Security policy"}),l.jsx("p",{children:"Boîte Pac uses industry-standard measures to ensure the confidentiality, security and integrity of its clients' data against any form of unauthorized use, access, disclosure, alteration, loss, or unlawful or accidental destruction. We are committed to ensuring the protection of encrypted data, both at rest and in transit, and to retaining or deleting it in accordance with our policy or any prevailing agreement with an educational institution."}),l.jsx("p",{children:"Boîte Pac does not informally disclose the data covered by this policy to its employees. Only employees who need the protected data to perform their duties have access to it. In such cases, the principle of minimum access is applied, which means that each program or employee is granted the least access possible necessary to perform their tasks. Employees with access to protected data are trained on their responsibilities for handling such data as well as on the various laws and agreements related to data security."}),l.jsx("p",{children:"Although Boîte Pac is committed to implementing best practices in information and data security, we cannot guarantee complete security, as virus and hacker technologies are constantly evolving and there are other risk factors, such as unforeseen hardware or software failures. As a result, Boîte Pac cannot be held responsible for the loss or alteration of data."}),l.jsxs("p",{children:["If you would like to know more about our security measures or obtain a copy of our data security policy, please contact us at",l.jsx("a",{href:"mailto:[email protected]",children:" [email protected]"}),"."]})]})}const vme="https://dwffttvrnuljxioernpr.supabase.co",yme="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImR3ZmZ0dHZybnVsanhpb2VybnByIiwicm9sZSI6ImFub24iLCJpYXQiOjE3ODE2MTUyNDIsImV4cCI6MjA5NzE5MTI0Mn0.bjQMd1jJNuhorcgxCMoMtODo2mURIkIVZF1ydVuMkps";function bme(){const[e]=zE(),t=e.get("token")??"",[n,r]=y.useState("loading"),[i,s]=y.useState("");y.useEffect(()=>{if(!t){r("invalid");return}(async()=>{try{const a=await fetch(`${vme}/functions/v1/handle-email-unsubscribe?token=${encodeURIComponent(t)}`,{headers:{apikey:yme}}),c=await a.json().catch(()=>({}));if(!a.ok){r("invalid");return}if(c.alreadyUnsubscribed){r("already"),s(c.email??"");return}s(c.email??""),r("valid")}catch{r("invalid")}})()},[t]);async function o(){r("submitting");const{data:a,error:c}=await En.functions.invoke("handle-email-unsubscribe",{body:{token:t}});if(c||a!=null&&a.error){r("error");return}r("done")}return l.jsx(ht,{children:l.jsx("section",{className:"bg-background pt-32 pb-20 md:pt-40 md:pb-28",children:l.jsxs("div",{className:"section max-w-xl",children:[l.jsx("span",{className:"pill",children:"Désabonnement"}),l.jsx("h1",{className:"mt-6 font-display text-4xl font-medium leading-[1.05] tracking-[-0.02em] md:text-5xl",children:"Gérer vos courriels"}),n==="loading"&&l.jsx("p",{className:"mt-6 text-muted-foreground",children:"Vérification du lien…"}),n==="valid"&&l.jsxs(l.Fragment,{children:[l.jsxs("p",{className:"mt-6 text-foreground
3252/80",children:["Vous êtes sur le point de désabonner ",l.jsx("span",{className:"font-semibold",children:i})," de nos communications. Vous pouvez vous réabonner en tout temps en nous écrivant à [email protected]."]}),l.jsx(tt,{onClick:o,variant:"accent",size:"lg",className:"mt-8",children:"Confirmer le désabonnement"})]}),n==="submitting"&&l.jsx("p",{className:"mt-6 text-muted-foreground",children:"Enregistrement…"}),n==="done"&&l.jsxs("p",{className:"mt-6 text-foreground/80",children:["C'est fait. ",l.jsx("span",{className:"font-semibold",children:i})," ne recevra plus nos courriels."]}),n==="already"&&l.jsxs("p",{className:"mt-6 text-foreground/80",children:[l.jsx("span",{className:"font-semibold",children:i})," est déjà désabonné. Aucun courriel ne vous sera envoyé."]}),n==="invalid"&&l.jsx("p",{className:"mt-6 text-foreground/80",children:"Ce lien de désabonnement est invalide ou a expiré. Écrivez-nous à [email protected] et nous prendrons soin de vous retirer manuellement."}),n==="error"&&l.jsx("p",{className:"mt-6 text-destructive",children:"Une erreur est survenue. Merci de réessayer dans quelques instants."})]})})})}const Jy=y.forwardRef(({className:e,type:t,...n},r)=>l.jsx("input",{type:t,className:K("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));Jy.displayName="Input";var xme="Label",qL=y.forwardRef((e,t)=>l.jsx(ve.label,{...e,ref:t,onMouseDown:n=>{var i;n.target.closest("button, input, select, textarea")||((i=e.onMouseDown)==null||i.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));qL.displayName=xme;var IL=qL;const wme=tu("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Yy=y.forwardRef(({className:e,...t},n)=>l.jsx(IL,{ref:n,className:K(wme(),e),...t}));Yy.displayName=IL.displayName;const Ri=y.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:K("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));Ri.displayName="Card";const qi=y.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:K("flex flex-col space-y-1.5 p-6",e),...t}));qi.displayName="CardHeader";const Ii=y.forwardRef(({className:e,...t},n)=>l.jsx("h3",{ref:n,className:K("text-2xl font-semibold leading-none tracking-tight",e),...t}));Ii.displayName="CardTitle";const LL=y.forwardRef(({className:e,...t},n)=>l.jsx("p",{ref:n,className:K("text-sm text-muted-foreground",e),...t}));LL.displayName="CardDescription";const Li=y.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:K("p-6 pt-0",e),...t}));Li.displayName="CardContent";const kme=y.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:K("flex items-center p-6 pt-0",e),...t}));kme.displayName="CardFooter";function Cme(){const{toast:e}=Eh(),t=fo(),[n,r]=y.useState(""),[i,s]=y.useState(""),[o,a]=y.useState(!1);y.useEffect(()=>{document.title="Connexion admin | Boîte Pac",En.auth.getSession().then(({data:u})=>{u.session&&t("/admin",{replace:!0})})},[t]);async function c(u){u.preventDefault(),a(!0);const{error:p}=await En.auth.signInWithPassword({email:n,password:i});if(a(!1),p){e({title:"Connexion impossible",description:p.message,variant:"destructive"});return}t("/admin",{replace:!0})}return l.jsx(ht,{children:l.jsx("div",{className:"container max-w-md py-16",children:l.jsxs(Ri,{children:[l.jsxs(qi,{children:[l.jsx(Ii,{children:"Espace administrateur"}),l.jsx(LL,{children:"Connectez-vous pour gérer les inscriptions."})]}),l.jsx(Li,{children:l.jsxs("form",{onSubmit:c,className:"space-y-4",children:[l.jsxs("div",{children:[l.jsx(Yy,{htmlFor:"email",children:"Courriel"}),l.jsx(Jy,{id:"email",type:"email",value:n,onChange:u=>r(u.target.value),required:!0})]}),l.jsxs("div",{children:[l.jsx(Yy,{htmlFor:"password",children:"Mot de passe"}),l.jsx(Jy,{id:"password",type:"password",value:i,onChange:u=>s(u.target.value),required:!0})]}),l.jsx(tt,{type:"submit",className:"w-full",disabled:o,children:o?"Connexion…":"Se connecter"})]})})]})})})}const jme=tu("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function J2({className:e,variant:t,...n}){return l.jsx("div",{className:K(jme({variant:t}),e),...n})}const Qy=y.forwardRef(({className:e,...t},n)=>l.jsx("div",{className:"relative w-full overflow-auto",children:l.jsx("table",{ref:n,className:K("w-full caption-bottom text-sm",e),...t})}));Qy.displayName="Table";const Xy=y.forwardRef(({className:e,...t},n)=>l.jsx("thead",{ref:n,className:K("[&_tr]:border-b",e),...t}));Xy.displayName="TableHeader";const Zy=y.forwardRef(({className:e,...t},n)=>l.jsx("tbody",{ref:n,className:K("[&_tr:last-child]:border-0",e),...t}));Zy.displayName="TableBody";const Sme=y.forwardRef(({className:e,...t},n)=>l.jsx("tfoot",{ref:n,className:K("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...t}));Sme.displayName="TableFooter";const Bo=y.forwardRef(({className:e,...t},n)=>l.jsx("tr",{ref:n,className:K("border-b transition-colors data-[state=selected]:bg-muted hover:bg-muted/50",e),...t}));Bo.displayName="TableRow";const wn=y.forwardRef(({className:e,...t},n)=>l.jsx("th",{ref:n,className:K("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...t}));wn.displayName="TableHead";const on=y.forwardRef(({className:e,...t},n)=>l.jsx("td",{ref:n,className:K("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...t}));on.displayName="TableCell";const _me=y.forwardRef(({className:e,...t},n)=>l.jsx("caption",{ref:n,className:K("mt-4 text-sm text-muted-foreground",e),...t}));_me.displayName="TableCaption";function Eme(){Eh();const e=fo(),[t,n]=y.useState(null),[r,i]=y.useState([]),[s,o]=y.useState([]);y.useEffect(()=>{document.title="Tableau de bord admin | Boîte Pac",(async()=>{const{data:{session:d}}=await En.auth.getSession();if(!d){e("/admin/login",{replace:!0});return}const{data:h}=await En.from("user_roles").select("role").eq("user_id",d.user.id),f=(h??[]).some(x=>x.role==="admin");if(n(f),!f)return;const[{data:m},{data:g}]=await Promise.all([En.from("inscriptions").select("*, cohortes(nom)").order("created_at",{ascending:!1}),En.from("cohortes").select("id, nom, places_totales, places_vendues, statut").order("date_debut")]);i(m??[]),o(g??[])})()},[e]);async function a(){await En.auth.signOut(),e("/admin/login")}function c(){const d=["Date","Nom","Courriel","Téléphone","Entreprise","Poste","Cohorte","Statut","Montant ($)"],h=r.map(v=>{var b;
3252return[new Date(v.created_at).toLocaleString("fr-CA"),v.nom_complet,v.courriel,v.telephone,v.entreprise,v.poste,((b=v.cohortes)==null?void 0:b.nom)??"",v.statut_paiement,v.montant_paye_cents?(v.montant_paye_cents/100).toFixed(2):""]}),f=[d,...h].map(v=>v.map(b=>`"${String(b).replace(/"/g,'""')}"`).join(",")).join(`
3253`),m=new Blob(["\uFEFF"+f],{type:"text/csv;charset=utf-8;"}),g=URL.createObjectURL(m),x=document.createElement("a");x.href=g,x.download=`inscriptions-${new Date().toISOString().slice(0,10)}.csv`,x.click(),URL.revokeObjectURL(g)}if(t===null)return l.jsx(ht,{children:l.jsx("div",{className:"container py-16",children:"Chargement…"})});if(!t)return l.jsx(ht,{children:l.jsx("div",{className:"container py-16 max-w-lg",children:l.jsxs(Ri,{children:[l.jsx(qi,{children:l.jsx(Ii,{children:"Accès refusé"})}),l.jsxs(Li,{children:[l.jsx("p",{className:"mb-4",children:"Votre compte n'a pas les droits administrateur."}),l.jsx(tt,{onClick:a,children:"Se déconnecter"})]})]})})});const u=r.filter(d=>d.statut_paiement==="paid"),p=u.reduce((d,h)=>d+(h.montant_paye_cents??0),0)/100;return l.jsx(ht,{children:l.jsxs("div",{className:"container py-10 space-y-8",children:[l.jsxs("div",{className:"flex justify-between items-center flex-wrap gap-4",children:[l.jsx("h1",{className:"text-3xl font-bold",children:"Tableau de bord"}),l.jsxs("div",{className:"flex gap-2",children:[l.jsx(tt,{variant:"outline",onClick:c,children:"Exporter CSV"}),l.jsx(tt,{variant:"ghost",onClick:a,children:"Se déconnecter"})]})]}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-4",children:[l.jsxs(Ri,{children:[l.jsx(qi,{children:l.jsx(Ii,{className:"text-sm font-medium text-muted-foreground",children:"Inscriptions payées"})}),l.jsx(Li,{children:l.jsx("div",{className:"text-3xl font-bold",children:u.length})})]}),l.jsxs(Ri,{children:[l.jsx(qi,{children:l.jsx(Ii,{className:"text-sm font-medium text-muted-foreground",children:"En attente"})}),l.jsx(Li,{children:l.jsx("div",{className:"text-3xl font-bold",children:r.length-u.length})})]}),l.jsxs(Ri,{children:[l.jsx(qi,{children:l.jsx(Ii,{className:"text-sm font-medium text-muted-foreground",children:"Revenu encaissé"})}),l.jsx(Li,{children:l.jsx("div",{className:"text-3xl font-bold",children:p.toLocaleString("fr-CA",{style:"currency",currency:"CAD"})})})]})]}),l.jsxs(Ri,{children:[l.jsx(qi,{children:l.jsx(Ii,{children:"Cohortes"})}),l.jsx(Li,{children:l.jsxs(Qy,{children:[l.jsx(Xy,{children:l.jsxs(Bo,{children:[l.jsx(wn,{children:"Nom"}),l.jsx(wn,{children:"Places"}),l.jsx(wn,{children:"Statut"})]})}),l.jsx(Zy,{children:s.map(d=>l.jsxs(Bo,{children:[l.jsx(on,{className:"font-medium",children:d.nom}),l.jsxs(on,{children:[d.places_vendues," / ",d.places_totales]}),l.jsx(on,{children:l.jsx(J2,{variant:d.statut==="ouverte"?"default":"secondary",children:d.statut})})]},d.id))})]})})]}),l.jsxs(Ri,{children:[l.jsx(qi,{children:l.jsxs(Ii,{children:["Inscriptions (",r.length,")"]})}),l.jsx(Li,{className:"overflow-x-auto",children:l.jsxs(Qy,{children:[l.jsx(Xy,{children:l.jsxs(Bo,{children:[l.jsx(wn,{children:"Date"}),l.jsx(wn,{children:"Nom"}),l.jsx(wn,{children:"Courriel"}),l.jsx(wn,{children:"Téléphone"}),l.jsx(wn,{children:"Entreprise"}),l.jsx(wn,{children:"Poste"}),l.jsx(wn,{children:"Statut"}),l.jsx(wn,{children:"Montant"})]})}),l.jsxs(Zy,{children:[r.map(d=>l.jsxs(Bo,{children:[l.jsx(on,{className:"text-xs",children:new Date(d.created_at).toLocaleString("fr-CA")}),l.jsx(on,{className:"font-medium",children:d.nom_complet}),l.jsx(on,{children:l.jsx("a",{className:"underline",href:`mailto:${d.courriel}`,children:d.courriel})}),l.jsx(on,{children:d.telephone}),l.jsx(on,{children:d.entreprise}),l.jsx(on,{children:d.poste}),l.jsx(on,{children:l.jsx(J2,{variant:d.statut_paiement==="paid"?"default":d.statut_paiement==="failed"?"destructive":"secondary",children:d.statut_paiement})}),l.jsx(on,{children:d.montant_paye_cents?(d.montant_paye_cents/100).toLocaleString("fr-CA",{style:"currency",currency:"CAD"}):"—"})]},d.id)),r.length===0&&l.jsx(Bo,{children:l.jsx(on,{colSpan:8,className:"text-center text-muted-foreground py-8",children:"Aucune inscription pour l'instant."})})]})]})})]})]})})}const Tme=new cD,Pme=()=>l.jsx(dD,{client:Tme,children:l.jsxs(aP,{children:[l.jsx(W6,{}),l.jsx(U3,{}),l.jsx(l3,{children:l.jsx(I7,{children:l.jsxs(O7,{children:[l.jsx(x8,{}),l.jsx(IU,{}),l.jsxs(e3,{children:[l.jsx(Y,{path:"/",element:l.jsx(JC,{})}),l.jsx(Y,{path:"/expertise/leadership-organisationnel",element:l.jsx(Zu,{})}),l.jsx(Y,{path:"/expertise/leadership-organisationnel/*",element:l.jsx(Zu,{})}),l.jsx(Y,{path:"/expertise/accompagnement-certification-b-corp",element:l.jsx(ed,{})}),l.jsx(Y,{path:"/expertise/accompagnement-certification-b-corp/*",element:l.jsx(ed,{})}),l.jsx(Y,{path:"/nos-ateliers",element:l.jsx(Dj,{})}),l.jsx(Y,{path:"/ateliers/:slug",element:l.jsx(Mj,{})}),l.jsx(Y,{path:"/services/:slug",element:l.jsx(Jj,{})}),l.jsx(Y,{path:"/a-propos",element:l.jsx(XC,{})}),l.jsx(Y,{path:"/equipe",element:l.jsx(we,{to:"/a-propos#equipe",replace:!0})}),l.jsx(Y,{path:"/equipe/:slug",element:l.jsx(ZC,{})}),l.jsx(Y,{path:"/etudes-de-cas",element:l.jsx(Bj,{})}),l.jsx(Y,{path:"/contact",element:l.jsx(qj,{})}),l.jsx(Y,{path:"/blog",element:l.jsx(Yj,{})}),l.jsx(Y,{path:"/blog/:slug",element:l.jsx(H2,{})}),l.jsx(Y,{path:"/post/:slug",element:l.jsx(fme,{})}),l.jsx(Y,{path:"/post",element:l.jsx(we,{to:"/blog",replace:!0})}),l.jsx(Y,{path:"/inscription/cohorte-leadership-signature",element:l.jsx(we,{to:"/services/parcours-leadership-en-groupe",replace:!0})}),l.jsx(Y,{path:"/inscription/confirmation",element:l.jsx(G2,{})}),l.jsx(Y,{path:"/politique-de-confidentialite",element:l.jsx(K2,{})}),l.jsx(Y,{path:"/en",element:l.jsx(JC,{})}),l.jsx(Y,{path:"/en/expertise/organizational-leadership",element:l.jsx(Zu,{})}),l.jsx(Y,{path:"/en/expertise/organizational-leadership/*",element:l.jsx(Zu,{})}),l.jsx(Y,{path:"/en/expertise/b-corp-certification",element:l.jsx(ed,{})}),l.jsx(Y,{path:"/en/expertise/b-corp-certification/*",element:l.jsx(ed,{})}),l.jsx(Y,{path:"/en/our-workshops",element:l.jsx(Dj,{})}),l.jsx(Y,{path:"/en/workshops/:slug",element:l.jsx(Mj,{})}),l.jsx(Y,{path:"/en/services/:slug",element:l.jsx(Jj,{})}),l.jsx(Y,{path:"/en/about",element:l.jsx(XC,{})}),l.jsx(Y,{path:"/en/team",element:l.jsx(we,{to:"/en/about#equipe",replace:!0})}),l.jsx(Y,{path:"/en/team/:slug",element:l.jsx(ZC,{})}),l.jsx(Y,{path:"/en/case-studies",element:l.jsx(Bj,{})}),l.jsx(Y,{path:"/en/contact",element:l.jsx(qj,{})}),l.jsx(Y,{path:"/en/blog",element:l.jsx(Yj,{})}),l.jsx(Y,{path:"/en/blog/:slug",element:l.jsx(H2,{})}),l.jsx(Y,{path:"/en/registration/confirmation",element:l.jsx(G2,{})}),l.jsx(Y,{path:"/en/privacy-policy",element:l.jsx(K2,{})}),l.jsx(Y,{path:"/unsubscribe",element:l.jsx(bme,{})}),l.jsx(Y,{path:"/admin/login",element:l.jsx(Cme,{})}),l.jsx(Y,{path:"/admin",element:l.jsx(Eme,{})}),l.jsx(Y,{path:"/nos-evenements",element:l.jsx(we,{to:"/nos-ateliers",replace:!0})}),l.jsx(Y,{path:"/evenements",element:l.jsx(we,{to:"/nos-ateliers",replace:!0})}),l.jsx(Y,{path:"/cohorte-b-corp",element:l.jsx(we,{to:"/expertise/accompagnement-certification-b-corp",replace:!0})}),l.jsx(Y,{path:"/cohorte-bcorp",element:l.jsx(we,{to:"/expertise/accompagnement-certification-b-corp",replace:!0})}),l.jsx(Y,{path:"/b-corp",element:l.jsx(we,{to:"/expertise/accompagnement-certification-b-corp",replace:!0})}),l.jsx(Y,{path:"/certification-b-corp",element:l.jsx(we,{to:"/expertise/accompagnement-certification-b-corp",replace:!0})}),l.jsx(Y,{path:"/services",element:l.jsx(we,{to:"/",replace:!0})}),l.jsx(Y,{path:"/nos-services",element:l.jsx(we,{to:"/",replace:!0})}),l.jsx(Y,{path:"/leadership",element:l.jsx(we,{to:"/expertise/leadership-organisationnel",replace:!0})}),l.jsx(Y,{path:"/impact",element:l.jsx(we,{to:"/expertise/accompagnement-certification-b-corp",replace:!0})}),l.jsx(Y,{path:"/ateliers",element:l.jsx(we,{to:"/nos-ateliers",replace:!0})}),l.jsx(Y,{path:"/atelier-à-la-carte",element:l.jsx(we,{to:"/nos-ateliers",replace:!0})}),l.jsx(Y,{path:"/atelier-a-la-carte",element:l.jsx(we,{to:"/nos-ateliers",replace:!0})}),l.jsx(Y,{path:"/ateliers-a-la-carte",element:l.jsx(we,{to:"/nos-ateliers",replace:!0})}),l.jsx(Y,{path:"/ateliers-à-la-carte",element:l.jsx(we,{to:"/nos-ateliers",replace:!0})}),l.jsx(Y,{path:"/blog/avoir-de-limpact-ca-veut-divider-quoi",element:l.jsx(we,{to:"/blog/avoir-de-limpact-ca-veut-dire-quoi",replace:!0})}),l.jsx(Y,{path:"/expertise/leadership-organisationnel/parcours-leadership-en-groupe",element:l.jsx(we,{to:"/services/parcours-leadership-en-groupe",replace:!0})}),l.jsx(Y,{path:"/en/events",element:l.jsx(we,{to:"/en/our-workshops",replace:!0})}),l.jsx(Y,{path:"/en/our-events",element:l.jsx(we,{to:"/en/our-workshops",replace:!0})}),l.jsx(Y,{path:"/en/b-corp",element:l.jsx(we,{to:"/en/expertise/b-corp-certification",replace:!0})}),l.jsx(Y,{path:"/en/b-corp-cohort",element:l.jsx(we,{to:"/en/expertise/b-corp-certification",replace:!0})}),l.jsx(Y,{path:"/en/services",element:l.jsx(we,{to:"/en",replace:!0})}),l.jsx(Y,{path:"/en/leadership",element:l.jsx(we,{to:"/en/expertise/organizational-leadership",replace:!0})}),l.jsx(Y,{path:"/en/impact",element:l.jsx(we,{to:"/en/expertise/b-corp-certification",replace:!0})}),l.jsx(Y,{path:"/en/workshops",element:l.jsx(we,{to:"/en/our-workshops",replace:!0})}),l.jsx(Y,{path:"/en/blog/avoir-de-limpact-ca-veut-divider-quoi",element:l.jsx(we,{to:"/en/blog/avoir-de-limpact-ca-veut-dire-quoi",replace:!0})}),l.jsx(Y,{path:"/en/expertise/organizational-leadership/parcours-leadership-en-groupe",element:l.jsx(we,{to:"/en/services/parcours-leadership-en-groupe",replace:!0})}),l.jsx(Y,{path:"*",element:l.jsx(RZ,{})})]}),l.jsx(j8,{})]})})})]})}),Ame={expertise:"Expertise",workshops:"Nos ateliers",about:"À propos",contact:"Contactez-nous"},Nme={fr:"FR",en:"EN"},Rme={nav:Ame,lang:Nme},qme={expertise:"Expertise",workshops:"Our workshops",about:"About",contact:"Contact us"},Ime={fr:"FR",en:"EN"},Lme={nav:qme,lang:Ime},Y2="fr";Ut.use(d7).init({resources:{fr:{common:Rme},en:{common:Lme}},lng:Y2,fallbackLng:Y2,defaultNS:"common",interpolation:{escapeValue:!1},returnNull:!1});yE(document.getElementById("root")).render(l.jsx(SE,{children:l.jsx(Pme,{})}));

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.