1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="69223895-59ef-5f27-8be4-91d2ce563c8b")}catch(e){}}(); 3import{s as e}from"./jsx-runtime-D4ePz0Hl.js";import{t}from"./react-BXH-GOAS.js";import{D as n}from"./components-CDo3yjgw.js";import{i as r}from"./nectarTrackingFields-BN5KBl15.js";var i=e(t(),1),a=[`search`,`community_join`,`community_login`,`community_channel_upgrade`,`login`,`signup`,`recommendations`,`edit_profile`,`reset_password`,`unsubscribe`,`resubscribe`,`change_plan`,`unpause_plan`,`downgrade`,`unpause`,`connected_accounts`,`create_product_review`],o=[`after_login_action_post_id`,`after_login_action`,`redirect_to`,`review_order_id`,`review_product_slug`,`upgrade_return`,`space_id`,r],s=({useLocalState:e}={useLocalState:!1})=>{let[t,r]=n(),[s,c]=(0,i.useState)(null),l=n=>{if(e){c(null);return}t.delete(`modal`),o.forEach(e=>{t.delete(e)}),r(t,{replace:!0,...n})},u=(n,i,a)=>{if(e){c(n);return}t.set(`modal`,n),a&&Object.entries(a).forEach(([e,n])=>{o.includes(e)&&t.set(e,n)}),r(t,{replace:!0,...i})},d=e?s:t.get(`modal`);return{currentModal:d,isModalOpen:d?a.includes(d):!1,handleCloseModal:l,handleOpenModal:u}};export{s as t}; 4//# sourceMappingURL=useGlobalModals-CJ1k8aJl.js.map 5//# debugId=69223895-59ef-5f27-8be4-91d2ce563c8b
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.