1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1276],{10635:function(e,t,n){n.r(t),n.d(t,{Collection:function(){return eF},Property:function(){return es}});var r,a=n(36743),i=n(22362),o=n(67294),l=n(85893),u=n(73935);let s={table:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M2 0h10a2 2 0 012 2v10a2 2 0 01-2 2H2a2 2 0 01-2-2V2a2 2 0 012-2zm3.75 5.67v2.66h6.75V5.67H5.75zm0 4.17v2.66h5.75a1 1 0 001-1V9.84H5.75zM1.5 5.67v2.66h2.75V5.67H1.5zm0 4.17v1.66a1 1 0 001 1h1.75V9.84H1.5zm1-8.34a1 1 0 00-1 1v1.66h2.75V1.5H2.5zm3.25 0v2.66h6.75V2.5a1 1 0 00-1-1H5.75z"})})},board:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M12 1.5H2a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5V2a.5.5 0 00-.5-.5zM2 0h10a2 2 0 012 2v10a2 2 0 01-2 2H2a2 2 0 01-2-2V2a2 2 0 012-2zm1 3h2v6H3V3zm3 0h2v8H6V3zm3 0h2v4H9V3z"})})},gallery:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M12 1.5H2a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5V2a.5.5 0 00-.5-.5zM2 0h10a2 2 0 012 2v10a2 2 0 01-2 2H2a2 2 0 01-2-2V2a2 2 0 012-2zm1 3h3.5v3.5H3V3zm4.5 0H11v3.5H7.5V3zM3 7.5h3.5V11H3V7.5zm4.5 0H11V11H7.5V7.5z"})})},list:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M12 1.5H2a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5V2a.5.5 0 00-.5-.5zM2 0h10a2 2 0 012 2v10a2 2 0 01-2 2H2a2 2 0 01-2-2V2a2 2 0 012-2zm1 3h6v1.5H3V3zm0 2.5h8V7H3V5.5zM3 8h4v1.5H3V8z"})})},calendar:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M2.564 4.004c-.586 0-.71.024-.833.09a.319.319 0 00-.141.14c-.066.124-.09.247-.09.834v6.368c0 .586.024.71.09.833a.319.319 0 00.14.141c.124.066.248.09.834.09h8.872c.586 0 .71-.024.833-.09a.319.319 0 00.141-.14c.066-.124.09-.248.09-.834V5.068c0-.587-.024-.71-.09-.834a.319.319 0 00-.14-.14c-.124-.066-.248-.09-.834-.09H2.564zm0-4.004h8.872c.892 0 1.215.093 1.54.267.327.174.583.43.757.756.174.326.267.65.267 1.54v8.873c0 .892-.093 1.215-.267 1.54-.174.327-.43.583-.756.757-.326.174-.65.267-1.54.267H2.563c-.892 0-1.215-.093-1.54-.267a1.817 1.817 0 01-.757-.756C.093 12.65 0 12.327 0 11.437V2.563c0-.892.093-1.215.267-1.54.174-.327.43-.583.756-.757C1.35.093 1.673 0 2.563 0zm4.044 7.88c.179.11.318.256.418.436.1.18.148.394.148.64 0 .304-.08.597-.238.876-.16.28-.392.498-.692.65-.299.15-.685.224-1.16.224-.46 0-.827-.055-1.1-.166a1.687 1.687 0 01-.68-.492 2.227 2.227 0 01-.404-.802l.083-.127 1.37-.182.112.08c.05.258.126.431.221.52a.507.507 0 00.364.133.495.495 0 00.386-.169c.105-.115.158-.27.158-.472 0-.205-.051-.358-.15-.463a.527.527 0 00-.407-.157 1.65 1.65 0 00-.417.077l-.127-.104.07-.98.115-.091c.072.01.127.015.164.015.154 0 .28-.047.38-.144.1-.096.15-.205.15-.335a.388.388 0 00-.106-.29c-.07-.07-.168-.105-.3-.105a.444.444 0 00-.324.118c-.083.08-.143.232-.176.457l-.117.084-1.297-.233-.079-.123c.114-.435.334-.772.66-1.006.326-.234.78-.349 1.36-.349.666 0 1.153.126 1.462.384.31.259.467.589.467.982 0 .233-.064.446-.192.636a1.43 1.43 0 01-.37.365c.1.034.182.072.248.113zm1.747-.145a5.186 5.186 0 01-.806.31l-.129-.097V6.824l.07-.096c.455-.147.807-.322 1.055-.524.246-.202.439-.45.579-.747l.09-.057h1.135l.1.1v5.021l-.1.1H8.961l-.1-.1V7.428a4.053 4.053 0 01-.506.307z"})})}};function d({type:e,...t}){let n=s[e];return n?n(t):null}function c(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M13.125 10.035c-.571-.55-2.324-1.504-3.5-2.16v-.834c.224-.322.42-.671.566-1.055.394-.242.746-.702.746-1.173 0-.458-.005-.87-.47-1.208C10.305 1.558 9.436 0 7 0S3.695 1.558 3.533 3.605c-.465.338-.47.75-.47 1.208 0 .471.352.93.746 1.173.146.384.342.733.566 1.055v.834c-1.176.656-2.929 1.61-3.5 2.16C.165 10.72 0 11.812 0 14h14c0-2.188-.164-3.281-.875-3.965z"})})}function h(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M6.986 14c-1.79 0-3.582-.69-4.944-2.068-2.723-2.72-2.723-7.172 0-9.892 2.725-2.72 7.182-2.72 9.906 0A6.972 6.972 0 0114 6.996c0 1.88-.728 3.633-2.052 4.955A7.058 7.058 0 016.986 14zm3.285-6.99v1.645H5.526v-5.47h1.841v3.63h2.904v.194zm1.89-.014c0-1.379-.542-2.67-1.522-3.648-2.006-2.005-5.287-2.007-7.297-.009l-.009.009a5.168 5.168 0 000 7.295c2.01 2.007 5.297 2.007 7.306 0a5.119 5.119 0 001.521-3.647z"})})}let v={title:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M7.74 8.697a.81.81 0 01.073.308.894.894 0 01-.9.888.867.867 0 01-.825-.592l-.333-.961H2.058l-.333.961a.882.882 0 01-.838.592A.884.884 0 010 9.005c0-.11.025-.222.062-.308l2.403-6.211c.222-.58.776-.986 1.442-.986.653 0 1.22.407 1.442.986l2.39 6.211zM2.6 6.824h2.613L3.907 3.102 2.6 6.824zm8.8-3.118c1.355 0 2.6.542 2.6 2.255V9.08a.8.8 0 01-.789.814.797.797 0 01-.788-.703c-.395.468-1.097.764-1.874.764-.949 0-2.07-.64-2.07-1.972 0-1.392 1.121-1.897 2.07-1.897.789 0 1.491.246 1.886.727v-.826c0-.604-.518-.998-1.306-.998-.469 0-.888.123-1.32.394a.64.64 0 01-.307.086.602.602 0 01-.592-.604c0-.221.123-.419.284-.517a3.963 3.963 0 012.206-.641zm-.222 5.188c.505 0 .998-.172 1.257-.517v-.74c-.259-.345-.752-.517-1.257-.517-.616 0-1.122.332-1.122.9 0 .554.506.874 1.122.874zM.656 11.125h12.688a.656.656 0 110 1.313H.656a.656.656 0 110-1.313z"})})},text:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M7 4.568a.5.5 0 00-.5-.5h-6a.5.5 0 00-.5.5v1.046a.5.5 0 00.5.5h6a.5.5 0 00.5-.5V4.568zM.5 1a.5.5 0 00-.5.5v1.045a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V1.5a.5.5 0 00-.5-.5H.5zM0 8.682a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V7.636a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v1.046zm0 3.068a.5.5 0 00.5.5h9a.5.5 0 00.5-.5v-1.
1045a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v1.045z"})})},number:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M4.462 0c-.595 0-1.078.482-1.078 1.078v2.306H1.078a1.078 1.078 0 100 2.155h2.306v2.922H1.078a1.078 1.078 0 100 2.155h2.306v2.306a1.078 1.078 0 002.155 0v-2.306H8.46v2.306a1.078 1.078 0 002.156 0v-2.306h2.306a1.078 1.078 0 100-2.155h-2.306V5.539h2.306a1.078 1.078 0 100-2.155h-2.306V1.078a1.078 1.078 0 00-2.156 0v2.306H5.54V1.078C5.54.482 5.056 0 4.461 0zm1.077 8.46V5.54H8.46v2.92H5.54z"})})},select:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M7 13A6 6 0 107 1a6 6 0 000 12zM3.751 5.323A.2.2 0 013.909 5h6.182a.2.2 0 01.158.323L7.158 9.297a.2.2 0 01-.316 0L3.751 5.323z"})})},status:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,l.jsx)("path",{d:"M8.75488 1.02344C8.75488 0.613281 8.41309 0.264648 8.00293 0.264648C7.59277 0.264648 7.25098 0.613281 7.25098 1.02344V3.11523C7.25098 3.51855 7.59277 3.86719 8.00293 3.86719C8.41309 3.86719 8.75488 3.51855 8.75488 3.11523V1.02344ZM3.91504 5.0293C4.20215 5.31641 4.69434 5.32324 4.97461 5.03613C5.26855 4.74902 5.26855 4.25684 4.98145 3.96973L3.53906 2.52051C3.25195 2.2334 2.7666 2.21973 2.47949 2.50684C2.19238 2.79395 2.18555 3.28613 2.47266 3.57324L3.91504 5.0293ZM10.9629 4.01758C10.6826 4.30469 10.6826 4.79688 10.9697 5.08398C11.2568 5.37109 11.749 5.36426 12.0361 5.07715L13.4854 3.62793C13.7725 3.34082 13.7725 2.84863 13.4785 2.55469C13.1982 2.27441 12.7061 2.27441 12.4189 2.56152L10.9629 4.01758ZM15.0234 8.78906C15.4336 8.78906 15.7822 8.44727 15.7822 8.03711C15.7822 7.62695 15.4336 7.28516 15.0234 7.28516H12.9385C12.5283 7.28516 12.1797 7.62695 12.1797 8.03711C12.1797 8.44727 12.5283 8.78906 12.9385 8.78906H15.0234ZM0.975586 7.28516C0.56543 7.28516 0.223633 7.62695 0.223633 8.03711C0.223633 8.44727 0.56543 8.78906 0.975586 8.78906H3.07422C3.48438 8.78906 3.83301 8.44727 3.83301 8.03711C3.83301 7.62695 3.48438 7.28516 3.07422 7.28516H0.975586ZM12.0361 10.9902C11.749 10.71 11.2568 10.71 10.9629 10.9971C10.6826 11.2842 10.6826 11.7764 10.9697 12.0635L12.4258 13.5127C12.7129 13.7998 13.2051 13.793 13.4922 13.5059C13.7793 13.2256 13.7725 12.7266 13.4854 12.4395L12.0361 10.9902ZM2.52051 12.4395C2.22656 12.7266 2.22656 13.2188 2.50684 13.5059C2.79395 13.793 3.28613 13.7998 3.57324 13.5127L5.02246 12.0703C5.3164
11 11.7832 5.31641 11.291 5.03613 11.0039C4.74902 10.7168 4.25684 10.71 3.96973 10.9971L2.52051 12.4395ZM8.75488 12.9658C8.75488 12.5557 8.41309 12.207 8.00293 12.207C7.59277 12.207 7.25098 12.5557 7.25098 12.9658V15.0576C7.25098 15.4609 7.59277 15.8096 8.00293 15.8096C8.41309 15.8096 8.75488 15.4609 8.75488 15.0576V12.9658Z"})})},multi_select:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M4 3a1 1 0 011-1h7a1 1 0 110 2H5a1 1 0 01-1-1zm0 4a1 1 0 011-1h7a1 1 0 110 2H5a1 1 0 01-1-1zm0 4a1 1 0 011-1h7a1 1 0 110 2H5a1 1 0 01-1-1zM2 4a1 1 0 110-2 1 1 0 010 2zm0 4a1 1 0 110-2 1 1 0 010 2zm0 4a1 1 0 110-2 1 1 0 010 2z"})})},date:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M10.889 5.5H3.11v1.556h7.778V5.5zm1.555-4.444h-.777V0H10.11v1.056H3.89V0H2.333v1.056h-.777c-.864 0-1.548.7-1.548 1.555L0 12.5c0 .856.692 1.5 1.556 1.5h10.888C13.3 14 14 13.356 14 12.5V2.611c0-.855-.7-1.555-1.556-1.555zm0 11.444H1.556V3.944h10.888V12.5zM8.556 8.611H3.11v1.556h5.445V8.61z"})})},person:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M9.625 10.847C8.912 10.289 8.121 9.926 7 9.26v-.54a3.33 3.33 0 00.538-.888c.408-.1.774-.498.774-.832 0-.482-.202-.673-.44-.829 0-.015.003-.03.003-.046 0-.711-.438-2.625-2.625-2.625-2.188 0-2.625 1.915-2.625 2.625 0 .017.003.03.003.046-.238.156-.44.347-.44.829 0 .334.366.731.774.833.146.343.326.643.538.886v.541c-1.12.665-1.912 1.028-2.625 1.587C.041 11.498 0 12.469 0 14h10.5c0-1.531-.041-2.502-.875-3.153zm3.5-3.5c-.713-.558-1.504-.921-2.625-1.587v-.54c.212-.244.392-.544.538-.888.408-.1.774-.498.774-.832 0-.482-.202-.673-.44-.829 0-.015.003-.03.003-.046C11.375 1.914 10.937 0 8.75 0 6.562 0 6.125 1.915 6.125 2.625c0 .017.003.03.003.046-.016.012-.03.025-.047.036 1.751.359 2.516 1.841 2.647 3.04.248.262.46.65.46 1.253 0 .603-.417 1.203-1.004 1.515-.057.109-.117.214-.181.315l.437.245c.64.357 1.194.666 1.724 1.081.138.108.256.224.365.343H14c0-1.53-.041-2.5-.875-3.153z"})})},file:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M5.946 14a4.975 4.975 0 01-3.497-1.415A4.731 4.731 0 011 9.174c0-1.288.515-2.5 1.449-3.41L7.456.986c1.345-1.313 3.722-1.318 5.08.007a3.453 3.453 0 010 4.961L8.03 10.241c-.867.847-2.293.848-3.17-.006a2.158 2.158 0 010-3.102l1.744-1.701 1.272 1.24-1.744 1.701a.43.43 0 000 .621c.23.223.405.223.636 0l4.503-4.288a1.723 1.723 0 00-.007-2.473c-.68-.663-1.864-.663-2.543 0L3.713 7.011a3.006 3.006 0 00-.915 2.163c0 .82.328 1.591.922 2.17 1.19 1.162 3.262 1.162 4.451 0l2.248-2.192 1.272 1.24-2.248 2.193A4.978 4.978 0 015.946 14z"})})},checkbox:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M0 3a3 3 0 013-3h8a3 3 0 013 3v8a3 3 0 01-3 3H3a3 3 0 01-3-3V3zm3-1.5A1.5 1.5 0 001.5 3v8A1.5 1.5 0 003 12.5h8a1.5 1.5 0 001.5-1.5V3A1.5 1.5 0 0011 1.5H3zm-.167 5.316l.566-.542.177-.17.347-.332.346.334.176.17 1.139 1.098 3.699-3.563.177-.17.347-.335.347.334.177.17.563.543.177.171.372.36-.372.36-.177.17-4.786 4.615-.177.171-.347.334-.347-.334-.177-.17-2.23-2.15-.177-.172-.375-.361.376-.36.179-.17z"})})},url:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M3.733 3.867h3.734c1.03 0 1.866.837 1.866 1.866 0 1.03-.837 1.867-1.866 1.867h-.934a.934.934 0 000 1.867h.934a3.734 3.734 0 000-7.467H3.733A3.73 3.73 0 001.89 8.977a4.637 4.637 0 01.314-2.18 1.854 1.854 0 01-.336-1.064c0-1.03.837-1.866 1.866-1.866zm8.377 1.422a4.6 4.6 0 01-.316 2.176c.212.303.34.67.34 1.068 0 1.03-.838 1.867-1.867 1.867H6.533a1.869 1.869 0 01-1.866-1.867c0-1.03.837-1.866 1.866-1.866h.934a.934.934 0 000-1.867h-.934a3.733 3.733 0 000 7.467h3.734a3.73 3.73 0 001.843-6.978z"})})},email:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M14 6.225c0 .822-.133 1.574-.4 2.256-.267.683-.644 1.218-1.13 1.606-.488.388-.946.6-1.494.6-.429 0-.808-.102-1.139-.305a1.753 1.753 0 01-.713-.8c-.613.736-1.563 1.104-2.531 1.104-1.027 0-1.835-.304-2.427-.912-.591-.608-.887-1.44-.887-2.496 0-1.204.389-2.175 1.166-2.911.776-.736 1.791-1.105 3.044-1.105.498 0 2.032.212 2.252.268.51.13.86.593.835 1.112l-.156 3.287c0 .794.22 1.19.66 1.19.372 0 .668-.267.888-.8.22-.534.33-1.232.33-2.094 0-.919-.194-1.731-.582-2.436a3.924 3.924 0 00-1.64-1.614c-.704-.371-1.509-.557-2.413-.557-1.172 0-2.19.237-3.053.711a4.785 4.785 0 00-1.988 2.05c-.46.894-.691 1.926-.691 3.096 0 1.576.428 2.784 1.283 3.627.855.841 2.094 1.262 3.718 1.262.615 0 1.29-.067 2.027-.2.225-.042.518-.108.877-.2a.863.863 0 011.025.527.76.76 0 01-.502.993c-1.052.316-2.17.488-3.357.516-2.204 0-3.922-.57-5.154-1.713C.616 11.146 0 9.56 0 7.527c0-1.41.315-2.69.944-3.84A6.792 6.792 0 013.63.98C4.794.327 6.131 0 7.645 0c1.276 0 2.514.29 3.418.77.905.481 1.574 1.228 2.12 2.176.544.947.817 2.04.817 3.28zm-8.615 1.01c0 1.208.488 1.811 1.466 1.811.511 0 .9-.181 1.168-.545.267-.363.429-.954.486-1.772l.11-1.896a4.638 4.638 0 00-.98-.095c-.71 0-1.263.224-1.658.67-.395.446-.592 1.055-.592 1.828z"})})},phone_number:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M2.207.013a.487.487 0 00-.29.02C.87.438.213 1.93.058 2.955c-.484 3.33 2.15 6.215 4.57 8.113 2.149 1.684 6.273 4.453 8.713 1.781.31-.329.678-.813.658-1.297-.058-.813-.813-1.394-1.394-1.84-.445-.329-1.375-1.239-1.956-1.22-.522.02-.851.562-1.18.89
11l-.582.581c-.096.097-1.336-.716-1.471-.813a9.881 9.881 0 01-1.414-1.104A9.13 9.13 0 014.86 6.732c-.097-.136-.89-1.317-.813-1.414 0 0 .677-.736.871-1.026.407-.62.717-1.104.252-1.84-.174-.27-.387-.484-.62-.716-.406-.387-.813-.794-1.278-1.123-.251-.194-.677-.542-1.065-.6z"})})},formula:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M7.779 7.063l-3.157 4.224a.49.49 0 00-.072.218.35.35 0 00.346.357h6.242c.476 0 .862.398.862.889v.36c0 .491-.386.889-.862.889H1.862A.876.876 0 011 13.111v-.425a.82.82 0 01.177-.54L4.393 7.8a1.367 1.367 0 00-.006-1.625L1.4 2.194a.822.822 0 01-.18-.544V.89C1.22.398 1.604 0 2.08 0h8.838c.476 0 .861.398.861.889v.36c0 .491-.385.89-.86.89H5.135c-.19 0-.345.159-.345.356a.489.489 0 00.07.216l2.92 3.975c.049.062.063.107.06.188a.246.246 0 01-.062.189z"})})},relation:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 14 14",...e,children:(0,l.jsx)("path",{d:"M4.5 1v2h5.086L1 11.586 2.414 13 11 4.414V9.5h2V1z"})})},created_time:h,last_edited_time:h,created_by:c,last_edited_by:c,auto_increment_id:function(e){return(0,l.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,l.jsx)("path",{d:"M12.252 7.9209C13.7217 7.9209 14.7266 6.93652 14.7266 5.50781C14.7266 4.0791 13.7217 3.10156 12.252 3.10156C10.8232 3.10156 9.8457 4.0791 9.8457 5.50781C9.8457 6.93652 10.8301 7.9209 12.252 7.9209ZM2.00488 13.1367C2.45605 13.1367 2.72949 12.8496 2.72949 12.3848V5.83594L7.35059 12.5967C7.6377 12.9932 7.86328 13.1367 8.20508 13.1367C8.69043 13.1367 8.96387 12.8359 8.96387 12.3232V3.8877C8.96387 3.42285 8.69043 3.12891 8.23242 3.12891C7.78809 3.12891 7.50781 3.41602 7.50781 3.8877V10.4229L2.89355 3.66895C2.60645 3.25879 2.40137 3.12891 2.03906 3.12891C1.56738 3.12891 1.27344 3.4502 1.27344 3.94238V12.3848C1.27344 12.8496 1.55371 13.1367 2.00488 13.1367ZM12.252 6.84766C11.5615 6.84766 11.0898 6.30762 11.0898 5.50781C11.0898 4.70801 11.5615 4.16797 12.252 4.16797C12.9902 4.16797 13.4756 4.70801 13.4756 5.50781C13.4756 6.30762 12.9834 6.84766 12.252 6.84766ZM10.625 9.77344H13.9541C14.3506 9.77344 14.624 9.54102 14.624 9.14453C14.624 8.74805 14.3506 8.50195 13.9541 8.50195H10.625C10.2285 8.50195 9.96191 8.74805 9.96191 9.14453C9.96191 9.54102 10.2285 9.77344 10.625 9.77344Z"})})}};function m({type:e,...t}){let n=v[e];return n?n(t):null}function f({schema:e}){return(0,l.jsxs)("div",{className:"notion-collection-column-title",children:[(0,l.jsx)(m,{className:"notion-collection-column-title-icon",type:e.type}),(0,l.jsx)("div",{className:"notion-collection-column-title-body",children:e.name})]})}let p={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function g(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let b={date:g({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:g({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:g({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},x={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function y(e){return(t,n)=>{let r;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,a=(null==n?void 0:n.width)?String(n.width):t;r=e.formattingValues[a]||e.formattingValues[t]}else{let t=e.defaultWidth,a=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;r=e.values[a]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function w(e){return(t,n={})=>{let r;let a=n.width,i=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;let l=o[0],u=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(u)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(u,e=>e.test(l)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(u,e=>e.test(l));return r=e.valueCallback?e.valueCallback(s):s,{value:r=n.valueCallback?n.valueCallback(r):r,rest:t.slice(l.length)}}}let j={code:"en-US",formatDistance:(e,t,n)=>{let r;let a=p[e];return(r="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:b,formatRelative:(e,t,n,r)=>x[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:y({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:y({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:y({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:y({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:y({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(r={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let n=e.match(r.matchPattern);if(!n)return null;let a=n[0],i=e.match(r.parsePattern);if(!i)return null;let o=r.valueCallback?r.valueCallback(i[0]):i[0];return{value:o=t.valueCallback?t.valueCallback(o):o,rest:e.slice(a.length)}}),era:w({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:w({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:w({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:w({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:w({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},M={},k=Symbol.for("constructDateFrom");function N(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&k in e?e[k](t):e instanceof Date?new e.constructor(t):new Date(t)}function C(e,t){return N(t||e,e)}function _(e){let t=C(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function S(e,...t){let n=N.bind(null,e||t.find(e=>"object"==typeof e));return t.map(n)}function z(e,t){let n=C(e,null==t?void 0:t.in);return n.setHours(0,0,0,0),n}function L(e,t,n){let[r,a]=S(null==n?void 0:n.in,e,t),i=z(r),o=z(a);return Math.round((+i-_(i)-(+o-_(o)))/864e5)}function H(e,t){var n,r,a,i,o,l;let u=null!==(n=null!==(r=null!==(a=null!==(i=null==t?void 0:t.weekStartsOn)&&void 0!==i?i:null==t||null===(o=t.locale)||void 0===o||null===(o=o.options)||void 0===o?void 0:o.weekStartsOn)&&void 0!==a?a:M.weekStartsOn)&&void 0!==r?r:null===(l=M.locale)||void 0===l||null===(l=l.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==n?n:0,s=C(e,null==t?void 0:t.in),d=s.getDay();return s.setDate(s.getDate()-((d<u?7:0)+d-u)),s.setHours(0,0,0,0),s}function V(e,t){return H(e,{...t,weekStartsOn:1}
1)}function P(e,t){let n=C(e,null==t?void 0:t.in),r=n.getFullYear(),a=N(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);let i=V(a),o=N(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);let l=V(o);return n.getTime()>=i.getTime()?r+1:n.getTime()>=l.getTime()?r:r-1}function T(e,t){var n,r,a,i,o,l;let u=C(e,null==t?void 0:t.in),s=u.getFullYear(),d=null!==(n=null!==(r=null!==(a=null!==(i=null==t?void 0:t.firstWeekContainsDate)&&void 0!==i?i:null==t||null===(o=t.locale)||void 0===o||null===(o=o.options)||void 0===o?void 0:o.firstWeekContainsDate)&&void 0!==a?a:M.firstWeekContainsDate)&&void 0!==r?r:null===(l=M.locale)||void 0===l||null===(l=l.options)||void 0===l?void 0:l.firstWeekContainsDate)&&void 0!==n?n:1,c=N((null==t?void 0:t.in)||e,0);c.setFullYear(s+1,0,d),c.setHours(0,0,0,0);let h=H(c,t),v=N((null==t?void 0:t.in)||e,0);v.setFullYear(s,0,d),v.setHours(0,0,0,0);let m=H(v,t);return+u>=+h?s+1:+u>=+m?s:s-1}function D(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}let R={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return D("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):D(n+1,2)},d:(e,t)=>D(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>D(e.getHours()%12||12,t.length),H:(e,t)=>D(e.getHours(),t.length),m:(e,t)=>D(e.getMinutes(),t.length),s:(e,t)=>D(e.getSeconds(),t.length),S(e,t){let n=t.length;return D(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},F={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},E={G:function(e,t,n){let r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return R.y(e,t)},Y:function(e,t,n,r){let a=T(e,r),i=a>0?a:1-a;return"YY"===t?D(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):D(i,t.length)},R:function(e,t){return D(P(e),t.length)},u:function(e,t){return D(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return D(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return D(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return R.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return D(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let a=function(e,t){let n=C(e,null==t?void 0:t.in);return Math.round((+H(n,t)-+function(e,t){var n,r,a,i,o,l;let u=null!==(n=null!==(r=null!==(a=null!==(i=null==t?void 0:t.firstWeekContainsDate)&&void 0!==i?i:null==t||null===(o=t.locale)||void 0===o||null===(o=o.options)||void 0===o?void 0:o.firstWeekContainsDate)&&void 0!==a?a:M.firstWeekContainsDate)&&void 0!==r?r:null===(l=M.locale)||void 0===l||null===(l=l.options)||void 0===l?void 0:l.firstWeekContainsDate)&&void 0!==n?n:1,s=T(e,t),d=N((null==t?void 0:t.in)||e,0);return d.setFullYear(s,0,u),d.setHours(0,0,0,0),H(d,t)}(n,t))/6048e5)+1}(e,r);return"wo"===t?n.ordinalNumber(a,{unit:"week"}):D(a,t.length)},I:function(e,t,n){let r=function(e,t){let n=C(e,void 0);return Math.round((+V(n)-+function(e,t){let n=P(e,void 0),r=N(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),V(r)}(n))/6048e5)+1}(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):D(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):R.d(e,t)},D:function(e,t,n){let r=function(e,t){let n=C(e,void 0);return L(n,function(e,t){let n=C(e,void 0);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}(n))+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):D(r,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let a=e.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return D(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let a=e.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return D(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return D(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r;let a=e.getHours();switch(r=12===a?F.noon:0===a?F.midnight:a/12>
1=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r;let a=e.getHours();switch(r=a>=17?F.evening:a>=12?F.afternoon:a>=4?F.morning:F.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return R.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):R.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):D(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):D(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):R.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):R.s(e,t)},S:function(e,t){return R.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return Y(r);case"XXXX":case"XX":return O(r);default:return O(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return Y(r);case"xxxx":case"xx":return O(r);default:return O(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+W(r,":");default:return"GMT"+O(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+W(r,":");default:return"GMT"+O(r,":")}},t:function(e,t,n){return D(Math.trunc(+e/1e3),t.length)},T:function(e,t,n){return D(+e,t.length)}};function W(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),i=r%60;return 0===i?n+String(a):n+String(a)+t+D(i,2)}function Y(e,t){return e%60==0?(e>0?"-":"+")+D(Math.abs(e)/60,2):O(e,t)}function O(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+D(Math.trunc(n/60),2)+t+D(n%60,2)}let B=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},A=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},$={p:A,P:(e,t)=>{let n;let r=e.match(/(P+)(p+)?/)||[],a=r[1],i=r[2];if(!i)return B(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",B(a,t)).replace("{{time}}",A(i,t))}},q=/^D+$/,I=/^Y+$/,U=["D","DD","YY","YYYY"],Z=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,G=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Q=/^'([^]*?)'?$/,X=/''/g,J=/[a-zA-Z]/;function K(e,t,n){var r,a,i,o,l,u,s,d,c,h,v,m,f,p;let g=null!==(r=null!==(a=null==n?void 0:n.locale)&&void 0!==a?a:M.locale)&&void 0!==r?r:j,b=null!==(i=null!==(o=null!==(l=null!==(u=null==n?void 0:n.firstWeekContainsDate)&&void 0!==u?u:null==n||null===(s=n.locale)||void 0===s||null===(s=s.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==l?l:M.firstWeekContainsDate)&&void 0!==o?o:null===(d=M.locale)||void 0===d||null===(d=d.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==i?i:1,x=null!==(c=null!==(h=null!==(v=null!==(m=null==n?void 0:n.weekStartsOn)&&void 0!==m?m:null==n||null===(f=n.locale)||void 0===f||null===(f=f.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==v?v:M.weekStartsOn)&&void 0!==h?h:null===(p=M.locale)||void 0===p||null===(p=p.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==c?c:0,y=C(e,null==n?void 0:n.in);if(!(y instanceof Date||"object"==typeof y&&"[object Date]"===Object.prototype.toString.call(y))&&"number"!=typeof y||isNaN(+C(y)))throw RangeError("Invalid time value");let w=t.match(G).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,$[t])(e,g.formatLong):e}).join("").match(Z).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(Q);return t?t[1].replace(X,"'"):e}(e)};if(E[t])return{isToken:!0,value:e};
1if(t.match(J))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});g.localize.preprocessor&&(w=g.localize.preprocessor(y,w));let k={firstWeekContainsDate:b,weekStartsOn:x,locale:g};return w.map(r=>{if(!r.isToken)return r.value;let a=r.value;return(!(null==n?void 0:n.useAdditionalWeekYearTokens)&&I.test(a)||!(null==n?void 0:n.useAdditionalDayOfYearTokens)&&q.test(a))&&function(e,t,n){let r=function(e,t,n){let r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),U.includes(e))throw RangeError(r)}(a,t,String(e)),(0,E[a[0]])(y,a,g.localize,k)}).join("")}var ee=(0,a.T)((e,t)=>{function n(e){if((e=e||{}).negativeType=e.negativeType||("R"===e.negative?"right":"left"),"string"!=typeof e.negativeLeftSymbol)switch(e.negativeType){case"left":e.negativeLeftSymbol="-";break;case"brackets":e.negativeLeftSymbol="(";break;default:e.negativeLeftSymbol=""}if("string"!=typeof e.negativeRightSymbol)switch(e.negativeType){case"right":e.negativeRightSymbol="-";break;case"brackets":e.negativeRightSymbol=")";break;default:e.negativeRightSymbol=""}function t(t,n){if(n=n||{},!t&&0!==t)return"";var r,a,i=[],o="-"===(t=""+t).charAt(0);return t=t.replace(/^\-/g,""),e.negativeLeftOut||n.noUnits||i.push(e.prefix),o&&i.push(e.negativeLeftSymbol),e.negativeLeftOut&&!n.noUnits&&i.push(e.prefix),t=t.split("."),null!=e.round&&function(e,t){if(e[1]&&t>=0&&e[1].length>t){var n=e[1].slice(0,t);if(+e[1].substr(t,1)>=5){for(var r="";"0"===n.charAt(0);)r+="0",n=n.substr(1);(n=r+(n=+n+1+"")).length>t&&(e[0]=+e[0]+ +n.charAt(0)+"",n=n.substring(1))}e[1]=n}}(t,e.round),null!=e.truncate&&(t[1]=(r=t[1],a=e.truncate,(r&&(r+=""),r&&r.length>a)?r.substr(0,a):r)),e.padLeft>0&&(t[0]=function(e,t){e+="";for(var n=[];n.length+e.length<t;)n.push("0");return n.join("")+e}(t[0],e.padLeft)),e.padRight>0&&(t[1]=function(e,t){e?e+="":e="";for(var n=[];n.length+e.length<t;)n.push("0");return e+n.join("")}(t[1],e.padRight)),!n.noSeparator&&t[1]&&(t[1]=function(e,t){if(e+="",!t)return e;for(var n=/(\d{3})(\d+)/;n.test(e);)e=e.replace(n,"$1"+t+"$2");return e}(t[1],e.decimalsSeparator)),!n.noSeparator&&t[0]&&(t[0]=function(e,t){if(e+="",!t)return e;for(var n=/(\d+)(\d{3})/;n.test(e);)e=e.replace(n,"$1"+t+"$2");return e}(t[0],e.integerSeparator)),i.push(t[0]),t[1]&&(i.push(e.decimal),i.push(t[1])),e.negativeRightOut&&!n.noUnits&&i.push(e.suffix),o&&i.push(e.negativeRightSymbol),e.negativeRightOut||n.noUnits||i.push(e.suffix),i.join("")}return"boolean"!=typeof e.negativeLeftOut&&(e.negativeLeftOut=!1!==e.negativeOut),"boolean"!=typeof e.negativeRightOut&&(e.negativeRightOut=!1!==e.negativeOut),e.prefix=e.prefix||"",e.suffix=e.suffix||"","string"!=typeof e.integerSeparator&&(e.integerSeparator="string"==typeof e.separator?e.separator:","),e.decimalsSeparator="string"==typeof e.decimalsSeparator?e.decimalsSeparator:"",e.decimal=e.decimal||".",e.padLeft=e.padLeft||-1,e.padRight=e.padRight||-1,t.negative=e.negative,t.negativeOut=e.negativeOut,t.negativeType=e.negativeType,t.negativeLeftOut=e.negativeLeftOut,t.negativeLeftSymbol=e.negativeLeftSymbol,t.negativeRightOut=e.negativeRightOut,t.negativeRightSymbol=e.negativeRightSymbol,t.prefix=e.prefix,t.suffix=e.suffix,t.separate=e.separate,t.integerSeparator=e.integerSeparator,t.decimalsSeparator=e.decimalsSeparator,t.decimal=e.decimal,t.padLeft=e.padLeft,t.padRight=e.padRight,t.truncate=e.truncate,t.round=e.round,t.unformat=function(t,n){n=n||[],e.allowedSeparators&&e.allowedSeparators.forEach(function(e){n.push(e)}),n.push(e.integerSeparator),n.push(e.decimalsSeparator);var r=t=(t=t.replace(e.prefix,"")).replace(e.suffix,"");do{t=r;for(var a=0;a<n.length;a++)r=r.replace(n[a],"")}while(r!=t);return t},t}t.exports=n,t.exports.default=n}),et=(0,a.E)(ee(),1);function en(e,t,n){let r=C(e,null==n?void 0:n.in);return isNaN(t)?N((null==n?void 0:n.in)||e,NaN):(t&&r.setDate(r.getDate()+t),r)}function er(e,t,n){let r=C(e,null==n?void 0:n.in);if(isNaN(t))return N((null==n?void 0:n.in)||e,NaN);if(!t)return r;let a=r.getDate(),i=N((null==n?void 0:n.in)||e,r.getTime());return(i.setMonth(r.getMonth()+t+1,0),a>=i.getDate())?i:(r.setFullYear(i.getFullYear(),i.getMonth(),a),r)}function ea(e,t,n){let{years:r=0,months:a=0,weeks:i=0,days:o=0,hours:l=0,minutes:u=0,seconds:s=0}=t,d=C(e,null==n?void 0:n.in),c=a||r?er(d,a+12*r):d,h=o||i?en(c,o+7*i):c;return N((null==n?void 0:n.in)||e,+h+(s+(u+60*l)*60)*1e3)}function ei(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function eo(e){return t=>{let n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}function el(e,t){let n=+C(e)-+C(t);return n<0?-1:n>0?1:n}
1function eu(e){let{components:t}=(0,a.o)();return t.Property?(0,l.jsx)(t.Property,{...e}):(0,l.jsx)(es,{...e})}let es=o.memo(function(e){var t,n,r;let{components:u,mapImageUrl:s,mapPageUrl:d}=(0,a.o)(),{schema:c,data:h,block:v,collection:m,inline:f=!1,linkToTitlePage:p=!0}=e,g=o.useMemo(()=>function(){return(0,l.jsx)(a.d,{value:h,block:v})},[v,h]),b=o.useMemo(()=>function(){return(0,l.jsx)(a.d,{value:h,block:v})},[v,h]),x=o.useMemo(()=>function(){return(0,l.jsx)(a.d,{value:h,block:v})},[v,h]),y=o.useMemo(()=>function(){let e;if(!c)return null;try{e=function e(t,n){let{endDate:r,...a}=n;switch(null==t?void 0:t.type){case"symbol":return"true"===t.name;case"constant":{let e=t.value;switch(t.result_type){case"text":default:return e;case"number":return Number.parseFloat(e)}}case"property":{let e=a.properties[t.id],n=(0,i.FB)(e);switch(t.result_type){case"text":default:return n;case"number":return Number.parseFloat(n);case"boolean":if("string"==typeof n)return"true"===n;return!!n;case"date":{let t=(0,i.Co)(e);if(!t)return new Date(n);if(r&&t.end_date){let e=new Date(t.end_date);return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())}{let e=new Date(t.start_date);return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())}}}}case"operator":case"function":return function(t,n){var r;let a=null==t?void 0:t.args;switch(t.name){case"and":return e(a[0],n)&&e(a[1],n);case"empty":case"not":return!e(a[0],n);case"equal":return e(a[0],n)==e(a[1],n);case"if":return e(a[0],n)?e(a[1],n):e(a[2],n);case"larger":return e(a[0],n)>e(a[1],n);case"largerEq":return e(a[0],n)>=e(a[1],n);case"or":return e(a[0],n)||e(a[1],n);case"smaller":return e(a[0],n)<e(a[1],n);case"smallerEq":return e(a[0],n)<=e(a[1],n);case"unequal":return e(a[0],n)!=e(a[1],n);case"abs":return Math.abs(e(a[0],n));case"add":{let t=e(a[0],n),r=e(a[1],n);if("number"==typeof t)return t+ +r;if("string"==typeof t)return t+String(r);return t}case"cbrt":return Math.cbrt(e(a[0],n));case"ceil":return Math.ceil(e(a[0],n));case"divide":return e(a[0],n)/e(a[1],n);case"exp":return Math.exp(e(a[0],n));case"floor":return Math.floor(e(a[0],n));case"ln":return Math.log(e(a[0],n));case"log10":return Math.log10(e(a[0],n));case"log2":return Math.log2(e(a[0],n));case"max":return a.map(t=>e(t,n)).reduce((e,t)=>Math.max(e,t),Number.NEGATIVE_INFINITY);case"min":return a.map(t=>e(t,n)).reduce((e,t)=>Math.min(e,t),Number.POSITIVE_INFINITY);case"mod":return e(a[0],n)%e(a[1],n);case"multiply":return e(a[0],n)*e(a[1],n);case"pow":return Math.pow(e(a[0],n),e(a[1],n));case"round":return Math.round(e(a[0],n));case"sign":return Math.sign(e(a[0],n));case"sqrt":return Math.sqrt(e(a[0],n));case"subtract":return e(a[0],n)-e(a[1],n);case"toNumber":case"unaryPlus":return Number.parseFloat(e(a[0],n));case"unaryMinus":return -1*e(a[0],n);case"concat":return a.map(t=>e(t,n)).join("");case"contains":return e(a[0],n).includes(e(a[1],n));case"format":{let t=e(a[0],n);switch(typeof t){case"string":return t;case"object":if(t instanceof Date)return K(t,"MMM d, yyyy");return String(t);default:return`${t}`}}case"join":{let[t,...r]=a,i=e(t,n);return r.map(t=>e(t,n)).join(i)}case"length":return e(a[0],n).length;case"replace":{let t=e(a[0],n),r=e(a[1],n),i=e(a[2],n);return t.replace(new RegExp(r),i)}case"replaceAll":{let t=e(a[0],n),r=e(a[1],n),i=e(a[2],n);return t.replaceAll(RegExp(r,"g"),i)}case"slice":{let t=e(a[0],n),r=e(a[1],n),i=a[2]?e(a[2],n):t.length;return t.slice(r,i)}case"test":{let t=e(a[0],n);return new RegExp(e(a[1],n)).test(t)}case"date":return C(e(a[0],n),void 0).getDate();case"dateAdd":{let t=e(a[0],n),r=e(a[1],n);return ea(t,{[e(a[2],n)]:r})}case"dateBetween":{let t=e(a[0],n),i=e(a[1],n),o=e(a[2],n);return null!==(r=function(e,t){let{start:n,end:r}=function(e,t){let[n,r]=S(e,t.start,t.end);return{start:n,end:r}}(void 0,e),a={},i=function(e,t,n){let[r,a]=S(void 0,e,t),i=el(r,a),o=Math.abs(function(e,t,n){let[r,a]=S(void 0,e,t);return r.getFullYear()-a.getFullYear()}(r,a));r.setFullYear(1584),a.setFullYear(1584);let l=i*(o-+(el(r,a)===-i));return 0===l?0:l}(r,n);i&&(a.years=i);let o=ea(n,{years:a.years}),l=function(e,t,n){let[r,a,i]=S(void 0,e,e,t),o=el(a,i),l=Math.abs(function(e,t,n){let[r,a]=S(void 0,e,t);return 12*(r.getFullYear()-a.getFullYear())+(r.getMonth()-a.getMonth())}(a,i));if(l<1)return 0;1===a.getMonth()&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-o*l);let u=el(a,i)===-o;(function(e,t){let n=C(e,void 0);return+function(e,t){let n=C(e,null==t?void 0:t.in);return n.setHours(23,59,59,999),n}(n,void 0)==+function(e,t){let n=C(e,null==t?void 0:t.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}(n,void 0)})(r)&&1===l&&1===el(r,i)&&(u=!1);let s=o*(l-+u);return 0===s?0:s}(r,o);l&&(a.months=l);let u=ea(o,{months:a.months}),s=function(e,t,n){let[r,a]=S(void 0,e,t),i=ei(r,a),o=Math.abs(L(r,a));r.setDate(r.getDate()-i*o);let l=i*(o-Number(ei(r,a)===-i));return 0===l?0:l}(r,u);s&&(a.days=s);let d=ea(u,{days:a.days}),c=function(e,t,n){let[r,a]=S(void 0,e,t);return eo(void 0)((+r-+a)/36e5)}(r,d);c&&(a.hours=c);let h=ea(d,{hours:a.hours}),v=function(e,t,n){let r=(+C(e)-+C(t))/6e4;return eo(void 0)(r)}(r,h);v&&(a.minutes=v);let m=function(e,t,n){let r=(+C(e)-+C(t))/1e3;return eo(void 0)(r)}(r,ea(h,{minutes:a.minutes}));return m&&(a.seconds=m),a}({start:i,end:t})[o])&&void 0!==r?r:0}case"dateSubtract":{let t=e(a[0],n),r=e(a[1],n);return function(e,t,n){let{years:r=0,months:a=0,weeks:i=0,days:o=0,hours:l=0,minutes:u=0,seconds:s=0}=t,d=en(er(e,-(a+12*r),void 0),-(o+7*i),void 0);return N(e,+d-(s+(u+60*l)*60)*1e3)}(t,{[e(a[2],n)]:r})}case"day":return C(e(a[0],n),void 0).getDay();case"end":return e(a[0],{...n,endDate:!0});case"formatDate":return K(e(a[0],n),e(a[1],n).replace("dddd","eeee"));case"fromTimestamp":return new Date(e(a[0],n));case"hour":return C(e(a[0],n),void 0).getHours();case"minute":return C(e(a[0],n),void 0).getMinutes();case"month":return C(e(a[0],n),void 0).getMonth();case"now":return new Date;case"start":return e(a[0],{...n,endDate:!1});case"timestamp":return e(a[0],n).getTime();case"year":return C(e(a[0],n),void 0).getFullYear();default:throw Error(`invalid or unsupported function formula "${null==t?void 0:t.type}`)}}(t,a);default:throw Error(`invalid or unsupported formula "${null==t?void 0:t.type}`)}}(c.formula,{schema:null==m?void 0:m.schema,properties:null==v?void 0:v.properties}),Number.isNaN(e),e instanceof Date&&(e=K(e,"MMM d, yyyy hh:mm aa"))}catch(t){e=null}return e},[v,m,c]),w=o.useMemo(()=>function(){return v&&p?(0,l.jsx)(u.PageLink,{className:(0,a._)("notion-
1page-link"),href:d(v.id),children:(0,l.jsx)(a.f,{block:v})}):(0,l.jsx)(a.d,{value:h,block:v})},[v,u,h,p,d]),j=o.useMemo(()=>function(){return(0,l.jsx)(a.d,{value:h,block:v})},[v,h]),M=o.useMemo(()=>function(){return h?h.filter(e=>2===e.length).map(e=>e.flat().flat()).map((e,t)=>(0,l.jsx)(u.Link,{className:"notion-property-file",href:s(e[2],v),target:"_blank",rel:"noreferrer noopener",children:(0,l.jsx)(a.h,{alt:e[0],src:s(e[2],v),loading:"lazy"})},t)):null},[v,u,h,s]),k=o.useMemo(()=>function(){var e;if(!h||!(null==c?void 0:c.name))return null;let t=h&&(null===(e=h[0])||void 0===e?void 0:e[0])==="Yes";return(0,l.jsxs)("div",{className:"notion-property-checkbox-container",children:[(0,l.jsx)(a.u,{isChecked:t,blockId:void 0}),(0,l.jsx)("span",{className:"notion-property-checkbox-text",children:c.name})]})},[h,c]),_=o.useMemo(()=>function(){var e;if(!h)return null;let t=null===(e=h[0])||void 0===e?void 0:e[0];if(!t)return null;let n=t,r="",i=t;try{let e=new URL(t);n=e.hostname.replace(/^www\./,"");let a="/"===e.pathname?"":e.pathname;i=e.href,r=a&&a.length>20?`${a.slice(0,8)}...${a.slice(-8)}`:a}catch(e){return(0,l.jsx)(a.d,{value:h,block:v,inline:f,linkProps:{target:"_blank",rel:"noreferrer noopener"}})}return(0,l.jsxs)("a",{href:i,target:"_blank",rel:"noreferrer noopener",className:"notion-link",children:[(0,l.jsx)("span",{className:"notion-url-domain",children:n}),r&&(0,l.jsx)("span",{className:"notion-url-path",children:r})]})},[v,h,f]),z=o.useMemo(()=>function(){return(0,l.jsx)(a.d,{value:h,linkProtocol:"mailto",block:v})},[v,h]),H=o.useMemo(()=>function(){return(0,l.jsx)(a.d,{value:h,linkProtocol:"tel",block:v})},[v,h]),V=o.useMemo(()=>function(){var e;if(!h||!c)return null;let t=Number.parseFloat((null===(e=h[0])||void 0===e?void 0:e[0])||"0"),n="";if(Number.isNaN(t))return(0,l.jsx)(a.d,{value:h,block:v});switch(c.number_format){case"number_with_commas":case"number":n=(0,et.default)()(t);break;case"percent":n=(0,et.default)({suffix:"%"})(100*t);break;case"dollar":n=(0,et.default)({prefix:"$",round:2,padRight:2})(t);break;case"euro":n=(0,et.default)({prefix:"â¬",round:2,padRight:2})(t);break;case"pound":n=(0,et.default)({prefix:"\xa3",round:2,padRight:2})(t);break;case"yen":n=(0,et.default)({prefix:"\xa5",round:0})(t);break;case"rupee":n=(0,et.default)({prefix:"â¹",round:2,padRight:2})(t);break;case"won":n=(0,et.default)({prefix:"â©",round:0})(t);break;case"yuan":n=(0,et.default)({prefix:"CN\xa5",round:2,padRight:2})(t);break;case"argentine_peso":n=(0,et.default)({prefix:"ARS ",round:2,padRight:2})(t);break;case"baht":n=(0,et.default)({prefix:"THB ",round:2,padRight:2})(t);break;case"canadian_dollar":n=(0,et.default)({prefix:"CA$",round:2,padRight:2})(t);break;case"chilean_peso":n=(0,et.default)({prefix:"CLP ",round:0})(t);break;case"colombian_peso":n=(0,et.default)({prefix:"COP ",round:0})(t);break;case"danish_krone":n=(0,et.default)({prefix:"DKK ",round:2,padRight:2})(t);break;case"dirham":n=(0,et.default)({prefix:"AED ",round:2,padRight:2})(t);break;case"forint":n=(0,et.default)({prefix:"HUF ",round:0})(t);break;case"franc":n=(0,et.default)({prefix:"CHF ",round:2,padRight:2})(t);break;case"hong_kong_dollar":n=(0,et.default)({prefix:"HK$",round:2,padRight:2})(t);break;case"koruna":n=(0,et.default)({prefix:"CZK ",round:2,padRight:2})(t);break;case"krona":n=(0,et.default)({prefix:"SEK ",round:2,padRight:2})(t);break;case"leu":n=(0,et.default)({prefix:"RON ",round:2,padRight:2})(t);break;case"lira":n=(0,et.default)({prefix:"TRY ",round:2,padRight:2})(t);break;case"mexican_peso":n=(0,et.default)({prefix:"MX$",round:2,padRight:2})(t);break;case"new_taiwan_dollar":n=(0,et.default)({prefix:"NT$",round:0})(t);break;case"new_zealand_dollar":n=(0,et.default)({prefix:"NZ$",round:2,padRight:2})(t);break;case"norwegian_krone":n=(0,et.default)({prefix:"NOK ",round:2,padRight:2})(t);break;case"philippine_peso":n=(0,et.default)({prefix:"â±",round:2,padRight:2})(t);break;case"peruvian_sol":n=(0,et.default)({prefix:"PEN ",round:2,padRight:2})(t);break;case"rand":n=(0,et.default)({prefix:"ZAR ",round:2,padRight:2})(t);break;case"real":n=(0,et.default)({prefix:"R$",round:2,padRight:2})(t);break;case"ringgit":n=(0,et.default)({prefix:"MYR ",round:2,padRight:2})(t);break;case"riyal":n=(0,et.default)({prefix:"SAR ",round:2,padRight:2})(t);break;case"ruble":n=(0,et.default)({prefix:"RUB ",round:2,padRight:2})(t);break;case"rupiah":n=(0,et.default)({prefix:"IDR ",round:0})(t);break;case"shekel":n=(0,et.default)({prefix:"âª",round:2,padRight:2})(t);break;case"singapore_dollar":n=(0,et.default)({prefix:"SGD ",round:2,padRight:2})(t);break;case"uruguayan_peso":n=(0,et.default)({prefix:"UYU ",round:2,padRight:2})(t);break;case"zloty":n=(0,et.default)({prefix:"PLN ",round:2,padRight:2})(t);break;default:return(0,l.jsx)(a.d,{value:h,block:v})}return(0,l.jsx)(a.d,{value:[[n]],block:v})},[v,h,c]),P=o.useMemo(()=>function(){return(0,l.jsx)(a.d,{value:h,block:v})},[v,h]),T=o.useMemo(()=>function(){return K(new Date(v.created_time),"MMM d, yyyy hh:mm aa")},[v]),D=o.useMemo(()=>function(){return K(new Date(v.last_edited_time),"MMM d, yyyy hh:mm aa")},[v]);if(!c)return null;let R=null;if(h||"checkbox"===c.type||"title"===c.type||"formula"===c.type||"created_by"===c.type||"last_edited_by"===c.type||"created_time"===c.type||"last_edited_time"===c.type)switch(c.type){case"relation":R=u.propertyRelationValue(e,x);break;case"formula":R=u.propertyFormulaValue(e,y);break;case"title":R=u.propertyTitleValue(e,w);break;case"status":{let r=(null==h||null===(t=h[0])||void 0===t?void 0:t[0])||"",i=null===(n=c.options)||void 0===n?void 0:n.find(e=>r===e.value),o=(null==i?void 0:i.color)||"default-inferred";R=u.propertySelectValue({...e,value:r,option:i,color:o},()=>(0,l.jsxs)("div",{className:(0,a._)(`notion-property-${c.type}-item`,o&&`notion-item-${o}`),children:[(0,l.jsx)("span",{className:(0,a._)(`notion-item-bullet-${o}`),style:{marginRight:"5px",borderRadius:"100%",height:"8px",width:"8px",display:"inline-flex",flexShrink:0}}),r]}));break}case"select":case"multi_select":R=((null==h||null===(r=h[0])||void 0===r?void 0:r[0])||"").split(",").filter(e=>{var t;return null===(t=c.options)||void 0===t?void 0:t.some(t=>e===t.value)}).map((t,n)=>{var r;let i=null===(r=c.options)||void 0===r?void 0:r.find(e=>t===e.value),o=null==i?void 0:i.color;return u.propertySelectValue({...e,key:n,value:t,option:i,color:o},()=>(0,l.jsx)("div",{className:(0,a._)(`notion-property-${c.type}-item`,o&&`notion-item-${o}`),children:t},n))});break;case"person":R=u.propertyPersonValue(e,j);break;case"file":R=u.propertyFileValue(e,M);break;case"checkbox":R=u.propertyCheckboxValue(e,k);break;
1case"url":R=u.propertyUrlValue(e,_);break;case"email":R=u.propertyEmailValue(e,z);break;case"phone_number":R=u.propertyPhoneNumberValue(e,H);break;case"number":R=u.propertyNumberValue(e,V);break;case"created_time":R=u.propertyCreatedTimeValue(e,T);break;case"last_edited_time":R=u.propertyLastEditedTimeValue(e,D);break;case"created_by":case"last_edited_by":break;case"auto_increment_id":R=u.propertyTextValue(e,P);break;case"text":R=u.propertyTextValue(e,g);break;case"date":R=u.propertyDateValue(e,b);break;default:R=(0,l.jsx)(a.d,{value:h,block:v})}return(0,l.jsx)("span",{className:`notion-property notion-property-${c.type}`,children:R})});function ed({block:e,pageHeader:t=!1,className:n}){var r,o,u;let{recordMap:s}=(0,a.o)(),d=e.parent_id,c=(0,i.Fz)(s.collection[d]),h=null==c?void 0:c.schema;if(!c||!h)return null;let v=Object.keys(h).filter(e=>"title"!==e);if((null===(r=c.format)||void 0===r?void 0:r.property_visibility)&&(v=v.filter(e=>{var t;return(null===(t=c.format)||void 0===t||null===(t=t.property_visibility)||void 0===t||null===(t=t.find(({property:t})=>t===e))||void 0===t?void 0:t.visibility)!=="hide"})),null===(o=c.format)||void 0===o?void 0:o.collection_page_properties){let e=Object.fromEntries(null===(u=c.format)||void 0===u?void 0:u.collection_page_properties.map((e,t)=>[e.property,t]));v.sort((t,n)=>e[t]-e[n])}else v.sort((e,t)=>h[e].name.localeCompare(h[t].name));return(0,l.jsx)("div",{className:(0,a._)("notion-collection-row",n),children:(0,l.jsx)("div",{className:"notion-collection-row-body",children:v.map(n=>{var r;let a=h[n];return a?(0,l.jsxs)("div",{className:"notion-collection-row-property",children:[(0,l.jsx)(f,{schema:a}),(0,l.jsx)("div",{className:"notion-collection-row-value",children:(0,l.jsx)(eu,{schema:a,data:null===(r=e.properties)||void 0===r?void 0:r[n],propertyId:n,block:e,collection:c,pageHeader:t})})]},n):null})})})}function ec(e){let{className:t,...n}=e;return(0,l.jsx)("svg",{className:t,...n,viewBox:"0 0 14 14",width:"14",children:(0,l.jsx)("path",{d:"M11.0918,0 C11.5383,0 11.9307,0.295898 12.0533,0.725586 L13.9615,7.40332 C13.9871,7.49316 14,7.58594 14,7.67871 L14,13 C14,13.5527 13.5522,14 13,14 L1,14 C0.447754,14 0,13.5527 0,13 L0,7.67871 C0,7.58594 0.0129395,7.49316 0.0384521,7.40332 L1.94666,0.725586 C2.06934,0.295898 2.46167,0 2.9082,0 L11.0918,0 Z M4.27271,1.5 C3.83728,1.5 3.45178,1.78223 3.31982,2.19727 L1.91455,6.61328 C1.70947,7.25879 2.1908,7.91699 2.86755,7.91699 L4.70837,7.91699 C4.70837,8.93652 5.16663,10.168 7,10.168 C8.83337,10.168 9.29163,8.93652 9.29163,7.91699 L11.1478,7.89355 C11.8201,7.88477 12.2927,7.22852 12.0876,6.58887 L10.681,2.19531 C10.5485,1.78125 10.1635,1.5 9.72864,1.5 L4.27271,1.5 Z"})})}function eh({collection:e,block:t,cover:n,coverSize:r,coverAspect:o,properties:u,className:s,...d}){var c,h,v,m,f,p,g,b;let x=(0,a.o)(),{components:y,recordMap:w,mapPageUrl:j,mapImageUrl:M,isLinkCollectionToUrlProperty:k}=x,N=null,{page_cover_position:C=.5,card_cover_position:_=.5}=t.format||{};if((null==n?void 0:n.type)==="page_content"||(null==n?void 0:n.type)==="page_content_first"){let e=null===(h=t.content)||void 0===h?void 0:h.find(e=>{let t=(0,i.Fz)(w.block[e]);return(null==t?void 0:t.type)==="image"});if(e){let t=(0,i.Fz)(w.block[e]);if(!t)return console.log('"page_content" missing block',e),null;let n=null!==(v=null===(m=t.properties)||void 0===m||null===(m=m.source)||void 0===m||null===(m=m[0])||void 0===m?void 0:m[0])&&void 0!==v?v:null===(f=t.format)||void 0===f?void 0:f.display_source;if(n){let e=M(n,t),r=null===(p=t.properties)||void 0===p||null===(p=p.caption)||void 0===p||null===(p=p[0])||void 0===p?void 0:p[0];N=(0,l.jsx)(a.g,{src:e,alt:r||"notion image",fill:!0,sizes:"(max-width: 640px) 100vw, 33vw",style:{objectFit:o,objectPosition:`center ${(1-_)*100}%`}})}}N||(N=(0,l.jsx)("div",{className:"notion-collection-card-cover-empty"}))}else if((null==n?void 0:n.type)==="page_cover"){let{page_cover:e}=t.format||{};e&&(N=(0,l.jsx)(a.g,{src:M(e,t),alt:(0,i.FB)(null===(g=t.properties)||void 0===g?void 0:g.title),fill:!0,sizes:"(max-width: 640px) 100vw, 33vw",style:{objectFit:o,objectPosition:`center ${(1-C)*100}
1%`}}))}else if((null==n?void 0:n.type)==="property"){let{property:r}=n;if(!r)return null;let i=e.schema[r],u=null===(b=t.properties)||void 0===b?void 0:b[r];if(i&&u){if("file"===i.type){let e=u.filter(e=>2===e.length).map(e=>e.flat().flat())[0];e&&(N=(0,l.jsx)("span",{className:`notion-property-${i.type}`,children:(0,l.jsx)(a.g,{alt:e[0],src:M(e[2],t),fill:!0,sizes:"(max-width: 640px) 100vw, 33vw",style:{objectFit:o,objectPosition:`center ${(1-C)*100}%`}})}))}else N=(0,l.jsx)(eu,{propertyId:r,schema:i,data:u})}}let S=[];k&&u&&(S=u.filter(t=>t.visible&&"title"!==t.property&&e.schema[t.property]).filter(n=>{if(!t.properties)return!1;let r=e.schema[n.property];return(null==r?void 0:r.type)==="url"}).map(e=>{var n;return null===(n=t.properties)||void 0===n?void 0:n[e.property]}).filter(e=>null==e?void 0:e[0]));let z=null;S&&S.length>0&&S[0].length>0&&S[0][0].length>0&&(z=S[0][0][0]);let L=(0,l.jsxs)(l.Fragment,{children:[(N||(null==n?void 0:n.type)!=="none")&&(0,l.jsx)("div",{className:"notion-collection-card-cover",children:N}),(0,l.jsxs)("div",{className:"notion-collection-card-body",children:[(0,l.jsx)("div",{className:"notion-collection-card-property",children:(0,l.jsx)(eu,{schema:e.schema.title,data:null==t||null===(c=t.properties)||void 0===c?void 0:c.title,block:t,collection:e})}),null==u?void 0:u.filter(t=>t.visible&&"title"!==t.property&&e.schema[t.property]).map(n=>{if(!t.properties||!n.property)return null;let r=e.schema[n.property],a=t.properties[n.property];return(0,l.jsx)("div",{className:"notion-collection-card-property",children:(0,l.jsx)(eu,{schema:r,data:a,block:t,collection:e,inline:!0})},n.property)})]})]});return(0,l.jsx)(a.i,{...x,components:{...x.components,Link:e=>{var t,n;return(0,l.jsx)("form",{action:e.href,target:"_blank",children:(0,l.jsx)("input",{type:"submit",value:null!==(t=null==e||null===(n=e.children)||void 0===n||null===(n=n.props)||void 0===n?void 0:n.children)&&void 0!==t?t:e.href,className:"nested-form-link notion-link"})})},PageLink:a.a},children:k&&z?(0,l.jsx)(y.Link,{className:(0,a._)("notion-collection-card",`notion-collection-card-size-${r}`,s),href:z,...d,children:L}):(0,l.jsx)(y.PageLink,{className:(0,a._)("notion-collection-card",`notion-collection-card-size-${r}`,s),href:j(t.id),...d,children:L})})}function ev({collectionViewComponent:e,collection:t,collectionGroup:n,schema:r,value:a,hidden:i,summaryProps:o,detailsProps:u,...s}){return i?null:(0,l.jsxs)("details",{open:!0,className:"notion-collection-group",...u,children:[(0,l.jsx)("summary",{className:"notion-collection-group-title",...o,children:(0,l.jsxs)("div",{children:[(0,l.jsx)(eu,{schema:r,data:[[a]],collection:t}),(0,l.jsx)("span",{className:"notion-board-th-count",children:null==n?void 0:n.total})]})}),(0,l.jsx)(e,{collection:t,collectionGroup:n,...s})]})}function em(e,t,n){var r;return((null==t||null===(r=t.format)||void 0===r?void 0:r.collection_groups)||[]).map(({property:r,hidden:a,value:{value:i,type:o}})=>{var l,u;let s=void 0===i,d=null==i?void 0:i.range,c=s?"uncategorized":d?(null===(l=i.range)||void 0===l?void 0:l.start_date)||(null===(u=i.range)||void 0===u?void 0:u.end_date):(null==i?void 0:i.value)||i,h=n[`results:${o}:${c}`],v=!s&&(d||(null==i?void 0:i.value)||i),m=e.schema[r];return"checkbox"===o&&i&&(v="Yes"),d&&(m={type:"text",name:"text"},v=K(new Date(c),"MMM d, yyyy hh:mm aa")),{collectionGroup:h,schema:m,value:v||"No description",hidden:a,collection:e,collectionView:t,collectionData:n,blockIds:null==h?void 0:h.blockIds}})}function ef({collection:e,collectionView:t,collectionData:n,padding:r}){var a;return(null==t||null===(a=t.format)||void 0===a?void 0:a.collection_group_by)?em(e,t,n).map((e,t)=>(0,l.jsx)(ev,{...e,padding:r,summaryProps:{style:{paddingLeft:r}},collectionViewComponent:e=>(0,l.jsx)(ep,{padding:r,...e})},t)):(0,l.jsx)(ep,{padding:r,collectionView:t,collection:e,collectionData:n})}function ep({collectionView:e,collectionData:t,collection:n,padding:r}){var u,s,d;let{recordMap:c}=(0,a.o)(),{board_cover:h={type:"none"},board_cover_size:v="medium",board_cover_aspect:m="cover"}=(null==e?void 0:e.format)||{},f=(null==e||null===(u=e.format)||void 0===u?void 0:u.board_columns)||(null==e||null===(s=e.format)||void 0===s?void 0:s.board_groups2)||[],p=null==e||null===(d=e.format)||void 0===d||null===(d=d.board_columns_by)||void 0===d?void 0:d.groupBy,g=o.useMemo(()=>({paddingLeft:r}),[r]);return(0,l.jsx)("div",{className:"notion-board",children:(0,l.jsxs)("div",{className:(0,a._)("notion-board-view",`notion-board-view-size-${v}`),style:g,children:[(0,l.jsx)("div",{className:"notion-board-header",children:(0,l.jsx)("div",{className:"notion-board-header-inner",children:f.map((e,r)=>{var a,i,o,u;if(!(null===(a=t.board_columns)||void 0===a?void 0:a.results))return null;let s=t.board_columns.results[r],d=n.schema[e.property];return s&&d&&!e.hidden?(0,l.jsx)("div",{className:"notion-board-th",children:(0,l.jsxs)("div",{className:"notion-board-th-body",children:[(null===(i=s.value)||void 0===i?void 0:i.value)?(0,l.jsx)(eu,{schema:d,data:[[(null===(o=s.value)||void 0===o?void 0:o.value[p])||(null===(u=s.value)||void 0===u?void 0:u.value)]],collection:n}):(0,l.jsxs)("span",{children:[(0,l.jsx)(ec,{className:"notion-board-th-empty"}),(null==d?void 0:d.name)?`No ${d.name}`:"No Select"]}),(0,l.jsx)("span",{className:"notion-board-th-count",children:s.total})]})},r):null})})}),(0,l.jsx)("div",{className:"notion-board-header-placeholder"}),(0,l.jsx)("div",{className:"notion-board-body",children:f.map((r,a)=>{var o,u,s,d,f;if(!(null===(o=t.board_columns)||void 0===o?void 0:o.results)||!(null==r||null===(u=r.value)||void 0===u?void 0:u.type))return null;let p=n.schema[r.property],g=t[`results:${null==r||null===(s=r.value)||void 0===s?void 0:s.type}:${(null==r||null===(d=r.value)||void 0===d?void 0:d.value)||"uncategorized"}`];return g&&p&&!r.hidden?(0,l.jsx)("div",{className:"notion-board-group",children:null===(f=g.blockIds)||void 0===f?void 0:f.map(t=>{var r;let a=(0,i.Fz)(c.block[t]);return a?(0,l.jsx)(eh,{className:"notion-board-group-card",collection:n,block:a,cover:h,coverSize:v,coverAspect:m,properties:null===(r=e.format)||void 0===r?void 0:r.board_properties},t):null})},a):null})})]})})}let eg=[];function eb({collection:e,collectionView:t,collectionData:n}){var r,a,i,o,u;if(null==t||null===(r=t.format)||void 0===r?void 0:r.collection_group_by)return em(e,t,n).map((e,t)=>(0,l.jsx)(ev,{...e,collectionViewComponent:ex},t));let s=(null!==(a=null!==(i=null===(o=n.collection_group_results)||void 0===o?void 0:o.blockIds)&&void 0!==i?i:null===(u=n["results:relation:uncategorized"])||void 0===u?void 0:u.blockIds)&&void 0!==a?a:n.blockIds)||eg;return(0,l.jsx)(ex,{collectionView:t,collection:e,blockIds:s})}function ex({blockIds:e,collectionView:t,collection:n}){let{recordMap:r}=(0,a.o)(),{gallery_cover:u={type:"none"},gallery_cover_size:s="medium",gallery_cover_aspect:d="cover",inline_collection_first_load_limit:c}=t.format||{},[h,v]=o.useState(!1),m=null==c?void 0:c.limit,f="number"==typeof m&&!h&&((null==e?void 0:e.length)||0)>m,p=f?null==e?void 0:e.slice(0,m):e;return(0,l.jsxs)("div",{className:"notion-gallery",children:[(0,l.jsx)("div",{className:"notion-gallery-view",children:(0,l.jsx)("div",{className:(0,a._)("notion-gallery-grid",`notion-gallery-grid-size-${s}`),children:null==p?void 0:p.map(e=>{var a;let o=(0,i.Fz)(r.block[e]);return o?(0,l.jsx)(eh,{collection:n,block:o,cover:u,coverSize:s,coverAspect:d,properties:null===(a=t.format)||void 0===a?void 0:a.gallery_properties},e):null})})}),f&&(0,l.jsxs)("div",{className:"notion-collection-load-more",onClick:()=>v(!0),children:[(0,l.jsxs)("svg",{viewBox:"0 0 24 24",height:"16",width:"16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,l.jsx)("path",{d:"M12 5v14"}),(0,l.jsx)("path",{d:"m19 12-7 7-7-7"})]}),"Load more"]})]})}let ey=[];function ew({collection:e,collectionView:t,collectionData:n}){var r,a,i;if(null==t||null===(r=t.format)||void 0===r?void 0:r.collection_group_by)return em(e,t,n).map((e,t)=>(0,l.jsx)(ev,{...e,collectionViewComponent:ej},t));let o=(null!==(a=null===(i=n.collection_group_results)||void 0===i?void 0:i.blockIds)&&void 0!==a?a:n.blockIds)||ey;return(0,l.jsx)(ej,{blockIds:o,collection:e,collectionView:t})}function ej({blockIds:e=[],collection:t,collectionView:n}){let{components:r,recordMap:u,mapPageUrl:s}
1=(0,a.o)(),[d,c]=o.useState(!1),{inline_collection_first_load_limit:h}=n.format||{},v=null==h?void 0:h.limit,m="number"==typeof v&&!d&&((null==e?void 0:e.length)||0)>v,f=m?null==e?void 0:e.slice(0,v):e;return(0,l.jsxs)("div",{className:"notion-list-collection",children:[(0,l.jsx)("div",{className:"notion-list-view",children:(0,l.jsx)("div",{className:"notion-list-body",children:null==f?void 0:f.map(e=>{var o,d;let c=(0,i.Fz)(u.block[e]);if(!c)return null;let h=t.schema.title,v=null==c||null===(o=c.properties)||void 0===o?void 0:o.title;return(0,l.jsxs)(r.PageLink,{className:"notion-list-item notion-page-link",href:s(c.id),children:[(0,l.jsxs)("div",{className:"notion-list-item-title",children:[(0,l.jsx)(a.p,{block:c,className:"notion-page-title-icon",hideDefaultIcon:!0}),(0,l.jsx)(eu,{schema:h,data:v,block:c,collection:t,linkToTitlePage:!1})]}),(0,l.jsx)("div",{className:"notion-list-item-body",children:null===(d=n.format)||void 0===d||null===(d=d.list_properties)||void 0===d?void 0:d.filter(e=>e.visible&&"title"!==e.property).map(e=>{var n;let r=t.schema[e.property],a=c&&(null===(n=c.properties)||void 0===n?void 0:n[e.property]);return r?(0,l.jsx)("div",{className:"notion-list-item-property",children:(0,l.jsx)(eu,{schema:r,data:a,block:c,collection:t})},e.property):null})})]},e)})})}),m&&(0,l.jsxs)("div",{className:"notion-collection-load-more",onClick:()=>c(!0),children:[(0,l.jsxs)("svg",{viewBox:"0 0 24 24",height:"16",width:"16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,l.jsx)("path",{d:"M12 5v14"}),(0,l.jsx)("path",{d:"m19 12-7 7-7-7"})]}),"Load more"]})]})}let eM=()=>{},ek=!!globalThis.window,eN=(e=1/0,t=1/0)=>{let[n,r]=eS({width:ek?globalThis.window.innerWidth:e,height:ek?globalThis.window.innerHeight:t});return(0,o.useEffect)(()=>{if(ek){let e=()=>{r({width:globalThis.window.innerWidth,height:globalThis.window.innerHeight})};return function(e,...t){e&&e.addEventListener&&e.addEventListener(...t)}(globalThis.window,"resize",e),()=>{!function(e,...t){e&&e.removeEventListener&&e.removeEventListener(...t)}(globalThis.window,"resize",e)}}}),n},eC=e=>{(0,o.useEffect)(e)},e_=e=>{let t=(0,o.useRef)(e);t.current=e,eC(()=>()=>t.current())},eS=e=>{let t=(0,o.useRef)(0),[n,r]=(0,o.useState)(e),a=(0,o.useCallback)(e=>{cancelAnimationFrame(t.current),t.current=requestAnimationFrame(()=>{r(e)})},[]);return e_(()=>{cancelAnimationFrame(t.current)}),[n,a]},ez=(e,t,n)=>{if(!ek)return[t,eM,eM];if(!e)throw Error("useLocalStorage key may not be falsy");let r=n?n.raw?e=>e:n.deserializer:JSON.parse,a=(0,o.useRef)(e=>{try{let a=n?n.raw?String:n.serializer:JSON.stringify,i=localStorage.getItem(e);if(null!==i)return r(i);return t&&localStorage.setItem(e,a(t)),t}catch(e){return t}}),[i,l]=(0,o.useState)(()=>a.current(e));return(0,o.useLayoutEffect)(()=>l(a.current(e)),[e]),[i,(0,o.useCallback)(t=>{try{let a;let o="function"==typeof t?t(i):t;if(void 0===o)return;a=n?n.raw?"string"==typeof o?o:JSON.stringify(o):n.serializer?n.serializer(o):JSON.stringify(o):JSON.stringify(o),localStorage.setItem(e,a),l(r(a))}catch(e){}},[e,l]),(0,o.useCallback)(()=>{try{localStorage.removeItem(e),l(void 0)}catch(e){}},[e,l])]},eL=(e,t={})=>{let[n,r]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{r(!0)},[]),n?e:t};function eH({tableRef:e}){let[t,n]=o.useState(null),r=o.useRef(void 0);if(o.useEffect(()=>{let t=e.current;if(t)return t.addEventListener("mouseenter",a,!0),t.addEventListener("mouseleave",i,!0),()=>{t.removeEventListener("mouseenter",a,!0),t.removeEventListener("mouseleave",i,!0),r.current&&clearTimeout(r.current)};function a(e){var t,a;let i=null===(t=(a=e.target).closest)||void 0===t?void 0:t.call(a,".notion-table-cell-nowrap");if(!i||i.classList.contains("notion-table-cell-url"))return;let o=i.scrollWidth>i.clientWidth,l=i;if(!o){let e=i.querySelector(".notion-property-select-item, .notion-property-multi_select-item");e&&e.scrollWidth>e.clientWidth&&(o=!0,l=e)}if(!o)return;r.current&&(clearTimeout(r.current),r.current=void 0);let u=i.getBoundingClientRect();n({html:l.innerHTML,rect:u})}function i(e){var t,a;(null===(t=(a=e.target).closest)||void 0===t?void 0:t.call(a,".notion-table-cell-nowrap"))&&(r.current=window.setTimeout(()=>{n(null)},50))}},[e]),!t||"undefined"==typeof document)return null;let a={position:"fixed",left:t.rect.left,top:t.rect.top-6,transform:"translateY(-100%)",minWidth:t.rect.width,maxWidth:"calc(100vw - 24px)",zIndex:100,background:"rgb(44, 44, 43)",color:"rgb(240, 239, 237)",borderRadius:6,padding:"5px 8px",fontSize:12,lineHeight:1.4,whiteSpace:"normal",wordBreak:"break-word",boxShadow:"rgba(0,0,0,0.08) 0 4px 12px -2px, rgba(255,255,255,0.05) 0 0 0 1px inset",pointerEvents:"none",opacity:1,transition:"opacity 50ms ease-out"};return(0,u.createPortal)((0,l.jsx)("div",{className:"notion-table-cell-tooltip",style:a,dangerouslySetInnerHTML:{__html:t.html}}),document.body)}let eV=[];function eP({collection:e,collectionView:t,collectionData:n,padding:r,width:a}){var i,o,u;if(null==t||null===(i=t.format)||void 0===i?void 0:i.collection_group_by)return em(e,t,n).map((e,t)=>(0,l.jsx)(ev,{...e,padding:r,width:a,collectionViewComponent:e=>(0,l.jsx)(eT,{...e,padding:r,width:a}),summaryProps:{style:{paddingLeft:r,paddingRight:r}}},t));let s=(null!==(o=null===(u=n.collection_group_results)||void 0===u?void 0:u.blockIds)&&void 0!==o?o:n.blockIds)||eV;return(0,l.jsx)(eT,{blockIds:s,collection:e,collectionView:t,padding:r,width:a})}function eT({blockIds:e=[],collection:t,collectionView:n,width:r,padding:u}){var s,d,c;let{recordMap:h,linkTableTitleProperties:v}
1=(0,a.o)(),[m,p]=o.useState(!1),g=null!==(s=null===(d=n.format)||void 0===d?void 0:d.table_wrap)&&void 0!==s&&s,b=o.useRef(null),{inline_collection_first_load_limit:x}=n.format||{},y=null==x?void 0:x.limit,w="number"==typeof y&&!m&&((null==e?void 0:e.length)||0)>y,j=w?null==e?void 0:e.slice(0,y):e,M=eL({width:r,maxWidth:r},{visibility:"hidden"}),k=eL({paddingLeft:u,paddingRight:u}),N=[];return N=(null===(c=n.format)||void 0===c?void 0:c.table_properties)?n.format.table_properties.filter(e=>e.visible&&t.schema[e.property]):[{property:"title"}].concat(Object.keys(t.schema).filter(e=>"title"!==e).map(e=>({property:e}))),(0,l.jsxs)("div",{className:"notion-table",style:M,ref:b,children:[(0,l.jsx)("div",{className:"notion-table-view",style:k,children:!!N.length&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"notion-table-header",children:(0,l.jsx)("div",{className:"notion-table-header-inner",children:N.map(e=>{var n;let r=null===(n=t.schema)||void 0===n?void 0:n[e.property],a="title"===e.property,i={};return e.width?i.width=e.width:a?i.width=280:i.width=200,(0,l.jsx)("div",{className:"notion-table-th",children:(0,l.jsx)("div",{className:"notion-table-view-header-cell",style:i,children:(0,l.jsx)("div",{className:"notion-table-view-header-cell-inner",children:r&&(0,l.jsx)(f,{schema:r})})})},e.property)})})}),(0,l.jsx)("div",{className:"notion-table-header-placeholder"}),(0,l.jsx)("div",{className:"notion-table-body",children:null==j?void 0:j.map(e=>(0,l.jsx)("div",{className:"notion-table-row",children:N.map(n=>{var r,o,u;let s=null===(r=t.schema)||void 0===r?void 0:r[n.property],d=(0,i.Fz)(h.block[e]),c=null==d||null===(o=d.properties)||void 0===o?void 0:o[n.property],m="title"===n.property,f={};n.width?f.width=n.width:m?f.width=280:f.width=200;let p=null!==(u=n.wrap)&&void 0!==u?u:g;return(0,l.jsx)("div",{className:(0,a._)("notion-table-cell",`notion-table-cell-${null==s?void 0:s.type}`,!p&&"notion-table-cell-nowrap"),style:f,children:(0,l.jsx)(eu,{schema:s,data:c,block:d,collection:t,linkToTitlePage:v})},n.property)})},e))}),(0,l.jsx)(eH,{tableRef:b})]})}),w&&(0,l.jsxs)("div",{className:"notion-collection-load-more",onClick:()=>p(!0),children:[(0,l.jsxs)("svg",{viewBox:"0 0 24 24",height:"16",width:"16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,l.jsx)("path",{d:"M12 5v14"}),(0,l.jsx)("path",{d:"m19 12-7 7-7-7"})]}),"Load more"]})]})}let eD=o.memo(function(e){let{collectionView:t}=e;switch(t.type){case"table":return(0,l.jsx)(eP,{...e});case"gallery":return(0,l.jsx)(eb,{...e});case"list":return(0,l.jsx)(ew,{...e});case"board":return(0,l.jsx)(ef,{...e});default:return console.warn("unsupported collection view",t),null}}),eR=!globalThis.window;function eF({block:e,className:t,ctx:n}){let r=o.useMemo(()=>({...n}),[n]);return"page"!==e.type?(0,l.jsx)(a.i,{...r,children:(0,l.jsx)(eE,{block:e,className:t})}):"collection"!==e.parent_table?null:(0,l.jsx)(a.i,{...r,children:(0,l.jsx)("div",{className:"notion-collection-page-properties",children:(0,l.jsx)(ed,{block:e,pageHeader:!0,className:t})})})}function eE({block:e,className:t}){var n,r,u;let{recordMap:s,showCollectionViewDropdown:d}=(0,a.o)(),{view_ids:c}=e,h=(0,i.c5)(e,s),[v,m]=o.useState(!1);o.useEffect(()=>{m(!0)},[]);let f=c[0],[p,g]=ez(e.id,{collectionViewId:f}),b=v&&c.find(e=>e&&e===(null==p?void 0:p.collectionViewId))||f,x=o.useCallback(e=>{console.log("change collection view",e),g({...p,collectionViewId:e})},[p,g]),{width:y}=eN();eR&&(y=1024);let w=(0,i.Fz)(s.collection[h]),j=(0,i.Fz)(s.collection_view[b]),M=null===(n=s.collection_query[h])||void 0===n?void 0:n[b],k=(0,i.cj)(e,s),{width:N,padding:C}=o.useMemo(()=>{var e;let t={};if((null==j?void 0:j.type)!=="table"&&(null==j?void 0:j.type)!=="board")return{style:t,width:0,padding:0};let n=y,r=708;r=(null==k||null===(e=k.format)||void 0===e?void 0:e.page_full_width)?Math.trunc(n-2*Math.min(96,.08*n)):n<708?Math.trunc(n-.02*n):708;let a=eR&&!v?96:Math.trunc((n-r)/2);return t.paddingLeft=a,t.paddingRight=a,{style:t,width:n,padding:a}},[y,k,null==j?void 0:j.type,v]);if(!(w&&j&&M))return console.warn("skipping missing collection view for block",e.i
1d,{collectionId:h,collectionViewId:b,collectionView:j,collectionData:M,recordMap:s}),null;let _=(0,i.FB)(w.name).trim(),S=(null===(r=e.format)||void 0===r?void 0:r.hide_inline_collection_name)!==!0&&(null===(u=j.format)||void 0===u?void 0:u.hide_linked_collection_name)!==!0&&_;return w.icon&&(e.format={...e.format,page_icon:w.icon}),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{children:c.length>1&&d&&(0,l.jsx)(eW,{collectionViewId:b,viewIds:c,onChangeView:x})}),S&&(0,l.jsx)("div",{className:"notion-collection-header",children:(0,l.jsxs)("div",{className:"notion-collection-header-title",children:[(0,l.jsx)(a.p,{block:e,className:"notion-page-title-icon",hideDefaultIcon:!0}),_]})})]}),(0,l.jsx)("div",{className:(0,a._)("notion-collection",t),children:(0,l.jsx)(eD,{collection:w,collectionView:j,collectionData:M,padding:C,width:N})})]})}function eW({collectionViewId:e,viewIds:t,onChangeView:n}){let{recordMap:r}=(0,a.o)();return(0,l.jsx)("div",{className:"notion-collection-view-tabs-row",children:t.map(t=>(0,l.jsx)("button",{onClick:()=>n(t),className:(0,a._)("notion-collection-view-tabs-content-item",e===t&&"notion-collection-view-tabs-content-item-active"),children:(0,l.jsx)(eY,{collectionView:(0,i.Fz)(r.collection_view[t])})},t))})}function eY({collectionView:e,className:t,children:n,...r}){if(!e)return null;let{type:i}=e,o=e.name||`${i[0].toUpperCase()}${i.slice(1)} view`;return(0,l.jsxs)("div",{className:(0,a._)("notion-collection-view-type",t),...r,children:[(0,l.jsx)(d,{className:"notion-collection-view-type-icon",type:i}),(0,l.jsx)("span",{className:"notion-collection-view-type-title",children:o}),n]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.