1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1403],{1403:function(e,a,l){l.r(a);var t=l(11527),s=l(12680),n=l(52505),r=l.n(n),i=l(73766),d=l(50959),u=l(88717),c=l(53843),o=l(63947),p=l(98664),f=l(43352),x=l(19048),g=l(32362),h=l(7242),j=l(94369),m=l(97747),y=l(42488),k=l(84130),b=l(54731);let w=r()(()=>Promise.all([l.e(9774),l.e(5408),l.e(7475),l.e(386),l.e(124),l.e(1695),l.e(6789),l.e(304),l.e(5659),l.e(9127)]).then(l.bind(l,79251)).then(e=>e.Pickaxe),{loadableGenerated:{webpack:()=>[null]},loading:()=>(0,t.jsx)(m.Z,{})}),I=r()(()=>Promise.all([l.e(9774),l.e(5408),l.e(7475),l.e(386),l.e(124),l.e(1695),l.e(6789),l.e(304),l.e(5659),l.e(9127)]).then(l.bind(l,79251)).then(e=>e.PickaxeArtifact),{loadableGenerated:{webpack:()=>[null]},loading:()=>(0,t.jsx)(m.Z,{})});a.default=()=>{let{t:e}=(0,h.$G)("popup"),a=(0,i.useRouter)(),{studio:l,portal:n,currentPage:r,isSidebarOpen:m}=(0,o.D)(),{lockType:v}=(0,c.p)(),{onUpdateDesign:N}=(0,u.H)(),{setSessionId:A}=(0,g.T)(),[P,_]=(0,d.useState)(!1),q=f.S.studio.get.pickaxePage.useQuery({pageId:(null==r?void 0:r.id)||"",portalId:(null==n?void 0:n.portalId)||"",previewAccessGroupId:Array.isArray(a.query.agid)?a.query.agid[0]:a.query.agid},{enabled:!!(n&&r&&"pickaxe"===r.type&&null===v)}),E=(0,d.useMemo)(()=>{let e=a.query.sessionId;return e?Array.isArray(e)?e[0]:e:null},[a.query.sessionId]);if((0,d.useEffect)(()=>{q.data&&N(q.data.design)},[q.data]),(0,d.useEffect)(()=>{E&&A(E)},[E]),!l||(null==v?void 0:v.type)==="loading")return null;let G=(0,x.cn)("flex-grow items-center justify-center",m&&p.XQ);if(v)return"offer"===v.type?(0,t.jsx)(k.a,{className:G,portalItemId:v.item.id}):"upgrade_preview"===v.type?(0,t.jsx)(b.Z,{className:G}):(0,t.jsx)(y.DeniedAccessContent,{className:G});if(!q.data)return null;let C=e("pageFallback",{defaultValue:"Page"});return(0,t.jsxs)("div",{className:"flex h-screen w-full flex-col overflow-hidden","data-mobile-chat-nav-offset":"true",children:[(0,t.jsx)(s.PB,{title:"".concat(q.data.title||C," | ").concat(l.name)}),(0,t.jsxs)(j.eh,{direction:"horizontal",className:"flex-grow",children:[(0,t.jsx)(j.s_,{children:(0,t.jsx)(w,{pickaxeId:q.data.pickaxeId})}),(0,t.jsx)(I,{panel:e=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.OT,{onDragging:e=>_(e)}),(0,t.jsx)(j.s_,{className:(0,x.cn)(!P&&"transition-all duration-300 ease-in-out"),children:e})]})})]})]})}}}]);
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.