idea-react 2.2.3 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,2 +1 @@
1
- var $14c85ffeff1ab241$export$fad3c8302a7540c6,$14c85ffeff1ab241$export$5f81b96ae5b0befd,$14c85ffeff1ab241$export$1a22ace05a045e3f,$14c85ffeff1ab241$export$c7aa240077ad8340,$14c85ffeff1ab241$export$5add10f2a1e13991,$cb8a09c271d9e2a2$export$70443d1bfecdb242,$cb8a09c271d9e2a2$export$a025291d1676ce41,$cb8a09c271d9e2a2$export$2585081e06ef4cbf,$4bfbcb67a3daf664$export$79ffe56a765070d2,$4bfbcb67a3daf664$export$cddc5598d4bb8461,$4bfbcb67a3daf664$export$73b7b5b52b6662d7,$7d37db9df1578ff2$export$5c452ff88e35e47d,$7d37db9df1578ff2$export$30d389775d7a0f3c,$7d37db9df1578ff2$export$a8ff84c12d48cfa6,$7d37db9df1578ff2$export$896c314ae37c4db9,$7d37db9df1578ff2$export$717db1a952ac2d26,$7d37db9df1578ff2$export$74fdf2685172213b,$7d37db9df1578ff2$export$fb184b623420d9be,$7d37db9df1578ff2$export$ec176431609ba4c9,$7d37db9df1578ff2$export$ea7c3e02973c1d5b,$c628d4ba96623bb8$export$1a22ace05a045e3f,$c628d4ba96623bb8$export$c7aa240077ad8340,$8uLkp$swchelperscjs_sliced_to_arraycjs=require("@swc/helpers/cjs/_sliced_to_array.cjs"),$8uLkp$swchelperscjs_to_consumable_arraycjs=require("@swc/helpers/cjs/_to_consumable_array.cjs"),$8uLkp$reactjsxruntime=require("react/jsx-runtime"),$8uLkp$classnames=require("classnames"),$8uLkp$swchelperscjs_call_supercjs=require("@swc/helpers/cjs/_call_super.cjs"),$8uLkp$swchelperscjs_class_call_checkcjs=require("@swc/helpers/cjs/_class_call_check.cjs"),$8uLkp$swchelperscjs_create_classcjs=require("@swc/helpers/cjs/_create_class.cjs"),$8uLkp$swchelperscjs_inheritscjs=require("@swc/helpers/cjs/_inherits.cjs"),$8uLkp$react=require("react"),$8uLkp$reactelementtojsxstring=require("react-element-to-jsx-string"),$8uLkp$prismjs=require("prismjs");require("prismjs/components/prism-javascript"),require("prismjs/components/prism-jsx"),require("prismjs/components/prism-tsx"),require("prismjs/components/prism-typescript");var $8uLkp$swchelperscjs_getcjs=require("@swc/helpers/cjs/_get.cjs"),$8uLkp$swchelperscjs_get_prototype_ofcjs=require("@swc/helpers/cjs/_get_prototype_of.cjs"),$8uLkp$swchelperscjs_type_ofcjs=require("@swc/helpers/cjs/_type_of.cjs"),$8uLkp$mobx=require("mobx"),$8uLkp$mobxreact=require("mobx-react"),$8uLkp$mobxreacthelper=require("mobx-react-helper"),$8uLkp$webutility=require("web-utility"),$8uLkp$swchelperscjs_wrap_native_supercjs=require("@swc/helpers/cjs/_wrap_native_super.cjs"),$8uLkp$iterableobserver=require("iterable-observer"),$8uLkp$swchelperscjs_ts_generatorcjs=require("@swc/helpers/cjs/_ts_generator.cjs"),$8uLkp$reacteditorjs=require("react-editor-js"),$8uLkp$editorjshtml=require("editorjs-html"),$8uLkp$reactlive=require("react-live"),$8uLkp$reactbootstrap=require("react-bootstrap"),$8uLkp$html2canvas=require("html2canvas");function $parcel$exportWildcard(e,t){return Object.keys(t).forEach(function(r){"default"===r||"__esModule"===r||Object.prototype.hasOwnProperty.call(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[r]}})}),e}function $parcel$export(e,t,r,a){Object.defineProperty(e,t,{get:r,set:a,enumerable:!0,configurable:!0})}function $parcel$interopDefault(e){return e&&e.__esModule?e.default:e}var $fd019656019bb4f3$exports={};function $fd019656019bb4f3$export$e3607ec2d7a891c4(e){return function(t){return t&&new IntersectionObserver(function(t,r){var a,c,n=(0,$8uLkp$swchelperscjs_sliced_to_arraycjs._)(t,1)[0],i=n.isIntersecting,o=n.target;if(i){var s=["animate__animated","animate__".concat(e)];(a=o.classList).add.apply(a,(0,$8uLkp$swchelperscjs_to_consumable_arraycjs._)(s)),o.addEventListener("animationend",function(){return(c=o.classList).remove.apply(c,(0,$8uLkp$swchelperscjs_to_consumable_arraycjs._)(s))},{once:!0}),r.disconnect()}}).observe(t)}}$parcel$export($fd019656019bb4f3$exports,"animate",function(){return $fd019656019bb4f3$export$e3607ec2d7a891c4});var $757747c0209676cc$exports={};$parcel$export($757747c0209676cc$exports,"Avatar",function(){return $757747c0209676cc$export$e2255cf6045e8d47});var $757747c0209676cc$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$757747c0209676cc$export$e2255cf6045e8d47=function(e){var t=e.className,r=e.style,a=e.size,c=void 0===a?3:a,n=$757747c0209676cc$var$__rest(e,["className","style","size"]);return(0,$8uLkp$reactjsxruntime.jsx)("img",Object.assign({className:$parcel$interopDefault($8uLkp$classnames)("object-fit-cover rounded-circle",t),style:Object.assign({width:"".concat(c,"rem"),height:"".concat(c,"rem")},r)},n))};$757747c0209676cc$export$e2255cf6045e8d47.displayName="Avatar";var $a40a1c3d6dc84a7a$exports={};$parcel$export($a40a1c3d6dc84a7a$exports,"ClickBoundary",function(){return $a40a1c3d6dc84a7a$export$707fce199b8e37aa});var $a40a1c3d6dc84a7a$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$a40a1c3d6dc84a7a$export$707fce199b8e37aa=function(e){"use strict";function t(){var e;return(0,$8uLkp$swchelperscjs_class_call_checkcjs._)(this,t),e=(0,$8uLkp$swchelperscjs_call_supercjs._)(this,t,arguments),Object.defineProperty(e,"root",{enumerable:!0,configurable:!0,writable:!0,value:(0,$8uLkp$react.createRef)()}),Object.defineProperty(e,"switchClick",{enumerable:!0,configurable:!0,writable:!0,value:function(t){var r,a=e.props,c=a.onInnerClick,n=a.onOuterClick;(null==(r=e.root.current)?void 0:r.contains(t.target))?null==c||c(t):null==n||n(t)}}),e}return(0,$8uLkp$swchelperscjs_inheritscjs._)(t,e),(0,$8uLkp$swchelperscjs_create_classcjs._)(t,[{key:"componentDidMount",value:function(){window.addEventListener("click",this.switchClick,!0)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("click",this.switchClick,!0)}},{key:"render",value:function(){var e=this.props,t=e.children,r=(e.onInnerClick,e.onOuterClick,$a40a1c3d6dc84a7a$var$__rest(e,["children","onInnerClick","onOuterClick"]));return(0,$8uLkp$reactjsxruntime.jsx)("div",Object.assign({ref:this.root},r,{children:t}))}}]),t}($8uLkp$react.PureComponent),$89fa9a64cf869995$exports={};$parcel$export($89fa9a64cf869995$exports,"CodeBlock",function(){return $89fa9a64cf869995$export$6c415d1fdae3dfdb});var $89fa9a64cf869995$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$89fa9a64cf869995$export$6c415d1fdae3dfdb=function(e){var t=e.className,r=e.language,a=e.children,c=$89fa9a64cf869995$var$__rest(e,["className","language","children"]),n="string"==typeof a?a:$parcel$interopDefault($8uLkp$reactelementtojsxstring)((0,$8uLkp$react.isValidElement)(a)?a:(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactjsxruntime.Fragment,{children:a})),i=(0,$8uLkp$prismjs.highlight)(n,$8uLkp$prismjs.languages[r],r);return(0,$8uLkp$reactjsxruntime.jsx)("pre",Object.assign({className:"language-".concat(r," ").concat(void 0===t?"":t)},c,{children:(0,$8uLkp$reactjsxruntime.jsx)("code",{dangerouslySetInnerHTML:{__html:i},className:"language-".concat(r)})}))},$924d73683971f901$exports={};$parcel$export($924d73683971f901$exports,"VariantColors",function(){return $924d73683971f901$export$50b010be9260e56b}),$parcel$export($924d73683971f901$exports,"text2color",function(){return $924d73683971f901$export$b480d00b75c9ac2d});var $924d73683971f901$export$50b010be9260e56b=["primary","secondary","success","danger","warning","info","dark","light"];function $924d73683971f901$export$b480d00b75c9ac2d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=t[0]?$924d73683971f901$export$50b010be9260e56b.filter(function(e){return!t.find(function(t){return t===e})}):$924d73683971f901$export$50b010be9260e56b;return r[(0,$8uLkp$swchelperscjs_to_consumable_arraycjs._)(e).reduce(function(e,t){return e+t.charCodeAt(0)},0)%r.length]}var $9dab2fd0b4033192$exports={};$parcel$export($9dab2fd0b4033192$exports,"Countdown",function(){return $9dab2fd0b4033192$export$53819c0e58f98d49});var $9dab2fd0b4033192$var$__runInitializers=function(e,t,r){for(var a=arguments.length>2,c=0;c<t.length;c++)r=a?t[c].call(e,r):t[c].call(e);return a?r:void 0},$9dab2fd0b4033192$var$__esDecorate=function(e,t,r,a,c,n){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,s=a.kind,l="getter"===s?"get":"setter"===s?"set":"value",$=!t&&e?a.static?e:e.prototype:null,u=t||($?Object.getOwnPropertyDescriptor($,a.name):{}),d=!1,f=r.length-1;f>=0;f--){var p={};for(var b in a)p[b]="access"===b?{}:a[b];for(var b in a.access)p.access[b]=a.access[b];p.addInitializer=function(e){if(d)throw TypeError("Cannot add initializers after decoration has completed");n.push(i(e||null))};var v=(0,r[f])("accessor"===s?{get:u.get,set:u.set}:u[l],p);if("accessor"===s){if(void 0===v)continue;if(null===v||(void 0===v?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(v))!=="object")throw TypeError("Object expected");(o=i(v.get))&&(u.get=o),(o=i(v.set))&&(u.set=o),(o=i(v.init))&&c.unshift(o)}else(o=i(v))&&("field"===s?c.unshift(o):u[l]=o)}$&&Object.defineProperty($,a.name,u),d=!0},$9dab2fd0b4033192$var$__setFunctionName=function(e,t,r){return(void 0===t?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(t))==="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})},$9dab2fd0b4033192$var$__classPrivateFieldGet=function(e,t,r,a){if("a"===r&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?a:"a"===r?a.call(e):a?a.value:t.get(e)},$9dab2fd0b4033192$var$__classPrivateFieldSet=function(e,t,r,a,c){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!c)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!c:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?c.call(e,r):c?c.value=r:t.set(e,r),r},$9dab2fd0b4033192$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$9dab2fd0b4033192$export$53819c0e58f98d49=function(){var e,t,r,a,c,n,i,o,s=[$8uLkp$mobxreact.observer],l=[],$=$8uLkp$mobxreacthelper.ObservedComponent,u=[],d=[],f=[];return c=function(e){"use strict";function t(){var e;return(0,$8uLkp$swchelperscjs_class_call_checkcjs._)(this,t),e=(0,$8uLkp$swchelperscjs_call_supercjs._)(this,t,arguments),r.set(e,($9dab2fd0b4033192$var$__runInitializers(e,u),$9dab2fd0b4033192$var$__runInitializers(e,d,0))),Object.defineProperty(e,"timer",{enumerable:!0,configurable:!0,writable:!0,value:($9dab2fd0b4033192$var$__runInitializers(e,f),0)}),Object.defineProperty(e,"tick",{enumerable:!0,configurable:!0,writable:!0,value:function(){var t=e.props,r=t.onEnd,a=t.endTime,c=e.endTimestamp-Date.now();c>0?e.rest=c:(e.rest=0,e.stop(),null==r||r(a))}}),e}return(0,$8uLkp$swchelperscjs_inheritscjs._)(t,e),(0,$8uLkp$swchelperscjs_create_classcjs._)(t,[{key:"rest",get:function(){return $9dab2fd0b4033192$var$__classPrivateFieldGet(this,r,"f")},set:function(e){$9dab2fd0b4033192$var$__classPrivateFieldSet(this,r,e,"f")}},{key:"endTimestamp",get:function(){return+new Date(this.props.endTime||Date.now())}},{key:"timeSections",get:function(){var e=this.observedProps.units,t=this.rest;return e.reduce(function(r,a,c){var n=a.label,i=e.slice(c).map(function(e){return e.scale}).reduce(function(e,t){return e*t},1),o=~~(t/i);return t-=o*i,r.push({value:o,label:n}),r},[])}},{key:"stop",value:function(){this.timer&&(window.clearInterval(this.timer),this.timer=0)}},{key:"componentDidMount",value:function(){(0,$8uLkp$swchelperscjs_getcjs._)((0,$8uLkp$swchelperscjs_get_prototype_ofcjs._)(t.prototype),"componentDidMount",this).call(this),this.initTimer()}},{key:"initTimer",value:function(){this.stop(),this.tick(),this.timer=window.setInterval(this.tick,$8uLkp$webutility.Second)}},{key:"componentWillUnmount",value:function(){(0,$8uLkp$swchelperscjs_getcjs._)((0,$8uLkp$swchelperscjs_get_prototype_ofcjs._)(t.prototype),"componentWillUnmount",this).call(this),this.stop()}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.itemClassName,a=void 0===r?"border rounded px-4 py-3 d-flex flex-column justify-content-center align-items-center":r,c=(e.units,e.endTime,e.onEnd,$9dab2fd0b4033192$var$__rest(e,["className","itemClassName","units","endTime","onEnd"])),n=this.timeSections;return(0,$8uLkp$reactjsxruntime.jsx)("ol",Object.assign({className:"list-unstyled m-0 ".concat(void 0===t?"":t)},c,{children:n.map(function(e){var t=e.value,r=e.label;return(0,$8uLkp$reactjsxruntime.jsxs)("li",{className:a,children:[(0,$8uLkp$reactjsxruntime.jsx)("strong",{children:(t+"").padStart(2,"0")}),(0,$8uLkp$reactjsxruntime.jsx)("span",{children:r})]},r)})}))}}]),t}($),r=new WeakMap,$9dab2fd0b4033192$var$__setFunctionName(c,"Countdown"),t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!=(e=$[Symbol.metadata])?e:null):void 0,n=[$8uLkp$mobx.observable],i=[$8uLkp$mobx.computed],o=[(0,$8uLkp$mobxreacthelper.reaction)(function(e){return e.observedProps.endTime})],$9dab2fd0b4033192$var$__esDecorate(c,null,n,{kind:"accessor",name:"rest",static:!1,private:!1,access:{has:function(e){return"rest"in e},get:function(e){return e.rest},set:function(e,t){e.rest=t}},metadata:t},d,f),$9dab2fd0b4033192$var$__esDecorate(c,null,i,{kind:"getter",name:"timeSections",static:!1,private:!1,access:{has:function(e){return"timeSections"in e},get:function(e){return e.timeSections}},metadata:t},null,u),$9dab2fd0b4033192$var$__esDecorate(c,null,o,{kind:"method",name:"initTimer",static:!1,private:!1,access:{has:function(e){return"initTimer"in e},get:function(e){return e.initTimer}},metadata:t},null,u),$9dab2fd0b4033192$var$__esDecorate(null,a={value:c},s,{kind:"class",name:c.name,metadata:t},null,l),c=a.value,t&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(c,"displayName",{enumerable:!0,configurable:!0,writable:!0,value:"Countdown"}),$9dab2fd0b4033192$var$__runInitializers(c,l),c}(),$e308f4ff6755d29b$exports={};$parcel$export($e308f4ff6755d29b$exports,"DialogClose",function(){return $e308f4ff6755d29b$export$fba2fb7cd781b7ac}),$parcel$export($e308f4ff6755d29b$exports,"Dialog",function(){return $e308f4ff6755d29b$export$3ddf2d174ce01153});var $e308f4ff6755d29b$var$__esDecorate=function(e,t,r,a,c,n){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,s=a.kind,l="getter"===s?"get":"setter"===s?"set":"value",$=!t&&e?a.static?e:e.prototype:null,u=t||($?Object.getOwnPropertyDescriptor($,a.name):{}),d=!1,f=r.length-1;f>=0;f--){var p={};for(var b in a)p[b]="access"===b?{}:a[b];for(var b in a.access)p.access[b]=a.access[b];p.addInitializer=function(e){if(d)throw TypeError("Cannot add initializers after decoration has completed");n.push(i(e||null))};var v=(0,r[f])("accessor"===s?{get:u.get,set:u.set}:u[l],p);if("accessor"===s){if(void 0===v)continue;if(null===v||(void 0===v?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(v))!=="object")throw TypeError("Object expected");(o=i(v.get))&&(u.get=o),(o=i(v.set))&&(u.set=o),(o=i(v.init))&&c.unshift(o)}else(o=i(v))&&("field"===s?c.unshift(o):u[l]=o)}$&&Object.defineProperty($,a.name,u),d=!0},$e308f4ff6755d29b$var$__runInitializers=function(e,t,r){for(var a=arguments.length>2,c=0;c<t.length;c++)r=a?t[c].call(e,r):t[c].call(e);return a?r:void 0},$e308f4ff6755d29b$var$__classPrivateFieldGet=function(e,t,r,a){if("a"===r&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?a:"a"===r?a.call(e):a?a.value:t.get(e)},$e308f4ff6755d29b$var$__classPrivateFieldSet=function(e,t,r,a,c){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!c)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!c:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?c.call(e,r):c?c.value=r:t.set(e,r),r},$e308f4ff6755d29b$export$fba2fb7cd781b7ac=function(e){"use strict";function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Dialog closed";return(0,$8uLkp$swchelperscjs_class_call_checkcjs._)(this,t),(0,$8uLkp$swchelperscjs_call_supercjs._)(this,t,[e])}return(0,$8uLkp$swchelperscjs_inheritscjs._)(t,e),t}((0,$8uLkp$swchelperscjs_wrap_native_supercjs._)(Error)),$e308f4ff6755d29b$export$3ddf2d174ce01153=function(){var e,t,r,a,c,n,i=[],o=[],s=[],l=[];return t=function(){"use strict";function e(t){var c=this;(0,$8uLkp$swchelperscjs_class_call_checkcjs._)(this,e),r.set(this,$e308f4ff6755d29b$var$__runInitializers(this,i,{})),a.set(this,($e308f4ff6755d29b$var$__runInitializers(this,o),$e308f4ff6755d29b$var$__runInitializers(this,s,void 0))),Object.defineProperty(this,"Component",{enumerable:!0,configurable:!0,writable:!0,value:$e308f4ff6755d29b$var$__runInitializers(this,l)}),this.Component=(0,$8uLkp$mobxreact.observer)(function(e){return(0,$8uLkp$reactjsxruntime.jsx)(t,Object.assign({},e,c.input,{defer:c.defer}))}),this.Component.displayName="DialogComponent"}return(0,$8uLkp$swchelperscjs_create_classcjs._)(e,[{key:"input",get:function(){return $e308f4ff6755d29b$var$__classPrivateFieldGet(this,r,"f")},set:function(e){$e308f4ff6755d29b$var$__classPrivateFieldSet(this,r,e,"f")}},{key:"defer",get:function(){return $e308f4ff6755d29b$var$__classPrivateFieldGet(this,a,"f")},set:function(e){$e308f4ff6755d29b$var$__classPrivateFieldSet(this,a,e,"f")}},{key:"open",value:function(e){var t=this;return e&&(this.input=e),this.defer=new(0,$8uLkp$iterableobserver.Defer),this.defer.promise.finally(function(){return t.defer=void 0}),this.defer.promise}}]),e}(),r=new WeakMap,a=new WeakMap,e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0,c=[$8uLkp$mobx.observable],n=[$8uLkp$mobx.observable],$e308f4ff6755d29b$var$__esDecorate(t,null,c,{kind:"accessor",name:"input",static:!1,private:!1,access:{has:function(e){return"input"in e},get:function(e){return e.input},set:function(e,t){e.input=t}},metadata:e},i,o),$e308f4ff6755d29b$var$__esDecorate(t,null,n,{kind:"accessor",name:"defer",static:!1,private:!1,access:{has:function(e){return"defer"in e},get:function(e){return e.defer},set:function(e,t){e.defer=t}},metadata:e},s,l),e&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),t}(),$68aab1d0e8e5016c$exports={};$parcel$export($68aab1d0e8e5016c$exports,"Editor",function(){return $68aab1d0e8e5016c$export$7cda8d932e2f33c0});var $68aab1d0e8e5016c$var$__esDecorate=function(e,t,r,a,c,n){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,s=a.kind,l="getter"===s?"get":"setter"===s?"set":"value",$=!t&&e?a.static?e:e.prototype:null,u=t||($?Object.getOwnPropertyDescriptor($,a.name):{}),d=!1,f=r.length-1;f>=0;f--){var p={};for(var b in a)p[b]="access"===b?{}:a[b];for(var b in a.access)p.access[b]=a.access[b];p.addInitializer=function(e){if(d)throw TypeError("Cannot add initializers after decoration has completed");n.push(i(e||null))};var v=(0,r[f])("accessor"===s?{get:u.get,set:u.set}:u[l],p);if("accessor"===s){if(void 0===v)continue;if(null===v||(void 0===v?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(v))!=="object")throw TypeError("Object expected");(o=i(v.get))&&(u.get=o),(o=i(v.set))&&(u.set=o),(o=i(v.init))&&c.unshift(o)}else(o=i(v))&&("field"===s?c.unshift(o):u[l]=o)}$&&Object.defineProperty($,a.name,u),d=!0},$68aab1d0e8e5016c$var$__runInitializers=function(e,t,r){for(var a=arguments.length>2,c=0;c<t.length;c++)r=a?t[c].call(e,r):t[c].call(e);return a?r:void 0},$68aab1d0e8e5016c$var$__awaiter=function(e,t,r,a){return new(r||(r=Promise))(function(c,n){function i(e){try{s(a.next(e))}catch(e){n(e)}}function o(e){try{s(a.throw(e))}catch(e){n(e)}}function s(e){var t;e.done?c(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,o)}s((a=a.apply(e,t||[])).next())})},$68aab1d0e8e5016c$var$__setFunctionName=function(e,t,r){return(void 0===t?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(t))==="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})},$68aab1d0e8e5016c$var$__classPrivateFieldGet=function(e,t,r,a){if("a"===r&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?a:"a"===r?a.call(e):a?a.value:t.get(e)},$68aab1d0e8e5016c$var$__classPrivateFieldSet=function(e,t,r,a,c){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!c)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!c:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?c.call(e,r):c?c.value=r:t.set(e,r),r},$68aab1d0e8e5016c$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$68aab1d0e8e5016c$var$ReactEditorJS=(0,$8uLkp$reacteditorjs.createReactEditorJS)(),$68aab1d0e8e5016c$export$7cda8d932e2f33c0=function(){var e,t,r,a,c,n=[$8uLkp$mobxreact.observer],i=[],o=$8uLkp$react.Component,s=[],l=[];return c=function(e){"use strict";function t(){var e;return(0,$8uLkp$swchelperscjs_class_call_checkcjs._)(this,t),e=(0,$8uLkp$swchelperscjs_call_supercjs._)(this,t,arguments),Object.defineProperty(e,"core",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),r.set(e,$68aab1d0e8e5016c$var$__runInitializers(e,s,e.props.defaultValue)),Object.defineProperty(e,"save",{enumerable:!0,configurable:!0,writable:!0,value:($68aab1d0e8e5016c$var$__runInitializers(e,l),function(){return $68aab1d0e8e5016c$var$__awaiter(e,void 0,void 0,function(){var e,t;return(0,$8uLkp$swchelperscjs_ts_generatorcjs._)(this,function(r){switch(r.label){case 0:if(!(e=this.core))return[3,2];return t=this,[4,this.core.save()];case 1:e=t.innerValue=r.sent(),r.label=2;case 2:return[2,e]}})})})}),e}return(0,$8uLkp$swchelperscjs_inheritscjs._)(t,e),(0,$8uLkp$swchelperscjs_create_classcjs._)(t,[{key:"innerValue",get:function(){return $68aab1d0e8e5016c$var$__classPrivateFieldGet(this,r,"f")},set:function(e){$68aab1d0e8e5016c$var$__classPrivateFieldSet(this,r,e,"f")}},{key:"render",value:function(){var e=this,t=this.props,r=t.name,a=t.required,c=(t.children,$68aab1d0e8e5016c$var$__rest(t,["name","required","children"])),n=this.innerValue;return(0,$8uLkp$reactjsxruntime.jsxs)("div",{className:"form-control",tabIndex:-1,onBlur:this.save,children:[(0,$8uLkp$reactjsxruntime.jsx)("input",{hidden:!0,name:r,required:a,value:JSON.stringify(n)}),(0,$8uLkp$reactjsxruntime.jsx)($68aab1d0e8e5016c$var$ReactEditorJS,Object.assign({},c,{onInitialize:function(t){var r;e.core=t,null==(r=c.onInitialize)||r.call(c,t)}}))]})}}]),t}(o),r=new WeakMap,$68aab1d0e8e5016c$var$__setFunctionName(c,"Editor"),t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!=(e=o[Symbol.metadata])?e:null):void 0,$68aab1d0e8e5016c$var$__esDecorate(c,null,[$8uLkp$mobx.observable],{kind:"accessor",name:"innerValue",static:!1,private:!1,access:{has:function(e){return"innerValue"in e},get:function(e){return e.innerValue},set:function(e,t){e.innerValue=t}},metadata:t},s,l),$68aab1d0e8e5016c$var$__esDecorate(null,a={value:c},n,{kind:"class",name:c.name,metadata:t},null,i),c=a.value,t&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(c,"displayName",{enumerable:!0,configurable:!0,writable:!0,value:"Editor"}),$68aab1d0e8e5016c$var$__runInitializers(c,i),c}(),$db3d9d99c159855a$exports={};$parcel$export($db3d9d99c159855a$exports,"parser",function(){return $db3d9d99c159855a$export$8f49e4af10703ce3}),$parcel$export($db3d9d99c159855a$exports,"EditorHTML",function(){return $db3d9d99c159855a$export$f9c5335a01b13a5a});var $db3d9d99c159855a$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$db3d9d99c159855a$export$8f49e4af10703ce3=$parcel$interopDefault($8uLkp$editorjshtml)({link:function(e){var t=e.data.link;return'<a href="'.concat(t,'">').concat(t,"</a>")}}),$db3d9d99c159855a$export$f9c5335a01b13a5a=function(e){var t=e.data,r=$db3d9d99c159855a$var$__rest(e,["data"]);return(0,$8uLkp$reactjsxruntime.jsx)("article",Object.assign({},r,{dangerouslySetInnerHTML:{__html:$db3d9d99c159855a$export$8f49e4af10703ce3.parse(t)}}))};$db3d9d99c159855a$export$f9c5335a01b13a5a.displayName="EditorHTML";var $e400f030e8cea549$exports={};$parcel$export($e400f030e8cea549$exports,"HorizontalMarquee",function(){return $e400f030e8cea549$export$4eb895ecfe5a67d5}),$parcel$export($e400f030e8cea549$exports,"HorizontalMarqueeBox",function(){return $e400f030e8cea549$export$e22877062eb47c32}),$14c85ffeff1ab241$export$fad3c8302a7540c6="_4_3lnG_scrollContainer",$14c85ffeff1ab241$export$5f81b96ae5b0befd="_4_3lnG_scrollHeightWrap",$14c85ffeff1ab241$export$1a22ace05a045e3f="_4_3lnG_scrollItem",$14c85ffeff1ab241$export$c7aa240077ad8340="_4_3lnG_scrollWrap",$14c85ffeff1ab241$export$5add10f2a1e13991="_4_3lnG_unScrollItem";var $e400f030e8cea549$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$e400f030e8cea549$export$4eb895ecfe5a67d5=function(e){var t=e.className,r=e.children,a=e.maxWidth,c=e.duration,n=e.height,i=$e400f030e8cea549$var$__rest(e,["className","children","maxWidth","duration","height"]);return(0,$8uLkp$reactjsxruntime.jsx)("div",Object.assign({className:"overflow-hidden mw-100 ".concat(void 0===t?"":t)},i,{children:(0,$8uLkp$reactjsxruntime.jsx)("div",{className:"d-inline-block align-top text-nowrap ".concat($14c85ffeff1ab241$export$c7aa240077ad8340),style:{maxWidth:void 0===a?"100%":a,animationDuration:c,height:n,lineHeight:n},children:(0,$8uLkp$reactjsxruntime.jsx)("div",{className:"d-inline-block ".concat($14c85ffeff1ab241$export$1a22ace05a045e3f),style:{animationDuration:c},children:r})})}))},$e400f030e8cea549$export$e22877062eb47c32=function(e){var t=e.children,r=e.maxWidth,a=e.duration,c=e.height;return c?(0,$8uLkp$reactjsxruntime.jsx)("div",{className:"overflow-hidden ".concat($14c85ffeff1ab241$export$5f81b96ae5b0befd),style:{maxWidth:r,"--scroll-height":c},children:(0,$8uLkp$reactjsxruntime.jsxs)("div",{className:"d-inline-block overflow-hidden mw-100 ".concat($14c85ffeff1ab241$export$fad3c8302a7540c6),children:[(0,$8uLkp$reactjsxruntime.jsx)("div",{className:"d-block overflow-hidden text-wrap text-break ".concat($14c85ffeff1ab241$export$5add10f2a1e13991),children:t}),(0,$8uLkp$reactjsxruntime.jsx)($e400f030e8cea549$export$4eb895ecfe5a67d5,{duration:a,children:t})]})}):(0,$8uLkp$reactjsxruntime.jsx)($e400f030e8cea549$export$4eb895ecfe5a67d5,{maxWidth:r,duration:a,height:c,children:t})};$e400f030e8cea549$export$4eb895ecfe5a67d5.displayName="HorizontalMarquee";var $cf5cdc2ffed4bc45$exports={};$parcel$export($cf5cdc2ffed4bc45$exports,"Icon",function(){return $cf5cdc2ffed4bc45$export$f04a61298a47a40f});var $cf5cdc2ffed4bc45$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$cf5cdc2ffed4bc45$export$f04a61298a47a40f=function(e){var t=e.className,r=e.style,a=e.name,c=e.size,n=$cf5cdc2ffed4bc45$var$__rest(e,["className","style","name","size"]);return(0,$8uLkp$reactjsxruntime.jsx)("span",Object.assign({className:$parcel$interopDefault($8uLkp$classnames)("bi-".concat(a),t),style:Object.assign({fontSize:c&&"".concat(c,"rem")},r)},n))};$cf5cdc2ffed4bc45$export$f04a61298a47a40f.displayName="Icon";var $44176234dcaa70a7$exports={};$parcel$export($44176234dcaa70a7$exports,"LiveTSX",function(){return $44176234dcaa70a7$export$965592ed152e8e7f});var $44176234dcaa70a7$export$965592ed152e8e7f=function(e){var t=e.scope,r=e.children,a=(0,$8uLkp$react.isValidElement)(r)?r:(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactjsxruntime.Fragment,{children:r}),c="string"==typeof r?r:$parcel$interopDefault($8uLkp$reactelementtojsxstring)(a);return(0,$8uLkp$reactjsxruntime.jsxs)($8uLkp$reactlive.LiveProvider,{code:c,scope:t,language:"tsx",children:[(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactlive.LivePreview,{className:"mb-3"}),(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactlive.LiveEditor,{}),(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactlive.LiveError,{className:"text-danger small p-2"})]})},$1f7252b8d0187295$exports={};$parcel$export($1f7252b8d0187295$exports,"Loading",function(){return $1f7252b8d0187295$export$669f6ea7d267feaf});var $1f7252b8d0187295$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$1f7252b8d0187295$export$669f6ea7d267feaf=function(e){var t=e.className,r=e.children,a=$1f7252b8d0187295$var$__rest(e,["className","children"]);return(0,$8uLkp$reactjsxruntime.jsxs)("div",Object.assign({className:"fixed-top h-100 w-100 d-flex justify-content-center align-items-center opacity-25 bg-black ".concat(void 0===t?"":t)},a,{children:[(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Spinner,{animation:"border",variant:"success"}),(0,$8uLkp$reactjsxruntime.jsx)("span",{className:"ml-3 text-white",children:void 0===r?"Loading...":r})]}))};$1f7252b8d0187295$export$669f6ea7d267feaf.displayName="Loading";var $ec6e3ccd45c7b7c0$exports={};$parcel$export($ec6e3ccd45c7b7c0$exports,"MonthCalendar",function(){return $ec6e3ccd45c7b7c0$export$d7a7c85c0f5afc4a});var $a121893c5bead7fc$exports={};$parcel$export($a121893c5bead7fc$exports,"OverlayBox",function(){return $a121893c5bead7fc$export$5169ff31790bf260});var $a121893c5bead7fc$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$a121893c5bead7fc$export$5169ff31790bf260=function(e){var t=e.title,r=e.detail,a=e.children,c=$a121893c5bead7fc$var$__rest(e,["title","detail","children"]);return(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.OverlayTrigger,Object.assign({},c,{overlay:r?(0,$8uLkp$reactjsxruntime.jsxs)($8uLkp$reactbootstrap.Popover,{children:[(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Popover.Header,{children:t}),(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Popover.Body,{children:r})]}):(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Tooltip,{children:t}),children:a}))};$a121893c5bead7fc$export$5169ff31790bf260.displayName="OverlayBox";var $ec6e3ccd45c7b7c0$var$__runInitializers=function(e,t,r){for(var a=arguments.length>2,c=0;c<t.length;c++)r=a?t[c].call(e,r):t[c].call(e);return a?r:void 0},$ec6e3ccd45c7b7c0$var$__esDecorate=function(e,t,r,a,c,n){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,s=a.kind,l="getter"===s?"get":"setter"===s?"set":"value",$=!t&&e?a.static?e:e.prototype:null,u=t||($?Object.getOwnPropertyDescriptor($,a.name):{}),d=!1,f=r.length-1;f>=0;f--){var p={};for(var b in a)p[b]="access"===b?{}:a[b];for(var b in a.access)p.access[b]=a.access[b];p.addInitializer=function(e){if(d)throw TypeError("Cannot add initializers after decoration has completed");n.push(i(e||null))};var v=(0,r[f])("accessor"===s?{get:u.get,set:u.set}:u[l],p);if("accessor"===s){if(void 0===v)continue;if(null===v||(void 0===v?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(v))!=="object")throw TypeError("Object expected");(o=i(v.get))&&(u.get=o),(o=i(v.set))&&(u.set=o),(o=i(v.init))&&c.unshift(o)}else(o=i(v))&&("field"===s?c.unshift(o):u[l]=o)}$&&Object.defineProperty($,a.name,u),d=!0},$ec6e3ccd45c7b7c0$var$__setFunctionName=function(e,t,r){return(void 0===t?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(t))==="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})},$ec6e3ccd45c7b7c0$var$__classPrivateFieldGet=function(e,t,r,a){if("a"===r&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?a:"a"===r?a.call(e):a?a.value:t.get(e)},$ec6e3ccd45c7b7c0$var$__classPrivateFieldSet=function(e,t,r,a,c){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!c)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!c:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?c.call(e,r):c?c.value=r:t.set(e,r),r},$ec6e3ccd45c7b7c0$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$ec6e3ccd45c7b7c0$export$d7a7c85c0f5afc4a=function(){var e,t,r,a,c,n,i,o,s=[$8uLkp$mobxreact.observer],l=[],$=$8uLkp$mobxreacthelper.ObservedComponent,u=[],d=[],f=[];return c=function(e){"use strict";function t(){var e;return(0,$8uLkp$swchelperscjs_class_call_checkcjs._)(this,t),e=(0,$8uLkp$swchelperscjs_call_supercjs._)(this,t,arguments),r.set(e,($ec6e3ccd45c7b7c0$var$__runInitializers(e,u),$ec6e3ccd45c7b7c0$var$__runInitializers(e,d,new Date))),Object.defineProperty(e,"renderDate",{enumerable:!0,configurable:!0,writable:!0,value:($ec6e3ccd45c7b7c0$var$__runInitializers(e,f),function(t){var r=e.observedProps,a=(r.variant,r.value),c=r.onSelect,n=(0,$8uLkp$webutility.formatDate)(t,"YYYY-MM-DD"),i=null==a?void 0:a.filter(function(e){var t=e.date;return(0,$8uLkp$webutility.formatDate)(t,"YYYY-MM-DD")===n});return(0,$8uLkp$reactjsxruntime.jsxs)("td",{className:$parcel$interopDefault($8uLkp$classnames)({"opacity-50":t.getMonth()!==e.currentDate.getMonth(),"fw-bold":n===(0,$8uLkp$webutility.formatDate)(new Date,"YYYY-MM-DD")}),children:[(0,$8uLkp$reactjsxruntime.jsx)("time",{className:"d-block",dateTime:t.toJSON(),children:t.getDate()}),null==i?void 0:i.map(function(e){return"object"===(0,$8uLkp$swchelperscjs_type_ofcjs._)(e.content)?e.content:(0,$8uLkp$reactjsxruntime.jsx)($a121893c5bead7fc$export$5169ff31790bf260,{title:e.content,children:(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Badge,{as:"a",className:"d-inline-block text-decoration-none w-100 text-truncate",bg:$924d73683971f901$export$b480d00b75c9ac2d(e.content+"",["light"]),href:e.link,onClick:function(){return null==c?void 0:c(e)},children:e.content})},e.date+"")})]},t+"")})}),e}return(0,$8uLkp$swchelperscjs_inheritscjs._)(t,e),(0,$8uLkp$swchelperscjs_create_classcjs._)(t,[{key:"weekFormatter",get:function(){var e,t=this.observedProps.locale,r=void 0===t?null==(e=globalThis.navigator)?void 0:e.language:t;return new Intl.DateTimeFormat(r,{weekday:"long"})}},{key:"currentDate",get:function(){return $ec6e3ccd45c7b7c0$var$__classPrivateFieldGet(this,r,"f")},set:function(e){$ec6e3ccd45c7b7c0$var$__classPrivateFieldSet(this,r,e,"f")}},{key:"dateGrid",get:function(){var e=new Date(this.currentDate);e.setDate(1),e=new Date(e-e.getDay()*$8uLkp$webutility.Day);var t=Array.from(Array(42),function(t,r){return new Date(+e+r*$8uLkp$webutility.Day)});return(0,$8uLkp$webutility.splitArray)(t,7)}},{key:"changeMonth",value:function(e){var t,r;this.currentDate=(0,$8uLkp$webutility.changeMonth)(this.currentDate,e),null==(r=(t=this.props).onChange)||r.call(t,this.currentDate)}},{key:"render",value:function(){var e=this,t=this.weekFormatter,r=this.currentDate,a=this.dateGrid,c=this.observedProps,n=c.style,i=c.variant,o=void 0===i?"primary":i,s=(c.onChange,c.onSelect,$ec6e3ccd45c7b7c0$var$__rest(c,["style","variant","onChange","onSelect"]));return(0,$8uLkp$reactjsxruntime.jsxs)($8uLkp$reactbootstrap.Table,Object.assign({},s,{style:Object.assign({tableLayout:"fixed"},n),children:[(0,$8uLkp$reactjsxruntime.jsx)("caption",{children:(0,$8uLkp$reactjsxruntime.jsxs)("div",{className:"d-flex justify-content-between align-items-center",children:[(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Button,{variant:o,onClick:function(){return e.changeMonth(-1)},children:"<"}),(0,$8uLkp$webutility.formatDate)(r,"YYYY-MM"),(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Button,{variant:o,onClick:function(){return e.changeMonth(1)},children:">"})]})}),(0,$8uLkp$reactjsxruntime.jsx)("thead",{children:(0,$8uLkp$reactjsxruntime.jsx)("tr",{children:a[0].map(function(e,r,a){var c=a.length;return(0,$8uLkp$reactjsxruntime.jsx)("td",{className:"bg-".concat(o," text-white"),style:{width:"calc(100% / ".concat(c,")")},children:t.format(e)},r)})})}),(0,$8uLkp$reactjsxruntime.jsx)("tbody",{children:a.map(function(t){return(0,$8uLkp$reactjsxruntime.jsx)("tr",{children:t.map(e.renderDate)},t[0]+"")})})]}))}}]),t}($),r=new WeakMap,$ec6e3ccd45c7b7c0$var$__setFunctionName(c,"MonthCalendar"),t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!=(e=$[Symbol.metadata])?e:null):void 0,n=[$8uLkp$mobx.computed],i=[$8uLkp$mobx.observable],o=[$8uLkp$mobx.computed],$ec6e3ccd45c7b7c0$var$__esDecorate(c,null,n,{kind:"getter",name:"weekFormatter",static:!1,private:!1,access:{has:function(e){return"weekFormatter"in e},get:function(e){return e.weekFormatter}},metadata:t},null,u),$ec6e3ccd45c7b7c0$var$__esDecorate(c,null,i,{kind:"accessor",name:"currentDate",static:!1,private:!1,access:{has:function(e){return"currentDate"in e},get:function(e){return e.currentDate},set:function(e,t){e.currentDate=t}},metadata:t},d,f),$ec6e3ccd45c7b7c0$var$__esDecorate(c,null,o,{kind:"getter",name:"dateGrid",static:!1,private:!1,access:{has:function(e){return"dateGrid"in e},get:function(e){return e.dateGrid}},metadata:t},null,u),$ec6e3ccd45c7b7c0$var$__esDecorate(null,a={value:c},s,{kind:"class",name:c.name,metadata:t},null,l),c=a.value,t&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(c,"displayName",{enumerable:!0,configurable:!0,writable:!0,value:"MonthCalendar"}),$ec6e3ccd45c7b7c0$var$__runInitializers(c,l),c}(),$4f69bf8d62d4bac9$exports={};$parcel$export($4f69bf8d62d4bac9$exports,"Nameplate",function(){return $4f69bf8d62d4bac9$export$caa4d5435e8fb601});var $4f69bf8d62d4bac9$export$caa4d5435e8fb601=function(e){var t=e.avatar,r=e.name;return(0,$8uLkp$reactjsxruntime.jsxs)($8uLkp$reactjsxruntime.Fragment,{children:[(0,$8uLkp$reactjsxruntime.jsx)($757747c0209676cc$export$e2255cf6045e8d47,{size:2,style:{marginRight:"0.5rem"},src:t}),(0,$8uLkp$reactjsxruntime.jsx)("span",{className:"align-middle",children:r})]})};$4f69bf8d62d4bac9$export$caa4d5435e8fb601.displayName="Nameplate";var $d78fd73e1713e936$exports={};$parcel$export($d78fd73e1713e936$exports,"PageNav",function(){return $d78fd73e1713e936$export$f24150b9675a2c65});var $d78fd73e1713e936$var$__runInitializers=function(e,t,r){for(var a=arguments.length>2,c=0;c<t.length;c++)r=a?t[c].call(e,r):t[c].call(e);return a?r:void 0},$d78fd73e1713e936$var$__esDecorate=function(e,t,r,a,c,n){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,s=a.kind,l="getter"===s?"get":"setter"===s?"set":"value",$=!t&&e?a.static?e:e.prototype:null,u=t||($?Object.getOwnPropertyDescriptor($,a.name):{}),d=!1,f=r.length-1;f>=0;f--){var p={};for(var b in a)p[b]="access"===b?{}:a[b];for(var b in a.access)p.access[b]=a.access[b];p.addInitializer=function(e){if(d)throw TypeError("Cannot add initializers after decoration has completed");n.push(i(e||null))};var v=(0,r[f])("accessor"===s?{get:u.get,set:u.set}:u[l],p);if("accessor"===s){if(void 0===v)continue;if(null===v||(void 0===v?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(v))!=="object")throw TypeError("Object expected");(o=i(v.get))&&(u.get=o),(o=i(v.set))&&(u.set=o),(o=i(v.init))&&c.unshift(o)}else(o=i(v))&&("field"===s?c.unshift(o):u[l]=o)}$&&Object.defineProperty($,a.name,u),d=!0},$d78fd73e1713e936$var$__setFunctionName=function(e,t,r){return(void 0===t?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(t))==="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})},$d78fd73e1713e936$var$__classPrivateFieldGet=function(e,t,r,a){if("a"===r&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?a:"a"===r?a.call(e):a?a.value:t.get(e)},$d78fd73e1713e936$var$__classPrivateFieldSet=function(e,t,r,a,c){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!c)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!c:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?c.call(e,r):c?c.value=r:t.set(e,r),r},$d78fd73e1713e936$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$d78fd73e1713e936$var$HeadingSelector=Array.from(Array(6),function(e,t){return"h".concat(++t)})+"",$d78fd73e1713e936$export$f24150b9675a2c65=function(){var e,t,r,a,c,n,i,o,s,l=[$8uLkp$mobxreact.observer],$=[],u=$8uLkp$react.Component,d=[],f=[],p=[],b=[],v=[];return n=function(e){"use strict";function t(){var e;return(0,$8uLkp$swchelperscjs_class_call_checkcjs._)(this,t),e=(0,$8uLkp$swchelperscjs_call_supercjs._)(this,t,arguments),r.set(e,($d78fd73e1713e936$var$__runInitializers(e,d),$d78fd73e1713e936$var$__runInitializers(e,f,[]))),a.set(e,($d78fd73e1713e936$var$__runInitializers(e,p),$d78fd73e1713e936$var$__runInitializers(e,b,0))),Object.defineProperty(e,"updateScrollY",{enumerable:!0,configurable:!0,writable:!0,value:($d78fd73e1713e936$var$__runInitializers(e,v),function(){return e.scrollY=window.scrollY})}),Object.defineProperty(e,"scrollTo",{enumerable:!0,configurable:!0,writable:!0,value:function(t){return function(){var r,a;setTimeout(function(){return(0,$8uLkp$webutility.scrollTo)('[id="'.concat(t.id,'"]'))}),null==(a=(r=e.props).onItemClick)||a.call(r,t)}}}),Object.defineProperty(e,"renderLink",{enumerable:!0,configurable:!0,writable:!0,value:function(t){var r=t.id,a=t.level,c=t.text,n=t.top,i=e.currentActiveId,o=e.props.depth;return a<=(void 0===o?1/0:o)&&(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Nav.Item,{style:{textIndent:"".concat(a-1,"rem")},children:(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Nav.Link,{href:"#".concat(r),active:i===r,onClick:e.scrollTo({id:r,level:a,text:c,top:n}),children:c})},r)}}),e}return(0,$8uLkp$swchelperscjs_inheritscjs._)(t,e),(0,$8uLkp$swchelperscjs_create_classcjs._)(t,[{key:"list",get:function(){return $d78fd73e1713e936$var$__classPrivateFieldGet(this,r,"f")},set:function(e){$d78fd73e1713e936$var$__classPrivateFieldSet(this,r,e,"f")}},{key:"scrollY",get:function(){return $d78fd73e1713e936$var$__classPrivateFieldGet(this,a,"f")},set:function(e){$d78fd73e1713e936$var$__classPrivateFieldSet(this,a,e,"f")}},{key:"currentActiveId",get:function(){var e,t=this.list,r=this.scrollY,a=t.findIndex(function(e){return e.top>r});return null==(e=t[a-1])?void 0:e.id}},{key:"componentDidMount",value:function(){globalThis.document&&(window.addEventListener("scroll",this.updateScrollY),this.list=Array.from(document.querySelectorAll($d78fd73e1713e936$var$HeadingSelector),function(e){e.id||(e.id=(0,$8uLkp$webutility.uniqueID)());var t=e.id,r=e.tagName,a=e.textContent,c=e.offsetTop;return{id:t,level:+r[1],text:a.trim(),top:c}}))}},{key:"componentWillUnmount",value:function(){var e;null==(e=globalThis.removeEventListener)||e.call(globalThis,"scroll",this.updateScrollY)}},{key:"render",value:function(){var e=this.list,t=this.props,r=t.style,a=t.variant,c=$d78fd73e1713e936$var$__rest(t,["style","variant"]);return(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Nav,Object.assign({},c,{variant:void 0===a?"underline":a,style:Object.assign({flexDirection:"column"},r),children:e.map(this.renderLink)}))}}]),t}(u),r=new WeakMap,a=new WeakMap,$d78fd73e1713e936$var$__setFunctionName(n,"PageNav"),t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!=(e=u[Symbol.metadata])?e:null):void 0,i=[$8uLkp$mobx.observable],o=[$8uLkp$mobx.observable],s=[$8uLkp$mobx.computed],$d78fd73e1713e936$var$__esDecorate(n,null,i,{kind:"accessor",name:"list",static:!1,private:!1,access:{has:function(e){return"list"in e},get:function(e){return e.list},set:function(e,t){e.list=t}},metadata:t},f,p),$d78fd73e1713e936$var$__esDecorate(n,null,o,{kind:"accessor",name:"scrollY",static:!1,private:!1,access:{has:function(e){return"scrollY"in e},get:function(e){return e.scrollY},set:function(e,t){e.scrollY=t}},metadata:t},b,v),$d78fd73e1713e936$var$__esDecorate(n,null,s,{kind:"getter",name:"currentActiveId",static:!1,private:!1,access:{has:function(e){return"currentActiveId"in e},get:function(e){return e.currentActiveId}},metadata:t},null,d),$d78fd73e1713e936$var$__esDecorate(null,c={value:n},l,{kind:"class",name:n.name,metadata:t},null,$),n=c.value,t&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(n,"displayName",{enumerable:!0,configurable:!0,writable:!0,value:"PageNav"}),$d78fd73e1713e936$var$__runInitializers(n,$),n}(),$ce59ae9613bac5f2$exports={};$parcel$export($ce59ae9613bac5f2$exports,"ScrollNav",function(){return $ce59ae9613bac5f2$export$c57977d1ebb6ef1d}),$cb8a09c271d9e2a2$export$70443d1bfecdb242="_1MZNfG_scrollButtonLeft",$cb8a09c271d9e2a2$export$a025291d1676ce41="_1MZNfG_scrollButtonRight",$cb8a09c271d9e2a2$export$2585081e06ef4cbf="_1MZNfG_scrollerInner";var $ce59ae9613bac5f2$var$__runInitializers=function(e,t,r){for(var a=arguments.length>2,c=0;c<t.length;c++)r=a?t[c].call(e,r):t[c].call(e);return a?r:void 0},$ce59ae9613bac5f2$var$__esDecorate=function(e,t,r,a,c,n){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,s=a.kind,l="getter"===s?"get":"setter"===s?"set":"value",$=!t&&e?a.static?e:e.prototype:null,u=t||($?Object.getOwnPropertyDescriptor($,a.name):{}),d=!1,f=r.length-1;f>=0;f--){var p={};for(var b in a)p[b]="access"===b?{}:a[b];for(var b in a.access)p.access[b]=a.access[b];p.addInitializer=function(e){if(d)throw TypeError("Cannot add initializers after decoration has completed");n.push(i(e||null))};var v=(0,r[f])("accessor"===s?{get:u.get,set:u.set}:u[l],p);if("accessor"===s){if(void 0===v)continue;if(null===v||(void 0===v?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(v))!=="object")throw TypeError("Object expected");(o=i(v.get))&&(u.get=o),(o=i(v.set))&&(u.set=o),(o=i(v.init))&&c.unshift(o)}else(o=i(v))&&("field"===s?c.unshift(o):u[l]=o)}$&&Object.defineProperty($,a.name,u),d=!0},$ce59ae9613bac5f2$var$__setFunctionName=function(e,t,r){return(void 0===t?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(t))==="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})},$ce59ae9613bac5f2$var$__classPrivateFieldGet=function(e,t,r,a){if("a"===r&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?a:"a"===r?a.call(e):a?a.value:t.get(e)},$ce59ae9613bac5f2$var$__classPrivateFieldSet=function(e,t,r,a,c){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!c)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!c:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?c.call(e,r):c?c.value=r:t.set(e,r),r},$ce59ae9613bac5f2$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$ce59ae9613bac5f2$export$c57977d1ebb6ef1d=function(){var e,t,r,a,c,n,i,o,s,l,$,u,d=[$8uLkp$mobxreact.observer],f=[],p=$8uLkp$react.Component,b=[],v=[],m=[],h=[],x=[],_=[],j=[];return i=function(e){"use strict";function t(){var e;return(0,$8uLkp$swchelperscjs_class_call_checkcjs._)(this,t),e=(0,$8uLkp$swchelperscjs_call_supercjs._)(this,t,arguments),Object.defineProperty(e,"scrollerRef",{enumerable:!0,configurable:!0,writable:!0,value:($ce59ae9613bac5f2$var$__runInitializers(e,b),(0,$8uLkp$react.createRef)())}),r.set(e,$ce59ae9613bac5f2$var$__runInitializers(e,v,0)),a.set(e,($ce59ae9613bac5f2$var$__runInitializers(e,m),$ce59ae9613bac5f2$var$__runInitializers(e,h,0))),c.set(e,($ce59ae9613bac5f2$var$__runInitializers(e,x),$ce59ae9613bac5f2$var$__runInitializers(e,_,0))),Object.defineProperty(e,"updateScroll",{enumerable:!0,configurable:!0,writable:!0,value:($ce59ae9613bac5f2$var$__runInitializers(e,j),function(){var t=e.scrollerRef.current;return t&&(e.scrollLeft=t.scrollLeft,e.scrollWidth=t.scrollWidth,e.clientWidth=t.clientWidth),t})}),Object.defineProperty(e,"resizeObserver",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(e,"scrollBy",{enumerable:!0,configurable:!0,writable:!0,value:function(t){return function(){var r=e.scrollerRef.current;r&&r.scrollBy({left:t*r.clientWidth*.8,behavior:"smooth"})}}}),e}return(0,$8uLkp$swchelperscjs_inheritscjs._)(t,e),(0,$8uLkp$swchelperscjs_create_classcjs._)(t,[{key:"scrollLeft",get:function(){return $ce59ae9613bac5f2$var$__classPrivateFieldGet(this,r,"f")},set:function(e){$ce59ae9613bac5f2$var$__classPrivateFieldSet(this,r,e,"f")}},{key:"scrollWidth",get:function(){return $ce59ae9613bac5f2$var$__classPrivateFieldGet(this,a,"f")},set:function(e){$ce59ae9613bac5f2$var$__classPrivateFieldSet(this,a,e,"f")}},{key:"clientWidth",get:function(){return $ce59ae9613bac5f2$var$__classPrivateFieldGet(this,c,"f")},set:function(e){$ce59ae9613bac5f2$var$__classPrivateFieldSet(this,c,e,"f")}},{key:"canScrollLeft",get:function(){return this.scrollLeft>0}},{key:"canScrollRight",get:function(){return this.scrollLeft+this.clientWidth<this.scrollWidth}},{key:"componentDidMount",value:function(){var e=this.updateScroll();e&&(e.addEventListener("scroll",this.updateScroll),this.resizeObserver=new ResizeObserver(this.updateScroll),this.resizeObserver.observe(e))}},{key:"componentWillUnmount",value:function(){var e,t;null==(e=this.resizeObserver)||e.disconnect(),null==(t=this.scrollerRef.current)||t.removeEventListener("scroll",this.updateScroll)}},{key:"render",value:function(){var e=this.canScrollLeft,t=this.canScrollRight,r=this.props,a=r.className,c=r.children,n=$ce59ae9613bac5f2$var$__rest(r,["className","children"]);return(0,$8uLkp$reactjsxruntime.jsxs)("div",{className:"position-relative overflow-y-hidden ".concat(void 0===a?"":a),children:[e&&(0,$8uLkp$reactjsxruntime.jsx)("button",{type:"button",className:"position-absolute top-0 bottom-0 start-0 z-1 border-0 px-2 ".concat($cb8a09c271d9e2a2$export$70443d1bfecdb242),"aria-label":"Scroll left",onClick:this.scrollBy(-1),children:(0,$8uLkp$reactjsxruntime.jsx)($cf5cdc2ffed4bc45$export$f04a61298a47a40f,{name:"caret-left-fill"})}),(0,$8uLkp$reactjsxruntime.jsx)("div",{ref:this.scrollerRef,className:"overflow-x-auto ".concat($cb8a09c271d9e2a2$export$2585081e06ef4cbf),children:(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Nav,Object.assign({},n,{className:"flex-nowrap",children:c}))}),t&&(0,$8uLkp$reactjsxruntime.jsx)("button",{type:"button",className:"position-absolute top-0 bottom-0 end-0 z-1 border-0 px-2 ".concat($cb8a09c271d9e2a2$export$a025291d1676ce41),"aria-label":"Scroll right",onClick:this.scrollBy(1),children:(0,$8uLkp$reactjsxruntime.jsx)($cf5cdc2ffed4bc45$export$f04a61298a47a40f,{name:"caret-right-fill"})})]})}}]),t}(p),r=new WeakMap,a=new WeakMap,c=new WeakMap,$ce59ae9613bac5f2$var$__setFunctionName(i,"ScrollNav"),t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!=(e=p[Symbol.metadata])?e:null):void 0,o=[$8uLkp$mobx.observable],s=[$8uLkp$mobx.observable],l=[$8uLkp$mobx.observable],$=[$8uLkp$mobx.computed],u=[$8uLkp$mobx.computed],$ce59ae9613bac5f2$var$__esDecorate(i,null,o,{kind:"accessor",name:"scrollLeft",static:!1,private:!1,access:{has:function(e){return"scrollLeft"in e},get:function(e){return e.scrollLeft},set:function(e,t){e.scrollLeft=t}},metadata:t},v,m),$ce59ae9613bac5f2$var$__esDecorate(i,null,s,{kind:"accessor",name:"scrollWidth",static:!1,private:!1,access:{has:function(e){return"scrollWidth"in e},get:function(e){return e.scrollWidth},set:function(e,t){e.scrollWidth=t}},metadata:t},h,x),$ce59ae9613bac5f2$var$__esDecorate(i,null,l,{kind:"accessor",name:"clientWidth",static:!1,private:!1,access:{has:function(e){return"clientWidth"in e},get:function(e){return e.clientWidth},set:function(e,t){e.clientWidth=t}},metadata:t},_,j),$ce59ae9613bac5f2$var$__esDecorate(i,null,$,{kind:"getter",name:"canScrollLeft",static:!1,private:!1,access:{has:function(e){return"canScrollLeft"in e},get:function(e){return e.canScrollLeft}},metadata:t},null,b),$ce59ae9613bac5f2$var$__esDecorate(i,null,u,{kind:"getter",name:"canScrollRight",static:!1,private:!1,access:{has:function(e){return"canScrollRight"in e},get:function(e){return e.canScrollRight}},metadata:t},null,b),$ce59ae9613bac5f2$var$__esDecorate(null,n={value:i},d,{kind:"class",name:i.name,metadata:t},null,f),i=n.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(i,"displayName",{enumerable:!0,configurable:!0,writable:!0,value:"ScrollNav"}),$ce59ae9613bac5f2$var$__runInitializers(i,f),i}(),$5d0c8d8af5c3c7e5$exports={};$parcel$export($5d0c8d8af5c3c7e5$exports,"Option",function(){return $5d0c8d8af5c3c7e5$export$36d18380658d5d20}),$parcel$export($5d0c8d8af5c3c7e5$exports,"Select",function(){return $5d0c8d8af5c3c7e5$export$ef9b1a59e592288f});var $5d0c8d8af5c3c7e5$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$5d0c8d8af5c3c7e5$export$36d18380658d5d20=function(e){var t=e.value,r=e.children,a=$5d0c8d8af5c3c7e5$var$__rest(e,["value","children"]);return(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Dropdown.Item,Object.assign({},a,{"data-value":t,children:r}))};$5d0c8d8af5c3c7e5$export$36d18380658d5d20.displayName="Option";var $5d0c8d8af5c3c7e5$export$ef9b1a59e592288f=function(e){var t=e.className,r=e.style,a=e.variant,c=e.menuVariant,n=e.children,i=e.value,o=e.onChange,s=e.valueRender,l=(0,$8uLkp$webutility.makeArray)(n).flat(1/0).find(function(e){return(0,$8uLkp$react.isValidElement)(e)&&e.type===$5d0c8d8af5c3c7e5$export$36d18380658d5d20&&e.props.value===i});return(0,$8uLkp$reactjsxruntime.jsxs)($8uLkp$reactbootstrap.Dropdown,{onClick:function(e){var t=e.target.closest(".dropdown-item");if(t){var r=t.dataset.value;null==o||o(r)}},children:[(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Dropdown.Toggle,{className:$parcel$interopDefault($8uLkp$classnames)("w-100","d-flex","justify-content-between","align-items-center",!a&&"bg-white text-dark",t),style:r,variant:a,children:(null==s?void 0:s(i))||(0,$8uLkp$reactjsxruntime.jsx)("div",{className:null==l?void 0:l.props.className,children:null==l?void 0:l.props.children})}),(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Dropdown.Menu,{variant:c,children:n})]})};$5d0c8d8af5c3c7e5$export$ef9b1a59e592288f.displayName="Select";var $5c7497f9f3fe6432$exports={};$parcel$export($5c7497f9f3fe6432$exports,"elementToImage",function(){return $5c7497f9f3fe6432$export$fefa3387c33a1dfc}),$parcel$export($5c7497f9f3fe6432$exports,"ShareBox",function(){return $5c7497f9f3fe6432$export$e15a265ebbd5ca8c});var $5c7497f9f3fe6432$var$__esDecorate=function(e,t,r,a,c,n){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,s=a.kind,l="getter"===s?"get":"setter"===s?"set":"value",$=!t&&e?a.static?e:e.prototype:null,u=t||($?Object.getOwnPropertyDescriptor($,a.name):{}),d=!1,f=r.length-1;f>=0;f--){var p={};for(var b in a)p[b]="access"===b?{}:a[b];for(var b in a.access)p.access[b]=a.access[b];p.addInitializer=function(e){if(d)throw TypeError("Cannot add initializers after decoration has completed");n.push(i(e||null))};var v=(0,r[f])("accessor"===s?{get:u.get,set:u.set}:u[l],p);if("accessor"===s){if(void 0===v)continue;if(null===v||(void 0===v?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(v))!=="object")throw TypeError("Object expected");(o=i(v.get))&&(u.get=o),(o=i(v.set))&&(u.set=o),(o=i(v.init))&&c.unshift(o)}else(o=i(v))&&("field"===s?c.unshift(o):u[l]=o)}$&&Object.defineProperty($,a.name,u),d=!0},$5c7497f9f3fe6432$var$__runInitializers=function(e,t,r){for(var a=arguments.length>2,c=0;c<t.length;c++)r=a?t[c].call(e,r):t[c].call(e);return a?r:void 0},$5c7497f9f3fe6432$var$__awaiter=function(e,t,r,a){return new(r||(r=Promise))(function(c,n){function i(e){try{s(a.next(e))}catch(e){n(e)}}function o(e){try{s(a.throw(e))}catch(e){n(e)}}function s(e){var t;e.done?c(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,o)}s((a=a.apply(e,t||[])).next())})},$5c7497f9f3fe6432$var$__setFunctionName=function(e,t,r){return(void 0===t?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(t))==="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})},$5c7497f9f3fe6432$var$__classPrivateFieldGet=function(e,t,r,a){if("a"===r&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?a:"a"===r?a.call(e):a?a.value:t.get(e)},$5c7497f9f3fe6432$var$__classPrivateFieldSet=function(e,t,r,a,c){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!c)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!c:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?c.call(e,r):c?c.value=r:t.set(e,r),r},$5c7497f9f3fe6432$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r};function $5c7497f9f3fe6432$export$fefa3387c33a1dfc(e,t,r){return $5c7497f9f3fe6432$var$__awaiter(this,void 0,void 0,function(){var a;return(0,$8uLkp$swchelperscjs_ts_generatorcjs._)(this,function(c){switch(c.label){case 0:return[4,$parcel$interopDefault($8uLkp$html2canvas)(e,{useCORS:!0})];case 1:return a=c.sent(),[2,new Promise(function(e,c){return a.toBlob(function(t){return t?e(URL.createObjectURL(t)):c()},t,r)})]}})})}var $5c7497f9f3fe6432$export$e15a265ebbd5ca8c=function(){var e,t,r,a,c,n,i,o,s=[$8uLkp$mobxreact.observer],l=[],$=$8uLkp$react.Component,u=[],d=[],f=[],p=[];return n=function(e){"use strict";function t(){var e;return(0,$8uLkp$swchelperscjs_class_call_checkcjs._)(this,t),e=(0,$8uLkp$swchelperscjs_call_supercjs._)(this,t,arguments),Object.defineProperty(e,"root",{enumerable:!0,configurable:!0,writable:!0,value:(0,$8uLkp$react.createRef)()}),r.set(e,$5c7497f9f3fe6432$var$__runInitializers(e,u,!1)),a.set(e,($5c7497f9f3fe6432$var$__runInitializers(e,d),$5c7497f9f3fe6432$var$__runInitializers(e,f,""))),Object.defineProperty(e,"generateImage",{enumerable:!0,configurable:!0,writable:!0,value:($5c7497f9f3fe6432$var$__runInitializers(e,p),function(){return $5c7497f9f3fe6432$var$__awaiter(e,void 0,void 0,function(){var e;return(0,$8uLkp$swchelperscjs_ts_generatorcjs._)(this,function(t){switch(t.label){case 0:return this.imageURI&&(URL.revokeObjectURL(this.imageURI),this.imageURI=""),this.loading=!0,e=this,[4,$5c7497f9f3fe6432$export$fefa3387c33a1dfc(this.root.current)];case 1:return e.imageURI=t.sent(),this.loading=!1,[2]}})})})}),Object.defineProperty(e,"share",{enumerable:!0,configurable:!0,writable:!0,value:function(t){return $5c7497f9f3fe6432$var$__awaiter(e,void 0,void 0,function(){var e,r,a;return(0,$8uLkp$swchelperscjs_ts_generatorcjs._)(this,function(c){switch(c.label){case 0:return t.stopPropagation(),[4,(0,$8uLkp$webutility.blobOf)(this.imageURI)];case 1:return a=new File([r=c.sent()],"".concat(this.props.title,".png"),{type:r.type}),[4,null==(e=navigator.share)?void 0:e.call(navigator,Object.assign({files:[a]},this.props))];case 2:return c.sent(),[2]}})})}}),e}return(0,$8uLkp$swchelperscjs_inheritscjs._)(t,e),(0,$8uLkp$swchelperscjs_create_classcjs._)(t,[{key:"loading",get:function(){return $5c7497f9f3fe6432$var$__classPrivateFieldGet(this,r,"f")},set:function(e){$5c7497f9f3fe6432$var$__classPrivateFieldSet(this,r,e,"f")}},{key:"imageURI",get:function(){return $5c7497f9f3fe6432$var$__classPrivateFieldGet(this,a,"f")},set:function(e){$5c7497f9f3fe6432$var$__classPrivateFieldSet(this,a,e,"f")}},{key:"componentDidMount",value:function(){var e;null==(e=globalThis.addEventListener)||e.call(globalThis,"resize",this.generateImage)}},{key:"componentWillUnmount",value:function(){var e;null==(e=globalThis.removeEventListener)||e.call(globalThis,"resize",this.generateImage)}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.children,a=$5c7497f9f3fe6432$var$__rest(e,["className","children"]),c=this.loading,n=this.imageURI;return(0,$8uLkp$reactjsxruntime.jsxs)($8uLkp$reactjsxruntime.Fragment,{children:[c&&(0,$8uLkp$reactjsxruntime.jsx)($1f7252b8d0187295$export$669f6ea7d267feaf,{}),(0,$8uLkp$reactjsxruntime.jsxs)("div",Object.assign({},a,{ref:this.root,className:"position-relative ".concat(void 0===t?"":t),onMouseEnter:n?void 0:this.generateImage,onTouchStart:n?void 0:this.generateImage,children:[r,n&&(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Image,{className:"position-absolute start-0 top-0 w-100 h-100",src:n,alt:"Share Image",fluid:!0,onClick:this.share})]}))]})}}]),t}($),r=new WeakMap,a=new WeakMap,$5c7497f9f3fe6432$var$__setFunctionName(n,"ShareBox"),t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!=(e=$[Symbol.metadata])?e:null):void 0,i=[$8uLkp$mobx.observable],o=[$8uLkp$mobx.observable],$5c7497f9f3fe6432$var$__esDecorate(n,null,i,{kind:"accessor",name:"loading",static:!1,private:!1,access:{has:function(e){return"loading"in e},get:function(e){return e.loading},set:function(e,t){e.loading=t}},metadata:t},u,d),$5c7497f9f3fe6432$var$__esDecorate(n,null,o,{kind:"accessor",name:"imageURI",static:!1,private:!1,access:{has:function(e){return"imageURI"in e},get:function(e){return e.imageURI},set:function(e,t){e.imageURI=t}},metadata:t},f,p),$5c7497f9f3fe6432$var$__esDecorate(null,c={value:n},s,{kind:"class",name:n.name,metadata:t},null,l),n=c.value,t&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(n,"displayName",{enumerable:!0,configurable:!0,writable:!0,value:"ShareBox"}),$5c7497f9f3fe6432$var$__runInitializers(n,l),n}(),$ad4a2cea628613d5$exports={};$parcel$export($ad4a2cea628613d5$exports,"SpinnerButton",function(){return $ad4a2cea628613d5$export$4cfabf47f4311ebb});var $ad4a2cea628613d5$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$ad4a2cea628613d5$export$4cfabf47f4311ebb=function(e){var t=e.animation,r=e.loading,a=e.disabled,c=e.children,n=$ad4a2cea628613d5$var$__rest(e,["animation","loading","disabled","children"]);return(0,$8uLkp$reactjsxruntime.jsxs)($8uLkp$reactbootstrap.Button,Object.assign({},n,{disabled:r||a,children:[r&&(0,$8uLkp$reactjsxruntime.jsxs)($8uLkp$reactjsxruntime.Fragment,{children:[(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Spinner,{as:"span",className:c?"me-2":"",size:"sm",animation:t,role:"status","aria-hidden":"true"}),!c&&(0,$8uLkp$reactjsxruntime.jsx)("span",{className:"visually-hidden",children:"Loading..."})]}),c]}))};$ad4a2cea628613d5$export$4cfabf47f4311ebb.displayName="SpinnerButton";var $53fa7c21606566cb$exports={};$parcel$export($53fa7c21606566cb$exports,"TableSpinner",function(){return $53fa7c21606566cb$export$4706ba151aa92b7e});var $53fa7c21606566cb$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$53fa7c21606566cb$export$4706ba151aa92b7e=function(e){var t=e.animation,r=e.variant,a=e.size,c=e.colSpan,n=$53fa7c21606566cb$var$__rest(e,["animation","variant","size","colSpan"]);return(0,$8uLkp$reactjsxruntime.jsx)("tr",Object.assign({},n,{children:(0,$8uLkp$reactjsxruntime.jsx)("td",{className:"text-center p-4",colSpan:c,children:(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Spinner,{animation:void 0===t?"border":t,variant:void 0===r?"primary":r,size:a})})}))};$53fa7c21606566cb$export$4706ba151aa92b7e.displayName="TableSpinner";var $295b3641db3d8c33$exports={};$parcel$export($295b3641db3d8c33$exports,"TextTruncate",function(){return $295b3641db3d8c33$export$ee6221c372f955f});var $295b3641db3d8c33$var$__esDecorate=function(e,t,r,a,c,n){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,s=a.kind,l="getter"===s?"get":"setter"===s?"set":"value",$=!t&&e?a.static?e:e.prototype:null,u=t||($?Object.getOwnPropertyDescriptor($,a.name):{}),d=!1,f=r.length-1;f>=0;f--){var p={};for(var b in a)p[b]="access"===b?{}:a[b];for(var b in a.access)p.access[b]=a.access[b];p.addInitializer=function(e){if(d)throw TypeError("Cannot add initializers after decoration has completed");n.push(i(e||null))};var v=(0,r[f])("accessor"===s?{get:u.get,set:u.set}:u[l],p);if("accessor"===s){if(void 0===v)continue;if(null===v||(void 0===v?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(v))!=="object")throw TypeError("Object expected");(o=i(v.get))&&(u.get=o),(o=i(v.set))&&(u.set=o),(o=i(v.init))&&c.unshift(o)}else(o=i(v))&&("field"===s?c.unshift(o):u[l]=o)}$&&Object.defineProperty($,a.name,u),d=!0},$295b3641db3d8c33$var$__runInitializers=function(e,t,r){for(var a=arguments.length>2,c=0;c<t.length;c++)r=a?t[c].call(e,r):t[c].call(e);return a?r:void 0},$295b3641db3d8c33$var$__setFunctionName=function(e,t,r){return(void 0===t?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(t))==="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})},$295b3641db3d8c33$var$__classPrivateFieldGet=function(e,t,r,a){if("a"===r&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?a:"a"===r?a.call(e):a?a.value:t.get(e)},$295b3641db3d8c33$var$__classPrivateFieldSet=function(e,t,r,a,c){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!c)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!c:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?c.call(e,r):c?c.value=r:t.set(e,r),r},$295b3641db3d8c33$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$295b3641db3d8c33$export$ee6221c372f955f=function(){var e,t,r,a,c,n,i,o,s=[$8uLkp$mobxreact.observer],l=[],$=$8uLkp$react.Component,u=[],d=[],f=[],p=[];return n=function(e){"use strict";function t(){var e;return(0,$8uLkp$swchelperscjs_class_call_checkcjs._)(this,t),e=(0,$8uLkp$swchelperscjs_call_supercjs._)(this,t,arguments),r.set(e,$295b3641db3d8c33$var$__runInitializers(e,u,!1)),a.set(e,($295b3641db3d8c33$var$__runInitializers(e,d),$295b3641db3d8c33$var$__runInitializers(e,f,!1))),Object.defineProperty(e,"contentRef",{enumerable:!0,configurable:!0,writable:!0,value:($295b3641db3d8c33$var$__runInitializers(e,p),(0,$8uLkp$react.createRef)())}),Object.defineProperty(e,"checkOverflow",{enumerable:!0,configurable:!0,writable:!0,value:function(){var t=e.contentRef.current;t&&(e.overflowed=t.scrollHeight>t.clientHeight)}}),Object.defineProperty(e,"toggle",{enumerable:!0,configurable:!0,writable:!0,value:function(){e.expanded=!e.expanded,e.expanded||requestAnimationFrame(e.checkOverflow)}}),e}return(0,$8uLkp$swchelperscjs_inheritscjs._)(t,e),(0,$8uLkp$swchelperscjs_create_classcjs._)(t,[{key:"expanded",get:function(){return $295b3641db3d8c33$var$__classPrivateFieldGet(this,r,"f")},set:function(e){$295b3641db3d8c33$var$__classPrivateFieldSet(this,r,e,"f")}},{key:"overflowed",get:function(){return $295b3641db3d8c33$var$__classPrivateFieldGet(this,a,"f")},set:function(e){$295b3641db3d8c33$var$__classPrivateFieldSet(this,a,e,"f")}},{key:"componentDidMount",value:function(){this.checkOverflow(),window.addEventListener("resize",this.checkOverflow)}},{key:"componentDidUpdate",value:function(e){var t=e.rows,r=e.children;this.expanded||r===this.props.children&&t===this.props.rows||this.checkOverflow()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.checkOverflow)}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.rows,a=e.expandText,c=e.collapseText,n=$295b3641db3d8c33$var$__rest(e,["children","rows","expandText","collapseText"]),i=this.expanded,o=this.overflowed;return(0,$8uLkp$reactjsxruntime.jsxs)("div",Object.assign({},n,{children:[(0,$8uLkp$reactjsxruntime.jsx)("p",{ref:this.contentRef,style:i?void 0:{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:void 0===r?3:r},children:t}),(o||i)&&(0,$8uLkp$reactjsxruntime.jsx)("button",{type:"button",className:"bg-transparent border-0 p-0","aria-expanded":i,onClick:this.toggle,children:i?void 0===c?"⏫":c:void 0===a?"⏬":a})]}))}}]),t}($),r=new WeakMap,a=new WeakMap,$295b3641db3d8c33$var$__setFunctionName(n,"TextTruncate"),t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!=(e=$[Symbol.metadata])?e:null):void 0,i=[$8uLkp$mobx.observable],o=[$8uLkp$mobx.observable],$295b3641db3d8c33$var$__esDecorate(n,null,i,{kind:"accessor",name:"expanded",static:!1,private:!1,access:{has:function(e){return"expanded"in e},get:function(e){return e.expanded},set:function(e,t){e.expanded=t}},metadata:t},u,d),$295b3641db3d8c33$var$__esDecorate(n,null,o,{kind:"accessor",name:"overflowed",static:!1,private:!1,access:{has:function(e){return"overflowed"in e},get:function(e){return e.overflowed},set:function(e,t){e.overflowed=t}},metadata:t},f,p),$295b3641db3d8c33$var$__esDecorate(null,c={value:n},s,{kind:"class",name:n.name,metadata:t},null,l),n=c.value,t&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(n,"displayName",{enumerable:!0,configurable:!0,writable:!0,value:"TextTruncate"}),$295b3641db3d8c33$var$__runInitializers(n,l),n}(),$03c0468daff9422a$exports={};$parcel$export($03c0468daff9422a$exports,"Time",function(){return $03c0468daff9422a$export$680ea196effce5f});var $03c0468daff9422a$var$__runInitializers=function(e,t,r){for(var a=arguments.length>2,c=0;c<t.length;c++)r=a?t[c].call(e,r):t[c].call(e);return a?r:void 0},$03c0468daff9422a$var$__esDecorate=function(e,t,r,a,c,n){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,s=a.kind,l="getter"===s?"get":"setter"===s?"set":"value",$=!t&&e?a.static?e:e.prototype:null,u=t||($?Object.getOwnPropertyDescriptor($,a.name):{}),d=!1,f=r.length-1;f>=0;f--){var p={};for(var b in a)p[b]="access"===b?{}:a[b];for(var b in a.access)p.access[b]=a.access[b];p.addInitializer=function(e){if(d)throw TypeError("Cannot add initializers after decoration has completed");n.push(i(e||null))};var v=(0,r[f])("accessor"===s?{get:u.get,set:u.set}:u[l],p);if("accessor"===s){if(void 0===v)continue;if(null===v||(void 0===v?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(v))!=="object")throw TypeError("Object expected");(o=i(v.get))&&(u.get=o),(o=i(v.set))&&(u.set=o),(o=i(v.init))&&c.unshift(o)}else(o=i(v))&&("field"===s?c.unshift(o):u[l]=o)}$&&Object.defineProperty($,a.name,u),d=!0},$03c0468daff9422a$var$__setFunctionName=function(e,t,r){return(void 0===t?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(t))==="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})},$03c0468daff9422a$var$__classPrivateFieldGet=function(e,t,r,a){if("a"===r&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?a:"a"===r?a.call(e):a?a.value:t.get(e)},$03c0468daff9422a$var$__classPrivateFieldSet=function(e,t,r,a,c){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!c)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!c:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?c.call(e,r):c?c.value=r:t.set(e,r),r},$03c0468daff9422a$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$03c0468daff9422a$export$680ea196effce5f=function(){var e,t,r,a,c,n,i,o=[$8uLkp$mobxreact.observer],s=[],l=$8uLkp$mobxreacthelper.ObservedComponent,$=[],u=[],d=[];return c=function(e){"use strict";function t(){var e;return(0,$8uLkp$swchelperscjs_class_call_checkcjs._)(this,t),e=(0,$8uLkp$swchelperscjs_call_supercjs._)(this,t,arguments),r.set(e,($03c0468daff9422a$var$__runInitializers(e,$),$03c0468daff9422a$var$__runInitializers(e,u,e.updateText()))),$03c0468daff9422a$var$__runInitializers(e,d),e}return(0,$8uLkp$swchelperscjs_inheritscjs._)(t,e),(0,$8uLkp$swchelperscjs_create_classcjs._)(t,[{key:"updateText",value:function(){var e=this.props,t=e.dateTime,r=e.format;return(0,$8uLkp$webutility.formatDate)(t,r)}},{key:"timeText",get:function(){return $03c0468daff9422a$var$__classPrivateFieldGet(this,r,"f")},set:function(e){$03c0468daff9422a$var$__classPrivateFieldSet(this,r,e,"f")}},{key:"componentDidMount",value:function(){(0,$8uLkp$swchelperscjs_getcjs._)((0,$8uLkp$swchelperscjs_get_prototype_ofcjs._)(t.prototype),"componentDidMount",this).call(this),this.timeText=this.updateText()}},{key:"render",value:function(){var e=this.props,t=e.dateTime,r=$03c0468daff9422a$var$__rest(e,["dateTime"]);return(0,$8uLkp$reactjsxruntime.jsx)("time",Object.assign({dateTime:new Date(t).toJSON()},r,{children:this.timeText}))}}]),t}(l),r=new WeakMap,$03c0468daff9422a$var$__setFunctionName(c,"Time"),t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!=(e=l[Symbol.metadata])?e:null):void 0,n=[(0,$8uLkp$mobxreacthelper.reaction)(function(e){var t=e.observedProps;return t.dateTime+t.format})],i=[$8uLkp$mobx.observable],$03c0468daff9422a$var$__esDecorate(c,null,n,{kind:"method",name:"updateText",static:!1,private:!1,access:{has:function(e){return"updateText"in e},get:function(e){return e.updateText}},metadata:t},null,$),$03c0468daff9422a$var$__esDecorate(c,null,i,{kind:"accessor",name:"timeText",static:!1,private:!1,access:{has:function(e){return"timeText"in e},get:function(e){return e.timeText},set:function(e,t){e.timeText=t}},metadata:t},u,d),$03c0468daff9422a$var$__esDecorate(null,a={value:c},o,{kind:"class",name:c.name,metadata:t},null,s),c=a.value,t&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(c,"displayName",{enumerable:!0,configurable:!0,writable:!0,value:"Time"}),$03c0468daff9422a$var$__runInitializers(c,s),c}(),$2f5f9093a9aac8ee$exports={};$parcel$export($2f5f9093a9aac8ee$exports,"TimeDistance",function(){return $2f5f9093a9aac8ee$export$db3f63f9e19e5969});var $2f5f9093a9aac8ee$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$2f5f9093a9aac8ee$var$UnitWords={ms:"millisecond(s)",s:"second(s)",m:"minute(s)",H:"hour(s)",D:"day(s)",W:"week(s)",M:"month(s)",Y:"year(s)"},$2f5f9093a9aac8ee$export$db3f63f9e19e5969=function(e){var t=e.date,r=e.unitWords,a=e.beforeWord,c=e.afterWord,n=$2f5f9093a9aac8ee$var$__rest(e,["date","unitWords","beforeWord","afterWord"]);t=new Date(t);var i=(0,$8uLkp$webutility.diffTime)(t),o=i.distance,s=i.unit;return(0,$8uLkp$reactjsxruntime.jsxs)("time",Object.assign({},n,{dateTime:t.toJSON(),title:t.toLocaleString(),children:[Math.abs(o)," ",(void 0===r?$2f5f9093a9aac8ee$var$UnitWords:r)[s],o<0?void 0===a?" before":a:void 0===c?" after":c]}))};$2f5f9093a9aac8ee$export$db3f63f9e19e5969.displayName="TimeDistance";var $31b55198d5058ded$exports={};$parcel$export($31b55198d5058ded$exports,"Timeline",function(){return $31b55198d5058ded$export$e6a97ba2cae5bb94}),$4bfbcb67a3daf664$export$79ffe56a765070d2="TOztta_right",$4bfbcb67a3daf664$export$cddc5598d4bb8461="TOztta_timeline",$4bfbcb67a3daf664$export$73b7b5b52b6662d7="TOztta_timelineItem";var $31b55198d5058ded$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$31b55198d5058ded$export$e6a97ba2cae5bb94=function(e){var t=e.className,r=e.events,a=e.timeFormat,c=$31b55198d5058ded$var$__rest(e,["className","events","timeFormat"]);return(0,$8uLkp$reactjsxruntime.jsx)("ol",Object.assign({className:"list-unstyled ".concat($4bfbcb67a3daf664$export$cddc5598d4bb8461," ").concat(t)},c,{children:r.map(function(e){var t=e.title,r=e.summary,c=e.time,n=e.link,i=e.people;return(0,$8uLkp$reactjsxruntime.jsx)("li",{className:"position-relative ".concat($4bfbcb67a3daf664$export$73b7b5b52b6662d7," ").concat($4bfbcb67a3daf664$export$79ffe56a765070d2),children:(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Card,{children:(0,$8uLkp$reactjsxruntime.jsxs)($8uLkp$reactbootstrap.Card.Body,{className:"p-4 d-flex flex-column gap-3 align-items-center",children:[(0,$8uLkp$reactjsxruntime.jsx)("h3",{className:"h5 m-0",children:(0,$8uLkp$reactjsxruntime.jsx)("a",{className:"text-decoration-none stretched-link",href:n,children:t})}),(0,$8uLkp$reactjsxruntime.jsxs)("div",{className:"small text-muted d-flex gap-2",children:["⏲️",(0,$8uLkp$reactjsxruntime.jsx)($03c0468daff9422a$export$680ea196effce5f,{dateTime:c[0],format:a}),c[1]&&"~",c[1]&&(0,$8uLkp$reactjsxruntime.jsx)($03c0468daff9422a$export$680ea196effce5f,{dateTime:c[1],format:a})]}),(0,$8uLkp$reactjsxruntime.jsx)("ul",{className:"list-unstyled m-0 d-flex gap-2 flex-wrap justify-content-around",children:null==i?void 0:i.map(function(e){return(0,$8uLkp$reactjsxruntime.jsx)("li",{children:(0,$8uLkp$reactjsxruntime.jsx)($4f69bf8d62d4bac9$export$caa4d5435e8fb601,Object.assign({},e))},e.name)})}),(0,$8uLkp$reactjsxruntime.jsx)("p",{className:"m-0",children:r})]})})},t)})}))};$31b55198d5058ded$export$e6a97ba2cae5bb94.displayName="Timeline";var $27e13b1ac3fbb57c$exports={};$parcel$export($27e13b1ac3fbb57c$exports,"Toast",function(){return $27e13b1ac3fbb57c$export$8d8dc7d5f743331b});var $27e13b1ac3fbb57c$var$__esDecorate=function(e,t,r,a,c,n){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,s=a.kind,l="getter"===s?"get":"setter"===s?"set":"value",$=!t&&e?a.static?e:e.prototype:null,u=t||($?Object.getOwnPropertyDescriptor($,a.name):{}),d=!1,f=r.length-1;f>=0;f--){var p={};for(var b in a)p[b]="access"===b?{}:a[b];for(var b in a.access)p.access[b]=a.access[b];p.addInitializer=function(e){if(d)throw TypeError("Cannot add initializers after decoration has completed");n.push(i(e||null))};var v=(0,r[f])("accessor"===s?{get:u.get,set:u.set}:u[l],p);if("accessor"===s){if(void 0===v)continue;if(null===v||(void 0===v?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(v))!=="object")throw TypeError("Object expected");(o=i(v.get))&&(u.get=o),(o=i(v.set))&&(u.set=o),(o=i(v.init))&&c.unshift(o)}else(o=i(v))&&("field"===s?c.unshift(o):u[l]=o)}$&&Object.defineProperty($,a.name,u),d=!0},$27e13b1ac3fbb57c$var$__runInitializers=function(e,t,r){for(var a=arguments.length>2,c=0;c<t.length;c++)r=a?t[c].call(e,r):t[c].call(e);return a?r:void 0},$27e13b1ac3fbb57c$var$__classPrivateFieldGet=function(e,t,r,a){if("a"===r&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?a:"a"===r?a.call(e):a?a.value:t.get(e)},$27e13b1ac3fbb57c$var$__classPrivateFieldSet=function(e,t,r,a,c){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!c)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!c:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?c.call(e,r):c?c.value=r:t.set(e,r),r},$27e13b1ac3fbb57c$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$27e13b1ac3fbb57c$var$LIGHT_TEXT_VARIANTS=new Set(["warning","info","light"]),$27e13b1ac3fbb57c$export$8d8dc7d5f743331b=function(){var e,t,r,a=[],c=[];return t=function(){"use strict";function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$8uLkp$webutility.Timestamp;(0,$8uLkp$swchelperscjs_class_call_checkcjs._)(this,e),Object.defineProperty(this,"TimeScalar",{enumerable:!0,configurable:!0,writable:!0,value:n}),r.set(this,$27e13b1ac3fbb57c$var$__runInitializers(this,a,[])),Object.defineProperty(this,"Component",{enumerable:!0,configurable:!0,writable:!0,value:($27e13b1ac3fbb57c$var$__runInitializers(this,c),(0,$8uLkp$mobxreact.observer)(function(e){var r=e.position;return(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.ToastContainer,{position:void 0===r?"top-end":r,className:"position-fixed p-3",children:t.messages.map(t.renderMessage)})}))}),Object.defineProperty(this,"renderMessage",{enumerable:!0,configurable:!0,writable:!0,value:function(e){var r=e.id,a=e.openedAt,c=e.title,n=e.body,i=e.variant,o=e.delay,s=void 0===o?3e3:o,l=i&&!$27e13b1ac3fbb57c$var$LIGHT_TEXT_VARIANTS.has(i)?"text-white":void 0,$=t.TimeScalar.distanceOf(Date.now(),a).toShortString();return(0,$8uLkp$reactjsxruntime.jsxs)($8uLkp$reactbootstrap.Toast,{bg:i,delay:s,autohide:0!==s,onClose:function(){return t.close(r)},children:[(!!c||0===s)&&(0,$8uLkp$reactjsxruntime.jsxs)($8uLkp$reactbootstrap.Toast.Header,{children:[(0,$8uLkp$reactjsxruntime.jsx)("strong",{className:"me-auto",children:c}),(0,$8uLkp$reactjsxruntime.jsx)("small",{children:$})]}),(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Toast.Body,{className:l,children:n})]},r)}}),this.Component.displayName="ToastComponent"}return(0,$8uLkp$swchelperscjs_create_classcjs._)(e,[{key:"messages",get:function(){return $27e13b1ac3fbb57c$var$__classPrivateFieldGet(this,r,"f")},set:function(e){$27e13b1ac3fbb57c$var$__classPrivateFieldSet(this,r,e,"f")}},{key:"open",value:function(e){var t=(0,$8uLkp$webutility.uniqueID)(),r=Date.now(),a=Promise.withResolvers(),c=a.promise,n=a.resolve;return this.messages=(0,$8uLkp$swchelperscjs_to_consumable_arraycjs._)(this.messages).concat([Object.assign(Object.assign({id:t},e),{openedAt:r,resolve:n})]),c}},{key:"close",value:function(e){var t=this.messages.find(function(t){return t.id===e})||{},r=t.resolve,a=$27e13b1ac3fbb57c$var$__rest(t,["resolve"]);null==r||r(Object.assign(Object.assign({},a),{closedAt:Date.now()})),this.messages=this.messages.filter(function(t){return t.id!==e})}}]),e}(),r=new WeakMap,e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0,$27e13b1ac3fbb57c$var$__esDecorate(t,null,[$8uLkp$mobx.observable],{kind:"accessor",name:"messages",static:!1,private:!1,access:{has:function(e){return"messages"in e},get:function(e){return e.messages},set:function(e,t){e.messages=t}},metadata:e},a,c),e&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),t}(),$f4c02b33c4295ca8$exports={};$parcel$export($f4c02b33c4295ca8$exports,"TypeEcho",function(){return $f4c02b33c4295ca8$export$2fe61c915a9818e6});var $f4c02b33c4295ca8$var$__esDecorate=function(e,t,r,a,c,n){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,s=a.kind,l="getter"===s?"get":"setter"===s?"set":"value",$=!t&&e?a.static?e:e.prototype:null,u=t||($?Object.getOwnPropertyDescriptor($,a.name):{}),d=!1,f=r.length-1;f>=0;f--){var p={};for(var b in a)p[b]="access"===b?{}:a[b];for(var b in a.access)p.access[b]=a.access[b];p.addInitializer=function(e){if(d)throw TypeError("Cannot add initializers after decoration has completed");n.push(i(e||null))};var v=(0,r[f])("accessor"===s?{get:u.get,set:u.set}:u[l],p);if("accessor"===s){if(void 0===v)continue;if(null===v||(void 0===v?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(v))!=="object")throw TypeError("Object expected");(o=i(v.get))&&(u.get=o),(o=i(v.set))&&(u.set=o),(o=i(v.init))&&c.unshift(o)}else(o=i(v))&&("field"===s?c.unshift(o):u[l]=o)}$&&Object.defineProperty($,a.name,u),d=!0},$f4c02b33c4295ca8$var$__runInitializers=function(e,t,r){for(var a=arguments.length>2,c=0;c<t.length;c++)r=a?t[c].call(e,r):t[c].call(e);return a?r:void 0},$f4c02b33c4295ca8$var$__awaiter=function(e,t,r,a){return new(r||(r=Promise))(function(c,n){function i(e){try{s(a.next(e))}catch(e){n(e)}}function o(e){try{s(a.throw(e))}catch(e){n(e)}}function s(e){var t;e.done?c(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,o)}s((a=a.apply(e,t||[])).next())})},$f4c02b33c4295ca8$var$__setFunctionName=function(e,t,r){return(void 0===t?"undefined":(0,$8uLkp$swchelperscjs_type_ofcjs._)(t))==="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})},$f4c02b33c4295ca8$var$__classPrivateFieldGet=function(e,t,r,a){if("a"===r&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?a:"a"===r?a.call(e):a?a.value:t.get(e)},$f4c02b33c4295ca8$var$__classPrivateFieldSet=function(e,t,r,a,c){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!c)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!c:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?c.call(e,r):c?c.value=r:t.set(e,r),r},$f4c02b33c4295ca8$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$f4c02b33c4295ca8$export$2fe61c915a9818e6=function(){var e,t,r,a,c,n=[$8uLkp$mobxreact.observer],i=[],o=$8uLkp$react.Component,s=[],l=[];return c=function(e){"use strict";function t(){var e;return(0,$8uLkp$swchelperscjs_class_call_checkcjs._)(this,t),e=(0,$8uLkp$swchelperscjs_call_supercjs._)(this,t,arguments),r.set(e,$f4c02b33c4295ca8$var$__runInitializers(e,s,"")),Object.defineProperty(e,"init",{enumerable:!0,configurable:!0,writable:!0,value:($f4c02b33c4295ca8$var$__runInitializers(e,l),function(t){return t&&new IntersectionObserver(function(t,r){return $f4c02b33c4295ca8$var$__awaiter(e,[t,r],void 0,function(e,t){var r,a,c,n,i,o,s,l,$,u,d;return(0,$8uLkp$swchelperscjs_ts_generatorcjs._)(this,function(f){switch(f.label){case 0:if(!(0,$8uLkp$swchelperscjs_sliced_to_arraycjs._)(e,1)[0].isIntersecting)return[2];t.disconnect(),a=(r=this.props).text,n=void 0===(c=r.intervals)?150:c,i=!0,o=!1,s=void 0,f.label=1;case 1:f.trys.push([1,6,7,8]),l=a[Symbol.iterator](),f.label=2;case 2:if(i=($=l.next()).done)return[3,5];return u=$.value,[4,(0,$8uLkp$webutility.sleep)(n/1e3)];case 3:f.sent(),this.echoed+=u,f.label=4;case 4:return i=!0,[3,2];case 5:return[3,8];case 6:return d=f.sent(),o=!0,s=d,[3,8];case 7:try{i||null==l.return||l.return()}finally{if(o)throw s}return[7];case 8:return[2]}})})}).observe(t)})}),e}return(0,$8uLkp$swchelperscjs_inheritscjs._)(t,e),(0,$8uLkp$swchelperscjs_create_classcjs._)(t,[{key:"echoed",get:function(){return $f4c02b33c4295ca8$var$__classPrivateFieldGet(this,r,"f")},set:function(e){$f4c02b33c4295ca8$var$__classPrivateFieldSet(this,r,e,"f")}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.text,a=$f4c02b33c4295ca8$var$__rest(e,["className","text"]),c=this.echoed;return(0,$8uLkp$reactjsxruntime.jsx)("pre",Object.assign({},a,{ref:this.init,className:$parcel$interopDefault($8uLkp$classnames)("text-wrap",t),children:c+(c===r?"":"_")}))}}]),t}(o),r=new WeakMap,$f4c02b33c4295ca8$var$__setFunctionName(c,"TypeEcho"),t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!=(e=o[Symbol.metadata])?e:null):void 0,$f4c02b33c4295ca8$var$__esDecorate(c,null,[$8uLkp$mobx.observable],{kind:"accessor",name:"echoed",static:!1,private:!1,access:{has:function(e){return"echoed"in e},get:function(e){return e.echoed},set:function(e,t){e.echoed=t}},metadata:t},s,l),$f4c02b33c4295ca8$var$__esDecorate(null,a={value:c},n,{kind:"class",name:c.name,metadata:t},null,i),c=a.value,t&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(c,"displayName",{enumerable:!0,configurable:!0,writable:!0,value:"TypeEcho"}),$f4c02b33c4295ca8$var$__runInitializers(c,i),c}(),$77dc12b8e0b9d622$exports={};$parcel$export($77dc12b8e0b9d622$exports,"UserRankView",function(){return $77dc12b8e0b9d622$export$4ed039229ec81818});var $c5da9bad1903a67d$export$5f821f795e2d2901=function(e){var t=e.email,r=e.website;return(0,$8uLkp$reactjsxruntime.jsxs)("address",{className:"mb-0 d-flex justify-content-around gap-2",children:[t&&(0,$8uLkp$reactjsxruntime.jsx)("a",{rel:"noreferrer",target:"_blank",href:"mailto:"+t,children:(0,$8uLkp$reactjsxruntime.jsx)($cf5cdc2ffed4bc45$export$f04a61298a47a40f,{name:"envelope"})}),r&&(0,$8uLkp$reactjsxruntime.jsx)("a",{rel:"noreferrer",target:"_blank",href:r,children:(0,$8uLkp$reactjsxruntime.jsx)($cf5cdc2ffed4bc45$export$f04a61298a47a40f,{name:"globe2"})})]})};$7d37db9df1578ff2$export$5c452ff88e35e47d="WavURG_image",$7d37db9df1578ff2$export$30d389775d7a0f3c="WavURG_medal",$7d37db9df1578ff2$export$a8ff84c12d48cfa6="WavURG_name",$7d37db9df1578ff2$export$896c314ae37c4db9="WavURG_rankBox",$7d37db9df1578ff2$export$717db1a952ac2d26="WavURG_restUsers",$7d37db9df1578ff2$export$74fdf2685172213b="WavURG_suspension",$7d37db9df1578ff2$export$fb184b623420d9be="WavURG_title",$7d37db9df1578ff2$export$ec176431609ba4c9="WavURG_topUser",$7d37db9df1578ff2$export$ea7c3e02973c1d5b="WavURG_topUsers";var $77dc12b8e0b9d622$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$77dc12b8e0b9d622$export$4ed039229ec81818=function(e){"use strict";function t(){var e;return(0,$8uLkp$swchelperscjs_class_call_checkcjs._)(this,t),e=(0,$8uLkp$swchelperscjs_call_supercjs._)(this,t,arguments),Object.defineProperty(e,"renderMedal",{enumerable:!0,configurable:!0,writable:!0,value:function(t){var r,a;return(0,$8uLkp$reactjsxruntime.jsxs)($8uLkp$reactbootstrap.Col,{as:"li",children:[(0,$8uLkp$reactjsxruntime.jsx)("div",{className:"shadow-lg overflow-hidden rounded-circle m-auto ".concat($7d37db9df1578ff2$export$5c452ff88e35e47d),children:(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Image,{src:t.avatar,alt:t.name,loading:"lazy",fluid:!0})}),(0,$8uLkp$reactjsxruntime.jsxs)("div",{className:"position-relative overflow-hidden ".concat($7d37db9df1578ff2$export$ec176431609ba4c9),children:[(0,$8uLkp$reactjsxruntime.jsxs)("div",{className:"position-relative",children:[(0,$8uLkp$reactjsxruntime.jsx)("i",{className:"d-block overflow-hidden m-auto mb-1 rounded-circle"}),(0,$8uLkp$reactjsxruntime.jsx)("a",{className:"d-block mb-0 stretched-link",href:(null==(a=(r=e.props).linkOf)?void 0:a.call(r,t))||"#",children:t.name}),(0,$8uLkp$reactjsxruntime.jsx)("strong",{children:t.score})]}),(0,$8uLkp$reactjsxruntime.jsx)($c5da9bad1903a67d$export$5f821f795e2d2901,Object.assign({},t))]})]},t.id)}}),Object.defineProperty(e,"renderRow",{enumerable:!0,configurable:!0,writable:!0,value:function(t,r,a){var c,n,i=a.length;return(0,$8uLkp$reactjsxruntime.jsxs)("tr",{className:"position-relative",children:[(0,$8uLkp$reactjsxruntime.jsx)("td",{className:"align-middle",children:(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Badge,{className:"fw-bold fst-italic",children:(r+4+"").padStart((i+"").length,"0")})}),(0,$8uLkp$reactjsxruntime.jsxs)("td",{className:"position-relative mw-50 text-truncate ".concat($7d37db9df1578ff2$export$a8ff84c12d48cfa6),children:[(0,$8uLkp$reactjsxruntime.jsx)("div",{className:"d-inline-block overflow-hidden align-middle rounded-circle ".concat($7d37db9df1578ff2$export$5c452ff88e35e47d),children:(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Image,{src:t.avatar,alt:t.name,loading:"lazy",fluid:!0})}),(0,$8uLkp$reactjsxruntime.jsx)("a",{className:"ms-2 d-inline-block align-middle stretched-link",style:{color:"rgb(248, ".concat((r+2)*15,", ").concat((r+2)*35,")")},href:(null==(n=(c=e.props).linkOf)?void 0:n.call(c,t))||"#",children:t.name})]}),(0,$8uLkp$reactjsxruntime.jsx)("td",{className:"align-middle",children:t.score}),(0,$8uLkp$reactjsxruntime.jsx)("td",{className:"align-middle",children:(0,$8uLkp$reactjsxruntime.jsx)($c5da9bad1903a67d$export$5f821f795e2d2901,Object.assign({},t))})]},t.id)}}),e}return(0,$8uLkp$swchelperscjs_inheritscjs._)(t,e),(0,$8uLkp$swchelperscjs_create_classcjs._)(t,[{key:"render",value:function(){var e=this.props,t=e.className,r=e.title,a=e.rank,c=void 0===a?[]:a,n=(e.linkOf,$77dc12b8e0b9d622$var$__rest(e,["className","title","rank","linkOf"]));return(0,$8uLkp$reactjsxruntime.jsxs)($8uLkp$reactbootstrap.Row,Object.assign({className:"".concat($7d37db9df1578ff2$export$896c314ae37c4db9," ").concat(void 0===t?"":t)},n,{children:[(0,$8uLkp$reactjsxruntime.jsxs)($8uLkp$reactbootstrap.Col,{sm:12,xs:12,lg:7,children:[(0,$8uLkp$reactjsxruntime.jsxs)("div",{className:"shadow rounded-3 ".concat($7d37db9df1578ff2$export$fb184b623420d9be),children:[(0,$8uLkp$reactjsxruntime.jsxs)("div",{className:$7d37db9df1578ff2$export$30d389775d7a0f3c,children:[(0,$8uLkp$reactjsxruntime.jsx)("i",{className:"d-inline-block ms-1 overflow-hidden rounded-circle"}),(0,$8uLkp$reactjsxruntime.jsx)("i",{className:"d-inline-block ms-1 overflow-hidden rounded-circle"}),(0,$8uLkp$reactjsxruntime.jsx)("i",{className:"d-inline-block ms-1 overflow-hidden rounded-circle"})]}),(0,$8uLkp$reactjsxruntime.jsx)("h3",{"data-text":r,className:"position-relative m-auto mb-0 fw-bold text-center",children:r})]}),(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Row,{as:"ul",className:"mt-2 g-0 align-items-end text-center ps-0 pt-2 list-unstyled ".concat($7d37db9df1578ff2$export$ea7c3e02973c1d5b),children:c.slice(0,3).map(this.renderMedal)})]}),(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Col,{xs:12,sm:12,lg:5,children:(0,$8uLkp$reactjsxruntime.jsx)($8uLkp$reactbootstrap.Table,{className:"my-3 pt-2 ".concat($7d37db9df1578ff2$export$717db1a952ac2d26),responsive:!0,children:(0,$8uLkp$reactjsxruntime.jsx)("tbody",{children:c.slice(3,10).map(this.renderRow)})})})]}))}}]),t}($8uLkp$react.PureComponent);Object.defineProperty($77dc12b8e0b9d622$export$4ed039229ec81818,"displayName",{enumerable:!0,configurable:!0,writable:!0,value:"UserRankView"});var $42613c749094b4e3$exports={};$parcel$export($42613c749094b4e3$exports,"VerticalMarquee",function(){return $42613c749094b4e3$export$125576d08e40b98f}),$c628d4ba96623bb8$export$1a22ace05a045e3f="QSMqAq_scrollItem",$c628d4ba96623bb8$export$c7aa240077ad8340="QSMqAq_scrollWrap";var $42613c749094b4e3$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$42613c749094b4e3$export$125576d08e40b98f=function(e){var t=e.className,r=e.children,a=e.duration,c=$42613c749094b4e3$var$__rest(e,["className","children","duration"]);return(0,$8uLkp$reactjsxruntime.jsx)("div",Object.assign({className:"overflow-hidden ".concat(void 0===t?"":t)},c,{children:(0,$8uLkp$reactjsxruntime.jsx)("div",{className:"d-inline-block mw-100 mh-100 ".concat($c628d4ba96623bb8$export$c7aa240077ad8340),style:{"--duration":a},children:(0,$8uLkp$reactjsxruntime.jsx)("div",{className:"d-inline-block ".concat($c628d4ba96623bb8$export$1a22ace05a045e3f),children:r})})}))};$42613c749094b4e3$export$125576d08e40b98f.displayName="VerticalMarquee";var $228d0ac8aef325ed$exports={};$parcel$export($228d0ac8aef325ed$exports,"ZodiacSigns",function(){return $228d0ac8aef325ed$export$c0efdd35897a499c}),$parcel$export($228d0ac8aef325ed$exports,"zodiacOf",function(){return $228d0ac8aef325ed$export$1ace452aebce17cb}),$parcel$export($228d0ac8aef325ed$exports,"ZodiacBar",function(){return $228d0ac8aef325ed$export$de26cde43ba4c348});var $228d0ac8aef325ed$var$__rest=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,a=Object.getOwnPropertySymbols(e);c<a.length;c++)0>t.indexOf(a[c])&&Object.prototype.propertyIsEnumerable.call(e,a[c])&&(r[a[c]]=e[a[c]]);return r},$228d0ac8aef325ed$export$c0efdd35897a499c=["🐵","🐔","🐶","🐷","🐭","🐮","🐯","🐰","🐲","🐍","🐴","🐐"],$228d0ac8aef325ed$export$1ace452aebce17cb=function(e){return $228d0ac8aef325ed$export$c0efdd35897a499c[((e<0?e+1:e)%12+12)%12]},$228d0ac8aef325ed$export$de26cde43ba4c348=function(e){var t=e.className,r=e.itemClassName,a=void 0===r?"border rounded px-4 py-3 d-flex flex-column justify-content-center align-items-center":r,c=e.startYear,n=e.endYear,i=void 0===n?new Date().getFullYear():n,o=e.itemOf,s=$228d0ac8aef325ed$var$__rest(e,["className","itemClassName","startYear","endYear","itemOf"]);return(0,$8uLkp$reactjsxruntime.jsx)("ol",Object.assign({className:"list-unstyled m-0 d-flex flex-wrap justify-content-center gap-3 ".concat(void 0===t?"":t)},s,{children:Array.from({length:i-c+1},function(e,t){var r=i-t;if(0===r)return null;var c=$228d0ac8aef325ed$export$1ace452aebce17cb(r),n=(null==o?void 0:o(r,c))||{},s=n.link,l=n.title;return(0,$8uLkp$reactjsxruntime.jsx)("li",{className:a,children:(0,$8uLkp$reactjsxruntime.jsxs)("a",{className:"d-inline-block p-3 text-decoration-none text-center",href:void 0===s?"#":s,children:[(0,$8uLkp$reactjsxruntime.jsx)("div",{className:"fs-1",children:c}),l]})},r)})}))};$228d0ac8aef325ed$export$de26cde43ba4c348.displayName="ZodiacBar",$parcel$exportWildcard(module.exports,$fd019656019bb4f3$exports),$parcel$exportWildcard(module.exports,$757747c0209676cc$exports),$parcel$exportWildcard(module.exports,$a40a1c3d6dc84a7a$exports),$parcel$exportWildcard(module.exports,$89fa9a64cf869995$exports),$parcel$exportWildcard(module.exports,$924d73683971f901$exports),$parcel$exportWildcard(module.exports,$9dab2fd0b4033192$exports),$parcel$exportWildcard(module.exports,$e308f4ff6755d29b$exports),$parcel$exportWildcard(module.exports,$68aab1d0e8e5016c$exports),$parcel$exportWildcard(module.exports,$db3d9d99c159855a$exports),$parcel$exportWildcard(module.exports,$e400f030e8cea549$exports),$parcel$exportWildcard(module.exports,$cf5cdc2ffed4bc45$exports),$parcel$exportWildcard(module.exports,$44176234dcaa70a7$exports),$parcel$exportWildcard(module.exports,$1f7252b8d0187295$exports),$parcel$exportWildcard(module.exports,$ec6e3ccd45c7b7c0$exports),$parcel$exportWildcard(module.exports,$4f69bf8d62d4bac9$exports),$parcel$exportWildcard(module.exports,$a121893c5bead7fc$exports),$parcel$exportWildcard(module.exports,$d78fd73e1713e936$exports),$parcel$exportWildcard(module.exports,$ce59ae9613bac5f2$exports),$parcel$exportWildcard(module.exports,$5d0c8d8af5c3c7e5$exports),$parcel$exportWildcard(module.exports,$5c7497f9f3fe6432$exports),$parcel$exportWildcard(module.exports,$ad4a2cea628613d5$exports),$parcel$exportWildcard(module.exports,$53fa7c21606566cb$exports),$parcel$exportWildcard(module.exports,$295b3641db3d8c33$exports),$parcel$exportWildcard(module.exports,$03c0468daff9422a$exports),$parcel$exportWildcard(module.exports,$2f5f9093a9aac8ee$exports),$parcel$exportWildcard(module.exports,$31b55198d5058ded$exports),$parcel$exportWildcard(module.exports,$27e13b1ac3fbb57c$exports),$parcel$exportWildcard(module.exports,$f4c02b33c4295ca8$exports),$parcel$exportWildcard(module.exports,$77dc12b8e0b9d622$exports),$parcel$exportWildcard(module.exports,$42613c749094b4e3$exports),$parcel$exportWildcard(module.exports,$228d0ac8aef325ed$exports);
2
- //# sourceMappingURL=index.js.map
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,s)=>(s=n==null?{}:e(i(n)),o(r||!n||!n.__esModule||!a.call(n,`default`)?t(s,`default`,{value:n,enumerable:!0}):s,n));let c=require("classnames");c=s(c);let l=require("react/jsx-runtime"),u=require("react"),d=require("@shikijs/langs/javascript");d=s(d);let f=require("@shikijs/langs/jsx");f=s(f);let p=require("@shikijs/langs/tsx");p=s(p);let m=require("@shikijs/langs/typescript");m=s(m);let h=require("@shikijs/themes/github-light");h=s(h);let g=require("react-element-to-jsx-string");g=s(g);let ee=require("shiki/core"),te=require("shiki/engine/javascript"),_=require("mobx"),v=require("mobx-react"),y=require("mobx-react-helper"),b=require("web-utility"),ne=require("iterable-observer"),re=require("react-editor-js"),x=require("editorjs-html");x=s(x);let S=require("react-live"),C=require("react-bootstrap"),w=require("html2canvas");w=s(w);function ie(e){return t=>t&&new IntersectionObserver(([{isIntersecting:t,target:n}],r)=>{if(!t)return;let i=[`animate__animated`,`animate__${e}`];n.classList.add(...i),n.addEventListener(`animationend`,()=>n.classList.remove(...i),{once:!0}),r.disconnect()}).observe(t)}function ae(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function T(e,t){if(e==null)return{};var n,r,i=ae(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function E(e){"@babel/helpers - typeof";return E=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},E(e)}function oe(e,t){if(E(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(E(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function se(e){var t=oe(e,`string`);return E(t)==`symbol`?t:t+``}function D(e,t,n){return(t=se(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?O(Object(n),!0).forEach(function(t){D(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}const ce=[`className`,`style`,`size`],A=e=>{let{className:t,style:n,size:r=3}=e,i=T(e,ce);return(0,l.jsx)(`img`,k({className:(0,c.default)(`object-fit-cover rounded-circle`,t),style:k({width:`${r}rem`,height:`${r}rem`},n)},i))};A.displayName=`Avatar`;const le=[`children`,`onInnerClick`,`onOuterClick`];var ue=class extends u.PureComponent{constructor(...e){super(...e),D(this,`root`,(0,u.createRef)()),D(this,`switchClick`,e=>{var t;let{onInnerClick:n,onOuterClick:r}=this.props;(t=this.root.current)!=null&&t.contains(e.target)?n==null||n(e):r==null||r(e)})}componentDidMount(){window.addEventListener(`click`,this.switchClick,!0)}componentWillUnmount(){window.removeEventListener(`click`,this.switchClick,!0)}render(){let e=this.props,{children:t,onInnerClick:n,onOuterClick:r}=e,i=T(e,le);return(0,l.jsx)(`div`,k(k({ref:this.root},i),{},{children:t}))}};const de=[`className`,`language`,`children`],fe=(0,ee.createHighlighterCoreSync)({themes:[h.default],langs:[d.default,f.default,m.default,p.default],engine:(0,te.createJavaScriptRegexEngine)()}),pe=e=>{let{className:t=``,language:n,children:r}=e,i=T(e,de),a=typeof r==`string`?r:(0,g.default)((0,u.isValidElement)(r)?r:(0,l.jsx)(l.Fragment,{children:r})),o=fe.codeToHtml(a,{lang:n,theme:`github-light`,structure:`inline`});return(0,l.jsx)(`pre`,k(k({className:`m-0 language-${n} ${t}`},i),{},{children:(0,l.jsx)(`code`,{dangerouslySetInnerHTML:{__html:o},className:`language-${n}`})}))},j=[`primary`,`secondary`,`success`,`danger`,`warning`,`info`,`dark`,`light`];function M(e,t=[]){let n=t[0]?j.filter(e=>!t.find(t=>t===e)):j;return n[[...e].reduce((e,t)=>e+t.charCodeAt(0),0)%n.length]}const me=[`className`,`itemClassName`,`units`,`endTime`,`onEnd`];var he=@v.observer class extends y.ObservedComponent{constructor(...e){super(...e),D(this,`timer`,0),D(this,`tick`,()=>{let{onEnd:e,endTime:t}=this.props,n=this.endTimestamp-Date.now();n>0?this.rest=n:(this.rest=0,this.stop(),e==null||e(t))})}@_.observable accessor rest=0;get endTimestamp(){return+new Date(this.props.endTime||Date.now())}@_.computed get timeSections(){let{units:e}=this.observedProps,{rest:t}=this;return e.reduce((n,{label:r},i)=>{let a=e.slice(i).map(({scale:e})=>e).reduce((e,t)=>e*t,1),o=~~(t/a);return t-=o*a,n.push({value:o,label:r}),n},[])}stop(){this.timer&&(window.clearInterval(this.timer),this.timer=0)}componentDidMount(){super.componentDidMount(),this.initTimer()}@((0,y.reaction)(e=>e.observedProps.endTime))initTimer(){this.stop(),this.tick(),this.timer=window.setInterval(this.tick,b.Second)}componentWillUnmount(){super.componentWillUnmount(),this.stop()}render(){let e=this.props,{className:t=``,itemClassName:n=`border rounded px-4 py-3 d-flex flex-column justify-content-center align-items-center`,units:r,endTime:i,onEnd:a}=e,o=T(e,me),{timeSections:s}=this;return(0,l.jsx)(`ol`,k(k({className:`list-unstyled m-0 ${t}`},o),{},{children:s.map(({value:e,label:t})=>(0,l.jsxs)(`li`,{className:n,children:[(0,l.jsx)(`strong`,{children:(e+``).padStart(2,`0`)}),(0,l.jsx)(`span`,{children:t})]},t))}))}};D(he,`displayName`,`Countdown`);var ge=class extends Error{constructor(e=`Dialog closed`){super(e)}},_e=class{@_.observable accessor input={};@_.observable accessor defer;constructor(e){D(this,`Component`,void 0),this.Component=(0,v.observer)(t=>(0,l.jsx)(e,k(k(k({},t),this.input),{},{defer:this.defer}))),this.Component.displayName=`DialogComponent`}open(e){return e&&(this.input=e),this.defer=new ne.Defer,this.defer.promise.finally(()=>this.defer=void 0),this.defer.promise}};function N(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,i)}function P(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){N(a,r,i,o,s,`next`,e)}function s(e){N(a,r,i,o,s,`throw`,e)}o(void 0)})}}const ve=[`name`,`required`,`children`],ye=(0,re.createReactEditorJS)();var F=@v.observer class extends u.Component{constructor(...e){var t;super(...e),t=this,D(this,`core`,void 0),D(this,`save`,P(function*(){return t.core&&(t.innerValue=yield t.core.save())}))}@_.observable accessor innerValue=this.props.defaultValue;render(){let e=this.props,{name:t,required:n,children:r}=e,i=T(e,ve),{innerValue:a}=this;return(0,l.jsxs)(`div`,{className:`form-control`,tabIndex:-1,onBlur:this.save,children:[(0,l.jsx)(`input`,{hidden:!0,name:t,required:n,value:JSON.stringify(a)}),(0,l.jsx)(ye,k(k({},i),{},{onInitialize:e=>{var t;this.core=e,(t=i.onInitialize)==null||t.call(i,e)}}))]})}};D(F,`displayName`,`Editor`);const be=[`data`],I=(0,x.default)({link:({data:{link:e}})=>`<a href="${e}">${e}</a>`}),L=e=>{let{data:t}=e,n=T(e,be);return(0,l.jsx)(`article`,k(k({},n),{},{dangerouslySetInnerHTML:{__html:I.parse(t)}}))};L.displayName=`EditorHTML`;const xe=[`className`,`children`,`maxWidth`,`duration`,`height`],R=e=>{let{className:t=``,children:n,maxWidth:r=`100%`,duration:i,height:a}=e,o=T(e,xe);return(0,l.jsx)(`div`,k(k({className:`overflow-hidden mw-100 ${t}`},o),{},{children:(0,l.jsx)(`div`,{className:`d-inline-block align-top text-nowrap lRDfma_scrollWrap`,style:{maxWidth:r,animationDuration:i,height:a,lineHeight:a},children:(0,l.jsx)(`div`,{className:`d-inline-block lRDfma_scrollItem`,style:{animationDuration:i},children:n})})}))},Se=({children:e,maxWidth:t,duration:n,height:r})=>r?(0,l.jsx)(`div`,{className:`overflow-hidden lRDfma_scrollHeightWrap`,style:{maxWidth:t,"--scroll-height":r},children:(0,l.jsxs)(`div`,{className:`d-inline-block overflow-hidden mw-100 lRDfma_scrollContainer`,children:[(0,l.jsx)(`div`,{className:`d-block overflow-hidden text-wrap text-break lRDfma_unScrollItem`,children:e}),(0,l.jsx)(R,{duration:n,children:e})]})}):(0,l.jsx)(R,{maxWidth:t,duration:n,height:r,children:e});R.displayName=`HorizontalMarquee`;const Ce=[`className`,`style`,`name`,`size`],z=e=>{let{className:t,style:n,name:r,size:i}=e,a=T(e,Ce);return(0,l.jsx)(`span`,k({className:(0,c.default)(`bi-${r}`,t),style:k({fontSize:i&&`${i}rem`},n)},a))};z.displayName=`Icon`;const we=({scope:e,children:t})=>{let n=(0,u.isValidElement)(t)?t:(0,l.jsx)(l.Fragment,{children:t}),r=typeof t==`string`?t:(0,g.default)(n);return(0,l.jsxs)(S.LiveProvider,{code:r,scope:e,language:`tsx`,children:[(0,l.jsx)(S.LivePreview,{className:`mb-3`}),(0,l.jsx)(S.LiveEditor,{}),(0,l.jsx)(S.LiveError,{className:`text-danger small p-2`})]})},Te=[`className`,`children`],B=e=>{let{className:t=``,children:n=`Loading...`}=e,r=T(e,Te);return(0,l.jsxs)(`div`,k(k({className:`fixed-top h-100 w-100 d-flex justify-content-center align-items-center opacity-25 bg-black ${t}`},r),{},{children:[(0,l.jsx)(C.Spinner,{animation:`border`,variant:`success`}),(0,l.jsx)(`span`,{className:`ml-3 text-white`,children:n})]}))};B.displayName=`Loading`;const Ee=[`title`,`detail`,`children`],V=e=>{let{title:t,detail:n,children:r}=e,i=T(e,Ee);return(0,l.jsx)(C.OverlayTrigger,k(k({},i),{},{overlay:n?(0,l.jsxs)(C.Popover,{children:[(0,l.jsx)(C.Popover.Header,{children:t}),(0,l.jsx)(C.Popover.Body,{children:n})]}):(0,l.jsx)(C.Tooltip,{children:t}),children:r}))};V.displayName=`OverlayBox`;const De=[`style`,`variant`,`onChange`,`onSelect`];var H=@v.observer class extends y.ObservedComponent{constructor(...e){super(...e),D(this,`renderDate`,e=>{let{variant:t=`primary`,value:n,onSelect:r}=this.observedProps,i=(0,b.formatDate)(e,`YYYY-MM-DD`),a=n==null?void 0:n.filter(({date:e})=>(0,b.formatDate)(e,`YYYY-MM-DD`)===i);return(0,l.jsxs)(`td`,{className:(0,c.default)({"opacity-50":e.getMonth()!==this.currentDate.getMonth(),"fw-bold":i===(0,b.formatDate)(new Date,`YYYY-MM-DD`)}),children:[(0,l.jsx)(`time`,{className:`d-block`,dateTime:e.toJSON(),children:e.getDate()}),a==null?void 0:a.map(e=>typeof e.content==`object`?e.content:(0,l.jsx)(V,{title:e.content,children:(0,l.jsx)(C.Badge,{as:`a`,className:`d-inline-block text-decoration-none w-100 text-truncate`,bg:M(e.content+``,[`light`]),href:e.link,onClick:()=>r==null?void 0:r(e),children:e.content})},e.date+``))]},e+``)})}@_.computed get weekFormatter(){var e;let{locale:t=(e=globalThis.navigator)==null?void 0:e.language}=this.observedProps;return new Intl.DateTimeFormat(t,{weekday:`long`})}@_.observable accessor currentDate=new Date;@_.computed get dateGrid(){let e=new Date(this.currentDate);e.setDate(1),e=new Date(+e-e.getDay()*b.Day);let t=Array.from(Array(42),(t,n)=>new Date(+e+n*b.Day));return(0,b.splitArray)(t,7)}changeMonth(e){var t,n;this.currentDate=(0,b.changeMonth)(this.currentDate,e),(t=(n=this.props).onChange)==null||t.call(n,this.currentDate)}render(){let{weekFormatter:e,currentDate:t,dateGrid:n}=this,r=this.observedProps,{style:i,variant:a=`primary`,onChange:o,onSelect:s}=r,c=T(r,De);return(0,l.jsxs)(C.Table,k(k({},c),{},{style:k({tableLayout:`fixed`},i),children:[(0,l.jsx)(`caption`,{children:(0,l.jsxs)(`div`,{className:`d-flex justify-content-between align-items-center`,children:[(0,l.jsx)(C.Button,{variant:a,onClick:()=>this.changeMonth(-1),children:`<`}),(0,b.formatDate)(t,`YYYY-MM`),(0,l.jsx)(C.Button,{variant:a,onClick:()=>this.changeMonth(1),children:`>`})]})}),(0,l.jsx)(`thead`,{children:(0,l.jsx)(`tr`,{children:n[0].map((t,n,{length:r})=>(0,l.jsx)(`td`,{className:`bg-${a} text-white`,style:{width:`calc(100% / ${r})`},children:e.format(t)},n))})}),(0,l.jsx)(`tbody`,{children:n.map(e=>(0,l.jsx)(`tr`,{children:e.map(this.renderDate)},e[0]+``))})]}))}};D(H,`displayName`,`MonthCalendar`);const U=({avatar:e,name:t})=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(A,{size:2,style:{marginRight:`0.5rem`},src:e}),(0,l.jsx)(`span`,{className:`align-middle`,children:t})]});U.displayName=`Nameplate`;const Oe=[`style`,`variant`],ke=Array.from([,,,,,,],(e,t)=>`h${++t}`)+``;var W=@v.observer class extends u.Component{constructor(...e){super(...e),D(this,`updateScrollY`,()=>this.scrollY=window.scrollY),D(this,`scrollTo`,e=>()=>{var t,n;setTimeout(()=>(0,b.scrollTo)(`[id="${e.id}"]`)),(t=(n=this.props).onItemClick)==null||t.call(n,e)}),D(this,`renderLink`,({id:e,level:t,text:n,top:r})=>{let{currentActiveId:i}=this,{depth:a=1/0}=this.props;return t<=a&&(0,l.jsx)(C.Nav.Item,{style:{textIndent:`${t-1}rem`},children:(0,l.jsx)(C.Nav.Link,{href:`#${e}`,active:i===e,onClick:this.scrollTo({id:e,level:t,text:n,top:r}),children:n})},e)})}@_.observable accessor list=[];@_.observable accessor scrollY=0;@_.computed get currentActiveId(){var e;let{list:t,scrollY:n}=this;return(e=t[t.findIndex(({top:e})=>e>n)-1])==null?void 0:e.id}componentDidMount(){globalThis.document&&(window.addEventListener(`scroll`,this.updateScrollY),this.list=Array.from(document.querySelectorAll(ke),e=>{e.id||(e.id=(0,b.uniqueID)());let{id:t,tagName:n,textContent:r,offsetTop:i}=e;return{id:t,level:+n[1],text:r.trim(),top:i}}))}componentWillUnmount(){var e,t;(e=(t=globalThis).removeEventListener)==null||e.call(t,`scroll`,this.updateScrollY)}render(){let{list:e}=this,t=this.props,{style:n,variant:r=`underline`}=t,i=T(t,Oe);return(0,l.jsx)(C.Nav,k(k({},k(k({},i),{},{variant:r})),{},{style:k({flexDirection:`column`},n),children:e.map(this.renderLink)}))}};D(W,`displayName`,`PageNav`);const Ae=[`className`,`children`];var G=@v.observer class extends u.Component{constructor(...e){super(...e),D(this,`scrollerRef`,(0,u.createRef)()),D(this,`updateScroll`,()=>{let e=this.scrollerRef.current;return e&&(this.scrollLeft=e.scrollLeft,this.scrollWidth=e.scrollWidth,this.clientWidth=e.clientWidth),e}),D(this,`resizeObserver`,void 0),D(this,`scrollBy`,e=>()=>{let t=this.scrollerRef.current;t&&t.scrollBy({left:e*t.clientWidth*.8,behavior:`smooth`})})}@_.observable accessor scrollLeft=0;@_.observable accessor scrollWidth=0;@_.observable accessor clientWidth=0;@_.computed get canScrollLeft(){return this.scrollLeft>0}@_.computed get canScrollRight(){return this.scrollLeft+this.clientWidth<this.scrollWidth}componentDidMount(){let e=this.updateScroll();e&&(e.addEventListener(`scroll`,this.updateScroll),this.resizeObserver=new ResizeObserver(this.updateScroll),this.resizeObserver.observe(e))}componentWillUnmount(){var e,t;(e=this.resizeObserver)==null||e.disconnect(),(t=this.scrollerRef.current)==null||t.removeEventListener(`scroll`,this.updateScroll)}render(){let{canScrollLeft:e,canScrollRight:t}=this,n=this.props,{className:r=``,children:i}=n,a=T(n,Ae);return(0,l.jsxs)(`div`,{className:`position-relative overflow-y-hidden ${r}`,children:[e&&(0,l.jsx)(`button`,{type:`button`,className:`position-absolute top-0 bottom-0 start-0 z-1 border-0 px-2 aEvBXq_scrollButtonLeft`,"aria-label":`Scroll left`,onClick:this.scrollBy(-1),children:(0,l.jsx)(z,{name:`caret-left-fill`})}),(0,l.jsx)(`div`,{ref:this.scrollerRef,className:`overflow-x-auto aEvBXq_scrollerInner`,children:(0,l.jsx)(C.Nav,k(k({},a),{},{className:`flex-nowrap`,children:i}))}),t&&(0,l.jsx)(`button`,{type:`button`,className:`position-absolute top-0 bottom-0 end-0 z-1 border-0 px-2 aEvBXq_scrollButtonRight`,"aria-label":`Scroll right`,onClick:this.scrollBy(1),children:(0,l.jsx)(z,{name:`caret-right-fill`})})]})}};D(G,`displayName`,`ScrollNav`);const je=[`value`,`children`],K=e=>{let{value:t,children:n}=e,r=T(e,je);return(0,l.jsx)(C.Dropdown.Item,k(k({},r),{},{"data-value":t,children:n}))};K.displayName=`Option`;const q=({className:e,style:t,variant:n,menuVariant:r,children:i,value:a,onChange:o,valueRender:s})=>{let d=(0,b.makeArray)(i).flat(1/0).find(e=>(0,u.isValidElement)(e)&&e.type===K&&e.props.value===a);return(0,l.jsxs)(C.Dropdown,{onClick:({target:e})=>{let t=e.closest(`.dropdown-item`);if(!t)return;let{value:n}=t.dataset;o==null||o(n)},children:[(0,l.jsx)(C.Dropdown.Toggle,{className:(0,c.default)(`w-100`,`d-flex`,`justify-content-between`,`align-items-center`,!n&&`bg-white text-dark`,e),style:t,variant:n,children:(s==null?void 0:s(a))||(0,l.jsx)(`div`,{className:d==null?void 0:d.props.className,children:d==null?void 0:d.props.children})}),(0,l.jsx)(C.Dropdown.Menu,{variant:r,children:i})]})};q.displayName=`Select`;const Me=[`className`,`children`];function J(e,t,n){return Y.apply(this,arguments)}function Y(){return Y=P(function*(e,t,n){let r=yield(0,w.default)(e,{useCORS:!0});return new Promise((e,i)=>r.toBlob(t=>t?e(URL.createObjectURL(t)):i(),t,n))}),Y.apply(this,arguments)}var X=@v.observer class extends u.Component{constructor(...e){var t;super(...e),t=this,D(this,`root`,(0,u.createRef)()),D(this,`generateImage`,P(function*(){t.imageURI&&(URL.revokeObjectURL(t.imageURI),t.imageURI=``),t.loading=!0,t.imageURI=yield J(t.root.current),t.loading=!1})),D(this,`share`,function(){var e=P(function*(e){var n,r;e.stopPropagation();let i=yield(0,b.blobOf)(t.imageURI),a=new File([i],`${t.props.title}.png`,{type:i.type});yield(n=(r=navigator).share)==null?void 0:n.call(r,k({files:[a]},t.props))});return function(t){return e.apply(this,arguments)}}())}@_.observable accessor loading=!1;@_.observable accessor imageURI=``;componentDidMount(){var e,t;(e=(t=globalThis).addEventListener)==null||e.call(t,`resize`,this.generateImage)}componentWillUnmount(){var e,t;(e=(t=globalThis).removeEventListener)==null||e.call(t,`resize`,this.generateImage)}render(){let e=this.props,{className:t=``,children:n}=e,r=T(e,Me),{loading:i,imageURI:a}=this;return(0,l.jsxs)(l.Fragment,{children:[i&&(0,l.jsx)(B,{}),(0,l.jsxs)(`div`,k(k({},r),{},{ref:this.root,className:`position-relative ${t}`,onMouseEnter:a?void 0:this.generateImage,onTouchStart:a?void 0:this.generateImage,children:[n,a&&(0,l.jsx)(C.Image,{className:`position-absolute start-0 top-0 w-100 h-100`,src:a,alt:`Share Image`,fluid:!0,onClick:this.share})]}))]})}};D(X,`displayName`,`ShareBox`);const Ne=[`animation`,`loading`,`disabled`,`children`],Z=e=>{let{animation:t,loading:n,disabled:r,children:i}=e,a=T(e,Ne);return(0,l.jsxs)(C.Button,k(k({},a),{},{disabled:n||r,children:[n&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(C.Spinner,{as:`span`,className:i?`me-2`:``,size:`sm`,animation:t,role:`status`,"aria-hidden":`true`}),!i&&(0,l.jsx)(`span`,{className:`visually-hidden`,children:`Loading...`})]}),i]}))};Z.displayName=`SpinnerButton`;const Pe=[`animation`,`variant`,`size`,`colSpan`],Q=e=>{let{animation:t=`border`,variant:n=`primary`,size:r,colSpan:i}=e,a=T(e,Pe);return(0,l.jsx)(`tr`,k(k({},a),{},{children:(0,l.jsx)(`td`,{className:`text-center p-4`,colSpan:i,children:(0,l.jsx)(C.Spinner,{animation:t,variant:n,size:r})})}))};Q.displayName=`TableSpinner`;const Fe=[`children`,`rows`,`expandText`,`collapseText`];var Ie=@v.observer class extends u.Component{constructor(...e){super(...e),D(this,`contentRef`,(0,u.createRef)()),D(this,`checkOverflow`,()=>{let{current:e}=this.contentRef;e&&(this.overflowed=e.scrollHeight>e.clientHeight)}),D(this,`toggle`,()=>{this.expanded=!this.expanded,this.expanded||requestAnimationFrame(this.checkOverflow)})}@_.observable accessor expanded=!1;@_.observable accessor overflowed=!1;componentDidMount(){this.checkOverflow(),window.addEventListener(`resize`,this.checkOverflow)}componentDidUpdate({rows:e,children:t}){!this.expanded&&(t!==this.props.children||e!==this.props.rows)&&this.checkOverflow()}componentWillUnmount(){window.removeEventListener(`resize`,this.checkOverflow)}render(){let e=this.props,{children:t,rows:n=3,expandText:r=`⏬`,collapseText:i=`⏫`}=e,a=T(e,Fe),{expanded:o,overflowed:s}=this,c={overflow:`hidden`,display:`-webkit-box`,WebkitBoxOrient:`vertical`,WebkitLineClamp:n};return(0,l.jsxs)(`div`,k(k({},a),{},{children:[(0,l.jsx)(`p`,{ref:this.contentRef,style:o?void 0:c,children:t}),(s||o)&&(0,l.jsx)(`button`,{type:`button`,className:`bg-transparent border-0 p-0`,"aria-expanded":o,onClick:this.toggle,children:o?i:r})]}))}};D(Ie,`displayName`,`TextTruncate`);const Le=[`dateTime`];var $=@v.observer class extends y.ObservedComponent{@((0,y.reaction)(({observedProps:{dateTime:e,format:t}})=>e+t))updateText(){let{dateTime:e,format:t}=this.props;return(0,b.formatDate)(e,t)}@_.observable accessor timeText=this.updateText();componentDidMount(){super.componentDidMount(),this.timeText=this.updateText()}render(){let e=this.props,{dateTime:t}=e,n=T(e,Le);return(0,l.jsx)(`time`,k(k({dateTime:new Date(t).toJSON()},n),{},{children:this.timeText}))}};D($,`displayName`,`Time`);const Re=[`date`,`unitWords`,`beforeWord`,`afterWord`],ze={ms:`millisecond(s)`,s:`second(s)`,m:`minute(s)`,H:`hour(s)`,D:`day(s)`,W:`week(s)`,M:`month(s)`,Y:`year(s)`},Be=e=>{let{date:t,unitWords:n=ze,beforeWord:r=` before`,afterWord:i=` after`}=e,a=T(e,Re);t=new Date(t);let{distance:o,unit:s}=(0,b.diffTime)(t);return(0,l.jsxs)(`time`,k(k({},a),{},{dateTime:t.toJSON(),title:t.toLocaleString(),children:[Math.abs(o),` `,n[s],o<0?r:i]}))};Be.displayName=`TimeDistance`;const Ve=[`className`,`events`,`timeFormat`],He=e=>{let{className:t,events:n,timeFormat:r}=e,i=T(e,Ve);return(0,l.jsx)(`ol`,k(k({className:`list-unstyled hsu__a_timeline ${t}`},i),{},{children:n.map(({title:e,summary:t,time:n,link:i,people:a})=>(0,l.jsx)(`li`,{className:`position-relative hsu__a_timelineItem hsu__a_right`,children:(0,l.jsx)(C.Card,{children:(0,l.jsxs)(C.Card.Body,{className:`p-4 d-flex flex-column gap-3 align-items-center`,children:[(0,l.jsx)(`h3`,{className:`h5 m-0`,children:(0,l.jsx)(`a`,{className:`text-decoration-none stretched-link`,href:i,children:e})}),(0,l.jsxs)(`div`,{className:`small text-muted d-flex gap-2`,children:[`⏲️`,(0,l.jsx)($,{dateTime:n[0],format:r}),n[1]&&`~`,n[1]&&(0,l.jsx)($,{dateTime:n[1],format:r})]}),(0,l.jsx)(`ul`,{className:`list-unstyled m-0 d-flex gap-2 flex-wrap justify-content-around`,children:a==null?void 0:a.map(e=>(0,l.jsx)(`li`,{children:(0,l.jsx)(U,k({},e))},e.name))}),(0,l.jsx)(`p`,{className:`m-0`,children:t})]})})},e))}))};He.displayName=`Timeline`;const Ue=[`resolve`],We=new Set([`warning`,`info`,`light`]);var Ge=class{@_.observable accessor messages=[];constructor(e=b.Timestamp){this.TimeScalar=e,D(this,`Component`,(0,v.observer)(({position:e=`top-end`})=>(0,l.jsx)(C.ToastContainer,{position:e,className:`position-fixed p-3`,children:this.messages.map(this.renderMessage)}))),D(this,`renderMessage`,({id:e,openedAt:t,title:n,body:r,variant:i,delay:a=3e3})=>{let o=i&&!We.has(i)?`text-white`:void 0,s=!!n||a===0,c=this.TimeScalar.distanceOf(Date.now(),t).toShortString();return(0,l.jsxs)(C.Toast,{bg:i,delay:a,autohide:a!==0,onClose:()=>this.close(e),children:[s&&(0,l.jsxs)(C.Toast.Header,{children:[(0,l.jsx)(`strong`,{className:`me-auto`,children:n}),(0,l.jsx)(`small`,{children:c})]}),(0,l.jsx)(C.Toast.Body,{className:o,children:r})]},e)}),this.Component.displayName=`ToastComponent`}open(e){let t=(0,b.uniqueID)(),n=Date.now(),{promise:r,resolve:i}=Promise.withResolvers();return this.messages=[...this.messages,k(k({id:t},e),{},{openedAt:n,resolve:i})],r}close(e){let t=this.messages.find(t=>t.id===e)||{},{resolve:n}=t,r=T(t,Ue);n==null||n(k(k({},r),{},{closedAt:Date.now()})),this.messages=this.messages.filter(t=>t.id!==e)}};const Ke=[`className`,`text`];var qe=@v.observer class extends u.Component{constructor(...e){var t;super(...e),t=this,D(this,`init`,e=>e&&new IntersectionObserver(function(){var e=P(function*([{isIntersecting:e}],n){if(!e)return;n.disconnect();let{text:r,intervals:i=150}=t.props;for(let e of r)yield(0,b.sleep)(i/1e3),t.echoed+=e});return function(t,n){return e.apply(this,arguments)}}()).observe(e))}@_.observable accessor echoed=``;render(){let e=this.props,{className:t,text:n}=e,r=T(e,Ke),{echoed:i}=this;return(0,l.jsx)(`pre`,k(k({},r),{},{ref:this.init,className:(0,c.default)(`text-wrap`,t),children:i+(i===n?``:`_`)}))}};D(qe,`displayName`,`TypeEcho`);const Je=({email:e,website:t})=>(0,l.jsxs)(`address`,{className:`mb-0 d-flex justify-content-around gap-2`,children:[e&&(0,l.jsx)(`a`,{rel:`noreferrer`,target:`_blank`,href:`mailto:`+e,children:(0,l.jsx)(z,{name:`envelope`})}),t&&(0,l.jsx)(`a`,{rel:`noreferrer`,target:`_blank`,href:t,children:(0,l.jsx)(z,{name:`globe2`})})]}),Ye=`X5DLia_image`,Xe=[`className`,`title`,`rank`,`linkOf`];var Ze=class extends u.PureComponent{constructor(...e){super(...e),D(this,`renderMedal`,e=>{var t,n;return(0,l.jsxs)(C.Col,{as:`li`,children:[(0,l.jsx)(`div`,{className:`shadow-lg overflow-hidden rounded-circle m-auto ${Ye}`,children:(0,l.jsx)(C.Image,{src:e.avatar,alt:e.name,loading:`lazy`,fluid:!0})}),(0,l.jsxs)(`div`,{className:`position-relative overflow-hidden X5DLia_topUser`,children:[(0,l.jsxs)(`div`,{className:`position-relative`,children:[(0,l.jsx)(`i`,{className:`d-block overflow-hidden m-auto mb-1 rounded-circle`}),(0,l.jsx)(`a`,{className:`d-block mb-0 stretched-link`,href:((t=(n=this.props).linkOf)==null?void 0:t.call(n,e))||`#`,children:e.name}),(0,l.jsx)(`strong`,{children:e.score})]}),(0,l.jsx)(Je,k({},e))]})]},e.id)}),D(this,`renderRow`,(e,t,{length:n})=>{var r,i;return(0,l.jsxs)(`tr`,{className:`position-relative`,children:[(0,l.jsx)(`td`,{className:`align-middle`,children:(0,l.jsx)(C.Badge,{className:`fw-bold fst-italic`,children:(t+4+``).padStart((n+``).length,`0`)})}),(0,l.jsxs)(`td`,{className:`position-relative mw-50 text-truncate X5DLia_name`,children:[(0,l.jsx)(`div`,{className:`d-inline-block overflow-hidden align-middle rounded-circle ${Ye}`,children:(0,l.jsx)(C.Image,{src:e.avatar,alt:e.name,loading:`lazy`,fluid:!0})}),(0,l.jsx)(`a`,{className:`ms-2 d-inline-block align-middle stretched-link`,style:{color:`rgb(248, ${(t+2)*15}, ${(t+2)*35})`},href:((r=(i=this.props).linkOf)==null?void 0:r.call(i,e))||`#`,children:e.name})]}),(0,l.jsx)(`td`,{className:`align-middle`,children:e.score}),(0,l.jsx)(`td`,{className:`align-middle`,children:(0,l.jsx)(Je,k({},e))})]},e.id)})}render(){let e=this.props,{className:t=``,title:n,rank:r=[],linkOf:i}=e,a=T(e,Xe);return(0,l.jsxs)(C.Row,k(k({className:`X5DLia_rankBox ${t}`},a),{},{children:[(0,l.jsxs)(C.Col,{sm:12,xs:12,lg:7,children:[(0,l.jsxs)(`div`,{className:`shadow rounded-3 X5DLia_title`,children:[(0,l.jsxs)(`div`,{className:`X5DLia_medal`,children:[(0,l.jsx)(`i`,{className:`d-inline-block ms-1 overflow-hidden rounded-circle`}),(0,l.jsx)(`i`,{className:`d-inline-block ms-1 overflow-hidden rounded-circle`}),(0,l.jsx)(`i`,{className:`d-inline-block ms-1 overflow-hidden rounded-circle`})]}),(0,l.jsx)(`h3`,{"data-text":n,className:`position-relative m-auto mb-0 fw-bold text-center`,children:n})]}),(0,l.jsx)(C.Row,{as:`ul`,className:`mt-2 g-0 align-items-end text-center ps-0 pt-2 list-unstyled X5DLia_topUsers`,children:r.slice(0,3).map(this.renderMedal)})]}),(0,l.jsx)(C.Col,{xs:12,sm:12,lg:5,children:(0,l.jsx)(C.Table,{className:`my-3 pt-2 X5DLia_restUsers`,responsive:!0,children:(0,l.jsx)(`tbody`,{children:r.slice(3,10).map(this.renderRow)})})})]}))}};D(Ze,`displayName`,`UserRankView`);const Qe=[`className`,`children`,`duration`],$e=e=>{let{className:t=``,children:n,duration:r}=e,i=T(e,Qe);return(0,l.jsx)(`div`,k(k({className:`overflow-hidden ${t}`},i),{},{children:(0,l.jsx)(`div`,{className:`d-inline-block mw-100 mh-100 QBd6SG_scrollWrap`,style:{"--duration":r},children:(0,l.jsx)(`div`,{className:`d-inline-block QBd6SG_scrollItem`,children:n})})}))};$e.displayName=`VerticalMarquee`;const et=[`className`,`itemClassName`,`startYear`,`endYear`,`itemOf`],tt=[`🐵`,`🐔`,`🐶`,`🐷`,`🐭`,`🐮`,`🐯`,`🐰`,`🐲`,`🐍`,`🐴`,`🐐`],nt=e=>{let t=e<0?e+1:e;return tt[(t%12+12)%12]},rt=e=>{let{className:t=``,itemClassName:n=`border rounded px-4 py-3 d-flex flex-column justify-content-center align-items-center`,startYear:r,endYear:i=new Date().getFullYear(),itemOf:a}=e,o=T(e,et);return(0,l.jsx)(`ol`,k(k({className:`list-unstyled m-0 d-flex flex-wrap justify-content-center gap-3 ${t}`},o),{},{children:Array.from({length:i-r+1},(e,t)=>{let r=i-t;if(r===0)return null;let o=nt(r),{link:s=`#`,title:c}=(a==null?void 0:a(r,o))||{};return(0,l.jsx)(`li`,{className:n,children:(0,l.jsxs)(`a`,{className:`d-inline-block p-3 text-decoration-none text-center`,href:s,children:[(0,l.jsx)(`div`,{className:`fs-1`,children:o}),c]})},r)})}))};rt.displayName=`ZodiacBar`,exports.Avatar=A,exports.ClickBoundary=ue,exports.CodeBlock=pe,exports.Countdown=he,exports.Dialog=_e,exports.DialogClose=ge,exports.Editor=F,exports.EditorHTML=L,exports.HorizontalMarquee=R,exports.HorizontalMarqueeBox=Se,exports.Icon=z,exports.LiveTSX=we,exports.Loading=B,exports.MonthCalendar=H,exports.Nameplate=U,exports.Option=K,exports.OverlayBox=V,exports.PageNav=W,exports.ScrollNav=G,exports.Select=q,exports.ShareBox=X,exports.SpinnerButton=Z,exports.TableSpinner=Q,exports.TextTruncate=Ie,exports.Time=$,exports.TimeDistance=Be,exports.Timeline=He,exports.Toast=Ge,exports.TypeEcho=qe,exports.UserRankView=Ze,exports.VariantColors=j,exports.VerticalMarquee=$e,exports.ZodiacBar=rt,exports.ZodiacSigns=tt,exports.animate=ie,exports.elementToImage=J,exports.parser=I,exports.text2color=M,exports.zodiacOf=nt;
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ import e from"classnames";import{Fragment as t,jsx as n,jsxs as r}from"react/jsx-runtime";import{Component as i,PureComponent as a,createRef as o,isValidElement as s}from"react";import c from"@shikijs/langs/javascript";import l from"@shikijs/langs/jsx";import u from"@shikijs/langs/tsx";import d from"@shikijs/langs/typescript";import f from"@shikijs/themes/github-light";import p from"react-element-to-jsx-string";import{createHighlighterCoreSync as ee}from"shiki/core";import{createJavaScriptRegexEngine as te}from"shiki/engine/javascript";import{computed as m,observable as h}from"mobx";import{observer as g}from"mobx-react";import{ObservedComponent as _,reaction as ne}from"mobx-react-helper";import{Day as v,Second as re,Timestamp as ie,blobOf as ae,changeMonth as oe,diffTime as se,formatDate as y,makeArray as ce,scrollTo as le,sleep as ue,splitArray as de,uniqueID as b}from"web-utility";import{Defer as fe}from"iterable-observer";import{createReactEditorJS as pe}from"react-editor-js";import me from"editorjs-html";import{LiveEditor as he,LiveError as ge,LivePreview as _e,LiveProvider as ve}from"react-live";import{Badge as x,Button as S,Card as ye,Col as C,Dropdown as w,Image as T,Nav as E,OverlayTrigger as be,Popover as D,Row as xe,Spinner as O,Table as k,Toast as A,ToastContainer as Se,Tooltip as Ce}from"react-bootstrap";import we from"html2canvas";function Te(e){return t=>t&&new IntersectionObserver(([{isIntersecting:t,target:n}],r)=>{if(!t)return;let i=[`animate__animated`,`animate__${e}`];n.classList.add(...i),n.addEventListener(`animationend`,()=>n.classList.remove(...i),{once:!0}),r.disconnect()}).observe(t)}function Ee(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function j(e,t){if(e==null)return{};var n,r,i=Ee(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function M(e){"@babel/helpers - typeof";return M=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},M(e)}function De(e,t){if(M(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(M(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Oe(e){var t=De(e,`string`);return M(t)==`symbol`?t:t+``}function N(e,t,n){return(t=Oe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?P(Object(n),!0).forEach(function(t){N(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}const ke=[`className`,`style`,`size`],I=t=>{let{className:r,style:i,size:a=3}=t,o=j(t,ke);return n(`img`,F({className:e(`object-fit-cover rounded-circle`,r),style:F({width:`${a}rem`,height:`${a}rem`},i)},o))};I.displayName=`Avatar`;const Ae=[`children`,`onInnerClick`,`onOuterClick`];var je=class extends a{constructor(...e){super(...e),N(this,`root`,o()),N(this,`switchClick`,e=>{var t;let{onInnerClick:n,onOuterClick:r}=this.props;(t=this.root.current)!=null&&t.contains(e.target)?n==null||n(e):r==null||r(e)})}componentDidMount(){window.addEventListener(`click`,this.switchClick,!0)}componentWillUnmount(){window.removeEventListener(`click`,this.switchClick,!0)}render(){let e=this.props,{children:t,onInnerClick:r,onOuterClick:i}=e,a=j(e,Ae);return n(`div`,F(F({ref:this.root},a),{},{children:t}))}};const Me=[`className`,`language`,`children`],Ne=ee({themes:[f],langs:[c,l,d,u],engine:te()}),Pe=e=>{let{className:r=``,language:i,children:a}=e,o=j(e,Me),c=typeof a==`string`?a:p(s(a)?a:n(t,{children:a})),l=Ne.codeToHtml(c,{lang:i,theme:`github-light`,structure:`inline`});return n(`pre`,F(F({className:`m-0 language-${i} ${r}`},o),{},{children:n(`code`,{dangerouslySetInnerHTML:{__html:l},className:`language-${i}`})}))},L=[`primary`,`secondary`,`success`,`danger`,`warning`,`info`,`dark`,`light`];function Fe(e,t=[]){let n=t[0]?L.filter(e=>!t.find(t=>t===e)):L;return n[[...e].reduce((e,t)=>e+t.charCodeAt(0),0)%n.length]}const Ie=[`className`,`itemClassName`,`units`,`endTime`,`onEnd`];var Le=@g class extends _{constructor(...e){super(...e),N(this,`timer`,0),N(this,`tick`,()=>{let{onEnd:e,endTime:t}=this.props,n=this.endTimestamp-Date.now();n>0?this.rest=n:(this.rest=0,this.stop(),e==null||e(t))})}@h accessor rest=0;get endTimestamp(){return+new Date(this.props.endTime||Date.now())}@m get timeSections(){let{units:e}=this.observedProps,{rest:t}=this;return e.reduce((n,{label:r},i)=>{let a=e.slice(i).map(({scale:e})=>e).reduce((e,t)=>e*t,1),o=~~(t/a);return t-=o*a,n.push({value:o,label:r}),n},[])}stop(){this.timer&&(window.clearInterval(this.timer),this.timer=0)}componentDidMount(){super.componentDidMount(),this.initTimer()}@ne(e=>e.observedProps.endTime)initTimer(){this.stop(),this.tick(),this.timer=window.setInterval(this.tick,re)}componentWillUnmount(){super.componentWillUnmount(),this.stop()}render(){let e=this.props,{className:t=``,itemClassName:i=`border rounded px-4 py-3 d-flex flex-column justify-content-center align-items-center`,units:a,endTime:o,onEnd:s}=e,c=j(e,Ie),{timeSections:l}=this;return n(`ol`,F(F({className:`list-unstyled m-0 ${t}`},c),{},{children:l.map(({value:e,label:t})=>r(`li`,{className:i,children:[n(`strong`,{children:(e+``).padStart(2,`0`)}),n(`span`,{children:t})]},t))}))}};N(Le,`displayName`,`Countdown`);var Re=class extends Error{constructor(e=`Dialog closed`){super(e)}},ze=class{@h accessor input={};@h accessor defer;constructor(e){N(this,`Component`,void 0),this.Component=g(t=>n(e,F(F(F({},t),this.input),{},{defer:this.defer}))),this.Component.displayName=`DialogComponent`}open(e){return e&&(this.input=e),this.defer=new fe,this.defer.promise.finally(()=>this.defer=void 0),this.defer.promise}};function Be(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,i)}function R(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){Be(a,r,i,o,s,`next`,e)}function s(e){Be(a,r,i,o,s,`throw`,e)}o(void 0)})}}const Ve=[`name`,`required`,`children`],He=pe();var z=@g class extends i{constructor(...e){var t;super(...e),t=this,N(this,`core`,void 0),N(this,`save`,R(function*(){return t.core&&(t.innerValue=yield t.core.save())}))}@h accessor innerValue=this.props.defaultValue;render(){let e=this.props,{name:t,required:i,children:a}=e,o=j(e,Ve),{innerValue:s}=this;return r(`div`,{className:`form-control`,tabIndex:-1,onBlur:this.save,children:[n(`input`,{hidden:!0,name:t,required:i,value:JSON.stringify(s)}),n(He,F(F({},o),{},{onInitialize:e=>{var t;this.core=e,(t=o.onInitialize)==null||t.call(o,e)}}))]})}};N(z,`displayName`,`Editor`);const Ue=[`data`],B=me({link:({data:{link:e}})=>`<a href="${e}">${e}</a>`}),V=e=>{let{data:t}=e,r=j(e,Ue);return n(`article`,F(F({},r),{},{dangerouslySetInnerHTML:{__html:B.parse(t)}}))};V.displayName=`EditorHTML`;const We=[`className`,`children`,`maxWidth`,`duration`,`height`],H=e=>{let{className:t=``,children:r,maxWidth:i=`100%`,duration:a,height:o}=e,s=j(e,We);return n(`div`,F(F({className:`overflow-hidden mw-100 ${t}`},s),{},{children:n(`div`,{className:`d-inline-block align-top text-nowrap lRDfma_scrollWrap`,style:{maxWidth:i,animationDuration:a,height:o,lineHeight:o},children:n(`div`,{className:`d-inline-block lRDfma_scrollItem`,style:{animationDuration:a},children:r})})}))},Ge=({children:e,maxWidth:t,duration:i,height:a})=>a?n(`div`,{className:`overflow-hidden lRDfma_scrollHeightWrap`,style:{maxWidth:t,"--scroll-height":a},children:r(`div`,{className:`d-inline-block overflow-hidden mw-100 lRDfma_scrollContainer`,children:[n(`div`,{className:`d-block overflow-hidden text-wrap text-break lRDfma_unScrollItem`,children:e}),n(H,{duration:i,children:e})]})}):n(H,{maxWidth:t,duration:i,height:a,children:e});H.displayName=`HorizontalMarquee`;const Ke=[`className`,`style`,`name`,`size`],U=t=>{let{className:r,style:i,name:a,size:o}=t,s=j(t,Ke);return n(`span`,F({className:e(`bi-${a}`,r),style:F({fontSize:o&&`${o}rem`},i)},s))};U.displayName=`Icon`;const qe=({scope:e,children:i})=>{let a=s(i)?i:n(t,{children:i}),o=typeof i==`string`?i:p(a);return r(ve,{code:o,scope:e,language:`tsx`,children:[n(_e,{className:`mb-3`}),n(he,{}),n(ge,{className:`text-danger small p-2`})]})},Je=[`className`,`children`],W=e=>{let{className:t=``,children:i=`Loading...`}=e,a=j(e,Je);return r(`div`,F(F({className:`fixed-top h-100 w-100 d-flex justify-content-center align-items-center opacity-25 bg-black ${t}`},a),{},{children:[n(O,{animation:`border`,variant:`success`}),n(`span`,{className:`ml-3 text-white`,children:i})]}))};W.displayName=`Loading`;const Ye=[`title`,`detail`,`children`],G=e=>{let{title:t,detail:i,children:a}=e,o=j(e,Ye);return n(be,F(F({},o),{},{overlay:i?r(D,{children:[n(D.Header,{children:t}),n(D.Body,{children:i})]}):n(Ce,{children:t}),children:a}))};G.displayName=`OverlayBox`;const Xe=[`style`,`variant`,`onChange`,`onSelect`];var K=@g class extends _{constructor(...t){super(...t),N(this,`renderDate`,t=>{let{variant:i=`primary`,value:a,onSelect:o}=this.observedProps,s=y(t,`YYYY-MM-DD`),c=a==null?void 0:a.filter(({date:e})=>y(e,`YYYY-MM-DD`)===s);return r(`td`,{className:e({"opacity-50":t.getMonth()!==this.currentDate.getMonth(),"fw-bold":s===y(new Date,`YYYY-MM-DD`)}),children:[n(`time`,{className:`d-block`,dateTime:t.toJSON(),children:t.getDate()}),c==null?void 0:c.map(e=>typeof e.content==`object`?e.content:n(G,{title:e.content,children:n(x,{as:`a`,className:`d-inline-block text-decoration-none w-100 text-truncate`,bg:Fe(e.content+``,[`light`]),href:e.link,onClick:()=>o==null?void 0:o(e),children:e.content})},e.date+``))]},t+``)})}@m get weekFormatter(){var e;let{locale:t=(e=globalThis.navigator)==null?void 0:e.language}=this.observedProps;return new Intl.DateTimeFormat(t,{weekday:`long`})}@h accessor currentDate=new Date;@m get dateGrid(){let e=new Date(this.currentDate);e.setDate(1),e=new Date(+e-e.getDay()*v);let t=Array.from(Array(42),(t,n)=>new Date(+e+n*v));return de(t,7)}changeMonth(e){var t,n;this.currentDate=oe(this.currentDate,e),(t=(n=this.props).onChange)==null||t.call(n,this.currentDate)}render(){let{weekFormatter:e,currentDate:t,dateGrid:i}=this,a=this.observedProps,{style:o,variant:s=`primary`,onChange:c,onSelect:l}=a,u=j(a,Xe);return r(k,F(F({},u),{},{style:F({tableLayout:`fixed`},o),children:[n(`caption`,{children:r(`div`,{className:`d-flex justify-content-between align-items-center`,children:[n(S,{variant:s,onClick:()=>this.changeMonth(-1),children:`<`}),y(t,`YYYY-MM`),n(S,{variant:s,onClick:()=>this.changeMonth(1),children:`>`})]})}),n(`thead`,{children:n(`tr`,{children:i[0].map((t,r,{length:i})=>n(`td`,{className:`bg-${s} text-white`,style:{width:`calc(100% / ${i})`},children:e.format(t)},r))})}),n(`tbody`,{children:i.map(e=>n(`tr`,{children:e.map(this.renderDate)},e[0]+``))})]}))}};N(K,`displayName`,`MonthCalendar`);const q=({avatar:e,name:i})=>r(t,{children:[n(I,{size:2,style:{marginRight:`0.5rem`},src:e}),n(`span`,{className:`align-middle`,children:i})]});q.displayName=`Nameplate`;const Ze=[`style`,`variant`],Qe=Array.from([,,,,,,],(e,t)=>`h${++t}`)+``;var J=@g class extends i{constructor(...e){super(...e),N(this,`updateScrollY`,()=>this.scrollY=window.scrollY),N(this,`scrollTo`,e=>()=>{var t,n;setTimeout(()=>le(`[id="${e.id}"]`)),(t=(n=this.props).onItemClick)==null||t.call(n,e)}),N(this,`renderLink`,({id:e,level:t,text:r,top:i})=>{let{currentActiveId:a}=this,{depth:o=1/0}=this.props;return t<=o&&n(E.Item,{style:{textIndent:`${t-1}rem`},children:n(E.Link,{href:`#${e}`,active:a===e,onClick:this.scrollTo({id:e,level:t,text:r,top:i}),children:r})},e)})}@h accessor list=[];@h accessor scrollY=0;@m get currentActiveId(){var e;let{list:t,scrollY:n}=this;return(e=t[t.findIndex(({top:e})=>e>n)-1])==null?void 0:e.id}componentDidMount(){globalThis.document&&(window.addEventListener(`scroll`,this.updateScrollY),this.list=Array.from(document.querySelectorAll(Qe),e=>{e.id||(e.id=b());let{id:t,tagName:n,textContent:r,offsetTop:i}=e;return{id:t,level:+n[1],text:r.trim(),top:i}}))}componentWillUnmount(){var e,t;(e=(t=globalThis).removeEventListener)==null||e.call(t,`scroll`,this.updateScrollY)}render(){let{list:e}=this,t=this.props,{style:r,variant:i=`underline`}=t,a=j(t,Ze);return n(E,F(F({},F(F({},a),{},{variant:i})),{},{style:F({flexDirection:`column`},r),children:e.map(this.renderLink)}))}};N(J,`displayName`,`PageNav`);const $e=[`className`,`children`];var Y=@g class extends i{constructor(...e){super(...e),N(this,`scrollerRef`,o()),N(this,`updateScroll`,()=>{let e=this.scrollerRef.current;return e&&(this.scrollLeft=e.scrollLeft,this.scrollWidth=e.scrollWidth,this.clientWidth=e.clientWidth),e}),N(this,`resizeObserver`,void 0),N(this,`scrollBy`,e=>()=>{let t=this.scrollerRef.current;t&&t.scrollBy({left:e*t.clientWidth*.8,behavior:`smooth`})})}@h accessor scrollLeft=0;@h accessor scrollWidth=0;@h accessor clientWidth=0;@m get canScrollLeft(){return this.scrollLeft>0}@m get canScrollRight(){return this.scrollLeft+this.clientWidth<this.scrollWidth}componentDidMount(){let e=this.updateScroll();e&&(e.addEventListener(`scroll`,this.updateScroll),this.resizeObserver=new ResizeObserver(this.updateScroll),this.resizeObserver.observe(e))}componentWillUnmount(){var e,t;(e=this.resizeObserver)==null||e.disconnect(),(t=this.scrollerRef.current)==null||t.removeEventListener(`scroll`,this.updateScroll)}render(){let{canScrollLeft:e,canScrollRight:t}=this,i=this.props,{className:a=``,children:o}=i,s=j(i,$e);return r(`div`,{className:`position-relative overflow-y-hidden ${a}`,children:[e&&n(`button`,{type:`button`,className:`position-absolute top-0 bottom-0 start-0 z-1 border-0 px-2 aEvBXq_scrollButtonLeft`,"aria-label":`Scroll left`,onClick:this.scrollBy(-1),children:n(U,{name:`caret-left-fill`})}),n(`div`,{ref:this.scrollerRef,className:`overflow-x-auto aEvBXq_scrollerInner`,children:n(E,F(F({},s),{},{className:`flex-nowrap`,children:o}))}),t&&n(`button`,{type:`button`,className:`position-absolute top-0 bottom-0 end-0 z-1 border-0 px-2 aEvBXq_scrollButtonRight`,"aria-label":`Scroll right`,onClick:this.scrollBy(1),children:n(U,{name:`caret-right-fill`})})]})}};N(Y,`displayName`,`ScrollNav`);const et=[`value`,`children`],X=e=>{let{value:t,children:r}=e,i=j(e,et);return n(w.Item,F(F({},i),{},{"data-value":t,children:r}))};X.displayName=`Option`;const tt=({className:t,style:i,variant:a,menuVariant:o,children:c,value:l,onChange:u,valueRender:d})=>{let f=ce(c).flat(1/0).find(e=>s(e)&&e.type===X&&e.props.value===l);return r(w,{onClick:({target:e})=>{let t=e.closest(`.dropdown-item`);if(!t)return;let{value:n}=t.dataset;u==null||u(n)},children:[n(w.Toggle,{className:e(`w-100`,`d-flex`,`justify-content-between`,`align-items-center`,!a&&`bg-white text-dark`,t),style:i,variant:a,children:(d==null?void 0:d(l))||n(`div`,{className:f==null?void 0:f.props.className,children:f==null?void 0:f.props.children})}),n(w.Menu,{variant:o,children:c})]})};tt.displayName=`Select`;const nt=[`className`,`children`];function rt(e,t,n){return Z.apply(this,arguments)}function Z(){return Z=R(function*(e,t,n){let r=yield we(e,{useCORS:!0});return new Promise((e,i)=>r.toBlob(t=>t?e(URL.createObjectURL(t)):i(),t,n))}),Z.apply(this,arguments)}var it=@g class extends i{constructor(...e){var t;super(...e),t=this,N(this,`root`,o()),N(this,`generateImage`,R(function*(){t.imageURI&&(URL.revokeObjectURL(t.imageURI),t.imageURI=``),t.loading=!0,t.imageURI=yield rt(t.root.current),t.loading=!1})),N(this,`share`,function(){var e=R(function*(e){var n,r;e.stopPropagation();let i=yield ae(t.imageURI),a=new File([i],`${t.props.title}.png`,{type:i.type});yield(n=(r=navigator).share)==null?void 0:n.call(r,F({files:[a]},t.props))});return function(t){return e.apply(this,arguments)}}())}@h accessor loading=!1;@h accessor imageURI=``;componentDidMount(){var e,t;(e=(t=globalThis).addEventListener)==null||e.call(t,`resize`,this.generateImage)}componentWillUnmount(){var e,t;(e=(t=globalThis).removeEventListener)==null||e.call(t,`resize`,this.generateImage)}render(){let e=this.props,{className:i=``,children:a}=e,o=j(e,nt),{loading:s,imageURI:c}=this;return r(t,{children:[s&&n(W,{}),r(`div`,F(F({},o),{},{ref:this.root,className:`position-relative ${i}`,onMouseEnter:c?void 0:this.generateImage,onTouchStart:c?void 0:this.generateImage,children:[a,c&&n(T,{className:`position-absolute start-0 top-0 w-100 h-100`,src:c,alt:`Share Image`,fluid:!0,onClick:this.share})]}))]})}};N(it,`displayName`,`ShareBox`);const at=[`animation`,`loading`,`disabled`,`children`],ot=e=>{let{animation:i,loading:a,disabled:o,children:s}=e,c=j(e,at);return r(S,F(F({},c),{},{disabled:a||o,children:[a&&r(t,{children:[n(O,{as:`span`,className:s?`me-2`:``,size:`sm`,animation:i,role:`status`,"aria-hidden":`true`}),!s&&n(`span`,{className:`visually-hidden`,children:`Loading...`})]}),s]}))};ot.displayName=`SpinnerButton`;const st=[`animation`,`variant`,`size`,`colSpan`],ct=e=>{let{animation:t=`border`,variant:r=`primary`,size:i,colSpan:a}=e,o=j(e,st);return n(`tr`,F(F({},o),{},{children:n(`td`,{className:`text-center p-4`,colSpan:a,children:n(O,{animation:t,variant:r,size:i})})}))};ct.displayName=`TableSpinner`;const lt=[`children`,`rows`,`expandText`,`collapseText`];var ut=@g class extends i{constructor(...e){super(...e),N(this,`contentRef`,o()),N(this,`checkOverflow`,()=>{let{current:e}=this.contentRef;e&&(this.overflowed=e.scrollHeight>e.clientHeight)}),N(this,`toggle`,()=>{this.expanded=!this.expanded,this.expanded||requestAnimationFrame(this.checkOverflow)})}@h accessor expanded=!1;@h accessor overflowed=!1;componentDidMount(){this.checkOverflow(),window.addEventListener(`resize`,this.checkOverflow)}componentDidUpdate({rows:e,children:t}){!this.expanded&&(t!==this.props.children||e!==this.props.rows)&&this.checkOverflow()}componentWillUnmount(){window.removeEventListener(`resize`,this.checkOverflow)}render(){let e=this.props,{children:t,rows:i=3,expandText:a=`⏬`,collapseText:o=`⏫`}=e,s=j(e,lt),{expanded:c,overflowed:l}=this,u={overflow:`hidden`,display:`-webkit-box`,WebkitBoxOrient:`vertical`,WebkitLineClamp:i};return r(`div`,F(F({},s),{},{children:[n(`p`,{ref:this.contentRef,style:c?void 0:u,children:t}),(l||c)&&n(`button`,{type:`button`,className:`bg-transparent border-0 p-0`,"aria-expanded":c,onClick:this.toggle,children:c?o:a})]}))}};N(ut,`displayName`,`TextTruncate`);const dt=[`dateTime`];var Q=@g class extends _{@ne(({observedProps:{dateTime:e,format:t}})=>e+t)updateText(){let{dateTime:e,format:t}=this.props;return y(e,t)}@h accessor timeText=this.updateText();componentDidMount(){super.componentDidMount(),this.timeText=this.updateText()}render(){let e=this.props,{dateTime:t}=e,r=j(e,dt);return n(`time`,F(F({dateTime:new Date(t).toJSON()},r),{},{children:this.timeText}))}};N(Q,`displayName`,`Time`);const ft=[`date`,`unitWords`,`beforeWord`,`afterWord`],pt={ms:`millisecond(s)`,s:`second(s)`,m:`minute(s)`,H:`hour(s)`,D:`day(s)`,W:`week(s)`,M:`month(s)`,Y:`year(s)`},mt=e=>{let{date:t,unitWords:n=pt,beforeWord:i=` before`,afterWord:a=` after`}=e,o=j(e,ft);t=new Date(t);let{distance:s,unit:c}=se(t);return r(`time`,F(F({},o),{},{dateTime:t.toJSON(),title:t.toLocaleString(),children:[Math.abs(s),` `,n[c],s<0?i:a]}))};mt.displayName=`TimeDistance`;const ht=[`className`,`events`,`timeFormat`],gt=e=>{let{className:t,events:i,timeFormat:a}=e,o=j(e,ht);return n(`ol`,F(F({className:`list-unstyled hsu__a_timeline ${t}`},o),{},{children:i.map(({title:e,summary:t,time:i,link:o,people:s})=>n(`li`,{className:`position-relative hsu__a_timelineItem hsu__a_right`,children:n(ye,{children:r(ye.Body,{className:`p-4 d-flex flex-column gap-3 align-items-center`,children:[n(`h3`,{className:`h5 m-0`,children:n(`a`,{className:`text-decoration-none stretched-link`,href:o,children:e})}),r(`div`,{className:`small text-muted d-flex gap-2`,children:[`⏲️`,n(Q,{dateTime:i[0],format:a}),i[1]&&`~`,i[1]&&n(Q,{dateTime:i[1],format:a})]}),n(`ul`,{className:`list-unstyled m-0 d-flex gap-2 flex-wrap justify-content-around`,children:s==null?void 0:s.map(e=>n(`li`,{children:n(q,F({},e))},e.name))}),n(`p`,{className:`m-0`,children:t})]})})},e))}))};gt.displayName=`Timeline`;const _t=[`resolve`],vt=new Set([`warning`,`info`,`light`]);var yt=class{@h accessor messages=[];constructor(e=ie){this.TimeScalar=e,N(this,`Component`,g(({position:e=`top-end`})=>n(Se,{position:e,className:`position-fixed p-3`,children:this.messages.map(this.renderMessage)}))),N(this,`renderMessage`,({id:e,openedAt:t,title:i,body:a,variant:o,delay:s=3e3})=>{let c=o&&!vt.has(o)?`text-white`:void 0,l=!!i||s===0,u=this.TimeScalar.distanceOf(Date.now(),t).toShortString();return r(A,{bg:o,delay:s,autohide:s!==0,onClose:()=>this.close(e),children:[l&&r(A.Header,{children:[n(`strong`,{className:`me-auto`,children:i}),n(`small`,{children:u})]}),n(A.Body,{className:c,children:a})]},e)}),this.Component.displayName=`ToastComponent`}open(e){let t=b(),n=Date.now(),{promise:r,resolve:i}=Promise.withResolvers();return this.messages=[...this.messages,F(F({id:t},e),{},{openedAt:n,resolve:i})],r}close(e){let t=this.messages.find(t=>t.id===e)||{},{resolve:n}=t,r=j(t,_t);n==null||n(F(F({},r),{},{closedAt:Date.now()})),this.messages=this.messages.filter(t=>t.id!==e)}};const bt=[`className`,`text`];var xt=@g class extends i{constructor(...e){var t;super(...e),t=this,N(this,`init`,e=>e&&new IntersectionObserver(function(){var e=R(function*([{isIntersecting:e}],n){if(!e)return;n.disconnect();let{text:r,intervals:i=150}=t.props;for(let e of r)yield ue(i/1e3),t.echoed+=e});return function(t,n){return e.apply(this,arguments)}}()).observe(e))}@h accessor echoed=``;render(){let t=this.props,{className:r,text:i}=t,a=j(t,bt),{echoed:o}=this;return n(`pre`,F(F({},a),{},{ref:this.init,className:e(`text-wrap`,r),children:o+(o===i?``:`_`)}))}};N(xt,`displayName`,`TypeEcho`);const St=({email:e,website:t})=>r(`address`,{className:`mb-0 d-flex justify-content-around gap-2`,children:[e&&n(`a`,{rel:`noreferrer`,target:`_blank`,href:`mailto:`+e,children:n(U,{name:`envelope`})}),t&&n(`a`,{rel:`noreferrer`,target:`_blank`,href:t,children:n(U,{name:`globe2`})})]}),Ct=`X5DLia_image`,wt=[`className`,`title`,`rank`,`linkOf`];var $=class extends a{constructor(...e){super(...e),N(this,`renderMedal`,e=>{var t,i;return r(C,{as:`li`,children:[n(`div`,{className:`shadow-lg overflow-hidden rounded-circle m-auto ${Ct}`,children:n(T,{src:e.avatar,alt:e.name,loading:`lazy`,fluid:!0})}),r(`div`,{className:`position-relative overflow-hidden X5DLia_topUser`,children:[r(`div`,{className:`position-relative`,children:[n(`i`,{className:`d-block overflow-hidden m-auto mb-1 rounded-circle`}),n(`a`,{className:`d-block mb-0 stretched-link`,href:((t=(i=this.props).linkOf)==null?void 0:t.call(i,e))||`#`,children:e.name}),n(`strong`,{children:e.score})]}),n(St,F({},e))]})]},e.id)}),N(this,`renderRow`,(e,t,{length:i})=>{var a,o;return r(`tr`,{className:`position-relative`,children:[n(`td`,{className:`align-middle`,children:n(x,{className:`fw-bold fst-italic`,children:(t+4+``).padStart((i+``).length,`0`)})}),r(`td`,{className:`position-relative mw-50 text-truncate X5DLia_name`,children:[n(`div`,{className:`d-inline-block overflow-hidden align-middle rounded-circle ${Ct}`,children:n(T,{src:e.avatar,alt:e.name,loading:`lazy`,fluid:!0})}),n(`a`,{className:`ms-2 d-inline-block align-middle stretched-link`,style:{color:`rgb(248, ${(t+2)*15}, ${(t+2)*35})`},href:((a=(o=this.props).linkOf)==null?void 0:a.call(o,e))||`#`,children:e.name})]}),n(`td`,{className:`align-middle`,children:e.score}),n(`td`,{className:`align-middle`,children:n(St,F({},e))})]},e.id)})}render(){let e=this.props,{className:t=``,title:i,rank:a=[],linkOf:o}=e,s=j(e,wt);return r(xe,F(F({className:`X5DLia_rankBox ${t}`},s),{},{children:[r(C,{sm:12,xs:12,lg:7,children:[r(`div`,{className:`shadow rounded-3 X5DLia_title`,children:[r(`div`,{className:`X5DLia_medal`,children:[n(`i`,{className:`d-inline-block ms-1 overflow-hidden rounded-circle`}),n(`i`,{className:`d-inline-block ms-1 overflow-hidden rounded-circle`}),n(`i`,{className:`d-inline-block ms-1 overflow-hidden rounded-circle`})]}),n(`h3`,{"data-text":i,className:`position-relative m-auto mb-0 fw-bold text-center`,children:i})]}),n(xe,{as:`ul`,className:`mt-2 g-0 align-items-end text-center ps-0 pt-2 list-unstyled X5DLia_topUsers`,children:a.slice(0,3).map(this.renderMedal)})]}),n(C,{xs:12,sm:12,lg:5,children:n(k,{className:`my-3 pt-2 X5DLia_restUsers`,responsive:!0,children:n(`tbody`,{children:a.slice(3,10).map(this.renderRow)})})})]}))}};N($,`displayName`,`UserRankView`);const Tt=[`className`,`children`,`duration`],Et=e=>{let{className:t=``,children:r,duration:i}=e,a=j(e,Tt);return n(`div`,F(F({className:`overflow-hidden ${t}`},a),{},{children:n(`div`,{className:`d-inline-block mw-100 mh-100 QBd6SG_scrollWrap`,style:{"--duration":i},children:n(`div`,{className:`d-inline-block QBd6SG_scrollItem`,children:r})})}))};Et.displayName=`VerticalMarquee`;const Dt=[`className`,`itemClassName`,`startYear`,`endYear`,`itemOf`],Ot=[`🐵`,`🐔`,`🐶`,`🐷`,`🐭`,`🐮`,`🐯`,`🐰`,`🐲`,`🐍`,`🐴`,`🐐`],kt=e=>{let t=e<0?e+1:e;return Ot[(t%12+12)%12]},At=e=>{let{className:t=``,itemClassName:i=`border rounded px-4 py-3 d-flex flex-column justify-content-center align-items-center`,startYear:a,endYear:o=new Date().getFullYear(),itemOf:s}=e,c=j(e,Dt);return n(`ol`,F(F({className:`list-unstyled m-0 d-flex flex-wrap justify-content-center gap-3 ${t}`},c),{},{children:Array.from({length:o-a+1},(e,t)=>{let a=o-t;if(a===0)return null;let c=kt(a),{link:l=`#`,title:u}=(s==null?void 0:s(a,c))||{};return n(`li`,{className:i,children:r(`a`,{className:`d-inline-block p-3 text-decoration-none text-center`,href:l,children:[n(`div`,{className:`fs-1`,children:c}),u]})},a)})}))};At.displayName=`ZodiacBar`;export{I as Avatar,je as ClickBoundary,Pe as CodeBlock,Le as Countdown,ze as Dialog,Re as DialogClose,z as Editor,V as EditorHTML,H as HorizontalMarquee,Ge as HorizontalMarqueeBox,U as Icon,qe as LiveTSX,W as Loading,K as MonthCalendar,q as Nameplate,X as Option,G as OverlayBox,J as PageNav,Y as ScrollNav,tt as Select,it as ShareBox,ot as SpinnerButton,ct as TableSpinner,ut as TextTruncate,Q as Time,mt as TimeDistance,gt as Timeline,yt as Toast,xt as TypeEcho,$ as UserRankView,L as VariantColors,Et as VerticalMarquee,At as ZodiacBar,Ot as ZodiacSigns,Te as animate,rt as elementToImage,B as parser,Fe as text2color,kt as zodiacOf};