1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7065],{17065:(e,s,t)=>{t.r(s),t.d(s,{ConfirmResetModal:()=>m});var l=t(37876),r=t(14232),n=t(98477),a=t(31753),o=t(81935),i=t(36414),c=t(28249);let m=({isOpen:e,onClose:s})=>{let{t}=(0,a.Bd)("creator-new"),[m,d]=(0,r.useState)(!1),f=(0,r.useRef)(null);if((0,r.useEffect)(()=>{d(!0)},[]),(0,r.useEffect)(()=>{e&&(f.current=(window.__CONFIRM_RESET_CALLBACKS__?window.__CONFIRM_RESET_CALLBACKS__:{onConfirm:null}).onConfirm)},[e]),(0,r.useEffect)(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[e]),!e||!m)return null;let u=(0,l.jsxs)("div",{className:"fixed inset-0 z-[9999] overflow-y-auto flex items-center justify-center p-4",children:[(0,l.jsx)("div",{className:"fixed inset-0 bg-black/80 backdrop-blur-sm transition-opacity",onClick:s}),(0,l.jsxs)("div",{className:"relative bg-white-base rounded-xl shadow-2xl max-w-lg w-full max-h-[90vh] overflow-y-auto transform transition-all",children:[(0,l.jsxs)("div",{className:"bg-white-base px-4 pt-5 pb-4 sm:p-6 sm:pb-4",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,l.jsx)("div",{className:"w-10 h-10 bg-yellow-base/40 rounded-xl flex items-center justify-center",children:(0,l.jsx)("svg",{className:"w-5 h-5 text-yellow-medium",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})}),(0,l.jsx)("h3",{className:"text-lg font-bold text-black-base",children:t("confirmReset.title","Reset Form")})]}),(0,l.jsx)("div",{className:"mb-6",children:(0,l.jsx)("p",{className:"text-sm text-gray-darken",children:t("confirmReset.message","Are you sure you want to reset the form? All your progress will be lost.")})})]}),(0,l.jsxs)("div",{className:"bg-gray-lighter px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse sm:gap-3",children:[(0,l.jsx)(o.$n,{variant:o.Ck.DANGER,size:o.GO.LG,className:"!w-full sm:!w-auto",onClick:()=>{f.current&&f.current()},leftIcon:(0,l.jsx)(i.A,{size:18}),ariaLabel:t("confirmReset.confirm","Reset"),children:t("confirmReset.confirm","Reset")}),(0,l.jsx)(o.$n,{variant:o.Ck.SECONDARY,size:o.GO.LG,className:"!mt-3 sm:!mt-0 !w-full sm:!w-auto !bg-white-base",onClick:s,leftIcon:(0,l.jsx)(c.A,{size:18}),ariaLabel:t("confirmReset.cancel","Cancel"),children:t("confirmReset.cancel","Cancel")})]})]})]}),x="undefined"!=typeof document?document.getElementById("modal-root")||document.body:null;return x?(0,n.createPortal)(u,x):u}},36414:(e,s,t)=>{t.d(s,{A:()=>l});let l=(0,t(17963).A)("rotate-ccw",[["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"}]])}}]);
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.