1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5466],{10208:(e,t,n)=>{"use strict";var r=n(79379);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=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:i,resetWarningCache:o};return n.PropTypes=n,n}},18622:(e,t,n)=>{"use strict";n.d(t,{G_:()=>i,j:()=>c});var r=n(1521);let o=(0,r.createContext)(null);function i(e){let{clientId:t,nonce:n,onScriptLoadSuccess:i,onScriptLoadError:a,children:c}=e,u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{nonce:t,onScriptLoadSuccess:n,onScriptLoadError:o}=e,[i,a]=(0,r.useState)(!1),c=(0,r.useRef)(n);c.current=n;let u=(0,r.useRef)(o);return u.current=o,(0,r.useEffect)(()=>{let e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",e.async=!0,e.defer=!0,e.nonce=t,e.onload=()=>{var e;a(!0),null==(e=c.current)||e.call(c)},e.onerror=()=>{var e;a(!1),null==(e=u.current)||e.call(u)},document.body.appendChild(e),()=>{document.body.removeChild(e)}},[t]),i}({nonce:n,onScriptLoadSuccess:i,onScriptLoadError:a}),s=(0,r.useMemo)(()=>({clientId:t,scriptLoadedSuccessfully:u}),[t,u]);return r.createElement(o.Provider,{value:s},c)}let a={large:40,medium:32,small:20};function c(e){let{onSuccess:t,onError:n,useOneTap:i,promptMomentNotification:c,type:u="standard",theme:s="outline",size:l="large",text:d,shape:p,logo_alignment:f,width:m,locale:h,click_listener:v,containerProps:y,...g}=e,b=(0,r.useRef)(null),{clientId:C,scriptLoadedSuccessfully:E}=function(){let e=(0,r.useContext)(o);if(!e)throw Error("Google OAuth components must be used within GoogleOAuthProvider");return e}(),w=(0,r.useRef)(t);w.current=t;let S=(0,r.useRef)(n);S.current=n;let j=(0,r.useRef)(c);return j.current=c,(0,r.useEffect)(()=>{var e,t,n,r,o,a,c,y,k;if(E)return null==(n=null==(t=null==(e=null==window?void 0:window.google)?void 0:e.accounts)?void 0:t.id)||n.initialize({client_id:C,callback:e=>{var t,n;if(!(null==e?void 0:e.credential))return null==(t=S.current)?void 0:t.call(S);let{credential:r,select_by:o}=e;w.current({credential:r,clientId:null!=(n=null==e?void 0:e.clientId)?n:null==e?void 0:e.client_id,select_by:o})},...g}),null==(a=null==(o=null==(r=null==window?void 0:window.google)?void 0:r.accounts)?void 0:o.id)||a.renderButton(b.current,{type:u,theme:s,size:l,text:d,shape:p,logo_alignment:f,width:m,locale:h,click_listener:v}),i&&(null==(k=null==(y=null==(c=null==window?void 0:window.google)?void 0:c.accounts)?void 0:y.id)||k.prompt(j.current)),()=>{var e,t,n;i&&(null==(n=null==(t=null==(e=null==window?void 0:window.google)?void 0:e.accounts)?void 0:t.id)||n.cancel())}},[C,E,i,u,s,l,d,p,f,m,h]),r.createElement("div",{...y,ref:b,style:{height:a[l],...null==y?void 0:y.style}})}},44532:(e,t,n)=>{e.exports=n(10208)()},46957:(e,t,n)=>{e.exports=n(61743)},53244:(e,t,n)=>{"use strict";n.d(t,{H1:()=>I,OH:()=>D,S8:()=>S,zm:()=>N});var r=n(1521),o=n(44532);function i(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}function a(e,t,n){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?c(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],u=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t);else for(;!(u=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(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 l(e){return(l="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)}var d=function(e,t,n){var o=!!n,i=r.useRef(n);r.useEffect(function(){i.current=n},[n]),r.useEffect(function(){if(!o||!e)return function(){};var n=function(){if(i.current)return i.current.apply(i,arguments)};return e.on(t,n),function(){e.off(t,n)}},[o,t,e,i])},p=function(e){var t=r.useRef(e);return r.useEffect(function(){t.current=e},[e]),t.current},f=function(e){return null!==e&&"object"===l(e)},m="[object Object]",h=function e(t,n){if(!f(t)||!f(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var o=Object.prototype.toString.call(t)===m;if(o!==(Object.prototype.toString.call(n)===m))return!1;if(!o&&!r)return t===n;var i=Object.keys(t),a=Object.keys(n);if(i.length!==a.length)return!1;for(var c={},u=0;u<i.length;u+=1)c[i[u]]=!0;for(var s=0;s<a.length;s+=1)c[a[s]]=!0;var l=Object.keys(c);return l.length===i.length&&l.every(function(r){return e(t[r],n[r])})},v=function(e,t,n){return f(e)?Object.keys(e).reduce(function(r,o){var i=!f(t)||!h(e[o],t[o]);return n.includes(o)?(i&&console.warn("Unsupported prop change: options.".concat(o," is not a mutable property.")),r):i?u(u({},r||{}),{},a({},o,e[o])):r},null):null},y="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.",g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y;if(null===e||f(e)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment)return e;throw Error(t)},b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y;if(f(e)&&"function"==typeof e.then)return{tag:"async",stripePromise:Promise.resolve(e).then(function(e){return g(e,t)})};var n=g(e,t);return null===n?{tag:"empty"}:{tag:"sync",stripe:n}},C=function(e){e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"6.8.2"}),e.registerAppInfo({name:"react-stripe-js",version:"6.8.2",url:"https://stripe.com/docs/stripe-js/react"}))},E=r.createContext(null);E.displayName="ElementsContext";var w=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},S=function(e){var t=e.stripe,n=e.options,o=e.children,i=r.useMemo(function(){return b(t)},[t]),a=s(r.useState(function(){return{stripe:"sync"===i.tag?i.stripe:null,elements:"sync"===i.tag?i.stripe.elements(n):null}}),2),c=a[0],u=a[1];r.useEffect(function(){var e=!0,t=function(e){u(function(t){return t.stripe?t:{stripe:e,elements:e.elements(n)}})};return"async"!==i.tag||c.stripe?"sync"!==i.tag||c.stripe||t(i.stripe):i.stripePromise.then(function(n){n&&e&&t(n)}),function(){e=!1}},[i,c,n]);var l=p(t);r.useEffect(function(){null!==l&&l!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[l,t]);var d=p(n);return r.useEffect(function(){if(c.elements){var e=v(n,d,["clientSecret","fonts"]);e&&c.elements.update(e)}},[n,d,c.elements]),r.useEffect(function(){C(c.stripe)},[c.stripe]),r.createElement(E.Provider,{value:c},o)};S.propTypes={stripe:o.any,options:o.object},o.func.isRequired;var j=r.createContext(null);j.displayName="CheckoutContext";var k=function(e){var t=r.useContext(j),n=r.useContext(E);if(!t)return w(n,e);if(!n)return t;throw Error("You cannot wrap the part of your app that ".concat(e," in both a checkout provider and <Elements> provider."))},P=["mode"],x=function(e,t,n){var i="".concat(e.charAt(0).toUpperCase()+e.slice(1),"Element"),a=t?function(e){k("mounts <".concat(i,">"));var t=e.id,n=e.className;return r.createElement("div",{id:t,className:n})}
1:function(t){var n,o=t.id,a=t.className,c=t.options,u=void 0===c?{}:c,l=t.onBlur,f=t.onFocus,m=t.onReady,h=t.onChange,y=t.onEscape,g=t.onClick,b=t.onLoadError,C=t.onLoaderStart,E=t.onNetworksChange,w=t.onConfirm,S=t.onCancel,j=t.onShippingAddressChange,x=t.onShippingRateChange,O=t.onSavedPaymentMethodRemove,A=t.onSavedPaymentMethodUpdate,R=t.onAvailablePaymentMethodsChange,D=k("mounts <".concat(i,">")),N="elements"in D?D.elements:null,I="checkoutState"in D?D.checkoutState:null,L=(null==I?void 0:I.type)==="success"||(null==I?void 0:I.type)==="loading"?I.sdk:null,_=s(r.useState(null),2),T=_[0],U=_[1],Y=r.useRef(null),M=r.useRef(null);d(T,"blur",l),d(T,"focus",f),d(T,"escape",y),d(T,"click",g),d(T,"loaderror",b),d(T,"loaderstart",C),d(T,"networkschange",E),d(T,"confirm",w),d(T,"cancel",S),d(T,"shippingaddresschange",j),d(T,"shippingratechange",x),d(T,"savedpaymentmethodremove",O),d(T,"savedpaymentmethodupdate",A),d(T,"availablepaymentmethodschange",R),d(T,"change",h),m&&(n="expressCheckout"===e?m:function(){m(T)}),d(T,"ready",n),r.useLayoutEffect(function(){if(null===Y.current&&null!==M.current&&(N||L)){var t=null;if(L)switch(e){case"paymentForm":t=L.createForm(u);break;case"payment":t=L.createPaymentElement(u);break;case"address":if("mode"in u){var n=u.mode,r=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(u,P);if("shipping"===n)t=L.createShippingAddressElement(r);else if("billing"===n)t=L.createBillingAddressElement(r);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=L.createExpressCheckoutElement(u);break;case"currencySelector":t=L.createCurrencySelectorElement();break;case"taxId":t=L.createTaxIdElement(u);break;case"contactDetails":t=L.createContactDetailsElement();break;case"terms":t=L.createTermsElement(u);break;default:throw Error("<".concat(i,"> is not supported inside a checkout provider. Use an <Elements> provider instead."))}else N&&(t=N.create(e,u));Y.current=t,U(t),t&&t.mount(M.current)}},[N,L,u]);var F=p(u);return r.useEffect(function(){if(Y.current){var e=v(u,F,["paymentRequest"]);e&&"update"in Y.current&&Y.current.update(e)}},[u,F]),r.useLayoutEffect(function(){return function(){if(Y.current&&"function"==typeof Y.current.destroy)try{Y.current.destroy(),Y.current=null}catch(e){}}},[]),r.createElement("div",{id:o,className:a,ref:M})};return a.propTypes={id:o.string,className:o.string,onChange:o.func,onBlur:o.func,onFocus:o.func,onReady:o.func,onEscape:o.func,onClick:o.func,onLoadError:o.func,onLoaderStart:o.func,onNetworksChange:o.func,onConfirm:o.func,onCancel:o.func,onShippingAddressChange:o.func,onShippingRateChange:o.func,onSavedPaymentMethodRemove:o.func,onSavedPaymentMethodUpdate:o.func,onAvailablePaymentMethodsChange:o.func,options:o.object},a.displayName=i,a.__elementType=e,a},O="undefined"==typeof window,A=r.createContext(null);A.displayName="EmbeddedCheckoutProviderContext";var R=function(){var e=r.useContext(A);if(!e)throw Error("<EmbeddedCheckout> must be used within <EmbeddedCheckoutProvider>");return e},D=function(e){var t=e.stripe,n=e.options,o=e.children,i=r.useMemo(function(){return b(t,"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.")},[t]),a=r.useRef(null),c=r.useRef(null),u=s(r.useState({embeddedCheckout:null}),2),l=u[0],d=u[1];r.useEffect(function(){if(!c.current&&!a.current){var e=function(e){c.current||a.current||(c.current=e,a.current=c.current.createEmbeddedCheckoutPage(n).then(function(e){d({embeddedCheckout:e})}))};"async"===i.tag&&!c.current&&(n.clientSecret||n.fetchClientSecret)?i.stripePromise.then(function(t){t&&e(t)}):"sync"===i.tag&&!c.current&&(n.clientSecret||n.fetchClientSecret)&&e(i.stripe)}},[i,n,l,c]),r.useEffect(function(){return function(){l.embeddedCheckout?(a.current=null,l.embeddedCheckout.destroy()):a.current&&a.current.then(function(){a.current=null,l.embeddedCheckout&&l.embeddedCheckout.destroy()})}},[l.embeddedCheckout]),r.useEffect(function(){C(c)},[c]);var f=p(t);r.useEffect(function(){null!==f&&f!==t&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the `stripe` prop after setting it.")},[f,t]);var m=p(n);return r.useEffect(function(){if(null!=m){if(null==n)return void console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot unset options after setting them.");void 0===n.clientSecret&&void 0===n.fetchClientSecret&&console.warn("Invalid props passed to EmbeddedCheckoutProvider: You must provide one of either `options.fetchClientSecret` or `options.clientSecret`."),null!=m.clientSecret&&n.clientSecret!==m.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!=m.fetchClientSecret&&n.fetchClientSecret!==m.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!=m.onComplete&&n.onComplete!==m.onComplete&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onComplete option after setting it."),null!=m.onShippingDetailsChange&&n.onShippingDetailsChange!==m.onShippingDetailsChange&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onShippingDetailsChange option after setting it."),null!=m.onLineItemsChange&&n.onLineItemsChange!==m.onLineItemsChange&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onLineItemsChange option after setting it.")}},[m,n]),r.createElement(A.Provider,{value:l},o)},N=O?function(e){var t=e.id,n=e.className;return R(),r.createElement("div",{id:t,className:n})}:function(e){var t=e.id,n=e.className,o=R().embeddedCheckout,i=r.useRef(!1),a=r.useRef(null);return r.useLayoutEffect(function(){return!i.current&&o&&null!==a.current&&(o.mount(a.current),i.current=!0),function(){if(i.current&&o)try{o.unmount(),i.current=!1}catch(e){}}},[o]),r.createElement("div",{ref:a,id:t,className:n})};x("auBankAccount",O),x("card",O),x("cardNumber",O),x("cardExpiry",O),x("cardCvc",O),x("currencySelector",O),x("iban",O),x("payment",O),x("expressCheckout",O),x("paymentRequestButton",O),x("linkAuthentication",O),x("contactDetails",O);var I=x("address",O);x("shippingAddress",O),x("paymentMethodMessaging",O),x("taxId",O),x("issuingCardNumberDis
1play",O),x("issuingCardCvcDisplay",O),x("issuingCardExpiryDisplay",O),x("issuingCardPinDisplay",O),x("issuingCardCopyButton",O),x("terms",O)},59731:(e,t,n)=>{"use strict";n.d(t,{b:()=>c});var r=n(1521),o=n(75968),i=n(73365),a=r.forwardRef((e,t)=>(0,i.jsx)(o.sG.label,{...e,ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null==(n=e.onMouseDown)||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName="Label";var c=a},61743:(e,t)=>{"use strict";function n(e){return(n="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)}var r,o="dahlia",i="https://js.stripe.com",a="".concat(i,"/").concat(o,"/stripe.js"),c=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,u=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,s="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",l=function(){for(var e=document.querySelectorAll('script[src^="'.concat(i,'"]')),t=0;t<e.length;t++){var n,r=e[t];if(n=r.src,c.test(n)||u.test(n))return r}return null},d=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(a).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:"9.14.0",startTime:t})},f=null,m=null,h=null,v=function(e,t,r){if(null===e)return null;var i,a=t[0];if("string"!=typeof a)throw Error("Expected publishable key to be of type string, got type ".concat(n(a)," instead."));var c=a.match(/^pk_test/),u=3===(i=e.version)?"v3":i;c&&u!==o&&console.warn("Stripe.js@".concat(u," was loaded on the page, but @stripe/stripe-js@").concat("9.14.0"," expected Stripe.js@").concat(o,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var s=e.apply(void 0,t);return p(s,r),s},y=function(e){var t="invalid load parameters; expected object of shape\n\n {advancedFraudSignals: boolean}\n\nbut received\n\n ".concat(JSON.stringify(e),"\n");if(null===e||"object"!==n(e))throw Error(t);if(1===Object.keys(e).length&&"boolean"==typeof e.advancedFraudSignals)return e;throw Error(t)},g=!1,b=function(){for(var e,t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];g=!0;var i=Date.now();return(e=r,null!==f?f:(f=new Promise(function(t,n){if("undefined"==typeof window||"undefined"==typeof document)return void t(null);if(window.Stripe&&e&&console.warn(s),window.Stripe)return void t(window.Stripe);try{var r,o=l();o&&e?console.warn(s):o?o&&null!==h&&null!==m&&(o.removeEventListener("load",h),o.removeEventListener("error",m),null==(r=o.parentNode)||r.removeChild(o),o=d(e)):o=d(e),h=function(){window.Stripe?t(window.Stripe):n(Error("Stripe.js not available"))},m=function(e){n(Error("Failed to load Stripe.js",{cause:e}))},o.addEventListener("load",h),o.addEventListener("error",m)}catch(e){n(e);return}})).catch(function(e){return f=null,Promise.reject(e)})).then(function(e){return v(e,n,i)})};b.setLoadParameters=function(e){if(!(g&&r&&Object.keys(y(e)).reduce(function(t,n){var o;return t&&e[n]===(null==(o=r)?void 0:o[n])},!0))){if(g)throw Error("You cannot change load parameters after calling loadStripe");r=y(e)}},t.loadStripe=b},79379:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},96020:(e,t,n)=>{"use strict";n.d(t,{UC:()=>L,VY:()=>Y,ZD:()=>T,ZL:()=>N,bL:()=>R,hE:()=>U,hJ:()=>I,l9:()=>D,rc:()=>_});var r=n(1521),o=n(75190),i=n(87524),a=n(45001),c=n(56298),u=n(35933),s=n(73365),l="AlertDialog",[d,p]=(0,o.A)(l,[a.Hs]),f=(0,a.Hs)(),m=e=>{let{__scopeAlertDialog:t,...n}=e,r=f(t);return(0,s.jsx)(a.bL,{...r,...n,modal:!0})};m.displayName=l;var h=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=f(n);return(0,s.jsx)(a.l9,{...o,...r,ref:t})});h.displayName="AlertDialogTrigger";var v=e=>{let{__scopeAlertDialog:t,...n}=e,r=f(t);return(0,s.jsx)(a.ZL,{...r,...n})};v.displayName="AlertDialogPortal";var y=r.forwardRef((e,t)=>
1{let{__scopeAlertDialog:n,...r}=e,o=f(n);return(0,s.jsx)(a.hJ,{...o,...r,ref:t})});y.displayName="AlertDialogOverlay";var g="AlertDialogContent",[b,C]=d(g),E=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,children:o,...l}=e,d=f(n),p=r.useRef(null),m=(0,i.s)(t,p),h=r.useRef(null);return(0,s.jsx)(a.G$,{contentName:g,titleName:w,docsSlug:"alert-dialog",children:(0,s.jsx)(b,{scope:n,cancelRef:h,children:(0,s.jsxs)(a.UC,{role:"alertdialog",...d,...l,ref:m,onOpenAutoFocus:(0,c.m)(l.onOpenAutoFocus,e=>{var t;e.preventDefault(),null==(t=h.current)||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,s.jsx)(u.xV,{children:o}),(0,s.jsx)(A,{contentRef:p})]})})})});E.displayName=g;var w="AlertDialogTitle",S=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=f(n);return(0,s.jsx)(a.hE,{...o,...r,ref:t})});S.displayName=w;var j="AlertDialogDescription",k=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=f(n);return(0,s.jsx)(a.VY,{...o,...r,ref:t})});k.displayName=j;var P=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,o=f(n);return(0,s.jsx)(a.bm,{...o,...r,ref:t})});P.displayName="AlertDialogAction";var x="AlertDialogCancel",O=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=C(x,n),c=f(n),u=(0,i.s)(t,o);return(0,s.jsx)(a.bm,{...c,...r,ref:u})});O.displayName=x;var A=e=>{let{contentRef:t}=e,n="`".concat(g,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(g,"` by passing a `").concat(j,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(g,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return r.useEffect(()=>{var e;document.getElementById(null==(e=t.current)?void 0:e.getAttribute("aria-describedby"))||console.warn(n)},[n,t]),null},R=m,D=h,N=v,I=y,L=E,_=P,T=O,U=S,Y=k}}]);
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.