1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6b0223da-6a3e-4289-9087-2d77dbfb1c2c",e._sentryDebugIdIdentifier="sentry-dbid-6b0223da-6a3e-4289-9087-2d77dbfb1c2c")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[763],{10662:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var s=r(15383),n=r(14343),l=r(24458),i=r.n(l),o=r(80063),d=r(90265),a=r(18631),u=r(57760),c=r(18903),f=r(98096),y=r(82753),h=r(76324);(0,f.J1)` 2 query SlideGeneratorPresetLayoutDocument($presetId: ID!) { 3 slideGeneratorPresetLayoutDocument(presetId: $presetId) 4 } 5`;let p=()=>{let e=(0,o.useRouter)(),t=e.query.slug,r=e.query.presetId,l="string"==typeof r&&r.length>0?r:void 0,f=e.isReady&&void 0===l,{document:p,isPending:x,isError:g,error:m}=(e=>{let{data:t,loading:r,error:s}=(0,y.I)(h.Eae,{variables:{presetId:e},skip:"string"!=typeof e||0===e.length}),{document:l,parseError:i}=(0,n.useMemo)(()=>{let e=t?.slideGeneratorPresetLayoutDocument;if("string"!=typeof e)return{document:void 0,parseError:void 0};try{let t=JSON.parse(e);if(null===t||"object"!=typeof t)return{document:void 0,parseError:Error("Invalid preset layout document shape")};return{document:t,parseError:void 0}}catch(e){return{document:void 0,parseError:e}}},[t]);return{document:l,isPending:r,isError:!!s||!!i,error:s??i}})(e.isReady&&!f?l:void 0);return f?(0,s.jsx)(a.F,{children:(0,s.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-4 px-4",children:[(0,s.jsx)("p",{className:"text-center text-red-600",children:"èªã¿è¾¼ã¿ã«å¤±æãã¾ããã"}),"string"==typeof t&&t.length>0?(0,s.jsx)(i(),{href:d.B.SlideGenerator.Layouts.link(t),className:"text-sm text-blue-600 underline",children:"ã¬ã¤ã¢ã¦ã管çã¸"}):null]})}):!e.isReady||x?(0,s.jsx)(a.F,{children:(0,s.jsx)("div",{className:"flex h-full items-center justify-center",children:(0,s.jsx)("div",{className:"text-gray-500",children:"èªã¿è¾¼ã¿ä¸..."})})}):g||!p?(0,s.jsx)(a.F,{children:(0,s.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-4 px-4",children:[(0,s.jsx)("p",{className:"max-w-lg text-center text-red-600",children:m instanceof Error?m.message:"ãã¼ã¿ãèªã¿è¾¼ãã¾ããã§ãã"}),"string"==typeof t&&t.length>0?(0,s.jsx)(i(),{href:d.B.SlideGenerator.Layouts.link(t),className:"text-sm text-blue-600 underline",children:"ã¬ã¤ã¢ã¦ã管çã¸"}):null]})}):(0,s.jsx)(a.F,{children:(0,s.jsx)(u.t,{initialDocument:p,children:(0,s.jsx)(c.Y,{showColorSettings:!1,showBackToLayouts:!0,showContentRegionToggle:!0})})})}},38208:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/t/[slug]/slide-generator/layouts/[presetId]",function(){return r(10662)}])}},e=>{e.O(0,[8971,7738,8061,4350,4361,5159,6364,8635,8631,7797,1260,636,6593,8792],()=>e(e.s=38208)),_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.