(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[16312],{60073:function(e,t,r){"use strict";r.d(t,{d:function(){return u}});var o=r(11010),n=r(72253),a=r(14932),s=r(47702),i=r(97582),c=r(30202),l=r(10777);function p(){return(p=(0,o._)(function(e){var t,r,o;return(0,i.Jh)(this,function(n){switch(n.label){case 0:return t=e.id,o=void 0===(r=e.search)?"":r,[4,fetch("/api/tile/".concat(t).concat(o))];case 1:return[4,n.sent().json()];case 2:return[2,n.sent()]}})})).apply(this,arguments)}function u(e,t){var r=e.id,o=e.type,i=(0,c.NL)().getQueryData(["".concat(o,"-").concat(r)]),u=(0,l.a)((0,a._)((0,n._)({},t),{queryKey:["".concat(o,"-").concat(r)],queryFn:function(){return function(e){return p.apply(this,arguments)}({id:r})}})),h=u.data,f=(0,s._)(u,["data"]);return(0,n._)({tile:i||h},f)}},47178:function(e,t,r){"use strict";r.d(t,{L:function(){return o}});var o=r(67294).useLayoutEffect},15896:function(e,t,r){"use strict";r.d(t,{Av:function(){return c},Ce:function(){return l},GS:function(){return s},dD:function(){return i}});var o=r(24043),n=r(67294),a=r(47178),s=function(e,t){var r=(0,o._)((0,n.useState)(t),2),s=r[0],i=r[1];return(0,a.L)(function(){var t=!0,r=window.matchMedia(e),o=function(){t&&i(r.matches)};return r.addEventListener("change",o),i(r.matches),function(){t=!1,r.removeEventListener("change",o)}},[e]),s},i=function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return s("(max-width: 767px)",e)},c=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return s("(min-width: 768px) and (max-width: 991px)",e)},l=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return s("(min-width: 768px)",e)}},79830:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return g}});var o=r(72253),n=r(14932),a=r(85893),s=r(73590),i=r(5152),c=r.n(i),l=r(45697),p=r.n(l),u=r(60073),h=r(37841),f=r(15896),d=function(e){var t,r=e.options,s=e.ratio,i=(0,f.GS)("(max-width: 768px)"),c=(0,o._)({},r.elementStyle,i&&r.elementMobileStyle),l=s||null,p=c&&c.height||null;p?(t="string"==typeof p?p:"".concat(p,"vh"),l=null):t=p;var u=l||p?t:"3vh";return(0,a.jsx)("div",{style:(0,n._)((0,o._)({},c),{height:u,paddingBottom:l?"".concat(100*l,"%"):null})})};d.propTypes={ratio:p().number,options:p().object.isRequired};var v=r(84352),m=r.n(v),y=c()(function(){return Promise.all([r.e(44219),r.e(23372),r.e(9043),r.e(33903),r.e(37830),r.e(19184),r.e(25347),r.e(97234),r.e(9041),r.e(60541),r.e(58602),r.e(85730),r.e(19948),r.e(23213),r.e(87454),r.e(49443),r.e(29608)]).then(r.bind(r,12400))},{loadableGenerated:{webpack:function(){return[12400]}}}),b=function(e){var t=e.id,r=(0,u.d)({id:t,type:"SpaceTile"}).tile,o=(null==r?void 0:r.options)||{},n=(0,h.Q)(),s=n.isManage,i=n.canEditExperimental,c=n.canCopyPaste;return s?(0,a.jsx)(y,{id:t,options:o,canEditExperimental:i,canCopyPaste:c,children:(0,a.jsx)("div",{className:m().root,children:(0,a.jsx)(d,{ratio:o.ratio,options:o})})}):(0,a.jsx)("div",{className:m().root,children:(0,a.jsx)(d,{ratio:o.ratio,options:o})})};b.propTypes={id:p().string.isRequired};var g=function(e){return(0,a.jsx)(s.Z,(0,n._)((0,o._)({},e),{className:m().tile,component:b}))}},84352:function(e){e.exports={tile:"SpaceTile_tile__AzkGT",root:"SpaceTile_root__EdsNP",rootEditable:"SpaceTile_rootEditable__2Fn48 SpaceTile_root__EdsNP"}},11987:function(e,t,r){!function(){var t={452:function(e){"use strict";e.exports=r(97334)}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var a=o[e]={exports:{}},s=!0;try{t[e](a,a.exports,n),s=!1}finally{s&&delete o[e]}return a.exports}n.ab="//";var a={};!function(){var e,t=(e=n(452))&&"object"==typeof e&&"default"in e?e.default:e,r=/https?|ftp|gopher|file/;function o(e){"string"==typeof e&&(e=y(e));var o,n,a,s,i,c,l,p,u,h=(n=(o=e).auth,a=o.hostname,s=o.protocol||"",i=o.pathname||"",c=o.hash||"",l=o.query||"",p=!1,n=n?encodeURIComponent(n).replace(/%3A/i,":")+"@":"",o.host?p=n+o.host:a&&(p=n+(~a.indexOf(":")?"["+a+"]":a),o.port&&(p+=":"+o.port)),l&&"object"==typeof l&&(l=t.encode(l)),u=o.search||l&&"?"+l||"",s&&":"!==s.substr(-1)&&(s+=":"),o.slashes||(!s||r.test(s))&&!1!==p?(p="//"+(p||""),i&&"/"!==i[0]&&(i="/"+i)):p||(p=""),c&&"#"!==c[0]&&(c="#"+c),u&&"?"!==u[0]&&(u="?"+u),{protocol:s,host:p,pathname:i=i.replace(/[?#]/g,encodeURIComponent),search:u=u.replace("#","%23"),hash:c});return""+h.protocol+h.host+h.pathname+h.search+h.hash}var s="http://",i=s+"w.w",c=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,l=/https?|ftp|gopher|file/;function p(e,t){var r="string"==typeof e?y(e):e;e="object"==typeof e?o(e):e;var n=y(t),a="";r.protocol&&!r.slashes&&(a=r.protocol,e=e.replace(r.protocol,""),a+="/"===t[0]||"/"===e[0]?"/":""),a&&n.protocol&&(a="",n.slashes||(a=n.protocol,t=t.replace(n.protocol,"")));var p=e.match(c);p&&!n.protocol&&(e=e.substr((a=p[1]+(p[2]||"")).length),/^\/\/[^/]/.test(t)&&(a=a.slice(0,-1)));var u=new URL(e,i+"/"),h=new URL(t,u).toString().replace(i,""),f=n.protocol||r.protocol;return f+=r.slashes||n.slashes?"//":"",!a&&f?h=h.replace(s,f):a&&(h=h.replace(s,"")),l.test(h)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==h.slice(-1)||(h=h.slice(0,-1)),a&&(h=a+("/"===h[0]?h.substr(1):h)),h}function u(){}u.prototype.parse=y,u.prototype.format=o,u.prototype.resolve=p,u.prototype.resolveObject=p;var h=/^https?|ftp|gopher|file/,f=/^(.*?)([#?].*)/,d=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,v=/^([a-z0-9.+-]*:)?\/\/\/*/i,m=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function y(e,r,n){if(void 0===r&&(r=!1),void 0===n&&(n=!1),e&&"object"==typeof e&&e instanceof u)return e;var a=(e=e.trim()).match(f);e=a?a[1].replace(/\\/g,"/")+a[2]:e.replace(/\\/g,"/"),m.test(e)&&"/"!==e.slice(-1)&&(e+="/");var s=!/(^javascript)/.test(e)&&e.match(d),c=v.test(e),l="";s&&(h.test(s[1])||(l=s[1].toLowerCase(),e=""+s[2]+s[3]),s[2]||(c=!1,h.test(s[1])?(l=s[1],e=""+s[3]):e="//"+s[3]),3!==s[2].length&&1!==s[2].length||(l=s[1],e="/"+s[3]));var p,y=(a?a[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),b=y&&y[1],g=new u,x="",C="";try{p=new URL(e)}catch(t){x=t,l||n||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(C="/",e=e.substr(1));try{p=new URL(e,i)}catch(e){return g.protocol=l,g.href=l,g}}g.slashes=c&&!C,g.host="w.w"===p.host?"":p.host,g.hostname="w.w"===p.hostname?"":p.hostname.replace(/(\[|\])/g,""),g.protocol=x?l||null:p.protocol,g.search=p.search.replace(/\\/g,"%5C"),g.hash=p.hash.replace(/\\/g,"%5C");var j=e.split("#");!g.search&&~j[0].indexOf("?")&&(g.search="?"),g.hash||""!==j[1]||(g.hash="#"),g.query=r?t.decode(p.search.substr(1)):g.search.substr(1),g.pathname=C+(s?p.pathname.replace(/['^|`]/g,function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(e,t){try{return decodeURIComponent(t).split("").map(function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()}).join("")}catch(e){return t}}):p.pathname),"about:"===g.protocol&&"blank"===g.pathname&&(g.protocol="",g.pathname=""),x&&"/"!==e[0]&&(g.pathname=g.pathname.substr(1)),l&&!h.test(l)&&"/"!==e.slice(-1)&&"/"===g.pathname&&(g.pathname=""),g.path=g.pathname+g.search,g.auth=[p.username,p.password].map(decodeURIComponent).filter(Boolean).join(":"),g.port=p.port,b&&!g.host.endsWith(b)&&(g.host+=b,g.port=b.slice(1)),g.href=C?""+g.pathname+g.search+g.hash:o(g);var w=/^(file)/.test(g.href)?["host","hostname"]:[];return Object.keys(g).forEach(function(e){~w.indexOf(e)||(g[e]=g[e]||null)}),g}a.parse=y,a.format=o,a.resolve=p,a.resolveObject=function(e,t){return y(p(e,t))},a.Url=u}(),e.exports=a}()},97334:function(e){!function(){"use strict";var t={815:function(e){e.exports=function(e,r,o,n){r=r||"&",o=o||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(r);var i=1e3;n&&"number"==typeof n.maxKeys&&(i=n.maxKeys);var c=e.length;i>0&&c>i&&(c=i);for(var l=0;l<c;++l){var p,u,h,f,d=e[l].replace(s,"%20"),v=d.indexOf(o);(v>=0?(p=d.substr(0,v),u=d.substr(v+1)):(p=d,u=""),h=decodeURIComponent(p),f=decodeURIComponent(u),Object.prototype.hasOwnProperty.call(a,h))?t(a[h])?a[h].push(f):a[h]=[a[h],f]:a[h]=f}return a};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,a,s,i){return(a=a||"&",s=s||"=",null===e&&(e=void 0),"object"==typeof e)?o(n(e),function(n){var i=encodeURIComponent(t(n))+s;return r(e[n])?o(e[n],function(e){return i+encodeURIComponent(t(e))}).join(a):i+encodeURIComponent(t(e[n]))}).join(a):i?encodeURIComponent(t(i))+s+encodeURIComponent(t(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var r=[],o=0;o<e.length;o++)r.push(t(e[o],o));return r}var n=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={exports:{}},s=!0;try{t[e](a,a.exports,o),s=!1}finally{s&&delete r[e]}return a.exports}o.ab="//";var n={};n.decode=n.parse=o(815),n.encode=n.stringify=o(577),e.exports=n}()},4511:function(e,t,r){"use strict";r.d(t,{SV:function(){return s}});var o=r(67294);let n=(0,o.createContext)(null),a={didCatch:!1,error:null};class s extends o.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=a}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){let{error:e}=this.state;if(null!==e){for(var t,r,o=arguments.length,n=Array(o),s=0;s<o;s++)n[s]=arguments[s];null===(t=(r=this.props).onReset)||void 0===t||t.call(r,{args:n,reason:"imperative-api"}),this.setState(a)}}componentDidCatch(e,t){var r,o;null===(r=(o=this.props).onError)||void 0===r||r.call(o,e,t)}componentDidUpdate(e,t){let{didCatch:r}=this.state,{resetKeys:o}=this.props;if(r&&null!==t.error&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,r)=>!Object.is(e,t[r]))}(e.resetKeys,o)){var n,s;null===(n=(s=this.props).onReset)||void 0===n||n.call(s,{next:o,prev:e.resetKeys,reason:"keys"}),this.setState(a)}}render(){let{children:e,fallbackRender:t,FallbackComponent:r,fallback:a}=this.props,{didCatch:s,error:i}=this.state,c=e;if(s){let e={error:i,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof t)c=t(e);else if(r)c=(0,o.createElement)(r,e);else if(null===a||(0,o.isValidElement)(a))c=a;else throw i}return(0,o.createElement)(n.Provider,{value:{didCatch:s,error:i,resetErrorBoundary:this.resetErrorBoundary}},c)}}},72564:function(e,t,r){"use strict";var o=r(69357).isUnitlessNumber,n=r(6521),a=Array.isArray,s=Object.keys,i=/^(normal|none|(\b(url\([^)]*\)|chapter_counter|attr\([^)]*\)|(no-)?(open|close)-quote|inherit)((\b\s*)|$|\s+))+)$/;function c(e,t){return o[e]||"number"!=typeof t?"content"!==e||i.test(t)||(t="'"+t.replace(/'/g,"\\'")+"'"):t=""+t+"px",n(e)+": "+t+";  "}e.exports=function(e){var t="";if(!e||0===s(e).length)return t;for(var r=s(e),o=0,n=r.length;o<n;o++){var i=r[o],l=e[i];if(a(l))for(var p=0,u=l.length;p<u;p++)t+=c(i,l[p]);else t+=c(i,l)}return t}},69357:function(e){"use strict";var t={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},r=["Webkit","ms","Moz","O"];Object.keys(t).forEach(function(e){r.forEach(function(r){t[r+e.charAt(0).toUpperCase()+e.substring(1)]=t[e]})}),e.exports={isUnitlessNumber:t,shorthandPropertyExpansions:{background:{backgroundImage:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundColor:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0}}}},6521:function(e){"use strict";var t=/^ms-/,r=/([A-Z])/g;e.exports=function(e){return e.replace(r,"-$1").toLowerCase().replace(t,"-ms-")}}}]);