PageSourceSearch

https://www.astastrings.org/_next/static/chunks/pages/admin/confer…/booth/[boothId]-448a06907a6d31b3.js

js astastrings.org collected 2026-09-24 09:26:21 UTC 9,856 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[21680],{18034:function(e,t,n){"use strict";n.d(t,{OK:function(){return D},cb:function(){return P},gC:function(){return _},mQ:function(){return B},nP:function(){return k},td:function(){return E},x4:function(){return j},xD:function(){return useTab}});var r=n(67294),a=n(38655),o=n(28387),i=n(54520),l=n(18702),c=n(59430),u=n(44040),s=n(98053),d=n(34031),f=n(76734),h=n(82359),cx=(...e)=>e.filter(Boolean).join(" ");function callAllHandlers(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}var[b,m,p,v]=(0,c.n)(),[g,_]=(0,o.k)({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"});function useTab(e){let{isDisabled:t,isFocusable:n,...r}=e,{setSelectedIndex:a,isManual:o,id:i,setFocusedIndex:c,selectedIndex:u}=_(),{index:s,register:d}=v({disabled:t&&!n}),h=s===u,b=(0,l.h)({...r,ref:(0,f.lq)(d,e.ref),isDisabled:t,isFocusable:n,onClick:callAllHandlers(e.onClick,()=>{a(s)})});return{...b,id:makeTabId(i,s),role:"tab",tabIndex:h?0:-1,type:"button","aria-selected":h,"aria-controls":makeTabPanelId(i,s),onFocus:t?void 0:callAllHandlers(e.onFocus,()=>{c(s);let e=t&&n;o||e||a(s)})}}var[x,C]=(0,o.k)({});function makeTabId(e,t){return`${e}--tab-${t}`}function makeTabPanelId(e,t){return`${e}--tabpanel-${t}`}var[y,T]=(0,o.k)({name:"TabsStylesContext",errorMessage:"useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Tabs />\" "}),B=(0,a.Gp)(function(e,t){let n=(0,a.jC)("Tabs",e),{children:o,className:l,...c}=(0,i.Lr)(e),{htmlProps:u,descendants:d,...f}=function(e){let{defaultIndex:t,onChange:n,index:a,isManual:o,isLazy:i,lazyBehavior:l="unmount",orientation:c="horizontal",direction:u="ltr",...d}=e,[f,h]=(0,r.useState)(t??0),[b,m]=(0,s.T)({defaultValue:t??0,value:a,onChange:n});(0,r.useEffect)(()=>{null!=a&&h(a)},[a]);let v=p(),g=(0,r.useId)(),_=e.id??g,x=`tabs-${_}`;return{id:x,selectedIndex:b,focusedIndex:f,setSelectedIndex:m,setFocusedIndex:h,isManual:o,isLazy:i,lazyBehavior:l,orientation:c,descendants:v,direction:u,htmlProps:d}}(c),h=(0,r.useMemo)(()=>f,[f]),{isFitted:m,...v}=u;return r.createElement(b,{value:d},r.createElement(g,{value:h},r.createElement(y,{value:n},r.createElement(a.m$.div,{className:cx("chakra-tabs",l),ref:t,...v,__css:n.root},o))))});B.displayName="Tabs";var P=(0,a.Gp)(function(e,t){let n=function(){let e=_(),t=m(),{selectedIndex:n,orientation:a}=e,o="horizontal"===a,i="vertical"===a,[l,c]=(0,r.useState)(()=>o?{left:0,width:0}:i?{top:0,height:0}:void 0),[s,d]=(0,r.useState)(!1);return(0,u.G)(()=>
1{if(null==n)return;let e=t.item(n);if(null==e)return;o&&c({left:e.node.offsetLeft,width:e.node.offsetWidth}),i&&c({top:e.node.offsetTop,height:e.node.offsetHeight});let r=requestAnimationFrame(()=>{d(!0)});return()=>{r&&cancelAnimationFrame(r)}},[n,o,i,t]),{position:"absolute",transitionProperty:"left, right, top, bottom, height, width",transitionDuration:s?"200ms":"0ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",...l}}(),o={...e.style,...n},i=T();return r.createElement(a.m$.div,{ref:t,...e,className:cx("chakra-tabs__tab-indicator",e.className),style:o,__css:i.indicator})});P.displayName="TabIndicator";var E=(0,a.Gp)(function(e,t){let n=function(e){let{focusedIndex:t,orientation:n,direction:a}=_(),o=m(),i=(0,r.useCallback)(e=>{let nextTab=()=>{var e;let n=o.nextEnabled(t);n&&(null==(e=n.node)||e.focus())},prevTab=()=>{var e;let n=o.prevEnabled(t);n&&(null==(e=n.node)||e.focus())},r="horizontal"===n,i="vertical"===n,l=e.key,c="ltr"===a?"ArrowLeft":"ArrowRight",u="ltr"===a?"ArrowRight":"ArrowLeft",s={[c]:()=>r&&prevTab(),[u]:()=>r&&nextTab(),ArrowDown:()=>i&&nextTab(),ArrowUp:()=>i&&prevTab(),Home:()=>{var e;let t=o.firstEnabled();t&&(null==(e=t.node)||e.focus())},End:()=>{var e;let t=o.lastEnabled();t&&(null==(e=t.node)||e.focus())}}[l];s&&(e.preventDefault(),s(e))},[o,t,n,a]);return{...e,role:"tablist","aria-orientation":n,onKeyDown:callAllHandlers(e.onKeyDown,i)}}({...e,ref:t}),o=T(),i={display:"flex",...o.tablist};return r.createElement(a.m$.div,{...n,className:cx("chakra-tabs__tablist",e.className),__css:i})});E.displayName="TabList";var j=(0,a.Gp)(function(e,t){let n=function(e){let{children:t,...n}=e,{isLazy:a,lazyBehavior:o}=_(),{isSelected:i,id:l,tabId:c}=C(),u=(0,r.useRef)(!1);i&&(u.current=!0);let s=(0,h.k)({wasSelected:u.current,isSelected:i,enabled:a,mode:o});return{tabIndex:0,...n,children:s?t:null,role:"tabpanel","aria-labelledby":c,hidden:!i,id:l}}({...e,ref:t}),o=T();return r.createElement(a.m$.div,{outline:"0",...n,className:cx("chakra-tabs__tab-panel",e.className),__css:o.tabpanel})});j.displayName="TabPanel";var k=(0,a.Gp)(function(e,t){let n=function(e){let t=_(),{id:n,selectedIndex:a}=t,o=(0,d.W)(e.children),i=o.map((e,t)=>(0,r.createElement)(x,{key:t,value:{isSelected:t===a,id:makeTabPanelId(n,t),tabId:makeTabId(n,t),selectedIndex:a}},e));return{...e,children:i}}(e),o=T();return r.createElement(a.m$.div,{...n,width:"100%",ref:t,className:cx("chakra-tabs__tab-panels",e.className),__css:o.tabpanels})});k.displayName="TabPanels";var D=(0,a.Gp)(function(e,t){let n=T(),o=useTab({...e,ref:t}),i={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...n.tab};return r.createElement(a.m$.button,{...o,className:cx("chakra-tabs__tab",e.className),__css:i})});D.displayName="Tab"},42380:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/conference/[eventId]/booth/[boothId]",function(){return n(42426)}])},85200:function(e,t,n){"use strict";n.d(t,{DY:function(){return AdminPage},hb:function(){return i},lm:function(){return AdminPageHeading},yG:function(){return AdminPageHeader}});var r=n(85893),a=n(48641),o=n(38655);n(67294);let AdminPage=e=>{let{children:t,...n}=e;return(0,r.jsx)(a.xu,{...n,children:t})},AdminPageHeader=e=>{let{children:t,...n}=e;return(0,r.jsx)(a.Kq,{direction:"row",spacing:"4",alignItems:"flex-start",...n,children:t})},AdminPageHeading=e=>{let{children:t,...n}=e;return(0,r.jsx)(a.X6,{size:"md",...n,children:t})},i=(0,o.Gp)((e,t)=>{let{children:n,...o}=e;return(0,r.jsx)(a.xu,{marginY:"5",...o,ref:t,children:n})})},42426:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var r=n(82729),a=n(85893),o=n(50456),i=n(37887),l=n(11163);n(67294);var c=n(85200),u=n(14845),s=n(96317),d=n(48641),f=n(48178),h=n(8950),b=n(41984),m=n(84469);function _templateObject(){let e=(0,r._)(["\n  fragment ConferenceBoothDetailsPage_BoothFragment on ConferenceBooth {\n    _id\n    ...AboutBoothCardWithForm_ConferenceBooth\n    ...ModeratorsCardWithForm_ConferenceBooth\n    ...AdvertisementCardWithForm_ConferenceBooth\n    ...VideoSettingsBoothCardWithForm_ConferenceBooth\n  }\n  ","\n  ","\n  ","\n  ","\n"]);
1return _templateObject=function(){return e},e}let ConferenceBoothDetailsPage=e=>e.boothData?(0,a.jsxs)(d.Kq,{spacing:"4",children:[(0,a.jsx)(f.t,{conferenceBooth:e.boothData}),(0,a.jsx)(m.J,{conferenceBooth:e.boothData}),(0,a.jsx)(b.d,{conferenceBooth:e.boothData}),(0,a.jsx)(h.u,{conferenceBooth:e.boothData})]}):null;function ConferenceBoothDetailsPageContainer_templateObject(){let e=(0,r._)(["\n  query ConferenceBoothDetailsPageContainer_ConferenceBooth(\n    $input: ConferenceBoothInput!\n  ) {\n    conferenceBooth(input: $input) {\n      result {\n        _id\n        parentEvent {\n          _id\n        }\n        ...ConferenceBoothDetailsPage_BoothFragment\n      }\n    }\n  }\n  ","\n"]);return ConferenceBoothDetailsPageContainer_templateObject=function(){return e},e}ConferenceBoothDetailsPage.boothFragment=(0,o.Ps)(_templateObject(),f.t.conferenceBoothFragment,m.J.conferenceBoothFragment,b.d.conferenceBoothFragment,h.u.conferenceBoothFragment);let p=(0,o.Ps)(ConferenceBoothDetailsPageContainer_templateObject(),ConferenceBoothDetailsPage.boothFragment);var v=n(93064),g=(0,n(52609).z)(()=>{var e,t,n;let r=(0,l.useRouter)(),o=r.query.boothId.toString(),d=(0,i.a)(p,{variables:{input:{conferenceBoothId:o}}});return(0,a.jsx)(s.C,{children:(0,a.jsxs)(c.DY,{maxW:"container.xxl",mx:"auto",children:[(0,a.jsx)(u.g,{conferenceBoothId:o,isAdminRoute:!0}),(0,a.jsx)(c.hb,{children:(0,a.jsx)(ConferenceBoothDetailsPage,{boothId:o,boothData:null!==(n=null===(t=d.data)||void 0===t?void 0:null===(e=t.conferenceBooth)||void 0===e?void 0:e.result)&&void 0!==n?n:void 0})})]})})},{requiresEvery:[v.lj.ADMIN_ROLE,v.lj.FEATURE_FLAG_CONFERENCES]})},39615:function(e,t,n){"use strict";n.d(t,{E:function(){return getExternalUrl}});let getExternalUrl=e=>e?e.match(/^http?:\/\//i)||e.match(/^https?:\/\//i)?e:"http://"+e:void 0},48521:function(){},73359:function(e,t,n){"use strict";n.d(t,{t:function(){return useLazyQuery}});var r=n(23564),a=n(67294),o=n(14012),i=n(37887),l=n(66252),c=["refetch","reobserve","fetchMore","updateQuery","startPolling","subscribeToMore"];function useLazyQuery(e,t){var n=(0,i.A)((0,l.x)(t&&t.client),e),u=(0,a.useRef)(),s=u.current?(0,o.J)(t,u.current):t,d=n.useQuery((0,r.pi)((0,r.pi)({},s),{skip:!u.current})),f=d.observable.options.initialFetchPolicy||n.getDefaultFetchPolicy(),h=Object.assign(d,{called:!!u.current}),b=(0,a.useMemo)(function(){for(var e={},t=0;t<c.length;t++)!function(t){var r=h[t];e[t]=function(){return u.current||(u.current=Object.create(null),n.forceUpdate()),r.apply(this,arguments)}}(c[t]);return e},[]);return Object.assign(h,b),[(0,a.useCallback)(function(e){u.current=e?(0,r.pi)((0,r.pi)({},e),{fetchPolicy:e.fetchPolicy||f}):{fetchPolicy:f};var t=n.asyncUpdate().then(function(e){return Object.assign(e,b)});return t.catch(function(){}),t},[]),h]}}},function(e){e.O(0,[79412,9669,9041,5206,32512,24062,30588,64986,86439,96317,55643,66854,38885,12867,20764,10061,59801,49774,92888,40179],function(){return e(e.s=42380)}),_N_E=e.O()}]);
2//# sourceMappingURL=[boothId]-448a06907a6d31b3.js.map

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.