1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[29697],{25378:function(e,t,r){"use strict";var s=r(67294),n=r(57838),i=r(74443);t.Z=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,s.useRef)({}),r=(0,n.Z)(),a=(0,i.Z)();return(0,s.useEffect)(()=>{let s=a.subscribe(s=>{t.current=s,e&&r()});return()=>a.unsubscribe(s)},[]),t.current}},2350:function(){},76062:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/classic-sheets",function(){return r(41463)}])},78615:function(e,t,r){"use strict";var s=r(85893),n=r(27598),i=r(20976),a=r(11163),l=r(67294);r(34940),t.Z=e=>t=>{let[r,o]=l.useState(!1),c=i.Z.LoggedIn(),d=(0,a.useRouter)();return(l.useEffect(()=>{o(!0),c||d.push(n.n.Admin.LoginWithReturnUrl(d.asPath))},[c,d]),r&&c)?(0,s.jsx)(e,{...t}):null}},44440:function(e,t,r){"use strict";r.d(t,{s:function(){return l}});var s=r(85893),n=r(20631);let i={green:"bg-success-surface-subtle text-fg-success-darker border border-success-border-subtle",amber:"bg-warning-surface-subtle text-fg-warning-darker-1 border border-warning-border-subtle",red:"bg-error-surface-subtle text-fg-error-darker border border-error-border-subtle",gray:"bg-surface-grey-primary text-fg-grey-secondary border border-border-grey-minimal",blue:"bg-surface-blue-primary text-fg-blue-primary border border-border-blue-subtle",indigo:"bg-surface-blue-secondary text-fg-blue-primary-sec border border-border-blue-lighter-p",cyan:"bg-surface-cyan-primary text-fg-cyan-darker-1 border border-border-cyan-subtle-p",purple:"bg-status-purple-bg text-status-purple-text border border-border-grey-white",orange:"bg-status-orange-bg text-status-orange-text border border-border-grey-white"},a={green:"bg-success-surface-default",amber:"bg-warning-surface-default",red:"bg-error-surface-default",gray:"bg-fg-grey-light-3",blue:"bg-surface-blue-contrast",indigo:"bg-fg-blue-primary-sec",cyan:"bg-fg-cyan-default",purple:"bg-status-purple-text",orange:"bg-status-orange-text"};function l(e){var t,r;let{variant:l="gray",label:o,dot:c=!1,className:d}=e,u=null!==(t=i[l])&&void 0!==t?t:i.gray,m=null!==(r=a[l])&&void 0!==r?r:a.gray;return(0,s.jsxs)("span",{className:(0,n.cn)("inline-flex items-center gap-1.5 rounded-full px-2.5 py-0.5 text-[11px] font-semibold tracking-wide uppercase",u,d),children:[c&&(0,s.jsx)("span",{className:(0,n.cn)("h-1.5 w-1.5 rounded-full shrink-0",m)}),o]})}},64436:function(e,t,r){"use strict";r.d(t,{m:function(){return l}});var s=r(85893),n=r(53854),i=r(18470),a=r(88838);function l(e){let{open:t,onConfirm:r,onCancel:l,loading:o=!1,title:c="Are you sure?",message:d="This action cannot be undone.",confirmLabel:u="Delete",cancelLabel:m="Cancel"}=e;return(0,s.jsx)(a.z,{open:t,onClose:l,title:" ",maxWidth:"max-w-md",compact:!0,footer:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.w,{variant:"secondary",onClick:l,size:"md",children:m}),(0,s.jsx)(i.w,{variant:"danger",onClick:r,loading:o,size:"md",children:u})]}),children:(0,s.jsxs)("div",{className:"flex flex-col items-center gap-3 py-1 text-center",children:[(0,s.jsx)("div",{className:"flex items-center justify-center w-11 h-11 rounded-full bg-error-surface-subtle border border-error-border-subtle",children:(0,s.jsx)(n.baL,{className:"w-6 h-6 text-fg-error-default"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-base font-semibold text-fg-grey-primary",children:c}),(0,s.jsx)("p",{className:"mt-1 text-sm text-fg-grey-secondary",children:d})]})]})})}},74040:function(e,t,r){"use strict";r.d(t,{y:function(){return n}});var s=r(85893);function n(e){var t;let{title:r,description:n,actions:i,children:a,contentClassName:l="",theme:o="cyan",compact:c=!1,showOverline:d=!0,showHero:u=!0}=e,m={cyan:{shell:"bg-surface-surface-default",overline:"text-fg-grey-secondary",description:"text-fg-grey-secondary"},emerald:{shell:"bg-success-surface-subtle",overline:"text-fg-grey-secondary",description:"text-fg-grey-secondary"}},h=null!==(t=m[o])&&void 0!==t?t:m.cyan;return(0,s.jsxs)(s.Fragment,{children:[u?(0,s.jsx)("div",{className:"relative mb-4 overflow-hidden rounded-md border-0 shadow-sm text-fg-grey-primary ".concat(c?"px-3 py-2.5 md:px-4 md:py-3":"px-3.5 py-3 md:px-4 md:py-3.5"," ").concat(h.shell),children:(0,s.jsxs)("div",{className:"relative flex flex-col gap-3 md:flex-row md:items-end md:justify-between",children:[(0,s.jsxs)("div",{children:[d?(0,s.jsx)("p",{className:"text-[11px] uppercase tracking-[0.2em] font-semibold ".concat(h.overline),children:"Admin Console"}):null,(0,s.jsx)("h1",{className:"mt-1 text-2xl font-bold tracking-tight text-fg-grey-primary md:text-[30px]",children:r}),n&&(0,s.jsx)("p",{className:"mt-1.5 text-sm text-fg-grey-secondary ".concat(h.description),children:n})]}),i?(0,s.jsx)("div",{className:"flex items-center gap-2 text-fg-grey-primary",children:i}):null]})}):null,(0,s.jsx)("div",{className:l,children:a})]})}},3284:function(e,t,r){var s=r(83454);r(2350);var n=r(67294),i=n&&"object"==typeof n&&"default"in n?n:{default:n};function a(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}var l=void 0!==s&&s.env&&!0,o=function(e){return"[object String]"===Object.prototype.toString.call(e)},c=function(){function e(e){var t=void 0===e?{}:e,r=t.name,s=void 0===r?"stylesheet":r,n=t.optimizeForSpeed,i=void 0===n?l:n;d(o(s),"`name` must be a string"),this._name=s,this._deletedRulePlaceholder="#"+s+"-deleted-rule____{}",d("boolean"==typeof i,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=i,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var a=document.querySelector('meta[property="csp-nonce"]');this._nonce=a?a.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){d("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),d(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(d(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
1Sheet(),this._optimizeForSpeed||(l||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(d(o(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return l||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var s=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,s))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed){var r=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(s){l||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var s=this._tags[e];d(s,"old rule at index `"+e+"` not found"),s.textContent=t}return e},r.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];d(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},r.cssRules=function(){var e=this;return this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&d(o(t),"makeStyleTag accepts only strings as second parameter");var s=document.createElement("style");this._nonce&&s.setAttribute("nonce",this._nonce),s.type="text/css",s.setAttribute("data-"+e,""),t&&s.appendChild(document.createTextNode(t));var n=document.head||document.getElementsByTagName("head")[0];return r?n.insertBefore(s,r):n.appendChild(s),s},a(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),t&&a(e,t),e}();function d(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var u=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},m={};function h(e,t){if(!t)return"jsx-"+e;var r=String(t),s=e+r;return m[s]||(m[s]="jsx-"+u(e+"-"+r)),m[s]}function f(e,t){var r=e+t;return m[r]||(m[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),m[r]}var p=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,s=void 0===r?null:r,n=t.optimizeForSpeed,i=void 0!==n&&n;this._sheet=s||new c({name:"styled-jsx",optimizeForSpeed:i}),this._sheet.inject(),s&&"boolean"==typeof i&&(this._sheet.setOptimizeForSpeed(i),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),s=r.styleId,n=r.rules;if(s in this._instancesCounts){this._instancesCounts[s]+=1;return}var i=n.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[s]=i,this._instancesCounts[s]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var s=this._fromServer&&this._fromServer[r];s?(s.parentNode.removeChild(s),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],s=e[1];return i.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:s}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,s=e.id;if(r){var n=h(s,r);return{styleId:n,rules:Array.isArray(t)?t.map(function(e){return f(n,e)}):[f(n,t)]}}return{styleId:h(s),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),b=n.createContext(null);b.displayName="StyleSheetContext";var g=i.default.useInsertionEffect||i.default.useLayoutEffect,y=new p;function x(e){var t=y||n.useContext(b);return t&&g(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}x.dynamic=function(e){return e.map(function(e){return h(e[0],e[1])}).join(" ")},t.style=x},35738:function(e,t,r){"use strict";e.exports=r(3284).style}
1,60352:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return f}});var s=r(85893),n=r(67294),i=r(10584),a=r(30124),l=r(84567),o=r(18470),c=r(88838),d=r(66998),u=r(18973),m=r(16428),h=r(13152);function f(e){let{open:t,mode:r,sheet:f,onClose:p,onSuccess:b}=e,[g]=i.Z.useForm(),y="edit"===r,x=(0,n.useMemo)(()=>y&&f?{id:null==f?void 0:f.id,name:null==f?void 0:f.name,variable_pace:!!(null==f?void 0:f.variable_pace),is_premium:!!(null==f?void 0:f.is_premium),data_json:(0,m.D3)(null==f?void 0:f.data)}:{id:void 0,name:"",variable_pace:!1,is_premium:!1,data_json:""},[y,f]);(0,n.useEffect)(()=>{t&&(g.resetFields(),g.setFieldsValue(x))},[t,x,g]);let v=async e=>{try{let t=(0,m.$u)(e);y&&(null==f?void 0:f.id)!=null&&(t.id=Number(null==f?void 0:f.id)),await h.Z.createOrUpdateSheet(t),u.Z.ShowSuccess(y?"Sheet updated":"Sheet created"),null==p||p(),null==b||b()}catch(e){throw u.Z.ShowError((null==e?void 0:e.message)||"Save failed"),e}};if(!t)return null;let _=async()=>{let e=await g.validateFields();await v(e)};return(0,s.jsx)(c.z,{open:t,onClose:p,title:y?"Update Sheet #".concat(null==f?void 0:f.id):"Create Classic Sheet",description:"Use JSON data format for section/problem structure.",maxWidth:"max-w-5xl",panelClassName:"!rounded-md",bodyClassName:"!px-5 !py-4",footer:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.w,{variant:"secondary",size:"sm",rounded:!1,className:"!rounded-md !px-5 !py-2",onClick:p,children:"Cancel"}),(0,s.jsx)(o.w,{variant:"primary",size:"sm",rounded:!1,className:"!rounded-md !px-5 !py-2",onClick:_,children:y?"Update":"Create"})]}),children:(0,s.jsxs)("div",{className:"max-h-[72vh] overflow-auto custom-scrollbar pr-1",children:[(0,s.jsxs)("div",{className:"mb-3 flex items-center justify-between gap-2 rounded-md border border-border-grey-minimal bg-surface-surface-subtle p-2.5",children:[(0,s.jsxs)("p",{className:"mb-0 text-xs font-semibold text-slate-600",children:["Paste JSON array in ",(0,s.jsx)("span",{className:"font-bold",children:"Problems Data"}),"."]}),(0,s.jsx)(o.w,{variant:"secondary",size:"sm",className:"!rounded-md !px-3",onClick:()=>{try{var e;let t=g.getFieldValue("data_json"),r=JSON.parse(String(t||"")),s=Array.isArray(r)?r:null!==(e=null==r?void 0:r.data)&&void 0!==e?e:r;g.setFieldsValue({data_json:JSON.stringify(s,null,2)}),u.Z.ShowSuccess("JSON formatted")}catch(e){u.Z.ShowError("Invalid JSON - cannot format")}},children:"Format JSON"})]}),(0,s.jsxs)(i.Z,{form:g,layout:"vertical",initialValues:x,className:"space-y-3",children:[y?(0,s.jsx)(i.Z.Item,{label:"ID",name:"id",className:"mb-2",children:(0,s.jsx)(a.default,{disabled:!0,className:"!h-10 !rounded-md !border-border-grey-minimal"})}):null,(0,s.jsx)(i.Z.Item,{label:null,name:"name",className:"mb-0 mt-2",rules:[{required:!0,message:"Sheet name is required"}],children:(0,s.jsx)(d.v,{label:"Sheet Name",required:!0,placeholder:"Enter sheet name"})}),(0,s.jsxs)("div",{className:"mt-3 grid grid-cols-1 gap-3 md:grid-cols-2",children:[(0,s.jsx)(i.Z.Item,{name:"variable_pace",valuePropName:"checked",className:"mb-0 rounded-md border border-border-grey-minimal bg-surface-surface-default px-3 py-2",children:(0,s.jsx)(l.Z,{children:"Variable pace"})}),(0,s.jsx)(i.Z.Item,{name:"is_premium",valuePropName:"checked",className:"mb-0 rounded-md border border-border-grey-minimal bg-surface-surface-default px-3 py-2",children:(0,s.jsx)(l.Z,{children:"Premium sheet"})})]}),(0,s.jsx)(i.Z.Item,{label:"Problems Data (JSON)",name:"data_json",className:"mb-0 mt-3",rules:[{required:!0,message:"Problems JSON is required"}],children:(0,s.jsx)(a.default.TextArea,{placeholder:'[{"name":"Section 1","problems":[...]}]',autoSize:{minRows:16,maxRows:30},className:"!rounded-md !border-border-grey-minimal !font-mono !text-xs"})})]})]})})}},41463:function(e,t,r){"use strict";r.r(t);var s=r(85893),n=r(67294),i=r(41664),a=r.n(i),l=r(78615),o=r(44440),c=r(18470),d=r(64436),u=r(55220),m=r(74040),h=r(93748),f=r(60352),p=r(27598),b=r(18973),g=r(16428),y=r(13152),x=r(53854);t.default=(0,l.Z)(function(){let[e,t]=(0,n.useState)(!0),[r,i]=(0,n.useState)([]),[l,v]=(0,n.useState)(!1),[_,S]=(0,n.use
1State)("create"),[j,N]=(0,n.useState)(null),[w,C]=(0,n.useState)(null),[F,k]=(0,n.useState)(!1),z=async()=>{t(!0);try{let e=await y.Z.getAllSheets();i((0,g.c)(e))}finally{t(!1)}};(0,n.useEffect)(()=>{let e=!0;return(async()=>{try{t(!0);let r=await y.Z.getAllSheets();e&&i((0,g.c)(r))}finally{e&&t(!1)}})(),()=>{e=!1}},[]);let R=(0,n.useMemo)(()=>[...r||[]].sort((e,t)=>Number((null==e?void 0:e.id)||0)-Number((null==t?void 0:t.id)||0)),[r]),A=e=>{S("edit"),N(e),v(!0)},I=async e=>{try{k(!0),await y.Z.deleteSheet(null==e?void 0:e.id),b.Z.ShowSuccess("Sheet deleted successfully"),await z()}catch(e){b.Z.ShowError("Failed to delete sheet")}finally{k(!1),C(null)}},O=(0,n.useMemo)(()=>[{title:"ID",dataIndex:"id",key:"id",className:"w-[90px]",render:e=>(0,s.jsxs)("span",{className:"text-slate-600",style:{fontVariantNumeric:"tabular-nums"},children:["#",e]})},{title:"Sheet",dataIndex:"name",key:"name",render:e=>(0,s.jsx)("p",{className:"mb-0 text-sm font-semibold text-slate-800",children:e||"Untitled"})},{title:"Type",key:"type",className:"w-[210px]",render:(e,t)=>(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,s.jsx)(o.s,{variant:(null==t?void 0:t.is_premium)?"blue":"gray",label:(null==t?void 0:t.is_premium)?"Premium":"Free",className:"normal-case tracking-normal"}),(0,s.jsx)(o.s,{variant:(null==t?void 0:t.variable_pace)?"cyan":"amber",label:(null==t?void 0:t.variable_pace)?"Variable Pace":"Fixed Pace",className:"normal-case tracking-normal"})]})},{title:"Content",key:"content",className:"w-[190px]",render:(e,t)=>{let r=(0,g.Ij)(t);return(0,s.jsxs)("span",{className:"text-xs font-medium text-slate-600",children:[r.sectionsCount," sections - ",r.problemsCount," problems"]})}},{title:"Manage",key:"actions",className:"w-[170px]",render:(e,t)=>(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,s.jsx)("button",{type:"button",title:"Edit sheet",onClick:()=>A(t),className:"inline-flex h-8 w-8 items-center justify-center rounded-md border border-border-grey-minimal bg-surface-surface-default text-slate-600 transition-colors hover:border-accent-brand/40 hover:text-accent-brand",children:(0,s.jsx)(x.bnh,{className:"h-4 w-4"})}),(0,s.jsx)("button",{type:"button",title:"Delete sheet",onClick:()=>C(t),className:"inline-flex h-8 w-8 items-center justify-center rounded-md border border-rose-200 bg-rose-50 text-rose-600 transition-colors hover:bg-rose-100",children:(0,s.jsx)(x.Bhs,{className:"h-4 w-4"})})]})}],[]);return(0,s.jsx)(u.l,{backgroundVariant:"mesh-cyan",children:(0,s.jsxs)(m.y,{title:"Classic Sheets",description:"Create, update, and curate classic programming sheets.",theme:"cyan",compact:!0,showOverline:!1,actions:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a(),{href:p.n.Admin.ClassicSheets.SheetListsUrl(),children:(0,s.jsx)("span",{children:(0,s.jsx)(c.w,{variant:"secondary",size:"sm",className:"!rounded-md !px-4",children:"Manage Sheet Lists"})})}),(0,s.jsx)(c.w,{variant:"primary",size:"sm",className:"!rounded-md !px-4",leftIcon:(0,s.jsx)(x.r7I,{className:"h-4 w-4"}),onClick:()=>{S("create"),N(null),v(!0)},children:"Create Sheet"})]}),children:[(0,s.jsx)(h.A,{entries:R,columns:O,rowKey:"id",filterParams:["id","name"],searchPlaceholder:"Search sheets by ID or name",selectable:!1,tableProps:{loading:e,pagination:{defaultPageSize:12}}}),(0,s.jsx)(f.default,{open:l,mode:_,sheet:j,onClose:()=>{v(!1),N(null)},onSuccess:z}),(0,s.jsx)(d.m,{open:!!w,onCancel:()=>C(null),onConfirm:()=>I(w),loading:F,title:"Delete this sheet?",message:"This will permanently remove the sheet data. This action cannot be undone.",confirmLabel:"Delete",cancelLabel:"Cancel"})]})})})},34940:function(){}},function(e){e.O(0,[3874,29570,41664,10584,84567,7134,85319,55220,93748,24542,49774,92888,40179],function(){return e(e.s=76062)}),_N_E=e.O()}]);
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.