(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4639],{20342:function(e,t){"use strict";t.Z={src:"/_next/static/media/GammaLogoGradient.43edb67f.svg",height:197,width:170,blurWidth:0,blurHeight:0}},24240:function(e,t,n){"use strict";n.r(t),t.default={src:"/_next/static/media/atmosphere-background.a041341a.png",height:1513,width:2666,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAMFBMVEX48+v01bT45tz3zMj6yLb7r8X12sT34tH5wZL3zK737eX8qaz02eX4xJz3y+Hz6+1mpsZYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAALElEQVR4nAXBhwEAIAjAsLJEwfH/tyaAWsR9gHp3bHKIu9lmnTmXVjFEJIEPE40A11cqNgsAAAAASUVORK5CYII=",blurWidth:8,blurHeight:5}},68072:function(e,t,n){"use strict";n.r(t),t.default={src:"/_next/static/media/canaveral.a27ae3b5.png",height:2250,width:3e3,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAADFBMVEUEBQcIK0MFDBYFFSbMf93dAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIUlEQVR4nDWIwQkAAAiELt1/5yjKj2LAGnLeEDVAFr340Qf8AD6GP0loAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:6}},57994:function(e,t,n){"use strict";n.r(t),t.default={src:"/_next/static/media/gravity-background.4fa2e36a.png",height:3344,width:5614,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAABlBMVEXz7ePz7eTZ2lmJAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAFUlEQVR4nGNggAFGRkYQBhMQBgYAAAGmAA/DfbWqAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5}},40217:function(e,t,n){"use strict";n.r(t),t.default={src:"/_next/static/media/prism-background.2232a16e.png",height:1672,width:3707,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAALVBMVEX39ezOxens4OXW4vDsxuD04eLe5e7dw+Llu+DSrOLT0uzgr+Pg2eTl1N7IseCgVMHGAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJ0lEQVR4nAXBhwEAIAjAsLLB9f+5Jmi1uwfcN7M74IiIlEJami3lAwzQAKIintUmAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:4}},36675:function(e,t,n){"use strict";n.r(t),t.default={src:"/_next/static/media/satellite-background.e070b8bc.jpg",height:1597,width:2400,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAFAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAf/xAAbEAEAAgIDAAAAAAAAAAAAAAABAAIDBBMhMf/EABQBAQAAAAAAAAAAAAAAAAAAAAH/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwCXW3rWxleHEJ6g9xERD//Z",blurWidth:8,blurHeight:5}},16426:function(e,t){"use strict";t.Z={src:"/_next/static/media/placeholderBackground.e75ddbc7.svg",height:315,width:600,blurWidth:0,blurHeight:0}},63961:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbilityFactory=t.ProductFeatureMap=void 0;let l=n(67827);t.ProductFeatureMap={plus:["ai_card_count_plus","change_history_unlimited","folders","hide_gamma_badge","unlimited_credits"],pro:["ai_card_count_pro","ai_premium_models","change_history_unlimited","custom_domains","custom_fonts","folders","hide_gamma_badge","individual_analytics","password_protected_docs","unlimited_credits"]};let a={plus:["hide_gamma_badge"],pro:["hide_gamma_badge"]};t.AbilityFactory=class{createForUser(e,n){let{can:o,build:i}=new l.AbilityBuilder(l.Ability);if(e){if(["gamma-admin@gamma.app"].includes(e.email))o(["admin","view"],"Organization"),o(t.ProductFeatureMap.pro,"Organization"),o(["manage","edit","comment","view"],"Doc"),o(["manage","edit","comment","view"],"Comment");else{for(let t of e.workspaceMemberships||[])t.disabled||("admin"===t.role&&o(["admin","view"],"Organization",{id:t.workspace.id}),"member"===t.role&&o(["view"],"Organization",{id:t.workspace.id}));for(let l of(o(t.ProductFeatureMap.plus,"Organization",{products:{$in:["plus"]}}),o(t.ProductFeatureMap.pro,"Organization",{products:{$in:["pro"]}}),o(["manage","edit","comment","view"],"Doc",{collaborators:{$elemMatch:{"user.id":e.id,permission:"manage"}}}),o(["edit","comment","view"],"Doc",{collaborators:{$elemMatch:{"user.id":e.id,permission:"edit"}}}),o(["edit","comment","view"],"Doc",{accessLinks:{$elemMatch:{token:n,permission:"edit"}}}),o(["comment","view"],"Doc",{collaborators:{$elemMatch:{"user.id":e.id,permission:"comment"}}}),o(["comment","view"],"Doc",{accessLinks:{$elemMatch:{token:n,permission:"comment"}}}),o("view","Doc",{collaborators:{$elemMatch:{"user.id":e.id,permission:"view"}}}),o("view","Doc",{accessLinks:{$elemMatch:{token:n,permission:"view"}}}),e.organizations||[]))o(["manage","edit","comment","view"],"Doc",{"organization.id":l.id,orgAccess:"manage"}),o(["edit","comment","view"],"Doc",{"organization.id":l.id,orgAccess:"edit"}),o(["comment","view"],"Doc",{"organization.id":l.id,orgAccess:"comment"}),o("view","Doc",{"organization.id":l.id,orgAccess:"view"});for(let t of e.channelIds||[])o(["manage","edit","comment","view"],"Doc",{channels:{$elemMatch:{id:t,permission:"manage"}}}),o(["edit","comment","view"],"Doc",{channels:{$elemMatch:{id:t,permission:"edit"}}}),o(["comment","view"],"Doc",{channels:{$elemMatch:{id:t,permission:"comment"}}}),o(["view"],"Doc",{channels:{$elemMatch:{id:t,permission:"view"}}});o("manage","Comment",{"user.id":e.id}),o("manage","SavedMedia",{userId:e.id})}}else(n||""===n)&&(o("view","Doc",{accessLinks:{$elemMatch:{token:n,permission:"edit",type:"token"}}}),o("view","Doc",{accessLinks:{$elemMatch:{token:n,permission:"comment",type:"token"}}}),o("view","Doc",{accessLinks:{$elemMatch:{token:n,permission:"view",type:"token"}}}));return o(a.plus,"Organization",{products:{$in:["plus"]}}),o(a.pro,"Organization",{products:{$in:["pro"]}}),o("view","Doc",{publicAccess:"view"}),i({detectSubjectType:e=>e.__typename?e.__typename:e.constructor.name})}}},17504:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},23347:function(e,t,n){"use strict";var l=Object.create?function(e,t,n,l){void 0===l&&(l=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,l,a)}:function(e,t,n,l){void 0===l&&(l=n),e[l]=t[n]},a=function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||l(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(63961),t),a(n(17504),t)},14410:function(e,t,n){"use strict";n.d(t,{v:function(){return em}});var l=n(52322);window.requestIdleCallback=window.requestIdleCallback||function(e){let t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)},n(70681);var a=n(55671),o=n(62202),i=n(18200),r=n(81674),s=n(94523),d=n(97729),u=n.n(d),c=n(2784),m=n(43997);n(61036),n(40917);var f=n(33957),p=n(12129),g=n(44719),h=n(78405);let b=new f.i(()=>new p.y(e=>{e.next({data:{}}),e.complete()})),y=()=>{let e=new g.f({cache:new h.h,connectToDevTools:!1,link:b,ssrMode:!0});return e};var v=n(57660),k=n(87254),x=n(5879),w=n(84153);let S=()=>{k.ag.loadAndActivate({locale:"en",messages:w.messages})},C=()=>{let e=(0,c.useRef)(!1);e.current||(S(),e.current=!0)},z=e=>{let{children:t}=e;return C(),(0,l.jsxs)(x.bd,{i18n:k.ag,children:[t," "]})};var A=n(37295),I=n(94090),j=n(95426),F=n(38035),B=n(77533),M=n(17190),E=n(43297),_=n(74409),O=n(28535),P=n(10625),T=n(67046),R=n(75078),N=n(332),L=n(99058),D=n(25481),W=n(69024),U=n(42946),H=n(49929),G=n(14274),q=n(36651),V=n(96933);let K=(0,c.memo)(e=>{let{showRing:t}=e,{user:n,anonymousUser:a,isUserLoading:o,color:i}=(0,q.SE)(),r=(0,V.i)(["xs",t?"sm":"xs"]),d={...a,organizations:[]},{displayName:u,profileImageUrl:c}=n||d;return(0,l.jsxs)(P.v,{children:[(0,l.jsx)(s.kH,{label:n?(0,l.jsx)(x.cC,{id:"hBHHtH"}):u,children:(0,l.jsx)(T.j,{tabIndex:0,_focus:{shadow:"outline"},as:R.q,bg:i.value,color:i.isDark?"white":"black",border:t?"solid 2px ".concat(i.value):void 0,shadow:t?"base":void 0,outline:"none",name:o?void 0:u,src:c,size:r,alignItems:"center",className:"profile-menu-avatar",flexDirection:"column",cursor:"pointer",transition:"box-shadow 150ms ease-out",_hover:{shadow:"0 0 0 3px #CBD5E0"},onDragStart:e=>e.preventDefault(),sx:{span:{display:"none"}}})}),(0,l.jsx)(N.h,{children:(0,l.jsx)(L.q,{zIndex:"popover",children:n?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(W.k,{title:n.email||u,children:(0,l.jsx)(D.s,{color:"red.500",icon:(0,l.jsx)(H.G,{icon:U.jLD,fixedWidth:!0}),onClick:()=>{window.location.href="".concat(G.v.API_HOST,"/logout")},children:(0,l.jsx)(x.cC,{id:"fcWrnU"})})})}):(0,l.jsx)(D.s,{icon:(0,l.jsx)(H.G,{icon:U.$Wj,fixedWidth:!0}),onClick:()=>{window.location.href="/signin"},children:(0,l.jsx)(x.cC,{id:"n1ekoW"})})})})]})});K.displayName="ProfileMenu";let Y={border:"1px solid #e7dfd7",borderRadius:"16px",backgroundColor:"hsla(0, 0%, 100%, 0.95)",shadow:"0 20px 30px 0 rgb(211 187 162 / 64%)",backdropFilter:"blur(10px)"},$={position:"relative",fontWeight:"500",fontFamily:"p22-mackinac-pro, sans-serif",lineHeight:"1.2em",letterSpacing:"-0.03em",backgroundImage:"linear-gradient(50deg, #2b0aff, #ff5b8a 49%, #ff5b8a 53%, #ff5b8a 55%, #fba64b 77%, #f99b52)",backgroundClip:"text",color:"transparent"},J=e=>{let{lede:t,title:n,children:a,maxW:o="60em",minH:i,stackProps:r={},titleProps:s={}}=e;return(0,l.jsx)(M.W,{maxW:o,minH:i,children:(0,l.jsxs)(E.K,{...Y,p:[8,12],spacing:4,...r,children:[t&&("string"==typeof t?(0,l.jsx)(_.X,{size:"md",children:t}):t),(0,l.jsx)(_.X,{sx:$,fontSize:["32px","48px"],...s,children:n}),(0,l.jsx)(O.xu,{fontSize:["lg","xl"],w:"100%",children:a})]})})};class X extends c.Component{static getDerivedStateFromError(e){return{hasError:!0,errMessage:e.message,shouldMountChildren:!1}}render(){return(0,l.jsxs)(l.Fragment,{children:[this.state.hasError&&(0,l.jsx)(Z,{pos:"absolute",top:0,errMessage:""===this.state.errMessage?void 0:this.state.errMessage}),this.state.shouldMountChildren&&this.props.children]})}constructor(e){super(e),this.state={hasError:!1,errMessage:"",shouldMountChildren:!0}}}let Z=e=>{let{errMessage:t,...n}=e;return(0,l.jsx)(F.k,{"data-error-component":!0,w:"100vw",h:"100vh",overflow:"hidden",bg:"gray.50",zIndex:99999,...n,children:(0,l.jsx)(F.k,{justifyContent:"center",alignItems:"center",flex:1,p:[4,16],left:"50%",top:"50%",children:(0,l.jsx)(J,{lede:"",title:"Uh oh.",stackProps:{shadow:"lg-dark",position:"relative"},children:(0,l.jsx)(B.x,{children:t||"An unexpected error occurred."})})})})};var Q=n(1198),ee=n(21805),et=n(98621),en=n.n(et),el=n(46637),ea=n(50245);let eo=e=>({id:e,displayName:e?(0,el.e)(e):""}),ei=e=>{let t=e?(0,el.v)(e):"#cccccc";return{value:t,isDark:en()(t).isDark()}},er=e=>{let{children:t}=e,[n]=(0,c.useState)(()=>{let e=ee.Z.get("gamma_visitor_id")||"unknown",t=eo(e);return{anonymousUser:t,isUserLoading:!1,userStatus:"loggedOut",isGammaOrgUser:!1,color:ei(e)}});return(0,l.jsx)(ea.S.Provider,{value:n,children:t})};var es=n(60742),ed=n(13265);r.vc.autoAddCss=!1;let eu=(0,I.bh)(),ec=(0,o.B1)(s.qZ,{styles:{global:{".ProseMirror":{outline:"0 none"}}}});(0,es.Lq)(),A.F7.initialize(),(0,v.lt)(),(0,j.a)("appMainBundleLoaded"),console.log("\uD83D\uDE80 GammaSite main wrapper imported"),window.console.debug=()=>{};let em=e=>function(t){return(0,l.jsxs)(ef,{children:[(0,l.jsxs)(u(),{children:[(0,l.jsx)("meta",{content:"Gamma",property:"og:title"},"og:title"),(0,l.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900",rel:"stylesheet"})]}),(0,l.jsx)(e,{...t})]})},ef=e=>{let{children:t}=e;console.log("\uD83D\uDE80 GammaSite sites wrapper rendered"),(0,ed.k)();let n=(0,c.useMemo)(()=>y(),[]),o=(0,Q.aY)();return(0,l.jsx)(m.zt,{store:eu,children:(0,l.jsx)(z,{children:(0,l.jsx)(i.x,{theme:ec,resetCSS:!0,children:(0,l.jsx)(X,{children:(0,l.jsx)(a.e,{client:n,children:(0,l.jsx)(er,{children:(0,l.jsx)(Q.dv,{value:o,children:t})})})})})})})}},14274:function(e,t,n){"use strict";n.d(t,{v:function(){return f}});var l,a=n(70314),o=n.n(a),i=n(34406);let r=new URLSearchParams((0,window.location.search)).get("EDITOR_ANIMATION_DEBUG_FACTOR"),s=window.Cypress?0:null!==r?Number(r):null,d=document.cookie.includes("gammadebug=gtpwtw"),u=document.cookie.includes("gamma_e2e_user=true"),c=new URLSearchParams(window.location.search).get("token")||"",m=window.gammaPuppeteerService,f={...null===(l=o()())||void 0===l?void 0:l.publicRuntimeConfig,DEBUG_ENABLED:d,EDITOR_ANIMATION_DEBUG_FACTOR:s,GAMMA_E2E_USER:u,IS_CLIENT_SIDE:!0,IS_USER_TESTING_SESSION:!1,OG_IMAGE_URL:"https://cdn.gamma.app/_app_static/images/og-image-d666e6.jpg",SCHEMA_BUILD:"true"===i.env.SCHEMA_BUILD,SHARE_TOKEN:c,GAMMA_PUPPETEER_SERVICE:m}},11355:function(e,t,n){"use strict";n.d(t,{o:function(){return r}});var l=n(52322),a=n(29494),o=n(2784),i=n(944);let r=(0,o.forwardRef)((e,t)=>{let{initialHeight:n="1em",bottomSpacing:r=0,onChange:s,...d}=e,u=(0,o.useCallback)(()=>{"function"!=typeof t&&(null==t?void 0:t.current)&&(t.current.style.height=n,t.current.style.height="".concat(t.current.scrollHeight+r,"px"))},[n,t,r]);(0,o.useEffect)(()=>{u()},[u]),(0,o.useEffect)(()=>{u()},[u,d.value]);let c=(0,i.lz)(100);return(0,o.useEffect)(()=>{c&&u()},[c,u]),(0,l.jsx)(a.g,{h:n,minH:n,ref:t,resize:"none",overflow:"hidden",...d,onChange:e=>{u(),null==s||s(e)}})});r.displayName="ResizingTextarea"},45588:function(e,t,n){"use strict";n.d(t,{E:function(){return _}});var l=n(52322),a=n(18292),o=n(32899),i=n(62614),r=n(70065),s=n(92850),d=n(26468),u=n(55199),c=n(54326),m=n(2338),f=n(97217),p=n(43297),g=n(77533),h=n(35297),b=n(59669),y=n(87651),v=n(29494),k=n(50250),x=n(75768),w=n(54933),S=n(49929),C=n(94523),z=n(5879),A=n(87254),I=n(2784),j=n(76332),F=n(89458),B=n(88640);let M={[j.pyi.DeceptiveOrMisleading]:{title:(0,l.jsx)(z.cC,{id:"Y5QK1F"})},[j.pyi.Explicit]:{title:(0,l.jsx)(z.cC,{id:"Zeb01n"})},[j.pyi.Other]:{title:(0,l.jsx)(z.cC,{id:"/IX/7x"})},[j.pyi.Spam]:{title:(0,l.jsx)(z.cC,{id:"Y5QK1F"})},[j.pyi.Inappropriate]:{title:(0,l.jsx)(z.cC,{id:"Zeb01n"})}},E=[j.pyi.DeceptiveOrMisleading,j.pyi.Explicit,j.pyi.Other],_=e=>{let{docId:t,buttonType:n,onSubmitReport:r}=e,[s]=(0,F.I)(B.H.abuseReports,[]),[d,u]=(0,I.useState)(s.includes(t||"")),{isOpen:c,onOpen:m,onClose:f}=(0,a.q)({id:"report-page-modal"}),p=(0,I.useCallback)(()=>{u(!0),f(),null==r||r()},[f,r]);return d||!t?null:(0,l.jsxs)(l.Fragment,{children:[c&&(0,l.jsx)(O,{docId:t,isOpen:!0,onClose:f,onSubmit:p}),"iconRight"===n?(0,l.jsx)(C.kH,{label:(0,l.jsx)(z.cC,{id:"ch68HI"}),children:(0,l.jsx)(o.h,{"aria-label":A.ag._({id:"ch68HI"}),borderLeftWidth:"0px",color:"gray.600",variant:"plain",size:"sm",borderLeftRadius:0,icon:(0,l.jsx)(S.G,{icon:w.L1r,size:"sm"}),onClick:m})}):"button"===n?(0,l.jsx)(i.z,{marginX:"auto",colorScheme:"gray",color:"gray.500",size:"sm",variant:"ghost",leftIcon:(0,l.jsx)(S.G,{icon:w.L1r}),onClick:m,children:(0,l.jsx)(z.cC,{id:"ch68HI"})}):null]})},O=e=>{let{docId:t,isOpen:n,onClose:a,onSubmit:o}=e,[w,S]=(0,F.I)(B.H.abuseReports,[]),[_,O]=(0,I.useState)(),[P]=(0,j.mvg)(),[T,R]=(0,I.useState)(),N=(0,r.p)(),L=(0,I.useCallback)(()=>{_&&P({variables:{input:{docId:t,reason:_,description:T}}}).then(()=>{S([...w,t]),N({title:(0,l.jsx)(z.cC,{id:"7sBcV9"}),description:(0,l.jsx)(z.cC,{id:"m02YqD"}),status:"success",duration:5e3,isClosable:!0,position:"top"}),o()})},[_,P,t,T,S,w,N,o]);return(0,l.jsx)(C.Wk,{isDark:!1,children:(0,l.jsxs)(s.u_,{isOpen:n,onClose:a,trapFocus:!1,children:[(0,l.jsx)(d.Z,{}),(0,l.jsxs)(u.h,{children:[(0,l.jsx)(c.x,{children:(0,l.jsx)(z.cC,{id:"ch68HI"})}),(0,l.jsx)(m.o,{}),(0,l.jsx)(f.f,{children:(0,l.jsxs)(p.K,{spacing:0,children:[(0,l.jsx)(g.x,{mb:6,children:(0,l.jsx)(z.cC,{id:"oNyQYO"})}),(0,l.jsx)(h.E,{onChange:e=>{O(e)},value:_,children:(0,l.jsx)(p.K,{children:E.map(e=>{let t=M[e];return(0,l.jsx)(b.Y,{value:e,children:null==t?void 0:t.title},e)})})}),(0,l.jsx)(y.U,{in:_===j.pyi.Other,children:(0,l.jsx)(v.g,{onChange:e=>{R(e.target.value)},maxLength:200,placeholder:A.ag._({id:"1ULmtx"}),mt:4})})]})}),(0,l.jsx)(k.m,{children:(0,l.jsxs)(x.h,{children:[(0,l.jsx)(i.z,{colorScheme:"gray",onClick:a,variant:"ghost",children:(0,l.jsx)(z.cC,{id:"dEgA5A"})}),(0,l.jsx)(C.kH,{label:(0,l.jsx)(z.cC,{id:"h7+4yF"}),isDisabled:!!_,shouldWrapChildren:!0,children:(0,l.jsx)(i.z,{onClick:L,variant:"plain",colorScheme:"red.400",color:"red",_hover:{color:"red.600"},isDisabled:!_,children:(0,l.jsx)(z.cC,{id:"ovTgfk"})})})]})})]})]})})}},96221:function(e,t,n){"use strict";n.d(t,{x:function(){return g}});var l=n(2784),a=n(42111),o=n(57124),i=n(94090),r=n(93982),s=n(36651),d=n(90439);n(52322),n(11050),n(45588);let u=(0,l.createContext)({}),c=()=>(0,l.useContext)(u);var m=n(65005);let f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!e)return"unknown";try{let n=new URL(e),l=(0,m.removeWWWPrefix)(n.hostname),a=[...m.KNOWN_GOOD_HOSTNAMES,...t];if(a.includes(l))return"trusted";if(m.KNOWN_BAD_HOSTNAMES.includes(l))return"untrusted"}catch(t){console.error("[getLinkTrustLevel] Error checking link",e,t)}return"unknown"},p=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!e)return"";let n=f(e,t);return"trusted"===n?e:"untrusted"===n?"/[untrusted-url]":"/external-link?url=[".concat(encodeURIComponent(e),"]")},g=(e,t)=>{let{showLinkInterstitial:n}=c(),u=(0,i.CG)(r.Wl),m=(0,o.fZ)(u),g=(0,a.ye)("knownGoodHostnames"),h=!!(0,s.SE)().user,b=d.cx||m,y=(0,l.useMemo)(()=>b?"trusted":f(e,g),[e,g,b]),v=(0,l.useMemo)(()=>b||h&&"unknown"===y?e:p(e,g),[h,e,y,g,b]),k=(0,l.useCallback)(l=>{if(e&&"trusted"!==y)return h&&"unknown"===y?void 0:((l.preventDefault(),l.stopPropagation(),"untrusted"===y)?console.warn("[interceptLinkClick] Untrusted link clicked",e):null==n||n(e,t),!0)},[e,y,h,n,t]);return{interceptLinkClick:k,linkUrlSafe:v,linkTrustLevel:y,isUntrusted:"untrusted"===y}}},31151:function(e,t,n){"use strict";n.d(t,{$D:function(){return o},An:function(){return a},Iy:function(){return r},ME:function(){return i},eo:function(){return s}});class l extends Error{constructor(e,t={}){super(e),this.opts=t}}l.prototype.name="DesignPartnerError";class a extends l{constructor(e,t={}){super(e,t)}}a.prototype.name="CouldNotApplySuggestionError";class o extends l{constructor(e,t={}){super(e,t)}}o.prototype.name="InvalidResponseError";class i extends l{constructor(e,t={}){super(e,t)}}i.prototype.name="NoopSuggestionError";class r extends l{constructor(e,t={}){super("InputTooLongError: ".concat(e),t)}}r.prototype.name="InputTooLongError";class s extends l{constructor(e,t={}){super("ParsedSuggestionError: ".concat(e),t)}}i.prototype.name="ParsedSuggestionError"},63304:function(e,t,n){"use strict";n.d(t,{ML:function(){return a},Qk:function(){return l}}),n(28918),n(42111);let l=8,a={id:"",interactionId:"",status:"draft",docGenerationId:"",content:"",prompt:"",format:"deck",settings:{numCards:8,locale:"en",editorMode:"freeform",imageProvider:"web",imageLicense:"All",audience:"",tone:"",textAmount:"md",textMode:"generate"}}},76282:function(e,t,n){"use strict";n.d(t,{P4:function(){return z}});var l=n(58125),a=n(28918),o=n(63304),i=n(54012);let r={currentInput:o.ML,contentTokenLength:0,inputs:[],isGeneratingOutline:!1,numOutlineBullets:o.Qk},s=(e,t)=>{e.currentInput=t,e.contentTokenLength=(0,a.J1)(t.content),""!==t.content&&(e.numOutlineBullets=S({AIGenerator:e}))},d=(0,l.oM)({name:"AIGenerator",initialState:r,reducers:{reset:()=>r,patchGeneratorInput(e,t){let{settings:n,...l}=t.payload,o=n?{...e.currentInput.settings,...n}:e.currentInput.settings;e.currentInput={...e.currentInput,...l,settings:o},e.contentTokenLength=(0,a.J1)(e.currentInput.content);let i=e.inputs.findIndex(t=>t.id===e.currentInput.id);i>-1&&e.inputs.splice(i,1,{...e.currentInput})},prevVersion(e){let t=C({AIGenerator:e}),n=t.findIndex(e=>e.isCurrent);0!==n&&s(e,t[n-1].data)},nextVersion(e){let t=C({AIGenerator:e}),n=t.findIndex(e=>e.isCurrent);n!==t.length-1&&s(e,t[n+1].data)},loadVersionByNum:(e,t)=>{let n=C({AIGenerator:e}),l=n.find(e=>e.num===t.payload.num);l&&s(e,l.data)},loadDocGeneration:(e,t)=>{let{draftInput:n,docGenerateInputs:l}=t.payload;if(n)s(e,n),e.inputs=[...l,n];else{let t=l[l.length-1];s(e,t),e.inputs=[...l]}e.generationType=t.payload.generationType},handleBackFromGeneratorPage:e=>{let t=e.currentInput.prompt;e.contentTokenLength=0,delete e.importedFile,e.currentInput={...r.currentInput},e.currentInput.prompt=t,e.inputs=[]},resetPrompt:e=>{e.currentInput.prompt=""},setImportedFile:(e,t)=>{e.importedFile=t.payload},setIsGeneratingOutline:(e,t)=>{e.isGeneratingOutline=t.payload},setNumOutlineBullets:(e,t)=>{e.numOutlineBullets=t.payload},incrementNumOutlineBullets:e=>{e.numOutlineBullets+=1},decrementNumOutlineBullets:e=>{e.numOutlineBullets=Math.max(1,e.numOutlineBullets-1)}}}),{reset:u,setImportedFile:c,resetPrompt:m,loadDocGeneration:f,patchGeneratorInput:p,handleBackFromGeneratorPage:g,nextVersion:h,prevVersion:b,loadVersionByNum:y,setIsGeneratingOutline:v,setNumOutlineBullets:k,incrementNumOutlineBullets:x,decrementNumOutlineBullets:w}=d.actions,S=e=>{let{settings:{editorMode:t,numCards:n},content:l}=e.AIGenerator.currentInput;return"structured"===t?(0,i.vE)(l):null!=n?n:o.Qk},C=e=>{let{inputs:t,currentInput:n}=e.AIGenerator,l=t.map((e,t)=>({id:e.id,num:t+1,status:e.status,isDraft:"draft"===e.status,isCurrent:n.id===e.id,data:e}));return l},z=d.reducer},54012:function(e,t,n){"use strict";n.d(t,{Jn:function(){return a},vE:function(){return l}}),n(49431),n(63304);let l=e=>{let t=e.split("\n---\n");return t.length},a=e=>{let t=e.match(/```(?:html|xml|text|md)?\n([\s\S]*?)\n```/),n=t?t[1]:e;return n.trim()}},36528:function(e,t,n){"use strict";n.d(t,{_j:function(){return c},oO:function(){return d}});var l=n(31151),a=n(19431),o=n(32670);let i=e=>!r(e).some(e=>["BAD_USER_INPUT"].includes(e)),r=e=>{let t=(null==e?void 0:e.graphQLErrors)||[];return null==t?void 0:t.map(e=>e.code)},s=async e=>{let{fn:t,retries:n,backoff:l=1e3,timeout:a}=e;try{return await Promise.race([t(),new Promise((e,t)=>{setTimeout(()=>t(Error("Request timeout (".concat(a,"ms)"))),a)})])}catch(d){var o;let e=null===(o=d.message)||void 0===o?void 0:o.startsWith("Request timeout");e&&console.debug("[AI] Request timeout. Not retrying");let r=i(d)&&!e;if(n>0&&r)return await new Promise(e=>setTimeout(e,l)),s({fn:t,retries:n-1,backoff:2*l,timeout:a});throw d}},d=async e=>{var t;let n=await u({messages:e.messages,maxTokens:null!==(t=e.params.maxTokens)&&void 0!==t?t:null,models:["gpt-3.5-turbo","gpt-3.5-turbo-16k"]});return{...e,params:{...e.params,model:n}}},u=async e=>{var t;let{messages:n,maxTokens:o,models:i}=e,{data:r}=await (0,a.WQq)().query({query:a.yL,returnPartialData:!1,variables:{input:{messages:n,maxTokens:o,models:i}}}),s=null==r?void 0:r.canRunChatCompletion;if(!s||0===s.length)throw Error("No response received");let d=null===(t=s.find(e=>!!e.canRun))||void 0===t?void 0:t.model;if(!d)throw new l.Iy("Input too long for models: "+JSON.stringify(i));return d},c=async function(e){var t,n;let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{timeout:6e4,retries:0};return console.debug("[AI][fetchChatCompletion]",e.messages,e.params),s({fn:()=>(0,a.WQq)().mutate({mutation:a.Dan,variables:{input:{...e,workspaceId:(0,o.n_)()}}}).then(e=>{let{data:t}=e,n=null==t?void 0:t.chatCompletion;if(!n||0===n.length)throw Error("No response received");return console.debug("[AI] Got chat completion",n),t}),timeout:null!==(t=l.timeout)&&void 0!==t?t:6e4,retries:null!==(n=l.retries)&&void 0!==n?n:0})}},21156:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var l=n(19431),a=n(89918);class o extends a.j{getSystemChatMessage(e){return{role:l.XaP.System,operation:this.systemPromptOperation,variables:e}}getUserChatMessage(e){return{role:l.XaP.User,operation:this.userPromptOperation,variables:e}}constructor({variables:e,systemPromptOperation:t,userPromptOperation:n,params:l}){super({params:l}),this.variables=e,this.systemPromptOperation=t,this.userPromptOperation=n}}},89918:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var l=n(19431);let a={model:"gpt-3.5-turbo-1106",provider:l.nyn.Azure};class o{prepare(e){let{variables:t,history:n=[],params:l}=e,a=this.getSystemChatMessage(t),o=this.getUserChatMessage(t);return{messages:[a,...n,o],params:{...this.params,...l}}}constructor({params:e}){this.params={...a,...e}}}},54691:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var l=n(19585),a=n(36528);let o=async function(e,t){var n,o;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=l.VH.get("aiRequestRetries").chat;i.retries=null!==(o=i.retries)&&void 0!==o?o:r;let s=await (0,a._j)({...e,interactionId:t},i);return null==s?void 0:null===(n=s.chatCompletion)||void 0===n?void 0:n[0].content}},77787:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});var l=n(72338),a=n(30764),o=n(396);let i=(e,t)=>{let n=r(e),l=a.HY.from(t),i=n.serializeFragment(l),s=(0,o.S)(i),d=document.createElement("div");d.appendChild(s);let u=d.innerHTML;return u},r=e=>{let{schema:t,extensionManager:n}=e;if(t.cached.aiDomSerializer)return t.cached.aiDomSerializer;let o=a.PW.marksFromSchema(t),i=a.PW.nodesFromSchema(t),r=e.extensionManager.attributes;n.extensions.forEach(e=>{if(!e.config.renderHTMLforAI)return;let t=r.filter(t=>t.type===e.name);i[e.name]&&(i[e.name]=n=>{let a=(0,l.m7)(n,t);return e.config.renderHTMLforAI.bind(e)({node:n,HTMLAttributes:a})}),o[e.name]&&(o[e.name]=(n,a)=>{let o=(0,l.m7)(n,t);return e.config.renderHTMLforAI.bind(e)({mark:n,inline:a,HTMLAttributes:o})})});let s=new a.PW(i,o);return t.cached.aiDomSerializer=s,s}},26654:function(e,t,n){"use strict";n.d(t,{Kk:function(){return z},jz:function(){return C}});var l,a,o=n(2784),i=n(95993),r=n(14274);class s extends Error{constructor(e,t){super(e),this.name="StreamError",this.code="stream_error",t&&(this.code=t)}}class d extends s{constructor(e){super(e),this.name="StreamTimeoutError",this.code="timeout"}}class u extends s{constructor(e){super(e),this.name="StreamOnOpenError",this.code="on_open"}}class c extends s{constructor(e){super(e),this.name="StreamUnexpectedCloseError",this.code="unexpected_close"}}class m extends i.GJ{constructor(){super({transform:async(e,t)=>{if("error"===e.event){t.error(new s("StreamError message received: ".concat(JSON.stringify(e)),e.data));return}if("cancel"===e.event||"done"===e.event||"content"===e.event){t.enqueue(e);return}}})}}async function f(e,t){let n;let l=e.getReader();for(;!(n=await l.read()).done;)t(n.value)}function p(){return{data:"",event:"",id:"",retry:void 0}}(l=a||(a={}))[l.NewLine=10]="NewLine",l[l.CarriageReturn=13]="CarriageReturn",l[l.Space=32]="Space",l[l.Colon=58]="Colon";let g="text/event-stream",h="last-event-id";function b(e){let t=e.headers.get("content-type");if(!(null==t?void 0:t.startsWith(g)))throw Error("Expected content-type to be ".concat(g,", Actual: ").concat(t))}class y extends Error{constructor(e){super(),this.timeout=e}}let v=(e,t,n)=>{var l;let a=n.retries||0,o=n.backoff||1e3,r=n.timeout||null,s=null!==(l=n.streamResumingEnabled)&&void 0!==l&&l,v=0,k=new AbortController,x=!1,w=!1,S=!1,C=null,z=!1,A=()=>o*Math.pow(2,Math.max(v-1,0)),I={};s&&(I["gamma-stream-resuming-enabled"]="true");let j=new i.Pz({async start(n){null!=r&&(C=setTimeout(()=>{z=!0,k.abort(),n.error(new d("Stream timed out after ".concat(r,"ms")))},r));let{headers:l,...o}=t;(function(e,t){let{signal:n,headers:l,onopen:a,onmessage:o,onclose:i,onerror:r,openWhenHidden:s,fetch:d,...u}=t;return new Promise((t,c)=>{let m;let y={...l};function v(){m.abort(),document.hidden||z()}y.accept||(y.accept=g),s||document.addEventListener("visibilitychange",v);let k=1e3,x=0;function w(){document.removeEventListener("visibilitychange",v),window.clearTimeout(x),m.abort()}null==n||n.addEventListener("abort",()=>{w(),t()});let S=null!=d?d:window.fetch,C=null!=a?a:b;async function z(){var n,l;m=new AbortController;try{let l,a,r,s;let d=await S(e,{...u,headers:y,signal:m.signal});await C(d),await f(d.body,(n=function(e,t,n){let l=p(),a=new TextDecoder,o=!1;return function(i,r){if(0===i.length)null==n||n(l),l=p(),o=!1;else if(r>0){let n=a.decode(i.subarray(0,r)),s=r+(32===i[r+1]?2:1),d=a.decode(i.subarray(s));switch(n){case"data":o?l.data=l.data+"\n"+d:(l.data=d,o=!0);break;case"event":l.event=d;break;case"id":e(l.id=d);break;case"retry":let u=parseInt(d,10);isNaN(u)||t(l.retry=u)}}}}(e=>{e?y[h]=e:delete y[h]},e=>{k=e},o),s=!1,function(e){void 0===l?(l=e,a=0,r=-1):l=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(l,e);let t=l.length,o=0;for(;a{if(!e.ok||e.headers.get("content-type")!==g){if(e.status>=400&&e.status<500&&429!==e.status)k.abort(),n.error(new u("Unable to complete request"));else if(v++{C&&(clearTimeout(C),C=null),S||n.error(e)})}});return{stream:j.pipeThrough(new m),cancel:()=>{S||(S=!0)}}};var k=n(37164);let x=(e,t)=>{let n=e.getReader(),l=async()=>{var e,a,o;try{let{done:o,value:i}=await n.read();if(o)null===(a=t.onDone)||void 0===a||a.call(t);else{null===(e=t.onMessage)||void 0===e||e.call(t,i),l();return}}catch(e){null===(o=t.onError)||void 0===o||o.call(t,e instanceof Error?e:Error(e))}};l()};(0,k.kP)("0123456789abcdefghijklmnopqrstuvwxyz",16);var w=n(31490);class S extends i.GJ{getContent(){return this.content}constructor(e){super({start:()=>{var t;null===(t=e.onStart)||void 0===t||t.call(e)},transform:async(t,n)=>{var l,a,o;"content"===t.event&&(this.content+=t.data,null===(l=e.onContent)||void 0===l||l.call(e,this.content)),"done"===t.event&&(null===(a=e.onComplete)||void 0===a||a.call(e,this.content)),"cancel"===t.event&&(null===(o=e.onCancel)||void 0===o||o.call(e)),n.enqueue(t)},flush(){var t;null===(t=e.onFlush)||void 0===t||t.call(e)}}),this.content=""}}n(36651);let C=(e,t)=>{let n=(0,o.useCallback)(n=>z({...n,promptKey:e,opts:t}),[t,e]);return{generate:n}},z=e=>{let{promptKey:t,opts:n,variables:l,interactionId:a,workspaceId:o}=e;a=a||(0,w.nZ)();let{cancel:i,stream:s}=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.v.API_HOST+"/ai/v2/generation",l={"Content-Type":"application/json"};t.streamId&&(l["gamma-chat-completion-stream-id"]=t.streamId);let a={method:"POST",headers:l,body:JSON.stringify(e)};return v(n,a,t)}({promptKey:t,variables:l,interactionId:a,workspaceId:o},{timeout:n.timeout}),d=new S(n),u=s.pipeThrough(d),c=new Promise((e,t)=>{x(u,{onError(e){var l;null===(l=n.onError)||void 0===l||l.call(n,e),t(e)},onDone(){e(d.getContent())}})});return{cancel:i,promise:c}}},41774:function(e,t,n){"use strict";n.d(t,{Sj:function(){return b},Yd:function(){return y}});var l=n(58125);let a={isOtherClientStreaming:!1,streams:{},tracking:{},timing:{}},o=(0,l.oM)({name:"AIStream",initialState:a,reducers:{reset:()=>a,setOtherClientStreaming(e,t){e.isOtherClientStreaming=t.payload},recordAIRequestSent(e,t){let{interactionId:n}=t.payload;e.tracking[n]={...e.tracking[n],...t.payload}},recordCardTiming(e,t){let{interactionId:n,data:l}=t.payload;e.timing[n]=e.timing[n]||{tokens:0,duration:0,isDone:!1,cardsCompleted:0},e.timing[n].tokens+=l.numTokens,e.timing[n].duration+=l.duration,e.timing[n].cardsCompleted++},recordAIStreamStart(e,t){let{interactionId:n,docId:l}=t.payload,a=e.tracking[n];a&&(e.tracking[n]={...a,docId:l})},recordAIRequestDone(e,t){let{interactionId:n,outputContent:l,endTime:a}=t.payload,o=e.tracking[n];if(!o||!o.startTime)return;let i=e.timing[n];i&&(e.timing[n]={...i,isDone:!0}),e.tracking[n]={...o,latency:a-o.startTime},void 0!==l&&(e.tracking[n].outputContent=l)},addStream(e,t){let{stream:n}=t.payload;e.streams[n.id]=n},setStreamDocId(e,t){let{id:n,docId:l,lastCompletedCardId:a}=t.payload;e.streams[n]&&(e.streams[n].docId=l,e.streams[n].lastCompletedCardId=a),e.tracking[n]&&(e.tracking[n].docId=l)},abortStream(e,t){let{id:n}=t.payload;delete e.streams[n],delete e.timing[n],delete e.tracking[n]},completeStream(e,t){let{id:n,status:l}=t.payload;e.streams[n]&&(e.streams[n].status=l),e.timing[n]&&(e.timing[n].isDone=!0)}}}),{addStream:i,setStreamDocId:r,completeStream:s,abortStream:d,reset:u,recordAIStreamStart:c,recordAIRequestSent:m,recordAIRequestDone:f,recordCardTiming:p,setOtherClientStreaming:g}=o.actions,h=e=>t=>{if(e)return Object.values(t.AIStream.streams).find(t=>t.docId===e)},b=e=>t=>{if(!e)return!1;let n=h(e)(t);return(null==n?void 0:n.status)==="running"},y=o.reducer},28918:function(e,t,n){"use strict";let l;n.d(t,{J1:function(){return i},Zs:function(){return s},xk:function(){return r}});var a=n(14274),o=n(90383);if("true"!==n(34406).env.SCHEMA_BUILD&&!window.Cypress&&!(0,o.wg)()){let e=a.v.ASSETS_CDN_HOST||"cdn.gamma.app";n.e(2397).then(n.bind(n,22397)).then(t=>{let{get_encoding:n,init:a}=t;fetch("https://".concat(e,"/_app_static/js/tiktoken-640a99ed3ce5ba67.wasm")).then(e=>e.arrayBuffer()).then(e=>a(t=>WebAssembly.instantiate(e,t))).then(()=>{l=n("cl100k_base")}).catch(e=>{console.warn("Failed to load tokenizer",e)})})}let i=e=>{if(!e)return 0;if(!l)return Math.ceil(e.length/3.75);let t=l.encode(e),n=t.length;return n};function r(e){if(!l)return new Uint32Array;let t=l.encode(e);return t}function s(e){if(!l)return"";let t=new TextDecoder,n=l.decode(e);return t.decode(n)}},31490:function(e,t,n){"use strict";n.d(t,{Io:function(){return c},Lt:function(){return u},gb:function(){return r},hq:function(){return i},nZ:function(){return m},o:function(){return s},pQ:function(){return d}});var l=n(37164),a=n(14274);n(1163);var o=n(11050);n(36651);let i=e=>{o.co.track(o.AA.AI_REQUEST_SENT,{...e,gitSHA:a.v.GIT_SHA})},r=e=>{o.co.track(o.AA.AI_REQUEST_COMPLETE,{...e,gitSHA:a.v.GIT_SHA})},s=e=>{o.co.track(o.AA.AI_REQUEST_RESPONSE,{...e,gitSHA:a.v.GIT_SHA})},d=e=>{o.co.track(o.AA.AI_REQUEST_ERROR,{...e,gitSHA:a.v.GIT_SHA})},u=e=>{o.co.track(o.AA.AI_IMAGE_FEEDBACK_SUBMITTED,{...e,gitSHA:a.v.GIT_SHA})},c=e=>{o.co.track(o.AA.AI_IMAGE_RATED,{...e,gitSHA:a.v.GIT_SHA})},m=()=>(0,l.x0)()},65365:function(e,t,n){"use strict";n.d(t,{L:function(){return l}});let l="ai-parsed-attrs"},98845:function(e,t,n){"use strict";let l;n.d(t,{Z:function(){return p},B:function(){return g}});var a=n(31490),o=n(26773),i=n(39877),r=n(87205);class s{getKey(e){let{query:t,provider:n,options:l}=e;return"".concat(n,"__").concat(t,"__").concat(JSON.stringify(l))}markUsed(e){this.usedImages.add(e)}isUsed(e){return this.usedImages.has(e)}async findImage(e){let t,n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(e.loadImageId){let t=this.foundImages.get(e.loadImageId);if(t)return t}await this.loadImageResults(e);let l=this.getKey(e);if(this.validImagePromises.has(l)){let n=this.validImagePromises.get(l);t=n.then(()=>this.findValidImage(e)),this.validImagePromises.set(l,t)}else t=this.findValidImage(e);return this.validImagePromises.set(l,t),t.then(t=>(t&&n&&this.markUsed(t.imageUrl),t&&e.loadImageId&&this.foundImages.set(e.loadImageId,t),t))}async findValidImage(e){let t=this.getKey(e),n=this.results.get(t);for(let e of n){let{image:t}=e;if(!this.isUsed(t.imageUrl)&&(void 0===e.isValid&&(e.isValid=await (0,r.KI)(t.imageUrl)),e.isValid))return e.image}return null}async loadImageResults(e){let{query:t,provider:n,options:l,count:a}=e,o=this.getKey({query:t,provider:n,options:l});if(this.results.has(o))return;if(this.requestPromises.has(o)){await this.requestPromises.get(o);return}this.debugRequests.push(o);let s=(0,i.C)({query:t,count:a,options:l,provider:n}).then(e=>e.filter(e=>(0,r.VE)(e.imageUrl))).then(e=>{let t=e.map(e=>({image:e,isValid:void 0}));return this.results.set(o,t),e});this.requestPromises.set(o,s),await s}async generateImage(e,t){let n="aiGenerated__".concat(t.prompt,"__").concat(e);if(this.debugRequests.push(n),this.generateImagePromises.has(e))return this.generateImagePromises.get(e);let l=(0,o.Qz)(t);return this.generateImagePromises.set(e,l),l}debugInfo(){return{requests:this.debugRequests}}constructor(){this.usedImages=new Set,this.results=new Map,this.requestPromises=new Map,this.validImagePromises=new Map,this.debugRequests=[],this.generateImagePromises=new Map,this.foundImages=new Map}}let d=()=>(l||(l=new s),l);var u=n(61185),c=n(16494),m=n(50279),f=n(80236);let p=e=>{let{query:t,provider:n,license:l,model:a,stylePreset:o,stylePrompt:i}=e;if(!t)return{loadImageStatus:"error"};"aiGenerated"!==n&&(t=t.split(", ")[0]);let r={provider:n,query:t,options:"aiGenerated"===n?{model:a,stylePreset:o,stylePrompt:i}:{license:l}};return{loadImageParams:r,loadImageStatus:"queued",loadImageId:(0,f.G)()}},g=async e=>{let{loadImageId:t,loadImageParams:n,context:l,markUsed:o=!0}=e,{provider:i,query:r,options:s}=n,{interactionId:f,...p}=l;try{if("aiGenerated"===i){let e={...s,interactionId:f||(0,a.nZ)(),steps:30,...p,prompt:r,count:1},n=await d().generateImage(t,e);if(!n[0])return{loadImageStatus:"error"};return{...n[0].attrs,tempUrl:null,loadImageStatus:"done",uploadStatus:c.D.Queued}}{let e=await d().findImage({query:r,provider:n.provider,options:n.options,loadImageId:t},o);if(!e)return{query:r,source:u.Q[i],loadImageStatus:"error"};let l={...(0,m.C)(e,r,i),loadImageStatus:"done",uploadStatus:c.D.Queued};return l}}catch(e){return console.error("[AIStream] An error occurred while fetching image: ".concat(e.message),e.stack),{loadImageStatus:"error"}}}},28667:function(e,t,n){"use strict";n.d(t,{T:function(){return r},z:function(){return m}});var l=n(65365),a=n(98845),o=n(65396),i=n(36651);let r=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{let n=new DOMParser().parseFromString(e,"text/html");d(n),t.removeImagesFromLayouts&&(s(n),c(n));let r=(0,i.n_)(),m=(0,o.F)(n,"img[searches], img[query]").map(async e=>{var n,o,i,s,d;if(e.getAttribute("bookmark"))return;let u=e.getAttribute("query")||e.getAttribute("searches")||"",c=null===(n=t.imageOptions)||void 0===n?void 0:n.generateStyle,m=null===(o=t.imageOptions)||void 0===o?void 0:o.stylePreset,f="icon"===e.getAttribute("type"),p=(0,a.Z)({query:u,provider:f?"fontawesome":(null===(i=t.imageOptions)||void 0===i?void 0:i.provider)||"web",license:null===(s=t.imageOptions)||void 0===s?void 0:s.license,model:null===(d=t.imageOptions)||void 0===d?void 0:d.model,stylePrompt:c,stylePreset:m}),g=t.loadImages?await (0,a.B)({loadImageId:p.loadImageId,loadImageParams:p.loadImageParams,context:{workspaceId:r}}):{};e.setAttribute(l.L,JSON.stringify({...p,...g}))});return await Promise.all(m),(0,o.F)(n,"images, icons").forEach(u),n.body.innerHTML}catch(t){return console.error("Error transforming AI HTML",t),e}},s=e=>{e.querySelectorAll(":is(boxes, timeline, table, bullets, arrows, pyramid, funnel, staircase, numbers, percentages, circles) img").forEach(e=>{e.remove()})},d=e=>{let t=e.getElementsByTagName("*");for(let e=0;e{let t=(0,o.F)(e,"div > img:first-child");t.forEach(e=>{let t=e.parentElement;if(!t)return;let n=JSON.parse(e.getAttribute(l.L)||"null");n&&t.setAttribute("data-image",JSON.stringify(n));let a=e.getAttribute("bookmark");a&&t.setAttribute("image-bookmark",a);let o=e.getAttribute("src");o&&t.setAttribute("data-image",JSON.stringify({src:o,source:"image.custom"})),e.remove()})},c=e=>{let t=e.querySelectorAll("section");t.forEach(e=>{if(!e.querySelector("div.body"))return;let t=e.querySelector(":scope > img:not(.accent-image)");t&&t.classList.add("accent-image")})},m=e=>{try{let t=e.getAttribute(l.L),n=JSON.parse(t||"");return n}catch(t){return console.error("[Image] Error parsing ".concat(l.L," attrs"),e,t),!1}}},29957:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var l=n(76919);let a=new l.v},8776:function(e,t,n){"use strict";n.d(t,{HE:function(){return f},Mq:function(){return u},P3:function(){return m},dx:function(){return s},l_:function(){return c},t:function(){return d}});var l=n(58125);let a={cardSuggestionsMap:{}},o=(0,l.oM)({name:"AIVariations",initialState:a,reducers:{reset:()=>a,setCardSuggestionsStatus(e,t){var n,l;let{cardId:a,status:o}=t.payload;null!==(l=(n=e.cardSuggestionsMap)[a])&&void 0!==l||(n[a]={variants:[],status:o}),e.cardSuggestionsMap[a].status=o},setCardSuggestions(e,t){let{cardId:n,suggestions:l}=t.payload;e.cardSuggestionsMap[n]=l},removeCardSuggestions(e,t){let{cardId:n}=t.payload;delete e.cardSuggestionsMap[n]},addCardVariant(e,t){var n,l;let{cardId:a,variant:o,autoselect:i}=t.payload;null!==(l=(n=e.cardSuggestionsMap)[a])&&void 0!==l||(n[a]={variants:[],status:"loading"}),e.cardSuggestionsMap[a].variants.push(o),i&&(e.cardSuggestionsMap[a].selected=o.id)},addCardVariants(e,t){let n=t.payload;n.forEach(t=>{var n,l;let{cardId:a,variant:o,autoselect:i}=t;null!==(l=(n=e.cardSuggestionsMap)[a])&&void 0!==l||(n[a]={variants:[],status:"done"}),e.cardSuggestionsMap[a].variants.push(o),i&&(e.cardSuggestionsMap[a].selected=o.id)})},selectCardVariant(e,t){let{cardId:n,variantId:l}=t.payload,a=e.cardSuggestionsMap[n];a&&(a.selected=l)}}}),{reset:i,addCardVariants:r,selectCardVariant:s,setCardSuggestions:d,removeCardSuggestions:u}=o.actions,c=e=>t=>t.AIVariations.cardSuggestionsMap[e],m=e=>t=>{var n;return null===(n=t.AIVariations.cardSuggestionsMap[e])||void 0===n?void 0:n.status},f=o.reducer},91253:function(e,t,n){"use strict";n.d(t,{B:function(){return _}});var l=n(9850),a=n.n(l);n(2784);var o=n(87254);class i{constructor({key:e,description:t,classifyExamples:n,classifyReply:l,checkEnabled:a}){this.key=e,this.description=t,this.classifyExamples=n,this.classifyReply=l,this.checkEnabled=a}}var r=n(36528),s=n(54691),d=n(26654),u=n(28667),c=n(19431),m=n(19585),f=n(31151),p=n(27191),g=n(74684),h=n(11093),b=n(91073),y=n(30764);let v=new p.H$("aiModifications");var k=n(3402);let x=(e,t)=>{if(!e.content||!e.content[0].content)return null;let n=e.content[0].content.find(e=>e.attrs&&e.attrs.id===t);return n?(e.content[0].content=[n],e):null},w=(e,t)=>{let n=null;if("html"===t.type){let l=(0,k.T)(t.html,e.schema);n=l.slice}else if("json"===t.type){let l=y.HY.fromJSON(e.schema,t.json);n=new y.p2(l,0,0)}else throw Error("Unsupported Modification content type ".concat(t.type));return n},S=(e,t,n)=>{var l,a;let o=v.getState(e.state);if(!o)return t;let i=(null==o?void 0:o.getExistingRangeId(e.state,n))||null;return i||(null===(l=(a=e.commands).setInteractionRange)||void 0===l||l.call(a,t,n),t)},C=(e,t)=>{let n=v.getState(e.state);return(null==n?void 0:n.getRange(e.state,t))||null};class z{isApplied(e){let t=e.state.tr,n=null;try{n=this.transact(e,t,!1)}catch(e){return console.error("[isModificationActive] Could not transact modificatioon, returning false",e.message),!1}if(!n)return!1;let l=C(e,this.rangeId);if(!l)return!1;try{let a=e.state.doc.slice(l.from,l.to),o=t.doc.slice(l.from,l.to),i=n.from===l.from&&n.to===l.to;return a.eq(o)&&i}catch(e){}return!1}getPreviewJson(e){let t=e.state.tr;this.transact(e,t);let n=this.getParentCardId(e,t),l=a()(t.doc.toJSON());return x(l,n)}getParentCardId(e,t){let n=C(e,this.rangeId);if(!n)return null;let l=t.doc.resolve(n.from),a=(0,h.Ru)(l,b.KH)[0];if(!a)return null;let o=a.node.attrs.id;return o||null}apply(e){let t=e.state.tr;this.transact(e,t);let n=C(e,this.rangeId);console.debug("[ReplaceContentModification] Applying modification",{modification:this,range:n}),e.view.dispatch(t);let l=this.getParentCardId(e,t);(0,g.YS)({editor:e,cardId:l})}transact(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],l=C(e,this.rangeId);if(!l)return null;let{state:a}=e;t.replace(l.from,l.to,this.slice).setMeta("applyingAiModification",{rangeId:this.rangeId});let o=t.mapping.map(l.to),i={from:l.from,to:o};if(n){if(a.selection.empty)return t.setSelection(p.Y1.near(t.doc.resolve(l.from))),i;if(a.selection instanceof p.qv)return t.setSelection(p.qv.create(t.doc,l.from)),i;let e=p.Bs.between(t.doc.resolve(l.from),t.doc.resolve(o));t.setSelection(e)}return i}getContentForTracking(){return this.content}constructor(e,t){this.type="replace-content",this.description=t.description,this.rangeId=t.rangeId,this.content=t.content,this.slice=w(e,t.content)}}let A=e=>{let t=new DOMParser().parseFromString(e,"text/html");return Array.from(t.body.childNodes).some(e=>1===e.nodeType)},I=e=>{let t=e.slice(-7).map(e=>"User"===e.from?{role:"user",content:e.message}:e.isClassification?{role:"assistant",content:e.message}:e.resp?{role:"assistant",content:e.resp}:null).filter(e=>!!(null==e?void 0:e.content));return t},j=()=>o.ag._({id:"HNDdbS"}),F=RegExp("(.*?)```[A-Za-z]*\\n(.*?)\\n```(.*?)$","ims"),B=e=>{let t;let n=e.match(F),l=[];if(n)l=[n[1],n[3]],t=n[2];else{let n=e.split("```");if(0===n.length)throw Error("Could not extract code from response");if(1===n.length)return A(n[0])?{suggestion:void 0,raw:e,message:e,shouldRetry:!0}:{suggestion:void 0,raw:e,message:e.replaceAll(/(HTML|code)/gi,"content")};l=[n[0]],t=n[1].trim()}let a=l.map(e=>e.trim()).filter(e=>e.length>0).join("\n\n").replaceAll(/(HTML|code)/gi,"content").replaceAll(/(slide)/gi,"card");return{suggestion:t,message:a,raw:e}};var M=n(21156);let E=new M.V({systemPromptOperation:c.Run.ChangeContentLayoutSystem,userPromptOperation:c.Run.ChangeContentLayoutUser,variables:["html","message"],params:{temperature:.7,maxTokens:1e3}});new class extends i{async getResponseMessages(e){let{editor:t,context:n,rangeId:l,response:{raw:a,suggestion:i,message:r}}=e;if(!i)throw new f.$D("[SuggestContentTask] No html provided in prompt response",{chatMessage:r,inputMessage:n.message,resp:a,interactionId:n.interactionId});let s=await (0,u.T)(i,{loadImages:!0});console.debug("[AIChat SuggestContentTask] modify suggestion",{transformedHtml:s,html:i});let d=new z(t,{description:o.ag._({id:"nyQWMb"}),content:{type:"html",html:s},rangeId:l}),c={label:o.ag._({id:"nyQWMb"}),modification:d,jsonContentPreview:d.getPreviewJson(t)},m=this.getOriginalModifyContentSuggestion(t,n,l),p={from:"Designer",type:"suggestContent",resp:a,message:r||o.ag._({id:"pMSbe+"}),suggestions:[c,m],interactionId:n.interactionId};return{messages:[p],suggestionToApply:c}}async runPrompt(e){let t,{input:n,context:l,variables:a,trackFns:o,retries:i=2,history:r}=e,u=this.jsxPrompt&&m.VH.get("aiChatJsx");if(u){let{promise:e}=(0,d.Kk)({variables:{html:a.html,message:a.message,outline:a.outline,history:r.map(e=>({role:e.role===c.XaP.Assistant?"assistant":"user",content:e.content||""}))},interactionId:l.interactionId,workspaceId:l.workspaceId,promptKey:this.jsxPrompt,opts:{timeout:m.VH.get("aiRequestTimeouts").suggestContent}});t=await e}else t=await (0,s.I)(n,l.interactionId,{timeout:m.VH.get("aiRequestTimeouts").suggestContent});if(!t)throw new f.$D("Couldn't get response from prompt",{resp:t,inputMessage:l.message,interactionId:l.interactionId});let p=this.parseResponse(t,a);if(p.shouldRetry){if(i<=0)throw new f.eo("Could not parse response properly after retries",{chatMessage:j(),inputMessage:l.message,resp:t,interactionId:l.interactionId});return o.trackRequestRetry({interactionId:l.interactionId,retriesRemaining:i,resp:t}),this.runPrompt({input:n,context:l,retries:i-1,trackFns:o,variables:a,history:r})}return{parsed:p,resp:t}}async run(e){let{editor:t,context:n,addMessage:l,history:a,trackFns:o,themeModificationController:i,provider:s}=e,{html:d,range:u}=this.determineTaskTarget(n.editorContext);o.trackInputContent({taskContext:n,inputContent:d});let c={message:n.message,html:d,outline:n.editorContext.outline},m=S(t,n.interactionId,u),f=I(a||[]),p=this.prompt.prepare({variables:c,history:f,interactionId:n.interactionId,params:{provider:s}});console.debug("[AIChat SuggestContentTask] run",{html:c.html,input:p,suggestHistory:f,range:C(t,m)});let g=await (0,r.oO)(p),{parsed:h,resp:b}=await this.runPrompt({input:g,history:f,context:n,variables:c,trackFns:o,retries:1}),{messages:y,suggestionToApply:v}=await this.getResponseMessages({editor:t,context:n,rangeId:m,response:h,themeModificationController:i});console.debug("[AIChat SuggestContentTask] completed",{suggestion:h.suggestion,resp:b,parsed:h,messages:y,suggestionToApply:v}),this.autoApplySuggestion({context:n,editor:t,suggestionToApply:v,resp:b,trackFns:o,themeModificationController:i}),y.forEach(e=>l(e)),o.trackRequestComplete({taskContext:n,outputMessage:h.message,outputContent:h.suggestion,resp:b})}determineTaskTarget(e){return this.getTaskTarget?this.getTaskTarget(e):e.defaultRange}getOriginalModifyContentSuggestion(e,t,n){let l=new z(e,{description:o.ag._({id:"HxF6Fk"}),content:{type:"html",html:this.determineTaskTarget(t.editorContext).html},rangeId:n});return{label:o.ag._({id:"HxF6Fk"}),modification:l,jsonContentPreview:l.getPreviewJson(e)}}autoApplySuggestion(e){let{context:t,editor:n,suggestionToApply:l,resp:a,trackFns:o,themeModificationController:i}=e;if(l){if(l.modification.isApplied(n,i))throw console.debug("[SuggestContentTask] suggestion does not change the content",l),new f.ME("Suggestion does not change content",{resp:a,interactionId:t.interactionId,chatMessage:j()});try{let{modification:e}=l;e.apply(n,i),o.trackSuggestionApplied({interactionId:t.interactionId,suggestionContent:e.getContentForTracking(),suggestionLabel:e.description,suggestionType:e.type,autoApplied:!0})}catch(e){throw new f.An("Could not apply suggestion",{interactionId:t.interactionId})}}}constructor(e){super(e),this.prompt=e.prompt,this.jsxPrompt=e.jsxPrompt,this.parseResponse=e.parseResponse||B,this.getTaskTarget=e.getTaskTarget}}({key:"CHANGE_LAYOUT",description:"Change the display of information to use a different layout (like timeline, bullets, boxes, columns, table) or rearrange elements within a layout",classifyExamples:["turn this into a table","make each bullet into a box","could you split this into columns?","make this a timeline","could you make this more visual?","visualize this as a timeline"],classifyReply:"Sure, I'll start reformatting this as a table...",getTaskTarget:e=>"selectionRange"!==e.selectedDefaultRange?e.defaultRange:0===e.selectionRange.html.trim().length?e.cardContent:e.blockRange,prompt:E}),n(77787),n(31490),n(94090),n(8776);let _="Translate this to Spanish please"},76332:function(e,t,n){"use strict";n.d(t,{$4k:function(){return an},ATM:function(){return lR},BAq:function(){return lL},BCl:function(){return lH},C_B:function(){return K},DDH:function(){return J},Dan:function(){return l_},Fa6:function(){return D},Lmy:function(){return er},OY$:function(){return lZ},Os4:function(){return l7},POY:function(){return lJ},Run:function(){return R},Sc3:function(){return el},Ux9:function(){return L},VRt:function(){return lI},WHS:function(){return lq},XaP:function(){return N},Y96:function(){return lT},d6Z:function(){return ae},dcb:function(){return lY},f:function(){return lA},ftw:function(){return l$},mvg:function(){return lE},n70:function(){return l9},nyn:function(){return T},oRU:function(){return l2},pyi:function(){return _},qHm:function(){return l5},qOp:function(){return lW},sHn:function(){return l0},wNJ:function(){return et},wk2:function(){return lz},y5Q:function(){return lK},yL:function(){return lO}});var l,a,o,i,r,s,d,u,c,m,f,p,g,h,b,y,v,k,x,w,S,C,z,A,I,j,F,B,M,E,_,O,P,T,R,N,L,D,W,U,H,G,q,V,K,Y,$,J,X,Z,Q,ee,et,en,el,ea,eo,ei,er,es,ed,eu,ec,em=n(73235),ef=n(85525),ep=n(33379),eg=n(40794);function eh(){let e=(0,em._)(["\n fragment DocGenerateInputFragment on DocGenerateInput {\n id\n docGenerationId\n interactionId\n status\n prompt\n content\n format\n settings\n docId\n docGenerateOutputId\n createdTime\n updatedTime\n}\n "]);return eh=function(){return e},e}function eb(){let e=(0,em._)(["\n fragment DocGenerationFragment on DocGeneration {\n id\n generationType\n userId\n workspaceId\n draftInput {\n ...DocGenerateInputFragment\n }\n docGenerateInputs {\n ...DocGenerateInputFragment\n }\n createdTime\n updatedTime\n}\n ",""]);return eb=function(){return e},e}function ey(){let e=(0,em._)(["\n fragment Font on Font {\n id\n name\n cssUrl\n fontFiles {\n id\n name\n weight\n isItalic\n fileType\n sourceUrl\n }\n workspaceId\n archived\n fontFileCount\n}\n "]);return ey=function(){return e},e}function ev(){let e=(0,em._)(["\n fragment SavedMediaFragment on SavedMedia {\n id\n userId\n workspaceId\n interactionId\n docId\n themeId\n context\n type\n source\n attrs\n createdTime\n updatedTime\n}\n "]);return ev=function(){return e},e}function ek(){let e=(0,em._)(["\n fragment DocFieldsFragment on Doc {\n id\n title\n archived\n createdTime\n updatedTime\n editedTime\n currentSnapshotId\n titleCard {\n id\n previewUrl\n createdTime\n updatedTime\n }\n createdBy {\n profileImageUrl\n displayName\n id\n }\n collaborators {\n docId\n user {\n id\n }\n permission\n }\n docUser {\n id\n docId\n lastViewed\n lastEdited\n favorited\n }\n channels {\n id\n name\n slug\n permission\n }\n organization {\n id\n name\n }\n orgAccess\n publicAccess\n editors {\n docId\n user {\n id\n displayName\n email\n profileImageUrl\n }\n lastEdited\n }\n}\n "]);return ek=function(){return e},e}function ex(){let e=(0,em._)(["\n fragment SearchChannelResult on Channel {\n id\n name\n slug\n members {\n profileImageUrl\n displayName\n id\n }\n memberCount\n isMember\n workspaceId\n createdTime\n updatedTime\n}\n "]);return ex=function(){return e},e}function ew(){let e=(0,em._)(["\n fragment SearchDocResult on DocResult {\n id\n title\n text\n archived\n previewUrl\n createdBy {\n id\n displayName\n profileImageUrl\n }\n organization {\n id\n }\n editors {\n user {\n id\n displayName\n profileImageUrl\n }\n lastViewed\n lastEdited\n }\n docUser {\n lastViewed\n lastEdited\n favorited\n }\n orgAccess\n publicAccess\n updatedTime\n createdTime\n editedTime\n}\n "]);return ew=function(){return e},e}function eS(){let e=(0,em._)(["\n fragment DocCollaboratorsUpdate on Doc {\n collaborators {\n docId\n user {\n id\n displayName\n email\n profileImageUrl\n }\n permission\n guest\n }\n}\n "]);return eS=function(){return e},e}function eC(){let e=(0,em._)(["\n fragment ShareSearchUser on User {\n id\n displayName\n email\n profileImageUrl\n}\n "]);return eC=function(){return e},e}function ez(){let e=(0,em._)(["\n fragment DocChannelsUpdate on Doc {\n channels {\n id\n name\n slug\n }\n}\n "]);return ez=function(){return e},e}function eA(){let e=(0,em._)(["\n fragment ShareSearchChannel on Channel {\n id\n name\n slug\n isMember\n memberCount\n members {\n id\n displayName\n email\n profileImageUrl\n }\n}\n "]);return eA=function(){return e},e}function eI(){let e=(0,em._)(["\n fragment DefaultDomainsFields on Domain {\n id\n name\n status\n builtin\n createdTime\n siteId\n}\n "]);return eI=function(){return e},e}function ej(){let e=(0,em._)(["\n fragment DefaultThemeFontFields on ThemeFont {\n id\n name\n url\n}\n "]);return ej=function(){return e},e}function eF(){let e=(0,em._)(["\n fragment DefaultThemeFields on Theme {\n id\n workspaceId\n name\n headingFont\n headingFontWeight\n bodyFont\n bodyFontWeight\n accentColor\n logoUrl\n config\n priority\n archived\n createdTime\n updatedTime\n fonts {\n ... on ThemeFont {\n ...DefaultThemeFontFields\n }\n }\n}\n ",""]);return eF=function(){return e},e}function eB(){let e=(0,em._)(["\n fragment SiteFragment on Site {\n id\n workspaceId\n name\n domains {\n ...DefaultDomainsFields\n }\n routes {\n id\n siteId\n docId\n path\n offline\n doc {\n id\n title\n orgAccess\n publishedTime\n publishedSnapshotId\n currentSnapshotId\n editedTime\n archived\n createdTime\n }\n }\n currentDeployment {\n id\n buildHost\n deploymentTime\n siteSettings\n }\n createdTime\n updatedTime\n previewUrl\n pageCount\n archived\n enabled\n faviconUrl\n themeId\n createdBy {\n email\n profileImageUrl\n displayName\n id\n }\n theme {\n ...DefaultThemeFields\n }\n navEnabled\n navContent\n gtmContainerId\n}\n ","\n",""]);return eB=function(){return e},e}function eM(){let e=(0,em._)(["\n fragment DefaultCardFields on Card {\n id\n archived\n docId\n title\n text\n previewUrl\n createdTime\n updatedTime\n}\n "]);return eM=function(){return e},e}function eE(){let e=(0,em._)(["\n fragment CommentAuthorFields on User {\n id\n displayName\n profileImageUrl\n email\n}\n "]);return eE=function(){return e},e}function e_(){let e=(0,em._)(["\n fragment ReactionFields on Reaction {\n emoji\n count\n targetId\n targetType\n docId\n users {\n id\n displayName\n profileImageUrl\n }\n}\n "]);return e_=function(){return e},e}function eO(){let e=(0,em._)(["\n fragment ReplyFields on Comment {\n id\n commentId\n content\n createdTime\n updatedTime\n archived\n user {\n ...CommentAuthorFields\n }\n reactions {\n ...ReactionFields\n }\n}\n ","\n",""]);return eO=function(){return e},e}function eP(){let e=(0,em._)(["\n fragment CommentFields on Comment {\n id\n docId\n cardId\n content\n targetText\n targetHtml\n createdTime\n updatedTime\n archived\n targetId\n status\n user {\n ...CommentAuthorFields\n }\n replies {\n ...ReplyFields\n }\n reactions {\n ...ReactionFields\n }\n}\n ","\n","\n",""]);return eP=function(){return e},e}function eT(){let e=(0,em._)(["\n fragment DocCollaboratorFields on DocCollaborator {\n docId\n user {\n id\n displayName\n email\n profileImageUrl\n }\n permission\n guest\n accessLinkId\n}\n "]);return eT=function(){return e},e}function eR(){let e=(0,em._)(["\n fragment DocInvitationsFields on DocInvitation {\n id\n docId\n email\n permission\n}\n "]);return eR=function(){return e},e}function eN(){let e=(0,em._)(["\n fragment DocChannelFields on DocChannel {\n id\n name\n slug\n permission\n}\n "]);return eN=function(){return e},e}function eL(){let e=(0,em._)(["\n fragment DocEditorsFields on DocEditor {\n user {\n id\n displayName\n email\n profileImageUrl\n }\n lastEdited\n}\n "]);return eL=function(){return e},e}function eD(){let e=(0,em._)(["\n fragment DocSiteFields on Site {\n id\n archived\n workspaceId\n name\n domains {\n id\n siteId\n name\n status\n builtin\n }\n routes {\n id\n siteId\n docId\n path\n offline\n doc {\n id\n title\n }\n }\n currentDeployment {\n id\n siteId\n buildHost\n deploymentTime\n }\n createdTime\n updatedTime\n previewUrl\n pageCount\n archived\n enabled\n faviconUrl\n themeId\n navEnabled\n navContent\n gtmContainerId\n}\n "]);return eD=function(){return e},e}function eW(){let e=(0,em._)(["\n fragment DocReactionsCreate on Doc {\n reactions {\n ...ReactionFields\n }\n}\n ",""]);return eW=function(){return e},e}function eU(){let e=(0,em._)(["\n fragment DocCommentsCreate on Doc {\n comments {\n id\n docId\n cardId\n content\n targetText\n targetHtml\n createdTime\n updatedTime\n archived\n targetId\n status\n user {\n ...CommentAuthorFields\n }\n }\n}\n ",""]);return eU=function(){return e},e}function eH(){let e=(0,em._)(["\n fragment DocRepliesCreate on Doc {\n comments {\n id\n replies {\n ...ReplyFields\n }\n }\n}\n ",""]);return eH=function(){return e},e}function eG(){let e=(0,em._)(["\n fragment DocCommentsUpdate on Doc {\n comments {\n id\n docId\n content\n updatedTime\n reactions {\n ...ReactionFields\n }\n }\n}\n ",""]);return eG=function(){return e},e}function eq(){let e=(0,em._)(["\n fragment DocRepliesUpdate on Doc {\n comments {\n id\n replies {\n id\n docId\n content\n updatedTime\n reactions {\n ...ReactionFields\n }\n }\n }\n}\n ",""]);return eq=function(){return e},e}function eV(){let e=(0,em._)(["\n fragment DocCommentsRemove on Doc {\n comments {\n id\n archived\n }\n}\n "]);return eV=function(){return e},e}function eK(){let e=(0,em._)(["\n fragment DocRepliesRemove on Doc {\n comments {\n id\n replies {\n id\n archived\n }\n }\n}\n "]);return eK=function(){return e},e}function eY(){let e=(0,em._)(["\n fragment DocUserUpdate on Doc {\n docUser {\n id\n docId\n lastViewed\n lastEdited\n favorited\n }\n}\n "]);return eY=function(){return e},e}function e$(){let e=(0,em._)(["\n fragment HomeDocFields on Doc {\n id\n title\n archived\n createdTime\n updatedTime\n editedTime\n currentSnapshotId\n titleCard {\n id\n previewUrl\n createdTime\n updatedTime\n }\n createdBy {\n profileImageUrl\n displayName\n id\n email\n }\n collaborators {\n docId\n user {\n id\n }\n permission\n }\n docUser {\n id\n docId\n lastViewed\n lastEdited\n favorited\n }\n channels {\n id\n name\n slug\n permission\n }\n organization {\n id\n name\n }\n orgAccess\n publicAccess\n editors {\n docId\n user {\n id\n displayName\n email\n profileImageUrl\n }\n lastEdited\n }\n accessLinks {\n id\n docId\n permission\n token\n url\n }\n site {\n id\n name\n archived\n enabled\n faviconUrl\n previewUrl\n domains {\n ...DefaultDomainsFields\n }\n currentDeployment {\n id\n buildHost\n deploymentTime\n }\n createdTime\n updatedTime\n previewUrl\n pageCount\n createdBy {\n profileImageUrl\n displayName\n id\n email\n }\n }\n}\n ",""]);return e$=function(){return e},e}function eJ(){let e=(0,em._)(["\n fragment ChannelDocActivityFields on DocActivity {\n editors {\n id\n displayName\n profileImageUrl\n }\n presenters {\n id\n displayName\n profileImageUrl\n }\n doc {\n ...HomeDocFields\n }\n}\n ",""]);return eJ=function(){return e},e}function eX(){let e=(0,em._)(["\n fragment ChannelFieldsFragment on Channel {\n id\n name\n slug\n members {\n profileImageUrl\n displayName\n id\n }\n memberCount\n isMember\n workspaceId\n createdTime\n updatedTime\n archived\n activity {\n activeUsers {\n id\n displayName\n profileImageUrl\n email\n }\n }\n}\n "]);return eX=function(){return e},e}function eZ(){let e=(0,em._)(["\n fragment DocChannelUpdate on Doc {\n id\n channels {\n id\n name\n slug\n permission\n }\n}\n "]);return eZ=function(){return e},e}function eQ(){let e=(0,em._)(["\n mutation ReportAbuse($input: AbuseReportInput!) {\n reportAbuse(input: $input)\n}\n "]);return eQ=function(){return e},e}function e0(){let e=(0,em._)(["\n query AssessRisk($token: String!, $action: RecaptchaAction!) {\n assessRisk(token: $token, action: $action) {\n risk\n }\n}\n "]);return e0=function(){return e},e}function e1(){let e=(0,em._)(["\n mutation ChatCompletion($input: ChatCompletionInput!) {\n chatCompletion(input: $input) {\n role\n content\n }\n}\n "]);return e1=function(){return e},e}function e2(){let e=(0,em._)(["\n query CanRunChatCompletion($input: CanRunChatCompletionRequest!) {\n canRunChatCompletion(input: $input) {\n model\n canRun\n }\n}\n "]);return e2=function(){return e},e}function e4(){let e=(0,em._)(["\n mutation CreateDocGeneration($input: CreateDocGenerationInput!) {\n createDocGeneration(input: $input) {\n ...DocGenerationFragment\n }\n}\n ",""]);return e4=function(){return e},e}function e5(){let e=(0,em._)(["\n mutation UpdateDocGenerationDraftInput($docGenerateInputId: ID!, $input: UpdateDocGenerateInput!) {\n updateDocGenerationDraftInput(\n docGenerateInputId: $docGenerateInputId\n input: $input\n ) {\n ...DocGenerationFragment\n }\n}\n ",""]);return e5=function(){return e},e}function e3(){let e=(0,em._)(["\n mutation GenerateDoc($docGenerateInputId: ID!, $options: GenerateDocOptions!) {\n generateDoc(docGenerateInputId: $docGenerateInputId, options: $options) {\n id\n docGenerateInput {\n ...DocGenerateInputFragment\n }\n }\n}\n ",""]);return e3=function(){return e},e}function e9(){let e=(0,em._)(["\n query GetDocGeneration($id: ID!) {\n docGeneration(id: $id) {\n ...DocGenerationFragment\n }\n}\n ",""]);return e9=function(){return e},e}function e8(){let e=(0,em._)(["\n query GetDocGenerations($workspaceId: ID!, $first: Int, $after: String, $last: Int, $before: String) {\n docGenerations(\n workspaceId: $workspaceId\n first: $first\n after: $after\n last: $last\n before: $before\n ) {\n edges {\n cursor\n node {\n ...DocGenerationFragment\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n ",""]);return e8=function(){return e},e}function e7(){let e=(0,em._)(["\n mutation GenerateImportPptThemes($input: GeneratePptThemesInput!) {\n generateImportPptThemes(input: $input) {\n themes {\n ...DefaultThemeFields\n }\n }\n}\n ",""]);return e7=function(){return e},e}function e6(){let e=(0,em._)(["\n mutation ParsePptHtml($input: ParsePptHtmlInput!) {\n parsePptHtml(input: $input) {\n slideHtml\n }\n}\n "]);return e6=function(){return e},e}function te(){let e=(0,em._)(["\n query getCredits($workspaceId: ID!) {\n credits(workspaceId: $workspaceId) {\n userId\n credits\n }\n}\n "]);return te=function(){return e},e}function tt(){let e=(0,em._)(["\n mutation deductCredits($value: Int!, $workspaceId: ID!) {\n deductCredits(value: $value, workspaceId: $workspaceId) {\n userId\n credits\n }\n}\n "]);return tt=function(){return e},e}function tn(){let e=(0,em._)(["\n query GetDocWithSnapshot($id: ID!) {\n doc(id: $id) {\n id\n title\n theme {\n ...DefaultThemeFields\n }\n organization {\n id\n name\n products\n __typename\n }\n currentSnapshot {\n id\n docId\n content\n }\n titleCard {\n previewUrl\n text\n }\n cards {\n ...DefaultCardFields\n }\n }\n}\n ","\n",""]);return tn=function(){return e},e}function tl(){let e=(0,em._)(["\n query GetDocPreviewUrl($id: ID!) {\n doc(id: $id) {\n id\n titleCard {\n previewUrl\n }\n }\n}\n "]);return tl=function(){return e},e}function ta(){let e=(0,em._)(["\n query GetWorkspaceFonts($workspaceId: ID, $archived: Boolean, $sortBy: FontSortOrder) {\n fonts(workspaceId: $workspaceId, archived: $archived, sortBy: $sortBy) {\n ...Font\n }\n}\n ",""]);return ta=function(){return e},e}function to(){let e=(0,em._)(["\n query GetGlobalFonts {\n fonts(workspaceId: null, archived: false, sortBy: {field: name, direction: asc}) {\n ...Font\n }\n}\n ",""]);return to=function(){return e},e}function ti(){let e=(0,em._)(["\n query GetFont($id: ID!) {\n font(id: $id) {\n ...Font\n }\n}\n ",""]);return ti=function(){return e},e}function tr(){let e=(0,em._)(["\n mutation CreateFont($input: CreateFontInput) {\n createFont(input: $input) {\n ...Font\n }\n}\n ",""]);return tr=function(){return e},e}function ts(){let e=(0,em._)(["\n mutation UpdateFont($input: UpdateFontInput) {\n updateFont(input: $input) {\n ...Font\n }\n}\n ",""]);return ts=function(){return e},e}function td(){let e=(0,em._)(["\n mutation ArchiveFont($id: ID!, $workspaceId: ID!) {\n archiveFont(id: $id, workspaceId: $workspaceId) {\n ...Font\n }\n}\n ",""]);return td=function(){return e},e}function tu(){let e=(0,em._)(["\n mutation CreateSavedMedia($input: CreateSavedMediaInput!) {\n createSavedMedia(input: $input) {\n ...SavedMediaFragment\n }\n}\n ",""]);return tu=function(){return e},e}function tc(){let e=(0,em._)(["\n mutation ArchiveSavedMedia($id: ID!) {\n archiveSavedMedia(id: $id) {\n id\n }\n}\n "]);return tc=function(){return e},e}function tm(){let e=(0,em._)(["\n mutation DeleteSavedMedia($id: ID!) {\n deleteSavedMedia(id: $id)\n}\n "]);return tm=function(){return e},e}function tf(){let e=(0,em._)(["\n query GetSavedMedia($docId: ID, $themeId: ID, $interactionId: ID, $context: SavedMediaContext, $type: MediaType!, $source: String!, $sortBy: SavedMediaSortOrder, $first: Int, $after: String, $last: Int, $before: String) {\n savedMedia(\n docId: $docId\n themeId: $themeId\n interactionId: $interactionId\n context: $context\n type: $type\n source: $source\n sortBy: $sortBy\n first: $first\n after: $after\n last: $last\n before: $before\n ) {\n edges {\n node {\n ...SavedMediaFragment\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n ",""]);return tf=function(){return e},e}function tp(){let e=(0,em._)(["\n query Products($workspaceId: ID, $productPriceFilter: ProductPriceInput) {\n products(workspaceId: $workspaceId, productPriceFilter: $productPriceFilter) {\n id\n key\n prices {\n id\n price\n currency\n frequencyUnit\n frequencyInterval\n }\n }\n}\n "]);return tp=function(){return e},e}function tg(){let e=(0,em._)(["\n mutation CreateCheckoutSession($workspaceId: ID!, $items: [CheckoutItemInput!]!) {\n createCheckoutSession(workspaceId: $workspaceId, items: $items) {\n url\n }\n}\n "]);return tg=function(){return e},e}function th(){let e=(0,em._)(["\n mutation UpdateSubscriptionProduct($id: ID!, $productPriceId: String!) {\n updateSubscriptionProduct(id: $id, productPriceId: $productPriceId) {\n id\n }\n}\n "]);return th=function(){return e},e}function tb(){let e=(0,em._)(["\n query SearchDocsAndChannels($workspaceId: ID, $query: String!) {\n search(orgId: $workspaceId, query: $query, types: [doc, channel]) {\n __typename\n ... on DocResult {\n ...SearchDocResult\n }\n ... on Channel {\n ...SearchChannelResult\n }\n }\n}\n ","\n",""]);return tb=function(){return e},e}function ty(){let e=(0,em._)(["\n query GetDocsForGlobalSearch($first: Int, $after: String, $workspaceId: ID, $createdBy: ID, $archived: Boolean, $sortBy: DocSortOrder) {\n docs(\n first: $first\n after: $after\n workspaceId: $workspaceId\n createdBy: $createdBy\n archived: $archived\n sortBy: $sortBy\n ) {\n edges {\n node {\n ...DocFieldsFragment\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n ",""]);return ty=function(){return e},e}function tv(){let e=(0,em._)(["\n query SharingSearchUser($workspaceId: ID!, $query: String!) {\n search(orgId: $workspaceId, query: $query, types: [user]) {\n __typename\n ... on User {\n ...ShareSearchUser\n }\n }\n}\n ",""]);return tv=function(){return e},e}function tk(){let e=(0,em._)(["\n query SharingSearchChannel($workspaceId: ID!, $query: String!) {\n search(orgId: $workspaceId, query: $query, types: [channel]) {\n __typename\n ... on Channel {\n ...ShareSearchChannel\n }\n }\n}\n ",""]);return tk=function(){return e},e}function tx(){let e=(0,em._)(["\n mutation UpdatePublicChannels($input: DocSharingInput!) {\n updatePublicChannels(input: $input) {\n id\n channels {\n id\n name\n permission\n }\n }\n}\n "]);return tx=function(){return e},e}function tw(){let e=(0,em._)(["\n mutation UpdateDocSharing($id: ID!, $sharing: [DocJSONPatch!]) {\n updateDoc(input: {id: $id, sharing: $sharing}) {\n id\n channels {\n id\n name\n slug\n permission\n }\n }\n}\n "]);return tw=function(){return e},e}function tS(){let e=(0,em._)(["\n mutation CreateSite($input: CreateSiteInput!) {\n createSite(input: $input) {\n ...SiteFragment\n }\n}\n ",""]);return tS=function(){return e},e}function tC(){let e=(0,em._)(["\n mutation UpdateSite($input: UpdateSiteInput!) {\n updateSite(input: $input) {\n id\n name\n faviconUrl\n themeId\n navEnabled\n navContent\n }\n}\n "]);return tC=function(){return e},e}function tz(){let e=(0,em._)(["\n mutation ArchiveSite($id: ID!) {\n archiveSite(id: $id) {\n id\n archived\n }\n}\n "]);return tz=function(){return e},e}function tA(){let e=(0,em._)(["\n mutation UnarchiveSite($id: ID!) {\n unarchiveSite(id: $id) {\n id\n enabled\n archived\n }\n}\n "]);return tA=function(){return e},e}function tI(){let e=(0,em._)(["\n mutation DisableSite($id: ID!) {\n disableSite(id: $id) {\n id\n enabled\n }\n}\n "]);return tI=function(){return e},e}function tj(){let e=(0,em._)(["\n mutation EnableSite($id: ID!) {\n enableSite(id: $id) {\n id\n enabled\n }\n}\n "]);return tj=function(){return e},e}function tF(){let e=(0,em._)(["\n mutation UpdateRoutes($input: UpdateSiteRoutesInput!) {\n updateRoutes(input: $input) {\n id\n routes {\n path\n docId\n }\n }\n}\n "]);return tF=function(){return e},e}function tB(){let e=(0,em._)(["\n mutation AddDomain($input: AddDomainInput!) {\n addDomain(input: $input) {\n id\n domains {\n name\n status\n }\n routes {\n path\n docId\n }\n }\n}\n "]);return tB=function(){return e},e}function tM(){let e=(0,em._)(["\n mutation DeleteDomain($id: ID!) {\n deleteDomain(id: $id) {\n id\n }\n}\n "]);return tM=function(){return e},e}function tE(){let e=(0,em._)(["\n mutation changeBuiltinDomain($input: ChangeBuiltinDomainInput!) {\n changeBuiltinDomain(input: $input) {\n id\n domains {\n name\n status\n builtin\n }\n routes {\n path\n docId\n }\n }\n}\n "]);return tE=function(){return e},e}function t_(){let e=(0,em._)(["\n query GetSites($workspaceId: ID!) {\n sites(workspaceId: $workspaceId) {\n ...SiteFragment\n }\n}\n ",""]);return t_=function(){return e},e}function tO(){let e=(0,em._)(["\n query GetSite($id: ID!) {\n site(id: $id) {\n ...SiteFragment\n }\n}\n ",""]);return tO=function(){return e},e}function tP(){let e=(0,em._)(["\n query GetDomains($workspaceId: ID!, $name: String!) {\n domains(workspaceId: $workspaceId, name: $name) {\n ...DefaultDomainsFields\n siteId\n siteName\n siteArchived\n }\n}\n ",""]);return tP=function(){return e},e}function tT(){let e=(0,em._)(["\n query GetDocWithPublishedSnapshot($id: ID!) {\n publishedDoc(id: $id) {\n id\n title\n organization {\n products\n id\n __typename\n }\n editors {\n docId\n user {\n id\n displayName\n profileImageUrl\n }\n lastEdited\n }\n theme {\n ...DefaultThemeFields\n }\n publishedSnapshot {\n id\n docId\n content\n }\n titleCard {\n previewUrl\n text\n title\n }\n cards {\n ...DefaultCardFields\n }\n editedTime\n site {\n routes {\n path\n docId\n }\n faviconUrl\n navContent\n navEnabled\n gtmContainerId\n }\n }\n}\n ","\n",""]);return tT=function(){return e},e}function tR(){let e=(0,em._)(["\n query GetPublishedDoc($id: ID!) {\n publishedDoc(id: $id) {\n id\n publishedTime\n publishedSnapshot {\n id\n content\n }\n }\n}\n "]);return tR=function(){return e},e}function tN(){let e=(0,em._)(["\n mutation PublishSite($id: ID!) {\n publishSite(id: $id) {\n ...SiteFragment\n }\n}\n ",""]);return tN=function(){return e},e}function tL(){let e=(0,em._)(["\n mutation PublishDoc($id: ID!) {\n publishDoc(id: $id) {\n id\n publishedTime\n publishedSnapshot {\n id\n }\n }\n}\n "]);return tL=function(){return e},e}function tD(){let e=(0,em._)(["\n mutation archivePage($id: ID!) {\n archivePage(id: $id) {\n id\n publishedTime\n publishedSnapshot {\n id\n }\n }\n}\n "]);return tD=function(){return e},e}function tW(){let e=(0,em._)(["\n mutation VerifyDomain($id: ID!) {\n verifyDomain(id: $id) {\n id\n domains {\n id\n name\n status\n }\n }\n}\n "]);return tW=function(){return e},e}function tU(){let e=(0,em._)(["\n mutation TransferDomain($id: ID!, $siteId: ID!) {\n transferDomain(id: $id, siteId: $siteId) {\n id\n siteId\n name\n }\n}\n "]);return tU=function(){return e},e}function tH(){let e=(0,em._)(["\n mutation SetRoute($input: SetRouteInput!) {\n setRoute(input: $input) {\n id\n name\n routes {\n path\n docId\n doc {\n title\n }\n offline\n }\n }\n}\n "]);return tH=function(){return e},e}function tG(){let e=(0,em._)(["\n mutation CreateTheme($input: CreateThemeInput!) {\n createTheme(input: $input) {\n ...DefaultThemeFields\n docCount\n }\n}\n ",""]);return tG=function(){return e},e}function tq(){let e=(0,em._)(["\n mutation UpdateTheme($input: UpdateThemeInput!) {\n updateTheme(input: $input) {\n ...DefaultThemeFields\n docCount\n }\n}\n ",""]);return tq=function(){return e},e}function tV(){let e=(0,em._)(["\n mutation MakeThemeStandard($id: ID!, $newId: ID) {\n makeThemeStandard(id: $id, newId: $newId) {\n ...DefaultThemeFields\n docCount\n }\n}\n ",""]);return tV=function(){return e},e}function tK(){let e=(0,em._)(["\n mutation DuplicateTheme($id: ID!) {\n duplicateTheme(id: $id) {\n ...DefaultThemeFields\n }\n}\n ",""]);return tK=function(){return e},e}function tY(){let e=(0,em._)(["\n query GetTheme($id: ID) {\n theme(id: $id) {\n ...DefaultThemeFields\n createdBy {\n id\n displayName\n email\n profileImageUrl\n }\n }\n}\n ",""]);return tY=function(){return e},e}function t$(){let e=(0,em._)(["\n query GetThemeWithCount($id: ID) {\n theme(id: $id) {\n ...DefaultThemeFields\n docCount\n siteCount\n createdBy {\n id\n displayName\n email\n profileImageUrl\n }\n }\n}\n ",""]);return t$=function(){return e},e}function tJ(){let e=(0,em._)(["\n query GetThemes($workspaceId: ID, $archived: Boolean) {\n themes(workspaceId: $workspaceId, archived: $archived) {\n ...DefaultThemeFields\n createdBy {\n id\n displayName\n email\n profileImageUrl\n }\n }\n}\n ",""]);return tJ=function(){return e},e}function tX(){let e=(0,em._)(["\n mutation ArchiveTheme($id: ID!) {\n archiveTheme(id: $id) {\n ...DefaultThemeFields\n docCount\n siteCount\n }\n}\n ",""]);return tX=function(){return e},e}function tZ(){let e=(0,em._)(["\n mutation UnarchiveTheme($id: ID!) {\n unarchiveTheme(id: $id) {\n ...DefaultThemeFields\n }\n}\n ",""]);return tZ=function(){return e},e}function tQ(){let e=(0,em._)(["\n mutation CreateCard($id: ID!, $docId: ID!) {\n createCard(id: $id, docId: $docId) {\n id\n }\n}\n "]);return tQ=function(){return e},e}function t0(){let e=(0,em._)(["\n query GetCard($id: ID!, $docId: ID!) {\n card(id: $id, docId: $docId) {\n ...DefaultCardFields\n }\n}\n ",""]);return t0=function(){return e},e}function t1(){let e=(0,em._)(["\n query GetCards($docId: ID!, $password: String) {\n docCards(docId: $docId, password: $password, archived: false) {\n ...DefaultCardFields\n }\n}\n ",""]);return t1=function(){return e},e}function t2(){let e=(0,em._)(["\n subscription SubscribeToCards($docId: ID!) {\n docCards(docId: $docId) {\n ...DefaultCardFields\n }\n}\n ",""]);return t2=function(){return e},e}function t4(){let e=(0,em._)(["\n query GetDocMention($id: ID!) {\n doc(id: $id) {\n id\n title\n updatedTime\n editedTime\n titleCard {\n previewUrl\n }\n createdTime\n createdBy {\n id\n displayName\n email\n profileImageUrl\n }\n docUser {\n id\n docId\n lastViewed\n lastEdited\n favorited\n }\n editors {\n user {\n id\n displayName\n profileImageUrl\n }\n lastViewed\n lastEdited\n }\n }\n}\n "]);return t4=function(){return e},e}function t5(){let e=(0,em._)(["\n subscription SubscribeToDocMention($id: ID!) {\n doc(id: $id) {\n ... on DocSubscription {\n id\n title\n updatedTime\n editedTime\n titleCard {\n previewUrl\n }\n editors {\n user {\n id\n displayName\n profileImageUrl\n }\n lastViewed\n lastEdited\n }\n }\n }\n}\n "]);return t5=function(){return e},e}function t3(){let e=(0,em._)(["\n mutation UpdateUser($input: UpdateUserInput!) {\n updateUser(input: $input) {\n id\n jobFunction\n referrer\n }\n}\n "]);return t3=function(){return e},e}function t9(){let e=(0,em._)(["\n mutation UpdateUserSettings($patch: [JSONPatch!]) {\n updateUserSettings(patch: $patch) {\n showWorkspaceSetup\n showGetStarted\n welcomeDocId\n locale\n }\n}\n "]);return t9=function(){return e},e}function t8(){let e=(0,em._)(["\n query GetGraphqlUser {\n user {\n id\n displayName\n profileImageUrl\n email\n workspaceMemberships {\n workspace {\n id\n name\n adminCount\n memberCount\n }\n role\n disabled\n }\n }\n}\n "]);return t8=function(){return e},e}function t7(){let e=(0,em._)(["\n mutation DeleteUser {\n deleteUser {\n id\n }\n}\n "]);return t7=function(){return e},e}function t6(){let e=(0,em._)(["\n query GetWorkspaceSubscription($workspaceId: ID!, $includeExpired: Boolean) {\n subscription(workspaceId: $workspaceId, includeExpired: $includeExpired) {\n id\n status\n billingSubscriptionId\n createdByUser {\n id\n email\n displayName\n billingCustomerId\n }\n products {\n id\n name\n key\n productPrice {\n id\n price\n currency\n frequencyUnit\n frequencyInterval\n }\n units\n createdTime\n }\n createdTime\n nextBillingTime\n expirationTime\n cancellationRequestedTime\n }\n}\n "]);return t6=function(){return e},e}function ne(){let e=(0,em._)(["\n mutation UpdateWorkspace($input: UpdateWorkspaceInput!) {\n updateWorkspace(input: $input) {\n id\n name\n defaultThemeId\n logoUrl\n workspaceMemberPermission\n accessLinkPermission\n }\n}\n "]);return ne=function(){return e},e}function nt(){let e=(0,em._)(["\n query GetWorkspaceMembers($first: Int, $after: String, $sortBy: WorkspaceMembersSortOrder, $id: ID!) {\n workspaceMembers(id: $id, first: $first, after: $after, sortBy: $sortBy) {\n edges {\n node {\n displayName\n id\n createdTime\n profileImageUrl\n email\n workspaceMemberships {\n workspace {\n id\n }\n role\n createdTime\n disabled\n }\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n "]);return nt=function(){return e},e}function nn(){let e=(0,em._)(["\n query GetWorkspace($id: String!) {\n workspace(id: $id) {\n id\n name\n adminCount\n memberCount\n invitations {\n id\n email\n createdTime\n }\n defaultThemeId\n logoUrl\n workspaceMemberPermission\n accessLinkPermission\n }\n}\n "]);return nn=function(){return e},e}function nl(){let e=(0,em._)(["\n mutation UpdateMemberRole($workspaceId: ID!, $userId: ID!, $role: WorkspaceRole) {\n updateMemberRole(workspaceId: $workspaceId, userId: $userId, role: $role) {\n id\n workspaceMemberships {\n workspace {\n id\n name\n }\n role\n disabled\n createdTime\n }\n }\n}\n "]);return nl=function(){return e},e}function na(){let e=(0,em._)(["\n mutation RemoveMember($workspaceId: ID!, $userId: ID!) {\n removeMember(workspaceId: $workspaceId, userId: $userId) {\n id\n name\n adminCount\n }\n}\n "]);return na=function(){return e},e}function no(){let e=(0,em._)(["\n mutation RevokeWorkspaceInvitation($id: ID!) {\n revokeWorkspaceInvitation(id: $id) {\n id\n invitations {\n id\n email\n createdTime\n }\n }\n}\n "]);return no=function(){return e},e}function ni(){let e=(0,em._)(["\n query SearchMention($workspaceId: ID!, $query: String!, $types: [SearchType!] = [user, doc]) {\n search(orgId: $workspaceId, query: $query, types: $types) {\n __typename\n ... on DocResult {\n id\n title\n text\n archived\n previewUrl\n createdBy {\n id\n displayName\n profileImageUrl\n }\n organization {\n id\n }\n editors {\n user {\n id\n displayName\n profileImageUrl\n }\n lastViewed\n lastEdited\n }\n docUser {\n lastViewed\n lastEdited\n favorited\n }\n orgAccess\n publicAccess\n updatedTime\n createdTime\n editedTime\n }\n ... on User {\n id\n displayName\n email\n profileImageUrl\n }\n }\n}\n "]);return ni=function(){return e},e}function nr(){let e=(0,em._)(["\n mutation AddCollaborators($docId: ID!, $collaborators: [DocCollaboratorInput!]!) {\n addCollaborators(docId: $docId, collaborators: $collaborators) {\n id\n collaborators {\n ...DocCollaboratorFields\n }\n invitations {\n ...DocInvitationsFields\n }\n }\n}\n ","\n",""]);return nr=function(){return e},e}function ns(){let e=(0,em._)(["\n mutation RemoveCollaborators($docId: ID!, $collaborators: [DocCollaboratorRemovalInput!]!) {\n removeCollaborators(docId: $docId, collaborators: $collaborators) {\n id\n collaborators {\n ...DocCollaboratorFields\n }\n invitations {\n ...DocInvitationsFields\n }\n }\n}\n ","\n",""]);return ns=function(){return e},e}function nd(){let e=(0,em._)(["\n mutation AddCollaboratorByAccessLink($docId: ID!) {\n addCollaboratorByAccessLink(docId: $docId) {\n id\n collaborators {\n ...DocCollaboratorFields\n }\n }\n}\n ",""]);return nd=function(){return e},e}function nu(){let e=(0,em._)(["\n query GetDoc($id: ID!, $password: String) {\n doc(id: $id, password: $password) {\n id\n title\n titleEdited\n archived\n disabled\n createdTime\n updatedTime\n editedTime\n savedTime\n currentSnapshotId\n publishedSnapshotId\n publishedSnapshot {\n content\n }\n publishedTime\n publicAccess\n comments {\n ...CommentFields\n }\n reactions {\n ...ReactionFields\n }\n accessLinks {\n id\n docId\n type\n permission\n token\n url\n }\n orgAccess\n organization {\n id\n name\n products\n }\n theme {\n ...DefaultThemeFields\n fonts {\n id\n name\n url\n }\n }\n collaborators {\n ...DocCollaboratorFields\n }\n invitations {\n ...DocInvitationsFields\n }\n editors {\n ...DocEditorsFields\n }\n createdBy {\n displayName\n id\n email\n }\n channels {\n ...DocChannelFields\n }\n site {\n ...DocSiteFields\n }\n docGenerateInput {\n id\n docGeneration {\n id\n generationType\n }\n }\n }\n}\n ","\n","\n","\n","\n","\n","\n","\n",""]);return nu=function(){return e},e}function nc(){let e=(0,em._)(["\n query GetDocRobots($id: ID!) {\n doc(id: $id) {\n id\n title\n createdTime\n updatedTime\n currentSnapshot {\n id\n docId\n content\n }\n titleCard {\n previewUrl\n text\n }\n organization {\n id\n name\n products\n }\n createdBy {\n displayName\n id\n email\n }\n }\n}\n "]);return nc=function(){return e},e}function nm(){let e=(0,em._)(["\n subscription SubscribeToDoc($id: ID!) {\n doc(id: $id) {\n ... on DocSubscription {\n id\n title\n titleEdited\n archived\n updatedTime\n editedTime\n savedTime\n publishedTime\n accessLinks {\n id\n docId\n permission\n token\n url\n }\n channels {\n ...DocChannelFields\n }\n collaborators {\n ...DocCollaboratorFields\n }\n editors {\n ...DocEditorsFields\n }\n invitations {\n ...DocInvitationsFields\n }\n theme {\n ...DefaultThemeFields\n }\n reactions {\n ...ReactionFields\n }\n orgAccess\n }\n ... on DocCommentsSubscription {\n id\n comments {\n ...CommentFields\n }\n }\n ... on DocReactionsSubscription {\n id\n reactions {\n ...ReactionFields\n }\n }\n }\n}\n ","\n","\n","\n","\n","\n","\n",""]);return nm=function(){return e},e}function nf(){let e=(0,em._)(["\n mutation UpdateDocTitle($id: ID!, $title: String, $titleEdited: Boolean) {\n updateDoc(input: {id: $id, title: $title, titleEdited: $titleEdited}) {\n id\n title\n titleEdited\n }\n}\n "]);return nf=function(){return e},e}function np(){let e=(0,em._)(["\n mutation UpdateDocOrgAccess($id: ID!, $orgAccess: Permission) {\n updateDoc(input: {id: $id, orgAccess: $orgAccess}) {\n id\n orgAccess\n }\n}\n "]);return np=function(){return e},e}function ng(){let e=(0,em._)(["\n mutation UpdateDocPublicAccess($id: ID!, $publicAccess: Permission) {\n updateDoc(input: {id: $id, publicAccess: $publicAccess}) {\n id\n publicAccess\n }\n}\n "]);return ng=function(){return e},e}function nh(){let e=(0,em._)(["\n mutation UpdateDocAccessLinks($id: ID!, $accessLinks: [AccessLinkInput!]) {\n updateDoc(input: {id: $id, accessLinks: $accessLinks}) {\n id\n accessLinks {\n permission\n id\n }\n }\n}\n "]);return nh=function(){return e},e}function nb(){let e=(0,em._)(["\n mutation UpdateDocTheme($id: ID!, $themeId: String) {\n updateDoc(input: {id: $id, themeId: $themeId}) {\n id\n theme {\n ...DefaultThemeFields\n }\n }\n}\n ",""]);return nb=function(){return e},e}function ny(){let e=(0,em._)(["\n mutation InviteMembers($workspaceId: ID!, $invitees: [InvitationInput!]!) {\n inviteMembers(orgId: $workspaceId, invitees: $invitees) {\n id\n name\n invitations {\n email\n }\n }\n}\n "]);return ny=function(){return e},e}function nv(){let e=(0,em._)(["\n mutation CreateComment($input: CreateCommentInput) {\n createComment(input: $input) {\n id\n docId\n cardId\n content\n targetText\n targetHtml\n createdTime\n updatedTime\n commentId\n archived\n targetId\n status\n user {\n ...CommentAuthorFields\n }\n replies {\n ...ReplyFields\n }\n reactions {\n ...ReactionFields\n }\n }\n}\n ","\n","\n",""]);return nv=function(){return e},e}function nk(){let e=(0,em._)(["\n mutation UpdateComment($input: UpdateCommentInput!) {\n updateComment(input: $input) {\n id\n docId\n content\n updatedTime\n }\n}\n "]);return nk=function(){return e},e}function nx(){let e=(0,em._)(["\n mutation UpdateCommentStatus($input: UpdateCommentStatusInput!) {\n updateCommentStatus(input: $input) {\n id\n status\n updatedTime\n }\n}\n "]);return nx=function(){return e},e}function nw(){let e=(0,em._)(["\n mutation RemoveComment($id: ID!) {\n archiveComment(id: $id) {\n id\n archived\n }\n}\n "]);return nw=function(){return e},e}function nS(){let e=(0,em._)(["\n mutation AddReaction($reactionInput: AddReactionInput!) {\n addReaction(input: $reactionInput) {\n ...ReactionFields\n }\n}\n ",""]);return nS=function(){return e},e}function nC(){let e=(0,em._)(["\n mutation RemoveReaction($reactionInput: RemoveReactionInput!) {\n removeReaction(input: $reactionInput) {\n ...ReactionFields\n }\n}\n ",""]);return nC=function(){return e},e}function nz(){let e=(0,em._)(["\n query GetMemoAnalytics($memoId: ID!) {\n memoStats(id: $memoId) {\n memoId\n uniqueViewers\n uniqueEditors\n cardCount\n lastOpened\n viewers {\n user {\n id\n displayName\n email\n profileImageUrl\n }\n visitorId\n lastOpened\n cardsViewed\n }\n dailyViews {\n dayCount\n timezone\n everyone {\n date\n uniqueVisitors\n }\n viewers {\n date\n uniqueVisitors\n }\n }\n }\n}\n "]);return nz=function(){return e},e}function nA(){let e=(0,em._)(["\n query GetDocCardsAnalytics($docId: ID!, $userId: ID) {\n docCardsStats(docId: $docId, userId: $userId) {\n docId\n uniqueVisitors\n uniqueEditors\n cardCount\n everyone {\n cardId\n viewTimePercent\n viewersPercent\n }\n viewers {\n cardId\n viewTimePercent\n viewersPercent\n }\n }\n}\n "]);return nA=function(){return e},e}function nI(){let e=(0,em._)(["\n mutation SetDocPassword($docId: ID!, $password: String!) {\n setDocPassword(id: $docId, password: $password) {\n id\n accessLinks {\n id\n permission\n type\n }\n }\n}\n "]);return nI=function(){return e},e}function nj(){let e=(0,em._)(["\n mutation RemoveDocPassword($docId: ID!) {\n removeDocPassword(id: $docId) {\n id\n accessLinks {\n id\n permission\n type\n }\n }\n}\n "]);return nj=function(){return e},e}function nF(){let e=(0,em._)(["\n query GetDocPassword($docId: ID!) {\n getDocPassword(id: $docId)\n}\n "]);return nF=function(){return e},e}function nB(){let e=(0,em._)(["\n query GetPublicDoc($docId: ID!) {\n publicDoc(id: $docId) {\n id\n logoUrl\n }\n}\n "]);return nB=function(){return e},e}function nM(){let e=(0,em._)(["\n mutation CreateDoc($workspaceId: ID!, $title: String, $themeId: String, $source: DocSource, $initialContent: BaseSnapshotInput, $channels: [DocChannelInput!], $orgAccess: Permission, $mainPage: Boolean) {\n createDoc(\n input: {orgId: $workspaceId, title: $title, source: $source, initialContent: $initialContent, channels: $channels, themeId: $themeId, orgAccess: $orgAccess, mainPage: $mainPage}\n ) {\n id\n }\n}\n "]);return nM=function(){return e},e}function nE(){let e=(0,em._)(["\n mutation ArchiveDoc($id: ID!) {\n archiveDoc(id: $id) {\n id\n archived\n }\n}\n "]);return nE=function(){return e},e}function n_(){let e=(0,em._)(["\n mutation DeleteDoc($id: ID!) {\n deleteDoc(id: $id)\n}\n "]);return n_=function(){return e},e}function nO(){let e=(0,em._)(["\n mutation UnArchiveDoc($id: ID!) {\n unarchiveDoc(id: $id) {\n id\n archived\n }\n}\n "]);return nO=function(){return e},e}function nP(){let e=(0,em._)(["\n mutation FavoriteDoc($input: DocUserInput!) {\n updateDocUser(input: $input) {\n id\n docId\n lastViewed\n lastEdited\n favorited\n }\n}\n "]);return nP=function(){return e},e}function nT(){let e=(0,em._)(["\n query GetPreviewChannelDocs($first: Int, $after: String, $channelId: ID!) {\n previewChannelDocs(first: $first, after: $after, channelId: $channelId) {\n edges {\n node {\n ...HomeDocFields\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n ",""]);return nT=function(){return e},e}function nR(){let e=(0,em._)(["\n query GetChannelDocActivity($first: Int, $channelId: ID!) {\n channelDocActivity(first: $first, channelId: $channelId) {\n edges {\n node {\n ...ChannelDocActivityFields\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n ",""]);return nR=function(){return e},e}function nN(){let e=(0,em._)(["\n query GetDocs($first: Int, $after: String, $workspaceId: ID, $createdBy: ID, $archived: Boolean, $sortBy: DocSortOrder, $isPrivate: Boolean, $channelId: ID) {\n docs(\n first: $first\n after: $after\n workspaceId: $workspaceId\n createdBy: $createdBy\n archived: $archived\n sortBy: $sortBy\n isPrivate: $isPrivate\n channelId: $channelId\n ) {\n edges {\n node {\n ...HomeDocFields\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n ",""]);return nN=function(){return e},e}function nL(){let e=(0,em._)(["\n query GetSnapshots($docId: ID!, $first: Int, $after: String) {\n snapshots(docId: $docId, first: $first, after: $after) {\n edges {\n node {\n id\n docId\n createdTime\n editors {\n displayName\n id\n }\n schemaVersion\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n "]);return nL=function(){return e},e}function nD(){let e=(0,em._)(["\n mutation DuplicateDoc($duplicateDocInput: DuplicateDocInput!) {\n duplicateDoc(input: $duplicateDocInput) {\n id\n title\n }\n}\n "]);return nD=function(){return e},e}function nW(){let e=(0,em._)(["\n query GetSnapshot($snapshotId: ID!, $docId: ID!, $password: String) {\n snapshot(id: $snapshotId, docId: $docId, password: $password) {\n id\n content\n schemaVersion\n }\n}\n "]);return nW=function(){return e},e}function nU(){let e=(0,em._)(["\n query GetDocForSnapshotViewer($id: ID!) {\n doc(id: $id) {\n id\n currentSnapshotId\n createdTime\n title\n createdBy {\n profileImageUrl\n displayName\n id\n }\n }\n}\n "]);return nU=function(){return e},e}function nH(){let e=(0,em._)(["\n subscription ChannelActivity($channelId: ID!) {\n channelDocActivity(channelId: $channelId) {\n editors {\n id\n displayName\n profileImageUrl\n }\n presenters {\n id\n displayName\n profileImageUrl\n }\n doc {\n ...HomeDocFields\n }\n }\n}\n ",""]);return nH=function(){return e},e}function nG(){let e=(0,em._)(["\n query GetChannels($workspaceId: ID!) {\n channels(workspaceId: $workspaceId) {\n ...ChannelFieldsFragment\n }\n}\n ",""]);return nG=function(){return e},e}function nq(){let e=(0,em._)(["\n query GetChannel($id: ID!, $workspaceId: ID!) {\n channel(id: $id, workspaceId: $workspaceId) {\n ...ChannelFieldsFragment\n }\n}\n ",""]);return nq=function(){return e},e}function nV(){let e=(0,em._)(["\n query GetWorkspaceChannels($workspaceId: ID!, $first: Int, $after: String, $query: String, $sortBy: ChannelSortOrder) {\n workspaceChannels(\n workspaceId: $workspaceId\n first: $first\n after: $after\n query: $query\n sortBy: $sortBy\n ) {\n edges {\n node {\n ...ChannelFieldsFragment\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n ",""]);return nV=function(){return e},e}function nK(){let e=(0,em._)(["\n mutation CreateChannel($input: CreateChannelInput!) {\n createChannel(input: $input) {\n ...ChannelFieldsFragment\n }\n}\n ",""]);return nK=function(){return e},e}function nY(){let e=(0,em._)(["\n mutation JoinChannel($channelId: ID!) {\n joinChannel(channelId: $channelId) {\n ...ChannelFieldsFragment\n }\n}\n ",""]);return nY=function(){return e},e}function n$(){let e=(0,em._)(["\n mutation LeaveChannel($channelId: ID!) {\n leaveChannel(channelId: $channelId) {\n ...ChannelFieldsFragment\n }\n}\n ",""]);return n$=function(){return e},e}function nJ(){let e=(0,em._)(["\n mutation ArchiveChannel($channelId: ID!, $workspaceId: ID!) {\n archiveChannel(id: $channelId, workspaceId: $workspaceId) {\n ...ChannelFieldsFragment\n }\n}\n ",""]);return nJ=function(){return e},e}function nX(){let e=(0,em._)(["\n mutation UpdateChannel($input: UpdateChannelInput) {\n updateChannel(input: $input) {\n ...ChannelFieldsFragment\n }\n}\n ",""]);return nX=function(){return e},e}function nZ(){let e=(0,em._)(["\n query SearchChannels($workspaceId: ID, $query: String!) {\n search(orgId: $workspaceId, query: $query, types: [doc, channel]) {\n __typename\n ... on Channel {\n ...ChannelFieldsFragment\n }\n }\n}\n ",""]);return nZ=function(){return e},e}function nQ(){let e=(0,em._)(["\n subscription Channels($workspaceId: ID!) {\n channels(workspaceId: $workspaceId) {\n ...ChannelFieldsFragment\n }\n}\n ",""]);return nQ=function(){return e},e}function n0(){let e=(0,em._)(["\n query GetCardPreviewUrlsForDoc($docId: ID!, $maxDepth: Int, $archived: Boolean) {\n docCards(docId: $docId, maxDepth: $maxDepth, archived: $archived) {\n docId\n previewUrl\n position\n depth\n id\n archived\n }\n}\n "]);return n0=function(){return e},e}function n1(){let e=(0,em._)(["\n mutation SendCode($input: SendCodeInput!) {\n sendCode(input: $input) {\n emailSent\n provider\n link\n }\n}\n "]);return n1=function(){return e},e}function n2(){let e=(0,em._)(["\n query VerifyCode($input: VerifyCodeInput!) {\n verifyCode(input: $input) {\n verified\n isNew\n }\n}\n "]);return n2=function(){return e},e}function n4(){let e=(0,em._)(["\n mutation Signin($input: SigninInput!) {\n signin(input: $input) {\n success\n }\n}\n "]);return n4=function(){return e},e}function n5(){let e=(0,em._)(["\n mutation Signup($input: SignupInput!) {\n signup(input: $input) {\n id\n organizations {\n id\n }\n settings {\n showWorkspaceSetup\n showGetStarted\n welcomeDocId\n }\n }\n}\n "]);return n5=function(){return e},e}function n3(){let e=(0,em._)(["\n mutation ResetPassword($input: ResetPasswordInput!) {\n resetPassword(input: $input) {\n success\n }\n}\n "]);return n3=function(){return e},e}function n9(){let e=(0,em._)(["\n mutation ChangePassword($input: ChangePasswordInput!) {\n changePassword(input: $input) {\n success\n }\n}\n "]);return n9=function(){return e},e}function n8(){let e=(0,em._)(["\n query GetDocInvitation($docId: ID!, $email: String!, $inviteCode: String!) {\n docInvitation(docId: $docId, email: $email, inviteCode: $inviteCode) {\n docId\n docTitle\n email\n invitedBy {\n displayName\n }\n permission\n }\n}\n "]);return n8=function(){return e},e}function n7(){let e=(0,em._)(["\n mutation AcceptDocInvitation($docId: ID!, $email: String!, $inviteCode: String!) {\n acceptDocInvitation(docId: $docId, email: $email, inviteCode: $inviteCode) {\n id\n }\n}\n "]);return n7=function(){return e},e}function n6(){let e=(0,em._)(["\n query GetWorkspaceInvitation($email: String!, $inviteCode: String!, $workspaceId: String) {\n workspaceInvitation(\n email: $email\n inviteCode: $inviteCode\n workspaceId: $workspaceId\n ) {\n email\n workspaceId\n workspaceName\n invitedBy {\n displayName\n }\n }\n}\n "]);return n6=function(){return e},e}function le(){let e=(0,em._)(["\n mutation JoinWorkspace($input: Invite!) {\n joinWorkspace(input: $input) {\n success\n }\n}\n "]);return le=function(){return e},e}let lt={};(l=_||(_={})).DeceptiveOrMisleading="deceptive_or_misleading",l.Explicit="explicit",l.Other="other",l.Spam="spam",l.Inappropriate="inappropriate",(a=O||(O={})).Password="password",a.Token="token",(P||(P={})).MemberCount="memberCount",(o=T||(T={})).Azure="azure",o.Openai="openai",(i=R||(R={})).GetShortenedSystem="getShortenedSystem",i.GetShortenedUser="getShortenedUser",i.GetOutlineSystem="getOutlineSystem",i.GetOutlineUser="getOutlineUser",i.GenerateDocumentSystem="generateDocumentSystem",i.GenerateDocumentUser="generateDocumentUser",i.GeneratePresentationSystem="generatePresentationSystem",i.GeneratePresentationUser="generatePresentationUser",i.GenerateWebpageSystem="generateWebpageSystem",i.GenerateWebpageUser="generateWebpageUser",i.GenerateDocumentAdvancedSystem="generateDocumentAdvancedSystem",i.GenerateDocumentAdvancedUser="generateDocumentAdvancedUser",i.GeneratePresentationAdvancedSystem="generatePresentationAdvancedSystem",i.GeneratePresentationAdvancedUser="generatePresentationAdvancedUser",i.GenerateWebpageAdvancedSystem="generateWebpageAdvancedSystem",i.GenerateWebpageAdvancedUser="generateWebpageAdvancedUser",i.ClassifySystem="classifySystem",i.ClassifyUser="classifyUser",i.AddCardSystem="addCardSystem",i.AddCardUser="addCardUser",i.BasicReplyChatSystem="basicReplyChatSystem",i.BasicReplyChatUser="basicReplyChatUser",i.SuggestTextSystem="suggestTextSystem",i.SuggestTextUser="suggestTextUser",i.SuggestThemeSystem="suggestThemeSystem",i.SuggestThemeUser="suggestThemeUser",i.SuggestImagesSystem="suggestImagesSystem",i.SuggestImagesUser="suggestImagesUser",i.RateImagesSystem="rateImagesSystem",i.RateImagesUser="rateImagesUser",i.ReplaceContentSystem="replaceContentSystem",i.ReplaceContentUser="replaceContentUser",i.ChangeAccentImageLayoutSystem="changeAccentImageLayoutSystem",i.ChangeAccentImageLayoutUser="changeAccentImageLayoutUser",i.ChangeContentLayoutSystem="changeContentLayoutSystem",i.ChangeContentLayoutUser="changeContentLayoutUser",i.ChangeContentSystem="changeContentSystem",i.ChangeContentUser="changeContentUser",i.GenerateImagePromptSystem="generateImagePromptSystem",i.GenerateImagePromptUser="generateImagePromptUser",i.Raw="raw",(r=N||(N={})).Assistant="assistant",r.System="system",r.User="user",(s=L||(L={})).Open="open",s.Closed="closed",(d=D||(D={})).Aud="AUD",d.Brl="BRL",d.Cad="CAD",d.Cny="CNY",d.Eur="EUR",d.Gbp="GBP",d.Idr="IDR",d.Inr="INR",d.Jpy="JPY",d.Krw="KRW",d.Twd="TWD",d.Usd="USD",(u=W||(W={})).Deck="deck",u.Webpage="webpage",u.Document="document",(c=U||(U={})).Title="title",c.LastViewed="lastViewed",c.LastEdited="lastEdited",c.Favorited="favorited",c.CreatedTime="createdTime",c.EditedTime="editedTime",c.UpdatedTime="updatedTime",(m=H||(H={})).AiGenerated="ai_generated",m.Blank="blank",m.DuplicateDoc="duplicate_doc",m.DuplicateInspiration="duplicate_inspiration",m.DuplicateTemplate="duplicate_template",m.GammaGenerated="gamma_generated",m.ImportGoogleDoc="import_google_doc",m.ImportGoogleSlides="import_google_slides",m.ImportDocx="import_docx",m.ImportPptx="import_pptx",m.ImportWebpage="import_webpage",m.ImportPdf="import_pdf",m.SlashNew="slash_new",m.SitesAddPage="sites_add_page",m.SitesCopyToSite="sites_copy_to_site",m.SitesDuplicatePage="sites_duplicate_page",(f=G||(G={})).Pending="pending",f.Verified="verified",f.Failed="failed",(p=q||(q={})).Otf="otf",p.Ttf="ttf",(g=V||(V={})).Name="name",g.UpdatedTime="updatedTime",(h=K||(K={})).Day="day",h.Week="week",h.Month="month",h.Year="year",(b=Y||(Y={})).Generate="generate",b.PasteText="paste_text",b.ImportGoogleDoc="import_google_doc",b.ImportGoogleSlides="import_google_slides",b.UploadWordFile="upload_word_file",b.UploadPpt="upload_ppt",b.ImportWebpage="import_webpage",b.ImportPdf="import_pdf",(y=$||($={})).Add="add",y.Remove="remove",y.Replace="replace",y.Copy="copy",y.Move="move",y.Test="test",(v=J||(J={})).Video="video",v.Embed="embed",v.Image="image",(k=X||(X={})).Add="add",k.Remove="remove",k.Replace="replace",(x=Z||(Z={})).Manage="manage",x.Edit="edit",x.Comment="comment",x.View="view",(w=Q||(Q={})).Signin="signin",w.Signup="signup",w.Reset="reset",(S=ee||(ee={})).Low="low",S.Medium="medium",S.High="high",S.Unknown="unknown",(C=et||(et={})).Doc="doc",C.Theme="theme",(en||(en={})).CreatedTime="createdTime",(z=el||(el={})).User="user",z.Doc="doc",z.Channel="channel",(A=ea||(ea={})).Reset="reset",A.Setup="setup",(I=eo||(eo={})).Asc="asc",I.Desc="desc",(j=ei||(ei={})).Active="active",j.Canceled="canceled",j.Incomplete="incomplete",j.IncompleteExpired="incomplete_expired",j.PastDue="past_due",j.Paused="paused",j.Trialing="trialing",j.Unpaid="unpaid",(F=er||(er={})).Card="card",F.Comment="comment",F.Decoration="decoration",(es||(es={})).LastOpened="lastOpened",(B=ed||(ed={})).CreatedTime="createdTime",B.DisplayName="displayName",B.Role="role",(M=eu||(eu={})).Admin="admin",M.View="view",(E=ec||(ec={})).Admin="admin",E.Member="member";let ln=(0,ef.Ps)(eh()),ll=(0,ef.Ps)(eb(),ln),la=(0,ef.Ps)(ey()),lo=(0,ef.Ps)(ev()),li=(0,ef.Ps)(ek()),lr=(0,ef.Ps)(ex()),ls=(0,ef.Ps)(ew());(0,ef.Ps)(eS());let ld=(0,ef.Ps)(eC());(0,ef.Ps)(ez());let lu=(0,ef.Ps)(eA()),lc=(0,ef.Ps)(eI()),lm=(0,ef.Ps)(ej()),lf=(0,ef.Ps)(eF(),lm),lp=(0,ef.Ps)(eB(),lc,lf),lg=(0,ef.Ps)(eM()),lh=(0,ef.Ps)(eE()),lb=(0,ef.Ps)(e_()),ly=(0,ef.Ps)(eO(),lh,lb),lv=(0,ef.Ps)(eP(),lh,ly,lb),lk=(0,ef.Ps)(eT()),lx=(0,ef.Ps)(eR()),lw=(0,ef.Ps)(eN()),lS=(0,ef.Ps)(eL()),lC=(0,ef.Ps)(eD()),lz=(0,ef.Ps)(eW(),lb);(0,ef.Ps)(eU(),lh),(0,ef.Ps)(eH(),ly);let lA=(0,ef.Ps)(eG(),lb);(0,ef.Ps)(eq(),lb),(0,ef.Ps)(eV()),(0,ef.Ps)(eK());let lI=(0,ef.Ps)(eY()),lj=(0,ef.Ps)(e$(),lc),lF=(0,ef.Ps)(eJ(),lj),lB=(0,ef.Ps)(eX());(0,ef.Ps)(eZ());let lM=(0,ef.Ps)(eQ());function lE(e){let t={...lt,...e};return ep.D(lM,t)}(0,ef.Ps)(e0());let l_=(0,ef.Ps)(e1()),lO=(0,ef.Ps)(e2());(0,ef.Ps)(e4(),ll),(0,ef.Ps)(e5(),ll),(0,ef.Ps)(e3(),ln);let lP=(0,ef.Ps)(e9(),ll);function lT(e){let t={...lt,...e};return eg.a(lP,t)}(0,ef.Ps)(e8(),ll),(0,ef.Ps)(e7(),lf),(0,ef.Ps)(e6()),(0,ef.Ps)(te());let lR=(0,ef.Ps)(tt());(0,ef.Ps)(tn(),lf,lg),(0,ef.Ps)(tl()),(0,ef.Ps)(ta(),la),(0,ef.Ps)(to(),la),(0,ef.Ps)(ti(),la),(0,ef.Ps)(tr(),la),(0,ef.Ps)(ts(),la),(0,ef.Ps)(td(),la),(0,ef.Ps)(tu(),lo);let lN=(0,ef.Ps)(tc());function lL(e){let t={...lt,...e};return ep.D(lN,t)}(0,ef.Ps)(tm());let lD=(0,ef.Ps)(tf(),lo);function lW(e){let t={...lt,...e};return eg.a(lD,t)}(0,ef.Ps)(tp()),(0,ef.Ps)(tg()),(0,ef.Ps)(th()),(0,ef.Ps)(tb(),ls,lr),(0,ef.Ps)(ty(),li),(0,ef.Ps)(tv(),ld),(0,ef.Ps)(tk(),lu),(0,ef.Ps)(tx()),(0,ef.Ps)(tw()),(0,ef.Ps)(tS(),lp),(0,ef.Ps)(tC()),(0,ef.Ps)(tz()),(0,ef.Ps)(tA()),(0,ef.Ps)(tI()),(0,ef.Ps)(tj()),(0,ef.Ps)(tF()),(0,ef.Ps)(tB()),(0,ef.Ps)(tM()),(0,ef.Ps)(tE()),(0,ef.Ps)(t_(),lp),(0,ef.Ps)(tO(),lp),(0,ef.Ps)(tP(),lc),(0,ef.Ps)(tT(),lf,lg),(0,ef.Ps)(tR()),(0,ef.Ps)(tN(),lp),(0,ef.Ps)(tL()),(0,ef.Ps)(tD()),(0,ef.Ps)(tW()),(0,ef.Ps)(tU()),(0,ef.Ps)(tH()),(0,ef.Ps)(tG(),lf),(0,ef.Ps)(tq(),lf),(0,ef.Ps)(tV(),lf),(0,ef.Ps)(tK(),lf),(0,ef.Ps)(tY(),lf),(0,ef.Ps)(t$(),lf);let lU=(0,ef.Ps)(tJ(),lf);function lH(e){let t={...lt,...e};return eg.a(lU,t)}(0,ef.Ps)(tX(),lf),(0,ef.Ps)(tZ(),lf),(0,ef.Ps)(tQ()),(0,ef.Ps)(t0(),lg);let lG=(0,ef.Ps)(t1(),lg);function lq(e){let t={...lt,...e};return eg.a(lG,t)}(0,ef.Ps)(t2(),lg);let lV=(0,ef.Ps)(t4());function lK(e){let t={...lt,...e};return eg.a(lV,t)}let lY=(0,ef.Ps)(t5()),l$=(0,ef.Ps)(t3()),lJ=(0,ef.Ps)(t9());(0,ef.Ps)(t8()),(0,ef.Ps)(t7()),(0,ef.Ps)(t6()),(0,ef.Ps)(ne()),(0,ef.Ps)(nt()),(0,ef.Ps)(nn()),(0,ef.Ps)(nl()),(0,ef.Ps)(na()),(0,ef.Ps)(no());let lX=(0,ef.Ps)(ni());function lZ(e){let t={...lt,...e};return eg.a(lX,t)}(0,ef.Ps)(nr(),lk,lx),(0,ef.Ps)(ns(),lk,lx),(0,ef.Ps)(nd(),lk),(0,ef.Ps)(nu(),lv,lb,lf,lk,lx,lS,lw,lC),(0,ef.Ps)(nc()),(0,ef.Ps)(nm(),lw,lk,lS,lx,lf,lb,lv),(0,ef.Ps)(nf()),(0,ef.Ps)(np()),(0,ef.Ps)(ng()),(0,ef.Ps)(nh()),(0,ef.Ps)(nb(),lf),(0,ef.Ps)(ny());let lQ=(0,ef.Ps)(nv(),lh,ly,lb);function l0(e){let t={...lt,...e};return ep.D(lQ,t)}let l1=(0,ef.Ps)(nk());function l2(e){let t={...lt,...e};return ep.D(l1,t)}let l4=(0,ef.Ps)(nx());function l5(e){let t={...lt,...e};return ep.D(l4,t)}let l3=(0,ef.Ps)(nw());function l9(e){let t={...lt,...e};return ep.D(l3,t)}let l8=(0,ef.Ps)(nS(),lb);function l7(e){let t={...lt,...e};return ep.D(l8,t)}let l6=(0,ef.Ps)(nC(),lb);function ae(e){let t={...lt,...e};return ep.D(l6,t)}(0,ef.Ps)(nz()),(0,ef.Ps)(nA()),(0,ef.Ps)(nI()),(0,ef.Ps)(nj()),(0,ef.Ps)(nF()),(0,ef.Ps)(nB()),(0,ef.Ps)(nM()),(0,ef.Ps)(nE()),(0,ef.Ps)(n_()),(0,ef.Ps)(nO());let at=(0,ef.Ps)(nP());function an(e){let t={...lt,...e};return ep.D(at,t)}(0,ef.Ps)(nT(),lj),(0,ef.Ps)(nR(),lF),(0,ef.Ps)(nN(),lj),(0,ef.Ps)(nL()),(0,ef.Ps)(nD()),(0,ef.Ps)(nW()),(0,ef.Ps)(nU()),(0,ef.Ps)(nH(),lj),(0,ef.Ps)(nG(),lB),(0,ef.Ps)(nq(),lB),(0,ef.Ps)(nV(),lB),(0,ef.Ps)(nK(),lB),(0,ef.Ps)(nY(),lB),(0,ef.Ps)(n$(),lB),(0,ef.Ps)(nJ(),lB),(0,ef.Ps)(nX(),lB),(0,ef.Ps)(nZ(),lB),(0,ef.Ps)(nQ(),lB),(0,ef.Ps)(n0()),(0,ef.Ps)(n1()),(0,ef.Ps)(n2()),(0,ef.Ps)(n4()),(0,ef.Ps)(n5()),(0,ef.Ps)(n3()),(0,ef.Ps)(n9()),(0,ef.Ps)(n8()),(0,ef.Ps)(n7()),(0,ef.Ps)(n6()),(0,ef.Ps)(le())},19431:function(e,t,n){"use strict";let l;n.d(t,{yL:function(){return y.yL},Dan:function(){return y.Dan},nyn:function(){return y.nyn},Run:function(){return y.Run},XaP:function(){return y.XaP},Ux9:function(){return y.Ux9},Fa6:function(){return y.Fa6},ATM:function(){return y.ATM},f:function(){return y.f},wk2:function(){return y.wk2},VRt:function(){return y.VRt},C_B:function(){return y.C_B},C9N:function(){return p},DDH:function(){return y.DDH},wNJ:function(){return y.wNJ},Sc3:function(){return y.Sc3},dcb:function(){return y.dcb},Lmy:function(){return y.Lmy},ftw:function(){return y.ftw},POY:function(){return y.POY},WQq:function(){return b},Os4:function(){return y.Os4},BAq:function(){return y.BAq},sHn:function(){return y.sHn},$4k:function(){return y.$4k},WHS:function(){return y.WHS},Y96:function(){return y.Y96},y5Q:function(){return y.y5Q},qOp:function(){return y.qOp},BCl:function(){return y.BCl},$gs:function(){return f},n70:function(){return y.n70},d6Z:function(){return y.d6Z},OY$:function(){return y.OY$},oRU:function(){return y.oRU},qHm:function(){return y.qHm}});var a,o,i,r,s=n(14274);n(52322),n(38035),n(81540),n(28535),n(77533),n(5879);var d=n(2784);n(42111);var u=n(76919);n(944),n(18733),n(88640),new URLSearchParams(s.v.IS_CLIENT_SIDE?window.location.search:"").get("MAX_BACKGROUND_TIME_ALLOWED");let c=e=>function(){console.debug("%c[useApiRefetch] Refetching due to ".concat(e),"background-color: aqua"),b().reFetchObservableQueries()};c("HeartbeatConnectionState"),c("useWakeUpDetector"),c("foregrounded"),(a=i||(i={})).INITIALIZING="INITIALIZING",a.CONNECTED="CONNECTED",a.RECONNECTED="RECONNECTED",a.DISCONNECTED="DISCONNECTED";let m=d.createContext({isConnected:!0,setHocuspocusConnected:()=>{}});function f(){let e=(0,d.useContext)(m);return e}let p=new u.v;var g=n(90019);let h=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e,t)=>e("id",t);return function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],{readField:a,mergeObjects:o,fieldName:i}=arguments.length>2?arguments[2]:void 0,r=Object.create(null);if(!l)return n;n&&n.forEach((e,n)=>{r[t(a,e)]=n});let s=l.reduce((n,l)=>{let i=t(a,l),s=r[i],d=a("deleted",l),u=e&&a("archived",l),c=d||u;return"number"==typeof s?c?n[s]=null:n[s]=o(n[s],l):c||(r[i]=n.length,n.push(l)),n},n?[...n]:[]).filter(Boolean);return s}};h(!1,(e,t)=>e("emoji",t)),h(!0),h(!0),h(!0),h(!0,(e,t)=>{let n=e("user",t);return e("id",n)}),h(!1,(e,t)=>{let n=e("targetId",t),l=e("emoji",t);return"".concat(l,":").concat(n)}),h(!0),h(!0),(0,g.ZB)(),(0,g.ZB)(["channelId"]),(0,g.ZB)(["workspaceId","archived","sortBy","createdBy","isPrivate","channelId"]),h(!0),(0,g.ZB)(["docId","type","source"]),(0,g.ZB)(["workspaceId"]),h(!0),(0,g.ZB)(["docId"]),h(!1),(0,g.ZB)();let b=()=>l;var y=n(76332);"undefined"==typeof ErrorEvent||ErrorEvent;var v=n(38298);(o=r||(r={})).GET_ORGANIZATION="getOrganization",o.GET_USER="getUser";let k=new v.Configuration({basePath:"".concat(s.v.API_HOST),credentials:"include"});new v.OrganizationsApi(k),new v.UsersApi(k)},90570:function(e,t,n){"use strict";n.d(t,{A2:function(){return K},$m:function(){return V.$m}});var l,a,o,i,r,s,d=n(52322),u=n(70065),c=n(17993),m=n(29117),f=n(74409),p=n(77533),g=n(43297),h=n(62614),b=n(11082),y=n(28535),v=n(97143),k=n(54933),x=n(49929),w=n(5879),S=n(87254),C=n(14274),z=n(19431);let A=()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"sign_up_complete"})};var I=n(17018),j=n(19902),F=n(11050),B=n(36651),M=n(18733),E=n(88640),_=n(88232);let O=null,P=null;(l=i||(i={})).LOGIN_COMPLETE="loginComplete",l.LOGIN_FAILURE="loginFailure",l.SIGNUP_COMPLETE="signupComplete";let T=e=>{if(!e)return;let{userId:t,workspaceId:n}=e;F.co.identify(t,{user_org_id:n,anonymous_user:!1,gamma_user_id:t})},R=(e,t)=>(0,z.WQq)().mutate({mutation:z.ftw,variables:{input:{id:e,referrer:t}}}),N=()=>{let e=(0,I.py)(),t=(0,B.Yu)({set:{locale:e}});return(0,z.WQq)().mutate({mutation:z.POY,variables:{patch:t}})},L=e=>["docAccessLink","docInvitation"].includes(e),D=e=>{let{data:t,redirectTo:n}=e,l=n||(0,_.wH)();if(t){let{welcomeDocId:e,newWorkspace:n,signupFlow:a}=t;if(e)try{M.W.setItem(E.H.welcomeDocId,JSON.stringify(e))}catch(e){}if(L(a))return l;n&&(l="/welcome?newWorkspace=true")}return l},W=e=>{var t,n,l,a,o,r,s,d,u,c,m,f,p,g,h,b;let{event:y,errorCallback:v,redirectTo:k,doneCallback:x}=e,w=(0,j.K)(),S=w.get(),{data:z}=y;if(z.type===i.LOGIN_COMPLETE){let e=k||"/";if(T(null==z?void 0:null===(t=z.payload)||void 0===t?void 0:t.data),F.co.track(F.AA.LOGIN,{provider:"google"},{context:S}),!k&&x){x();return}let i=null==z?void 0:null===(l=z.payload)||void 0===l?void 0:null===(n=l.data)||void 0===n?void 0:n.isFirstWorkspace;i&&(null==z?void 0:null===(a=z.payload)||void 0===a?void 0:a.data)&&(e=D({data:null===(o=z.payload)||void 0===o?void 0:o.data,redirectTo:k})),window.location.href=e}if(z.type===i.SIGNUP_COMPLETE){T(null==z?void 0:null===(r=z.payload)||void 0===r?void 0:r.data),F.co.track(F.AA.SIGNUP,{flow:null==z?void 0:null===(d=z.payload)||void 0===d?void 0:null===(s=d.data)||void 0===s?void 0:s.signupFlow,provider:"google"},{context:S});let e=null==z?void 0:null===(c=z.payload)||void 0===c?void 0:null===(u=c.data)||void 0===u?void 0:u.userId,t=e&&C.v.IS_USER_TESTING_SESSION?R(e,"USER_TESTING"):Promise.resolve();e&&(0,I.u_)()&&N();let n=k||"/",l=null==z?void 0:null===(f=z.payload)||void 0===f?void 0:null===(m=f.data)||void 0===m?void 0:m.isFirstWorkspace;if(!k&&x&&!l){x();return}if(l&&(null==z?void 0:null===(p=z.payload)||void 0===p?void 0:p.data)){A();let{signupFlow:e}=z.payload.data;if(L(e)&&x){x();return}n=D({data:null===(g=z.payload)||void 0===g?void 0:g.data,redirectTo:k})}t.then(()=>{window.location.href=n})}if(z.type===i.LOGIN_FAILURE){let e=null==y?void 0:null===(b=y.data)||void 0===b?void 0:null===(h=b.payload)||void 0===h?void 0:h.code;if(!v){console.error("No error callback defined");return}if(!e){console.error("No code defined");return}v(e)}};(a=r||(r={})).ACCEPT_DOC_INVITATION="accept-doc-invitation",a.ACCEPT_WORKSPACE_INVITATION="accept-workspace-invitation",a.DOC_ACCESS_LINK="doc-access-link",a.JOIN_WITH_CODE="join-with-code",a.DEFAULT_LOGIN="login",a.SIGNUP="signup";let U=(e,t)=>{switch(e){case r.JOIN_WITH_CODE:{let{workspaceId:e,inviteCode:n,referredByUserId:l}=t,a=new URL("".concat(C.v.API_HOST||"https://gamma.app","/organizations/").concat(e,"/join/").concat(n));return l&&a.searchParams.set("referredByUserId",l),a.toString()}case r.ACCEPT_DOC_INVITATION:{let{docId:e,email:n,inviteCode:l}=t;return"".concat(C.v.API_HOST,"/invitations/docs/").concat(e,"/?inviteCode=").concat(l,"&email=").concat(n)}case r.ACCEPT_WORKSPACE_INVITATION:{let{workspaceId:e,email:n,inviteCode:l}=t;return"".concat(C.v.API_HOST,"/invitations/workspaces/").concat(e,"?inviteCode=").concat(l,"&email=").concat(n)}case r.DOC_ACCESS_LINK:{let{docId:e,shareToken:n}=t;return"".concat(C.v.API_HOST,"/access-links/docs/").concat(e,"/?token=").concat(n)}case r.SIGNUP:{let{inviteCode:e,referredByUserId:n,partnerStackClickId:l,partnerStackPartnerId:a}=t,o=new URL("".concat(C.v.API_HOST||"https://gamma.app","/signup"));return e&&o.searchParams.set("inviteCode",e),n&&o.searchParams.set("referredByUserId",n),l&&o.searchParams.set("partnerStackClickId",l),a&&o.searchParams.set("partnerStackPartnerId",a),o.toString()}default:return"".concat(C.v.API_HOST,"/login")}},H=e=>{let{type:t,params:n,errorCallback:l,redirectTo:a,doneCallback:o}=e,i=U(t,n),r="toolbar=no, menubar=no, width=600, height=700, top=100, left=100";null===O||O.closed?O=window.open(i,t,r):P!==i?null!==(O=window.open(i,t,r))&&O.focus():O.focus(),(0,_.a_)().addEventListener("message",e=>{W({event:e,errorCallback:l,redirectTo:a,doneCallback:o})}),P=i};var G=n(94199);(o=s||(s={})).invalid_signup_code="invalid_signup_code",o.invalid_reset_code="invalid_reset_code",o.invalid_user="invalid_user",o.other_workspace_member="other_workspace_member";let q={[s.invalid_signup_code]:{title:(0,d.jsx)(w.cC,{id:"F6yt1L",values:{GAMMA_PROPER_NOUN:G.N6}}),description:(0,d.jsx)(w.cC,{id:"hVNvhu"})},[s.invalid_reset_code]:{title:(0,d.jsx)(w.cC,{id:"SvShcH"}),description:(0,d.jsx)(w.cC,{id:"Vm3y4h"})},[s.invalid_user]:{title:(0,d.jsx)(w.cC,{id:"a2AYF6"}),description:(0,d.jsx)(w.cC,{id:"x9CdxW",values:{GAMMA_PROPER_NOUN:G.N6}})},[s.other_workspace_member]:{title:(0,d.jsx)(w.cC,{id:"J5F9Vo"}),description:(0,d.jsx)(w.cC,{id:"CTBeTd",values:{GAMMA_PROPER_NOUN:G.N6}})}};var V=n(18724);let K=e=>{var t,n,l;let{accessLink:a,doc:o,refetchFn:i,...s}=e,y=(0,u.p)(),{refetch:C}=(0,B.SE)(),z=i||C,A=e=>{let{title:t,description:n}=q[e]||{title:(0,d.jsx)(w.cC,{id:"U7nnQt"}),description:e};y.isActive(e)||y({title:t,description:n,position:"top",id:e,status:"error",isClosable:!0,duration:null})},I=null!==(n=null==a?void 0:a.permission)&&void 0!==n?n:"view",j={manage:(0,d.jsx)(w.cC,{id:"C11Xkl",values:{GAMMA_ARTIFACT_PROPER_NOUN:G.Yc}}),edit:(0,d.jsx)(w.cC,{id:"C11Xkl",values:{GAMMA_ARTIFACT_PROPER_NOUN:G.Yc}}),comment:(0,d.jsx)(w.cC,{id:"gu6c+c",values:{GAMMA_ARTIFACT_PROPER_NOUN:G.Yc}}),view:(0,d.jsx)(w.cC,{id:"LoR9yH",values:{GAMMA_ARTIFACT_PROPER_NOUN:G.Yc}})},F=j[I],M={manage:(0,d.jsx)(w.cC,{id:"MEeXaP"}),edit:(0,d.jsx)(w.cC,{id:"MEeXaP"}),comment:(0,d.jsx)(w.cC,{id:"dx3Kfr"}),view:(0,d.jsx)(w.cC,{id:"R2ZEYO"})},E=M[I],_={manage:{icon:k.TzT,colorScheme:"cyan"},edit:{icon:k.TzT,colorScheme:"cyan"},comment:{icon:k.Mzg,colorScheme:"yellow"},view:{icon:k.Pk,colorScheme:"green"}},O=null!==(l=null==o?void 0:null===(t=o.editors)||void 0===t?void 0:t.map(e=>e.user.displayName))&&void 0!==l?l:[],P=(()=>{switch(I){case"manage":case"edit":switch(O.length){case 0:return(0,d.jsx)(w.cC,{id:"bspMVx",values:{GAMMA_ARTIFACT_PROPER_NOUN:G.Yc},components:{0:(0,d.jsx)("span",{role:"img","aria-label":S.ag._({id:"JGFG6q"})}),1:(0,d.jsx)("strong",{})}});case 1:return(0,d.jsx)(w.cC,{id:"w49thS",values:{GAMMA_ARTIFACT_PROPER_NOUN:G.Yc,0:O[0]},components:{0:(0,d.jsx)("span",{role:"img","aria-label":S.ag._({id:"JGFG6q"})}),1:(0,d.jsx)("strong",{})}});case 2:return(0,d.jsx)(w.cC,{id:"Tz4Wi7",values:{0:O[0],1:O[1]},components:{0:(0,d.jsx)("span",{role:"img","aria-label":S.ag._({id:"7Lrnj6"})}),1:(0,d.jsx)("strong",{}),2:(0,d.jsx)("strong",{})}});default:return(0,d.jsx)(w.cC,{id:"VhIJ/j",values:{0:O[0],1:O.length-1},components:{0:(0,d.jsx)("span",{role:"img","aria-label":S.ag._({id:"7Lrnj6"})}),1:(0,d.jsx)("strong",{})}})}case"comment":return(0,d.jsx)(w.cC,{id:"vIOI7i",components:{0:(0,d.jsx)("span",{role:"img","aria-label":S.ag._({id:"OoNfwA"})}),1:(0,d.jsx)("strong",{}),2:(0,d.jsx)("strong",{})}});default:return(0,d.jsx)(w.cC,{id:"k/HcwJ",values:{GAMMA_ARTIFACT_PROPER_NOUN:G.Yc},components:{0:(0,d.jsx)("strong",{})}})}})(),T=async()=>{z&&(await z(),(0,V.bC)()),y.isActive("login-complete")||y({title:(0,d.jsx)(w.cC,{id:"yFvQAN"}),description:F,position:"top",id:"login-complete",status:"success",isClosable:!0,duration:5e3})};return(0,d.jsxs)(c.g,{align:"stretch",...s,children:[(0,d.jsxs)(m.U,{spacing:4,mr:6,children:[(0,d.jsx)(Y,{icon:(0,d.jsx)(x.G,{icon:_[I].icon}),colorScheme:_[I].colorScheme}),(0,d.jsx)(f.X,{size:"sm",children:E})]}),(0,d.jsx)(p.x,{fontSize:"sm",children:P}),(0,d.jsxs)(g.K,{children:[(0,d.jsx)(h.z,{variant:"solid",leftIcon:(0,d.jsx)(x.G,{icon:v.xYR}),size:"md",onClick:()=>{H({type:r.DOC_ACCESS_LINK,params:{docId:null==o?void 0:o.id,shareToken:a.token},errorCallback:A,doneCallback:T})},children:(0,d.jsx)(w.cC,{id:"oZyG4C"})}),(0,d.jsx)(p.x,{fontSize:"xs",color:"gray.600",children:(0,d.jsx)(w.cC,{id:"oXChp6",values:{GAMMA_PROPER_NOUN:G.N6},components:{0:(0,d.jsx)(b.r,{href:"https://gamma.app/terms",isExternal:!0,fontWeight:"bold"}),1:(0,d.jsx)(b.r,{href:"https://gamma.app/privacy",isExternal:!0,fontWeight:"bold"})}})})]})]})},Y=e=>{let{icon:t,colorScheme:n}=e;return(0,d.jsxs)(y.Cd,{size:10,bg:"linear-gradient(to bottom, var(--chakra-colors-".concat(n,"-200), var(--chakra-colors-").concat(n,"-300))"),position:"relative",children:[(0,d.jsx)(y.xu,{color:"".concat(n,".600"),display:"block",mt:"0.5",textAlign:"center",children:t}),(0,d.jsx)(y.Cd,{size:5,position:"absolute",bottom:-1,right:-1,color:"".concat(n,".800"),bg:"".concat(n,".100"),boxShadow:"base",fontSize:"xs",children:(0,d.jsx)(x.G,{icon:k.r8p})})]})};n(2784)},18724:function(e,t,n){"use strict";n.d(t,{$m:function(){return i},bC:function(){return o}}),n(2784);var l=n(14274);n(19431);var a=n(57660);n(36651),n(944);let o=()=>{if(""===l.v.SHARE_TOKEN)return;let{searchParams:e}=new URL(window.location.href);e.delete("token");let t=Object.fromEntries(e.entries());(0,a.lO)({query:t})},i=(e,t)=>{var n;if(!e||t)return null;let a=null==e?void 0:null===(n=e.accessLinks)||void 0===n?void 0:n.find(e=>e.token===l.v.SHARE_TOKEN);return a&&a.permission?a:null}},88232:function(e,t,n){"use strict";n.d(t,{a_:function(){return i},wH:function(){return r}}),n(14274);var l=n(42111),a=n(90221);let o={GENERATE:"/generate",GET_STARTED:"/?getStarted=true",HOME:"/",CREATE:"/create"},i=()=>new BroadcastChannel("gamma_app_login"),r=()=>{let e=l.VH.get("openAiStatus");if("DOWN"===e)return"/?getStarted=true";let t=l.VH.get("signupRedirectTo"),n=l.VH.get("createGenerateV2");return"GENERATE"===t&&n?"/create/generate?ref=dashboard":"CREATE"===t?(0,a.s2)()&&n?"/create/generate?ref=dashboard":"/create":t?o[t]:"/"}},580:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var l=n(52322),a=n(38035);n(2784);let o={allowPopups:!1,noSandbox:!1,preventScroll:void 0},i=e=>{let{initialUrl:t,frameRef:n,iframeOptions:i,backgroundColor:r="white",...s}=e,{allowPopups:d,preventScroll:u,noSandbox:c}=i||o;return(0,l.jsx)(a.k,{w:"100%",h:"100%",direction:"column",background:r,...s,children:(0,l.jsx)("iframe",{ref:n,src:t,frameBorder:"0",width:"100%",height:"100%",allow:"encrypted-media; camera; microphone",allowFullScreen:!0,title:"Embedded app",sandbox:c?void 0:"allow-forms allow-scripts allow-same-origin allow-modals allow-pointer-lock ".concat(d?"allow-popups":""),scrolling:u?"no":void 0,style:{flex:1}})})}},64467:function(e,t,n){"use strict";n.d(t,{AD:function(){return u},I6:function(){return m},IS:function(){return i},Vy:function(){return d},v7:function(){return c}});var l=n(58125);let a={activeNoteCardId:null,isCardNotesPanelOpen:!1,mountEditor:void 0,destroyEditor:void 0},o=(0,l.oM)({name:"CardNotes",initialState:a,reducers:{resetCardNoteProps:()=>a,setCardNoteProps:(e,t)=>{let{activeNoteCardId:n,mountEditor:l,destroyEditor:a}=t.payload;e.activeNoteCardId=n||null,e.mountEditor=l,e.destroyEditor=a},setCardNotesPanelOpen:(e,t)=>{e.isCardNotesPanelOpen=t.payload.isOpen}}}),{setCardNoteProps:i,setCardNotesPanelOpen:r,resetCardNoteProps:s}=o.actions,d=e=>({activeNoteCardId:e.CardNotes.activeNoteCardId,mountEditor:e.CardNotes.mountEditor,destroyEditor:e.CardNotes.destroyEditor}),u=e=>e.CardNotes.activeNoteCardId,c=e=>e.CardNotes.isCardNotesPanelOpen,m=o.reducer},48776:function(e,t,n){"use strict";n.d(t,{T:function(){return c},c:function(){return u}});var l=n(43019),a=n(18149),o=n.n(a),i=n(42111),r=n(94090),s=n(50788),d=n(66625);let u=e=>(0,r.CG)((0,d._e)(e),function(){for(var e=arguments.length,t=Array(e),n=0;n{let{node:t,cardId:n}=e,a=u(n),c=(0,r.CG)((0,d.FI)(n),function(){for(var e=arguments.length,t=Array(e),n=0;na,setCards(e,t){let{cards:n}=t.payload;e.cards=n},setCardText(e,t){e.localCardTextMap=t.payload.localCardTextMap}}}),{setCards:i,setCardText:r,reset:s}=o.actions,d=e=>t=>t.Cards.cards.find(t=>t.id===e),u=e=>t=>{if(e&&t.Cards.localCardTextMap[e])return t.Cards.localCardTextMap[e]},c=e=>e.Cards.localCardTextMap,m=o.reducer},47288:function(e,t,n){"use strict";n.d(t,{$:function(){return d}});var l=n(6238),a=n.n(l),o=n(98621),i=n.n(o),r=n(3543),s=n(33107);let d=a()(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"complement",{matchBrightness:l=!1,contrastColor:a,minContrast:o=3}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},d=Array.from(new Set(t));if(0===d.length)return new Map;if(1===d.length){let t=i()(e);return a&&(0,r.ou)(t,a,o),new Map([[d[0],t.toHex8String()]])}let c=(()=>{switch(n){case"monochrome":{let t=i()(e),n={min:15,max:95};if(a){let e=(e,t,n)=>{let l=u(e,t);return(0,r.ou)(l,a,o,n),Math.round(100*l.toHsl().l)};n.min=e(t,n.min,"lighten"),n.max=e(t,n.max,"darken")}let s=(n.max-n.min)/d.length,c=t.getBrightness(),m=new Map(d.map((e,a)=>{let o=u(t,n.min+s*a);return l&&(0,r.Ol)(o,c),[e,o]}));return m}case"spin":{let t=i()(e),n=t.getBrightness(),a=Math.ceil((d.length-1)/2),o=360/d.length<22?360/d.length:22,u=(0,s.R8)(d.map((e,i)=>{let s=0;ia&&(s=(i-a)*o);let d=t.clone().spin(s);return l&&(0,r.Ol)(d,n),d}),d.length%2==0?a:a+1);return new Map(d.map((e,t)=>[e,u[t]]))}default:{let t=i()(e),a=180/(d.length-1),o=t.getBrightness();return new Map(d.map((e,i)=>{let s=t.clone().spin(a*i*("complement2"===n?-1:1));return l&&(0,r.Ol)(s,o),[e,s]}))}}})();return new Map([...c.entries()].map(e=>{let[t,n]=e;return[t,n.toHex8String()]}))});function u(e,t){let n=e.toHsl();return n.l=t,i()(n)}},28955:function(e,t,n){"use strict";n.d(t,{CK:function(){return p},bT:function(){return f},cb:function(){return m},jK:function(){return c},zn:function(){return u}});var l=n(52322),a=n(59576),o=n(42946),i=n(54933),r=n(49929),s=n(87254),d=n(90439);let u=d.cx?0:.25,c={top:0,right:0,bottom:0,left:0},m={monochrome:{label:()=>s.ag._({id:"VvdC4u"})},spin:{label:()=>s.ag._({id:"0LFzg9"})},complement:{label:()=>s.ag._({id:"2HDXEj"})},complement2:{label:()=>s.ag._({id:"XTxqsS"})}},f="monochrome",p=Object.freeze({pie:{icon:(0,l.jsx)(r.G,{icon:o.OS1}),selectedIcon:(0,l.jsx)(r.G,{icon:i.OS1}),label:()=>s.ag._({id:"RT6aCN"})},donut:{icon:(0,l.jsxs)(a.m.span,{className:"fa-layers fa-fw",children:[(0,l.jsx)(r.G,{icon:o.YhY}),(0,l.jsx)(r.G,{icon:o.nZ9})]}),selectedIcon:(0,l.jsxs)(a.m.span,{className:"fa-layers fa-fw",children:[(0,l.jsx)(r.G,{icon:i.YhY}),(0,l.jsx)(r.G,{icon:o.nZ9})]}),label:()=>s.ag._({id:"Cn5cfQ"})},line:{icon:(0,l.jsx)(r.G,{icon:o.Stf}),selectedIcon:(0,l.jsx)(r.G,{icon:i.Stf}),label:()=>s.ag._({id:"MZW+2G"})},bar:{icon:(0,l.jsx)(r.G,{icon:o.Wpq}),selectedIcon:(0,l.jsx)(r.G,{icon:i.Wpq}),label:()=>s.ag._({id:"EzalDc"})},"horizontal-bar":{icon:(0,l.jsx)(r.G,{icon:o.AGo}),selectedIcon:(0,l.jsx)(r.G,{icon:i.AGo}),label:()=>s.ag._({id:"CeeoKy"})}})},24528:function(e,t,n){"use strict";n.d(t,{Hc:function(){return r},VP:function(){return o},Yr:function(){return a},oV:function(){return i}});var l=n(37164);function a(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null!==(t=n.id)&&void 0!==t?t:(0,l.x0)(),o="auto"===n.dismissable?new Date(Date.now()+5e3):n.dismissable;return{type:"addFeedback",payload:{id:a,message:e,severity:n.severity||"info",dismissable:o}}}function o(){for(var e=arguments.length,t=Array(e),n=0;n{switch(t.type){case"addFeedback":{let n=e.feedback||[];if(n.find(e=>{let{id:n}=e;return n===t.payload.id}))return{...e,feedback:[...n]};return{...e,feedback:[...n,t.payload]}}case"clearFeedback":{let{feedback:t,...n}=e;return{...n}}case"removeFeedback":{let n=e.feedback||[];if(!t.payload.length)return{...e};return{...e,feedback:n.filter(e=>!t.payload.includes(e.id))}}case"reportActiveColumnIds":return{...e,activeColumns:t.payload?[...t.payload]:void 0};case"openContextMenu":return{...e,contextMenu:{isOpen:!0,position:t.payload.position}};case"closeContextMenu":return{...e,contextMenu:{isOpen:!1,position:{x:-1e3,y:-1e3}}};case"setGridFunctions":return{...e,gridFunctions:t.payload};default:(0,o.v)(t)}return e},r={_inContext:!1},s=(0,a.createContext)({state:r,dispatch:()=>{}}),d=e=>{let{children:t}=e,[n,o]=(0,a.useReducer)(i,{...r,_inContext:!0});return(0,l.jsx)(s.Provider,{value:{state:n,dispatch:o},children:t})},u=e=>t=>(0,l.jsx)(d,{children:(0,l.jsx)(e,{...t})})},28091:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var l=n(13109),a=n(5966),o=n(9315);class i{get type(){return this._type}updateType(e,t){let{type:n,format:l="raw"}=t;if(n===this._type&&this.format===l)return;let a=this.getCells(e),i=a.map(e=>e.textValue),r=this.format;this.format=l,this._type=n,a.forEach((t,n)=>{let l=e.getRow(t.position.row);if(!l)throw Error("Row=".concat(l," not found"));let a=e.setEmptyCell(l,this);if((0,o.Vd)(t)&&(0,o.Vd)(a)){a.textValue=t.textValue;return}if((0,o.Vd)(t)&&(0,o.X8)(a)&&"raw"===r&&(0,o.m2)(t.data)){a.textValue="".concat(t.data);return}a.textValue=i[n]})}getCellClass(){switch(this.type){case"label":return a.m;case"data":return l.O}}getCells(e){return e.rows.map(t=>e.getCellOrThrow({row:t.id,column:this.id}))}isEmpty(e){for(let t of e.rows){let n=e.getCellOrThrow({column:this.id,row:t.id});if(!n.isEmpty)return!1}return!0}constructor(e){this.fixedType=!1;let{id:t,type:n,label:l,format:a,fixedType:i}=(0,o.kC)(e);this.id=t,this._type=n,this.label=l.replaceAll(/\r?\n?/g,""),this.format=a||"raw",this.fixedType=i||!1}}},63213:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var l=n(91496),a=n(28091),o=n(88323),i=n(44776),r=n(9315);class s{get columns(){return this._columns}get rows(){return this._rows}get cells(){return this._rows.flatMap(e=>this.columns.map(t=>this._cells[e.id][t.id]))}getColumn(e){return this.columnsIndex.get(e)}getRow(e){return this.rowsIndex.get(e)}getLines(e){return this["".concat(e,"s")]}getCell(e){var t;let{row:n,column:l}=e;return null===(t=this._cells[n])||void 0===t?void 0:t[l]}getCellAtIndex(e){let{row:t,column:n}=e;if(t>=this._rows.length||n>=this._columns.length)throw Error("Index out of bounds");let l=this._rows[t].id,a=this._columns[n].id;return this.getCellOrThrow({row:l,column:a})}isEmpty(){for(let e of this.columns)if(!e.isEmpty(this))return!1;return!0}canAddColumn(){return this.columns.lengthe.id===t),o=this._rows.findIndex(e=>e.id===n);if(!(a<0)&&!(o<0))return{row:o,column:a}}findCellIndexOrThrow(e){let t=this.findCellIndex(e);if(!t)throw Error("Cell not found");return t}getCellOrThrow(e){let t=this.getCell(e);if(!t)throw Error("Cell not found");return t}addEmptyColumn(){let{type:e="data",format:t="raw"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,l=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!l&&this._columns.length>=i.Z)return null;let o=new a.C({type:e,format:t,label:""});for(let e of this._rows)this.setEmptyCell(e,o);switch(n){case void 0:this._columns.push(o);break;case 0:this._columns.unshift(o);break;default:this._columns.splice(n,0,o)}return this.columnsIndex.set(o.id,o),o}addEmptyRow(e,t){if(!t&&this._rows.length>=i.F)return null;let n=new o.H({});for(let e of this._columns)this.setEmptyCell(n,e);switch(e){case void 0:this._rows.push(n);break;case 0:this._rows.unshift(n);break;default:this._rows.splice(e,0,n)}return this.rowsIndex.set(n.id,n),n}deleteColumns(e){let t=Object.fromEntries(e.map(e=>[e,!0]));for(let n of(this._columns=this._columns.filter(e=>{let{id:n}=e;return!t[n]||(this.columnsIndex.delete(n),!1)}),Object.values(this._cells)))for(let t of e)delete n[t];0===this._columns.length&&this.addEmptyColumn()}deleteRows(e){let t=Object.fromEntries(e.map(e=>[e,!0]));this._rows=this._rows.filter(e=>{let{id:n}=e;return!t[n]||(this.rowsIndex.delete(n),delete this._cells[n],!1)}),0===this._rows.length&&this.addEmptyRow()}deleteLines(e,t){switch(e){case"row":return this.deleteRows(t);case"column":return this.deleteColumns(t)}}moveRows(e,t){this.moveLines(e,t,"rows")}moveColumns(e,t){this.moveLines(e,t,"columns")}setEmptyCell(e,t){let n=t.getCellClass(),l=new n({row:e,column:t});return this.setCell(l),l}clone(){let e=s.createEmpty(this.columns.length,this.rows.length);return this.columns.forEach((t,n)=>{e.columns[n].label=this.columns[n].label,e.columns[n].updateType(e,{type:t.type,format:t.format}),this.rows.forEach((t,l)=>{e.getCellAtIndex({row:l,column:n}).textValue=this.getCellAtIndex({row:l,column:n}).textValue})}),e}moveLines(e,t,n){let l="_".concat(n),a=this[l].findIndex(t=>{let{id:n}=t;return n===e[0]});if(-1===a)throw Error("".concat(n,"=").concat(e[0]," not found"));a!==t&&(0,r.im)(this[l],{fromIx:a,toIx:t,count:e.length})}set columns(e){this._columns=e,this.indexColumns(),e&&0!==e.length||this.addEmptyColumn()}set rows(e){this._rows=e,this.indexRows(),e&&0!==e.length||this.addEmptyRow()}set cells(e){for(let t of(this._cells={},e)){let{row:e,column:n}=t.position;if(!this.getColumn(n)){console.error("Column=".concat(n," not found"));continue}if(!this.getRow(e)){console.error("Row=".concat(e," not found"));continue}this.setCell(t)}this._rows.forEach(e=>{this._columns.forEach(t=>{var n;(null===(n=this._cells[e.id])||void 0===n?void 0:n[t.id])||(console.warn("missing cell",e.id,t.id),this.setEmptyCell(e,t))})})}setCell(e){let{row:t,column:n}=e.position;this._cells[t]||(this._cells[t]={}),this._cells[t][n]=e}indexColumns(){this.columnsIndex=(0,r.HK)(this._columns,"id")}indexRows(){this.rowsIndex=(0,r.HK)(this._rows,"id")}static createEmpty(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e<=0||t<=0)throw RangeError("must have at least one column and row");let l=new s;for(let t=0;tn.map(t=>this.source.getCell({row:e.id,column:t.id}))).filter(e=>!!e);return new l.f({rows:t,columns:n,cells:a})}clear(){let e=this.findIndices(),{rows:t,columns:n}=this.source;for(let l=e.from.column;l<=e.to.column;l++){let a=n[l];if(this.includesLabels&&(a.label=""),!e.labelsOnly)for(let n=e.from.row;n<=e.to.row;n++){let e=t[n],l=this.source.getCell({row:e.id,column:a.id});l?l.clear():this.source.setEmptyCell(e,a)}}}includes(e){if("isLabel"in e)return this.includesLabelCell(e.column);let t=this.findIndices(),n=this.source.findCellIndex(e);return!!n&&!t.labelsOnly&&t.from.row<=n.row&&t.to.row>=n.row&&t.from.column<=n.column&&t.to.column>=n.column}includesLabelCell(e){if(!this.includesLabels)return!1;let t=this.source.columns.findIndex(t=>{let{id:n}=t;return n===e});if(t<0)return!1;let n=this.findIndices();return n.from.column<=t&&n.to.column>=t}findIndices(){let{rows:e,columns:t}=this.source,n=t.findIndex(e=>{let{id:t}=e;return t===this.from.column}),l=t.findIndex(e=>{let{id:t}=e;return t===this.to.column});if(!this.to.row)return{from:{column:n},to:{column:l},labelsOnly:!0};let a=e.findIndex(e=>{let{id:t}=e;return t===this.from.row}),o=e.findIndex(e=>{let{id:t}=e;return t===this.to.row});if(-1!==[a,o,n,l].indexOf(-1))throw Error("Invalid range");return{from:{row:a,column:n},to:{row:o,column:l},labelsOnly:!1}}static nonEmpty(e){function t(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=e.getLines(t);for(let t=n?l.length-1:0;t!==(n?-1:l.length);n?t--:t++){let n=l[t];if(!n.isEmpty(e))return n}return null}let n=t("row"),l=t("row",!0),a=t("column"),o=t("column",!0);return n&&l&&a&&o?new this(e,{row:n.id,column:a.id},{row:l.id,column:o.id},!0):null}constructor(e,t,n,l=!1){this.source=e,this.from=t,this.to=n,this.includesLabels=l,this._data=void 0}}},88323:function(e,t,n){"use strict";n.d(t,{H:function(){return a}});var l=n(9315);class a{getCells(e){return e.columns.map(t=>e.getCellOrThrow({row:this.id,column:t.id}))}isEmpty(e){for(let t of e.columns){let n=e.getCellOrThrow({row:this.id,column:t.id});if(!n.isEmpty)return!1}return!0}constructor(e){this.id=(0,l.kC)(e).id}}},91496:function(e,t,n){"use strict";n.d(t,{u:function(){return l}});class l{get isEmpty(){return!1}get hasError(){return!1}get position(){return{row:this.row.id,column:this.column.id}}get key(){return"".concat(this.row.id,":").concat(this.column.id)}constructor({row:e,column:t}){this.row=e,this.column=t}}},13109:function(e,t,n){"use strict";n.d(t,{O:function(){return o}});var l=n(64703),a=n(91496);class o extends a.u{get data(){return this._data}set data(e){if(isNaN(e)){this._isEmpty=!0,this._data=0;return}this.invalidValue=null,this._isEmpty=!1,this._data=e}get isEmpty(){return this._isEmpty}get hasError(){return null!==this.invalidValue}get textValue(){return this.invalidValue?this.invalidValue:this._isEmpty?"":this.getFormatter().format(this.data)}set textValue(e){let t=this.getFormatter().parse("".concat(null!=e?e:""),!0);null===t&&(this.invalidValue=e),this.data=null!=t?t:Number.NaN}clear(){this._isEmpty=!0,this._data=0,this.invalidValue=null}getFormatter(){let e=l.S.get(this.column.format);return e||l.S.get("raw")}setupInitialData(e){0===e.data&&e.isEmpty?(this._isEmpty=!0,this._data=0,e.invalidValue&&(this.invalidValue=e.invalidValue)):this.data=e.data}constructor(e,t){super(e),this.type="data",this._data=0,this._isEmpty=!0,this.invalidValue=null,t&&this.setupInitialData(t)}}},5966:function(e,t,n){"use strict";n.d(t,{m:function(){return a}});var l=n(91496);class a extends l.u{get isEmpty(){return""===this.label}get textValue(){return this.label}set textValue(e){this.label="".concat(null!=e?e:"").replaceAll(/\r?\n?/g,"")}clear(){this.label=""}setupInitialData(e){this.textValue=e.label}constructor(e,t){super(e),this.type="label",this.label="",t&&this.setupInitialData(t)}}},44776:function(e,t,n){"use strict";n.d(t,{F:function(){return l},Z:function(){return a}});let l=20,a=5},64703:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var l=n(9315);let a={type:"raw",parse:e=>{if(!e.match(/^-?[0-9,]*(\.[0-9]+)?$/))return null;let t=Number.parseFloat(e.replaceAll(",",""));return isNaN(t)?null:t},format:e=>new Intl.NumberFormat("en-US").format(e)},o=(0,l.HK)([{type:"percentage",parse:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.match(/^(-?[0-9,]*(?:\.[0-9]+)?)(%)?$/);if(!n||!t&&!n[2])return null;let l=Number.parseFloat(n[1].replaceAll(",",""));return isNaN(l)?null:l},format:e=>"".concat(a.format(e),"%")},{type:"currency",parse:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.match(RegExp("^(?:(?-)?(?\\$)?)(?-?[0-9,]*(?:\\.[0-9]+)?)$")),l=null==n?void 0:n.groups;if(!l||!t&&!l.symbol)return null;let a=Number.parseFloat(l.amount.replaceAll(",",""));return isNaN(a)||a<0&&l.minus?null:a*("-"===l.minus?-1:1)},format:e=>{let t=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"});return"".concat(t.format(e))}},a],"type")},86593:function(e,t,n){"use strict";n.d(t,{m:function(){return d}});var l=n(13109),a=n(5966),o=n(28091),i=n(63213),r=n(88323),s=n(9315);let d={parse(e){let t=e.columns.map(e=>new o.C(e)),n=e.rows.map(e=>new r.H(e)),d=(0,s.HK)(t,"id"),u=(0,s.HK)(n,"id"),c=Object.entries(e.cells).flatMap(e=>{let[t,n]=e;return Object.entries(n).map(e=>{let[n,o]=e,i=function(e,t){let{row:n,column:o}=e;switch(t.type){case"label":return new a.m({row:n,column:o},t);case"data":return new l.O({row:n,column:o},t)}}({row:u.get(t),column:d.get(n)},o);return i})});return new i.f({columns:t,rows:n,cells:c})},serialize(e){let t=e.rows.map(e=>{let{id:t}=e;return{id:t}}),n=e.columns.map(e=>{let{id:t,type:n,label:l,format:a,fixedType:o}=e;return{id:t,type:n,label:l,format:a,fixedType:o}}),o={};for(let t of e.rows)for(let n of e.columns){let i=e.getCell({row:t.id,column:n.id});if(!i)continue;let r=(()=>{if(i instanceof l.O){let{type:e,data:t,isEmpty:n}=i,l=i.hasError&&i.textValue||void 0;return{invalidValue:l,isEmpty:n,type:e,data:t}}if(i instanceof a.m){let{type:e,label:t}=i;return{type:e,label:t}}throw Error("Unexpected cell type ".concat(i.type))})();o[t.id]=o[t.id]||{},o[t.id][n.id]=r}return{rows:t,columns:n,cells:o}}}},9315:function(e,t,n){"use strict";n.d(t,{HK:function(){return u},P2:function(){return r},Tx:function(){return p},Vd:function(){return c},X8:function(){return m},iA:function(){return h},im:function(){return d},kC:function(){return s},m2:function(){return b},v5:function(){return f}});var l=n(37164),a=n(13109),o=n(5966),i=n(64703);function r(){return(0,l.x0)(5)}function s(e){var t;let n=null!==(t=e.id)&&void 0!==t?t:r();return{...e,id:n}}function d(e,t){let{fromIx:n,toIx:l,count:a=1}=t;if(a<=0){console.warn("Trying to move ".concat(a," elements"));return}n!==l&&e.splice(l,0,...e.splice(n,a))}function u(e,t){return new Map(e.map(e=>[e[t],e]))}function c(e){return e instanceof a.O}function m(e){return e instanceof o.m}function f(e){return"row"===e?"column":"row"}function p(e,t){let n=e.column,l=h(e.textValue);return!n.fixedType&&("data"===n.type?(e.hasError&&e.getFormatter().type!==l&&g(l,e.column,t)&&e.column.updateType(t,"label"===l?{type:"label"}:{type:"data",format:l}),!0):!!("label"===n.type&&"label"!==l&&g(l,e.column,t))&&(e.column.updateType(t,{type:"data",format:l}),!0))}function g(e,t,n){return t.getCells(n).every(t=>t.isEmpty||h(t.textValue)===e)}function h(e){for(let t of i.S.values())if(null!==t.parse(e))return t.type;return"label"}function b(e){return e%1==0&&e>=1400&&e<=2100}},33107:function(e,t,n){"use strict";n.d(t,{Hs:function(){return a},NN:function(){return o},R8:function(){return l}});let l=(e,t)=>{let n=e.length,l=Array(n);return e.forEach((e,a)=>{l[(a+t)%n]=e}),l},a=e=>e?1:16;function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,l=Math.abs(e),a=l%t,o=l-a;return 0===a?e:n*(e<0?-1:1)==-1||0===n&&a{let{url:t,placeholder:n,isDisabled:a=!1,variant:o="plain",customLabel:i,onClick:r,...s}=e,[d,u]=(0,F.useState)(!1),{hasCopied:c,onCopy:m}=(0,B.V)(t),f=(0,F.useRef)(null),p=(0,M.p)(),g="link-copied-toast",h=(0,E.S)({base:!0,sm:!1},{fallback:"sm"});(0,F.useEffect)(()=>{f.current&&d&&(f.current.focus(),f.current.select())},[d]);let b=(0,F.useCallback)(()=>u(!0),[]),y=(0,F.useCallback)(()=>u(!1),[]),v=(0,F.useCallback)(()=>{m(),p.isActive(g)||p({id:g,title:(0,l.jsx)(I.cC,{id:"pQjjYo"}),status:"success",duration:5e3}),null==r||r()},[m,p]),k=i||(0,l.jsx)(I.cC,{id:"he3ygx"}),w=!!(h&&void 0!==i),S=(0,l.jsx)(x.z,{isDisabled:a,onClick:v,variant:o,w:"100%",...w?{}:{height:"2rem",margin:2},...a?{opacity:"1 !important",color:"gray.400",_hover:{opacity:"1"},_active:{boxShadow:"0 none"}}:{},children:c?(0,l.jsx)(I.cC,{id:"6V3Ea3"}):k}),C=(0,l.jsx)(_.I,{ref:f,type:"text",variant:"filled",value:t,isReadOnly:!0,isDisabled:a,placeholder:n||void 0,onClick:b,onBlur:y,pointerEvents:a?"none":void 0,h:"3rem",...s});return w?(0,l.jsxs)(O.K,{w:"100%",children:[C,S]}):(0,l.jsxs)(P.B,{children:[C,(0,l.jsx)(T.x,{h:"3rem",zIndex:1,w:"unset",children:S})]})};var N=n(42111),L=n(1196),D=n(94199),W=n(44663),U=n(19431),H=n(76249),G=n(2953),q=n(1163),V=n(62131);let K=e=>{let{title:t=(0,l.jsx)(I.cC,{id:"mpbrVv",values:{GAMMA_PRO_PROPER_NOUN:D.x8}}),description:n,buttonLabel:o,onOpenCallback:i,onCloseCallback:r,segmentEvent:s,isNarrow:d}=e,u=(0,N.ye)("upsellUXEnabled_Pro"),{openUpsellModal:c,product:m,proYearlyProductPrice:f}=(0,G.z)();if("pro"===m||!u)return null;let g=((null==f?void 0:f.price)||19200)/(0,q.kK)(null==f?void 0:f.currency)/12,b=(null==f?void 0:f.currency)||U.Fa6.Usd,y=(0,q.aS)(null==f?void 0:f.currency);return(0,l.jsxs)(a.k,{flex:1,w:"100%",mb:4,p:4,borderRadius:"md",bg:"trueblue.50",borderColor:"trueblue.200",position:"relative",borderWidth:1,shadow:"sm",flexDirection:d?"column":"row",align:"center",gap:4,children:[(0,l.jsxs)(O.K,{flex:2,alignSelf:"stretch",children:[(0,l.jsxs)(h.U,{children:[(0,l.jsx)(V.ER,{variant:"solid"}),(0,l.jsx)(p.x,{fontWeight:"bold",children:t})]}),(0,l.jsx)(p.x,{color:"gray.700",fontSize:"xs",children:n||(0,l.jsx)(I.cC,{id:"gGlaFH",values:{GAMMA_PROPER_NOUN:D.N6}})})]}),(0,l.jsxs)(O.K,{spacing:1,flex:1,alignSelf:"stretch",children:[(0,l.jsx)(x.z,{variant:"solid",colorScheme:"trueblue",size:"sm",onClick:()=>{c({onOpenCallback:i,onCloseCallback:r,segmentEvent:s})},children:o||(0,l.jsx)(I.cC,{id:"kwkhPe"})}),(0,l.jsx)(p.x,{textAlign:"center",fontSize:"xs",color:"gray.700",children:(0,l.jsx)(I.cC,{id:"LTohGv",values:{0:(0,H.x)(g,{currency:b,notation:y})}})})]})]})};var Y=n(11050),$=n(36651),J=n(78462),X=n(86704),Z=n(49259),Q=n(97010),ee=n(87436),et=n(95897),en=n(89511),el=n(11121),ea=n(57574);let eo=e=>{let{onContactUsClick:t,...n}=e,a=(0,N.ye)("aiDebits"),o=(0,N.ye)("ai-credits").enabled,i=a.generateCard,r=a.wizardCreation,s=a.chatSuggestion,d=a.autocomplete,u=a.generateImage,c=(0,N.ye)("aiAutocomplete"),m=(0,N.ye)("aiGeneratedImages"),f=(0,N.ye)("addCard2");return(0,l.jsxs)(Z.U,{allowMultiple:!0,...n,children:[(0,l.jsx)(ei,{accordionLabel:j.ag._({id:"IVVQ18"}),children:(0,l.jsxs)(Q.QI,{children:[(0,l.jsxs)(Q.HC,{children:[(0,l.jsx)("strong",{children:(0,l.jsx)(I.cC,{id:"p4u+sD"})})," ",(0,l.jsx)(I.cC,{id:"XSCvWA",values:{aiGeneration:r,GAMMA_ARTIFACT_PROPER_NOUN:D.Yc}})]}),f&&(0,l.jsxs)(Q.HC,{children:[(0,l.jsx)("strong",{children:(0,l.jsx)(I.cC,{id:"R8xLRW"})})," ",(0,l.jsx)(I.cC,{id:"M3I7Cf",values:{aiAddCard:i}})]}),(0,l.jsxs)(Q.HC,{children:[(0,l.jsx)("strong",{children:(0,l.jsx)(I.cC,{id:"gPyWmV"})})," ",(0,l.jsx)(I.cC,{id:"8HgQlf",values:{aiEditing:s}}),(0,l.jsx)(I.cC,{id:"bO6EBT"})]}),m&&(0,l.jsxs)(Q.HC,{children:[(0,l.jsx)("strong",{children:(0,l.jsx)(I.cC,{id:"0jmvoW"})})," ",(0,l.jsx)(I.cC,{id:"OY40J+",values:{aiImages:u}})]}),c&&(0,l.jsxs)(Q.HC,{children:[(0,l.jsx)("strong",{children:(0,l.jsx)(I.cC,{id:"eBVeIQ"})})," ",(0,l.jsx)(I.cC,{id:"AJ11w6",values:{aiAutocomplete:d,AUTOCOMPLETE_SLASH_SHORTCUT:ea.Y,AUTOCOMPLETE_INPUT_SHORTCUT:ea.o}})]})]})}),o&&(0,l.jsx)(ei,{accordionLabel:j.ag._({id:"1pwdRz"}),children:(0,l.jsx)(I.cC,{id:"1Ijs7v",values:{GAMMA_PRO_PROPER_NOUN:D.x8,GAMMA_PROPER_NOUN:D.N6}})})]})},ei=e=>{let{accordionLabel:t,children:n}=e;return(0,l.jsxs)(ee.Q,{children:[(0,l.jsx)("h2",{children:(0,l.jsxs)(et.K,{px:2,py:2,fontSize:"sm",children:[(0,l.jsx)(b.xu,{as:"span",flex:"1",textAlign:"left",fontWeight:500,children:t}),(0,l.jsx)(en.X,{})]})}),(0,l.jsx)(el.H,{pb:4,px:2,fontSize:"sm",children:n})]})},er=()=>({friend:{label:j.ag._({id:"uU68PM"})},teammate:{label:j.ag._({id:"O/k8gF"})},buy:{label:j.ag._({id:"/2RIKE"})}}),es={fontWeight:500,letterSpacing:"normal",color:"gray.600"},ed=e=>{let{onClose:t,onOpen:n,credits:a,segmentEvent:o=Y.AA.GAMMA_PRO_UPSELL_CALLOUT_AI_CREDITS}=e,{user:j,currentWorkspace:B}=(0,$.SE)(),M=(0,$.d3)(),E=(0,N.ye)("upsellUXEnabled_Pro"),_=(0,i.Y)("unlimited_credits"),[O,P]=(0,F.useState)(E?"buy":"friend"),T=(0,N.ye)("ai-credits"),U=(0,N.ye)("intercom"),H=(0,W.G)(),{lowCreditStatus:G}=(0,r.qO)(),q=(0,F.useMemo)(()=>j?"teammate"===O&&B&&M?(0,J.Mr)({userId:j.id,workspace:B}):"friend"===O?(0,J.Mr)({userId:j.id}):"":"",[M,B,O,j]),V=T.enabled,Z=T.referralBonus,Q=er()[O],ee=(0,F.useCallback)(()=>{H(),t()},[H,t]),et=(0,X.ko)();return(0,l.jsx)(A.Wk,{isDark:!1,children:(0,l.jsxs)(d.u_,{isOpen:!0,onClose:t,size:"xl",children:[(0,l.jsx)(u.Z,{}),(0,l.jsxs)(c.h,{children:[(0,l.jsx)(m.o,{}),(0,l.jsxs)(f.g,{py:4,px:6,textAlign:"center",children:[(0,l.jsx)(p.x,{...es,fontSize:"md",color:G?et[G].darkColor:void 0,children:G?et[G].description:(0,l.jsx)(I.cC,{id:"xy3nnP"})}),(0,l.jsx)(g.x,{p:0,color:G?et[G].lightColor:void 0,children:(0,l.jsxs)(h.U,{children:[(0,l.jsx)(b.xu,{as:"span",fontSize:"xl",children:(0,l.jsx)(z.G,{icon:C.owJ})})," ",null===a?(0,l.jsx)(y.$,{size:"sm"}):(0,l.jsx)(I.cC,{id:"T57gLR",values:{credits:a}})]})}),(0,l.jsx)(p.x,{textAlign:"left",fontSize:"sm",pt:2,...es,children:(0,l.jsx)(I.cC,{id:"lUUl1i"})})]}),(0,l.jsxs)(v.f,{pb:4,children:[V?(0,l.jsxs)(f.g,{spacing:4,children:[(0,l.jsxs)(k.h,{variant:"ghost",size:"sm",spacing:0,gap:2,justifyContent:"center",flexWrap:"wrap",alignItems:"center",children:[!_&&E&&(0,l.jsx)(x.z,{onClick:()=>P("buy"),isActive:"buy"===O,color:"buy"===O?void 0:"gray.700",children:(0,l.jsx)(I.cC,{id:"KctW9G"})}),(0,l.jsx)(x.z,{onClick:()=>P("friend"),isActive:"friend"===O,color:"friend"===O?void 0:"gray.700",children:(0,l.jsx)(I.cC,{id:"KSBmDv"})}),M&&(0,l.jsx)(x.z,{leftIcon:(0,l.jsx)(z.G,{icon:C.FKd}),onClick:()=>P("teammate"),isActive:"teammate"===O,color:"teammate"===O?void 0:"gray.700",children:(0,l.jsx)(I.cC,{id:"dUOpaF"})})]}),("friend"===O||"teammate"===O)&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(h.U,{spacing:2,children:[(0,l.jsxs)(p.x,{fontSize:"sm",minW:"50%",children:["friend"===O&&(0,l.jsx)(I.cC,{id:"tBKKYy",values:{referralBonusAmount:Z,GAMMA_PROPER_NOUN:D.N6}}),"teammate"===O&&(0,l.jsx)(I.cC,{id:"q8MWFp",values:{referralBonusAmount:Z}})]}),(0,l.jsxs)(w.C,{colorScheme:"green",fontSize:"xs",px:"0.4em",py:"0.2em",children:["+"," ",(0,l.jsx)(I.cC,{id:"NFNFrR",values:{referralBonusAmount:Z}})]})]}),(0,l.jsx)(R,{url:q,customLabel:Q.label,variant:"solid"})]}),"buy"===O&&(0,l.jsx)(K,{segmentEvent:o,onOpenCallback:t,onCloseCallback:n})]}):(0,l.jsxs)(h.U,{align:"baseline",spacing:1,children:[(0,l.jsx)(p.x,{children:(0,l.jsx)(I.cC,{id:"0TJN6B"})}),U?(0,l.jsx)(x.z,{onClick:ee,variant:"link",children:(0,l.jsx)(I.cC,{id:"Bhgd0l"})}):(0,l.jsxs)(S.r,{href:"mailto:".concat(L.p),children:[(0,l.jsx)(I.cC,{id:"Bhgd0l"}),(0,l.jsx)(s.h,{ml:1,transform:"translateY(-2px)"})]})]}),(0,l.jsx)(eo,{my:4,onContactUsClick:U?ee:void 0})]})]})]})})},eu=(0,F.memo)(e=>{let{isOpen:t,...n}=e;return t?(0,l.jsx)(ed,{...n}):null}),ec=(0,F.memo)(e=>{let{credits:t,lowCreditStatus:n,onClick:a,variant:o="solid",isDark:i=!1}=e,r=null===t,s=(0,X.ko)();return(0,l.jsx)(A.kH,{label:(0,l.jsx)(I.cC,{id:"IY3q+2"}),placement:"top",children:(0,l.jsx)(x.z,{onClick:a,isDisabled:r,..."ghost"===o?{variant:"ghost",size:"sm",colorScheme:i?"gray":"blackAlpha"}:{variant:"unstyled",bg:"white",px:4},color:n?s[n].lightColor:void 0,fontWeight:"500",leftIcon:(0,l.jsx)(z.G,{icon:C.owJ,size:"sm"}),rightIcon:(0,l.jsx)(z.G,{color:i?"var(--chakra-colors-gray-400)":"var(--chakra-colors-gray-600)",icon:C.DBf,size:"xs"}),children:r?(0,l.jsx)(y.$,{size:"xs"}):(0,l.jsx)(p.x,{as:"span",color:null===n?void 0:s[n].lightColor,children:(0,l.jsx)(I.cC,{id:"T57gLR",values:{credits:t}})})})})}),em=e=>{let{modalId:t="ai-credits-modal",variant:n,segmentEvent:s,isDark:d,...u}=e,{credits:c,lowCreditStatus:m}=(0,r.qO)(),f=(0,i.Y)("unlimited_credits"),{isOpen:p,onOpen:g,onClose:h}=(0,o.M)({id:t});return f?null:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.k,{...u,children:(0,l.jsx)(ec,{credits:c,onClick:g,lowCreditStatus:m,variant:n,isDark:d})}),(0,l.jsx)(eu,{isOpen:p,onOpen:g,onClose:h,credits:c,segmentEvent:s})]})}},85420:function(e,t,n){"use strict";n.d(t,{J:function(){return p}});var l=n(52322),a=n(82554),o=n(29117),i=n(77533),r=n(42946),s=n(49929),d=n(94523),u=n(5879),c=n(42111),m=n(57124),f=n(86704);let p=e=>{var t;let{type:n,...p}=e,g=(0,c.ye)("aiDebits"),h=(0,m.Y)("unlimited_credits");if(h)return null;let b=null!==(t=g[n])&&void 0!==t?t:f.Sy[n];return(0,l.jsx)(d.kH,{label:(0,l.jsx)(u.cC,{id:"B7jvsP",values:{numCredits:b}}),children:(0,l.jsx)(a.C,{colorScheme:"whiteAlpha",bg:"whiteAlpha.300",textTransform:"none",textShadow:"none",fontSize:"xxs",ml:2,...p,children:(0,l.jsxs)(o.U,{spacing:1,children:[(0,l.jsx)(i.x,{children:b}),(0,l.jsx)(s.G,{icon:r.owJ,size:"sm"})]})})})}},86704:function(e,t,n){"use strict";n.d(t,{SW:function(){return i},Sy:function(){return o},dJ:function(){return r},ko:function(){return s}});var l=n(87254),a=n(25772);let o={generateImage:10,generateCard:5,editCard:5,generateCardNotes:5,chatSuggestion:10,wizardCreation:40,generateV2:40,generateV2WithImages:40,autocomplete:2,removeBackground:5},i=3,r="wizardCreation",s=()=>({[a.U.EXHAUSTED]:{status:"error",lightColor:"red.600",darkColor:"red.800",description:l.ag._({id:"15ZVEk"})},[a.U.LOW]:{status:"warning",lightColor:"yellow.600",darkColor:"yellow.800",description:l.ag._({id:"URgIZH"})}})},97763:function(e,t,n){"use strict";n.d(t,{YO:function(){return c},qO:function(){return m}});var l=n(2784);n(19431);var a=n(42111),o=n(81640),i=n(57124),r=n(94090);n(13265);var s=n(86704),d=n(17749),u=n(68601);let c=(e,t,n)=>{let{openUpsellModal:a}=(0,o.z)();return(0,l.useCallback)(()=>(0,u.C)(t)?(null==e||e(),!0):(a({insufficientCreditsWarning:!0,segmentEvent:n}),!1),[e,a,n,t])},m=()=>{var e,t,n;let o=(0,r.CG)(d.Lj),c=(0,a.ye)("aiDebits"),m=(0,i.Y)("unlimited_credits"),f=(0,l.useMemo)(()=>m?null:(0,u.t)(o,c[s.dJ]||s.Sy[s.dJ],s.SW),[m,o,c]),p=null!==o,g=m||p&&o>=(null!==(e=c.wizardCreation)&&void 0!==e?e:s.Sy.wizardCreation),h=m||p&&o>=(null!==(t=c.chatSuggestion)&&void 0!==t?t:s.Sy.chatSuggestion),b=m||p&&o>=(null!==(n=c.generateImage)&&void 0!==n?n:s.Sy.generateImage);return{lowCreditStatus:f,hasEnoughCreditsToGenerateDeck:g,hasEnoughCreditsToGenerateImage:b,hasEnoughCreditsToChat:h,credits:o,isCreditsReady:p}}},7144:function(e,t,n){"use strict";n.d(t,{d:function(){return c},i:function(){return m}});var l=n(19431),a=n(42111),o=n(57124),i=n(94090),r=n(11050),s=n(32670),d=n(86704),u=n(17749);let c=async(e,t,n)=>{var c,f;let p=(0,o.uL)("unlimited_credits",t),g=a.VH.get("aiDebits"),h=null!==(f=g[e])&&void 0!==f?f:d.Sy[e];if(m(e,t,n),0===h||p)return;let b=(null==t?void 0:t.id)||(0,s.n_)();if(!b)return;let y=(0,l.WQq)(),v=await y.mutate({mutation:l.ATM,variables:{value:h,workspaceId:b}}),k=null===(c=v.data)||void 0===c?void 0:c.deductCredits;if(!k)return null;r.co.track(r.AA.AI_CREDITS_DEDUCTED,{operation:e,used:h,remaining:k.credits,interactionId:n});let x=(0,i.bh)();return x.dispatch((0,u.B1)({availableCredits:k.credits})),k.credits},m=(e,t,n)=>{var l;let i=(0,o.uL)("unlimited_credits",t),s=a.VH.get("aiDebits"),u=null!==(l=s[e])&&void 0!==l?l:d.Sy[e];r.co.track(r.AA.AI_CREDITS_USED,{operation:e,used:u,has_unlimited_ai:i,interactionId:n})}},17749:function(e,t,n){"use strict";n.d(t,{B1:function(){return i},Lj:function(){return s},XO:function(){return d}});var l=n(58125);let a={availableCredits:null},o=(0,l.oM)({name:"Credits",initialState:a,reducers:{reset:()=>a,setCredits(e,t){let{availableCredits:n}=t.payload;e.availableCredits=n}}}),{setCredits:i,reset:r}=o.actions,s=e=>e.Credits.availableCredits,d=o.reducer},25772:function(e,t,n){"use strict";var l,a;n.d(t,{U:function(){return l}}),(a=l||(l={})).EXHAUSTED="exhausted",a.LOW="low"},68601:function(e,t,n){"use strict";n.d(t,{C:function(){return u},t:function(){return d}});var l=n(42111),a=n(57124),o=n(94090),i=n(86704),r=n(17749),s=n(25772);let d=(e,t,n)=>null===e?null:e<=0?s.U.EXHAUSTED:e<=t*n?s.U.LOW:null,u=(e,t)=>{var n;let s=(0,a.uL)("unlimited_credits",t),d=l.VH.get("aiDebits"),u=null!==(n=d[e])&&void 0!==n?n:i.Sy[e];if(0===u||s)return!0;let c=(0,o.bh)(),m=c.getState(),f=(0,r.Lj)(m);return!!f&&f>=u}},27354:function(e,t,n){"use strict";let l,a,o;n.d(t,{Sr:function(){return u},h5:function(){return A},Oj:function(){return B},vb:function(){return F},N$:function(){return j},zx:function(){return M}});var i=n(52322),r=n(81540),s=n(77533),d=n(2784);let u=e=>{let{emojiId:t,fontSize:n="1em"}=e;return(0,i.jsx)(d.Suspense,{fallback:(0,i.jsx)(r.$,{size:"sm"}),children:(0,i.jsx)(s.x,{as:"span",sx:{".emoji-mart-emoji":{fontSize:"1em",span:{cursor:"inherit",fontSize:"1em !important"},":hover::before":{backgroundColor:"transparent"}}},fontSize:n,children:(0,i.jsx)("em-emoji",{id:t,native:!0,size:"0"})})})};var c=n(28535),m=n(50019),f=n(4026),p=n(33322),g=n(44797),h=n(66941),b=n(96002),y=n(69092),v=n(87254);let k={"pt-br":b,ja:g,"zh-cn":y,es:f,fr:p,ko:h},x=()=>k[v.ag.locale]||void 0;var w=n(18733);let S=n.e(4741).then(n.bind(n,93867));S.then(e=>{l=e.Picker});let C=e=>{let t=(0,d.useRef)(null),n=(0,d.useRef)(null),a=e.dataTargetName?{"data-target-name":e.dataTargetName}:{};return n.current&&n.current.update(e),(0,d.useEffect)(()=>(S.then(()=>{var a;n.current=new l({...e,ref:t}),null===(a=e.onCreate)||void 0===a||a.call(e,n.current)}),()=>{n.current=null}),[]),(0,i.jsx)(c.xu,{ref:t,...a})},z=["+1","-1","heart_eyes","thinking_face","question","open_mouth","white_check_mark","x","tada"],A=e=>{let{handlePick:t,shouldFocusSearch:n=!0,perLine:a=12,dataTargetName:o,...r}=e,{colorMode:s}=(0,m.If)();(0,d.useEffect)(()=>{let e=w.W.getItem("emoji-mart.frequently");if(!e){let e=Object.fromEntries(z.map((e,t)=>[e,z.length-t]));w.W.setItem("emoji-mart.frequently",JSON.stringify(e))}},[]);let u=(0,d.useMemo)(()=>x(),[]);return l?(0,i.jsx)(C,{perLine:a,set:"native",theme:"dark"===s?"dark":"light",previewPosition:"none",skinTonePosition:"none",autoFocus:n,onEmojiSelect:e=>{t(e)},maxFrequentRows:2,dataTargetName:o,i18n:u,...r}):(console.warn("[EmojiPicker] Emoji picker hasn't loaded yet"),null)};S.then(e=>{e.init,e.SearchIndex});let I=()=>({nativeToEmojiDataMap:a,emojis:o}),j=e=>{var t;return null==e?void 0:null===(t=e.skins)||void 0===t?void 0:t[0].native},F=e=>{var t;let{nativeToEmojiDataMap:n}=I(),l=null==n?void 0:null===(t=n[e])||void 0===t?void 0:t.id;return l||console.error("[emoji.getIdFromNative] Cannot find ID from native:",e),l},B=e=>{let{emojis:t}=I();return null==t?void 0:t[e]},M=()=>{let{emojis:e,nativeToEmojiDataMap:t}=I();return!!t&&!!e}},19585:function(e,t,n){"use strict";n.d(t,{VH:function(){return f}}),n(2784);var l=n(14274),a=n(19431),o=n(1163),i=n(80498),r=n(90383),s=n(18733),d=n(20597),u=n(15225);let c=l.v.IS_USER_TESTING_SESSION?{cardLayoutsEnabled:!0}:{};class m{set(e,t){s.W.setItem(e,JSON.stringify(t))}get(e){let t=s.W.getItem(e);if(t)try{return JSON.parse(t)}catch(e){return}}delete(e){s.W.removeItem(e)}}let f=new class{onChange(e){return this.onChangeFns.push(e),()=>{try{let t=this.onChangeFns.indexOf(e);t>-1&&this.onChangeFns.splice(t,1)}catch(e){}}}explain(){return Object.entries(this.defaults).map(e=>{let[t,n]=e,l=this.flags[t],a=this.overrides[t];return{key:t,type:typeof n,defaultValue:n,value:l,overrideValue:a,source:void 0!==a?"override":void 0!==l?"flag":"default"}})}subscribe(e,t){return this.updateFns[e]=this.updateFns[e]||[],this.updateFns[e].push(t),()=>{try{let n=this.updateFns[e].indexOf(t);n>-1&&this.updateFns[e].splice(n,1)}catch(e){}}}initialize(e,t){if(this.hasInitialized){console.warn("[FeatureFlagProvider].initialize has already been called. This is a no-op");return}console.debug("[FeatureFlagProvider].initialize",{initialFlags:t}),this.set(t),this.ldClient=e,this.subscribeToLDChanges(),this.initializePromise.resolve(!0),this.hasInitialized=!0,a.C9N.on("status",e=>{let{isConnected:t}=e;this.ldClient.setStreaming(t)}),window.setFeatureFlag=f.overrideFlag.bind(f),window.allFeatureFlags=f.all.bind(f)}get(e){return this.all()[e]}set(e){for(let[t,n]of Object.entries(e))t in d.b?(this.flags[t]=n,this.emitOnUpdate(t,!1)):(0,r.wg)()||console.debug("[GammaFeatureFlagProvider] flag ".concat(t," not specified in FEATURE_FLAG_DEFAULTS"));this.store.set(this.CACHE_KEY,this.flags),this.processOnChangeFns()}all(){return{...this.defaults,...this.flags,...this.overrides,...c}}overrideFlag(e,t){this.overrides[e]=t,this.emitOnUpdate(e),this.store.set(this.OVERRIDES_KEY,this.overrides)}removeOverride(e){delete this.overrides[e],this.emitOnUpdate(e),this.store.set(this.OVERRIDES_KEY,this.overrides)}updateWorkspaceInLdContext(e){return this.initializePromise.then(()=>{let t={...this.ldClient.getContext()};return e&&(t.workspace={key:e.id,name:e.name,plan:(0,o.K9)(e)}),this.ldClient.identify(t)})}emitOnUpdate(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=this.all();(this.updateFns[e]||[]).forEach(t=>{t(n[e])}),t&&this.processOnChangeFns()}processOnChangeFns(){this.onChangeFns.forEach(e=>e())}constructor(e,t={store:new m}){this.CACHE_KEY="gammaFeatureFlagCache",this.OVERRIDES_KEY="gammaFeatureFlagOverrides",this.initializePromise=new i.B,this.hasInitialized=!1,this.flags={},this.overrides={},this.updateFns={},this.onChangeFns=[],this.subscribeToLDChanges=()=>{this.ldClient.on("change",e=>{let t=(0,u.ZK)(e,void 0);this.set(t)})},this.defaults=e,this.store=t.store,this.flags=this.store.get(this.CACHE_KEY)||{},this.overrides=this.store.get(this.OVERRIDES_KEY)||{}}}(d.b)},20597:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var l=n(86704);let a={debugCardViewed:!1,debugComments:!1,debugLogging:!1,drawingBlock:!0,tldraw2:!0,uploadPDF:!1,highlight:{enabled:!1,enableStrictPrivacy:!0},realUserMetrics:!1,rumSampleRate:1,rumKeystrokeSampleRate:10,cardViewedThreshold:5e3,themesv3:!1,themesv3Base:!1,channelActivity:!1,customFonts:!0,docImport:!0,exportCard:!0,presentModeFlat:!0,blockReactions:!0,intercom:!0,shareFeedback:!1,dataSyncErrorThreshold:-1,dataSyncClockDriftTolerance:5,screenshotsEnabled:!1,math:!1,offline:!1,cardWidthOptions:!0,layoutResizing:!0,tableOfContentsBlock:!0,presentZoom:!0,linkMetadata:!1,presentFullWidth:!1,presentScaleFont:!1,renderCollapsedCards:!0,cardLayoutsEnabled:!0,presentFullScreen:!1,docFullWidth:!1,borderless:!1,aiAutocomplete:!1,aiRewrite:!1,aiCardDesigner:!1,aiWizard:!0,aiWizardLegacy:!1,aiWizardGenerateTimeout:12e4,aiWizardAdvanced:!0,aiWizardOutlineMaxWait:12e3,aiWizardAverageWaitGuided:20,aiWizardAverageWaitAdvanced:60,aiWizardStreaming:!0,aiWizardUnsplashImages:!1,aiWizardGoogleImages:!1,aiWizardBingImages:!1,aiWizardWebImages:!1,webImageProviderType:"2",aiWizardUploadImages:!0,aiPremiumModels:!1,aiChat:!0,aiChatJsx:!1,aiChatEditCardPrompt:!1,aiThemeWizard:!1,bulkUploadAccentImages:!1,aiDebits:l.Sy,"ai-credits":{enabled:!1,referralBonus:100,signup:400},publishing:!1,lexicaImageSearch:!1,webImageSearch:!1,docFormats:!1,signupRedirectTo:"HOME",openAiStatus:"NORMAL",aiRequestTimeouts:{getOutlineForTopic:4500,classify:5e3,basicReply:5e3,suggestContent:12e3,rateImages:5e3},aiRequestRetries:{wizard:0,wizardAdvanced:0,wizardStreaming:2,chat:3},docEditorForcePublicStatic:!1,cardTextComputedEnabled:!1,pptImport:!0,hasProAccess:!1,upsellUXEnabled_Pro:!1,upsellUXEnabled_Plus:!1,"plus-credits":{creditsToAdd:400,enabled:!1},monthlyBillingEnabled:!1,autoZoomToFit:!0,azureOpenAI:!0,passwordProtectedDoc:!1,passwordSignup:!0,docCustomCode:!1,aiGeneratedImages:!0,aiGeneratedImagesCount:1,aiGeneratedImagesInWizard:!0,aiGeneratedImagesDefaultModel:"stable-diffusion-xl-v1-0",aiGeneratorDefaultImageProvider:"web",aiGeneratorDefaultPresentationSize:"fluid",aiGeneratedImagesAdvancedOptions:!1,permanentlyDeleteDoc:!1,i18nEnabled:!1,outageButterbar:{enabled:!1},filmstrip:!0,streamResumingEnabled:!0,sites:!0,sitesNav:!0,statsSmartLayouts:!0,pyramidSmartLayouts:!0,generatorLazyImages:!0,generatorGPT4:!1,generatorGPT4o:!1,imgProxy:!0,recaptcha:{enabled:!0,checkboxRiskLevels:["medium"]},mobileEditing:!1,churnkeyCancelFlowEnabled:!1,churnkeyFailedPaymentWallEnabled:!1,createGenerateV2:!0,cardNotes:!0,defaultAnnualBilling:!0,editorAnimationsEnabled:!1,editorAnimationsDefault:!1,siteAnimationsEnabled:!1,createSiteAi:!0,generateParallel:!1,generateParallelFree:!1,generateSerial:!1,anthropicGenerate:!1,mistralGenerate:!1,geminiGenerate:!1,geminiGenerateOutline:!1,llamaGenerate:!1,uploadThemeImagesToProd:!1,workspaceSettings:!0,addCard2:!0,imagen:!1,imagen3:!1,imagenFree:!1,playgroundModel:!0,sdxlModel:!1,dalle3:!1,dalle3Free:!1,pptImportThemes:!1,pptImportV2:!1,importSlidePrompt:!1,importUrl:!1,importPdf:!1,enableCharts:!0,accentImageFit:!0,cardTemplatesPlaceholder:!1,hocuspocusOnAuthenticate:!0,knownGoodHostnames:[],aiCardNotes:!1,rewriteImagePrompts:!1,editCard2:!1,changelog:!1,filterContentErasingTrs:!1,export:!0,waitForGammaPersistenceMeta:!0,linksV2:!1,removeBackground:!1,changePlanModal:!0}},23405:function(e,t,n){"use strict";n.d(t,{Z:function(){return i},y:function(){return o}});var l=n(2784),a=n(19585);function o(e){let[t,n]=(0,l.useState)(a.VH.get(e));return(0,l.useEffect)(()=>(a.VH.hasInitialized||a.VH.initializePromise.then(()=>{n(a.VH.get(e))}),a.VH.subscribe(e,e=>{n(e)})),[e]),t}function i(){let[e,t]=(0,l.useState)(a.VH.all());return(0,l.useEffect)(()=>a.VH.onChange(()=>{t(a.VH.all())}),[]),e}},42111:function(e,t,n){"use strict";n.d(t,{VH:function(){return O.VH},Zd:function(){return V.Z},ye:function(){return V.y}});var l=n(52322),a=n(38035),o=n(43679),i=n(34071),r=n(75078),s=n(94523),d=n(2784),u=n(14274),c=n(50245),m=n(944),f=n(39429),p=n(17993),g=n(74008),h=n(35183),b=n(97166),y=n(74409),v=n(41098),k=n(62614),x=n(44438),w=n(74105),S=n(85573),C=n(20816),z=n(32899),A=n(62453),I=n(29117),j=n(75768),F=n(42946),B=n(49929),M=n(62573),E=n(94090),_=n(36651),O=n(19585),P=n(28535),T=n(77533),R=n(82713);let N=(0,d.memo)(e=>{let{flagKey:t,source:n,currentValue:o,overrideValue:i}=e;return(0,l.jsxs)(a.k,{justify:"space-between",align:"center",children:[(0,l.jsxs)(P.xu,{children:[(0,l.jsx)(T.x,{children:(0,l.jsx)("strong",{children:t})}),(0,l.jsx)(T.x,{fontSize:"sm",color:"gray.700",children:(0,l.jsx)(R.X,{isChecked:void 0!==i,onChange:e=>{let n=e.target.checked;n?O.VH.overrideFlag(t,o):O.VH.removeOverride(t)},children:"override"})})]}),(0,l.jsx)(a.k,{direction:"column",align:"stretch",children:(0,l.jsx)(h.NI,{display:"flex",flexDirection:"row",justifyContent:"flex-end",children:(0,l.jsxs)(a.k,{direction:"column",alignItems:"flex-end",children:[(0,l.jsx)(T.x,{fontSize:10,fontStyle:"italic",children:n}),(0,l.jsx)(v.r,{id:"".concat(t,"-switch"),isDisabled:void 0===i,isChecked:!!o,onChange:e=>{O.VH.overrideFlag(t,e.target.checked)}})]})})})]})});N.displayName="FeatureFlagListItem";var L=n(11082),D=n(82554);let W="production"!==u.v.APPLICATION_ENVIRONMENT||u.v.DEBUG_ENABLED,U=()=>{if(!W)return null;let e=u.v.NEXT_PUBLIC_VERCEL_GIT_COMMIT_MESSAGE?(0,l.jsxs)(T.x,{children:["Commit message for this build: ",(0,l.jsx)("br",{}),u.v.NEXT_PUBLIC_VERCEL_GIT_COMMIT_MESSAGE]}):null;return(0,l.jsx)(s.kH,{placement:"top",label:e,children:(0,l.jsx)(L.r,{href:u.v.NEXT_PUBLIC_VERCEL_URL,target:"_blank",children:(0,l.jsxs)(D.C,{colorScheme:"orange",children:["SHA: ",u.v.GIT_SHA]})})})},H=()=>{let[e,t]=(0,d.useState)(O.VH.explain());return(0,d.useEffect)(()=>(O.VH.hasInitialized||O.VH.initializePromise.then(()=>{t(O.VH.explain())}),O.VH.onChange(()=>{t(O.VH.explain())})),[]),e},G=(0,d.memo)(e=>{let{initialFocusRef:t}=e,n=(0,E.TL)(),{setSettings:a}=(0,_.SE)(),o=H(),i=O.VH.all(),[r,s]=(0,d.useState)(""),u=(0,E.CG)(M.Ns),[c,m]=(0,d.useState)(!1);if(c)throw Error("[FeatureFlagPanel]: Render Error");let P=o.filter(e=>""===r||e.key.toLocaleLowerCase().indexOf(r.trim())>-1),T=(0,d.useCallback)(e=>{n((0,M.HT)({isActive:e}))},[n]);return(0,l.jsxs)(f.y,{bg:"white",p:3,width:"max(30vw, 300px)",flexDirection:"column",children:[(0,l.jsxs)(p.g,{align:"start",p:2,children:[(0,l.jsx)(U,{}),(0,l.jsx)(g.i,{}),(0,l.jsxs)(h.NI,{flexDirection:"row",display:"flex",alignItems:"center",children:[(0,l.jsx)(b.l,{fontSize:"xs",flex:1,m:0,children:(0,l.jsxs)(y.X,{size:"xs",children:[(0,l.jsx)("span",{"aria-label":"QA localization",role:"img",children:"\uD83C\uDF0E"})," ","QA localization"]})}),(0,l.jsx)(v.r,{isChecked:u,onChange:e=>{e.target.checked?T(!0):T(!1)}})]}),(0,l.jsx)(h.NI,{flexDirection:"row",display:"flex",justifyContent:"flex-end",children:(0,l.jsxs)(k.z,{size:"sm",onClick:()=>{null==a||a({remove:["locale","localeToastSeen"]})},children:["Clear locale \xa0 ",(0,l.jsx)(x.E,{children:"user.settings"})]})}),(0,l.jsx)(g.i,{}),(0,l.jsx)(y.X,{size:"xs",children:"Feature Flags"}),(0,l.jsxs)(w.B,{size:"sm",children:[(0,l.jsx)(S.I,{ref:t,pr:"1.5rem",type:"text",placeholder:"Filter",value:r,onChange:e=>s(e.target.value)}),(0,l.jsx)(C.x,{width:"2rem",children:(0,l.jsx)(z.h,{variant:"ghost",size:"xs",onClick:()=>s(""),icon:(0,l.jsx)(B.G,{icon:F.EOp}),"aria-label":"clear"})})]})]}),(0,l.jsxs)(p.g,{align:"stretch",overflowY:"auto",h:"55vh",justify:"space-between",spacing:4,children:[(0,l.jsx)(p.g,{p:2,align:"stretch",divider:(0,l.jsx)(A.c,{borderColor:"gray.200"}),children:P.filter(e=>"boolean"===e.type).map(e=>{let t=i[e.key];return(0,l.jsx)(N,{currentValue:t,source:e.source,flagKey:e.key,overrideValue:e.overrideValue},e.key)})}),(0,l.jsxs)(p.g,{align:"start",mt:8,children:[(0,l.jsx)(y.X,{size:"xs",children:"Debugging"}),(0,l.jsx)(I.U,{mb:3,children:(0,l.jsxs)(j.h,{variant:"plain",size:"xs",flexWrap:"wrap",children:[(0,l.jsx)(k.z,{onClick:()=>{throw Error("[FeatureFlagPanel] SyncError")},children:"Throw global err"}),(0,l.jsx)(k.z,{onClick:()=>{m(!0)},children:"Throw render err"}),(0,l.jsx)(k.z,{onClick:()=>{new Promise(e=>setTimeout(e,100)).then(()=>{throw Error("[FeatureFlagPanel] UnhandledPromiseException")})},children:"Throw promise err"})]})})]})]})]})});G.displayName="FeatureFlagPanel";let q=(0,d.memo)(()=>{let e=(0,d.useRef)(null),{isGammaOrgUser:t}=(0,c.K)();return((0,d.useEffect)(()=>{!0===t&&(window.gammaDebug=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];document.cookie="gammadebug=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",document.cookie="gammadebug=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/docs";let t=new Date;t.setTime(t.getTime()+7776e6),document.cookie="gammadebug=".concat(e?"gtpwtw":"false","; expires=").concat(t.toUTCString(),"; path=/"),e!==u.v.DEBUG_ENABLED&&window.location.reload()})},[t]),(0,m.gF)()&&u.v.DEBUG_ENABLED)?(0,l.jsx)(a.k,{zIndex:"overlay",position:"fixed",bottom:"16px",left:"16px",children:(0,l.jsx)(o.J,{placement:"top",initialFocusRef:e,children:t=>{let{isOpen:n}=t;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.kH,{label:"Feature Flags",children:(0,l.jsx)(i.x,{children:(0,l.jsx)(r.q,{tabIndex:0,_focus:{shadow:"outline"},transitionProperty:"common",transitionDuration:"normal",width:"40px",height:"40px",src:"https://res.cloudinary.com/bizzaboprod/image/upload/q_auto:best,c_crop,g_custom/v1560896151/yecilv8jlrtehq3zmea2.png",shadow:"base",outline:"none",alignItems:"center",flexDirection:"column",cursor:"pointer",opacity:0,_hover:{shadow:"0 0 0 3px #CBD5E0",opacity:1},...n&&{shadow:"0 0 0 3px #CBD5E0",opacity:1}})})}),(0,l.jsx)(G,{initialFocusRef:e})]})}})}):null});q.displayName="FeatureFlagDevtoolBall";var V=n(23405);n(19431),n(1163),n(90221),n(19902),n(15225),n(20597),n(34919)},34919:function(e,t,n){"use strict";n.d(t,{I6:function(){return r}});var l=n(58125);let a={isDocWorkspaceSet:!1},o=(0,l.oM)({name:"FeatureFlags",initialState:a,reducers:{reset:()=>a,setIsDocWorkspaceSet(e,t){let{isDocWorkspaceSet:n}=t.payload;e.isDocWorkspaceSet=n}}}),{setIsDocWorkspaceSet:i}=o.actions,r=o.reducer},15225:function(e,t,n){"use strict";n.d(t,{ZK:function(){return l}}),n(11597);let l=(e,t)=>{let n={};for(let l in e)t&&void 0===t[l]||(n[l]=e[l].current);return n}},34303:function(e,t,n){"use strict";n.d(t,{J:function(){return T},A:function(){return P}});var l=n(52322),a=n(14093),o=n(70189),i=n(66983),r=n(80774),s=n(79443),d=n(5740),u=n(43679),c=n(11284),m=n(28535),f=n(39429),p=n(47154),g=n(29117),h=n(74409),b=n(89833),y=n(48394),v=n(36371),k=n(73582),x=n(2969),w=n(3181),S=n(13272),C=n(42946),z=n(49929),A=n(94523),I=n(5879),j=n(16893),F=n(77533);n(2784);let B=e=>{let{prefix:t="",support:n="",suffix:a=""}=e;return(0,l.jsxs)(F.x,{children:[t,(0,l.jsx)(F.x,{color:"gray.400",as:"span",children:n}),a]})},M=()=>[{description:(0,l.jsx)(I.cC,{id:"8aebws"}),shortcut:"/"},{description:(0,l.jsx)(I.cC,{id:"JZEY8K"}),shortcut:"Mod+Shift+O"},{description:(0,l.jsx)(I.cC,{id:"3Lpas4"}),shortcut:"***"},{description:(0,l.jsx)(I.cC,{id:"e+t/xM"}),shortcut:"Mod+P"},{description:(0,l.jsx)(I.cC,{id:"MF+p5R"}),shortcut:"Mod+Enter"},{description:(0,l.jsx)(I.cC,{id:"NiZZRh"}),shortcut:"Mod+K"},{description:(0,l.jsx)(I.cC,{id:"4J90L0"}),shortcut:(0,l.jsx)(B,{prefix:"@",support:"name"})},{description:(0,l.jsx)(I.cC,{id:"1fOM5v"}),shortcut:(0,l.jsx)(B,{prefix:"@",support:"cardTitle"})}],E=()=>[{description:(0,l.jsx)(I.cC,{id:"MHrjPM"}),shortcut:"/title"},{description:(0,l.jsx)(I.cC,{id:"lXKZGw"}),shortcut:["#","Mod+Alt+1"]},{description:(0,l.jsx)(I.cC,{id:"El7NbA"}),shortcut:["##","Mod+Alt+2"]},{description:(0,l.jsx)(I.cC,{id:"SFN6dN"}),shortcut:["###","Mod+Alt+3"]},{description:(0,l.jsx)(I.cC,{id:"nJeKmw"}),shortcut:["####","Mod+Alt+4"]},{description:(0,l.jsx)(I.cC,{id:"yzF66j"}),shortcut:"Mod+K"},{description:(0,l.jsx)(I.cC,{id:"eFpJYL"}),shortcut:(0,l.jsx)(B,{prefix:":",support:"heart_eyes",suffix:":"})},{description:(0,l.jsx)(I.cC,{id:"KmydK6"}),shortcut:[(0,l.jsx)(B,{prefix:"*",support:"bold",suffix:"*"},"0"),"Mod+B"]},{description:(0,l.jsx)(I.cC,{id:"pzutoc"}),shortcut:[(0,l.jsx)(B,{prefix:"_",support:"italic",suffix:"_"},"0"),"Mod+I"]},{description:(0,l.jsx)(I.cC,{id:"YyXtnN"}),shortcut:"Mod+U"},{description:(0,l.jsx)(I.cC,{id:"WhOsNE"}),shortcut:"Mod+Shift+X"},{description:(0,l.jsx)(I.cC,{id:"VjjKVj"}),shortcut:"Mod+Shift+L"},{description:(0,l.jsx)(I.cC,{id:"95ckMP"}),shortcut:"Mod+Shift+E"},{description:(0,l.jsx)(I.cC,{id:"vTKw81"}),shortcut:"Mod+Shift+R"},{description:(0,l.jsx)(I.cC,{id:"Gc5apx"}),shortcut:[(0,l.jsx)(B,{prefix:"`",support:"code",suffix:"`"},"0"),"Mod+E"]},{description:(0,l.jsx)(I.cC,{id:"sFkOYO"}),shortcut:[(0,l.jsx)(B,{prefix:"$",support:"x^2",suffix:"$ "},"0"),"$$ "]},{description:(0,l.jsx)(I.cC,{id:"eKJQi9"}),shortcut:"Mod+Shift+H"},{description:(0,l.jsx)(I.cC,{id:"M3G9ZD"}),shortcut:["1. ","Mod+/","Mod+Shift+7"]},{description:(0,l.jsx)(I.cC,{id:"ynb7Kh"}),shortcut:["- ","Mod+.","Mod+Shift+8"]},{description:(0,l.jsx)(I.cC,{id:"rCIbrq"}),shortcut:["[] ","Mod+,","Mod+Shift+9"]},{description:(0,l.jsx)(I.cC,{id:"dOxPd4"}),shortcut:[(0,l.jsx)(B,{prefix:"^",support:"note",suffix:"^"},"0"),"Mod+Alt+F"]}],_=()=>[{description:(0,l.jsx)(I.cC,{id:"9xCxY6"}),shortcut:["←","→"]},{description:(0,l.jsx)(I.cC,{id:"6r2KAP"}),shortcut:["↑","↓"]},{description:(0,l.jsx)(I.cC,{id:"rEj/lx"}),shortcut:"Enter"},{description:(0,l.jsx)(I.cC,{id:"IkakN2"}),shortcut:"Esc"},{description:(0,l.jsx)(I.cC,{id:"dQU33K"}),shortcut:"Mod+Shift+O"},{description:(0,l.jsx)(I.cC,{id:"CgmvBu"}),shortcut:"S"},{description:(0,l.jsx)(I.cC,{id:"K0Oq/D"}),shortcut:"R"},{description:(0,l.jsx)(I.cC,{id:"CvH5f/"}),shortcut:(0,l.jsx)(m.xu,{p:0,children:(0,l.jsxs)("svg",{className:"coachbarCursor",height:"1em",viewBox:"0 0 298 380",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("path",{className:"cursorBlinkEffect",d:"M151.8 0.60199C145.612 0.60199 140.601 5.61759 140.601 11.801V79C140.601 85.1875 145.617 90.199 151.8 90.199C157.987 90.199 162.999 85.1834 162.999 79V11.801C162.999 5.61349 157.983 0.60199 151.8 0.60199ZM52.749 41.551C49.8818 41.551 47.0615 42.6877 44.874 44.8752C40.5029 49.2502 40.5029 56.4262 44.874 60.8012L84.425 100.352C88.8 104.727 95.976 104.723 100.351 100.352C104.726 95.9772 104.722 88.8012 100.351 84.4262L60.8 44.8752C58.6125 42.6877 55.6162 41.551 52.749 41.551ZM250.849 41.551C247.982 41.551 244.986 42.6877 242.798 44.8752L203.247 84.4262C198.876 88.8012 198.872 95.9772 203.247 100.352C207.622 104.723 214.798 104.727 219.173 100.352L258.724 60.8012C263.095 56.4262 263.095 49.2502 258.724 44.8752C256.537 42.6877 253.716 41.551 250.849 41.551ZM11.789 140.602C5.6015 140.602 0.589996 145.618 0.589996 151.801C0.589996 157.988 5.6056 163 11.789 163H78.988C85.1755 163 90.187 157.984 90.187 151.801C90.187 145.613 85.1714 140.602 78.988 140.602H11.789ZM92.465 199.926C89.5978 199.926 86.6017 201.063 84.4142 203.25L44.8632 242.801C40.4921 247.176 40.4921 254.352 44.8632 258.727C49.2382 263.102 56.4142 263.102 60.7892 258.727L100.34 219.176C104.711 214.801 104.715 207.625 100.34 203.25C98.1527 201.063 95.3322 199.926 92.465 199.926Z",fill:"black"}),(0,l.jsx)("path",{d:"M289.317 291.063H237.601L264.819 357.2C266.715 361.785 264.548 366.926 260.215 368.872L236.247 379.292C231.779 381.237 226.768 379.014 224.873 374.568L199.009 311.766L156.761 355.116C151.13 360.892 142 356.439 142 348.864V139.899C142 131.923 151.711 128.035 156.76 133.647L295.411 275.918C301.003 281.355 296.877 291.063 289.317 291.063V291.063Z",fill:"black"})]})},"cursor")}],O={borderColor:"gray.100",py:2,px:2},P=e=>{let{list:t}=e;return(0,l.jsx)(a.x,{w:"100%",children:(0,l.jsx)(o.i,{variant:"simple",children:(0,l.jsx)(i.p,{children:t.map((e,t)=>{let{shortcut:n,description:a}=e;return(0,l.jsxs)(r.Tr,{children:[(0,l.jsx)(s.Td,{w:"60%",...O,children:a}),(0,l.jsx)(s.Td,{w:"40%",...O,children:Array.isArray(n)?n.map((e,t)=>(0,l.jsx)(d.T,{display:"inline-block",px:2,py:1,mr:1,children:"string"==typeof e?(0,A.cE)(e):e},t)):"string"==typeof n?(0,l.jsx)(d.T,{display:"inline-block",px:2,py:1,children:(0,A.cE)(n)}):(0,l.jsx)(d.T,{display:"inline-block",px:2,py:1,children:n})})]},t)})})})})},T=e=>{let{isOpen:t,onClose:n}=e,a=(0,j.A)(E),o=(0,j.A)(_),i=(0,j.A)(M);return(0,l.jsxs)(u.J,{returnFocusOnClose:!1,closeOnBlur:!1,placement:"top",isOpen:t,onClose:n,modifiers:[{name:"computeStyles",options:{gpuAcceleration:!1}}],children:[(0,l.jsx)(c.t,{children:(0,l.jsx)(m.xu,{position:"fixed",bottom:0,right:0})}),(0,l.jsxs)(f.y,{zIndex:"menu",h:"80vh",w:"400px",flex:1,position:"relative",children:[(0,l.jsxs)(p.Y,{border:"0 none",mb:2,position:"sticky",bgColor:"white",children:[(0,l.jsxs)(g.U,{spacing:2,children:[(0,l.jsx)(z.G,{icon:C.UFh}),(0,l.jsx)(h.X,{size:"md",children:(0,l.jsx)(I.cC,{id:"CTqTgr"})})]}),(0,l.jsx)(b.u,{})]}),(0,l.jsx)(y.b,{overflowY:"auto",children:(0,l.jsxs)(v.m,{variant:"soft-rounded",size:"sm",isFitted:!0,children:[(0,l.jsxs)(k.t,{mb:6,children:[(0,l.jsxs)(x.O,{children:[(0,l.jsx)(m.xu,{mr:2,children:(0,l.jsx)(z.G,{icon:C.TzT})}),(0,l.jsx)(I.cC,{id:"vVRhxh"})]}),(0,l.jsxs)(x.O,{children:[(0,l.jsx)(m.xu,{mr:2,children:(0,l.jsx)(z.G,{icon:C.jqu})}),(0,l.jsx)(I.cC,{id:"UodEcE"})]})]}),(0,l.jsxs)(w.n,{children:[(0,l.jsxs)(S.x,{p:0,pb:1,mt:4,children:[(0,l.jsx)(P,{list:i}),(0,l.jsx)(A.NZ,{pt:4,pb:4,children:(0,l.jsx)(I.cC,{id:"Bb47jg"})}),(0,l.jsx)(P,{list:a})]}),(0,l.jsx)(S.x,{p:0,pb:1,mt:4,children:(0,l.jsx)(P,{list:o})})]})]})})]})]})}},1196:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});let l="support@gamma.app"},57660:function(e,t,n){"use strict";n.d(t,{fI:function(){return a},qA:function(){return r},lO:function(){return s},lt:function(){return i}});var l=n(76919);let a=new l.v,o={url:window.location.href,method:null,hashChanged:!1},i=()=>{window.addEventListener("popstate",()=>{let e=new URL(o.url),t=e.hash!==window.location.hash;o.method="pop",o.url=window.location.href,o.hashChanged=t,a.emit("changed",{...o,state:window.history.state})},!1)},r=e=>{d({...e,method:"push"})},s=e=>{d({...e,method:"replace"})},d=e=>{let{pathname:t,query:n,hash:l,method:i,emitChange:r=!0,data:s={}}=e,d=new URL(window.location.href);if(void 0!==t&&(d.pathname=t),void 0!==l&&(d.hash=l),void 0!==n){for(let[e]of[...d.searchParams.entries()])d.searchParams.delete(e);for(let[e,t]of Object.entries(n))t&&"string"==typeof t&&d.searchParams.set(e,t);d.searchParams.sort()}let u={...window.history.state,...s,as:"".concat(d.pathname),url:d.toString()},c=d.hash!==window.location.hash;"push"===i?window.history.pushState(u,"",d.toString()):window.history.replaceState(u,"",d.toString()),o.url=d.toString(),o.method=i,o.hashChanged=c,r&&a.emit("changed",{...o,state:window.history.state})}},10649:function(e,t,n){"use strict";n.d(t,{DD:function(){return m},MD:function(){return u},Wx:function(){return i},kf:function(){return s},p5:function(){return r},p_:function(){return d},w$:function(){return c}});var l=n(87254),a=n(829),o=n.n(a);let i="pseudo-LOCALE",r="en",s={de:"public_beta",en:"ga",es:"ga",fr:"ga",id:"public_beta",ja:"ga",ko:"ga","pt-br":"ga",ru:"public_beta",th:"public_beta",tr:"public_beta","zh-cn":"ga","zh-tw":"ga"},d=[r,"pt-br","de","id","ja","zh-cn","zh-tw","es","fr","ko","ru","th","tr",i],u={default:r,PSEUDO_LOCALE_KEY:r,"de-at":"de","de-be":"de","de-li":"de","de-lu":"de","de-ch":"de","ja-jp":"ja","ko-kr":"ko","fr-be":"fr","fr-ca":"fr","fr-ch":"fr","fr-fr":"fr","fr-lu":"fr","fr-mc":"fr","pt-pt":"pt-br","zh-hans":"zh-cn","zh-sg":"zh-cn",zh:"zh-cn","zh-hant":"zh-tw","zh-hk":"zh-tw","zh-mo":"zh-tw","es-ar":"es","es-bo":"es","es-cl":"es","es-co":"es","es-cr":"es","es-do":"es","es-ec":"es","es-es":"es","es-gt":"es","es-hn":"es","es-mx":"es","es-ni":"es","es-pa":"es","es-pe":"es","es-pr":"es","es-py":"es","es-sv":"es","es-uy":"es","es-ve":"es"},c={[r]:{key:r,displayName:"English",displayNameLocalized:()=>l.ag._({id:"lYGfRP"}),contextName:"English"},de:{key:"de",displayName:"Deutsch",displayNameLocalized:()=>l.ag._({id:"DDcvSo"}),contextName:"Deutsch"},"pt-br":{key:"pt-br",displayName:"Portugu\xeas (Brasil)",displayNameLocalized:()=>l.ag._({id:"R7+D0/"}),contextName:"portugu\xeas"},id:{key:"id",displayName:"Bahasa Indonesia",displayNameLocalized:()=>l.ag._({id:"BQukYF"}),contextName:"Bahasa Indonesia"},ja:{key:"ja",displayName:"日本語",displayNameLocalized:()=>l.ag._({id:"dFtidv"}),contextName:"日本語"},"zh-cn":{key:"zh-cn",displayName:"简体中文",displayNameLocalized:()=>l.ag._({id:"6imsQS"}),contextName:"简体中文"},"zh-tw":{key:"zh-tw",displayName:"繁體中文",displayNameLocalized:()=>l.ag._({id:"DM4gBB"}),contextName:"繁體中文"},es:{key:"es",displayName:"Espa\xf1ol",displayNameLocalized:()=>l.ag._({id:"65A04M"}),contextName:"espa\xf1ol"},fr:{key:"fr",displayName:"Fran\xe7ais",displayNameLocalized:()=>l.ag._({id:"nLC6tu"}),contextName:"fran\xe7ais"},ko:{key:"ko",displayName:"한국어",displayNameLocalized:()=>l.ag._({id:"h6S9Yz"}),contextName:"한국어"},ru:{key:"ru",displayName:"Русский",displayNameLocalized:()=>l.ag._({id:"nji0/X"}),contextName:"Русский"},th:{key:"th",displayName:"ไทย",displayNameLocalized:()=>l.ag._({id:"SUr44j"}),contextName:"ไทย"},tr:{key:"tr",displayName:"T\xfcrk\xe7e",displayNameLocalized:()=>l.ag._({id:"Kz91g/"}),contextName:"T\xfcrk\xe7e"}},m=e=>o()(Object.values(c),e=>e.displayNameLocalized()).sort((t,n)=>{if(t.key===r)return -1;if(n.key===r)return 1;let l=s[t.key],a=s[n.key];return e||l===a?0:"private_beta"===l?1:"private_beta"===a?-1:0})},16893:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var l=n(5879),a=n(2784);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,l.mV)();return(0,a.useMemo)(e,[n,e,...t])}},94199:function(e,t,n){"use strict";n.d(t,{AU:function(){return d},ML:function(){return r},N6:function(){return a},Yc:function(){return o},aq:function(){return i},k3:function(){return s},x8:function(){return l}});let l="Gamma Pro",a="Gamma",o="gamma",i="gammas",r="Pro",s="Plus",d="Free"},62573:function(e,t,n){"use strict";n.d(t,{G5:function(){return u},HT:function(){return r},L1:function(){return m},Ns:function(){return c},ZT:function(){return s}});var l=n(58125);n(91695);var a=n(10649);let o={previewLocale:null,userDisplayLocale:a.p5,pseudoLocaleActive:!1},i=(0,l.oM)({name:"I18n",initialState:o,reducers:{reset:()=>o,setDisplayLocale(e,t){e.userDisplayLocale=t.payload.locale},setPreviewLocale(e,t){e.previewLocale=t.payload.locale},setPseudoLocaleActive(e,t){e.pseudoLocaleActive=t.payload.isActive}}}),{setPseudoLocaleActive:r,setPreviewLocale:s,setDisplayLocale:d}=i.actions,u=e=>e.I18n.userDisplayLocale,c=e=>e.I18n.pseudoLocaleActive,m=i.reducer},76249:function(e,t,n){"use strict";n.d(t,{x:function(){return s}});var l=n(87254),a=n(76332),o=n(1163),i=n(17018);let r=e=>(0,o.cT)(e)?"code":"symbol",s=(e,t)=>{let n=(0,i.u_)(),o=(null==t?void 0:t.currency)||a.Fa6.Usd,s=r(o),d={style:"currency",notation:"compact",minimumFractionDigits:0,maximumFractionDigits:2,...t,currency:o,currencyDisplay:s};return n?l.ag.number(e,d):e.toLocaleString(navigator.language,d)}},48832:function(e,t,n){"use strict";n.d(t,{Dw:function(){return k},Km:function(){return v},dN:function(){return b},p6:function(){return y}});var l=n(87254),a=n(41033),o=n(98541),i=n(96740),r=n(31807),s=n(57907),d=n(21346),u=n(48053),c=n(1363),m=n(49738),f=n(90535),p=n(9283),g=n(75528);let h={en:s.Z,"pt-br":d.Z,ja:u.Z,"zh-cn":c.Z,"zh-tw":m.Z,es:f.Z,fr:p.Z,ko:g.Z},b=()=>h[l.ag.locale]||void 0,y=(e,t)=>e?(0,a.Z)((0,r.Z)(e),t,{locale:b()}):"",v=(e,t)=>e?(0,i.Z)((0,r.Z)(e),t?(0,r.Z)(t):new Date,{locale:b()}):"",k=e=>e?(0,o.Z)((0,r.Z)(e),{locale:b()}):""},17018:function(e,t,n){"use strict";n.d(t,{py:function(){return r},u_:function(){return o}});var l=n(10649);let a=()=>window.navigator.language.toLowerCase(),o=()=>{let e=a(),t=l.p_.includes(e)?e:l.MD[e];return"ga"===l.kf[t]},i=e=>{if(e){let t=e.toLowerCase();if(l.p_.includes(t))return t;if(void 0!==l.MD[t])return l.MD[t]}return l.p5},r=()=>i(a())},44663:function(e,t,n){"use strict";n.d(t,{G:function(){return r}});var l=n(2784),a=n(94090),o=n(78462),i=n(94220);let r=function(){let{initializeViaQuery:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{initializeViaQuery:!1},t=(0,a.TL)(),n=(0,l.useCallback)(()=>{let e=window.Intercom;e&&(e("show"),t((0,i.YZ)({isOpen:!0})))},[t]);return(0,l.useEffect)(()=>{if(!e)return;let t="true"===(0,o.SJ)()["get-support"];t&&n()},[e,n]),n}},94220:function(e,t,n){"use strict";n.d(t,{I6:function(){return s},YZ:function(){return r}});var l=n(58125);let a={isOpen:!1,hmac:null},o=(0,l.oM)({name:"Intercom",initialState:a,reducers:{reset:()=>a,setIntercomHmac(e,t){e.hmac=t.payload},setIsIntercomOpen(e,t){let{isOpen:n}=t.payload;e.isOpen=n}}}),{setIntercomHmac:i,setIsIntercomOpen:r}=o.actions,s=o.reducer},37295:function(e,t,n){"use strict";n.d(t,{kp:function(){return o},F7:function(){return a},G2:function(){return i}});let l=["GLOBAL_SEARCH","ZOOMABLE_OVERLAY","SLIDE_VIEW","COMMENT_FEED_PANEL","DESIGN_PARTNER_PANEL","CARD_NOTES_PANEL","NAVIGATION_CONTROLS","PRESENT_BLOCK","TABLE_OF_CONTENTS","FILMSTRIP","DOC_BLUR","SITE_PREVIEW_PANE","PRESENTER_VIEW"],a=new class{handleEvent(e,t){if(t.defaultPrevented&&t.target instanceof HTMLElement&&t.target.classList.contains("ProseMirror"))return!1;for(let n of this.listeners[e]){let e=n.fn(t);if(!0===e)return console.debug("[KeyboardHandler].handleEvent - handled by:",n),!0}return!1}initialize(){window.addEventListener("keydown",this.handleKeydown),window.addEventListener("keyup",this.handleKeyup)}reset(){window.removeEventListener("keydown",this.handleKeydown),window.removeEventListener("keyup",this.handleKeyup),this.listeners.keydown=[],this.listeners.keyup=[]}on(e,t,n){let a={scope:t,fn:n};return this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(a),this.listeners[e].sort((e,t)=>l.indexOf(e.scope)-l.indexOf(t.scope)),()=>{let t=this.listeners[e].indexOf(a);t>-1&&this.listeners[e].splice(t,1)}}constructor(){this.listeners={keydown:[],keyup:[]},this.handleKeydown=e=>this.handleEvent("keydown",e),this.handleKeyup=e=>this.handleEvent("keyup",e)}};n(2784);let o=e=>(e.ctrlKey||e.metaKey)&&"z"===e.key,i=e=>{o(e)&&e.preventDefault()}},26773:function(e,t,n){"use strict";n.d(t,{vr:function(){return d},Iw:function(){return u},Qz:function(){return m},mw:function(){return c},Hr:function(){return h},Om:function(){return b}});var l=n(54933),a=n(87254),o=n(14274),i=n(19431),r=n(42111),s={src:"/_next/static/media/google-gemini.9684c9bb.svg",height:28,width:28,blurWidth:0,blurHeight:0};let d={key:"square",name:()=>a.ag._({id:"1DA6ap"}),width:1024,height:1024},u={"stable-diffusion-xl-v1-0":{label:()=>"Stable Diffusion XL",description:()=>a.ag._({id:"mJfk30"}),icon:l.qTC,image:{src:"/_next/static/media/stability.ef6b22cb.svg",height:213,width:256,blurWidth:0,blurHeight:0},flag:"sdxlModel",fallbackModels:["playground-2.5"],aspectRatios:{square:{key:"square",name:()=>a.ag._({id:"1DA6ap"}),width:1024,height:1024},landscape:{key:"landscape",name:()=>a.ag._({id:"XxIeKn"}),width:1216,height:832},portrait:{key:"portrait",name:()=>a.ag._({id:"3bV9gD"}),width:896,height:1152}},provider:"baseten"},"playground-2.5":{label:()=>"Playground 2.5",description:()=>a.ag._({id:"ucwEaH"}),icon:l.qTC,image:{src:"/_next/static/media/playground.27314eb1.svg",height:30,width:25,blurWidth:0,blurHeight:0},flag:"playgroundModel",fallbackModels:["stable-diffusion-xl-v1-0"],aspectRatios:{square:{key:"square",name:()=>a.ag._({id:"1DA6ap"}),width:1024,height:1024},landscape:{key:"landscape",name:()=>a.ag._({id:"XxIeKn"}),width:1216,height:832},portrait:{key:"portrait",name:()=>a.ag._({id:"3bV9gD"}),width:896,height:1152}},provider:"playground"},"imagen-2":{label:()=>"Imagen 2",description:()=>a.ag._({id:"9mwALi"}),icon:l.qZB,image:s,isPremium:!0,flag:"imagen",disabledFlag:"imagen3",freeFlag:"imagenFree",fallbackModels:["imagen-3-pro","imagen-3-flash","playground-2.5","stable-diffusion-xl-v1-0"],aspectRatios:{square:{key:"square",name:()=>a.ag._({id:"1DA6ap"}),width:1536,height:1536},landscape:{key:"landscape",name:()=>a.ag._({id:"XxIeKn"}),width:1792,height:1344},portrait:{key:"portrait",name:()=>a.ag._({id:"3bV9gD"}),width:1344,height:1792}},provider:"google"},"imagen-3-flash":{label:()=>"Imagen 3 Flash",description:()=>a.ag._({id:"WBvNEc"}),icon:l.qZB,image:s,isPremium:!1,flag:"imagen3",fallbackModels:["playground-2.5","stable-diffusion-xl-v1-0"],aspectRatios:{square:{key:"square",name:()=>a.ag._({id:"1DA6ap"}),width:1536,height:1536},landscape:{key:"landscape",name:()=>a.ag._({id:"XxIeKn"}),width:1792,height:1344},portrait:{key:"portrait",name:()=>a.ag._({id:"3bV9gD"}),width:1344,height:1792}},provider:"google"},"imagen-3-pro":{label:()=>"Imagen 3 Pro",description:()=>a.ag._({id:"bWBoxC"}),icon:l.qZB,image:s,isPremium:!0,flag:"imagen3",fallbackModels:["dall-e-3","playground-2.5"],aspectRatios:{square:{key:"square",name:()=>a.ag._({id:"1DA6ap"}),width:1536,height:1536},landscape:{key:"landscape",name:()=>a.ag._({id:"XxIeKn"}),width:1792,height:1344},portrait:{key:"portrait",name:()=>a.ag._({id:"3bV9gD"}),width:1344,height:1792}},provider:"google"},"dall-e-3":{label:()=>"DALL\xb7E 3",description:()=>a.ag._({id:"XcKdYA"}),icon:l.wRQ,image:{src:"/_next/static/media/openai.9e224d80.svg",height:320,width:320,blurWidth:0,blurHeight:0},isPremium:!0,flag:"dalle3",freeFlag:"dalle3Free",fallbackModels:["playground-2.5","stable-diffusion-xl-v1-0"],aspectRatios:{square:{key:"square",name:()=>a.ag._({id:"1DA6ap"}),width:1024,height:1024},landscape:{key:"landscape",name:()=>a.ag._({id:"XxIeKn"}),width:1792,height:1024},portrait:{key:"portrait",name:()=>a.ag._({id:"3bV9gD"}),width:1024,height:1792}},provider:"azure"}},c=e=>u[e]||u[r.VH.get("aiGeneratedImagesDefaultModel")],m=async e=>{var t;let{themeId:n,docId:l,...a}=e,s=n?{context:i.wNJ.Theme,themeId:e.themeId}:l?{context:i.wNJ.Doc,docId:e.docId}:{context:e.context},d=r.VH.get("aiGeneratedImagesDefaultModel"),u="".concat(o.v.API_HOST||"https://api.gamma.app","/media/images/generate"),m=(null===(t=c(e.model).fallbackModels)||void 0===t?void 0:t.filter(h))||[],p=m.includes(d)?d:m[0],b=await fetch(u,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...a,fallbackModel:p,...s}),credentials:"include"});if(!b.ok){let e=await b.json(),t="".concat(e.error,": ").concat(e.message);if("prohibited_input"===e.code&&e.categories)throw new g({categories:e.categories});throw new f(t,e)}return b.json()};class f extends Error{constructor(e,t){super(e,t),this.response=t}}f.prototype.name="GenerateImageError";let p={sexual:()=>a.ag._({id:"gHG6wD"}),violence:()=>a.ag._({id:"x40BeZ"}),prohibited:()=>a.ag._({id:"UiRApc"})};class g extends Error{parseCategories(e){return e.sexual||e["sexual/minors"]?"sexual":e.violence||e["violence/graphic"]?"violence":"prohbited"}constructor({categories:e}){let t="Cannot generate image, prohibited (reasons=".concat(JSON.stringify(Object.keys(e)),")");super(t),this.code="prohibited_input",this.category=this.parseCategories(e),this.messageTranslated=p[this.category]()||a.ag._({id:"aUSC+t"})}}let h=e=>{let t=u[e];return!(!t||t.flag&&!r.VH.get(t.flag)&&e!==r.VH.get("aiGeneratedImagesDefaultModel")||t.disabledFlag&&r.VH.get(t.disabledFlag))},b=e=>{let t=u[e];return!(!t||!t.isPremium||t.freeFlag&&r.VH.get(t.freeFlag))}},39877:function(e,t,n){"use strict";n.d(t,{C:function(){return m}}),n(84636);var l=n(14274),a=n(42111),o=n(87205),i=n(81674),r=n(38914),s=n(46152),d=n.n(s);let u=async e=>{let t=e.split(" ")[0];try{var n;let e=await fetch("/api/icons/search?count=5&query=".concat(t),{credentials:"include"}),l=null===(n=await e.json())||void 0===n?void 0:n.data;if(!l||0===l.length)return console.warn("[fetchIcons] No icons found. Using default set"),d()(c);return console.debug("[AI fetchIcons] fetched icons",l),l}catch(e){return console.error("(caught) [fetchIcons] fetchResults:",e),d()(c)}},c=[r.ILF,r.Y$T,r.Tab,r.Mzg,r.Qz9,r.gMD].map(e=>{let t=(0,i.qv)(e),[n,a]=t.icon;return{id:e.iconName,provider:"fa",styles:["light"],src:"".concat(l.v.FRONTEND_URL,"/api/icons/").concat(e.iconName,".svg?provider=fa&style=light"),html:t.html[0],width:n,height:a}}),m=async e=>{let{query:t,provider:n,options:l={},count:i=35,prefetch:r=!1}=e,s="web"===n?a.VH.get("webImageProviderType"):void 0;if("fontawesome"===n){let e=(await u(t)).map(e=>({id:e.id,imageUrl:e.src,width:e.width,height:e.height,attributionUrl:"",thumbnailUrl:"",credit:""}));return e}let d=f({query:t,provider:n,options:{type:s,...l},count:i});try{let e=await fetch(d,{credentials:"include"}),t=await e.json();if(!((null==t?void 0:t.length)>=0))throw Error(t);return r&&Promise.all(t.map(e=>(0,o.GN)(e.imageUrl))).then(()=>{console.debug("[fetchImageSearchResults] images downloaded in background")}).catch(e=>{console.debug("[fetchImageSearchResults] error downloading image:",e)}),t}catch(e){return console.error("(caught) [fetchImages] fetchResults:",e),[]}},f=e=>{let{query:t,count:n,provider:a,options:o={}}=e,i=new URLSearchParams,r=l.v.API_HOST||"https://api.gamma.app";return i.append("query",t),i.append("provider",a),i.append("count",String(n)),Object.entries(o).forEach(e=>{let[t,n]=e;void 0!==n&&i.append(t,String(n))}),"".concat(r).concat("/media/images/search","?").concat(i.toString())}},2090:function(e,t,n){"use strict";n.d(t,{ND:function(){return v},WY:function(){return x},cT:function(){return k}});var l=n(65616),a=n(48484),o=n(42340),i=n(13326),r=n(14274),s=n(81345),d=n(87205);let u={auth:{key:r.v.TRANSLOADIT_AUTH_KEY},template_id:r.v.TRANSLOADIT_IMAGE_TEMPLATE_ID},c=["image/*",i.Z.heic,i.Z.heif],m=["application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation"],f=[i.Z.doc,i.Z.docx],p=[...f,...m,i.Z.pdf],g={all:[...p,...m,...c],importDoc:[...p],importPpt:[...m],importPdf:[i.Z.pdf],doc:p,font:["font/otf","font/ttf","application/x-font-ttf","application/x-font-otf",".otf",".ttf"],image:c,icon:[".png",".ico",".gif",".svg"]},h={autoProceed:!0,restrictions:{allowedFileTypes:[],maxNumberOfFiles:1}},b={},y=async e=>{let t=b[e];if(t&&t.expires&&+new Date(t.expires)-3e5>Date.now())return b[e];let n=await fetch("/api/transloadit/signature",{method:"POST",body:JSON.stringify({templateId:e})}),{signature:l,expires:a}=await n.json();return l&&a?(b[e]={signature:l,expires:a},b[e]):(console.error("Error getting Transloadit signature"),{signature:"",expires:""})},v={createUppyInstance:function(e,t){let{onUploadStart:n,onOriginalFileUpload:o,onUploadComplete:i,onUploadFailed:r,onProgress:c,setErrorMessage:m}=t,f=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"node",p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,b=arguments.length>4?arguments[4]:void 0,v=arguments.length>5?arguments[5]:void 0,k=2560,x="false";"background"===f||"themeBackground"===f?k=3840:"icon"===f?k=250:"profile"===f?(k=1024,x="true"):"workspaceLogo"===f&&(k=1024);let w=[];b=b||"image";let S=new l.ZP({...h,restrictions:{...h.restrictions,maxNumberOfFiles:p,allowedFileTypes:g[b]}});return S.use(a.ZP,{assemblyOptions:async()=>{let t=v||u.template_id,{signature:n,expires:l}=await y(t);return{params:{...u,auth:{...u.auth,expires:l},template_id:v||u.template_id},fields:{orgId:e,imageType:f,resizePx:k,cropPadding:"50%",detectAndCropFace:x},signature:n}},waitForEncoding:!0}),S.on("file-added",async e=>{try{var t;(null==e?void 0:null===(t=e.type)||void 0===t?void 0:t.includes("image"))&&(null==e?void 0:e.data)instanceof File&&await (0,d.sy)(e),n&&1===p&&n({tempUrl:URL.createObjectURL(e.data),file:e}),c&&c(0)}catch(t){console.error("[Uppy.file-added] ".concat(t.message)),S.removeFile(e.id)}}),S.on("files-added",e=>{n&&1!==p&&e.forEach(e=>{n({tempUrl:URL.createObjectURL(e.data),file:e})}),c&&c(0)}),S.on("error",e=>{let t="Error uploading to Transloadit: ".concat(e.message);m&&m(""),r&&r(t),console.error(t)}),S.on("upload-progress",(e,t)=>{if(!c)return;let n=t.bytesUploaded/t.bytesTotal*100;c(n)}),S.on("transloadit:result",(e,t,n)=>{if(1===p){if(!o||"original_file"!==e||0===n.uploads.length||(0,d.Ns)(n.uploads[0].mime)||(0,s.kO)(n.uploads[0].mime,n.uploads[0].ext)||!t)return;let{url:l,meta:a,name:i}=t;m&&m(""),l?o({src:l,meta:a,name:i,uploadResultStep:"original"}):(r&&r("Error uploading to Transloadit"),console.error("Error uploading to Transloadit"))}else{if("filter_skip_optimize"===e){w=w.concat(t);return}{let e,a;if((0,d.Ns)(t.mime))a=t;else{var l;e=null===(l=w.find(e=>e.name===t.name))||void 0===l?void 0:l.url,a=t}if(!a)return;let{url:o,meta:s,name:u}=a;m&&m(""),o?i&&i({src:o,meta:s,name:u,uploadResultStep:"optimized",fullResults:n.results},e):(r&&r("Error uploading to Transloadit"),console.error("Error uploading to Transloadit"))}}}),S.on("transloadit:complete",e=>{var t,n,l,a,o;let u,c,f,g;if(1!=p)return;if(0===e.uploads.length)throw console.error("[transloadit:complete] No uploads in assembly",e),Error("No uploads in assembly");if("importDoc"===b)c=e.results.convert_to_html[0];else if("importPpt"===b)c=e.results.convert_to_html[0];else{if((0,s.S9)(e.uploads[0].ext))return;(0,s.O7)(e.uploads[0].mime)?(c=e.results.original_file[0],f=e.results.doc_thumbnail[0].url):(0,s.kO)(e.uploads[0].mime,e.uploads[0].ext)?(c=e.results.convert_to_pdf[0],f=e.results.doc_thumbnail[0].url):(0,d.Ns)(e.uploads[0].mime)?(c=(null===(t=e.results.optimized)||void 0===t?void 0:t[0])||(null===(n=e.results.filter_skip_optimize)||void 0===n?void 0:n[0]),g=null===(l=e.results.detect_and_crop_face)||void 0===l?void 0:l[0].url):(u=e.results.original_file[0].url,g=null===(a=e.results.detect_and_crop_face)||void 0===a?void 0:a[0].url,c=(null===(o=e.results.optimized)||void 0===o?void 0:o[0])||e.results.original_file[0])}let{url:h,ssl_url:y,meta:v,name:k}=c;m&&m(""),y||h?i&&i({src:y||h,meta:v,name:k,thumbnail:f,croppedFace:g,uploadResultStep:"optimized",fullResults:e.results},u):(r&&r("Error uploading to Transloadit"),console.error("Error uploading to Transloadit"))}),S}},k=async function(e,t,n){let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"node",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"image",o=arguments.length>5?arguments[5]:void 0;if(!t)throw Error("Tried uploading an image with no orgId");let i=v.createUppyInstance(t,n,l,1,a,o);i.addFile({name:e.name,type:e.type,data:e}),i.upload()},x=async function(e,t,n){let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"node",i=arguments.length>4?arguments[4]:void 0;if(!t)throw Error("Tried uploading an image with no orgId");let r=v.createUppyInstance(t,n,l,"themeBackground"===l?null:1,void 0,i);r.use(o.Z,{companionUrl:a.Zm}),r.getPlugin("Url").addFile(e)}},47634:function(e,t,n){"use strict";n.d(t,{Z:function(){return er}});var l=n(52322),a=n(32899),o=n(17993),i=n(74105),r=n(20816),s=n(28535),d=n(85573),u=n(35183),c=n(97166),m=n(42946),f=n(49929),p=n(94523),g=n(5879),h=n(87254),b=n(7165),y=n(4742),v=n.n(y),k=n(2784),x=n(66028),w=n(944),S=n(10625),C=n(67046),z=n(62614),A=n(332),I=n(99058),j=n(44035),F=n(39237),B=n(77533),M=n(54933);let E={label:()=>h.ag._({id:"DAmK+T"}),key:"All",description:()=>h.ag._({id:"Zz/1wq"})},_=[E,{label:()=>h.ag._({id:"10G8Kb"}),key:"Share",description:()=>h.ag._({id:"EVNJ2h"})},{label:()=>h.ag._({id:"SjDzTh"}),key:"ShareCommercially",description:()=>h.ag._({id:"DHhpJP"})}],O=E.key,P=e=>{var t;return null===(t=_.find(t=>t.key===e))||void 0===t?void 0:t.label()},T=e=>{let{value:t=O,onChange:n}=e;return(0,l.jsxs)(S.v,{children:[(0,l.jsx)(C.j,{w:"100%",as:z.z,boxShadow:"sm",size:"sm",variant:"plain",rightIcon:(0,l.jsx)(f.G,{icon:M.ptq}),textAlign:"left",children:P(t)}),(0,l.jsx)(A.h,{children:(0,l.jsx)(I.q,{zIndex:"tooltip",w:"350px",children:(0,l.jsx)(j._,{type:"radio",w:"100%",defaultValue:E.key,value:t,onChange:e=>n(e),children:_.map(e=>{let{key:t,label:n,description:a}=e;return(0,l.jsxs)(F.i,{value:t,children:[n(),(0,l.jsx)(B.x,{fontSize:"sm",color:"gray.400",children:a()})]},t)})})})})]})};var R=n(14274),N=n(39877),L=n(13773),D=n(87205);let W=e=>(0,k.useCallback)(t=>{let n="".concat(R.v.API_HOST||"","/media/images/track");fetch(n,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:e,id:t.id})})},[e]),U=e=>{let{provider:t,enablePagination:n,resultsPerPage:l}=e,[a,o]=(0,k.useState)(""),[i,r]=(0,k.useState)([]),[s,d]=(0,k.useState)(!1),[u,c]=(0,k.useState)(!1),[m,f]=(0,k.useState)(1),[p,g]=(0,k.useState)("All"),h=(0,k.useRef)(p),b=n&&i.length>0&&m<6,y=(0,k.useCallback)(async(e,n)=>{d(!0),c(!1);try{let a={license:h.current,page:n,gammaFeature:"mediaDrawer"};"bing"===t&&(a.minWidth=L.x.minWidth,a.maxWidth=L.x.maxWidth);let o=await (0,N.C)({query:e,count:l,provider:t,options:a});if(d(!1),!((null==o?void 0:o.length)>=0))throw Error("No images found");let i=o.filter(e=>(0,D.VE)(e.imageUrl));r(e=>e.concat(i))}catch(e){c(!0),d(!1),console.error("(caught) [ImageSearchGrid] fetchResults:",e)}},[t,l]),v=(0,k.useCallback)(e=>{r([]),f(1),o(e),y(e,1)},[y]),x=(0,k.useCallback)(()=>{y(a,m+1),f(m+1)},[y,a,m]),w=(0,k.useCallback)(()=>{o(""),r([]),f(1)},[]),S=(0,k.useCallback)(e=>{g(e),h.current=e,w(),v(a)},[w,v,a]);return{search:v,isLoading:s,loadMore:x,canLoadMore:b,hasError:u,imageResults:i,resetResults:w,searchQuery:a,license:p,updateLicense:S}};var H=n(38035),G=n(47443),q=n(52929),V=n(20437),K=n(30523),Y=n(67109),$=n(2689),J=n.n($),X=n(75641),Z=n(50279),Q=n(75009),ee=n(78071),et=n(42822),en=n(11082);let el=(0,k.memo)(e=>{let{image:t,isSelected:n,onImageClick:a,resizeThumbnail:o}=e,i=o?(0,D.SN)(t.thumbnailUrl,D.Iv):t.thumbnailUrl;return(0,l.jsxs)(z.z,{borderRadius:"base",overflow:"hidden",display:"block",variant:"ghost",width:"100%",opacity:1,textAlign:"left",pos:"relative",p:0,minH:"auto",h:"auto",_hover:{shadow:"outline"},_active:{shadow:"outline"},transition:"box-shadow .2s ease",cursor:"pointer",onClick:()=>a(t),sx:{_focusVisible:{".attribution-container":{opacity:1}},_hover:{".attribution-container":{opacity:1}}},"data-testid":"image-search-grid-item",children:[(0,l.jsx)(Q.E,{w:"100%",src:i,fallback:(0,l.jsx)(Y.O,{height:"120px",borderRadius:"base"})}),(0,l.jsx)(ee.p,{in:n,children:(0,l.jsx)(s.xu,{pointerEvents:"none",color:"white",pos:"absolute",inset:0,bg:"rgba(0,0,0,.5)",borderRadius:"base",children:(0,l.jsx)(et.M,{h:"100%",w:"100%",children:(0,l.jsx)(f.G,{icon:m.LEp})})})}),!t.thumbnailUrl&&(0,l.jsx)(K.P,{width:"100%",children:(0,l.jsx)(Y.O,{height:"80px",borderRadius:"base"})}),(0,l.jsxs)(s.xu,{left:0,right:0,bottom:0,p:2,pos:"absolute",color:"white",fontSize:"xs",textOverflow:"ellipsis",overflow:"hidden",bg:"linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%)",borderBottomRadius:"base",className:"attribution-container",opacity:0,transitionProperty:"common",transitionDuration:"normal",children:[t.attributionUrl&&t.credit&&(0,l.jsx)(p.kH,{label:t.credit,placement:"left",children:(0,l.jsx)(en.r,{mr:1,target:"_blank",rel:"noopener noreferrer",href:t.attributionUrl,tabIndex:-1,children:(0,l.jsx)(f.G,{transform:"shrink-4",icon:m.Xjp})})}),t.credit]})]})});el.displayName="ImageSearchGridItem";let ea=e=>{let{searchQuery:t,currentImageUrl:n,updateAttributes:a,provider:o,imageResults:i,isLoading:r,canLoadMore:d,loadMore:u,hasError:c,resultsPerPage:m,resizeThumbnails:f}=e,p=W(o),h=(0,k.useCallback)(e=>{p(e),a((0,Z.C)(e,t,o))},[o,t,p,a]),b=i.map(e=>{let t=e.imageUrl.split("?")[0],a=n&&n.split("?")[0];return(0,l.jsx)(el,{provider:o,image:e,isSelected:t===a,onImageClick:h,resizeThumbnail:f},e.id)});return(0,l.jsxs)(H.k,{direction:"column",align:"stretch",children:[r&&0===i.length&&(0,l.jsx)(eo,{resultsPerPage:m}),i.length>0&&(0,l.jsx)(X.Z,{columnsCount:3,gutter:"0.5rem",children:b}),d&&(0,l.jsx)(z.z,{variant:"plain",onClick:u,mt:4,isLoading:r,children:(0,l.jsx)(g.cC,{id:"yQ2kGp"})}),0===i.length&&!r&&(0,l.jsx)(s.xu,{width:"100%",textAlign:"center",padding:"10px",children:(0,l.jsx)(B.x,{style:{color:"gray"},children:(0,l.jsx)(g.cC,{id:"SihI8q",values:{searchQuery:t}})})}),c&&(0,l.jsxs)(G.b,{status:"error",children:[(0,l.jsx)(q.z,{}),(0,l.jsx)(g.cC,{id:"Fkbzp8"})]})]})},eo=e=>{let{resultsPerPage:t}=e;return(0,l.jsx)(V.M,{columns:3,spacing:2,children:J()(t).map((e,t)=>(0,l.jsx)(K.P,{children:(0,l.jsx)(Y.O,{height:"120px",borderRadius:"base"})},t))})},ei=(0,b.E)(a.h),er=e=>{let{currentImageUrl:t,updateAttributes:n,defaultQuery:a,randomQueries:b,provider:y,enablePagination:S=!0,enableSearch:C=!0,enableLicenseFilter:z=!1,resultsPerPage:A=18,resizeThumbnails:I=!1}=e,[j,F]=(0,k.useState)(""),{search:B,isLoading:M,loadMore:E,canLoadMore:_,hasError:O,imageResults:P,resetResults:R,searchQuery:N,license:L,updateLicense:D}=U({provider:y,enablePagination:S,resultsPerPage:A});(0,w.vm)(()=>{if(a){F(a),B(a);return}F(""),b?B(v()(b)||""):R()},[a,b,R,B],[y]);let W=(0,k.useCallback)(()=>{let e=v()(b);e&&B(e)},[b,B]),H=(0,w.Kt)(B,1e3);return(0,l.jsxs)(o.g,{spacing:4,align:"stretch",translate:"no",children:[(0,l.jsx)(p.kH,{placement:"top",label:(0,l.jsx)(g.cC,{id:"wj1Zq8"}),isDisabled:C,children:(0,l.jsxs)(i.B,{size:"md",children:[(0,l.jsx)(r.Z,{pointerEvents:"none",children:(0,l.jsx)(s.xu,{color:"gray.400",children:(0,l.jsx)(f.G,{icon:m.wn1})})}),(0,l.jsx)(d.I,{isDisabled:!C,placeholder:h.ag._({id:"6YBjmV"}),value:j,onChange:e=>{F(e.target.value),H(e.target.value)},"data-testid":"image-search-input"}),b&&(0,l.jsx)(r.x,{children:(0,l.jsx)(p.kH,{placement:"top",label:(0,l.jsx)(g.cC,{id:"OVjfHO"}),children:(0,l.jsx)(ei,{icon:(0,l.jsx)(f.G,{icon:m.RJo}),"aria-label":"Surprise me",variant:"ghost",onClick:W,size:"sm",whileTap:{y:"-5px"},onMouseDown:x.br})})})]})}),z&&(0,l.jsxs)(u.NI,{children:[(0,l.jsx)(c.l,{fontSize:"sm",fontWeight:"semibold",children:(0,l.jsx)(g.cC,{id:"6TSHCF"})}),(0,l.jsx)(T,{value:L,onChange:D})]}),N&&(0,l.jsx)(ea,{updateAttributes:n,currentImageUrl:t,searchQuery:N,provider:y,imageResults:P,isLoading:M,canLoadMore:_,loadMore:E,hasError:O,resultsPerPage:A,resizeThumbnails:I})]})}},13833:function(e,t,n){"use strict";n.d(t,{v:function(){return z},ft:function(){return C},QW:function(){return w}});var l=n(52322),a=n(17993),o=n(74409),i=n(29117),r=n(85573),s=n(62614),d=n(47443),u=n(52929),c=n(5879),m=n(87254),f=n(2784),p=n(94090),g=n(93982),h=n(87205),b=n(15425);let y={thumbnail:void 0,embed:void 0,meta:void 0,sourceUrl:void 0},v=async e=>{var t,n,l,a,o,i;let r=await fetch("https://cdn.iframe.ly/api/iframely/?url=".concat(encodeURIComponent(e),"&key=").concat("a68bac8b6624d46b6d0ba46e5b3f8971","&iframe=1&omit_script=1")),s=await r.json();if(console.debug("[Iframely]",s),s.error)return Promise.reject(s);let{html:d,links:u,meta:c}=s,{icon:m,player:f,reader:p,app:g,thumbnail:h}=u,b=f||p||g,y=b?b.filter(e=>"text/html"===e.type&&e.href)[0]||b[0]:null,v=c&&!c.xframe&&(!c.csp||!c.csp.includes("frame-ancestors"));return{sourceUrl:(null==c?void 0:c.canonical)||e,embed:y?{url:y.href,html:d,height:null===(t=y.media)||void 0===t?void 0:t.height,width:(null===(n=y.media)||void 0===n?void 0:n.width)||(null===(l=y.media)||void 0===l?void 0:l["max-width"]),aspectRatio:null===(a=y.media)||void 0===a?void 0:a["aspect-ratio"]}:v?{url:e}:void 0,meta:{...c||{},icon:m&&m[0]?m[0].href:void 0},thumbnail:h&&h[0]?{src:h[0].href,height:null===(o=h[0].media)||void 0===o?void 0:o.height,width:null===(i=h[0].media)||void 0===i?void 0:i.width}:void 0}};var k=n(2090),x=n(48902);let w=e=>{try{var t,n;let l=new DOMParser().parseFromString(e,"text/html");return(null===(t=l.querySelector("iframe"))||void 0===t?void 0:t.src)||(null===(n=l.querySelector("blockquote"))||void 0===n?void 0:n.cite)||!1}catch(e){return!1}},S=async e=>{var t,n,l,a,o;let i,r;try{i=await v(e)}catch(t){if(403===t.status||404===t.status||415===t.status){for(let{key:t,urlRegex:n,canEmbedPrivate:l,label:a,defaultDisplayStyle:o}of x.yC)if(n&&e.match(n)&&l)return{...y,source:t,proxy:!1,url:e,meta:{title:m.ag._({id:"SuoEIZ"})},sourceUrl:e,displayStyle:o||"inline"}}throw Error("Code: ".concat(t.status,". Message: ").concat(t.error))}if(!i)throw Error("No link metadata found");for(let{key:e,urlRegex:t}of x.yC)if(t&&(null===(a=i.sourceUrl)||void 0===a?void 0:a.match(t))){r=e;break}if(r){let e=x.zX[r];return{...y,...i,source:r,proxy:!1,url:(null===(o=i.embed)||void 0===o?void 0:o.url)||i.sourceUrl,displayStyle:e.defaultDisplayStyle}}return(null===(t=i.meta)||void 0===t?void 0:t.medium)=="audio"||(null===(n=i.meta)||void 0===n?void 0:n.medium)==="video"?{...y,...i,source:x.wj.key}:(null===(l=i.embed)||void 0===l?void 0:l.url)?{...y,...i,source:x.Hw.key,proxy:!1,url:i.embed.url}:{...y,...i,source:x.Hw.key,proxy:!0,url:e}},C=async(e,t)=>await S(e).then(e=>(t(e),e)).then(e=>A(e,t)),z=e=>{let{currentUrl:t="",updateAttributes:n,handleSubmit:p,handleDataSubmit:g,placeholder:y,noHeader:v}=e,[k,x]=(0,f.useState)(t||""),[S,z]=(0,f.useState)(),A=k!==t;(0,f.useEffect)(()=>{t&&x(t)},[t]),(0,f.useEffect)(()=>{z(void 0)},[k]);let I=(0,f.useCallback)(e=>{if(0===e.indexOf("data:")){if(g){try{(0,h.v9)(e)}catch(e){z(m.ag._({id:"YqH0TR"}));return}return g(e)}return void z(m.ag._({id:"YqH0TR"}))}let t=w(e);if(t&&(e=t),!(0,b.kr)(e)&&(e="https://"+e,!(0,b.jv)(e))){z(m.ag._({id:"YqH0TR"}));return}return p?p(e):n?C(e,n).catch(e=>{console.error("Error fetching URL",e),z(m.ag._({id:"dZyJFB"}))}):void console.error("No submit handler provided")},[g,p,n]),j=(0,f.useCallback)(()=>{I(k.trim())},[I,k]),F=(0,f.useCallback)(e=>{if(t)return;let n=e.clipboardData.getData("text/plain");I(n.trim())},[t,I]);return(0,l.jsxs)(a.g,{align:"flex-start",spacing:4,w:"100%",children:[!v&&(0,l.jsx)(o.X,{size:"md",children:(0,l.jsx)(c.cC,{id:"D89ve+"})}),(0,l.jsxs)(i.U,{align:"flex-start",spacing:2,w:"100%",children:[(0,l.jsx)(r.I,{placeholder:y,onKeyDown:e=>{"Enter"===e.key&&j()},onPaste:F,value:k,onChange:e=>x(e.target.value),flex:1,"data-testid":"url-input"}),(0,l.jsx)(s.z,{onClick:j,isDisabled:!A,children:(0,l.jsx)(c.cC,{id:"4pSxwB"})})]}),S&&(0,l.jsxs)(d.b,{status:"error",children:[(0,l.jsx)(u.z,{}),S]})]})},A=async(e,t)=>{let n=(0,p.bh)().getState(),l=(0,g.KV)(n);if(!l){console.error("[uploadIframelyThumbnail] No orgId specified, bailing");return}let a={...e.thumbnail},o=a.src;if(o&&void 0!==a)try{await (0,k.WY)(o,l,{onUploadComplete:e=>(a&&(a.src=e.src,a.width=e.meta.width,a.height=e.meta.height,t({thumbnail:a})),Promise.resolve()),onOriginalFileUpload:e=>(a&&(a.src=e.src,a.width=e.meta.width,a.height=e.meta.height,t({thumbnail:a})),Promise.resolve()),onUploadFailed:e=>(console.error("[iframely] Thumbnail upload error: ",e),Promise.reject())},"iframelyThumbnail")}catch(e){console.error("[iframely] Thumbnail upload error: ",e)}}},26433:function(e,t,n){"use strict";n.d(t,{u:function(){return c}});var l=n(52322),a=n(47443),o=n(52929),i=n(17993),r=n(91710),s=n(2784),d=n(2090);n(65331),n(41779);var u=n(87254);let c=e=>{let{orgId:t,uploadType:n,editType:c,onUploadStart:m,onUploadSuccess:f,onUploadFailed:p,showTip:g=!0,dropHereText:h=u.ag._({id:"mgPDos",values:{0:"%{browse}"}}),customHeight:b,customFontSize:y,maxFilesAllowed:v=1,templateId:k,sx:x}=e,[w,S]=(0,s.useState)(""),C=(0,s.useMemo)(()=>d.ND.createUppyInstance(t,{onUploadStart:m,onOriginalFileUpload:f,onUploadComplete:function(){for(var e=arguments.length,t=Array(e),n=0;n{var t,n;let{currentAttributes:l,onDeleteImage:i,...r}=e,s=(0,D.p)(),d=(0,S.useCallback)(async e=>{try{let t=document.createElement("a");t.href=e,t.target="_blank",t.download="image.jpg",document.body.appendChild(t),t.click(),document.body.removeChild(t),s({title:(0,o.jsx)(w.cC,{id:"BZBUfX"}),status:"success",duration:3e3,isClosable:!0,position:"top"})}catch(e){console.error(e),s({title:(0,o.jsx)(w.cC,{id:"4+qb0c"}),description:(0,o.jsx)(w.cC,{id:"XLO6fp"}),status:"error",duration:5e3,isClosable:!0,position:"top"})}},[s]),{isOpen:u,onOpen:c,onClose:f}=(0,W.q)();return(0,o.jsxs)(U.h,{size:"sm",...r,children:[(0,o.jsx)(K.kH,{label:(0,o.jsx)(w.cC,{id:"niRN2H"}),placement:"top",children:(0,o.jsx)(H.h,{"aria-label":"download image",borderWidth:"1px",icon:(0,o.jsx)(x.G,{icon:k.fuY}),onClick:()=>d(null!==(t=l.src)&&void 0!==t?t:"")})}),(0,o.jsx)(K.kH,{label:(0,o.jsx)(w.cC,{id:"GpbSs9"}),placement:"top",children:(0,o.jsx)(H.h,{"aria-label":"zoom in",borderWidth:"1px",icon:(0,o.jsx)(x.G,{icon:k.q9v}),onClick:e=>{e.stopPropagation(),c()}})}),u&&(0,o.jsxs)(G.u_,{isOpen:u,size:"6xl",onClose:f,isCentered:!0,children:[(0,o.jsx)(q.Z,{bg:"blackAlpha.900"}),(0,o.jsxs)(V.h,{width:"fit-content",children:[(0,o.jsx)(m.xu,{position:"absolute",right:2,top:2,zIndex:"toast",contentEditable:!1,suppressContentEditableWarning:!0,children:(0,o.jsx)(H.h,{"aria-label":a.ag._({id:"8qZ5De"}),colorScheme:"gray",size:"md",onClick:f,onMouseDown:Y.br,icon:(0,o.jsx)(L.T,{})})}),(0,o.jsx)(_.E,{src:null!==(n=l.src)&&void 0!==n?n:"",objectFit:"contain",rounded:"lg",maxH:"90vh",maxW:"90vw"})]})]}),(0,o.jsx)(K.kH,{label:(0,o.jsx)(w.cC,{id:"GBe7fh"}),placement:"top",children:(0,o.jsx)(H.h,{"aria-label":"delete image",color:"red.500",borderWidth:"1px",icon:(0,o.jsx)(x.G,{icon:k.XAH}),onClick:e=>{var t;e.stopPropagation(),i(null!==(t=l.savedMediaId)&&void 0!==t?t:"")}})})]})},J=(0,S.memo)(e=>{let{image:t,isSelected:n,onImageClick:l,resizeThumbnail:a,isDeleting:i,onDeleteImage:r,h:s}=e,d=a?(0,N.SN)(t.attrs.src,N.Iv,t.attrs.meta):t.attrs.src,{ref:u,width:c}=(0,R.h)();return(0,o.jsx)(E.P,{children:(0,o.jsxs)(v.z,{borderRadius:"base",display:"block",variant:"ghost",opacity:1,width:"100%",ref:u,height:"100%",minHeight:"0",textAlign:"left",pos:"relative",overflow:"hidden",p:0,_hover:{shadow:"outline"},_active:{shadow:"outline"},transition:"box-shadow .2s ease",cursor:"pointer",onClick:()=>l(t),sx:{_focusVisible:{".attribution-container":{opacity:1}},_hover:{".attribution-container":{opacity:1}}},isDisabled:i,"data-testid":"image-search-grid-item",role:"group",children:[(0,o.jsx)(_.E,{w:"100%",h:s||"100%",src:d,borderRadius:"base",objectFit:"cover",fallback:(0,o.jsx)(O.O,{height:s,width:"100%",borderRadius:"base"})}),(0,o.jsx)(P.p,{in:n,children:(0,o.jsx)(m.xu,{pointerEvents:"none",color:"white",pos:"absolute",inset:0,bg:"rgba(0,0,0,.5)",borderRadius:"base",children:(0,o.jsx)(T.M,{h:"100%",w:"100%",children:(0,o.jsx)(x.G,{icon:k.LEp})})})}),!n&&c>=125&&(0,o.jsx)(m.xu,{position:"absolute",bottom:-2,left:"50%",transform:"translate(-50%, -50%)",display:"none",_groupHover:{display:"block"},children:(0,o.jsx)($,{currentAttributes:t.attrs,onDeleteImage:()=>r(t.id)})}),!t.attrs.src&&(0,o.jsx)(E.P,{width:"100%",children:(0,o.jsx)(O.O,{height:"80px",borderRadius:"base"})})]})},t.id)});J.displayName="AIImageHistoryItem";let X=e=>{let{onSelectImage:t,savedMediaId:n,imageResults:l,onDeleteImage:a,deletingId:i,canLoadMore:r,isLoadingMore:s,loadMore:d,resizeThumbnails:u}=e,c=l.map(e=>(0,o.jsx)(J,{image:e,isSelected:e.id===n,isDeleting:e.id===i,onDeleteImage:a,onImageClick:t,resizeThumbnail:u},e.id));return(0,o.jsxs)(B.k,{direction:"column",align:"stretch",children:[(0,o.jsx)(M.Z,{columnsCount:3,gutter:"0.5rem",children:c}),r&&(0,o.jsx)(v.z,{variant:"plain",onClick:d,mt:4,isLoading:s,children:(0,o.jsx)(w.cC,{id:"yQ2kGp"})})]})};var Z=n(35183),Q=n(10625),ee=n(67046),et=n(99058),en=n(44035),el=n(39237),ea=n(26773);let eo={square:k.pL1,portrait:k.j8N,landscape:k.r9b},ei=(0,S.memo)(e=>{let{value:t,setValue:n,isDisabled:l,model:a}=e,i=(0,ea.mw)(a),r=(null==i?void 0:i.aspectRatios)||{},s=r[t]||ea.vr;return(0,o.jsx)(Z.NI,{children:(0,o.jsxs)(Q.v,{children:[(0,o.jsx)(ee.j,{as:v.z,variant:"plain",isDisabled:l,w:"100%",textAlign:"left",justifyContent:"space-between",rightIcon:(0,o.jsx)(x.G,{icon:k.ptq}),boxShadow:"none",children:(0,o.jsxs)(u.U,{spacing:2,children:[(0,o.jsx)(B.k,{width:"24px",height:"24px",align:"center",justify:"center",children:(0,o.jsx)(x.G,{icon:eo[s.key],fixedWidth:!0})}),(0,o.jsx)(c.x,{as:"span",flex:1,children:s.name()})]})}),(0,o.jsx)(et.q,{minWidth:"240px",maxH:"290px",overflowY:"auto",overflowX:"hidden",children:(0,o.jsx)(en._,{value:t,type:"radio",onChange:e=>{n(e)},children:Object.values(r).map(e=>(0,o.jsx)(el.i,{value:e.key,children:(0,o.jsxs)(u.U,{spacing:2,children:[(0,o.jsx)(B.k,{width:"24px",height:"24px",align:"center",justify:"center",children:(0,o.jsx)(x.G,{icon:eo[e.key],fixedWidth:!0})}),(0,o.jsx)(c.x,{as:"span",flex:1,children:e.name()})]})},e.key))})})]})})});ei.displayName="AspectRatioSelect";var er=n(84636),es=n.n(er),ed=n(27191),eu=n(77787),ec=n(26654),em=n(19431),ef=n(7144),ep=n(21156),eg=n(76332);new ep.V({systemPromptOperation:eg.Run.GenerateImagePromptSystem,userPromptOperation:eg.Run.GenerateImagePromptUser,variables:["input","html"],params:{temperature:.7,maxTokens:50}});var eh=n(51715),eb=n(94090);let ey=(0,S.createContext)({});var ev=n(74684),ek=n(93982),ex=n(11093),ew=n(91073),eS=n(36651),eC=n(89458);let ez={Default:()=>a.ag._({id:"46F406"}),Realistic:()=>a.ag._({id:"uFPBcL"}),Artistic:()=>a.ag._({id:"tqhB0N"})},eA={None:"None",Anime:"Anime",Digital_Art_Concept_Art:"Digital_Art_Concept_Art",Ethereal_Fantasy_Art:"Ethereal_Fantasy_Art",Photography:"Photography",Analog_film:"Analog_film",Vaporwave:"Vaporwave",Isometric:"Isometric",Low_Poly:"Low_Poly",Claymation:"Claymation",Origami:"Origami",Line_Art:"Line_Art",Pixel_Art:"Pixel_Art",Texture:"Texture",Theme:"Theme",Custom:"Custom"},eI={square:1,landscape:4/3,portrait:3/4},ej=[{stylePreset:eA.None,name:()=>a.ag._({id:"iXzipJ"}),imageUrl:"https://cdn.gamma.app/ai-image-assets/default.jpg",icon:k.gPx,category:ez.Default,stylePrompt:""},{stylePreset:eA.Anime,name:()=>a.ag._({id:"RulMCV"}),imageUrl:"/_next/static/media/anime.c842eccd.jpg",category:ez.Artistic,stylePrompt:"anime artwork. anime style, key visual, vibrant, studio anime, highly detailed"},{stylePreset:eA.Digital_Art_Concept_Art,name:()=>a.ag._({id:"PADW9l"}),imageUrl:"/_next/static/media/digital-art.728c3ff0.jpg",category:ez.Artistic,stylePrompt:"concept art. digital artwork, illustrative, painterly, matte painting, highly detailed"},{stylePreset:eA.Ethereal_Fantasy_Art,name:()=>a.ag._({id:"C1chBY"}),imageUrl:"/_next/static/media/fantasy.86ede605.jpg",category:ez.Artistic,stylePrompt:"ethereal fantasy concept art of. magnificent, celestial, ethereal, painterly, epic, majestic, magical, fantasy art, cover art, dreamy"},{stylePreset:eA.Photography,name:()=>a.ag._({id:"j1ao1Y"}),imageUrl:"/_next/static/media/photography.bce47d9c.jpg",category:ez.Realistic,stylePrompt:"cinematic photo. 35mm photograph, film, bokeh, professional, 4k, highly detailed"},{stylePreset:eA.Analog_film,name:()=>a.ag._({id:"bK8OnA"}),imageUrl:"/_next/static/media/analog-film.105509c1.jpg",category:ez.Realistic,stylePrompt:"analog film photo. faded film, desaturated, 35mm photo, grainy, vignette, vintage, Kodachrome, Lomography, stained, highly detailed, found footage"},{stylePreset:eA.Vaporwave,name:()=>a.ag._({id:"rPpJGr"}),imageUrl:"/_next/static/media/vaporwave.f8a9afd0.jpg",category:ez.Artistic,stylePrompt:"vaporwave synthwave style. cyberpunk, neon, vibes, stunningly beautiful, crisp, detailed, sleek, ultramodern, high contrast, cinematic composition"},{stylePreset:eA.Isometric,name:()=>a.ag._({id:"rHgk/g"}),imageUrl:"/_next/static/media/isometric.86adffe4.jpg",category:ez.Artistic,stylePrompt:"isometric style. vibrant, beautiful, crisp, detailed, ultra detailed, intricate"},{stylePreset:eA.Low_Poly,name:()=>a.ag._({id:"X3ZAzR"}),imageUrl:"/_next/static/media/low-poly.e2805ce4.jpg",category:ez.Artistic,stylePrompt:"low-poly style. ambient occlusion, low-poly game art, polygon mesh, jagged, blocky, wireframe edges, centered composition"},{stylePreset:eA.Claymation,name:()=>a.ag._({id:"Q61KDs"}),imageUrl:"/_next/static/media/claymation.92bfacf1.jpg",category:ez.Artistic,stylePrompt:"claymation style. sculpture, clay art, centered composition, play-doh"},{stylePreset:eA.Origami,name:()=>a.ag._({id:"MHkaLx"}),imageUrl:"/_next/static/media/origami.2586b331.jpg",category:ez.Artistic,stylePrompt:"origami style. paper art, pleated paper, folded, origami art, pleats, cut and fold, centered composition"},{stylePreset:eA.Line_Art,name:()=>a.ag._({id:"i6SPYf"}),imageUrl:"/_next/static/media/line-art.bd2852c5.jpg",category:ez.Artistic,stylePrompt:"line art drawing. professional, sleek, modern, minimalist, graphic, line art, vector graphics"},{stylePreset:eA.Pixel_Art,name:()=>a.ag._({id:"3a27VZ"}),imageUrl:"/_next/static/media/pixel-art.ca70c7b3.jpg",category:ez.Artistic,stylePrompt:"pixel-art. low-res, blocky, pixel art style, 16-bit graphics"},{stylePreset:eA.Texture,name:()=>a.ag._({id:"MCId55"}),imageUrl:"/_next/static/media/texture.6214fde9.jpg",category:ez.Artistic,stylePrompt:"texture. top down close-up, video game"},{stylePreset:eA.Theme,name:()=>a.ag._({id:"c8dzFk"}),imageUrl:"",icon:k.q2v,category:ez.Default,stylePrompt:""},{stylePreset:eA.Custom,name:()=>a.ag._({id:"zkWoIW"}),imageUrl:"",icon:k.TzT,category:ez.Default,stylePrompt:""}],eF=e=>{let{docId:t,themeId:n}=e,[l,a]=(0,S.useState)([]),[o,i]=(0,S.useState)(!1),{data:r,loading:s,fetchMore:d}=(0,em.qOp)({variables:{docId:t,themeId:n,source:"image.ai-generated",type:em.DDH.Image,first:18}}),[u,c]=(0,S.useState)(null),[m]=(0,em.BAq)(),f=(0,S.useCallback)(async e=>{a(t=>t.filter(t=>t.id!==e)),c(e);try{await m({variables:{id:e},update:t=>{let n=RegExp(e,"g");Object.keys(t.data.data).forEach(e=>{e.match(n)&&t.data.delete(e)})},refetchQueries:["GetSavedMedia"]})}catch(e){console.error(e)}c(null)},[m]),p=(0,S.useMemo)(()=>(null==r?void 0:r.savedMedia.edges.map(e=>e.node))||[],[null==r?void 0:r.savedMedia.edges]),g=(0,S.useCallback)(e=>{a(t=>[...e,...t])},[]),h=(0,S.useMemo)(()=>es()([...l,...p],"id"),[l,p]),b=null==r?void 0:r.savedMedia.pageInfo,y=(0,S.useCallback)(()=>{(null==b?void 0:b.hasNextPage)&&(null==b?void 0:b.endCursor)&&(i(!0),d({variables:{after:null==b?void 0:b.endCursor}}).finally(()=>{i(!1)}))},[d,b]);return{history:h,loadMore:y,canFetchMore:!!(null==b?void 0:b.hasNextPage),isLoadingHistory:s,isFetchingMore:o,addToHistory:g,deleteImage:f,deletingId:u}},eB=e=>{var t,n;let l,{selectImage:o}=e,i=(0,eb.CG)(ek.ke),r=function(){let e=(0,S.useContext)(ey);return{...e}}(),s=null==r?void 0:null===(n=r.state)||void 0===n?void 0:null===(t=n.theme)||void 0===t?void 0:t.id;"new"===s&&(s=void 0,l=em.wNJ.Theme);let{currentWorkspace:d}=(0,eS.SE)(),[u,c]=(0,S.useState)(""),[m,f]=(0,S.useState)(!1),[p,g]=(0,S.useState)(!1),[h,b]=(0,S.useState)(""),{history:y,isLoadingHistory:v,addToHistory:k,loadMore:x,canFetchMore:w,isFetchingMore:C,deleteImage:A,deletingId:I}=eF(s?{themeId:s}:i?{docId:i}:{}),j=(0,S.useCallback)(async e=>{let t=(0,z.nZ)();c(e.prompt),f(!0),g(!1),b("");let n={...e,stylePreset:e.stylePreset||"Theme",stylePrompt:e.stylePrompt||"",docId:e.docId||i,themeId:e.themeId||s,context:l},r=(0,ea.mw)(e.model),u=performance.now(),m={interactionId:t,interface:"generate-image",provider:null==r?void 0:r.provider,streaming:!1,inputContent:n.prompt,docId:n.docId,generateImageOptions:n};try{(0,z.hq)(m);let e=await (0,ea.Qz)({interactionId:t,workspaceId:null==d?void 0:d.id,rewrite:F.VH.get("rewriteImagePrompts"),...n});if(f(!1),0===e.length)throw Error("No images generated");e.length>0&&(k(e),o(e[0])),(0,ef.d)("generateImage",void 0,t),(0,z.o)({...m,latency:performance.now()-u,generateImageUrls:e.map(e=>e.attrs.src)})}catch(e){g(!0),b(e.messageTranslated?e.messageTranslated:a.ag._({id:"QcZqsh"})),f(!1),console.error("(caught) [AIGenerateImage] error:",e),(0,z.pQ)({...m,latency:performance.now()-u,errorName:"GenerateImageError",errorMessage:e.message,outputMessage:""})}f(!1)},[i,s,l,null==d?void 0:d.id,k,o]);return{generate:j,isGenerating:m,hasError:p,errorMessage:h,isLoadingHistory:v,imageResults:y,searchQuery:u,loadMore:x,canLoadMore:w,isLoadingMore:C,deleteImage:A,deletingId:I}},eM=e=>{var t,n;if(!(e instanceof ed.qv))return null;if("smartLayoutCell"===e.node.type.name&&(null===(t=e.node.textContent)||void 0===t?void 0:t.length)>=5)return e.node.content;let l=e.$from;for(;l.depth>0;){let e=l.node(l.depth);if("smartLayoutCell"===e.type.name&&(null===(n=e.textContent)||void 0===n?void 0:n.length)>=5)return e.content;l=l.doc.resolve(l.before(l.depth))}return null},eE=e=>{let t=(0,S.useCallback)(()=>{if(!e)return null;let{selection:t}=e.state,n=(0,ex.Ru)(t.$from,ew.KH)[0],l=n&&(0,ev.NE)(n.node,n.pos),{content:a}=e.state.doc.slice(l.pos+1,l.pos+l.node.nodeSize-1),o=eM(t);return o?(0,eu.c)(e,o):(0,eu.c)(e,a)},[e]);return t},e_=e=>{let{editor:t,prompt:n,stylePrompt:l,addPrompt:a}=e,o=(0,eb.CG)(ek.Wl),[i,r]=(0,S.useState)(!1),s=eE(t),d=(0,S.useCallback)(()=>{r(!0),a("","push")},[a]),u=(0,S.useCallback)(e=>{a(e,"update")},[a]),c=(0,S.useCallback)(()=>{r(!1)},[]),m=(0,S.useCallback)(e=>{console.error("Error enhancing image",e),r(!1)},[]),{generate:f}=(0,ec.jz)("EnhanceAIImage",{onStart:d,onContent:u,onComplete:c,onError:m,timeout:3e4}),p=(0,S.useCallback)(()=>{if(!i&&(null==o?void 0:o.id))return f({variables:{currentPrompt:n,stylePrompt:l,cardHtml:s()||void 0},workspaceId:o.id}).promise},[i,n,l,f,s,null==o?void 0:o.id]);return{isEnhancing:i,setIsEnhancing:r,runEnhanceImagePrompt:p}},eO=e=>e.ind===e.history.length-1,eP=e=>e.history[e.history.length-1],eT={load:(e,t)=>({history:[t],ind:0}),push(e,t){return""===eP(e).trim()?this.replace(e,t):{history:[...e.history,t],ind:e.history.length}},replace(e,t){let n=e.history.slice(0,-1);return{history:[...n,t],ind:n.length}},select(e,t){return eO(e)&&eP(e)===t?e:this.push(e,t)}},eR=()=>{let e=(0,S.useRef)(!1),[t,n]=(0,S.useState)({history:[""],ind:0}),l=(0,S.useCallback)((t,l)=>{"load"===l&&n(e=>eT.load(e,t)),"push"===l&&n(e=>eT.push(e,t)),"update"===l&&(e.current?n(e=>eT.push(e,t)):n(e=>eT.replace(e,t))),"select"===l&&n(e=>eT.select(e,t)),e.current="update"!==l},[]),a=(0,S.useCallback)(()=>{let{ind:e}=t;e<=0||n(e=>({...e,ind:e.ind-1}))},[t]),o=(0,S.useCallback)(()=>{let{history:e,ind:l}=t;l>=e.length-1||n(e=>({...e,ind:e.ind+1}))},[t]),{ind:i,history:r}=t;return{prompt:r[i]||"",addPrompt:l,promptPageInfo:{curr:i+1,total:r.length,canGoNext:i0},nextPrompt:o,prevPrompt:a}},eN=()=>{let[e,t]=(0,eC.I)("aiImageRatings",{}),n=(0,S.useCallback)((n,l)=>{n.savedMediaId&&(e[n.savedMediaId]=l,t(e))},[]),l=(0,S.useCallback)(t=>!t.savedMediaId||!!e[t.savedMediaId],[]);return{saveImageRating:n,hasRatedImage:l}},eL=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],[n,l]=(0,S.useState)(void 0);(0,S.useEffect)(()=>{var n,a;if(!t)return;let o=null==e?void 0:null===(a=e.getAttributes("document"))||void 0===a?void 0:null===(n=a.aiOptions)||void 0===n?void 0:n.imageOptions;l(o)},[e,t]);let a=(0,S.useCallback)(n=>{t&&(null==e||e.commands.updateNestedAttributesAtPos(0,{aiOptions:{imageOptions:{model:n.model,generateStyle:n.stylePrompt,height:n.height,width:n.width}}}),l(n))},[e,t]);return{lastUsedAiImageStyles:n||{},setLastUsedAiImageStyles:a}},eD=(e,t)=>{let{data:n,loading:l}=(0,em.qOp)({variables:{interactionId:e,source:"image.ai-generated",type:em.DDH.Image,first:3}}),a=(0,S.useMemo)(()=>(null==n?void 0:n.savedMedia.edges.map(e=>e.node).filter(e=>e.attrs.query===t))||[],[null==n?void 0:n.savedMedia.edges,t]);return{savedMedia:a,isLoading:l}},eW=()=>{let e=(0,eb.CG)(ek.yx),t=(0,eh.Y)("ai_premium_models",null==e?void 0:e.organization),n=(0,S.useCallback)(e=>(0,ea.Hr)(e)&&(t||!(0,ea.Om)(e)),[t]);return n},eU=e=>{var t,n;let[l,a]=(0,S.useState)(eA.None),[o,i]=(0,S.useState)(""),r=(0,eb.CG)(ek.yx),s=!!r,d=[];for(let e of Object.values(ez))d.push({title:e,presets:ej.filter(t=>t.category===e&&!t.hidden&&(s||t.stylePreset!==eA.Custom))});let u=(0,eb.CG)(ek.Pu),c=e||u,m=(null==c?void 0:null===(t=c.config)||void 0===t?void 0:t.stylePrompt)?eA.Theme:eA.None,f=(null==c?void 0:null===(n=c.config)||void 0===n?void 0:n.stylePrompt)||"";return(0,S.useEffect)(()=>{var e,t;c&&(null===(e=c.config)||void 0===e?void 0:e.stylePrompt)&&(null===(t=c.config)||void 0===t?void 0:t.stylePrompt)!==o&&(a(eA.Theme),i(c.config.stylePrompt))},[]),{stylePresetOptions:d,stylePreset:l,setStylePreset:a,stylePrompt:o,setStylePrompt:i,defaultStylePreset:m,defaultStylePrompt:f}},eH=(e,t)=>{let n=(0,S.useRef)(null);return(0,S.useEffect)(()=>{if(!t)return;let l=n.current;if(!l)return;let a=l.querySelector('[data-popover-scroll-id="'.concat(e,'"]'));if(!(a instanceof HTMLElement))return;let o=a.offsetHeight/2,i=l.offsetHeight/2,r=a.offsetTop-i+o;l.scrollTo({top:r,behavior:"instant"})},[t,e]),{scrollContainerRef:n}};var eG=n(27875),eq=n.n(eG),eV=n(43679),eK=n(34071),eY=n(39429),e$=n(48394),eJ=n(20437),eX=n(29494),eZ=n(14324),eQ=n(67613),e0=n(944);let e1=(e,t)=>{let n=t[0].presets[0];for(let l of t){let t=l.presets.find(t=>t.stylePreset===e);if(t){n=t;break}}return n},e2=(0,S.memo)(e=>{var t,n,l;let{stylePreset:a,setStylePreset:r,stylePrompt:s,setStylePrompt:d,presetOptions:c,isDisabled:f,editor:p,contextualTheme:g}=e,{isOpen:b,onToggle:y,onClose:w}=(0,W.q)(),[C,z]=(0,S.useState)(!1),A=(0,S.useRef)(null),I=(0,eb.CG)(ek.Pu),j=g||I,F=null===(n=null==p?void 0:p.getAttributes("document"))||void 0===n?void 0:null===(t=n.aiOptions)||void 0===t?void 0:t.imageOptions;(0,eZ.a)();let M=(0,eb.CG)(eQ.ez),E=null==j?void 0:null===(l=j.config)||void 0===l?void 0:l.stylePrompt,O=(0,S.useMemo)(()=>a?"Custom"===a?(null==F?void 0:F.generateStyle)||"":"Theme"===a?E||"":e1(a,c).stylePrompt||"":"",[E,null==F?void 0:F.generateStyle,c,a]),P=(0,S.useMemo)(()=>{var e;return"Custom"===a||null!==(e=A.current)&&void 0!==e&&!!e.value&&A.current.value!==O},[O,a,A]),T=(0,S.useCallback)(()=>{A.current&&(null==p?void 0:p.commands)&&(d(A.current.value),r(eA.Custom),null==p||p.commands.updateNestedAttributesAtPos(0,{aiOptions:{imageOptions:{...F,generateStyle:A.current.value}}}))},[F,null==p?void 0:p.commands,r,d]),R=(0,S.useCallback)(e=>{r(e),z(!0),w()},[w,r]),N=(0,S.useCallback)(()=>{"Custom"!==a&&P&&r("Custom")},[P,r,a]);(0,S.useEffect)(()=>{C&&(d(O),z(!1))},[O,P,r,d,C,a]),(0,e0.vm)(()=>{d(O)},[O,d],[]);let L=(0,S.useMemo)(()=>e1(a,c),[a,c]),D=(0,S.useMemo)(()=>{if(a===eA.Theme){let e=M.find(e=>e.config.stylePrompt===s);return null==e?void 0:e.name}},[M,a,s]),{scrollContainerRef:U}=eH(a||"",b),H=(0,S.useMemo)(()=>a===eA.Custom||""!==s,[a,s]),G=!p;return(0,o.jsx)(Z.NI,{children:(0,o.jsxs)(B.k,{direction:"column",gap:2,children:[(0,o.jsxs)(eV.J,{placement:"bottom-start",matchWidth:!0,isOpen:b,onClose:w,closeOnBlur:!0,children:[(0,o.jsx)(eK.x,{children:(0,o.jsx)(v.z,{width:"100%",type:"button",boxShadow:"none",onClick:y,rightIcon:(0,o.jsx)(x.G,{icon:k.ptq}),isDisabled:f,justifyContent:"space-between",children:(0,o.jsxs)(u.U,{spacing:2,children:[(null==L?void 0:L.icon)?(0,o.jsx)(x.G,{icon:L.icon}):(0,o.jsx)(_.E,{width:"24px",height:"24px",src:null==L?void 0:L.imageUrl,borderRadius:"md"}),(0,o.jsx)(m.xu,{flex:1,children:"".concat(null==L?void 0:L.name()).concat(D?" (".concat(D,")"):"")})]})})}),(0,o.jsx)(eY.y,{width:"auto",maxHeight:"max(350px, 40vh)",overflowY:"auto",ref:U,children:(0,o.jsx)(e$.b,{children:(0,o.jsx)(i.g,{spacing:4,children:c.map(e=>(0,o.jsxs)(i.g,{alignItems:"start",width:"100%",spacing:0,children:[(0,o.jsx)(h.X,{size:"sm",mb:2,children:e.title()}),(0,o.jsx)(eJ.M,{columns:{base:3,"2xl":4},spacing:2,children:e.presets.filter(e=>!("Theme"===e.stylePreset&&!E)).map(e=>(0,o.jsx)(m.xu,{"data-popover-scroll-id":e.stylePreset,children:(0,o.jsx)(e4,{preset:e,onClick:()=>R(e.stylePreset),isSelected:e.stylePreset===a},e.stylePreset)},e.stylePreset))})]},e.title()))})})})]}),H&&!G&&(0,o.jsx)(eX.g,{isDisabled:f,ref:A,height:"80px",value:s,onKeyDown:N,onChange:T})]})})});e2.displayName="StylePresetMenu";let e4=e=>{let{preset:t,onClick:n,isSelected:l}=e;return(0,o.jsxs)(i.g,{_hover:{cursor:l?"default":"pointer",borderColor:l?"trueblue.200":"gray.200",backgroundColor:l?"trueblue.50":"gray.50"},onClick:n,borderRadius:"md",spacing:1,p:2,border:"1px",width:"100%",color:l?"trueblue.500":"gray.900",bgColor:l?"trueblue.50":"transparent",borderColor:l?"trueblue.200":"transparent",children:[t.icon?(0,o.jsx)(m.xu,{width:{base:"120px","2xl":"123.5px"},height:"35px",display:"flex",justifyContent:"center",alignItems:"center",children:(0,o.jsx)(m.xu,{width:"100%",height:"100%",bgColor:"transparent",rounded:"md",display:"flex",alignItems:"center",justifyContent:"center",children:(0,o.jsx)(x.G,{icon:t.icon})})}):(0,o.jsx)(_.E,{src:t.imageUrl,width:"100%",height:"auto",borderRadius:"md"}),(0,o.jsx)(c.x,{color:l?"trueblue.500":"gray.900",fontSize:"sm",children:t.name()})]})},e5=e=>{let t=(0,F.ye)("aiGeneratedImagesDefaultModel"),[n,l]=(0,S.useState)(t),[a,o]=(0,S.useState)(30),[i,r]=(0,S.useState)(3),[s,d]=(0,S.useState)((0,F.ye)("aiGeneratedImagesCount")),{prompt:u,addPrompt:c,promptPageInfo:m,nextPrompt:f,prevPrompt:p}=eR(),[g,h]=(0,S.useState)(""),[b,y]=(0,S.useState)("square"),{stylePresetOptions:v,stylePrompt:k,setStylePrompt:x,stylePreset:w,setStylePreset:C,defaultStylePreset:z,defaultStylePrompt:A}=eU(e),I=(0,ea.mw)(n),j=(null==I?void 0:I.aspectRatios[b])||ea.vr,B=(0,S.useMemo)(()=>({prompt:u,model:n,stylePreset:w,stylePrompt:k,height:j.height,width:j.width,steps:eq()(a,1,100),count:eq()(s,1,8),negative_prompt:g,cfg_scale:eq()(i,1,200)}),[u,n,w,k,j.height,j.width,a,s,g,i]),M=eW();(0,S.useEffect)(()=>{M(n)||l(t)},[n,t,l,M]);let E=(e,t)=>e&&t?e>t?"portrait":e{if(!e)return;let{prompt:n,height:a,width:i,stylePreset:s,stylePrompt:d,cfg_scale:u,negative_prompt:m,steps:f,model:p}=e;a&&i&&y(E(a,i)),n&&c(n,t),d&&x(d),s&&C(e1(s,v).stylePreset),u&&r(u),m&&h(m),f&&o(f),p&&M(p)&&l(p)},[c,C,x,v,M]),O=(0,S.useCallback)(e=>{var n,a,i,s,d,u,m,f;let{aiParams:p}=e,g=null!==(n=E(null==p?void 0:p.height,null==p?void 0:p.width))&&void 0!==n?n:ea.vr.key;y(g),l(null!==(a=null==p?void 0:p.model)&&void 0!==a?a:t),x(null!==(i=null==p?void 0:p.stylePrompt)&&void 0!==i?i:A),C(null!==(s=null==p?void 0:p.stylePreset)&&void 0!==s?s:z),c(null!==(d=null==p?void 0:p.prompt)&&void 0!==d?d:"","load"),h(null!==(u=null==p?void 0:p.negative_prompt)&&void 0!==u?u:""),o(null!==(m=null==p?void 0:p.steps)&&void 0!==m?m:30),r(null!==(f=null==p?void 0:p.cfg_scale)&&void 0!==f?f:3)},[c,t,z,A,C,x]),P=(0,S.useMemo)(()=>e=>{if(!e||!e.aiParams)return!1;let t=E(e.aiParams.height,e.aiParams.width);return u!==e.aiParams.prompt||n!==e.aiParams.model||b!==t||w!==e.aiParams.stylePreset},[b,n,u,w]);return{model:n,setModel:l,prompt:u,addPrompt:c,promptPageInfo:m,nextPrompt:f,prevPrompt:p,stylePrompt:k,setStylePrompt:x,stylePreset:w,setStylePreset:C,stylePresetOptions:v,aspectRatio:b,setAspectRatio:y,imageGenerateConfig:B,count:s,setCount:d,loadImageAiParams:_,resetImageAiParams:O,isPromptDirty:P,negativePrompt:g,setNegativePrompt:h,steps:a,setSteps:o,cfgScale:i,setCfgScale:r}},e3=e=>{let{promptPageInfo:t,nextPrompt:n,prevPrompt:l,isDisabled:a,...i}=e;return(0,o.jsxs)(u.U,{spacing:1,...i,children:[(0,o.jsx)(H.h,{variant:"ghost",icon:(0,o.jsx)(x.G,{icon:k.A35}),isDisabled:a||!t.canGoPrev,onClick:()=>l(),"aria-label":"left",color:"gray.800",size:"xs"}),(0,o.jsxs)(m.xu,{as:"span",color:"gray.800",fontSize:"sm",children:[t.curr," / ",t.total]}),(0,o.jsx)(H.h,{variant:"ghost",icon:(0,o.jsx)(x.G,{icon:k._tD}),color:"gray.800",isDisabled:a||!t.canGoNext,onClick:()=>n(),"aria-label":"left",size:"xs"})]})};var e9=n(25566),e8=n(31866),e7=n(63176);let e6=e=>{let{enabled:t,isGenerating:n,negativePrompt:l,setNegativePrompt:a,count:r,setCount:s,steps:d,setSteps:c,cfgScale:m,setCfgScale:f,model:p}=e,{usesNegativePrompt:g,usesSteps:b,usesCFG:y}={usesNegativePrompt:"stable-diffusion-xl-v1-0"===p||p.startsWith("imagen"),usesSteps:"stable-diffusion-xl-v1-0"===p,usesCFG:"stable-diffusion-xl-v1-0"===p||p.startsWith("imagen")};return(0,o.jsxs)(i.g,{align:"stretch",spacing:3,children:[g&&(0,o.jsxs)(i.g,{align:"stretch",spacing:2,children:[(0,o.jsx)(h.X,{size:"sm",children:(0,o.jsx)(w.cC,{id:"cwxGog"})}),(0,o.jsx)(eX.g,{isDisabled:!t||n,value:l,onChange:e=>{a(e.target.value)},rows:3})]}),(0,o.jsxs)(eJ.M,{columns:2,gap:2,children:[(0,o.jsxs)(u.U,{children:[(0,o.jsx)(K.kH,{placement:"top",label:(0,o.jsx)(w.cC,{id:"pKdwsO",values:{MAX_COUNT:8,DEFAULT_COUNT:1}}),children:(0,o.jsx)(h.X,{size:"sm",children:(0,o.jsx)(w.cC,{id:"wBMjJ2"})})}),(0,o.jsx)(e7.Y2,{defaultValue:r,value:r||"",min:1,max:8,isDisabled:!t||n,onChange:(e,t)=>{s(t)},children:(0,o.jsx)(e7.zu,{paddingInline:2})})]}),b&&(0,o.jsxs)(u.U,{children:[(0,o.jsx)(K.kH,{placement:"top",label:(0,o.jsx)(w.cC,{id:"5H4Pmz",values:{MAX_STEPS:100,DEFAULT_STEPS:30}}),children:(0,o.jsx)(h.X,{size:"sm",children:(0,o.jsx)(w.cC,{id:"A9onc2"})})}),(0,o.jsx)(e7.Y2,{defaultValue:d,value:d||"",min:1,max:100,isDisabled:!t||n,onChange:(e,t)=>{c(t)},children:(0,o.jsx)(e7.zu,{paddingInline:2})})]}),y&&(0,o.jsxs)(u.U,{children:[(0,o.jsx)(K.kH,{placement:"top",label:(0,o.jsx)(w.cC,{id:"Hcpaw+",values:{MAX_CFG_SCALE:200,DEFAULT_CFG_SCALE:3}}),children:(0,o.jsx)(h.X,{size:"sm",children:(0,o.jsx)(w.cC,{id:"hsYa9i"})})}),(0,o.jsx)(e7.Y2,{defaultValue:m,value:m||"",min:1,max:200,isDisabled:!t||n,onChange:(e,t)=>{f(t)},children:(0,o.jsx)(e7.zu,{paddingInline:2})})]})]})]})},te=()=>{let e=document.createElement("div");e.style.visibility="hidden",e.style.overflow="scroll",e.style.msOverflowStyle="scrollbar",document.body.appendChild(e);let t=document.createElement("div");e.appendChild(t);let n=e.offsetWidth-t.offsetWidth;return e.parentNode.removeChild(e),n};var tt=n(43297);let tn=(0,S.memo)(e=>{var t;let{attrs:n,onRateImage:l}=e,r=null===(t=n.aiParams)||void 0===t?void 0:t.interactionId,[s,d]=(0,S.useState)(null),[u,m]=(0,S.useState)(""),[f,p]=(0,S.useState)("rate");(0,S.useEffect)(()=>{n.savedMediaId&&(p("rate"),m(""),d(null))},[n.savedMediaId]);let g=(0,S.useCallback)(e=>{d(e),p("feedback"),l(e)},[l]),h=(0,S.useCallback)(()=>{p("thanks"),setTimeout(()=>{p("hide"),m(""),d(null)},3e3)},[]),b=(0,S.useCallback)(()=>{h()},[h]),y=(0,S.useCallback)(()=>{var e;(null===(e=n.aiParams)||void 0===e?void 0:e.interactionId)&&((0,z.Lt)({feedback:u,aiParams:n.aiParams,imageUrl:n.src,interactionId:n.aiParams.interactionId}),h())},[n,u,h]);return r&&"hide"!==f?"thanks"===f?(0,o.jsx)(B.k,{position:"absolute",zIndex:1,bottom:1,p:2,right:1,bg:"white",borderRadius:"md",borderWidth:"1px",borderColor:"gray.200",shadow:"xl",children:(0,o.jsx)(c.x,{fontSize:"xs",children:(0,o.jsx)(w.cC,{id:"yOrM5+"})})}):(0,o.jsxs)(i.g,{position:"absolute",bottom:2,zIndex:"sticky",right:2,align:"flex-end",spacing:1,children:["feedback"===f&&(0,o.jsx)(B.k,{p:2,bg:"white",borderRadius:"md",borderWidth:"1px",borderColor:"gray.200",shadow:"xl",children:(0,o.jsxs)(tt.K,{alignItems:"flex-end",children:[(0,o.jsx)(eX.g,{value:u,onChange:e=>m(e.target.value),fontSize:"xs",placeholder:a.ag._({id:"eYeGuP"}),p:1,px:2,borderRadius:"0"}),(0,o.jsxs)(U.h,{size:"xs",children:[(0,o.jsx)(v.z,{variant:"ghost",onClick:b,children:(0,o.jsx)(w.cC,{id:"6Uau97"})}),(0,o.jsx)(v.z,{variant:"solid",onClick:y,children:(0,o.jsx)(w.cC,{id:"1m41/U"})})]})]})}),(0,o.jsxs)(U.h,{size:"sm",children:[(0,o.jsx)(K.kH,{label:(0,o.jsx)(w.cC,{id:"kR82DG"}),placement:"top",children:(0,o.jsx)(H.h,{"aria-label":"thumbs down",color:"poor"===s?"red.600":void 0,borderWidth:"1px",borderColor:"poor"===s?"red.600":"transparent",bg:"poor"===s?"red.100":void 0,_hover:{bg:"poor"===s?"red.200":"red.100"},icon:(0,o.jsx)(x.G,{icon:k.bam}),onClick:()=>{g("poor")}})}),(0,o.jsx)(K.kH,{label:(0,o.jsx)(w.cC,{id:"y1GvbS"}),placement:"top",children:(0,o.jsx)(H.h,{"aria-label":"thumbs up",color:"good"===s?"green.600":void 0,borderWidth:"1px",borderColor:"good"===s?"green.600":"transparent",bg:"good"===s?"green.100":void 0,_hover:{bg:"good"===s?"green.200":"green.100"},icon:(0,o.jsx)(x.G,{icon:k.u8Q}),onClick:()=>{g("good")}})})]})]}):null});tn.displayName="AIImageRating";let tl=e=>{let{imagesMatchingInteractionId:t,currentAttributes:n,isGenerating:l,selectedSavedMediaId:a,deletingId:i,hasRatedImage:r,deleteImage:s,selectImage:d,onRateImage:u}=e,[c,m]=(0,S.useState)({wA:0,hA:0,wBCD:0,hBCD:0}),f=(0,S.useMemo)(()=>te(),[]),{ref:p,width:g}=(0,R.h)(),h=t.length<=1||to([...t.map(e=>e.attrs),n]),b=h?0:100/3;(0,e0.vm)(()=>{var e,l,a,o;if((null==n?void 0:null===(e=n.meta)||void 0===e?void 0:e.width)&&(null==n?void 0:null===(l=n.meta)||void 0===l?void 0:l.height)){let e=ta({vpWidth:g||624,gap:8,ratioW:(null==n?void 0:null===(a=n.meta)||void 0===a?void 0:a.width)||1024,ratioH:(null==n?void 0:null===(o=n.meta)||void 0===o?void 0:o.height)||1024,thumbCount:t.length});(Math.abs(e.wA-c.wA)>=f||Math.abs(e.hA-c.hA)>=f||Math.abs(e.wBCD-c.wBCD)>=f||Math.abs(e.hBCD-c.hBCD)>=f)&&m(e)}},[n,t,g,c,f],[n,t,g]);let y=t.map(e=>(0,o.jsx)(o.Fragment,{children:l?(0,o.jsx)(O.O,{w:"".concat(b,"%"),h:c.hBCD}):(0,o.jsx)(J,{image:e,isSelected:e.id===a,isDeleting:e.id===i,onDeleteImage:s,onImageClick:d,resizeThumbnail:!0,h:"".concat(c.hBCD,"px")},e.id)}));return(0,o.jsxs)(B.k,{dir:"row",w:"100%",ref:p,overflow:"hidden",alignItems:"center",justifyContent:"center",gap:"".concat(8,"px"),children:[(0,o.jsxs)(B.k,{justifyContent:"center",position:"relative",overflow:"hidden",h:c.hA,w:"".concat(100-b,"%"),children:[l?(0,o.jsx)(O.O,{w:"100%",h:c.hA}):(0,o.jsx)(_.E,{h:"100%",w:"100%",objectFit:"cover",src:n.src||void 0,fallbackSrc:n.tempUrl||void 0,alt:"",borderRadius:"md"}),!l&&(0,o.jsx)($,{currentAttributes:n,onDeleteImage:s,position:"absolute",bottom:2,zIndex:"sticky",left:2}),!r(n)&&!l&&(0,o.jsx)(tn,{attrs:n,onRateImage:u})]}),!h&&(0,o.jsx)(B.k,{alignItems:"center",justifyContent:"center",direction:"column",overflow:"hidden",gap:"".concat(8,"px"),h:c.hA,borderRadius:"base",children:y})]})},ta=e=>{let{vpWidth:t,gap:n,ratioW:l,ratioH:a,thumbCount:o}=e,i=l/a,r=i>eI.square?eI.landscape:i{var t,n;let l=new Set(e.map(e=>{var l,a;return(null!==(t=null==e?void 0:null===(l=e.meta)||void 0===l?void 0:l.width)&&void 0!==t?t:1)/(null!==(n=null==e?void 0:null===(a=e.meta)||void 0===a?void 0:a.height)&&void 0!==n?n:1)}));return l.size>1};var ti=n(81540),tr=n(94199);let ts=e=>{let{isEnhancingPrompt:t,isGenerating:n,runEnhancePrompt:l}=e;return(0,o.jsx)(u.U,{position:"absolute",bottom:2,right:2,children:(0,o.jsx)(K.kH,{placement:"top",label:(0,o.jsx)(w.cC,{id:"LwcIt2",values:{GAMMA_PROPER_NOUN:tr.N6}}),children:(0,o.jsx)(v.z,{variant:"ghost",rightIcon:(0,o.jsx)(x.G,{icon:k.qHV}),isLoading:t,isDisabled:n,"aria-label":a.ag._({id:"eoAiXB"}),onClick:l,zIndex:"sticky",size:"sm",loadingText:a.ag._({id:"6xU0OU"}),spinner:(0,o.jsx)(ti.$,{size:"sm",right:2,alignSelf:"flex-end"}),spinnerPlacement:"end",children:(0,o.jsx)(w.cC,{id:"Uehxdq"})})})})};var td=n(332),tu=n(25481),tc=n(62131),tm=n(2953),tf=n(11050);let tp=e=>{let{value:t,setValue:n,isDisabled:l}=e,a=(0,ea.mw)(t),i=(0,eb.CG)(ek.yx),r=(0,eh.Y)("ai_premium_models",null==i?void 0:i.organization),{openUpsellModal:s}=(0,tm.z)();return(0,o.jsx)(Z.NI,{children:(0,o.jsxs)(Q.v,{children:[(0,o.jsx)(ee.j,{as:v.z,variant:"plain",isDisabled:l,w:"100%",textAlign:"left",justifyContent:"space-between",rightIcon:(0,o.jsx)(x.G,{icon:k.ptq}),boxShadow:"none",children:(0,o.jsxs)(u.U,{spacing:2,children:[(0,o.jsx)(B.k,{width:"24px",height:"24px",align:"center",justify:"center",children:a.image?(0,o.jsx)(_.E,{src:a.image.src,w:"1.25em",h:"1.25em",objectFit:"contain"}):(0,o.jsx)(x.G,{icon:a.icon,fixedWidth:!0})}),(0,o.jsx)(c.x,{as:"span",flex:1,children:null==a?void 0:a.label()})]})}),(0,o.jsx)(td.h,{children:(0,o.jsx)(et.q,{minWidth:"250px",maxH:"350px",overflowY:"auto",overflowX:"hidden",zIndex:"modalPopover",border:"1px solid",borderColor:"gray.200",children:Object.entries(ea.Iw).map(e=>{let[t,{label:l,description:a,icon:d,image:m}]=e;if(!(0,ea.Hr)(t))return null;let f=(0,ea.Om)(t);return(0,o.jsxs)(tu.s,{value:t,icon:m?(0,o.jsx)(_.E,{src:m.src,w:"1.5em",h:"1.5em",objectFit:"contain"}):(0,o.jsx)(x.G,{icon:d,fixedWidth:!0}),onClick:()=>{if(f&&!r){s({segmentEvent:tf.AA.GAMMA_UPSELL_CALLOUT_AI_IMAGE_MODELS});return}n(t)},children:[(0,o.jsxs)(u.U,{children:[(0,o.jsx)(c.x,{children:l()}),f&&(0,o.jsx)(tc.U,{productFeature:"ai_premium_models",workspace:null==i?void 0:i.organization})]}),a&&(0,o.jsx)(c.x,{color:"gray.400",fontSize:"sm",children:a()})]},t)})})})]})})};var tg=n(54326),th=n(2338),tb=n(97217),ty=n(50250),tv=n(82713),tk=n(14274);let tx=async e=>{let{imageUrl:t,upscaleFactor:n}=e,l="".concat(tk.v.API_HOST||"https://api.gamma.app","/media/images/upscale"),a=await fetch(l,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({image:t,upscaleFactor:n})});if(!a.ok){let e=await a.json(),t="".concat(e.error,": ").concat(e.message);throw Error(t,e)}let o=await a.json();return o.data},tw=e=>{let{canGenerate:t,isEnhancingPrompt:n,images:l,canLoadMore:r,isLoadingMore:s,loadMore:d}=e,{isOpen:m,onOpen:f,onClose:p}=(0,W.q)(),[g,b]=(0,S.useState)([]),[y,k]=(0,S.useState)(2),[x,C]=(0,S.useState)(!1),[z,A]=(0,S.useState)(!1),I=(0,D.p)(),j=(0,S.useCallback)(e=>{b(t=>t.includes(e.id)?t.filter(t=>t!==e.id):[...t,e.id])},[]),F=(0,S.useCallback)(()=>{z?b([]):b(l.map(e=>e.id)),A(!z)},[l,z]),B=(0,S.useCallback)(async e=>{let t=atob(e),n=Array(t.length);for(let e=0;e{C(!0);let e=l.filter(e=>g.includes(e.id)),t=1;await Promise.all(e.map(async e=>{let n=await tx({imageUrl:e.attrs.src,upscaleFactor:y});B(n),I({title:"Image ".concat(t," downloaded"),status:"success",duration:3e3,isClosable:!0}),t++})),C(!1)},[l,g,y,C,I,B]);return(0,o.jsxs)(i.g,{spacing:4,align:"stretch",children:[(0,o.jsx)(v.z,{variant:"outline",isDisabled:!t||n,onClick:f,px:12,children:(0,o.jsx)(w.cC,{id:"DN9OsQ"})}),(0,o.jsxs)(G.u_,{isOpen:m,onClose:p,size:"2xl",scrollBehavior:"inside",children:[(0,o.jsx)(q.Z,{}),(0,o.jsxs)(V.h,{children:[(0,o.jsx)(tg.x,{children:(0,o.jsx)(w.cC,{id:"Ud0Jjb"})}),(0,o.jsx)(th.o,{}),(0,o.jsxs)(tb.f,{children:[(0,o.jsx)(eJ.M,{gap:2,columns:5,children:l.map(e=>(0,o.jsx)(tS,{image:e,isSelected:g.includes(e.id),onSelectImage:j},e.id))}),r&&(0,o.jsx)(v.z,{variant:"plain",onClick:d,mt:4,isLoading:s,children:(0,o.jsx)(w.cC,{id:"yQ2kGp"})})]}),(0,o.jsxs)(ty.m,{justifyContent:"space-between",children:[(0,o.jsxs)(u.U,{spacing:2,children:[(0,o.jsx)(tv.X,{checked:z,onChange:F}),(0,o.jsx)(c.x,{size:"sm",children:(0,o.jsx)(w.cC,{id:"wgNoIs"})})]}),(0,o.jsxs)(u.U,{spacing:4,children:[(0,o.jsx)(K.kH,{placement:"top",label:(0,o.jsx)(w.cC,{id:"UiTWCg"}),children:(0,o.jsx)(h.X,{size:"sm",children:(0,o.jsx)(w.cC,{id:"yT2JRA"})})}),(0,o.jsx)(v.z,{variant:"solid",mr:3,onClick:M,isLoading:x,isDisabled:0===g.length,children:a.ag._({id:"0/T2Xv",values:{0:g.length}})})]})]})]})]})]})},tS=e=>{let{image:t,isSelected:n,onSelectImage:l}=e,a=(0,N.Ly)(t.attrs.src);return(0,o.jsx)(E.P,{children:(0,o.jsx)(v.z,{borderRadius:"base",display:"block",variant:"ghost",width:"100%",opacity:1,height:"100px",textAlign:"left",pos:"relative",p:0,_hover:{shadow:"outline"},_active:{shadow:"outline"},transition:"box-shadow .2s ease",cursor:"pointer",onClick:()=>l(t),backgroundImage:a,backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center",sx:{_focusVisible:{".attribution-container":{opacity:1}},_hover:{".attribution-container":{opacity:1}}},"data-testid":"image-search-grid-item",role:"group",children:(0,o.jsx)(P.p,{in:n,children:(0,o.jsx)(m.xu,{pointerEvents:"none",color:"white",pos:"absolute",inset:0,bg:"rgba(0,0,0,.5)",borderRadius:"base",children:(0,o.jsx)(T.M,{h:"100%",w:"100%",children:(0,o.jsx)(x.G,{icon:k.LEp})})})})})},t.id)},tC={key:"image.ai-generated",Panel:e=>{var t,n;let{currentAttributes:l,updateAttributes:B,editor:M,contextualTheme:E}=e,{hasEnoughCreditsToGenerateImage:_}=(0,j.qO)(),O=(0,F.ye)("aiGeneratedImagesAdvancedOptions"),P=null==M?void 0:M.isSiteNavbarEditor,{lastUsedAiImageStyles:T}=eL(M,!P&&!!M),{prompt:R,addPrompt:L,promptPageInfo:D,nextPrompt:W,prevPrompt:U,count:H,setCount:G,model:q,setModel:V,stylePreset:K,setStylePreset:Y,stylePrompt:$,setStylePrompt:J,stylePresetOptions:Z,aspectRatio:Q,setAspectRatio:ee,imageGenerateConfig:et,loadImageAiParams:en,resetImageAiParams:el,isPromptDirty:ea,negativePrompt:eo,setNegativePrompt:er,steps:es,setSteps:ed,cfgScale:eu,setCfgScale:ec}=e5(E),em=ea(l),ef=(0,e8.b)(M),ep=(0,S.useCallback)(e=>{en(e.attrs.aiParams,"select"),B({tempUrl:(0,N.SN)(e.attrs.src,N.Iv,e.attrs.meta),...e.attrs}),M&&ef(null==M?void 0:M.state.selection.from)},[M,en,ef,B]),{generate:eg,isGenerating:eh,isLoadingMore:eb,hasError:ey,imageResults:ev,loadMore:ek,canLoadMore:ex,errorMessage:ew,deleteImage:eS,deletingId:eC}=eB({selectImage:ep}),ez=(null==l?void 0:l.source)==="image.ai-generated"&&!!(null==l?void 0:l.src),eA=null==l?void 0:l.savedMediaId,eI=ez?null==l?void 0:l.src:void 0;(0,e0.vm)(()=>{var e;M&&(ez&&(null===(e=l.aiParams)||void 0===e?void 0:e.prompt)&&en(l.aiParams,"load"),!ez&&l.query&&L(l.query,"load"))},[L,l.aiParams,l.query,ez,M,en],[T]);let ej=(0,S.useRef)(null);(0,S.useEffect)(()=>{setTimeout(()=>{var e;null===(e=ej.current)||void 0===e||e.focus()},200)},[]);let{isEnhancing:eF,setIsEnhancing:eM,runEnhanceImagePrompt:eE}=e_({editor:M,prompt:R,stylePrompt:$,addPrompt:L});(0,S.useEffect)(()=>{eI||!M||M.isSiteNavbarEditor||eE()},[M]);let eO=(0,S.useCallback)(async()=>{if(!eF&&!eh){if(0===R.trim().length){let e=await eE();try{eg({...et,prompt:e||""})}catch(e){console.error("Error enhancing AI image prompt",e)}finally{eM(!1)}}else eg(et)}},[eg,et,eF,eh,R,eE,eM]),eP=(0,j.YO)(eO,"generateImage",e9.AA.GAMMA_UPSELL_CALLOUT_AI_CREDITS_IMAGES),eT=(0,S.useCallback)(e=>{"Enter"===e.key&&e.metaKey&&(e.preventDefault(),eP()),e.stopPropagation()},[eP]),{saveImageRating:eR,hasRatedImage:eW}=eN(),eU=(0,S.useCallback)(e=>{var t;(null===(t=l.aiParams)||void 0===t?void 0:t.interactionId)&&((0,z.Io)({rating:e,aiParams:l.aiParams,imageUrl:l.src,interactionId:l.aiParams.interactionId}),eR(l,e))},[]),eH=!!(null===(t=l.aiParams)||void 0===t?void 0:t.interactionId),{savedMedia:eG}=eD((null===(n=l.aiParams)||void 0===n?void 0:n.interactionId)||"",l.query||"");return(0,o.jsxs)(i.g,{spacing:4,align:"stretch",translate:"no",children:[eI&&(0,o.jsx)(tl,{imagesMatchingInteractionId:eH?eG:[],currentAttributes:l,isGenerating:eh,selectedSavedMediaId:eA||void 0,deletingId:eC,hasRatedImage:eW,deleteImage:eS,selectImage:ep,onRateImage:eU}),ey&&(0,o.jsxs)(r.b,{status:"error",flexDirection:"row",alignItems:"start",justifyContent:"start",borderRadius:"md",children:[(0,o.jsx)(s.z,{}),(0,o.jsx)(d.X,{children:ew})]}),(0,o.jsxs)(i.g,{align:"stretch",spacing:4,children:[(0,o.jsxs)(i.g,{align:"stretch",spacing:1,children:[(0,o.jsx)(u.U,{position:"relative",align:"center",justify:"space-between",children:(0,o.jsx)(u.U,{children:(0,o.jsx)(c.x,{fontSize:"sm",fontWeight:"semibold",color:eh?"gray.500":"",children:(0,o.jsx)(w.cC,{id:"W9uQXX"})})})}),(0,o.jsxs)(m.xu,{position:"relative",children:[(0,o.jsx)(C.o,{ref:ej,isDisabled:eh,placeholder:eF?"":a.ag._({id:"6RfNWb"}),onKeyDown:eT,value:R,onChange:e=>{L(e.target.value,"update")},"data-testid":"image-search-input",rows:5,initialHeight:"65px",bottomSpacing:35}),M&&!M.isSiteNavbarEditor&&(0,o.jsx)(ts,{isEnhancingPrompt:eF,isGenerating:eh,runEnhancePrompt:eE})]}),D.total>1&&(0,o.jsx)(e3,{alignSelf:"end",promptPageInfo:D,nextPrompt:W,prevPrompt:U,isDisabled:eh||eF})]}),(0,o.jsxs)(i.g,{align:"stretch",gap:4,display:"flex",children:[(0,o.jsxs)(i.g,{align:"stretch",children:[(0,o.jsx)(c.x,{fontSize:"sm",fontWeight:"semibold",color:eh?"gray.500":"",children:(0,o.jsx)(w.cC,{id:"1CalO6"})}),(0,o.jsx)(e2,{stylePreset:K,stylePrompt:$,setStylePrompt:J,setStylePreset:Y,presetOptions:Z,isDisabled:eh,editor:M,contextualTheme:E})]}),(0,o.jsxs)(u.U,{w:"100%",children:[(0,o.jsxs)(i.g,{w:"100%",align:"stretch",children:[(0,o.jsx)(c.x,{fontSize:"sm",fontWeight:"semibold",color:eh?"gray.500":"",children:(0,o.jsx)(w.cC,{id:"iKM2jY"})}),(0,o.jsx)(ei,{value:Q,setValue:ee,model:q,isDisabled:eh})]}),(0,o.jsxs)(i.g,{w:"100%",align:"stretch",children:[(0,o.jsx)(c.x,{fontSize:"sm",fontWeight:"semibold",color:eh?"gray.500":"",children:(0,o.jsx)(w.cC,{id:"scu3wk"})}),q&&(0,o.jsx)(tp,{value:q,setValue:e=>{V(e)},isDisabled:eh})]})]})]}),O&&(0,o.jsx)(f.U,{allowToggle:!0,children:(0,o.jsxs)(p.Q,{children:[(0,o.jsxs)(g.K,{children:[(0,o.jsx)(m.xu,{as:"span",flex:"1",textAlign:"left",children:(0,o.jsx)(h.X,{size:"sm",children:(0,o.jsx)(w.cC,{id:"sxkWRg"})})}),(0,o.jsx)(b.X,{})]}),(0,o.jsx)(y.H,{pb:4,children:(0,o.jsx)(e6,{enabled:!0,isGenerating:eh,negativePrompt:eo,setNegativePrompt:er,count:H,setCount:G,steps:es,setSteps:ed,cfgScale:eu,setCfgScale:ec,model:q})})]})}),(0,o.jsxs)(i.g,{spacing:1,align:"stretch",children:[(0,o.jsxs)(v.z,{variant:"solid",isLoading:eh,isDisabled:eF,onClick:eP,px:12,children:[(0,o.jsx)(w.cC,{id:"OSaxlZ"}),(0,o.jsx)(I.J,{type:"generateImage",position:"absolute",right:4})]}),!!M&&(0,o.jsx)(v.z,{onClick:()=>el(l),leftIcon:(0,o.jsx)(x.G,{icon:k.XnX}),isDisabled:!em||eh,sx:{opacity:em?1:.5,transition:"opacity 0.2s ease-in-out",_hover:{color:em?"trueblue.500":""}},children:(0,o.jsx)(w.cC,{id:"HbpJRz"})}),(0,o.jsx)(A.r,{modalId:"ai-credits-modal-message-list",variant:"ghost",justify:"flex-end",segmentEvent:e9.AA.GAMMA_UPSELL_CALLOUT_AI_CREDITS_IMAGES}),O&&(0,o.jsx)(tw,{canGenerate:_,isEnhancingPrompt:eF,images:ev,canLoadMore:ex,isLoadingMore:eb,loadMore:ek})]})]}),(0,o.jsx)(X,{onSelectImage:ep,savedMediaId:eA,imageResults:ev,onDeleteImage:eS,deletingId:eC,isLoading:eh,canLoadMore:ex,isLoadingMore:eb,loadMore:ek,resultsPerPage:H,resizeThumbnails:!0})]})},checkDisabled:()=>!1,label:()=>a.ag._({id:"O+LXs1"}),icon:l.ddb,description:()=>a.ag._({id:"yXA4hx"}),keywords:["ai","image","illustration","graphics","generate"],resizeToFit:!0,badge:()=>a.ag._({id:"isRobC"})}},13773:function(e,t,n){"use strict";n.d(t,{x:function(){return l}});let l={minWidth:1800,maxWidth:5e3,count:10}},68430:function(e,t,n){"use strict";n.d(t,{E:function(){return w}});var l=n(52322),a=n(70065),o=n(17993),i=n(74409),r=n(77533),s=n(75009),d=n(62614),u=n(85573),c=n(29494),m=n(29117),f=n(5879),p=n(87254),g=n(26433),h=n(16494),b=n(94090),y=n(28553),v=n(93982),k=n(87205),x=n(13833);let w=e=>{let{updateAttributes:t,currentAttributes:n}=e,{sourceUrl:w,meta:S,thumbnail:C}=n,z=(0,b.CG)(v.KV),A=(0,a.p)(),I=async()=>{w&&await (0,x.ft)(w,t).catch(e=>{console.error("[EMBED METADATA] Error restoring preview defaults",e),A({title:p.ag._({id:"cgB+pO",values:{0:e.error}}),status:"error",isClosable:!0,position:"top"})})};return(0,l.jsxs)(o.g,{pt:4,align:"stretch",spacing:4,children:[(0,l.jsxs)(o.g,{align:"stretch",children:[(0,l.jsx)(i.X,{size:"md",children:(0,l.jsx)(f.cC,{id:"qbzc6p"})}),(0,l.jsx)(r.x,{fontSize:"sm",color:"gray.600",children:(0,l.jsx)(f.cC,{id:"D9R1mI"})})]}),(0,l.jsxs)(o.g,{align:"stretch",p:4,borderRadius:"lg",border:"1px solid var(--chakra-colors-blue-500)",bg:"gray.100",spacing:4,children:[(null==C?void 0:C.showPlaceholder)?(0,l.jsx)(y.k3,{hasUploadError:(null==C?void 0:C.uploadStatus)===h.D.Error,isUploading:(null==C?void 0:C.uploadStatus)===h.D.Uploading}):C?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.E,{src:C.src||C.tempUrl||"",alt:(null==S?void 0:S.title)||"",ignoreFallback:!0,borderRadius:"md"}),(0,l.jsx)(d.z,{isDisabled:C.uploadStatus===h.D.Uploading,onClick:()=>{t({thumbnail:void 0})},children:(0,l.jsx)(f.cC,{id:"YFcW0s"})})]}):z&&(0,l.jsx)(g.u,{onUploadStart:e=>{let{file:n,tempUrl:l}=e;n.type&&(0,k.Ns)(n.type)?t({thumbnail:{uploadStatus:h.D.Uploading,showPlaceholder:!0,tempUrl:null}}):t({thumbnail:{tempUrl:l,uploadStatus:h.D.Uploading,showPlaceholder:!1}})},onUploadSuccess:e=>{let{src:n}=e;t({thumbnail:{src:n}})},onUploadFailed:e=>{console.error("[EMBED METADATA] Error uploading thumbnail image",e),t({thumbnail:{uploadStatus:h.D.Error,showPlaceholder:!0,tempUrl:null}})},orgId:z||"",uploadType:"image",editType:"icon",showTip:!1,dropHereText:p.ag._({id:"yxTfZB",values:{0:"%{browse}"}}),customHeight:"200px",customFontSize:"sm"}),(0,l.jsxs)(o.g,{mt:2,align:"stretch",children:[(0,l.jsx)(r.x,{children:(0,l.jsx)(f.cC,{id:"MHrjPM"})}),(0,l.jsx)(u.I,{bg:"white",value:(null==S?void 0:S.title)||"",placeholder:p.ag._({id:"bTzMt5"}),onChange:e=>{t({meta:{...S,title:e.target.value}})},"data-testid":"title-input"})]}),(0,l.jsxs)(o.g,{align:"stretch",children:[(0,l.jsx)(r.x,{children:(0,l.jsx)(f.cC,{id:"Nu4oKW"})}),(0,l.jsx)(c.g,{bg:"white",rows:4,value:(null==S?void 0:S.description)||"",placeholder:p.ag._({id:"2VBqT4"}),onChange:e=>{t({meta:{...S,description:e.target.value}})}})]}),(0,l.jsxs)(o.g,{align:"stretch",children:[(0,l.jsx)(r.x,{children:(0,l.jsx)(f.cC,{id:"On0aF2"})}),(0,l.jsxs)(m.U,{children:[(null==S?void 0:S.icon)&&(0,l.jsx)(s.E,{src:S.icon,h:"1.5em",borderRadius:"sm"}),(0,l.jsx)(u.I,{bg:"white",value:(null==S?void 0:S.site)||"",placeholder:p.ag._({id:"SmWcKR"}),onChange:e=>{t({meta:{...n.meta,site:e.target.value}})}})]})]})]}),(0,l.jsx)(d.z,{onClick:I,children:(0,l.jsx)(f.cC,{id:"Z00hdC"})})]})}},69396:function(e,t,n){"use strict";n.d(t,{j:function(){return D}});var l=n(52322),a=n(82655),o=n(87254),i=n(30523),r=n(62614),s=n(28535),d=n(38035),u=n(20437),c=n(77533),m=n(47443),f=n(52929),p=n(82729),g=n(67109),h=n(32899),b=n(17993),y=n(74105),v=n(20816),k=n(85573),x=n(42946),w=n(49929),S=n(94523),C=n(5879),z=n(7165),A=n(2689),I=n.n(A),j=n(4742),F=n.n(j),B=n(2784),M=n(66028),E=n(944);let _="60px",O=(0,B.memo)(e=>{let{icon:t,isSelected:n,onIconClick:a}=e;return(0,l.jsx)(i.P,{height:_,width:_,children:(0,l.jsx)(r.z,{borderRadius:"base",bgColor:n?"trueblue.100":void 0,color:"gray.900",display:"block",width:"100%",height:"100%",maxH:"100%",pos:"relative",_hover:{bgColor:n?"trueblue.100":"trueblue.50"},_active:{bgColor:"trueblue.100"},transition:"box-shadow .2s ease",variant:"ghost",cursor:"pointer",onClick:()=>a(t),"data-testid":"icon-search-grid-item",children:(0,l.jsx)(s.xu,{height:"100%",maxH:"100%",sx:{svg:{width:"100%",height:"100%"}},dangerouslySetInnerHTML:{__html:t.html}})})},t.id)});O.displayName="ImageSearchGridItem";let P=e=>{let{searchQuery:t,currentAttributes:n,updateAttributes:a}=e,[o,i]=(0,B.useState)([]),[r,p]=(0,B.useState)(!0),[g,h]=(0,B.useState)(!1),[b,y]=(0,B.useState)(1),v=(0,B.useCallback)(async e=>{let n="/api/icons/search?count=".concat(100,"&query=").concat(t,"&page=").concat(e);p(!0),h(!1);try{var l;let e=await fetch(n,{credentials:"include"}),t=await e.json();if(p(!1),!((null==t?void 0:null===(l=t.data)||void 0===l?void 0:l.length)>=0))throw Error(t);i(t.data)}catch(e){h(!0),p(!1),console.error("(caught) [ImageSearchGrid] fetchResults:",e)}},[t]);(0,B.useEffect)(()=>{i([]),y(1),v(1)},[t,v]),(0,B.useCallback)(()=>{v(b+1),y(b+1)},[v,b]);let k=(0,B.useCallback)(e=>{a({src:void 0,tempUrl:e.src,meta:{height:e.height,width:e.width},providerMeta:{name:e.provider,id:e.id},query:t})},[t,a]),x=o.map((e,t)=>{var a,o;let i=e.id===(null==n?void 0:null===(a=n.providerMeta)||void 0===a?void 0:a.id)&&e.provider===(null==n?void 0:null===(o=n.providerMeta)||void 0===o?void 0:o.name);return(0,l.jsx)(O,{provider:e.provider,icon:e,isSelected:i,onIconClick:k},t)});return(0,l.jsxs)(d.k,{direction:"column",align:"stretch",children:[(0,l.jsxs)(u.M,{gap:2,columns:{base:4,"2xl":6},children:[x,r&&(0,l.jsx)(T,{})]}),!1,0===o.length&&!r&&(0,l.jsx)(s.xu,{width:"100%",textAlign:"center",padding:"10px",children:(0,l.jsx)(c.x,{style:{color:"gray"},children:(0,l.jsx)(C.cC,{id:"2AY48J",values:{searchQuery:t}})})}),g&&(0,l.jsxs)(m.b,{status:"error",children:[(0,l.jsx)(f.z,{}),(0,l.jsx)(C.cC,{id:"5hlcZg"})]})]})},T=()=>(0,l.jsx)(l.Fragment,{children:I()(100).map((e,t)=>(0,l.jsx)(i.P,{height:_,children:(0,l.jsx)(p.o,{ratio:1,children:(0,l.jsx)(g.O,{borderRadius:"base"})})},t))}),R=(0,z.E)(h.h),N=e=>{let{currentAttributes:t,updateAttributes:n,defaultQuery:a="",randomQueries:i}=e,[r,d]=(0,B.useState)(a),[u,c]=(0,B.useState)("");(0,B.useEffect)(()=>{c(a),d(a)},[a]);let m=(0,B.useCallback)(()=>{let e=F()(i);for(;e===r;)e=F()(i);e&&(d(e),c(""))},[i,r]),f=(0,E.Kt)(d,500);return(0,l.jsxs)(b.g,{spacing:4,align:"stretch",translate:"no",children:[(0,l.jsxs)(y.B,{size:"md",children:[(0,l.jsx)(v.Z,{pointerEvents:"none",children:(0,l.jsx)(s.xu,{color:"gray.400",children:(0,l.jsx)(w.G,{icon:x.wn1})})}),(0,l.jsx)(k.I,{placeholder:r||o.ag._({id:"oMAM3/"}),value:u,onChange:e=>{c(e.target.value),f(e.target.value)},"data-testid":"image-search-input"}),i&&(0,l.jsx)(v.x,{children:(0,l.jsx)(S.kH,{placement:"top",label:(0,l.jsx)(C.cC,{id:"OVjfHO"}),children:(0,l.jsx)(R,{icon:(0,l.jsx)(w.G,{icon:x.RJo}),"aria-label":o.ag._({id:"OVjfHO"}),variant:"ghost",onClick:m,size:"sm",whileTap:{y:"-5px"},onMouseDown:M.br})})})]}),(0,l.jsx)(P,{currentAttributes:t,updateAttributes:n,searchQuery:r||""})]})},L=["animals","arrows","business","party","nature","food"],D={key:"image.icon",Panel:e=>{let{updateAttributes:t,currentAttributes:n}=e;return(0,l.jsx)(N,{updateAttributes:t,currentAttributes:n,currentIconUrl:n.src,defaultQuery:n.query||"",randomQueries:L})},label:()=>o.ag._({id:"mcmuCe"}),icon:a.ocQ,keywords:["icon","symbol","picture"]}},61185:function(e,t,n){"use strict";n.d(t,{Q:function(){return o}});var l=n(99870),a=n(83230);let o={bing:"image.bing",giphy:"image.giphy",google:"image.google",web:"image.web",unsplash:"image.unsplash",lexica:"image.lexica",aiGenerated:"image.ai-generated",fontawesome:"image.icon"};a.Q,l.N},83230:function(e,t,n){"use strict";n.d(t,{Q:function(){return s}});var l=n(52322),a=n(82655),o=n(87254),i=n(47634);let r=["modern office workspace","sustainable energy landscape","vintage automobile collection","future technology concept","tropical beach paradise","urban street art","classical music instruments","mountain hiking adventure","wildlife safari","space exploration visuals","ancient ruins aerial view","deep sea marine life","high fashion runway event","robotics in manufacturing","gourmet food presentation","winter sports scene","abstract art paintings","traditional village festival","modern architecture landmarks","digital art fantasy worlds"],s={key:"image.web",Panel:e=>{let{updateAttributes:t,currentAttributes:n}=e;return(0,l.jsx)(i.Z,{updateAttributes:t,currentImageUrl:n.src,defaultQuery:n.query||"",enablePagination:!0,enableLicenseFilter:!0,provider:"web",resultsPerPage:48,randomQueries:r,resizeThumbnails:!0})},featureFlag:"webImageSearch",label:()=>o.ag._({id:"coorYU"}),icon:a.Y$T,keywords:["image","photo","pic"],description:()=>o.ag._({id:"NMbF1d"}),resizeToFit:!0}},48902:function(e,t,n){"use strict";n.d(t,{NX:function(){return l.N},LE:function(){return v},BF:function(){return k},jt:function(){return C},QR:function(){return z},in:function(){return H},wj:function(){return G},DN:function(){return q},VI:function(){return $},$5:function(){return en},bO:function(){return ea},F6:function(){return eo},bD:function(){return ei},eK:function(){return eP},jS:function(){return eT.j},f0:function(){return eR},FH:function(){return eN},ud:function(){return eD},Vy:function(){return eU},yC:function(){return e6},zX:function(){return te},DU:function(){return eH},Bo:function(){return eG},BR:function(){return eq},TQ:function(){return eK},p7:function(){return eY},w4:function(){return e$},zs:function(){return eX},iL:function(){return eZ},Ds:function(){return eQ},hq:function(){return e2},oC:function(){return e4},QT:function(){return e5.Q},Hw:function(){return e9},BM:function(){return e8},qz:function(){return e7}});var l=n(99870),a=n(52322),o=n(82655),i=n(5879),r=n(87254),s=n(17993),d=n(66855),u=n(68430),c=n(13833);let m=e=>{let{editor:t,updateAttributes:n,currentAttributes:l,urlPlaceholder:o,embedTip:i}=e,r=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:r,updateAttributes:n,placeholder:o||"https://..."}),i,r&&(0,a.jsx)(u.E,{editor:t,updateAttributes:n,currentAttributes:l})]})};var f=n(29705),p=n(47443),g=n(52929),h=n(74444),b=n(11082);let y=e=>{let{guideLink:t,extraMessage:n,providerName:l}=e;return(0,a.jsxs)(p.b,{status:"info",children:[(0,a.jsx)(g.z,{}),(0,a.jsx)(h.X,{children:(0,a.jsx)(i.cC,{id:"qBttXb",values:{providerName:l,extraMessage:n},components:{0:(0,a.jsx)(b.r,{href:t,textDecoration:"underline",isExternal:!0}),1:(0,a.jsx)(f.h,{mx:"2px"})}})})]})},v={label:()=>"Airtable",key:"embed.airtable",description:()=>r.ag._({id:"KlL5LU"}),icon:o.u7T,image:{src:"/_next/static/media/airtable.e403549a.svg",height:64,width:64,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/airtable.com/,Panel:e=>(0,a.jsx)(m,{...e,urlPlaceholder:"https://airtable.com/...",embedTip:(0,a.jsx)(y,{guideLink:"https://support.airtable.com/hc/en-us/articles/217846478-Embedding-a-view-or-base",providerName:"Airtable",extraMessage:(0,a.jsx)(i.cC,{id:"gsZDsS"})})}),categories:["app","form"],defaultDisplayStyle:"inline",inlineInteractive:!0,iframeOptions:{allowPopups:!0},keywords:["airtable","database","spreadsheet","table"]},k={label:()=>"Amplitude",key:"embed.amplitude",keywords:["amplitude","analytics"],description:()=>r.ag._({id:"wa1wV8"}),icon:o.Ma4,image:{src:"/_next/static/media/amplitude.5828f141.svg",height:64,width:64,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/analytics.amplitude.com/,Panel:e=>{let{editor:t,updateAttributes:n,currentAttributes:l}=e,o=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:o,updateAttributes:n,placeholder:"{let{updateAttributes:t,currentAttributes:n}=e;return(0,a.jsx)(S.Z,{updateAttributes:t,currentImageUrl:n.src,defaultQuery:n.query||"",enableSearch:!0,enablePagination:!1,provider:"bing",resultsPerPage:w.x.count})},label:()=>r.ag._({id:"2V6hMo"}),icon:x.hVS,image:{src:"/_next/static/media/bing.0f94cfbe.svg",height:1024,width:678,blurWidth:0,blurHeight:0},keywords:["image","photo","bing","pic"]},z={label:()=>"Calendly",key:"embed.calendly",description:()=>r.ag._({id:"grPhlY"}),icon:o.fT7,image:{src:"/_next/static/media/calendly.d1a57857.svg",height:150,width:150,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/calendly.com/,Panel:e=>(0,a.jsx)(m,{...e,urlPlaceholder:"https://calendly.com/..."}),defaultDisplayStyle:"inline",inlineInteractive:!0,categories:["form"],iframeOptions:{allowPopups:!0},keywords:["calendly","meeting","schedule","appointment"]};var A=n(81540),I=n(75009),j=n(77533),F=n(62614),B=n(74409),M=n(37164),E=n(2784),_=n(94090),O=n(29318),P=n(28553),T=n(97253),R=n(93982),N=n(36651),L=n(87205),D=n(2090),W=n(26433),U=n(16494);let H={label:()=>r.ag._({id:"bk8Zu0"}),key:"image.custom",description:()=>r.ag._({id:"RPwTMJ"}),icon:o.VmB,Panel:e=>{let{editor:t,editType:n,updateAttributes:l,currentAttributes:o,resetToPlaceholder:d}=e,u=(0,_.CG)(R.KV),{currentWorkspace:m}=(0,N.SE)(),{orgId:f,templateId:b,useStandardThemeBucket:y}=(0,O.Ds)(u||(null==m?void 0:m.id),n),v=(0,E.useRef)(null),k=(0,E.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;l({uploadStatus:U.D.Uploading,showPlaceholder:!0,tempUrl:e,src:null})},[l]),x=(0,E.useCallback)(e=>{l({uploadStatus:U.D.Uploading,showPlaceholder:!1,tempUrl:e,src:null}),v.current=e},[l]),w=(e,a)=>{let o=v.current,i=o||a;if(i){if("node"!==n||!t){l({...(0,T.gM)({result:e,isError:!1}),source:H.key});return}(0,T.Ns)(t,i,e),v.current=null}},S=e=>{if(!v.current||!t){l((0,T.gM)({isError:!0}));return}(0,T.f8)(t,v.current,e)},C=(0,E.useCallback)(e=>{let{file:t,tempUrl:n}=e;if(t.type&&(0,L.Ns)(t.type)){let e="HEIC_tempId_".concat((0,M.x0)());k(e),x(e)}else x(n)},[k,x]),z=(0,E.useCallback)(()=>{l((0,T.gM)({isError:!0}))},[l]),{src:G,tempUrl:q,meta:V,name:K,showPlaceholder:Y,uploadStatus:$}=o,J=G?(0,L.aN)(G,{width:500}):void 0,X=!!(G||q||Y);return X?(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[$===U.D.Uploading&&(0,a.jsxs)(p.b,{status:"info",size:"sm",children:[(0,a.jsx)(g.z,{as:A.$,w:5,h:5}),(0,a.jsx)(h.X,{children:(0,a.jsx)(i.cC,{id:"MEDU34"})})]}),Y?(0,a.jsx)(P.k3,{isUploading:$===U.D.Uploading,hasUploadError:$===U.D.Error,width:"100%"}):(0,a.jsx)(I.E,{src:J||q,alt:"",ignoreFallback:!0,borderRadius:"md"}),V&&V.width&&V.height&&(0,a.jsxs)(j.x,{children:[V.width,"\xd7",V.height,"px"]}),K&&(0,a.jsx)(j.x,{children:K}),(0,a.jsx)(F.z,{onClick:d,mt:2,w:"100%",children:(0,a.jsx)(i.cC,{id:"HUPV+K"})})]}):(0,a.jsxs)(s.g,{align:"stretch",spacing:4,children:[y&&(0,a.jsxs)(p.b,{status:"warning",size:"sm",children:[(0,a.jsx)(g.z,{}),(0,a.jsx)(h.X,{children:"[Admin] Theme images will be uploaded to production theme_images bucket"})]}),$===U.D.Error&&(0,a.jsxs)(p.b,{status:"error",size:"sm",children:[(0,a.jsx)(g.z,{}),(0,a.jsx)(h.X,{children:(0,a.jsx)(i.cC,{id:"GymiXM"})})]}),(0,a.jsx)(B.X,{size:"md",children:(0,a.jsx)(i.cC,{id:"IagCbF"})}),(0,a.jsx)(c.v,{currentUrl:"",placeholder:r.ag._({id:"jurEzE"}),handleSubmit:e=>{if(!f){console.error("[CustomImagePanel] saveImageFromUrl - No orgId!");return}x(e);try{(0,D.WY)(e,f,{onUploadComplete:w,onOriginalFileUpload:w,onUploadFailed:S},n,b)}catch(e){S()}},handleDataSubmit:e=>{if(!f){console.error("[CustomImagePanel] saveImageFromDataBlob - No orgId!");return}x(e);try{let t=(0,L.v9)(e,"image");(0,D.cT)(t,f,{onUploadComplete:w,onOriginalFileUpload:w,onUploadFailed:S},n,void 0,b)}catch(e){S()}},noHeader:!0}),(0,a.jsx)(B.X,{size:"md",children:(0,a.jsx)(i.cC,{id:"ONWvwQ"})}),f&&(0,a.jsx)(W.u,{onUploadSuccess:w,onUploadStart:C,onUploadFailed:z,orgId:f,uploadType:"image",editType:n,templateId:b})]})},keywords:["image","upload"],resizeToFit:!0},G={label:()=>r.ag._({id:"0+gRao"}),description:()=>r.ag._({id:"w31i/H"}),key:"video.custom",icon:o.sl_,Panel:e=>{let{editor:t,updateAttributes:n,currentAttributes:l}=e,o=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:o,updateAttributes:n,placeholder:r.ag._({id:"gzZk6e"})}),o&&(0,a.jsx)(u.E,{editor:t,updateAttributes:n,currentAttributes:l})]})},keywords:["video","audio","podcast","embed"],iframeOptions:{allowPopups:!0},preferHtml:!0},q={label:()=>"Figma",key:"embed.figma",icon:x.uWT,keywords:["design","prototype","wireframe","figjam","whiteboard"],description:()=>r.ag._({id:"riUMyL"}),image:{src:"/_next/static/media/figma.14e7d0c1.svg",height:2500,width:1667,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/www.figma.com/,Panel:e=>{let{editor:t,updateAttributes:n,currentAttributes:l}=e,o=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:o,updateAttributes:n,placeholder:"https://www.figma.com/file/..."}),(0,a.jsx)(y,{guideLink:"https://help.figma.com/hc/en-us/articles/360039827134-Embed-files-and-prototypes",providerName:"Figma/FigJam"}),o&&(0,a.jsx)(u.E,{editor:t,updateAttributes:n,currentAttributes:l})]})},canEmbedPrivate:!0,forcePreviewOnMobile:!0,rewriteEmbedUrl:e=>e.includes("figma.com/embed")?e:"https://www.figma.com/embed?embed_host=share&url=".concat(encodeURIComponent(e))};var V=n(20342),K=n(15425),Y=n(78462);let $={label:()=>"Gamma embed",key:"embed.gamma",icon:o.m6E,keywords:["embed"],description:()=>r.ag._({id:"wNr9uT"}),image:V.Z,urlRegex:/^https?:\/\/(www\.|staging\.)?gamma.app/,Panel:e=>{let{editor:t,updateAttributes:n,currentAttributes:l}=e,o=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:o,updateAttributes:n,placeholder:"https://gamma.app/docs/..."}),o&&(0,a.jsx)(u.E,{editor:t,updateAttributes:n,currentAttributes:l})]})},canEmbedPrivate:!0,forcePreviewOnMobile:!0,rewriteEmbedUrl:e=>{if((0,Y.LQ)(e))return e;let t=(0,Y.Wp)(e),n=(0,K.Gr)(e)||"gamma.app";return"https://".concat(n,"/embed/").concat(t)}};var J=n(38035),X=n(28535),Z=n(42946),Q=n(38421),ee=n.n(Q);let et=["funny","surprise","hooray","welcome","excited","nope","fail","sad","cry","angry","teamwork","cats","dogs","high five"],en={key:"image.giphy",Panel:e=>{let{updateAttributes:t,currentAttributes:n}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(S.Z,{updateAttributes:t,currentImageUrl:n.src,defaultQuery:n.query,randomQueries:et,provider:"giphy"}),(0,a.jsx)(J.k,{width:"100%",justify:"center",padding:"10px",paddingTop:"30px",children:(0,a.jsx)(X.xu,{maxW:"150px",children:(0,a.jsx)(ee(),{src:"/images/powered-by-giphy.png",width:"150",height:"17",alt:"Powered by GIPHY"})})})]})},label:()=>r.ag._({id:"E435oC",values:{GIPHY_PROPER_NOUN:"GIPHY"}}),description:()=>r.ag._({id:"QmULXm"}),icon:Z.qt5,image:{src:"/_next/static/media/giphy.2d92c9c6.svg",height:2500,width:2500,blurWidth:0,blurHeight:0},keywords:["gif","animation","animated","giphy"],resizeToFit:!0};var el=n(94199);let ea={label:()=>"Google Drive",key:"embed.gdrive",description:()=>r.ag._({id:"1q3pN1",values:{SHEETS_PROPER_NOUN:"Sheets",DOCS_PROPER_NOUN:"Docs",SLIDES_PROPER_NOUN:"Slides",GAMMA_ARTIFACT_PROPER_NOUN:el.Yc}}),icon:x.Uuo,image:{src:"/_next/static/media/google-drive.2d314cf9.svg",height:78,width:87,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/docs.google.com\//,Panel:e=>(0,a.jsx)(m,{...e,urlPlaceholder:"https://docs.google.com/...",embedTip:(0,a.jsx)(y,{guideLink:"https://support.google.com/docs/answer/183965?hl=en&co=GENIE.Platform%3DDesktop#zippy=%2Cedit-embedded-spreadsheets%2Cembed-a-document-spreadsheet-or-presentation",extraMessage:(0,a.jsx)(i.cC,{id:"G6PCHK",values:{GAMMA_ARTIFACT_PROPER_NOUN:el.Yc}}),providerName:"Google Sheets, Docs, or Slides"})}),canEmbedPrivate:!0,rewriteEmbedUrl:e=>{if(e.includes("/presentation/")){let t=new URL(e.replace("/edit","/preview"));return t.searchParams.set("rm","minimal"),t.toString()}{let t=new URL(e.replace("/preview","/edit"));return t.toString()}},keywords:["docs","sheet","slide","gdrive","document"]},eo={label:()=>"Google Form",key:"embed.google.form",description:()=>r.ag._({id:"sgbNf4"}),icon:x.Uuo,image:{src:"/_next/static/media/google-form.c5494f4d.svg",height:66,width:48,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/docs.google.com\/forms/,Panel:e=>(0,a.jsx)(m,{...e,urlPlaceholder:"https://docs.google.com/forms/..."}),canEmbedPrivate:!0,keywords:["google form","form","survey","questionnaire"],defaultDisplayStyle:"inline",inlineInteractive:!0,categories:["form"],iframeOptions:{allowPopups:!0}},ei={key:"image.google",Panel:e=>{let{updateAttributes:t,currentAttributes:n}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(S.Z,{updateAttributes:t,currentImageUrl:n.src,defaultQuery:n.query||"",provider:"google"})})},label:()=>r.ag._({id:"h2JWN5"}),icon:x.xYR,image:{src:"/_next/static/media/google-image.5d5a5835.svg",height:24,width:24,blurWidth:0,blurHeight:0},keywords:["image","photo"]};var er=n(29117),es=n(43297),ed=n(10625),eu=n(67046),ec=n(99058),em=n(44035),ef=n(39237),ep=n(75768),eg=n(32899),eh=n(49929),eb=n(94523),ey=n(62349),ev=n.n(ey),ek=n(98621),ex=n.n(ek),ew=n(944),eS=n(82729),eC=n(27875),ez=n.n(eC);let eA={soft:{name:"Soft",spin:[0,-40,40],lighten:[0,0,0]},duo:{name:"Duo",spin:[0,180],lighten:[0,0]},crescent:{name:"Crescent",spin:[0,-45,45,-90,90],lighten:[0,0,0,0,0]},wisp:{name:"Wisp",spin:[0,72,216],lighten:[0,0,0]},mono:{name:"Mono",spin:[0,0,0],lighten:[0,20,40]},cosmos:{name:"Cosmos",spin:[0,72,144,216,288],lighten:[0,0,0,0,0]}},eI=e=>{let t=[];e.forEach((e,n)=>{let l=e.setAlpha(1),a=l.toHsl().h*n,o="radial-gradient(circle at ".concat(50*(2*a%360/360),"% ").concat(50*(3*a%360/360),"%, ").concat(l.setAlpha(.5).toHex8String()," 0, ").concat(l.setAlpha(0).toHex8String()," ").concat(50*(1*a%360/360)+50,"%)");t.push(o)});let n=e[0].setAlpha(.5).toHex8String();return t.push("linear-gradient(0deg, ".concat(n," 0%, ").concat(n," 100%)")),{backgroundImage:t.join(",")}},ej=(e,t)=>{let n=eA[e],l=[];return n.spin.forEach(e=>{let n=ex()(t.toHsv()).spin(e);l.push(n)}),n.lighten.forEach((e,t)=>{l[t].lighten(e)}),l},eF=(e,t)=>{let n=ej(e,t),l=eI(n);return{colors:n,gradient:l}},eB=(e,t,n)=>{t.forEach(e=>{e&&(e.style.opacity="0")}),e.forEach((e,l)=>{let a=t[l];if(!a||!n)return;let o=function(e,t){let n=e.offsetWidth,l=ex()(t),a=l.toHsl().h*(Math.PI/180),o=l.toHsl().l,i=-(o*n)+n;return{x:n/2-i*Math.cos(a),y:n/2-i*Math.sin(a)}}(n,e);a.style.transform="translate(calc(".concat(o.x,"px - 50%),calc(").concat(o.y,"px - 50%))"),a.style.backgroundColor=e.toHexString(),a.style.opacity="1"})},eM=(0,E.forwardRef)(function(e,t){let{isPrimary:n=!1,noTransition:l=!1}=e;return(0,a.jsx)(X.xu,{ref:t,borderRadius:"full",boxSize:n?7:5,pos:"absolute",zIndex:n?2:1,shadow:"base",border:"2px solid white",pointerEvents:"none",transitionProperty:l?"none":"transform",transitionDuration:"normal"})}),eE=(0,E.memo)(e=>{let{updateColor:t,colors:n}=e,l=(0,E.useRef)(null),o=(0,E.useRef)(null),i=(0,E.useRef)(null),r=(0,E.useRef)(null),s=(0,E.useRef)(null),d=(0,E.useRef)(null),u=(0,E.useMemo)(()=>[o,i,r,s,d],[]);(0,E.useEffect)(()=>{let e=u.map(e=>e.current);eB(n,e,l.current)},[n,u]);let c=(0,E.useCallback)(e=>{if(!l.current)return;let n=l.current.getBoundingClientRect();(e.clientX||e.clientY)&&t(function(e,t,n){let l=e.current.offsetWidth,a=e.current.offsetHeight,o=l/2,i=a/2,r=function(e,t,n,l,a){let o=n-e,i=l-t;return ez()(Math.sqrt(i*i+o*o),0,a)}(t,n,o,i,l/2),s=Math.atan2(i-n,o-t),d=s*(180/Math.PI),u=Math.abs(-r/l+1);return ex().fromRatio({h:d+360*Math.ceil(-d/360)+1,s:1,l:u})}(l,e.clientX-n.left,e.clientY-n.top))},[t]),m=(0,E.useCallback)(()=>{document.removeEventListener("mousemove",c)},[c]),f=(0,E.useCallback)(e=>{document.addEventListener("mousemove",c),document.addEventListener("mouseup",m,{once:!0}),c(e)},[c,m]);return(0,a.jsxs)(X.xu,{onMouseDown:f,p:4,m:-4,position:"relative",children:[(0,a.jsx)(eM,{ref:o,noTransition:!0,isPrimary:!0}),(0,a.jsx)(eM,{ref:i}),(0,a.jsx)(eM,{ref:r}),(0,a.jsx)(eM,{ref:s}),(0,a.jsx)(eM,{ref:d}),(0,a.jsx)(eS.o,{ratio:1,children:(0,a.jsxs)(J.k,{ref:l,position:"relative",borderRadius:"full",shadow:"lg",children:[(0,a.jsx)(J.k,{pos:"absolute",borderRadius:"full",bg:"radial-gradient(circle closest-side, rgb(255, 255, 255), transparent)",inset:0,zIndex:1}),(0,a.jsx)(J.k,{pos:"absolute",inset:0,bg:"conic-gradient(red, yellow, lime, aqua, blue, magenta, red)",transform:"rotateZ(270deg)",borderRadius:"full"})]})})]})}),e_={vibe:"mono",primaryColor:"#75d8ff",css:{}},eO=e=>{let{value:t,updateValue:n,isDark:l}=e,{vibe:o,primaryColor:s}={...e_,...t},[d,u]=(0,E.useState)(ex()(s)),{colors:c,gradient:m}=(0,E.useMemo)(()=>eF(o,d),[o,d]),f=(0,E.useCallback)(e=>{let{gradient:t}=eF(o,e);n({vibe:o,primaryColor:e.toHexString(),css:t})},[o,n]),p=(0,ew.Z_)(f,100),g=(0,E.useCallback)(e=>{u(e),p(e)},[p]);return(0,a.jsxs)(er.U,{spacing:4,alignItems:"stretch",wrap:"wrap",children:[(0,a.jsx)(X.xu,{flex:"1",minW:"120px",children:(0,a.jsx)(eE,{vibe:eA[o],color:d,updateColor:g,colors:c})}),(0,a.jsxs)(es.K,{flex:"2",spacing:4,minW:"180px",children:[(0,a.jsx)(J.k,{backgroundColor:l?"black":"white",...m,opacity:1,flex:"1",borderRadius:"md",shadow:"md",minH:"80px",mt:2}),(0,a.jsxs)(er.U,{children:[(0,a.jsxs)(ed.v,{children:[(0,a.jsx)(eu.j,{w:"100%",as:F.z,size:"sm",variant:"plain",textAlign:"left",rightIcon:(0,a.jsx)(eh.G,{icon:Z.ptq}),children:eA[o].name}),(0,a.jsx)(ec.q,{minWidth:"240px",zIndex:"dropdown",children:(0,a.jsx)(em._,{onChange:e=>{let{gradient:t}=eF(e,d);n({vibe:e,primaryColor:d.toHexString(),css:t})},value:o,title:r.ag._({id:"1CalO6"}),type:"radio",children:Object.entries(eA).map(e=>{let[t,{name:n}]=e;return(0,a.jsx)(ef.i,{value:t,children:n},t)})})})]}),(0,a.jsx)(ep.h,{size:"sm",variant:"plain",children:(0,a.jsx)(eb.kH,{placement:"top",label:(0,a.jsx)(i.cC,{id:"OVjfHO"}),children:(0,a.jsx)(eg.h,{icon:(0,a.jsx)(eh.G,{icon:Z.RJo}),"aria-label":r.ag._({id:"OVjfHO"}),onClick:()=>{g(ex().fromRatio({h:ev()(0,360),s:1,l:ev()(.5,.8)}))}})})})]})]})]})},eP={key:"color.gradient",Panel:e=>{let{updateAttributes:t,currentAttributes:n,isDark:l}=e;return(0,a.jsx)(eO,{value:n,updateValue:t,isDark:l})},label:()=>r.ag._({id:"/S8bMP"}),description:()=>r.ag._({id:"/XRwS6"}),icon:o.e2K,keywords:["gradient","color","mesh"]};var eT=n(69396);let eR={label:()=>"Instagram",key:"embed.instagram",icon:x.Zzi,image:{src:"/_next/static/media/instagram.d0a61bd7.svg",height:132,width:132,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/www.instagram.com/,Panel:e=>{let{editor:t,updateAttributes:n,currentAttributes:l}=e,o=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:o,updateAttributes:n,placeholder:"https://www.instagram.com/..."}),o&&(0,a.jsx)(u.E,{editor:t,updateAttributes:n,currentAttributes:l})]})},defaultDisplayStyle:"inline",iframeOptions:{allowPopups:!0},inlineInteractive:!0,preferHtml:!0,keywords:["instagram","insta","social"],minWidth:"328px"},eN={label:()=>"Jotform",key:"embed.jotform",description:()=>r.ag._({id:"7yLOnm"}),icon:o.Lc0,image:{src:"/_next/static/media/jotform.0a55e4a9.svg",height:334,width:304,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/form\.jotform\.com/,Panel:e=>(0,a.jsx)(m,{...e,urlPlaceholder:"https://form.jotform.com/..."}),defaultDisplayStyle:"inline",inlineInteractive:!0,categories:["form"],iframeOptions:{allowPopups:!0},keywords:["jotform","form","survey","questionnaire"]},eL=["wallpaper","textures","background","nature","gradient","relax","sky","water","pattern","abstract"],eD={key:"image.lexica",Panel:e=>{let{updateAttributes:t,currentAttributes:n}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(S.Z,{updateAttributes:t,currentImageUrl:n.src,defaultQuery:n.query,randomQueries:eL,provider:"lexica",enablePagination:!1}),(0,a.jsx)(X.xu,{width:"100%",textAlign:"center",padding:"10px",paddingTop:"30px",children:(0,a.jsx)(j.x,{fontSize:"sm",color:"gray.500",children:(0,a.jsx)(i.cC,{id:"rbDrRg",components:{0:(0,a.jsx)(b.r,{href:"https://lexica.art",target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"underline"}})}})})})]})},featureFlag:"lexicaImageSearch",label:()=>r.ag._({id:"cSVX+F"}),description:()=>r.ag._({id:"RdyK6U"}),image:{src:"/_next/static/media/lexica.8699ff3f.png",height:48,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAG1BMVEVMaXG5ubm/v782NjYNDQ0UFBSvr6+mpqa0tLSoMQVUAAAACXRSTlMAr+A2F1nir64H2A2bAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAI0lEQVR4nGNgYGBmZoAAdjYog5GJMIODjYUFzGBmZWVlYQAACCkATB93BkwAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},keywords:["ai","lexica","stable diffusion","generated","photo","photography","image"]},eW=E.lazy(()=>Promise.all([n.e(7576),n.e(5053)]).then(n.bind(n,35053)).then(e=>({default:e.LoomPanel}))),eU={key:"video.loom",Panel:e=>(0,a.jsx)(E.Suspense,{fallback:(0,a.jsx)(A.$,{size:"md"}),children:(0,a.jsx)(eW,{...e})}),label:()=>r.ag._({id:"yrPgHm"}),description:()=>r.ag._({id:"NMTPSf"}),icon:o.IyC,image:{src:"/_next/static/media/loom.a033778e.svg",height:190,width:190,blurWidth:0,blurHeight:0},urlRegex:/^https:\/\/www.loom.com/,rewriteEmbedUrl:e=>{if(!e.includes("/embed/"))return e;let t=new URL(e);return t.searchParams.set("hideEmbedTopBar","true"),t.toString()},keywords:["video","recording","loom","screen"]},eH={key:"embed.microsoft.office",Panel:e=>{let{editor:t,updateAttributes:n,currentAttributes:l}=e,o=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:o,updateAttributes:n,placeholder:r.ag._({id:"ORLSr4"})}),(0,a.jsx)(y,{guideLink:"https://support.microsoft.com/en-us/office/embed-a-word-document-in-your-blog-0faa0253-2751-44bf-8486-ea7837fe7db1",extraMessage:(0,a.jsx)(i.cC,{id:"2csAkv"}),providerName:"Word, Excel, or PowerPoint"}),o&&(0,a.jsx)(u.E,{editor:t,updateAttributes:n,currentAttributes:l})]})},label:()=>"Office 365",description:()=>r.ag._({id:"cbRq5v",values:{MICROSOFT_PROPER_NOUN:"Microsoft",WORD_PROPER_NOUN:"Word",POWERPOINT_PROPER_NOUN:"PowerPoint",EXCEL_PROPER_NOUN:"Excel",ONENOTE_PROPER_NOUN:"OneNote"}}),icon:x.hVS,image:{src:"/_next/static/media/office-365.868363a8.svg",height:48,width:48,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/.*\.sharepoint\.com\//,canEmbedPrivate:!0,iframeOptions:{allowPopups:!0},rewriteEmbedUrl:e=>{let t=new URL(e.replace("/:p:/r","").replace("/doc2.aspx","/Doc.aspx"));return t.searchParams.set("action","embedview"),t.searchParams.delete("mobileredirect"),t.toString()},keywords:["word","excel","powerpoint","office","microsoft","msoffice"]},eG={label:()=>r.ag._({id:"yA1Sb+",values:{MIRO_PROPER_NOUN:"Miro"}}),key:"embed.miro",icon:o.EhQ,description:()=>r.ag._({id:"Px3dYF"}),image:{src:"/_next/static/media/miro.78878247.svg",height:2500,width:2500,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/miro.com/,Panel:e=>{let{editor:t,updateAttributes:n,currentAttributes:l}=e,o=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:o,updateAttributes:n,placeholder:"https://www.miro.com/..."}),(0,a.jsx)(y,{guideLink:"https://help.miro.com/hc/en-us/articles/360016335640-How-to-embed-editable-boards-into-websites",providerName:"Miro"}),o&&(0,a.jsx)(u.E,{editor:t,updateAttributes:n,currentAttributes:l})]})},canEmbedPrivate:!0,forcePreviewOnMobile:!0,iframeOptions:{allowPopups:!0},keywords:["whiteboard","workshop","brainstorm","miro"],rewriteEmbedUrl:e=>e.includes("/embed/")||e.includes("/live-embed/")?e:e.replace("/board/","/embed/")},eq={label:()=>r.ag._({id:"1r0gtu"}),key:"embed.pdf",description:()=>r.ag._({id:"2SUV3x"}),icon:o.gSj,Panel:e=>{let{editor:t,updateAttributes:n,currentAttributes:l}=e,o=(0,_.CG)(R.KV),m=(0,d.NW)(l),f=(0,E.useRef)(null),p=(0,E.useCallback)(e=>{let{tempUrl:t,file:l}=e,a=(0,T.B0)(l);f.current=t,n({...a,url:t})},[n]),g=(0,E.useCallback)((e,n)=>{if(!t)return;let l=f.current,a=l||n;(0,T.QZ)(t,a,e),f.current=null},[t]);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:m,updateAttributes:n,placeholder:r.ag._({id:"gzZk6e"})}),m&&(0,a.jsx)(u.E,{editor:t,updateAttributes:n,currentAttributes:l}),(0,a.jsx)(B.X,{size:"md",children:(0,a.jsx)(i.cC,{id:"ONWvwQ"})}),o&&(0,a.jsx)(W.u,{onUploadSuccess:g,onUploadStart:p,orgId:o,uploadType:"doc",showTip:!1,dropHereText:r.ag._({id:"ByKyau",values:{0:"%{browse}"}}),editType:"node"})]})},urlRegex:/\.pdf$/,image:{src:"/_next/static/media/PDF_icon.2d280cf2.svg",height:512,width:512,blurWidth:0,blurHeight:0},featureFlag:"uploadPDF",iframeOptions:{noSandbox:!0},downloadable:!0,keywords:["pdf","doc","upload","file"]};var eV=n(54933);let eK={key:"embed.microsoft.powerbi",Panel:e=>{let{editor:t,updateAttributes:n,currentAttributes:l}=e,o=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:o,updateAttributes:n,placeholder:r.ag._({id:"ORLSr4"})}),o&&(0,a.jsx)(u.E,{editor:t,updateAttributes:n,currentAttributes:l})]})},label:()=>"PowerBI",image:{src:"/_next/static/media/powerbi.94baf198.svg",height:630,width:630,blurWidth:0,blurHeight:0},icon:eV.t5N,urlRegex:/^https?:\/\/app\.powerbi\.com\//,canEmbedPrivate:!0,iframeOptions:{allowPopups:!0},keywords:["microsoft","powerbi"]},eY={label:()=>"Spotify",key:"video.spotify",keywords:["spotify","music","podcast","playlist","song","album"],description:()=>r.ag._({id:"lrKTd0"}),icon:x.Ha7,image:{src:"/_next/static/media/spotify.2dd06f33.svg",height:1333,width:1333,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/open.spotify.com/,Panel:e=>{let{editor:t,updateAttributes:n,currentAttributes:l}=e,o=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:o||"",updateAttributes:n,placeholder:"https://open.spotify.com/..."}),(0,a.jsx)(y,{guideLink:"https://artists.spotify.com/en/help/article/embedded-players-follow-buttons",providerName:"Spotify",extraMessage:(0,a.jsx)(i.cC,{id:"ItAUcI"})}),o&&(0,a.jsx)(u.E,{editor:t,updateAttributes:n,currentAttributes:l})]})},preferHtml:!0},e$={label:()=>"Tally Form",key:"embed.tally",description:()=>r.ag._({id:"Qzo1BZ"}),icon:o.Lc0,image:{src:"/_next/static/media/tally.dd047104.png",height:512,width:512,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAOVBMVEVMaXHpG9s0E1swDVk0E1s0El/0GeU3H14yEVszEl03El8jElM0El5tFIXjG9v/HO6cF6Y5E2A9E2gHheKrAAAAEnRSTlMAVyclXeYiCNf+fdCl9uif/aFquzWYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAANElEQVR4nC3FWRLAEBRFwWPKcxNi2P9iFaV/Grvw+fBQpjQHEJLUHcCr+rcHsPS5PcR4uhY8sgFUhN0cjQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},urlRegex:/^https?:\/\/tally.so/,Panel:e=>(0,a.jsx)(m,{...e,urlPlaceholder:"https://tally.so/..."}),defaultDisplayStyle:"inline",inlineInteractive:!0,categories:["form"],iframeOptions:{allowPopups:!0}},eJ=/\/video\/(\d+)/,eX={label:()=>"TikTok",key:"video.tiktok",icon:x.ABo,image:{src:"/_next/static/media/tiktok.cbd7f7ff.svg",height:256,width:256,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/www.tiktok.com/,Panel:e=>{let{editor:t,updateAttributes:n,currentAttributes:l}=e,o=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:o,updateAttributes:n,placeholder:"https://www.tiktok.com/..."}),(0,a.jsx)(y,{guideLink:"https://developers.tiktok.com/doc/embed-videos/",providerName:"TikTok"}),o&&(0,a.jsx)(u.E,{editor:t,updateAttributes:n,currentAttributes:l})]})},defaultDisplayStyle:"inline",iframeOptions:{allowPopups:!0},preferHtml:!0,rewriteEmbedUrl(e){var t;let n=null===(t=e.match(eJ))||void 0===t?void 0:t[1];return n?"https://www.tiktok.com/embed/v2/".concat(n):e},keywords:["tiktok","video","social"],minWidth:"325px",maxWidth:"325px"},eZ={key:"embed.twitter",Panel:e=>{let{editor:t,updateAttributes:n,currentAttributes:l}=e,o=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:o,updateAttributes:n,placeholder:"https://twitter.com/..."}),o&&(0,a.jsx)(u.E,{editor:t,updateAttributes:n,currentAttributes:l})]})},label:()=>"Tweet",icon:x.mdU,image:{src:"/_next/static/media/twitter.c7499c85.svg",height:1110,width:1110,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/(www\.)?twitter\.com/,keywords:["twitter","tweet"],preferHtml:!0,defaultDisplayStyle:"inline",inlineInteractive:!0},eQ={label:()=>"Typeform",key:"embed.typeform",description:()=>r.ag._({id:"yjYR46"}),icon:eV.Lc0,image:{src:"/_next/static/media/typeform.6d709d2e.svg",height:800,width:800,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/([a-z0-9]*\.)?typeform\.com/,Panel:e=>(0,a.jsx)(m,{...e,urlPlaceholder:"https://typeform.com/..."}),defaultDisplayStyle:"inline",inlineInteractive:!0,categories:["form"],iframeOptions:{allowPopups:!0},keywords:["typeform","form","survey","questionnaire"]},e0="Unsplash",e1=["wallpaper","textures","architecture","background","nature","gradient","experimental","animals","california","flowers","relax","sky","water","pattern","abstract"],e2={key:"image.unsplash",Panel:e=>{let{updateAttributes:t,currentAttributes:n}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(S.Z,{updateAttributes:t,currentImageUrl:n.src,defaultQuery:n.query,randomQueries:e1,provider:"unsplash"}),(0,a.jsx)(X.xu,{width:"100%",textAlign:"center",padding:"10px",paddingTop:"30px",children:(0,a.jsx)(j.x,{fontSize:"sm",color:"gray.500",children:(0,a.jsx)(i.cC,{id:"k16iQH",values:{UNSPLASH_PROPER_NOUN:e0},components:{0:(0,a.jsx)(b.r,{href:"https://unsplash.com",target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"underline"}})}})})})]})},label:()=>r.ag._({id:"olwQVc",values:{UNSPLASH_PROPER_NOUN:e0}}),description:()=>r.ag._({id:"tQSDXx"}),icon:x.WxC,image:{src:"/_next/static/media/unsplash.1957709b.svg",height:24,width:24,blurWidth:0,blurHeight:0},keywords:["stock","photo","photography","image","unsplash"],resizeToFit:!0},e4={key:"video.vimeo",Panel:e=>{let{editor:t,updateAttributes:n,currentAttributes:l}=e,o=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:o,updateAttributes:n,placeholder:"https://vimeo.com/..."}),o&&(0,a.jsx)(u.E,{editor:t,updateAttributes:n,currentAttributes:l})]})},label:()=>r.ag._({id:"M1Uyl1"}),icon:x.XZc,image:{src:"/_next/static/media/vimeo.4de20653.svg",height:48,width:48,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/(player\.)?vimeo\.com/,keywords:["vimeo","video"]};var e5=n(83230),e3=n(82713);let e9={label:()=>r.ag._({id:"/hLjBB"}),description:()=>r.ag._({id:"wRlboO"}),key:"embed.custom",icon:o.m6E,Panel:e=>{let{editor:t,updateAttributes:n,currentAttributes:l}=e,{proxy:o,displayStyle:m}=l,f=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:f||"",updateAttributes:n,placeholder:r.ag._({id:"gzZk6e"})}),f&&m&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e3.X,{isChecked:o,onChange:e=>n({proxy:e.target.checked}),children:(0,a.jsx)(i.cC,{id:"Fl9cgp"})}),(0,a.jsx)(j.x,{fontSize:"sm",color:"gray.500",mt:-2,children:(0,a.jsx)(i.cC,{id:"J87/8N"})})]}),f&&(0,a.jsx)(u.E,{editor:t,updateAttributes:n,currentAttributes:l})]})},keywords:["webpage","website","app","embed","iframe"]},e8={label:()=>"Wistia",key:"video.wistia",icon:o.IyC,image:{src:"/_next/static/media/wistia.613af213.svg",height:1899,width:2500,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/fast.wistia.net/,Panel:e=>{let{editor:t,updateAttributes:n,currentAttributes:l}=e,o=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:o,updateAttributes:n,placeholder:"{let{editor:t,updateAttributes:n,currentAttributes:l}=e,o=(0,d.NW)(l);return(0,a.jsxs)(s.g,{align:"flex-start",spacing:4,children:[(0,a.jsx)(c.v,{currentUrl:o,updateAttributes:n,placeholder:"https://www.youtube.com/watch?v=..."}),o&&(0,a.jsx)(u.E,{editor:t,updateAttributes:n,currentAttributes:l})]})},label:()=>r.ag._({id:"7J5KkU"}),icon:x.opf,image:{src:"/_next/static/media/youtube.b0610934.svg",height:461,width:461,blurWidth:0,blurHeight:0},urlRegex:/^https?:\/\/www\.youtube\.com/,keywords:["youtube","video"]},e6=[C,en,ei,e5.Q,eD,e2,e7,eU,q,eo,ea,e9,H,l.N,eH,eK,eZ,e4,G,eq,eG,v,k,e8,eY,eX,eR,eP,eT.j,z,eQ,eN,e$,$],te=Object.fromEntries(Object.values(e6).flat().map(e=>[e.key,e]))},16494:function(e,t,n){"use strict";var l,a;n.d(t,{D:function(){return l}}),(a=l||(l={}))[a.Done=0]="Done",a[a.Uploading=1]="Uploading",a[a.Error=2]="Error",a[a.Queued=3]="Queued"},50279:function(e,t,n){"use strict";n.d(t,{C:function(){return o},K:function(){return a}});var l=n(61185);let a=e=>{var t,n,l,a,o,i;return(null===(t=e.meta)||void 0===t?void 0:t.description)||(null===(n=e.meta)||void 0===n?void 0:n.alt_description)||(null===(l=e.meta)||void 0===l?void 0:l.title)||(null===(a=e.meta)||void 0===a?void 0:a.snippet)||(null===(i=e.meta)||void 0===i?void 0:null===(o=i.tags)||void 0===o?void 0:o.join(", "))||e.query},o=(e,t,n)=>{let a={src:e.imageUrl,tempUrl:e.thumbnailUrl,meta:{height:e.height,width:e.width,description:e.description,alt_description:e.altDescription,title:e.title,snippet:e.snippet},query:t,source:l.Q[n]};return"aiGenerated"===n&&(a.aiParams={prompt:e.aiPrompt,height:e.height,width:e.width,model:e.aiModel,stylePreset:e.aiStylePreset}),a}},11550:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});var l=n(18292),a=n(2784),o=n(43997),i=n(87827);let r=e=>{let{id:t,...n}=e,{isOpen:r,onOpen:s,onClose:d}=(0,l.q)(n),u=(0,o.I0)();return(0,a.useEffect)(()=>{t&&u((0,i.VN)({id:t,isOpen:r}))},[r,u,t]),(0,a.useEffect)(()=>()=>{t&&u((0,i.VN)({id:t,isOpen:!1}))},[u,t]),{isOpen:r,onOpen:s,onClose:d}}},87827:function(e,t,n){"use strict";n.d(t,{I6:function(){return s},VN:function(){return r}});var l=n(58125);let a={openModals:{}},o=(0,l.oM)({name:"ModalState",initialState:a,reducers:{reset:()=>a,setModalOpen(e,t){let{id:n,isOpen:l}=t.payload;e.openModals[n]=l}}}),{reset:i,setModalOpen:r}=o.actions,s=o.reducer},62131:function(e,t,n){"use strict";n.d(t,{ER:function(){return s},U:function(){return d}});var l=n(52322),a=n(82554),o=n(57124),i=n(1163),r=n(17133);let s=e=>{let{product:t="pro",...n}=e;return(0,l.jsx)(a.C,{size:"sm",variant:"solid",bottom:0,right:0,bg:"pro"===t?"linear-gradient(97deg, #3300D9 -10%, #9D20C9 56.82%, #DF7A6C 120%)":"trueblue.500",color:"white",textShadow:"0px 0px 1px rgba(0, 0, 0, .5)",fontSize:"11px",...n,children:(0,r.KL)()[t].name})},d=e=>{let{workspace:t,productFeature:n,...a}=e,r=(0,o.Y)(n,t),d=(0,i.I4)(n);return r||null===d?null:(0,l.jsx)(s,{variant:"solid",product:d,...a})}},17133:function(e,t,n){"use strict";n.d(t,{KL:function(){return y}});var l=n(52322),a=n(28535),o=n(43297),i=n(77533),r=n(97010),s=n(42946),d=n(49929),u=n(5879),c=n(87254);n(57124),n(94090),n(76282);var m=n(19431),f=n(94199),p=n(26773);let g=()=>(0,l.jsx)(a.xu,{color:"trueblue.500",children:(0,l.jsx)(d.G,{icon:s.ddb,fixedWidth:!0})}),h=e=>{let{children:t}=e;return(0,l.jsx)(a.xu,{as:"span",bg:"var(--chakra-colors-gradient-blue-to-orange)",color:"transparent",backgroundClip:"text",children:t})},b=e=>{let{premium:t}=e,n=Object.entries(p.Iw).filter(e=>{let[n]=e;return t==(0,p.Om)(n)});return(0,l.jsxs)(o.K,{spacing:"0",fontSize:"xs",children:[(0,l.jsx)(i.x,{color:"gray.400",children:(0,l.jsx)(u.cC,{id:"dUDTUc"})}),(0,l.jsx)(r.aV,{children:n.map(e=>{let[t,n]=e;return(0,p.Hr)(t)?(0,l.jsx)(r.HC,{children:n.label()},t):null})})]})},y=()=>({free:{name:f.AU,description:c.ag._({id:"aRPU5Y"}),buttonVariant:"plain",backgroundColor:"gray.50",featureHeading:c.ag._({id:"/tZd0D"}),features:[{label:c.ag._({id:"BTeHnk"}),icon:(0,l.jsx)(d.G,{icon:s.ddb,fixedWidth:!0})},{label:c.ag._({id:"uCXqkM",values:{MAX_CARDS_FREE:10}})},{label:c.ag._({id:"5Ag7Sd"}),infoTip:(0,l.jsx)(b,{premium:!1})},{label:c.ag._({id:"0k1jtM",values:{GAMMA_ARTIFACT_PROPER_NOUN_PLURAL:f.aq}})},{label:c.ag._({id:"cZblCr",values:{GAMMA_PROPER_NOUN:f.N6}})},{label:c.ag._({id:"ZLSOt4",values:{GAMMA_PROPER_NOUN:f.N6}})}]},plus:{name:f.k3,description:c.ag._({id:"DPJB4/",values:{GAMMA_PROPER_NOUN:f.N6}}),buttonVariant:"outline",titleColor:"trueblue.600",descriptionColor:"trueblue.700",backgroundColor:"trueblue.50",featureHeading:c.ag._({id:"/tZd0D"}),features:[{label:(0,l.jsx)(h,{children:(0,l.jsx)(u.cC,{id:"lgBuJ/"})}),icon:(0,l.jsx)(g,{})},{label:(0,l.jsx)(h,{children:(0,l.jsx)(u.cC,{id:"0tfXJh",values:{MAX_CARDS_PLUS:15}})}),icon:(0,l.jsx)(g,{})},{label:(0,l.jsx)(h,{children:(0,l.jsx)(u.cC,{id:"5Ag7Sd"})}),icon:(0,l.jsx)(g,{}),infoTip:(0,l.jsx)(b,{premium:!1})},{label:c.ag._({id:"alnKae",values:{GAMMA_PROPER_NOUN:f.N6}})},{label:c.ag._({id:"XTiWyP"})},{label:c.ag._({id:"+vHwcE"})},{label:c.ag._({id:"k62X/2"})},{label:c.ag._({id:"F90T/z",values:{FREE_PROPER_NOUN:f.AU}})}],dontChurnMessage:c.ag._({id:"N4ycY7"})},pro:{name:f.ML,description:c.ag._({id:"Gf3YIX"}),titleColor:"orchid.600",descriptionColor:"orchid.700",buttonVariant:"solid",backgroundGradient:"linear-gradient(134deg, rgba(234, 231, 255, 1) 10%, rgba(181,57,224,0.15) 60%, rgba(223,122,108,0.15) 100%)",backgroundImage:"url(https://cdn.gamma.app/zc87vhr30n8uf3n/bf962e249e17461184fafb003ac42263/original/stars-3.png)",borderColor:"var(--chakra-colors-gradient-blue-to-orange)",featureHeading:c.ag._({id:"/tZd0D"}),features:[{label:(0,l.jsx)(h,{children:(0,l.jsx)(u.cC,{id:"lgBuJ/"})}),icon:(0,l.jsx)(g,{})},{label:(0,l.jsx)(h,{children:(0,l.jsx)(u.cC,{id:"37jLpL",values:{MAX_CARDS_PRO:30}})}),icon:(0,l.jsx)(g,{})},{label:(0,l.jsx)(h,{children:(0,l.jsx)(u.cC,{id:"cIxGNm"})}),icon:(0,l.jsx)(g,{}),infoTip:(0,l.jsx)(b,{premium:!0})},{label:(0,l.jsx)(h,{children:(0,l.jsx)(u.cC,{id:"RWbTop"})}),icon:(0,l.jsx)(g,{}),infoTip:c.ag._({id:"B0zRAv",values:{MAX_TOKENS_PRO:1e4}})},{label:c.ag._({id:"alnKae",values:{GAMMA_PROPER_NOUN:f.N6}})},{label:c.ag._({id:"u+YbyB"}),infoTip:c.ag._({id:"72pgCR",values:{GAMMA_PROPER_NOUN:f.N6}})},{label:c.ag._({id:"E3KfxC"})},{label:c.ag._({id:"sjfiEU"})},{label:c.ag._({id:"U0iwUz"})},{label:c.ag._({id:"1uX8JV",values:{PLUS_PROPER_NOUN:f.k3}})}],badgeLabel:c.ag._({id:"gL/sdV"}),dontChurnMessage:c.ag._({id:"I3/YZS"})}});m.Fa6.Usd,m.C_B.Month,m.Fa6.Usd,m.C_B.Year,m.Fa6.Usd,m.C_B.Month,m.Fa6.Usd,m.C_B.Year},2953:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var l=n(2784);let a=l.createContext({openUpsellModal:()=>{},product:null,subscription:void 0,proYearlyProductPrice:void 0}),o=()=>{let e=(0,l.useContext)(a);return e}},81640:function(e,t,n){"use strict";n.d(t,{z:function(){return l.z}});var l=n(2953)},57124:function(e,t,n){"use strict";n.d(t,{Y:function(){return r},dU:function(){return d},fZ:function(){return u},uL:function(){return s}}),n(14274);var l=n(42111),a=n(36651),o=n(32670),i=n(1163);let r=(e,t)=>{let{currentWorkspace:n}=(0,a.SE)(),o=t||n,i=(0,l.ye)("hasProAccess"),r=(0,a.py)(e,o);return!!o&&(i||r)},s=(e,t)=>{let n=(0,o.ts)(),i=a.gj.createForUser(n);if(t||(t=(0,o.rW)()),!t)return!1;let r=i.can(e,t),s=l.VH.get("hasProAccess");return s||r},d=e=>{let t=(0,l.ye)("hasProAccess"),n=(0,a.py)("hide_gamma_badge",e);return e?!!n||t:void 0},u=e=>{let t=(0,i.K9)(e);return!!t}},51715:function(e,t,n){"use strict";n.d(t,{dU:function(){return F.dU},Y:function(){return F.Y}});var l,a=n(52322),o=n(97217),i=n(17993),r=n(81540),s=n(74409),d=n(77533),u=n(28535),c=n(62614),m=n(82655),f=n(49929),p=n(5879);n(2784),n(97763),n(42111);var g=n(90221),h=n(944),b=n(90383);let y=()=>{let e=!(0,g.l6)()&&!(0,b.wg)();return(0,h.gF)()&&e?(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:'\n\n'}}):null};var v=n(97729),k=n.n(v);let x=()=>{let e=!(0,g.l6)()&&!(0,b.wg)();return(0,h.gF)()&&e?(0,a.jsxs)(k(),{children:[(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:"\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\n\ngtag('config', 'AW-11368900852');\n"}}),(0,a.jsx)("script",{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=AW-11368900852"}),(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n})(window,document,'script','dataLayer','GTM-TGJXRPT');\n"}})]}):null},w=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x,{}),(0,a.jsx)(y,{})]});var S=n(94199);n(81640),n(1163),n(11050),n(32670),n(14274),n(19431),new(n(76919)).v,n(76332),n(16893),n(50245);var C=n(17133),z=n(59576),A=n(7165);let I=(0,z.m)("div",{baseStyle:{w:"full",h:"full",rounded:"full",pos:"absolute",top:"0",right:"0",bottom:"0",left:"0"}});(0,A.E)(I);var j=n(28165);n(94523),n(39097),n(76249),n(36651),(0,j.F4)({"0%":{maskPosition:"0% 50%"},"50%":{maskPosition:"100% 50%"},"100%":{maskPosition:"0% 50%"}}),n(18733),n(88640),l=e=>{let{isVerifying:t=!1,product:n,onClick:l}=e,g=n?(0,C.KL)()[n].name:"";return(0,a.jsx)(o.f,{children:t?(0,a.jsxs)(i.g,{py:12,spacing:4,children:[(0,a.jsx)(r.$,{size:"lg"}),(0,a.jsx)(s.X,{fontFamily:"p22-mackinac-pro",letterSpacing:"tight",size:"lg",fontWeight:"semibold",children:(0,a.jsx)(p.cC,{id:"kzd5yt"})}),(0,a.jsx)(d.x,{children:(0,a.jsx)(p.cC,{id:"Nwo9pM"})})]}):(0,a.jsxs)(i.g,{py:8,spacing:10,children:[(0,a.jsx)(u.xu,{color:"green.500",children:(0,a.jsx)(f.G,{icon:m.fV7,size:"4x"})}),(0,a.jsx)(s.X,{fontFamily:"p22-mackinac-pro",letterSpacing:"tight",size:"lg",fontWeight:"semibold",children:(0,a.jsx)(p.cC,{id:"7Xmwpp"})}),(0,a.jsx)(c.z,{size:"lg",variant:"solid",onClick:l,children:(0,a.jsx)(p.cC,{id:"SGsdhu",values:{GAMMA_PROPER_NOUN:S.N6,productName:g}})})]})})},e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w,{}),(0,a.jsx)(l,{...e})]});var F=n(57124)},1163:function(e,t,n){"use strict";n.d(t,{I4:function(){return c},K9:function(){return m},aS:function(){return s},cT:function(){return r},kK:function(){return i}});var l=n(23347),a=n(76332);n(76249);let o=[a.Fa6.Jpy,a.Fa6.Krw],i=e=>e&&o.includes(e)?1:100,r=e=>e===a.Fa6.Twd,s=e=>100>i(e)?"standard":"compact",d=e=>{var t;return!!(null==e?void 0:null===(t=e.products)||void 0===t?void 0:t.some(e=>"pro"===e))},u=e=>{var t;return!!(null==e?void 0:null===(t=e.products)||void 0===t?void 0:t.some(e=>"plus"===e))},c=e=>l.ProductFeatureMap.plus.includes(e)?"plus":l.ProductFeatureMap.pro.includes(e)?"pro":null,m=e=>d(e)?"pro":u(e)?"plus":null},20336:function(e,t,n){"use strict";n.d(t,{V:function(){return s}});var l=n(52322),a=n(38035),o=n(77533),i=n(5879),r=n(2784);let s=(0,r.memo)(e=>{let{label:t,isConnected:n=!0,...r}=e;return n?null:(0,l.jsxs)(a.k,{bg:"gray.50",p:4,borderRadius:"lg",textAlign:"center",alignItems:"center",direction:"column",...r,children:[(0,l.jsx)(o.x,{fontSize:"sm",fontWeight:"bold",children:(0,l.jsx)(i.cC,{id:"ysdDIA"})}),(0,l.jsx)(o.x,{fontSize:"sm",children:t})]})});s.displayName="OfflineInfoBox"},10653:function(e,t,n){"use strict";n.d(t,{nm:function(){return o}});var l=n(2784);let a=(0,l.createContext)(void 0),o=()=>(0,l.useContext)(a)},98701:function(e,t,n){"use strict";n.d(t,{s:function(){return f},OC:function(){return m}});var l=n(58125);let a={left:{component:null,isOpen:!1,width:340,disableTransition:!1},right:{component:null,isOpen:!1,width:400,disableTransition:!1}},o=(0,l.oM)({name:"Panels",initialState:a,reducers:{initializePanel(e,t){let{component:n}=t.payload,l=n.panelPosition;e[l].component=n},openPanel(e,t){let{component:n,disableTransition:l}=t.payload,a=n.panelPosition;e[a].component=n,e[a].isOpen=!0,"left"===a?e.right.isOpen=!1:e.left.isOpen=!1,e[a].disableTransition=!!l},closePanel(e,t){e[t.payload.position].isOpen=!1},setPanelWidth(e,t){e[t.payload.position].width=t.payload.width},resetPanels:()=>a}}),{closePanel:i,openPanel:r,setPanelWidth:s,resetPanels:d,initializePanel:u}=o.actions,c=e=>t=>!!t.Panels[e].isOpen,m=e=>t=>{let n=t.Panels[e.panelPosition].component;return c(e.panelPosition)(t)&&n===e},f=o.reducer},19902:function(e,t,n){"use strict";n.d(t,{K:function(){return b}});var l=n(21805),a=n(30733),o=n.n(a),i=n(14274),r=n(90221),s=n(90383),d=n(18733);let u=e=>c(e),c=e=>{if(!e)return null;let t={},n=e.split("?");if(n.length>1){let e=n[1],l=e.split("&");for(let e of l){let[n,l]=e.split("=");if(n.startsWith("utm_")){let e=n.replace("utm_","");"campaign"===e?t.name=decodeURIComponent(l):t[e]=decodeURIComponent(l)}}}return 0===Object.keys(t).length?null:t},m=()=>{var e,t,n,l;if(!i.v.IS_CLIENT_SIDE)return{};let a=r.MP.getBrowser(),o=r.MP.getDevice(),s=r.MP.getOS(),d={timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,userAgent:navigator.userAgent,locale:navigator.language,browser:{name:a.name,version:a.version}};return a&&(d.browser={name:a.name,version:a.version}),o&&o.type&&("device"in d||(d.device={}),(e=d.device).type||(e.type=o.type),(t=d.device).model||(t.model=o.model)),s&&("os"in d||(d.os={}),(n=d.os).name||(n.name=s.name),(l=d.os).version||(l.version=s.version)),d},f="gammaUserMetadata",p=o()(()=>m()),g=()=>!(0,r.l6)()&&!(0,s.wg)();class h{async doFetch(){if(!this.enabled)return Promise.reject("User metadata fetching not enabled");let e=l.Z.get("lastReferrer"),t=l.Z.get("firstPageSeen"),n=u(t),a=await fetch("https://".concat(i.v.EVENT_TRACKING_ENDPOINT,"/user-context"),{body:JSON.stringify({context:{timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,userAgent:navigator.userAgent,locale:navigator.language,lastReferrer:e,firstPageSeen:t,campaign:n}}),headers:{"Content-Type":"text/plain"},method:"POST"});return a.ok?await a.json():(console.error("[UserMetadataStore] Failed to fetch user metadata",a.statusText),Promise.reject())}get(){let e=d.W.getItem(f);if(!e)return p();try{return JSON.parse(e)||p()}catch(e){}return p()}fetch(){return this.promise||(this.promise=this.doFetch(),this.promise.then(e=>{e&&d.W.setItem(f,JSON.stringify(e))}).catch(()=>{})),this.promise}constructor(){this.enabled=g(),this.promise=null}}let b=o()(()=>new h)},35121:function(e,t,n){"use strict";n.d(t,{H:function(){return eN}});var l=n(2784),a=n(98701),o=n(94090),i=n(93982),r=n(12825),s=n(52322),d=n(38035),u=n(81540),c=n(42946),m=n(49929),f=n(94523),p=n(7165),g=n(87202),h=n(43997),b=n(41774),y=n(42111),v=n(37295);let k=l.forwardRef((e,t)=>{let{children:n,...l}=e;return(0,s.jsx)(d.k,{ref:t,width:"100%",...l,children:n})});k.displayName="Panel";var x=n(84698),w=n(22265),S=n(50260),C=n(61840),z=n(22569),A=n(62685),I=n(90604),j=n(90221),F=n(944),B=n(50019),M=n(74409),E=n(36474),_=n(81672),O=n(84010),P=n(5879),T=n(87254),R=n(28846),N=n(52797),L=n(11050),D=n(66028),W=n(62614),U=n(32899),H=n(68023),G=n(96933);(0,H.G)((e,t)=>{let{children:n,icon:l,onClick:a,rightIcon:o,variant:i,...r}=e,d=(0,G.i)(["xs","sm"]),u=(0,B.ff)("blackAlpha.100","whiteAlpha.100"),c="solid"!==i?{variant:"ghost",colorScheme:"gray",_hover:{bg:u}}:{};return(0,s.jsx)(W.z,{ref:t,variant:i,fontWeight:"normal",size:d,leftIcon:l,onClick:a,rightIcon:o,...c,...r,children:n})});let q=(0,H.G)((e,t)=>{let{icon:n,variant:l,...a}=e,o=(0,B.ff)("blackAlpha.100","whiteAlpha.100"),i="solid"!==l?{variant:"ghost",colorScheme:"gray",_hover:{bg:o}}:{};return(0,s.jsx)(U.h,{ref:t,variant:l,fontWeight:"normal",size:"sm",icon:n,...i,...a})});var V=n(54073),K=n.n(V),Y=n(35759),$=n(72338),J=n(91073);let X=(e,t)=>{let n={},l=(0,$.N2)(t,J.KH);if(!l)return[];for(let{node:t,pos:a}of l)n[t.attrs.id]=[e+a,e+a+t.nodeSize];return Object.values(n)},Z=(e,t,n)=>{let{to:l,from:a}=n;return e===a&&t===l||e(0,$.N2)(e,J.KH).map(e=>e.node.attrs.id),ee=(e,t,n)=>{let l=n.start(),a=l+n.node().nodeSize,o=X(l+1,t),i=Z(l,a,e),r=o.find(t=>{let[n,l]=t;return Z(n,l,e)});return i?r?"child":"self":"none"},et=e=>{let{editorMode:t,resolved:n,node:l,selection:a}=e,r=(0,o.CG)(i.i2);if(!n)return"none";if(t===I.q.DOC_VIEW)return ee(a,l,n);if(t===I.q.SLIDE_VIEW&&r){let e=Q(l);return r===l.attrs.id?"self":e.includes(r)?"child":"none"}return"none"},en=e=>{let[t,n]=(0,l.useState)(),[a,o]=(0,l.useState)(null),[i,r]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{if(!e)return;let t=e=>{let{editor:t}=e;n(t.getJSON())},l=e=>{let{editor:t,transaction:n}=e;o(t.state.selection),r((null==n?void 0:n.getMeta(Y.C))==="toc")};t({editor:e}),l({editor:e});let a=K()(t,200,{leading:!0,maxWait:500}),i=K()(l,200,{leading:!0});return e.on("update",a),e.on("selectionUpdate",i),()=>{e.off("update",a),e.off("selectionUpdate",i)}},[e]),{content:t,selection:a,isSelectionOriginTOC:i}};var el=n(28535),ea=n(96255),eo=n(92843),ei=n(20103),er=n(14274),es=n(48776),ed=n(20888),eu=n(7628),ec=n(36651),em=n(75780),ef=n(78462),ep=n(27988),eg=n(87651),eh=n(88241),eb=n(35741),ey=n(16426),ev=n(10653),ek=n(77533),ex=n(54933);let ew=(0,l.memo)(e=>{let{showDragHandles:t,overlap:n,onSelectClick:l,title:a,hasChildren:o,isExpanded:i,setIsExpanded:r,showDropBorder:d,previewRef:u,editorMode:f,editor:p,docId:g,cardId:h,getPos:b,onMouseEnter:y,onMouseLeave:v,isHovering:k,isTocPanelOpen:x}=e,w="child"===n,S="self"===n,{colorMode:C}=(0,B.If)(),z="dark"===C;return(0,s.jsxs)(W.z,{ref:u,onMouseEnter:y,onMouseLeave:v,className:"toc-item",w:"100%",_hover:{...S?{}:{bg:z?"indigo.700":"indigo.50"}},p:1.5,pl:t?5:1.5,height:"auto",textAlign:"left",cursor:"pointer",borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",role:"group",onClick:e=>{l(),e.preventDefault(),e.stopPropagation()},variant:"ghost",fontWeight:"500",colorScheme:S?"trueblue":"inherit","data-testid":"toc-item-button",...d?{outline:"2px solid",outlineColor:z?"trueblue.800":"trueblue.100"}:{},children:[t&&(0,s.jsx)(el.xu,{opacity:"0",display:"flex",mr:"0",alignItems:"center",color:"gray.400",borderRadius:"md",_groupHover:{opacity:1,cursor:"grab"},_hover:{bg:z?"whiteAlpha.100":"gray.100",color:"gray.800"},transitionProperty:"common",transitionDuration:"normal",pos:"absolute",top:0,bottom:0,left:0,pl:2,pr:1.5,children:(0,s.jsx)(m.G,{icon:ex.Okg,size:"sm"})}),o?(0,s.jsx)(U.h,{icon:(0,s.jsx)(m.G,{icon:c.ptq}),size:"xs",variant:"ghost","aria-label":"collapse",isRound:!0,"data-testid":"toc-item-expand",transform:i?"rotate(0deg)":"rotate(-90deg)",onClick:e=>{e.preventDefault(),e.stopPropagation(),r(!i)},opacity:o?1:0,pointerEvents:o?"auto":"none",bg:w&&!i?z?"trueblue.800":"trueblue.50":void 0,_hover:{bg:w?z?"trueblue.700":"trueblue.100":z?"whiteAlpha.100":"blackAlpha.100"},_active:{bg:w?z?"trueblue.700":"trueblue.100":z?"whiteAlpha.100":"blackAlpha.100"}}):(0,s.jsx)(U.h,{icon:(0,s.jsx)(m.G,{icon:ex.diR}),size:"xs",variant:"ghost","aria-label":"Collapse",isRound:!0,onClick:e=>{e.preventDefault(),e.stopPropagation()},transform:S?"scale(.6)":"scale(.4)",pointerEvents:o?"auto":"none",colorScheme:S?"trueblue":"gray"}),(0,s.jsx)(ek.x,{ml:1,whiteSpace:"normal",noOfLines:1,wordBreak:"break-all","data-testid":"toc-item-title",children:a||(0,s.jsx)(P.cC,{id:"wja8aL"})}),(0,s.jsx)(E.L,{})]})}),eS=(0,l.memo)(l.forwardRef((e,t)=>{let{userCanEdit:n,isRoot:a,expandBox:o,overlap:i,onSelectClick:r,title:d,hasChildren:u,isExpanded:c,setIsExpanded:m,children:p,showDropBorder:g,previewRef:h,editorMode:b,editor:v,isSelectionOriginTOC:k,docId:x,cardId:S,getPos:C,screenshotUrl:z,scrollOffsetFromTop:A,isTocPanelOpen:I,...F}=e,M="self"===i,E=(0,w.As)("toc"),_=(0,y.ye)("screenshotsEnabled"),[O,P]=(0,l.useState)(null),[T,R]=(0,l.useState)(null),{styles:N,update:L,attributes:D}=(0,eb.D)(O,T,{placement:"right-start",strategy:"fixed"});(0,l.useEffect)(()=>{!M||!O||k||(0,j.s2)()||E.scrollElementIntoView({element:O,offsetFromTop:A})},[E,M,k,O,A]);let W=(0,ev.nm)();(0,l.useEffect)(()=>{if(L&&W)return W.on("resize",()=>{L()})},[W,L]);let[U,H]=(0,l.useState)(!1),G=(0,l.useCallback)(()=>{L&&L(),H(!0)},[H,L]),q=(0,l.useCallback)(()=>H(!1),[H]),{colorMode:V}=(0,B.If)();return(0,s.jsxs)(el.xu,{ml:a?2:4,flex:1,position:"relative",borderRadius:"md",bg:"transparent",ref:(0,ep.q)(t,P),...F,children:[(0,s.jsx)(ew,{showDragHandles:!(0,j.s2)()&&n,overlap:i,onSelectClick:r,title:d,hasChildren:u,isExpanded:c,setIsExpanded:m,showDropBorder:g,previewRef:h,editorMode:b,editor:v,docId:x,cardId:S,getPos:C,onMouseEnter:G,onMouseLeave:q,isHovering:U,isTocPanelOpen:I}),(0,s.jsx)(f.qh,{className:"ss-preview",src:_?z:ey.Z.src,fallbackSrc:ey.Z.src,shouldShow:!(0,j.s2)()&&!!z&&U,ref:R,style:N.popper,...D.popper,ml:5,isDark:"dark"===V}),(0,s.jsx)(eg.U,{in:c,children:(0,s.jsx)(eh.M,{children:p})}),o]})})),eC=e=>{if(!e)return;let t=new URL(e);return er.v.SHARE_TOKEN&&t.searchParams.set("shareToken",er.v.SHARE_TOKEN),t.toString()},ez=(e,t)=>{let n=(0,$.N2)(e.state.doc,e=>{var n;return(0,ea.KH)(e)&&e.attrs.id===(null===(n=t.attrs)||void 0===n?void 0:n.id)});return n&&n[0]?e.state.doc.resolve(n[0].pos+1):null},eA=(0,l.memo)(e=>{let{position:t,size:n}=e,l="top"===t?{top:"-".concat(n,"px")}:{bottom:"-".concat(n,"px")};return(0,s.jsx)(el.xu,{width:"100%",bg:"transparent",position:"absolute",zIndex:2,height:"".concat(n,"px"),...l})});eA.displayName="ExpandBox";let eI=e=>{let{isRoot:t,node:n,editorMode:a,content:o,editor:r,docId:d,selection:u,isSelectionOriginTOC:c,hasChildren:m,isFirst:f,isLast:p,children:g,onClose:b,scrollOffsetFromTop:y,isTocPanelOpen:v}=e,k=(0,L.z$)(),x=(0,h.v9)(em.yx),w=(0,h.I0)(),S=(0,ec.py)("edit",x),C=(0,h.v9)(em.XV),z=C&&S,A=(0,l.useRef)(),[F,B]=(0,l.useState)(m&&t),[M,E]=(0,l.useState)("none"),_=n.attrs.id,O=(0,es.c)(_),{title:P}=(0,es.T)({node:n,cardId:_}),T=ez(r,o),R=et({editorMode:a,resolved:T,selection:u,node:n}),N=!!T,D=(0,l.useCallback)(()=>{if(!N)return;null==k||k.track(L.AA.TOC_CARD_CLICKED,{mode:a,toc_pinned:v}),a===I.q.SLIDE_VIEW&&(0,ed.p7)({tocClick:!0}),w((0,i.Qx)({attached:!1}));let{cardId:e}=(0,ef.sY)();(0,j.s2)()&&b&&setTimeout(b,300),(0,eu.D)({cardId:_,method:e===_?"replace":"push"})},[N,k,a,v,w,b,_]),[{isDragging:W},U,H]=(0,eo.c)({type:"card",canDrag:()=>!(0,j.s2)()&&z,item:()=>({id:n.attrs.id,node:n}),collect:e=>({isDragging:e.isDragging()})},[z]),[{isOver:G,isOverCurrent:q,draggingItem:V},K]=(0,ei.L)(()=>({accept:"card",canDrop:()=>!(0,j.s2)()&&z,hover(e,t){var n;if(!A.current)return;let l=e.id;if(l===_)return;let a=null===(n=A.current)||void 0===n?void 0:n.getBoundingClientRect(),o=(a.bottom-a.top)/2,i=F&&m?0:20,r=[o-i/2,o+i/2],s=t.getClientOffset(),d=s.y-a.top;if(d>r[0]&&d<=r[1]){E("inside");return}if(d>r[1]){E("below");return}if(d(0,ea.KH)(e)&&e.attrs.id===_),o=(0,$.N2)(r.state.doc,t=>(0,ea.KH)(t)&&t.attrs.id===e.id);l&&o&&(r.commands.rearrangeCards({from:o[0].pos,to:l[0].pos,position:M}),null==k||k.track(L.AA.TOC_CARD_DRAGGED,{mode:a,toc_pinned:v}),E("none"))},collect:e=>({isOver:e.isOver(),draggingItem:e.getItem(),isOverCurrent:e.isOver({shallow:!0})})}),[M,E,m,F,z,k,a,v]);(0,l.useEffect)(()=>{G||"none"===M||E("none")},[G,M]),U(K(A));let Y=!1,J=!1,X=!1,Z=!1;V&&f&&t&&(Y=!0),(G&&m&&F||V&&p&&t)&&(J=!0),q&&("below"===M?Z=!0:"above"===M&&(X=!0));let Q=(0,l.useMemo)(()=>{let e=[];return Y&&e.push((0,s.jsx)(eA,{position:"top",size:10},"expand-top-20")),X&&e.push((0,s.jsx)(eA,{position:"top",size:4},"expand-top-4")),J&&e.push((0,s.jsx)(eA,{position:"bottom",size:10},"expand-bottom-20")),Z&&e.push((0,s.jsx)(eA,{position:"bottom",size:4},"expand-bottom-4")),e},[J,Z,Y,X]),ee=q&&"above"===M,en=q&&"inside"===M,er=q&&"below"===M,ep="".concat(ee?"toc-box__above":""," ").concat(er?"toc-box__below":""),eg=(null==T?void 0:T.pos)?T.pos-1:null,eh=(0,l.useRef)(eg);(0,l.useEffect)(()=>{eh.current=eg},[eg]);let eb=(0,l.useCallback)(()=>eh.current,[eh]);return(0,s.jsxs)(el.xu,{className:"toc-box ".concat(ep),children:[ee&&(0,s.jsx)(el.xu,{height:"2px",mb:"2px",bgColor:"trueblue.100",ml:t?2:4}),(0,s.jsx)(eS,{userCanEdit:z,className:"toc-box--inner",overlap:V?"none":R,isRoot:t,onSelectClick:D,hasChildren:m,title:P,ref:A,previewRef:H,expandBox:Q,isExpanded:F,setIsExpanded:B,showDropBorder:en,editorMode:a,cardId:_,editor:r,isSelectionOriginTOC:c,docId:d,getPos:eb,screenshotUrl:eC(null==O?void 0:O.previewUrl),scrollOffsetFromTop:y,isTocPanelOpen:v,children:F&&g}),er&&(0,s.jsx)(el.xu,{height:"2px",mt:"2px",bgColor:"trueblue.100",ml:t?2:4})]})},ej=e=>{if(!e.content)return[];let t=e.content.filter(e=>"card"===e.type);if(t.length>0)return t;let n=[];return e.content.forEach(e=>{if("cardLayoutItem"===e.type&&e.content){let t=e.content.filter(e=>"card"===e.type);n=[...n,...t]}}),n},eF=(e,t)=>{let n=(0,$.N2)(e,e=>{var n;return(0,ea.KH)(e)&&(null===(n=e.attrs)||void 0===n?void 0:n.id)===t});return n&&0!==n.length?n[0]:null},eB=e=>{let{isRoot:t,node:n,editorMode:l,editor:i,docId:r,cards:d,selection:u,isSelectionOriginTOC:c,onClose:m,scrollOffsetFromTop:f}=e,p=(0,o.CG)((0,a.OC)(eT));return(0,s.jsx)(el.xu,{flex:1,py:t?3:0,...t?{"data-testid":"toc-cards"}:{},children:d.map(function(e,a){let o=ej(e),{id:g}=e.attrs,h=eF(n,g);if(!h)return null;let{node:b}=h;return(0,s.jsx)(eI,{editorMode:l,isRoot:t,node:b,selection:u,isSelectionOriginTOC:c,editor:i,docId:r,content:e,hasChildren:o.length>0,isFirst:0===a,isLast:a===d.length-1,onClose:m,scrollOffsetFromTop:f,isTocPanelOpen:p,children:o&&(0,s.jsx)(eB,{editorMode:l,node:b,isRoot:!1,editor:i,docId:r,cards:o,selection:u,isSelectionOriginTOC:c,onClose:m,scrollOffsetFromTop:f})},g)})})},eM=e=>{let{handleClose:t,handleOpen:n,isOpen:a=!0,rootElement:o,hasRoomToOpen:u=!1,hasOpened:p=!0}=e,{editor:g,docId:b}=(0,r._)(),y=(0,h.v9)(i.gh),{colorMode:v}=(0,B.If)(),k=(0,L.z$)(),{content:x,selection:w,isSelectionOriginTOC:S}=en(g),C=null==x?void 0:x.content,z=C&&p,A=!a&&n&&u&&!(0,j.s2)(),I=!!a&&!(0,j.s2)(),F=(0,l.useCallback)(e=>{e.stopPropagation(),null==k||k.track(L.AA.TOC_PINNED_OPEN,{mode:y}),null==n||n()},[k,y,n]);return(0,s.jsxs)(d.k,{w:"100%",h:a?"100%":void 0,direction:"column",className:"highlight-mask","data-table-of-contents":!0,children:[(0,s.jsxs)(d.k,{p:2,pb:0,children:[z&&(0,s.jsx)(M.X,{pt:3,px:6,fontSize:"lg",position:"relative",children:(0,s.jsx)(P.cC,{id:"SVyf2o"})}),(0,s.jsx)(E.L,{}),A?(0,s.jsx)(f.kH,{label:(0,s.jsx)(P.cC,{id:"MJf5IL"}),shortcut:"Mod+\\",children:(0,s.jsx)(q,{variant:"ghost","aria-label":T.ag._({id:"MJf5IL"}),"data-testid":"expand-toc",icon:(0,s.jsx)(m.G,{icon:c.TTL}),onClick:F,onMouseDown:D.br})}):I?(0,s.jsx)(f.kH,{label:(0,s.jsx)(P.cC,{id:"AugKWa"}),shortcut:"Mod+\\",children:(0,s.jsx)(q,{variant:"ghost","aria-label":T.ag._({id:"AugKWa"}),icon:(0,s.jsx)(m.G,{icon:c.V9$}),onClick:e=>{e.stopPropagation(),t()},onMouseDown:D.br})}):null,(0,j.s2)()&&(0,s.jsx)(_.P,{onClick:e=>{e.stopPropagation(),t()}})]}),(0,s.jsxs)(d.k,{className:"toc-root",mr:1,mb:1,pr:1,overflowY:"auto",flex:1,direction:"column",position:"relative",sx:{".toc-box > .toc-box--inner":{pb:"2px",pt:"4px"},".toc-box__below > .toc-box--inner":{pb:"0px"},".toc-box__below + .toc-box > .toc-box--inner":{pt:"2px"},".toc-box__above > .toc-box--inner":{pt:"0px"},"&::-webkit-scrollbar":{opacity:1,width:"5px"},"&::-webkit-scrollbar-track":{opacity:0,width:"5px"},"&::-webkit-scrollbar-thumb":{background:"dark"===v?"whiteAlpha.500":"blackAlpha.400",borderRadius:"full"}},children:[!z&&(0,s.jsx)(O.N,{p:6,skeletonHeight:"2rem",mt:3,w:"100%",noOfLines:8}),z&&o&&(0,s.jsx)(R.W,{backend:N.PD,options:{rootElement:o},children:C&&g&&w&&C[0].content&&(0,s.jsx)(eB,{node:g.state.doc,editorMode:y,isRoot:!0,editor:g,docId:b,cards:C[0].content,selection:w,isSelectionOriginTOC:S,onClose:t,scrollOffsetFromTop:a?100:200})})]})]})},eE=(0,p.E)(d.k),e_={type:"spring",duration:.3,bounce:0},eO=".".concat("toc-root"),eP={open:{x:0},hidden:{x:-316}},eT=e=>{let{closePanel:t,openPanel:n,isDragging:a,isOpen:p,hasRoomToOpen:B}=e,M=(0,o.CG)(x.Lw),{editor:E}=(0,r._)(),_=(0,w.As)("toc"),O=(0,C.A)(E),[P,T]=(0,l.useState)(null),R=(0,o.CG)(i.gh),N=R===I.q.SLIDE_VIEW,L=(0,h.v9)(i.Pu),D=(0,S.wj)(L),W=(0,h.v9)(i.XV),U=(0,z.R5)(L,W),H=(0,A.Jh)(L),G=(0,o.CG)((0,b.Sj)(null==E?void 0:E.gammaDocId)),{isHovering:q,...V}=(0,F.xx)({disabled:p,enterDelay:30,leaveDelay:30});(0,l.useEffect)(()=>{_.setScrollSelector(eO)},[_]);let[K,Y]=(0,l.useState)(!1),[$,J]=(0,l.useState)(!1);(0,l.useEffect)(()=>{J(e=>e||K||p)},[K,p]);let X=(0,y.ye)("filmstrip"),Z=!X||(0,j.s2)();(0,l.useEffect)(()=>v.F7.on("keydown","TABLE_OF_CONTENTS",e=>!!(0,g.ZP)("Mod+\\")(e)&&!!Z&&(p?t():n(),!0)),[p,n,t,Z]);let Q=p&&!G;return(0,s.jsxs)(k,{ref:(0,l.useCallback)(e=>T(e),[]),width:"100%",direction:"column",sx:{".toc-item .ss-preview":a?{display:"none"}:{}},tabIndex:-1,onKeyDown:O,justify:"center",...V,children:[Q&&(0,s.jsx)(d.k,{inset:"0",...(0,z.wh)(U,D),position:"absolute"}),Z&&(0,s.jsx)(d.k,{h:{base:24,xl:"70vh"},w:10,color:D?"gray.200":"gray.800",justify:"center",align:"flex-start",direction:"column",position:"absolute",p:2,className:"toc-hover-target","data-testid":"toc-hover-target",opacity:N||M?0:1,transitionProperty:"opacity",transitionDuration:"normal",children:(0,s.jsx)(eE,{borderRadius:"xl",sx:(0,A.Oj)(H,L,(0,j.s2)()),direction:"column",align:"center",justify:"center",variants:eP,"data-guider-highlight":"table-of-contents-opener",variant:G?"open":p||q?"hidden":"open",transition:e_,w:10,h:20,children:G?(0,s.jsx)(u.$,{size:"sm"}):(0,s.jsx)(m.G,{icon:c.Ljc})})}),Z&&(0,s.jsxs)(eE,{position:p?"relative":"absolute",w:p?void 0:"".concat(300,"px"),h:p?"100%":"fit-content",color:D?"gray.200":"gray.800",variants:eP,initial:"hidden",animate:G?"hidden":p||q?"open":"hidden",onAnimationComplete:e=>{Y("open"===e)},transition:e_,pointerEvents:p||K?"auto":"none",maxH:p?void 0:"80vh",layout:"position",layoutDependency:!p,children:[!p&&(0,s.jsx)(d.k,{position:"absolute",inset:-4,right:-8}),(0,s.jsx)(d.k,{inset:p?-1:0,right:0,left:2,borderRadius:p?"none":"lg",sx:(0,A.Oj)(H,L,(0,j.s2)()),shadow:"xl",position:"absolute"}),(0,s.jsx)(f.Wk,{isDark:D,children:(0,s.jsx)(eM,{hasOpened:$,handleClose:t,handleOpen:n,rootElement:P,isOpen:Q,hasRoomToOpen:B})})]})]})};eT.panelPosition="left",eT.canCollapse=!0;let eR={},eN=()=>{let e=void 0;return{...e?eR[e]:{},docSize:-1}}},20888:function(e,t,n){"use strict";n.d(t,{Pp:function(){return b},p7:function(){return h},MI:function(){return v}});var l=n(2784),a=n(90604),o=n(35121),i=n(3349),r=n.n(i),s=n(14274);let d=new(r())({sampleRate:10,transmission:"base",batchSizeTrigger:50,batchTimeTrigger:2e3,maxConcurrentBatches:3,pendingWorkCapacity:1e4,maxResponseQueueSize:1e3,timeout:3e4,disabled:!s.v.HONEYCOMB_DATASET||!s.v.HONEYCOMB_API_KEY,writeKey:s.v.HONEYCOMB_API_KEY,dataset:s.v.HONEYCOMB_DATASET});d.add({userAgent:window.navigator.userAgent,version:s.v.GIT_SHA});let u=e=>{let{data:t}=e;if(!window.navigator.onLine)return;let n=d.newEvent();n.add(t),n.send()},c=e=>u({data:{...e,type:"performance",event:"slide-to-slide"}}),m=null,f=!1,p=!1,g=null,h=function(){let{tocClick:e,following:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{tocClick:!1,following:!1};m=performance.now(),f=!!e,p=!!t},b=e=>{let{cardId:t}=e;g=t},y=(e,t)=>{if(f)return"toc";if("presentCurrent"===e){if("presentNext"===t)return"next";if("presentPrev"===t)return"prev"}return"presentParent"===e&&"presentCurrent"===t?"child":"presentCurrent"===e&&"presentParent"===t?"parent":"unknown"},v=(e,t,n,i)=>{(0,l.useEffect)(()=>{e&&t===g&&requestAnimationFrame(function(){let e=(0,o.H)();if(e.editorMode!==a.q.SLIDE_VIEW||null===m)return;let t=performance.now()-m,l=y(n,i);c({...e,duration:t,isFollowing:p,presentVariant:n,prevPresentVariant:i,direction:l})})},[e,t,n,i])}},34972:function(e,t,n){"use strict";n.d(t,{My:function(){return o}}),n(52322);var l=n(2784);let a=l.createContext({inPreviewContext:!1}),o=()=>{let e=(0,l.useContext)(a);return e}},84698:function(e,t,n){"use strict";n.d(t,{Lw:function(){return c},t6:function(){return m},tv:function(){return u},ws:function(){return d}});var l=n(58125),a=n(90221);let o={previewSize:null},i=(0,l.oM)({name:"Preview",initialState:o,reducers:{reset:()=>o,setPreviewSize(e,t){let{previewSize:n}=t.payload;e.previewSize=n}}}),{setPreviewSize:r,reset:s}=i.actions,d=e=>"mobile"===e.Preview.previewSize||(0,a.s2)(),u=e=>e.Preview.previewSize,c=e=>null!==e.Preview.previewSize,m=i.reducer},94090:function(e,t,n){"use strict";n.d(t,{bh:function(){return eH},E9:function(){return eU},TL:function(){return eG},CG:function(){return eq},qr:function(){return eV}});var l=n(58125);n(18149);var a=n(30733),o=n.n(a),i=n(43997),r=n(76282);let s={htmlLoading:!1,slides:[]},d=(0,l.oM)({name:"ImportPPT",initialState:s,reducers:{resetImportState:()=>s,updateImportState(e,t){Object.assign(e,t.payload)},updateSlideState(e,t){let n=t.payload.num-1;Object.assign(e.slides[n],t.payload)}}}),{resetImportState:u,updateImportState:c,updateSlideState:m}=d.actions,f=d.reducer;var p=n(41774);let g={slides:[],uploading:!1,fileName:null},h=(0,l.oM)({name:"ThemeImport",initialState:g,reducers:{resetThemeImportState:()=>g,uploadPptComplete(e,t){e.uploading=!1,e.uploadEndTime=performance.now(),e.fileName=t.payload.file.filename},uploadPptStart(e){e.slides=[],e.uploading=!0,e.startTime=performance.now()},htmlUploadStart(e){e.htmlStartTime=performance.now()},htmlUploadEnd(e){e.htmlEndTime=performance.now()},createThemeStart(e,t){let{thumbnail:n,slideIndex:l}=t.payload,a={startTime:performance.now(),thumbnail:n,slideIndex:l,debug:[]};e.slides[l]=a},createThemeEnd(e,t){let{theme:n,slideIndex:l}=t.payload,a=e.slides[l];if(!a){console.error("Slide not found");return}a.theme=n,a.endTime=performance.now()},debugStepStart(e,t){let{name:n,slideIndex:l}=t.payload,a=e.slides[l];if(!a){console.error("Slide not found");return}a.debug.push({name:n,status:"loading",startTime:performance.now(),endTime:void 0,result:void 0,error:void 0})},debugStepEnd(e,t){let{name:n,slideIndex:l,error:a,result:o}=t.payload,i=e.slides[l];if(!i){console.error("Slide not found");return}let r=i.debug.find(e=>e.name===n);if(!r){console.error("debug step not found");return}if("loading"!==r.status){console.error("debug step not loading");return}if(r.endTime=performance.now(),a){r.status="error",r.error=a;return}r.status="success",r.result=o}}}),{resetThemeImportState:b,uploadPptStart:y,uploadPptComplete:v,createThemeStart:k,createThemeEnd:x,debugStepEnd:w,debugStepStart:S,htmlUploadEnd:C,htmlUploadStart:z}=h.actions,A=h.reducer;var I=n(8776),j=n(64467),F=n(66625),B=n(17749),M=n(34919),E=n(93982);class _{anchor(e){return this.validateCardId(e)&&(this.state.anchorId=e),this}select(e){return!this.validateCardId(e)||this.state.selectedCardIds.includes(e)||this.state.selectedCardIds.push(e),this}deselect(e){if(!this.validateCardId(e))return this;if(this.state.selectedCardIds.includes(e)){let t=this.state.selectedCardIds.indexOf(e);this.state.selectedCardIds.splice(t,1)}return this}clear(){return this.state.selectedCardIds=[],this}selectFromAnchor(e){if(!this.validateCardId(e)||!this.state.anchorId||!this.validateCardId(this.state.anchorId))return this;let t=this.state.allCardIds.indexOf(this.state.anchorId),n=this.state.allCardIds.indexOf(e),l=this.state.allCardIds.slice(Math.min(t,n),Math.max(t,n)+1);for(let e of l)this.select(e);return this}validateCardId(e){return!!e&&this.state.allCardIds.includes(e)}constructor(e){this.state=e}}let O=e=>new _(e),P=e=>{let{direction:t,orderedIds:n,startingId:l,anchorId:a}=e;if(!l||!a)return!1;let o=n.indexOf(l),i=n.indexOf(a);return -1!==o&&-1!==i&&o!==i&&("up"===t?o>i:o{var n;if(0===e.length||0===t.length)return null;let l=new Set(t),a=e.filter(e=>l.has(e));return null!==(n=a[a.length-1])&&void 0!==n?n:null},R=(e,t)=>{var n;if(0===e.length||0===t.length)return null;let l=new Set(t),a=e.filter(e=>l.has(e));return null!==(n=a[0])&&void 0!==n?n:null},N=(e,t,n)=>{let l=e.length;if(0===l||!t)return null;let a=e.indexOf(t);return -1===a?null:"up"===n?e[a-1]||e[0]:e[a+1]||e[l-1]},L=e=>{let{anchorId:t,orderedIds:n,selectedIds:l}=e;if(!t)return null;let a=n.indexOf(t);if(-1===a)return null;let o=T(n,l),i=o?n.indexOf(o):-1;return(i>a?o:R(n,l))||t},D=(0,l.oM)({name:"Filmstrip",initialState:{allCardIds:[],selectedCardIds:[],anchorId:null,lastSelection:{selectedCardIds:[],anchorId:null},isFilmstripOpen:!1,resizedFilmstripPreviewWidth:null},extraReducers:e=>{e.addCase(E.iX,(e,t)=>{let{payload:{cardIdMap:n}}=t;if(e.allCardIds=Object.keys(n.tree),e.lastSelection={selectedCardIds:e.selectedCardIds,anchorId:e.anchorId},e.selectedCardIds=e.selectedCardIds.filter(t=>e.allCardIds.includes(t)),e.anchorId&&!e.allCardIds.includes(e.anchorId)){for(let t of(e.anchorId=null,e.allCardIds))if(e.selectedCardIds.includes(t)){e.anchorId=t;break}}})},reducers:{resetSelection:e=>{0!==e.selectedCardIds.length&&(e.selectedCardIds=[]),null!==e.anchorId&&(e.anchorId=null)},filmstripItemClick:(e,t)=>{let{payload:{id:n}}=t;O(e).clear().select(n).anchor(n)},filmstripItemShiftClick:(e,t)=>{let{payload:{id:n,currentFocusedCard:l}}=t,a=e.selectedCardIds.includes(n);if(a){O(e).deselect(n);return}e.anchorId||(e.anchorId=l),O(e).selectFromAnchor(n)},filmstripItemCmdClick:(e,t)=>{let{payload:{id:n}}=t,l=e.selectedCardIds.includes(n);l?O(e).deselect(n):O(e).select(n)},filmstripContextMenuOpen:(e,t)=>{let{payload:{id:n}}=t;e.selectedCardIds.includes(n)||O(e).clear().select(n).anchor(n)},filmstripItemArrowKey:(e,t)=>{let{direction:n,withShift:l,currentFocusedCard:a}=t.payload,{allCardIds:o,anchorId:i,selectedCardIds:r}=e,s=null!=i?i:a;if(l){let e=L({anchorId:i,orderedIds:o,selectedIds:r});s=null!=e?e:a}let d=N(o,s,n);d&&(l?P({direction:n,orderedIds:o,startingId:s,anchorId:i})?s&&O(e).deselect(s):O(e).select(d):O(e).clear().anchor(d).select(d))},selectAddedFilmstripItems:(e,t)=>{let{beforeCardId:n,cardCount:l}=t.payload,a=e.allCardIds.indexOf(n);if(-1===a)return;let o=e.allCardIds[a+1];if(!o)return;O(e).clear().anchor(o);let i=e.allCardIds[a+l];i&&O(e).selectFromAnchor(i)},deleteFilmstripItems:e=>{let{allCardIds:t,selectedCardIds:n}=e,l=new Set(n),a=null;for(let e=t.length-1;e>=0;e--){let n=t[e];if(l.has(n)){if(e===t.length-1)for(let n=e-1;n>=0;n--){let e=t[n];if(!l.has(e)){a=e;break}}else a=t[e+1];break}}null===a?O(e).clear():O(e).clear().select(a)},onDragStartSetSelectedCards:(e,t)=>{let{selectedCardIdsToDrag:n}=t.payload;for(let t of(O(e).clear().anchor(n[0]),n))O(e).select(t)},selectAll:(e,t)=>{var n;let{allCardIds:l,anchorId:a}=e,{currentFocusedCard:o}=t.payload,i=null!==(n=null!=a?a:o)&&void 0!==n?n:l[0];for(let t of(O(e).clear().anchor(i),l))O(e).select(t)},restoreFromUndoOrRedo:(e,t)=>{let{selectedCardIds:n,anchorId:l}=t.payload;e.lastSelection={selectedCardIds:e.selectedCardIds,anchorId:e.anchorId},e.selectedCardIds=n,e.anchorId=l},setFilmstripIsOpen(e,t){e.isFilmstripOpen=t.payload.isOpen},setFilmstripPreviewWidth(e,t){e.resizedFilmstripPreviewWidth=t.payload.width}}}),{resetSelection:W,filmstripItemClick:U,filmstripItemShiftClick:H,filmstripItemCmdClick:G,filmstripContextMenuOpen:q,deleteFilmstripItems:V,filmstripItemArrowKey:K,onDragStartSetSelectedCards:Y,selectAll:$,restoreFromUndoOrRedo:J,selectAddedFilmstripItems:X,setFilmstripIsOpen:Z,setFilmstripPreviewWidth:Q}=D.actions,ee=D.reducer;var et=n(62573),en=n(94220),el=n(87827),ea=n(98701),eo=n(84698),ei=n(36857),er=n(31181),es=n(67613),ed=n(38769),eu=n(39176),ec=n(2333),em=n(14063),ef=n(91695);let ep={interactions:{}},eg=(0,l.oM)({name:"DesignPartnerAnalytics",initialState:ep,reducers:{reset:()=>ep,startDesignPartnerInteraction(e,t){let n=t.payload.provider,{editorContext:l,...a}=t.payload.taskContext,o=e.interactions[a.interactionId];if(o){console.warn("[DesignPartnerAnalytics] Interaction already exists",a.interactionId);return}e.interactions[a.interactionId]={...a,provider:n,cardId:l.card.cardId}},storeClassification(e,t){let{taskContext:n,classification:l}=t.payload,a=e.interactions[n.interactionId];if(!a){console.warn("[DesignPartnerAnalytics.trackClassification] No interaction exists",n.interactionId);return}a.classification=l},storeInputContent(e,t){let{taskContext:n,inputContent:l}=t.payload,a=e.interactions[n.interactionId];if(!a){console.warn("[DesignPartnerAnalytics.trackInputContent] No interaction exists",n.interactionId);return}a.inputContent=l},storeResponseMessage(e,t){let{taskContext:n,outputContent:l,outputMessage:a}=t.payload,o=e.interactions[n.interactionId];if(!o){console.warn("[DesignPartnerAnalytics.trackResponseMessage] No interaction exists",n.interactionId);return}o.outputMessage=a,o.outputContent=l}}}),{startDesignPartnerInteraction:eh,storeClassification:eb,storeInputContent:ey,storeResponseMessage:ev}=eg.actions,ek=eg.reducer;var ex=n(37164);let ew={status:"idle",messages:[],queuedTasks:[]},eS=(0,l.oM)({name:"DesignPartner",initialState:ew,reducers:{reset:()=>ew,setStatus(e,t){e.status=t.payload},addMessage(e,t){let{message:n}=t.payload,l=[...e.messages,n];e.messages=l},enqueueTask(e,t){let{task:n}=t.payload,l=[...e.queuedTasks,{task:n,id:(0,ex.x0)()}];e.queuedTasks=l},removeQueuedTask(e,t){let{id:n}=t.payload,l=e.queuedTasks.filter(e=>e.id!==n);e.queuedTasks=l}}}),{addMessage:eC,enqueueTask:ez,removeQueuedTask:eA,reset:eI,setStatus:ej}=eS.actions,eF=eS.reducer,eB={isDragging:!1,allCardIdsWhileDragging:[],selectedCardIdsWhileDragging:[],leaderCardId:null,dragStartIndices:{}},eM=(0,l.oM)({name:"FilmstripDragAndDrop",initialState:eB,reducers:{startDragging:(e,t)=>{let{cardIds:n,selectedCardIds:l,leaderCardId:a}=t.payload;e.isDragging=!0,e.allCardIdsWhileDragging=n,e.leaderCardId=a,e.dragStartIndices=n.reduce((e,t,n)=>(e[t]=n+1,e),{});let o=n.filter(e=>l.includes(e));e.selectedCardIdsWhileDragging=o},onReorder:(e,t)=>{let{reorderedCardIds:n}=t.payload,{leaderCardId:l,selectedCardIdsWhileDragging:a,allCardIdsWhileDragging:o}=e,i=e=>e===l,r=o.findIndex(i),s=n.findIndex(i);if(-1===s||-1===r){console.error("[dragAndDropReducer] could not find leader card");return}let d=o.findIndex(e=>e===a[0]),u=Math.max(d+(s-r),0),c=n.filter(e=>!a.includes(e));e.allCardIdsWhileDragging=[...c.slice(0,u),...a,...c.slice(u)]},onDropReset:()=>eB}}),{startDragging:eE,onDropReset:e_,onReorder:eO}=eM.actions,eP=eM.reducer;var eT=n(75780);let eR=(0,l.oM)({name:"Home",initialState:{isHomeSidebarVisible:!1},reducers:{setIsHomeSidebarVisible:(e,t)=>{e.isHomeSidebarVisible=t.payload.isSidebarVisible}}}),{setIsHomeSidebarVisible:eN}=eR.actions,eL=eR.reducer,eD={AIGenerator:r.P4,AIStream:p.Yd,AIVariations:I.HE,Cards:F.IA,CardNotes:j.I6,Credits:B.XO,DesignPartner:eF,ImageEditor:em.I6,I18n:et.L1,TipTap:E.I6,Panels:ea.s,CardMenus:eu.UF,SearchModal:ei.I6,Intercom:en.I6,ModalState:el.I6,DesignPartnerAnalytics:ek,Filmstrip:ee,FilmstripDragAndDrop:eP,FeatureFlags:M.I6,User:ef.Gf,Site:er.Sr,Preview:eo.t6,ThemePicker:es._8,Home:eL,EditBackgroundDrawer:ec.s,MediaDrawer:ed.p7,ImportPPT:f,ThemeImport:A},eW={DocEditor:eT.I6,...eD},eU=()=>{let e=eH().dispatch;e((0,F.mc)()),e((0,eT.mc)()),e((0,E.mc)())},eH=o()(()=>(0,l.xC)({reducer:eW,middleware:e=>e({serializableCheck:!1})})),eG=()=>(0,i.I0)(),eq=i.v9,eV=()=>(0,i.oR)()},22265:function(e,t,n){"use strict";let l;n.d(t,{cC:function(){return m},v4:function(){return p},As:function(){return f}});var a=n(80498),o=n(90221),i=n(60742);let r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20;return async n=>{if(n())return Promise.resolve(!0);let l=0;return new Promise((a,o)=>{!function i(){if(n()){a(!0);return}if(l>e){o(!1);return}l++,setTimeout(i,t)}()})}},s=window.Cypress,d=s?10:400,u=new a.B;n.e(880).then(n.t.bind(n,90880,23)).then(e=>{l=e.default,u.resolve(l)});let c=new Map,m=e=>{let t=c.get(e);return t||c.set(e,new g(e)),c.get(e)},f=e=>m(e),p=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(!e||!e.offsetWidth&&!e.offsetHeight)return;let n=e.getBoundingClientRect(),l=(0,i.mP)(),a=n.top>=-5&&n.top<=l,o=n.bottom>=-5&&n.bottom-5<=l,r=n.top<=0&&n.bottom>=l,s=a&&o||r?{px:n.height,portion:"full"}:o?{px:n.bottom,portion:"abovePartial"}:a?{px:l-n.top,portion:"belowPartial"}:n.bottom<0?{px:n.bottom,portion:"above"}:{px:l-n.top,portion:"below"},d=s.px>=Math.min(t,n.height),u=n.left>=0&&n.right<=(window.innerWidth||document.documentElement.clientWidth);return{...s,rect:n,bottomInView:o,topInView:a,yAxisInView:d,xAxisInView:u,inView:d&&u}};class g{getSweetScroll(){return new l({before:()=>{this.inProgress=!0},complete:()=>{this.inProgress=!1}},this.scroller||document.body)}async setScrollSelector(e){this.scrollSelector=e,l||await u.promise,this.sweetScroll=this.getSweetScroll()}get scroller(){return document.querySelector(this.scrollSelector)}get scrollerForEvents(){return"body"===this.scrollSelector?window:this.scroller}get scrollerForMeasurement(){return"body"===this.scrollSelector?document.documentElement:this.scroller}isAtTop(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.scrollerForMeasurement;return t.scrollTop<=e}isAtBottom(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.scrollerForMeasurement;return!!t&&t.scrollHeight-t.scrollTop-t.offsetHeight{let a=()=>{this.scroller&&("smooth"===n&&this.sweetScroll?this.sweetScroll.toTop(t,{duration:d}):"body"===this.scrollSelector?window.scroll({top:t}):this.scroller.scroll({top:t}))};l?a():setTimeout(a),setTimeout(e)})}constructor(e){this.inProgress=!1,this.scrollSelector="body",this.sweetScroll=void 0,this.scrollElementIntoView=async e=>{let{element:t,delay:n=0,attempts:l=3,offsetFromTop:a=100}=e;if(!t)return!1;let o=async e=>{let n=t.closest(this.scrollSelector);if(!n)return;let l=(0,i.LY)(t,this.scrollSelector);if(e=e||p(t),null!==a||!e)return this.scrollTo({top:l-(null!=a?a:100)});let o=Math.min(250,.2*(0,i.mP)()),r="full"===e.portion&&e.rect.top(0,i.mP)()-o;if(r||"abovePartial"===e.portion||"above"===e.portion)return console.debug("[scrollElementIntoView] Nudge DOWN from above - nudge:",o),this.scrollTo({top:l-o});if(s||"belowPartial"===e.portion||"below"===e.portion){let a=t.getBoundingClientRect().height-e.px,i=n.scrollTop+a+o;return console.debug("[scrollElementIntoView] Nudge UP from below - nudge:",o),this.scrollTo({top:Math.min(i,l-o)})}},s=()=>!!p(t),d=p(t);if(d)return console.debug("[scrollElementIntoView] Element already in view. Scrolling to center it.",t),o(d),!0;n&&await new Promise(e=>setTimeout(e,n));let u=+new Date,c=()=>{let e=o()||Promise.resolve();return r(32,25)(s).then(()=>!0,()=>e.then(()=>!1))},m=l,f=!1;for(;m>0;)if(m--,f=await c()){let e=+new Date-u;console.debug("[scrollElementIntoView] Element in view after ".concat(l-m," attempts - ").concat(e,"ms"));break}if(!f){let e=+new Date-u;console.debug("[scrollElementIntoView] Element did not appear after ".concat(l," attempts - ").concat(e,"ms"),t)}return f},this.type=e,u.then(()=>{this.sweetScroll=this.getSweetScroll()})}}},36857:function(e,t,n){"use strict";n.d(t,{I6:function(){return r}});var l=n(58125);let a={isOpen:!1,initialQuery:""},o=(0,l.oM)({name:"SearchModal",initialState:a,reducers:{reset:()=>a,setIsGlobalSearchOpen(e,t){let{isOpen:n,initialQuery:l}=t.payload;e.isOpen=n,e.initialQuery=l||""}}}),{setIsGlobalSearchOpen:i}=o.actions,r=o.reducer},42005:function(e,t,n){"use strict";n.d(t,{c:function(){return p}});var l=n(8368),a=n(14274),o=n(19431),i=n(35121),r=n(19902),s=n(80498),d=n(90221),u=n(90383);let c=e=>e.replace(/[A-Z]/g,e=>"_".concat(e.toLowerCase())),m=()=>!(0,d.l6)()&&!(0,u.wg)(),f=(0,r.K)(),p=new class{init(){this.initialized||(o.C9N.on("status",e=>{let{isConnected:t}=e;this.enabled=t}),l.b.load({writeKey:"",cdnSettings:{integrations:{"Segment.io":{apiHost:a.v.EVENT_TRACKING_ENDPOINT}}}}).then(e=>{let[t]=e;return this.sdk=t,t},e=>{console.error("Segment load error:",e)}).then(()=>{this.initialized=!0,this.processQueue(),this.loadSdkPromise.resolve(this.sdk)}))}trackDocEvent(e,t){if(!this.initialized){console.error("Cannot track doc event before initialization");return}let n=(0,i.H)(),l={};for(let[e,t]of Object.entries(n))l[c(e)]=t;this.track(e,{...l,...t})}track(e,t,n){var l;if(!1!==this.enabled){if(!this.initialized){this.initialQueue.push({method:"track",args:[e,t,n]});return}null===(l=this.sdk)||void 0===l||l.track(e,t,n)}}identify(e,t){var n;let l=f.get(),a={context:l};if(!1!==this.enabled){if(!this.initialized){this.initialQueue.push({method:"identify",args:[e,t,a]});return}null===(n=this.sdk)||void 0===n||n.identify(e,t,a)}}page(e,t,n){var l;if(!1!==this.enabled){if(!this.initialized){this.initialQueue.push({method:"page",args:[e,t,n]});return}null===(l=this.sdk)||void 0===l||l.page(e,t,n)}}setAnonymousId(e){var t;if(!1!==this.enabled){if(!this.initialized){this.initialQueue.push({method:"setAnonymousId",args:[e]});return}null===(t=this.sdk)||void 0===t||t.setAnonymousId(e)}}processQueue(){for(;this.initialQueue.length>0;){let e=this.initialQueue.shift();this.enabled&&this[e.method].apply(this,e.args)}}constructor(){this.loadSdkPromise=new s.B,this.initialized=!1,this.sdk=null,this.initialQueue=[],this.enabled=m()}}},27902:function(e,t,n){"use strict";n.d(t,{If:function(){return r},z$:function(){return i}}),n(52322);var l=n(2784);n(36651);var a=n(944);n(42005);let o=(0,l.createContext)(void 0),i=()=>(0,l.useContext)(o),r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=i();(0,a.vm)(()=>{n&&e(n)},[n,e,...t],[n,...t])}},11050:function(e,t,n){"use strict";n.d(t,{AA:function(){return l.AA},If:function(){return a.If},co:function(){return o.c},fe:function(){return l.fe},xW:function(){return l.xW},z$:function(){return a.z$}});var l=n(25566),a=n(27902),o=n(42005)},25566:function(e,t,n){"use strict";var l,a,o,i,r,s,d,u,c,m,f,p;n.d(t,{AA:function(){return a},fe:function(){return o},xW:function(){return l}}),(d=l||(l={})).DATA_SYNC_ERROR="dataSyncError",d.DATA_SYNC_RECOVER="dataSyncRecover",d.DUPLICATE_CARD_IDS="duplicateCardIds",d.NO_CURRENT_SNAPSHOT="noCurrentSnapshot",d.NOT_TRUSTED_EVENTS_DETECTED="unknownError001",(u=a||(a={})).ABUSE_LINK_INTERCEPT_SHOWN="abuse.linkIntercept.shown",u.ABUSE_LINK_INTERCEPT_CONTINUE="abuse.linkIntercept.continue",u.ABUSE_LINK_INTERCEPT_CANCEL="abuse.linkIntercept.cancel",u.AI_REQUEST_SENT="ai.request.sent",u.AI_REQUEST_ERROR="ai.request.error",u.AI_REQUEST_RETRY="ai.request.retry",u.AI_REQUEST_COMPLETE="ai.request.complete",u.AI_REQUEST_RESPONSE="ai.request.response",u.AI_REQUEST_ABORT="ai.request.abort",u.AI_REQUEST_STREAM_START="ai.request.streamStart",u.AI_SUGGESTION_APPLY="ai.suggestion.apply",u.AI_SUGGESTION_FEEDBACK="ai.suggestion.feedback.submit",u.AI_DOC_IMPORTED="ai.doc.import",u.AI_CARD_VARIATION_KEPT="ai.card.variation.kept",u.AI_CREDITS_DEDUCTED="ai.credits.deduct",u.AI_CREDITS_USED="ai.credits.use",u.CARD_VIEWED="card.view",u.CARD_CREATED="card.create",u.CARD_STYLES_UPDATED="card.styles.update",u.CARD_STYLES_RESET="card.styles.reset",u.DOC_ATTRIBUTES_UPDATED="doc.attrs.update",u.CARD_COLLAPSED="card.collapse",u.CARD_EXPANDED="card.expand",u.CARD_EXPORTED="card.export",u.CARD_LAYOUT_UPDATED="card.layout.update",u.COLOR_PICKER_OPENED="colorPicker.open",u.COLOR_PICKER_SET_COLOR="colorPicker.setColor",u.COLOR_PICKER_RESET="colorPicker.reset",u.DOC_VIEWED="doc.view",u.DOC_CREATED="doc.create",u.DOC_PRINTED="doc.print",u.DOC_ZOOMED="doc.zoom",u.DOC_THEME_UPDATED="doc.theme.update",u.DOC_SHARELINK_COPIED="doc.shareLink.copied",u.DOC_IMPORTED="doc.imported",u.EXAMPLE_VIEWED="example.view",u.EXAMPLE_DUPLICATED="example.duplicate",u.MADE_WITH_GAMMA_CLICKED="madeWithGamma.click",u.EXAMPLE_SIGNUP_CLICKED="example.signup.click",u.HOME_TAB_VIEWED="homeTab.view",u.NODE_INSERTED="node.insert",u.PRESENT_MODE_NAVIGATED="present.navigate",u.PRESENT_MODE_ENTERED="present.enter",u.PRESENT_MODE_EXITED="present.exit",u.LOGIN="auth.login",u.SIGNUP="auth.signup",u.CHECKOUT_STARTED="monetization.products.pro.click",u.PURCHASE_COMPLETE="monetization.products.pro.purchase",u.CANCEL_SUBSCRIPTION_CLICK="monetization.cancelSubscription.click",u.CHURNKEY_FAILED_PAYMENT_WALL_SHOWN="monetization.churnkey.failedPaymentWall.shown",u.CHURNKEY_FAILED_PAYMENT_WALL_CLOSED="monetization.churnkey.failedPaymentWall.closed",u.CHURNKEY_CANCEL_SUBSCRIPTION_COMPLETE="monetization.churnkey.cancelSubscription.complete",u.CHURNKEY_HANDLE_SUPPORT_CLICK="monetization.churnkey.handleSupport.click",u.CHURNKEY_PAYMENT_METHOD_UPDATED="monetization.churnkey.paymentMethod.updated",u.GAMMA_PRO_BILLING_CYCLE_CLICK="monetization.products.pro.billingCycle.click",u.GAMMA_PRO_UPSELL_PRODUCTS_VIEWED="monetization.products.view",u.GAMMA_PRO_UPSELL_CALLOUT_AI_CREDITS="monetization.products.pro.upsell.aiCredits",u.GAMMA_UPSELL_CALLOUT_AI_CREDITS_CHAT="monetization.products.pro.upsell.aiCredits.chat",u.GAMMA_UPSELL_CALLOUT_AI_CREDITS_GENERATE_CARD="monetization.products.pro.upsell.aiCredits.generateCard",u.GAMMA_UPSELL_CALLOUT_AI_CREDITS_IMAGES="monetization.products.pro.upsell.aiCredits.images",u.GAMMA_UPSELL_CALLOUT_AI_CREDITS_GUIDED="monetization.products.pro.upsell.aiCredits.guided",u.GAMMA_UPSELL_CALLOUT_AI_CREDITS_ADVANCED="monetization.products.pro.upsell.aiCredits.advancedMode",u.GAMMA_UPSELL_CALLOUT_AI_CREDITS_GENERATE_V2="monetization.products.pro.upsell.aiCredits.generatev2",u.GAMMA_UPSELL_CALLOUT_AI_CREDITS_GENERATE_CARD_NOTES="monetization.products.pro.upsell.aiCredits.generateCardNotes",u.GAMMA_UPSELL_CALLOUT_AI_GENERATE_LONGER="monetization.products.pro.upsell.aiGenerateLonger",u.GAMMA_UPSELL_CALLOUT_AI_IMAGE_MODELS="monetization.products.pro.upsell.aiImageModels",u.GAMMA_PRO_UPSELL_CALLOUT_WORKSPACE_SETTINGS="monetization.products.pro.upsell.workspaceSettings",u.GAMMA_PRO_UPSELL_CALLOUT_AI_MODEL_ADVANCED_MODE="monetization.products.pro.upsell.aiModelAdvancedMode",u.GAMMA_PRO_UPSELL_EXPORT_SETTINGS_REMOVE_WATERMARK="monetization.products.pro.upsell.exportSettingsRemoveWatermark",u.GAMMA_PRO_UPSELL_SITE_REMOVE_WATERMARK="monetization.products.pro.upsell.siteRemoveWatermark",u.GAMMA_PRO_UPSELL_PAGE_SETUP_REMOVE_WATERMARK="monetization.products.pro.upsell.pageSetupRemoveWatermark",u.GAMMA_PRO_UPSELL_SHARE_SETTINGS_REMOVE_WATERMARK="monetization.products.pro.upsell.shareSettingsRemoveWatermark",u.GAMMA_PRO_UPSELL_CALLOUT_CHANGE_HISTORY="monetization.products.pro.upsell.changeHistory",u.GAMMA_PRO_UPSELL_CALLOUT_SIDEBAR="monetization.products.pro.upsell.sidebar",u.GAMMA_PRO_UPSELL_CALLOUT_CUSTOM_FONTS="monetization.products.pro.upsell.customFonts",u.GAMMA_PRO_UPSELL_SUBSCRIPTION_EXPIRED_BUTTERBAR="monetization.products.pro.upsell.subscriptionExpiredButterbar",u.GAMMA_PRO_UPSELL_SUBSCRIPTION_INDIVIDUAL_ANALYTICS="monetization.products.pro.upsell.individualAnalytics",u.GAMMA_PRO_UPSELL_DOMAINS="monetization.products.pro.upsell.domains",u.GAMMA_PRO_UPSELL_REMOVE_BACKGROUND="monetization.products.pro.upsell.removeBackground",u.GAMMA_PRO_UPSELL_WORKSPACE_SETTINGS="monetization.products.pro.upsell.workspaceSettings",u.ONBOARDING_TOUR_SKIPPED="onboardingTour.skip",u.ONBOARDING_TOUR_STEP="onboardingTour.step",u.ONBOARDING_SIGNUP_COMPLETED="onboarding.signup.complete",u.WORKSPACE_CREATED="workspace.create",u.GET_STARTED_CLICKED="getStarted.click",u.DOC_ANALYTICS_VIEWED="docAnalytics.view",u.THEME_CREATED="theme.create",u.THEME_DUPLICATED="theme.duplicate",u.THEME_UPDATED="theme.update",u.IN_APP_TEMPLATE_THEME_CLICKED="inAppTemplate.theme.click",u.IN_APP_TEMPLATE_CREATE_THEME_CLICKED="inAppTemplate.createTheme.click",u.PDF_EXPORTED="pdf.export",u.PPTX_EXPORTED="pptx.export",u.TEMPLATE_SEARCH="template.search",u.DOC_EDITOR_TOUR_STARTED="docEditorTour.start",u.DOC_EDITOR_TOUR_CLOSE_CLICKED="docEditorTour.close.click",u.DOC_EDITOR_TOUR_COMPLETED="docEditorTour.completed",u.CREATE_FIRST_DOC_EXP_BUCKETED="createFirstDocExp.bucket",u.AI_DOC_RATED="ai.doc.rated",u.AI_DOC_FEEDBACK_SUBMITTED="ai.doc.feedback.submitted",u.AI_DOC_SHOWCASE_ALLOWED="ai.doc.showcase.allowed",u.AI_IMAGE_RATED="ai.image.rated",u.AI_IMAGE_FEEDBACK_SUBMITTED="ai.image.feedback.submitted",u.TOC_PINNED_OPEN="toc.pinOpen",u.TOC_CARD_CLICKED="toc.card.click",u.TOC_CARD_DRAGGED="toc.card.drag",u.TOC_CARD_MENU_OPENED="toc.card.menu.open",u.FILMSTRIP_TOGGLE_VIEW="filmstrip.toggle.view",u.DOC_COPIED_TO_SITE="site.doc.copiedToSite",u.DOC_MOVED_TO_SITE="site.doc.movedToSite",(c=o||(o={})).SLASH_MENU="slash_menu",c.BLOCK_PROMPT="block_prompt",c.INSERT_WIDGET="insert_widget",c.INPUT_RULE="input_rule",c.KEYBOARD_SHORTCUT="keyboard_shortcut",c.CARD_DIVIDER="card_divider",c.CARD_DIVIDER_DROPDOWN="card_divider_dropdown",c.CARD_DIVIDER_AI="card_divider_ai",c.FORMATTING_MENU="formatting_menu",c.SUMMARIZE="summarize",c.FILMSTRIP="filmstrip",c.FILMSTRIP_DROPDOWN="filmstrip_dropdown",c.FILMSTRIP_CARD_MENU="filmstrip_card_menu",c.CARD_TEMPLATE_MODAL="card_template_modal",c.CARD_TEMPLATE_PLACEHOLDER="card_template_placeholder",(m=i||(i={})).KEYBOARD="keyboard",m.BUTTON_CLICK="button_click",(f=r||(r={})).MAIN_PRESENT_VIEW="main_present_view",f.PRESENTER_VIEW_POPUP="presenter_view_popup",(p=s||(s={})).TELEPROMPTER_UP="teleprompter_up",p.TELEPROMPTER_DOWN="teleprompter_down",p.CARD_NEXT="card_next",p.CARD_PREV="card_prev"},50788:function(e,t,n){"use strict";n.d(t,{C7:function(){return r}}),n(52322);var l=n(2784),a=n(90383);let o=l.createContext({publishedVersionOverride:!1}),i=()=>{let e=(0,l.useContext)(o);return e};function r(){let{publishedVersionOverride:e}=i();return e||(0,a.wg)()}},26803:function(e,t,n){"use strict";n.d(t,{H:function(){return m}});var l=n(5632),a=n(2784),o=n(84698),i=n(94090),r=n(93982),s=n(944),d=n(90383),u=n(50788),c=n(24370);let m=e=>{let{url:t,nonPublishedUrl:n}=e,{push:m}=(0,l.useRouter)(),f=(0,s.gF)(),p=(0,i.CG)(r.yx),g=(0,u.C7)(),h=(0,i.CG)(o.Lw),b=g?(0,d.Op)({url:t,doc:p,previewEnabled:h}):n||t,y=f&&(0,d.sG)(t,p),v=(0,a.useCallback)(e=>{(0,c.BZ)(b)&&(e.preventDefault(),m(b,void 0,{shallow:!0}))},[b,m]);return(0,a.useMemo)(()=>({linkUrl:b,handleClick:h?v:void 0,isCurrentPage:y}),[v,b,h,y])}},95426:function(e,t,n){"use strict";n.d(t,{a:function(){return l},c:function(){return a}});let l=e=>{window.gammaTiming=window.gammaTiming||{},window.gammaTiming[e]=performance.now()},a=()=>{if("complete"!==document.readyState){window.addEventListener("load",a);return}window.removeEventListener("load",a),console.log("%cPerformance Timings","color: white; background-color: #6B46C1; padding: 5px; font-size: 1.5em;"),Object.entries(window.gammaTiming).sort((e,t)=>{let[,n]=e,[,l]=t;return n-l}).forEach(e=>{let[t,n]=e;n=Math.round(100*n)/100,console.log("".concat(t,": ").concat(n,"ms"))}),console.log("%cPerformance Timings END","color: white; background-color: #6B46C1; padding: 5px; font-size: 1.5em;")}},31181:function(e,t,n){"use strict";n.d(t,{NQ:function(){return h},Sr:function(){return b},lH:function(){return p},o0:function(){return g},sd:function(){return f}});var l=n(58125);n(18149),n(24370);let a={site:void 0,isPublishing:!1,currentDocId:void 0,currentNavItem:void 0,hasNavAnimated:!1,pagesLastUpdatedMap:{}},o=(0,l.oM)({name:"Site",initialState:a,reducers:{reset:()=>a,setSite(e,t){let{site:n}=t.payload;e.site=n},setPublishing(e,t){let{isPublishing:n}=t.payload;e.isPublishing=n},setCurrentDocId(e,t){let{currentDocId:n}=t.payload;e.currentDocId=n},setCurrentNavItem(e,t){let{currentNavItem:n}=t.payload;e.currentNavItem=n},setHasNavAnimated(e,t){let{hasNavAnimated:n}=t.payload;e.hasNavAnimated=n},setPageUpdated(e,t){let{pageId:n,lastUpdatedAt:l}=t.payload;e.pagesLastUpdatedMap[n]=l}}}),{setSite:i,setCurrentDocId:r,setCurrentNavItem:s,setPublishing:d,setPageUpdated:u,setHasNavAnimated:c,reset:m}=o.actions,f=e=>t=>{e(c({hasNavAnimated:t}))},p=e=>e.Site.site,g=e=>{var t;return null===(t=e.Site.site)||void 0===t?void 0:t.theme},h=e=>e.Site.hasNavAnimated,b=o.reducer},24370:function(e,t,n){"use strict";n.d(t,{fJ:function(){return r},eH:function(){return i},BZ:function(){return s}}),n(34498),n(829),n(48943);var l=n(14274),a=n(78462);l.v.APPLICATION_ENVIRONMENT,l.v.APPLICATION_ENVIRONMENT;let o=e=>{if(!e)return;let t=null==e?void 0:e.routes.find(e=>"/"===e.path||""===e.path);return t||(null==e?void 0:e.routes[0])},i=e=>{if(!e)return;let t=o(e);if(t)return(0,a.yQ)({docId:t.docId,absolute:!0})},r=e=>(null==e?void 0:e.startsWith("/"))?e:"/"+e,s=e=>/^\/docs\/[-\w]+\/preview$/.test(e)},91669:function(e,t,n){"use strict";n.d(t,{L:function(){return u},c:function(){return a}});var l,a,o=n(52322),i=n(56581),r=n(62614),s=n(94523),d=n(3543);(l=a||(a={}))[l.small=4]="small",l[l.medium=7]="medium";let u=e=>{let{color:t,setColor:n=()=>{},isActive:l=!1,name:u,size:c=a.medium,tooltipIsDisabled:m=!1}=e,f=(0,d.DP)(t)?"white":"black";return(0,o.jsx)(s.kH,{label:u||t.toUpperCase(),placement:"top",isDisabled:m,children:(0,o.jsx)(r.z,{display:"inline-block",alignSelf:"center",boxSize:c,borderRadius:"md",border:"1px solid",borderColor:"blackAlpha.300",color:f,bgColor:null!=t?t:"#FFFFFF",onClick:()=>n(t),variant:"unstyled",minW:0,fontSize:"xs",transitionProperty:"border",transitionDuration:"normal",children:l&&(0,o.jsx)(i.n,{})})})}},56250:function(e,t,n){"use strict";n.d(t,{t:function(){return p}});var l=n(52322),a=n(67046),o=n(62614),i=n(43297),r=n(28535),s=n(77533),d=n(42946),u=n(49929),c=n(5879),m=n(98621),f=n.n(m);let p=e=>{let{color:t,isDefaultColor:n,isMixed:m=!1,...p}=e;return(0,l.jsx)(a.j,{as:o.z,variant:"plain",size:"sm",boxShadow:"none",minW:"fit-content",textAlign:"left",rightIcon:(0,l.jsx)(u.G,{fixedWidth:!0,icon:d.ptq,transform:"shrink-6"}),...p,children:(0,l.jsxs)(i.K,{direction:"row",spacing:2,align:"center",children:[(0,l.jsx)(r.xu,{as:"span",alignSelf:"center",boxSize:5,borderRadius:"md",border:"2px solid",borderColor:"gray.300",bgColor:t}),(0,l.jsx)(s.x,{fontFamily:n||m?void 0:"mono",textTransform:n||m?void 0:"uppercase",fontSize:"sm",children:m?(0,l.jsx)(c.cC,{id:"+UN6+J"}):n?(0,l.jsx)(c.cC,{id:"ovBPCi"}):f()(t).toHexString()})]})})}},86787:function(e,t,n){"use strict";n.d(t,{M:function(){return j}});var l=n(52322),a=n(17993),o=n(74008),i=n(38035),r=n(62614),s=n(42946),d=n(49929),u=n(5879),c=n(2784),m=n(11050),f=n(87254),p=n(69024),g=n(29117),h=n(77533),b=n(36474),y=n(20437),v=n(91669);let k=e=>{let{label:t,colors:n,setColor:a,currentColor:o,isDefault:i,handleAddColorButtonClick:s}=e;return(0,l.jsx)(p.k,{children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(g.U,{px:"2",fontSize:"sm",w:"100%",justifyContent:"space-between",alignItems:"center",mb:"2",mt:s?1:0,children:[(0,l.jsx)(h.x,{children:t}),(0,l.jsx)(b.L,{}),s&&(0,l.jsx)(r.z,{variant:"link",fontSize:"sm",onClick:s,children:(0,l.jsx)(u.cC,{id:"ePK91l"})})]}),(0,l.jsx)(y.M,{gap:1.5,columns:6,p:2,pt:0,children:n.map((e,t)=>{let{hex:n,name:r}=e;return(0,l.jsx)(v.L,{name:r,color:n,setColor:a,isActive:i?null===o:o===n},t)})})]})})},x=()=>[{key:"black",hex:"#000000",name:f.ag._({id:"THokF3"})},{key:"dark-gray",hex:"#4D4D4D",name:f.ag._({id:"uUMrFZ"})},{key:"gray",hex:"#808080",name:f.ag._({id:"qS5//Q"})},{key:"light-gray",hex:"#CCCCCC",name:f.ag._({id:"xa/b9m"})},{key:"white-smoke",hex:"#F2F2F2",name:f.ag._({id:"rGj3KB"})},{key:"white",hex:"#FFFFFF",name:f.ag._({id:"5Ex+AP"})},{key:"light-sun",hex:"#FCEC99",name:f.ag._({id:"nOXj3q"})},{key:"peach",hex:"#FFD1A7",name:f.ag._({id:"68+2yw"})},{key:"salmon",hex:"#FAA1A1",name:f.ag._({id:"TrGQaZ"})},{key:"lavender",hex:"#D8AFF8",name:f.ag._({id:"gc4DdH"})},{key:"baby-blue",hex:"#AFCBF8",name:f.ag._({id:"+bmpN5"})},{key:"pale-green",hex:"#AEE4BD",name:f.ag._({id:"hUOhvE"})},{key:"gold",hex:"#F9D933",name:f.ag._({id:"FYlHHU"})},{key:"orange",hex:"#FFA44F",name:f.ag._({id:"4OE5Sf"})},{key:"red",hex:"#F44444",name:f.ag._({id:"wRTiSD"})},{key:"purple",hex:"#B05EF1",name:f.ag._({id:"mF9LxA"})},{key:"blue",hex:"#5E98F1",name:f.ag._({id:"Zn5crm"})},{key:"green",hex:"#5CC97B",name:f.ag._({id:"VmkjGB"})},{key:"dark-goldenrod",hex:"#957D00",name:f.ag._({id:"vWWr+k"})},{key:"brown",hex:"#995515",name:f.ag._({id:"JLxwQS"})},{key:"maroon",hex:"#910D0D",name:f.ag._({id:"cg4yu3"})},{key:"dark-purple",hex:"#5E208E",name:f.ag._({id:"oqSDkM"})},{key:"midnight-blue",hex:"#204C8E",name:f.ag._({id:"QCyMdk"})},{key:"forest-green",hex:"#1F7135",name:f.ag._({id:"HVCLqF"})}],w=e=>{let{setColor:t,currentColor:n}=e;return(0,l.jsx)(k,{label:f.ag._({id:"Zp2USm"}),colors:x(),setColor:t,currentColor:n})};var S=n(94090),C=n(50260),z=n(69747),A=n(93982);let I=e=>{let{setColor:t,currentColor:n}=e,a=(0,S.CG)(A.Pu),o=(0,C.Wz)(a).map(e=>({hex:e,key:e}));return(0,l.jsx)(k,{label:f.ag._({id:"J1XRO3"}),colors:o,setColor:t,currentColor:n,handleAddColorButtonClick:()=>{z.pw.emit(z.TI.OPEN_THEME_EDITOR,{})},addColorLabel:null===a.workspaceId?f.ag._({id:"0TWTg2"}):f.ag._({id:"TExCtI"})})},j=e=>{let{currentColor:t,setColor:n,unsetColor:f=()=>n(null),source:p}=e,g=(0,m.z$)(),h=(0,c.useCallback)(e=>{null==g||g.track(m.AA.COLOR_PICKER_SET_COLOR,{color:e,source:p}),n(e)},[n,g,p]),b=(0,c.useCallback)(()=>{null==g||g.track(m.AA.COLOR_PICKER_RESET,{source:p}),f()},[f,g,p]);return(0,m.If)(e=>{e.track(m.AA.COLOR_PICKER_OPENED,{source:p})},[p]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(a.g,{divider:(0,l.jsx)(o.i,{}),p:0,align:"start",children:[(0,l.jsx)(I,{setColor:h,currentColor:t}),(0,l.jsx)(w,{setColor:h,currentColor:t})]}),(0,l.jsx)(i.k,{px:5,py:3,bg:"gray.100",alignItems:"center",justifyContent:"center",mx:-2,mb:-2,mt:2,children:(0,l.jsx)(r.z,{onClick:b,variant:"link",size:"sm",colorScheme:"gray",leftIcon:(0,l.jsx)(d.G,{icon:s.X7o}),children:(0,l.jsx)(u.cC,{id:"L+rMC9"})})})]})}},95990:function(e,t,n){"use strict";n.d(t,{wr:function(){return a},R7:function(){return s},wZ:function(){return o},UL:function(){return r},Ux:function(){return i}}),n(52322);var l=n(3543);n(49929),n(94523),n(2784),n(8624);let a="#888888",o=e=>{if(!e||e.colors.length<=1||e.disabled)return;let t=e.colors.map((t,n)=>"".concat(t||a," ").concat((10+80*n)/(e.colors.length-1),"%")).join(", ");return"linear-gradient(".concat(e.angle||135,"deg, ").concat(t,")")},i=(e,t,n,o)=>{if(!e)return;if(o&&e.colors.some(e=>!(0,l.BO)(e||a,t,n))){let n=(0,l.DP)(t)?"#FFFFFF":"#000000";return{...e,colors:[n,n]}}let i=e.colors.map(e=>(0,l.e5)(e||a,t,n,o));return{...e,colors:i}},r=(e,t)=>{if(!e)return;let n=e.colors.map(e=>(0,l.m2)(e||a,t));return{...e,colors:n}},s=(e,t,n)=>{if(!e)return;let o=e.colors.map(e=>(0,l.B5)(e||a,t,n));return{...e,colors:o}}},41810:function(e,t,n){"use strict";n.d(t,{cx:function(){return C},y9:function(){return I},q1:function(){return j},mH:function(){return A},ov:function(){return x},uP:function(){return c},zL:function(){return p},Z_:function(){return g},pk:function(){return h},c:function(){return b},DJ:function(){return k},nO:function(){return v},ke:function(){return w},ZT:function(){return S},l0:function(){return m},Qw:function(){return f},p_:function(){return y},LZ:function(){return z},Nu:function(){return F},X_:function(){return B},wr:function(){return M}});var l=n(52322),a=n(28535),o=n(42946),i=n(49929),r=n(94523),s=n(5879),d=n(87254),u=n(29456);let c=r.qZ.colors.trueblue[500],m="#000000",f="#FFFFFF",p="#272525",g=r.qZ.colors.gray[200],h="#E5E0DF",b="#565151",y="#FFFFFF",v="#0C0C0C",k=4.5,x=6,w={bodyFont:"Inter",headingFont:"Inter",fontSize:1},S={heading:700,body:400},C="accent.theme";d.ag._({id:"rzKWuu"}),s.cC,d.ag._({id:"VjG5AF"}),s.cC,a.xu,s.cC,d.ag._({id:"B+0JwP"}),s.cC,i.G,o.D0h,s.cC,d.ag._({id:"c0FWFX"}),i.G,o.N2j;let z={sm:{name:()=>d.ag._({id:"1DA6ap"}),previewSx:{borderRadius:"4"},cardRadius:.15,blockRadius:.15},md:{name:()=>d.ag._({id:"ovBPCi"}),previewSx:{borderRadius:"8"},cardRadius:.6,blockRadius:.35},lg:{name:()=>d.ag._({id:"LeIKtN"}),previewSx:{borderRadius:"12"},cardRadius:1.2,blockRadius:.75},xl:{name:()=>d.ag._({id:"79MurW"}),previewSx:{borderRadius:"20"},cardRadius:2,blockRadius:1.25}},A={none:{name:()=>d.ag._({id:"EdQY6l"}),previewSx:{boxShadow:"none"},shadow:"none"},default:{name:()=>d.ag._({id:"ovBPCi"}),previewSx:{boxShadow:"lg"},shadow:"0 0.25em 0.375em -0.0625em rgba(0, 0, 0, 0.1), 0 0.125em 0.25em -0.0625em rgba(0, 0, 0, 0.06)"},hard:{name:()=>d.ag._({id:"g5Fk5U"}),previewSx:{boxShadow:"4px 4px 0 0 black"},shadow:"0.5em 0.5em 0 0 var(--card-border-color)"},soft3d:{name:()=>d.ag._({id:"9Ti2G9"}),previewSx:{boxShadow:"-0.375em -0.375em 0.75em rgba(0, 0, 0, 0.25), 0.375em 0.375em 0.75em rgba(255, 255, 255, 0.25)"},deprecated:!0,shadow:""}},I={none:{name:()=>d.ag._({id:"EdQY6l"}),icon:(0,l.jsx)(i.G,{icon:o.ImE}),previewSx:{borderWidth:"0px"},cardBorderEm:0,shapeBorderEm:0,lineThicknessEm:.125,shadowSizeEm:.125},sm:{name:()=>d.ag._({id:"RGjFMI"}),icon:(0,l.jsx)(a.xu,{w:6,h:.5,bg:"gray.900",borderRadius:"md"}),previewSx:{borderWidth:"1px",borderStyle:"solid"},cardBorderEm:.0625,shapeBorderEm:.0625,lineThicknessEm:.125,shadowSizeEm:.125},md:{name:()=>d.ag._({id:"agPptk"}),icon:(0,l.jsx)(a.xu,{w:6,h:1,bg:"gray.900",borderRadius:"md"}),previewSx:{borderWidth:"2px",borderStyle:"solid"},cardBorderEm:.125,shapeBorderEm:.125,lineThicknessEm:.125,shadowSizeEm:.175},lg:{name:()=>d.ag._({id:"JwqAmu"}),icon:(0,l.jsx)(a.xu,{w:6,h:2,bg:"gray.900",borderRadius:"md"}),previewSx:{borderWidth:"4px",borderStyle:"solid"},cardBorderEm:.25,shapeBorderEm:.175,lineThicknessEm:.25,shadowSizeEm:.25}},j={sm:{name:()=>d.ag._({id:"1DA6ap"}),previewSx:{borderRadius:"2"},borderRadius:"0.1875em"},md:{name:()=>d.ag._({id:"ovBPCi"}),previewSx:{borderRadius:"4"},borderRadius:"0.375em"},lg:{name:()=>d.ag._({id:"LeIKtN"}),previewSx:{borderRadius:"8"},borderRadius:"0.75em"},xl:{name:()=>d.ag._({id:"Q4Of8O"}),previewSx:{borderRadius:"full"},borderRadius:"8em"}},F={solid:{name:()=>d.ag._({id:"5bi1la"}),previewSx:{backgroundColor:"gray.200"},opacity:1},semi:{name:()=>d.ag._({id:"EmiaJC"}),previewSx:{backgroundColor:"gray.100"},opacity:.5},none:{name:()=>d.ag._({id:"EdQY6l"}),previewSx:{backgroundColor:"transparent"},opacity:0}},B={none:{name:()=>d.ag._({id:"EdQY6l"}),previewSx:{boxShadow:"none"},shadowDistance:0,shadowBlur:"0"},soft:{name:()=>d.ag._({id:"bgjaGb"}),previewSx:{boxShadow:"var(--chakra-shadows-sm)"},shadowBlur:"1em",shadowDistance:0},hard:{name:()=>d.ag._({id:"g5Fk5U"}),previewSx:{boxShadow:"3px 3px 0 0 black"},shadowBlur:"0",shadowDistance:2},soft3d:{name:()=>d.ag._({id:"9Ti2G9"}),previewSx:{boxShadow:"inset -0.125em -0.125em 0.25em rgba(255, 255, 255, 0.25), inset 0.125em 0.125em 0.25em rgba(0, 0, 0, 0.25)"},deprecated:!0,getShadow:e=>(0,u.I)(e,.125,!0),getClickShadow:e=>(0,u.I)(e,.125,!1)}},M={cardTransparency:"default",roundness:"md",buttonRoundness:"md",cardShadow:"default",cardBorder:"sm",shapeFill:"solid",shapeShadow:"none",shapeBorder:"sm",shapeColorScheme:"default",shapeColors:[],accentCut:"default"}},29318:function(e,t,n){"use strict";n.d(t,{Ds:function(){return c},Yy:function(){return u}}),n(52322),n(2784);var l=n(14274);n(19431);var a=n(42111);n(57660);var o=n(94090),i=n(31181),r=n(50260);n(14324),n(69747);var s=n(93982),d=n(32670);n(78462),n(41810),n(12956);let u=()=>{let e=(0,o.CG)(s.Pu),t=(0,o.CG)(i.o0);return t?(0,r.wj)(t):!!e&&(0,r.wj)(e)},c=(e,t)=>{let{isGammaOrgUser:n}=(0,d.SE)(),o=(0,a.ye)("uploadThemeImagesToProd");return n&&o&&"themeBackground"===t?{orgId:"theme_images/standard",templateId:l.v.TRANSLOADIT_THEME_IMAGE_TEMPLATE_ID,useStandardThemeBucket:!0}:{orgId:e,templateId:void 0,useStandardThemeBucket:!1}}},50260:function(e,t,n){"use strict";n.d(t,{cx:function(){return a.cx},uP:function(){return a.uP},Nu:function(){return a.Nu},S9:function(){return l.S9},yU:function(){return l.yU},Wz:function(){return l.Wz},A:function(){return l.A},wj:function(){return l.wj}}),n(2784);var l=n(12956),a=n(41810)},96449:function(e,t,n){"use strict";n.d(t,{H:function(){return m},N:function(){return b}});var l=n(52322),a=n(28535),o=n(2784),i=n(95990),r=n(41810),s=n(24551),d=n(12899),u=n(12956),c=n(53025);let m=(0,o.memo)(e=>{let{theme:t}=e,n=(0,s.cy)(t),o=(0,c.l)(t),i=(0,u.wj)(t),d=t.config.bodyColor?t.config.bodyColor:i?r.Z_:r.zL;return(0,l.jsx)(a.xu,{as:"svg",width:"0",height:"0",sx:o,children:(0,l.jsxs)("defs",{children:[(0,l.jsx)(f,{theme:t}),(0,l.jsx)(p,{theme:t}),(0,l.jsx)(h,{color:t.accentColor,id:"theme-accent-color-fill"}),(0,l.jsx)(h,{color:d,id:"theme-body-color-fill"}),n.SVGDefs&&(0,l.jsx)(n.SVGDefs,{theme:t})]})})});m.displayName="ThemeSVGDefs";let f=(0,o.memo)(e=>{let{theme:t}=e,{accentGradient:n}=t.config;return!n||n.colors.length<=1||n.disabled?null:(0,l.jsx)(g,{gradient:n,id:"theme-accent-gradient-linear"})});f.displayName="ThemeAccentGradientLinearDef";let p=(0,o.memo)(e=>{let{theme:t}=e,{accentGradient:n}=t.config,a=(0,s.fY)(t);if(!n||n.colors.length<=1||n.disabled)return null;let o=(0,u.wj)(t),r=(0,u.yU)(t),d="semi"===a.shapeFill?(0,i.R7)(n,r,.5):n,c=(0,i.UL)(d,o?.25:.9);return c?(0,l.jsx)(g,{gradient:c,id:"theme-accent-background-gradient-linear"}):null});p.displayName="ThemeAccentBackgroundGradientLinearDef";let g=(0,o.memo)(e=>{let{gradient:t,id:n}=e;return(0,l.jsx)("linearGradient",{id:n,x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:t.colors.map((e,n)=>(0,l.jsx)("stop",{offset:"".concat(100*n/(t.colors.length-1),"%"),stopColor:e||i.wr},n))})});g.displayName="LinearGradientDef";let h=(0,o.memo)(e=>{let{color:t,id:n}=e;return t?(0,l.jsxs)("filter",{id:n,children:[(0,l.jsx)("feFlood",{floodColor:t,result:"flood"}),(0,l.jsx)("feComposite",{in:"flood",in2:"SourceAlpha",operator:"in"})]}):null});h.displayName="ColorFillDef";let b=(0,o.memo)(e=>{let{theme:t}=e,n=(0,s.fY)(t);return(0,l.jsx)(l.Fragment,{children:"soft3d"===n.shapeShadow&&(0,l.jsx)(d.Q,{theme:t,id:"theme-shape-shadow"})})});b.displayName="ThemesV3SVGDefs"},98285:function(e,t,n){"use strict";n.d(t,{HM:function(){return r},WX:function(){return d},un:function(){return u},wY:function(){return a}});var l=n(24551);let a="themed-clickable-box",o=e=>{let t=(0,l.cy)(e);return{...t.boxSx}},i={transitionProperty:"transform",transitionDuration:"normal"},r={transform:"scale(1.03)",_before:{content:'""',position:"absolute",inset:0,borderRadius:"inherit",boxShadow:"inset 0 0 0 500px var(--expandable-hover-background)",pointerEvents:"none"}},s=(e,t)=>{let n=(0,l.cy)(e);return{...i,...n.boxSx,...n.clickableSx,_hover:t?void 0:r,"@media print":{boxShadow:"none"}}},d=(e,t)=>({[".".concat("themed-box")]:o(e),[".".concat(a)]:s(e,t)}),u={_hover:{transform:"scale(1.1)"},color:"var(--link-color)",height:"auto",padding:"0.7em",paddingY:"0.2em",minW:"2.5em",position:"relative"}},56329:function(e,t,n){"use strict";n.d(t,{A8:function(){return a},LY:function(){return o},A3:function(){return s},Mt:function(){return d}}),n(52322),n(9850),n(8624),n(95990);let l=e=>e&&!e.disabled,a="themed-heading",o="themed-heading-no-gradient",i={fontWeight:"var(--heading-font-weight)",fontFamily:"var(--heading-font)",color:"var(--heading-color)",background:"unset",backgroundClip:"unset",width:"fit-content",maxWidth:"100%",letterSpacing:"var(--letter-spacing-heading)",textTransform:"var(--heading-transform)"},r={...i,background:"var(--heading-gradient)",backgroundClip:"text",caretColor:"var(--heading-color)",color:"transparent","span.textColor":{textShadow:"0px 0.25px 0px var(--text-color), -0px -0.25px 0px var(--text-color)","@media print":{textShadow:"none"}}},s=e=>{let t=e&&l(e.config.headingGradient);return t?{["*:where(.".concat(a,")")]:r,[".".concat(o)]:{[".".concat(a)]:i},"@media print":{[".".concat(a)]:i},[".".concat("is-pptx-exporting")]:{[".".concat(a)]:i}}:{[".".concat(a)]:i}},d=e=>({[".".concat(a)]:i,"--heading-color":e})},15151:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var l=n(93814),a=n(12304),o=n(98285),i=n(56329);let r=(e,t)=>({...(0,i.A3)(e),...(0,o.WX)(e,t),...(0,a.Ji)(e),[".".concat(l.vD," .").concat(l.pL)]:e.config.contentStyles})},19194:function(e,t,n){"use strict";n.d(t,{NC:function(){return d},Yw:function(){return s},_M:function(){return u},e2:function(){return r},jP:function(){return i}});var l=n(42111),a=n(3543),o=n(56329);let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"var(--card-color)";if(!e)return{};let a=0==t?e:r(e),o=e;return l.VH.get("themesv3Base")&&(o=0===t?void 0:1===t?e:"color-mix(in oklab, ".concat(e," ").concat(100*t,"%, ").concat(n,")")),{"--shape-bg-color-override":o,"--shape-border-color-override":a}},r=e=>(0,a.DP)(e)?(0,a.DT)(e,10):(0,a.DT)(e,-10),s=e=>{if(!e)return{textColor:void 0,textColorVars:void 0};let t=(0,a.DP)(e)?"#fff":"#000",n=d(t);return{textColor:t,textColorVars:n}},d=e=>{if(e)return{"--body-color":e,"--heading-color":e,"--link-color":e,"--link-color-inverted":(0,a.DP)(e)?"#fff":"#000","--link-color-hover":(0,a.DP)(e)?(0,a.tG)(e,10):(0,a.tG)(e,-10)}},u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(!e)return;let n=i(e,t);if(0===t)return n;let{textColor:l,textColorVars:a}=s(e),r=l?(0,o.Mt)(l):void 0;return{...n,...a,...r}}},53025:function(e,t,n){"use strict";n.d(t,{l:function(){return g}});var l=n(6238),a=n.n(l),o=n(12304),i=n(62685),r=n(3543),s=n(95990),d=n(41810),u=n(24551);n(96342);let c=(e,t)=>{var n;return null!==(n=e["body"===t?"bodyFontWeight":"headingFontWeight"])&&void 0!==n?n:d.ZT[t]},m=e=>e&&["adonis-web","p22-mackinac-pro"].includes(e),f=function(e,t){var n;let l=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return l&&m(t)?t:null==e?void 0:null===(n=e.find(e=>e&&e.id===t))||void 0===n?void 0:n.name};var p=n(12956);let g=a()((e,t)=>{var n,l,a;let m=(0,i.Jh)(e),{bodyFont:g,headingFont:h,fonts:b}=e,y=f(b,g)||d.ke.bodyFont,v=f(b,h)||d.ke.headingFont,k=(0,p.e9)(e),x=t?(0,r.DP)(t):(0,p.wj)(e),{bodyColor:w=x?d.Z_:d.zL,headingColor:S=x?d.Qw:d.l0,headingGradient:C,accentGradient:z,disableReadabilityAdjustment:A}=e.config,I=null!=t?t:(0,i.BA)(e,{...m,isDark:x}),j=void 0!==t,F=!A||j,B=j?d.ov:d.DJ,M=j?4.5:3,E=F?(0,r.e5)(k,I,M,!1):k,_=F?(0,r.e5)(w,I,B,j):w,O=F?(0,r.e5)(S,I,M,j):S,P=(0,p.lQ)(e).map(e=>F?(0,r.e5)(e,I,B,!1):e),T=(0,u.cy)(e),R=(0,u.fY)(e),N={...R,...e.config},L=(null===(n=T.getCSSVars)||void 0===n?void 0:n.call(T,{cardColor:I,accentColor:k,accentPalette:P,config:N}))||{},D="semi"===N.shapeFill?(0,s.R7)(z,I,.5):z,W=(0,s.UL)(D,x?.25:.9);return{"--body-font":'"'.concat(y,'"'),"--heading-font":'"'.concat(v,'"'),"--heading-font-weight":c(e,"heading"),"--body-font-weight":c(e,"body"),"--accent-color":k,"--accent-gradient-fill":(0,s.wZ)(D),"--accent-gradient-background":(0,s.wZ)(W),"--accent-color-border":x?(0,r.m2)(k,.3):(0,r.m2)(k,.8),"--accent-color-background-muted":x?(0,r.m2)(k,.15):(0,r.m2)(k,.95),"--accent-color-100":(0,r.m2)(k,.9),"--accent-gradient":(0,s.wZ)(F?(0,s.Ux)(z,I,M,!1):z),"--expandable-hover-background":(0,r.tT)(E,.1),"--neutral-border-color":x?"var(--chakra-colors-whiteAlpha-400)":"var(--chakra-colors-blackAlpha-200)","--link-color":E,"--link-color-hover":(0,r.DP)(E)?(0,r.tG)(E,10):(0,r.tG)(E,-10),"--body-color":_,"--body-color-muted":(0,r.tT)(_,.5),"--body-color-inverted":x?"#000":"#fff","--link-color-inverted":(0,r.DP)(E)?"#fff":"#000","--highlight-color-dark":x?"var(--body-color)":"var(--body-color-inverted)","--highlight-color-light":x?"var(--body-color-inverted)":"var(--body-color)","--heading-color":O,"--heading-gradient":(0,s.wZ)(F?(0,s.Ux)(C,I,M,j):C),"--heading-transform":e.config.headingTransform,"--letter-spacing-body":e.config.letterSpacingBody?"".concat(e.config.letterSpacingBody,"em"):void 0,"--letter-spacing-heading":e.config.letterSpacingHeading?"".concat(e.config.letterSpacingHeading,"em"):void 0,"--line-height-body":null!==(l=e.config.lineHeightBody)&&void 0!==l?l:o.I0,"--line-height-heading":null!==(a=e.config.lineHeightHeading)&&void 0!==a?a:o._l,"--card-color":I,"--card-color-mask":(0,r.tT)(I,(0,r.DP)(I)?.8:.85),"--link-box-shadow":"0 0 0px 3px ".concat((0,r.tT)(E,1)),"--shape-border-image-svg":"url()","--shape-bg-image-svg":"url()",...L}})},12899:function(e,t,n){"use strict";n.d(t,{Q:function(){return i}});var l=n(52322),a=n(2784),o=n(12956);let i=(0,a.memo)(e=>{let{theme:t,id:n}=e,a=(0,o.wj)(t);return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("filter",{id:n||"soft3d-small-inner-shadow",children:[(0,l.jsx)("feFlood",{floodColor:a?"rgba(0, 0, 0, 0.6)":"rgba(0, 0, 0, 0.15)",result:"flood1"}),(0,l.jsx)("feComposite",{operator:"out",in2:"SourceGraphic",in:"flood1",result:"composite1"}),(0,l.jsx)("feMorphology",{operator:"dilate",radius:.5,in:"composite1",result:"morphology1"}),(0,l.jsx)("feGaussianBlur",{stdDeviation:1.5,in:"morphology1",result:"blur1"}),(0,l.jsx)("feOffset",{dx:2,dy:2,in:"blur1",result:"offset1"}),(0,l.jsx)("feFlood",{floodColor:a?"rgba(255, 255, 255, 0.1)":"rgba(255, 255, 255, 0.75)",result:"flood2"}),(0,l.jsx)("feComposite",{operator:"out",in2:"SourceGraphic",in:"flood2",result:"composite2"}),(0,l.jsx)("feMorphology",{operator:"dilate",radius:.5,in:"composite2",result:"morphology2"}),(0,l.jsx)("feGaussianBlur",{stdDeviation:1.5,in:"morphology2",result:"blur2"}),(0,l.jsx)("feOffset",{dx:-2,dy:-2,in:"blur2",result:"offset2"}),(0,l.jsxs)("feMerge",{children:[(0,l.jsx)("feMergeNode",{in:"offset1"}),(0,l.jsx)("feMergeNode",{in:"offset2"})]}),(0,l.jsx)("feComposite",{operator:"atop",in2:"SourceGraphic"})]})})});i.displayName="Soft3DSmallOuterShadow"},97001:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var l=n(87254),a=n(3543),o=n(90221),i=n(56329);let r="0.375em",s={key:"default",name:()=>l.ag._({id:"ovBPCi"}),description:()=>l.ag._({id:"Wac3zD"}),getCSSVars(e){let{cardColor:t,accentColor:n}=e,l=(0,a.DP)(t),i=l?(0,a.m2)(n,.25):(0,a.m2)(n,.9),r=(0,a.DP)(i)?(0,a.DT)(i,10):(0,a.DT)(i,-10);return{"--md-shadow":"0 0.25em 0.375em -0.0625em rgba(0, 0, 0, 0.1),0 0.125em 0.25em -0.0625em rgba(0, 0, 0, 0.06)","--line-thickness":"0.2em","--card-border-color":l?"var(--chakra-colors-gray-700)":"var(--chakra-colors-gray-200)","--card-border":"0.0625em solid var(--card-border-color)","--card-border-shadow":"0 0 0 0.0625em var(--card-border-color)","--card-border-radius":(0,o.s2)()?"0.375em":"0.75em","--clickable-background-color":(0,a.tT)(l?(0,a.DT)(t,20):(0,a.DT)(t,-5),.6),"--box-border-radius":"0.375em","--shape-bg-color":i,"--shape-border-color":r,"--shape-bg-image":"var(--accent-gradient-background)","--shape-bg-image-svg":"url(#theme-accent-background-gradient-linear)","--shape-fill":"var(--accent-gradient, var(--link-color))","--shape-fill-svg":"url(#theme-accent-gradient-linear) var(--link-color)"}},boxSx:{border:"0.0625em solid var(--neutral-border-color)",borderRadius:"var(--box-border-radius)"},clickableSx:{boxShadow:"var(--md-shadow)",backgroundColor:"var(--clickable-background-color)","@media print":{boxShadow:"none"}},cardSx:{boxShadow:"var(--md-shadow), var(--card-border-shadow)",backgroundColor:"var(--card-color)","@media print":{boxShadow:"none",border:"var(--card-border)"}},cardFullBleedSx:{backgroundColor:"var(--card-color)"},imageSx:{borderRadius:r},boxBackgroundSx:{borderRadius:r,background:"var(--shape-bg-color-override, var(--shape-bg-image, var(--shape-bg-color)))",backgroundColor:"var(--shape-bg-color-override, var(--shape-bg-color))",border:"0.0625em solid var(--shape-border-color-override, var(--shape-border-color))",...(0,i.Mt)("var(--body-color)")},outsideTextSx:{...(0,i.Mt)("var(--body-color)")},lineSx:{backgroundColor:"var(--shape-border-color-override, var(--shape-border-color))",borderRadius:r},boxFillSx:{background:"var(--shape-bg-color-override, var(--shape-fill))"},shapeFillSx:{fill:"var(--shape-bg-color-override, var(--shape-fill-svg))"},shapeBackgroundSx:{fill:"var(--shape-bg-color-override, var(--shape-bg-image-svg) var(--shape-bg-color))",stroke:"var(--shape-border-color-override, var(--shape-border-color))",strokeWidth:"0.0625em",vectorEffect:"non-scaling-stroke",strokeLinejoin:"round",strokeLinecap:"round"},tableSx:{border:"0.0625em solid var(--neutral-border-color)",borderRadius:"var(--box-border-radius)","tbody tr":{_even:{backgroundColor:"blackAlpha.50"},_odd:{backgroundColor:"whiteAlpha.50"}},td:{borderLeft:"0.0625em solid var(--shape-border-color)",_first:{borderLeftWidth:"0"}}},knobDefaults:{shapeColorScheme:"accent"}}},24551:function(e,t,n){"use strict";n.d(t,{cy:function(){return z},fY:function(){return A}});var l=n(42111),a=n(13793),o=n(41810),i=n(87254),r=n(3543),s=n(56329);let d={key:"daydream",name:()=>i.ag._({id:"QycuHk"}),description:()=>i.ag._({id:"9CR0co"}),getCSSVars(e){let{cardColor:t,accentPalette:n}=e,l=(0,r.DP)(t),a=(0,r.DT)(t,l?15:-8),o=Object.fromEntries(n.map((e,t)=>{let l=":nth-child(".concat(n.length,"n + ").concat(t+1,")");return[l,{"--alternating-item-color":e}]}));return{"--line-color":a,"--card-border-shadow":"0 0 0 0.25em ".concat(a),"--card-border-print":"0.25em solid ".concat(a),"--card-border-radius":"2em","--line-thickness":"0.125em","--card-color-transparent":(0,r.tT)(t,.75),"--box-border-radius":"1.5em","--shape-border-color":n[0],"--shape-bg-color":(0,r.DT)(n[0],-10),".node-tableRow, .node-smartLayoutCell, [data-alternate-colors]":o}},hasTransparentShapes:!0,cardSx:{boxShadow:"var(--card-border-shadow)","@media print":{boxShadow:"none",border:"var(--card-border-print)"},backgroundColor:"var(--card-color-transparent)"},cardFullBleedSx:{backgroundColor:"var(--card-color-transparent)"},boxSx:{backgroundColor:"var(--card-color)",borderRadius:"var(--box-border-radius)"},imageSx:{borderRadius:"2.5em"},boxBackgroundSx:{"--heading-color":"var(--shape-bg-color-override, var(--alternating-item-color))",boxShadow:"0 0 0 var(--line-thickness) var(--shape-bg-color-override, var(--alternating-item-color))",borderColor:"var(--shape-bg-color-override, var(--alternating-item-color))","@media print":{boxShadow:"none",border:"var(--line-thickness) solid"},backgroundColor:"var(--card-color)",borderRadius:"var(--box-border-radius)"},outsideTextSx:{...(0,s.Mt)("var(--shape-bg-color-override, var(--alternating-item-color))")},smartLayoutImageSx:{boxShadow:"0 0 0 var(--line-thickness) var(--shape-bg-color-override, var(--alternating-item-color))",borderRadius:"var(--box-border-radius)","@media print":{boxShadow:"none",border:"var(--line-thickness) solid var(--shape-bg-color-override, var(--alternating-item-color))"}},smartLayoutImageShape:"circle",lineSx:{backgroundColor:"var(--shape-bg-color-override, var(--alternating-item-color, var(--line-color)))"},shapeFillSx:{fill:"var(--shape-bg-color-override, var(--alternating-item-color))"},boxFillSx:{backgroundColor:"var(--shape-bg-color-override, var(--alternating-item-color))"},shapeBackgroundSx:{stroke:"var(--shape-border-color-override, var(--alternating-item-color, var(--shape-border-color)))",fill:"var(--shape-bg-color-override, var(--alternating-item-color, var(--shape-bg-color)))",fillOpacity:0,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"calc(var(--line-thickness) * 0.75)",vectorEffect:"non-scaling-stroke"},clickableSx:{boxShadow:"0 0 0 var(--line-thickness) var(--link-color)","@media print":{boxShadow:"none",border:"var(--line-thickness) solid var(--link-color)"},borderRadius:"1.5em","&.button":{border:"var(--line-thickness) solid var(--link-color)",boxShadow:"none"}},tableSx:{backgroundColor:"var(--card-color)",borderRadius:"1.5em",boxShadow:"var(--card-border-shadow)","@media print":{boxShadow:"none",border:"var(--card-border-print)"},"tbody tr":{":last-child":{borderBottom:"none !important"},borderBottom:"0.125em solid var(--alternating-item-color)"}},tldrawStyles:{fill:"none",strokeWidth:"md"},knobDefaults:{roundness:"xl",buttonRoundness:"xl",shapeFill:"none",shapeBorder:"md",cardBorder:"lg",cardTransparency:"faded",cardShadow:"none",shapeColorScheme:"custom"}};var u=n(97001),c=n(90221);let m={...u.A,key:"finesse",name:()=>i.ag._({id:"PARkyf"}),description:()=>i.ag._({id:"KjHaEz"}),getCSSVars(e){let{cardColor:t,accentColor:n}=e,l=(0,r.DP)(t);return{...u.A.getCSSVars(e),"--shape-bg-color":(0,r.gn)((0,r.DT)(t,l?8:-5),l?5:20),"--shape-border-color":n,"--line-thickness":"0.125em","--box-border-radius":"0.25em","--card-border-radius":"0.25em","--card-border-width":"0em"}},cardSx:{backgroundColor:"var(--card-color)"},cardFullBleedSx:{backgroundColor:"var(--card-color)"},boxSx:{border:"0px",borderRadius:"var(--box-border-radius)"},clickableSx:{border:"0.0625em solid var(--accent-color-border)",backgroundColor:"var(--shape-bg-color)"},boxBackgroundSx:{borderRadius:"var(--box-border-radius)",backgroundColor:"var(--shape-bg-color-override, var(--shape-bg-color))"},lineSx:{opacity:.8,backgroundColor:"var(--shape-border-color-override, var(--shape-border-color))"},shapeBackgroundSx:{fill:"var(--shape-bg-color-override, var(--shape-bg-color))",stroke:"var(--shape-border-color-override, var(--shape-border-color))",strokeWidth:0},outsideTextSx:{},tableSx:{"tbody tr":{_even:{backgroundColor:"var(--shape-bg-color)"},td:{borderX:"0px"},position:"relative",_after:{content:'""',position:"absolute",right:(0,c.s2)()?0:"0.25em",top:(0,c.s2)()?0:"0.25em",width:"100%",height:"100%",border:"0.125em solid var(--accent-color)",borderTopWidth:"0px",zIndex:1,borderTopRadius:"inherit",borderBottomRadius:"inherit",opacity:.8,pointerEvents:"none"},_first:{_after:{borderTopWidth:"0.125em"},borderTopRadius:"0.25em"},_last:{borderBottomRadius:"0.25em"}}},tldrawStyles:{fill:"solid",strokeWidth:"none"},knobDefaults:{roundness:"sm",buttonRoundness:"sm",cardBorder:"none",cardShadow:"none",shapeFill:"solid",shapeBorder:"none",shapeShadow:"none"}},f={...u.A,key:"glass",name:()=>i.ag._({id:"f0936e"}),description:()=>i.ag._({id:"OwHyNe"}),getCSSVars(e){let{cardColor:t}=e,n=(0,r.DP)(t);return{...u.A.getCSSVars(e),"--card-color-transparent":(0,r.tT)(t,.75),"--card-border-color":n?"var(--chakra-colors-whiteAlpha-300)":"var(--chakra-colors-whiteAlpha-700)"}},cardSx:{...u.A.cardSx,backdropFilter:"blur(20px) saturate(170%)",backgroundColor:"var(--card-color-transparent)"},cardFullBleedSx:{...u.A.cardFullBleedSx,backdropFilter:"blur(20px) saturate(170%)",backgroundColor:"var(--card-color-transparent)"},clickableSx:{...u.A.clickableSx,backgroundColor:"var(--card-color-transparent)",backdropFilter:"blur(20px) saturate(170%)"},knobDefaults:{cardTransparency:"frosted",shapeColorScheme:"accent",cardShadow:"none"}},p={...u.A,key:"icebreaker",name:()=>i.ag._({id:"+Cp+K8"}),description:()=>i.ag._({id:"7Y1eeH"}),getCSSVars(e){let{cardColor:t}=e,n=(0,r.yv)(t);return{...u.A.getCSSVars(e),"--shape-bg-color":(0,r.tG)(t,n>.1?-7:7),"--interactive-border":"0.0625em solid var(--accent-color-border)","--box-border-radius":"0.5em","--card-border-radius":"0.5em","--card-border-width":"0em"}},boxSx:{border:"0px",borderRadius:"var(--box-border-radius)"},cardSx:{backgroundColor:"var(--card-color)"},cardFullBleedSx:{backgroundColor:"var(--card-color)"},clickableSx:{border:"var(--interactive-border)",backgroundColor:"var(--shape-bg-color)"},boxBackgroundSx:{borderRadius:"var(--box-border-radius)",backgroundColor:"var(--shape-bg-color-override, var(--shape-bg-color))"},shapeBackgroundSx:{fill:"var(--shape-bg-color-override, var(--shape-bg-color))",stroke:"var(--shape-border-color-override, var(--shape-border-color))",strokeWidth:0},lineSx:{backgroundColor:"var(--shape-border-color-override, var(--shape-border-color))"},outsideTextSx:{},tableSx:{border:"0px",borderRadius:"var(--box-border-radius)","tbody tr":{_odd:{backgroundColor:"var(--shape-bg-color)"}}},tldrawStyles:{fill:"solid",strokeWidth:"none"},knobDefaults:{...m.knobDefaults}};var g=n(29456),h=n(19194),b=n(96449);let y={key:"v3",name:()=>"v3",description:()=>"WIP",getCSSVars(e){let t=w(e),n=v(e),l=k(e),a=x(e),o={...t,...n,...l,...a};return o},cardSx:{boxShadow:"var(--card-shadow)",backdropFilter:"var(--card-backdrop-filter)",backgroundColor:"var(--card-background-color)",borderRadius:"var(--card-border-radius)","@media print":{boxShadow:"none",border:"var(--card-border)"}},cardFullBleedSx:{backdropFilter:"var(--card-backdrop-filter)",backgroundColor:"var(--card-background-color)",borderRadius:"0"},clickableSx:{border:"var(--shape-border-width) solid var(--neutral-border-color)",borderRadius:"var(--box-border-radius)",backgroundColor:"var(--clickable-background-color)",boxShadow:"var(--clickable-shadow)",backdropFilter:"var(--card-backdrop-filter)","@media print":{boxShadow:"none"}},imageSx:{borderRadius:"var(--box-border-radius)"},lineSx:{backgroundColor:"var(--shape-border-color-override, var(--line-color))",borderRadius:"var(--box-border-radius)"},boxFillSx:{background:"var(--shape-bg-color-override, var(--shape-fill))"},shapeFillSx:{fill:"var(--shape-bg-color-override, var(--shape-fill-svg))"},shapeBackgroundSx:{fill:"var(--shape-bg-color-override, var(--shape-bg-image-svg) var(--shape-bg-color-alpha))",stroke:"var(--shape-border-color-override, var(--shape-border-color))",strokeWidth:"var(--shape-border-width)",vectorEffect:"non-scaling-stroke",strokeLinejoin:"round",strokeLinecap:"round",filter:"url(#theme-shape-shadow)"},boxBackgroundSx:{borderRadius:"var(--box-border-radius)",boxShadow:"var(--shape-shadow, var(--shape-shadow-size) var(--shape-shadow-size) var(--shape-shadow-blur) var(--shape-border-color-override, var(--shape-border-color)))",border:"var(--shape-border-width) solid var(--shape-border-color-override, var(--shape-border-color))",background:"var(--shape-bg-color-override, var(--shape-bg-image, var(--shape-bg-color-alpha)))",backgroundColor:"var(--shape-bg-color-override, var(--shape-bg-color-alpha))",...(0,s.Mt)("var(--body-color)"),"@media print":{boxShadow:"none"}},outsideTextSx:{...(0,s.Mt)("var(--body-color)")},tableSx:{border:"0.0625em solid var(--neutral-border-color)",borderRadius:"var(--box-border-radius)","tbody tr":{_even:{backgroundColor:"blackAlpha.50"},_odd:{backgroundColor:"whiteAlpha.50"}},td:{borderLeft:"0.0625em solid var(--shape-border-color)",_first:{borderLeftWidth:"0"}}},SVGDefs:b.N},v=e=>{let{cardColor:t,accentColor:n,config:l}=e,a=(0,r.DP)(t),i=(0,r.yv)(t),s=l.shapeColorScheme||"default",d="default"===s?(0,r.gn)((0,r.DT)(t,i>.25?-6:12),i>.5?15:0):"accent"===s?a?(0,r.m2)(n,.25):(0,r.m2)(n,.9):n,u="none"===l.shapeFill?d:(0,h.e2)(d),c=o.Nu[l.shapeFill].opacity,m=(0,r.B5)(t,d,c);return{"--shape-bg-image":"none"===l.shapeFill||"accent"!==l.shapeColorScheme?void 0:"var(--accent-gradient-background)","--shape-bg-color-alpha":m,"--shape-bg-color":d,"--shape-border-color":u,"--line-color":"custom"===s?"var(--neutral-border-color)":u,"--shape-bg-image-svg":"none"===l.shapeFill||"accent"!==l.shapeColorScheme?"url(#transparent)":"url(#theme-accent-background-gradient-linear)","--shape-fill":"var(--accent-gradient-fill, var(--link-color))","--shape-fill-opacity":c,"--shape-fill-svg":"url(#theme-accent-gradient-linear) var(--link-color)"}},k=e=>{var t;let{config:n}=e,l=o.LZ[n.roundness],a=l.blockRadius,i=null===(t=o.q1[n.buttonRoundness])||void 0===t?void 0:t.borderRadius,{shapeBorderEm:r,lineThicknessEm:s}=o.y9[n.shapeBorder];return{"--box-border-radius":"".concat(a,"em"),"--shape-border-width":"".concat(r,"em"),"--line-thickness":"".concat(s,"em"),"--button-border-radius":i}},x=e=>{let{cardColor:t,config:n}=e,l=o.X_[n.shapeShadow],a=o.y9[n.shapeBorder].shadowSizeEm;if("getShadow"in l)return{"--shape-shadow":l.getShadow(t),"--clickable-shadow":l.getClickShadow(t)};{let{shadowDistance:e,shadowBlur:t}=l,n="0 0.25em 0.375em -0.0625em rgba(0, 0, 0, 0.1), 0 0.125em 0.25em -0.0625em rgba(0, 0, 0, 0.06)";return 0===e&&"0"===t?{"--shape-shadow":"none","--clickable-shadow":n}:{"--shape-shadow-size":"".concat(e*a,"em"),"--shape-shadow-blur":t,"--clickable-shadow":n}}},w=e=>{let{cardColor:t,config:n}=e,l=(0,r.DP)(t),a="frosted"===n.cardTransparency||"faded"===n.cardTransparency,i=o.LZ[n.roundness],s=i.cardRadius,d=o.y9[n.cardBorder].cardBorderEm,u=n.cardBorderColor?n.cardBorderColor:a?l?"rgba(230, 230, 230, 0.25)":"rgba(230, 230, 230, 0.75)":l?o.c:o.pk,c="soft3d"===n.cardShadow?(0,g.I)(t):o.mH[n.cardShadow||"default"].shadow,m="0 0 0 ".concat(d,"em ").concat(u),f=l?(0,r.DT)(t,20):(0,r.DT)(t,-5);return{"--card-background-color":a?(0,r.tT)(t,.75):t,"--card-border-color":u,"--card-backdrop-filter":"frosted"===n.cardTransparency?"blur(20px) saturate(170%)":"none","--card-border":"var(--card-border-width) solid var(--card-border-color)","--card-border-width":"".concat(d,"em"),"--card-border-radius":"".concat(s,"em"),"--card-shadow":"none"===c?m:"".concat(m,", ").concat(c),"--clickable-background-color":"none"===n.shapeFill?(0,r.tT)(f,.4):(0,r.tT)(f,.6)}},S=[u.A,f,g.B,m,d,p],C=S.reduce((e,t)=>(e[t.key]=t,e),{}),z=(e,t)=>{var n,o;let i=null!=t?t:l.VH.get("themesv3Base");if(i)return y;let r=null==e?void 0:e.config.themeBase;return r&&r in C?C[r]:(null==e?void 0:null===(n=e.config.container)||void 0===n?void 0:n.effect)===a.v.FROSTED||(null==e?void 0:null===(o=e.config.container)||void 0===o?void 0:o.effect)===a.v.FADED?f:u.A},A=e=>{let t=z(e,!1);return{...o.wr,...t.knobDefaults,...e.config}}},29456:function(e,t,n){"use strict";n.d(t,{B:function(){return r},I:function(){return s}});var l=n(87254),a=n(3543),o=n(97001),i=n(12899);let r={key:"soft3d",name:()=>l.ag._({id:"9Ti2G9"}),description:()=>l.ag._({id:"nB54Mu"}),getCSSVars(e){let{cardColor:t,accentColor:n}=e,l=(0,a.DP)(t);return{...o.A.getCSSVars(e),"--shadow-1-color":l?"rgba(255, 255, 255, 0.1)":"rgba(255, 255, 255, 0.7)","--shadow-2-color":l?"rgba(0, 0, 0, 0.25)":"rgba(189, 200, 223, 0.7)","--small-shadow-distance":"0.125em","--small-shadow-distance-negative":"-0.125em","--small-shadow-blur":"0.25em","--svg-shadow-blur":"0.075em","--big-shadow-distance":"0.375em","--big-shadow-distance-negative":"-0.375em","--big-shadow-blur":"0.75em","--outer-shadow-small":"var(--small-shadow-distance-negative) var(--small-shadow-distance-negative) var(--small-shadow-blur) var(--shadow-1-color), var(--small-shadow-distance) var(--small-shadow-distance) var(--small-shadow-size) var(--shadow-2-color)","--outer-shadow-big":"var(--big-shadow-distance-negative) var(--big-shadow-distance-negative) var(--big-shadow-blur) var(--shadow-1-color), var(--big-shadow-distance) var(--big-shadow-distance) var(--big-shadow-distance) var(--shadow-2-color)","--inner-shadow-small":"inset var(--small-shadow-distance-negative) var(--small-shadow-distance-negative) var(--small-shadow-blur) var(--shadow-1-color), inset var(--small-shadow-distance) var(--small-shadow-distance) var(--small-shadow-blur) var(--shadow-2-color)","--line-thickness":"0.45em","--table-stripe":(0,a.tT)(n,.05),"--box-border-radius":"1em","--shape-bg-color":t,"--shape-bg-image":"none","--shape-bg-image-svg":"url()","--card-border-radius":"1.5em"}},cardSx:{backgroundColor:"var(--card-color)",boxShadow:"var(--outer-shadow-big)"},cardFullBleedSx:{backgroundColor:"var(--card-color)"},boxSx:{border:"0px",boxShadow:"var(--inner-shadow-small)",borderRadius:"var(--box-border-radius)"},clickableSx:{boxShadow:"var(--outer-shadow-big)",backgroundColor:"var(--card-color)",border:"0px !important"},imageSx:{borderRadius:"var(--box-border-radius)"},boxBackgroundSx:{boxShadow:"var(--inner-shadow-small)",borderRadius:"0.5em",backgroundColor:"var(--shape-bg-color-override, var(--shape-bg-color))"},lineSx:{boxShadow:"var(--inner-shadow-small)",backgroundColor:"var(--shape-bg-color)",borderRadius:"0.5em"},boxFillSx:{background:"var(--shape-bg-color-override, var(--shape-fill))"},shapeFillSx:{fill:"var(--shape-bg-color-override, var(--shape-fill-svg))"},shapeBackgroundSx:{fill:"var(--shape-bg-color-override, var(--shape-bg-image-svg) var(--shape-bg-color))",filter:"url(#soft3d-small-inner-shadow)"},SVGDefs:i.Q,tableSx:{boxShadow:"var(--inner-shadow-small)",borderRadius:"var(--box-border-radius)","tbody tr":{_even:{backgroundColor:"var(--table-stripe)"},_last:{borderBottomRadius:"var(--box-border-radius)"}}},tldrawStyles:{fill:"solid",strokeWidth:"none"},knobDefaults:{cardShadow:"soft3d",cardBorder:"none",roundness:"lg",buttonRoundness:"xl",shapeShadow:"soft3d",shapeFill:"none",shapeBorder:"none"},hasTransparentShapes:!0},s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.375,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=2*Math.abs(t),o=(0,a.DP)(e);return"".concat(n?"inset":""," ").concat(-t,"em ").concat(-t,"em ").concat(l,"em ").concat(o?"rgba(255, 255, 255, 0.15)":"rgba(255, 255, 255, 0.75)",", ").concat(n?"inset":""," ").concat(t,"em ").concat(t,"em ").concat(l,"em ").concat(o?"rgba(0, 0, 0, 0.75)":"rgba(0, 0, 0, 0.15)")}},14324:function(e,t,n){"use strict";n.d(t,{a:function(){return s}});var l=n(2784),a=n(19431),o=n(94090),i=n(67613),r=n(36651);let s=()=>{let e=(0,r.n_)(),t=(0,o.TL)(),{data:n,loading:s}=(0,a.BCl)({variables:{workspaceId:e,archived:!1},skip:!e,fetchPolicy:"cache-first",nextFetchPolicy:"cache-only"}),{data:d,loading:u}=(0,a.BCl)({variables:{workspaceId:null,archived:!1},fetchPolicy:"cache-first",nextFetchPolicy:"cache-only"}),c=(0,l.useMemo)(()=>(null==d?void 0:d.themes)||[],[null==d?void 0:d.themes]),m=(0,l.useMemo)(()=>(null==n?void 0:n.themes)||[],[null==n?void 0:n.themes]);return(0,l.useEffect)(()=>{c.length>0&&t((0,i.cn)({globalThemes:c}))},[t,c]),(0,l.useEffect)(()=>{m.length>0&&t((0,i.PA)({workspaceThemes:m}))},[t,m]),{isLoadingThemes:s||u,globalThemes:c}}},67613:function(e,t,n){"use strict";n.d(t,{PA:function(){return d},_8:function(){return p},cn:function(){return s},ez:function(){return f}});var l=n(58125);n(12956);let a={activeView:void 0,themesToDisplay:[],filterKeywords:[],searchQuery:"",globalThemes:[],workspaceThemes:[]},o=(0,l.oM)({name:"ThemePicker",initialState:a,reducers:{reset:()=>a,setActiveView(e,t){e.activeView=t.payload.activeView},setWorkspaceThemes(e,t){e.workspaceThemes=t.payload.workspaceThemes},setGlobalThemes(e,t){e.globalThemes=t.payload.globalThemes},setFilterKeywords(e,t){e.filterKeywords=t.payload.filterKeywords},setSearchQuery(e,t){e.searchQuery=t.payload.searchQuery},resetThemePickerFilters:e=>{e.activeView=void 0,e.themesToDisplay=[],e.filterKeywords=[],e.searchQuery=""}}}),{reset:i,setActiveView:r,setGlobalThemes:s,setWorkspaceThemes:d,setFilterKeywords:u,setSearchQuery:c,resetThemePickerFilters:m}=o.actions,f=e=>[...e.ThemePicker.globalThemes,...e.ThemePicker.workspaceThemes],p=o.reducer},12956:function(e,t,n){"use strict";n.d(t,{e9:function(){return c},lQ:function(){return m},S9:function(){return p},yU:function(){return g},Wz:function(){return f},A:function(){return h},wj:function(){return u}});var l,a=n(75652),o=n.n(a);n(9850);var i=n(22569);n(49354),n(13793);let r=e=>e.filter(e=>null!=e);var s=n(3543),d=n(41810);let u=e=>{var t,n;let l=g(e);return l?(0,s.DP)(l):null!==(n=null===(t=e.config.container)||void 0===t?void 0:t.isDark)&&void 0!==n&&n},c=e=>null!==(l=e.accentColor)&&void 0!==l?l:d.uP,m=e=>{let t=c(e),n=r(e.config.secondaryAccentColors||[]),l=[t].concat(n);return l},f=e=>{let t=m(e),n=g(e),l=u(e),{bodyColor:a=l?d.Z_:d.zL,headingColor:i=l?d.Qw:d.l0}=e.config;return o()(r([...t,n,a,i]))},p=e=>m(e),g=e=>{var t,n;let{cardBackground:l}=e.config;return null!==(n=(0,i.dF)(l))&&void 0!==n?n:(null===(t=e.config.container)||void 0===t?void 0:t.isDark)?d.nO:d.p_},h=e=>{if(e.config.stylePrompt)return e.config.stylePrompt;let t=e.config.keywords;if(!t)return;let n=t.color.slice(0,6).join(" "),l=t.tone.slice(0,6).join(" ");return"".concat(n,", ").concat(l)}},92440:function(e,t,n){"use strict";n.d(t,{S:function(){return P}});var l=n(52322),a=n(50019),o=n(28535),i=n(38035),r=n(87651),s=n(29117),d=n(36474),u=n(62614),c=n(42946),m=n(49929),f=n(94523),p=n(5879),g=n(87202),h=n(2784),b=n(43997),y=n(944),v=n(90507),k=n(93982),x=n(11093),w=n(70675),S=n(64696),C=n(77381),z=n(31230),A=n(17487),I=n(40279),j=n(97253),F=n(61309),B=n(4312),M=n(13653);let E=()=>[S.Z.configure({horizontalRule:!1,codeBlock:!1}),B.L,w.Z.configure({openOnClick:!1}),z.d,I.E,F.cB,F.s6,F.nk,A.Hy,C.l,A.Pi,j.R,M.Jn],_=(0,g.P6)("mod+Enter"),O=(0,g.P6)("mod+a"),P=h.memo(e=>{let{clearContentOnSave:t=!1,editable:n=!0,saveButtonText:g=(0,l.jsx)(p.cC,{id:"tfDRzk"}),saveButtonIcon:w=(0,l.jsx)(m.G,{icon:c.XCy}),initialContent:S="",placeholder:C="Reply",showBorder:z=!0,onCancelEditingClick:A,onCommentSave:I,onCreate:j=()=>{},onUpdate:F=()=>{},shouldFocus:B=!0,alwaysShowButtons:M=!1,...P}=e,T=(0,h.useMemo)(()=>E(),[]),R=(0,b.v9)(k.ke),N=(0,b.v9)(k.KV),L=(0,v.jE)({extensions:T,content:S,onCreate:e=>{let{editor:t}=e;j({editor:t}),t.gammaDocId=R,t.gammaOrgId=N},onUpdate:e=>{let{editor:t,transaction:n}=e;F({editor:t,transaction:n})}});(0,h.useEffect)(()=>{L&&L.setOptions({editable:n})},[L,n]),(0,y.vm)(()=>{L&&B&&L.isEditable&&L.commands.focus("end")},[L,B],[L]),(0,h.useEffect)(()=>{L&&!n&&(null==L||L.commands.setContent(S))},[L,S,n]);let{colorMode:D}=(0,a.If)(),W="light"===D,U=e=>{O(e)&&(e.preventDefault(),null==L||L.commands.selectAll()),_(e)&&(e.preventDefault(),e.stopPropagation(),H())},H=()=>{if(!I||!L||(0,x.$y)(L.state.doc)||(0,x.WL)(L.state.doc))return;let e=L.getJSON();I(e),t&&L.commands.clearContent(!0)};return n?(0,l.jsxs)(i.k,{"data-gamma-child-tiptap-editor":"comment-editor",direction:"column",...P,children:[(0,l.jsx)(o.xu,{tabIndex:0,w:"100%",onKeyDownCapture:U,onKeyPressCapture:U,className:"comment-editor",color:W?"gray.800":"gray.200",bg:W?"white":"gray.800",...z?{border:"1px solid",borderColor:W?"gray.200":"gray.700",borderRadius:"md"}:{},sx:{"p:first-of-type::before":(null==L?void 0:L.isEmpty)?{content:'"'.concat(C,'"'),float:"left",color:W?"gray.400":"gray.500",pointerEvents:"none",height:"0"}:""},fontSize:"sm",children:(0,l.jsx)(v.kg,{editor:L,className:"comment-editor",style:{wordBreak:"break-word",width:"100%"}})}),(0,l.jsxs)(r.U,{in:!!(M||L&&!L.isEmpty),children:[(0,l.jsx)(o.xu,{h:3,children:(0,l.jsx)(l.Fragment,{})}),(0,l.jsxs)(s.U,{children:[(0,l.jsx)(d.L,{}),!!A&&(0,l.jsx)(f.kH,{label:(0,l.jsx)(p.cC,{id:"zeQdHz"}),placement:"top",children:(0,l.jsx)(u.z,{size:"sm",variant:"ghost",onClick:()=>{A&&A(),null==L||L.commands.clearContent(!0)},colorScheme:"red",children:(0,l.jsx)(p.cC,{id:"dEgA5A"})})}),(0,l.jsx)(u.z,{size:"sm",variant:"solid",leftIcon:w,isDisabled:(null==L?void 0:L.isEmpty)||(0,x.WL)(null==L?void 0:L.state.doc),onClick:H,"data-testid":"post-comment",children:g})]})]})]}):(0,l.jsx)(o.xu,{fontSize:"sm",children:(0,l.jsx)(v.kg,{editor:L})})})},74311:function(e,t,n){"use strict";n.d(t,{e:function(){return sC}});var l,a,o,i,r,s,d=n(52322),u=n(36518),c=n(78563),m=n(39615),f=n(2784),p=n(43997),g=n(14274),h=n(64467);n(23405);var b=n(94090);n(22265);var y=n(94523),v=n(29318);n(85e3);var k=n(49929);n(29957),n(91253);var x=n(42111);n(16893),new(n(76919)).v,n(67261);var w=n(5879),S=n(86323),C=n(98081);n(94297),n(16069),n(12302),n(50593),n(13988),(l=i||(i={})).Cards="cards",l.Images="images",l.Apps="apps",l.Videos="videos",l.Layouts="layouts",l.Text="text",l.Forms="forms",l.Charts="charts",(a=r||(r={})).Uncategorized="Other",a.Tables="Tables",a.Columns="Columns",a.SmartLayout="Smart layouts",a.Lists="Lists",a.Text="Text",a.Diagrams="Diagrams",a.Interactive="Interactive",a.New="New",a.Callouts="Callout boxes",a.Charts="Charts",r.Uncategorized,w.cC,r.Tables,w.cC,r.Columns,w.cC,r.SmartLayout,w.cC,r.Lists,w.cC,r.Interactive,w.cC,r.Text,w.cC,r.Diagrams,w.cC,r.New,w.cC,r.Callouts,w.cC,r.Charts,w.cC;var z=n(36651),A=n(944),I=n(27407);n(86076);var j=n(77381),F=n(72338),B=n(79609),M=n(26151),E=n(90507),_=n(86353),O=n(28535),P=n(4030);let T=e=>(0,d.jsx)(P.lO,{...e,children:(0,d.jsxs)(O.xu,{position:"relative","data-selection-ring":"padded",children:[(0,d.jsx)(E.ms,{as:"blockquote"}),(0,d.jsx)(O.xu,{position:"absolute",left:"0",top:"0",height:"100%",w:"var(--line-thickness)",backgroundColor:"var(--accent-color)",backgroundImage:"var(--accent-gradient)"})]})}),R=B.ZP.extend({group:"cardBlock layoutBlock footnoteBlock tableBlock smartLayoutBlock",content:"(block | calloutBlock)+",addNodeView:()=>(0,E.fW)(T,{update:_.E7}),addCommands(){var e;return{...null===(e=this.parent)||void 0===e?void 0:e.call(this),unwrapQuoteOnDelete:()=>e=>{let{state:t,tr:n}=e,{selection:l}=t;if(!l.empty)return!1;let a=(0,F.Kk)(e=>e.type.name===R.name)(l);if(!a)return!1;let o=l.from<=a.pos+2;if(!o)return!1;let i=l.$from.blockRange(l.$to);if(!i)return!1;let r=(0,M.k9)(i);return!!r&&(n.lift(i,r),!0)}}}});var N=n(86900);let L=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,D=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,W=N.ZP.extend({addInputRules(){return[(0,F.Cf)({find:L,type:this.type}),(0,F.Cf)({find:D,type:this.type})]},renderHTML(e){let{HTMLAttributes:t}=e;return["b",(0,F.P1)(this.options.HTMLAttributes,t),0]}});var U=n(93486),H=n(51684),G=n(36781);let q=F.NB.create({name:"buttonGroup",content:"button{1, ".concat(G.YZ,"}"),group:"block",addNodeView:()=>(0,E.fW)(H.Ns,{update:_.I_}),parseHTML:()=>[{tag:"div[class=button-group]"},{tag:"buttons"}],renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,F.P1)(t,{class:"button-group"}),0]},renderHTMLforAI(e){let{node:t}=e;return["buttons",{},0]}});var V=n(29117),K=n(77533),Y=n(73200),$=n(56329),J=n(3543),X=n(41810),Z=n(17238),Q=n(86189),ee=n(70952),et=n(12304),en=n(97676),el=n(89);let ea=e=>{var t;let{node:n,editor:l,getPos:a,decorations:o}=e,{variant:i,icon:r,color:s}=n.attrs,{firstChildSize:u}=(0,ee.z)(o),{theme:c,isDark:m}=(0,Z.t)(o),p=(0,et.v0)(u,c),g=null!==(t=c.accentColor)&&void 0!==t?t:X.uP,{colorScheme:h,icon:b}=(0,C.hw)(i),{backgroundColor:y,iconColor:v,bodyColor:x}=s?eo(s):ei(m,h,g),w=(0,f.useCallback)(()=>{l.isEditable&&l.commands.selectNodeAtPos(a())},[l,a]);return(0,d.jsx)(P.lO,{...e,children:(0,d.jsxs)(O.xu,{backgroundColor:"".concat(y," !important"),pt:"0.25em",pb:"0.5em",px:"1em",className:"calloutBox",borderRadius:"var(--box-border-radius)",css:{"--body-color":x,"--heading-color":x},"data-selection-ring":!0,pos:"relative",children:[(0,d.jsxs)(V.U,{direction:"row",align:u?"baseline":"flex-start",spacing:"1em",children:[r&&(0,d.jsx)(K.x,{sx:p,onClick:w,color:v,mt:u?void 0:"1em",contentEditable:!1,children:(0,d.jsx)(k.G,{icon:b,fixedWidth:!0})}),(0,d.jsx)(E.ms,{style:{flex:"1 1 auto",minWidth:0},className:(0,Y.cx)($.LY)})]}),(0,d.jsx)(Q.A,{...e})]})})},eo=e=>{let t=(0,J.DP)(e),n=t?(0,J.m2)(e,.7):(0,J.m2)(e,.3);return{backgroundColor:e,bodyColor:t?"white":"black",iconColor:n}},ei=(e,t,n)=>{let l=e?(0,J.m2)("accent"===t?n:en.Ox.dark[t].hex,.15):(0,J.m2)("accent"===t?n:en.Ox.light[t].hex,.85),a=e?"accent"===t?(0,J.m2)(n,.7):el.eR.dark[t].hex:"accent"===t?(0,J.m2)(n,.3):el.eR.light[t].hex;return{backgroundColor:l,bodyColor:e?"white":"black",iconColor:a}},er=F.NB.create({name:"calloutBox",group:"cardBlock layoutBlock footnoteBlock smartLayoutBlock",content:"(block | calloutBlock)+",selectable:!0,isolating:!0,containerHandle:!0,addAttributes:()=>({variant:{default:"note"},icon:{default:!0},color:{}}),addNodeView:()=>(0,E.fW)(ea,{update:_.E7}),parseHTML:()=>[{tag:"aside"}],renderHTML(e){let{HTMLAttributes:t}=e;return["aside",(0,F.P1)(t,{class:"calloutBox"}),0]}});var es=n(96342),ed=n(52332),eu=n(9850),ec=n.n(eu),em=n(60737),ef=n(27191),ep=n(50260),eg=n(55850),eh=n(13793),eb=n(11093),ey=n(38322),ev=n(15690),ek=n(9726),ex=n(91073),ew=n(23147),eS=n(14657),eC=n(15468),ez=n(98462),eA=n(93814),eI=n(3027),ej=n(96255);let eF=(e,t,n)=>{let l=t.doc.resolve(e),a=t.doc.nodeAt(e),o=e+l.nodeAfter.nodeSize,i=t.doc.resolve(o),r=t.doc.nodeAt(o);if(!r||!(0,ej.KH)(r))return!1;let s=a&&(0,ez.Qp)(a),d=(0,ez.Qp)(r),u=null;d&&(u=s?eO(t.doc,l.pos,!0):a?l.pos+a.nodeSize-1:null);let c=eM(t,o);if(!c)return!1;t.delete(o,o+r.nodeSize);let m=e_(t,e,!0);if(u&&d){let e=(0,ez.cM)(i);if(e){let n=s?e.node.content:e.node;t.insert(u,n),t.setMeta("cardNotesHandled",!0)}}t.insert(m,c.node.content);let f={type:"merge-cards",contentPos:c.pos,insertPos:m};if(t.setMeta("annotationEvent",f),n.selection instanceof eI.Q){let e=(0,ev.E)(t.doc.resolve(m));e&&t.setSelection(e)}return!0},eB=(e,t)=>{let n=t.doc.resolve(e);if(!n.nodeBefore)return!1;let l=e-n.nodeBefore.nodeSize,a=t.doc.nodeAt(l);if(!a||!(0,ej.KH)(a))return!1;let o=(0,ez.Qp)(a),i=n.nodeAfter&&(0,ez.Qp)(n.nodeAfter),r=null;i&&(r=o?eO(t.doc,l,!0):l+a.nodeSize-1);let s=eM(t,e);if(!s)return!1;t.delete(e,e+n.nodeAfter.nodeSize);let d=e_(t,l,!0);if(r&&i){let e=(0,ez.cM)(n);if(e){let n=o?e.node.content:e.node;t.insert(r,n),t.setMeta("cardNotesHandled",!0)}}t.insert(d,s.node.content);let u=(0,ev.E)(t.doc.resolve(d));u&&t.setSelection(u);let c={type:"merge-cards",contentPos:s.pos,insertPos:d};return t.setMeta("annotationEvent",c),!0},eM=(e,t)=>{let n=(0,eC.wz)(e,t);return 0===Object.entries(n).length?{node:e.doc.nodeAt(t),pos:t}:n.body||null},eE=e=>{let t=(0,eb.Ru)(e,e=>"cardLayoutItem"===e.type.name&&"body"===e.attrs.itemId||"card"===e.type.name);return 0===t.length?null:t[0]},e_=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=(0,eC.wz)(e,t),a=e.doc.resolve(t);if(0===Object.entries(l).length)return n?a.doc.resolve(a.start(a.depth+1)).end():t+1;if(!l.body)throw Error("Could not find card body at cardPos=".concat(t));let o=e.doc.resolve(l.body.pos);return n?o.doc.resolve(o.start(o.depth+1)).end():o.pos+1},eO=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=e.resolve(t),a=(0,ez.cM)(l);if(!a)return null;let o=e.resolve(a.pos);return n?o.doc.resolve(o.start(o.depth+1)).end():o.pos+1},eP=(e,t)=>{if(!e.empty)return!1;let n=e instanceof eI.Q;if(!(0,F.xh)(e)&&!n)return!1;let{from:l,$from:a}=e;if(!t&&0!==a.parentOffset||t&&a.parentOffset!==a.parent.content.size)return!1;let o=eE(a);if(!o)return!1;if(n)return t?l===o.pos+o.node.nodeSize-1:l===o.pos+1;let i=["paragraph","heading","title"],r=!0;for(let e=a.depth;e>0;e--){let t=a.node(e);if("card"===t.type.name||(0,ej.pv)(t))break;if(!i.includes(t.type.name)){r=!1;break}}return!!r&&(t?l===o.pos+o.node.nodeSize-2:l===o.pos+2)},eT=/^(\*\*\*)/,eR=F.hj.create({name:"cardCommands",addCommands:()=>({resetCardSettings:e=>t=>{let{state:n,dispatch:l,chain:a}=t;if(!l)return!0;let o=a();return n.doc.descendants((t,n)=>{(0,ex.KH)(t)&&o.updateNestedAttributesAtPos(n,e)}),!0},splitCardAtSelection:()=>e=>(eN(e),!0),insertNestedCard:()=>e=>{let{state:t,chain:n,dispatch:l,editor:a}=e;if(!l)return!0;let{from:o,$from:i}=t.selection;return n().insertContentAndSelect((0,ek.e)().insertCardInside).command(e=>{let{tr:t}=e,n=(0,eS.Mw)({editor:a,pos:o-i.parentOffset-1,tr:t});return n.length&&requestAnimationFrame(()=>{var e,t;null===(e=(t=a.commands).moveAnnotations)||void 0===e||e.call(t,n)}),!0}).run(),!0},convertToNestedCard:()=>e=>{let{state:t,dispatch:n,commands:l}=e;if(!n)return!0;let a=(0,em.ym)(t.schema.nodes[es.Zb.name])(t,n);return l.selectInsertedNode(),a},unnestCard:e=>t=>{let{state:n,dispatch:l,chain:a,tr:o}=t,i=n.doc.nodeAt(e);if(!i||!(0,ex.KH)(i))return!1;if(!l)return!0;let r=eM(o,e);if(!r)return!1;let s=o.doc.resolve(e),d=(0,F.qv)(s,ex.KH),u=(0,ez.cM)(s),c=null;u&&(c=d?eO(n.doc,d.pos,!0):null);let m=e+i.nodeSize,f=a();if(c&&u&&d){let e=(0,ez.Qp)(d.node)?u.node.content:u.node;f.insertContentAt(c,e.toJSON()).setMeta("cardNotesHandled",!0)}return f.insertContentAt({from:e,to:m},r.node.toJSON().content).selectInsertedNode().command(t=>{let{tr:n}=t;return n.setMeta("annotationEvent",{type:"merge-cards",contentPos:r.pos,insertPos:e}),!0}).run(),!0},mergeCardsAtPos:e=>t=>{let{tr:n}=t,l=n.doc.nodeAt(e);return!!(l&&(0,ex.KH)(l))&&eB(e,n)},mergeCardsOnDelete:e=>t=>{let{tr:n,state:l,dispatch:a}=t;if(!a)return!0;let{selection:o}=l,i=(0,F.Kk)(ex.KH)(o);if(!i||!o.empty)return!1;try{let t=eP(o,e);if(!t)return!1;return e?eF(i.pos,n,l):eB(i.pos,n)}catch(e){return console.debug("[CardCommands] mergeCardsOnDelete failed",e),!1}},insertCardAfter:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,ek.e)().insertCardInside;return t=>{let{state:n,chain:l,dispatch:a}=t;if(!a)return!0;let{selection:o}=n,i=(0,F.Kk)(ex.KH)(o);if(!i)return!0;let{pos:r,node:s}=i,d=r+s.nodeSize;return l().insertContentAt(d,e).selectInsertedNode().scrollIntoView().run(),!0}},deleteCardIfEmpty:e=>t=>{let{tr:n,dispatch:l,state:a}=t;if(!l)return!0;let o=!1,{from:i,to:r}=a.selection;return a.doc.nodesBetween(i,r,(t,l)=>{if((0,ex.KH)(t)&&(0,es.pr)(t)&&l>eA.k_){let a=n.doc.resolve(l).depth>1;n.deleteRange(l,l+t.nodeSize);let i=l+(a?0:e?1:-1),r=(0,ev.E)(n.doc.resolve(i),e?1:-1);r&&n.setSelection(r),o=!0}}),o},deleteCard:e=>t=>{let{state:n,dispatch:l,tr:a}=t;if(!l)return!0;let o=n.doc.resolve(e),i=o.depth>1,r=o.nodeAfter;if(!r||!(0,ex.KH)(r))return console.error("[CardExtension.deleteCard] Cannot delete card. Node unknown"),!1;a.delete(e,e+r.nodeSize);let s=(0,ev.E)(a.doc.resolve(e-(i?0:1)),-1);return s&&a.setSelection(s),!0},duplicateCard:e=>t=>{let{state:n,chain:l,editor:a}=t,o=n.doc.nodeAt(e);if(!o||!(0,ex.KH)(o))return console.error("[CardExtension.duplicateCard] Cannot duplicate card. Node unknown"),!1;let i=e+o.nodeSize,r=(0,ew.hs)(ec()(o.toJSON()));return l().insertContentAt(i,r,{updateSelection:!1}).command(e=>{let{tr:t}=e;return t.setMeta(eg.q,!0),!0}).run(),setTimeout(()=>{a.chain().selectInsideNodeAtPos(i).focus().run()},200),!0},rearrangeCards:e=>{let{from:t,to:n,position:l}=e;return e=>{let a,{view:o,state:i,tr:r}=e,s=i.doc.resolve(n),d=i.doc.resolve(t),u=d.pos+d.nodeAfter.nodeSize,c=new ef.qv(d),m=c.content();if((a="below"===l?s.pos+s.nodeAfter.nodeSize:"above"===l?s.pos:s.pos+s.nodeAfter.nodeSize-1)===d.pos)return r.setMeta("preventDispatch",!0),!0;r.delete(c.from,c.to);let f=r.mapping.map(a);r.replaceRangeWith(f,f,m.content.firstChild);let p=r.doc.resolve(f+1);r.setSelection(new ef.qv(p));let g={type:"move",insertPos:f,insertPosRaw:a,pos:d.pos,end:u};return r.setMeta("annotationEvent",g).setMeta("rearrangeCards",!0),o.focus(),!0}},rearrangeCardsById:(e,t)=>n=>{var l;let{dispatch:a,tr:o,editor:i}=n;if(!a)return!0;let r=(0,ej.Y0)(i.state.doc);if(!r)return!1;let s=r.map(e=>e.node.attrs.id),d=t.filter(e=>s.includes(e)).map(e=>r.find(t=>t.node.attrs.id===e)).filter(e=>!!e),u=d.map(e=>({pos:e.pos,id:e.node.attrs.id})).filter(e=>{let{id:t}=e;return t&&"string"==typeof t}),c=null===(l=d[0])||void 0===l?void 0:l.node.attrs.id;if(!c)return!0;let m=Math.max(e.findIndex(e=>e===c),0),f=e[m-1],p=r.find(e=>e.node.attrs.id===f),g=m>0&&p?p.pos+p.node.nodeSize:r[m].pos;if(void 0===g)return!0;let h=[...d].reverse();h.forEach(e=>{e&&o.replaceWith(g,g,e.node)}),d.forEach(e=>{if(!e)return;let t=o.mapping.map(e.pos);o.delete(t,t+e.node.nodeSize)});let b=(0,ej.Y0)(o.doc);if(!b)return!0;let y=b.map(e=>({pos:e.pos,id:e.node.attrs.id})).filter(e=>{let{id:n}=e;return t.includes(n)}),v=y.map(e=>{var t;let{id:n,pos:l}=e,a=null===(t=u.find(e=>e.id===n))||void 0===t?void 0:t.pos;return a?{id:n,oldPos:a,newPos:l}:null}).filter(e=>!!e);return o.setMeta("annotationEvent",{type:"rearrange-cards",rearrangedCardPositions:v,insertPos:g}).setMeta("rearrangeCards",!0),!0},updateThemeAccentImages:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{let{editor:l,commands:a}=n,o=!e||0===e.length,i=0;return l.state.doc.descendants((n,l)=>{let r=(0,eC.pt)(n);if(r||(0,ex.KH)(n)){let s=r&&n.attrs.background.type===eh.E.NONE;(n.attrs.background.source===ep.cx||t&&r||s)&&(o?a.updateAttributesAtPos(l,{background:{type:r?eh.E.NONE:void 0}}):(a.updateNestedAttributesAtPos(l,{background:e[i%e.length]}),i++))}}),!0}},deleteCardsById:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{let{editor:l,dispatch:a,tr:o}=n;if(!a)return!0;let i=(0,F.N2)(l.state.doc,t=>(0,ex.KH)(t)&&e.includes(t.attrs.id));if(!i.length)return!1;let r=i.map((e,t)=>({pos:e.pos,cardIndex:t}));i.forEach(e=>{let{node:t,pos:n}=e;o=o.delete(o.mapping.map(n),o.mapping.map(n+t.nodeSize))});let s=i[0].pos,d=(0,ey.t)(o.doc.resolve(s));return d&&(o=o.setSelection(d)),t&&o.setMeta("annotationEvent",{type:"filmstrip-cut",deleted:r}),!0}},deleteCardsAfter:e=>t=>{let{editor:n,dispatch:l,commands:a}=t;if(!l)return!0;let o=(0,eb.sS)(n.state.doc.firstChild,e=>(0,ex.KH)(e)).map(e=>e.node.attrs.id);if(null===e)return a.deleteCardsById(o);let i=o.indexOf(e),r=i>-1?o.slice(i+1):[];return 0===r.length||a.deleteCardsById(r)},selectInsideNextCard:e=>t=>{let{state:n,dispatch:l,commands:a}=t;if(!l)return!0;let{selection:o}=n,i=(0,eb.Ru)(o.$from,ex.KH)[0];if(!i||!o.empty)return!1;let r=n.doc.resolve(i.pos),s=r.index();if(e){if(s===r.parent.childCount-1)return!1;a.selectInsideNodeAtPos(i.pos+i.node.nodeSize)}else{if(0===s)return!1;let e=r.posAtIndex(s-1);a.selectInsideNodeAtPos(e,-1)}return!0}}),addInputRules:()=>[new F.VK({find:eT,handler:e=>{let{state:t,range:n}=e,{tr:l}=t;eN({tr:l.deleteRange(n.from,n.to),dispatch:!0})}})]}),eN=e=>{let{tr:t,dispatch:n}=e;if(!n)return;let l=(0,F.Kk)(ex.KH)(t.selection);if(!l){console.error("Couldn't find parent card while splitting",t.selection);return}let{accent:a,body:o}=(0,eC.wz)(t,l.pos),i=a&&o&&a.pos>o.pos;i&&(t.delete(a.pos,a.pos+a.node.nodeSize),t.insert(o.pos,a.node));let{selection:r}=t,{$from:s}=r,d=r.$from.parentOffset,u=r.from-d-1,c=r.$from.node().content.size-r.$from.parentOffset;t.setMeta(eg.q,!0),t.setMeta("annotationEvent",{type:"split-card",splitPos:s.before()});let{node:m,depth:f}=l,{type:p,attrs:g}=m,h=s.depth-f+1,b=(0,ez.cM)(t.doc.resolve(l.pos));t.split(s.pos,h,[{type:p,attrs:{...g,layout:"blank"}}]);let y=(0,ey.G)(t,eA.W4).pos,v=t.doc.nodeAt(y).childCount;if(0===d&&(t.delete(u,u+t.doc.nodeAt(u).nodeSize),y=t.steps[t.steps.length-1].getMap().map(y)),0===c&&v>1){let e=y+1,n=t.doc.nodeAt(e);n&&!("cardNotes"===n.type.name||"cardLayoutItem"===n.type.name)&&t.delete(e,e+n.nodeSize)}let k=(0,ez.cM)(t.doc.resolve(y));k&&t.delete(k.pos,k.pos+k.node.nodeSize);let x=(0,ev.E)(t.doc.resolve(y+1)),w=t.doc.nodeAt(l.pos),S=w&&l.pos+w.nodeSize-1;if(S&&b){let e=b.node;t.insert(S,e),t.setMeta("cardNotesHandled",!0)}x&&t.setSelection(x).scrollIntoView()};var eL=n(30870),eD=n(65365),eW=n(28667),eU=n(50279),eH=n(19283),eG=n(38372),eq=n(18292),eV=n(38035),eK=n(98537),eY=n.n(eK),e$=n(16494),eJ=n(21004),eX=n(45546),eZ=n(24813),eQ=n(4878),e0=n(93982),e1=n(22569),e2=n(87205),e4=n(72975),e5=n(39018),e3=n(11050),e9=n(13180),e8=n(13653),e7=n(87651),e6=n(43297),te=n(69251),tt=n(54933),tn=n(87254),tl=n(84636),ta=n.n(tl),to=n(11550),ti=n(25566),tr=n(93565),ts=n(70065),td=n(92850),tu=n(26468),tc=n(55199),tm=n(2338),tf=n(54326),tp=n(97217),tg=n(42946),th=n(55448),tb=n(93302),ty=n(60421),tv=n(8493);let tk=(0,f.memo)(e=>{let{editor:t,onClose:n,handleAddCard:l,recentlyUsedTemplates:a}=e,o=(0,ts.p)(),i=(0,tb.ON)("modal"),r=(0,f.useCallback)(e=>{o({status:"success",title:tn.ag._({id:"WJGAWS"}),duration:1300,isClosable:!1,position:"top"}),n(),l(e,"modal")},[n,l,o]),s=a.filter(e=>!(0,tb.pA)(t,e)).slice(0,tv.t);return(0,d.jsx)(y.Wk,{isDark:!1,children:(0,d.jsxs)(td.u_,{isOpen:!0,onClose:n,size:{base:"5xl","2xl":"6xl"},children:[(0,d.jsx)(tu.Z,{}),(0,d.jsxs)(tc.h,{children:[(0,d.jsx)(tm.o,{}),(0,d.jsx)(tf.x,{children:(0,d.jsx)(w.cC,{id:"HNcS3K"})}),(0,d.jsx)(tp.f,{pb:6,children:(0,d.jsxs)(e6.K,{spacing:6,children:[!!s.length&&(0,d.jsxs)(e6.K,{children:[(0,d.jsxs)(K.x,{color:"gray.700",children:[(0,d.jsx)(k.G,{icon:tg.SZw,fixedWidth:!0})," ",(0,d.jsx)(w.cC,{id:"uabU9X"})]}),(0,d.jsx)(te.r,{templateColumns:"repeat(auto-fill, minmax(calc(".concat(ty.q1.lg," + 0.4em), 1fr))"),gap:3,children:s.map(e=>{let{jsonContent:t,id:n,name:l}=e;return(0,d.jsx)(th.L,{isDark:!1,isSelected:!1,tooltip:l(),label:l(),onClick:()=>r(n),w:"auto",templateIcon:(0,d.jsx)(ty.n7,{content:t,isDark:!1,borderRadius:"base",size:"lg"})},n)})})]}),i.map(e=>{let{subcategory:n,items:l}=e;return(0,d.jsxs)(e6.K,{children:[(0,d.jsx)(K.x,{color:"gray.700",children:n}),(0,d.jsx)(te.r,{templateColumns:"repeat(auto-fill, minmax(calc(".concat(ty.q1.lg," + 0.4em), 1fr))"),gap:3,children:l.filter(e=>!(0,tb.pA)(t,e)).map(e=>{let{id:t,name:n,jsonContent:l}=e,o=!!a.find(e=>{let{id:n}=e;return n===t});return(0,d.jsx)(th.L,{isDark:!1,isSelected:!1,tooltip:"".concat(n()," ").concat(o?tn.ag._({id:"uabU9X"}):""),label:n(),onClick:()=>r(t),w:"auto",templateIcon:(0,d.jsx)(ty.n7,{content:l,isDark:!1,borderRadius:"base",size:"lg"}),boxShadow:"none"},t)})})]},n)})]})})]})]})})});var tx=n(66028),tw=n(89458),tS=n(88640),tC=n(87037);let tz=(0,f.memo)(e=>{let{setCardContent:t,editor:n,isFocused:l,edgeLayoutsDisabled:a,isNested:o}=e,i=(0,v.Yy)(),{isOpen:r,onClose:s,onOpen:u}=(0,to.M)({id:"cardTemplatesModal"}),[c,m]=(0,tw.I)(tS.H.recentlyUsedCardTemplateIds,[]),p=(0,f.useCallback)(function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"placeholder";if(t(e),"aiCardAfter"!==e){let t=(0,tC.Z)(e,c);m(t)}let l="placeholder"===n?ti.fe.CARD_TEMPLATE_PLACEHOLDER:ti.fe.CARD_TEMPLATE_MODAL;(0,tr.Z)({nodeName:"card",key:e},l)},[t,c,m]),[g,h]=(0,f.useMemo)(()=>{let e=c.map(e=>(0,tb.wP)()[e]).filter(e=>!!e),t=(0,tb.ON)("placeholder").flatMap(e=>{let{items:t}=e;return t}),l=ta()([...e,...t],"id").filter(e=>!!e).filter(e=>!(0,tb.pA)(n,e,e=>{var t;let{jsonContent:n}=e;return a&&(0,eC.Vc)(null===(t=n.attrs)||void 0===t?void 0:t.layout)}));return[l,e]},[a,n,c]);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(y.Wk,{isDark:i,children:(0,d.jsx)(e7.U,{in:l||r,onAnimationComplete:()=>{var e,t;null===(e=(t=n.commands).refreshBubbleMenu)||void 0===e||e.call(t)},children:(0,d.jsxs)(e6.K,{overflow:"hidden",mx:16,mb:12,contentEditable:!1,onMouseDown:tx.br,cursor:"default",fontFamily:"Inter, sans-serif",color:"var(--body-color-muted)",children:[(0,d.jsx)(K.x,{fontSize:"sm",fontWeight:"normal",children:(0,d.jsx)(w.cC,{id:"3h21H3"})}),(0,d.jsxs)(te.r,{templateColumns:"repeat(auto-fill, minmax(calc(".concat(ty.q1.md," + var(--chakra-space-1-5)), 1fr))"),fontSize:"1rem",gap:2,children:[g.slice(0,o?2:4).map(e=>{let{id:t,jsonContent:n,name:l}=e;return(0,d.jsx)(th.L,{tooltip:l(),isDark:i,templateIcon:(0,d.jsx)(ty.n7,{content:n,isDark:i,borderRadius:"base",maxH:"5em",overflow:"hidden"}),isSelected:!1,onClick:()=>p(t),w:"auto",minW:"auto",fontSize:"1em"},t)}),(0,d.jsx)(th.L,{tooltip:tn.ag._({id:"bHT6mZ"}),label:(0,d.jsx)(w.cC,{id:"iTylMl"}),isDark:i,templateIcon:(0,d.jsx)(k.G,{icon:tt.emM,fixedWidth:!0}),isSelected:!1,onClick:u,fontSize:"1em"}),(0,d.jsx)(th.L,{isDark:i,templateIcon:(0,d.jsx)(k.G,{icon:tt.JyM,fixedWidth:!0}),label:(0,d.jsx)(w.cC,{id:"ziAjHi"}),tooltip:tn.ag._({id:"tkZYgO"}),isSelected:!1,onClick:()=>{p("aiCardAfter")},fontSize:"1em"})]})]})})}),r&&(0,d.jsx)(tk,{editor:n,onClose:s,handleAddCard:p,recentlyUsedTemplates:h})]})});tz.displayName="ChooseCardTemplatePlaceholder";var tA=n(94804),tI=n(24551);let tj={marginLeft:"1em",path:{stroke:"var(--body-color) !important"}},tF=()=>{let e=(0,b.CG)(e0.Pu),t=(0,tI.cy)(e),n=t.ornaments;if(!n)return null;let l=n[0],{image:a}=l;return(0,d.jsx)(O.xu,{position:"absolute",right:"0",top:"0",width:a.width,height:a.height,maxH:"100%",overflow:"hidden",sx:tj,children:(0,d.jsx)(tA.Z,{src:a.src})},l.key)};var tB=n(27483),tM=n(64300),tE=n(9729),t_=n(36783),tO=n(75768),tP=n(32899),tT=n(75009);let tR=e=>{let{isVisible:t,setLayout:n,editor:l}=e,a=(0,v.Yy)(),o=a?"invert(.8) brightness(1.2)":"invert(0)";return(0,d.jsx)(y.Wk,{isDark:a,children:(0,d.jsx)(e7.U,{in:t,onAnimationComplete:()=>{var e,t;null===(e=(t=l.commands).refreshBubbleMenu)||void 0===e||e.call(t)},children:(0,d.jsxs)(e6.K,{overflow:"hidden",mx:16,mb:12,contentEditable:!1,onMouseDown:tx.br,cursor:"default",children:[(0,d.jsx)(K.x,{color:"var(--body-color-muted)",fontSize:"sm",fontFamily:"Inter",fontWeight:"normal",children:(0,d.jsx)(w.cC,{id:"q+/7Td"})}),(0,d.jsxs)(tO.h,{spacing:1,children:[(0,d.jsx)(tP.h,{"aria-label":tn.ag._({id:"loNm+3"}),h:"auto",p:1,variant:"ghost",onClick:()=>n("top"),icon:(0,d.jsx)(tT.E,{src:"/_next/static/media/layout-top.bb63e01e.svg",filter:o})}),(0,d.jsx)(tP.h,{"aria-label":tn.ag._({id:"dL4qXb"}),h:"auto",p:1,variant:"ghost",onClick:()=>n("left"),icon:(0,d.jsx)(tT.E,{src:"/_next/static/media/layout-left.deebff4d.svg",filter:o})}),(0,d.jsx)(tP.h,{"aria-label":tn.ag._({id:"kVQU97"}),h:"auto",p:1,variant:"ghost",onClick:()=>n("right"),icon:(0,d.jsx)(tT.E,{src:"/_next/static/media/layout-right.af6aebc7.svg",filter:o})}),(0,d.jsx)(tP.h,{"aria-label":tn.ag._({id:"3eqz61"}),h:"auto",p:1,variant:"ghost",onClick:()=>n("behind"),icon:(0,d.jsx)(tT.E,{src:"/_next/static/media/layout-behind.f3d267a6.svg",filter:o})})]})]})})})},tN=(e,t,n)=>{if(n)return{};if("behind"===e||"blank"===e)return{borderRadius:"var(--card-border-radius)"};if("left"===e)return"accent"===t?{borderLeftRadius:"var(--card-border-radius)"}:"body"===t?{borderRightRadius:"var(--card-border-radius)"}:{};if("right"===e)return"body"===t?{borderLeftRadius:"var(--card-border-radius)"}:"accent"===t?{borderRightRadius:"var(--card-border-radius)"}:{};if("top"===e||"mobileLeft"===e)return"body"===t?{borderBottomRadius:"var(--card-border-radius)"}:"accent"===t?{borderTopRadius:"var(--card-border-radius)"}:{};if("mobileRight"===e){if("accent"===t)return{borderBottomRadius:"var(--card-border-radius)"};if("body"===t)return{borderTopRadius:"var(--card-border-radius)"}}return{}},tL=e=>{let{node:t,getPos:n,decorations:l,editor:a}=e,o=t.attrs,i=(0,t_.en)(l),{isNested:r,insideSideLayout:s}=(0,tB.$D)(l),u=(null==i?void 0:i.layout)==="blank",c=tN(i.layout,o.itemId,"full"===i.cardSize),m={flexDirection:"column",justifyContent:o.verticalAlign||"var(--card-vertical-align)"},p=(0,eC.$U)(null==i?void 0:i.layout),g=p&&!p.items[o.itemId],[h]=(0,tE.D)(i.cardId),y=(0,e9.R)(l),v=(0,b.CG)(e0.hN),k=(0,e8.Od)(l),w=(0,tM.W)(),C=(0,x.ye)("cardTemplatesPlaceholder"),z=(0,e3.z$)(),A=v&&y&&u,I=(0,f.useCallback)(e=>{let t=(0,eb.nv)(a.state.doc.resolve(n()),ej.KH),l=t.length>0?t[0].pos:null;l&&(null==z||z.track(e3.AA.CARD_LAYOUT_UPDATED,{source:"empty-card-placeholder",layout:e}),a.chain().setCardLayout(l,e,w).selectInsideCardBody(l).focus().run())},[a,n,w,z]),j=(0,f.useCallback)(e=>{if(!C)return;let t=(0,eb.nv)(a.state.doc.resolve(n()),ej.KH),l=t.length>0?t[0]:null;if(!l)return;let o=(0,S.e1)()[e]||(0,S.e1)().blankCard,i=l.node.attrs,{layoutTemplateColumns:r,...s}=i;o.attrs={...s,...o.attrs};let d=l.pos,u=l.pos+l.node.nodeSize;a.chain().insertContentAt({from:d,to:u},o,{updateSelection:!1}).selectInsertedNode().run()},[C,a,n]);return(0,d.jsx)(E.T5,{as:"div",style:{...g?{display:"none"}:{}},children:(0,d.jsxs)(eV.k,{"data-content-reference":!0,className:"card-layout-cell-bg",w:"100%",h:"100%",position:"relative","data-selection-ring":!0,"data-selection-background":!0,..."presentCurrent"!==h&&c,...m,children:[u&&(0,d.jsx)(tF,{}),(0,d.jsx)(E.ms,{as:"div",style:{width:"100%"}}),A&&C&&(0,d.jsx)(tz,{isFocused:k,editor:a,setCardContent:j,edgeLayoutsDisabled:s,isNested:r}),A&&!r&&!C&&(0,d.jsx)(tR,{isVisible:k,setLayout:I,editor:a})]})})};var tD=n(59732),tW=n(96214),tU=n(98168);let tH=e=>{var t;let{hasImage:n,onEditImage:l,image:a,editor:o,isLoading:i,openEditBackgroundDrawer:r,borderProps:s,accentLayout:u,...c}=e;return n?null:(0,d.jsx)(eV.k,{align:"center",justify:"center",pos:"absolute",inset:0,role:"group",cursor:"default",...n?{}:{bgColor:"gray.200"},...c,children:!o.isThumbnail&&(0,d.jsx)(eV.k,{pos:"absolute",inset:0,justify:"center",align:"center",cursor:l?"default":void 0,onClick:l,children:(0,d.jsx)(O.xu,{color:"gray.400",h:"100%",w:"100%",children:(0,d.jsx)(e4.k3,{icon:tU.ah[ep.cx].icon,isUploading:!1,isLoading:i,loadingProvider:null==a?void 0:null===(t=a.loadImageParams)||void 0===t?void 0:t.provider,onSelectAndFocus:l,hasUploadError:!1,isAccentImageDrawer:!0,openEditBackgroundDrawer:r,h:"100%",w:"100%",hideQuickActions:"behind"===u,...s})})})})};var tG=n(66855);let tq=e=>{var t;let{background:n,rounded:l}=e,a=n.image&&!(0,tG.zd)(n.image.src)&&!(null===(t=n.image.meta)||void 0===t?void 0:t.has_transparency),o=a?(0,e1.wh)(n,!1,{width:400,blur:50}):void 0;return(0,d.jsx)(O.xu,{position:"absolute",inset:"0","data-image-fit-bg":!0,overflow:"hidden",...o,borderRadius:l?"var(--box-border-radius)":"inherit",marginY:l?"1em":void 0,bgPosition:"center","data-selection-ring":"inside"})},tV=e=>{let{image:t,resizeParams:n}=e,{src:l,tempUrl:a,meta:o}=t,i=(null==o?void 0:o.frame_count)&&o.frame_count>1,r=l&&!i&&n?(0,e2.SN)(l,n,o):l;return(0,d.jsx)(tT.E,{src:r||void 0,fallbackSrc:a||void 0,borderRadius:"var(--box-border-radius)",pos:"relative",flex:"0 1 auto",minH:0,minW:0,width:"auto",maxW:"100%"})},tK={width:1200},tY=e=>{let{editor:t,node:n,getPos:l}=e;(0,f.useEffect)(()=>{"cardLayoutItem"===n.type.name&&"accent"===n.attrs.itemId&&setTimeout(()=>{t.commands.command(e=>{let{tr:a}=e;return(0,eC.BA)(a,l(),n,t.schema),!0})})},[t,l,n])},t$=e=>{var t,n,l,a,o,i;let{node:r,decorations:s,editor:u,getPos:c}=e,m=r.attrs,{background:p}=m;tY(e);let{isOpen:g,onOpen:h,onClose:y}=(0,eq.q)(),[v,k]=(0,f.useState)(0),x=(0,f.useCallback)(e=>{u.commands.updateNestedAttributesAtPos(c(),e)},[u,c]),w=(0,f.useCallback)(e=>{u.commands.updateNestedAttributesAtPos(c(),{background:eY()({},p,{image:{...e,meta:{has_transparency:!0}}})})},[u,c,p]),{defaultFullBleed:S}=(0,b.CG)(e0.US),C=(0,t_.en)(s),z=(null==C?void 0:C.cardSize)==="default"?"full"===S:(null==C?void 0:C.cardSize)==="full",A=null==C?void 0:C.cardId,I=null==C?void 0:C.layout,j="behind"===I,F=u.isThumbnail?e2.Iv:"right"===I||"left"===I||"mobileLeft"===I||"mobileRight"===I?tK:void 0,{bgRemovalInProgress:B}=(0,eX.CI)({editor:u,id:A,src:null===(t=p.image)||void 0===t?void 0:t.src,updateAttributes:w}),M=(0,tW.U)(m,I),_=(0,e1.wh)(p,!1,F),O=(0,eC.$U)(I),P=!!O.items[m.itemId],T=tN(C.layout,m.itemId,"full"===C.cardSize),R="none"===p.type||p.type===eh.E.IMAGE&&!p.image||p.type===eh.E.IMAGE&&!(null===(n=p.image)||void 0===n?void 0:n.src)&&!(null===(l=p.image)||void 0===l?void 0:l.tempUrl),N="fit"===M&&p.image&&!R,L=(0,eZ.qs)(u,c),{setMediaDrawerSourceKeyAction:D}=(0,eZ.jn)(),W=(null===(a=p.image)||void 0===a?void 0:a.loadImageStatus)==="queued",U=(0,b.CG)(e0.hN);(0,f.useEffect)(()=>tD.T.on("toggleEditBackgroundDrawer",e=>{let{openDrawer:t,cardId:n}=e;t&&n===A&&h()}),[A,h]);let H=null===(o=p.image)||void 0===o?void 0:o.uploadStatus,G=(0,eQ.TZ)(),q=!z||"fit"===M||G?void 0:"left"===I||"right"===I?{borderRadius:"var(--box-border-radius)",marginY:"1em",height:"auto"}:"top"===I||"behind"===I?{width:"var(--editor-width)",position:"absolute",transform:"translateX(-50%)",left:"calc(50% - var(--doc-padding-left, 0px) / 2 + var(--doc-padding-right, 0px) / 2)"}:void 0,V=(0,f.useCallback)(e=>{var t;e.target.closest("[data-card-layout]")&&(L(),D(p.source||(null===(t=p.image)||void 0===t?void 0:t.source)||ep.cx),h())},[null===(i=p.image)||void 0===i?void 0:i.source,p.source,h,L,D]);return P?(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(E.T5,{as:"div",style:{display:z?"flex":void 0},children:(0,d.jsxs)(eV.k,{"data-content-reference":!0,"data-change-focus-point-el":!0,className:"card-layout-cell-bg",w:"100%",h:"100%","data-selection-ring":N?void 0:"inside","data-selection-background":!0,"data-card-layout":null==C?void 0:C.layout,"data-fit-type":M,position:"relative",...N?void 0:_,"data-drag-handle":!0,...T,flexDirection:"column",justifyContent:"center",onClick:L,onDoubleClick:V,...q,bgSize:"fill"===M||j?"cover":"contain",p:"fill"===M||j?0:z?"1.5em":"1.25em",objectFit:"contain",css:{containerType:"size"},align:"center",justify:"center",children:[N&&(0,d.jsx)(tq,{background:p,rounded:z&&!G}),N&&(0,d.jsx)(tV,{image:p.image,resizeParams:F}),j&&(0,d.jsx)(e5.g5,{background:p}),U&&(0,d.jsx)(eJ.S,{editor:u,isOpen:g,onClose:y,tabIndex:v,setTabIndex:k,updateNestedAttributes:x,background:null==m?void 0:m.background,enableMask:j,isAccentImageDrawer:!0}),(0,d.jsx)(tH,{isLoading:W,editor:u,hasImage:!R,image:p.image,onEditImage:U?L:void 0,openEditBackgroundDrawer:h,borderProps:T,accentLayout:null==C?void 0:C.layout,...T}),(H==e$.D.Uploading||B)&&U&&(0,d.jsx)(e4.HI,{removeBackground:B,scootRight:B&&("top"===I||"left"===I)}),H==e$.D.Error&&(0,d.jsx)(e4.s7,{})]})})}):null},tJ=e=>{let{node:t}=e;return"accent"===t.attrs.itemId?(0,d.jsx)(t$,{...e}):(0,d.jsx)(tL,{...e})},tX=F.NB.create({name:"cardAccentLayoutItem",group:"cardLayoutItemGroup",priority:eH.a.CardAccentLayoutItem,selectable:!1,atom:!0,draggable:!0,imageKeyPath:"background.image",addAttributes:()=>({itemId:{default:"accent"},fitType:{},background:{default:{type:eh.E.NONE},...(0,eb.sw)("background")}}),addNodeView:()=>(0,E.fW)(tJ,{update:_.E7}),addStorage:eG.gk,parseHTML(){return[{tag:"img[class=accent-image][bookmark]",getAttrs:(0,eG.xF)(this.storage)},{tag:"img[class=accent-image][".concat(eD.L,"]"),getAttrs:e=>{let t=(0,eW.z)(e);return{background:{type:eh.E.IMAGE,image:t}}}},{tag:"img[class=accent-image][src]",getAttrs:e=>({fitType:e.getAttribute("fitType")||"fit",background:{type:eh.E.IMAGE,image:{src:e.getAttribute("src")||"",source:"image.custom"}}})},{tag:"img[class=accent-image]"},{tag:"div[class=card-accent-layout-item]",context:"card/"}]},renderHTMLforAI(e){let{node:t}=e,n=(0,eG.ml)(this.storage,t),l=t.attrs.background,a=l.image&&(0,eU.K)(l.image);return["img",{bookmark:n,class:"accent-image",alt:a}]},renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,F.P1)(t,{class:"card-accent-layout-item"})]}});var tZ=n(78374),tQ=n(52780),t0=n(46795);let t1=new ef.H$("cardLayoutResizing");class t2{getActiveHandleAbs(e){return this.activeHandle?(0,t0.XV)(e,this.activeHandle):null}reset(){return this.activeHandle=null,this.side=null,this.dragging=null,this}setHandle(e,t){return null===t.setHandle?(this.activeHandle=null,this.side=null):(this.activeHandle=(0,t0.jS)(e,t.setHandle.pos),this.side=t.setHandle.side),this}setDragging(e){return this.dragging=e.setDragging,this}apply(e,t){let n=e.getMeta(t1);return n&&"setHandle"in n?this.setHandle(t,n):n&&"setDragging"in n?this.setDragging(n):n&&"reset"in n?this.reset():this}constructor(){this.activeHandle=null,this.dragging=null}}var t4=n(68015),t5=n.n(t4),t3=n(99137),t9=n(86392);let t8=e=>t1.getState(e.state),t7=(e,t)=>{e.dispatch(e.state.tr.setMeta(t1,{setHandle:t}))},t6=(e,t)=>{e.dispatch(e.state.tr.setMeta(t1,{setDragging:t}))},ne=e=>{e.dispatch(e.state.tr.setMeta(t1,{reset:!0}))},nt=(e,t)=>{if(!e.editable||!t.target||t.target.closest(".column-resize-handle"))return;let n=t8(e);if(n.dragging)return;let l=function(e,t){let n=e.posAtCoords({left:t.clientX,top:t.clientY});if(!n||-1===n.inside)return null;let l=e.domAtPos(n.inside);if(!l)return null;let a=l.node.childNodes[l.offset];if(!a)return null;let o=e.state.doc.resolve(n.inside);if(!o.nodeAfter||!(0,ej.pv)(o.nodeAfter))return null;let i=(0,eb.nv)(o,ej.KH)[0];if(!i)return null;let r=(0,eC.$U)(i.node.attrs.layout);if(!r.allowResizing)return null;let{left:s,right:d}=a.getBoundingClientRect();if(t.clientX-s<=5){let n=e.posAtCoords({left:t.clientX-10,top:t.clientY});if(!n)return null;let l=e.state.doc.nodeAt(n.inside);return l&&(0,ej.pv)(l)?"cardLayoutItem"===l.type.name?{pos:n.inside,side:"right"}:{pos:o.pos,side:"left"}:null}if(d-t.clientX<=5){let n=e.posAtCoords({left:t.clientX+10,top:t.clientY});if(!n)return null;let l=e.state.doc.nodeAt(n.inside);return l&&(0,ej.pv)(l)?"cardLayoutItem"===l.type.name?{pos:n.inside,side:"left"}:{pos:o.pos,side:"right"}:null}return null}(e,t),a=n.getActiveHandleAbs(e.state),o=n.side;null===a&&null===l||l&&l.side===o&&l.pos===a||t7(e,l)},nn=(e,t)=>{let n=e.domAtPos(t),l=n.node.childNodes[n.offset];return l.offsetWidth},nl=(e,t)=>{let{node:n,offset:l}=e.domAtPos(t.start()),a=n.childNodes[l];do if(a&&a.classList&&a.classList.contains("node-card"))break;while(a=a.parentNode);return a},na=(e,t,n)=>{let l=(0,eC.$U)(n),a=t.querySelector('[data-node-view-content-inner="card"]'),o=e.attrs,i=(null==a?void 0:a.style.gridTemplateColumns)||o.layoutTemplateColumns||l.grid.gridTemplateColumns;if(!i)return null;let r=i.split(" ");if(!r.length)return null;let s=r[0].includes("fr"),d=[];if(s){let e=r.map(e=>+e.replace("fr","")),t=e.reduce((e,t)=>e+t,0);d=e.map(e=>e/t*100)}else d=r.map(e=>+e.replace("%",""));return d},no=F.NB.create({name:"cardLayoutItem",group:"cardLayoutItemGroup",content:"(block | cardBlock)+",selectable:!1,draggable:!1,isolating:!0,containerHandle:!0,priority:eH.a.CardLayoutItem,addAttributes:()=>({itemId:{default:"body"}}),addNodeView:()=>(0,E.fW)(tJ,{update:_.E7}),addCommands:()=>({handleCardAccentDelete:()=>e=>{let{state:t,commands:n}=e;if(!(0,F.EG)(t.selection))return!1;let{node:l}=t.selection;if(!(0,eC.pt)(l))return!1;let a=(0,F.Kk)(ej.KH)(t.selection);return!!a&&n.setCardLayout(a.pos,"blank")},selectInsideCardBody:e=>t=>{let{state:n,tr:l,commands:a}=t,o=n.doc.nodeAt(e);if(!o||!(0,ej.KH)(o))return!1;let i=(0,eC.wz)(l,e);if(0===Object.entries(i).length)return a.selectInsideNodeAtPos(e);let r=i.body;return!!r&&a.selectInsideNodeAtPos(r.pos)},setCardLayout:(e,t,n)=>l=>{let{tr:a,editor:o}=l;return(0,tZ.G)(o,a,e,t,n)},removeCardLayout:e=>t=>{let{tr:n,editor:l}=t,a=(0,ej.Bw)(l,e);return!!a&&(0,tZ.G)(l,n,a.pos,"blank")}}),parseHTML:()=>[{tag:"div[class=card-layout-item]"},{tag:"div[class=body]",context:"card/"}],addProseMirrorPlugins(){return[(0,t_.V6)(this.editor),function(){let e=new ef.Sy({key:t1,state:{init:()=>new t2,apply:(e,t,n,l)=>t.apply(e,l)},props:{attributes(e){let t=t1.getState(e),n=t.getActiveHandleAbs(e);return null!==n?{class:"resize-cursor"}:{class:""}},handleDOMEvents:{mousemove:(e,t)=>(nt(e,t),!1),mouseleave:e=>(!function(e){let t=t8(e),n=t.getActiveHandleAbs(e.state);null===n||t.dragging||t7(e,null)}(e),!1),mousedown:(e,t)=>(!function(e,t){if(!e.editable)return;let n=t8(e),l=n.getActiveHandleAbs(e.state);if(null===l||n.dragging)return;let a=e.state.doc.resolve(l),o=a.node(),i=nl(e,a),r=i.querySelector('[data-node-view-content-inner="card"]');if(!r)return;let s=n.side,d=r.offsetWidth,u=nn(e,l),c=na(o,i,o.attrs.layout);if(!c)return;t6(e,{startX:t.clientX,startWidth:u,colWidths:c,totalWidth:d,colIndex:0});let m=null;function f(){window.removeEventListener("mouseup",f),window.removeEventListener("mousemove",p);let t=t8(e);if(t.dragging){if(null===m){t6(e,null);return}if(t.dragging)try{let n=t.getActiveHandleAbs(e.state);(function(e,t,n){let l=e.state.doc.resolve(t),a=l.before(),o=n.map(e=>"".concat(e,"%")).join(" "),i=e.state.tr.setNodeAttribute(a,"layoutTemplateColumns",o);e.dispatch(i),function(e,t){let n=e.state.doc.resolve(t),l=nl(e,n),a=l.querySelector('[data-node-view-content-inner="card"]');a&&(a.style.gridTemplateColumns="")}(e,t)})(e,n,m),t6(e,null)}catch(t){ne(e)}m=null}}function p(t){if(!t.which)return f();let n=t8(e),l=n.getActiveHandleAbs(e.state);if(!n.dragging||null===l)return;let{colWidths:a}=n.dragging,o=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{totalWidth:l}=e,a=t.clientX-e.startX;return t5()(100*a/l/n,0)*n}(n.dragging,t,.1),r=a[0],d="left"===s?[25,37.5,50]:[50,62.5,75],u=r+od[d.length-1]?d[d.length-1]:d.find(e=>6.25>=Math.abs(e-r-o));(function(e,t){let n=e.querySelector('[data-node-view-content-inner="card"]');n&&(n.style.gridTemplateColumns=t.map(e=>"".concat(e,"%")).join(" "))})(i,m=(0,t3.GI)(a,0,u-r,25)),(0,t9.CI)(i)}window.addEventListener("mouseup",f),window.addEventListener("mousemove",p),t.preventDefault()}(e,t),!1)},decorations(e){let t=t1.getState(e),n=t.getActiveHandleAbs(e);if(null!==n){let l=[];try{let a=document.createElement("div");a.className="column-resize-handle ".concat(t.side),l.push(tQ.p.widget(n+1,a));let o=e.doc.nodeAt(n);return l.push(tQ.p.node(n,n+o.nodeSize,{class:"has-column-resize-handle"})),tQ.EH.create(e.doc,l)}catch(e){return console.error("(caught) cardLayoutResizing error: ".concat(e.message)),tQ.EH.empty}}},nodeViews:{}}});return e}()]},renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,F.P1)(t,{class:"card-layout-item"}),0]},renderHTMLforAI(e){let{node:t}=e;return["div",{class:"body"},0]}});var ni=n(75420),nr=n(77220),ns=n(17487),nd=n(97253),nu=n(4312),nc=n(5682),nm=n(33374);let nf=new ef.H$("SlashMenu"),np=(0,nm.ty)({name:"slashMenu",char:"/",pluginKey:nf,MenuComponent:nc.Z,priority:eH.a.SlashMenu});var ng=n(35251);class nh extends E.Al{updateProps(e){this.isDestroyed||this.renderer.updateProps(e)}mountEditor(){let e=this.editor,{nodeName:t,preventNodeOrExtensionTypes:n}=this.editorOptions,l=[...sC({isInnerEditor:!0}),np,ns.Pi,e8.Jn,nd.R,ny.configure({outerEditor:e,getPos:this.getPos}),nu.L,nr.NM].filter(e=>!n||!n.includes(e.name)).map(e=>e.name===t?e.extend({topNode:!0}):e);return this.innerEditor=new ni.M({extensions:l,content:{type:t,content:this.node.content.toJSON(),attrs:ec()(this.node.attrs)},onBeforeCreate(l){let{editor:a}=l;a.schema.nodes={...e.schema.nodes},null==n||n.forEach(e=>{a.schema.nodes[e]&&delete a.schema.nodes[e]}),a.schema.marks={...e.schema.marks},a.schema.topNodeType=e.schema.nodes[t],a.extensionManager.schema=a.schema}}),this.innerEditor.gammaOrgId=e.gammaOrgId,this.innerEditor.gammaDocId=e.gammaDocId,this.innerEditor.parentEditor=e,this.innerEditor.view.updateState=function(e){if(!this.docView){this.state=e;return}this.updateStateInner(e,this.state.plugins!=e.plugins)},this.innerEditor.view.update=function(e){this.docView&&tQ.tk.prototype.update.call(this,e)},this.updateProps({innerEditor:this.innerEditor}),this.innerEditor}destroy(){var e;this.isDestroyed=!0,null===(e=this.innerEditor)||void 0===e||e.destroy(),super.destroy()}update(e,t){var n;if(!e.sameMarkup(this.node))return!1;this.node=e;let l=null===(n=this.innerEditor)||void 0===n?void 0:n.view;if(!l)return!0;let a=l.state,o=e.content.findDiffStart(a.doc.content);if(null!=o){let{a:t,b:n}=e.content.findDiffEnd(a.doc.content),i=o-Math.min(t,n);i>0&&(t+=i,n+=i),l.dispatch(a.tr.replace(o,n,e.slice(o,t)).setMeta(ng.z,!0).setMeta("preventAutolink",!0))}return super.update(e,t)}stopEvent(e){return!!this.innerEditor&&this.innerEditor.view.dom.contains(e.target)}ignoreMutation(){return!0}get contentDOM(){return null}constructor(e,t,n){super(e,t,n),this.isDestroyed=!1,this.editorOptions=n,this.updateProps({mountEditor:()=>this.mountEditor(),destroyEditor:()=>{var e,t,n;null===(e=this.innerEditor)||void 0===e||e.destroy(),null===(t=(n=this.editor.commands).forceHideBubbleMenu)||void 0===t||t.call(n,!1),setTimeout(()=>{this.updateProps({innerEditor:void 0})})}})}}function nb(e,t){return n=>new nh(e,n,t)}let ny=F.hj.create({name:"innerEditorExtension",addOptions:()=>({outerEditor:null,getPos:null}),addProseMirrorPlugins(){let{outerEditor:e,getPos:t}=this.options;return[new ef.Sy({appendTransaction:n=>{let l=n[0];if(!l)return null;if(!l.getMeta(ng.z)){let l=e.state.tr,a=M.KS.offset(t()+1);for(let e=0;ee.commands.undo(),"Mod-y":()=>e.commands.redo()}}}),nv=(e,t)=>{let n=t.mapResult(e.from,1),l=t.mapResult(e.to,-1),a=t.map(e.gapFrom,1),o=t.map(e.gapTo,1);return n.deletedAcross&&l.deletedAcross||al.pos?null:new M.FC(n.pos,l.pos,a,o,e.slice,e.insert,e.structure)};var nk=n(54073),nx=n.n(nk);let nw=e=>{let[t,n]=(0,f.useState)(null);return(0,f.useEffect)(()=>{if(!e)return;let t=e=>{let{editor:t}=e;n(t.state.selection)};t({editor:e});let l=nx()(t,200,{leading:!0});return e.on("selectionUpdate",l),()=>{e.off("selectionUpdate",l)}},[e]),{selection:t}},nS=e=>{let{decorations:t,editor:n,getPos:l,destroyEditor:a,mountEditor:o}=e,i=(0,b.TL)();nw(n);let{mountEditor:r,activeNoteCardId:s}=(0,b.CG)(h.Vy),{parentCardId:d,isNested:u}=(0,tB.$D)(t),c=!u&&(0,ez.vS)(n,l(),d),m=s===d&&r===o,p=c&&!m&&!!o&&!u&&!n.isThumbnail;(0,f.useEffect)(()=>{p&&i((0,h.IS)({activeNoteCardId:d,mountEditor:o,destroyEditor:a}))},[p,a,i,o,d])};var nC=n(38564),nz=n(3452),nA=n(74684);let nI=new ef.H$("cardNotesPlugin"),nj=(e,t)=>new ef.Sy({key:nI,props:{attributes:()=>{let n=t.getState();return(0,h.v7)(n)&&(0,ez.uj)()&&!(0,ez.$v)(e)&&(0,e0.hN)(n)&&!e.isStatic?{class:"card-notes-active"}:{class:""}},decorations:n=>{let{doc:l,selection:a}=n,o=t.getState();if(!(0,h.v7)(o)||!(0,ez.uj)()||(0,ez.$v)(e)||!(0,e0.hN)(o)||e.isStatic)return;let i=(0,nA.AQ)(e.state.doc,a.from);if(i)return tQ.EH.create(l,[tQ.p.node(i.pos,i.pos+i.node.nodeSize,{class:"card-notes-active-parent-card"})])}},appendTransaction:(t,n,l)=>{if(!(0,ez.uj)()||(0,ez.$v)(e)||e.isThumbnail||e.isStatic)return;let a=l.tr;return((0,nz.W)(t,n,l,a,"cardNotes"),nB(t,n,l,a),a.docChanged)?a:null}}),nF=e=>e.map(e=>{let t=e.slice.content,n=0===t.size;return e.from!==e.to&&n?{type:"delete",step:e}:e.from!==e.to||n?e.from===e.to||n?null:{type:"replace",step:e}:{type:"insert",step:e}}).filter(e=>!!e),nB=(e,t,n,l)=>{e.forEach(e=>{let a=e.steps.filter(e=>e instanceof M.Pu||e instanceof M.FC);if(1!==a.length)return;let o=e.getMeta(nC.Gt),i=(null==o?void 0:o.isChangeOrigin)===!0;if(i||e.getMeta(ng.e)||e.getMeta("appendedTransaction")||e.getMeta("cardNotesHandled")||e.getMeta("rearrangeCards"))return;let r=nF(a).filter(e=>"delete"===e.type||"replace"===e.type);r.forEach(e=>{let{step:a}=e,{from:o,to:i}=a;t.doc.nodesBetween(o,i,(e,a)=>{if("cardNotes"===e.type.name){var i;let r=t.doc.resolve(a),s=(0,F.qv)(r,ej.KH),d=(0,F.N2)(n.doc,e=>(0,ej.KH)(e)&&e.attrs.id===(null==s?void 0:s.node.attrs.id));if(!d[0])return;let u=(0,F.N2)(d[0].node,e=>"cardNotes"===e.type.name);if(u.length>0&&(null===(i=u[0])||void 0===i?void 0:i.node.content.eq(e.content))&&d[0].pos===(null==s?void 0:s.pos))return;let c=(0,nA.AQ)(n.doc,o);if(!c){console.warn("[preventNotesDelete] parentCard not found");return}let m=n.doc.resolve(c.pos),f=(0,ez.cM)(m);if(f){let t=eO(n.doc,c.pos,!1);if(null===t){console.warn("[preventNotesDelete] insertPos not found");return}l.insert(t,e.content)}else{let t=c.pos+c.node.nodeSize-1;l.insert(t,e)}}})})})},nM=F.NB.create({name:"cardNotes",content:"cardNotesBlock+",selectable:!1,atom:!0,parseHTML:()=>[{tag:"div[class=card-notes]"},{tag:"notes"}],renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,F.P1)(t,{class:"card-notes"}),0]},renderHTMLforAI:()=>["notes",0],renderText:()=>"",addProseMirrorPlugins(){let e=(0,b.bh)();return[nj(this.editor,e)]},addNodeView(){return this.editor.shouldUsePublishedVersion?(0,E.fW)(()=>null):nb(nS,{nodeName:this.name,preventNodeOrExtensionTypes:["dropCursor","smartLayout","doc","document","card","slashMenu","mediaUpload","GammaMention"]})}});var nE=n(47443),n_=n(52929),nO=n(80877),nP=n(74444),nT=n(17993);let nR=e=>(0,d.jsx)(O.xu,{bg:"var(--body-color)",opacity:"0.4",borderRadius:"sm",...e});var nN=n(73544),nL=n(90604),nD=n(90439),nW=n(97010),nU=n(11082),nH=n(48776),nG=n(50788),nq=n(71173),nV=n(46741),nK=n(90383),nY=n(78462);let n$=(0,f.memo)(e=>{let{cardId:t,docId:n,editor:l,cards:a,level:o,showNested:i,isPresentMode:r}=e,s=(0,nH.T)({cardId:t}),u=(0,b.CG)(e0.yx),c=(0,f.useCallback)(e=>{(0,nq.l)(l,e,t)},[l,t]),m=(0,nG.C7)(),p=(0,f.useMemo)(()=>{let e=(0,nY.gq)({cardId:t,docId:n,isPresentMode:r});return m?(0,nK.Op)({url:e,doc:u}):e},[t,n,u,r,m]),{listStyle:g,paddingLeft:h,marginLeft:y}=(0,nV.fY)(o);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(nW.aV,{mb:"0.5em",children:(0,d.jsx)(nW.HC,{listStyleType:g,pl:h,ml:y,children:(0,d.jsx)(O.xu,{display:"inline",children:(0,d.jsx)(nU.r,{href:p,className:"link",role:"link",isExternal:!m,noOfLines:1,wordBreak:"break-word",onClick:c,display:"-webkit-inline-box",verticalAlign:"top",children:(null==s?void 0:s.title)||(0,d.jsx)(w.cC,{id:"wja8aL"})})})})}),i&&a.map(e=>(0,d.jsx)(n$,{cardId:e.id,cards:e.children,editor:l,level:o+1,showNested:i,docId:n,isPresentMode:r},e.id))]})});n$.displayName="CardTOCItem";let nJ=e=>{let{node:t,editor:n,getPos:l}=e,{nested:a}=t.attrs,o=l(),i=(0,nA.AQ)(n.state.doc,o),r=(0,b.CG)((0,e0.ZL)({cardId:null==i?void 0:i.node.attrs.id,showAll:nD.Oj})),s=(0,b.CG)(e0.yx),u=(0,b.CG)(e0.gh),c=(0,b.CG)(e0.Ql),m=u===nL.q.SLIDE_VIEW;return(0,d.jsx)(P.lO,{...e,as:"div",children:(0,d.jsxs)(O.xu,{cursor:"default",pointerEvents:c?"none":void 0,borderRadius:"var(--box-border-radius)","data-selection-ring":!0,className:"card-toc",children:[0===r.length&&(0,d.jsxs)(nE.b,{colorScheme:"gray",color:"gray.800",fontFamily:"Inter, sans-serif",fontSize:"1em",py:"0.75em",px:"1em",children:[(0,d.jsx)(n_.z,{w:"1em",h:"1em",alignSelf:"center",mr:"0.75em"}),(0,d.jsxs)(O.xu,{children:[(0,d.jsx)(nO.C,{fontSize:"1em",lineHeight:"1.5em",children:(0,d.jsx)(w.cC,{id:"519v/x"})}),(0,d.jsx)(nP.X,{fontSize:"0.75em",lineHeight:"1.5em",children:(0,d.jsx)(w.cC,{id:"HmhQ3B"})})]})]}),r.map(e=>(0,d.jsx)(n$,{cardId:e.id,cards:e.children,editor:n,level:0,showNested:a,docId:(null==s?void 0:s.id)||"",isPresentMode:m},e.id))]})})},nX=e=>(0,d.jsx)(nN.T,{children:(0,d.jsxs)(nT.g,{spacing:"0.5em",align:"start",children:[(0,d.jsx)(nR,{h:"1em",w:"14em",bg:"var(--link-color)"}),(0,d.jsx)(nR,{h:"1em",w:"14em",bg:"var(--link-color)"}),(0,d.jsx)(nR,{h:"1em",w:"14em",bg:"var(--link-color)"}),(0,d.jsx)(nR,{h:"1em",w:"14em",bg:"var(--link-color)"})]})}),nZ=F.NB.create({name:"tableOfContents",group:"block",atom:!0,selectable:!0,dynamic:!0,addAttributes:()=>({nested:{default:!1}}),parseHTML:()=>[{tag:"div[class=toc]"}],renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,F.P1)(t,{class:"toc"})]},addNodeView(){return this.editor.isThumbnail?(0,E.fW)(nX,{update:_.E7}):(0,E.fW)(nJ,{update:_.E7})}});var nQ=n(37164),n0=n(86593),n1=n(13109),n2=n(5966),n4=n(28091),n5=n(63213),n3=n(88323);let n9={serialize(e){let{omitIds:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=["colgroup",{}],l=["tbody",{}];return e.rows.forEach((a,o)=>{let i=["tr",{}];t||(i[1].id=a.id),l.push(i),e.columns.forEach(l=>{if(0===o){let{type:e,label:a,format:o,id:i,fixedType:r}=l,s=["col",{type:e,label:a,format:o,"fixed-type":r}];t||(s[1].id=i),n.push(s)}let r=e.getCell({column:l.id,row:a.id});i.push(["td",{type:r.type},["value",{},r.textValue]])})}),["table",{},n,l]},parse(e){let t=[],n=[],l=[];for(let a of e.children)switch(a.tagName){case"COLGROUP":t=[...a.children].filter(e=>"COL"===e.nodeName).map(e=>{var t;return new n4.C({id:e.getAttribute("id")||void 0,type:e.getAttribute("type")||"label",label:e.getAttribute("label")||"",format:e.getAttribute("format")||"raw",fixedType:(null===(t=e.getAttribute("fixed-type"))||void 0===t?void 0:t.toLowerCase())==="true"})});break;case"TBODY":if(!t.length)throw Error("No columns defined before tbody");n=[...a.children].filter(e=>"TR"===e.nodeName).map(e=>{let n=new n3.H({id:e.getAttribute("id")||void 0});return!function(e,n){[...e.children].filter(e=>"TD"===e.nodeName).forEach((e,a)=>{let o=e.getElementsByTagName("value").item(0),i=t[a],r={row:n,column:i},s="data"===i.type?new n1.O(r):new n2.m(r);s.textValue=(null==o?void 0:o.textContent)?o.textContent:"",l.push(s)})}(e,n),n})}return new n5.f({columns:t,rows:n,cells:l})}};var n8=n(4889),n7=n(62614),n6=n(82655),le=n(59309),lt=n(92638),ln=n(14582),ll=n(10897),la=n(51572);function lo(e){for(let t of e.columns)if(!t.isEmpty(e)&&"data"===t.type)return t;return null}function li(e){for(let t of e.columns)if(!t.isEmpty(e)&&"label"===t.type)return t;return null}var lr=n(47288),ls=n(28955),ld=n(9315),lu=n(6802),lc=n(70258),lm=n(80237),lf=n(33951),lp=n(63739),lg=n(75715),lh=n(6238),lb=n.n(lh),ly=n(36585),lv=n.n(ly),lk=n(33107);let lx={top:8,bottom:2,right:1,left:4},lw=e=>{let{color:t,labelCells:n,dataCells:l,height:a,children:o,textColor:i,tickColor:r,tiny:s=!1,width:u,fontFamily:c="var(--body-font)",fontSize:m="var(--chakra-fontSizes-sm)",fontWeight:p="var(--body-font-weight)",margin:g=ls.jK,direction:h="vertical",hideLabels:b=!1,padding:y=0,labelPadding:v=.3,onMouseMove:k,onMouseLeave:x,onMouseMoveInside:w,onMouseLeaveInside:S}=e,C=s?2:14,z=s?{top:1,right:0,bottom:2,left:0}:lx,A=s?{top:0,right:0,bottom:0,left:0}:g,I=!!s||b;s&&(m="2px",y=0);let j=s?.5:2,F=s?1:6,B=l.map(e=>e.data),M=Math.max(...B),E=Math.min(...B),_=n.length?n:l.map(e=>({position:{row:e.position.row},textValue:""})),O=l[0].getFormatter(),P="vertical"===h?B.map(e=>O.format(e)):_.map(e=>lv()(e.textValue,{length:25,separator:" "})),T=lS(P,{fontFamily:c,fontSize:m,fontWeight:p}),R=I?0:T.max,N={top:A.top+z.top,right:A.right+z.right,bottom:A.bottom+j+(I?0:F+z.bottom),left:A.left+R+j+(I?0:F+z.left)},L="vertical"===h?_:l,D=L.map(e=>{let{textValue:t}=e;return lv()(t,{length:25,separator:" "})}),{bottomTickValues:W,rotateLabels:U,labelsHeight:H,splitIx:G}=lC({em:C,textStyles:{fontFamily:c,fontSize:m,fontWeight:p},hideLabels:I,padding:y,width:u,margin:N,labelCells:_,labelStrings:D}),q=a-N.top-N.bottom-H,V="horizontal"===h&&q/P.length{let{position:{row:t}}=e;return t}),K=u-N.left-N.right,Y=_.map(e=>"".concat(e.position.row,":").concat(e.textValue)).join(","),{labelScale:$,labelIndex:J}=(0,f.useMemo)(()=>({labelScale:(0,lt.Z)({range:"vertical"===h?[0,K]:[0,q],domain:_.map(e=>e.position.row),paddingInner:v,paddingOuter:.3}),labelIndex:Object.fromEntries(_.map(e=>[e.position.row,e]))}),[K,h,q,Y,v]),[X,Z]=(0,f.useMemo)(()=>{let e=function(e,t,n,l){if(!l){let n=(0,lf.Z)({range:[0,1],domain:[Math.min(e,0),Math.max(t,0)]}),a=n.ticks();l=a.length<2?1:Math.abs(a[1]-a[0])}let a=(0,lk.NN)(Math.max(t,0),l,1),o=(0,lk.NN)(Math.min(e,0),l,-1),i=(0,lk.NN)((a-o)/(n-1),l,1);i&&i!==l&&(o=(0,lk.NN)(o,i,-1));let r=[o];for(;r[r.length-1]2*n)););return r}(E,M,4),t=e[0],n=e[e.length-1];return[(0,lf.Z)({range:"horizontal"===h?[E<0?y:0,K]:[q-(E<0?y:0),j+y],round:!0,domain:[t,n]}),e]},[q,M,E,K,h,y,j]),Q=(()=>{if(!w&&!S)return null;let e=e=>t=>{e(t,function(e,t){var n;let l=null!==(n=(0,lm.Z)(e))&&void 0!==n?n:{x:e.clientX,y:e.clientY};return{svgCoords:l,axisCoords:{x:l.x-t.left,y:l.y-t.top}}}(t,N))};return{move:w&&e(w),leave:S&&e(S)}})();return(0,d.jsxs)("svg",{width:"100%",viewBox:"0 0 ".concat(u," ").concat(a),height:"100%",preserveAspectRatio:"none",overflow:"visible",onMouseMove:k,onMouseLeave:x,children:[Z.map((e,n)=>"vertical"===h?(0,d.jsx)(lp.Z,{from:{x:N.left,y:X(e)+N.top},to:{x:u,y:X(e)+N.top},stroke:t,opacity:0===e?.5:.2},n):(0,d.jsx)(lp.Z,{from:{x:N.left+X(e),y:N.top},to:{x:N.left+X(e),y:q},stroke:t,opacity:0===e?.5:.2},n)),Q&&(0,d.jsx)(ln.Z,{fill:"transparent",opacity:.2,x:N.left,y:N.top,height:q,width:K,onMouseMove:Q.move,onMouseLeave:Q.leave}),o({labelScale:$,dataScale:X,yMax:q,xMax:K,margin:{...N}}),(0,d.jsx)(le.Z,{children:"vertical"===h?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(lu.Z,{top:N.top,left:N.left,scale:X,stroke:t,rangePadding:E<0?-1*y:0,strokeWidth:j,tickValues:I?[]:Z,tickFormat:O.format.bind(O),tickLength:F,tickStroke:r||t,tickLabelProps:()=>({fill:i||t,textAnchor:"end",fontFamily:c,fontSize:m,fontWeight:p,dy:"0.33em",dx:s?0:-4,userSelect:"none"})}),(0,d.jsx)(lc.Z,{top:q+N.top,left:N.left,scale:$,stroke:t,tickValues:W,tickFormat:(e,t)=>D[t],tickStroke:r||t,tickLabelProps:(e,n)=>({fill:i||t,fontFamily:c,fontSize:m,fontWeight:p,userSelect:"none",dy:s?0:4,i:n}),strokeWidth:j,tickLength:F,tickComponent:e=>{let{x:t,y:n,i:l,dy:a,formattedValue:o,...i}=e;return(0,d.jsx)("g",{alignmentBaseline:"middle",...i,children:U||!G[l]?(0,d.jsx)("text",{x:t,y:n,dy:a,transform:U?"rotate(-45, ".concat(t,", 0)"):"",textAnchor:U?"end":"middle",children:o}):(o||"").split(" ").map((e,o)=>(0,d.jsx)("text",{x:t,y:n+C*o,dy:a,textAnchor:"middle",children:e},"".concat(l,":").concat(o)))})}})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(lu.Z,{top:N.top,left:N.left,scale:$,stroke:t,strokeWidth:j,tickLength:F,tickValues:I?[]:V,tickFormat:e=>lv()(J[e].textValue,{length:25,separator:" "}),tickStroke:r||t,tickLabelProps:()=>({fill:i||t,textAnchor:"end",fontFamily:c,fontSize:m,fontWeight:p,dy:"0.33em",dx:s?0:-4,userSelect:"none"})}),(0,d.jsx)(lc.Z,{top:q+N.top,left:N.left,scale:X,stroke:t,rangePadding:E<0?y:0,tickValues:I?[]:Z,tickFormat:O.format.bind(O),tickLength:F,tickStroke:r||t,tickLabelProps:(e,n)=>({fill:i||t,textAnchor:0===n?"end":"middle",fontFamily:c,fontSize:m,fontWeight:p,userSelect:"none",dy:s?0:4}),strokeWidth:j})]})})]})},lS=lb()((e,t)=>{let{fontFamily:n,fontSize:l,fontWeight:a}=t;if(!e.length)return{widths:[],max:0};let o=e.map(e=>(0,lg.Z)("".concat(e),{fontFamily:n,fontSize:l,fontWeight:a})||0);return{widths:o,max:Math.max(...o)}}),lC=e=>{let{em:t,textStyles:n,hideLabels:l,padding:a,width:o,margin:i,labelStrings:r,labelCells:s}=e,d=r.join(","),u=(o-i.left-i.right)/r.length,{fontFamily:c,fontSize:m,fontWeight:p}=n;return(0,f.useMemo)(()=>{let e={bottomTickValues:[],rotateLabels:!1,labelsHeight:0,splitIx:[],sliceWidth:u};if(l)return e;let{widths:o,max:d}=lS(r,n),c=!1,m=t,f=s.map(e=>{let{position:{row:t}}=e;return t}),p=r.map((e,l)=>{if(c||o[l]u-a)return c=!0,!0;let s=i.length*t;return s>m&&(m=s),!0});if(!c)return{bottomTickValues:f,rotateLabels:c,labelsHeight:m,splitIx:p,sliceWidth:u};let g=e=>Math.cos(Math.PI/4)*e-(t+7);m=Math.sin(Math.PI/4)*d;let h=g(d),b=e=>i.left+u*e+u/2;for(let t=0;th)break;let l=g(o[t]);if(l>n)return e}return{bottomTickValues:f,rotateLabels:c,labelsHeight:m,splitIx:p,sliceWidth:u}},[t,d,c,m,p,l,a,u])};var lz=n(7165);let lA=e=>{let{data:t,render:n,height:l="3em",getColor:a,getOpacity:o,onMouseOver:i,onMouseLeave:r,onClick:s,onDoubleClick:u,textColor:c}=e;return(0,d.jsx)(eV.k,{position:"absolute",bottom:0,left:0,width:"100%",flexGrow:0,flexShrink:0,justifyContent:"center",children:(0,d.jsx)(V.U,{height:l,maxW:"100%",overflowX:"auto",overflowY:"hidden",gap:"0.5em",children:t.map((e,t)=>(0,d.jsxs)(V.U,{opacity:o?o(e,t):1,cursor:"pointer",onMouseOver:null==i?void 0:i(e,t),onMouseLeave:null==r?void 0:r(e,t),onClick:null==s?void 0:s(e,t),onDoubleClick:null==u?void 0:u(e,t),transition:"opacity ".concat(ls.zn,"s"),mr:"1em",gap:"0.5em",children:[(0,d.jsx)(O.xu,{as:lz.E.div,width:"1em",height:"1em",flexShrink:0,bg:a(e,t),borderRadius:"sm",animate:{backgroundColor:a(e,t)},children:" "}),(0,d.jsx)(K.x,{fontSize:"1em",lineHeight:"1em",color:c,children:n(e)})]},t))})})};function lI(){let e=(0,f.useRef)(null);return(0,f.useEffect)(()=>()=>{e.current&&(clearTimeout(e.current),e.current=null)},[]),{clickHandler:t=>n=>{e.current||(e.current=setTimeout(()=>{e.current=null,t(n)},200))},doubleClickHandler:t=>n=>{e.current&&(clearTimeout(e.current),e.current=null),t(n)}}}var lj=n(91982),lF=n(59576),lB=n(96492),lM=n(15448);let lE=e=>{let{TooltipInner:t}=e,{showTooltip:n,tooltipOpen:l,tooltipLeft:a,tooltipTop:o,tooltipData:i,hideTooltip:r}=(0,lB.Z)(),s={minW:"5rem",textAlign:"left",pointerEvents:"none",...(0,lj.mq)("Tooltip")},u=(0,f.useRef)();return(0,f.useEffect)(()=>()=>{u.current&&clearTimeout(u.current)},[]),{mouseMoveHandler:(e,t)=>l=>{u.current&&clearTimeout(u.current);let a=t?t(e,l):(0,lm.Z)(l);n({tooltipData:{...e,position:e.position},tooltipTop:null==a?void 0:a.y,tooltipLeft:null==a?void 0:a.x})},mouseLeaveHandler:e=>e=>{u.current=window.setTimeout(()=>{r()},300)},renderTooltip:function(){return l&&i?(0,d.jsx)(l_,{style:{},top:o,left:a,sx:{...s,top:void 0,left:void 0,userSelect:"none",pointerEvents:"none"},position:"absolute",contentEditable:!1,suppressContentEditableWarning:!0,children:(0,d.jsx)(t,{...i})}):null}}},l_=(0,lF.m)(lM.Z,{shouldForwardProp:e=>["top","left","style","children"].includes(e)});var lO=n(77608);let lP=e=>{let{dispatch:t}=(0,f.useContext)(lO._M),n=e.filter(e=>e instanceof n4.C).map(e=>e.id),l=n.join(",");(0,f.useEffect)(()=>(t({type:"reportActiveColumnIds",payload:n}),()=>{t({type:"reportActiveColumnIds",payload:void 0})}),[l,t])},lT=e=>{let{showZero:t,data:n,dataColumns:l,animationDuration:a,barColors:o,direction:i,selectCell:r,tooltipEnter:s,tooltipLeave:u,dataScale:c,labelScale:m,yMax:f,xMax:p,margin:g,minValueGreaterThanZero:h,onDataClick:b,onDataDoubleClick:y,isThumbnail:v,focusedPosition:k,setFocusedPosition:x}=e,w=(0,ld.HK)(l,"id");return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(le.Z,{top:g.top,left:g.left,children:n.rows.map(e=>{let l="group-".concat(e.id),g=e.getCells(n).filter(e=>!!w.get(e.position.column));return(0,d.jsx)(lN,{animationDuration:a,barColors:o,data:g,showZero:t,yMax:f,xMax:p,dataScale:c,labelScale:m,selectCell:r,direction:i,globalMinValueGreaterThanZero:h,tooltipEnter:s,tooltipLeave:u,onDataClick:b,onDataDoubleClick:y,borderRadius:v?1:5,focusedPosition:k,setFocusedPosition:x},l)})})})},lR=e=>{let{TooltipInner:t,showZero:n=!0,data:l,textColor:a,accentColor:o,animationDuration:i=ls.zn,isThumbnail:r=!1,width:s,height:u,chartType:c,colorScheme:m=ls.bT,hideLabels:p,onDataClick:g,onDataDoubleClick:h,backgroundColor:b}=e,y="horizontal-bar"===c?"horizontal":"vertical",{renderTooltip:v,mouseMoveHandler:k,mouseLeaveHandler:x}=lE({TooltipInner:t}),[w,S]=(0,f.useState)(null),C=li(l),z=(null==C?void 0:C.getCells(l))||[],A=l.columns.filter(e=>{let{type:t}=e;return"data"===t}),I=A.map(e=>e.getCells(l)).flat(),j=A.length>1&&!p,F=Math.min(...I.map(e=>e.data).filter(e=>e>0)),B=A.map(e=>{let{id:t}=e;return t}),M=(0,lr.$)(o,B.length>1?B:[...new Set(I.map(e=>e.position.row))],m,{contrastColor:b}),E=(0,lk.Hs)(r);return lP([C,...A]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(O.xu,{"data-test":"bar-chart-container",height:j?"calc(100% - ".concat(3,"em)"):"100%",cursor:"default",userSelect:"none",contentEditable:!1,children:[(0,d.jsx)(lw,{width:s,height:j?u-3*E:u,labelCells:z,dataCells:I,color:a,textColor:a,tiny:r,direction:y,hideLabels:p,children:e=>(0,d.jsx)(lT,{showZero:n,barColors:M,data:l,dataColumns:A,animationDuration:i,direction:y,tooltipEnter:k,tooltipLeave:x,minValueGreaterThanZero:F,onDataClick:g,onDataDoubleClick:h,isThumbnail:r,focusedPosition:w,setFocusedPosition:S,...e})}),j&&(0,d.jsx)(lA,{data:A,render:e=>e.label,getColor:e=>M.get(e.id),textColor:a,onMouseOver:e=>()=>S({row:"_",column:e.id}),onMouseLeave:()=>()=>S(null)})]}),v()]})},lN=e=>{var t;let{animationDuration:n,barColors:l,data:a,showZero:o,yMax:i,xMax:r,dataScale:s,labelScale:u,direction:c,globalMinValueGreaterThanZero:m,tooltipEnter:p,tooltipLeave:g,onDataClick:h,onDataDoubleClick:b,borderRadius:y,focusedPosition:v,setFocusedPosition:k}=e,{clickHandler:x,doubleClickHandler:w}=lI(),S=u.bandwidth(),C=u(null===(t=a[0])||void 0===t?void 0:t.position.row)||0,z=(0,f.useMemo)(()=>{let e=a.map(e=>e.position.column);return(0,lt.Z)({range:[C,C+S],domain:e,paddingInner:e.length>1?.2:0})},[S,a,C]),A=o?s(m):0,I=e=>{let t=p(e);return n=>{t(n),k(e.position)}},j=e=>{let t=g(e);return e=>{t(e),k(null)}},F=e=>null!==v&&(a.length>1?v.column!==e.position.column:v.row!==e.position.row);return(0,d.jsx)(le.Z,{children:a.map(e=>{let t={dataScale:s,value:e,innerScale:z,yMax:i,xMax:r,scaledMinValueGreaterThanZero:A,showZero:o},{x:u,y:m,width:f,height:p,roundedCorners:g}="vertical"===c?function(e){var t,n;let{dataScale:l,value:a,innerScale:o,showZero:i,scaledMinValueGreaterThanZero:r}=e,s=l(0),d=s-(null!==(t=l(a.data))&&void 0!==t?t:0),u=d,c=null!==(n=o(a.position.column))&&void 0!==n?n:0,m=s-u,f=o.bandwidth(),p={topLeft:!0,topRight:!0,bottomLeft:!1,bottomRight:!1};return i&&Math.abs(s-r)>12&&6>Math.abs(d)&&(u=6,l.domain()[0]<0?(m-=3,p.bottomLeft=!0,p.bottomRight=!0):m-=6),u<0&&(m+=u,p.topLeft=!1,p.topRight=!1,p.bottomLeft=!0,p.bottomRight=!0),{x:c,y:m,height:Math.abs(u),width:f,roundedCorners:p}}(t):function(e){let{dataScale:t,value:n,innerScale:l,showZero:a,scaledMinValueGreaterThanZero:o}=e,i=t(0),r=i,s=l(n.position.column),d=t(n.data)-i,u=l.bandwidth(),c=d,m={topLeft:!1,topRight:!0,bottomLeft:!1,bottomRight:!0};return a&&o>12&&6>Math.abs(d)&&(c=6,t.domain()[0]<0&&(r-=3,m.bottomLeft=!0,m.topLeft=!0)),c<0&&(r+=c,m.bottomLeft=!0,m.bottomRight=!1,m.topLeft=!0,m.topRight=!1),{x:r,y:s,height:u,width:Math.abs(c),roundedCorners:m}}(t);return(0,d.jsx)(lL,{yMax:i,xMax:r,x:u,y:m,direction:c,width:f,height:p,radius:y,topLeft:g.topLeft,topRight:g.topRight,bottomRight:g.bottomRight,bottomLeft:g.bottomLeft,fill:l.get(a.length>1?e.position.column:e.position.row),opacity:F(e)?.5:1,duration:n,onMouseLeave:j(e),onMouseMove:I(e),onClick:h?x(h.bind(void 0,e)):void 0,onDoubleClick:b?w(b.bind(void 0,e)):void 0,style:{cursor:"pointer",transition:"opacity .25s"}},e.key)})})},lL=e=>{let{duration:t=0,y:n,x:l,height:a,width:o,yMax:i,xMax:r,innerRef:s,direction:u,...c}=e,[m,p]=(0,f.useState)(0),[g,h]=(0,f.useState)(o),[b,y]=(0,f.useState)(n+a),[v,k]=(0,f.useState)(l);return(0,f.useEffect)(()=>{(0,la.j)(m,a,{duration:t,onUpdate:e=>p(e)})},[a]),(0,f.useEffect)(()=>{(0,la.j)(g,o,{duration:t,onUpdate:e=>h(e)})},[o]),(0,f.useEffect)(()=>{(0,la.j)(v,l,{duration:t,onUpdate:e=>k(e)})},[l]),(0,f.useEffect)(()=>{(0,la.j)(b,n,{duration:t,onUpdate:e=>y(e)})},[n]),(0,d.jsxs)(le.Z,{children:[(0,d.jsx)(ln.Z,{height:"vertical"===u?Math.max(0,i):m,width:"horizontal"===u?Math.max(0,r):g,x:"vertical"===u?v:0,y:"vertical"===u?0:b,...c,onClick:void 0,onDoubleClick:void 0,style:void 0,opacity:0}),(0,d.jsx)(ll.Z,{height:m,width:g,x:v,y:b,innerRef:s,...c})]})};var lD=n(82352),lW=n(27079);let lU=e=>{let{data:t,TooltipInner:n,isThumbnail:l=!1,width:a,height:o,accentColor:i,textColor:r,colorScheme:s=ls.bT,hideLabels:u,backgroundColor:c,...m}=e,{renderTooltip:p,mouseMoveHandler:g,mouseLeaveHandler:h}=lE({TooltipInner:n}),[b,y]=(0,f.useState)(null),[v,k]=(0,f.useState)(null),x=li(t),w=(null==x?void 0:x.getCells(t))||[],S=t.columns.filter(e=>{let{type:t}=e;return"data"===t}),C=S.map(e=>e.getCells(t)).flat(),z=S.map(e=>{let{id:t}=e;return t}),A=(0,lr.$)(i,z,s,{contrastColor:c}),I=(0,lk.Hs)(l),j=S.length>1&&!u,F=j?o-3*I:o;return lP([x,...S]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(O.xu,{"data-test":"line-chart-container",height:j?"calc(100% - ".concat(3,"em)"):"100%",cursor:"default",contentEditable:!1,suppressContentEditableWarning:!0,userSelect:"none",children:[(0,d.jsx)(lw,{width:a,height:F,color:r,textColor:r,tiny:l,labelCells:w,dataCells:C,hideLabels:u,labelPadding:.6,onMouseMoveInside:l?void 0:(e,t)=>y(t.axisCoords),onMouseLeaveInside:l?void 0:()=>y(null),children:e=>(0,d.jsx)(lH,{data:t,dataColumns:S,width:a,height:F,isThumbnail:l,getColor:A.get.bind(A),textColor:r,tooltipEnter:g,tooltipLeave:h,hoverPosition:b,highlightedColumn:v,...m,...e})}),j&&(0,d.jsx)(lA,{data:S,getColor:e=>A.get(e.id),textColor:r,render:e=>e.label,onMouseOver:e=>()=>k(e.id),onMouseLeave:()=>()=>k(null)})]}),p()]})},lH=e=>{var t,n;let{labelScale:l,dataScale:a,data:o,dataColumns:i,isThumbnail:r,getColor:s,margin:u,tooltipEnter:c,tooltipLeave:m,chartOptions:{line:p={}},onDataClick:g,onDataDoubleClick:h,animationDuration:b=ls.zn,textColor:y,hoverPosition:v,highlightedColumn:k}=e,[x,w]=a.range(),[S,C]=(0,f.useState)(null),[z,A]=(0,f.useState)(null),I=e=>{let{data:t,position:{row:n}}=e;return{x:l(n)+l.bandwidth()/2,y:a(t)}},j=e=>{let t=c(e),n=I(e);return l=>{t(l),C(n),A(e.position.row)}},F=e=>{let t=m(e);return e=>{t(e),C(null),A(null)}};return(0,d.jsxs)(le.Z,{left:u.left,top:u.top,children:[(0,d.jsx)("line",{y1:w,y2:x,x1:0,x2:0,strokeWidth:1,stroke:y,transform:"translate(".concat(null!==(n=null!==(t=null==S?void 0:S.x)&&void 0!==t?t:null==v?void 0:v.x)&&void 0!==n?n:0,", 0)"),style:{opacity:"".concat(v||S?.8:0),pointerEvents:"none",transition:"opacity ".concat(b,"s, transform ").concat(S?.15:0,"s")}}),i[0].getCells(o).map(e=>(0,d.jsx)(ln.Z,{opacity:0,height:x,width:l.bandwidth(),x:l(e.position.row),y:w,onMouseMove:j(e),onMouseLeave:F(e)},"p-".concat(e.key))),i.map(e=>{let t=e.getCells(o);return(0,d.jsx)(lG,{cells:t,isThumbnail:r,color:s(e.id),xScale:l,yScale:a,onDataClick:g,onDataDoubleClick:h,lineOptions:p,animationDuration:b,onMouseMove:j,onMouseLeave:F,highlightedRow:z,highlightedColumn:k},e.id)})]})},lG=e=>{var t;let{cells:n,color:l,xScale:a,yScale:o,onDataClick:i,onDataDoubleClick:r,onMouseMove:s,onMouseLeave:u,lineOptions:c={},animationDuration:m,isThumbnail:f,highlightedRow:p,highlightedColumn:g}=e,{clickHandler:h,doubleClickHandler:b}=lI(),y=lq(n,o,m),v=e=>(!!p||!!g)&&(g?g!==e.position.column:p!==e.position.row);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(lW.Z,{data:n,x:e=>{let{position:{row:t}}=e;return(a(t)||0)+a.bandwidth()/2},y:e=>y(e),stroke:l,strokeWidth:2,style:{pointerEvents:"none",transition:"opacity ".concat(m,"s")},opacity:(t=n[0],(p||g)&&(g?g!==t.position.column:!!p))?.3:1}),!f&&n.map(e=>(0,d.jsx)(lz.E.circle,{cx:(a(e.position.row)||0)+a.bandwidth()/2,cy:y(e),r:4,fill:l,stroke:l,opacity:c.hideMarkers?0:v(e)?.3:1,style:{cursor:"pointer",transition:"opacity ".concat(m,"s")},onMouseMove:s(e),onMouseLeave:u(e),onClick:i?h(i.bind(void 0,e)):void 0,onDoubleClick:r?b(r.bind(void 0,e)):void 0},"circle-".concat(e.key)))]})},lq=(e,t,n)=>{let l=(0,f.useRef)(Object.fromEntries(e.map(e=>[e.key,void 0]))),a=()=>e=>l.current[e.key],[o,i]=(0,f.useState)(()=>a());return(0,f.useEffect)(()=>{let o=t(0);if(0===o)return;let r=e.map(e=>{var r;let s=e.key;return(0,la.j)(null!==(r=l.current[s])&&void 0!==r?r:o,t(e.data),{duration:n,ease:"easeOut",onUpdate:e=>{l.current[s]=e,i(()=>a())}})});return()=>{r.forEach(e=>{e.stop()})}},[e,t]),o||console.log("no getter"),o};var lV=n(82756),lK=n(24528);let lY=e=>{let{targetValue:t,initialValue:n=0,duration:l=ls.zn}=e,[a,o]=(0,f.useState)(n);return(0,f.useEffect)(()=>{let{stop:e}=(0,la.j)(a,t,{duration:l,onUpdate:e=>{o(e)}});return()=>{e()}},[t]),a},l$=e=>{let{data:t,TooltipInner:n,colorScheme:l=ls.bT,isThumbnail:a=!1,width:o,height:i,chartType:r,textColor:s,accentColor:u,chartOptions:{donut:c,pie:m},hideLabels:p,onDataClick:g,onDataDoubleClick:h,animationDuration:b=ls.zn,backgroundColor:y}=e,{dispatch:v}=(0,f.useContext)(lO._M),{renderTooltip:k,mouseMoveHandler:x,mouseLeaveHandler:w}=lE({TooltipInner:n}),S={top:20,right:20,bottom:20,left:20},C=lo(t),z=li(t),A=C?C.getCells(t).filter(e=>!e.isEmpty):[];lP([z,C]),(0,f.useEffect)(()=>{let e="pie-no-labels";return z||p||v((0,lK.Yr)(tn.ag._({id:"gMgGUM"}),{severity:"warning",id:e,dismissable:!1})),()=>{v((0,lK.VP)(e))}},[z,p,v]),(0,f.useEffect)(()=>{let e="pie-single-row";return 1===A.length&&v((0,lK.Yr)(tn.ag._({id:"uHTxZb"}),{severity:"info",id:e,dismissable:!0})),()=>{v((0,lK.VP)(e))}},[A.length,v]);let I=A.map(e=>{let{position:t}=e;return t.row}),j=(0,lr.$)(u,I,l,{contrastColor:y,minContrast:1.3}),[F,B]=(0,f.useState)(null),M=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return F?F.row===e.row&&F.column==F.column:!t};a&&(S.top=5,S.right=5,S.bottom=5,S.left=5);let E=p||!z,_=(0,lk.Hs)(a),P=E?i:i-3*_,T=o-S.left-S.right,R=P-S.top-S.bottom,N=Math.min(T,R)/2,L=lY({targetValue:"donut"===r?(null==c?void 0:c.radius)||.5:1,initialValue:1,duration:b}),D=N*L,W=e=>(0,d.jsx)(lX,{cells:A,colors:j,donutThickness:D,duration:b,isDummy:e,isFocused:M,isThumbnail:a,onClick:g,onDoubleClick:h,radius:N,setFocus:B,tooltipEnter:x,tooltipLeave:w});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(O.xu,{height:E?"100%":"calc(100% - ".concat(3,"em)"),"data-test":"pie-chart-container",cursor:"default",contentEditable:!1,suppressContentEditableWarning:!0,userSelect:"none",children:[(0,d.jsx)("svg",{width:"100%",viewBox:"0 0 ".concat(o," ").concat(P),height:"100%",children:(0,d.jsx)(le.Z,{top:R/2+S.top,left:T/2+S.left,children:(0,d.jsxs)(d.Fragment,{children:[W(!0),W(!1)]})})}),!E&&(0,d.jsx)(lA,{data:A,getColor:e=>j.get(e.position.row),render:e=>{let{position:{row:n}}=e;return t.getCellOrThrow({row:n,column:z.id}).label},textColor:s,getOpacity:e=>M(e.position)?1:.2,onMouseOver:e=>()=>B(e.position),onMouseLeave:()=>()=>B(null)})]}),k()]})},lJ=e=>{let{arc:t,duration:n=.2,path:l,getColor:a,tooltipEnter:o,tooltipLeave:i,onClick:r,onDoubleClick:s,focused:u,setFocused:c,isThumbnail:m,isDonut:p,radius:g,...h}=e,{startAngle:b,endAngle:y}=t,v=a(t.data),[k,x]=(0,f.useState)(b),[w,S]=(0,f.useState)(b),[C,z]=(0,f.useState)(v),{clickHandler:A,doubleClickHandler:I}=lI();(0,f.useEffect)(()=>{(0,la.j)(k,[k,y],{duration:n,onUpdate:e=>x(e)})},[y]),(0,f.useEffect)(()=>{(0,la.j)(w,[w,b],{duration:n,onUpdate:e=>S(e)})},[b]),(0,f.useEffect)(()=>{(0,la.j)(C,v,{duration:n,onUpdate:e=>z(e)})},[v]);let j=u?m?4:15:0,F=(w+k)/2,B=j>0?"translate(".concat(Math.sin(F)*j,", ").concat(-(Math.cos(F)*j*1),")"):"";return(0,d.jsx)("path",{d:l({...t,startAngle:w,endAngle:k}),fill:C,stroke:p?"transparent":"var(--card-color)",strokeWidth:.02*g,strokeLinecap:"round",strokeLinejoin:"round",onMouseMove:e=>{c(!0),null==o||o(t.data)(e)},onMouseLeave:e=>{c(!1),null==i||i(t.data)(e)},onClick:r?A(r.bind(void 0,t.data)):void 0,onDoubleClick:s?I(s.bind(void 0,t.data)):void 0,transform:B,style:{transition:"transform ".concat(n,"s")},...h})},lX=e=>{let{cells:t,colors:n,donutThickness:l,duration:a,isDummy:o,isFocused:i,isThumbnail:r,onClick:s,onDoubleClick:u,radius:c,setFocus:m,tooltipEnter:f,tooltipLeave:p}=e;return(0,d.jsx)(lV.Z,{data:t,outerRadius:c,innerRadius:o?0:c-l,pieValue:e=>{let{data:t}=e;return t},pieSort:null,pieSortValues:null,padAngle:o?0:l{let{arcs:t,...g}=e;return t.map(e=>(0,d.jsx)(lJ,{arc:e,...g,radius:c,isDonut:l{m(t?e.data.position:null)},getColor:e=>o?"transparent":n.get(e.position.row),tooltipEnter:f,tooltipLeave:p,duration:o?0:a,isThumbnail:r,onClick:s,onDoubleClick:u},e.data.key))}})};var lZ=n(13265),lQ=n(17630),l0=n(71997),l1=n(5626),l2=n(78820),l4=n(17955);let l5=e=>{let{isResizing:t,onResizing:n,setIsResizing:l,cloneBoxProps:a={},showResizeControls:o,disableCloning:i,children:r,...s}=e,u=(0,f.useRef)(null),c=(0,f.useRef)(null),m=(0,f.useRef)(void 0);return(0,f.useEffect)(()=>{if(!i){if(!0===t&&c.current&&m.current){let e=c.current;e.appendChild(m.current)}if(!t&&m.current){var e;null===(e=m.current.parentNode)||void 0===e||e.removeChild(m.current)}}},[t]),(0,d.jsxs)(d.Fragment,{children:[t&&!i?(0,d.jsx)(O.xu,{filter:"blur(15px)",...a,ref:c,width:"100%",height:"100%",position:"relative","data-test":"resize-placeholder"}):(0,d.jsx)(O.xu,{ref:u,width:"100%",height:"100%",filter:t?"blur(4px) opacity(0.75)":void 0,children:r}),o&&(0,d.jsx)(l4.R4,{setIsResizing:e=>{if(!i&&e){var t;m.current=null===(t=u.current)||void 0===t?void 0:t.cloneNode(!0);let e=m.current;e&&(e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.style.width="auto",e.style.height="auto")}l(e)},onResizing:function(e){for(var t=arguments.length,l=Array(t>1?t-1:0),a=1;a{var t,n;let{state:l,dispatch:a}=(0,f.useContext)(lO._M),[o,i]=(0,f.useState)(new Date),r=(0,f.useRef)(!1),s=l.feedback;return((0,f.useEffect)(()=>{if(!(null==s?void 0:s.length))return;let e=[],t=s.filter(t=>{let n=t.dismissable;return n instanceof Date&&(!(n<=o)||(e.push(t.id),!1))});e.length&&a((0,lK.VP)(...e)),!r.current&&t.length&&(r.current=setTimeout(()=>{r.current=!1,i(new Date)},1e3))},[s,o,a]),null===(t=l.feedback)||void 0===t?void 0:t.length)?(0,d.jsx)(e6.K,{marginY:2,...e,children:null===(n=l.feedback)||void 0===n?void 0:n.map(e=>(0,d.jsxs)(nE.b,{marginBottom:1,status:e.severity,children:[(0,d.jsx)(n_.z,{}),(0,d.jsx)(nP.X,{flexGrow:1,children:e.message}),e.dismissable&&(0,d.jsx)(l6.T,{cursor:"pointer",onClick:()=>{a((0,lK.VP)(e.id))}})]},e.id))}):null};var at=n(58151),an=n(81540),al=n(25237),aa=n.n(al);let ao=aa()(async()=>(await Promise.all([n.e(411),n.e(1260)]).then(n.bind(n,91260))).DataEditor,{loadableGenerated:{webpack:()=>[91260]},ssr:!1,loading:()=>(0,d.jsx)(eV.k,{m:5,h:"100%",justifyContent:"center",children:(0,d.jsx)(an.$,{size:"lg"})})}),ai=e=>(0,d.jsx)(ao,{...e}),ar=(0,lO.Ai)(e=>{let{onChange:t,onClose:n,data:l,isOpen:a,renderChart:o,attributes:i,updateAttributes:r,accentColor:s,selectedCell:u,cardColor:c}=e,m=(0,b.CG)(e0.Pu),f=m.config.bodyColor||((0,ep.wj)(m)?"var(--chakra-colors-gray-50)":"var(--chakra-colors-gray-900)");return(0,d.jsxs)(l3.d,{placement:"bottom",onClose:n,isOpen:a,trapFocus:!0,isFullHeight:!0,returnFocusOnClose:!1,children:[(0,d.jsx)(tu.Z,{}),(0,d.jsxs)(l9.s,{borderTopRadius:"xl",h:"calc(var(--100vh) - 24px)",transitionDuration:{enter:"0.4s"},children:[(0,d.jsx)(tm.o,{}),(0,d.jsxs)(tp.f,{p:0,h:"100%",overflow:"auto","data-testid":"chart-editor-body",display:"flex",flexDir:"column",children:[(0,d.jsx)(tf.x,{children:(0,d.jsx)(w.cC,{id:"44wbJb"})}),(0,d.jsxs)(eV.k,{direction:{base:"column",xl:"row-reverse"},overflow:"auto",gap:5,px:5,children:[(0,d.jsxs)(eV.k,{direction:{base:"column",lg:"row",xl:"column"},width:{base:"auto",xl:"40%","2xl":"30%"},gap:5,children:[(0,d.jsx)(O.xu,{flexGrow:{base:1,xl:0},flexShrink:0,flexBasis:"auto",borderRadius:"md",overflow:"hidden",children:(0,d.jsx)(O.xu,{background:c,borderRadius:"md",padding:8,maxWidth:"100%",h:"xs",children:(0,d.jsx)(O.xu,{as:l7.Z,position:"relative",children:e=>{let{width:t,height:n}=e;return o({data:l,width:t,height:n,textColor:f})}})})}),(0,d.jsx)(O.xu,{background:"gray.50",borderRadius:"md",children:(0,d.jsx)(at.o,{attributes:i,updateAttributes:r,accentColor:s})})]}),(0,d.jsx)(l8.i,{display:{base:"block",xl:"none"}}),(0,d.jsxs)(O.xu,{flexGrow:1,zIndex:1,overflow:{xl:"auto"},children:[(0,d.jsx)(ai,{onChange:t,data:l||n5.f.createEmpty(2,3),selectedCell:u}),(0,d.jsx)(ae,{})]})]})]})]})]})}),as=e=>{let t=(0,f.useRef)(!1),[n,l]=(0,f.useState)(!1);(0,f.useEffect)(()=>{if(t.current||null===e)return;let n=!1;e.columns.forEach((t,l)=>{let a=e.getCellAtIndex({row:0,column:l});n=(0,ld.Tx)(a,e)||n}),t.current=!0,n&&l(n)},[e])},ad=e=>{var t;let{node:n,editor:l,selected:a,updateAttributes:o,decorations:i}=e,{chartType:r,colorScheme:s,data:u,dimensions:c={ratio:.5},hideLabels:m,chartAttributes:p={},horizontalAlign:g}=n.attrs,h=(0,f.useMemo)(()=>{try{return u?n0.m.parse(u):null}catch(e){return console.error("[DATALOSS] Error parsing serialized chart",e),console.log(u),null}},[u]),y=(0,b.qr)(),v=(0,b.CG)(e0.Pw),k=(0,eQ.TZ)(),x=(0,b.CG)(e0.wc),w=(0,eQ.LM)(l),S=(0,b.CG)(e0.aB),C=v&&w&&x,{theme:z,cardColor:A}=(0,Z.t)(i),{ref:I,isResizing:j,setIsResizing:F,resizeableSx:B}=(0,l4.ow)(l),M=(0,f.useCallback)(e=>{o({dimensions:{width:e.width,height:e.height}})},[o]),[E,_]=(0,f.useState)(ls.zn);as(h),(0,f.useEffect)(()=>{j?_(0):setTimeout(()=>{_(ls.zn)},1e3*ls.zn)},[j]);let T=l.isThumbnail||!1,[R,N]=(0,f.useState)(),L=!T&&S===n.attrs.id,D=e=>{if(e){y.dispatch((0,e0.GV)({chartId:n.attrs.id}));return}y.dispatch((0,e0.GV)({chartId:null}))},W=(0,f.useMemo)(()=>{switch(r){case"pie":case"donut":return l$;case"line":return lU;default:return lR}},[r]),U=null!==(t=z.accentColor)&&void 0!==t?t:ep.uP,H=e=>{v&&x&&(N(e),D(!0))};(0,f.useEffect)(()=>{if(!R)return;let e=null==h?void 0:h.getCell(R.position);e!==R&&N(void 0)},[R,L]);let G=e=>{var t;let{data:n,width:l,height:a,textColor:o="var(--body-color)",showEditInPlaceholder:i=!1}=e,c=n&&(null===(t=lD.r.nonEmpty(n))||void 0===t?void 0:t.data);return!c||!lo(c)||c.isEmpty()?(0,d.jsx)(am,{setEditing:i?D:void 0}):(0,d.jsx)(W,{animationDuration:E,data:c,colorScheme:s||void 0,width:l,height:a,accentColor:U,textColor:o,chartOptions:p,onDataDoubleClick:H,hideLabels:m,backgroundColor:A,TooltipInner:e=>(0,d.jsx)(d.Fragment,{children:u.columns.map(t=>{var n;return(0,d.jsxs)(O.xu,{as:"p",mb:1,children:[t.label&&(0,d.jsxs)(K.x,{as:"b",children:[t.label,": "]}),(0,d.jsx)(K.x,{as:"span",children:null===(n=c.getCell({row:e.position.row,column:t.id}))||void 0===n?void 0:n.textValue},t.id)]},t.id)})}),chartType:r,isThumbnail:T})},q=au(c),V="width"in c?c.width:l1.gS;if(k){let e=l1.gS/2;V=Math.min(V,e)}let Y=V*q,$=(0,lQ.nN)(g),J=(0,lZ.g)();return J?(0,d.jsx)(P.lO,{as:"div",...e,children:(0,d.jsx)(eV.k,{w:"100%",className:l0.d,sx:B,css:$,direction:"column",onDoubleClick:()=>{C&&D(!0)},_focusWithin:{shadow:"outline"},children:(0,d.jsxs)(O.xu,{ref:I,className:"chart",borderRadius:"var(--box-border-radius)","data-content-reference":!0,"data-selection-ring":!0,"data-selection-background":!0,maxW:"100%",minW:"10em",minH:"10em",width:"width"in c&&"height"in c?ac(c.width):"100%",aspectRatio:"1/".concat(q),position:"relative","data-drag-handle":!0,children:[(0,d.jsx)(l5,{showResizeControls:C&&a,imageWrapperRef:I,isResizing:j,setIsResizing:F,updateResizeAttrs:M,refreshDeps:[n.attrs],disableCloning:!0,keepRatio:!1,children:h?G({data:h,width:V,height:Y,showEditInPlaceholder:!T&&v}):(0,d.jsx)(am,{setEditing:T||!v?void 0:D})}),(0,d.jsx)(ar,{renderChart:G,cardColor:A,data:h,isOpen:L,onClose:()=>D(!1),onChange:e=>{let t=n0.m.serialize(e);o({data:t})},attributes:n.attrs,updateAttributes:o,accentColor:U,selectedCell:R})]})})}):(0,d.jsx)(O.xu,{w:V,h:Y})},au=e=>"ratio"in e?e.ratio:e.height/e.width,ac=e=>"calc(".concat(e," * var(--font-size) / 16)"),am=e=>{let{setEditing:t}=e,n=(0,v.Yy)();return(0,d.jsxs)(nT.g,{spacing:3,justify:"center",contentEditable:!1,color:n?l2.Z.DARK_COLOR:l2.Z.LIGHT_COLOR,h:"100%",backgroundColor:n?l2.Z.DARK_BG:l2.Z.LIGHT_BG,borderRadius:"var(--box-border-radius)","data-testid":"chart-placeholder",children:[(0,d.jsx)(k.G,{size:"2x",icon:n6.Wpq}),t&&(0,d.jsx)(n7.z,{size:"xs",fontFamily:"body",onClick:()=>t(!0),children:(0,d.jsx)(w.cC,{id:"UHoZ5e"})})]})};var af=n(46254);let ap=()=>(0,nQ.x0)(5),ag=new ef.H$("UniqueMediaId"),ah=eg.I.extend({name:"UniqueChartId"}).configure({attributeName:"id",types:["chart"],initialValue:ap,filterTransaction:e=>{let t=e.getMeta(nC.Gt);return(null==t?void 0:t.isChangeOrigin)!==!0},pluginKey:ag}),ab=F.NB.create({name:"chart",group:"cardBlock layoutBlock",selectable:!0,draggable:!0,addNodeView:()=>(0,E.fW)(ad,{update:_.E7}),addAttributes:()=>({id:(0,n8.b)(()=>(0,nQ.x0)(5)),chartType:{default:"bar"},chartAttributes:{...(0,eb.sw)("chartAttributes"),default:{}},colorScheme:{isRequired:!1},dimensions:{...(0,eb.sw)("dimensions"),default:{ratio:.56}},hideLabels:{isRequired:!1,default:!1},data:{...(0,eb.sw)("data")}}),addCommands:()=>({insertChart:(e,t)=>n=>{let{dispatch:l,editor:a,commands:o}=n;if(!l)return!1;let{schema:i}=a,r=i.nodes.chart,s=ap(),d=r.createChecked({id:s,chartType:e,data:t&&e?(0,af.W)(e):void 0});return o.insertContent(d.toJSON())},editSelectedChart:()=>e=>{let{state:t}=e,n=t.selection;if(!(n instanceof ef.qv)||!ay(n.node))return!1;let l=n.node,a=(0,b.bh)();return a.dispatch((0,e0.GV)({chartId:l.attrs.id})),!0}}),addExtensions:()=>[ah],parseHTML(){return[{tag:'div[data-type="'.concat(this.name,'"]')},{tag:"chart",getAttrs(e){try{if("string"==typeof e)return!1;let t=[...e.children].find(e=>"TABLE"===e.nodeName);if(!t)return null;let n=n9.parse(t);if(!n)return{};return{data:n0.m.serialize(n)}}catch(e){return console.error("[caught]",e),!1}}}]},renderHTMLforAI(e){let{node:t,HTMLAttributes:n}=e,{"data-data":l,...a}=n,o=["chart",(0,F.P1)(this.options.HTMLAttributes,a)];return t.attrs.data&&o.push(n9.serialize(n0.m.parse(t.attrs.data))),o},renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,F.P1)({"data-type":this.name},this.options.HTMLAttributes,t)]}}),ay=e=>"chart"===e.type.name;var av=n(30764),ak=n(18455),ax=n(71917),aw=n(37160),aS=n(25819),aC=n(86581),az=n(29460),aA=n(87008);let aI=F.hj.create({name:"clipboard",addProseMirrorPlugins(){let e=this.editor,t=e.state.schema,n=null;return[new ef.Sy({key:new ef.H$("clipboard"),appendTransaction(e,t,n){let l=e.find(e=>"cut"===e.getMeta("uiEvent"));if(!l)return null;let a=(0,ev.a)(l);return a?n.tr.setSelection(a):null},props:{handleDOMEvents:{drop(e){n=e.dragging,requestAnimationFrame(()=>{n=null})}},clipboardSerializer:{serializeFragment:e=>(0,aA.Xb)(e,this.editor.schema)},transformPastedHTML:ak.B,transformPasted:l=>{let a=!!(null==n?void 0:n.slice);return aj(e,a?l:(0,az.iu)(l,t))},handlePaste:(t,n,l)=>(0,aS.Lv)(e,n,l)||(0,aC.iO)(e,n)||(0,aw.g)(t,n,l)}})]},addCommands:()=>({insertMarkdownAt:(e,t)=>n=>{let{state:l,tr:a}=n;try{let n=(0,aC.aT)(t,l.schema);return a.replaceRange(e.from,e.to,n),!0}catch(e){return console.warn("(caught) [Clipboard] insertMarkdownAt error",e),!1}}})}),aj=(e,t)=>{var n;let l=(0,ax.u)(e.state.doc),a=null===(n=t.toJSON())||void 0===n?void 0:n.content;if(!a||"document"!==a[0].type)return t;let o=(0,ax.u)(t.content.firstChild);return l.cardLayoutsEnabled&&!o.cardLayoutsEnabled?((0,eb.K9)(a,e=>{"card"===e.type&&(e.content=[{type:"cardLayoutItem",content:e.content}])}),av.p2.fromJSON(e.schema,{openStart:t.openStart+1,openEnd:t.openEnd+1,content:a})):t};var aF=n(31230),aB=n(31187);let aM=aB.ZP.extend({priority:eH.a.Code,inclusive:!1});var aE=n(93274),a_=n(48832),aO=n(96933);let aP=e=>{let[t,n]=(0,f.useState)(new Date),l=(0,f.useRef)(!1);return(0,f.useEffect)(()=>{l.current&&n(new Date),l.current=!0;let e=setInterval(()=>{n(new Date)},6e4);return()=>{clearInterval(e)}},[e]),t},aT=e=>{var t;let n=(0,aO.i)({base:4,md:8})||8,{node:l}=e,{showTime:a,hiddenContributorIds:o}=l.attrs,i=(0,b.CG)(e0.xy)||[],r=(0,f.useMemo)(()=>i.filter(e=>!o.includes(e.user.id)),[i,o]),s=(0,A.gF)(),u=(0,b.CG)(e0.yx),c=null==u?void 0:u.editedTime,m=aP(c).toISOString(),p=r.length-n,h=null!==(t=e.node.attrs.horizontalAlign)&&void 0!==t?t:"left",v=(0,f.useMemo)(()=>({left:"row",center:"column",right:"row-reverse"})[h],[h]);return(0,d.jsx)(d.Fragment,{children:r.length>0&&(0,d.jsx)(P.lO,{...e,as:"div",children:(0,d.jsxs)(eV.k,{userSelect:"none",contentEditable:!1,justify:"flex-start",align:"center",direction:v,borderRadius:"var(--box-border-radius)","data-selection-ring":"padded","data-selection-background":!0,children:[(0,d.jsxs)(aE.H,{sx:{".avatar-overflow-activator":{height:"1.6em",width:"1.6em",minH:"1.6em",minW:"1.6em",fontSize:"inherit",span:{fontSize:"0.68em"}}},children:[r.slice(0,n).map(e=>(0,d.jsx)(y.Vw,{width:"1.6em",height:"1.6em",fontSize:"inherit",size:"sm",shadow:"base",sx:{"@media print":{shadow:"none"}},borderWidth:"1px",name:e.user.displayName,label:s?tn.ag._({id:"bxVoEp",values:{0:e.user.displayName,1:(0,a_.Km)(e.lastEdited,m)}}):" ",src:e.user.profileImageUrl},e.user.id)),p>0&&(0,d.jsx)(y.Z9,{tooltipLabel:tn.ag._({id:"25VyZX"}),count:p,avatars:r.map(e=>({name:e.user.displayName||"",id:e.user.id,profileImageUrl:e.user.profileImageUrl||"",color:"white"})),disabled:!0})]}),(0,d.jsxs)(eV.k,{direction:"column",ml:"left"===h?"0.5em":0,mr:"right"===h?"0.5em":0,lineHeight:"1.4",textAlign:h,children:[(0,d.jsx)(K.x,{className:"contributors-list",children:1===r.length?(0,d.jsx)(w.cC,{id:"t490IT",values:{0:r[0].user.displayName}}):(0,d.jsx)(w.cC,{id:"KNjuGh",values:{0:r.length}})}),!g.v.GAMMA_PUPPETEER_SERVICE&&c&&a&&(0,d.jsx)(K.x,{fontSize:"0.75em",children:s?(0,d.jsx)(w.cC,{id:"gUWkFH",values:{0:(0,a_.Km)(c,m)}}):" "})]})]})})})},aR=e=>{var t;let n=null!==(t=e.node.attrs.horizontalAlign)&&void 0!==t?t:"left",l=(0,f.useMemo)(()=>({left:"row",center:"column",right:"row-reverse"})[n],[n]);return(0,d.jsx)(nN.T,{children:(0,d.jsxs)(eV.k,{direction:l,alignItems:"center",gap:"1em",children:[(0,d.jsx)(nR,{borderRadius:"full",boxSize:"4em"}),(0,d.jsx)(nR,{h:"2em",w:"14em"})]})})},aN=F.NB.create({name:"contributors",group:"block",atom:!0,selectable:!0,dynamic:!0,addAttributes:()=>({showTime:{default:!0},hiddenContributorIds:{default:[],...(0,eb.sw)("hiddenContributorIds")}}),addCommands:()=>({toggleShowTime:()=>e=>{let{commands:t,state:n}=e,{selection:l}=n;if(!(l instanceof ef.qv))return!1;let{node:a}=l;return"contributors"===a.type.name&&(t.updateAttributes("contributors",{showTime:!a.attrs.showTime}),!0)},toggleOneContributorVisibility:e=>t=>{let{commands:n,state:l}=t,a=(0,b.bh)().getState(),o=(0,e0.xy)(a);if(!o||1===o.length)return!1;let{selection:i}=l;if(!(i instanceof ef.qv))return!1;let{hiddenContributorIds:r}=i.node.attrs,s=[];if(r.includes(e))s=r.filter(t=>t!==e);else{if(r.length+1===o.length)return!1;s=[...r,e]}return n.updateAttributes("contributors",{hiddenContributorIds:s}),!0},toggleAllContributorsVisibility:()=>e=>{let{commands:t,state:n}=e,l=(0,b.bh)().getState(),a=(0,e0.xy)(l);if(!a||1===a.length)return!1;let{selection:o}=n;if(!(o instanceof ef.qv))return!1;let{hiddenContributorIds:i}=o.node.attrs,r=[];if(i.length>0)r=[];else{let e=(0,e0.bU)(l);r=a.filter(t=>t.user.id!==(null==e?void 0:e.id)).map(e=>e.user.id)}return t.updateAttributes("contributors",{hiddenContributorIds:r}),!0}}),parseHTML:()=>[{tag:"div[class=contributors]"}],renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,F.P1)(t,{class:"contributors"})]},addNodeView(){return this.editor.isThumbnail?(0,E.fW)(aR,{update:_.E7}):(0,E.fW)(aT,{update:_.E7})}});var aL=n(39823);let aD="125em",aW=e=>{let{svg:t,theme:n}=e;if(!t)return null;let l=(0,aL.c)(n);return(0,d.jsx)(O.xu,{dangerouslySetInnerHTML:{__html:t},"data-testid":"diagram-svg",sx:{svg:{width:"100%",height:"auto",maxH:aD,...l}}})};var aU=n(55395),aH=n(32398),aG=n(53025),aq=n(14027);let aV=aa()(async()=>(await Promise.all([n.e(2533),n.e(9646),n.e(3857)]).then(n.bind(n,13857))).Tldraw,{loadableGenerated:{webpack:()=>[13857]},ssr:!1}),aK=e=>{let{theme:t=aq.g}=e,n=(0,tI.cy)(t),l=(0,aG.l)(t),a=(0,aL.c)(t),o=n.tldrawStyles;if("v3"===n.key){let e=(0,tI.fY)(t);o={fill:e.shapeFill,strokeWidth:e.shapeBorder}}return(0,d.jsx)(eV.k,{sx:{...l,"--tl-font-draw":"var(--body-font)",fontFamily:"var(--body-font)",fontWeight:"var(--body-font-weight)",...a,"--tl-text-outline":"transparent","--color-background":"var(--card-color)"},position:"relative",h:"100%",w:"100%",className:"highlight-mask",children:(0,d.jsx)(aV,{...e,defaultStyles:o})})},aY=async e=>{let t=Array.from(e.getCurrentPageShapeIds()),n=await e.getSvg(t,{padding:8,scale:1});if(n)return console.debug("generated svg",n),n},a$=(e,t,n)=>{if(!e||!t)return;let l=Array.from(e.getCurrentPageShapeIds());l.length>0?e.updateShapes(t):e.createShapes(t),n&&e.updateAssets(n)},aJ=(e,t)=>{e.user.updateUserPreferences({isDarkMode:(0,ep.wj)(t)}),setTimeout(()=>{e.zoomToFit()})},aX=e=>{let{isOpen:t,isEditable:n,onClose:l,isDrawingEditorActive:a,setDrawingEditorActive:o,editor:i,...r}=e,{node:s,updateAttributes:u}=r,{assets:c,shapes:m}=s.attrs,p=(0,b.CG)(e0.Pu),[g,h]=(0,f.useState)();(0,f.useEffect)(()=>{g&&a$(g,m,c)},[m,c,g,u]);let v=(0,f.useCallback)(e=>{h(e),window.tldrawEditor=e,aJ(e,p)},[p]),k=(0,f.useCallback)(async()=>{if(!g)return;let e=await aY(g);e&&u({svg:e.outerHTML})},[g,u]),x=(0,f.useCallback)(()=>{g&&u({shapes:g.getCurrentPageShapes(),assets:g.getAssets(),version:2})},[u,g]),w=(0,A.Kt)(x,500),S=(0,f.useCallback)(()=>{n&&k(),o(!1),l()},[l,k,o,n]);return(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)(y.dy,{placement:"bottom",onClose:S,isOpen:t,trapFocus:!0,isFullHeight:!0,returnFocusOnClose:!1,children:[(0,d.jsx)(y.P1,{}),(0,d.jsxs)(y.sc,{borderTopRadius:"xl",h:"calc(var(--100vh) - 24px)",onAnimationComplete:e=>{"enter"==e&&o(!0)},transition:{enter:{duration:.4}},overflow:"hidden",children:[(0,d.jsx)(y.Ng,{p:0,h:"100%",overflow:"hidden","data-testid":"drawing-editor-body",children:a?(0,d.jsx)(aK,{onMount:v,onChange:n?w:void 0,orgId:i.gammaOrgId,theme:p}):(0,d.jsx)(eV.k,{align:"center",justify:"center",w:"100%",h:"100%",children:(0,d.jsx)(an.$,{size:"xl"})})}),(0,d.jsx)(y.cC,{zIndex:400,backgroundColor:"white","data-testid":"drawing-editor-close"})]})]})})},aZ=e=>{let{node:t,updateAttributes:n,selected:l,editor:a,getPos:o,decorations:i}=e,{width:r,meta:s,id:u,horizontalAlign:c,svg:m,shapes:p}=t.attrs,g=(0,b.CG)(e0.Pw),h=(0,b.CG)(e0.wc),y=(0,eQ.LM)(a),x=g&&y&&h,w=(0,b.CG)(e0.Av),S=!!w&&w===u,[C,z]=(0,f.useState)(!1),A=(0,b.CG)(e0.Pu),I=(0,v.Yy)(),{ref:j,setIsResizing:F,resizeableSx:B}=(0,l4.ow)(a),M=(0,f.useCallback)(()=>{(0,aH.Sc)(u,!0)},[u]),E=(0,f.useCallback)(()=>{a.chain().setNodeSelection(o()).focus().run()},[a,o]),_=(0,f.useCallback)(()=>{(0,aH.Sc)(null,!1)},[]),T=(0,f.useCallback)((e,l)=>{n({...t.attrs,fullWidthBlock:void 0===l?t.attrs.fullWidthBlock:l,...e})},[t.attrs,n]),R=r||(null==s?void 0:s.width),N=!m,L=p&&p.length>0,{isFullWidth:D}=(0,aU.w)(i),W=(0,lQ.nN)(D?"center":c);return(0,d.jsx)(P.lO,{...e,as:"div",children:(0,d.jsxs)(eV.k,{w:"100%",className:l0.d,css:W,sx:B,direction:"column",_focusWithin:{shadow:"outline"},children:[(0,d.jsxs)(O.xu,{ref:j,className:"diagram",borderRadius:"var(--box-border-radius)","data-content-reference":!0,"data-selection-ring":!0,"data-selection-background":!0,w:D?"100%":R?"calc(".concat(R," * var(--font-size) / 16)"):"100%",maxW:"100%",h:"auto",maxH:aD,position:"relative",minH:N?"6em":"auto","data-drag-handle":!0,children:[x&&l&&!D&&(0,d.jsx)(l4.R4,{imageWrapperRef:j,setIsResizing:F,updateResizeAttrs:T,refreshDeps:[t.attrs]}),(0,d.jsx)(aW,{svg:m,theme:A}),x&&!S&&!N&&(0,d.jsx)(O.xu,{cursor:"default",position:"absolute",inset:"0",zIndex:"1",onClick:E,onDoubleClick:M}),N&&(0,d.jsxs)(nT.g,{spacing:3,justify:"center",contentEditable:!1,color:I?l2.Z.DARK_COLOR:l2.Z.LIGHT_COLOR,h:32,backgroundColor:I?l2.Z.DARK_BG:l2.Z.LIGHT_BG,borderRadius:"var(--box-border-radius)","data-testid":"drawing-placeholder",onDoubleClick:g?M:void 0,children:[(0,d.jsx)(k.G,{size:"2x",icon:n6.Kak}),g&&(0,d.jsx)(n7.z,{size:"xs",onClick:M,children:L?"Open diagram":"Add diagram"})]})]}),S&&(0,d.jsx)(aX,{...e,isOpen:S,isEditable:g,onClose:_,isDrawingEditorActive:C,setDrawingEditorActive:z})]})})},aQ=F.NB.create({name:"diagram",group:"block",atom:!0,selectable:!0,draggable:!0,addAttributes:()=>({id:(0,n8.b)(a1),shapes:{...(0,eb.sw)("shapes")},assets:{...(0,eb.sw)("assets"),default:{}},meta:{...(0,eb.sw)("meta"),default:{}},width:{},svg:{}}),parseHTML(){return[{tag:"div[class=diagram]"},{tag:"diagram[bookmark]",getAttrs:(0,eG.xF)(this.storage)}]},addStorage:eG.gk,renderHTMLforAI(e){let{node:t}=e;return["diagram",{bookmark:(0,eG.ml)(this.storage,t)}]},renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,F.P1)(t,{class:"diagram"})]},addCommands(){let e=this.name,t=t=>{let{selection:n}=t;return n instanceof ef.qv&&n.node.type.name===e?n.node:void 0};return{editSelectedDiagramBlock:()=>e=>{let{state:n}=e,l=t(n);if(l){let e=(0,b.bh)();e.dispatch((0,e0.h)({drawingId:l.attrs.id}))}return!0}}},addExtensions:()=>[a2],addNodeView:()=>(0,E.fW)(aZ,{update:_.E7})}),a0=new ef.H$("UniqueMediaId"),a1=()=>(0,nQ.x0)(5),a2=eg.I.extend({name:"UniqueDiagramId"}).configure({attributeName:"id",types:["diagram"],initialValue:a1,filterTransaction:e=>{let t=e.getMeta(nC.Gt);return(null==t?void 0:t.isChangeOrigin)!==!0},pluginKey:a0});var a4=n(47577);let a5=()=>(0,d.jsx)(E.T5,{as:"div",children:(0,d.jsx)(O.xu,{contentEditable:!1,borderRadius:"var(--box-border-radius)","data-selection-ring":"padded","data-selection-background":!0,"data-drag-handle":!0,py:"0.25em",position:"relative",transform:"translateY(0.25em)",children:(0,d.jsx)(l8.i,{borderColor:"var(--body-color)",borderBottomWidth:"0.125em",opacity:.5})})}),a3=/^(---|___|—-)/,a9=F.NB.create({name:"divider",group:"block cardNotesBlock",atom:!0,selectable:!0,draggable:!0,parseHTML:()=>[{tag:'hr[class="divider"]'}],renderHTML(e){let{HTMLAttributes:t}=e;return["hr",(0,F.P1)(t,{class:"divider"})]},addNodeView:()=>(0,E.fW)(a5),addInputRules(){return[(0,a4.ok)({find:a3,type:this.type})]}});var a8=n(88241),a7=n(87202),a6=n(37295),oe=n(28165);let ot=e=>{let{files:t}=e;return(0,d.jsx)(d.Fragment,{children:t.map(e=>(0,d.jsx)("link",{rel:"preload",href:e,as:"font",crossOrigin:""},e))})},on=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"@font-face {\n font-family: 'Eudoxus Sans';\n src: url('".concat(e,"/fonts/EudoxusSans-Bold.woff2') format('woff2'),\n url('").concat(e,"/fonts/EudoxusSans-Bold.woff') format('woff');\n font-weight: bold;\n font-style: normal;\n font-display: block;\n}\n@font-face {\n font-family: 'Eudoxus Sans';\n src: url('").concat(e,"/fonts/EudoxusSans-Regular.woff2') format('woff2'),\n url('").concat(e,"/fonts/EudoxusSans-Regular.woff') format('woff');\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n@font-face {\n font-family: 'Eudoxus Sans';\n src: url('").concat(e,"/fonts/EudoxusSans-Light.woff2') format('woff2'),\n url('").concat(e,"/fonts/EudoxusSans-Light.woff') format('woff');\n font-weight: 300;\n font-style: normal;\n font-display: block;\n}\n@font-face {\n font-family: 'Eudoxus Sans';\n src: url('").concat(e,"/fonts/EudoxusSans-ExtraBold.woff2') format('woff2'),\n url('").concat(e,"/fonts/EudoxusSans-ExtraBold.woff') format('woff');\n font-weight: 800;\n font-style: normal;\n font-display: block;\n}\n@font-face {\n font-family: 'Eudoxus Sans';\n src: url('").concat(e,"/fonts/EudoxusSans-ExtraLight.woff2') format('woff2'),\n url('").concat(e,"/fonts/EudoxusSans-ExtraLight.woff') format('woff');\n font-weight: 200;\n font-style: normal;\n font-display: block;\n}\n@font-face {\n font-family: 'Eudoxus Sans';\n src: url('").concat(e,"/fonts/EudoxusSans-Medium.woff2') format('woff2'),\n url('").concat(e,"/fonts/EudoxusSans-Medium.woff') format('woff');\n font-weight: 500;\n font-style: normal;\n font-display: block;\n}\n")},ol=["/fonts/EudoxusSans-Bold.woff","/fonts/EudoxusSans-Bold.woff2","/fonts/EudoxusSans-Regular.woff","/fonts/EudoxusSans-Regular.woff2","/fonts/EudoxusSans-Light.woff","/fonts/EudoxusSans-Light.woff2","/fonts/EudoxusSans-ExtraBold.woff","/fonts/EudoxusSans-ExtraBold.woff2","/fonts/EudoxusSans-ExtraLight.woff","/fonts/EudoxusSans-ExtraLight.woff2","/fonts/EudoxusSans-Medium.woff","/fonts/EudoxusSans-Medium.woff2"],oa=ol.map(e=>"".concat(g.v.FRONTEND_URL).concat(e));var oo=e=>{let{shouldUsePublishedVersion:t}=e,n=on(t?g.v.FRONTEND_URL:"");return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(oe.xB,{styles:n}),(0,d.jsx)(ot,{files:t?oa:ol})]})};let oi=e=>{let{fonts:t}=e,n=(0,nG.C7)(),l=null==t?void 0:t.find(e=>"Eudoxus Sans"===e.id),a=(0,f.useMemo)(()=>(null==t?void 0:t.filter(e=>e.url))||[],[t]);return(0,d.jsxs)(d.Fragment,{children:[l?(0,d.jsx)(oo,{shouldUsePublishedVersion:n}):null,a.map(e=>(0,d.jsx)(nU.r,{as:"link",href:e.url,rel:"stylesheet","data-gamma-font":e.id},e.id))]})},or=e=>{let{theme:t}=e;return(0,d.jsx)(oi,{fonts:null==t?void 0:t.fonts})};var os=n(15151),od=n(96449),ou=n(88959);let oc=e=>{if(e.state.selection instanceof ef.qv&&(0,ou.Q)(e.state.selection.node)){e.chain().focus(e.state.selection.from).blur().run();return}return e.commands.blur()};var om=n(90221),of=n(7207),op=n(70347),og=n(18149),oh=n.n(og);let ob=e=>(0,b.CG)(t=>{let n=(0,e0.gh)(t);if(n===nL.q.DOC_VIEW)return null;let l=(0,e0.k8)(t);if(!l||!(null==l?void 0:l.cardId))return null;let[a]=(0,F.N2)(e.state.doc,e=>(0,ej.KH)(e)&&e.attrs.id===l.cardId);if(!a)return console.warn("[usePresentingCardBackground] Unexpectedly couldnt find presentingCard ".concat(l.cardId)),null;let o=(0,eb.nv)(e.state.doc.resolve(a.pos+1),e=>(0,ej.KH)(e)&&e.attrs.background&&!e.attrs.background.inside).pop();return o?o.node.attrs.background:(console.warn("[usePresentingCardBackground] Unexpectedly couldnt find card at pos ".concat(a.pos)),null)},oh());var oy=n(83905);let ov=(0,lz.E)(O.xu),ok=(e,t)=>{let n=!!(e&&t),l=!!(e&&!t),a=!!(!e&&t),o=!!(!e&&!t),i=(0,f.useRef)(n);(0,f.useEffect)(()=>{i.current=n},[n,o]);let r=l||a?i.current:n;return[r,n]},ox=e=>{let{editor:t,node:n,updateAttributes:l}=e,a=(0,p.v9)(e0.gh),o=(0,b.CG)(e0.hN),i=(0,p.v9)(e0.Hl),r=(0,p.v9)(e0.i2),s=(0,b.CG)(e0.Pu),u=a===nL.q.SLIDE_VIEW,c=ob(t),{background:m}=n.attrs,g=(0,eQ.TZ)(),[h,y]=ok(u,r);(0,f.useEffect)(()=>{!n.attrs.docId&&t.gammaDocId&&l({...n.attrs,docId:t.gammaDocId})},[n.attrs,t,l]);let v=(0,os.J)(s,o),k=(0,ep.wj)(s),x=(0,e1.R5)(s,m),w=(0,e1.wh)(x,k,t.isThumbnail?e2.Iv:void 0),S=(0,e1.wh)(u&&c&&c.type!==eh.E.NONE?c:x,k,t.isThumbnail?e2.Iv:void 0);console.debug("%c[DocComponent] Doc is rerendering","background-color: chartreuse",{isPresentModeReady:y,isPresentModeReadyLagging:h,presentingCardId:r});let C=(0,op.WD)(),z=C.src&&u?{"--logo-push-x":"".concat(C.width+2*C.paddingX,"px"),"--logo-push-y":"".concat(C.height+2*C.paddingY,"px")}:void 0,A={width:"100%",'[data-animate-value="doc"]':{display:h?"none":void 0},...z},I=(0,f.useCallback)(e=>{let n=e.target;return(!n.closest(".".concat(eA.ar))||!!n.getAttribute("data-outside-card-body"))&&(oc(t),!0)},[t]);(0,f.useEffect)(()=>a6.F7.on("keydown","DOC_BLUR",e=>!!(0,a7.ZP)("Esc")(e)&&!!t.isFocused&&(t.commands.blur(),e.preventDefault(),!0)),[t]);let j=(0,eQ.Br)("comment");return(0,d.jsxs)(E.T5,{as:"div","data-testid":"doc-node-root",style:{height:"100%"},children:[(0,d.jsx)(or,{theme:s}),(0,d.jsx)(od.H,{theme:s}),(0,d.jsx)(O.xu,{onMouseDown:I,h:"100%",children:(0,d.jsxs)(eV.k,{className:"doc-content-wrapper",direction:"column",align:"center",pos:"relative",pb:g||u||!j?"0px":i?of.i:of.m,sx:v,onDragOver:tx.Gb,minH:"calc(var(--100vh) - var(--editor-padding-top, 0px))",children:[(0,d.jsx)(ow,{...w,isMobileDevice:g,isPresentMode:u}),(0,d.jsx)(a8.M,{children:(0,d.jsx)(ov,{className:"motion-present-mode-bg","data-doc-background-element-present-mode":!0,position:"fixed",zIndex:oy.S.presentBg,top:0,left:0,right:0,h:"100%",initial:{opacity:0},animate:{opacity:1},exit:{opacity:1},visibility:y?"visible":"hidden",transition:eA.Vs,...S},"presenting-background-"+r)}),(0,d.jsx)(eV.k,{sx:A,justify:"center",className:(0,Y.cx)("document-content",u?"is-present-mode":"is-doc-mode"),pt:"var(--doc-padding-top)",children:(0,d.jsx)(E.ms,{style:{width:"100%"}})})]})}),g&&(0,d.jsx)(op.kT,{})]})},ow=e=>{let{isMobileDevice:t,isPresentMode:n,...l}=e,a=(0,om.f_)()?{style:{touchAction:"none"},position:"fixed",top:0,left:0}:{};return(0,d.jsx)(eV.k,{"data-doc-background-element":!0,"data-testid":"doc-background",position:"absolute",w:"var(--editor-width)",h:"100%",contentEditable:!1,...l,...a,backgroundAttachment:"fixed",children:!t&&!n&&(0,d.jsx)(op.LN,{})})};var oS=n(7287);let oC=F.NB.create({name:"doc",topNode:!0,content:"document"}),oz=F.NB.create({name:"document",content:"card+",isolating:!0,defining:!0,selectable:!1,addAttributes:()=>({aiOptions:{default:oS.w.aiOptions,...(0,eb.sw)("aiOptions")},docId:{},background:{default:oS.w.background,...(0,eb.sw)("background")},docFlags:{default:oS.w.docFlags,...(0,eb.sw)("docFlags")},format:{},customCode:{default:oS.w.customCode,...(0,eb.sw)("customCode")},settings:{default:oS.w.settings,...(0,eb.sw)("settings")},generateStatus:{default:oS.w.generateStatus},generateInfo:{default:oS.w.generateInfo,...(0,eb.sw)("generateInfo")}}),addNodeView:()=>(0,E.fW)(ox,{update:_.E7,ignoreMutation:e=>{let{mutation:t}=e,n=t.target instanceof HTMLElement?t.target:t.target.parentElement,l="selection"!==t.type&&oA(n);return console.debug("[Document.ignoreMutation] isMutationOutsideDocContent:",l),!!l}}),parseHTML:()=>[{tag:"div[class=gamma-doc]"}],renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,F.P1)(t,{class:"gamma-doc"}),0]}}),oA=e=>{let t=null==e?void 0:e.parentElement;return!!t&&!t.closest(".document-content")};var oI=n(65878),oj=n(12436),oF=n.n(oj),oB=n(34227),oM=n(35503),oE=n(46188),o_=n(26282),oO=n(26824),oP=n(20182);class oT{destroy(){this.handlers.forEach(e=>{let{name:t,handler:n}=e;return this.editorView.dom.removeEventListener(t,n)})}update(e,t){null!=this.cursor&&t.doc!=e.state.doc&&(this.cursor.pos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){var t,n,l,a,o;let i=(null==e?void 0:e.pos)||null;(i!=(null===(t=this.cursor)||void 0===t?void 0:t.pos)||(null==e?void 0:e.type)!=(null===(n=this.cursor)||void 0===n?void 0:n.type)||(null==e?void 0:e.side)!=(null===(l=this.cursor)||void 0===l?void 0:l.side))&&(this.cursor=e,null==e?(null===(o=this.element)||void 0===o||null===(a=o.parentNode)||void 0===a||a.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){var e;let t,n;if(null==this.cursor||!this.editorView)return;let l=this.editorView.state.doc.resolve(this.cursor.pos),a,o="";if("gallery"==this.cursor.type&&(null===(e=this.cursor.node)||void 0===e?void 0:e.type.name)!=="gallery")a=this.cursor.rect,o="Drop to make a gallery";else if("blankRect"==this.cursor.type)a=this.cursor.rect,o="";else if("column"==this.cursor.type||"gallery"==this.cursor.type||"smartLayout"==this.cursor.type){let e=this.cursor.rect;if(!e)return;let t="right"==this.cursor.side||"bottom"==this.cursor.side,n=t?l.nodeAfter:l.nodeBefore,o=n&&((0,oM._5)(n)||(0,o_.E)(n))?0:this.width;if("right"==this.cursor.side||"left"==this.cursor.side){let n=t?e.right+o:e.left-o;a={top:e.top,bottom:e.bottom,left:n-this.width/2,right:n+this.width/2}}else{let n=t?e.bottom+o:e.top-o;a={left:e.left,right:e.right,top:n-this.width/2,bottom:n+this.width/2}}}else if(!l.parent.inlineContent){let e=l.nodeBefore,t=l.nodeAfter;if(e||t){let n=this.editorView.nodeDOM(this.cursor.pos-(e?e.nodeSize:0));if(!n||!(n instanceof Element))return;let l=n.getBoundingClientRect(),o=e?l.bottom:l.top;e&&t&&(o=(o+this.editorView.nodeDOM(this.cursor.pos).getBoundingClientRect().top)/2),a={left:l.left,right:l.right,top:o-this.width/2,bottom:o+this.width/2}}}if(!a){let e=this.editorView.coordsAtPos(this.cursor.pos);a={left:e.left-this.width/2,right:e.left+this.width/2,top:e.top,bottom:e.bottom}}let i=this.editorView.dom.offsetParent;if(this.element||(this.element=i.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none; background-color: "+this.color),i&&(i!=document.body||"static"!=getComputedStyle(i).position)){let e=i.getBoundingClientRect();t=e.left-i.scrollLeft,n=e.top-i.scrollTop}else t=-pageXOffset,n=-pageYOffset;this.element.style.left=a.left-t+"px",this.element.style.top=a.top-n+"px",this.element.style.width=a.right-a.left+"px",this.element.style.height=a.bottom-a.top+"px",this.element.dataset.type=this.cursor.type,this.element.innerHTML=o}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){var t,n,l,a,o,i,r,s;if(!this.editorView.editable)return;let d=(0,oB.VR)(this.editorView,e,null===(t=this.editorView.dragging)||void 0===t?void 0:t.slice);if(d){this.setCursor({...d,type:"blankRect"}),this.scheduleRemoval(5e3);return}let u=(0,oO.fC)(this.editorView,e,null===(n=this.editorView.dragging)||void 0===n?void 0:n.slice);if(u){this.setCursor({...u,type:"blankRect"}),this.scheduleRemoval(5e3);return}let c=(0,oE.yT)(this.editorView,e,null===(l=this.editorView.dragging)||void 0===l?void 0:l.slice,!this.editorView.dragging);if(c){this.setCursor({...c,type:"gallery"}),this.scheduleRemoval(5e3);return}let m=(0,oM.BF)(this.editorView,e,null===(a=this.editorView.dragging)||void 0===a?void 0:a.slice,!this.editorView.dragging);if(m){this.setCursor({...m,type:"column"}),this.scheduleRemoval(5e3);return}let f=(0,oB.pY)(this.editorView,e,null===(o=this.editorView.dragging)||void 0===o?void 0:o.slice);if(f){this.setCursor({...f,type:"blankRect"}),this.scheduleRemoval(5e3);return}let p=(0,oO.cQ)(this.editorView,e,null===(i=this.editorView.dragging)||void 0===i?void 0:i.slice);if(p){this.setCursor({...p,type:"smartLayout"}),this.scheduleRemoval(5e3);return}let g=(0,es.jz)(this.editorView,e,null===(r=this.editorView.dragging)||void 0===r?void 0:r.slice);if(g){this.setCursor({pos:g.pos,type:"default"}),this.scheduleRemoval(5e3);return}let h=(0,oP.Z)(this.editorView,e,null===(s=this.editorView.dragging)||void 0===s?void 0:s.slice);null===h?this.setCursor(null):(this.setCursor({pos:h,type:"default"}),this.scheduleRemoval(5e3))}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){e.target!=this.editorView.dom&&this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}constructor(e,t){this.cursor=null,this.element=null,this.timeout=null,this.editorView=e,this.width=t.width||1,this.color=t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map(t=>{let n=e=>this[t](e);return e.dom.addEventListener(t,n),{name:t,handler:n}}),this.dragover=oF()(this.dragover,100,{trailing:!1}).bind(this)}}let oR=F.hj.create({name:"dropCursor",addOptions:()=>({color:"currentColor",width:1,class:null}),addProseMirrorPlugins(){return[function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new ef.Sy({key:new ef.H$("dropCursor"),view:t=>new oT(t,e)})}(this.options)]}}).configure({color:"var(--chakra-ring-color)",width:3,class:"ProseMirror-dropcursor"});var oN=n(35483),oL=n(10668);let oD=e=>{let{svg:t,isDark:n,font:l}=e,a=(0,f.useMemo)(()=>(0,oL.c)(n),[n]),o=(0,f.useMemo)(()=>(0,oL.m)(l),[l]);return t?(0,d.jsx)(O.xu,{dangerouslySetInnerHTML:{__html:t},"data-testid":"drawing-svg",sx:{svg:{width:"100%",height:"auto",text:o,...a}}}):null};var oW=n(62685),oU=n(16656);let oH=["tl-centered-g"],oG=async e=>{let t=await e.getSvg(e.shapes.map(e=>e.id),{padding:1});if(t)return oH.forEach(e=>{var n;null===(n=t.querySelector(".".concat(e)))||void 0===n||n.classList.remove(e)}),t.querySelectorAll(":not(mask)[id]").forEach(e=>e.removeAttribute("id")),t},oq=e=>{let{isOpen:t,isEditable:n,onClose:l,font:a,isDark:o,isDrawingEditorActive:i,setDrawingEditorActive:r,...s}=e,{node:u,updateAttributes:c}=s,{page:m,assets:p}=u.attrs,[g,h]=(0,f.useState)();(0,f.useEffect)(()=>{(0,aH.Us)(g,m,p)},[m,p,g,c]);let b=(0,f.useCallback)(e=>{h(e),window.tldrawEditor=e,(0,aH.ZF)(e,!0)},[]),v=(0,f.useCallback)(async()=>{if(!g)return;let e=await oG(g);if(!e)return;c({svg:e.outerHTML});let t=JSON.stringify({page:g.document.pages.page,assets:g.document.assets});console.debug("[DrawingEditor] Generated SVG",{svgSize:e.outerHTML.length,jsonSize:t.length,svgEl:e})},[g,c]),k=(0,f.useCallback)(()=>{g&&c({page:g.document.pages.page,assets:g.document.assets})},[c,g]),x=(0,A.Kt)(k,500),w=(0,f.useCallback)(()=>{n&&v(),r(!1),l()},[l,v,r,n]);return(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)(y.dy,{placement:"bottom",onClose:w,isOpen:t,trapFocus:!0,isFullHeight:!0,returnFocusOnClose:!1,children:[(0,d.jsx)(y.P1,{}),(0,d.jsxs)(y.sc,{borderTopRadius:"xl",h:"calc(var(--100vh) - 24px)",onAnimationComplete:e=>{"enter"==e&&r(!0)},transition:{enter:{duration:.4}},children:[(0,d.jsx)(y.Ng,{p:0,h:"100%",overflow:"hidden","data-testid":"drawing-editor-body",children:i?(0,d.jsx)(oU.rJ,{readOnly:!n,showPages:!1,onMount:b,onChangePage:n?x:void 0,autofocus:!1,isDark:o,font:a}):(0,d.jsx)(eV.k,{align:"center",justify:"center",w:"100%",h:"100%",children:(0,d.jsx)(an.$,{size:"xl"})})}),(0,d.jsx)(y.cC,{zIndex:2,backgroundColor:"white","data-testid":"drawing-editor-close"})]})]})})},oV=(0,lz.E)(O.xu),oK=e=>{let{node:t,updateAttributes:n,selected:l,editor:a,getPos:o,decorations:i}=e,{width:r,meta:s,id:u,horizontalAlign:c,svg:m,page:p}=t.attrs,g=(0,b.CG)(e0.Pw),h=(0,b.CG)(e0.wc),y=(0,eQ.LM)(a),v=g&&y&&h,x=(0,b.CG)(e0.Av),w=!!x&&x===u,[S,C]=(0,f.useState)(!1),z=(0,b.CG)(e0.Pu),{isDark:A}=(0,oW.Jh)(z),I=(0,aG.l)(z)["--body-font"],{ref:j,setIsResizing:F,resizeableSx:B,onLayoutAnimationStart:M,onLayoutAnimationComplete:E}=(0,l4.ow)(a),_=(0,f.useCallback)(()=>{(0,aH.Sc)(u,!0)},[u]),T=(0,f.useCallback)(()=>{a.chain().setNodeSelection(o()).focus().run()},[a,o]),R=(0,f.useCallback)(()=>{(0,aH.Sc)(null,!1)},[]),N=(0,f.useCallback)((e,l)=>{n({...t.attrs,fullWidthBlock:void 0===l?t.attrs.fullWidthBlock:l,...e})},[t.attrs,n]),L=r||(null==s?void 0:s.width),D=!m,W=p&&Object.keys(p.shapes).length>0,{isFullWidth:U}=(0,aU.w)(i),H=(0,lQ.nN)(U?"center":c);return(0,d.jsx)(P.lO,{...e,as:"div",children:(0,d.jsxs)(eV.k,{w:"100%",className:l0.d,css:H,sx:B,direction:"column",_focusWithin:{shadow:"outline"},children:[(0,d.jsxs)(oV,{ref:j,className:"drawing",borderRadius:"var(--box-border-radius)","data-content-reference":!0,"data-selection-ring":!0,"data-selection-background":!0,w:U?"100%":L?"calc(".concat(L," * var(--font-size) / 16)"):"100%",maxW:"100%",h:"auto",position:"relative",layout:!0,layoutDependency:c,transition:{duration:.15},onLayoutAnimationStart:M,onLayoutAnimationComplete:E,minH:D?"6em":"auto","data-drag-handle":!0,children:[v&&l&&!U&&(0,d.jsx)(l4.R4,{imageWrapperRef:j,setIsResizing:F,updateResizeAttrs:N,refreshDeps:[t.attrs]}),!S&&(0,d.jsx)(oD,{font:I,svg:m,isDark:A}),v&&!w&&!D&&(0,d.jsx)(O.xu,{cursor:"default",position:"absolute",inset:"0",zIndex:"1",onClick:T,onDoubleClick:_}),D&&(0,d.jsxs)(nT.g,{spacing:3,justify:"center",contentEditable:!1,color:"gray.400",h:32,backgroundColor:"blackAlpha.50",borderRadius:"var(--box-border-radius)","data-testid":"drawing-placeholder",children:[(0,d.jsx)(k.G,{size:"2x",icon:tg.Kak}),g&&(0,d.jsx)(n7.z,{size:"xs",onClick:_,children:W?"Open diagram":"Add diagram"})]})]}),w&&(0,d.jsx)(oq,{...e,isOpen:w,isEditable:g,onClose:R,isDark:A,font:I,isDrawingEditorActive:S,setDrawingEditorActive:C})]})})},oY=new ef.H$("UniqueMediaId"),o$=eg.I.extend({name:"UniqueDrawingId"}).configure({attributeName:"id",types:["drawing"],initialValue:aH.RA,filterTransaction:e=>{let t=e.getMeta(nC.Gt);return(null==t?void 0:t.isChangeOrigin)!==!0},pluginKey:oY}),oJ=F.NB.create({name:"drawing",group:"block",atom:!0,selectable:!0,draggable:!0,addAttributes:()=>({id:(0,n8.b)(aH.RA),page:{...(0,eb.sw)("page")},assets:{...(0,eb.sw)("assets"),default:{}},meta:{...(0,eb.sw)("meta"),default:{}},fullWidthBlock:{default:!1},width:{},svg:{}}),parseHTML(){return[{tag:"div[class=drawing]"},{tag:"tldraw",getAttrs:e=>{try{let t=new oN.J2,n=JSON.parse(e.innerHTML);t.insertContent(n,{select:!1});let l={page:t.document.pages[t.currentPageId],assets:t.assets};return l}catch(t){return console.error("(caught) Error parsing Tldraw paste",t,e.innerHTML),!1}}},{tag:"drawing[bookmark]",getAttrs:(0,eG.xF)(this.storage)}]},addStorage:eG.gk,renderHTMLforAI(e){let{node:t}=e;return["drawing",{bookmark:(0,eG.ml)(this.storage,t)}]},renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,F.P1)(t,{class:"drawing"})]},addCommands(){this.name;let e=e=>{let{selection:t}=e;return t instanceof ef.qv&&("drawing"===t.node.type.name||"diagram"===t.node.type.name)?t.node:void 0};return{editSelectedDrawingBlock:()=>t=>{let{state:n}=t,l=e(n);if(l){let e=(0,b.bh)();e.dispatch((0,e0.h)({drawingId:l.attrs.id}))}return!0}}},addExtensions:()=>[o$],addNodeView:()=>(0,E.fW)(oK,{update:_.E7})}),oX=F.hj.create({name:"dynamicNodes",extendNodeSchema(e){var t;return{dynamic:null!==(t=(0,F.nU)((0,F.Nl)(e,"dynamic",e)))&&void 0!==t&&t}}}),oZ=F.hj.create({name:"fixRequiredAttrs",onBeforeCreate(){Object.values(this.editor.schema.nodes).forEach(e=>{Object.values(e.attrs||{}).forEach(e=>{void 0===e.default&&(e.hasDefault=!1)})})}});var oQ=n(79786),o0=n(22596),o1=n(33169),o2=n(96693),o4=n(3440),o5=n.n(o4);let o3=e=>{"footnote"!==e.$anchor.doc.type.name&&!e.empty&&!(0,o2.AW)(e)&&(0,F.xh)(e)&&(0,o2.RV)()&&(0,o2.t0)(null,!1)},o9=(e,t,n,l)=>{if(!e.some(e=>e.docChanged))return;let{doc:a}=n,o=[],i=[];a.nodesBetween(0,n.doc.content.size,(e,t,n)=>{"footnote"===e.type.name&&o.push({from:t,to:t+e.nodeSize,node:e,parent:n}),e.marks.forEach(l=>{"footnoteLabel"===l.type.name&&i.push({from:t,to:t+e.nodeSize,mark:l,parent:n})})});let r=i.filter(e=>{let{mark:t,parent:n}=e;return!o.find(e=>{let{node:l,parent:a}=e;return l.attrs.noteId===t.attrs.noteId&&a===n})});r.forEach(e=>{let{from:t,to:n,mark:a}=e;return l.removeMark(t,n,a)});let s=e=>(0,F.TP)("footnoteLabel",n.schema).create({noteId:e});i.filter(e=>{let{mark:t}=e;return!t.attrs.noteId}).forEach(e=>{let{mark:t,from:n,to:a}=e,r=o.find(e=>{let{node:t,from:n}=e,l=n>=a,o=!i.find(e=>{let{mark:n}=e;return n.attrs.noteId==t.attrs.noteId});return l&&o});r&&l.removeMark(n,a,t).addMark(n,a,s(r.node.attrs.noteId))});let d=o5()(o,e=>{let{node:t}=e;return t.attrs.noteId});Object.entries(d).forEach(e=>{let[t,n]=e;if(1==n.length||!t)return;let a=i.filter(e=>{let{mark:n}=e;return n.attrs.noteId===t});n.slice(1).forEach((e,t)=>{let{from:n}=e,o=(0,o2.H)();l.setNodeMarkup(n,void 0,{noteId:o});let i=a[t+1];i&&(l.removeMark(i.from,i.to,i.mark),l.addMark(i.from,i.to,s(o)))})})},o8=new ef.Sy({key:new ef.H$("footnote"),appendTransaction:(e,t,n)=>{let{selection:l}=n;l.eq(t.selection)||o3(l);let a=n.tr;return((0,nz.W)(e,t,n,a),o9(e,t,n,a),a.docChanged)?(console.debug("[FootnotePlugin] Applied steps",a.steps),a):null}});var o7=n(43679),o6=n(34071),ie=n(332),it=n(39429),il=n(46164),ia=n(48394),io=n(10625),ii=n(67046),ir=n(99058),is=n(25481),id=n(42703),iu=n(54691),ic=n(28918),im=n(31490),ip=n(7144),ig=n(68601);let ih=new ef.H$("autocomplete"),ib=e=>new ef.Sy({key:ih,state:{init:()=>({loading:!1,insertedRange:null}),apply(e,t){let n=e.getMeta("autocompleteEvent");return(null==n?void 0:n.type)==="reset"?{loading:!1,insertedRange:null}:(null==n?void 0:n.type)==="load"?{loading:!0,insertedRange:null}:(null==n?void 0:n.type)==="insert"?{loading:!1,insertedRange:n.range}:t}},props:{decorations(e){let t=[],n=ih.getState(e),{selection:l,doc:a}=e,{loading:o,insertedRange:i}=n||{};if(o){let e=tQ.p.widget(l.from,()=>{let e=document.createElement("span");return e.className="autocomplete-loading",e});t.push(e)}if(i){let e;try{e=(0,F.b5)(a,i,e=>e.isTextblock)}catch(t){e=[]}e.forEach(e=>{let{node:n,pos:l}=e,a=Math.max(l+1,i.from),o=Math.min(l+n.nodeSize-1,i.to),r=tQ.p.inline(a,o,{class:"autocomplete-inserted"});t.push(r)})}return t.length?tQ.EH.create(a,t):tQ.EH.empty}}});var iy=n(19431),iv=n(89918);class ik extends iv.j{getSystemChatMessage(e){return{role:iy.XaP.System,content:ix(this.systemPrompt,e)}}getUserChatMessage(e){return{role:iy.XaP.User,content:ix(this.userPrompt,e)}}constructor({variables:e,systemPrompt:t,userPrompt:n,params:l}){super({params:l}),this.variables=e,this.systemPrompt=t,this.userPrompt=n}}function ix(e,t){let n=e;for(let e in t)n=n.replaceAll("{{".concat(e,"}}"),t[e]);return n}let iw=new ik({systemPrompt:"You are helping a user write a document. Your job is to continue what they've written by writing 2-3 additional sentences. Respond with the just the additional text, and no additional conversation.".trim(),userPrompt:"Continue the following text. Respond with at most 3 sentences.\n\n{{text}}".trim(),variables:["text"],params:{maxTokens:200,temperature:1,model:"gpt-3.5-turbo"}}),iS=/(\+\+\+)/;F.hj.create({name:"autocomplete",addProseMirrorPlugins(){return[ib(this.editor)]},addCommands:()=>({autoOutline:()=>e=>{let{editor:t,state:n,tr:l}=e,{selection:a,doc:o}=n,{$from:i,from:r}=a,s=(0,t0.jS)(n,i.after()),d=(0,F.Kk)(ej.KH)(a);return!!d&&!!s&&((0,aC.Ck)(o,d.pos,r),l.setMeta("autocompleteEvent",{type:"load"}),!0)},autoComplete:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t=>{var n;let{editor:l,state:a,tr:o}=t,{selection:i,doc:r}=a,{from:s}=i,d=(0,t0.jS)(a,s),u=x.VH.get("aiAutocomplete")&&i.empty&&i instanceof ef.Bs&&d;if(!u)return!1;let c=(0,b.bh)().getState(),m=null===(n=(0,e0.yx)(c))||void 0===n?void 0:n.organization,f=(0,ig.C)("autocomplete",m);if(!f)return!1;let p=(0,aC.Ck)(r,Math.max(i.from-1e3,0),i.from),g=(0,ic.xk)(p).slice(-200),h=(0,ic.Zs)(g),y=r.textBetween(i.from-10,i.to);o.setMeta("autocompleteEvent",{type:"load"});let v=(0,im.nZ)(),k=iw.prepare({interactionId:v,variables:{text:h},params:e}),w=performance.now(),S={interactionId:v,interface:"autocomplete",inputContent:p};return(0,im.hq)(S),(0,iu.I)(k,v,{timeout:5e3,retries:1}).then(e=>{var t;let n=(0,t0.XV)(a,d);if(!e||!n)throw Error("No completion or insertPos");e=e.trim();let o={from:n,to:n},i=l.chain().insertMarkdownAt(o,e).command(e=>{let{tr:t}=e,n=(0,ev.a)(t);return!n||(o.to=n.to,t.setSelection(n).scrollIntoView(),!0)}).setMeta("autocompleteEvent",{range:o,type:"insert"}),r=a.doc.resolve(n);(null===(t=r.nodeBefore)||void 0===t?void 0:t.isText)&&!(y.endsWith(" ")||y.endsWith("\n"))&&i.insertContentAt(n," ",{updateSelection:!1}),i.run(),(0,im.gb)({...S,outputContent:e,latency:performance.now()-w,timeToComplete:performance.now()-w}),(0,ip.d)("autocomplete",m,v),setTimeout(()=>{l.commands.setMeta("autocompleteEvent",{type:"reset"})},4e3)}).catch(e=>{console.warn("Error fetching autocomplete",e),l.commands.setMeta("autocompleteEvent",{type:"reset"})}),!0}}}),addInputRules:()=>[new F.VK({find:iS,handler:e=>{let{range:t,chain:n}=e;n().setTextSelection(t).deleteSelection().autoComplete().run()}})]});let iC="transparent",iz=(0,oe.F4)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),iA=(0,oe.F4)({"0%":{opacity:.5,color:"var(--chakra-colors-trueblue-500)"},"100%":{opacity:1,color:"inherit"}}),iI={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:"2px",borderBottomColor:iC,borderLeftColor:iC,animation:"".concat(iz," ").concat("0.45s"," linear infinite"),width:"var(--spinner-size)",height:"var(--spinner-size)","--spinner-size":"1em",marginLeft:"0.25em",color:"var(--chakra-colors-trueblue-500)"},ij={".autocomplete-loading":iI,".autocomplete-inserted":{animation:"".concat(iA," ").concat(4e3,"ms ease-out")}},iF="%23553bff",iB={backgroundRepeat:"no-repeat",backgroundSize:"11px",backgroundPosition:"8px center",fontSize:"13px",fontWeight:"bold",color:"var(--chakra-colors-trueblue-400)",position:"absolute",zIndex:1,top:"0px",left:"0px",backgroundColor:"var(--chakra-colors-trueblue-100)",padding:"4px 12px",paddingLeft:"24px",borderRadius:"0 0 4px 4px",pointerEvents:"none"},iM={".block-card":{transitionProperty:"opacity",transitionDuration:"normal"},".ai-generate-streaming-card":{"&.node-card":{pointerEvents:(0,om.s2)()?void 0:"none !important"},"&.node-card > [data-node-view-wrapper] > .card-wrapper > .card-body":{_before:{content:"''",position:"absolute",inset:"0px",zIndex:1,boxShadow:"0px 0px 0px 5px var(--chakra-colors-trueblue-100)",borderRadius:"inherit",pointerEvents:"none"}},".streaming-cursor__label":{_after:{...iB,backgroundImage:'/**/url(\'data:image/svg+xml;charset=utf-8,\')'),content:"var(--ai-generating-label)"}}},"&.sal-active":{".block-card:not(.sal-active-card, .sal-active-card-parent)":{opacity:.5},".sal-active-card > [data-node-view-wrapper] > .card-wrapper > .card-body":{_before:{content:"''",position:"absolute",inset:"0px",zIndex:1,boxShadow:"0px 0px 0px 5px var(--chakra-colors-trueblue-100)",borderRadius:"inherit",pointerEvents:"none"},_after:{...iB,backgroundImage:'/**/url(\'data:image/svg+xml;charset=utf-8,\')'),content:"var(--ai-editing-label)",left:"50%",transform:"translate(-50%,0px)"}},".sal-active-card-parent":{".block:not(.sal-active-card)":{opacity:.5},".sal-active-card":{".block":{opacity:1}}},".sal-selection-text":{backgroundColor:"rgba(100, 100, 100, 0.25)",...en.FC}}},iE=".125em",i_="scale(1.05)",iO={transitionDuration:"slow",transitionTimingFunction:"ease-out"},iP=".comments-wrapper, .block-comments-circle",iT="> :is(".concat(iP,")"),iR="> :not(".concat(iP,"), [data-spotlight-parent] > *"),iN=e=>({"&.react-renderer > [data-node-view-wrapper]":{[iR]:{transitionProperty:"filter, transform",...iO,filter:"opacity(".concat(.2,") blur(").concat(e?iE:"0",")")},[iT]:{transitionProperty:"opacity",...iO,filter:"opacity(".concat(.2,") blur(").concat(e?iE:"0",")"),"&[data-is-popup-open=true]":{filter:"none"},_hover:{filter:"none"}}},"&:not(.react-renderer)":{transitionProperty:"filter, transform",...iO,filter:"opacity(".concat(.2,") blur(").concat(e?iE:"0",")")}}),iL={"[data-spotlight-dim]":{opacity:.2},".spotlightable":iN(!1),".spotlightable.after-spotlight":iN(!0),".spotlightable.spotlight-block, .spotlight-block .spotlightable":{"&.react-renderer > [data-node-view-wrapper]":{[iR]:{filter:"none",transform:"".concat(i_," !important")},[iT]:{filter:"none"}},"&:not(.react-renderer)":{filter:"none",transform:"".concat(i_," !important")}}},iD={".ProseMirror":{"&.spotlight-active":iL,...iM,".block-card":{transitionProperty:"opacity",transitionDuration:"normal"},"&.card-notes-active":{".block-card:not(.card-notes-active-parent-card)":{opacity:.5},".card-notes-active-parent-card .block-card":{opacity:"revert"},".card-notes-active-parent-card > [data-node-view-wrapper] > .card-wrapper > .card-body":{_before:{content:"''",position:"absolute",inset:"0px",zIndex:1,boxShadow:"0px 0px 0px 5px var(--chakra-colors-trueblue-100)",borderRadius:"inherit",pointerEvents:"none"}}},'&[contenteditable="true"]':{"&:focus-within":{".ProseMirror-gapcursor":{display:"block",height:"1.5em",position:"relative","&:after":{width:"0px",height:"100%",borderTop:"0px",borderLeft:"1px solid black"}},".grid-cell":{".ProseMirror-gapcursor:first-child":{marginTop:"1em"},".ProseMirror-gapcursor:last-child":{marginBottom:"1em"}},".block-table td":{".ProseMirror-gapcursor:first-child":{marginTop:".75em"},".ProseMirror-gapcursor:last-child":{marginBottom:".75em"}},".is-dark":{".ProseMirror-gapcursor:after":{borderLeftColor:"white"}}}},".collaboration-cursor__caret":{position:"relative",marginLeft:"-1px",marginRight:"-1px",borderLeft:"1px solid #0d0d0d",borderRight:"1px solid #0d0d0d",wordBreak:"normal",pointerEvents:"none",textIndent:0},".collaboration-cursor__label":{position:"absolute",top:"-1.4em",left:"-1px",fontSize:"12px",fontStyle:"normal",fontFamily:"'Inter', sans-serif",fontWeight:"600",lineHeight:"normal",letterSpacing:"normal",textTransform:"none",userSelect:"none",color:"#0d0d0d",padding:"0.1rem 0.3rem",borderRadius:"3px 3px 3px 0",whiteSpace:"nowrap",zIndex:1,pointerEvents:"auto",spellCheck:"false",_hover:{opacity:.1}},'&[contenteditable="false"]':{".ProseMirror-gapcursor":{display:"none"},".collaboration-cursor__caret:not(.streaming-cursor)":{display:"none"}},...ij,".card-present-mode":{"&--doc":{transform:"translateY(0)",position:"relative",zIndex:1},"&--presentCollapsed":{transform:"translateY(0)",position:"relative",zIndex:1},"&--presentPrev":{transform:"translateY(-100%)",position:"fixed",zIndex:2},"&--presentCurrent":{transform:"translateY(0)",position:"fixed",zIndex:3},"&--presentNext":{transform:"translateY(100%)",position:"fixed",zIndex:2},"&--presentParent":{transform:"translateY(0)",position:"fixed",zIndex:2}},".document-content.is-doc-mode":{".card-wrapper":{"&:hover":{".card-divider":{opacity:1},".manage-card-controls":{opacity:1}}}},".document-content":{".card-wrapper":{"&:hover":{".card-footer-reactions":{opacity:1},".card-collapsed":{".card-footer-reactions":{display:"none"}}}}}},".is-selecting-node, .sal-selection-node, .sal-selection-card":{"[data-selection-ring]":{_before:{content:'""',position:"absolute",inset:0,borderRadius:"inherit",outline:"2px solid",outlineColor:"trueblue.300",pointerEvents:"none",zIndex:1}},'[data-selection-ring="inside"]':{_before:{zIndex:10,outlineOffset:"-2px"}},'[data-selection-ring="padded"]':{_before:{outlineOffset:"0.25em"}},".react-renderer [data-selection-ring]":{_before:{content:"none"}}},".is-selecting-around":{"[data-selection-background]":{_after:{content:'""',position:"absolute",inset:0,backgroundColor:"var(--chakra-ring-color)",borderRadius:"inherit",opacity:.75}},".react-renderer:not(.is-selecting-around) [data-selection-ring]":{_after:{content:"none"}}},".ProseMirror-dropcursor":{transitionProperty:"inset",transitionDuration:"fast",borderRadius:"md",position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",color:"white",outline:"1px solid",outlineColor:"whiteAlpha.800",pointerEvents:"none",backdropFilter:"blur(4px)","&::after":{backgroundColor:"gray.700",color:"whiteAlpha.900",px:"8px",py:"2px",borderRadius:"sm",fontWeight:"medium",shadow:"md",fontSize:"sm",w:"max-content",pointerEvents:"none",display:"none"},'&[data-type="column"]::after':{content:'"Drop to add column"',position:"absolute",top:"-2em",display:"block"}}};var iW=n(54117),iU=n(91579),iH=n(76643);let iG=(e,t,n)=>{let l=(0,b.CG)(e0.II);(0,iH.O)({ref:n,enabled:!!(n&&l===t),handler(e){var t,n;(null===(t=e.target)||void 0===t?void 0:t.closest("[data-footnote-view]"))||(null===(n=e.target)||void 0===n?void 0:n.closest("[data-footnote-label]"))||a(!1)}});let a=(0,f.useCallback)(n=>{var a,o;let i=e.state.selection,r=(0,F.xh)(i)&&!i.empty,s=(null===(a=document.activeElement)||void 0===a?void 0:a.closest(".footnote-popover"))||!!(null===(o=document.activeElement)||void 0===o?void 0:o.closest("[data-in-editor-focus]")),d=void 0!==n?n:l!==t;s||(d&&!r?(0,o2.NX)(t,!0):!1===d&&(0,o2.NX)(t,!1))},[e.state.selection,l,t]);return{onClick:a}},iq=e=>{let{node:t,editor:n,innerEditor:l,selected:a}=e,{noteId:o}=t.attrs,i=(0,f.useRef)(null),r=(0,b.CG)(e0.II),s=(0,b.CG)(e0.Pw),u=(0,nG.C7)(),{onClick:c}=iG(n,o,i);(0,f.useEffect)(()=>{l&&l.setEditable(s)},[s,l]);let m=!!r&&r===o,p=(0,f.useCallback)(()=>(0,o2.t0)(o,!1),[o]);(0,f.useEffect)(()=>{if(!l)return;let e=()=>{setTimeout(()=>{(0,eb.KB)(l)||p()},20)};return l.on("blur",e),()=>{l.off("blur",e)}},[l,p]);let g=!(0,ez.$v)(n),h=(0,f.useCallback)(()=>{g&&c()},[g,c]);return(0,d.jsx)(E.T5,{as:"span","data-testid":"footnote-nodeview-wrapper",children:(0,d.jsxs)(o7.J,{isOpen:m,onClose:p,placement:"top",gutter:8,isLazy:!0,lazyBehavior:"unmount",autoFocus:!1,closeOnBlur:!1,closeOnEsc:!1,returnFocusOnClose:!1,children:[(0,d.jsx)(o6.x,{children:(0,d.jsx)(K.x,{as:"span",onClick:h,_after:{content:"counter(footnote)",counterIncrement:"footnote",position:"relative",bottom:"0.6em",fontSize:"0.8em",shadow:a&&g?"outline":void 0,borderRadius:"sm"},pl:"1px",className:"footnote",contentEditable:!1,"data-footnote-view":!0,cursor:g?"pointer":void 0})}),g&&(0,d.jsx)(ie.h,{children:(0,d.jsxs)(it.y,{zIndex:"popover",shadow:"md",borderRadius:"md",border:"1px solid",borderColor:"gray.200",w:"500px",maxW:"100vw","data-footnote-popover-test-id":o,p:0,ref:i,children:[(0,d.jsx)(il.Q,{}),(0,d.jsx)(ia.b,{position:"relative",zIndex:"1",p:0,className:"footnote-popover","data-footnote-popover-id":o,children:u?(0,d.jsx)(iY,{...e,onClose:p}):(0,d.jsx)(iK,{...e,editable:s,onClose:p})}),(0,d.jsx)(O.xu,{position:"absolute",top:"-".concat(8,"px"),bottom:"-".concat(8,"px"),left:0,right:0,zIndex:"0"})]})})]})})},iV=eY()({},iD,{".ProseMirror":{px:8,py:4,overflow:"hidden auto",maxH:"300px",maxW:"100%",borderRadius:"md"}}),iK=e=>{let{editor:t,innerEditor:n,mountEditor:l,destroyEditor:a,node:o,editable:i,getPos:r,onClose:s}=e,{noteId:u}=o.attrs,c=(0,f.useCallback)(()=>t.commands.convertNoteToCard(u),[t,u]),m=(0,f.useCallback)(()=>{t.chain().focus().setNodeSelection(r()).deleteSelection().run()},[t,r]);(0,f.useEffect)(()=>{if(l&&a)return l(),()=>{a()}},[l,a]);let p=(0,b.CG)(e0.Pu),g=(0,aG.l)(p,"#FFFFFF");if(!n)return null;let h=(0,F.N2)(t.state.doc,e=>e.marks.some(e=>"footnoteLabel"===e.type.name&&e.attrs.noteId===u)).length>0;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(O.xu,{className:eA.pL,sx:iV,position:"relative",_focusWithin:{shadow:i?"outline":void 0},borderRadius:"md",css:g,children:[(0,d.jsx)(iU.k,{editor:n,className:"highlight-mask"}),(0,d.jsx)(I.Y,{editor:n}),(0,d.jsxs)(tO.h,{size:"sm",colorScheme:"gray",variant:"ghost",position:"absolute",right:4,top:2,onMouseDown:tx.br,spacing:0,children:[i&&(0,d.jsxs)(io.v,{autoSelect:!1,isLazy:!0,children:[(0,d.jsx)(ii.j,{as:tP.h,icon:(0,d.jsx)(k.G,{icon:tg.S6C}),minW:6,h:6,isRound:!0,backgroundColor:"white"}),(0,d.jsx)(ie.h,{children:(0,d.jsxs)(ir.q,{"data-in-editor-focus":!0,zIndex:"dropdown",children:[h&&(0,d.jsx)(is.s,{icon:(0,d.jsxs)("span",{className:"fa-layers fa-fw",children:[(0,d.jsx)(k.G,{icon:tt.lCX,fixedWidth:!0}),(0,d.jsx)(k.G,{icon:tt.eFW,inverse:!0,transform:"shrink-8"})]}),onClick:c,children:(0,d.jsx)(w.cC,{id:"p/s15o"})}),(0,d.jsx)(is.s,{icon:(0,d.jsx)(k.G,{icon:tg.XAH,fixedWidth:!0}),color:"red.500",onClick:m,children:(0,d.jsx)(w.cC,{id:"sHHbXH"})})]})})]}),(0,d.jsx)(tP.h,{"aria-label":tn.ag._({id:"j+JKcM"}),icon:(0,d.jsx)(k.G,{icon:tg.NBC}),minW:6,h:6,isRound:!0,onClick:s,backgroundColor:"white"})]})]}),(0,d.jsx)(iW.u,{editor:n})]})},iY=e=>{let{mountEditor:t,destroyEditor:n,onClose:l}=e,a=(0,f.useMemo)(()=>{if(t)return t()},[t]);(0,f.useEffect)(()=>{if(n)return()=>n()},[n]);let o=(0,b.CG)(e0.Pu),i=(0,aG.l)(o,"#FFFFFF");return a?(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)(O.xu,{className:eA.pL,sx:iV,position:"relative",borderRadius:"md",css:i,children:[(0,d.jsx)(id.f,{editor:a}),(0,d.jsx)(tO.h,{size:"sm",colorScheme:"gray",variant:"ghost",position:"absolute",right:4,top:2,onMouseDown:tx.br,spacing:0,children:(0,d.jsx)(tP.h,{"aria-label":tn.ag._({id:"j+JKcM"}),icon:(0,d.jsx)(k.G,{icon:tg.NBC}),minW:6,h:6,isRound:!0,onClick:l,backgroundColor:"white"})})]})}):null};var i$=n(96374);let iJ=F.vc.create({name:"footnoteLabel",inclusive:!1,excludes:"link underline",priority:eH.a.FootnoteLabel,parseHTML(){return[{tag:"span[class=footnote-label][bookmark]",getAttrs:(0,eG.xF)(this.storage)},{tag:"span[class=footnote-label]"}]},renderHTML(e){let{HTMLAttributes:t}=e;return["span",(0,F.P1)(t,{class:"footnote-label"}),0]},renderHTMLforAI(e){let{mark:t}=e;return["span",{class:"footnote-label",bookmark:(0,eG.ml)(this.storage,t)},0]},addStorage:eG.gk,addAttributes:()=>({noteId:{rendered:!1}}),addProseMirrorPlugins(){return[(0,i$.r)(this,iX)]}}),iX=e=>{let{node:t,editor:n,children:l}=e,{noteId:a}=t.attrs,o=(0,nG.C7)(),{onClick:i}=iG(n,a),r=!(0,ez.$v)(n),s=(0,f.useCallback)(()=>{r&&i()},[r,i]);return(0,d.jsx)(E.T5,{as:"span",className:"footnote-label-view",children:(0,d.jsx)(K.x,{as:"span",className:"footnote-label",onClick:s,"data-footnote-label":!0,cursor:r?"pointer":void 0,children:o?l:(0,d.jsx)(E.ms,{as:"span"})})})},iZ=/(?:^|\s)((?:\^)((?:[^^]+))(?:\^))$/,iQ=F.NB.create({name:"footnote",content:"(block | footnoteBlock)+",group:"inline",atom:!0,inline:!0,priority:eH.a.Footnote,parseHTML(){return[{tag:"span[class=footnote]",getContent:(e,t)=>av.HY.fromJSON(t,JSON.parse(e.getAttribute("data-content")||"{}"))},{tag:"div[class=imported-footnote]"},{tag:"footnote[bookmark]",getAttrs:(0,eG.xF)(this.storage),getContent:(0,eG.eV)(this.storage)}]},addStorage:eG.gk,renderHTML(e){let{node:t,HTMLAttributes:n}=e;return["span",(0,F.P1)(n,{class:"footnote","data-content":JSON.stringify(t.content.toJSON())})]},renderHTMLforAI(e){let{node:t}=e;return["footnote",{bookmark:(0,eG.ml)(this.storage,t)}]},addAttributes(){return{noteId:{parseHTML:e=>{let t=(0,eG.xF)(this.storage)(e);return t&&t.noteId?t.nodeId:(0,o2.H)()},default:void 0}}},addNodeView:()=>nb(iq,{nodeName:"footnote",preventNodeOrExtensionTypes:["doc","document","card"]}),addInputRules(){var e;return[(e={find:iZ,nodeType:this.type,markType:this.editor.schema.marks.footnoteLabel},new F.VK({find:e.find,handler:t=>{let{state:n,range:l,match:a}=t,{tr:o}=n,i=a[a.length-1],r=a[0],s=l.to;if(i){let t=r.search(/\S/),a=l.from+r.indexOf(i),d=a+i.length,u=(0,F.tI)(l.from,l.to,n.doc).filter(t=>{let n=t.mark.type.excluded;return n.find(n=>n===e.markType&&n!==t.mark.type)}).filter(e=>e.to>a);if(u.length)return;dl.from&&o.delete(l.from+t,a),s=l.from+t+i.length;let c=(0,o2.H)();(0,o2.t0)(c,!0);let m=e.nodeType.createAndFill({noteId:c},av.HY.empty);o.insert(s,m),o.addMark(l.from+t,s,e.markType.create({noteId:c})),o.removeStoredMark(e.markType)}}}))]},addKeyboardShortcuts:()=>({Enter:e=>{let{editor:t}=e;if(!(0,o2.AW)(t.state.selection))return!1;let n=t.state.selection.node.attrs.noteId;return(0,o2.t0)(n,!0),!0},Escape:()=>{let e=(0,o2.RV)();return!!e&&((0,o2.t0)(e,!1),!0)},"Mod-Alt-f":e=>{let{editor:t}=e;return t.commands.toggleFootnote()}}),addProseMirrorPlugins:()=>[o8],addCommands:()=>({convertNoteToCard:e=>t=>{let{chain:n,state:l}=t,{doc:a}=l,o=(0,F.N2)(a,t=>"footnote"===t.type.name&&t.attrs.noteId===e);if(1!==o.length)throw Error("Found the wrong number of footnotes nodes: ".concat(o));let{node:i,pos:r}=o[0],s=(0,F.IH)(a.resolve(r-1),l.schema.marks.footnoteLabel,{noteId:i.attrs.noteId});if(!s)return console.error("Couldnt find the corresponding footnote mark",{node:i,pos:r}),!1;let d=a.textBetween(s.from,s.to),u={type:"card",attrs:{id:o1.C2.generate()},content:[{type:"heading",attrs:{level:1},content:[{type:"text",text:d}]},...i.content.toJSON()]},c=new URL(window.location.href);c.hash="card-".concat(u.attrs.id),(0,ed.Nn)(u.attrs.id,!1);let m=a.content.size-1;return n().setTextSelection(s).unsetMark("footnoteLabel").setLink({href:c.toString()}).insertContentAt(m,u).command(e=>{let{tr:t}=e,n=(0,ey.t)(t.doc.resolve(m));return n&&t.setSelection(n),!0}).deleteRange({from:r,to:r+i.nodeSize}).focusDelayed().run()},toggleFootnote:()=>e=>{let{chain:t,state:n,editor:l}=e;if(l.isActive("footnoteLabel"))return t().toggleMark("footnoteLabel").focus().run();let a=(0,o2.H)();return(0,o2.t0)(a,!0),(0,o0.N)().push(()=>{var e,t;null===(e=(t=l.commands).forceHideBubbleMenu)||void 0===e||e.call(t,!0),i0(a)},"toggleFootnote"),t().setMark("footnoteLabel",{noteId:a}).insertContentAt(n.selection.to,{type:"footnote",attrs:{noteId:a},content:[{type:"paragraph"}]}).run()}})}),i0=e=>{let t=document.querySelector('[data-footnote-popover-id="'.concat(e,'"] .ProseMirror'));if(!t)return;t.focus();let n=window.getSelection();if(!n)return;let l=document.createRange();l.setStart(t,0),l.setEnd(t,0),n.removeAllRanges(),n.addRange(l)};var i1=n(28041),i2=n(85818),i4=n(9432);let i5=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,i3=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,i9=i4.ZP.extend({addInputRules(){return[(0,F.Cf)({find:i5,type:this.type}),(0,F.Cf)({find:i3,type:this.type})]}});function i8(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=t>0,{parent:l,doc:a}=e,o=e.start(),i=e.after();if(l.type.spec.isolating){let e=a.resolve(n?i-1:o),t=(0,ev.E)(e,n?1:-1);if(n){let e=a.resolve(t.to),n=e.node();if(n&&n.isTextblock&&0===n.content.size)return t.to+1}return n?t.to:t.from}let r=e.start(e.depth-1);return i8(e.doc.resolve(r),t)}var i7=n(16190);let i6=e=>{let t=i8(e,-1);return e.pos===t?eA.k_:t},re=(e,t)=>{let n=i8(t,1);return t.pos===n?e.state.doc.content.size-eA.k_:n},rt=F.hj.create({name:"KeyMapOverride",priority:eH.a.KeyMapOverride,addOptions:()=>({addSelectionKeyMaps:!1}),addKeyboardShortcuts(){let e=()=>this.editor.commands.first(e=>{let{commands:t}=e;return[()=>t.handleCardAccentDelete(),()=>{var e;return null===(e=t.handleSmartLayoutDelete)||void 0===e?void 0:e.call(t,!0,!1)},()=>t.deleteSelectionAndSelectNear(-1),()=>t.deleteSelection(),e=>{let{view:t,state:n,dispatch:l}=e;return(0,i7.Ly)(n,l,t)},()=>t.unwrapQuoteOnDelete(),e=>{let{view:n,state:l,tr:a}=e,o=t.joinBackward();return o&&a.setMeta("annotationEvent",{type:"join-backward",joinPos:l.selection.from,atBeginning:n.endOfTextblock("backward")}),o},()=>t.selectNodeBackward(),()=>t.handleLayoutDelete(!1),()=>t.handleButtonDelete(!0),()=>t.deleteCardIfEmpty(!1),()=>t.mergeCardsOnDelete(!1)]}),t=()=>this.editor.commands.first(e=>{let{commands:t}=e;return[()=>t.handleCardAccentDelete(),()=>{var e;return null===(e=t.handleSmartLayoutDelete)||void 0===e?void 0:e.call(t,!0,!0)},()=>t.deleteSelectionAndSelectNear(),()=>t.deleteSelection(),e=>{let{view:n,state:l,tr:a}=e,o=t.joinForward();return o&&a.setMeta("annotationEvent",{type:"join-forward",joinPos:l.selection.from,atEnd:n.endOfTextblock("forward")}),o},()=>t.selectNodeForward(),()=>t.handleLayoutDelete(!0),()=>t.handleButtonDelete(!0),()=>t.deleteCardIfEmpty(!0),()=>t.mergeCardsOnDelete(!0)]}),n={};return this.options.addSelectionKeyMaps&&(n={"Mod-a":e=>{let{editor:t}=e,{selection:n}=t.state;if(n instanceof ef.qv&&n.node.type.spec.isolating)return t.commands.selectAll();let l=i8(t.state.selection.$from,-1),a=i8(t.state.selection.$to,1);return n.from===l&&n.to===a?t.commands.selectAll():(t.commands.command(e=>{let{tr:t}=e;return t.setSelection(ef.Bs.create(t.doc,l,a)),!0}),!0)},"Mod-ArrowUp":e=>{let{editor:t}=e,n=i6(t.state.selection.$from);if(!n)return!1;let l=t.state.doc.resolve(n);if(eI.Q.valid(l)){let e=new eI.Q(l);return t.view.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}return t.chain().setTextSelection(n).scrollIntoView().run()},"Mod-Shift-ArrowUp":e=>{let{editor:t}=e,n=i6(t.state.selection.$from);return!!n&&t.chain().setTextSelection({from:n,to:t.state.selection.to}).scrollIntoView().run()},"Mod-ArrowDown":e=>{let{editor:t}=e,n=re(t,t.state.selection.$to),l=t.state.doc.resolve(n);if(eI.Q.valid(l)){let e=new eI.Q(l);return t.view.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}return t.chain().setTextSelection(n).scrollIntoView().run()},"Mod-Shift-ArrowDown":e=>{let{editor:t}=e,n=re(t,t.state.selection.$to);return t.chain().setTextSelection({from:t.state.selection.from,to:n}).scrollIntoView().run()},"Shift-Mod-a":e=>{let{editor:t}=e;return t.commands.selectAll()}}),{...n,Enter:()=>this.editor.commands.first(e=>{let{commands:t}=e;return[()=>t.newlineInCode(),()=>t.createParagraphNear(),()=>t.liftEmptyBlock(),e=>{let{view:n,state:l,tr:a}=e;return a.setMeta("annotationEvent",{type:"split-block",splitPos:l.selection.from,atBeginning:n.endOfTextblock("backward")}),t.splitBlock()}]}),Backspace:e,"Mod-Backspace":e,"Shift-Backspace":e,Delete:t,"Mod-Delete":t,Space:()=>this.editor.commands.first(e=>{let{commands:t}=e;return[()=>t.handleSpaceToZoom()]})}}});F.hj.create({name:"UndoInputRuleKeymap",priority:eH.a.UndoInputRuleKeymap,addKeyboardShortcuts:()=>({"Shift-Mod-a":e=>{let{editor:t}=e;return t.commands.selectAll()},"Mod-z":e=>{let{editor:t}=e;return t.commands.undoInputRule()},Backspace:e=>{let{editor:t}=e;return t.commands.undoInputRule()},"Mod-Backspace":e=>{let{editor:t}=e;return t.commands.undoInputRule()}})});let rn=F.hj.create({name:"KeyBoardCatchall",priority:eH.a.KeyBoardCatchall,addKeyboardShortcuts:()=>({Tab:e=>{let{editor:t}=e;return t.view.hasFocus()},"Shift-Tab":e=>{let{editor:t}=e;return t.view.hasFocus()}}),addProseMirrorPlugins:()=>[new ef.Sy({key:new ef.H$("KeyBoardCatchall"),props:{handleKeyDown:(e,t)=>a6.F7.handleKeydown(t)}})]});var rl=n(5596),ra=n(39951),ro=n(80236),ri=n(20929),rr=n(28553),rs=n(99914),rd=n(32273);let ru=e=>{let{node:t,decorations:n,editor:l,getPos:a}=e,{options:o,...i}=t.attrs,r=(0,rs.PX)(n),s=(0,rd.P)(r.smartLayoutAttrs.variantKey),{Cell:u}=s,c=(0,b.CG)(e0.Pu),m=(0,oO.jM)(r.smartLayoutAttrs),{firstChildSize:p}=(0,ee.z)(n),g=r.index===r.numCells-1,h=(0,b.CG)(e0.hN),v=(0,e8.Od)(n),x=(0,f.useCallback)(()=>{let e=a(),t=l.state.doc.nodeAt(a());t&&l.commands.insertSmartLayoutCell(e+t.nodeSize)},[l,a]),S=s.addDirection?s.addDirection(m):"right",C=(0,f.useCallback)(()=>{h&&l.commands.selectNodeAtPos(a())},[l,a,h]),z=i.image,A=(0,f.useCallback)(e=>{l.commands.updateNestedAttributesAtPos(a(),{image:eY()({},z,e,{meta:{has_transparency:!0}})})},[l,a,z]),{bgRemovalInProgress:I}=(0,eX.CI)({editor:l,id:i.id,src:null==z?void 0:z.src,updateAttributes:A});return(0,d.jsx)(ri.l,{...e,children:(0,d.jsx)(O.xu,{display:"contents",position:"relative","data-spotlight-parent":!0,children:(0,d.jsxs)(u,{cellOptions:o,layoutOptions:m,theme:c,...r,...i,...e,firstChildSize:p,isFocused:v,selectCell:C,variant:s,dragHandle:(0,d.jsx)(Q.A,{...e,handlePlacement:"top","data-testid":"smart-layout-cell-drag-handle",label:(0,d.jsx)(eV.k,{direction:"column",align:"center",children:(0,d.jsx)(w.cC,{id:"YkfVHA",components:{0:(0,d.jsx)(K.x,{color:"gray.500"})}})})}),children:[(0,d.jsx)(E.ms,{style:{maxWidth:"100%",wordBreak:"break-word"}}),h&&g&&(0,d.jsx)(eV.k,{position:"absolute",..."bottom"===S?{bottom:-3,right:0,width:"100%",height:6,justify:"center"}:{right:-3,bottom:0,height:"100%",width:6,align:"center"},opacity:"0",transitionProperty:"opacity",transitionDuration:"normal",zIndex:"1",className:"add-button",children:(0,d.jsx)(y.kH,{label:(0,d.jsx)(w.cC,{id:"NQ8llq"}),placement:"top",children:(0,d.jsx)(tP.h,{icon:(0,d.jsx)(k.G,{icon:tg.r8p}),"aria-label":tn.ag._({id:"NQ8llq"}),position:"absolute",size:"xs",variant:"plain",isRound:!0,onClick:x,onMouseDown:tx.br})})}),I&&h&&(0,d.jsx)(rr.HI,{removeBackground:I})]})})})},rc=F.NB.create({name:"smartLayoutCell",content:"(block | smartLayoutBlock)+",isolating:!0,selectable:!1,containerHandle:!0,imageKeyPath:"image",accessoryImageKey:"image",addAttributes:()=>({id:(0,n8.b)(ro.G),options:{default:{},...(0,eb.sw)("options")},width:{default:null},image:{default:null,...(0,eb.sw)("image")},label:{default:null,parseHTML:e=>e.getAttribute("label")||e.getAttribute("number")}}),parseHTML(){return[{tag:"div[class=layout-item]"},{tag:"item"},{tag:"div[image-bookmark]",context:"smartLayout/",getAttrs:e=>{let t=e.getAttribute("image-bookmark");if(!t)return!1;let n=(0,eG.Mw)(this.storage,t);return{...rm(e),image:n}}},{tag:"div",context:"smartLayout/",getAttrs:e=>rm(e)}]},renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,F.P1)(t,{class:"layout-item"}),0]},addStorage:eG.gk,renderHTMLforAI(e){let{node:t}=e,{image:n,options:l,...a}=t.attrs,o={};Object.keys(l).forEach(e=>{o[e]="string"==typeof l[e]?l[e]:JSON.stringify(l[e])});let i={...a,...o};return n?["div",i,["img",{bookmark:(0,eG.ml)(this.storage,n)}],["div",0]]:["div",i,0]},addNodeView:()=>(0,E.fW)(ru,{update:_.E7})}),rm=e=>{let t=e.dataset.image?JSON.parse(e.dataset.image):void 0,n=e.getAttribute("label")||e.getAttribute("number"),l=(0,rd.m)().find(t=>{var n,l;return t.htmlTag===(null===(n=e.parentElement)||void 0===n?void 0:n.tagName.toLowerCase())||t.key===(null===(l=e.parentElement)||void 0===l?void 0:l.tagName.toLowerCase())}),a=(null==l?void 0:l.options.map(e=>e.key))||[],o=a.reduce((t,n)=>{let l=e.getAttribute(n);if(l)try{t[n]=JSON.parse(l)}catch(e){t[n]=l}return t},{});return{image:t,label:n,options:o}};var rf=n(89484),rp=n(71986);let rg=e=>{let{node:t}=e,{verticalAlign:n}=t.attrs;return(0,d.jsxs)(E.T5,{className:"grid-cell",style:{position:"relative",justifyContent:n},"data-selection-ring":!0,children:[(0,d.jsx)(Q.A,{handlePlacement:"top",...e,"data-testid":"column-drag-handle",label:(0,d.jsx)(eV.k,{direction:"column",align:"center",children:(0,d.jsx)(w.cC,{id:"zWdF4l",components:{0:(0,d.jsx)(K.x,{color:"gray.500"})}})})}),(0,d.jsx)(E.ms,{})]})},rh=F.NB.create({name:"gridCell",content:"(block | layoutBlock)+",definingAsContext:!0,isolating:!0,selectable:!1,containerHandle:!0,parseHTML:()=>[{tag:"div[class=column]"},{tag:"div",context:"gridLayout/"}],addAttributes:()=>({verticalAlign:null}),renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,F.P1)(t,{class:"column"}),0]},addNodeView:()=>(0,E.fW)(rg,{update:_.E7})});class rb{constructor(e=null){this.dragging=e}}let ry=new ef.H$("layoutPlugin"),rv=e=>new ef.Sy({key:ry,state:{init:()=>new rb,apply:(e,t)=>t},appendTransaction:(e,t,n)=>{if(!e.some(e=>e.docChanged))return null;let l=e.find(e=>e.selectionSet),a=n.tr;if(n.doc.descendants((e,t)=>{if("gridLayout"===e.type.name&&1==e.childCount){let n=a.mapping.map(t);a.replaceWith(n,a.mapping.map(t+e.nodeSize),e.child(0).content).setMeta("annotationEvent",{type:"unwrap-node",pos:n})}}),!a.docChanged)return null;if(l){let e=l.selection.$from.depth-a.selection.$from.depth,t=(0,ev.E)(a.doc.resolve(l.selection.from-e));t&&a.setSelection(t)}return a},props:{handleDOMEvents:{drop(e){var t;let n=null===(t=e.dragging)||void 0===t?void 0:t.annotations,l=ry.getState(e.state);if(!l)return!1;l.dragging=n}},handleDrop:(t,n,l)=>{let a=ry.getState(t.state),o=null==a?void 0:a.dragging;a&&(a.dragging=null);let i=null;try{if(!(i=(0,oM.BF)(t,n,l,!1)))return!1}catch(e){return!1}try{let{selection:n}=t.state,a=!n.empty,{node:s,pos:d,side:u}=i;if(d>n.from&&d{let{tr:l}=e;return a&&l.deleteSelection(),o&&l.setMeta("annotationEvent",{type:"drop",dragging:o,droppedBlockPos:t+(n?1:0)}),!0}).focusMapped(t,1).run()}else{let n="left"===u?l.size:s.nodeSize;e.chain().insertContentAt({from:d,to:d+s.nodeSize},{type:"gridLayout",content:[{type:"gridCell",content:"left"===u?c:[s.toJSON()]},{type:"gridCell",content:"left"===u?[s.toJSON()]:c}]},{updateSelection:!1}).command(l=>{let{tr:i}=l;if(a&&i.deleteSelection(),o){let l=(0,eS.lM)({side:u,view:t,tr:i,dragging:o,dropPos:d,dropNode:s,leftContentSize:n});requestAnimationFrame(()=>{var t,n;null===(t=(n=e.commands).moveAnnotations)||void 0===t||t.call(n,l)})}return!0}).focusMapped(d,"left"===u?2:s.nodeSize+4).run()}}catch(e){console.error("(caught) [LayoutPlugin] handleDrop error:",e)}return!0}}}),rk=new ef.H$("layoutResizing");class rx{getActiveHandleAbs(e){return this.activeHandle?(0,t0.XV)(e,this.activeHandle):null}reset(){return this.activeHandle=null,this.dragging=null,this}setHandle(e,t){return null===t.setHandle?this.activeHandle=null:this.activeHandle=(0,t0.jS)(e,t.setHandle),this}setDragging(e){return this.dragging=e.setDragging,this}apply(e,t){let n=e.getMeta(rk);return n&&"setHandle"in n?this.setHandle(t,n):n&&"setDragging"in n?this.setDragging(n):n&&"reset"in n?this.reset():this}constructor(e=null,t=null){this.activeHandle=e,this.dragging=t}}let rw=e=>rk.getState(e.state),rS=(e,t)=>{e.dispatch(e.state.tr.setMeta(rk,{setHandle:t}))},rC=(e,t)=>{e.dispatch(e.state.tr.setMeta(rk,{setDragging:t}))},rz=e=>{e.dispatch(e.state.tr.setMeta(rk,{reset:!0}))},rA=(e,t)=>{if(!e.editable||!t.target||t.target.closest(".column-resize-handle"))return;let n=rw(e);if(n.dragging)return;let l=function(e,t){var n;let l=e.posAtCoords({left:t.clientX,top:t.clientY});if(!l||-1===l.inside)return null;let a=e.domAtPos(l.inside);if(!a)return null;let o=a.node.childNodes[a.offset];if(!o)return null;let i=e.state.doc.resolve(l.inside);if((null===(n=i.nodeAfter)||void 0===n?void 0:n.type.name)!=="gridCell")return null;let{left:r,right:s}=o.getBoundingClientRect();if(t.clientX-r<=5){let t=e.state.doc.resolve(i.before(i.depth)),n=rI((0,oM.oc)(t),e=>e.pos===i.pos);return(null==n?void 0:n.pos)||null}return s-t.clientX<=5?i.pos:null}(e,t),a=n.getActiveHandleAbs(e.state);l!==a&&rS(e,l)},rI=(e,t)=>{for(let n=0;n{let n=e.domAtPos(t),l=n.node.childNodes[n.offset];return l.offsetWidth},rF=(e,t)=>{let{node:n,offset:l}=e.domAtPos(t.start()),a=n.childNodes[l];do if(a&&a.classList&&a.classList.contains("node-gridLayout"))break;while(a=a.parentNode);return a};var rB=n(20437);let rM=e=>{let{getPos:t,updateAttributes:n,editor:l,node:a}=e,o=l.state.doc.resolve(t()),i=(0,oM.oc)(o);(0,f.useEffect)(()=>{i.length!==a.attrs.colWidths.length&&setTimeout(()=>{n({colWidths:(0,t3.RS)(i.length)})},0)},[a,i,n])},rE=e=>{let{node:t,editor:n,getPos:l}=e,a=t.content.childCount,o=(0,b.CG)(e0.Pw),i=(0,eQ.TZ)();rM(e);let r=a%2==0,s=(0,aO.i)({base:1,sm:r?2:1,md:r?2:3,lg:4})||4,u=(0,f.useCallback)(()=>{n.commands.addLayoutCell(l())},[n,l]),c=a"".concat(e,"%")).join(" ");return(0,d.jsx)(P.lO,{...e,children:(0,d.jsxs)(rB.M,{className:(0,Y.cx)("grid-col-controls",o&&"is-editable"),columns:Math.min(s,a),gap:"var(--grid-border)",position:"relative",gridTemplateColumns:m,"data-selection-ring":!0,children:[(0,d.jsx)(E.ms,{className:"layout-content"}),(0,d.jsx)(Q.A,{...e,label:tn.ag._({id:"Szg6OU"}),"data-testid":"layout-drag-handle"}),(0,d.jsx)(eV.k,{position:"absolute",top:"0",h:"100%",align:"center",w:6,right:-3,className:"add-column",opacity:"0",transitionProperty:"opacity",transitionDuration:"normal",children:c&&(0,d.jsx)(y.kH,{label:(0,d.jsx)(w.cC,{id:"AgvHni"}),placement:"top",children:(0,d.jsx)(tP.h,{icon:(0,d.jsx)(k.G,{icon:tg.r8p}),"aria-label":tn.ag._({id:"AgvHni"}),position:"absolute",size:"xs",variant:"plain",isRound:!0,zIndex:"1",onClick:u})})})]})})},r_=F.NB.create({name:"gridLayout",content:"gridCell{1, ".concat(rp.h,"}"),group:"cardBlock",defining:!1,isolating:!0,selectable:!1,priority:eH.a.Layout,containerHandle:!0,parseHTML:()=>[{tag:"div[class=columns]"},{tag:"columns"}],renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,F.P1)(t,{class:"columns"}),0]},renderHTMLforAI(e){let{node:t}=e;return["columns",{colWidths:JSON.stringify(t.attrs.colWidths)},0]},addAttributes(){let e="colWidths";return{colWidths:{default:[],parseHTML:t=>{let n=t.getAttribute("data-".concat(e));if(n)return JSON.parse(n);let l=0;return t.childNodes.forEach(e=>{"DIV"===e.nodeName&&l++}),(0,t3.RS)(l)},renderHTML:t=>{let n=t[e];return n?{["data-".concat(e)]:JSON.stringify(n)}:{}}},fullWidthBlock:{default:!1}}},addNodeView:()=>(0,E.fW)(rE,{update:_.I_,ignoreMutation:rl.j}),addProseMirrorPlugins(){return[rv(this.editor),function(){let e=new ef.Sy({key:rk,state:{init:()=>new rx,apply:(e,t,n,l)=>t.apply(e,l)},props:{attributes(e){let t=rk.getState(e),n=t.getActiveHandleAbs(e);return null!==n?{class:"resize-cursor"}:{class:""}},handleDOMEvents:{mousemove:(e,t)=>!!x.VH.get("layoutResizing")&&(rA(e,t),!1),mouseleave:e=>!!x.VH.get("layoutResizing")&&(!function(e){let t=rw(e),n=t.getActiveHandleAbs(e.state);null===n||t.dragging||rS(e,null)}(e),!1),mousedown:(e,t)=>!!x.VH.get("layoutResizing")&&(!function(e,t){if(!e.editable)return;let n=rw(e),l=n.getActiveHandleAbs(e.state);if(null===l||n.dragging)return;let a=e.state.doc.resolve(l),o=a.node(),i=[...o.attrs.colWidths],r=(0,oM.ug)(a),s=rj(e,l),d=rF(e,a),u=d.offsetWidth;rC(e,{startX:t.clientX,startWidth:s,colWidths:i,tableWidth:u,colIndex:r});let c=null;function m(t){window.removeEventListener("mouseup",m),window.removeEventListener("mousemove",f);let n=rw(e);if(n.dragging){if(null===c){rC(e,null);return}if(n.dragging)try{let t=n.getActiveHandleAbs(e.state);(function(e,t,n){let l=e.state.doc.resolve(t),a=l.before(),o=e.state.tr.setNodeMarkup(a,void 0,{colWidths:[...n]}).setMeta("annotationEvent",{type:"update-node-attrs",pos:a});e.dispatch(o),function(e,t){let n=e.state.doc.resolve(t),l=rF(e,n),a=l.querySelector(".grid-col-controls");a&&(a.style.gridTemplateColumns="")}(e,t)})(e,t,c),rC(e,null)}catch(t){rz(e)}c=null}}function f(t){if(!t.which)return m(t);let n=rw(e),l=n.getActiveHandleAbs(e.state);if(!n.dragging||null===l)return;let{colIndex:a,colWidths:o}=n.dragging,i=function(e,t){let{tableWidth:n}=e,l=t.clientX-e.startX;return t5()(100*l/n,0)}(n.dragging,t);(function(e,t){let n=e.querySelector(".grid-col-controls");n&&(n.style.gridTemplateColumns=t.map(e=>"".concat(e,"%")).join(" "))})(d,c=(0,t3.GI)(o,a,i,15)),(0,t9.CI)(d)}window.addEventListener("mouseup",m),window.addEventListener("mousemove",f),t.preventDefault()}(e,t),!1)},decorations(e){let t=rk.getState(e),n=t.getActiveHandleAbs(e);if(null!==n){let t=[];try{let l=document.createElement("div");return l.className="column-resize-handle",t.push(tQ.p.widget(n+1,l)),tQ.EH.create(e.doc,t)}catch(e){return console.error("(caught) layoutResizing error: ".concat(e.message)),tQ.EH.empty}}},nodeViews:{}}});return e}()]},addCommands(){var e=this;return{useLayoutPreset:(e,t)=>n=>{let{dispatch:l,tr:a,commands:o,view:i}=n;if(!l)return!0;let r=(0,oM.TH)(a.doc.resolve(e));if(!r)return!0;let s=(0,oM.oc)(r),d=t.length-s.length,u=[];for(;0!==d;){if(d<0){let t=(0,oM.Tl)(a.doc.resolve(e),-1),n=t.nodeAfter;a.deleteRange(t.pos,t.pos+n.nodeSize);let l=1===n.childCount&&(0,F.bR)(n.firstChild)?[]:n.content.toJSON();u=[...l,...u],d++;continue}if(d>0){o.addLayoutCell(r.pos,!1),d--;continue}}a.setNodeAttribute(e,"colWidths",t);let c=(0,oM.Tl)(a.doc.resolve(r.pos),-1);if(!c||!c.nodeAfter)return!0;let m=c.pos+c.nodeAfter.nodeSize-1;if(o.insertContentAt(m,u,{updateSelection:!1}),a.selection.from>m||a.selection.to>m){let e=a.doc.resolve(c.pos+1).end(),t=(0,ev.E)(a.doc.resolve(e),-1);t&&a.setSelection(t)}let f=rF(i,r);return f&&(0,t9.CI)(f),!0},insertLayout:e=>t=>{let{dispatch:n,commands:l}=t;if(!n)return!0;let a=Array.from(Array(e),e=>rO);return l.insertContentAndSelect({type:"gridLayout",attrs:{colWidths:(0,t3.RS)(e)},content:a})},addLayoutCell:function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return n=>{let{chain:l,state:a}=n,o=a.doc.nodeAt(e);if(!o||o.type.name!==r_.name)return!1;let i=e+o.nodeSize-1,{colWidths:r}=o.attrs,s=r.length,d=t5()(100/(s+1),2),u=(0,t3.CO)(r,s,d,15),c=l().insertContentAt(i,rO,{updateSelection:!1});return t&&c.selectInsertedNode(),c.command(t=>{let{tr:n}=t;return n.setNodeAttribute(e,"colWidths",u),!0}).run(),!0}},handleLayoutDelete:function(t){let n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return l=>{let{tr:a,dispatch:o,state:i}=l;if(!o)return!0;let r=(0,F.Kk)(e=>e.type.name===rh.name)(i.selection),s=(0,F.Kk)(e=>e.type.name===r_.name)(i.selection);if(!r||!s)return!1;if(!n||(0,eb.$y)(r.node)){if(2==s.node.childCount){let t=r.node===s.node.child(0),n=t?s.node.child(1):s.node.child(0),l=t?s.start+s.node.child(0).nodeSize+1:s.start+1,o=l+n.content.size;a.replaceWith(s.pos,s.pos+s.node.nodeSize,n.content);let i=(0,ev.E)(a.doc.resolve(s.pos+(t?0:n.content.size)),t?1:-1);i&&a.setSelection(i);let d=(0,eS.nf)({insertPos:s.pos,contentPos:l,contentEnd:o,editor:e.editor});requestAnimationFrame(()=>{var t,n;null===(t=(n=e.editor.commands).moveAnnotations)||void 0===t||t.call(n,d)})}else{let e=a.doc.resolve(r.pos);(0,rf.D)(a,e,t),a.setNodeAttribute(s.pos,"colWidths",(0,t3.Z7)(s.node.attrs.colWidths,[(0,oM.ug)(e)]))}return!0}let{parent:d}=i.selection.$from;return!!(i.selection.empty&&d.isTextblock&&(0,F.bR)(d))&&d==r.node.firstChild&&!t&&(a.deleteRange(i.selection.$from.before(),i.selection.$from.after()),!0)}},goToNextLayoutCell:e=>t=>{let{tr:n,state:l}=t,a=(0,F.Kk)(e=>e.type.name===rh.name||e.type.name===rc.name)(l.selection),o=(0,F.Kk)(e=>e.type.name===r_.name||e.type.name===ra.z.name)(l.selection);if(!a||!o)return!1;let i=l.doc.resolve(a.pos),r=e?i.index()+1:i.index()-1;if(r<0||r>=i.parent.childCount)return!1;let s=i.posAtIndex(r);return n.setSelection(ef.Y1.near(l.doc.resolve(s))),!0}}},addKeyboardShortcuts:()=>({Tab:e=>{let{editor:t}=e;return t.commands.goToNextLayoutCell(!0)},"Shift-Tab":e=>{let{editor:t}=e;return t.commands.goToNextLayoutCell(!1)}})}),rO={type:"gridCell",content:[{type:"paragraph"}]};var rP=n(50322);let rT=e=>{let{node:t}=e,{fontSize:n,placeholder:l}=t.attrs;return(0,d.jsx)(P.lO,{...e,children:(0,d.jsx)(E.ms,{as:"li","data-testid":"bullet-list-item","data-font-size":n,"data-placeholder":l})})};var rR=n(73528),rN=n(44368);let rL=/^\s*([-*])\s$/,rD=F.NB.create({name:rN.W.Bullet,content:"inline*",defining:!0,group:"block cardNotesBlock",selectable:!1,allowFontSizes:"body",addNodeView:()=>(0,E.fW)(rT,{as:"ul",update:_.E7,updateWrapperEl:(e,t)=>{e.setAttribute("indent",t.node.attrs.indent)}}),addOptions:()=>({HTMLAttributes:{}}),addAttributes:()=>({indent:{default:0},fontSize:oQ.Bi}),addInputRules(){return[(0,rR.Bx)({find:rL,type:this.type},this.editor.state.schema)]},addKeyboardShortcuts:()=>({"Mod-Shift-8":e=>{let{editor:t}=e;return t.commands.setListItems({variant:rN.W.Bullet})},"Mod-.":e=>{let{editor:t}=e;return t.commands.setListItems({variant:rN.W.Bullet})}}),parseHTML(){return[{tag:'li[variant="'.concat(this.name,'"]')}]},renderHTML(e){let{HTMLAttributes:t}=e;return["li",(0,F.P1)(this.options.HTMLAttributes,t,{variant:this.name}),0]}}),rW=[e=>e.toString(),e=>String.fromCharCode(96+e),e=>(function(e){let t={M:1e3,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1},n="";for(let l of Object.keys(t)){let a=Math.floor(e/t[l]);e-=a*t[l],n+=l.repeat(a)}return n})(e).toLowerCase()],rU=e=>{var t;let{decorations:n,node:l}=e,{indent:a,fontSize:o,placeholder:i}=l.attrs,r=null===(t=n.find(e=>e.spec.listNumber))||void 0===t?void 0:t.spec.listNumber,s=rW[a%rW.length]||rW[0],u=s(r);return(0,d.jsx)(P.lO,{...e,children:(0,d.jsx)(E.ms,{as:"li","data-list-counter":u,"data-font-size":o,"data-placeholder":i})})},rH=/^(\d+)\.\s$/,rG=F.NB.create({name:rN.W.Numbered,content:"inline*",defining:!0,group:"block cardNotesBlock",selectable:!1,allowFontSizes:"body",addOptions:()=>({HTMLAttributes:{}}),addNodeView:()=>(0,E.fW)(rU,{as:"ol",update:_.E7,updateWrapperEl:(e,t)=>{e.setAttribute("indent",t.node.attrs.indent)}}),addAttributes:()=>({indent:{default:0},fontSize:oQ.Bi}),addInputRules(){return[(0,rR.Bx)({find:rH,type:this.type},this.editor.state.schema)]},addKeyboardShortcuts:()=>({"Mod-/":e=>{let{editor:t}=e;return t.commands.setListItems({variant:rN.W.Numbered})},"Mod-Shift-7":e=>{let{editor:t}=e;return t.commands.setListItems({variant:rN.W.Numbered})}}),parseHTML(){return[{tag:'li[variant="'.concat(this.name,'"]')}]},renderHTML(e){let{HTMLAttributes:t}=e;return["li",(0,F.P1)(this.options.HTMLAttributes,t,{variant:this.name}),0]}});var rq=n(82713);let rV=e=>{let{node:t,updateAttributes:n}=e,l=(0,b.CG)(e0.yx),a=(0,z.py)("edit",l),{checked:o,fontSize:i,placeholder:r}=t.attrs;return(0,d.jsx)(ri.l,{...e,children:(0,d.jsxs)(K.x,{as:"li",color:o?"var(--body-color-muted)":void 0,textDecoration:o?"line-through":void 0,transition:"color 250ms ease-out",position:"relative",className:"todo","data-font-size":i,children:[(0,d.jsx)(rq.X,{contentEditable:!1,suppressContentEditableWarning:!0,isChecked:o,onChange:e=>{a&&n({checked:e.target.checked})},position:"absolute"}),(0,d.jsx)(E.ms,{as:"span",className:"todo-content","data-placeholder":r||tn.ag._({id:"M+qBZP"})})]})})},rK=/^\s*\[[ ]?\]\s$/,rY=/^\s*\[x\]\s$/,r$=F.NB.create({name:rN.W.Todo,addOptions:()=>({HTMLAttributes:{}}),content:"inline*",defining:!0,group:"block cardNotesBlock",selectable:!1,allowFontSizes:"body",addAttributes:()=>({indent:{default:0},checked:{default:!1},fontSize:oQ.Bi}),addNodeView:()=>(0,E.fW)(rV,{as:"ul",update:_.E7,updateWrapperEl:(e,t)=>{e.setAttribute("indent",t.node.attrs.indent)}}),addInputRules(){return[(0,rR.Bx)({find:rK,type:this.type,getAttributes:{checked:!1}},this.editor.state.schema),(0,rR.Bx)({find:rY,type:this.type,getAttributes:{checked:!0}},this.editor.state.schema)]},addKeyboardShortcuts:()=>({"Mod-,":e=>{let{editor:t}=e;return t.commands.setListItems({variant:rN.W.Todo})},"Mod-Shift-9":e=>{let{editor:t}=e;return t.commands.setListItems({variant:rN.W.Todo})}}),parseHTML(){return[{tag:'li[variant="'.concat(this.name,'"]')}]},renderHTML(e){let{HTMLAttributes:t}=e;return["li",(0,F.P1)(this.options.HTMLAttributes,t,{variant:this.name}),0]}});var rJ=n(29097),rX=n(80759),rZ=n(48697),rQ=n(14063);let r0=F.hj.create({name:"media",addExtensions:()=>[ro.z],addCommands:()=>({handleSpaceToZoom:()=>e=>{let{state:t}=e;if(t.selection instanceof ef.qv&&(0,tG.fP)(t.selection.node)){let e=(0,b.bh)(),{id:n}=t.selection.node.attrs;return!!(n&&(0,rQ.v_)(n)(e.getState()))||(e.dispatch((0,e0.RW)({nodeId:t.selection.node.attrs.id})),!0)}return!1}})});var r1=n(94567),r2=n(61309),r4=n(83386),r5=n(8571);let r3=["paragraph","heading","title","bullet","numbered","todo","toggleSummary"],r9=F.hj.create({name:"placeholderText",addGlobalAttributes:()=>[{types:r3,attributes:{placeholder:{default:null,keepOnSplit:!1,rendered:!1}}}],addCommands:()=>({removeFilledPlaceholders:()=>e=>{let{tr:t,dispatch:n}=e;return!n||(t.doc.descendants((e,n)=>{e.attrs.placeholder&&e.textContent&&(console.debug("Removing placeholder",e.attrs.placeholder,"at",n,"with content",e.textContent),t.setNodeAttribute(n,"placeholder",null))}),!0)}}),onUpdate(){r8(this.editor)}}),r8=nx()(e=>{e.isEditable&&e.commands.removeFilledPlaceholders()},100,{maxWait:1e3});var r7=n(59799),r6=n(91887),se=n(59080);let st=F.hj.create({name:"TableCommands",addCommands:()=>({selectColumn:e=>t=>{let{tr:n,dispatch:l}=t;if(!l)return!0;let{doc:a}=n,o=a.resolve(e),i=se.Xc.colSelection(o);return n.setSelection(i),!0},selectRow:e=>t=>{let{tr:n,dispatch:l}=t;if(!l)return!0;let{doc:a}=n,o=a.resolve(e),i=se.Xc.rowSelection(o);return n.setSelection(i),!0},selectTable:e=>t=>{let{tr:n,dispatch:l}=t;if(!l)return!0;let{doc:a}=n,o=a.resolve(e),i=se.Xc.colSelection(o),r=se.Xc.rowSelection(i.$anchorCell,i.$headCell);return n.setSelection(r),!0}})}),sn=F.NB.create({name:"tableCell",addOptions:()=>({HTMLAttributes:{}}),content:"(block | tableBlock)+",addAttributes:()=>({colspan:{default:1},rowspan:{default:1}}),tableRole:"cell",isolating:!0,selectable:!1,parseHTML:()=>[{tag:"td"},{tag:"th"}],renderHTML(e){let{HTMLAttributes:t}=e;return["td",(0,F.P1)(this.options.HTMLAttributes,t),0]}}),sl=e=>(0,d.jsxs)(E.T5,{className:"table-row-wrapper",style:{display:"contents"},children:[(0,d.jsx)("th",{style:{position:"relative",padding:0},children:(0,d.jsx)(sa,{...e})}),(0,d.jsx)(E.ms,{as:"div",className:"table-row-content",style:{display:"contents"}})]}),sa=(0,f.memo)(e=>{let{...t}=e,{getPos:n,editor:l}=t;return(0,d.jsx)(eV.k,{height:"100%",align:"center",contentEditable:!1,suppressContentEditableWarning:!0,children:(0,d.jsx)(Q.A,{...t,label:tn.ag._({id:"9c44h0"}),onClick:()=>{let e=n()+1;l.chain().focus().selectRow(e).run()},left:"-0.5em",top:"1em",zIndex:"3","data-testid":"table-row-control"})})});sa.displayName="RowControl";let so=F.NB.create({name:"tableRow",addOptions:()=>({HTMLAttributes:{}}),selectable:!1,content:"tableCell+",tableRole:"row",containerHandle:!0,addNodeView:()=>(0,E.fW)(sl,{update:_.E7,as:"tr"}),parseHTML:()=>[{tag:"tr"}],renderHTML(e){let{HTMLAttributes:t}=e;return["tr",(0,F.P1)(this.options.HTMLAttributes,t),0]}});var si=n(94075),sr=n(98314);let ss=e=>{let{node:t}=e,{level:n,horizontalAlign:l,placeholder:a}=t.attrs,o=a||(n===s.DefaultTitle?tn.ag._({id:"wja8aL"}):tn.ag._({id:"MHrjPM"}));return(0,d.jsx)(P.lO,{...e,style:{display:"flex",flexDirection:"column",...(0,lQ.nN)(l)},children:(0,d.jsx)(E.ms,{level:n,className:(0,Y.cx)("title",$.A8),"data-placeholder":o,style:{minWidth:"min(100%, 10em)"}})})};(o=s||(s={}))[o.DefaultTitle=1]="DefaultTitle",o[o.LargeTitle=2]="LargeTitle",o[o.XLargeTitle=3]="XLargeTitle";let sd=F.NB.create({name:"title",content:"inline*",group:"block cardNotesBlock",defining:!0,selectable:!1,addAttributes:()=>({level:{default:s.DefaultTitle}}),addNodeView:()=>(0,E.fW)(ss,{update:_.E7}),parseHTML:()=>[{tag:"h1[class=title]"}],addInputRules(){return(0,sr.Yt)().map(e=>{let[,t]=e,{inputRegex:n,level:l}=t;return n?(0,a4.zK)({find:n,type:this.type,getAttributes:{level:l}}):null}).filter(e=>!!e)},renderHTML(e){let{HTMLAttributes:t}=e;return["h1",(0,F.P1)(t,{class:"title"}),0]}});var su=n(43298),sc=n(54999);let sm=()=>new ef.Sy({key:new ef.H$("TogglePlugin"),props:{handlePaste(e,t,n){let{selection:l,tr:a}=e.state,o=(0,F.Kk)(sc.O4)(l);if(!o)return!1;let i=null,r=null,s=[];if(n.content.descendants(e=>{e.isTextblock&&(i?s.push(e):(i=e.content,r=(0,su.Aw)(e)||null))}),!i)return;r&&a.setNodeAttribute(o.pos,"fontSize",r),a.replaceSelection(av.p2.maxOpen(i));let d=a.mapping.map(o.pos+o.node.nodeSize);a.replaceRange(d,d,av.p2.maxOpen(av.HY.fromArray(s)));let u=(0,ev.a)(a,-1);return u&&a.setSelection(u),e.dispatch(a),!0},decorations(e){let{doc:t}=e,n=[];return t.descendants((e,t,l)=>{if(!l||!(0,sc.O4)(e))return;let a=(0,eb.Jn)(l.content),o=a.slice(1).every(e=>(0,eb.bR)(e)),i=tQ.p.node(t,t+e.nodeSize,{},{isToggleDecoration:!0,toggleId:l.attrs.id,isEmpty:o});n.push(i)}),tQ.EH.create(t,n)}}}),sf=e=>{var t;return(null===(t=e.find(e=>e.spec.isToggleDecoration))||void 0===t?void 0:t.spec)||{}},sp="1.5em",sg=e=>{let{node:t,decorations:n}=e,{level:l,fontSize:a,placeholder:o}=t.attrs,{toggleId:i="",isEmpty:r}=sf(n),s=(0,b.CG)(e0.hN),u=(0,b.CG)(e0.Ql),c=(0,b.CG)((0,e0.R)(i))||u,m=(0,f.useCallback)(()=>{(0,sc.xB)(i,!c)},[i,c]);return(0,d.jsx)(P.lO,{...e,hideComments:!c,children:(0,d.jsxs)(K.x,{as:"div",position:"relative",onClick:s?void 0:m,cursor:s?void 0:"pointer",children:[(0,d.jsx)(n7.z,{left:"calc(0.125em - ".concat(sp,")"),position:"absolute",variant:"ghost",colorScheme:"gray",color:r?"var(--body-color-muted)":"var(--body-color)",onClick:s?m:void 0,contentEditable:!1,onMouseDown:tx.br,fontSize:"1em",lineHeight:"inherit",height:"100%",px:2,ml:-2,minW:"unset","data-testid":"toggle-button",children:(0,d.jsx)(K.x,{transform:"rotate(".concat(c?90:0,"deg)"),transformOrigin:"center",transitionProperty:"transform",transitionDuration:"normal",fontSize:"0.75em",children:(0,d.jsx)(k.G,{icon:tt.zc})})}),(0,d.jsx)(E.ms,{level:l,"data-placeholder":o||tn.ag._({id:"JFciKP"}),"data-font-size":a,className:(0,Y.cx)((0,su.qx)(a)&&$.A8)})]})})},sh=F.NB.create({name:"toggleSummary",content:"inline*",selectable:!1,marks:"bold italic underline code footnoteLabel strike textColor highlight",allowFontSizes:"heading body",addAttributes:()=>({fontSize:oQ.Bi}),addNodeView:()=>(0,E.fW)(sg,{update:_.E7}),renderHTML(e){let{HTMLAttributes:t}=e;return["summary",t,0]},parseHTML:()=>[{tag:"summary"}]}),sb=e=>{let{node:t}=e,n=(0,b.CG)(e0.Ql),l=(0,b.CG)((0,e0.R)(t.attrs.id))||n;return(0,d.jsx)(P.lO,{...e,hideComments:l,readOnly:!l,children:(0,d.jsxs)(O.xu,{pl:sp,position:"relative","data-open":!!l,className:"toggle",borderRadius:"var(--box-border-radius)","data-selection-ring":"padded",children:[(0,d.jsx)(E.ms,{}),l&&(0,d.jsx)(O.xu,{position:"absolute",left:"0.375em",bottom:"0.25em",top:"2.5em",borderLeft:"1px solid",borderColor:"var(--neutral-border-color)"})]})})};var sy=n(50177);let sv=/^\s*([+])\s$/,sk=F.NB.create({name:"toggle",group:"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock",content:"toggleSummary (block | layoutBlock)+",selectable:!1,isolating:!0,priority:eH.a.Toggle,expandable:!0,addNodeView:()=>(0,E.fW)(sb,{update:_.E7}),addProseMirrorPlugins:()=>[sm()],addAttributes:()=>({id:(0,n8.b)(sy.C)}),addInputRules(){var e;return[(e={find:sv,innerType:this.editor.schema.nodes.toggleSummary,outerType:this.type,getInnerAttributes:e=>{let t=(0,su.Aw)(e);return{fontSize:t}},getOuterAttributes:()=>{let e=(0,sy.C)();return(0,sc.xB)(e,!0),{id:e}}},new F.VK({find:e.find,handler:t=>{let{state:n,range:l,match:a}=t,o=n.doc.resolve(l.from);if(!o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),e.outerType))return;let i=(0,F.nU)(e.getOuterAttributes,void 0,o.parent)||{},r=(0,F.nU)(e.getInnerAttributes,void 0,o.parent)||{},s=n.tr.delete(l.from,l.to),d=s.doc.resolve(l.from),u=d.parent,c=e.outerType.createAndFill(i,[e.innerType.create(r,u.content)]);s.replaceWith(d.before(),d.after(),c);let m=(0,ev.E)(s.doc.resolve(l.from));m&&s.setSelection(m)}}))]},addCommands(){var e=this;return{unwrapToggle:()=>e=>{let{state:t,editor:n,tr:l}=e;if(!n.isActive("toggleSummary"))return!1;let{selection:a,schema:o}=t,i=(0,F.Kk)(sc.AH)(a);if(!i||i.start+1!==a.from||!a.empty)return!1;let r=(0,eb.Jn)(i.node.content),s=r[0],{type:d,level:u}=(0,su.hx)(s.attrs.fontSize),c="heading"===d?o.nodes.heading.create({level:u},s.content):o.nodes.paragraph.create({fontSize:s.attrs.fontSize},s.content),m=[c].concat(r.slice(1));l.replaceWith(i.pos,i.pos+i.node.nodeSize,av.HY.from(m)).setMeta("annotationEvent",{type:"unwrap-node",pos:i.pos});let f=l.doc.resolve(i.pos),p=(0,ey.t)(f);return p&&l.setSelection(p),!0},joinBackwardInToggle:()=>e=>{let{state:t,editor:n,chain:l}=e;if(n.isActive("toggleSummary"))return!1;let{selection:a}=t,o=(0,F.Kk)(sc.AH)(a);if(!o)return!1;let i=(0,eb.Jn)(o.node.content),r=i.slice(1);return!!a.empty&&0===a.$from.parentOffset&&1===r.length&&(l().command(e=>{let{tr:t}=e,l=t.doc.resolve(o.pos+1).end();return t.insert(l,n.schema.nodes.paragraph.create()),!0}).joinBackward(),!0)},wrapWithToggle:function(t){let n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return l=>{let a,{state:o,tr:i}=l,{doc:r,selection:s,schema:d}=o,u=s.$from.blockRange(s.$to);if(!u)return!1;let c=[];r.nodesBetween(s.from,s.to,(e,t,n)=>{if(n===u.parent)return c.push(e),!1});let m=[];if(!t&&c[0].isTextblock&&c[0].textContent.length<100){let e=(0,su.Aw)(c[0]);a=d.nodes.toggleSummary.create({fontSize:e},c[0].content),m=c.slice(1)}else{let e=t?d.text(t):null;a=d.nodes.toggleSummary.create(null,e),m=c}let f=(0,sy.C)();n&&(0,sc.xB)(f,!0);let p=e.editor.schema.nodes.toggle.createAndFill({id:f},av.HY.fromArray([a,...m]));if(!p)return!1;let{start:g,end:h}=u;i.replaceRangeWith(g,h,p).setMeta("annotationEvent",{type:"wrap-nodes",start:g,end:h,level:1});let b=(0,ey.G)(i);if(!b)return!1;let y=(0,ey.t)(b,-1);return y&&i.setSelection(y),!0}},enterInToggle:()=>e=>{let{editor:t,state:n,chain:l}=e;if(!t.isActive("toggle"))return!1;let a=(0,F.Kk)(sc.AH)(n.selection);if(!a||(0,sc.fH)(a.node.attrs.id))return!1;let{selection:o}=t.state,{$from:i}=o,r=i.parentOffset===i.parent.nodeSize-2;if(r){let e=a.pos+a.node.nodeSize;return l().insertContentAt(e,{type:"paragraph"}).selectInsertedNode().run(),!0}return(0,sc.xB)(a.node.attrs.id,!0),!0}}},addKeyboardShortcuts:()=>({Enter:e=>{let{editor:t}=e;return t.commands.enterInToggle()},Backspace:e=>{let{editor:t}=e;return t.commands.first(e=>{let{commands:t}=e;return[()=>t.unwrapToggle(),()=>t.joinBackwardInToggle()]})}}),addExtensions:()=>[sy.w,sh],renderHTML(e){let{HTMLAttributes:t}=e;return["details",t,0]},parseHTML:()=>[{tag:"details"}]});var sx=n(39475);let sw=sx.Z;var sS=n(36909);n(17132),n(31638),n(87428),["collaborative-editor-wrapper","public-static-editor-wrapper-inner","example-static-editor-wrapper-inner","custom-theme-tabs","custom-theme-tab-panels","custom-theme-preview-editor"].map(e=>'[data-testid="'.concat(e,'"]')).join(", "),n(64110);let sC=function(){let{isInnerEditor:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[oC,oz,oI.x,es.Zb,eL.o4.configure({enabled:!g.v.GAMMA_PUPPETEER_SERVICE}),ed.K9,eR,no,tX,nM,sS._,m.x,i1.U,rP.r.configure({openOnClick:!1}),aM,ou.Z,W,i9,sw,c.Re,rR.aV,rD,rG,r$,sd,i2.X6,r5.n,R,er,aF.d,lQ.Kq,si.y,U.z,q,si.d,oQ.Bf,r9,r6.i.extend({resizable:!0,allowTableNodeSelection:!0}),so,sn,st,ab,r0,e4.om,rZ.Ee,r1.nk,rJ.cx,oJ,aQ,rX.r,r2.cB,r2.nk,r2.s6,ns.Hy,a9,r_,rh,ra.z,rc,iQ,iJ,aN,nZ,sk,oX,e9._,j.l,oZ,aI,r4.d,oR,u.f,r7.U,rt.configure({addSelectionKeyMaps:!e}),rn]}},64110:function(e,t,n){"use strict";n.d(t,{w:function(){return i}});var l=n(52332),a=n(30870),o=n(65878);let i=(e,t)=>{var n,i;null===(n=o.S.getState(e.state))||void 0===n||n.compute(e.state.doc).processChanges(t),null===(i=a.Z8.getState(e.state))||void 0===i||i.compute(e.state).processChanges(t),e.commands.command(()=>((0,l.E0)(e.state.doc,t),!0))}},42703:function(e,t,n){"use strict";n.d(t,{f:function(){return d}});var l=n(52322),a=n(2784),o=n(90507),i=n(80301),r=n(25198);class s extends a.Component{componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}init(){let{editor:e}=this.props;if(!e)return;let{doc:t}=e.state;e.contentComponent=this,e.createNodeViews(),this.RootComponent=(0,l.jsx)(u,{editor:e,node:t})}setRenderer(e,t){this.renderers.set(e,t),this.mounted&&this.setState({counter:this.state.counter+1})}removeRenderer(e){this.renderers.delete(e),this.mounted&&this.setState({counter:this.state.counter+1})}render(){let{editor:e}=this.props;return e?(0,l.jsx)("div",{className:"ProseMirror",children:this.RootComponent}):null}constructor(e){super(e),this.RootComponent=null,this.renderers=new Map,this.mounted=!1,this.editorContentRef=a.createRef(),this.editorContentChildren=a.createRef(),this.state={counter:0},this.init()}}let d=a.memo(s),u=e=>{let{node:t,editor:n}=e;return(0,l.jsx)(i.j.Provider,{value:{editor:n,node:t},children:(0,l.jsx)(o.T5,{children:(0,l.jsx)(r.m,{})})})}},25198:function(e,t,n){"use strict";n.d(t,{m:function(){return h}});var l=n(52322),a=n(73200),o=n(72338),i=n(30764),r=n(2784),s=n(80301),d=n(11093),u=n(91073);let c=e=>{let t={};for(let n of e.attributes){let e=n.name;"class"===e?t.className=n.value:"contenteditable"===e&&"false"===n.value||(t[e]=n.value)}return t},m=(e,t,n,a)=>{let o=Array.from(n.contentComponent.renderers.values()).find(t=>t.props.node===e);if(o){let e=o.element.nodeName.toLowerCase()||"div",{style:n,...i}=c(o.element);return(0,l.jsx)(e,{"data-pos":t,...i,STYLE:"white-space: inherit;".concat(n),children:(0,l.jsx)(o.component,{...o.props,children:a})},o.id)}return null},f=e=>{var t;return null!==(t=e.config.renderHTMLforSSR)&&void 0!==t?t:e.config.renderHTML},p=e=>{let t={...e};return(null==t?void 0:t.style)&&(t.STYLE=t.style,delete t.style),(null==t?void 0:t.class)&&(t.className=t.class,delete t.class),(null==t?void 0:t.colspan)&&(t.colSpan=t.colspan,delete t.colspan),(null==t?void 0:t.rowspan)&&(t.rowSpan=t.rowspan,delete t.rowspan),t},g=(e,t)=>{var n;let l=(0,d.j0)(e,t.type);if(!l)return[];let a=e.extensionManager.attributes.filter(e=>e.type===t.type.name),i=(0,o.m7)(t,a),r=l;for(;!f(r)&&r.parent;)r=r.parent;let s=null===(n=f(r))||void 0===n?void 0:n.bind(l);if(!s)return[];let u=s({HTMLAttributes:i,node:t,mark:t,editor:e}),[c,m,g]=u,h=p(m);return[c,h,g]},h=r.memo(e=>{let{node:t,editor:n,getPos:o}=(0,s.a)();if(!t||!n)return null;let d=e.as||"div",c=t.isInline||t instanceof i.vc?"span":"div",f=[],p="function"==typeof o?o():null,h=(e,t,o)=>{let i=(null===p?0:p)+t+1,s=m(e,i,n);if(s)return s;let d=t=>Array.from(e.marks).reverse().reduce((e,t)=>{let l=m(t,i,n,e);if(l)return l;let[a,s,d]=g(n,t)||[];return a?r.createElement(a,{key:o,...s},e):e},t),c=null===p?[]:(0,u.su)(n,i),[f,b,y]=g(n,e);if(f&&b){let n=null;if(0===y&&e.firstChild){let l=[];e.forEach((e,n,a)=>{l.push(h(e,t+n,"".concat(o,"_").concat(a)))}),n=l,console.debug("[SSR NodeViewContent] HOLE",l)}else Array.isArray(y)?(console.debug("[SSR NodeViewContent] children array",y),n=[...y]):y&&(console.debug("[SSR NodeViewContent] children plain",y),n=y);let{nodeName:l,...s}=c.map(e=>{var t;return null===(t=e.type)||void 0===t?void 0:t.attrs}).reduce((e,t)=>({...e,...t}),{}),u={...b,...s,className:(0,a.cx)(s.class,b.class),"data-pos":i};delete u.class,console.debug("[SSR NodeViewContent] non-nodeview:",o,u,y);let m=r.createElement(f,{key:o,...u},n);return d(m)}return e.isText?d((0,l.jsx)(r.Fragment,{children:e.textContent},o)):null};return t.forEach((e,n)=>{let l=f.length+1,a=h(e,n,"".concat(l));a?f.push(a):console.warn("%c [Simple NodeViewContent] UNKNOWN NODE $$$$$$$$$$$$$$$$$$$$$$$$$","background-color: aqua; font-weight: bold",{unknownNode:e,parentNode:t})}),(0,l.jsx)(d,{...e,"data-node-view-content":"",style:{whiteSpace:"pre-wrap",...e.style},children:(0,l.jsx)(c,{"data-node-view-content-inner":t.type.name,style:{whiteSpace:"inherit"},children:0===f.length?null:1===f.length?f[0]:f})})});h.displayName="NodeViewContent"},4471:function(e,t,n){"use strict";n.d(t,{UO:function(){return j},pP:function(){return M},zm:function(){return B},xr:function(){return F}});var l=n(82655),a=n(42946),o=n(54933),i=n(87254),r=n(829),s=n.n(r),d=n(87622),u=n.n(d),c=n(42111),m=n(9726),f=n(57574);let p=()=>[{key:"autoComplete",name:()=>i.ag._({id:"ZyVTQp"}),shortcut:f.o,nodeName:"paragraph",icon:o.ddb,keywords:["continue","autocomplete","typeahead","complete","continue","ai"],execute:e=>{e.commands.autoComplete()},featureFlag:"aiAutocomplete",creditType:"autocomplete"}];var g=n(98081),h=n(16069),b=n(12302),y=n(96693),v=n(3452),k=n(44368),x=n(50593),w=n(13988),S=n(93565),C=n(50177),z=n(54999);let A=()=>[{key:"toggle",name:()=>i.ag._({id:"JFciKP"}),description:()=>i.ag._({id:"Woijyj"}),keywords:["toggle","expand","collapse","disclosure","details"],nodeName:"toggle",icon:l.zc,execute:e=>{let t=(0,C.C)();(0,z.xB)(t,!0),e.chain().insertContent({...(0,m.e)().toggle,attrs:{id:t}}).selectInsertedNode().run()},dragStartFn:e=>{let t=(0,C.C)();(0,z.xB)(t,!0),(0,S.U)(e,{...(0,m.e)().toggle,attrs:{id:t}})}}];var I=n(11093);let j=()=>[{key:"insertCardAfter",name:()=>i.ag._({id:"coNSGP"}),nodeName:"card",icon:l.Mp0,execute:e=>e.commands.insertCardAfter(),checkDisabled:e=>!e.schema.nodes.card,keywords:["card","below","after","new"]},{key:"insertCardInside",name:()=>i.ag._({id:"lOmsEK"}),nodeName:"card",icon:l.uFC,execute:e=>e.commands.insertNestedCard(),checkDisabled:e=>!e.schema.nodes.card,keywords:["nested","card","sub"]},{key:"splitCard",name:()=>i.ag._({id:"ONXbeB"}),nodeName:"card",icon:l.C5L,shortcut:"***",execute:e=>e.commands.splitCardAtSelection(),checkDisabled:e=>!e.schema.nodes.card,dragStartFn:e=>{(0,S.U)(e,(0,m.e)().normalText)},dragEndFn:e=>{e.chain().splitCardAtSelection().focusDelayed().run()},keywords:["split"]},{key:"title",name:()=>i.ag._({id:"MHrjPM"}),nodeName:"title",icon:a.K5C,shortcut:"! Title",execute:e=>{e.chain().focus().setFontSize("title").run()},keywords:["title","large"]},{key:"display",name:()=>i.ag._({id:"Xm/s+u"}),nodeName:"title",icon:a.K5C,shortcut:"!! Title",execute:e=>{e.chain().focus().setFontSize("titleLg").run()},keywords:["display","large"]},{key:"monster",name:()=>i.ag._({id:"bSLwU6"}),nodeName:"title",icon:a.K5C,shortcut:"!!! Ahhhh",execute:e=>{e.chain().focus().setFontSize("titleXl").run()},keywords:["monster","huge"]},{key:"h1",name:()=>i.ag._({id:"lXKZGw"}),nodeName:"heading",icon:l.kVJ,shortcut:"# Heading 1",execute:e=>{e.chain().focus().setFontSize("h1").run()},keywords:["heading","h1"]},{key:"smallText",name:()=>i.ag._({id:"LBkaLa"}),nodeName:"paragraph",icon:a.K5C,shortcut:"/sm",execute:e=>{e.chain().focus().setFontSize("sm").run()},keywords:["sm","small","paragraph"]},{key:"normalText",name:()=>i.ag._({id:"5NwZ8t"}),nodeName:"paragraph",icon:l.K5C,shortcut:"/md",execute:e=>{e.chain().focus().setFontSize("md").run()},keywords:["md","normal","paragraph","default","body"]},{key:"largeText",name:()=>i.ag._({id:"0Sz17G"}),nodeName:"paragraph",icon:l.K5C,shortcut:"/lg",execute:e=>{e.chain().focus().setFontSize("lg").run()},keywords:["lg","large","paragraph"]},{key:"h2",name:()=>i.ag._({id:"El7NbA"}),nodeName:"heading",icon:l.ejo,shortcut:"## Heading 2",execute:e=>{e.chain().focus().setFontSize("h2").run()},keywords:["heading","h2"]},{key:"h3",name:()=>i.ag._({id:"SFN6dN"}),nodeName:"heading",icon:l.WTH,shortcut:"### Heading 3",execute:e=>{e.chain().focus().setFontSize("h3").run()},keywords:["heading","h3"]},{key:"h4",name:()=>i.ag._({id:"nJeKmw"}),nodeName:"heading",icon:l.qv8,shortcut:"#### Heading 4",execute:e=>{e.chain().focus().setFontSize("h4").run()},keywords:["heading","h4"]},{key:"openEmojiPicker",name:()=>i.ag._({id:"tKlWWY"}),nodeName:"emoji",icon:a.pkM,execute:e=>e.commands.openEmojiPicker(),keywords:["symbol","emoji"]},{key:"bulletedList",name:()=>i.ag._({id:"ynb7Kh"}),nodeName:k.W.Bullet,icon:l.gf$,shortcut:"- Item",execute:e=>{e.chain().setListItems({variant:k.W.Bullet}).selectInsertedNode().run()},keywords:["bullets","unordered","ul","list"]},{key:"numberedList",name:()=>i.ag._({id:"M3G9ZD"}),nodeName:k.W.Numbered,icon:l.nFo,shortcut:"1. Item",execute:e=>{e.chain().setListItems({variant:k.W.Numbered}).selectInsertedNode().run()},keywords:["numbers","numbered","ordered","ol","list"]},{key:"todoList",name:()=>i.ag._({id:"rCIbrq"}),nodeName:k.W.Todo,icon:l.A8,shortcut:"[] Item",execute:e=>{e.chain().setListItems({variant:k.W.Todo}).selectInsertedNode().run()},keywords:["todo","task","checkbox","list","checklist"]},{key:"blockquote",name:()=>i.ag._({id:"OLMhPm"}),nodeName:"blockquote",icon:l.vV6,shortcut:"> Quote",execute:e=>e.chain().focus().toggleBlockquote().run(),keywords:["quote","blockquote"]},...(0,g.Di)(),{key:"buttonGroup",name:()=>i.ag._({id:"hxBFty"}),nodeName:"buttonGroup",icon:l.duH,execute:e=>e.commands.insertContentAndSelect((0,m.e)().buttonGroup),description:()=>i.ag._({id:"IvDo5O"}),keywords:["button","link","click","call to action"]},{key:"codeBlock",name:()=>i.ag._({id:"4A3Yzu"}),nodeName:"codeBlock",icon:l.dT$,shortcut:"```",execute:e=>{e.chain().focus().setCodeBlock().run()},keywords:["code","block","codeblock"]},{key:"mathBlock",name:()=>i.ag._({id:"TI6GY9"}),nodeName:"math_display",featureFlag:"math",icon:l.xFR,keywords:["math","equation","latex","katex"],execute:e=>e.chain().focus().insertContent((0,m.e)().mathBlock).run(),dragEndFn:()=>{},description:()=>i.ag._({id:"mBJFYh"})},{key:"mathInline",name:()=>i.ag._({id:"qc9cD+"}),featureFlag:"math",nodeName:"math_inline",icon:l.eDD,keywords:["math","equation","latex","katex"],execute:e=>e.chain().focus().insertMathInline().run(),shortcut:"$x^2$ "},{key:"table2",name:()=>i.ag._({id:"3gSgpL"}),keywords:["table","grid","data"],nodeName:"table",shortcut:"/table",icon:l.B3e,execute:e=>e.commands.insertTable({rows:2,cols:2,withHeaderRow:!1})},{key:"table3",name:()=>i.ag._({id:"ZjN50+"}),keywords:["table","grid","data"],nodeName:"table",icon:l.B3e,execute:e=>e.commands.insertTable({rows:3,cols:3,withHeaderRow:!1})},{key:"table4",name:()=>i.ag._({id:"64S2d0"}),keywords:["table","grid","data"],nodeName:"table",icon:l.B3e,execute:e=>e.commands.insertTable({rows:4,cols:4,withHeaderRow:!1})},{key:"columns2",name:()=>i.ag._({id:"vVJ2/D"}),keywords:["columns","layout","grid","two"],nodeName:"gridLayout",shortcut:"/columns",icon:l.blG,execute:e=>e.commands.insertLayout(2)},{key:"columns3",name:()=>i.ag._({id:"OnuuaA"}),keywords:["columns","layout","grid","three"],nodeName:"gridLayout",icon:l.blG,execute:e=>e.commands.insertLayout(3)},{key:"columns4",name:()=>i.ag._({id:"hexbw8"}),keywords:["columns","layout","grid","four"],nodeName:"gridLayout",icon:l.blG,execute:e=>e.commands.insertLayout(4)},{key:"contributors",name:()=>i.ag._({id:"YqsXfH"}),nodeName:"contributors",icon:l.V3X,execute:e=>e.commands.insertContentAndSelect((0,m.e)().contributors),keywords:["contributors","authors","credits"]},{key:"divider",name:()=>i.ag._({id:"R8AthW"}),nodeName:"divider",icon:l.ZC5,keywords:["hr","rule","line","divider"],shortcut:"---",execute:e=>e.commands.insertContentAndSelect((0,m.e)().divider)},{key:"tableOfContents",name:()=>i.ag._({id:"9FTolD"}),featureFlag:"tableOfContentsBlock",nodeName:"tableOfContents",icon:l.Ljc,execute:e=>e.commands.insertContentAndSelect((0,m.e)().tableOfContents,-1),keywords:["toc","contents"]},{key:"gallery",name:()=>i.ag._({id:"U+kFad"}),description:()=>i.ag._({id:"GqdREM"}),nodeName:"gallery",shortcut:"/gallery",icon:l.emM,keywords:["gallery","image","layout","filmstrip","carousel"],execute:e=>e.commands.insertContentAndSelect((0,m.e)().gallery)},{key:"footnote",name:()=>i.ag._({id:"dOxPd4"}),nodeName:"footnote",shortcut:"^note^",icon:l.dkK,execute:e=>{let t=(0,y.H)(),n={...(0,m.e)().footnote,attrs:{noteId:t}};(0,y.t0)(t,!0),e.commands.insertContent(n)},dragStartFn:e=>{let t=(0,y.H)(),n={...(0,m.e)().footnote,attrs:{noteId:t}};(0,y.t0)(t,!0),(0,S.U)(e,n)},checkDisabled:v.M,keywords:["footnote","note","reference"]},...(0,h._)(),...(0,x.c)(),...(0,w.js)(),...(0,w.ne)(),...(0,b.q)(),...A(),...p(),{key:"aiCardAfter",name:()=>i.ag._({id:"yk2NpI"}),nodeName:"card",icon:o.ddb,execute:e=>e.commands.insertCardAfter((0,m.e)().aiCardAfter),checkDisabled:e=>!e.schema.nodes.card,keywords:["card","below","after","new"],featureFlag:"addCard2"}],F=()=>s()(j(),e=>e.priority),B=()=>u()(j(),"key"),M=function(e,t){var n;let l=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return!!(t.featureFlag&&!c.VH.get(t.featureFlag)||(null===(n=t.checkDisabled)||void 0===n?void 0:n.call(t,e)))||!!l&&!(0,I.$i)(e,t.nodeName)}},9726:function(e,t,n){"use strict";n.d(t,{e:function(){return s}});var l=n(98081),a=n(53027),o=n(93302),i=n(87254);let r=()=>i.ag._({id:"9FTolD"}),s=()=>({title:{type:"title",attrs:{level:1}},h1:{type:"heading",attrs:{level:1}},normalText:{type:"paragraph"},h2:{type:"heading",attrs:{level:2}},h3:{type:"heading",attrs:{level:3}},h4:{type:"heading",attrs:{level:4}},bulletedList:{type:"bullet",attrs:{indent:0}},numberedList:{type:"numbered",attrs:{indent:0}},todoList:{type:"todo",attrs:{indent:0}},blockquote:{type:"blockquote",content:[{type:"paragraph"}]},codeBlock:{type:"codeBlock"},mathBlock:{type:"math_display"},button:{type:"button",content:[{type:"text",text:"Click here"}]},buttonGroup:{type:"buttonGroup",content:[{type:"button",content:[{type:"text",text:"Click here"}]}]},table2:{type:"table",content:[{type:"tableRow",content:[{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]}]},{type:"tableRow",content:[{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]}]}]},table3:{type:"table",content:[{type:"tableRow",content:[{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]}]},{type:"tableRow",content:[{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]}]},{type:"tableRow",content:[{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]}]}]},table4:{type:"table",content:[{type:"tableRow",content:[{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]}]},{type:"tableRow",content:[{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]}]},{type:"tableRow",content:[{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]}]},{type:"tableRow",content:[{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]},{type:"tableCell",attrs:{colspan:1,rowspan:1},content:[{type:"paragraph"}]}]}]},columns2:{type:"gridLayout",content:[{type:"gridCell",content:[{type:"paragraph"}]},{type:"gridCell",content:[{type:"paragraph"}]}]},columns3:{type:"gridLayout",content:[{type:"gridCell",content:[{type:"paragraph"}]},{type:"gridCell",content:[{type:"paragraph"}]},{type:"gridCell",content:[{type:"paragraph"}]}]},columns4:{type:"gridLayout",content:[{type:"gridCell",content:[{type:"paragraph"}]},{type:"gridCell",content:[{type:"paragraph"}]},{type:"gridCell",content:[{type:"paragraph"}]},{type:"gridCell",content:[{type:"paragraph"}]}]},insertCardInside:{type:"card",content:[{type:"cardLayoutItem",attrs:{itemId:"body",background:{}},content:[{type:"heading",attrs:{level:1}}]}]},aiCardAfter:{type:"card",attrs:{generatorInput:a.d},content:[{type:"paragraph"}]},footnote:{type:"footnote",content:[{type:"paragraph"}]},contributors:{type:"contributors"},divider:{type:"divider"},tableOfContents:[{type:"heading",attrs:{level:3},content:[{type:"text",text:r()}]},{type:"tableOfContents"}],gallery:{type:"gallery",content:[]},...(0,o.BC)(),...l.NY,toggle:{type:"toggle",content:[{type:"toggleSummary"},{type:"paragraph"}]}})},86323:function(e,t,n){"use strict";n.d(t,{UV:function(){return a.U},ZT:function(){return a.Z},e1:function(){return o.e},pP:function(){return l.pP},xr:function(){return l.xr},zm:function(){return l.zm}});var l=n(4471),a=n(93565),o=n(9726)},35759:function(e,t,n){"use strict";n.d(t,{C:function(){return l}});let l="setSelectionOrigin"},93565:function(e,t,n){"use strict";n.d(t,{U:function(){return o},Z:function(){return i}});var l=n(30764),a=n(11050);let o=(e,t)=>{let n=Array.isArray(t)?t:[t],a=l.p2.fromJSON(e.schema,{content:n});e.view.dragging={slice:a,move:!0},e.commands.setTextSelection(e.state.selection.from)},i=(e,t)=>{a.co.track(a.AA.NODE_INSERTED,{node_name:e.nodeName,command:e.key,method:t}),"card"===e.nodeName&&a.co.track(a.AA.CARD_CREATED,{method:t,command:e.key})}},27407:function(e,t,n){"use strict";n.d(t,{Y:function(){return M}});var l=n(52322),a=n(32981),o=n(26468),i=n(73751),r=n(54326),s=n(97217),d=n(28535),u=n(2338),c=n(85954),m=n(99903),f=n(5879),p=n(27191),g=n(2784),h=n(19431),b=n(16494),y=n(15636);let v=e=>{let{currentAttributes:t,updateAttributes:n,editor:l,isMounted:a}=e,o=(0,g.useRef)({currentAttributes:t,updateAttributes:n,sourceKey:t.source});o.current.currentAttributes=t,o.current.updateAttributes=n,(0,g.useEffect)(()=>{o.current.sourceKey=o.current.currentAttributes.source},[t.tempUrl,t.src]),(0,g.useEffect)(()=>{if(!l||a)return;let{src:e,tempUrl:t,uploadStatus:n}=o.current.currentAttributes;t&&!e&&n!==b.D.Uploading&&(console.log("[useUploadOnUnmount] uploading tempUrl:",t),o.current.updateAttributes({uploadStatus:b.D.Uploading,source:o.current.sourceKey}),(0,y.Sm)(l,t))},[l,a])};var k=n(20336),x=n(94090),w=n(24813),S=n(61840),C=n(98168),z=n(4878),A=n(93982),I=n(93691),j=n(65435),F=n(29560),B=n(51111);let M=g.memo(e=>{let{editor:t}=e;(0,z.F1)(t);let n=(0,z.LM)(t),{isConnected:b}=(0,h.$gs)(),y=(0,F.B)(),M=(0,x.CG)(A.hN),E=t.state.selection,_=(0,g.useMemo)(()=>(0,B.Q3)(t,E),[t,E]),{currentMediaDrawerSourceKey:O,setMediaDrawerSourceKeyAction:P,isQuickAction:T}=(0,w.jn)(),R=(0,x.CG)(A.tY),N=_&&(0,B.CK)(t,_.type),L=n&&!!(R&&N&&M),D=(0,g.useRef)(null),W=(0,g.useCallback)(()=>{y(!1),E instanceof p.qv&&t.chain().selectNodeAtPos(E.from,!1).focus().run()},[t,E,y]),U=(0,S.A)(t);(0,g.useEffect)(()=>{N||y(!1)},[N,y]),(0,g.useEffect)(()=>{L&&setTimeout(()=>{if(!D.current)return;let e=(0,c.t5)(D.current);e&&!(e.length<1)&&(0,m.T)(e[0],{nextTick:!0})},100)},[L,t]),(0,g.useEffect)(()=>{_&&(0,B.CK)(t,_.type)&&!T&&P(_.attrs.source||O)},[_,t,P,O,T]);let H=C.ah[O],G=(0,g.useCallback)(e=>{(0,B.Yc)({editor:t,selection:E,sourceKey:O,attrs:e,resizeToFit:H.resizeToFit})},[t,O,E,H.resizeToFit]),q=(null==_?void 0:_.attrs)||{};v({currentAttributes:q,updateAttributes:G,editor:t,isMounted:L});let V=(0,g.useCallback)(()=>{(0,B.Yc)({editor:t,selection:E,sourceKey:O,attrs:{source:O},nodeName:"mediaPlaceholder",resetAttrs:!0})},[O,E,t]),K=(0,I.g)(),Y=!!(b||H.availableOffline),$=(null==_?void 0:_.editType)||"node",J=(0,g.useCallback)(e=>(null==_?void 0:_.mediaType)==="embed"?"embed"===e.nodeName||"video"===e.nodeName:(null==_?void 0:_.mediaType)==="image"?"image"===e.nodeName:!!e.nodeName,[_]);return(0,l.jsxs)(a.d,{isOpen:L,onClose:W,size:K,trapFocus:!1,blockScrollOnMount:!1,children:[(0,l.jsx)(o.Z,{background:"none"}),(0,l.jsxs)(i.s,{onKeyDown:U,"data-in-editor-focus":!0,"data-testid":"media-drawer","data-test-media-source":O,children:[(0,l.jsx)(r.x,{children:(0,l.jsx)(f.cC,{id:"xYilR2"})}),(0,l.jsxs)(s.f,{children:[(0,l.jsx)(k.V,{isConnected:Y,label:(0,l.jsx)(f.cC,{id:"2y7sUG"}),mb:6}),(0,l.jsx)(j.M,{currentSource:H,onChange:e=>P(e,!0),isValidSource:J}),H&&(0,l.jsx)(d.xu,{ref:D,opacity:Y?1:.4,pointerEvents:Y?"initial":"none",children:(0,l.jsx)(H.Panel,{editor:t,updateAttributes:G,currentAttributes:q,resetToPlaceholder:V,editType:$})})]}),(0,l.jsx)(u.o,{"data-testid":"media-drawer-close"})]})]})});M.displayName="MediaDrawer"},65435:function(e,t,n){"use strict";n.d(t,{M:function(){return k}});var l=n(52322),a=n(10625),o=n(67046),i=n(62614),r=n(75009),s=n(28535),d=n(332),u=n(99058),c=n(44035),m=n(39237),f=n(38035),p=n(82554),g=n(42946),h=n(49929),b=n(2784),y=n(42111),v=n(98168);let k=b.memo(e=>{var t;let{currentSource:n,onChange:b,isValidSource:k}=e,x=null==n?void 0:null===(t=n.image)||void 0===t?void 0:t.src,w=(0,y.Zd)();return(0,l.jsxs)(a.v,{children:[(0,l.jsx)(o.j,{as:i.z,w:"100%",textAlign:"left",rightIcon:(0,l.jsx)(h.G,{icon:g.ptq}),leftIcon:x?(0,l.jsx)(r.E,{h:"1em",w:"1em",objectFit:"cover",src:x}):(null==n?void 0:n.icon)?(0,l.jsx)(h.G,{icon:null==n?void 0:n.icon,color:"var(--chakra-colors-trueblue-600)",fixedWidth:!0}):void 0,mb:6,children:(0,l.jsx)(s.xu,{noOfLines:1,wordBreak:"break-all",overflowX:"hidden",textOverflow:"ellipsis",children:(null==n?void 0:n.label())||"Source"})}),(0,l.jsx)(d.h,{children:(0,l.jsx)(u.q,{zIndex:"modalPopover",maxH:"60vh",overflowY:"auto",pos:"relative",children:Object.entries(v.dz).map(e=>{var t;let[a,o]=e,i=o.filter(e=>!(e.checkDisabled&&e.checkDisabled())&&!e.disabled&&(!e.featureFlag||!!w[e.featureFlag])&&k(e));return 0===i.length?null:(0,l.jsx)(c._,{title:null!==(t=v.X8[a]())&&void 0!==t?t:a,type:"radio",onChange:b,value:null==n?void 0:n.key,children:i.map(e=>{let{label:t,key:n,icon:a,image:o,badge:i}=e;return(0,l.jsx)(m.i,{value:n,children:(0,l.jsxs)(f.k,{direction:"row",align:"center",children:[o?(0,l.jsx)(r.E,{display:"inline",mr:2,h:"1em",w:"1em",objectFit:"contain",src:o.src}):a?(0,l.jsx)(s.xu,{display:"inline",mr:2,color:"trueblue.600",children:(0,l.jsx)(h.G,{icon:a})}):(0,l.jsx)(l.Fragment,{}),t(),i&&(0,l.jsx)(p.C,{ml:2,colorScheme:"green",children:i()})]})},n)})},a)})})})]})});k.displayName="MediaDrawerMenu"},38769:function(e,t,n){"use strict";n.d(t,{Fk:function(){return d},RF:function(){return s},W7:function(){return r},c9:function(){return i},p7:function(){return u}});var l=n(58125);let a={currentSourceKey:"image.ai-generated",overrideDefault:!1},o=(0,l.oM)({name:"MediaDrawer",initialState:a,reducers:{setCurrentSourceKey(e,t){e.currentSourceKey=t.payload.sourceKey,void 0!==t.payload.overrideDefault?e.overrideDefault=t.payload.overrideDefault:e.overrideDefault=!1},resetCurrentSourceKey(e){e.currentSourceKey=a.currentSourceKey,e.overrideDefault=a.overrideDefault}}}),{setCurrentSourceKey:i,resetCurrentSourceKey:r}=o.actions,s=e=>e.MediaDrawer.currentSourceKey,d=e=>e.MediaDrawer.overrideDefault,u=o.reducer},29560:function(e,t,n){"use strict";n.d(t,{B:function(){return r},T:function(){return i}});var l=n(2784),a=n(94090),o=n(93982);let i=()=>{let e=(0,a.bh)();if(!e){console.error("[MediaDrawer].openMediaDrawer: can't open because getStore() returned ".concat(e));return}e.dispatch((0,o.AK)({isEditingMedia:!0}))},r=()=>{let e=(0,a.qr)();return(0,l.useCallback)(t=>{e.dispatch((0,o.AK)({isEditingMedia:t}))},[e])}},51111:function(e,t,n){"use strict";n.d(t,{CK:function(){return m},Q3:function(){return u},Yc:function(){return c}});var l=n(30764),a=n(27191),o=n(66855),i=n(26282),r=n(32273),s=n(11093),d=n(98168);let u=(e,t,n)=>{if(t instanceof a.qv){let a=null!=n?n:t.node,c=(0,s.j0)(e,a.type);if(c&&c.config.accessoryImageKey){var l,o,d,u;let e=c.config.accessoryImageKey,n=null!==(l=a.attrs[e])&&void 0!==l?l:{};if(!n.source&&(0,i.G)(t.$from.parent)){let l=(0,r.P)(t.$from.parent.attrs.variantKey);if(null===(d=l.defaultAttrs)||void 0===d?void 0:null===(o=d[e])||void 0===o?void 0:o.source)n.source=l.defaultAttrs[e].source;else{let l=(0,s.Jn)(t.$from.parent.content).find(t=>{var n;return null===(n=t.attrs[e])||void 0===n?void 0:n.source});n.source=null==l?void 0:null===(u=l.attrs[e])||void 0===u?void 0:u.source}}return{attrs:n,type:a.type,editType:"accessory",mediaType:"image",accesoryKeyPath:e}}return{editType:"node",...a}}if(t instanceof a.Bs&&t.to-t.from==1&&t.$from.nodeAfter){let e=null!=n?n:t.$from.nodeAfter;return{editType:"node",...e}}return t instanceof a.Bs&&e.isActive("link")?{attrs:e.getAttributes("link"),type:e.schema.marks.link,mediaType:"embed"}:null},c=e=>{let t,{editor:n,selection:i,sourceKey:r,attrs:s,nodeName:c,resetAttrs:m,resizeToFit:f}=e,{from:p}=i,g=u(n,i);if(g){if(m)t={};else if(g.type instanceof l.ZU)t=g.attrs;else{var h;let e=n.state.doc.nodeAt(p);if(!e||e.type!==g.type){console.error("[updateSelectedMedia] Node has moved, cant update");return}t=(null===(h=u(n,i,e))||void 0===h?void 0:h.attrs)||{}}}else{console.error("[updateSelectedMedia] No selectedMedia to update");return}let b={...t,source:r,...s};if(f&&"node"===g.editType&&(b=(0,o.UZ)(b)),(null==g?void 0:g.type.name)==="link"){b.href=b.href||b.sourceUrl;let{from:e,to:t}=i;n.chain().extendMarkRange("link").updateAttributes("link",b).setTextSelection({from:e,to:t}).run();return}if(g.accesoryKeyPath){n.chain().updateAttributesAtPos(p,{[g.accesoryKeyPath]:b}).run();return}let y=d.ah[b.source],v=c||y.nodeName;v&&n.commands.command(e=>{let{tr:t,state:n}=e,l=n.schema.nodes[v];return!!l&&(t.setNodeMarkup(p,l,b).setSelection(a.qv.create(t.doc,p)).setMeta("annotationEvent",{type:"update-node-attrs",pos:p}),!0)})},m=(e,t)=>{let n=(0,s.j0)(e,t);return!!n&&!!n.config.accessoryImageKey||(t instanceof l.Jq?(0,o.vb)(t):t instanceof l.ZU&&"link"===t.name)}},93691:function(e,t,n){"use strict";n.d(t,{g:function(){return o}});var l=n(96933);let a={base:"md","2xl":"lg"},o=()=>(0,l.i)(a)},86076:function(e,t,n){"use strict";n.d(t,{u:function(){return le}});var l,a=n(52322),o=n(28535),i=n(29117),r=n(94523),s=n(72338),d=n(27191),u=n(2784),c=n(19585),m=n(15468),f=n(35503),p=n(27835),g=n(26282),h=n(59080),b=n(91073),y=n(10653),v=n(77220);let k=e=>{let t=(0,u.useRef)(null),n=(0,y.nm)(),{editor:l,tippyOptions:o,onHide:i,targetElement:r}=e;return(0,u.useEffect)(()=>{l&&l.commands.command(e=>{let{tr:l}=e;return l.setMeta(v.eq,{element:t.current,tippyOptions:o,panelLifecycle:n,onHide:i,targetElement:r}),!0})},[l,o,n,i,r]),(0,a.jsx)("div",{ref:t,className:e.className,style:{visibility:"hidden"},children:e.children})};var x=n(66855),w=n(4878),S=n(42946),C=n(54933),z=n(87254),A=n(17630),I=n(5879),j=n(29679);let F=e=>{let{editor:t,handleDelete:n}=e,l=(0,u.useCallback)(()=>{t.chain().deleteSelectionAndSelectNear().run()},[t]);return(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"cnGeoo"}),icon:S.XAH,onClick:n||l,testId:"delete-node-button",color:"red.500"})};var B=n(57618),M=n(85573),E=n(94090),_=n(71173),O=n(84875),P=n(56581),T=n(10625),R=n(67046),N=n(62614),L=n(99058),D=n(36371),W=n(73582),U=n(2969),H=n(3181),G=n(13272),q=n(43297),V=n(77533),K=n(38035),Y=n(49929),$=n(98621),J=n.n($),X=n(56250),Z=n(86787),Q=n(11093);let ee=(e,t)=>{let n=new Set;for(let l of e)if(n.add(l[t]),n.size>1)return!1;return[...n][0]},et=(e,t,n)=>ee(function(e,t){let n=function(e,t){if("string"==typeof e){if(!t.marks[e])throw Error("There is no mark type named '".concat(e,"'. Maybe you forgot to add the extension?"));return t.marks[e]}return e}(t,e.schema),{from:l,to:a,empty:o}=e.selection,i=[];return o?(e.storedMarks&&i.push(...e.storedMarks),i.push(...e.selection.$head.marks())):e.doc.nodesBetween(l,a,e=>{i.push(...e.marks)}),i.filter(e=>e.type.name===n.name).map(e=>({...e.attrs}))}(e,t),n);var en=n(66028),el=n(42487);let ea=e=>{let{editor:t,isLinkText:n,defaultTextColor:l}=e,a=er(t,l,n),o=es(t,n),i=n&&t.state.selection.empty,r=(0,u.useCallback)(e=>{i?t.chain().focus().extendMarkRange("link").setHighlightColor(e).setTextSelection({from:t.state.selection.from,to:t.state.selection.to}).run():t.chain().focus().setHighlightColor(e).run()},[t,i]),s=(0,u.useCallback)(e=>{i?t.chain().focus().extendMarkRange("link").setTextColor(e).setTextSelection({from:t.state.selection.from,to:t.state.selection.to}).run():t.chain().focus().setTextColor(e).run()},[t,i]),d=(0,u.useCallback)(()=>{i?t.chain().focus().extendMarkRange("link").unsetMark("textColor").unsetMark("highlight").setTextSelection({from:t.state.selection.from,to:t.state.selection.to}).run():t.chain().focus().unsetMark("textColor").unsetMark("highlight").run()},[t,i]);return{highlightColor:o,resetColorAndHighlight:d,setHighlightColor:r,setTextColor:s,textColor:a}},eo=e=>{let{editor:t,defaultTextColor:n,testId:l,disabled:o,useMenuButton:i=!1,isLinkText:s=!1}=e,{textColor:d,highlightColor:u,setHighlightColor:c,setTextColor:m,resetColorAndHighlight:f}=ea({editor:t,isLinkText:s,defaultTextColor:n});return(0,a.jsxs)(T.v,{isLazy:!0,onClose:()=>(0,el.L)(t),children:[i?(0,a.jsx)(X.t,{color:u.color||d.color||void 0,isDefaultColor:!u.color&&"default"===d.state,disabled:o,"data-testid":l,isMixed:"mixed"===u.state||"mixed"===d.state}):(0,a.jsx)(r.kH,{placement:"top",label:(0,a.jsx)(I.cC,{id:"76ESgh"}),children:(0,a.jsx)(R.j,{isDisabled:o,as:N.z,variant:"toolbar",rightIcon:(0,a.jsx)(Y.G,{icon:S.ptq,transform:"shrink-6"}),"data-testid":l,onMouseDown:en.br,size:"sm",children:(0,a.jsx)(ed,{color:u.color||d.color||void 0})})}),(0,a.jsx)(L.q,{overflow:"hidden",children:(0,a.jsxs)(D.m,{isFitted:!0,variant:"soft-rounded",size:"md",defaultIndex:u.color?1:0,children:[(0,a.jsxs)(W.t,{children:[(0,a.jsx)(U.O,{children:(0,a.jsx)(r.kH,{label:(0,a.jsx)(I.cC,{id:"xeiujy"}),placement:"top",children:(0,a.jsx)(Y.G,{icon:S.yGG})})}),(0,a.jsx)(U.O,{children:(0,a.jsx)(r.kH,{label:(0,a.jsx)(I.cC,{id:"gtEbeW"}),placement:"top",children:(0,a.jsx)(Y.G,{icon:S.hjM})})})]}),(0,a.jsxs)(H.n,{children:[(0,a.jsx)(G.x,{p:0,pt:2,children:(0,a.jsx)(Z.M,{currentColor:d.color||null,setColor:m,unsetColor:f,source:"TextColor"})}),(0,a.jsx)(G.x,{p:0,pt:2,children:(0,a.jsx)(Z.M,{currentColor:u.color||"",setColor:c,unsetColor:f,source:"TextHighlight"})})]})]})})]})},ei=e=>{let{from:t}=e.state.selection,n=e.view.domAtPos(t),l=n.node instanceof HTMLElement?n.node:n.node.parentElement;if(!l)return null;let a=getComputedStyle(l),o=a.getPropertyValue("color");return o&&"rgba(0, 0, 0, 0)"!==o?J()(o).toHexString().toUpperCase():null},er=(e,t,n)=>{let{selection:l,doc:a,schema:o}=e.state,{from:i,to:r}=l,s=n?(0,Q.ro)(a,i,r,o.marks.highlight):a.rangeHasMark(i,r,o.marks.highlight),d=n?(0,Q.ro)(a,i,r,o.marks.textColor):a.rangeHasMark(i,r,o.marks.textColor);if(s)return{state:null,color:null};if(!d)return{state:"default",color:t||ei(e)};{let n=et(e.state,"textColor","hex");return n?{state:null,color:n}:{state:"mixed",color:t||null}}},es=(e,t)=>{let{selection:n,doc:l,schema:a}=e.state,{from:o,to:i}=n,r=t?(0,Q.ro)(l,o,i,a.marks.highlight):l.rangeHasMark(o,i,a.marks.highlight),s=t?(0,Q.ro)(l,o,i,a.marks.textColor):l.rangeHasMark(o,i,a.marks.textColor);if(s)return{state:null,color:null};if(!r)return{state:"default",color:null};{let t=et(e.state,"highlight","hex");return t?{state:null,color:t}:{state:"mixed",color:null}}},ed=e=>{let{color:t,fixedWidth:n,isChecked:l}=e;return(0,a.jsxs)(q.K,{spacing:"2px",children:[(0,a.jsx)(V.x,{children:l?(0,a.jsx)(P.n,{}):(0,a.jsx)(Y.G,{icon:C.yGG,fixedWidth:n,size:t?"sm":void 0,transform:{y:t?3:0}})}),t&&(0,a.jsx)(K.k,{w:5,h:1.5,bg:t,borderRadius:"sm",borderWidth:"1px",borderColor:"blackAlpha.400"})]})};var eu=n(93982),ec=n(15425),em=n(29560),ef=n(75768),ep=n(44035),eg=n(39237),eh=n(3452),eb=n(29097),ey=n(28390);let ev=()=>({link:{title:z.ag._({id:"yzF66j"})},preview:{title:z.ag._({id:"rdUucN"})},inline:{title:z.ag._({id:"HY4nP5"})}}),ek=e=>{let{editor:t,selection:n,isDisabled:l}=e,o=n instanceof d.Bs?"link":n.node.type.name,i="link"===o,r=t.getAttributes(o),{embed:s,source:c}=r,m=(0,eb.v0)(c||void 0),f="embed.twitter"===m.key,p=ev(),g=(0,u.useCallback)(e=>{if("link"===o&&"link"!==e)t.commands.convertLinkToMedia(e);else if("link"===e){t.commands.convertMediaToLink();return}t.commands.updateAttributes(o,{displayStyle:e})},[t,o]);if("href"in r&&(0,O.H7)(r.href)||f)return null;let h=i?"link":"displayStyle"in r&&r.displayStyle||"inline";return(0,a.jsxs)(T.v,{closeOnSelect:!0,isLazy:!0,autoSelect:!1,children:[(0,a.jsx)(R.j,{isDisabled:l,size:"sm",as:N.z,rightIcon:(0,a.jsx)(Y.G,{icon:S.ptq,transform:"shrink-6"}),variant:"toolbar",pl:2,onMouseDown:en.br,"data-testid":"display-style-dropdown",children:p[h].title}),(0,a.jsx)(L.q,{children:(0,a.jsx)(ep._,{type:"radio",onChange:g,value:h,children:Object.entries(p).map(e=>{let[t,{title:n}]=e;return(0,a.jsx)(eg.i,{value:t,onMouseDown:en.br,"data-testid":"display-style-option-".concat(t),children:(0,a.jsx)(V.x,{children:n})},t)})})})]})},ex=e=>{let{href:t,updateHref:n,unlink:l,editor:o,allowEditMetadata:r=!1}=e,s=(0,u.useRef)(null),[d,c]=(0,u.useState)(t),m=(0,E.CG)(eu.xb),f=(0,Q.NC)(t,m),p=e=>{if(!e)return;let t=!(0,ec.kr)(e)&&!(0,O.H7)(e),l=t?"http://"+e:e;if(!(0,ec.jv)(l)){n("");return}n(l)},g=(0,u.useCallback)(()=>{try{window.open(t,"_blank")}catch(e){console.error("(caught) Link Formatting Menu error",e)}},[t]),h=(0,u.useCallback)(e=>{if(!f)return;let n=(0,Q.g)(t);(0,_.l)(o,e,n)},[o,t,f]);(0,u.useEffect)(()=>{!t&&s.current&&setTimeout(()=>{var e;null==s||null===(e=s.current)||void 0===e||e.focus()})},[t]),(0,u.useEffect)(()=>{c(t)},[t]);let b=(0,em.B)(),y=(0,u.useCallback)(e=>{b(!0),e.stopPropagation()},[b]);return(0,a.jsxs)(i.U,{spacing:2,py:1,mx:2,children:[(0,a.jsx)(M.I,{value:d,ref:s,onChange:e=>c(e.target.value),onBlur:()=>{p(d)},onKeyPress:e=>{"Enter"===e.key&&(p(d),o.commands.focus())},placeholder:z.ag._({id:"Ilf1mg"}),width:"250px",size:"sm","data-testid":"link-input"}),l&&(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"484LKL"}),icon:S.AE2,onClick:l}),f&&(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"9FNPgA"}),icon:S.eFW,onClick:h}),t&&(0,a.jsx)(j.h,{label:f?(0,a.jsx)(I.cC,{id:"RMJwZi"}):(0,a.jsx)(I.cC,{id:"fOj0+R"}),icon:S.gJF,onClick:g}),t&&r&&(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"ePK91l"}),icon:S.Xcf,onClick:y})]})},ew=()=>[{name:z.ag._({id:"bjuYAW"}),key:"solid",icon:C.r9b},{name:z.ag._({id:"bCuf07"}),key:"outline",icon:S.r9b}];var eS=n(98081);let eC=e=>{let{editor:t,attrs:n,selection:l}=e,o=(0,eS.ri)(),i=o[n.variant],s=i?i.icon:S.L4e;return(0,a.jsxs)(T.v,{isLazy:!0,onClose:()=>(0,el.L)(t),children:[(0,a.jsx)(r.kH,{placement:"top",label:(0,a.jsx)(I.cC,{id:"H8b4pf"}),"aria-label":z.ag._({id:"H8b4pf"}),children:(0,a.jsx)(R.j,{as:N.z,variant:"toolbar",rightIcon:(0,a.jsx)(Y.G,{icon:S.ptq,transform:"shrink-6"}),size:"sm",onMouseDown:en.br,children:(0,a.jsx)(Y.G,{icon:s})})}),(0,a.jsx)(L.q,{maxW:"auto",children:(0,a.jsxs)(ef.h,{flex:"row",alignItems:"center",children:[Object.entries(o).map(e=>{let[o,{name:i,icon:r}]=e;return(0,a.jsx)(j.h,{label:i,icon:r,isActive:n.icon&&n.variant===o,onClick:()=>{t.chain().focus().updateAttributes("calloutBox",{variant:o,icon:!0}).selectNodeAtPos(l.from).run()}},i)}),(0,a.jsx)(B.w,{}),(0,a.jsx)(j.h,{label:n.icon?(0,a.jsx)(I.cC,{id:"Cs6LHm"}):(0,a.jsx)(I.cC,{id:"pjF2Hd"}),icon:S.gPx,isActive:!n.icon,onClick:()=>{t.chain().focus().updateAttributes("calloutBox",{icon:!n.icon}).selectNodeAtPos(l.from).run()}},"icon")]})})]})};var ez=n(12336),eA=n(70065),eI=n(11082),ej=n(56143),eF=n(43019),eB=n(29957),eM=n(91253),eE=n(42111),e_=n(11550),eO=n(15349),eP=n(92850),eT=n(26468),eR=n(55199),eN=n(54326),eL=n(82554),eD=n(2338),eW=n(74008),eU=n(97217),eH=n(17993),eG=n(50250),eq=n(14274),eV=n(11050),eK=n(50019),eY=n(36474);let e$=e=>{let{formatLabel:t,icon:n,accentColor:l,onClick:o,exportInProgress:i,exportInProgressNote:r,badge:s}=e,d=(0,eK.ff)("gray.50","whiteAlpha.100"),u=(0,eK.ff)("gray.200","gray.700"),c=(0,eK.ff)("".concat(l,".100"),"".concat(l,".500")),m=(0,eK.ff)("gray.200","gray.700"),f=(0,eK.ff)("".concat(l,".500"),"".concat(l,".200")),p=(0,eK.ff)("gray.500","gray.300"),g=(0,eK.ff)("var(--chakra-colors-".concat(l,"-300)"),"var(--chakra-colors-".concat(l,"-700)")),h=(0,eK.ff)("var(--chakra-colors-".concat(l,"-700)"),"var(--chakra-colors-".concat(l,"-300)"));return(0,a.jsxs)(K.k,{alignItems:"stretch",overflow:"hidden",onClick:o,borderRadius:"md",border:"1px",borderColor:(0,eK.ff)("gray.200","gray.700"),bgColor:i?u:d,cursor:i?"progress":void 0,disabled:i,as:"button",transitionProperty:"common",transitionDuration:"normal",_hover:i?{}:{boxShadow:"var(--chakra-shadows-md)",borderColor:g,color:h},children:[(0,a.jsx)(K.k,{bgColor:i?m:c,color:"".concat(i?p:f),width:16,minH:16,alignItems:"center",justifyContent:"center",fontSize:"2xl",children:(0,a.jsx)(Y.G,{icon:n,fixedWidth:!0})}),(0,a.jsxs)(q.K,{alignItems:"flex-start",spacing:0,p:4,justifyContent:"center",children:[(0,a.jsxs)(V.x,{fontWeight:"medium",children:[(0,a.jsx)(I.cC,{id:"i3Tbgc",values:{formatLabel:t}})," ",s]}),i&&(0,a.jsxs)(V.x,{color:"gray.600",fontSize:"xs",children:[(0,a.jsx)(I.cC,{id:"wRvCQ6",values:{formatLabel:t}})," ",r]})]}),(0,a.jsx)(eY.L,{}),!i&&(0,a.jsx)(K.k,{alignItems:"center",pl:4,pr:6,children:(0,a.jsx)(Y.G,{icon:S.fuY,size:"1x"})})]})};var eJ=n(69747);let eX=e=>{let{isOpen:t,onClose:n,cardId:l,editor:o}=e,i=(0,eV.z$)(),[r,s]=(0,u.useState)(!1),[d,c]=(0,u.useState)(!1),m=(0,eA.p)(),f=(0,u.useRef)(null),p=(0,u.useCallback)(()=>{f.current&&m.update(f.current,{status:"success",title:(0,a.jsx)(I.cC,{id:"enJ/4m"}),description:(0,a.jsx)(V.x,{children:(0,a.jsx)(I.cC,{id:"IxXthU"})}),duration:3e3,isClosable:!0})},[m]),g=(0,u.useCallback)(()=>{f.current&&m.update(f.current,{title:(0,a.jsx)(I.cC,{id:"FE5kcD"}),status:"error",duration:null,isClosable:!0})},[m]),h=(0,u.useCallback)(async e=>{switch(e){case"png":s(!0);break;case"jpeg":c(!0)}let t=o.getJSON(),n="".concat(eq.v.API_HOST,"/export/cards/").concat(l,"/image");f.current=m({id:"export-toast-".concat(l,"-").concat(e),isClosable:!1,position:"top",duration:null,status:"loading",variant:"light",title:(0,a.jsx)(I.cC,{id:"yvVnEI"})});try{var r;let a=await fetch(n,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({docContent:t,fileType:e})}),o=await a.blob();if(!a.ok)throw Error("Export failed.");let d=window.URL.createObjectURL(o),u=document.createElement("a"),m=decodeURIComponent((null===(r=(a.headers.get("Content-Disposition")||"").split(";").find(e=>e.includes("filename=")))||void 0===r?void 0:r.replace("filename=","").trim())||"".concat(l,".").concat(e));u.download=m,u.href=d,document.body.appendChild(u),u.click(),u.remove(),null==i||i.track(eV.AA.CARD_EXPORTED,{cardId:l,format:"image",fileType:e}),setTimeout(()=>{switch(e){case"png":s(!1);break;case"jpeg":c(!1)}p()},300)}catch(e){g()}finally{s(!1),c(!1)}},[i,l,o,g,p,m]);return(0,a.jsxs)(eP.u_,{isOpen:t,onClose:n,size:"lg",children:[(0,a.jsx)(eT.Z,{}),(0,a.jsxs)(eR.h,{children:[(0,a.jsxs)(eN.x,{children:[(0,a.jsx)(I.cC,{id:"xRJ+bN"}),(0,a.jsx)(eL.C,{colorScheme:"green",fontSize:"lg",ml:2,children:(0,a.jsx)(I.cC,{id:"YBt9YP"})})]}),(0,a.jsx)(eD.o,{}),(0,a.jsx)(eW.i,{}),(0,a.jsx)(eU.f,{pt:"6",children:(0,a.jsxs)(eH.g,{spacing:4,align:"start",children:[(0,a.jsx)(q.K,{spacing:2,w:"100%",children:(0,a.jsx)(e$,{onClick:()=>h("png"),exportInProgress:r,exportInProgressNote:(0,a.jsx)(I.cC,{id:"SJjTti"}),accentColor:"purple",icon:S.VmB,formatLabel:"PNG"})}),(0,a.jsx)(V.x,{fontSize:"sm",color:"gray.600",children:(0,a.jsx)(I.cC,{id:"8LhjM/",components:{0:(0,a.jsx)(N.z,{variant:"link",as:"span",size:"sm",cursor:"pointer",onClick:()=>{n(),eJ.pw.emit(eJ.TI.OPEN_PAGE_SETUP,"cards")}})}})})]})}),(0,a.jsx)(eG.m,{children:(0,a.jsx)(ef.h,{children:(0,a.jsx)(N.z,{onClick:()=>{n()},children:(0,a.jsx)(I.cC,{id:"DPfwMq"})})})})]})]})};var eZ=n(26284);let eQ=(0,u.memo)(e=>{let{isLocked:t,isDark:n=!1}=e;return(0,a.jsxs)(o.xu,{as:"span",className:"fa-layers fa-fw",children:[(0,a.jsx)(Y.G,{icon:S.nNP}),t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Y.G,{icon:C.diR,color:n?"var(--chakra-colors-gray-900)":"var(--chakra-colors-gray-50)",transform:"shrink-3 right-6 down-6"}),(0,a.jsx)(Y.G,{icon:C.byT,transform:"shrink-8 right-6 down-6"})]})]})});eQ.displayName="CardLinkIcon";let e0=()=>{var e,t;let n=(0,E.CG)(eu.yx);if(!n)return!1;let l=eq.v.SHARE_TOKEN,a=null!==n.publicAccess,o=null===(e=n.accessLinks)||void 0===e?void 0:e.some(e=>""===e.token),i=null===(t=n.accessLinks)||void 0===t?void 0:t.some(e=>null===e.permission);return!!a||!!l||!!o&&!i};var e1=n(90604),e2=n(78462);let e4=e=>{let{attrs:t}=e,n=(0,E.CG)(eu.gh),l=(0,E.CG)(eu.yx),o=t.id,i=(0,e2.gq)({cardId:o,docId:null==l?void 0:l.id,isPresentMode:n===e1.q.SLIDE_VIEW}),r=(0,eA.p)(),{onCopy:s}=(0,eZ.V)(i),d=(0,u.useCallback)(e=>{var t;if(e.target&&(null===(t=e.target)||void 0===t?void 0:t.closest('[data-testid="open-share"]'))){e.preventDefault();return}s(),r({title:z.ag._({id:"BVYvMa"}),status:"success",duration:3e3,position:"top"})},[s,r]),c=e0();return(0,a.jsx)(j.h,{onClick:d,label:c?(0,a.jsx)(I.cC,{id:"F0YmUY"}):(0,a.jsxs)(q.K,{spacing:"0",children:[(0,a.jsx)(V.x,{children:(0,a.jsx)(I.cC,{id:"afMspw"})}),(0,a.jsx)(V.x,{fontSize:"xxs",color:"gray.400",children:(0,a.jsx)(I.cC,{id:"OpeWZK"})})]}),children:(0,a.jsx)(eQ,{isLocked:!c})})};var e5=n(32899),e3=n(21004),e9=n(96214),e8=n(36783),e7=n(13793);let e6=e=>{let{editor:t,selection:n,decorations:l}=e,{node:o,from:i}=n,s=o.attrs,d=(0,e8.en)(l),c=(0,e9.U)(s,null==d?void 0:d.layout),m=(0,u.useCallback)(e=>{i&&t.commands.updateAttributesAtPos(i,{fitType:e})},[t,i]),f="fit"===c;return(0,a.jsx)(r.kH,{label:f?(0,a.jsx)(I.cC,{id:"sShDhp"}):(0,a.jsx)(I.cC,{id:"VPxUGR"}),placement:"top",children:(0,a.jsx)(e5.h,{variant:f?"activeToolbar":"toolbar",size:"sm",icon:(0,a.jsx)(Y.G,{icon:S.JXm}),onClick:()=>m(f?"fill":"fit"),boxSize:7,p:0,my:0,"aria-label":z.ag._({id:"l1XNCT"}),isActive:f})})};var te=n(18292),tt=n(43679),tn=n(34071),tl=n(39429),ta=n(48394),to=n(82729),ti=n(75009),tr=n(27875),ts=n.n(tr),td=n(68015),tu=n.n(td),tc=n(46795),tm=n(87205),tf=n(59366);let tp=e=>{let[t,n]=(0,u.useState)(null);return(0,u.useEffect)(()=>((()=>{let t=new Image;t.src=e,t.onload=()=>{let{naturalWidth:e,naturalHeight:l}=t;n(e/l)}})(),()=>{n(null)}),[e]),t},tg=(e,t,n)=>{let l=e.view.domAtPos(t);if(!l)return;let{node:a,offset:o}=l,i=a.childNodes[o],r=i.querySelector("[data-change-focus-point-el]");r&&(r.style.backgroundPosition=n?"".concat(n.x,"% ").concat(n.y,"%"):"")},th=e=>{var t;return null===(t=(0,tf.XU)(e))||void 0===t?void 0:t.backgroundPos},tb=(e,t,n)=>{if(!t||!n)return;let l=(0,tc.XV)(e.state,n);if(!l){console.error("ChangeFocusPoint - relative pos is null");return}tg(e,l,null);let a=e.state.doc.nodeAt(l);if(!a)return;let o=(0,tf.XU)(a),i=(0,tf.j6)(a,{...o,backgroundPos:t});e.commands.updateAttributesAtPos(l,i)},ty=e=>{let{editor:t,pos:n,node:l}=e,a=(0,u.useRef)(null),o=(0,u.useRef)(null),i=(0,u.useRef)(null),[r,s]=(0,u.useState)(!1),d=(0,u.useRef)(),c=(0,u.useCallback)(e=>{let l=a.current;if(l){if(d.current=e,!e){l.style.left="calc(50% - 10px)",l.style.top="calc(50% - 10px)",s(!1);return}l.style.left="calc(".concat(e.x,"% - 10px)"),l.style.top="calc(".concat(e.y,"% - 10px)"),tg(t,n,e),s(50!==e.x||50!==e.y)}},[t,n]),{onOpen:m,onClose:f,isOpen:p}=(0,te.q)(),g=(0,u.useCallback)(()=>{c(th(l)),m()},[l,m,c]),h=(0,u.useCallback)(()=>{let e={x:50,y:50};c(e);let l=(0,tc.jS)(t.state,n);tb(t,e,l)},[c,t,n]),b=(0,u.useCallback)(e=>{let t=o.current;if(!t)return;let n=t.getBoundingClientRect(),l=n.width,a=n.height,i=(e.clientX-n.left)/l,r=(e.clientY-n.top)/a;c({x:tu()(100*ts()(i,0,1),2),y:tu()(100*ts()(r,0,1),2)})},[c]);return(0,u.useEffect)(()=>{let e=a.current,l=o.current;if(!e||!l)return;i.current=(0,tc.jS)(t.state,n);let r=()=>{l.addEventListener("mousemove",b),window.addEventListener("mouseup",s)},s=()=>{l.removeEventListener("mousemove",b),window.removeEventListener("mouseup",s),tb(t,d.current,i.current)};return e.addEventListener("mousedown",r),()=>{e.removeEventListener("mousedown",r)}},[t,b,n]),(0,u.useEffect)(()=>{let e=o.current;if(!e)return;i.current=(0,tc.jS)(t.state,n);let l=t=>{e.addEventListener("mousemove",b),window.addEventListener("mouseup",a),b(t)},a=()=>{e.removeEventListener("mousemove",b),window.removeEventListener("mouseup",a),tb(t,d.current,i.current)};return e.addEventListener("mousedown",l),()=>{e.removeEventListener("mousedown",l)}},[t,b,n]),{onOpen:g,onClose:f,isOpen:p,dotRef:a,dotContainerRef:o,canReset:r,resetDotPosition:h}},tv=e=>{let{editor:t,pos:n,node:l,isDisabled:i=!1}=e,{onOpen:s,onClose:d,isOpen:u,dotRef:c,dotContainerRef:m,canReset:f,resetDotPosition:p}=ty({editor:t,pos:n,node:l}),g=(0,tf.XU)(l),h=(null==g?void 0:g.src)||(null==g?void 0:g.tempUrl),b=tp(h);return(0,a.jsxs)(tt.J,{strategy:"absolute",placement:"top",isOpen:u,onOpen:s,onClose:d,children:[(0,a.jsx)(r.kH,{label:(0,a.jsx)(I.cC,{id:"BmxaoW"}),placement:"top",children:(0,a.jsx)(o.xu,{my:1,children:(0,a.jsx)(tn.x,{children:(0,a.jsx)(e5.h,{variant:"toolbar",size:"sm",icon:(0,a.jsx)(Y.G,{icon:S.YhY}),boxSize:7,p:0,my:0,isDisabled:i,"aria-label":z.ag._({id:"BmxaoW"})})})})}),(0,a.jsx)(tl.y,{children:(0,a.jsx)(ta.b,{p:1,children:(0,a.jsxs)(o.xu,{ref:m,userSelect:"none",position:"relative",children:[(0,a.jsx)(o.xu,{ref:c,borderRadius:"full",boxSize:5,pos:"absolute",zIndex:"overlay",border:"2px solid",borderColor:"gray.100",pointerEvents:"none",boxShadow:"0 0 0 2px rgba(0,0,0,.1)",bg:"white"}),h&&(0,a.jsx)(to.o,{maxW:"300px",ratio:b||1,position:"relative",children:(0,a.jsx)(ti.E,{pointerEvents:"none",src:(0,tm.SN)(h,tm.Iv,g.meta),fallbackSrc:h,objectFit:"cover",position:"absolute",top:0,left:0,width:"100%",height:"100%"})}),(0,a.jsx)(N.z,{opacity:f?1:0,pos:"absolute",bottom:3,right:3,variant:"plain",size:"xs",onClick:p,children:(0,a.jsx)(I.cC,{id:"OfhWJH"})})]})})})]})};var tk=n(85420),tx=n(45546);let tw=e=>{let{onClick:t=()=>{},...n}=e;return(0,a.jsx)(j.h,{label:(0,a.jsxs)(K.k,{alignItems:"center",justifyContent:"center",children:[(0,a.jsx)(I.cC,{id:"ylbfBl"}),(0,a.jsx)(tk.J,{type:"removeBackground",ml:2,color:"gray.400"})]}),onClick:t,...n,children:(0,a.jsxs)(o.xu,{as:"span",className:"fa-layers fa-fw",children:[(0,a.jsx)(Y.G,{icon:S.Q4_,size:"lg"}),(0,a.jsx)(Y.G,{icon:C.ILF,size:"xs",transform:"shrink-5"})]})})},tS=e=>{let{editor:t,decorations:n}=e,l=(0,e8.en)(n),{startRemoveBg:o,isRemoveBgLoading:i}=(0,tx.tk)({editor:t,id:null==l?void 0:l.cardId});return(0,a.jsx)(tw,{onClick:o,disabled:i})};var tC=n(50260),tz=n(58151),tA=n(41098),tI=n(42822);let tj="14px",tF="28px",tB=e=>{let{label:t,withSidePadding:n=!1,children:l,...o}=e;return(0,a.jsxs)(q.K,{direction:"row",spacing:3,...o,children:[t&&(0,a.jsx)(q.K,{alignSelf:"center",justifyContent:"start",minWidth:l?"max-content":"100%",h:tF,pl:n?tj:void 0,children:(0,a.jsx)(K.k,{justifyContent:"flex-start",alignItems:"center",width:"100%",height:"100%",children:t})}),l&&(0,a.jsx)(q.K,{alignSelf:"center",width:"100%",pr:n?tj:void 0,h:tF,children:(0,a.jsx)(K.k,{justifyContent:"flex-end",alignItems:"center",width:"100%",height:"100%",children:l})})]})},tM=e=>{let{editor:t}=e;return(0,a.jsx)(ef.h,{spacing:1,size:"sm",children:A.Ec.map(e=>{let{name:n,icon:l,checkActive:o,apply:i}=e;if(o&&i)return(0,a.jsx)(j.h,{label:n(),icon:l,onClick:()=>{i(t)},isActive:o(t),my:0},n())})})};var tE=n(83906);let t_=e=>{let{contributors:t,hiddenContributorIds:n,toggleOneVisibleContributor:l,toggleAllVisibleContributors:o,isDisabled:i=!1}=e,s=0===n.length;return(0,a.jsxs)(T.v,{isLazy:!0,children:[(0,a.jsx)(R.j,{as:N.z,variant:"plain",size:"sm",boxShadow:"none",minW:"max-content",textAlign:"left",rightIcon:(0,a.jsx)(tE.v,{}),isDisabled:i,children:s?(0,a.jsx)(I.cC,{id:"lZw9AX"}):(0,a.jsx)(I.cC,{id:"8Tg/JR"})}),(0,a.jsx)(L.q,{minWidth:"max-content",padding:0,children:(0,a.jsxs)(q.K,{spacing:1,py:3,children:[(0,a.jsx)(tB,{label:(0,a.jsx)(I.cC,{id:"lZw9AX"}),withSidePadding:!0,children:(0,a.jsx)(tA.r,{isChecked:s,onChange:o})}),(0,a.jsx)(tP,{paddingY:2}),(0,a.jsx)(tB,{label:(0,a.jsx)(r.NZ,{children:(0,a.jsx)(V.x,{children:(0,a.jsx)(I.cC,{id:"8Tg/JR"})})}),withSidePadding:!0}),t.map(e=>(0,a.jsx)(tO,{contributor:e,contributors:t,toggleOneVisibleContributor:l,hiddenContributorIds:n,allVisible:s},e.user.id))]})})]})},tO=e=>{let{contributor:t,contributors:n,toggleOneVisibleContributor:l,hiddenContributorIds:o,allVisible:i}=e,s=n.length-o.length==1&&!o.includes(t.user.id);return(0,a.jsxs)(tB,{label:(0,a.jsxs)(K.k,{alignItems:"center",gap:2,children:[(0,a.jsx)(r.Vw,{size:"xs",src:t.user.profileImageUrl,opacity:i?.5:1}),(0,a.jsx)(V.x,{fontSize:"md",fontFamily:"Inter, sans-serif",opacity:i?.5:1,sx:{cursor:i?"default":"text"},children:t.user.displayName})]}),paddingY:1.25,withSidePadding:!0,children:[(0,a.jsx)(eY.L,{w:4}),(0,a.jsx)(tA.r,{isChecked:!o.includes(t.user.id),onChange:()=>l(t.user.id),disabled:s})]})},tP=e=>{let{isFooter:t=!1,...n}=e;return(0,a.jsx)(tI.M,{...n,mx:t?-4:void 0,children:(0,a.jsx)(eW.i,{borderBottomColor:"gray.200"})})},tT=e=>{let{contributors:t,hiddenContributorIds:n,hasMultipleContributors:l,toggleOneVisibleContributor:i,toggleAllVisibleContributors:r}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(tB,{label:(0,a.jsxs)(o.xu,{display:"flex",alignItems:"center",gap:4,children:[(0,a.jsx)(Y.G,{fixedWidth:!0,icon:S.m08}),(0,a.jsx)(V.x,{children:(0,a.jsx)(I.cC,{id:"YqsXfH"})})]}),children:(0,a.jsx)(t_,{contributors:t,hiddenContributorIds:n,toggleOneVisibleContributor:i,toggleAllVisibleContributors:r,isDisabled:!l})})})},tR=e=>{let{editor:t}=e,n=(0,u.useCallback)(()=>{t.chain().deleteSelectionAndSelectNear().run()},[t]);return(0,a.jsx)(tB,{label:(0,a.jsxs)(o.xu,{color:"red",display:"flex",gap:4,width:"100%",alignItems:"center",onClick:n,_hover:{cursor:"pointer"},children:[(0,a.jsx)(Y.G,{fixedWidth:!0,icon:S.XAH,color:"red"}),(0,a.jsx)(V.x,{children:(0,a.jsx)(I.cC,{id:"cnGeoo"})})]})})};var tN=n(91982),tL=n(59576);let tD=e=>{let{children:t,...n}=e,l=(0,tN.jC)("Popover"),{content:o}=l;return(0,a.jsx)(tL.m.div,{__css:o,p:0,overflow:"hidden",borderWidth:0,...n,children:t})};var tW=n(55233),tU=n(72318),tH=n(18149),tG=n.n(tH),tq=n(48697),tV=n(67245),tK=n(24813),tY=n(46188);let t$=e=>{let{editor:t,label:n,icon:l}=e;return(0,a.jsx)(j.h,{label:n,onClick:()=>{t.chain().selectParentNode().run()},children:l?(0,a.jsx)(Y.G,{icon:l}):(0,a.jsx)(Y.G,{icon:S.pQN,flip:"horizontal"})})};var tJ=n(70723);let tX=()=>({inset:{title:z.ag._({id:"Jn5DbR"})},circle:{title:z.ag._({id:"7xMmki"})}}),tZ=e=>{let{clipType:t,onChange:n}=e;return t?(0,a.jsxs)(tJ.Lt,{children:[(0,a.jsx)(tJ.PS,{size:"sm",borderRadius:"full",minWidth:"105px",rightIcon:(0,a.jsx)(Y.G,{icon:S.ptq,transform:"shrink-6"}),variant:"toolbar",pl:2,onMouseDown:en.br,children:tX()[t].title}),(0,a.jsx)(tJ.sV,{children:Object.entries(tX()).map(e=>{let[l,{title:i}]=e;return(0,a.jsx)(tJ.hP,{value:l,fontSize:"sm",fontWeight:600,icon:(0,a.jsx)(o.xu,{visibility:l===t?"visible":"hidden",children:(0,a.jsx)(Y.G,{icon:S.LEp})}),onMouseDown:en.br,onClick:()=>{n(l)},children:(0,a.jsx)(V.x,{children:i})},l)})})]}):null};var tQ=n(65186),t0=n(71986);let t1=e=>{let{editor:t,selection:n,handleDuplicate:l}=e,o=(0,u.useCallback)(()=>{t.chain().insertContentAt(n.from+n.node.nodeSize,n.node.toJSON()).selectInsertedNode().run()},[t,n]);return(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"euc6Ns"}),icon:S.WM4,onClick:l||o,testId:"duplicate-node-button"})};var t2={src:"/_next/static/media/layout-3-cols.478d87d6.svg",height:25,width:20,blurWidth:0,blurHeight:0},t4={src:"/_next/static/media/layout-30-70.019e8aa0.svg",height:25,width:20,blurWidth:0,blurHeight:0},t5={src:"/_next/static/media/layout-4-cols.bc7869e3.svg",height:25,width:20,blurWidth:0,blurHeight:0},t3={src:"/_next/static/media/layout-50-50.a28ea4d4.svg",height:25,width:20,blurWidth:0,blurHeight:0},t9={src:"/_next/static/media/layout-70-30.abcf64e9.svg",height:25,width:20,blurWidth:0,blurHeight:0};let t8=()=>[{name:z.ag._({id:"oCWIE5"}),testId:"layout-preset-5050",image:t3,value:[50,50]},{name:z.ag._({id:"eWUI4Z"}),testId:"layout-preset-7030",image:t9,value:[70,30]},{name:z.ag._({id:"hOcihM"}),testId:"layout-preset-3070",image:t4,value:[30,70]},{name:z.ag._({id:"OnuuaA"}),testId:"layout-preset-3col",image:t2,value:[33.33,33.33,33.34]},{name:z.ag._({id:"hexbw8"}),testId:"layout-preset-4col",image:t5,value:[25,25,25,25]}];var t7=n(13833),t6=n(51111);let ne=()=>({link:{title:(0,a.jsx)(I.cC,{id:"yzF66j"})},preview:{title:(0,a.jsx)(I.cC,{id:"rdUucN"})},inline:{title:(0,a.jsx)(I.cC,{id:"KKBlUU"})}}),nt=e=>{let{editor:t,selection:n,isDisabled:l}=e,o=n instanceof d.Bs?"link":n.node.type.name,i="link"===o,r=t.getAttributes(o),s=i?"link":"displayStyle"in r&&r.displayStyle||"inline",c=ne(),m=(0,u.useCallback)(e=>{if("link"===o&&"link"!==e)t.commands.convertLinkToMedia(e);else if("link"===e){t.commands.convertMediaToLink();return}t.commands.updateAttributes(o,{displayStyle:e})},[t,o]);return(0,a.jsxs)(T.v,{closeOnSelect:!0,isLazy:!0,autoSelect:!1,strategy:"fixed",children:[(0,a.jsx)(R.j,{as:N.z,"data-testid":"display-style-dropdown",isDisabled:l,size:"sm",rightIcon:(0,a.jsx)(Y.G,{fixedWidth:!0,icon:S.ptq,transform:"shrink-6"}),boxShadow:"none",onMouseDown:en.br,children:c[s].title}),(0,a.jsx)(L.q,{zIndex:2,children:(0,a.jsx)(ep._,{type:"radio",onChange:m,value:s,children:Object.entries(c).map(e=>{let[t,{title:n}]=e;return(0,a.jsx)(eg.i,{value:t,onMouseDown:en.br,"data-testid":"display-style-option-".concat(t),children:(0,a.jsx)(V.x,{children:n})},t)})})})]})};var nn=n(74105),nl=n(20816);let na=e=>e?z.ag._({id:"kS5giA"}):z.ag._({id:"Ilf1mg"}),no="link-input-invalid-url",ni=e=>{let{href:t,updateHref:n,editor:l,isEmbedLink:o=!1}=e,i=(0,u.useRef)(null),[s,d]=(0,u.useState)(t),c=(0,eA.p)(),m=s!==t;(0,u.useEffect)(()=>{d(t)},[t]),(0,u.useEffect)(()=>{!t&&i.current&&setTimeout(()=>{var e;null==i||null===(e=i.current)||void 0===e||e.focus()})},[t]);let f=(0,u.useCallback)(e=>{if(!e)return;let t=e;if(o){let n=(0,t7.QW)(e);n&&(t=n)}let l=!(0,ec.kr)(t)&&!(0,O.H7)(t);if(t=l?"https://"+t:t,!(0,ec.jv)(t)){n(""),c.isActive(no)||c({id:no,title:(0,a.jsx)(I.cC,{id:"sBZMWb"}),description:(0,a.jsx)(I.cC,{id:"jEw0Mr"}),status:"error",position:"top",duration:3e3,isClosable:!0});return}n(t)},[o,c,n]);return(0,a.jsxs)(nn.B,{children:[(0,a.jsx)(M.I,{"data-testid":"link-input",ref:i,value:s,placeholder:na(!1),onChange:e=>{d(e.target.value)},onKeyUp:e=>{"Enter"===e.key&&(e.preventDefault(),f(s),l.commands.focus())},size:"sm"}),s.length>0&&m&&(0,a.jsx)(nl.x,{top:"50%",transform:"translateY(-50%)",children:(0,a.jsx)(r.kH,{placement:"top",label:(0,a.jsx)(I.cC,{id:"hQRttt"}),children:(0,a.jsx)(e5.h,{"aria-label":z.ag._({id:"hQRttt"}),variant:"ghost",size:"xs",onClick:()=>{f(s)},icon:(0,a.jsx)(Y.G,{icon:S.LEp})})})})]})},nr=e=>{let{icon:t,label:n,children:l,iconProps:i,onLabelClick:r,isFooter:s,...d}=e;return(0,a.jsxs)(a.Fragment,{children:[s&&(0,a.jsx)(o.xu,{mx:-5,children:(0,a.jsx)(eW.i,{})}),(0,a.jsxs)(q.K,{direction:"row",spacing:4,alignItems:"center",justifyContent:"space-between",...d,children:[(0,a.jsxs)(K.k,{gap:4,alignItems:"center",onClick:r,_hover:{cursor:r?"pointer":void 0},children:[t&&(0,a.jsx)(Y.G,{icon:t,fixedWidth:!0,...i}),(0,a.jsx)(V.x,{children:n})]}),l]})]})},ns=e=>{let{children:t}=e;return(0,a.jsx)(q.K,{spacing:4,p:5,children:t})},nd="embed-formatting-invalid-error";var nu=n(31181),nc=n(36781),nm=n(16556),nf=n(48776);let np=e=>{let{existingLink:t,handleRemoveClick:n}=e,l=(null==t?void 0:t.href)&&!t.docId,{title:s,href:d,cardId:u}=t,c=(0,nf.c)(u);return l?(0,a.jsx)(i.U,{spacing:2,children:(0,a.jsxs)(nn.B,{size:"sm",children:[(0,a.jsx)(M.I,{size:"sm",isReadOnly:!0,value:d}),(0,a.jsx)(nl.x,{children:(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"/PoNoq"}),icon:S.Xcf,onClick:()=>n("url")})})]})}):(0,a.jsx)(i.U,{spacing:1,children:(0,a.jsx)(nm.Vp,{children:(0,a.jsxs)(i.U,{spacing:1,children:[(0,a.jsx)(Y.G,{icon:u?S.lCX:S.gMD}),(0,a.jsx)(r.kH,{label:u?null==c?void 0:c.title:s,placement:"top",children:(0,a.jsx)(o.xu,{noOfLines:1,children:u?null==c?void 0:c.title:s})}),(0,a.jsx)(r.kH,{label:z.ag._({id:"/PoNoq"}),placement:"top",children:(0,a.jsx)(e5.h,{size:"xxs",variant:"ghost","aria-label":z.ag._({id:"/PoNoq"}),icon:(0,a.jsx)(Y.G,{icon:S.Xcf}),onClick:()=>n("pages")})})]})})})};var ng=n(90383);let nh=e=>{let{site:t}=e,n=null==t?void 0:t.routes.map(e=>{var t;return{docId:e.docId,title:null===(t=e.doc)||void 0===t?void 0:t.title}});return{linkablePages:n}},nb=e=>{let{href:t,linkablePages:n}=e;if(!t)return null;let l=(0,ng.jM)(t);if(!l)return{href:t};let{docId:a,cardId:o}=l,i=a&&(null==n?void 0:n.find(e=>e.docId===a))||null;return{...i,href:t,cardId:o}},ny=e=>{let{title:t,docId:n,updateHref:l}=e,o=(0,e2.Gn)({docId:n,docTitle:t,absolute:!0});return(0,a.jsx)(r.kH,{label:t,placement:"top",children:(0,a.jsx)(N.z,{w:"100%",onClick:()=>{l(o)},variant:"ghost",colorScheme:"gray",fontWeight:"500",px:2,size:"sm",justifyContent:"flex-start",leftIcon:(0,a.jsx)(Y.G,{icon:S.gMD}),children:(0,a.jsx)(V.x,{textAlign:"left",w:"100%",noOfLines:1,display:"inline",children:t})},n)})},nv=e=>{let{items:t,updateHref:n}=e,[l]=(0,u.useState)(""),o=(0,u.useRef)(null),i=t.filter(e=>{var t;return null===(t=e.title)||void 0===t?void 0:t.toLowerCase().includes(l.toLowerCase())});return(0,u.useEffect)(()=>{var e;(null==o?void 0:o.current)&&(null==o||null===(e=o.current)||void 0===e||e.focus())},[]),(0,a.jsxs)(q.K,{mx:-4,children:[(0,a.jsx)(V.x,{color:"gray.500",fontSize:"sm",fontWeight:"600",children:(0,a.jsx)(I.cC,{id:"QIUdjp"})}),(0,a.jsx)(q.K,{spacing:0,children:i.map(e=>(0,a.jsx)(ny,{updateHref:n,title:e.title,docId:e.docId},e.docId))})]})},nk=e=>{let{updateHref:t,initialHref:n}=e,l=(0,u.useRef)(null),[o,i]=(0,u.useState)(!1),[r,s]=(0,u.useState)(n||""),d=e=>{if(!e)return;let n=!(0,ec.kr)(e)&&!(0,O.H7)(e),l=n?"http://"+e:e;(0,ec.jv)(l)&&t(l)};return(0,u.useEffect)(()=>{var e;(null==l?void 0:l.current)&&(null==l||null===(e=l.current)||void 0===e||e.focus())},[]),(0,a.jsxs)(q.K,{mx:-2,children:[(0,a.jsxs)(nn.B,{size:"sm",children:[(0,a.jsx)(M.I,{ref:l,size:"sm",value:r,placeholder:"Paste a link and hit enter",onChange:e=>{s(e.target.value)},onKeyDown:e=>{"Enter"===e.key&&r.trim().length>0&&(e.preventDefault(),d(r))},onFocus:()=>i(!0),onBlur:()=>i(!1)}),r.length>0&&(0,a.jsx)(nl.x,{bottom:0,top:"auto",children:(0,a.jsx)(e5.h,{"aria-label":z.ag._({id:"hQRttt"}),variant:"ghost",size:"xs",onClick:()=>d(r),icon:(0,a.jsx)(Y.G,{icon:S.LEp})})})]}),r.length>0&&o&&(0,a.jsx)(V.x,{w:"100%",fontSize:"xxs",color:"gray.500",children:(0,a.jsx)(I.cC,{id:"j6RzX0"})})]})},nx=e=>{let{updateHref:t,initialTab:n,initialHref:l}=e,i=(0,E.CG)(nu.lH),{linkablePages:r}=nh({site:i}),s=(null==r?void 0:r.length)&&r.length>0;return(0,a.jsx)(o.xu,{children:(0,a.jsxs)(D.m,{size:"sm",variant:"soft-rounded",isFitted:!0,colorScheme:"trueblue",defaultIndex:"pages"===n?0:1,children:[(0,a.jsxs)(W.t,{children:[s&&(0,a.jsx)(U.O,{children:(0,a.jsx)(I.cC,{id:"wRR604"})}),(0,a.jsx)(U.O,{children:(0,a.jsx)(I.cC,{id:"IagCbF"})})]}),(0,a.jsxs)(H.n,{children:[s&&(0,a.jsx)(G.x,{maxH:"min(300px, 50vh)",overflowY:"auto",children:(0,a.jsx)(nv,{items:r,updateHref:t})}),(0,a.jsx)(G.x,{maxH:"min(300px, 50vh)",overflowY:"auto",children:(0,a.jsx)(nk,{updateHref:t,initialHref:l})})]})]})})},nw=e=>{let{editor:t,selection:n}=e,l=(0,E.CG)(nu.lH),{linkablePages:o}=nh({site:l}),[r,s]=(0,u.useState)("pages"),[d,c]=(0,u.useState)(null),m=t.getAttributes("button").href||"",f=(0,u.useCallback)(()=>t.commands.handleButtonDelete(!1),[t]),p=n.$from.node(-1),g=nc.e6[p.type.name],h=(0,nc.Y0)().filter(e=>g.variants.includes(e.key)),b=nb({href:m,linkablePages:o}),y=(null==b?void 0:b.docId)&&(null==l?void 0:l.id)&&(0,e2.yQ)({docId:null==b?void 0:b.docId})||m;return(0,a.jsxs)(q.K,{w:b?void 0:"320px",minW:"min(80vw, 320px)",maxW:"50vw",maxH:"max(30vh, 400px)",children:[(0,a.jsxs)(i.U,{justify:"space-between",pt:1,borderBottomWidth:b?0:1,mx:-2,px:2,children:[h.length>=2&&h.map(e=>{let{name:n,icon:l,key:o}=e;return(0,a.jsx)(j.h,{label:n,icon:l,onClick:()=>{t.commands.updateAttributes("button",{variant:o})},isActive:t.isActive("button",{variant:o})},n)}),g.alignEnabled&&A.Ec.map(e=>{let{name:n,icon:l,checkActive:o,apply:i}=e;if(o&&i)return(0,a.jsx)(j.h,{label:n(),icon:l,onClick:()=>{i(t)},isActive:o(t)},n())}),b&&(0,a.jsx)(np,{existingLink:b,handleRemoveClick:e=>{s(e),"url"===e&&c(m),t.chain().updateAttributes("button",{href:null}).selectNodeAtPos(n.from).run()}}),(0,a.jsx)(eY.L,{}),b&&!b.cardId&&(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"Ky3sBN"}),icon:S.Xjp,onClick:()=>window.open(y,"_blank")}),(0,a.jsx)(F,{editor:t,handleDelete:f})]}),!b&&(0,a.jsx)(nx,{updateHref:e=>{t.chain().updateAttributes("button",{href:e}).selectNodeAtPos(n.from).run()},initialTab:r,initialHref:d})]})};var nS=n(32273),nC=n(26824),nz=n(99914),nA=n(99137),nI=n(91887),nj=n(59322),nF=n(14657),nB=n(98462),nM=n(86323),nE=n(73528),n_=n(44368);(l||(l={})).enabledForTables="enabledForTables";let nO=[[{key:"textColor",name:()=>z.ag._({id:"MapzEo"}),icon:S.yGG,shortcut:"Mod+Shift+H",enabledForTables:!0,checkDisabled:nB.$v}],[{key:"bold",name:()=>z.ag._({id:"KmydK6"}),mark:"bold",icon:C.c_t,shortcut:"Mod+B",enabledForTables:!0},{key:"italic",name:()=>z.ag._({id:"pzutoc"}),mark:"italic",icon:S.cJz,shortcut:"Mod+I",enabledForTables:!0},{key:"underline",name:()=>z.ag._({id:"YyXtnN"}),mark:"underline",icon:S.jmw,shortcut:"Mod+U",enabledForTables:!0},{key:"strike",name:()=>z.ag._({id:"WhOsNE"}),mark:"strike",icon:S.b$N,shortcut:"Mod+Shift+X"},{key:"code",name:()=>z.ag._({id:"EWPtMO"}),mark:"code",icon:S.dT$,shortcut:"Mod+E"},{key:"math",name:()=>z.ag._({id:"l8rp1O"}),apply:e=>e.commands.convertToMathInline(),icon:S.eDD,featureFlag:"math",shortcut:"$$",checkDisabled:()=>!0},{key:"removeFormatting",name:()=>z.ag._({id:"bj5jMy"}),icon:S.DvJ,apply:e=>e.chain().unsetAllMarks().focus().run(),enabledForTables:!0}],[{key:"link",name:()=>z.ag._({id:"yzF66j"}),mark:"link",icon:S.nNP,shortcut:"Mod+K"},{key:"footnote",name:()=>z.ag._({id:"ONAJuB"}),icon:S.dkK,apply:e=>{(0,nM.ZT)((0,nM.zm)().footnote,eV.fe.FORMATTING_MENU),e.chain().toggleFootnote().run()},checkActive:e=>e.isActive("footnoteLabel"),shortcut:"Mod+Alt+F",checkDisabled:e=>(0,eh.M)(e)||!(0,Q.P3)(e,"footnote")||(0,nB.$v)(e)}],[{key:"numbered",name:()=>z.ag._({id:"M3G9ZD"}),icon:S.nFo,node:"numbered",checkActive:e=>(0,nE.S3)(e,n_.W.Numbered),shortcut:"Mod+/ or Mod+Shift+7",apply:e=>e.chain().toggleListItems({variant:n_.W.Numbered}).focus().run()},{key:"bullet",name:()=>z.ag._({id:"ynb7Kh"}),icon:S.gf$,node:"bullet",checkActive:e=>(0,nE.S3)(e,n_.W.Bullet),apply:e=>e.chain().toggleListItems({variant:n_.W.Bullet}).focus().run(),shortcut:"Mod+. or Mod+Shift+8"},{key:"todo",name:()=>z.ag._({id:"rCIbrq"}),icon:S.A8,node:"todo",checkActive:e=>(0,nE.S3)(e,n_.W.Todo),shortcut:"Mod+, or Mod+Shift+9",apply:e=>{let{from:t,to:n}=e.state.selection;e.chain().toggleListItems({variant:n_.W.Todo}).run(),requestAnimationFrame(()=>e.chain().focus().setTextSelection({from:t,to:n}).run())}}],[{key:"alignText",name:()=>z.ag._({id:"6Hkcin"}),icon:S.elf}],[{key:"convertText",name:()=>z.ag._({id:"cXIM1U"}),checkDisabled:e=>!!e.shouldUseLiteMenus,icon:S.jHE},{key:"rewriteText",name:()=>z.ag._({id:"C4t1b/"}),icon:C.JyM,checkDisabled:e=>!!e.shouldUseLiteMenus,featureFlag:"aiRewrite"}],[{key:"comment",name:()=>z.ag._({id:"oFsfkI"}),icon:S.Mzg,checkDisabled:e=>(0,eh.M)(e)||(0,nB.$v)(e)||!!e.shouldUseLiteMenus,apply:e=>{let{selection:t}=e.state,{from:n,to:l}=t,[a]=(0,Q.nv)(e.state.doc.resolve(n),(e,t)=>(0,nF.ZM)(t));if(!a){console.warn("[TEXT_FORMATTING_COMMANDS] Add comment - Unable to find annotatable parent for this selection");return}let o=(0,Q.E8)(e.state.doc,n,l,e=>"footnote"!==e.type.name&&"cardNotes"!==e.type.name,"__BLOCK_SEPARATOR_PLACEHOLDER").split("__BLOCK_SEPARATOR_PLACEHOLDER").join("

");eJ.pw.emit(eJ.TI.CREATE_COMMENT_FROM_SELECTION,{selectionPos:n,parentPos:a.pos,text:o})}}]],nP=(e,t)=>{var n;return!!(t.featureFlag&&!eE.VH.get(t.featureFlag)||(null===(n=t.checkDisabled)||void 0===n?void 0:n.call(t,e)))||(t.node?!(0,Q.$E)(e,t.node):!!t.mark&&!(0,Q.by)(e,t.mark))};var nT=n(332);let nR=e=>{let{editor:t,testId:n,disabled:l,icon:o,label:i}=e;return((0,eA.p)(),A.Ec.length)?(0,a.jsxs)(T.v,{isLazy:!0,onClose:()=>(0,el.L)(t),children:[(0,a.jsx)(r.kH,{placement:"top",label:i,children:(0,a.jsx)(R.j,{isDisabled:l,as:N.z,variant:"toolbar","data-testid":n,onMouseDown:en.br,rightIcon:(0,a.jsx)(Y.G,{icon:S.ptq,transform:"shrink-6"}),children:o&&(0,a.jsx)(Y.G,{icon:o})})}),(0,a.jsx)(nT.h,{children:(0,a.jsx)(L.q,{minW:"auto",zIndex:"modalPopover",children:(()=>{let e=A.Ec.some(e=>{var n;return null===(n=e.checkActive)||void 0===n?void 0:n.call(e,t)});return A.Ec.length&&A.Ec.map(n=>{let{key:l,name:o,shortcut:i,icon:r,checkActive:s,apply:d}=n,u=null==s?void 0:s(t);return e||"alignLeft"!==l||(u=!0),(0,a.jsx)(j.h,{icon:r,label:o(),onClick:()=>null==d?void 0:d(t),isActive:u,testId:l,shortcut:i},l)})})()})})]}):null};var nN=n(69024),nL=n(25481),nD=n(57336),nW=n(13988);let nU=()=>({list:{label:z.ag._({id:"Ci8I/9"})},wrap:{label:z.ag._({id:"T4+jD7"})}}),nH=()=>{let e=(0,nM.zm)();return[{key:"toggle",name:()=>z.ag._({id:"JFciKP"}),icon:S.zc,node:"toggle",description:()=>z.ag._({id:"rhfAX6"}),apply:t=>{(0,nM.ZT)(e.toggle,eV.fe.FORMATTING_MENU),t.chain().wrapWithToggle().run()},group:"wrap"},{key:"convertToNestedCard",name:()=>z.ag._({id:"lOmsEK"}),node:"card",description:()=>z.ag._({id:"gRMoQV"}),icon:S.uFC,apply:t=>{(0,nM.ZT)(e.insertCardInside,eV.fe.FORMATTING_MENU),t.chain().convertToNestedCard().run()},checkDisabled:e=>!e.schema.nodes.card||!(0,Q.P3)(e,"card"),group:"wrap"},{key:"blockquote",name:()=>z.ag._({id:"OLMhPm"}),node:"blockquote",description:()=>z.ag._({id:"2yuhT7"}),icon:S.vV6,shortcut:"> Quote",apply:e=>e.chain().wrapWithAnnotations("blockquote").run(),checkDisabled:e=>!(0,Q.P3)(e,"blockquote"),group:"wrap"},{key:"calloutBox",name:()=>z.ag._({id:"1E4ojF"}),node:"calloutBox",description:()=>z.ag._({id:"4Wf98Z"}),icon:S.sqG,apply:e=>e.chain().wrapWithAnnotations("calloutBox",{variant:"info"}).run(),checkDisabled:e=>!(0,Q.P3)(e,"calloutBox"),group:"wrap"},{key:"listToCards",name:()=>z.ag._({id:"FJ18tL"}),icon:S.s2,description:()=>z.ag._({id:"hWesxP"}),group:"list",apply:e=>e.commands.listToCards(),checkDisabled:e=>!(0,nD.Ah)(e)},...(0,nW.Ne)()]},nG=e=>{let{editor:t,testId:n,disabled:l,icon:o,label:i}=e,s=nH().filter(e=>e.apply&&!nP(t,e));return 0===s.length?null:(0,a.jsxs)(T.v,{isLazy:!0,onClose:()=>(0,el.L)(t),children:[(0,a.jsx)(r.kH,{placement:"top",label:i,children:(0,a.jsx)(R.j,{isDisabled:l,as:N.z,variant:"toolbar","data-testid":n,onMouseDown:en.br,rightIcon:(0,a.jsx)(Y.G,{icon:S.ptq,transform:"shrink-6"}),children:o&&(0,a.jsx)(Y.G,{icon:o})})}),(0,a.jsx)(nT.h,{children:(0,a.jsx)(L.q,{maxH:"min(25em, 45vh)",overflowY:"auto",maxW:"400px",children:Object.entries(nU()).map(e=>{let[n,{label:l}]=e,o=s.filter(e=>e.group===n);return 0===o.length?null:(0,a.jsx)(nN.k,{title:l,children:o.map(e=>{let{key:n,icon:l,name:o,description:i,apply:r}=e;return(0,a.jsxs)(nL.s,{value:n,icon:(0,a.jsx)(Y.G,{icon:l,fixedWidth:!0}),onClick:()=>r(t),"data-testid":"text-convert-menu-".concat(n),children:[(0,a.jsx)(V.x,{children:o()}),i&&(0,a.jsx)(V.x,{color:"gray.400",fontSize:"sm",children:i()})]},n)})},n)})})})]})};var nq=n(3440),nV=n.n(nq);let nK=()=>({rephrase:{label:z.ag._({id:"bKWhYP"})},visualize:{label:z.ag._({id:"6n7jtr"})},reformat:{label:z.ag._({id:"ILEG4I"})}}),nY=[{key:"rephrase.better",type:"rephrase",name:()=>z.ag._({id:"zD3xDw"}),icon:S.Sab,featureFlag:"aiRewrite",description:()=>z.ag._({id:"YePdJg"}),apply:()=>{eJ.pw.emit("queueDesignPartnerTask",{message:z.ag._({id:"8nKskd"})})}},{key:"rephrase.expand",type:"rephrase",name:()=>z.ag._({id:"K1q3tl"}),icon:S.eEm,description:()=>z.ag._({id:"Y2Kk1Q"}),apply:()=>{eJ.pw.emit("queueDesignPartnerTask",{message:z.ag._({id:"HyVgOT"})})},featureFlag:"aiRewrite"},{key:"rephrase.condense",type:"rephrase",name:()=>z.ag._({id:"rqoYwb"}),icon:S.G_A,description:()=>z.ag._({id:"+ZW8bU"}),apply:()=>{eJ.pw.emit("queueDesignPartnerTask",{message:z.ag._({id:"70o6lh"})})},featureFlag:"aiRewrite"},{key:"visualize.keypoints",type:"visualize",name:()=>z.ag._({id:"n+v3I1"}),description:()=>z.ag._({id:"E9axcX"}),icon:S.oJX,node:"smartLayout",apply:()=>{eJ.pw.emit("queueDesignPartnerTask",{message:z.ag._({id:"bXgpVx"})})}},{key:"visualize.images",type:"visualize",name:()=>z.ag._({id:"laUyeH"}),description:()=>z.ag._({id:"ADlAam"}),icon:S.l9f,apply:()=>{eJ.pw.emit("queueDesignPartnerTask",{message:z.ag._({id:"p2oHY3"})})}},{key:"visualize.timeline",type:"visualize",name:()=>z.ag._({id:"Oh+9k8"}),description:()=>z.ag._({id:"Qx1qQH"}),icon:S.cp3,apply:()=>{eJ.pw.emit("queueDesignPartnerTask",{message:z.ag._({id:"4ReFRy"})})}},{key:"reformat.columns",type:"reformat",name:()=>z.ag._({id:"KyPPwt"}),description:()=>z.ag._({id:"52Y/fs"}),icon:S.jNR,node:"gridLayout",apply:()=>{eJ.pw.emit("queueDesignPartnerTask",{message:z.ag._({id:"Y0UR8y"})})}},{key:"reformat.table",type:"reformat",name:()=>z.ag._({id:"84sVti"}),description:()=>z.ag._({id:"CxvNve"}),icon:S.B3e,node:"table",apply:()=>{eJ.pw.emit("queueDesignPartnerTask",{message:z.ag._({id:"rU0fs4"})})}},{key:"reformat.toggles",type:"reformat",name:()=>z.ag._({id:"aRUmvo"}),icon:S.SG6,node:"toggle",description:()=>z.ag._({id:"914Ln8"}),apply:()=>{eJ.pw.emit("queueDesignPartnerTask",{message:z.ag._({id:"rivjMe"})})}}],n$=()=>Object.entries(nV()(nY,"type")),nJ=e=>{let{editor:t,testId:n,disabled:l,icon:o,label:i}=e,s=(0,eA.p)();return(0,a.jsxs)(T.v,{isLazy:!0,onClose:()=>(0,el.L)(t),children:[(0,a.jsx)(r.kH,{placement:"top",label:i,children:(0,a.jsx)(R.j,{isDisabled:l,as:N.z,variant:"toolbar","data-testid":n,onMouseDown:en.br,color:"trueblue.500",rightIcon:(0,a.jsx)(Y.G,{icon:S.ptq,transform:"shrink-6"}),children:o&&(0,a.jsx)(Y.G,{icon:o})})}),(0,a.jsx)(nT.h,{children:(0,a.jsx)(L.q,{maxH:"min(25em, 45vh)",overflowY:"auto",maxW:"450px",children:n$().map(e=>{let[n,l]=e,{label:o,featureFlag:i}=nK()[n];if(i&&!eE.VH.get(i))return;let r=l.map(e=>{if(!(!e.apply||nP(t,e)))return(0,a.jsxs)(nL.s,{value:e.key,icon:(0,a.jsx)(Y.G,{icon:e.icon,fixedWidth:!0}),onClick:()=>nX(e,t,s),children:[(0,a.jsx)(V.x,{children:e.name()}),e.description&&(0,a.jsx)(V.x,{color:"gray.400",fontSize:"sm",children:e.description()})]},e.key)}).filter(Boolean);return r.length?(0,a.jsx)(nN.k,{title:o,children:r},n):null})})})]})},nX=(e,t,n)=>{let{apply:l}=e;if(!l)return;let o=l(t);if(!o)return;let r=n({position:"top",isClosable:!1,duration:null,status:"loading",variant:"subtle",title:(0,a.jsx)(I.cC,{id:"j4ZLea"})});o.then(()=>{n.close(r);let e=n({title:(0,a.jsxs)(i.U,{children:[(0,a.jsxs)(V.x,{noOfLines:1,children:[(0,a.jsx)(I.cC,{id:"hAmdL3"})," "]}),(0,a.jsx)(eI.r,{textDecoration:"underline",onClick:()=>{(0,ej.Yw)(t.state),n.close(e)},children:(0,a.jsx)(I.cC,{id:"9uI/rE"})})]}),status:"success",duration:3e3,position:"top"})}).catch(e=>{n.close(r),n({title:(0,a.jsx)(I.cC,{id:"mTQLsL"}),description:e.message,status:"error",duration:3e3,position:"top"})})};var nZ=n(27599);let nQ=e=>{let{label:t,leftIcon:n,rightIcon:l,isSticky:o,onClick:i}=e,r=(0,eK.ff)("gray.50","gray.800");return(0,a.jsx)(K.k,{mt:2,bg:r,mx:-2,mb:-2,position:o?"sticky":"static",bottom:o?-2:"auto",children:(0,a.jsx)(N.z,{colorScheme:"gray",variant:"link",size:"sm",mx:"auto",leftIcon:n,rightIcon:l,onClick:i,w:"100%",py:3,children:t})})};var n0=n(98314),n1=n(79786),n2=n(43298);let n4=(e,t)=>!!t&&(e||!t.startsWith("/")),n5=e=>{let{editor:t}=e,n=(0,E.CG)(eu.Pu),{bodyFont:l,headingFont:o}=n,r=e=>{t.chain().focus().setFontSize(e).run()},{$from:s}=t.state.selection,d=(0,Q.$E)(t,"heading")||(0,n1.hY)(s.parent).includes("heading"),u=(0,Q.$E)(t,"title")||(0,n1.hY)(s.parent).includes("title"),c=(0,Q.$E)(t,"paragraph")||(0,n1.hY)(s.parent).includes("body");if(!c&&!d&&!u)return null;let m=(0,n1.Zh)(t),f="default",p=(0,n2.hx)("default");f=t.isActive("title")?(0,n2.KY)(t.getAttributes("title").level)||"default":t.isActive("heading")?(0,n2.K1)(t.getAttributes("heading").level)||"default":1===m.length&&m[0]||"default",p=(0,n2.hx)(f)||p;let g=e=>"".concat(Math.sqrt(e),"em"),h=(0,nB.$v)(t),b=!!t.extensionManager.extensions.find(e=>"slashMenu"===e.name);return(0,a.jsxs)(T.v,{closeOnSelect:!0,isLazy:!0,children:[(0,a.jsx)(R.j,{size:"sm",as:N.z,rightIcon:(0,a.jsx)(Y.G,{icon:S.ptq,transform:"shrink-6"}),variant:"toolbar",pl:2,children:p.label}),(0,a.jsxs)(L.q,{maxH:"min(60em, 45vh)",overflowY:"auto",minW:"260px",children:[c&&(0,a.jsx)(ep._,{type:"radio",value:f,children:(0,n0.be)().filter(e=>{let[t]=e;return!(h&&"default"!==t)}).map(e=>{let[t,{label:n,size:o,flagged:s,shortcut:d}]=e,u=n4(b,d);return(0,a.jsx)(eg.i,{value:t,onClick:()=>r(t),children:(0,a.jsxs)(i.U,{children:[(0,a.jsx)(V.x,{fontFamily:l,fontSize:g(o),children:n}),u&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eY.L,{}),(0,a.jsx)(V.x,{color:"gray.400",children:d})]})]})},t)})}),d&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(nZ.R,{}),(0,a.jsx)(ep._,{type:"radio",value:f,children:(0,n0.B8)().reverse().map(e=>{let[t,{label:n,size:l,shortcut:s}]=e,d=n4(b,s);return(0,a.jsx)(eg.i,{value:t,onClick:()=>r(t),children:(0,a.jsxs)(i.U,{children:[(0,a.jsx)(V.x,{fontSize:g(l),fontWeight:"bold",fontFamily:o,children:n}),d&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eY.L,{}),(0,a.jsx)(V.x,{color:"gray.400",children:s})]})]})},t)})})]}),u&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(nZ.R,{}),(0,a.jsx)(ep._,{type:"radio",value:f,children:(0,n0.Yt)().map(e=>{let[t,{label:n,size:l,shortcut:s}]=e,d=n4(b,s);return(0,a.jsx)(eg.i,{value:t,onClick:()=>r(t),children:(0,a.jsxs)(i.U,{children:[(0,a.jsx)(V.x,{fontSize:g(l),fontWeight:"bold",fontFamily:o,children:n}),d&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eY.L,{}),(0,a.jsx)(V.x,{color:"gray.400",children:s})]})]})},t)})})]}),(0,a.jsx)(nQ,{label:(0,a.jsx)(I.cC,{id:"gJpKw8"}),leftIcon:(0,a.jsx)(Y.G,{icon:S.nUG,fixedWidth:!0}),onClick:()=>{eJ.pw.emit(eJ.TI.OPEN_THEME_EDITOR,{})}})]})]})},n3=e=>{let{editor:t,filterBy:n}=e,l=()=>{let e=A.Ec.find(e=>e.alignment===(0,A.ZE)(t));return(null==e?void 0:e.icon)||S.elf};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ef.h,{isAttached:!0,onMouseDown:en.br,children:(0,a.jsx)(n5,{editor:t})},"text"),nO.map((e,o)=>(0,a.jsx)(ef.h,{spacing:0,size:"sm",onMouseDown:en.br,_empty:{display:"none"},children:e.filter(e=>{let l=!nP(t,e);return n?l&&e[n]:l}).map(e=>{let{key:n,name:o,shortcut:i,icon:r,mark:s,node:d,checkActive:u,apply:c}=e,m=c||(s?e=>e.chain().toggleMark(s).focus().run():()=>{}),f=u?u(t):s?t.isActive(s):d?t.isActive(d):void 0;return"textColor"===n?(0,a.jsx)(eo,{shortcut:i,icon:r,editor:t},n):"rewriteText"===n?(0,a.jsx)(nJ,{editor:t,shortcut:i,icon:r,testId:n,label:o()},n):"convertText"===n?(0,a.jsx)(nG,{editor:t,shortcut:i,icon:r,testId:n,label:o()},n):"alignText"===n?(0,a.jsx)(nR,{editor:t,shortcut:i,icon:l(),testId:n,label:o()},n):(0,a.jsx)(j.h,{label:o(),shortcut:i,isActive:f,onClick:()=>m(t),icon:r,testId:n},n)})},o))]})},n9=e=>{let{editor:t,selection:n}=e,o=n.isRowSelection(),r=n.isColSelection(),u=o&&r,c=(0,s.Kk)(nj.CU)(n);c&&d.qv.create(t.state.doc,null==c?void 0:c.pos);let m=Math.min(n.$anchorCell.pos,n.$headCell.pos),f=Math.max(n.$anchorCell.pos,n.$headCell.pos),{colMinPercent:p,newColSize:g}=t.schema.nodes[nI.i.name].spec,b=n.getTableNode(),y=(0,nA.Ux)(b.attrs.colWidths,g,p);return(0,a.jsxs)(i.U,{spacing:1,children:[(0,a.jsx)(n3,{editor:t,filterBy:l.enabledForTables}),(0,a.jsx)(B.w,{}),o&&!u&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"1ct6G/"}),onClick:()=>{t.commands.addRowBefore(),requestAnimationFrame(()=>{t.commands.focus(m)})},testId:"add-row-before-button",children:(0,a.jsx)(Y.G,{icon:S.Mp0})}),(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"JUmxSq"}),onClick:()=>{t.commands.addRowAfter(),requestAnimationFrame(()=>{t.chain().focus(f).goToNextCell().run()})},testId:"add-row-after-button",children:(0,a.jsx)(Y.G,{icon:S.Mp0,rotation:180})}),(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"0cspe/"}),icon:S.XAH,onClick:()=>t.chain().focus().deleteRow().run(),color:"red.500",testId:"delete-row-button"})]}),r&&!u&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"mwcRkO"}),onClick:()=>{let{left:e}=(0,h.zN)(t.state.selection);t.commands.addColumnBefore(e),requestAnimationFrame(()=>{t.commands.focus(m)})},isDisabled:!y,testId:"add-col-before-button",children:(0,a.jsx)(Y.G,{icon:S.Mp0,rotation:270})}),(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"/93cy4"}),onClick:()=>{let{left:e}=(0,h.zN)(t.state.selection);t.commands.addColumnAfter(e),requestAnimationFrame(()=>{t.chain().focus(m).goToNextCell().run()})},isDisabled:!y,testId:"add-col-after-button",children:(0,a.jsx)(Y.G,{icon:S.Mp0,rotation:90})}),(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"GAohqx"}),icon:S.XAH,onClick:()=>{t.commands.deleteColumn(),requestAnimationFrame(()=>{t.commands.focus(m)})},color:"red.500",testId:"delete-col-button"})]}),u&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"SOkhdm"}),icon:S.ZC_,onClick:()=>t.commands.equalizeColumns(),testId:"equalize-columns-button"}),(0,a.jsx)(B.w,{}),(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"HSI88F"}),icon:S.XAH,onClick:()=>t.chain().focus().deleteTable().run(),color:"red.500",testId:"delete-table-button"})]})]})},n8=[{component:n9,predicate:e=>e instanceof h.Xc&&e.isColSelection(),offsetPx:16},{component:n9,predicate:e=>e instanceof h.Xc&&e.isRowSelection(),offsetPx:12},{component:e=>{var t;let{editor:n,selection:l}=e,o=(0,E.CG)(eu.Pu),i=l.node,r=null!==(t=o.accentColor)&&void 0!==t?t:tC.uP;return i?(0,a.jsx)(tz.o,{attributes:i.attrs,updateAttributes:e=>{n.chain().updateAttributes("chart",e).focus().run()},accentColor:r,setEditing:()=>{n.commands.editSelectedChart()},editor:n,inline:!0}):null},predicate:e=>{var t,n;return e instanceof d.qv&&(null===(n=e.node)||void 0===n?void 0:null===(t=n.type)||void 0===t?void 0:t.name)==="chart"},isPopover:!0},{component:e=>{let{editor:t,selection:n}=e,l=t.getAttributes("link").href||"",o=!t.shouldUseLiteMenus;return(0,a.jsxs)(a.Fragment,{children:[o&&l&&(0,a.jsx)(ek,{editor:t,selection:n}),o&&!n.empty&&(0,a.jsx)(eo,{editor:t}),(0,a.jsx)(ex,{href:l,updateHref:e=>t.commands.updateSurroundingLink(e),unlink:()=>{t.commands.removeSurroundingLink()},editor:t,allowEditMetadata:o&&!(0,O.H7)(l)})]})},predicate:(e,t)=>e instanceof d.Bs&&t.isActive("link")&&!t.multipageEnabled&&!c.VH.get("linksV2")},{component:e=>{let{editor:t,selection:n}=e,l=(0,E.CG)(eu.Pu),i=t.getAttributes("link").href||"",s=!t.shouldUseLiteMenus,d=(0,E.CG)(eu.xb),c=(0,Q.NC)(i,d),m=(0,u.useCallback)(e=>{t.commands.updateSurroundingLink(e)},[t]),f=(0,u.useCallback)(e=>{if(!c)return;let n=(0,Q.g)(i);(0,_.l)(t,e,n)},[t,i,c]),p=(0,u.useCallback)(()=>{try{window.open(i,"_blank")}catch(e){console.error("(caught) Link Formatting Menu error",e)}},[i]),g=(0,em.B)(),h=(0,u.useCallback)(e=>{g(!0),e.stopPropagation()},[g]);return(0,a.jsxs)(ns,{children:[(0,a.jsxs)(ef.h,{children:[(0,a.jsx)(r.kH,{placement:"top",label:(0,a.jsx)(I.cC,{id:"484LKL"}),children:(0,a.jsx)(e5.h,{"aria-label":z.ag._({id:"484LKL"}),flex:1,variant:"plain",size:"sm",icon:(0,a.jsx)(Y.G,{icon:S.AE2}),boxShadow:"none",onMouseDown:en.br,onClick:()=>{t.commands.removeSurroundingLink()}})}),c&&(0,a.jsx)(r.kH,{placement:"top",label:(0,a.jsx)(I.cC,{id:"088Oxr"}),children:(0,a.jsx)(e5.h,{"aria-label":z.ag._({id:"088Oxr"}),flex:1,variant:"plain",size:"sm",boxShadow:"none",icon:(0,a.jsx)(Y.G,{icon:S.eFW}),onMouseDown:en.br,onClick:f})}),(0,a.jsx)(r.kH,{placement:"top",label:i?c?(0,a.jsx)(I.cC,{id:"RMJwZi"}):(0,a.jsx)(I.cC,{id:"fOj0+R"}):(0,a.jsx)(I.cC,{id:"JecGQl"}),children:(0,a.jsx)(o.xu,{flex:1,children:(0,a.jsx)(e5.h,{"aria-label":c?z.ag._({id:"RMJwZi"}):z.ag._({id:"fOj0+R"}),width:"100%",variant:"plain",size:"sm",icon:(0,a.jsx)(Y.G,{icon:S.gJF}),boxShadow:"none",isDisabled:!i,onMouseDown:en.br,onClick:p})})}),s&&!(0,O.H7)(i)&&(0,a.jsx)(r.kH,{placement:"top",label:(0,a.jsx)(I.cC,{id:"qbzc6p"}),children:(0,a.jsx)(o.xu,{flex:1,children:(0,a.jsx)(e5.h,{"aria-label":z.ag._({id:"qbzc6p"}),width:"100%",variant:"plain",size:"sm",icon:(0,a.jsx)(Y.G,{icon:S.Xcf}),boxShadow:"none",isDisabled:!i,onMouseDown:en.br,onClick:h})})})]}),s&&i&&!(0,O.H7)(i)&&(0,a.jsx)(nr,{label:(0,a.jsx)(I.cC,{id:"/SVg/B"}),icon:S.nNP,children:(0,a.jsx)(nt,{editor:t,selection:n})}),(0,a.jsx)(ni,{href:i,updateHref:m,editor:t}),s&&(0,a.jsx)(nr,{label:(0,a.jsx)(I.cC,{id:"0j+RGO"}),icon:S.elf,children:(0,a.jsx)(ef.h,{spacing:0,size:"sm",onMouseDown:en.br,children:A.Ec.map(e=>{let{name:n,key:l,icon:o,shortcut:i,checkActive:r,apply:s}=e;if(r&&s)return(0,a.jsx)(j.h,{label:n(),shortcut:i,isActive:r(t),onClick:()=>{s(t)},icon:o,testId:l,my:0},l)})})}),s&&(0,a.jsx)(nr,{label:(0,a.jsx)(I.cC,{id:"jZlrte"}),icon:S.re8,children:(0,a.jsx)(eo,{editor:t,useMenuButton:!0,isLinkText:!0,defaultTextColor:l.accentColor})})]})},predicate:(e,t)=>e instanceof d.Bs&&t.isActive("link")&&!t.multipageEnabled&&c.VH.get("linksV2"),isPopover:!0},{component:e=>{let{editor:t,selection:n}=e,l=(0,E.CG)(nu.lH),o=t.getAttributes("link").href||"",[i,r]=(0,u.useState)("pages"),[s,d]=(0,u.useState)(o),[c,m]=(0,u.useState)(!1),{linkablePages:f}=nh({site:l}),p=nb({href:o,linkablePages:f}),g=(null==p?void 0:p.docId)&&(null==l?void 0:l.id)&&(0,e2.yQ)({docId:null==p?void 0:p.docId})||o,h=f.some(e=>e.docId===(null==p?void 0:p.docId));return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(q.K,{direction:"column",minW:"min(80vw, 320px)",maxW:"50vw",maxH:"max(30vh, 400px)",children:[(0,a.jsxs)(q.K,{direction:"row",justify:"space-between",mx:-2,px:2,borderBottom:!o||c?"1px solid var(--chakra-colors-blackAlpha-100)":void 0,children:[o&&(0,a.jsx)(ek,{editor:t,selection:n,isDisabled:!!h}),!n.empty&&(0,a.jsx)(eo,{editor:t}),p&&!c&&(0,a.jsx)(np,{existingLink:p,handleRemoveClick:e=>{r(e),"url"===e&&d(o),h&&t.commands.updateSurroundingLink(""),m(!0)}}),p&&!p.cardId&&(0,a.jsx)(j.h,{label:h?(0,a.jsx)(I.cC,{id:"Ky3sBN"}):(0,a.jsx)(I.cC,{id:"Alx2/L"}),icon:S.Xjp,onClick:()=>window.open(g,"_blank")}),(0,a.jsx)(eY.L,{}),(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"484LKL"}),icon:S.AE2,onClick:()=>t.commands.removeSurroundingLink()})]}),(!p||c)&&(0,a.jsx)(nx,{updateHref:e=>{t.commands.updateSurroundingLink(e),m(!1)},initialTab:i,initialHref:s})]})})},predicate:(e,t)=>e instanceof d.Bs&&t.isActive("link")&&!!t.multipageEnabled},{component:e=>{let{editor:t}=e,n=t.getAttributes("button").href||"",l=(0,u.useCallback)(()=>t.commands.handleButtonDelete(!1),[t]);return(0,a.jsxs)(i.U,{px:2,children:[ew().map(e=>{let{name:n,icon:l,key:o}=e;return(0,a.jsx)(j.h,{label:n,icon:l,onClick:()=>{t.commands.updateAttributes("button",{variant:o})},isActive:t.isActive("button",{variant:o})},n)}),(0,a.jsx)(B.w,{}),A.Ec.map(e=>{let{name:n,icon:l,checkActive:o,apply:i}=e;if(o&&i)return(0,a.jsx)(j.h,{label:n(),icon:l,onClick:()=>{i(t)},isActive:o(t)},n())}),(0,a.jsx)(ex,{href:n,updateHref:e=>t.commands.updateAttributes("button",{href:e}),editor:t,allowEditMetadata:!1}),(0,a.jsx)(B.w,{}),(0,a.jsx)(F,{editor:t,handleDelete:l})]})},predicate:(e,t)=>t.isActive("button")&&!t.multipageEnabled&&!t.isSiteNavbarEditor},{component:nw,predicate:(e,t)=>t.isActive("button")&&!!t.multipageEnabled},{component:e=>{let{editor:t,selection:n}=e,{node:l,from:o}=n,i=e=>!!l&&JSON.stringify(e)===JSON.stringify(l.attrs.colWidths),{verticalAlign:r}=t.getAttributes("gridCell"),s=(0,u.useCallback)(e=>{t.chain().updateAttributes("gridCell",{verticalAlign:e===r?null:e}).selectNodeAtPos(n.from).focus().run()},[t,n,r]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(ef.h,{spacing:1,size:"sm",alignItems:"center",children:[(0,a.jsxs)(tJ.Lt,{isLazy:!0,children:[(0,a.jsx)(tJ.PS,{as:N.z,variant:"toolbar",rightIcon:(0,a.jsx)(Y.G,{icon:S.ptq}),size:"sm","data-testid":"layout-preset-dropdown",children:(0,a.jsx)(I.cC,{id:"6v+N4U",values:{0:l.childCount}})}),(0,a.jsx)(tJ.sV,{"data-in-editor-focus":!0,fontSize:"md",children:t8().map(e=>{let{testId:n,name:l,image:r,value:s}=e;return(0,a.jsx)(tJ.hP,{"data-testid":n,icon:i(s)?(0,a.jsx)(P.n,{w:"2rem"}):(0,a.jsx)(ti.E,{h:"1rem",w:"2rem",objectFit:"cover",src:r.src}),onClick:()=>{o&&t.commands.useLayoutPreset(o,s)},children:l},l)})})]}),(0,a.jsx)(j.h,{onClick:()=>s("start"),isActive:"start"===r,label:z.ag._({id:"/Q0jUh"}),children:(0,a.jsx)(tQ.dBc,{})}),(0,a.jsx)(j.h,{onClick:()=>s("center"),isActive:"center"===r,label:z.ag._({id:"QhuQN2"}),children:(0,a.jsx)(tQ.RyY,{})}),(0,a.jsx)(j.h,{onClick:()=>s("end"),isActive:"end"===r,label:z.ag._({id:"EPnxoe"}),children:(0,a.jsx)(tQ.pgY,{})}),(0,a.jsx)(B.w,{}),(0,a.jsx)(F,{editor:t})]})})},predicate:e=>e instanceof d.qv&&(0,f.SA)(e.node)},{component:e=>{let{editor:t,selection:n,decorations:l}=e,{node:o,from:r}=n,{attrs:s,isNested:d,isFirstCard:c}=(0,eO.v)({node:o,decorations:l,editor:t}),{isOpen:m,onOpen:f,onClose:p}=(0,e_.M)({id:"downloadCardAsImageDisclosure"}),g=(0,eE.ye)("exportCard"),h=(0,u.useCallback)(()=>{null==t||t.commands.duplicateCard(r)},[t,r]),b=(0,u.useCallback)(()=>{null==t||t.commands.unnestCard(r)},[t,r]),y=(0,u.useCallback)(()=>{null==t||t.chain().mergeCardsAtPos(r).focus().run()},[t,r]),v=(0,eA.p)(),k=(0,u.useCallback)(()=>{let e=t.state.doc.nodeAt(r),n=e&&(0,eF.getCardTitle)(e.toJSON());t.chain().deleteCard(r).focus().run();let l=z.ag._({id:"0MWv65",values:{displayTitle:n?'"'.concat(n,'"'):"card"}}),o=z.ag._({id:"9uI/rE"}),s=v({title:(0,a.jsxs)(i.U,{children:[(0,a.jsx)(V.x,{noOfLines:1,children:l}),(0,a.jsx)(eI.r,{textDecoration:"underline",onClick:()=>{(0,ej.Yw)(t.state),v.close(s)},children:o})]}),status:"info",duration:3e3,position:"top"})},[t,r,v]),x=(0,eE.ye)("aiCardDesigner"),w=(0,u.useCallback)(()=>{var e;let t=null===(e=n.node)||void 0===e?void 0:e.attrs.id;if(!t)return;let l=prompt("What do you want to change?",eM.B);l&&eB.T.emit("openSuggestionEditor",{cardId:t,userMessage:l})},[n]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(ef.h,{spacing:1,size:"sm",alignItems:"center",children:[(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"BTDPLo"}),testId:"duplicate-card",onClick:h,icon:S.WM4}),d&&(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"b+J8Wt"}),testId:"merge-into-parent-card",onClick:b,icon:S.oK7}),!d&&!c&&(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"kV34zB"}),testId:"merge-into-card-above",onClick:y,icon:S.FPD}),x&&(0,a.jsx)(j.h,{onClick:w,icon:S.Hh4,label:"Design with AI"}),(0,a.jsx)(e4,{attrs:s}),g&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"xRJ+bN"}),testId:"download-card",onClick:f,icon:S.fuY}),(0,a.jsx)(eX,{isOpen:m,onClose:p,cardId:s.id,editor:t})]}),(0,a.jsx)(F,{editor:t,handleDelete:k})]})})},predicate:e=>{let t=e instanceof d.qv&&(0,b.KH)(e.node);return t},offsetPx:0},{component:e=>{var t,n;let{editor:l,selection:o,decorations:i}=e,{node:d,from:c}=o,f=(0,e8.en)(i),p=d.attrs,{allowFit:g}=(0,m.$U)(null==f?void 0:f.layout),h=(null===(t=p.background)||void 0===t?void 0:t.type)===e7.E.IMAGE,y=(0,e9.U)(p,null==f?void 0:f.layout),v=(0,eE.ye)("accentImageFit"),k=v&&g&&h,x=(0,eE.ye)("removeBackground")&&h,w=(0,E.CG)(eu.Pu),C=null===(n=w.config)||void 0===n?void 0:n.accentBackgrounds,A=(0,m.q9)(p.background,C),j=(0,u.useRef)(A),F=(0,s.qv)(l.state.doc.resolve(c),b.KH),M=(0,u.useCallback)(e=>{(0,el.y)(l,c,e)},[l,c]),_=(0,u.useCallback)(()=>{C&&(l.commands.updateNestedAttributesAtPos(c,{background:C[j.current]}),j.current=(j.current+1)%C.length)},[C,l,c]),{openBackgroundTab:O,...P}=(0,e3.a)(),T=(0,u.useCallback)(()=>{c&&(h?l.commands.updateAttributesAtPos(c,{background:{type:e7.E.NONE}}):(null==F?void 0:F.pos)&&(l.commands.setCardLayout(F.pos,"blank"),l.commands.selectInsideCardBody(F.pos)))},[l,c,F,h]),R=d.attrs.background.type,N=R===e7.E.IMAGE;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e3.S,{editor:l,...P,updateNestedAttributes:M,background:p.background,isAccentImageDrawer:!0}),(0,a.jsx)(ef.h,{spacing:1,size:"sm",alignItems:"center",children:"accent"===p.itemId&&(0,a.jsxs)(a.Fragment,{children:[k&&(0,a.jsx)(e6,{editor:l,selection:o,decorations:i}),N&&(0,a.jsx)(tv,{editor:l,pos:c,node:d,isDisabled:"fit"===y}),x&&(0,a.jsx)(tS,{editor:l,selection:o,decorations:i}),(k||N)&&(0,a.jsx)(B.w,{}),C&&C.length>0&&(0,a.jsx)(r.kH,{label:(0,a.jsx)(I.cC,{id:"OVjfHO"}),placement:"top",children:(0,a.jsx)(e5.h,{onClick:_,variant:"toolbar",size:"sm",icon:(0,a.jsx)(Y.G,{icon:S.RJo}),boxSize:7,p:0,"aria-label":z.ag._({id:"gH5Gbn"})})}),(0,a.jsx)(r.kH,{label:h?(0,a.jsx)(I.cC,{id:"Ov693i"}):(0,a.jsx)(I.cC,{id:"B6vyEa"}),placement:"top",children:(0,a.jsx)(e5.h,{onClick:O,variant:"toolbar",size:"sm",icon:(0,a.jsx)(Y.G,{icon:S.Xcf}),boxSize:7,p:0,"aria-label":h?z.ag._({id:"Ov693i"}):z.ag._({id:"B6vyEa"})})}),(0,a.jsx)(B.w,{}),(0,a.jsx)(r.kH,{label:h?(0,a.jsx)(I.cC,{id:"sGYCGx"}):(0,a.jsx)(I.cC,{id:"6vLq+T"}),placement:"top",children:(0,a.jsx)(e5.h,{onClick:T,variant:"toolbar",size:"sm",icon:h?(0,a.jsx)(Y.G,{icon:S.qDv}):(0,a.jsx)(Y.G,{icon:S.XAH}),color:"red.500",boxSize:7,p:0,"aria-label":h?z.ag._({id:"sGYCGx"}):z.ag._({id:"6vLq+T"})})})]})})]})},predicate:e=>{let t=e instanceof d.qv&&(0,m.pt)(e.node);return t},offsetPx:6},{component:e=>{let{editor:t,selection:n}=e,l=n.$from.parent,o=l.childCount{t.chain().updateAttributes("gridCell",{verticalAlign:e===i?null:e}).selectNodeAtPos(n.from).focus().run()},[t,i,n]);return(0,a.jsxs)(ef.h,{spacing:1,size:"sm",alignItems:"center",children:[(0,a.jsx)(t$,{editor:t,label:z.ag._({id:"NFoeBH"}),icon:S.rWw}),o&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(B.w,{}),(0,a.jsx)(j.h,{label:z.ag._({id:"bZ9ges"}),icon:S.Mp0,iconRotation:270,onClick:()=>{t.chain().insertContentAt(n.from,t0.x).run()},testId:"add-col-before-button"}),(0,a.jsx)(j.h,{label:z.ag._({id:"7ibPpM"}),icon:S.Mp0,iconRotation:90,onClick:()=>{t.chain().insertContentAt(n.from+n.node.nodeSize,t0.x).run()},testId:"add-col-after-button"}),(0,a.jsx)(t1,{editor:t,selection:n})]}),(0,a.jsx)(j.h,{onClick:()=>r("start"),isActive:"start"===i,label:z.ag._({id:"/Q0jUh"}),children:(0,a.jsx)(tQ.dBc,{})}),(0,a.jsx)(j.h,{onClick:()=>r("center"),isActive:"center"===i,label:z.ag._({id:"QhuQN2"}),children:(0,a.jsx)(tQ.RyY,{})}),(0,a.jsx)(j.h,{onClick:()=>r("end"),isActive:"end"===i,label:z.ag._({id:"EPnxoe"}),children:(0,a.jsx)(tQ.pgY,{})}),(0,a.jsx)(B.w,{}),(0,a.jsx)(F,{editor:t,handleDelete:()=>{t.chain().selectInsideNodeAtPos(n.from).handleLayoutDelete(!0,!1).run()}})]})},predicate:e=>e instanceof d.qv&&(0,f._5)(e.node)},{component:e=>{let{editor:t,selection:n,decorations:l}=e,{node:o}=n,{options:r,variantKey:s}=o.attrs,d=(0,nS.P)(s),c=(0,u.useCallback)(e=>{t.commands.updateNestedAttributesAtPos(n.from,e)},[t,n.from]),m=(0,u.useCallback)(e=>{c({variantKey:e})},[c]);return(0,a.jsxs)(i.U,{spacing:2,children:[(0,a.jsxs)(tJ.Lt,{isLazy:!0,children:[(0,a.jsx)(tJ.PS,{as:N.z,variant:"toolbar",rightIcon:(0,a.jsx)(Y.G,{icon:S.ptq,transform:"shrink-6"}),leftIcon:(0,a.jsx)(Y.G,{icon:d.icon,fixedWidth:!0}),size:"sm","data-testid":"smart-layout-variant-dropdown",children:d.name()}),(0,a.jsx)(tJ.sV,{maxH:"min(25em, 45vh)",overflowY:"auto","data-in-editor-focus":!0,fontSize:"md",children:(0,nS.m)().map(e=>{let{key:t,name:n,icon:l,disabled:o,featureFlag:i}=e;if(o||i&&!eE.VH.get(i))return null;let r=s===t;return(0,a.jsx)(tJ.hP,{"data-test-variant-option":t,icon:r?(0,a.jsx)(P.n,{}):(0,a.jsx)(Y.G,{icon:l,fixedWidth:!0}),onClick:()=>m(t),children:n()},t)})})]}),(0,a.jsx)(B.w,{}),(0,a.jsx)(ef.h,{size:"sm",children:d.options.map(e=>{var i;let s=(0,nz.Xo)(l);if(e.checkEnabled&&!e.checkEnabled(o.attrs,s))return null;let d=null!==(i=r[e.key])&&void 0!==i?i:e.defaultValue;return(0,a.jsx)(e.Control,{value:d,updateValue:(l,a)=>{c({options:{...r,[e.key]:l}}),a&&o.forEach((a,o)=>{t.commands.updateNestedAttributesAtPos(n.from+o+1,{options:{...a.attrs.options,[e.key]:l}})})},editor:t,option:e},e.key)})}),(0,a.jsx)(B.w,{}),(0,a.jsx)(F,{editor:t})]})},predicate:e=>e instanceof d.qv&&(0,g.G)(e.node)},{component:e=>{let{editor:t,selection:n}=e,{node:l,from:o}=n,i=l.attrs.id,r=n.$from.parent,{startRemoveBg:s,isRemovingBg:d}=(0,tx.tk)({editor:t,id:i}),c=(0,u.useCallback)(()=>{t.chain().insertSmartLayoutCell(n.from).run()},[t,n.from]),m=(0,u.useCallback)(()=>{t.chain().insertSmartLayoutCell(n.from+n.node.nodeSize).run()},[t,n.from,n.node]),{options:f,image:p}=n.node.attrs,h=(0,u.useCallback)(e=>{t.commands.updateNestedAttributesAtPos(n.from,e)},[t,n.from]),b=(0,u.useCallback)(()=>{t.chain().handleSmartLayoutDelete().run()},[t]),y=(0,em.B)(),v=(0,u.useCallback)(e=>{y(!0),e.stopPropagation()},[y]);if(!r||!(0,g.G)(r))return console.error("SmartLayoutCellFormattingMenu: parent is not a smartLayout"),null;let k=(0,nC.yU)(r.attrs),w=(0,nS.P)(r.attrs.variantKey),C=(0,x.zd)((null==p?void 0:p.src)||(null==p?void 0:p.tempUrl)),A="imagesText"===w.key&&!C&&(null==p?void 0:p.src),M="imagesText"===w.key||"iconsText"===w.key;return(0,a.jsxs)(ef.h,{spacing:1,size:"sm",alignItems:"center",children:[(0,a.jsx)(t$,{editor:t,label:z.ag._({id:"NFoeBH"}),icon:w.icon}),(0,a.jsx)(B.w,{}),M&&(0,a.jsxs)(a.Fragment,{children:[A&&(0,a.jsx)(tv,{editor:t,pos:o,node:l}),A&&(0,a.jsx)(tw,{onClick:s,disabled:d}),(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"XQFMOm"}),icon:S.Xcf,onClick:v}),(0,a.jsx)(B.w,{})]}),(0,a.jsx)(j.h,{label:z.ag._({id:"w7mkyz"}),iconRotation:"bottom"===k?void 0:270,icon:S.Mp0,onClick:c,testId:"add-col-before-button"}),(0,a.jsx)(j.h,{label:z.ag._({id:"1e37Dl"}),icon:S.Mp0,iconRotation:"bottom"===k?180:90,onClick:m,testId:"add-col-after-button"}),(0,a.jsx)(t1,{editor:t,selection:n}),w.cellOptions.length>0?(0,a.jsx)(B.w,{}):null,(0,a.jsx)(ef.h,{size:"sm",children:w.cellOptions.map(e=>{var n;if(e.checkEnabled&&!e.checkEnabled(l.attrs))return null;let o=null!==(n=f[e.key])&&void 0!==n?n:e.defaultValue;return(0,a.jsx)(e.Control,{value:o,updateValue:t=>{h({options:{...f,[e.key]:t}})},editor:t,option:e},e.key)})}),(0,a.jsx)(B.w,{}),(0,a.jsx)(F,{editor:t,handleDelete:b})]})},predicate:e=>e instanceof d.qv&&(0,g.E)(e.node)},{component:e=>{let{selection:t,editor:n}=e,l=0===t.node.childCount,o=t.node.attrs.thumbHeight||tU.vf,r=(0,u.useCallback)(e=>{n.chain().updateAttributes("gallery",{thumbHeight:e}).setNodeSelection(t.from).focus().run()},[n,t.from]);return(0,a.jsxs)(i.U,{spacing:2,mr:2,children:[!l&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(V.x,{fontSize:"sm",fontWeight:"600",children:(0,a.jsx)(I.cC,{id:"Cj2Gtd"})}),(0,a.jsxs)(tW.iR,{"aria-label":"gallery-slider",min:5,max:15,step:.25,value:o,onChange:r,w:"120px",focusThumbOnChange:!1,colorScheme:"trueblue",size:"sm",children:[(0,a.jsx)(tW.Uj,{children:(0,a.jsx)(tW.Ms,{})}),(0,a.jsx)(tW.gs,{background:"trueblue.500"})]}),(0,a.jsx)(B.w,{}),(0,a.jsx)(ef.h,{spacing:0,size:"sm",onMouseDown:en.br,_empty:{display:"none"},children:A.Ec.map(e=>{let{key:l,name:o,shortcut:i,icon:r,apply:s,checkActive:d}=e;return n&&s&&d?(0,a.jsx)(j.h,{shortcut:i,icon:r,label:o(),onClick:e=>{s(n),n.chain().setNodeSelection(t.from).run()},isActive:d(n),testId:l},l):null})}),(0,a.jsx)(B.w,{})]}),(0,a.jsx)(F,{editor:n})]})},predicate:e=>e instanceof d.qv&&(0,p.N5)(e.node)},{component:e=>{let{editor:t,selection:n}=e,l=n.node.attrs;return(0,a.jsxs)(ef.h,{spacing:2,size:"sm",flex:"row",alignItems:"center",children:[(0,a.jsx)(eC,{editor:t,attrs:l,selection:n}),(0,a.jsx)(ez.E,{color:l.color||void 0,setColor:e=>{t.chain().focus().updateAttributes("calloutBox",{color:e}).selectNodeAtPos(n.from).run()},editor:t,analyticsSource:"CalloutBox"}),(0,a.jsx)(B.w,{}),(0,a.jsx)(F,{editor:t})]})},predicate:e=>e instanceof d.qv&&"calloutBox"===e.node.type.name},{component:e=>{let{editor:t,selection:n}=e,l=n.node.type.name,{fullWidthBlock:o}=t.getAttributes(l),i=(0,u.useCallback)(e=>{var n,l;e.stopPropagation(),null===(n=(l=t.commands).editSelectedDrawingBlock)||void 0===n||n.call(l)},[t]);return(0,a.jsxs)(ef.h,{spacing:0,size:"sm",alignItems:"center",children:[A.Ec.map(e=>{let{name:n,icon:i,checkActive:r,apply:s}=e;if(r&&s)return(0,a.jsx)(j.h,{label:n(),icon:i,onClick:()=>{s(t),o&&t.commands.updateAttributes(l,{fullWidthBlock:!1})},isActive:!o&&r(t)},n())}),(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"ePK91l"}),icon:S.Xcf,onClick:i}),(0,a.jsx)(B.w,{}),(0,a.jsx)(F,{editor:t})]})},predicate:e=>e instanceof d.qv&&("drawing"===e.node.type.name||"diagram"===e.node.type.name)},{component:e=>{let{editor:t,selection:n}=e,l=n.node.type.name,o=l===tq.Ee.name,{resize:r,fullWidthBlock:s,id:d}=n.node.attrs,c=(0,E.CG)(tq.Ig),m=(0,E.CG)((0,tq.v_)(d)),f=(0,eE.ye)("removeBackground"),p=!tG()({resize:r},{resize:tq.OT}),g=!!((null==r?void 0:r.clipPath)&&(null==r?void 0:r.clipType)),{setCropClipType:h,confirmCrop:b,cancelCrop:y,startCrop:v,resetCrop:k}=(0,tV.k)(t),{setMediaDrawerSourceKeyAction:x}=(0,tK.jn)(),{startRemoveBg:w,isRemovingBg:C}=(0,tx.tk)({editor:t,id:d}),M=(0,em.B)(),_=(0,u.useCallback)(e=>{x("image.custom"),M(!0),e.stopPropagation()},[x,M]),{enterZoom:O}=(0,ey.d8)(n.node.attrs.id),P=(0,u.useCallback)(()=>{(0,tY.rR)(n)},[n]),T=(0,eh.M)(t),R=(0,tY.u5)(n.$from),N=!R&&!T,L=m||C;return(0,a.jsxs)(i.U,{spacing:0,children:[N&&(0,a.jsx)(a.Fragment,{children:m?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tZ,{clipType:c,onChange:e=>{h({clipType:e})}}),(0,a.jsx)(B.w,{})]}):L?null:(0,a.jsxs)(a.Fragment,{children:[A.Ec.map(e=>{let{name:n,icon:o,checkActive:i,apply:d}=e;if(i&&d)return(0,a.jsx)(j.h,{label:n(),icon:o,onClick:()=>{d(t),s&&t.commands.updateAttributes(l,{fullWidthBlock:!1,resize:{...r,width:null}})},isActive:!s&&i(t)},n())}),(0,a.jsx)(B.w,{})]})}),(0,a.jsxs)(ef.h,{spacing:0,size:"sm",alignItems:"center",children:[m?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"6Z0nnS"}),icon:S.XnX,isDisabled:!g,onClick:()=>{k({id:d})}}),(0,a.jsx)(j.h,{color:"red.500",label:(0,a.jsx)(I.cC,{id:"7Bn152"}),icon:S.g82,onClick:()=>{y({id:d})}}),(0,a.jsx)(j.h,{color:"green.500",label:(0,a.jsx)(I.cC,{id:"ryQtQS"}),icon:S.LEp,onClick:()=>{b({id:d})}})]}):C?(0,a.jsx)(tw,{disabled:!0}):(0,a.jsxs)(a.Fragment,{children:[o&&(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"ACjxWW"}),icon:S.q9v,onClick:O}),o&&!T&&(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"oFsfkI"}),icon:S.Mzg,onClick:P}),o&&N&&(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"qKx+US"}),icon:S._nR,isActive:m,onClick:()=>{v({id:d,clipType:null==r?void 0:r.clipType})}}),o&&f&&(0,a.jsx)(tw,{onClick:w}),o&&N&&(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"5eaf8Z"}),icon:S.XnX,isDisabled:!p,onClick:()=>{t.chain().resetImageClip().resetImageScale().command(e=>{var t;let{commands:n}=e;return!!(null===(t=n.refreshBubbleMenu)||void 0===t?void 0:t.call(n))}).run()}}),R&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t$,{editor:t,label:z.ag._({id:"+v0hYZ"}),icon:S.emM}),(0,a.jsx)(B.w,{})," "]}),(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"ePK91l"}),icon:S.Xcf,onClick:_,testId:"edit-button"})]}),!L&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(B.w,{}),(0,a.jsx)(F,{editor:t})]})]})]})},predicate:e=>e instanceof d.qv&&("image"===e.node.type.name||"mediaPlaceholder"===e.node.type.name)},{component:e=>{let{editor:t,selection:n}=e,l=(0,em.B)(),o=(0,u.useCallback)(e=>{l(!0),e.stopPropagation()},[l]),i=(0,eh.M)(t),r=(0,p.u5)(n.$from),s=(0,u.useCallback)(()=>{(0,p.rR)(n)},[n]),{enterZoom:d}=(0,ey.d8)(n.node.attrs.id);return(0,a.jsxs)(ef.h,{spacing:0,size:"sm",alignItems:"center",children:[!r&&(0,a.jsx)(ek,{editor:t,selection:n}),(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"ACjxWW"}),icon:S.q9v,onClick:d}),!i&&(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"oFsfkI"}),icon:S.Mzg,onClick:s}),(0,a.jsx)(j.h,{label:(0,a.jsx)(I.cC,{id:"ePK91l"}),icon:S.Xcf,onClick:o}),(0,a.jsx)(B.w,{}),(0,a.jsx)(F,{editor:t})]})},predicate:e=>e instanceof d.qv&&(0,x.Bp)(e.node)&&!c.VH.get("linksV2")},{component:e=>{let{editor:t,selection:n}=e,l=(0,eA.p)(),o=(0,em.B)(),i=(0,u.useCallback)(e=>{o(!0),e.stopPropagation()},[o]),r=(0,u.useCallback)(()=>{t.chain().deleteSelectionAndSelectNear().run()},[t]),s=t.getAttributes(n.node.type.name),d=(0,x.NW)(s),c="displayStyle"in s&&s.displayStyle||"inline",m=(0,p.u5)(n.$from),f=(0,u.useCallback)(e=>{let o="embed.custom";(0,t7.ft)(e,e=>{o=e.source||o,(0,t6.Yc)({editor:t,selection:n,attrs:e,sourceKey:o})}).catch(e=>{l.isActive(nd)||l({id:nd,title:(0,a.jsx)(I.cC,{id:"MWOB3g"}),description:(0,a.jsx)(I.cC,{id:"iEFpL0"}),status:"error",position:"top",duration:3e3,isClosable:!0}),console.error("[caught] EmbedVideoFormattingMenu error fetching URL",e)})},[t,l,n]);return(0,a.jsxs)(ns,{children:[!m&&(0,a.jsx)(nr,{label:(0,a.jsx)(I.cC,{id:"/SVg/B"}),icon:"inline"===c?S.m6E:S.o_j,children:(0,a.jsx)(nt,{editor:t,selection:n})}),(0,a.jsx)(ni,{href:d||"",updateHref:f,editor:t,isEmbedLink:!0}),(0,a.jsx)(N.z,{variant:"plain",boxShadow:"none",leftIcon:(0,a.jsx)(Y.G,{icon:S.Xcf}),onClick:i,onMouseDown:en.br,children:"preview"===c?(0,a.jsx)(I.cC,{id:"qbzc6p"}):(0,a.jsx)(I.cC,{id:"pwu5kS"})}),(0,a.jsx)(nr,{label:(0,a.jsx)(I.cC,{id:"cnGeoo"}),icon:S.XAH,onLabelClick:r,color:"red.500",isFooter:!0})]})},predicate:e=>e instanceof d.qv&&(0,x.Bp)(e.node)&&c.VH.get("linksV2"),isPopover:!0},{component:e=>{let{editor:t,selection:n}=e,{nested:l}=n.node.attrs;return(0,a.jsxs)(ef.h,{spacing:0,size:"sm",children:[(0,a.jsx)(j.h,{testId:"toc-top-level-cards",label:(0,a.jsx)(I.cC,{id:"RiLgqi"}),icon:S.Zrf,onClick:()=>{t.commands.updateAttributes("tableOfContents",{nested:!1})},isActive:!l}),(0,a.jsx)(j.h,{testId:"toc-nested-cards",label:(0,a.jsx)(I.cC,{id:"nTkST4"}),icon:S.vp0,onClick:()=>{t.commands.updateAttributes("tableOfContents",{nested:!0})},isActive:l})]})},predicate:e=>e instanceof d.qv&&"tableOfContents"===e.node.type.name},{component:e=>{let{editor:t}=e,{showTime:n,hiddenContributorIds:l}=t.getAttributes("contributors"),i=(0,E.CG)(eu.xy)||[],{toggleShowTime:r,toggleOneVisibleContributor:s,toggleAllVisibleContributors:d}=function(e){let t=(0,u.useCallback)(()=>{e.commands.toggleShowTime()},[e]),n=(0,u.useCallback)(t=>{e.commands.toggleOneContributorVisibility(t)},[e]),l=(0,u.useCallback)(()=>{e.commands.toggleAllContributorsVisibility()},[e]);return{toggleShowTime:t,toggleOneVisibleContributor:n,toggleAllVisibleContributors:l}}(t),c=i.length>1;return(0,a.jsxs)(q.K,{direction:"column",spacing:4,padding:4,overflow:"hidden",children:[(0,a.jsx)(tB,{label:(0,a.jsxs)(o.xu,{display:"flex",alignItems:"center",gap:4,children:[(0,a.jsx)(Y.G,{fixedWidth:!0,icon:S.elf}),(0,a.jsx)(V.x,{children:(0,a.jsx)(I.cC,{id:"0j+RGO"})})]}),children:(0,a.jsx)(tM,{editor:t})}),(0,a.jsx)(tB,{label:(0,a.jsxs)(o.xu,{display:"flex",alignItems:"center",gap:4,children:[(0,a.jsx)(Y.G,{fixedWidth:!0,icon:S.SZw}),(0,a.jsx)(V.x,{children:(0,a.jsx)(I.cC,{id:"4ep6pq"})})]}),children:(0,a.jsx)(tA.r,{isChecked:n,onChange:r})}),c&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tP,{}),(0,a.jsx)(tT,{contributors:i,hasMultipleContributors:c,hiddenContributorIds:l,toggleOneVisibleContributor:s,toggleAllVisibleContributors:d})]}),(0,a.jsx)(tP,{isFooter:!0}),(0,a.jsx)(tR,{editor:t})]})},predicate:e=>e instanceof d.qv&&"contributors"===e.node.type.name,isPopover:!0},{component:n3,predicate:e=>e instanceof d.Bs}],n7=[{component:nw,predicate:(e,t)=>{var n,l,a,o;return(!!(null===(l=document)||void 0===l?void 0:null===(n=l.activeElement)||void 0===n?void 0:n.closest('[data-active-menu="navigation"]'))||!!(null===(o=document)||void 0===o?void 0:null===(a=o.activeElement)||void 0===a?void 0:a.closest("[data-navbar-editor]")))&&t.isActive("button")&&!!t.isSiteNavbarEditor&&!t.multipageEnabled}}],n6={border:"1px solid",borderColor:"gray.200",backdropFilter:"blur(20px)",backgroundColor:"#F9FAFBEE",shadow:"lg"},le=e=>{let{editor:t,scrollingParentSelector:n,menuContext:l,appendToSelector:d}=e;(0,w.F1)(t);let{hideTooltips:c,GammaTooltipHiderContext:m}=(0,r.o5)(),f=t.state.selection,p=("navigation"===l?n7:n8).find(e=>e.predicate(f,t)),g=[];try{(0,s.EG)(t.state.selection)&&(g=(0,b.su)(t,t.state.selection.from))}catch(e){console.error("[FormattingMenu] unable to find decorations at ".concat(t.state.selection.from),e.message)}let h=(0,u.useMemo)(()=>({maxWidth:"none",zIndex:"var(--chakra-zIndices-popover)",placement:"top",appendTo:d?()=>document.querySelector(d):void 0,popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:["top","top-start","top-end","bottom","bottom-start","bottom-end"]}},{name:"preventOverflow",options:{boundary:n?document.querySelector(n):void 0,altAxis:!0}}]}}),[n,d]),y="navigation"===l?"navigation":"editor";return(0,a.jsx)(m,{children:(0,a.jsx)(r.Wk,{isDark:!1,children:(0,a.jsxs)(k,{editor:t,onHide:c,tippyOptions:h,children:[p&&p.isPopover&&(0,a.jsx)(tD,{"data-in-editor-focus":!0,"data-active-menu":y,"data-testid":"formatting-menu",minW:"sm",color:"var(--chakra-colors-chakra-body-text)",fontFamily:"Inter, sans-serif",children:(0,a.jsx)(p.component,{editor:t,selection:f,decorations:g})}),p&&!p.isPopover&&(0,a.jsx)(o.xu,{"data-active-menu":y,borderRadius:"xl",...n6,w:"auto",minW:"0px",h:"fit-content",position:"relative",bottom:p.offsetPx?"".concat(p.offsetPx,"px"):"0","data-in-editor-focus":!0,"data-testid":"formatting-menu",color:"var(--chakra-colors-chakra-body-text)",fontFamily:"Inter, sans-serif",children:(0,a.jsx)(i.U,{spacing:3,px:2,minH:10,children:(0,a.jsx)(p.component,{editor:t,selection:f,decorations:g})})})]})})})}},57618:function(e,t,n){"use strict";n.d(t,{w:function(){return i}});var l=n(52322),a=n(42822),o=n(74008);let i=()=>(0,l.jsx)(a.M,{h:"20px",children:(0,l.jsx)(o.i,{mx:1,borderColor:"gray.300",orientation:"vertical"})})},54117:function(e,t,n){"use strict";n.d(t,{u:function(){return l.u}});var l=n(86076)},42487:function(e,t,n){"use strict";n.d(t,{L:function(){return a},y:function(){return o}});var l=n(13793);let a=e=>{setTimeout(()=>{e.commands.focus()})},o=(e,t,n)=>{var a;(null===(a=n.background)||void 0===a?void 0:a.type)===l.E.NONE?e.commands.updateAttributesAtPos(t,n):e.commands.updateNestedAttributesAtPos(t,n)}},67261:function(e,t,n){"use strict";n.d(t,{Nb:function(){return p}});var l=n(52322),a=n(50019),o=n(43297),i=n(38035),r=n(75009),s=n(28535),d=n(82554),u=n(77533),c=n(49929);n(94523),n(2784),n(11050),n(86323),n(87037);var m=n(93302),f=n(60421);n(33169),n(9726),n(11093),n(85e3);let p=e=>{let{item:t}=e,{name:n,image:p,icon:g,key:h,previewImage:b,shortcut:y,badge:v}=t,k=(0,m.wP)(),{colorMode:x}=(0,a.If)(),w={iconColor:(0,a.ff)("trueblue.600","trueblue.100"),bgColor:(0,a.ff)("white","gray.900"),textColor:(0,a.ff)("gray.800","gray.100"),borderColor:(0,a.ff)("gray.200","gray.700"),invertFilter:(0,a.ff)("invert(0)","invert(.7) brightness(1.2)"),iconBgColor:(0,a.ff)("white","gray.800"),gripDotsColor:(0,a.ff)("gray.500","gray.500")};return(0,l.jsxs)(o.K,{h:"100%",bg:w.bgColor,p:2.5,pt:2,spacing:1.5,alignItems:"center",shadow:"sm",borderRadius:"xl",border:"1px",borderColor:w.borderColor,role:"group",children:[(0,l.jsx)(i.k,{justifyContent:"center",alignItems:"center",minH:"7",w:"100%",children:"cardTemplate"===t.type&&k[h]?(0,l.jsx)(f.n7,{content:k[h].jsonContent,isDark:"dark"===x}):b?(0,l.jsx)(i.k,{bg:w.iconBgColor,borderRadius:"md",children:(0,l.jsx)(r.E,{filter:w.invertFilter,src:b.src,w:"100%",maxW:"100%",alt:n(),pointerEvents:"none"})}):p?(0,l.jsx)(r.E,{src:p.src,borderRadius:"sm",h:"1.5em",w:"1.5em",objectFit:"contain",pointerEvents:"none"}):(0,l.jsx)(s.xu,{color:w.iconColor,fontSize:"xl",children:g&&(0,l.jsx)(c.G,{icon:g})})}),v&&(0,l.jsx)(d.C,{position:"absolute",top:"1",right:"2",colorScheme:"green",children:v()}),(0,l.jsxs)(o.K,{spacing:0,whiteSpace:"break-spaces",flex:"1",textAlign:"center",children:[(0,l.jsx)(u.x,{color:w.textColor,fontWeight:"600",fontSize:"xs",lineHeight:1.2,noOfLines:2,children:n()}),y&&(0,l.jsx)(u.x,{fontSize:"xs",color:"gray.500",fontWeight:"500",children:y})]})]})}},85e3:function(e,t,n){"use strict";n(2784),n(94090),n(93982),n(90604)},5682:function(e,t,n){"use strict";n.d(t,{Z:function(){return g},B:function(){return F}});var l=n(52322),a=n(28535),o=n(75009),i=n(82554),r=n(49929),s=n(94523),d=n(2784),u=n(85420),c=n(16893),m=n(11050),f=n(86323),p=n(33374);let g=(0,d.forwardRef)((e,t)=>{let{query:n,editor:g}=e,h=(0,c.A)(f.xr),b=h.filter(e=>{if((0,f.pP)(g,e))return!1;let{name:t,keywords:l=[]}=e;return t().toLowerCase().includes(n.toLowerCase())||l.find(e=>e.startsWith(n.toLowerCase()))}),y=(0,d.useCallback)(e=>{if(!b[e])return;let{execute:t}=b[e],l=g.state.selection;g.chain().deleteRange({from:l.from-n.length-1,to:l.to}).run(),(0,f.ZT)(b[e],m.fe.SLASH_MENU),t(g)},[g,b,n.length]),{selectedIndex:v,selectedItemEl:k}=(0,p.Yg)({ref:t,selectItem:y,options:b});return b.length>0?(0,l.jsx)(a.xu,{"data-slash-menu-dropdown":!0,children:(0,l.jsx)(s.wb,{children:(0,l.jsx)(s.Dw,{width:"375px",children:b.map((e,t)=>{let{name:n,icon:a,iconStyle:d,image:c,shortcut:m,creditType:f,badge:p}=e;return(0,l.jsxs)(s.m9,{ref:t===v?k:null,icon:c?(0,l.jsx)(o.E,{mt:1,h:"1.5em",w:"1.25em",objectFit:"contain",src:c.src}):a?(0,l.jsx)(r.G,{icon:a,rotation:null==d?void 0:d.rotation,size:"1x",fixedWidth:!0,color:"var(--chakra-colors-trueblue-600)"}):(0,l.jsx)(l.Fragment,{}),tabIndex:t===v?0:-1,onClick:()=>y(t),command:m,children:[n(),f&&(0,l.jsx)(u.J,{type:f,colorScheme:"blackAlpha",bg:"whiteAlpha.800"}),p&&(0,l.jsx)(i.C,{ml:2,colorScheme:"green",children:p()})]},t)})})})}):(0,l.jsx)(l.Fragment,{})});var h=n(29117),b=n(77533),y=n(5740),v=n(75768),k=n(32899),x=n(5879),w=n(42111),S=n(57574),C=n(3452),z=n(66028),A=n(4471);let I=["image.custom","table2","columns","insertCardInside","embed.custom"],j=()=>I.map(e=>(0,A.UO)().find(t=>t.key===e)).filter(Boolean),F=e=>{let{editor:t}=e,n=(0,w.ye)("aiAutocomplete")&&!(0,C.M)(t),a=(0,c.A)(j),{selection:o}=t.state;return o.empty?(0,l.jsxs)(h.U,{spacing:4,color:"gray.400","data-print-hidden":!0,position:"absolute",inset:"0",contentEditable:!1,overflow:"hidden",fontFamily:"Inter, sans-serif",fontSize:"0.8em",onMouseDown:z.br,pointerEvents:"none",userSelect:"none","data-guider-highlight":"slash-menu-prompt",className:"slash-menu-prompt",children:[(0,l.jsx)(b.x,{whiteSpace:"nowrap",children:n?(0,l.jsx)(x.cC,{id:"UfUEJ5",values:{AUTOCOMPLETE_INPUT_SHORTCUT:S.o},components:{0:(0,l.jsx)(y.T,{}),1:(0,l.jsx)(y.T,{})}}):(0,l.jsx)(x.cC,{id:"HGRFT/",components:{0:(0,l.jsx)(y.T,{})}})}),(0,l.jsx)(v.h,{isAttached:!0,variant:"ghost",size:"xs",spacing:1,pointerEvents:"auto",colorScheme:"gray",transitionProperty:"opacity",transitionDuration:"normal",_hover:{opacity:1},children:a.map(e=>{let{name:n,shortcut:a,icon:o,execute:i,key:d,creditType:c}=e;return!(0,f.pP)(t,e)&&(0,l.jsx)(s.kH,{placement:"top",shortcut:a,label:(0,l.jsxs)(l.Fragment,{children:[n()," ",c&&(0,l.jsx)(u.J,{type:c})]}),children:(0,l.jsx)(k.h,{"aria-label":n(),onClick:()=>{(0,f.ZT)(e,m.fe.BLOCK_PROMPT),i(t)},icon:(0,l.jsx)(r.G,{icon:o}),color:"inherit"})},d)})})]}):null}},70723:function(e,t,n){"use strict";n.d(t,{Lt:function(){return b},PS:function(){return y},hP:function(){return k},sV:function(){return v}});var l=n(52322),a=n(18292),o=n(70339),i=n(91982),r=n(62614),s=n(81821),d=n(59576),u=n(79729),c=n(94523),m=n(2784);let[f,p]=(0,s.k)({strict:!1,name:"DropdownContext"}),[g,h]=(0,s.k)({name:"DropdownStylesContext",errorMessage:"useDropdownStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),b=e=>{let{isOpen:t,onClose:n,onToggle:r}=(0,a.q)(),s=(0,i.jC)("Dropdown",e),d=(0,o.D)({placement:"bottom-start"}),u=(0,m.useMemo)(()=>({isOpen:t,onClose:n,onToggle:r,popper:d}),[t,n,r,d]);return(0,l.jsx)(f,{value:u,children:(0,l.jsx)(g,{value:s,children:(0,l.jsx)(c.wb,{...e})})})},y=e=>{let{children:t,as:n,...a}=e,{popper:o,onToggle:i}=p(),s=n||r.z;return(0,l.jsx)(s,{...a,ref:o.referenceRef,onClick:(0,u.v0)(e.onClick,i),children:(0,l.jsx)(d.m.span,{__css:{pointerEvents:"none",flex:"1 1 auto",justifyContent:"flex-start",display:"flex",minW:0},children:t})})},v=e=>{var t,n;let{children:a,...o}=e,{isOpen:i,popper:r}=p(),s=h();if(!i)return null;let u=r.getPopperProps({...e,style:{visibility:i?"visible":"hidden",...e.style}});return(0,l.jsx)(d.m.div,{...o,mt:2,minWidth:"var(--chakra-sizes-48)",ref:r.popperRef,...u,__css:{zIndex:null!==(n=e.zIndex)&&void 0!==n?n:null===(t=s.list)||void 0===t?void 0:t.zIndex},children:(0,l.jsx)(c.Dw,{children:a})})},k=e=>{let{onToggle:t}=p();return(0,l.jsx)(c.m9,{...e,onClick:(0,u.v0)(e.onClick,t)})}},12336:function(e,t,n){"use strict";n.d(t,{E:function(){return h}});var l=n(52322),a=n(10625),o=n(67046),i=n(62614),r=n(99058),s=n(42946),d=n(49929),u=n(94523),c=n(5879),m=n(87254),f=n(86787),p=n(66028),g=n(42487);let h=e=>{let{editor:t,color:n,setColor:h,analyticsSource:b}=e;return(0,l.jsxs)(a.v,{isLazy:!0,onClose:()=>(0,g.L)(t),children:[(0,l.jsx)(u.kH,{placement:"top",label:(0,l.jsx)(c.cC,{id:"XAIjEI"}),"aria-label":m.ag._({id:"XAIjEI"}),children:(0,l.jsx)(o.j,{as:i.z,variant:"toolbar",rightIcon:(0,l.jsx)(d.G,{icon:s.ptq,transform:"shrink-6"}),size:"sm",onMouseDown:p.br,children:(0,l.jsx)(d.G,{icon:s.q2v})})}),(0,l.jsx)(r.q,{overflow:"hidden",children:(0,l.jsx)(f.M,{currentColor:n||null,setColor:h,source:b})})]})}},29679:function(e,t,n){"use strict";n.d(t,{h:function(){return d}});var l=n(52322),a=n(62614),o=n(49929),i=n(94523);n(2784);var r=n(1198),s=n(66028);let d=e=>{let{label:t,shortcut:n,disabled:i=!1,color:r,isActive:d=!1,onClick:c,icon:m,iconRotation:f,testId:p,children:g,...h}=e,b=(0,l.jsx)(a.z,{isDisabled:i,color:r,variant:d?"activeToolbar":"toolbar",onClick:c,"data-testid":p,onMouseDown:s.br,size:"sm",...h,children:m?(0,l.jsx)(o.G,{icon:m,rotation:f,fixedWidth:!0}):g||null});return t?(0,l.jsx)(u,{label:t,shortcut:n,children:b}):b},u=e=>{let{label:t,shortcut:n,children:a}=e;return(0,l.jsx)(i.kH,{placement:"top",portalProps:{containerRef:(0,r.jj)()},label:t,shortcut:n,children:a})}},8624:function(e,t,n){"use strict";n.d(t,{c:function(){return A}});var l=n(52322),a=n(2784),o=n(35183),i=n(97166),r=n(43297),s=n(38035),d=n(62614),u=n(77533),c=n(36474),m=n(78071),f=n(28535),p=n(74105),g=n(85573),h=n(20816),b=n(42946),y=n(49929),v=n(94523),k=n(5879),x=n(87254),w=n(43997),S=n(94199),C=n(93982),z=n(944);let A=e=>{let{currentAttributes:t,updateAttributes:n}=e,s=(0,w.v9)(C.Pu),d=s.config.colors||[],u=(0,a.useCallback)(e=>n({hex:e}),[n]);if("string"==typeof t)return u(t),(0,l.jsx)(l.Fragment,{});let{hex:c}=t,m=d.map(e=>(0,a.createElement)(I,{setBackgroundColor:u,...e,isSelected:c===e.hex,key:e.name}));return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(o.NI,{children:[(0,l.jsx)(i.l,{fontSize:"sm",children:(0,l.jsx)(k.cC,{id:"S05wWG"})}),(0,l.jsx)(B,{value:c,updateValue:u})]}),m.length>0&&(0,l.jsxs)(o.NI,{children:[(0,l.jsx)(i.l,{fontSize:"sm",children:(0,l.jsx)(k.cC,{id:"FhroXy"})}),(0,l.jsx)(r.K,{mt:3,children:m})]})]})},I=e=>{let{hex:t,name:n,isDark:a,setBackgroundColor:o,isSelected:i}=e;return(0,l.jsxs)(s.k,{as:d.z,align:"center",w:"100%",bg:t,cursor:"pointer",borderRadius:4,_hover:{shadow:"outline",bg:t},transition:"box-shadow .2s ease",color:"white",p:3,py:6,onClick:()=>{o(t)},children:[(0,l.jsx)(u.x,{fontSize:"xs",fontWeight:"bold",color:a?"white":"gray.800",children:n}),(0,l.jsx)(c.L,{}),(0,l.jsx)(m.p,{in:i,children:(0,l.jsx)(f.xu,{color:a?"white":"gray.800",children:(0,l.jsx)(y.G,{icon:b.LEp})})})]})},j=e=>e.replaceAll("#","").replaceAll(/[^A-Fa-f0-9]/g,"").slice(0,6),F=e=>{let t=j(e),n="";switch(t.length){case 0:return"";case 1:for(let e=0;e<6;e++)n+=t;break;case 2:for(let e=0;e<3;e++)n+=t;break;case 3:case 4:case 5:n=t.slice(0,3).split("").map(function(e){return e+e}).join("");break;default:n=t}return"#"+n.toUpperCase()},B=e=>{let{value:t,updateValue:n,defaultValue:o}=e,i=(0,a.useCallback)(e=>{let t=F(e.target.value);n(""===t?null:t)},[n]),r=(0,z.Kt)(n,100);return(0,l.jsxs)(p.B,{size:"md",children:[(0,l.jsx)(g.I,{type:"text",placeholder:o?"".concat(o.toUpperCase()," ").concat(x.ag._({id:"2Hidew",values:{GAMMA_PROPER_NOUN:S.N6}})):"#000000",value:null!=t?t:"",onChange:e=>{n(""===e.target.value?null:"#".concat(j(e.target.value)))},onBlur:i,onKeyDown:e=>{if("Enter"===e.key&&(e.preventDefault(),document.activeElement===e.target)){let e=document.activeElement;e.blur()}},fontFamily:'"SFMono-Regular",\n Consolas,\n "Liberation Mono",\n Menlo,\n Courier,\n monospace;\n '}),(0,l.jsx)(h.Z,{sx:{'input[type="color"]::-webkit-color-swatch ':{borderRadius:"5px",border:"1px solid",borderColor:v.qZ.colors.gray[200]},'input[type="color"]::-webkit-color-swatch-wrapper':{padding:0}},children:(0,l.jsx)(v.kH,{label:(0,l.jsx)(k.cC,{id:"Yesdqm"}),children:(0,l.jsx)("input",{type:"color",value:t||o,onInput:e=>r(e.currentTarget.value.toUpperCase()),style:{border:"none",background:"none",width:"1.5em",height:"1.5em"}})})})]})}},69747:function(e,t,n){"use strict";n.d(t,{TI:function(){return a},pw:function(){return r}});var l,a,o=n(76919);(l=a||(a={})).CREATE_COMMENT_FROM_SELECTION="createCommentFromSelection",l.OPEN_POPUP_COMMENT="openPopupComment",l.POPUP_COMMENT_TOGGLED="popupCommentToggled",l.OPEN_THEME_DRAWER="openThemeDrawer",l.OPEN_THEME_EDITOR="openThemeEditor",l.OPEN_PAGE_SETUP="openPageSetup";class i extends o.v{}let r=new i},57574:function(e,t,n){"use strict";n.d(t,{Y:function(){return a},o:function(){return l}});let l="+++",a="/continue"},38372:function(e,t,n){"use strict";n.d(t,{Mw:function(){return i},eV:function(){return o},gk:function(){return r},ml:function(){return s},xF:function(){return a}});var l=n(37164);let a=e=>t=>{let n=t.getAttribute("bookmark");if(!n)return!1;let l=e.bookmarks[n];return!!l&&l.attrs},o=e=>t=>{let n=t.getAttribute("bookmark");if(!n)return!1;let l=e.bookmarks[n];return!!l&&l.content},i=(e,t)=>e.bookmarks[t],r=()=>({bookmarks:{}}),s=(e,t)=>{let n=d.generateBookmarkId();return e.bookmarks[n]=t,n},d={generateBookmarkId:()=>(0,l.x0)(5)}},50105:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var l=n(27191);let a=new l.H$("annotation")},20929:function(e,t,n){"use strict";n.d(t,{l:function(){return eH}});var l=n(52322),a=n(28535),o=n(73200),i=n(94523),r=n(37164),s=n(2784),d=n(19431),u=n(42111),c=n(94090),m=n(50788),f=n(4878),p=n(90507),g=n(93982),h=n(3543),b=n(90221),y=n(944),v=n(62047);let k=e=>{let{editor:t,decorations:n}=e,l=n.filter(e=>!!e.spec.isMobileAnnotation),[a,o]=(0,s.useState)(null),i=(0,s.useRef)(null);return(0,s.useEffect)(()=>{if(0===l.length){null!==i.current&&(document.removeEventListener("touchstart",i.current),i.current=null,o(null));return}i.current||(o({left:l[0].spec.offsetX,top:l[0].spec.offsetY}),i.current=e=>{let n=e.target,l=n.closest(".mobile-add-comment-widget");l||t.commands.setMobileAddBlockComment(null)},document.addEventListener("touchstart",i.current))},[t,l]),a};var x=n(70065),w=n(43997),S=n(69747),C=n(96342),z=n(36651),A=n(40015),I=n(29117),j=n(54933),F=n(38035),B=n(43297),M=n(87651),E=n(42946),_=n(5879),O=n(88241),P=n(66028),T=n(62614),R=n(82554),N=n(49929);let L=(0,s.memo)(e=>{let{isMobile:t,icon:n,badgeCount:a,tooltip:o,children:r,...s}=e;t&&delete s._hover;let d=(0,l.jsx)(I.U,{className:"block-comment-button-wrapper",children:(0,l.jsxs)(T.z,{variant:"custom",borderRadius:"full",size:"sm",bgGradient:"none",color:"yellow.600",boxSize:t?10:8,border:t?"":"1px solid white",transitionProperty:"common",transitionDuration:"normal",_hover:t?{}:{bgGradient:"linear(to-b, yellow.300, yellow.400)",color:"yellow.700"},...s,children:[n&&(0,l.jsx)(N.G,{size:t?"lg":"sm",icon:n}),r&&r,void 0!==a&&(0,l.jsx)(R.C,{colorScheme:"yellow",borderRadius:"full",pos:"absolute",bottom:-1,right:-1,shadow:"base","data-testid":"badge-count",children:a})]})});return o?(0,l.jsx)(i.kH,{placement:"left",label:o,children:d}):d});L.displayName="GenericBlockCommentButton";var D=n(76643),W=n(84636),U=n.n(W),H=n(57480),G=n(3561),q=n(77182);let V=e=>{let{comments:t,reactions:n,draftComment:l}=e;if(l&&l.text.trim().length>0)return"draft";if(0===t.length)return 0===n.length?"fresh":"reactions-only";if(1===t.length)return"single-thread";if(t.length>1)return"multiple-threads";throw Error("Invalid button state")},K=e=>{let{comments:t,reactions:n}=e,l={};return t.forEach(e=>{l[e.id]=[e.user],e.replies.forEach(t=>{l[e.id].push(t.user)})}),Object.entries(l).forEach(e=>{let[t,n]=e;l[t]=U()(n,"id")}),l},Y=e=>{let{reactions:t}=e,n={};return t.forEach(e=>{n[e.emoji]=U()(e.reactions.flatMap(e=>e.users),"id")}),n},$=e=>{let{comments:t,reactions:n,draftComment:l}=e,a=V({comments:t,reactions:n,draftComment:l}),o=t.reduce((e,t)=>{var n;return e+((null===(n=t.replies)||void 0===n?void 0:n.length)||0)},0)+n.reduce((e,t)=>e+t.count,0)+t.length,i=Math.max(0,n.length-7);return{state:a,allCount:o,overflowReactionCount:i}},J=e=>{let{comments:t,reactions:n}=e,l=n.flatMap(e=>e.reactions.map(e=>e.users)).flat(),a=t.map(e=>e.user).concat(t.map(e=>e.replies.map(e=>e.user)).flat()).filter(Boolean),o=K({comments:t,reactions:n}),i=U()([...a,...l],"id"),r=[],s=Y({reactions:n});return t.forEach(e=>{r.push(o[e.id])}),{allAvatars:i,reactionAvatars:s,commentAvatars:r}},X=e=>{let{popup:t,isMobile:n,isHovered:l,comments:a,reactions:o,draftComment:i,enableReactions:r}=e,{state:d}=$({comments:a,reactions:o,draftComment:i}),u=n||r&&l||!r&&l&&"fresh"!==d||null!==t;return(0,s.useEffect)(()=>{n||(u?document.body.classList.add("is-taking-action"):document.body.classList.remove("is-taking-action"))},[u,n]),{isExpanded:u}},Z=e=>{let{isOpen:t,popupRef:n,onClose:l}=e;(0,D.O)({ref:n,handler:e=>{var n,a,o,i,r,s,d;let u=(0,b.f_)()&&!(null===(n=null==e?void 0:e.target)||void 0===n?void 0:n.closest(".".concat(G.G," [data-controls-toggle-button]")));u||!t||(null===(a=null==e?void 0:e.target)||void 0===a?void 0:a.closest("[data-controls-toggle-button]"))||(null===(o=null==e?void 0:e.target)||void 0===o?void 0:o.closest('[data-target-name="emoji-list"]'))||(null===(i=null==e?void 0:e.target)||void 0===i?void 0:i.closest('[data-target-name="mention-list"]'))||(null===(r=null==e?void 0:e.target)||void 0===r?void 0:r.closest('[data-target-name="reaction-emoji-picker"]'))||(null===(s=null==e?void 0:e.target)||void 0===s?void 0:s.closest(".chakra-menu__menu-list"))||(null===(d=null==e?void 0:e.target)||void 0===d?void 0:d.closest('[data-target-name="doc-mention-popup"]'))||l()}})},Q=e=>{let{editor:t,getPos:n}=e,l=t.view.nodeDOM(n()),[a,o]=(0,s.useState)(null);return((0,s.useLayoutEffect)(()=>{o((null==l?void 0:l.offsetHeight)||100)},[]),null===a)?null:Math.min(a,H.yK)};var ee=n(77533),et=n(81540),en=n(7165),el=n(62549);let ea=(0,en.E)(a.xu),eo=(0,s.memo)(e=>{let{emojis:t}=e;return(0,l.jsx)(l.Fragment,{children:null==t?void 0:t.map((e,n)=>0===n?(0,l.jsx)(ea,{initial:{x:"6px",y:"5px"},textShadow:(null==t?void 0:t.length)>1?"0px 1px 3px rgba(0,0,0,.4)":"none",fontSize:"20px",position:"absolute",zIndex:1,children:(0,l.jsx)("em-emoji",{size:0,native:!0,id:e})},n):1===n?(0,l.jsx)(ea,{zIndex:0,initial:{x:"10px",y:"6px",scale:.7},animate:{scale:.7,rotate:"10deg",x:"18px",y:"-3px"},position:"absolute",children:(0,l.jsx)("em-emoji",{size:0,native:!0,id:e})},n):2===n?(0,l.jsx)(ea,{zIndex:0,initial:{x:"10px",y:"6px",scale:.7},animate:{scale:.7,rotate:"-10deg",x:"-3px",y:"16px"},position:"absolute",children:(0,l.jsx)("em-emoji",{size:0,native:!0,id:e})},n):3===n?(0,l.jsx)(ea,{zIndex:0,initial:{x:"10px",y:"6px",scale:.7},animate:{scale:.7,rotate:"-10deg",x:"-3px",y:"-3px"},position:"absolute",children:(0,l.jsx)("em-emoji",{size:0,native:!0,id:e})},n):null)})});eo.displayName="EmojiCluster";let ei=(0,en.E)(a.xu),er=(0,s.memo)(e=>{let{emoji:t,emojiCluster:n,isMobile:o,user:r,canReact:d,reaction:u,badgeCount:c,onClick:m,...f}=e,p=(0,q.gq)(u),g=!!p.find(e=>e.id===(null==r?void 0:r.id)),h=(0,el.Rf)({users:p,selfUserId:(null==r?void 0:r.id)||""}),b=(0,l.jsxs)(a.xu,{alignContent:"center",children:[(0,l.jsx)(_.cC,{id:"mRnNF/",values:{usersLabel:h,emoji:t},components:{0:(0,l.jsx)(ee.x,{as:"span",color:"gray.300"})}}),d&&(0,l.jsx)(ee.x,{display:"block",color:"gray.500",children:g?(0,l.jsx)(_.cC,{id:"fb/FjL"}):(0,l.jsx)(_.cC,{id:"AG3H1y"})})]}),y=(0,l.jsx)(I.U,{className:"block-comment-button-wrapper",children:(0,l.jsxs)(T.z,{variant:"ghost",borderRadius:"full",size:"sm",boxSize:o?10:8,transitionProperty:"common",transitionDuration:"normal",...g?{bg:"gray.100",borderColor:o?"blackAlpha.200":"gray.200"}:{},...f,onClick:e=>{d&&m&&m(e)},pos:"relative",children:[(0,l.jsx)(s.Suspense,{fallback:(0,l.jsx)(et.$,{size:"sm"}),children:(0,l.jsxs)(ee.x,{pos:"absolute",inset:0,as:"span",sx:{".emoji-mart-emoji":{fontSize:"1em",span:{cursor:"inherit",fontSize:"1em !important"},":hover::before":o?{}:{backgroundColor:"transparent"}}},fontSize:o?"1.5em":"1.25em",children:[!n&&(0,l.jsx)(ei,{initial:{x:"6px",y:"5px"},fontSize:"20px",position:"absolute",zIndex:1,children:(0,l.jsx)("em-emoji",{size:0,native:!0,id:t})}),(0,l.jsx)(O.M,{children:(0,l.jsx)(eo,{emojis:n})})]})}),void 0!==c&&(0,l.jsx)(R.C,{colorScheme:"yellow",borderRadius:"full",pos:"absolute",bottom:-1,right:-1,shadow:"base",zIndex:1,children:c})]})});return b?(0,l.jsx)(i.kH,{placement:"left",label:b,children:y}):y});er.displayName="ReactionButton";let es={bg:"yellow.600",color:"yellow.100",_hover:{bg:"yellow.600",color:"yellow.100"}},ed={bg:"yellow.100",color:"yellow.800"},eu="linear(to-b, yellow.200, yellow.300)",ec=e=>{e.stopPropagation()},em=(0,s.memo)(e=>{let{user:t,userCanComment:n,isExpanded:o,isMobile:i,comments:r,reactions:s,draftComment:d,onClickThread:u,onClickAddComment:c,onClickAddReaction:m,onClickReactionsOverflow:f,onClickExistingReaction:p,onClosePopup:g,hideAddCommentButton:h=!1,viewingCommentId:b,enableReactions:y,blockAllowsCommenting:v,...k}=e,{state:x,allCount:w,overflowReactionCount:S}=$({comments:r,reactions:s,draftComment:d}),C=[];if(!o)switch(x){case"draft":C.push((0,l.jsx)(L,{isMobile:i,icon:E.OfB,onClick:c,bg:o?"gray.100":"white",_hover:ed,color:"gray.600"},"draft"));break;case"fresh":C.push((0,l.jsx)(L,{isMobile:i,icon:j.XoX,bg:o?"gray.100":"white",_hover:ed,color:"gray.600",bgGradient:eu,tooltip:(0,l.jsx)(_.cC,{id:"oFsfkI"}),"data-testid":"create-comment-button",onClick:c},"fresh"));break;case"reactions-only":if(s.length>0){let e=s[0],a=s.reduce((e,t)=>(e.push(t.emoji),e),[]);C.push((0,l.jsx)(er,{isMobile:i,onClick:t=>{p(e),t.stopPropagation()},reaction:e,user:t,badgeCount:w,emoji:e.emoji,"data-testid":"reaction-".concat(e.emoji),emojiCluster:a,canReact:n&&v},e.emoji))}break;case"single-thread":C.push((0,l.jsx)(L,{isMobile:i,icon:j.Mzg,bgGradient:eu,badgeCount:w,"data-testid":"single-thread"},"first-thread"));break;case"multiple-threads":C.push((0,l.jsx)(L,{isMobile:i,bgGradient:eu,icon:j.lXL,badgeCount:w,"data-testid":"multiple-threads"},"first-thread"))}return(o&&(r.forEach((e,t)=>{let n=null!==b&&e.id===b,a=n?es:{},o=n?()=>g():()=>u(e);C.push((0,l.jsx)(L,{isMobile:i,icon:j.Mzg,badgeCount:e.replies.length+1,bgGradient:eu,onClick:o,"data-testid":"thread-".concat(t),...a},0===t?"first-thread":"thread-".concat(t)))}),y&&(s.slice(0,7).forEach(e=>{C.push((0,l.jsx)(er,{isMobile:i,onClick:t=>{p(e),t.stopPropagation()},"data-testid":"reaction-".concat(e.emoji),reaction:e,user:t,badgeCount:e.count,emoji:e.emoji,canReact:n&&v},e.emoji))}),S>0&&C.push((0,l.jsxs)(L,{isMobile:i,onClick:()=>{f()},bg:"gray.100",color:"yellow.800",_hover:ed,children:["+",S]},"reactions-overflow"))),"draft"===x?C.push((0,l.jsx)(L,{isMobile:i,icon:E.OfB,tooltip:(0,l.jsx)(_.cC,{id:"x8Zuns"}),onClick:c,bg:o?"gray.100":"white",_hover:ed,"data-testid":"create-comment-button-draft",color:"gray.600"},"draft")):h||i||C.push((0,l.jsx)(L,{isMobile:i,icon:j.XoX,bgGradient:eu,tooltip:(0,l.jsx)(_.cC,{id:"oFsfkI"}),onClick:c,bg:o?"gray.100":"white",_hover:ed,"data-testid":"create-comment-button",color:"gray.600"},"fresh")),y&&n&&!h&&!i&&C.push((0,l.jsx)(L,{isMobile:i,icon:j.wqT,bgGradient:eu,onClick:()=>{m()},tooltip:(0,l.jsx)(_.cC,{id:"9OEgyT"}),"data-testid":"add-reaction-button",bg:"gray.100",_hover:ed,color:"gray.600"},"add-reaction"))),i)?(0,l.jsx)(F.k,{className:"block-comments-inner-stack",userSelect:"none",transitionProperty:"all",transitionDuration:"fast",flexDir:"row",flexWrap:"wrap",onClick:ec,children:C}):(0,l.jsxs)(B.K,{className:"block-comments-inner-stack",userSelect:"none",spacing:0,width:"34px",transitionProperty:"all",transitionDuration:"fast",onClick:ec,borderRadius:"full",boxShadow:"0 0 0 2px rgba(0,0,0,.1)",bg:"white",border:"1px solid transparent",onMouseDown:P.br,"data-testid":"block-comments-buttons",...k,children:[(0,l.jsx)(a.xu,{children:C[0]}),(0,l.jsx)(M.U,{in:o,startingHeight:0,transitionEnd:{enter:{overflow:"initial"}},children:(0,l.jsx)(O.M,{children:C.length>1&&(0,l.jsx)(B.K,{spacing:1,children:C.slice(1)})})})]})});em.displayName="BlockCommentsButtons";let ef=(0,s.memo)(e=>{let{onClickAddComment:t,onClickAddReaction:n,...o}=e;return(0,l.jsx)(a.xu,{className:"mobile-add-comment-widget",pos:"absolute",transform:"translate(-50%,-50%) scale(1)",mt:-6,background:"white",p:"4px",borderRadius:"full",shadow:"lg",transitionProperty:"common",transitionDuration:"normal",transitionTimingFunction:"cubic-bezier(0.34, 1.56, 0.64, 1);",zIndex:9,...o,children:(0,l.jsxs)(I.U,{spacing:1,children:[(0,l.jsx)(L,{isMobile:!0,icon:j.XoX,bg:"white",_hover:ed,color:"gray.600",bgGradient:eu,onClick:()=>{t()}},"fresh"),(0,l.jsx)(L,{isMobile:!0,icon:j.wqT,bgGradient:eu,onClick:()=>{n()},bg:"white",_hover:ed,color:"gray.600"},"add-reaction")]})})});ef.displayName="MobileAddCommentWidget";var ep=n(93274),eg=n(75078);let eh=(0,s.memo)(e=>{let{comments:t,reactions:n,isExpanded:a,avatarMax:o=4}=e,{allAvatars:i,reactionAvatars:r,commentAvatars:s}=J({comments:t,reactions:n});return(0,l.jsxs)(B.K,{className:"avatar-group-popup",spacing:1,transitionProperty:"common",transitionDuration:"fast",onClick:e=>{e.stopPropagation()},p:"1px",pl:3,userSelect:"none",children:[!a&&(0,l.jsx)(ep.H,{max:o,style:{fontSize:"var(--chakra-fontSizes-sm)"},size:"sm",justifyContent:"start",opacity:[0,0,0,1],transitionProperty:"common",transitionDuration:"normal",position:"relative",children:i.map((e,t)=>(0,l.jsx)(eg.q,{zIndex:i.length-t,mr:-3,name:null==e?void 0:e.displayName,src:null==e?void 0:e.profileImageUrl,shadow:"base",ignoreFallback:!0},"unexpanded-".concat(null==e?void 0:e.id)))}),a&&(0,l.jsxs)(l.Fragment,{children:[s.map((e,t)=>(0,l.jsx)(ep.H,{max:o,style:{fontSize:"var(--chakra-fontSizes-sm)"},size:"sm",justifyContent:"start",opacity:[0,0,0,1],transitionProperty:"common",transitionDuration:"normal",position:"relative",children:e.map((e,t)=>(0,l.jsx)(eg.q,{zIndex:i.length-t,mr:-3,name:null==e?void 0:e.displayName,src:null==e?void 0:e.profileImageUrl,shadow:"base",ignoreFallback:!0},"comment-".concat(null==e?void 0:e.id)))},"comment-".concat(t))),n.slice(0,7).map((e,t)=>(0,l.jsx)(ep.H,{max:o,style:{fontSize:"var(--chakra-fontSizes-sm)"},size:"sm",justifyContent:"start",opacity:[0,0,0,1],transitionProperty:"common",transitionDuration:"normal",position:"relative",children:r[e.emoji].map((e,t)=>(0,l.jsx)(eg.q,{zIndex:i.length-t,mr:-3,name:null==e?void 0:e.displayName,src:null==e?void 0:e.profileImageUrl,shadow:"base",ignoreFallback:!0},"reaction-".concat(null==e?void 0:e.id)))},"reaction-".concat(t)))]})]})});eh.displayName="AvatarGroupPopup";var eb=n(87254);let ey=e=>{let{isMobile:t,emoji:n}=e,a=eb.ag._({id:"r2ONxg"});return(0,l.jsx)(s.Suspense,{fallback:(0,l.jsx)(et.$,{size:"sm"}),children:(0,l.jsxs)(ee.x,{as:"span",sx:{".emoji-mart-emoji":{fontSize:"1em",span:{cursor:"inherit",fontSize:"1em !important"}}},children:[(0,l.jsx)("em-emoji",{size:0,native:!0,id:n})," ",a,"."]})})};var ev=n(90570),ek=n(96071),ex=n(794),ew=n(7207);let eS="block-comments-container",eC=e=>{let{offsetFromTop:t,children:n}=e;return(0,l.jsx)(F.k,{contentEditable:!1,suppressContentEditableWarning:!0,color:"gray.900",className:eS,direction:"column",bg:"white",borderRadius:"xl",shadow:"xl",overflowY:"auto",transitionProperty:"common",transitionDuration:"normal",zIndex:"sticky",bottom:{top:"0px","2xl":"auto"},top:{top:"0px","2xl":"auto"},width:{base:H.bk,"2xl":H.bk},maxW:{base:"90vw",md:"80vw","2xl":H.bk},right:{base:"44px","2xl":0},transform:{base:"translate(0, ".concat(t,"px)"),"2xl":"translate(calc(100% + 10px), 0)"},wordBreak:"break-word",height:"fit-content",maxHeight:"calc(".concat(ew.i," - 8em)"),position:"absolute",children:n})},ez=e=>{let{onCancel:t,editor:n,commentIdToHighlight:a,userCanComment:o,blockAllowsCommenting:i,getPos:r,draftComment:s,onCommentDraftUpdate:d,onCommentSave:u,isMobile:m}=e,{user:f}=(0,z.SE)(),p=(0,c.CG)(g.yx),h=(0,ev.$m)(p,f),b=Q({editor:n,getPos:r}),y=h&&!f&&i;if(null===b)return null;let v=(0,l.jsxs)(F.k,{overflowY:"auto",direction:"column",className:"comments-list",p:m||y?0:4,children:[y&&p&&(0,l.jsx)(ek.I,{accessLink:h,doc:p,className:"comments-sign-up",showDivider:!1}),o&&(0,l.jsx)(ex.A,{draftComment:s,user:f,showUser:m,showBorder:m,onCommentDraftUpdate:d,onCommentSave:u,commentIdToHighlight:a,alwaysShowButtons:m})]});return m?v:(0,l.jsx)(eC,{offsetFromTop:b,children:v})};var eA=n(27354);let eI=e=>{let{isMobile:t,editor:n,onReactionClick:a,getPos:o}=e,i=Q({editor:n,getPos:o});if(null===i)return null;let r=(0,l.jsx)(F.k,{bg:"white",p:"0",zIndex:"tooltip","data-testid":"add-reaction-popup","data-target-name":"reaction-emoji-picker",boxShadow:"none",sx:{".emoji-mart":{border:"none"}},overflow:"hidden",justify:"center",children:(0,l.jsx)(eA.h5,{perLine:9,handlePick:a,shouldFocusSearch:!t})});return t?r:(0,l.jsx)(eC,{offsetFromTop:i,children:r})};var ej=n(32981),eF=n(26468),eB=n(73751),eM=n(97217),eE=n(2338);let e_=(0,s.forwardRef)(function(e,t){let{isMobile:n,children:o,closePopup:i,drawerMinHeight:r}=e;if(n){let e=r||"calc(calc(100vh - calc(100vh - 100%)) - 1rem)";return(0,l.jsxs)(ej.d,{placement:"bottom",isOpen:!0,onClose:i,children:[(0,l.jsx)(eF.Z,{}),(0,l.jsxs)(eB.s,{minH:e,maxH:e,borderTopRadius:"xl",className:"comments-wrapper","data-block-comments-popup":!0,children:[(0,l.jsx)(eM.f,{p:6,pb:2,className:eS,children:o}),(0,l.jsx)(eE.o,{})]})]})}return(0,l.jsx)(a.xu,{ref:t,children:o})});var eO=n(74409);let eP=e=>{let{onCancel:t,reactions:n,onClickExistingReaction:a,editor:o,getPos:i,user:r,userCanComment:d,blockAllowsCommenting:u,isMobile:c}=e,m=Q({editor:o,getPos:i}),f=n.slice(c?0:7),p=f.map(e=>(0,l.jsx)(er,{isMobile:!0,onClick:t=>{a(e),t.stopPropagation()},mr:2,mb:4,reaction:e,user:r,canReact:d&&u,badgeCount:e.count,emoji:e.emoji},e.emoji));if((0,s.useEffect)(()=>{0===f.length&&t()},[t,f]),null===m)return null;let g=(0,l.jsxs)(B.K,{spacing:4,children:[(0,l.jsx)(eO.X,{size:"md",children:(0,l.jsx)(_.cC,{id:"7ZMg79"})}),(0,l.jsx)(F.k,{flexWrap:"wrap",children:p})]});return c?g:(0,l.jsx)(eC,{offsetFromTop:m,children:(0,l.jsx)(F.k,{p:4,px:2,pb:0,flexWrap:"wrap",children:p})})};var eT=n(43970);let eR=e=>{let{comment:t,editor:n,commentIdToHighlight:a,userCanComment:o,blockAllowsCommenting:i,getPos:r,isMobile:s,closePopup:d}=e,u=n.gammaDocId,{user:m}=(0,z.SE)(),f=(0,w.v9)(g.gh),p=(0,c.CG)(g.yx),h=(0,ev.$m)(p,m),b=Q({editor:n,getPos:r});if(null===b||!t)return null;let y=(0,l.jsxs)(F.k,{direction:"column",className:"comments-list","data-testid":"thread-view-popup",children:[h&&!m&&p&&i&&(0,l.jsx)(ek.I,{accessLink:h,doc:p,className:"comments-sign-up"}),(0,l.jsx)(eT.q,{instanceType:s?"drawer":"popup",userCanComment:o,commentIdToHighlight:a,editor:n,comment:t,selfUser:m,docId:u,editorMode:f,isRootComment:!0,borderBottomWidth:"none",closePopup:d,p:s?0:4,pb:4},t.id)]});return s?y:(0,l.jsx)(eC,{offsetFromTop:b,children:y})};var eN=n(1787);let eL=e=>{let{getPos:t,editor:n,reactions:l}=e,{user:a}=(0,z.SE)(),[o]=(0,d.Os4)(),[i]=(0,d.d6Z)(),r=(0,s.useCallback)(e=>{let{reaction:t}=e;if(!a)return;let l=t.docId;1===t.count&&n.commands.deleteAnnotation(t.targetId);let o=t.count-1,r=t.users.filter(e=>(null==e?void 0:e.id)!==(null==a?void 0:a.id));i({variables:{reactionInput:{docId:l,targetId:t.targetId,emoji:t.emoji}},update:(e,t)=>{let{data:n}=t;e.writeFragment({id:"Doc:".concat(l),fragment:d.wk2,fragmentName:"DocReactionsCreate",data:{reactions:[null==n?void 0:n.removeReaction]}})},optimisticResponse:{removeReaction:{docId:l,targetId:t.targetId,targetType:d.Lmy.Decoration,count:o,emoji:t.emoji,users:r,__typename:"Reaction"}}})},[n,i,a]),u=(0,s.useCallback)(e=>{let{emoji:i}=e;if((0,q.z3)({emoji:i,user:a,reactions:l})||!a)return;let r=n.gammaDocId,s=(0,q.Nq)({reactions:l,emoji:i}),u=eN.v.generate(),c=((null==s?void 0:s.count)||0)+1,m=[];s?(u=s.targetId,m=[...s.users]):n.commands.addAnnotation({id:u,pos:t()}),m.unshift(a),m.sort((e,t)=>e.id>t.id?1:-1),o({variables:{reactionInput:{docId:r,targetId:u,targetType:d.Lmy.Decoration,emoji:i}},update:(e,t)=>{let{data:n}=t;e.writeFragment({id:"Doc:".concat(r),fragment:d.wk2,fragmentName:"DocReactionsCreate",data:{reactions:[null==n?void 0:n.addReaction]}})},optimisticResponse:{addReaction:{docId:r,targetId:u,targetType:d.Lmy.Decoration,count:c,emoji:i,users:m,__typename:"Reaction"}}})},[o,n,t,l,a]);return{addReactionFn:u,removeReactionFn:r}},eD={"add-comment":"350px","add-reaction":"350px","reactions-overflow":"350px"},eW=e=>{let{nodeName:t,isVisible:n,editor:a,getPos:i,comments:r,reactions:d,createDraftComment:u,cleanupDraftComment:c,onCommentDraftUpdate:m,draftComment:f,onCommentSave:p,userCanComment:h,blockAllowsCommenting:v,blockCommentId:k,enableReactions:I,mobileAddCommentPos:j,setIsButtonStackHovered:F}=e,B=(0,x.p)(),M=(0,b.s2)(),E=(0,w.I0)(),{user:_,isUserLoading:O}=(0,z.SE)(),{isHovering:P,delayedClose:T,...R}=(0,y.xx)({enterDelay:30,leaveDelay:100}),N=!!P,L=(0,s.useRef)(null),D=(0,s.useRef)(),W=(0,w.v9)((0,g.s3)(k)),U=(0,s.useRef)(null),[H,q]=(0,s.useState)(null),V=null!==H,[K,Y]=(0,s.useState)(null),$=r.find(e=>e.id===K)||null,J=(0,s.useCallback)(e=>{q("thread"),Y(e.id),E((0,g.UX)({isOpen:!0,blockCommentId:k}))},[k,E]),Q=(0,s.useCallback)(e=>{q("add-comment"),Y(null),E((0,g.UX)({isOpen:!0,blockCommentId:k})),u(e)},[k,E,u]),ee=(0,s.useCallback)(()=>{q("add-reaction"),Y(null),E((0,g.UX)({isOpen:!0,blockCommentId:k}))},[k,E]),et=(0,s.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];q(null),Y(null),c(),E((0,g.UX)({isOpen:!1,blockCommentId:k})),e&&T(1e3)},[k,c,T,E]),{addReactionFn:en,removeReactionFn:el}=eL({editor:a,getPos:i,reactions:d}),ea=(0,s.useCallback)(e=>{h&&(en({emoji:e.id}),B({title:(0,l.jsx)(ey,{emoji:e.id,isMobile:M}),status:"success",duration:5e3,isClosable:!1,position:M?"bottom":"top"}),et(!0))},[en,et,M,B,h]),eo=(0,s.useCallback)(e=>{p(e),et(!0)},[p,et]),ei=(0,s.useCallback)(e=>{if(!h)return;let t=e.reactions.find(e=>{var t;return null===(t=e.users)||void 0===t?void 0:t.find(e=>e.id===(null==_?void 0:_.id))});t?el({reaction:t}):en({emoji:e.emoji})},[en,el,_,h]),er=(0,s.useCallback)(()=>{q("reactions-overflow"),Y(null),E((0,g.UX)({isOpen:!0,blockCommentId:k}))},[k,E]);Z({isOpen:V,popupRef:U,onClose:et});let{isExpanded:es}=X({popup:H,isMobile:M,isHovered:N,comments:r,reactions:d,draftComment:f,enableReactions:I});(0,s.useEffect)(()=>{M||F(N)},[N,M,F]),(0,A.c0)(i,Q);let ed=(0,A.m0)({comments:r,blockAllowsCommenting:v,showComment:(0,s.useCallback)(e=>{(0,C.pE)({pos:i(),editor:a}),J({id:e})},[a,i,J])});(0,s.useEffect)(()=>{S.pw.emit(S.TI.POPUP_COMMENT_TOGGLED,{open:V})},[V]);let eu=(0,s.useCallback)(e=>{"Escape"===e.key&&et()},[et]);if(!n||O)return null;let ec=!!_&&!h,ep=0===r.length&&0===d.length;if((ec||!v)&&ep)return null;let eg=ec||!v;return(0,l.jsxs)(l.Fragment,{children:[M&&j&&(0,l.jsx)(ef,{onClickAddComment:Q,onClickAddReaction:ee,top:j.top,left:j.left}),(0,l.jsxs)(G.C,{nodeName:t,className:(0,o.cx)("block-comments-stack",es&&"is-expanded",es&&"is-taking-action",ep&&"is-empty",!M&&W&&"other-comment-open"),isMobile:M,isEmpty:ep,isPopupOpen:V,...R,buttonRef:L,onKeyDown:eu,hasCommentsOrReactions:!ep,children:[(0,l.jsx)(em,{isExpanded:es,isMobile:M,user:_,userCanComment:h,blockAllowsCommenting:v,draftComment:f,reactions:d,comments:r,onClickThread:J,onClickAddComment:Q,onClickAddReaction:ee,onClickExistingReaction:ei,onClickReactionsOverflow:er,hideAddCommentButton:eg,onClosePopup:et,viewingCommentId:K,enableReactions:I}),!V&&!M&&(0,l.jsx)(eh,{isExpanded:es,comments:r,reactions:d}),V&&(0,l.jsxs)(e_,{isMobile:M,ref:U,closePopup:et,drawerMinHeight:eD[H],children:["thread"===H&&(0,l.jsx)(eR,{isMobile:M,comment:$,closePopup:et,editor:a,getPos:i,commentIdToHighlight:ed,commentsPanelRef:D,userCanComment:h,blockAllowsCommenting:v}),"add-comment"===H&&(0,l.jsx)(ez,{isMobile:M,onCancel:()=>{et()},editor:a,getPos:i,commentIdToHighlight:ed,userCanComment:h,blockAllowsCommenting:v,onCommentSave:eo,draftComment:f,onCommentDraftUpdate:m}),"add-reaction"===H&&(0,l.jsx)(eI,{isMobile:M,onReactionClick:ea,editor:a,getPos:i}),"reactions-overflow"===H&&(0,l.jsx)(eP,{isMobile:M,onCancel:()=>{et()},onClickExistingReaction:ei,editor:a,getPos:i,user:_,userCanComment:h,blockAllowsCommenting:v,reactions:d})]})]})]})};var eU=n(17158);let eH=e=>{let{children:t,as:n,className:a,style:o,hideComments:i=!1,readOnly:r=!1,...s}=e,{decorations:d,editor:u}=s,c=(0,m.C7)(),f=d.some(e=>e.spec.isAnnotatable);return!f||u.isThumbnail||c?(0,l.jsx)(p.T5,{as:n,className:a,style:o,children:t}):(0,l.jsx)(eG,{as:n,className:a,style:o,hideComments:i,readOnly:r,...s,children:t})},eG=e=>{var t;let{children:n,decorations:m,editor:x,getPos:w,as:S,className:C,style:z,hideComments:I,readOnly:j,node:F}=e,{isConnected:B}=(0,d.$gs)(),M=(0,v.iS)(m),E=k({editor:x,decorations:m}),_=(0,u.ye)("blockReactions"),O=(0,f.Br)("comment"),P=(0,c.CG)(g.kk),T=(0,s.useMemo)(()=>(0,r.x0)(5),[]),R=(0,c.CG)((0,g.Ze)(T)),[N,L]=(0,s.useState)(!1),D=(0,u.ye)("debugComments"),W=(0,A.vY)(m),U=W[0]||null,[H,G]=(0,s.useState)(null),q=(0,c.TL)(),V=(0,s.useCallback)(e=>{let t=(null==e?void 0:e.getPos)||w,n=null==e?void 0:e.targetHtml,l=U;if(l)e&&(l=(0,eU.kr)(l,t,n,x));else{var a,o;l=(0,eU.xN)(t,x,n),null===(a=(o=x.commands).createDraftComment)||void 0===a||a.call(o,l)}G(l),q((0,g.Qx)({attached:!1}))},[q,x,w,U]),K=(0,s.useCallback)(()=>{var e,t,n,l,a,o;H&&(null==H?void 0:null===(t=H.text)||void 0===t?void 0:null===(e=t.trim())||void 0===e?void 0:e.length)>0?null===(n=(l=x.commands).createDraftComment)||void 0===n||n.call(l,H):null===(a=(o=x.commands).removeDraftComments)||void 0===a||a.call(o,W),G(null)},[W,x,H]),Y=(0,s.useRef)(R);Y.current=R,(0,s.useEffect)(()=>()=>{Y.current&&q((0,g.UX)({isOpen:!1,blockCommentId:T}))},[T,q]);let $=(0,A.iZ)({draftComment:H,clearDraftComment(){var e,t,n,l;H&&(null===(n=(l=x.commands).removeDraftComments)||void 0===n||n.call(l,[H,...W]));let a=(0,eU.xN)(w,x);null===(e=(t=x.commands).createDraftComment)||void 0===e||e.call(t,a),G(a)},editor:x}),J=(0,A.xA)(m),X=J.length>0&&!I,Z=H||U,Q=(null==Z?void 0:null===(t=Z.text)||void 0===t?void 0:t.length)>0,[ee,et]=(0,y.XI)(),en=(0,A.Zz)(m);_||(en=[]);let el=en.length>0,ea=(0,b.s2)()&&(R||X||el||!!E)||!(0,b.s2)()&&(et||M||R||X||el||Q),eo=R||E||N?(0,h.tT)(i.qZ.colors.yellow[200],.25):void 0;return(0,l.jsxs)(p.T5,{as:S,style:{...z,position:"relative",backgroundColor:(0,b.s2)()?void 0:eo},className:(0,o.cx)(C,"annotatable-node-view-wrapper",(0,b.s2)()&&"is-mobile",D?"debug-comments":""),ref:ee,children:[P&&!I&&O&&(0,l.jsx)(eW,{nodeName:F.type.name,isVisible:ea,reactions:en,blockCommentId:T,userCanComment:O&&B,blockAllowsCommenting:!I&&!j,onCommentDraftUpdate:e=>{let{editor:t}=e;G(e=>e?{...e,json:t.view.state.doc.toJSON(),text:t.view.state.doc.textContent}:e)},cleanupDraftComment:K,createDraftComment:V,editor:x,getPos:w,comments:J,draftComment:Z,onCommentSave:$,enableReactions:_,mobileAddCommentPos:E,setIsButtonStackHovered:L}),(0,b.s2)()&&eo?(0,l.jsx)(a.xu,{bgColor:eo,children:n}):n]})}},3561:function(e,t,n){"use strict";n.d(t,{C:function(){return u},G:function(){return d}});var l=n(52322),a=n(28535),o=n(29117),i=n(38035),r=n(2784);let s=(0,r.memo)(e=>{let{nodeName:t}=e;return(0,l.jsx)(a.Cd,{contentEditable:!1,userSelect:"none",right:0,size:4,transform:"translate(calc(".concat("gridLayout"===t||"gallery"===t?"-1 * var(--grid-padding)":"0px"," + var(--comment-padding) + 50%),calc(50%)) scale(1)"),position:"absolute",bgGradient:"linear(to-b, yellow.200, yellow.300)",border:"1px solid white",shadow:"0 0 0 1px rgb(0 0 0 / 10%)",className:"block-comments-circle",zIndex:"1"})});s.displayName="BlockCommentsCircle";let d="comments-wrapper",u=(0,r.forwardRef)(function(e,t){let{nodeName:n,isPopupOpen:r,onKeyDown:u,buttonRef:c,isMobile:m,hasCommentsOrReactions:f,children:p,isEmpty:g,...h}=e;return(0,l.jsxs)(a.xu,{ref:t,contentEditable:!1,suppressContentEditableWarning:!0,pointerEvents:"none","data-comments-wrapper":!0,"data-is-popup-open":r,className:d,alignSelf:"start",onKeyDown:u,"data-print-hidden":!0,children:[!g&&!m&&(0,l.jsx)(s,{nodeName:n}),(0,l.jsx)(o.U,{contentEditable:!1,suppressContentEditableWarning:!0,...m?f?{pt:4}:{}:{position:"absolute",marginLeft:"100%",top:0,height:"100%",align:"flex-start"},className:"controls-wrapper controls-wrapper__".concat(n),children:(0,l.jsx)(i.k,{direction:"row",ref:c,contentEditable:!1,suppressContentEditableWarning:!0,transitionProperty:"common",transitionDuration:"fast",zIndex:21,"data-controls-toggle-button":!0,ml:[0,"-17px"],...h,children:p})})]})})},77182:function(e,t,n){"use strict";n.d(t,{H8:function(){return o},Nq:function(){return s},gq:function(){return d},z3:function(){return r}}),n(3440);var l=n(84636),a=n.n(l);let o=(e,t)=>{for(let n of e){if(n.id===t)return t;let e=n.replies||[];for(let l of e)if(l.id===t)return n.id}return null},i=e=>{let{reactions:t,emoji:n,user:l}=e,a=t.find(e=>e.emoji===n);return a&&a.reactions.find(e=>{var t;return e.emoji===n&&(null===(t=e.users)||void 0===t?void 0:t.find(e=>e.id===(null==l?void 0:l.id)))})||null},r=e=>{let{reactions:t,emoji:n,user:l}=e;return!!i({reactions:t,emoji:n,user:l})},s=e=>{let{reactions:t,emoji:n}=e,l=t.find(e=>e.emoji===n);return l&&l.reactions.find(e=>e.emoji===n)||null},d=e=>a()(e.reactions.flatMap(e=>e.users),"id")},43970:function(e,t,n){"use strict";n.d(t,{q:function(){return ey}});var l=n(52322),a=n(70065),o=n(77533),i=n(11082),r=n(50019),s=n(38035),d=n(43297),u=n(28535),c=n(87651),m=n(29117),f=n(75078),p=n(42946),g=n(49929),h=n(5879),b=n(87254),y=n(2784),v=n(43997),k=n(19431),x=n(22265),w=n(92440),S=n(69747),C=n(57480),z=n(96342),A=n(93814),I=n(96255),j=n(93982),F=n(11093),B=n(56943),M=n(80498),E=n(90221),_=n(78462),O=n(90604),P=n(50105),T=n(32899),R=n(89099),N=n(94523),L=n(36651),D=n(62549),W=n(66028);let U=e=>{let{docId:t,cardId:n,commentId:l,parentCommentId:a,targetType:o}=e,[i]=(0,k.Os4)(),[r]=(0,k.d6Z)();function s(e,i,r,s){let d={targetId:o===k.Lmy.Comment?l:n,docId:t,emoji:i,cardId:n};if("addReaction"===e&&(d={...d,targetType:o}),o===k.Lmy.Comment)return{variables:{reactionInput:d},update:(n,o)=>{let{data:i}=o;n.writeFragment({id:"Doc:".concat(t),fragment:k.f,fragmentName:"DocCommentsUpdate",data:{comments:[a?{id:a,replies:[{id:l,reactions:[i[e]],__typename:"Comment"}],reactions:[],__typename:"Comment"}:{id:l,replies:[],reactions:[i[e]],__typename:"Comment"}]}})},optimisticResponse:{[e]:{commentId:l,count:r,emoji:i,users:s,cardId:n,__typename:"Reaction"}}};console.error("[useReactionUpdate] Invalid targetType: ".concat(o))}return{addReactionFn:(e,t,n)=>{i(s("addReaction",e,t,n))},removeReactionFn:(e,t,n)=>{r(s("removeReaction",e,t,n))}}};var H=n(76643),G=n(332),q=n(94207),V=n(18292),K=n(35741),Y=n(27354);let $=(e,t)=>e===t||null!=e.parentElement&&$(e.parentElement,t),J=e=>{let{setPopperElement:t,onPopoverClose:n,handleReactionClick:a,popperElement:o,openerElement:i,usePortal:r,isMobile:s,placement:d,...c}=e;(0,H.O)({ref:{current:o},handler(e){i&&$(e.target,i)||n()}});let m=(0,l.jsx)(u.xu,{mx:s?0:3,mt:s?0:"-110px",shadow:"lg",bg:"white",p:"0",w:"auto",minW:"0px",zIndex:"tooltip","data-target-name":"reaction-emoji-picker",ref:t,...c,children:(0,l.jsx)(Y.h5,{perLine:s?9:12,handlePick:e=>{a(e.id),n()},shouldFocusSearch:!(0,E.s2)()})});return r?(0,l.jsx)(G.h,{children:m}):m},X=e=>{let{size:t,colorScheme:n,handleReactionClick:a,placement:o,usePortal:i=!0}=e,[r]=(0,q.a)(["(max-width: 840px)","(min-width: 841px)"]),{isOpen:s,onToggle:d,onClose:c}=(0,V.q)(),[m,f]=(0,y.useState)(!1),[v,k]=(0,y.useState)(null),[x,w]=(0,y.useState)(null),{styles:S,attributes:C,forceUpdate:z}=(0,K.D)(v,x,{placement:r?"auto":"".concat(o,"-start"),strategy:"fixed"});return(0,y.useEffect)(()=>{z&&setTimeout(()=>{z()},0)},[z]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(N.kH,{placement:ee,label:(0,l.jsx)(h.cC,{id:"9OEgyT"}),isOpen:m,children:(0,l.jsx)(u.xu,{display:"flex",onMouseEnter:()=>{f(!0)},onMouseLeave:()=>f(!1),children:(0,l.jsx)(T.h,{colorScheme:n,float:"inline-start","aria-label":b.ag._({id:"9OEgyT"}),variant:"ghost",onClick:e=>{d(),e.stopPropagation()},size:t||"sm",ref:k,isRound:!0,icon:(0,l.jsx)(g.G,{icon:p.wqT})})})}),s&&(0,l.jsx)(J,{usePortal:i,setPopperElement:w,onPopoverClose:c,handleReactionClick:a,popperElement:x,isPopoverOpen:s,openerElement:v,style:S.popper,isMobile:r,placement:o,...C.popper})]})};var Z=n(62614);let Q=e=>{let{colorScheme:t,size:n,emoji:a,label:i,count:s,hasSelfReacted:d,handleReactionClick:c,readOnly:m}=e,{colorMode:f}=(0,r.If)(),p="light"===f,g=(0,y.useCallback)(e=>{m||c(a,e)},[a,c,m]);return(0,l.jsx)(N.kH,{placement:ee,label:(0,l.jsxs)(u.xu,{alignContent:"center",children:[i,!m&&(0,l.jsx)(o.x,{display:"block",color:p?"gray.500":"gray.700",children:d?(0,l.jsx)(h.cC,{id:"fb/FjL"}):(0,l.jsx)(h.cC,{id:"AG3H1y"})})]}),children:(0,l.jsxs)(Z.z,{cursor:m?"default":"cursor","data-testid":"reaction-button-".concat(a),size:n||"sm",color:p?"gray.500":"gray.300",bg:d?p?"gray.100":"gray.700":"none",borderWidth:"1px",borderStyle:"solid",colorScheme:t,borderColor:d?p?"gray.200":"gray.500":"transparent",_hover:{bg:p?"gray.200":"gray.600"},variant:"ghost",borderRadius:"full",px:2,onClick:g,children:[(0,l.jsx)(Y.Sr,{emojiId:a,fontSize:"sm"===n?"lg":"sm"}),(0,l.jsx)(o.x,{as:"span",fontSize:n,ml:1.5,children:s})]})})},ee="bottom",et=e=>{let{size:t,colorScheme:n,placement:a="right",usePortal:i,reactions:r,docId:d,cardId:u,commentId:c,parentCommentId:m,targetType:f,readOnly:b,innerPaddingY:y,...v}=e,{addReactionFn:x,removeReactionFn:w}=U({docId:d,commentId:c,parentCommentId:m,cardId:u,targetType:f}),{user:S}=(0,L.SE)(),C=(null==r?void 0:r.reduce((e,t)=>(t.count&&(e[t.emoji]=t),e),{}))||{},z=!b&&f===k.Lmy.Card&&!C.heart,A=Object.keys(C).length>0,I=(e,t)=>{var n,l,a,o,i,r;if(!(f===k.Lmy.Comment&&c||f===k.Lmy.Card&&u))throw Error("[Reactions.handleReactionClick] Invalid targetType. Args: targetType: ".concat(f,", commentId: ").concat(c,", cardId: ").concat(u));let s=null===(l=C[e])||void 0===l?void 0:null===(n=l.users.find(e=>e.id===(null==S?void 0:S.id)))||void 0===n?void 0:n.id;if(s){let t=(null==C?void 0:null===(a=C[e])||void 0===a?void 0:a.count)-1,n=(null==C?void 0:null===(o=C[e])||void 0===o?void 0:o.users)?C[e].users.filter(e=>e.id!==(null==S?void 0:S.id)):[];w(e,t,n)}else{let t=(null==C?void 0:null===(i=C[e])||void 0===i?void 0:i.count)?C[e].count+1:1,n=(null==C?void 0:null===(r=C[e])||void 0===r?void 0:r.users)?C[e].users.concat(S):[S];x(e,t,n)}null==t||t.stopPropagation()};return(0,l.jsxs)(s.k,{direction:"row",cursor:"default",contentEditable:!1,onMouseDown:W.br,mb:y?"-".concat(y/1.5,"rem"):void 0,...v,children:[z&&(0,l.jsx)(N.kH,{label:(0,l.jsx)(h.cC,{id:"W9FRBT"}),placement:ee,children:(0,l.jsx)(T.h,{colorScheme:n,float:"inline-start","aria-label":"",variant:"ghost",onClick:e=>{I("heart",e)},size:t,isRound:!0,mr:2,icon:(0,l.jsx)(g.G,{icon:p.m6i})})}),!b&&(0,l.jsx)(X,{size:t,colorScheme:n,handleReactionClick:I,usePortal:i,placement:a}),A&&(0,l.jsx)(R.E,{spacing:"sm"===t?2:1,mr:2,className:"reactions-row",children:A&&Object.entries(C).map(e=>{let[a,i]=e,r=null==i?void 0:i.users,s=!!(null==r?void 0:r.find(e=>(null==e?void 0:e.id)===(null==S?void 0:S.id))),d=(0,D.Rf)({users:r,selfUserId:null==S?void 0:S.id});return(0,l.jsx)(Q,{colorScheme:n,size:t,emoji:a,readOnly:b,label:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(h.cC,{id:"mRnNF/",values:{usersLabel:d,emoji:a},components:{0:(0,l.jsx)(o.x,{as:"span",color:"gray.300"})}})}),count:null==r?void 0:r.length,hasSelfReacted:s,handleReactionClick:I},a)})})]})},en=y.memo(e=>{let{docId:t,reactions:n,cardId:a,commentId:o,size:i,parentCommentId:r,placement:s="right",usePortal:d=!0,userCanComment:u,...c}=e;return(0,l.jsx)(et,{size:i,cardId:a,usePortal:d,placement:s,reactions:n,parentCommentId:r,docId:t,commentId:o,targetType:k.Lmy.Comment,readOnly:!u,...c})});var el=n(40015),ea=n(26284),eo=n(36474),ei=n(10625),er=n(67046),es=n(99058),ed=n(25481),eu=n(27599),ec=n(82108),em=n.n(ec),ef=n(46640);let ep=()=>({[k.Ux9.Open]:{label:b.ag._({id:"9ggh96"}),icon:p.f8k,successMessage:b.ag._({id:"1INZuT"})},[k.Ux9.Closed]:{label:b.ag._({id:"pL38RI"}),icon:p._1v,successMessage:b.ag._({id:"gieGvY"})}}),eg=e=>{let{status:t,handleCommentStatusUpdate:n}=e;return(0,l.jsx)(N.kH,{label:ep()[t].label,"aria-label":ep()[t].label,children:(0,l.jsx)(T.h,{variant:"ghost",size:"sm",borderRadius:"full",isDisabled:!1,"aria-label":ep()[t].label,icon:(0,l.jsx)(g.G,{icon:ep()[t].icon}),onClick:()=>n(t)})})},eh=e=>{let{comment:t,selfUser:n,isInPanel:i,isSourceContentAvailable:c,showCopyCommentLink:y,showLinkToTargetContent:v,hasCommentBeenUpdated:x,onTargetClick:w,commentUrl:S,isReply:C,userCanComment:z,handleCommentStatusUpdate:A,toastPosition:I,isEditing:j,handleEditCommentClick:F,handleDeleteCommentClick:B}=e,{user:M,createdTime:E,updatedTime:_,status:O=k.Ux9.Open}=t,{email:P,displayName:R,profileImageUrl:L}=M,D=(null==n?void 0:n.id)===(null==M?void 0:M.id),{onCopy:W}=(0,ea.V)(S),U=(0,r.ff)("red.500","red.300"),H=(0,a.p)();return(0,l.jsxs)(m.U,{spacing:2,align:"top",mb:3,_before:i?{content:"''",position:"absolute",w:"9px",h:"9px",mt:"15px",left:C?"12px":"36px",bg:"gray.100",borderRadius:"full"}:{},children:[(0,l.jsx)(N.kH,{label:P,"aria-label":P,children:(0,l.jsx)(f.q,{mt:1,size:"sm",name:R,src:L,ignoreFallback:!0})}),(0,l.jsxs)(d.K,{align:"center",alignItems:"flex-start",spacing:0,mb:1,children:[(0,l.jsxs)(o.x,{fontWeight:"600",mb:0,fontSize:"sm",children:[R," ",D?(0,l.jsx)(h.cC,{id:"dDUgzP"}):null]}),(0,l.jsx)(s.k,{direction:"row",w:"100%",alignItems:"flex-start",children:(0,l.jsx)(u.xu,{flex:"1",children:(0,l.jsx)(N.kH,{isDisabled:!x,label:"Updated ".concat((0,ef.P9)(_)),placement:"top",children:(0,l.jsxs)(m.U,{children:[(0,l.jsx)(o.x,{my:"0 !important",className:"comment-date",fontSize:"xs",color:"gray.500",children:em()((0,ef.P9)(E))}),x&&(0,l.jsx)(u.xu,{color:"gray.500",children:(0,l.jsx)(g.G,{size:"xs",icon:p.HMF})})]})})})})]}),(0,l.jsx)(eo.L,{}),(0,l.jsxs)(m.U,{spacing:1,children:[v&&(0,l.jsx)(N.kH,{label:c?(0,l.jsx)(h.cC,{id:"LmLruJ"}):(0,l.jsx)(h.cC,{id:"/oHV5h"}),shouldWrapChildren:!0,children:(0,l.jsx)(T.h,{size:"sm",borderRadius:"full",variant:"ghost",isDisabled:!c,"aria-label":c?b.ag._({id:"LmLruJ"}):b.ag._({id:"/oHV5h"}),onClick:w,icon:(0,l.jsx)(g.G,{icon:p.FR9})})}),!C&&z&&(0,l.jsx)(eg,{status:O,handleCommentStatusUpdate:()=>A(t.status)}),(0,l.jsxs)(ei.v,{isLazy:!0,children:[(0,l.jsx)(er.j,{as:T.h,size:"sm",variant:"ghost",borderRadius:"full","data-testid":"comment-header-menu",icon:(0,l.jsx)(g.G,{fixedWidth:!0,icon:p.cNd}),children:(0,l.jsx)(h.cC,{id:"7L01XJ"})}),(0,l.jsx)(G.h,{children:(0,l.jsxs)(es.q,{zIndex:"popover","data-testid":"comment-header-menulist",children:[y&&(0,l.jsx)(ed.s,{icon:(0,l.jsx)(g.G,{icon:p.nNP}),onClick:()=>{W(),H({title:b.ag._({id:"h5GS+N"}),status:"success",duration:3e3,position:I})},children:(0,l.jsx)(h.cC,{id:"qhJCCi"})}),z&&!j&&D&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eu.R,{}),(0,l.jsx)(ed.s,{icon:(0,l.jsx)(g.G,{icon:p.Xcf}),onClick:F,children:(0,l.jsx)(h.cC,{id:"ePK91l"})}),(0,l.jsx)(ed.s,{icon:(0,l.jsx)(g.G,{icon:p.XAH}),color:U,onClick:()=>{B()},"data-testid":"delete-thread",children:C?(0,l.jsx)(h.cC,{id:"FjzXBu"}):(0,l.jsx)(h.cC,{id:"xOviNB"})})]})]})})]})]})]})};var eb=n(99421);let ey=(0,y.memo)(e=>{let{comment:t,editor:n,selfUser:T,docId:R,commentIdToHighlight:N,userCanComment:L,instanceType:D,editorMode:W,isRootComment:U=!1,onClose:H,closePopup:G,...q}=e,V="feed"===D,K="drawer"===D,Y=(0,E.s2)()?"bottom":"top",{content:$,targetHtml:J,targetId:X,createdTime:Z,updatedTime:Q,id:ee,replies:et,reactions:ea}=t,eo=(0,v.I0)(),{initialDraftReply:ei,updateLocalDraftReply:er,hasLocalDraftReply:es}=(0,el.nG)(ee),ed=(0,y.useRef)(new M.B),eu=N===ee,ec=(0,_.W2)({docId:R,id:ee}),em=(0,y.useRef)(null),[ef,eg]=(0,y.useState)(!1),[ev,ek]=(0,y.useState)(U);(0,y.useEffect)(()=>{es&&!ev&&ek(!0)},[es,ev]);let[ex]=(0,k.sHn)(),[ew]=(0,k.oRU)(),[eS]=(0,k.qHm)(),[eC]=(0,k.n70)(),ez=(0,a.p)(),eA=(0,x.As)("editor"),eI=(0,y.useCallback)(()=>{eg(!0)},[]),ej=(0,y.useCallback)(()=>{er(null)},[er]),eF=[.25,.1,.25,1];(0,y.useLayoutEffect)(()=>{eu&&em.current&&eA.scrollElementIntoView({element:em.current})},[eA,eu]);let eB=e=>{let t=e===k.Ux9.Open?k.Ux9.Closed:k.Ux9.Open,n={id:ee,docId:R,status:t};eS({variables:{input:n},update:(e,t)=>{let{data:n}=t,l={id:"Doc:".concat(R),fragment:B.Hn,fragmentName:"DocCommentsUpdate",data:{comments:[null==n?void 0:n.updateCommentStatus]}};e.writeFragment(l)},optimisticResponse:{updateCommentStatus:{...n,__typename:"Comment",updatedTime:new Date().toISOString()}}}).then(()=>{ez({title:(0,l.jsxs)(o.x,{children:[ep()[e].successMessage,"."," ",(0,l.jsx)(i.r,{textDecoration:"underline",onClick:()=>eB(t),children:b.ag._({id:"9uI/rE"})})]}),status:"success",duration:5e3,isClosable:!1,position:Y})}).catch(e=>{console.error("[CommentComponent]: Error changing comment status",e),ez({title:b.ag._({id:"+Q5eww",values:{0:e.message}}),status:"error",isClosable:!0,position:Y})}).finally(()=>{"popup"===D&&G&&G(!0)})},eM=(0,r.ff)("yellow.100","yellow.800"),eE=P.Z.getState(n.state),e_=(0,y.useMemo)(()=>null==eE?void 0:eE.annotations.find(e=>e.id===X),[null==eE?void 0:eE.annotations,X]),{pos:eO}=e_||{},eP=!!(null==e_?void 0:e_.pos),eT="notification"!==D&&t.id!==C.Gt,eR=("notification"===D||"feed"===D)&&eO!==C.Et,eN=(0,y.useCallback)(e=>{var t;if(!(!X||!e_||!eO||(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.closest('[data-target-name="comment-target-expand-button"]')))){if("notification"===D)S.pw.emit(S.TI.OPEN_POPUP_COMMENT,{commentId:ee,highlightComment:!0});else if("feed"===D){let e=A.nY,t=(0,F.Sh)(n,eO);if(W===O.q.DOC_VIEW)(0,z.pE)({pos:eO,editor:n});else if(W===O.q.SLIDE_VIEW){let[t]=(0,F.nv)(n.state.doc.resolve(eO),I.KH);n.commands.spotlightCardById(t.node.attrs.id),eo((0,j.Qx)({attached:!1})),e=A.id}(0,E.s2)()&&H&&setTimeout(H,300),eA.scrollElementIntoView({element:t,delay:e})}}},[n,eA,X,D,ee,e_,eO,W,eo,H]),eL=(0,y.useMemo)(()=>new Date(Q).getTime()-new Date(Z).getTime()>100,[Q,Z]),eD=!!t.commentId,eW=!!et&&et.length>0;return(0,l.jsxs)(s.k,{flexDir:"column",ref:em,id:"comment-".concat(ee),className:"comment highlight-mask","data-target-id":"comment-".concat(ee),borderRadius:eu?"md":"0px",position:"relative",borderBottomWidth:U?"1px":"0px",borderBottomColor:"gray.200",_after:V&&eW?{content:"''",position:"absolute",w:"9px",h:"9px",left:"36px",bottom:9,bg:"gray.100",borderRadius:"full",transitionPropery:"common",transitionDuration:"normal"}:{},_before:eW&&V?{content:"''",position:"absolute",w:"3px",top:7,bottom:9,left:"39px",bg:"gray.100",borderRadius:"full"}:{},...q,overflowY:"hidden",children:[(0,l.jsxs)(d.K,{backgroundColor:eu?eM:"auto",transitionProperty:"border, background",transitionDuration:"normal",transitionTimingFunction:"ease",role:"group",spacing:8,children:[(0,l.jsxs)(u.xu,{pl:eD&&V?10:0,children:[(0,l.jsx)(eh,{isInPanel:V,comment:t,selfUser:T,isSourceContentAvailable:eP,showCopyCommentLink:eT,showLinkToTargetContent:eR,hasCommentBeenUpdated:eL,onTargetClick:eN,commentUrl:ec,isReply:eD,userCanComment:L,handleCommentStatusUpdate:eB,toastPosition:Y,isEditing:ef,handleEditCommentClick:eI,handleDeleteCommentClick:()=>{let e=!!t.commentId;eC({variables:{id:ee},update:(n,l)=>{let{data:a}=l;n.writeFragment({id:"Doc:".concat(R),fragment:B.Hn,fragmentName:e?"DocRepliesRemove":"DocCommentsRemove",data:{comments:[e?{id:t.commentId,replies:[null==a?void 0:a.archiveComment],__typename:"Comment"}:null==a?void 0:a.archiveComment]}})},optimisticResponse:{archiveComment:{id:ee,__typename:"Comment",archived:!0}}}),!e&&t.targetId&&n.commands.deleteAnnotation(t.targetId),"popup"===D&&G&&G(!0),ez({title:b.ag._({id:"Ho/Jvc"}),status:"success",duration:5e3,isClosable:!1,position:Y})}}),(0,l.jsxs)(u.xu,{pl:eW&&V?10:0,overflowY:"hidden",children:[J&&J.length&&(0,l.jsx)(eb.p,{targetHtml:J,onTargetClick:eN,isSourceContentAvailable:eP,instanceType:D}),(0,l.jsx)(w.S,{initialContent:$,editable:ef,onCancelEditingClick:()=>eg(!1),saveButtonText:(0,l.jsx)(h.cC,{id:"yY7Bil"}),saveButtonIcon:(0,l.jsx)(g.G,{icon:p.LEp}),onCommentSave:e=>{let n=!!t.commentId,l={id:ee,docId:R,content:e};ew({variables:{input:l},update:(e,l)=>{let{data:a}=l,o={id:"Doc:".concat(R),fragment:B.Hn,fragmentName:n?"DocRepliesUpdate":"DocCommentsUpdate",data:{comments:[n?{id:t.commentId,replies:[null==a?void 0:a.updateComment],__typename:"Comment"}:null==a?void 0:a.updateComment]}};e.writeFragment(o)},optimisticResponse:{updateComment:{...l,__typename:"Comment",updatedTime:new Date().toISOString()}}}),ez({title:b.ag._({id:"kibWwZ"}),status:"success",duration:5e3,isClosable:!1,position:Y}),eg(!1)}}),!ef&&(0,l.jsx)(en,{mt:2,docId:R,cardId:t.cardId,commentId:t.id,parentCommentId:t.commentId,reactions:ea,size:"sm",placement:"right",usePortal:!0,userCanComment:L})]})]}),et&&et.length>0&&et.map(e=>(0,l.jsx)(ey,{instanceType:D,userCanComment:L,commentIdToHighlight:N,comment:e,docId:R,selfUser:T,editor:n,editorMode:W,pl:0,p:0,pb:0},null==e?void 0:e.id))]}),L&&(0,l.jsxs)(c.U,{in:ev&&!ef,unmountOnExit:!0,transition:{enter:{when:"afterChildren",height:{duration:.3,ease:eF},opacity:{duration:.4,ease:eF}},exit:{when:"beforeChildren",height:{duration:.2,ease:eF},opacity:{duration:.3,ease:eF}}},children:[K&&(0,l.jsxs)(m.U,{align:"center",mb:3,pt:6,children:[(0,l.jsx)(f.q,{mt:1,size:"sm",name:null==T?void 0:T.displayName,src:null==T?void 0:T.profileImageUrl,ignoreFallback:!0}),(0,l.jsx)(d.K,{align:"center",alignItems:"flex-start",spacing:0,mb:1,children:(0,l.jsx)(o.x,{fontWeight:"600",mb:0,fontSize:"sm",children:(0,l.jsx)(h.cC,{id:"866PMb",values:{0:null==T?void 0:T.displayName}})})})]}),(0,l.jsx)(w.S,{pl:V&&eW?8:0,pt:K?0:6,initialContent:(null==ei?void 0:ei.json)||"",clearContentOnSave:!0,editable:!0,saveButtonText:(0,l.jsx)(h.cC,{id:"ImOQa9"}),saveButtonIcon:(0,l.jsx)(g.G,{icon:p.Lh7}),placeholder:b.ag._({id:"ImOQa9"}),onCommentSave:e=>{let n={targetId:t.targetId,commentId:ee,docId:R,content:e,cardId:t.cardId};ex({variables:{input:n},update:(e,t)=>{let{data:n}=t;e.writeFragment({id:"Doc:".concat(R),fragment:B.Hn,fragmentName:"DocRepliesCreate",data:{comments:[{id:ee,replies:[null==n?void 0:n.createComment],__typename:"Comment"}]}})},optimisticResponse:{createComment:{id:C.Gt,__typename:"Comment",...n,user:T,archived:!1,reactions:[],createdTime:new Date().toISOString(),updatedTime:new Date().toISOString()}}}),ek(!1),er(null),eo((0,j.pS)({id:ee})),ez({title:b.ag._({id:"yPok8v"}),status:"success",duration:5e3,isClosable:!1,position:Y})},onCancelEditingClick:ej,onUpdate:e=>{let{editor:t}=e;er({commentId:ee,json:t.view.state.doc.toJSON(),text:t.view.state.doc.textContent})},onCreate:e=>{ed.current.resolve(e)},alwaysShowButtons:K,shouldFocus:"popup"===D||"drawer"===D})]})]})})},96071:function(e,t,n){"use strict";n.d(t,{I:function(){return i}});var l=n(52322),a=n(74008),o=n(90570);let i=e=>{let{accessLink:t,doc:n,className:i,showDivider:r=!0}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.A2,{accessLink:t,doc:n,p:6,spacing:4,className:i}),r&&(0,l.jsx)(a.i,{})]})}},99421:function(e,t,n){"use strict";n.d(t,{p:function(){return h}});var l=n(52322),a=n(38035),o=n(28535),i=n(32899),r=n(42946),s=n(49929),d=n(94523),u=n(5879),c=n(87254),m=n(14304),f=n.n(m),p=n(2784),g=n(1198);let h=e=>{let{targetHtml:t,onTargetClick:n,isSourceContentAvailable:m,instanceType:h}=e,[b,y]=(0,p.useState)(!1),[v,k]=(0,p.useState)(!1),x=(0,p.useRef)(null),w=(0,g.jj)(),S=b?void 0:3,C=b?r._qI:r.yh$,z=b?c.ag._({id:"vLyv1R"}):c.ag._({id:"fMPkxb"});return(0,p.useEffect)(()=>{var e;if(!x.current)return;let t=!b&&x.current.scrollHeight<=(null===(e=x.current)||void 0===e?void 0:e.clientHeight);k(!t)},[b]),(0,l.jsxs)(a.k,{className:"block-target-html",pl:3,mb:2,borderLeftWidth:"4px",borderLeftStyle:"solid",borderLeftColor:"yellow.200",direction:"row",alignItems:"flex-end",cursor:m&&"feed"===h?"pointer":"auto",onClick:n,children:[(0,l.jsx)(d.kH,{label:(0,l.jsx)(u.cC,{id:"/oHV5h"}),isDisabled:!("feed"===h&&!m),portalProps:{containerRef:w},children:(0,l.jsx)(o.xu,{flex:1,ml:-3,pl:3,w:"100%",fontSize:"sm",noOfLines:S,dangerouslySetInnerHTML:{__html:t?f().sanitize(t):""},ref:x,_hover:{bgColor:"feed"===h?m?"yellow.100":"gray.100":void 0}})}),v&&(0,l.jsx)(d.kH,{label:z,portalProps:{containerRef:w},children:(0,l.jsx)(i.h,{variant:"ghost",size:"xs","aria-label":z,icon:(0,l.jsx)(s.G,{icon:C}),onClick:()=>{y(e=>!e)},"data-target-name":"comment-target-expand-button",isRound:!0})})]})}},794:function(e,t,n){"use strict";n.d(t,{A:function(){return p}});var l=n(52322),a=n(38035),o=n(29117),i=n(75078),r=n(43297),s=n(77533),d=n(5879),u=n(87254),c=n(92440),m=n(90221),f=n(99421);let p=e=>{let{draftComment:t,showUser:n=!0,showBorder:p=!0,user:g,onCommentDraftUpdate:h,onCommentSave:b,commentIdToHighlight:y,alwaysShowButtons:v=!1,...k}=e;return(0,l.jsxs)(a.k,{direction:"column",...k,children:[n&&(0,l.jsxs)(o.U,{mb:3,pt:3,children:[(0,l.jsx)(i.q,{src:null==g?void 0:g.profileImageUrl,size:"sm"}),(0,l.jsx)(r.K,{children:(0,l.jsx)(s.x,{fontWeight:"bold",fontSize:"sm",children:(0,l.jsx)(d.cC,{id:"866PMb",values:{0:null==g?void 0:g.displayName}})})})]}),t&&(null==t?void 0:t.targetHtml)&&(0,l.jsx)(f.p,{targetHtml:t.targetHtml}),(0,l.jsx)(c.S,{onUpdate:h,initialContent:(null==t?void 0:t.json)||null,clearContentOnSave:!0,editable:!0,saveButtonText:(0,l.jsx)(d.cC,{id:"26iNma"}),placeholder:u.ag._({id:"UkDQUD"}),onCommentSave:b,showBorder:p,shouldFocus:!!(!(0,m.f_)()&&!y),alwaysShowButtons:v})]})}},17158:function(e,t,n){"use strict";n.d(t,{xN:function(){return i},kr:function(){return r}});var l=n(46795),a=n(1787),o=n(27191);n(50105),new o.H$("draftComments");let i=(e,t,n)=>({targetId:a.v.generate(),targetHtml:n,json:null,text:"",relativePos:(0,l.jS)(t.state,e())}),r=(e,t,n,a)=>({...e,targetHtml:n,relativePos:(0,l.jS)(a.state,t())})},40015:function(e,t,n){"use strict";n.d(t,{Zz:function(){return T},c0:function(){return _},iZ:function(){return E},m0:function(){return O},nG:function(){return P},vY:function(){return M},xA:function(){return B}});var l=n(70065),a=n(87254),o=n(72338),i=n(3440),r=n.n(i),s=n(829),d=n.n(s),u=n(35838),c=n.n(u),m=n(18149),f=n.n(m),p=n(2784),g=n(43997),h=n(19431),b=n(94090),y=n(69747),v=n(93982),k=n(14647),x=n(91073),w=n(46795),S=n(36651),C=n(56943),z=n(90221),A=n(77182);let I=(0,z.s2)()?"bottom":"top";function j(e){return e?e.reduce((e,t)=>(t.targetId&&(e[t.targetId]?e[t.targetId].push(t):e[t.targetId]=[t]),e),{}):null}let F=e=>e.filter(e=>!!e.spec.isAnnotation),B=e=>{let t=(0,b.CG)(t=>{let n=(0,v.yx)(t),l=j(((null==n?void 0:n.comments)||[]).filter(e=>e.status===h.Ux9.Open));if(!l)return[];let a=F(e);return c()(a,e=>{let{spec:t}=e;return l[t.id]}).filter(Boolean)},f());return t},M=e=>e.filter(e=>!!e.spec.isDraftComment).map(e=>e.spec.comment),E=e=>{let{draftComment:t,clearDraftComment:n,editor:i}=e,[r]=(0,h.sHn)(),s=(0,l.p)(),d=i.gammaDocId,{user:u}=(0,S.SE)();return e=>{var l;if(!t)return;let{relativePos:c,targetId:m}=t,f=(0,w.XV)(i.state,c);if(!f)throw Error("Could not save comment, null pos from relativePos");let p=(0,o.qv)(i.state.doc.resolve(f),x.KH),g=i.view.state.doc.nodeAt(f),b=t.targetHtml||(0,k.ho)(g,["footnote","footnoteLabel","cardNotes"]),y=t.targetHtml||(0,k.iJ)(g,["footnote","footnoteLabel","cardNotes"]);i.commands.addAnnotation({id:m,pos:f});let v=null==p?void 0:null===(l=p.node)||void 0===l?void 0:l.attrs.id,S={targetId:m,docId:d,cardId:v,content:e,targetHtml:b,targetText:y};r({variables:{input:S},update:(e,t)=>{let{data:n}=t;e.writeFragment({id:"Doc:".concat(d),fragment:C.Hn,fragmentName:"DocCommentsCreate",data:{comments:[null==n?void 0:n.createComment]}})},optimisticResponse:{createComment:{id:"temp-id",commentId:"",__typename:"Comment",...S,content:JSON.parse(JSON.stringify(e)),user:u,archived:!1,reactions:[],replies:[],status:h.Ux9.Open,createdTime:new Date().toISOString(),updatedTime:new Date().toISOString()}}}),s({title:a.ag._({id:"4kSebh"}),status:"success",duration:5e3,isClosable:!1,position:I}),n()}},_=(e,t)=>{(0,p.useEffect)(()=>{let n=!0,l=l=>{let{selectionPos:a,parentPos:o,text:i}=l;if(!n)return;let r=e();r===o&&t({targetHtml:i,getPos:()=>a})};return y.pw.on(y.TI.CREATE_COMMENT_FROM_SELECTION,l),()=>{y.pw.on(y.TI.CREATE_COMMENT_FROM_SELECTION,l),n=!1}},[e,t])},O=e=>{let{showComment:t,comments:n,blockAllowsCommenting:l,highlightDuration:a=4e3}=e,[o,i]=(0,p.useState)(null);return(0,p.useEffect)(()=>{let e=!0,o=o=>{let{commentId:r,highlightComment:s=!1}=o;if(!e||!l)return;let d=(0,A.H8)(n,r);d&&(t(d),s&&(i(r),setTimeout(()=>{e&&i(null)},a)))};return y.pw.on(y.TI.OPEN_POPUP_COMMENT,o),()=>{y.pw.off(y.TI.OPEN_POPUP_COMMENT,o),e=!1}},[n,l,a,t]),o},P=e=>{let t=(0,g.I0)(),n=(0,b.CG)((0,v.Mk)(e)),l=(0,p.useRef)(null),[a,o]=(0,p.useState)(!1),i=(0,p.useCallback)(e=>{l.current=e,o(!!e)},[]),r=(0,p.useCallback)(()=>{l.current=n,o(!!n)},[n]),s=(0,p.useCallback)(()=>{var n;if(!l.current||!(null===(n=l.current.text)||void 0===n?void 0:n.length)){t((0,v.pS)({id:e}));return}t((0,v.qt)({id:e,reply:l.current}))},[e,t]),d=(0,p.useRef)(s);return(0,p.useEffect)(()=>{d.current=s},[s]),(0,p.useEffect)(()=>(r(),()=>{d.current()}),[]),{hasLocalDraftReply:a,initialDraftReply:l.current,updateLocalDraftReply:i}},T=e=>{let t=(0,b.CG)(t=>{let n=(0,v.yx)(t),l=j((null==n?void 0:n.reactions)||[]);if(!l)return[];let a=F(e),o=c()(a,e=>{let{spec:t}=e;return l[t.id]}).filter(Boolean),i=r()(o,"emoji"),s=[];for(let[e,t]of Object.entries(i)){let n=t.reduce((e,t)=>e+t.count,0);s.push({emoji:e,count:n,reactions:t})}return d()(s.filter(e=>e.count>0),"count").reverse()},f());return t}},57480:function(e,t,n){"use strict";n.d(t,{Et:function(){return a},Gt:function(){return o},bk:function(){return l},yK:function(){return i}});let l="350px",a=1,o="temp-id",i=128},4030:function(e,t,n){"use strict";n.d(t,{lO:function(){return l.l}});var l=n(20929);n(43970),n(96071),n(794),n(17158),n(40015)},14657:function(e,t,n){"use strict";n.d(t,{Mw:function(){return b},R1:function(){return u},ZM:function(){return d},bg:function(){return c},ei:function(){return h},lG:function(){return m},lM:function(){return p},mS:function(){return f},nf:function(){return g}});var l=n(38564),a=n(857),o=n(72338),i=n(96255),r=n(54999),s=n(50105);let d=e=>(0,i.KH)(e)||(0,i.pv)(e)||(0,r.AH)(e),u=(e,t)=>!(0,i.KH)(e)&&!(0,i.pv)(e)&&d(t),c=e=>{if(d(e.parent))return{pos:e.pos,node:e.nodeAfter};for(let t=e.depth;t>0;t--){let n=e.node(t),l=e.node(t-1);if(d(l))return{pos:t>0?e.before(t):0,node:n}}return null},m=e=>{let{pos:t,from:n,to:l,editor:a}=e,{state:r}=a,d=s.Z.getState(r);if(!d)return null;let u=(0,o.qv)(a.state.doc.resolve(t),i.KH),c=d.getAnnotationsBetween(r,n,l),m=u?d.getAnnotationsBetween(r,u.pos,u.pos+u.node.nodeSize).filter(e=>!c.find(t=>t.id===e.id)):[];return{inBlock:c,inCard:m,origNodePos:t}},f=e=>{let{dropPos:t,dropNode:n,dragging:o,side:i,tr:r,view:d}=e,u=s.Z.getState(d.state);if(!u)return[];let c=u.getAnnotationsBetween(d.state,t,t+n.nodeSize),m=o.inBlock,f="left"===i?o.origNodePos:t,p="left"===i?t:o.origNodePos,{doc:g,type:h,binding:b}=l.Gt.getState(d.state),y=r.mapping.map(t),v=(e,t)=>n=>{let{id:l,relativePos:o}=n,i=(0,a.SF)(g,h,o,b.mapping);return null==i?null:{id:l,newPos:y+(i-e)+t}},k=("left"===i?m:c).map(v(f,1)).filter(e=>!!e),x=("left"===i?c:m).map(v(p,2)).filter(e=>!!e),w=[...k,...x],S=o.inCard.filter(e=>{let{id:t}=e;return!w.find(e=>e.id===t)}).map(e=>{let{id:t,pos:n}=e,l=r.mapping.map(n);return n===l?null:{newPos:l,id:t}}).filter(e=>!!e);return[...w,...S]},p=e=>{let{dropPos:t,dropNode:n,dragging:o,side:i,tr:r,view:d,leftContentSize:u}=e,c=s.Z.getState(d.state);if(!c)return[];let m=c.getAnnotationsBetween(d.state,t,t+n.nodeSize),f=o.inBlock,p="left"===i?o.origNodePos:t,g="left"===i?t:o.origNodePos,{doc:h,type:b,binding:y}=l.Gt.getState(d.state),v=r.mapping.map(t),k=(e,t)=>n=>{let{id:l,relativePos:o}=n,i=(0,a.SF)(h,b,o,y.mapping);return null==i?null:{id:l,newPos:v+(i-e)+t}},x=("left"===i?f:m).map(k(p,2)).filter(e=>!!e),w=("left"===i?m:f).map(k(g,4+u)).filter(e=>!!e),S=[...x,...w],C=o.inCard.filter(e=>{let{id:t}=e;return!S.find(e=>e.id===t)}).map(e=>{let{id:t,pos:n}=e,l=r.mapping.map(n);return n===l?null:{newPos:l,id:t}}).filter(e=>!!e);return[...S,...C]},g=e=>{let{contentPos:t,contentEnd:n,insertPos:o,editor:i}=e,r=s.Z.getState(i.state);if(!r)return[];let{state:d}=i,u=r.getAnnotationsBetween(d,t,n),{doc:c,type:m,binding:f}=l.Gt.getState(i.view.state),p=u.map(e=>{let{id:n,relativePos:l}=e,i=(0,a.SF)(c,m,l,f.mapping);if(null==i)return null;let r=i-t;return{id:n,newPos:o+r}}).filter(e=>!!e);return p},h=e=>{var t;let{dropPos:n,dragging:o,cardWrapOffset:i,tr:r,view:d}=e,u=s.Z.getState(d.state);if(!u)return[];let{doc:c,type:m,binding:f}=l.Gt.getState(d.state),p=r.mapping.map(n,-1),g=o.inBlock.map((t=o.origNodePos,e=>{let{id:n,relativePos:l}=e,o=(0,a.SF)(c,m,l,f.mapping);return null==o?null:{id:n,newPos:p+(o-t)+i}})).filter(e=>!!e),h=o.inCard.filter(e=>{let{id:t}=e;return!g.find(e=>e.id===t)}).map(e=>{let{id:t,pos:n}=e,l=r.mapping.map(n);return n===l?null:{newPos:l,id:t}}).filter(e=>!!e);return[...g,...h]},b=e=>{let{pos:t,tr:n,editor:l}=e,a=s.Z.getState(l.view.state);if(!a)return[];let o=l.state.doc.resolve(t);return o.nodeAfter?a.getAnnotationsBetween(l.state,t,t+o.nodeAfter.nodeSize).map(e=>{let{id:l,pos:a}=e;return{id:l,newPos:a===t?n.mapping.map(a+1)-1:n.mapping.map(a)}}):[]}},77381:function(e,t,n){"use strict";n.d(t,{V:function(){return c},l:function(){return u}});var l=n(73200),a=n(72338),o=n(27191),i=n(52780),r=n(91073),s=n(14657),d=n(15468);let u=a.hj.create({name:"blockClass",addOptions:()=>({blockClass:"block"}),addProseMirrorPlugins(){return[new o.Sy({key:new o.H$("blockClass"),props:{decorations:e=>{let{doc:t}=e,n=[];return t.descendants((e,t,a,o)=>{if((0,s.ZM)(a)&&n.push(i.p.node(t,t+e.nodeSize,{},{isAnnotatable:!0})),(0,r.zh)(e)){n.push(i.p.node(t,t+e.nodeSize,{class:(0,l.cx)(this.options.blockClass,"block-".concat(e.type.name),0===o&&"first-block",o===a.childCount-1&&"last-block")}));let s=0===o&&((0,r.KH)(a)||(0,d.Fi)(a));s&&n.push(i.p.node(t,t+e.nodeSize,{class:"first-block-in-card"},{isFirstBlockInCard:!0}))}else{if(!e.isLeaf&&!e.isBlock)return;n.push(i.p.node(t,t+e.nodeSize,{class:"node-".concat(e.type.name)}))}}),i.EH.create(t,n)}}})]}}),c=e=>!!e.find(e=>e.spec.isFirstBlockInCard)},77220:function(e,t,n){"use strict";n.d(t,{NM:function(){return u},eq:function(){return s}});var l=n(72338),a=n(27191),o=n(55079),i=n(60742),r=n(11093);let s=new a.H$("menuBubble");class d{initialize(e){let{element:t,tippyOptions:n,panelLifecycle:l,onHide:a,targetElement:o}=e;if(!t){console.warn("[BubbleMenuView] initialize. No element provided");return}this.onHide=a,this.element=t,this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.view.dom.addEventListener("dragend",this.dragendHandler),this.view.dom.addEventListener("drop",this.dragendHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.createTooltip(n,o),this.element.style.visibility="visible",document.addEventListener("mousedown",this.mousedownDocumentHandler,!0),document.addEventListener("mouseup",this.mouseupDocumentHandler,!0),l&&(this.cleanupPanelLifecycle=l.on("resize",()=>{var e;null===(e=this.tippy.popperInstance)||void 0===e||e.update()}))}createTooltip(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=t||this.view.dom.parentElement;this.tippy=(0,o.ZP)(n,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...e}),this.editor.commands.command(e=>{let{tr:t}=e;return t.setMeta(s,{tippyInstance:this.tippy}),!0})}update(e,t){let n=t&&s.getState(t),a=s.getState(e.state),{state:o,composing:d}=e,{doc:u,selection:m}=o,f=t&&t.doc.eq(u)&&t.selection.eq(m)&&this.isEditable===this.editor.isEditable&&(null==n?void 0:n.forceHide)===a.forceHide;if(!this.element){if(!a.element)return;this.initialize(a)}if(this.isEditable=this.editor.isEditable,!this.editor.isEditable||!0===a.forceHide){this.hide();return}if(d||f)return;let{empty:p,ranges:g}=m,h=Math.min(...g.map(e=>e.$from.pos)),b=Math.max(...g.map(e=>e.$to.pos)),y=!u.textBetween(h,b).length&&(0,l.xh)(e.state.selection);if(p||y){let e=m.$anchor.marks().some(e=>"link"===e.type.name)||"button"===m.$anchor.parent.type.name,t=(0,l.b5)(u,{from:h,to:b},e=>"emoji"===e.type.name);if(!e&&(null==t?void 0:t.length)===0){this.hide();return}}this.tippy.setProps({getReferenceClientRect:()=>{if(!(0,l.EG)(e.state.selection))return(0,l.pr)(e,h,b);let t=e.nodeDOM(h);return t&&(0,i.Re)(t)?(c(t,".drag-handle")||c(t,"[data-content-reference]")||t).getBoundingClientRect():(0,l.pr)(e,h,b)}}),!this.isMouseDownOutsideMenu&&(0,r.KB)(this.editor)&&this.show()}show(){this.tippy.show(),document.body.classList.add("formatting-menu-open")}hide(){this.onHide&&"function"==typeof this.onHide&&this.onHide(),this.tippy.hide(),document.body.classList.remove("formatting-menu-open")}destroy(){var e,t;null===(e=this.tippy)||void 0===e||e.destroy(),null===(t=this.element)||void 0===t||t.removeEventListener("mousedown",this.mousedownHandler),document.removeEventListener("mousedown",this.mousedownDocumentHandler,!0),document.removeEventListener("mouseup",this.mouseupDocumentHandler,!0),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler),this.cleanupPanelLifecycle&&this.cleanupPanelLifecycle()}constructor({editor:e,view:t}){this.preventHide=!1,this.mousedownDocumentHandler=e=>{this.element.contains(e.target)?this.isMouseDownOutsideMenu=!1:this.isMouseDownOutsideMenu=!0},this.mouseupDocumentHandler=()=>{this.isMouseDownOutsideMenu=!1,this.update(this.editor.view)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.dragendHandler=()=>{this.isMouseDownOutsideMenu=!1,setTimeout(()=>this.update(this.editor.view))},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=e=>{var t;let{event:n}=e;if(this.preventHide){this.preventHide=!1;return}(null==n?void 0:n.relatedTarget)&&(null===(t=this.element.parentNode)||void 0===t?void 0:t.contains(n.relatedTarget))||this.hide()},this.editor=e,this.isEditable=e.isEditable,this.view=t}}let u=l.hj.create({name:"bubbleMenu",addCommands:()=>({forceHideBubbleMenu:e=>t=>{let{tr:n}=t;return n.setMeta(s,{forceHide:e}),!0},refreshBubbleMenu:()=>e=>{var t;let{state:n}=e,{tippyInstance:l}=s.getState(n);return null==l||null===(t=l.popperInstance)||void 0===t||t.forceUpdate(),!0}}),addProseMirrorPlugins(){let{editor:e}=this;return[new a.Sy({key:s,state:{init:()=>({element:null,forceHide:!1,onHide:()=>{},tippyOptions:{},tippyInstance:null}),apply(e,t){let n=e.getMeta(s);return n?{...t,...n}:t}},view:t=>new d({view:t,editor:e})})]}}),c=(e,t)=>{let n=e.querySelector(t),l=e.querySelector("[data-node-view-wrapper]");if(!n||!l)return null;let a=(0,i.tl)(n,e,e=>e.hasAttribute("data-node-view-wrapper"));return a===l?n:null}},98081:function(e,t,n){"use strict";n.d(t,{Di:function(){return r},NY:function(){return s},hw:function(){return i},ri:function(){return o}});var l=n(42946),a=n(87254);let o=()=>({note:{name:a.ag._({id:"KiJn9B"}),commandName:()=>a.ag._({id:"Cq+sLh"}),description:a.ag._({id:"ooy/OF"}),icon:l.L4e,colorScheme:"accent"},info:{name:a.ag._({id:"CE+M2e"}),commandName:()=>a.ag._({id:"1E4ojF"}),description:a.ag._({id:"NfbNtV"}),icon:l.sqG,colorScheme:"blue"},warning:{name:a.ag._({id:"r6y+jM"}),commandName:()=>a.ag._({id:"xb1fsI"}),icon:l.ik8,description:a.ag._({id:"tpYgEx"}),colorScheme:"yellow"},caution:{name:a.ag._({id:"VvjZ7K"}),commandName:()=>a.ag._({id:"tC/T1p"}),description:a.ag._({id:"nbib7S"}),icon:l.$9F,colorScheme:"red"},success:{name:a.ag._({id:"zzDlyQ"}),commandName:()=>a.ag._({id:"Vv+D/T"}),description:a.ag._({id:"pqvop4"}),icon:l.f8k,colorScheme:"green"},question:{name:a.ag._({id:"bfgr/e"}),commandName:()=>a.ag._({id:"Ev0Vqt"}),description:a.ag._({id:"IsUqRH"}),icon:l.Fuz,colorScheme:"gray"}}),i=e=>o()[e]||o().note,r=()=>Object.entries(o()).map(e=>{let[t,{commandName:n,icon:l}]=e;return{key:"calloutBox-".concat(t),name:n,nodeName:"calloutBox",icon:l,shortcut:"/".concat(t),keywords:["callout","box"],execute:e=>e.chain().focus().wrapIn("calloutBox",{variant:t}).run()}}),s=Object.fromEntries(Object.keys(o()).map(e=>["calloutBox-".concat(e),{type:"calloutBox",attrs:{variant:e},content:[{type:"paragraph"}]}]))},39018:function(e,t,n){"use strict";n.d(t,{Zi:function(){return s},g5:function(){return r},xO:function(){return i}});var l=n(52322),a=n(28535),o=n(13793);let i={effect:"faded"},r=e=>{let{background:t}=e,{mask:n=i}=t;if(!s(t)||!d(n))return null;let o={frosted:{backdropFilter:"blur(10px) saturate(150%)",backgroundColor:"var(--card-color-mask)"},faded:{backgroundColor:"var(--card-color-mask)"}}[n.effect||"none"];return(0,l.jsx)(a.xu,{position:"absolute",inset:"0",borderRadius:"inherit",transitionProperty:"backdrop-filter, background",transitionDuration:"normal",...o})},s=e=>e.type===o.E.IMAGE||!e.type,d=e=>!!e&&"none"!==e.effect},8493:function(e,t,n){"use strict";n.d(t,{t:function(){return l}});let l=10},87037:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var l=n(75652),a=n.n(l);n(18733),n(88640);var o=n(8493);let i=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.t;return a()([e,...t]).slice(0,n)}},39176:function(e,t,n){"use strict";n.d(t,{A7:function(){return o},OU:function(){return r},RD:function(){return i},UF:function(){return s}});var l=n(58125);let a=(0,l.oM)({name:"CardMenus",initialState:{cardId:null,menuOpen:null},reducers:{toggle(e,t){let{cardId:n,menuType:l}=t.payload;e.cardId=e.menuOpen===l?null:n,e.menuOpen=e.menuOpen===l?null:l},close(e){e.menuOpen=null,e.cardId=null}}}),{toggle:o,close:i}=a.actions,r=(e,t)=>n=>{let{cardId:l,menuOpen:a}=n.CardMenus;return a===t&&l===e},s=a.reducer},71607:function(e,t,n){"use strict";n.d(t,{kc:function(){return z},$v:function(){return C}});var l=n(52322),a=n(17993),o=n(74409),i=n(20437),r=n(5879),s=n(87254),d=n(94090),u=n(53025),c=n(93982),m=n(62685),f=n(39018),p=n(56581),g=n(62614),h=n(38035),b=n(28535),y=n(77533),v=n(43297),k=n(22569),x=n(87205);let w=e=>{let{label:t,onClick:n,isChecked:a,cardBackground:o,isDark:i=!1,...r}=e,s=(0,k.wh)(o,i,x.Iv);return(0,l.jsxs)(g.z,{borderRadius:"md",display:"block",height:"auto",variant:"ghost",color:"black",onClick:n,p:1,...r,children:[(0,l.jsxs)(h.k,{borderWidth:"1px",borderColor:"gray.200",sx:s,p:2,backgroundAttachment:"unset",_focus:{boxShadow:"outline"},overflow:"hidden",position:"relative",direction:"column",align:"center",justify:"center",height:"80px",children:[(0,l.jsx)(f.g5,{background:o}),(0,l.jsx)(b.xu,{position:"relative",p:2,zIndex:0,transitionProperty:"inset",transitionDuration:"normal",width:"100%",overflow:"hidden",color:"var(--body-color)",children:(0,l.jsx)(S,{})})]}),(0,l.jsxs)(h.k,{align:"center",mt:1,children:[a&&(0,l.jsx)(p.n,{w:3,mr:1}),(0,l.jsx)(y.x,{fontSize:"sm",fontWeight:"medium",children:t})]})]})},S=()=>{let e="currentColor";return(0,l.jsxs)(v.K,{spacing:1,h:"28px",position:"relative",zIndex:1,children:[(0,l.jsx)(b.xu,{h:"6px",w:"50%",bg:e,borderRadius:"sm"}),(0,l.jsx)(b.xu,{h:"3px",w:"100%",bg:e,borderRadius:"sm"}),(0,l.jsx)(b.xu,{h:"3px",w:"100%",bg:e,borderRadius:"sm"}),(0,l.jsx)(b.xu,{h:"3px",w:"30%",bg:e,borderRadius:"sm"})]})},C=[{label:()=>s.ag._({id:"37VL/A"}),value:"frosted"},{label:()=>s.ag._({id:"W4wYdx"}),value:"faded"},{label:()=>s.ag._({id:"siC4v8"}),value:"none"}],z=e=>{let{background:t,container:n,updateAttributes:s}=e,p={...f.xO,...t.mask},g=(0,d.CG)(c.Pu),h=(0,m.BA)(g,n),b=(0,u.l)(g,h);return(0,l.jsx)(a.g,{spacing:4,w:"100%",align:"stretch",css:b,children:(0,l.jsxs)(a.g,{spacing:2,align:"stretch",children:[(0,l.jsx)(o.X,{size:"md",children:(0,l.jsx)(r.cC,{id:"OXOTHU"})}),(0,l.jsx)(i.M,{columns:2,spacing:2,children:C.map(e=>{var n;let{label:a,value:o}=e,i={...t,mask:{...p,effect:o}};return(0,l.jsx)(w,{onClick:()=>{s({background:i})},label:a(),isChecked:(null===(n=t.mask)||void 0===n?void 0:n.effect)===o,cardBackground:i,cardColor:h},o)})})]})})}},21004:function(e,t,n){"use strict";n.d(t,{S:function(){return D},a:function(){return L}});var l=n(52322),a=n(18292),o=n(32981),i=n(26468),r=n(73751),s=n(2338),d=n(54326),u=n(97217),c=n(36371),m=n(73582),f=n(2969),p=n(28535),g=n(3181),h=n(13272),b=n(47443),y=n(52929),v=n(42946),k=n(49929),x=n(5879),w=n(2784),S=n(93691),C=n(50260),z=n(98168),A=n(24813),I=n(19431),j=n(20336),F=n(13793),B=n(65435);let M=e=>{if(!e.source&&e.type===F.E.IMAGE){var t;return null===(t=e.image)||void 0===t?void 0:t.source}return e.source},E=(0,w.memo)(e=>{let{editor:t,defaultMessage:n,isDark:a,setCurrentSourceKey:o,currentSourceKey:i,currentSource:r,updateCurrentBackground:s,currentBackground:d,isValidSource:u,editType:c="background",contextualTheme:m}=e,{isConnected:f}=(0,I.$gs)(),g=(0,w.useCallback)(e=>{let t=z.ah[e];t.backgroundType&&s({type:t.backgroundType,source:e,[t.backgroundType]:void 0})},[s]),h=(0,w.useCallback)(()=>g(i),[i,g]),b=(0,w.useCallback)(e=>{e===z.mC&&g(z.mC),o(e)},[o,g]),y=M(d);(0,w.useEffect)(()=>{y&&z.ah[y]&&o(y)},[y,o]);let v=!!(f||(null==r?void 0:r.availableOffline));return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(j.V,{isConnected:v,label:(0,l.jsx)(x.cC,{id:"nfjtFu"}),mb:3,my:6}),(0,l.jsx)(B.M,{isValidSource:u,onChange:b,currentSource:r}),r&&(0,l.jsx)(p.xu,{opacity:v?1:.4,pointerEvents:v?"initial":"none",children:(0,l.jsx)(r.Panel,{editor:t,updateAttributes:e=>{r.backgroundType&&(r.key===C.cx?s(e):s({type:r.backgroundType,[r.backgroundType]:{...e},source:i}))},currentAttributes:r.backgroundType?r.key===C.cx?d:d[r.backgroundType]||{}:{},resetToPlaceholder:h,editType:c,isDark:a,contextualTheme:m})}),i===z.mC&&n]})});E.displayName="BackgroundPanel";let _=e=>!!e.backgroundType,O=e=>{let{editor:t,updateNestedAttributes:n,background:a,defaultMessage:o,isDark:i,isValidSource:r}=e,{currentEditBackgroundDrawerSourceKey:s,setBackgroundDrawerSourceKeyAction:d}=(0,A.jn)(),u=z.ah[s],c=(0,w.useCallback)(e=>{u.key===C.cx?n({background:e}):n({background:{...e,accentId:void 0}})},[null==u?void 0:u.key,n]),m=(0,w.useCallback)(e=>r?r(e)&&_(e):_(e),[r]);return(0,l.jsx)(E,{editor:t,isDark:i,isValidSource:m,defaultMessage:o,currentBackground:a,updateCurrentBackground:c,currentSourceKey:s,setCurrentSourceKey:d,currentSource:u})};var P=n(61840),T=n(39018),R=n(21209),N=n(71607);let L=()=>{let{isOpen:e,onOpen:t,onClose:n}=(0,a.q)(),[l,o]=(0,w.useState)(0),i=(0,w.useCallback)(e=>{t(),o(e)},[t]),r=(0,w.useCallback)(()=>{i(0)},[i]),s=(0,w.useCallback)(()=>{i(1)},[i]);return{openBackgroundTab:r,openStylesTab:s,isOpen:e,onClose:n,tabIndex:l,setTabIndex:o}},D=(0,w.memo)(function(e){let{editor:t,isOpen:n,onClose:a,background:C,container:z,updateNestedAttributes:A,tabIndex:I,setTabIndex:j,isAccentImageDrawer:B=!1,enableMask:M=!1}=e,E=(0,P.A)(t),_=(0,w.useCallback)(()=>{0!==I&&j(0),a()},[a,I,j]),L=(0,S.g)(),D=M&&(0,T.Zi)(C),W=B?R.kT.accentImage:R.kT.cardBackground,U=(0,w.useCallback)(e=>!B||e.backgroundType!==F.E.NONE,[B]);return(0,l.jsxs)(o.d,{trapFocus:!1,isOpen:n,placement:"right",onClose:_,size:L,blockScrollOnMount:!1,children:[(0,l.jsx)(i.Z,{background:"none"}),(0,l.jsxs)(r.s,{onKeyDown:E,"data-in-editor-focus":!0,"data-edit-background-drawer":!0,"data-testid":"card-style-drawer",children:[(0,l.jsx)(s.o,{}),(0,l.jsx)(d.x,{children:(0,l.jsx)(x.cC,{id:"xYilR2"})}),(0,l.jsx)(u.f,{overflowX:"hidden",children:(0,l.jsxs)(c.m,{variant:"soft-rounded",size:"sm",isFitted:!0,isLazy:!0,index:I,onChange:j,children:[D&&(0,l.jsxs)(m.t,{children:[(0,l.jsxs)(f.O,{children:[(0,l.jsx)(p.xu,{mr:2,children:(0,l.jsx)(k.G,{icon:v.re8})}),(0,l.jsx)(x.cC,{id:"GtJbUa"})]}),(0,l.jsxs)(f.O,{children:[(0,l.jsx)(p.xu,{mr:2,children:(0,l.jsx)(k.G,{icon:v.Mdf})}),(0,l.jsx)(x.cC,{id:"9LBB6c"})]})]}),(0,l.jsxs)(g.n,{children:[(0,l.jsx)(h.x,{p:0,pb:1,mt:D?4:0,children:(0,l.jsx)(O,{editor:t,updateNestedAttributes:A,background:C,defaultMessage:(0,l.jsxs)(b.b,{children:[(0,l.jsx)(y.z,{}),W]}),isDark:!1,isValidSource:U})}),D&&(0,l.jsx)(h.x,{p:0,pb:1,mt:4,children:(0,l.jsx)(N.kc,{updateAttributes:A,background:C,container:z})})]})]})})]})]})})},2333:function(e,t,n){"use strict";n.d(t,{G9:function(){return s},TB:function(){return d},df:function(){return r},s:function(){return u}});var l=n(58125),a=n(50260);let o={currentSourceKey:a.cx},i=(0,l.oM)({name:"EditBackgroundDrawer",initialState:o,reducers:{setCurrentSourceKey(e,t){e.currentSourceKey=t.payload.sourceKey},resetCurrentSourceKey(e){e.currentSourceKey=o.currentSourceKey}}}),{setCurrentSourceKey:r,resetCurrentSourceKey:s}=i.actions,d=e=>e.EditBackgroundDrawer.currentSourceKey,u=i.reducer},53027:function(e,t,n){"use strict";n.d(t,{d:function(){return l}});let l={prompt:"",template:null,settings:{},status:"ready"}},21209:function(e,t,n){"use strict";n.d(t,{CJ:function(){return l},fD:function(){return a},kT:function(){return o}});let l="card-layout",a="25px",o={accentImage:"Try adding an image from this theme's accent image library or search Unsplash for inspiration. You can also upload your own image here.",cardBackground:"The page background will show up behind this card. You\n can change the page background using the theme button in\n the toolbar, or add a backdrop specific to this card."}},52332:function(e,t,n){"use strict";n.d(t,{Ay:function(){return h},E0:function(){return f},HD:function(){return p},K9:function(){return m},Nn:function(){return g}});var l=n(72338),a=n(1842),o=n.n(a),i=n(27191),r=n(94090),s=n(93982),d=n(90604),u=n(91073),c=n(93814);let m=l.hj.create({name:"cardCollapse",addKeyboardShortcuts:()=>({Escape:e=>{let{editor:t}=e,n=(0,r.bh)(),a=(0,s.gh)(n.getState());if(a!==d.q.DOC_VIEW)return!1;let{selection:o}=t.state;if(!o.empty)return!1;let i=(0,l.Kk)(u.KH)(o);return!!i&&i.depth>c.k_&&!p(i.node)&&(g(i.node.attrs.id,!0),!0)}}),addProseMirrorPlugins:()=>[new i.Sy({key:new i.H$("cardCollapse"),appendTransaction:(e,t,n)=>{if(n.selection.eq(t.selection)||!n.selection.empty)return;let a=(0,l.Kk)(u.KH)(n.selection);if(!a)return;let{node:o,pos:r}=a,s=p(o);if(s)try{let{tr:e}=n,t=i.qv.create(e.doc,r);if(!t)return;return e.setSelection(t)}catch(e){console.error("Error moving selection out of collapsed card",{node:o,pos:r},e)}}})]}),f=(e,t)=>{let n=[],l=[];e.descendants((e,t,a)=>{if(!(0,u.KH)(e))return;let{id:o}=e.attrs,i=a&&"document"===a.type.name;i?n.push(o):l.push(o)}),t((0,s.rH)({cardIds:n,isCollapsed:!1})),t((0,s.rH)({cardIds:l,isCollapsed:!0}))},p=e=>{let t="string"==typeof e?e:e.attrs.id;if(!t)return;let n=(0,r.bh)().getState();return(0,s.yH)(t)(n)},g=(e,t)=>{if(o()(e)){console.error("[setCardCollapsed] Input is unexpectedly not string | string[]: ",e);return}let n=Array.isArray(e)?e:[e],l=(0,r.bh)();(1!==n.length||(0,s.yH)(n[0])(l.getState())!==t)&&l.dispatch((0,s.rH)({cardIds:n,isCollapsed:t}))},h=e=>{let t=(0,r.bh)(),n=t.getState();void 0===n.TipTap.memoState.expandedCards[e]&&t.dispatch((0,s.rH)({cardIds:[e],isCollapsed:!1}))}},30870:function(e,t,n){"use strict";n.d(t,{o4:function(){return b},Z8:function(){return h}});var l=n(66475),a=n(72338),o=n(27191),i=n(26151),r=n(11050),s=n(19283),d=n(18149),u=n.n(d),c=n(93982),m=n(11093),f=n(91073);let p=e=>{let t=[],n={tree:{},parents:{},treeArray:[]};return e.doc.descendants((l,a)=>{if(!(0,f.KH)(l))return;let o=e.doc.resolve(a),i=l.attrs.id;t.push(i);let r=(0,m.nv)(o,f.KH).reverse().map(e=>{let{node:t}=e;return t.attrs.id}),s=[...r,i];s.reduce((e,t)=>(e[t]=e[t]||{},e[t]),n.tree),n.parents[i]=r,s.reduce((e,t)=>{let n=e.find(e=>e.id===t);return n?n.children:(e.push({id:i,children:[]}),e)},n.treeArray)}),{cardIds:t,cardIdMap:n}};class g{compute(e){let t=p(e);u()(this.value,t)||(this.hasChanges=!0);let n=t.cardIds.filter(Boolean),l=n.filter((e,t)=>n.includes(e,t+1));return this.duplicateCardIds=l.filter(e=>!this.duplicateCardIds.includes(e)),this.value=t,this}apply(e,t){return e.docChanged&&this.compute(t),this}processChanges(e){this.hasChanges&&this.value&&e((0,c.iX)(this.value)),this.hasChanges=!1}constructor(){this.hasChanges=!1,this.duplicateCardIds=[],this.value=null}}let h=new o.H$("cardIds"),b=a.hj.create({name:"cardIds",priority:s.a.CardIds,addOptions:()=>({enabled:!0}),addProseMirrorPlugins(){return this.options.enabled?[new o.Sy({key:h,state:{init:()=>new g,apply:(e,t,n,l)=>t.apply(e,l)},appendTransaction(e,t,n){var a;let o=h.getState(n);if(!(null==o?void 0:null===(a=o.value)||void 0===a?void 0:a.cardIds))return null;let i=e.some(e=>e.docChanged);if(i&&o.duplicateCardIds.length){let t={duplicateIds:JSON.stringify(o.duplicateCardIds),transactions:JSON.stringify(y(e))};null===r.co||void 0===r.co||r.co.track(r.xW.DUPLICATE_CARD_IDS,{...t}),l.Tb("[generateCardIdMap] Duplicate cardIds detected. This is unexpected and will cause spotlight issues. Additional metadata:",{extra:t})}return null}})]:[]}}),y=e=>e.map(e=>{let t=e.steps.map(e=>{if(e instanceof i.Pu||e instanceof i.FC){var t,n,l;let a=(null===(n=e.slice.toJSON())||void 0===n?void 0:null===(t=n.content)||void 0===t?void 0:t[0])||{},o={type:a.type,attrs:a.attrs,contentLength:null===(l=a.content)||void 0===l?void 0:l.length};return{name:e.constructor.name,from:e.from,to:e.to,sliceContentSimple:o}}return e instanceof i.Cj?{name:e.constructor.name,pos:e.pos,attr:e.attr}:{name:e.constructor.name}}),n=Object.fromEntries(Object.entries(e.meta).map(e=>{let[t,n]=e;if("annotationEvent"===t){var l,a,o,i,r;return[t,{type:n.type,droppedBlockPos:n.droppedBlockPos,dragging:{inBlockLength:null===(a=n.dragging)||void 0===a?void 0:null===(l=a.inBlock)||void 0===l?void 0:l.length,inCardLength:null===(i=n.dragging)||void 0===i?void 0:null===(o=i.inCard)||void 0===o?void 0:o.length,origNodePos:null===(r=n.dragging)||void 0===r?void 0:r.origNodePos}}]}return"uiEvent"===t?[t,n]:[t,"object"==typeof n?"object":n]}));return{stepsData:t,docChanged:e.docChanged,selection:{from:e.selection.from,to:e.selection.to},selectionSet:e.selectionSet,metaData:n}})},59732:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var l=n(76919);let a=new l.v},96214:function(e,t,n){"use strict";n.d(t,{U:function(){return a}});var l=n(15468);let a=(e,t)=>{var n,a;let{background:o,fitType:i}=e,{allowFit:r}=(0,l.$U)(t);return r?i||((null==o?void 0:null===(a=o.image)||void 0===a?void 0:null===(n=a.meta)||void 0===n?void 0:n.has_transparency)?"fit":"fill"):"fill"}},36783:function(e,t,n){"use strict";n.d(t,{V6:function(){return k},en:function(){return x},y3:function(){return v}});var l=n(72338),a=n(27191),o=n(26151),i=n(52780),r=n(84698),s=n(94090),d=n(52808),u=n(13793),c=n(11093),m=n(37160),f=n(71917),p=n(32581),g=n(96255),h=n(78374),b=n(34227),y=n(15468);let v=new a.H$("cardLayoutPlugin"),k=e=>new a.Sy({key:v,state:{init:()=>({draggingData:null}),apply:(e,t)=>t},filterTransaction:(e,t)=>{if(!e.docChanged||!((0,l.EG)(t.selection)&&(0,g.pv)(t.selection.node))||e.steps.every(e=>e instanceof o.Cj)||e.getMeta("imageUploadUpdateAttrs")||e.steps.every(t=>{if(!(t instanceof o.Pu))return!1;let n=e.before.nodeAt(t.from);if(!n||!(0,y.pt)(n))return!1;let l=t.slice.content;return 1===l.childCount&&(0,y.pt)(l.firstChild)}))return!0;let n=(0,d.Z)(e),a=n.every(t=>{let n=e.before.nodeAt(t.oldStart);return!n||!(0,g.pv)(n)});return a||console.warn("[CardLayoutPlugin] blocking transaction with CardLayoutItem selected"),a},appendTransaction:(t,n,a)=>{let o=t.some(e=>e.docChanged)&&!n.doc.eq(a.doc);if(!o)return;let i=(0,f.u)(e.state.doc);if(!i.cardLayoutsEnabled)return;let r=a.tr,s=(0,l.XP)(n.doc,t),u=(0,d.Z)(s);if(u.forEach(t=>{let n={from:t.newStart,to:t.newEnd},o=(0,l.b5)(a.doc,n,e=>"card"===e.type.name);o.forEach(t=>{let{pos:l}=t;if(l(0,b.s4)(e,t,n),drop(t,n){let l=t.state.tr,a=(0,b.pY)(t,n);if(a&&a.isImageUpload){n.preventDefault();let o=a.pos;(0,h.G)(e,l,o,a.layout);let{accent:i}=(0,y.wz)(l,o);if(!i)throw Error("Could not find accent after setting card layout=".concat(a.layout," at pos=").concat(a.pos));return(0,p.j)(e,l,a.file,i.pos),t.dispatch(l),!0}let o=(0,b.VR)(t,n);if(o&&o.isImageUpload)return n.preventDefault(),(0,p.j)(e,l,o.file,o.pos),t.dispatch(l),!0;let i=(0,b.Y3)(e,t,n),r=v.getState(t.state);return i&&r&&(r.draggingData={removeLayoutFromCardId:i.node.attrs.id}),!1}},handlePaste:(t,n,l)=>{let{selection:o}=t.state,i=o instanceof a.qv&&(0,y.pt)(o.node);if(!i)return!1;let r=(0,m.O)(l);return!!r&&"image"===r.type.name&&e.commands.updateNestedAttributesAtPos(o.from,{background:{image:r.attrs,type:u.E.IMAGE,source:r.attrs.source}})},handleDrop(t,n,l){let a=t.state.tr,o=(0,b.s7)(e,a,t,n,l),i=(0,b.go)(t,a,n,l);return(!!o||!!i)&&((0,b.jZ)(e,a),t.dispatch(a),!0)},decorations:e=>{let{doc:t}=e,n=[];return t.descendants((e,l)=>{if("card"===e.type.name){let a=t.resolve(l),o=(0,c.nv)(a,g.KH).map(e=>e.node),d=(0,r.ws)((0,s.bh)().getState()),u=(0,y.Hh)({parentCards:o,layout:e.attrs.layout,isMobileDevice:d});e.forEach((t,l)=>{let o=a.pos+l+1;if(!(0,g.pv)(t))return;let r={cardId:e.attrs.id,isCardLayoutDecoration:!0,layout:u,cardSize:e.attrs.cardSize};n.push(i.p.node(o,o+t.nodeSize,{"data-layout-item-id":t.attrs.itemId},r))})}}),i.EH.create(t,n)}}}),x=e=>{let t=e.find(e=>e.spec.isCardLayoutDecoration);return null==t?void 0:t.spec}},78374:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var l=n(13793),a=n(15468);let o=(e,t,n,o,i)=>{let r=t.doc.nodeAt(n);if((null==r?void 0:r.type.name)!=="card")return!1;let s=r.attrs,d=(0,a.$U)(o);if((0,a.Ux)(t,n,e.schema,d),o===s.layout)return!0;t.setNodeAttribute(n,"layout",o);let{accent:u}=(0,a.wz)(t,n);if(i&&u&&u.node.attrs.background.type===l.E.NONE){let e=i();e&&t.setNodeAttribute(u.pos,"background",e)}let{layoutTemplateColumns:c}=r.attrs,m=s.layout;return c&&("left"===m&&"right"===o||"right"===m&&"left"===o)&&t.setNodeAttribute(n,"layoutTemplateColumns",c.split(" ").reverse().join(" ")),!0}},34227:function(e,t,n){"use strict";n.d(t,{VR:function(){return h},Y3:function(){return y},go:function(){return b},jZ:function(){return v},pY:function(){return k},s4:function(){return C},s7:function(){return S}});var l=n(72338),a=n(27191),o=n(93565),i=n(13793),r=n(11093),s=n(91073),d=n(87205),u=n(37160),c=n(15636),m=n(96255),f=n(78374),p=n(36783),g=n(15468);let h=(e,t,n)=>{let l=e.posAtCoords({left:t.clientX,top:t.clientY});if(!l||l.inside<0)return null;let{doc:a}=e.state,{inside:o}=l,m=a.resolve(o),f=(0,r.Ru)(m,g.pt),p=(0,r.Ru)(m,s.KH)[0],h=n&&(0,u.O)(n),b=(0,r.Fu)(o,e);if(0===f.length||!b||!p)return null;if(!h){let e=(0,c.RC)(t).filter(e=>(0,d.fU)(e.type));return 1!==e.length?null:{pos:o,rect:b,isImageUpload:!0,file:e[0]}}return h&&"image"===h.type.name?{pos:o,rect:b,isImageUpload:!1,background:{type:i.E.IMAGE,source:h.attrs.source,image:h.attrs}}:null},b=(e,t,n,l)=>{let a;try{if(!(a=h(e,n,l)))return!1}catch(e){return console.error("(caught) [CardLayoutPlugin] handleDrop checkGalleryDropTarget error:",e),!1}return!!a&&!a.isImageUpload&&(t.setNodeAttribute(a.pos,"background",a.background),t.deleteSelection(),!0)},y=(e,t,n)=>{var l,a;let o=t.posAtCoords({left:n.clientX,top:n.clientY});if(!o||o.inside<0)return null;let{doc:i}=t.state,{inside:d}=o,u=i.resolve(d),c=(0,r.Ru)(u,s.KH)[0];if(!c)return null;let f=null===(a=t.dragging)||void 0===a?void 0:null===(l=a.accentImage)||void 0===l?void 0:l.cardId;if(!f)return null;let p=f===c.node.attrs.id,h=u.nodeAfter&&(0,g.pt)(u.nodeAfter);return h&&p?null:(0,m.Bw)(e,f)},v=(e,t)=>{var n;let a=p.y3.getState(e.state);if(null==a?void 0:null===(n=a.draggingData)||void 0===n?void 0:n.removeLayoutFromCardId){let n=a.draggingData.removeLayoutFromCardId;a.draggingData=null;let o=(0,l.N2)(t.doc,e=>(0,s.KH)(e)&&e.attrs.id===n)[0];return!!o&&(0,f.G)(e,t,o.pos,"blank")}return!1},k=(e,t,n)=>{let l=e.posAtCoords({left:t.clientX,top:t.clientY});if(!l||l.inside<0)return null;let{doc:a}=e.state,{inside:o}=l,m=a.resolve(o),f=a.nodeAt(o);if(!f)return null;let[p,...g]=(0,r.Ru)(m,s.KH),h=n&&(0,u.O)(n),b=(0,r.Fu)(o,e),y="cardLayoutItem"===f.type.name;if(!p||!b||!y||g.length>0)return null;let v=p.node.attrs,k="blank"===v.layout?w(t,b):"behind"===v.layout?x(t,b):null;if(!k)return null;if(!h){let e=(0,c.RC)(t).filter(e=>(0,d.fU)(e.type));return 1!==e.length?null:{pos:p.pos,isImageUpload:!0,file:e[0],...k}}return h&&"image"===h.type.name?{pos:p.pos,...k,isImageUpload:!1,background:{type:i.E.IMAGE,source:h.attrs.source,image:h.attrs}}:null},x=(e,t)=>e.clientYt.right-80?{layout:"behind",rect:t}:null,w=(e,t)=>{let n,l=t,a=Math.min(t.height/3,100);if(e.clientXt.right-t.width/4)n="right",l={...t.toJSON(),right:t.right,left:t.right-t.width/3,top:t.top,bottom:t.bottom};else{if(!(e.clientY{var r;let d;try{if(!(d=k(n,o,i)))return!1}catch(e){return console.error("(caught) [handleImageDropCreateAccent] handleDrop checkCreateCardAccentDropTarget error:",e),!1}if(!d||d.isImageUpload||!d.layout)return!1;let u=d.background;t.deleteSelection();let c=t.doc.resolve(t.mapping.map(d.pos)),m=c.nodeAfter&&"card"===c.nodeAfter.type.name?c.pos:null===(r=(0,l.qv)(c,s.KH))||void 0===r?void 0:r.pos;if(!m)return!1;(0,f.G)(e,t,m,d.layout);let{accent:p}=(0,g.wz)(t,m);return!!p&&(t.setNodeAttribute(p.pos,"background",u),t.setSelection(a.qv.create(t.doc,p.pos)),!0)},C=(e,t,n)=>{if(!n.target)return;let l=t.posAtDOM(n.target,0);if(!l||l<0)return;let a=(0,m._O)(e,l),r=t.state.doc.nodeAt(l);if(!r||!(0,g.pt)(r))return;if(r.attrs.background.type===i.E.NONE)return n.preventDefault(),n.stopPropagation(),!0;let s=e.view.domAtPos(l).node;if(s&&n.dataTransfer){let e=s.querySelector("[data-content-reference]");if(e){let t=e.cloneNode(!0);t.style.width="18em",t.style.height="10em",t.style.borderRadius=".375em";let l=document.createElement("div");l.style.position="absolute",l.style.top="-9999px",l.style.left="-9999px",document.body.appendChild(l),l.appendChild(t),n.dataTransfer.clearData(),n.dataTransfer.effectAllowed="move",n.dataTransfer.setData("text/html",t.innerHTML),n.dataTransfer.setData("text/plain",t.textContent||""),n.dataTransfer.setDragImage(t,0,0),setTimeout(()=>{document.body.removeChild(l)},0)}}return(0,o.U)(e,{type:"image",attrs:{...r.attrs.background.image,source:r.attrs.background.source}}),t.dragging.accentImage={cardId:null==a?void 0:a.node.attrs.id},!0}},15468:function(e,t,n){"use strict";n.d(t,{$U:function(){return c},Ap:function(){return w},BA:function(){return y},Fi:function(){return k},Hh:function(){return s},Ux:function(){return b},Vc:function(){return r},eZ:function(){return d},gF:function(){return m},jS:function(){return u},pt:function(){return v},q9:function(){return x},wz:function(){return f}});var l=n(13793),a=n(11093),o=n(96255),i=n(48751);let r=e=>["left","right"].includes(e),s=e=>{let{layout:t,parentCards:n,isMobileDevice:l}=e;return l&&"left"===t?"mobileLeft":l&&"right"===t?"mobileRight":r(t)&&d(n)?"blank":t},d=e=>e.some(e=>r(e.attrs.layout)),u=e=>{let t=c(e),n={};return Object.entries(t.items).forEach(e=>{var t;let[l,a]=e,o=null!==(t=null==a?void 0:a.style)&&void 0!==t?t:{gridArea:l};n['> [data-layout-item-id="'.concat(l,'"]')]=o}),n},c=e=>i.q[null!=e?e:"blank"]||i.q.blank,m=e=>{let t={},n=e.pos,l=e.nodeAfter;return l?l.descendants((e,l)=>{if(!(0,o.pv)(e))return!1;t[e.attrs.itemId]={node:e,pos:n+1+l}}):console.error("[getCardLayoutItems] could not find card node at pos ".concat(n)),t},f=(e,t)=>m(e.doc.resolve(t)),p=(e,t,n)=>{let l=e.doc.resolve(t.pos+1),a=l.blockRange(e.doc.resolve(l.end()));a&&e.wrap(a,[{type:n.nodes.cardLayoutItem}]).setMeta("annotationEvent",{type:"wrap-nodes",start:a.start,end:a.end,level:1})},g=(e,t,n,l)=>{let a=n.nodes.cardLayoutItem.createAndFill({itemId:"body",...l});e.insert(t+1,a)},h=(e,t,n,a)=>{let o=n.nodes.cardAccentLayoutItem.createAndFill({itemId:"accent",background:{type:l.E.NONE},...a});e.insert(t+1,o)},b=(e,t,n,l)=>{let a=e.doc.nodeAt(t),o=f(e,t);if(0===Object.keys(o).length){p(e,{node:a,pos:t},n),l.items.accent&&h(e,t,n);return}l.items.body&&!o.body&&g(e,t,n),l.items.accent&&!o.accent?h(e,t,n):o.accent&&"cardLayoutItem"===o.accent.node.type.name&&y(e,o.accent.pos,o.accent.node,n)},y=(e,t,n,l)=>{e.replaceRangeWith(t,t+n.nodeSize,l.nodes.cardAccentLayoutItem.createAndFill({...n.attrs}))},v=e=>"cardAccentLayoutItem"===e.type.name&&"accent"===e.attrs.itemId,k=e=>"cardLayoutItem"===e.type.name&&"body"===e.attrs.itemId,x=(e,t)=>{if(!t)return 0;let n=t.findIndex(t=>t.accentId===e.accentId);return -1===n||void 0===n?0:(n+1)%t.length},w=e=>{let t=(0,a.sS)(e,v)[0];if(!t)return;let n=t.node.attrs;return n.background}},48751:function(e,t,n){"use strict";n.d(t,{ZQ:function(){return a},q:function(){return o}}),n(87254);let l="24em",a=.625,o={top:{grid:{gridTemplateColumns:"1fr",gridTemplateRows:"minmax(var(--top-accent-height), auto) 1fr",gridTemplateAreas:'"accent" "body"'},items:{accent:{type:"accent"},body:{type:"body"}},numColumns:1,allowResizing:!1,allowFit:!1},mobileLeft:{grid:{gridTemplateColumns:"1fr",gridTemplateRows:["40vh auto"],gridTemplateAreas:'"accent" "body"'},items:{accent:{type:"accent"},body:{type:"body"}},numColumns:1,allowResizing:!1,allowFit:!0},mobileRight:{grid:{gridTemplateColumns:"1fr",gridTemplateRows:["auto 40vh"],gridTemplateAreas:'"body" "accent"'},items:{accent:{type:"accent"},body:{type:"body"}},numColumns:1,allowResizing:!1,allowFit:!0},behind:{grid:{gridTemplateColumns:"1fr",gridTemplateRows:"minmax(var(--behind-accent-height, ".concat(l,"), auto)")},items:{accent:{type:"accent",style:{gridArea:"1 / 1"}},body:{type:"body",style:{gridArea:"1 / 1",zIndex:1}}},numColumns:1,stickyAccent:!0,allowResizing:!1,allowFit:!1},blank:{grid:{gridTemplateColumns:"1fr",gridTemplateRows:"1fr",gridTemplateAreas:'"body"'},items:{body:{type:"body"}},numColumns:1,allowResizing:!1,allowFit:!1},left:{grid:{gridTemplateColumns:"".concat(37.5,"% ").concat(100*a,"%"),gridTemplateRows:"minmax(".concat(l,", auto)"),gridTemplateAreas:'"accent body"'},items:{accent:{type:"accent"},body:{type:"body"}},numColumns:2,stickyAccent:!0,allowResizing:!0,allowFit:!0},right:{grid:{gridTemplateColumns:"".concat(100*a,"% ").concat(37.5,"%"),gridTemplateRows:"minmax(".concat(l,", auto)"),gridTemplateAreas:'"body accent"'},items:{accent:{type:"accent"},body:{type:"body"}},numColumns:2,stickyAccent:!0,allowResizing:!0,allowFit:!0}}},98462:function(e,t,n){"use strict";n.d(t,{$v:function(){return p},Fi:function(){return d},Qp:function(){return c},Yl:function(){return g},cM:function(){return m},uj:function(){return s},vS:function(){return f}});var l=n(27191),a=n(42111),o=n(78374),i=n(74684),r=n(96255);let s=()=>a.VH.get("cardNotes"),d=(e,t)=>{var n;let l=e.state.doc.nodeAt(t);if(!l||(null===(n=l.lastChild)||void 0===n?void 0:n.type.name)==="cardNotes")return;let a=t+l.nodeSize-1,i={type:"cardNotes",content:[{type:"paragraph"}]},s=l.firstChild&&(0,r.pv)(l.firstChild);if(s)e.chain().insertContentAt({from:a,to:a},{type:"cardNotes",content:[{type:"paragraph"}]},{updateSelection:!1}).noUndo().run();else{e.chain().command(n=>{let{tr:l}=n;(0,o.G)(e,l,t,"blank");let r=l.mapping.map(a);return l.insert(r,e.schema.nodeFromJSON(i)),!0}).noUndo().run();return}},u=e=>"cardNotes"===e.type.name,c=e=>null!==e.lastChild&&u(e.lastChild),m=e=>{let t=null,n=e.nodeAfter;return n.descendants((n,l)=>!u(n)||(t={node:n,pos:l+e.pos+1},!1)),t},f=(e,t,n)=>{let a=(0,i.AQ)(e.state.doc,t);if(!a||!a.pos||n&&a.node.attrs.id!==n)return!1;let o=e.state.doc.resolve(a.pos),r=o.pos,s=r+a.node.nodeSize,{selection:d}=e.state,u=d instanceof l.Bs?d.to=r&&u},p=e=>"cardNotes"==e.schema.topNodeType.name,g=e=>{if(0===e.childCount)return!0;let t=!1;e.content.nodesBetween(0,e.content.size,e=>!e.isAtom||!!e.isText||(t=!0,!1));let n=0===e.textContent.trim().length;return n&&!t}},27483:function(e,t,n){"use strict";n.d(t,{$D:function(){return v},xL:function(){return y}});var l=n(27191),a=n(52780),o=n(84698),i=n(94090),r=n(3543),s=n(22569),d=n(11093),u=n(14657),c=n(15468),m=n(74684),f=n(98462);n(93814);var p=n(96255);class g{constructor(e=null){this.dragging=e}}let h=new l.H$("cardPlugin"),b=["card","calloutBox","image","cardLayoutItem","cardAccentLayoutItem","cardNotes","chart"],y=e=>new l.Sy({key:h,state:{init:()=>new g,apply:(e,t)=>t},props:{decorations:e=>{let{doc:t}=e,n=[];return t.descendants((e,l,u,m)=>{if(b.includes(e.type.name)){var g,h,y,v,k;let b=t.resolve(l),x=(0,d.nv)(b,p.KH).map(e=>e.node),w=(0,p.sP)(x,"width"),S=(0,p.KH)(e)?x.length:x.length-1,C=S>0,z=!C&&0===m,A=!C&&m===u.childCount-1,I=!!(e.firstChild&&(0,p.pv)(e.firstChild)),j=(0,c.Ap)(e),F=(null==j?void 0:j.type)==="none",B=null==j?void 0:null===(g=j.mask)||void 0===g?void 0:g.effect,M=(0,s.dF)((0,p.KH)(e)?null===(h=e.attrs.container)||void 0===h?void 0:h.background:null===(v=x[0])||void 0===v?void 0:null===(y=v.attrs.container)||void 0===y?void 0:y.background),E=M?(0,r.DP)(M):void 0,_=(0,o.ws)((0,i.bh)().getState()),O=(0,c.Hh)({layout:e.attrs.layout,parentCards:x,isMobileDevice:_}),P=null!==e.lastChild&&(0,f.Qp)(e),T=P&&!(0,f.Yl)(e.lastChild),R={isCardDecoration:!0,nestedDepth:S,isNested:C,isFirstCard:z,isLastCard:A,hasLayoutItem:I,hasNoAccentBackground:F,cardAccentBackgroundMaskEffect:B,isCardDark:E,cardColorOverride:M,displayLayout:O,insideSideLayout:(0,c.eZ)(x),parentCardId:null===(k=x[0])||void 0===k?void 0:k.attrs.id,inheritContainerWidth:w,hasCardNotesNode:P,hasNonEmptyCardNotes:T};n.push(a.p.node(l,l+e.nodeSize,{},R))}}),n.length>0?a.EH.create(t,n):a.EH.empty},handleDOMEvents:{drop(e){var t;let n=null===(t=e.dragging)||void 0===t?void 0:t.annotations,l=h.getState(e.state);if(!l)return!1;l.dragging=n}},handleDrop:(t,n,l)=>{var a;let o=h.getState(t.state),i=null==o?void 0:o.dragging;o&&(o.dragging=null);let r=(0,m.jz)(t,n,l);if(!r)return!1;let s=l.content.toJSON();if(!s)return!1;let d=(null===(a=s[0])||void 0===a?void 0:a.type)==="card";if(d&&i)return e.commands.rearrangeCards({from:i.origNodePos,to:r.pos,position:"above"});let{selection:c}=t.state,f=!c.empty;try{return e.chain().insertContentAt(r.pos,d?s:{type:"card",content:s},{updateSelection:!1}).command(n=>{let{tr:l}=n;if(f&&l.deleteSelection(),i){let n=(0,u.ei)({view:t,tr:l,cardWrapOffset:d?0:1,dragging:i,dropPos:r.pos});requestAnimationFrame(()=>{var t,l;null===(t=(l=e.commands).moveAnnotations)||void 0===t||t.call(l,n)})}return!0}).focusMapped(r.pos,1).run()}catch(e){return console.error("(caught) [Cardplugin] handleDrop error:",e),!0}}}}),v=e=>{let t=e.find(e=>e.spec.isCardDecoration);return t?t.spec:{isNested:!1,hasLayoutItem:!1,nestedDepth:0,isFirstCard:!1,isCardDecoration:!0,isLastCard:!1,displayLayout:"blank",insideSideLayout:!1,hasNoAccentBackground:!0,hasCardNotesNode:!1,hasNonEmptyCardNotes:!1}}},74684:function(e,t,n){"use strict";n.d(t,{AQ:function(){return h},J9:function(){return g},NE:function(){return w},YS:function(){return v},jz:function(){return k},pE:function(){return b}});var l=n(72338),a=n(27191),o=n(94090),i=n(22265),r=n(35759),s=n(93982),d=n(11093),u=n(60742),c=n(90604),m=n(52332),f=n(93814),p=n(96255);let g=(e,t,n)=>{let a=e=>{let t=(0,p.KH)(e),l="boolean"!=typeof n||(0,m.HD)(e)===n;return t&&l},o=e.state.doc.nodeAt(t),i=e.state.doc.resolve(t);return o&&a(o)?{node:o,pos:t,start:i.start,depth:i.depth}:(0,l.qv)(e.state.doc.resolve(t),a)},h=(e,t)=>{try{let n=(e,t)=>(0,p.KH)(e)&&t===f.k_,l=e.resolve(t),a=e.nodeAt(t);if(a&&n(a,l.depth+1))return{node:a,pos:t};return(0,d.Ci)(l,n)}catch(e){console.error("[findTopCardNodeParent] error",e);return}},b=e=>{let{pos:t,editor:n}=e,l=(0,d.nv)(n.state.doc.resolve(t),p.KH),a=l.map(e=>e.node.attrs.id);(0,m.Nn)(a,!1)},y=async e=>{let{cardId:t,pos:n,editor:l,cardEl:o,isNested:s=!1,origin:d="editor"}=e;if(!o){console.error("[scrollToCard] no cardEl specified");return}(0,m.Nn)(t,!1),b({pos:n,editor:l}),await (0,i.cC)("editor").scrollElementIntoView({element:o,delay:s?f.nY:0}),l.commands.command(e=>{let{tr:t}=e;return t.setSelection(a.Y1.near(l.state.doc.resolve(n))).setMeta(r.C,d),!0})},v=e=>{let{cardId:t,editor:n}=e;if(!t)return;let l=(0,o.bh)(),a=(0,s.gh)(l.getState());if(a===c.q.SLIDE_VIEW){n.commands.spotlightCardById(t);return}let i=document.querySelector('[data-card-id="'.concat(t,'"]'));if(!i)return;let{pos:r}=(0,p.Bw)(n,t)||{};if(!r)return;let d=n.state.doc.resolve(r),u=d.depth>f.k_;y({cardId:t,pos:r,editor:n,cardEl:i,isNested:u})},k=(e,t,n)=>{let l;let a=t.target;if(a.closest(".".concat(f.ar))&&!a.closest("[data-outside-card-body]")||n&&!x(n,e.state.schema))return null;let o=a.closest(".".concat(f.vD));if(!o)return{pos:e.state.doc.content.size-1};let i=o.querySelector(".".concat(f.ar)),r=null==i?void 0:i.getBoundingClientRect();if(!r)return null;let{doc:s}=e.state;try{let t=e.posAtDOM(o,0);if(-1===t)return null;let n=(0,d.nv)(s.resolve(t),p.KH);if(0===n.length)return null;l=n[n.length-1]}catch(e){return console.error("(caught) [checkBetweenCardsDropTarget] error finding parent node:",e),null}let{node:c,pos:m}=l;if(!m||!c)return null;let[g]=(0,u.qs)(i),h=g+r.top,b=g+r.bottom,y=g+t.clientY;return yb?{pos:m+c.nodeSize}:null},x=(e,t)=>t.nodes.card.validContent(e.content),w=(e,t)=>{let n=(0,d.sS)(e,e=>"cardLayoutItem"===e.type.name);return n.length>0?{node:n[0].node,pos:t+n[0].pos+1}:{node:e,pos:t}}},55448:function(e,t,n){"use strict";n.d(t,{L:function(){return s}});var l=n(52322),a=n(32899),o=n(43297),i=n(77533),r=n(94523);let s=e=>{let{isDark:t,templateIcon:n,tooltip:s,label:d,isSelected:u,onClick:c,...m}=e;return(0,l.jsx)(r.kH,{label:s,placement:"top",children:(0,l.jsx)(a.h,{onClick:c,icon:(0,l.jsxs)(o.K,{maxW:"100%",alignItems:"center",children:[n,d&&(0,l.jsx)(i.x,{maxW:"100%",w:"100%",fontSize:"xs",overflow:"hidden",textOverflow:"ellipsis",overflowX:"hidden",whiteSpace:"nowrap",textAlign:"left",children:d})]}),h:"auto",textShadow:"none",variant:"plain",p:2,flex:"1",w:"100%",cursor:"pointer",textAlign:"center",transition:"all 300ms ease",border:"1px solid",bg:t?u?"trueblue.900":"whiteAlpha.50":u?"trueblue.50":"blackAlpha.50",borderRadius:"md",boxShadow:"sm",borderColor:t?u?"trueblue.300":"whiteAlpha.100":u?"trueblue.500":"blackAlpha.100",color:t?u?"trueblue.200":"gray.400":u?"trueblue.500":"gray.500",_hover:{bg:t?u?"whiteAlpha.100":"whiteAlpha.200":u?"trueblue.100":"trueblue.50",borderColor:t?"trueblue.200":u?"trueblue.500":"trueblue.200"},position:"relative","aria-label":s,...m})})}},37351:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});var l=n(87254);let a=()=>[{id:"basic",name:()=>l.ag._({id:"0wJVK+"}),templateIds:["blankCard","titleWith2ColumnImageLeft","titleWith2ColumnImageRight","titleWith2ColumnContent","titleWith2ColumnContentAndHeadings","titleWith3ColumnContent","titleWith3ColumnContentAndHeadings","titleWith4ColumnContent","titleWithBullets","titleWithBulletsAndImage"]},{id:"cardLayouts",name:()=>l.ag._({id:"125H9i"}),templateIds:["accentLeft","accentRight","accentTop","accentRightFit","accentLeftFit","accentBackground"]},{id:"images",name:()=>l.ag._({id:"an5hVd"}),templateIds:["titleWith2ImageColumns","titleWith3ImageColumns","titleWith4ImageColumns","titleWith3ImagesWithText","imageGallery","titleWithTeamPhotos"]},{id:"collections",name:()=>l.ag._({id:"MISW12"}),templateIds:["titleWithTextBoxes","titleWithTimeline","titleWithLargeBulletList","titleWithIconsWithText","titleWithSmallIconsAndText","titleWithArrows"]},{id:"data",name:()=>l.ag._({id:"+60MiA"}),templateIds:["titleWithColumnChart","titleWithBarChart","titleWithLineChart","titleWithPieChart","titleWithDonutChart","titleWithStats","barStatsWithText","titleWithCircleStats","titleWith3RowTable"]},{id:"embeds",name:()=>l.ag._({id:"aTofd0"}),templateIds:["titleWithYouTubeEmbed","titleWithWebpageEmbed"]},{id:"progressiveDisclosure",name:()=>l.ag._({id:"rd7L5e"}),templateIds:["titleWith3NestedCards","titleWith3Toggles"]},{id:"pyramid",name:()=>l.ag._({id:"96Rp0u"}),templateIds:["funnelWithText","steppedPyramidWithText","pyramidWithTitleAndTextOutside","leftSteppedPyramidWithTitleAndTextOutside"]},{id:"calls-to-action",name:()=>l.ag._({id:"gm+qKB"}),templateIds:["titleWithContentAndButton"]},{id:"misc",name:()=>l.ag._({id:"RDie0n"}),templateIds:["titleCard","titleWithGif","titleWithDiagram"]},{id:"cardPlaceholder",name:()=>l.ag._({id:"hx1ePY"}),templateIds:["titleWith2ColumnImageLeft","titleWith2ColumnContent","accentRight","titleWith3ImageColumns"]}],o=["basic","cardLayouts","images","collections","charts","pyramid","data","embeds","progressiveDisclosure","calls-to-action","misc"],i={default:o,insertWidget:o,modal:o,placeholder:["cardPlaceholder"]},r=e=>{let t=i[e];return t.map(e=>a().find(t=>t.id===e)).filter(e=>!!e)}},94297:function(e,t,n){"use strict";n.d(t,{A:function(){return r},V:function(){return s}});var l=n(82655),a=n(37351),o=n(93302);let i={blankCard:"/new"},r=()=>(0,o.en)().reduce((e,t)=>{let{id:n,name:a,jsonContent:o}=t;return e[n]={type:"cardTemplate",key:n,nodeName:"card",name:a,...i[n]&&{shortcut:i[n]},icon:l.emM,execute:e=>{e.commands.insertContentAndSelect(o)}},e},{}),s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=(0,a.M)(e);return t.map(e=>{let{name:t,templateIds:n}=e,l=n.map(e=>r()[e]);return{subcategory:t(),items:l}})}},60421:function(e,t,n){"use strict";n.d(t,{q1:function(){return $},n7:function(){return X}});var l=n(52322),a=n(28535),o=n(2784);let i=function(e,t){var n;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!t||!t.type)return(0,l.jsx)(o.Fragment,{},s);if("text"===t.type)return(0,l.jsx)(o.Fragment,{},"text-".concat(s));let d=e.nodes[t.type];if(!d)return(0,l.jsx)(o.Fragment,{});let u=null===(n=t.content)||void 0===n?void 0:n.map((n,l)=>i(e,n,t,r+1,l));return o.createElement(d.component,{key:"".concat(d.type,"-").concat(s),node:t,depth:r,parent:a,index:s},u)};var r=n(43297),s=n(29117);let d=e=>{let{children:t,orientation:n="vertical",...a}=e,o="vertical"===n?r.K:s.U;return(0,l.jsx)(o,{spacing:"var(--block-spacing)",...a,children:t})},u=e=>(0,l.jsx)(a.xu,{bg:"var(--main-color)",h:"var(--paragraph-height)",w:"100%",borderRadius:"var(--text-border-radius)",...e}),c=e=>{let{style:t="solid",children:n,...a}=e;return(0,l.jsx)(d,{w:"100%",bg:"solid"===t?"var(--main-color)":"transparent",minH:"2em",borderRadius:"var(--box-border-radius)",border:"outline"===t?"var(--border-width) solid var(--main-color)":"none",...a,children:n&&n})};var m=n(38035),f=n(42822),p=n(42946),g=n(49929);let h=e=>{let{iconSize:t="2x",icon:n,...a}=e;return(0,l.jsx)(f.M,{minH:"4em",bg:"var(--box-background-color)",color:"var(--accent-color)",borderRadius:"var(--box-border-radius)",...a,children:n||(0,l.jsx)(g.G,{icon:p.VmB,size:t})})},b={top:{grid:{gridTemplateColumns:"1fr",gridTemplateRows:"auto 1fr",gridTemplateAreas:'"accent" "body"'},items:{accent:{type:"accent"},body:{type:"body"}},allowFit:!1},behind:{grid:{gridTemplateColumns:"1fr",gridTemplateRows:"auto"},items:{accent:{type:"accent",style:{gridArea:"1 / 1"}},body:{type:"body",style:{gridArea:"1 / 1",zIndex:1}}},allowFit:!1},blank:{grid:{gridTemplateColumns:"1fr",gridTemplateRows:"1fr",gridTemplateAreas:'"body"'},items:{body:{type:"body"}},allowFit:!1},left:{grid:{gridTemplateColumns:"".concat(37.5,"% ").concat(62.5,"%"),gridTemplateRows:"auto ",gridTemplateAreas:'"accent body"'},items:{accent:{type:"accent"},body:{type:"body"}},allowFit:!0},right:{grid:{gridTemplateColumns:"".concat(62.5,"% ").concat(37.5,"%"),gridTemplateRows:"auto",gridTemplateAreas:'"body accent"'},items:{accent:{type:"accent"},body:{type:"body"}},allowFit:!0}},y=e=>b[null!=e?e:"blank"]||b.blank,v=e=>{var t;let{node:n}=e;return(null===(t=n.attrs)||void 0===t?void 0:t.itemId)==="accent"?(0,l.jsx)(x,{...e}):(0,l.jsx)(k,{...e})},k=e=>{let{node:t,children:n}=e;return(0,l.jsx)(d,{className:"thumbnail-node-".concat(t.type),spacing:"1em",p:"1em",alignSelf:"center","data-testid":"card-layout-thumbnail",children:n})},x=e=>{var t;let{node:n,parent:a}=e,o=n.attrs,i=null==a?void 0:a.attrs,r=y(null!==(t=null==i?void 0:i.layout)&&void 0!==t?t:"blank"),s=!!((null==o?void 0:o.itemId)&&r.items[o.itemId]);if(!s)return null;let d=r.allowFit&&(null==o?void 0:o.fitType)==="fit";return(0,l.jsx)(m.k,{className:"thumbnail-node-".concat(n.type),children:d?(0,l.jsx)(m.k,{flexDirection:"column",justifyContent:"center",alignItems:"center",bg:"var(--box-background-color)",flex:1,h:"100%",children:(0,l.jsx)(h,{w:"70%",minH:"55%",bg:"var(--main-color)"})}):(0,l.jsx)(h,{w:"100%",h:"auto",borderRadius:"none"})})};var w=n(73200);let S=e=>{var t,n,o,i,r;let{node:s,isCollapsed:d=!1,children:c}=e,f=s.attrs,p=y(null!==(o=null==f?void 0:f.layout)&&void 0!==o?o:"blank"),g=p.items;return(0,l.jsx)(m.k,{className:(0,w.cx)("thumbnail-node-".concat(s.type),d&&"collapsed"),"data-testid":"card-thumbnail",minH:d?"2.5em":"var(--card-template-min-height)",w:d?"100%":"var(--card-template-width)",h:"auto",border:"2px solid",borderColor:"var(--main-color)",borderRadius:"base",flexDirection:"column",overflow:"hidden",children:(0,l.jsxs)(m.k,{flexDirection:"column",fontSize:"".concat(.375,"em"),flex:1,justifyContent:"center",children:[!d&&(0,l.jsx)(a.xu,{display:"grid",flex:1,sx:{...p.grid,...g.body?{"> .thumbnail-node-cardLayoutItem":null!==(i=null===(t=g.body)||void 0===t?void 0:t.style)&&void 0!==i?i:{gridArea:"body"}}:{},...g.accent?{"> .thumbnail-node-cardAccentLayoutItem":null!==(r=null===(n=g.accent)||void 0===n?void 0:n.style)&&void 0!==r?r:{gridArea:"accent"}}:{}},children:c}),d&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(u,{w:"50%",mx:"1em",h:"2em",borderRadius:"calc(var(--text-border-radius) * 2)"})})]})})},C={bar:p.Wpq,pie:p.OS1,line:p.Stf,donut:p.epv,"horizontal-bar":p.AGo};var z=n(69251),A=n(43298),I=n(48902),j=n(20437),F=n(17630);let B=e=>{let t=(0,F.yg)(e);return{"--flex-align":t}},M=e=>({["& .thumbnail-node-paragraph > div:nth-of-type(1n+".concat(e+1,")")]:{display:"none"}});var E=n(72083);let _=e=>{let{children:t,...n}=e;return(0,l.jsx)(a.xu,{boxSize:"var(--bullet-size)",borderRadius:"0.25em",bg:"var(--main-color)",...n,children:t})},O="0.5em";var P=n(54933),T=n(13013);let R={xs:"sm",sm:"sm",md:"lg",lg:"xl",xl:"2x",full:"2x"},N=e=>{var t,n,a,o,i,r,s,u,c;let{node:f,parent:p,children:b}=e,y=B(null!==(u=null==p?void 0:null===(n=p.attrs)||void 0===n?void 0:null===(t=n.options)||void 0===t?void 0:t.horizontalAlign)&&void 0!==u?u:"center"),v=null!==(c=null==p?void 0:null===(o=p.attrs)||void 0===o?void 0:null===(a=o.options)||void 0===a?void 0:a.imageShape)&&void 0!==c?c:"square",k=T.K[v],x=(null==p?void 0:null===(i=p.attrs)||void 0===i?void 0:i.variantKey)==="iconsText",w=(null==p?void 0:null===(s=p.attrs)||void 0===s?void 0:null===(r=s.options)||void 0===r?void 0:r.shapeSize)||"lg",S=M(2);return(0,l.jsxs)(m.k,{className:"thumbnail-node-".concat(f.type),gap:"var(--block-spacing)",flexDirection:"column",children:[x?(0,l.jsx)(h,{minH:"0",icon:(0,l.jsx)(g.G,{icon:P.Tab,size:R[w]||"lg"}),bg:x?"none":void 0}):(0,l.jsx)(h,{minH:"2em",minW:"2em",sx:k}),(0,l.jsx)(d,{css:y,sx:x?void 0:S,children:b})]})},L=e=>{var t;let{node:n,children:a}=e,o=(null===(t=n.attrs)||void 0===t?void 0:t.variantKey)==="iconsText";return(0,l.jsx)(j.M,{rowGap:"1.5em",columnGap:"1.5em",columns:o?4:3,children:a})};var D=n(77533);let W="0.25em",U=e=>{let{node:t}=e;return(0,l.jsx)(m.k,{className:"thumbnail-node-".concat(t.type),bg:"var(--main-color)",h:"1.25em"})},H=e=>{let{isFunnel:t=!1,children:n}=e;return(0,l.jsx)(j.M,{columns:1,autoRows:"1fr",gap:W,pos:"relative",mx:"auto",w:"min(100%, calc((var(--card-template-width) * 0.5) / ".concat(.375,"))"),clipPath:t?"polygon(50% 100%, 0 0, 100% 0)":"polygon(50% 0%, 0% 100%, 100% 100%)",children:n})},G=(e,t)=>Math.floor(33+e*(67/(t-1))),q={bullets:{Cell:e=>{let{node:t,children:n}=e;return(0,l.jsxs)(m.k,{className:"thumbnail-node-".concat(t.type),pos:"relative",align:"flex-start",gap:"1em",flex:"1 1 auto",w:"calc(".concat(50,"% - ").concat("1em",")"),children:[(0,l.jsx)(_,{}),(0,l.jsx)(d,{flex:"1",children:n})]})},Wrapper:e=>{let{children:t}=e;return(0,l.jsx)(m.k,{gap:"1em",wrap:"wrap",children:t})}},timeline:{Cell:e=>{var t,n;let{node:o,parent:i,children:r}=e,s=(null==i?void 0:null===(n=i.attrs)||void 0===n?void 0:null===(t=n.options)||void 0===t?void 0:t.orientation)==="horizontal",u="".concat(2,"em"),c=s?{gridColumn:"span 2",gridRow:3,align:"flex-start",justify:"center",pt:u}:{gridRow:"span 2",gridColumn:3,align:"flex-start",pl:u};return(0,l.jsxs)(m.k,{className:"thumbnail-node-".concat(o.type),pos:"relative",...c,orientation:"horizontal",align:"start",children:[(0,l.jsx)(_,{pos:"absolute",...s?{top:0,transform:"translateY(-50%)"}:{left:0,transform:"translateX(-50%)"},children:(0,l.jsx)(a.xu,{position:"absolute",zIndex:"-1",bg:"var(--main-color)",...s?{height:"".concat(1,"em"),width:"var(--border-width)",left:"50%",top:"100%",transform:"translateX(-50%)"}:{width:"".concat(1,"em"),height:"var(--border-width)",top:"50%",transform:"translateY(-50%)",left:"100%"}})}),(0,l.jsx)(d,{flex:"1",children:r})]})},Wrapper:e=>{var t,n;let{children:o,node:i}=e,r=(null===(n=i.attrs)||void 0===n?void 0:null===(t=n.options)||void 0===t?void 0:t.orientation)==="horizontal",s=r?(0,l.jsx)(a.xu,{gridRow:2,gridColumn:1,children:(0,l.jsx)(a.xu,{position:"absolute",height:"var(--border-width)",width:"100%",left:"0",right:"0",bg:"var(--main-color)"})}):(0,l.jsx)(f.M,{gridColumn:2,gridRow:1,children:(0,l.jsx)(a.xu,{position:"absolute",width:"var(--border-width)",top:"0",bottom:"0",bg:"var(--main-color)"})});return(0,l.jsxs)(z.r,{...r?{templateRows:"auto 0px auto",autoColumns:"1fr",justifyContent:"center",columnGap:"1em",mt:"var(--bullet-size)"}:{templateColumns:"0px 0px 1fr",autoRows:"auto",justifyContent:"center",rowGap:"1em",ml:"var(--bullet-size)"},pos:"relative","data-testid":"timeline-thumbnail",children:[s,o]})}},imagesText:{Cell:N,Wrapper:L},textBoxes:{Cell:e=>{var t,n;let{node:a,parent:o,children:i}=e,r=B((null==o?void 0:null===(n=o.attrs)||void 0===n?void 0:null===(t=n.options)||void 0===t?void 0:t.horizontalAlign)||"center");return(0,l.jsx)(c,{className:"thumbnail-node-".concat(a.type),bg:"var(--box-background-color)",p:"var(--box-padding)",css:r,children:i})},Wrapper:e=>{let{children:t}=e;return(0,l.jsx)(m.k,{gap:"var(--block-spacing)",children:t})}},stats:{Cell:e=>{var t,n,a;let{children:o,node:i,parent:r}=e,s=B((null==r?void 0:null===(n=r.attrs)||void 0===n?void 0:null===(t=n.options)||void 0===t?void 0:t.horizontalAlign)||"center");return(0,l.jsxs)(d,{className:"thumbnail-node-".concat(i.type),align:"center",justify:"start",children:[(0,l.jsx)(D.x,{color:"var(--accent-color)",fontSize:"1.5em",children:(null===(a=i.attrs)||void 0===a?void 0:a.label)||"X%"}),(0,l.jsx)(d,{w:"100%",css:s,children:o})]})},Wrapper:e=>{let{children:t,parent:n}=e,a=(null==n?void 0:n.type)==="gridCell"?1:3;return(0,l.jsx)(j.M,{columns:a,columnGap:"1.5em",rowGap:"1.5em",children:t})}},barStats:{Cell:e=>{var t,n,o;let{node:i,parent:r,children:s}=e,u=(0,E.y7)({label:(null===(t=i.attrs)||void 0===t?void 0:t.label)||null}),c=B((null==r?void 0:null===(o=r.attrs)||void 0===o?void 0:null===(n=o.options)||void 0===n?void 0:n.horizontalAlign)||"center");return(0,l.jsxs)(d,{className:"thumbnail-node-".concat(i.type),align:"center",justify:"start",children:[(0,l.jsxs)(d,{borderRadius:"calc(var(--box-border-radius) / 2)",overflow:"hidden",orientation:"horizontal",flex:1,w:"100%",bg:"var(--main-color)",children:[(0,l.jsx)(a.xu,{w:"100%",bg:"var(--accent-color)",pos:"relative",h:"1.25em",children:(0,l.jsx)(a.xu,{pos:"absolute",inset:0})}),(0,l.jsx)(a.xu,{w:"".concat(100*u,"%"),pos:"relative"})]}),(0,l.jsx)(d,{w:"100%",css:c,children:s})]})},Wrapper:e=>{let{children:t,parent:n}=e,a=(null==n?void 0:n.type)==="gridCell"?1:2;return(0,l.jsx)(j.M,{columns:a,columnGap:"1.5em",rowGap:"1em",children:t})}},staircase:{Cell:e=>{var t,n;let{node:a,parent:o,index:i}=e,r=null!==(n=null==o?void 0:null===(t=o.content)||void 0===t?void 0:t.length)&&void 0!==n?n:1,s=G(i,r);return(0,l.jsx)(m.k,{className:"thumbnail-node-".concat(a.type),borderRadius:"2px",bg:"var(--main-color)",h:"1.25em",w:"".concat(s,"%")})},Wrapper:e=>{var t,n,a;let{node:o,children:i}=e,r=null!==(a=null==o?void 0:null===(n=o.attrs)||void 0===n?void 0:null===(t=n.options)||void 0===t?void 0:t.horizontalAlign)&&void 0!==a?a:"center",s=(0,F.yg)(r);return(0,l.jsx)(d,{align:s,gap:W,mx:"auto",w:"min(100%, calc((var(--card-template-width) * 0.5) / ".concat(.375,"))"),children:i})}},pyramid:{Cell:U,Wrapper:H},funnel:{Cell:e=>(0,l.jsx)(U,{...e}),Wrapper:e=>{let{children:t,...n}=e;return(0,l.jsx)(H,{isFunnel:!0,...n,children:t})}},circleStats:{Cell:e=>{var t,n,o,i;let{node:r,parent:s,children:u}=e,c=(0,F.yg)((null==s?void 0:null===(n=s.attrs)||void 0===n?void 0:null===(t=n.options)||void 0===t?void 0:t.horizontalAlign)||"center"),f=(0,E.y7)({label:null!==(i=null===(o=r.attrs)||void 0===o?void 0:o.label)&&void 0!==i?i:"50"});return(0,l.jsxs)(m.k,{className:"thumbnail-node-".concat(r.type),gap:"var(--block-spacing)",flexDirection:"column",children:[(0,l.jsx)(a.xu,{display:"flex",justifyContent:"center",alignItems:"center",position:"relative",w:"80%",alignSelf:"center",aspectRatio:"1 / 1",_before:{content:'""',position:"absolute",top:"0",left:"0",right:"0",bottom:"0",borderRadius:"50%",background:"conic-gradient(var(--accent-color) ".concat(100*f,"%, var(--main-color) 0 ").concat((100-f)*100,"%)"),zIndex:1},_after:{content:'""',position:"absolute",top:O,left:O,right:O,bottom:O,background:"var(--card-background)",borderRadius:"50%",zIndex:2},children:(0,l.jsx)(a.xu,{zIndex:"100",bg:"var(--main-color)",h:"0.5em",pos:"absolute",borderRadius:"var(--text-border-radius)",w:"40%"})}),(0,l.jsx)(d,{css:c,children:u})]})},Wrapper:e=>{let{children:t}=e;return(0,l.jsx)(j.M,{gap:"1.5em",columns:3,children:t})}},arrows:{Cell:e=>{var t,n,o,i;let{node:r,parent:s,children:u}=e,c=B((null==s?void 0:null===(n=s.attrs)||void 0===n?void 0:null===(t=n.options)||void 0===t?void 0:t.horizontalAlign)||"left"),f=(null==s?void 0:null===(i=s.attrs)||void 0===i?void 0:null===(o=i.options)||void 0===o?void 0:o.orientation)==="vertical";return(0,l.jsxs)(m.k,{className:"thumbnail-node-".concat(r.type),gap:"var(--block-spacing)",flexDirection:f?"row":"column",children:[(0,l.jsx)(a.xu,{width:f?"1.5em":"100%",height:f?"100%":"1.25em",bg:"var(--accent-color)",clipPath:f?"polygon(50% 10%, 100% 0, 100% 90%, 50% 100%, 0 90%, 0% 0%)":"polygon(90% 0, 100% 50%, 90% 100%, 0% 100%, 10% 50%, 0% 0%)"}),(0,l.jsx)(d,{flex:1,css:c,p:"0.5em",px:f?0:"0.5em",pt:f?void 0:0,children:u})]})},Wrapper:e=>{var t,n;let{node:a,children:o}=e,i=(null===(n=a.attrs)||void 0===n?void 0:null===(t=n.options)||void 0===t?void 0:t.orientation)==="vertical";return(0,l.jsx)(j.M,{columns:i?1:3,rowGap:i?void 0:"1.5em",children:o})}},iconsText:{Cell:N,Wrapper:L}},V=e=>{let{children:t}=e;return(0,l.jsx)(c,{p:"var(--box-padding)",bg:"var(--box-background-color)",w:"100%",children:t})},K=e=>{let{children:t}=e;return(0,l.jsx)(c,{p:"var(--box-padding)",bg:"var(--box-background-color)",w:"100%",children:t})},Y={nodes:{card:{type:"card",component:e=>{let{depth:t,...n}=e;return t>2?(0,l.jsx)(l.Fragment,{}):t>1?(0,l.jsx)(S,{...n,isCollapsed:!0}):(0,l.jsx)(S,{...n})}},cardLayoutItem:{type:"cardLayoutItem",component:v},cardAccentLayoutItem:{type:"cardAccentLayoutItem",component:v},title:{type:"title",component:e=>{let{node:t}=e;return(0,l.jsx)(a.xu,{className:"thumbnail-node-".concat(t.type),w:"50%",bg:"var(--main-color)",h:"".concat((0,A.hx)("title").size/2,"em"),borderRadius:"var(--text-border-radius)"})}},paragraph:{type:"paragraph",component:e=>{let{node:t}=e;return(0,l.jsxs)(r.K,{className:"thumbnail-node-".concat(t.type),"data-testid":"paragraph-thumbnail",spacing:"var(--line-spacing)",align:"var(--flex-align)",children:[(0,l.jsx)(u,{}),(0,l.jsx)(u,{}),(0,l.jsx)(u,{w:"85%"})]})}},heading:{type:"heading",component:e=>{var t;let{node:n}=e;return(0,l.jsx)(a.xu,{className:"thumbnail-node-".concat(n.type),"data-testid":"heading-thumbnail",bg:"var(--main-color)",h:"".concat((0,A.hx)((0,A.K1)(null===(t=n.attrs)||void 0===t?void 0:t.level)).size/2,"em"),borderRadius:"var(--text-border-radius)"})}},bullet:{type:"bullet",component:e=>{let{node:t}=e;return(0,l.jsxs)(d,{className:"thumbnail-node-".concat(t.type),orientation:"horizontal",align:"start",pl:"0.5em",color:"var(--main-color)",children:[(0,l.jsx)(a.Cd,{size:"var(--block-spacing)",bg:"var(--main-color)"}),(0,l.jsx)(d,{orientation:"horizontal",flex:"1",children:(0,l.jsx)(u,{w:"75%"})})]})}},gridLayout:{type:"gridLayout",component:e=>{var t,n;let{node:a,children:o}=e;return(0,l.jsx)(z.r,{className:"thumbnail-node-".concat(a.type),templateColumns:"repeat(".concat((null===(n=a.attrs)||void 0===n?void 0:null===(t=n.colWidths)||void 0===t?void 0:t.length)||2,", 1fr)"),gap:"var(--block-spacing)",children:o})}},gridCell:{type:"gridCell",component:e=>{var t;let{node:n,children:a}=e,o=null===(t=n.attrs)||void 0===t?void 0:t.verticalAlign;return(0,l.jsx)(d,{className:"thumbnail-node-".concat(n.type),justifyContent:o,flex:1,children:a})}},image:{type:"image",component:e=>{let{node:t}=e;return(0,l.jsx)(h,{className:"thumbnail-node-".concat(t.type)})}},mediaPlaceholder:{type:"mediaPlaceholder",component:e=>{var t;let{node:n}=e,a=n.attrs,o=null==a?void 0:a.source,i=o&&(null===(t=I.zX[o])||void 0===t?void 0:t.icon)||null;return(0,l.jsx)(h,{className:"thumbnail-node-".concat(n.type),icon:i?(0,l.jsx)(g.G,{icon:i,size:"2x"}):void 0})}},buttonGroup:{type:"buttonGroup",component:e=>{let{node:t,children:n}=e;return(0,l.jsx)(d,{className:"thumbnail-node-".concat(t.type),orientation:"horizontal",children:n})}},button:{type:"button",component:e=>{var t;let{node:n}=e,a=(null===(t=n.attrs)||void 0===t?void 0:t.variant)||"solid";return(0,l.jsx)(c,{className:"thumbnail-node-".concat(n.type),minH:"1.5em",w:"25%",style:a})}},gallery:{type:"gallery",component:e=>{let{node:t}=e;return(0,l.jsxs)(c,{className:"thumbnail-node-".concat(t.type),display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",bg:"var(--box-background-color)",p:"0.5em",children:[(0,l.jsx)(h,{flex:2,minH:"3.5em",bg:"var(--main-color)",iconSize:"xl"}),(0,l.jsx)(h,{flex:1,minH:"3.5em",bg:"var(--main-color)",iconSize:"xl"}),(0,l.jsx)(h,{flex:2,minH:"3.5em",bg:"var(--main-color)",iconSize:"xl"})]})}},toggle:{type:"toggle",component:e=>{let{node:t,children:n}=e;return(0,l.jsx)(a.xu,{className:"thumbnail-node-".concat(t.type),pl:"0.5em","data-open":"false",sx:{'&[data-open="false"]':{"> :not(:first-of-type)":{display:"none"}}},children:n})}},toggleSummary:{type:"toggleSummary",component:e=>{let{node:t}=e;return(0,l.jsxs)(d,{className:"thumbnail-node-".concat(t.type),orientation:"horizontal",color:"var(--main-color)",maxH:"1em",children:[(0,l.jsx)(g.G,{icon:P.I4f,size:"xl"}),(0,l.jsx)(u,{w:"75%"})]})}},smartLayout:{type:"smartLayout",component:e=>{var t,n;let{node:a,children:o,...i}=e,r=K;if(null===(t=a.attrs)||void 0===t?void 0:t.variantKey){let e=null===(n=q[a.attrs.variantKey])||void 0===n?void 0:n.Wrapper;e&&(r=e)}return(0,l.jsx)(z.r,{className:"thumbnail-node-".concat(a.type),gridTemplateColumns:"100%",children:(0,l.jsx)(r,{node:a,...i,children:o})})}},smartLayoutCell:{type:"smartLayoutCell",component:e=>{var t,n;let{children:a,parent:o,...i}=e,r=V;if(o&&(null===(t=o.attrs)||void 0===t?void 0:t.variantKey)){let e=null===(n=q[o.attrs.variantKey])||void 0===n?void 0:n.Cell;e&&(r=e)}return(0,l.jsx)(r,{parent:o,...i,children:a})}},diagram:{type:"diagram",component:e=>{let{node:t}=e;return(0,l.jsx)(h,{className:"thumbnail-node-".concat(t.type),icon:(0,l.jsx)(g.G,{icon:p.Kak,size:"2x"})})}},chart:{type:"chart",component:e=>{var t;let{node:n}=e;return(0,l.jsx)(h,{className:"thumbnail-node-".concat(n.type),icon:(0,l.jsx)(g.G,{icon:C[(null===(t=n.attrs)||void 0===t?void 0:t.chartType)||"bar"],size:"2x"})})}},table:{type:"table",component:e=>{let{node:t,children:n}=e;return(0,l.jsx)(a.xu,{flex:1,className:"thumbnail-node-".concat(t.type),bg:"var(--box-background-color)",borderRadius:"var(--text-border-radius)",p:"0.25em",children:(0,l.jsx)(a.xu,{border:"1px solid var(--main-color)",borderRadius:"var(--text-border-radius)",children:n})})}},tableRow:{type:"tableRow",component:e=>{let{node:t,children:n}=e;return(0,l.jsx)(m.k,{className:"thumbnail-node-".concat(t.type),borderBottom:"1px solid var(--main-color)",sx:{"&:last-of-type ":{borderBottom:"none"}},children:n})}},tableCell:{type:"tableCell",component:e=>{let{node:t}=e;return(0,l.jsx)(a.xu,{flex:1,className:"thumbnail-node-".concat(t.type),height:"1em",borderRight:"1px solid var(--main-color)",sx:{"&:last-of-type":{borderRight:"none"}}})}}}},$={md:"6em",lg:"8em"},J={md:"4em",lg:"5em"},X=e=>{let{content:t,isDark:n,size:o="md",...r}=e;return(0,l.jsx)(a.xu,{css:{"--box-background-color":n?"var(--chakra-colors-gray-600)":"var(--chakra-colors-gray-100)","--main-color":n?"var(--chakra-colors-gray-500)":"var(--chakra-colors-gray-200)","--accent-color":n?"var(--chakra-colors-gray-300)":"var(--chakra-colors-gray-400)","--box-border-radius":"0.5em","--box-padding":"0.75em","--text-border-radius":"0.25em","--block-spacing":"0.75em","--bullet-size":"1em","--line-spacing":"calc(1 / 3 * 1em)","--paragraph-height":"0.5em","--border-width":"0.25em","--card-template-width":$[o],"--card-template-min-height":J[o],"--card-background":n?"var(--chakra-colors-gray-700)":"white"},bg:"var(--card-background)",h:"auto",...r,children:i(Y,t)})}},93302:function(e,t,n){"use strict";n.d(t,{BC:function(){return d},ON:function(){return u},en:function(){return s},pA:function(){return c},wP:function(){return r}});var l=n(87254),a=n(19585),o=n(37351),i=n(97724);let r=()=>{let e=()=>l.ag._({id:"6MDj8K"});return{blankCard:{id:"blankCard",createdBy:null,name:()=>l.ag._({id:"UQOvxZ"}),description:()=>l.ag._({id:"V7lf6B"}),jsonContent:i.i.card([i.i.heading()]),keywords:["blank"]},titleWithBullets:{id:"titleWithBullets",name:()=>l.ag._({id:"jzSy62"}),createdBy:null,description:()=>l.ag._({id:"605WM6"}),jsonContent:i.i.card([i.i.heading(),i.i.bullet(),i.i.bullet(),i.i.bullet(),i.i.bullet()]),keywords:["heading","bullets"]},titleWithBulletsAndImage:{id:"titleWithBulletsAndImage",name:()=>l.ag._({id:"ciw/iY"}),createdBy:null,description:()=>l.ag._({id:"kTU/Ne"}),jsonContent:i.i.card([i.i.heading(),i.i.columns([[i.i.bullet(),i.i.bullet(),i.i.bullet(),i.i.bullet()],[i.i.mediaPlaceholder()]])]),keywords:["heading","bullets"]},titleWith2ColumnContent:{id:"titleWith2ColumnContent",createdBy:null,name:()=>l.ag._({id:"uVQ8y8"}),description:()=>l.ag._({id:"pRDCBH"}),jsonContent:i.i.card([i.i.heading(),i.i.columns([[i.i.paragraph(e())],[i.i.paragraph(e())]])]),keywords:["title","2 column","split","paragraph"]},titleWith2ColumnContentAndHeadings:{id:"titleWith2ColumnContentAndHeadings",createdBy:null,name:()=>l.ag._({id:"/ESRO3"}),description:()=>l.ag._({id:"acTyiC"}),jsonContent:i.i.card([i.i.heading(),i.i.columns([[i.i.h3(),i.i.paragraph(e())],[i.i.h3(),i.i.paragraph(e())]])]),keywords:["title","2 column","split","paragraph"]},titleWith3ColumnContent:{id:"titleWith3ColumnContent",createdBy:null,name:()=>l.ag._({id:"YmAqYT"}),description:()=>l.ag._({id:"od0FQb"}),jsonContent:i.i.card([i.i.heading(),i.i.columns([[i.i.paragraph(e())],[i.i.paragraph(e())],[i.i.paragraph(e())]])]),keywords:["heading","3 column","paragraph"]},titleWith3ColumnContentAndHeadings:{id:"titleWith3ColumnContentAndHeadings",createdBy:null,name:()=>l.ag._({id:"3tQQ39"}),description:()=>l.ag._({id:"Yno39F"}),jsonContent:i.i.card([i.i.heading(),i.i.columns([[i.i.h4(),i.i.paragraph(e())],[i.i.h4(),i.i.paragraph(e())],[i.i.h4(),i.i.paragraph(e())]])]),keywords:["heading","3 column","paragraph"]},titleWith4ColumnContent:{id:"titleWith4ColumnContent",createdBy:null,name:()=>l.ag._({id:"+a/yD6"}),description:()=>l.ag._({id:"h5ySm8"}),jsonContent:i.i.card([i.i.heading(),i.i.columns([[i.i.paragraph(e())],[i.i.paragraph(e())],[i.i.paragraph(e())],[i.i.paragraph(e())]])]),keywords:["heading","4 column","paragraph"]},titleWith2ColumnImageLeft:{id:"titleWith2ColumnImageLeft",createdBy:null,name:()=>l.ag._({id:"6edF/U"}),description:()=>l.ag._({id:"SzGG7G"}),jsonContent:i.i.card([i.i.columns([[i.i.mediaPlaceholder()],[i.i.heading(),i.i.paragraph(e())]],{cellAttrs:{verticalAlign:"center"}})]),keywords:["title","2 column","image","left"]},titleWith2ColumnImageRight:{id:"titleWith2ColumnImageRight",createdBy:null,name:()=>l.ag._({id:"afp0nb"}),description:()=>l.ag._({id:"M7cuHB"}),jsonContent:i.i.card([i.i.columns([[i.i.heading(),i.i.paragraph(e())],[i.i.mediaPlaceholder()]],{cellAttrs:{verticalAlign:"center"}})]),keywords:["title","2 column","image","right"]},titleWith2ImageColumns:{id:"titleWith2ImageColumns",createdBy:null,name:()=>l.ag._({id:"oVMU3f"}),description:()=>l.ag._({id:"sqVSP2"}),jsonContent:i.i.card([i.i.heading(),i.i.columns([[i.i.mediaPlaceholder(),i.i.h3(),i.i.paragraph(e())],[i.i.mediaPlaceholder(),i.i.h3(),i.i.paragraph(e())]])]),keywords:["heading","2 column","image"]},titleWith3ImageColumns:{id:"titleWith3ImageColumns",createdBy:null,name:()=>l.ag._({id:"ZjjVJt"}),description:()=>l.ag._({id:"kmtZuD"}),jsonContent:i.i.card([i.i.heading(),i.i.columns([[i.i.mediaPlaceholder(),i.i.h4(),i.i.paragraph(e())],[i.i.mediaPlaceholder(),i.i.h4(),i.i.paragraph(e())],[i.i.mediaPlaceholder(),i.i.h4(),i.i.paragraph(e())]])]),keywords:["heading","3 column","paragraph","image"]},titleWith4ImageColumns:{id:"titleWith4ImageColumns",createdBy:null,name:()=>l.ag._({id:"Re1S+b"}),description:()=>l.ag._({id:"+x8oem"}),jsonContent:i.i.card([i.i.heading(),i.i.columns([[i.i.mediaPlaceholder(),i.i.h4(),i.i.paragraph(e())],[i.i.mediaPlaceholder(),i.i.h4(),i.i.paragraph(e())],[i.i.mediaPlaceholder(),i.i.h4(),i.i.paragraph(e())],[i.i.mediaPlaceholder(),i.i.h4(),i.i.paragraph(e())]])]),keywords:["heading","4 column","image"]},titleWith3ImagesWithText:{id:"titleWith3ImagesWithText",createdBy:null,name:()=>l.ag._({id:"cDxTeG"}),description:()=>l.ag._({id:"rwJuIz"}),jsonContent:i.i.card([i.i.heading(),i.i.smartLayout("imagesText",[i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())])],{options:{cellSize:10,shapeSize:"full",horizontalAlign:"left",imageShape:"square"}})]),keywords:["heading","image","layout"]},imageGallery:{id:"imageGallery",createdBy:null,name:()=>l.ag._({id:"Oho0T7"}),description:()=>l.ag._({id:"H87HG1"}),jsonContent:i.i.card([i.i.heading(),i.i.gallery([i.i.mediaPlaceholder({source:"image.custom"}),i.i.mediaPlaceholder({source:"image.custom"}),i.i.mediaPlaceholder({source:"image.custom"})])]),keywords:["heading","gallery","image"]},titleWithTeamPhotos:{id:"titleWithTeamPhotos",createdBy:null,name:()=>l.ag._({id:"+kQMBP"}),description:()=>l.ag._({id:"tt2nIz"}),jsonContent:i.i.card([i.i.heading(),i.i.smartLayout("imagesText",[i.i.smartLayoutCell([i.i.h3(l.ag._({id:"6YtxFj"})),i.i.paragraph(l.ag._({id:"GDvlUT"})),i.i.paragraph(l.ag._({id:"Nu4oKW"}),{fontSize:"sm"})]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"6YtxFj"})),i.i.paragraph(l.ag._({id:"GDvlUT"})),i.i.paragraph(l.ag._({id:"Nu4oKW"}),{fontSize:"sm"})]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"6YtxFj"})),i.i.paragraph(l.ag._({id:"GDvlUT"})),i.i.paragraph(l.ag._({id:"Nu4oKW"}),{fontSize:"sm"})])],{options:{cellSize:10,shapeSize:"full",horizontalAlign:"center",imageShape:"circle"}})]),keywords:["heading","image","team"]},accentRight:{id:"accentRight",createdBy:null,name:()=>l.ag._({id:"Czo70+"}),description:()=>l.ag._({id:"x5nYRE"}),jsonContent:i.i.card([i.i.heading(),i.i.paragraph(e())],{layout:"right"}),keywords:["accent"]},accentRightFit:{id:"accentRightFit",createdBy:null,name:()=>l.ag._({id:"1BvkHE"}),description:()=>l.ag._({id:"oItvxV"}),jsonContent:i.i.card([i.i.heading(),i.i.paragraph(e())],{layout:"right"},{fitType:"fit"}),keywords:["accent"]},accentLeft:{id:"accentLeft",createdBy:null,name:()=>l.ag._({id:"5HMSY5"}),description:()=>l.ag._({id:"c/I4N2"}),jsonContent:i.i.card([i.i.heading(),i.i.paragraph(e())],{layout:"left"}),keywords:["accent"]},accentLeftFit:{id:"accentLeftFit",createdBy:null,name:()=>l.ag._({id:"bGTdlK"}),description:()=>l.ag._({id:"r4fLNa"}),jsonContent:i.i.card([i.i.heading(),i.i.paragraph(e())],{layout:"left"},{fitType:"fit"}),keywords:["accent"]},accentTop:{id:"accentTop",createdBy:null,name:()=>l.ag._({id:"BUdX7X"}),description:()=>l.ag._({id:"QuKih6"}),jsonContent:i.i.card([i.i.heading(),i.i.paragraph(e())],{layout:"top"}),keywords:["accent"]},accentBackground:{id:"accentBackground",createdBy:null,name:()=>l.ag._({id:"CDFCZ5"}),description:()=>l.ag._({id:"uFWjQ5"}),jsonContent:i.i.card([i.i.heading(),i.i.paragraph(e())],{layout:"behind"}),keywords:["accent"]},titleWith3NestedCards:{id:"titleWith3NestedCards",createdBy:null,name:()=>l.ag._({id:"ORoO1f"}),description:()=>l.ag._({id:"J89hiV"}),jsonContent:i.i.card([i.i.heading(),i.i.card([i.i.heading(),i.i.paragraph()]),i.i.card([i.i.heading(),i.i.paragraph()]),i.i.card([i.i.heading(),i.i.paragraph()])]),keywords:["heading","nested","card"]},titleWith3Toggles:{id:"titleWith3Toggles",createdBy:null,name:()=>l.ag._({id:"Sf3ASu"}),description:()=>l.ag._({id:"58JI2k"}),jsonContent:i.i.card([i.i.heading(),i.i.toggle([i.i.paragraph(e())]),i.i.toggle([i.i.paragraph(e())]),i.i.toggle([i.i.paragraph(e())])]),keywords:["heading","toggle"]},titleWithTimeline:{id:"titleWithTimeline",createdBy:null,name:()=>l.ag._({id:"cklVjM"}),description:()=>l.ag._({id:"Wdyt2J"}),jsonContent:i.i.card([i.i.heading(),i.i.smartLayout("timeline",[i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())])],{options:{orientation:"vertical",twoSided:!1}})]),keywords:["heading","timeline"]},titleWithLargeBulletList:{id:"titleWithLargeBulletList",createdBy:null,name:()=>l.ag._({id:"F5uDGO"}),description:()=>l.ag._({id:"g1FTqD"}),jsonContent:i.i.card([i.i.heading(),i.i.smartLayout("bullets",[i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())])],{options:{cellSize:20}})]),keywords:["heading","bullet","list"]},titleWithIconsWithText:{id:"titleWithIconsWithText",createdBy:null,name:()=>l.ag._({id:"joUkNe"}),description:()=>l.ag._({id:"DHZYRd"}),jsonContent:i.i.card([i.i.heading(),i.i.smartLayout("iconsText",[i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())])],{options:{cellSize:10,shapeSize:"md",horizontalAlign:"center"}})]),keywords:["heading","icons"]},titleWithSmallIconsAndText:{id:"titleWithSmallIconsAndText",createdBy:null,name:()=>l.ag._({id:"AhHG+7"}),description:()=>l.ag._({id:"L8/5yN"}),jsonContent:i.i.card([i.i.heading(),i.i.smartLayout("iconsText",[i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())])],{options:{cellSize:10,shapeSize:"sm",horizontalAlign:"left"}})]),keywords:["heading","icons"]},titleWithTextBoxes:{id:"titleWithTextBoxes",createdBy:null,name:()=>l.ag._({id:"b7qbjN"}),description:()=>l.ag._({id:"Cg0xBG"}),jsonContent:i.i.card([i.i.heading(),i.i.smartLayout("textBoxes",[i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())])],{options:{cellSize:15}})]),keywords:["heading","boxes"]},titleWithArrows:{id:"titleWithArrows",createdBy:null,name:()=>l.ag._({id:"YUGjgn"}),description:()=>l.ag._({id:"SnGUtD"}),jsonContent:i.i.card([i.i.heading(),i.i.smartLayout("arrows",[i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())]),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())])],{options:{cellSize:10}})]),keywords:["arrows","process","sequence","flow"]},titleWithColumnChart:{id:"titleWithColumnChart",createdBy:null,name:()=>l.ag._({id:"kaIve5"}),description:()=>l.ag._({id:"EE/H36"}),jsonContent:i.i.card([i.i.heading(),i.i.columnChart()]),keywords:["heading","chart","column chart"],featureFlag:"enableCharts"},titleWithBarChart:{id:"titleWithBarChart",createdBy:null,name:()=>l.ag._({id:"JXpNuP"}),description:()=>l.ag._({id:"2s/J1+"}),jsonContent:i.i.card([i.i.heading(),i.i.barChart()]),keywords:["heading","chart","bar chart"],featureFlag:"enableCharts"},titleWithLineChart:{id:"titleWithLineChart",createdBy:null,name:()=>l.ag._({id:"Kt/Lzz"}),description:()=>l.ag._({id:"eRabUB"}),jsonContent:i.i.card([i.i.heading(),i.i.lineChart()]),keywords:["heading","chart","line chart"],featureFlag:"enableCharts"},titleWithPieChart:{id:"titleWithPieChart",createdBy:null,name:()=>l.ag._({id:"5+y+OQ"}),description:()=>l.ag._({id:"zIzb1A"}),jsonContent:i.i.card([i.i.heading(),i.i.pieChart()]),keywords:["heading","chart","pie chart"],featureFlag:"enableCharts"},titleWithDonutChart:{id:"titleWithDonutChart",createdBy:null,name:()=>l.ag._({id:"DNipMm"}),description:()=>l.ag._({id:"MWtClR"}),jsonContent:i.i.card([i.i.heading(),i.i.donutChart()]),keywords:["heading","chart","donut chart"],featureFlag:"enableCharts"},titleWithStats:{id:"titleWithStats",createdBy:null,name:()=>l.ag._({id:"w0arAq"}),description:()=>l.ag._({id:"YEhR/1"}),jsonContent:i.i.card([i.i.heading(),i.i.smartLayout("stats",[i.i.smartLayoutCell([i.i.h3(l.ag._({id:"nH8BJ4"})),i.i.paragraph(e())],{label:"25%"}),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"nH8BJ4"})),i.i.paragraph(e())],{label:"3/4"}),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"nH8BJ4"})),i.i.paragraph(e())],{label:"50"})],{options:{cellSize:15,shapeSize:"lg"}})]),keywords:["heading","stats"]},barStatsWithText:{id:"barStatsWithText",createdBy:null,name:()=>l.ag._({id:"LYRXtx"}),description:()=>l.ag._({id:"DgfiYp"}),jsonContent:i.i.card([i.i.heading(),i.i.smartLayout("barStats",[i.i.smartLayoutCell([i.i.h3(l.ag._({id:"nH8BJ4"})),i.i.paragraph(e())],{label:"25%"}),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"nH8BJ4"})),i.i.paragraph(e())],{label:"3/4"})],{options:{cellSize:20}})]),keywords:["heading","stats"]},titleWithCircleStats:{id:"titleWithCircleStats",createdBy:null,name:()=>l.ag._({id:"mvpFPS"}),description:()=>l.ag._({id:"9AzsRa"}),jsonContent:i.i.card([i.i.heading(),i.i.smartLayout("circleStats",[i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())],{label:"25%"}),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())],{label:"1/3"}),i.i.smartLayoutCell([i.i.h3(l.ag._({id:"HX5SVx"})),i.i.paragraph(e())],{label:"75"})],{options:{cellSize:10,horizontalAlign:"center"}})]),keywords:["arrows","process","sequence","flow"]},titleWith3RowTable:{id:"titleWith3RowTable",createdBy:null,name:()=>l.ag._({id:"aDo58o"}),description:()=>l.ag._({id:"2ZoOCu"}),jsonContent:i.i.card([i.i.heading(),i.i.table([i.i.tableRow([i.i.tableCell([i.i.paragraph()]),i.i.tableCell([i.i.paragraph()]),i.i.tableCell([i.i.paragraph()])]),i.i.tableRow([i.i.tableCell([i.i.paragraph()]),i.i.tableCell([i.i.paragraph()]),i.i.tableCell([i.i.paragraph()])]),i.i.tableRow([i.i.tableCell([i.i.paragraph()]),i.i.tableCell([i.i.paragraph()]),i.i.tableCell([i.i.paragraph()])])])]),keywords:["heading","table"]},funnelWithText:{id:"funnelWithText",createdBy:null,name:()=>l.ag._({id:"ETqzyH"}),description:()=>l.ag._({id:"GxaYRj"}),jsonContent:i.i.card([i.i.heading(),i.i.columns([[i.i.smartLayout("funnel",[i.i.smartLayoutCell([i.i.h3()]),i.i.smartLayoutCell([i.i.h3()]),i.i.smartLayoutCell([i.i.h3()]),i.i.smartLayoutCell([i.i.h3()])],{options:{numbered:!0,outsideText:!1}})],[i.i.h2(),i.i.paragraph(e())]],{cellAttrs:{verticalAlign:"center"}})]),keywords:["heading","funnel"]},steppedPyramidWithText:{id:"steppedPyramidWithText",createdBy:null,name:()=>l.ag._({id:"6xmZsQ"}),description:()=>l.ag._({id:"GqW7Xg"}),jsonContent:i.i.card([i.i.heading(),i.i.columns([[i.i.smartLayout("staircase",[i.i.smartLayoutCell([i.i.h3()]),i.i.smartLayoutCell([i.i.h3()]),i.i.smartLayoutCell([i.i.h3()]),i.i.smartLayoutCell([i.i.h3()])],{options:{outsideText:!1,horizontalAlign:"center"}})],[i.i.h2(),i.i.paragraph(e())]],{cellAttrs:{verticalAlign:"center"}})]),keywords:["heading","pyramid","stepped","staircase"]},leftSteppedPyramidWithTitleAndTextOutside:{id:"leftSteppedPyramidWithTitleAndTextOutside",createdBy:null,name:()=>l.ag._({id:"6j13ZR"}),description:()=>l.ag._({id:"JGF7vo"}),jsonContent:i.i.card([i.i.heading(),i.i.smartLayout("staircase",[i.i.smartLayoutCell([i.i.h3()]),i.i.smartLayoutCell([i.i.h3()]),i.i.smartLayoutCell([i.i.h3()])],{options:{outsideText:!1,horizontalAlign:"left"}})]),keywords:["heading","pyramid","stepped","staircase"]},pyramidWithTitleAndTextOutside:{id:"pyramidWithTitleAndTextOutside",createdBy:null,name:()=>l.ag._({id:"l1mM+L"}),description:()=>l.ag._({id:"L0QPEt"}),jsonContent:i.i.card([i.i.heading(),i.i.smartLayout("pyramid",[i.i.smartLayoutCell([i.i.h3()]),i.i.smartLayoutCell([i.i.h3()]),i.i.smartLayoutCell([i.i.h3()])],{options:{numbered:!0,outsideText:!0}})]),keywords:["heading","pyramid"]},titleWithContentAndButton:{id:"titleWithContentAndButton",name:()=>l.ag._({id:"FJJPAA"}),createdBy:null,description:()=>l.ag._({id:"itiMvE"}),jsonContent:i.i.card([i.i.heading(),i.i.paragraph(e()),i.i.buttons([i.i.button(l.ag._({id:"uWe4QF"}),{variant:"solid"}),i.i.button(l.ag._({id:"zwWKhA"}),{variant:"outline"})])]),keywords:["button","heading","paragraph"]},titleWithYouTubeEmbed:{id:"titleWithYouTubeEmbed",createdBy:null,name:()=>l.ag._({id:"D1Tqqj"}),description:()=>l.ag._({id:"s0st+i"}),jsonContent:i.i.card([i.i.heading(),i.i.mediaPlaceholder({source:"video.youtube"})]),keywords:["heading","embed","video"]},titleWithWebpageEmbed:{id:"titleWithWebpageEmbed",createdBy:null,name:()=>l.ag._({id:"8FOKyw"}),description:()=>l.ag._({id:"0ngLOJ"}),jsonContent:i.i.card([i.i.heading(),i.i.mediaPlaceholder({source:"embed.custom"})]),keywords:["heading","embed","webpage"]},titleCard:{id:"titleCard",createdBy:null,name:()=>l.ag._({id:"5U/oBM"}),description:()=>l.ag._({id:"rYur7N"}),jsonContent:i.i.card([i.i.title(),i.i.h2()]),keywords:["title"]},titleWithGif:{id:"titleWithGif",createdBy:null,name:()=>l.ag._({id:"wRkP2d"}),description:()=>l.ag._({id:"kHFDdm"}),jsonContent:i.i.card([i.i.heading(),i.i.mediaPlaceholder({source:"image.giphy"})]),keywords:["heading","embed","webpage"]},titleWithDiagram:{id:"titleWithDiagram",createdBy:null,name:()=>l.ag._({id:"i+ShMB"}),description:()=>l.ag._({id:"6i4/hD"}),jsonContent:i.i.card([i.i.heading(),i.i.diagram()]),keywords:["heading","diagram"],featureFlag:"tldraw2"}}},s=()=>Object.values(r()),d=()=>s().reduce((e,t)=>(e[t.id]=t.jsonContent,e),{}),u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=(0,o.M)(e);return t.map(e=>{let{name:t,templateIds:n}=e,l=n.map(e=>r()[e]);return{subcategory:t(),items:l}})},c=(e,t,n)=>{try{if(t.featureFlag&&!a.VH.get(t.featureFlag)||(null==n?void 0:n(t)))return!0;return!1}catch(e){return!0}}},97724:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var l=n(46254),a=n(99137);let o={heading:(e,t)=>({type:"heading",attrs:{placeholder:e,level:1,...t}}),h2(e){return this.heading(e,{level:2})},h3(e){return this.heading(e,{level:3})},h4(e){return this.heading(e,{level:4})},title:(e,t)=>({type:"title",attrs:{placeholder:e,...t}}),paragraph:(e,t)=>({type:"paragraph",attrs:{placeholder:e,...t}}),bullet:(e,t)=>({type:"bullet",attrs:{placeholder:e,...t}}),toggle(e,t,n){let l=e||[o.paragraph()];return{type:"toggle",content:[{type:"toggleSummary",attrs:{fontSize:"h3",placeholder:t,...n}},...l]}},columns(e,t){let n=(null==t?void 0:t.colAttrs)||{},l=(null==t?void 0:t.cellAttrs)||{};return{type:"gridLayout",attrs:{colWidths:(0,a.RS)(e.length),...n},content:e.map(e=>({type:"gridCell",content:e,attrs:l}))}},smartLayout:(e,t,n)=>({type:"smartLayout",attrs:{variantKey:e,...n},content:t}),smartLayoutCell:(e,t)=>({type:"smartLayoutCell",attrs:t,content:e}),mediaPlaceholder:e=>({type:"mediaPlaceholder",attrs:e}),card(e,t,n){let l=e||[o.heading()];return{type:"card",attrs:t,content:[...(null==t?void 0:t.layout)?[{type:"cardAccentLayoutItem",attrs:{itemId:"accent",...n}}]:[],{type:"cardLayoutItem",attrs:{itemId:"body"},content:l}]}},buttons:(e,t)=>({type:"buttonGroup",attrs:t,content:e}),button:(e,t)=>({type:"button",attrs:t,content:[{type:"text",text:e}]}),gallery(e,t){let n=e||[o.mediaPlaceholder({source:"image.custom"})];return{type:"gallery",attrs:t,content:n}},table(e,t){let n=(0,a.RS)(e.length);return{type:"table",attrs:{colWidths:n,...t},content:e}},tableRow:e=>({type:"tableRow",content:e}),tableCell:(e,t)=>({type:"tableCell",content:e,attrs:{colspan:1,rowspan:1,...t}}),diagram:e=>({type:"diagram",attrs:e}),chart(e,t){let{data:n,...a}=t||{},o=n||(0,l.W)(e);return{type:"chart",attrs:{chartType:e,data:o,...a}}},columnChart(e){let{data:t,...n}=e||{},a=t||(0,l.W)("bar");return this.chart("bar",{data:a,...n})},barChart(e){let{data:t,...n}=e||{},a=t||(0,l.W)("horizontal-bar");return this.chart("horizontal-bar",{data:a,...n})},lineChart(e){let{data:t,...n}=e||{},a=t||(0,l.W)("line");return this.chart("line",{data:a,...n})},pieChart(e){let{data:t,...n}=e||{},a=t||(0,l.W)("pie");return this.chart("pie",{data:a,...n})},donutChart(e){let{data:t,...n}=e||{},a=t||(0,l.W)("donut");return this.chart("donut",{data:a,...n})}}},93814:function(e,t,n){"use strict";n.d(t,{GG:function(){return c},U8:function(){return i},Vs:function(){return h},W4:function(){return o},aX:function(){return m},aY:function(){return s},ar:function(){return d},id:function(){return g},k_:function(){return a},nY:function(){return p},pL:function(){return u},vD:function(){return r}});var l=n(14274);let a=2,o="card",i=e=>"*"===e?"[data-card-id]":'[data-card-id="'.concat(e,'"]'),r="card-wrapper",s="card-presenting",d="card-body",u="card-content",c=.5,m=1,f="number"==typeof l.v.EDITOR_ANIMATION_DEBUG_FACTOR?l.v.EDITOR_ANIMATION_DEBUG_FACTOR:1,p=225*f,g=200*f,h={default:{duration:g/1e3},x:{type:"spring",duration:g/1e3,bounce:0}}},56253:function(e,t,n){"use strict";n.d(t,{Bk:function(){return s},DB:function(){return d},HQ:function(){return c},Rs:function(){return u},r1:function(){return r}});var l=n(6238),a=n.n(l),o=n(90439),i=n(93814);let r=95,s=120,d=.5*r,u=function(e,t,n){var l;let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=null!==(l=e.config.fontSize)&&void 0!==l?l:1,d=(n?s:r)*(.5/o),u=a*i.GG,c=t?1.5:3.75;return{baseFontSize:o*(t?1:1.125),contentWidthEms:d,themeFontSize:o,innerPaddingX:c,cardWidthEms:d+2*c+2*u,commentPadding:c+u}},c=a()(e=>{let{isPresentMode:t,isNested:n,nestedDepth:l,isFullBleed:a,displayFullBleed:o,isWideContent:i,isThumbnail:r,theme:s,cardDimensions:d,showPresentBackdrop:c,attrs:h,userZoomLevel:b,isMobileDevice:y}=e,v="none"!==h.background.type&&!n,k=o||n?"0em":y?"".concat(.5,"em"):"".concat(2,"em"),x="calc(var(--card-outer-padding-x) + ".concat(a||n?"0px":"var(--doc-padding-left, 0px)"," + ").concat(t?"var(--present-padding-left, 0px)":"0px",")"),w="calc(var(--card-outer-padding-x) + ".concat(a||n?"0px":"var(--doc-padding-right, 0px)"," + ").concat(t?"var(--present-padding-right, 0px)":"0px",")"),S=o||n?"0em":y?"".concat(.5,"em"):!v||t||r?"".concat(2,"em"):"8em",{baseFontSize:C,contentWidthEms:z,cardWidthEms:A,innerPaddingX:I,commentPadding:j}=u(s,y,i,l),F=t||r?d.aspectRatio?g:p:y?f:m,B=F({baseFontSize:C,contentWidthEms:z,cardWidthEms:A,cardAspectRatio:d.aspectRatio,showPresentBackdrop:c,isNested:n,isFullBleed:a,isThumbnail:r});return{"--card-inner-padding-x":"".concat(I,"em"),"--card-inner-padding":"var(--card-inner-padding-y) var(--card-inner-padding-x)","--card-outer-padding-left":x,"--card-outer-padding-right":w,"--card-outer-padding-x":k,"--card-outer-padding-y":S,"--comment-padding":"".concat(j,"em"),"--nested-card-margin":"calc(-1 * var(--comment-padding))","--card-vertical-align":d.defaultVerticalAlign,"--top-accent-height":"12.5em","--behind-accent-height":"24em","--zoom-level":b,...B}}),m=e=>{let{baseFontSize:t,contentWidthEms:n,cardWidthEms:l,cardAspectRatio:a,isFullBleed:o}=e;return{"--font-size":"calc(".concat(t," * var(--editor-font-size, 1rem))"),"--card-inner-padding-y":"".concat(2.75+(o?2:0),"em"),"--card-width":"".concat(l,"em"),"--card-min-height":a?"calc(min(var(--card-width), var(--editor-width)) / ".concat(a,")"):void 0,"--max-content-width":"".concat(n,"em")}},f=e=>{let{cardWidthEms:t,baseFontSize:n,isNested:l,cardAspectRatio:a,isFullBleed:o}=e;return{"--card-inner-padding-y":"".concat(l?2.25:1.5+(o?1:0),"em"),"--font-size":"".concat(n,"rem"),"--card-width":"".concat(t,"em"),"--card-min-height":a?"calc(min(var(--card-width), var(--editor-width)) / ".concat(a,")"):void 0,"--top-accent-height":"8em","--behind-accent-height":"12em"}},p=e=>{let{contentWidthEms:t,cardWidthEms:n,showPresentBackdrop:l,isFullBleed:a,baseFontSize:i,isNested:r,isThumbnail:s}=e,d=o.Pv?"".concat(i,"rem"):"calc(var(--zoom-level) * clamp(".concat(s?"0rem":"1rem",", var(--card-max-width) / ").concat(n,", 2.7vh))"),u=!l||a;return{"--card-inner-padding-y":"".concat(2.75,"em"),"--font-size":d,"--card-width":u?"var(--editor-width)":"".concat(n,"em"),"--card-max-width":"calc(var(--editor-width) - 2 * var(--card-outer-padding-x))","--card-min-height":s?"var(--thumbnail-min-height, 0px)":u&&!r?"100vh":"0vh","--max-content-width":"".concat(t,"em")}},g=e=>{let{cardAspectRatio:t,cardWidthEms:n,isThumbnail:l}=e,a=o.Pv?"calc(var(--card-max-width) / ".concat(t,")"):"calc(100vh - 2 * var(--card-outer-padding-y))",i=o.Pv||l?"0px":"15px",r="calc((var(--card-width) - ".concat(i,") / ").concat(n,")");return{"--card-inner-padding-y":"".concat(2.75,"em"),"--card-width":"calc(var(--zoom-level) * min(var(--card-max-width), calc(var(--card-max-height) * ".concat(t,")))"),"--font-size":r,"--card-max-width":"calc(var(--editor-width) - 2 * var(--card-outer-padding-x))","--card-max-height":a,"--card-min-height":"calc(var(--card-width) / ".concat(t,")")}}},17238:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});var l=n(94090),a=n(50260),o=n(93982),i=n(27483);let r=e=>{let t=(0,l.CG)(o.Pu),{isCardDark:n,cardColorOverride:r}=(0,i.$D)(e),s=null!=n?n:(0,a.wj)(t),d=null!=r?r:(0,a.yU)(t);return{theme:t,isDark:s,cardColor:d}}},15349:function(e,t,n){"use strict";n.d(t,{v:function(){return y}});var l=n(94090),a=n(50788),o=n(4878),i=n(93982),r=n(90604),s=n(97857),d=n(39540);n(52322);var u=n(42946);n(49929);var c=n(39402),m=n(87254);n(2784),n(94523);let f={fluid:{label:()=>m.ag._({id:"f5YDMB"}),icon:u.rZe,description:()=>m.ag._({id:"3JV7Yt"}),aspectRatio:null,defaultVerticalAlign:"center"},"16x9":{label:()=>m.ag._({id:"ekoaFo"}),description:()=>m.ag._({id:"nmOzVW"}),aspectRatio:c.tX["16x9"],defaultVerticalAlign:"center",orientation:c.L9.landscape,counterOrientation:"16x9_portrait"},"16x9_portrait":{label:()=>m.ag._({id:"iMNTNx"}),description:()=>m.ag._({id:"nmOzVW"}),aspectRatio:c.tX["16x9_portrait"],defaultVerticalAlign:"top",orientation:c.L9.portrait,counterOrientation:"16x9",hide:!0},a4:{label:()=>m.ag._({id:"i+5kKa"}),description:()=>m.ag._({id:"UTXvCx"}),aspectRatio:c.tX.a4,defaultVerticalAlign:"center",orientation:c.L9.landscape,counterOrientation:"a4_portrait"},a4_portrait:{label:()=>m.ag._({id:"pzj1N+"}),description:()=>m.ag._({id:"UTXvCx"}),aspectRatio:c.tX.a4_portrait,defaultVerticalAlign:"top",orientation:c.L9.portrait,counterOrientation:"a4",hide:!0},letter:{label:()=>m.ag._({id:"S4Fsut"}),description:()=>m.ag._({id:"UTXvCx"}),aspectRatio:c.tX.letter,defaultVerticalAlign:"center",orientation:c.L9.landscape,counterOrientation:"letter_portrait"},letter_portrait:{label:()=>m.ag._({id:"fVkwbQ"}),description:()=>m.ag._({id:"UTXvCx"}),aspectRatio:c.tX.letter_portrait,defaultVerticalAlign:"top",orientation:c.L9.portrait,counterOrientation:"letter",hide:!0},square:{label:()=>m.ag._({id:"1DA6ap"}),icon:u.pL1,description:()=>m.ag._({id:"5SkGv0"}),aspectRatio:c.tX.square,defaultVerticalAlign:"center"}},p=e=>e&&f[e]||f.fluid;var g=n(27483),h=n(17238),b=n(9729);let y=e=>{var t,n;let{node:u,decorations:c,editor:m}=e,f=u.attrs,{id:y,previewContent:v}=f,k=(0,o.TZ)(),x=(0,a.C7)(),w=m.isThumbnail,S=(0,l.CG)(i.Ql),[C,z]=(0,b.D)(y),A="doc"===C?r.q.DOC_VIEW:r.q.SLIDE_VIEW,I=(0,l.CG)(e=>(0,i.hN)(e,A)),j=A===r.q.SLIDE_VIEW,F=(0,l.CG)(i.SU),B=(0,d.v)(c),M=(0,l.CG)((0,i.yH)(y)),E=(0,s.yv)(c),{isNested:_,nestedDepth:O,isFirstCard:P,isLastCard:T,inheritContainerWidth:R,displayLayout:N,insideSideLayout:L,cardAccentBackgroundMaskEffect:D,hasLayoutItem:W,hasNonEmptyCardNotes:U}=(0,g.$D)(c),{theme:H,isDark:G}=(0,h.t)(c),{cardDimensions:q,defaultFullBleed:V,defaultContentWidth:K,presentBackdrop:Y=!1}=(0,l.CG)(i.US),$=p(q),J="default"===f.cardSize?"full"===V:"full"===f.cardSize,X=j&&!_&&!!$.aspectRatio&&!Y,Z=(null!==(n=null!==(t=f.container.width)&&void 0!==t?t:R)&&void 0!==n?n:K)==="lg";return{hasNonEmptyCardNotes:U,isCollapsed:M,isEditable:I,isFirstCard:P,isFocused:B,isExpandableSelected:E,isLastCard:T,isLetterboxed:X,isMobileDevice:k,isNested:_,isPresenting:"doc"!==C&&"presentCollapsed"!==C,isPresentingCurrent:"presentCurrent"===C,isPresentingParent:"presentParent"===C,isPresentMode:j,isPublished:x,isStatic:S,isDark:G,isThumbnail:w,mode:A,nestedDepth:O,presentVariant:C,prevPresentVariant:z,previewContent:v,theme:H,attrs:f,cardId:y,isFullBleed:J,displayFullBleed:w||!_&&(J||j&&!Y),isWideContent:Z,displayLayout:N,insideSideLayout:L,cardAccentBackgroundMaskEffect:D,cardDimensions:$,showPresentBackdrop:Y,hasLayoutItem:W,userZoomLevel:F}}},64300:function(e,t,n){"use strict";n.d(t,{W:function(){return s}});var l=n(4742),a=n.n(l),o=n(2784),i=n(94090),r=n(93982);let s=()=>{let e=(0,i.CG)(r.Pu),t=(0,o.useCallback)(()=>a()(e.config.accentBackgrounds),[e]);return t}},9729:function(e,t,n){"use strict";n.d(t,{D:function(){return d}});var l=n(2784),a=n(42111),o=n(94090),i=n(93982),r=n(90604),s=n(52332);n(93814);let d=e=>{let t=(0,l.useRef)("doc"),n=(0,o.qr)(),d=(0,o.CG)(n=>{let l=(0,i.i2)(n)||"",o=(0,i.X9)(n),s=(0,i.xb)(n),d=(0,i.gh)(n),u=o.parents[l]||[],c=u.reduce((e,t)=>e[t],o.tree),m=s.includes(l),f=d===r.q.SLIDE_VIEW;if(f&&!m||!f&&m)return t.current;if(!f&&!m)return"doc";let p=s.filter(e=>c[e]),g=e=>c[e]?p.indexOf(e)-p.indexOf(l):1/0,h=g(e),b=u.indexOf(e)>-1,y=p.some(t=>c[t][e]&&1>=Math.abs(g(t))),v=l===e,k=a.VH.get("presentModeFlat"),x=o.parents[e];if(!x)return t.current;let w=x.includes(l);return y||k&&w?"presentCollapsed":b?"presentParent":v?"presentCurrent":-1===h?"presentPrev":1===h?"presentNext":"doc"});return(0,l.useEffect)(()=>{t.current=d;let l=n.getState();if((0,i.ks)(l))return;let o=a.VH.get("presentModeFlat");"presentCollapsed"!==d||o?["presentParent","presentCurrent","presentPrev","presentNext"].includes(d)&&(0,s.Nn)(e,!1):(0,s.Nn)(e,!0)},[n,d,e]),[d,t.current]}},96342:function(e,t,n){"use strict";let l;n.d(t,{id:function(){return C.id},pL:function(){return C.pL},Zb:function(){return af},nY:function(){return C.nY},jz:function(){return t3.jz},J9:function(){return t3.J9},AQ:function(){return t3.AQ},U8:function(){return C.U8},YS:function(){return t3.YS},pr:function(){return ac},pE:function(){return t3.pE}});var a,o,i=n(43019),r=n(72338),s=n(27191),d=n(50279),u=n(96255),c=n(90507),m=n(49354),f=n(11093),p=n(38372),g=n(19283),h=n(66855),b=n(86353),y=n(52332),v=n(15468),k=n(3027),x=n(71917);let w=!1;var S=n(27483),C=n(93814),z=n(52322),A=n(2784),I=n(94090),j=n(93982),F=n(28535),B=n(75768),M=n(77533),E=n(29117),_=n(62614),O=n(73200),P=n(42946),T=n(49929),R=n(5879),N=n(87254),L=n(48776),D=n(27902),W=n(25566),U=n(98285),H=n(56329),G=n(53025),q=n(1365),V=n(22569),K=n(19576),Y=n(4030),$=n(86189),J=n(97857),X=n(12304),Z=n(15349);let Q=(0,A.memo)(e=>{let{decorations:t,editor:n,getPos:l,node:a}=e,o=(0,D.z$)(),i=(0,I.TL)(),r=(0,Z.v)(e),{cardId:s,isPresentMode:d,isEditable:u,isMobileDevice:c}=r,{title:m,text:f}=(0,L.T)({node:a,cardId:s}),{previewContent:p,container:g}=e.node.attrs,h=""===p,b=null==m?void 0:m.replaceAll(q.V,e=>''.concat(e,"")),v=(0,I.CG)(j.Pu),k=(0,X.v0)("h4",v),x=(0,V.dF)(g.background),w=x&&(0,G.l)(v,x),S=(0,J.yv)(t),_=(0,A.useCallback)(e=>{e.stopPropagation(),d&&!u?(i((0,j.Qx)({attached:!1})),n.commands.descendIntoCurrentCard(l(),"push"),null==o||o.track(W.AA.CARD_EXPANDED,{is_present_mode:!0,method:"click"})):((0,y.Nn)(s,!1),setTimeout(()=>{if(!u||n.isDestroyed)return;let e=l();n.commands.selectInsideNodeAtPos(e)},50),null==o||o.track(W.AA.CARD_EXPANDED,{is_present_mode:!1,method:"click"}))},[s,d,u,i,n,l,o]),N=h||!(null==f?void 0:f.trim());return(0,z.jsxs)(Y.lO,{...e,children:[(0,z.jsx)($.A,{...e,"data-testid":"card-drag-handle",handlePlacement:"outside"}),(0,z.jsxs)(F.xu,{mb:"0.25em",position:"relative",contentEditable:!1,userSelect:"none",role:"group","data-card-id":s,"data-export-as-image":!0,children:[(0,z.jsxs)(B.h,{position:"absolute",right:"0.75em",top:"0.75em","data-print-hidden":!0,variant:"unstyled",colorScheme:"gray",fontFamily:"Inter, sans-serif","data-thumbnail-hidden":!0,children:[u&&(0,z.jsx)(ee,{hidePreview:h,...e}),(0,z.jsx)(et,{onClick:_})]}),(0,z.jsxs)(F.xu,{cursor:"pointer",className:(0,O.cx)(U.wY,C.vD,"card-collapsed",S&&"expandable-selected"),_groupHover:U.HM,paddingX:c?"1em":"1.5em",paddingY:"1em",onClick:_,"data-collapsed-card":!0,"data-selection-ring":!0,"data-selection-background":!0,"data-content-reference":!0,css:w,sx:{backgroundColor:x},children:[(0,z.jsx)(M.x,{sx:k,noOfLines:1,mr:"1.75em",mb:"0.375em",className:(0,O.cx)(H.A8),children:b?(0,z.jsx)(M.x,{as:"span",dangerouslySetInnerHTML:{__html:K.R.sanitize(b)}}):m||(0,z.jsx)(M.x,{as:"span",color:"gray.400",children:(0,z.jsx)(R.cC,{id:"gLDJuJ"})})}),(0,z.jsxs)(E.U,{color:"var(--body-color-muted)",children:[(0,z.jsx)(M.x,{noOfLines:1,fontFamily:N?"Inter, sans-serif":void 0,fontSize:"0.9em",children:N?(0,z.jsx)(R.cC,{id:"4m3nxQ"}):f}),h&&(0,z.jsx)(T.G,{icon:P.ptq,size:"sm"})]})]})]})]})});Q.displayName="CollapsedCard";let ee=e=>{let{hidePreview:t,updateAttributes:n}=e,l=(0,A.useCallback)(e=>{n&&(n({previewContent:t?null:""}),e.stopPropagation())},[n,t]);return(0,z.jsx)(_.z,{opacity:0,transitionProperty:"opacity",transitionDuration:"normal",_groupHover:{opacity:1},sx:U.un,fontSize:"0.7em",onClick:l,className:U.wY,zIndex:1,children:t?(0,z.jsx)(R.cC,{id:"fsyAH8"}):(0,z.jsx)(R.cC,{id:"Po0vX/"})})},et=e=>{let{onClick:t}=e;return(0,z.jsxs)(_.z,{"aria-label":N.ag._({id:"JjrOSL"}),className:U.wY,onClick:t,zIndex:1,sx:U.un,fontSize:"0.7em","data-testid":"expand-card-button",children:[(0,z.jsx)(T.G,{icon:P.TTL,fontSize:"0.9em"}),(0,z.jsx)(M.x,{as:"span",_groupHover:{opacity:1,display:"inline"},opacity:"0",display:"none",ml:2,children:(0,z.jsx)(R.cC,{id:"1A3EXy"})})]})};var en=n(17993),el=n(36474),ea=n(94523),eo=n(8776),ei=n(42111),er=n(20888),es=n(50260),ed=n(17132),eu=n(62047),ec=n(83905),em=n(13653),ef=n(38035),ep=n(76919);class eg extends ep.v{initialize(){this.on("cardViewed",e=>{let{cardId:t,interval:n}=e;this.viewedCards[t]=this.viewedCards[t]||0,this.viewedCards[t]+=n});let e=()=>{var e;this.cardViewedThreshold=null!==(e=ei.VH.get("cardViewedThreshold"))&&void 0!==e?e:5e3};ei.VH.subscribe("cardViewedThreshold",e),e()}flush(){let e={};for(let t in this.viewedCards){let n=this.viewedCards[t];n&&!(n{let{cardId:t,...n}=e,[l,a]=(0,A.useState)(0),[o,i]=(0,A.useState)(!1),[r,s]=(0,A.useState)(0);return(0,A.useEffect)(()=>{let e=eh.on("cardViewed",e=>{let{cardId:n,interval:l}=e;t===n&&a(e=>e+l)}),n=eh.on("flush",e=>{let{viewed:n}=e;a(0),n[t]&&(i(!0),s(n[t]),setTimeout(()=>i(!1),2e3))});return()=>{e(),n()}},[t]),(0,z.jsxs)(F.xu,{...n,bg:o?"#c3313a":"#f5ae00",children:[!o&&(0,z.jsxs)(F.xu,{children:["time on card: ",Math.floor(l/1e3),"s"]}),o&&(0,z.jsxs)(F.xu,{children:["Tracked View: ",r,"s"]})]})},ey=e=>{let t=(0,ei.ye)("debugCardViewed"),{getPos:n,node:l}=e,{id:a}=l.attrs;return t?(0,z.jsxs)(ef.k,{left:8,top:2,zIndex:"overlay",position:"absolute",pointerEvents:"none",opacity:.5,contentEditable:!1,children:[(0,z.jsx)(F.xu,{bg:"yellow",px:2,mr:2,borderRadius:"md",children:a}),(0,z.jsxs)(F.xu,{bg:"trueblue.200",px:2,mr:2,borderRadius:"md",children:["f:",n()," t:",n()+l.nodeSize]}),(0,z.jsx)(eb,{cardId:a,px:2,borderRadius:"md"})]}):null};var ev=n(83906),ek=n(76643),ex=n(70065),ew=n(11082),eS=n(43679),eC=n(34071),ez=n(332),eA=n(39429),eI=n(43297),ej=n(74008),eF=n(89099),eB=n(56143),eM=n(42487),eE=n(69747),e_=n(13793),eO=n(66028),eP=n(56904),eT=n(39018),eR=n(32899),eN=n(59732);let eL=e=>{let{icon:t,label:n,children:l,...a}=e;return(0,z.jsxs)(eI.K,{direction:"row",spacing:4,alignItems:"center",...a,children:[(0,z.jsx)(T.G,{fixedWidth:!0,icon:t}),(0,z.jsx)(M.x,{children:n}),(0,z.jsx)(el.L,{}),l]})},eD=e=>{let{editor:t,accentPos:n,cardId:l,hasAccentImage:a,isBehindLayout:o}=e,i=(0,A.useCallback)(()=>{n&&t.commands.updateAttributesAtPos(n,{background:{type:e_.E.NONE}})},[t,n]),r=(0,A.useCallback)(()=>{eN.T.emit("toggleEditBackgroundDrawer",{openDrawer:!0,cardId:l})},[l]);return(0,z.jsx)(z.Fragment,{children:(0,z.jsx)(eL,{label:o?(0,z.jsx)(R.cC,{id:"23c2Uw"}):(0,z.jsx)(R.cC,{id:"e5Sy/T"}),icon:P.VmB,children:(0,z.jsx)(E.U,{spacing:1,children:(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(_.z,{size:"sm",variant:"link",onClick:r,colorScheme:"trueblue",children:a?(0,z.jsx)(R.cC,{id:"ePK91l"}):(0,z.jsx)(R.cC,{id:"PNapeY"})}),a&&(0,z.jsx)(ea.kH,{label:(0,z.jsx)(R.cC,{id:"sGYCGx"}),placement:"top",children:(0,z.jsx)(eR.h,{"aria-label":N.ag._({id:"sGYCGx"}),size:"sm",variant:"link",onClick:i,colorScheme:"red",icon:(0,z.jsx)(T.G,{icon:P.qDv})})})]})})})})},eW=e=>{let{editor:t,getPos:n,onAddOrEditClick:l,isDisabled:a,hasBackdrop:o}=e,i=(0,A.useCallback)(()=>{t.commands.updateAttributesAtPos(n(),{background:{type:e_.E.NONE}})},[t,n]);return(0,z.jsx)(z.Fragment,{children:(0,z.jsxs)(eL,{icon:P.UHQ,label:(0,z.jsx)(R.cC,{id:"ANn8Qe"}),color:a?"gray.500":void 0,children:[a&&(0,z.jsx)(ea.kH,{placement:"top",label:(0,z.jsx)(R.cC,{id:"ZnOCf5"}),isDisabled:!a,children:(0,z.jsx)(T.G,{fixedWidth:!0,icon:P.Aq})}),(0,z.jsx)(E.U,{spacing:1,children:!a&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(_.z,{size:"sm",variant:"link",onClick:l,colorScheme:"trueblue",children:o?(0,z.jsx)(R.cC,{id:"ePK91l"}):(0,z.jsx)(R.cC,{id:"PNapeY"})}),o&&(0,z.jsx)(ea.kH,{label:(0,z.jsx)(R.cC,{id:"IfZ6hd"}),placement:"top",children:(0,z.jsx)(eR.h,{"aria-label":N.ag._({id:"IfZ6hd"}),size:"sm",variant:"link",onClick:i,colorScheme:"red",icon:(0,z.jsx)(T.G,{icon:P.qDv})})})]})})]})})};var eU=n(10625),eH=n(67046),eG=n(99058),eq=n(44035),eV=n(39237),eK=n(71607);let eY=e=>{var t,n;let{editor:l,accentPos:a,accentBackground:o,effect:i}=e,r=(0,A.useCallback)(e=>{if(!a||!o)return;let t={background:{mask:{...o.mask,effect:e}}};l.commands.updateNestedAttributesAtPos(a,t)},[l,o,a]),s=null!=i?i:eT.xO.effect,d=null!==(n=null===(t=eK.$v.find(e=>e.value===i))||void 0===t?void 0:t.label())&&void 0!==n?n:(0,z.jsx)(R.cC,{id:"xg0y9o"});return(0,z.jsx)(eL,{label:(0,z.jsx)(R.cC,{id:"u4YODQ"}),icon:P.DhN,children:(0,z.jsxs)(eU.v,{isLazy:!0,children:[(0,z.jsx)(eH.j,{as:_.z,variant:"plain",size:"sm",minW:"128px",boxShadow:"none",textAlign:"left",rightIcon:(0,z.jsx)(ev.v,{}),children:d}),(0,z.jsx)(eG.q,{children:(0,z.jsx)(eq._,{value:s,type:"radio",onChange:r,children:eK.$v.map(e=>{let{value:t,label:n}=e;return(0,z.jsx)(eV.i,{value:t,children:n()},t)})})})]})})};var e$=n(56250),eJ=n(86787),eX=n(62685);let eZ=e=>{var t,n;let{editor:l,attrs:a,getPos:o}=e,i=(0,I.CG)(j.Pu),r=(0,V.dF)(null===(t=a.container)||void 0===t?void 0:t.background),s=null!==(n=(0,es.yU)(i))&&void 0!==n?n:(0,eX.BA)(i);return{currentColor:r,themeCardColor:s,setCardColor:e=>{let{container:t}=a,n=e?{background:{type:e_.E.COLOR,color:{hex:e}}}:{background:void 0};void 0!==t.isDark&&(n.isDark=void 0),l.commands.updateNestedAttributesAtPos(o(),{container:{...t,...n}})}}},eQ=e=>{let{editor:t,attrs:n,getPos:l}=e,{setCardColor:a,currentColor:o,themeCardColor:i}=eZ({editor:t,attrs:n,getPos:l});return(0,z.jsx)(eL,{icon:P.re8,label:"behind"===n.layout?(0,z.jsx)(R.cC,{id:"cA3hQ0"}):(0,z.jsx)(R.cC,{id:"9d2iLQ"}),children:(0,z.jsxs)(eU.v,{isLazy:!0,children:[(0,z.jsx)(e$.t,{color:null!=o?o:i,isDefaultColor:void 0===o}),(0,z.jsx)(eG.q,{overflow:"hidden",children:(0,z.jsx)(eJ.M,{currentColor:null!=o?o:i,setColor:a,source:"CardColor"})})]})})};var e0=n(41098);let e1=e=>{let{editor:t,getPos:n,isWideContent:l}=e,a=(0,A.useCallback)(()=>{t.commands.updateNestedAttributesAtPos(n(),{container:{width:l?"md":"lg"}})},[t,n,l]);return(0,z.jsx)(eL,{icon:P.dH7,label:(0,z.jsx)(R.cC,{id:"lklIf1"}),children:(0,z.jsx)(e0.r,{isChecked:l,onChange:a})})};var e2=n(82108),e4=n.n(e2),e5=n(11050),e3=n(64300);let e9=["blank","top","left","right","behind"],e8=e=>"blank"===e?N.ag._({id:"6JcK6b"}):"behind"===e?N.ag._({id:"SQOVlA"}):N.ag._({id:"T8aKxO",values:{0:e4()(e)}}),e7=e=>{let{layout:t,editor:n,getPos:l,edgeLayoutsEnabled:a}=e,o=(0,e3.W)(),i=(0,e5.z$)(),r=(0,A.useCallback)(e=>{"blank"===e?n.commands.setCardLayout(l(),e):n.commands.setCardLayout(l(),e,o),null==i||i.track(e5.AA.CARD_LAYOUT_UPDATED,{source:"card-styling-menu",layout:e})},[n,l,o,i]),s=e9.filter(e=>a||["blank","behind"].includes(e));return(0,z.jsx)(B.h,{mb:2,children:s.map(e=>{let n=e8(e);return(0,z.jsx)(ea.kH,{label:n,placement:"top",children:(0,z.jsx)(eR.h,{"aria-label":n,flex:1,variant:"plain",size:"md",onClick:()=>r(e),icon:(0,z.jsx)(e6,{layout:e,isSelected:t===e}),boxShadow:"none",background:t===e?"trueblue.50":"white"})},e)})})},e6=e=>{let{layout:t,isSelected:n}=e,l=n?"trueblue.400":"gray.300",a=null;return"top"===t?a=(0,z.jsx)(F.xu,{height:"0.375rem",width:"100%",background:l}):"left"===t?a=(0,z.jsxs)(ef.k,{height:"100%",minH:"100%",children:[(0,z.jsx)(F.xu,{width:"0.625rem",minH:"100%",background:l}),(0,z.jsx)(F.xu,{flex:"1",minH:"100%"})]}):"right"===t&&(a=(0,z.jsxs)(ef.k,{height:"100%",minH:"100%",children:[(0,z.jsx)(F.xu,{flex:"1",minH:"100%"}),(0,z.jsx)(F.xu,{width:"0.625rem",minH:"100%",background:l})]})),(0,z.jsx)(F.xu,{boxSizing:"border-box",height:"1.25rem",width:"1.75rem",border:"2px solid",borderRadius:"sm",borderColor:l,background:"behind"===t?l:"none",children:a})},te=e=>{let{editor:t,getPos:n,isFullWidth:l}=e,a=(0,A.useCallback)(()=>{t.commands.updateAttributesAtPos(n(),{cardSize:l?"contained":"full"})},[t,n,l]);return(0,z.jsx)(eL,{icon:P.r9b,label:(0,z.jsx)(R.cC,{id:"BquNv8"}),children:(0,z.jsx)(e0.r,{isChecked:l,onChange:a})})};var tt=n(39176),tn=n(21209),tl=n(21004);let ta=(0,A.memo)(e=>{var t,n;let{editor:l,getPos:a,attrs:o,accentBackgroundMaskEffect:i,displayLayout:r,insideSideLayout:s,isNested:d,isFullBleed:u,isWideContent:c}=e,{color:m,bg:f,hoverColor:p,hoverBg:g,borderColor:h}=(0,eP.lv)(),b=(0,A.useRef)(null),y=(0,I.CG)((0,tt.OU)(o.id,"styling")),k=(0,I.TL)(),x=(0,A.useCallback)(()=>{k((0,tt.RD)())},[k]),w=(0,A.useCallback)(()=>{k((0,tt.A7)({cardId:o.id,menuType:"styling"}))},[k,null==o?void 0:o.id]);(0,ek.O)({ref:b,handler:e=>{var t;if(!y)return;let n=e.target,l=null==n?void 0:n.closest('[data-card-styles-menu-trigger="'.concat(o.id,'"]')),a=!!(null==n?void 0:null===(t=n.closest(".chakra-modal__content-container"))||void 0===t?void 0:t.querySelector("[data-edit-background-drawer]"));l||a||x()}});let S=(0,ei.ye)("borderless"),C=(0,ei.ye)("cardWidthOptions"),j=(0,v.gF)(l.state.doc.resolve(a())),F=(null===(t=j.accent)||void 0===t?void 0:t.pos)||null,B=null===(n=j.accent)||void 0===n?void 0:n.node.attrs.background,O=B&&B.type!==e_.E.NONE,L="none"!==o.background.type,D="default"!==o.cardSize||L||O||o.container.width||o.container.background||"blank"!==r,W="behind"===r&&O&&(0,eT.Zi)(B),U=(0,ex.p)(),{openBackgroundTab:H,...G}=(0,tl.a)(),q=(0,A.useCallback)(e=>{(0,eM.y)(l,a(),e)},[l,a]),V=(0,A.useCallback)(()=>{let e={};L&&(e.background={type:e_.E.NONE,source:void 0}),e.cardSize=void 0,e.container={...o.container,width:void 0},o.container.background&&(e.container={...o.container,background:void 0}),"blank"!==r&&(e.layout="blank"),F?l.chain().updateAttributesAtPos(a(),e).updateNestedAttributesAtPos(F,{background:{type:e_.E.NONE}}).run():l.commands.updateAttributesAtPos(a(),e);let t=N.ag._({id:"rQHMjX"}),n=N.ag._({id:"9uI/rE"}),i=U({title:(0,z.jsxs)(E.U,{children:[(0,z.jsx)(M.x,{children:t}),(0,z.jsx)(ew.r,{textDecoration:"underline",onClick:()=>{(0,eB.Yw)(l.state),U.close(i)},children:n})]}),status:"info",duration:3e3,position:"top"})},[L,o.container,r,F,l,a,U]);return(0,z.jsx)(ea.Wk,{isDark:!1,children:(0,z.jsxs)(E.U,{spacing:1,onClick:eO.UW,contentEditable:!1,pointerEvents:"auto",children:[(0,z.jsxs)(eS.J,{isLazy:!0,returnFocusOnClose:!1,isOpen:y,onClose:x,closeOnBlur:!1,children:[(0,z.jsx)(ea.kH,{label:(0,z.jsx)(R.cC,{id:"F153E+"}),placement:"top",shouldWrapChildren:!0,children:(0,z.jsx)(eC.x,{children:(0,z.jsxs)(_.z,{"data-card-styles-menu-trigger":o.id,height:tn.fD,fontWeight:"900",alignItems:"center",fontFamily:"Inter, sans-serif",display:"flex",backdropFilter:"blur(8px)",borderRadius:"sm",borderColor:h,color:m,boxShadow:"sm",cursor:"pointer",fontSize:"14px",bg:f,px:.5,_hover:{color:p,background:g},onClick:w,children:[(0,z.jsx)(T.G,{icon:P.q2v,fixedWidth:!0}),(0,z.jsx)(ev.v,{})]})})}),(0,z.jsx)(ez.h,{children:(0,z.jsxs)(eA.y,{"data-card-styles-menu":!0,ref:b,minWidth:"320px",width:"fit-content",maxWidth:"min(360px, 80vw)",fontFamily:"Inter, sans-serif",fontSize:"md",border:"none",children:[(0,z.jsxs)(eI.K,{spacing:4,p:4,children:[(0,z.jsx)(e7,{editor:l,layout:r,getPos:a,edgeLayoutsEnabled:!s}),"blank"!==r&&(0,z.jsx)(eD,{editor:l,accentPos:F,cardId:o.id,hasAccentImage:!!O,isBehindLayout:"behind"===r}),W&&(0,z.jsx)(eY,{editor:l,accentBackground:B,accentPos:F,effect:i}),(0,z.jsx)(eQ,{editor:l,attrs:o,getPos:a}),!d&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(ej.i,{my:"1"}),S&&(0,z.jsx)(te,{editor:l,getPos:a,isFullWidth:u}),C&&(0,z.jsx)(e1,{editor:l,getPos:a,isWideContent:c}),(0,z.jsx)(eW,{editor:l,getPos:a,onAddOrEditClick:H,hasBackdrop:L,isDisabled:u})]})]}),(0,z.jsxs)(eF.E,{px:5,py:3,bg:"gray.100",mx:-1,mb:-1,justify:D?"space-between":"center",alignItems:"center",borderBottomRadius:"xl",children:[D&&(0,z.jsx)(eF.U,{children:(0,z.jsx)(_.z,{onClick:V,variant:"link",size:"sm",colorScheme:"gray",my:0,children:(0,z.jsx)(R.cC,{id:"6hU6uw"})})}),(0,z.jsx)(eF.U,{children:(0,z.jsx)(_.z,{onClick:()=>{x(),eE.pw.emit(eE.TI.OPEN_PAGE_SETUP,"cards")},variant:"link",size:"sm",colorScheme:"gray",my:0,leftIcon:(0,z.jsx)(T.G,{icon:P.gr5}),children:(0,z.jsx)(R.cC,{id:"fvaOtb"})})})]})]})})]}),(0,z.jsx)(tl.S,{editor:l,updateNestedAttributes:q,background:o.background,container:o.container,...G})]})})});var to=n(69024),ti=n(74105),tr=n(20816),ts=n(25481),td=n(54933),tu=n(11355),tc=n(85420),tm=n(97763),tf=n(3440),tp=n.n(tf);let tg=[{key:"rephrase.better",label:()=>N.ag._({id:"WLqWVj"}),instructions:"Improve the writing",icon:P.nA6,group:"writing",loadingMessage:()=>N.ag._({id:"OxbbYn"}),variationName:()=>N.ag._({id:"5j51A1"})},{key:"edit.spelling",label:()=>N.ag._({id:"kIRRvo"}),instructions:"Fix spelling & grammar",icon:P.LEp,group:"writing",loadingMessage:()=>N.ag._({id:"vLjsO9"}),variationName:()=>N.ag._({id:"MRZxAn"})},{key:"rephrase.expand",label:()=>N.ag._({id:"rRLXT4"}),instructions:"Make this longer",icon:P.xiG,group:"writing",loadingMessage:()=>N.ag._({id:"Q+x/E4"}),variationName:()=>N.ag._({id:"pvJgUJ"})},{key:"rephrase.condense",label:()=>N.ag._({id:"xTY2A5"}),instructions:"Make this more concise. Dont change the layout or images, only change the writing within the existing template.",icon:P.hx$,group:"writing",loadingMessage:()=>N.ag._({id:"BjuYlr"}),variationName:()=>N.ag._({id:"Q7U9iz"})},{key:"rephrase.simplify",label:()=>N.ag._({id:"Lx/Sd1"}),instructions:"Simplify the language",icon:P.VeG,group:"writing",loadingMessage:()=>N.ag._({id:"AAhoH1"}),variationName:()=>N.ag._({id:"nvmoB1"})},{key:"rephrase.specifics",label:()=>N.ag._({id:"u6rs0A"}),instructions:"Rewrite this to be more specific. Use the previous text and the outline for context. If you don't have enough details, make them up.",icon:P.nUQ,group:"writing",loadingMessage:()=>N.ag._({id:"HW6L/y"}),variationName:()=>N.ag._({id:"PRHEO1"})},{key:"layout.different",label:()=>N.ag._({id:"gyYxFM"}),instructions:"I dont like this template. Try a different layout or visualization. You can rephrase the text to fit a new template, but don't alter the original voice or make up new details.",icon:P.cHW,group:"layout",loadingMessage:()=>N.ag._({id:"cEGrM6"}),variationName:()=>N.ag._({id:"kLEOtI"})},{key:"layout.visual",label:()=>N.ag._({id:"gcHjj/"}),instructions:"I want to make this content more visual. Make up new images to illustrate the concepts. You can rephrase the text to fit the new template, but don't alter the original voice or make up new details",template:"imagesWithText",icon:P.l9f,group:"layout",loadingMessage:()=>N.ag._({id:"hMtOFm"}),variationName:()=>N.ag._({id:"p0QPRq"})},{key:"layout.addImage",label:()=>N.ag._({id:"LfOSf5"}),instructions:"Make up a new image to illustrate the concepts. If there is already a primary image or a placeholder, replace it. Otherwise, add a new image using an image-layout or COLUMNS. Keep the rest of my content the same. You can rephrase the text to fit the new template, but don't alter the original voice or make up new details. Do not remove any of the text!",icon:P.VmB,group:"layout",loadingMessage:()=>N.ag._({id:"hMtOFm"}),variationName:()=>N.ag._({id:"2ap0Xm"})},{key:"layout.timeline",label:()=>N.ag._({id:"UrX5Wc"}),instructions:"Reformat this as a timeline",template:"timeline",icon:P.cp3,group:"layout",loadingMessage:()=>N.ag._({id:"+tf05m"}),variationName:()=>N.ag._({id:"cklVjM"})}],th=tp()(tg,"group"),tb=[{key:"writing",label:()=>N.ag._({id:"4kJRen"})},{key:"layout",label:()=>N.ag._({id:"rdU729"})}];var ty=n(30764),tv=n(54012),tk=n(77787),tx=n(26654),tw=n(31490),tS=n(2284),tC=n.n(tS),tz=n(26773),tA=n(74311),tI=n(33169),tj=n(3402),tF=n(97253),tB=n(36651),tM=n(3543);let tE=(e,t)=>tO(new t_(e,null),t);class t_{get type(){return this.jsonNode.type}get text(){return this.jsonNode.text}get content(){return this.jsonNode.content?this.jsonNode.content.map(e=>new t_(e,this)):this.jsonNode.content}get attrs(){return this.jsonNode.attrs}set attrs(e){this.jsonNode.attrs=e}constructor(e,t){this.jsonNode=e,this.parent=t,this.__type="JSONContentNode"}}let tO=(e,t)=>{if(t(e),e.content)for(let n of e.content)tO(n,t)};var tP=n(1313),tT=n.n(tP);let tR=e=>tT()(e)(),tN=(e,t)=>{let n=tT()(t),l=Math.floor(n()*e.length);return e[l]};var tL=n(98845),tD=n(28667);let tW=["gridLayout","table","gallery","chart"],tU=["imagesText","iconsText","pyramid","funnel","staircase","stats","circleStats","barStats"],tH=async(e,t)=>{var n,l;let a;let{cardIndex:o,imageOptions:i,docFormatKey:s,theme:d,loadImages:u}=t,c=await (0,tD.T)(e,{imageOptions:i,removeImagesFromLayouts:!0,loadImages:!1}),m=(0,r.J1)((0,tA.e)()),{content:f,dom:p}=(0,tj.T)(c,m),g=f.toJSON(),h=1===g.length&&"card"===g[0].type?(null===(n=g[0])||void 0===n?void 0:n.content)||[]:g,b=h.some(e=>"cardLayoutItem"===e.type),y=h.find(e=>"cardAccentLayoutItem"===e.type);if(b)(a=g[0]).attrs.layout&&!y&&(a.attrs.layout="blank");else{let e=null===(l=p.firstElementChild)||void 0===l?void 0:l.getAttribute("image-layout"),n=e&&e9.includes(e)?e:void 0;a=tY(h,{cardIndex:o,docFormatKey:s,theme:d,cardLayout:n,preserveLayouts:t.preserveLayouts})}return i&&"aiGenerated"===i.provider&&tG(a,m),u&&await tV(a,m,{docId:"unknown",workspaceId:(0,tB.n_)(),...t.context}),tK(a),a},tG=(e,t)=>{tE(e,e=>{if("text"===e.type)return;let n=ty.NB.fromJSON(t,{type:e.type,attrs:e.attrs}),l=(0,tF.XU)(n);if(!l||!l.loadImageParams)return;let{options:a}=l.loadImageParams;if(!a)return;let o="model"in a&&a.model?tz.Iw[a.model].aspectRatios:tz.Iw["stable-diffusion-xl-v1-0"].aspectRatios,i=tq(e),{width:r,height:s}=(null==o?void 0:o[i])||tz.vr,d={...l.loadImageParams,options:{...l.loadImageParams.options,width:r,height:s}};e.attrs=(0,tF.j6)(n,{loadImageParams:d})})},tq=e=>{var t;let n=e.parent;if(!(null==n?void 0:n.attrs))return"square";if("smartLayoutCell"===e.type&&"imagesText"===n.attrs.variantKey)return"landscape";if("cardAccentLayoutItem"===e.type){let e=n.attrs.layout;if("left"===e||"right"===e)return"portrait";if("top"===e)return"landscape"}return"layoutCell"===n.type&&(null===(t=n.content)||void 0===t?void 0:t[0])===e?"portrait":"landscape"},tV=async(e,t,n)=>{let l=[];tE(e,async e=>{if("text"===e.type)return;let a=t.nodeFromJSON({type:e.type,attrs:e.attrs}),o=(0,tF.XU)(a);if(!o)return;let{loadImageStatus:i,loadImageId:r,loadImageParams:s}=o;if("queued"!==i||!s||!r)return;let d=(0,tL.B)({loadImageId:r,loadImageParams:s,context:n}).then(t=>{e.attrs=(0,tF.j6)(a,t)});l.push(d)}),await Promise.all(l)},tK=e=>{var t,n,l,a;let o=e.content.find(e=>"cardAccentLayoutItem"===e.type);if(!o)return;let i=o.attrs.background;if(!i)return;let r=null==i?void 0:null===(n=i.image)||void 0===n?void 0:null===(t=n.meta)||void 0===t?void 0:t.average_color,s=r&&(0,tM.DP)(r);"behind"===e.attrs.layout&&(s||.5>tR(e.attrs.id))&&(null!==(a=(l=e.attrs).container)&&void 0!==a||(l.container={}),e.attrs.container.background={type:e_.E.COLOR,color:{hex:"#000000"}});let d=e.content.find(e=>"cardLayoutItem"===e.type);if(!d)return;let u=d.content.filter(e=>"paragraph"!==e.type||e.content);try{i.mask={effect:0===u.length?"none":"faded"}}catch(e){console.error("[caught] [fixBehindBackgroundMask]",e,"with accentBackground:",i)}},tY=(e,t)=>{let n;let{cardIndex:l,docFormatKey:a,theme:o,cardLayout:i}=t,r=tI.C2.generate(),s=e.filter(e=>{var t,n;return"image"===e.type&&((null===(t=e.attrs)||void 0===t?void 0:t.src)||(null===(n=e.attrs)||void 0===n?void 0:n.loadImageStatus)==="queued")})||[],d=t.preserveLayouts||e.some(t=>{var n;return tW.includes(t.type)||"smartLayout"===t.type&&(null===(n=t.attrs)||void 0===n?void 0:n.variantKey)&&tU.includes(t.attrs.variantKey)||"smartLayout"===t.type&&t.content&&t.content.length>3||e.length>5});s.length>0&&"blank"!==i?(n={type:e_.E.IMAGE,image:s[0].attrs,source:s[0].attrs.source},tC()(e,s[0])):o&&(n={...tZ(o,r)}),0===l&&"webpage"!==a&&e.push({type:"contributors"}),e=e.flatMap(e=>tQ(e,r));let u={};"deck"===a?u=tJ({cardIndex:l,cardId:r,preventRandomCardLayouts:d,cardLayout:i}):"document"===a?u=tX({cardIndex:l,cardId:r,preventRandomCardLayouts:d,cardLayout:i}):"webpage"===a&&(u=t$({cardIndex:l,cardId:r,accentBackground:n,preventRandomCardLayouts:d,cardLayout:i,theme:o}));let c={container:{},layout:i||"blank",id:r,...u},m="blank"!==c.layout&&n?{type:"cardAccentLayoutItem",attrs:{itemId:"accent",background:n}}:null;if(m||(c.layout="blank"),"left"===c.layout||"right"===c.layout){let t=!1;e.forEach(e=>{if("smartLayout"===e.type&&e.attrs){let n=e.attrs;t=!0,n.options.orientation="vertical",n.options.twoSided=!1,n.options.cellSize="lg"}}),t&&(c.layoutTemplateColumns="left"===c.layout?"25% 75%":"75% 25%")}let f={type:"cardLayoutItem",attrs:{itemId:"body"},content:e};return{type:"card",attrs:c,content:m?[m,f]:[f]}},t$=e=>{let{cardIndex:t,cardId:n,accentBackground:l,preventRandomCardLayouts:a,theme:o,cardLayout:i}=e,r={},s=o?(0,es.Wz)(o):[];return i?r.layout=i:0===t?r.layout=tN(["behind","right"],n):.8>tR(n)?(r.layout=a?"blank":tN(["left","right","behind","blank","blank"],n),a&&"blank"===r.layout&&s.length&&.25>tR(n)&&(r.container={background:{type:e_.E.COLOR,color:{hex:tN(s,n)}}})):(r.cardSize="contained",r.background=tN([l,{type:e_.E.COLOR,color:{hex:tN(s,n)}}],n),r.layout="blank"),r},tJ=e=>{let{cardIndex:t,cardId:n,preventRandomCardLayouts:l,cardLayout:a}=e,o={};return a?o.layout=a:0!==t||l?l?o.layout="blank":o.layout=tN(["left","left","right","right","behind","top","blank"],n):o.layout=tN(["left","right"],n),o},tX=e=>{let{cardIndex:t,preventRandomCardLayouts:n,cardId:l,cardLayout:a}=e,o={};return a?o.layout=a:0===t?(o.cardSize="full",o.layout="behind"):n?o.layout="blank":o.layout=tN(["blank","blank","blank","blank","right","left"],l),o},tZ=(e,t)=>tN(e.config.accentBackgrounds||[],t),tQ=(e,t)=>{var n,l;if("smartLayout"!==e.type||!e.attrs||!e.content)return e;let a=e.attrs.variantKey;if("bullets"===a&&1===e.content.length&&(null===(n=e.content[0].content)||void 0===n?void 0:n.some(e=>"bullet"===e.type)))return e.content[0].content;if("numbers"===a){let n=null===(l=e.content)||void 0===l?void 0:l.map(e=>{var t;return null===(t=e.attrs)||void 0===t?void 0:t.label});(null==n?void 0:n.every(e=>e.endsWith("%")))&&(e.attrs.variantKey=tN(["barStats","circleStats"],t))}return e.content.length>4&&(e.attrs.options.orientation="vertical"),e};n(2090),n(16494);let t0=async e=>{let{editor:t,loadImageId:n,newAttrs:l,node:a,theme:o,cardId:i}=e,s=(0,r.N2)(t.state.doc,e=>{let t=(0,tF.XU)(e);return!!t&&t.loadImageId===n})[0];if(!s){console.error("[AIStream] could not find image in editor with loadImageId=".concat(n,"}"));return}let d="cardAccentLayoutItem"===a.type.name&&"error"===l.loadImageStatus?{...s.node.attrs,background:tZ(o,i)}:(0,tF.j6)(s.node,l);t.chain().updateAttributesAtPos(s.pos,d).noUndo().run()},t1=async(e,t,n,l,a)=>{t.descendants((t,o)=>{if(l&&oa)return;let i=(0,tF.XU)(t);if(!i||"queued"!==i.loadImageStatus||!i.loadImageId||!i.loadImageParams)return;let{loadImageId:r,loadImageParams:s}=i;(0,tL.B)({loadImageId:r,loadImageParams:s,context:{docId:e.gammaDocId,workspaceId:e.gammaOrgId}}).then(l=>{t0({editor:e,newAttrs:l,loadImageId:r,node:t,theme:n})})})};var t2=n(7144),t4=n(1163),t5=n(66625),t3=n(74684);let t9=e=>{let t=e.getState(),n=(0,j.X9)(t),l=(0,t5.qN)(t),a=Object.keys(n.tree).map(e=>{var t;return null===(t=l[e])||void 0===t?void 0:t.title}).filter(e=>!!e);return a.join("\n")};var t8=n(4742),t7=n.n(t8),t6=n(28918),ne=n(829),nt=n.n(ne),nn=n(10649);n(5632),l=null,async e=>{let t=e;e||(console.warn("[i18n] Unexpected empty locale"),t=nn.p5),l=t;try{let e;e=t===nn.Wx?await n(25297)("./".concat(t,"/messages")):await n(36298)("./".concat(t,"/messages.po")),t===l&&(N.ag.load(t,e.messages),N.ag.activate(t))}catch(e){console.error("[i18n] Error loading locale messages:",e.message)}};var nl=n(91695),na=n(89458),no=n(88640),ni=n(62573),nr=n(17018);let ns=(e,t)=>{let n=(0,nr.py)(),l=(0,nr.u_)(),a=e||t||(l?n:nn.p5);return a},nd=()=>{let e=(0,I.bh)();return ns((0,nl.io)(e.getState()),(0,na._)(no.H.gammaLocale,void 0))},nu=[{key:"en",englishName:"English (US)",displayName:"English (US)"},{key:"en-gb",englishName:"English (UK)",displayName:"English (UK)"},{key:"es",englishName:"Spanish",displayName:"Espa\xf1ol"},{key:"ca",englishName:"Catalan",displayName:"Catal\xe0"},{key:"fr",englishName:"French",displayName:"Fran\xe7ais"},{key:"zh-cn",englishName:"Simplified Chinese",displayName:"简体中文"},{key:"zh-tw",englishName:"Traditional Chinese",displayName:"繁體中文"},{key:"ko",englishName:"Korean",displayName:"한국어"},{key:"ja",englishName:"Japanese",displayName:"日本語"},{key:"pt-br",englishName:"Portuguese",displayName:"Portugu\xeas"},{key:"de",englishName:"German",displayName:"Deutsch"},{key:"it",englishName:"Italian",displayName:"Italiano"},{key:"ru",englishName:"Russian",displayName:"Русский"},{key:"pl",englishName:"Polish",displayName:"Polski"},{key:"uk",englishName:"Ukrainian",displayName:"Українська"},{key:"ro",englishName:"Romanian",displayName:"Rom\xe2nă"},{key:"hu",englishName:"Hungarian",displayName:"Magyar"},{key:"cs",englishName:"Czech",displayName:"Čeština"},{key:"el",englishName:"Greek",displayName:"Ελληνικά"},{key:"tr",englishName:"Turkish",displayName:"T\xfcrk\xe7e"},{key:"ar",englishName:"Arabic",displayName:"عربى"},{key:"he",englishName:"Hebrew",displayName:"עברית"},{key:"fa",englishName:"Persian",displayName:"فارسی"},{key:"nl",englishName:"Dutch",displayName:"Nederlands"},{key:"sv",englishName:"Swedish",displayName:"Svenska"},{key:"da",englishName:"Danish",displayName:"Dansk"},{key:"nb",englishName:"Norwegian",displayName:"Norsk"},{key:"fi",englishName:"Finnish",displayName:"Suomi"},{key:"id",englishName:"Indonesian",displayName:"Bahasa Indonesia"},{key:"vi",englishName:"Vietnamese",displayName:"Tiếng Việt"},{key:"hi",englishName:"Hindi",displayName:"हिन्दी"},{key:"th",englishName:"Thai",displayName:"ภาษาไทย"},{key:"rs",englishName:"Serbian",displayName:"Srpski"},{key:"hr",englishName:"Croatian",displayName:"Hrvatski"},{key:"sq",englishName:"Albanian",displayName:"Shqip"}],nc=e=>{let t=e.toLowerCase(),n=nu.find(e=>e.key.toLowerCase()===t);return n||null},nm=e=>{let t=nc(e);if(t)return t;let n=nn.MD[e],l=n&&nc(n);if(l)return l;let[a]=e.toLowerCase().split("-"),o=a&&nc(a);return o||np(e)},nf={key:"en",englishName:"English (US)",displayName:"English (US)"},np=e=>{let t=nd();try{let n=new Intl.DisplayNames([t],{type:"language"}),l=new Intl.DisplayNames(["en"],{type:"language"}),a=l.of(e),o=n.of(e);if(!a||!o)return nf;return{key:e.toLowerCase(),englishName:a,displayName:o}}catch(e){return nf}},ng=nt()(nu,e=>e.displayName);var nh=n(19431),nb=n(86581),ny={src:"/_next/static/media/Title-with-2-Column-Image-Left.a898abf9.svg",height:47,width:92,blurWidth:0,blurHeight:0},nv={src:"/_next/static/media/Title-with-3-boxes.8a28c3c6.svg",height:49,width:91,blurWidth:0,blurHeight:0},nk={src:"/_next/static/media/Title-with-3-images.172b44a3.svg",height:69,width:92,blurWidth:0,blurHeight:0},nx={src:"/_next/static/media/Title-with-Bullets.066ad97e.svg",height:55,width:92,blurWidth:0,blurHeight:0},nw={src:"/_next/static/media/Title-with-text.2a88d207.svg",height:45,width:92,blurWidth:0,blurHeight:0},nS={src:"/_next/static/media/Title-with-timeline.5a8d1065.svg",height:63,width:91,blurWidth:0,blurHeight:0};let nC=()=>[{name:N.ag._({id:"RYtHky"}),key:"bullets",image:nx},{name:N.ag._({id:"m2tQ9E"}),key:"paragraphs",image:nw},{name:N.ag._({id:"2abZdy"}),key:"twoColImage",image:ny},{name:N.ag._({id:"cklVjM"}),key:"timeline",image:nS},{name:N.ag._({id:"cDxTeG"}),key:"imagesWithText",image:nk},{name:N.ag._({id:"61H/21"}),key:"boxes",image:nv}],nz=["bullets","paragraphs","twoColImage","sideImageWithText","timeline","imagesWithText","boxes","arrows","columns","pyramid","bigBullets","icons","chart"],nA={language:"English (US)",textAmount:"md",tone:"",audience:"",format:"deck",imageProvider:"aiGenerated"},nI=e=>{let{editor:t,getPos:n,theme:l,input:a,randomTemplate:o=!1}=e,{generate:i}=(0,tx.jz)("GenerateCard",{}),s=(0,I.CG)(j.yx),[d,c]=(0,A.useState)(!1),m=(0,I.qr)(),f=(0,A.useCallback)(async e=>{if(!s||!s.organization)throw Error("Doc or organization not found");let{instructions:t="",template:n,input:a="",settings:o}=e,r=(0,tw.nZ)(),d=performance.now(),u=t9(m),c={...nA,...o,editorMode:"structured",textMode:"generate",input:a,instructions:t,template:n,previous:e.context,outline:u,model:ei.VH.get("anthropicGenerate")?"claude-3-haiku-20240307":"gpt-3.5-turbo-1106"},f=null==o?void 0:o.imageStyle;"aiGenerated"===c.imageProvider&&l&&(f=(0,es.A)(l));let p={interface:"add-card",interactionId:r,inputContent:a,inputMessage:t,inputData:{...o,template:n},product:(0,t4.K9)(s.organization),docId:s.id};(0,tw.hq)(p);let{promise:g}=i({workspaceId:s.organization.id,variables:c,interactionId:r}),h=await g,b=await tH(h,{docFormatKey:c.format,loadImages:!1,theme:l,context:{workspaceId:s.organization.id,docId:s.id,interactionId:r},imageOptions:{provider:c.imageProvider,generateStyle:f},preserveLayouts:!0});return(0,tw.o)({...p,outputContent:h,latency:performance.now()-d}),(0,t2.d)("generateCard",s.organization,r),b},[i,s,l,m]),{template:p,settings:g}=a,h=nj(),b=nm(g.locale||(null==h?void 0:h.settings.locale)||"en"),y=(0,A.useCallback)(async e=>{if(!t)return;let a=n(),i=t.view.state.doc.nodeAt(a);if(!i){console.error("[AICard] Cannot append card. Node unknown");return}let s=nB(t,a);c(!0);try{let n=await f({input:e,template:p||(o?t7()(nz):void 0),context:s,settings:{language:b.englishName}});n.attrs={...i.attrs,...n.attrs,container:{...i.attrs.container,...n.attrs.container},generatorInput:{...i.attrs.generatorInput,prompt:e,template:p,settings:g,status:"done"}};let d=(0,r.N2)(t.state.doc,e=>(0,u.KH)(e)&&e.attrs.id===i.attrs.id)[0];if(!d){console.warn("[useGenerateCard] Card not found. It may have been deleted while generating.");return}t.chain().insertContentAt({from:d.pos,to:d.pos+d.node.nodeSize},n).setMeta("isGenerateCard",!0).selectInsideCardBody(a).run();let c=ty.NB.fromJSON(t.state.schema,n);t1(t,c,l)}catch(e){console.error("[GenerateCard] Error generating card",e)}c(!1)},[f,t,n,l,p,g,b]),v=(0,A.useCallback)(e=>{let l=n(),a=t.view.state.doc.nodeAt(l),o=null==a?void 0:a.attrs.generatorInput;o&&t.commands.updateNestedAttributesAtPos(l,{generatorInput:e})},[t,n]);return{isGenerating:d,getContextAndGenerate:y,updateInput:v,locale:b}},nj=()=>{var e,t,n,l;let a=(0,I.CG)(j.yx),o=null==a?void 0:null===(t=a.docGenerateInput)||void 0===t?void 0:null===(e=t.docGeneration)||void 0===e?void 0:e.id,i=null==a?void 0:null===(n=a.docGenerateInput)||void 0===n?void 0:n.id,{data:r}=(0,nh.Y96)({variables:{id:o||""},skip:!o}),s=null==r?void 0:r.docGeneration,d=null==s?void 0:null===(l=s.docGenerateInputs)||void 0===l?void 0:l.find(e=>e.id===i);return d},nF=e=>{let[t,n]=(0,A.useState)([]),[l,a]=(0,A.useState)("ready"),{generate:o}=(0,tx.jz)("SuggestCardTopics",{onStart(){a("generating"),n([])},onContent(e){n(e.split("\n").filter(Boolean))},onComplete(e){n(e.split("\n").filter(Boolean)),a("done")},onError(e){console.error("Error generating suggestions",e),a("error")},timeout:3e4}),i=(0,I.CG)(j.yx),r=nj(),s=(0,I.qr)();return(0,A.useEffect)(()=>{if(e&&"ready"===l){let e=t9(s);e.trim().split("\n").length<3||o({variables:{outline:e,format:(null==r?void 0:r.format)||nA.format},workspaceId:i.organization.id})}},[l,o,e,s,r,i]),{suggestions:t,generateSuggestionsStatus:l}},nB=(e,t)=>{let n=(0,nb.Ck)(e.state.doc,Math.max(t-2e3,0),t),l=(0,t6.xk)(n).slice(-500),a=(0,t6.Zs)(l);return a},nM=e=>{let{editor:t,getPos:n,cardId:l}=e,{generate:a}=(0,tx.jz)("EditCard",{}),o=(0,I.CG)(j.yx),i=(0,I.CG)(j.Pu),r=(0,I.qr)(),s=(0,I.CG)((0,eo.P3)(l)),d=nj(),u=(0,A.useCallback)(async e=>{let{instructions:t="",previous:n,inputHtml:s,operation:u}=e,c=(null==d?void 0:d.format)||"deck",m=(null==d?void 0:d.settings.imageProvider)||ei.VH.get("aiGeneratorDefaultImageProvider");if(!o||!o.organization)throw Error("Doc or organization not found");let f=(0,tw.nZ)(),p=performance.now(),g=t9(r),h={interface:"edit-card",interactionId:f,inputContent:s,inputMessage:t,inputData:{custom:!!u,operation:null==u?void 0:u.key,operationGroup:null==u?void 0:u.group,format:c,imageProvider:m},product:(0,t4.K9)(o.organization),docId:o.id,cardId:l};try{let{promise:e}=a({workspaceId:o.organization.id,variables:{inputHtml:s,request:t,format:c,outline:g,previousHtml:n,template:null==u?void 0:u.template,imageProvider:m},interactionId:f}),l=null==d?void 0:d.settings.imageStyle;!l&&"aiGenerated"===m&&i&&(l=(0,es.A)(i)),(0,tw.hq)(h);let r=await e;console.log("[EditCard] Response",r);let b=(0,tv.Jn)(r),y=await tH(b,{docFormatKey:c,loadImages:!1,context:{workspaceId:o.organization.id,docId:o.id,interactionId:f},imageOptions:{provider:m,generateStyle:l},theme:i});return(0,tw.o)({...h,outputContent:b,outputMessage:r.replace(b,"[outputContent]"),latency:performance.now()-p}),(0,t2.d)("editCard",o.organization,f),{output:y,interactionId:f}}catch(e){throw(0,tw.pQ)({...h,errorMessage:e.message,errorCode:e.code,errorName:e.name,outputMessage:"Error editing card",latency:performance.now()-p}),e}},[a,o,i,r,l]),c=(0,A.useCallback)(async e=>{let{instructions:a,operation:o}=e,i=n(),s=t.view.state.doc.nodeAt(i);if(!s){console.error("[AICard] Cannot append card. Node unknown");return}try{var d,c;r.dispatch((0,eo.t)({cardId:l,suggestions:{status:"loading",loadingMessage:null==o?void 0:null===(d=o.loadingMessage)||void 0===d?void 0:d.call(o),variants:[]}}));let e=nB(t,i),n=(0,tk.c)(t,s),{output:m,interactionId:f}=await u({instructions:a,operation:o,inputHtml:n,previous:e});m.attrs={...s.attrs,layout:m.attrs.layout,layoutTemplateColumns:m.attrs.layout!==s.attrs.layout?m.attrs.layoutTemplateColumns:s.attrs.layoutTemplateColumns},nE(t,l,m),r.dispatch((0,eo.t)({cardId:l,suggestions:{status:"done",interactionId:f,selected:"v1",operation:o,instructions:a,variants:[{label:N.ag._({id:"HxF6Fk"}),isOriginal:!0,id:"original",card:s.toJSON()},{label:(null==o?void 0:null===(c=o.variationName)||void 0===c?void 0:c.call(o))||N.ag._({id:"YledUl"}),isOriginal:!1,id:"v1",card:m}]}}))}catch(e){console.error("[EditCard] Error regenerating card",e),r.dispatch((0,eo.t)({cardId:l,suggestions:{status:"error",variants:[]}}))}},[u,t,n,r,l]);return{editCard:c,status:s}},nE=(e,t,n)=>{let l=(0,r.N2)(e.state.doc,e=>(0,u.KH)(e)&&e.attrs.id===t)[0];if(!l){console.warn("[useGenerateCard] Card not found. It may have been deleted while generating.");return}e.chain().setMeta("isEditCardVariant",!0).setMeta("cardNotesHandled",!0).insertContentAt({from:l.pos,to:l.pos+l.node.nodeSize},n).selectInsideCardBody(l.pos).run();let a=ty.NB.fromJSON(e.state.schema,n),o=(0,j.Pu)((0,I.bh)().getState());t1(e,a,o)},n_=e=>{let{attrs:t,editor:n,getPos:l}=e,{color:a,bg:o,hoverColor:i,hoverBg:r,borderColor:s}=(0,eP.lv)(),d=(0,A.useRef)(null),{status:u,editCard:c}=nM({editor:n,getPos:l,cardId:t.id}),m=(0,tm.YO)(void 0,"editCard",e5.AA.GAMMA_UPSELL_CALLOUT_AI_CREDITS_GENERATE_CARD),f=(0,A.useCallback)(e=>{let t=m();t&&c(e)},[m,c]),p=(0,I.TL)(),g=(0,I.CG)((0,tt.OU)(t.id,"editWithAI")),h=(0,A.useCallback)(()=>{p((0,tt.RD)())},[p]),b=(0,A.useCallback)(()=>{p((0,tt.A7)({cardId:t.id,menuType:"editWithAI"}))},[p,null==t?void 0:t.id]);(0,ek.O)({ref:d,handler:e=>{if(!g)return;let n=e.target,l=null==n?void 0:n.closest('[data-card-ai-edit-menu-trigger="'.concat(t.id,'"]'));l||h()}});let y=(0,A.useRef)(null),v=(0,ei.ye)("editCard2");return v?(0,z.jsx)(ea.Wk,{isDark:!1,children:(0,z.jsxs)(eU.v,{isLazy:!0,onClose:h,onOpen:b,isOpen:g,closeOnBlur:!1,initialFocusRef:y,children:[(0,z.jsx)(ea.kH,{label:(0,z.jsx)(R.cC,{id:"EVnzPs"}),placement:"top",shouldWrapChildren:!0,children:(0,z.jsxs)(eH.j,{as:_.z,isActive:g,"data-card-ai-edit-menu-trigger":t.id,height:tn.fD,fontWeight:"900",alignItems:"center",fontFamily:"Inter, sans-serif",display:"flex",backdropFilter:"blur(8px)",borderRadius:"sm",borderColor:s,color:a,boxShadow:"sm",cursor:"pointer",fontSize:"14px",bg:o,px:.5,_hover:{color:i,background:r},isLoading:"loading"===u,pointerEvents:"auto",children:[(0,z.jsx)(T.G,{icon:td.JyM,fixedWidth:!0}),(0,z.jsx)(ev.v,{})]})}),(0,z.jsx)(ez.h,{children:(0,z.jsxs)(eG.q,{"data-card-ai-menu":!0,minWidth:"320px",width:"fit-content",maxWidth:"min(360px, 80vw)",fontFamily:"Inter, sans-serif",fontSize:"md",border:"none","data-card-ai-edit-menu-trigger":t.id,children:[(0,z.jsx)(to.k,{children:(0,z.jsxs)(ti.B,{size:"sm",mb:2,children:[(0,z.jsx)(tr.Z,{fontSize:"sm",color:"orchid.300",children:(0,z.jsx)(T.G,{icon:td.JyM})}),(0,z.jsx)(tu.o,{initialHeight:"32px",ref:y,pl:7,py:1.5,borderRadius:"xl",maxlength:300,onKeyDown:e=>{var t,n;if("Enter"===e.key&&!e.shiftKey){e.preventDefault(),e.stopPropagation();let t=null===(n=y.current)||void 0===n?void 0:n.value;if(!t)return;f({instructions:t}),h()}"ArrowDown"===e.key&&(null===(t=y.current)||void 0===t?void 0:t.value.length)===0&&(e.preventDefault(),e.stopPropagation(),d.current&&d.current.focus())},placeholder:N.ag._({id:"vKZEFh"})})]})}),tb.map((e,t)=>{let n=th[e.key];return n&&0!==n.length?(0,z.jsx)(to.k,{title:e.label(),children:n.map((e,n)=>(0,z.jsx)(ts.s,{icon:(0,z.jsx)(T.G,{icon:e.icon,fixedWidth:!0}),onClick:()=>{f({instructions:e.instructions,operation:e}),h()},ref:0===n&&0===t?d:null,children:(0,z.jsxs)(E.U,{children:[(0,z.jsx)(M.x,{children:e.label()}),(0,z.jsx)(el.L,{}),(0,z.jsx)(tc.J,{type:"editCard",colorScheme:"blackAlpha",color:"blackAlpha.600",fontSize:"sm"})]})},e.key))},e.key):null})]})})]})}):null};var nO=n(50019),nP=n(57124);let nT=e=>{let{suggestions:t,cardId:n,isDark:l,editor:a,getPos:o,attrs:i}=e,{color:r,bg:s}=(0,eP.lv)(),d=(0,eP.et)(),{status:u,variants:c,selected:m,loadingMessage:f,interactionId:p,instructions:g,operation:h}=t,b=(0,I.TL)(),y=(0,A.useCallback)((e,t)=>{b((0,eo.dx)({cardId:n,variantId:e})),nE(a,n,t)},[b,n,a]),v=(0,e5.z$)(),k=(0,A.useCallback)(()=>{var e;null==v||v.track(e5.AA.AI_CARD_VARIATION_KEPT,{cardId:n,variantId:m,isOriginal:null===(e=c.find(e=>e.id===m))||void 0===e?void 0:e.isOriginal,interactionId:p,source:"button"}),b((0,eo.Mq)({cardId:n}))},[b,n,m,v,c,p]),{editCard:x}=nM({editor:a,getPos:o,cardId:i.id}),w=(0,tm.YO)(void 0,"editCard",e5.AA.GAMMA_UPSELL_CALLOUT_AI_CREDITS_GENERATE_CARD),S=(0,A.useCallback)(()=>{let e=w();if(!e)return;let t=c.find(e=>e.isOriginal);if(!g||!t){console.error("No instructions or original to try again");return}y(t.id,t.card),null==v||v.track(e5.AA.AI_CARD_VARIATION_KEPT,{cardId:n,variantId:t.id,isOriginal:!0,interactionId:p,source:"retry"}),x({instructions:g,operation:h})},[w,x,g,h,y,c]),C=(0,nO.ff)("trueblue.500","trueblue.100"),j=(0,nO.ff)("trueblue.50","gray.700"),F=(0,nO.ff)("red.100","red.700"),O=(0,nO.ff)("red.500","red.100"),L=(0,nP.Y)("unlimited_credits");return(0,z.jsx)(E.U,{contentEditable:!1,userSelect:"none",align:"center",position:"absolute",left:"50%",transform:"translateX(-50%)",marginLeft:-3,pointerEvents:"auto",spacing:2,children:"loading"===u?(0,z.jsxs)(E.U,{borderWidth:"1px",...d,pointerEvents:"none",children:[(0,z.jsx)(T.G,{icon:td.JyM}),(0,z.jsxs)(M.x,{children:[f||(0,z.jsx)(R.cC,{id:"RQqcwV"}),"..."]})]}):"error"===u?(0,z.jsxs)(E.U,{borderWidth:"1px",...d,_hover:{},bg:F,color:O,children:[(0,z.jsx)(T.G,{icon:P.e7M}),(0,z.jsx)(M.x,{children:(0,z.jsx)(R.cC,{id:"nwtY4N"})}),(0,z.jsx)(eR.h,{"aria-label":N.ag._({id:"yz7wBu"}),size:"xs",minW:4,minH:4,h:4,isRound:!0,variant:"ghost",onClick:k,icon:(0,z.jsx)(T.G,{icon:P.NBC}),colorScheme:l?"white":"blackAlpha"})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(B.h,{spacing:0,p:0,isAttached:!0,children:c.map((e,t)=>(0,z.jsx)(_.z,{...d,color:m===e.id?C:r,bg:m===e.id?j:s,variant:m===e.id?"plainSelected":"plain",onClick:()=>y(e.id,e.card),position:"relative",left:0===t?0:"-1px",children:e.label},e.id))}),(0,z.jsx)(ea.kH,{label:(0,z.jsxs)(en.g,{spacing:.5,pb:1,children:[(0,z.jsx)(M.x,{children:(0,z.jsx)(R.cC,{id:"KDw4GX"})}),!L&&(0,z.jsx)(tc.J,{type:"generateCard",ml:0})]}),placement:"top",children:(0,z.jsx)(eR.h,{...d,icon:(0,z.jsx)(T.G,{icon:td.jHE}),onClick:S,"aria-label":N.ag._({id:"KDw4GX"})})}),(0,z.jsx)(ea.kH,{label:(0,z.jsx)(R.cC,{id:"MuX+Gc"}),placement:"top",children:(0,z.jsx)(eR.h,{...d,icon:(0,z.jsx)(T.G,{icon:td.LEp}),"aria-label":N.ag._({id:"MuX+Gc"}),onClick:k})})]})})};var nR=n(81540),nN=n(53027);let nL=e=>{let{theme:t,editor:n,getPos:l,updateAttributes:a,input:o}=e,{getContextAndGenerate:i,isGenerating:r}=nI({theme:t,editor:n,getPos:l,input:o,randomTemplate:!0}),s=(0,tm.YO)(()=>i(o.prompt),"generateCard",e5.AA.GAMMA_UPSELL_CALLOUT_AI_CREDITS_GENERATE_CARD),d=(0,eP.et)(),u=(0,nP.Y)("unlimited_credits");return(0,z.jsx)(E.U,{contentEditable:!1,userSelect:"none",align:"center",position:"absolute",left:"50%",transform:"translateX(-50%)",marginLeft:-3,pointerEvents:"auto",children:r?(0,z.jsx)(F.xu,{px:4,children:(0,z.jsx)(nR.$,{size:"xs",color:"purple.500"})}):(0,z.jsxs)(B.h,{spacing:2,children:[(0,z.jsx)(ea.kH,{label:(0,z.jsx)(R.cC,{id:"K1Ro+T"}),placement:"top",children:(0,z.jsx)(eR.h,{...d,icon:(0,z.jsx)(T.G,{icon:td.acZ}),"aria-label":N.ag._({id:"K1Ro+T"}),onClick:()=>a({layoutTemplateColumns:null,generatorInput:{...nN.d,prompt:o.prompt}})})}),(0,z.jsx)(ea.kH,{label:(0,z.jsxs)(en.g,{spacing:.5,pb:1,children:[(0,z.jsx)(M.x,{children:(0,z.jsx)(R.cC,{id:"KDw4GX"})}),!u&&(0,z.jsx)(tc.J,{type:"generateCard",ml:0})]}),placement:"top",children:(0,z.jsx)(eR.h,{...d,icon:(0,z.jsx)(T.G,{icon:td.jHE}),onClick:s,"aria-label":N.ag._({id:"KDw4GX"})})}),(0,z.jsx)(ea.kH,{label:(0,z.jsx)(R.cC,{id:"fyn0X5"}),placement:"top",children:(0,z.jsx)(eR.h,{...d,icon:(0,z.jsx)(T.G,{icon:td.LEp}),"aria-label":N.ag._({id:"fyn0X5"}),onClick:()=>a({generatorInput:null})})})]})})};var nD=n(73235),nW=n(28165),nU=n(24551),nH=n(90439);function nG(){let e=(0,nD._)(["\n 0% {\n margin-inline: 0;\n }\n 100% {\n margin-inline: var(--nested-card-margin);\n }\n"]);return nG=function(){return e},e}let nq=(0,nW.F4)(nG()),nV=e=>{let{attrs:t,isFullBleed:n,displayFullBleed:l,isNested:a,isPresentMode:o,isEditable:i,isFocused:r,isDark:s,isLetterboxed:d,showPresentBackdrop:u,theme:c,children:m}=e,{id:f,container:p}=t,g=(0,nU.cy)(c),h=(0,eX.BA)(c,p),b=l&&g.cardFullBleedSx?g.cardFullBleedSx:g.cardSx,y=o&&!a,v=(0,G.l)(c,p.background?h:void 0),k=n?{width:a||d?"var(--card-width)":"100%"}:{zIndex:a?1:void 0,width:"var(--card-width)"},x=y?{minW:u||d?"auto":"100%",maxW:"var(--card-max-width)",minH:"var(--card-min-height)",my:"auto"}:{minW:"0%",minH:"var(--card-min-height)"},w=nH.cx?0:C.nY;return(0,z.jsxs)(ef.k,{className:(0,O.cx)(C.ar),"data-card-body":f,"data-selection-ring":!0,"data-guider-highlight":"card-body","data-content-reference":!0,"data-hide-comments":o&&!u,transitionProperty:"min-height, min-width, width, font-size, padding",transitionDuration:"".concat(w,"ms"),fontSize:"var(--font-size)",animation:a?"".concat(nq," ").concat(w,"ms ease-out forwards"):void 0,position:"relative",...k,...x,css:{"--grid-outline-color":s?"var(--chakra-colors-gray-700)":"var(--chakra-colors-gray-200)",...v},justify:"center",borderRadius:l?0:"var(--card-border-radius)",pl:n&&!a?"var(--doc-padding-left)":void 0,pr:n&&!a?"var(--doc-padding-right)":void 0,_hover:i&&l&&!r?{"> .card-body-background":{outline:"2px solid var(--grid-outline-color)"}}:void 0,outline:d?"max(50vw, 50vh) solid black":void 0,children:[(0,z.jsx)(F.xu,{position:"absolute",inset:"0",sx:b,className:"card-body-background",borderRadius:"inherit",contentEditable:!1,zIndex:o?-1:void 0,outline:r?"2px solid var(--chakra-ring-color)":void 0,outlineOffset:n&&!o?"-2px":void 0,border:a&&"0em"===v["--card-border-width"]?"1px solid var(--neutral-border-color)":void 0}),(0,z.jsx)(ea.Wk,{isDark:s,children:m})]})};var nK=n(86323),nY=n(9726),n$=n(4878),nJ=n(94297),nX=n(69251),nZ=n(4471),nQ=n(67261);let n0=(0,A.memo)(function(e){let{editor:t,appendCard:n}=e,l={bgColor:(0,nO.ff)("gray.50","blackAlpha.900")};return(0,z.jsx)(eI.K,{p:2,bg:l.bgColor,children:(0,nJ.V)().map(e=>{let{subcategory:l,items:a}=e,o=a.filter(e=>!(0,nZ.pP)(t,e,!1));if(0!==o.length)return(0,z.jsxs)(eI.K,{spacing:1,children:[(0,z.jsx)(ea.NZ,{flex:"1",textAlign:"left",children:l}),(0,z.jsx)(nX.r,{gap:"1.5",gridTemplateColumns:"1fr 1fr 1fr",children:o.map(e=>(0,z.jsx)(ea.kH,{label:(0,z.jsx)(R.cC,{id:"BPbkIF"}),placement:"top",children:(0,z.jsx)(F.xu,{cursor:"pointer",onClick:()=>{n(e.key)},borderRadius:"xl",_hover:{boxShadow:"lg"},transitionProperty:"box-shadow",transitionDuration:"normal",children:(0,z.jsx)(nQ.Nb,{item:e})})},e.key))})]},l)})})}),n1=(0,A.memo)(function(e){let{editor:t,getPos:n,display:l,isNested:a}=e,o=(0,n$.TZ)(),i=(0,ei.ye)("aiRewrite")&&!o,r=(0,A.useCallback)(e=>{let l=(0,nJ.A)(),a=n(),o=t.view.state.doc.nodeAt(a);if(!o){console.error("[CardDivider] Cannot append card. Node unknown");return}let i=a+o.nodeSize,r=(0,nY.e)().blankCard;e&&(r=(0,nY.e)()[e]);let s="aiCardAfter"===e?e5.fe.CARD_DIVIDER_AI:e?e5.fe.CARD_DIVIDER_DROPDOWN:e5.fe.CARD_DIVIDER,d="aiCardAfter"===e?{key:"aiCardAfter",nodeName:"card"}:e?l[e]:l.blankCard;(0,nK.ZT)(d,s),t.chain().insertContentAt(i,(0,tI.Zs)(r)).focus().selectInsertedNode().run()},[t,n]),s=(0,nO.ff)("gray.100","gray.700"),d=(0,ei.ye)("addCard2");return(0,z.jsx)(eU.v,{isLazy:!0,children:e=>{let{isOpen:n}=e;return(0,z.jsx)(ef.k,{contentEditable:!1,suppressContentEditableWarning:!0,className:"card-divider","data-is-nested-card":String(a),position:"absolute",zIndex:2,bottom:-4,w:"100%",justify:"center",align:"center",display:l,opacity:n?1:0,transitionProperty:"opacity",transitionDuration:"normal","data-print-hidden":!0,"data-id":"card-divider",children:(0,z.jsxs)(B.h,{size:"sm",isAttached:!0,"data-guider-highlight":"add-card-button",className:"card-divider-button-group",variant:"plain",shadow:"md",borderRadius:"md",opacity:"1",transitionProperty:"opacity",transitionDuration:"normal",children:[(0,z.jsx)(ea.kH,{label:(0,z.jsx)(R.cC,{id:"7iE+3N"}),children:(0,z.jsx)(eR.h,{className:"insert-card-button",variant:"plain","aria-label":N.ag._({id:"g+7nXG"}),icon:(0,z.jsx)(T.G,{icon:td.r8p}),onClick:()=>r(),onMouseDown:eO.Wg,size:"sm",shadow:"none",borderRadius:"md",minW:12,transitionProperty:"none",borderColor:s})}),i&&(0,z.jsx)(ea.kH,{label:(0,z.jsx)(R.cC,{id:"kLZLXX"}),children:(0,z.jsx)(eR.h,{borderLeft:"none",className:"insert-ai-card-button",variant:"plain","aria-label":N.ag._({id:"g+7nXG"}),icon:(0,z.jsx)(E.U,{spacing:0,children:(0,z.jsx)(T.G,{icon:td.JyM})}),onClick:()=>{if(d){r("aiCardAfter");return}eE.pw.emit("queueDesignPartnerTask",{message:N.ag._({id:"JoMQgx",values:{placeholder:""}}),submit:!1})},onMouseDown:eO.Wg,size:"sm",shadow:"none",borderRadius:"md",minW:12,transitionProperty:"none",borderColor:s,borderRightRadius:"none"})}),(0,z.jsxs)(eS.J,{placement:"end",isLazy:!0,closeOnBlur:!0,closeOnEsc:!0,children:[(0,z.jsx)(ea.kH,{label:(0,z.jsx)(R.cC,{id:"UgOs5x"}),shouldWrapChildren:!0,children:(0,z.jsx)(eC.x,{children:(0,z.jsx)(eR.h,{"aria-label":"Add from template",size:"sm",shadow:"none",borderColor:s,icon:(0,z.jsx)(ev.v,{}),fontSize:"lg",fontWeight:"500",borderRadius:"md",borderLeftRadius:"none",borderLeft:"none","data-guider-highlight":"add-card-template-button",transitionProperty:"none",onMouseDown:eO.Wg})})}),(0,z.jsx)(ez.h,{children:(0,z.jsx)(eA.y,{shadow:"xl",maxH:"90vh",overflowY:"scroll",w:"400px",p:"0",children:(0,z.jsx)(n0,{editor:t,appendCard:r})})})]})]})})}})});var n2=n(70347);let n4=()=>(0,z.jsx)(F.xu,{position:"absolute",inset:"0",pointerEvents:"none",overflow:"hidden",display:{base:"none",lg:"block"},children:(0,z.jsxs)(F.xu,{position:"absolute",top:"var(--card-min-height)",left:"0",w:"100%",h:"1px",borderBottom:"2px dashed",borderBottomColor:"var(--body-color)",opacity:"0.15",children:[(0,z.jsx)(n5,{left:0}),(0,z.jsx)(n5,{right:0})]})}),n5=e=>(0,z.jsx)(ea.kH,{placement:"top",w:"250px",label:(0,z.jsx)(R.cC,{id:"0Gqs/k",components:{0:(0,z.jsx)(M.x,{}),1:(0,z.jsx)(M.x,{color:"gray.500"})}}),children:(0,z.jsx)(F.xu,{position:"absolute",w:"var(--card-inner-padding-x)",h:"".concat(20,"px"),top:"-".concat(10,"px"),pointerEvents:"auto",cursor:"help",...e})});var n3=n(67109),n9=n(82554),n8=n(92768),n7=n(87651),n6=n(16556),le=n(18292),lt=n(27599),ln=n(43997);(a=o||(o={})).DOC_EDITOR="docEditor",a.DASHBOARD="dashboard";var ll=n(29318),la=n(90221),lo=n(5740),li=n(75009),lr=n(17620),ls=n.n(lr);let ld=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{badge:e=>({...e,background:"var(--chakra-colors-trueblue-500)"}),dot:(e,t)=>{let{current:n}=t;return{...e,background:n?"var(--chakra-colors-trueblue-500)":"#ccc"}},popover:e=>({...e,borderRadius:"var(--chakra-radii-lg)"}),maskArea:e=>({...e,rx:5}),maskWrapper:t=>({...t,color:e?"white":t.color,opacity:e?.1:.2,pointerEvents:"none"}),clickArea:e=>({...e,pointerEvents:"none"})}};var lu=n(94199),lc=n(60742),lm=n(74409);let lf=e=>{let{title:t,body:n}=e;return(0,z.jsxs)(eI.K,{spacing:2,children:[t&&(0,z.jsx)(lm.X,{size:"md",mb:2,children:t}),"string"==typeof n?(0,z.jsx)(M.x,{size:"sm",children:n}):n]})};lf.displayName="StepContent";let lp='[data-guider-highlight="present-button-group"]',lg=".chakra-modal__close-btn",lh=()=>{var e;let t=document.querySelector(lp);if((null==t?void 0:null===(e=t.dataset)||void 0===e?void 0:e.editorMode)==="slide"){let e=t.querySelector("[data-present-button]");e.click()}},lb=()=>{let e=document.querySelector(lp);e&&(e.style.pointerEvents="none")},ly=()=>{let e=document.querySelector(lp);e&&(e.style.pointerEvents="initial")},lv=()=>{let e=document.querySelectorAll(lg);e.length&&e.forEach(e=>e.click()),setTimeout(()=>{(e=document.querySelectorAll(lg)).length&&e.forEach(e=>e.click())},1e3)},lk=()=>{lv(),lx(),lw()},lx=()=>{let e=document.querySelector("[data-design-partner-close-button]");e&&e.click()},lw=()=>{let e=document.querySelector("[data-comment-feed-close-button]");e&&e.click()},lS=(e,t,n)=>lC.filter(t=>(!n||!t.disableIfSite)&&(t.featureFlag?e[t.featureFlag]:!t.disableIfFeatureFlag||!e[t.disableIfFeatureFlag])).map(e=>ls()(e,["featureFlag"])).map(e=>{let{getColorModeStyles:n,styles:l,...a}=e,o=null==n?void 0:n(t);return l||n?{...a,styles:{...l||{},...o||{}}}:a}),lC=[{position:"center",selector:"#editor-core-root",content:function(){return(0,z.jsx)(lf,{title:(0,z.jsxs)(z.Fragment,{children:["\uD83D\uDC4B",(0,z.jsx)(R.cC,{id:"+QZ4e/"})]}),body:(0,z.jsx)(R.cC,{id:"ds7c6j"})})},getColorModeStyles:e=>({...ld(e),maskArea:t=>{var n,l;let a=null===(l=ld(e))||void 0===l?void 0:null===(n=l.maskArea)||void 0===n?void 0:n.call(l,t);return{...a,width:0,height:0}}}),action:()=>{lh(),(0,lc.u0)(lp).then(e=>{e&&(e.style.pointerEvents="none")})}},{selector:'[data-guider-highlight="insert-widget"]',position:"bottom",content:(0,z.jsx)(lf,{title:(0,z.jsx)(R.cC,{id:"rXeZsJ"}),body:(0,z.jsx)(R.cC,{id:"APYlHx"})})},{selector:'[data-guider-highlight="card-body"]',content:(0,z.jsx)(lf,{title:(0,z.jsx)(R.cC,{id:"fdElib"}),body:(0,z.jsxs)(eI.K,{spacing:4,children:[(0,z.jsx)(M.x,{size:"sm",children:(0,z.jsx)(R.cC,{id:"RTIp5N",values:{SLASH_CHAR:"/"},components:{0:(0,z.jsx)(lo.T,{})}})}),(0,z.jsx)(li.E,{src:"/_next/static/media/slashmenudemo.b7add09f.gif"})]})}),highlightedSelectors:['[data-guider-highlight="card-body"]',"[data-slash-menu-dropdown]"],mutationObservables:['[data-guider-highlight="card-body"]',"[data-slash-menu-dropdown]"],resizeObservables:['[data-guider-highlight="card-body"]',"[data-slash-menu-dropdown]"]},{selector:'[data-is-nested-card="false"] [data-guider-highlight="add-card-button"]',mutationObservables:['[data-is-nested-card="false"] [data-guider-highlight="add-card-button"]'],resizeObservables:["[data-card-body]",'[data-is-nested-card="false"] [data-guider-highlight="add-card-button"]'],position:"top",content:(0,z.jsx)(lf,{title:(0,z.jsx)(R.cC,{id:"sfxKlu"}),body:(0,z.jsx)(R.cC,{id:"n+FPgx"})}),action:e=>{(null==e?void 0:e.parentElement)&&(e.parentElement.style.opacity="1")}},{disableIfFeatureFlag:"filmstrip",selector:'[data-guider-highlight="table-of-contents-opener"]',content:(0,z.jsx)(lf,{title:(0,z.jsx)(R.cC,{id:"9FTolD"}),body:(0,z.jsx)(R.cC,{id:"++nawH"})}),highlightedSelectors:['[data-guider-highlight="table-of-contents-opener"]']},{featureFlag:"filmstrip",disableIfSite:!0,position:"right",selector:'[data-guider-highlight="filmstrip"]',content:(0,z.jsx)(lf,{title:(0,z.jsx)(R.cC,{id:"CCYL7B"}),body:(0,z.jsx)(R.cC,{id:"EabR2e"})}),resizeObservables:['[data-guider-highlight="filmstrip"]']},{selector:'[data-guider-highlight="toolbar-theme-button"]',content:(0,z.jsx)(lf,{title:(0,z.jsx)(R.cC,{id:"QtyPbT"}),body:(0,z.jsx)(R.cC,{id:"Uusrk7",values:{GAMMA_ARTIFACT_PROPER_NOUN:lu.Yc}})})},{selector:'[data-guider-highlight="share-button"]',disableIfSite:!0,content:(0,z.jsx)(lf,{title:(0,z.jsx)(R.cC,{id:"wDlQhv"}),body:(0,z.jsx)(R.cC,{id:"I4/IrC",values:{GAMMA_ARTIFACT_PROPER_NOUN:lu.Yc}})})},{selector:lp,disableIfSite:!0,content:(0,z.jsx)(lf,{title:(0,z.jsx)(R.cC,{id:"t9Er5O",values:{GAMMA_ARTIFACT_PROPER_NOUN:lu.Yc}}),body:(0,z.jsx)(M.x,{size:"sm",children:(0,z.jsx)(R.cC,{id:"aMJUxG",values:{UP_ARROW_CHAR:"↑",DOWN_ARROW_CHAR:"↓",LEFT_ARROW_CHAR:"←",RIGHT_ARROW_CHAR:"→",ESC_SHORTCUT:"Esc"},components:{0:(0,z.jsx)(lo.T,{size:"md"}),1:(0,z.jsx)(lo.T,{size:"md"}),2:(0,z.jsx)(lo.T,{size:"md"}),3:(0,z.jsx)(lo.T,{size:"md"}),4:(0,z.jsx)(lo.T,{size:"md"})}})})}),action:e=>{ly()}},{featureFlag:"aiChat",selector:'[data-guider-highlight="design-partner-button"]',content:(0,z.jsx)(lf,{title:(0,z.jsx)(R.cC,{id:"EVnzPs"}),body:(0,z.jsx)(M.x,{size:"sm",children:(0,z.jsx)(R.cC,{id:"crBePY"})})}),highlightedSelectors:['[data-guider-highlight="design-partner-button"]'],mutationObservables:['[data-guider-highlight="design-partner-button"]','[data-panelid="design-partner-panel"]',"[data-editor-toolbar]","[data-animate-value]"],resizeObservables:['[data-guider-highlight="design-partner-button"]','[data-panelid="design-partner-panel"]',"[data-editor-toolbar]","[data-animate-value]"]},{selector:'[data-guider-highlight="view-analytics-button"]',disableIfSite:!0,content:(0,z.jsx)(lf,{title:(0,z.jsx)(R.cC,{id:"wyUxeV"}),body:(0,z.jsx)(M.x,{size:"sm",children:(0,z.jsx)(R.cC,{id:"uNwZAg",values:{GAMMA_ARTIFACT_PROPER_NOUN:lu.Yc}})})}),highlightedSelectors:['[data-guider-highlight="view-analytics-button"]'],mutationObservables:['[data-guider-highlight="view-analytics-button"]','[data-panelid="design-partner-panel"]',"[data-editor-toolbar]"],resizeObservables:['[data-guider-highlight="view-analytics-button"]','[data-panelid="design-partner-panel"]',"[data-editor-toolbar]"]},{selector:'[data-guider-highlight="default-help-widget-activator"]',content:function(){return(0,z.jsx)(lf,{body:(0,z.jsx)(M.x,{size:"sm",children:(0,z.jsx)(R.cC,{id:"CkE4gJ",components:{0:(0,z.jsx)("strong",{}),1:(0,z.jsx)("strong",{})}})})})},getColorModeStyles:e=>({...ld(e),close:e=>({...e,display:"none"})})}].map(e=>({...e,action:t=>{lb(),e.action&&e.action(t)},actionAfter:t=>{lh(),lk(),e.actionAfter&&e.actionAfter(t)}}));var lz=n(88762);let lA=(e,t)=>{let{setIsOpen:n,setSteps:l,setMeta:a,setCurrentStep:i}=(0,lz.rN)(),r=(0,A.useCallback)(e=>{void 0!==e&&i(e),n(!0),a&&a(o.DOC_EDITOR),l&&l(t)},[i,n,a,l,t]);return{startTour:r}};n(57660),n(78462);let lI=()=>{let e=(0,I.CG)(j.yx),t=(0,ei.ye)("aiChat"),n=(0,ei.ye)("filmstrip"),l=(0,ll.Yy)(),a=!!(null==e?void 0:e.site),i=(0,A.useMemo)(()=>lS({aiChat:t,filmstrip:n},l,a),[t,n,l,a]),{startTour:r}=lA(o.DOC_EDITOR,i);return{startTour:r}};var lj=n(1196),lF=n(92850),lB=n(26468),lM=n(55199),lE=n(54326),l_=n(2338),lO=n(97217),lP=n(35183),lT=n(97166),lR=n(50250);let lN=e=>{let{selectedLocale:t,onLocaleSelect:n,buttonProps:l,menuListProps:a,matchWidth:o=!0}=e,i=(0,ei.ye)("i18nEnabled");return(0,R.mV)(),(0,z.jsx)(ef.k,{direction:"column",children:(0,z.jsxs)(eU.v,{matchWidth:o,children:[(0,z.jsx)(eH.j,{as:_.z,rightIcon:(0,z.jsx)(T.G,{size:"xs",icon:P.ptq}),minW:"150px",textAlign:"left",w:"100%",...l,children:t.displayName}),(0,z.jsx)(eG.q,{minWidth:"240px",maxH:"290px",overflowY:"auto",overflowX:"hidden",...a,children:(0,z.jsx)(eq._,{value:t.key,type:"radio",onChange:e=>{n(e)},children:(0,nn.DD)(i).map(e=>{let t=!i&&"private_beta"===nn.kf[e.key],n=!t&&"public_beta"===nn.kf[e.key];return(0,z.jsx)(eV.i,{value:e.key,isDisabled:t,children:(0,z.jsxs)(ef.k,{flex:1,alignItems:"center",children:[(0,z.jsxs)(ef.k,{direction:"column",children:[(0,z.jsx)(M.x,{children:e.displayName}),(0,z.jsx)(M.x,{fontSize:"12px",color:"gray.500",children:e.displayNameLocalized()})]})," ",(0,z.jsx)(el.L,{}),t?(0,z.jsx)(n9.C,{ml:2,fontSize:"0.75em",colorScheme:"blue",children:(0,z.jsx)(R.cC,{id:"VZeG/A"})}):n?(0,z.jsx)(n9.C,{ml:2,fontSize:"0.75em",colorScheme:"green",children:(0,z.jsx)(R.cC,{id:"YBt9YP"})}):null]})},e.key)})})})]})})},lL=()=>(0,I.CG)(ni.G5),lD=e=>{let t=(0,I.TL)();(0,A.useEffect)(()=>{t((0,ni.ZT)({locale:e||null}))},[e]),(0,A.useEffect)(()=>()=>{t((0,ni.ZT)({locale:null}))},[])},lW=e=>{var t;let{onClose:n}=e,l=(0,ex.p)(),{user:a}=(0,tB.SE)(),[o,i]=(0,A.useState)(!1),{setSettings:r}=(0,tB.SE)(),s=lL(),d=(0,A.useMemo)(()=>s,[]),[u,c]=(0,A.useState)(d);lD(u);let m=(0,A.useCallback)(async()=>{i(!0);try{await (null==r?void 0:r({set:{locale:u}})),l({title:(0,z.jsx)(R.cC,{id:"RRo9kN"}),position:"top",status:"success",isClosable:!0,duration:3e3}),n()}catch(e){console.error('[StandaloneLocaleModal.onSave] Error updating language for user with id "'.concat(null==a?void 0:a.id,'"'),e.message)}i(!1)},[u,n,r,l,null==a?void 0:a.id]),f=u!==(null==a?void 0:null===(t=a.settings)||void 0===t?void 0:t.locale);return(0,z.jsx)(ea.Wk,{isDark:!1,children:(0,z.jsxs)(lF.u_,{isOpen:!0,onClose:n,children:[(0,z.jsx)(lB.Z,{}),(0,z.jsxs)(lM.h,{children:[(0,z.jsx)(lE.x,{children:(0,z.jsx)(R.cC,{id:"+DEogc"})}),(0,z.jsx)(l_.o,{}),(0,z.jsx)(lO.f,{children:(0,z.jsxs)(lP.NI,{children:[(0,z.jsx)(lT.l,{children:(0,z.jsx)(R.cC,{id:"M3JKNC"})}),(0,z.jsx)(lN,{selectedLocale:nn.w$[u],onLocaleSelect:c})]})}),(0,z.jsx)(lR.m,{children:f?(0,z.jsxs)(B.h,{children:[(0,z.jsx)(_.z,{variant:"ghost",onClick:n,children:(0,z.jsx)(R.cC,{id:"dEgA5A"})}),(0,z.jsx)(_.z,{variant:"solid",onClick:m,isLoading:o,children:(0,z.jsx)(R.cC,{id:"tfDRzk"})})]}):(0,z.jsx)(_.z,{variant:"plain",onClick:n,children:(0,z.jsx)(R.cC,{id:"yz7wBu"})})})]})]})})};var lU=n(44663),lH=n(94220),lG=n(944);let lq=(0,A.memo)(e=>{let{children:t,...n}=e;return(0,la.s2)()?null:(0,z.jsx)(F.xu,{position:"fixed",bottom:4,right:4,zIndex:"overlay","data-print-hidden":!0,...n,children:t})});lq.displayName="HelpWidgetWrapper";var lV=n(34303);let lK=e=>{let t=(0,lG.gF)();return t?(0,z.jsx)(lY,{...e}):null},lY=(0,A.memo)(e=>{let{showShortcuts:t=!0,showTourReplay:n=!1}=e,{startTour:l}=lI(),a=(0,ln.I0)(),{isConnected:o}=(0,nh.$gs)(),i=(0,ei.ye)("intercom"),r=(0,ei.ye)("shareFeedback"),s=(0,lU.G)(),d=lL(),{isOpen:u,onOpen:c,onClose:m}=(0,le.q)(),{isOpen:f,onOpen:p,onClose:g}=(0,le.q)({id:"locale-modal"}),[h,b]=(0,na.I)("hasUnreadIntercom",!1),y=(0,e5.z$)(),v=window.Intercom,k=(0,A.useCallback)(()=>{b(!1),s()},[s,b]),x=(0,ll.Yy)();return(0,A.useEffect)(()=>{if(!v)return;v("onHide",()=>{a((0,lH.YZ)({isOpen:!1}))});let e=setInterval(()=>{document.querySelector("iframe.intercom-borderless-frame")&&b(!0)},1e3);return()=>{v("hide"),clearInterval(e)}},[a,v,b]),(0,z.jsx)(lq,{children:(0,z.jsxs)(ea.Wk,{isDark:x,children:[(0,z.jsxs)(eU.v,{children:[(0,z.jsx)(eH.j,{"data-guider-highlight":"default-help-widget-activator",as:eR.h,isRound:!0,position:"relative",size:"md","aria-label":N.ag._({id:"c3XJ18"}),icon:h?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(F.Cd,{position:"absolute",size:2.5,bg:"red.400",top:0,right:0}),(0,z.jsx)(T.G,{icon:P.qmU,className:"fa-beat-fade"})]}):(0,z.jsx)(T.G,{icon:P.Psp})}),(0,z.jsxs)(eG.q,{children:[(0,z.jsxs)(to.k,{children:[t&&(0,z.jsx)(ts.s,{onClick:c,icon:(0,z.jsx)(T.G,{fixedWidth:!0,icon:P.UFh}),children:(0,z.jsx)(R.cC,{id:"77Emn0"})}),n&&(0,z.jsx)(ts.s,{as:ew.r,_hover:{textDecoration:"none",shadow:"none"},onClick:()=>{null==y||y.track(e5.AA.DOC_EDITOR_TOUR_STARTED,{source:"help-widget"}),l(0)},icon:(0,z.jsx)(T.G,{fixedWidth:!0,icon:P.Wx7}),"data-guider-highlight":"replay-intro-tour",children:(0,z.jsx)(R.cC,{id:"/cFTPs"})}),(0,z.jsx)(ts.s,{as:ew.r,_hover:{textDecoration:"none",shadow:"none"},href:"https://ideas.gamma.app/changelog",target:"_blank",icon:(0,z.jsx)(T.G,{fixedWidth:!0,icon:P.vGs}),children:(0,z.jsx)(R.cC,{id:"PbLEFQ",values:{GAMMA_PROPER_NOUN:lu.N6}})})]}),(0,z.jsx)(lt.R,{}),(0,z.jsxs)(to.k,{children:[(0,z.jsx)(ts.s,{as:ew.r,_hover:{textDecoration:"none",shadow:"none"},href:"https://help.gamma.app",target:"_blank",icon:(0,z.jsx)(T.G,{fixedWidth:!0,icon:P.Y$T}),children:(0,z.jsx)(R.cC,{id:"CRzGla"})}),i&&o?(0,z.jsx)(ts.s,{icon:h?(0,z.jsxs)(F.xu,{position:"relative",children:[(0,z.jsx)(F.Cd,{position:"absolute",size:1.5,bg:"red.400",top:0,right:-1}),(0,z.jsx)(T.G,{fixedWidth:!0,icon:P.qmU,className:"fa-beat-fade"})]}):(0,z.jsx)(T.G,{fixedWidth:!0,icon:P.sNQ}),onClick:k,children:(0,z.jsx)(R.cC,{id:"mpby9d"})}):(0,z.jsx)(ts.s,{icon:(0,z.jsx)(T.G,{fixedWidth:!0,icon:P.FU$}),as:ew.r,_hover:{textDecoration:"none",shadow:"none"},href:"mailto:".concat(lj.p),children:(0,z.jsx)(R.cC,{id:"A0C9La"})}),r&&(0,z.jsx)(ts.s,{as:ew.r,_hover:{textDecoration:"none",shadow:"none"},href:"https://ideas.gamma.app/ideas",target:"_blank",icon:(0,z.jsx)(T.G,{fixedWidth:!0,icon:P.OH3}),children:(0,z.jsx)(R.cC,{id:"u5hSeG"})})]}),(0,z.jsx)(lt.R,{}),(0,z.jsx)(to.k,{children:(0,z.jsx)(ts.s,{icon:(0,z.jsx)(T.G,{fixedWidth:!0,icon:P.UvJ}),onClick:p,children:nn.w$[d].displayName})})]}),(0,z.jsx)(lV.J,{isOpen:u,onClose:m})]}),f&&(0,z.jsx)(lW,{onClose:g})]})})});lK.displayName="DefaultHelpWidget";var l$={src:"/_next/static/media/Stars-2.48f5ca51.svg"};let lJ={background:"linear-gradient(170deg, var(--chakra-colors-pink-100) 0%, var(--chakra-colors-salmon-100) 30% , var(--chakra-colors-orange-50) 100%)"},lX={background:"linear-gradient(170deg, var(--chakra-colors-pink-900) 0%, var(--chakra-colors-salmon-900) 30% , var(--chakra-colors-purple-900) 100%)"},lZ=(0,nW.F4)({"0%":{maskPosition:"0% 50%"},"50%":{maskPosition:"100% 50%"},"100%":{maskPosition:"0% 50%"}}),lQ=(0,A.memo)(e=>{let{children:t,...n}=e,l=(0,lG.gF)();return l?(0,z.jsxs)(ef.k,{w:"100%",minH:"100%",bgSize:"cover",bgPosition:"center center",...lJ,position:"relative",pt:4,className:"ai-page-wrapper",flex:"1",...n,children:[(0,z.jsx)(F.xu,{position:"fixed",zIndex:0,pointerEvents:"none",top:"0",width:"0",w:"100vw",minH:"var(--100vh)",bg:"url(".concat(l$.src,")"),bgRepeat:"repeat",bgPosition:"center center",sx:{animation:"".concat(lZ," 180s linear infinite"),maskImage:"linear-gradient(to left, rgba(0,0,0,.75), transparent, rgba(0,0,0,.75))",maskRepeat:"repeat",maskSize:"140px"}}),(0,z.jsx)(F.xu,{zIndex:1,w:"100%",flex:"1",children:t}),(0,z.jsx)(lK,{showShortcuts:!1})]}):null});lQ.displayName="AIPageWrapper";let l0=(0,A.memo)(e=>{let{locale:t,setLocale:n,buttonProps:l}=e,[a,o]=(0,A.useState)([]);(0,A.useEffect)(()=>{o(e=>{let n=nu.find(e=>e.key===t.key);if(n)return e;let l=[...e];return l.find(e=>e.key===t.key)||l.push(t),l})},[t.key]);let i=(0,A.useMemo)(()=>[...a,...ng],[a]);return(0,z.jsxs)(eU.v,{children:[(0,z.jsx)(eH.j,{as:_.z,size:"sm",boxShadow:"sm",variant:"ghost",rightIcon:(0,z.jsx)(T.G,{size:"xs",icon:P.ptq}),leftIcon:(0,z.jsx)(T.G,{size:"xs",icon:td.BCn}),minW:"150px",...l,children:t.displayName}),(0,z.jsx)(ez.h,{children:(0,z.jsx)(eG.q,{minWidth:"240px",maxH:"290px",overflowY:"auto",overflowX:"hidden",zIndex:"tooltip",children:(0,z.jsx)(eq._,{value:t.key,title:N.ag._({id:"vXIe7J"}),type:"radio",onChange:e=>{n(e)},children:i.map(e=>(0,z.jsx)(eV.i,{value:e.key,children:e.displayName},e.key))})})})]})});l0.displayName="AILocalePicker";var l1=n(21296),l2=n(20437),l4=n(82655),l5=n(55448);let l3=e=>{let{isDark:t,selectedTemplate:n,setSelectedTemplate:l}=e,a=nC(),o=t?"invert(.8) brightness(1.2)":"invert(0)",i=t?"invert(.8) brightness(2)":"invert(0)";return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(M.x,{color:"var(--body-color-muted)",fontSize:"sm",fontFamily:"Inter",fontWeight:"normal",children:(0,z.jsx)(R.cC,{id:"hQDrYd"})}),(0,z.jsxs)(l2.M,{spacing:2,columns:[2,3,5,a.length+1],children:[(0,z.jsx)(l5.L,{isDark:t,templateIcon:(0,z.jsx)(T.G,{icon:l4.Y$l,fixedWidth:!0,size:"lg"}),label:(0,z.jsx)(R.cC,{id:"wtGmzA"}),tooltip:N.ag._({id:"ERTBmO"}),isSelected:null===n,onClick:()=>l(null)}),a.map(e=>{let{key:a,image:r,name:s}=e,d=a===n;return(0,z.jsx)(l5.L,{isDark:t,templateIcon:(0,z.jsx)(li.E,{src:r.src,filter:d?i:o,bg:"white"}),tooltip:s,isSelected:d,onClick:()=>l(a)},a)})]})]})},l9=e=>{let{theme:t,handle:n,editor:l,getPos:a,input:o,displayFullBleed:i,isFocused:r}=e,{isGenerating:s,getContextAndGenerate:d,updateInput:u,locale:m}=nI({theme:t,editor:l,getPos:a,input:o}),f=(0,lG.Kt)(u,500),{prompt:p,template:g}=o,[h,b]=(0,A.useState)(p),y=(0,tm.YO)(()=>{u({prompt:h}),d(h)},"generateCard",e5.AA.GAMMA_UPSELL_CALLOUT_AI_CREDITS_GENERATE_CARD),v=(0,nO.ff)(!1,!0),k=(0,A.useRef)(null),{suggestions:x,generateSuggestionsStatus:w}=nF(r);if((0,A.useEffect)(()=>{r&&k.current&&setTimeout(()=>{var e;null===(e=k.current)||void 0===e||e.focus()})},[r]),s)return(0,z.jsxs)(ef.k,{position:"relative",maxW:"100%",w:"var(--card-width)",minH:32,contentEditable:"false",justify:"center",direction:"column",p:"var(--card-inner-padding)",children:[n,(0,z.jsxs)(eI.K,{zIndex:1,w:"100%",children:[(0,z.jsx)(n3.O,{height:"3em",w:"33%",mb:4}),(0,z.jsx)(n3.O,{height:"1.5em"}),(0,z.jsx)(n3.O,{height:"1.5em"}),(0,z.jsx)(n3.O,{height:"1.5em"}),(0,z.jsx)(n3.O,{height:"1.5em",w:"75%"})]})]});let S=v?lX:lJ;return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(c.ms,{style:{position:"absolute",opacity:0}}),(0,z.jsxs)(ef.k,{contentEditable:"false",w:"var(--card-width)",maxW:"100%",minH:32,position:"relative",borderRadius:i?"none":"var(--card-border-radius)",p:"var(--card-inner-padding)",direction:"column",justify:"center",m:"-1px",fontFamily:"Inter, sans-serif",onMouseDown:e=>{!(e.target instanceof HTMLElement&&e.target.closest(".drag-handle"))&&(e.preventDefault(),k.current&&k.current===document.activeElement?k.current.blur():l.view.hasFocus()&&l.commands.blur())},children:[(0,z.jsx)(F.xu,{...S,bgSize:"cover",bgPosition:"center center",borderRadius:"inherit",pos:"absolute",inset:0,pointerEvents:"none",w:i?"var(--editor-width)":void 0,left:i?"calc(50% - var(--doc-padding-left, 0px) / 2 + var(--doc-padding-right, 0px) / 2)":void 0,transform:i?"translateX(-50%)":void 0}),n,(0,z.jsx)(F.xu,{position:"absolute",zIndex:0,pointerEvents:"none",inset:0,bgImage:"url(".concat(l$.src,")"),bgRepeat:"repeat",bgPosition:"center center",sx:{animation:"".concat(lZ," 180s linear infinite"),maskImage:"linear-gradient(to left, rgba(0,0,0,.75), transparent, rgba(0,0,0,.75))",maskRepeat:"repeat",maskSize:"140px"},opacity:v?.2:1}),(0,z.jsx)(eR.h,{position:"absolute",top:2,right:2,variant:"ghost",colorScheme:v?"gray":"blackAlpha",isRound:!0,size:"sm","aria-label":N.ag._({id:"DIQZR1"}),icon:(0,z.jsx)(T.G,{fixedWidth:!0,icon:P.NBC}),onClick:()=>{f.cancel(),l.commands.deleteCard(a())}}),(0,z.jsxs)(eI.K,{spacing:4,pos:"relative",zIndex:1,maxWidth:"100%",children:[(0,z.jsxs)(E.U,{justify:"end",flexWrap:"wrap",children:[(0,z.jsx)(M.x,{fontFamily:"p22-mackinac-pro, sans-serif",fontWeight:700,fontSize:"2xl",color:v?"white":"gray.800",children:(0,z.jsx)(R.cC,{id:"8e1wQN"})}),(0,z.jsx)(n9.C,{colorScheme:"green",children:"Beta"}),(0,z.jsx)(el.L,{}),(0,z.jsx)(l1.r,{modalId:"ai-credits-modal-generate-card",variant:"ghost",isDark:v,justify:"flex-end",segmentEvent:e5.AA.GAMMA_UPSELL_CALLOUT_AI_CREDITS_GENERATE_CARD}),(0,z.jsx)(l0,{locale:m,setLocale:e=>u({settings:{locale:e}}),buttonProps:{variant:"plain",size:"sm",textAlign:"left",w:["100%","100%","auto"]}})]}),(0,z.jsxs)(ti.B,{color:v?"white":"gray.800",bg:v?"blackAlpha.900":"white",boxShadow:"sm",border:"none",borderRadius:"md",display:"flex",alignItems:"start",gap:"0",onMouseDown:eO.UW,_focusWithin:{boxShadow:"var(--chakra-shadows-sm), var(--chakra-shadows-outline)"},transitionProperty:"box-shadow",transitionDuration:"normal",children:[(0,z.jsx)(tu.o,{ref:k,"data-in-editor-focus":!0,fontWeight:"500",border:"none",fontSize:"lg",initialHeight:"4rem",placeholder:N.ag._({id:"BiLwIi"}),value:h,onChange:e=>{b(e.target.value),f({prompt:e.target.value})},onKeyDown:e=>{e.shiftKey||("Enter"===e.key?y():"ArrowDown"!==e.key||h?"ArrowUp"!==e.key||h||l.chain().focus(a()).selectInsideNextCard(!1).run():l.chain().focus(a()).selectInsideNextCard(!0).run())},_focus:{boxShadow:"none"},_focusVisible:{boxShadow:"none"},p:5}),(0,z.jsx)(n8.xW,{h:"100%",border:"none",color:v?"white":"gray.800",bg:v?"blackAlpha.900":"white",p:3,pl:0,alignItems:"end",display:["none","none","flex"],children:(0,z.jsxs)(_.z,{variant:"solid","aria-label":"Generate card",isDisabled:!h,onClick:y,onMouseDown:eO.br,children:[(0,z.jsx)(tc.J,{type:"generateCard",ml:0,mr:2}),(0,z.jsx)(T.G,{icon:td.XCy})]})})]}),(0,z.jsxs)(_.z,{variant:"solid","aria-label":"Generate card",isDisabled:!h,onClick:y,onMouseDown:eO.br,display:["flex","flex","none"],leftIcon:(0,z.jsx)(T.G,{icon:td.XCy}),children:[(0,z.jsx)(R.cC,{id:"ziAjHi"}),(0,z.jsx)(tc.J,{type:"generateCard",ml:0,mr:2})]}),(0,z.jsx)(n7.U,{in:!h&&(x.length>0||"generating"===w),children:(0,z.jsxs)(E.U,{direction:["column","row"],spacing:2,wrap:"wrap",children:[null==x?void 0:x.map((e,t)=>(0,z.jsx)(n6.Vp,{as:_.z,variant:"subtle",colorScheme:v?"whiteAlpha":"blackAlpha",color:v?"whiteAlpha.700":"blackAlpha.700",p:1,px:2,minH:"auto",h:"auto",onClick:()=>{b(e),u({prompt:e})},children:(0,z.jsx)(n6.Sn,{children:e})},t)),"generating"===w&&(0,z.jsxs)(n6.Vp,{variant:"subtle",colorScheme:v?"whiteAlpha":"blackAlpha",color:v?"whiteAlpha.500":"blackAlpha.500",children:[(0,z.jsx)(n6.AD,{boxSize:"12px",as:nR.$}),(0,z.jsx)(n6.Sn,{children:(0,z.jsx)(R.cC,{id:"AUV+TY"})})]})]})}),(0,z.jsx)(l3,{isDark:v,selectedTemplate:g,setSelectedTemplate:e=>u({template:e})})]})]})]})},l8=e=>{let{displayLayout:t,children:n,isExpandableSelected:l,isFocused:a,displayFullBleed:o,isPresentMode:i,isEditable:r,attrs:s,hasLayoutItem:d,onDoubleClick:u,cardDimensions:c,theme:m,handle:f,editor:p,getPos:g,updateAttributes:h}=e;if(s.generatorInput&&"done"!==s.generatorInput.status&&r)return(0,z.jsx)(l9,{theme:m,handle:f,editor:p,getPos:g,input:s.generatorInput,updateAttributes:h,displayFullBleed:o,isFocused:a});let b=(0,v.$U)(t),y=(0,v.jS)(t),k=s.layoutTemplateColumns,{logoUrl:x}=m,w=x&&i&&"right"!==t&&"top"!==t;return(0,z.jsxs)(F.xu,{className:(0,O.cx)(tn.CJ,l&&"expandable-selected"),onDoubleClick:u,w:"var(--card-width)",maxW:"100%",position:"relative",spellCheck:a,cursor:"auto",color:"var(--body-color)",sx:{["> .".concat(C.pL)]:{padding:d?void 0:"var(--card-inner-padding)",counterReset:"footnote",...w&&l7,'> [data-node-view-content-inner="card"]':{...d?{display:"grid",alignItems:"stretch",justifyContent:"stretch",minH:"100%",transitionDuration:"".concat(C.nY,"ms"),transitionProperty:"grid-template-columns, min-height",...b.grid,...k&&b.allowResizing&&{gridTemplateColumns:k},...y}:{display:"block",mx:"auto",maxW:"var(--max-content-width)",width:"100%",boxSizing:"border-box",minW:0},"> .node-cardLayoutItem":{"> [data-node-view-wrapper]":{"> .card-layout-cell-bg":{"> [data-node-view-content]":{"> [data-node-view-content-inner]":{maxWidth:"var(--max-content-width)",margin:"auto"},padding:"var(--card-inner-padding)"}}}}}}},children:[f,n,a&&c.aspectRatio&&(0,z.jsx)(n4,{}),w&&(0,z.jsx)(n2.LN,{})]})},l7={".first-block-in-card":{marginRight:"\n max(0px,\n calc(\n var(--logo-push-x) - \n max(\n calc((var(--card-width) - var(--max-content-width)) / 2),\n var(--card-inner-padding-x)\n )\n )\n )\n "}},l6=new ep.v;var ae=n(64467),at=n(98462);let an=e=>{let{hasNotes:t,isReadonly:n}=e;return t?n?(0,z.jsx)(R.cC,{id:"nqt+Fj"}):(0,z.jsx)(R.cC,{id:"+kQy/G"}):n?null:(0,z.jsx)(R.cC,{id:"GquPwe"})},al=e=>{let{cardId:t,decorations:n,editor:l,getPos:a,hasNonEmptyCardNotes:o,isReadonly:i,...r}=e,s=(0,A.useCallback)(()=>{let e=a();if(!i){let{hasCardNotesNode:t}=(0,S.$D)(n);t||(0,at.Fi)(l,e)}let o=(0,I.bh)(),r=(0,ae.AD)(o.getState());l6.emit("toggle",{clickedCardId:t,activeNotesCardId:r}),(0,at.vS)(l,e)||l.commands.selectInsideNodeAtPos(e)},[t,n,i,l,a]),{color:d,bg:u,hoverColor:c,hoverBg:m,borderColor:f}=(0,eP.lv)();return(0,z.jsx)(ea.kH,{label:(0,z.jsx)(an,{hasNotes:o,isReadonly:i}),placement:"top",children:(0,z.jsx)(_.z,{height:tn.fD,fontWeight:"900",alignItems:"center",fontFamily:"Inter, sans-serif",display:"flex",backdropFilter:"blur(8px)",borderRadius:"sm",borderColor:f,color:d,boxShadow:"sm",cursor:"pointer",pointerEvents:"auto",fontSize:"14px",bg:u,minW:"auto",px:2,_hover:{color:c,background:m},onMouseDown:eO.br,onClick:s,...r,children:(0,z.jsx)(F.xu,{as:"span",display:"inline-flex",children:(0,z.jsx)(T.G,{icon:o?td.s0r:P.s0r})})})})},aa=e=>{let{attrs:t,children:n,presentVariant:l,isPresentMode:a,isDark:o,isNested:i,isThumbnail:r,css:s}=e,{background:d,id:u}=t,c=(0,I.CG)(j.P7),m=i||r?void 0:(0,V.wh)(d,o);return(0,z.jsx)(ef.k,{onDragOver:eO.Gb,top:0,left:0,position:"relative",width:"100%",height:"100%",alignItems:"center",justifyContent:"center",cursor:"default","data-animate-value":l,fontSize:"var(--editor-font-size, 1rem)",py:"var(--card-outer-padding-y)",pl:"var(--card-outer-padding-left)",pr:"var(--card-outer-padding-right)","data-card-id":u,"data-card-scroll-element":!0,overflow:a&&!i?"hidden auto":void 0,sx:{scrollbarGutter:!a||i||nH.cx?void 0:"stable"},className:(0,O.cx)(C.vD,"card-expanded",a&&C.aY,a&&"card-present-mode card-present-mode--".concat(l)),transitionProperty:"transform, padding",transitionDuration:"".concat(c?C.id:0,"ms"),...m,css:s,children:n})};aa.displayName="CardContainer";var ao=n(1198);let ai=(0,z.jsx)(T.G,{icon:P.V9$}),ar=(0,A.memo)(function(e){let{cardId:t,getPos:n,editor:l,isNested:a,isCollapsed:o,isPresentMode:i,isEditable:s,isDark:d,top:c}=e,m=(0,e5.z$)(),f=(0,A.useCallback)(()=>{if(i&&!s)l.commands.spotlightCollapseCard(n());else{(0,y.Nn)(t,!0);let{selection:e}=l.state,a=(0,r.Kk)(u.KH)(e);a&&a.node.attrs.id===t&&l.commands.selectNodeAtPos(n())}null==m||m.track(e5.AA.CARD_COLLAPSED,{method:"collapse_button",is_present_mode:!1})},[l,n,m,t,s,i]),p=(0,ao.jj)(),g=(0,A.useMemo)(()=>(0,z.jsx)(ea.kH,{label:(0,z.jsx)(R.cC,{id:"kBUgVh"}),placement:"top",portalProps:{containerRef:p},children:(0,z.jsx)(eR.h,{variant:"ghost",size:"sm",pl:(0,la.s2)()?6:0,pr:(0,la.s2)()?2:0,onClick:f,onMouseDown:eO.br,colorScheme:"gray",isRound:!0,"aria-label":N.ag._({id:"H86f9p"}),"data-collapse-card-button":!0,icon:ai,color:d?"gray.300":"gray.600"})}),[f,p,d]),h=(0,A.useMemo)(()=>(0,z.jsx)(_.z,{size:"sm",variant:"ghost",position:"absolute",zIndex:2,bottom:[1,3],right:[2,4],rightIcon:(0,z.jsx)(T.G,{icon:P.mTx}),colorScheme:"gray","data-collapse-card-button":!0,onMouseDown:eO.br,onClick:f,fontWeight:"normal",color:d?"gray.300":"gray.600",children:(0,z.jsx)(R.cC,{id:"H86f9p"})}),[f,d]);return(0,z.jsxs)(ef.k,{contentEditable:!1,onClick:eO.UW,className:"manage-card-controls","data-print-hidden":!0,transitionProperty:"common",transitionDuration:"normal",display:"inherit",fontFamily:"Inter, sans-serif",sx:{"[data-collapse-card-button]":{visibility:a&&!o?"visible":"hidden"}},children:[(0,z.jsx)(E.U,{spacing:1,position:"absolute",top:c||[1,3],right:[2,4],zIndex:2,children:g}),a&&!o&&h]})});var as=n(56253);let ad=e=>{let t=(0,I.TL)(),n=(0,I.qr)(),{getPos:l,editor:a,decorations:o}=e,i=(0,Z.v)(e),{isPresentMode:r,isNested:s,isFocused:d,isEditable:u,isMobileDevice:m,cardAccentBackgroundMaskEffect:f,cardId:p,isFullBleed:g,hasNonEmptyCardNotes:h}=i,b=(0,as.HQ)(i),y=(0,ei.ye)("realUserMetrics");(0,er.MI)(y,p,i.presentVariant,i.prevPresentVariant);let v=(0,A.useCallback)(()=>{let e=(0,j.wc)(n.getState());e&&(t((0,j.e)({isEditingInSlideView:!0})),t((0,j.Qx)({attached:!1})),a.commands.turnOffSpotlight())},[a,t,n]),k=(0,eu.WE)(o),x=(0,em.EL)(o),w=(0,I.CG)((0,tt.OU)(p,"styling")),S=(0,I.CG)((0,tt.OU)(p,"editWithAI")),F=k||x||d,B=u&&(F||S||w),_=(0,ei.ye)("cardNotes"),P=_&&!s&&!a.isThumbnail&&!a.isStatic&&!m&&!a.shouldUsePublishedVersion&&!r&&(h||u&&F),T=(0,I.CG)((0,eo.l_)(p));return(0,z.jsx)(Y.lO,{as:"div",style:{minHeight:r&&!s?"100vh":0},hideComments:!0,...e,children:(0,z.jsxs)(aa,{...i,css:b,children:[(0,z.jsx)(nV,{...i,children:(0,z.jsxs)(l8,{...i,...e,onDoubleClick:r&&!u?v:void 0,handle:(0,z.jsx)($.A,{...e,"data-testid":"card-drag-handle",zIndex:ec.S.cardButtons,left:2,top:3,width:"18px",height:tn.fD,label:(0,z.jsxs)(en.g,{spacing:0,children:[(0,z.jsx)(M.x,{color:"gray.400",children:(0,z.jsx)(R.cC,{id:"63lY3K",components:{0:(0,z.jsx)(M.x,{color:"white",as:"span"})}})}),(0,z.jsx)(M.x,{color:"gray.400",children:(0,z.jsx)(R.cC,{id:"COhrZ5",components:{0:(0,z.jsx)(M.x,{color:"white",as:"span"})}})})]})}),children:[(0,z.jsx)(ey,{...e}),(0,z.jsxs)(E.U,{pos:"absolute",left:8,right:2.5,zIndex:ec.S.cardButtons,top:3,align:"start",contentEditable:!1,pointerEvents:"none",spacing:1.5,children:[B&&(0,z.jsx)(ta,{editor:a,getPos:l,...i,accentBackgroundMaskEffect:f}),B&&(0,z.jsx)(n_,{...e,...i}),(0,z.jsx)(el.L,{}),u?T?(0,z.jsx)(nT,{...e,...i,isDark:i.isDark,isInteracting:F,suggestions:T}):i.attrs.generatorInput?(0,z.jsx)(nL,{...e,...i,isDark:i.isDark,input:i.attrs.generatorInput,isInteracting:F}):null:null,(0,z.jsx)(el.L,{}),P&&(0,z.jsx)(al,{editor:a,cardId:p,decorations:o,getPos:l,hasNonEmptyCardNotes:h,isReadonly:!u})]}),(0,z.jsx)(c.ms,{className:(0,O.cx)(C.pL,d&&"is-focused",s&&"is-nested",(r||g)&&"is-full-width",g&&!s&&!r&&"is-borderless",i.isDark&&"is-dark")}),s&&(0,z.jsx)(ar,{top:[1,3],...i,...e})]})}),(0,z.jsx)(ed.a,{children:(0,z.jsx)(ea.Wk,{isDark:(0,es.wj)(i.theme),children:(0,z.jsx)(n1,{display:!u||s||r?"none":"flex",editor:a,getPos:l,isNested:s})})})]})})},au=e=>{let{node:t}=e,{id:n}=t.attrs,l=(0,I.CG)((0,j.yH)(n));return l?(0,z.jsx)(Q,{...e}):(0,z.jsx)(ad,{...e})};(()=>{if(w)return;let e=k.Q.valid;k.Q.valid=t=>{let n=(0,x.u)(t.doc);if(!n.cardLayoutsEnabled)return e(t);let l=e(t);return!(l&&(t.nodeAfter&&(0,u.pv)(t.nodeAfter)||t.nodeBefore&&(0,u.pv)(t.nodeBefore)))&&l},w=!0})();let ac=e=>{if((0,f.bR)(e)||1===e.childCount&&(0,f.bR)(e.firstChild))return!0;if("blank"!==e.attrs.layout)return!1;let t=(0,u.c6)(e);if(0===t.length)return!1;let n=t.find(e=>"body"===e.attrs.itemId);return!!n&&1===n.childCount&&(0,f.bR)(n.firstChild)},am=e=>{let{newNode:t,newDecorations:n,oldNode:l,oldDecorations:a,updateProps:o}=e,i=JSON.stringify(t.attrs)!==JSON.stringify(l.attrs),r=(0,b.I1)(a,n),s=ac(t)!==ac(l);return(i||r||s)&&(console.debug("[cardUpdateFn] Card ".concat(t.attrs.id," updateProps will be called:"),{oldDecorations:a,newDecorations:n,decorationsChanged:r}),o()),!0},af=r.NB.create({name:C.W4,content:"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?",group:"cardBlock",defining:!1,isolating:!0,selectable:!1,draggable:!0,priority:g.a.Card,containerHandle:!0,imageKeyPath:"background.image",expandable:!0,addNodeView(){return(0,c.fW)(au,{update:am,ignoreMutation:e=>{let{mutation:t}=e,n=this.editor.state.selection,l=t.target instanceof HTMLElement?t.target:t.target.parentElement,a="selection"!==t.type&&ap(l),o="selection"===t.type&&n instanceof s.qv&&(0,h.fP)(n.node);return!!a||!!o}})},addProseMirrorPlugins(){return[(0,S.xL)(this.editor)]},addOptions:()=>({isStatic:!1}),addAttributes:()=>({id:{},previewContent:{default:null},background:{default:m.jg,...(0,f.sw)("background")},container:{default:{},...(0,f.sw)("container")},cardSize:{default:"default"},layout:{default:"blank",parseHTML:e=>e.getAttribute("image-layout")||e.getAttribute("layout")||"blank"},layoutTemplateColumns:{default:null},generatorInput:{default:null,...(0,f.sw)("generatorInput")}}),addExtensions(){return[tI.pK.configure({callback:(e,t,n)=>{0!==t.length&&t.forEach(e=>{let{val:t,pos:n}=e;console.debug("[Card.UniqueCardId] New card id(".concat(t,") created. Will be created in postgres through content service.")),(0,y.Ay)(t)})},types:[this.name]})]},addCommands:()=>({}),parseHTML(){return[{tag:"div[class=gamma-card]"},{tag:"section"},{tag:"card[bookmark]",getAttrs:(0,p.xF)(this.storage),getContent:(0,p.eV)(this.storage)}]},renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,r.P1)(t,{class:"gamma-card"}),0]},addStorage:p.gk,renderHTMLforAI(e){let{node:t}=e,n=(0,y.HD)(t.attrs.id);if(!1===n)return["section",{"image-layout":t.attrs.layout},0];let l=(0,p.ml)(this.storage,t),a=(0,i.getCardTitle)(t.toJSON()),o=(0,v.Ap)(t);return["card",{bookmark:l,title:a,accentPosition:t.attrs.layout,accentImage:(null==o?void 0:o.image)?(0,d.K)(o.image):void 0}]}}),ap=e=>{var t;return(null==e?void 0:e.parentElement)&&(e.classList.contains(C.vD)||(null===(t=e.parentElement.closest(".".concat(C.pL,", .").concat(C.vD)))||void 0===t?void 0:t.classList.contains(C.vD)))}},33169:function(e,t,n){"use strict";n.d(t,{C2:function(){return d},Zs:function(){return c},pK:function(){return m}});var l=n(38564),a=n(37164),o=n(30764),i=n(27191),r=n(55850),s=n(93814);let d={generate:(0,a.kP)("0123456789abcdefghijklmnopqrstuvwxyz",15)},u=new i.H$("UniqueCardId"),c=e=>{let t=e=>{var n;return null===(n=e.content)||void 0===n?void 0:n.map(e=>{if(!e.content||e.type!==s.W4)return e;let n={...e,attrs:{...e.attrs,id:d.generate()}};return n.content=t(n),n})};return Object.assign({},e,{content:t(e)})},m=r.I.extend({name:"UniqueCardId"}).configure({attributeName:"id",initialValue:()=>d.generate(),filterTransaction:e=>{let t=e.getMeta(l.Gt);return(null==t?void 0:t.isChangeOrigin)!==!0},pluginKey:u,transformPasted:(e,t,n)=>{let{types:l,initialValue:a,attributeName:i}=t,r={},d=e=>{let t=[];return e.forEach(e=>{if(e.isText){t.push(e);return}if(!l.includes(e.type.name)){t.push(e.copy(d(e.content)));return}let n=a(),o=e.type.create({...e.attrs,[i]:n},d(e.content),e.marks);e.type.name===s.W4&&(r={...r,[e.attrs.id]:n}),t.push(o)}),o.HY.from(t)},u=e=>{let t=[];return e.forEach(e=>{if(e.isText){t.push(e);return}if("cardMention"===e.type.name){let l=r[e.attrs.id];if(l){let a=e.type.create({...e.attrs,...l?{id:l}:{},docId:n});t.push(a)}else t.push(e);return}t.push(e.copy(u(e.content)))}),o.HY.from(t)},c=d(e.content),m=u(c);return new o.p2(m,e.openStart,e.openEnd)}})},96255:function(e,t,n){"use strict";n.d(t,{Bw:function(){return d},KH:function(){return i},XE:function(){return u},Y0:function(){return f},_O:function(){return c},c6:function(){return s},pv:function(){return r},sP:function(){return m}});var l=n(72338),a=n(11093);n(48751);var o=n(93814);let i=e=>e.type.name===o.W4,r=e=>"cardLayoutItem"===e.type.name||"cardAccentLayoutItem"===e.type.name,s=e=>(0,a.sS)(e,r).map(e=>e.node),d=(e,t)=>{if(!t)return null;let n=(0,l.N2)(e.state.doc,e=>i(e)&&e.attrs.id===t);return n.length?n[0]:null},u=e=>e?e.querySelector("[data-card-id] > div"):null,c=(e,t)=>{let n=e.state.doc.nodeAt(t),a=e.state.doc.resolve(t);return n&&i(n)?{node:n,pos:t,start:a.start,depth:a.depth}:(0,l.qv)(e.state.doc.resolve(t),i)},m=(e,t)=>{var n;return null===(n=e.find(e=>void 0!==e.attrs.container[t]))||void 0===n?void 0:n.attrs.container[t]},f=e=>{let t=e.firstChild;if(!t)return null;let n=(0,a.sS)(t,e=>i(e)).map(e=>({...e,pos:e.pos+1}));return n}},58151:function(e,t,n){"use strict";n.d(t,{o:function(){return T}});var l=n(52322),a=n(43297),o=n(75768),i=n(32899),r=n(41098),s=n(38035),d=n(62614),u=n(42946),c=n(49929),m=n(94523),f=n(5879),p=n(87254),g=n(28955),h=n(17630),b=n(29679),y=n(29117),v=n(77533),k=n(36474),x=n(28535);let w=e=>{let{label:t,control:n,icon:a}=e;return(0,l.jsxs)(y.U,{spacing:4,children:[a,(0,l.jsx)(v.x,{children:t}),(0,l.jsx)(k.L,{}),(0,l.jsx)(x.xu,{children:n})]})};var S=n(83906),C=n(10625),z=n(67046),A=n(99058),I=n(44035),j=n(39237),F=n(2784),B=n(98621),M=n.n(B),E=n(47288),_=n(91669);let O=e=>{let{accentColor:t,selected:n,onChange:a,steps:o=5}=e,i=Array(o).fill(0).map((e,t)=>t),r=(0,F.useMemo)(()=>Object.fromEntries(Object.entries(g.cb).map(e=>{let[n,{label:l}]=e;return[n,{label:l,scale:(0,E.$)(t,i,n)}]})),[t,o]);n&&!r[n]&&(n=void 0);let s=p.ag._({id:"ovBPCi"});return(0,l.jsx)(w,{icon:(0,l.jsx)(c.G,{icon:u.re8}),label:p.ag._({id:"tvmuQ0"}),control:(0,l.jsxs)(C.v,{isLazy:!0,children:[(0,l.jsx)(z.j,{as:d.z,variant:"plain",size:"sm",w:40,boxShadow:"none",textAlign:"left",rightIcon:(0,l.jsx)(S.v,{}),sx:{"span:first-of-type":{overflow:"clip",textOverflow:"ellipsis"}},children:n?r[n].label():s}),(0,l.jsx)(A.q,{zIndex:"modalPopover",children:(0,l.jsx)(I._,{value:n||"default",type:"radio",onChange:e=>{a("default"===e?void 0:e)},children:Object.entries({default:{...r[g.bT],label:()=>s},...r}).map(e=>{let[a,{label:o,scale:r}]=e,s=[...r.values()].map(e=>M().readability(e,t)).reduce((e,t)=>Math.max(e,t),0);return s<1.5&&a!==n?null:(0,l.jsx)(j.i,{value:a,children:(0,l.jsxs)(y.U,{children:[(0,l.jsx)(v.x,{children:o()}),(0,l.jsx)(k.L,{}),(0,l.jsx)(P,{scale:r,data:i})]})},a)})})})]})})},P=e=>{let{scale:t,data:n}=e;return(0,l.jsx)(y.U,{spacing:1,children:n.map(e=>(0,l.jsx)(_.L,{color:t.get(e),size:_.c.small,tooltipIsDisabled:!0},e))})},T=e=>{let{attributes:t,updateAttributes:n,accentColor:y,setEditing:v,editor:k}=e,{data:x}=t;return(0,l.jsxs)(a.K,{spacing:0,children:[(0,l.jsxs)(a.K,{spacing:4,p:4,children:[(0,l.jsx)(o.h,{mb:2,children:Object.entries(g.CK).map(e=>{let[a,{icon:o,selectedIcon:r,label:s}]=e,d=t.chartType===a;return(0,l.jsx)(m.kH,{placement:"top",label:s(),children:(0,l.jsx)(i.h,{"aria-label":s(),flex:1,variant:"plain",size:"md",icon:d?r:o,boxShadow:"none",background:d?"trueblue.50":"white",color:d?"trueblue.400":"gray.600",onClick:()=>n({chartType:a})})},"".concat(s()))})}),(0,l.jsx)(O,{accentColor:y,selected:t.colorScheme,steps:5,onChange:e=>{n({colorScheme:e})}}),(0,l.jsx)(w,{icon:(0,l.jsx)(c.G,{icon:u.Lc0}),label:p.ag._({id:"sgzcYD"}),control:(0,l.jsx)(r.r,{isChecked:!t.hideLabels,onChange:e=>n({hideLabels:!e.target.checked})})}),k&&(0,l.jsx)(w,{icon:(0,l.jsx)(c.G,{icon:u.elf}),label:p.ag._({id:"0j+RGO"}),control:(0,l.jsx)(o.h,{spacing:1,size:"sm",children:h.Ec.map(e=>{let{name:t,icon:n,checkActive:a,apply:o}=e;if(a&&o)return(0,l.jsx)(b.h,{label:t(),icon:n,onClick:()=>{o(k)},isActive:a(k),my:0},t())})})})]}),v&&(0,l.jsx)(s.k,{px:5,py:3,bg:"gray.100",alignItems:"center",justify:"center",children:(0,l.jsx)(d.z,{variant:"link",size:"sm",colorScheme:"gray",my:0,leftIcon:(0,l.jsx)(c.G,{icon:u.Xcf}),onClick:()=>v(!0),children:x?(0,l.jsx)(f.cC,{id:"BhcOHV"}):(0,l.jsx)(f.cC,{id:"UHoZ5e"})})})]})}},16069:function(e,t,n){"use strict";n.d(t,{_:function(){return s}});var l=n(82655),a=n(87254),o=n(9315),i=n(86323),r=n(46254);let s=()=>[{key:"barChartVertical",name:()=>a.ag._({id:"kaIve5"}),icon:l.Wpq,chartType:"bar"},{key:"barChartHorizontal",name:()=>a.ag._({id:"JXpNuP"}),icon:l.AGo,chartType:"horizontal-bar"},{key:"lineChart",name:()=>a.ag._({id:"Kt/Lzz"}),icon:l.Stf,chartType:"line"},{key:"pieChart",name:()=>a.ag._({id:"5+y+OQ"}),icon:l.OS1,chartType:"pie"},{key:"donutChart",name:()=>a.ag._({id:"DNipMm"}),icon:l.epv,chartType:"donut"}].map(e=>({nodeName:"chart",keywords:["graph",e.chartType],featureFlag:"enableCharts",execute:t=>{t.chain().insertChart(e.chartType,!0).editSelectedChart().run()},dragStartFn:t=>{let n=(0,o.P2)();(0,i.UV)(t,{type:"chart",attrs:{chartType:e.chartType,id:n,data:(0,r.W)(e.chartType)||{}}})},dragEndFn:e=>{e.commands.editSelectedChart()},...e}))},46254:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var l=n(87254),a=n(86593);let o=e=>{let t={bar:{rows:[{id:"nFhPL"},{id:"y1R2-"},{id:"3r4Ua"},{id:"MSE5x"},{id:"FcqdP"}],columns:[{id:"mX0nZ",type:"label",label:l.ag._({id:"EWo9RV"}),format:"raw"},{id:"BOdWT",type:"data",label:l.ag._({id:"VbWX2u"}),format:"raw"}],cells:{nFhPL:{mX0nZ:{type:"label",label:l.ag._({id:"lOahyi"})},BOdWT:{isEmpty:!1,type:"data",data:45}},"y1R2-":{mX0nZ:{type:"label",label:l.ag._({id:"j1OP+i"})},BOdWT:{isEmpty:!1,type:"data",data:60}},"3r4Ua":{mX0nZ:{type:"label",label:l.ag._({id:"/9w9pX"})},BOdWT:{isEmpty:!1,type:"data",data:40}},MSE5x:{mX0nZ:{type:"label",label:l.ag._({id:"o/x3y/"})},BOdWT:{isEmpty:!1,type:"data",data:25}},FcqdP:{mX0nZ:{type:"label",label:l.ag._({id:"ubsult"})},BOdWT:{isEmpty:!1,type:"data",data:35}}}},"horizontal-bar":{rows:[{id:"1I_TU"},{id:"20qEC"},{id:"5Jsuy"},{id:"hzkOo"},{id:"ULLT1"},{id:"BZInJ"}],columns:[{id:"oJsDt",type:"label",label:l.ag._({id:"XbvKCP"}),format:"raw"},{id:"V-dVk",type:"data",label:l.ag._({id:"pzRr22"}),format:"raw"}],cells:{"1I_TU":{oJsDt:{type:"label",label:l.ag._({id:"RBu6h+"})},"V-dVk":{isEmpty:!1,type:"data",data:4e3}},"20qEC":{oJsDt:{type:"label",label:l.ag._({id:"OwYxvS"})},"V-dVk":{isEmpty:!1,type:"data",data:2500}},"5Jsuy":{oJsDt:{type:"label",label:l.ag._({id:"fZmoQy"})},"V-dVk":{isEmpty:!1,type:"data",data:2e3}},hzkOo:{oJsDt:{type:"label",label:l.ag._({id:"7wOL0x"})},"V-dVk":{isEmpty:!1,type:"data",data:1500}},ULLT1:{oJsDt:{type:"label",label:l.ag._({id:"8Dlczv"})},"V-dVk":{isEmpty:!1,type:"data",data:1200}},BZInJ:{oJsDt:{type:"label",label:l.ag._({id:"nhrYIN"})},"V-dVk":{isEmpty:!1,type:"data",data:900}}}},line:{rows:[{id:"7qjO7"},{id:"pUSEi"},{id:"Zu-WJ"},{id:"sXcmX"}],columns:[{id:"Ig69-",type:"label",label:l.ag._({id:"2vudsu"}),format:"raw"},{id:"5L4m1",type:"data",label:l.ag._({id:"pzRr22"}),format:"raw"}],cells:{"7qjO7":{"Ig69-":{type:"label",label:l.ag._({id:"i+odAu"})},"5L4m1":{isEmpty:!1,type:"data",data:220}},pUSEi:{"Ig69-":{type:"label",label:l.ag._({id:"K6Dm4P"})},"5L4m1":{isEmpty:!1,type:"data",data:458}},"Zu-WJ":{"Ig69-":{type:"label",label:l.ag._({id:"KHx01x"})},"5L4m1":{isEmpty:!1,type:"data",data:359}},sXcmX:{"Ig69-":{type:"label",label:l.ag._({id:"quAHHk"})},"5L4m1":{isEmpty:!1,type:"data",data:500}}}},pie:{rows:[{id:"O-_SP"},{id:"WDnaO"},{id:"b3NQG"}],columns:[{id:"LyrdY",type:"label",label:l.ag._({id:"+zy2Nq"}),format:"raw"},{id:"nKpLt",type:"data",label:l.ag._({id:"wBMjJ2"}),format:"raw"}],cells:{"O-_SP":{LyrdY:{type:"label",label:l.ag._({id:"QsDjlD"})},nKpLt:{isEmpty:!1,type:"data",data:7}},WDnaO:{LyrdY:{type:"label",label:l.ag._({id:"dv/+ow"})},nKpLt:{isEmpty:!1,type:"data",data:5}},b3NQG:{LyrdY:{type:"label",label:l.ag._({id:"DOTf1E"})},nKpLt:{isEmpty:!1,type:"data",data:3}}}},donut:{rows:[{id:"4ZhNy"},{id:"wPMNK"},{id:"rQ2Pv"}],columns:[{id:"GzvxQ",type:"label",label:l.ag._({id:"kpSWBA"}),format:"raw"},{id:"mznT3",type:"data",label:l.ag._({id:"wBMjJ2"}),format:"raw"}],cells:{"4ZhNy":{GzvxQ:{type:"label",label:l.ag._({id:"dCeEtx"})},mznT3:{isEmpty:!1,type:"data",data:7}},wPMNK:{GzvxQ:{type:"label",label:l.ag._({id:"IMSFDD"})},mznT3:{isEmpty:!1,type:"data",data:12}},rQ2Pv:{GzvxQ:{type:"label",label:l.ag._({id:"Cj3qRS"})},mznT3:{isEmpty:!1,type:"data",data:11}}}}},n=a.m.parse(t[e]).clone();return a.m.serialize(n)}},37160:function(e,t,n){"use strict";n.d(t,{O:function(){return o},g:function(){return i}});var l=n(27191),a=n(15690);function o(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}let i=(e,t,n)=>{if(!n)return!0;let i=o(n),r=i&&e.state.selection instanceof l.qv,s=i?e.state.tr.replaceSelectionWith(i,e.input.shiftKey):e.state.tr.replaceSelection(n),d=(0,a.a)(s);return d?s.setSelection(d):r&&s.setSelection(l.qv.create(s.doc,e.state.selection.from)),e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}},65396:function(e,t,n){"use strict";n.d(t,{F:function(){return l}});let l=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=[].slice.call(e.querySelectorAll(t),0);return n&&l.reverse(),l}},25819:function(e,t,n){"use strict";n.d(t,{Lv:function(){return f},i1:function(){return g},tf:function(){return p}});var l=n(72338),a=n(3027),o=n(27191),i=n(11093),r=n(15425),s=n(78462),d=n(15690),u=n(50322),c=n(84875);let m=e=>"gallery"===e.type.name,f=(e,t,n)=>{var u;let f=b(n);if(f.length>0)return f.forEach(t=>{let{mark:n}=t;(0,c.Td)(n)||(0,c.m7)(n.attrs.href,e)}),!1;let g=null===(u=t.clipboardData)||void 0===u?void 0:u.getData("text/plain");if(!g||!p(g))return!1;let{selection:y}=e.state;if(y instanceof o.Bs&&!y.empty)return t.preventDefault(),h(e,g),!0;if(g.match(s.nP)||(0,r.hU)(g))return!1;if(!e.schema.nodes.embed)return(0,c.m7)(g,e),!1;let v=y instanceof a.Q,k=y.empty&&["paragraph","heading","title"].includes(y.$from.parent.type.name)&&(0,i.bR)(y.$from.parent),x=m(y.$from.parent),w=(0,l.EG)(y)&&m(y.node);if(!(k||x||w||v))return!1;let S=y.from-1,C=w?{from:y.to-1,to:y.to-1}:k?{from:S,to:S+y.$from.parent.nodeSize}:{from:y.from,to:y.to};return e.chain().setTextSelection(C).insertEmbedAndFetchMetadata(g,void 0,!0).command(e=>{let{tr:t}=e,n=(0,d.a)(t);return n&&t.setSelection(n),!0}).run(),!0},p=e=>(0,r.kr)(e)&&!e.includes("\n")&&(0,r.jv)(e),g=e=>1===e.content.childCount&&e.content.firstChild.isTextblock&&p(e.content.firstChild.textContent),h=(e,t)=>{e.commands.setMark(u.r.name,{href:t}),(0,c.m7)(t,e)},b=e=>{let t=[];return e.content.descendants((e,n)=>{e.marks.filter(e=>"link"===e.type.name).forEach(e=>{t.push({mark:e,pos:n})})}),t}},65282:function(e,t,n){"use strict";n.d(t,{e:function(){return i},v:function(){return o}});var l=n(44368),a=n(18455);let o=e=>{var t;if(null==e?void 0:null===(t=e.parentElement)||void 0===t?void 0:t.matches("ol, ul"))return e.parentElement;let n=[e],a=e;for(;(a=a.nextElementSibling)&&"LI"===a.tagName;){let t=parseInt(a.getAttribute("indent")||"0")-parseInt(e.getAttribute("indent")||"0");if(t<0)break;if(0==t){if(a.getAttribute("variant")!=e.getAttribute("variant"))break;n.push(a)}else a=o(a),n.push(a)}let i=e.getAttribute("variant")==l.W.Numbered?document.createElement("ol"):document.createElement("ul");return e.replaceWith(i),n.forEach(e=>{e.removeAttribute("variant"),e.removeAttribute("indent")}),i.append(...n),i},i=e=>{var t,n;let o;let i=e,r=0,s="false";for(e.innerHTML.startsWith("[ ]")?(o=l.W.Todo,s="false",e.innerHTML.startsWith("[ ] ")?e.innerHTML=e.innerHTML.slice(4):e.innerHTML=e.innerHTML.slice(3)):e.innerHTML.startsWith("[x]")&&(o=l.W.Todo,s="true",e.innerHTML.startsWith("[x] ")?e.innerHTML=e.innerHTML.slice(4):e.innerHTML=e.innerHTML.slice(3)),"checkbox"===e.getAttribute("role")&&(o=l.W.Todo,s=e.getAttribute("aria-checked")||"false"),("todo"===e.getAttribute("variant")||e.getAttribute("checked"))&&(o=l.W.Todo,s=e.getAttribute("checked")||"false"),(0,a.b)(e);i=null===(t=e.parentElement)||void 0===t?void 0:t.closest("li, ul, ol");){if(i.matches("ul, ol")){r++;let e=i.className.match(/lst-kix_\w+-(\d+)/);e&&(r=parseInt(e[1])+1),o||"OL"!=i.tagName?o||"UL"!=i.tagName||(o=l.W.Bullet):o=l.W.Numbered}i.after(e)}e.setAttribute("indent",Math.max(r-1,0).toString()),e.setAttribute("variant",o||l.W.Bullet),o==l.W.Todo&&e.setAttribute("checked",s),1===e.children.length&&(null===(n=e.firstElementChild)||void 0===n?void 0:n.tagName)==="P"&&(e.innerHTML=e.firstElementChild.innerHTML)}},86581:function(e,t,n){"use strict";n.d(t,{Ck:function(){return m},aT:function(){return d},iO:function(){return s}});var l=n(19870),a=n(6382),o=n(25819),i=n(3402),r=n(87008);let s=(e,t)=>{if(!e.isEditable||!t.clipboardData)return!1;let n=t.clipboardData.getData("text/plain");if(!n||(0,o.tf)(n))return!1;let l=t.clipboardData.getData("text/html");if(null==l?void 0:l.includes("data-pm-slice"))return!1;let{state:a}=e;if(a.selection.$from.parent.type.spec.code){let t=a.tr.insertText(n);return e.view.dispatch(t),!0}let i=t.clipboardData.getData("vscode-editor-data"),r=i?JSON.parse(i):void 0,s=null==r?void 0:r.mode,d=!l||"markdown"===s||u(n);if(!d)return!1;let{from:c,to:m}=a.selection;return t.preventDefault(),e.commands.insertMarkdownAt({from:c,to:m},n)},d=(e,t,n)=>{let a=l.TU.parse(e),{slice:o}=(0,i.T)(a,t,n,!1);return o},u=e=>{let t=e.match(/^```/gm);if(t&&t.length>1||e.match(/\[[^]+\]\(https?:\/\/\S+\)/gm)||e.match(/\[[^]+\]\(\/\S+\)/gm)||e.match(/^#{1,6}\s+\S+/gm))return!0;let n=e.match(/^\s*[\d-*].\s\S+/gm);return!!(n&&n.length>1||e.match(/^\s*-{3,}\s*$/gm))},c=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t&&(a.Z.prototype.escape=e=>e);let n=f.turndown(e);return t&&(a.Z.prototype.escape=p),n},m=(e,t,n,l)=>{try{let a=e.slice(t,n).content,o=(0,r.Xb)(a,e.type.schema),i=document.createElement("div");i.appendChild(o);let s=i.innerHTML,d=c(s,l);return d}catch(l){return console.error("[caught] rangeToMarkdown: ",t,n,e.nodeSize,l),""}},f=(0,a.Z)({headingStyle:"atx",bulletListMarker:"-",codeBlockStyle:"fenced",hr:"---"}).remove(["style"]).addRule("list",{filter:["ul","ol"],replacement:function(e,t){let n=t.parentNode;return(t.parentNode.nodeName.match(/^(UL|OL)$/i)&&(e=" "+e.replace(/^\n+/,"").replace(/\n+$/,"\n").replace(/\n/gm,"\n ")),"LI"===n.nodeName&&n.lastElementChild===t)?"\n"+e:"\n\n"+e+"\n\n"}}).addRule("listItem",{filter:"li",replacement:function(e,t,n){e=e.replace(/^\n+/,"").replace(/\n+$/,"\n").replace(/\n/gm,"\n ");let l=n.bulletListMarker+" ",a=t.parentNode;if(1===t.children.length&&t.children[0].nodeName.match(/^(UL|OL)$/i)&&t.textContent===t.children[0].textContent)l=" ";else if("OL"===a.nodeName){let e=a.getAttribute("start"),n=Array.prototype.indexOf.call(Array.prototype.filter.call(a.children,e=>"LI"===e.nodeName),t);l=(e?Number(e)+n:n+1)+". "}return l+e+(t.nextSibling&&!/\n$/.test(e)?"\n":"")}}),p=a.Z.prototype.escape},3402:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var l=n(30764),a=n(29460),o=n(18455);let i=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=(0,o.B)(e),s=new DOMParser().parseFromString(r,"text/html"),d=l.aw.fromSchema(t).parseSlice(s,{preserveWhitespace:i}),u=(0,a.iu)(d,t,n);return{content:u.content,dom:s.body,slice:u}}},396:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var l=n(65396),a=n(65282);let o=e=>((0,l.F)(e,"li").forEach(e=>{(0,a.v)(e)}),e)},29460:function(e,t,n){"use strict";n.d(t,{iu:function(){return p}});var l=n(30764),a=n(27354),o=n(66121);let i=e=>{if((0,a.zx)()&&e&&0!==e.length)for(let t=0;t{if("text"===e.type){if(!e.text)return;let{replaced:l,nodes:a}=(0,o.W)(e.text,e.marks);l&&t.splice(n,1,...a);return}if(e.content&&e.content.length>0)for(let t=0;t{let n={type:"document",content:[]},l=(e,t)=>{var l,a;let o=n;for(let e=0;eo?(a+=1,o=e):e1&&!t.nested){o=1,l(r,a=1);continue}l({type:"card",content:[]},(a=d()(a,1,3))-1)}else if(t.splitOnDividers&&"divider"===r.type){l({type:"card",content:[]},a-1);continue}l(r,a)}let r=c()(f(n));return console.debug("splitCards",n,r),r},f=e=>{var t;return(null===(t=e.content)||void 0===t?void 0:t.every(e=>"card"===e.type))?c()(e.content.map(f)):[e]},p=(e,t,n)=>{var a;let o=null===(a=e.toJSON())||void 0===a?void 0:a.content;if(i(o),!o||0===o.length||1===o.length&&("document"===o[0].type||"card"===o[0].type))return e;if(o.every(e=>t.nodes[e.type].isInline))return l.p2.fromJSON(t,{...e,content:o});try{return o=h(o,t),o=g(o),n&&(o=m(o,n)),l.p2.fromJSON(t,{...e,content:o})}catch(t){return console.error("Error transforming slice",t),e}},g=e=>{let t=[...e];return e.forEach((n,l)=>{var a;if(l<1)return;let o=e[l-1];if(o.type!==n.type||!o.content)return;let i=null===(a=n.content)||void 0===a?void 0:a[0];i&&"footnote"===i.type&&(o.content=o.content.concat(n.content),t[l]=null)}),t.filter(e=>null!==e)},h=(e,t)=>{let n=[];return e.forEach(e=>{var l,a;if(!e.type)return;let o=null===(l=t.nodes[e.type])||void 0===l?void 0:l.isBlock;if(o)n.push(e);else{let l=n[n.length-1];if(!l||!l.content||!t.nodes[l.type].isTextblock||"text"===e.type&&(null===(a=e.text)||void 0===a?void 0:a.trim())==="")return;l.content.push(e)}}),n}},18455:function(e,t,n){"use strict";n.d(t,{b:function(){return k},B:function(){return y}});var l=n(87008),a=n(87205),o=n(65396);let i=e=>{(0,o.F)(e,"p.title").forEach(u),(0,o.F)(e,"br").forEach(d),(0,o.F)(e,"a[href]").forEach(m),(0,o.F)(e,"a[href][id]").forEach(f),(0,o.F)(e,"span").forEach(p),(0,o.F)(e,"a[href][id]").forEach(t=>h(t,e))},r=e=>{(0,o.F)(e,"h1").forEach(s)},s=e=>{if("always"==e.style.pageBreakBefore){let t=document.createElement("hr");t.style.pageBreakBefore="always",t.classList.add("divider"),e.before(t)}},d=e=>{var t;((null===(t=e.previousElementSibling)||void 0===t?void 0:t.tagName)=="P"||e.classList.contains("Apple-interchange-newline"))&&e.remove()},u=e=>{let t=document.createElement("h1");t.className="title",t.innerHTML=e.innerHTML,e.replaceWith(t)},c=/^https:\/\/docs\.google\.com\/document\/d\/[^/]+\/edit#heading=(h\.[^/]+)/,m=e=>{let t=e.getAttribute("href");if(t&&(t.startsWith("#h.")||c.test(t))){let t=e.closest("p");t&&t.textContent==e.textContent?t.remove():e.removeAttribute("href")}},f=e=>{var t,n;if(null===(t=e.getAttribute("id"))||void 0===t?void 0:t.startsWith("cmnt_ref")){let t=e.closest("sup");null==t||t.remove()}else if(null===(n=e.getAttribute("id"))||void 0===n?void 0:n.startsWith("cmnt")){let t=e.closest("div");null==t||t.remove()}},p=e=>{e.innerHTML=e.innerHTML.replace(/( ){2,}/g,"").replace(/ /g," ")},g=/ftnt_ref(\d+)/,h=(e,t)=>{let n=e.getAttribute("id");if(n&&n.startsWith("ftnt_ref")){var l;let a=parseInt((null===(l=n.match(g))||void 0===l?void 0:l[1])||""),o=e.closest("sup"),i=t.querySelector("#ftnt".concat(a)),r=null==i?void 0:i.closest("div");if(!a||!o||!r)return;null==i||i.remove();let s=document.createElement("div");s.className="imported-footnote",s.appendChild(r),o.replaceWith(s)}};var b=n(65282);let y=e=>{try{let t=new DOMParser().parseFromString(e,"text/html");return(0,o.F)(t,v).forEach(k),(0,o.F)(t,"li",!0).forEach(b.e),(0,o.F)(t,"img").forEach(x),(0,o.F)(t,"img").forEach(S),(0,o.F)(t,"script, style").forEach(e=>e.remove()),r(t),i(t),(0,o.F)(t,"p").forEach(w),t.body.innerHTML}catch(t){return console.error("Error transforming pasted HTML",t),e}},v="p, h1, h2, h3, h4, h5, h6",k=e=>{let t=e.querySelectorAll(v);t.forEach(e=>{if(e.tagName.match(/H\d/)){let t=document.createElement("b");t.innerHTML=e.innerHTML,e.replaceWith(t)}e.replaceWith(...e.childNodes)})},x=e=>{let t=e.closest("p, h1, h2, h3, h4, h5, h6, ul, ol, li");t&&t.after(e)},w=e=>{if((0,l.np)(e)){var t;(null===(t=e.parentElement)||void 0===t?void 0:t.childElementCount)!==1&&e.remove()}},S=e=>{if(e.src){if(e.src.startsWith("data:")){let t=(0,a.v9)(e.src),n=URL.createObjectURL(t);e.src=n}else e.src.startsWith("http")||e.remove()}}},87008:function(e,t,n){"use strict";n.d(t,{G8:function(){return s},Xb:function(){return o},np:function(){return r}});var l=n(30764),a=n(396);let o=(e,t,n)=>{null!=n||(n=l.PW.fromSchema(t));let o=n.serializeFragment(e);return(0,a.S)(o)},i=["img"],r=e=>{var t;return!e.hasChildNodes()||!((null===(t=e.textContent)||void 0===t?void 0:t.trim())!=""||i.includes(e.nodeName))&&[...e.childNodes].every(e=>r(e))},s=(e,t,n)=>{let l=o(e,t,n),a=document.createElement("div");a.appendChild(l);let i=a.innerHTML;return i}},12302:function(e,t,n){"use strict";n.d(t,{q:function(){return b}});var l=n(82655),a=n(87254),o=n(9850),i=n.n(o),r=n(86323),s=n(32398);let d={flywheel:{type:"diagram",attrs:{horizontalAlign:"center",shapes:[{x:1024.2205225919886,y:545.3520002984831,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:sBqhkO1gaRDC33E9nLFRf",type:"text",props:{color:"black",size:"m",w:96,text:"",font:"draw",align:"middle",autoSize:!0,scale:1,h:20,growY:27,html:'

Two

',shapeColor:null},parentId:"page:page",index:"a4",typeName:"shape"},{x:605.5691768594324,y:545.3520002984831,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:LuxCoSOJiKidTHonK_r3y",type:"text",props:{color:"black",size:"m",w:96,text:"",font:"draw",align:"middle",autoSize:!0,scale:1,h:20,growY:27,html:'

Four

',shapeColor:null},parentId:"page:page",index:"a5",typeName:"shape"},{x:811.2936767672497,y:332.49917028373386,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:jNEccTSx5tCosurJ5Ot2M",type:"text",props:{color:"black",size:"m",w:96,text:"",font:"draw",align:"middle",autoSize:!0,scale:1,h:20,growY:27,html:'

One

',shapeColor:null},parentId:"page:page",index:"a6",typeName:"shape"},{x:786.7936767672497,y:753.4464458368486,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:OUIb317WtLr7vTROMJmRY",type:"text",props:{color:"black",size:"m",w:145.68119328124112,text:"",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:27,html:'

Three

',shapeColor:null},parentId:"page:page",index:"a7",typeName:"shape"},{x:774.4554909171899,y:664.006697053962,rotation:3.141592653589793,isLocked:!1,opacity:1,meta:{},id:"shape:gOmdcWQlSymeyfc0iFv_H",type:"arrow",parentId:"page:page",index:"a8",props:{dash:"solid",size:"m",fill:"solid",color:"black",labelColor:"black",bend:-33.715948517019974,start:{type:"point",x:-143.39749318568477,y:299.6671450013758},end:{type:"point",x:-296.8596898701958,y:124.06206342608016},arrowheadStart:"none",arrowheadEnd:"arrow",text:"",labelPosition:.5,font:"draw",shapeColor:null,strokeWidth:"md"},typeName:"shape"},{x:949.3708512974239,y:475.1522148190538,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:FoSkoOljiovlpXtyepQ0L",type:"arrow",parentId:"page:page",index:"a8G",props:{dash:"solid",size:"m",fill:"solid",color:"black",labelColor:"black",bend:-33.715948517019974,start:{type:"point",x:-165.31582160993514,y:295.60684693665877},end:{type:"point",x:-292.70420767490987,y:127.69426010254801},arrowheadStart:"none",arrowheadEnd:"arrow",text:"",labelPosition:.5,font:"draw",shapeColor:null,strokeWidth:"md"},typeName:"shape"},{x:749.9432407400066,y:507.6958283407593,rotation:4.555309347705199,isLocked:!1,opacity:1,meta:{},id:"shape:xJbFH6GE8sktyfodgK-9d",type:"arrow",parentId:"page:page",index:"a8V",props:{dash:"solid",size:"m",fill:"solid",color:"black",labelColor:"black",bend:-33.715948517019974,start:{type:"point",x:-141.06822675649278,y:304.84894107910753},end:{type:"point",x:-293.7665666504506,y:149.96506626343376},arrowheadStart:"none",arrowheadEnd:"arrow",text:"",labelPosition:.5,font:"draw",shapeColor:null,strokeWidth:"md"},typeName:"shape"},{x:973.8831014746072,y:631.4630835322564,rotation:1.413716694115406,isLocked:!1,opacity:1,meta:{},id:"shape:98AlWuZ3MNJ8HXkw_0SX8",type:"arrow",parentId:"page:page",index:"a9",props:{dash:"solid",size:"m",fill:"solid",color:"black",labelColor:"black",bend:-33.715948517019974,start:{type:"point",x:-138.9882886080492,y:300.5849857402369},end:{type:"point",x:-290.8832143177716,y:128.98965564678986},arrowheadStart:"none",arrowheadEnd:"arrow",text:"",labelPosition:.5,font:"draw",shapeColor:null,strokeWidth:"md"},typeName:"shape"}],assets:[],meta:{},width:420.44444444444446,svg:'

Two

Four

One

Three

'}},quadrant:{type:"diagram",attrs:{horizontalAlign:"center",shapes:[{x:1074.82421875,y:229.03125,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:0ok4F6wp2WXfO_JbW55tI",type:"arrow",parentId:"page:page",index:"a1",props:{dash:"solid",size:"m",fill:"solid",color:"black",labelColor:"black",bend:0,start:{type:"point",x:0,y:0},end:{type:"point",x:0,y:400},arrowheadStart:"arrow",arrowheadEnd:"arrow",text:"",labelPosition:.5,font:"draw",shapeColor:null,strokeWidth:"md"},typeName:"shape"},{x:869.5924737463713,y:27.95840719431982,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:lfd5uMWVGIIFlwc_gfUf_",type:"arrow",parentId:"page:page",index:"a2",props:{dash:"solid",size:"m",fill:"solid",color:"black",labelColor:"black",bend:0,start:{type:"point",x:0,y:400},end:{type:"point",x:400,y:400},arrowheadStart:"arrow",arrowheadEnd:"arrow",text:"",labelPosition:.5,font:"draw",shapeColor:null,strokeWidth:"md"},typeName:"shape"},{x:1026.82421875,y:170.3671875,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:c4kLEFg-x_YebbalM4bbJ",type:"text",props:{color:"black",size:"m",w:96,text:"",font:"draw",align:"middle",autoSize:!0,scale:1,h:20,growY:27,html:'

Title

',shapeColor:null},parentId:"page:page",index:"a3",typeName:"shape"},{x:1275.47265625,y:404.9296875,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:rr2bWXVlRik_OTR3-Mzxb",type:"text",props:{color:"black",size:"m",w:96,text:"",font:"draw",align:"middle",autoSize:!0,scale:1,h:20,growY:27,html:'

Title

',shapeColor:null},parentId:"page:page",index:"a4",typeName:"shape"},{x:770.2109375,y:404.9296875,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:4nADMgFMClNzOAl0NqJsR",type:"text",props:{color:"black",size:"m",w:96,text:"",font:"draw",align:"middle",autoSize:!0,scale:1,h:20,growY:27,html:'

Title

',shapeColor:null},parentId:"page:page",index:"a4V",typeName:"shape"},{x:1026.82421875,y:640.79296875,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:pQUKVKJOu78f_j_B0Y1_-",type:"text",props:{color:"black",size:"m",w:96,text:"",font:"draw",align:"middle",autoSize:!0,scale:1,h:20,growY:27,html:'

Title

',shapeColor:null},parentId:"page:page",index:"a5",typeName:"shape"}],assets:[],meta:{},width:434.6666666666667,svg:'

Title

Title

Title

Title

'}},venn:{type:"diagram",attrs:{horizontalAlign:"center",shapes:[{x:1175.87109375,y:508.45703125,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:YuAAYaKmNVXbxRM9Ym0z4",type:"geo",props:{w:394.4375,h:394.4375,geo:"ellipse",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a1",typeName:"shape"},{x:904.79296875,y:508.45703125,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:ywvivjfUEJxH_FT8HCp6E",type:"geo",props:{w:394.4375,h:394.4375,geo:"ellipse",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a2",typeName:"shape"},{x:1040.3320312500002,y:270.0929726013588,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:uoJ_xUvPbDuyBaVh94J02",type:"geo",props:{w:394.4375,h:394.4375,geo:"ellipse",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a3",typeName:"shape"},{x:1092.234375,y:547.42578125,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:W8BtDrKhUUa_fmB-YfrG4",type:"text",props:{color:"black",size:"m",w:108,text:"",font:"draw",align:"middle",autoSize:!0,scale:1,h:20,growY:24,html:'

Expensive

',shapeColor:null},parentId:"page:page",index:"a4",typeName:"shape"},{x:1282.02734375,y:547.42578125,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:lLHXbsMOmu2pfYDmh7SMV",type:"text",props:{color:"black",size:"m",w:104,text:"",font:"draw",align:"middle",autoSize:!0,scale:1,h:20,growY:24,html:'

Take time

',shapeColor:null},parentId:"page:page",index:"a5",typeName:"shape"},{x:1185.5507812500002,y:689.046875,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:FJv1W-bQpfCY0dAUn_ezA",type:"text",props:{color:"black",size:"m",w:96,text:"",font:"draw",align:"middle",autoSize:!0,scale:1,h:20,growY:52,html:'

Low
quality

',shapeColor:null},parentId:"page:page",index:"a6",typeName:"shape"},{x:1373.08984375,y:705.67578125,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:tT7vEjVJGLo0tv18nWtJV",type:"text",props:{color:"black",size:"m",w:107,text:"",font:"draw",align:"middle",autoSize:!0,scale:1,h:20,growY:34,html:'

Cheap

',shapeColor:null},parentId:"page:page",index:"a7",typeName:"shape"},{x:1017.1328125,y:705.67578125,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:gaQCyTxoxdrsvbDkqQV9C",type:"text",props:{color:"black",size:"m",w:96,text:"",font:"draw",align:"middle",autoSize:!0,scale:1,h:20,growY:34,html:'

Fast

',shapeColor:null},parentId:"page:page",index:"a8",typeName:"shape"},{x:1189.5507812500002,y:424.234375,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:VAbhvBq-Ec1CIYnCjzhl2",type:"text",props:{color:"black",size:"m",w:96,text:"",font:"draw",align:"middle",autoSize:!0,scale:1,h:20,growY:34,html:'

Good

',shapeColor:null},parentId:"page:page",index:"a9",typeName:"shape"}],assets:[],meta:{},width:431.1111111111111,svg:'

Expensive

Take time

Low
quality

Cheap

Fast

Good

'}},calendarWeek:{type:"diagram",attrs:{horizontalAlign:null,shapes:[{x:179.0625,y:119.1171875,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:hF6E8P7CiXiSsRo7LG0FF",type:"geo",props:{w:301.9961468758189,h:873.9095562737236,geo:"rectangle",color:"black",labelColor:"black",fill:"none",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"Zy",typeName:"shape"},{x:495.4840350809791,y:119.1171875,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:taayoSjVZnQxAEAkYzW8F",type:"geo",props:{w:301.9961468758189,h:873.9095562737236,geo:"rectangle",color:"black",labelColor:"black",fill:"none",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"Zz",typeName:"shape"},{x:811.9055701619584,y:119.1171875,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:DogbW2-V83SiEhlezSTF1",type:"geo",props:{w:301.9961468758189,h:873.9095562737236,geo:"rectangle",color:"black",labelColor:"black",fill:"none",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a0",typeName:"shape"},{x:1128.3271052429373,y:119.1171875,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:SzwGSCVn7h1Uo_B_b-0jU",type:"geo",props:{w:301.9961468758189,h:873.9095562737236,geo:"rectangle",color:"black",labelColor:"black",fill:"none",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a1",typeName:"shape"},{x:1445.4682141660628,y:119.1171875,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:IAo_g6FQp9YK2JWBCaGMU",type:"geo",props:{w:301.9961468758189,h:873.9095562737236,geo:"rectangle",color:"black",labelColor:"black",fill:"none",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a2",typeName:"shape"},{x:832.3614242096944,y:134.56584632459914,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:l_vkpYMsSpaE9s3TN_mKw",type:"text",props:{color:"black",size:"m",w:261.08443878034683,text:"Wed",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:34,html:'

Wed

',shapeColor:null},parentId:"page:page",index:"a5",typeName:"shape"},{x:1148.7829592906733,y:134.56584632459914,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:Cw9jJcIeB18UZCowlxx0A",type:"text",props:{color:"black",size:"m",w:261.08443878034683,text:"Thu",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:34,html:'

Thu

',shapeColor:null},parentId:"page:page",index:"a6",typeName:"shape"},{x:1465.9240682137988,y:134.56584632459914,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:VvguEUBmR1u7tIdodua_7",type:"text",props:{color:"black",size:"m",w:261.08443878034683,text:"Fri",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:34,html:'

Fri

',shapeColor:null},parentId:"page:page",index:"a7",typeName:"shape"},{x:204.97813786171344,y:211.51595163729675,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:lqef5zWrrlQl9HENeGEnL",type:"geo",props:{w:250.16487115239204,h:64.78836164651827,geo:"rectangle",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"Meeting with Jon",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Meeting with Jon

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"aD",typeName:"shape"},{x:204.97813786171344,y:605.0019073645135,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:IgEYD45iYr1sSFMoAwbyu",type:"geo",props:{w:250.16487115239204,h:64.78836164651827,geo:"rectangle",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"Team bonding",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Team bonding

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"aDG",typeName:"shape"},{x:204.97813786171344,y:297.31890598073045,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:Qim4eNR90mSPnWlJh468S",type:"geo",props:{w:250.16487115239204,h:64.78836164651827,geo:"rectangle",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"Checking emails",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Checking emails

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"aDV",typeName:"shape"},{x:1154.2427431046506,y:295.64859941977187,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:IL-fsOSVuSRXre2dwItqj",type:"geo",props:{w:250.16487115239204,h:64.78836164651827,geo:"rectangle",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"HR meetings",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

HR meetings

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"aDZ",typeName:"shape"},{x:1154.2427431046506,y:379.7812472022469,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:bH7UwVBlNxoEzsh_1zjen",type:"geo",props:{w:250.16487115239204,h:64.78836164651827,geo:"rectangle",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"Onboarding new hire",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Onboarding new hire

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"aDb",typeName:"shape"},{x:521.3996729426926,y:211.51595163729675,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:HAHtaenTwvKec_w0q3MVQ",type:"geo",props:{w:250.16487115239204,h:64.78836164651827,geo:"rectangle",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"Attend CS meeting",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Attend CS meeting

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"aDd",typeName:"shape"},{x:1471.3838520277761,y:379.7812472022469,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:7ONsfQ5KbFBdZuwBMYOXz",type:"geo",props:{w:250.16487115239204,h:64.78836164651827,geo:"rectangle",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"Team happy hour",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Team happy hour

',shapeColor:"#26A688",strokeWidth:"sm"},parentId:"page:page",index:"aDe",typeName:"shape"},{x:1471.3838520277761,y:211.51595163729675,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:ov9MLbM2hIPHiHbKtLXgq",type:"geo",props:{w:250.16487115239204,h:64.78836164651827,geo:"rectangle",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"Attend CS meeting",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Attend CS meeting

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"aDf",typeName:"shape"},{x:1471.3838520277761,y:295.64859941977187,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:JcWFs24GgyS_MNCWFyy4F",type:"geo",props:{w:250.16487115239204,h:64.78836164651827,geo:"rectangle",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"Office tour",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Office tour

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"aDg",typeName:"shape"},{x:837.8212080236717,y:211.51595163729675,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:avNg2b0XCoj-PSVRH9NqC",type:"geo",props:{w:250.16487115239204,h:64.78836164651827,geo:"rectangle",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"1:1 with Zach",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

1:1 with Zach

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"aDh",typeName:"shape"},{x:837.8212080236717,y:297.45150900814224,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:B3hQTKLjKcuwSsT8VwJpR",type:"geo",props:{w:250.16487115239204,h:64.78836164651827,geo:"rectangle",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"Company all hands",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Company all hands

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"aDj",typeName:"shape"},{x:837.8212080236717,y:379.7812472022469,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:Ew3E_uQg_oIqeazf2vqpP",type:"geo",props:{w:251,h:101.34061312191727,geo:"rectangle",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"Bugbashing diagrams V2 with eng team",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Bugbashing diagrams V2 with eng team

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"aDk",typeName:"shape"},{x:837.8212080236717,y:500.13645302107966,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:Fg4fxWRIxgyovffXhHIzF",type:"geo",props:{w:250.16487115239204,h:64.78836164651827,geo:"rectangle",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"Customer call",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Customer call

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"aDkV",typeName:"shape"},{x:1154.2427431046506,y:211.51595163729678,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:VvbN_RGjDdrkdA1f5rsRd",type:"geo",props:{w:250.16487115239204,h:64.78836164651827,geo:"rectangle",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"Vendor call",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Vendor call

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"aDkl",typeName:"shape"},{x:204.97813786171344,y:381.1218603241642,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:2vK8h6FMVleRUW2G9Od19",type:"geo",props:{w:251,h:121.0625,geo:"rectangle",color:"black",labelColor:"black",fill:"semi",dash:"solid",size:"m",font:"draw",text:"Setup a call with our food vendor at the office in SF",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Setup a call with our food vendor at the office in SF

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"aDl",typeName:"shape"},{x:204.97813786171344,y:521.1989530210797,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:9SYkhq44JuzFO637hB390",type:"geo",props:{w:250.16487115239204,h:64.78836164651827,geo:"rectangle",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:" Lunch",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

\uD83C\uDF54 Lunch

',shapeColor:"#26A688",strokeWidth:"none"},parentId:"page:page",index:"aDt",typeName:"shape"},{x:515.9398891287151,y:134.56584632459914,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:SDZcV2JidoSxClP0MxiaV",type:"text",props:{color:"black",size:"m",w:261.08443878034683,text:"Tue",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:34,html:'

Tue

',shapeColor:null},parentId:"page:page",index:"aE",typeName:"shape"},{x:199.518354047736,y:134.56584632459914,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:tSOF89upJLNWmMbbVcY6R",type:"text",props:{color:"black",size:"m",w:261.08443878034683,text:"Mon",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:34,html:'

Mon

',shapeColor:null},parentId:"page:page",index:"aF",typeName:"shape"}],assets:[{meta:{},id:"asset:1703535279",type:"image",typeName:"asset",props:{name:"Screen Shot 2024-04-10 at 3.37.50 PM.png",src:"https://cdn-staging.gamma.app/QWjS6fBfpt/b63db3d6baac4d469108cf61a4c7ee71/original/Screen-Shot-2024-04-10-at-3.37.50-PM.png",w:2842,h:1550,mimeType:"image/png",isAnimated:!1}},{meta:{},id:"asset:-1866522948",type:"image",typeName:"asset",props:{name:"tldrawFile",src:"https://cdn-staging.gamma.app/QWjS6fBfpt/c494e974b8cc46b8910df2aa1a4051db/original/tldrawFile.png",w:3841,h:2161,mimeType:"image/png",isAnimated:!1}}],meta:{},width:null,svg:'

Wed

Thu

Fri

Meeting with Jon

Team bonding

Checking emails

HR meetings

Onboarding new hire

Attend CS meeting

Team happy hour

Attend CS meeting

Office tour

1:1 with Zach

Company all hands

Bugbashing diagrams V2 with eng team

Customer call

Vendor call

Setup a call with our food vendor at the office in SF

\uD83C\uDF54 Lunch

Tue

Mon

'}},calendarMonths:{type:"diagram",attrs:{horizontalAlign:null,shapes:[{x:187.0625,y:119.1171875,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:hF6E8P7CiXiSsRo7LG0FF",type:"geo",props:{w:419.6875,h:677.9375,geo:"rectangle",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"none"},parentId:"page:page",index:"Zy",typeName:"shape"},{x:621.23828125,y:119.1171875,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:taayoSjVZnQxAEAkYzW8F",type:"geo",props:{w:419.6875,h:677.9375,geo:"rectangle",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"none"},parentId:"page:page",index:"Zz",typeName:"shape"},{x:1055.4140625,y:119.1171875,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:DogbW2-V83SiEhlezSTF1",type:"geo",props:{w:419.6875,h:677.9375,geo:"rectangle",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"none"},parentId:"page:page",index:"a0",typeName:"shape"},{x:1479.765625,y:227.52734375,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:n-HH4IouUsStSFr3VNbU-",type:"line",parentId:"page:page",index:"a2",props:{dash:"solid",size:"m",color:"black",spline:"line",points:{a1:{id:"a1",index:"a1",x:-4.6640625,y:22115642650533118e-29},a2:{id:"a2",index:"a2",x:-1292.703125,y:2220446049250313e-28}},shapeColor:null,strokeWidth:"none"},typeName:"shape"},{x:201.34708590770333,y:145.867869309553,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:BEBrp9VENbneWCEP9Z57D",type:"text",props:{color:"black",size:"m",w:389.55916409229667,text:"January",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:34,html:'

January

',shapeColor:null},parentId:"page:page",index:"a3",typeName:"shape"},{x:631.6081020625556,y:145.867869309553,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:-3Bu-xyyud5-NY1mEsn_r",type:"text",props:{color:"black",size:"m",w:399.24346043744436,text:"February",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:34,html:'

February

',shapeColor:null},parentId:"page:page",index:"a4",typeName:"shape"},{x:1064.4140625,y:145.867869309553,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:97V6hIrYPl_7kahzLVj4Y",type:"text",props:{color:"black",size:"m",w:397.96463853034425,text:"March",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:34,html:'

March

',shapeColor:null},parentId:"page:page",index:"a5",typeName:"shape"},{x:213.4453125,y:262.6015625,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:hqEIx0gJpckN8eL0a3_eG",type:"geo",props:{w:377.57421875,h:68.80859375,geo:"rectangle",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"Campaign brief",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Campaign brief

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a6",typeName:"shape"},{x:424.8515625,y:350.465234375,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:L4SJqvXoG-EotQtRMTPY8",type:"geo",props:{w:242.98046875,h:68.80859375,geo:"rectangle",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"Brainstorming idea",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Brainstorming idea

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a7",typeName:"shape"},{x:642.359375,y:438.32890625000005,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:5PsZHZLZu4_CVVyhnfMhV",type:"geo",props:{w:317.4921875,h:68.80859375,geo:"rectangle",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"Pitching V1 draft",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Pitching V1 draft

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a8",typeName:"shape"},{x:801.10546875,y:526.192578125,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:gaTWbH01oHY5U8i7-0YWM",type:"geo",props:{w:216.140625,h:68.80859375,geo:"rectangle",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"Team sync",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Team sync

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a9",typeName:"shape"},{x:1017.24609375,y:614.05625,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:LTp09wJ7CZ4hmqxK3TqOs",type:"geo",props:{w:216.140625,h:68.80859375,geo:"rectangle",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"Product launch",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

Product launch

',shapeColor:"#26A688",strokeWidth:"none"},parentId:"page:page",index:"aA",typeName:"shape"},{x:1224.703125,y:701.919921875,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:YRlBT-re2qFu7J2lowdkX",type:"geo",props:{w:216.140625,h:68.80859375,geo:"rectangle",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"PR push",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

PR push

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"aB",typeName:"shape"}],assets:[],meta:{},width:null,svg:'

January

February

March

Campaign brief

Brainstorming idea

Pitching V1 draft

Team sync

Product launch

PR push

'}},concentricCircles:{type:"diagram",attrs:{horizontalAlign:"center",shapes:[{x:565.8710406141417,y:267.2348052328804,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:TAw6_9rfNRYvwwWYH_HCE",type:"geo",props:{w:477.70836857906545,h:477.70836857906545,geo:"ellipse",color:"black",labelColor:"black",fill:"none",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a1",typeName:"shape"},{x:616.0939715727751,y:367.685804457496,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:EgzihrX9ISnR1IDnH3Nb-",type:"geo",props:{w:377.2573693544499,h:377.2573693544499,geo:"ellipse",color:"black",labelColor:"black",fill:"none",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a2",typeName:"shape"},{x:668.9469658115557,y:473.48237590821486,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:PjG3dFUaDsYRxpsyfV9pW",type:"geo",props:{w:271.5513808768887,h:271.5513808768887,geo:"ellipse",color:"black",labelColor:"black",fill:"none",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a3",typeName:"shape"},{x:710.2141277616566,y:556.2474435629489,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:q-kyMkxhO2b6WeTH0ets_",type:"geo",props:{w:189.21399728645815,h:189.21399728645815,geo:"ellipse",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:"#26A688",strokeWidth:"sm"},parentId:"page:page",index:"a4",typeName:"shape"},{x:464.90514248458214,y:65.35157205630884,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:j5viwZdfHENtGXtzpl0By",type:"geo",props:{w:679.628218169672,h:679.628218169672,geo:"ellipse",color:"black",labelColor:"black",fill:"none",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a0",typeName:"shape"},{x:510.91801733541865,y:157.35060141748204,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:ktAwuZYMrly1jH7bcYmPU",type:"geo",props:{w:587.634481733614,h:587.634481733614,geo:"ellipse",color:"black",labelColor:"black",fill:"none",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a0V",typeName:"shape"},{x:725.4037617637376,y:93.6328125,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:arpSUqzdolhE3v92x2Hlg",type:"text",props:{color:"black",size:"m",w:159,text:"",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:28,html:'

Strangers

',shapeColor:null},parentId:"page:page",index:"a6",typeName:"shape"},{x:698.7226562500001,y:191.5703125,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:p4dDCuUjLEG9hLXieB7uX",type:"text",props:{color:"black",size:"m",w:211.83203125000003,text:"",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:28,html:'

Community

',shapeColor:null},parentId:"page:page",index:"a7",typeName:"shape"},{x:698.7226562500001,y:300.83203125,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:IQ2anr8KXqvDn1DTJJIM1",type:"text",props:{color:"black",size:"m",w:212,text:"",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:28,html:'

Acquaintances

',shapeColor:null},parentId:"page:page",index:"a8",typeName:"shape"},{x:698.7226562500001,y:410.09375,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:O77tcKAFokcE_JogX_h3n",type:"text",props:{color:"black",size:"m",w:212,text:"",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:28,html:'

Friends

',shapeColor:null},parentId:"page:page",index:"a9",typeName:"shape"},{x:698.7226562500001,y:497.0234375,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:Ku24cDrP5-0A12pFZdch1",type:"text",props:{color:"black",size:"m",w:212,text:"",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:28,html:'

Family

',shapeColor:null},parentId:"page:page",index:"aA",typeName:"shape"},{x:698.7226562500001,y:628.6171875,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:Bd8YnNb0vDeKdtlRMcNh_",type:"text",props:{color:"black",size:"m",w:212,text:"",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:27,html:'

Me

',shapeColor:"#FFFFFF"},parentId:"page:page",index:"aB",typeName:"shape"}],assets:[{meta:{},id:"asset:1250396056",type:"image",typeName:"asset",props:{name:"tldrawFile",src:"https://cdn-staging.gamma.app/QWjS6fBfpt/1503bafa04414cc2a7b9848c75a23885/original/tldrawFile.png",w:800,h:801,mimeType:"image/png",isAnimated:!1}}],meta:{},width:360,svg:'

Strangers

Community

Acquaintances

Friends

Family

Me

'}},targetCircles:{type:"diagram",attrs:{horizontalAlign:"center",shapes:[{x:929.6197161942252,y:155.0916582850458,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:Lyhoe8Jk5MAMoudOizb8X",type:"geo",props:{w:500.14804571219815,h:500.14804571219815,geo:"ellipse",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a0G",typeName:"shape"},{x:967.92743672945,y:193.45976889185556,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:RYOvVH5HKvjk5GXZojXEJ",type:"geo",props:{w:423.4118244985782,h:423.4118244985782,geo:"ellipse",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a0l",typeName:"shape"},{x:1007.5906901264586,y:233.06263221727892,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:guJhyRC2_2GgZ9f0HcNJR",type:"geo",props:{w:344.20609784773154,h:344.20609784773154,geo:"ellipse",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a1V",typeName:"shape"},{x:1043.7799729004403,y:269.2519149912604,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:seEkM5XtC9yIw7hoXfdbS",type:"geo",props:{w:271.8275322997684,h:271.8275322997684,geo:"ellipse",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a2V",typeName:"shape"},{x:1081.7319672065987,y:307.3344023477454,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:NS2ahjw0mGlpg-PMYOxM8",type:"geo",props:{w:195.6625575867985,h:195.6625575867985,geo:"ellipse",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:null,strokeWidth:"sm"},parentId:"page:page",index:"a3V",typeName:"shape"},{x:1115.50785950286,y:340.94563257104426,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:3f1yjdcch_VMlWXK600PT",type:"geo",props:{w:128.4400971402006,h:128.4400971402006,geo:"ellipse",color:"black",labelColor:"black",fill:"solid",dash:"solid",size:"m",font:"draw",text:"",align:"middle",verticalAlign:"middle",growY:0,url:"",html:'

',shapeColor:"#26A688",strokeWidth:"sm"},parentId:"page:page",index:"a4V",typeName:"shape"},{x:1073.6937390503244,y:381.6656811411451,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:1FLv65NIvaurbbxTQrE18",type:"text",props:{color:"black",size:"m",w:212,text:"Me",font:"draw",align:"middle",autoSize:!1,scale:1,h:20,growY:27,html:'

Me

',shapeColor:"#FFFFFF"},parentId:"page:page",index:"aB",typeName:"shape"},{x:1381.0026472829704,y:173.17393949526377,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:Q6dHtLEQiLE4grg0RCM-A",type:"line",parentId:"page:page",index:"aC",props:{dash:"solid",size:"m",color:"black",spline:"line",points:{a1:{id:"a1",index:"a1",x:2.417216937863941,y:7.723304968297555},a2:{id:"a2",index:"a2",x:-52.226471674030236,y:48.30663418059406}},shapeColor:null,strokeWidth:"sm"},typeName:"shape"},{x:1396.40422015788,y:245.48057367585784,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:V6TsnoH4I7lC4eFh_jCVf",type:"line",parentId:"page:page",index:"aCV",props:{dash:"solid",size:"m",color:"black",spline:"line",points:{a1:{id:"a1",index:"a1",x:48.001155258881184,y:41.665293041944466},a2:{id:"a2",index:"a2",x:-47.682312332765534,y:66.29026038484135}},shapeColor:null,strokeWidth:"sm"},typeName:"shape"},{x:1418.8041070476638,y:554.4103614129623,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:Z7iFyapJSWnC-Nj48trDz",type:"line",parentId:"page:page",index:"aCd",props:{dash:"solid",size:"m",color:"black",spline:"line",points:{a1:{id:"a1",index:"a1",x:28.116150018295414,y:-27.85190422662322},a2:{id:"a2",index:"a2",x:-138.26659908197,y:-91.24836881350053}},shapeColor:null,strokeWidth:"sm"},typeName:"shape"},{x:1396.40422015788,y:405.1656811411451,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:UyPPQxh5Izzrta_PeC4Lv",type:"line",parentId:"page:page",index:"aCl",props:{dash:"solid",size:"m",color:"black",spline:"line",points:{a1:{id:"a1",index:"a1",x:94.52397902306642,y:3674838211509268e-29},a2:{id:"a2",index:"a2",x:-62.28449928723883,y:3674838211509268e-29}},shapeColor:null,strokeWidth:"sm"},typeName:"shape"},{x:1396.40422015788,y:680.9410126688012,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:YvmG2cbsMv-yBAjUCLAZV",type:"line",parentId:"page:page",index:"aD",props:{dash:"solid",size:"m",color:"black",spline:"line",points:{a1:{id:"a1",index:"a1",x:-30.33301659894073,y:-34.31453399190673},a2:{id:"a2",index:"a2",x:-187.1016230443878,y:-198.11935311752904}},shapeColor:null,strokeWidth:"sm"},typeName:"shape"},{x:1456.428646134135,y:520.7240691140834,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:EdTs6rzP02YRCn-NSSouG",type:"text",props:{color:"black",size:"m",w:190.61066381032765,text:"Friends",font:"draw",align:"start",autoSize:!1,scale:1,h:44,growY:0,html:'

Friends

',shapeColor:null},parentId:"page:page",index:"aE",typeName:"shape"},{x:1373.8179823238074,y:633.1902718076452,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:9DzQSxc3Xru2fKGSdFx16",type:"text",props:{color:"black",size:"m",w:191,text:"Family",font:"draw",align:"start",autoSize:!1,scale:1,h:44,growY:0,html:'

Family

',shapeColor:null},parentId:"page:page",index:"aF",typeName:"shape"},{x:1496.9281991809464,y:383.1656811411449,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:VKIjJjszvAlrkJQJfGUV1",type:"text",props:{color:"black",size:"m",w:204.36525326738322,text:"Acquaintances",font:"draw",align:"start",autoSize:!1,scale:1,h:44,growY:0,html:'

Acquaintances

',shapeColor:null},parentId:"page:page",index:"aG",typeName:"shape"},{x:1451.2460195004435,y:263.4599680925235,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:V6a9zGihrEPKbWp0WyYFu",type:"text",props:{color:"black",size:"m",w:204.36525326738322,text:"Community",font:"draw",align:"start",autoSize:!1,scale:1,h:44,growY:0,html:'

Community

',shapeColor:null},parentId:"page:page",index:"aH",typeName:"shape"},{x:1389.4198642208344,y:155.14109047464459,rotation:0,isLocked:!1,opacity:1,meta:{},id:"shape:tneIatSl5yj2J6kQLD4Hy",type:"text",props:{color:"black",size:"m",w:204.36525326738322,text:"Strangers",font:"draw",align:"start",autoSize:!1,scale:1,h:44,growY:0,html:'

Strangers

',shapeColor:null},parentId:"page:page",index:"aI",typeName:"shape"}],assets:[{meta:{},id:"asset:1250396056",type:"image",typeName:"asset",props:{name:"tldrawFile",src:"https://cdn-staging.gamma.app/QWjS6fBfpt/1503bafa04414cc2a7b9848c75a23885/original/tldrawFile.png",w:800,h:801,mimeType:"image/png",isAnimated:!1}}],meta:{},width:534.2222222222222,svg:'

Me

Friends

Family

Acquaintances

Community

Strangers

'}}};var u={src:"/_next/static/media/Concentric.2b092fc4.svg",height:96,width:253,blurWidth:0,blurHeight:0},c={src:"/_next/static/media/Flywheel.fd4813bb.svg",height:96,width:254,blurWidth:0,blurHeight:0},m={src:"/_next/static/media/Gantt.9e741fcd.svg",height:96,width:253,blurWidth:0,blurHeight:0},f={src:"/_next/static/media/Kanban.004b9ebf.svg",height:96,width:253,blurWidth:0,blurHeight:0},p={src:"/_next/static/media/Quadrants.61681555.svg",height:96,width:254,blurWidth:0,blurHeight:0},g={src:"/_next/static/media/Target.99d9a5a8.svg",height:96,width:253,blurWidth:0,blurHeight:0},h={src:"/_next/static/media/Venn.7a87e038.svg",height:96,width:254,blurWidth:0,blurHeight:0};let b=()=>[{key:"diagram",name:()=>a.ag._({id:"G1q1hG"}),keywords:["sketch","drawing","shapes","diagram","canvas","freeform"],shortcut:"/diagram"},{key:"flywheel",name:()=>a.ag._({id:"6BBMcV"}),keywords:["cycle","circle","diagram","flywheel"],previewImage:c,icon:l.zio},{key:"quadrant",name:()=>a.ag._({id:"tmk28W"}),keywords:["matrix","quadrant","diagram","2x2"],previewImage:p,icon:l.jtV},{key:"venn",name:()=>a.ag._({id:"z5TX2d"}),previewImage:h,icon:l.Arq,keywords:["venn","diagram"]},{key:"targetCircles",name:()=>a.ag._({id:"s07vVU"}),keywords:["target","circles","nested","concentric","diagram","bullseye"],icon:l.scR,previewImage:g},{key:"concentricCircles",name:()=>a.ag._({id:"SqseBa"}),keywords:["concentric","circles","diagram"],icon:l.W3K,previewImage:u},{key:"calendarWeek",name:()=>a.ag._({id:"ToE1YL"}),keywords:["week","days","calendar","diagram","kanban","schedule","timeline"],icon:l.Nl7,previewImage:f},{key:"calendarMonths",name:()=>a.ag._({id:"jIipv0"}),keywords:["month","days","calendar","diagram","kanban","schedule","gantt chart","timeline"],icon:l.jAY,previewImage:m}].map(e=>{let t="diagram"===e.key?{type:"diagram",attrs:{}}:d[e.key];return{nodeName:"diagram",icon:l.Kak,...e,execute:e=>{let n=(0,s.RA)(),l=i()(t);l.attrs.id=n,(0,s.Sc)(n,!0),e.commands.insertContent(l)},dragStartFn:e=>{let n=(0,s.RA)(),l=i()(t);l.attrs.id=n,(0,s.Sc)(n,!0),(0,r.UV)(e,l)}}}).filter(e=>!!e)},71917:function(e,t,n){"use strict";n.d(t,{u:function(){return a}});let l={cardLayoutsEnabled:!1},a=e=>{if(!e)return{...l};let t=null;return("doc"===e.type.name?t=e.nodeAt(0):"document"===e.type.name&&(t=e),t)?{...l,...t.attrs.docFlags}:(console.debug("[getDocFlags] could not find document node, returning defaults"),{...l})}},70347:function(e,t,n){"use strict";n.d(t,{LN:function(){return g},WD:function(){return w},kT:function(){return h}});var l=n(52322),a=n(38035),o=n(75009),i=n(24772),r=n(27875),s=n.n(r),d=n(94090),u=n(90439),c=n(87205),m=n(93982),f=n(90604),p=n(83905);let g=()=>{let e=(0,d.CG)(m.gh),t=e===f.q.SLIDE_VIEW,{src:n,width:i,height:r,paddingY:s,paddingX:u}=w();if(!n)return null;let g=(0,c.SN)(n,c.gJ),h=t?{position:"absolute",right:"".concat(u,"px"),top:"".concat(s,"px"),justify:"end",align:"start",width:"".concat(i,"px"),height:"".concat(r,"px")}:{position:"sticky",left:"".concat(u,"px"),top:"calc(100% - ".concat(r,"px - ").concat(s,"px)"),justify:"start",width:"".concat(i,"px"),height:"".concat(r,"px")};return(0,l.jsx)(a.k,{...h,className:"logo",zIndex:p.S.customerLogo,borderRadius:"md",contentEditable:!1,userSelect:"none",children:(0,l.jsx)(o.E,{src:g,maxH:"100%",maxW:"100%",transitionProperty:"width, height",transitionDuration:"normal",pointerEvents:"none","data-testid":"customer-logo","data-customer-logo-image":!0,objectFit:"contain",objectPosition:t?"top right":"bottom left"})})},h=()=>{let e=(0,d.CG)(m.Pu),{src:t,width:n,height:i}=b(e,x);if(!t)return null;let r=(0,c.SN)(t,c.gJ);return(0,l.jsx)(a.k,{w:"100%",justify:"center",align:"center",mt:6,mb:8,"data-id":"customer-logo-wrapper",children:(0,l.jsx)(o.E,{src:r,w:"".concat(n,"px"),zIndex:p.S.customerLogo,h:"".concat(i,"px"),transitionProperty:"width, height",transitionDuration:"normal",pointerEvents:"none",objectFit:"contain",objectPosition:"bottom"})})},b=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:k,n=1,l=e.logoUrl,{logoImage:a}=e.config;if(a&&a.meta){var o;n=s()(a.meta.aspect_ratio||a.meta.width/a.meta.height,.5,3),l=null!==(o=a.src)&&void 0!==o?o:l}let i=Math.sqrt(t/n),r=i*n,d=t>8e3?30:t>5e3?24:18;return{width:Math.round(r),height:Math.round(i),paddingY:d,paddingX:d,src:l}},y={base:900,lg:2500,xl:4900,"2xl":8100,"3xl":1e4},v={base:1600,md:2500,lg:4225,xl:7225,"2xl":9025,"4xl":12100},k=4900,x=5625,w=()=>{let e=(0,d.CG)(m.gh),t=e===f.q.SLIDE_VIEW,n=(0,i.S)(t?v:y),l=u.Pv?k:u.QX?8100:n,a=(0,d.CG)(m.Pu);return{...b(a,l),position:t?"top-right":"bottom-left"}}},65878:function(e,t,n){"use strict";n.d(t,{x:function(){return u},S:function(){return d}});var l=n(72338),a=n(27191),o=n(18149),i=n.n(o),r=n(93982);class s{compute(e){let t=e.firstChild;if(!t)return this;let n=t.attrs;return i()(n,this.value)||(this.hasChanges=!0),this.value=n,this}apply(e,t){return e.docChanged&&this.compute(e.doc),this}processChanges(e){this.hasChanges&&this.value&&e((0,r.Qt)({docAttrs:this.value})),this.hasChanges=!1}constructor(){this.hasChanges=!1,this.value=null}}let d=new a.H$("documentAttrs"),u=l.hj.create({name:"documentAttrs",addProseMirrorPlugins:()=>[new a.Sy({key:d,state:{init:()=>new s,apply:(e,t,n,l)=>t.apply(e,l)}})]})},7287:function(e,t,n){"use strict";n.d(t,{w:function(){return a}});var l=n(49354);let a={aiOptions:{imageOptions:{}},docId:null,background:l.jg,format:null,docFlags:{},customCode:{},settings:{},generateStatus:null,generateInfo:{}}},7207:function(e,t,n){"use strict";n.d(t,{i:function(){return a},m:function(){return l}});let l="10vh",a="80vh"},83905:function(e,t,n){"use strict";n.d(t,{S:function(){return l}});let l={presentBg:1,customerLogo:4,toolbar:5,cardButtons:11,siteNav:21,filmstrip:21}},86189:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var l=n(52322),a=n(2784),o=n(94090),i=n(93982),r=n(62047),s=n(13653),d=n(39540),u=n(37872),c=n(42822),m=n(94523),f=n(56904);let p=e=>{let{icon:t="⋮",isVisible:n,isSelected:a,label:o,onClick:i,onDragStart:r,...s}=e,{color:d,bg:u,hoverColor:p,hoverBg:g,borderColor:h}=(0,f.lv)(a);return(0,l.jsx)(m.kH,{placement:"top",label:a?void 0:o,children:(0,l.jsx)(c.M,{position:"absolute",width:"16px",height:"22px",fontWeight:"900",fontFamily:"Inter, sans-serif",background:u,backdropFilter:"blur(8px)",border:"1px solid",borderColor:h,color:d,borderRadius:"sm",boxShadow:"sm",fontSize:"16px",cursor:"pointer",opacity:a||n?1:0,_hover:{color:p,background:g,opacity:1},...s,className:"drag-handle",onClick:i,onDragStart:r,draggable:!0,contentEditable:!1,_after:{position:"absolute",content:'""',inset:-2},children:t})})},g={top:{top:"0",left:"50%",height:"16px",width:"26px",pt:"1px",icon:"⋯",zIndex:"3",transform:"translateY(-50%) translateX(-50%)",fontSize:"15px"},left:{top:"50%",left:"0",height:"26px",width:"16px",zIndex:"3",transform:"translateY(-50%) translateX(-50%)",fontSize:"15px"},outside:{top:0,left:-6},inside:{top:2,left:3}},h=e=>{let{handlePlacement:t="outside",editor:n,getPos:c,decorations:m,isVisible:f,onClick:h,node:b,selected:y,extension:v,updateAttributes:k,deleteNode:x,...w}=e,S=(0,o.CG)(i.hN),C=(0,a.useCallback)(e=>{n.commands.selectNodeAtPos(c()),e.stopPropagation()},[n,c]),z=(0,a.useCallback)(e=>{var t;let l=(null===(t=e.target.closest("[data-node-view-wrapper]"))||void 0===t?void 0:t.querySelector("[data-selection-ring]"))||void 0;(0,u.SS)(n,e.nativeEvent,c(),l),e.stopPropagation()},[n,c]);if(!S)return null;let A=(0,r.WE)(m),I=(0,d.v)(m),j=(0,s.EL)(m);return null!=f||(f=A||I),(0,l.jsx)(p,{isSelected:j,isVisible:f,onClick:h||C,onDragStart:z,...g[t],...w})}},56904:function(e,t,n){"use strict";n.d(t,{et:function(){return d},lv:function(){return s}});var l=n(2784),a=n(29318),o=n(21209);let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={borderColor:e?"var(--chakra-colors-whiteAlpha-300)":"var(--chakra-colors-blackAlpha-200)"};return t?{...n,bg:e?"var(--chakra-colors-trueblue-300)":"var(--chakra-colors-trueblue-50)",color:e?"var(--chakra-colors-trueblue-900)":"var(--chakra-colors-trueblue-300)",hoverBg:e?"var(--chakra-colors-trueblue-200)":"var(--chakra-colors-trueblue-100)",hoverColor:e?"var(--chakra-colors-trueblue-900)":"var(--chakra-colors-trueblue-600)"}:{...n,bg:e?"var(--chakra-colors-gradient-dark)":"var(--chakra-colors-whiteAlpha-900)",color:e?"var(--chakra-colors-gray-100)":"var(--chakra-colors-gray-500)",hoverBg:e?"var(--chakra-colors-gray-800)":"var(--chakra-colors-gray-100)",hoverColor:e?"var(--chakra-colors-trueblue-200)":"var(--chakra-colors-gray-800)"}},r=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?i(e,!0):{bg:"var(--global-drag-handle-background)",color:"var(--global-drag-handle-color)",hoverBg:"var(--global-drag-handle-hover-background)",hoverColor:"var(--global-drag-handle-hover-color)",borderColor:"var(--global-drag-handle-border)"}},s=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=(0,a.Yy)();return(0,l.useMemo)(()=>r(t,e),[t,e])},d=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=s(e);return{height:o.fD,borderRadius:"sm",fontSize:"xs",px:2,shadow:"sm",bg:t.bg,color:t.color,borderColor:t.borderColor,_active:{shadow:"var(--global-drag-handle-shadow-inner)"},_hover:{color:t.hoverColor,background:t.hoverBg}}}},20182:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var l=n(26151),a=n(11093),o=n(26282),i=n(15468),r=n(96255);let s=(e,t)=>!!d(e),d=e=>{let t=e.parent&&(0,r.KH)(e.parent);if(!t)return!0;let n=(0,a.nv)(e,r.KH)[0];if(!n)return!0;let l=e.doc.resolve(n.pos),o=(0,i.gF)(l);return 0===Object.keys(o).length},u=(e,t,n)=>{var i;let r=e.posAtCoords({left:t.clientX,top:t.clientY});if(!r||r.inside<0)return null;let d=e.state.doc.resolve(r.pos);if(!d)return null;let u=r.pos,c=e.state.doc.resolve(r.inside),m=e.state.doc.nodeAt(r.inside),f=e.state.doc.nodeAt(r.pos);if((null==m?void 0:m.type.name)==="smartLayout"&&(null==f?void 0:f.type.name)==="smartLayoutCell")return null;let p=(0,a.Ru)(c,o.E)[0];if(p&&(u=r.inside,p.pos===u)||!u||n&&null==(u=(0,l.nj)(e.state.doc,u,n)))return null;let g=s(e.state.doc.resolve(u),null===(i=e.dragging)||void 0===i?void 0:i.slice);return g?u:null}},37872:function(e,t,n){"use strict";n.d(t,{SS:function(){return i}});var l=n(27191);n(91073);var a=n(90221),o=n(14657);n(96342),n(52332),n(27835),n(66855),n(54999);let i=(e,t,n,i)=>{let{view:r,state:s}=e;if(!t.dataTransfer||!i&&!(i=e.view.domAtPos(n).node))return;let d=i.dataset.contentReference,u=0,c=0;if((0,a.i7)()&&d){let[e,t]=d.split(",").map(parseFloat);e&&t&&(u=e,c=t)}t.dataTransfer.clearData(),t.dataTransfer.effectAllowed="move",t.dataTransfer.setData("text/html",i.innerHTML),t.dataTransfer.setData("text/plain",i.textContent||""),t.dataTransfer.setDragImage(i,u,c);let m=l.qv.create(s.doc,n),f=m.content();r.dispatch(r.state.tr.setSelection(m)),r.dragging={slice:f,move:!0};let p=(0,o.lG)({pos:n,editor:e,from:m.from,to:m.to});p&&(r.dragging.annotations=p)}},32398:function(e,t,n){"use strict";n.d(t,{RA:function(){return u},Sc:function(){return d},Us:function(){return r},ZF:function(){return s}});var l=n(37164),a=n(94090),o=n(16656),i=n(93982);let r=(e,t,n)=>{e&&t&&e.replacePageContent(t.shapes,t.bindings,n)},s=(e,t)=>{e.setSetting("isSnapping",t),setTimeout(()=>{(0,o.kC)(e,t?128:10)})},d=(e,t)=>{let n=(0,a.bh)(),l=t?{drawingId:e}:{drawingId:null};n.dispatch((0,i.h)(l))},u=()=>(0,l.x0)(5)},17487:function(e,t,n){"use strict";n.d(t,{Hy:function(){return z},Pi:function(){return A},HU:function(){return I}});var l=n(52322),a=n(72338),o=n(27191),i=n(2784),r=n(27354),s=n(68292),d=n(94090),u=n(93982),c=n(36651),m=n(66028);let f=e=>{let{ref:t,pickerInstance:n}=e;(0,i.useImperativeHandle)(t,()=>{let e=e=>{var t,l,a;let o=null===(a=n.component)||void 0===a?void 0:null===(l=a.refs)||void 0===l?void 0:null===(t=l.searchInput)||void 0===t?void 0:t.current;if(o){let{key:t,code:n}=e;o.dispatchEvent(new KeyboardEvent("keydown",{key:t,code:n}))}return e.stopPropagation(),e.preventDefault(),!0};return{onKeyDown:t=>{let{event:n}=t;return!!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Enter"].includes(n.key)&&e(n)}}})},p=(0,i.forwardRef)((e,t)=>{let{query:n,onSelect:a}=e,o=(0,d.CG)(u.yx),s=(0,c.py)("edit",o),[p,g]=(0,i.useState)(null),h=(0,i.useCallback)(e=>{if(g(e),e.shadowRoot){let t=document.createElement("style");t.innerHTML="nav + div.padding-lr { display: none }",e.shadowRoot.appendChild(t)}e.addEventListener("mousedown",m.br)},[]);f({ref:t,pickerInstance:p}),(0,i.useEffect)(()=>{var e,t,l;if(!p)return;let a=null===(l=p.component)||void 0===l?void 0:null===(t=l.refs)||void 0===t?void 0:null===(e=t.searchInput)||void 0===e?void 0:e.current;a&&(a.value=n,a.dispatchEvent(new Event("input",{bubbles:!0})))},[p,n]);let b=(0,i.useCallback)(e=>{let t=(0,r.Oj)(e.id);t&&a(t)},[a]);return s?(0,l.jsx)(r.h5,{onCreate:h,perLine:9,searchPosition:"sticky",handlePick:b,shouldFocusSearch:!1,dataTargetName:"emoji-list"}):(0,l.jsx)(l.Fragment,{})});var g=n(1365),h=n(66121),b=n(19283),y=n(33374);let v=(e,t)=>(n,l)=>{let a=n.getState(e.view.state),o={...a};o.active=!0,o.key=l,o.query="",t.setMeta(n,o)},k=/:([a-zA-Z0-9_+-]+):$/,x=RegExp(g.V.source+"$","g"),w=new o.H$("EmojiMenu"),S=e=>{let t=(0,r.vb)(e[0]);return{id:t,native:e[0]}},C=e=>{let t=(0,r.N$)(e);return{id:e.id,native:t}},z=a.NB.create({name:"emoji",group:"inline",inline:!0,selectable:!1,atom:!0,addAttributes:()=>({id:{},native:{}}),parseHTML:()=>[{tag:"span.emoji:not([id])",skip:!0},{tag:"span[class=emoji]"}],addCommands:()=>({openEmojiPicker:function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return t=>{let{commands:n,tr:l,editor:a}=t;return v(a,l)(w,":"),!e||n.insertContent(":")}}}),addInputRules(){return[new a.VK({find:k,handler:e=>{let{range:t,match:n,commands:l}=e,a=n[1],o=(0,r.Oj)(a);if(!o)return;let i=C(o);l.insertContentAt(t,{type:"emoji",attrs:i})}}),(0,a.x2)({find:e=>{var t;let n=[...e.matchAll(x)];if(!n||0===n.length)return null;let l=n[0],a={index:null!==(t=l.index)&&void 0!==t?t:-1,text:l[0],match:l};return console.debug("[EmojiNode] JAMES nodeInputRule",{matches:n,result:a}),a},type:this.type,getAttributes:S})]},addPasteRules(){return[(0,s.S)({find:g.V,type:this.type,getAttributes:S})]},renderHTML(e){let{HTMLAttributes:t,node:n}=e;return["span",(0,a.P1)(t,{class:"emoji"}),"".concat(n.attrs.native||"�")]},renderHTMLforAI(e){let{node:t}=e;return t.attrs.native||""},renderText(e){let{node:t}=e;return"".concat(t.attrs.native||"�")}}),A=(0,y.ty)({name:"emojiShortcuts",char:":",pluginKey:w,MenuComponent:(0,i.forwardRef)((e,t)=>{let{query:n,editor:a}=e;return a.isEditable?(0,l.jsx)(p,{ref:t,query:n,onSelect:e=>{let{id:t}=e,l=(0,r.N$)(e),o=a.state.selection;a.chain().deleteRange({from:o.from-n.length-1,to:o.to}).insertContent({type:"emoji",attrs:{id:t,native:l}}).insertContent(" ").run()}}):null}),priority:b.a.EmojiShortcuts}),I=e=>{let{node:t,pos:n,tr:l,schema:a}=e;if(!(0,r.zx)())return!1;if(!t.isText||!t.text)return!0;let o=t.marks.map(e=>e.toJSON()),{replaced:i,nodes:s}=(0,h.W)(t.text,o);try{i&&l.replaceWith(l.mapping.map(n),l.mapping.map(n+t.nodeSize),s.map(e=>a.nodeFromJSON(e)))}catch(e){console.error("[migratePlugin] Error migrating emoji",{err:e,pos:n,text:t.text,node:t,nodes:s})}return!0}},1365:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var l=n(56230),a=n.n(l);let o=a()()},66121:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var l=n(27354),a=n(1365);let o=(e,t)=>{let n=[],o=e.matchAll(a.V),i=0;for(let a of o){let o=a.index;if(void 0===o)continue;let r=o+a[0].length,s=a[0],d=(0,l.vb)(s);if(!d)continue;let u=(0,l.Oj)(d),c=e.slice(i,o);c.length>0&&n.push({type:"text",text:c,marks:t});let m={type:"emoji",attrs:{native:s,id:null==u?void 0:u.id},marks:t};i=r,n.push(m),console.debug("[migratePlugin] Replacing bad emoji",{start:o,end:r,native:s,newNode:m,textBefore:c,match:a})}let r=e.slice(i);return 0===i?{replaced:!1,nodes:n}:(r&&n.push({type:"text",text:r,marks:t}),{replaced:!0,nodes:n})}},13180:function(e,t,n){"use strict";n.d(t,{R:function(){return d},_:function(){return s}});var l=n(72338),a=n(27191),o=n(52780),i=n(11093);let r=e=>e.isTextblock||["gallery","cardLayoutItem","buttonGroup","navbarLinks","navbarButtons","toggleSummary"].includes(e.type.name),s=l.hj.create({name:"emptyNodes",addOptions:()=>({emptyNodeClass:"is-empty",showOnlyWhenEditable:!0,showOnlyCurrent:!1}),addProseMirrorPlugins(){return[new a.Sy({key:new a.H$("emptyNodes"),props:{decorations:e=>{let{doc:t,selection:n}=e,l=[],a=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:s}=n;if(a)return t.descendants((e,t)=>{if(!r(e))return;let n=s>=t&&s<=t+e.nodeSize,a=(0,i.$y)(e);(n||!this.options.showOnlyCurrent)&&a&&l.push(o.p.node(t,t+e.nodeSize,{class:this.options.emptyNodeClass},{isEmpty:!0}))}),o.EH.create(t,l)}}})]}}),d=e=>e.some(e=>e.spec.isEmpty)},97857:function(e,t,n){"use strict";n.d(t,{yv:function(){return k}});var l=n(73200),a=n(72338),o=n(27191),i=n(52780),r=n(94090),s=n(22265),d=n(11050),u=n(93982),c=n(90604),m=n(11093),f=n(67748),p=n(52332),g=n(96255),h=n(82400),b=n(71474),y=n(54999);let v=new o.H$("expandableNodes"),k=e=>e.some(e=>e.spec.isExpandableNode),x=e=>e instanceof f.c&&0===e.side&&w(e.node),w=e=>!0===e.type.spec.expandable,S=(e,t)=>{if(!(null==t?void 0:t.from))return!1;let n=(0,m.Sh)(e,t.from),l=(0,s.v4)(n);return(null==l?void 0:l.inView)===!0},C=(e,t,n)=>{let l=(0,g.XE)(e.view.nodeDOM(t)),a=(0,s.v4)(l);if(!a)return!1;let{bottomInView:o,topInView:i}=a;return"top"===n?i:o},z=function(e,t,n){let l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=e.state.selection,i=a instanceof f.c&&1===a.side?a.to:a.from;if(i<=t){let n=C(e,t,"top");if(n)return null}else if(i>=n){let n=C(e,t,"bottom");if(n)return null}else{if(S(e,a))return null;let t=e.state.doc.resolve(i);if(S(e,o.Y1.findFrom(t,-1,!1))||S(e,o.Y1.findFrom(t,1,!1)))return null}let r=(0,m.TV)({editor:e,side:l?"bottom":"top",margin:200});if(r.pos){let t=o.Y1.findFrom(e.state.doc.resolve(r.pos),l?1:-1,!1);return(null==t?void 0:t.from)||null}return null};a.hj.create({name:"expandableNodes",extendNodeSchema(e){var t;return{expandable:null!==(t=(0,a.nU)((0,a.Nl)(e,"expandable",e)))&&void 0!==t&&t}},addCommands:()=>({expandOrCollapseExpandableNode:e=>t=>{let{state:n,chain:l}=t,a=null!=e?e:n.selection.from,o=n.doc.nodeAt(a);if(!o||!w(o))return!1;let i=(0,r.bh)();switch(o.type.name){case"card":if(i.dispatch((0,u.Qx)({attached:!1})),null===d.co||void 0===d.co||d.co.track(d.AA.CARD_EXPANDED,{is_present_mode:!0,method:"enter_key"}),(0,p.HD)(o.attrs.id))return l().descendIntoCurrentCard(a).reHighlightExpandableNode().run();return l().spotlightCollapseCard(a).reHighlightExpandableNode().run();case"toggle":{(0,y.xB)(o.attrs.id,!(0,y.fH)(o.attrs.id));let t=l();return e&&t.spotlightNextBlock(),t.reHighlightExpandableNode().run(),!0}case"image":case"video":case"embed":return i.dispatch((0,u.RW)({nodeId:o.attrs.id})),!0;case"gallery":{let e=o.firstChild;if(e)return i.dispatch((0,u.RW)({nodeId:e.attrs.id})),!0;return!1}default:return!1}},goToNextExpandableNode:e=>t=>{var n;let{editor:l,tr:a,state:o}=t,i=b.M.getState(l.state),r=(0,g.Bw)(l,i.cardId);if(!r)return!1;let d=r.node.attrs.id,u=r.pos,c=r.pos+r.node.nodeSize,m=l.state.selection,p=x(m),y=m instanceof f.c,k=z(l,u,c,e),S=(null===(n=v.getState(o))||void 0===n?void 0:n.lastApplied)||+new Date,C=p&&!k&&+new Date-S>3e3;if(C)return l.commands.reHighlightExpandableNode();a.setMeta(v,{});let A=y&&(-1===m.side&&e||1===m.side&&!e)?-1:0,I=k||(p||!y?m.from:1===m.side?m.to+A:m.from+A),j=Math.min(Math.max(I,u),c-1),F=(0,h.xd)(l,d,j,w,e);if(console.debug("[ExpandableNodes] goToNextExpandableNode",{posToUse:j,overridePos:k},F),!F.pos||!F.domNode||F.cardId!==d)return a.setSelection(f.c.create(l.state.doc,u,e?-1:1)),!1;let B=(0,s.v4)(F.domNode,50);return(null==B?void 0:B.inView)?(a.setSelection(f.c.create(l.state.doc,F.pos)),(0,s.cC)("editor").scrollElementIntoView({element:F.domNode,attempts:0,offsetFromTop:null}),!0):(p&&a.setSelection(f.c.create(l.state.doc,m.from,e?-1:1)),!1)},reHighlightExpandableNode:()=>e=>{let{tr:t,editor:n}=e;return t.setMeta(v,{shouldAddResetClass:!0}),requestAnimationFrame(()=>{n.commands.command(e=>{let{tr:t}=e;return t.setMeta(v,{shouldAddResetClass:!1}),!0})}),!0}}),addProseMirrorPlugins:()=>[new o.Sy({key:v,state:{init:()=>({lastApplied:0,shouldAddResetClass:!1}),apply(e,t){let n=e.getMeta(v);return n?{...t,lastApplied:+new Date,...n}:t}},props:{decorations(e){let t=b.M.getState(e);if(null==t?void 0:t.pos)return i.EH.empty;let n=v.getState(e),a=(0,u.gh)((0,r.bh)().getState());if(a!==c.q.SLIDE_VIEW)return i.EH.empty;let o=e.selection;if(!x(o)||!(o instanceof f.c))return i.EH.empty;let s=o.node;return i.EH.create(e.doc,[i.p.node(o.from,o.from+s.nodeSize,{class:(0,l.cx)("expandable-node-selected",(null==n?void 0:n.shouldAddResetClass)&&"expandable-node-reset")},{isExpandableNode:!0})])}}})]})},79786:function(e,t,n){"use strict";n.d(t,{Bf:function(){return s},Bi:function(){return c},Zh:function(){return d},hY:function(){return u}});var l=n(72338),a=n(47577),o=n(98314),i=n(70952),r=n(43298);let s=l.hj.create({name:"fontSize",addProseMirrorPlugins:()=>[(0,i.a)()],addInputRules:()=>Object.entries((0,o.yw)()).map(e=>{let[t,{inputRegex:n,type:l}]=e;return n?(0,a.A0)({find:n,getAttributes:e=>("heading"!==l||u(e).includes("heading"))&&("title"!==l||u(e).includes("title"))?{fontSize:t}:null}):null}).filter(e=>!!e),addKeyboardShortcuts(){let e=Object.entries((0,o.yw)()).reduce((e,t)=>{let[n,{level:l,type:a}]=t;return"heading"===a&&l?{...e,["Mod-Alt-".concat(l)]:()=>this.editor.commands.setFontSize(n)}:e},{});return e},addCommands:()=>({setFontSize:e=>t=>{let{tr:n,dispatch:l,state:a}=t;return!l||(n.selection.ranges.forEach(t=>{let l=t.$from.pos,o=t.$to.pos,{type:i,level:s}=(0,r.hx)(e),{nodes:d}=a.schema;a.doc.nodesBetween(l,o,(t,l)=>{var a;if("footnote"===t.type.name)return!1;if(t.isTextblock){if("heading"===i&&!u(t).includes("heading")){n.setNodeMarkup(l,d.heading,{...t.attrs,level:s}).setMeta("annotationEvent",{type:"update-node-attrs",pos:l});return}if("title"===i&&!u(t).includes("title")){n.setNodeMarkup(l,d.title,{...t.attrs,level:s}).setMeta("annotationEvent",{type:"update-node-attrs",pos:l});return}(null===(a=t.type.spec.attrs)||void 0===a?void 0:a.fontSize)?n.setNodeMarkup(l,void 0,{...t.attrs,fontSize:e}).setMeta("annotationEvent",{type:"update-node-attrs",pos:l}):["heading","title"].includes(t.type.name)&&n.setNodeMarkup(l,d.paragraph,{...t.attrs,fontSize:e}).setMeta("annotationEvent",{type:"update-node-attrs",pos:l})}})}),!0)}}),extendNodeSchema(e){var t;return{allowFontSizes:null!==(t=(0,l.nU)((0,l.Nl)(e,"allowFontSizes",e)))&&void 0!==t?t:""}}}),d=e=>{let{state:t}=e,{from:n,to:a}=t.selection,o=(0,l.b5)(t.doc,{from:n,to:a},e=>e.isTextblock),i=o.reverse().map(e=>{let{node:t}=e;return t.attrs.fontSize}).filter(e=>void 0!==e);return[...new Set(i)]},u=e=>{var t,n;return null!==(n=null===(t=e.type.spec.allowFontSizes)||void 0===t?void 0:t.split(" "))&&void 0!==n?n:[]},c={default:null,keepOnSplit:!0,renderHTML:e=>({"data-font-size":e.fontSize}),parseHTML:e=>e.getAttribute("data-font-size")}},70952:function(e,t,n){"use strict";n.d(t,{a:function(){return r},z:function(){return s}});var l=n(27191),a=n(52780),o=n(43298);let i=e=>["calloutBox","smartLayoutCell"].includes(e.type.name),r=()=>new l.Sy({key:new l.H$("fontSize"),props:{decorations(e){let t=[];if(e.doc.descendants((e,n)=>{if(!i(e)||!e.firstChild)return;let l=(0,o.Aw)(e.firstChild);t.push(a.p.node(n,n+e.nodeSize,{},{isFirstChildFontSizeDecoration:!0,firstChildSize:l}))}),0!=t.length)return a.EH.create(e.doc,t)}}}),s=e=>{var t;return(null===(t=e.find(e=>e.spec.isFirstChildFontSizeDecoration))||void 0===t?void 0:t.spec)||{}}},98314:function(e,t,n){"use strict";n.d(t,{B8:function(){return r},Yt:function(){return s},be:function(){return d},yw:function(){return i}});var l=n(87254),a=n(829),o=n.n(a);let i=()=>({sm:{label:l.ag._({id:"LBkaLa"}),size:.8,flagged:!0,type:"body",shortcut:"/sm"},default:{label:l.ag._({id:"5NwZ8t"}),size:1,type:"body",shortcut:"/md"},lg:{label:l.ag._({id:"0Sz17G"}),size:1.25,flagged:!0,type:"body",shortcut:"/lg"},h4:{label:l.ag._({id:"nJeKmw"}),size:1.25,mobileSize:1.1,level:4,type:"heading",inputRegex:/^####\s$/,shortcut:"####"},h3:{label:l.ag._({id:"SFN6dN"}),size:1.5,mobileSize:1.25,level:3,type:"heading",inputRegex:/^###\s$/,shortcut:"###"},h2:{label:l.ag._({id:"El7NbA"}),size:2,mobileSize:1.5,level:2,type:"heading",inputRegex:/^##\s$/,shortcut:"##"},h1:{label:l.ag._({id:"lXKZGw"}),size:2.5,mobileSize:2,level:1,type:"heading",inputRegex:/^#\s$/,shortcut:"#"},title:{label:l.ag._({id:"MHrjPM"}),size:3.45,mobileSize:2.25,level:1,type:"title",inputRegex:/^!\s$/,shortcut:"!"},titleLg:{label:l.ag._({id:"Xm/s+u"}),size:5,level:2,mobileSize:2.5,type:"title",inputRegex:/^!!\s$/,shortcut:"!!"},titleXl:{label:l.ag._({id:"bSLwU6"}),size:7.5,level:3,mobileSize:2.75,type:"title",inputRegex:/^!!!\s$/,shortcut:"!!!"}}),r=()=>o()(Object.entries(i()).filter(e=>{let[t,{type:n}]=e;return"heading"===n}),e=>{let[t,{level:n}]=e;return n}),s=()=>o()(Object.entries(i()).filter(e=>{let[t,{type:n}]=e;return"title"===n}),e=>{let[t,{level:n}]=e;return n}),d=()=>o()(Object.entries(i()).filter(e=>{let[t,{type:n}]=e;return"body"===n}),e=>{let[t,{size:n}]=e;return n})},12304:function(e,t,n){"use strict";n.d(t,{I0:function(){return i},Ji:function(){return s},_l:function(){return o},v0:function(){return r}});var l=n(98314),a=n(43298);let o=1.25,i=1.5,r=(e,t)=>{let{size:n,mobileSize:l}=(0,a.hx)(e),o=e&&(0,a.qx)(e);if(o){var i,r;let e=(null!==(i=t.config.headingFontSize)&&void 0!==i?i:1)/(null!==(r=t.config.fontSize)&&void 0!==r?r:1),a=n*e,o=l?l*e:void 0;return{fontSize:o?["".concat(o,"em"),"".concat(a,"em")]:"".concat(a,"em"),"@media print":{fontSize:"".concat(a,"em")},lineHeight:"var(--line-height-heading)"}}return{fontSize:l?["".concat(l,"em"),"".concat(n,"em")]:"".concat(n,"em"),"@media print":{fontSize:"".concat(n,"em")},lineHeight:"var(--line-height-body)"}},s=e=>{let t={".block-paragraph":{...r("default",e)},".block-heading":{'.heading[level="1"]':{...r("h1",e)},'.heading[level="2"]':{...r("h2",e)},'.heading[level="3"]':{...r("h3",e)},'.heading[level="4"]':{...r("h4",e)}},".block-title":{".title":{...r("title",e)},'.title[level="1"]':{...r("title",e)},'.title[level="2"]':{...r("titleLg",e)},'.title[level="3"]':{...r("titleXl",e)}}};return Object.keys((0,l.yw)()).forEach(n=>{let l=r(n,e);t['[data-font-size="'.concat(n,'"]')]=l}),t}},43298:function(e,t,n){"use strict";n.d(t,{Aw:function(){return r},K1:function(){return o},KY:function(){return i},hx:function(){return a},qx:function(){return s}});var l=n(98314);let a=e=>null==e||void 0==e?(0,l.yw)().default:(0,l.yw)()[e]||(0,l.yw)().default,o=e=>{var t;return null===(t=Object.entries((0,l.yw)()).find(t=>{let[n,l]=t;return"heading"===l.type&&l.level==e}))||void 0===t?void 0:t[0]},i=e=>{var t;return null===(t=Object.entries((0,l.yw)()).find(t=>{let[n,l]=t;return"title"===l.type&&l.level==e}))||void 0===t?void 0:t[0]},r=e=>"heading"===e.type.name?o(e.attrs.level):"title"===e.type.name?i(e.attrs.level):e.attrs.fontSize,s=e=>{let{type:t}=a(e);return"heading"===t||"title"===t}},96693:function(e,t,n){"use strict";n.d(t,{AW:function(){return f},H:function(){return m},NX:function(){return u},RV:function(){return c},t0:function(){return d}});var l=n(54073),a=n.n(l),o=n(37164),i=n(27191),r=n(94090),s=n(93982);let d=(e,t)=>{let n=(0,r.bh)(),l=t?{noteId:e}:{noteId:null};n.dispatch((0,s.K7)(l));let a=n.getState();!t&&(0,s.tY)(a)&&n.dispatch((0,s.AK)({isEditingMedia:!1})),!t&&(0,s._I)(a)&&n.dispatch((0,s.RW)({nodeId:null}))},u=a()(d,30),c=()=>{let e=(0,r.bh)().getState();return(0,s.II)(e)},m=()=>(0,o.x0)(5),f=e=>e instanceof i.qv&&"footnote"===e.node.type.name},35251:function(e,t,n){"use strict";n.d(t,{e:function(){return l},z:function(){return a}});let l="fromInnerEditor",a="fromOuterEditor"},3452:function(e,t,n){"use strict";n.d(t,{M:function(){return o},W:function(){return i}});var l=n(26151),a=n(35251);let o=e=>"footnote"==e.schema.topNodeType.name,i=function(e,t,n,o){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"footnote";e.forEach(e=>{let t=e.steps.filter(e=>e instanceof l.WJ||e instanceof l.xu);0==t.length||e.getMeta(a.e)||e.getMeta("appendedTransaction")||t.forEach(e=>{let{from:t,to:a,mark:r}=e;n.doc.nodesBetween(t,a,(n,s)=>{n.type.name===i&&sthis.editor.commands.setHardBreak()}}})},85818:function(e,t,n){"use strict";n.d(t,{X6:function(){return b},MQ:function(){return h}});var l=n(71391),a=n(90507),o=n(47577),i=n(86353),r=n(52322),s=n(73200),d=n(87254),u=n(56329),c=n(4030),m=n(77381),f=n(17630);let p=e=>{let{node:t,decorations:n}=e,{level:l,horizontalAlign:o,placeholder:i}=t.attrs,p=(0,m.V)(n),g=i||(p?d.ag._({id:"gLDJuJ"}):d.ag._({id:"1nLERW",values:{level:l}}));return(0,r.jsx)(c.lO,{...e,style:{display:"flex",flexDirection:"column",...(0,f.nN)(o)},children:(0,r.jsx)(a.ms,{level:l,"data-placeholder":g,className:(0,s.cx)("heading",u.A8),style:{minWidth:"min(100%, 10em)"}})})},g=[1,2,3,4],h=Math.max(...g),b=l.X.extend({selectable:!1,group:"block cardNotesBlock",addAttributes:()=>({level:{default:1,rendered:!1}}),addNodeView:()=>(0,a.fW)(p,{update:i.E7}),addInputRules(){return this.options.levels.map(e=>(0,o.Wy)({find:new RegExp("^(#{1,".concat(e,"})\\s$")),type:this.type,getAttributes:{level:e}},[this.editor.state.schema.nodes.bullet,this.editor.state.schema.nodes.numbered,this.editor.state.schema.nodes.todo]))}}).configure({levels:g})},17630:function(e,t,n){"use strict";n.d(t,{Ec:function(){return b},Kq:function(){return p},ZE:function(){return c},nN:function(){return m},yg:function(){return f}});var l=n(42946),a=n(87254),o=n(72338),i=n(27191),r=n(11093),s=n(19283);let d=["paragraph","heading","title","drawing","diagram","image","contributors","mediaPlaceholder","buttonGroup","navbarLinks","gallery","chart"],u=["left","right","center"],c=e=>u.find(t=>e.isActive({horizontalAlign:t})),m=e=>{let t=f(e);return{textAlign:e||void 0,alignItems:t||"var(--flex-align)","--flex-align":t}},f=e=>{if(e)return({left:"flex-start",center:"center",right:"flex-end"})[e]},p=o.hj.create({name:"horizontalAlign",priority:s.a.HorizontalAlign,addOptions:()=>({types:d,alignments:u,defaultAlignment:null}),addGlobalAttributes(){return[{types:this.options.types,attributes:{horizontalAlign:{default:this.options.defaultAlignment,keepOnSplit:!0,parseHTML:e=>e.style.textAlign||e.getAttribute("align")||this.options.defaultAlignment,renderHTML:e=>e.horizontalAlign?{style:"text-align: ".concat(e.horizontalAlign)}:{}}}}]},addCommands:()=>({toggleHorizontalAlign:e=>t=>{let{tr:n,dispatch:l,state:a,editor:o}=t;if(!l)return!0;let i=g(o,e),r=i?null:e;return n.selection.ranges.forEach(e=>{let t=e.$from.pos,l=e.$to.pos;a.doc.nodesBetween(t,l,(e,t)=>{if("footnote"===e.type.name)return!1;d.includes(e.type.name)&&n.setNodeMarkup(t,void 0,{...e.attrs,horizontalAlign:r}).setMeta("annotationEvent",{type:"update-node-attrs",pos:t})})}),!0}}),addKeyboardShortcuts(){return{"Mod-Shift-l":()=>this.editor.commands.toggleHorizontalAlign("left"),"Mod-Shift-e":()=>this.editor.commands.toggleHorizontalAlign("center"),"Mod-Shift-r":()=>this.editor.commands.toggleHorizontalAlign("right"),Backspace:()=>{let{selection:e}=this.editor.state;if(!(e instanceof i.Bs)||!e.empty)return!1;let t=e.$from.parent;return!!d.includes(t.type.name)&&!!t.isTextblock&&!(t.nodeSize>2)&&t.attrs.horizontalAlign!=this.options.defaultAlignment&&this.editor.commands.toggleHorizontalAlign(this.options.defaultAlignment)}}}}),g=(e,t)=>{let n=u.filter(e=>e!==t);return e.isActive({horizontalAlign:t})&&!n.some(t=>e.isActive({horizontalAlign:t}))},h=e=>!(0,r.V2)(e,"horizontalAlign"),b=[{key:"alignLeft",name:()=>a.ag._({id:"VjjKVj"}),icon:l.elf,checkActive:e=>g(e,"left"),checkDisabled:h,apply:e=>e.chain().toggleHorizontalAlign("left").run(),shortcut:"Mod+Shift+L",enabledForTables:!0,alignment:"left"},{key:"alignCenter",name:()=>a.ag._({id:"95ckMP"}),icon:l.MB3,checkActive:e=>g(e,"center"),checkDisabled:h,apply:e=>e.chain().toggleHorizontalAlign("center").run(),shortcut:"Mod+Shift+E",enabledForTables:!0,alignment:"center"},{key:"alignRight",name:()=>a.ag._({id:"vTKw81"}),icon:l.S3c,checkActive:e=>g(e,"right"),checkDisabled:h,apply:e=>e.chain().toggleHorizontalAlign("right").run(),shortcut:"Mod+Shift+R",enabledForTables:!0,alignment:"right"}]},89484:function(e,t,n){"use strict";n.d(t,{D:function(){return a}});var l=n(15690);let a=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=t.nodeAfter;if(!a)return!1;e.deleteRange(t.pos,t.pos+a.nodeSize);let o=e.doc.nodeAt(t.pos),i=t.pos,r=1;(!n&&t.nodeBefore||n&&!o&&t.nodeBefore)&&(i=t.pos-t.nodeBefore.nodeSize,r=-1);let s=e.doc.resolve(i+1),d=(0,l.E)(e.doc.resolve(r>0?s.pos:s.end()),r);return d&&e.setSelection(d),!0}},71986:function(e,t,n){"use strict";n.d(t,{h:function(){return l},x:function(){return a}});let l=4,a={type:"gridCell",content:[{type:"paragraph"}]}},35503:function(e,t,n){"use strict";n.d(t,{BF:function(){return d},SA:function(){return r},TH:function(){return h},Tl:function(){return v},_5:function(){return s},oc:function(){return b},ug:function(){return k}});var l=n(72338),a=n(11093);let o=["card","document","gridLayout","gallery"],i=e=>e.isBlock&&!o.includes(e.type.name)&&!(e.isTextblock&&(0,a.bR)(e)),r=e=>"gridLayout"===e.type.name,s=e=>"gridCell"===e.type.name,d=(e,t,n,l)=>{let a=n&&u(e,n,t);if(a)return a;if(n&&!p(n,e.state.schema)||l)return null;let o=c(e,t,"right")||c(e,t,"left");return!o||n&&n.content.firstChild===o.node?null:o},u=(e,t,n)=>{var o;if(!g(t,e.state.schema))return null;let i=null===(o=e.posAtCoords({left:n.clientX,top:n.clientY}))||void 0===o?void 0:o.inside;if(!i||-1==i)return null;let{doc:r}=e.state,d=r.resolve(i),u=r.nodeAt(i),c=u&&s(u)?{node:u,pos:i}:(0,l.qv)(d,s),m=(null==c?void 0:c.pos)&&(0,a.Fu)(c.pos,e);if(!c||!m)return null;let f=n.clientX>m.left+m.width/2?"right":"left";return{pos:c.pos,node:c.node,rect:m,side:f}},c=(e,t,n)=>{var o;let r=null===(o=e.posAtCoords({left:t.clientX+("left"==n?40:-40),top:t.clientY}))||void 0===o?void 0:o.inside;if(!r||-1==r)return null;let{doc:s,schema:d}=e.state,u=s.resolve(r),c=s.nodeAt(r),p=c&&i(c)?{node:c,pos:r}:(0,l.qv)(u,i);if(!p)return null;let g=(0,a.Fu)(r,e);if(!g)return null;let h="left"==n?t.clientX-g.left:g.right-t.clientX,b=h<0,y=b&&h>-40||"right"==n&&h<(g.right-g.left)*.15;if(!y)return null;let v=s.resolve(p.pos),k=(null==c?void 0:c.type.name)==="gridCell"&&m(v,d)||f(v,d);if(b||!k){let t=(0,l.qv)(u,e=>"gridCell"===e.type.name);if(t&&m(s.resolve(t.pos),d)){let l=(0,a.Fu)(t.pos,e);return l?{pos:t.pos,node:t.node,side:n,rect:l}:null}}return k?{pos:p.pos,rect:g,node:p.node,side:n}:null},m=(e,t)=>e.parent.canReplaceWith(e.index(),e.index(),t.nodes.gridCell),f=(e,t)=>e.parent.canReplaceWith(e.index(),e.indexAfter(),t.nodes.gridLayout),p=(e,t)=>t.nodes.gridCell.validContent(e.content),g=(e,t)=>t.nodes.gridLayout.validContent(e.content),h=e=>y(e,"gridLayout"),b=e=>{let t=y(e,"gridLayout");if(!t||!t.nodeAfter)throw Error();let n=t.nodeAfter,l=[],a=t.start(t.depth+1);for(let e=0;e{var n;if((null===(n=e.nodeAfter)||void 0===n?void 0:n.type.name)===t)return e;let l=e.doc;for(let n=e.depth;n>0;n--)if(e.node(n).type.name===t)return l.resolve(e.before(n));return null},v=(e,t)=>{let n=b(e),l=n[-1===t?n.length-1:t];return l?e.doc.resolve(l.pos):null},k=e=>{let t=b(e);return t.findIndex(t=>t.pos===e.pos)}},26737:function(e,t,n){"use strict";n.d(t,{v:function(){return l}});let l=["tel","mailto"]},50322:function(e,t,n){"use strict";n.d(t,{r:function(){return T}});var l=n(70675),a=n(27191),o=n(42111),i=n(11093),r=n(90221),s=n(90439),d=n(96374),u=n(19283),c=n(98168),m=n(66855),f=n(26737),p=n(94090),g=n(93982),h=n(71173);let b=e=>new a.Sy({key:new a.H$("handleCmdClickLink"),props:{handleDOMEvents:{click:(t,n)=>{var l;let a=(0,p.bh)(),o=(0,g.hN)(a.getState()),r=null===(l=n.target)||void 0===l?void 0:l.closest("a"),s=null==r?void 0:r.href;if(!s||(null==r?void 0:r.closest("[data-comments-wrapper]")))return!1;n.preventDefault();let d=n.ctrlKey||n.metaKey,u=(0,i.g)(s),c=(0,g.xb)(a.getState()),m=(0,i.NC)(s,c);if(o){if(!d)return!1;if(m)return(0,h.l)(e,n,u),!1}else if(!d&&m)return(0,h.l)(e,n,u),!1;return window.open(s,"_blank"),!1}}}});var y=n(52322),v=n(28535),k=n(77533),x=n(332),w=n(11881),S=n(5879),C=n(7165),z=n(88241),A=n(2784),I=n(96221),j=n(26803),F=n(50788),B=n(90507),M=n(944),E=n(29097);let _=(0,C.E)(v.xu),O=e=>{let{node:t,children:n}=e,{href:l,meta:a}=t.attrs,o=(0,p.CG)(g.hN),i=(0,F.C7)(),{interceptLinkClick:s,linkUrlSafe:d,isUntrusted:u}=(0,I.x)(l),{linkUrl:c,handleClick:m}=(0,j.H)({url:l||""}),f=(0,A.useCallback)(e=>{if(null==m||m(e),!o)return i?void 0:s(e);e.preventDefault()},[o,m,s,i]),{popperRef:h,referenceRef:b,isHovering:v,onMouseOver:C,onMouseOut:O,getPopperProps:P}=(0,M.Ux)();return(0,y.jsxs)(B.T5,{as:"span",children:[u?(0,y.jsx)(k.x,{as:"span",textDecoration:"underline",color:"gray.500",children:(0,y.jsx)(S.cC,{id:"b7jHrl"})}):(0,y.jsxs)(k.x,{as:"a",className:"link",rel:"noopener nofollow",href:i?c:d||"",onClick:f,onMouseOver:C,onMouseOut:O,ref:b,children:[(0,r.i7)()&&(0,y.jsx)("span",{contentEditable:!1,children:"​"}),i?n:(0,y.jsx)(B.ms,{as:"span"}),(0,r.i7)()&&(0,y.jsx)("span",{contentEditable:!1,children:"​"})]}),!1===i&&v&&c&&a?(0,y.jsx)(x.h,{children:(0,y.jsx)(z.M,{children:(0,y.jsx)(_,{position:"relative",zIndex:"popover",ref:h,onMouseOver:C,onMouseOut:O,className:"link-preview-hover",...P(),...M.rc,w:"min(500px, 80vw)",minW:"auto !important",children:(0,y.jsxs)(w.f,{backgroundColor:"white",border:"1px solid",borderColor:"gray.200",shadow:"lg",borderRadius:"lg",_hover:{backgroundColor:"trueblue.50"},children:[(0,y.jsx)(E.fu,{node:t}),(0,y.jsx)(w.A,{href:c,target:"_blank",rel:"noopener nofollow",onClick:f})]})})})}):null]})};var P=n(84875);let T=l.Z.extend({priority:u.a.Link,inclusive:!1,excludes:"underline footnoteLabel link",addAttributes:()=>({href:{default:""},source:{},thumbnail:{...(0,i.sw)("thumbnail")},embed:{...(0,i.sw)("embed")},meta:{...(0,i.sw)("meta")}}),addCommands(){var e;return{...null===(e=this.parent)||void 0===e?void 0:e.call(this),convertLinkToMedia:e=>t=>{let{chain:n,editor:l}=t,{href:a,...o}=l.getAttributes("link");if(!a||(0,P.H7)(a))return!1;if(!o.source)return n().extendMarkRange("link").insertEmbedAndFetchMetadata(a,e,!1).run(),!0;let i=c.ah[o.source],r=(null==i?void 0:i.nodeName)||"embed";return n().extendMarkRange("link").insertContent({type:r,attrs:{...o,sourceUrl:a,url:a,displayStyle:e}}).selectInsertedNode().run(),!0},convertMediaToLink:()=>e=>{let{state:t,chain:n}=e;if(!(t.selection instanceof a.qv))return!1;let{from:l,to:o,node:i}=t.selection;if(!(0,m.Bp)(i))return!1;let{sourceUrl:r,meta:s}=i.attrs,d=(null==s?void 0:s.title)||r||"link",u={from:l+1,to:l+1+d.length};return n().insertContentAt({from:l,to:o},[{type:"paragraph",attrs:{},content:[{type:"text",text:d}]}],{updateSelection:!0}).setTextSelection(u).setMark(T.name,{...i.attrs,href:r}).run(),!0},updateSurroundingLink:e=>t=>{let{state:n,chain:l,editor:a}=t,{from:o,to:i}=n.selection;return(0,P.m7)(e,a),l().extendMarkRange("link").updateAttributes("link",{href:e}).setMeta("preventAutolink",!0).setTextSelection({from:o,to:i}),!0},removeSurroundingLink:()=>e=>{let{state:t,chain:n}=e,{from:l,to:a}=t.selection;return n().extendMarkRange("link").unsetMark("link").setMeta("preventAutolink",!0).setTextSelection({from:l,to:a}).focus(),!0}}},addKeyboardShortcuts(){return{"Mod-k":e=>{let{editor:t}=e,{selection:n}=t.state;return!n.empty&&t.commands.toggleMark(this.name)}}},addProseMirrorPlugins(){var e;let t=(null===(e=this.parent)||void 0===e?void 0:e.call(this))||[];return!(0,r.f_)()&&o.VH.get("linkMetadata")&&!s.cx&&t.push((0,d.r)(this,O)),t.push(b(this.editor)),t}}).configure({HTMLAttributes:{target:void 0,rel:"noopener noreferrer",class:"link"},validate:P.DE,protocols:f.v,linkOnPaste:!1})},71173:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var l=n(57660),a=n(11093),o=n(7628);let i=(e,t,n)=>{if(!n)return;let i=(0,a.lI)(e,100);i&&(0,l.lO)({data:{fromPos:i.pos,fromPct:i.pct},emitChange:!1}),(0,o.D)({cardId:n,method:"push",data:{fromPos:null,fromPct:null}})}},84875:function(e,t,n){"use strict";n.d(t,{DE:function(){return i},H7:function(){return d},Td:function(){return s},m7:function(){return r}});var l=n(13833),a=n(83440),o=n(26737);let i=e=>{let t=!e.includes("://");return!t},r=(e,t)=>{d(e)||(0,l.ft)(e,n=>{let{doc:l,schema:o,tr:i}=t.state;(0,a.Nv)(l,t.schema.marks.link).forEach(t=>{let{node:l,pos:a}=t,r=l.marks.find(t=>"link"===t.type.name&&t.attrs.href==e);r&&i.removeMark(a,a+l.nodeSize,r).addMark(a,a+l.nodeSize,o.marks.link.create({...r.attrs,...n}))}),t.view.dispatch(i)}).catch(e=>{console.error("[Link.fetchUrlThenUpdateMarks]",e)})},s=e=>e.attrs.source||e.attrs.meta||e.attrs.embed,d=e=>{if(!e)return!1;let t=e&&e.toLowerCase();for(let e of o.v)if(t.startsWith(e+":"))return!0;return!1}},88959:function(e,t,n){"use strict";n.d(t,{Z:function(){return f},Q:function(){return p}});var l=n(72338);n(89902);var a=n(88892),o=n(27191),i=n(42111);let r=l.NB.create({name:"math_display",group:"block math",content:"text*",atom:!0,code:!0,renderHTML(e){let{HTMLAttributes:t}=e;return["math-display",(0,l.P1)(t,{class:"math-node"}),0]},parseHTML:()=>[{tag:"math-display"}]});var s=n(16190);let d=l.NB.create({name:"math_inline",group:"inline math",content:"text*",inline:!0,atom:!0,renderHTML(e){let{HTMLAttributes:t}=e;return["math-inline",(0,l.P1)(t,{class:"math-node"}),0]},parseHTML:()=>[{tag:"math-inline"}],addCommands(){return{insertMathInline:()=>e=>{let{state:t,dispatch:n,view:l}=e;return(0,s.$O)(this.type," ")(t,n,l)},convertToMathInline:()=>e=>{let{state:t,chain:n}=e,l=t.doc.textBetween(t.selection.from,t.selection.to);return n().insertContent({type:"math_inline",content:[{type:"text",text:l}]}).run(),!0}}}}),u=/\$([^ $]+)\$[ ]$/,c=/^\${2}\s+$/,m=/^\${2}(.+)\${2}$/,f=l.hj.create({name:"math",addExtensions:()=>[d,r],addProseMirrorPlugins(){let e=i.VH.get("math"),t=e?[new o.Sy({props:{clipboardTextSerializer:e=>s.qk.serializeSlice(e)}}),(0,a.Hw)({rules:[(0,s.Yx)(c,this.editor.schema.nodes.math_display),(0,s.Yx)(m,this.editor.schema.nodes.math_display),(0,s.Oi)(u,this.editor.schema.nodes.math_inline)]})]:[];return[(0,s.c1)({undo:()=>this.editor.commands.undo(),redo:()=>this.editor.commands.redo()})].concat(t)}}),p=e=>"math_display"===e.type.name||"math_inline"===e.type.name},16190:function(e,t,n){"use strict";let l;n.d(t,{$O:function(){return F},Yx:function(){return A},Oi:function(){return z},Ly:function(){return w},c1:function(){return f},qk:function(){return B}});var a=n(27191),o=n(52780),i=n(26151),r=n(59195),s=n(60737);function d(e,t,n){let l=!(arguments.length>3)||void 0===arguments[3]||arguments[3];return(o,i)=>{let r=e.state,{to:s,from:d}=r.selection,{to:u,from:c}=o.selection;if(l&&u!==c)return!1;let m=t>0?u:c;if(n){let e=o.doc.nodeSize-2;if(t>0&&m0)return!1}if(i){let n=t>0?s:d;e.dispatch(r.tr.setSelection(a.Bs.create(r.doc,n))),e.focus()}return!0}}class u{destroy(){this.closeEditor(!1),this._mathRenderElt&&(this._mathRenderElt.remove(),delete this._mathRenderElt),this._mathSrcElt&&(this._mathSrcElt.remove(),delete this._mathSrcElt),this.dom.remove()}ensureFocus(){this._innerView&&this._outerView.hasFocus()&&this._innerView.focus()}update(e,t){if(!e.sameMarkup(this._node))return!1;if(this._node=e,this._innerView){let t=this._innerView.state,n=e.content.findDiffStart(t.doc.content);if(null!=n){let l=e.content.findDiffEnd(t.doc.content);if(l){let{a:a,b:o}=l,i=n-Math.min(a,o);i>0&&(a+=i,o+=i),this._innerView.dispatch(t.tr.replace(n,o,e.slice(n,a)).setMeta("fromOutside",!0))}}}return this._isEditing||this.renderMath(),!0}updateCursorPos(e){let t=this._getPos(),n=this._node.nodeSize,l=e.selection.from0&&null!==e[0].textContent&&(t=e[0].textContent.trim()),t.length<1){for(this.dom.classList.add("empty-math");this._mathRenderElt.firstChild;)this._mathRenderElt.firstChild.remove();return}if(this.dom.classList.remove("empty-math"),!l){this._mathRenderElt.textContent=t;return}try{l.render(t,this._mathRenderElt,this._katexOptions),this._mathRenderElt.classList.remove("parse-error"),this.dom.setAttribute("title","")}catch(e){if(e instanceof Error)console.error(e),this._mathRenderElt.classList.add("parse-error"),this.dom.setAttribute("title",e.toString());else throw e}}dispatchInner(e){if(!this._innerView)return;let{state:t,transactions:n}=this._innerView.state.applyTransaction(e);if(this._innerView.updateState(t),!e.getMeta("fromOutside")){let e=this._outerView.state.tr,t=i.KS.offset(this._getPos()+1);for(let l=0;l(t&&t(e.tr.insertText(" ")),!0),Backspace:(0,s.QF)(s.NE,(e,t,n)=>!!e.selection.empty&&!(this._node.textContent.length>0)&&(this._outerView.dispatch(this._outerView.state.tr.insertText("")),this._outerView.focus(),!0)),"Ctrl-Backspace":(e,t,n)=>(this._outerView.dispatch(this._outerView.state.tr.insertText("")),this._outerView.focus(),!0),Enter:(0,s.QF)(s.QK,d(this._outerView,1,!1)),"Ctrl-Enter":d(this._outerView,1,!1),ArrowLeft:d(this._outerView,-1,!0),ArrowRight:d(this._outerView,1,!0),ArrowUp:d(this._outerView,-1,!0),ArrowDown:d(this._outerView,1,!0),"Mod-z":this._options.undo,"Shift-Mod-z":this._options.redo})]}),dispatchTransaction:this.dispatchInner.bind(this)});let t=this._innerView.state;this._innerView.focus();let n=null===(e=this._mathPluginKey.getState(this._outerView.state))||void 0===e?void 0:e.prevCursorPos;null==n&&console.error("[prosemirror-math] Error: Unable to fetch math plugin state from key.");let l=(null!=n?n:0)<=this._getPos()?0:this._node.nodeSize-2;this._innerView.dispatch(t.tr.setSelection(a.Bs.create(t.doc,l))),this._isEditing=!0}closeEditor(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];this._innerView&&(this._innerView.destroy(),this._innerView=void 0),e&&this.renderMath(),this._isEditing=!1}constructor(e,t,a,o={},i,r){n.e(4620).then(n.bind(n,66929)).then(e=>{l=e.default,this.renderMath()}),this._node=e,this._outerView=t,this._getPos=a,this._onDestroy=r&&r.bind(this),this._mathPluginKey=i,this.cursorSide="start",this._isEditing=!1,this._options=o,this._katexOptions=Object.assign({globalGroup:!0,throwOnError:!1},o.katexOptions),this._tagName=o.tagName||this._node.type.name.replace("_","-"),this.dom=document.createElement(this._tagName),this.dom.classList.add("math-node"),this._mathRenderElt=document.createElement("span"),this._mathRenderElt.textContent="",this._mathRenderElt.classList.add("math-render"),this.dom.appendChild(this._mathRenderElt),this._mathSrcElt=document.createElement("span"),this._mathSrcElt.classList.add("math-src"),this.dom.appendChild(this._mathSrcElt),this.dom.addEventListener("click",()=>this.ensureFocus()),this.renderMath()}}let c=new a.H$("prosemirror-math");function m(e,t){return(n,l,a)=>{let o=c.getState(l.state);if(!o)throw Error("no math plugin!");let i=o.activeNodeViews,r=new u(n,l,a,{katexOptions:{displayMode:e,macros:o.macros},...t},c,()=>{i.splice(i.indexOf(r))});return i.push(r),r}}let f=e=>new a.Sy({key:c,state:{init:(e,t)=>({macros:{},activeNodeViews:[],prevCursorPos:0}),apply:(e,t,n,l)=>({activeNodeViews:t.activeNodeViews,macros:t.macros,prevCursorPos:n.selection.from})},props:{nodeViews:{math_inline:m(!1,e),math_display:m(!0,e)}}});var p=n(30764);function g(e,t){return p.HY.from(t.text(e))}function h(e){var t;let n=e.querySelector("img.mwe-math-fallback-image-inline[alt]");return null!==(t=null==n?void 0:n.getAttribute("alt"))&&void 0!==t&&t}function b(e){var t;let n=e.querySelector("math[alttext]");return null!==(t=null==n?void 0:n.getAttribute("alttext"))&&void 0!==t&&t}function y(e){var t;let n=e.querySelector("math annotation[encoding='application/x-tex'");return null!==(t=null==n?void 0:n.textContent)&&void 0!==t&&t}function v(e){return function(e,t){for(let n of t){let t=n(e);if(!1!==t)return t}return!1}(e,[h,b,y])}let k=[{tag:"span",getAttrs:e=>!!e.classList.contains("mwe-math-element")&&null,getContent:(e,t)=>g(v(e)||"\\text{\\color{red}(paste error)}",t)}],x=[{tag:"dl",getAttrs(e){if(1!==e.childElementCount)return!1;let t=e.firstChild;return!!("DD"===t.tagName&&1===t.childElementCount&&t.firstChild.classList.contains("mwe-math-element"))&&null},getContent:(e,t)=>g(v(e)||"\\text{\\color{red}(paste error)}",t)}];[...k],[...x],()=>["math-select",0];let w=(e,t)=>{let{$from:n}=e.selection,l=n.nodeBefore;if(!l)return!1;if("math_inline"==l.type.name){let l=n.index(n.depth),o=e.doc.resolve(n.posAtIndex(l-1));return t&&t(e.tr.setSelection(new a.qv(o))),!0}return l.type.name,!1};var S=n(88892);let C=/\$(.+)\$/;function z(e,t,n){return new S.VK(e,(e,l,a,o)=>{let i=e.doc.resolve(a),r=i.index(),s=e.doc.resolve(o),d=n instanceof Function?n(l):n;if(!i.parent.canReplaceWith(r,s.index(),t))return null;let u=[t.create(d,t.schema.text(l[1]))];if(l[0].endsWith(" ")){let n=e.doc.textBetween(o,o+1);" "!==n&&u.push(t.schema.text(" "))}return e.tr.replaceWith(a,o,u)})}function A(e,t,n){return new S.VK(e,(e,l,o,i)=>{let r=e.doc.resolve(o),s=n instanceof Function?n(l):n;if(!r.node(-1).canReplaceWith(r.index(-1),r.indexAfter(-1),t))return null;let d=e.tr.delete(o,i).setBlockType(o,o,t,s);return l[1]&&d.insertText(l[1],o,o),d.setSelection(a.qv.create(d.doc,d.mapping.map(r.pos-1)))})}(()=>{try{return RegExp("(?{let{from:t,to:n}=e.selection,l=e.selection.content().content,a=[];return l.descendants((e,n,l)=>"text"!=e.type.name&&(!e.type.name.startsWith("math_")||(a.push({start:Math.max(t+n-1,0),end:t+n+e.nodeSize-1}),!1))),o.EH.create(e.doc,a.map(e=>{let{start:t,end:n}=e;return o.p.node(t,n,{class:"math-select"})}))},j=new a.Sy({state:{init:(e,t)=>I(t),apply:(e,t)=>e.selection&&e.selectionSet?I(e):t},props:{decorations:e=>j.getState(e)}});function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return function(n,l){let{$from:o}=n.selection,i=o.index();if(!o.parent.canReplaceWith(i,i,e))return!1;if(l){let i=e.create({},t?n.schema.text(t):null),r=n.tr.replaceSelectionWith(i);l(r=r.setSelection(a.qv.create(r.doc,o.pos)))}return!0}}let B=new class{serializeFragment(e){let t;let n="",l=!0,a=e.size;return e.nodesBetween(0,a,(e,o)=>{let i=this.serializeNode(e);if(null!==i)return n+=i,!1;if(e.isText){var r;n+=(null===(r=e.text)||void 0===r?void 0:r.slice(Math.max(0,o)-o,a-o))||"",l=!1}else e.isLeaf&&t?(n+=t,l=!1):!l&&e.isBlock&&(n+="\n\n",l=!0)},0),n}serializeSlice(e){return this.serializeFragment(e.content)}serializeNode(e){let t=this.nodes[e.type.name];return void 0!==t?t(e):null}constructor(e,t){this.nodes={...null==t?void 0:t.nodes,...e.nodes},this.marks={...null==t?void 0:t.marks,...e.marks}}}({nodes:{math_inline:e=>"$".concat(e.textContent,"$"),math_display:e=>"\n\n$$\n".concat(e.textContent,"\n$$")}})},61309:function(e,t,n){"use strict";n.d(t,{nk:function(){return W},s6:function(){return eF},cB:function(){return eE}});var l=n(52322),a=n(77533),o=n(5740),i=n(42946),r=n(54933),s=n(94523),d=n(5879),u=n(72338),c=n(2784),m=n(48776),f=n(94090),p=n(50788),g=n(28535),h=n(49929);let b={card:i.lCX,doc:i.s2,user:i.IBq},y=e=>{let{type:t}=e,n=b[t];return(0,l.jsx)(g.xu,{as:"span",display:"inline-flex",className:"mention",minW:"5em",opacity:"0.6",borderRadius:"sm",color:"gray.800",children:(0,l.jsx)(g.xu,{display:"inline-flex",py:"0.125em",children:(0,l.jsx)(h.G,{icon:n,style:{marginLeft:"0.5em",alignSelf:"center"}})})})};var v=n(71173),k=n(90507),x=n(93982),w=n(90383),S=n(78462),C=n(19283),z=n(4312),A=n(86353),I=n(68292);let j=e=>{let{filterFn:t,getAttributesFn:n}=e;return e=>(0,I.S)({find:e=>{let n=[...e.matchAll(S.nP)];if(!n)return[];let l=n.map(e=>{var t;return{index:null!==(t=e.index)&&void 0!==t?t:-1,text:e[0],match:e}}).filter(e=>{let n=(0,S.Wp)(e.text),{cardId:l}=(0,S.sY)(e.text);return t(n,l,e)});return l},type:e,getAttributes:e=>{let t=(0,S.Wp)(e[0]),{cardId:l}=(0,S.sY)(e[0]);return n({match:e,docId:t,cardId:l})}})};var F=n(29117),B=n(11082),M=n(81540),E=n(39097),_=n.n(E),O=n(14274);let P={borderRadius:"md",padding:"0.05em 0.1em",display:"inline",color:"gray.800"},T=(0,c.forwardRef)((e,t)=>{let{mentionLabel:n,mentionIcon:o,mentionTargetUrl:i,onClick:r,hasError:s=!1,isSimpleLinkVersion:d=!1,...u}=e,c=d?_():"span";return(0,l.jsxs)(g.xu,{ref:t,position:"relative","data-selection-ring":!0,className:"mention",onClick:r,...P,color:s?"gray.600":P.color,...u,as:c,href:d?i:void 0,cursor:r||d?"pointer":"default",children:[(0,l.jsxs)(F.U,{display:"inline-flex",spacing:0,children:[o&&(0,l.jsx)(g.xu,{display:"inline-block",textAlign:"center",minWidth:4,children:(0,l.jsx)(h.G,{icon:o,fixedWidth:!0,size:"sm",style:{marginLeft:"0.1em",marginRight:"0.3em"}})}),(0,l.jsx)(a.x,{noOfLines:1,whiteSpace:"normal",wordBreak:"break-all",flex:1,lineHeight:"normal",children:n})]}),O.v.GAMMA_PUPPETEER_SERVICE&&i&&(0,l.jsx)(B.r,{href:i,h:"100%",w:"100%",position:"absolute",zIndex:"-10","data-pdf-link":!0,top:"0",left:"0"})]})});T.displayName="MentionTag";let R=()=>(0,l.jsx)(g.xu,{as:"span",className:"mention",...P,children:(0,l.jsx)(M.$,{size:"xs",opacity:"0.8",margin:"0 0.1em"})}),N="Untitled",L=e=>{let{node:t,editor:n}=e,{id:u}=t.attrs,g=(0,m.c)(u),h=(null==g?void 0:g.archived)===!1,b=null==g?void 0:g.title,y=(0,f.CG)(x.hN);(0,c.useEffect)(()=>{n.storage[W.name][u]=b},[b,n.storage,u]);let C=(0,c.useCallback)(e=>{(0,v.l)(n,e,u)},[n,u]),z=(0,p.C7)(),A=(0,c.useMemo)(()=>{let e=(0,S.gq)({cardId:u,docId:null==g?void 0:g.docId});return z?(0,w.Op)({url:e}):e},[u,null==g?void 0:g.docId,z]);return(0,l.jsx)(k.T5,{as:"span",children:h?(0,l.jsx)(T,{"data-testid":"card-mention",onClick:y?void 0:C,onDoubleClick:y?C:void 0,mentionLabel:b||N,mentionIcon:i.lCX,mentionTargetUrl:A}):(0,l.jsx)(s.kH,{label:(0,l.jsx)(a.x,{children:(0,l.jsx)(d.cC,{id:"HAIPtO",components:{0:(0,l.jsx)(o.T,{fontSize:"sm",color:"blackAlpha.800"})}})}),children:(0,l.jsx)(T,{"data-testid":"card-mention",hasError:!0,mentionLabel:"Cannot find referenced card",mentionIcon:r.QQm})})})},D=e=>(0,l.jsx)(k.T5,{as:"span",children:(0,l.jsx)(y,{type:"card"})}),W=u.NB.create({name:"cardMention",addStorage:()=>({}),addOptions:()=>({HTMLAttributes:{},suggestion:{char:z.p}}),priority:C.a.CardMention,group:"inline",inline:!0,selectable:!0,atom:!0,addAttributes:()=>({id:{default:null},docId:{default:null},mentionedById:{default:null}}),addPasteRules(){return[j({filterFn:(e,t)=>e===this.editor.gammaDocId&&!!t,getAttributesFn:e=>{let{docId:t,cardId:n}=e;return{id:n,docId:t}}})(this.type)]},addCommands(){return{addCardMention:(e,t)=>{let{id:n,docId:l,mentionedById:a}=e;return e=>{var o;let{state:i,chain:r}=e,s=i.selection.$to.nodeAfter,d=null==s?void 0:null===(o=s.text)||void 0===o?void 0:o.startsWith(" ");return d&&(t.to+=1),r().focus().insertContentAt(t,[{type:this.name,attrs:{id:n,docId:l,mentionedById:a}},{type:"text",text:" "}]).run(),!0}}}},parseHTML(){return[{tag:'a[data-type="'.concat(this.name,'"]'),priority:51}]},renderHTML(e){let{HTMLAttributes:t,node:n}=e,{id:l,docId:a}=n.attrs,o=this.storage[l]||N;return["a",(0,u.P1)({"data-type":this.name,href:(0,S.gq)({docId:a,cardId:l})},this.options.HTMLAttributes,t),o]},renderText(e){let{node:t}=e,{id:n,docId:l}=t.attrs,a=this.storage[n]||N,o=(0,S.gq)({docId:l,cardId:n});return"[".concat(a,"](").concat(o,")")},addNodeView(){return this.editor.isThumbnail?(0,k.fW)(D,{update:A.E7}):(0,k.fW)(L,{update:A.E7})}});var U=n(94199);let H="docMention";var G=n(332),q=n(7165),V=n(11881),K=n(75009),Y=n(93274),$=n(30523),J=n(38035),X=n(82729),Z=n(36474),Q=n(87254),ee=n(48832),et=n(90221),en=n(944);let el=e=>e&&e.length?e:Q.ag._({id:"7ZviFu",values:{GAMMA_ARTIFACT_PROPER_NOUN:U.Yc}}),ea=e=>{let{createdByName:t,createdByProfileImageUrl:n,createdByYou:o,timestampDescription:i}=e;return(0,l.jsxs)(J.k,{align:"center",children:[(0,l.jsx)(s.Vw,{size:"xs",fontSize:"xs",name:t,src:n,tooltipProps:{placement:"top"}}),(0,l.jsxs)(g.xu,{ml:2,mr:2,w:"100%",children:[(0,l.jsx)(a.x,{noOfLines:1,fontSize:"xs",w:"100%",wordBreak:"break-all",children:o?(0,l.jsx)(d.cC,{id:"WZTg05"}):(0,l.jsx)(d.cC,{id:"pS1F3d",values:{createdByName:t}})}),i&&(0,l.jsx)(a.x,{noOfLines:1,fontSize:"11px",color:"gray.400",children:i})]})]})};var eo=n(26284),ei=n(70065),er=n(18292),es=n(10625),ed=n(67046),eu=n(32899),ec=n(99058),em=n(27599),ef=n(25481);let ep=e=>{let{href:t,title:n,createdByName:o,createdByEmail:u,createdTime:c,isDuplicateEnabled:m,isRenameEnabled:f,isShareEnabled:p,isTrashed:b,isFavorited:y,isTrashAndRestoreEnabled:v,isRemoveFromChannelEnabled:k,onDuplicate:x,onFavorite:w,onUnfavorite:S,onTrash:C,onPermanentDelete:z,onRestore:A,onShareClick:I,onRename:j,onRemoveFromChannel:F}=e,{onCopy:B}=(0,eo.V)("".concat(window.location.origin).concat(t)),M=(0,ei.p)(),{isOpen:E,onOpen:_,onClose:O}=(0,er.q)();return(0,l.jsxs)(es.v,{isLazy:!0,closeOnSelect:!1,modifiers:[{name:"flip",enabled:!0,options:{fallbackPlacements:["bottom","bottom-start","bottom-end","right-start","left-start","right-end","left-end"]}}],children:[(0,l.jsx)(ed.j,{"data-dashboard-doc-menu":!0,as:eu.h,size:"xs",variant:"ghost",borderRadius:"full",onClick:_,icon:(0,l.jsx)(h.G,{fixedWidth:!0,icon:i.cNd}),color:"gray.400",_hover:{color:"gray.800",bg:"gray.200"},children:(0,l.jsx)(d.cC,{id:"7L01XJ"})}),E&&(0,l.jsx)(G.h,{children:(0,l.jsxs)(ec.q,{maxW:"sm",zIndex:"overlay",children:[(0,l.jsxs)(g.xu,{px:4,py:0,wordBreak:"break-word",children:[(0,l.jsx)(a.x,{children:n}),(0,l.jsx)(a.x,{fontSize:"sm",color:"gray.500",noOfLines:1,children:(0,l.jsx)(d.cC,{id:"MXSt4t",values:{0:(0,ee.p6)(c,"MMMM do, yyyy")}})}),u&&o&&(0,l.jsx)(s.kH,{label:u,children:(0,l.jsx)(a.x,{display:"inline-block",fontSize:"sm",color:"gray.500",noOfLines:1,children:(0,l.jsx)(d.cC,{id:"Wpe4mQ",values:{createdByName:o}})})})]}),(p||f||k)&&(0,l.jsx)(em.R,{}),k&&(0,l.jsx)(ef.s,{onClick:F,icon:(0,l.jsx)(h.G,{fixedWidth:!0,icon:i.gPx}),children:(0,l.jsx)(d.cC,{id:"bv+Frh"})}),p&&(0,l.jsx)(ef.s,{onClick:I,icon:(0,l.jsx)(h.G,{fixedWidth:!0,icon:i.zBy}),children:(0,l.jsx)(d.cC,{id:"iyga2M"})}),f&&(0,l.jsx)(ef.s,{onClick:j,icon:(0,l.jsx)(h.G,{fixedWidth:!0,icon:i.aJJ}),children:(0,l.jsx)(d.cC,{id:"Cg4Iup"})}),(0,l.jsx)(em.R,{}),w?y?(0,l.jsx)(ef.s,{icon:(0,l.jsx)(g.xu,{color:"yellow.400",children:(0,l.jsx)(h.G,{fixedWidth:!0,icon:r.Tab})}),onClick:S,children:(0,l.jsx)(d.cC,{id:"T/pF0Z"})}):(0,l.jsx)(ef.s,{icon:(0,l.jsx)(h.G,{fixedWidth:!0,icon:i.Tab}),onClick:w,children:(0,l.jsx)(d.cC,{id:"pBsoKL"})}):null,m&&!!x&&(0,l.jsx)(ef.s,{icon:(0,l.jsx)(h.G,{fixedWidth:!0,icon:i.WM4}),onClick:x,children:(0,l.jsx)(d.cC,{id:"euc6Ns"})}),(0,l.jsx)(ef.s,{icon:(0,l.jsx)(h.G,{fixedWidth:!0,icon:i.tFX}),onClick:()=>{B(),M({title:(0,l.jsx)(d.cC,{id:"h5GS+N"}),status:"success",duration:3e3,position:"top"})},children:(0,l.jsx)(d.cC,{id:"y1eoq1"})}),v&&(0,l.jsx)(em.R,{}),v?b?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ef.s,{icon:(0,l.jsx)(h.G,{fixedWidth:!0,icon:r.XnX}),onClick:A,children:(0,l.jsx)(d.cC,{id:"yKu/3Y"})}),z&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(em.R,{}),(0,l.jsx)(ef.s,{color:"red",icon:(0,l.jsx)(h.G,{fixedWidth:!0,icon:i.WA2}),onClick:z,children:(0,l.jsx)(d.cC,{id:"0Lbaux"})})]})]}):(0,l.jsx)(ef.s,{color:"red",icon:(0,l.jsx)(h.G,{fixedWidth:!0,icon:i.XAH}),onClick:()=>{O(),null==C||C()},children:(0,l.jsx)(d.cC,{id:"1C/Yjq"})}):null]})})]})},eg=e=>{let{isFavorited:t,onFavorite:n,onUnfavorite:a,...o}=e,[u,m]=(0,c.useState)(!1),f=(0,c.useCallback)(()=>{if(!n||!a){console.error("[FavoriteButton] onFavorite or onUnfavorite is not defined");return}t?(m(!1),a()):(m(!0),setTimeout(()=>{m(!1)},1e3),n())},[n,a]);return(0,l.jsx)(s.kH,{label:t?(0,l.jsx)(d.cC,{id:"T/pF0Z"}):(0,l.jsx)(d.cC,{id:"pBsoKL"}),placement:"top",children:(0,l.jsx)(eu.h,{...o,zIndex:"1","data-favorite-button":!0,"aria-label":Q.ag._({id:"pBsoKL"}),className:"star-wrapper ".concat(u?"active":""),onClick:f,variant:"ghost",size:"xs",color:t?"yellow.400":"gray.400",_hover:{color:t?"yellow.500":"gray.400",bg:t?void 0:"blackAlpha.100"},bg:t?"yellow.50":"transparent",borderRadius:"full",icon:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(h.G,{icon:t?r.Tab:i.Tab}),(0,l.jsxs)(g.xu,{fontSize:"2.5px",children:[(0,l.jsxs)("div",{className:"star",children:[(0,l.jsx)("div",{className:"tl"}),(0,l.jsx)("div",{className:"tr"}),(0,l.jsx)("div",{className:"bl"}),(0,l.jsx)("div",{className:"br"})]}),(0,l.jsx)("div",{className:"ring"}),(0,l.jsx)("div",{className:"circles"})]})]})})})},eh=e=>{let{href:t,NextLink:n,target:a,children:o}=e;return n?(0,l.jsx)(n,{href:t,passHref:!0,target:a,legacyBehavior:!0,children:(0,l.jsx)(V.A,{outline:"none",children:o})}):(0,l.jsx)(V.A,{outline:"none",href:t,target:a,children:o})},eb=e=>{let{cardThumbnails:t,hoveredIndex:n}=e;return(0,l.jsx)(F.U,{justifyContent:"flex-start",alignItems:"top",w:"100%",position:"absolute",zIndex:2,top:0,spacing:0,children:t.map((e,t)=>(0,l.jsx)(K.E,{className:"thumbnail-scrubber",src:e.previewUrl,fit:"cover",position:"absolute",left:0,pointerEvents:"none",transform:"translate(calc(calc(".concat(t," * 100%) - ").concat(n," * 100%),0px)")},e.id))})},ey=c.forwardRef((e,t)=>{let{id:n,title:o,thumbnailImageUrl:i,NextLink:r,href:d,createdByYou:u=!1,createdByName:m,createdByEmail:f,createdTime:p,createdByProfileImageUrl:h,timestampDescription:b,editors:y,isDuplicateEnabled:v=!0,isRenameEnabled:k=!1,isShareEnabled:x=!1,isTrashAndRestoreEnabled:w=!0,isRemoveFromChannelEnabled:S=!1,isTrashed:C=!1,isFavorited:z=!1,onDuplicate:A,onFavorite:I,onUnfavorite:j,onTrash:F,onPermanentDelete:B,onRestore:M,onShareClick:E,onRename:_,onRemoveFromChannel:O,cardThumbnails:P,context:T="grid",tags:R=[],menuEnabled:N=!1,openInNewWindow:L=!1,activity:D,...W}=e,U=(0,en.gF)(),H=L?"_blank":void 0,G=y&&y.length>0&&(0,l.jsx)(Y.H,{size:"xs",max:5,fontSize:"xs",children:y.map(e=>(0,l.jsx)(s.Vw,{shadow:"md",borderWidth:"1px",name:U?Q.ag._({id:"bxVoEp",values:{0:e.user.displayName,1:(0,ee.Km)(e.lastEdited)}}):" ",src:e.user.profileImageUrl,tooltipProps:{placement:"top"}},"".concat(n,"-").concat(e.user.id)))}),[q,eo]=(0,c.useState)(0),ei=(0,c.useCallback)(e=>{if(!P)return;let t=e.currentTarget.getBoundingClientRect(),n=e.pageX-t.left,l=n/t.width,a=Math.floor(P.length*l);eo(a)},[P]);return(0,l.jsx)(V.f,{overflow:"hidden",ref:t,"data-doc-grid-item-id":n,bg:"linen.50",borderRadius:"5px",shadow:"md",as:$.P,_focusWithin:{shadow:"outline",_hover:{shadow:"outline"}},cursor:"pointer",_hover:{shadow:"lg",bgColor:"popover"===T?"white":"gray.100"},transition:"box-shadow .2s ease",role:"group",onMouseMove:ei,className:"highlight-mask",...W,children:(0,l.jsxs)(J.k,{direction:"column",wordBreak:"break-word",alignContent:"space-between",height:"100%",children:[i&&(0,l.jsx)(eh,{NextLink:r,href:d,target:H,children:(0,l.jsx)(X.o,{ratio:40/21,bgColor:"gray.100",children:(0,l.jsxs)(J.k,{borderBottomWidth:"1px",borderBottomColor:"gray.100",children:[(0,l.jsx)(eb,{cardThumbnails:P||[],hoveredIndex:q}),(0,l.jsx)(K.E,{src:null==i?void 0:i.src,fallbackSrc:null==i?void 0:i.fallbackSrc,fit:"cover"}),!!G&&(0,l.jsx)(g.xu,{position:"absolute",right:0,bottom:0,borderRadius:"full",p:3,zIndex:1,children:G})]})})}),(0,l.jsxs)(J.k,{p:3,position:"relative",direction:"column",justifyContent:"space-between",h:"100%",alignItems:"flex-start",children:[(0,l.jsx)(eh,{NextLink:r,href:d,target:H,children:(0,l.jsx)(a.x,{noOfLines:2,h:12,mb:2,children:el(o)})}),(0,l.jsxs)(J.k,{direction:"column",w:"100%",children:[R&&R.length>0&&r&&(0,l.jsx)(s.MY,{tags:R,NextLink:r,overflowButtonLabel:"See all folders"}),(0,l.jsxs)(J.k,{mt:2,align:"flex-start",w:"100%",justify:"space-between",children:[D&&D,m&&(0,l.jsx)(ea,{createdByYou:u,createdByName:m,createdByProfileImageUrl:h,timestampDescription:b}),(0,l.jsx)(Z.L,{}),N&&(0,l.jsx)(ep,{href:d,title:el(o),createdByName:m,createdByEmail:f,createdTime:p,isDuplicateEnabled:v,isRenameEnabled:k,isShareEnabled:x,isTrashAndRestoreEnabled:w,isRemoveFromChannelEnabled:S,isTrashed:C,isFavorited:z,onDuplicate:A,onFavorite:I,onUnfavorite:j,onTrash:F,onPermanentDelete:B,onRestore:M,onShareClick:E,onRename:_,onRemoveFromChannel:O})]})]})]}),!!I&&!!j&&(0,l.jsx)(g.xu,{position:"absolute",top:3,right:3,zIndex:3,children:(0,l.jsx)(eg,{isFavorited:z,onFavorite:I,onUnfavorite:j,opacity:z?1:(0,et.s2)()?1:0,_groupHover:(0,et.s2)()?void 0:{opacity:1},_focus:{opacity:1,shadow:"outline"}})})]})},n)});ey.displayName="DocumentGridItem";var ev=n(16426),ek=n(19431),ex=n(42111),ew=n(26803),eS=n(36651);let eC="Private ".concat(U.Yc),ez=(0,q.E)(g.xu),eA=e=>{var t,n;let{node:a,editor:o}=e,{id:r}=a.attrs,u=(0,ex.ye)("screenshotsEnabled"),m=(0,p.C7)(),{user:f}=(0,eS.SE)(),[g]=(0,ek.$4k)(),h=(0,en.gF)(),{data:b,error:y,loading:v,subscribeToMore:x}=(0,ek.y5Q)({variables:{id:r},skip:m||!r}),w=!!(!m&&f);(0,c.useEffect)(()=>{if(w)return x({document:ek.dcb,variables:{id:r},updateQuery:(e,t)=>{let{subscriptionData:n}=t;return n.data&&n.data.doc?{doc:{...e.doc,...n.data.doc,__typename:"Doc"}}:e}})},[r,x,w]);let{title:C,createdTime:z,createdBy:A,editedTime:I,editors:j,docUser:F}=(null==b?void 0:b.doc)||{},{linkUrl:B,handleClick:M}=(0,ew.H)({url:(0,S.Gn)({docId:r,docTitle:C,absolute:!0}),nonPublishedUrl:(0,S.Gn)({docId:r,docTitle:C})});(0,c.useEffect)(()=>{o.storage[H][r]=y?eC:C},[C,o.storage,r,y]);let E={src:u?null==b?void 0:null===(n=b.doc)||void 0===n?void 0:null===(t=n.titleCard)||void 0===t?void 0:t.previewUrl:ev.Z.src,fallbackSrc:ev.Z.src},_=e=>()=>{if(!f)return;let t={input:{docId:r,userId:f.id,favorited:e}};g({variables:t,update:(e,t)=>{let{data:n}=t;e.writeFragment({id:"Doc:".concat(r),fragment:ek.VRt,data:{docUser:null==n?void 0:n.updateDocUser}})},optimisticResponse:{updateDocUser:{...F,favorited:t.input.favorited,__typename:"DocUser"}}})},{popperRef:O,referenceRef:P,isHovering:N,onMouseOver:L,onMouseOut:D,getPopperProps:W}=(0,en.Ux)();return(0,l.jsxs)(k.T5,{as:"span",children:[v?(0,l.jsx)(R,{}):B?(0,l.jsx)(T,{onMouseOver:m?void 0:L,onMouseOut:m?void 0:D,onClick:M,ref:P,isSimpleLinkVersion:m,mentionLabel:C||"",mentionIcon:i.s2,mentionTargetUrl:B}):y?(0,l.jsx)(s.kH,{label:"You don't have access to the linked ".concat(U.Yc,". Try asking the owner of this ").concat(U.Yc," for access."),children:(0,l.jsx)(T,{hasError:!0,mentionLabel:eC,mentionIcon:i.byT})}):null,(0,l.jsx)(G.h,{children:N&&b&&b.doc&&!m&&(0,l.jsx)(ez,{width:"320px","data-target-name":"doc-mention-popup",border:"1px solid",borderColor:"gray.200",borderRadius:"lg",overflow:"hidden",shadow:"lg",maxW:"80vw",zIndex:"tooltip",ref:O,onMouseOver:L,onMouseOut:D,...W(),...en.rc,children:(0,l.jsx)(ey,{createdByYou:(null==A?void 0:A.id)===(null==f?void 0:f.id),title:C||"",timestampDescription:h?(0,l.jsx)(d.cC,{id:"yxz5Og",values:{0:(0,ee.Dw)(I)}}):"---",NextLink:null,href:B,onClick:M,id:r,createdByName:(null==A?void 0:A.displayName)||"",createdByEmail:(null==A?void 0:A.email)||"",createdByProfileImageUrl:(null==A?void 0:A.profileImageUrl)||"",createdTime:z,thumbnailImageUrl:E,editors:j,isFavorited:!!(null==F?void 0:F.favorited),onFavorite:_(new Date),onUnfavorite:_(null),menuEnabled:!1,openInNewWindow:!0})})})]})},eI=e=>(0,l.jsx)(k.T5,{as:"span",children:(0,l.jsx)(y,{type:"doc"})}),ej="Unknown ".concat(U.Yc),eF=u.NB.create({name:H,addStorage:()=>({}),addOptions:()=>({HTMLAttributes:{},suggestion:{char:z.p}}),priority:C.a.DocMention,group:"inline",inline:!0,selectable:!0,atom:!0,addAttributes:()=>({id:{default:null},mentionedById:{default:null}}),addPasteRules(){return[j({filterFn:(e,t)=>e!==this.editor.gammaDocId||!t,getAttributesFn:e=>{let{docId:t}=e;return{id:t}}})(this.type)]},addCommands(){return{addDocMention:(e,t)=>{let{id:n,mentionedById:l}=e;return e=>{var a;let{state:o,chain:i}=e,r=o.selection.$to.nodeAfter,s=null==r?void 0:null===(a=r.text)||void 0===a?void 0:a.startsWith(" ");return s&&(t.to+=1),i().focus().insertContentAt(t,[{type:this.name,attrs:{id:n,mentionedById:l}},{type:"text",text:" "}]).run(),!0}}}},parseHTML(){return[{tag:'a[data-type="'.concat(this.name,'"]'),priority:51}]},renderHTML(e){let{HTMLAttributes:t,node:n}=e,l=this.storage[n.attrs.id]||ej;return["a",(0,u.P1)({"data-type":this.name,href:(0,S.Gn)({docId:n.attrs.id,absolute:!0})},this.options.HTMLAttributes,t),l]},renderText(e){let{node:t}=e,n=this.storage[t.attrs.id]||ej,l=(0,S.Gn)({docId:t.attrs.id,absolute:!0});return"[".concat(n,"](").concat(l,")")},addNodeView(){return this.editor.isThumbnail?(0,k.fW)(eI,{update:A.E7}):(0,k.fW)(eA,{update:A.E7})}}),eB=e=>{let{node:t}=e,{label:n}=t.attrs;return(0,l.jsx)(k.T5,{as:"span",children:(0,l.jsx)(T,{mentionLabel:"@".concat(n)})})},eM=e=>(0,l.jsx)(k.T5,{as:"span",children:(0,l.jsx)(y,{type:"user"})}),eE=u.NB.create({name:"mention",addOptions:()=>({HTMLAttributes:{},renderLabel(e){var t;let{options:n,node:l}=e;return"".concat(n.suggestion.char).concat(null!==(t=l.attrs.label)&&void 0!==t?t:l.attrs.id)},suggestion:{char:z.p}}),priority:C.a.UserMention,group:"inline",inline:!0,selectable:!0,atom:!0,addAttributes:()=>({id:{default:null,parseHTML:e=>e.getAttribute("data-id"),renderHTML:e=>e.id?{"data-id":e.id}:{}},label:{default:null,parseHTML:e=>e.getAttribute("data-label"),renderHTML:e=>e.label?{"data-label":e.label}:{}},profileImageUrl:{default:null,parseHTML:e=>e.getAttribute("data-profile-image-url"),renderHTML:e=>e.profileImageUrl?{"data-profile-image-url":e.profileImageUrl}:{}},mentionedById:{default:null,parseHTML:e=>e.getAttribute("data-mentioned-by-id"),renderHTML:e=>e.mentionedById?{"data-mentioned-by-id":e.mentionedById}:{}}}),addCommands(){return{addUserMention:(e,t)=>{let{id:n,label:l,profileImageUrl:a,mentionedById:o}=e;return e=>{var i;let{state:r,chain:s}=e,d=r.selection.$to.nodeAfter,u=null==d?void 0:null===(i=d.text)||void 0===i?void 0:i.startsWith(" ");return u&&(t.to+=1),s().focus().insertContentAt(t,[{type:this.name,attrs:{id:n,label:l,profileImageUrl:a,mentionedById:o}},{type:"text",text:" "}]).run(),!0}}}},parseHTML(){return[{tag:'span[data-type="'.concat(this.name,'"]')}]},renderHTML(e){let{node:t,HTMLAttributes:n}=e;return["span",(0,u.P1)({"data-type":this.name},this.options.HTMLAttributes,n),this.options.renderLabel({options:this.options,node:t})]},renderText(e){let{node:t}=e;return this.options.renderLabel({options:this.options,node:t})},addNodeView(){return this.editor.isThumbnail?(0,k.fW)(eM,{update:A.E7}):(0,k.fW)(eB,{update:A.E7})}})},4312:function(e,t,n){"use strict";n.d(t,{p:function(){return Z},L:function(){return Q}});var l=n(27191),a=n(52322),o=n(77533),i=n(29117),r=n(75078),s=n(38035),d=n(81540),u=n(42946),c=n(54933),m=n(49929),f=n(94523),p=n(5879),g=n(14304),h=n.n(g),b=n(82108),y=n.n(b),v=n(2784),k=n(19431),x=n(94199),w=n(20336),S=n(94090);n(43997),n(16893);var C=n(90221);n(36857),n(96933);var z=n(87202);n(37295);var A=n(36651);(0,z.ZP)("mod+K"),n(27875),n(944),n(89458),n(88640);var I=n(78462),j=n(11881),F=n(75009),B=n(43297),M=n(93274),E=n(16426),_=n(42111),O=n(46640);let P=e=>{let{result:t,isActive:n,focusedItemEl:l,onMouseMove:r,context:s="globalSearch"}=e,d=(0,_.ye)("screenshotsEnabled"),{title:u,text:c,previewUrl:m,editors:g,editedTime:b,id:y,createdBy:v}=t,k="mentionsList"===s;return(0,a.jsx)(j.f,{children:(0,a.jsxs)(i.U,{ref:n?l:null,className:"search-result",wordBreak:"break-word",onMouseMove:r,p:k?0:[2,3],py:k?.5:void 0,align:"flex-start",borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",role:"group",bg:n?"gray.100":"transparent",cursor:"pointer",color:"gray.800",borderWidth:"1px",borderColor:n?"gray.200":"transparent",spacing:{base:0,sm:4},sx:{em:{bg:"var(--chakra-colors-trueblue-100)",fontStyle:"normal",borderRadius:"base",display:"inline-block",padding:"0px 2px",margin:"0px -2px"}},children:[(0,a.jsx)(F.E,{display:{base:"none",xs:"block"},h:"100%",src:d?m:E.Z.src,w:{base:"0px",sm:"25%"},border:"1px solid",borderColor:"gray.200",borderRadius:"md",shadow:"lg",fallbackSrc:E.Z.src}),(0,a.jsxs)(B.K,{spacing:(0,C.s2)()?1:2,flex:"1",children:[(0,a.jsxs)(j.A,{href:"globalSearch"===s?(0,I.Gn)({docId:y}):void 0,children:[(0,a.jsx)(o.x,{fontSize:"md",fontWeight:"600",noOfLines:k?1:2,dangerouslySetInnerHTML:{__html:u?h().sanitize(u):""}}),(null==v?void 0:v.displayName)&&(0,a.jsx)(o.x,{fontSize:"xs",color:"gray.600",fontWeight:"500",children:(0,a.jsx)(p.cC,{id:"ab98Hp",values:{0:null==v?void 0:v.displayName}})})]}),(0,a.jsx)(o.x,{fontSize:k?"xs":"sm",noOfLines:2,whiteSpace:"normal",wordBreak:"break-word",dangerouslySetInnerHTML:{__html:c?h().sanitize(c):""}}),(0,a.jsxs)(i.U,{children:[g&&g.length>0&&(0,a.jsx)(M.H,{size:"xs",fontSize:"xs",max:5,children:null==g?void 0:g.map(e=>{let{user:t}=e,{id:n,displayName:l,profileImageUrl:o}=t;return(0,a.jsx)(f.Vw,{label:l,src:o,shadow:"base"},n)})}),b&&(0,a.jsx)(o.x,{fontSize:"xs",color:"gray.600",fontWeight:"500",children:(0,a.jsx)(p.cC,{id:"5cC8f2",values:{0:(0,O.P9)(b)}})})]})]})]})})};(0,z.ZP)("mod+K");var T=n(33374),R=n(66028),N=n(93982);let L=(e,t,n)=>RegExp(t?e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"):e,n?"gu":"gui"),D="Type to mention a person or a ".concat(x.Yc),W=e=>{let{html:t}=e;return(0,a.jsx)(o.x,{paddingInlineStart:"0.2rem",wordBreak:"break-word",noOfLines:1,maxW:300,lineHeight:"1.5",dangerouslySetInnerHTML:{__html:t?h().sanitize(t):""}})},U=e=>e.replace(/(|<\/em>)/g,""),H=e=>{let{result:t}=e,{__typename:n}=t;return"User"===n?(0,a.jsxs)(i.U,{children:[(0,a.jsx)(r.q,{size:"2xs",minWidth:4,m:0,name:t.displayName&&U(t.displayName),src:t.profileImageUrl}),(0,a.jsx)(W,{html:t.displayName})]}):"Card"===n?(0,a.jsxs)(i.U,{children:[(0,a.jsx)(s.k,{color:"gray.600",minWidth:4,justifyContent:"flex-end",children:(0,a.jsx)(m.G,{icon:c.nZ9,transform:{size:6}})}),(0,a.jsx)(W,{html:t.title})]}):"DocResult"===n?(0,a.jsx)(P,{result:t,context:"mentionsList"}):(console.warn("[MentionList] Invalid __typename for search result:",t.__typename),null)},G=(0,v.forwardRef)((e,t)=>{let{result:n,index:l,selectedIndex:o,selectItem:i,...r}=e;return(0,a.jsx)(f.m9,{ref:t,tabIndex:l===o?0:-1,onClick:()=>i(l),onMouseDown:R.br,...r,children:(0,a.jsx)(H,{result:n})},l)}),q=(0,a.jsx)(m.G,{icon:u.lCX}),V=(0,a.jsx)(m.G,{icon:u.s2}),K=(0,a.jsx)(m.G,{icon:u.V3X}),Y={Card:{title:(0,a.jsx)(p.cC,{id:"gXnPmp",values:{GAMMA_ARTIFACT_PROPER_NOUN:x.Yc}}),iconComponent:q},DocResult:{title:y()(x.aq),iconComponent:V},User:{title:(0,a.jsx)(p.cC,{id:"1wdjme"}),iconComponent:K}},$=(0,v.forwardRef)((e,t)=>{let{editor:n,query:l,command:r}=e,{isConnected:u}=(0,k.$gs)(),c=(0,S.CG)(e=>{var t;return((null===(t=(0,N.yx)(e))||void 0===t?void 0:t.collaborators)||[]).map(e=>e.user)}),m=!l||!n.gammaOrgId||!u,{data:g,previousData:h,error:b,loading:y}=function(e,t){let{isConnected:n}=(0,k.$gs)(),l=!e||!t||!n,a=(0,k.OY$)({variables:{workspaceId:t,types:[k.Sc3.User],query:e},skip:l}),o=(0,k.OY$)({variables:{workspaceId:t,types:[k.Sc3.Doc],query:e},skip:l});return function(e){function t(e,t,n){n&&(e[t]||(e[t]={search:[]}),e[t].search=[...e[t].search,...n.search])}let n=e.reduce((e,n)=>{let{data:l,previousData:a,error:o,loading:i}=n;return!l&&i&&a&&(l=a),t(e,"data",l),t(e,"previousData",a),i&&(e.loading=!0),o&&(e.error=o),e},{});return n}([a,o])}(l,n.gammaOrgId),{user:x}=(0,A.SE)(),{searchDocs:C,searchUsers:z}=(0,v.useMemo)(()=>{let e=L(l,!0,!1),t=(g?g.search:h?h.search:[]).filter(e=>"User"===e.__typename),n=(g?g.search:h?h.search:[]).filter(e=>"DocResult"===e.__typename),a=c.filter(e=>!t.find(t=>t.id===e.id)).filter(e=>{var t,n;return(null===(t=e.email)||void 0===t?void 0:t.startsWith(l.toLowerCase()))||(null===(n=e.displayName)||void 0===n?void 0:n.toLowerCase().includes(l.toLowerCase()))}),o=[...t,...a].map(t=>{var n;return{...t,displayName:null===(n=t.displayName)||void 0===n?void 0:n.replace(e,"$&")}});return{searchDocs:l?[...n]:[],searchUsers:l?o:[]}},[g,h,l,c]),{data:I}=(0,k.WHS)({variables:{docId:n.gammaDocId},skip:m,fetchPolicy:"cache-only",nextFetchPolicy:"cache-only",returnPartialData:!0}),j=(0,v.useMemo)(()=>{let e=L(l,!0,!1);return(null==I?void 0:I.docCards)&&l?I.docCards.map(t=>{let n=t.title||"";if(n.match(e)){let l=n.replace(e,"$&");return{...t,title:l}}return null}).filter(Boolean):[]},[I,l]),F=[...z,...j,...C],B=e=>{let t=F[e]?{...F[e]}:null;t&&("User"===t.__typename&&t.displayName&&(t.displayName=U(t.displayName)),r({item:t,user:x}))},{selectedIndex:M,selectedItemEl:E}=(0,T.Yg)({ref:t,selectItem:B,options:F}),_=n.state.selection,O=!_.$anchor.parent.isLeaf&&_.$anchor.parent.textContent===Z;return 0===l.length&&O?(0,a.jsx)(s.k,{w:"100%",p:1,align:"flex-start",justify:"flex-start",flex:"1",mt:-9,ml:3,"data-testid":"mention-list-empty",children:(0,a.jsx)(o.x,{fontSize:"md",color:"gray.400",children:D})}):(0,a.jsx)(f.wb,{"data-testid":"mention-list",children:(0,a.jsxs)(f.Dw,{"data-target-name":"mention-list",w:"540px",maxW:"90vw",overflowY:"auto",maxH:"65vh",sx:{em:{bg:"var(--chakra-colors-trueblue-100)",fontStyle:"normal",borderRadius:"base",display:"inline-block",padding:"0px 2px",margin:"0px -2px"}},children:[(0,a.jsx)(w.V,{isConnected:u,label:(0,a.jsx)(p.cC,{id:"KnLL/m"})}),b?(0,a.jsx)(s.k,{p:1,align:"center",justify:"center",flex:"1",minH:12,children:(0,a.jsxs)(o.x,{fontSize:"sm",color:"gray.500",children:[(0,a.jsx)(p.cC,{id:"sBH7nV"}),b&&(null==b?void 0:b.message)]})}):0===l.length?(0,a.jsxs)(s.k,{p:1,align:"center",justify:"center",flex:"1",minH:12,"data-testid":"mention-list-empty",children:[(0,a.jsx)(o.x,{fontSize:"md",color:"gray.400",children:D})," "]}):!y&&l.length>1&&0===F.length?(0,a.jsx)(s.k,{p:1,align:"center",justify:"center",flex:"1",minH:12,children:(0,a.jsx)(o.x,{fontSize:"sm",color:"gray.500",children:"No results for this query."})}):null,F.map((e,t)=>{let n=F.findIndex(t=>t.__typename===e.__typename)===t,l=n&&e.__typename?Y[e.__typename]:null;return(0,a.jsxs)(v.Fragment,{children:[l&&(0,a.jsxs)(i.U,{mt:4,mb:2,color:"gray.500",children:[l.iconComponent,(0,a.jsx)(f.NZ,{children:l.title})]}),(0,a.jsx)(G,{"data-testid":"mention-list-item-".concat(e.id),ref:t===M?E:null,result:e,index:t,selectedIndex:M,selectItem:B},t)]},e.id)}),y&&(0,a.jsx)(s.k,{p:1,align:"center",justify:"center",flex:"1",minH:12,children:(0,a.jsx)(d.$,{opacity:"0.8",size:"xs"})})]})})});var J=n(19283);let X=new l.H$("MentionGamma"),Z="@",Q=(0,T.ty)({name:"GammaMention",char:Z,pluginKey:X,allowSpaces:!0,MenuComponent:$,priority:J.a.MentionSuggestionMenu,command:e=>{let{editor:t,range:n,props:l}=e,{item:a,user:o}=l;if("User"===a.__typename){let{id:e,displayName:l,profileImageUrl:i}=a,{id:r}=o;t.commands.addUserMention({id:e,label:l,profileImageUrl:i,mentionedById:r},n)}else if("Card"===a.__typename){let{id:e,docId:l}=a,{id:i}=o;t.commands.addCardMention({id:e,docId:l,mentionedById:i},n)}else if("DocResult"===a.__typename){let{id:e}=a,{id:l}=o;t.commands.addDocMention({id:e,mentionedById:l},n)}}})},83386:function(e,t,n){"use strict";n.d(t,{d:function(){return c}});var l=n(72338),a=n(27191),o=n(96255),i=n(53027);l.hj.create({name:"generateCard",addCommands:()=>({removeGeneratorInputsOnLoad:()=>e=>{let{tr:t,state:n,editor:a}=e;if(!a.isEditable)return!1;let i=(0,l.N2)(n.doc,e=>{var t;return(0,o.KH)(e)&&(null===(t=e.attrs.generatorInput)||void 0===t?void 0:t.status)==="done"});return i.forEach(e=>{let{pos:n}=e;t.setNodeAttribute(n,"generatorInput",null)}),!0}})});var r=n(17487);let s=[r.HU,e=>{let{node:t,pos:n,tr:l}=e;return(0,o.KH)(t)&&t.attrs.generatorInput&&!t.attrs.generatorInput.settings&&!t.attrs.generatorInput.status&&l.setNodeAttribute(n,"generatorInput",{...i.d,...t.attrs.generatorInput}),!0}],d=new a.H$("migrate"),u=new a.Sy({key:d,state:{init:()=>({hasRun:!1}),apply(e,t){let n=e.getMeta(d);return n||t}},appendTransaction:(e,t,n)=>{let l=d.getState(n);if(l.hasRun&&!e.some(e=>e.docChanged))return null;let{doc:a,tr:o,schema:i}=n,r=[];return(a.descendants((e,t,n)=>{r=s.map(l=>l({node:e,pos:t,tr:o,schema:i,parent:n}))}),!l.hasRun&&r.every(Boolean))?(o.setMeta(d,{hasRun:!0}),o):o.docChanged?o:null}}),c=l.hj.create({name:"migrate",addProseMirrorPlugins:()=>[u]})},8571:function(e,t,n){"use strict";n.d(t,{n:function(){return g}});var l=n(72338),a=n(38438),o=n(90507),i=n(79786),r=n(86353),s=n(52322),d=n(5682),u=n(4030),c=n(98462),m=n(13180),f=n(39540);let p=e=>{let{node:t,decorations:n,editor:l}=e,a=(0,m.R)(n),i=(0,f.v)(n),{horizontalAlign:r,fontSize:p,placeholder:g}=t.attrs,h=i&&a&&(!r||"left"===r)&&!(0,c.$v)(l)&&!g;return(0,s.jsxs)(u.lO,{...e,style:{position:"relative"},children:[(0,s.jsx)(o.ms,{"data-font-size":p,"data-multiline-placeholder":g,style:{textAlign:r}}),h&&(0,s.jsx)(d.B,{...e})]})},g=a.Z.extend({name:"paragraph",group:"block cardNotesBlock",selectable:!1,addNodeView:()=>(0,o.fW)(p,{update:r.E7}),allowFontSizes:"body",addAttributes:()=>({fontSize:i.Bi}),parseHTML:()=>[{tag:"p"}],renderHTML(e){let{HTMLAttributes:t}=e;return["p",(0,l.P1)(t,{class:"paragraph"}),0]},renderHTMLforAI(e){let{HTMLAttributes:t}=e;return["p",{},0]}})},39951:function(e,t,n){"use strict";n.d(t,{z:function(){return B}});var l=n(72338),a=n(27191),o=n(5596),i=n(90507),r=n(11093),s=n(19283),d=n(89484),u=n(86353),c=n(23209),m=n(26282),f=n(37160),p=n(99914),g=n(26824);class h{constructor(e=null){this.dragging=e}}let b=new a.H$("smartLayoutPlugin"),y=e=>new a.Sy({key:b,state:{init:()=>new h,apply:(e,t)=>t},props:{decorations:e=>(0,p.r4)(e),handleDOMEvents:{drop(e){var t;let n=null===(t=e.dragging)||void 0===t?void 0:t.annotations,l=b.getState(e.state);if(!l)return!1;l.dragging=n}},handleDrop:(t,n,l)=>{let a=b.getState(t.state),o=null==a?void 0:a.dragging;return a&&(a.dragging=null),!!(k(e,t,n,l,o)||v(t,n,l))},handlePaste:(t,n,l)=>{let{selection:o}=t.state,i=o instanceof a.qv&&(0,m.E)(o.node);if(!i)return!1;let r=(0,f.O)(l);return!!r&&"image"===r.type.name&&e.commands.updateNestedAttributesAtPos(o.from,{image:r.attrs})}}}),v=(e,t,n)=>{let l=(0,g.fC)(e,t,n);if(!l)return!1;let a=e.state.tr;return a.setNodeAttribute(l.pos,"image",l.image),a.deleteSelection(),e.dispatch(a),!0},k=(e,t,n,l,a)=>{let o=null;try{if(!(o=(0,g.cQ)(t,n,l)))return!1}catch(e){return!1}try{let{selection:n}=t.state,i=!n.empty,{node:r,pos:s,side:d}=o;if(s>n.from&&s{let{tr:t}=e;return i&&t.deleteSelection(),a&&t.setMeta("annotationEvent",{type:"drop",dragging:a,droppedBlockPos:c+1}),!0}).focusMapped(c,1).run()}catch(e){console.error("(caught) [SmartLayoutPlugin] handleDrop error:",e)}return!0};var x=n(52322),w=n(73200),S=n(87254),C=n(94090),z=n(93982),A=n(4030),I=n(86189),j=n(32273);let F=e=>{let{node:t,decorations:n}=e,l=t.attrs,a=(0,j.P)(l.variantKey),{Wrapper:o}=a,r=(0,p.Xo)(n),s=(0,g.jM)(l),d=(0,C.CG)(z.hN),u=(0,C.CG)(z.Pu);return(0,x.jsxs)(A.lO,{...e,className:(0,w.cx)(d&&"is-editable"),style:{position:"relative",display:"grid",gridTemplateColumns:"100%"},children:[(0,x.jsx)(o,{...r,options:s,theme:u,variant:a,node:t,children:(0,x.jsx)(i.ms,{"data-node-view-content-outer":"smartLayout"})}),(0,x.jsx)(I.A,{...e,label:S.ag._({id:"Szg6OU"}),"data-testid":"smart-layout-drag-handle"})]})},B=l.NB.create({name:"smartLayout",group:"cardBlock layoutBlock",content:"smartLayoutCell+",isolating:!0,containerHandle:!0,defining:!0,priority:s.a.SmartLayout,addAttributes:()=>({variantKey:{default:void 0},options:{default:{},...(0,r.sw)("options")},fullWidthBlock:{default:!1}}),parseHTML(){let e=Object.values((0,j.m)()).filter(e=>e.htmlTag).map(e=>({tag:e.htmlTag,getAttrs:t=>{let n={variantKey:e.key,options:{...e.defaultOptions}};return e.options.forEach(e=>{let l=t.getAttribute(e.key);if(l){try{n.options[e.key]=JSON.parse(l)}catch(t){n.options[e.key]=l}return}if(e.getDefaultOnParse&&!n.options[e.key]){n.options[e.key]=e.getDefaultOnParse(t);return}}),n}}));return[{tag:"div[class=smart-layout]"},...e]},renderHTMLforAI(e){let{node:t}=e,n=(0,j.P)(t.attrs.variantKey),l={};return n.options.forEach(e=>{var n;let a=null!==(n=t.attrs.options[e.key])&&void 0!==n?n:e.defaultValue;l[e.key]="string"==typeof a?a:JSON.stringify(a)}),[n.htmlTag||n.key,l,0]},renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,l.P1)(t,{class:"smart-layout"}),0]},addNodeView:()=>(0,i.fW)(F,{update:u.E7,ignoreMutation:o.j}),addProseMirrorPlugins(){return[y(this.editor)]},addCommands:()=>({insertSmartLayoutCell:e=>t=>{var n,a;let{chain:o,state:i}=t,r=i.doc.resolve(e),s=(0,l.qv)(r,e=>"smartLayout"===e.type.name),d=null==s?void 0:s.node.lastChild;if(!s||!d)return!1;let u=d.attrs,m=(0,c.J)(null===(n=d.firstChild)||void 0===n?void 0:n.attrs.level);return o().insertContentAt(e,{type:"smartLayoutCell",content:m,attrs:{image:{source:null===(a=u.image)||void 0===a?void 0:a.source}}}).selectInsertedNode().run(),!0},handleSmartLayoutDelete:function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return n=>{let{dispatch:o,state:i,tr:r,chain:s}=n;if(!o)return!0;let{selection:u}=i,c=u instanceof a.qv&&(0,m.E)(u.node)?{node:u.node,pos:u.from}:(0,l.Kk)(e=>"smartLayoutCell"===e.type.name)(i.selection);if(e&&c&&c.pos!==u.from)return!1;let f=(0,l.Kk)(e=>"smartLayout"===e.type.name)(i.selection);if(!c||!f)return!1;if(1==f.node.childCount)s().selectNodeAtPos(f.pos).deleteSelectionAndSelectNear(t?1:-1).run();else{let e=r.doc.resolve(c.pos);(0,d.D)(r,e,t)}return!0}}})})},13988:function(e,t,n){"use strict";n.d(t,{Ne:function(){return O},js:function(){return _},ne:function(){return P}});var l=n(2689),a=n.n(l),o=n(86323),i=n(57336),r=n(23209),s=n(87254),d={src:"/_next/static/media/ArrowsHorizontal.a774f944.svg",height:71,width:253,blurWidth:0,blurHeight:0},u={src:"/_next/static/media/ArrowsVertical.836da72e.svg",height:97,width:253,blurWidth:0,blurHeight:0},c={src:"/_next/static/media/BarStats.f950fb86.svg",height:76,width:253,blurWidth:0,blurHeight:0},m={src:"/_next/static/media/BigNumbers.a8dd3c72.svg",height:65,width:253,blurWidth:0,blurHeight:0},f={src:"/_next/static/media/BulletsLg.095a87c4.svg",height:97,width:253,blurWidth:0,blurHeight:0},p={src:"/_next/static/media/BulletsSm.b752361e.svg",height:96,width:253,blurWidth:0,blurHeight:0},g={src:"/_next/static/media/CircleStats.d28f4999.svg",height:83,width:253,blurWidth:0,blurHeight:0},h={src:"/_next/static/media/Funnel.49ef311d.svg",height:94,width:253,blurWidth:0,blurHeight:0},b={src:"/_next/static/media/ImagesWithTextIcons.85edfaa6.svg",height:97,width:253,blurWidth:0,blurHeight:0},y={src:"/_next/static/media/ImagesWithTextPhotos.a55ab106.svg",height:96,width:253,blurWidth:0,blurHeight:0},v={src:"/_next/static/media/ImagesWithTextTeam.af1be4d1.svg",height:97,width:253,blurWidth:0,blurHeight:0},k={src:"/_next/static/media/Pyramid.ef92f89c.svg",height:94,width:253,blurWidth:0,blurHeight:0},x={src:"/_next/static/media/Stairs.d60e32c7.svg",height:94,width:253,blurWidth:0,blurHeight:0},w={src:"/_next/static/media/SteppedPyramid.def15490.svg",height:94,width:253,blurWidth:0,blurHeight:0},S={src:"/_next/static/media/TextBoxes3.f6cbbf0a.svg",height:97,width:253,blurWidth:0,blurHeight:0},C={src:"/_next/static/media/TextBoxes4.7125fc69.svg",height:110,width:253,blurWidth:0,blurHeight:0},z={src:"/_next/static/media/TimelineHorizontalNumbered.4bc4869b.svg",height:97,width:253,blurWidth:0,blurHeight:0},A={src:"/_next/static/media/TimelineHorizontalTwoSided.acd4bc4a.svg",height:97,width:253,blurWidth:0,blurHeight:0},I={src:"/_next/static/media/TimelineVerticalNumbered.e4851152.svg",height:111,width:253,blurWidth:0,blurHeight:0},j={src:"/_next/static/media/TimelineVerticalTwoSided.e09967af.svg",height:151,width:253,blurWidth:0,blurHeight:0};let F=()=>[{name:()=>s.ag._({id:"o6dKT5"}),key:"timelineVerticalTwoSided",keywords:["timeline","vertical","agenda","steps"],previewImage:j,content:{type:"smartLayout",attrs:{variantKey:"timeline",options:{numbered:!1,twoSided:!0,hasLine:!0},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta tem accusa ntium eius modi tempora"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Strategy"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Foste natus error sit volupta tem accusa ntium eius modi tempora"}]}]}]}},{name:()=>s.ag._({id:"o2PvSp"}),key:"timelineVerticalNumbered",keywords:["timeline","vertical","agenda","steps"],previewImage:I,content:{type:"smartLayout",attrs:{variantKey:"timeline",options:{numbered:!0,hasLine:!1,twoSided:!1,orientation:"vertical"},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta tem accusa ntium eius modi tempora"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Strategy"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Foste natus error sit volupta tem accusa ntium eius modi tempora"}]}]}]}},{name:()=>s.ag._({id:"EGQH/j"}),key:"timelineHorizontalTwoSided",keywords:["timeline","horizontal","agenda","steps"],previewImage:A,content:{type:"smartLayout",attrs:{variantKey:"timeline",options:{numbered:!1,hasLine:!0,twoSided:!0,orientation:"horizontal"},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur do"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Strategy"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Foste natus error sit volupta tem accusa ntium "}]}]}]}},{name:()=>s.ag._({id:"tmwL4E"}),key:"timelineHorizontalNumbered",keywords:["timeline","horizontal","agenda","steps"],previewImage:z,content:{type:"smartLayout",attrs:{variantKey:"timeline",options:{numbered:!0,hasLine:!1,twoSided:!1,orientation:"horizontal"},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta tem accusa ntium eius modi tempora"}]}]}]}},{name:()=>s.ag._({id:"OsVXoX"}),key:"bulletsLg",keywords:["agenda","steps","bullets"],previewImage:f,content:{type:"smartLayout",attrs:{variantKey:"bullets",options:{cellSize:20},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta tem accusa ntium eius modi tempora"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Strategy"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Foste natus error sit volupta tem accusa ntium eius modi tempora"}]}]}]}},{name:()=>s.ag._({id:"XY2IHD"}),key:"bulletsSm",previewImage:p,keywords:["agenda","steps","bullets"],content:{type:"smartLayout",attrs:{variantKey:"bullets",options:{cellSize:10},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta tem accusa ntium eius modi tempora"}]}]}]}},{name:()=>s.ag._({id:"7xlpDo"}),key:"textBoxes3",keywords:["squares"],previewImage:S,content:{type:"smartLayout",attrs:{variantKey:"textBoxes",options:{cellSize:10},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Item 1"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident."}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Item 2"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident."}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Item 3"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident."}]}]}]}},{name:()=>s.ag._({id:"X4kXBV"}),key:"textBoxes4",previewImage:C,keywords:["squares","callouts","matrix","quadrant"],content:{type:"smartLayout",attrs:{variantKey:"textBoxes",options:{cellSize:20},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta tem accusa ntium eius modi tempora"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Strategy"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Foste natus error sit volupta tem accusa ntium eius modi tempora"}]}]}]}},{name:()=>s.ag._({id:"+kQMBP"}),key:"imagesWithTextTeam",previewImage:v,keywords:["team","images","headshot","bio","roles"],content:{type:"smartLayout",attrs:{variantKey:"imagesText",options:{cellSize:10,imageSize:1,horizontalAlign:"center",imageShape:"circle"},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,image:{source:"image.custom",uploadStatus:0,showPlaceholder:!1,src:"https://cdn.gamma.app/zc87vhr30n8uf3n/c1414815be03462f8862cb80f89f720d/optimized/tesla.jpg",meta:{width:820,height:709,date_file_modified:"2023/02/07 22:20:08 GMT",aspect_ratio:1.157,has_clipping_path:!1,frame_count:1,colorspace:"sRGB",has_transparency:!1,average_color:"#828282",orientation:"Horizontal (normal)"},name:"tesla.jpg"},label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Nikola Tesla"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:"default"},content:[{type:"text",marks:[{type:"bold"}],text:"Inventor"},{type:"hardBreak"},{type:"text",text:"@ Tesla Inc. "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:{source:"image.custom",uploadStatus:0,showPlaceholder:!1,src:"https://cdn.gamma.app/zc87vhr30n8uf3n/53ab692111294834a286002e3ecfdf2b/optimized/marie-curie.jpg",meta:{width:1200,height:1631,date_file_modified:"2023/02/07 22:20:11 GMT",aspect_ratio:.736,has_clipping_path:!1,frame_count:1,colorspace:"sRGB",has_transparency:!1,orientation:"Horizontal (normal)",average_color:"#3b3b3b"},name:"marie-curie.jpg"},label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Marie Curie"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:"default"},content:[{type:"text",marks:[{type:"bold"}],text:"Physicist and Chemist"},{type:"hardBreak"},{type:"text",text:"@ Radioactivity"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:{source:"image.custom",uploadStatus:0,showPlaceholder:!1,src:"https://cdn.gamma.app/zc87vhr30n8uf3n/e5d0250f2e054ee3a4c63a8e11f39c36/optimized/thomas-edison.webp",meta:{width:360,height:450,date_file_modified:"2023/02/07 22:20:22 GMT",aspect_ratio:.8,has_clipping_path:!1,frame_count:1,colorspace:"sRGB",has_transparency:!1,average_color:"#606060",orientation:"Horizontal (normal)"},name:"thomas edison.webp"},label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Thomas Edison"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:"default"},content:[{type:"text",marks:[{type:"bold"}],text:"Inventor "},{type:"hardBreak"},{type:"text",text:"@ Light bulb "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:{source:"image.custom",uploadStatus:0,showPlaceholder:!1,src:"https://cdn.gamma.app/zc87vhr30n8uf3n/86aa2820df484599b26ab9bbb79737d3/optimized/einstein.jpg",meta:{width:500,height:500,date_file_modified:"2023/02/07 22:20:26 GMT",aspect_ratio:1,has_clipping_path:!1,frame_count:1,colorspace:"sRGB",has_transparency:!1,orientation:"Horizontal (normal)",average_color:"#575757"},name:"einstein.jpg"},label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Albert Einstein"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:"default"},content:[{type:"text",marks:[{type:"bold"}],text:"Theoretical Physicist"},{type:"hardBreak"},{type:"text",text:"@ EMC2 "}]}]}]}},{name:()=>s.ag._({id:"kX68M5"}),key:"imagesWithTextIcons",previewImage:b,keywords:["icons"],content:{type:"smartLayout",attrs:{variantKey:"iconsText",options:{cellSize:10,shapeSize:"md",horizontalAlign:"center"},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,image:{source:"image.icon",src:"https://cdn.gamma.app/zc87vhr30n8uf3n/e169d76934d642e2999d195fb50cfd88/optimized/mountain.svg",tempUrl:"https://gamma.app/api/icons/mountain.svg?provider=fa&style=light",meta:{height:512,width:512,svgViewBoxWidth:512,svgViewBoxHeight:512,date_file_modified:"2023/02/07 21:46:24 GMT",aspect_ratio:1,has_clipping_path:!1,frame_count:1,average_color:"#cbcbcb"},query:"mountain",providerMeta:{name:"fa",id:"mountain"},uploadStatus:0,showPlaceholder:!1,name:"mountain.svg"},label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:{source:"image.icon",src:"https://cdn.gamma.app/zc87vhr30n8uf3n/1f156e4486744695b40e109958afc3fb/optimized/user-astronaut.svg",tempUrl:"https://gamma.app/api/icons/user-astronaut.svg?provider=fa&style=light",meta:{height:512,width:448,svgViewBoxWidth:448,svgViewBoxHeight:512,date_file_modified:"2023/02/07 21:45:45 GMT",aspect_ratio:.875,has_clipping_path:!1,frame_count:1,average_color:"#9c9c9c"},query:"astronaut",providerMeta:{name:"fa",id:"user-astronaut"},uploadStatus:0,showPlaceholder:!1,name:"user-astronaut.svg"},label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:{source:"image.icon",uploadStatus:0,showPlaceholder:!1,tempUrl:"https://gamma.app/api/icons/bullseye-arrow.svg?provider=fa&style=light",src:"https://cdn.gamma.app/zc87vhr30n8uf3n/69f7d571bf7d4af1b2aab06149d5ce4d/optimized/bullseye-arrow.svg",meta:{height:512,width:512,svgViewBoxWidth:512,svgViewBoxHeight:512,date_file_modified:"2023/02/07 21:47:16 GMT",aspect_ratio:1,has_clipping_path:!1,frame_count:1,average_color:"#acacac"},query:"goal",providerMeta:{name:"fa",id:"bullseye-arrow"},name:"bullseye-arrow.svg"},label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta tem accusa ntium eius modi tempora"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:{source:"image.icon",src:"https://cdn.gamma.app/zc87vhr30n8uf3n/ce830d7ed3c543d5b88ecdf6ec6c26ad/optimized/chess-king-piece.svg",tempUrl:"https://gamma.app/api/icons/chess-king-piece.svg?provider=fa&style=light",meta:{height:512,width:256,svgViewBoxWidth:256,svgViewBoxHeight:512,date_file_modified:"2023/02/07 22:21:25 GMT",aspect_ratio:.5,has_clipping_path:!1,frame_count:1,average_color:"#a1a1a1"},providerMeta:{name:"fa",id:"chess-king-piece"},query:"strategy",uploadStatus:0,showPlaceholder:!1,name:"chess-king-piece.svg"},label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Strategy"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Foste natus error sit volupta tem accusa ntium eius modi tempora"}]}]}]}},{name:()=>s.ag._({id:"tVJ1RK"}),key:"imagesWithTextPhotos",keywords:["photos","captions"],previewImage:y,content:{type:"smartLayout",attrs:{variantKey:"imagesText",options:{cellSize:15,horizontalAlign:"left"},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,image:{source:"image.unsplash",src:"https://images.unsplash.com/photo-1457459686225-c7db79d4e59f?ixid=MnwxOTgwNzN8MHwxfHNlYXJjaHwxOXx8bW91bnRhaW58ZW58MXx8fHwxNjc1ODA2MDQw&ixlib=rb-4.0.3&w=2592&q=25",tempUrl:"https://images.unsplash.com/photo-1457459686225-c7db79d4e59f?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxOTgwNzN8MHwxfHNlYXJjaHwxOXx8bW91bnRhaW58ZW58MXx8fHwxNjc1ODA2MDQw&ixlib=rb-4.0.3&q=80&w=200",meta:{height:3872,width:2592},query:"mountain"},label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:{source:"image.unsplash",src:"https://images.unsplash.com/photo-1536697246787-1f7ae568d89a?ixid=MnwxOTgwNzN8MHwxfHNlYXJjaHwyfHxhc3Ryb25hdXR8ZW58MXx8fHwxNjc1ODA1OTkz&ixlib=rb-4.0.3&w=2731&q=25",tempUrl:"https://images.unsplash.com/photo-1536697246787-1f7ae568d89a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxOTgwNzN8MHwxfHNlYXJjaHwyfHxhc3Ryb25hdXR8ZW58MXx8fHwxNjc1ODA1OTkz&ixlib=rb-4.0.3&q=80&w=200",meta:{height:4096,width:2731},query:"astronaut"},label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:{source:"image.unsplash",src:"https://images.unsplash.com/photo-1598091874986-7da3b270fead?ixid=MnwxOTgwNzN8MHwxfHNlYXJjaHwyNHx8Z29hbHxlbnwxfHx8fDE2NzU4MDU4NjQ&ixlib=rb-4.0.3&w=2832&q=25",tempUrl:"https://images.unsplash.com/photo-1598091874986-7da3b270fead?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxOTgwNzN8MHwxfHNlYXJjaHwyNHx8Z29hbHxlbnwxfHx8fDE2NzU4MDU4NjQ&ixlib=rb-4.0.3&q=80&w=200",meta:{height:2832,width:2832},query:"goal"},label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta tem accusa ntium eius modi tempora"}]}]}]}},{name:()=>s.ag._({id:"B52ZvK"}),key:"pyramidOutside",previewImage:k,content:{type:"smartLayout",attrs:{variantKey:"pyramid",options:{numbered:!0,hasLine:!1,twoSided:!1,orientation:"horizontal",cellSize:10,outsideText:!0},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Strategy"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Foste natus error sit volupta tem accusa ntium "}]}]}]}},{name:()=>s.ag._({id:"WJphpV"}),key:"funnelOutside",previewImage:h,content:{type:"smartLayout",attrs:{variantKey:"funnel",options:{numbered:!0,hasLine:!1,twoSided:!1,orientation:"horizontal",cellSize:10,outsideText:!0},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Strategy"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Foste natus error sit volupta tem accusa ntium eius modi tempora"}]}]}]}},{name:()=>s.ag._({id:"crBPvK"}),key:"staircaseOutside",previewImage:x,content:{type:"smartLayout",attrs:{variantKey:"staircase",options:{numbered:!0,hasLine:!1,twoSided:!1,orientation:"horizontal",cellSize:10,outsideText:!0,horizontalAlign:"left"},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta tem accusa ntium eius modi tempora"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Strategy"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Foste natus error sit volupta tem accusa ntium eius modi tempora"}]}]}]}},{name:()=>s.ag._({id:"OxTZir"}),key:"steppedPyramid",previewImage:w,content:{type:"smartLayout",attrs:{variantKey:"staircase",options:{numbered:!0,hasLine:!1,twoSided:!1,orientation:"horizontal",cellSize:10,outsideText:!0,horizontalAlign:"center"},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta tem accusa ntium eius modi tempora"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Strategy"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Foste natus error sit volupta tem accusa ntium eius modi tempora"}]}]}]}},{name:()=>s.ag._({id:"zd+VK0"}),key:"horizontalArrows",previewImage:d,content:{type:"smartLayout",attrs:{variantKey:"arrows",options:{numbered:!0,hasLine:!1,twoSided:!1,orientation:"horizontal",cellSize:10},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta tem accusa ntium eius modi tempora"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Strategy"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Foste natus error sit volupta tem accusa ntium eius modi tempora"}]}]}]}},{name:()=>s.ag._({id:"bkPcLj"}),key:"verticalArrows",previewImage:u,content:{type:"smartLayout",attrs:{variantKey:"arrows",options:{numbered:!0,hasLine:!1,twoSided:!1,orientation:"vertical",cellSize:10,horizontalAlign:"left"},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:null},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta tem accusa ntium"}]}]}]}},{name:()=>s.ag._({id:"W78uBz"}),key:"stats3",previewImage:m,content:{type:"smartLayout",attrs:{variantKey:"stats",options:{cellSize:15,numberMax:100,shapeSize:"lg"},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:"25%"},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:"3/4"},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit "}]}]},{type:"smartLayoutCell",attrs:{options:{numberMax:100},width:null,image:null,label:50},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta tem accusa ntium eius modi tempora"}]}]}]}},{name:()=>s.ag._({id:"PFo2A/"}),key:"circleStats3",previewImage:g,content:{type:"smartLayout",attrs:{variantKey:"circleStats",options:{cellSize:15,imageSize:.8,shapeSize:"lg"},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:"54%"},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:75},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit "}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:"1/3"},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta tem accusa ntium eius modi tempora"}]}]}]}},{name:()=>s.ag._({id:"0LeG7j"}),key:"barStats3",previewImage:c,content:{type:"smartLayout",attrs:{variantKey:"barStats",options:{cellSize:10,numberMax:100},fullWidthBlock:!1},content:[{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:"25%"},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Vision"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor"}]}]},{type:"smartLayoutCell",attrs:{options:{},width:null,image:null,label:"3/4"},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Mission"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit "}]}]},{type:"smartLayoutCell",attrs:{options:{numberMax:100},width:null,image:null,label:50},content:[{type:"heading",attrs:{horizontalAlign:null,level:3},content:[{type:"text",text:"Goal"}]},{type:"paragraph",attrs:{horizontalAlign:null,fontSize:null},content:[{type:"text",text:"Sed ut perspiciatis unde omnis iste natus error sit volupta tem accusa ntium eius modi tempora"}]}]}]}}];var B=n(26824),M=n(32273);let E=()=>(0,M.m)().filter(e=>!e.disabled),_=()=>E().map(e=>{let{key:t,commandName:n,description:l,icon:i,keywords:s=[],defaultAttrs:d,defaultOptions:u,featureFlag:c}=e,m={type:"smartLayout",attrs:{variantKey:t,options:u},content:a()(3).map(()=>({type:"smartLayoutCell",content:(0,r.J)(),attrs:d}))};return{key:"smartLayout-".concat(t),name:n,keywords:[...s,"layout","smart"],description:l,nodeName:"smartLayout",icon:i,execute:e=>{e.chain().focus().insertContentAndSelect(m).run()},dragStartFn:e=>(0,o.UV)(e,m),dragEndFn:e=>{(0,B.X1)(e,e.state.selection.$from)},featureFlag:c}}),O=()=>E().map(e=>{let{key:t,commandName:n,description:l,icon:a,featureFlag:o}=e,r="listToSmartLayout-".concat(t);return{key:r,name:n,icon:a,description:l,group:"list",apply:e=>e.commands.listToSmartLayout(t),checkDisabled:e=>!(0,i.Ah)(e),featureFlag:o}}),P=()=>F().map(e=>{let{name:t,key:n,keywords:l=[],content:a,previewImage:i}=e,r=(0,M.P)(a.attrs.variantKey);return{key:n,name:t,keywords:[...l,...r.keywords||[],"layout","smart"],nodeName:"smartLayout",icon:r.icon,previewImage:i,execute:e=>{e.chain().focus().insertContentAndSelect(a).run()},dragStartFn:e=>(0,o.UV)(e,a),dragEndFn:e=>{(0,B.X1)(e,e.state.selection.$from)},featureFlag:r.featureFlag}})},23209:function(e,t,n){"use strict";n.d(t,{J:function(){return o},p:function(){return i}});var l=n(87254),a=n(97724);let o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4;return[a.i.heading(l.ag._({id:"HX5SVx"}),{level:e}),a.i.paragraph(l.ag._({id:"Nu4oKW"}))]},i="1em"},99914:function(e,t,n){"use strict";n.d(t,{PX:function(){return p},Xo:function(){return f},r4:function(){return m}});var l=n(71644),a=n.n(l),o=n(27191),i=n(52780),r=n(11093),s=n(56253),d=n(48751),u=n(39951),c=n(72083);let m=e=>{let{doc:t}=e,n=[];return t.descendants((l,s)=>{if(l.type.name!==u.z.name)return;let d=a()((0,r.Jn)(l.content).map(e=>(0,c.g9)(e.attrs.label))),m=g(t.resolve(s)),f=e.selection instanceof o.qv&&e.selection.node===l||e.selection.from>s&&e.selection.to{let o=s+1+t,u={isSmartLayoutCellDecoration:!0,index:a,numCells:l.childCount,maxLabelValue:d,smartLayoutAttrs:l.attrs,layoutContainerSize:m,isContentEmpty:(0,r.$y)(e),isLayoutFocused:f};n.push(i.p.node(o,o+e.nodeSize,{},u))}),!1}),i.EH.create(t,n)},f=e=>{let t=e.find(e=>e.spec.isSmartLayoutDecoration);return t?t.spec:(console.error("[SmartLayout] Decoration not found. This should never happen!",e),{isSmartLayoutDecoration:!0,numCells:0,containerSize:1})},p=e=>{let t=e.find(e=>e.spec.isSmartLayoutCellDecoration);return t?t.spec:(console.error("[SmartLayoutCell] Decoration not found. This should never happen!",e),{isSmartLayoutCellDecoration:!0,numCells:0,index:0,smartLayoutAttrs:{options:{},fullWidthBlock:!1},layoutContainerSize:1,isContentEmpty:!1,isLayoutFocused:!1})},g=e=>{let t=1;try{for(let l=e.depth;l>0;l--){let a=e.node(l),o=e.index(l-1);if("gridCell"===a.type.name){let n=e.node(l-1),a=n.attrs.colWidths;a&&a[o]&&(t*=parseInt(a[o])/100)}if("card"===a.type.name){var n;let{layout:l,layoutTemplateColumns:o,container:i}=a.attrs;if("left"===l){let e=o?parseInt(o.split(" ")[1])/100:d.ZQ;t*=e}if("right"===l){let e=o?parseInt(o.split(" ")[0])/100:d.ZQ;t*=e}let r=e.doc.firstChild.attrs;(null!==(n=i.width)&&void 0!==n?n:r.settings.defaultContentWidth)==="lg"&&(t*=s.Bk/s.r1);break}}}catch(e){console.error("[SmartLayout] Error getting container size decoration",e)}return t}},26282:function(e,t,n){"use strict";n.d(t,{E:function(){return l},G:function(){return a}});let l=e=>"smartLayoutCell"===e.type.name,a=e=>"smartLayout"===e.type.name},13013:function(e,t,n){"use strict";n.d(t,{x:function(){return p},K:function(){return f}});var l=n(52322),a=n(42946),o=n(87254),i=n(62614),r=n(49929),s=n(94523),d=n(70723),u=n(66028);let c=e=>{var t;let{value:n,updateValue:o,choices:c,defaultIcon:m,option:f}=e;return(0,l.jsxs)(d.Lt,{isLazy:!0,children:[(0,l.jsx)(s.kH,{placement:"top",label:f.name(),shouldWrapChildren:!0,children:(0,l.jsx)(d.PS,{as:i.z,variant:"toolbar",onMouseDown:u.br,rightIcon:(0,l.jsx)(r.G,{icon:a.ptq,transform:"shrink-6"}),children:(0,l.jsx)(r.G,{icon:(null===(t=c[n])||void 0===t?void 0:t.icon)||m})})}),(0,l.jsx)(d.sV,{children:Object.entries(c).map(e=>{let[t,{icon:n,name:a,disabled:i}]=e;return i?null:(0,l.jsx)(d.hP,{icon:(0,l.jsx)(r.G,{icon:n,fixedWidth:!0}),onClick:()=>o(t),children:a},t)})})]})},m=()=>({square:{name:o.ag._({id:"1DA6ap"}),icon:a.pL1},circle:{name:o.ag._({id:"7xMmki"}),icon:a.diR},landscape:{name:o.ag._({id:"XxIeKn"}),icon:a.r9b},portrait:{name:o.ag._({id:"3bV9gD"}),icon:a.j8N}}),f={square:{aspectRatio:"1 / 1"},circle:{borderRadius:"full",aspectRatio:"1 / 1"},landscape:{aspectRatio:"1.618 / 1"},portrait:{aspectRatio:"4 / 5"}},p={key:"imageShape",defaultValue:null,Control:e=>{let{value:t,updateValue:n,editor:o,option:i}=e;return(0,l.jsx)(c,{value:t,updateValue:n,editor:o,choices:m(),option:i,defaultIcon:a.pL1})},name:()=>o.ag._({id:"JbOau/"})}},26824:function(e,t,n){"use strict";n.d(t,{X1:function(){return p},cQ:function(){return f},fC:function(){return m},jM:function(){return d},yU:function(){return u}});var l=n(72338),a=n(11093),o=n(60742),i=n(37160),r=n(26282),s=n(32273);let d=e=>{let t=(0,s.P)(e.variantKey),n={};return t.options.forEach(t=>{var l;let{key:a,defaultValue:o}=t;n[a]=null!==(l=e.options[a])&&void 0!==l?l:o}),n},u=e=>{var t;let n=(0,s.P)(e.variantKey),l=d(e);return(null===(t=n.addDirection)||void 0===t?void 0:t.call(n,l))||"right"},c=(e,t)=>t.nodes.smartLayout.validContent(e.content),m=(e,t,n)=>{let l=e.posAtCoords({left:t.clientX,top:t.clientY});if(!l)return null;let s=e.state.doc.resolve(l.inside),d=(0,a.Ru)(s,r.E)[0],u=(0,a.Ru)(s,r.G)[0],c=n&&(0,i.O)(n);if(!d&&!u||!c||"image"!==c.type.name)return null;let m=(0,o.tl)(t.target,e.dom,e=>e.hasAttribute("data-smart-layout-image-drop-target"));if(m){let{src:e,source:t,query:n,name:a,uploadStatus:o}=c.attrs,i=m.getBoundingClientRect();return{pos:l.inside,node:c,rect:i,image:{src:e,source:t,query:n,name:a,uploadStatus:o}}}return null},f=(e,t,n)=>{let a;if(!n||!c(n,e.state.schema))return null;let o=e.posAtCoords({left:t.clientX,top:t.clientY});if(!o||-1==o.inside)return null;let{doc:i}=e.state,s=i.nodeAt(o.pos),d=i.nodeAt(o.inside);if(d&&(0,r.E)(d))a={node:d,pos:o.inside};else if(s&&(0,r.E)(s))a={node:s,pos:o.pos};else{let e=i.resolve(o.inside);a=(0,l.qv)(e,r.E)}let m=a&&e.nodeDOM(a.pos),f=null==m?void 0:m.querySelector("[data-content-reference]"),p=null==f?void 0:f.getBoundingClientRect();if(!a||!p)return null;let g=i.resolve(a.pos),h=g.parent;if(!h||!(0,r.G)(h))return null;let b=u(h.attrs),y="right"===b?t.clientX>p.left+p.width/2?"right":"left":t.clientY>p.top+p.height/2?"bottom":"top";return{pos:a.pos,node:a.node,rect:p,side:y}},p=(e,t)=>{let n=(0,l.qv)(t,r.G);n&&e.commands.selectNodeAtPos(n.pos)}},32273:function(e,t,n){"use strict";n.d(t,{P:function(){return ta},m:function(){return tn}});var l=n(52322),a=n(20437),o=n(38035),i=n(28535),r=n(73200),s=n(42946),d=n(87254),u=n(2784),c=n(56329),m=n(24551),f=n(4878),p=n(75320),g=n(90221),h=n(17630),b=n(58905),y=n(75230),v=n(64951),k=n(94090),x=n(93982);let w=e=>{let{updateAttributes:t,value:n,placeholder:a,inputProps:o,...i}=e,r=(0,u.useCallback)(e=>{t&&t({label:""===e?null:e})},[t]),s=(0,k.CG)(x.Pw)&&t;return(0,l.jsxs)(b.C,{value:n||"",placeholder:a,onChange:r,isDisabled:!s,...i,children:[(0,l.jsx)(y.w,{width:"100%",h:"1em",py:0,noOfLines:1,userSelect:s?void 0:"none"}),(0,l.jsx)(v.V,{width:"100%",my:-1,py:1,...o})]})};var S=n(23209),C=n(50260),z=n(19194);let A=function(e,t){var n;let l,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3?arguments[3]:void 0,i=(0,k.CG)(x.Pu),r=(0,m.cy)(i),s=null!==(n=null==t?void 0:t.color)&&void 0!==n?n:e.color,d=s;if("v3"===r.key){let e=(0,m.fY)(i);if(l=C.Nu[e.shapeFill].opacity,!d&&"custom"===e.shapeColorScheme){let e=(0,C.S9)(i);d=e[a%e.length]}}else l=r.hasTransparentShapes?0:1;let f=!0===o?0:!1===o?1:l,p=(0,u.useMemo)(()=>(0,z._M)(d,f),[d,f]),g=d?(0,c.Mt)(d):void 0;return{color:d,colorVars:p,headingColorCss:g,colorOverride:s}};var I=n(29117),j=n(17993),F=n(77533),B=n(55233),M=n(24772),E=n(49929),_=n(94523),O=n(27875),P=n.n(O),T=n(90604),R=n(90439);let N=()=>({sm:{targetColumns:4,label:d.ag._({id:"4Revpc"}),width:10},md:{targetColumns:3,label:d.ag._({id:"agPptk"}),width:15},lg:{targetColumns:2,label:d.ag._({id:"k7rCa/"}),width:20},xl:{targetColumns:1,label:d.ag._({id:"vp6Yr4"}),width:25}}),L={key:"cellSize",defaultValue:N().md.width,Control:e=>{let{value:t,updateValue:n,option:a}=e,o=Object.values(N()).find(e=>e.width===t);return(0,l.jsxs)(I.U,{spacing:2,mr:2,children:[(0,l.jsx)(_.kH,{placement:"top",label:(0,l.jsxs)(j.g,{spacing:0,children:[(0,l.jsx)(F.x,{color:"gray.400",children:a.name()}),(0,l.jsx)(F.x,{children:null==o?void 0:o.label})]}),children:(0,l.jsx)(F.x,{fontSize:"sm",fontWeight:"600",children:(0,l.jsx)(E.G,{icon:s.blG})})}),(0,l.jsxs)(B.iR,{min:N().sm.width,max:N().xl.width,step:5,value:t,onChange:n,w:"60px",focusThumbOnChange:!1,colorScheme:"trueblue",size:"sm",children:[(0,l.jsx)(B.Uj,{children:(0,l.jsx)(B.Ms,{})}),o?(0,l.jsx)(_.kH,{placement:"top",label:(0,l.jsxs)(j.g,{spacing:0,children:[(0,l.jsx)(F.x,{color:"gray.400",children:a.name()}),(0,l.jsx)(F.x,{children:o.label})]}),children:(0,l.jsx)(B.gs,{background:"trueblue.500"})}):(0,l.jsx)(B.gs,{background:"trueblue.500"})]})]})},getDefaultOnParse(e){let t=e.childElementCount;return t%2==0?N().lg.width:N().md.width},name:()=>d.ag._({id:"LNoaEH"})},D=e=>{var t;let n,{containerSize:a,numCells:o,options:r,mobileMaxColumns:s=1,forceBalance:d=!1}=e,u=(null===(t=Object.values(N()).find(e=>e.width===r.cellSize))||void 0===t?void 0:t.targetColumns)||3,c=40/u,m=(0,f.TZ)(),p=(0,k.CG)(x.gh),g=p===T.q.SLIDE_VIEW,h=(0,M.S)({base:s,sm:2,md:3,xl:4},{fallback:m?"base":"xl"})||s,b=R.cx||g?4:m?s:h,y=P()(40*a,10,10*b),v=Math.max(1,Math.floor(y/c)),w=Math.min(v,o);if(d&&o>w&&o<=4)for(;w>=1&&o%w!=0;w--);let S=Math.ceil(o/w),C=o%w;if(C&&"center"===r.horizontalAlign){let e=(w-C)/2;n=(0,l.jsx)(i.xu,{gridColumn:"span ".concat(6*e),gridRow:"".concat(S),className:"grid-offset"})}else if(C&&"right"===r.horizontalAlign){let e=w-C;n=(0,l.jsx)(i.xu,{gridColumn:"span ".concat(6*e),gridRow:"".concat(S),className:"grid-offset"})}return{maxWidth:y,targetWidth:c,targetColumns:u,maxColumns:v,columns:w,lastRowAligner:n}};var W=n(12336);let U={key:"color",Control:e=>{let{value:t,updateValue:n,editor:a}=e;return(0,l.jsx)(W.E,{color:t,setColor:e=>n(e,!0),editor:a,analyticsSource:"SmartLayout"})},name:()=>"Color"};var H=n(29679);let G={key:"horizontalAlign",defaultValue:null,Control:e=>{let{value:t,updateValue:n}=e;return(0,l.jsx)(I.U,{spacing:0,children:h.Ec.map(e=>{let{name:a,icon:o,alignment:i}=e;return(0,l.jsx)(H.h,{label:a(),icon:o,onClick:()=>{n(i===t?null:i)},isActive:t===i},a())})})},name:()=>d.ag._({id:"0j+RGO"})},q={key:"orientation",defaultValue:"vertical",Control:e=>{let{value:t,updateValue:n,option:a}=e;return(0,l.jsx)(H.h,{label:a.name(),onClick:()=>n("horizontal"===t?"vertical":"horizontal"),isActive:"horizontal"===t,icon:"horizontal"===t?s.eFW:s.r5q,testId:"smart-layout-orientation-option"})},name:()=>d.ag._({id:"MRB7nI"})},V="1.5em",K=(e,t,n)=>{let l=(0,f.TZ)(),{columns:a}=D({containerSize:n,numCells:t,options:e,forceBalance:!0});return"vertical"===e.orientation||l||t>1&&1===a?{columns:1,isHorizontal:!1}:{columns:a,isHorizontal:!0}},Y=(0,u.memo)(e=>{let{children:t,options:n,numCells:o,containerSize:i}=e,{isHorizontal:r,columns:s}=K(n,o,i),d=r?{columns:s,rowGap:V}:{columns:1};return(0,l.jsx)(a.M,{"data-selection-ring":!0,...d,pos:"relative",children:t})});Y.displayName="ArrowsWrapper";let $=(0,u.memo)(e=>{let{layoutOptions:t,children:n,theme:a,numCells:r,layoutContainerSize:s,dragHandle:d,cellOptions:u}=e,c=(0,m.cy)(a),{isHorizontal:f}=K(t,r,s),p=t.horizontalAlign,g=(0,h.nN)(p||"left"),{colorVars:b}=A(t,u,e.index,!0),y=f?{minW:0,transformOrigin:"center top",p:S.p,pt:0}:{transformOrigin:"left center",p:S.p,px:0};return(0,l.jsxs)(o.k,{direction:f?"column":"right"===p?"row-reverse":"row","data-selection-ring":!0,"data-content-reference":!0,pos:"relative",gap:V,minH:f?void 0:"8em",children:[(0,l.jsx)(J,{...e}),(0,l.jsx)(i.xu,{flex:"1",sx:{...y,...g,...b,...c.outsideTextSx},children:n}),d]})});$.displayName="ArrowsCell";let J=(0,u.memo)(e=>{let{layoutOptions:t,cellOptions:n,label:a,index:s,updateAttributes:d,theme:u,numCells:f,layoutContainerSize:b}=e,y=(0,m.cy)(u),{colorVars:v}=A(t,n,s),{isHorizontal:k}=K(t,f,b),{width:x,height:S,ref:C}=(0,p.h)(),z=C.current?parseFloat(window.getComputedStyle(C.current).fontSize):16,I=(k?4:5)*z,j=1*z,F=k?"\n M ".concat(x-j," 0\n L ").concat(x," ").concat(I/2,"\n L ").concat(x-j," ").concat(I,"\n L 0 ").concat(I,"\n L ").concat(j," ").concat(I/2,"\n L 0 0 Z"):"\n M 0 ".concat(S-j,"\n L ").concat(I/2," ").concat(S,"\n L ").concat(I," ").concat(S-j,"\n L ").concat(I," 0\n L ").concat(I/2," ").concat(j,"\n L 0 0 Z"),B={fontSize:"1.5em",pos:"absolute",my:"0.5em",alignItems:"center",justifyContent:"center"};return(0,l.jsxs)(o.k,{lineHeight:"1",contentEditable:!1,align:"center",justify:"center",position:"relative",sx:{...v,...y.shapeBackgroundSx,...(0,g.G6)()?(0,c.Mt)():void 0,...y.outsideTextSx,...(0,h.nN)("center")},...k?{width:"100%",height:"".concat(4,"em")}:{width:"".concat(5,"em"),height:"100%"},ref:C,"data-export-as-image":!0,children:[(0,l.jsx)(i.xu,{as:"svg",pos:"absolute",inset:"0",overflow:"visible",children:(0,l.jsx)(i.xu,{as:"path",d:F,sx:y.shapeBackgroundSx})}),k?(0,l.jsx)(w,{value:a||"",updateAttributes:d,placeholder:"".concat(s+1),className:(0,r.cx)(c.A8),sx:B,display:"flex",style:{width:"100%",userSelect:"none"}}):(0,l.jsx)(o.k,{sx:B,className:(0,r.cx)(c.A8),children:s+1})]})});J.displayName="ArrowsLabel";let X={key:"arrows",name:()=>d.ag._({id:"YUGjgn"}),commandName:()=>d.ag._({id:"IsJ7Ns"}),icon:s.irl,options:[{...q,defaultValue:"horizontal"},U,G,{...L,checkEnabled:e=>"vertical"!==e.options.orientation}],cellOptions:[U],Wrapper:Y,Cell:$,addDirection:e=>"horizontal"===e.orientation?"right":"bottom",isFullWidth:e=>"horizontal"===e.orientation,htmlTag:"arrows",keywords:["sequence","ordered","steps","arrows","chevrons","roadmap"],defaultOptions:{cellSize:N().sm.width}};var Z=n(42822),Q=n(98314),ee=n(12304),et=n(26824);let en=e=>{var t,n;let{index:a,theme:i,firstChildSize:s,layoutOptions:d,cellOptions:f,children:p,positionProps:h,markerProps:b,alignText:y,getPos:v,editor:k,markerFontSize:x}=e,w=(0,ee.v0)(s,i),S=null===(n=d.numbered)||void 0===n||n,C=null===(t=(0,Q.yw)()[x||"h3"])||void 0===t?void 0:t.size,z="".concat((S?C:1)+.75,"em"),I=(0,m.cy)(i),j=(0,u.useCallback)(()=>{if(!k.isEditable)return;let e=k.state.doc.resolve(v());(0,et.X1)(k,e)},[v,k]),B=(0,u.useMemo)(()=>(0,ee.v0)(x||"h3",i),[x,i]),{colorVars:M}=A(d,f,a),E={...(0,g.G6)()?(0,c.Mt)():void 0,...I.boxBackgroundSx||I.boxSx};return(0,l.jsxs)(o.k,{my:y?"var(--block-margin)":0,...h,contentEditable:!1,userSelect:"none",onMouseDown:j,cursor:"default",css:M,children:[(0,l.jsx)(Z.M,{sx:w,h:"".concat(w.lineHeight,"em"),children:(0,l.jsx)(Z.M,{fontSize:"var(--font-size)",h:z,w:z,sx:E,...b,children:(0,l.jsx)(F.x,{sx:B,className:(0,r.cx)(c.A8),textAlign:"center",style:{lineHeight:1},children:S?a+1:""})})}),p]})},el={key:"numbered",defaultValue:!0,Control:e=>{let{value:t,updateValue:n,option:a}=e;return(0,l.jsx)(H.h,{label:a.name(),onClick:()=>n(!t),isActive:t,icon:s.nFo})},name:()=>d.ag._({id:"mVQI+S"})},ea=(0,u.memo)(e=>{let{children:t}=e;return(0,l.jsx)(o.k,{gap:"1em",direction:"row",wrap:"wrap","data-selection-ring":!0,pos:"relative",children:t})});ea.displayName="BulletsWrapper";let eo=(0,u.memo)(e=>{let{children:t,...n}=e,{theme:a,layoutOptions:r,cellOptions:s,numCells:d,layoutContainerSize:u,dragHandle:c}=n,f=(0,m.cy)(a),{columns:p}=D({options:r,numCells:d,containerSize:u}),{colorVars:g}=A(r,s,e.index,!0);return(0,l.jsxs)(o.k,{direction:"row",align:"flex-start",gap:S.p,flex:"1 1 auto",w:"calc(".concat(100/p,"% - ").concat("1em",")"),"data-selection-ring":!0,"data-content-reference":!0,pos:"relative",children:[(0,l.jsx)(en,{...n,alignText:!0}),(0,l.jsx)(i.xu,{flex:"1",minW:"0",sx:f.outsideTextSx,css:g,pt:"var(--block-margin)",children:t}),c]})});eo.displayName="BulletsCell";let ei={key:"bullets",commandName:()=>d.ag._({id:"eKiifW"}),name:()=>d.ag._({id:"RYtHky"}),icon:s.M7i,options:[L,U,el],cellOptions:[U],Wrapper:ea,Cell:eo,htmlTag:"bullets",keywords:["bullets","layout","list","bullet"]};var er=n(69396),es=n(13013),ed=n(12832);let eu=[{label:()=>d.ag._({id:"yrC1Cd"}),key:"xs"},{label:()=>d.ag._({id:"4Revpc"}),key:"sm"},{label:()=>d.ag._({id:"agPptk"}),key:"md"},{label:()=>d.ag._({id:"k7rCa/"}),key:"lg"},{label:()=>d.ag._({id:"vp6Yr4"}),key:"xl"},{label:()=>d.ag._({id:"CK1KXz"}),key:"full"}],ec={key:"shapeSize",defaultValue:null,Control:e=>{let{value:t,updateValue:n,option:a}=e,o=eu.findIndex(e=>e.key===t);-1===o&&(o=3);let{label:i}=eu[o],r=(0,u.useCallback)(e=>{let{key:t}=eu[e];n(t)},[n]);return(0,l.jsxs)(I.U,{spacing:2,mr:2,children:[(0,l.jsx)(_.kH,{placement:"top",label:(0,l.jsxs)(j.g,{spacing:0,children:[(0,l.jsx)(F.x,{color:"gray.400",children:a.name()}),(0,l.jsx)(F.x,{children:i()})]}),children:(0,l.jsx)(F.x,{fontSize:"sm",fontWeight:"600",children:(0,l.jsx)(E.G,{icon:a.icon,fixedWidth:!0})})}),(0,l.jsxs)(B.iR,{min:0,max:eu.length-1,step:1,value:o,onChange:r,w:"60px",focusThumbOnChange:!1,colorScheme:"trueblue",size:"sm",children:[(0,l.jsx)(B.Uj,{children:(0,l.jsx)(B.Ms,{})}),(0,l.jsx)(_.kH,{placement:"top",label:(0,l.jsxs)(j.g,{spacing:0,children:[(0,l.jsx)(F.x,{color:"gray.400",children:a.name()}),(0,l.jsx)(F.x,{children:i()})]}),children:(0,l.jsx)(B.gs,{background:"trueblue.500"})})]})]})},name:()=>d.ag._({id:"FeDgKA"}),icon:s.cxi},em=(0,u.memo)(e=>{let{children:t,options:n,numCells:o,containerSize:i}=e,{columns:r,lastRowAligner:s}=D({containerSize:i,options:n,numCells:o,forceBalance:!0});return(0,l.jsxs)(a.M,{columns:6*r,rowGap:"3em",columnGap:"1.5em","data-selection-ring":"padded",pos:"relative",borderRadius:"var(--box-border-radius)",children:[t,s]})});em.displayName="ImagesWithTextWrapper";let ef={xs:.3,sm:.44,md:.58,lg:.72,xl:.86,full:1},ep={xs:.15,sm:.2,md:.25,lg:.3,xl:.35,full:.4},eg=(0,u.memo)(e=>{var t,n,a,s;let{children:d,image:c,layoutOptions:f,cellOptions:p,theme:g,numCells:b,layoutContainerSize:y,isContentEmpty:v,isLayoutFocused:k,variant:x,dragHandle:w,...S}=e,C="left"==f.imagePosition,z=(0,m.cy)(g),I=null!==(a=null!==(n=f.imageShape)&&void 0!==n?n:z.smartLayoutImageShape)&&void 0!==a?a:"square",j=es.K[I],F=x.key==eb.key,B=(null==c?void 0:c.source)==er.j.key,M=f.shapeSize||!f.imageSize||B?B||F?ep[f.shapeSize||"md"]:ef[f.shapeSize||"full"]:f.imageSize,E=null==c?void 0:null===(t=c.meta)||void 0===t?void 0:t.has_transparency,_=null!==(s=f.horizontalAlign)&&void 0!==s?s:"center",O=(0,h.nN)(_),{color:P,colorVars:T}=A(f,p,S.index,!0),{columns:R}=D({containerSize:y,options:f,numCells:b,forceBalance:!0}),L=1===R,W=M<=ef.xs,U=(0,u.useMemo)(()=>F?"min(100%, ".concat(N().sm.width*M,"em)"):L?"min(100%, ".concat(N().xl.width*M,"em)"):"100%",[M,F,L]),H=B?{"svg.colorable-icon path":{fill:P||"url(#theme-accent-gradient-linear) var(--accent-color)"},aspectRatio:"1 / 1"}:E?{...j}:{...z.smartLayoutImageSx||z.imageSx,...j},G={...z.outsideTextSx,...T};return(0,l.jsxs)(o.k,{borderRadius:"var(--box-border-radius)",gap:v&&!k?0:W?"1em":"1.25em",direction:C?"row":"column",align:"center",justify:"center",sx:O,"data-selection-ring":"padded","data-content-reference":!0,pos:"relative",gridColumn:"span ".concat(6),children:[(0,l.jsx)(i.xu,{"data-smart-layout-image-drop-target":"true",className:(0,r.cx)("image"),w:"".concat(100*M,"%"),maxW:U,overflow:"hidden",sx:H,children:(0,l.jsx)(ed.Z,{image:c,imageShape:I,...S})}),(0,l.jsx)(i.xu,{minW:C?"8em":"100%",maxW:"100%",flex:"1",sx:G,"data-content-empty":v,css:T,children:d}),w]})});eg.displayName="ImageWithTextCell";let eh={key:"imagesText",name:()=>d.ag._({id:"cDxTeG"}),commandName:()=>d.ag._({id:"d+mR/1"}),keywords:["team","caption","images","text","layout"],icon:s.dLO,options:[{...L,getDefaultOnParse:()=>N().sm.width},{...ec,icon:s.VmB,name:()=>d.ag._({id:"8J92vb"})},es.x,G],cellOptions:[],Wrapper:em,Cell:eg,addDirection:e=>"left"===e.imagePosition?"bottom":"right",htmlTag:"images",defaultOptions:{horizontalAlign:"left",imageShape:"landscape"}},eb={name:()=>d.ag._({id:"joUkNe"}),commandName:()=>d.ag._({id:"oEHjy6"}),key:"iconsText",icon:s.ocQ,keywords:["icons","text","layout"],options:[U,{...L,getDefaultOnParse:()=>N().sm.width},{...ec,icon:s.VmB,name:()=>d.ag._({id:"bwZEQG"})},G],cellOptions:[U],Wrapper:em,Cell:eg,addDirection:e=>"left"===e.imagePosition?"bottom":"right",defaultOptions:{horizontalAlign:"left"},defaultAttrs:{image:{source:er.j.key}},htmlTag:"icons"},ey="40em",ev="0.25em";var ek=n(2689),ex=n.n(ek);let ew=(e,t)=>{let n=(0,f.TZ)(),l=(0,M.S)({base:1,sm:2,md:3,xl:4})||2,a=R.cx?4:n?2:l;return a*e<(t?3:2)},eS=(0,u.memo)(e=>{let{Step:t=eF,node:n,...a}=e,{children:i,numCells:r,options:s,theme:d}=a,u=s.horizontalAlign||"center",c=(0,h.nN)(u),m="funnel"===a.variant.key,f="staircase"===a.variant.key,p=ex()(r).map(e=>{var a;let o=null===(a=n.maybeChild(e))||void 0===a?void 0:a.attrs.options;return(0,l.jsx)(eC,{index:e,numCells:r,theme:d,isFunnel:m,alignment:u,isStepped:f,cellOptions:o,layoutOptions:s,Step:t},e)});return(0,l.jsxs)(o.k,{direction:"column","data-selection-ring":!0,align:"stretch",gap:"1em",children:[(0,l.jsx)(o.k,{direction:"column",sx:c,contentEditable:!1,gap:ev,"data-alternate-colors":!0,children:p}),(0,l.jsx)(o.k,{gap:"0.5em",direction:"column",children:i})]})});eS.displayName="StackedPyramidWrapper";let eC=e=>{let{index:t,numCells:n,theme:a,cellOptions:o,layoutOptions:i,isFunnel:r,alignment:s,isStepped:d,Step:u}=e,c=(0,m.cy)(a),f=!d&&r&&t===n-1?{pos:"relative",bottom:"0.25em"}:d||r||0!==t?{}:{pos:"relative",top:"0.25em"},{colorVars:p}=A(i,o,t,!1);return(0,l.jsx)(u,{index:t,numCells:n,base:c,isOutside:!0,isNumbered:!0,isStacked:!0,isFunnel:r,alignment:s,stepSx:p,children:(0,l.jsx)(ej,{index:t,...f})},t)},ez=(0,u.memo)(e=>{let{children:t,layoutOptions:n,...a}=e,{theme:r,index:s}=a,d=(0,m.cy)(r),{colorVars:u}=A(n,e.cellOptions,s,!0);return(0,l.jsxs)(o.k,{direction:"row",align:"flex-start",gap:S.p,w:"100%","data-selection-ring":!0,"data-content-reference":!0,pos:"relative",children:[(0,l.jsx)(en,{...a,layoutOptions:n,alignText:!0,markerFontSize:"h4"}),(0,l.jsx)(i.xu,{flex:"1",minW:"0",sx:d.outsideTextSx,css:u,pt:"var(--block-margin)",children:t})]})});ez.displayName="StackedPyramidCell";let eA=(0,u.memo)(e=>{let t=ew(e.containerSize,e.options.outsideText),{colorVars:n}=A(e.options,void 0,void 0,!0);return t?(0,l.jsx)(eS,{...e}):(0,l.jsx)(a.M,{columns:1,autoRows:"1fr","data-selection-ring":!0,gap:ev,sx:e.options.outsideText?n:void 0,children:e.children})});eA.displayName="PyramidWrapper";let eI=(0,u.memo)(e=>{let{Step:t=eF,isFunnel:n=!1,isStepped:a=!1,alignment:r="center",...s}=e,{children:d,layoutOptions:u,index:c,numCells:f,dragHandle:p}=s,g=u.outsideText,b=ew(s.layoutContainerSize,g),{colorVars:y}=A(u,s.cellOptions,c),{colorVars:v}=A(u,s.cellOptions,c,!0);if(b)return(0,l.jsx)(ez,{...s});let k=(0,m.cy)(s.theme),x=u.numbered,w={...(0,h.nN)("right"===r?"right":"left"),...k.outsideTextSx},C=a?{bottom:"-1px"}:n?{top:"calc(-1px - ".concat(ev," / 2 )")}:{bottom:"calc(-1px - ".concat(ev," / 2 )")},z=n?0===c:c===f-1,I=a?"0.5em":ev,j=x&&g&&!a,F=j&&n&&c===f-1?{pos:"relative",bottom:"15%"}:j&&!n&&0===c?{pos:"relative",top:"15%"}:{};return(0,l.jsxs)(o.k,{"data-selection-ring":!0,"data-content-reference":!0,pos:"relative",w:"100%",direction:"right"===r?"row-reverse":"row",justify:g||"center"!==r?void 0:"center",children:[(0,l.jsxs)(t,{numCells:f,index:c,isFunnel:n,isOutside:g,isNumbered:x,base:k,alignment:r,selectCell:s.selectCell,stepSx:y,children:[g?x?(0,l.jsx)(ej,{index:c,...F}):null:d,p]}),g&&(0,l.jsxs)(o.k,{direction:"column",justify:"center",minW:0,flex:1,px:S.p,py:S.p,pos:"relative",sx:w,css:v,children:[d,!z&&(0,l.jsx)(i.xu,{contentEditable:!1,position:"absolute",...C,left:I,right:I,h:"var(--line-thickness)",transform:"scaleY(0.5)",sx:k.lineSx})]})]})});eI.displayName="PyramidCell";let ej=(0,u.memo)(e=>{let{index:t,...n}=e;return(0,l.jsx)(F.x,{className:(0,r.cx)(c.A8),fontSize:"1.25em",display:"flex",sx:(0,h.nN)("center"),pos:"relative",contentEditable:!1,...n,children:t+1})});ej.displayName="PyramidLabel";let eF=(0,u.memo)(e=>{let{numCells:t,index:n,isFunnel:a,isOutside:i,isStacked:r,children:s,base:d,alignment:u,selectCell:c,stepSx:m}=e,f=a?t-n-1:n,{width:g,height:b,ref:y}=(0,p.h)(),v=i?0:45,k=i&&!r?50:100,x=eM(t,f,v),w=.99*eM(t,f+1,v),C=w*(k/100),z=(k-C)/2,A=(0,h.nN)(u),I=r?void 0:i?{ml:"center"===u?"".concat(z,"%"):void 0}:{maxW:"calc(".concat(ey," * ").concat(C/100,")")};return(0,l.jsxs)(o.k,{direction:"column",ref:y,pos:"relative",w:"".concat(C,"%"),sx:{...A,...m},onClick:i?c:void 0,contentEditable:!i&&void 0,...I,children:[(0,l.jsx)(eB,{width:g,height:b,alignment:u,topSize:a?1:x/w,bottomSize:a?x/w:1,pathSx:d.shapeBackgroundSx}),(0,l.jsx)(o.k,{direction:"column",justify:"center",h:"100%",p:i?"0.5em":S.p,boxSizing:"border-box",sx:{...d.outsideTextSx,...A,alignItems:i?A.alignItems:"stretch"},w:"".concat(100*((x+w)/2/w),"%"),minW:"3em",children:s})]})});eF.displayName="PyramidStep";let eB=(0,u.memo)(e=>{let{width:t,height:n,topSize:a,bottomSize:o,alignment:r,pathSx:s}=e,d=t*(1-a)/2,u=t*(1-o)/2,c="left"===r?"\n M 0 0\n L ".concat(t-2*d," 0\n L ").concat(t-2*u," ").concat(n,"\n L 0 ").concat(n,"\n L 0 0 Z"):"right"===r?"\n M ".concat(2*d," 0\n L ").concat(t," 0\n L ").concat(t," ").concat(n,"\n L ").concat(2*u," ").concat(n,"\n L ").concat(2*d," 0 Z"):"\n M ".concat(d," 0\n L ").concat(t-d," 0\n L ").concat(t-u," ").concat(n,"\n L ").concat(u," ").concat(n,"\n L ").concat(d," 0 Z");return(0,l.jsx)(i.xu,{as:"svg",pos:"absolute",inset:"0",overflow:"visible",contentEditable:!1,w:"".concat(t,"px"),h:"".concat(n,"px"),children:(0,l.jsx)(i.xu,{as:"path",d:c,sx:s})})});eB.displayName="TrapezoidSVG";let eM=(e,t,n)=>n+t/e*(100-n),eE={...el,checkEnabled:e=>e.options.outsideText},e_={key:"pyramid",name:()=>d.ag._({id:"MYceoI"}),commandName:()=>d.ag._({id:"CPkQNq"}),icon:s.Ta_,options:[{key:"outsideText",defaultValue:!0,Control:e=>{let{value:t,updateValue:n,option:a}=e;return(0,l.jsx)(H.h,{label:a.name(),onClick:()=>n(!t),isActive:t,icon:s.bnx})},name:()=>d.ag._({id:"OtsbQu"})},eE,U],cellOptions:[U],Wrapper:eA,Cell:eI,addDirection:()=>"bottom",htmlTag:"pyramid",featureFlag:"pyramidSmartLayouts"},eO=(0,u.memo)(e=>(0,l.jsx)(eI,{...e,isFunnel:!0}));eO.displayName="FunnelCell";let eP={...e_,key:"funnel",name:()=>d.ag._({id:"MWYJBI"}),commandName:()=>d.ag._({id:"HTZVrr"}),icon:s.Ct,htmlTag:"funnel",Cell:eO},eT=(0,u.memo)(e=>{let{children:t,options:n,containerSize:a}=e,i=(0,h.nN)(n.horizontalAlign||"left"),{colorVars:r}=A(n),s=ew(a,n.outsideText);if(s)return(0,l.jsx)(eS,{...e,Step:eR});let d={...i,...n.outsideText?r:{}};return(0,l.jsx)(o.k,{direction:"column","data-selection-ring":!0,gap:"0.5em",sx:d,children:t})});eT.displayName="StaircaseWrapper";let eR=(0,u.memo)(e=>{let{numCells:t,index:n,isOutside:a,isStacked:i,children:r,base:s,alignment:d,selectCell:u,stepSx:c}=e,m=(0,h.nN)(d),f={...m,alignItems:a?m.alignItems:"stretch",...c,...s.boxBackgroundSx||s.boxSx},p=a&&!i?50:100,g=eM(t,n+1,a?0:45),b=g*(p/100),y=(p-b)/2,v=i?void 0:a?{ml:"center"===d?"".concat(y,"%"):void 0}:{maxW:"calc(".concat(ey," * ").concat(b/100,")")};return(0,l.jsx)(o.k,{py:a?"0.5em":S.p,px:S.p,sx:f,w:"".concat(b,"%"),boxSizing:"border-box",...v,direction:"column",justify:"center",contentEditable:!a&&void 0,onClick:a?u:void 0,pos:"relative",children:r})});eR.displayName="StaircaseStep";let eN=(0,u.memo)(e=>{let t=e.layoutOptions.horizontalAlign||"left";return(0,l.jsx)(eI,{...e,Step:eR,isFunnel:!1,isStepped:!0,alignment:t})});eN.displayName="StaircaseCell";let eL={...e_,key:"staircase",name:()=>d.ag._({id:"CFVHFO"}),commandName:()=>d.ag._({id:"DuZtoX"}),options:[...e_.options,G],icon:s.jUS,Wrapper:eT,Cell:eN,htmlTag:"staircase"};var eD=n(72083);let eW=(0,u.memo)(e=>{let{children:t,options:n,containerSize:o,numCells:i}=e,{columns:r,lastRowAligner:s}=D({containerSize:o,options:n,numCells:i,forceBalance:!0});return(0,l.jsxs)(a.M,{columns:6*r,rowGap:"3em",columnGap:"1.5em","data-selection-ring":"padded",pos:"relative",borderRadius:"var(--box-border-radius)",children:[t,s]})});eW.displayName="BarStatsWrapper";let eU=(0,u.memo)(e=>{let{theme:t,children:n,layoutOptions:a,cellOptions:s,label:d,updateAttributes:u,isContentEmpty:f,isLayoutFocused:p,dragHandle:g,index:b}=e,y=(0,m.cy)(t),v=(0,m.fY)(t),k=a.horizontalAlign,x=(0,h.nN)(k||"left"),S=(0,eD.y7)(e),{colorOverride:C,headingColorCss:z}=A(a,s,b,!0),{colorVars:I}=A(a,s,b),{colorVars:j}=A(a,s,b,!1),F=y.boxBackgroundSx||y.boxSx,B={...x,...y.outsideTextSx};return(0,l.jsxs)(o.k,{borderRadius:"var(--box-border-radius)",direction:"column",align:"center",justify:"start",sx:B,"data-selection-ring":"padded","data-content-reference":!0,pos:"relative",gap:f&&!p?0:"0.75em",gridColumn:"span ".concat(6),children:[(0,l.jsxs)(o.k,{direction:"row",align:"center",justify:"stretch",width:"100%",pos:"relative",contentEditable:!1,gap:"0.75em",css:z,children:[(0,l.jsxs)(i.xu,{flex:"1",my:"0.5em",pos:"relative",borderRadius:null==F?void 0:F.borderRadius,children:[(0,l.jsx)(i.xu,{pos:"absolute",inset:"0",sx:F,opacity:C&&("none"!==v.shapeFill||y.hasTransparentShapes)?.5:1,css:I}),(0,l.jsx)(i.xu,{w:"".concat(100*S,"%"),h:"1.25em",pos:"relative",sx:y.boxFillSx,borderRadius:"inherit",css:j})]}),(0,l.jsx)(w,{value:d||"",updateAttributes:u,className:(0,r.cx)(c.A8),lineHeight:1,display:"flex",alignItems:"center",sx:x,fontSize:"1.25em",inputProps:{textAlign:"right",width:"4em",py:0},minW:"1em"})]}),(0,l.jsx)(i.xu,{w:"100%","data-content-empty":f,children:n}),g]})});eU.displayName="BarStatsCell";let eH={key:"barStats",name:()=>d.ag._({id:"LYRXtx"}),commandName:()=>d.ag._({id:"MSp/ys"}),icon:s.xJn,options:[L,U,G],cellOptions:[U],Wrapper:eW,Cell:eU,defaultAttrs:{label:"50%"},addDirection:()=>"right",keywords:["stats","bar","progress","number","percentage"],htmlTag:"percentages",featureFlag:"statsSmartLayouts"};var eG=n(30401);let eq=(0,u.memo)(e=>{let{children:t,options:n,containerSize:o,numCells:i}=e,{columns:r,lastRowAligner:s}=D({containerSize:o,options:n,numCells:i,forceBalance:!0});return(0,l.jsxs)(a.M,{columns:6*r,rowGap:"3em",columnGap:"1.5em","data-selection-ring":"padded",pos:"relative",borderRadius:"var(--box-border-radius)",children:[t,s]})});eq.displayName="CircleStatsWrapper";let eV={xs:.35,sm:.48,md:.61,lg:.74,xl:.87,full:1},eK=(0,u.memo)(e=>{let{theme:t,children:n,layoutOptions:a,cellOptions:s,label:d,updateAttributes:u,isContentEmpty:p,isLayoutFocused:g,dragHandle:b,index:y}=e,v=(0,m.cy)(t),k=a.horizontalAlign,x=(0,h.nN)(k||"center"),S=(0,eD.y7)(e),C=(0,eG.Nb)({innerRadius:41,outerRadius:50}),z=C({startAngle:0,endAngle:2*S*Math.PI}),I=C({startAngle:0,endAngle:2*Math.PI}),j=eV[a.shapeSize]||1,F="min(100%, ".concat(N().md.width*j,"em)"),B=(0,f.TZ)(),{colorOverride:M,headingColorCss:E}=A(a,s,y,!0),{colorVars:_}=A(a,s,y),{colorVars:O}=A(a,s,y,!1),P={...x,...v.outsideTextSx},T=v.hasTransparentShapes?0:M?.4:1;return(0,l.jsxs)(o.k,{borderRadius:"var(--box-border-radius)",direction:"column",align:"center",justify:"start","data-selection-ring":"padded","data-content-reference":!0,pos:"relative",gap:p&&!g?0:"1em",sx:P,gridColumn:"span ".concat(6),children:[(0,l.jsxs)(o.k,{direction:"column",align:"center",justify:"center",width:"".concat(100*j,"%"),maxW:F,pos:"relative",contentEditable:!1,py:"0.25em",css:{...E},children:[(0,l.jsx)(w,{value:d||"",updateAttributes:u,pos:"absolute",left:"".concat(9,"%"),className:(0,r.cx)(c.A8),fontSize:B?"".concat(2*j,"em"):"".concat(2.5*j,"em"),lineHeight:1,display:"flex",alignItems:"center",sx:(0,h.nN)("center"),style:{width:"".concat(82,"%")}}),(0,l.jsxs)("svg",{width:"100%",viewBox:"".concat(-50," ").concat(-50," ").concat(100," ").concat(100),overflow:"visible",children:[(0,l.jsx)(i.xu,{as:"path",d:I||void 0,sx:v.shapeBackgroundSx,style:{fillOpacity:T},"data-testid":"stats-track",css:_}),(0,l.jsx)(i.xu,{as:"path",d:z||void 0,sx:v.shapeFillSx,"data-testid":"stats-fill",css:O})]})]}),(0,l.jsx)(i.xu,{w:"100%","data-content-empty":p,children:n}),b]})});eK.displayName="CircleStatsCell";let eY={key:"circleStats",name:()=>d.ag._({id:"mvpFPS"}),commandName:()=>d.ag._({id:"4Rg7EO"}),icon:s.NWt,options:[L,{...ec,name:()=>d.ag._({id:"1C+7U1"}),icon:s.diR},U,G],cellOptions:[U],Wrapper:eq,Cell:eK,defaultAttrs:{label:"50%"},addDirection:()=>"right",keywords:["stats","circle"],htmlTag:"circles",featureFlag:"statsSmartLayouts"},e$=(0,u.memo)(e=>{let{children:t,options:n,containerSize:o,numCells:i}=e,{columns:r,lastRowAligner:s}=D({containerSize:o,options:n,numCells:i,mobileMaxColumns:1,forceBalance:!0});return(0,l.jsxs)(a.M,{columns:6*r,rowGap:"3em",columnGap:"1.5em","data-selection-ring":"padded",pos:"relative",borderRadius:"var(--box-border-radius)",children:[t,s]})});e$.displayName="PlainStatsWrapper";let eJ={xs:2,sm:2.65,md:3.3,lg:3.95,xl:4.6,full:5.25},eX=(0,u.memo)(e=>{let{theme:t,children:n,layoutOptions:a,cellOptions:s,label:d,isContentEmpty:u,isLayoutFocused:p,updateAttributes:g,index:b,dragHandle:y}=e,v=(0,m.cy)(t),{headingColorCss:k,colorVars:x}=A(a,s,b,!0),S=a.horizontalAlign,C=(0,h.nN)(S||"center"),z=eJ[a.shapeSize||"md"],I={...C,...x,...v.outsideTextSx},j=(0,f.TZ)();return(0,l.jsxs)(o.k,{borderRadius:"var(--box-border-radius)",direction:"column",align:"center",justify:"start","data-selection-ring":"padded","data-content-reference":!0,pos:"relative",gap:u&&!p?0:"0.75em",sx:I,gridColumn:"span ".concat(6),children:[(0,l.jsx)(o.k,{direction:"column",align:"center",justify:"center",width:"100%",pos:"relative",contentEditable:!1,py:"0.5em",css:k,fontSize:j?"0.75em":"1em",children:(0,l.jsx)(w,{value:d||"",updateAttributes:g,className:(0,r.cx)(c.A8),fontSize:"".concat(z,"em"),lineHeight:1,display:"flex",alignItems:"center",sx:(0,h.nN)(S||"center"),style:{width:"100%"},placeholder:"—"})}),(0,l.jsx)(i.xu,{w:"100%","data-content-empty":u,children:n}),y]})});eX.displayName="PlainStatsCell";let eZ={key:"stats",name:()=>d.ag._({id:"29Hx9U"}),commandName:()=>d.ag._({id:"v2fVzA"}),icon:s.jGC,options:[L,{...ec,name:()=>d.ag._({id:"IfKwpr"}),icon:s.UgL},U,G],cellOptions:[U],Wrapper:e$,Cell:eX,defaultAttrs:{label:"50%"},addDirection:()=>"right",keywords:["stats"],htmlTag:"numbers",featureFlag:"statsSmartLayouts"},eQ=(0,u.memo)(e=>{let{children:t}=e;return(0,l.jsx)(o.k,{gap:"1em",wrap:"wrap","data-selection-ring":!0,pos:"relative",children:t})});eQ.displayName="TextBoxesWrapper";let e0=(0,u.memo)(e=>{let{theme:t,children:n,layoutOptions:a,cellOptions:o,numCells:r,layoutContainerSize:s,dragHandle:d,index:u}=e,c=(0,m.cy)(t),{columns:f}=D({options:a,numCells:r,containerSize:s}),{colorVars:p}=A(a,o,u),g=a.horizontalAlign,b=(0,h.nN)(g),y={...p,...b,...c.boxBackgroundSx||c.boxSx};return(0,l.jsxs)(i.xu,{flex:"1 1 auto",w:"calc(".concat(100/f,"% - ").concat("1em",")"),boxSizing:"border-box",p:S.p,"data-content-reference":!0,"data-selection-ring":!0,pos:"relative",sx:y,children:[n,d]})});e0.displayName="TextBoxCell";let e1={key:"textBoxes",name:()=>d.ag._({id:"b7qbjN"}),commandName:()=>d.ag._({id:"xAk5nC"}),icon:s.Lc0,options:[L,U,G],cellOptions:[U],Wrapper:eQ,Cell:e0,addDirection:()=>"right",htmlTag:"boxes",keywords:["textbox","layout"]};var e2=n(69251),e4=n(96933);let e5={base:!1,md:!0},e3={base:!1,md:!0},e9=e=>{let t=(0,e4.i)(e5)||!1,n=(0,e4.i)(e3)||!1,l="horizontal"===e.orientation&&n,a=e.twoSided&&(l||t);return{isHorizontal:l,isTwoSided:a}},e8=e=>e?1.5:.5,e7=(0,u.memo)(e=>{let{children:t,options:n,theme:a}=e,{isHorizontal:o,isTwoSided:r}=e9(n),s=e8(n.numbered),d=o?{templateRows:"auto 0px auto",autoColumns:"1fr",justifyContent:"center",columnGap:"1em",mt:r?void 0:"".concat(s,"em")}:{templateColumns:r?"1fr 0px 1fr":"0px 0px 1fr",autoRows:"auto",justifyContent:"center",rowGap:"1em",ml:r?void 0:"".concat(s,"em")},u=(0,m.cy)(a),c=o?(0,l.jsx)(i.xu,{gridRow:2,gridColumn:1,"data-spotlight-dim":!0,contentEditable:!1,children:(0,l.jsx)(i.xu,{position:"absolute",height:"var(--line-thickness)",width:"100%",left:"0",right:"0",sx:u.lineSx})}):(0,l.jsx)(Z.M,{gridColumn:2,gridRow:1,"data-spotlight-dim":!0,contentEditable:!1,children:(0,l.jsx)(i.xu,{position:"absolute",width:"var(--line-thickness)",top:"0",bottom:"0",sx:u.lineSx})});return(0,l.jsxs)(e2.r,{...d,"data-selection-ring":!0,pos:"relative",children:[c,t,r&&(0,l.jsx)(i.xu,{...o?{gridColumn:"1 / span 1",gridRow:3,minW:"0.5fr"}:{gridColumn:3,gridRow:"1 / span 1",minH:"".concat(4,"em")},contentEditable:!1})]})});e7.displayName="TimelineWrapper";let e6=(0,u.memo)(e=>{let{children:t,layoutOptions:n,index:a,theme:r,dragHandle:s,cellOptions:d}=e,u=(0,m.cy)(r),c=a+1,{isHorizontal:p,isTwoSided:g}=e9(n),b=g&&c%2==1,y=n.hasLine?"inside":"none",v=e8(n.numbered),{colorVars:k}=A(n,d,a,!0),x=(0,f.TZ)(),w="".concat(("inside"===y?x?1.75:3.5:0)+(p?"none"===y?v+1:1:2),"em"),S=p?{gridColumn:"span 2",gridRow:b?1:3,align:b?"flex-end":"flex-start",justify:"center",transformOrigin:b?"center bottom":"center top",pt:b?void 0:w,pb:b?w:void 0,px:"".concat(1,"em")}:{gridRow:"span 2",gridColumn:b?1:3,align:"flex-start",transformOrigin:b?"right center":"left center",pl:b?void 0:w,pr:b?w:void 0},C=p?{minW:"min(100%, ".concat(8,"em)"),...(0,h.nN)("center"),...u.outsideTextSx,...k}:{minH:g?"".concat(8,"em"):void 0,...(0,h.nN)(b?"right":"left"),...u.outsideTextSx,py:"".concat(1,"em"),...k};return(0,l.jsxs)(o.k,{minW:"0",position:"relative",transitionProperty:"border, padding, right, margin","data-selection-ring":!0,"data-content-reference":!0,...S,"data-test-timeline-item":a,children:[(0,l.jsx)(te,{...e}),(0,l.jsxs)(i.xu,{sx:C,flex:"1",maxW:"100%",children:[t,s]})]})});e6.displayName="TimelineCell";let te=(0,u.memo)(e=>{let{index:t,layoutOptions:n,theme:a}=e,{isHorizontal:o,isTwoSided:r}=e9(n),s=r&&t%2==0,d=n.hasLine?"inside":"none",u=(0,m.cy)(a),c=(0,f.TZ)(),p="none"===d?0:"inside"===d?"".concat(c?1.75:3.5,"em"):"100%",g=o?{height:p,width:"var(--line-thickness)",left:"50%",top:s?void 0:"50%",bottom:s?"50%":void 0,transform:"translateX(-50%)"}:{width:p,height:"var(--line-thickness)",top:"50%",transform:"translateY(-50%)",left:s?void 0:"100%",right:s?"100%":void 0};return(0,l.jsx)(en,{...e,alignText:!o,positionProps:{...o?s?{bottom:0,transform:"translateY(50%)"}:{top:0,transform:"translateY(-50%)"}:s?{right:0,transform:"translateX(50%)"}:{left:0,transform:"translateX(-50%)"},position:"absolute"},children:"none"!==d&&(0,l.jsx)(i.xu,{position:"absolute",zIndex:"-1","data-testid":"timeline-line",...g,sx:u.lineSx})})});te.displayName="TimelineCellMarker";let tt={key:"timeline",name:()=>d.ag._({id:"cklVjM"}),commandName:()=>d.ag._({id:"jJ1FpU"}),icon:s.PZJ,options:[q,{key:"twoSided",defaultValue:!0,Control:e=>{let{value:t,updateValue:n,option:a}=e;return(0,l.jsx)(H.h,{label:a.name(),onClick:()=>n(!t),isActive:t,icon:s.cp3,testId:"smart-layout-two-sided-option"})},name:()=>d.ag._({id:"ovs7iP"})},el,{key:"hasLine",defaultValue:!0,Control:e=>{let{value:t,updateValue:n,option:a}=e;return(0,l.jsx)(H.h,{label:a.name(),onClick:()=>n(!t),isActive:t,icon:s.ql$})},name:()=>d.ag._({id:"aPb1AT"})},U],cellOptions:[U],Wrapper:e7,Cell:e6,addDirection:e=>"horizontal"===e.orientation?"right":"bottom",isFullWidth:e=>"horizontal"===e.orientation,htmlTag:"timeline",keywords:["timeline","layout","list","horizontal","vertical"]},tn=()=>[ei,e1,eh,eb,tt,X,eZ,eY,eH,e_,eP,eL],tl=()=>tn().reduce((e,t)=>(e[t.key]=t,e),{}),ta=e=>e&&tl()[e]||ei},72083:function(e,t,n){"use strict";n.d(t,{g9:function(){return d},y7:function(){return o}});var l=n(27875),a=n.n(l);let o=e=>{let{label:t}=e,n=d(t);return n?a()(n/100,0,1):0},i=/[0-9,.]+/g,r=/[,.](?=\d{3})/g,s=/([0-9]+)\s?\/\s?([0-9]+)/g,d=e=>{if(e){if("number"==typeof e)return e;try{var t,n;let l=null===(t=e.match(s))||void 0===t?void 0:t[0];if(l){let[e,t]=l.split("/").map(e=>e.trim());return 100*parseFloat(e)/parseFloat(t)}let a=null===(n=e.match(i))||void 0===n?void 0:n[0],o=null==a?void 0:a.replaceAll(r,"");return o?parseFloat(o):void 0}catch(t){console.error("[SmartLayout] Failed to parse label number: ".concat(e),t);return}}}},33374:function(e,t,n){"use strict";n.d(t,{ty:function(){return g},Yg:function(){return p}});var l=n(27191),a=n(52780),o=n(72338);let i=new l.H$("suggestion"),r={from:0,to:0};var s=n(94523),d=n(27875),u=n.n(d),c=n(2784),m=n(55079),f=n(59284);let p=e=>{let{ref:t,selectItem:n,options:l}=e,[a,o]=(0,c.useState)(0),i=(0,c.useRef)(null),r=(0,c.useRef)({selectedIndex:a,options:l,selectItem:n});return r.current={selectedIndex:a,options:l,selectItem:n},(0,c.useImperativeHandle)(t,()=>{let e=e=>{let{key:t}=e,n=r.current;return"ArrowUp"===t?(e.preventDefault(),n.selectedIndex<=0?o(l.length-1):o(u()(n.selectedIndex-1,0,n.options.length-1))):"ArrowDown"===t?(e.preventDefault(),n.selectedIndex>=n.options.length-1?o(0):o(u()(n.selectedIndex+1,0,n.options.length-1))):("Enter"===t||"Tab"===t)&&(e.preventDefault(),n.options.length>0&&n.selectItem(a)),e.stopPropagation(),e.preventDefault(),!0};return{onKeyDown:t=>{let{event:n}=t;return!!["ArrowUp","ArrowDown","Enter","Tab"].includes(n.key)&&e(n)}}}),(0,c.useEffect)(()=>{if(i.current){var e;null==i||null===(e=i.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}},[a]),{selectedIndex:a,selectedItemEl:i}},g=e=>{let{char:t,MenuComponent:n,pluginKey:d,command:u,allowSpaces:c=!1,...p}=e;return o.hj.create({...p,addOptions:()=>({HTMLAttributes:{},suggestion:{char:t,pluginKey:d,allowSpaces:c,startOfLine:!1,command:u,render:()=>{let e=null,t=null;return{onStart:l=>{if(t&&e){e.updateProps(l),t.setProps({getReferenceClientRect:l.clientRect}),t.show();return}e=new f.M(n,{props:l,editor:l.editor});let a=l.editor.view.dom.parentElement;t=(0,m.ZP)(a,{getReferenceClientRect:l.clientRect,appendTo:()=>document.body,content:e.element,showOnCreate:!0,interactive:!0,trigger:"manual",placement:"bottom-start",zIndex:s.qZ.zIndices.dropdown,popperOptions:{modifiers:[{name:"preventOverflow",options:{padding:{bottom:8}}},{name:"flip",options:{fallbackPlacements:["auto-start"]}}]}})},onUpdate(n){null==e||e.updateProps(n),null==t||t.setProps({getReferenceClientRect:n.clientRect})},onKeyDown(n){var l;return"Escape"===n.event.key?(null==t||t.destroy(),null==e||e.destroy(),t=null,e=null,!0):null==e?void 0:null===(l=e.ref)||void 0===l?void 0:l.onKeyDown(n)},onExit(n){let l=d.getState(n.editor.view.state);!0!==l.active&&(null==t||t.destroy(),null==e||e.destroy(),t=null,e=null)}}}}}),addProseMirrorPlugins(){return[function(e){let t,{pluginKey:n=i,editor:s,char:d="@",allowSpaces:u=!1,prefixSpace:c=!0,startOfLine:m=!1,decorationTag:f="span",decorationClass:p="suggestion",command:g=()=>null,items:h=()=>[],render:b=()=>({}),allow:y=()=>!0}=e,v=null==b?void 0:b(),k=e=>{e.dispatch(e.state.tr.setMeta(n,{active:!1,decorationId:"",key:null,range:r,query:null,text:null,composing:!1}))};return new l.Sy({key:n,view(){return{update:async(e,n)=>{var l,a,o,i,r;let d=null===(l=this.key)||void 0===l?void 0:l.getState(n),u=null===(a=this.key)||void 0===a?void 0:a.getState(e.state),c=d.active&&u.active&&d.range.from!==u.range.from,m=!d.active&&u.active,f=d.active&&!u.active,p=!m&&!f&&d.query!==u.query,b=m||c,y=p&&!c,k=f||c;if(!b&&!y&&!k)return;let x=k&&!b?d:u,w=document.querySelector('[data-decoration-id="'.concat(x.decorationId,'"]'));t={editor:s,range:x.range,query:x.query,text:x.text,items:y||b?await h({editor:s,query:x.query}):[],command:e=>{g({editor:s,range:x.range,props:e})},decorationNode:w,clientRect:w?()=>{var e;let{decorationId:t}=null===(e=this.key)||void 0===e?void 0:e.getState(s.state),n=document.querySelector('[data-decoration-id="'.concat(t,'"]'));return n.getBoundingClientRect()}:null},k&&(null==v||null===(o=v.onExit)||void 0===o||o.call(v,t)),y&&(null==v||null===(i=v.onUpdate)||void 0===i||i.call(v,t)),b&&(null==v||null===(r=v.onStart)||void 0===r||r.call(v,t))},destroy:()=>{var e;t&&(null==v||null===(e=v.onExit)||void 0===e||e.call(v,t))}}},state:{init:()=>({active:!1,decorationId:"",range:r,key:null,query:null,text:null,composing:!1}),apply(e,t,l,a){let i;i=e.getMeta(n)?{...e.getMeta(n)}:{...t};let{isEditable:f}=s,{composing:p}=s.view,{selection:g}=e,{empty:h,from:b}=g;if(i.composing=p,!i.active&&i.key!==d)return i;if(i.active&&i.key===d)return i.key=null,i;if(f&&(h||s.view.composing)){t.range&&(bt.range.to)&&!p&&!t.composing&&(i.active=!1);let e=function(e){var t;let{char:n,allowSpaces:l,prefixSpace:a,startOfLine:i,$position:r}=e,s=(0,o.Ov)(n),d=new RegExp("\\s".concat(s,"$")),u=i?"^":"",c=l?RegExp("".concat(u).concat(s,".*?(?=\\s").concat(s,"|$)"),"gm"):RegExp("".concat(u,"(?:^)?").concat(s,"[^\\s").concat(s,"]*"),"gm"),m=null===(t=r.nodeBefore)||void 0===t?void 0:t.text;if(!m)return null;let f=r.pos-m.length,p=Array.from(m.matchAll(c)).pop();if(!p||void 0===p.input||void 0===p.index)return null;let g=p.input.slice(Math.max(0,p.index-1),p.index),h=/^[\s\0]?$/.test(g);if(a&&!h)return null;let b=f+p.index,y=b+p[0].length;return(l&&d.test(m.slice(y-1,y+1))&&(p[0]+=" ",y+=1),b=r.pos)?{range:{from:b,to:y},query:p[0].slice(n.length),text:p[0]}:null}({char:d,allowSpaces:u,prefixSpace:c,startOfLine:m,$position:g.$from});e&&y({editor:s,state:a,range:e.range})?(i.active=!0,i.decorationId=t.decorationId?t.decorationId:"id_".concat(Math.floor(4294967295*Math.random())),i.range=e.range,i.query=e.query,i.text=e.text):i.active=!1}else i.active=!1;return i.active||(i.decorationId=null,i.range=r,i.query=null,i.text=null),i}},props:{handleKeyDown(e,t){var l;let a=e.state.tr,o=this.getState(e.state);if(!o)return!1;let{active:i,range:r}=o;if(!r)return!1;if(i||t.key!==d||t.metaKey){if(!i)return!1;"Escape"===t.key&&k(e)}else{let l={...o};l.active=!0,l.key=t.key,l.query="",e.dispatch(a.setMeta(n,l))}return(null==v?void 0:null===(l=v.onKeyDown)||void 0===l?void 0:l.call(v,{view:e,event:t,range:r}))||!1},decorations(e){let t=this.getState(e);if(!t)return null;let{active:n,range:l,decorationId:o}=t;return n&&l?a.EH.create(e.doc,[a.p.inline(l.from,l.to,{nodeName:f,class:p,"data-decoration-id":o||""})]):null}}})}({editor:this.editor,...this.options.suggestion})]}})}},97676:function(e,t,n){"use strict";n.d(t,{FC:function(){return o},KX:function(){return i},Ox:function(){return l}});let l={light:{gray:{hex:"#D6D6D6",name:"Gray"},red:{hex:"#FFBDBD",name:"Red"},orange:{hex:"#F8CB96",name:"Orange"},yellow:{hex:"#FBEB8F",name:"Yellow"},green:{hex:"#C9FDCB",name:"Green"},blue:{hex:"#D1E5FD",name:"Blue"},purple:{hex:"#D5CCFB",name:"Purple"},primary:{hex:"#FFD300"},secondary:{hex:"#FF7979"},tertiary:{hex:"#A9FF8B"}},dark:{gray:{hex:"#999999",name:"Gray"},red:{hex:"#EB5252",name:"Red"},orange:{hex:"#DD8404",name:"Orange"},yellow:{hex:"#CAAD07",name:"Yellow"},green:{hex:"#50BD3D",name:"Green"},blue:{hex:"#85BAFA",name:"Blue"},purple:{hex:"#B1A0F8",name:"Purple"},primary:{hex:"#856E01"},secondary:{hex:"#952222"},tertiary:{hex:"#257D04"}}},a=e=>Object.entries(l[e]).reduce((e,t)=>{let[n,l]=t,a={backgroundColor:l.hex};return e['&[variant="'.concat(n,'"]')]=a,e},{backgroundColor:"var(--highlight-color)"}),o={borderRadius:"0.125em",px:".05em",mx:"-.05em",boxDecorationBreak:"clone"},i={default:{"mark.highlight":{color:"black","--link-color":"black",...a("light"),...o}},dark:{"mark.highlight":{color:"black",...a("dark")}}}},94075:function(e,t,n){"use strict";n.d(t,{y:function(){return s},d:function(){return u}});var l=n(6776),a=n(72338),o=n(3543),i=n(19283),r=n(89);let s=l.ZP.extend({name:"highlight",priority:i.a.Highlight,excludes:"textColor highlight",addAttributes:()=>({variant:{},hex:{}}),addCommands(){var e;return{...null===(e=this.parent)||void 0===e?void 0:e.call(this),setHighlightColor:e=>t=>{let{commands:n}=t;return n.setMark(this.name,{hex:e,variant:null})},setHighlightVariant:e=>t=>{let{commands:n}=t;return n.setMark(this.name,{variant:e,hex:null})}}},parseHTML:()=>[{tag:"mark[class=highlight]"},{tag:"*[highlight]",getAttrs(e){let t=e.getAttribute("highlight");return!!t&&(r.RJ.includes(t)?{variant:t}:{hex:t})},consuming:!1,priority:60}],renderHTML(e){let{HTMLAttributes:t,mark:n}=e,l=n.attrs.hex&&(0,o.DP)(n.attrs.hex),i=["--highlight-color: ".concat(n.attrs.hex),"color: var(".concat(l?"--highlight-color-dark":"--highlight-color-light",")")].join("; ");return["mark",(0,a.P1)(this.options.HTMLAttributes,t,{class:"highlight",style:i})]},renderHTMLforAI(e){var t;let{mark:n}=e;return["span",{color:null!==(t=n.attrs.hex)&&void 0!==t?t:n.attrs.variant}]}}).configure({multicolor:!0});var d=n(32273);let u=a.vc.create({name:"textColor",excludes:"highlight textColor",priority:i.a.TextColor,addAttributes:()=>({variant:{},hex:{}}),addCommands(){return{setTextColorVariant:e=>t=>{let{commands:n}=t;return n.setMark(this.name,{hex:null,variant:e})},setTextColor:e=>t=>{let{commands:n}=t;return n.setMark(this.name,{hex:e,variant:null})}}},parseHTML:()=>[{tag:"span[class=textColor]"},{tag:"*[color]",getAttrs(e){let t=Object.values((0,d.m)()).map(e=>{var t;return null===(t=e.htmlTag)||void 0===t?void 0:t.toUpperCase()}).filter(Boolean);if(["ASIDE","DIV",...t].includes(e.tagName))return!1;let n=e.getAttribute("color");return!!n&&(r.RJ.includes(n)?{variant:n}:{hex:n})},consuming:!1,priority:60}],renderHTML(e){let{HTMLAttributes:t,mark:n}=e;return["span",(0,a.P1)(t,{class:"textColor",style:n.attrs.hex?"--text-color: ".concat(n.attrs.hex):void 0})]},renderHTMLforAI(e){var t;let{mark:n}=e;return["span",{color:null!==(t=n.attrs.hex)&&void 0!==t?t:n.attrs.variant}]}})},89:function(e,t,n){"use strict";n.d(t,{E_:function(){return r},RJ:function(){return a},eR:function(){return l}});let l={light:{gray:{hex:"#7A7A7A",name:"Gray"},red:{hex:"#EB0000",name:"Red"},orange:{hex:"#BD6F00",name:"Orange"},yellow:{hex:"#B29500",name:"Yellow"},green:{hex:"#008545",name:"Green"},blue:{hex:"#006ED6",name:"Blue"},purple:{hex:"#7B57FF",name:"Purple"}},dark:{gray:{hex:"#AFAFAF",name:"Gray"},red:{hex:"#EF8784",name:"Red"},orange:{hex:"#F5C274",name:"Orange"},yellow:{hex:"#F5F380",name:"Yellow"},green:{hex:"#8CE29F",name:"Green"},blue:{hex:"#8DD4FB",name:"Blue"},purple:{hex:"#A08CF8",name:"Purple"}}},a=Object.keys(l.light),o=(e,t)=>Object.entries(l[e]).reduce((e,n)=>{let[l,a]=n,o={"--text-color":a.hex},i=t?t(l):'&[variant="'.concat(l,'"]');return e[i]=o,e},{}),i="var(--text-color, var(--body-color))",r={default:{"span.textColor":{...o("light"),color:i},".block-numbered":{...o("light",e=>'&[data-text-color="'.concat(e,'"] li::before')),"li::before":{color:i}},".block-bullet":{...o("light",e=>'&[data-text-color="'.concat(e,'"] li::marker')),"li::marker":{color:i}}},dark:{"span.textColor":{...o("dark"),color:i},".block-numbered":{...o("dark",e=>'&[data-text-color="'.concat(e,'"] li::before')),"li::before":{color:i}},".block-bullet":{...o("dark",e=>'&[data-text-color="'.concat(e,'"] li::marker')),"li::marker":{color:i}}}}},50177:function(e,t,n){"use strict";n.d(t,{C:function(){return r},w:function(){return s}});var l=n(38564),a=n(37164),o=n(27191),i=n(55850);let r=()=>(0,a.x0)(5),s=i.I.extend({name:"UniqueToggleId"}).configure({attributeName:"id",types:["toggle"],initialValue:r,filterTransaction:e=>{let t=e.getMeta(l.Gt);return(null==t?void 0:t.isChangeOrigin)!==!0},pluginKey:new o.H$("UniqueToggleId")})},54999:function(e,t,n){"use strict";n.d(t,{AH:function(){return r},O4:function(){return s},fH:function(){return o},xB:function(){return i}});var l=n(94090),a=n(93982);let o=e=>{let t=(0,l.bh)();return(0,a.R)(e)(t.getState())||!1},i=(e,t)=>{let n=(0,l.bh)();n.dispatch((0,a.pD)({toggleIds:[e],isExpanded:t}))},r=e=>"toggle"===e.type.name,s=e=>"toggleSummary"===e.type.name},36909:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var l=n(72338),a=n(97030),o=n.n(a);let i=l.hj.create({name:"updateAttributesAtPos",addCommands:()=>({updateAttributesAtPos:(e,t)=>n=>{let{tr:l}=n;return Object.entries(t).forEach(t=>{let[n,a]=t;l.setNodeAttribute(e,n,a)}),!0},updateNestedAttributesAtPos:(e,t)=>n=>{let{tr:l}=n,a=l.doc.nodeAt(e);return!!a&&(Object.entries(t).forEach(t=>{let[n,i]=t,r=o()(i)?{...a.attrs[n],...i}:i;l.setNodeAttribute(e,n,r)}),!0)}})})},62047:function(e,t,n){"use strict";n.d(t,{vz:function(){return a},Sz:function(){return l},iS:function(){return o},WE:function(){return i}}),n(11093),n(90221),n(14657),n(96342),n(96255),n(37872),n(59080),new(n(27191)).H$("BlockHoverKey");let l=e=>{var t;return(null===(t=e.find(e=>e.spec.isTableHover))||void 0===t?void 0:t.spec)||{}},a=e=>{var t;return(null===(t=e.find(e=>e.spec.isTableFocus))||void 0===t?void 0:t.spec)||{}},o=e=>e.some(e=>e.spec.isAnnotatableHover),i=e=>e.some(e=>e.spec.isBlockHover)},55395:function(e,t,n){"use strict";n.d(t,{w:function(){return l}}),n(96255);let l=e=>{var t;return(null===(t=e.find(e=>e.spec.isBlockWidthDecoration))||void 0===t?void 0:t.spec)||{}}},93486:function(e,t,n){"use strict";n.d(t,{z:function(){return z}});var l=n(72338),a=n(15690),o=n(9726),i=n(90507),r=n(11093),s=n(86353),d=n(52322),u=n(62614),c=n(28535),m=n(11082),f=n(77533),p=n(73200),g=n(96221),h=n(94090),b=n(26803),y=n(50788),v=n(56329),k=n(93982),x=n(13180),w=n(39540);let S=e=>{let{node:t,decorations:n}=e,{href:l,variant:a}=t.attrs,o=(0,h.CG)(k.Pw),r=(0,w.v)(n),s=o&&r,S=(0,x.R)(n),C=(0,y.C7)(),{interceptLinkClick:z,linkUrlSafe:A,isUntrusted:I}=(0,g.x)(l),{linkUrl:j,handleClick:F,isCurrentPage:B}=(0,b.H)({url:l}),M="solid"===a?{backgroundColor:"var(--link-color)",backgroundImage:"var(--shape-bg-color-override, var(--accent-gradient))",borderRadius:"var(--button-border-radius, var(--box-border-radius))"}:"outline"===a?{border:"0px",boxShadow:"inset 0 0 0 ".concat("0.125em"," var(--link-color)"),backgroundColor:"var(--shape-bg-color-override, var(--card-color))",borderRadius:"var(--button-border-radius, var(--box-border-radius))"}:void 0;return(0,d.jsx)(i.T5,{children:(0,d.jsx)(u.z,{as:s?c.xu:m.r,isDisabled:!C&&I,variant:"unstyled",display:"inline-flex",cursor:o?"text":"pointer",userSelect:o?"auto":"none",href:C?j:A||void 0,onClick:C?F:z,pos:"relative",style:M,_hover:{textDecoration:"none"},minW:"min(100%, 12em)",maxW:"100%",fontSize:"1em",py:"0.5em",minH:"2.75em",w:"var(--button-width)",h:"auto",px:"link"===a?"0.5em":"1em",className:(0,p.cx)("button","solid"===a&&v.LY),"data-variant":a,"data-export-as-image":!0,"data-export-link":l,transitionProperty:"none",sx:{"@media print":{width:"auto"},outline:r?"2px solid var(--chakra-ring-color) !important":void 0,lineHeight:1},"data-is-current-page":B,children:(0,d.jsxs)(f.x,{as:"div",noOfLines:s||S?void 0:1,wordBreak:"break-all",style:{color:"solid"===a?"var(--link-color-inverted)":"outline"===a?"var(--link-color)":void 0},textAlign:"center",children:[S&&(0,d.jsx)(f.x,{opacity:"0.3",pointerEvents:"none",contentEditable:!1,pos:"absolute",w:"100%",left:"0",textAlign:"center",children:"…"}),(0,d.jsx)(i.ms,{})]})})})};var C=n(36781);let z=l.NB.create({name:"button",content:"(text | emoji)*",marks:"",defining:!0,isolating:!0,selectable:!1,addNodeView:()=>(0,i.fW)(S,{update:s.E7}),addAttributes:()=>({href:{default:""},variant:{default:"solid"}}),addCommands:()=>({addButtonToGroup:e=>t=>{let{state:n,chain:l}=t,a=n.doc.nodeAt(e);if(!a)return!1;let i=e+a.nodeSize-1;return l().insertContentAt(i,{...(0,o.e)().button,attrs:{variant:C.e6[a.type.name].defaultVariant,href:""}}).selectInsertedNode().run(),!0},handleButtonDelete:e=>t=>{let{dispatch:n,state:o,chain:i}=t;if(!n)return!0;let s=(0,l.Kk)(e=>"button"===e.type.name)(o.selection);if(!s||e&&!(0,r.bR)(s.node))return!1;let d=(0,l.Kk)(e=>"buttonGroup"===e.type.name)(o.selection);return d&&1===d.node.childCount?i().deleteNode("buttonGroup").command(e=>{let{tr:t}=e,n=(0,a.E)(t.doc.resolve(d.pos));return n&&t.setSelection(n),!0}).focus().run():i().deleteNode("button").command(e=>{let{tr:t}=e,n=(0,a.E)(t.doc.resolve(s.pos-1),-1);return n&&t.setSelection(n),!0}).focus().run(),!0}}),parseHTML:()=>[{tag:"button"}],renderHTML(e){let{HTMLAttributes:t}=e;return["button",(0,l.P1)(t),0]}})},51684:function(e,t,n){"use strict";n.d(t,{Ns:function(){return k},X0:function(){return w},mJ:function(){return x}});var l=n(52322),a=n(38035),o=n(32899),i=n(42946),r=n(49929),s=n(94523),d=n(5879),u=n(87254),c=n(2784),m=n(94090),f=n(4878),p=n(90507),g=n(93982),h=n(4030),b=n(13180),y=n(17630),v=n(36781);let k=e=>{let{node:t}=e,{horizontalAlign:n}=t.attrs,o=(0,f.TZ)(),i=o?"column":"row";return(0,l.jsx)(h.lO,{...e,children:(0,l.jsxs)(a.k,{w:"100%","data-selection-ring":"padded",borderRadius:"var(--box-border-radius)",direction:i,justify:(0,y.yg)(n)||"var(--flex-align)",sx:x(o),gap:"0.5em",children:[(0,l.jsx)(p.ms,{}),(0,l.jsx)(w,{...e,direction:i,maxButtons:v.YZ})]})})},x=e=>({"> [data-node-view-content]":{display:"contents","> [data-node-view-content-inner]":{display:"contents"}},"--button-width":e?"100%":"auto",".node-button":{width:"var(--button-width)",".button":{width:"100%"}},_hover:{".add-button":{opacity:1}}}),w=e=>{let{editor:t,getPos:n,decorations:f,node:p,direction:h,maxButtons:y,tooltip:v}=e,k=(0,m.CG)(g.Pw),x=(0,b.R)(f),w=!y||p.childCount{t.commands.addButtonToGroup(n())},[t,n]);return w&&k?(0,l.jsx)(a.k,{position:"relative",children:(0,l.jsx)(s.kH,{label:v||(0,l.jsx)(d.cC,{id:"xe7fzh"}),placement:"top",children:(0,l.jsx)(o.h,{icon:(0,l.jsx)(r.G,{icon:i.r8p}),"aria-label":u.ag._({id:"6oU9VZ"}),size:"xs",variant:"plain",isRound:!0,onClick:S,opacity:x&&k?.5:0,className:"add-button",transitionProperty:"opacity",transitionDuration:"normal",position:x?"static":"absolute",left:"column"===h?"50%":0,top:"50%",transform:x?void 0:"column"===h?"translateX(-50%)":"row-reverse"===h?"translateY(-50%) translateX(-100%)":"translateY(-50%)"})})}):null}},36781:function(e,t,n){"use strict";n.d(t,{Y0:function(){return r},YZ:function(){return i},e6:function(){return s}});var l=n(42946),a=n(54933),o=n(87254);let i=3,r=()=>[{name:o.ag._({id:"bjuYAW"}),key:"solid",icon:a.r9b},{name:o.ag._({id:"bCuf07"}),key:"outline",icon:l.r9b},{name:o.ag._({id:"1lWK8g"}),key:"link",icon:l.nNP}],s={buttonGroup:{alignEnabled:!0,variants:["solid","outline"],defaultVariant:"solid"},navbarButtons:{alignEnabled:!1,variants:["solid","outline"],defaultVariant:"solid"},navbarLinks:{alignEnabled:!0,variants:["link"],defaultVariant:"link"}}},31230:function(e,t,n){"use strict";n.d(t,{d:function(){return d}});var l=n(52322),a=n(25059),o=n(90507),i=n(4030),r=n(86353);let s=e=>(0,l.jsx)(i.lO,{...e,children:(0,l.jsx)("pre",{children:(0,l.jsx)(o.ms,{as:"code"})})}),d=a.ZP.extend({selectable:!1,isolating:!0,addNodeView:()=>(0,o.fW)(s,{update:r.E7})})},19283:function(e,t,n){"use strict";n.d(t,{a:function(){return l}});let l={UniqueAttribute:1e4,CardMention:1001,DocMention:1001,UserMention:1001,UndoInputRuleKeymap:1001,HorizontalAlign:1001,Collaboration:1e3,Highlight:150,FootnoteLabel:150,TextColor:150,Code:150,Link:140,SlashMenu:104,EmojiShortcuts:104,MentionSuggestionMenu:104,List:103,CardAccentLayoutItem:103,Table:102,Image:102,Gallery:102,CardLayoutItem:101,MediaPlaceholder:101,Layout:101,Footnote:101,Card:101,Toggle:101,SmartLayout:101,KeyMapOverride:100,GlobalDragHandle:99,CardIds:1,KeyBoardCatchall:1,UndoHistory:-100}},73528:function(e,t,n){"use strict";n.d(t,{aV:function(){return y},N:function(){return b},S3:function(){return v},Bx:function(){return k}});var l=n(72338),a=n(47577),o=n(96255),i=n(19283),r=n(2689),s=n.n(r),d=n(27191),u=n(52780),c=n(44368);let m=s()(10),f=["blockquote","card","sectionBreak"],p=(e,t)=>"numbered"===e.type.name||(0,c.y)(e)&&e.attrs.indent>t||e.isAtom||f.includes(e.type.name),g=e=>new d.Sy({key:new d.H$("ListPlugin"),props:{decorations:e=>{let{doc:t}=e,n=[],l=new Map,a=(e,t)=>{var n;return(null===(n=l.get(e))||void 0===n?void 0:n[t])||1},o=(e,t,n)=>{let a=l.get(e);try{a[t]=n}catch(e){console.error("(caught) [ListPlugin] setCounter error",e)}},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=l.get(e)||{};m.filter(e=>e>=t).forEach(e=>{n[e]=1}),l.set(e,n)},r=0;return t.descendants((e,t,s)=>{if((0,c.y)(e)&&e.firstChild){let l=e.firstChild.marks.find(e=>"textColor"===e.type.name);(null==l?void 0:l.attrs.variant)&&n.push(u.p.node(t,t+e.nodeSize,{"data-text-color":l.attrs.variant})),(null==l?void 0:l.attrs.hex)&&n.push(u.p.node(t,t+e.nodeSize,{style:"--text-color: ".concat(l.attrs.hex)}))}if(!s||(p(e,r)||i(s),"numbered"!==e.type.name))return;l.get(s)||i(s);let d=e.attrs.indent;r=d;let m=a(s,d);o(s,d,m+1),i(s,d+1),n.push(u.p.node(t,t+e.nodeSize,{},{listNumber:m}))}),0==n.length?u.EH.empty:u.EH.create(t,n)}}});var h=n(57336);let b=8,y=l.hj.create({name:"list",priority:i.a.List,addProseMirrorPlugins(){return[g(this.editor)]},addCommands:()=>({listToCards:()=>e=>{let{chain:t,state:n}=e,{selection:a,doc:i}=n,{from:r,to:s}=a,d=(0,l.b5)(i,{from:r,to:s},c.y),u=(0,l.Kk)(o.KH)(a);if(!d.length||!u)return!1;let m=u.pos+u.node.nodeSize,f=(0,h.OH)(d),p=(0,h.GV)(f);return t().insertContentAt(m,p).scrollIntoView().run(),!0},listToSmartLayout:e=>t=>{let{chain:n,state:a}=t,{selection:o,doc:i}=a,{from:r,to:s,$from:d,$to:u}=o,m=d.blockRange(u),f=(0,l.b5)(i,{from:r,to:s},c.y);if(!f.length||!m)return!1;let p=(0,h.OH)(f),g=(0,h.Pl)(p,e);return n().insertContentAt({from:m.start,to:m.end},g).selectInsertedNode().scrollIntoView().run(),!0},indent:e=>t=>{let{tr:n,dispatch:l,state:a}=t;if(!l)return!0;let o=!1;return n.selection.ranges.forEach(t=>{let l=t.$from.pos,i=t.$to.pos;a.doc.nodesBetween(l,i,(t,l)=>{let{indent:a}=t.attrs,i=Object.values(c.W);i.includes(t.type.name)&&a+e>=0&&a+e<=b&&(n.setNodeMarkup(l,void 0,{...t.attrs,indent:a+e}),o=!0)})}),o},setListItems:e=>{let{variant:t}=e;return e=>{let{tr:n,dispatch:l,state:a}=e;return!l||(n.selection.ranges.forEach(e=>{let l=e.$from.pos,o=e.$to.pos;a.doc.nodesBetween(l,o,(e,l)=>{let o=Object.values(c.W);o.includes(e.type.name)?n.setNodeMarkup(l,a.schema.nodes[t],e.attrs):e.isTextblock&&n.setNodeMarkup(l,a.schema.nodes[t],{...e.attrs,indent:0})})}),!0)}},toggleListItems:e=>{let{variant:t}=e;return e=>{let{commands:n,editor:l}=e;return v(l,t)?n.setNode("paragraph"):n.setListItems({variant:t})}}}),addKeyboardShortcuts:()=>({Enter:e=>{let t,n,{editor:l}=e;for(let e of Object.values(c.W))if(l.isActive(e)){n=l.getAttributes(e),t=e;break}if(void 0===t)return!1;let{from:a,$from:o,empty:i}=l.state.selection;return!!i&&(0==o.parent.content.size?n.indent>0?l.commands.indent(-1):l.commands.setNode("paragraph",n):0===o.parentOffset?(n.checked&&(n.checked=!1),l.chain().insertContentAt(a-1,{type:t,attrs:n}).selectInsertedNode().run()):o.parentOffset===o.parent.content.size&&(n.checked&&(n.checked=!1),l.chain().insertContentAt(a+1,{type:t,attrs:n}).selectInsertedNode().run()))},Backspace:e=>{let t,n,{editor:l}=e;for(let e of Object.values(c.W))if(l.isActive(e)){n=l.getAttributes(e),t=e;break}if(void 0===t)return!1;let{$from:a,empty:o}=l.state.selection;return!!o&&0==a.parentOffset&&l.commands.setNode("paragraph",n)},Tab:e=>{let{editor:t}=e;return t.commands.indent(1)},"Shift-Tab":e=>{let{editor:t}=e;return t.commands.indent(-1)},"Mod-]":e=>{let{editor:t}=e;return t.commands.indent(1)},"Mod-[":e=>{let{editor:t}=e;return t.commands.indent(-1)}})}),v=(e,t)=>{let n=Object.values(c.W).filter(e=>e!==t);return e.isActive(t)&&!n.some(t=>e.isActive(t))},k=(e,t)=>(0,a.Wy)(e,[t.nodes.heading,t.nodes.title])},44368:function(e,t,n){"use strict";var l,a;n.d(t,{W:function(){return l},y:function(){return o}}),(a=l||(l={})).Todo="todo",a.Bullet="bullet",a.Numbered="numbered";let o=e=>["todo","bullet","numbered"].includes(e.type.name)},57336:function(e,t,n){"use strict";n.d(t,{Ah:function(){return m},GV:function(){return u},OH:function(){return s},Pl:function(){return c}});var l=n(54004),a=n.n(l),o=n(44368),i=n(11093),r=n(85818);let s=e=>{let t=[];for(let n=0;ne.node.attrs.indent>a),i=s(o);t.push({node:l.node,pos:l.pos,children:i}),n+=o.length}return t},d=(e,t,n)=>{let l=[];for(let a=t+1;ae.map(e=>{let t=u(e.children);return{type:"card",content:[{type:"heading",attrs:{level:Math.min(e.node.attrs.indent+1,r.MQ)},content:[{type:"text",text:e.node.textContent}]},...t]}}),c=(e,t)=>({type:"smartLayout",attrs:{variantKey:t},content:e.map(e=>{let t=[{type:"heading",attrs:{level:4},content:a()(e.node.content.toJSON())}];return t.push(...e.children.map(e=>{let t=a()(e.node.toJSON());return t.attrs.indent-=1,t})),{type:"smartLayoutCell",content:t}})}),m=e=>(0,i.pm)(e,o.y)},29097:function(e,t,n){"use strict";n.d(t,{cx:function(){return eh},Yn:function(){return q},fu:function(){return eu},CG:function(){return ec},XX:function(){return em},v0:function(){return H}});var l=n(72338),a=n(99787),o=n(13833),i=n(4889),r=n(90507),s=n(11093),d=n(38372),u=n(86353),c=n(98168),m=n(80236),f=n(66855),p=n(52322),g=n(28535),h=n(38035),b=n(73200),y=n(7165),v=n(14274),k=n(94090),x=n(98285),w=n(4878),S=n(93982),C=n(20929),z=n(13653),A=n(27835),I=n(28390),j=n(50019),F=n(2784),B=n(96221),M=n(580),E=n(66028),_=n(35477),O=n(85573),P=n(75768),T=n(32899),R=n(42946),N=n(49929),L=n(94523),D=n(5879),W=n(87254);let U=e=>{let{frameRef:t,node:n,isStealth:l=!1,isDark:a}=e,o=(0,f.iJ)(n.attrs);return(0,p.jsxs)(h.k,{direction:"row",background:a?"gray.800":"gray.50",align:"center",borderBottom:"1px solid",borderColor:a?"gray.600":"gray.200",w:"100%",p:1,zIndex:2,position:l?"absolute":"relative",transitionProperty:"common",transitionDuration:"normal",opacity:l?0:1,_hover:{opacity:1},children:[(0,p.jsx)(O.I,{size:"xs",value:o,border:"0",noOfLines:1,color:a?"gray.200":"gray.600",pointerEvents:"none",readOnly:!0}),(0,p.jsxs)(P.h,{size:"xs",spacing:1,variant:"ghost",colorScheme:"gray",ml:2,children:[(0,p.jsx)(L.kH,{label:(0,p.jsx)(D.cC,{id:"HpK/8d"}),placement:"top",children:(0,p.jsx)(T.h,{isRound:!0,"aria-label":W.ag._({id:"HpK/8d"}),icon:(0,p.jsx)(N.G,{icon:R.XSV}),onClick:()=>{if(!t.current)return;let e=t.current.src;t.current.src="about:blank",setTimeout(()=>{t.current&&(t.current.src=e)},50)}})}),(0,p.jsx)(L.kH,{label:(0,p.jsx)(D.cC,{id:"Alx2/L"}),placement:"top",children:(0,p.jsx)(T.h,{isRound:!0,"aria-label":W.ag._({id:"Alx2/L"}),icon:(0,p.jsx)(N.G,{icon:R.gJF}),onClick:()=>{window.open(o,"_blank")}})})]})]})},H=e=>e&&a.zX[e]?a.zX[e]:a.Hw,G=e=>"".concat(v.v.EMBED_PROXY_URL,"?alt_url=").concat(e),q=e=>{let{isZoomed:t,useStealthNav:n,...l}=e,{node:a}=l,o=(0,F.useRef)(null),{colorMode:i}=(0,j.If)(),r="dark"===i,s=(0,w.TZ)(),{url:d,proxy:u,source:c,embed:m}=a.attrs,f=H(c),g=f.rewriteEmbedUrl&&d?f.rewriteEmbedUrl(d):d,y=u?G(g):g||"about:blank",{isUntrusted:v}=(0,B.x)(y),k=f.preferHtml&&(null==m?void 0:m.html);return k?(0,p.jsx)(_.$,{html:m.html,w:t?"100%":void 0,onClick:t?E.UW:void 0,...f.minWidth?{minW:"min(".concat(f.minWidth,", 100vw)"),left:"50%",transform:"translateX(-50%)"}:void 0}):v?(0,p.jsx)(h.k,{h:"100%",w:"100%",align:"center",justify:"center",children:"unknown embed"}):(0,p.jsxs)(h.k,{direction:"column",h:"100%",w:"100%",maxW:"var(--media-maxW)",maxH:"var(--media-maxH)",borderRadius:t?"lg":"var(--box-border-radius)",border:"1px solid",borderColor:r?"gray.600":"gray.200",overflow:"hidden",position:"relative","data-selection-ring":"inside","data-selection-background":!0,className:(0,b.cx)("embed-viewer"),onClick:t?E.UW:void 0,children:[(0,p.jsx)(U,{...l,frameRef:o,isDark:r,isStealth:n}),!t&&(0,p.jsx)(I.Y$,{...l,frameRef:o}),(0,p.jsx)(M.A,{initialUrl:y,frameRef:o,iframeOptions:f.iframeOptions,css:{aspectRatio:s?"1 / 1.618":"1.618 / 1"},flex:"1"})]})};var V=n(11082),K=n(29117),Y=n(77533),$=n(90439),J=n(87205),X=n(15425),Z=n(17993),Q=n(75009),ee=n(50788);let et=e=>{var t;let{node:n,disableOpenButton:l=!1}=e,{meta:a,source:o}=n.attrs,i=(0,f.iJ)(n.attrs),r=H(o),{interceptLinkClick:s}=(0,B.x)(i),d=(0,ee.C7)(),u="embed.custom"===o||"video.custom"===o,c=(null==a?void 0:a.icon)||(null===(t=r.image)||void 0===t?void 0:t.src),m=(null==a?void 0:a.site)||(u?(0,X.Gr)(i):r.label());return(0,p.jsxs)(Z.g,{spacing:"0.25em",align:"flex-start",color:"black",w:"100%",fontSize:"0.9em",children:[(0,p.jsxs)(K.U,{align:"center",spacing:"0.25em",w:"100%",color:"var(--body-color-muted)",children:[(0,p.jsx)(en,{icon:c}),(0,p.jsx)(Y.x,{noOfLines:1,flex:1,"data-testid":"site-name",fontSize:"0.9em",children:m}),r.downloadable&&i&&(0,p.jsx)(L.kH,{label:(0,p.jsx)(D.cC,{id:"mzI/c+"}),placement:"top",children:(0,p.jsx)(T.h,{"aria-label":W.ag._({id:"mzI/c+"}),icon:(0,p.jsx)(N.G,{icon:R.q7m}),onClick:()=>{let e=document.createElement("a");e.href=i,e.target="_blank",e.download=(null==a?void 0:a.title)||"file.pdf",e.dispatchEvent(new MouseEvent("click"))},variant:"unstyled",sx:x.un,fontSize:"0.7em",zIndex:2,onMouseDown:E.br})}),!l&&i&&(0,p.jsx)(L.kH,{label:(0,p.jsx)(D.cC,{id:"Alx2/L"}),placement:"top",children:(0,p.jsx)(T.h,{"aria-label":W.ag._({id:"Alx2/L"}),icon:(0,p.jsx)(N.G,{icon:R.gJF}),onClick:e=>{(d||!s(e))&&window.open(i,"_blank","noopener")},variant:"unstyled",zIndex:2,fontSize:"0.7em",onMouseDown:E.br,sx:x.un})})]}),(0,p.jsx)(Y.x,{fontWeight:"bold",noOfLines:1,maxW:"90%","data-testid":"title",color:"var(--body-color)",wordBreak:"break-all",children:null==a?void 0:a.title}),(null==a?void 0:a.description)&&(0,p.jsx)(Y.x,{noOfLines:[2,3],whiteSpace:"normal",maxW:"100%",color:"var(--body-color-muted)",children:a.description})]})},en=e=>{let{icon:t,...n}=e;return t?(0,p.jsx)(Q.E,{src:t,h:"1.5em",borderRadius:"sm",...n}):(0,p.jsx)(Y.x,{as:"span",...n,children:(0,p.jsx)(N.G,{icon:R.m6E})})};var el=n(54933),ea=n(19034),eo=n.n(ea),ei=n(16494),er=n(28553);let es=e=>{let{node:t}=e,{thumbnail:n,meta:l,source:a}=t.attrs,o=(null==n?void 0:n.src)||(null==n?void 0:n.tempUrl);return(null==n?void 0:n.showPlaceholder)?(0,p.jsx)(er.k3,{hasUploadError:n.uploadStatus===ei.D.Error,isUploading:n.uploadStatus===ei.D.Uploading,width:"100%",borderRadius:"none",icon:"embed.pdf"===a?R.gSj:R.m6E}):o?(0,p.jsxs)(h.k,{flex:1,color:"white",position:"relative",children:[(0,p.jsx)(g.xu,{flex:1,overflow:"hidden",bgColor:"white",children:(0,p.jsx)(Q.E,{src:o,position:"absolute",objectFit:"cover",width:"100%",height:"100%"})}),(null==n?void 0:n.uploadStatus)===ei.D.Uploading&&(0,p.jsx)(er.HI,{}),(null==l?void 0:l.duration)&&(0,p.jsxs)(K.U,{fontSize:"0.75em",backgroundColor:"blackAlpha.700",color:"white",position:"absolute",right:0,bottom:0,py:1,px:2,"data-thumbnail-hidden":!0,children:[(0,p.jsx)(N.G,{icon:el.zc}),(0,p.jsx)(Y.x,{children:function(e){let t=eo().duration(e,"seconds"),n=t.hours().toString().padStart(2,"0"),l=t.minutes().toString().padStart(2,"0"),a=t.seconds().toString().padStart(2,"0");return t>=eo().duration(1,"hour")?n+":"+l+":"+a:l+":"+a}(l.duration)})]})]}):null},ed=e=>e&&(!e.height||e.height>=50)&&(!e.width||e.width>=50),eu=e=>{let{node:t}=e,{thumbnail:n,sourceUrl:l}=t.attrs;return(0,p.jsxs)(h.k,{overflow:"hidden",direction:"row",align:"stretch",wrap:"wrap",contentEditable:!1,transitionProperty:"common",transitionDuration:"normal",position:"relative",borderRadius:"inherit","data-selection-ring":"inside","data-selection-background":!0,fontFamily:"Inter, sans-serif","data-drag-handle":!0,h:"100%",maxW:"var(--media-maxW)",maxH:"var(--media-maxH)",children:[n&&ed(n)&&(0,p.jsx)(h.k,{flex:1,minH:"10em",minW:"min(10em, 100%)",maxW:"100%",maxH:"var(--media-maxH)",children:(0,p.jsx)(es,{node:t})}),(0,p.jsx)(h.k,{flex:1.618,minW:"min(16em, 100%)",maxW:"100%",p:"1em",position:"relative",children:(0,p.jsx)(et,{node:t})}),$.cx&&l&&(0,p.jsx)(V.r,{href:l,h:"100%",w:"100%",position:"absolute",zIndex:"-10","data-pdf-link":!0})]})},ec=e=>{var t;let{node:n}=e,{thumbnail:l,meta:a,sourceUrl:o,source:i}=n.attrs,r=H(i);return(0,p.jsxs)(h.k,{minW:"var(--media-maxH)",w:"100%",css:{aspectRatio:"16 / 9"},maxW:"100%",maxH:"var(--media-maxH)",h:"100%",align:"stretch",boxSizing:"content-box",overflow:"hidden","data-selection-ring":"inside",position:"relative",bg:"gray.100",children:[l&&ed(l)?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(es,{node:n}),(0,p.jsxs)(K.U,{backgroundColor:"whiteAlpha.700",backdropFilter:"blur(8px)",py:1,px:2,position:"absolute",bottom:"0",fontSize:"0.75em","data-thumbnail-hidden":!0,children:[(0,p.jsx)(en,{icon:(null==a?void 0:a.icon)||(null===(t=r.image)||void 0===t?void 0:t.src)}),o&&(0,p.jsx)(Y.x,{color:"black",noOfLines:1,children:(null==a?void 0:a.title)||(null==a?void 0:a.site)||(0,X.Gr)(o)})]})]}):(0,p.jsx)(h.k,{align:"flex-start",flex:"1",p:4,children:(0,p.jsx)(et,{node:n,disableOpenButton:!0})}),v.v.GAMMA_PUPPETEER_SERVICE&&o&&(0,p.jsx)(V.r,{href:o,h:"100%",w:"100%",position:"absolute",zIndex:"-10","data-pdf-link":!0})]})},em=e=>{var t;let{node:n}=e,{meta:l,source:a,thumbnail:o}=n.attrs,i=H(a),r=(null==o?void 0:o.src)||(null==o?void 0:o.tempUrl),s=r&&(0,J.SN)(r,J.Iv);return(0,p.jsx)(h.k,{minW:"var(--media-maxH)",w:"100%",css:{aspectRatio:"16 / 9"},bg:"var(--body-color-muted)",align:"center",justify:"center",bgImage:(0,J.Ly)(s),backgroundSize:"cover",children:(0,p.jsx)(en,{icon:(null==l?void 0:l.icon)||(null===(t=i.image)||void 0===t?void 0:t.src),fontSize:"7.5em"})})},ef=(0,y.E)(g.xu),ep=(0,y.E)(h.k),eg=e=>{let{node:t,editor:n,decorations:l}=e,{source:a,embed:o,displayStyle:i,id:r,sourceUrl:s}=t.attrs,d=H(a),{isZoomed:u,enterZoom:c,exitZoom:m}=(0,I.d8)(r),f="inline"===i&&d.preferHtml&&(null==o?void 0:o.html),h=(0,A.Ah)(e),y=(0,w.TZ)(),j=!v.v.GAMMA_PUPPETEER_SERVICE&&(f||"inline"===i)&&!h&&!(y&&d.forcePreviewOnMobile),F=(0,z.Od)(l)||!n.view.hasFocus(),B=(0,k.CG)(S.hN),M=!h&&!n.isThumbnail;return(0,p.jsxs)(C.l,{...e,children:[(0,p.jsxs)(ef,{layoutDependency:u,layoutId:n.isThumbnail?void 0:(0,I.sB)(r),transition:I.yq,h:"100%",className:(0,b.cx)("embed-preview",!f&&!(d.inlineInteractive&&j)&&x.wY),"data-export-as-image":!0,"data-export-link":s,position:"relative",overflow:f&&d.minWidth?"visible":"hidden",children:[j&&n.isThumbnail?(0,p.jsx)(em,{...e}):h?(0,p.jsx)(ec,{...e}):j?(0,p.jsx)(q,{...e,useStealthNav:!0}):(0,p.jsx)(eu,{...e}),d.inlineInteractive&&!y&&j?(0,p.jsx)(g.xu,{position:"absolute",inset:0,zIndex:1,pointerEvents:B&&!F&&"inline"===i?"auto":"none",cursor:"default"}):d.inlineInteractive&&y&&j?(0,p.jsx)(p.Fragment,{}):(0,p.jsx)(I.cp,{enterZoom:c})]}),M&&(0,p.jsx)(I.aF,{isZoomed:u,exitZoom:m,editor:n,children:(0,p.jsx)(ep,{layoutDependency:u,layoutId:(0,I.sB)(r),transition:I.yq,h:"100%",w:"100%",direction:"column",justify:"center",align:"center",children:(0,p.jsx)(q,{...e,isZoomed:!0})})})]})},eh=l.NB.create({name:"embed",group:"block media",atom:!0,draggable:!0,selectable:!0,expandable:!0,addNodeView:()=>(0,r.fW)(eg,{update:u.E7}),addAttributes:()=>({id:(0,i.b)(m.G),url:{},source:{default:a.Hw.key},thumbnail:{...(0,s.sw)("thumbnail")},embed:{...(0,s.sw)("embed")},meta:{...(0,s.sw)("meta")},proxy:{},sourceUrl:{},displayStyle:{default:"preview"},fullWidthBlock:{default:!1}}),parseHTML(){return[{tag:"div[class=embed]"},{tag:"iframe[bookmark]",getAttrs:(0,d.xF)(this.storage)}]},renderHTML(e){let{HTMLAttributes:t,node:n}=e;return["div",(0,l.P1)(t,{class:"embed"}),["a",{href:(0,f.iJ)(n),target:"_blank"},(0,f.k7)(n)]]},addStorage:d.gk,renderHTMLforAI(e){let{node:t}=e;return["iframe",{bookmark:(0,d.ml)(this.storage,t)}]},addCommands:()=>({replaceEmbedsById:(e,t)=>n=>{let{editor:a,chain:o}=n,i=(0,l.N2)(a.state.doc,t=>"embed"===t.type.name&&t.attrs.id===e),r=o();return i.forEach(e=>{let{pos:n,node:l}=e;r.insertContentAt({from:n,to:n+l.nodeSize},t,{updateSelection:!1})}),r.run(),!0},updateEmbedsById:(e,t)=>n=>{let{editor:a,chain:o}=n,i=(0,l.N2)(a.state.doc,t=>("embed"===t.type.name||"video"===t.type.name)&&t.attrs.id===e),r=o();return i.forEach(e=>{let{pos:n}=e;r.updateAttributesAtPos(n,{thumbnail:t.thumbnail})}),r.run(),!0},insertEmbedAndFetchMetadata:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"preview",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return l=>{let{commands:a,editor:i}=l,r=(0,m.G)();a.insertContent({type:"embed",attrs:{id:r,url:e,sourceUrl:e,displayStyle:t,meta:{title:"Loading..."}}},{updateSelection:!1});let s=!1;return(0,o.ft)(e,e=>{if(s){i.commands.updateEmbedsById(r,e);return}let n=c.ah[e.source];i.commands.replaceEmbedsById(r,{type:(null==n?void 0:n.nodeName)||"embed",attrs:{...e,id:r},displayStyle:(null!=t?t:"video"===n.nodeName)?"inline":"preview"}),s=!0}).catch(t=>{console.warn("(caught) insertEmbedAndFetchMetadata error fetching url",t,e),n&&i.commands.replaceEmbedsById(r,e)}),!0}}})})},80759:function(e,t,n){"use strict";n.d(t,{r:function(){return $}});var l=n(72338),a=n(5596),o=n(90507),i=n(19283),r=n(86353),s=n(27191),d=n(52780),u=n(14657),c=n(66855),m=n(46188),f=n(27835);let p="gallery-prevent-flex";class g{constructor(e=null){this.dragging=e}}let h=new s.H$("galleryPlugin"),b=e=>new s.Sy({key:h,state:{init:()=>new g,apply:(e,t)=>t},props:{handleDOMEvents:{drop(e){var t;let n=null===(t=e.dragging)||void 0===t?void 0:t.annotations,l=h.getState(e.state);if(!l)return!1;l.dragging=n}},decorations:e=>{let{doc:t}=e,n=[];return t.descendants((e,t,l)=>{if((0,f.N5)(e))n.push(d.p.node(t,t+e.nodeSize,{},{children:e.content}));else if((0,f.N5)(l)){var a;let l="image"===e.type.name&&(null===(a=e.attrs.resize)||void 0===a?void 0:a.clipType)==="circle";n.push(d.p.node(t,t+e.nodeSize,{class:l?p:""},{inGallery:!0}))}}),d.EH.create(t,n)},handlePaste:(e,t,n)=>{let{selection:l,schema:a}=e.state,o=l instanceof s.qv&&(0,f.N5)(l.node);if(!o)return!1;if((0,m.cg)(a,n,t)){let t=e.state.tr.setSelection(s.Bs.create(e.state.doc,l.to-1));e.dispatch(t)}return!1},handleDrop:(t,n,l)=>{let a;let o=h.getState(t.state),i=null==o?void 0:o.dragging;o&&(o.dragging=null);try{if(!(a=(0,m.yT)(t,n,l,!1)))return!1}catch(e){return console.error("(caught) [GalleryPlugin] handleDrop checkGalleryDropTarget error:",e),!1}try{let{selection:n}=t.state,o=!n.empty,r=l.content.toJSON(),{pos:s,side:d,node:m}=a;if(m&&(0,f.N5)(m)){let t="left"===d?s:s+1;e.chain().insertContentAt({from:t,to:t},r,{updateSelection:!1}).command(n=>{let{tr:l}=n;if(o&&l.deleteSelection(),i){let n=e.state.tr;n.deleteSelection(),l.setMeta("annotationEvent",{type:"drop",dragging:i,droppedBlockPos:n.mapping.map(t)})}return!0}).focusMapped(t).run()}else if(m&&(0,c.fP)(m)){let n="left"===d?[...r,m.toJSON()]:[m.toJSON(),...r];e.chain().insertContentAt({from:s,to:s+m.nodeSize},{type:"gallery",content:n},{updateSelection:!1}).command(n=>{let{tr:l}=n;if(o&&l.deleteSelection(),i){let n=(0,u.mS)({side:d,view:t,tr:l,dragging:i,dropPos:s,dropNode:m});requestAnimationFrame(()=>{var t,l;null===(t=(l=e.commands).moveAnnotations)||void 0===t||t.call(l,n)})}return!0}).run()}}catch(e){console.error("(caught) [GalleryPlugin] handleDrop error:",e)}return!0}}});var y=n(52322),v=n(38035),k=n(17993),x=n(62614),w=n(77533),S=n(32899),C=n(82655),z=n(42946),A=n(49929),I=n(94523),j=n(5879),F=n(87254),B=n(7165),M=n(2784),E=n(94090),_=n(29318),O=n(29560),P=n(4878),T=n(24992),R=n(93982),N=n(4030),L=n(86189),D=n(17630),W=n(29097),U=n(48697),H=n(78820),G=n(94567),q=n(28390),V=n(72318);let K=(0,B.E)(v.k),Y=e=>{let{node:t,editor:n,getPos:l}=e,a=(0,P.TZ)(),i=(0,m.Dz)(e),r=0===i.length,s=(0,_.Yy)(),d=r?V.vf:a?V.iC:t.attrs.thumbHeight||V.vf,u=(0,D.yg)(t.attrs.horizontalAlign||"center"),{isZoomed:c,isZoomComplete:f,exitZoom:g,zoomedId:h,setZoomedId:b}=(0,q.RM)(i.map(e=>e.attrs.id)),B=(0,E.CG)(R.hN),Y=(0,M.useRef)(null),$=(0,T.Z)(Y,e=>(0,m.nF)(n.view,e)),J=(0,M.useCallback)(e=>{try{var t;e.stopPropagation(),e.preventDefault();let a=l(),o=n.state.doc.nodeAt(a);if(!o)return;let i=null===(t=o.lastChild)||void 0===t?void 0:t.attrs.source,r=a+(null==o?void 0:o.nodeSize)-1;n.chain().insertContentAt(r,{type:"mediaPlaceholder",attrs:{source:i||"image.custom"}}).run(),setTimeout(()=>{n.commands.focus(),n.commands.setNodeSelection(r),(0,O.T)()})}catch(e){console.error("(caught) [GalleryView] addImage",e)}},[l,n]),X=(0,M.useCallback)(e=>{var t;n.isEditable&&(null===(t=e.target.closest(".gallery, .block"))||void 0===t?void 0:t.classList.contains("gallery"))&&n.commands.selectNodeAtPos(l())},[n,l]);return(0,y.jsxs)(N.lO,{...e,children:[(0,y.jsxs)(v.k,{className:"gallery",cursor:"default",onClick:X,ref:Y,align:u,direction:"column",position:"relative","data-selection-ring":!0,"data-selection-background":!0,...r?$:{},css:{"--media-maxH":"".concat(d,"em"),"--media-maxW":"100%"},sx:{"[data-node-view-content-inner=gallery]":{display:"flex",flexDirection:"row",flexWrap:"wrap",alignItems:"center","@media print":{justifyContent:"center"},gap:"".concat(V.Nj,"em"),".block":{h:"".concat(d,"em"),flex:"1 1 auto","@media print":{flex:"unset !important"},["&.".concat(p)]:{flex:"0 0 auto"},my:0,transitionProperty:"filter",transitionDuration:"normal",_hover:{":not(.block-mediaPlaceholder)":{filter:"brightness(0.9)"}},"[data-node-view-wrapper]":{h:"100%"}},_after:i.length<3?{flex:"10 10 auto",backgroundColor:"gray.100",width:"1px",content:'""'}:void 0},".block-gallery.is-focused & .placeholder":{bg:s?H.Z.DARK_GALLERY_BG:H.Z.LIGHT_GALLERY_BG},".placeholder":{minW:"12em"}},children:[r?(0,y.jsxs)(k.g,{spacing:3,h:"".concat(d,"em"),justify:"center",contentEditable:!1,color:s?H.Z.DARK_COLOR:H.Z.LIGHT_COLOR,className:"gallery-placeholder","data-testid":"gallery-placeholder",userSelect:"none",children:[(0,y.jsx)(A.G,{size:"2x",icon:C.l9f}),B?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(x.z,{size:"xs",onClick:J,children:"Add images"})," ",(0,y.jsx)(w.x,{color:s?H.Z.DARK_ICON_COLOR:H.Z.LIGHT_ICON_COLOR,fontSize:"sm",textAlign:"center",children:(0,y.jsx)(j.cC,{id:"oyPIji"})})]}):null]}):(0,y.jsx)(o.ms,{}),B&&!r&&(0,y.jsx)(v.k,{position:"absolute",bottom:"0",h:"".concat(d,"em"),align:"center",w:6,right:-3,className:"add-image",opacity:"0",transitionProperty:"opacity",transitionDuration:"normal",children:(0,y.jsx)(I.kH,{label:(0,y.jsx)(j.cC,{id:"P5MuiB"}),placement:"top",children:(0,y.jsx)(S.h,{icon:(0,y.jsx)(A.G,{icon:z.r8p}),"aria-label":F.ag._({id:"P5MuiB"}),position:"absolute",size:"xs",variant:"plain",isRound:!0,onClick:J})})}),(0,y.jsx)(L.A,{...e,label:F.ag._({id:"wnA/4R"})})]}),(0,y.jsx)(q.EW,{isZoomed:c,isZoomComplete:f,exitZoom:g,zoomedId:h,setZoomedId:b,editor:n,children:i.filter(e=>e.attrs.id).map(e=>{let{id:t}=e.attrs,l=e.type.name;return{id:t,thumbnail:"image"===l?(0,y.jsx)(U.Ri,{imageAttrs:e.attrs,objectFit:"cover",isThumbnail:!0}):(0,y.jsx)(W.CG,{node:e}),full:(0,y.jsx)(v.k,{justify:"center",align:"center",h:"100%",w:"100%",children:"image"===l?(0,y.jsx)(U.Ri,{isZoomed:!0,imageAttrs:e.attrs}):"video"===l?(0,y.jsx)(K,{width:"var(--media-maxW)",height:"var(--media-maxH)",direction:"column",align:"center",justify:"center",children:(0,y.jsx)(G.Y7,{isZoomed:!0,node:e,decorations:[],editor:n})}):(0,y.jsx)(K,{h:"100%",w:"100%",direction:"column",justify:"center",align:"center",children:(0,y.jsx)(W.Yn,{isZoomed:!0,node:e,decorations:[],editor:n})})})}})})]})},$=l.NB.create({name:"gallery",group:"cardBlock layoutBlock",content:"media*",isolating:!0,draggable:!0,selectable:!0,priority:i.a.Gallery,containerHandle:!0,expandable:!0,addNodeView:()=>(0,o.fW)(Y,{update:r.E7,ignoreMutation:a.j}),addAttributes:()=>({thumbHeight:{},fullWidthBlock:{default:!1}}),addProseMirrorPlugins(){return[b(this.editor)]},parseHTML:()=>[{tag:"div[class=gallery]"},{tag:"gallery"}],renderHTMLforAI(e){let{node:t}=e;return["gallery",{thumbHeight:t.attrs.thumbHeight},0]},renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,l.P1)(t,{class:"gallery"}),0]}})},72318:function(e,t,n){"use strict";n.d(t,{Nj:function(){return l},iC:function(){return o},vf:function(){return a}});let l=.8,a=12,o=8},27835:function(e,t,n){"use strict";n.d(t,{Ah:function(){return l.Ah},N5:function(){return l.N5},rR:function(){return l.rR},u5:function(){return l.u5}});var l=n(46188);n(80759)},46188:function(e,t,n){"use strict";n.d(t,{Ah:function(){return h},Dz:function(){return b},N5:function(){return f},cg:function(){return w},nF:function(){return x},rR:function(){return y},u5:function(){return g},yT:function(){return v}});var l=n(72338),a=n(30764);n(2784);var o=n(69747),i=n(14647),r=n(11093),s=n(14657),d=n(96255),u=n(25819),c=n(15636),m=n(66855);let f=e=>"gallery"===e.type.name,p=e=>(0,l.qv)(e,f),g=e=>!!p(e),h=e=>{let{decorations:t}=e;return t.some(e=>e.spec.inGallery)},b=e=>{var t;let{decorations:n}=e,l=null===(t=n.find(e=>e.spec.children))||void 0===t?void 0:t.spec.children;return l?(0,r.Jn)(l):[]},y=e=>{let t=(0,s.bg)(e.$from);t&&!(0,d.KH)(t.node)?o.pw.emit(o.TI.CREATE_COMMENT_FROM_SELECTION,{selectionPos:e.from,parentPos:t.pos,text:(0,i.ho)(e.node)}):o.pw.emit(o.TI.CREATE_COMMENT_FROM_SELECTION,{selectionPos:e.from,parentPos:e.from,text:(0,i.ho)(e.node)})},v=(e,t,n,l)=>{let a,o;if(n&&!k(n,e.state.schema))return null;let i=e.posAtCoords({left:t.clientX,top:t.clientY});if(!i)return null;let{doc:s}=e.state,{pos:d}=i,u=s.resolve(d),c=p(u);if(c&&c.node.childCount>0)d=i.pos,(a=(0,r.Fu)(d,e))||d!=c.pos+c.node.nodeSize-1||(d-=1,a=(0,r.Fu)(d,e)),o=c.node;else{d=i.inside;try{o=s.resolve(d).nodeAfter}catch(e){return null}if(!o||!(0,m.fP)(o)||o==(null==n?void 0:n.content.firstChild)||l)return null;let t=u.parent;if(t&&!S(e.state.schema,t))return null;a=(0,r.Fu)(d,e)}if(!a)return null;let f=t.clientX-a.left,g=a.right-t.clientX,h=f>g?"right":"left";return("left"==h?f<0:g<0)&&!c?null:{pos:d,side:h,rect:a,node:o}},k=(e,t)=>e.content.size>0&&t.nodes.gallery.validContent(e.content),x=(e,t)=>{var n;let l=null===(n=e.dragging)||void 0===n?void 0:n.slice;if(!l){let e=[...t.dataTransfer.items];return e.length>0&&e.every(e=>e.type.startsWith("image/"))}return k(l,e.state.schema)},w=(e,t,n)=>{let l=(0,c.bC)(n,t);return(0,u.i1)(t)||k(t,e)||l&&l.length>0},S=(e,t)=>{let n=e.nodes[t.type.name];return!!n&&n.validContent(a.HY.fromJSON(e,[{type:"gallery",content:[]}]))}},35477:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var l=n(52322),a=n(28535);let o=e=>{let{html:t,...n}=e;return(0,l.jsx)(a.xu,{position:"relative",role:"group",className:"html-embed-viewer","data-selection-ring":"inside","data-selection-background":!0,borderRadius:"var(--box-border-radius)",contentEditable:!1,dangerouslySetInnerHTML:{__html:t},...n})}},12832:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var l=n(52322),a=n(28535),o=n(42822),i=n(38035),r=n(82655),s=n(2784),d=n(94804),u=n(16494),c=n(94090),m=n(29318),f=n(29560),p=n(93982),g=n(87205),h=n(22569),b=n(98168),y=n(72975),v=n(28553),k=n(82533),x=n(66855);let w=e=>{var t,n,w;let{image:S,editor:C,getPos:z,imageShape:A,imageSx:I,node:j}=e,F=(0,k.q)(C,z),B=C.state.selection.from===z(),M=(0,x.zd)((null==S?void 0:S.src)||(null==S?void 0:S.tempUrl)),E=(0,m.Yy)(),_=!S||S.showPlaceholder||!S.src&&!S.tempUrl,O=null!==(w=S&&(null===(t=S.loadImageParams)||void 0===t?void 0:t.provider))&&void 0!==w?w:void 0,P=S&&"queued"===S.loadImageStatus&&!C.isThumbnail,{src:T,tempUrl:R,uploadStatus:N,meta:L}=S||{},D=(0,c.CG)(p.hN),{setMediaDrawerSourceKeyAction:W,currentMediaDrawerSourceKey:U}=(0,k.j)(),H=j.attrs.source,G=T&&(0,g.SN)(T,C.isThumbnail?g.Iv:C.isSiteNavbarEditor?g.gJ:{width:1e3,height:1e3},L),q=(0,g.Ly)(G,G?void 0:R),V=(0,h.x_)(S),K={backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundImage:M?void 0:q,backgroundPosition:V,width:"100%",height:"100%",borderRadius:"circle"!==A||M?"var(--box-border-radius)":"full",transitionProperty:"border-radius",transitionDuration:"normal",...I},Y=(0,s.useCallback)(()=>{W((null==S?void 0:S.source)||U),(0,f.T)()},[W,S,U]),$=(0,s.useCallback)(()=>{B?Y():F()},[B,F,Y]);return(0,l.jsxs)(a.xu,{position:"relative",cursor:B?"pointer":"default",contentEditable:!1,h:"100%",onClick:D?$:void 0,onDoubleClick:Y,transitionProperty:"filter background",transitionDuration:"normal",_hover:D&&B?{filter:E?"brightness(1.15)":"brightness(0.85)",bg:M?E?"whiteAlpha.100":"blackAlpha.100":void 0}:void 0,children:[_?(0,l.jsx)(v.k3,{...K,isLoading:!!P,loadingProvider:O,icon:(null===(n=b.ah["image.custom"])||void 0===n?void 0:n.icon)||r.VmB,h:"100%",imageShape:A,onSelectAndFocus:()=>{D&&F()},defaultSource:H,cursor:B?"pointer":"default"}):M?(0,l.jsx)(o.M,{...K,objectFit:"contain",sx:{svg:{width:"100%",aspectRatio:"1 / 1"}},children:(0,l.jsx)(d.Z,{src:T||R||"",className:"colorable-icon"})}):(0,l.jsx)(i.k,{"data-content-reference":!0,"data-change-focus-point-el":!0,className:"card-layout-cell-bg",position:"relative",sx:K}),N==u.D.Uploading&&D&&(0,l.jsx)(y.HI,{}),N==u.D.Error&&(0,l.jsx)(y.s7,{})]})}},94277:function(e,t,n){"use strict";n.d(t,{C3:function(){return z},CC:function(){return C},bn:function(){return w}});var l=n(52322),a=n(65610),o=n(87202),i=n(2784),r=n(42418),s=n(37295),d=n(94090),u=n(5626),c=n(95669),m=n(48697);let f=["0%","0%","0%","0%"],p="clippable-control-wrapper",g=(e,t,n)=>e/Math.sqrt((t*t+n*n)/2)*100,h=(e,t,n)=>Math.sqrt((t*t+n*n)/2)*(e/100),b=(e,t,n)=>{if("circle"===e){let e=Math.min(t,n)/2;return["".concat(g(e,t,n),"%"),"at","50%","50%"]}return f},y=(e,t,n)=>"circle"===e?1:"inset"===e?t/n:null,v=(e,t)=>{if("inset"===t){let[t,n]=e[0],[l,a]=e[4];return(l-t)/(a-n)}return 1},k=(e,t,n,l)=>{let[a,o,i,r]=e;if("inset"===t){let t=parseFloat(a),s=parseFloat(o),d=parseFloat(i),c=parseFloat(r),m=u.lt/n*100,f=u.lt/l*100;if(100-c-s=0?e[1]="".concat(t,"%"):(e[1]="0%",e[3]="".concat(100-m,"%"))}if(100-t-d=0?e[2]="".concat(n,"%"):(e[2]="0%",e[0]="".concat(100-f,"%"))}}else if("circle"===t){let t=parseFloat(a),o=Math.max(h(t,n,l),u.lt);e[0]="".concat(g(o,n,l),"%")}},x=e=>{let{clipType:t,clipStyles:n,w:l,h:a}=e,[o,i,r,s]=n;if("inset"===t){let e=parseFloat(o),t=parseFloat(i),n=parseFloat(r),l=parseFloat(s),a=l/(t+l)*100,d=e/(e+n)*100,u=isNaN(a)?50:a,c=isNaN(d)?50:d,m=100-l-t,f=100-e-n;return{mask:"\n linear-gradient(#000 0 0) ".concat(u,"% ").concat(c,"% / ").concat(m,"% ").concat(f,"%,\n linear-gradient(rgba(0,0,0,0.4) 0 0)"),width:m,height:f,top:e,right:t,bottom:n,left:l}}if("circle"===t){let e=parseFloat(o),t=parseFloat(r),n=parseFloat(s),i=h(e,l,a),d=a*(n/100)-i,u=l*(t/100)-i,c=2*i/l*100,m=2*i/a*100,f=d/a*100,p=u/l*100,g="radial-gradient(".concat(c,"% ").concat(m,"% at ").concat(t,"% ").concat(n,"%, black 50%, rgba(0, 0, 0, 0.4) 50%) no-repeat");return{mask:g,width:c,height:m,top:Math.max(f,0),left:Math.max(p,0),bottom:0,right:0}}return{mask:"",width:0,height:0,top:0,left:0,bottom:0,right:0}},w=(e,t,n,l)=>{if(!e||!e.clipType||!l)return{clipType:"inset",scaleCrop:1,scaleX:1,scaleY:1,aspectRatio:l||void 0,referenceXOffset:1,referenceYOffset:1,clipPathCSSString:"",translateX:0,translateY:0};let a=e.clipPath||b(e.clipType,t,n),{clipType:o}=e,{width:i,height:r,top:s,left:d,right:u,bottom:c}=x({w:t,h:n,clipType:o,clipStyles:a}),m=100/i,f=100/r,p=(null==e?void 0:e.clipAspectRatio)||1,g=(null==e?void 0:e.clipAspectRatio)||l;return{scaleCrop:l/p<1?Math.min(f,m):Math.max(f,m),aspectRatio:g,scaleX:m,scaleY:f,translateX:d,translateY:s,referenceXOffset:t*(100/(100-d+u)-1),referenceYOffset:n*(100/(100-s+c)-1),clipPathCSSString:"".concat(o,"(").concat(a.join(" "),")"),clipType:o}},S=(0,r.mz)([r.Rn]),C={[".".concat(p)]:{zIndex:2,".moveable-control":{zIndex:2,_hover:{opacity:1},transitionProperty:"opacity",transitionDuration:"normal"},"&.data-clip-type-inset":{".moveable-control":{zIndex:2,bg:"0 none !important",borderRadius:"0px",width:"".concat(16,"px"),height:"".concat(16,"px"),border:"6px solid var(--chakra-colors-trueblue-300)",'&[data-clip-index="0"]':{borderRight:"0",borderBottom:"0",marginTop:"-".concat(2,"px"),marginLeft:"-".concat(2,"px"),cursor:"nw-resize"},'&[data-clip-index="1"]':{borderRight:"0",borderBottom:"0",borderLeft:"0",marginTop:"-".concat(2,"px"),cursor:"n-resize"},'&[data-clip-index="2"]':{borderLeft:"0",borderBottom:"0",marginTop:"-".concat(2,"px"),marginLeft:"-".concat(14,"px"),cursor:"ne-resize"},'&[data-clip-index="3"]':{borderBottom:"0",borderTop:"0",borderLeft:"0",marginLeft:"-".concat(14,"px"),cursor:"e-resize"},'&[data-clip-index="4"]':{borderTop:"0",borderLeft:"0",marginLeft:"-".concat(14,"px"),marginTop:"-".concat(14,"px"),cursor:"se-resize"},'&[data-clip-index="5"]':{borderTop:"0",borderLeft:"0",borderRight:"0",marginTop:"-".concat(14,"px"),cursor:"s-resize"},'&[data-clip-index="6"]':{borderTop:"0",borderRight:"0",marginTop:"-".concat(14,"px"),marginLeft:"-".concat(2,"px"),cursor:"sw-resize"},'&[data-clip-index="7"]':{borderTop:"0",borderBottom:"0",borderRight:"0",marginLeft:"-".concat(2,"px"),cursor:"w-resize"}}},"&.data-clip-type-circle":{".moveable-control":{bg:"trueblue.300"}},".moveable-clip-ellipse":{borderWidth:"2px",borderColor:"var(--chakra-colors-trueblue-300) !important"},".moveable-line":{display:"none"}}},z=e=>{let{clipPath:t,clipAspectRatio:n,updateResizeAttrs:r,imageWrapperRef:u,refreshDeps:f,currentWidth:g,currentHeight:h,onFinishCrop:w}=e,C=(0,d.TL)(),z=(0,d.CG)(m.Ig),A=(0,i.useRef)(null),[I,j]=(0,i.useState)({clipPath:t||b(z,g,h),clipAspectRatio:n||y(z,g,h)}),F=(0,i.useCallback)(e=>{if(!g||!h||!u.current)return;let{mask:t}=x({w:g,h:h,clipType:z,clipStyles:e});u.current.style["-webkit-mask"]=t,u.current.style["-webkit-mask-repeat"]="no-repeat"},[u,z,g,h]),B=JSON.stringify(I.clipPath);(0,i.useEffect)(()=>{F(I.clipPath)},[F,B,I.clipPath]),(0,a.r)(()=>{j(e=>({...e,clipPath:b(z,g,h),clipAspectRatio:y(z,g,h)}))},[z]),(0,i.useEffect)(()=>{var e;null===(e=A.current)||void 0===e||e.updateTarget()},[f]);let M=(0,i.useCallback)(()=>{let e={clipType:z,...I};e.clipAspectRatio&&e.clipPath&&r(e)},[r,I,z]),E=(0,i.useRef)({fn:M,confirmOnUnmount:!0});E.current.fn=M,(0,i.useEffect)(()=>c.T.on("endClip",e=>{let{confirm:t}=e;E.current.confirmOnUnmount=t,C((0,m.uR)()),w&&w()}),[C,w]),(0,i.useEffect)(()=>{let e=E.current;return()=>{e.confirmOnUnmount&&setTimeout(e.fn,0)}},[]),(0,i.useEffect)(()=>s.F7.on("keydown","CLIPPABLE",e=>!!(0,o.ZP)("mod+x")(e)&&(e.preventDefault(),!0)),[]);let _="".concat(z,"(").concat((I.clipPath||b(z,g,h)).join(" "),")");return(0,l.jsx)(S,{ref:e=>{A.current=e},className:"".concat(p," data-clip-type-").concat(z),target:u.current,renderDirections:["ne","nw","se","sw"],origin:!1,draggable:!1,clippable:!0,clipTargetBounds:!0,clipRelative:!0,clipArea:!0,defaultClipPath:z,customClipPath:_,dragWithClip:!0,keepRatio:!0,onClip:e=>{let{clipStyles:t,clipType:n}=e;k(t,n,g,h),F(t)},onClipEnd:e=>{let{lastEvent:t}=e;if(!(null==t?void 0:t.clipStyles))return;let{clipStyles:n,clipType:l}=t;k(n,l,g,h),j({clipPath:n,clipAspectRatio:v(t.poses,z)})}})}},40279:function(e,t,n){"use strict";n.d(t,{E:function(){return d}});var l=n(72338),a=n(24424),o=n(90507),i=n(19283),r=n(86353),s=n(11305);let d=a.ZP.extend({selectable:!0,draggable:!0,group:"block media",priority:i.a.Image,addOptions(){var e;return{...null===(e=this.parent)||void 0===e?void 0:e.call(this),placeholders:{}}},addNodeView:()=>(0,o.fW)(s.Y,{update:r.E7}),parseHTML:()=>[{tag:"img[src], img[tempUrl]"}],renderHTML(e){let{HTMLAttributes:t}=e;return["img",(0,l.P1)(t,{class:"gamma-simple-image"})]},addAttributes:()=>({src:{},tempUrl:{},uploadStatus:{},source:{},showPlaceholder:{}})})},11305:function(e,t,n){"use strict";n.d(t,{Y:function(){return u}});var l=n(52322),a=n(28535),o=n(11082),i=n(75009),r=n(16494),s=n(90507),d=n(72975);let u=e=>{let{node:t}=e,{src:n,tempUrl:u,uploadStatus:c,showPlaceholder:m,id:f}=t.attrs;return(0,l.jsxs)(s.T5,{as:"div",children:[m&&(0,l.jsx)(d.gH,{...e}),!m&&(n||u)&&(0,l.jsxs)(a.xu,{position:"relative",w:"100%",children:[(0,l.jsx)(o.r,{className:"image-link",href:n||u||"",target:"_blank",children:(0,l.jsx)(i.E,{src:n||u||""})}),c==r.D.Uploading&&(0,l.jsx)(d.HI,{}),c==r.D.Error&&(0,l.jsx)(d.s7,{})]})]})};u.displayName="simple-image-view"},67245:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var l=n(2784),a=n(94090),o=n(48697);let i=e=>{let t=(0,a.TL)(),n=(0,l.useCallback)(e=>{let{clipType:n}=e;n&&t((0,o.Nf)({clipType:n}))},[t]),i=(0,l.useCallback)(n=>{let{id:l}=n;o.TB.emit("endClip",{id:l,confirm:!1}),t((0,o.uR)()),e.commands.resetImageClip()},[t,e]),r=(0,l.useCallback)(e=>{let{id:n}=e;o.TB.emit("endClip",{id:n,confirm:!1}),t((0,o.uR)())},[t]),s=(0,l.useCallback)(e=>{let{id:n}=e;o.TB.emit("endClip",{id:n,confirm:!0}),t((0,o.uR)())},[t]),d=(0,l.useCallback)(e=>{let{id:n,clipType:l}=e;t((0,o.iq)({id:n,clipType:l})),o.TB.emit("startCrop",{id:n})},[t]);return{cancelCrop:r,startCrop:d,confirmCrop:s,resetCrop:i,setCropClipType:n}}},95669:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var l=n(76919);let a=new l.v},31866:function(e,t,n){"use strict";n.d(t,{A:function(){return a},b:function(){return o}});var l=n(2784);let a=()=>{let e=(0,l.useRef)(null),t=(0,l.useRef)(null),[n,a]=(0,l.useState)(0),[o,i]=(0,l.useState)(0),[r,s]=(0,l.useState)(null),d=(0,l.useCallback)(()=>{var n,l;let o=null===(n=e.current)||void 0===n?void 0:n.getBoundingClientRect(),r=null===(l=t.current)||void 0===l?void 0:l.getBoundingClientRect();if(o&&r){let e=r.width/r.height,t=o.width,n=o.width/e;if(0===t||isNaN(t)||0===n||isNaN(n))return;a(t),i(n),s(e)}},[]);return{width:n,height:o,aspectRatio:r,setSize:d,containerWrapperRef:e,imageRef:t}},o=e=>{let t=(0,l.useCallback)(t=>{if(!e)return;let n=null==e?void 0:e.view.domAtPos(t);if(!n){console.warn("scrollOnImageLoad could not domAtPos",{pos:t});return}let l=n.node.childNodes[n.offset];if(!l){console.warn("scrollOnImageLoad could not find node",{parentNode:n.node,offset:n.offset});return}let a=l.querySelector("[data-image-node-element] img");if(!a){console.warn("scrollOnImageLoad could not find element");return}let o=()=>{e.chain().selectNodeAtPos(t,!1).focus().scrollIntoView().run(),setTimeout(()=>{e.chain().selectNodeAtPos(t,!1).focus().scrollIntoView().run()},1e3),a.removeEventListener("load",o)};a.addEventListener("load",o)},[e]);return t}},48697:function(e,t,n){"use strict";n.d(t,{Ri:function(){return Q},OT:function(){return er},Ee:function(){return es},uR:function(){return en.uR},l_:function(){return en.l_},TB:function(){return y.T},Ig:function(){return en.Ig},v_:function(){return en.v_},Nf:function(){return en.Nf},dD:function(){return en.dD},jJ:function(){return en.jJ},iq:function(){return en.iq},_8:function(){return en._8}});var l=n(72338),a=n(24424),o=n(27191),i=n(65365),r=n(28667),s=n(50279),d=n(94090),u=n(4889),c=n(90507),m=n(11093),f=n(38372),p=n(19283),g=n(86353),h=n(80236),b=n(66855),y=n(95669),v=n(52322),k=n(93982),x=n(38035),w=n(28535),S=n(75009),C=n(82554),z=n(77533),A=n(98537),I=n.n(A),j=n(2784),F=n(42111),B=n(16494),M=n(50260),E=n(24551),_=n(4878),O=n(944),P=n(71997),T=n(4030),R=n(55395),N=n(27483),L=n(3452),D=n(17630),W=n(13653),U=n(5626),H=n(27835),G=n(72975),q=n(17955),V=n(28390),K=n(94277),Y=n(7165),$=n(50788),J=n(87205),X=n(28553);let Z=(0,Y.E)(w.xu),Q=(0,j.forwardRef)((e,t)=>{let{imageAttrs:{src:n,tempUrl:l,resize:a,meta:o},isCroppingThisImage:i=!1,motionProps:r={},isZoomed:s=!1,objectFit:u="contain",containerWidth:c,intrinsicAspectRatio:m,isThumbnail:f,...p}=e,g=(0,$.C7)(),h=(0,k.P7)((0,d.qr)().getState()),y=(null==o?void 0:o.frame_count)&&o.frame_count>1,x=s||!n||y?n:(0,J.SN)(n,f?{height:400}:{width:2e3},o),{scaleCrop:w,scaleY:C,clipPathCSSString:z,translateX:A,translateY:I,aspectRatio:j,referenceXOffset:F,referenceYOffset:B}=(0,K.bn)(a,c||(null==o?void 0:o.width)||1,c&&m?c/m:(null==o?void 0:o.height)||1,m||(o?o.width/o.height:1))||{},M=!i&&!!(null==a?void 0:a.clipPath),E=i?"":"scale(".concat(w,") translate(-").concat(A,"%, -").concat(I,"%)"),_=(0,b.zd)(n||l);return(0,v.jsx)(Z,{css:{aspectRatio:"".concat(M?j:"")},className:"image","data-content-reference":"".concat(F,",").concat(B),maxH:"var(--media-maxH)",maxW:"var(--media-maxW)",overflow:"hidden",w:s?void 0:"100%",h:"cover"==u?"100%":void 0,sx:{"@media print":{height:"unset"}},...h?r:{},children:(0,v.jsx)(S.E,{alt:"",objectFit:u,maxH:"calc(var(--media-maxH) * ".concat(C||1,")"),minH:"cover"==u?"calc(var(--media-maxH) / ".concat(w||1,")"):void 0,transformOrigin:"left top",clipPath:i?"":z,ignoreFallback:s||g,transform:E,src:x||l||"",fallbackSrc:l||"",ref:t,w:_?"100%":void 0,...n||l?{}:X.W6,...p})})});Q.displayName="CroppedImage";var ee=n(67245),et=n(31866),en=n(14063),el=n(45546);let ea=e=>{let{theme:t,...n}=e,l=(0,d.TL)(),{node:a,editor:o,updateAttributes:i,selected:r,decorations:s}=n,{src:u,tempUrl:c,uploadStatus:m,meta:f,showPlaceholder:p,horizontalAlign:g,resize:h,id:C,source:z}=a.attrs,A=(null==h?void 0:h.width)||(null==f?void 0:f.width),Y=(0,b.zd)(u||c),{isFullWidth:$}=(0,R.w)(s),J=(0,D.nN)($?"center":g),X=(0,_.TZ)(),Z=(0,H.Ah)(n),ea=(0,W.Od)(s),ei=(0,d.CG)(k.hN),er=(0,L.M)(o),{isCardDark:es}=(0,N.$D)(s),ed=null!=es?es:(0,M.wj)(t),eu=m===B.D.Uploading,ec=(0,F.ye)("debugCardViewed"),{isZoomed:em,enterZoom:ef,exitZoom:ep}=(0,V.d8)(C),{width:eg,height:eh,aspectRatio:eb,containerWrapperRef:ey,imageRef:ev,setSize:ek}=(0,et.A)();(0,j.useEffect)(()=>y.T.on("startCrop",e=>{let{id:t}=e;C===t&&(ek(),requestAnimationFrame(()=>{var e,t;null===(e=(t=o.commands).refreshBubbleMenu)||void 0===e||e.call(t)}))}),[C,ek,o]);let ex=(0,j.useCallback)(e=>{i(I()({},a.attrs,e,{meta:{has_transparency:!0}}))},[i,a.attrs]),{bgRemovalInProgress:ew,removeBgUrl:eS}=(0,el.CI)({editor:o,id:a.attrs.id,src:a.attrs.src,updateAttributes:ex}),{ref:eC,isResizing:ez,setIsResizing:eA,resizeableSx:eI,isAnimating:ej,onLayoutAnimationStart:eF,onLayoutAnimationComplete:eB}=(0,q.ow)(o),eM=eC.current&&ea&&!Z&&!er,eE=eC.current&&!Z&&!er,e_=(0,E.cy)(t),eO=(0,j.useCallback)((e,t)=>{i({...a.attrs,fullWidthBlock:void 0===t?a.attrs.fullWidthBlock:t,resize:{...a.attrs.resize,...e}})},[a.attrs,i]),eP=(0,O.lz)(),eT=(0,d.CG)((0,en.v_)(C)),{confirmCrop:eR}=(0,ee.k)(o);(0,O.vm)(()=>{if(eT&&!r&&eR({id:C}),!r){var e,t;eA(!1),null===(e=(t=o.commands).forceHideBubbleMenu)||void 0===e||e.call(t,!1)}},[o,l,r,eT,C,eR,eA],[r]);let eN=!eT&&!ez&&!Z&&!o.isThumbnail,eL=!o.isThumbnail,eD=(0,j.useCallback)(()=>{eT||ez||ef()},[ef,eT,ez]),eW=(0,j.useCallback)(()=>{if(r){var e,t;null===(e=(t=o.commands).refreshBubbleMenu)||void 0===e||e.call(t)}},[r,o]),eU=(0,d.CG)(k.P7),eH=eU?{layoutDependency:em,layoutId:(0,V.sB)(C),transition:V.yq,onLayoutAnimationStart:eF,onLayoutAnimationComplete:eB}:void 0,eG=eS?{...a.attrs,src:eS,tempUrl:a.attrs.src}:a.attrs;return(0,v.jsxs)(T.lO,{...n,as:"div",style:{height:Z?"100%":void 0},children:[(p||!u&&!c)&&(0,v.jsx)(G.gH,{...n}),!p&&(u||c)&&(0,v.jsxs)(x.k,{"data-testid":"image-node-wrapper",ref:ey,h:"100%",w:"100%",direction:"column",className:P.d,sx:eI,css:J,children:[eE&&eT&&(0,v.jsx)(K.C3,{imageWrapperRef:eC,updateResizeAttrs:eO,refreshDeps:[eP,ej],currentWidth:eg,currentHeight:eh,clipPath:null==h?void 0:h.clipPath,clipAspectRatio:null==h?void 0:h.clipAspectRatio,onFinishCrop:()=>{requestAnimationFrame(()=>{var e,t;null===(e=(t=o.commands).refreshBubbleMenu)||void 0===e||e.call(t)})}}),eM&&!eT&&r&&!$&&(0,v.jsx)(q.R4,{imageWrapperRef:eC,setIsResizing:eA,updateResizeAttrs:eO,refreshDeps:[a.attrs,ej,eP]}),(0,v.jsxs)(w.xu,{ref:eC,css:{mask:eT?"":"none !important","--media-maxH":!eu||ez||(null==h?void 0:h.width)||Z?void 0:"".concat(100*U.m4,"vh")},sx:(null==f?void 0:f.has_transparency)?void 0:r&&eM?{...e_.imageSx,borderRadius:"0px"}:e_.imageSx,"data-drag-handle":!0,"data-image-node-element":!0,"data-selection-ring":"inside","data-selection-background":!0,"data-node-image-testid":C,w:$||Z?"100%":A?"calc(".concat(A," * var(--font-size) / 16)"):"fit-content",maxW:"100%",position:"relative",overflow:"hidden",children:[eL&&(0,v.jsx)(V.cp,{enterZoom:eD,as:S.E,src:X||!o.isEditable?void 0:u,loading:"lazy"}),ec&&(0,v.jsx)(eo,{imageAttrs:eG}),(0,v.jsx)(Q,{containerWidth:eg,intrinsicAspectRatio:eb||void 0,isCroppingThisImage:eT,imageAttrs:eG,onLoad:eW,filter:"image.icon"===z?"url(#theme-body-color-fill)":void 0,ref:ev,width:Z?"auto":A||ez||$||Y?"100%":null==f?void 0:f.width,minW:Z?"100%":void 0,motionProps:eH,objectFit:Z?"cover":"contain",isThumbnail:Z||o.isThumbnail}),eN&&(0,v.jsx)(V.aF,{isZoomed:em,exitZoom:ep,editor:o,children:(0,v.jsx)(Q,{imageAttrs:a.attrs,backgroundColor:ed?"black":"white",w:Y?"80vw":void 0,motionProps:{layoutDependency:em,layoutId:(0,V.sB)(C),transition:V.yq},isZoomed:!0})}),(eu||ew)&&ei&&(0,v.jsx)(G.HI,{removeBackground:ew}),m==B.D.Error&&(0,v.jsx)(G.s7,{})]})]})]})},eo=e=>{let{imageAttrs:t}=e;return(0,v.jsxs)(w.xu,{position:"absolute",as:"span",maxW:"95%",zIndex:1,bottom:0,m:1,children:[(0,v.jsx)(C.C,{maxW:"100%",colorScheme:"green",m:0,children:(0,v.jsxs)(z.x,{isTruncated:!0,whiteSpace:"nowrap",textOverflow:"ellipsis",fontSize:"10px",maxW:"100%",children:["url: ",t.src]})}),(0,v.jsx)(C.C,{maxW:"100%",colorScheme:"yellow",children:(0,v.jsxs)(z.x,{isTruncated:!0,whiteSpace:"nowrap",textOverflow:"ellipsis",fontSize:"10px",maxW:"100%",children:["tempUrl: ",t.tempUrl]})})]})},ei=e=>{let t=(0,d.CG)(k.Pu);return t?(0,v.jsx)(ea,{...e,theme:t}):null},er={clipType:null,clipPath:null,clipAspectRatio:null,width:null},es=a.ZP.extend({selectable:!0,draggable:!0,group:"block media",priority:p.a.Image,expandable:!0,addOptions(){var e;return{...null===(e=this.parent)||void 0===e?void 0:e.call(this),placeholders:{}}},addStorage:f.gk,addNodeView:()=>(0,c.fW)(ei,{update:g.E7}),extendNodeSchema(e){var t;return{accessoryImageKey:(0,l.nU)((0,l.Nl)(e,"accessoryImageKey",e)),imageKeyPath:null!==(t=(0,l.nU)((0,l.Nl)(e,"imageKeyPath",e)))&&void 0!==t?t:""}},parseHTML(){return[{tag:"img[src], img[tempUrl]"},{tag:"img[bookmark]",getAttrs:(0,f.xF)(this.storage)},{tag:"img[".concat(i.L,"]"),getAttrs:r.z},{tag:"div[class=card-accent-layout-item]",context:"cardLayoutItem//",getAttrs:e=>{try{let t=JSON.parse(e.getAttribute("data-background")||"{}");if("image"!==t.type||!t.image)return!1;let n={...t.image,source:t.source};return(0,b.UZ)(n)}catch(t){return console.error("[Image] Error parsing accent image background",e,t),!1}}}]},renderHTML(e){let{HTMLAttributes:t}=e;return["img",(0,l.P1)(this.options.HTMLAttributes,t,{loading:"lazy"})]},renderHTMLforAI(e){let{node:t}=e,n=(0,f.ml)(this.storage,t),l=(0,s.K)(t.attrs);return["img",{bookmark:n,alt:l}]},addAttributes:()=>({id:(0,u.b)(h.G),savedMediaId:{},src:{},tempUrl:{},uploadStatus:{},meta:{...(0,m.sw)("meta")},providerMeta:{...(0,m.sw)("providerMeta")},aiParams:{...(0,m.sw)("aiParams")},loadImageParams:{...(0,m.sw)("loadImageParams")},loadImageStatus:{},loadImageId:{},name:{},query:{},source:{},showPlaceholder:{},fullWidthBlock:{default:!1},resize:{...(0,m.sw)("resize"),default:er}}),addKeyboardShortcuts:()=>({Enter:e=>{let{editor:t}=e,n=t.state.selection;if(n instanceof o.qv&&n.node.type.name===a.ZP.name){let e=(0,en.kv)((0,d.bh)().getState()),{id:t}=n.node.attrs;if(e)return y.T.emit("endClip",{id:t,confirm:!0}),!0}return!1}}),addProseMirrorPlugins:()=>[new o.Sy({key:new o.H$("imageDrag"),props:{handleDOMEvents:{dragstart:(e,t)=>{var n;let{selection:a}=e.state,o=(0,l.EG)(a)&&(null===(n=a.node)||void 0===n?void 0:n.type.name)==="image",i=o?a.node.attrs.id:null;if(i){let e=(0,d.bh)().getState(),n=(0,en.v_)(i)(e);if(n)return t.preventDefault(),!0}return!1}}}})],addCommands(){let e=this.name,t=t=>{let{selection:n}=t;return n instanceof o.qv&&n.node.type.name===e?n.node:void 0};return{resetImageClip:()=>n=>{let{chain:l,state:a}=n,o=t(a);if(!o)return console.warn("[resetImageClip] Selected node is not an image: ",a.selection),!0;let{clipPath:i,clipType:r,clipAspectRatio:s}=er;return l().updateAttributes(e,{resize:{...o.attrs.resize,clipPath:i,clipType:r,clipAspectRatio:s}}).run()},resetImageScale:()=>n=>{let{chain:l,state:a}=n,o=t(a);return o?l().updateAttributes(e,{resize:{...o.attrs.resize,width:null,isAuto:null}}).run():(console.warn("[resetImageClip] Selected node is not an image: ",a.selection),!0)}}}});n(40279),n(11305)},14063:function(e,t,n){"use strict";n.d(t,{EA:function(){return b},GI:function(){return h},I6:function(){return v},Ig:function(){return f},Nf:function(){return i},_8:function(){return d},dD:function(){return u},iq:function(){return s},jJ:function(){return c},kv:function(){return p},l_:function(){return m},r0:function(){return y},uR:function(){return r},v_:function(){return g}});var l=n(58125);let a={clipType:"inset",isCropping:!1,croppingImageId:null,removeBg:{}},o=(0,l.oM)({name:"ImageEditor",initialState:a,reducers:{reset:()=>a,setClipType(e,t){let{clipType:n}=t.payload;e.clipType=n},startCropping(e,t){let{id:n,clipType:l}=t.payload;e.croppingImageId=n,e.clipType=l||"inset"},endCropping(e){e.croppingImageId=null},startRemoveBg(e,t){let{id:n}=t.payload;e.removeBg[n]={status:"loading",url:null}},setRemoveBgStatus(e,t){let{id:n,status:l}=t.payload;e.removeBg[n]&&(e.removeBg[n].status=l)},setRemoveBgUrl(e,t){let{id:n,url:l}=t.payload;e.removeBg[n]&&(e.removeBg[n].url=l)},endRemoveBg(e,t){let{id:n}=t.payload;delete e.removeBg[n]}}}),{setClipType:i,endCropping:r,startCropping:s,startRemoveBg:d,setRemoveBgStatus:u,setRemoveBgUrl:c,endRemoveBg:m}=o.actions,f=e=>e.ImageEditor.clipType,p=e=>!!e.ImageEditor.croppingImageId,g=e=>t=>t.ImageEditor.croppingImageId===e,h=e=>t=>!!t.ImageEditor.removeBg[e],b=e=>t=>{var n;return null===(n=t.ImageEditor.removeBg[e])||void 0===n?void 0:n.url},y=e=>t=>{var n;return null===(n=t.ImageEditor.removeBg[e])||void 0===n?void 0:n.status},v=o.reducer},45546:function(e,t,n){"use strict";n.d(t,{CI:function(){return b},tk:function(){return h}});var l=n(70065),a=n(87254),o=n(2784),i=n(14274),r=n(97763),s=n(7144),d=n(94090),u=n(11050),c=n(48697),m=n(93982),f=n(36651),p=n(87205),g=n(14063);let h=e=>{let{editor:t,id:n}=e,l=(0,d.TL)(),a=(0,d.CG)((0,g.GI)(n)),i=(0,d.CG)((0,g.r0)(n)),s=(0,o.useCallback)(()=>{l((0,c._8)({id:n})),c.TB.emit("startRemoveBg",{id:n}),requestAnimationFrame(()=>{var e,n;null===(e=(n=t.commands).refreshBubbleMenu)||void 0===e||e.call(n)})},[l,t,n]),m=(0,r.YO)(s,"removeBackground",u.AA.GAMMA_PRO_UPSELL_REMOVE_BACKGROUND);return{startRemoveBg:m,isRemovingBg:a,isRemoveBgLoading:"loading"===i}},b=e=>{let{editor:t,id:n,src:i,updateAttributes:r}=e,u=(0,d.TL)(),f=(0,d.qr)(),h=(0,l.p)(),b=(0,d.CG)(m.Wl),v=t.isEditable,k=(0,d.CG)((0,g.r0)(n)),x=(0,d.CG)((0,g.EA)(n));return(0,o.useEffect)(()=>{if(v&&i)return c.TB.on("startRemoveBg",async e=>{let{id:l}=e;if(n===l&&i)try{u((0,c.dD)({id:n,status:"loading"}));let e=await y({imageUrl:i});u((0,c.jJ)({id:n,url:e})),(0,s.i)("removeBackground",b),await (0,p.GN)(e),setTimeout(()=>{requestAnimationFrame(()=>{c.TB.emit("endRemoveBg",{id:n,confirm:!0,url:e})})},500)}catch(l){let e="AbortError"===l.name;h({title:a.ag._({id:"SlfejT"}),position:"top",description:e?a.ag._({id:"9Xjuuc"}):a.ag._({id:"xwVKp4"}),status:"error",duration:5e3,isClosable:!0}),u((0,c.l_)({id:n})),requestAnimationFrame(()=>{var e,n;null===(e=(n=t.commands).refreshBubbleMenu)||void 0===e||e.call(n)})}})},[n,t,i,r,u,f,v,b,h]),(0,o.useEffect)(()=>{if(v&&i)return c.TB.on("endRemoveBg",async e=>{let{id:l,confirm:a,url:o}=e;if(n===l){if(a){let e=o||(0,g.EA)(n)(f.getState());r({src:e,source:"image.custom"})}requestAnimationFrame(()=>{u((0,c.l_)({id:n})),requestAnimationFrame(()=>{var e,n;null===(e=(n=t.commands).refreshBubbleMenu)||void 0===e||e.call(n)})})}})},[n,r,t,u,f,v,i]),{bgRemovalInProgress:"loading"===k,removeBgUrl:x}},y=async e=>{let{imageUrl:t}=e,n="".concat(i.v.API_HOST,"/media/images/edit"),l=new AbortController,a=setTimeout(()=>l.abort(),3e4),o=await fetch(n,{method:"POST",signal:l.signal,headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({url:t,operation:"remove-background",workspaceId:(0,f.n_)()})});if(clearTimeout(a),!o.ok){let e=await o.json(),t="".concat(e.error,": ").concat(e.message);throw Error(t,e)}let r=await o.json();return r.url}},50593:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});var l=n(93565),a=n(29560),o=n(98168);let i=()=>Object.entries(o.ah).filter(e=>{let[t,n]=e;return n.nodeName&&!n.disabled}).map(e=>{let[t,n]=e;return{key:t,name:n.label,nodeName:n.nodeName||"mediaPlaceholder",execute:e=>e.commands.insertMediaBlock(n.key),dragStartFn:e=>{(0,l.U)(e,{type:"mediaPlaceholder",attrs:{source:n.key}})},dragEndFn:()=>{(0,a.T)()},description:n.description,icon:n.icon,image:n.image,testId:n.key,keywords:n.keywords,featureFlag:n.featureFlag,priority:n.priority,categories:n.categories,checkDisabled:n.checkDisabled,badge:n.badge}})},98168:function(e,t,n){"use strict";n.d(t,{dz:function(){return E},ah:function(){return _},mC:function(){return M},X8:function(){return O}});var l=n(52322),a=n(82655),o=n(87254),i=n(99787),r=n(50260),s=n(17993),d=n(47443),u=n(52929),c=n(74444),m=n(5879),f=n(94090),p=n(20437),g=n(30523),h=n(28535),b=n(62614),y=n(32899),v=n(78071),k=n(42822),x=n(42946),w=n(49929),S=n(94523),C=n(2784),z=n(22569),A=n(87205);let I=e=>{let{accentImages:t,isDark:n,handleDelete:a,handleItemClick:i,currentAttributes:r,editType:s}=e,d=(0,C.useCallback)(e=>t=>{a&&(t.stopPropagation(),a(e))},[a]),u=(0,C.useCallback)(e=>()=>{i&&i(e)},[i]);return(0,l.jsx)(p.M,{gap:2,columns:{base:2,"2xl":3},children:t.map(e=>{let t=(0,z.wh)(e,n,A.Iv),c=("node"===s||"accessory"===s)&&e.image,f=c?{...e.image,source:e.source}:e,p=c?(null==r?void 0:r.src)===e.image.src:(null==r?void 0:r.accentId)===e.accentId;return(0,l.jsx)(g.P,{children:(0,l.jsxs)(h.xu,{as:b.z,variant:"unstyled",backgroundColor:n?"black":"white",cursor:i?"pointer":void 0,...t,opacity:1,width:"100%",borderRadius:"base",shadow:"md",minH:"100px",position:"relative",role:"group",onClick:u(f),children:[a&&(0,l.jsx)(S.kH,{label:(0,l.jsx)(m.cC,{id:"Rz0Yis"}),placement:"top",children:(0,l.jsx)(y.h,{"aria-label":o.ag._({id:"Rz0Yis"}),icon:(0,l.jsx)(w.G,{icon:x.XAH}),onClick:d(e),isRound:!0,position:"absolute",top:1,right:1,size:"sm",color:"red.600",opacity:0,_hover:{color:"red.600"},_groupHover:{opacity:1}})}),r&&(0,l.jsx)(v.p,{in:p,children:(0,l.jsx)(h.xu,{pointerEvents:"none",color:"white",pos:"absolute",inset:0,bg:"rgba(0,0,0,.5)",borderRadius:"base",children:(0,l.jsx)(k.M,{h:"100%",w:"100%",children:(0,l.jsx)(w.G,{icon:x.LEp})})})})]})},e.accentId)})})};var j=n(93982),F=n(8624),B=n(13793);let M="default",E={Default:[{label:()=>o.ag._({id:"EdQY6l"}),availableOffline:!0,key:M,backgroundType:B.E.NONE,Panel:()=>(0,l.jsx)(l.Fragment,{})}],Image:[{...i.in,nodeName:"image",backgroundType:B.E.IMAGE,priority:10},{...i.ud,nodeName:"image",backgroundType:B.E.IMAGE},{...i.QT,nodeName:"image",backgroundType:B.E.IMAGE},{...i.jt,nodeName:"image",disabled:!0,backgroundType:B.E.IMAGE},{...i.NX,nodeName:"image",backgroundType:B.E.IMAGE},{...i.hq,nodeName:"image",backgroundType:B.E.IMAGE},{...i.$5,nodeName:"image",backgroundType:B.E.IMAGE},{...i.jS,nodeName:"image"},{...i.bD,nodeName:"image",disabled:!0,backgroundType:B.E.IMAGE},{label:()=>o.ag._({id:"COXEr5"}),key:r.cx,availableOffline:!0,icon:a.l9f,Panel:e=>{let{currentAttributes:t,updateAttributes:n,editType:a}=e,o=(0,f.CG)(j.Pu),{accentBackgrounds:i}=o.config;return(0,l.jsxs)(s.g,{align:"stretch",children:[i&&(0,l.jsx)(I,{currentAttributes:t,accentImages:i,isDark:(0,r.wj)(o),handleItemClick:n,editType:a}),(0,l.jsxs)(d.b,{status:"info",children:[(0,l.jsx)(u.z,{}),(0,l.jsx)(c.X,{children:(0,l.jsx)(m.cC,{id:"zOCB9A"})})]})]})},backgroundType:B.E.IMAGE,nodeName:"image",keywords:["accent image"]}],Video:[{...i.wj,nodeName:"video"},{...i.Vy,nodeName:"video"},{...i.qz,nodeName:"video"},{...i.oC,nodeName:"video"},{...i.BM,nodeName:"video"},{...i.zs,nodeName:"video"},{...i.p7,nodeName:"video"}],Embed:[{...i.Hw,nodeName:"embed",priority:10},{...i.VI,nodeName:"embed"},{...i.BR,nodeName:"embed"},{...i.bO,nodeName:"embed"},{...i.DN,nodeName:"embed"},{...i.f0,nodeName:"embed"},{...i.iL,nodeName:"embed"},{...i.Bo,nodeName:"embed"},{...i.LE,nodeName:"embed"},{...i.QR,nodeName:"embed"},{...i.Ds,nodeName:"embed"},{...i.FH,nodeName:"embed"},{...i.F6,nodeName:"embed"},{...i.w4,nodeName:"embed"},{...i.BF,nodeName:"embed"},{...i.DU,nodeName:"embed"},{...i.TQ,nodeName:"embed"}],Color:[{label:()=>o.ag._({id:"iFeLoB"}),key:"color.solid",availableOffline:!0,icon:a.q2v,Panel:F.c,backgroundType:B.E.COLOR,keywords:["solid color"]},{...i.eK,availableOffline:!0,backgroundType:B.E.GRADIENT}]},_=Object.fromEntries(Object.values(E).flat().map(e=>[e.key,e])),O={Default:()=>o.ag._({id:"ovBPCi"}),Image:()=>o.ag._({id:"hG89Ed"}),Video:()=>o.ag._({id:"vSJd18"}),Embed:()=>o.ag._({id:"KKBlUU"}),Color:()=>o.ag._({id:"jZlrte"})}},28553:function(e,t,n){"use strict";n.d(t,{s7:function(){return M},k3:function(){return E},HI:function(){return B},W6:function(){return _}});var l=n(52322),a=n(16556),o=n(81540),i=n(77533),r=n(38035),s=n(17993),d=n(28535),u=n(29117),c=n(82655),m=n(42946),f=n(49929),p=n(5879),g=n(2784),h=n(94090),b=n(29318),y=n(38769),v=n(29560),k=n(73235),x=n(28165),w=n(42822);function S(){let e=(0,k._)(["\n from {transform: rotate(-5deg) scale(1)}\n to {transform: rotate(5deg) scale(1.2)}\n "]);return S=function(){return e},e}let C=e=>{let{provider:t,color:n="gray"}=e,a=(0,x.F4)(S()),r="aiGenerated"===t?m.ddb:m.Y$T;return(0,l.jsxs)(w.M,{className:"image-loading-spinner",children:[(0,l.jsx)(o.$,{color:"".concat(n,".300"),thickness:"3px",size:"xl",position:"absolute",speed:"0.7s",emptyColor:"transparent"}),(0,l.jsx)(i.x,{color:"".concat(n,".400"),position:"absolute",lineHeight:"2",fontSize:"lg",animation:"".concat(a," infinite alternate 700ms ease-out"),children:(0,l.jsx)(f.G,{icon:r,fixedWidth:!0})})]})};var z=n(93982),A=n(2333),I=n(78820),j=n(24813),F=n(19850);let B=e=>{let{removeBackground:t=!1,scootRight:n=!1}=e;return(0,l.jsxs)(a.Vp,{size:"sm",variant:"subtle",colorScheme:"gray",pos:"absolute",top:4,left:4,p:1,ml:n?28:0,children:[(0,l.jsx)(o.$,{color:"gray.600",size:"xs"}),t&&(0,l.jsx)(i.x,{as:"span",ml:1,children:(0,l.jsx)(p.cC,{id:"gVcJ1/"})})]})},M=()=>(0,l.jsx)(a.Vp,{size:"sm",variant:"subtle",colorScheme:"red",pos:"absolute",top:4,left:4,children:(0,l.jsxs)(a.Sn,{children:[(0,l.jsx)(f.G,{icon:m.RLE})," ",(0,l.jsx)(p.cC,{id:"rmh/nq"})]})}),E=(0,g.memo)(e=>{let{children:t,icon:n=c.VmB,isLoading:a=!1,isUploading:o=!1,hasUploadError:i=!1,isAccentImageDrawer:m=!1,loadingProvider:p,openEditBackgroundDrawer:k,onSelectAndFocus:x,defaultSource:w,hideQuickActions:S=!1,...E}=e,_=(0,h.TL)(),[O,P]=(0,g.useState)(!1),T=(0,v.B)(),R=(0,h.CG)(z.hN),N=(0,b.Yy)();return(0,g.useEffect)(()=>{w&&!1===(0,j.FD)(w)?P(!1):S||!R?P(!1):P(!0)},[w,S,R]),(0,l.jsxs)(r.k,{"data-testid":"media-placeholder","data-test-media-source":w,color:N?I.Z.DARK_COLOR:I.Z.LIGHT_COLOR,align:"center",justify:"center",p:3,bg:N?I.Z.DARK_BG:I.Z.LIGHT_BG,className:"placeholder","data-drag-handle":!0,"data-export-as-image":!0,position:"relative",cursor:"default",sx:{containerType:"size","@container (width < 150px) or (height < 140px)":{".quick-actions":{display:"none"},".ai-image-loading-spinner":{transform:"scale(0.5)"}}},onClick:()=>{R&&x&&x()},onDoubleClick:()=>{R&&(x&&x(),m?(_((0,A.G9)()),null==k||k()):(_((0,y.W7)()),T(!0)))},transition:"background-color 0.2s",...E,children:[!a&&(0,l.jsxs)(s.g,{pointerEvents:"none",children:[(0,l.jsx)(d.xu,{color:N?I.Z.DARK_ICON_COLOR:I.Z.LIGHT_ICON_COLOR,sx:{"@container (0px <= width <= 32px)":{fontSize:"sm"},"@container (32px < width <= 80px)":{fontSize:"2xl"},fontSize:"4xl"},children:(0,l.jsx)(f.G,{icon:n,fixedWidth:!0})}),O&&(0,l.jsx)(u.U,{pointerEvents:"auto",className:"quick-actions",children:(0,l.jsx)(F.N,{onSelectImage:x,isAccentImageDrawer:m,openEditBackgroundDrawer:k})})]}),a&&(0,l.jsx)(C,{provider:p}),o&&(0,l.jsx)(B,{}),i&&(0,l.jsx)(M,{}),t]})});E.displayName="MediaPlaceholderImage";let _={minW:16,minH:16,bg:"gray.200"}},19850:function(e,t,n){"use strict";n.d(t,{N:function(){return v}});var l=n(52322),a=n(28535),o=n(38035),i=n(32899),r=n(54933),s=n(49929),d=n(94523),u=n(5879),c=n(87254),m=n(2784),f=n(99787),p=n(29318),g=n(29560),h=n(66028),b=n(78820),y=n(82533);let v=e=>{let{onSelectImage:t,isAccentImageDrawer:n=!1,openEditBackgroundDrawer:i,...s}=e,{setMediaDrawerSourceKeyAction:d,setBackgroundDrawerSourceKeyAction:m}=(0,y.j)(),p=[{id:"image.custom",label:(0,l.jsx)(u.cC,{id:"6MxxvO"}),ariaLabel:c.ag._({id:"6MxxvO"}),icon:r.A$k,onClick:()=>{t(),d(f.in.key,!0),setTimeout(()=>(0,g.T)(),0)}},{id:"image.web",label:(0,l.jsx)(u.cC,{id:"Of4gkp"}),ariaLabel:c.ag._({id:"Of4gkp"}),icon:r.Y$T,onClick:()=>{t(),d(f.QT.key,!0),setTimeout(()=>(0,g.T)(),0)}},{id:"image.ai-generated",label:(0,l.jsx)(u.cC,{id:"UQ4o1/"}),ariaLabel:c.ag._({id:"UQ4o1/"}),icon:r.ddb,onClick:()=>{t(),d(f.NX.key,!0),setTimeout(()=>(0,g.T)(),0)}}],b=[{id:"image.custom",label:(0,l.jsx)(u.cC,{id:"6MxxvO"}),ariaLabel:c.ag._({id:"6MxxvO"}),icon:r.A$k,onClick:()=>{t(),m(f.in.key),setTimeout(()=>null==i?void 0:i(),0)}},{id:"image.web",label:(0,l.jsx)(u.cC,{id:"Of4gkp"}),ariaLabel:c.ag._({id:"Of4gkp"}),icon:r.Y$T,onClick:()=>{t(),m(f.QT.key),setTimeout(()=>null==i?void 0:i(),0)}},{id:"image.ai-generated",label:(0,l.jsx)(u.cC,{id:"UQ4o1/"}),ariaLabel:c.ag._({id:"UQ4o1/"}),icon:r.ddb,onClick:()=>{t(),m(f.NX.key),setTimeout(()=>null==i?void 0:i(),0)}}];return(0,l.jsx)(a.xu,{pos:"relative",zIndex:100,...s,children:(0,l.jsx)(o.k,{marginBottom:"-8px",onClick:h.UW,children:(n?b:p).map((e,t)=>(0,l.jsx)(k,{...e},t))})})},k=(0,m.memo)(e=>{let{label:t,ariaLabel:n,icon:a,id:o,onClick:r}=e,u=(0,p.Yy)();return(0,l.jsx)(d.kH,{label:t,placement:"top",closeOnClick:!0,children:(0,l.jsx)(i.h,{icon:(0,l.jsx)(s.G,{icon:a,size:"1x"}),"aria-label":n,"data-testid":"quick-action","data-test-media-source":o,variant:"ghost",rounded:"md",onMouseDown:r,width:"32px",height:"32px",color:u?b.Z.DARK_ICON_COLOR:b.Z.LIGHT_ICON_COLOR,display:"flex",alignItems:"center",justifyContent:"center",p:1,cursor:"pointer",_hover:"image.ai-generated"===o?u?{color:b.Z.DARK_AI_BTN_HOVER_COLOR,bg:b.Z.DARK_AI_BTN_HOVER_BG}:{color:b.Z.LIGHT_AI_BTN_HOVER_COLOR,bg:b.Z.LIGHT_AI_BTN_HOVER_BG}:u?{color:b.Z.DARK_BTN_HOVER_COLOR,bg:b.Z.DARK_BTN_HOVER_BG}:{color:b.Z.LIGHT_BTN_HOVER_COLOR,bg:b.Z.LIGHT_BTN_HOVER_BG},animation:"fadeIn",transition:"color 0.2s, background-color 0.2s"})})});k.displayName="QuickActionButton"},82533:function(e,t,n){"use strict";n.d(t,{j:function(){return s},q:function(){return r}});var l=n(2784),a=n(94090),o=n(38769),i=n(2333);let r=(e,t)=>{let n=(0,l.useCallback)(()=>{e.chain().focus().selectNodeAtPos(t(),!1).run(),setTimeout(()=>{e.view.focus()})},[e,t]);return n},s=()=>{let e=(0,a.TL)(),t=(0,a.CG)(o.RF),n=(0,a.CG)(o.Fk),r=(0,a.CG)(i.TB),s=(0,l.useCallback)(function(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e((0,o.c9)({sourceKey:t,overrideDefault:n}))},[e]),d=(0,l.useCallback)(t=>{e((0,i.df)({sourceKey:t}))},[e]);return{currentMediaDrawerSourceKey:t,isQuickAction:n,setMediaDrawerSourceKeyAction:s,currentEditBackgroundDrawerSourceKey:r,setBackgroundDrawerSourceKeyAction:d}}},24813:function(e,t,n){"use strict";n.d(t,{FD:function(){return o},jn:function(){return l.j},qs:function(){return l.q}}),n(19850);var l=n(82533);let a=["image.custom","image.web","image.ai-generated","accent.theme"],o=e=>a.includes(e)},78820:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});let l={LIGHT_BG:"gray.200",LIGHT_COLOR:"gray.300",LIGHT_ICON_COLOR:"gray.400",LIGHT_BTN_HOVER_BG:"gray.100",LIGHT_BTN_HOVER_COLOR:"gray.500",LIGHT_AI_BTN_HOVER_BG:"trueblue.100",LIGHT_AI_BTN_HOVER_COLOR:"trueblue.300",DARK_BG:"gray.800",DARK_COLOR:"gray.600",DARK_ICON_COLOR:"gray.600",DARK_BTN_HOVER_BG:"gray.700",DARK_BTN_HOVER_COLOR:"gray.400",DARK_AI_BTN_HOVER_BG:"trueblue.800",DARK_AI_BTN_HOVER_COLOR:"trueblue.300",LIGHT_GALLERY_BG:"gray.100",DARK_GALLERY_BG:"gray.900"}},72975:function(e,t,n){"use strict";n.d(t,{om:function(){return w},gH:function(){return x},s7:function(){return y.s7},k3:function(){return y.k3},HI:function(){return y.HI}});var l=n(72338),a=n(27191),o=n(29560),i=n(90507),r=n(19283),s=n(66855),d=n(52322),u=n(38035),c=n(82655),m=n(16494),f=n(20929),p=n(55395),g=n(17630),h=n(27835),b=n(98168),y=n(28553),v=n(24813);let k=e=>(0,d.jsx)(f.l,{...e,as:"div",children:(0,d.jsx)(x,{...e})}),x=e=>{var t;let{node:n,decorations:l,editor:a}=e,{source:o,horizontalAlign:i,uploadStatus:r,loadImageParams:s,loadImageStatus:f}=n.attrs,{getPos:k}=e,{isFullWidth:x}=(0,p.w)(l),w=(null===(t=b.ah[o])||void 0===t?void 0:t.icon)||c.VmB,S=(0,h.Ah)(e),C=(0,v.qs)(a,k);return(0,d.jsx)(u.k,{w:"100%",h:"100%",direction:"column",sx:(0,g.nN)(i),children:(0,d.jsx)(y.k3,{hasUploadError:r===m.D.Error,isUploading:r===m.D.Uploading,isLoading:"queued"===f&&!a.isThumbnail,loadingProvider:null==s?void 0:s.provider,"data-content-reference":!0,icon:w,width:x||S?"100%":"18em",maxW:"100%",h:S?"100%":"10em",maxH:"100%",onSelectAndFocus:C,defaultSource:o,"data-drag-handle":!0,"data-selection-ring":!0,"data-selection-background":!0,borderRadius:"var(--box-border-radius)",hideQuickActions:a.isThumbnail})})},w=l.NB.create({name:"mediaPlaceholder",group:"block media",atom:!0,selectable:!0,draggable:!0,priority:r.a.MediaPlaceholder,addNodeView:()=>(0,i.fW)(k),addAttributes:()=>({source:{},fullWidthBlock:{default:!1}}),addKeyboardShortcuts:()=>({Enter:e=>{let{editor:t}=e,n=t.state.selection;return!!(n instanceof a.qv&&(0,s.fP)(n.node))&&((0,o.T)(),!0)}}),addCommands:()=>({insertMediaBlock:e=>t=>{let{commands:n}=t;return n.insertContentAndSelect({type:"mediaPlaceholder",attrs:{source:e}}),requestAnimationFrame(()=>{(0,o.T)()}),!0}}),parseHTML:()=>[{tag:"img[placeholder=true]",priority:60}],renderHTML(e){let{HTMLAttributes:t}=e;return["img",(0,l.P1)(t,{placeholder:"true"})]}})},17955:function(e,t,n){"use strict";n.d(t,{R4:function(){return b},Wv:function(){return h},ow:function(){return g}});var l=n(52322),a=n(65610),o=n(12436),i=n.n(o),r=n(2784),s=n(42418),d=n(5626),u=n(944),c=n(86392);let m="resizeable-control-wrapper",f=(0,s.mz)([s.ez]),p=(e,t)=>{let n=d.lt*Math.max(t.clientWidth/t.clientHeight,1);return Math.max(e,n)};function g(e){let[t,n]=(0,r.useState)(!1),l=(0,u.lz)(),o=(0,r.useRef)(null),i=(0,c.Br)(o),[s,d]=(0,r.useState)(!1),m=(0,r.useCallback)(()=>{var t,l;null===(t=(l=e.commands).forceHideBubbleMenu)||void 0===t||t.call(l,!0),n(!0)},[e]),f=(0,r.useCallback)(()=>{var t,l;null===(t=(l=e.commands).forceHideBubbleMenu)||void 0===t||t.call(l,!1),n(!1)},[e]);return(0,a.r)(()=>{var t,n;null===(t=(n=e.commands).forceHideBubbleMenu)||void 0===t||t.call(n,s||i)},[e,s,i]),{ref:o,isResizing:s,setIsResizing:d,isAnimating:t,resizeableSx:{".moveable-control":{display:l||i||t?"none":""}},onLayoutAnimationStart:m,onLayoutAnimationComplete:f}}let h={[".".concat(m)]:{zIndex:11,".moveable-control":{bg:"white",border:"2px solid var(--chakra-colors-trueblue-300)",w:"".concat(8,"px"),h:"".concat(8,"px"),opacity:1,zIndex:10,borderRadius:0,_hover:{opacity:1},transitionProperty:"opacity",transitionDuration:"normal","&.moveable-ne, &.moveable-sw":{cursor:"nesw-resize"},"&.moveable-nw, &.moveable-se":{cursor:"nwse-resize"},"&.moveable-se, &.moveable-ne, &.moveable-e":{marginLeft:"-".concat(5,"px")},"&.moveable-sw, &.moveable-nw, &.moveable-w":{marginLeft:"-".concat(3,"px")},"&.moveable-ne, &.moveable-nw, &.moveable-n":{marginTop:"-".concat(3,"px")},"&.moveable-se, &.moveable-sw, &.moveable-s":{marginTop:"-".concat(5,"px")},"&.moveable-e, &.moveable-w":{cursor:"ew-resize",marginTop:"-".concat(4,"px")},"&.moveable-n, &.moveable-s":{cursor:"ns-resize",marginLeft:"-".concat(4,"px")}},".moveable-line":{display:"none"}}},b=e=>{let{imageWrapperRef:t,setIsResizing:n,updateResizeAttrs:a,refreshDeps:o,keepRatio:s=!0,onResizing:u}=e,c=(0,r.useRef)(null);return(0,r.useEffect)(()=>{requestAnimationFrame(()=>{var e,t;null===(e=c.current)||void 0===e||e.updateRect(),null===(t=c.current)||void 0===t||t.updateTarget()})},[o]),(0,r.useEffect)(()=>{let e=()=>{var e;null===(e=c.current)||void 0===e||e.updateTarget()},t=i()(e,250);return document.addEventListener("drop",e),window.addEventListener("resize",t),()=>{document.removeEventListener("drop",e),window.removeEventListener("resize",t)}},[]),(0,l.jsx)(f,{ref:e=>{c.current=e},className:m,target:t.current,renderDirections:["se","nw","sw","ne","n","s","e","w"],keepRatio:s,draggable:!1,resizable:!0,origin:!1,onResizeStart:()=>{n(!0)},onResize:e=>{let{target:t,width:n,height:l}=e,a=p(n,t),o=s?l:p(l,t);t.style.width="".concat(a,"px"),s||(t.style.height="".concat(o,"px")),null==u||u({width:a,height:o})},onResizeEnd:e=>{let{target:t}=e,l=t.clientWidth,o=t.clientHeight,i=parseFloat(getComputedStyle(t).fontSize)/d.SV;a({width:l/i,height:s?null:o/i,isAuto:!1}),n(!1),t.style.width="",t.style.height=""}})}},80236:function(e,t,n){"use strict";n.d(t,{G:function(){return s},z:function(){return d}});var l=n(38564),a=n(37164),o=n(27191),i=n(55850);let r=new o.H$("UniqueMediaId"),s=()=>(0,a.x0)(5),d=i.I.extend({name:"UniqueMediaId"}).configure({attributeName:"id",types:["image","embed","video","smartLayoutCell"],initialValue:s,filterTransaction:e=>{let t=e.getMeta(l.Gt);return(null==t?void 0:t.isChangeOrigin)!==!0},pluginKey:r})},54653:function(e,t,n){"use strict";n.d(t,{R:function(){return d}});var l=n(72338),a=n(16494),o=n(87205),i=n(66855),r=n(15636),s=n(59366);let d=l.hj.create({name:"mediaUpload",addCommands(){return{cancelImageUploadsOnLoad:()=>e=>{let{tr:t,state:n}=e;if(!this.editor.isEditable)return!1;let o=(0,l.N2)(n.doc,e=>{let t=(0,s.XU)(e);return!!(t&&t.uploadStatus===a.D.Uploading)});return o.forEach(e=>{let n=(0,s.j6)(e.node,{tempUrl:null,uploadStatus:a.D.Error});t.setNodeMarkup(e.pos,null,n).setMeta("addToHistory",!1).setMeta("imageUploadUpdateAttrs",!0)}),!0},uploadBlobsOnLoad:()=>e=>{let{tr:t,state:n}=e;if(!this.storage.orgId||!this.editor.isEditable)return!1;let a=(0,l.N2)(n.doc,e=>{let t=(0,s.XU)(e);return!!(null==t?void 0:t.src)&&t.src.startsWith("blob:")});return a.forEach(e=>{let n=(0,s.XU)(e.node);if(!n)return;let l=n.src,a=(0,s.j6)(e.node,(0,s.BF)(l));t.setNodeMarkup(e.pos,null,a).setMeta("addToHistory",!1).setMeta("imageUploadUpdateAttrs",!0),(0,r.wG)(this.editor,l)}),!0},uploadRemoteUrlsOnLoad:()=>e=>{let{tr:t,state:n}=e;if(!this.storage.orgId||!this.editor.isEditable)return!1;let a=(0,l.N2)(n.doc,e=>{let t=(0,s.XU)(e);return!!(null==t?void 0:t.src)&&t.src.startsWith("http")&&(0,o.dW)(t.src)});return a.forEach(e=>{let n=(0,s.XU)(e.node);if(!n)return;let l=n.src,a=(0,s.j6)(e.node,(0,s.BF)(l));t.setNodeMarkup(e.pos,null,a).setMeta("addToHistory",!1).setMeta("imageUploadUpdateAttrs",!0),(0,r.Sm)(this.editor,l)}),!0},uploadDataUrlsOnLoad:()=>e=>{let{tr:t,state:n}=e;if(!this.storage.orgId||!this.editor.isEditable)return!1;let a=(0,l.N2)(n.doc,e=>{let t=(0,s.XU)(e);return!!(null==t?void 0:t.src)&&t.src.startsWith("data:")});return a.forEach(e=>{let n=(0,s.XU)(e.node);if(!n)return;let l=(0,o.v9)(n.src),a=URL.createObjectURL(l),i=(0,s.j6)(e.node,(0,s.BF)(a));t.setNodeMarkup(e.pos,null,i).setMeta("addToHistory",!1).setMeta("imageUploadUpdateAttrs",!0),(0,r.Sm)(this.editor,a,l)}),!0},initializeUploadExtension:e=>t=>{let{chain:n}=t;return this.storage.orgId=e,n().cancelImageUploadsOnLoad().uploadBlobsOnLoad().uploadDataUrlsOnLoad().uploadRemoteUrlsOnLoad().revokeAllImageTempURLs().run(),!0},revokeAllImageTempURLs:()=>e=>{let{tr:t,state:n}=e,o=(0,l.N2)(n.doc,e=>{let t=(0,s.XU)(e);return!!(t&&t.tempUrl&&t.src&&t.uploadStatus===a.D.Done)});return o.forEach(e=>{let n=(0,s.j6)(e.node,{tempUrl:null});t.setNodeMarkup(e.pos,null,n).setMeta("addToHistory",!1).setMeta("imageUploadUpdateAttrs",!0)}),!0},revokeImageTempURLs:e=>t=>{let{tr:n,state:a}=t,o=(0,l.N2)(a.doc,t=>{let n=(0,s.XU)(t);return!!n&&n.tempUrl===e});return o.forEach(e=>{let t=(0,s.j6)(e.node,{tempUrl:null});n.setNodeMarkup(e.pos,null,t).setMeta("addToHistory",!1).setMeta("imageUploadUpdateAttrs",!0)}),URL.revokeObjectURL(e),!0},updateImageOnUploadFailure:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{let{tr:l,state:o}=n,i=o.doc.nodeAt(e);if(!i||!i.attrs)return!1;let r=(0,s.XU)(i),d=t?{...r,uploadStatus:a.D.Done}:(0,s.gM)({isError:!0}),u=(0,s.j6)(i,d);return l.setNodeMarkup(e,void 0,u).setMeta("imageUploadUpdateAttrs",!0).setMeta("addToHistory",!1).setMeta("annotationEvent",{type:"update-node-attrs",pos:e}),!0}},updateImageOnUploadSuccess:(e,t)=>n=>{let{tr:l,state:a}=n,o=a.doc.nodeAt(e);if(!o||!o.attrs)return!1;let r=(0,s.gM)({isError:!1,result:t}),d=(0,i.UZ)(r),u=(0,s.j6)(o,d);return l.setNodeMarkup(e,void 0,u).setMeta("imageUploadUpdateAttrs",!0).setMeta("addToHistory",!1).setMeta("annotationEvent",{type:"update-node-attrs",pos:e}),!0}}},addStorage:()=>({orgId:void 0,completedUploads:{}}),addProseMirrorPlugins(){return[(0,r.SZ)(this.editor)]}})},97253:function(e,t,n){"use strict";n.d(t,{B0:function(){return a.B0},Ns:function(){return a.Ns},QZ:function(){return a.QZ},R:function(){return l.R},XU:function(){return a.XU},f8:function(){return a.f8},gM:function(){return a.gM},j6:function(){return a.j6}});var l=n(54653),a=n(59366)},32581:function(e,t,n){"use strict";n.d(t,{j:function(){return c},x:function(){return m}});var l=n(37164),a=n(99787),o=n(16494),i=n(13793),r=n(38322),s=n(81345),d=n(87205),u=n(59366);let c=(e,t,n,r)=>{var s;let c;let m={type:i.E.IMAGE,source:a.in.key,image:{uploadStatus:o.D.Uploading,source:a.in.key}};(0,d.Ns)(n.type)?(m.image.showPlaceholder=!0,c="HEIC_tempId_".concat((0,l.x0)())):c=URL.createObjectURL(n),m.image.tempUrl=c;let f=(t,n)=>{if(!c&&!n)return;let l=c||n;(0,u.Ns)(e,l,t)};t.setNodeAttribute(r,"background",m).setMeta("imageUploadUpdateAttrs",!0),(0,a.cT)(n,null===(s=e.storage.mediaUpload)||void 0===s?void 0:s.orgId,{onOriginalFileUpload:f,onUploadComplete:f,onUploadFailed:t=>{(0,u.f8)(e,c,t),URL.revokeObjectURL(c)}})},m=function(e,t,n){let l=t.map(t=>(0,d.fU)(t.type)?f(t,e):(0,s.kO)(t.type,(0,s.mD)(t))?p(t,e):null).filter(e=>null!==e);if(0==l.length)return;let a=l.map(e=>e.content),o=e.state.doc.resolve(n),i=o.parent.inlineContent,u=n;i&&0===o.parentOffset?u=n-1:i&&null===o.nodeAfter&&(u=n+1),e.chain().insertContentAt(u,a,{updateSelection:!1}).command(e=>{var t;let{tr:n}=e,l=n.doc.resolve(n.mapping.map(u)),a=(0,r.t)(n.doc.resolve(l.pos-((null===(t=l.nodeBefore)||void 0===t?void 0:t.nodeSize)||1)));return a&&n.setSelection(a),!0}).run(),l.forEach(e=>{e.upload()}),setTimeout(()=>{e.commands.scrollIntoView()},200)},f=(e,t)=>{let n={uploadStatus:o.D.Uploading,source:a.in.key};(0,d.Ns)(e.type)?(n.showPlaceholder=!0,n.tempUrl="HEIC_tempId_".concat((0,l.x0)())):n.tempUrl=URL.createObjectURL(e);let i=(e,l)=>{let a=n.tempUrl;if(!a&&!l)return;let o=a||l;(0,u.Ns)(t,o,e)},r={onOriginalFileUpload:i,onUploadComplete:i,onUploadFailed:e=>{n.tempUrl&&((0,u.f8)(t,n.tempUrl,e),URL.revokeObjectURL(n.tempUrl))}};return{name:e.name,content:{type:"image",attrs:n},upload:()=>{var n;return(0,a.cT)(e,null===(n=t.storage.mediaUpload)||void 0===n?void 0:n.orgId,r)}}},p=(e,t)=>{let n=URL.createObjectURL(e),l={...(0,u.B0)(e),url:n},o=(e,l)=>{if(!n&&!l)return;let a=n||l;(0,u.QZ)(t,a,e)},i={onOriginalFileUpload:o,onUploadComplete:o};return{name:e.name,content:{type:"embed",attrs:l},upload:()=>{var n;return(0,a.cT)(e,null===(n=t.storage.mediaUpload)||void 0===n?void 0:n.orgId,i,"node","doc")}}}},15636:function(e,t,n){"use strict";n.d(t,{SZ:function(){return p},RC:function(){return y},bC:function(){return g},wG:function(){return m},Sm:function(){return c}});var l=n(27191),a=n(99787),o=n(81345),i=n(87205),r=n(20182),s=n(32581);let d=e=>RegExp("^\\s*\\s*$","s").test(e);var u=n(59366);let c=(e,t,n)=>{let l=(n,l)=>{(0,u.Ns)(e,l||t,n)},o={onOriginalFileUpload:l,onUploadComplete:l,onUploadFailed:n=>{(0,u.f8)(e,t,n)}};n?(0,a.cT)(n,e.storage.mediaUpload.orgId,o):(0,a.WY)(t,e.storage.mediaUpload.orgId,o)},m=async(e,t)=>{try{let n=await fetch(t),l=await n.blob(),a=new File([l],"blob.png",{type:l.type});c(e,t,a)}catch(n){(0,u.f8)(e,t,n)}},f=e=>(0,i.fU)(e.type)||(0,o.kO)(e.type,(0,o.mD)(e)),p=e=>new l.Sy({props:{transformPasted:t=>(t.content.descendants(t=>{if("image"===t.type.name&&t.attrs.tempUrl){let n=e.storage.mediaUpload,l=n.completedUploads[t.attrs.tempUrl];l&&Object.assign(t.attrs,(0,u.j6)(t,(0,u.gM)({isError:!1,result:l})))}else if("image"===t.type.name&&t.attrs.src&&!(0,i.S6)(t.attrs.src)){let n,l=t.attrs.src;if(l.startsWith("blob:")){Object.assign(t.attrs,(0,u.BF)(l)),m(e,l);return}l.startsWith("data:")&&(n=(0,i.v9)(t.attrs.src),l=URL.createObjectURL(n)),Object.assign(t.attrs,(0,u.BF)(l)),c(e,l,n)}}),t),handlePaste:(t,n,l)=>b(e,t,n,l),handleDOMEvents:{drop:(t,n)=>h(e,t,n)}}}),g=(e,t)=>{var n;if(!e.clipboardData)return null;let l=e.clipboardData.getData("text/html"),a=e.clipboardData.getData("text/plain");if(a&&!l&&d(a))return[(0,i.K$)(a)];let o=Array.prototype.slice.call(e.clipboardData.items);return o.some(e=>"text/html"===e.type)&&(t.content.childCount>1||(null===(n=t.content.firstChild)||void 0===n?void 0:n.type.name)!=="image")?null:o.map(e=>e.getAsFile()).filter(e=>!!e).filter(f)},h=(e,t,n)=>{if(t.props.editable&&!t.props.editable(t.state))return!1;let l=y(n).filter(f);if(0===l.length)return!1;let a=(0,r.Z)(t,n);return!!a&&(n.preventDefault(),(0,s.x)(e,l,a),!0)},b=(e,t,n,l)=>{if(t.props.editable&&!t.props.editable(t.state))return!1;let a=g(n,l);if(!a||0===a.length)return!1;let{selection:o}=t.state,i=o.from;return o.empty||e.commands.deleteSelection(),(0,s.x)(e,a,i),!0};function y(e){let t=[],n=e.target;if(e.dataTransfer){let n=e.dataTransfer;n.files&&n.files.length?t=n.files:n.items&&n.items.length&&(t=n.items)}else n&&n.files&&(t=n.files);return Array.prototype.slice.call(t)}},59366:function(e,t,n){"use strict";n.d(t,{B0:function(){return w},BF:function(){return f},Ns:function(){return y},QZ:function(){return x},XU:function(){return g},f8:function(){return v},gM:function(){return m},j6:function(){return p}});var l=n(72338),a=n(72579),o=n.n(a),i=n(98537),r=n.n(i),s=n(16765),d=n.n(s),u=n(16494),c=n(81345);let m=e=>{let{result:t,isError:n}=e;if(n)return{uploadStatus:u.D.Error,showPlaceholder:!0,tempUrl:null,src:null};let{fullResults:l,...a}=t;return{uploadStatus:u.D.Done,showPlaceholder:!1,source:"image.custom",...a}},f=e=>({tempUrl:e,uploadStatus:u.D.Uploading,src:null,source:"image.custom"}),p=(e,t)=>{let n=e.type.spec.imageKeyPath,l=n?d()({},n,t):t,a=r()({},e.attrs,l);return a},g=e=>{let t=e.type.spec.imageKeyPath;return t||"image"===e.type.name?t?o()(e.attrs,t,e.attrs):e.attrs:null},h=(e,t)=>(0,l.N2)(e.state.doc,e=>{let n=g(e);return[null==n?void 0:n.tempUrl,null==n?void 0:n.src].includes(t)}),b=(e,t)=>(0,l.N2)(e.state.doc,e=>"embed"===e.type.name&&e.attrs.url===t),y=(e,t,n)=>{e.parentEditor&&(e=e.parentEditor),t&&k(e,n,t);let l=h(e,t);if(0==l.length){console.warn("[MediaUpload] Couldn't find placeholder node");return}l.forEach(t=>{let{pos:l}=t;e.commands.updateImageOnUploadSuccess(l,n)}),setTimeout(()=>{e.commands.revokeImageTempURLs(t)},3e4)},v=function(e,t,n){let l=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.parentEditor&&(e=e.parentEditor);let a=h(e,t);if(0==a.length){console.warn("[MediaUpload] Couldn't find placeholder node");return}a.forEach(t=>e.commands.updateImageOnUploadFailure(t.pos,l)),console.error(n)},k=(e,t,n)=>{let l=e.storage.mediaUpload;l.completedUploads[n]=t},x=(e,t,n)=>{let l=b(e,t);if(0==l.length){console.warn("[MediaUpload] Couldn't find placeholder node");return}l.forEach(t=>{e.commands.updateAttributesAtPos(t.pos,{url:n.src,sourceUrl:n.src,embed:{url:n.src},thumbnail:{src:n.thumbnail,uploadStatus:u.D.Done,showPlaceholder:!1}})})},w=e=>({meta:{title:e.name,description:(0,c.td)(e.size,1)},thumbnail:{uploadStatus:u.D.Uploading,showPlaceholder:!0},source:"embed.pdf"})},94567:function(e,t,n){"use strict";n.d(t,{nk:function(){return _},Y7:function(){return F}});var l=n(72338),a=n(4889),o=n(90507),i=n(11093),r=n(38372),s=n(86353),d=n(80236),u=n(66855),c=n(52322),m=n(28535),f=n(38035),p=n(73200),g=n(7165),h=n(14274),b=n(98285),y=n(20929),v=n(29097),k=n(27835),x=n(28390),w=n(2784),S=n(580),C=n(66028),z=n(35477),A=n(99787);let I=e=>e&&A.zX[e]?A.zX[e]:A.wj,j=16/9,F=e=>{let{isZoomed:t,...n}=e,{node:l}=n,{embed:a,source:o,sourceUrl:i}=l.attrs,r=I(o),s=(0,w.useRef)(null),d=r.preferHtml&&(null==a?void 0:a.html),u=(null==a?void 0:a.height)&&!(null==a?void 0:a.width),f=(null==a?void 0:a.height)&&(null==a?void 0:a.width)?a.width/a.height:(null==a?void 0:a.aspectRatio)||j,g=t?{width:"min(var(--media-maxW), calc(var(--media-maxH) * ".concat(f,"))"),height:u?a.height:"min(var(--media-maxH), calc(var(--media-maxW) / ".concat(f,"))"),alignContent:"center"}:d?void 0:u?{height:a.height}:{height:0,pb:"".concat(100/f,"%")},h=(null==a?void 0:a.url)||l.attrs.embedUrl||i,b=r&&r.rewriteEmbedUrl&&h?r.rewriteEmbedUrl(h):h;return(0,c.jsxs)(m.xu,{position:"relative","data-drag-handle":!0,...g,onClick:t?C.UW:void 0,children:[!t&&(0,c.jsx)(x.Y$,{...n,frameRef:s}),d?(0,c.jsx)(z.$,{html:a.html,w:t?"100%":void 0,onClick:t?C.UW:void 0,...r.minWidth?{minW:"min(".concat(r.minWidth,", 100vw)"),left:"50%",transform:"translateX(-50%)"}:void 0,maxW:r.maxWidth}):(0,c.jsx)(S.A,{initialUrl:b,backgroundColor:"none",borderRadius:"var(--box-border-radius)",overflow:"hidden","data-selection-ring":"inside","data-selection-background":!0,className:(0,p.cx)("video-player"),iframeOptions:{preventScroll:!0,...r.iframeOptions},position:"absolute",inset:0,frameRef:s})]})},B=(0,g.E)(m.xu),M=(0,g.E)(f.k),E=e=>{let{node:t,editor:n}=e,{source:l,embed:a,displayStyle:o,id:i,sourceUrl:r}=t.attrs,{isZoomed:s,enterZoom:d,exitZoom:u}=(0,x.d8)(i),m=(0,k.Ah)(e),f=(0,v.v0)(l),g=!h.v.GAMMA_PUPPETEER_SERVICE&&"inline"===o,w="inline"===o&&f.preferHtml&&(null==a?void 0:a.html),S=!m&&!n.isThumbnail;return(0,c.jsxs)(y.l,{...e,as:"div",children:[(0,c.jsx)(B,{layoutDependency:s,layoutId:n.isThumbnail?void 0:(0,x.sB)(i),transition:x.yq,h:"100%",className:(0,p.cx)("embed-preview",!g&&b.wY),"data-export-as-image":!0,"data-export-link":r,position:"relative",overflow:w&&f.minWidth?"visible":"hidden",children:n.isThumbnail?(0,c.jsx)(v.XX,{...e}):m?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(x.cp,{enterZoom:d}),(0,c.jsx)(v.CG,{...e})]}):g?(0,c.jsx)(F,{...e}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(x.cp,{enterZoom:d}),(0,c.jsx)(v.fu,{...e})]})}),S&&(0,c.jsx)(x.aF,{isZoomed:s,exitZoom:u,editor:n,children:(0,c.jsx)(M,{layoutDependency:s,layoutId:(0,x.sB)(i),transition:x.yq,width:"var(--media-maxW)",height:"var(--media-maxH)",direction:"column",align:"center",justify:"center",children:(0,c.jsx)(F,{...e,isZoomed:!0})})})]})},_=l.NB.create({name:"video",group:"block media",atom:!0,draggable:!0,selectable:!0,expandable:!0,addNodeView:()=>(0,o.fW)(E,{update:s.E7}),addAttributes:()=>({id:(0,a.b)(d.G),embedUrl:{},source:{},thumbnail:{...(0,i.sw)("thumbnail")},embed:{...(0,i.sw)("embed")},meta:{...(0,i.sw)("meta")},sourceUrl:{},displayStyle:{default:"inline"},fullWidthBlock:{default:!1}}),parseHTML(){return[{tag:"div[class=video]"},{tag:"video[bookmark]",getAttrs:(0,r.xF)(this.storage)}]},addStorage:()=>({bookmarks:{}}),renderHTMLforAI(e){let{node:t}=e;return["video",{bookmark:(0,r.ml)(this.storage,t)}]},renderHTML(e){let{HTMLAttributes:t,node:n}=e;return["div",(0,l.P1)(t,{class:"video"}),["a",{href:(0,u.iJ)(n),target:"_blank"},(0,u.k7)(n)]]}})},28390:function(e,t,n){"use strict";n.d(t,{Y$:function(){return G},cp:function(){return H},yq:function(){return w},EW:function(){return N},aF:function(){return P},sB:function(){return $},RM:function(){return Y},d8:function(){return K}});var l=n(52322),a=n(69339),o=n(33570),i=n(38035),r=n(29117),s=n(32899),d=n(28535),u=n(87254),c=n(7165),m=n(88241),f=n(12982),p=n.n(f),g=n(56974),h=n.n(g),b=n(2784),y=n(37295),v=n(90439),k=n(66028),x=n(90221);let w={type:"spring",duration:.5,bounce:0},S=(0,x.s2)()?"0.75rem":"2.5rem";var C=n(82642),z=n(332),A=n(87202),I=n(43997),j=n(87827),F=n(94090),B=n(34972),M=n(84698);let E=()=>{let e=(0,F.CG)(M.Lw),{inPreviewContext:t}=(0,B.My)();return e&&!t};var _=n(944);let O=(0,c.E)(d.xu),P=e=>{let{children:t,isZoomed:n,exitZoom:a,editor:o}=e,r=(0,I.I0)(),c=E();(0,b.useEffect)(()=>{if(!c)return y.F7.on("keydown","ZOOMABLE_OVERLAY",e=>n&&["ArrowDown","ArrowUp"].includes(e.key)?(e.preventDefault(),!0):!!((0,A.P6)("Esc")(e)||(0,A.P6)("Enter")(e))&&!!n&&(a(),e.preventDefault(),!0))},[a,n,c]),(0,b.useEffect)(()=>{c||r((0,j.VN)({id:"zoomableOverlay",isOpen:n}))},[r,n,c]);let m=(0,b.useRef)(null);return((0,_.vm)(()=>{if(o.isEditable){if(n){var e;null===(e=m.current)||void 0===e||e.focus()}else o.commands.focus()}},[o,n],[n],!1),c)?null:(0,l.jsx)(z.h,{children:n&&(0,l.jsxs)(d.xu,{position:"fixed",inset:0,padding:S,zIndex:"modal",userSelect:"none",onClick:e=>{!(0,x.f_)()&&(e.target.closest(".image")||e.target.closest("[data-carousel-filmstrip]")||a())},onMouseDown:k.br,"data-in-editor-focus":!0,"data-testid":"zoomable-overlay",children:[(0,l.jsx)(O,{position:"absolute",inset:0,initial:{opacity:0},animate:{opacity:(0,x.s2)()?.9:.86},transition:w,backgroundColor:"black"},"shade"),(0,l.jsx)(d.xu,{position:"absolute",right:2,top:2,zIndex:"docked",contentEditable:!1,suppressContentEditableWarning:!0,children:(0,l.jsx)(s.h,{"aria-label":u.ag._({id:"8qZ5De"}),colorScheme:"whiteAlpha",color:"whiteAlpha.800",size:"md",onClick:a,onMouseDown:k.br,icon:(0,l.jsx)(C.T,{}),variant:"ghost",className:"exit-button",ref:m})}),(0,l.jsx)(i.k,{position:"relative",zIndex:"1",h:"100%",w:"100%",align:"center",justify:"center",direction:"column",css:{"--overlay-maxH":"calc(100vh - 2 * ".concat(S,")"),"--overlay-maxW":"calc(100vw - 2 * ".concat(S,")"),"--media-maxH":"var(--overlay-maxH)","--media-maxW":"var(--overlay-maxW)"},children:t})]})})},T=(0,c.E)(i.k),R="80px",N=e=>{let{children:t,zoomedId:n,isZoomComplete:c,setZoomedId:f,isZoomed:g,exitZoom:x,editor:C}=e,z=p()(t,e=>e.id===n),A=t[z],I=(0,b.useRef)(null),j=(0,b.useCallback)(()=>{f((t[z+1]||t[0]).id)},[z,t,f]),F=(0,b.useCallback)(()=>{f((t[z-1]||h()(t)).id)},[z,t,f]);return((0,b.useEffect)(()=>{if(g&&!(t.length<2))return y.F7.on("keydown","ZOOMABLE_OVERLAY",e=>{switch(e.key){case"ArrowLeft":return F(),!0;case"ArrowRight":return j(),!0;default:return!1}})},[x,g,f,t,z,j,F]),(0,b.useEffect)(()=>{if(I.current&&c){let e=I.current.querySelector('[data-thumb-id="'.concat(n,'"]'));null==e||e.scrollIntoView({inline:"center",behavior:"smooth"})}},[n,c]),v.cx)?null:(0,l.jsxs)(P,{isZoomed:g,exitZoom:x,editor:C,children:[(0,l.jsx)(i.k,{flex:1,w:"100%",justify:"center",align:"center","data-testid":"zoomable-carousel-expanded",pos:"relative",children:(0,l.jsx)(m.M,{children:A&&(0,l.jsx)(T,{css:{"--media-maxH":"calc(var(--overlay-maxH) - ".concat(R," - ").concat(S,")")},initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},position:"absolute",transition:w,w:"100%",h:"100%",children:A.full},A.id)})}),t.length>1&&(0,l.jsx)(r.U,{w:"100vw",mt:S,px:S,gap:0,"data-carousel-filmstrip":!0,children:(0,l.jsxs)(i.k,{overflowX:"auto",width:"100%",justify:"center",align:"stretch",overflow:"hidden",children:[(0,l.jsx)(s.h,{icon:(0,l.jsx)(a.w,{boxSize:"24px"}),"aria-label":u.ag._({id:"MHk+7g"}),colorScheme:"whiteAlpha",variant:"ghost",size:"md",color:"whiteAlpha.900",borderColor:"whiteAlpha.200",borderWidth:"2px",borderStyle:"solid",onClick:F,_hover:{bg:"whiteAlpha.200",borderColor:"whiteAlpha.400"},h:"auto",mr:2}),(0,l.jsx)(r.U,{spacing:1,onClick:k.UW,"data-testid":"zoomable-carousel-thumbnails",ref:I,overflow:"scroll",sx:{"::-webkit-scrollbar":{display:"none"}},children:t.map(e=>{let t=e.id===n;return(0,l.jsx)(d.xu,{border:t?"2px solid white":"2px solid transparent",boxSizing:"content-box",borderRadius:"md",overflow:"hidden",onClick:()=>f(e.id),transitionProperty:"border",transitionDuration:"normal",h:R,css:{"--media-maxH":R,"--media-maxW":"200px",flexShrink:0},"data-thumb-id":e.id,cursor:"pointer",padding:"2px",_hover:{borderColor:!t&&"whiteAlpha.500"},children:(0,l.jsx)(d.xu,{w:"100%",h:"100%",borderRadius:"sm",overflow:"hidden",children:e.thumbnail})},e.id)})}),(0,l.jsx)(s.h,{icon:(0,l.jsx)(o.X,{boxSize:"24px"}),"aria-label":u.ag._({id:"EatZYJ"}),colorScheme:"whiteAlpha",variant:"ghost",size:"md",color:"whiteAlpha.900",borderColor:"whiteAlpha.200",borderWidth:"2px",borderStyle:"solid",onClick:j,_hover:{bg:"whiteAlpha.200",borderColor:"whiteAlpha.400"},h:"auto",ml:2})]})})]})};var L=n(14274),D=n(11093),W=n(93982),U=n(13653);let H=e=>{let{enterZoom:t,...n}=e,a=(0,F.CG)(W.hN),o=!a;return L.v.GAMMA_PUPPETEER_SERVICE?null:(0,l.jsx)(d.xu,{inset:0,w:"100%",h:"100%",position:"absolute",zIndex:1,cursor:o?"zoom-in":"default",onDoubleClick:a?t:void 0,onClick:o?t:void 0,"data-drag-handle":!0,"data-testid":"zoom-click-capture",opacity:0,...n})},G=e=>{let{decorations:t,node:n,editor:a}=e,o=(0,U.Od)(t)||!(0,D.KB)(a),i=(0,F.CG)(W.hN),{displayStyle:r}=n.attrs;return(0,l.jsx)(d.xu,{position:"absolute",inset:0,zIndex:1,pointerEvents:i&&!o&&"inline"===r?"auto":"none",cursor:"default"})},q=e=>t=>(0,W._I)(t)===e,V=e=>t=>{let n=(0,W._I)(t);return n&&e.includes(n)?n:null},K=e=>{let t=(0,I.I0)(),n=(0,F.CG)(q(e)),l=(0,b.useCallback)(n=>{t((0,W.RW)({nodeId:n?e:null}))},[t,e]),a=(0,b.useCallback)(()=>l(!0),[l]),o=(0,b.useCallback)(()=>l(!1),[l]);return{isZoomed:n,setIsZoomed:l,enterZoom:a,exitZoom:o}},Y=e=>{let t=(0,I.I0)(),n=(0,F.CG)(V(e)),l=!!n,a=(0,b.useCallback)(e=>{t((0,W.RW)({nodeId:e}))},[t]),o=(0,b.useCallback)(()=>a(null),[a]),[i,r]=(0,b.useState)(l);return(0,b.useEffect)(()=>{let e;return l?e=window.setTimeout(()=>{r(!0)},1e3*w.duration):r(!1),()=>clearTimeout(e)},[l]),{isZoomed:l,isZoomComplete:i,zoomedId:n,setZoomedId:a,exitZoom:o}},$=e=>"media-zoom-".concat(e)},5626:function(e,t,n){"use strict";n.d(t,{SV:function(){return o},gS:function(){return i},lt:function(){return a},m4:function(){return r}});var l=n(56253);let a=30,o=16,i=l.DB*o,r=.6},71997:function(e,t,n){"use strict";n.d(t,{d:function(){return o},l:function(){return i}});var l=n(94277),a=n(17955);let o="gamma-moveable-wrapper",i={...l.CC,...a.Wv}},66855:function(e,t,n){"use strict";n.d(t,{Bp:function(){return r},NW:function(){return d},UZ:function(){return m},fP:function(){return o},iJ:function(){return s},k7:function(){return u},vb:function(){return i},zd:function(){return c}});var l=n(5626);let a=["image","video","embed","mediaPlaceholder"],o=e=>i(e.type),i=e=>a.includes(e.name),r=e=>"video"===e.type.name||"embed"===e.type.name,s=e=>e.href||e.sourceUrl||e.url||e.embedUrl||void 0,d=e=>{var t;return(null===(t=e.embed)||void 0===t?void 0:t.url)?e.embed.url:"embedUrl"in e&&e.embedUrl?e.embedUrl:s(e)},u=e=>{var t,n;let l=e.attrs;return[null===(t=l.meta)||void 0===t?void 0:t.title,null===(n=l.meta)||void 0===n?void 0:n.site].filter(Boolean).join(" - ")},c=e=>{var t,n;return null!==(n=null==e?void 0:null===(t=e.split(".").pop())||void 0===t?void 0:t.startsWith("svg"))&&void 0!==n&&n},m=e=>{let{width:t,height:n,resize:a}=e.meta||{};if(!t||!n||(null==a?void 0:a.isAuto)===!1)return e;let o=l.gS,i=window.innerHeight*l.m4;return n/t*o>i?{...e,resize:{width:Math.min(o,i*(t/n)),clipType:null,clipPath:null,clipAspectRatio:null,isAuto:!0}}:e}},59799:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});var l=n(72338),a=n(27191),o=n(38322),i=n(15690);let r=l.hj.create({name:"focusHelpers",addCommands:()=>({focusDelayed:()=>e=>{let{editor:t}=e;return requestAnimationFrame(()=>t.commands.focus()),!0},insertContentAndSelect:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return n=>{let{chain:l,state:a}=n,{from:o,$from:i}=a.selection;return 0===i.parentOffset?l().insertContentAt({from:o-1,to:o},e,{updateSelection:!1}).selectInsertedNode(t).run():l().insertContent(e,{updateSelection:!1}).selectInsertedNode(t).run()}},focusMapped:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;return l=>{let{tr:a,view:i}=l,r=a.mapping.map(e,n)+t;try{let e=(0,o.t)(a.doc.resolve(r));e&&a.setSelection(e),i.focus()}catch(e){console.error("[focusMapped] error selecting pos",r,e)}return!0}},selectInsertedNode:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return t=>{let{tr:n,view:l}=t,a=(0,o.G)(n);if(!a)return!1;let i=(0,o.t)(a,e);return!!i&&(n.setSelection(i),l.focus(),!0)}},selectNodeAtPos:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{let{state:l,tr:o,view:i}=n;try{o.setSelection(a.qv.create(l.doc,e)),t&&o.scrollIntoView(),i.focus()}catch(t){console.warn("[selectNodeAtPos] Error selecting node",e,t)}return!0}},selectInsideNodeAtPos:(e,t)=>n=>{let{tr:l,state:a}=n,i=a.doc.resolve(e),r=(0,o.t)(i,t);return!!r&&(l.setSelection(r),!0)},deleteSelectionAndSelectNear:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return t=>{let{tr:n,state:l}=t,{selection:a}=l;if(a.empty)return!1;n.deleteSelection().scrollIntoView();let o=(0,i.E)(n.doc.resolve(a.from),e);return o&&n.setSelection(o),!0}}})})},13653:function(e,t,n){"use strict";n.d(t,{EL:function(){return p},Jn:function(){return g},Od:function(){return f}});var l=n(72338),a=n(27191),o=n(52780),i=n(11093),r=n(27835),s=n(59080),d=n(20297),u=n(59322);let c=e=>e.isLeaf||["paragraph","table","tableRow","tableCell","gridLayout","gridCell","heading","title","card","cardLayoutItem","cardAccentLayoutItem","button","buttonGroup","gallery","blockquote","calloutBox","smartLayout","smartLayoutCell","toggle","navbar","navbarLinks"].includes(e.type.name),m=e=>e.isAtom||["gallery","card"].includes(e.type.name),f=e=>e.some(e=>e.spec.focusedNode),p=e=>e.some(e=>e.spec.isSelectingNode),g=l.hj.create({name:"focusedNodes",addProseMirrorPlugins(){let e=this.editor;return[new a.Sy({props:{decorations(t){var n;if(!e.isEditable||!(0,i.KB)(e))return;let l=(null===(n=document.activeElement)||void 0===n?void 0:n.tagName)==="IFRAME";if(l)return;let f=t.selection,p=[];return t.doc.nodesBetween(f.from,f.to,(e,t,n)=>{if(c(e)){let l=f instanceof d.hA&&"tableRow"===e.type.name&&f.getTableNode()===n&&f.isRowSelection()&&!f.isColSelection(),i=f instanceof d.hA&&(0,u.CU)(e)&&f.getTableNode()===e&&f.isSelectingAllCells(),r={focusedNode:!0,isSelected:f.from<=t,isFocusedInside:f.from>t||f.to=t+e.nodeSize&&!(f instanceof a.qv)},s=[r.focusedNode?"is-focused":"",r.isSelected?"is-selected":"",r.isFocusedInside?"is-focused-inside":"",r.isSelectingNode?"is-selecting-node":"",r.isSelectingAround?"is-selecting-around":""].join(" ");p.push(o.p.node(t,t+e.nodeSize,{class:s},r))}if((0,r.N5)(e)&&f.from<=t&&f.from<=t)return!1;if("table"===e.type.name&&f instanceof d.hA&&f.isColSelection()&&!f.isSelectingAllCells()){let n=f.$anchorCell.pos,l=s.rU.get(e),{left:a}=l.findCell(n-(t+1));p.push(o.p.node(t,t+e.nodeSize,{},{isColumnSelected:!0,colNumber:a}))}}),o.EH.create(t.doc,p)}}})]}})},39540:function(e,t,n){"use strict";n.d(t,{v:function(){return l}});let l=e=>e.some(e=>e.spec.isFocusedInside)},82400:function(e,t,n){"use strict";n.d(t,{m8:function(){return I},xd:function(){return B},yV:function(){return A}});var l=n(72338),a=n(42111),o=n(20888),i=n(94090),r=n(22265),s=n(93982),d=n(91073),u=n(67748),c=n(7628),m=n(60742),f=n(11093),p=n(96342),g=n(52332),h=n(96255),b=n(54999),y=n(71474);let v=()=>a.VH.get("presentModeFlat"),k=(e,t)=>{let n=t.pos?e.state.doc.nodeAt(t.pos):null;return n&&A(n,t.cardId)},x=e=>{let{tr:t,editor:n,spotlight:l,bias:a=0,method:o="replace"}=e;t.setMeta(y.M,l);let i=y.M.getState(n.state);if(l.cardId||(0,c.D)({cardId:null,method:o,emitChange:!1}),i.cardId!==l.cardId&&l.cardId){(0,c.D)({cardId:l.cardId,method:o,emitChange:!1});let e=(0,h.Bw)(n,l.cardId);e&&t.setSelection(u.c.create(t.doc,e.pos,a))}n.commands.user({spotlight:l})},w=(e,t)=>{if(!t)return;let n=document.querySelector("".concat(e," ").concat((0,p.U8)(t)));n&&(null==n||n.classList.add("cardWiggle"),setTimeout(()=>{null==n||n.classList.remove("cardWiggle")},750))},S=(e,t)=>{let n=k(e,t),l=n&&t.cardId&&t.pos&&B(e,t.cardId,t.pos,e=>A(e,t.cardId),!0).cardId!==t.cardId;return{isSpotlightingBlock:n,isSpotlightingFirstBlock:l}},C=e=>{switch(e.type.name){case"card":return!(0,g.HD)(e);case"toggle":return(0,b.fH)(e.attrs.id);default:return!1}},z=e=>{switch(e.type.name){case"card":return(0,g.Nn)(e.attrs.id,!0),!0;case"toggle":return(0,b.xB)(e.attrs.id,!1),!0;default:return!1}},A=(e,t)=>{switch(e.type.name){case"paragraph":case"heading":case"title":case"math_display":case"codeBlock":return e.textContent.trim().length>0||e.content.content.some(e=>"text"!==e.type.name);case"calloutBox":case"blockquote":case"bullet":case"numbered":case"todo":case"embed":case"video":case"image":case"mediaPlaceholder":case"gallery":case"drawing":case"diagram":case"chart":case"contributors":case"tableOfContents":case"toggleSummary":case"table":case"buttonGroup":case"gridCell":case"smartLayoutCell":return!0;case"toggle":return!(0,b.fH)(e.attrs.id);case"card":{let n=(0,s.X9)((0,i.bh)().getState()),l=n.parents[e.attrs.id].slice(-1)[0];if(v())return!0===(0,g.HD)(e)&&!1===(0,g.HD)(l);return l===t}default:return!1}},I=e=>{switch(e.type.name){case"toggle":return(0,b.fH)(e.attrs.id);case"card":return!(0,g.HD)(e);case"footnote":case"gallery":case"gridCell":case"smartLayoutCell":case"table":case"cardNotes":case"blockquote":case"calloutBox":return!1;default:return!0}};l.hj.create({name:"spotlight",addOptions:()=>({scrollerSelector:"body"}),addCommands(){var e=this;return{syncSpotlightAndScroll:e=>{let{spotlight:t,scroll:n,scrollOffset:l,isFollowing:a=!1}=e;return e=>{let{editor:i,view:r,tr:s}=e,{pos:u,cardId:c}=t,m=y.M.getState(i.state),f=m.cardId!==c;if(u){let e=r.state.doc.nodeAt(u),t=r.nodeDOM(u);if(e&&t instanceof HTMLElement){console.debug("[Spotlight.syncSpotlight] Scrolling to specific card at pos: ".concat(u),t);let n=(0,d.KH)(e)&&e.attrs.id===c;setTimeout(()=>requestAnimationFrame(()=>{n?_({}):E({element:t})}),f?p.id:0)}}else if(null==n?void 0:n.pos){let{pos:e,pct:t}=n;setTimeout(()=>requestAnimationFrame(()=>{i.commands.scrollToPositionInCard(e,t||void 0,l)}),f?p.id:0)}return(0,o.p7)({following:a}),(0,o.Pp)({cardId:c}),x({editor:i,tr:s,spotlight:{pos:u,cardId:c}}),!0}},spotlightCardById:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{let{editor:l,view:a}=n,o=y.M.getState(l.state),i=(0,h.Bw)(l,e);if(!i)return!0;let r=l.state.doc.resolve(i.pos),s=r.depth>1&&v(),d=s?(0,p.AQ)(l.state.doc,i.pos):i;if(d){let n=o.cardId!==e;if(s){(0,g.Nn)(e,!1),(0,p.pE)({pos:r.pos,editor:l});let t=a.nodeDOM(i.pos);t instanceof HTMLElement&&setTimeout(()=>requestAnimationFrame(()=>{E({element:t,behavior:"smooth"})}),n?p.id:0)}return t&&v()?l.commands.spotlightNextBlock(!1,{pos:i.pos,cardId:e}):l.commands.syncSpotlightAndScroll({spotlight:{pos:null,cardId:d.node.attrs.id}})}return!0}},spotlightCurrentCard:()=>e=>{let t,{editor:n,tr:l}=e,a=()=>{console.warn("[Spotlight.spotlightCurrentCard] Couldnt find a card to spotlight, so using first card.");let e=n.view.state.doc.nodeAt(1);return e&&(0,d.KH)(e)?x({editor:n,tr:l,spotlight:{pos:null,cardId:e.attrs.id}}):console.error("[Spotlight.spotlightCurrentCard] nodeAt(1) is unexpectedly not a card. Cannot spotlight"),!0},o=document.querySelector(this.options.scrollerSelector);if(!o)return a();let i=n.state.selection.from,r=i&&n.view.coordsAtPos(i);if(r&&r.top0)console.debug("%c [Spotlight.spotlightCurrentCard] Using cursor pos","background-color: deeppink",{posToUse:t=i});else{let e=(0,f.Je)(n,this.options.scrollerSelector,135).pos;console.debug("%c [Spotlight.spotlightCurrentCard] Using top center pos","background-color: deeppink",{posToUse:t=null==e?void 0:e.pos})}(!t||t<2)&&console.warn("%c [Spotlight.spotlightCurrentCard] Using fallback pos","background-color: deeppink",{posToUse:t=2});let s=v()?(0,p.AQ)(n.state.doc,t):(0,p.J9)(n,t,!1);return s&&s.pos?(v()&&(0,p.pE)({editor:n,pos:t}),x({editor:n,tr:l,spotlight:{pos:null,cardId:s.node.attrs.id}}),!0):a()},ascendUpToParentCard:function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return n=>{let{editor:a,view:i,tr:r}=n,s=y.M.getState(a.state),u=s.pos;if(!u){let t=(0,f.Je)(a,e.options.scrollerSelector,window.innerHeight/2).pos;u=null==t?void 0:t.pos}if(!u)return!1;let c=a.view.state.doc.nodeAt(u),m=(0,p.J9)(a,u,!1);if(v())return!!m&&!!t&&(w(e.options.scrollerSelector,s.cardId),!0);if(!m)return!1;let g=(0,l.qv)(a.state.doc.resolve(m.pos),d.KH);if(!g)return m&&t&&w(e.options.scrollerSelector,m.node.attrs.id),!1;{let e=i.nodeDOM(m.pos);if(!e)return console.warn("[Spotlight.ascendUpToParentCard] Cant find dom node",{domNode:e,presentingCard:m,parentOfPresentingCard:g,node:c,lastSpotlight:s}),!1;let t=g.node.attrs.id,{isSpotlightingBlock:n}=S(a,s);if(n)return a.commands.spotlightNextBlock(!1,{pos:g.pos,cardId:t});(0,o.Pp)({cardId:t}),x({editor:a,tr:r,spotlight:{pos:null,cardId:t}}),M(E,p.nY)({element:e})}return!0}},descendIntoCurrentCard:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"replace";return n=>{let{editor:l,tr:a}=n,o=y.M.getState(l.state),i=e||o.pos;if(v())return l.commands.spotlightExpandCard(i);if(!i)return!0;let r=l.view.state.doc.nodeAt(i),s=r&&(0,d.KH)(r)&&r.attrs.id!==o.cardId;if(!s)return!0;let u=r.attrs.id,{isSpotlightingBlock:c}=S(l,o);return(console.debug("[Spotlight.descendIntoCurrentCard]",{node:r,isSpotlightingBlock:c}),c)?l.commands.spotlightNextBlock(!1,{pos:i,cardId:u}):(x({editor:l,tr:a,spotlight:{pos:null,cardId:u},method:t}),setTimeout(()=>{requestAnimationFrame(()=>{_({})})},p.id),!0)}},spotlightCollapseCard:e=>t=>{let{editor:n,tr:l}=t;if(!v())return n.commands.ascendUpToParentCard();let a=n.view.state.doc.nodeAt(e);if(!a||!(0,d.KH)(a))return console.warn("[Spotlight.spotlightCollapseCard] pos does not resolve to a card node. This is a noop",e),!0;let o=y.M.getState(n.state),i=a.attrs.id;return(0,g.Nn)(i,!0),x({editor:n,tr:l,spotlight:o}),(0,r.cC)("editor").scrollElementIntoView({element:n.view.nodeDOM(e),attempts:0,offsetFromTop:null}),!0},spotlightCollapseNearestExpandableNode:e=>t=>{let{editor:n,tr:a}=t,o=y.M.getState(n.state),i=e||n.state.selection.from,s={pos:i,node:n.view.state.doc.nodeAt(i)};if(!s.node||!C(s.node)){let e=(0,l.qv)(n.state.doc.resolve(i),C);s.node=(null==e?void 0:e.node)||null,s.pos=(null==e?void 0:e.pos)||0}let d=s.pos&&(0,p.AQ)(n.state.doc,s.pos);if(!s.node||!s.pos||!d||d.node.attrs.id===s.node.attrs.id)return console.warn("[Spotlight.spotlightCollapseNearestExpandableNode] pos does not resolve to a valid collapsible node. This is a noop",s.pos),!1;let c=d.pos<=s.pos&&d.pos+d.node.nodeSize>=s.pos;if(!c)return console.warn("[Spotlight.spotlightCollapseNearestExpandableNode] posToUse is outside of the presenting card. This is a noop",s.pos),!1;console.debug("[Spotlight.spotlightCollapseNearestExpandableNode]",{result:s});let m=z(s.node);return m&&((0,r.cC)("editor").scrollElementIntoView({element:n.view.nodeDOM(s.pos),attempts:0,offsetFromTop:null}),s.pos===n.state.selection.from?n.commands.reHighlightExpandableNode():a.setSelection(u.c.create(n.state.doc,s.pos)),k(n,o)&&x({editor:n,tr:a,spotlight:{pos:s.pos,cardId:d.node.attrs.id}})),m},spotlightExpandCard:e=>t=>{let{editor:n}=t,l=y.M.getState(n.state),a=e&&n.view.state.doc.nodeAt(e);if(!a||!(0,d.KH)(a))return console.warn("[Spotlight.spotlightExpandCard] pos does not resolve to a card node. This is a noop",e),!0;let o=a.attrs.id,{isSpotlightingBlock:i}=S(n,l);return(0,g.Nn)(o,!1),console.debug("[Spotlight.spotlightExpandCard]",{node:a,isSpotlightingBlock:i}),setTimeout(()=>{i?n.commands.spotlightNextBlock(!1,{pos:e,cardId:o},"smooth"):n.commands.scrollToPositionInCard(e,0,50)},p.nY),!0},spotlightNextExpandedCard:e=>t=>{let{editor:n,commands:l}=t,a=y.M.getState(n.state);if(!a.pos||!a.cardId)return!0;let o=(0,p.AQ)(n.state.doc,a.pos),i=(0,h._O)(n,a.pos);if(!o||!i)return!0;let r={node:null,pos:null,cardId:null},s=a.pos;return(n.state.doc.descendants((t,l,a)=>{if(!e&&r.pos)return!1;let o=!(0,g.HD)(t),u=(0,d.KH)(t)&&o&&(e?ls);if(!u)return o;let c=t===i.node,m=!c||!e;if(!m){let{isSpotlightingFirstBlock:e}=S(n,{pos:s,cardId:t.attrs.id});m=!e}return m&&(r.node=t,r.pos=l,r.cardId=t.attrs.id),o}),r.pos&&r.cardId)?l.spotlightNextBlock(!1,{pos:r.pos,cardId:r.cardId}):(w(this.options.scrollerSelector,o.node.attrs.id),!0)},spotlightNextCard:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top";return n=>{let{editor:a,commands:i,tr:r}=n,s=y.M.getState(a.state),u=s.pos,{isSpotlightingBlock:c,isSpotlightingFirstBlock:m}=S(a,s);if(c&&v())return i.spotlightNextExpandedCard(e);if(!u){let e=(0,h.Bw)(a,s.cardId);u=null==e?void 0:e.pos}if(!u)return console.warn("[Spotlight.spotlightNextCard] Could not find posToUse",{lastSpotlight:s}),!1;let f=a.view.state.doc.nodeAt(u),g=!!(f&&e&&c&&!m&&f.attrs.id!==s.cardId),b=f&&s.cardId&&f.attrs.id===s.cardId?{node:f,pos:u}:(0,l.qv)(a.state.doc.resolve(u),d.KH),k=g?b:(null==b?void 0:b.pos)?j(a,b.pos,e):null;if(k&&null!==k.pos){console.debug("[Spotlight.spotlightNextCard] Found next card:",{next:k,posToUse:u,isSpotlightingBlock:c});let n=k.node.attrs.id,l=k.pos;if(c)return a.commands.spotlightNextBlock(!1,{pos:l,cardId:n});(0,o.Pp)({cardId:n}),x({editor:a,tr:r,bias:e?1:-1,spotlight:{pos:null,cardId:n}});let i=s.cardId!==n,d="top"==t?_:O;null!==t&&setTimeout(()=>{d({sync:!0,behavior:"auto"})},i?p.id:0)}else console.debug("[Spotlight.spotlightNextCard] No next node. Will attempt to ascendUp",{lastSpotlight:s,posToUse:u,node:f}),a.commands.ascendUpToParentCard();return!0}},spotlightNextBlock:(e,t,n)=>l=>{let{editor:a,tr:i}=l,r=y.M.getState(a.state);if(!r.cardId)return!0;let s=a.state.selection,c=s instanceof u.c,m=c&&(-1===s.side&&e||1===s.side&&!e)?-1:0,f=c?e?s.to+m:s.from+m:void 0,g=(null==t?void 0:t.cardId)||r.cardId,h=(null==t?void 0:t.pos)||r.pos||f,b=c&&null===r.pos&&(0,d.KH)(s.node)&&1===s.$from.depth,{pos:k,cardId:w,domNode:S}=h&&!b?B(a,g,h,A,e):F(a,r.cardId,this.options.scrollerSelector,e);if(null!==k&&S instanceof HTMLElement){var C;let t=v()?null===(C=(0,p.AQ)(a.state.doc,k))||void 0===C?void 0:C.node.attrs.id:w;if(!t)return!0;(0,o.Pp)({cardId:t}),console.debug("%c [Spotlight.spotlightNextBlock]","background-color: deeppink",{prevCardId:r.cardId,cardId:t,pos:k}),setTimeout(()=>{E({element:S,behavior:n})},r.cardId===t?0:p.id),x({editor:a,tr:i,bias:e?1:-1,spotlight:{pos:k,cardId:t}})}else a.commands.ascendUpToParentCard();return!0},turnOffSpotlight:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t=>{let{editor:n,tr:l}=t,a=y.M.getState(n.state);return x({editor:n,tr:l,spotlight:{pos:null,cardId:e?null:a.cardId}}),!0}},scrollToPositionInCard:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return l=>{let{editor:a}=l,o=(0,m.N_)((0,f.fW)(a,e)),i=null==o?void 0:o.getBoundingClientRect();if(!o||!i)return!0;let r=(t||0)*i.height;return console.debug("%c [Spotlight.scrollToPositionInCard]","background-color: deeppink",JSON.stringify({pos:e,offset:n-r}),o),(0,m.wO)({element:o,color:"deeppink",requiredCookie:"spotlightScrollDebug=true"}),E({element:o,offset:n-r}),!0}},scrollToNodeWithPin:(e,t)=>()=>(console.debug("%c [Spotlight.scrollToNodeWithPin] WITH NODE","background-color: deeppink",{scrollToNode:e}),M(E,p.nY,0)({element:e,offset:t}),!0)}},addProseMirrorPlugins:()=>[(0,y.O)((e,t)=>A(e,t))]});let j=function(e,t){var n;let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e.view.state.doc.nodeAt(t),i=o&&(0,d.KH)(o)?{node:o,pos:t}:(0,l.qv)(e.state.doc.resolve(t),d.KH);if(!i)return;let r=e.state.doc.resolve(a?i.pos:i.pos+(null===(n=i.node)||void 0===n?void 0:n.nodeSize)),s=a?r.nodeBefore:r.nodeAfter;if(!s)return;let u=a?r.pos-s.nodeSize:r.pos,c=(0,d.KH)(s);if(c)return console.debug("[Spotlight.findNextDirectSiblingCard]",{nextNode:s,nextPos:u}),{node:s,pos:u}},F=function(e,t,n){var l;let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o={node:null,pos:null,cardId:null,domNode:null},i=(0,f.Je)(e,n,135),r=(null===(l=i.pos)||void 0===l?void 0:l.inside)||null,s=r?e.state.doc.nodeAt(r):null;if(!r||!s)return o;if(s.attrs.id===t)return B(e,t,r,e=>A(e,t),a);let d=e.state.doc.resolve(r),u=(0,h._O)(e,d.before());if(!u)return o;let c=d.before(u.depth+2),m=e.state.doc.nodeAt(c);if(m&&A(m,t)){let t=e.state.doc.resolve(c);return o.pos=t.pos,o.node=m,o.cardId=null==u?void 0:u.node.attrs.id,o.domNode=e.view.nodeDOM(o.pos),o}return B(e,t,c,e=>A(e,t),a)},B=function(e,t,n,a){let o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={node:null,pos:null,cardId:null,domNode:null},r=e.state.doc.resolve(n),s=e.view.state.doc.nodeAt(n),u=(0,l.qv)(r,e=>(0,d.KH)(e)&&e.attrs.id===t),c=s&&(0,d.KH)(s)&&(null==s?void 0:s.attrs.id)===t?{node:s,pos:n}:u;if(!c)return console.debug("[Spotlight.findNextNode] - No card found:",{cardId:t,from:n,node:s}),i;let m=(e,t)=>{let l=e.attrs.id;e.descendants((r,s)=>{let d=t+s+1,u=a(r,l)&&(o?dn);return(!!o||!i.node)&&(u&&(i.node=r,i.pos=d,i.cardId=e.attrs.id),I(r))})};m(c.node,c.pos);let f=c.pos;for(;null===i.pos;){let t=j(e,f,o);if(t)m(t.node,t.pos),f=t.pos;else break}return null!==i.pos&&(i.domNode=e.view.nodeDOM(i.pos)),console.debug("[Spotlight.findNextNode]",{result:i}),i},M=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return l=>{let a;let o={...l,sync:!0,behavior:"auto"};e(o);let i=!1;Promise.race([new Promise(e=>setTimeout(()=>e(!1),n+t+300)),new Promise(e=>{a=()=>e(!0),l.element.addEventListener("transitionend",a)})]).then(e=>{console.debug("[scrollTo withDurationPin] transitionend race result",e),i=!0}).finally(()=>{l.element.removeEventListener("transitionend",a)});let r=+new Date,s=()=>requestAnimationFrame(()=>{e(o);let l=+new Date-r;(l{var t;let{element:n,sync:l=!1,behavior:a="smooth",offset:o}=e;if(!(0,m.cd)(n)){let e=n.querySelector("[data-content-reference]");if(!e||!(0,m.cd)(e))return;n=e}let i=(0,r.cC)("editor");if(!(null===(t=i.scroller)||void 0===t?void 0:t.clientHeight))return;let s=(0,m.LY)(n,i.scrollSelector),d=n.clientHeight/2,u=.45*i.scroller.clientHeight-d;i.scrollTo({top:s-Math.max(void 0!==o?o:u,125),sync:l,behavior:a})},_=e=>{let{sync:t=!1,behavior:n="smooth"}=e;(0,r.cC)("editor").scrollTo({top:0,behavior:n,sync:t})},O=e=>{let{sync:t=!1,behavior:n="smooth"}=e,l=(0,r.cC)("editor"),a=l.scroller;a&&l.scrollTo({top:a.scrollHeight,behavior:n,sync:t})}},71474:function(e,t,n){"use strict";n.d(t,{M:function(){return d},O:function(){return c}});var l=n(73200),a=n(38564),o=n(27191),i=n(52780),r=n(91073),s=n(82400);let d=new o.H$("spotlight"),u=(e,t,n)=>{if(null===t.pos)return i.EH.create(e.doc,[]);let a=[],o=e.doc.nodeAt(t.pos);o&&(0,r.KH)(o)&&!n(o,t.cardId)?a.push(i.p.node(t.pos,t.pos+o.nodeSize,{class:"presenting-card"})):o&&n(o,t.cardId)&&a.push(i.p.node(t.pos,t.pos+o.nodeSize,{class:"spotlight-block"}));let d=t.pos;return e.doc.descendants((e,o)=>(n(e,t.cardId)&&a.push(i.p.node(o,o+e.nodeSize,{class:(0,l.cx)("spotlightable",o>d&&"after-spotlight")})),(0,s.m8)(e)||(0,r.KH)(e))),i.EH.create(e.doc,a)},c=e=>new o.Sy({key:d,state:{init:(t,n)=>{let l={pos:null,cardId:""};return{...l,decorations:u(n,l,e)}},apply(t,n,l,o){let i=a.Gt.getState(o),r=t.getMeta(d),s=i&&i.isChangeOrigin;if(r||s){let t=r||n;return{...t,decorations:u(o,t,e)}}let c=n.decorations.map(t.mapping,t.doc);return{...n,decorations:c}}},props:{attributes:t=>{let n=d.getState(t);if(!n||null===n.pos)return{class:""};let l=t.doc.nodeAt(n.pos);return l&&e(l,n.cardId)?{class:"spotlight-active"}:{class:""}},decorations:e=>{let t=d.getState(e);return t?t.decorations:null}}})},91887:function(e,t,n){"use strict";n.d(t,{i:function(){return P}});var l=n(72338),a=n(90507),o=n(19283),i=n(86353),r=n(59080),s=n(99137),d=n(52322),u=n(28535),c=n(62614),m=n(73200),f=n(42946),p=n(49929),g=n(94523),h=n(87254),b=n(68015),y=n.n(b),v=n(2784),k=n(94090),x=n(98285),w=n(24551),S=n(4878),C=n(93982),z=n(38322),A=n(66028),I=n(944),j=n(4030),F=n(62047),B=n(86189);let M=e=>{let{colWidths:t}=e;return(0,d.jsxs)("colgroup",{children:[(0,d.jsx)("col",{style:{width:"0%"}}),t.map((e,t)=>(0,d.jsx)("col",{className:"col-width-control",style:{width:"".concat(e,"%")}},t))]})};M.displayName="ColGroup";let E=e=>{var t;let n=(0,S.TZ)(),{node:l,editor:o,getPos:i,decorations:b,updateAttributes:F}=e,{colMinPercent:E,newColSize:O}=o.schema.nodes.table.spec,P=(0,s.Ux)(l.attrs.colWidths,O,E),T=r.rU.get(l),R=b.some(e=>e.spec.isFocusedInside),N=null===(t=b.find(e=>e.spec.isColumnSelected))||void 0===t?void 0:t.spec.colNumber,{colWidths:L}=l.attrs,D=(0,k.CG)(C.Pu),W=(0,w.cy)(D),U=(0,I.gF)();(0,v.useEffect)(()=>{T.width!==L.length&&setTimeout(()=>{F({colWidths:(0,s.RS)(T.width)})},0)},[T.width,L,F]);let H=(0,v.useCallback)(e=>{let t=i()+1;return t+T.positionAt(0,e,l)},[i,l,T]),G=(0,v.useCallback)(e=>{let t=H(e+1)+1;o.chain().addColumnAfter(e).command(e=>{let{tr:n}=e,l=(0,z.t)(n.doc.resolve(t));return l&&n.setSelection(l),!0}).run()},[o,H]),q=(0,v.useCallback)(()=>{let e=T.width-1;G(e)},[G,T.width]),V=y()(l.attrs.colWidths.reduce((e,t)=>e+t,0),20);return U?(0,d.jsx)(j.lO,{as:"div",...e,...l.attrs,children:(0,d.jsxs)(u.xu,{w:"fit-content",overflowX:n?"auto":void 0,position:"relative",width:"100%",className:(0,m.cx)("table-wrapper"),"data-selection-ring":!0,sx:W.tableSx,children:[(0,d.jsxs)("table",{style:{width:n?"max-content":"".concat(V,"%"),minWidth:n?"100%":void 0,maxWidth:n?"200vw":void 0,tableLayout:n?"auto":"fixed",position:"relative"},children:[(0,d.jsx)(M,{cols:T.width,colWidths:L}),(0,d.jsx)("thead",{children:(0,d.jsx)(_,{numColumns:T.width,selectedColumn:N,getColumnPosition:H,...e})}),(0,d.jsx)(a.ms,{as:"tbody",className:"table-content"})]}),(0,d.jsx)(B.A,{...e,"data-testid":"select-table-button",onClick:()=>{let e=H(0);o.chain().focus().selectTable(e).run()},label:h.ag._({id:"3xRGMR"})}),R&&(0,d.jsxs)(u.xu,{contentEditable:!1,suppressContentEditableWarning:!0,children:[(0,d.jsx)(g.kH,{placement:"right",label:h.ag._({id:"AgvHni"}),children:(0,d.jsx)(c.z,{position:"absolute",left:"100%",top:"0",height:"100%",onClick:q,onMouseDown:A.br,minWidth:"0",width:"auto",isDisabled:!P,zIndex:1,"data-testid":"add-col-end-button",size:"xs",shadow:"sm",variant:"unstyled",color:"var(--body-color)",className:x.wY,backgroundColor:"var(--clickable-background-color)",ml:1,w:5,children:(0,d.jsx)(p.G,{icon:f.r8p})})}),(0,d.jsx)(g.kH,{placement:"bottom",label:h.ag._({id:"qZd/ph"}),children:(0,d.jsx)(c.z,{position:"absolute",left:"0",top:"100%",width:"100%",onClick:()=>{let e=i()+1,t=T.height-1,n=T.width-1,a=e+T.positionAt(t,n,l);o.chain().focus(a).addRowAfter().run(),requestAnimationFrame(()=>o.chain().focus(a).goToNextCell().run())},onMouseDown:A.br,minHeight:"0",height:6,zIndex:4,"data-testid":"add-row-end-button",size:"xs",shadow:"sm",variant:"unstyled",color:"var(--body-color)",className:x.wY,mt:1,children:(0,d.jsx)(p.G,{icon:f.r8p})})})]})]})}):null},_=e=>{let{numColumns:t,selectedColumn:n,getColumnPosition:l,...a}=e,{editor:o}=a,i=(0,v.useCallback)(e=>{let t=l(e);o.chain().focus().selectColumn(t).run()},[o,l]);if(!t)return null;let r=Array.from(Array(t).keys());return(0,d.jsxs)("tr",{contentEditable:!1,suppressContentEditableWarning:!0,children:[(0,d.jsx)("th",{style:{padding:0}}),r.map(e=>(0,d.jsx)(O,{colNumber:e,selectColumn:i,isSelected:e===n,...a},e))]})},O=(0,v.memo)(e=>{let{colNumber:t,selectColumn:n,...l}=e,{decorations:a}=l,{colHover:o}=(0,F.Sz)(a),{colFocus:i}=(0,F.vz)(a),r=(0,v.useCallback)(()=>n(t),[t,n]);return(0,d.jsx)("th",{style:{position:"relative",padding:0,border:0},className:"table-col-control",children:(0,d.jsx)(B.A,{...l,handlePlacement:"top",label:h.ag._({id:"K3GOZ1"}),zIndex:"3",isVisible:o===t||i===t,onClick:r,"data-test-column-control":t})},t)});O.displayName="SelectColumnHeader";let P=l.NB.create({name:"table",priority:o.a.Table,containerHandle:!0,addNodeView:()=>(0,a.fW)(E,{update:i.E7}),addOptions:()=>({resizable:!0,handleWidth:10,colMinPercent:10,newColSize:20,lastColumnResizable:!1,allowTableNodeSelection:!0}),content:"tableRow+",tableRole:"table",isolating:!0,allowGapCursor:!1,group:"cardBlock layoutBlock footnoteBlock calloutBlock",parseHTML:()=>[{tag:"table"}],renderHTML(e){let{HTMLAttributes:t}=e;return["table",(0,l.P1)(this.options.HTMLAttributes,t),["tbody",0]]},addAttributes(){let e="colWidths";return{colWidths:{default:[],renderHTML:t=>{let{colWidths:n}=t;return n&&n.length?{[e]:JSON.stringify(n)}:{}},parseHTML:t=>{let n=t.getAttribute(e);if(n)try{let e=JSON.parse(n);if(Array.isArray(e))return(0,s.jD)(e),e}catch(e){}let l=t.querySelector("tr");if(!l)return[];let a=0;return l.childNodes.forEach(e=>{"TD"===e.nodeName&&a++}),(0,s.RS)(a)}},fullWidthBlock:{default:!1}}},addCommands(){return{insertTable:function(){let{rows:e=3,cols:t=3,withHeaderRow:n=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return l=>{let{dispatch:a,editor:o,commands:i}=l;if(!a)return!1;let r=function(e,t,n,l,a){let o=function(e){if(e.cached.tableNodeTypes)return e.cached.tableNodeTypes;let t={};return Object.keys(e.nodes).forEach(n=>{let l=e.nodes[n];l.spec.tableRole&&(t[l.spec.tableRole]=l)}),e.cached.tableNodeTypes=t,t}(e),i=[],r=[];for(let e=0;et=>{let{state:n,dispatch:l,tr:a}=t;if(!(0,r.Lw)(n.selection)||!l)return!1;let{table:o,tableStart:i}=(0,r.zN)(n.selection);return(0,r.Wf)(a,{table:o,col:e,tableStart:i,newColSize:this.options.newColSize,colMinPercent:this.options.colMinPercent})},addColumnAfter:e=>t=>{let{state:n,dispatch:l,tr:a}=t;if(!(0,r.Lw)(n.selection)||!l)return!1;let{table:o,tableStart:i}=(0,r.zN)(n.selection);return(0,r.Wf)(a,{table:o,col:e+1,tableStart:i,newColSize:this.options.newColSize,colMinPercent:this.options.colMinPercent})},equalizeColumns:()=>e=>{let{state:t,dispatch:n,tr:l}=e;if(!(0,r.Lw)(t.selection)||!n)return!1;let{map:a,tableStart:o}=(0,r.zN)(t.selection);return l.setNodeMarkup(o-1,void 0,{colWidths:(0,s.RS)(a.width)}),!0},visualizeTable:()=>e=>{let{state:t,dispatch:n,tr:l}=e;if(!(0,r.Lw)(t.selection)||!n)return!1;let{map:a,tableStart:o}=(0,r.zN)(t.selection);return l.setNodeMarkup(o-1,void 0,{colWidths:(0,s.RS)(a.width)}),!0},deleteColumn:()=>e=>{let{state:t,dispatch:n,tr:l}=e;return!!n&&(0,r.oU)(t.selection,l,n)},addRowBefore:()=>e=>{let{state:t,dispatch:n}=e;return(0,r.z2)(t,n)},addRowAfter:()=>e=>{let{state:t,dispatch:n}=e;return(0,r.dl)(t,n)},deleteRow:()=>e=>{let{state:t,dispatch:n,tr:l}=e;return(0,r.A_)(t.selection,l,n)},deleteTable:()=>e=>{let{state:t,tr:n,dispatch:l}=e;return!!l&&(0,r.Lh)(t.selection,n,l)},deleteTableWhenEmpty:()=>e=>{let{state:t,tr:n,dispatch:l}=e;return!!l&&(0,r.Fw)(t.selection,n,l)},deleteColWhenEmpty:()=>e=>{let{state:t,tr:n,dispatch:l}=e;return!!l&&(0,r.mh)(t.selection,n,l)},deleteRowWhenEmpty:()=>e=>{let{state:t,tr:n,dispatch:l}=e;return!!l&&(0,r._W)(t.selection,n,l)},mergeCells:()=>e=>{let{state:t,dispatch:n}=e;return(0,r.JX)(t,n)},splitCell:()=>e=>{let{state:t,dispatch:n}=e;return(0,r.Cr)(t,n)},toggleHeaderColumn:()=>e=>{let{state:t,dispatch:n}=e;return(0,r.sr)(t,n)},toggleHeaderRow:()=>e=>{let{state:t,dispatch:n}=e;return(0,r.lm)(t,n)},toggleHeaderCell:()=>e=>{let{state:t,dispatch:n}=e;return(0,r.II)(t,n)},mergeOrSplit:()=>e=>{let{state:t,dispatch:n}=e;return!!(0,r.JX)(t,n)||(0,r.Cr)(t,n)},setCellAttribute:(e,t)=>n=>{let{state:l,dispatch:a}=n;return(0,r.wb)(e,t)(l,a)},goToNextCell:()=>e=>{let{state:t,dispatch:n}=e;return(0,r.nA)(1)(t,n)},goToPreviousCell:()=>e=>{let{state:t,dispatch:n}=e;return(0,r.nA)(-1)(t,n)},fixTables:()=>e=>{let{state:t,dispatch:n}=e;return n&&(0,r.tp)(t),!0},setCellSelection:e=>t=>{let{tr:n,dispatch:l}=t;if(l){let t=r.Xc.create(n.doc,e.anchorCell,e.headCell);n.setSelection(t)}return!0}}},addKeyboardShortcuts(){let e=()=>this.editor.commands.first(e=>{let{commands:t}=e;return[()=>t.deleteTableWhenEmpty(),()=>t.deleteRowWhenEmpty(),()=>t.deleteColWhenEmpty()]});return{Tab:()=>!!this.editor.commands.goToNextCell()||!!this.editor.can().addRowAfter()&&this.editor.chain().addRowAfter().goToNextCell().run(),"Shift-Tab":()=>this.editor.commands.goToPreviousCell(),Backspace:e,"Mod-Backspace":e,Delete:e,"Mod-Delete":e}},addProseMirrorPlugins(){return this.options.resizable,[(0,r.VH)({handleWidth:this.options.handleWidth,colMinPercent:this.options.colMinPercent,lastColumnResizable:this.options.lastColumnResizable}),(0,r.G3)({allowTableNodeSelection:this.options.allowTableNodeSelection})]},extendNodeSchema(e){var t,n;let a={name:e.name,options:e.options,storage:e.storage};return{colMinPercent:null===(t=e.options)||void 0===t?void 0:t.colMinPercent,newColSize:null===(n=e.options)||void 0===n?void 0:n.newColSize,tableRole:(0,l.nU)((0,l.Nl)(e,"tableRole",a))}}})},20297:function(e,t,n){"use strict";n.d(t,{FK:function(){return m},fI:function(){return c},hA:function(){return d}});var l=n(30764),a=n(27191),o=n(52780),i=n(15401),r=n(15039),s=n(15034);class d extends a.Y1{map(e,t){let n=e.resolve(t.map(this.$anchorCell.pos)),l=e.resolve(t.map(this.$headCell.pos));if((0,s.Fn)(n)&&(0,s.Fn)(l)&&(0,s.yL)(n,l)){let e=this.$anchorCell.node(-1)!=n.node(-1);return e&&this.isRowSelection()?d.rowSelection(n,l):e&&this.isColSelection()?d.colSelection(n,l):new d(n,l)}return a.Bs.between(n,l)}content(){let e=this.$anchorCell.node(-1),t=r.r.get(e),n=this.$anchorCell.start(-1),a=t.rectBetween(this.$anchorCell.pos-n,this.$headCell.pos-n),o={},i=[];for(let n=a.top;n0||u>0){let e=i.attrs;d>0&&(e=(0,s.H6)(e,0,d)),u>0&&(e=(0,s.H6)(e,e.colspan-u,u)),i=l.lefta.bottom){let e=(0,s.fi)(i.attrs,"rowspan",Math.min(l.bottom,a.bottom)-Math.max(l.top,a.top));i=l.top1&&void 0!==arguments[1]?arguments[1]:l.p2.empty,n=e.steps.length,o=this.ranges;if(0===t.size){if(this.isSelectingAllCells()){(0,i.Lh)(this,e);return}if(this.isRowSelection()){(0,i.A_)(this,e);return}if(this.isColSelection()){(0,i.oU)(this,e);return}}for(let a=0;a{let a=e(n,l);a||(t=!1)}),t}forEachCell(e){let t=this.$anchorCell.node(-1),n=r.r.get(t),l=this.$anchorCell.start(-1),a=n.cellsInRect(n.rectBetween(this.$anchorCell.pos-l,this.$headCell.pos-l));for(let n=0;n0)return!1;let n=e+this.$anchorCell.nodeAfter.attrs.rowspan,l=t+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(n,l)==this.$headCell.node(-1).childCount}static colSelection(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=r.r.get(e.node(-1)),l=e.start(-1),a=n.findCell(e.pos-l),o=n.findCell(t.pos-l),i=e.node(0);return a.top<=o.top?(a.top>0&&(e=i.resolve(l+n.map[a.left])),o.bottom0&&(t=i.resolve(l+n.map[o.left])),a.bottom0)return!1;let a=n+this.$anchorCell.nodeAfter.attrs.colspan,o=l+this.$headCell.nodeAfter.attrs.colspan;return Math.max(a,o)==e.width}eq(e){return e instanceof d&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=r.r.get(e.node(-1)),l=e.start(-1),a=n.findCell(e.pos-l),o=n.findCell(t.pos-l),i=e.node(0);return a.left<=o.left?(a.left>0&&(e=i.resolve(l+n.map[a.top*n.width])),o.right0&&(t=i.resolve(l+n.map[o.top*n.width])),a.right2&&void 0!==arguments[2]?arguments[2]:t;return new d(e.resolve(t),e.resolve(n))}getBookmark(){return new u(this.$anchorCell.pos,this.$headCell.pos)}constructor(e,t=e){let n=e.node(-1),l=r.r.get(n),o=e.start(-1),i=l.rectBetween(e.pos-o,t.pos-o),s=e.node(0),d=l.cellsInRect(i).filter(e=>e!=t.pos-o);d.unshift(t.pos-o);let u=d.map(e=>{let t=n.nodeAt(e),l=e+o+1;return new a.xm(s.resolve(l),s.resolve(l+t.content.size))});super(u[0].$from,u[0].$to,u),this.$anchorCell=e,this.$headCell=t,this.$anchorCell=e,this.$headCell=t}}if(!d.prototype.jsonID)try{a.Y1.jsonID("CellSelection2",d)}catch(e){}class u{map(e){return new u(e.map(this.anchor),e.map(this.head))}resolve(e){let t=e.resolve(this.anchor),n=e.resolve(this.head);return"row"==t.parent.type.spec.tableRole&&"row"==n.parent.type.spec.tableRole&&t.index(){t.push(o.p.node(n,n+e.nodeSize,{class:"selectedCell"}))}),o.EH.create(e.doc,t)}function m(e,t,n){let l,o;let i=(t||e).selection,s=(t||e).doc;if(i instanceof a.qv&&(o=i.node.type.spec.tableRole)){if("cell"==o||"header_cell"==o)l=d.create(s,i.from);else if("row"==o){let e=s.resolve(i.from+1);l=d.rowSelection(e,e)}else if(!n){let e=r.r.get(i.node),t=i.from+1,n=t+e.map[e.width*e.height-1];l=d.create(s,t+1,n)}}else i instanceof a.Bs&&function(e){let{$from:t,$to:n}=e;if(t.pos==n.pos||t.pos=0&&!(t.after(o+1)=0&&!(n.before(e+1)>n.start(e));e--,a--);return l==a&&/row|table/.test(t.node(o).type.spec.tableRole)}(i)?l=a.Bs.create(s,i.from):i instanceof a.Bs&&function(e){let t,n,{$from:l,$to:a}=e;for(let e=l.depth;e>0;e--){let n=l.node(e);if("cell"===n.type.spec.tableRole||"header_cell"===n.type.spec.tableRole){t=n;break}}for(let e=a.depth;e>0;e--){let t=a.node(e);if("cell"===t.type.spec.tableRole||"header_cell"===t.type.spec.tableRole){n=t;break}}return t!==n&&0===a.parentOffset}(i)&&(l=a.Bs.create(s,i.$from.start(),i.$from.end()));return l&&(t||(t=e.tr)).setSelection(l),t}},99137:function(e,t,n){"use strict";n.d(t,{CO:function(){return p},GI:function(){return m},RS:function(){return o},Ux:function(){return f},Z7:function(){return g},jD:function(){return h}});var l=n(68015),a=n.n(l);let o=e=>{let t=a()(100/e,2),n=[];for(let l=0;ll?s(e,t,n):r(e,t),r=(e,t)=>{let n=0,l=[];for(let a=t+1;a{let l=0,a=[];for(let o=t+1;on&&(l+=t,a.push(o))}let o=[];for(let t=0;t{let t=e.reduce((e,t)=>e+t,0),n=[];for(let l=0;l{let l=0,a=[];for(let o=0;on&&(l+=i,a.push(o))}let o=[];for(let a=0;a3&&void 0!==arguments[3]?arguments[3]:0,a=0;for(let o=0;o{let a=[...e],o=e[t],r=o-l,s=e.reduce((e,n,a)=>at?e+l:e,0),d=n>0?Math.min(n,100-s-o):Math.max(-r,n),u=i(a,t,l,d>0),m=Math.abs(d),f=d>0,p=0;for(;m>.001;){let e=Math.min(m,1);f&&(e*=-1);let n=c(a,e,u,l);if(a[t]-=n,m-=Math.abs(n),u=i(a,t,l,d>0),++p>1e3)break}return h(a,l),a},f=(e,t,n)=>{let l=p(e,e.length,t,n);return l.length!==e.length},p=(e,t,n,l)=>{let a=n,o=[...e];o.splice(t,0,0);let i=u(o,t,l),r=!1;for(;a>.001;){if(i.every(e=>0===e)){r=!0;break}let e=Math.min(a,1),n=c(o,-e,i,l);o[t]-=n,i=u(o,t,l),a-=Math.abs(n)}return r?e:(h(o,l),o)},g=(e,t)=>{let n=0,l=t.sort((e,t)=>t-e),a=[...e];l.forEach(t=>{n+=e[t],a.splice(t,1)});let o=d(a);for(;n>.001;){let e=Math.min(n,1),t=c(a,e,o);o=d(a),n-=Math.abs(t)}return h(a,0),a},h=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,l=0;e.forEach((t,n)=>{let a=Math.round(100*t);e[n]=a,l+=a});let a=100*n-l,o=Math.abs(a),i=0;for(;o>0;){let n=a<0?-1:1,l=i%e.length;if(void 0!==t&&n<0&&e[l]<=100*t){i++;continue}e[l]+=n,i++,o--}for(let t=0;t0?-1:0;(0,u.a2)(c,a,l+m)&&(m=0==l||l==c.width?null:0);for(let t=0;t0&&l0&&l.map[r-1]==s||n0?-1:0;(function(e,t,n){let l=(0,s.F)(t.type.schema).header_cell;for(let a=0;a0&&n0&&r==l.map[i-l.width]){let n=a.nodeAt(r).attrs;e.setNodeMarkup(e.mapping.slice(s).map(r+o),void 0,(0,u.fi)(n,"rowspan",n.rowspan-1)),t+=n.colspan-1}else if(n0&&a[i]==a[i-1]||t.right0&&a[o]==a[o-n]||t.bottom{let{node:t}=e;return l[t.type.spec.tableRole]},(e,t)=>{let l,a;let o=e.selection;if(o instanceof i.hA){if(o.$anchorCell.pos!=o.$headCell.pos)return!1;l=o.$anchorCell.nodeAfter,a=o.$anchorCell.pos}else{if(!(l=(0,u.Dq)(o.$from)))return!1;a=(0,u.m9)(o.$from).pos}if(1==l.attrs.colspan&&1==l.attrs.rowspan)return!1;if(t){let r,s=l.attrs,d=[],m=s.colwidth;s.rowspan>1&&(s=(0,u.fi)(s,"rowspan",1)),s.colspan>1&&(s=(0,u.fi)(s,"colspan",1));let f=c(e.selection),p=e.tr;for(let e=0;e{n.attrs[e]!==t&&a.setNodeMarkup(l,void 0,(0,u.fi)(n.attrs,e,t))}):a.setNodeMarkup(o.pos,void 0,(0,u.fi)(o.nodeAfter.attrs,e,t)),l(a)}return!0}}function w(e,t,n){let l=t.map.cellsInRect({left:0,top:0,right:"row"==e?t.map.width:1,bottom:"column"==e?t.map.height:1});for(let e=0;ea.table.nodeAt(e));for(let e=0;e{let t=e+a.tableStart,n=o.doc.nodeAt(t);n&&o.setNodeMarkup(t,p,n.attrs)}),n(o)}return!0}}let C=S("row",{useDeprecatedLogic:!0}),z=S("column",{useDeprecatedLogic:!0}),A=S("cell",{useDeprecatedLogic:!0});function I(e){return function(t,n){if(!(0,u.Lw)(t.selection))return!1;let l=function(e,t){if(t<0){let t=e.nodeBefore;if(t)return e.pos-t.nodeSize;for(let t=e.index(-1)-1,n=e.before();t>=0;t--){let l=e.node(-1).child(t);if(l.childCount)return n-1-l.lastChild.nodeSize;n-=l.nodeSize}}else{if(e.index()0;e--){let a=l.node(e);if("table"==a.type.spec.tableRole){t.delete(l.before(e),l.after(e)).scrollIntoView();let a=(0,o.a)(t);return a&&t.setSelection(a),n&&n(t),!0}}return!1}let F=(e,t,n)=>e instanceof i.hA&&!!(e.isSelectingAllCells()&&e.everyCell(y))&&j(e,t,n),B=(e,t,n)=>!!(e instanceof i.hA&&e.isRowSelection())&&!!e.everyCell(y)&&b(e,t,n),M=(e,t,n)=>!!(e instanceof i.hA&&e.isColSelection())&&!!e.everyCell(y)&&f(e,t,n)},59080:function(e,t,n){"use strict";n.d(t,{Xc:function(){return a.hA},rU:function(){return i.r},Wf:function(){return G.Wf},dl:function(){return G.dl},z2:function(){return G.z2},VH:function(){return R},mh:function(){return G.mh},oU:function(){return G.oU},A_:function(){return G.A_},_W:function(){return G._W},Lh:function(){return G.Lh},Fw:function(){return G.Fw},tp:function(){return d},nA:function(){return G.nA},Lw:function(){return r.Lw},JX:function(){return G.JX},zN:function(){return G.zN},wb:function(){return G.wb},Cr:function(){return G.Cr},G3:function(){return q},II:function(){return G.II},sr:function(){return G.sr},lm:function(){return G.lm}});var l=n(27191),a=n(20297),o=n(34332),i=n(15039),r=n(15034);let s=new l.H$("fix-tables");function d(e,t){let n,l=(t,l)=>{"table"==t.type.spec.tableRole&&(n=function(e,t,n,l){let a,d;let u=i.r.get(t);if(!u.problems)return l;l||(l=e.tr);let c=[];for(let e=0;e0){let t="cell";n.firstChild&&(t=n.firstChild.type.spec.tableRole);let c=[];for(let n=0;nt.width)for(let o=0,i=0;ot.height){let o=[];for(let e=0,l=(t.height-1)*t.width;e=t.width)&&n.nodeAt(t.map[l+e]).type==m.header_cell;o.push(a?d||(d=m.header_cell.createAndFill()):s||(s=m.cell.createAndFill()))}let u=m.row.create(null,c.HY.from(o)),f=[];for(let e=t.height;e{let s=n.selection;if(s instanceof a.hA)return y(n,o,l.Y1.near(s.$headCell,t));if("horiz"!=e&&!s.empty)return!1;let d=C(i,e,t);if(null==d)return!1;if("horiz"==e)return y(n,o,l.Y1.near(n.doc.resolve(s.head+t),t));{let a=n.doc.resolve(d),i=(0,r.li)(a,e,t),s;return s=i?l.Y1.near(i,1):t<0?l.Y1.near(n.doc.resolve(a.before(-1)),-1):l.Y1.near(n.doc.resolve(a.after(-1)),1),y(n,o,s)}}}function k(e,t){return(n,l,o)=>{let i=n.selection;if(!(i instanceof a.hA)){let l=C(o,e,t);if(null==l)return!1;i=new a.hA(n.doc.resolve(l))}let s=(0,r.li)(i.$headCell,e,t);return!!s&&y(n,l,new a.hA(i.$anchorCell,s))}}function x(e,t){let n=e.selection;if(!(n instanceof a.hA))return!1;if(t){let l=e.tr,a=(0,o.F)(e.schema).cell.createAndFill().content;n.forEachCell((e,t)=>{e.content.eq(a)||l.replace(l.mapping.map(t+1),l.mapping.map(t+e.nodeSize-1),new c.p2(a,0,0))}),l.docChanged&&t(l)}return!0}function w(e,t,n){if(!(0,r.Lw)(e.state.selection))return!1;let l=function(e){if(!e.size)return null;let{content:t,openStart:n,openEnd:l}=e;for(;1==t.childCount&&(n>0&&l>0||"table"==t.firstChild.type.spec.tableRole);)n--,l--,t=t.firstChild.content;let a=t.firstChild,i=a.type.spec.tableRole,r=a.type.schema,s=[];if("row"==i)for(let e=0;e=0;t--){let{rowspan:a,colspan:o}=l.child(t).attrs;for(let t=e;t=t.length&&t.push(c.HY.empty),n[a]t&&(s=s.type.create((0,r.H6)(s.attrs,s.attrs.colspan,n+s.attrs.colspan-t),s.content)),i.push(s),n+=s.attrs.colspan;for(let t=1;tn&&(l=l.type.create((0,r.fi)(l.attrs,"rowspan",Math.max(1,n-l.attrs.rowspan)),l.content)),i.push(l)}e.push(c.HY.from(i))}o=e,a=n}return{width:l,height:a,rows:o}}(l,d.right-d.left,d.bottom-d.top),h(e.state,e.dispatch,a,d,l),!0}if(!l)return!1;{let t=(0,r.Le)(e.state.selection),n=t.start(-1);return h(e.state,e.dispatch,n,i.r.get(t.node(-1)).findCell(t.pos-n),l),!0}}function S(e,t){var n;let l;if(t.ctrlKey||t.metaKey)return!1;let o=z(e,t.target);if(t.shiftKey&&e.state.selection instanceof a.hA)i(e.state.selection.$anchorCell,t),t.preventDefault();else if(t.shiftKey&&o&&null!=(l=(0,r.m9)(e.state.selection.$anchor))&&(null===(n=A(e,t))||void 0===n?void 0:n.pos)!=l.pos)i(l,t),t.preventDefault();else if(!o)return!1;function i(t,n){let l=A(e,n),o=null==r.Kv.getState(e.state);if(!l||!(0,r.yL)(t,l)){if(!o)return!1;l=t}let i=new a.hA(t,l);if(o||!e.state.selection.eq(i)){let n=e.state.tr.setSelection(i);o&&n.setMeta(r.Kv,t.pos),e.dispatch(n)}}function s(){e.root.removeEventListener("mouseup",s),e.root.removeEventListener("dragstart",s),e.root.removeEventListener("mousemove",d),null!=r.Kv.getState(e.state)&&e.dispatch(e.state.tr.setMeta(r.Kv,-1))}function d(n){let l=r.Kv.getState(e.state),a;if(null!=l)a=e.state.doc.resolve(l);else if(z(e,n.target)!=o&&!(a=A(e,t)))return s();a&&i(a,n)}return e.root.addEventListener("mouseup",s),e.root.addEventListener("dragstart",s),e.root.addEventListener("mousemove",d),!1}function C(e,t,n){if(!(e.state.selection instanceof l.Bs))return null;let{$head:a}=e.state.selection;for(let l=a.depth-1;l>=0;l--){let o=a.node(l),i=n<0?a.index(l):a.indexAfter(l);if(i!=(n<0?0:o.childCount))break;if("cell"==o.type.spec.tableRole||"header_cell"==o.type.spec.tableRole){let o=a.before(l),i="vert"==t?n>0?"down":"up":n>0?"right":"left";return e.endOfTextblock(i)?o:null}}return null}function z(e,t){for(;t&&t!=e.dom;t=t.parentNode)if("TD"==t.nodeName||"TH"==t.nodeName)return t}function A(e,t){let n=e.posAtCoords({left:t.clientX,top:t.clientY});return n&&n?(0,r.m9)(e.state.doc.resolve(n.pos)):null}var I=n(68015),j=n.n(I),F=n(52780),B=n(86392),M=n(38564),E=n(857),_=n(46795);let O=new l.H$("tableColumnResizing");class P{getActiveHandleAbs(e){return null===this.activeHandle?null:(0,_.XV)(e,this.activeHandle)}reset(){return this.activeHandle=null,this.dragging=null,this}setHandle(e,t){if(null===t.setHandle)return this.activeHandle=null,this;let n=M.Gt.getState(e);if(!n)return this;let{type:l,binding:a}=n;return this.activeHandle=(0,E.JR)(t.setHandle,l,a.mapping),this}setDragging(e){return this.dragging=e.setDragging,this}apply(e,t){let n=e.getMeta(O);return n&&"setHandle"in n?this.setHandle(t,n):n&&"setDragging"in n?this.setDragging(n):n&&"reset"in n?this.reset():this}constructor(e=null,t=null){this.activeHandle=e,this.dragging=t}}var T=n(99137);function R(){let{handleWidth:e=5,colMinPercent:t=10,lastColumnResizable:n=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=new l.Sy({key:O,state:{init:()=>new P,apply:(e,t,n,l)=>t.apply(e,l)},props:{attributes(e){let t=O.getState(e),n=t.getActiveHandleAbs(e);return null!==n?{class:"resize-cursor"}:{class:""}},handleDOMEvents:{mousemove:(t,l)=>((function(e,t,n,l){if(!e.editable)return;let a=O.getState(e.state);if(a.dragging)return;let o=function(e){for(;e&&"TD"!=e.nodeName&&"TH"!=e.nodeName;)e=e.classList.contains("ProseMirror")?null:e.parentNode;return e}(t.target),i=null;if(o){let{left:l,right:a}=o.getBoundingClientRect();t.clientX-l<=n?i=N(e,t,"left"):a-t.clientX<=n&&(i=N(e,t,"right"))}let r=a.getActiveHandleAbs(e.state);if(i!==r){if(!l&&null!==i){let t=e.state.doc.resolve(i);if(W(t))return}L(e,i)}})(t,l,e,n),!1),mouseleave:e=>((function(e){let t=O.getState(e.state),n=t.getActiveHandleAbs(e.state);null===n||t.dragging||L(e,null)})(e),!1),mousedown:(e,n)=>((function(e,t,n){if(!e.editable)return;let a=O.getState(e.state),o=a.getActiveHandleAbs(e.state);if(null===o||a.dragging)return 0;let i=e.state.doc.resolve(o),r=i.node(-1),s=i.start(-1),d=[...r.attrs.colWidths],u=D(i),c=function(e,t){let n=e.domAtPos(t),l=e.domAtPos(t).node;for(;"TABLE"!=l.nodeName;)l=l.parentNode;let a=n.node.childNodes[n.offset];return a.scrollWidth}(e,o),m=U(e,i),f=H(e,i),p=e.state.doc.resolve(o+2),g=e.state.selection.from>s&&e.state.selection.from col.col-width-control");n.forEach((e,t)=>{o.item(t).style.width="".concat(e,"%")})})(e,a,b=(0,T.GI)(i,o,r,n)),(0,B.CI)(m)}window.addEventListener("mouseup",y),window.addEventListener("mousemove",v),t.preventDefault()})(e,n,t),!1)},decorations(e){let t=O.getState(e),n=t.getActiveHandleAbs(e);if(null!==n)return function(e,t){let n=[];try{let l=e.doc.resolve(t),a=l.node(-1),o=i.r.get(a),r=l.start(-1),s=o.colCount(l.pos-r)+l.nodeAfter.attrs.colspan;for(let e=0;e{let t=e.node(-1),n=i.r.get(t),l=e.start(-1);return n.colCount(e.pos-l)},W=e=>{let t=e.node(-1),n=i.r.get(t),l=D(e);return l===n.width-1},U=(e,t)=>{let n=e.domAtPos(t.start(-1)).node;for(;"TABLE"!=n.nodeName;)n=n.parentNode;return n},H=(e,t)=>U(e,t).scrollWidth;var G=n(15401);function q(){let{allowTableNodeSelection:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new l.Sy({key:r.Kv,state:{init:()=>null,apply(e,t){let n=e.getMeta(r.Kv);if(null!=n)return -1==n?null:n;if(null==t||!e.docChanged)return t;let{deleted:l,pos:a}=e.mapping.mapResult(t);return l?null:a}},props:{decorations:a.fI,handleDOMEvents:{mousedown:S},createSelectionBetween:e=>null!=r.Kv.getState(e.state)?e.state.selection:null,handleKeyDown:b,handlePaste:w},appendTransaction:(t,n,l)=>(0,a.FK)(l,d(l,n),e)})}},34332:function(e,t,n){"use strict";function l(e){let t=e.cached.tableNodeTypes;if(!t)for(let n in t=e.cached.tableNodeTypes={},e.nodes){let l=e.nodes[n],a=l.spec.tableRole;a&&(t[a]=l)}return t}n.d(t,{F:function(){return l}})},15039:function(e,t,n){"use strict";let l,a;if(n.d(t,{U:function(){return o},r:function(){return i}}),"undefined"!=typeof WeakMap){let e=new WeakMap;l=t=>e.get(t),a=(t,n)=>(e.set(t,n),n)}else{let e=[],t=0;l=t=>{for(let n=0;n(10==t&&(t=0),e[t++]=n,e[t++]=l)}class o{constructor(e,t,n,l){this.left=e,this.top=t,this.right=n,this.bottom=l}}class i{findCell(e){for(let t=0;tt%this.width==0)}colCount(e){for(let t=0;tl&&(o+=a.attrs.colspan)}}for(let e=0;e1&&(n=!0)}-1==t?t=o:t!=o&&(t=Math.max(t,o))}return t}(e),n=e.childCount,l=[],a=0,o=null,r=[];for(let e=0,a=t*n;e=n){(o||(o=[])).push({type:"overlong_rowspan",pos:s,n:m-e});break}let d=a+e*t;for(let e=0;e0;t--)if("row"==e.node(t).type.spec.tableRole)return e.node(0).resolve(e.before(t+1));return null}function d(e){for(let t=e.depth;t>0;t--){let n=e.node(t).type.spec.tableRole;if("cell"===n||"header_cell"===n)return e.node(t)}return null}function u(e){let t=e.$head;for(let e=t.depth;e>0;e--)if("row"==t.node(e).type.spec.tableRole)return!0;return!1}function c(e){return e instanceof a.hA?e.$anchorCell.pos>e.$headCell.pos?e.$anchorCell:e.$headCell:e instanceof l.qv&&"cell"==e.node.type.spec.tableRole?e.$anchor:s(e.$head)||function(e){for(let t=e.nodeAfter,n=e.pos;t;t=t.firstChild,n++){let l=t.type.spec.tableRole;if("cell"==l||"header_cell"==l)return e.doc.resolve(n)}for(let t=e.nodeBefore,n=e.pos;t;t=t.lastChild,n--){let l=t.type.spec.tableRole;if("cell"==l||"header_cell"==l)return e.doc.resolve(n-t.nodeSize)}}(e.$head)}function m(e){return"row"==e.parent.type.spec.tableRole&&e.nodeAfter}function f(e){return e.node(0).resolve(e.pos+e.nodeAfter.nodeSize)}function p(e,t){return e.depth==t.depth&&e.pos>=t.start(-1)&&e.pos<=t.end(-1)}function g(e,t,n){let l=e.start(-1),a=i.r.get(e.node(-1)),o=a.nextCell(e.pos-l,t,n);return null==o?null:e.node(0).resolve(l+o)}function h(e,t,n){let l={};for(let t in e)l[t]=e[t];return l[t]=n,l}function b(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,l=h(e,"colspan",e.colspan-n);return l.colwidth&&(l.colwidth=l.colwidth.slice(),l.colwidth.splice(t,n),l.colwidth.some(e=>e>0)||(l.colwidth=null)),l}function y(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,l=h(e,"colspan",e.colspan+n);if(l.colwidth){l.colwidth=l.colwidth.slice();for(let e=0;e"table"===e.type.name},86353:function(e,t,n){"use strict";n.d(t,{E7:function(){return i},I1:function(){return o},I_:function(){return r}});var l=n(42111);n(52332);let a=(e,t)=>{let n=e.filter(e=>Object.keys(e.spec).length>0),l=t.filter(e=>Object.keys(e.spec).length>0),a=n.map(e=>JSON.stringify(e.spec)),o=l.map(e=>JSON.stringify(e.spec)),i=a.filter(e=>!o.includes(e)),r=o.filter(e=>!a.includes(e));return{removed:i,added:r}},o=(e,t)=>{let n=e.filter(e=>Object.keys(e.spec).length>0),l=t.filter(e=>Object.keys(e.spec).length>0),a=n.length!==l.length||JSON.stringify(n.map(e=>e.spec))!==JSON.stringify(l.map(e=>e.spec));return a},i=e=>{let{newNode:t,oldNode:n,updateProps:i,oldDecorations:r,newDecorations:s}=e,d=JSON.stringify(t.attrs)!==JSON.stringify(n.attrs);if(d)return i(),!0;let u=o(r,s);if(u){if(l.VH.get("debugLogging")){let e=a(r,s);console.debug("============== decos ================"),console.debug("decos changed",t.type.name),e.removed.length>0&&console.debug("%c decos removed: ".concat(e.removed.join(" ")," "),"color: red"),e.added.length>0&&console.debug("%c decos added: ".concat(e.added.join(" ")," "),"color: green")}i()}return!0},r=e=>{let{newNode:t,oldNode:n,updateProps:l}=e,a=t.content.childCount!==n.content.childCount;return a?(l(),!0):i(e)}},4878:function(e,t,n){"use strict";n.d(t,{Br:function(){return b},GX:function(){return p},LM:function(){return h},F1:function(){return g},TZ:function(){return f}}),n(9850);var l=n(2784);n(37295);var a=n(34972);let o={desktop:"xl",tablet:"md",mobile:"sm"};var i=n(84698),r=n(94090),s=n(36651),d=n(96933),u=n(90221);n(60742),n(93814),n(33169),n(96255),n(3402),n(61840);var c=n(93982),m=n(11093);function f(){let{inPreviewContext:e}=(0,a.My)(),t=(0,r.CG)(i.ws);return e?t:(0,u.s2)()}function p(e){let{inPreviewContext:t}=(0,a.My)(),n=(0,r.CG)(i.tv),l=(0,d.i)(e,t&&n?o[n]:void 0);return l}n(23147);let g=e=>{let[t,n]=(0,l.useState)(0);return(0,l.useEffect)(()=>{let t=()=>{n(t=>!e.state.selection.empty||e.isActive("link")||e.isActive("button")?t+1:0)};return e.on("update",t),e.on("selectionUpdate",t),()=>{e.off("update",t),e.off("selectionUpdate",t)}},[e]),t},h=e=>{let[t,n]=(0,l.useState)(!!e&&(0,m.KB)(e));return(0,l.useEffect)(()=>{if(!e)return;let t=t=>{requestAnimationFrame(()=>{n((0,m.KB)(e))})};return e.on("blur",t).on("focus",t),()=>{e.off("blur",t).off("focus",t)}},[e]),t},b=e=>{let t=(0,s.we)();return(0,r.CG)(n=>{let l=(0,c.yx)(n);return!!l&&t.can(e,l)})}},17132:function(e,t,n){"use strict";n.d(t,{a:function(){return i}}),n(2784);var l=n(13265),a=n(31638),o=n(87428);let i=e=>{let{editorId:t,children:n}=e,i=(0,l.g)(),r=(0,a.H)(),s=(0,o.K)(t||r)&&i;return s?n:null}},31638:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var l=n(2784);let a=(0,l.createContext)(void 0);a.Provider;let o=()=>(0,l.useContext)(a)},61840:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var l=n(2784),a=n(37295);let o=e=>(0,l.useCallback)(t=>!!e&&!!(0,a.kp)(t)&&(((0,a.G2)(t),t.shiftKey)?e.commands.redo():e.commands.undo()),[e])},87428:function(e,t,n){"use strict";n.d(t,{K:function(){return s}});var l=n(30733),a=n.n(l),o=n(2784);class i{subscribe(e,t){return this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t),()=>{try{if(!this.listeners[e])return;let n=this.listeners[e].indexOf(t);n>-1&&this.listeners[e].splice(n,1)}catch(e){}}}isRendered(e){return this.renderedMap[e]}onRendered(e){var t;this.renderedMap[e]=!0,null===(t=this.listeners[e])||void 0===t||t.forEach(e=>e())}onEditorUnload(e){this.renderedMap[e]=!1,this.listeners[e]=[]}constructor(){this.renderedMap={main:!1},this.listeners={}}}let r=a()(()=>new i),s=e=>{var t;let[n,l]=(0,o.useState)(void 0===e||null===(t=r().isRendered(e))||void 0===t||t);return(0,o.useEffect)(()=>{if(e)return r().subscribe(e,()=>{l(!0)})},[e]),n}},55850:function(e,t,n){"use strict";n.d(t,{I:function(){return c},q:function(){return u}});var l=n(72338),a=n(30764),o=n(27191),i=n(19283),r=n(26151),s=n(52336),d=n(52808);let u=new o.H$("UniqueAttribute"),c=l.hj.create({name:"UniqueAttribute",priority:i.a.UniqueAttribute,addOptions(){return{attributeName:"",pluginKey:new o.H$(this.name),types:[],initialValue:()=>void 0,filterTransaction:null}},addGlobalAttributes(){return[{types:this.options.types,attributes:{[this.options.attributeName]:{default:null,parseHTML:e=>this.options.parseHTML?this.options.parseHTML(e):e.getAttribute("data-".concat(this.options.attributeName)),renderHTML:e=>this.options.renderHTML?this.options.renderHTML(e):e[this.options.attributeName]?{["data-".concat(this.options.attributeName)]:e[this.options.attributeName]}:{}}}}]},onCreate(){let{view:e,state:t}=this.editor,{tr:n,doc:a}=t,{types:o,attributeName:i,initialValue:r,callback:s}=this.options,d=(0,l.N2)(a,e=>o.includes(e.type.name)&&null===e.attrs[i]),u=d.map(e=>{let{node:t,pos:l}=e,a=r();return n.setNodeMarkup(l,void 0,{...t.attrs,[i]:a}),{node:t,val:a,pos:l}});0!==u.length&&(e.dispatch(n),s&&s(this.editor,u,n.doc))},addProseMirrorPlugins(){let e=!1;return[new o.Sy({key:this.options.pluginKey,appendTransaction:(e,t,n)=>{let a=e.some(e=>e.docChanged)&&!t.doc.eq(n.doc),o=this.options.filterTransaction&&e.some(e=>{var t,n;return!(null===(t=(n=this.options).filterTransaction)||void 0===t?void 0:t.call(n,e))});if(!a||o)return;let{tr:i}=n,{types:c,attributeName:m,initialValue:f,callback:p}=this.options,g=function(e,t){let n=new r.wx(e);return t.forEach(e=>{e.steps.forEach(e=>{n.step(e)})}),n}(t.doc,e),{mapping:h}=g,b=(0,d.Z)(g),y=[],v=e.some(e=>!0===e.getMeta(u));if(b.forEach(e=>{let t={from:e.newStart,to:e.newEnd},a=(0,l.b5)(n.doc,t,e=>c.includes(e.type.name)),o=a.map(e=>{let{node:t}=e;return t.attrs[m]}).filter(e=>null!==e),r=function(e){let t=e.filter((t,n)=>e.indexOf(t)!==n),n=(0,s.Z)(t);return n}(o);a.forEach(e=>{var t;let{node:n,pos:l}=e,a=null===(t=i.doc.nodeAt(l))||void 0===t?void 0:t.attrs[m];if(!a){let e=f();i.setNodeMarkup(l,void 0,{...n.attrs,[m]:e}),y.push({node:n,val:e,pos:l});return}let{deleted:o}=h.invert().mapResult(l),s=o&&r.includes(a),d=o&&v;if(s||d){let e=f();i.setNodeMarkup(l,void 0,{...n.attrs,[m]:e}),y.push({node:n,val:e,pos:l}),console.debug("%c [UniqueAttribute][".concat(this.options.types,"] Replaced ").concat(n.attrs[m]," with new val: ").concat(e),"background-color: deeppink",{override:d,newNode:s})}})}),p&&p(this.editor,y,i.doc),i.steps.length)return i},props:{handleDOMEvents:{drop:(t,n)=>{var l,a;return((null===(l=t.dragging)||void 0===l?void 0:l.move)!==!0||(null===(a=n.dataTransfer)||void 0===a?void 0:a.effectAllowed)==="copy")&&(e=!0),!1},paste:()=>(e=!0,!1)},transformPasted:t=>{var n;if(!e)return t;let{types:l,attributeName:o}=this.options,i=e=>{let t=[];return e.forEach(e=>{if(e.isText){t.push(e);return}if(!l.includes(e.type.name)){t.push(e.copy(i(e.content)));return}let n=e.type.create({...e.attrs,[o]:null},i(e.content),e.marks);t.push(n)}),a.HY.from(t)},r=this.options.transformPasted?this.options.transformPasted(t,this.options,null===this||void 0===this?void 0:null===(n=this.editor)||void 0===n?void 0:n.gammaDocId):new a.p2(i(t.content),t.openStart,t.openEnd);return e=!1,r}}})]}})},4889:function(e,t,n){"use strict";n.d(t,{b:function(){return l}});let l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id";return{default:null,parseHTML:n=>{let l=n.getAttribute("data-".concat(t));if(l)return l;let a=e();return console.debug("[configureIdAttribute] generating id in parseHTML",a),a}}}},52808:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var l=n(52336);function a(e){let{mapping:t,steps:n}=e,a=[];return t.maps.forEach((e,l)=>{if(e.ranges.length)e.forEach((e,n)=>{let o=t.slice(l).map(e,-1),i=t.slice(l).map(n),r=t.invert().map(o,-1),s=t.invert().map(i);a.push({oldStart:r,oldEnd:s,newStart:o,newEnd:i})});else{let e=n[l];"pos"in e&&a.push({oldStart:e.pos,oldEnd:e.pos,newStart:e.pos,newEnd:e.pos}),"from"in e&&a.push({oldStart:e.from,oldEnd:e.to,newStart:e.from,newEnd:e.to})}}),function(e){let t=(0,l.Z)(e);return 1===t.length?t:t.filter((e,n)=>{let l=t.filter((e,t)=>t!==n);return!l.some(t=>e.oldStart>=t.oldStart&&e.oldEnd<=t.oldEnd&&e.newStart>=t.newStart&&e.newEnd<=t.newEnd)})}(a)}},52336:function(e,t,n){"use strict";function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:JSON.stringify,n={};return e.filter(e=>{let l=t(e);return!Object.prototype.hasOwnProperty.call(n,l)&&(n[l]=!0)})}n.d(t,{Z:function(){return l}})},83440:function(e,t,n){"use strict";n.d(t,{B0:function(){return i},Nv:function(){return o},Tr:function(){return r}});var l=n(72338),a=n(27191);let o=(e,t)=>(0,l.N2)(e,e=>!!t.isInSet(e.marks)),i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return n=>{let l=a.Y1.findFrom(n.doc.resolve(e),t,!0);return l?n.setSelection(l):n}},r=e=>t=>(0,l.Kk)(t=>s(e,t))(t),s=(e,t)=>Array.isArray(e)&&e.indexOf(t.type)>-1||t.type===e},75420:function(e,t,n){"use strict";n.d(t,{M:function(){return a}});var l=n(72338);n(2784);class a extends l.ML{constructor(...e){super(...e),this.contentComponent=null}}},91579:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var l=n(52322),a=n(2784),o=n(28316);let i=e=>{let{renderers:t}=e;return(0,l.jsx)(l.Fragment,{children:Object.entries(t).map(e=>{let[t,n]=e;return o.createPortal(n.reactElement,n.element,t)})})};class r extends a.Component{componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){let{editor:e}=this.props;if(e&&e.options.element){if(e.contentComponent)return;let t=this.editorContentRef.current;t.append(...e.options.element.childNodes),e.setOptions({element:t}),e.contentComponent=this,e.createNodeViews(),this.initialized=!0}}maybeFlushSync(e){this.initialized?(0,o.flushSync)(e):e()}setRenderer(e,t){this.maybeFlushSync(()=>{this.setState(n=>{let{renderers:l}=n;return{renderers:{...l,[e]:t}}})})}removeRenderer(e){this.maybeFlushSync(()=>{this.setState(t=>{let{renderers:n}=t,l={...n};return delete l[e],{renderers:l}})})}componentWillUnmount(){let{editor:e}=this.props;if(!e||(this.initialized=!1,e.isDestroyed||e.view.setProps({nodeViews:{}}),e.contentComponent=null,!e.options.element.firstChild))return;let t=document.createElement("div");t.append(...e.options.element.childNodes),e.setOptions({element:t})}render(){let{editor:e,portalComponent:t,...n}=this.props;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{ref:this.editorContentRef,...n}),(0,l.jsx)(this.portalComponent,{renderers:this.state.renderers})]})}constructor(e){super(e),this.editorContentRef=a.createRef(),this.initialized=!1,this.portalComponent=e.portalComponent||i,this.state={renderers:{}}}}let s=a.memo(r)},73544:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var l=n(52322),a=n(2784),o=n(80301);let i=a.forwardRef((e,t)=>{let{onDragStart:n}=(0,o.a)(),a=e.as||"div";return(0,l.jsx)(a,{...e,ref:t,"data-node-view-wrapper":"",onDragStart:n,style:{whiteSpace:"normal",...e.style}})})},70286:function(e,t,n){"use strict";n.d(t,{A:function(){return u},f:function(){return c}});var l=n(52322),a=n(72338),o=n(30764);n(2784);var i=n(90221),r=n(14657),s=n(59284),d=n(80301);class u extends a.DK{updateAttributes(e){this.editor.commands.command(t=>{let{tr:n}=t,l=this.getPos();if(void 0===l)return;let a={type:"move",insertPos:l,insertPosRaw:l,pos:l,end:l+this.node.content.size+1};try{n.setNodeMarkup(l,void 0,{...this.node.attrs,...e}).setMeta("annotationEvent",a)}catch(e){console.error("(caught) [ReactNodeView updateAttributes]: setNodeMarkup",e)}return!0})}mount(){var e,t=this;let n={editor:this.editor,node:this.node,decorations:this.decorations,selected:!1,extension:this.extension,getPos:()=>this.getPos(),updateAttributes:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.updateAttributes(e)},deleteNode:()=>this.deleteNode()};this.component.displayName||(this.component.displayName=(e=this.extension.name).charAt(0).toUpperCase()+e.substring(1));let a=e=>{let t=this.component,n=this.onDragStart.bind(this);return(0,l.jsx)(d.j.Provider,{value:{onDragStart:n,nodeViewContentRef:e=>{e&&this.contentDOMElement&&e.firstChild!==this.contentDOMElement&&e.appendChild(this.contentDOMElement)},node:this.node,editor:this.editor,getPos:this.getPos},children:(0,l.jsx)(t,{...e})})};a.displayName="ReactNodeView",this.contentDOMElement=this.node.isLeaf?null:document.createElement(this.node.isInline||this.node instanceof o.vc?"span":"div"),this.contentDOMElement&&(this.contentDOMElement.style.whiteSpace="inherit",this.contentDOMElement.setAttribute("data-node-view-content-inner",this.node.type.name));let i=this.node.isInline?"span":"div";this.options.as&&(i=this.options.as);let{className:r=""}=this.options;this.renderer=new s.M(a,{editor:this.editor,props:n,as:i,className:"node-".concat(this.node.type.name," ").concat(r).trim(),updateWrapperEl:this.options.updateWrapperEl})}get dom(){var e;if(this.renderer.element.firstElementChild&&!(null===(e=this.renderer.element.firstElementChild)||void 0===e?void 0:e.hasAttribute("data-node-view-wrapper")))throw Error("Please use the NodeViewWrapper component for your node view.");return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.contentDOMElement}update(e,t){let n=e=>{this.renderer.updateProps(e)};if(e.type!==this.node.type)return!1;if("function"==typeof this.options.update){let l=this.node,a=this.decorations;return this.node=e,this.decorations=t,this.options.update({oldNode:l,oldDecorations:a,newNode:e,newDecorations:t,updateProps:()=>n({node:e,decorations:t})})}return e===this.node&&this.decorations===t||(this.node=e,this.decorations=t,n({node:e,decorations:t}),!0)}selectNode(){this.renderer.updateProps({selected:!0})}deselectNode(){this.renderer.updateProps({selected:!1})}destroy(){this.renderer.destroy(),this.contentDOMElement=null}ignoreMutation(e){return!this.dom||!this.contentDOM||"function"==typeof this.options.ignoreMutation&&this.options.ignoreMutation({mutation:e})||this.defaultIgnoreMutation(e)}defaultIgnoreMutation(e){if(this.node.isLeaf||this.node.isAtom||"selection"===e.type&&e.target.closest("[data-comments-wrapper]"))return!0;if("selection"===e.type)return!1;if(this.dom.contains(e.target)&&"childList"===e.type&&(0,i.Tt)()&&this.editor.isFocused){let t=[...Array.from(e.addedNodes),...Array.from(e.removedNodes)];if(t.every(e=>e.isContentEditable))return!1}return this.contentDOM===e.target&&"attributes"===e.type||!this.contentDOM.contains(e.target)}onDragStart(e){var t,n,l,a,o;let i=e.target,s=i.querySelector("[data-drag-handle]");if(!s&&i.hasAttribute("data-drag-handle")&&(s=i),!this.dom||!s)return e.preventDefault(),!1;try{let e=this.editor.view.posAtDOM(s);if(!e||-1==e)return;let t=this.editor.state.doc.nodeAt(e),n=this.editor.state.selection;if(!n.empty&&e>n.from&&e{var e;null!==(e=this.editor.view.dragging)&&void 0!==e&&e.annotations||null==this.editor.view.dragging||"object"!=typeof this.editor.view.dragging||(this.editor.view.dragging.annotations=l)})}catch(e){console.warn("(caught) [ReactNodeViewRenderer] onDragStart error moving annotations",e)}let d=0,u=0;document.querySelectorAll("[data-nodeview-drag-preview]").forEach(e=>e.parentNode.removeChild(e));let c=s.cloneNode(!0);document.body.appendChild(c),c.dataset.nodeviewDragPreview=!0,c.style.maxWidth="250px",c.style.width=getComputedStyle(s).width;let m=()=>{var e;return null===(e=c.parentElement)||void 0===e?void 0:e.removeChild(c)};if(document.addEventListener("dragend",m,{once:!0}),document.addEventListener("drop",m,{once:!0}),document.addEventListener("mouseup",m,{once:!0}),this.dom!==s){let t=null!==(a=e.offsetX)&&void 0!==a?a:null===(n=e.nativeEvent)||void 0===n?void 0:n.offsetX,i=null!==(o=e.offsetY)&&void 0!==o?o:null===(l=e.nativeEvent)||void 0===l?void 0:l.offsetY;d=t,u=i}null===(t=e.dataTransfer)||void 0===t||t.setDragImage(c,d,u)}}function c(e,t){return n=>n.editor.contentComponent?new u(e,n,t):{}}},59284:function(e,t,n){"use strict";n.d(t,{M:function(){return a}});var l=n(52322);n(2784);class a{render(){var e,t,n;let a=this.component,o=this.props;("function"==typeof a&&a.prototype&&a.prototype.isReactComponent||"object"==typeof a&&(null===(n=a.$$typeof)||void 0===n?void 0:n.toString())==="Symbol(react.forward_ref)")&&(o.ref=e=>{this.ref=e}),this.reactElement=(0,l.jsx)(a,{...o}),this.updateWrapperEl&&this.updateWrapperEl(this.element,o),null===(t=this.editor)||void 0===t||null===(e=t.contentComponent)||void 0===e||e.setRenderer(this.id,this)}updateProps(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.props={...this.props,...e},this.render()}destroy(){var e,t;null===(t=this.editor)||void 0===t||null===(e=t.contentComponent)||void 0===e||e.removeRenderer(this.id)}constructor(e,{editor:t,props:n={},as:l="div",className:a="",updateWrapperEl:o}){this.ref=null,this.id=Math.floor(4294967295*Math.random()).toString(),this.component=e,this.editor=t,this.props=n,this.updateWrapperEl=o,this.element=document.createElement(l),this.element.classList.add("react-renderer"),a&&this.element.classList.add(...a.split(" ")),this.render()}}},96374:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var l=n(27191),a=n(70286);let o=(e,t)=>{let n=new l.Sy({key:new l.H$("".concat(e.name,"_markview")),props:{nodeViews:{[e.name]:(n,l,o,i)=>(0,a.f)(t,{as:"span"})({editor:e.editor,node:n,getPos:o,decorations:i,extension:{name:e.name,type:e.type.name,options:e.options,storage:e.storage},HTMLAttributes:{}})}}});return n}},90507:function(e,t,n){"use strict";n.d(t,{kg:function(){return l.k},ms:function(){return d},T5:function(){return c.T},Al:function(){return a.A},fW:function(){return a.f},jE:function(){return m.j}}),n(75420);var l=n(91579),a=n(70286),o=n(52322);n(2784);var i=n(50788),r=n(25198),s=n(80301);let d=e=>{let t=(0,i.C7)();return t?(0,o.jsx)(r.m,{...e}):(0,o.jsx)(u,{...e})},u=e=>{let t=e.as||"div",{nodeViewContentRef:n}=(0,s.a)();return(0,o.jsx)(t,{...e,ref:n,"data-node-view-content":"",style:{whiteSpace:"pre-wrap",...e.style}})};u.displayName="NodeViewContentCore";var c=n(73544),m=n(94465)},94465:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var l=n(2784),a=n(75420);let o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,l.useMemo)(()=>new a.M(e),[]),n=function(){let[,e]=(0,l.useState)(0);return()=>e(e=>e+1)}();return(0,l.useEffect)(()=>{let e=!0;return t.on("transaction",()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{e&&n()})})}),()=>{t.destroy(),e=!1}},[t]),t}},80301:function(e,t,n){"use strict";n.d(t,{a:function(){return o},j:function(){return a}});var l=n(2784);let a=(0,l.createContext)({onDragStart:void 0}),o=()=>(0,l.useContext)(a)},93982:function(e,t,n){"use strict";n.d(t,{pS:function(){return G},I6:function(){return eT},mc:function(){return h},P7:function(){return Y},XV:function(){return X},yH:function(){return eu},X9:function(){return eb},xb:function(){return eh},kk:function(){return $},Pw:function(){return ea},yx:function(){return ev},Bk:function(){return Z},bU:function(){return ew},xy:function(){return ex},ke:function(){return eA},KV:function(){return eI},US:function(){return Q},Wl:function(){return ek},Mk:function(){return eP},hN:function(){return ee},aB:function(){return eg},Av:function(){return ep},_I:function(){return ec},II:function(){return ef},ks:function(){return eF},wc:function(){return eo},Hl:function(){return eS},Ze:function(){return eC},JA:function(){return ei},tY:function(){return er},Oi:function(){return en},nz:function(){return et},s3:function(){return ez},Ql:function(){return ed},k8:function(){return eE},gh:function(){return es},i2:function(){return eO},ZL:function(){return ey},Pu:function(){return J},R:function(){return em},SU:function(){return el},iX:function(){return x},rH:function(){return S},UX:function(){return I},pl:function(){return w},Qt:function(){return C},GV:function(){return T},h:function(){return P},K7:function(){return O},Qx:function(){return A},iS:function(){return z},e:function(){return F},AK:function(){return M},RW:function(){return N},Dc:function(){return W},pD:function(){return L},qt:function(){return H}});var l=n(58125),a=n(90383),o=n(93814),i=n(7287),r=n(14027);n(68072),n(24240),n(57994),n(40217),n(36675);let s=r.g;var d=n(90604);let u=!(0,a.wg)(),c={collaborators:[],newFollowers:[],docAttrs:i.w,cardIds:[],cardIdMap:{tree:{},parents:{},treeArray:[]},isAllowedToEdit:u,isEditingInSlideView:!1,isPresenterViewEditor:!1,isEditingMedia:!1,isEditingDisabled:!1,openBlockCommentId:null,draftReplies:{},isStatic:!1,animationsEnabled:!0,forceDisableAnimations:!1,commentsEnabled:!1,expandedNoteId:null,expandedDrawingId:null,expandedChartId:null,theme:null,userZoomLevel:o.aX,autoZoomEnabled:null,hocuspocusProvider:null,memoState:{mode:d.q.DOC_VIEW,following:null,attached:!1,scroll:{pos:null,pct:null},expandedCards:{},expandedToggles:{},expandedMediaId:null}},m=(e,t)=>{let n=e.collaborators.filter(t=>{var n;return(null===(n=t.memoState)||void 0===n?void 0:n.following)===e.localCollaboratorId});return t.filter(t=>{var l;return e.localCollaboratorId&&(null===(l=t.memoState)||void 0===l?void 0:l.following)===e.localCollaboratorId&&!n.find(e=>e.id===t.id)})},f=(e,t)=>{let n=+new Date;return e.collaborators.filter(e=>{let l=t.find(t=>t.sessionId===e.sessionId);if(l||!e.sessionId)return!1;let a=!!e.idleSince&&n-e.idleSince>5e3;return!a})},p=e=>{let t=eB({TipTap:e}),n=e_({TipTap:e});t&&(null==n?void 0:n.memoState)&&(e.memoState.expandedCards=n.memoState.expandedCards,e.memoState.expandedMediaId=n.memoState.expandedMediaId,e.memoState.expandedToggles=n.memoState.expandedToggles,e.memoState.mode=n.memoState.mode,e.memoState.scroll=n.memoState.scroll)},g=(0,l.oM)({name:"TipTap",initialState:c,reducers:{reset:()=>c,setCollaborators(e,t){let{collaborators:n}=t.payload,l=f(e,n).map(e=>(e.idleSince||(e.idleSince=+new Date),e));e.newFollowers=m(e,n),e.collaborators=n.concat(l),p(e)},setDocAttrs(e,t){let{docAttrs:n}=t.payload;Object.assign(e.docAttrs,n)},setCardIds(e,t){let{cardIds:n,cardIdMap:l}=t.payload;e.cardIds=n,e.cardIdMap=l},setLocalCollaboratorId(e,t){let{sessionId:n}=t.payload;e.localCollaboratorId=n},setIsAllowedToEdit(e,t){let{isAllowedToEdit:n}=t.payload;e.isAllowedToEdit=n},setIsEditingInSlideView(e,t){let{isEditingInSlideView:n}=t.payload;e.isEditingInSlideView=n},setIsPresenterViewEditor(e,t){let{isPresenterViewEditor:n}=t.payload;e.isPresenterViewEditor=n},setIsEditingMedia(e,t){let{isEditingMedia:n}=t.payload;e.isEditingMedia=n},setIsStatic(e,t){let{isStatic:n}=t.payload;e.isStatic=n},setAnimationsEnabled(e,t){let{animationsEnabled:n}=t.payload;e.animationsEnabled=n},setForceDisableAnimations(e,t){let{disable:n}=t.payload;e.forceDisableAnimations=n},setCommentsEnabled(e,t){let{commentsEnabled:n}=t.payload;e.commentsEnabled=n},setMode(e,t){let{mode:n}=t.payload;e.memoState.mode=n},setCardsCollapsed(e,t){let{cardIds:n,isCollapsed:l}=t.payload;n.forEach(t=>{e.memoState.expandedCards[t]=!l}),e.memoState.attached=!1},setExpandedCardsMap(e,t){let{expandedCardsMap:n}=t.payload;e.memoState.expandedCards=n},setMediaNodeExpanded(e,t){let{nodeId:n}=t.payload;e.memoState.expandedMediaId=n||null,e.memoState.attached=!1},setTogglesExpanded(e,t){let{toggleIds:n,isExpanded:l}=t.payload;n.forEach(t=>{e.memoState.expandedToggles[t]=l})},setExpandedNoteId(e,t){let{noteId:n}=t.payload;e.expandedNoteId=n},setExpandedChartId(e,t){let{chartId:n}=t.payload;e.expandedChartId=n},setExpandedDrawingId(e,t){let{drawingId:n}=t.payload;e.expandedDrawingId=n},setFollowingAttached(e,t){let{attached:n,following:l}=t.payload;void 0!==n&&(e.memoState.attached=n),void 0!==l&&(e.memoState.following=l),p(e)},setDoc(e,t){let{doc:n}=t.payload;e.doc=n},setTheme(e,t){let{theme:n}=t.payload;e.theme=JSON.parse(JSON.stringify(n))},setScroll(e,t){e.memoState.scroll=t.payload},setCommentReactionOpen(e,t){let{isOpen:n,blockCommentId:l}=t.payload;e.openBlockCommentId=n?l:null},setIsEditingDisabled(e,t){let{isEditingDisabled:n}=t.payload;e.isEditingDisabled=n},updateDraftReply(e,t){let{id:n,reply:l}=t.payload;e.draftReplies[n]=l},deleteDraftReply(e,t){delete e.draftReplies[t.payload.id]},setZoomLevel(e,t){e.userZoomLevel=t.payload.zoomLevel},setAutoZoomEnabled(e,t){e.autoZoomEnabled=t.payload.enabled},setHocuspocusProvider(e,t){e.hocuspocusProvider=t.payload.hocuspocusProvider}}}),{reset:h,setAnimationsEnabled:b,setForceDisableAnimations:y,setCollaborators:v,setCommentsEnabled:k,setCardIds:x,setDoc:w,setCardsCollapsed:S,setDocAttrs:C,setIsAllowedToEdit:z,setFollowingAttached:A,setCommentReactionOpen:I,setIsEditingDisabled:j,setIsEditingInSlideView:F,setIsPresenterViewEditor:B,setIsEditingMedia:M,setIsStatic:E,setExpandedCardsMap:_,setExpandedNoteId:O,setExpandedDrawingId:P,setExpandedChartId:T,setLocalCollaboratorId:R,setMediaNodeExpanded:N,setTogglesExpanded:L,setMode:D,setTheme:W,setScroll:U,updateDraftReply:H,deleteDraftReply:G,setZoomLevel:q,setAutoZoomEnabled:V,setHocuspocusProvider:K}=g.actions,Y=e=>e.TipTap.animationsEnabled&&!e.TipTap.forceDisableAnimations,$=e=>e.TipTap.commentsEnabled,J=e=>{var t,n,l;return(null===(t=e.Site.site)||void 0===t?void 0:t.theme)?e.Site.site.theme:e.TipTap.theme?e.TipTap.theme:(null===(n=e.TipTap.doc)||void 0===n?void 0:n.theme)?null===(l=e.TipTap.doc)||void 0===l?void 0:l.theme:s},X=e=>{var t;return null===(t=e.TipTap.docAttrs)||void 0===t?void 0:t.background},Z=e=>e.TipTap.docAttrs,Q=e=>{var t;return null===(t=e.TipTap.docAttrs)||void 0===t?void 0:t.settings},ee=(e,t)=>{let{isAllowedToEdit:n,isEditingInSlideView:l,isEditingDisabled:a,memoState:{mode:o}}=e.TipTap,i=(t||o)===d.q.DOC_VIEW||l;return n&&i&&!a},et=e=>{let t=es(e),n=eO(e)||"",l=t===d.q.SLIDE_VIEW;return!0===l&&eh(e).includes(n)},en=e=>{let t=es(e),n=eO(e)||"",l=t===d.q.DOC_VIEW;return!0===l&&!eh(e).includes(n)},el=e=>e.TipTap.userZoomLevel,ea=e=>ee(e)&&!eS(e),eo=e=>e.TipTap.isAllowedToEdit,ei=e=>e.TipTap.isEditingInSlideView,er=e=>e.TipTap.isEditingMedia,es=e=>e.TipTap.memoState.mode,ed=e=>e.TipTap.isStatic,eu=e=>t=>!t.TipTap.isStatic&&!eb(t).tree[e]&&!t.TipTap.memoState.expandedCards[e],ec=e=>e.TipTap.memoState.expandedMediaId,em=e=>t=>t.TipTap.memoState.expandedToggles[e],ef=e=>e.TipTap.expandedNoteId,ep=e=>e.TipTap.expandedDrawingId,eg=e=>e.TipTap.expandedChartId,eh=e=>e.TipTap.cardIds,eb=e=>e.TipTap.cardIdMap,ey=e=>{let{cardId:t,showAll:n=!1}=e;return e=>{let{cardIdMap:l}=e.TipTap,a=l.treeArray;if(n)return a;if(!t)return[];let o=a.findIndex(e=>e.id===t);return -1===o?[]:a.slice(o+1)}},ev=e=>e.TipTap.doc,ek=e=>{var t;return null===(t=e.TipTap.doc)||void 0===t?void 0:t.organization},ex=e=>{var t;return null===(t=e.TipTap.doc)||void 0===t?void 0:t.editors},ew=e=>{let t=e.TipTap.doc;if(!t)return null;let{createdBy:n}=t;return n},eS=e=>null!==e.TipTap.openBlockCommentId,eC=e=>t=>t.TipTap.openBlockCommentId===e,ez=e=>t=>null!==t.TipTap.openBlockCommentId&&t.TipTap.openBlockCommentId!==e,eA=e=>{var t;return null===(t=e.TipTap.doc)||void 0===t?void 0:t.id},eI=e=>{var t,n;return null===(n=e.TipTap.doc)||void 0===n?void 0:null===(t=n.organization)||void 0===t?void 0:t.id},ej=e=>{let t=e.TipTap.localCollaboratorId;if(!t)return;let n=e.TipTap.collaborators;return n.find(e=>e.sessionId===t)},eF=e=>eB(e)&&eM(e),eB=e=>e.TipTap.memoState.attached,eM=e=>!!e.TipTap.memoState.following,eE=e=>{let t=ej(e);return null==t?void 0:t.spotlight},e_=e=>{let t=e.TipTap.collaborators;return t.find(t=>t.sessionId===e.TipTap.memoState.following)},eO=e=>{var t;let n=ej(e);return null==n?void 0:null===(t=n.spotlight)||void 0===t?void 0:t.cardId},eP=e=>t=>t.TipTap.draftReplies[e],eT=g.reducer},22569:function(e,t,n){"use strict";n.d(t,{R5:function(){return r},dF:function(){return u},wh:function(){return d},x_:function(){return s}});var l=n(49354),a=n(13793);n(3543);var o=n(90439),i=n(87205);n(39018);let r=(e,t)=>t&&t.type!==a.E.NONE?t:e.config.background&&e.config.background.type!==a.E.NONE?e.config.background:l.a1,s=e=>{if(!e)return"center";let{backgroundPos:t}=e;return t?"".concat(t.x,"% ").concat(t.y,"%"):"center"},d=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{width:2400};if(e.type===a.E.GRADIENT){var l,r;let n=(null===(l=e.gradient)||void 0===l?void 0:l.css)||e.css;return o.QX?{backgroundColor:null===(r=e.gradient)||void 0===r?void 0:r.primaryColor}:{backgroundColor:t?"black":"white",...n,backgroundPosition:"center",backgroundSize:"cover"}}if(e.type===a.E.IMAGE&&e.image){let{src:t,tempUrl:l,meta:a}=e.image,o=t?(0,i.SN)(t,n,a):void 0,r=(0,i.Ly)(o,o?void 0:l),d=s(e.image);return{backgroundImage:r,backgroundPosition:d,backgroundSize:"cover",backgroundRepeat:"no-repeat"}}return e.type===a.E.COLOR&&e.color?{backgroundColor:"string"==typeof e.color?e.color:e.color.hex}:{}},u=e=>e&&e.type===a.E.COLOR&&e.color?e.color.hex:void 0},49354:function(e,t,n){"use strict";n.d(t,{Li:function(){return o},Sh:function(){return a},YW:function(){return d},a1:function(){return c},iL:function(){return s},jg:function(){return u},l1:function(){return i},um:function(){return r}});var l=n(13793);let a=".block-bullet, .block-numbered, .block-todo",o="0.35em",i=e=>e?"0.75em":"1.125em",r={blockquote:"1.15em",codeBlock:["0.85em","1em"]},s=e=>({default:{mt:e?"1em":"1.5em",mb:e?"1em":"1.5em"},compact:{mt:e?"0.8em":"1em",mb:e?"0.8em":"1em"},relaxed:{mt:e?"1.6em":"2em",mb:e?"1.6em":"2em"},tight:{mt:"0.6em",mb:"0.6em"}}),d=e=>({compact:{my:e?"0.8em":"0.9em",[":is(".concat(a,")")]:{my:o}},tight:{my:"0.6em",[":is(".concat(a,")")]:{my:"0.3em"}}}),u={type:l.E.NONE,source:void 0},c={type:l.E.COLOR,color:{hex:"#FAFAFA"}};l.E.IMAGE},62685:function(e,t,n){"use strict";n.d(t,{BA:function(){return f},Jh:function(){return m},Oj:function(){return c}});var l=n(98537),a=n.n(l),o=n(50260),i=n(13793),r=n(3543),s=n(22569);let d={isDark:void 0,effect:i.v.FROSTED},u="var(--chakra-shadows-md)",c=(e,t,n)=>{if(!e)return{};let l=n?"var(--chakra-radii-md)":"var(--chakra-radii-xl)",a=f(t,e),{isDark:o}=m(t,e);switch(e.effect){case i.v.COLLAPSED:return{backgroundColor:(0,r.tT)(o?(0,r.tG)(a,30):a,.6),"@media print":{boxShadow:"none"}};case i.v.SOLID:return{boxShadow:u,"--neutral-border-color":o?"var(--chakra-colors-gray-700)":"var(--chakra-colors-gray-200)","--box-border-radius":l,backgroundColor:a,"@media print":{boxShadow:"none"}};case i.v.FADED:return{boxShadow:u,"--neutral-border-color":o?"var(--chakra-colors-gray-whiteAlpha-300)":"var(--chakra-colors-whiteAlpha-500)","--box-border-radius":l,backgroundColor:(0,r.tT)(a,.75),"@media print":{boxShadow:"none"}};case i.v.FROSTED:return{backdropFilter:"blur(20px) saturate(170%)",boxShadow:u,"--neutral-border-color":o?"var(--chakra-colors-gray-whiteAlpha-300)":"var(--chakra-colors-whiteAlpha-500)","--box-border-radius":l,backgroundColor:(0,r.tT)(a,.75),"@media print":{boxShadow:"none",backgroundColor:(0,r.tT)(a,.95)}};case i.v.CLEAR:return{boxShadow:void 0}}return{}},m=(e,t)=>a()({},d,e.config.container,t),f=(e,t)=>{let n=m(e,t),l=(0,o.yU)(e),a=(0,s.dF)(n.background);return null!=a?a:l}},46741:function(e,t,n){"use strict";n.d(t,{dE:function(){return d},fY:function(){return s}});var l=n(73528),a=n(49354);let o=[...Array(l.N+1).keys()],i="1.6em",r=["disc","circle","square"],s=e=>({listStyle:r[e%r.length],paddingLeft:"0.4em",_after:{paddingLeft:"0.4em"},marginLeft:"calc(".concat(e+1," * ").concat(i," - 0.4em)")}),d={[a.Sh]:{margin:"0",marginBottom:a.Li,textAlign:"left","&.first-block":{marginTop:a.Li}},"ol.block-numbered":{listStyle:"none"},".block-todo":{listStyle:"none","label.chakra-checkbox":{pointerEvents:"none",".chakra-checkbox__control":{pointerEvents:"auto",width:"1em",height:"1em",top:"0.3em",position:"relative",borderRadius:"var(--box-border-radius)",borderColor:"var(--link-color)",borderWidth:"0.125em","&[data-checked]":{backgroundColor:"var(--link-color)",color:"var(--body-color-inverted)"},svg:{fontSize:"0.5em"}}}},".block-bullet, .block-todo":{li:{position:"relative"}}};o.forEach(e=>{d['ol.block-numbered[indent="'.concat(e,'"]')]={"li[data-node-view-content]":{marginLeft:"calc(".concat(e+1," * ").concat(i,")"),position:"relative",_before:{position:"absolute",left:"-".concat(i),content:'attr(data-list-counter) "."'}}}}),o.forEach(e=>{d['ul.block-bullet[indent="'.concat(e,'"]')]={"li[data-node-view-content]":s(e)},d['ul.block-todo[indent="'.concat(e,'"]')]={"li.todo":{marginLeft:"calc(".concat(e+1," * ").concat(i,")"),listStyle:"none"},".chakra-checkbox__control":{left:"-".concat(i)}}})},14027:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var l=n(13793);let a={accentColor:"#4950bc",archived:!1,config:{accentBackgrounds:[{accentId:"b11faf30",image:{meta:{height:4096,width:4096},name:"defaultlight-1_b11faf30.jpg",source:"image.custom",src:"https://cdn.gamma.app/theme_images/default-light/defaultlight-1_b11faf30.jpg"},originalSource:"image.custom",source:"accent.theme",type:l.E.IMAGE},{accentId:"bd6251c2",image:{meta:{height:4096,width:4096},name:"defaultlight-2_bd6251c2.jpg",source:"image.custom",src:"https://cdn.gamma.app/theme_images/default-light/defaultlight-2_bd6251c2.jpg"},originalSource:"image.custom",source:"accent.theme",type:l.E.IMAGE},{accentId:"fc5293f8",image:{meta:{height:4096,width:4096},name:"defaultlight-3_fc5293f8.jpg",source:"image.custom",src:"https://cdn.gamma.app/theme_images/default-light/defaultlight-3_fc5293f8.jpg"},originalSource:"image.custom",source:"accent.theme",type:l.E.IMAGE},{accentId:"a9cd724c",image:{meta:{height:4096,width:4096},name:"defaultlight-4_a9cd724c.jpg",source:"image.custom",src:"https://cdn.gamma.app/theme_images/default-light/defaultlight-4_a9cd724c.jpg"},originalSource:"image.custom",source:"accent.theme",type:l.E.IMAGE},{accentId:"a0c27514",image:{meta:{height:4096,width:4096},name:"defaultlight-6_a0c27514.jpg",source:"image.custom",src:"https://cdn.gamma.app/theme_images/default-light/defaultlight-6_a0c27514.jpg"},originalSource:"image.custom",source:"accent.theme",type:l.E.IMAGE},{accentId:"b5d93885",image:{meta:{height:4096,width:4096},name:"defaultlight-8_b5d93885.jpg",source:"image.custom",src:"https://cdn.gamma.app/theme_images/default-light/defaultlight-8_b5d93885.jpg"},originalSource:"image.custom",source:"accent.theme",type:l.E.IMAGE},{accentId:"2b633020",image:{meta:{height:4096,width:4096},name:"defaultlight-10_2b633020.jpg",source:"image.custom",src:"https://cdn.gamma.app/theme_images/default-light/defaultlight-10_2b633020.jpg"},originalSource:"image.custom",source:"accent.theme",type:l.E.IMAGE},{accentId:"622798c1",image:{meta:{height:4096,width:4096},name:"defaultlight-11_622798c1.jpg",source:"image.custom",src:"https://cdn.gamma.app/theme_images/default-light/defaultlight-11_622798c1.jpg"},originalSource:"image.custom",source:"accent.theme",type:l.E.IMAGE},{accentId:"99644b26",image:{meta:{height:4096,width:4096},name:"defaultlight-12_99644b26.jpg",source:"image.custom",src:"https://cdn.gamma.app/theme_images/default-light/defaultlight-12_99644b26.jpg"},originalSource:"image.custom",source:"accent.theme",type:l.E.IMAGE},{accentId:"ff65bca8",image:{meta:{height:4096,width:4096},name:"defaultlight-13_ff65bca8.jpg",source:"image.custom",src:"https://cdn.gamma.app/theme_images/default-light/defaultlight-13_ff65bca8.jpg"},originalSource:"image.custom",source:"accent.theme",type:l.E.IMAGE},{accentId:"9cbf8fa2",image:{meta:{height:4096,width:4096},name:"defaultlight-16_9cbf8fa2.jpg",source:"image.custom",src:"https://cdn.gamma.app/theme_images/default-light/defaultlight-16_9cbf8fa2.jpg"},originalSource:"image.custom",source:"accent.theme",type:l.E.IMAGE},{accentId:"50147d7c",image:{meta:{height:4096,width:4096},name:"defaultlight-17_50147d7c.jpg",source:"image.custom",src:"https://cdn.gamma.app/theme_images/default-light/defaultlight-17_50147d7c.jpg"},originalSource:"image.custom",source:"accent.theme",type:l.E.IMAGE},{accentId:"3f7406eb",image:{meta:{height:4096,width:4096},name:"defaultlight-18_3f7406eb.jpg",source:"image.custom",src:"https://cdn.gamma.app/theme_images/default-light/defaultlight-18_3f7406eb.jpg"},originalSource:"image.custom",source:"accent.theme",type:l.E.IMAGE}],background:{color:{hex:"#f6f4f4"},type:l.E.COLOR},container:{effect:l.v.SOLID,isDark:!1},contentStyles:{".block-heading [level], .block-title .title":{letterSpacing:"-.03em"},letterSpacing:"-.02em",lineHeight:1.8}},createdTime:"2022-01-01T23:49:27.389Z",id:"default-light",name:"Default (light)",priority:1e3,updatedTime:"2022-06-09T10:38:15.943Z"}},13793:function(e,t,n){"use strict";var l,a,o,i;n.d(t,{E:function(){return a},v:function(){return l}}),(o=l||(l={})).SOLID="solid",o.FROSTED="frosted",o.FADED="faded",o.CLEAR="clear",o.COLLAPSED="collapsed",(i=a||(a={})).ANIMATION="animation",i.IMAGE="image",i.COLOR="color",i.GRADIENT="gradient",i.NONE="none"},90604:function(e,t,n){"use strict";var l,a;n.d(t,{q:function(){return l}}),(a=l||(l={})).DOC_VIEW="DOC_VIEW",a.SLIDE_VIEW="SLIDE_VIEW"},11093:function(e,t,n){"use strict";n.d(t,{$E:function(){return F},$i:function(){return j},$y:function(){return m},Ci:function(){return k},E8:function(){return A},Fu:function(){return P},Je:function(){return h},Jn:function(){return O},K9:function(){return N},KB:function(){return I},NC:function(){return z},P3:function(){return B},Ru:function(){return x},Sh:function(){return f},TV:function(){return b},V2:function(){return _},WL:function(){return T},bR:function(){return c},by:function(){return E},fW:function(){return g},g:function(){return C},j0:function(){return L},lI:function(){return y},nv:function(){return v},pm:function(){return M},ro:function(){return w},sS:function(){return R},sw:function(){return S}});var l=n(72338),a=n(2689),o=n.n(a),i=n(26151),r=n(22265),s=n(60742),d=n(15425),u=n(78462);let c=e=>{let t=e.type.isBlock&&0===e.childCount&&!e.isAtom,n=e.isTextblock&&0===e.content.size;return t||n},m=e=>c(e)||1==e.childCount&&m(e.child(0)),f=(e,t)=>{if(e.isDestroyed)return;let n=e.view.state.doc.nodeAt(t),l=e.view.nodeDOM(t),a=e.view.domAtPos(t);if(!l&&!a)return;let o=(null==n?void 0:n.type.name)==="card"&&l,i=n&&n.nodeSize>1&&a?a.node:l,r=o||i||(null==a?void 0:a.node)||l,s=r instanceof Element?r:r.parentElement;return s},p=(e,t)=>{if(!t)return null;let n=e.view.nodeDOM(t.inside);if(n)return{node:n,pos:t.inside};let l=e.view.domAtPos(t.pos).node;return l?{node:l,pos:t.pos}:null},g=(e,t)=>{let n=e.view.nodeDOM(t),l=(null==n?void 0:n.nodeType)===window.Node.TEXT_NODE?n.parentElement:n;return l||void 0},h=function(e,t){let n,l,a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=document.querySelector(t);if(!r)return{};let s=r.getBoundingClientRect();for(let t of[2,2.5,3,3.5,4,5,6,7,8]){let r=i+(s.width-i)/t,d=s.top+o;if(!(n=e.view.posAtCoords({left:r,top:d})))continue;let u=p(e,n);if(l=null==u?void 0:u.node,a=null==u?void 0:u.pos,l)break}return{node:l,pos:n,posForNode:a}},b=e=>{let t,n,{editor:l,side:a="top",margin:o=100}=e,i=(0,r.cC)("editor");for(let e=1;et)&&(n=u.node,t=o))}return{pos:t,node:n}},y=function(e){let t,n,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=(0,r.cC)("editor");for(let i=l;i>l/2;i-=10){let l=h(e,o.scrollSelector,i,a);l.posForNode&&(!t||l.posForNode>t)&&(t=l.posForNode,n=l.node)}if(!t){console.warn("[getTopCenterPosPct] No result for getTopCenterIshNode");return}let i=(0,s.N_)(n);if(!i||!t)return;(0,s.wO)({element:i,color:"#32ff61",requiredCookie:"spotlightScrollDebug=true"});let d=i.getBoundingClientRect(),u=parseFloat(((l-d.y)/d.height).toFixed(2));return console.debug("[getTopCenterPosPct].",JSON.stringify({pct:u,pos:t}),n),{pos:t,pct:u}},v=(e,t)=>{let n=[];for(let l=e.depth;l>0;l--){let a=e.node(l),o=e.posAtIndex(0,l-1),i=e.doc.resolve(o).parent;t(a,i)&&n.push({pos:l>0?e.before(l):0,start:e.start(l),depth:l,node:a})}return n},k=(e,t)=>{for(let n=e.depth;n>0;n--){let l=e.node(n);if(t(l,n))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:l}}},x=(e,t)=>{let n=e.nodeAfter,l=e.parent,a=n&&t(n,l)?[{node:n,pos:e.pos}]:[];return a.concat(v(e,t))},w=(e,t,n,l)=>{let a=!1;return n>=t&&e.nodesBetween(t,n,e=>(l.isInSet(e.marks)&&(a=!0),!a)),a},S=e=>({parseHTML:t=>{let n=t.getAttribute("data-".concat(e));if(n)return JSON.parse(n)},renderHTML:t=>{let n=t[e];return n?{["data-".concat(e)]:JSON.stringify(n)}:{}}}),C=e=>{if(!e.length||!(0,d.kr)(e))return null;try{var t;let n=new URL(e).hash,l=(null==n?void 0:null===(t=n.split(u.Ie))||void 0===t?void 0:t[1])||null;return l}catch(e){return null}},z=(e,t)=>{let n=C(e);return!!n&&t.includes(n)},A=(e,t,n,l,a,o)=>{let i="",r=!0;return e.nodesBetween(t,n,(e,s)=>{if(!l(e))return!1;e.isText&&e.text?(i+=e.text.slice(Math.max(t,s)-s,n-s),r=!a):e.isLeaf&&o?(i+=o,r=!a):!r&&e.isBlock&&(i+=a,r=!0)},0),i},I=e=>{var t;return e.view.hasFocus()||!!(null===(t=document.activeElement)||void 0===t?void 0:t.closest("[data-in-editor-focus]"))},j=(e,t)=>{let{selection:n,schema:l}=e.state,{$from:a}=n,o=a.blockRange(n.$to),i=l.nodes[t];if(!o)return!1;let r=a.parent.canReplaceWith(a.index(),a.index(),i),s=o.parent.canReplaceWith(o.endIndex,o.endIndex,i);return s||r},F=(e,t)=>{let{selection:n,schema:l}=e.state,{$from:a}=n,o=a.blockRange(n.$to),i=l.nodes[t];if(!o)return!1;let r=o.parent.canReplaceWith(o.startIndex,o.endIndex,i);return r},B=(e,t)=>{let{selection:n,schema:l}=e.state,{$from:a}=n,o=a.blockRange(n.$to),r=l.nodes[t];return!!o&&!!(0,i.nd)(o,r)},M=(e,t)=>{let{selection:n,doc:a}=e.state,{from:o,to:i}=n,r=(0,l.b5)(a,{from:o,to:i},t);return r.length>0},E=(e,t)=>M(e,n=>n.type.allowsMarkType(e.schema.marks[t])),_=(e,t)=>M(e,e=>{var n;return!!(null===(n=e.type.spec.attrs)||void 0===n?void 0:n[t])}),O=e=>o()(e.childCount).map(t=>e.child(t)),P=(e,t)=>{let n=t.nodeDOM(e);return null==n?void 0:n.getBoundingClientRect()},T=e=>!!e&&(0,l.N2)(e,e=>"image"===e.type.name&&!e.attrs.src).length>0,R=(e,t)=>{let n=[];return e.forEach((e,l)=>{t(e)&&n.push({node:e,pos:l})}),n},N=(e,t)=>{e.forEach(e=>{t(e)}),e.forEach(e=>{e.content&&N(e.content,t)})},L=(e,t)=>{let n=e.extensionManager.extensions.find(e=>e.name===t.name);return n}},14647:function(e,t,n){"use strict";n.d(t,{ho:function(){return i},iJ:function(){return r}});var l=n(72338),a=n(74311);let o=new Set(["bullet","numbered","todo","title","heading","paragraph","image","blockquote","embed","video"]),i=(e,t)=>{if(o.has(e.type.name)){let n={type:"card",content:[e.toJSON()]},o=(0,a.e)().map(e=>(null==t?void 0:t.includes(e.name))?e instanceof l.vc?e.extend({renderHTML:()=>["span",0]}):e.extend({renderHTML:()=>""}):e);return(0,l.ar)(n||{},o)}return""},r=(e,t)=>{if(o.has(e.type.name)){let n={type:"card",content:[e.toJSON()]},o=(0,a.e)().map(e=>(null==t?void 0:t.includes(e.name))?(l.vc,e.extend({renderText:()=>""})):e);return(0,l._4)(n||{},o)}return""}},5596:function(e,t,n){"use strict";n.d(t,{j:function(){return l}});let l=e=>{var t;let{mutation:n}=e,l="attributes"===n.type&&(null===(t=n.attributeName)||void 0===t?void 0:t.startsWith("data-"));return!!l}},47577:function(e,t,n){"use strict";n.d(t,{A0:function(){return u},Wy:function(){return r},ok:function(){return d},zK:function(){return s}});var l=n(72338),a=n(27191),o=n(11050),i=n(83440);let r=(e,t)=>{let n=s(e);return new l.VK({find:e.find,handler:l=>{let{state:r,range:s}=l,d=new a.Bs(r.doc.resolve(s.from),r.doc.resolve(s.to)),u=(0,i.Tr)(t)(d);if(u)return null;let c=n.handler(l);return null!==c&&o.co.track(o.AA.NODE_INSERTED,{method:o.fe.INPUT_RULE,node_name:e.type.name}),c}})};function s(e){return new l.VK({find:e.find,handler:t=>{let{state:n,range:a,match:o}=t,i=n.doc.resolve(a.from),r=(0,l.nU)(e.getAttributes,void 0,o)||{},s={...i.parent.attrs,...r};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),e.type))return;let{tr:d}=n;d.delete(a.from,a.to).setBlockType(a.from,a.from,e.type,s)}})}function d(e){return new l.VK({find:e.find,handler:t=>{let{state:n,range:a,match:o}=t,i=(0,l.nU)(e.getAttributes,void 0,o)||{},{tr:r}=n,s=a.from,d=a.to,u=n.doc.resolve(s),c=u.before();r.replaceWith(c,d,e.type.create(i))}})}function u(e){return new l.VK({find:e.find,handler:t=>{let{state:n,range:a}=t,o=n.doc.resolve(a.from),i=(0,l.nU)(e.getAttributes,void 0,o.parent);if(!i)return;let r=n.tr.delete(a.from,a.to);Object.entries(i).forEach(e=>{let[t,n]=e;r.setNodeAttribute(a.from-1,t,n)})}})}},91073:function(e,t,n){"use strict";n.d(t,{KH:function(){return l.KH},su:function(){return o},zh:function(){return a}});var l=n(96255);let a=e=>{var t;let n=(null===(t=e.type.spec.group)||void 0===t?void 0:t.split(" "))||[];return n.includes("block")||n.includes("cardBlock")},o=(e,t)=>{let n=[];try{var l;n=(null===(l=e.view.docView.descAt(t))||void 0===l?void 0:l.outerDeco)||[]}catch(e){console.error("[getDecorationsForNode] unable to find decorations at pos ".concat(t),e.message)}return n}},68292:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var l=n(72338);function a(e){let{type:t}=e;if(!t.isInline)throw Error("[nodePasteRule] This paste rule was only designed to consider inline nodes.");return new l.hD({find:e.find,handler:t=>{let{state:n,range:a,match:o}=t,{tr:i}=n,r=a.from,s=a.to,d=(0,l.nU)(e.getAttributes,void 0,o)||{};i.replaceWith(r,s,e.type.create(d))}})}},46795:function(e,t,n){"use strict";n.d(t,{XV:function(){return i},jS:function(){return o}});var l=n(38564),a=n(857);let o=(e,t)=>{let n=l.Gt.getState(e);if(!n)return null;let{type:o,binding:i}=n;return n.binding?(0,a.JR)(t,o,i.mapping):null},i=(e,t)=>{let n=l.Gt.getState(e);if(!n)return null;let{doc:o,type:i,binding:r}=n;return n.binding?(0,a.SF)(o,i,t,r.mapping):null}},67748:function(e,t,n){"use strict";n.d(t,{c:function(){return r}});var l=n(30764),a=n(27191),o=n(38322),i=n(15690);class r extends a.Y1{map(e,t){let{deleted:n,pos:l}=t.mapResult(this.anchor),o=e.resolve(l);return n?(0,i.E)(o)||a.Y1.near(o):new r(o,this.side)}content(){return new l.p2(l.HY.from(this.node),0,0)}eq(e){return e instanceof r&&e.anchor===this.anchor&&e.side===this.side}toJSON(){return{type:"presentation",anchor:this.anchor,side:this.side}}createSelectionNear(){let e=this.side<1?1:-1,t=(0,o.t)(this.$from,e);return t||a.Y1.near(this.$from)}static fromJSON(e,t){if("number"!=typeof t.anchor)throw RangeError("Invalid input for PresentationSelection.fromJSON");return new r(e.resolve(t.anchor))}static create(e,t,n){return new r(e.resolve(t),n)}static isSelectable(e){return!e.isText&&!1!==e.type.spec.selectable}constructor(e,t=0){let n=e.nodeAfter,l=e.node(0).resolve(e.pos+n.nodeSize);super(e,l),this.node=n,this.side=t}}if(r.prototype.visible=!1,!r.prototype.jsonID)try{a.Y1.jsonID("presentation",r)}catch(e){}},38322:function(e,t,n){"use strict";n.d(t,{G:function(){return i},t:function(){return function e(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,{doc:o}=t,i=n<0;if(!t.nodeAfter)return null;if(t.nodeAfter.inlineContent)return a.Y1.near(o.resolve(t.pos+(i?t.nodeAfter.content.size+1:0)),n);let r=(0,l.N2)(t.nodeAfter,e=>e.inlineContent||a.qv.isSelectable(e));if(!r||0===r.length)return a.qv.create(o,t.pos);let s=t.start(t.depth+1)+(i?r[r.length-1].pos:r[0].pos);return e(o.resolve(s),n)}}});var l=n(72338),a=n(27191),o=n(26151);let i=(e,t)=>{var n;let l;let a=e.doc,i=e.steps.length-1,r=e.steps[i];if(!r||!(r instanceof o.Pu||r instanceof o.FC)||0===r.slice.content.size)return null;let s=t||(null===(n=r.slice.content.child(r.slice.openStart))||void 0===n?void 0:n.type.name),d=e.mapping.maps[i];if(d.forEach((e,t,n)=>{null==l&&(l=n)}),null==l)return null;let u=a.nodeAt(l);if(u&&u.type.name===s)return a.resolve(l);if(!s)return console.warn("[getInsertedNodePos] Error selecting node, type not found in slice.lastChild",l),null;for(let t=r.from;tt&&a.qv.isSelectable(t)?a.qv.create(e,n):null,r=(e,t,n)=>t&&t.inlineContent?a.Bs.create(e,n):null;function s(e,t,n){return e&&n?n:e&&t?t:!e&&t?t:!e&&n?n:null}function d(e,t){let{doc:n,pos:o,parent:d,nodeAfter:u,nodeBefore:c}=e;if(d.inlineContent)return a.Bs.create(n,o);let m=t>0,f=s(m,r(n,c,o-1),r(n,u,o+1));if(f)return f;if(l.Q.valid(e))return new l.Q(e);if(d.type.spec.isolating){let t=s(m,i(n,c,o-((null==c?void 0:c.nodeSize)||0)),i(n,u,o));if(t)return t;if(0===d.childCount&&a.qv.isSelectable(d))return a.qv.create(n,e.before())}return null}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=d(e,t);if(n)return n;for(let n=e.depth-1;n>=0&&!e.node(n+1).type.spec.isolating;n--){let l=t<0?e.before(n+1):e.after(n+1),a=d(e.doc.resolve(l),t);if(a)return a}return null}let c=(e,t)=>{let n;let l=e.steps.length-1,a=e.steps[l];if(!(a instanceof o.Pu||a instanceof o.FC))return null;let i=e.mapping.maps[l];return(i.forEach((e,t,l,a)=>{null==n&&(n=a)}),null==n)?null:u(e.doc.resolve(n),t)}},23147:function(e,t,n){"use strict";n.d(t,{hs:function(){return a}}),n(14196),n(55461),n(1842),n(74311);let l=e=>{"card"===e.type&&e.attrs&&delete e.attrs.id},a=e=>{let t=e=>{var n;return null===(n=e.content)||void 0===n?void 0:n.map(e=>{if(!e.content)return e;let n={...e,attrs:{...e.attrs}};return l(n),n.content=t(n),n})};return l(e),Object.assign({},e,{content:t(e)})}},7628:function(e,t,n){"use strict";n.d(t,{D:function(){return o}});var l=n(57660),a=n(78462);let o=e=>{let{cardId:t,method:n="replace",data:o={},emitChange:i=!0}=e,r="#".concat(a.Ie).concat(t);if(void 0!==t){if(null===t){(0,l.lO)({hash:"",data:o,emitChange:i});return}"push"===n?(0,l.qA)({hash:r,data:o,emitChange:i}):(0,l.lO)({hash:r,data:o,emitChange:i})}}},16656:function(e,t,n){"use strict";n.d(t,{rJ:function(){return em},kC:function(){return eh}});var l=n(35483),a=n(52322),o=n(38035),i=n(79729),r=n(28165),s=n(2784),d=n(36651),u=n(29117),c=n(43679),m=n(34071),f=n(39429),p=n(75768),g=n(82655),h=n(87254);let b=s.createContext({});function y(){let e=s.useContext(b);return e}var v=n(28535),k=n(32899),x=n(17993),w=n(97166),S=n(20437),C=n(62614),z=n(5879),A={src:"/_next/static/media/transparent-background.ccc186e7.png"};let I={[l.HQ.White]:"#f0f1f3",[l.HQ.Gray]:"#788492",[l.HQ.Green]:"#36b24d",[l.HQ.Blue]:"#1c7ed6",[l.HQ.Violet]:"#7746f1",[l.HQ.Red]:"#ff2133",[l.HQ.Orange]:"#ff9433",[l.HQ.Yellow]:"#ffc936"},j=e=>e.appState.currentStyle,F=e=>e.document.pageStates[e.appState.currentPageId].selectedIds,B=e=>e.settings.isDarkMode?"dark":"light",M=e=>{let{style:t,colorMode:n}=e;return(0,a.jsx)(v.xu,{backgroundColor:t.isFilled?l.tk.fills[n][t.color]:void 0,backgroundImage:t.isFilled?void 0:A.src,backgroundSize:"4em",borderColor:l.tk.strokes[n][t.color],borderWidth:"2px",h:"1em",w:"1em",borderRadius:"md"})},E=Object.keys(l.tk.defaultTextStyle),_=(e,t)=>{let{page:n}=e,l={};if(t.length<=0)return{};{let e=new Set([]);t.map(e=>n.shapes[e]).forEach(t=>{E.forEach(n=>{if(!e.has(n)){if(void 0===l[n])l[n]=t.style[n];else{if(l[n]===t.style[n])return;e.add(n)}}})}),e.forEach(e=>{delete l[e]})}return l},O=()=>{let e=y(),t=e.useStore(B),n=e.useStore(j),o=e.useStore(F),i=_(e,o),r={...n,...i};return(0,a.jsxs)(c.J,{trigger:"hover",children:[(0,a.jsx)(m.x,{children:(0,a.jsx)(k.h,{icon:(0,a.jsx)(M,{style:r,colorMode:t}),variant:"ghost",size:"sm","aria-label":""})}),(0,a.jsx)(f.y,{w:"fit-content",bg:"#F9FAFBFA",p:4,children:(0,a.jsxs)(x.g,{spacing:2,align:"flex-start",children:[(0,a.jsx)(w.l,{children:(0,a.jsx)(z.cC,{id:"TuM2Yu"})}),(0,a.jsx)(S.M,{columns:2,spacing:2,children:[!0,!1].map(n=>(0,a.jsx)(C.z,{leftIcon:(0,a.jsx)(M,{style:{...r,isFilled:n},colorMode:t}),variant:"ghost",size:"sm",isActive:r.isFilled===n,onClick:()=>e.style({isFilled:n}),children:n?(0,a.jsx)(z.cC,{id:"5bi1la"}):(0,a.jsx)(z.cC,{id:"dD7NPy"})},n?"fill":"outline"))}),(0,a.jsx)(w.l,{children:(0,a.jsx)(z.cC,{id:"1HfW/F"})}),(0,a.jsx)(S.M,{columns:4,spacing:2,w:"100%",children:Object.entries(l.HQ).map(n=>{let[l,o]=n;return I[o]?(0,a.jsx)(k.h,{icon:(0,a.jsx)(M,{style:{...r,color:o},colorMode:t}),variant:"ghost",size:"md","aria-label":l,isActive:r.color===o,onClick:()=>e.style({color:o})},o):null})})]})})]})};var P=n(68023),T=n(49929),R=n(94523);let N=(0,P.G)((e,t)=>{let{label:n,icon:l,tooltipPlacement:o="top",...i}=e;return(0,a.jsx)(R.kH,{placement:o,label:n,isDisabled:!n,children:(0,a.jsx)(k.h,{"aria-label":n||"",ref:t,size:"sm",variant:"",icon:(0,a.jsx)(T.G,{icon:l}),color:"trueblue.600",textShadow:"0px 1px 0px rgba(0,0,0,0)",fontWeight:"500",borderRadius:"md",borderWidth:"1px",backdropFilter:"blur(20px)",borderColor:"transparent",_hover:{bg:"gray.100",borderColor:"gray.200"},_focus:{bg:"gray.100",borderColor:"gray.200"},_active:{bg:"trueblue.100",borderColor:"trueblue.200"},...i})})}),L=e=>{let{children:t,...n}=e;return(0,a.jsx)(o.k,{bg:"#F9FAFBDD",p:1,borderWidth:"1px",borderColor:"whiteAlpha.600",borderRadius:"xl",shadow:"xl",...n,children:t})},D={[l.HE.Start]:g.elf,[l.HE.Middle]:g.MB3,[l.HE.End]:g.S3c},W=()=>{let e=y(),t=e.useStore(j),n=e.useStore(F),o=_(e,n),i={...t,...o};return(0,a.jsxs)(c.J,{trigger:"hover",children:[(0,a.jsx)(m.x,{children:(0,a.jsx)(N,{icon:D[i.textAlign||l.HE.Start]})}),(0,a.jsx)(f.y,{background:"none",shadow:"none",w:"fit-content",children:(0,a.jsx)(L,{direction:"column",children:(0,a.jsxs)(p.h,{children:[(0,a.jsx)(N,{icon:g.elf,label:h.ag._({id:"IR6Txi"}),onClick:()=>e.style({textAlign:l.HE.Start}),isActive:i.textAlign===l.HE.Start},"align-left"),(0,a.jsx)(N,{icon:g.MB3,label:h.ag._({id:"8nOdkO"}),onClick:()=>e.style({textAlign:l.HE.Middle}),isActive:i.textAlign===l.HE.Middle},"align-center"),(0,a.jsx)(N,{icon:g.S3c,label:h.ag._({id:"pd0UH2"}),onClick:()=>e.style({textAlign:l.HE.End}),isActive:i.textAlign===l.HE.End},"align-right"),(0,a.jsx)(N,{icon:g.z1q,label:h.ag._({id:"18P2qJ"}),onClick:()=>e.style({textAlign:l.HE.Justify}),isActive:i.textAlign===l.HE.Justify},"justify")]})})})]})},U=e=>e.document.pageStates[e.appState.currentPageId].selectedIds.some(t=>void 0!==e.document.pages[e.appState.currentPageId].shapes[t].children),H=e=>"idle"===e.appState.status&&e.document.pageStates[e.appState.currentPageId].selectedIds.length>0,G=e=>e.document.pageStates[e.appState.currentPageId].selectedIds.length,q=e=>{let t=e.appState.currentPageId,n=e.document.pages[t];for(let l of e.document.pageStates[t].selectedIds)if("text"in n.shapes[l])return!0;return!1},V=s.memo(function(){let e=y(),{isGammaOrgUser:t}=(0,d.SE)(),n=e.useStore(H),i=e.useStore(U),r=e.useStore(G),s=e.useStore(q);return(0,a.jsx)(o.k,{w:"100%",direction:"row",position:"absolute",bottom:2,align:"flex-end",justify:"center",zIndex:1,children:(0,a.jsx)(L,{children:(0,a.jsxs)(u.U,{spacing:2,children:[t&&(0,a.jsx)(N,{icon:g.ISu,label:h.ag._({id:"SpTWH3"}),onClick:()=>e.exportImage(l.Uz.SVG,{scale:1,quality:1})},"download"),n&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(N,{icon:g.XAH,label:h.ag._({id:"/Wgayn"}),onClick:()=>e.delete(),"data-testid":"drawing-edit-toolbar-delete"},"delete"),(0,a.jsx)(K,{}),r>=2&&(0,a.jsx)(Y,{}),r>=2||i?(0,a.jsx)(N,{icon:g.tU8,label:i?"Ungroup selection":"Group selection",onClick:()=>i?e.ungroup():e.group(),isActive:i},"group"):null]}),(0,a.jsx)(O,{}),s&&(0,a.jsx)(W,{})]})})})}),K=()=>{let e=y();return(0,a.jsxs)(c.J,{trigger:"hover",children:[(0,a.jsx)(m.x,{children:(0,a.jsx)(N,{icon:g.y3T})}),(0,a.jsx)(f.y,{background:"none",shadow:"none",w:"fit-content",children:(0,a.jsxs)(L,{direction:"row",children:[(0,a.jsx)(N,{icon:g.XQV,label:h.ag._({id:"J6qWQV"}),onClick:()=>e.moveToFront()},"front"),(0,a.jsx)(N,{icon:g.y3T,label:h.ag._({id:"9xFjqz"}),onClick:()=>e.moveForward()},"forward"),(0,a.jsx)(N,{icon:g.QZW,label:h.ag._({id:"OfSb1W"}),onClick:()=>e.moveBackward()},"backward"),(0,a.jsx)(N,{icon:g.H5Z,label:h.ag._({id:"/zBSYY"}),onClick:()=>e.moveToBack()},"back")]})})]})},Y=()=>{let e=y();return(0,a.jsxs)(c.J,{trigger:"hover",children:[(0,a.jsx)(m.x,{children:(0,a.jsx)(N,{icon:g.I6v})}),(0,a.jsx)(f.y,{background:"none",shadow:"none",w:"fit-content",children:(0,a.jsxs)(L,{direction:"column",children:[(0,a.jsxs)(p.h,{children:[(0,a.jsx)(N,{icon:g.I6v,label:h.ag._({id:"IR6Txi"}),onClick:()=>e.align(l.MR.Left)},"align-left"),(0,a.jsx)(N,{icon:g.liD,label:h.ag._({id:"8nOdkO"}),onClick:()=>e.align(l.MR.CenterHorizontal)},"align-center"),(0,a.jsx)(N,{icon:g.xfv,label:h.ag._({id:"pd0UH2"}),onClick:()=>e.align(l.MR.Right)},"align-right"),(0,a.jsx)(N,{icon:g.ZC_,label:h.ag._({id:"8lqfXb"}),onClick:()=>e.distribute(l.XR.Horizontal)},"distribute-h")]}),(0,a.jsxs)(p.h,{children:[(0,a.jsx)(N,{icon:g.JhG,label:h.ag._({id:"/Q0jUh"}),onClick:()=>e.align(l.MR.Top)},"align-top"),(0,a.jsx)(N,{icon:g.UiH,label:h.ag._({id:"QhuQN2"}),onClick:()=>e.align(l.MR.CenterVertical)},"align-middle"),(0,a.jsx)(N,{icon:g.iXx,label:h.ag._({id:"EPnxoe"}),onClick:()=>e.align(l.MR.Bottom)},"align-bottom"),(0,a.jsx)(N,{icon:g.edW,label:h.ag._({id:"a1NrWf"}),onClick:()=>e.distribute(l.XR.Vertical)},"distribute-v")]})]})})]})};var $=n(74008),J=n(54933);let X=()=>[{icon:J.qaO,label:h.ag._({id:"rG3WVm"}),tool:"select"},{icon:g.xf2,label:h.ag._({id:"Ajc4TJ"}),tool:"erase"},{icon:J.ZC5,label:h.ag._({id:"rjuFFw"}),tool:l.Uc.Line},{icon:J.nUK,label:h.ag._({id:"zFkhx3"}),tool:l.Uc.Arrow},{icon:J.lCX,label:h.ag._({id:"30KLDI"}),tool:l.Uc.Rectangle},{icon:J.diR,label:h.ag._({id:"7xMmki"}),tool:l.Uc.Ellipse},{icon:J.BwA,label:h.ag._({id:"ucHvJP"}),tool:l.Uc.Triangle},{icon:J.K5C,label:h.ag._({id:"xeiujy"}),tool:l.Uc.Text}],Z=e=>e.appState.activeTool,Q=s.memo(function(){let e=y(),t=e.useStore(Z);return(0,a.jsx)(o.k,{h:"100%",direction:"column",position:"absolute",right:2,align:"flex-end",justify:"center",zIndex:1,children:(0,a.jsx)(L,{children:(0,a.jsx)(x.g,{spacing:2,children:X().map(n=>{let{label:l,icon:o,tool:i}=n;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(N,{icon:o,label:l,onClick:()=>e.selectTool(i),isActive:t===i,tooltipPlacement:"left","data-testid":"drawing-insert-toolbar-".concat(i)},l),"select"==i&&(0,a.jsx)($.i,{},"selectDivider")]})})})})})});var ee=n(10625),et=n(67046),en=n(99058),el=n(25481);let ea=e=>e.document.pageStates[e.appState.currentPageId].camera.zoom,eo=e=>e.settings.showGrid,ei=s.memo(function(){let e=y(),t=e.useStore(eo);return(0,a.jsx)(o.k,{position:"absolute",top:2,left:2,zIndex:1,children:(0,a.jsx)(L,{children:(0,a.jsxs)(u.U,{spacing:2,children:[(0,a.jsx)(er,{}),(0,a.jsx)(N,{icon:J.fnF,label:t?h.ag._({id:"IsBZFj"}):h.ag._({id:"mWgfWA"}),isActive:t,onClick:()=>e.setSetting("showGrid",!t)},"grid")]})})})}),er=s.memo(function(){let e=y(),t=e.useStore(ea);return(0,a.jsxs)(ee.v,{children:[(0,a.jsxs)(et.j,{as:C.z,"data-test-id":"zoom-menu-button",size:"sm",colorScheme:"trueblue",variant:"ghost",leftIcon:(0,a.jsx)(T.G,{icon:g.Y$T}),children:[Math.round(100*t),"%"]}),(0,a.jsxs)(en.q,{children:[(0,a.jsx)(el.s,{command:"#+",onClick:e.zoomIn,children:(0,a.jsx)(z.cC,{id:"AWOSPo"})}),(0,a.jsx)(el.s,{command:"#-",onClick:e.zoomOut,children:(0,a.jsx)(z.cC,{id:"FjkaiT"})}),(0,a.jsx)(el.s,{command:"⇧0",onClick:e.resetZoom,children:(0,a.jsx)(z.cC,{id:"41NrIs"})}),(0,a.jsx)(el.s,{command:"⇧1",onClick:e.zoomToFit,"data-test-id":"zoom-to-fit-button",children:(0,a.jsx)(z.cC,{id:"pLI1Is"})})]})]})});var es=n(99787);let ed=e=>{let t=(0,s.useCallback)(async(t,n,a)=>{if(!e)return console.warn("[useAssetUpload] OrgId is required to upload assets"),!1;let o=URL.createObjectURL(n);console.debug("[useAssetUpload] Handling upload for file",{file:n,id:a,tempUrl:o});let i=e=>{let n=t.assets.find(e=>e.id===a);if(n){console.debug("[useAssetUpload] Upload complete. Replacing temp asset",{id:a,src:e.src});let l={document:{assets:{[a]:{...n,src:e.src}}}};t.patchState(l,"upload"),t.persist(l,"upload")}};return(0,es.cT)(n,e,{onOriginalFileUpload:i,onUploadComplete:i}),t.patchState({document:{assets:{[a]:{id:a,type:l.LO.Image,fileName:n.name,src:o}}}}),o},[e]),n=(0,s.useCallback)(async(e,t)=>!0,[]);return{onAssetCreate:t,onAssetDelete:n}};var eu=n(10668);let ec={dash:l.g6.Solid,isFilled:!0,color:l.HQ.White},em=e=>{let{isDark:t,font:n,...u}=e,{currentWorkspace:c}=(0,d.SE)(),[m,f]=(0,s.useState)(),[p,g]=(0,s.useState)(!1),h=(0,s.useCallback)(e=>{f(e),e.style(ec,[]),g(!0)},[]),{onAssetCreate:y,onAssetDelete:v}=ed(null==c?void 0:c.id);(0,s.useEffect)(()=>{m&&void 0!==t&&m.setSetting("isDarkMode",t)},[m,t]);let k=(0,s.useMemo)(()=>(0,eu.c)(t),[t]),x=(0,s.useMemo)(()=>(0,eu.m)(n),[n]);return(0,a.jsxs)(o.k,{sx:{".tl-canvas":{"div, text, textarea":{...x},...k,'g[cursor="grab"][aria-label="link handle"]':{display:"none"}}},onDrop:()=>{},onPaste:()=>{},position:"relative",h:"100%",w:"100%",className:"highlight-mask",children:[(0,a.jsx)(r.xB,{styles:{"#__textLabelMeasure, #__textMeasure":{...x}}}),(0,a.jsxs)(b.Provider,{value:m||{},children:[(0,a.jsx)(l.Dr,{onAssetCreate:y,onAssetDelete:v,...u,onMount:(0,i.v0)(u.onMount,h)}),p&&!u.readOnly&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(V,{}),(0,a.jsx)(Q,{})]}),p&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(ei,{})})]})]})};var ef=n(75054),ep=n(51987);let eg=e=>ef.cQ.getCommonBounds(e.map(l.D9.getRotatedBounds)),eh=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:128,{shapes:n,pageState:{camera:a},rendererBounds:o}=e;if(0===n.length)return;let i=eg(n);if(!i)return;let r=l.D9.getCameraZoom(Math.min((o.width-t)/i.width,(o.height-t)/i.height)),s=(o.width-i.width*r)/2/r,d=(o.height-i.height*r)/2/r;e.setCamera(ep.B.toFixed(ep.B.sub([s,d],[i.minX,i.minY])),r,"zoomed_to_fit")}},10668:function(e,t,n){"use strict";n.d(t,{c:function(){return i},m:function(){return o}});var l=n(35483);let a=e=>"".concat(e," !important"),o=e=>({fontFamily:a(e)}),i=e=>{let t={"[data-shape=image]":{".tl-inner-div":{}},img:{'&[src^="blob:"]':{animation:"loading-pulse-animation 1.5s infinite"}}},n=Object.values(l.HQ),o=e?"dark":"light";return n.forEach(e=>{t['[data-color="'.concat(e,'"]')]={color:a(l.tk.strokes[o][e]),":not(mask) > [fill], &[fill]":{"&:not([fill=none])":{fill:a(l.tk.fills[o][e]),"text, tspan":{fill:a(l.tk.strokes[o][e])}}},"[stroke]":{"&:not([stroke=none])":{stroke:a(l.tk.strokes[o][e])}}}}),t}},39823:function(e,t,n){"use strict";n.d(t,{c:function(){return f},F:function(){return p}});var l,a=n(24551),o=n(56329),i=n(12304),r=n(97676),s=n(89),d=n(90439);let u=e=>({"div.textbox":{display:"flex",flexDirection:"column",alignItems:"var(--horizontal-align)",justifyContent:"var(--vertical-align)",textAlign:"var(--text-align)","--flex-align":"var(--horizontal-align)",height:"100%",...(0,o.A3)(e),fontSize:"".concat((null!==(l=e.config.fontSize)&&void 0!==l?l:1)*20,"px"),color:"var(--body-color)",".ProseMirror":{padding:"".concat(8,"px"),...c(e)}},foreignObject:{visibility:d.QX?"hidden":void 0,overflow:"visible","*":{wordWrap:"normal",whiteSpace:"pre-wrap"},"[data-autosize].textbox":{"> .text":{width:"max-content"}},"p.paragraph:empty::after":{content:'" "',whiteSpace:"pre",visibility:"hidden"},".textbox > .text":{padding:"".concat(8,"px"),width:"100%",alignItems:"var(--flex-align)",display:"block",...e.config.contentStyles,...m(e),".themed-heading":{position:"static"}}}}),c=e=>({lineHeight:1.4,letterSpacing:"var(--letter-spacing-body)",".block":{my:"1rem"},"> .first-block":{mt:"0rem"},"> .last-block":{mb:"0rem"},'.heading[level="1"], h1':(0,i.v0)("h1",e),'.heading[level="2"], h2':(0,i.v0)("h2",e),'.heading[level="3"], h3':(0,i.v0)("h3",e),'.heading[level="4"], h4':(0,i.v0)("h4",e),".block-heading":{mt:"1rem",mb:"1rem","&.first-block":{mt:"0rem"},"&.last-block":{mb:"0rem"}},...r.KX.default,...s.E_.default,...(0,i.Ji)(e),"a.link":{color:"var(--text-color, var(--link-color))",cursor:"pointer",fontWeight:"bold",textDecoration:"underline","&:hover":{color:"var(--text-color, var(--link-color))"},"&:active":{color:"var(--text-color, var(--link-color))"}},code:{backgroundColor:"var(--accent-color-background-muted)",color:"var(--body-color)",...r.FC}}),m=e=>({lineHeight:1.4,"> *":{my:"1rem","&:first-child":{mt:"0rem"},"&:last-child":{mb:"0rem"}},h1:(0,i.v0)("h1",e),h2:(0,i.v0)("h2",e),h3:(0,i.v0)("h3",e),h4:(0,i.v0)("h4",e),"h1, h2, h3, h4":{mt:"1rem",mb:"1rem",width:"100% !important"}}),f=e=>{let t=(0,a.cy)(e),n={text:{fill:"var(--body-color)"},"[data-shape-type=geo]":{path:{...t.shapeBackgroundSx,fill:"var(--shape-bg-color-override, var(--shape-bg-image-svg) var(--shape-bg-color))",vectorEffect:"none",strokeWidth:"var(--stroke-width)"},"&.tl-shape-background":{strokeWidth:0},".textbox":{padding:"12px"}},"[data-shape-type=arrow]":{"g, path":{stroke:"var(--shape-border-color-override, var(--shape-border-image-svg) var(--shape-border-color))",strokeWidth:"var(--stroke-width)"},".tl-arrow-label":{color:"var(--shape-border-color-override, var(--body-color)) !important"},text:{fill:"var(--shape-border-color-override, var(--body-color))"}},"[data-shape-type=line]":{path:{stroke:"var(--shape-border-color-override, var(--shape-border-image-svg) var(--shape-border-color))",strokeWidth:"var(--stroke-width)"}},"[data-shape-type=image]":{"[data-image-upload-status]":{".tl-image-container":{backgroundImage:"var(--temp-url)",objectFit:"cover",backgroundSize:"cover"}}},...u(e)},l={"[data-shape=image]":{".tl-inner-div":{}},img:{'&[src^="blob:"]':{animation:"loading-pulse-animation 1.5s infinite"}},...n};return l},p=(e,t)=>(t&&"none"===e&&(e="sm"),({none:0,sm:2,md:4,lg:6})[e])},1198:function(e,t,n){"use strict";n.d(t,{dv:function(){return r},aY:function(){return o},jj:function(){return s}});var l=n(2784);let a=l.useLayoutEffect,o=()=>{let e=(0,l.useRef)(null);return a(()=>{let t=document.createElement("div");return t.className="gamma-tooltip-portal",document.body.appendChild(t),e.current=t,()=>{document.body.contains(t)&&document.body.removeChild(t),e.current=null}},[]),e},i=(0,l.createContext)(null),r=i.Provider,s=()=>(0,l.useContext)(i)},50245:function(e,t,n){"use strict";n.d(t,{K:function(){return o},S:function(){return a}});var l=n(2784);let a=l.createContext({});function o(){let e=(0,l.useContext)(a);return e}},32670:function(e,t,n){"use strict";n.d(t,{gj:function(){return m},Yu:function(){return k},ts:function(){return y},rW:function(){return v},n_:function(){return b},we:function(){return p},py:function(){return g},d3:function(){return h},SE:function(){return c.K}}),n(52322),n(21805);var l=n(37164),a=n(2784);n(98621),n(91760);var o=n(14274);n(19431),n(1163),n(97763),n(17018),n(88232),n(42111);var i=n(94090);n(94220),n(90221),n(944),n(90383),o.v.INTERCOM_APP_ID,n(50788);var r=n(91695),s=n(76919);n(46637),n(89458),n(78462),n(88640);var d=n(96581),u=n(23347),c=n(50245);let m=new u.AbilityFactory,f=(0,a.createContext)(m.createForUser());function p(){let e=(0,d.we)(f);return e}function g(e,t){let n=(0,d.we)(f);return!!t&&n.can(e,t)}function h(){let{currentWorkspace:e}=(0,c.K)();return g("admin",e)}(0,d.M4)(f.Consumer);let b=()=>{let e=(0,i.bh)().getState();return(0,r.yb)(e)},y=()=>{let e=(0,i.bh)().getState();return(0,r.dy)(e)},v=()=>{let e=(0,i.bh)().getState();return(0,r.YA)(e)};(0,l.kP)("0123456789abcdefghijklmnopqrstuvwxyz",15);let k=e=>{let t=Object.keys(e.set||{}).map(t=>{var n;return{op:"replace",path:"/"+t,value:null===(n=e.set)||void 0===n?void 0:n[t]}}),n=(e.remove||[]).map(e=>({op:"remove",path:"/"+e}));return[...t,...n]};new s.v},36651:function(e,t,n){"use strict";n.d(t,{SE:function(){return l.SE},Yu:function(){return l.Yu},d3:function(){return l.d3},gj:function(){return l.gj},n_:function(){return l.n_},py:function(){return l.py},we:function(){return l.we}});var l=n(32670)},91695:function(e,t,n){"use strict";n.d(t,{Gf:function(){return f},YA:function(){return c},dy:function(){return d},io:function(){return u},yb:function(){return m}});var l=n(58125);let a={user:void 0,currentWorkspaceId:void 0},o=(0,l.oM)({name:"User",initialState:a,reducers:{reset:()=>a,setUser(e,t){let{user:n}=t.payload;e.user=n},setCurrentWorkspaceId(e,t){let{currentWorkspaceId:n}=t.payload;e.currentWorkspaceId=n}}}),{setUser:i,setCurrentWorkspaceId:r,reset:s}=o.actions,d=e=>e.User.user,u=e=>{var t;let n=d(e);return null==n?void 0:null===(t=n.settings)||void 0===t?void 0:t.locale},c=e=>{var t,n;let l=d(e),a=m(e);return null==l?void 0:null===(n=l.workspaceMemberships)||void 0===n?void 0:null===(t=n.find(e=>{var t;return(null===(t=e.workspace)||void 0===t?void 0:t.id)===a}))||void 0===t?void 0:t.workspace},m=e=>e.User.currentWorkspaceId,f=o.reducer},12825:function(e,t,n){"use strict";n.d(t,{_:function(){return o},r:function(){return a}});var l=n(2784);let a=l.createContext({});function o(){let e=(0,l.useContext)(a);return e}},56943:function(e,t,n){"use strict";n.d(t,{Hn:function(){return Z}});var l=n(73235),a=n(85525);function o(){let e=(0,l._)(["\n fragment DefaultThemeFontFields on ThemeFont {\n id\n name\n url\n }\n"]);return o=function(){return e},e}function i(){let e=(0,l._)(["\n ","\n fragment DefaultThemeFields on Theme {\n id\n workspaceId\n name\n headingFont\n headingFontWeight\n bodyFont\n bodyFontWeight\n accentColor\n logoUrl\n config\n priority\n archived\n createdTime\n updatedTime\n fonts {\n ... on ThemeFont {\n ...DefaultThemeFontFields\n }\n }\n }\n"]);return i=function(){return e},e}function r(){let e=(0,l._)(["\n ","\n mutation CreateTheme($input: CreateThemeInput!) {\n createTheme(input: $input) {\n ...DefaultThemeFields\n docCount\n }\n }\n\n mutation UpdateTheme($input: UpdateThemeInput!) {\n updateTheme(input: $input) {\n ...DefaultThemeFields\n docCount\n }\n }\n\n mutation MakeThemeStandard($id: ID!, $newId: ID) {\n makeThemeStandard(id: $id, newId: $newId) {\n ...DefaultThemeFields\n docCount\n }\n }\n\n mutation DuplicateTheme($id: ID!) {\n duplicateTheme(id: $id) {\n ...DefaultThemeFields\n }\n }\n\n query GetTheme($id: ID) {\n theme(id: $id) {\n ...DefaultThemeFields\n createdBy {\n id\n displayName\n email\n profileImageUrl\n }\n }\n }\n\n query GetThemeWithCount($id: ID) {\n theme(id: $id) {\n ...DefaultThemeFields\n docCount\n siteCount\n createdBy {\n id\n displayName\n email\n profileImageUrl\n }\n }\n }\n\n query GetThemes($workspaceId: ID, $archived: Boolean) {\n themes(workspaceId: $workspaceId, archived: $archived) {\n ...DefaultThemeFields\n createdBy {\n id\n displayName\n email\n profileImageUrl\n }\n }\n }\n\n mutation ArchiveTheme($id: ID!) {\n archiveTheme(id: $id) {\n ...DefaultThemeFields\n docCount\n siteCount\n }\n }\n\n mutation UnarchiveTheme($id: ID!) {\n unarchiveTheme(id: $id) {\n ...DefaultThemeFields\n }\n }\n"]);return r=function(){return e},e}let s=(0,a.Ps)(o()),d=(0,a.Ps)(i(),s);function u(){let e=(0,l._)(["\n query SearchMention(\n $workspaceId: ID!\n $query: String!\n $types: [SearchType!] = [user, doc]\n ) {\n search(orgId: $workspaceId, query: $query, types: $types) {\n __typename\n ... on DocResult {\n id\n title\n text\n archived\n previewUrl\n createdBy {\n id\n displayName\n profileImageUrl\n }\n organization {\n id\n }\n editors {\n user {\n id\n displayName\n profileImageUrl\n }\n lastViewed\n lastEdited\n }\n docUser {\n lastViewed\n lastEdited\n favorited\n }\n orgAccess\n publicAccess\n updatedTime\n createdTime\n editedTime\n }\n ... on User {\n id\n displayName\n email\n profileImageUrl\n }\n }\n }\n"]);return u=function(){return e},e}function c(){let e=(0,l._)(["\n fragment ReactionFields on Reaction {\n emoji\n count\n targetId\n targetType\n docId\n users {\n id\n displayName\n profileImageUrl\n }\n }\n"]);return c=function(){return e},e}function m(){let e=(0,l._)(["\n fragment CommentAuthorFields on User {\n id\n displayName\n profileImageUrl\n email\n }\n"]);return m=function(){return e},e}function f(){let e=(0,l._)(["\n ","\n ","\n fragment ReplyFields on Comment {\n id\n commentId\n content\n createdTime\n updatedTime\n archived\n user {\n ...CommentAuthorFields\n }\n reactions {\n ...ReactionFields\n }\n }\n"]);return f=function(){return e},e}function p(){let e=(0,l._)(["\n ","\n ","\n ","\n fragment CommentFields on Comment {\n id\n docId\n cardId\n content\n targetText\n targetHtml\n createdTime\n updatedTime\n archived\n targetId\n status\n user {\n ...CommentAuthorFields\n }\n replies {\n ...ReplyFields\n }\n reactions {\n ...ReactionFields\n }\n }\n"]);return p=function(){return e},e}function g(){let e=(0,l._)(["\n fragment DocCollaboratorFields on DocCollaborator {\n docId\n user {\n id\n displayName\n email\n profileImageUrl\n }\n permission\n guest\n accessLinkId\n }\n\n fragment DocInvitationsFields on DocInvitation {\n id\n docId\n email\n permission\n }\n"]);return g=function(){return e},e}function h(){let e=(0,l._)(["\n fragment DocChannelFields on DocChannel {\n id\n name\n slug\n permission\n }\n"]);return h=function(){return e},e}function b(){let e=(0,l._)(["\n fragment DocEditorsFields on DocEditor {\n user {\n id\n displayName\n email\n profileImageUrl\n }\n lastEdited\n }\n"]);return b=function(){return e},e}function y(){let e=(0,l._)(["\n ","\n fragment DocSiteFields on Site {\n id\n archived\n workspaceId\n name\n domains {\n id\n siteId\n name\n status\n builtin\n }\n routes {\n id\n siteId\n docId\n path\n offline\n doc {\n id\n title\n }\n }\n currentDeployment {\n id\n siteId\n buildHost\n deploymentTime\n }\n createdTime\n updatedTime\n previewUrl\n pageCount\n archived\n enabled\n faviconUrl\n themeId\n navEnabled\n navContent\n gtmContainerId\n }\n"]);return y=function(){return e},e}function v(){let e=(0,l._)(["\n ","\n mutation AddCollaborators(\n $docId: ID!\n $collaborators: [DocCollaboratorInput!]!\n ) {\n addCollaborators(docId: $docId, collaborators: $collaborators) {\n id\n collaborators {\n ...DocCollaboratorFields\n }\n invitations {\n ...DocInvitationsFields\n }\n }\n }\n"]);return v=function(){return e},e}function k(){let e=(0,l._)(["\n ","\n mutation RemoveCollaborators(\n $docId: ID!\n $collaborators: [DocCollaboratorRemovalInput!]!\n ) {\n removeCollaborators(docId: $docId, collaborators: $collaborators) {\n id\n collaborators {\n ...DocCollaboratorFields\n }\n invitations {\n ...DocInvitationsFields\n }\n }\n }\n"]);return k=function(){return e},e}function x(){let e=(0,l._)(["\n ","\n mutation AddCollaboratorByAccessLink($docId: ID!) {\n addCollaboratorByAccessLink(docId: $docId) {\n id\n collaborators {\n ...DocCollaboratorFields\n }\n }\n }\n"]);return x=function(){return e},e}function w(){let e=(0,l._)(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n query GetDoc($id: ID!, $password: String) {\n doc(id: $id, password: $password) {\n id\n title\n titleEdited\n archived\n disabled\n createdTime\n updatedTime\n editedTime\n savedTime\n currentSnapshotId\n publishedSnapshotId\n publishedSnapshot {\n content\n }\n publishedTime\n publicAccess\n comments {\n ...CommentFields\n }\n reactions {\n ...ReactionFields\n }\n accessLinks {\n id\n docId\n type\n permission\n token\n url\n }\n orgAccess\n organization {\n id\n name\n products\n }\n theme {\n ...DefaultThemeFields\n fonts {\n id\n name\n url\n }\n }\n collaborators {\n ...DocCollaboratorFields\n }\n invitations {\n ...DocInvitationsFields\n }\n editors {\n ...DocEditorsFields\n }\n createdBy {\n displayName\n id\n email\n }\n channels {\n ...DocChannelFields\n }\n site {\n ...DocSiteFields\n }\n docGenerateInput {\n id\n docGeneration {\n id\n generationType\n }\n }\n }\n }\n"]);return w=function(){return e},e}function S(){let e=(0,l._)(["\n query GetDocRobots($id: ID!) {\n doc(id: $id) {\n id\n title\n createdTime\n updatedTime\n currentSnapshot {\n id\n docId\n content\n }\n titleCard {\n previewUrl\n text\n }\n organization {\n id\n name\n products\n }\n createdBy {\n displayName\n id\n email\n }\n }\n }\n"]);return S=function(){return e},e}function C(){let e=(0,l._)(["\n ","\n ","\n ","\n ","\n ","\n ","\n subscription SubscribeToDoc($id: ID!) {\n doc(id: $id) {\n ... on DocSubscription {\n id\n title\n titleEdited\n archived\n updatedTime\n editedTime\n savedTime\n publishedTime\n accessLinks {\n id\n docId\n permission\n token\n url\n }\n channels {\n ...DocChannelFields\n }\n collaborators {\n ...DocCollaboratorFields\n }\n editors {\n ...DocEditorsFields\n }\n invitations {\n ...DocInvitationsFields\n }\n theme {\n ...DefaultThemeFields\n }\n reactions {\n ...ReactionFields\n }\n orgAccess\n }\n\n ... on DocCommentsSubscription {\n id\n comments {\n ...CommentFields\n }\n }\n ... on DocReactionsSubscription {\n id\n reactions {\n ...ReactionFields\n }\n }\n }\n }\n"]);return C=function(){return e},e}function z(){let e=(0,l._)(["\n mutation UpdateDocTitle($id: ID!, $title: String, $titleEdited: Boolean) {\n updateDoc(input: { id: $id, title: $title, titleEdited: $titleEdited }) {\n id\n title\n titleEdited\n }\n }\n"]);return z=function(){return e},e}function A(){let e=(0,l._)(["\n mutation UpdateDocOrgAccess($id: ID!, $orgAccess: Permission) {\n updateDoc(input: { id: $id, orgAccess: $orgAccess }) {\n id\n orgAccess\n }\n }\n"]);return A=function(){return e},e}function I(){let e=(0,l._)(["\n mutation UpdateDocPublicAccess($id: ID!, $publicAccess: Permission) {\n updateDoc(input: { id: $id, publicAccess: $publicAccess }) {\n id\n publicAccess\n }\n }\n"]);return I=function(){return e},e}function j(){let e=(0,l._)(["\n mutation UpdateDocAccessLinks($id: ID!, $accessLinks: [AccessLinkInput!]) {\n updateDoc(input: { id: $id, accessLinks: $accessLinks }) {\n id\n accessLinks {\n permission\n id\n }\n }\n }\n"]);return j=function(){return e},e}function F(){let e=(0,l._)(["\n ","\n mutation UpdateDocTheme($id: ID!, $themeId: String) {\n updateDoc(input: { id: $id, themeId: $themeId }) {\n id\n theme {\n ...DefaultThemeFields\n }\n }\n }\n"]);return F=function(){return e},e}function B(){let e=(0,l._)(["\n mutation InviteMembers($workspaceId: ID!, $invitees: [InvitationInput!]!) {\n inviteMembers(orgId: $workspaceId, invitees: $invitees) {\n id\n name\n invitations {\n email\n }\n }\n }\n"]);return B=function(){return e},e}function M(){let e=(0,l._)(["\n ","\n ","\n ","\n mutation CreateComment($input: CreateCommentInput) {\n createComment(input: $input) {\n id\n docId\n cardId\n content\n targetText\n targetHtml\n createdTime\n updatedTime\n commentId\n archived\n targetId\n status\n user {\n ...CommentAuthorFields\n }\n replies {\n ...ReplyFields\n }\n reactions {\n ...ReactionFields\n }\n }\n }\n"]);return M=function(){return e},e}function E(){let e=(0,l._)(["\n mutation UpdateComment($input: UpdateCommentInput!) {\n updateComment(input: $input) {\n id\n docId\n content\n updatedTime\n }\n }\n"]);return E=function(){return e},e}function _(){let e=(0,l._)(["\n mutation UpdateCommentStatus($input: UpdateCommentStatusInput!) {\n updateCommentStatus(input: $input) {\n id\n status\n updatedTime\n }\n }\n"]);return _=function(){return e},e}function O(){let e=(0,l._)(["\n mutation RemoveComment($id: ID!) {\n archiveComment(id: $id) {\n id\n archived\n }\n }\n"]);return O=function(){return e},e}function P(){let e=(0,l._)(["\n ","\n fragment DocReactionsCreate on Doc {\n reactions {\n ...ReactionFields\n }\n }\n"]);return P=function(){return e},e}function T(){let e=(0,l._)(["\n ","\n ","\n fragment DocCommentsCreate on Doc {\n comments {\n id\n docId\n cardId\n content\n targetText\n targetHtml\n createdTime\n updatedTime\n archived\n targetId\n status\n user {\n ...CommentAuthorFields\n }\n }\n }\n fragment DocRepliesCreate on Doc {\n comments {\n id\n replies {\n ...ReplyFields\n }\n }\n }\n fragment DocCommentsUpdate on Doc {\n comments {\n id\n docId\n content\n updatedTime\n reactions {\n ...ReactionFields\n }\n }\n }\n fragment DocRepliesUpdate on Doc {\n comments {\n id\n replies {\n id\n docId\n content\n updatedTime\n reactions {\n ...ReactionFields\n }\n }\n }\n }\n fragment DocCommentsRemove on Doc {\n comments {\n id\n archived\n }\n }\n fragment DocRepliesRemove on Doc {\n comments {\n id\n replies {\n id\n archived\n }\n }\n }\n"]);return T=function(){return e},e}function R(){let e=(0,l._)(["\n ","\n mutation AddReaction($reactionInput: AddReactionInput!) {\n addReaction(input: $reactionInput) {\n ...ReactionFields\n }\n }\n"]);return R=function(){return e},e}function N(){let e=(0,l._)(["\n ","\n mutation RemoveReaction($reactionInput: RemoveReactionInput!) {\n removeReaction(input: $reactionInput) {\n ...ReactionFields\n }\n }\n"]);return N=function(){return e},e}function L(){let e=(0,l._)(["\n query GetMemoAnalytics($memoId: ID!) {\n memoStats(id: $memoId) {\n memoId\n uniqueViewers\n uniqueEditors\n cardCount\n lastOpened\n viewers {\n user {\n id\n displayName\n email\n profileImageUrl\n }\n visitorId\n lastOpened\n cardsViewed\n }\n dailyViews {\n dayCount\n timezone\n everyone {\n date\n uniqueVisitors\n }\n viewers {\n date\n uniqueVisitors\n }\n }\n }\n }\n\n query GetDocCardsAnalytics($docId: ID!, $userId: ID) {\n docCardsStats(docId: $docId, userId: $userId) {\n docId\n uniqueVisitors\n uniqueEditors\n cardCount\n everyone {\n cardId\n viewTimePercent\n viewersPercent\n }\n viewers {\n cardId\n viewTimePercent\n viewersPercent\n }\n }\n }\n"]);return L=function(){return e},e}function D(){let e=(0,l._)(["\n mutation SetDocPassword($docId: ID!, $password: String!) {\n setDocPassword(id: $docId, password: $password) {\n id\n accessLinks {\n id\n permission\n type\n }\n }\n }\n"]);return D=function(){return e},e}function W(){let e=(0,l._)(["\n mutation RemoveDocPassword($docId: ID!) {\n removeDocPassword(id: $docId) {\n id\n accessLinks {\n id\n permission\n type\n }\n }\n }\n"]);return W=function(){return e},e}function U(){let e=(0,l._)(["\n query GetDocPassword($docId: ID!) {\n getDocPassword(id: $docId)\n }\n"]);return U=function(){return e},e}function H(){let e=(0,l._)(["\n query GetPublicDoc($docId: ID!) {\n publicDoc(id: $docId) {\n id\n logoUrl\n }\n }\n"]);return H=function(){return e},e}(0,a.Ps)(r(),d),(0,a.Ps)(u());let G=(0,a.Ps)(c()),q=(0,a.Ps)(m()),V=(0,a.Ps)(f(),G,q),K=(0,a.Ps)(p(),V,G,q),Y=(0,a.Ps)(g()),$=(0,a.Ps)(h()),J=(0,a.Ps)(b()),X=(0,a.Ps)(y(),d);(0,a.Ps)(v(),Y),(0,a.Ps)(k(),Y),(0,a.Ps)(x(),Y),(0,a.Ps)(w(),K,Y,J,$,X,d,G),(0,a.Ps)(S()),(0,a.Ps)(C(),K,Y,J,$,d,G),(0,a.Ps)(z()),(0,a.Ps)(A()),(0,a.Ps)(I()),(0,a.Ps)(j()),(0,a.Ps)(F(),d),(0,a.Ps)(B()),(0,a.Ps)(M(),V,G,q),(0,a.Ps)(E()),(0,a.Ps)(_()),(0,a.Ps)(O()),(0,a.Ps)(P(),G);let Z=(0,a.Ps)(T(),V,q);(0,a.Ps)(R(),G),(0,a.Ps)(N(),G),(0,a.Ps)(L()),(0,a.Ps)(D()),(0,a.Ps)(W()),(0,a.Ps)(U()),(0,a.Ps)(H())},78169:function(e,t,n){"use strict";n.d(t,{k:function(){return nN}});var l=n(52322),a=n(38035),o=n(81540),i=n(28535),r=n(28165),s=n(97729),d=n.n(s),u=n(5632),c=n(2784),m=n(66625),f=n(43019),p=n(9850),g=n.n(p),h=n(54073),b=n.n(h),y=n(30764),v=n(42111),k=n(94090),x=n(91073);let w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=(0,k.TL)(),l=(0,v.ye)("cardTextComputedEnabled");(0,c.useEffect)(()=>{if(!t||!l)return;let e=b()(()=>{let e={};t.state.doc.descendants((n,l)=>{if((0,x.KH)(n)&&n.attrs.id){let a=n.toJSON(),o=(0,f.getCardTitle)(a),i=t.state.doc.resolve(l),r=0===i.parentOffset&&1===i.depth;e[n.attrs.id]={title:o,text:S(t.schema,a,o),isFirstCard:r}}return!0}),n((0,m.uD)({localCardTextMap:e}))},1e3,{leading:!0,trailing:!0,maxWait:1e3});return e(),t.on("update",e),()=>{t.off("update",e)}},[t,n,l]),(0,c.useEffect)(()=>{e&&n((0,m.eJ)({cards:e}))},[n,e]),(0,c.useEffect)(()=>()=>{n((0,m.mc)())},[])},S=(e,t,n)=>{try{var l;let a=g()(t),o=(0,f.removeNodesOfType)(a,["cardNotes"]);if(!o)return"";o.content=null===(l=o.content)||void 0===l?void 0:l.map(e=>{if("card"!==e.type)return e;let t=(0,f.getCardTitle)(e);return{type:"paragraph",content:t?[{type:"text",text:t}]:[]}});let i=y.NB.fromJSON(e,o),r=i.textBetween(0,i.content.size,"\n\n",e=>{let t=e.type.name;return f.nodeSerializers[t]&&f.nodeSerializers[t](e)||" "});if(n)return(0,f.removeTitle)(r,n);return r}catch(e){return""}};var C=n(51715),z=n(90383),A=n(78462);let I="Made with Gamma. A new medium for presenting ideas, powered by AI.",j=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?e||"Untitled":e?"".concat(e," | Gamma"):"Gamma"},F=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(null==e?void 0:e.trim())||(t?"":I)};var B=n(14274);let M=e=>{let{title:t,description:n=I,imageUrl:a,canonicalUrl:o,noindex:i=!1,nofollow:r=!1}=e,s=t||"Gamma",u=a||B.v.OG_IMAGE_URL,c=n.slice(0,300),m=[i?"noindex":"",r?"nofollow":""].join(", ");return(0,l.jsxs)(d(),{children:[(0,l.jsx)("title",{children:s}),(0,l.jsx)("meta",{name:"robots",content:m}),(0,l.jsx)("meta",{content:c,name:"description"},"description"),(0,l.jsx)("meta",{content:s,property:"og:title"},"og:title"),(0,l.jsx)("meta",{content:c,property:"og:description"},"og:description"),(0,l.jsx)("meta",{content:u,property:"og:image"},"og:image"),(0,l.jsx)("meta",{content:s,property:"twitter:title"},"twitter:title"),(0,l.jsx)("meta",{content:c,property:"twitter:description"},"twitter:description"),(0,l.jsx)("meta",{content:u,property:"twitter:image"},"twitter:image"),(0,l.jsx)("meta",{property:"og:type",content:"website"},"og:type"),(0,l.jsx)("meta",{content:"summary_large_image",name:"twitter:card"},"twitter:card"),o&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("link",{rel:"canonical",href:o},"canonical"),(0,l.jsx)("meta",{property:"og:url",content:o},"og:url")]})]})},E=e=>{var t,n,a,o;let{doc:i,token:r,content:s,noindex:d,nofollow:u}=e,c=(0,C.dU)(null==i?void 0:i.organization)||(0,z.wg)(),m=null==s?void 0:null===(t=s.content)||void 0===t?void 0:t[0].attrs,f=j(null==i?void 0:i.title,c),p=F((null==m?void 0:null===(n=m.settings)||void 0===n?void 0:n.metaDescription)||(null==i?void 0:null===(a=i.titleCard)||void 0===a?void 0:a.text),c),g=null==i?void 0:null===(o=i.titleCard)||void 0===o?void 0:o.previewUrl,h="".concat(g).concat(r?"?shareToken="+r:""),b=(0,z.wg)()?void 0:(0,A.Gn)({docId:null==i?void 0:i.id,docTitle:null==i?void 0:i.title,path:r?"docs":"public",token:r,absolute:!0});return(0,l.jsx)(M,{title:f,description:p,imageUrl:h,canonicalUrl:b,noindex:d,nofollow:u})};var _=n(944);let O=e=>{let{content:t}=e,[n,l]=(0,c.useState)(!1),a=t&&!!(0,f.findNodeByType)(t,["embed","video"]),o=(0,c.useRef)(!1);(0,c.useEffect)(()=>{t&&a&&!o.current&&(l(!0),o.current=!0)},[t,a]),(0,_.GE)(n,'function loadEmbedJs(){var e=window.iframely=window.iframely||{};if(e.load)e.load();else{var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src=("https:"==document.location.protocol?"https:":"http:")+"//cdn.iframe.ly/embed.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(t,a)}}loadEmbedJs();')};var P=n(95426);let T=()=>((0,c.useEffect)(()=>{(0,P.c)()},[]),(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:"")}})),R=()=>(0,z.wg)()?(0,l.jsx)("div",{id:"sites-animations-script",dangerouslySetInnerHTML:{__html:"")}}):null,N="".concat(75,"px"),L="navbar-view-backdrop",D="navbar-view-content";var W=n(86900),U=n(42626),H=n(86509),G=n(9432),q=n(39615),V=n(39475),K=n(50788),Y=n(15151),$=n(53025),J=n(62564);let X=e=>{let t=(0,v.ye)("debugLogging");(0,c.useEffect)(()=>{if(e){if(t){console.debug("[Prosemirror DevTools] Activating prosemirror-dev-tools");try{(0,J.h)(e.view)}catch(e){}}else(0,J.P)();return B.v.DEBUG_ENABLED&&(window.openPMDT=()=>(0,J.h)(e.view)),()=>{(0,J.P)(),delete window.openPMDT}}},[e,t])};var Z=n(27407),Q=n(86076),ee=n(77220),et=n(93486),en=n(17487),el=n(17630),ea=n(72338),eo=n(70286),ei=n(11093),er=n(86353),es=n(32899),ed=n(18292),eu=n(29117),ec=n(11082),em=n(36474),ef=n(73200),ep=n(87254),eg=n(31181),eh=n(24551),eb=n(27191),ey=n(52780),ev=n(93982),ek=n(90604),ex=n(14657);let ew=e=>"buttonGroup"===e.type.name,eS=e=>"calloutBox"===e.type.name;var eC=n(52332),ez=n(15468),eA=n(27835),eI=n(26282),ej=n(82400),eF=n(59322);let eB=new eb.H$("animation");var eM=n(38564),eE=n(46795);let e_=()=>({absPositions:[],relPositions:[]});class eO{getPositions(e){return e?this.presentModePositions:this.editModePositions}apply(e,t){let n=e.getMeta(eB);if(n)switch(n.type){case"addAnimationPositions":this.addAnimationPositions(n.pos,t,n.isPresentMode);break;case"resetAnimationPositions":this.resetAnimationPositions(n.isPresentMode);break;case"enableAnimations":this.enabled=n.enabled;break;default:console.warn("AnimationsState: unknown action type",n)}return this}addAnimationPositions(e,t,n){let l=this.getPositions(n);e.forEach(e=>{l.absPositions.push(e);let n=(0,eE.jS)(t,e);n&&l.relPositions.push(n)})}resetAnimationPositions(e){e?this.presentModePositions=e_():this.editModePositions=e_()}getAnimationPositionsAbs(e,t){let n=eM.Gt.getState(e),l=this.getPositions(t);return n?l.relPositions.map(t=>(0,eE.XV)(e,t)).filter(Boolean):l.absPositions}constructor(){this.enabled=!0,this.presentModePositions=e_(),this.editModePositions=e_()}}let eP="animate-has-animated",eT="animatable-on-load",eR="animatable-on-load-as-block",eN="animatable-on-load-content-parent",eL="animatable-on-load-content-child",eD=e=>{switch(e.type.name){case"card":return!0===(0,eC.HD)(e);case"cardAccentLayoutItem":return(0,ez.pt)(e);case"calloutBox":case"gallery":case"smartLayout":case"divider":return!0;default:return(0,ej.yV)(e)}},eW=(e,t)=>(0,eI.E)(e)||(0,eA.u5)(t),eU=(e,t)=>{let n=e.view.state.doc.resolve(t);if(!n)return;let l=e.state.doc.nodeAt(t);if(l&&eD(l)&&!eW(l,n)){let e=l.isLeaf||l.isAtom?0:-1;return{pos:n.pos+e,start:n.pos,depth:n.depth,node:l}}return(0,ea.qv)(n,eD)},eH=(e,t)=>{let n=t.getAnimationPositionsAbs(e,(0,ev.gh)((0,k.bh)().getState())===ek.q.SLIDE_VIEW),l=n.reduce((e,t)=>Math.max(e,t),0),a=e.doc.nodeAt(l),o=a&&l>0?a.nodeSize:0;return l+o},eG=()=>new eb.Sy({key:eB,state:{init:()=>new eO,apply:(e,t,n,l)=>t.apply(e,l)},props:{decorations(e){let t=[],n=this.getState(e);if(!1===n.enabled)return ey.EH.create(e.doc,t);let l=eH(e,n);return e.doc.descendants((n,a,o,i)=>{let r=e.doc.resolve(a),s=eD(n)||eW(n,r);if(a1;return!(d||(0,eI.E)(n)||ew(n)||eS(n)||(0,eF.CU)(n))}),ey.EH.create(e.doc,t)}}});var eq=n(90507),eV=n(56253),eK=n(12832),eY=n(26803),e$=n(24370),eJ=n(4878),eX=n(13265);let eZ=()=>(0,eJ.GX)({base:!0,lg:!1})||!1,eQ=()=>{let e=(0,eX.g)(),t=(0,k.CG)(t=>{let n=(0,ev.yx)(t),l=null==n?void 0:n.site;if(!l||!e)return"";let a=(0,e$.eH)(l);return a||""}),n=(0,eY.H)({url:t});return{homeUrl:n.linkUrl,handleLogoClick:n.handleClick}},e0=e=>{let{active:t}=e;return(0,l.jsxs)(i.xu,{boxSize:"1.5rem",pos:"relative",pointerEvents:"none",children:[(0,l.jsx)(e1,{top:t?"50%":"calc(50% + .375rem)",transform:t?"rotate(45deg)":void 0}),(0,l.jsx)(e1,{top:"50%",opacity:t?0:1}),(0,l.jsx)(e1,{top:t?"50%":"calc(50% - .375rem)",transform:t?"rotate(-45deg)":void 0})]})},e1=e=>(0,l.jsx)(i.xu,{pos:"absolute",w:"1.25rem",h:"0.125rem",borderRadius:"full",bg:"currentcolor",insetStart:"0.125rem",transitionProperty:"all",transitionDuration:"normal",...e}),e2=e=>{let{isOpen:t,...n}=e;return(0,l.jsx)(es.h,{variant:"unstyled",size:"xs",icon:(0,l.jsx)(e0,{active:t}),contentEditable:!1,...n})},e4=e=>{var t,n;let l={width:void 0,height:void 0,aspectRatio:void 0};if(!e)return l;let a=null==e?void 0:null===(t=e.meta)||void 0===t?void 0:t.width,o=null==e?void 0:null===(n=e.meta)||void 0===n?void 0:n.height,i=a&&o&&a/o||1;return i>1?l.width="100%":l.width="auto",l.height="100%",l.aspectRatio=i,l},e5=e=>{var t,n,l,a;let o=null===(n=e.content.content.find(e=>"navbarLinks"===e.type.name))||void 0===n?void 0:null===(t=n.content)||void 0===t?void 0:t.content,i=null===(a=e.content.content.find(e=>"navbarButtons"===e.type.name))||void 0===a?void 0:null===(l=a.content)||void 0===l?void 0:l.content;return o&&o.length>0||i&&i.length>0||!1},e3=e=>{let{node:t}=e,{isOpen:n,onToggle:o}=(0,ed.q)(),r=t.attrs.logo,s=(0,k.CG)(ev.Pu),d=(0,eh.cy)(s),{borderRadius:u,...m}=d.cardSx,{defaultContentWidth:f}=(0,k.CG)(ev.US),{cardWidthEms:p,baseFontSize:g}=(0,eV.Rs)(s,!1,"lg"===f),h=(0,k.CG)(ev.Pw),b=(0,k.CG)(eg.NQ),y=eZ(),v=y&&e5(t),x=r&&r.src,w=(0,c.useMemo)(()=>e4(r),[r]),S="".concat(55,"px"),{homeUrl:C,handleLogoClick:z}=eQ();return(0,l.jsx)(eq.T5,{children:(0,l.jsxs)(a.k,{direction:"column",align:"center",justify:"center",pos:"relative",w:"100%",p:"".concat(10,"px"),zIndex:"1",h:N,children:[(0,l.jsx)(i.xu,{pos:"absolute","data-id":"navbar-view-backdrop",className:(0,ef.cx)(L,b&&eP),inset:"0",sx:m}),(0,l.jsxs)(eu.U,{className:(0,ef.cx)(D,b&&eP),spacing:4,maxW:"".concat(p,"em"),w:"100%",fontSize:"".concat(g,"em"),align:"center",sx:{".header-dropdown":m,"[data-node-view-content-inner=navbar]":{display:"flex",width:"100%",flexDirection:y?"column":"row",alignItems:"center"},".node-navbarLinks":{flexGrow:y?0:1,width:y?"100%":void 0},".node-navbarButtons":{marginTop:y?"0.5em":void 0,marginLeft:y?void 0:"0.5em",width:y?"100%":void 0},".node-buttonGroup":{flexGrow:y?1:0,"--button-group-direction":"row-reverse",'[data-node-view-content-inner="button"]':{whiteSpace:"nowrap !important"},width:y?"100%":void 0}},children:[x||h?(0,l.jsx)(i.xu,{as:ec.r,href:C,onClick:z,h:S,w:(null==w?void 0:w.aspectRatio)?"calc(".concat(S," * ").concat(w.aspectRatio,")"):S,children:(0,l.jsx)(eK.Z,{image:r,imageSx:{backgroundSize:"contain",borderRadius:(null==r?void 0:r.src)?"none":"md",cursor:"pointer",...w},...e})}):null,!v&&(0,l.jsx)(eq.ms,{style:{flex:1}}),v&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(em.L,{}),(0,l.jsx)(e2,{"aria-label":ep.ag._({id:"knMf50"}),color:"var(--body-color)",onClick:o,isOpen:n,mr:4}),n&&(0,l.jsx)(i.xu,{pos:"absolute",w:"100%",left:"0",top:75,backgroundColor:"var(--card-color)",transform:"translateY(".concat(n?"0":"-100%",")"),opacity:n?1:0,pointerEvents:n?"auto":"none",transitionProperty:"transform, opacity",transitionDuration:"normal",className:"header-dropdown",p:4,children:(0,l.jsx)(eq.ms,{})})]})]})]})})},e9=ea.NB.create({name:"navbar",content:"navbarLinks navbarButtons",imageKeyPath:"logo",accessoryImageKey:"logo",addAttributes:()=>({logo:{default:null,...(0,ei.sw)("logo")}}),parseHTML:()=>[{tag:'nav[class="navbar"]'}],renderHTML(e){let{HTMLAttributes:t}=e;return["nav",(0,ea.P1)(t,{class:"navbar"}),0]},addNodeView:()=>(0,eo.f)(e3,{update:er.E7})});var e8=n(13653),e7=n(59799),e6=n(36909),te=n(94465),tt=n(42703),tn=n(14027),tl=n(4030),ta=n(51684);let to=e=>{let t=eZ();return(0,l.jsx)(tl.lO,{...e,children:(0,l.jsxs)(a.k,{w:"100%","data-selection-ring":"padded",borderRadius:"var(--box-border-radius)",direction:t?"column-reverse":"row-reverse",fontFamily:"var(--body-font)",sx:(0,ta.mJ)(t),gap:"0.5em",children:[(0,l.jsx)(eq.ms,{}),!t&&(0,l.jsx)(ta.X0,{...e,direction:"row-reverse",maxButtons:2})]})})},ti=ea.NB.create({name:"navbarButtons",content:"button{0, ".concat(2,"}"),addNodeView:()=>(0,eq.fW)(to,{update:er.I_}),parseHTML:()=>[{tag:"div[class=navbar-buttons]"},{tag:"buttons"}],renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,ea.P1)(t,{class:"navbar-buttons"}),0]}});var tr=n(5879),ts=n(39540);let td=e=>{let{node:t,decorations:n}=e,{horizontalAlign:o}=t.attrs,i=eZ(),r=(0,ts.v)(n),s=i?"column":"row",d=(0,k.CG)(ev.hN),u=(0,l.jsx)(ta.X0,{...e,direction:s,tooltip:(0,l.jsx)(tr.cC,{id:"JecGQl"}),maxButtons:5}),c=d||i?void 0:{_after:tu};return(0,l.jsx)(tl.lO,{...e,children:(0,l.jsxs)(a.k,{w:"100%","data-selection-ring":"padded",borderRadius:"var(--box-border-radius)",direction:s,justify:(0,el.yg)(o)||"var(--flex-align)",pl:i?void 0:4,sx:{...(0,ta.mJ)(i),".button[data-variant=link]":{outlineStyle:r?"solid":"none",outlineWidth:"1px",outlineColor:"var(--grid-outline-color)",color:"var(--body-color)",fontWeight:"var(--body-font-weight)",_hover:c,"&[data-is-current-page=true]":{color:"var(--link-color)",_after:i?{}:tu}}},fontFamily:"var(--body-font)",gap:"0.5em",children:[(0,l.jsx)(eq.ms,{}),!i&&u]})})},tu={content:'""',pos:"absolute",w:"100%",left:0,bottom:"0.125em",height:"0.25em",borderRadius:"inherit",zIndex:"0",backgroundColor:"var(--link-color)",backgroundImage:"var(--accent-gradient)"},tc=ea.NB.create({name:"navbarLinks",content:"button*",addNodeView:()=>(0,eq.fW)(td,{update:er.I_}),parseHTML:()=>[{tag:"div[class=navbar-links]"}],renderHTML(e){let{HTMLAttributes:t}=e;return["div",(0,ea.P1)(t,{class:"navbar-links"}),0]}});var tm=n(12436),tf=n.n(tm),tp=n(41774),tg=n(22265),th=n(96342),tb=n(87428);let ty=e=>{if(e.classList.add(eP),e.classList.contains(eN)){let t=e.querySelectorAll(".".concat(eL));t.forEach(e=>{e.classList.add(eP)})}},tv=e=>(null==e?void 0:e.animationsEnabled)===!0,tk="number"==typeof B.v.EDITOR_ANIMATION_DEBUG_FACTOR?B.v.EDITOR_ANIMATION_DEBUG_FACTOR:1,tx="cubic-bezier(0.22, 1, 0.36, 1)",tw=1*tk,tS=.15*tk,tC=e=>{let{scrollingParentSelector:t,editor:n,instanceId:l,disabledOverride:a}=e,o=(0,tg.As)("editor"),i=(0,eJ.Br)("edit"),r=(0,k.CG)(e=>{var t,l;let o=null!=n&&!!n.shouldUsePublishedVersion||((0,ev.gh)(e)===ek.q.SLIDE_VIEW?!1===(0,ev.hN)(e):!1===i),r=!1==!!(null===(t=(0,ev.k8)(e))||void 0===t?void 0:t.pos),s=(0,ev.Bk)(e),d=tv(null==s?void 0:s.settings)||!1==!!(null==s?void 0:s.docId),u=(0,ev.P7)(e),c=!(0,tp.Sj)(null==n?void 0:n.gammaDocId)(e),m=(null===(l=(0,ev.yx)(e))||void 0===l?void 0:l.archived)!==!0;return o&&r&&!0!==a&&d&&u&&c&&m}),[s,d]=(0,c.useState)(tw),u=(0,tb.K)(),m=(0,k.CG)(ev.nz),f=(0,k.CG)(ev.Oi),p=(0,k.CG)(e=>(0,ev.gh)(e)===ek.q.SLIDE_VIEW&&!(0,ev.nz)(e)),g=(0,k.CG)(ev.JA),h=(0,k.CG)(ev.i2)||"",y=(0,c.useRef)(m),v=!m&&!f;return(0,c.useEffect)(()=>{if(!r||!n)return;let e=o.scrollerForEvents,t=tf()(()=>{o.isAtBottom(5)&&n.commands.addAnimationPositions([n.view.state.doc.content.size],m)},500);return null==e||e.addEventListener("scroll",t),()=>{null==e||e.removeEventListener("scroll",t)}},[n,o,r,m]),(0,c.useEffect)(()=>{p&&(console.debug("[useAnimateOnLoad] Setting animation duration to 0s"),d(0))},[p]),(0,c.useEffect)(()=>{var e,t;null==n||null===(e=(t=n.commands).enableAnimations)||void 0===e||e.call(t,r)},[n,r]),(0,c.useEffect)(()=>{if(!n||!g)return;let e=b()(e=>{let{transaction:t}=e;t.docChanged&&n.commands.addAnimationPositions([t.selection.to],!0)},500,{leading:!0,trailing:!0,maxWait:1e3});return n.on("update",e),()=>{n.off("update",e)}},[n,g]),(0,c.useEffect)(()=>{var e;let a=y.current;if(y.current=m,!u||!n||v||!r)return;let o=document.querySelectorAll([eT,eR,eN].map(e=>".".concat(e)).join(", ")),i=m?(0,th.U8)(h):t;console.debug("[useAnimateOnLoad] Setting up animations:",{isPresentMode:m,isDocMode:f,presentingCardId:h,rootSelectorEl:document.querySelector(i),rootSelector:i,elements:o,editorId:n.editorId,instanceId:l});let s=0;a!==m&&m&&(console.debug("[useAnimateOnLoad] Entering present mode - Resetting animations"),s=150,n.commands.resetAnimationPositions(!0)),!(null===(e=window.gammaTiming)||void 0===e?void 0:e.editorAnimationsInitialized)&&(null==n?void 0:n.shouldUsePublishedVersion)&&(0,P.a)("editorAnimationsInitialized");let c=()=>{if(window.gammaSiteAnimationsInitialized||!(null==n?void 0:n.shouldUsePublishedVersion))return;window.gammaSiteAnimationsInitialized=!0;let e="site-animations-bootstrap";document.body.classList.contains(e)?(document.body.classList.remove(e),console.log("%c[useAnimateOnLoad] REMOVING site-animations-bootstrap class $$$$$$$$$$$$$$$$$$$$","background-color: deeppink; color: white; padding: 5px; font-size: 1.5em;")):console.log("%c[useAnimateOnLoad] site-animations-bootstrap class not found $$$$$$$$$$$$$$$$$$$$","background-color: deeppink; color: white; padding: 5px; font-size: 1.5em;")},p=new IntersectionObserver(e=>{let t=[];for(let l of e)if(l.isIntersecting){let e=Number(l.target.getAttribute("data-pos"));e&&ty(l.target);let a=e||n.view.posAtDOM(l.target,0);if(a&&a>0){let o=eU(n,a);console.debug("[useAnimateOnLoad] animate isIntersecting",{pos:a,dataPos:e,$closestAnimatablePos:o,dataAttrPos:l.target.getAttribute("data-pos")},l.target),e?t.push(e):o&&t.push(o.pos),p.unobserve(l.target)}}c(),requestAnimationFrame(()=>{d(tw)}),setTimeout(()=>{n.commands.addAnimationPositions(t,m)},s)},{root:"body"!==i?document.querySelector(i):void 0,rootMargin:"-100px"});return o.forEach(e=>{p.observe(e)}),()=>{o.forEach(e=>{p.unobserve(e)})}},[u,n,l,r,m,v,f,h,t]),{editorAnimationsClass:r?"editor-animations-enabled":"",editorAnimationsCSSVars:{"--animation-yOffset":"20px","--animation-transition-property":"opacity, transform","--animation-transition-duration":"".concat(s,"s"),"--animation-transition-delay":"".concat(0===s?0:tS,"s"),"--animation-easing-function":tx}}},tz=e=>{let{disabledOverride:t}=e,n=(0,k.TL)(),l=(0,k.CG)(e=>{let n=(0,ev.Bk)(e),l=tv(null==n?void 0:n.settings)||!1==!!(null==n?void 0:n.docId);return!0!==t&&l});return(0,c.useEffect)(()=>{if(!l)return;let e=document.querySelectorAll([L,D].map(e=>".".concat(e)).join(", ")),t=new IntersectionObserver(e=>{for(let l of e)l.isIntersecting&&(console.debug("[useSiteNavAnimations] animate isIntersecting",l.target),ty(l.target),(0,eg.sd)(n)(!0),t.unobserve(l.target))},{root:document.body,rootMargin:"0px"});return e.forEach(e=>{t.observe(e)}),()=>{e.forEach(e=>{t.unobserve(e)}),(0,eg.sd)(n)(!1)}},[l,n]),{navbarAnimationsClass:l?"editor-navbar-animations-enabled":"",navbarAnimationsCSSVars:{"--animation-yOffset":"20px","--animation-transition-property":"opacity, transform","--animation-transition-duration":"".concat(tw,"s"),"--animation-transition-delay":"".concat(tS,"s"),"--animation-easing-function":tx}}};var tA=n(13180),tI=n(54653);let tj=()=>[U.B.extend({content:"navbar"}),e9,tc,ti,et.z,q.x,en.Hy,W.d8,V.v,G.Tx,H.A,e7.U,ee.NM,el.Kq,e6._,e8.Jn,tA._,en.Pi,tI.R],tF=(0,c.memo)(e=>{let{theme:t=tn.g,scrollingParentSelector:n,...o}=e,i=(0,K.C7)(),r=(0,c.useMemo)(()=>tj(),[]),s=(0,te.j)({...o,extensions:r,editable:!i});X(s);let d=(0,$.l)(t),u=(0,Y.J)(t,!0),{navbarAnimationsClass:m,navbarAnimationsCSSVars:f}=tz({disabledOverride:!1===i});if(!s)return null;s.isSiteNavbarEditor=!0;let p=i?(0,l.jsx)(tt.f,{editor:s}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eq.kg,{editor:s,style:{wordBreak:"break-word",flex:1,display:"flex",flexDirection:"column"}}),(0,l.jsx)(Q.u,{editor:s,menuContext:"navigation",scrollingParentSelector:n}),(0,l.jsx)(Z.Y,{editor:s})]});return(0,l.jsx)(a.k,{flex:"1",direction:"column","data-navbar-editor":!0,className:m,style:f,sx:{...d,...u,...t.config.contentStyles},children:p})});tF.displayName="NavbarEditor";var tB=n(12825),tM=n(90221),tE=n(75768),t_=n(62614),tO=n(75009),tP=n(94523),tT=n(45588),tR=n(94199),tN=n(57124),tL=n(11050),tD=n(29318),tW=n(20342);n(19431),n(18724),n(36651),n(19585),n(34919);var tU=n(57660),tH=n(73235),tG=n(85525);function tq(){let e=(0,tH._)(["\n fragment DefaultCardFields on Card {\n id\n archived\n docId\n title\n text\n previewUrl\n createdTime\n updatedTime\n }\n"]);return tq=function(){return e},e}function tV(){let e=(0,tH._)(["\n mutation CreateCard($id: ID!, $docId: ID!) {\n createCard(id: $id, docId: $docId) {\n id\n }\n }\n"]);return tV=function(){return e},e}function tK(){let e=(0,tH._)(["\n ","\n query GetCard($id: ID!, $docId: ID!) {\n card(id: $id, docId: $docId) {\n ...DefaultCardFields\n }\n }\n"]);return tK=function(){return e},e}function tY(){let e=(0,tH._)(["\n ","\n query GetCards($docId: ID!, $password: String) {\n docCards(docId: $docId, password: $password, archived: false) {\n ...DefaultCardFields\n }\n }\n"]);return tY=function(){return e},e}function t$(){let e=(0,tH._)(["\n ","\n subscription SubscribeToCards($docId: ID!) {\n docCards(docId: $docId) {\n ...DefaultCardFields\n }\n }\n"]);return t$=function(){return e},e}let tJ=(0,tG.Ps)(tq());(0,tG.Ps)(tV()),(0,tG.Ps)(tK(),tJ),(0,tG.Ps)(tY(),tJ),(0,tG.Ps)(t$(),tJ),n(89458),n(88640),n(56943),n(75780),n(76332);let tX=()=>(0,tM.s2)()?{display:"flex",justifyContent:"center",m:6,position:"relative"}:{position:"fixed",right:[1,6],bottom:[1,4]},tZ=e=>{let{docWorkspace:t,forceShow:n=!1,abuseReportingEnabled:o=!0,...i}=e,{docId:r}=(0,tB._)(),s=(0,tD.Yy)(),d=(0,tL.z$)(),u=(0,c.useCallback)(()=>{null==d||d.track(tL.AA.MADE_WITH_GAMMA_CLICKED,{doc_id:r})},[d,r]),m=(0,tN.dU)(t);return!1===n&&!1!==m?null:(0,l.jsx)(a.k,{...tX(),...i,children:(0,l.jsx)(tP.Wk,{isDark:s,children:(0,l.jsxs)(tE.h,{isAttached:!0,sx:{".chakra-button":{borderRightRadius:"none","&:last-child":{borderRightRadius:"md"}}},children:[(0,l.jsx)(t_.z,{as:ec.r,onClick:u,variant:"plain",target:"_blank",href:"https://gamma.app/?utm_source=made-with-gamma&utm_medium=content",textDecoration:"none !important",leftIcon:(0,l.jsx)(tO.E,{src:tW.Z.src,h:"1em"}),size:"sm",children:(0,l.jsx)(tr.cC,{id:"vo61Ld",values:{GAMMA_PROPER_NOUN:tR.N6}})}),o&&(0,l.jsx)(tT.E,{docId:r,buttonType:"iconRight"})]})})})},tQ=new String(".site-animations-bootstrap .editor-navbar-animations-enabled .ProseMirror{.navbar-view-content{opacity:1;-webkit-transform:translatey(0);-moz-transform:translatey(0);-ms-transform:translatey(0);-o-transform:translatey(0);transform:translatey(0)}.navbar-view-backdrop{-webkit-box-shadow:var(--md-shadow),var(--card-border-shadow);-moz-box-shadow:var(--md-shadow),var(--card-border-shadow);box-shadow:var(--md-shadow),var(--card-border-shadow)}}.site-animations-bootstrap .editor-animations-enabled .ProseMirror{.animatable-on-load,.animatable-on-load-accent,.animatable-on-load-content-child{&.animatable-on-load-atom,&:not(.animatable-on-load-annotatable),&.animatable-on-load-annotatable [data-node-view-content]{opacity:1;-webkit-transform:translatey(0);-moz-transform:translatey(0);-ms-transform:translatey(0);-o-transform:translatey(0);transform:translatey(0);-webkit-transition-property:var(--animation-transition-property);-moz-transition-timing-function:var(--animation-transition-property);-o-transition-timing-function:var(--animation-transition-property);transition-property:var(--animation-transition-property);-webkit-transition-duration:var(--animation-transition-duration);-moz-transition-duration:var(--animation-transition-duration);-o-transition-duration:var(--animation-transition-duration);transition-duration:var(--animation-transition-duration);-webkit-transition-timing-function:var(--animation-easing-function);-moz-transition-timing-function:var(--animation-easing-function);-o-transition-timing-function:var(--animation-easing-function);transition-timing-function:var(--animation-easing-function)}}.animatable-on-load-as-block{&:not(.block-calloutBox),&.block-calloutBox .calloutBox{opacity:1;-webkit-transform:translatey(0);-moz-transform:translatey(0);-ms-transform:translatey(0);-o-transform:translatey(0);transform:translatey(0);-webkit-transition-property:var(--animation-transition-property);-moz-transition-timing-function:var(--animation-transition-property);-o-transition-timing-function:var(--animation-transition-property);transition-property:var(--animation-transition-property);-webkit-transition-duration:var(--animation-transition-duration);-moz-transition-duration:var(--animation-transition-duration);-o-transition-duration:var(--animation-transition-duration);transition-duration:var(--animation-transition-duration);-webkit-transition-timing-function:var(--animation-easing-function);-moz-transition-timing-function:var(--animation-easing-function);-o-transition-timing-function:var(--animation-easing-function);transition-timing-function:var(--animation-easing-function)}}.is-present-mode .animatable-on-load,.is-full-width .animatable-on-load{&.animatable-on-load-accent{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}.animatable-on-load-content-child.block-image{opacity:1;-webkit-transform:translatey(0);-moz-transform:translatey(0);-ms-transform:translatey(0);-o-transform:translatey(0);transform:translatey(0);-webkit-transition-property:var(--animation-transition-property);-moz-transition-timing-function:var(--animation-transition-property);-o-transition-timing-function:var(--animation-transition-property);transition-property:var(--animation-transition-property);-webkit-transition-duration:var(--animation-transition-duration);-moz-transition-duration:var(--animation-transition-duration);-o-transition-duration:var(--animation-transition-duration);transition-duration:var(--animation-transition-duration);-webkit-transition-timing-function:var(--animation-easing-function);-moz-transition-timing-function:var(--animation-easing-function);-o-transition-timing-function:var(--animation-easing-function);transition-timing-function:var(--animation-easing-function)}.animatable-on-load-content-child.node-smartLayoutCell{[data-spotlight-parent]>*{opacity:1;-webkit-transform:translatey(0);-moz-transform:translatey(0);-ms-transform:translatey(0);-o-transform:translatey(0);transform:translatey(0);-webkit-transition-property:var(--animation-transition-property);-moz-transition-timing-function:var(--animation-transition-property);-o-transition-timing-function:var(--animation-transition-property);transition-property:var(--animation-transition-property);-webkit-transition-duration:var(--animation-transition-duration);-moz-transition-duration:var(--animation-transition-duration);-o-transition-duration:var(--animation-transition-duration);transition-duration:var(--animation-transition-duration);-webkit-transition-timing-function:var(--animation-easing-function);-moz-transition-timing-function:var(--animation-easing-function);-o-transition-timing-function:var(--animation-easing-function);transition-timing-function:var(--animation-easing-function)}}}@media not print{.editor-navbar-animations-enabled .ProseMirror{.navbar-view-content{opacity:0;-webkit-transform:translatey(var(--animation-yOffset));-moz-transform:translatey(var(--animation-yOffset));-ms-transform:translatey(var(--animation-yOffset));-o-transform:translatey(var(--animation-yOffset));transform:translatey(var(--animation-yOffset));-webkit-transition-property:opacity,-webkit-transform;-moz-transition-timing-function:opacity,-moz-transform;-o-transition-timing-function:opacity,-o-transform;transition-property:opacity,-webkit-transform;transition-property:opacity,-moz-transform;transition-property:opacity,-o-transform;transition-property:opacity,transform;-webkit-transition-duration:1s;-moz-transition-duration:1s;-o-transition-duration:1s;transition-duration:1s;-webkit-transition-timing-function:var(--animation-easing-function);-moz-transition-timing-function:var(--animation-easing-function);-o-transition-timing-function:var(--animation-easing-function);transition-timing-function:var(--animation-easing-function);&.animate-has-animated{opacity:1;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}}.navbar-view-backdrop{-webkit-box-shadow:0 0 0 0 rgba(0,0,0,0);-moz-box-shadow:0 0 0 0 rgba(0,0,0,0);box-shadow:0 0 0 0 rgba(0,0,0,0);-webkit-transition-property:box-shadow;-moz-transition-timing-function:box-shadow;-o-transition-timing-function:box-shadow;transition-property:box-shadow;-webkit-transition-duration:1s;-moz-transition-duration:1s;-o-transition-duration:1s;transition-duration:1s;-webkit-transition-timing-function:var(--animation-easing-function);-moz-transition-timing-function:var(--animation-easing-function);-o-transition-timing-function:var(--animation-easing-function);transition-timing-function:var(--animation-easing-function);&.animate-has-animated{-webkit-box-shadow:var(--md-shadow),var(--card-border-shadow);-moz-box-shadow:var(--md-shadow),var(--card-border-shadow);box-shadow:var(--md-shadow),var(--card-border-shadow)}}}.editor-animations-enabled .ProseMirror{.animatable-on-load,.animatable-on-load-accent,.animatable-on-load-content-child{&.animatable-on-load-atom,&:not(.animatable-on-load-annotatable),&.animatable-on-load-annotatable [data-node-view-content]{opacity:0;-webkit-transform:translatey(var(--animation-yOffset));-moz-transform:translatey(var(--animation-yOffset));-ms-transform:translatey(var(--animation-yOffset));-o-transform:translatey(var(--animation-yOffset));transform:translatey(var(--animation-yOffset));-webkit-transition-property:var(--animation-transition-property);-moz-transition-timing-function:var(--animation-transition-property);-o-transition-timing-function:var(--animation-transition-property);transition-property:var(--animation-transition-property);-webkit-transition-duration:var(--animation-transition-duration);-moz-transition-duration:var(--animation-transition-duration);-o-transition-duration:var(--animation-transition-duration);transition-duration:var(--animation-transition-duration);-webkit-transition-timing-function:var(--animation-easing-function);-moz-transition-timing-function:var(--animation-easing-function);-o-transition-timing-function:var(--animation-easing-function);transition-timing-function:var(--animation-easing-function)}&.animate-has-animated{&.animatable-on-load-atom,&:not(.animatable-on-load-annotatable),&.animatable-on-load-annotatable [data-node-view-content]{opacity:1;-webkit-transform:translatey(0);-moz-transform:translatey(0);-ms-transform:translatey(0);-o-transform:translatey(0);transform:translatey(0)}}}.animatable-on-load-as-block{&:not(.block-calloutBox),&.block-calloutBox .calloutBox{opacity:0;-webkit-transform:translatey(var(--animation-yOffset));-moz-transform:translatey(var(--animation-yOffset));-ms-transform:translatey(var(--animation-yOffset));-o-transform:translatey(var(--animation-yOffset));transform:translatey(var(--animation-yOffset));-webkit-transition-property:var(--animation-transition-property);-moz-transition-timing-function:var(--animation-transition-property);-o-transition-timing-function:var(--animation-transition-property);transition-property:var(--animation-transition-property);-webkit-transition-duration:var(--animation-transition-duration);-moz-transition-duration:var(--animation-transition-duration);-o-transition-duration:var(--animation-transition-duration);transition-duration:var(--animation-transition-duration);-webkit-transition-timing-function:var(--animation-easing-function);-moz-transition-timing-function:var(--animation-easing-function);-o-transition-timing-function:var(--animation-easing-function);transition-timing-function:var(--animation-easing-function)}&.animate-has-animated{&:not(.block-calloutBox),&.block-calloutBox .calloutBox{opacity:1;-webkit-transform:translatey(0);-moz-transform:translatey(0);-ms-transform:translatey(0);-o-transform:translatey(0);transform:translatey(0)}}}.is-present-mode .animatable-on-load,.is-full-width .animatable-on-load{&.animatable-on-load-accent{opacity:0;-webkit-transform:scale(.9);-moz-transform:scale(.9);-ms-transform:scale(.9);-o-transform:scale(.9);transform:scale(.9);&.animate-has-animated{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}}.animatable-on-load-content-child.block-image{opacity:0;-webkit-transition-property:var(--animation-transition-property);-moz-transition-timing-function:var(--animation-transition-property);-o-transition-timing-function:var(--animation-transition-property);transition-property:var(--animation-transition-property);-webkit-transition-duration:var(--animation-transition-duration);-moz-transition-duration:var(--animation-transition-duration);-o-transition-duration:var(--animation-transition-duration);transition-duration:var(--animation-transition-duration);-webkit-transition-timing-function:var(--animation-easing-function);-moz-transition-timing-function:var(--animation-easing-function);-o-transition-timing-function:var(--animation-easing-function);transition-timing-function:var(--animation-easing-function);-webkit-transform:translatey(var(--animation-yOffset));-moz-transform:translatey(var(--animation-yOffset));-ms-transform:translatey(var(--animation-yOffset));-o-transform:translatey(var(--animation-yOffset));transform:translatey(var(--animation-yOffset));&.animate-has-animated{opacity:1;-webkit-transform:translatey(0);-moz-transform:translatey(0);-ms-transform:translatey(0);-o-transform:translatey(0);transform:translatey(0)}}.node-gallery .animatable-on-load-content-child.block-image{-webkit-transition-delay:-webkit-calc(var(--animation-transition-delay)*var(--animate-index));-moz-transition-delay:-moz-calc(var(--animation-transition-delay)*var(--animate-index));-o-transition-delay:calc(var(--animation-transition-delay)*var(--animate-index));transition-delay:-webkit-calc(var(--animation-transition-delay)*var(--animate-index));transition-delay:-moz-calc(var(--animation-transition-delay)*var(--animate-index));transition-delay:calc(var(--animation-transition-delay)*var(--animate-index))}.animatable-on-load-content-child.node-smartLayoutCell{[data-spotlight-parent]>*{opacity:0;-webkit-transition-property:var(--animation-transition-property);-moz-transition-timing-function:var(--animation-transition-property);-o-transition-timing-function:var(--animation-transition-property);transition-property:var(--animation-transition-property);-webkit-transition-duration:var(--animation-transition-duration);-moz-transition-duration:var(--animation-transition-duration);-o-transition-duration:var(--animation-transition-duration);transition-duration:var(--animation-transition-duration);-webkit-transition-timing-function:var(--animation-easing-function);-moz-transition-timing-function:var(--animation-easing-function);-o-transition-timing-function:var(--animation-easing-function);transition-timing-function:var(--animation-easing-function);-webkit-transform:translatey(var(--animation-yOffset));-moz-transform:translatey(var(--animation-yOffset));-ms-transform:translatey(var(--animation-yOffset));-o-transform:translatey(var(--animation-yOffset));transform:translatey(var(--animation-yOffset));-webkit-transition-delay:-webkit-calc(var(--animation-transition-delay)*var(--animate-index));-moz-transition-delay:-moz-calc(var(--animation-transition-delay)*var(--animate-index));-o-transition-delay:calc(var(--animation-transition-delay)*var(--animate-index));transition-delay:-webkit-calc(var(--animation-transition-delay)*var(--animate-index));transition-delay:-moz-calc(var(--animation-transition-delay)*var(--animate-index));transition-delay:calc(var(--animation-transition-delay)*var(--animate-index))}&.animate-has-animated [data-spotlight-parent]>*{opacity:1;-webkit-transform:translatey(0);-moz-transform:translatey(0);-ms-transform:translatey(0);-o-transform:translatey(0);transform:translatey(0)}}}}");tQ.__hash="3d8c64bd60295bc4";let t0=tQ.toString(),t1=()=>(0,l.jsx)("style",{id:"editor-animations-styles",dangerouslySetInnerHTML:{__html:t0}});var t2=n(84586),t4=n(71997);let t5={fontSize:"var(--chakra-fontSizes-sm) !important",fontFamily:'"Inter", sans-serif !important',fontWeight:"500 !important",lineHeight:"1.5 !important",textTransform:"none",letterSpacing:"normal !important",textAlign:"left !important",margin:"0 !important",color:"var(--chakra-colors-gray-900) !important",background:"none !important",blockquote:{borderLeftWidth:"0px !important",borderLeftStyle:"solid !important",borderLeftColor:"transparent !important",padding:"0 !important",color:"var(--chakra-colors-gray-900) !important",fontStyle:"normal !important"},border:"0 none !important",padding:"0 !important",content:'""'},t3={...t5,color:"var(--chakra-colors-blue-500) !important","&:hover":{textDecoration:"underline"},cursor:"pointer"},t9={"p,h1,h2,h3,h4,h5,h6, .title, .section-title":{...t5,margin:0},a:t3,"ul, ol":{marginLeft:"1.2em"},blockquote:{borderLeft:"3px solid var(--chakra-colors-gray-200)",paddingLeft:"0.5em"},color:"var(--chakra-colors-gray-900) !important",wordBreak:"break-word",lineHeight:"1.5 !important",letterSpacing:"normal !important",".mention":{bgColor:"trueblue.50",whiteSpace:"break-spaces"}},t8={fontFamily:'"Inter", sans-serif !important',fontWeight:"500","@media screen and (max-width: 30rem)":{".controls-wrapper":{}},"@media screen and (min-width: 30rem)":{".controls-wrapper":{paddingLeft:"var(--comment-padding)"},".controls-wrapper__gridLayout, .controls-wrapper__gallery":{paddingLeft:"calc(-1 * var(--grid-padding) + var(--comment-padding))"}},".comments-list":{".comments-sign-up":{a:{...t5,...t3,fontSize:"xs",color:"gray.500",fontWeight:"bold","&:hover":{color:"gray.500",textDecoration:"underline"}}},".comment":{".reactions-row ul":{marginLeft:"auto"},".comment-date":{fontSize:"var(--chakra-fontSizes-xs) !important",color:"var(--chakra-colors-gray-500) !important"},...t9},".block-image":{"&.is-focused":{"img, .image, .placeholder":{boxShadow:"var(--chakra-shadows-outline)"}}},".block-target-html":{"p,h1,h2,h3,h4,h5,h6,blockquote,ol,ul,li, .title, .section-title":{...t5,"::after":t5},a:{...t3},li:{margin:"0 !important",padding:"0 !important",listStyle:"none !important",p:{margin:0}},img:{maxWidth:"200px",maxHeight:"80px"}}},".comment-editor .ProseMirror":{...t9,"\n @media only screen and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 2),\n @media only screen and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3),\n @media only screen and (max-device-width: 640px) and (-webkit-min-device-pixel-ratio: 4)\n ":{fontSize:"16px !important"},padding:"12px",borderRadius:"5px","&.focus-visible":{boxShadow:"0 0 0 2px rgb(49, 130, 206)"},"a.image-link":{pointerEvents:"none"}}};var t7=n(56974),t6=n.n(t7),ne=n(24992),nt=n(93814);n(60742),n(22596),n(34227),n(88959),n(14063),n(20182),n(37872);let nn="data-drag-handle-hovering";function nl(){let e=(0,tH._)(["\n 0% {\n box-shadow: ",";\n }\n 7%,\n 60% {\n box-shadow: var(--link-box-shadow);\n }\n 100% {\n box-shadow: ",";\n }\n"]);return nl=function(){return e},e}function na(){let e=(0,tH._)(["\n 0% \n 100% {\n box-shadow: ",";\n }\n"]);return na=function(){return e},e}new eb.H$("globalDragHandle");let no="0 0 0 0 rgba(0, 0, 0, 0.0)",ni=(0,r.F4)(nl(),no,no),nr=(0,r.F4)(na(),no),ns={"math-display":{fontSize:"1.125em",".katex":{whiteSpace:"normal"}},"math-inline":{"&.ProseMirror-selectednode":{marginY:"-0.25em"}},"math-display, math-inline":{"&.ProseMirror-selectednode":{boxShadow:"outline",borderRadius:"var(--box-border-radius)",backgroundColor:"gray.100",padding:".25em",marginX:"3px",".math-src":{color:"gray.700"}}}};var nd=n(78820),nu=n(49354);let nc={content:"attr(data-placeholder)",position:"absolute",top:0,opacity:.25,pointerEvents:"none",left:0,width:"100%",color:"var(--heading-color)",lineClamp:1,textOverflow:"ellipsis",overflow:"hidden",boxOrient:"vertical",wordBreak:"break-all",height:"100%",whiteSpace:"nowrap"},nm={...nc,content:"attr(data-multiline-placeholder)",color:"inherit",position:"relative",lineClamp:0,whiteSpace:"normal",wordBreak:"normal"},nf=e=>'"'.concat(e,'"'),np=e=>({".block-smartLayout":{'[data-node-view-content-outer="smartLayout"]':{display:"contents"},'[data-node-view-content-inner="smartLayout"]':{display:"contents"},"[data-selection-ring]":{outlineStyle:"none",outlineWidth:"1px",outlineColor:"var(--grid-outline-color)"},'[data-selection-ring="padded"]':{outlineOffset:"0.25em",".add-button":{m:"-0.25em"}},"&:not(.is-focused)":{"[data-content-empty=true] > [data-node-view-content]":{height:0,"[data-placeholder]::after, [data-multiline-placeholder]::after":{display:"none"}}},"&.is-focused":{"[data-content-empty=true]":{"[placeholder]::before":nc}},["&.is-focused, &:hover, &[".concat(nn,"]")]:{".is-editable":{"[data-selection-ring]":{outlineStyle:"solid"},".add-button":{opacity:1}}}},".node-smartLayoutCell":{display:"contents","> [data-node-view-wrapper]":{display:"contents"},"--heading-placeholder":nf(ep.ag._({id:"HX5SVx"})),'[data-node-view-content-inner="smartLayoutCell"] > .first-block':{mt:[0,0]},'[data-node-view-content-inner="smartLayoutCell"] > .last-block':{mb:[0,0]},".slash-menu-prompt":{display:"none"},".block-heading, .block-title":{...(0,nu.iL)(e).tight},".block-paragraph":{...(0,nu.YW)(e).tight}}});var ng=n(97676),nh=n(89),nb=n(46741);function ny(){let e=(0,tH._)(["\n 0% {\n align-items: flex-start;\n grid-template-rows: 0.2fr;\n overflow: hidden;\n }\n 99% {\n align-items: flex-start;\n overflow: hidden;\n }\n 100% {\n align-items: initial;\n grid-template-rows: 1fr;\n overflow: visible;\n }\n"]);return ny=function(){return e},e}let nv=(0,r.F4)(ny()),nk=(e,t)=>({height:"100%",outlineWidth:"0px",lineHeight:"var(--line-height-body)",letterSpacing:"var(--letter-spacing-body)","&.is-focused":{".is-empty":{"[data-placeholder]":{_after:nc},"[data-multiline-placeholder]":{position:"relative",_after:nm,"> [data-node-view-content-inner]":{position:"absolute",width:"100%",minH:"1em"}}}},"--block-margin":(0,nu.l1)(e),"--grid-border":"1px","--grid-padding":"1.22em","&.is-dark":{".block-blockquote":{blockquote:{borderLeftColor:"var(--accent-color)"}},...ng.KX.dark,...nh.E_.dark},".block-card":{"&.expandable-node":{"&-selected .expandable-selected":{animation:"".concat(ni," 3000ms ease-in-out forwards")},"&-reset .expandable-selected":{animation:"".concat(nr)}}},".block":{my:"var(--block-margin)",fontFamily:"var(--body-font)",fontWeight:"var(--body-font-weight)",color:"var(--body-color)"},"&.is-nested":{display:"grid",animation:"".concat(nv," ").concat(nt.nY,"ms ease-out forwards")},"&.is-full-width":{".block.is-full-width":{width:"var(--full-width)",position:"relative",left:"50%",transform:"translateX(-50%)"}},'[data-node-view-content-inner="cardLayoutItem"], [data-node-view-content-inner="card"]':{"> .first-block":{mt:"0em"},"> .last-block":{mb:"0em"}},"a.link":{color:"var(--text-color, var(--link-color))",cursor:"pointer",fontWeight:"bold",textDecoration:"underline",'&[href=""]':{textDecorationStyle:"dashed"},"&:hover":{color:"var(--text-color, var(--link-color-hover))"},"&:active":{color:"var(--text-color, var(--link-color-hover))"}},".block-toggle":{"&.expandable-node":{"&-selected .toggle":{animation:"".concat(ni," 3000ms ease-in-out forwards")},"&-reset .toggle":{animation:"".concat(nr)}},'[data-open="false"]':{'[data-node-view-content-inner="toggle"]':{"> :not(:first-child)":{display:"none"}}}},...ng.KX.default,...nh.E_.default,...nb.dE,...ns,".block-codeBlock":{pre:{fontFamily:"mono",fontSize:nu.um.codeBlock,"@media print":{fontSize:t6()(nu.um.codeBlock)},color:"var(--body-color)",background:"var(--accent-color-background-muted)",borderRadius:"var(--box-border-radius)",overflow:"hidden",code:{display:"block",padding:".75em 1em"}}},code:{backgroundColor:"var(--accent-color-background-muted)",color:"var(--body-color)",...ng.FC},".block-blockquote":{blockquote:{pl:"1.5em"}},".block-embed, .block-video":{"&.expandable-node":{"&-selected":{".embed-preview, .embed-viewer, .video-player":{animation:"".concat(ni," 3000ms ease-in-out forwards")}},"&-reset":{".embed-preview, .embed-viewer, .video-player":{animation:"".concat(nr)}}}},".block-image":{"&.expandable-node":{"&-selected":{"[data-selection-ring]":{animation:"".concat(ni," 3000ms ease-in-out forwards")}},"&-reset ":{"[data-selection-ring]":{animation:"".concat(nr)}}}},".block-contributors":{".contributors-list":{fontSize:"1.25em",fontWeight:"bold"}},".mention":{bgColor:"var(--accent-color-100)"},".block-gallery":{mx:"calc(-1 * var(--grid-padding))",my:"calc(-0.25 * var(--grid-padding))",".gallery":{px:"var(--grid-padding)",py:"calc(0.75 * var(--grid-padding))",border:"1px solid",borderColor:"transparent",borderRadius:"var(--box-border-radius)",".add-image":{mb:"calc(0.75 * var(--grid-padding))"},["&.".concat(ne.A)]:{border:"1px dashed var(--chakra-colors-trueblue-300) !important",backgroundColor:"var(--chakra-colors-trueblue-50) !important",".gallery-placeholder":{pointerEvents:"none"}}},"&.is-focused, &.is-empty":{".gallery":{backgroundColor:"".concat(t?nd.Z.DARK_BG:nd.Z.LIGHT_BG)}},["&.is-focused, &:hover, &[".concat(nn,"]")]:{".add-image":{opacity:1}},"&.expandable-node":{"&-selected .gallery":{animation:"".concat(ni," 3000ms ease-in-out forwards")},"&-reset .gallery":{animation:"".concat(nr)}}},...np(e),".block-gridLayout":{mx:"calc(-1 * var(--grid-padding))",".layout-content":{display:"contents","> div":{display:"contents"}},".grid-cell":{position:"relative",height:"100%",paddingX:"var(--grid-padding)",display:"flex",flexDirection:"column",outlineWidth:"1px",outlineStyle:"none",outlineColor:"var(--grid-outline-color)",".block-gallery":{my:"0"}},["&.is-focused, &:hover, &[".concat(nn,"]")]:{".is-editable":{".grid-cell":{outlineStyle:"solid"}},".add-column":{opacity:1}}},".node-cardLayoutItem, .node-cardAccentLayoutItem":{position:"relative",display:"flex",flexDirection:"column",justifyContent:"stretch",minWidth:0,minHeight:0,"> [data-node-view-wrapper]":{position:"relative",height:"100%",width:"100%"}},".node-cardNotes":{display:"none"},".block-table":{table:{'[data-node-view-content-inner="table"]':{display:"contents",'[data-node-view-content-inner="tableRow"]':{display:"contents"},td:{verticalAlign:"top",".block-heading [data-placeholder]::before":{display:"none"}}}},td:{minWidth:"3em",paddingX:"1em",position:"relative",".block":{maxWidth:e?"75vw":void 0},"&:not(:first-of-type)":{borderLeft:"1px solid transparent"}},".selectedCell:after":{zIndex:2,position:"absolute",content:'""',left:0,right:0,top:0,bottom:0,backgroundColor:"trueblue.100",pointerEvents:"none",opacity:.4},"&.is-focused, &:hover":{"td:not(:first-of-type)":{borderLeft:"1px solid var(--grid-outline-color)"}}},".tippy-arrow":{borderLeftColor:"red"},".footnote-label":{textDecoration:"underline",textDecorationColor:"var(--link-color)",_hover:{bgColor:"var(--accent-color-100)",color:"gray.800",borderRadius:"sm"}},".footnote":{color:"var(--link-color)",_hover:{_after:{bgColor:"var(--accent-color-100)",color:"gray.800"}}},".node-emoji":{color:"initial"},".block-heading":{...(0,nu.iL)(e).default,".heading":{position:"relative"}},".block-title":{...(0,nu.iL)(e).default,".title":{position:"relative"}},".node-gridLayout, .node-calloutBox":{".block-heading, .block-title":{...(0,nu.iL)(e).compact},".block-paragraph":{...(0,nu.YW)(e).compact}},".block-table td":{".block":{...(0,nu.YW)(e).tight},".block-heading, .block-title":{...(0,nu.iL)(e).tight}},'[data-node-view-content-inner="card"]:not(:has(> .node-cardAccentLayoutItem)) [data-node-view-content-inner="cardLayoutItem"] > .first-block:not(.last-block)':{"&.block-heading, &.block-title":{"&:not(:has(+ .block-heading, + .block-title, + .node-gridLayout))":{mb:(0,nu.iL)(e).relaxed.mb}}},'[data-node-view-content-inner="cardLayoutItem"] > .first-block:not(.last-block)':{"&.block-paragraph":{...(0,nu.YW)(e).compact,"+ .block-heading, + .block-title":{mt:(0,nu.iL)(e).compact.mt}},'&.block-heading:has([level="2"], [level="3"], [level="4"])':{mb:(0,nu.iL)(e).compact.mb,"+ .block-heading, + .block-title":{mt:(0,nu.iL)(e).compact.mt}}}});var nx=n(3561);let nw=(0,c.memo)(()=>{let e=(0,eJ.TZ)(),t=(0,tD.Yy)();return(0,l.jsx)(r.xB,{styles:n=>{let l={[".".concat(th.pL)]:nk(e,t),[".".concat(nx.G)]:t8,[".".concat(t4.d)]:t4.l};if(!l)return;let a=(0,t2.iv)(l)(n);return a}})});nw.displayName="GlobalCardStyles";let nS=e=>{let{children:t}=e,n=(0,_.gF)(),o=(0,K.C7)(),i=(0,tM.s2)()&&(o||n);return(0,l.jsxs)(a.k,{alignSelf:"stretch",position:"relative",height:i?"100%":"var(--100vh)",direction:"column",flex:i?1:void 0,children:[(0,l.jsx)(nw,{}),(0,l.jsx)(t1,{}),t]})};var nC=n(83440),nz=n(7628);let nA=()=>{let{editor:e}=(0,tB._)(),t=(0,u.useRouter)(),n=(0,k.qr)();(0,c.useEffect)(function(){if(!e)return;t.beforePopState(e=>{let{as:t}=e;return!t.startsWith("/docs/")});let l=tU.fI.on("changed",t=>{var l;let{cardId:a}=(0,A.sY)(t.url),o=n.getState(),i=(0,ev.gh)(o);if(console.debug("[useHandleCardHash][handleURLChange]",{payload:t,cardId:a}),i===ek.q.DOC_VIEW&&(null===(l=t.state)||void 0===l?void 0:l.fromPos)&&"pop"===t.method){let{fromPos:n,fromPct:l}=t.state;e.chain().scrollToPositionInCard(n,l||void 0).command(e=>{let{tr:t}=e;return(0,nC.B0)(n)(t),!0}).run()}else{let t=(0,ev.xb)(o)[0];(0,th.YS)({cardId:a||t,editor:e})}});return()=>{t.beforePopState(()=>!0),l()}},[e,t,n]),(0,c.useEffect)(function(){if(!e)return;let{cardId:t}=(0,A.sY)(window.location.href);t&&(0,nz.D)({cardId:t,method:"replace"})},[e])},nI=new String(':root{--\\31 00vh:100%}html{min-height:var(--\\31 00vh);min-height:-webkit-fill-available;height:var(--\\31 00vh);height:-webkit-fill-available}body{position:relative;--\\31 00vh:100vh;--editor-width:100vw}[data-node-view-content-inner="paragraph"]:empty::after{content:"\xa0"}');nI.__hash="3b0f3b1f5b7e38c3";var nj=n(19576);let nF=e=>"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','GTM-".concat(e,"');").replace(/\n\s+/g," "),nB=e=>{let{gtmId:t}=e,n=nj.R.sanitize(t);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d(),{children:(0,l.jsx)("script",{dangerouslySetInnerHTML:{__html:nF(n)}})}),(0,l.jsx)("noscript",{children:(0,l.jsx)("iframe",{title:"Google Tag Manager noscript",src:"https://www.googletagmanager.com/ns.html?id=GTM-".concat(n),height:"0",width:"0",style:{display:"none",visibility:"hidden"}})})]})};var nM=n(74311),nE=n(64110);let n_=ea.hj.create({name:"animations",addOptions:()=>({}),addCommands:()=>({addAnimationPositions:(e,t)=>n=>{let{state:l,dispatch:a}=n;return a&&l.tr.setMeta(eB,{type:"addAnimationPositions",isPresentMode:t,pos:e}),!0},enableAnimations:e=>t=>{let{state:n,dispatch:l}=t;return l&&n.tr.setMeta(eB,{type:"enableAnimations",enabled:e}),!0},resetAnimationPositions:e=>t=>{let{state:n,dispatch:l}=t;return l&&n.tr.setMeta(eB,{type:"resetAnimationPositions",isPresentMode:e}),!0}}),addProseMirrorPlugins:()=>[eG()]}),nO=e=>{let{editor:t,dispatch:n}=e;(0,nE.w)(t,n)},nP=e=>{let{content:t,doc:n,onCreate:a,theme:o}=e,r=(0,c.useMemo)(()=>(0,nM.e)().concat(n_),[]),s=(0,c.useRef)(!1),d=(0,k.TL)(),u=(0,v.ye)("siteAnimationsEnabled"),m=(0,te.j)({async onCreate(e){let{editor:t}=e;console.debug("[SimpleEditor][onCreate] TipTap editor is now ready"),null==a||a({editor:t})},extensions:r,content:t,editable:!1});s.current||(s.current=!0,nO({editor:m,dispatch:d})),window.simpleEditor=m,m.gammaDocId=null==n?void 0:n.id,m.shouldUsePublishedVersion=!0;let{editorAnimationsClass:f,editorAnimationsCSSVars:p}=tC({editor:m,scrollingParentSelector:"body",disabledOverride:!1===u});return(0,l.jsx)(i.xu,{className:(0,ef.cx)("simple-editor-root",f),style:p,width:"100%",position:"relative","data-is-mobile":(0,tM.s2)(),children:(0,l.jsx)(tt.f,{editor:m})})},nT=()=>{},nR=e=>{let{children:t}=e;return(0,l.jsx)(a.k,{flex:1,alignItems:"center",justifyContent:"center",color:"gray.500",fontSize:"2xl",children:t})},nN=e=>{var t;let{docId:n,flags:a}=e,[o,i]=(0,c.useState)(),r=(0,c.useRef)(!1);return r.current||(r.current=!0,(0,k.E9)(),v.VH.set(a),v.VH.hasInitialized=!0),w(null===(t=e.doc)||void 0===t?void 0:t.cards,o),(0,l.jsxs)(nS,{children:[(0,l.jsx)(T,{}),(0,l.jsx)(R,{}),(0,l.jsx)(tB.r.Provider,{value:{editor:o,docId:n,isUnauthorized:!1,passwordRequired:void 0,setCollaborativeEditorInstance:nT,getCollaborativeEditorInstance:()=>o||null,confirmNavigation:()=>Promise.resolve()},children:(0,l.jsx)(nD,{...e,onCreate:e=>{let{editor:t}=e;i(t)}})})]})},nL=e=>{let{dispatch:t,doc:n}=e;t((0,ev.Dc)({theme:(null==n?void 0:n.theme)||null})),t((0,ev.iS)({isAllowedToEdit:!1})),t((0,ev.pl)({doc:n})),t((0,m.eJ)({cards:n.cards}))},nD=e=>{var t,n,s,m;let{docId:f,doc:p,onCreate:g}=e,h=(0,k.TL)(),b=(0,u.useRouter)(),y=null==p?void 0:null===(t=p.publishedSnapshot)||void 0===t?void 0:t.content.default;nA();let v=(0,c.useRef)(!1);if(O({content:y}),v.current||(nL({dispatch:h,doc:p}),v.current=!0),b.isFallback)return(0,l.jsx)(nR,{children:(0,l.jsx)(o.$,{size:"md"})});if(!y||!f||!p)return(0,l.jsx)(nR,{children:"Sorry, we couldn't find that page."});let{customCode:x}=y.content[0].attrs,w=(0,z.nT)(p.site),S=null===(n=p.site)||void 0===n?void 0:n.gtmContainerId;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(E,{doc:p,content:y}),(0,l.jsx)(d(),{children:(null==p?void 0:null===(s=p.site)||void 0===s?void 0:s.faviconUrl)&&(0,l.jsx)("link",{rel:"icon",href:p.site.faviconUrl})}),(0,l.jsx)("style",{id:"global-styles",dangerouslySetInnerHTML:{__html:nI.toString()}}),(0,l.jsx)(r.xB,{styles:{html:{overflowX:"hidden"},body:{overflow:"hidden scroll",WebkitOverflowScrolling:"touch","--doc-padding-top":w?N:void 0}}}),S&&(0,l.jsx)(nB,{gtmId:S}),(null==x?void 0:x.bodyStart)&&(0,l.jsx)(i.xu,{"data-custom-code":"body-start",dangerouslySetInnerHTML:{__html:x.bodyStart}}),w&&(0,l.jsx)(a.k,{pos:"absolute",top:0,left:0,w:"100%",zIndex:"10",children:(0,l.jsx)(tF,{theme:p.theme,content:null===(m=p.site)||void 0===m?void 0:m.navContent})}),(0,l.jsx)(nP,{content:y,doc:p,onCreate:g,theme:p.theme}),(0,l.jsx)(tZ,{minH:(0,tM.s2)()?"60px":void 0,docWorkspace:p.organization})]})}},75780:function(e,t,n){"use strict";n.d(t,{I6:function(){return c},mc:function(){return r},yx:function(){return d},XV:function(){return u}});var l=n(58125);let a={doc:void 0,docEditorType:void 0,spotlightByBlockEnabled:!1},o=(0,l.oM)({name:"DocEditor",initialState:a,reducers:{reset:()=>a,setDoc(e,t){let{doc:n}=t.payload;e.doc=n},setDocEditorType(e,t){let{docEditorType:n}=t.payload;e.docEditorType=n}}}),{setDoc:i,reset:r,setDocEditorType:s}=o.actions,d=e=>e.DocEditor.doc,u=e=>"collaborative"===e.DocEditor.docEditorType,c=o.reducer},84153:function(e){"use strict";e.exports={messages:JSON.parse('{"YOtIqx":["\\"",["0"],"\\" ",["1"]," will be permanently deleted and you won\'t be able to restore it. ."],"dLUUOA":["\\"",["0"],"\\" will be permanently deleted and you won\'t be able to restore it."],"2Hidew":["(",["GAMMA_PROPER_NOUN"]," default)"],"P9Cyl9":"(default)","Bhgibl":["(Optional) You\'ll make our CEO ",["GRANT_PROPER_NOUN"]," happy"],"4Q6lF1":"(you)","dDUgzP":"(You)","uGWY40":[["0","plural",{"one":[["userNames"]," was invited to comment on this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"other":[["userNames"]," were invited to comment on this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."]}]],"3rbi6Y":[["0","plural",{"one":[["userNames"]," was invited to edit this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"other":[["userNames"]," were invited to edit this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."]}]],"4bKxWq":[["0","plural",{"one":[["userNames"]," was invited to own this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"other":[["userNames"]," were invited to own this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."]}]],"Ai1TAT":[["0","plural",{"one":[["userNames"]," was invited to this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"other":[["userNames"]," were invited to this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."]}]],"p5IG6F":[["0","plural",{"one":[["userNames"]," was invited to view this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"other":[["userNames"]," were invited to view this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."]}]],"fFAIng":[["0","plural",{"one":["#"," card"],"other":["#"," cards"]}]],"LaQ44M":[["0","plural",{"one":["#"," member (you)"],"other":["#"," members"]}]],"tWPlLK":[["0","plural",{"one":["#"," member, including you"],"other":["#"," members, including you"]}]],"pkIIls":[["0","plural",{"one":["#"," member"],"other":["#"," members"]}]],"vliZud":[["0","plural",{"one":["#"," person following you"],"other":["#"," people following you"]}]],"27Yldc":[["0","plural",{"one":["#"," person is currently editing"],"other":["#"," people are currently editing"]}]],"u2htxq":[["0","plural",{"one":["#"," person is presenting now"],"other":["#"," people are presenting now"]}]],"sC4bhw":[["0","plural",{"one":["#"," person viewing or editing"],"other":["#"," people viewing or editing"]}]],"BKBX4n":[["0","plural",{"one":["+ ","#"," more viewer"],"other":["+ ","#"," more viewers"]}]],"eVRfvp":[["0","plural",{"one":["<0>","#"," ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is using this theme."],"other":["<1>","#"," ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," are using this theme."]}]],"MU+gFM":[["0","plural",{"one":"card","other":"cards"}]],"GtH+14":[["0","plural",{"one":"Copied card.","other":["Copied ",["1"]," cards."]}]],"VG4BD6":[["0","plural",{"one":"Cut card.","other":["Cut ",["1"]," cards."]}]],"6Aby61":[["0","plural",{"one":"Delete column","other":["Delete ","#"," columns"]}]],"gJlU2T":[["0","plural",{"one":"Delete row","other":["Delete ","#"," rows"]}]],"OJTPnC":[["0","plural",{"one":["Deleted ",["displayTitle"],"."],"other":["Deleted ",["1"]," cards."]}]],"mjEyky":[["0","plural",{"one":["Displaying ","#"," folder"],"other":["Displaying ","#"," folders"]}]],"ClnFsQ":[["0","plural",{"one":"Duplicated.","other":["Duplicated ",["1"]," cards."]}]],"BZPFHo":[["0","plural",{"one":"image","other":"images"}]],"Ka86rB":[["0","plural",{"one":"Invitation sent","other":"Invitations sent"}]],"3viq5b":[["0","plural",{"one":"Pasted card.","other":["Pasted ",["1"]," cards."]}]],"0/T2Xv":[["0","plural",{"one":["Upscale and download ","#"," image"],"other":["Upscale and download ","#"," images"]}]],"RfkEBH":[["0","plural",{"other":["#"," of ",["1"]]}]],"J/hVSQ":[["0"]],"866PMb":[["0"]," (You)"],"6v+N4U":[["0"]," columns"],"KNjuGh":[["0"]," Contributors"],"bxVoEp":[["0"]," edited ",["1"]," ago"],"oKPro/":[["0"]," If they sign in they\'ll be added as a collaborator with comment permission."],"2gPY9r":[["0"]," If they sign in they\'ll be added as a collaborator with edit permission."],"T8aKxO":[["0"]," layout"],"ELg7Zs":[["0"]," lets you scale or shrink your content into as many cards as you want. For example, you can turn a long document into a concise presentation."],"iKG7iK":[["0"]," lets you specify exactly where card breaks should go, so you can outline your content card by card."],"DSaSKH":[["0"]," started following you."],"Bb4CDv":[["0"],"? Sounds interesting! <0/>Let me come up with a few ideas..."],"gcpsjO":[["adjustedCardCount","plural",{"one":["#"," cards"],"other":["#"," cards"]}]],"M3I7Cf":[["aiAddCard","plural",{"one":["#"," credit per card you create."],"other":["#"," credits per card you create."]}]],"AJ11w6":[["aiAutocomplete","plural",{"one":["#"," credit each time you use ",["AUTOCOMPLETE_SLASH_SHORTCUT"]," or ",["AUTOCOMPLETE_INPUT_SHORTCUT"],"."],"other":["#"," credits each time you use ",["AUTOCOMPLETE_SLASH_SHORTCUT"]," or ",["AUTOCOMPLETE_INPUT_SHORTCUT"],"."]}]],"8HgQlf":[["aiEditing","plural",{"one":["#"," credit per AI suggestion (eg. finding images, rewriting content)"],"other":["#"," credits per AI suggestion (eg. finding images, rewriting content)."]}]],"XSCvWA":[["aiGeneration","plural",{"one":["#"," credit per ",["GAMMA_ARTIFACT_PROPER_NOUN"]," you create."],"other":["#"," credits per ",["GAMMA_ARTIFACT_PROPER_NOUN"]," you create."]}]],"OY40J+":[["aiImages","plural",{"one":["#"," credit per image prompt."],"other":["#"," credits per image prompt."]}]],"IniQ/K":[["availableCredits","plural",{"one":["#"," credit"],"other":["#"," credits"]}]],"Psk6LY":[["cardCount","plural",{"one":["#"," card total"],"other":["#"," cards total"]}]],"AZLIlg":[["cardCount","plural",{"one":["#"," cards total"],"other":["#"," cards total"]}]],"pxio6v":[["changedPagesCount","plural",{"one":"You\'ve made changes to a page","other":["You\'ve changed ","#"," pages"]}]],"bM4Wv5":[["count","plural",{"one":["#"," card"],"other":["#"," cards"]}]],"eiUA4k":[["count","plural",{"one":["#"," comment"],"other":["#"," comments"]}]],"T57gLR":[["credits","plural",{"one":["#"," credit"],"other":["#"," credits"]}]],"qQLmo7":[["dayCount","plural",{"one":"No viewers to display for the last day","other":["No viewers to display for the last ","#"," days"]}]],"Ff/YaY":[["defaultFont"]," (",["GAMMA_PROPER_NOUN"]," default)"],"jkCRxy":[["emailWithName"]," was successfully removed from your workspace."],"CTBeTd":[["GAMMA_PROPER_NOUN"]," currently only supports membership in a single workspace. Let us know at support@gamma.app if you need access to more than one workspace"],"GYK/1H":[["GAMMA_PROPER_NOUN"]," supports .ttf and .otf fonts"],"DZCfCB":[["GAMMA_PROPER_NOUN"]," will use your card content to enhance or write prompt for you"],"LwcIt2":[["GAMMA_PROPER_NOUN"]," will use your card content to enhance your existing prompt or write a new one for you"],"JAtlMu":[["GAMMA_PROPER_NOUN"]," works best on Chrome desktop."],"3S0+Wy":[["GAMMA_PROPER_NOUN"]," works best on Chrome."],"RNrV8M":[["GRANT_PROPER_NOUN"]," says thank you"],"6dWGPZ":[["invitationCount","plural",{"one":"Send invitation","other":"Send invitations"}]],"tW/kB6":[["invitationCount","plural",{"one":"Unsent invitation","other":"Unsent invitations"}]],"qxNK2k":[["invitationCount","plural",{"one":["You have ","#"," unsent invitation. Do you want to discard or send it?"],"other":["You have ","#"," unsent invitations. Do you want to discard or send them?"]}]],"F6GBat":[["memberCount","plural",{"one":["#"," member"],"other":["#"," members"]}]],"cbRq5v":[["MICROSOFT_PROPER_NOUN"]," ",["WORD_PROPER_NOUN"],", ",["POWERPOINT_PROPER_NOUN"],", ",["EXCEL_PROPER_NOUN"],", or ",["ONENOTE_PROPER_NOUN"]],"yA1Sb+":[["MIRO_PROPER_NOUN"]," board"],"hJZ5XP":[["name"]," is not a member of the ",["workspaceName"]," workspace. If you invite them to this workspace, they’ll have access to ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," shared with workspace members."],"B9zUUN":[["newMemberCount","plural",{"one":"Add paid user?","other":"Add paid users?"}]],"WMsmjg":[["newMemberCount","plural",{"one":"Add paid user","other":["Add ","#"," paid users"]}]],"JKIwMd":[["newMemberCount","plural",{"one":["I agree to an additional charge of <0>",["totalPrice"]," per month to add one new user to my workspace."],"other":["I agree to an additional charge of <1>",["totalPrice"]," per month to add ",["newMemberCount"]," new users to my workspace."]}]],"Pltlc3":[["newMemberCount","plural",{"one":["I agree to an additional charge of <0>",["totalPrice"]," per year to add one new user to my workspace."],"other":["I agree to an additional charge of <1>",["totalPrice"]," per year to add ",["newMemberCount"]," new users to my workspace."]}]],"o2NxSP":[["numCollaborators","plural",{"0":"Shared","one":["Shared with ","#"," other"],"other":["Shared with ","#"," others"]}]],"B7jvsP":[["numCredits","plural",{"one":["This will cost ","#"," credit"],"other":["This will cost ","#"," credits"]}]],"GOR0mG":[["numOfFonts","plural",{"one":["#"," font family"],"other":["#"," font families"]}]],"yDnXlV":[["numOfStyles","plural",{"one":["#"," style"],"other":["#"," styles"]}]],"yf//Op":[["numSnapshots","plural",{"one":["#"," snapshot over the last ",["0"]],"other":["#"," snapshots over the last ",["1"]]}]],"NFNFrR":[["referralBonusAmount","plural",{"one":["#"," credit"],"other":["#"," credits"]}]],"q8MWFp":[["referralBonusAmount","plural",{"one":["Give ",["referralBonusAmount"]," credit and earn ",["referralBonusAmount"]," credit for each new referral who signs up and joins your workspace."],"other":["Give ",["referralBonusAmount"]," credits and earn ",["referralBonusAmount"]," credits for each new referral who signs up and joins your workspace."]}]],"tBKKYy":[["referralBonusAmount","plural",{"one":["Give ",["referralBonusAmount"]," credit and earn ",["referralBonusAmount"]," credit for each new referral who signs up for ",["GAMMA_PROPER_NOUN"],"."],"other":["Give ",["referralBonusAmount"]," credits and earn ",["referralBonusAmount"]," credits for each new referral who signs up for ",["GAMMA_PROPER_NOUN"],"."]}]],"B2DVf/":[["styleCount","plural",{"0":["<0><1><2/>","#"," styles"],"one":["#"," style"],"other":["#"," styles"]}]],"yXHI9B":[["timeInSeconds","plural",{"one":["For a card to be considered \\"viewed\\" it must have been in the view of the browser for at least ","#"," second."],"other":["For a card to be considered \\"viewed\\" it must have been in the view of the browser for at least ","#"," seconds."]}]],"JVHTIo":[["title"],", created by ",["0"]," on ",["1"]],"uSopl9":[["totalCount","plural",{"one":["It\'s currently in use by ","#"," ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"other":["It\'s currently in use by ","#"," ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"],"."]}]],"LZHJAq":[["uniqueViewers","plural",{"one":["#"," unique viewer (all time)"],"other":["#"," unique viewers (all time)"]}]],"olwQVc":[["UNSPLASH_PROPER_NOUN"]," images"],"mRnNF/":[["usersLabel"]," <0>reacted with :",["emoji"],":"],"dpTE1c":[["viewerCount","plural",{"one":["The average relative distribution of time spent across all cards, based on ","#"," unique viewer."],"other":["The average relative distribution of time spent across all cards, based on ","#"," unique viewers."]}]],"b2VMTo":[["viewerCount","plural",{"one":["The percentage of viewers that saw a given card, based on ","#"," unique viewer."],"other":["The percentage of viewers that saw a given card, based on ","#"," unique viewers."]}]],"soNtuq":[["WORKSPACE_NAME_MIN_LENGTH","plural",{"one":["The name must be at least ","#"," character long."],"other":["The name must be at least ","#"," characters long."]}]],"6MKtHx":[["y","plural",{"one":["#"," unique viewer"],"other":["#"," unique viewers"]}]],"PNapeY":"+ Add","21GX3a":"<0/> Built with love","sS1P4/":["<0/> Error ID: ",["errorId"]],"jxCfNz":"<0/> if successful","u5BmMM":"<0/> Priority customer support","ZdTirz":"<0/> Secure checkout","UlixjC":["<0>",["0"],"<1>/ user / month"],"On+kRG":["<0>",["docTitle"]," is the only ",["GAMMA_ARTIFACT_PROPER_NOUN"]," using this theme."],"COhrZ5":"<0>Click to open menu","EIoiBl":"<0>Comments make collaboration straightforward","0Gqs/k":"<0>Content below this line may be cut off when presenting or exporting<1>You can change this in page setup","63lY3K":"<0>Drag to move","4YARE9":["<0>Error: No content found for this ",["GAMMA_ARTIFACT_PROPER_NOUN"],". Please try recreating it."],"XdzNIh":"<0>Learn more about our paid plans","HMsJrS":["<0>Like this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"? Make it yours"],"FEyEJk":["<0>Like this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"? Sign up for ",["GAMMA_PROPER_NOUN"]," to clone it!"],"CNU0D4":"<0>No more slide masters or template lock-in","ULVfg0":"<0>Note: (1) By uploading fonts to Gamma, you confirm you have the rights to use them. (2) Variable fonts are not currently supported.","N48nuf":"<0>Password protect sensitive files","Y5Jq49":"<0>Preview this page<1>See your changes before publishing","qP91+f":["<0>Renew your subscription before ",["expirationFormatted"]," to keep your ",["GAMMA_PROPER_NOUN"]," ",["productName"]," access."],"z7gRub":"<0>Share a follow link<1>People who join will follow you automatically","velw1T":["<0>Update your billing information before ",["expirationFormatted"]," to continue your ",["GAMMA_PROPER_NOUN"]," ",["productName"]," subscription."],"QXJTby":"<0>We keep a running counter for every second a card is \\"in view.\\"<1>A card is considered \\"in view\\" if the card takes up most or all of the browser window in doc or present mode. Nested cards must be expanded to count.<2>We stop counting time on cards immediately if a user closes the tab, or 60s after they switch tabs.","qercPA":["<0>You\'re offline. Connect to the internet to view this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"GvC+mL":"<0>You\'re offline<1>Themes will be available when you reconnect.","ftZED+":"❗️You don\'t have enough credits.","q65R55":["\uD83D\uDC4B Hi ",["userName"],", I\'m your AI design partner. Click on a card and then type below to have me change it. I\'m still in beta testing, so please be patient with me."],"HNDdbS":"\uD83D\uDE14 Sorry, I tried this but it didn\'t work. Could you try asking in a different way?","kTgCTO":"0% viewed this card","AKDcmS":"100% viewed this card","ekoaFo":"16:9","vVJ2/D":"2 columns","oCWIE5":"2 columns - equal","eWUI4Z":"2 columns - left","hOcihM":"2 columns - right","oVMU3f":"2 image columns","tmk28W":"2x2 matrix diagram","3gSgpL":"2x2 table","7xlpDo":"3 boxes","OnuuaA":"3 columns","ZjjVJt":"3 image columns","W78uBz":"3 large numbers","ORoO1f":"3 nested cards","PFo2A/":"3 numbers in circles","0LeG7j":"3 numbers with bars","aDo58o":"3 row table","Sf3ASu":"3 toggles","bkPcLj":"3 vertical arrows","ZjN50+":"3x3 table","X4kXBV":"4 boxes, 2x2","hexbw8":"4 columns","zd+VK0":"4 horizontal arrows","kX68M5":"4 icons with descriptions","Re1S+b":"4 image columns","BTeHnk":"400 AI credits at signup","64S2d0":"4x4 table","iMNTNx":"9:16","V7lf6B":"A blank card to start with","SnGUtD":"A card with a arrows","9AzsRa":"A card with a circle stats","6i4/hD":"A card with a diagram","kHFDdm":"A card with a GIF","uFWjQ5":"A card with a heading and a background accent image","EE/H36":"A card with a heading and a column chart","MWtClR":"A card with a heading and a donut chart","GxaYRj":"A card with a heading and a funnel in a column","H87HG1":"A card with a heading and a gallery of images","2s/J1+":"A card with a heading and a horizontal bar chart","g1FTqD":"A card with a heading and a large bullet list","r4fLNa":"A card with a heading and a left accent fit image","c/I4N2":"A card with a heading and a left accent image","JGF7vo":"A card with a heading and a left-aligned staircase with text outside","eRabUB":"A card with a heading and a line chart","zIzb1A":"A card with a heading and a pie chart","L0QPEt":"A card with a heading and a pyramid with text outside","oItvxV":"A card with a heading and a right accent fit image","x5nYRE":"A card with a heading and a right accent image","GqW7Xg":"A card with a heading and a stepped pyramid","2ZoOCu":"A card with a heading and a three row table","Wdyt2J":"A card with a heading and a timeline","QuKih6":"A card with a heading and a top accent image","kTU/Ne":"A card with a heading and bullet points, and an image","h5ySm8":"A card with a heading and four columns","+x8oem":"A card with a heading and four columns of images","DHZYRd":"A card with a heading and four medium icons with text","L8/5yN":"A card with a heading and four small icons with text","rwJuIz":"A card with a heading and smart layout with three images with text","DgfiYp":"A card with a heading and three bar stats","tt2nIz":"A card with a heading and three circular photos","od0FQb":"A card with a heading and three columns","kmtZuD":"A card with a heading and three columns of images","Yno39F":"A card with a heading and three columns with headings","J89hiV":"A card with a heading and three nested cards","YEhR/1":"A card with a heading and three stat numbers","Cg0xBG":"A card with a heading and three text boxes","58JI2k":"A card with a heading and three toggles","pRDCBH":"A card with a heading and two columns","SzGG7G":"A card with a heading and two columns of content with an image on the left","M7cuHB":"A card with a heading and two columns of content with an image on the right","sqVSP2":"A card with a heading and two columns of images","acTyiC":"A card with a heading and two columns with headings","itiMvE":"A card with a heading, paragraph, and a button","rYur7N":"A card with a title","0ngLOJ":"A card with a webpage embed","s0st+i":"A card with a YouTube video embed","605WM6":"A card with bullet points","IvDo5O":"A clickable button that can link to other pages, or an email","Woijyj":"A collapsible section. Highlight key points and hide details","ILESdz":"A color or gradient, applied to elements like links, buttons, and blockquotes.","IxXthU":"A download should start automatically.","MTtTC2":"A download should start automatically. If not, <0>click here to download it.","X9g1U4":"A guide to investing in real estate","NumOzw":"A history of dinosaurs","jEhpBa":"A journey through the rainforest","Rb7nMV":"A new medium for presenting ideas.","/qH3CQ":"A scaling factor that controls how large or small the font size is.","i+5kKa":"A4","pzj1N+":"A4 (portrait)","dannsm":"abstract shapes, illustration, playful, fun modern, startup, tech","ChasOQ":"Academic","CDFCZ5":"Accent background","e5Sy/T":"Accent image","ae2ouI":"Accent image shape","COXEr5":"Accent images","B2lKp+":"Accent images are a set of images associated with this theme that can be used in card layouts.","zOCB9A":"Accent images can be managed in the theme editor.","5HMSY5":"Accent left","bGTdlK":"Accent left (fit)","Czo70+":"Accent right","1BvkHE":"Accent right (fit)","BUdX7X":"Accent top","qG4Wa/":"Accept this offer","Txd1qM":"access","ozTxG/":"Access <0>best-in-class AI for text, images, and search","V9JX7d":"Access link only","AnNF5e":"Accessibility","M3JKNC":"Account language","T3FM0r":"Account settings","wAvGr+":"Account settings updated.","7L01XJ":"Actions","Ob6KWB":"Active members","6cWP3y":["Active members (",["0"],")"],"VJ7g+s":["Active members (",["memberCount"],")"],"mLWixU":"Active members and invitations","/sL1z7":"Active now","m16xKo":"Add","1rLekk":["Add ",["0"]," accent ",["1"]],"FM+LNW":["Add <0>A records pointing to <1>",["0"],"and<2>",["1"],". If you have any existing <3>A records, remove them."],"b2oYEF":"Add <0>all weights and variants of a font family.","F/H43B":"Add <0>one font family at a time. Add condensed or extended variants as separate families.","Jmb6Yp":["Add a <0>CNAME record pointing <1>",["subdomain"]," to<2>",["GAMMA_SITES_HOST"],"."],"xe7fzh":"Add a button","KuoJwF":"Add a custom domain to your site by connecting it to Gamma.","1y9z1r":"Add a domain","JecGQl":"Add a link","JoMQgx":["Add a new card about ",["placeholder"]],"S0WoXy":"Add a page","B6vyEa":"Add accent image","B6e4xs":"Add additional domain","YMrXdT":["Add an <0>A record pointing to<1>",["0"],". If you have any existing <2>A records, remove them."],"LfOSf5":"Add an image","LP7cSD":"Add another card","K3193W":"Add another page","7iE+3N":"Add blank card","SSZKB9":"Add blank page","6oU9VZ":"Add button","sFY+gw":"Add card","90n2YU":"Add card below","kLZLXX":"Add card with AI","R8xLRW":"Add card with AI:","sfxKlu":"Add cards","UHoZ5e":"Add chart data","Fz6khn":"Add color","AgvHni":"Add column","7ibPpM":"Add column after","bZ9ges":"Add column before","oFsfkI":"Add comment","EdEpYN":"Add Domain","P8H57Z":"Add emails or people","UgOs5x":"Add from template","P5MuiB":"Add image","5phU36":"Add images","NQ8llq":"Add item","1e37Dl":"Add item after","w7mkyz":"Add item before","HmhQ3B":"Add more cards to generate table of content links automatically.","BLNAld":"Add more files","GquPwe":"Add notes","fnNtuR":"Add notes…","w1P/iM":"Add or paste in your content here","yLRlZm":"Add page","hsMvVQ":"Add page to existing site","OppH33":"Add page with AI","6TCEnS":"Add pages to your site, then publish to make them live.","+1O5zr":"Add people","pqvop4":"Add positive news in a green box","9OEgyT":"Add reaction","qZd/ph":"Add row","tT/bSk":"Add row above","6QCZMo":"Add row below","S2U0+k":"Add some emojis","v2ydVh":"Add the notes, outline or content you\'d like to use","pBsoKL":"Add to favorites","KmCmUJ":"Add to folder","NMTPSf":"Add video and screen recordings, or attach an existing Loom","DPqdhC":"Add workspace access to use folders","9IxKHJ":"Add your content","6LEeiE":"Add your Google Tag Manager ID to track your site\'s traffic with Google Analytics. You can find your ID in your Google Analytics account.<0/>Learn more about Google Tag Manager<1>here.","ZfQLKw":"Add, remove, and rename pages","7hDHpt":["Added ",["title"]," to folder"],"2ap0Xm":"Added image","Ecq7ez":"Adding fonts","mwCgnB":"Adding some flair","HW6L/y":"Adding specifics","G57+qO":"Additional instructions","bsqZlK":"Adds a shadow to the card to make it stand out from the background and give it depth.","C90Qtf":"Adds buttons like a landing page. Share via link or publish as a website.","KmUJ3J":"Adjust colors for contrast and accessibility (recommended)","cyLJM2":"admin","U3pytU":"Admin","Faptqt":"Administrator","6h5uMS":"admins","sxkWRg":"Advanced","02C6JB":"Advanced mode","VNgKZz":"Advanced settings","VeFaaQ":["Advanced settings that currently only ",["GAMMA_PROPER_NOUN"]," employees can see."],"6Vo4zF":"Advanced topics in number theory","bvN4Vx":"After editing the domain, your old domain will stop working. Also, any links to the old domain will break.","s2FywE":["After joining, you\'ll be able to view, edit, and share ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," in the ",["0"]," workspace."],"H/y2ny":["After joining, you\'ll be able to view, edit, and share ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," in the workspace."],"jsQZMk":"AI","izWW3K":"AI Designer is currently at capacity","X6YCwz":"AI editing","cSVX+F":"AI generated images","abr3hR":"AI generating","n2cF1o":"AI Generating:","7g5s/N":"AI generation failed due to flagged content.","aadziu":"AI image style prompt","O+LXs1":"AI images","0jmvoW":"AI images:","QIFgHt":"AI import","EPnxoe":"Align bottom","8nOdkO":"Align center","IR6Txi":"Align left","QhuQN2":"Align middle","pd0UH2":"Align right","6Hkcin":"Align text","CqhMZT":"Align text bottom","vLp84F":"Align text center","7Ug5sE":"Align text left","vNKCfC":"Align text middle","sQU9zP":"Align text right","wjY74a":"Align text top","/Q0jUh":"Align top","N40H+G":"All","W10xDz":["All ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]],"o+bOqE":"All changes are published","7Xmwpp":"All done! Your subscription is now active.","LOzhoI":"All folders","DAmK+T":"All images","PU+L+E":["All the ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," in this workspace will be deleted"],"PU1iAr":"Allow Gamma to feature this","8wYDMp":"Already have an account?","0tPXOa":"Already have an account? <0>Sign in","2HDXEj":"Alt Complement","qC+nbr":"Amelia, Co-founder & CEO at <0>Honeycomb","pi+Tez":"Amount of text","UmJg9q":"Amount of text per card","sbsGk/":"An error has occurred. Please try again.","EuvbIW":"An error occured","V4OZDJ":"An image to represent your workspace","+ngjpx":"An overview of the show \\"Survivor\\"","bK8OnA":"Analog Film","ZlwDi6":"Analytics","qcxxQS":"Analytics...","9HEcLR":"Analyzing the effectiveness of a recent advertising campaign","miu8ll":"And we\'re back","HgWdP3":"Animations","RulMCV":"Anime","3HyHV/":"Ann Marie, Director of Product at Koalafi","77TKVS":"Annual billing","VmjbJY":"Anonymous viewer","J1E9I7":["Any ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," ",["0"]," created and shared with the workspace will remain available in the workspace."],"r5GL8F":["Any ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," in this folder will lose their association with it."],"AYXLSv":"Any custom themes using this font will not break, but they will not be able to select it again","1i/P7t":["Any private ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," ",["0"]," created will be archived."],"VHgG8W":["Anyone who opens this ",["GAMMA_ARTIFACT_PROPER_NOUN"]," without signing in will show as anonymous"],"qZu20V":"Anyone with the link","gJUdlS":["Anyone with the link can open this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"ig2Isf":["Anyone with the link will be able to join your workspace as a member. By adding members, you grant them the ability to edit, create, and share ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," within this workspace."],"gbBlJ4":"Anyone with the password","PF+S+V":["Anyone with this link can join your workspace and will be able to view ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," that are not private."],"+g8rkW":["Anyone with this link will be able to view this ",["GAMMA_ARTIFACT_PROPER_NOUN"]," without a ",["GAMMA_PROPER_NOUN"]," account."],"oYTLJe":["Anyone with this link will get <0><1>",["0"]," to this ",["GAMMA_ARTIFACT_PROPER_NOUN"],", and automatically start following your position in the page when they open it."],"QsDjlD":"Apple","lOahyi":"Apples","OU8xue":"Applied to decorative elements like table dividers and timelines. If you don’t add any, the primary accent color or gradient will be applied.","lUOZce":"Apply <0>eye-catching, expert-level designs and layouts","HNcS3K":"Apply card template","l1XNCT":"Apply image fitting","8kSYjw":"Applying discount...","B495Gs":"Archive","oh7Knm":["Archive ",["0"],"?"],"zck3yw":"Archive theme","TdfEV7":"Archived","c0FWFX":"Archived themes","87gjhX":["Are you sure you want to delete this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"?"],"DkFGZj":"Are you sure you want to delete this domain? Your pages will stop showing up at this domain. You can add it back later.","GG34Oa":"Are you sure you want to delete this font family?","gJfQ74":["Are you sure you want to give up ",["WORKSPACE_ADMIN_DISPLAY_NAME"]," access? Another ",["WORKSPACE_ADMIN_DISPLAY_NAME"]," will have to make you an ",["WORKSPACE_ADMIN_DISPLAY_NAME"]," again if you want."],"nM44Cu":["Are you sure you want to leave the ",["0"]," workspace? You will not be able to rejoin unless someone else invites you."],"MYcnTw":["Are you sure you want to remove ",["nameWithEmail"]," from your workspace?"],"zFkhx3":"Arrow","Vgxmlw":"Arrow off","6AKiWu":"Arrow on","YUGjgn":"Arrows","IsJ7Ns":"Arrows layout (blank)","tqhB0N":"Artistic","/fY1js":"Ask a question","vKZEFh":"Ask AI to...","B18q9c":"Ask your admin to upgrade. You can find a list of your admins in workspace settings.","iKM2jY":"Aspect ratio","Cx9riK":"Assisting clients in developing and implementing effective sales and marketing strategies","0q0LJR":"At least 1 Full Access collaborator is required.","2SUV3x":"Attach PDFs, Word documents, and PowerPoint presentations","AW+oRQ":"Attention all","VbeIOx":"Author","R9Khdg":"Auto","Dnn2XG":"Automatic","qu+sXe":"Automatic setup","E9axcX":"Automatically highlight the main ideas","2GuYO+":"Awesome Ancient Egyptian goddesses","+bmpN5":"Baby Blue","iH8pgl":"Back","C9yTHG":["Back to ",["GAMMA_PROPER_NOUN"]],"f/C2ic":"Back to following","550oRP":"Back to prompt","ANn8Qe":"Backdrop","GtJbUa":"Background","23c2Uw":"Background image","SQOVlA":"Background layout","j1OP+i":"Bananas","CeeoKy":"Bar","JXpNuP":"Bar chart","LYRXtx":"Bar stats","MSp/ys":"Bar stats layout (blank)","jIL7bk":"Base size","0wJVK+":"Basic","8nVVMR":"Basic blocks","5Ag7Sd":"Basic image models","o+K7xz":"Basic info","u6rs0A":"Be more specific","dgITlE":"Beautiful and on-brand","xaxrcQ":"Beautiful presentations, documents, and websites.","nhUDfL":"Before you leave please resolve the following issues:","l1TCvG":"Begin tour","3JV7Yt":"Best for most use cases","YBt9YP":"Beta","0ULIwF":"Big arrow","w0arAq":"Big numbers","9CR0co":"Big rounded edges, bold colors, and thick lines","aIkeAd":"Billed monthly","EJlVlP":"Billing and subscription","2V6hMo":"Bing image search","THokF3":"Black","UQOvxZ":"Blank card","G1q1hG":"Blank diagram","vjXym+":"Blank layouts","QMdgje":"Block fill colors","OLMhPm":"Blockquote","7s3WlU":"Blocks","50Trz0":"Blog posts or articles","Zn5crm":"Blue","bGQplw":"Body","U41VTK":"Body & <0>link","fC5kYg":"Body Start HTML","KmydK6":"Bold","8HIv1f":"Book report for \\"The Joy Luck Club\\"","61H/21":"Boxes","tfw6UW":"Brainstorming and creating new ideas for content creation","5+KnDi":"Brand strategy and positioning for an AI startup","16exrD":"Brief","i4A317":"Bring forward","IS9/i3":"Bring to front","MqSMMF":"Bring your ideas to life","JLxwQS":"Brown","O+m8q9":"Browse all","bHT6mZ":"Browse card templates","QbmT2X":"Browse decks created by the Gamma team and other members of the Gamma community.","JYj5R2":"Browse files","M4C2N9":"Browse templates","JspKUL":"Build and share dynamic content effortlessly","MDnCmX":"Building and maintaining relationships with customers to foster repeat business","Z/0bkt":"Built-in fonts","ynb7Kh":"Bulleted list","RYtHky":"Bullets","eKiifW":"Bullets layout (blank)","9N+p+g":"Business","hxBFty":"Button","/2RIKE":"Buy more credits","3cKebJ":"Buzzfeed-style article: \'10 Weird Facts About Cats\'","t490IT":["by ",["0"]],"Wpe4mQ":["by ",["createdByName"]],"CJWQom":"By adding members, you grant them the ability to edit, create, and share gammas within this workspace.","oXChp6":["By clicking this link, you agree to ",["GAMMA_PROPER_NOUN"],"\'s <0>Terms of Service and <1>Privacy Policy."],"QjwqJE":"By default, Gamma adjusts your colors to comply with web accessibility guidelines. You can turn this off to use your colors exactly as they are.","+K5sth":"By default, this is a lighter or darker shade of your card color.","9pewn9":["By signing up for ",["GAMMA_PROPER_NOUN"]," you acknowledge that you agree to ",["GAMMA_PROPER_NOUN"],"\'s <0>Terms of Service and <1>Privacy Policy."],"VraWhP":"By the way, you can view all of the AI images you\'ve made in this gamma by selecting the image and clicking on the pencil icon.","4Wf98Z":"Call out important info with a box and icon","tpYgEx":"Call out risks in a yellow box","uJ8xrP":"Callout boxes","gm+qKB":"Calls to action","U4MLdj":"Can change workspace settings, assign roles, and invite or remove workspace members","KyKhjp":"Can Gamma share a copy of your AI-generated presentation?","ihPQra":"Can view","qPZYdC":"Can view and comment","IwFh5+":"Can view and comment, but not edit.","yzFEXd":"Can view, but not comment or edit.","TVFcVE":"Can view, comment and edit","r59J7Q":"Can view, comment, edit, and share with others.","kuZsYI":"Can view, comment, edit, but not share with others.","dEgA5A":"Cancel","7Bn152":"Cancel crop","fHXMPy":"Cancel subscription","EiakwV":"Cancel subscription →","zeQdHz":"Cancel writing comment","VpuvNv":"Cancelling subscription...","nslZjr":"Cannot change workspace settings or manage workspace members","Vcif8/":"Cannot view, comment, or edit.","A/6zEn":"Capitalization","Q4Of8O":"Capsule","yjYR46":"Capture information one question at a time","IsUqRH":"Capture open questions in a gray box","FyJPFh":"card","XDmFR6":"Card border","ITgjHB":"Card border color","9d2iLQ":"Card color","FbBkvL":"Card engagement","125H9i":"Card layouts","ymPKi7":"Card preview","n0Xbfn":"Card shadow","jBvtuq":"Card size","x5htAS":"Card style","F153E+":"Card styling","WJGAWS":"Card template applied","4z8XKi":"Card templates","yu3Nvs":"Card transparency","2PPaNm":"Card-by-card","Ccpbzh":"Cards","FJ18tL":"Cards from outline","gXnPmp":["Cards in this ",["GAMMA_ARTIFACT_PROPER_NOUN"]],"QfqHuz":"Cards viewed","V+D/YP":"Careers","VvjZ7K":"Caution","tC/T1p":"Caution box","95ckMP":"Center align","hsYa9i":"CFG","YOWGJ9":"Change column type","BmxaoW":"Change focus point","+DEogc":"Change language","vR68Ol":"Change layout","bVQpMy":"Change log","+NPPZN":["Change the text \\"",["0"],"\\""],"x6tIe+":"Change theme","CsUli9":"Change this block","XrfE9D":"Change this card","VZ3UQG":"Change zoom level","JDMhAD":["Changes made here will only apply to newly created ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"],", not existing ones"],"9vKKLI":"Changing your plan...","gMgGUM":"Chart does not have a label column","y1/cgq":"Chart emoji","A4tHrb":"Charts","u5XrTN":"Charts & diagrams","+60MiA":"Charts, statistics and data","2MVmek":"Chasing down the colors","gPyWmV":"Chat with AI:","y886Ns":"checkmark","fZmoQy":"Cheese","DOTf1E":"Cherry","6imsQS":"Chinese (Simplified)","DM4gBB":"Chinese (Traditional)","IMSFDD":"Chocolate","hQDrYd":"Choose a template","sZF+xW":"Choose a theme to start from","950yV9":"Choose a theme. You can customize this later.","j+PsQe":"Choose an option above to set a default background for all pages using this theme.","NQrqa1":"Choose font files","HLyJ9n":"Choose how long you want to pause...","7xMmki":"Circle","1C+7U1":"Circle size","mvpFPS":"Circle stats","4Rg7EO":"Circle stats layout (blank)","EpFwDO":"Citations","/Gl/RK":"Claim your limited-time offer","vptRa/":"Classic movie monsters","GiJxP3":"Classroom management plan","Q61KDs":"Claymation","E72rOz":"claymation style, clay sculpture, clay art, play-doh, bright, colorful, upbeat","7Y1eeH":"Clean edges with professional monochrome colors","siC4v8":"Clear","R7WiZ0":"Clear","5eg0kp":"Clear chat history","L7fEtA":"Clear persuasive writing, appropriate for a business context","l+wpFJ":"Click below to create your free workspace. You\'ll also be able to add teammates after signing up.","uWe4QF":"Click here","o/WrRZ":"Click here to cancel your subscription.","HrQ7yf":"Click here to update your billing information, view payment history, or make other changes to your subscription.","n+FPgx":"Click the \'+\' to add cards to your page, or the sparkles icon to add an AI-generated card. You can also click the dropdown to browse premade card templates.","BPbkIF":"Click to add template","etzA4s":"Click to change photo","U8dGAE":"Click to change workspace logo","2Ldadb":"Click to follow","miJbY4":"Click to follow anyone","FmP7uY":"Click to publish site","AG3H1y":"Click to react","fb/FjL":"Click to remove","1QTvS5":"Click to stop following","wZ9s+A":"click to upload","CEYUWt":"Clipboard emoji","Fk4/t+":"Clock emoji","yz7wBu":"Close","DIQZR1":"Close AI card generator","pqZJT2":"Close chat","C8DFL7":"Close filmstrip","j+JKcM":"Close footnote","62Ciis":"Close sidebar","j5HZKI":"Close theme editor","f2sKYF":"Close tour","a7JgI7":"Close without saving","8qZ5De":"Close zoom","kywJax":"closed","D87pha":"Closed","XLMJ7O":"Cloud","EWPtMO":"Code","4A3Yzu":"Code block","Gc5apx":"Code snippet","b4DayH":"Collaborate","pRbfoj":"Collaborating with cross-functional teams to ensure customer satisfaction and resolve any issues or concerns","6QWJ67":"Collaborating with other creators on a joint project or collaboration","H86f9p":"Collapse","kBUgVh":"Collapse card","AugKWa":"Collapse table of contents","MISW12":"Collections and sequences","/jlRrq":"College application tips","Ki8Mzz":"College notes outline","I2RSm2":"College presentation about the strawberry genome","vINKFZ":"College students","jZlrte":"Color","PPYsiY":"Color keywords","Yesdqm":"Color Picker","ZbZjCz":"Color psychology","tvmuQ0":"Color scheme","XAIjEI":"Color...","Op7PhG":"Colorful","1HfW/F":"Colors","EzalDc":"Column","kaIve5":"Column chart","LNoaEH":"Column size","jEu4bB":"Columns","GqdREM":"Combine images, videos, and embeds in a zoomable carousel","VZeG/A":"Coming Soon","NBdIgR":"Comment","jFTs0A":"comment access","Ho/Jvc":"Comment deleted.","1INZuT":"Comment marked as closed","4kSebh":"Comment posted.","gieGvY":"Comment reopened","kibWwZ":"Comment updated.","pQvCbR":"Comments will be available when you reconnect.","7i8j3G":"Company","XTxqsS":"Complement","SqseBa":"Concentric circles diagram","ajhK+g":"Concise paragraphs, for sharing or presenting","jBR5+p":"Concise, visual, and interactive","NIvI2q":"Condense","rqoYwb":"Condense text","Q7U9iz":"Condensed","BjuYlr":"Condensing","EETVVN":"Conducting a focus group for a new product","r7TRaL":"Conducting audits or assessments to identify areas of improvement in a company\'s operations or processes","uUkZM4":"Conducting market analysis and providing strategic recommendations for business growth","Satk/X":"Conducting sales presentations and product demonstrations to potential customers","a1YhjP":"Conducting user research and creating personas for a design project","5mHzsl":"Conference talk on recent discoveries in astrophysics","qgUvjm":"Configuring your prompt...","7VpPHA":"Confirm","G9nPRC":"Confirm & cancel","U8N77O":"Confirm your email","xQMU8T":["Connect ",["domainName"]," to Gamma"],"i8eBEs":"Connect and collaborate in <0>real-time","iBs5aa":"Connection lost, trying to reconnect...","ENMJv2":"Consider other plans","m5xed+":"Consultant","mpby9d":"Contact support","Bhgd0l":"Contact us","9aBOfk":["Contact your billing admin <0>",["0"]," (",["1"],") before <1>",["expirationFormatted"]," to continue your ",["GAMMA_PROPER_NOUN"]," ",["productName"]," subscription."],"z4DeyC":["Contact your billing admin <0>",["0"]," (",["1"],") before <1>",["expirationFormatted"]," to keep your ",["GAMMA_PROPER_NOUN"]," ",["productName"]," access."],"4b3oEV":"Content","3loch2":"Content CSS","ZcJO3k":["Content is too long. Please shorten it to ",["maxTokens"]," tokens or less."],"5w/BaJ":"Content quality","FJJPAA":"Content with button","SVyf2o":"Contents","/BYZHr":"Context with brevity","xGVfLh":"Continue","eBVeIQ":"Continue with AI:","3gCD+B":"Continue with email","oZyG4C":"Continue with Google","ZyVTQp":"Continue writing with AI","3L51iw":"Contributor","YqsXfH":"Contributors","Hcpaw+":["Controls how much the image adheres to the prompt. Higher values can create better results but slow generation and potentially lead to worse results if they are too high. Must be between 1 and ",["MAX_CFG_SCALE"],". Default: ",["DEFAULT_CFG_SCALE"],"."],"IUHTyS":"Controls how rounded or sharp the corners of the card and blocks are.","d4Sact":"Controls the distance between lines of text. 1.2-1.6 usually provides optimal legibility.","ov2xUH":"Controls the spacing between letters. Between 0% and 5% usually provides optimal legibility. Negative values are allowed.","cq9qmB":["Controls whether new ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," can be accessed by anyone in this workspace"],"q6/oQS":["Controls whether new ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," can be accessed by anyone outside your workspace, including anonymous viewers with the link"],"hzExWo":"Conversational","mTQLsL":"Conversion failed","Qx1qQH":"Convert to a timeline","52Y/fs":"Convert to a two-column layout","p/s15o":"Convert to card","thLYdn":"Convert to standard theme","UrX5Wc":"Convert to timeline","cXIM1U":"Convert to...","hAmdL3":"Converted.","j4ZLea":"Converting text...","6V3Ea3":"Copied","he3ygx":"Copy","F0YmUY":"Copy card link","qhJCCi":"Copy comment link","Sx4kHi":"Copy embed code","alYpud":"Copy folder link","y1eoq1":"Copy link","afMspw":"Copy link to private card","bDH6DG":"Copy meeting link","uU68PM":"Copy referral link","RGCCrg":"Copy share link","O/k8gF":"Copy workspace invite","OvEjsP":"Copying...","Pn5xLt":"Coral reef ecology","FL/pCd":["Couldn\'t authenticate with Google Error: ",["error"]],"FcSGqc":["Couldn\'t create theme. ",["e"]],"aOi88n":["Couldn\'t duplicate theme. ",["err"]],"hSYiXl":["Couldn\'t update theme. ",["e"]],"wBMjJ2":"Count","z9BKRx":"Course syllabus","J+gLCN":"Create a <0>working presentation, <1>document or <2>webpage you can refine and customize in under a minute, using our powerful <3>AI generator.","Qzo1BZ":"Create a form like writing a doc","S65lUr":"Create a new page from scratch.","QtyPbT":"Create a theme","Oo7YVo":"Create folder","N/mjN3":"Create font family","ONAJuB":"Create footnote","anOFr5":"Create from a one-line prompt in a few seconds","MxbdK6":"Create from notes, an outline, or existing content","BOqY23":"Create new","6/5iNu":"Create new site","Mxy55o":"Create or join a folder","JHMOcq":"Create site","xFxi2V":"Create something else","o+VI8t":"Create unlimited presentations, websites, and more—in seconds","ks31i0":"Create using AI","1zuBj5":"Create with AI","p4u+sD":"Create with AI:","FdtSNC":"Create workspace","cpE88+":"Create your account","hO9+rY":"Create your next presentation faster with our collection of fully customizable templates.","YHI6sk":"Create your own theme","9chYz/":"Create your workspace","MXSt4t":["Created ",["0"]],"oJFw5Q":["Created ",["0"]," ago"],"jlWdji":["Created ",["createdTime"]],"ab98Hp":["Created by ",["0"]],"qeNU2j":["Created by ",["0"],"."],"pS1F3d":["Created by ",["createdByName"]],"WZTg05":"Created by you","EbT81q":["Created folder \\"",["0"],"\\""],"qYwzxB":"Creating a custom theme is simple — just add your colors, fonts, and logo.","9eVkXK":"Creating a marketing campaign for a non-profit organization","RgfzEV":"Creating polished slides gets really tedious, especially aligning boxes and keeping things on-brand. With Gamma, I can get things done <0>so much faster.","xXvcr+":"Creating wireframes for a website redesign","nR7t2g":"Creative portfolio for [name]","5AIqvu":"Creatives","UE2beD":"Creator","lUUl1i":"Credits let you create and edit with AI. Each user in your workspace gets their own credits.","qKx+US":"Crop","+J8/VC":"Crop to fit","Q2lUR2":"Currency","VJUm9p":"Current page","A+zoTy":"Current plan","dUDTUc":"Currently:","8Tg/JR":"Custom","zkWoIW":"Custom","E16GGw":"Custom code","cnlGIm":"Custom code...","S05wWG":"Custom color","E3KfxC":"Custom fonts","B+0JwP":"Custom themes","FfYIy2":"Customer service","srRMnJ":"Customize","0TWTg2":"Customize theme colors","XZd6AM":"Customize this theme","cCd8Bs":"Cut","FCjnNz":"Cyber security basics","tZWcDd":"Cyber security protocols","pvnfJD":"Dark","vWWr+k":"Dark Goldenrod","uUMrFZ":"Dark Gray","oqSDkM":"Dark Purple","HKH+W+":"Data","u46WEi":"Date created","2TANrw":"Date favorited","/JO3xr":"Date unknown","5YWExy":"Day | Days","QycuHk":"Daydream","/MdSvR":"Dealing out the cards","aIFikE":"Decline offer","+3R1LR":"Decrease text size","46F406":"Default","ovBPCi":"Default","Eox2lp":"Default theme removed","476L2+":"Default theme updated","u/0NJZ":"Default to full-bleed cards, like sections of a landing page. Ideal for webpages.","aJ+ISV":"Default to wide cards. Ideal for visual content and presentations. Text-heavy content may be less legible.","cnGeoo":"Delete","Tf88pC":["Delete ",["0"],"?"],"T3exbL":["Delete ",["domainName"],"?"],"cw2uO1":["Delete ",["GAMMA_ARTIFACT_PROPER_NOUN"],"?"],"Rz0Yis":"Delete accent image","nabda1":"Delete card","DXNS21":"Delete color","GAohqx":"Delete column","C2YqXi":"Delete domain","XyBdok":"Delete favicon","NbFtQm":"Delete folder","04FTaq":"Delete font family","9cmpNe":"Delete font file","sHHbXH":"Delete footnote","u85NBF":"Delete forever?","ktknoE":"Delete my account","O1M1zi":"Delete page","kbKU/5":"Delete page?","FjzXBu":"Delete reply","0cspe/":"Delete row","/Wgayn":"Delete selection","HSI88F":"Delete table","NOLglc":["Delete this ",["GAMMA_ARTIFACT_PROPER_NOUN"]],"xOviNB":"Delete thread","pj33Dr":["Delete your ",["GAMMA_PROPER_NOUN"]," account?"],"NHHKzo":["Deleted ",["0"]],"0MWv65":["Deleted ",["displayTitle"],"."],"gICMDu":"Deleting your account is permanent and cannot be undone. Are you sure you\'d like to continue?","O71YIC":"Deleting your account...","EF2EU9":"Deleting...","+PBeon":"Deliver <0>mobile-friendly content on any screen","BiLwIi":"Describe what you\'d like to make","Nu4oKW":"Description","2VBqT4":"Description not provided","f8fH8W":"Design","hrZyv2":"Design brilliance, no coding skills required","cEGrM6":"Designing","K3p0ar":"Desktop preview","tUVwfQ":"Detailed","sjfiEU":"Detailed analytics","5bJUX4":"Detailed paragraphs, best for a longer document","olhuH7":"Developing and delivering workshops or training programs on specific topics or skills","fJyJvk":"Developing and executing a content strategy for a blog or YouTube channel","Zqh+Ff":"Developing and executing sales strategies to penetrate new markets or industries","VOdUia":"Developing visual concepts for a new packaging design","EqfeOg":"Diagonal","i+ShMB":"Diagram","muZ1GG":"Diagrams","T+jTW/":"Diamond","y5p2bQ":"Did you know?","rRHK5M":"Didn\'t get a link?","PADW9l":"Digital Art","8GlKbZ":"Digital marketing trends","MRB7nI":"Direction","f4CBNf":"Disable site","bzSI52":"Discard","HmpVeZ":"discount","jdYyiz":"Discount applied.","MRkiFP":"Discounted secret plans","qm/kgC":"Discounts and credits may apply. The exact prorated amount will be calculated based on the remaining time in your current subscription billing cycle.","mjZQpA":"Discounts and proration may apply. The exact prorated amount will be calculated based on the time that the invitation is accepted.","1QfxQT":"Dismiss","Xm/s+u":"Display","IEY4J0":"Display date","8lqfXb":"Distribute horizontally","a1NrWf":"Distribute vertically","R8AthW":"Divider","vVRhxh":"Doc mode","XH30C4":"document","7Zdnlq":"Document","tFsgII":"Document emoji","V4fbcv":["Domain \\"",["0"],"\\" has been deleted"],"tIBLtD":"Domain name updated.","LIAJwx":"Domain verification now in progress. This is usually quick, but can take up to 24 hours.","AZ4xlc":"Domains","BFGwQA":"Don\'t close this tab while generation is in progress.","ln9/n9":"Don\'t have an account?","I3/YZS":"Don\'t lose unlimited AI.","N4ycY7":"Don\'t lose your AI credits.","/vuJlA":"Don\'t worry, all of your work is already saved.","H50C1I":"Don\'t worry, this will take 5 seconds","DPfwMq":"Done","MuX+Gc":"Done editing","fyn0X5":"Done generating","Cn5cfQ":"Donut","DNipMm":"Donut chart","kpSWBA":"Donut type","CvH5f/":"Double click to edit","Yu4iKr":["Downgrade to ",["name"]],"mzI/c+":"Download","QI+Cf0":["Download a static copy of the page <0>",["0"]," to share with others."],"qwhOQ/":["Download a static copy of your ",["GAMMA_ARTIFACT_PROPER_NOUN"]," to share with others."],"niRN2H":"Download image","SpTWH3":"Download SVG","eneWvv":"Draft","CqlFQA":"Draft outline:","ByKyau":["Drag a .pdf, .docx, or .pptx file or ",["0"]],"mgPDos":["Drag a file or ",["0"]],"yxTfZB":["Drag a thumbnail for this embed or ",["0"]],"Dd9uag":"Drag to insert","oGNrqw":"Drag to rearrange, or type <0>--- to add new cards.","hVCCpY":["Drag your own favicon or ",["0"]],"cmRkd1":["Drag your own logo or ",["0"]],"ooy/OF":"Draw attention using your theme accent color","oHjTSO":"Drill into the details using <0>nested cards","euc6Ns":"Duplicate","BTDPLo":"Duplicate card","mAsucF":"Duplicate font weight/style","IVskn1":"Duplicate page","aKkjQq":"Duplicate site (coming soon)","0Fcoqv":["Duplicate this ",["GAMMA_ARTIFACT_PROPER_NOUN"]],"FV8ABd":"Duplicate this theme and edit a custom version for your workspace","ZMlbHK":"e.g. \\"contact\\" or \\"about-me\\". Leave blank if you want this to be the homepage.","dJdqM7":["E.g. ",["0"],"\'s Workspace"],"Z2mL5G":"e.g. your team or company name","ODB/Vo":"E.g. your team or company name.","89ftLJ":"Earn more credits","gyp7EN":"Earn more credits to continue using Gamma\'s AI generated images feature.","//XCY6":"Earn more credits to continue using Gamma\'s AI generator and editing features.","evSZRO":"Easy to share and publish","9HiZDb":"Ebook for a course on real estate investing","ePK91l":"Edit","Ov693i":"Edit accent image","UZN1cZ":"edit access","wl99H6":"Edit and share","+EZioz":"Edit background","44wbJb":"Edit chart","BhcOHV":"Edit chart data","VMKg48":"Edit domain","x8Zuns":"Edit draft comment","pwu5kS":"Edit embed","+v0hYZ":"Edit gallery...","XQFMOm":"Edit image","NFoeBH":"Edit layout...","/PoNoq":"Edit link","+kQy/G":"Edit notes","qbzc6p":"Edit preview","JkEyR8":"Edit theme","TExCtI":"Edit theme colors","gJpKw8":"Edit theme fonts","+MxT3Q":"Edit theme name","YU/AK+":["Edit version ",["0"]],"EVnzPs":"Edit with AI","C4t1b/":"Edit with AI...","MRZxAn":"Edited","5cC8f2":["Edited ",["0"]],"yxz5Og":["Edited ",["0"]," ago"],"VPPO7T":"Editing and refining creative projects such as videos or artwork","+mgW41":"Editing cards","Pw5K5r":"Editing will be disabled until we can reconnect.","aqxYLv":"Education","NFz66a":"eg. Papyrus","ntD1J/":"Einstein\'s theory of special relativity, for dummies","rp5GhR":"Ellipse","O3oNi5":"Email","A0C9La":"Email us","KKBlUU":"Embed","1q3pN1":["Embed ",["SHEETS_PROPER_NOUN"],", ",["DOCS_PROPER_NOUN"]," and ",["SLIDES_PROPER_NOUN"]," directly in your ",["GAMMA_ARTIFACT_PROPER_NOUN"]],"KlL5LU":"Embed a base, form, or view from Airtable","wNr9uT":"Embed a gamma inside another gamma","sgbNf4":"Embed an interactive Google Form","Nz7jbx":"Embed apps & webpages","Px3dYF":"Embed boards and edit them live for interactive workshops","ETv+Uw":"Embed code copied to clipboard","7yLOnm":"Embed forms with conditional logic","wRlboO":"Embed interactive apps and websites","aTofd0":"Embeds","cTyY5b":"Emerging engineering tech research","DCfWDf":"Emilie, Founder & Principal at Six Eastern","tKlWWY":"Emoji","eFpJYL":"Emoji \uD83D\uDE0D","nbib7S":"Emphasize problems in a red box","EqUVJs":"Empty font family","zk6wKo":"Enable access in the share panel to create a follow link","5G4vd5":"Enable site","Bq2yPr":"Enable this site to publish","r5OY1d":"Enable your site to publish","xDr/ct":"End","vaKC4/":"Engage users on any device","evv6UM":"Engage with interactive <0>galleries, videos, and embeds","D1GFUx":"Engagement rings","SUXBxp":"Engineering","z6/XQH":"Engineering project progress","lYGfRP":"English","YqdfV4":"Enhance","fG2B2z":"Enhance existing docs, presentations, or webpages","eoAiXB":"Enhance prompt","Uehxdq":"Enhance prompt","6xU0OU":"Enhancing...","dcSbw0":"Enter a domain name","ZiMSMQ":"Enter a site name here","gzZk6e":"Enter a URL here","mIuglr":"Enter email addresses","q8ARHN":"Enter full screen","VpwcSk":"Enter new password","f7sXvi":"Enter password","MF+p5R":"Enter present mode","qf63PF":"Enter URL","SOkhdm":"Equalize columns","Ajc4TJ":"Erase","2FGWTy":"Eraser","SlfejT":"Error","bLdU0Q":["Error adding ",["title"]," to folder ",["0"]],"HugOMA":"Error adding domain","FntfNT":"Error copying card.","FL7N1y":["Error creating ",["0"]],"0jT1fA":"Error creating document","YeikaQ":"Error creating folder:","33a+2Q":"Error cutting card.","4+qb0c":"Error downloading image","ADJtFi":"Error duplicating doc","K45zvU":"Error editing","FE5kcD":"Error exporting card.","walT1X":"Error exporting file.","RVmL+P":"Error generating outline","bLRa0l":["Error joining \\"",["name"],"\\":"],"sBH7nV":"Error loading search results.","DD5mqk":"Error publishing site","9Xjuuc":"Error removing background: request timed out.","xwVKp4":"Error removing background.","+yMzgs":"Error removing folder:","cgB+pO":["Error restoring preview defaults: ",["0"]],"s51CLN":["Error revoking invitation: ",["0"]],"Fulf8b":["Error saving doc theme: ",["0"]],"AToAqe":["Error saving title: ",["0"]],"5hlcZg":"Error searching for icons.","Fkbzp8":"Error searching for images.","h37zlR":["Error sending invitation: ",["0"]],"dl5vwx":"Error setting route","l/2jzv":"Error setting up domain","YoFYYT":"Error updating domain name","aECahe":"Error uploading favicon. Please try again later.","rmh/nq":"Error uploading image.","ZQpymk":"Essay on the risks of AI and artificial general intelligence","cs9eYK":"Event invitation for [event]","1IE7uf":["Everyone (",["everyone"],")"],"aC87LX":["Everyone in ",["0"]],"0wXxLJ":["Everyone in ",["orgName"]," can view and comment, but not edit."],"7jJ4tD":["Everyone in ",["orgName"]," can view, but not comment or edit."],"CoURkK":["Everyone in ",["orgName"]," can view, comment, edit, and share with others."],"+9AXnp":["Everyone in ",["orgName"]," can view, comment, edit, but not share with others."],"3F9J6L":"Everyone in your workspace can view and comment, but not edit.","Cxivg8":"Everyone in your workspace can view, but not comment or edit.","MZxW5I":"Everyone in your workspace can view, comment, edit, and share with others.","NY9Lty":"Everyone in your workspace can view, comment, edit, but not share with others.","wKPcxh":"Everyone in your workspace will get the permissions you specify below, and you\'ll be able to add it to folders.","w7dTyp":"Everyone is following you","c5ESvc":["Everyone who has viewed, edited or created this ",["GAMMA_ARTIFACT_PROPER_NOUN"]],"F90T/z":["Everything in ",["FREE_PROPER_NOUN"]],"1uX8JV":["Everything in ",["PLUS_PROPER_NOUN"]],"tA85Kv":"Everything you need to <0>quickly create and refine content with advanced AI.","Iy+4dB":"Example of a block quote, here you can write a quote and we will style it.","hhefsV":"Example prompts","voRH7M":"Examples:","c+lbSJ":["Existing ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," will not be changed, but new ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," will no longer be able to select it."],"ydzS9x":"Exit","IkOhTI":"Exit full screen","IkakN2":"Exit present mode","5Rfo7J":"Exit present view","1A3EXy":"Expand","JjrOSL":"Expand card","zhFV/H":"Expand on this with more detail","MJf5IL":"Expand table of contents","K1q3tl":"Expand text","pvJgUJ":"Expanded","Q+x/E4":"Expanding","mrIVJ+":["Expired on ",["0"],"."],"uBqaX6":["Expires on ",["0"],"."],"XZUS53":"Explain the big bang to a 17th century pirate","8tjQCz":"Explore","wyUxeV":"Explore analytics","c82E8n":"Exploring different types of rocks","Pq039X":"Exploring the different types of rocks","814IWm":"Exploring the history of jazz music","GS+Mus":"Export","xRJ+bN":"Export card","CfztD3":"Export is temporarily unavailable","i3Tbgc":["Export to ",["formatLabel"]],"sLjB5m":"Export unlimited <0>PDF and PPT files instantly","U8WPSi":"Export...","N/fNtX":["Exporting ",["format"],"..."],"yvVnEI":"Exporting card...","eJOEBy":"Exporting...","m3l7VI":"Extend trial by","MWKntz":"Extend your trial","vI2q9R":"Extending your trial","aOKIxo":"External collaborators","NV46Ki":"Extra Bold","vp6Yr4":"Extra Large","GMGHcE":"Extra Light","yrC1Cd":"Extra Small","4pkbqe":"F1 Legends","lxeHIK":"Fabulous frogs","xg0y9o":"Faded","W4wYdx":"Faded","7Bj3x9":"Failed","aBvGpM":"Failed to archive site","Pdboh4":"Failed to create site","ksq4sM":"Failed to disable site","aQnYTJ":"Failed to enable site","7O1OBC":"Failed to update subscription","C1chBY":"Fantasy Art","f15rRF":"Fast: let AI divide your content into cards","mJfk30":"Faster images in a variety of styles","ucwEaH":"Faster images with vivid colors, best for illustrations","+Qaboy":"Favicon","8a9FIL":["Favorited ",["0"]," ago"],"X9kySA":"Favorites","TuM2Yu":"Fill","8mt5hR":"Fill in your outline with added details","CCYL7B":"Filmstrip","Rv+zkJ":"Filmstrip view","0cVgUw":"Filter by","MwX53Z":"Filter by...","1/oP/N":"Final confirmation","8V6XO3":"Finance","oMAM3/":"Find an icon","6YBjmV":"Find an image","iwm5Y3":"Find or create a new folder","ADlAam":"Find pictures relevant to this text","PARkyf":"Finesse","RyhVuk":"Finish and confirm","ZlkXrx":"Fireworks emoji","V1EGGU":"First name","TzCWMY":"First title","VPxUGR":"Fit image","kIRRvo":"Fix spelling & grammar","f5YDMB":"Fluid","6BBMcV":"Flywheel diagram","j4JrT0":"Folder successfully deleted from workspace.","QJd4OZ":["Folder successfully renamed to \\"",["0"],"\\"."],"HSh8u/":"Folders","qBttXb":["Follow <0>this guide<1/> to find the URL or embed code for ",["providerName"],". ",["extraMessage"]],"88XnIQ":"Follow link","+wrjWz":"Follow us","eqqNgX":"Font family actions","5qk/OL":"Font family name","I0oBSl":"Fonts","dOxPd4":"Footnote","7IKfOv":"footnotes","sQv06Y":"for","aRPU5Y":"For casual users just getting started","5qYpE7":"For fonts to display correctly in PowerPoint, you may need the following fonts:","FsOOWf":"for life","jo0oU2":"For personal use","DPJB4/":["For personal use. Get unlimited AI and remove ",["GAMMA_PROPER_NOUN"]," branding."],"Gf3YIX":"For professionals. Our most advanced AI editing and sharing features.","RKJfzm":"For school","Tf7VpJ":"For the best experience, open this page in Chrome.","rgBHdd":"For work","HVCLqF":"Forest Green","UNMVei":"Forgot password?","lVYl+I":"Formal and scholarly tone commonly used in academic papers and research. Be clear and objective","kI1qVD":"Format","84sVti":"Format as table","fr8euV":"Format this as a table","4Kic3M":"Forms & buttons","+a/yD6":"Four columns","2POOFK":"Free","xYSDvt":"Free plan","10G8Kb":"Free to use","SjDzTh":"Free to use commercially","Jn5DbR":"Freeform","nLC6tu":"French","LTohGv":["from ",["0"],"/mo"],"OXf+Hd":["from ",["formattedPrice"]," / month"],"Gw0M4G":"From a friend or colleague","MjB4VB":"Frosted","37VL/A":"Frosted","EWo9RV":"Fruit","DZfDCl":"Full Access","OwIqiD":"Full screen","GyLW1N":"Full width","ZnOCf5":"Full width hides the backdrop","BquNv8":"Full-bleed card","lsVq2Z":"Full-bleed cards","MWYJBI":"Funnel","HTZVrr":"Funnel layout (blank)","ETqzyH":"Funnel with text","WJphpV":"Funnel with text outside","U+kFad":"Gallery","FngnSh":"Gamma allows me to package up information <0>in ways I can\'t with slides,while still creating good flow for my presentations.","4ebE67":"Gamma automatically saves your work for you.","kXEHsK":"Gamma cannot sync your changes right now.","1kjnn4":["Gamma comes with <0>built in themes to style your ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"],", but you can also create your own <1>custom themes to match your brand"],"sWZ6Li":"Gamma comes with <0>Google Fonts, but you can also upload your own to use in custom themes","31r2Uu":"Gamma comes with pre-defined sizes of typography that work best for legibility. Feel free to choose font families for your headings and body font.","fuNYg+":"Gamma default","IkN23t":"Gamma is having trouble syncing your changes right now.","oSUMyx":"Gamma needs to reload","ZOGX27":"Gamma tips & tricks","2aP3e7":"Gamma works best on desktop","jIipv0":"Gantt chart","ziAjHi":"Generate","OSaxlZ":"Generate","/XRwS6":"Generate beautiful gradients","8e1wQN":"Generate card","tkZYgO":"Generate card with AI","0WZlkq":"Generate docs, decks & webpages in seconds","914Ln8":"Generate headings and collapse details under them","UQ4o1/":"Generate image","GyxUS3":"Generate notes","yXA4hx":"Generate original images and graphics with AI","4tE6l+":"Generate outline","uCXqkM":["Generate up to ",["MAX_CARDS_FREE"]," cards"],"0tfXJh":["Generate up to ",["MAX_CARDS_PLUS"]," cards"],"37jLpL":["Generate up to ",["MAX_CARDS_PRO"]," cards"],"NOdFZR":"Generating...","DDcvSo":"German","hTMREn":"Get help whenever you need it","IR0bRg":"Get inspired","ECouCf":"Get more feedback with <0>quick reactions","ZDIydz":"Get started","c3b0B0":"Get Started","w49thS":["Get started in seconds <0>⚡️. Sign in to collaborate with <1>",["0"]," on this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"bspMVx":["Get started in seconds <0>⚡️. Sign in to get <1>edit access to this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"KctW9G":"Get unlimited credits","jygi0j":"Get your point across <0>with present mode","wRkP2d":"GIF","YuI2vY":"GIFs","E435oC":["GIFs from ",["GIPHY_PROPER_NOUN"]],"pbDMHv":"Give me a more exciting way to say this","kxbLa+":["Give up ",["WORKSPACE_ADMIN_DISPLAY_NAME"]," access?"],"nM7mjF":"Give your AI images a consistent style. These keywords will be appended to your prompts when generating AI images.","f0936e":"Glass","dCeEtx":"Glazed","4pSxwB":"Go","CKyk7Q":"Go back","K1Ro+T":"Go back to prompt","iWpEwy":"Go home","LmLruJ":"Go to","1jSYVL":"Go to <0>theme dashboard <1/> or <2>undo","UveK6V":"Go to app","EyUKqu":"Go to next card","cbqngJ":"Go to previous card","FYlHHU":"Gold","m7XeHS":"Good for <0>enhancing existing slides. Import text, images and layouts.","piZd2g":"Good for <0>transforming documents and text-heavy content.","MZZYy8":"Good for enhancing existing slides. Import text, images and layouts.","nmOzVW":"Good for exporting to PowerPoint or Google Slides","y8DgoV":"Good for long text, rough notes, and scaling or condensing content","G7ngQL":"Good for outlines, reworking existing slides, and fine-grained control","UTXvCx":"Good for printing","5SkGv0":"Good for social media like Instagram or Linkedin","7IsDMu":"Good for transforming documents and text-heavy content.","9mwALi":"Good quality and fast, better for text and people","y1GvbS":"Good suggestion","cuyHFX":"Google Docs","h2JWN5":"Google images","W/x3L4":"Google Slides (text only)","d4WWfP":"Google Tag Manager","WBvNEc":"Google\'s faster model, good for detailed instructions","bWBoxC":"Google\'s most advanced model, good for text and people","76gPWk":"Got it","/S8bMP":"Gradient","VMNj5q":"Gradient angle","lgULOV":["Gradient headings in your ",["GAMMA_ARTIFACT_PROPER_NOUN"]," will be exported in single color, since PDF and PowerPoint do not currently support them."],"o/x3y/":"Grapes","c0brtR":"Graph emoji","hqe36h":"Graphic designers, artists, and creative professionals","qS5//Q":"Gray","VmkjGB":"Green","CXDHcv":"Grid","yDPbjE":"Grinning emoji","L8fEEm":"Group","O1wAlQ":"Guest","vJ0hjc":"Hand","g5Fk5U":"Hard","aj/hsq":"Having trouble logging in? Enter your email below and we’ll send you a link to reset it.","7wOL0x":"Hawaiian","1nLERW":["Heading ",["level"]],"lXKZGw":"Heading 1","El7NbA":"Heading 2","SFN6dN":"Heading 3","nJeKmw":"Heading 4","PKjGhT":"Headings","XeiZmu":"Heads up! This is a special link.","uzTaYi":"Hello","c3XJ18":"Help","E9FKmc":"Help and shorcuts...","CRzGla":"Help center","E47gBS":"Help refine our AI","5Rbu2u":"Here are some smart layout examples","3YHvwF":"Here are some suggestions:","MVir6z":"Here are some ways I can help:","qug3k/":"Here are the details of what happened:","qniSyC":"Here are your buttons:","RYUI6D":"Here\'s an example of body text. You can change its font and the color.","2Ws1Ru":"Here\'s an outline for you. What do you think?","SM6Zkf":"Here\'s another outline. What do you think?","CvUN7V":"Here\'s what I found:","A9MA7Q":"Here\'s what I generated. <0>Try again","tIb8bD":"Hexagon","hdOctW":"Hey","tQJo7q":["Hi ",["0"],", I\'m your AI design partner. What would you like to create today?"],"2wbD8h":"Hi there","vtNrfv":"Hi, I\'m a footnote.","76JfGK":"Hi, I\'m your AI design partner. What would you like to create today?","vLyv1R":"Hide","BRvU04":"Hide explanation","yKNnfN":"Hide grid","Cs6LHm":"Hide icon","Po0vX/":"Hide preview","no1XFa":"High school students aged 13-18","Y9OrUQ":"High schoolers","RyAyyY":"Higher priority themes show up first in the themes list","gtEbeW":"Highlight","NfbNtV":"Highlight information in a blue box","eKJQi9":"Highlight text","qbgW+C":"Highlights","Fn+7Lk":"Historic basketball games","N4VTXP":"Hit Publish to make it live","J5F9Vo":"Hmm... We can\'t add you to this workspace.","SvShcH":"Hmm... We couldn\'t reset your password.","a2AYF6":"Hmm... We couldn\'t sign you in.","F6yt1L":["Hmm... We couldn\'t sign you up for ",["GAMMA_PROPER_NOUN"],"."],"bzaAgu":["Hold <0>",["0"]," when dragging an item to quickly duplicate it"],"oCNO6k":"Hold <0>Shift while dragging to snap to grid","YmUqaF":"Hold <0>Shift while resizing to scale it proportionally","z9xlo8":"Hold <0>Space and hold down your mouse to move around","i0qMbr":"Home","WShrNX":"Homepage for a nonprofit organization focused on environmental conservation","8rPvyq":"Homepage for a podcast network featuring true crime stories","0j+RGO":"Horizontal alignment","tmwL4E":"Horizontal timeline (one-sided)","EGQH/j":"Horizontal timeline (two sided)","++nawH":"Hover to get a bird\'s eye view of the cards on this page. Click to jump to that card, or drag to reorder cards.","pMSbe+":"How about this?","06/kLN":"How are you using Gamma?","1pwdRz":"How can I earn more credits?","AmM8eQ":"How could we make it even better?","bxuHg8":"How did you hear about us?","kJizcc":"How do you plan to use Gamma?","jUY7QB":"How does photosynthesis work","l0Ck42":"How invite links work","IVVQ18":"How many credits does it cost to use AI?","cguR5Y":"How satisfied are you with the output?","nn97aN":"How to brew the perfect cup of espresso","7L2CH/":"How to copy and paste cards","jimVcB":"How to design user interfaces for a mobile application","LJoyjw":"How to land your first internship","FX+rEV":"How to learn web development","gtqlRg":"How to make sushi, a guide for beginners","9ZJkJO":"How to use AI to get an A","MhdvBQ":"How would you like to connect your custom domain to Gamma?","h0sjMM":"How would you like to get started?","aDLrMs":"HR","4Nl9R0":"Humorous","ICguSA":"hyperlinks","0OWovg":["I agree to the new price of <0>",["newPerSeatPrice"]," per user per ",["frequencyDisplay"],"",["0"],"to change my plan to ",["productDisplay"],".<1/>"],"4YT8Pd":"I understand that deleting my account is permanent, and have reviewed what will happen to my workspaces","5JWL1g":"I\'m not a slide deck artist - Gamma makes it super easy for me to convert my documents into engaging presentations for company all hands, and takes me <0>10x less time than fiddling about with pixels on slides. Such a time saver.","7KKeOM":"I\'m sorry, I wasn\'t able think of any suggestions. Could you try asking in a different way?","GNHk+9":"I\'m sorry, I wasn\'t able to find any themes for this.","+Cp+K8":"Icebreaker","bwZEQG":"Icon size","mcmuCe":"Icons","joUkNe":"Icons with text","oEHjy6":"Icons with text layout (blank)","S0kLOH":"ID","2DpRSo":"Identifying and prospecting new leads to generate sales opportunities","NSCwrX":["If they sign in or create a ",["GAMMA_PROPER_NOUN"]," account, they\'ll be added as a collaborator with <0>",["selectedAccessLinkPermission"]," permission."],"iEFpL0":"If this is a private URL that requires a login, try using the app\'s share function to generate an embed code.","yjadEY":"If you cancel now, you\'ll lose your current","tSTf2H":["If you don\'t know the password, contact the owner of this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"Wr6Y7m":"If you navigate away, the AI will stop writing and you won\'t be able to continue from where you left off.","Enj8Kw":["If you previously had content here, please <0>contact support and share a link to this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"2csAkv":"If you see a \\"sign in\\" button, you\'ll need to refresh after logging in.","jH2g5C":"If you switch to a different theme, you won\'t be able to use this theme again until you restore it from the <0>theme dashboard <1/>","JfBDWL":"if you take this offer, you\'ll lose your current","rKH6wM":"If you transfer the domain to the site, it will no longer be used in the other site.","CkE4gJ":"If you want to go through this tour again, just click <0>Take the editor tour in the <1>Help menu.","5cPTto":"If you\'re using ChatGPT to create outlines or content, you can ask it to add <0>--- between sections.","HmmZUO":"If your file isn\'t supported, you can also <0>paste in text","hG89Ed":"Image","tkT5Lo":"Image 1","5jxDue":"Image 2","Uqu2kY":"Image 3","6edF/U":"Image and text","BZBUfX":"Image downloaded","Gb8wsU":"Image exceeds maximum dimensions","Oho0T7":"Image gallery","6TSHCF":"Image license","emv9SK":"Image model","p9OBc7":"Image position","ESjmDR":"Image quality","JbOau/":"Image shape","8J92vb":"Image size","qA0pmh":"Image source","X2yiuT":"Image style","bk8Zu0":"Image upload or URL","an5hVd":"Images","yz1qqg":"Images are still uploading","cDxTeG":"Images with text","d+mR/1":"Images with text layout (blank)","l3s5ri":"Import","41DFEf":"Import <0>documents and <1>presentations easily","2xoyqj":"Import a file","Aqrkal":"Import and transform files. Add images and layouts, scale content and more","F6aY4g":"Import file","krF+YI":"Import file or URL","RMmFZu":"Import from Drive","Xli1NO":"Import from URL","exXmrP":"Import the text content from docs, presentations and more","eumYBf":"Import with AI","3b7s4O":"Import with AI (GPT Vision)","hdsaJo":"Importing...","WLqWVj":"Improve writing","5j51A1":"Improved","A+Bg+0":["In ",["GAMMA_PROPER_NOUN"],", we have two modes. \\"Doc mode\\" and \\"Present mode\\"."],"QeqSHi":"In addition to your primary color, secondary accent color will show up as extras in your theme\'s color palette. You can use them for card backgrounds, smart layouts and text styling.","LRFe2O":"In this tab","Qk+SyG":"Inaccurate","i/9pR4":"Inappropriate","Zeb01n":"Inappropriate content","XZHPlI":"Include the card backdrops or page background in present mode and PDF/PPT export.","w31i/H":"Include videos, podcasts, and other playable content","uEtUah":["Includes all views for ",["docTitle"]," since it was created on ",["docCreatedDate"]],"jvNV6s":["Incorrect password. Try again or contact the owner of this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"Z4p2Vv":"Increase text size","kImdWQ":"Individuals interested in technology and software applications","BQukYF":"Indonesian","kLmaSc":"Industrial revolution lesson","CE+M2e":"Info","1E4ojF":"Info box","F64cR2":"Informal and friendly tone that mimics natural conversation","Su3Y2O":"Initiating contact","HY4nP5":"Inline","qc9cD+":"Inline math","g+7nXG":"Insert card","/93cy4":"Insert column after","mwcRkO":"Insert column before","JUmxSq":"Insert row after","1ct6G/":"Insert row before","rXeZsJ":"Insert widget","K2fjhl":"Inspiration","wTl0UK":"Inspirational","CTWsuc":"Instagram","zzlbbf":"Instagram or Facebook","NxHkkp":"Instructions","72xmIi":"Insufficient credits","jijeT/":"Interactive","riUMyL":"Interactive prototypes, wireframes, and FigJam boards","mRh0Qq":"Internet (newsletter, blog, podcast, etc.)","32bDbK":"Intro genetics lesson","t0QOvB":"Introducing Gamma: Presentations, Websites, and More, powered by AI","9BZ9jQ":"Introduction to constellations","vppqKi":"Introduction to woodworking","XILg0L":"Invalid email address","0dimUT":"Invalid Invitation","sBZMWb":"Invalid URL","ww+l5h":"Investment prospectus for a new cryptocurrency ICO, gamma coin","etsxle":"Investor update for [company]","DGxAzK":"Invitation revoked","oNCcm2":"Invitation sent","MActeE":"Invitation Sent","KxTWx3":["Invitations (",["0"],")"],"/BTjxe":["Invitations ",["0"]],"MFKlMB":"Invite","dUOpaF":"Invite a teammate","/Yxzaj":"Invite by email address","XYV7FR":"Invite guest to workspace?","KKJitJ":"Invite others to this workspace","yO0V8C":"Invite others to this workspace","qVqqmP":"Invite to workspace","owUDwc":"Invite with email address","woAAa8":"Invite with link","aJGfDL":"Invoice paid successfully","iRohzP":"Is following you","PhJTrf":"Is there anything else we should know?","+7pOZT":"Is this font italic?","rHgk/g":"Isometric","1gm+lP":"It looks like something went wrong - try refreshing the page.","gtI5JW":"It looks like something went wrong.","svObPT":["It looks like you don\'t have access to this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"HqV46b":"It may take up to 24 hours for your website to appear","WaexE4":"It will also be used for layouts and buttons.","J0kGgj":"It will apply to buttons, block quotes, smart layouts, callout boxes,","5FjY+D":"It will remain hidden from the list of available fonts in the custom theme creator until you upload one <0>.ttf or <1>.otf file","Vg3hxF":"It\'s a little quiet in here. Use Gamma to draft, craft, and publish your first website in minutes.","XSfVsn":"It\'s bad","uXxNua":"It\'s good until","9ZYnL5":"It\'s great","zjesKF":"It\'s like a heading, but bigger","KNTN0L":["It\'s not used by any ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," right now."],"0ASQJH":"It\'s okay","57bp6s":"It\'s safe to close the share panel.","SJjTti":"It\'s safe to close this panel.","aH7vi8":"It\'s scheduled to reactivate on","pzutoc":"Italic","DZ/eyq":"Italicize the key words","HX5SVx":"Item","dFtidv":"Japanese","Cj3qRS":"Jelly","MeZ4HE":"John, Co-founder & CEO at Stotles","0wdd7X":"Join","2wwLHe":["Join ",["0"]," on Gamma"],"SnjWqV":"Join date","vIOI7i":"Join the conversation <0>\uD83D\uDCAC. Sign in to add <1>comments and <2>reactions.","VhIJ/j":["Join the party <0>\uD83C\uDF89. Sign in to collaborate with <1>",["0"]," and ",["1"]," others."],"Tz4Wi7":["Join the party <0>\uD83C\uDF89. Sign in to collaborate with <1>",["0"]," and <2>",["1"],"."],"c9AJhn":"Join workspace","EsVYoc":"Join workspace on Gamma","WpOdvg":["Joined \\"",["name"],"\\""],"EHsEUm":"Jump right in and start writing. Add or paste in content, style it with themes, and test out present mode.","NiZZRh":"Jump to","088Oxr":"Jump to card link","9FNPgA":"Jump to card Link","8yPAOw":"Jumpstart your projects with versatile <0>pre-made templates","WsGA8K":"Just a heads up: you\'ll need a computer to edit anything you create in Gamma.","kJ1IP6":"Just a moment...","Nwo9pM":"Just a sec while we set up your subscription...","+ofCyi":"Just a sec while we update up your subscription...","mkk40+":"Just a sec...","18P2qJ":"Justify","4OjqAQ":"Keep editing","dv/+ow":"Key lime","77Emn0":"Keyboard shortcuts","h7MgpO":"Keyboard Shortcuts","HPvhIn":"Keynote speech on digital transformation in the banking industry","h6S9Yz":"Korean","87a/t/":"Label","dQYE0e":"Landing page for [product]","qIZzo+":"Landing page for a consultant","gElU4S":"Landing page for a freelance graphic designer","yt/k6I":"Landing page for a healthcare consultant offering process improvement solutions for hospitals and clinics","0hgAA3":"Landing page for a marketing agency that helps real estate agents","ZjzFyz":"Landing page for a mobile app that helps users learn a new language","CDT0hH":"Landing page for a subscription-based meal delivery startup","XxIeKn":"Landscape","vXIe7J":"Language","RRo9kN":"Language updated.","j4mOGE":"Laptop emoji","k7rCa/":"Large","T94gJS":"Large body text","F5uDGO":"Large bullet list","OsVXoX":"Large bullets","0Sz17G":"Large text","acZeX2":"Last edited","gUWkFH":["Last edited ",["0"]," ago"],"1ZaQUH":"Last name","pRGfP3":"Last opened","B82OLR":"Last sent","UOgIR2":"Last viewed","yJynx8":["Last viewed ",["0"]," ago"],"wL3cK8":"Latest","gAU24l":"Launch briefing for [product]","gc4DdH":"Lavender","rdU729":"Layout","5yz5Kl":"Layouts and templates","HyFz7F":"Leadership","IY3q+2":"Learn how to get more credits","zwWKhA":"Learn more","Px95UX":"Learn more about sites","Mv8CyJ":"Leave","jC8TAY":"Leave folder","6iUevl":"Leave workspace?","P4NNIM":"Lecture about frogs for inquisitive second graders","oRQ3AS":"Lecture on coral reef ecology for undergraduates","GCUxja":["Left \\"",["0"],"\\""],"VjjKVj":"Left align","6j13ZR":"Left-stepped pyramid with text","vifyyw":"Legal","ml51m3":"Less time spent","P/o+t+":"Let AI help you make a page.","grPhlY":"Let people schedule meetings with you, directly from your page","cvpAvL":"Let us help","G9x5Sc":"Let\'s get started customizing your theme!","S4Fsut":"Letter","fVkwbQ":"Letter (portrait)","vhRvfF":"Letter spacing","1njn7W":"Light","xa/b9m":"Light Gray","nOXj3q":"Light Sun","cspP/G":"Light-hearted and entertaining tone, use humor and wit to engage the audience. Suitable for satire, comedy writing, and certain types of marketing.","jD4YT+":"Lightbulb emoji","JGFG6q":"lightning-bolt","W9FRBT":"Like","bB+DHs":"Like what you created?","MZW+2G":"Line","rjuFFw":"Line","i6SPYf":"Line Art","Kt/Lzz":"Line chart","Wqh8xb":"Line height","MGKwvK":"Line position","yzF66j":"Link","26eYlE":"Link 2","PLFHuI":"Link 3","1lWK8g":"Link button","pQjjYo":"Link copied to clipboard","/SVg/B":"Link display","lDVEsi":"Link resent","vMZPZT":"Link sharing has been turned off","1fOM5v":"Link to a card","gggTBm":"LinkedIn","2BBAbc":"List","5NZpX8":"List view","h16FyT":"Lists","wa1wV8":"Live charts, notebooks, dashboards, and cohorts","yQ2kGp":"Load more","Fl9cgp":"Load through a proxy","Z3FXyt":"Loading...","z2TXry":"Lock emoji","z0t9bb":"Login","iG7KNr":"Logo","qy77B2":"Logo file","W+3RJN":"Logout →","AIR0U6":"London architecture","RWbTop":"Longer AI inputs","y6WMmH":"Looking for layouts","vLjsO9":"Looking for typos","UNfHm4":"Looking to change the page background only?","fpxliT":"Looks like your subscription is still paused","yrPgHm":"Loom recording","X3ZAzR":"Low Poly","HFliJ0":"Made a mistake? <0>Restore theme.","vo61Ld":["Made with ",["GAMMA_PROPER_NOUN"]],"0VFIFL":"Made with Gamma. A new medium for presenting ideas, powered by AI.","wtGmzA":"Magic","ERTBmO":"Magic - Let Gamma decide","t2ndiD":"Magic wand emoji","wYbNSB":"Magnifying glass emoji","YbOHEn":"Make it polished and ready in one click","yNvg2Q":"Make it yours, in seconds","rRLXT4":"Make longer","i/zQgj":"Make online","xTY2A5":"Make shorter","91gjMr":"Make this more concise","gcHjj/":"Make this more visual","+TEOEl":"Make this sound more professional","Uusrk7":["Make your ",["GAMMA_ARTIFACT_PROPER_NOUN"]," polished and on brand in a few clicks. Add your logo, colors, brand fonts and more."],"pbPpqt":"Making bullet points","/qszLT":"Making some magic","WOC5LB":"Making some more magic","RUO69p":"Manage font files","3jHA5d":"Manage subscription","IGCJs2":"Manage subscription in Stripe","J+c0BR":"Manage workspace members","ANIrop":"Manual setup","L5N7HX":"Manually connect your domain","OwYxvS":"Margherita","9ggh96":"Mark as closed","pL38RI":"Mark as open","u6Hp4N":"Markdown","vo2a+a":"Marketing","EJrpTq":"Marketing performance metrics","n4a8iP":"Marketing research on the skincare industry","cg4yu3":"Maroon","9LBB6c":"Mask","KJAyEq":"Mask password","l8rp1O":"Math","TI6GY9":"Math block","sFkOYO":"Math equation","2kC4T9":"Matthias, Senior Strategy Consultant at ODALINE","CK1KXz":"Max","z7tEVo":"Max text per card","0I+mKT":"Measure engagement with <0>built-in analytics","8Dlczv":"Meat","xYilR2":"Media","2y7sUG":"Media options will be available when you reconnect.","agPptk":"Medium","NsbGKw":"Medium stroke","iPrIuB":"Meet your AI-powered design partner","NwiNTb":"member","OvoEq7":"Member","wlQNTg":"Members","4J90L0":"Mention a person","KnLL/m":"Mentions are only available when you\'re online.","kV34zB":"Merge into card above","b+J8Wt":"Merge into parent card","QCyMdk":"Midnight Blue","KjHaEz":"Minimalist, flat design with playful details","RDie0n":"Miscellaneous","XoKzka":"Missing content","+UN6+J":"Mixed","SlKwZ3":"Mobile phone emoji","58m6Qy":"Mobile preview","scu3wk":"Model","VvdC4u":"Monochrome","bSLwU6":"Monster","dvQtGF":"Monsters of the deep","eIHwsO":"Monsters of the deep oceans","obrMay":"month | months","4kanfr":"Monthly billing","zD3xDw":"More engaging","PRHEO1":"More specific","nM2WM0":"More text, fewer visuals. Broken up into cards to help with readability.","8R7bfR":"More time spent","p0QPRq":"More visual","f1rsYV":"More visual than a doc. More collaborative than a slide deck. More interactive than a video.","sFGQvg":"Motivational and uplifting tone that aims to inspire and encourage readers","OfSb1W":"Move backward","gRpM3p":"Move beyond walls of text and boring clipart. Embed anything:","9xFjqz":"Move forward","i4b0iJ":"Move page to an existing site","/zBSYY":"Move to back","J6qWQV":"Move to front","tlD7N3":"My site","6YtxFj":"Name","kq/0Sg":["Name your ",["GAMMA_ARTIFACT_PROPER_NOUN"]," before sharing"],"UxKoFf":"Navigation","cwxGog":"Negative Prompt","lyawQk":"Negotiating and closing deals to meet or exceed sales targets","lOmsEK":"Nested card","fElWbQ":"Never start from scratch","isRobC":"New","coNSGP":"New card below","yk2NpI":"New card with AI","3kE2m2":"New customer onboarding for [company]","P3ZE6a":"New employee onboarding guide for [company]","cZ2niB":"New feature launch budget","exOjhh":"New from blank","yT74UF":"New in Gamma","kLEOtI":"New layout","h3eRam":"New site","nGq2l0":"New tech training","FiwgR9":"New theme","hXzOVo":"Next","ZjQRVw":"Next card","EatZYJ":"Next image","e3GOIZ":"Next step","ZxwTXP":["No ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," found."],"oPoLg+":"No access","mpDN1V":"No closed comments.","8Va3Pt":"no data","2OzAI5":"No data to show","aRfkjR":"No design or coding skills required.","MaFhfZ":"No fill","NmfOr+":"No folders found.","IsBZFj":"No grid","2AY48J":["No icons found for \\"",["searchQuery"],"\\""],"SihI8q":["No images found for \\"",["searchQuery"],"\\""],"6JcK6b":"No layout","BvDFuc":"No navbar","ggpGEd":"No next card","W7i5f5":"No open comments.","blyObO":"No pending invitations.","4OtlnH":"No previous card","v9FFq4":"No stroke","tA4dAO":"No thanks","iXzipJ":"None","EdQY6l":"None","PdYu4g":"Normal body text","5NwZ8t":"Normal text","KiJn9B":"Note","Cq+sLh":"Note box","ycCSuD":"Note:","gXllrZ":"Note: text colors may be lightened or darkened for contrast and accessibility.","7j0VMp":"Note: we\'ll always try our best to preserve your content, but we can\'t guarantee an exact match.","5P1dmt":"Note: you\'ll also lose an active discount.","mGYmoI":"Notion docs (public only)","SFjR4X":"Notion x Canva is the best way to think about Gamma. It\'s just <0>so nice to use!","x6yr/9":"Number of images","IfKwpr":"Number size","mVQI+S":"Numbered","M3G9ZD":"Numbered list","kZz4L7":"Numeric","Bdtwnw":"off","ZU0opP":"Offer accepted","kfrSCr":"Offering advice and guidance on legal, financial, or technical matters to help clients make informed decisions","IcHxhR":"offline","1DdXjE":"Offline pages","Tn1hkb":["Ok, I searched for images of \\"",["0"],"\\" and \\"",["1"],"\\"."],"Z918ro":["Ok, I searched for images of \\"",["0"],"\\", \\"",["1"],"\\", and \\"",["2"],"\\"."],"x/YBq7":["Ok, I searched for images of \\"",["0"],"\\"."],"QICyFn":"Ok, I searched for images to match your request.","meKpPw":"OKRs for [company]","HPqZkW":"Older comments","HGg4T/":"Older snapshots","oILlKd":["Once you\'ve added workspace access, you can use folders to organize and discover ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"],"."],"AItsa8":"One-page website promoting a dog cafe","cg8FOs":["Only ",["creatorNameAndEmail"]," can cancel this subscription."],"H49TQ5":["Only ",["creatorNameAndEmail"]," can manage this subscription. Please contact them or reach out to Gamma support if you need help with this."],"8LvjQl":["Only ",["WORKSPACE_ADMIN_DISPLAY_NAME_PLURAL"]," can invite others. Ask your ",["WORKSPACE_ADMIN_DISPLAY_NAME"]," for help inviting others, or have them make you an ",["WORKSPACE_ADMIN_DISPLAY_NAME"]," too."],"wcx9n8":["Only ",["WORKSPACE_ADMIN_DISPLAY_NAME_PLURAL"]," can revoke invitations."],"K6jcOr":["Only ",["WORKSPACE_ADMIN_DISPLAY_NAME_PLURAL"]," can update the default permission level for external collaborators"],"n8wFRY":["Only ",["WORKSPACE_ADMIN_DISPLAY_NAME_PLURAL"]," can update the default permission level for workspace members"],"yASuPR":["Only ",["WORKSPACE_ADMIN_DISPLAY_NAME_PLURAL"]," can update the default theme for ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," created in this workspace"],"/NhHy7":["Only ",["WORKSPACE_ADMIN_DISPLAY_NAME_PLURAL"]," can update the workspace default theme"],"M1LZmX":["Only ",["WORKSPACE_ADMIN_DISPLAY_NAME_PLURAL"]," can update the workspace name"],"XJhzX8":["Only ",["WORKSPACE_ADMIN_DISPLAY_NAME_PLURAL"]," can view this invite link. Ask your ",["WORKSPACE_ADMIN_DISPLAY_NAME"]," for help inviting others, or have them make you an ",["WORKSPACE_ADMIN_DISPLAY_NAME"]," too."],"X4Z7y1":"Only admins can see this link.","NDM+Av":"Only Amplitude\'s paid plans allow embedding.","Tw6Jzi":"Only folder members have access.","fHD1gr":["Only people who accessed your ",["GAMMA_ARTIFACT_PROPER_NOUN"]," via an access link"],"5hKO48":["Only people who viewed this ",["GAMMA_ARTIFACT_PROPER_NOUN"]],"OpeWZK":"Only those with access will be able to view","DHhpJP":"Only use images licensed for commercial use, like a sales pitch.","EVNJ2h":"Only use images licensed for personal use, like a school project.","4Y1tbj":"Only workspace admins can upgrade","5Ma3Lv":["Only workspace members and those invited can open this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"Rxin92":"Only workspace members can have Full Access permission.","nHujJB":["Only you can view and edit this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"FNMh4I":"Only you have seen this. <0>Share it with others to track views and engagement.","zwZQVm":"Oops, this is embarrassing.","udaO9j":"Oops! Something went wrong.","742lf1":"Oops! That doesn\'t look like a valid document url.","Kz1TxG":"open","1TNIig":"Open","y1RN4W":["Open ",["provider"]],"RMJwZi":"Open card in new window","Ky3sBN":"Open editor in new tab","7ShgZt":"Open filmstrip","Alx2/L":"Open in new tab","8aebws":"Open slash menu","e4a3WM":"Open the door to a new universe","I4/IrC":["Open the share panel to share your ",["GAMMA_ARTIFACT_PROPER_NOUN"]," with others, or export to PDF or PPT."],"ni+gIz":"Open theme picker","dQU33K":"Open/close all cards","rEj/lx":"Open/close card","JZEY8K":"Open/close cards","XcKdYA":"OpenAI\'s most advanced model, high quality but slower","B1MDds":"Operations","LLAa/9":"Optional","5x/foo":"Optional: describe the colors, style, or mood to use","eYeGuP":"Optionally, tell us how we did","ZVGh9y":"Optionally, tell us why you rated this suggestion as you did.","BzEFor":"or","q+/7Td":"Or choose a layout","oyPIji":"Or drag to add images, videos, or embeds","3h21H3":"Or start with a template","+gsW0v":"or use an existing recording:","eR6rch":"Or you can invite them to join as a member with this secret invite link.","4OE5Sf":"Orange","/9w9pX":"Oranges","4G3U4C":["Organize your ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," by topic and share them with your team"],"MHkaLx":"Origami","z4qYv+":"Origami for beginners","HxF6Fk":"Original","/IX/7x":"Other","+s7ng3":"Other pages and site settings won\'t be affected","1Agl06":"Our AI generator is experiencing issues","lXdanD":"Outbox tray emoji","dD7NPy":"Outline","bCuf07":"Outlined button","f6Pzgf":"Output language","OtsbQu":"Outside text","cA3hQ0":"Overlay color","u4YODQ":"Overlay effect","6/dCYd":"Overview","uCmOnS":"P.S. You can always switch these settings later","fvaOtb":"Page setup","Kx2GmY":"Page setup...","QbrUIo":"Page views","wRR604":"Pages","Busfa3":"Paint palette emoji","hUOhvE":"Pale Green","15J9XL":"Panel discussion on sustainability practices in the fashion industry","m2tQ9E":"Paragraphs","Bgytaf":"Parallelogram","7Lrnj6":"party","dfWSwG":"Party emoji","8ZsakT":"Password","S04MAD":["Password must be between ",["MIN_PASSWORD_LENGTH"],"-",["MAX_PASSWORD_LENGTH"]," characters"],"cUUVem":"Password must be longer than 8 characters","Cjay54":"Password must have at least one lowercase character","XcEl4D":"Password must have at least one number","EodnCE":"Password must have at least one symbol","+6oZdK":"Password must have at least one uppercase character","U0iwUz":"Password protection","YZNij4":"Password removed successfully","GZ6qi2":"Password required","R10gKk":"Password set successfully","HzVv6g":"Paste","Ilf1mg":"Paste a link, then hit enter","kS5giA":"Paste a link, then hit enter, or search for a page","dX1T6f":"Paste a Loom link here","ORLSr4":"Paste a URL or any source in seconds","DQaTdC":"Path in use by\xa0<0>another page.","2RgEmU":"Pause subscription","4oudPb":"Pause timer","UD7gOq":"Pausing subscription...","XTiWyP":"PDF export","cZblCr":["PDF export (",["GAMMA_PROPER_NOUN"]," branded)"],"1r0gtu":"PDF file","1eslAW":"PDFs","68+2yw":"Peach","ubsult":"Peaches","1wdjme":"People","RBu6h+":"Pepperoni","/roQKz":"Percentage","0Lbaux":"Permanently delete","jwO7L7":"Permission removed","Xpw8aE":"Permission updated","9cDpsw":"Permissions","XtZ1cx":"Permissions and sharing","7MuXko":"Personal","3lctTF":"Personal finance","d0vkkT":"Personal portfolio outline","o8jXBg":"Personal site for a product designer","jziaQY":"Personal site for a software engineer","xwDEn1":"Personal website for a fitness trainer","hiNsAB":"Personal website for a leadership coach offering executive training services","tP4U3O":"Persuasive presentation","Y5QK1F":"Phishing or spam","A6PocU":"photo, professional photography, warm lighting, street photo","j1ao1Y":"Photography","XrkZJq":"Photography portfolio for [name]","DoOURD":"Photography portfolio presentation for [name]","k16iQH":["Photos from <0>",["UNSPLASH_PROPER_NOUN"],""],"rbDrRg":"Photos from <0>Lexica AI","tVJ1RK":"Photos with descriptions","hhny00":"Physics of sound teaching","cQGp8b":"Pick a theme","QHMELb":"Picture emoji","RT6aCN":"Pie","5+y+OQ":"Pie chart","NOzvim":"Pitch deck for [company]","t/ny5a":"Pitch deck for a new social media platform","J6sCsQ":"Pitch deck for a startup that makes organic dog food","3a27VZ":"Pixel Art","XbvKCP":"Pizza type","hx1ePY":"Placeholder","yCc/Nz":"Plain import","ByFtyh":"Plan changed.","/tZd0D":"Plan includes:","X6QSeV":"Plans and pricing","lrKTd0":"Play a podcast, song, or playlist direct from Spotify","R3XcoA":"Please acknowledge and confirm:","7u3KEm":"Please check back later","PUjJ3A":"Please contact us.","U0dCeS":["Please contact your ",["WORKSPACE_ADMIN_DISPLAY_NAME"]," for a join URL with a valid invite code."],"SuKrYu":"Please double check that it is a valid .otf or .ttf file.","aUB5ST":"Please enter a valid domain name.","jEw0Mr":"Please enter a valid URL","HyVgOT":"Please expand this into multiple paragraphs","YtAPjw":"Please give your font family a name","70o6lh":"Please make this short and concise","KXcsLu":"Please remove or reassign the duplicate font weights and styles in this section","h7+4yF":"Please select a reason","5G+MQW":"Please select a role from the dropdown","qTSTz6":["Please shorten it to less than ",["0"]," tokens."],"XLO6fp":"Please try again later","fuwKpE":"Please try again.","KEZrHg":["Please update your payment details to avoid losing your ",["GAMMA_PROPER_NOUN"]," ",["productName"]," features."],"HAIPtO":"Please use the <0>@ key to recreate the card mention.","rYG2u6":"Please wait...","kR82DG":"Poor suggestion","gL/sdV":"Popular","uQOk0H":"Portfolio presentation for [name]","S/QnQV":"Portfolio website for a freelance writer","3bV9gD":"Portrait","R7+D0/":"Portuguese (Brazil)","26iNma":"Post comment","u+i9HG":"Potrero Hill, San Francisco","f5Hgi3":"Powered by AI.","GwfEs/":"Powerpoint PPT/X (text only)","+vHwcE":"PPT export","ZLSOt4":["PPT export (",["GAMMA_PROPER_NOUN"]," branded)"],"Gop378":"Precise and detailed writing suitable for technical documents, manuals, and guides. Emphasize accuracy and clarity","on9ayD":"Precise: specify the content on each card","cIxGNm":"Premium image models","eZb+lw":"Present","GWjDlt":"Present and export","EPYCou":"Present live or share async for reading. Cards expand to fit your content.","f7USkz":"Present live, or send a webpage","UodEcE":"Present mode","t9Er5O":["Present your ",["GAMMA_ARTIFACT_PROPER_NOUN"]],"nQbhA4":"presentation","FOoDGS":"Presentation","qlwKtq":"Presentation on the history of UFOs for skeptics","M7U1p2":"Presentation proposing a family vacation to Barbados","T+GUKl":"Presenter view","c0sF7y":"Preserve","Jqvt0L":"Press announcement for a medical device that can detect cancer","j6RzX0":"Press Enter or click the submit button to save the URL.","gtWy3j":"Prev/next card","rdUucN":"Preview","aChIoL":"Preview this page","mvmJyu":"Preview with other themes","4jciC3":"Previous card","MHk+7g":"Previous image","VbggDE":"Previous step","9xCxY6":"Previous/next card","/5i2oX":"Previous/next step","aHCEmh":"Pricing","T/R+Qz":"Primary","Udsgl4":"Primary accent color","YXiA6e":"Primary button","LldObG":"Primary school (grades K-6)","e+t/xM":"Print/export PDF","1hKEom":"Priority","k62X/2":"Priority support","LcET2C":"Privacy Policy","zwBp5t":"Private","SuoEIZ":"Private file","1Nr9Bi":"Pro tip","K47k8R":"Product","PpB3wE":"Product launch","xdUU0C":"Product launch plans","pdW8CP":"Product roadmap for [product]","Oojfbh":"Professional","pCuan7":"Professionals in various industries","hBHHtH":"Profile menu","rd7L5e":"Progressive disclosure","W9uQXX":"Prompt","opD9db":"Prompt editor","QmyfID":"Proposal for [service]","6JKZ0b":"Prototyping and testing user interactions for a virtual reality experience","Mgf6fx":"Providing expertise and guidance on improving organizational efficiency and productivity","7d1a0d":"Public","EEYbdt":"Publish","1EeNDU":"Publish site","1bmqGL":"Publish this Gamma as a website with a unique domain","jNnwuI":"Publish this page","2uGo/E":"Publish this site","u+YbyB":"Publish to custom domains","qliBJ3":"Publish to make changes live","sAalO9":"Publish to site...","72pgCR":["Publish your ",["GAMMA_PROPER_NOUN"]," site to a custom domain"],"ZyBxCy":"Publish your site for URL changes to take effect.","u3wRF+":"Published","2yuhT7":"Pull out quotes or text for emphasis","kzd5yt":"Purchase successful","mF9LxA":"Purple","aepNQh":"Put the key points into boxes","gRMoQV":"Put this content into its own card. Good for bigger, self-contained ideas","MYceoI":"Pyramid","CPkQNq":"Pyramid layout (blank)","l1mM+L":"Pyramid with outside text","B52ZvK":"Pyramid with text outside","96Rp0u":"Pyramids and funnels","i+odAu":"Q1","K6Dm4P":"Q2","KHx01x":"Q3","quAHHk":"Q4","VbWX2u":"Quantity","rhEf2n":"Quantum computing lesson plan","2vudsu":"Quarter","bfgr/e":"Question","Ev0Vqt":"Question box","IALRS8":"Quickly <0>rewrite or autocomplete your content","apgGuY":"Radius","aAFalq":"Re-activate subscription in Stripe","E4kJGH":"Reach out to support if this issue persists.","r2ONxg":"reaction added","7ZMg79":"Reactions:","TokqV4":"Read anywhere","uFPBcL":"Realistic","QIUdjp":"Recent pages","uabU9X":"Recently used","AOvC3b":"Recently viewed","t+BtZ2":"Reconnected. Your edits will automatically save.","FK9Qbk":"Record a new video","SPlisu":"Record a video or screen recording","bn0SqF":"Recruiting","30KLDI":"Rectangle","wRTiSD":"Red","H3oH0g":"Redo","KSBmDv":"Refer a friend","crBePY":"Refine your page using AI. You can add cards, find images, reformat content, and more!","HXw3j1":"Refining your text","ILEG4I":"Reformat","/JkXZq":"Reformat while keeping your original content","+tf05m":"Reformatting","C6f2hU":"Refresh page","2b2I/9":"Regenerate outline","xfqlmg":"Regular","HpK/8d":"Reload","cVqf24":"Remembered your password?","t/YqKh":"Remove","alnKae":["Remove \\"Made with ",["GAMMA_PROPER_NOUN"],"\\" badge"],"HlXuQk":["Remove ",["0"]," from workspace?"],"sGYCGx":"Remove accent image","IfZ6hd":"Remove backdrop","ylbfBl":"Remove background","SAXakl":"Remove breaks","MrRUp2":"Remove card","cILfnJ":"Remove file","bj5jMy":"Remove formatting","T/pF0Z":"Remove from favorites","bv+Frh":"Remove from folder","GBe7fh":"Remove from history","HBvein":"Remove from workspace","SDyz5I":"Remove Gamma branding","sShDhp":"Remove image fitting","ZTnXof":"Remove image from upload","6vLq+T":"Remove layout","484LKL":"Remove link","O90CN2":"Remove logo","VlT9ID":"Remove Logo","k8od7T":"Remove photo","rQHMjX":"Removed all card styling","gSQOxD":"Removed breaks from your content","gVcJ1/":"Removing background...","2wxgft":"Rename","NZgZhv":"Rename folder","aBZSpm":"Rename page or edit URL path","Cg4Iup":"Rename...","TwZCUl":["Renews on ",["0"],"."],"bKWhYP":"Rephrase","HUPV+K":"Replace Image","YFcW0s":"Replace thumbnail","ImOQa9":"Reply","yPok8v":"Reply posted.","7sBcV9":"Report submitted","ch68HI":"Report this page","F5g7OG":"Require a password to view","tu0rmw":"Research proposal","OfhWJH":"Reset","6Z0nnS":"Reset crop","5eaf8Z":"Reset formatting","XcX6up":"Reset link sent","RfwZxd":"Reset password","6hU6uw":"Reset styling","xR1+5L":"Reset text size","4EfHvn":"Reset timer","HbpJRz":"Reset to default","L+rMC9":"Reset to default","slOprG":"Reset your password","K0Oq/D":"Restart presentation","yKu/3Y":"Restore","7wfwc0":"Restore it","Z00hdC":"Restore preview defaults","sonTm1":"Restore to this snapshot","o8va6N":"Restored","7ovf4C":"Restored snapshot","XurV8B":"Restyle existing content with a click","imf1iE":"Restyle your entire deck in just <0>one click","bT0M+P":"Resume for an influencer","TvXj47":"Resume subscription now","F6mSJG":"Resume timer","kHm8Fg":"Resume your subscription","eIoGiX":"Resuming subscription...","6gRgw8":"Retry","B+wtoH":"Reveal password","TZml21":"Reverse sort order","I3V2d6":"Reviewing the content","GXsAby":"Revoke","1nrH2R":"Rewrite this for a 5 year old","OxbbYn":"Rewriting","vTKw81":"Right align","GDvlUT":"Role","LeIKtN":"Round","aBxw8F":"Roundness","nji0/X":"Russian","+6IPye":"sad","mUv9U4":"Sales","pzRr22":"Sales (Millions)","8aCwol":"Sales deck for [product name]","8flXsU":"Sales proposal for [company]","CoQWsB":"Sales proposal for a b2b software company","TrGQaZ":"Salmon","tfDRzk":"Save","ryIRYI":["Save ",["0"]," with annual"],"y3aU20":"Save changes","yY7Bil":"Save comment","ryQtQS":"Save crop","EsJdRp":"Save theme","fNzdjk":"Save theme name","UkDQUD":"Say something","M45J06":"Scanning the galaxy for images","EDUylO":"Science fair project guidance","UCxK2S":"Scroll up/down","6r2KAP":"Scroll up/down card","c4AIlM":"Seamless integration, effortless output","A1taO8":"Search","z4/LHW":"Search (Google, Bing, etc.)","L0fOnm":"Search by title, keyword, author name, etc.","QmULXm":"Search for fun animated GIFs","Of4gkp":"Search for images","RdyK6U":"Search for images generated by Lexica AI","tQSDXx":"Search free high-resolution photos and backgrounds","R4lJxt":"Search is only available when you\'re online.","d3xOlk":"Search preview","5WYZKZ":"Search results","NMbF1d":"Search the internet for images","SsmoOZ":"Searching other planets for content","p3y7xB":"Second title","NEXUdn":"Secondary accent colors","UextXv":"Secondary button","AtXGMV":"Secondary school (grades 7-12)","K0UBDD":"See all folders","25VyZX":"See everyone","mgn8Bj":"See how Gamma differs from traditional slide decks, and check out everything it can do.","uNwZAg":["See who\'s viewed your ",["GAMMA_ARTIFACT_PROPER_NOUN"],", and track engagement down to the card level."],"rG3WVm":"Select","wgNoIs":"Select all","vQ3sVj":["Select all of the cards in the film strip <0>",["selectMultipleCommand"],", and then <1>right click to open the menu. Copy the cards. Paste them with <2>",["pasteShortcut"],"."],"K3GOZ1":"Select column","zWdF4l":"Select column<0>Drag to rearrange","rgzUkd":"Select font weight","wnA/4R":"Select gallery","Ud0Jjb":"Select images to upscale and download","YkfVHA":"Select item<0>Drag to rearrange","Szg6OU":"Select layout","rjLlrw":"Select option","9c44h0":"Select row","rNbKca":"Select school type","3xRGMR":"Select table","7aFH7x":"Select the file you\'d like to transform","EmiaJC":"Semi","KVGfPY":"Semi Bold","X9rcHX":"Semi fill","HGsbSz":"Seminar on the future of artificial intelligence in healthcare","jyIlhY":"Seminar on the psychology of decision-making","JlFcis":"Send","J/jxKQ":"Send again","yWNAen":"Send backward","RoafuO":"Send feedback","8+xXUn":"Send password reset link","4k2VbT":"Send request","WMIp7w":"Send to back","1C/Yjq":"Send to trash","6vOwLL":"Senior thesis defense","VPwqDS":"Set an accent image for the card layout.","3eqz61":"Set layout to behind","CrSSie":"Set layout to blank","dL4qXb":"Set layout to left","kVQU97":"Set layout to right","loNm+3":"Set layout to top","w5l5pM":"Set up your domain","JzTAyU":["Set workspace permissions for ",["0"]],"Q3Qdcd":"Sets a minimum card height and aspect ratio. Cards can still grow taller, but guides will appear.","Tz0i8g":"Settings","0dbeO4":"Settings & members","FeDgKA":"Shape size","kALRc9":"Shapes","Z8lGw6":"Share","sit2to":["Share ",["displayName"]],"u5hSeG":"Share feedback","gByYHw":"Share on <0>any device — laptop, tablet, or phone","7xJuPl":"Share online with <0>publishing + analytics","R/SBzz":"Share page...","h8sMnd":"Share preview","IXzWG0":"Share this","wDlQhv":"Share your work","iyga2M":"Share...","0Gd0NU":"Shared","lFZJ+N":["Shared from ",["0"]],"qn35Ez":"Shared from an external workspace","rt/fuz":"Shared with me","lIbchQ":"Shared With Me","i5bpoc":"Sharing will be available when you reconnect.","FMwmiX":"Short bullets, best for a live presentation","CTqTgr":"Shortcuts","owZbal":"Shorten content to be concise and presentable","j3OJ2O":"Should be separated with commas","lZw9AX":"Show all","nTkST4":"Show all nested cards","7VfbQM":"Show card backdrops","1P5SDm":"Show grid","pjF2Hd":"Show icon","tuJCjP":"Show keyboard shortcut","sgzcYD":"Show labels","4ep6pq":"Show last edited time","aPb1AT":"Show line?","kuLK2H":["Show Made with ",["GAMMA_PROPER_NOUN"]," badge"],"PwokTd":"Show markers","VzFYDl":"Show me a quick tour","fMPkxb":"Show more","7wGqZ+":"Show more suggestions","fsyAH8":"Show preview","UqSZMD":"Show setup instructions","ICJTpm":"Show shortcuts","RiLgqi":"Show top-level cards","gH5Gbn":"Shuffle","B8w15Q":"Shuffle theme","5lWFkC":"Sign in","n1ekoW":"Sign In","p7dFyi":"Sign in on desktop at gamma.app","k/HcwJ":["Sign in to be able to <0>access this ",["GAMMA_ARTIFACT_PROPER_NOUN"]," later from your workspace."],"RzFKOQ":"Sign in.","fcWrnU":"Sign out","e+RpCP":"Sign up","oXZVrt":"Sign up for free","p3SJdk":["Sign up to access the ",["GAMMA_ARTIFACT_PROPER_NOUN"]," \\"",["docTitle"],"\\" that ",["invitedByDisplayName"]," shared."],"B6we0c":["Sign up to earn a bonus <0>+ ",["referralBonus"]," AI credits"],"L3SXbi":["Sign up to join ",["0"]," on Gamma"],"VlXlD9":"Sign up to join workspace on Gamma","apxsZF":"Sign up with Google","nvmoB1":"Simplified","Lx/Sd1":"Simplify language","AAhoH1":"Simplifying","8LFaN4":["since <0>",["0"],""],"ebQKK7":"Site","oGP1Fe":"Site archived","HzFHhy":"Site disabled","AAm5jh":"Site enabled","/K2cLG":"Site favicon deleted","64GEyu":"Site favicon updated","XHgRJj":["Site last published <0><1>",["0"]," ago."],"Lve3H6":"Site name","WtsmDd":"Site settings","bZn5Ok":"Site settings updated","gKmuNS":"Site settings...","QHZRmq":"Sites","Cj2Gtd":"Size","6Uau97":"Skip","4Revpc":"Small","qsP5f/":"Small body text","XY2IHD":"Small bullets","AhHG+7":"Small icons with text","LBkaLa":"Small text","uNnHCK":"Smart layouts","bh5RqM":"smile","nB54Mu":"Smooth rounded edges with a soft 3D effect","mWgfWA":"Snap to grid","nRyNMz":"Snapshot restored. You can now edit it.","kT/S2f":"Social media marketing strategies","bgjaGb":"Soft","9Ti2G9":"Soft 3D","B0ni4c":"Software project updates","qR8Qmb":"Software vulnerability analysis","5bi1la":"Solid","bjuYAW":"Solid button","iFeLoB":"Solid Color","Qocai2":"Solid fill","nfjtFu":"Some background options will not be available until you reconnect.","nwtY4N":"Something went wrong","HiX9QN":"Something went wrong \uD83D\uDE15","J/Ajhz":"Something went wrong generating the outline. Please try again","DVB9Jq":"Something went wrong while trying to archive your site. Please try again later.","8wxFbh":"Something went wrong while trying to create your site. Please try again later.","VE0YVl":"Something went wrong while trying to disable your site. Please try again later.","E2sPQM":"Something went wrong while trying to re-enable your site. Please try again later.","y47vGS":"Something went wrong, please try again.","c6YG3V":"Something went wrong. Please try again","fWsBTs":"Something went wrong. Please try again.","pWsyuL":"Something wrong? Contact us...","ppX7+s":"Sorry, I wasn\'t able to do that. You can change the card layout yourself by clicking in the top left corner of the card.","jVQv+Q":"Sorry, I\'m currently at capacity. Check back later and I\'ll be ready to help.","Tnx6na":"Sorry, Loom recording isn\'t supported on this browser","wTrpxV":"Sorry, something went wrong","lIW942":"Sorry, we couldn\'t import this file. Please try again.","R4PZ4k":"Sorry, we couldn\'t publish this site right now. Please try again in a few minutes.","MWOB3g":"Sorry, we couldn\'t reach this URL.","dZyJFB":"Sorry, we couldn\'t reach this URL. If this is a private URL that requires a login, try using the app\'s share function to generate an embed code.","YqH0TR":"Sorry, we couldn\'t recognize this URL.","jpcz2P":"Sorry, we were unable to import from that URL. Please double check the link and try again.","/HgF9q":"Sort by","AXlI0b":["Sounds good! What would you like the ",["0"]," to be about?"],"/oHV5h":"Source content no longer exists","M9dp9c":"Space junk","65A04M":"Spanish","LTgtxG":"Special offer","FZSB2F":"Speech bubble emoji","OoNfwA":"speech-bubble","0LFzg9":"Spin","3Lpas4":"Split card","ONXbeB":"Split card here","SuUA6H":"Split into cards with AI","KyPPwt":"Split into columns","gQIRQv":"Split this into columns","Y0UR8y":"Split this into two columns","0+Fg4H":"Split your content into cards","CObmXw":"Split your content into cards?","P0CwEw":"Splitting your content...","CgmvBu":"Spotlight on/off","1DA6ap":"Square","CFVHFO":"Staircase","DuZtoX":"Staircase layout (blank)","crBPvK":"Staircase with text outside","C7orVc":"Stakeholder meeting notes","TJBHlP":"Standard","Wac3zD":"Standard cards with rounded corners and subtle shadows","VjG5AF":"Standard themes","+whxU3":"Starry eyed emoji","tXkhj/":"Start","17dkjV":"Start from blank","RT9Fre":"Start from this theme","1hsq+f":"Start inspired—every time","tbDuNX":"Start presenting","IJaotC":"Start recording","UBj8RW":"Start timer","6MDj8K":"Start typing...","SGsdhu":["Start using ",["GAMMA_PROPER_NOUN"]," ",["productName"]],"gdEwT8":["Start using folders to organize your ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"],". <0/>Your workspace\'s folders will appear here."],"uNQt6P":"Starting the spaceship engine","nH8BJ4":"Stat","4yv77g":"Statement of work for a building contractor working on Willie Wonka\'s factory","29Hx9U":"Stats","v2fVzA":"Stats layout (blank)","FLUIeq":"Stay here","7ovDY1":["Step ",["0"]," / 2"],"6xmZsQ":"Stepped pyramid with text","OxTZir":"Stepped pyramid with text outside","A9onc2":"Steps","5JWVnj":"Stop following","QxM8i/":"Stop generating","YeK6T+":"Stop generating?","ke6b8l":"Strategy deck for [company]","raFuzm":"Street art","WhOsNE":"Strikethrough","a0qEkS":"Student","b3NRze":"Student learning assessments","1CalO6":"Style","TXeQBY":"Style settings","H8b4pf":"Style...","hQRttt":"Submit","1m41/U":"Submit feedback","ovTgfk":"Submit report","K5c1e7":"Subscription cancelled","Wcg6zu":"Subscription cancelled.","+T6DGl":"Subscription pause","eeITvj":"Subscription paused.","diOgYK":"Subscription resumed","xjeLYy":"Subtle","zzDlyQ":"Success","Vv+D/T":"Success box","oMgC5V":"Success!","dHhDGG":["Success! Domain ",["0"]," has been transferred to this site."],"3TqbhV":"Success! Thank you for your purchase.","ZYAPMn":["Success! Your ",["GAMMA_ARTIFACT_PROPER_NOUN"]," was renamed to ",["0"]],"w+hpl4":["Successfully deleted ",["name"]," from workspace"],"P2ieni":["Successfully updated ",["0"]],"YePdJg":"Suggest a more compelling framing","8nKskd":"Suggest a more engaging way to say this","ugneAh":"Suggest a professional theme","laUyeH":"Suggest images","PHyjBQ":"Suggest some images","p2oHY3":"Suggest some images for this text","nyQWMb":"Suggested","YledUl":"Suggestion","aRUmvo":"Summarize as toggles","rivjMe":"Summarize this into toggles for me.","79MurW":"Super round","OVjfHO":"Surprise me","P2mx2L":"Switch plan","Zp2USm":"System colors","9FTolD":"Table of contents","8+4V8D":"Tables","fpcKeD":"Tablet preview","Y2Kk1Q":"Take a short summary or bullets and make it longer automatically","+ZW8bU":"Take long text and make it more concise","ySCSAn":"Take offline","/cFTPs":"Take the editor tour","fDWCEq":"Taking care of business","s07vVU":"Target diagram","lypRAW":"Teacher","KM6m8p":"Team","z0+Ezb":"Team all hands","0LZe9p":"Team or company","x8EWiU":"Team or company name","+kQMBP":"Team photos","bNrMlq":"Tech enthusiasts","wanXT9":"Technical","2mWQKo":"Technical design justification","H8aFPr":"Tell us about yourself","1ULmtx":"Tell us why you\'re reporting this page.","mdLv9o":"Template default theme","iTylMl":"Templates","xowcRf":"Terms of Service","aMJUxG":["Test out present mode. Use the arrow keys <0>",["UP_ARROW_CHAR"]," <1>",["DOWN_ARROW_CHAR"]," <2>",["LEFT_ARROW_CHAR"]," <3>",["RIGHT_ARROW_CHAR"]," to move. Press <4>",["ESC_SHORTCUT"]," to get out of present mode."],"ypSaiK":"Test page","vat9WD":"Tester page","xeiujy":"Text","Bb47jg":"Text & formatting","afp0nb":"Text and image","b7qbjN":"Text boxes","xAk5nC":"Text boxes layout (blank)","MapzEo":"Text color","76ESgh":"Text color...","OuNFIM":"Text content","MCId55":"Texture","SUr44j":"Thai","yOrM5+":"Thank you for your feedback","m02YqD":"Thank you for your feedback. Our team will review this page.","0UrtJi":"Thank you, and we hope you enjoy your Gamma experience","8K1shM":"thanks","nt307x":"Thanks for trying out Gamma! See you next time","SOk0EB":"Thanks for your feedback","d6N994":"Thanks for your feedback.","mcXDDw":"Thanks so much!","uAjg3Y":"That didn’t work","cyhpmD":"That\'s it!","RE8MWx":"The art of storytelling in cinema","you5yT":"The best and worst slang gen Z","fbykc2":"The Big Bang","n0Fn6S":"The content already generated will be saved.","7wiFpy":"The default background color of the card itself. Text colors will adjust automatically to stand out against this background.","SeHn75":["The domain name ",["domainName"]," is already in use in the site \\"",["0"],"\\" (archived)."],"tX38ij":["The domain name ",["domainName"]," is already in use in the site \\"",["0"],"\\"."],"/DOuTv":"The evolution of fashion trends over the decades","dHdJAv":["The first ",["maxCards"]," cards will be generated."],"v5X7dm":"The future of space exploration","0dIaoJ":"The golden gate bridge","znyENI":"The health benefits of bananas","ihDRgi":["The image you uploaded is larger than the maximum allowed dimensions. Please ensure your image is smaller than ",["IMGPROXY_MAX_MEGAPIXELS"]," megapixels (e.g. ",["IMGPROXY_MAX_WIDTH_PIXELS"],"x",["IMGPROXY_MAX_HEIGHT_PIXELS"],") and try again."],"qc/hyW":"The language of flowers","ZSr/Fa":"The length (in tokens)","Vm3y4h":"The link that you followed is no longer valid. Please try resetting your password again.","hVNvhu":"The link that you followed is no longer valid. Please try signing up again.","o2w77T":"The logo appears in the bottom left","lm6ARH":"The logo will appear in the corner of every card in present mode and export.","zzHDn1":"The logo will appear in the top left","UiTWCg":"The magnitude of upscaling.","tMeTk+":"The most beautiful day hikes in the world","sXxsO8":"The most ridiculous moments in NBA history","Zne1Sw":"The number of cards is defined by the sections in your content","ukrE78":"The number of cards that will be generated from your content","pKdwsO":["The number of images to be generated. Must be between 1 and ",["MAX_COUNT"],". Default: ",["DEFAULT_COUNT"],"."],"5H4Pmz":["The number of inference steps to be taken. Higher values can create better results but slow generation and potentially lead to worse results if they are too high. Must be between 1 and ",["MAX_STEPS"],". Default: ",["DEFAULT_STEPS"],"."],"IdcoRx":"The options will be available when you reconnect.","gw6aHP":"The page <0/> has been removed from the site.","3+3zfw":"The science behind effective workout routines for muscle growth","hRcqGm":"The science of habits","xzJ0eW":"The science of sleep","qpRqy5":"The secret life of emojis","tOGRxi":["The site ",["0"]," will be unpublished and disabled."],"tztPjl":"The source material for the generator. It can be rough notes, a structured outline or finished content.","dyXYfJ":"The theme you choose in the Theme tab will control the page background. You can override it by choosing an option above or changing to a different theme.","er0H+j":"The works of emily dickinson","H7DNgO":"The world of plants","FEr96N":"Theme","c8dzFk":"Theme","NE6T/k":["Theme \\"",["0"],"\\" has been saved"],"hY8SRr":["Theme ",["0"]," has been archived"],"DvRoa4":["Theme ",["0"]," has been saved"],"WODDpW":["Theme ",["0"]," has been updated"],"QFw1At":["Theme ",["displayName"]," has been restored"],"uIeorD":"Theme background","J1XRO3":"Theme colors","FhroXy":"Theme swatches","W15e8B":"Theme...","fJ3EbT":"Themes","h+6hB/":"There are no themes matching your filter. Please try changing your filter.","+Q5eww":["There was an error changing the comment status: ",["0"]],"uNQm3r":"There was an error loading the analytics data.","zr0u7y":["There was an error reading \\"",["0"],"\\""],"x9Wysy":["There was an error updating workspace access: ",["0"]],"Wd0ucu":"There was an error updating your domain name. Please try again.","e3mFaa":"There was an error uploading this file. Please delete the file to continue","QcZqsh":"There was an issue generating your image, please try again","lHlzHV":"There’s nothing here yet.","yvnLC0":["These fonts have the same assigned weight (",["0"],") and style (italic). Double check that that\'s correct and remove or reassign any duplicates."],"QiSKej":["These fonts have the same assigned weight (",["0"],") and style (non-italic). Double check that that\'s correct and remove or reassign any duplicates."],"FDel/s":"These settings control the output of the AI generator","CHu+l0":"These settings won\'t take effect until you enable the site.","CfkRlx":"These themes are created by Gamma.","V8L7Rw":"These themes are custom to your workspace.","4BKB+B":"They don\'t need a Gamma account to view this \uD83D\uDC4D.","mpH/rI":"They will adapt to your screen and are responsive","JwqAmu":"Thick","kOx9y9":"Thick stroke","RGjFMI":"Thin","jlw6Pf":"Thin stroke","XNkIFY":"Things might be a bit slow right now.","WJQPVw":"Think of this as your theme library. Our default themes come with a set of accent images to fill space/beautify a wordy slide. This image on the top is an accent image","AUV+TY":"Thinking","7zSo6p":"Third title","A2xcFn":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," has been added to ",["0"]],"i3Wq9L":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," has been moved to the trash."],"sOg7tZ":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," has been permanently deleted."],"qsnpV6":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," has been removed from the folder."],"FRsVHP":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is already in this folder."],"3yNlmN":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is editable and shareable by everyone at ",["org"],"."],"tNOSZi":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is editable by anyone with the link."],"IAzUDH":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is editable by anyone with the password."],"FFdz7p":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is editable by everyone at ",["org"],"."],"OS9x6e":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is managed by another workspace."],"IB6oAl":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is only shared with specific users."],"IZiYjM":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is private."],"NMHF69":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is publicly viewable."],"i7yZxh":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is using an archived theme."],"FUtIA5":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is viewable and commentable by anyone with the link."],"ZVsBuN":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is viewable and commentable by anyone with the password."],"acq2w5":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is viewable and commentable by everyone at ",["org"],"."],"Pb5t/X":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is viewable by anyone with the link."],"s1I4TC":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is viewable by anyone with the password."],"S+losC":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," is viewable by everyone at ",["org"],"."],"DTim6X":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," restored to ",["0"]],"paaewf":["This ",["GAMMA_ARTIFACT_PROPER_NOUN"]," will not appear in your workspace, but anyone with the link can view."],"U99rVM":"This action cannot be undone","2xOCJW":"This action cannot be undone.","HOoZAi":"This can take up to a minute","s+PDNe":"This card has not been seen","rayOuP":"This card will not be generated.","uHTxZb":"This chart works better with more than one row","qJHyoI":"This controls the types of blocks and layouts the AI will use","+BCNmx":"This could be 1 solid color or, a gradient","MK3IAS":"This could be an image, color or gradient that will appear behind all the cards on your page.","YEfcBv":"This exceeds the token limit","IkJ0gO":"This folder will be permanently deleted for all users.","FZBl16":"This font family has been deleted. If you switch to a different font and save, you won’t be able to switch back without re-uploading this font.","S89SGJ":"This font family is empty","Ma/VgR":"This helps us craft better experiences.","GymiXM":"This image failed to upload. Please try uploading again.","MEDU34":"This image is uploading. Don\'t close this window until the upload is complete.","D9R1mI":"This information will show when the display is set to Preview, or on hover when it\'s set to Link.","rpHTpL":["This invitation is not valid for ",["email"],"."],"VSc47y":"This invitation is not valid.","gl2tWP":"This is a callout box. Its default color will be your primary accent color, but don\'t worry, you can change it.","3oLbUi":"This is a heading","c6yFkJ":"This is a paid workspace. Adding members to your workspace will also add them to your Pro subscription.","ds7c6j":"This is a quick tour to show you how to use Gamma.","lFVlOE":"This is a smart layout: it acts as a text box.","T7o4Fy":"This is a text box smart layout","U4UA65":"This is a theme preview","lqIrvi":"This is a title","M8zam+":"This is also a heading","lDlPOd":"This is body text. You can change your fonts, colors and images later in the theme editor. You can also create your own custom branded theme.","dEm7xp":"This is body text. You can change your fonts, colors and images later in the theme editor. You can also create your own custom branded theme. What\'s more, you can create multiple themes and switch between them at any time.","vMANwD":"This is taking a while. You can keep waiting, or close this and we\'ll email it to you.","kRbQ8p":"This is the description of the image. You can click into it and edit it. You can also add more text below.","DsYRIO":"This is the first point of a timeline","519v/x":"This is the last card.","HJo72u":"This is the latest snapshot","eHS/j7":"This is why we call them \\"smart layouts\\"","gdzgeC":"This is your prompt history. Each time you hit generate we\'ll store a copy of your prompt","wFCbbC":"This is your site\'s home page","asiJbp":"This link contains a special token that acts like a password.","0bSVwO":"This page has not been published yet","cFW7WD":"This page has unpublished changes","CDva2g":"This page is out of date with the server. To continue editing, you\'ll need to reload this page.","aUSC+t":"This prompt was blocked","UiRApc":"This prompt was blocked because it could generate inappropriate content.","gHG6wD":"This prompt was blocked because it could generate sexual imagery.","x40BeZ":"This prompt was blocked because it could generate violent imagery.","gmwDJx":"This should only take a moment","VAyYv6":"This site has been archived. Please reach out to Gamma support.","hw1fjn":"This slug is in use by another page. Please pick a different one.","8vB0op":["This theme will be the default for all ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," created in this workspace"],"yByRxz":"This week","mGTUJj":"This weight isn\'t available for this font family. Please switch to a supported weight.","KFmni+":"This weight no longer exists in this font family. You can upload font files for it, or choose a different one.","xArlW8":["This will add another user to your subscription at <0>",["0"]," per month, billed annually."],"cs6BKJ":["This will add another user to your subscription at <0>",["0"],", billed monthly."],"0AZNtw":"This will be added at the top of the tag","Ldbn2K":"This will extract the text from the webpage you enter.","PXwF+s":"This will just take a second.","J4c0Rh":"This will overwrite your current draft","3tQQ39":"Three column with headings","YmAqYT":"Three columns","8rXNIl":"thumbs up","zyUxcw":"TikTok","XyvAeS":"Time spent","cklVjM":"Timeline","jJ1FpU":"Timeline layout (blank)","6RfNWb":"Tip: click \\"Generate\\" to auto generate a prompt based on your card\'s content.","ygs5tU":"Tip: Click and hold to drag it in.","fg3FfA":"Tip: Click and hold to drag these in.","EApNIe":"Tip: people can also follow you anytime by clicking on your avatar","f+RG11":"Tip: text transform mode on desktop supports imports and longer prompts","Szh0Dy":"Tip: text transform mode supports imports and longer prompts","J87/8N":"Tip: try this setting if pages aren\'t loading. It works best with static web pages, not interactive apps.","jpA4hO":"Tip: you can add them again by typing ---","7TtsoC":"Tip: You can also drag in images","x4Ts51":"Tip: You can also drag or paste images anywhere in a card","RPwTMJ":"Tip: you can also drag or paste images directly into a card","KoiAlx":["Tip: you can also select all the cards using <0>",["selectAllShortcut"],", copy them <1>",["copyShortcut"],", and paste them into the new site <2>",["pasteShortcut"],"."],"k0ByBj":["Tip: you can change the theme of your ",["GAMMA_ARTIFACT_PROPER_NOUN"]," anytime"],"8LhjM/":"Tip: you can control card sizing and backdrops in <0>page setup.","lefgeh":"Tip: You can customize fonts and colors later.","YbORTh":"Tip: you can drag to rearrange these cards","iNK4IK":"Tip: You can enter your own topic, or use one of our suggestions to get started quickly.","3SXj0j":["Tip: You can open this anywhere by pressing <0>",["0"],""],"x4f8pZ":"Tips","O70dt2":"Tips for uploading font families","MHrjPM":"Title","5U/oBM":"Title card","Sox496":"Title font","bTzMt5":"Title not provided","jzSy62":"Title with bullets","ciw/iY":"Title with bullets and image","pHlHvu":["To continue signing up, click the link that we emailed to <0>",["email"],"."],"rp/zfh":"To continue, enter the password.","0vjvTw":"To get started, give your workspace a name.","Znuvj3":["To help authors understand how people engage with their work, ",["GAMMA_PROPER_NOUN"]," shares your relative (not actual) time spent across cards. Request \\"Full Access\\" from the creator to view aggregate analytics for this ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"wj1Zq8":"To search for a different term, try using Unsplash or Giphy.","nLnWxg":"To the right, this is what we call an accent image. We have a set of them with our default themes, but you can change them!","qcPeK2":"To view these notes while presenting, select Presenter view from the dropdown.","M+qBZP":"To-do","ecUA8p":"Today","rCIbrq":"Todo list","JFciKP":"Toggle","UILhO0":"Toggle grid","knMf50":"Toggle header","g/+TNk":"Toggle pages panel","tniYMG":"Toggle password visibility","Xon9jp":"Toggle spotlight","uAQyzk":"Tone","valYIJ":"Tone keywords","Nom9QG":"Top navbar","7tWL7D":["Topics the ",["0"]," should include:"],"6wAxN7":"Track engagement with <0>built-in, advanced analytics","vTZxnA":"Transfer domain to this site","hqplvI":"Transfer domain?","Ci8I/9":"Transform list","5c5WYH":"Transform or enhance existing docs and presentations","jZBpoi":"Transform with AI (text only)","OXOTHU":"Transparency","OwHyNe":"Transparent cards with a frosted glass effect","GQ3O42":"Trash","fezME2":"Trial extended.","SyzXYh":"Trial extension","ucHvJP":"Triangle","gyYxFM":"Try a different layout","Xp43Ei":"Try adjusting your input and try again.","KDw4GX":"Try again","iB9OEi":"Try changing the filters.","y1jRzK":["Try changing your filters, or <0>view all ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"],"."],"cZOpR0":["Try changing your search query, or <0>create a new folder called \\"",["channelName"],"\\"."],"kXnLEt":"Try changing your search query.","XjMylT":"Try for free","1EnCBM":"Try Gamma for free","9JlCFS":["Try opening this page on your computer for the full ",["GAMMA_PROPER_NOUN"]," experience."],"9QTtU0":"Try refreshing the page","fdElib":"Try the slash menu","Kz91g/":"Turkish","hWesxP":"Turn bullet points into cards","X3TlS6":"Turn on animations for present mode and read-only viewers accessing your gamma.","5JvE0U":"Turn on link sharing to be able to set password","CxvNve":"Turn text into a table","rhfAX6":"Turn this into a collapsible section. Highlight key points and hide details","YZJ7kT":"Turn this into a haiku","rU0fs4":"Turn this into a table","4ReFRy":"Turn this into a timeline","0864Ii":["Turn your ",["GAMMA_ARTIFACT_PROPER_NOUN"]," into a website, in seconds"],"dapHcS":"Turn your Gamma into a live website with <0>multiple pages and <1>fast performance. Publish to a free <2>gamma.site domain, or your own custom domain.","0F2sI+":"Twitter","/ESRO3":"Two column with headings","2abZdy":"Two column with image","uVQ8y8":"Two columns","ovs7iP":"Two sided","+zy2Nq":"Type","c3ugvF":"Type <0>--- for card breaks","RTIp5N":["Type <0>",["SLASH_CHAR"]," in a card to browse and insert content blocks, just like Notion or Confluence."],"HGRFT/":"Type <0>/ for blocks","UfUEJ5":["Type <0>/ for blocks or <1>",["AUTOCOMPLETE_INPUT_SHORTCUT"]," to continue with AI"],"ZZypmp":"Type a topic in any language","xafDnF":"Type or paste in content here","HbR60U":"Uh oh.","Vxg5vO":"Uh-oh, we couldn\'t charge your card","CF7q4i":["Unable to update workspace role for ",["0"]," (",["1"],")"],"eETcUn":["Unable to update workspace role for ",["emailWithName"]],"JwKhV7":"Uncovering the mysteries of ancient civilizations","H13RWO":"Undergraduate and graduate students in college","YyXtnN":"Underline","fLq3m1":"Underline all the nouns","9uI/rE":"Undo","U7nnQt":"Unexpected Error","E4mitS":"Ungroup","mSEibf":"Unique viewers (last 30 days)","aaiIlJ":["Unique viewers as defined by IP address, who viewed this since it was created on ",["docCreatedDate"],"."],"DEb9mB":"University and higher education","rtir7c":"unknown","b7jHrl":"unknown link","0k1jtM":["Unlimited ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," and users"],"lgBuJ/":"Unlimited AI usage","xIOigZ":["Unlock more AI, remove ",["GAMMA_PROPER_NOUN"]," branding for exports, and more"],"gGlaFH":["Unlock unlimited AI and remove ",["GAMMA_PROPER_NOUN"]," branding"],"mVKYtH":"Unlock unlimited change history.","sCTlv5":"Unsaved changes","C51N+0":"until","wja8aL":"Untitled","7ZviFu":["Untitled ",["GAMMA_ARTIFACT_PROPER_NOUN"]],"gLDJuJ":"Untitled card","yT14LZ":"Untitled font family","kveQAJ":"Untitled page","rzKWuu":"Untitled theme","EkH9pt":"Update","WLvqZR":"Update billing","tQilrI":"Update card","TG5c7I":"Update your whole site (default)","E1dtM3":["Updated ",["0"]," ago"],"kwkhPe":"Upgrade","it0Uj0":"Upgrade successful","mpbrVv":["Upgrade to ",["GAMMA_PRO_PROPER_NOUN"]],"pDhZ5t":["Upgrade to ",["name"]],"q32zjK":["Upgrade to ",["PRO_PROPER_NOUN"]," for unlimited AI"],"LfXR/E":["Upgrade to ",["productDisplay"]],"2Ow80C":["Upgrade to ",["proPlanName"]],"PYTBm5":["Upgrade to access ",["paywallCount"]," additional snapshots."],"W8sobv":["Upgrade to generate up to ",["MAX_CARDS_PRO"]," cards."],"cl2O0R":"Upgrade to Pro for unlimited credits.","kaOsNu":["Upgrade to Pro for up to ",["0"]," tokens."],"c4NYWT":["Upgrade to Pro for up to ",["MAX_CARDS_PRO"]," cards."],"6/00Zu":["Upgrade to Pro to generate up to ",["MAX_CARDS_PRO"]," cards."],"m6aLo0":"Upgrade to publish to custom domains","mj68q/":"Upgrade to re-activate your subscription.","GYgPBy":"Upgrade to unlock analytics for all individual viewers and collaborators","qAWquf":"Upgrade your workspace","ONWvwQ":"Upload","ifTGl2":"Upload a favicon to display in the browser tab. We recommend a square image that\'s at least 128x128px.","RNxrCU":"Upload a file","O7HGjV":"Upload font family","vNYIdl":"Upload fonts","6MxxvO":"Upload image","wPTug2":"Upload new photo","CL3g9B":"Upload your logo and we will place it automatically in the best location.","syCKVA":"Uploaded fonts","6Qkuf9":"Uploading file...","VDqPUf":"Upon reactivation, you\'ll be charged at your original rate of","RrvVAn":"Upon reactivation, you\'ll be charged at your usual rate.","fVR7qN":"Uppercased","DN9OsQ":"Upscale and Download","8JP4mI":"Upscale Factor","yT2JRA":"Upscale Factor: 2","IagCbF":"URL","BVYvMa":"URL copied","h5GS+N":"URL copied.","D89ve+":"URL or embed code","dq8+qI":"URL path","znkJXY":"Use a <0>flexible template to work faster","y3x+dr":"Use our AI generator to quickly create a first draft of your presentation, document, or webpage.","QNtP5M":"Use template","EabR2e":"Use the filmstrip to easily navigate between cards, or drag to reorder cards. Right click to add a new card, duplicate, and more.","Zz/1wq":"Use the most relevant images, even if licensing is unknown.","2QJhbq":["Use this snippet to embed your ",["GAMMA_ARTIFACT_PROPER_NOUN"]," on any website."],"p6eI8J":"Use this template","APYlHx":"Use this to insert content into your page. You can add text, images, layouts, videos, and more.","QASHwu":"UX design case study","hLoXl/":"UX design portfolio for [name]","wMHvYH":"Value","rPpJGr":"Vaporwave","nhrYIN":"Vegetarian","z5TX2d":"Venn diagram","bl9677":"Verifying","6Z5x06":"Version history...","o2PvSp":"Vertical timeline (one-sided)","o6dKT5":"Vertical timeline (two sided)","vSJd18":"Video","x/8TGJ":"Video camera emoji","0+gRao":"Video or audio URL","RKuImK":"Videos","86kBVB":"Videos & media","jpctdh":"View","Ya6CJ0":"view access","YaUqUV":"View analytics","WklWxF":"View live page","OHFiKG":"View live site","4m3nxQ":"View more","nqt+Fj":"View notes","ACelDx":"View notes while presenting","y7e9aS":"View plans","Zel0o2":"View site","7U0bM7":"View source prompt","pC3anp":["View the source prompt used to generate this ",["GAMMA_ARTIFACT_PROPER_NOUN"]],"43JI0J":["View this ",["GAMMA_ARTIFACT_PROPER_NOUN"]," as a doc"],"rK6Cev":["View this ",["GAMMA_ARTIFACT_PROPER_NOUN"]," as a presentation"],"vXtpAZ":"Viewed","YJOrjl":["Viewed ",["cardsViewed"],"/",["totalCards"]," cards across all sessions."],"r/tA4Y":["Viewers only (",["viewersOnly"],")"],"M1Uyl1":"Vimeo videos","fOj0+R":"Visit link","kcKqQj":"Visit live page","d3n/st":"Visual style","6n7jtr":"Visualize","Oh+9k8":"Visualize as timeline","tnyFbI":"Visualize data with stunning <0>charts, diagrams, and tables","n+v3I1":"Visualize key points","bXgpVx":"Visualize the key points","hMtOFm":"Visualizing","/BjVEU":"Waiting for DNS changes to propagate. This is usually quick but can take up to 24 hours.","ntWFEH":"Want a quick tour of the editor?","iL2TQ6":"Want access?","0TJN6B":"Want more credits?","eoDgVo":"Want to edit this?","fkHPZu":"Want to edit this? It\'s in the trash.","N507Ry":"Warming up the warp drive","r6y+jM":"Warning","xb1fsI":"Warning box","owjSLs":"wave","s/fQ3s":"We appreciate your help in making Gamma better.","gosJne":["We couldn\'t process your Gamma ",["productName"]," payment."],"yLG7qf":"We don\'t support longer outputs yet.","Rh1Dte":"We had a problem sending your reset password link. Please try again later","JhOQAi":"We had trouble loading the templates. Please try again later.","iKtv2V":"We plan to have it back soon.","nkuKRd":"We read every answer...","P083h3":["We sent a password reset link to <0>",["email"]," if you have an existing account. Check your email and click the link to reset your password."],"9sEdx4":"We use this information to create more relevant features and templates","bZlLF8":"We were unable to generate your document.","QdgXJv":"We were unable to process your payment information.","arCM97":"We\'d love to learn more about you so we can better tailor our product and prioritize new features.","rvbk/4":"We\'re experiencing heavy load.","kVzbm6":["We\'re relying on large language models, which have limitations. If you need an exact match, you can use plain import or paste text directly into a ",["GAMMA_ARTIFACT_PROPER_NOUN"],"."],"DhHX6G":"We\'re so happy you\'re still here","u4Djqb":"We\'re sorry we couldn\'t load the template. Please try again later.","cCl6WD":"We\'re sorry, our AI service may be slow or unavailable. We’re investigating. Please check back later.","XIUKDF":"We\'ve avoided PowerPoint decks at all costs at our agency, but Gamma offered us a <0>fresh alternative that we love to share with potential clients. Polished and adaptable. We love it!","jO28tJ":["We\'ve detected that you are visiting from a nonstandard browser. Please open ",["GAMMA_PROPER_NOUN"]," in Chrome or Safari to sign in."],"9iyJp1":["We\'ve detected that you are visiting from a nonstandard browser. Please open ",["GAMMA_PROPER_NOUN"]," in Chrome or Safari to sign up."],"lAlv46":"We\'ve tried a number of times to charge your card on file. We\'d hate to lose you!","coorYU":"Web image search","1NdXQ6":"webpage","8FOKyw":"Webpage embed","/hLjBB":"Webpage or app","qc8yx0":"Webpages","On0aF2":"Website","FOQX2r":"Website for a virtual event planning company","2hR0MY":"Website for handmade jewelry","SmWcKR":"Website name not provided","1J9wMe":"Websites","2xMidw":"Websites that don\'t stress you out, in seconds","ToE1YL":"Weekly calendar","DbYuFS":["Welcome to ",["GAMMA_PROPER_NOUN"]],"+QZ4e/":"Welcome to the editor!","5fucMx":"Welcome to the party","IiwaCT":["Welcome to your first ",["GAMMA_ARTIFACT_PROPER_NOUN"]],"467HY8":"What could be improved?","fcbm8H":"What could we have done better?","jSMGRN":"What is quantum physics?","Dm0E/i":"What is the origin of language","SYYw/x":"What kind of work do you do?","oNyQYO":"What type of issue are you reporting?","yMWCRe":"What would you like to create today?","SjATqV":"What would you like to create with this content?","ETAPks":"What would you like to do with this content?","PbLEFQ":["What\'s new in ",["GAMMA_PROPER_NOUN"]],"A9Yw25":"When billed annually","1osTfm":["When you move a ",["GAMMA_ARTIFACT_PROPER_NOUN"]," into a site, keep in mind that everyone in your workspace will have <0>full access to it."],"B+ClFT":"Which of the following best describes your role?","kjbPb3":["Which website do you want to move this ",["GAMMA_ARTIFACT_PROPER_NOUN"]," to?"],"sfF/QL":"While I get started, choose a theme.","jMrUjv":"While we work on this feature, you can manually <0>copy and paste cards between sites to achieve the same result.","5Ex+AP":"White","rGj3KB":"White Smoke","lklIf1":"Wide content","Ofm9ns":"Will be deleted","xFELnF":["With ",["GAMMA_PRO_PROPER_NOUN"],", you can publish to a custom domain, remove the \\"Made with ",["GAMMA_PROPER_NOUN"],"\\" badge from your site, and unlock unlimited AI."],"g8oIJP":"Word docs","RQqcwV":"Working on it","kqDU4e":"Workshop on effective communication skills for managers","sRLpel":"Workshop on stress management techniques for college students","v5MTZF":"Workspace default theme","8aiTeQ":"Workspace defaults","Y0Fj4S":"Workspace logo","vfEt3o":"Workspace logo removed.","Rk6T6B":"Workspace logo updated.","wtxjAY":"Workspace members","CozWO1":"Workspace name","EhVOPs":"Workspace not found.","IFCQlQ":["Workspace role for ",["0"]," (",["1"],") updated to Admin"],"gWgob7":["Workspace role for ",["0"]," (",["1"],") updated to Member"],"Knd6gz":"Workspace settings","qX22NW":"Workspace subscription","pmt7u4":"Workspaces","T4+jD7":"Wrap inside","mBJFYh":"Write equations using Katex syntax","CfNFS9":"Write for...","4kJRen":"Writing","R2Ly6h":"Wrong language","UnRHxh":"Wrong number of cards","/Tw548":"year | years","Vfm4qT":"Yes, allow","m4YerB":"Yes, change my role","dfBVKc":"Yes, delete my account","hGWoeF":"Yes, leave workspace","u52q7m":"Yes, overwrite current draft","gNjH/6":"Yes, remove from workspace","goXuxS":"Yes, split for me","HNt16g":"You are about to open a link that takes you outside of gamma.app. Be careful, as we cannot guarantee the safety or accuracy of external sites.","Zfr5aa":["You are currently viewing this ",["GAMMA_ARTIFACT_PROPER_NOUN"]," in presentation mode"],"SQY08b":["You are no longer a member of \\"",["0"],"\\""],"bO6EBT":"You are not charged for errors or clarifications.","/IOSvX":["You are now a member of \\"",["name"],"\\""],"eFx5qm":"You are the only admin in this workspace. Please make at least one other user an admin to delete your account.","wBEZhG":"You can add/remove as many as you want","LVQnRo":"You can also <0>import files","ItAUcI":"You can also paste a URL straight to a podcast episode.","+JxrYy":"You can also type --- to add breaks","MluQ97":["You can always access your archived ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," through <0>your dashboard <1/>."],"kLomb7":"You can always access your archived themes through <0>your dashboard <1/>.","7TUZvz":"You can change the page title and URL path anytime by going to page setup.","8LnpqL":"You can change these settings in the share panel","ArVxtO":"You can choose a solid default color for your text. For headings, you can also choose a gradient color.","ilZo+p":"You can easily add and remove points and we\'ll auto-resize your content","3t7kZ7":"You can edit this outline, or continue as is:","Hqloak":"You can get invoices, update your payment method, and adjust your subscription in Stripe","8jp643":"You can get these by typing /smart","1Ijs7v":["You can get unlimited credits by subscribing to ",["GAMMA_PRO_PROPER_NOUN"],". Alternatively, you can refer others to ",["GAMMA_PROPER_NOUN"]," using your unique referral link, and you\'ll both earn credits when they sign up."],"Eln6mJ":"You can import an image by simply dragging and dropping it from your computer","/eBcp2":"You can join a folder to keep track of what folks are working on","LoR9yH":["You can now access this ",["GAMMA_ARTIFACT_PROPER_NOUN"]," later"],"C11Xkl":["You can now comment on and edit this ",["GAMMA_ARTIFACT_PROPER_NOUN"]],"gu6c+c":["You can now view and add comments on this ",["GAMMA_ARTIFACT_PROPER_NOUN"]],"gsZDsS":"You can paste in the private link, or the full embed code.","xjFrIG":"You can upload <0>.ttf and/or <1>.otf copies of each font style.","eVMeEi":"You can use the theme picker to choose a new theme, or create custom ones.","0UIIIw":["You currently have ",["credits"]," credits."],"x9CdxW":["You do not have access to ",["GAMMA_PROPER_NOUN"],". Ask your workspace administrator to send you a join link"],"mTJ1YV":"You do not have enough credits to generate this deck.","infkkg":"You don\'t have enough credits.","doMS3L":["You don\'t have permission to add a ",["GAMMA_ARTIFACT_PROPER_NOUN"]," from another workspace to a folder."],"81ZRAa":["You don\'t have permission to add this ",["GAMMA_ARTIFACT_PROPER_NOUN"]," to a folder."],"G6PCHK":["You don\'t need to publish to embed, but if you don\'t, anyone you share this ",["GAMMA_ARTIFACT_PROPER_NOUN"]," with will need to be shared on the file to see it."],"nvyKWT":"You have unsaved changes. Do you want to close the theme editor?","Cb+Bgk":"You must be online to edit the title.","PBFhJK":"You must have at least one page in your site","yQeiGC":"You must provide a first or last name.","Z2uNdQ":"You need to have \\"Full Access\\" permission to enable and disable a site.","YqFvUY":"You will be billed at your next subscription renewal period.","fBpU1y":["You will be charged ",["proratedUpgradePrice"]," today for the remaining ",["proratedDays"]," days in your current billing cycle."],"ROlVXx":"You will be charged for an additional seat each time someone joins your workspace using this link.","zHGbOA":"You will be charged for an additional seat for each member who accepts their invitation.","j95nHI":["You will lose access to any ",["GAMMA_ARTIFACT_PROPER_NOUN_PLURAL"]," shared with your account"],"QnF/9z":"You will lose access to this workspace","8vN97Y":"You won\'t be billed again","nm0VaE":"You won\'t be billed until your subscription resumes","cMoaWD":"You\'ll edit and customize it next","15ZVEk":"You\'re all out of credits","Lhlq0w":"You\'re all out of credits.","ek5OwP":["You\'re currently viewing this ",["GAMMA_ARTIFACT_PROPER_NOUN"]," in doc mode"],"DjD/sG":"You\'re editing this card.","PjodLp":"You\'re exploring.","lULvWe":["You\'re following ",["0"],"."],"vtMb7+":"You\'re leaving Gamma","yFvQAN":"You\'re logged in.","HPr8I3":["You\'re not a member of <0>",["0"],"."],"ysdDIA":"You\'re offline","URgIZH":"You\'re running low on credits","dx3Kfr":"You\'ve been invited to comment","MEeXaP":"You\'ve been invited to edit","R2ZEYO":"You\'ve been invited to view","URbt4b":["You\'ve been referred to ",["GAMMA_PROPER_NOUN"]],"tG+Uw3":"You\'ve been signed out.","G971z4":"You\'ve changed site settings","2/LpWt":["Your ",["0"]," has finished generating."],"J8+D9M":["Your ",["addedSeats"]," added seats haven\'t been charged yet. You can still remove users from your workspace to avoid being charged."],"wRvCQ6":["Your ",["formatLabel"]," is being generated."],"RZRM4l":["Your ",["GAMMA_ARTIFACT_PROPER_NOUN"]," will be hidden from these folders until you provide workspace access"],"eJOZN1":"Your accent color will be used for links.","xy3nnP":"Your account balance","dJCJXA":"Your account data is being kept safe for when your subscription resumes.","VecMQF":"Your account has been deleted","sG4820":"Your account:","NUTivS":"Your audience will <0>pay more attention and stay engaged with your content.","enJ/4m":"Your card export is ready","V6Byuz":"Your changes have been published.","+QNhGE":"Your changes will sync when you reconnect.","V/2EPI":"Your changes won\'t be saved until you\'re reconnected.","Ys0XoA":"Your changes won\'t go live until you publish","mWVxkj":"Your content is too long to generate.","265FwR":"Your content is too long.","fWPCNB":["Your data has been truncated to fit into ",["CHART_MAX_COLS"]," columns."],"ApWHNy":["Your data has been truncated to fit into ",["CHART_MAX_ROWS"]," rows."],"p8Oc6N":"Your domain was successfully configured!","pK8dQg":"Your export is ready","cSUBI1":"Your feedback","+Rq0s/":"Your feedback has been sent to the team","THJAvC":["Your Gamma ",["productName"]," subscription is ending soon."],"5nhH6A":"Your Gamma subscription has ended.","Pf5z1G":"Your new plan is now in effect","/Ka6eY":["Your next billing cycle will reflect the price of ",["productDisplay"],"."],"HpXCa4":"your next renewal","Ubf8D8":"Your page will only appear in search if you share the link somewhere publicly visible (e.g. social media, or another website), and when search engines index it.","a+l/oL":"Your password has been updated successfully","v6cuzy":"Your password should be 8+ characters and contain a mix of letters, symbols, and numbers.","2gZOCV":"Your rating has been submitted","yvKMb+":"Your recent prompts","sqh0jP":"Your site has been archived.","u8Rqhk":"Your site is currently disabled","MuDTSp":"Your site is live","tpB6bH":"Your site is ready to publish","uxwzHm":["Your subscription expired on ",["0"],". Click here to re-activate it."],"mqRc6d":"Your subscription will be paused beginning","gfz9Jx":"Your subscription will be updated to reflect this change when they accept the invitation and prorated to the end of the current billing cycle.","BS/SGu":"Your subscription will end on","SoEbnk":["Your subscription will expire on ",["0"],". Click here to re-activate it."],"qOe0SS":"Your subscription will resume on","s5pINo":"Your trial ends on","QE4mUs":"Your trial has been extended successfully","VxWwaW":["Your work was last synced ",["0"]," ago."],"PN1FMY":"Your workspace doesn\'t have any folders yet.","PiZFRu":["Your workspace is currently subscribed to the ",["0"]," plan, set to renew on ",["1"],"."],"UlpssT":["Your workspace subscription to the ",["0"]," plan expired on ",["1"],"."],"zLRonN":["Your workspace subscription to the ",["0"]," plan expires on ",["1"],"."],"dFEw4P":"Your workspaces:","9Q6UKX":"YouTube","D1Tqqj":"YouTube video","7J5KkU":"YouTube videos","MfwlJs":"Zodiac signs","ACjxWW":"Zoom","GpbSs9":"Zoom in","AWOSPo":"Zoom in","FjkaiT":"Zoom out","41NrIs":"Zoom to 100%","pLI1Is":"Zoom to fit","1eH/UF":"Zoom to selection"}')}},76919:function(e,t,n){"use strict";n.d(t,{v:function(){return l}});class l{on(e,t){return this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t),()=>{let n=this.listeners[e].indexOf(t);n>-1&&this.listeners[e].splice(n,1)}}off(e,t){if("function"==typeof t){let n=this.listeners[e].indexOf(t);n>-1&&this.listeners[e].splice(n,1)}else this.listeners[e]=[]}emit(e,t){let n=this.listeners[e]||[];n.forEach(e=>e(t)),this.piped.forEach(n=>{n.emit(e,t)})}pipe(e){return this.piped.push(e),()=>{let t=this.piped.indexOf(e);t>-1&&this.piped.splice(t,1)}}constructor(){this.listeners={},this.piped=[]}}},75320:function(e,t,n){"use strict";n.d(t,{h:function(){return d}});var l=n(30733),a=n.n(l),o=n(2784);class i{observe(e,t){this.observer?(this.observer.observe(e),this.observedElements.set(e,t)):t(s)}unobserve(e){this.observer&&(this.observer.unobserve(e),this.observedElements.delete(e),this.nextTickCallbacks.delete(e))}handleResize(e){let t=!1;for(let n of e){let e=this.observedElements.get(n.target);e&&(t=!0,this.nextTickCallbacks.set(n.target,()=>{e(n.contentRect)}))}t&&this.queueProcess()}queueProcess(){this.frameId&&(cancelAnimationFrame(this.frameId),this.frameId=null),this.frameId=requestAnimationFrame(()=>{for(let e of this.nextTickCallbacks.values())e();this.frameId=null})}constructor(){this.observedElements=new Map,this.nextTickCallbacks=new Map,this.frameId=null,this.observer=null,"undefined"!=typeof ResizeObserver&&(this.observer=new ResizeObserver(e=>this.handleResize(e)))}}let r=a()(()=>new i),s={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function d(e){let t=(0,o.useRef)(null),[{width:n,height:l},a]=(0,o.useState)(s);return(0,o.useEffect)(()=>{let e=t.current;return e&&r().observe(e,a),()=>{e&&r().unobserve(e)}},[e]),{ref:t,width:n,height:l}}},96933:function(e,t,n){"use strict";n.d(t,{i:function(){return h}});var l=n(91148),a=n(85642),o=n(2784),i=n(2208),r=n(94523),s=n(54073),d=n.n(s),u=n(30733),c=n.n(u),m=n(76919);class f extends m.v{getBreakpointValue(e){for(let[e,t]of Object.entries(this.values))if(t)return e;return e||""}compute(){for(let{breakpoint:e,query:t}of this.breakpoints)this.values[e]=window.matchMedia(t).matches}constructor(){super(),this.values={};let e=(0,i.y)(r.qZ.breakpoints);if(!e)return;this.breakpoints=e.details.map(e=>{let{minMaxQuery:t,breakpoint:n}=e;return{breakpoint:n,query:t.replace("@media screen and ","")}}),this.breakpoints.forEach(e=>{let{breakpoint:t}=e;this.values[t]=!1}),this.compute();let t=this.breakpoints.map(e=>{let{query:t}=e;return window.matchMedia(t)}),n=e=>{let t=this.breakpoints.find(t=>t.query===e.media);t&&(this.values[t.breakpoint]=e.matches,this.emitBreakpoint())};this.emitBreakpoint=d()(()=>{let e=this.getBreakpointValue();e&&this.emit("breakpoint",{val:e})},50,{trailing:!0}),t.forEach(e=>{"function"==typeof e.addListener?e.addListener(n):e.addEventListener("change",n)}),this.unbind=()=>{t.forEach(e=>{"function"==typeof e.removeListener?e.removeListener(n):e.removeEventListener("change",n)})}}}let p=c()(()=>new f);var g=n(90221);function h(e,t){var n;let i=function(){let[e,t]=(0,o.useState)((0,g.s2)()?"sm":"xl");return(0,o.useEffect)(()=>(t(p().getBreakpointValue("base")),p().on("breakpoint",e=>{let{val:n}=e;t(n)})),[]),e}(),r=(0,l.F)();if(t&&(i=t),!i)return;let s=Array.from((null===(n=r.__breakpoints)||void 0===n?void 0:n.keys)||[]),d=Array.isArray(e)?Object.fromEntries(Object.entries((0,a.Yq)(e,s)).map(e=>{let[t,n]=e;return[t,n]})):e,u=function(e,t,n){let l=Object.keys(e).indexOf(t);if(-1!==l)return e[t];let a=n.indexOf(t);for(;a>=0;){let t=n[a];if(e.hasOwnProperty(t)){l=a;break}a-=1}if(-1!==l){let t=n[l];return e[t]}}(d,i,s);return u}},3543:function(e,t,n){"use strict";n.d(t,{B5:function(){return g},BO:function(){return h},DP:function(){return v},DT:function(){return f},Ol:function(){return w},e5:function(){return y},gn:function(){return m},m2:function(){return u},ou:function(){return k},tG:function(){return c},tT:function(){return p},yv:function(){return d}});var l=n(6238),a=n.n(l),o=n(829),i=n.n(o),r=n(98621),s=n.n(r);let d=e=>s()(e).toHsl().l,u=a()((e,t)=>{let n=s()(e).toHsl();return n.l=t,s()(n).toHex8String()}),c=a()((e,t)=>s()(e).lighten(t).toHex8String()),m=a()((e,t)=>s()(e).saturate(t).toHex8String()),f=a()((e,t)=>s()(e).brighten(t).toHex8String()),p=a()((e,t)=>s()(e).setAlpha(t).toHex8String()),g=a()((e,t,n)=>0===n?s()(e).toHex8String():1===n?s()(t).toHex8String():s().mix(e,t,100*n).toHex8String()),h=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4.5;return s().readability(e,t)>=n},b=[0,.15,.3,.4,.6,.7,.85,1],y=a()(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4.5,l=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(h(e,t,n))return e;if(l){let e=s().readability("#FFFFFF",t),n=s().readability("#000000",t);return e>n?"#FFFFFF":"#000000"}let a=d(e),o=i()(b,e=>Math.abs(e-a)).map(t=>u(e,t)),r=o[0],c=0;for(let e of o){let l=s().readability(e,t);if(l>=n)return e;(!c||l>c)&&(r=e,c=l)}return r}),v=a()(e=>s()(e).isDark());function k(e,t,n,l){let a=x(e,t,n,l);a.direction&&a.amount&&e[a.direction](a.amount)}let x=a()(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4.5,l=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=3*a,i=e.clone();if(o>90)return{amount:o,direction:l};switch(l){case"darken":case"lighten":i[l](o);break;default:{let n=i.lighten(3);l=s().readability(n,t)>s().readability(e,t)?"lighten":"darken"}}let r=s().readability(i,t);return r>=n?{amount:o,direction:l}:x(e,t,n,l,a+1)});function w(e,t){let n=e.getBrightness()/2.55;e.brighten(t/2.55-n)}},1787:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var l=n(37164);let a={generate:(0,l.kP)("0123456789abcdefghijklmnopqrstuvwxyz",15)}},46640:function(e,t,n){"use strict";n.d(t,{P9:function(){return u}});var l=n(41033),a=n(56421),o=n(82236),i=n(21668),r=n(31807),s=n(47699),d=n(48832);let u=e=>{try{let t=(0,d.dN)(),n=(0,r.Z)(e),u=(0,s.Z)(n,0);if((0,o.Z)(n)||(0,i.Z)(n))return(0,a.Z)(u,new Date,{locale:t});return"".concat((0,l.Z)(n,"PPp",{locale:t}))}catch(e){return console.error("[normalizeDate] Error normalizing date:",e),"date unknown"}}},80498:function(e,t,n){"use strict";n.d(t,{B:function(){return l}});class l{resolve(e){this._resolveSelf(e)}reject(e){this._rejectSelf(e)}then(e,t){return this.promise.then(e,t)}catch(e){return this.promise.catch(e)}finally(){return this.promise.finally()}constructor(){this.promise=new Promise((function(e,t){this._resolveSelf=e,this._rejectSelf=t}).bind(this))}}},90221:function(e,t,n){"use strict";n.d(t,{MP:function(){return d},i7:function(){return u},s2:function(){return p},f_:function(){return h},l6:function(){return v},G6:function(){return m},ED:function(){return k},Tt:function(){return b}});var l,a=n(6238),o=n.n(a),i=n(46353),r=n.n(i);RegExp("(WebView|(iPhone|iPod|iPad)(?!.*Safari)|Android.*(wv)|Linux; U; Android)","ig");let s=e=>{let t=new Map;return()=>{let n=d.getUA(),l=t.get(n);if(l)return l;let a=e();return t.set(n,a),a}},d=new(r()),u=s(()=>{var e;return!!(null===(e=d.getBrowser().name)||void 0===e?void 0:e.startsWith("Chrome"))}),c=s(()=>{var e;return!!(null===(e=d.getBrowser().name)||void 0===e?void 0:e.startsWith("Chrome Headless"))}),m=()=>"WebKit"===d.getEngine().name;s(()=>m()&&!p()),s(()=>"Edge"===d.getBrowser().name);let f=()=>"Opera Mobi"===d.getBrowser().name&&"Android"===d.getOS().name,p=s(()=>"mobile"===d.getDevice().type||f()),g=()=>"undefined"!=typeof navigator&&!p()&&navigator.userAgent.includes("Mac")&&"ontouchend"in document,h=s(()=>["mobile","tablet"].includes(d.getDevice().type||"")||f()||g());s(()=>["tablet"].includes(d.getDevice().type||"")||g());let b=()=>"undefined"!=typeof navigator&&(["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||g());o()(()=>["fullscreen","standalone","minimal-ui"].some(e=>window.matchMedia("(display-mode: "+e+")").matches));let y=()=>{if("undefined"!=typeof navigator)return navigator.userAgent.startsWith("gamma/")},v=()=>c()||y(),k=null===(l=d.getOS().name)||void 0===l?void 0:l.includes("Windows")},62549:function(e,t,n){"use strict";n.d(t,{Rf:function(){return a}}),n(84636),n(2784);let l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30;return e.length?1===e.length?e[0]:2===e.length?e.join(" and "):e.length<=t?"".concat([e.slice(0,e.length-1).join(", "),e[e.length-1]].join(", and ")):"".concat([e.slice(0,t).join(", "),"".concat(e.length-t," ").concat(e.length-t>1?"others":"other")].join(", and ")):null},a=e=>{let{users:t,selfUserId:n}=e,a=t?[...t].sort(e=>(null==e?void 0:e.id)===n?-1:1).map(e=>(null==e?void 0:e.id)===n?"You":(null==e?void 0:e.displayName)||""):[];return l(a)}},60742:function(e,t,n){"use strict";n.d(t,{LY:function(){return s},Lq:function(){return r},N_:function(){return d},Re:function(){return f},cd:function(){return p},mP:function(){return i},qs:function(){return u},tl:function(){return g},u0:function(){return c},wO:function(){return m}});var l=n(12436),a=n.n(l),o=n(90221);let i=()=>window.innerHeight||document.documentElement.clientHeight,r=()=>{let e=a()(e=>{let t=document.documentElement,n=e||"".concat(window.innerHeight,"px");t.style.setProperty("--100vh",n)},500);(0,o.f_)()?(e(),window.addEventListener("resize",()=>e())):e("100vh")},s=(e,t)=>(document.body.contains(e)||console.warn("[getOffsetFromParent] Element is not in the DOM!",e),e.closest(t)&&e.offsetParent)?s(e.offsetParent,t)+e.offsetTop:e.offsetTop,d=e=>{let t=e;for(;t&&0===t.getBoundingClientRect().height&&t.parentElement;)t=t.parentElement;return t},u=e=>{if(!e)return[0,0];{let[t,n]=u(e.parentNode);return[(e.scrollTop||0)+t,(e.scrollLeft||0)+n]}};function c(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3;return Promise.race([new Promise((e,l)=>{setTimeout(()=>{null==t||t.disconnect(),l()},n)}),new Promise(n=>{let l=document.querySelector(e);if(l){n(l);return}(t=new MutationObserver(()=>{let l=document.querySelector(e);l&&(n(l),null==t||t.disconnect())})).observe(document.documentElement,{childList:!0,subtree:!0})})])}let m=e=>{let{element:t,color:n="#ff49c9",duration:l=1500,requiredCookie:a}=e;(!a||document.cookie.includes(a))&&(t.style.outline="dotted 4px ".concat(n),setTimeout(()=>{t.style.outline=""},l))},f=e=>e.nodeType!==Node.TEXT_NODE,p=e=>e instanceof SVGElement||!!(e.offsetParent||e.offsetWidth||e.offsetHeight),g=(e,t,n)=>{let l=e.parentElement;for(;l&&l!==t&&l.parentElement;){if(n(l))return l;l=l.parentElement}return null}},90439:function(e,t,n){"use strict";n.d(t,{Oj:function(){return r},Pv:function(){return i},QX:function(){return o},cx:function(){return a}});var l=n(14274);let a=l.v.GAMMA_PUPPETEER_SERVICE,o=a&&"pptx"===window.format,i=a&&"pdf"===window.format,r=a&&"screenshot"===window.format},81345:function(e,t,n){"use strict";n.d(t,{O7:function(){return i},S9:function(){return s},kO:function(){return r},mD:function(){return u},td:function(){return d}});var l=n(13326),a=n(56974),o=n.n(a);function i(e){return e===l.Z.pdf}function r(e,t){var n,a;return i(e)||(n=e)===l.Z.doc||n===l.Z.docx||"ppt"===(a=(a=t).toLocaleLowerCase())||"pptx"===a}function s(e){return"otf"===(e=e.toLocaleLowerCase())||"ttf"===e}let d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(!+e)return"0 Bytes";let n=t<0?0:t,l=Math.floor(Math.log(e)/Math.log(1024));return"".concat(parseFloat((e/Math.pow(1024,l)).toFixed(n))," ").concat(["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][l])},u=e=>e.name&&o()(e.name.split("."))||""},46637:function(e,t,n){"use strict";n.d(t,{v:function(){return i},e:function(){return o}});let l=[["abstract","abundant","academic","adjacent","adorable","advanced","amazing","anonymous","balanced","beautiful","bold","brave","bright","brilliant","capable","characteristic","cheerful","classical","coastal","colorful","colossal","confident","cool","corresponding","courageous","creative","daily","decisive","delicious","determined","distinguished","diverse","divine","dizzy","dynamic","educational","elated","electronic","elegant","enchanting","energetic","enthusiastic","evolutionary","exceptional","exuberant","famous","fancy","fantastic","fluffy","formidable","friendly","generous","glamorous","great","handsome","happy","hilarious","hungry","imaginative","impressive","incredible","influential","inquisitive","intellectual","intelligent","international","jolly","joyous","keen","kind","known","lexical","linguistic","lively","lovely","lucky","magic","magnetic","magnificent","marvellous","melodic","musical","mysterious","natural","nice","noble","notable","official","olympic","optimistic","original","outstanding","patient","peaceful","personal","philosophical","pleasant","poised","positive","principal","productive","professional","proud","quaint","quick","quintessential","reliable","remarkable","respectable","revolutionary","robust","royal","scientific","sensible","sharp","significant","smiling","sophisticated","sparkling","spectacular","spicy","splendid","sporting","sunny","super","superb","technological","thoughtful","tremendous","tropical","ultimate","universal","useful","valuable","victorious","vital","vivacious","wise","witty","wonderful","zestful","zesty","zippy"],["aardvark","aardwolf","albatross","alligator","alpaca","anaconda","angelfish","ant","anteater","antelope","armadillo","badger","bandicoot","barnacle","barracuda","bass","bat","bear","beaver","bird","bison","blackbird","boar","bobcat","butterfly","camel","cardinal","caribou","cat","caterpillar","cattle","centipede","chameleon","cheetah","chimpanzee","chinchilla","chipmunk","cicada","clam","clownfish","cobra","condor","cougar","cow","coyote","crab","crane","crayfish","cricket","crocodile","deer","dinosaur","dog","dolphin","dove","dragon","dragonfly","duck","eagle","eel","egret","elephant","elk","emu","falcon","ferret","finch","firefly","fish","flamingo","fox","frog","gazelle","gecko","giraffe","goat","goldfish","goose","gopher","gorilla","grasshopper","halibut","hamster","hare","hawk","hedgehog","hippopotamus","horse","hummingbird","iguana","jackal","jaguar","jellyfish","kangaroo","kiwi","koala","ladybug","lemming","lemur","leopard","lion","lizard","llama","lobster","lynx","macaw","mammal","manatee","marlin","marmot","marsupial","mastodon","meerkat","mockingbird","mongoose","monkey","moose","mouse","mule","narwhal","nightingale","ocelot","octopus","orangutan","orca","ostrich","otter","owl","panda","panther","parakeet","parrot","pelican","penguin","platypus","pony","porcupine","porpoise","puffin","puma","python","rabbit","raccoon","rattlesnake","raven","reindeer","rhinoceros","roadrunner","rooster","salamander","salmon","scallop","seahorse","shark","sheep","sloth","snake","sparrow","squid","squirrel","starfish","stingray","stork","swan","swordfish","tiger","toad","tortoise","toucan","trout","tyrannosaurus","unicorn","viper","wallaby","walrus","whale","wildcat","wildebeest","wolf","wolverine","zebra"]],a=["#FFC312","#F79F1F","#EE5A24","#EA2027","#C4E538","#A3CB38","#009432","#006266","#12CBC4","#1289A7","#0652DD","#1B1464","#FDA7DF","#D980FA","#9980FA","#5758BB","#ED4C67","#B53471"],o=e=>l.reduce((t,n)=>{let l=Math.floor(s(e)*n.length),a=n[l]||"",[o,...i]=a.split("");return a=o.toUpperCase()+i.join(""),t?"".concat(t).concat(" ").concat(a):"".concat(a)},""),i=e=>{let t=s(e),n=Math.floor(t*(a.length-1));return a[n]},r=e=>{e|=0;let t=Math.imul((e=e+1831565813|0)^e>>>15,1|e);return(((t=t+Math.imul(t^t>>>7,61|t)^t)^t>>>14)>>>0)/4294967296},s=e=>{let t=e.split("").map((e,t)=>e.charCodeAt(0)*(t+1)).reduce((e,t)=>t+e,0);return r(t)}},66028:function(e,t,n){"use strict";n.d(t,{Gb:function(){return a},UW:function(){return o},Wg:function(){return i},br:function(){return l}});let l=e=>e.preventDefault(),a=e=>e.preventDefault(),o=e=>e.stopPropagation(),i=e=>{e.preventDefault(),e.stopPropagation()}},944:function(e,t,n){"use strict";n.d(t,{rc:function(){return b},Kt:function(){return s},vm:function(){return u},XI:function(){return m},xx:function(){return f},Ux:function(){return h},gF:function(){return v.g},GE:function(){return y},Z_:function(){return d},lz:function(){return k}});var l=n(54073),a=n.n(l),o=n(12436),i=n.n(o),r=n(2784);function s(e,t,n){let[l,o]=(0,r.useState)(()=>a()(e,t,n));return(0,r.useEffect)(()=>{o(()=>a()(e,t,n))},[e,t,n]),l}function d(e,t,n){let[l,a]=(0,r.useState)(()=>i()(e,t,n));return(0,r.useEffect)(()=>{a(()=>i()(e,t,n))},[e,t,n]),l}let u=function(e,t,n){let l=!(arguments.length>3)||void 0===arguments[3]||arguments[3],a=(0,r.useRef)(n||[]),o=a.current===n,i=o&&l||!a.current.every((e,t)=>e===n[t]);a.current=n;let s=t.map(()=>null);return(0,r.useEffect)(i?e:()=>{},i?t:s)};var c=n(90221);function m(){let[e,t]=(0,r.useState)(!1),n=(0,r.useRef)(null),l=()=>t(!0),a=()=>t(!1);return(0,r.useEffect)(()=>{let e=n.current;return e?(e.addEventListener("mouseenter",l),e.addEventListener("mouseleave",a),()=>{e.removeEventListener("mouseenter",l),e.removeEventListener("mouseleave",a)}):()=>{}},[n.current]),[n,e]}let f=e=>{let{enterDelay:t=0,leaveDelay:n=0,disabled:l=(0,c.s2)()||!1}=e,[a,o]=(0,r.useState)(null),i=(0,r.useRef)(null),s=(0,r.useRef)(null),d=(0,r.useRef)(null),u=(0,r.useCallback)(()=>{i.current&&(clearTimeout(i.current),i.current=null),d.current&&clearTimeout(d.current),s.current=window.setTimeout(()=>{o(!0)},t)},[t]),m=(0,r.useCallback)(()=>{s.current&&clearTimeout(s.current),d.current=window.setTimeout(()=>{o(!1)},n)},[n]);(0,r.useEffect)(()=>{l&&o(!1)},[l]);let f=(0,r.useCallback)(e=>{i.current=window.setTimeout(()=>{s.current&&(clearTimeout(s.current),s.current=null),o(!1)},e)},[]);return{onMouseOver:l?void 0:u,onMouseOut:l?void 0:m,delayedClose:f,isHovering:a}};var p=n(70339);let g={enterDelay:100,leaveDelay:50,gutter:16,placement:"top",flip:!0},h=e=>{let t={...g,...e},{update:n,referenceRef:l,popperRef:a,getPopperProps:o}=(0,p.D)(t),{enterDelay:i,leaveDelay:s}=t,{isHovering:d,onMouseOut:u,onMouseOver:c}=f({enterDelay:i,leaveDelay:s});return(0,r.useEffect)(()=>{d&&n&&n()},[d,n]),{referenceRef:l,popperRef:a,isHovering:d,onMouseOver:c,onMouseOut:u,getPopperProps:o}},b={initial:{opacity:0},animate:{opacity:1,transition:{delay:.1,duration:.2}},exit:{opacity:0},transition:{duration:.2}},y=(e,t)=>{(0,r.useEffect)(()=>{if(!e||!t)return;let n=document.createElement("script");return n.type="text/javascript",n.async=!0,n.innerHTML=t,document.body.appendChild(n),()=>{document.body.removeChild(n)}},[e,t])};var v=n(13265);n(91760);let k=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let t;let l=a()(()=>{clearTimeout(t),n(!0),t=setTimeout(()=>{n(!1)},e+100)},e,{leading:!0,trailing:!0,maxWait:e});return window.addEventListener("resize",l),()=>window.removeEventListener("resize",l)},[e]),t}},86392:function(e,t,n){"use strict";n.d(t,{Br:function(){return c},CI:function(){return m}});var l=n(30733),a=n.n(l),o=n(54073),i=n.n(o),r=n(2784),s=n(76919);class d extends s.v{cleanup(){document.removeEventListener("containerResize",this.emitResize)}constructor(){super(),this.emitResize=e=>{this.emit("resize",e)},document.addEventListener("containerResize",this.emitResize)}}let u=a()(()=>new d),c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,[n,l]=(0,r.useState)(!1),a=(0,r.useMemo)(u,[]);return(0,r.useEffect)(()=>{let n;let o=i()(a=>{let{target:o}=a;o&&e.current&&f(e.current,o)&&(clearTimeout(n),l(!0),n=setTimeout(()=>{l(!1)},t+100))},t,{leading:!0,trailing:!1,maxWait:t});return a.on("resize",o)},[a,t,e]),n},m=e=>{e.dispatchEvent(new Event("containerResize",{bubbles:!0}))},f=(e,t)=>{let n=e;do{if(n!==t)continue;return!0}while(n=n.parentElement);return!1}},24992:function(e,t,n){"use strict";n.d(t,{A:function(){return o},Z:function(){return i}});var l=n(2784),a=n(66028);let o="is-dragging-over",i=(e,t)=>{let n=(0,l.useCallback)(n=>{var l;(!t||t(n))&&(null===(l=e.current)||void 0===l||l.classList.add(o))},[e]),i=(0,l.useCallback)(()=>{var t;return null===(t=e.current)||void 0===t?void 0:t.classList.remove(o)},[e]);return{onDragOver:a.Gb,onDragEnter:n,onDragLeave:i,onDrop:i}}},89458:function(e,t,n){"use strict";n.d(t,{I:function(){return i},_:function(){return o}});var l=n(2784),a=n(18733);function o(e,t){try{let n=a.W.getItem(e);if(null===n)return t;return JSON.parse(n)}catch(e){return console.error("[useLocalStorage.getItem] Error getting localStorage item",e),t}}function i(e,t){let[n,i]=(0,l.useState)(()=>o(e,t)),r=(0,l.useCallback)(t=>{try{a.W.setItem(e,JSON.stringify(t)),i(t)}catch(e){console.error("[useLocalStorage.setItem] Error setting localStorage item",e)}},[e]);return[n,r]}},13265:function(e,t,n){"use strict";n.d(t,{g:function(){return i},k:function(){return o}});var l=n(2784);let a=!1,o=()=>{(0,l.useEffect)(()=>{a=!0},[])},i=()=>{let[e,t]=(0,l.useState)(a);return(0,l.useEffect)(()=>t(!0),[]),e}},87205:function(e,t,n){"use strict";n.d(t,{GN:function(){return M},Iv:function(){return C},K$:function(){return P},KI:function(){return B},Ly:function(){return j},Ns:function(){return O},S6:function(){return p},SN:function(){return I},VE:function(){return _},aN:function(){return S},dW:function(){return h},fU:function(){return E},gJ:function(){return z},sy:function(){return R},v9:function(){return F}});var l=n(52322),a=n(54839),o=n(5879),i=n(75652),r=n.n(i),s=n(14274),d=n(42111);let{toast:u}=(0,a.I)(),c="https://cdn.gamma.app",m="https://cdn-staging.gamma.app",f=[c,m],p=e=>f.some(t=>e.startsWith(t+"/")),g=e=>e.startsWith("https://images.unsplash.com/"),h=e=>e.startsWith("http")&&!p(e)&&!g(e),b={quality:80,resizing_type:"fit"},y=["width","height","quality","onerror"],v={resizing_type:{cfKey:"fit",valueMap:{fit:"scale-down",fill:"crop","fill-down":"scale-down",force:null,auto:null}}},k=(e,t)=>{if(!t.width&&!t.height)return e;let n=Object.entries({...b,...t}).map(e=>{let[t,n]=e;return"".concat(t,":").concat(n)}).filter(Boolean).join("/"),l="".concat(s.v.IMAGE_WORKER_HOST,"/resize/").concat(n,"/").concat(e);return l},x=(e,t)=>{if(!t.width)return e;let n=new URL(e);return t.width&&n.searchParams.set("w",String(t.width)),t.quality&&n.searchParams.set("q",String(t.quality)),n.searchParams.set("auto","format"),n.toString()},w=e=>{let t=Object.entries({...b,...e,onerror:"redirect"}).map(e=>{let[t,n]=e;if(t in v){let{cfKey:e,valueMap:l}=v[t];return n in l?"".concat(e,"=").concat(l[n]):null}return y.includes(t)?"".concat(t,"=").concat(n):null}).filter(Boolean).join(",");return t},S=(e,t)=>{if(!t.width&&!t.height)return e;if(d.VH.get("imgProxy"))return k(e,t);let n=w(t);return f.forEach(t=>{e=e.replace(t,"".concat(t,"/cdn-cgi/image/").concat(n))}),e},C={width:400,height:400},z={width:300,height:300},A=e=>{try{let t=new URL(e);return t.pathname.endsWith(".gif")}catch(e){return!1}},I=(e,t,n)=>{if(!t.width&&!t.height)return e;if(!t.blur){if((null==n?void 0:n.frame_count)&&n.frame_count>1||A(e))return e;if(g(e))return x(e,t)}if(d.VH.get("imgProxy"))return k(e,t);if((null==n?void 0:n.width)&&t.width&&n.width<=1.5*t.width||(null==n?void 0:n.height)&&t.height&&n.height<=1.5*t.height)return e;let l=w(t),a="production"===s.v.APPLICATION_ENVIRONMENT?c:m;return"".concat(a,"/cdn-cgi/image/").concat(l,"/").concat(e)},j=function(){for(var e=arguments.length,t=Array(e),n=0;ne).map(e=>'url("'.concat(e,'")')).join(", ")};function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"image",n=e.split(","),l=n[0].match(/:(.*?);/)[1],a=l.match(/image\/(.*)/)[1],o=atob(n[1]),i=o.length,r=new Uint8Array(i);for(;i--;)r[i]=o.charCodeAt(i);return new File([r],"".concat(t,".").concat(a),{type:l})}let B=async e=>{try{return await M(e),!0}catch(e){return!1}},M=e=>new Promise((t,n)=>{if(e){let l=new Image;l.src=e,l.onload=t,l.onerror=n}else t(null)});function E(e){return/^image/i.test(e)}let _=e=>{if(/^data:image/.test(e))return!0;if(!/^https:\/\//.test(e))return!1;let t=document.createElement("div");return t.style.backgroundImage='url("'.concat(e,'")'),!!t.style.backgroundImage};function O(e){return/heic|heif/i.test(e)}function P(e){let t="image/svg+xml;charset=utf-8",n=new Blob(['\r\n',e],{type:t}),l=new File([n],"pasted.svg",{type:t});return l}let T=async e=>new Promise(t=>{let n=URL.createObjectURL(e),l=new Image;l.onload=function(){URL.revokeObjectURL(l.src),t({width:l.width,height:l.height})},l.src=n}),R=async e=>{let t=await T(e.data);if(t.width*t.height>2e7)throw u({id:"image-too-big",title:(0,l.jsx)(o.cC,{id:"Gb8wsU"}),description:(0,l.jsx)(o.cC,{id:"ihDRgi",values:{IMGPROXY_MAX_MEGAPIXELS:20,IMGPROXY_MAX_WIDTH_PIXELS:5e3,IMGPROXY_MAX_HEIGHT_PIXELS:4e3}}),status:"error",duration:null,isClosable:!0,position:"top"}),Error("IMAGE_TOO_BIG")}},15425:function(e,t,n){"use strict";n.d(t,{Gr:function(){return o},hU:function(){return i},jv:function(){return l},kr:function(){return a}});let l=e=>{try{new URL(e)}catch(e){return!1}return!0},a=e=>e.toLowerCase().startsWith("http"),o=e=>{if(!e)return"";try{return new URL(e).hostname}catch(e){return""}},i=e=>null!=e.match(/\.(jpeg|jpg|gif|png)$/)},22596:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});var l=n(6238),a=n.n(l),o=n(37164);class i{_flush(){this._handle=0;let e=this._queue;this._queue=[],e.forEach(e=>{let{fn:t}=e;t()})}push(e,t){if(t){let n=this._queue.findIndex(e=>e.id===t);n>-1?this._queue.splice(n,1,{fn:e,id:t}):this._queue.push({fn:e,id:t})}else this._queue.push({fn:e,id:(0,o.x0)(5)});this._handle||(this._handle=requestAnimationFrame(this._flush.bind(this)))}constructor(){this._queue=[],this._handle=0,this._handle=requestAnimationFrame(this._flush.bind(this))}}let r=a()(()=>new i)},90383:function(e,t,n){"use strict";n.d(t,{Op:function(){return c},jM:function(){return d},nT:function(){return p},sG:function(){return u},wg:function(){return f}});var l=n(21805),a=n(14274),o=n(24370),i=n(78462);let r=()=>"production"===a.v.APPLICATION_ENVIRONMENT?[/^gamma\.app$/,/\.*-gamma-app\.vercel\.app/]:"staging"===a.v.APPLICATION_ENVIRONMENT?[/^staging\.gamma\.app$/,/^[a-zA-Z0-9]+\.staging\.gamma\.app$/,/\.*-gamma-app.vercel.app/,/\.*\.csb.app/]:"dev"===a.v.APPLICATION_ENVIRONMENT?[/localhost:3000/,/local\.gamma\.app/]:[/gamma\.app/],s=e=>{let t=e.startsWith("http")?e:"https://".concat(e),n=r();return n.some(e=>{try{let n=new URL(t).host;return null!==n.match(e)}catch(e){return!1}})},d=e=>{let t=(0,i.Wp)(e);if(!t)return!1;let{cardId:n}=(0,i.sY)(e);return{docId:t,cardId:n}},u=(e,t)=>{var n,l,a;if(!e||!t)return!1;if(s(e)){let n=d(e);if(n)return n.docId===t.id&&!n.cardId}if(e.startsWith("/")){if(e===window.location.pathname)return!0;if(null===(n=t.site)||void 0===n?void 0:n.routes){let n=t.site.routes,l=n.find(e=>e.docId===t.id);if(l)return(0,o.fJ)(l.path)===e}}if(e.startsWith("http"))try{let{host:n,pathname:i}=new URL(e);if(i===window.location.pathname&&n===window.location.host)return!0;if((null==t?void 0:t.site)&&"domains"in t.site&&(null===(l=t.site.domains)||void 0===l?void 0:l.some(e=>e.name===n))){let e=null===(a=t.site.routes)||void 0===a?void 0:a.find(e=>e.docId===t.id);if(e)return(0,o.fJ)(e.path)===i}}catch(e){}return!1},c=e=>{let{url:t,doc:n,previewEnabled:l}=e,a=d(t);if(!a||!n)return t;if(a.docId===n.id&&a.cardId)return(0,i.JJ)(a.cardId);let r=n.site;if(null==r?void 0:r.routes){let e=r.routes||[];for(let t of e)if(t.docId===a.docId){if(l)return(0,i.yQ)({docId:t.docId,preview:!0});return(0,o.fJ)(t.path)}}return t},m=()=>"true"===l.Z.get("gammaPublishedPage")||!!window.__GAMMA_PUBLISHED_PAGE__||r().every(e=>null===window.location.host.match(e)),f=()=>{if(window.location.host.match(/localhost:8080/))return!1;let{pathname:e}=window.location,t=e.startsWith("/published/")||e.startsWith("/published_mobile/")||m();return t},p=e=>!!e&&e.navEnabled&&!!e.navContent},19576:function(e,t,n){"use strict";let l;n.d(t,{R:function(){return i}});var a=n(35368),o=n.n(a);let i=o()(l)},18733:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});let l=(()=>{try{let e="__another_random_key_you_are_not_going_to_use__";return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}})(),a=e=>{let t={},n=()=>l?e().length:Object.keys(t).length;return{getItem:n=>l?e().getItem(n):Object.prototype.hasOwnProperty.call(t,n)?t[n]:null,setItem:(n,a)=>{l?e().setItem(n,a):t[n]=String(a)},removeItem:n=>{l?e().removeItem(n):delete t[n]},clear:()=>{l?e().clear():t={}},key:n=>l?e().key(n):Object.keys(t)[n]||null,get length(){return n()}}},o=a(()=>localStorage);a(()=>sessionStorage)},22625:function(e,t,n){"use strict";n.d(t,{q:function(){return a},v:function(){return l}});let l=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)throw Error("unexpected value ".concat(e))},a=e=>Object.entries(e)},78462:function(e,t,n){"use strict";n.d(t,{Gn:function(){return d},Ie:function(){return i},JJ:function(){return u},LQ:function(){return y},Mr:function(){return s},SJ:function(){return h},W2:function(){return m},Wp:function(){return b},gq:function(){return c},nP:function(){return g},sY:function(){return p},yQ:function(){return v}});var l=n(56920),a=n(14274);n(19431);let o=/[0-9a-z]{15}$/,i="card-",r=e=>"".concat(a.v.FRONTEND_URL,"/workspaces/").concat(e.id,"/join?code=").concat(e.inviteCode),s=e=>{let{userId:t,workspace:n}=e,l=new URL(n?r(n):"".concat(a.v.FRONTEND_URL,"/signup"));return l.searchParams.set("r",t),l.href},d=e=>{let{docId:t,path:n="docs",docTitle:o="",token:i,absolute:r=!1}=e;return"".concat(r?a.v.FRONTEND_URL:"","/").concat(n,"/").concat(o?"".concat((0,l.lV)(o),"-"):"").concat(t).concat(i?"?token=".concat(i):"")},u=e=>"#".concat(i).concat(e),c=e=>{let{cardId:t,docId:n,isPresentMode:l=!1}=e;if(!n)return console.error("[getCardUrl] docId is undefined. Returning empty string"),"";let o=window.location.pathname.split("/")[1],i=o&&["docs","public","example"].includes(o),r="embed"===o,s=new URL("".concat(a.v.FRONTEND_URL,"/").concat(i?o:r?"public":"docs","/").concat(n));return l&&s.searchParams.set("mode","present"),a.v.SHARE_TOKEN&&s.searchParams.set("token",a.v.SHARE_TOKEN),s.hash=u(t),s.toString()},m=e=>{let{docId:t,id:n}=e;return"".concat(a.v.FRONTEND_URL,"/docs/").concat(t,"#comment-").concat(n)},f=e=>{let t=e?new URL(e.startsWith("http")?e:"".concat(a.v.FRONTEND_URL).concat(e)).hash:window.location.hash;return t.split("#").pop()||void 0},p=e=>{var t,n;let l=f(e),a=(null==l?void 0:null===(t=l.split(i))||void 0===t?void 0:t[1])||null,o=(null==l?void 0:null===(n=l.split("comment-"))||void 0===n?void 0:n[1])||null;return{cardId:a,commentId:o}},g=/https:\/\/((staging\.)?gamma\.app|gamma-[^-]+-gamma(-app)?\.vercel\.app|localhost:3000|local\.gamma\.app:3000)\/docs\/[-\w\d]{15,}\/?(?:\?[^#\r\n\s]*)?(?:#[-\w\d]*)?/gm,h=()=>{let e=new URL(window.location.href),t={};for(let[n,l]of e.searchParams.entries())t[n]=l;return t},b=e=>{let[t,n]=function(e){try{let n=new URL(e||window.location.href).pathname,l=n.match(/^(\/(?:docs(?:\/presenter)?|public|demo|embed|example|sites\/[^/]+\/pages)\/([^/?]+))(\/preview)?/);if(l){var t;let e=(null===(t=l[1])||void 0===t?void 0:t.replace(/\/[^/]+$/,""))||"",n=l[2]||"",a=l[3]||void 0;return[e,n,a]}}catch(t){console.debug("Error parsing URL",e,t)}return["","",void 0]}(e),l=n.match(o);return l?l[0]:null},y=e=>e.includes("/embed/"),v=e=>{let{docId:t,preview:n,params:l,absolute:o}=e,{source:i}=l||{},r="".concat(o?a.v.FRONTEND_URL:"","/docs/").concat(t).concat(n?"/preview":"");return"".concat(r).concat(i?"?source=".concat(i):"")}},88640:function(e,t,n){"use strict";n.d(t,{H:function(){return l}});let l={backgroundedSince:"backgroundedSince",gammaDocPasswords:"gammaDocPasswords",hasClosedExamplesOnRecentTab:"hasClosedExamplesOnRecentTab",hasSeenCoachBar:"hasSeenCoachBar_v3",hasDismissedSearchTip:"hasDismissedSearchTip",sessionId:"gammaSessionId",lastDismissedPreferredBrowserMessage:"lastDismissedPreferredBrowserMessage",viewPreferences:"viewPreferences",lastHomeUrl:"lastHomeUrl",hasDismissedDocWorkspaceNotice:"hasDismissedDocWorkspaceNotice",welcomeDocId:"welcomeDocId",lastAdvancedModeInputs:"lastAdvancedModeInputs",generateLanguage:"generateLanguage",referredByUserId:"referredByUserId",gammaLocale:"gammaLocale",isPseudoLocaleActive:"isPseudoLocaleActive",abuseReports:"abuseReports",filmstripViewPreference:"filmstripViewPreference",recentlyUsedCardTemplateIds:"recentlyUsedCardTemplateIds",currentWorkspaceId:"currentWorkspaceId"}},83477:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KNOWN_BAD_HOSTNAMES=t.KNOWN_GOOD_HOSTNAMES=t.TRUSTED_WORKSPACE_IDS=t.GAMMA_WORKSPACE_ID_PRODUCTION=t.GAMMA_WORKSPACE_ID_STAGING=t.removeWWWPrefix=void 0,t.removeWWWPrefix=e=>e.replace(/^www\./,""),t.GAMMA_WORKSPACE_ID_STAGING="QWjS6fBfpt",t.GAMMA_WORKSPACE_ID_PRODUCTION="zc87vhr30n8uf3n",t.TRUSTED_WORKSPACE_IDS=["acme",t.GAMMA_WORKSPACE_ID_STAGING,t.GAMMA_WORKSPACE_ID_PRODUCTION],t.KNOWN_GOOD_HOSTNAMES=["gamma.app","cdn.gamma.app","staging.gamma.app","cdn-staging.gamma.app","www.markdownguide.org","www.youtube.com","www.linkedin.com","www.instagram.com","twitter.com","www.tiktok.com","help.gamma.app","gamma.new","join.slack.com","www.google.com","www.facebook.com","groups.google.com","en.wikipedia.org","replit.com","www.bea.gov","doi.org","sites.google.com","soundcloud.com","medium.com","es.wikipedia.org","app.stotles.com","docs.google.com","www.figma.com","www.ncbi.nlm.nih.gov","github.com","youtu.be","tr.wikipedia.org","uk.wikipedia.org","ru.wikipedia.org","ro.wikipedia.org","pt.wikipedia.org","drive.google.com","example.com","zh.wikipedia.org","www.sciencedirect.com","fr.wikipedia.org","colab.research.google.com","player.fm","m.facebook.com","www.britannica.com","www.amazon.com","www.podcasts.com","ko.wikipedia.org","www.example.com","vi.wikipedia.org","www.notion.so","chat.openai.com","calendly.com","www.bing.com","pubmed.ncbi.nlm.nih.gov","open.spotify.com","de.wikipedia.org","id.wikipedia.org","www.researchgate.net","techcrunch.com","www.cnn.com","pl.wikipedia.org","api.whatsapp.com","youtube.com","hbr.org","podcasters.spotify.com","ar.wikipedia.org","th.wikipedia.org","dictionary.cambridge.org","www.kaggle.com","es.surveymonkey.com","www.canva.com","www.forbes.com","lookerstudio.google.com","unsplash.com","www.cdc.gov","az.wikipedia.org","it.wikipedia.org","www.investopedia.com","www.pinterest.com","music.amazon.com","kk.wikipedia.org","scholar.google.com","www.nature.com","www.producthunt.com","creativecommons.org","www.masterclass.com","fa.wikipedia.org","www.bbc.com","www.nytimes.com","en.m.wikipedia.org","sr.wikipedia.org","uz.wikipedia.org","ieeexplore.ieee.org","play.google.com","es.m.wikipedia.org","cloud.google.com","www.imdb.com","www.mckinsey.com","aws.amazon.com","www.microsoft.com","chrome.google.com","www.businessinsider.com","bing.com","www.porsche.com"].map(t.removeWWWPrefix),t.KNOWN_BAD_HOSTNAMES=["trixmovie.com","luna-3d.com","luna-3d.com:443","kiladkoerm.com","movie.geoflix.me","wtach.club","movstream.fun","novelastv.me","xzc.one","srv1.iyxwfree.my.id","followme.tribe.so","xzc.icu","marcolinks.click","multilibb.cc","exl-trk.com","uk.ebookarea.xyz","wemovietv.com","123moviesdb.com","www.realpdfdumps.com","pede.4tv.live","voxmovie.com","stream.evmovies.com","dmovie.fun","pdfhost.io","megavids.online","www.pdfdumpspro.com","gomovie.stream","dmovie.fun:443","go123.stream","ca.ebookarea.xyz","movie4you.online","www.123movieslink.com","moviedaily.site","maxstream.site","ftmovies.xyz","moviescreen.biz","moviesfox.site","morthenfile.web.app"].map(t.removeWWWPrefix)},65005:function(e,t,n){"use strict";var l=Object.create?function(e,t,n,l){void 0===l&&(l=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,l,a)}:function(e,t,n,l){void 0===l&&(l=n),e[l]=t[n]};Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||l(t,e,n)}(n(83477),t)},39402:function(e,t){"use strict";var n,l;t.L9=t.tX=void 0;let a=16/9;t.tX={fluid:a,"16x9":a,"16x9_portrait":9/16,letter:11/8.5,letter_portrait:8.5/11,a4:11.69/8.27,a4_portrait:8.27/11.69,square:1},(l=n||(t.L9=n={})).landscape="landscape",l.portrait="portrait"},43019:function(e,t,n){"use strict";var l=Object.create?function(e,t,n,l){void 0===l&&(l=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,l,a)}:function(e,t,n,l){void 0===l&&(l=n),e[l]=t[n]};Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||l(t,e,n)}(n(43818),t)},43818:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findLinksByType=t.findNodeByType=t.addParentToJSONContentTree=t.descendents=t.generateCardIdMapFromJSONContent=t.getCardText=t.removeNodesOfType=t.removeTitle=t.getCardTitle=t.getHTMLFromFragment=t.findNestedCards=t.nodeSerializers=t.linkTypes=void 0;let l=n(14808),a=n(83571),o=n(76635),i=n(1109),r=n(39283),s=["text","emoji","mention"];t.linkTypes={link:"attrs.href",embed:"attrs.url",image:"attrs.src",smartLayoutCell:"attrs.image.src",button:"attrs.href",video:"attrs.embed.url",docMention:"attrs.id"},t.nodeSerializers={text:e=>e.text?String(e.text):void 0,emoji:e=>e.attrs.native?String(e.attrs.native):void 0,embed:e=>{let{meta:t,sourceUrl:n,url:l}=e.attrs,a=(null==t?void 0:t.title)||n||l;return a?String(a):void 0},mention:e=>e.attrs.label?"@"+String(e.attrs.label):void 0,video:e=>{let{meta:t,sourceUrl:n,embedUrl:l}=e.attrs,a=(null==t?void 0:t.title)||n||l;return a?String(a):void 0},cardNotes:e=>void 0},t.findNestedCards=(e,n,l)=>{var a,o,i;let r=[];return"card"===e.type&&(r.push({id:null===(a=e.attrs)||void 0===a?void 0:a.id,content:e,parentId:n,depth:l}),l+=1,n=null===(o=e.attrs)||void 0===o?void 0:o.id),null===(i=e.content)||void 0===i||i.forEach(e=>{r.push(...(0,t.findNestedCards)(e,n,l))}),r},t.getHTMLFromFragment=function(e,t){let n=l.DOMSerializer.fromSchema(t).serializeFragment(e.content,{document:(0,r.createHTMLDocument)()});return n.render()},t.getCardTitle=(e,n)=>{var l,a;try{if(t.nodeSerializers[e.type])return t.nodeSerializers[e.type](e);if((null===(l=e.content)||void 0===l?void 0:l.length)>0&&e.content.some(e=>s.includes(e.type))){let n=e.content.map(e=>t.nodeSerializers[e.type]&&t.nodeSerializers[e.type](e)).filter(e=>!!e).join(" ");if(n)return n.replace(/\s+/g," ")}if((null===(a=e.content)||void 0===a?void 0:a.length)>0)for(let n of e.content){let e=(0,t.getCardTitle)(n);if(e)return e}}catch(e){n&&n(e)}return""},t.removeTitle=(e,t)=>{if(!t)return e;try{let n=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/ +/g,"\\s*");return e.replace(RegExp("^".concat(n,"\\s*"),"im"),"")}catch(t){return e}},t.removeNodesOfType=(e,n)=>{let l={...e};return n.includes(l.type||"")?null:(l.content&&(l.content=l.content.map(e=>(0,t.removeNodesOfType)(e,n)).filter(e=>null!==e)),l)},t.getCardText=(e,n,l)=>{var a;try{let r=(0,o.cloneDeep)(n),s=(0,t.removeNodesOfType)(r,["cardNotes"]);if(!s)return"";s.content=null===(a=s.content)||void 0===a?void 0:a.map(e=>{if("card"!==e.type)return e;let n=(0,t.getCardTitle)(e);return{type:"paragraph",content:n?[{type:"text",text:n}]:[]}});let d=i.Node.fromJSON(e,s),u=d.textBetween(0,d.content.size,"\n\n",e=>{let n=e.type.name;return t.nodeSerializers[n]&&t.nodeSerializers[n](e)||" "});if(l)return(0,t.removeTitle)(u,l);return u}catch(e){return""}},t.generateCardIdMapFromJSONContent=e=>{let n=[],l={tree:{},parents:{},treeArray:[]};return(0,t.descendents)({...e,parent:null},e=>{if(!d(e))return;let t=e.attrs.id;n.push(t);let a=u(e,d).reverse().map(e=>e.attrs.id),o=[...a,t];o.reduce((e,t)=>(e[t]=e[t]||{},e[t]),l.tree),l.parents[t]=a,o.reduce((e,n)=>{let l=e.find(e=>e.id===n);return l?l.children:(e.push({id:t,children:[]}),e)},l.treeArray)}),{cardIds:n,cardIdMap:l}};let d=e=>"card"===e.type,u=(e,t)=>{let n=[],l=e.parent;for(;l;)t(l)&&n.push(l),l=l.parent;return n};t.descendents=(e,n)=>{var l;n(e),null===(l=e.content)||void 0===l||l.forEach(l=>{(0,t.descendents)({...l,parent:e},n)})},t.addParentToJSONContentTree=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n&&(e.parent=n),e.content&&e.content.forEach(n=>{(0,t.addParentToJSONContentTree)(n,e)}),e},t.findNodeByType=(e,n)=>{if(n.includes(e.type))return e;if(Array.isArray(e.content))for(let l=0;l{var n,l,o;let i=Object.keys(t.linkTypes),r=i.reduce((e,t)=>(e[t]=new Set,e),{});if(i.includes(e.type)){let n=(0,a.JSONPath)({path:t.linkTypes[e.type],json:e});n.forEach(t=>{t&&r[e.type].add(t)})}for(let l of["content","marks"])null===(n=e[l])||void 0===n||n.forEach(e=>{let n=(0,t.findLinksByType)(e);i.reduce((e,t)=>(n[t].forEach(n=>e[t].add(n)),e),r)});return(null===(l=e.attrs)||void 0===l?void 0:l.background)&&"image"===e.attrs.background.type&&e.attrs.background.image.src&&r.image.add(null===(o=e.attrs.background.image)||void 0===o?void 0:o.src),r}},56920:function(e,t){"use strict";t.lV=t.fT=void 0,t.fT=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(){for(var t=arguments.length,n=Array(t),l=0;l1&&void 0!==arguments[1]&&arguments[1];switch(e.type.name){case"button":return"button";case"heading":return"h".concat(e.attrs.level||1);case"italic":return"em";case"link":return"a";case"paragraph":return"p";default:return t?"span":"div"}}constructor(e){let t=i["v".concat(e)],n=e&&t?t:i.latest;e&&!t&&console.warn("Can't find schema for version ".concat(e,", so will use latest ").concat(i.latest.SCHEMA_VERSION,"."));let{schema:l,SCHEMA_VERSION:a}=n,r=l.extendedNodeFields||[],s=o.Extension.create({name:"extendedNodeFields",extendNodeSchema(e){let t={name:e.name,options:e.options,storage:e.storage};return r.reduce((n,l)=>(n[l]=(0,o.callOrReturn)((0,o.getExtensionField)(e,l,t)),n),{})}});this.schema=(0,o.getSchema)([...l.marks.map(e=>{let{attrs:t={},...n}=e;return o.Mark.create({...n,addAttributes:()=>t,renderHTML:e=>{let{mark:t,HTMLAttributes:n}=e,l=this.getHTMLTagType(t,!0);return[l,n,0]}})}),...l.nodes.map(e=>{let{attrs:t={},...n}=e;return o.Node.create({...n,addAttributes:()=>t,renderHTML:e=>{let{node:t,HTMLAttributes:n}=e;if(t.type.isText)return t.text;let l=this.getHTMLTagType(t);return t.type.isAtom||t.type.isLeaf?[l,n]:[l,n,0]}})}),s]),this.version=a}}},67952:function(e,t,n){"use strict";var l=Object.create?function(e,t,n,l){void 0===l&&(l=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,l,a)}:function(e,t,n,l){void 0===l&&(l=n),e[l]=t[n]},a=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};Object.defineProperty(t,"__esModule",{value:!0}),t.ExportApi=void 0;let o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&l(t,e,n);return a(t,e),t}(n(32779));class i extends o.BaseAPI{async exportToPDFRaw(e){if(null===e.id||void 0===e.id)throw new o.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling exportToPDF.");let t=await this.request({path:"/export/memos/{id}/pdf".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:{},query:{}});return new o.VoidApiResponse(t)}async exportToPDF(e){await this.exportToPDFRaw(e)}}t.ExportApi=i},85330:function(e,t,n){"use strict";var l=Object.create?function(e,t,n,l){void 0===l&&(l=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,l,a)}:function(e,t,n,l){void 0===l&&(l=n),e[l]=t[n]},a=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationsApi=void 0;let o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&l(t,e,n);return a(t,e),t}(n(32779)),i=n(79502);class r extends o.BaseAPI{async getOrganizationRaw(e){if(null===e.id||void 0===e.id)throw new o.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getOrganization.");let t={};void 0!==e.code&&(t.code=e.code);let n=await this.request({path:"/organizations/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:{},query:t});return new o.JSONApiResponse(n,e=>(0,i.OrganizationFromJSON)(e))}async getOrganization(e){let t=await this.getOrganizationRaw(e);return await t.value()}async organizationsIdJoinCodeGetRaw(e){if(null===e.id||void 0===e.id)throw new o.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling organizationsIdJoinCodeGet.");if(null===e.code||void 0===e.code)throw new o.RequiredError("code","Required parameter requestParameters.code was null or undefined when calling organizationsIdJoinCodeGet.");let t=await this.request({path:"/organizations/{id}/join/{code}".replace("{id}",encodeURIComponent(String(e.id))).replace("{code}",encodeURIComponent(String(e.code))),method:"GET",headers:{},query:{}});return new o.JSONApiResponse(t,e=>(0,i.UserFromJSON)(e))}async organizationsIdJoinCodeGet(e){let t=await this.organizationsIdJoinCodeGetRaw(e);return await t.value()}}t.OrganizationsApi=r},57543:function(e,t,n){"use strict";var l=Object.create?function(e,t,n,l){void 0===l&&(l=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,l,a)}:function(e,t,n,l){void 0===l&&(l=n),e[l]=t[n]},a=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};Object.defineProperty(t,"__esModule",{value:!0}),t.UsersApi=void 0;let o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&l(t,e,n);return a(t,e),t}(n(32779)),i=n(79502);class r extends o.BaseAPI{async getUserRaw(){let e=await this.request({path:"/user",method:"GET",headers:{},query:{}});return new o.JSONApiResponse(e,e=>(0,i.UserFromJSON)(e))}async getUser(){let e=await this.getUserRaw();return await e.value()}async loginRaw(){let e=await this.request({path:"/login",method:"GET",headers:{},query:{}});return new o.JSONApiResponse(e,e=>(0,i.UserFromJSON)(e))}async login(){let e=await this.loginRaw();return await e.value()}async logoutRaw(){let e=await this.request({path:"/logout",method:"GET",headers:{},query:{}});return new o.VoidApiResponse(e)}async logout(){await this.logoutRaw()}async updateUserRaw(e){let t={};t["Content-Type"]="application/json";let n=await this.request({path:"/user",method:"PATCH",headers:t,query:{},body:(0,i.PatchBodyToJSON)(e.patchBody)});return new o.JSONApiResponse(n,e=>(0,i.UserFromJSON)(e))}async updateUser(e){let t=await this.updateUserRaw(e);return await t.value()}}t.UsersApi=r},140:function(e,t,n){"use strict";var l=Object.create?function(e,t,n,l){void 0===l&&(l=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,l,a)}:function(e,t,n,l){void 0===l&&(l=n),e[l]=t[n]},a=function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||l(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(67952),t),a(n(85330),t),a(n(57543),t)},51339:function(e,t,n){"use strict";var l=Object.create?function(e,t,n,l){void 0===l&&(l=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,l,a)}:function(e,t,n,l){void 0===l&&(l=n),e[l]=t[n]},a=function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||l(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(32779),t),a(n(140),t),a(n(79502),t)},96978:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModelErrorToJSON=t.ModelErrorFromJSONTyped=t.ModelErrorFromJSON=void 0;let l=n(32779);function a(e,t){return null==e?e:{code:(0,l.exists)(e,"code")?e.code:void 0,message:e.message}}t.ModelErrorFromJSON=function(e){return a(e,!1)},t.ModelErrorFromJSONTyped=a,t.ModelErrorToJSON=function(e){return void 0===e?void 0:null===e?null:{code:e.code,message:e.message}}},82192:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationToJSON=t.OrganizationFromJSONTyped=t.OrganizationFromJSON=void 0;let l=n(32779);function a(e,t){return null==e?e:{id:(0,l.exists)(e,"id")?e.id:void 0,name:e.name,slug:e.slug,inviteCode:(0,l.exists)(e,"inviteCode")?e.inviteCode:void 0,createdTime:(0,l.exists)(e,"createdTime")?new Date(e.createdTime):void 0,updatedTime:(0,l.exists)(e,"updatedTime")?new Date(e.updatedTime):void 0,products:(0,l.exists)(e,"products")?e.products:void 0}}t.OrganizationFromJSON=function(e){return a(e,!1)},t.OrganizationFromJSONTyped=a,t.OrganizationToJSON=function(e){return void 0===e?void 0:null===e?null:{name:e.name,slug:e.slug,inviteCode:e.inviteCode,products:e.products}}},95157:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PatchBodyToJSON=t.PatchBodyFromJSONTyped=t.PatchBodyFromJSON=void 0,t.PatchBodyFromJSON=function(e){return e},t.PatchBodyFromJSONTyped=function(e,t){return e},t.PatchBodyToJSON=function(e){return e}},3314:function(e,t,n){"use strict";var l,a;Object.defineProperty(t,"__esModule",{value:!0}),t.PatchDocumentToJSON=t.PatchDocumentFromJSONTyped=t.PatchDocumentFromJSON=t.PatchDocumentOpEnum=void 0;let o=n(32779);function i(e,t){return null==e?e:{op:e.op,path:e.path,value:(0,o.exists)(e,"value")?e.value:void 0,from:(0,o.exists)(e,"from")?e.from:void 0}}(a=l||(t.PatchDocumentOpEnum=l={})).Add="add",a.Remove="remove",a.Replace="replace",a.Move="move",a.Copy="copy",a.Test="test",t.PatchDocumentFromJSON=function(e){return i(e,!1)},t.PatchDocumentFromJSONTyped=i,t.PatchDocumentToJSON=function(e){return void 0===e?void 0:null===e?null:{op:e.op,path:e.path,value:e.value,from:e.from}}},69142:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserToJSON=t.UserFromJSONTyped=t.UserFromJSON=void 0;let l=n(32779),a=n(79502);function o(e,t){return null==e?e:{id:(0,l.exists)(e,"id")?e.id:void 0,firstName:e.firstName,lastName:e.lastName,channelIds:(0,l.exists)(e,"channelIds")?e.channelIds:void 0,displayName:e.displayName,email:e.email,authProvider:(0,l.exists)(e,"authProvider")?e.authProvider:void 0,authProviderId:(0,l.exists)(e,"authProviderId")?e.authProviderId:void 0,profileImageUrl:e.profileImageUrl,createdTime:(0,l.exists)(e,"createdTime")?new Date(e.createdTime):void 0,updatedTime:(0,l.exists)(e,"updatedTime")?new Date(e.updatedTime):void 0,organizations:(0,l.exists)(e,"organizations")?e.organizations.map(a.OrganizationFromJSON):void 0,workspaceMemberships:(0,l.exists)(e,"workspaceMemberships")?e.workspaceMemberships.map(a.WorkspaceMembershipFromJSON):void 0,company:(0,l.exists)(e,"company")?e.company:void 0,jobFunction:(0,l.exists)(e,"jobFunction")?e.jobFunction:void 0,referrer:(0,l.exists)(e,"referrer")?e.referrer:void 0,settings:(0,l.exists)(e,"settings")?e.settings:void 0}}t.UserFromJSON=function(e){return o(e,!1)},t.UserFromJSONTyped=o,t.UserToJSON=function(e){return void 0===e?void 0:null===e?null:{firstName:e.firstName,lastName:e.lastName,channelIds:e.channelIds,displayName:e.displayName,email:e.email,authProvider:e.authProvider,authProviderId:e.authProviderId,profileImageUrl:e.profileImageUrl,organizations:void 0===e.organizations?void 0:e.organizations.map(a.OrganizationToJSON),workspaceMemberships:void 0===e.workspaceMemberships?void 0:e.workspaceMemberships.map(a.WorkspaceMembershipToJSON),company:e.company,jobFunction:e.jobFunction,referrer:e.referrer,settings:e.settings}}},41127:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UsersToJSON=t.UsersFromJSONTyped=t.UsersFromJSON=void 0,t.UsersFromJSON=function(e){return e},t.UsersFromJSONTyped=function(e,t){return e},t.UsersToJSON=function(e){return e}},81120:function(e,t,n){"use strict";var l,a;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceMembershipToJSON=t.WorkspaceMembershipFromJSONTyped=t.WorkspaceMembershipFromJSON=t.WorkspaceMembershipRoleEnum=void 0;let o=n(32779),i=n(79502);function r(e,t){return null==e?e:{workspace:(0,o.exists)(e,"workspace")?(0,i.OrganizationFromJSON)(e.workspace):void 0,role:(0,o.exists)(e,"role")?e.role:void 0,disabled:(0,o.exists)(e,"disabled")?e.disabled:void 0,createdTime:(0,o.exists)(e,"createdTime")?new Date(e.createdTime):void 0}}(a=l||(t.WorkspaceMembershipRoleEnum=l={})).Admin="admin",a.Member="member",t.WorkspaceMembershipFromJSON=function(e){return r(e,!1)},t.WorkspaceMembershipFromJSONTyped=r,t.WorkspaceMembershipToJSON=function(e){return void 0===e?void 0:null===e?null:{workspace:(0,i.OrganizationToJSON)(e.workspace),role:e.role,disabled:e.disabled}}},79502:function(e,t,n){"use strict";var l=Object.create?function(e,t,n,l){void 0===l&&(l=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,l,a)}:function(e,t,n,l){void 0===l&&(l=n),e[l]=t[n]},a=function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||l(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(96978),t),a(n(82192),t),a(n(95157),t),a(n(3314),t),a(n(69142),t),a(n(41127),t),a(n(81120),t)},32779:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextApiResponse=t.BlobApiResponse=t.VoidApiResponse=t.JSONApiResponse=t.canConsumeForm=t.mapValues=t.querystring=t.exists=t.Configuration=t.COLLECTION_FORMATS=t.RequiredError=t.BaseAPI=t.BASE_PATH=void 0,t.BASE_PATH="https://localhost:7000".replace(/\/+$/,"");let n=e=>"undefined"!=typeof Blob&&e instanceof Blob;t.BaseAPI=class{withMiddleware(){for(var e=arguments.length,t=Array(e),n=0;n({pre:e}));return this.withMiddleware(...l)}withPostMiddleware(){for(var e=arguments.length,t=Array(e),n=0;n({post:e}));return this.withMiddleware(...l)}async request(e){let{url:t,init:n}=this.createFetchParams(e),l=await this.fetchApi(t,n);if(l.status>=200&&l.status<300)return l;throw l}createFetchParams(e){let t=this.configuration.basePath+e.path;void 0!==e.query&&0!==Object.keys(e.query).length&&(t+="?"+this.configuration.queryParamsStringify(e.query));let l="undefined"!=typeof FormData&&e.body instanceof FormData||e.body instanceof URLSearchParams||n(e.body)?e.body:JSON.stringify(e.body),a=Object.assign({},this.configuration.headers,e.headers),o={method:e.method,headers:a,body:l,credentials:this.configuration.credentials};return{url:t,init:o}}clone(){let e=this.constructor,t=new e(this.configuration);return t.middleware=this.middleware.slice(),t}constructor(e=new l){this.configuration=e,this.fetchApi=async(e,t)=>{let n={url:e,init:t};for(let e of this.middleware)e.pre&&(n=await e.pre({fetch:this.fetchApi,...n})||n);let l=await this.configuration.fetchApi(n.url,n.init);for(let n of this.middleware)n.post&&(l=await n.post({fetch:this.fetchApi,url:e,init:t,response:l.clone()})||l);return l},this.middleware=e.middleware}},t.RequiredError=class extends Error{constructor(e,t){super(t),this.field=e,this.name="RequiredError"}},t.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:" ",pipes:"|"};class l{get basePath(){return null!=this.configuration.basePath?this.configuration.basePath:t.BASE_PATH}get fetchApi(){return this.configuration.fetchApi||window.fetch.bind(window)}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||a}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){let e=this.configuration.apiKey;if(e)return"function"==typeof e?e:()=>e}get accessToken(){let e=this.configuration.accessToken;if(e)return"function"==typeof e?e:()=>e}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}constructor(e={}){this.configuration=e}}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.keys(e).map(n=>{let l=t+(t.length?"[".concat(n,"]"):n),o=e[n];if(o instanceof Array){let e=o.map(e=>encodeURIComponent(String(e))).join("&".concat(encodeURIComponent(l),"="));return"".concat(encodeURIComponent(l),"=").concat(e)}return o instanceof Date?"".concat(encodeURIComponent(l),"=").concat(encodeURIComponent(o.toISOString())):o instanceof Object?a(o,l):"".concat(encodeURIComponent(l),"=").concat(encodeURIComponent(String(o)))}).filter(e=>e.length>0).join("&")}t.Configuration=l,t.exists=function(e,t){let n=e[t];return null!=n},t.querystring=a,t.mapValues=function(e,t){return Object.keys(e).reduce((n,l)=>({...n,[l]:t(e[l])}),{})},t.canConsumeForm=function(e){for(let t of e)if("multipart/form-data"===t.contentType)return!0;return!1},t.JSONApiResponse=class{async value(){return this.transformer(await this.raw.json())}constructor(e,t=e=>e){this.raw=e,this.transformer=t}},t.VoidApiResponse=class{async value(){}constructor(e){this.raw=e}},t.BlobApiResponse=class{async value(){return await this.raw.blob()}constructor(e){this.raw=e}},t.TextApiResponse=class{async value(){return await this.raw.text()}constructor(e){this.raw=e}}},94523:function(e,t,n){"use strict";n.d(t,{Z9:function(){return el},Wk:function(){return eo},dy:function(){return ew},Ng:function(){return em.f},cC:function(){return ef.o},sc:function(){return ez},P1:function(){return ep.Z},kH:function(){return V},MY:function(){return eE},wb:function(){return eG},m9:function(){return eV},Dw:function(){return eq},qh:function(){return eJ},NZ:function(){return eX},Vw:function(){return Y},qZ:function(){return e8},cE:function(){return E},o5:function(){return T}});var l,a,o,i=n(2784),r=n(5163),s=n(28535),d=n(75078),u=n(79626),c=n(332),m=n(43679),f=n(34071),p=n(39429),g=n(48394),h=n(59576),b=n(68023),y=n(91982),v=n(84586),k=n(91148),x=n(82115),w=n(93429),S=n(50423),C=n(7165),z=n(88241),A=n(46353),I=new(n.n(A)()),j="mobile"===I.getDevice().type,F=null===(l=I.getOS().name)||void 0===l?void 0:l.includes("Windows"),B=n(77533),M=function(e){var t=e.shortcut;return i.createElement(B.x,{display:"inline",as:"span",ml:2,color:"gray.500"},E(t))},E=function(e){return e.replaceAll("Mod+",F?"Ctrl+":"⌘+").replaceAll("Alt+",F?"Alt+":"Option+")},_=function(){function e(){this.hideFns=[]}return e.prototype.hide=function(){this.hideFns.forEach(function(e){return e()})},e.prototype.subscribe=function(e){var t=this;return this.hideFns.push(e),function(){return t.unsubscribe(e)}},e.prototype.unsubscribe=function(e){var t=this.hideFns.indexOf(e);t>-1&&this.hideFns.splice(t,1)},e}(),O=i.createContext(null),P=function(e){var t=i.useContext(O);i.useEffect(function(){t&&e&&e.hide&&t.subscribe(function(){e.isOpen&&e.hide()})},[t,e])},T=function(){var e=(0,i.useMemo)(function(){return new _},[]),t=(0,i.useMemo)(function(){return function(t){var n=t.children;return i.createElement(O.Provider,{value:e},n)}},[e]);return{hideTooltips:(0,i.useCallback)(function(){return e.hide()},[e]),GammaTooltipHiderContext:t}},R=n(18292),N=n(96860),L=n(40853),D=n(70339),W=n(21898),U=n(79729),H=n(2208),G={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},q=(0,h.m)(C.E.div),V=(0,b.G)(function(e,t){var n,l,a,o,s,d,b,C,A,I,F,B,E,_,O,T,V,K,Y,$,J,X,Z,Q,ee,et,en,el,ea,eo,ei,er,es,ed,eu,ec,em,ef,ep,eg,eh,eb,ey,ev,ek=(0,y.mq)("Tooltip",e),ex=(0,v.Lr)(e),ew=(0,k.F)(),eS=j&&!e.allowMobileTouch,eC=j&&e.allowMobileTouch,ez=ex.children,eA=ex.label,eI=ex.shortcut,ej=ex.shouldWrapChildren,eF=ex["aria-label"],eB=ex.hasArrow,eM=ex.bg,eE=ex.portalProps,e_=(0,r._T)(ex,["children","label","shortcut","shouldWrapChildren","aria-label","hasArrow","bg","portalProps"]);eM&&(ek.bg=eM,ek[u.Dq.arrowBg.var]=(0,x.K1)(ew,"colors",eM));var eO=(void 0===(n=(0,r.pi)((0,r.pi)({},e_),{direction:ew.direction}))&&(n={}),a=void 0===(l=n.openDelay)?0:l,s=void 0===(o=n.closeDelay)?0:o,b=void 0===(d=n.closeOnClick)||d,C=n.closeOnMouseDown,A=n.onOpen,I=n.onClose,F=n.placement,B=n.id,E=n.isOpen,_=n.defaultIsOpen,T=void 0===(O=n.arrowSize)?10:O,V=n.arrowShadowColor,K=n.arrowPadding,Y=n.modifiers,$=n.isDisabled,J=n.gutter,X=n.offset,Z=n.direction,Q=(0,r._T)(n,["openDelay","closeDelay","closeOnClick","closeOnMouseDown","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"]),et=(ee=(0,R.q)({isOpen:E,defaultIsOpen:_,onOpen:A,onClose:I})).isOpen,en=ee.onOpen,el=ee.onClose,eo=(ea=(0,D.D)({enabled:et,placement:F,arrowPadding:K,modifiers:Y,gutter:J,offset:X,direction:Z})).referenceRef,ei=ea.getPopperProps,er=ea.getArrowInnerProps,es=ea.getArrowProps,ed=(0,N.Me)(B,"tooltip"),eu=i.useRef(null),ec=i.useRef(),em=i.useRef(),ef=i.useCallback(function(){$||(ec.current=window.setTimeout(en,a))},[$,en,a]),ep=i.useCallback(function(){ec.current&&clearTimeout(ec.current),em.current=window.setTimeout(el,s)},[s,el]),eg=i.useCallback(function(){b&&ep()},[b,ep]),eh=i.useCallback(function(){C&&ep()},[C,ep]),i.useCallback(function(e){et&&"Escape"===e.key&&ep()},[et,ep]),i.useEffect(function(){return function(){clearTimeout(ec.current),clearTimeout(em.current)}},[]),(0,L.O)("mouseleave",ep,function(){return eu.current}),eb=i.useCallback(function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),(0,r.pi)((0,r.pi)({},e),{ref:(0,W.l)(eu,t,eo),onMouseEnter:(0,U.v0)(e.onMouseEnter,ef),onClick:(0,U.v0)(e.onClick,eg),onMouseDown:(0,U.v0)(e.onMouseDown,eh),onFocus:(0,U.v0)(e.onFocus,ef),onBlur:(0,U.v0)(e.onBlur,ep),"aria-describedby":et?ed:void 0})},[ef,ep,eh,et,ed,eg,eo]),ey=i.useCallback(function(e,t){var n;return void 0===e&&(e={}),void 0===t&&(t=null),ei((0,r.pi)((0,r.pi)({},e),{style:(0,r.pi)((0,r.pi)({},e.style),((n={})[u.Dq.arrowSize.var]=T?(0,H.px)(T):void 0,n[u.Dq.arrowShadowColor.var]=V,n))}),t)},[ei,T,V]),{isOpen:et,show:ef,hide:ep,getTriggerProps:eb,getTooltipProps:i.useCallback(function(e,t){return void 0===e&&(e={}),void 0===t&&(t=null),(0,r.pi)((0,r.pi)((0,r.pi)({ref:t},Q),e),{id:ed,role:"tooltip",style:(0,r.pi)((0,r.pi)({},e.style),{position:"relative",transformOrigin:u.Dq.transformOrigin.varRef})})},[Q,ed]),getTooltipPositionerProps:ey,getArrowProps:es,getArrowInnerProps:er});if(P(eO),(0,w.HD)(ez)||ej)ev=i.createElement(h.m.span,(0,r.pi)({tabIndex:0},eO.getTriggerProps()),ez);else{var eP=i.Children.only(ez);ev=i.cloneElement(eP,eO.getTriggerProps(eP.props,eP.ref))}var eT=!!eF,eR=eO.getTooltipProps({},t),eN=eT?(0,x.CE)(eR,["role","id"]):eR,eL=(0,x.ei)(eR,["role","id"]);return!eA||eS?i.createElement(i.Fragment,null,ez):eC?i.createElement(m.J,{variant:"tooltip"},i.createElement(f.x,null,ev),i.createElement(c.h,{appendToParentPortal:!1},i.createElement(p.y,null,i.createElement(g.b,null,eA)))):i.createElement(i.Fragment,null,ev,i.createElement(z.M,null,eO.isOpen&&i.createElement(c.h,(0,r.pi)({},eE),i.createElement(h.m.div,(0,r.pi)({},eO.getTooltipPositionerProps(),{__css:{zIndex:ek.zIndex,pointerEvents:"none"}}),i.createElement(q,(0,r.pi)({variants:G},eN,{initial:"exit",animate:"enter",exit:"exit",__css:ek}),eA,eI&&i.createElement(M,{shortcut:eI}),eT&&i.createElement(S.TX,(0,r.pi)({},eL),eF),eB&&i.createElement(h.m.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},i.createElement(h.m.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:ek.bg}})))))))});w.Ts&&(V.displayName="GammaTooltip");var K=n(49929),Y=function(e){var t=e.children,n=e.nubbin,l=e.label,a=e.tooltipProps,o=e.boxProps,u=(0,r._T)(e,["children","nubbin","label","tooltipProps","boxProps"]);return i.createElement(V,(0,r.pi)({label:l||u.name},a),i.createElement(s.xu,(0,r.pi)({position:"relative"},o),i.createElement(d.q,(0,r.pi)({},u),t),i.createElement(s.xu,{bg:u.bg,pointerEvents:"none",pos:"absolute",left:"calc(50% - ".concat(4,"px)"),top:"-9px",w:"".concat(8,"px"),h:"".concat(8,"px"),transform:"rotate(45deg)",opacity:n?1:0,transitionProperty:"common",transitionDuration:"normal",transitionTimingFunction:"ease"})))},$=n(10625),J=n(67046),X=n(62614),Z=n(99058),Q=n(25481),ee=n(98621),et=n.n(ee),en=function(e,t){return e.name&&t.name?e.name.localeCompare(t.name):0},el=function(e){var t=e.count,n=e.onClick,l=e.avatars,a=e.size,o=void 0===a?"sm":a,s=e.disabled,u=e.menuListProps,m=void 0===u?{}:u,f=e.tooltipLabel,p=e.children;return i.createElement($.v,{direction:"ltr"},i.createElement(V,{label:f,"aria-label":f},i.createElement(J.j,{className:"avatar-overflow-activator",colorScheme:"gray",borderRadius:"full",as:X.z,size:o,fontWeight:"bold",fontSize:"xxs",transitionProperty:"margin",transitionDuration:"normal",shadow:"base",px:1.5},"+",t)),i.createElement(c.h,null,i.createElement(Z.q,(0,r.pi)({maxH:"500px",overflowX:"hidden",overflowY:"auto"},m),p,(0,r.ev)([],(0,r.CR)(l),!1).sort(en).map(function(e){var t=e.color||"white";return i.createElement(Q.s,{key:e.id,pointerEvents:s?"none":"auto",onClick:n?function(){return n(e)}:function(){},isDisabled:s,style:{opacity:1},icon:i.createElement(d.q,{size:o,name:e.name||e.displayName,src:e.profileImageUrl,border:"solid 2px ".concat(t),bg:t,shadow:"base",color:et()(t).isDark()?"white":"black"})},e.name)}))))},ea=n(50019),eo=function(e){var t=e.isDark,n=e.children;return i.createElement(ea.kc.Provider,{value:{colorMode:t?"dark":"light",toggleColorMode:U.ZT,setColorMode:U.ZT}},n)},ei=n(92850),er=n(88422),es=n(81821),ed=n(8989),eu=n(55070),ec=n(73200),em=n(97217),ef=n(2338),ep=n(26468),eg=(0,r.CR)((0,es.k)({strict:!0,name:"DrawerContext",errorMessage:"useDrawerContext: `context` is undefined. Seems you forgot to wrap modal components in ``"}),2),eh=eg[0],eb=eg[1],ey=(0,r.CR)((0,es.k)({name:"DrawerStylesContext",errorMessage:"useDrawerStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),2),ev=ey[0],ek=ey[1],ex={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function ew(e){var t,n=e.isOpen,l=e.onClose,a=e.placement,o=e.children,s=(0,r._T)(e,["isOpen","onClose","placement","children"]),d=(0,k.F)(),u=null===(t=d.components)||void 0===t?void 0:t.Drawer,c=function(e,t){var n,l;if(e)return null!==(l=null===(n=ex[e])||void 0===n?void 0:n[t])&&void 0!==l?l:e}(void 0===a?"right":a,d.direction),m=(0,y.jC)("Drawer",e);return i.createElement(eh,{value:{placement:c}},i.createElement(ev,{value:m},i.createElement(ei.u_,(0,r.pi)({isOpen:n,onClose:l,styleConfig:u},s),o)))}var eS=["transition","onAnimationComplete"],eC=(0,h.m)(eu.M,{shouldForwardProp:function(e){return!!eS.includes(e)||(0,ed.x)(e)}}),ez=(0,b.G)(function(e,t){var n=e.className,l=e.children,a=(0,r._T)(e,["className","children"]),o=(0,ei.vR)(),s=o.getDialogProps,d=o.getDialogContainerProps,u=o.isOpen,c=s(a,t),m=d(),f=(0,ec.cx)("chakra-modal__content",n),p=ek(),g=(0,r.pi)({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},p.dialog),b=(0,r.pi)({display:"flex",width:"100vw",height:"100vh",position:"fixed",left:0,top:0},p.dialogContainer),y=eb().placement;return i.createElement(h.m.div,(0,r.pi)({},m,{className:"chakra-modal__content-container",__css:b}),i.createElement(er.M,null,i.createElement(eC,(0,r.pi)({direction:y,in:u,className:f},c,{__css:g}),l)))});w.Ts&&(ez.displayName="DrawerContent");var eA=n(16556),eI=n(11082),ej=function(e){var t=e.icon,n=e.label;return t?i.createElement(eA.Sn,{wordBreak:"break-all"},i.createElement(eA.AD,{boxSize:"12px",as:K.G,icon:t,"aria-label":n}),n):i.createElement(eA.Sn,{wordBreak:"break-all"},n)},eF=function(e){var t=e.href,n=e.label,l=e.icon,a=e.onClick,o=e.NextLink,s=(0,r._T)(e,["href","label","icon","onClick","NextLink"]),d={size:"sm",fontSize:"xs",bgColor:"gray.200",colorScheme:"blackAlpha",_hover:{bg:"trueblue.100",color:"blackAlpha.900",textDecoration:"none"},maxW:"20ch"};return t?i.createElement(o,{href:t,passHref:!0,legacyBehavior:!0},i.createElement(eA.Vp,(0,r.pi)({"data-testid":"link-tag",as:eI.r,onClick:a},d,s),i.createElement(ej,{label:n,icon:l}))):i.createElement(eA.Vp,(0,r.pi)({onClick:a,"data-testid":"link-tag"},d,s),i.createElement(ej,{label:n,icon:l}))},eB=n(89099),eM=function(e){var t=e.count,n=e.tags,l=e.NextLink,a=e.overflowButtonLabel;return i.createElement(m.J,{isLazy:!0,trigger:"click",closeOnBlur:!0,preventOverflow:!0},i.createElement(f.x,null,i.createElement(s.xu,null,i.createElement(V,{label:a,"aria-label":a},i.createElement(X.z,{"aria-label":a,className:"link-tag-overflow-activator",bg:"gray.200",colorScheme:"blackAlpha",size:"xs",fontWeight:"medium",fontSize:"xxs",boxShadow:"none",transitionProperty:"margin",transitionDuration:"normal",shadow:"base"},"+",t)))),i.createElement(c.h,null,i.createElement(p.y,{p:3,_focus:{outline:"none"}},i.createElement(eB.E,{spacing:2},(0,r.ev)([],(0,r.CR)(n),!1).map(function(e){var t=e.id,n=e.label,a=e.href,o=e.icon;return i.createElement(eF,{key:t,NextLink:l,id:t,icon:o,label:n,href:a})})))))},eE=function(e){var t=e.tags,n=e.NextLink,l=e.max,a=void 0===l?4:l,o=e.overflowButtonLabel,r=t.length-a;return i.createElement(eB.E,{w:"100%",mb:2},(null==t?void 0:t.length)>0&&(null==t?void 0:t.slice(0,a).map(function(e){var t=e.id,l=e.label,a=e.href,o=e.icon,r=e.color;return i.createElement(eF,{key:t,id:t,label:l,icon:o,href:a,NextLink:n,color:r})})),r>0&&i.createElement(eM,{overflowButtonLabel:o,NextLink:n,count:r,tags:t}))},e_=n(27988),eO=(0,r.CR)((0,es.k)({name:"MenuStylesContext",errorMessage:"useMenuStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),2),eP=eO[0],eT=eO[1],eR={enter:{visibility:"visible",opacity:1,scale:1,transition:{duration:.2,ease:[.4,0,.2,1]}}},eN=(0,C.E)(h.m.div),eL=(0,b.G)(function(e,t){e.rootProps,e.motionProps;var n,l,a,o,d=e.children,u=(0,r._T)(e,["rootProps","motionProps","children"]),c=eT();return i.createElement(h.m.div,{__css:{zIndex:null!==(n=e.zIndex)&&void 0!==n?n:null===(l=c.list)||void 0===l?void 0:l.zIndex}},i.createElement(eN,(0,r.pi)({className:(0,ec.cx)("chakra-menu__menu-list",e.className),variants:eR,initial:!1,animate:"enter",__css:(0,r.pi)({zIndex:null!==(a=e.zIndex)&&void 0!==a?a:null===(o=c.list)||void 0===o?void 0:o.zIndex,outline:0},c.list),padding:"0",overflowY:"hidden"},u),i.createElement(s.xu,{p:2,h:"100%",maxH:e.maxH?e.maxH:"264px",overflowY:"auto"},d)))});eL.displayName="MenuList";var eD=(0,b.G)(function(e,t){var n=eT();return i.createElement(h.m.span,(0,r.pi)({ref:t},e,{__css:n.command,className:"chakra-menu__command"}))}),eW=(0,b.G)(function(e,t){var n=e.type,l=(0,r._T)(e,["type"]),a=eT(),o=l.as?null!=n?n:void 0:"button",s=(0,r.pi)({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0},a.item);return i.createElement(h.m.button,(0,r.pi)({ref:t,type:o},l,{__css:s}))}),eU=(0,b.G)(function(e,t){var n=(0,i.useRef)(null),l=e.icon,a=e.iconSpacing,o=e.command,s=e.commandSpacing,d=e.children,u=(0,r._T)(e,["icon","iconSpacing","command","commandSpacing","children"]),c=(0,e_.q)(n,t),m=l||o,f=0===u.tabIndex,p=m?i.createElement("span",{style:{pointerEvents:"none",flex:1}},d):d;return i.createElement(eW,(0,r.pi)({},u,{ref:c,bgColor:f?"trueblue.50":null,_hover:{bgColor:"trueblue.50"},className:(0,ec.cx)("chakra-menu__menuitem",u.className)}),l&&i.createElement(eH,{fontSize:"0.8em",marginEnd:void 0===a?"0.75rem":a},l),p,o&&i.createElement(eD,{marginStart:void 0===s?"0.75rem":s},o))}),eH=function(e){var t=e.className,n=e.children,l=(0,r._T)(e,["className","children"]),a=eT(),o=i.Children.only(n),s=(0,i.isValidElement)(o)?(0,i.cloneElement)(o,{focusable:"false","aria-hidden":!0,className:(0,ec.cx)("chakra-menu__icon",o.props.className)}):null,d=(0,ec.cx)("chakra-menu__icon-wrapper",t);return i.createElement(h.m.span,(0,r.pi)({className:d},l,{__css:a.icon}),s)},eG=function(e){var t=(0,y.jC)("Menu",e),n=e.children;return i.createElement(eP,{value:t},(0,U.Pu)(n))},eq=eL,eV=eU,eK=n(75009),eY=n(82554),e$=(0,C.E)(s.xu),eJ=(0,i.forwardRef)(function(e,t){var n=e.src,l=e.fallbackSrc,a=e.shouldShow,o=void 0===a||a,s=e.isDark,d=e.onClick,u=e.tooltip,c=e.label,m=(0,r._T)(e,["src","fallbackSrc","shouldShow","isDark","onClick","tooltip","label"]),f=i.createElement(e$,(0,r.pi)({ref:t,position:"relative",zIndex:"tooltip",cursor:d?"pointer":void 0,pointerEvents:d?void 0:"none",onClick:d||void 0,initial:{opacity:0},animate:{opacity:1,transition:{delay:.25,duration:.2}},exit:{opacity:0},transition:{duration:.2}},m),i.createElement(eK.E,{src:n,fallbackSrc:l,w:"300px",shadow:"lg",border:"1px solid",borderColor:void 0!==s&&s?"gray.700":"gray.200",borderRadius:"md"}),c&&i.createElement(eY.C,{position:"absolute",bottom:5,right:5,colorScheme:"gray"},c));return i.createElement(z.M,null,o&&(u?i.createElement(V,{label:u},f):f))});eJ.displayName="ScreenshotPreview";var eX=function(e){var t=e.variant,n=(0,r._T)(e,["variant"]),l=(0,y.mq)("SectionTitle",{variant:t});return i.createElement(s.xu,(0,r.pi)({as:"p",__css:l},n))},eZ=n(62202),eQ=n(15193),e0=n(10868),e1=n(48696),e2=n(39279),e4={parts:["link","item","container"],sizes:{sm:{container:null===(a=e1.rS.components.Button.sizes)||void 0===a?void 0:a.sm},xs:{container:null===(o=e1.rS.components.Button.sizes)||void 0===o?void 0:o.xs}},variants:{plainButton:function(e){return{_hover:{color:"unset"},_active:{},item:{_hover:{color:(0,e2.x)("trueblue.500","trueblue.200")(e)}}}}}},e5={baseStyle:{fontWeight:600,borderRadius:"md",transitionProperty:"common",transitionDuration:"normal"},variants:{"menu-item":function(e){return{fontWeight:"500",borderRadius:"md",color:"gray.800",borderWidth:"1px",borderColor:"transparent",_hover:{bg:"gray.100",borderColor:"gray.200"},_focus:{bg:"gray.100",borderColor:"gray.200"}}},outline:function(e){return{border:"none",shadow:"md",_before:{position:"absolute",inset:0,content:'""',borderRadius:"base",padding:"2px",border:"none",background:"gradient.blue-to-orange",backgroundSize:"400%",mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)","-webkit-mask-composite":"destination-out",maskComposite:"subtract",_hover:{filter:"brightness(120%)",backgroundSize:"100%",bg:"gradient.blue-to-orange"}}}},solid:function(e){return{shadow:"md",bg:"gradient.blue-to-orange",textShadow:"0px 1px 2px rgba(0,0,0,.5)",color:"gray.100",backgroundSize:"400%",transitionProperty:"all",transitionDuration:"normal",_hover:{filter:"brightness(120%)",backgroundSize:"200%",bg:"gradient.blue-to-orange"},"&[disabled]":{_hover:{bg:"gradient.blue-to-orange",backgroundSize:"400%"}},_active:{bg:"gradient.blue-to-orange",shadow:"md-inner",filter:"brightness(90%)",backgroundSize:"200%"}}},plain:function(e){return{color:(0,e2.x)("gray.800","gray.100")(e),shadow:"md",bg:(0,e2.x)("gradient.light","gradient.dark")(e),borderWidth:"1px",borderStyle:"solid",borderColor:(0,e2.x)("gray.200","gray.800")(e),_hover:{color:(0,e2.x)("trueblue.500","trueblue.200")(e)},_active:{shadow:"inner"}}},plainSelected:function(e){var t;return(0,r.pi)((0,r.pi)({},(null===(t=null==e5?void 0:e5.variants)||void 0===t?void 0:t.plain(e))||{}),{bg:(0,e2.x)("trueblue.50","whiteAlpha.300")(e),color:(0,e2.x)("trueblue.800","trueblue.200")(e)})},toolbar:{w:"auto",minW:"0px",margin:"0px",px:"5px",_hover:{bg:"gray.100"},borderRadius:"3px",mt:"4px",mb:"4px",h:"1.5rem"},activeToolbar:{w:"auto",minW:"0px",margin:"0px",px:"5px",bg:"trueblue.100",color:"trueblue.800",borderRadius:"3px",_hover:{bg:"trueblue.200"},mt:"4px",mb:"4px",h:"1.5rem"}}},e3={fontFamily:"heading",fontWeight:600,textTransform:"none",color:"gray.500",fontSize:"sm",letterSpacing:0},e9={parts:["th"],baseStyle:{th:(0,r.pi)({w:4},e3)},variants:{simple:{th:{color:e3.color}}},sizes:{sm:{th:{fontSize:e3.fontSize}},md:{th:{fontSize:e3.fontSize}}}},e8=(0,eZ.B1)({colors:{gradient:{light:"linear-gradient(180deg, #FFFFFF 0%, #FCF9F5 100%)",dark:"linear-gradient(180deg, #3c3838 0%, #272525 100%)","blue-to-purple":"linear-gradient(91.78deg, #3300D9 1.24%, #9D20C9 73.37%, #DF7A6C 166.1%)","blue-to-orange":"linear-gradient(92.91deg, #3300D9 2.18%, #9D20C9 44.94%, #DF7A6C 99.91%)"},gray:{50:"#F9f6f6",100:"#f7f3f2",200:"#e5e0df",300:"#cac5c4",400:"#ada8a8",500:"#8f8b8b",600:"#726e6e",700:"#565151",800:"#3c3838",900:"#272525"},linen:{50:"#FEFDFC",100:"#FCFAF8",200:"#FAF5F2",300:"#F7F1EB",400:"#F5ECE5",500:"#F2E7DE",600:"#C2B9B2",700:"#918B85",800:"#615C59",900:"#302E2C",950:"#181716"},champagne:{50:"#FDFBFA",100:"#FBF8F5",200:"#F7F1EB",300:"#F4E9E1",400:"#F0E2D7",500:"#ECDBCD",600:"#BDAFA4",700:"#8E837B",800:"#5E5852",900:"#2F2C29",950:"#181614"},sunglow:{50:"#FFFAE8",100:"#FFF5D1",200:"#FFEBA2",300:"#FFE074",400:"#FFD645",500:"#FFCC17",600:"#CCA312",700:"#997A0E",800:"#665209",900:"#332905",950:"#191402"},salmon:{50:"#FEF3F0",100:"#FDE6E1",200:"#FBCDC4",300:"#F8B5A6",400:"#F69C89",500:"#F4836B",600:"#C36956",700:"#924F40",800:"#62342B",900:"#311A15",950:"#180D0B"},shocking:{50:"#FDEBF9",100:"#FBD8F2",200:"#F6B0E5",300:"#F289D9",400:"#ED61CC",500:"#E93ABF",600:"#BA2E99",700:"#8C2373",800:"#5D174C",900:"#2F0C26",950:"#170613"},orchid:{50:"#F5E9FA",100:"#EBD2F4",200:"#D8A6E9",300:"#C479DF",400:"#B14DD4",500:"#9D20C9",600:"#7E1AA1",700:"#5E1379",800:"#3F0D50",900:"#1F0628",950:"#100314"},indigo:{50:"#EDE7F5",100:"#DACFEB",200:"#B69ED7",300:"#916EC3",400:"#6D3DAF",500:"#480D9B",600:"#3A0A7C",700:"#2B085D",800:"#1D053E",900:"#0E031F",950:"#07010F"},trueblue:{50:"#eae7ff",100:"#d5ceff",200:"#aa9dff",300:"#806cff",400:"#553bff",500:"#2B0AFF",600:"#2208cc",700:"#1a0699",800:"#110466",900:"#090233",950:"#040119"},capri:{50:"#E6F9FF",100:"#CCF2FF",200:"#99E5FF",300:"#66D9FF",400:"#33CCFF",500:"#00BFFF",600:"#0099CC",700:"#007399",800:"#004C66",900:"#002633",950:"#001319"},flamingo:{50:"#FEE6E6",100:"#FDDDDD",200:"#FCC9C9",300:"#FBB6B6",400:"#F88686",500:"#F65555",600:"#F32525",700:"#D90C0C",800:"#A90909",900:"#780707",950:"#3C0303"}},zIndices:{tooltip:5600,modal:1800,dropdown:1600,modalPopover:1900},styles:{global:{"html, body":{fontFamily:"body",fontWeight:500},"#__next":{height:"100%"},":not(.chakra-dont-set-collapse) > .chakra-collapse":{overflow:"initial !important"}}},fonts:{body:"'Inter', sans-serif",heading:"'Inter', sans-serif"},fontSizes:{xxs:"11px"},components:{Alert:{parts:["container","icon"],baseStyle:{container:{fontSize:"sm",borderRadius:"base"},icon:{"align-self":"flex-start"}},variants:{light:function(e){return(0,r.pi)((0,r.pi)({},e),{container:(0,r.pi)((0,r.pi)({},e.container),{bg:"gray.50"})})}}},Avatar:{baseStyle:function(e){var t=e.colorMode;return{excessLabel:{colorScheme:"gray",color:"light"===t?"gray.900":"gray.200",bg:"light"===t?"indigo.50":"indigo.400"}}}},Breadcrumb:e4,Button:e5,CloseButton:{baseStyle:{borderRadius:"full"}},Drawer:{parts:["header","dialog"],baseStyle:{dialog:{shadow:"2xl",borderRadiusTop:"lg"},closeButton:{borderRadius:"full"},header:{letterSpacing:"-1px",fontSize:"3xl",fontWeight:"800"}}},Heading:{baseStyle:{fontWeight:800}},Menu:{parts:["menu","item","list","groupTitle","command"],baseStyle:function(e){var t=e.colorMode;return{groupTitle:(0,r.pi)((0,r.pi)({},e3),{mt:2,ml:2}),divider:{mx:-2,borderBottomColor:"light"===t?"gray.200":"gray.600"},list:{shadow:"var(--chakra-shadows-lg) !important",px:2,border:"none",borderRadius:"2xl",bg:"light"===t?"white":"gray.900",color:"light"===t?"gray.800":"gray.200"},command:{pl:4},item:{fontWeight:"500",borderRadius:"md",borderWidth:"1px",borderColor:"transparent",bg:"transparent",_focus:{bg:"light"===t?"gray.100":"gray.800",borderColor:"light"===t?"gray.200":"gray.600"}}}}},Modal:{parts:["header","dialog","closeButton"],baseStyle:{dialog:{shadow:"2xl",borderRadius:"xl"},closeButton:{borderRadius:"full"},header:{letterSpacing:"-1px",fontSize:"3xl",fontWeight:"800"}}},Popover:{parts:["content"],baseStyle:{popper:{zIndex:"popover"},content:{borderRadius:"xl",p:1,borderWidth:"1px",borderColor:"whiteAlpha.600",shadow:"xl"}},variants:{tooltip:{popper:{zIndex:"tooltip"},content:{bg:"blackAlpha.800",shadow:"md",color:"gray.100",p:0,borderRadius:"sm",fontSize:"xs",fontWeight:600,border:"0 none",w:"fit-content"},body:{px:"1.5",py:.5,maxW:"xs",w:"fit-content"}},toolbar:{content:{width:"unset",px:4,py:1,borderRadius:"full",shadow:"lg"},popper:{maxWidth:"unset",width:"unset"}}}},SectionTitle:{baseStyle:e3},Table:e9,Tabs:{parts:["tab","tablist","tabpanel"]},Tooltip:{baseStyle:function(e){return e.colorMode,{color:"gray.100",bg:"blackAlpha.800",borderWidth:"1px",borderColor:"black",borderRadius:"sm",px:1.5,py:.5,fontSize:"xs",fontWeight:600}}}},breakpoints:{sm:"30em",md:"46em",lg:"62em",xl:"78em","2xl":"96em","3xl":"112em","4xl":"128em"}},(0,eQ.A)({colorScheme:"trueblue"}),(0,e0.n)({variant:"plain",components:["Button"]}))},40917:function(){},25297:function(e,t,n){var l={"./de/messages":[16107,6107],"./en/messages":[84153],"./es/messages":[74338,4338],"./fr/messages":[77961,7961],"./id/messages":[72809,2809],"./ja/messages":[17910,7910],"./ko/messages":[36464,6464],"./pseudo-LOCALE/messages":[42910,2910],"./pt-br/messages":[47403,7403],"./ru/messages":[89864,9864],"./th/messages":[98515,8515],"./tr/messages":[8302,8302],"./zh-cn/messages":[71076,1076],"./zh-tw/messages":[64524,4524]};function a(e){if(!n.o(l,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=l[e],a=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n.t(a,23)})}a.keys=function(){return Object.keys(l)},a.id=25297,e.exports=a},36298:function(e,t,n){var l={"./aa-ER/messages.po":[60456,456],"./de/messages.po":[55097,5097],"./en/messages.po":[78904,8904],"./es/messages.po":[24890,4890],"./fr/messages.po":[8111,8111],"./id/messages.po":[52427,2427],"./ja/messages.po":[4511,4511],"./ko/messages.po":[14584,4584],"./pseudo-LOCALE/messages.po":[60584,584],"./pt-br/messages.po":[32049,2049],"./ru/messages.po":[23971,3971],"./th/messages.po":[46725,6725],"./tr/messages.po":[92973,2973],"./zh-cn/messages.po":[52035,2035],"./zh-tw/messages.po":[16838,6838]};function a(e){if(!n.o(l,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=l[e],a=t[0];return n.e(t[1]).then(function(){return n(a)})}a.keys=function(){return Object.keys(l)},a.id=36298,e.exports=a},53260:function(){},80660:function(){},37919:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":105,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"fontSize":{"default":null}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"fitType":{"default":null},"background":{"default":{"type":"none"}}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null},"generatorInput":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"aiOptions":{"default":{"imageOptions":{}}},"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock smartLayoutBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock smartLayoutBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"chart","allowFontSizes":"","dynamic":false,"group":"cardBlock layoutBlock","attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"chartType":{"default":"bar"},"chartAttributes":{"default":{}},"colorScheme":{"default":null},"dimensions":{"default":{"ratio":0.56}},"hideLabels":{"default":false},"data":{"default":null}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"id":{"default":null},"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"placeholder":{"default":null},"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},60586:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":100,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null},"generatorInput":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"fitType":{"default":null},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock smartLayoutBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock smartLayoutBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"chart","allowFontSizes":"","dynamic":false,"group":"cardBlock layoutBlock","attrs":{"id":{"default":null},"chartType":{"default":"bar"},"chartAttributes":{"default":{}},"colorScheme":{"default":null},"dimensions":{"default":{"ratio":0.56}},"hideLabels":{"default":false},"data":{"default":null}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"placeholder":{"default":null},"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},7332:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":101,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"fontSize":{"default":null}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"fitType":{"default":null},"background":{"default":{"type":"none"}}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null},"generatorInput":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock smartLayoutBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock smartLayoutBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"chart","allowFontSizes":"","dynamic":false,"group":"cardBlock layoutBlock","attrs":{"id":{"default":null},"chartType":{"default":"bar"},"chartAttributes":{"default":{}},"colorScheme":{"default":null},"dimensions":{"default":{"ratio":0.56}},"hideLabels":{"default":false},"data":{"default":null}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"placeholder":{"default":null},"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},18644:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":102,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"fontSize":{"default":null}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"fitType":{"default":null},"background":{"default":{"type":"none"}}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null},"generatorInput":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"aiOptions":{"default":{"imageOptions":{}}},"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock smartLayoutBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock smartLayoutBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"chart","allowFontSizes":"","dynamic":false,"group":"cardBlock layoutBlock","attrs":{"id":{"default":null},"chartType":{"default":"bar"},"chartAttributes":{"default":{}},"colorScheme":{"default":null},"dimensions":{"default":{"ratio":0.56}},"hideLabels":{"default":false},"data":{"default":null}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"placeholder":{"default":null},"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},18306:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":103,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"fontSize":{"default":null}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"fitType":{"default":null},"background":{"default":{"type":"none"}}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null},"generatorInput":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"aiOptions":{"default":{"imageOptions":{}}},"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock smartLayoutBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock smartLayoutBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"chart","allowFontSizes":"","dynamic":false,"group":"cardBlock layoutBlock","attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"chartType":{"default":"bar"},"chartAttributes":{"default":{}},"colorScheme":{"default":null},"dimensions":{"default":{"ratio":0.56}},"hideLabels":{"default":false},"data":{"default":null}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"placeholder":{"default":null},"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},42019:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":104,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"fontSize":{"default":null}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"fitType":{"default":null},"background":{"default":{"type":"none"}}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null},"generatorInput":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"aiOptions":{"default":{"imageOptions":{}}},"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock smartLayoutBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock smartLayoutBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"chart","allowFontSizes":"","dynamic":false,"group":"cardBlock layoutBlock","attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"chartType":{"default":"bar"},"chartAttributes":{"default":{}},"colorScheme":{"default":null},"dimensions":{"default":{"ratio":0.56}},"hideLabels":{"default":false},"data":{"default":null}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"placeholder":{"default":null},"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},12851:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":105,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"fontSize":{"default":null}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"fitType":{"default":null},"background":{"default":{"type":"none"}}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null},"generatorInput":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"aiOptions":{"default":{"imageOptions":{}}},"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock smartLayoutBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock smartLayoutBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"chart","allowFontSizes":"","dynamic":false,"group":"cardBlock layoutBlock","attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"chartType":{"default":"bar"},"chartAttributes":{"default":{}},"colorScheme":{"default":null},"dimensions":{"default":{"ratio":0.56}},"hideLabels":{"default":false},"data":{"default":null}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"id":{"default":null},"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"placeholder":{"default":null},"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},83316:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":14,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"underline","parseDOM":[{"tag":"u"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]}],"nodes":[{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"gridLayout","content":"gridCell gridCell+","group":"block","selectable":false,"defining":false,"isolating":true,"attrs":{"columns":{"default":2}},"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"basic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"block+","group":"block","selectable":false,"draggable":false,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"source":{"default":null},"fill":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"img[src]"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"embedUrl":{"default":null},"source":{"default":null},"fill":{"default":false},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"url":{"default":null},"fill":{"default":false},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]}]}}')},84042:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":15,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"underline","parseDOM":[{"tag":"u"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]}],"nodes":[{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"gridLayout","content":"gridCell gridCell+","group":"block","selectable":false,"defining":false,"isolating":true,"attrs":{"columns":{"default":2}},"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"basic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"block+","group":"block","selectable":false,"draggable":false,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"source":{"default":null},"fill":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"img[src]"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"fill":{"default":false},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"url":{"default":null},"fill":{"default":false},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]}]}}')},4317:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":16,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"underline","parseDOM":[{"tag":"u"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=paragraph]"}]},{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"source":{"default":null},"fill":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell gridCell+","group":"block","selectable":false,"defining":false,"isolating":true,"attrs":{"columns":{"default":2}},"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"div[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"block+","group":"block","selectable":false,"draggable":false,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"img[src]"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"fill":{"default":false},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"url":{"default":null},"fill":{"default":false},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]}]}}')},98955:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":17,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=paragraph]"}]},{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"source":{"default":null},"fill":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell gridCell+","group":"block","selectable":false,"defining":false,"isolating":true,"attrs":{"columns":{"default":2}},"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"div[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"block+","group":"block","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"fill":{"default":false},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"url":{"default":null},"fill":{"default":false},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},2332:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":18,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=paragraph]"}]},{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"source":{"default":null},"fill":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell gridCell+","group":"block","selectable":false,"defining":false,"isolating":true,"attrs":{"columns":{"default":2}},"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"div[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"block+","group":"block","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"fill":{"default":false},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"url":{"default":null},"fill":{"default":false},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},60002:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":19,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=paragraph]"}]},{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"source":{"default":null},"fill":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell gridCell+","group":"block","selectable":false,"defining":false,"isolating":true,"attrs":{"columns":{"default":2}},"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"div[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"block+","group":"block","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"fill":{"default":false},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"url":{"default":null},"fill":{"default":false},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},81663:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":20,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=paragraph]"}]},{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"source":{"default":null},"fill":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell gridCell+","group":"block","selectable":false,"defining":false,"isolating":true,"attrs":{"columns":{"default":2}},"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"div[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"block+","group":"block","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"fill":{"default":false},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"url":{"default":null},"fill":{"default":false},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},7932:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":21,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"source":{"default":null},"fill":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell gridCell+","group":"block","selectable":false,"defining":false,"isolating":true,"attrs":{"columns":{"default":2}},"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"span[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"block+","group":"block","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"fill":{"default":false},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"url":{"default":null},"fill":{"default":false},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},38500:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":22,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"cardMention\\"]","priority":51}]},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"source":{"default":null},"fill":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell gridCell+","group":"block","selectable":false,"defining":false,"isolating":true,"attrs":{"columns":{"default":2}},"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"span[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"block+","group":"block","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"fill":{"default":false},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"url":{"default":null},"fill":{"default":false},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},54595:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":23,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"cardMention\\"]","priority":51}]},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell gridCell+","group":"block","selectable":false,"defining":false,"isolating":true,"attrs":{"columns":{"default":2}},"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"span[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"block+","group":"block","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},52393:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":24,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"cardMention\\"]","priority":51}]},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell+","group":"block","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"span[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"block+","group":"block","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":false,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":true,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},64096:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":25,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"cardMention\\"]","priority":51}]},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"span[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"(fullWidthBlock | block)+","group":"fullWidthBlock","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":true,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},23056:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":26,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"cardMention\\"]","priority":51}]},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"span[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":true,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},27207:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":27,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"cardMention\\"]","priority":51}]},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"span[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":true,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},1385:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":28,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"cardMention\\"]","priority":51}]},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"span[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":true,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},9780:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":29,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"cardMention\\"]","priority":51}]},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"table","tableRole":"table","content":"tableRow+","group":"block","isolating":true,"parseDOM":[{"tag":"table"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"span[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"tableRow","tableRole":"row","content":"(tableCell | tableHeader)*","parseDOM":[{"tag":"tr"}]},{"name":"tableHeader","tableRole":"header_cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"th"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1},"colwidth":{"default":null}},"parseDOM":[{"tag":"td"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":true,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},51980:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":30,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"cardMention\\"]","priority":51}]},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"block","isolating":true,"attrs":{"colWidths":{"default":[]}},"parseDOM":[{"tag":"table"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"span[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"tableRow","tableRole":"row","content":"tableCell+","parseDOM":[{"tag":"tr"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1}},"parseDOM":[{"tag":"td"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":true,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},53176:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":31,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"cardMention\\"]","priority":51}]},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"block","isolating":true,"attrs":{"colWidths":{"default":[]}},"parseDOM":[{"tag":"table"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"span[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"tableRow","tableRole":"row","content":"tableCell+","parseDOM":[{"tag":"tr"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1}},"parseDOM":[{"tag":"td"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"drawing","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"page":{"default":null},"assets":{"default":{}},"width":{"default":null},"height":{"default":null}},"parseDOM":[{"tag":"div[class=drawing]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":true,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},73832:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":32,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"cardMention\\"]","priority":51}]},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"block","isolating":true,"attrs":{"colWidths":{"default":[]}},"parseDOM":[{"tag":"table"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"span[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"tableRow","tableRole":"row","content":"tableCell+","parseDOM":[{"tag":"tr"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1}},"parseDOM":[{"tag":"td"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"drawing","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null}},"parseDOM":[{"tag":"div[class=drawing]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":true,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},13900:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":33,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"cardMention\\"]","priority":51}]},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"block","isolating":true,"attrs":{"colWidths":{"default":[]}},"parseDOM":[{"tag":"table"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"span[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"tableRow","tableRole":"row","content":"tableCell+","parseDOM":[{"tag":"tr"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1}},"parseDOM":[{"tag":"td"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"drawing","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}},"parseDOM":[{"tag":"div[class=drawing]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":true,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},47580:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":34,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"attrs":{"href":{"default":""}},"parseDOM":[{"tag":"a[href]"}]},{"name":"code","excludes":"_","code":true,"parseDOM":[{"tag":"code"}]},{"name":"strike","parseDOM":[{"tag":"s"},{"tag":"del"},{"tag":"strike"},{"style":"text-decoration","consuming":false}]},{"name":"bold","parseDOM":[{"tag":"strong"},{"tag":"b"},{"style":"font-weight"}]},{"name":"italic","parseDOM":[{"tag":"em"},{"tag":"i"},{"style":"font-style=italic"}]},{"name":"underline","parseDOM":[{"tag":"u"}]},{"name":"highlight","attrs":{"variant":{"default":"primary"}},"parseDOM":[{"tag":"mark"}]},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}},"parseDOM":[{"tag":"span[class=footnote-label]"}]}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"span[data-type=\\"mention\\"]"}]},{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"cardMention\\"]","priority":51}]},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}},"parseDOM":[{"tag":"a[data-type=\\"docMention\\"]","priority":51}]},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"p"}]},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"block","isolating":true,"attrs":{"colWidths":{"default":[]}},"parseDOM":[{"tag":"table"}]},{"name":"image","group":"block","inline":false,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}},"parseDOM":[{"tag":"img[src], img[tempUrl]"}]},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}},"parseDOM":[{"tag":"div[class=media-placeholder]"}]},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false,"isolating":true,"parseDOM":[{"tag":"div[class=grid-layout]"}]},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}},"parseDOM":[{"tag":"span[class=footnote]"}]},{"name":"hardBreak","group":"inline","inline":true,"selectable":false,"parseDOM":[{"tag":"br"}]},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"isolating":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}},"parseDOM":[{"tag":"div[class=gamma-doc]"}]},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"draggable":true,"defining":false,"isolating":true,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}},"parseDOM":[{"tag":"div[class=gamma-card]"}]},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"bullet\\"]"}]},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}},"parseDOM":[{"tag":"li[variant=\\"numbered\\"]"}]},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}},"parseDOM":[{"tag":"li[variant=\\"todo\\"]"}]},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"div[class=title]"}]},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}},"parseDOM":[{"tag":"h1","attrs":{"level":1}},{"tag":"h2","attrs":{"level":2}},{"tag":"h3","attrs":{"level":3}}]},{"name":"blockquote","content":"block+","group":"block","defining":true,"parseDOM":[{"tag":"blockquote"}]},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}},"parseDOM":[{"tag":"pre","preserveWhitespace":"full"}]},{"name":"tableRow","tableRole":"row","content":"tableCell+","parseDOM":[{"tag":"tr"}]},{"name":"tableCell","tableRole":"cell","content":"block+","isolating":true,"attrs":{"colspan":{"default":1},"rowspan":{"default":1}},"parseDOM":[{"tag":"td"}]},{"name":"video","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}},"parseDOM":[{"tag":"div[class=video]"}]},{"name":"embed","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}},"parseDOM":[{"tag":"div[class=embed]"}]},{"name":"drawing","group":"block","atom":true,"selectable":true,"draggable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}},"parseDOM":[{"tag":"div[class=drawing]"}]},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}},"parseDOM":[{"tag":"span[class=emoji]"}]},{"name":"gridCell","content":"block+","selectable":false,"defining":true,"isolating":true,"parseDOM":[{"tag":"div[class=grid-cell]"}]},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}},"parseDOM":[{"tag":"div[class=contributors]"}]}]}}')},27784:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":35,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"excludes":"underline footnoteLabel","attrs":{"href":{"default":""}}},{"name":"code","excludes":"_","code":true},{"name":"strike"},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"highlight","attrs":{"variant":{"default":"primary"}}},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"block","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block","inline":false,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false},{"name":"footnote","content":"block+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"hardBreak","group":"inline","inline":true,"selectable":false},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"block+","group":"block","defining":true},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"block+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"block+","selectable":false,"defining":true},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}}}]}}')},71115:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":36,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"excludes":"underline footnoteLabel","attrs":{"href":{"default":""}}},{"name":"code","excludes":"_","code":true},{"name":"strike"},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"highlight","attrs":{"variant":{"default":"primary"}}},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block","inline":false,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"hardBreak","group":"inline","inline":true,"selectable":false},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"block+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","selectable":false,"defining":true},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}}}]}}')},23369:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":37,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"excludes":"underline footnoteLabel","attrs":{"href":{"default":""}}},{"name":"code","excludes":"_","code":true},{"name":"strike"},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"highlight","attrs":{"variant":{"default":"primary"}}},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block","inline":false,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"hardBreak","group":"inline","inline":true,"selectable":false},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"block+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","selectable":false,"defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","selectable":false,"defining":true},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}}}]}}')},47013:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":38,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"excludes":"underline footnoteLabel","attrs":{"href":{"default":""}}},{"name":"code","excludes":"_","code":true},{"name":"strike"},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"highlight","attrs":{"variant":{"default":"primary"}}},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","selectable":false,"attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block","inline":false,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"hardBreak","group":"inline","inline":true,"selectable":false},{"name":"text","group":"inline"},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"bullet","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"block+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"codeBlock","content":"text*","marks":"","group":"block","selectable":false,"code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","selectable":false,"defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","selectable":false,"defining":true},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}}}]}}')},88951:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":39,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"excludes":"underline footnoteLabel","attrs":{"href":{"default":""}}},{"name":"code","inclusive":false,"excludes":"_","code":true},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"highlight","attrs":{"variant":{"default":"primary"}}},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","selectable":false,"attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block","inline":false,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"mediaPlaceholder","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"text","group":"inline"},{"name":"hardBreak","group":"inline","inline":true,"selectable":false},{"name":"bullet","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"block+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"codeBlock","content":"text*","marks":"","group":"block","selectable":false,"code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","selectable":false,"defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","selectable":false,"defining":true},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}}}]}}')},75238:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":40,"schema":{"topNode":"doc","marks":[{"name":"link","inclusive":false,"excludes":"underline footnoteLabel","attrs":{"href":{"default":""}}},{"name":"code","inclusive":false,"excludes":"_","code":true},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"highlight","attrs":{"variant":{"default":"primary"}}},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","selectable":false,"attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block media","inline":false,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","content":"media*","group":"fullWidthBlock layoutBlock","selectable":true,"attrs":{"thumbHeight":{"default":null}}},{"name":"mediaPlaceholder","group":"block media","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"text","group":"inline"},{"name":"hardBreak","group":"inline","inline":true,"selectable":false},{"name":"bullet","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"block+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"codeBlock","content":"text*","marks":"","group":"block","selectable":false,"code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","selectable":false,"defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block media","atom":true,"selectable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block media","atom":true,"selectable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","selectable":false,"defining":true},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}}}]}}')},72235:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":41,"schema":{"topNode":"doc","marks":[{"name":"code","inclusive":false,"excludes":"_","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"link","inclusive":false,"excludes":"underline footnoteLabel","attrs":{"href":{"default":""}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","inclusive":false,"excludes":"link underline","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"selectable":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","selectable":false,"attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block media","inline":false,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","content":"media*","group":"fullWidthBlock layoutBlock","selectable":true,"attrs":{"thumbHeight":{"default":null}}},{"name":"mediaPlaceholder","group":"block media","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","selectable":false,"defining":false},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"doc","content":"document"},{"name":"document","content":"card+","selectable":false,"defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","selectable":false,"defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"text","group":"inline"},{"name":"hardBreak","group":"inline","inline":true,"selectable":false},{"name":"bullet","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","selectable":false,"defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"block+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"codeBlock","content":"text*","marks":"","group":"block","selectable":false,"code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","selectable":false,"defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block media","atom":true,"selectable":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block media","atom":true,"selectable":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"selectable":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"selectable":false,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","selectable":false,"defining":true},{"name":"contributors","group":"block","atom":true,"selectable":true,"attrs":{"horizontalAlign":{"default":"left"}}}]}}')},55843:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":42,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"link","attrs":{"href":{"default":""}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"mediaPlaceholder","group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"doc","content":"document"},{"name":"document","content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"text","group":"inline"},{"name":"hardBreak","group":"inline","inline":true},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"block+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","defining":true},{"name":"contributors","group":"block","atom":true,"attrs":{"horizontalAlign":{"default":"left"}}}]}}')},20429:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":43,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"link","attrs":{"href":{"default":""}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"doc","content":"document"},{"name":"document","content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","group":"inline"},{"name":"hardBreak","group":"inline","inline":true},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"block+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","defining":true},{"name":"contributors","group":"block","atom":true,"attrs":{"horizontalAlign":{"default":"left"}}}]}}')},36271:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":44,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"yellow"}}},{"name":"link","attrs":{"href":{"default":""}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"doc","content":"document"},{"name":"document","content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","group":"inline"},{"name":"hardBreak","group":"inline","inline":true},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"block+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","defining":true},{"name":"contributors","group":"block","atom":true,"attrs":{"horizontalAlign":{"default":"left"}}}]}}')},90670:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":45,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"yellow"}}},{"name":"link","attrs":{"href":{"default":""}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"doc","content":"document"},{"name":"document","content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","group":"inline"},{"name":"hardBreak","group":"inline","inline":true},{"name":"math_inline","content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"block+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","defining":true},{"name":"contributors","group":"block","atom":true,"attrs":{"horizontalAlign":{"default":"left"}}}]}}')},78985:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":46,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","content":"media*","group":"fullWidthBlock layoutBlock calloutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"doc","content":"document"},{"name":"document","content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","group":"inline"},{"name":"hardBreak","group":"inline","inline":true},{"name":"math_inline","content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","defining":true},{"name":"contributors","group":"block","atom":true,"attrs":{"horizontalAlign":{"default":"left"}}}]}}')},87601:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":47,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"doc","content":"document"},{"name":"document","content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","group":"inline"},{"name":"hardBreak","group":"inline","inline":true},{"name":"math_inline","content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","defining":true},{"name":"contributors","group":"block","atom":true,"attrs":{"horizontalAlign":{"default":"left"}}}]}}')},72040:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":48,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false,"attrs":{"colWidths":{"default":[]}}},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"doc","content":"document"},{"name":"document","content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","group":"inline"},{"name":"hardBreak","group":"inline","inline":true},{"name":"math_inline","content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","defining":true},{"name":"contributors","group":"block","atom":true,"attrs":{"horizontalAlign":{"default":"left"}}}]}}')},18703:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":49,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false,"attrs":{"colWidths":{"default":[]}}},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"doc","content":"document"},{"name":"document","content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","group":"inline"},{"name":"hardBreak","group":"inline","inline":true},{"name":"math_inline","content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","content":"smartLayoutCell+","group":"block","attrs":{"variantKey":{"default":null},"options":{"default":{}}}},{"name":"smartLayoutCell","content":"block+","attrs":{"options":{"default":{}},"width":{"default":null}}},{"name":"contributors","group":"block","atom":true,"attrs":{"horizontalAlign":{"default":"left"}}}]}}')},48559:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":50,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":"left"},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false,"attrs":{"colWidths":{"default":[]}}},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"doc","content":"document"},{"name":"document","content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","group":"inline"},{"name":"hardBreak","group":"inline","inline":true},{"name":"math_inline","content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":"left"},"level":{"default":1}}},{"name":"blockquote","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":"left"}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":"left"},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","content":"smartLayoutCell+","group":"block","attrs":{"variantKey":{"default":null},"options":{"default":{}}}},{"name":"smartLayoutCell","content":"block+","attrs":{"options":{"default":{}},"width":{"default":null}}},{"name":"contributors","group":"block","atom":true,"attrs":{"horizontalAlign":{"default":"left"}}},{"name":"tableOfContents","group":"block","atom":true,"attrs":{"nested":{"default":false}}}]}}')},41431:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":51,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false,"attrs":{"colWidths":{"default":[]}}},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"doc","content":"document"},{"name":"document","content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","group":"inline"},{"name":"hardBreak","group":"inline","inline":true},{"name":"math_inline","content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","content":"smartLayoutCell+","group":"block","attrs":{"variantKey":{"default":null},"options":{"default":{}}}},{"name":"smartLayoutCell","content":"block+","attrs":{"options":{"default":{}},"width":{"default":null}}},{"name":"contributors","group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","group":"block","atom":true,"attrs":{"nested":{"default":false}}}]}}')},75129:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":52,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false,"attrs":{"colWidths":{"default":[]}}},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"doc","content":"document"},{"name":"document","content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","group":"inline"},{"name":"hardBreak","group":"inline","inline":true},{"name":"math_inline","content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"fontSize":{"default":null},"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"fontSize":{"default":null},"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"fontSize":{"default":null},"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","content":"smartLayoutCell+","group":"block","attrs":{"variantKey":{"default":null},"options":{"default":{}}}},{"name":"smartLayoutCell","content":"block+","attrs":{"options":{"default":{}},"width":{"default":null}}},{"name":"contributors","group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","group":"block","atom":true,"attrs":{"nested":{"default":false}}}]}}')},71991:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":53,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false,"attrs":{"colWidths":{"default":[]}}},{"name":"footnote","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"doc","content":"document"},{"name":"document","content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","group":"inline"},{"name":"hardBreak","group":"inline","inline":true},{"name":"math_inline","content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","content":"inline*","group":"block","defining":true,"attrs":{"fontSize":{"default":null},"indent":{"default":0}}},{"name":"numbered","content":"inline*","group":"block","defining":true,"attrs":{"fontSize":{"default":null},"indent":{"default":0}}},{"name":"todo","content":"inline*","group":"block","defining":true,"attrs":{"fontSize":{"default":null},"indent":{"default":0},"checked":{"default":false}}},{"name":"title","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","content":"smartLayoutCell+","group":"block","attrs":{"variantKey":{"default":null},"options":{"default":{}}}},{"name":"smartLayoutCell","content":"block+","attrs":{"options":{"default":{}},"width":{"default":null}}},{"name":"contributors","group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","group":"block","atom":true,"attrs":{"nested":{"default":false}}}]}}')},37121:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":54,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","allowFontSizes":"","group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","allowFontSizes":"","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false,"attrs":{"colWidths":{"default":[]}}},{"name":"footnote","allowFontSizes":"","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"expandableToggle","allowFontSizes":"","content":"expandableSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock fullWidthBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","content":"document"},{"name":"document","allowFontSizes":"","content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","group":"inline"},{"name":"hardBreak","allowFontSizes":"","group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","allowFontSizes":"","group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","allowFontSizes":"","group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","content":"smartLayoutCell+","group":"block","attrs":{"variantKey":{"default":null},"options":{"default":{}}}},{"name":"smartLayoutCell","allowFontSizes":"","content":"block+","attrs":{"options":{"default":{}},"width":{"default":null}}},{"name":"contributors","allowFontSizes":"","group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"expandableSummary","allowFontSizes":"heading body","content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}]}}')},67498:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":55,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","allowFontSizes":"","group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","allowFontSizes":"","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false,"attrs":{"colWidths":{"default":[]}}},{"name":"footnote","allowFontSizes":"","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"expandableToggle","allowFontSizes":"","content":"expandableSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock fullWidthBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","content":"document"},{"name":"document","allowFontSizes":"","content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","group":"inline"},{"name":"hardBreak","allowFontSizes":"","group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","allowFontSizes":"","group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","allowFontSizes":"","group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","content":"smartLayoutCell+","group":"block","attrs":{"variantKey":{"default":null},"options":{"default":{}}}},{"name":"smartLayoutCell","allowFontSizes":"","content":"block+","attrs":{"options":{"default":{}},"width":{"default":null}}},{"name":"contributors","allowFontSizes":"","group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"expandableSummary","allowFontSizes":"heading body","content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}]}}')},71891:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":56,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","allowFontSizes":"","group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","allowFontSizes":"","content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false,"attrs":{"colWidths":{"default":[]}}},{"name":"footnote","allowFontSizes":"","content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock fullWidthBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","content":"document"},{"name":"document","allowFontSizes":"","content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","group":"inline"},{"name":"hardBreak","allowFontSizes":"","group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","allowFontSizes":"","group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","allowFontSizes":"","group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","content":"smartLayoutCell+","group":"block","attrs":{"variantKey":{"default":null},"options":{"default":{}}}},{"name":"smartLayoutCell","allowFontSizes":"","content":"block+","attrs":{"options":{"default":{}},"width":{"default":null}}},{"name":"contributors","allowFontSizes":"","group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}]}}')},87104:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":57,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false,"attrs":{"colWidths":{"default":[]}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock fullWidthBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"block","attrs":{"variantKey":{"default":null},"options":{"default":{}}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},20328:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":58,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false,"attrs":{"colWidths":{"default":[]}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock fullWidthBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"block","attrs":{"variantKey":{"default":null},"options":{"default":{}}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},50513:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":59,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false,"attrs":{"colWidths":{"default":[]}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock fullWidthBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"block","attrs":{"variantKey":{"default":null},"options":{"default":{}}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},86859:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":60,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | fullWidthBlock)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false,"attrs":{"colWidths":{"default":[]}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock fullWidthBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"block","attrs":{"variantKey":{"default":null},"options":{"default":{}}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},19116:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":61,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | fullWidthBlock)+ | (cardLayoutItem)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false,"attrs":{"colWidths":{"default":[]}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock fullWidthBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}},"docFlags":{"default":{}}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | fullWidthBlock)+","attrs":{"itemId":{"default":"body"},"verticalAlign":{"default":"start"},"background":{"default":{}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"block","attrs":{"variantKey":{"default":null},"options":{"default":{}}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},39838:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":62,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"fullWidthBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"isFullWidth":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"fullWidthBlock layoutBlock","attrs":{"thumbHeight":{"default":null}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | fullWidthBlock)+ | (cardLayoutItem)+","group":"fullWidthBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"isFullWidth":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"fullWidthBlock","defining":false,"attrs":{"colWidths":{"default":[]}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock fullWidthBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}},"docFlags":{"default":{}}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | fullWidthBlock)+","attrs":{"itemId":{"default":"body"},"verticalAlign":{"default":"start"},"background":{"default":{}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"fullWidthBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"isFullWidth":{"default":true},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"fullWidthBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},83994:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":63,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | (cardLayoutItem)+","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}},"docFlags":{"default":{}}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","attrs":{"itemId":{"default":"body"},"verticalAlign":{"default":null},"background":{"default":{}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},26101:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":64,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}},"docFlags":{"default":{}}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},81961:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":65,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}},"docFlags":{"default":{}}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},80287:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":66,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}},"docFlags":{"default":{}}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},82971:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":67,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}},"docFlags":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},4781:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":68,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},82253:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":69,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},79437:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":70,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},45580:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":71,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"theme":{"default":"classic"},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},81925:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":72,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},54158:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":73,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},89375:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":74,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":"yellow"}}},{"name":"textColor","attrs":{"variant":{"default":"blue"}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},4073:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":75,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},25763:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":76,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},65874:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":77,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},56307:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":78,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},84547:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":79,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},8430:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":80,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},45779:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":81,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"block+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},84598:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":82,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","dynamic","allowGapCursor"]}}')},55112:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":83,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","dynamic","allowGapCursor"]}}')},87319:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":84,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2}","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},76351:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":85,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+"},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock cardNotesBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},76949:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":86,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},96440:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":87,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","defining":false,"attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","defining":false,"attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","defining":true,"attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","defining":true,"attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","defining":true,"attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","defining":true,"attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock","defining":true},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"defining":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","defining":true,"attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","defining":true,"attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","defining":true,"attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},77827:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":88,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},32792:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":89,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},46961:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":90,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},14367:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":91,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},66374:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":92,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null},"generatorInput":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},43546:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":93,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null},"generatorInput":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock calloutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"placeholder":{"default":null},"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},66047:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":94,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null},"generatorInput":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock smartLayoutBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock smartLayoutBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"placeholder":{"default":null},"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},55057:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":95,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null},"generatorInput":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock smartLayoutBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock smartLayoutBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"chart","allowFontSizes":"","dynamic":false,"content":"table","group":"cardBlock layoutBlock","attrs":{"id":{"default":null},"chartType":{"default":"bar"},"colorScheme":{"default":"lightest"},"dimensions":{"default":{"ratio":0.3}},"hideLabels":{"default":false},"data":{"default":null}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"placeholder":{"default":null},"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},45847:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":96,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null},"generatorInput":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"fitType":{"default":null},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock smartLayoutBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock smartLayoutBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"chart","allowFontSizes":"","dynamic":false,"content":"table","group":"cardBlock layoutBlock","attrs":{"id":{"default":null},"chartType":{"default":"bar"},"colorScheme":{"default":"lightest"},"dimensions":{"default":{"ratio":0.3}},"hideLabels":{"default":false},"data":{"default":null}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"placeholder":{"default":null},"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},44892:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":97,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null},"generatorInput":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"fitType":{"default":null},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock smartLayoutBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock smartLayoutBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"chart","allowFontSizes":"","dynamic":false,"content":"table","group":"cardBlock layoutBlock","attrs":{"id":{"default":null},"chartType":{"default":"bar"},"colorScheme":{"default":"lightest"},"dimensions":{"default":{"ratio":0.3}},"hideLabels":{"default":false},"data":{"default":null}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"placeholder":{"default":null},"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},77700:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":98,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null},"generatorInput":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"fitType":{"default":null},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock smartLayoutBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock smartLayoutBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"chart","allowFontSizes":"","dynamic":false,"content":"table","group":"cardBlock layoutBlock","attrs":{"id":{"default":null},"chartType":{"default":"bar"},"chartAttributes":{"default":{}},"colorScheme":{"default":"lightest"},"dimensions":{"default":{"ratio":0.3}},"hideLabels":{"default":false},"data":{"default":null}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"placeholder":{"default":null},"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')},84906:function(e){"use strict";e.exports=JSON.parse('{"SCHEMA_VERSION":99,"schema":{"topNode":"doc","marks":[{"name":"code","code":true},{"name":"highlight","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"textColor","attrs":{"variant":{"default":null},"hex":{"default":null}}},{"name":"footnoteLabel","attrs":{"noteId":{"default":null}}},{"name":"link","attrs":{"href":{"default":""},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null}}},{"name":"bold"},{"name":"italic"},{"name":"underline"},{"name":"strike"}],"nodes":[{"name":"mention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"label":{"default":null},"profileImageUrl":{"default":null},"mentionedById":{"default":null}}},{"name":"cardMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"docId":{"default":null},"mentionedById":{"default":null}}},{"name":"docMention","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"mentionedById":{"default":null}}},{"name":"paragraph","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"fontSize":{"default":null}}},{"name":"table","colMinPercent":10,"newColSize":20,"tableRole":"table","allowFontSizes":"","dynamic":false,"content":"tableRow+","group":"cardBlock layoutBlock footnoteBlock calloutBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"image","allowFontSizes":"","dynamic":false,"group":"block media","inline":false,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"savedMediaId":{"default":null},"src":{"default":null},"tempUrl":{"default":null},"uploadStatus":{"default":null},"meta":{"default":null},"providerMeta":{"default":null},"aiParams":{"default":null},"loadImageParams":{"default":null},"loadImageStatus":{"default":null},"loadImageId":{"default":null},"name":{"default":null},"query":{"default":null},"source":{"default":null},"showPlaceholder":{"default":null},"fullWidthBlock":{"default":false},"resize":{"default":{"clipType":null,"clipPath":null,"clipAspectRatio":null,"width":null}}}},{"name":"gallery","allowFontSizes":"","dynamic":false,"content":"media*","group":"cardBlock layoutBlock","attrs":{"horizontalAlign":{"default":null},"thumbHeight":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"card","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+ | cardLayoutItemGroup{1,2} cardNotes?","group":"cardBlock","attrs":{"id":{"default":null},"previewContent":{"default":null},"background":{"default":{"type":"none"}},"container":{"default":{}},"cardSize":{"default":"default"},"layout":{"default":"blank"},"layoutTemplateColumns":{"default":null},"generatorInput":{"default":null}}},{"name":"cardLayoutItem","allowFontSizes":"","dynamic":false,"content":"(block | cardBlock)+","group":"cardLayoutItemGroup","attrs":{"itemId":{"default":"body"},"background":{"default":{}}}},{"name":"mediaPlaceholder","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"horizontalAlign":{"default":null},"source":{"default":null},"fullWidthBlock":{"default":false}}},{"name":"gridLayout","allowFontSizes":"","dynamic":false,"content":"gridCell{1, 4}","group":"cardBlock","attrs":{"colWidths":{"default":[]},"fullWidthBlock":{"default":false}}},{"name":"smartLayout","allowFontSizes":"","dynamic":false,"content":"smartLayoutCell+","group":"cardBlock layoutBlock","attrs":{"variantKey":{},"options":{"default":{}},"fullWidthBlock":{"default":false}}},{"name":"footnote","allowFontSizes":"","dynamic":false,"content":"(block | footnoteBlock)+","group":"inline","inline":true,"atom":true,"attrs":{"noteId":{}}},{"name":"toggle","allowFontSizes":"","dynamic":false,"content":"toggleSummary (block | layoutBlock)+","group":"layoutBlock calloutBlock cardBlock smartLayoutBlock tableBlock","attrs":{"id":{"default":null}}},{"name":"doc","allowFontSizes":"","dynamic":false,"content":"document"},{"name":"document","allowFontSizes":"","dynamic":false,"content":"card+","attrs":{"docId":{"default":null},"background":{"default":{"type":"none"}},"docFlags":{"default":{}},"format":{"default":null},"customCode":{"default":{}},"settings":{"default":{}},"generateStatus":{"default":null},"generateInfo":{"default":{}}}},{"name":"cardAccentLayoutItem","allowFontSizes":"","dynamic":false,"group":"cardLayoutItemGroup","atom":true,"attrs":{"itemId":{"default":"accent"},"fitType":{"default":null},"background":{"default":{"type":"none"}}}},{"name":"cardNotes","allowFontSizes":"","dynamic":false,"content":"cardNotesBlock+","atom":true},{"name":"text","allowFontSizes":"","dynamic":false,"group":"inline"},{"name":"hardBreak","allowFontSizes":"","dynamic":false,"group":"inline","inline":true},{"name":"math_inline","allowFontSizes":"","dynamic":false,"content":"text*","group":"inline math","inline":true,"atom":true},{"name":"math_display","allowFontSizes":"","dynamic":false,"content":"text*","group":"block math","atom":true,"code":true},{"name":"bullet","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"numbered","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"fontSize":{"default":null}}},{"name":"todo","allowFontSizes":"body","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"placeholder":{"default":null},"indent":{"default":0},"checked":{"default":false},"fontSize":{"default":null}}},{"name":"title","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"heading","allowFontSizes":"","dynamic":false,"content":"inline*","group":"block cardNotesBlock","attrs":{"horizontalAlign":{"default":null},"placeholder":{"default":null},"level":{"default":1}}},{"name":"blockquote","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock tableBlock smartLayoutBlock"},{"name":"calloutBox","allowFontSizes":"","dynamic":false,"content":"(block | calloutBlock)+","group":"cardBlock layoutBlock footnoteBlock smartLayoutBlock","attrs":{"variant":{"default":"note"},"icon":{"default":true},"color":{"default":null}}},{"name":"codeBlock","allowFontSizes":"","dynamic":false,"content":"text*","marks":"","group":"block","code":true,"attrs":{"language":{"default":null}}},{"name":"button","allowFontSizes":"","dynamic":false,"content":"(text | emoji)*","marks":"","attrs":{"href":{"default":""},"variant":{"default":"solid"}}},{"name":"buttonGroup","allowFontSizes":"","dynamic":false,"content":"button{1, 3}","group":"block","attrs":{"horizontalAlign":{"default":null}}},{"name":"tableRow","tableRole":"row","allowFontSizes":"","dynamic":false,"content":"tableCell+"},{"name":"tableCell","tableRole":"cell","allowFontSizes":"","dynamic":false,"content":"(block | tableBlock)+","attrs":{"colspan":{"default":1},"rowspan":{"default":1}}},{"name":"chart","allowFontSizes":"","dynamic":false,"group":"cardBlock layoutBlock","attrs":{"id":{"default":null},"chartType":{"default":"bar"},"chartAttributes":{"default":{}},"colorScheme":{"default":"lightest"},"dimensions":{"default":{"ratio":0.56}},"hideLabels":{"default":false},"data":{"default":null}}},{"name":"video","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"embedUrl":{"default":null},"source":{"default":null},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"inline"},"fullWidthBlock":{"default":false}}},{"name":"embed","allowFontSizes":"","dynamic":false,"group":"block media","atom":true,"attrs":{"id":{"default":null},"url":{"default":null},"source":{"default":"embed.custom"},"thumbnail":{"default":null},"embed":{"default":null},"meta":{"default":null},"proxy":{"default":null},"sourceUrl":{"default":null},"displayStyle":{"default":"preview"},"fullWidthBlock":{"default":false}}},{"name":"drawing","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"page":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"fullWidthBlock":{"default":false},"width":{"default":null},"svg":{"default":null}}},{"name":"diagram","allowFontSizes":"","dynamic":false,"group":"block","atom":true,"attrs":{"id":{"default":null},"horizontalAlign":{"default":null},"shapes":{"default":null},"assets":{"default":{}},"meta":{"default":{}},"width":{"default":null},"svg":{"default":null}}},{"name":"emoji","allowFontSizes":"","dynamic":false,"group":"inline","inline":true,"atom":true,"attrs":{"id":{"default":null},"native":{"default":null}}},{"name":"divider","allowFontSizes":"","dynamic":false,"group":"block cardNotesBlock","atom":true},{"name":"gridCell","allowFontSizes":"","dynamic":false,"content":"(block | layoutBlock)+","attrs":{"verticalAlign":{"default":null}}},{"name":"smartLayoutCell","allowFontSizes":"","dynamic":false,"content":"(block | smartLayoutBlock)+","attrs":{"options":{"default":{}},"width":{"default":null},"image":{"default":null},"label":{"default":null}}},{"name":"contributors","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"horizontalAlign":{"default":null},"showTime":{"default":true},"hiddenContributorIds":{"default":[]}}},{"name":"tableOfContents","allowFontSizes":"","dynamic":true,"group":"block","atom":true,"attrs":{"nested":{"default":false}}},{"name":"toggleSummary","allowFontSizes":"heading body","dynamic":false,"content":"inline*","marks":"bold italic underline code footnoteLabel strike textColor highlight","attrs":{"placeholder":{"default":null},"fontSize":{"default":null}}}],"extendedNodeFields":["allowFontSizes","colMinPercent","newColSize","tableRole","accessoryImageKey","imageKeyPath","dynamic","allowGapCursor"]}}')}}]); //# sourceMappingURL=4639-5c0bd51f07430137.js.map