![]() Server : Apache/2 System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : gositeme ( 1004) PHP Version : 8.2.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/gositeme/domains/lavocat.quebec/public_html/_next/static/chunks/ |
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8528],{4241:(e,t,n)=>{"use strict";n.d(t,{c:()=>g});var r,o="basil",c="https://js.stripe.com",i="".concat(c,"/").concat(o,"/stripe.js"),u=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,s=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,a=function(){for(var e=document.querySelectorAll('script[src^="'.concat(c,'"]')),t=0;t<e.length;t++){var n,r=e[t];if(n=r.src,u.test(n)||s.test(n))return r}return null},l=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(i).concat(t);var r=document.head||document.body;if(!r)throw Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(n),n},p=function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"7.9.0",startTime:t})},d=null,f=null,m=null,h=function(e,t,n){if(null===e)return null;var r,c=t[0].match(/^pk_test/),i=3===(r=e.version)?"v3":r;c&&i!==o&&console.warn("Stripe.js@".concat(i," was loaded on the page, but @stripe/stripe-js@").concat("7.9.0"," expected Stripe.js@").concat(o,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var u=e.apply(void 0,t);return p(u,n),u},v=!1,y=function(){return r?r:r=(null!==d?d:(d=new Promise(function(e,t){if("undefined"==typeof window||"undefined"==typeof document)return void e(null);if(window.Stripe,window.Stripe)return void e(window.Stripe);try{var n,r=a();r?r&&null!==m&&null!==f&&(r.removeEventListener("load",m),r.removeEventListener("error",f),null==(n=r.parentNode)||n.removeChild(r),r=l(null)):r=l(null),m=function(){window.Stripe?e(window.Stripe):t(Error("Stripe.js not available"))},f=function(e){t(Error("Failed to load Stripe.js",{cause:e}))},r.addEventListener("load",m),r.addEventListener("error",f)}catch(e){t(e);return}})).catch(function(e){return d=null,Promise.reject(e)})).catch(function(e){return r=null,Promise.reject(e)})};Promise.resolve().then(function(){return y()}).catch(function(e){v||console.warn(e)});var g=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];v=!0;var r=Date.now();return y().then(function(e){return h(e,t,r)})}},61902:function(e,t,n){(function(e,t){"use strict";function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},c=Object.keys(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r<c.length;r++)n=c[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=o){var c=[],i=!0,u=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(c.push(n.value),!t||c.length!==t);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(u)throw r}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a,l,p,d,f,m={exports:{}};m.exports=(function(){if(f)return d;f=1;var e=p?l:(p=1,l="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function t(){}function n(){}return n.resetWarningCache=t,d=function(){function r(t,n,r,o,c,i){if(i!==e){var u=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}}function o(){return r}r.isRequired=r;var c={array:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return c.PropTypes=c,c}})()();var h=(a=m.exports)&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a,v=function(e,n,r){var o=!!r,c=t.useRef(r);t.useEffect(function(){c.current=r},[r]),t.useEffect(function(){if(!o||!e)return function(){};var t=function(){c.current&&c.current.apply(c,arguments)};return e.on(n,t),function(){e.off(n,t)}},[o,n,e,c])},y=function(e){var n=t.useRef(e);return t.useEffect(function(){n.current=e},[e]),n.current},g=function(e){return null!==e&&"object"===o(e)},E="[object Object]",C=function e(t,n){if(!g(t)||!g(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var o=Object.prototype.toString.call(t)===E;if(o!==(Object.prototype.toString.call(n)===E))return!1;if(!o&&!r)return t===n;var c=Object.keys(t),i=Object.keys(n);if(c.length!==i.length)return!1;for(var u={},s=0;s<c.length;s+=1)u[c[s]]=!0;for(var a=0;a<i.length;a+=1)u[i[a]]=!0;var l=Object.keys(u);return l.length===c.length&&l.every(function(r){return e(t[r],n[r])})},b=function(e,t,n){return g(e)?Object.keys(e).reduce(function(o,i){var u=!g(t)||!C(e[i],t[i]);return n.includes(i)?(u&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),o):u?r(r({},o||{}),{},c({},i,e[i])):o},null):null},k="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.",S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:k;if(null===e||g(e)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment)return e;throw Error(t)},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:k;if(g(e)&&"function"==typeof e.then)return{tag:"async",stripePromise:Promise.resolve(e).then(function(e){return S(e,t)})};var n=S(e,t);return null===n?{tag:"empty"}:{tag:"sync",stripe:n}},j=function(e){e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"3.9.2"}),e.registerAppInfo({name:"react-stripe-js",version:"3.9.2",url:"https://stripe.com/docs/stripe-js/react"}))},P=t.createContext(null);P.displayName="ElementsContext";var O=function(e,t){if(!e)throw Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},x=function(e){var n=e.stripe,r=e.options,o=e.children,c=t.useMemo(function(){return w(n)},[n]),i=u(t.useState(function(){return{stripe:"sync"===c.tag?c.stripe:null,elements:"sync"===c.tag?c.stripe.elements(r):null}}),2),s=i[0],a=i[1];t.useEffect(function(){var e=!0,t=function(e){a(function(t){return t.stripe?t:{stripe:e,elements:e.elements(r)}})};return"async"!==c.tag||s.stripe?"sync"!==c.tag||s.stripe||t(c.stripe):c.stripePromise.then(function(n){n&&e&&t(n)}),function(){e=!1}},[c,s,r]);var l=y(n);t.useEffect(function(){null!==l&&l!==n&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[l,n]);var p=y(r);return t.useEffect(function(){if(s.elements){var e=b(r,p,["clientSecret","fonts"]);e&&s.elements.update(e)}},[r,p,s.elements]),t.useEffect(function(){j(s.stripe)},[s.stripe]),t.createElement(P.Provider,{value:s},o)};x.propTypes={stripe:h.any,options:h.object};var A=function(e){return O(t.useContext(P),e)},I=function(e){return(0,e.children)(A("mounts <ElementsConsumer>"))};I.propTypes={children:h.func.isRequired};var R=["on","session"],N=t.createContext(null);N.displayName="CheckoutSdkContext";var _=function(e,t){if(!e)throw Error("Could not find CheckoutProvider context; You need to wrap the part of your app that ".concat(t," in an <CheckoutProvider> provider."));return e},T=t.createContext(null);T.displayName="CheckoutContext";var L=function(e,t){if(!e)return null;e.on,e.session;var n=i(e,R);return t?Object.assign(t,n):Object.assign(e.session(),n)},Y=function(e){var n=e.stripe,r=e.options,o=e.children,c=t.useMemo(function(){return w(n,"Invalid prop `stripe` supplied to `CheckoutProvider`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")},[n]),i=u(t.useState(null),2),s=i[0],a=i[1],l=u(t.useState(function(){return{stripe:"sync"===c.tag?c.stripe:null,checkoutSdk:null}}),2),p=l[0],d=l[1],f=function(e,t){d(function(n){return n.stripe&&n.checkoutSdk?n:{stripe:e,checkoutSdk:t}})},m=t.useRef(!1);t.useEffect(function(){var e=!0;return"async"!==c.tag||p.stripe?"sync"===c.tag&&c.stripe&&!m.current&&(m.current=!0,c.stripe.initCheckout(r).then(function(e){e&&(f(c.stripe,e),e.on("change",a))})):c.stripePromise.then(function(t){t&&e&&!m.current&&(m.current=!0,t.initCheckout(r).then(function(e){e&&(f(t,e),e.on("change",a))}))}),function(){e=!1}},[c,p,r,a]);var h=y(n);t.useEffect(function(){null!==h&&h!==n&&console.warn("Unsupported prop change on CheckoutProvider: You cannot change the `stripe` prop after setting it.")},[h,n]);var v=y(r),g=y(p.checkoutSdk);t.useEffect(function(){if(p.checkoutSdk){var e,t,n,o,c=!!(!g&&p.checkoutSdk),i=null==v||null==(e=v.elementsOptions)?void 0:e.appearance,u=null==r||null==(t=r.elementsOptions)?void 0:t.appearance,s=!C(u,i);u&&(s||c)&&p.checkoutSdk.changeAppearance(u);var a=null==v||null==(n=v.elementsOptions)?void 0:n.fonts,l=null==r||null==(o=r.elementsOptions)?void 0:o.fonts,d=!C(a,l);l&&(d||c)&&p.checkoutSdk.loadFonts(l)}},[r,v,p.checkoutSdk,g]),t.useEffect(function(){j(p.stripe)},[p.stripe]);var E=t.useMemo(function(){return L(p.checkoutSdk,s)},[p.checkoutSdk,s]);return p.checkoutSdk?t.createElement(N.Provider,{value:p},t.createElement(T.Provider,{value:E},o)):null};Y.propTypes={stripe:h.any,options:h.shape({fetchClientSecret:h.func.isRequired,elementsOptions:h.object}).isRequired};var B=function(e){var n=t.useContext(N),r=t.useContext(P);if(n&&r)throw Error("You cannot wrap the part of your app that ".concat(e," in both <CheckoutProvider> and <Elements> providers."));return n?_(n,e):O(r,e)},U=["mode"],M=function(e,n){var r="".concat(e.charAt(0).toUpperCase()+e.slice(1),"Element"),o=n?function(e){B("mounts <".concat(r,">"));var n=e.id,o=e.className;return t.createElement("div",{id:n,className:o})}:function(n){var o,c=n.id,s=n.className,a=n.options,l=void 0===a?{}:a,p=n.onBlur,d=n.onFocus,f=n.onReady,m=n.onChange,h=n.onEscape,g=n.onClick,E=n.onLoadError,C=n.onLoaderStart,k=n.onNetworksChange,S=n.onConfirm,w=n.onCancel,j=n.onShippingAddressChange,P=n.onShippingRateChange,O=B("mounts <".concat(r,">")),x="elements"in O?O.elements:null,A="checkoutSdk"in O?O.checkoutSdk:null,I=u(t.useState(null),2),R=I[0],N=I[1],_=t.useRef(null),T=t.useRef(null);v(R,"blur",p),v(R,"focus",d),v(R,"escape",h),v(R,"click",g),v(R,"loaderror",E),v(R,"loaderstart",C),v(R,"networkschange",k),v(R,"confirm",S),v(R,"cancel",w),v(R,"shippingaddresschange",j),v(R,"shippingratechange",P),v(R,"change",m),f&&(o="expressCheckout"===e?f:function(){f(R)}),v(R,"ready",o),t.useLayoutEffect(function(){if(null===_.current&&null!==T.current&&(x||A)){var t=null;if(A)switch(e){case"payment":t=A.createPaymentElement(l);break;case"address":if("mode"in l){var n=l.mode,o=i(l,U);if("shipping"===n)t=A.createShippingAddressElement(o);else if("billing"===n)t=A.createBillingAddressElement(o);else throw Error("Invalid options.mode. mode must be 'billing' or 'shipping'.")}else throw Error("You must supply options.mode. mode must be 'billing' or 'shipping'.");break;case"expressCheckout":t=A.createExpressCheckoutElement(l);break;case"currencySelector":t=A.createCurrencySelectorElement();break;case"taxId":t=A.createTaxIdElement(l);break;default:throw Error("Invalid Element type ".concat(r,". You must use either the <PaymentElement />, <AddressElement options={{mode: 'shipping'}} />, <AddressElement options={{mode: 'billing'}} />, or <ExpressCheckoutElement />."))}else x&&(t=x.create(e,l));_.current=t,N(t),t&&t.mount(T.current)}},[x,A,l]);var L=y(l);return t.useEffect(function(){if(_.current){var e=b(l,L,["paymentRequest"]);e&&"update"in _.current&&_.current.update(e)}},[l,L]),t.useLayoutEffect(function(){return function(){if(_.current&&"function"==typeof _.current.destroy)try{_.current.destroy(),_.current=null}catch(e){}}},[]),t.createElement("div",{id:c,className:s,ref:T})};return o.propTypes={id:h.string,className:h.string,onChange:h.func,onBlur:h.func,onFocus:h.func,onReady:h.func,onEscape:h.func,onClick:h.func,onLoadError:h.func,onLoaderStart:h.func,onNetworksChange:h.func,onConfirm:h.func,onCancel:h.func,onShippingAddressChange:h.func,onShippingRateChange:h.func,options:h.object},o.displayName=r,o.__elementType=e,o},D="undefined"==typeof window,W=t.createContext(null);W.displayName="EmbeddedCheckoutProviderContext";var q=function(){var e=t.useContext(W);if(!e)throw Error("<EmbeddedCheckout> must be used within <EmbeddedCheckoutProvider>");return e},F=D?function(e){var n=e.id,r=e.className;return q(),t.createElement("div",{id:n,className:r})}:function(e){var n=e.id,r=e.className,o=q().embeddedCheckout,c=t.useRef(!1),i=t.useRef(null);return t.useLayoutEffect(function(){return!c.current&&o&&null!==i.current&&(o.mount(i.current),c.current=!0),function(){if(c.current&&o)try{o.unmount(),c.current=!1}catch(e){}}},[o]),t.createElement("div",{ref:i,id:n,className:r})},$=M("auBankAccount",D),z=M("card",D),H=M("cardNumber",D),V=M("cardExpiry",D),G=M("cardCvc",D),J=M("fpxBank",D),K=M("iban",D),Q=M("idealBank",D),X=M("p24Bank",D),Z=M("epsBank",D),ee=M("payment",D),et=M("expressCheckout",D),en=M("currencySelector",D),er=M("paymentRequestButton",D),eo=M("linkAuthentication",D),ec=M("address",D),ei=M("shippingAddress",D),eu=M("paymentMethodMessaging",D),es=M("affirmMessage",D),ea=M("afterpayClearpayMessage",D),el=M("taxId",D);e.AddressElement=ec,e.AffirmMessageElement=es,e.AfterpayClearpayMessageElement=ea,e.AuBankAccountElement=$,e.CardCvcElement=G,e.CardElement=z,e.CardExpiryElement=V,e.CardNumberElement=H,e.CheckoutProvider=Y,e.CurrencySelectorElement=en,e.Elements=x,e.ElementsConsumer=I,e.EmbeddedCheckout=F,e.EmbeddedCheckoutProvider=function(e){var n=e.stripe,r=e.options,o=e.children,c=t.useMemo(function(){return w(n,"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.")},[n]),i=t.useRef(null),s=t.useRef(null),a=u(t.useState({embeddedCheckout:null}),2),l=a[0],p=a[1];t.useEffect(function(){if(!s.current&&!i.current){var e=function(e){s.current||i.current||(s.current=e,i.current=s.current.initEmbeddedCheckout(r).then(function(e){p({embeddedCheckout:e})}))};"async"===c.tag&&!s.current&&(r.clientSecret||r.fetchClientSecret)?c.stripePromise.then(function(t){t&&e(t)}):"sync"===c.tag&&!s.current&&(r.clientSecret||r.fetchClientSecret)&&e(c.stripe)}},[c,r,l,s]),t.useEffect(function(){return function(){l.embeddedCheckout?(i.current=null,l.embeddedCheckout.destroy()):i.current&&i.current.then(function(){i.current=null,l.embeddedCheckout&&l.embeddedCheckout.destroy()})}},[l.embeddedCheckout]),t.useEffect(function(){j(s)},[s]);var d=y(n);t.useEffect(function(){null!==d&&d!==n&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the `stripe` prop after setting it.")},[d,n]);var f=y(r);return t.useEffect(function(){if(null!=f){if(null==r)return void console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot unset options after setting them.");void 0===r.clientSecret&&void 0===r.fetchClientSecret&&console.warn("Invalid props passed to EmbeddedCheckoutProvider: You must provide one of either `options.fetchClientSecret` or `options.clientSecret`."),null!=f.clientSecret&&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."),null!=f.fetchClientSecret&&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."),null!=f.onComplete&&r.onComplete!==f.onComplete&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onComplete option after setting it."),null!=f.onShippingDetailsChange&&r.onShippingDetailsChange!==f.onShippingDetailsChange&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onShippingDetailsChange option after setting it."),null!=f.onLineItemsChange&&r.onLineItemsChange!==f.onLineItemsChange&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onLineItemsChange option after setting it.")}},[f,r]),t.createElement(W.Provider,{value:l},o)},e.EpsBankElement=Z,e.ExpressCheckoutElement=et,e.FpxBankElement=J,e.IbanElement=K,e.IdealBankElement=Q,e.LinkAuthenticationElement=eo,e.P24BankElement=X,e.PaymentElement=ee,e.PaymentMethodMessagingElement=eu,e.PaymentRequestButtonElement=er,e.ShippingAddressElement=ei,e.TaxIdElement=el,e.useCheckout=function(){_(t.useContext(N),"calls useCheckout()");var e=t.useContext(T);if(!e)throw Error("Could not find Checkout Context; You need to wrap the part of your app that calls useCheckout() in an <CheckoutProvider> provider.");return e},e.useElements=function(){return A("calls useElements()").elements},e.useStripe=function(){return B("calls useStripe()").stripe}})(t,n(14232))}}]);