diff --git a/inst/editor/build/assets/index-4ee1b982.js b/inst/editor/build/assets/index-1628161f.js similarity index 73% rename from inst/editor/build/assets/index-4ee1b982.js rename to inst/editor/build/assets/index-1628161f.js index f15aaaa5c..3c7d5d384 100644 --- a/inst/editor/build/assets/index-4ee1b982.js +++ b/inst/editor/build/assets/index-1628161f.js @@ -1,4 +1,4 @@ -var a_=Object.defineProperty,s_=Object.defineProperties;var u_=Object.getOwnPropertyDescriptors;var ps=Object.getOwnPropertySymbols;var Kg=Object.prototype.hasOwnProperty,qg=Object.prototype.propertyIsEnumerable;var Xg=Math.pow,Ff=(e,t,n)=>t in e?a_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P=(e,t)=>{for(var n in t||(t={}))Kg.call(t,n)&&Ff(e,n,t[n]);if(ps)for(var n of ps(t))qg.call(t,n)&&Ff(e,n,t[n]);return e},W=(e,t)=>s_(e,u_(t));var ye=(e,t)=>{var n={};for(var r in e)Kg.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ps)for(var r of ps(e))t.indexOf(r)<0&&qg.call(e,r)&&(n[r]=e[r]);return n};var c_=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var hs=(e,t,n)=>(Ff(e,typeof t!="symbol"?t+"":t,n),n);var It=(e,t,n)=>new Promise((r,i)=>{var o=s=>{try{a(n.next(s))}catch(u){i(u)}},l=s=>{try{a(n.throw(s))}catch(u){i(u)}},a=s=>s.done?r(s.value):Promise.resolve(s.value).then(o,l);a((n=n.apply(e,t)).next())});var RW=c_(ml=>{function f_(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();const iw=d_;function d_(){const e={};return{subscribe:(t,n)=>(e[t]===void 0&&(e[t]=new Set),e[t].add(n),{unsubscribe:()=>{e[t].delete(n)}}),dispatch:(t,n)=>{var r;(r=e[t])==null||r.forEach(i=>i(n))}}}function p_(e){return It(this,null,function*(){return new Promise(t=>{fetch("/testing-tree").then(n=>n.json()).then(n=>{t(n)}).catch(n=>{console.error("/testing-tree error",n),t(e)})})})}function ow({messageDispatch:e,showMessages:t,defaultTree:n}){const r=t?console.log:(...o)=>{};return{sendMsg:o=>{switch(r("Static sendMsg()",o),o.path){case"READY-FOR-STATE":{p_(n).then(l=>{l==="TEMPLATE_CHOOSER"?e.dispatch("TEMPLATE_CHOOSER","USER-CHOICE"):e.dispatch("APP-INFO",{ui_tree:l,app_type:"SINGLE-FILE",app:{code:h_,libraries:["shiny"]}})});return}case"UPDATED-APP":{o.payload.info&&e.dispatch("APP-INFO",o.payload.info);return}case"APP-PREVIEW-REQUEST":return}},incomingMsgs:e,mode:"STATIC"}}const h_=` +var a_=Object.defineProperty,s_=Object.defineProperties;var u_=Object.getOwnPropertyDescriptors;var hs=Object.getOwnPropertySymbols;var Zg=Object.prototype.hasOwnProperty,ey=Object.prototype.propertyIsEnumerable;var ty=Math.pow,Ff=(e,t,n)=>t in e?a_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P=(e,t)=>{for(var n in t||(t={}))Zg.call(t,n)&&Ff(e,n,t[n]);if(hs)for(var n of hs(t))ey.call(t,n)&&Ff(e,n,t[n]);return e},W=(e,t)=>s_(e,u_(t));var ye=(e,t)=>{var n={};for(var r in e)Zg.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&hs)for(var r of hs(e))t.indexOf(r)<0&&ey.call(e,r)&&(n[r]=e[r]);return n};var c_=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ms=(e,t,n)=>(Ff(e,typeof t!="symbol"?t+"":t,n),n);var It=(e,t,n)=>new Promise((r,i)=>{var o=s=>{try{a(n.next(s))}catch(u){i(u)}},l=s=>{try{a(n.throw(s))}catch(u){i(u)}},a=s=>s.done?r(s.value):Promise.resolve(s.value).then(o,l);a((n=n.apply(e,t)).next())});var DW=c_(ml=>{function f_(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();const aw=d_;function d_(){const e={};return{subscribe:(t,n)=>(e[t]===void 0&&(e[t]=new Set),e[t].add(n),{unsubscribe:()=>{e[t].delete(n)}}),dispatch:(t,n)=>{var r;(r=e[t])==null||r.forEach(i=>i(n))}}}function p_(e){return It(this,null,function*(){return new Promise(t=>{fetch("/testing-tree").then(n=>n.json()).then(n=>{t(n)}).catch(n=>{console.error("/testing-tree error",n),t(e)})})})}function sw({messageDispatch:e,showMessages:t,defaultTree:n}){const r=t?console.log:(...o)=>{};return{sendMsg:o=>{switch(r("Static sendMsg()",o),o.path){case"READY-FOR-STATE":{p_(n).then(l=>{l==="TEMPLATE_CHOOSER"?e.dispatch("TEMPLATE_CHOOSER","USER-CHOICE"):e.dispatch("APP-INFO",{ui_tree:l,app_type:"SINGLE-FILE",app:{code:h_,libraries:["shiny"]}})});return}case"UPDATED-APP":{o.payload.info&&e.dispatch("APP-INFO",o.payload.info);return}case"APP-PREVIEW-REQUEST":return}},incomingMsgs:e,mode:"STATIC"}}const h_=` ui <- @@ -8,7 +8,7 @@ server <- function(input, output) { } shinyApp(ui, server) -`;function m_({onClose:e,messageDispatch:t,pathToWebsocket:n=window.location.host+window.location.pathname}){let r=!1;return new Promise(i=>{try{if(!document.location.host)throw new Error("Not on a served site!");const o=new WebSocket(g_(n)),l={sendMsg:a=>{y_(o,a)},incomingMsgs:t,mode:"HTTPUV"};o.onerror=a=>{i("NO-WS-CONNECTION")},o.onopen=a=>{v_(o,s=>{const{path:u,payload:c}=s;t.dispatch(u,c)}),i(l),r=!0},o.onclose=a=>{r?e():i("NO-WS-CONNECTION")}}catch(o){i("NO-WS-CONNECTION")}})}function g_(e){return(window.location.protocol==="https:"?"wss:":"ws:")+"//"+e}function y_(e,t){const n=new Blob([JSON.stringify(t)],{type:"application/json"});e.send(n)}function v_(e,t){e.addEventListener("message",n=>{t(w_(n))})}function w_(e){return JSON.parse(e.data)}var b_=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Hh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function lw(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var o=Function.bind.apply(t,i);return new o}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var ha={},E_={get exports(){return ha},set exports(e){ha=e}},hc={},O={},S_={get exports(){return O},set exports(e){O=e}},he={};/** +`;function m_({onClose:e,messageDispatch:t,pathToWebsocket:n=window.location.host+window.location.pathname}){let r=!1;return new Promise(i=>{try{if(!document.location.host)throw new Error("Not on a served site!");const o=new WebSocket(g_(n)),l={sendMsg:a=>{y_(o,a)},incomingMsgs:t,mode:"HTTPUV"};o.onerror=a=>{i("NO-WS-CONNECTION")},o.onopen=a=>{v_(o,s=>{const{path:u,payload:c}=s;t.dispatch(u,c)}),i(l),r=!0},o.onclose=a=>{r?e():i("NO-WS-CONNECTION")}}catch(o){i("NO-WS-CONNECTION")}})}function g_(e){return(window.location.protocol==="https:"?"wss:":"ws:")+"//"+e}function y_(e,t){const n=new Blob([JSON.stringify(t)],{type:"application/json"});e.send(n)}function v_(e,t){e.addEventListener("message",n=>{t(w_(n))})}function w_(e){return JSON.parse(e.data)}var b_=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Hh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function uw(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var o=Function.bind.apply(t,i);return new o}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var ha={},E_={get exports(){return ha},set exports(e){ha=e}},mc={},O={},S_={get exports(){return O},set exports(e){O=e}},he={};/** * @license React * react.production.min.js * @@ -16,7 +16,7 @@ shinyApp(ui, server) * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Ya=Symbol.for("react.element"),A_=Symbol.for("react.portal"),x_=Symbol.for("react.fragment"),C_=Symbol.for("react.strict_mode"),__=Symbol.for("react.profiler"),k_=Symbol.for("react.provider"),T_=Symbol.for("react.context"),I_=Symbol.for("react.forward_ref"),O_=Symbol.for("react.suspense"),P_=Symbol.for("react.memo"),N_=Symbol.for("react.lazy"),Zg=Symbol.iterator;function R_(e){return e===null||typeof e!="object"?null:(e=Zg&&e[Zg]||e["@@iterator"],typeof e=="function"?e:null)}var aw={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},sw=Object.assign,uw={};function rl(e,t,n){this.props=e,this.context=t,this.refs=uw,this.updater=n||aw}rl.prototype.isReactComponent={};rl.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};rl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function cw(){}cw.prototype=rl.prototype;function Gh(e,t,n){this.props=e,this.context=t,this.refs=uw,this.updater=n||aw}var Jh=Gh.prototype=new cw;Jh.constructor=Gh;sw(Jh,rl.prototype);Jh.isPureReactComponent=!0;var ey=Array.isArray,fw=Object.prototype.hasOwnProperty,Qh={current:null},dw={key:!0,ref:!0,__self:!0,__source:!0};function pw(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)fw.call(t,r)&&!dw.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1>>1,x=D[C];if(0>>1;Ci(Ut,Q))Sei(st,Ut)?(D[C]=st,D[Se]=Q,C=Se):(D[C]=Ut,D[pt]=Q,C=pt);else if(Sei(st,Q))D[C]=st,D[Se]=Q,C=Se;else break e}}return $}function i(D,$){var Q=D.sortIndex-$.sortIndex;return Q!==0?Q:D.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var s=[],u=[],c=1,f=null,d=3,p=!1,h=!1,m=!1,E=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(D){for(var $=n(u);$!==null;){if($.callback===null)r(u);else if($.startTime<=D)r(u),$.sortIndex=$.expirationTime,t(s,$);else break;$=n(u)}}function S(D){if(m=!1,w(D),!h)if(n(s)!==null)h=!0,ee(_);else{var $=n(u);$!==null&&te(S,$.startTime-D)}}function _(D,$){h=!1,m&&(m=!1,g(T),T=-1),p=!0;var Q=d;try{for(w($),f=n(s);f!==null&&(!(f.expirationTime>$)||D&&!I());){var C=f.callback;if(typeof C=="function"){f.callback=null,d=f.priorityLevel;var x=C(f.expirationTime<=$);$=e.unstable_now(),typeof x=="function"?f.callback=x:f===n(s)&&r(s),w($)}else r(s);f=n(s)}if(f!==null)var at=!0;else{var pt=n(u);pt!==null&&te(S,pt.startTime-$),at=!1}return at}finally{f=null,d=Q,p=!1}}var b=!1,A=null,T=-1,N=5,R=-1;function I(){return!(e.unstable_now()-RD||125C?(D.sortIndex=Q,t(u,D),n(s)===null&&D===n(u)&&(m?(g(T),T=-1):m=!0,te(S,Q-C))):(D.sortIndex=x,t(s,D),h||p||(h=!0,ee(_))),D},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(D){var $=d;return function(){var Q=d;d=$;try{return D.apply(this,arguments)}finally{d=Q}}}})(gw);(function(e){e.exports=gw})($_);/** + */(function(e){function t(D,$){var Q=D.length;D.push($);e:for(;0>>1,x=D[C];if(0>>1;Ci(Ut,Q))Sei(st,Ut)?(D[C]=st,D[Se]=Q,C=Se):(D[C]=Ut,D[pt]=Q,C=pt);else if(Sei(st,Q))D[C]=st,D[Se]=Q,C=Se;else break e}}return $}function i(D,$){var Q=D.sortIndex-$.sortIndex;return Q!==0?Q:D.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var s=[],u=[],c=1,f=null,d=3,p=!1,h=!1,m=!1,E=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(D){for(var $=n(u);$!==null;){if($.callback===null)r(u);else if($.startTime<=D)r(u),$.sortIndex=$.expirationTime,t(s,$);else break;$=n(u)}}function S(D){if(m=!1,w(D),!h)if(n(s)!==null)h=!0,ee(_);else{var $=n(u);$!==null&&te(S,$.startTime-D)}}function _(D,$){h=!1,m&&(m=!1,g(T),T=-1),p=!0;var Q=d;try{for(w($),f=n(s);f!==null&&(!(f.expirationTime>$)||D&&!I());){var C=f.callback;if(typeof C=="function"){f.callback=null,d=f.priorityLevel;var x=C(f.expirationTime<=$);$=e.unstable_now(),typeof x=="function"?f.callback=x:f===n(s)&&r(s),w($)}else r(s);f=n(s)}if(f!==null)var at=!0;else{var pt=n(u);pt!==null&&te(S,pt.startTime-$),at=!1}return at}finally{f=null,d=Q,p=!1}}var b=!1,A=null,T=-1,N=5,R=-1;function I(){return!(e.unstable_now()-RD||125C?(D.sortIndex=Q,t(u,D),n(s)===null&&D===n(u)&&(m?(g(T),T=-1):m=!0,te(S,Q-C))):(D.sortIndex=x,t(s,D),h||p||(h=!0,ee(_))),D},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(D){var $=d;return function(){var Q=d;d=$;try{return D.apply(this,arguments)}finally{d=Q}}}})(ww);(function(e){e.exports=ww})($_);/** * @license React * react-dom.production.min.js * @@ -40,14 +40,14 @@ shinyApp(ui, server) * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var yw=O,Xt=rp;function Y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}function kt(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var dt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){dt[e]=new kt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];dt[t]=new kt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){dt[e]=new kt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){dt[e]=new kt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){dt[e]=new kt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){dt[e]=new kt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){dt[e]=new kt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){dt[e]=new kt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){dt[e]=new kt(e,5,!1,e.toLowerCase(),null,!1,!1)});var qh=/[\-:]([a-z])/g;function Xh(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(qh,Xh);dt[t]=new kt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(qh,Xh);dt[t]=new kt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(qh,Xh);dt[t]=new kt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){dt[e]=new kt(e,1,!1,e.toLowerCase(),null,!1,!1)});dt.xlinkHref=new kt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){dt[e]=new kt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Zh(e,t,n,r){var i=dt.hasOwnProperty(t)?dt[t]:null;(i!==null?i.type!==0:r||!(2t}return!1}function kt(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var dt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){dt[e]=new kt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];dt[t]=new kt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){dt[e]=new kt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){dt[e]=new kt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){dt[e]=new kt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){dt[e]=new kt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){dt[e]=new kt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){dt[e]=new kt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){dt[e]=new kt(e,5,!1,e.toLowerCase(),null,!1,!1)});var qh=/[\-:]([a-z])/g;function Xh(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(qh,Xh);dt[t]=new kt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(qh,Xh);dt[t]=new kt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(qh,Xh);dt[t]=new kt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){dt[e]=new kt(e,1,!1,e.toLowerCase(),null,!1,!1)});dt.xlinkHref=new kt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){dt[e]=new kt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Zh(e,t,n,r){var i=dt.hasOwnProperty(t)?dt[t]:null;(i!==null?i.type!==0:r||!(2a||i[l]!==o[a]){var s=` -`+i[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=a);break}}}finally{Uf=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Bl(e):""}function K_(e){switch(e.tag){case 5:return Bl(e.type);case 16:return Bl("Lazy");case 13:return Bl("Suspense");case 19:return Bl("SuspenseList");case 0:case 2:case 15:return e=zf(e.type,!1),e;case 11:return e=zf(e.type.render,!1),e;case 1:return e=zf(e.type,!0),e;default:return""}}function sp(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case mo:return"Fragment";case ho:return"Portal";case op:return"Profiler";case em:return"StrictMode";case lp:return"Suspense";case ap:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case bw:return(e.displayName||"Context")+".Consumer";case ww:return(e._context.displayName||"Context")+".Provider";case tm:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case nm:return t=e.displayName||null,t!==null?t:sp(e.type)||"Memo";case Fr:t=e._payload,e=e._init;try{return sp(e(t))}catch(n){}}return null}function q_(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return sp(t);case 8:return t===em?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function si(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Sw(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function X_(e){var t=Sw(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ys(e){e._valueTracker||(e._valueTracker=X_(e))}function Aw(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Sw(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function du(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(t){return e.body}}function up(e,t){var n=t.checked;return Ye({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function oy(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=si(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function xw(e,t){t=t.checked,t!=null&&Zh(e,"checked",t,!1)}function cp(e,t){xw(e,t);var n=si(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?fp(e,t.type,n):t.hasOwnProperty("defaultValue")&&fp(e,t.type,si(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ly(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function fp(e,t,n){(t!=="number"||du(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ul=Array.isArray;function ko(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=vs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ga(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ql={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Z_=["Webkit","ms","Moz","O"];Object.keys(Ql).forEach(function(e){Z_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ql[t]=Ql[e]})});function Tw(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ql.hasOwnProperty(e)&&Ql[e]?(""+t).trim():t+"px"}function Iw(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Tw(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var ek=Ye({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function hp(e,t){if(t){if(ek[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Y(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Y(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Y(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Y(62))}}function mp(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var gp=null;function rm(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var yp=null,To=null,Io=null;function uy(e){if(e=Ha(e)){if(typeof yp!="function")throw Error(Y(280));var t=e.stateNode;t&&(t=wc(t),yp(e.stateNode,e.type,t))}}function Ow(e){To?Io?Io.push(e):Io=[e]:To=e}function Pw(){if(To){var e=To,t=Io;if(Io=To=null,uy(e),t)for(e=0;e>>=0,e===0?32:31-(fk(e)/dk|0)|0}var ws=64,bs=4194304;function zl(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function gu(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~i;a!==0?r=zl(a):(o&=l,o!==0&&(r=zl(o)))}else l=n&~i,l!==0?r=zl(l):o!==0&&(r=zl(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Va(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-In(t),e[t]=n}function gk(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=ql),vy=String.fromCharCode(32),wy=!1;function qw(e,t){switch(e){case"keyup":return Vk.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var go=!1;function Hk(e,t){switch(e){case"compositionend":return Xw(t);case"keypress":return t.which!==32?null:(wy=!0,vy);case"textInput":return e=t.data,e===vy&&wy?null:e;default:return null}}function Gk(e,t){if(go)return e==="compositionend"||!fm&&qw(e,t)?(e=Qw(),$s=sm=Hr=null,go=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ay(n)}}function nb(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?nb(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function rb(){for(var e=window,t=du();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch(r){n=!1}if(n)e=t.contentWindow;else break;t=du(e.document)}return t}function dm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function n2(e){var t=rb(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&nb(n.ownerDocument.documentElement,n)){if(r!==null&&dm(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=xy(n,o);var l=xy(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,yo=null,Ap=null,Zl=null,xp=!1;function Cy(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xp||yo==null||yo!==du(r)||(r=yo,"selectionStart"in r&&dm(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Zl&&Sa(Zl,r)||(Zl=r,r=wu(Ap,"onSelect"),0bo||(e.current=Op[bo],Op[bo]=null,bo--)}function Te(e,t){bo++,Op[bo]=e.current,e.current=t}var ui={},Et=gi(ui),Ft=gi(!1),Wi=ui;function jo(e,t){var n=e.type.contextTypes;if(!n)return ui;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Mt(e){return e=e.childContextTypes,e!=null}function Eu(){Pe(Ft),Pe(Et)}function Ny(e,t,n){if(Et.current!==ui)throw Error(Y(168));Te(Et,t),Te(Ft,n)}function db(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Y(108,q_(e)||"Unknown",i));return Ye({},n,r)}function Su(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ui,Wi=Et.current,Te(Et,e),Te(Ft,Ft.current),!0}function Ry(e,t,n){var r=e.stateNode;if(!r)throw Error(Y(169));n?(e=db(e,t,Wi),r.__reactInternalMemoizedMergedChildContext=e,Pe(Ft),Pe(Et),Te(Et,e)):Pe(Ft),Te(Ft,n)}var cr=null,bc=!1,ed=!1;function pb(e){cr===null?cr=[e]:cr.push(e)}function h2(e){bc=!0,pb(e)}function yi(){if(!ed&&cr!==null){ed=!0;var e=0,t=ve;try{var n=cr;for(ve=1;e>=l,i-=l,hr=1<<32-In(t)+i|n<T?(N=A,A=null):N=A.sibling;var R=d(g,A,w[T],S);if(R===null){A===null&&(A=N);break}e&&A&&R.alternate===null&&t(g,A),y=o(R,y,T),b===null?_=R:b.sibling=R,b=R,A=N}if(T===w.length)return n(g,A),Me&&ki(g,T),_;if(A===null){for(;TT?(N=A,A=null):N=A.sibling;var I=d(g,A,R.value,S);if(I===null){A===null&&(A=N);break}e&&A&&I.alternate===null&&t(g,A),y=o(I,y,T),b===null?_=I:b.sibling=I,b=I,A=N}if(R.done)return n(g,A),Me&&ki(g,T),_;if(A===null){for(;!R.done;T++,R=w.next())R=f(g,R.value,S),R!==null&&(y=o(R,y,T),b===null?_=R:b.sibling=R,b=R);return Me&&ki(g,T),_}for(A=r(g,A);!R.done;T++,R=w.next())R=p(A,g,T,R.value,S),R!==null&&(e&&R.alternate!==null&&A.delete(R.key===null?T:R.key),y=o(R,y,T),b===null?_=R:b.sibling=R,b=R);return e&&A.forEach(function(F){return t(g,F)}),Me&&ki(g,T),_}function E(g,y,w,S){if(typeof w=="object"&&w!==null&&w.type===mo&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case gs:e:{for(var _=w.key,b=y;b!==null;){if(b.key===_){if(_=w.type,_===mo){if(b.tag===7){n(g,b.sibling),y=i(b,w.props.children),y.return=g,g=y;break e}}else if(b.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Fr&&zy(_)===b.type){n(g,b.sibling),y=i(b,w.props),y.ref=Al(g,b,w),y.return=g,g=y;break e}n(g,b);break}else t(g,b);b=b.sibling}w.type===mo?(y=Fi(w.props.children,g.mode,S,w.key),y.return=g,g=y):(S=Zs(w.type,w.key,w.props,null,g.mode,S),S.ref=Al(g,y,w),S.return=g,g=S)}return l(g);case ho:e:{for(b=w.key;y!==null;){if(y.key===b)if(y.tag===4&&y.stateNode.containerInfo===w.containerInfo&&y.stateNode.implementation===w.implementation){n(g,y.sibling),y=i(y,w.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else t(g,y);y=y.sibling}y=sd(w,g.mode,S),y.return=g,g=y}return l(g);case Fr:return b=w._init,E(g,y,b(w._payload),S)}if(Ul(w))return h(g,y,w,S);if(vl(w))return m(g,y,w,S);ks(g,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,y!==null&&y.tag===6?(n(g,y.sibling),y=i(y,w),y.return=g,g=y):(n(g,y),y=ad(w,g.mode,S),y.return=g,g=y),l(g)):n(g,y)}return E}var Yo=Eb(!0),Sb=Eb(!1),Ga={},Jn=gi(Ga),_a=gi(Ga),ka=gi(Ga);function Di(e){if(e===Ga)throw Error(Y(174));return e}function Em(e,t){switch(Te(ka,t),Te(_a,e),Te(Jn,Ga),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:pp(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=pp(t,e)}Pe(Jn),Te(Jn,t)}function Vo(){Pe(Jn),Pe(_a),Pe(ka)}function Ab(e){Di(ka.current);var t=Di(Jn.current),n=pp(t,e.type);t!==n&&(Te(_a,e),Te(Jn,n))}function Sm(e){_a.current===e&&(Pe(Jn),Pe(_a))}var ze=gi(0);function Tu(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var td=[];function Am(){for(var e=0;en?n:4,e(!0);var r=nd.transition;nd.transition={};try{e(!1),t()}finally{ve=n,nd.transition=r}}function Ub(){return hn().memoizedState}function v2(e,t,n){var r=ti(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},zb(e))jb(t,n);else if(n=yb(e,t,n,r),n!==null){var i=Ct();On(n,e,r,i),Wb(n,t,r)}}function w2(e,t,n){var r=ti(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(zb(e))jb(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,a=o(l,n);if(i.hasEagerState=!0,i.eagerState=a,Nn(a,l)){var s=t.interleaved;s===null?(i.next=i,wm(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch(u){}finally{}n=yb(e,t,i,r),n!==null&&(i=Ct(),On(n,e,r,i),Wb(n,t,r))}}function zb(e){var t=e.alternate;return e===We||t!==null&&t===We}function jb(e,t){ea=Iu=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Wb(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,om(e,n)}}var Ou={readContext:pn,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useInsertionEffect:ht,useLayoutEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useMutableSource:ht,useSyncExternalStore:ht,useId:ht,unstable_isNewReconciler:!1},b2={readContext:pn,useCallback:function(e,t){return Bn().memoizedState=[e,t===void 0?null:t],e},useContext:pn,useEffect:Wy,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Qs(4194308,4,Db.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qs(4194308,4,e,t)},useInsertionEffect:function(e,t){return Qs(4,2,e,t)},useMemo:function(e,t){var n=Bn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Bn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=v2.bind(null,We,e),[r.memoizedState,e]},useRef:function(e){var t=Bn();return e={current:e},t.memoizedState=e},useState:jy,useDebugValue:Tm,useDeferredValue:function(e){return Bn().memoizedState=e},useTransition:function(){var e=jy(!1),t=e[0];return e=y2.bind(null,e[1]),Bn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=We,i=Bn();if(Me){if(n===void 0)throw Error(Y(407));n=n()}else{if(n=t(),ot===null)throw Error(Y(349));Vi&30||_b(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Wy(Tb.bind(null,r,o,e),[e]),r.flags|=2048,Oa(9,kb.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Bn(),t=ot.identifierPrefix;if(Me){var n=mr,r=hr;n=(r&~(1<<32-In(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ta++,0")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=a);break}}}finally{Uf=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Bl(e):""}function K_(e){switch(e.tag){case 5:return Bl(e.type);case 16:return Bl("Lazy");case 13:return Bl("Suspense");case 19:return Bl("SuspenseList");case 0:case 2:case 15:return e=zf(e.type,!1),e;case 11:return e=zf(e.type.render,!1),e;case 1:return e=zf(e.type,!0),e;default:return""}}function sp(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case mo:return"Fragment";case ho:return"Portal";case op:return"Profiler";case em:return"StrictMode";case lp:return"Suspense";case ap:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Aw:return(e.displayName||"Context")+".Consumer";case Sw:return(e._context.displayName||"Context")+".Provider";case tm:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case nm:return t=e.displayName||null,t!==null?t:sp(e.type)||"Memo";case Fr:t=e._payload,e=e._init;try{return sp(e(t))}catch(n){}}return null}function q_(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return sp(t);case 8:return t===em?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function si(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Cw(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function X_(e){var t=Cw(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vs(e){e._valueTracker||(e._valueTracker=X_(e))}function _w(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Cw(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function pu(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(t){return e.body}}function up(e,t){var n=t.checked;return Ye({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function sy(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=si(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function kw(e,t){t=t.checked,t!=null&&Zh(e,"checked",t,!1)}function cp(e,t){kw(e,t);var n=si(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?fp(e,t.type,n):t.hasOwnProperty("defaultValue")&&fp(e,t.type,si(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function uy(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function fp(e,t,n){(t!=="number"||pu(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ul=Array.isArray;function ko(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=ws.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ga(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ql={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Z_=["Webkit","ms","Moz","O"];Object.keys(Ql).forEach(function(e){Z_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ql[t]=Ql[e]})});function Pw(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ql.hasOwnProperty(e)&&Ql[e]?(""+t).trim():t+"px"}function Nw(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Pw(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var ek=Ye({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function hp(e,t){if(t){if(ek[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Y(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Y(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Y(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Y(62))}}function mp(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var gp=null;function rm(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var yp=null,To=null,Io=null;function dy(e){if(e=Ha(e)){if(typeof yp!="function")throw Error(Y(280));var t=e.stateNode;t&&(t=bc(t),yp(e.stateNode,e.type,t))}}function Rw(e){To?Io?Io.push(e):Io=[e]:To=e}function Dw(){if(To){var e=To,t=Io;if(Io=To=null,dy(e),t)for(e=0;e>>=0,e===0?32:31-(fk(e)/dk|0)|0}var bs=64,Es=4194304;function zl(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function yu(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~i;a!==0?r=zl(a):(o&=l,o!==0&&(r=zl(o)))}else l=n&~i,l!==0?r=zl(l):o!==0&&(r=zl(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Va(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-In(t),e[t]=n}function gk(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=ql),Ey=String.fromCharCode(32),Sy=!1;function eb(e,t){switch(e){case"keyup":return Vk.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tb(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var go=!1;function Hk(e,t){switch(e){case"compositionend":return tb(t);case"keypress":return t.which!==32?null:(Sy=!0,Ey);case"textInput":return e=t.data,e===Ey&&Sy?null:e;default:return null}}function Gk(e,t){if(go)return e==="compositionend"||!fm&&eb(e,t)?(e=Xw(),Hs=sm=Hr=null,go=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=_y(n)}}function ob(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ob(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function lb(){for(var e=window,t=pu();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch(r){n=!1}if(n)e=t.contentWindow;else break;t=pu(e.document)}return t}function dm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function n2(e){var t=lb(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ob(n.ownerDocument.documentElement,n)){if(r!==null&&dm(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=ky(n,o);var l=ky(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,yo=null,Ap=null,Zl=null,xp=!1;function Ty(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xp||yo==null||yo!==pu(r)||(r=yo,"selectionStart"in r&&dm(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Zl&&Sa(Zl,r)||(Zl=r,r=bu(Ap,"onSelect"),0bo||(e.current=Op[bo],Op[bo]=null,bo--)}function Te(e,t){bo++,Op[bo]=e.current,e.current=t}var ui={},Et=gi(ui),Ft=gi(!1),Wi=ui;function jo(e,t){var n=e.type.contextTypes;if(!n)return ui;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Mt(e){return e=e.childContextTypes,e!=null}function Su(){Pe(Ft),Pe(Et)}function Ly(e,t,n){if(Et.current!==ui)throw Error(Y(168));Te(Et,t),Te(Ft,n)}function mb(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Y(108,q_(e)||"Unknown",i));return Ye({},n,r)}function Au(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ui,Wi=Et.current,Te(Et,e),Te(Ft,Ft.current),!0}function Fy(e,t,n){var r=e.stateNode;if(!r)throw Error(Y(169));n?(e=mb(e,t,Wi),r.__reactInternalMemoizedMergedChildContext=e,Pe(Ft),Pe(Et),Te(Et,e)):Pe(Ft),Te(Ft,n)}var cr=null,Ec=!1,ed=!1;function gb(e){cr===null?cr=[e]:cr.push(e)}function h2(e){Ec=!0,gb(e)}function yi(){if(!ed&&cr!==null){ed=!0;var e=0,t=ve;try{var n=cr;for(ve=1;e>=l,i-=l,hr=1<<32-In(t)+i|n<T?(N=A,A=null):N=A.sibling;var R=d(g,A,w[T],S);if(R===null){A===null&&(A=N);break}e&&A&&R.alternate===null&&t(g,A),y=o(R,y,T),b===null?_=R:b.sibling=R,b=R,A=N}if(T===w.length)return n(g,A),Fe&&ki(g,T),_;if(A===null){for(;TT?(N=A,A=null):N=A.sibling;var I=d(g,A,R.value,S);if(I===null){A===null&&(A=N);break}e&&A&&I.alternate===null&&t(g,A),y=o(I,y,T),b===null?_=I:b.sibling=I,b=I,A=N}if(R.done)return n(g,A),Fe&&ki(g,T),_;if(A===null){for(;!R.done;T++,R=w.next())R=f(g,R.value,S),R!==null&&(y=o(R,y,T),b===null?_=R:b.sibling=R,b=R);return Fe&&ki(g,T),_}for(A=r(g,A);!R.done;T++,R=w.next())R=p(A,g,T,R.value,S),R!==null&&(e&&R.alternate!==null&&A.delete(R.key===null?T:R.key),y=o(R,y,T),b===null?_=R:b.sibling=R,b=R);return e&&A.forEach(function(F){return t(g,F)}),Fe&&ki(g,T),_}function E(g,y,w,S){if(typeof w=="object"&&w!==null&&w.type===mo&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case ys:e:{for(var _=w.key,b=y;b!==null;){if(b.key===_){if(_=w.type,_===mo){if(b.tag===7){n(g,b.sibling),y=i(b,w.props.children),y.return=g,g=y;break e}}else if(b.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Fr&&Yy(_)===b.type){n(g,b.sibling),y=i(b,w.props),y.ref=Al(g,b,w),y.return=g,g=y;break e}n(g,b);break}else t(g,b);b=b.sibling}w.type===mo?(y=Fi(w.props.children,g.mode,S,w.key),y.return=g,g=y):(S=eu(w.type,w.key,w.props,null,g.mode,S),S.ref=Al(g,y,w),S.return=g,g=S)}return l(g);case ho:e:{for(b=w.key;y!==null;){if(y.key===b)if(y.tag===4&&y.stateNode.containerInfo===w.containerInfo&&y.stateNode.implementation===w.implementation){n(g,y.sibling),y=i(y,w.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else t(g,y);y=y.sibling}y=sd(w,g.mode,S),y.return=g,g=y}return l(g);case Fr:return b=w._init,E(g,y,b(w._payload),S)}if(Ul(w))return h(g,y,w,S);if(vl(w))return m(g,y,w,S);Ts(g,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,y!==null&&y.tag===6?(n(g,y.sibling),y=i(y,w),y.return=g,g=y):(n(g,y),y=ad(w,g.mode,S),y.return=g,g=y),l(g)):n(g,y)}return E}var Yo=xb(!0),Cb=xb(!1),Ga={},Jn=gi(Ga),_a=gi(Ga),ka=gi(Ga);function Di(e){if(e===Ga)throw Error(Y(174));return e}function Em(e,t){switch(Te(ka,t),Te(_a,e),Te(Jn,Ga),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:pp(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=pp(t,e)}Pe(Jn),Te(Jn,t)}function Vo(){Pe(Jn),Pe(_a),Pe(ka)}function _b(e){Di(ka.current);var t=Di(Jn.current),n=pp(t,e.type);t!==n&&(Te(_a,e),Te(Jn,n))}function Sm(e){_a.current===e&&(Pe(Jn),Pe(_a))}var ze=gi(0);function Iu(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var td=[];function Am(){for(var e=0;en?n:4,e(!0);var r=nd.transition;nd.transition={};try{e(!1),t()}finally{ve=n,nd.transition=r}}function Wb(){return hn().memoizedState}function v2(e,t,n){var r=ti(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Yb(e))Vb(t,n);else if(n=bb(e,t,n,r),n!==null){var i=Ct();On(n,e,r,i),$b(n,t,r)}}function w2(e,t,n){var r=ti(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yb(e))Vb(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,a=o(l,n);if(i.hasEagerState=!0,i.eagerState=a,Nn(a,l)){var s=t.interleaved;s===null?(i.next=i,wm(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch(u){}finally{}n=bb(e,t,i,r),n!==null&&(i=Ct(),On(n,e,r,i),$b(n,t,r))}}function Yb(e){var t=e.alternate;return e===We||t!==null&&t===We}function Vb(e,t){ea=Ou=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function $b(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,om(e,n)}}var Pu={readContext:pn,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useInsertionEffect:ht,useLayoutEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useMutableSource:ht,useSyncExternalStore:ht,useId:ht,unstable_isNewReconciler:!1},b2={readContext:pn,useCallback:function(e,t){return Bn().memoizedState=[e,t===void 0?null:t],e},useContext:pn,useEffect:$y,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ks(4194308,4,Mb.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ks(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ks(4,2,e,t)},useMemo:function(e,t){var n=Bn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Bn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=v2.bind(null,We,e),[r.memoizedState,e]},useRef:function(e){var t=Bn();return e={current:e},t.memoizedState=e},useState:Vy,useDebugValue:Tm,useDeferredValue:function(e){return Bn().memoizedState=e},useTransition:function(){var e=Vy(!1),t=e[0];return e=y2.bind(null,e[1]),Bn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=We,i=Bn();if(Fe){if(n===void 0)throw Error(Y(407));n=n()}else{if(n=t(),ot===null)throw Error(Y(349));Vi&30||Ib(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,$y(Pb.bind(null,r,o,e),[e]),r.flags|=2048,Oa(9,Ob.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Bn(),t=ot.identifierPrefix;if(Fe){var n=mr,r=hr;n=(r&~(1<<32-In(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ta++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[jn]=t,e[Ca]=r,qb(e,t,!1,!1),t.stateNode=e;e:{switch(l=mp(n,r),n){case"dialog":Ie("cancel",e),Ie("close",e),i=r;break;case"iframe":case"object":case"embed":Ie("load",e),i=r;break;case"video":case"audio":for(i=0;iHo&&(t.flags|=128,r=!0,xl(o,!1),t.lanes=4194304)}else{if(!r)if(e=Tu(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),xl(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!Me)return mt(t),null}else 2*Qe()-o.renderingStartTime>Ho&&n!==1073741824&&(t.flags|=128,r=!0,xl(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Qe(),t.sibling=null,n=ze.current,Te(ze,r?n&1|2:n&1),t):(mt(t),null);case 22:case 23:return Dm(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Vt&1073741824&&(mt(t),t.subtreeFlags&6&&(t.flags|=8192)):mt(t),null;case 24:return null;case 25:return null}throw Error(Y(156,t.tag))}function T2(e,t){switch(hm(t),t.tag){case 1:return Mt(t.type)&&Eu(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Vo(),Pe(Ft),Pe(Et),Am(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Sm(t),null;case 13:if(Pe(ze),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Y(340));Wo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Pe(ze),null;case 4:return Vo(),null;case 10:return vm(t.type._context),null;case 22:case 23:return Dm(),null;case 24:return null;default:return null}}var Is=!1,wt=!1,I2=typeof WeakSet=="function"?WeakSet:Set,X=null;function xo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){$e(e,t,r)}else n.current=null}function Wp(e,t,n){try{n()}catch(r){$e(e,t,r)}}var qy=!1;function O2(e,t){if(Cp=yu,e=rb(),dm(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(S){n=null;break e}var l=0,a=-1,s=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(a=l+i),f!==o||r!==0&&f.nodeType!==3||(s=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===e)break t;if(d===n&&++u===i&&(a=l),d===o&&++c===r&&(s=l),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}n=a===-1||s===-1?null:{start:a,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(_p={focusedElem:e,selectionRange:n},yu=!1,X=t;X!==null;)if(t=X,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,X=e;else for(;X!==null;){t=X;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var m=h.memoizedProps,E=h.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:xn(t.type,m),E);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Y(163))}}catch(S){$e(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,X=e;break}X=t.return}return h=qy,qy=!1,h}function ta(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Wp(t,n,o)}i=i.next}while(i!==r)}}function Ac(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Yp(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function eE(e){var t=e.alternate;t!==null&&(e.alternate=null,eE(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[jn],delete t[Ca],delete t[Ip],delete t[d2],delete t[p2])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function tE(e){return e.tag===5||e.tag===3||e.tag===4}function Xy(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||tE(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Vp(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=bu));else if(r!==4&&(e=e.child,e!==null))for(Vp(e,t,n),e=e.sibling;e!==null;)Vp(e,t,n),e=e.sibling}function $p(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for($p(e,t,n),e=e.sibling;e!==null;)$p(e,t,n),e=e.sibling}var ct=null,Cn=!1;function Dr(e,t,n){for(n=n.child;n!==null;)nE(e,t,n),n=n.sibling}function nE(e,t,n){if(Gn&&typeof Gn.onCommitFiberUnmount=="function")try{Gn.onCommitFiberUnmount(mc,n)}catch(a){}switch(n.tag){case 5:wt||xo(n,t);case 6:var r=ct,i=Cn;ct=null,Dr(e,t,n),ct=r,Cn=i,ct!==null&&(Cn?(e=ct,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ct.removeChild(n.stateNode));break;case 18:ct!==null&&(Cn?(e=ct,n=n.stateNode,e.nodeType===8?Zf(e.parentNode,n):e.nodeType===1&&Zf(e,n),ba(e)):Zf(ct,n.stateNode));break;case 4:r=ct,i=Cn,ct=n.stateNode.containerInfo,Cn=!0,Dr(e,t,n),ct=r,Cn=i;break;case 0:case 11:case 14:case 15:if(!wt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&Wp(n,t,l),i=i.next}while(i!==r)}Dr(e,t,n);break;case 1:if(!wt&&(xo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){$e(n,t,a)}Dr(e,t,n);break;case 21:Dr(e,t,n);break;case 22:n.mode&1?(wt=(r=wt)||n.memoizedState!==null,Dr(e,t,n),wt=r):Dr(e,t,n);break;default:Dr(e,t,n)}}function Zy(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new I2),t.forEach(function(r){var i=U2.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function En(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=Qe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*N2(r/1960))-r,10e?16:e,Gr===null)var r=!1;else{if(e=Gr,Gr=null,Ru=0,ge&6)throw Error(Y(331));var i=ge;for(ge|=4,X=e.current;X!==null;){var o=X,l=o.child;if(X.flags&16){var a=o.deletions;if(a!==null){for(var s=0;sQe()-Nm?Li(e,0):Pm|=n),Bt(e,t)}function cE(e,t){t===0&&(e.mode&1?(t=bs,bs<<=1,!(bs&130023424)&&(bs=4194304)):t=1);var n=Ct();e=Ar(e,t),e!==null&&(Va(e,t,n),Bt(e,n))}function B2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),cE(e,n)}function U2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Y(314))}r!==null&&r.delete(t),cE(e,n)}var fE;fE=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ft.current)Dt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Dt=!1,_2(e,t,n);Dt=!!(e.flags&131072)}else Dt=!1,Me&&t.flags&1048576&&hb(t,xu,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ks(e,t),e=t.pendingProps;var i=jo(t,Et.current);Po(t,n),i=Cm(null,t,r,e,i,n);var o=_m();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Mt(r)?(o=!0,Su(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,bm(t),i.updater=Ec,t.stateNode=i,i._reactInternals=t,Lp(t,r,e,n),t=Bp(null,t,r,!0,o,n)):(t.tag=0,Me&&o&&pm(t),At(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ks(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=j2(r),e=xn(r,e),i){case 0:t=Mp(null,t,r,e,n);break e;case 1:t=Jy(null,t,r,e,n);break e;case 11:t=Hy(null,t,r,e,n);break e;case 14:t=Gy(null,t,r,xn(r.type,e),n);break e}throw Error(Y(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xn(r,i),Mp(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xn(r,i),Jy(e,t,r,i,n);case 3:e:{if(Jb(t),e===null)throw Error(Y(387));r=t.pendingProps,o=t.memoizedState,i=o.element,vb(e,t),ku(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=$o(Error(Y(423)),t),t=Qy(e,t,r,n,i);break e}else if(r!==i){i=$o(Error(Y(424)),t),t=Qy(e,t,r,n,i);break e}else for(Gt=Xr(t.stateNode.containerInfo.firstChild),Kt=t,Me=!0,kn=null,n=Sb(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Wo(),r===i){t=xr(e,t,n);break e}At(e,t,r,n)}t=t.child}return t;case 5:return Ab(t),e===null&&Np(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,kp(r,i)?l=null:o!==null&&kp(r,o)&&(t.flags|=32),Gb(e,t),At(e,t,l,n),t.child;case 6:return e===null&&Np(t),null;case 13:return Qb(e,t,n);case 4:return Em(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Yo(t,null,r,n):At(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xn(r,i),Hy(e,t,r,i,n);case 7:return At(e,t,t.pendingProps,n),t.child;case 8:return At(e,t,t.pendingProps.children,n),t.child;case 12:return At(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,Te(Cu,r._currentValue),r._currentValue=l,o!==null)if(Nn(o.value,l)){if(o.children===i.children&&!Ft.current){t=xr(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){l=o.child;for(var s=a.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=yr(-1,n&-n),s.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Rp(o.return,n,t),a.lanes|=n;break}s=s.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(Y(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Rp(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}At(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Po(t,n),i=pn(i),r=r(i),t.flags|=1,At(e,t,r,n),t.child;case 14:return r=t.type,i=xn(r,t.pendingProps),i=xn(r.type,i),Gy(e,t,r,i,n);case 15:return $b(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xn(r,i),Ks(e,t),t.tag=1,Mt(r)?(e=!0,Su(t)):e=!1,Po(t,n),bb(t,r,i),Lp(t,r,i,n),Bp(null,t,r,!0,e,n);case 19:return Kb(e,t,n);case 22:return Hb(e,t,n)}throw Error(Y(156,t.tag))};function dE(e,t){return Bw(e,t)}function z2(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function un(e,t,n,r){return new z2(e,t,n,r)}function Fm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function j2(e){if(typeof e=="function")return Fm(e)?1:0;if(e!=null){if(e=e.$$typeof,e===tm)return 11;if(e===nm)return 14}return 2}function ni(e,t){var n=e.alternate;return n===null?(n=un(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zs(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")Fm(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case mo:return Fi(n.children,i,o,t);case em:l=8,i|=8;break;case op:return e=un(12,n,t,i|2),e.elementType=op,e.lanes=o,e;case lp:return e=un(13,n,t,i),e.elementType=lp,e.lanes=o,e;case ap:return e=un(19,n,t,i),e.elementType=ap,e.lanes=o,e;case Ew:return Cc(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ww:l=10;break e;case bw:l=9;break e;case tm:l=11;break e;case nm:l=14;break e;case Fr:l=16,r=null;break e}throw Error(Y(130,e==null?e:typeof e,""))}return t=un(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Fi(e,t,n,r){return e=un(7,e,r,t),e.lanes=n,e}function Cc(e,t,n,r){return e=un(22,e,r,t),e.elementType=Ew,e.lanes=n,e.stateNode={isHidden:!1},e}function ad(e,t,n){return e=un(6,e,null,t),e.lanes=n,e}function sd(e,t,n){return t=un(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function W2(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Wf(0),this.expirationTimes=Wf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wf(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Mm(e,t,n,r,i,o,l,a,s){return e=new W2(e,t,n,a,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=un(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},bm(o),e}function Y2(e,t,n){var r=3ud("Sending message to backend",e),incomingMsgs:{subscribe:(e,t)=>(ud(`Request for subscription to ${e}:`,t),{unsubscribe:()=>ud(`Request for removing subscription to ${e}:`,t)})},mode:"HTTPUV"},yE=k.createContext(J2);function Q2({children:e,sendMsg:t,incomingMsgs:n,mode:r}){return v(yE.Provider,{value:{sendMsg:t,incomingMsgs:n,mode:r},children:e})}function Ja(){return k.useContext(yE)}var vE=K2;function K2(e,t,n){var r=null,i=null,o=function(){r&&(clearTimeout(r),i=null,r=null)},l=function(){var s=i;o(),s&&s()},a=function(){if(!t)return e.apply(this,arguments);var s=this,u=arguments,c=n&&!r;if(o(),i=function(){e.apply(s,u)},r=setTimeout(function(){if(r=null,!c){var f=i;return i=null,f()}},t),c)return i()};return a.cancel=o,a.flush=l,a}var Kp={},q2={get exports(){return Kp},set exports(e){Kp=e}},wE={};/** +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function od(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function Fp(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var A2=typeof WeakMap=="function"?WeakMap:Map;function Hb(e,t,n){n=yr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ru||(Ru=!0,Hp=r),Fp(e,t)},n}function Gb(e,t,n){n=yr(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Fp(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Fp(e,t),typeof r!="function"&&(ei===null?ei=new Set([this]):ei.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function Hy(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new A2;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=M2.bind(null,e,t,n),t.then(e,e))}function Gy(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Jy(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=yr(-1,1),t.tag=2,Zr(n,t,1))),n.lanes|=1),e)}var x2=kr.ReactCurrentOwner,Dt=!1;function At(e,t,n,r){t.child=e===null?Cb(t,null,n,r):Yo(t,e.child,n,r)}function Qy(e,t,n,r,i){n=n.render;var o=t.ref;return Po(t,i),r=Cm(e,t,n,r,o,i),n=_m(),e!==null&&!Dt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,xr(e,t,i)):(Fe&&n&&pm(t),t.flags|=1,At(e,t,r,i),t.child)}function Ky(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Fm(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Jb(e,t,o,r,i)):(e=eu(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var l=o.memoizedProps;if(n=n.compare,n=n!==null?n:Sa,n(l,r)&&e.ref===t.ref)return xr(e,t,i)}return t.flags|=1,e=ni(o,r),e.ref=t.ref,e.return=t,t.child=e}function Jb(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Sa(o,r)&&e.ref===t.ref)if(Dt=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Dt=!0);else return t.lanes=e.lanes,xr(e,t,i)}return Mp(e,t,n,r,i)}function Qb(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Te(Co,Vt),Vt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Te(Co,Vt),Vt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,Te(Co,Vt),Vt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,Te(Co,Vt),Vt|=r;return At(e,t,i,n),t.child}function Kb(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Mp(e,t,n,r,i){var o=Mt(n)?Wi:Et.current;return o=jo(t,o),Po(t,i),n=Cm(e,t,n,r,o,i),r=_m(),e!==null&&!Dt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,xr(e,t,i)):(Fe&&r&&pm(t),t.flags|=1,At(e,t,n,i),t.child)}function qy(e,t,n,r,i){if(Mt(n)){var o=!0;Au(t)}else o=!1;if(Po(t,i),t.stateNode===null)qs(e,t),Ab(t,n,r),Lp(t,n,r,i),r=!0;else if(e===null){var l=t.stateNode,a=t.memoizedProps;l.props=a;var s=l.context,u=n.contextType;typeof u=="object"&&u!==null?u=pn(u):(u=Mt(n)?Wi:Et.current,u=jo(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof l.getSnapshotBeforeUpdate=="function";f||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==r||s!==u)&&Wy(t,l,r,u),Mr=!1;var d=t.memoizedState;l.state=d,Tu(t,r,l,i),s=t.memoizedState,a!==r||d!==s||Ft.current||Mr?(typeof c=="function"&&(Dp(t,n,c,r),s=t.memoizedState),(a=Mr||jy(t,n,a,r,d,s,u))?(f||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),l.props=r,l.state=s,l.context=u,r=a):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Eb(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:xn(t.type,a),l.props=u,f=t.pendingProps,d=l.context,s=n.contextType,typeof s=="object"&&s!==null?s=pn(s):(s=Mt(n)?Wi:Et.current,s=jo(t,s));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==f||d!==s)&&Wy(t,l,r,s),Mr=!1,d=t.memoizedState,l.state=d,Tu(t,r,l,i);var h=t.memoizedState;a!==f||d!==h||Ft.current||Mr?(typeof p=="function"&&(Dp(t,n,p,r),h=t.memoizedState),(u=Mr||jy(t,n,u,r,d,h,s)||!1)?(c||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,h,s),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,h,s)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),l.props=r,l.state=h,l.context=s,r=u):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Bp(e,t,n,r,o,i)}function Bp(e,t,n,r,i,o){Kb(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return i&&Fy(t,n,!1),xr(e,t,o);r=t.stateNode,x2.current=t;var a=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Yo(t,e.child,null,o),t.child=Yo(t,null,a,o)):At(e,t,a,o),t.memoizedState=r.state,i&&Fy(t,n,!0),t.child}function qb(e){var t=e.stateNode;t.pendingContext?Ly(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ly(e,t.context,!1),Em(e,t.containerInfo)}function Xy(e,t,n,r,i){return Wo(),mm(i),t.flags|=256,At(e,t,n,r),t.child}var Up={dehydrated:null,treeContext:null,retryLane:0};function zp(e){return{baseLanes:e,cachePool:null,transitions:null}}function Xb(e,t,n){var r=t.pendingProps,i=ze.current,o=!1,l=(t.flags&128)!==0,a;if((a=l)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Te(ze,i&1),e===null)return Np(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=r.children,e=r.fallback,o?(r=t.mode,o=t.child,l={mode:"hidden",children:l},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=l):o=_c(l,r,0,null),e=Fi(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=zp(n),t.memoizedState=Up,e):Im(t,l));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return C2(e,t,l,r,a,i,n);if(o){o=r.fallback,l=t.mode,i=e.child,a=i.sibling;var s={mode:"hidden",children:r.children};return!(l&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=ni(i,s),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=ni(a,o):(o=Fi(o,l,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,l=e.child.memoizedState,l=l===null?zp(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=Up,r}return o=e.child,e=o.sibling,r=ni(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Im(e,t){return t=_c({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Is(e,t,n,r){return r!==null&&mm(r),Yo(t,e.child,null,n),e=Im(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function C2(e,t,n,r,i,o,l){if(n)return t.flags&256?(t.flags&=-257,r=od(Error(Y(422))),Is(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=_c({mode:"visible",children:r.children},i,0,null),o=Fi(o,i,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Yo(t,e.child,null,l),t.child.memoizedState=zp(l),t.memoizedState=Up,o);if(!(t.mode&1))return Is(e,t,l,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(Y(419)),r=od(o,r,void 0),Is(e,t,l,r)}if(a=(l&e.childLanes)!==0,Dt||a){if(r=ot,r!==null){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|l)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Ar(e,i),On(r,e,i,-1))}return Lm(),r=od(Error(Y(421))),Is(e,t,l,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=B2.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Gt=Xr(i.nextSibling),Kt=t,Fe=!0,kn=null,e!==null&&(on[ln++]=hr,on[ln++]=mr,on[ln++]=Yi,hr=e.id,mr=e.overflow,Yi=t),t=Im(t,r.children),t.flags|=4096,t)}function Zy(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Rp(e.return,t,n)}function ld(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Zb(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(At(e,t,r.children,n),r=ze.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Zy(e,n,t);else if(e.tag===19)Zy(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Te(ze,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Iu(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ld(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Iu(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ld(t,!0,n,null,o);break;case"together":ld(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function qs(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function xr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),$i|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(Y(153));if(t.child!==null){for(e=t.child,n=ni(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ni(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function _2(e,t,n){switch(t.tag){case 3:qb(t),Wo();break;case 5:_b(t);break;case 1:Mt(t.type)&&Au(t);break;case 4:Em(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Te(_u,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Te(ze,ze.current&1),t.flags|=128,null):n&t.child.childLanes?Xb(e,t,n):(Te(ze,ze.current&1),e=xr(e,t,n),e!==null?e.sibling:null);Te(ze,ze.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Zb(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Te(ze,ze.current),r)break;return null;case 22:case 23:return t.lanes=0,Qb(e,t,n)}return xr(e,t,n)}var eE,jp,tE,nE;eE=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};jp=function(){};tE=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Di(Jn.current);var o=null;switch(n){case"input":i=up(e,i),r=up(e,r),o=[];break;case"select":i=Ye({},i,{value:void 0}),r=Ye({},r,{value:void 0}),o=[];break;case"textarea":i=dp(e,i),r=dp(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Eu)}hp(n,r);var l;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(l in a)a.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ma.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var s=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&s!==a&&(s!=null||a!=null))if(u==="style")if(a){for(l in a)!a.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in s)s.hasOwnProperty(l)&&a[l]!==s[l]&&(n||(n={}),n[l]=s[l])}else n||(o||(o=[]),o.push(u,n)),n=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,a=a?a.__html:void 0,s!=null&&a!==s&&(o=o||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ma.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&Ie("scroll",e),o||a===s||(o=[])):(o=o||[]).push(u,s))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};nE=function(e,t,n,r){n!==r&&(t.flags|=4)};function xl(e,t){if(!Fe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function mt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function k2(e,t,n){var r=t.pendingProps;switch(hm(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return mt(t),null;case 1:return Mt(t.type)&&Su(),mt(t),null;case 3:return r=t.stateNode,Vo(),Pe(Ft),Pe(Et),Am(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ks(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,kn!==null&&(Qp(kn),kn=null))),jp(e,t),mt(t),null;case 5:Sm(t);var i=Di(ka.current);if(n=t.type,e!==null&&t.stateNode!=null)tE(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(Y(166));return mt(t),null}if(e=Di(Jn.current),ks(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[jn]=t,r[Ca]=o,e=(t.mode&1)!==0,n){case"dialog":Ie("cancel",r),Ie("close",r);break;case"iframe":case"object":case"embed":Ie("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[jn]=t,e[Ca]=r,eE(e,t,!1,!1),t.stateNode=e;e:{switch(l=mp(n,r),n){case"dialog":Ie("cancel",e),Ie("close",e),i=r;break;case"iframe":case"object":case"embed":Ie("load",e),i=r;break;case"video":case"audio":for(i=0;iHo&&(t.flags|=128,r=!0,xl(o,!1),t.lanes=4194304)}else{if(!r)if(e=Iu(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),xl(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!Fe)return mt(t),null}else 2*Qe()-o.renderingStartTime>Ho&&n!==1073741824&&(t.flags|=128,r=!0,xl(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Qe(),t.sibling=null,n=ze.current,Te(ze,r?n&1|2:n&1),t):(mt(t),null);case 22:case 23:return Dm(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Vt&1073741824&&(mt(t),t.subtreeFlags&6&&(t.flags|=8192)):mt(t),null;case 24:return null;case 25:return null}throw Error(Y(156,t.tag))}function T2(e,t){switch(hm(t),t.tag){case 1:return Mt(t.type)&&Su(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Vo(),Pe(Ft),Pe(Et),Am(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Sm(t),null;case 13:if(Pe(ze),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Y(340));Wo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Pe(ze),null;case 4:return Vo(),null;case 10:return vm(t.type._context),null;case 22:case 23:return Dm(),null;case 24:return null;default:return null}}var Os=!1,wt=!1,I2=typeof WeakSet=="function"?WeakSet:Set,X=null;function xo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){$e(e,t,r)}else n.current=null}function Wp(e,t,n){try{n()}catch(r){$e(e,t,r)}}var ev=!1;function O2(e,t){if(Cp=vu,e=lb(),dm(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(S){n=null;break e}var l=0,a=-1,s=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(a=l+i),f!==o||r!==0&&f.nodeType!==3||(s=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===e)break t;if(d===n&&++u===i&&(a=l),d===o&&++c===r&&(s=l),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}n=a===-1||s===-1?null:{start:a,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(_p={focusedElem:e,selectionRange:n},vu=!1,X=t;X!==null;)if(t=X,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,X=e;else for(;X!==null;){t=X;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var m=h.memoizedProps,E=h.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:xn(t.type,m),E);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Y(163))}}catch(S){$e(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,X=e;break}X=t.return}return h=ev,ev=!1,h}function ta(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Wp(t,n,o)}i=i.next}while(i!==r)}}function xc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Yp(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function rE(e){var t=e.alternate;t!==null&&(e.alternate=null,rE(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[jn],delete t[Ca],delete t[Ip],delete t[d2],delete t[p2])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function iE(e){return e.tag===5||e.tag===3||e.tag===4}function tv(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||iE(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Vp(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Eu));else if(r!==4&&(e=e.child,e!==null))for(Vp(e,t,n),e=e.sibling;e!==null;)Vp(e,t,n),e=e.sibling}function $p(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for($p(e,t,n),e=e.sibling;e!==null;)$p(e,t,n),e=e.sibling}var ct=null,Cn=!1;function Dr(e,t,n){for(n=n.child;n!==null;)oE(e,t,n),n=n.sibling}function oE(e,t,n){if(Gn&&typeof Gn.onCommitFiberUnmount=="function")try{Gn.onCommitFiberUnmount(gc,n)}catch(a){}switch(n.tag){case 5:wt||xo(n,t);case 6:var r=ct,i=Cn;ct=null,Dr(e,t,n),ct=r,Cn=i,ct!==null&&(Cn?(e=ct,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ct.removeChild(n.stateNode));break;case 18:ct!==null&&(Cn?(e=ct,n=n.stateNode,e.nodeType===8?Zf(e.parentNode,n):e.nodeType===1&&Zf(e,n),ba(e)):Zf(ct,n.stateNode));break;case 4:r=ct,i=Cn,ct=n.stateNode.containerInfo,Cn=!0,Dr(e,t,n),ct=r,Cn=i;break;case 0:case 11:case 14:case 15:if(!wt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&Wp(n,t,l),i=i.next}while(i!==r)}Dr(e,t,n);break;case 1:if(!wt&&(xo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){$e(n,t,a)}Dr(e,t,n);break;case 21:Dr(e,t,n);break;case 22:n.mode&1?(wt=(r=wt)||n.memoizedState!==null,Dr(e,t,n),wt=r):Dr(e,t,n);break;default:Dr(e,t,n)}}function nv(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new I2),t.forEach(function(r){var i=U2.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function En(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=Qe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*N2(r/1960))-r,10e?16:e,Gr===null)var r=!1;else{if(e=Gr,Gr=null,Du=0,ge&6)throw Error(Y(331));var i=ge;for(ge|=4,X=e.current;X!==null;){var o=X,l=o.child;if(X.flags&16){var a=o.deletions;if(a!==null){for(var s=0;sQe()-Nm?Li(e,0):Pm|=n),Bt(e,t)}function pE(e,t){t===0&&(e.mode&1?(t=Es,Es<<=1,!(Es&130023424)&&(Es=4194304)):t=1);var n=Ct();e=Ar(e,t),e!==null&&(Va(e,t,n),Bt(e,n))}function B2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),pE(e,n)}function U2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Y(314))}r!==null&&r.delete(t),pE(e,n)}var hE;hE=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ft.current)Dt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Dt=!1,_2(e,t,n);Dt=!!(e.flags&131072)}else Dt=!1,Fe&&t.flags&1048576&&yb(t,Cu,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;qs(e,t),e=t.pendingProps;var i=jo(t,Et.current);Po(t,n),i=Cm(null,t,r,e,i,n);var o=_m();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Mt(r)?(o=!0,Au(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,bm(t),i.updater=Sc,t.stateNode=i,i._reactInternals=t,Lp(t,r,e,n),t=Bp(null,t,r,!0,o,n)):(t.tag=0,Fe&&o&&pm(t),At(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(qs(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=j2(r),e=xn(r,e),i){case 0:t=Mp(null,t,r,e,n);break e;case 1:t=qy(null,t,r,e,n);break e;case 11:t=Qy(null,t,r,e,n);break e;case 14:t=Ky(null,t,r,xn(r.type,e),n);break e}throw Error(Y(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xn(r,i),Mp(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xn(r,i),qy(e,t,r,i,n);case 3:e:{if(qb(t),e===null)throw Error(Y(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Eb(e,t),Tu(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=$o(Error(Y(423)),t),t=Xy(e,t,r,n,i);break e}else if(r!==i){i=$o(Error(Y(424)),t),t=Xy(e,t,r,n,i);break e}else for(Gt=Xr(t.stateNode.containerInfo.firstChild),Kt=t,Fe=!0,kn=null,n=Cb(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Wo(),r===i){t=xr(e,t,n);break e}At(e,t,r,n)}t=t.child}return t;case 5:return _b(t),e===null&&Np(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,kp(r,i)?l=null:o!==null&&kp(r,o)&&(t.flags|=32),Kb(e,t),At(e,t,l,n),t.child;case 6:return e===null&&Np(t),null;case 13:return Xb(e,t,n);case 4:return Em(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Yo(t,null,r,n):At(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xn(r,i),Qy(e,t,r,i,n);case 7:return At(e,t,t.pendingProps,n),t.child;case 8:return At(e,t,t.pendingProps.children,n),t.child;case 12:return At(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,Te(_u,r._currentValue),r._currentValue=l,o!==null)if(Nn(o.value,l)){if(o.children===i.children&&!Ft.current){t=xr(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){l=o.child;for(var s=a.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=yr(-1,n&-n),s.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Rp(o.return,n,t),a.lanes|=n;break}s=s.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(Y(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Rp(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}At(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Po(t,n),i=pn(i),r=r(i),t.flags|=1,At(e,t,r,n),t.child;case 14:return r=t.type,i=xn(r,t.pendingProps),i=xn(r.type,i),Ky(e,t,r,i,n);case 15:return Jb(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xn(r,i),qs(e,t),t.tag=1,Mt(r)?(e=!0,Au(t)):e=!1,Po(t,n),Ab(t,r,i),Lp(t,r,i,n),Bp(null,t,r,!0,e,n);case 19:return Zb(e,t,n);case 22:return Qb(e,t,n)}throw Error(Y(156,t.tag))};function mE(e,t){return jw(e,t)}function z2(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function un(e,t,n,r){return new z2(e,t,n,r)}function Fm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function j2(e){if(typeof e=="function")return Fm(e)?1:0;if(e!=null){if(e=e.$$typeof,e===tm)return 11;if(e===nm)return 14}return 2}function ni(e,t){var n=e.alternate;return n===null?(n=un(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function eu(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")Fm(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case mo:return Fi(n.children,i,o,t);case em:l=8,i|=8;break;case op:return e=un(12,n,t,i|2),e.elementType=op,e.lanes=o,e;case lp:return e=un(13,n,t,i),e.elementType=lp,e.lanes=o,e;case ap:return e=un(19,n,t,i),e.elementType=ap,e.lanes=o,e;case xw:return _c(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Sw:l=10;break e;case Aw:l=9;break e;case tm:l=11;break e;case nm:l=14;break e;case Fr:l=16,r=null;break e}throw Error(Y(130,e==null?e:typeof e,""))}return t=un(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Fi(e,t,n,r){return e=un(7,e,r,t),e.lanes=n,e}function _c(e,t,n,r){return e=un(22,e,r,t),e.elementType=xw,e.lanes=n,e.stateNode={isHidden:!1},e}function ad(e,t,n){return e=un(6,e,null,t),e.lanes=n,e}function sd(e,t,n){return t=un(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function W2(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Wf(0),this.expirationTimes=Wf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wf(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Mm(e,t,n,r,i,o,l,a,s){return e=new W2(e,t,n,a,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=un(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},bm(o),e}function Y2(e,t,n){var r=3Ja);var Q2={};Pc(Q2,"ErrorBoundaryContext",()=>jm);const jm=O.createContext(null),ud={didCatch:!1,error:null};class Ja extends O.Component{constructor(){super(...arguments);ms(this,"state",ud);ms(this,"resetErrorBoundary",(...n)=>{var i,o;const{error:r}=this.state;r!==null&&((o=(i=this.props).onReset)==null||o.call(i,{args:n,reason:"imperative-api"}),this.setState(ud))})}static getDerivedStateFromError(n){return{didCatch:!0,error:n}}componentDidCatch(n,r){var i,o;(o=(i=this.props).onError)==null||o.call(i,n,r)}componentDidUpdate(n,r){var l,a;const{didCatch:i}=this.state,{resetKeys:o}=this.props;i&&r.error!==null&&K2(n.resetKeys,o)&&((a=(l=this.props).onReset)==null||a.call(l,{next:o,prev:n.resetKeys,reason:"keys"}),this.setState(ud))}render(){const{children:n,fallbackRender:r,FallbackComponent:i,fallback:o}=this.props,{didCatch:l,error:a}=this.state;let s=n;if(l){const u={error:a,resetErrorBoundary:this.resetErrorBoundary};if(O.isValidElement(o))s=o;else if(typeof r=="function")s=r(u);else if(i)s=O.createElement(i,u);else throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return O.createElement(jm.Provider,{value:{didCatch:l,error:a,resetErrorBoundary:this.resetErrorBoundary}},s)}}function K2(e=[],t=[]){return e.length!==t.length||e.some((n,r)=>!Object.is(n,t[r]))}var q2={};Pc(q2,"useErrorBoundary",()=>bE);function X2(e){if(e==null||typeof e.didCatch!="boolean"||typeof e.resetErrorBoundary!="function")throw new Error("ErrorBoundaryContext not found");return!0}function bE(){const e=O.useContext(jm);X2(e);const[t,n]=O.useState({error:null,hasError:!1}),r=O.useMemo(()=>({resetBoundary:()=>{e==null||e.resetErrorBoundary(),n({error:null,hasError:!1})},showBoundary:i=>n({error:i,hasError:!0})}),[e==null?void 0:e.resetErrorBoundary]);if(t.hasError)throw t.error;return r}var Z2={};Pc(Z2,"withErrorBoundary",()=>eT);function eT(e,t){const n=i=>O.createElement(Ja,t,O.createElement(e,i)),r=e.displayName||e.name||"Unknown";return n.displayName=`withErrorBoundary(${r})`,n}const cd=console.log,tT={sendMsg:e=>cd("Sending message to backend",e),incomingMsgs:{subscribe:(e,t)=>(cd(`Request for subscription to ${e}:`,t),{unsubscribe:()=>cd(`Request for removing subscription to ${e}:`,t)})},mode:"HTTPUV"},EE=k.createContext(tT);function nT({children:e,sendMsg:t,incomingMsgs:n,mode:r}){return v(EE.Provider,{value:{sendMsg:t,incomingMsgs:n,mode:r},children:e})}function Qa(){return k.useContext(EE)}var Kp={},rT={get exports(){return Kp},set exports(e){Kp=e}},SE={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -55,7 +55,7 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Go=O;function X2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Z2=typeof Object.is=="function"?Object.is:X2,eT=Go.useState,tT=Go.useEffect,nT=Go.useLayoutEffect,rT=Go.useDebugValue;function iT(e,t){var n=t(),r=eT({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return nT(function(){i.value=n,i.getSnapshot=t,cd(i)&&o({inst:i})},[e,n,t]),tT(function(){return cd(i)&&o({inst:i}),e(function(){cd(i)&&o({inst:i})})},[e]),rT(n),n}function cd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Z2(e,n)}catch(r){return!0}}function oT(e,t){return t()}var lT=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?oT:iT;wE.useSyncExternalStore=Go.useSyncExternalStore!==void 0?Go.useSyncExternalStore:lT;(function(e){e.exports=wE})(q2);var qp={},aT={get exports(){return qp},set exports(e){qp=e}},bE={};/** + */var Go=O;function iT(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var oT=typeof Object.is=="function"?Object.is:iT,lT=Go.useState,aT=Go.useEffect,sT=Go.useLayoutEffect,uT=Go.useDebugValue;function cT(e,t){var n=t(),r=lT({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return sT(function(){i.value=n,i.getSnapshot=t,fd(i)&&o({inst:i})},[e,n,t]),aT(function(){return fd(i)&&o({inst:i}),e(function(){fd(i)&&o({inst:i})})},[e]),uT(n),n}function fd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!oT(e,n)}catch(r){return!0}}function fT(e,t){return t()}var dT=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?fT:cT;SE.useSyncExternalStore=Go.useSyncExternalStore!==void 0?Go.useSyncExternalStore:dT;(function(e){e.exports=SE})(rT);var qp={},pT={get exports(){return qp},set exports(e){qp=e}},AE={};/** * @license React * use-sync-external-store-shim/with-selector.production.min.js * @@ -63,14 +63,14 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Oc=O,sT=Kp;function uT(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var cT=typeof Object.is=="function"?Object.is:uT,fT=sT.useSyncExternalStore,dT=Oc.useRef,pT=Oc.useEffect,hT=Oc.useMemo,mT=Oc.useDebugValue;bE.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=dT(null);if(o.current===null){var l={hasValue:!1,value:null};o.current=l}else l=o.current;o=hT(function(){function s(p){if(!u){if(u=!0,c=p,p=r(p),i!==void 0&&l.hasValue){var h=l.value;if(i(h,p))return f=h}return f=p}if(h=f,cT(c,p))return h;var m=r(p);return i!==void 0&&i(h,m)?h:(c=p,f=m)}var u=!1,c,f,d=n===void 0?null:n;return[function(){return s(t())},d===null?void 0:function(){return s(d())}]},[t,n,r,i]);var a=fT(e,o[0],o[1]);return pT(function(){l.hasValue=!0,l.value=a},[a]),mT(a),a};(function(e){e.exports=bE})(aT);function gT(e){e()}let EE=gT;const yT=e=>EE=e,vT=()=>EE,ci=O.createContext(null);function SE(){return O.useContext(ci)}const wT=()=>{throw new Error("uSES not initialized!")};let AE=wT;const bT=e=>{AE=e},ET=(e,t)=>e===t;function ST(e=ci){const t=e===ci?SE:()=>O.useContext(e);return function(r,i=ET){const{store:o,subscription:l,getServerState:a}=t(),s=AE(l.addNestedSub,o.getState,a||o.getState,r,i);return O.useDebugValue(s),s}}const Qa=ST();var jr={},AT={get exports(){return jr},set exports(e){jr=e}},we={};/** @license React v16.13.1 + */var Nc=O,hT=Kp;function mT(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var gT=typeof Object.is=="function"?Object.is:mT,yT=hT.useSyncExternalStore,vT=Nc.useRef,wT=Nc.useEffect,bT=Nc.useMemo,ET=Nc.useDebugValue;AE.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=vT(null);if(o.current===null){var l={hasValue:!1,value:null};o.current=l}else l=o.current;o=bT(function(){function s(p){if(!u){if(u=!0,c=p,p=r(p),i!==void 0&&l.hasValue){var h=l.value;if(i(h,p))return f=h}return f=p}if(h=f,gT(c,p))return h;var m=r(p);return i!==void 0&&i(h,m)?h:(c=p,f=m)}var u=!1,c,f,d=n===void 0?null:n;return[function(){return s(t())},d===null?void 0:function(){return s(d())}]},[t,n,r,i]);var a=yT(e,o[0],o[1]);return wT(function(){l.hasValue=!0,l.value=a},[a]),ET(a),a};(function(e){e.exports=AE})(pT);function ST(e){e()}let xE=ST;const AT=e=>xE=e,xT=()=>xE,ci=O.createContext(null);function CE(){return O.useContext(ci)}const CT=()=>{throw new Error("uSES not initialized!")};let _E=CT;const _T=e=>{_E=e},kT=(e,t)=>e===t;function TT(e=ci){const t=e===ci?CE:()=>O.useContext(e);return function(r,i=kT){const{store:o,subscription:l,getServerState:a}=t(),s=_E(l.addNestedSub,o.getState,a||o.getState,r,i);return O.useDebugValue(s),s}}const Ka=TT();var jr={},IT={get exports(){return jr},set exports(e){jr=e}},we={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var lt=typeof Symbol=="function"&&Symbol.for,jm=lt?Symbol.for("react.element"):60103,Wm=lt?Symbol.for("react.portal"):60106,Pc=lt?Symbol.for("react.fragment"):60107,Nc=lt?Symbol.for("react.strict_mode"):60108,Rc=lt?Symbol.for("react.profiler"):60114,Dc=lt?Symbol.for("react.provider"):60109,Lc=lt?Symbol.for("react.context"):60110,Ym=lt?Symbol.for("react.async_mode"):60111,Fc=lt?Symbol.for("react.concurrent_mode"):60111,Mc=lt?Symbol.for("react.forward_ref"):60112,Bc=lt?Symbol.for("react.suspense"):60113,xT=lt?Symbol.for("react.suspense_list"):60120,Uc=lt?Symbol.for("react.memo"):60115,zc=lt?Symbol.for("react.lazy"):60116,CT=lt?Symbol.for("react.block"):60121,_T=lt?Symbol.for("react.fundamental"):60117,kT=lt?Symbol.for("react.responder"):60118,TT=lt?Symbol.for("react.scope"):60119;function nn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case jm:switch(e=e.type,e){case Ym:case Fc:case Pc:case Rc:case Nc:case Bc:return e;default:switch(e=e&&e.$$typeof,e){case Lc:case Mc:case zc:case Uc:case Dc:return e;default:return t}}case Wm:return t}}}function xE(e){return nn(e)===Fc}we.AsyncMode=Ym;we.ConcurrentMode=Fc;we.ContextConsumer=Lc;we.ContextProvider=Dc;we.Element=jm;we.ForwardRef=Mc;we.Fragment=Pc;we.Lazy=zc;we.Memo=Uc;we.Portal=Wm;we.Profiler=Rc;we.StrictMode=Nc;we.Suspense=Bc;we.isAsyncMode=function(e){return xE(e)||nn(e)===Ym};we.isConcurrentMode=xE;we.isContextConsumer=function(e){return nn(e)===Lc};we.isContextProvider=function(e){return nn(e)===Dc};we.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===jm};we.isForwardRef=function(e){return nn(e)===Mc};we.isFragment=function(e){return nn(e)===Pc};we.isLazy=function(e){return nn(e)===zc};we.isMemo=function(e){return nn(e)===Uc};we.isPortal=function(e){return nn(e)===Wm};we.isProfiler=function(e){return nn(e)===Rc};we.isStrictMode=function(e){return nn(e)===Nc};we.isSuspense=function(e){return nn(e)===Bc};we.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Pc||e===Fc||e===Rc||e===Nc||e===Bc||e===xT||typeof e=="object"&&e!==null&&(e.$$typeof===zc||e.$$typeof===Uc||e.$$typeof===Dc||e.$$typeof===Lc||e.$$typeof===Mc||e.$$typeof===_T||e.$$typeof===kT||e.$$typeof===TT||e.$$typeof===CT)};we.typeOf=nn;(function(e){e.exports=we})(AT);var CE=jr,IT={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},OT={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},_E={};_E[CE.ForwardRef]=IT;_E[CE.Memo]=OT;var sv={},PT={get exports(){return sv},set exports(e){sv=e}},be={};/** + */var lt=typeof Symbol=="function"&&Symbol.for,Wm=lt?Symbol.for("react.element"):60103,Ym=lt?Symbol.for("react.portal"):60106,Rc=lt?Symbol.for("react.fragment"):60107,Dc=lt?Symbol.for("react.strict_mode"):60108,Lc=lt?Symbol.for("react.profiler"):60114,Fc=lt?Symbol.for("react.provider"):60109,Mc=lt?Symbol.for("react.context"):60110,Vm=lt?Symbol.for("react.async_mode"):60111,Bc=lt?Symbol.for("react.concurrent_mode"):60111,Uc=lt?Symbol.for("react.forward_ref"):60112,zc=lt?Symbol.for("react.suspense"):60113,OT=lt?Symbol.for("react.suspense_list"):60120,jc=lt?Symbol.for("react.memo"):60115,Wc=lt?Symbol.for("react.lazy"):60116,PT=lt?Symbol.for("react.block"):60121,NT=lt?Symbol.for("react.fundamental"):60117,RT=lt?Symbol.for("react.responder"):60118,DT=lt?Symbol.for("react.scope"):60119;function nn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Wm:switch(e=e.type,e){case Vm:case Bc:case Rc:case Lc:case Dc:case zc:return e;default:switch(e=e&&e.$$typeof,e){case Mc:case Uc:case Wc:case jc:case Fc:return e;default:return t}}case Ym:return t}}}function kE(e){return nn(e)===Bc}we.AsyncMode=Vm;we.ConcurrentMode=Bc;we.ContextConsumer=Mc;we.ContextProvider=Fc;we.Element=Wm;we.ForwardRef=Uc;we.Fragment=Rc;we.Lazy=Wc;we.Memo=jc;we.Portal=Ym;we.Profiler=Lc;we.StrictMode=Dc;we.Suspense=zc;we.isAsyncMode=function(e){return kE(e)||nn(e)===Vm};we.isConcurrentMode=kE;we.isContextConsumer=function(e){return nn(e)===Mc};we.isContextProvider=function(e){return nn(e)===Fc};we.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Wm};we.isForwardRef=function(e){return nn(e)===Uc};we.isFragment=function(e){return nn(e)===Rc};we.isLazy=function(e){return nn(e)===Wc};we.isMemo=function(e){return nn(e)===jc};we.isPortal=function(e){return nn(e)===Ym};we.isProfiler=function(e){return nn(e)===Lc};we.isStrictMode=function(e){return nn(e)===Dc};we.isSuspense=function(e){return nn(e)===zc};we.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Rc||e===Bc||e===Lc||e===Dc||e===zc||e===OT||typeof e=="object"&&e!==null&&(e.$$typeof===Wc||e.$$typeof===jc||e.$$typeof===Fc||e.$$typeof===Mc||e.$$typeof===Uc||e.$$typeof===NT||e.$$typeof===RT||e.$$typeof===DT||e.$$typeof===PT)};we.typeOf=nn;(function(e){e.exports=we})(IT);var TE=jr,LT={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},FT={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},IE={};IE[TE.ForwardRef]=LT;IE[TE.Memo]=FT;var fv={},MT={get exports(){return fv},set exports(e){fv=e}},be={};/** * @license React * react-is.production.min.js * @@ -78,33 +78,27 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Vm=Symbol.for("react.element"),$m=Symbol.for("react.portal"),jc=Symbol.for("react.fragment"),Wc=Symbol.for("react.strict_mode"),Yc=Symbol.for("react.profiler"),Vc=Symbol.for("react.provider"),$c=Symbol.for("react.context"),NT=Symbol.for("react.server_context"),Hc=Symbol.for("react.forward_ref"),Gc=Symbol.for("react.suspense"),Jc=Symbol.for("react.suspense_list"),Qc=Symbol.for("react.memo"),Kc=Symbol.for("react.lazy"),RT=Symbol.for("react.offscreen"),kE;kE=Symbol.for("react.module.reference");function gn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Vm:switch(e=e.type,e){case jc:case Yc:case Wc:case Gc:case Jc:return e;default:switch(e=e&&e.$$typeof,e){case NT:case $c:case Hc:case Kc:case Qc:case Vc:return e;default:return t}}case $m:return t}}}be.ContextConsumer=$c;be.ContextProvider=Vc;be.Element=Vm;be.ForwardRef=Hc;be.Fragment=jc;be.Lazy=Kc;be.Memo=Qc;be.Portal=$m;be.Profiler=Yc;be.StrictMode=Wc;be.Suspense=Gc;be.SuspenseList=Jc;be.isAsyncMode=function(){return!1};be.isConcurrentMode=function(){return!1};be.isContextConsumer=function(e){return gn(e)===$c};be.isContextProvider=function(e){return gn(e)===Vc};be.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vm};be.isForwardRef=function(e){return gn(e)===Hc};be.isFragment=function(e){return gn(e)===jc};be.isLazy=function(e){return gn(e)===Kc};be.isMemo=function(e){return gn(e)===Qc};be.isPortal=function(e){return gn(e)===$m};be.isProfiler=function(e){return gn(e)===Yc};be.isStrictMode=function(e){return gn(e)===Wc};be.isSuspense=function(e){return gn(e)===Gc};be.isSuspenseList=function(e){return gn(e)===Jc};be.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===jc||e===Yc||e===Wc||e===Gc||e===Jc||e===RT||typeof e=="object"&&e!==null&&(e.$$typeof===Kc||e.$$typeof===Qc||e.$$typeof===Vc||e.$$typeof===$c||e.$$typeof===Hc||e.$$typeof===kE||e.getModuleId!==void 0)};be.typeOf=gn;(function(e){e.exports=be})(PT);function DT(){const e=vT();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,o=n={callback:r,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){!i||t===null||(i=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}const uv={notify(){},get:()=>[]};function LT(e,t){let n,r=uv;function i(f){return s(),r.subscribe(f)}function o(){r.notify()}function l(){c.onStateChange&&c.onStateChange()}function a(){return Boolean(n)}function s(){n||(n=t?t.addNestedSub(l):e.subscribe(l),r=DT())}function u(){n&&(n(),n=void 0,r.clear(),r=uv)}const c={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:l,isSubscribed:a,trySubscribe:s,tryUnsubscribe:u,getListeners:()=>r};return c}const FT=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",MT=FT?O.useLayoutEffect:O.useEffect;function BT({store:e,context:t,children:n,serverState:r}){const i=O.useMemo(()=>{const a=LT(e);return{store:e,subscription:a,getServerState:r?()=>r:void 0}},[e,r]),o=O.useMemo(()=>e.getState(),[e]);MT(()=>{const{subscription:a}=i;return a.onStateChange=a.notifyNestedSubs,a.trySubscribe(),o!==e.getState()&&a.notifyNestedSubs(),()=>{a.tryUnsubscribe(),a.onStateChange=void 0}},[i,o]);const l=t||ci;return k.createElement(l.Provider,{value:i},n)}function TE(e=ci){const t=e===ci?SE:()=>O.useContext(e);return function(){const{store:r}=t();return r}}const Hm=TE();function UT(e=ci){const t=e===ci?Hm:TE(e);return function(){return t().dispatch}}const Tr=UT();bT(qp.useSyncExternalStoreWithSelector);yT(br.unstable_batchedUpdates);const Xn={ui:"",libraries:""};function qc(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var zT={};qc(zT,"ErrorBoundary",()=>Xc);var jT={};qc(jT,"ErrorBoundaryContext",()=>Gm);const Gm=O.createContext(null),fd={didCatch:!1,error:null};class Xc extends O.Component{constructor(){super(...arguments);hs(this,"state",fd);hs(this,"resetErrorBoundary",(...n)=>{var i,o;const{error:r}=this.state;r!==null&&((o=(i=this.props).onReset)==null||o.call(i,{args:n,reason:"imperative-api"}),this.setState(fd))})}static getDerivedStateFromError(n){return{didCatch:!0,error:n}}componentDidCatch(n,r){var i,o;(o=(i=this.props).onError)==null||o.call(i,n,r)}componentDidUpdate(n,r){var l,a;const{didCatch:i}=this.state,{resetKeys:o}=this.props;i&&r.error!==null&&WT(n.resetKeys,o)&&((a=(l=this.props).onReset)==null||a.call(l,{next:o,prev:n.resetKeys,reason:"keys"}),this.setState(fd))}render(){const{children:n,fallbackRender:r,FallbackComponent:i,fallback:o}=this.props,{didCatch:l,error:a}=this.state;let s=n;if(l){const u={error:a,resetErrorBoundary:this.resetErrorBoundary};if(O.isValidElement(o))s=o;else if(typeof r=="function")s=r(u);else if(i)s=O.createElement(i,u);else throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return O.createElement(Gm.Provider,{value:{didCatch:l,error:a,resetErrorBoundary:this.resetErrorBoundary}},s)}}function WT(e=[],t=[]){return e.length!==t.length||e.some((n,r)=>!Object.is(n,t[r]))}var YT={};qc(YT,"useErrorBoundary",()=>IE);function VT(e){if(e==null||typeof e.didCatch!="boolean"||typeof e.resetErrorBoundary!="function")throw new Error("ErrorBoundaryContext not found");return!0}function IE(){const e=O.useContext(Gm);VT(e);const[t,n]=O.useState({error:null,hasError:!1}),r=O.useMemo(()=>({resetBoundary:()=>{e==null||e.resetErrorBoundary(),n({error:null,hasError:!1})},showBoundary:i=>n({error:i,hasError:!0})}),[e==null?void 0:e.resetErrorBoundary]);if(t.hasError)throw t.error;return r}var $T={};qc($T,"withErrorBoundary",()=>HT);function HT(e,t){const n=i=>O.createElement(Xc,t,O.createElement(e,i)),r=e.displayName||e.name||"Unknown";return n.displayName=`withErrorBoundary(${r})`,n}function Ke(...e){return e.filter(t=>t).join(" ")}const GT="_button_1y00r_1",JT="_regular_1y00r_26",QT="_icon_1y00r_34",KT="_transparent_1y00r_42",dd={button:GT,regular:JT,delete:"_delete_1y00r_30",icon:QT,transparent:KT},rt=k.forwardRef((o,i)=>{var l=o,{children:e,variant:t="regular",className:n}=l,r=ye(l,["children","variant","className"]);const a=t?Array.isArray(t)?t.map(s=>dd[s]).join(" "):dd[t]:"";return v("button",W(P({ref:i,className:Ke(dd.button,a,n)},r),{children:e}))});function xe(){return function(o){var l=o,{name:t,library:n,category:r}=l,i=ye(l,["name","library","category"]);return P({uiName:n?`${n}::${t}`:t,name:t,library:n,category:r!=null?r:"Uncategorized"},i)}}const qT="_container_1og9v_1",XT={container:qT},ZT=xe()({library:"TESTING",name:"error_node",title:"Error Throwing Node",takesChildren:!1,UiComponent:({uiArguments:e,path:t,wrapperProps:n})=>{const{showBoundary:r}=IE();return U("div",W(P({className:XT.container},n),{children:[v("h3",{children:"Error Node! I throw errors"}),v(rt,{variant:"delete","aria-label":"Throw an error",onClick:()=>{r(new Error(`Ui Node error: ${e.error_msg}`))},children:"💣"})]}))},settingsInfo:{error_msg:{label:"Message for error",inputType:"string",defaultValue:"Uh oh, an error!"}},settingsFormRender:({inputs:e,settings:t})=>{if(t.error_msg==="Trigger settings error")throw new Error(`Settings panel render error: -${t.error_msg}`);return U(Ne,{children:[v("p",{children:'Set the error message to "Trigger settings error" to cause the settings panel to throw an error'}),e.error_msg]})},category:"TESTING",description:"Node that throws an error when a button is clicked in editor or settings panel"}),eI="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAEO0lEQVR4nO3dsYqcVRiH8WeNrkXMDRgLixRWRjSiXoMWG0iUXIGNsii4wRsQTApD0EIvQBCJ2RD0GqIoRjthC4vsHaRxRcbi7MDk28kMgv+c92SfH2zxfbPFmZcnZ06+LWZjNpsh/d+e6L0APZ4MSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqWIJ3svYJ2db/aW3d4Etg5/3gCePby3Mfm96RcFjfj6feAe8CtwE7gFHEx+jyvvnJne6qp8WEucB64AtSaZ8wzwwuHPJWAPuAx813NR64z0UXgC+JQ20OMS1TJngBu0WZzovJaHGmnH+gTY6b2IQuazuNx1FQ8xyo51gaNRHQDXaWesUxw9n3B4b/FnxNdP0d7jdY6erXZosylnhLA2gc8m9/aB14Bt4A7tgPu4uk97j9u097w/ef0abUaljBDWReC5hesD4C3gbpfV9HUXeBP4a+HeaeDtLqtZYYSwtibXX3I8o5r7Dfhqcm+rwzpWGiGsVyfXX3dZRS3TGZzrsooVRvhf4fOT63LniQ7usPywX8YIO9bUkafOqmfEsDQAw1LECGesdX+oPa5Kz8UdSxGGpQjDUsQIZ6xSZ4dCSs/FHUsRhqUIw1LECGes0s9rOio9F3csRRiWIgxLESOcsUqdHQopPRd3LEUYliIMSxEjnLFKP6/pqPRc3LEUYViKMCxFjHDGKnV2KKT0XNyxFGFYijAsRYxwxir9vKaj0nNxx1KEYSnCsBQxwhmr1NmhkNJzccdShGEpwrAUMcIZq/Tzmo5Kz8UdSxGGpQjDUsQIZ6xSZ4dCSs/FHUsRhqWIEcPyK08GMEJYf9Ce2cx/Xu67nBJe58GZ/Nl1NUuMENbvk+tLXVZRy3QGP3dZxQojhLU7uX4XONthHVW8SJvBot0O61hphLC+Be4tXD8NfA+81GU1fZ0FfqDNYG6fNqNSRgjrAPhwcu808CPt+5DPAScf8ZoepZO093gN+In23hd9wINf5VvCCA9Iof2LvAp8tHBvk/YF3NsL96YPDdf9oXa016euUnC3gjF2rLmPgc97L6KQL2gzKWmksP4B3gcuAHud19LTHnAReI82k5JG+ShcdAO4TRvueeAV2rnjqZ6LCvqbdkD/BbhJ++gr//XFG7PZuo9x6b8b6aNQAzEsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliL+BXaHdHGUC5uqAAAAAElFTkSuQmCC";function tI({text:e,position:t="down",size:n,children:r}){return v("span",{"aria-label":e,"data-balloon-pos":t,"data-balloon-length":n,children:r})}function Ir(l){var a=l,{text:e,position:t="down",size:n,children:r,variant:i="icon"}=a,o=ye(a,["text","position","size","children","variant"]);return v(rt,W(P({"aria-label":e,"data-balloon-pos":t,"data-balloon-length":n,variant:i},o),{children:r}))}const OE=({children:e,el:t="div"})=>{const[n]=O.useState(document.createElement(t));return O.useEffect(()=>(document.body.appendChild(n),()=>{document.body.removeChild(n)}),[n]),br.createPortal(e,n)},PE=236,nI=174,rI=31,NE={"--elements-palette-width":`${nI}px`,"--header-height":`${rI}px`,"--properties-panel-width":`${PE}px`},iI="_container_1w66f_1",oI="_full_screen_mode_1w66f_13",lI="_full_screen_button_container_1w66f_25",aI="_card_holder_1w66f_69",sI="_card_contents_holder_1w66f_76",eu={container:iI,full_screen_mode:oI,full_screen_button_container:lI,card_holder:aI,card_contents_holder:sI},RE=k.forwardRef((o,i)=>{var l=o,{children:e,style:t,card_args:{full_screen:n=!1}}=l,r=ye(l,["children","style","card_args"]);const[a,s]=k.useState(!1),u=()=>s(f=>!f),c=U("div",{style:NE,className:Ke("card",eu.container,a?eu.full_screen_mode:null),children:[n?v(uI,{isFullScreen:a,onClick:u}):null,e]});return a?v(OE,{children:c}):v("div",W(P({ref:i,style:t,className:eu.card_holder},r),{children:c}))});function uI({isFullScreen:e,onClick:t}){return v("div",{className:eu.full_screen_button_container,"data-is-full-screen":e,children:v(Ir,{text:e?"Reset full screen":"Expand to full screen",position:"left",onClick:n=>{n.preventDefault(),t()},variant:e?"regular":"icon",children:e?"Close":v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","aria-hidden":"true",role:"img",children:v("path",{"fill-rule":"evenodd",d:"M5.828 10.172a.5.5 0 0 0-.707 0l-4.096 4.096V11.5a.5.5 0 0 0-1 0v3.975a.5.5 0 0 0 .5.5H4.5a.5.5 0 0 0 0-1H1.732l4.096-4.096a.5.5 0 0 0 0-.707zm4.344 0a.5.5 0 0 1 .707 0l4.096 4.096V11.5a.5.5 0 1 1 1 0v3.975a.5.5 0 0 1-.5.5H11.5a.5.5 0 0 1 0-1h2.768l-4.096-4.096a.5.5 0 0 1 0-.707zm0-4.344a.5.5 0 0 0 .707 0l4.096-4.096V4.5a.5.5 0 1 0 1 0V.525a.5.5 0 0 0-.5-.5H11.5a.5.5 0 0 0 0 1h2.768l-4.096 4.096a.5.5 0 0 0 0 .707zm-4.344 0a.5.5 0 0 1-.707 0L1.025 1.732V4.5a.5.5 0 0 1-1 0V.525a.5.5 0 0 1 .5-.5H4.5a.5.5 0 0 1 0 1H1.732l4.096 4.096a.5.5 0 0 1 0 .707z"})})})})}function cv(...e){let t=0;for(const n of e)n&&(t+=1);return t}function Xp(...e){return e.filter(n=>n!==void 0).reduce((n,r,i)=>(i===0?"":n+` -`)+r,"")}function cI(e,t){const n=" ".repeat(t);return e.replaceAll(/\n/g,` -${n}`)}function DE(e,t="multi"){const n=t==="single"?"`":"\n```\n";return`${n}${e}${n}`}function fI(e){return DE(e,"single")}function pd(e){return DE(e,"multi")}function LE(e){var t,n;switch(e.app_info.mode){case"MAIN":{const r=JSON.stringify(e.app_info.ui_tree,null,2),i=(n=((t=e.selected_path)!=null?t:[]).join(" > "))!=null?n:"null";return Xp(`## Ui-Tree at error: -${pd(r)}`,`__Selection path:__ ${fI(i)}`)}case"TEMPLATE_CHOOSER":{const r=JSON.stringify(e.app_info.options,null,2);return Xp("## Template chooser options at error:",`${pd(r)}`)}default:{const r=JSON.stringify(e.app_info,null,2);return`## App state at error: -${pd(r)}`}}}function dI(e){const{node:t,path:n,app_state:r}=e;return FE({title:`Error rendering ${t.uiName}`,body:Xp(`This is what I was going when this error happened... -`,LE(r),`__Path to node at error:__ \`${n.join(" > ")}\``),labels:["testing-labels","ui-node-rendering"]})}function FE(e){const t=()=>`https://github.com/rstudio/shinyuieditor/issues/new?${[`title=${encodeURIComponent(e.title)}`,`labels=${encodeURIComponent(["autogenerated"].join(","))}`,`body=${encodeURIComponent(e.body)}`].join("&")}`,n=t(),r=65e3;return n.length>r?(e.body="State of app during error was too large to encode in url. Please describe state of app when error occured as best you can! Thank you!",t()):n}const ME=k.createContext({canGoBackward:!1,goBackward:()=>{throw new Error("No history go backward function provided")}});function pI({children:e,goBackward:t,canGoBackward:n}){return v(ME.Provider,{value:{goBackward:t,canGoBackward:n},children:e})}function hI(){return k.useContext(ME)}function Ka(e){return e.split("-")[1]}function Jm(e){return e==="y"?"height":"width"}function Bi(e){return e.split("-")[0]}function qa(e){return["top","bottom"].includes(Bi(e))?"x":"y"}function fv(e,t,n){let{reference:r,floating:i}=e;const o=r.x+r.width/2-i.width/2,l=r.y+r.height/2-i.height/2,a=qa(t),s=Jm(a),u=r[s]/2-i[s]/2,c=a==="x";let f;switch(Bi(t)){case"top":f={x:o,y:r.y-i.height};break;case"bottom":f={x:o,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:l};break;case"left":f={x:r.x-i.width,y:l};break;default:f={x:r.x,y:r.y}}switch(Ka(t)){case"start":f[a]-=u*(n&&c?-1:1);break;case"end":f[a]+=u*(n&&c?-1:1)}return f}const mI=(e,t,n)=>It(ml,null,function*(){const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),s=yield l.isRTL==null?void 0:l.isRTL(t);let u=yield l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=fv(u,r,s),d=r,p={},h=0;for(let m=0;m({name:"arrow",options:e,fn(n){return It(this,null,function*(){const{element:r,padding:i=0}=e||{},{x:o,y:l,placement:a,rects:s,platform:u,elements:c}=n;if(r==null)return{};const f=BE(i),d={x:o,y:l},p=qa(a),h=Jm(p),m=yield u.getDimensions(r),E=p==="y",g=E?"top":"left",y=E?"bottom":"right",w=E?"clientHeight":"clientWidth",S=s.reference[h]+s.reference[p]-d[p]-s.floating[h],_=d[p]-s.reference[p],b=yield u.getOffsetParent==null?void 0:u.getOffsetParent(r);let A=b?b[w]:0;A&&(yield u.isElement==null?void 0:u.isElement(b))||(A=c.floating[w]||s.floating[h]);const T=S/2-_/2,N=f[g],R=A-m[h]-f[y],I=A/2-m[h]/2+T,F=Zp(N,I,R),L=Ka(a)!=null&&I!=F&&s.reference[h]/2-(Ie.concat(t,t+"-start",t+"-end"),[]);const wI={left:"right",right:"left",bottom:"top",top:"bottom"};function Mu(e){return e.replace(/left|right|bottom|top/g,t=>wI[t])}function bI(e,t,n){n===void 0&&(n=!1);const r=Ka(e),i=qa(e),o=Jm(i);let l=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=Mu(l)),{main:l,cross:Mu(l)}}const EI={start:"end",end:"start"};function hd(e){return e.replace(/start|end/g,t=>EI[t])}const SI=function(e){return e===void 0&&(e={}),{name:"flip",options:e,fn(n){return It(this,null,function*(){var r;const{placement:i,middlewareData:o,rects:l,initialPlacement:a,platform:s,elements:u}=n,F=e,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0}=F,E=ye(F,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]),g=Bi(i),y=Bi(a)===a,w=yield s.isRTL==null?void 0:s.isRTL(u.floating),S=d||(y||!m?[Mu(a)]:function(L){const j=Mu(L);return[hd(L),j,hd(j)]}(a));d||h==="none"||S.push(...function(L,j,J,ee){const te=Ka(L);let D=function($,Q,C){const x=["left","right"],at=["right","left"],pt=["top","bottom"],Ut=["bottom","top"];switch($){case"top":case"bottom":return C?Q?at:x:Q?x:at;case"left":case"right":return Q?pt:Ut;default:return[]}}(Bi(L),J==="start",ee);return te&&(D=D.map($=>$+"-"+te),j&&(D=D.concat(D.map(hd)))),D}(a,m,h,w));const _=[a,...S],b=yield UE(n,E),A=[];let T=((r=o.flip)==null?void 0:r.overflows)||[];if(c&&A.push(b[g]),f){const{main:L,cross:j}=bI(i,l,w);A.push(b[L],b[j])}if(T=[...T,{placement:i,overflows:A}],!A.every(L=>L<=0)){var N,R;const L=(((N=o.flip)==null?void 0:N.index)||0)+1,j=_[L];if(j)return{data:{index:L,overflows:T},reset:{placement:j}};let J=(R=T.filter(ee=>ee.overflows[0]<=0).sort((ee,te)=>ee.overflows[1]-te.overflows[1])[0])==null?void 0:R.placement;if(!J)switch(p){case"bestFit":{var I;const ee=(I=T.map(te=>[te.placement,te.overflows.filter(D=>D>0).reduce((D,$)=>D+$,0)]).sort((te,D)=>te[1]-D[1])[0])==null?void 0:I[0];ee&&(J=ee);break}case"initialPlacement":J=a}if(i!==J)return{reset:{placement:J}}}return{}})}}},AI=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(n){return It(this,null,function*(){const{x:r,y:i}=n,o=yield function(l,a){return It(this,null,function*(){const{placement:s,platform:u,elements:c}=l,f=yield u.isRTL==null?void 0:u.isRTL(c.floating),d=Bi(s),p=Ka(s),h=qa(s)==="x",m=["left","top"].includes(d)?-1:1,E=f&&h?-1:1,g=typeof a=="function"?a(l):a;let{mainAxis:y,crossAxis:w,alignmentAxis:S}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:P({mainAxis:0,crossAxis:0,alignmentAxis:null},g);return p&&typeof S=="number"&&(w=p==="end"?-1*S:S),h?{x:w*E,y:y*m}:{x:y*m,y:w*E}})}(n,e);return{x:r+o.x,y:i+o.y,data:o}})}}};function xI(e){return e==="x"?"y":"x"}const CI=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn(n){return It(this,null,function*(){const{x:r,y:i,placement:o}=n,g=e,{mainAxis:l=!0,crossAxis:a=!1,limiter:s={fn:y=>{let{x:w,y:S}=y;return{x:w,y:S}}}}=g,u=ye(g,["mainAxis","crossAxis","limiter"]),c={x:r,y:i},f=yield UE(n,u),d=qa(Bi(o)),p=xI(d);let h=c[d],m=c[p];if(l){const y=d==="y"?"bottom":"right";h=Zp(h+f[d==="y"?"top":"left"],h,h-f[y])}if(a){const y=p==="y"?"bottom":"right";m=Zp(m+f[p==="y"?"top":"left"],m,m-f[y])}const E=s.fn(W(P({},n),{[d]:h,[p]:m}));return W(P({},E),{data:{x:E.x-r,y:E.y-i}})})}}};function Jt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qn(e){return Jt(e).getComputedStyle(e)}function zE(e){return e instanceof Jt(e).Node}function fi(e){return zE(e)?(e.nodeName||"").toLowerCase():""}let Ns;function jE(){if(Ns)return Ns;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Ns=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Ns):navigator.userAgent}function Rn(e){return e instanceof Jt(e).HTMLElement}function Pn(e){return e instanceof Jt(e).Element}function pv(e){return typeof ShadowRoot=="undefined"?!1:e instanceof Jt(e).ShadowRoot||e instanceof ShadowRoot}function Zc(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Qn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function _I(e){return["table","td","th"].includes(fi(e))}function eh(e){const t=/firefox/i.test(jE()),n=Qn(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(i=>n.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const o=n.contain;return o!=null&&o.includes(i)})}function th(){return/^((?!chrome|android).)*safari/i.test(jE())}function Qm(e){return["html","body","#document"].includes(fi(e))}const hv=Math.min,ia=Math.max,Bu=Math.round;function WE(e){const t=Qn(e);let n=parseFloat(t.width),r=parseFloat(t.height);const i=Rn(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,a=Bu(n)!==o||Bu(r)!==l;return a&&(n=o,r=l),{width:n,height:r,fallback:a}}function YE(e){return Pn(e)?e:e.contextElement}const VE={x:1,y:1};function Ro(e){const t=YE(e);if(!Rn(t))return VE;const n=t.getBoundingClientRect(),{width:r,height:i,fallback:o}=WE(t);let l=(o?Bu(n.width):n.width)/r,a=(o?Bu(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}function Gi(e,t,n,r){var i,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),a=YE(e);let s=VE;t&&(r?Pn(r)&&(s=Ro(r)):s=Ro(e));const u=a?Jt(a):window,c=th()&&n;let f=(l.left+(c&&((i=u.visualViewport)==null?void 0:i.offsetLeft)||0))/s.x,d=(l.top+(c&&((o=u.visualViewport)==null?void 0:o.offsetTop)||0))/s.y,p=l.width/s.x,h=l.height/s.y;if(a){const m=Jt(a),E=r&&Pn(r)?Jt(r):r;let g=m.frameElement;for(;g&&r&&E!==m;){const y=Ro(g),w=g.getBoundingClientRect(),S=getComputedStyle(g);w.x+=(g.clientLeft+parseFloat(S.paddingLeft))*y.x,w.y+=(g.clientTop+parseFloat(S.paddingTop))*y.y,f*=y.x,d*=y.y,p*=y.x,h*=y.y,f+=w.x,d+=w.y,g=Jt(g).frameElement}}return Fu({width:p,height:h,x:f,y:d})}function ri(e){return((zE(e)?e.ownerDocument:e.document)||window.document).documentElement}function ef(e){return Pn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function $E(e){return Gi(ri(e)).left+ef(e).scrollLeft}function Na(e){if(fi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||pv(e)&&e.host||ri(e);return pv(t)?t.host:t}function HE(e){const t=Na(e);return Qm(t)?t.ownerDocument.body:Rn(t)&&Zc(t)?t:HE(t)}function ii(e,t){var n;t===void 0&&(t=[]);const r=HE(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Jt(r);return i?t.concat(o,o.visualViewport||[],Zc(r)?r:[]):t.concat(r,ii(r))}function mv(e,t,n){let r;if(t==="viewport")r=function(l,a){const s=Jt(l),u=ri(l),c=s.visualViewport;let f=u.clientWidth,d=u.clientHeight,p=0,h=0;if(c){f=c.width,d=c.height;const m=th();(!m||m&&a==="fixed")&&(p=c.offsetLeft,h=c.offsetTop)}return{width:f,height:d,x:p,y:h}}(e,n);else if(t==="document")r=function(l){const a=ri(l),s=ef(l),u=l.ownerDocument.body,c=ia(a.scrollWidth,a.clientWidth,u.scrollWidth,u.clientWidth),f=ia(a.scrollHeight,a.clientHeight,u.scrollHeight,u.clientHeight);let d=-s.scrollLeft+$E(l);const p=-s.scrollTop;return Qn(u).direction==="rtl"&&(d+=ia(a.clientWidth,u.clientWidth)-c),{width:c,height:f,x:d,y:p}}(ri(e));else if(Pn(t))r=function(l,a){const s=Gi(l,!0,a==="fixed"),u=s.top+l.clientTop,c=s.left+l.clientLeft,f=Rn(l)?Ro(l):{x:1,y:1};return{width:l.clientWidth*f.x,height:l.clientHeight*f.y,x:c*f.x,y:u*f.y}}(t,n);else{const l=P({},t);if(th()){var i,o;const a=Jt(e);l.x-=((i=a.visualViewport)==null?void 0:i.offsetLeft)||0,l.y-=((o=a.visualViewport)==null?void 0:o.offsetTop)||0}r=l}return Fu(r)}function gv(e,t){return Rn(e)&&Qn(e).position!=="fixed"?t?t(e):e.offsetParent:null}function yv(e,t){const n=Jt(e);if(!Rn(e))return n;let r=gv(e,t);for(;r&&_I(r)&&Qn(r).position==="static";)r=gv(r,t);return r&&(fi(r)==="html"||fi(r)==="body"&&Qn(r).position==="static"&&!eh(r))?n:r||function(i){let o=Na(i);for(;Rn(o)&&!Qm(o);){if(eh(o))return o;o=Na(o)}return null}(e)||n}function kI(e,t,n){const r=Rn(t),i=ri(t),o=Gi(e,!0,n==="fixed",t);let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((fi(t)!=="body"||Zc(i))&&(l=ef(t)),Rn(t)){const s=Gi(t,!0);a.x=s.x+t.clientLeft,a.y=s.y+t.clientTop}else i&&(a.x=$E(i));return{x:o.left+l.scrollLeft-a.x,y:o.top+l.scrollTop-a.y,width:o.width,height:o.height}}const GE={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=n==="clippingAncestors"?function(u,c){const f=c.get(u);if(f)return f;let d=ii(u).filter(E=>Pn(E)&&fi(E)!=="body"),p=null;const h=Qn(u).position==="fixed";let m=h?Na(u):u;for(;Pn(m)&&!Qm(m);){const E=Qn(m),g=eh(m);E.position==="fixed"?p=null:(h?g||p:g||E.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=E:d=d.filter(y=>y!==m),m=Na(m)}return c.set(u,d),d}(t,this._c):[].concat(n),l=[...o,r],a=l[0],s=l.reduce((u,c)=>{const f=mv(t,c,i);return u.top=ia(f.top,u.top),u.right=hv(f.right,u.right),u.bottom=hv(f.bottom,u.bottom),u.left=ia(f.left,u.left),u},mv(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=Rn(n),o=ri(n);if(n===o)return t;let l={scrollLeft:0,scrollTop:0},a={x:1,y:1};const s={x:0,y:0};if((i||!i&&r!=="fixed")&&((fi(n)!=="body"||Zc(o))&&(l=ef(n)),Rn(n))){const u=Gi(n);a=Ro(n),s.x=u.x+n.clientLeft,s.y=u.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-l.scrollLeft*a.x+s.x,y:t.y*a.y-l.scrollTop*a.y+s.y}},isElement:Pn,getDimensions:function(e){return WE(e)},getOffsetParent:yv,getDocumentElement:ri,getScale:Ro,getElementRects(e){return It(this,null,function*(){let{reference:t,floating:n,strategy:r}=e;const i=this.getOffsetParent||yv,o=this.getDimensions;return{reference:kI(t,yield i(n),r),floating:P({x:0,y:0},yield o(n))}})},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Qn(e).direction==="rtl"};function TI(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:l=!0,animationFrame:a=!1}=r,s=i&&!a,u=s||o?[...Pn(e)?ii(e):e.contextElement?ii(e.contextElement):[],...ii(t)]:[];u.forEach(p=>{s&&p.addEventListener("scroll",n,{passive:!0}),o&&p.addEventListener("resize",n)});let c,f=null;l&&(f=new ResizeObserver(()=>{n()}),Pn(e)&&!a&&f.observe(e),Pn(e)||!e.contextElement||a||f.observe(e.contextElement),f.observe(t));let d=a?Gi(e):null;return a&&function p(){const h=Gi(e);!d||h.x===d.x&&h.y===d.y&&h.width===d.width&&h.height===d.height||n(),d=h,c=requestAnimationFrame(p)}(),n(),()=>{var p;u.forEach(h=>{s&&h.removeEventListener("scroll",n),o&&h.removeEventListener("resize",n)}),(p=f)==null||p.disconnect(),f=null,a&&cancelAnimationFrame(c)}}const II=(e,t,n)=>{const r=new Map,i=P({platform:GE},n),o=W(P({},i.platform),{_c:r});return mI(e,t,W(P({},i),{platform:o}))},OI=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?dv({element:t.current,padding:n}).fn(i):{}:t?dv({element:t,padding:n}).fn(i):{}}}};var tu=typeof document!="undefined"?O.useLayoutEffect:O.useEffect;function Uu(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Uu(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!Uu(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function vv(e){const t=O.useRef(e);return tu(()=>{t.current=e}),t}function PI(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,whileElementsMounted:o,open:l}=e,[a,s]=O.useState({x:null,y:null,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[u,c]=O.useState(r);Uu(u,r)||c(r);const f=O.useRef(null),d=O.useRef(null),p=O.useRef(a),h=vv(o),m=vv(i),[E,g]=O.useState(null),[y,w]=O.useState(null),S=O.useCallback(R=>{f.current!==R&&(f.current=R,g(R))},[]),_=O.useCallback(R=>{d.current!==R&&(d.current=R,w(R))},[]),b=O.useCallback(()=>{if(!f.current||!d.current)return;const R={placement:t,strategy:n,middleware:u};m.current&&(R.platform=m.current),II(f.current,d.current,R).then(I=>{const F=W(P({},I),{isPositioned:!0});A.current&&!Uu(p.current,F)&&(p.current=F,br.flushSync(()=>{s(F)}))})},[u,t,n,m]);tu(()=>{l===!1&&p.current.isPositioned&&(p.current.isPositioned=!1,s(R=>W(P({},R),{isPositioned:!1})))},[l]);const A=O.useRef(!1);tu(()=>(A.current=!0,()=>{A.current=!1}),[]),tu(()=>{if(E&&y){if(h.current)return h.current(E,y,b);b()}},[E,y,b,h]);const T=O.useMemo(()=>({reference:f,floating:d,setReference:S,setFloating:_}),[S,_]),N=O.useMemo(()=>({reference:E,floating:y}),[E,y]);return O.useMemo(()=>W(P({},a),{update:b,refs:T,elements:N,reference:S,floating:_}),[a,b,T,N,S,_])}/*! + */var $m=Symbol.for("react.element"),Hm=Symbol.for("react.portal"),Yc=Symbol.for("react.fragment"),Vc=Symbol.for("react.strict_mode"),$c=Symbol.for("react.profiler"),Hc=Symbol.for("react.provider"),Gc=Symbol.for("react.context"),BT=Symbol.for("react.server_context"),Jc=Symbol.for("react.forward_ref"),Qc=Symbol.for("react.suspense"),Kc=Symbol.for("react.suspense_list"),qc=Symbol.for("react.memo"),Xc=Symbol.for("react.lazy"),UT=Symbol.for("react.offscreen"),OE;OE=Symbol.for("react.module.reference");function gn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case $m:switch(e=e.type,e){case Yc:case $c:case Vc:case Qc:case Kc:return e;default:switch(e=e&&e.$$typeof,e){case BT:case Gc:case Jc:case Xc:case qc:case Hc:return e;default:return t}}case Hm:return t}}}be.ContextConsumer=Gc;be.ContextProvider=Hc;be.Element=$m;be.ForwardRef=Jc;be.Fragment=Yc;be.Lazy=Xc;be.Memo=qc;be.Portal=Hm;be.Profiler=$c;be.StrictMode=Vc;be.Suspense=Qc;be.SuspenseList=Kc;be.isAsyncMode=function(){return!1};be.isConcurrentMode=function(){return!1};be.isContextConsumer=function(e){return gn(e)===Gc};be.isContextProvider=function(e){return gn(e)===Hc};be.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===$m};be.isForwardRef=function(e){return gn(e)===Jc};be.isFragment=function(e){return gn(e)===Yc};be.isLazy=function(e){return gn(e)===Xc};be.isMemo=function(e){return gn(e)===qc};be.isPortal=function(e){return gn(e)===Hm};be.isProfiler=function(e){return gn(e)===$c};be.isStrictMode=function(e){return gn(e)===Vc};be.isSuspense=function(e){return gn(e)===Qc};be.isSuspenseList=function(e){return gn(e)===Kc};be.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Yc||e===$c||e===Vc||e===Qc||e===Kc||e===UT||typeof e=="object"&&e!==null&&(e.$$typeof===Xc||e.$$typeof===qc||e.$$typeof===Hc||e.$$typeof===Gc||e.$$typeof===Jc||e.$$typeof===OE||e.getModuleId!==void 0)};be.typeOf=gn;(function(e){e.exports=be})(MT);function zT(){const e=xT();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,o=n={callback:r,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){!i||t===null||(i=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}const dv={notify(){},get:()=>[]};function jT(e,t){let n,r=dv;function i(f){return s(),r.subscribe(f)}function o(){r.notify()}function l(){c.onStateChange&&c.onStateChange()}function a(){return Boolean(n)}function s(){n||(n=t?t.addNestedSub(l):e.subscribe(l),r=zT())}function u(){n&&(n(),n=void 0,r.clear(),r=dv)}const c={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:l,isSubscribed:a,trySubscribe:s,tryUnsubscribe:u,getListeners:()=>r};return c}const WT=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",YT=WT?O.useLayoutEffect:O.useEffect;function VT({store:e,context:t,children:n,serverState:r}){const i=O.useMemo(()=>{const a=jT(e);return{store:e,subscription:a,getServerState:r?()=>r:void 0}},[e,r]),o=O.useMemo(()=>e.getState(),[e]);YT(()=>{const{subscription:a}=i;return a.onStateChange=a.notifyNestedSubs,a.trySubscribe(),o!==e.getState()&&a.notifyNestedSubs(),()=>{a.tryUnsubscribe(),a.onStateChange=void 0}},[i,o]);const l=t||ci;return k.createElement(l.Provider,{value:i},n)}function PE(e=ci){const t=e===ci?CE:()=>O.useContext(e);return function(){const{store:r}=t();return r}}const Gm=PE();function $T(e=ci){const t=e===ci?Gm:PE(e);return function(){return t().dispatch}}const Tr=$T();_T(qp.useSyncExternalStoreWithSelector);AT(br.unstable_batchedUpdates);const NE=k.createContext({canGoBackward:!1,goBackward:()=>{throw new Error("No history go backward function provided")}});function HT({children:e,goBackward:t,canGoBackward:n}){return v(NE.Provider,{value:{goBackward:t,canGoBackward:n},children:e})}function GT(){return k.useContext(NE)}function qa(e){return e.split("-")[1]}function Jm(e){return e==="y"?"height":"width"}function Bi(e){return e.split("-")[0]}function Xa(e){return["top","bottom"].includes(Bi(e))?"x":"y"}function pv(e,t,n){let{reference:r,floating:i}=e;const o=r.x+r.width/2-i.width/2,l=r.y+r.height/2-i.height/2,a=Xa(t),s=Jm(a),u=r[s]/2-i[s]/2,c=a==="x";let f;switch(Bi(t)){case"top":f={x:o,y:r.y-i.height};break;case"bottom":f={x:o,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:l};break;case"left":f={x:r.x-i.width,y:l};break;default:f={x:r.x,y:r.y}}switch(qa(t)){case"start":f[a]-=u*(n&&c?-1:1);break;case"end":f[a]+=u*(n&&c?-1:1)}return f}const JT=(e,t,n)=>It(ml,null,function*(){const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),s=yield l.isRTL==null?void 0:l.isRTL(t);let u=yield l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=pv(u,r,s),d=r,p={},h=0;for(let m=0;m({name:"arrow",options:e,fn(n){return It(this,null,function*(){const{element:r,padding:i=0}=e||{},{x:o,y:l,placement:a,rects:s,platform:u,elements:c}=n;if(r==null)return{};const f=RE(i),d={x:o,y:l},p=Xa(a),h=Jm(p),m=yield u.getDimensions(r),E=p==="y",g=E?"top":"left",y=E?"bottom":"right",w=E?"clientHeight":"clientWidth",S=s.reference[h]+s.reference[p]-d[p]-s.floating[h],_=d[p]-s.reference[p],b=yield u.getOffsetParent==null?void 0:u.getOffsetParent(r);let A=b?b[w]:0;A&&(yield u.isElement==null?void 0:u.isElement(b))||(A=c.floating[w]||s.floating[h]);const T=S/2-_/2,N=f[g],R=A-m[h]-f[y],I=A/2-m[h]/2+T,F=Xp(N,I,R),L=qa(a)!=null&&I!=F&&s.reference[h]/2-(Ie.concat(t,t+"-start",t+"-end"),[]);const XT={left:"right",right:"left",bottom:"top",top:"bottom"};function Bu(e){return e.replace(/left|right|bottom|top/g,t=>XT[t])}function ZT(e,t,n){n===void 0&&(n=!1);const r=qa(e),i=Xa(e),o=Jm(i);let l=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=Bu(l)),{main:l,cross:Bu(l)}}const eI={start:"end",end:"start"};function dd(e){return e.replace(/start|end/g,t=>eI[t])}const tI=function(e){return e===void 0&&(e={}),{name:"flip",options:e,fn(n){return It(this,null,function*(){var r;const{placement:i,middlewareData:o,rects:l,initialPlacement:a,platform:s,elements:u}=n,F=e,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0}=F,E=ye(F,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]),g=Bi(i),y=Bi(a)===a,w=yield s.isRTL==null?void 0:s.isRTL(u.floating),S=d||(y||!m?[Bu(a)]:function(L){const j=Bu(L);return[dd(L),j,dd(j)]}(a));d||h==="none"||S.push(...function(L,j,J,ee){const te=qa(L);let D=function($,Q,C){const x=["left","right"],at=["right","left"],pt=["top","bottom"],Ut=["bottom","top"];switch($){case"top":case"bottom":return C?Q?at:x:Q?x:at;case"left":case"right":return Q?pt:Ut;default:return[]}}(Bi(L),J==="start",ee);return te&&(D=D.map($=>$+"-"+te),j&&(D=D.concat(D.map(dd)))),D}(a,m,h,w));const _=[a,...S],b=yield DE(n,E),A=[];let T=((r=o.flip)==null?void 0:r.overflows)||[];if(c&&A.push(b[g]),f){const{main:L,cross:j}=ZT(i,l,w);A.push(b[L],b[j])}if(T=[...T,{placement:i,overflows:A}],!A.every(L=>L<=0)){var N,R;const L=(((N=o.flip)==null?void 0:N.index)||0)+1,j=_[L];if(j)return{data:{index:L,overflows:T},reset:{placement:j}};let J=(R=T.filter(ee=>ee.overflows[0]<=0).sort((ee,te)=>ee.overflows[1]-te.overflows[1])[0])==null?void 0:R.placement;if(!J)switch(p){case"bestFit":{var I;const ee=(I=T.map(te=>[te.placement,te.overflows.filter(D=>D>0).reduce((D,$)=>D+$,0)]).sort((te,D)=>te[1]-D[1])[0])==null?void 0:I[0];ee&&(J=ee);break}case"initialPlacement":J=a}if(i!==J)return{reset:{placement:J}}}return{}})}}},nI=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(n){return It(this,null,function*(){const{x:r,y:i}=n,o=yield function(l,a){return It(this,null,function*(){const{placement:s,platform:u,elements:c}=l,f=yield u.isRTL==null?void 0:u.isRTL(c.floating),d=Bi(s),p=qa(s),h=Xa(s)==="x",m=["left","top"].includes(d)?-1:1,E=f&&h?-1:1,g=typeof a=="function"?a(l):a;let{mainAxis:y,crossAxis:w,alignmentAxis:S}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:P({mainAxis:0,crossAxis:0,alignmentAxis:null},g);return p&&typeof S=="number"&&(w=p==="end"?-1*S:S),h?{x:w*E,y:y*m}:{x:y*m,y:w*E}})}(n,e);return{x:r+o.x,y:i+o.y,data:o}})}}};function rI(e){return e==="x"?"y":"x"}const iI=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn(n){return It(this,null,function*(){const{x:r,y:i,placement:o}=n,g=e,{mainAxis:l=!0,crossAxis:a=!1,limiter:s={fn:y=>{let{x:w,y:S}=y;return{x:w,y:S}}}}=g,u=ye(g,["mainAxis","crossAxis","limiter"]),c={x:r,y:i},f=yield DE(n,u),d=Xa(Bi(o)),p=rI(d);let h=c[d],m=c[p];if(l){const y=d==="y"?"bottom":"right";h=Xp(h+f[d==="y"?"top":"left"],h,h-f[y])}if(a){const y=p==="y"?"bottom":"right";m=Xp(m+f[p==="y"?"top":"left"],m,m-f[y])}const E=s.fn(W(P({},n),{[d]:h,[p]:m}));return W(P({},E),{data:{x:E.x-r,y:E.y-i}})})}}};function Jt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qn(e){return Jt(e).getComputedStyle(e)}function LE(e){return e instanceof Jt(e).Node}function fi(e){return LE(e)?(e.nodeName||"").toLowerCase():""}let Rs;function FE(){if(Rs)return Rs;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Rs=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Rs):navigator.userAgent}function Rn(e){return e instanceof Jt(e).HTMLElement}function Pn(e){return e instanceof Jt(e).Element}function mv(e){return typeof ShadowRoot=="undefined"?!1:e instanceof Jt(e).ShadowRoot||e instanceof ShadowRoot}function Zc(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Qn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function oI(e){return["table","td","th"].includes(fi(e))}function Zp(e){const t=/firefox/i.test(FE()),n=Qn(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(i=>n.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const o=n.contain;return o!=null&&o.includes(i)})}function eh(){return/^((?!chrome|android).)*safari/i.test(FE())}function Qm(e){return["html","body","#document"].includes(fi(e))}const gv=Math.min,ia=Math.max,Uu=Math.round;function ME(e){const t=Qn(e);let n=parseFloat(t.width),r=parseFloat(t.height);const i=Rn(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,a=Uu(n)!==o||Uu(r)!==l;return a&&(n=o,r=l),{width:n,height:r,fallback:a}}function BE(e){return Pn(e)?e:e.contextElement}const UE={x:1,y:1};function Ro(e){const t=BE(e);if(!Rn(t))return UE;const n=t.getBoundingClientRect(),{width:r,height:i,fallback:o}=ME(t);let l=(o?Uu(n.width):n.width)/r,a=(o?Uu(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}function Gi(e,t,n,r){var i,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),a=BE(e);let s=UE;t&&(r?Pn(r)&&(s=Ro(r)):s=Ro(e));const u=a?Jt(a):window,c=eh()&&n;let f=(l.left+(c&&((i=u.visualViewport)==null?void 0:i.offsetLeft)||0))/s.x,d=(l.top+(c&&((o=u.visualViewport)==null?void 0:o.offsetTop)||0))/s.y,p=l.width/s.x,h=l.height/s.y;if(a){const m=Jt(a),E=r&&Pn(r)?Jt(r):r;let g=m.frameElement;for(;g&&r&&E!==m;){const y=Ro(g),w=g.getBoundingClientRect(),S=getComputedStyle(g);w.x+=(g.clientLeft+parseFloat(S.paddingLeft))*y.x,w.y+=(g.clientTop+parseFloat(S.paddingTop))*y.y,f*=y.x,d*=y.y,p*=y.x,h*=y.y,f+=w.x,d+=w.y,g=Jt(g).frameElement}}return Mu({width:p,height:h,x:f,y:d})}function ri(e){return((LE(e)?e.ownerDocument:e.document)||window.document).documentElement}function ef(e){return Pn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function zE(e){return Gi(ri(e)).left+ef(e).scrollLeft}function Na(e){if(fi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||mv(e)&&e.host||ri(e);return mv(t)?t.host:t}function jE(e){const t=Na(e);return Qm(t)?t.ownerDocument.body:Rn(t)&&Zc(t)?t:jE(t)}function ii(e,t){var n;t===void 0&&(t=[]);const r=jE(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Jt(r);return i?t.concat(o,o.visualViewport||[],Zc(r)?r:[]):t.concat(r,ii(r))}function yv(e,t,n){let r;if(t==="viewport")r=function(l,a){const s=Jt(l),u=ri(l),c=s.visualViewport;let f=u.clientWidth,d=u.clientHeight,p=0,h=0;if(c){f=c.width,d=c.height;const m=eh();(!m||m&&a==="fixed")&&(p=c.offsetLeft,h=c.offsetTop)}return{width:f,height:d,x:p,y:h}}(e,n);else if(t==="document")r=function(l){const a=ri(l),s=ef(l),u=l.ownerDocument.body,c=ia(a.scrollWidth,a.clientWidth,u.scrollWidth,u.clientWidth),f=ia(a.scrollHeight,a.clientHeight,u.scrollHeight,u.clientHeight);let d=-s.scrollLeft+zE(l);const p=-s.scrollTop;return Qn(u).direction==="rtl"&&(d+=ia(a.clientWidth,u.clientWidth)-c),{width:c,height:f,x:d,y:p}}(ri(e));else if(Pn(t))r=function(l,a){const s=Gi(l,!0,a==="fixed"),u=s.top+l.clientTop,c=s.left+l.clientLeft,f=Rn(l)?Ro(l):{x:1,y:1};return{width:l.clientWidth*f.x,height:l.clientHeight*f.y,x:c*f.x,y:u*f.y}}(t,n);else{const l=P({},t);if(eh()){var i,o;const a=Jt(e);l.x-=((i=a.visualViewport)==null?void 0:i.offsetLeft)||0,l.y-=((o=a.visualViewport)==null?void 0:o.offsetTop)||0}r=l}return Mu(r)}function vv(e,t){return Rn(e)&&Qn(e).position!=="fixed"?t?t(e):e.offsetParent:null}function wv(e,t){const n=Jt(e);if(!Rn(e))return n;let r=vv(e,t);for(;r&&oI(r)&&Qn(r).position==="static";)r=vv(r,t);return r&&(fi(r)==="html"||fi(r)==="body"&&Qn(r).position==="static"&&!Zp(r))?n:r||function(i){let o=Na(i);for(;Rn(o)&&!Qm(o);){if(Zp(o))return o;o=Na(o)}return null}(e)||n}function lI(e,t,n){const r=Rn(t),i=ri(t),o=Gi(e,!0,n==="fixed",t);let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((fi(t)!=="body"||Zc(i))&&(l=ef(t)),Rn(t)){const s=Gi(t,!0);a.x=s.x+t.clientLeft,a.y=s.y+t.clientTop}else i&&(a.x=zE(i));return{x:o.left+l.scrollLeft-a.x,y:o.top+l.scrollTop-a.y,width:o.width,height:o.height}}const WE={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=n==="clippingAncestors"?function(u,c){const f=c.get(u);if(f)return f;let d=ii(u).filter(E=>Pn(E)&&fi(E)!=="body"),p=null;const h=Qn(u).position==="fixed";let m=h?Na(u):u;for(;Pn(m)&&!Qm(m);){const E=Qn(m),g=Zp(m);E.position==="fixed"?p=null:(h?g||p:g||E.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=E:d=d.filter(y=>y!==m),m=Na(m)}return c.set(u,d),d}(t,this._c):[].concat(n),l=[...o,r],a=l[0],s=l.reduce((u,c)=>{const f=yv(t,c,i);return u.top=ia(f.top,u.top),u.right=gv(f.right,u.right),u.bottom=gv(f.bottom,u.bottom),u.left=ia(f.left,u.left),u},yv(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=Rn(n),o=ri(n);if(n===o)return t;let l={scrollLeft:0,scrollTop:0},a={x:1,y:1};const s={x:0,y:0};if((i||!i&&r!=="fixed")&&((fi(n)!=="body"||Zc(o))&&(l=ef(n)),Rn(n))){const u=Gi(n);a=Ro(n),s.x=u.x+n.clientLeft,s.y=u.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-l.scrollLeft*a.x+s.x,y:t.y*a.y-l.scrollTop*a.y+s.y}},isElement:Pn,getDimensions:function(e){return ME(e)},getOffsetParent:wv,getDocumentElement:ri,getScale:Ro,getElementRects(e){return It(this,null,function*(){let{reference:t,floating:n,strategy:r}=e;const i=this.getOffsetParent||wv,o=this.getDimensions;return{reference:lI(t,yield i(n),r),floating:P({x:0,y:0},yield o(n))}})},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Qn(e).direction==="rtl"};function aI(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:l=!0,animationFrame:a=!1}=r,s=i&&!a,u=s||o?[...Pn(e)?ii(e):e.contextElement?ii(e.contextElement):[],...ii(t)]:[];u.forEach(p=>{s&&p.addEventListener("scroll",n,{passive:!0}),o&&p.addEventListener("resize",n)});let c,f=null;l&&(f=new ResizeObserver(()=>{n()}),Pn(e)&&!a&&f.observe(e),Pn(e)||!e.contextElement||a||f.observe(e.contextElement),f.observe(t));let d=a?Gi(e):null;return a&&function p(){const h=Gi(e);!d||h.x===d.x&&h.y===d.y&&h.width===d.width&&h.height===d.height||n(),d=h,c=requestAnimationFrame(p)}(),n(),()=>{var p;u.forEach(h=>{s&&h.removeEventListener("scroll",n),o&&h.removeEventListener("resize",n)}),(p=f)==null||p.disconnect(),f=null,a&&cancelAnimationFrame(c)}}const sI=(e,t,n)=>{const r=new Map,i=P({platform:WE},n),o=W(P({},i.platform),{_c:r});return JT(e,t,W(P({},i),{platform:o}))},uI=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?hv({element:t.current,padding:n}).fn(i):{}:t?hv({element:t,padding:n}).fn(i):{}}}};var tu=typeof document!="undefined"?O.useLayoutEffect:O.useEffect;function zu(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!zu(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!zu(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function bv(e){const t=O.useRef(e);return tu(()=>{t.current=e}),t}function cI(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,whileElementsMounted:o,open:l}=e,[a,s]=O.useState({x:null,y:null,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[u,c]=O.useState(r);zu(u,r)||c(r);const f=O.useRef(null),d=O.useRef(null),p=O.useRef(a),h=bv(o),m=bv(i),[E,g]=O.useState(null),[y,w]=O.useState(null),S=O.useCallback(R=>{f.current!==R&&(f.current=R,g(R))},[]),_=O.useCallback(R=>{d.current!==R&&(d.current=R,w(R))},[]),b=O.useCallback(()=>{if(!f.current||!d.current)return;const R={placement:t,strategy:n,middleware:u};m.current&&(R.platform=m.current),sI(f.current,d.current,R).then(I=>{const F=W(P({},I),{isPositioned:!0});A.current&&!zu(p.current,F)&&(p.current=F,br.flushSync(()=>{s(F)}))})},[u,t,n,m]);tu(()=>{l===!1&&p.current.isPositioned&&(p.current.isPositioned=!1,s(R=>W(P({},R),{isPositioned:!1})))},[l]);const A=O.useRef(!1);tu(()=>(A.current=!0,()=>{A.current=!1}),[]),tu(()=>{if(E&&y){if(h.current)return h.current(E,y,b);b()}},[E,y,b,h]);const T=O.useMemo(()=>({reference:f,floating:d,setReference:S,setFloating:_}),[S,_]),N=O.useMemo(()=>({reference:E,floating:y}),[E,y]);return O.useMemo(()=>W(P({},a),{update:b,refs:T,elements:N,reference:S,floating:_}),[a,b,T,N,S,_])}/*! * tabbable 6.1.1 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE -*/var NI=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],nh=NI.join(","),JE=typeof Element=="undefined",Ra=JE?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,zu=!JE&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},ju=function e(t,n){var r;n===void 0&&(n=!0);var i=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),o=i===""||i==="true",l=o||n&&t&&e(t.parentNode);return l},RI=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},DI=function(t,n,r){if(ju(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(nh));return n&&Ra.call(t,nh)&&i.unshift(t),i=i.filter(r),i},LI=function e(t,n,r){for(var i=[],o=Array.from(t);o.length;){var l=o.shift();if(!ju(l,!1))if(l.tagName==="SLOT"){var a=l.assignedElements(),s=a.length?a:l.children,u=e(s,!0,r);r.flatten?i.push.apply(i,u):i.push({scopeParent:l,candidates:u})}else{var c=Ra.call(l,nh);c&&r.filter(l)&&(n||!t.includes(l))&&i.push(l);var f=l.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(l),d=!ju(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(l));if(f&&d){var p=e(f===!0?l.children:f.children,!0,r);r.flatten?i.push.apply(i,p):i.push({scopeParent:l,candidates:p})}else o.unshift.apply(o,l.children)}}return i},QE=function(t,n){return t.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||RI(t))&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},FI=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},KE=function(t){return t.tagName==="INPUT"},MI=function(t){return KE(t)&&t.type==="hidden"},BI=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},UI=function(t,n){for(var r=0;rsummary:first-of-type"),l=o?t.parentElement:t;if(Ra.call(l,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof i=="function"){for(var a=t;t;){var s=t.parentElement,u=zu(t);if(s&&!s.shadowRoot&&i(s)===!0)return wv(t);t.assignedSlot?t=t.assignedSlot:!s&&u!==t.ownerDocument?t=u.host:t=s}t=a}if(YI(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return wv(t);return!1},$I=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r=0)},JI=function e(t){var n=[],r=[];return t.forEach(function(i,o){var l=!!i.scopeParent,a=l?i.scopeParent:i,s=QE(a,l),u=l?e(i.candidates):a;s===0?l?n.push.apply(n,u):n.push(a):r.push({documentOrder:o,tabIndex:s,item:i,isScope:l,content:u})}),r.sort(FI).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.push(o.content),i},[]).concat(n)},qE=function(t,n){n=n||{};var r;return n.getShadowRoot?r=LI([t],n.includeContainer,{filter:bv.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:GI}):r=DI(t,n.includeContainer,bv.bind(null,n)),JI(r)};function Wu(){return Wu=Object.assign||function(e){for(var t=1;t"floating-ui-"+QI++;function KI(){const[e,t]=O.useState(()=>md?Ev():void 0);return Ji(()=>{e==null&&t(Ev())},[]),O.useEffect(()=>{md||(md=!0)},[]),e}const qI=hw["useId".toString()],tf=qI||KI,XI=O.forwardRef(function(t,n){var r;let J=t,{context:{placement:i,elements:{floating:o},middlewareData:{arrow:l}},width:a=14,height:s=7,tipRadius:u=0,strokeWidth:c=0,staticOffset:f,stroke:d,d:p}=J,h=ye(J,["context","width","height","tipRadius","strokeWidth","staticOffset","stroke","d"]);c*=2;const m=c/2,E=a/2*(u/-8+1),g=s/2*u/4,[y,w]=i.split("-"),S=o?GE.isRTL(o):!1,_=!!p,b=y==="top"||y==="bottom",A=f&&w==="end"?"bottom":"top";let T=f&&w==="end"?"right":"left";f&&S&&(T=w==="end"?"left":"right");const N=_?0:m,R=(l==null?void 0:l.x)!=null?f||l.x:"",I=(l==null?void 0:l.y)!=null?f||l.y+N:"",F=p||"M0,0"+(" H"+a)+(" L"+(a-E)+","+(s-g))+(" Q"+a/2+","+s+" "+E+","+(s-g))+" Z",L={top:_?"rotate(180deg)":"",left:_?"rotate(90deg)":"rotate(-90deg)",bottom:_?"":"rotate(180deg)",right:_?"rotate(-90deg)":"rotate(90deg)"}[y],j=tf();return O.createElement("svg",Wu({},h,{suppressHydrationWarning:!0,"aria-hidden":!0,ref:n,width:_?a:a+c,height:a,viewBox:"0 0 "+a+" "+(s>a?s:a),style:W(P({},h.style),{position:"absolute",pointerEvents:"none",[T]:R,[A]:I,[y]:b||_?"100%":"calc(100% - "+c/2+"px)",transform:""+L+((r=h.style)!=null&&r.transform?" "+h.style.transform:"")})}),c>0&&O.createElement("path",{clipPath:"url(#"+j+")",fill:"none",stroke:d,strokeWidth:c+(p?0:1),d:F}),O.createElement("path",{stroke:c&&!p?h.fill:"none",d:F}),O.createElement("clipPath",{id:j},O.createElement("rect",{x:-m,y:m*(_?-1:1),width:a+c,height:a})))});function ZI(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(i=>i(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){e.set(t,(e.get(t)||[]).filter(r=>r!==n))}}}const eO=O.createContext(null),tO=O.createContext(null),XE=()=>{var e;return((e=O.useContext(eO))==null?void 0:e.id)||null},Km=()=>O.useContext(tO);function gr(e){return(e==null?void 0:e.ownerDocument)||document}function nO(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function rO(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}function nf(e){return gr(e).defaultView||window}function $n(e){return e?e instanceof nf(e).Element:!1}function ZE(e){return e?e instanceof nf(e).HTMLElement:!1}function iO(e){if(typeof ShadowRoot=="undefined")return!1;const t=nf(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function oO(e){if(e.mozInputSource===0&&e.isTrusted)return!0;const t=/Android/i;return(t.test(nO())||t.test(rO()))&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function lO(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType!=="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0}function aO(){return/apple/i.test(navigator.vendor)}function eS(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function Sv(e){const t=O.useRef(e);return Ji(()=>{t.current=e}),t}const Av="data-floating-ui-safe-polygon";function gd(e,t,n){return n&&!eS(n)?0:typeof e=="number"?e:e==null?void 0:e[t]}const sO=function(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:i,events:o,elements:{domReference:l,floating:a},refs:s}=e,{enabled:u=!0,delay:c=0,handleClose:f=null,mouseOnly:d=!1,restMs:p=0,move:h=!0}=t,m=Km(),E=XE(),g=Sv(f),y=Sv(c),w=O.useRef(),S=O.useRef(),_=O.useRef(),b=O.useRef(),A=O.useRef(!0),T=O.useRef(!1),N=O.useRef(()=>{}),R=O.useCallback(()=>{var j;const J=(j=i.current.openEvent)==null?void 0:j.type;return(J==null?void 0:J.includes("mouse"))&&J!=="mousedown"},[i]);O.useEffect(()=>{if(!u)return;function j(){clearTimeout(S.current),clearTimeout(b.current),A.current=!0}return o.on("dismiss",j),()=>{o.off("dismiss",j)}},[u,o]),O.useEffect(()=>{if(!u||!g.current||!n)return;function j(){R()&&r(!1)}const J=gr(a).documentElement;return J.addEventListener("mouseleave",j),()=>{J.removeEventListener("mouseleave",j)}},[a,n,r,u,g,i,R]);const I=O.useCallback(function(j){j===void 0&&(j=!0);const J=gd(y.current,"close",w.current);J&&!_.current?(clearTimeout(S.current),S.current=setTimeout(()=>r(!1),J)):j&&(clearTimeout(S.current),r(!1))},[y,r]),F=O.useCallback(()=>{N.current(),_.current=void 0},[]),L=O.useCallback(()=>{if(T.current){const j=gr(s.floating.current).body;j.style.pointerEvents="",j.removeAttribute(Av),T.current=!1}},[s]);return O.useEffect(()=>{if(!u)return;function j(){return i.current.openEvent?["click","mousedown"].includes(i.current.openEvent.type):!1}function J(D){if(clearTimeout(S.current),A.current=!1,d&&!eS(w.current)||p>0&&gd(y.current,"open")===0)return;i.current.openEvent=D;const $=gd(y.current,"open",w.current);$?S.current=setTimeout(()=>{r(!0)},$):r(!0)}function ee(D){if(j())return;N.current();const $=gr(a);if(clearTimeout(b.current),g.current){n||clearTimeout(S.current),_.current=g.current(W(P({},e),{tree:m,x:D.clientX,y:D.clientY,onClose(){L(),F(),I()}}));const Q=_.current;$.addEventListener("mousemove",Q),N.current=()=>{$.removeEventListener("mousemove",Q)};return}I()}function te(D){j()||g.current==null||g.current(W(P({},e),{tree:m,x:D.clientX,y:D.clientY,onClose(){L(),F(),I()}}))(D)}if($n(l)){const D=l;return n&&D.addEventListener("mouseleave",te),a==null||a.addEventListener("mouseleave",te),h&&D.addEventListener("mousemove",J,{once:!0}),D.addEventListener("mouseenter",J),D.addEventListener("mouseleave",ee),()=>{n&&D.removeEventListener("mouseleave",te),a==null||a.removeEventListener("mouseleave",te),h&&D.removeEventListener("mousemove",J),D.removeEventListener("mouseenter",J),D.removeEventListener("mouseleave",ee)}}},[l,a,u,e,d,p,h,I,F,L,r,n,m,y,g,i]),Ji(()=>{var j;if(u&&n&&(j=g.current)!=null&&j.__options.blockPointerEvents&&R()){const te=gr(a).body;if(te.setAttribute(Av,""),te.style.pointerEvents="none",T.current=!0,$n(l)&&a){var J,ee;const D=l,$=m==null||(J=m.nodesRef.current.find(Q=>Q.id===E))==null||(ee=J.context)==null?void 0:ee.elements.floating;return $&&($.style.pointerEvents=""),D.style.pointerEvents="auto",a.style.pointerEvents="auto",()=>{D.style.pointerEvents="",a.style.pointerEvents=""}}}},[u,n,E,a,l,m,g,i,R]),Ji(()=>{n||(w.current=void 0,F(),L())},[n,F,L]),O.useEffect(()=>()=>{F(),clearTimeout(S.current),clearTimeout(b.current),L()},[u,F,L]),O.useMemo(()=>{if(!u)return{};function j(J){w.current=J.pointerType}return{reference:{onPointerDown:j,onPointerEnter:j,onMouseMove(){n||p===0||(clearTimeout(b.current),b.current=setTimeout(()=>{A.current||r(!0)},p))}},floating:{onMouseEnter(){clearTimeout(S.current)},onMouseLeave(){o.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),I(!1)}}}},[o,u,p,n,r,I])};function tS(e){let t=e.activeElement;for(;((n=t)==null||(r=n.shadowRoot)==null?void 0:r.activeElement)!=null;){var n,r;t=t.shadowRoot.activeElement}return t}function rh(e,t){if(!e||!t)return!1;const n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&iO(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function yd(e,t){let n=e.filter(i=>{var o;return i.parentId===t&&((o=i.context)==null?void 0:o.open)})||[],r=n;for(;r.length;)r=e.filter(i=>{var o;return(o=r)==null?void 0:o.some(l=>{var a;return i.parentId===l.id&&((a=i.context)==null?void 0:a.open)})})||[],n=n.concat(r);return n}function uO(e){return"composedPath"in e?e.composedPath()[0]:e.target}const nS=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function rS(e,t){const n=qE(e,nS());t==="prev"&&n.reverse();const r=n.indexOf(tS(gr(e)));return n.slice(r+1)[0]}function cO(){return rS(document.body,"next")}function fO(){return rS(document.body,"prev")}function vd(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!rh(n,r)}function dO(e){qE(e,nS()).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function pO(e){e.querySelectorAll("[data-tabindex]").forEach(n=>{const r=n.dataset.tabindex;delete n.dataset.tabindex,r?n.setAttribute("tabindex",r):n.removeAttribute("tabindex")})}const iS={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};let hO;function xv(e){e.key==="Tab"&&(e.target,clearTimeout(hO))}const Cv=O.forwardRef(function(t,n){const[r,i]=O.useState();return Ji(()=>(aO()&&i("button"),document.addEventListener("keydown",xv),()=>{document.removeEventListener("keydown",xv)}),[]),O.createElement("span",Wu({},t,{ref:n,tabIndex:0,role:r,"aria-hidden":r?void 0:!0,"data-floating-ui-focus-guard":"",style:iS}))}),oS=O.createContext(null),mO=function(e){let{id:t,root:n}=e===void 0?{}:e;const[r,i]=O.useState(null),o=tf(),l=yO();return Ji(()=>{const a=t?document.getElementById(t):null,s="data-floating-ui-portal";if(a){const u=document.createElement("div");return u.id=o,u.setAttribute(s,""),a.appendChild(u),i(u),()=>{u.remove()}}else{let u=(l==null?void 0:l.portalNode)||n||document.body,c=null;t&&(c=document.createElement("div"),c.id=t,u.appendChild(c));const f=document.createElement("div");return f.id=o,f.setAttribute(s,""),i(f),u=c||u,u.appendChild(f),()=>{var d;f.remove(),(d=c)==null||d.remove()}}},[t,n,l,o]),r},gO=e=>{let{children:t,id:n,root:r=null,preserveTabOrder:i=!0}=e;const o=mO({id:n,root:r}),[l,a]=O.useState(null),s=O.useRef(null),u=O.useRef(null),c=O.useRef(null),f=O.useRef(null),d=!!l&&!l.modal&&!!(r||o)&&i;return O.useEffect(()=>{if(!o||!i||l!=null&&l.modal)return;function p(h){o&&vd(h)&&(h.type==="focusin"?pO:dO)(o)}return o.addEventListener("focusin",p,!0),o.addEventListener("focusout",p,!0),()=>{o.removeEventListener("focusin",p,!0),o.removeEventListener("focusout",p,!0)}},[o,i,l==null?void 0:l.modal]),O.createElement(oS.Provider,{value:O.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:s,afterOutsideRef:u,beforeInsideRef:c,afterInsideRef:f,portalNode:o,setFocusManagerState:a}),[i,o])},d&&o&&O.createElement(Cv,{"data-type":"outside",ref:s,onFocus:p=>{if(vd(p,o)){var h;(h=c.current)==null||h.focus()}else{const m=fO()||(l==null?void 0:l.refs.domReference.current);m==null||m.focus()}}}),d&&o&&O.createElement("span",{"aria-owns":o.id,style:iS}),o&&br.createPortal(t,o),d&&o&&O.createElement(Cv,{"data-type":"outside",ref:u,onFocus:p=>{if(vd(p,o)){var h;(h=f.current)==null||h.focus()}else{const m=cO()||(l==null?void 0:l.refs.domReference.current);m==null||m.focus(),l!=null&&l.closeOnFocusOut&&(l==null||l.onOpenChange(!1))}}}))},yO=()=>O.useContext(oS),vO=hw["useInsertionEffect".toString()],wO=vO||(e=>e());function nu(e){const t=O.useRef(()=>{});return wO(()=>{t.current=e}),O.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;i{var t,n;return{escapeKeyBubbles:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePressBubbles:typeof e=="boolean"?e:(n=e==null?void 0:e.outsidePress)!=null?n:!0}},AO=function(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,events:i,nodeId:o,elements:{reference:l,domReference:a,floating:s},dataRef:u}=e,{enabled:c=!0,escapeKey:f=!0,outsidePress:d=!0,outsidePressEvent:p="pointerdown",referencePress:h=!1,referencePressEvent:m="pointerdown",ancestorScroll:E=!1,bubbles:g}=t,y=Km(),w=XE()!=null,S=nu(typeof d=="function"?d:()=>!1),_=typeof d=="function"?S:d,b=O.useRef(!1),{escapeKeyBubbles:A,outsidePressBubbles:T}=SO(g),N=nu(I=>{if(!n||!c||!f||I.key!=="Escape")return;const F=y?yd(y.nodesRef.current,o):[];if(!A&&(I.stopPropagation(),F.length>0)){let L=!0;if(F.forEach(j=>{var J;if((J=j.context)!=null&&J.open&&!j.context.dataRef.current.__escapeKeyBubbles){L=!1;return}}),!L)return}i.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),r(!1)}),R=nu(I=>{const F=b.current;if(b.current=!1,F||typeof _=="function"&&!_(I))return;const L=uO(I);if(ZE(L)&&s){const ee=L.clientWidth>0&&L.scrollWidth>L.clientWidth,te=L.clientHeight>0&&L.scrollHeight>L.clientHeight;let D=te&&I.offsetX>L.clientWidth;if(te&&nf(s).getComputedStyle(L).direction==="rtl"&&(D=I.offsetX<=L.offsetWidth-L.clientWidth),D||ee&&I.offsetY>L.clientHeight)return}const j=y&&yd(y.nodesRef.current,o).some(ee=>{var te;return ru(I,(te=ee.context)==null?void 0:te.elements.floating)});if(ru(I,s)||ru(I,a)||j)return;const J=y?yd(y.nodesRef.current,o):[];if(J.length>0){let ee=!0;if(J.forEach(te=>{var D;if((D=te.context)!=null&&D.open&&!te.context.dataRef.current.__outsidePressBubbles){ee=!1;return}}),!ee)return}i.emit("dismiss",{type:"outsidePress",data:{returnFocus:w?{preventScroll:!0}:oO(I)||lO(I)}}),r(!1)});return O.useEffect(()=>{if(!n||!c)return;u.current.__escapeKeyBubbles=A,u.current.__outsidePressBubbles=T;function I(){r(!1)}const F=gr(s);f&&F.addEventListener("keydown",N),_&&F.addEventListener(p,R);let L=[];return E&&($n(a)&&(L=ii(a)),$n(s)&&(L=L.concat(ii(s))),!$n(l)&&l&&l.contextElement&&(L=L.concat(ii(l.contextElement)))),L=L.filter(j=>{var J;return j!==((J=F.defaultView)==null?void 0:J.visualViewport)}),L.forEach(j=>{j.addEventListener("scroll",I,{passive:!0})}),()=>{f&&F.removeEventListener("keydown",N),_&&F.removeEventListener(p,R),L.forEach(j=>{j.removeEventListener("scroll",I)})}},[u,s,a,l,f,_,p,n,r,E,c,A,T,N,R]),O.useEffect(()=>{b.current=!1},[_,p]),O.useMemo(()=>c?{reference:{onKeyDown:N,[bO[m]]:()=>{h&&(i.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),r(!1))}},floating:{onKeyDown:N,[EO[p]]:()=>{b.current=!0}}}:{},[c,i,h,p,m,r,N])},xO=function(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:i,events:o,refs:l,elements:{floating:a,domReference:s}}=e,{enabled:u=!0,keyboardOnly:c=!0}=t,f=O.useRef(""),d=O.useRef(!1),p=O.useRef();return O.useEffect(()=>{if(!u)return;const m=gr(a).defaultView||window;function E(){!n&&ZE(s)&&s===tS(gr(s))&&(d.current=!0)}return m.addEventListener("blur",E),()=>{m.removeEventListener("blur",E)}},[a,s,n,u]),O.useEffect(()=>{if(!u)return;function h(m){(m.type==="referencePress"||m.type==="escapeKey")&&(d.current=!0)}return o.on("dismiss",h),()=>{o.off("dismiss",h)}},[o,u]),O.useEffect(()=>()=>{clearTimeout(p.current)},[]),O.useMemo(()=>u?{reference:{onPointerDown(h){let{pointerType:m}=h;f.current=m,d.current=!!(m&&c)},onMouseLeave(){d.current=!1},onFocus(h){var m;d.current||h.type==="focus"&&((m=i.current.openEvent)==null?void 0:m.type)==="mousedown"&&i.current.openEvent&&ru(i.current.openEvent,s)||(i.current.openEvent=h.nativeEvent,r(!0))},onBlur(h){d.current=!1;const m=h.relatedTarget,E=$n(m)&&m.hasAttribute("data-floating-ui-focus-guard")&&m.getAttribute("data-type")==="outside";p.current=setTimeout(()=>{rh(l.floating.current,m)||rh(s,m)||E||r(!1)})}}}:{},[u,c,s,l,i,r])};function lS(e){return O.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})},e)}const CO=function(e,t){t===void 0&&(t={});const{open:n,floatingId:r}=e,{enabled:i=!0,role:o="dialog"}=t,l=tf();return O.useMemo(()=>{const a={id:r,role:o};return i?o==="tooltip"?{reference:{"aria-describedby":n?r:void 0},floating:a}:{reference:P(P({"aria-expanded":n?"true":"false","aria-haspopup":o==="alertdialog"?"dialog":o,"aria-controls":n?r:void 0},o==="listbox"&&{role:"combobox"}),o==="menu"&&{id:l}),floating:P(P({},a),o==="menu"&&{"aria-labelledby":l})}:{}},[i,o,n,r,l])};function _O(e){e===void 0&&(e={});const{open:t=!1,onOpenChange:n,nodeId:r}=e,i=PI(e),o=Km(),l=O.useRef(null),a=O.useRef({}),s=O.useState(()=>ZI())[0],u=tf(),[c,f]=O.useState(null),d=O.useCallback(y=>{const w=$n(y)?{getBoundingClientRect:()=>y.getBoundingClientRect(),contextElement:y}:y;i.refs.setReference(w)},[i.refs]),p=O.useCallback(y=>{($n(y)||y===null)&&(l.current=y,f(y)),($n(i.refs.reference.current)||i.refs.reference.current===null||y!==null&&!$n(y))&&i.refs.setReference(y)},[i.refs]),h=O.useMemo(()=>W(P({},i.refs),{setReference:p,setPositionReference:d,domReference:l}),[i.refs,p,d]),m=O.useMemo(()=>W(P({},i.elements),{domReference:c}),[i.elements,c]),E=nu(n),g=O.useMemo(()=>W(P({},i),{refs:h,elements:m,dataRef:a,nodeId:r,floatingId:u,events:s,open:t,onOpenChange:E}),[i,r,u,s,t,E,h,m]);return Ji(()=>{const y=o==null?void 0:o.nodesRef.current.find(w=>w.id===r);y&&(y.context=g)}),O.useMemo(()=>W(P({},i),{context:g,refs:h,elements:m,reference:p,positionReference:d}),[i,h,m,g,p,d])}function wd(e,t,n){const r=new Map;return P(P(P({},n==="floating"&&{tabIndex:-1}),e),t.map(i=>i?i[n]:null).concat(e).reduce((i,o)=>(o&&Object.entries(o).forEach(l=>{let[a,s]=l;if(a.indexOf("on")===0){if(r.has(a)||r.set(a,[]),typeof s=="function"){var u;(u=r.get(a))==null||u.push(s),i[a]=function(){for(var c,f=arguments.length,d=new Array(f),p=0;ph(...d))}}}else i[a]=s}),i),{}))}const kO=function(e){e===void 0&&(e=[]);const t=e,n=O.useCallback(o=>wd(o,e,"reference"),t),r=O.useCallback(o=>wd(o,e,"floating"),t),i=O.useCallback(o=>wd(o,e,"item"),e.map(o=>o==null?void 0:o.item));return O.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:i}),[n,r,i])},_v=["http","https","mailto","tel"];function TO(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let i=-1;for(;++i<_v.length;){const o=_v[i];if(r===o.length&&t.slice(0,o.length).toLowerCase()===o)return t}return i=t.indexOf("?"),i!==-1&&r>i||(i=t.indexOf("#"),i!==-1&&r>i)?t:"javascript:void(0)"}/*! +*/var fI=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],th=fI.join(","),YE=typeof Element=="undefined",Ra=YE?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ju=!YE&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},Wu=function e(t,n){var r;n===void 0&&(n=!0);var i=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),o=i===""||i==="true",l=o||n&&t&&e(t.parentNode);return l},dI=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},pI=function(t,n,r){if(Wu(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(th));return n&&Ra.call(t,th)&&i.unshift(t),i=i.filter(r),i},hI=function e(t,n,r){for(var i=[],o=Array.from(t);o.length;){var l=o.shift();if(!Wu(l,!1))if(l.tagName==="SLOT"){var a=l.assignedElements(),s=a.length?a:l.children,u=e(s,!0,r);r.flatten?i.push.apply(i,u):i.push({scopeParent:l,candidates:u})}else{var c=Ra.call(l,th);c&&r.filter(l)&&(n||!t.includes(l))&&i.push(l);var f=l.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(l),d=!Wu(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(l));if(f&&d){var p=e(f===!0?l.children:f.children,!0,r);r.flatten?i.push.apply(i,p):i.push({scopeParent:l,candidates:p})}else o.unshift.apply(o,l.children)}}return i},VE=function(t,n){return t.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||dI(t))&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},mI=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},$E=function(t){return t.tagName==="INPUT"},gI=function(t){return $E(t)&&t.type==="hidden"},yI=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},vI=function(t,n){for(var r=0;rsummary:first-of-type"),l=o?t.parentElement:t;if(Ra.call(l,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof i=="function"){for(var a=t;t;){var s=t.parentElement,u=ju(t);if(s&&!s.shadowRoot&&i(s)===!0)return Ev(t);t.assignedSlot?t=t.assignedSlot:!s&&u!==t.ownerDocument?t=u.host:t=s}t=a}if(SI(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Ev(t);return!1},xI=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r=0)},kI=function e(t){var n=[],r=[];return t.forEach(function(i,o){var l=!!i.scopeParent,a=l?i.scopeParent:i,s=VE(a,l),u=l?e(i.candidates):a;s===0?l?n.push.apply(n,u):n.push(a):r.push({documentOrder:o,tabIndex:s,item:i,isScope:l,content:u})}),r.sort(mI).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.push(o.content),i},[]).concat(n)},HE=function(t,n){n=n||{};var r;return n.getShadowRoot?r=hI([t],n.includeContainer,{filter:Sv.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:_I}):r=pI(t,n.includeContainer,Sv.bind(null,n)),kI(r)};function Yu(){return Yu=Object.assign||function(e){for(var t=1;t"floating-ui-"+TI++;function II(){const[e,t]=O.useState(()=>pd?Av():void 0);return Ji(()=>{e==null&&t(Av())},[]),O.useEffect(()=>{pd||(pd=!0)},[]),e}const OI=yw["useId".toString()],tf=OI||II,PI=O.forwardRef(function(t,n){var r;let J=t,{context:{placement:i,elements:{floating:o},middlewareData:{arrow:l}},width:a=14,height:s=7,tipRadius:u=0,strokeWidth:c=0,staticOffset:f,stroke:d,d:p}=J,h=ye(J,["context","width","height","tipRadius","strokeWidth","staticOffset","stroke","d"]);c*=2;const m=c/2,E=a/2*(u/-8+1),g=s/2*u/4,[y,w]=i.split("-"),S=o?WE.isRTL(o):!1,_=!!p,b=y==="top"||y==="bottom",A=f&&w==="end"?"bottom":"top";let T=f&&w==="end"?"right":"left";f&&S&&(T=w==="end"?"left":"right");const N=_?0:m,R=(l==null?void 0:l.x)!=null?f||l.x:"",I=(l==null?void 0:l.y)!=null?f||l.y+N:"",F=p||"M0,0"+(" H"+a)+(" L"+(a-E)+","+(s-g))+(" Q"+a/2+","+s+" "+E+","+(s-g))+" Z",L={top:_?"rotate(180deg)":"",left:_?"rotate(90deg)":"rotate(-90deg)",bottom:_?"":"rotate(180deg)",right:_?"rotate(-90deg)":"rotate(90deg)"}[y],j=tf();return O.createElement("svg",Yu({},h,{suppressHydrationWarning:!0,"aria-hidden":!0,ref:n,width:_?a:a+c,height:a,viewBox:"0 0 "+a+" "+(s>a?s:a),style:W(P({},h.style),{position:"absolute",pointerEvents:"none",[T]:R,[A]:I,[y]:b||_?"100%":"calc(100% - "+c/2+"px)",transform:""+L+((r=h.style)!=null&&r.transform?" "+h.style.transform:"")})}),c>0&&O.createElement("path",{clipPath:"url(#"+j+")",fill:"none",stroke:d,strokeWidth:c+(p?0:1),d:F}),O.createElement("path",{stroke:c&&!p?h.fill:"none",d:F}),O.createElement("clipPath",{id:j},O.createElement("rect",{x:-m,y:m*(_?-1:1),width:a+c,height:a})))});function NI(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(i=>i(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){e.set(t,(e.get(t)||[]).filter(r=>r!==n))}}}const RI=O.createContext(null),DI=O.createContext(null),GE=()=>{var e;return((e=O.useContext(RI))==null?void 0:e.id)||null},Km=()=>O.useContext(DI);function gr(e){return(e==null?void 0:e.ownerDocument)||document}function LI(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function FI(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}function nf(e){return gr(e).defaultView||window}function $n(e){return e?e instanceof nf(e).Element:!1}function JE(e){return e?e instanceof nf(e).HTMLElement:!1}function MI(e){if(typeof ShadowRoot=="undefined")return!1;const t=nf(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function BI(e){if(e.mozInputSource===0&&e.isTrusted)return!0;const t=/Android/i;return(t.test(LI())||t.test(FI()))&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function UI(e){return e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType!=="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0}function zI(){return/apple/i.test(navigator.vendor)}function QE(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function xv(e){const t=O.useRef(e);return Ji(()=>{t.current=e}),t}const Cv="data-floating-ui-safe-polygon";function hd(e,t,n){return n&&!QE(n)?0:typeof e=="number"?e:e==null?void 0:e[t]}const jI=function(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:i,events:o,elements:{domReference:l,floating:a},refs:s}=e,{enabled:u=!0,delay:c=0,handleClose:f=null,mouseOnly:d=!1,restMs:p=0,move:h=!0}=t,m=Km(),E=GE(),g=xv(f),y=xv(c),w=O.useRef(),S=O.useRef(),_=O.useRef(),b=O.useRef(),A=O.useRef(!0),T=O.useRef(!1),N=O.useRef(()=>{}),R=O.useCallback(()=>{var j;const J=(j=i.current.openEvent)==null?void 0:j.type;return(J==null?void 0:J.includes("mouse"))&&J!=="mousedown"},[i]);O.useEffect(()=>{if(!u)return;function j(){clearTimeout(S.current),clearTimeout(b.current),A.current=!0}return o.on("dismiss",j),()=>{o.off("dismiss",j)}},[u,o]),O.useEffect(()=>{if(!u||!g.current||!n)return;function j(){R()&&r(!1)}const J=gr(a).documentElement;return J.addEventListener("mouseleave",j),()=>{J.removeEventListener("mouseleave",j)}},[a,n,r,u,g,i,R]);const I=O.useCallback(function(j){j===void 0&&(j=!0);const J=hd(y.current,"close",w.current);J&&!_.current?(clearTimeout(S.current),S.current=setTimeout(()=>r(!1),J)):j&&(clearTimeout(S.current),r(!1))},[y,r]),F=O.useCallback(()=>{N.current(),_.current=void 0},[]),L=O.useCallback(()=>{if(T.current){const j=gr(s.floating.current).body;j.style.pointerEvents="",j.removeAttribute(Cv),T.current=!1}},[s]);return O.useEffect(()=>{if(!u)return;function j(){return i.current.openEvent?["click","mousedown"].includes(i.current.openEvent.type):!1}function J(D){if(clearTimeout(S.current),A.current=!1,d&&!QE(w.current)||p>0&&hd(y.current,"open")===0)return;i.current.openEvent=D;const $=hd(y.current,"open",w.current);$?S.current=setTimeout(()=>{r(!0)},$):r(!0)}function ee(D){if(j())return;N.current();const $=gr(a);if(clearTimeout(b.current),g.current){n||clearTimeout(S.current),_.current=g.current(W(P({},e),{tree:m,x:D.clientX,y:D.clientY,onClose(){L(),F(),I()}}));const Q=_.current;$.addEventListener("mousemove",Q),N.current=()=>{$.removeEventListener("mousemove",Q)};return}I()}function te(D){j()||g.current==null||g.current(W(P({},e),{tree:m,x:D.clientX,y:D.clientY,onClose(){L(),F(),I()}}))(D)}if($n(l)){const D=l;return n&&D.addEventListener("mouseleave",te),a==null||a.addEventListener("mouseleave",te),h&&D.addEventListener("mousemove",J,{once:!0}),D.addEventListener("mouseenter",J),D.addEventListener("mouseleave",ee),()=>{n&&D.removeEventListener("mouseleave",te),a==null||a.removeEventListener("mouseleave",te),h&&D.removeEventListener("mousemove",J),D.removeEventListener("mouseenter",J),D.removeEventListener("mouseleave",ee)}}},[l,a,u,e,d,p,h,I,F,L,r,n,m,y,g,i]),Ji(()=>{var j;if(u&&n&&(j=g.current)!=null&&j.__options.blockPointerEvents&&R()){const te=gr(a).body;if(te.setAttribute(Cv,""),te.style.pointerEvents="none",T.current=!0,$n(l)&&a){var J,ee;const D=l,$=m==null||(J=m.nodesRef.current.find(Q=>Q.id===E))==null||(ee=J.context)==null?void 0:ee.elements.floating;return $&&($.style.pointerEvents=""),D.style.pointerEvents="auto",a.style.pointerEvents="auto",()=>{D.style.pointerEvents="",a.style.pointerEvents=""}}}},[u,n,E,a,l,m,g,i,R]),Ji(()=>{n||(w.current=void 0,F(),L())},[n,F,L]),O.useEffect(()=>()=>{F(),clearTimeout(S.current),clearTimeout(b.current),L()},[u,F,L]),O.useMemo(()=>{if(!u)return{};function j(J){w.current=J.pointerType}return{reference:{onPointerDown:j,onPointerEnter:j,onMouseMove(){n||p===0||(clearTimeout(b.current),b.current=setTimeout(()=>{A.current||r(!0)},p))}},floating:{onMouseEnter(){clearTimeout(S.current)},onMouseLeave(){o.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),I(!1)}}}},[o,u,p,n,r,I])};function KE(e){let t=e.activeElement;for(;((n=t)==null||(r=n.shadowRoot)==null?void 0:r.activeElement)!=null;){var n,r;t=t.shadowRoot.activeElement}return t}function nh(e,t){if(!e||!t)return!1;const n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&MI(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function md(e,t){let n=e.filter(i=>{var o;return i.parentId===t&&((o=i.context)==null?void 0:o.open)})||[],r=n;for(;r.length;)r=e.filter(i=>{var o;return(o=r)==null?void 0:o.some(l=>{var a;return i.parentId===l.id&&((a=i.context)==null?void 0:a.open)})})||[],n=n.concat(r);return n}function WI(e){return"composedPath"in e?e.composedPath()[0]:e.target}const qE=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function XE(e,t){const n=HE(e,qE());t==="prev"&&n.reverse();const r=n.indexOf(KE(gr(e)));return n.slice(r+1)[0]}function YI(){return XE(document.body,"next")}function VI(){return XE(document.body,"prev")}function gd(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!nh(n,r)}function $I(e){HE(e,qE()).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function HI(e){e.querySelectorAll("[data-tabindex]").forEach(n=>{const r=n.dataset.tabindex;delete n.dataset.tabindex,r?n.setAttribute("tabindex",r):n.removeAttribute("tabindex")})}const ZE={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};let GI;function _v(e){e.key==="Tab"&&(e.target,clearTimeout(GI))}const kv=O.forwardRef(function(t,n){const[r,i]=O.useState();return Ji(()=>(zI()&&i("button"),document.addEventListener("keydown",_v),()=>{document.removeEventListener("keydown",_v)}),[]),O.createElement("span",Yu({},t,{ref:n,tabIndex:0,role:r,"aria-hidden":r?void 0:!0,"data-floating-ui-focus-guard":"",style:ZE}))}),eS=O.createContext(null),JI=function(e){let{id:t,root:n}=e===void 0?{}:e;const[r,i]=O.useState(null),o=tf(),l=KI();return Ji(()=>{const a=t?document.getElementById(t):null,s="data-floating-ui-portal";if(a){const u=document.createElement("div");return u.id=o,u.setAttribute(s,""),a.appendChild(u),i(u),()=>{u.remove()}}else{let u=(l==null?void 0:l.portalNode)||n||document.body,c=null;t&&(c=document.createElement("div"),c.id=t,u.appendChild(c));const f=document.createElement("div");return f.id=o,f.setAttribute(s,""),i(f),u=c||u,u.appendChild(f),()=>{var d;f.remove(),(d=c)==null||d.remove()}}},[t,n,l,o]),r},QI=e=>{let{children:t,id:n,root:r=null,preserveTabOrder:i=!0}=e;const o=JI({id:n,root:r}),[l,a]=O.useState(null),s=O.useRef(null),u=O.useRef(null),c=O.useRef(null),f=O.useRef(null),d=!!l&&!l.modal&&!!(r||o)&&i;return O.useEffect(()=>{if(!o||!i||l!=null&&l.modal)return;function p(h){o&&gd(h)&&(h.type==="focusin"?HI:$I)(o)}return o.addEventListener("focusin",p,!0),o.addEventListener("focusout",p,!0),()=>{o.removeEventListener("focusin",p,!0),o.removeEventListener("focusout",p,!0)}},[o,i,l==null?void 0:l.modal]),O.createElement(eS.Provider,{value:O.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:s,afterOutsideRef:u,beforeInsideRef:c,afterInsideRef:f,portalNode:o,setFocusManagerState:a}),[i,o])},d&&o&&O.createElement(kv,{"data-type":"outside",ref:s,onFocus:p=>{if(gd(p,o)){var h;(h=c.current)==null||h.focus()}else{const m=VI()||(l==null?void 0:l.refs.domReference.current);m==null||m.focus()}}}),d&&o&&O.createElement("span",{"aria-owns":o.id,style:ZE}),o&&br.createPortal(t,o),d&&o&&O.createElement(kv,{"data-type":"outside",ref:u,onFocus:p=>{if(gd(p,o)){var h;(h=f.current)==null||h.focus()}else{const m=YI()||(l==null?void 0:l.refs.domReference.current);m==null||m.focus(),l!=null&&l.closeOnFocusOut&&(l==null||l.onOpenChange(!1))}}}))},KI=()=>O.useContext(eS),qI=yw["useInsertionEffect".toString()],XI=qI||(e=>e());function nu(e){const t=O.useRef(()=>{});return XI(()=>{t.current=e}),O.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;i{var t,n;return{escapeKeyBubbles:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePressBubbles:typeof e=="boolean"?e:(n=e==null?void 0:e.outsidePress)!=null?n:!0}},nO=function(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,events:i,nodeId:o,elements:{reference:l,domReference:a,floating:s},dataRef:u}=e,{enabled:c=!0,escapeKey:f=!0,outsidePress:d=!0,outsidePressEvent:p="pointerdown",referencePress:h=!1,referencePressEvent:m="pointerdown",ancestorScroll:E=!1,bubbles:g}=t,y=Km(),w=GE()!=null,S=nu(typeof d=="function"?d:()=>!1),_=typeof d=="function"?S:d,b=O.useRef(!1),{escapeKeyBubbles:A,outsidePressBubbles:T}=tO(g),N=nu(I=>{if(!n||!c||!f||I.key!=="Escape")return;const F=y?md(y.nodesRef.current,o):[];if(!A&&(I.stopPropagation(),F.length>0)){let L=!0;if(F.forEach(j=>{var J;if((J=j.context)!=null&&J.open&&!j.context.dataRef.current.__escapeKeyBubbles){L=!1;return}}),!L)return}i.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),r(!1)}),R=nu(I=>{const F=b.current;if(b.current=!1,F||typeof _=="function"&&!_(I))return;const L=WI(I);if(JE(L)&&s){const ee=L.clientWidth>0&&L.scrollWidth>L.clientWidth,te=L.clientHeight>0&&L.scrollHeight>L.clientHeight;let D=te&&I.offsetX>L.clientWidth;if(te&&nf(s).getComputedStyle(L).direction==="rtl"&&(D=I.offsetX<=L.offsetWidth-L.clientWidth),D||ee&&I.offsetY>L.clientHeight)return}const j=y&&md(y.nodesRef.current,o).some(ee=>{var te;return ru(I,(te=ee.context)==null?void 0:te.elements.floating)});if(ru(I,s)||ru(I,a)||j)return;const J=y?md(y.nodesRef.current,o):[];if(J.length>0){let ee=!0;if(J.forEach(te=>{var D;if((D=te.context)!=null&&D.open&&!te.context.dataRef.current.__outsidePressBubbles){ee=!1;return}}),!ee)return}i.emit("dismiss",{type:"outsidePress",data:{returnFocus:w?{preventScroll:!0}:BI(I)||UI(I)}}),r(!1)});return O.useEffect(()=>{if(!n||!c)return;u.current.__escapeKeyBubbles=A,u.current.__outsidePressBubbles=T;function I(){r(!1)}const F=gr(s);f&&F.addEventListener("keydown",N),_&&F.addEventListener(p,R);let L=[];return E&&($n(a)&&(L=ii(a)),$n(s)&&(L=L.concat(ii(s))),!$n(l)&&l&&l.contextElement&&(L=L.concat(ii(l.contextElement)))),L=L.filter(j=>{var J;return j!==((J=F.defaultView)==null?void 0:J.visualViewport)}),L.forEach(j=>{j.addEventListener("scroll",I,{passive:!0})}),()=>{f&&F.removeEventListener("keydown",N),_&&F.removeEventListener(p,R),L.forEach(j=>{j.removeEventListener("scroll",I)})}},[u,s,a,l,f,_,p,n,r,E,c,A,T,N,R]),O.useEffect(()=>{b.current=!1},[_,p]),O.useMemo(()=>c?{reference:{onKeyDown:N,[ZI[m]]:()=>{h&&(i.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),r(!1))}},floating:{onKeyDown:N,[eO[p]]:()=>{b.current=!0}}}:{},[c,i,h,p,m,r,N])},rO=function(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:i,events:o,refs:l,elements:{floating:a,domReference:s}}=e,{enabled:u=!0,keyboardOnly:c=!0}=t,f=O.useRef(""),d=O.useRef(!1),p=O.useRef();return O.useEffect(()=>{if(!u)return;const m=gr(a).defaultView||window;function E(){!n&&JE(s)&&s===KE(gr(s))&&(d.current=!0)}return m.addEventListener("blur",E),()=>{m.removeEventListener("blur",E)}},[a,s,n,u]),O.useEffect(()=>{if(!u)return;function h(m){(m.type==="referencePress"||m.type==="escapeKey")&&(d.current=!0)}return o.on("dismiss",h),()=>{o.off("dismiss",h)}},[o,u]),O.useEffect(()=>()=>{clearTimeout(p.current)},[]),O.useMemo(()=>u?{reference:{onPointerDown(h){let{pointerType:m}=h;f.current=m,d.current=!!(m&&c)},onMouseLeave(){d.current=!1},onFocus(h){var m;d.current||h.type==="focus"&&((m=i.current.openEvent)==null?void 0:m.type)==="mousedown"&&i.current.openEvent&&ru(i.current.openEvent,s)||(i.current.openEvent=h.nativeEvent,r(!0))},onBlur(h){d.current=!1;const m=h.relatedTarget,E=$n(m)&&m.hasAttribute("data-floating-ui-focus-guard")&&m.getAttribute("data-type")==="outside";p.current=setTimeout(()=>{nh(l.floating.current,m)||nh(s,m)||E||r(!1)})}}}:{},[u,c,s,l,i,r])};function tS(e){return O.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})},e)}const iO=function(e,t){t===void 0&&(t={});const{open:n,floatingId:r}=e,{enabled:i=!0,role:o="dialog"}=t,l=tf();return O.useMemo(()=>{const a={id:r,role:o};return i?o==="tooltip"?{reference:{"aria-describedby":n?r:void 0},floating:a}:{reference:P(P({"aria-expanded":n?"true":"false","aria-haspopup":o==="alertdialog"?"dialog":o,"aria-controls":n?r:void 0},o==="listbox"&&{role:"combobox"}),o==="menu"&&{id:l}),floating:P(P({},a),o==="menu"&&{"aria-labelledby":l})}:{}},[i,o,n,r,l])};function oO(e){e===void 0&&(e={});const{open:t=!1,onOpenChange:n,nodeId:r}=e,i=cI(e),o=Km(),l=O.useRef(null),a=O.useRef({}),s=O.useState(()=>NI())[0],u=tf(),[c,f]=O.useState(null),d=O.useCallback(y=>{const w=$n(y)?{getBoundingClientRect:()=>y.getBoundingClientRect(),contextElement:y}:y;i.refs.setReference(w)},[i.refs]),p=O.useCallback(y=>{($n(y)||y===null)&&(l.current=y,f(y)),($n(i.refs.reference.current)||i.refs.reference.current===null||y!==null&&!$n(y))&&i.refs.setReference(y)},[i.refs]),h=O.useMemo(()=>W(P({},i.refs),{setReference:p,setPositionReference:d,domReference:l}),[i.refs,p,d]),m=O.useMemo(()=>W(P({},i.elements),{domReference:c}),[i.elements,c]),E=nu(n),g=O.useMemo(()=>W(P({},i),{refs:h,elements:m,dataRef:a,nodeId:r,floatingId:u,events:s,open:t,onOpenChange:E}),[i,r,u,s,t,E,h,m]);return Ji(()=>{const y=o==null?void 0:o.nodesRef.current.find(w=>w.id===r);y&&(y.context=g)}),O.useMemo(()=>W(P({},i),{context:g,refs:h,elements:m,reference:p,positionReference:d}),[i,h,m,g,p,d])}function yd(e,t,n){const r=new Map;return P(P(P({},n==="floating"&&{tabIndex:-1}),e),t.map(i=>i?i[n]:null).concat(e).reduce((i,o)=>(o&&Object.entries(o).forEach(l=>{let[a,s]=l;if(a.indexOf("on")===0){if(r.has(a)||r.set(a,[]),typeof s=="function"){var u;(u=r.get(a))==null||u.push(s),i[a]=function(){for(var c,f=arguments.length,d=new Array(f),p=0;ph(...d))}}}else i[a]=s}),i),{}))}const lO=function(e){e===void 0&&(e=[]);const t=e,n=O.useCallback(o=>yd(o,e,"reference"),t),r=O.useCallback(o=>yd(o,e,"floating"),t),i=O.useCallback(o=>yd(o,e,"item"),e.map(o=>o==null?void 0:o.item));return O.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:i}),[n,r,i])},Tv=["http","https","mailto","tel"];function aO(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let i=-1;for(;++ii||(i=t.indexOf("#"),i!==-1&&r>i)?t:"javascript:void(0)"}/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT - */var aS=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)};function oa(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?kv(e.position):"start"in e||"end"in e?kv(e):"line"in e||"column"in e?ih(e):""}function ih(e){return Tv(e&&e.line)+":"+Tv(e&&e.column)}function kv(e){return ih(e&&e.start)+"-"+ih(e&&e.end)}function Tv(e){return e&&typeof e=="number"?e:1}class yn extends Error{constructor(t,n,r){const i=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const l=r.indexOf(":");l===-1?i[1]=r:(i[0]=r.slice(0,l),i[1]=r.slice(l+1))}n&&("type"in n||"position"in n?n.position&&(o=n.position):"start"in n||"end"in n?o=n:("line"in n||"column"in n)&&(o.start=n)),this.name=oa(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}yn.prototype.file="";yn.prototype.name="";yn.prototype.reason="";yn.prototype.message="";yn.prototype.stack="";yn.prototype.fatal=null;yn.prototype.column=null;yn.prototype.line=null;yn.prototype.source=null;yn.prototype.ruleId=null;yn.prototype.position=null;const Un={basename:IO,dirname:OO,extname:PO,join:NO,sep:"/"};function IO(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Xa(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let l=-1,a=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else l<0&&(o=!0,l=i+1),a>-1&&(e.charCodeAt(i)===t.charCodeAt(a--)?a<0&&(r=i):(a=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function OO(e){if(Xa(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function PO(e){Xa(e);let t=e.length,n=-1,r=0,i=-1,o=0,l;for(;t--;){const a=e.charCodeAt(t);if(a===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),a===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function NO(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function DO(e,t){let n="",r=0,i=-1,o=0,l=-1,a,s;for(;++l<=e.length;){if(l2){if(s=n.lastIndexOf("/"),s!==n.length-1){s<0?(n="",r=0):(n=n.slice(0,s),r=n.length-1-n.lastIndexOf("/")),i=l,o=0;continue}}else if(n.length>0){n="",r=0,i=l,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,l):n=e.slice(i+1,l),r=l-i-1;i=l,o=0}else a===46&&o>-1?o++:o=-1}return n}function Xa(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const LO={cwd:FO};function FO(){return"/"}function oh(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function MO(e){if(typeof e=="string")e=new URL(e);else if(!oh(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return BO(e)}function BO(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++nl.length;let s;a&&l.push(i);try{s=e.apply(this,l)}catch(u){const c=u;if(a&&n)throw c;return i(c)}a||(s instanceof Promise?s.then(o,i):s instanceof Error?i(s):o(s))}function i(l,...a){n||(n=!0,t(l,...a))}function o(l){i(null,l)}}const WO=fS().freeze(),cS={}.hasOwnProperty;function fS(){const e=zO(),t=[];let n={},r,i=-1;return o.data=l,o.Parser=void 0,o.Compiler=void 0,o.freeze=a,o.attachers=t,o.use=s,o.parse=u,o.stringify=c,o.run=f,o.runSync=d,o.process=p,o.processSync=h,o;function o(){const m=fS();let E=-1;for(;++E{if(b||!A||!T)_(b);else{const N=o.stringify(A,T);N==null||($O(N)?T.value=N:T.result=N),_(b,T)}});function _(b,A){b||!A?w(b):y?y(A):E(null,A)}}}function h(m){let E;o.freeze(),Ad("processSync",o.Parser),xd("processSync",o.Compiler);const g=_l(m);return o.process(g,y),zv("processSync","process",E),g;function y(w){E=!0,Ov(w)}}}function Bv(e,t){return typeof e=="function"&&e.prototype&&(YO(e.prototype)||t in e.prototype)}function YO(e){let t;for(t in e)if(cS.call(e,t))return!0;return!1}function Ad(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function xd(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Cd(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Uv(e){if(!lh(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function zv(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function _l(e){return VO(e)?e:new sS(e)}function VO(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function $O(e){return typeof e=="string"||aS(e)}function HO(e,t){const n=(t||{}).includeImageAlt;return dS(e,typeof n=="boolean"?n:!0)}function dS(e,t){return GO(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&jv(e.children,t))||Array.isArray(e)&&jv(e,t)||""}function jv(e,t){const n=[];let r=-1;for(;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),[].splice.apply(e,l);else for(n&&[].splice.apply(e,[t,n]);o0?(Zn(e,e.length,0,t),e):t}const Wv={}.hasOwnProperty;function JO(e){const t={};let n=-1;for(;++nl))return;const A=t.events.length;let T=A,N,R;for(;T--;)if(t.events[T][0]==="exit"&&t.events[T][1].type==="chunkFlow"){if(N){R=t.events[T][1].end;break}N=!0}for(g(r),b=A;bw;){const _=n[S];t.containerState=_[1],_[0].exit.call(t,e)}n.length=w}function y(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function l4(e,t,n){return _e(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function $v(e){if(e===null||dn(e)||e4(e))return 1;if(t4(e))return 2}function qm(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),d=Object.assign({},e[n][1].start);Hv(f,-s),Hv(d,s),l={type:s>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:d},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:s>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},a.end)},e[r][1].end=Object.assign({},l.start),e[n][1].start=Object.assign({},a.end),u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=an(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=an(u,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",o,t]]),u=an(u,qm(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=an(u,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=an(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,Zn(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n=4?l(u):n(u)}function l(u){return u===null?s(u):oe(u)?e.attempt(v4,l,s)(u):(e.enter("codeFlowValue"),a(u))}function a(u){return u===null||oe(u)?(e.exit("codeFlowValue"),l(u)):(e.consume(u),a)}function s(u){return e.exit("codeIndented"),t(u)}}function b4(e,t,n){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):oe(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):_e(e,o,"linePrefix",4+1)(l)}function o(l){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(l):oe(l)?i(l):n(l)}}const E4={name:"codeText",tokenize:x4,resolve:S4,previous:A4};function S4(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function yS(e,t,n,r,i,o,l,a,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return f;function f(g){return g===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(g),e.exit(o),d):g===null||g===41||sh(g)?n(g):(e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),m(g))}function d(g){return g===62?(e.enter(o),e.consume(g),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(g))}function p(g){return g===62?(e.exit("chunkString"),e.exit(a),d(g)):g===null||g===60||oe(g)?n(g):(e.consume(g),g===92?h:p)}function h(g){return g===60||g===62||g===92?(e.consume(g),p):p(g)}function m(g){return g===40?++c>u?n(g):(e.consume(g),m):g===41?c--?(e.consume(g),m):(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),t(g)):g===null||dn(g)?c?n(g):(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),t(g)):sh(g)?n(g):(e.consume(g),g===92?E:m)}function E(g){return g===40||g===41||g===92?(e.consume(g),m):m(g)}}function vS(e,t,n,r,i,o){const l=this;let a=0,s;return u;function u(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(o),c}function c(p){return p===null||p===91||p===93&&!s||p===94&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs||a>999?n(p):p===93?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):oe(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||oe(p)||a++>999?(e.exit("chunkString"),c(p)):(e.consume(p),s=s||!Ze(p),p===92?d:f)}function d(p){return p===91||p===92||p===93?(e.consume(p),a++,f):f(p)}}function wS(e,t,n,r,i,o){let l;return a;function a(d){return e.enter(r),e.enter(i),e.consume(d),e.exit(i),l=d===40?41:d,s}function s(d){return d===l?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(e.enter(o),u(d))}function u(d){return d===l?(e.exit(o),s(l)):d===null?n(d):oe(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),_e(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===l||d===null||oe(d)?(e.exit("chunkString"),u(d)):(e.consume(d),d===92?f:c)}function f(d){return d===l||d===92?(e.consume(d),c):c(d)}}function la(e,t){let n;return r;function r(i){return oe(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Ze(i)?_e(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function Do(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const P4={name:"definition",tokenize:R4},N4={tokenize:D4,partial:!0};function R4(e,t,n){const r=this;let i;return o;function o(s){return e.enter("definition"),vS.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(s)}function l(s){return i=Do(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),s===58?(e.enter("definitionMarker"),e.consume(s),e.exit("definitionMarker"),la(e,yS(e,e.attempt(N4,_e(e,a,"whitespace"),_e(e,a,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(s)}function a(s){return s===null||oe(s)?(e.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),t(s)):n(s)}}function D4(e,t,n){return r;function r(l){return dn(l)?la(e,i)(l):n(l)}function i(l){return l===34||l===39||l===40?wS(e,_e(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l):n(l)}function o(l){return l===null||oe(l)?t(l):n(l)}}const L4={name:"hardBreakEscape",tokenize:F4};function F4(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(o),i}function i(o){return oe(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(o)):n(o)}}const M4={name:"headingAtx",tokenize:U4,resolve:B4};function B4(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Zn(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function U4(e,t,n){const r=this;let i=0;return o;function o(c){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),l(c)}function l(c){return c===35&&i++<6?(e.consume(c),l):c===null||dn(c)?(e.exit("atxHeadingSequence"),r.interrupt?t(c):a(c)):n(c)}function a(c){return c===35?(e.enter("atxHeadingSequence"),s(c)):c===null||oe(c)?(e.exit("atxHeading"),t(c)):Ze(c)?_e(e,a,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function s(c){return c===35?(e.consume(c),s):(e.exit("atxHeadingSequence"),a(c))}function u(c){return c===null||c===35||dn(c)?(e.exit("atxHeadingText"),a(c)):(e.consume(c),u)}}const z4=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Qv=["pre","script","style","textarea"],j4={name:"htmlFlow",tokenize:V4,resolveTo:Y4,concrete:!0},W4={tokenize:$4,partial:!0};function Y4(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function V4(e,t,n){const r=this;let i,o,l,a,s;return u;function u(x){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(x),c}function c(x){return x===33?(e.consume(x),f):x===47?(e.consume(x),h):x===63?(e.consume(x),i=3,r.interrupt?t:$):Wn(x)?(e.consume(x),l=String.fromCharCode(x),o=!0,m):n(x)}function f(x){return x===45?(e.consume(x),i=2,d):x===91?(e.consume(x),i=5,l="CDATA[",a=0,p):Wn(x)?(e.consume(x),i=4,r.interrupt?t:$):n(x)}function d(x){return x===45?(e.consume(x),r.interrupt?t:$):n(x)}function p(x){return x===l.charCodeAt(a++)?(e.consume(x),a===l.length?r.interrupt?t:I:p):n(x)}function h(x){return Wn(x)?(e.consume(x),l=String.fromCharCode(x),m):n(x)}function m(x){return x===null||x===47||x===62||dn(x)?x!==47&&o&&Qv.includes(l.toLowerCase())?(i=1,r.interrupt?t(x):I(x)):z4.includes(l.toLowerCase())?(i=6,x===47?(e.consume(x),E):r.interrupt?t(x):I(x)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(x):o?y(x):g(x)):x===45||Qt(x)?(e.consume(x),l+=String.fromCharCode(x),m):n(x)}function E(x){return x===62?(e.consume(x),r.interrupt?t:I):n(x)}function g(x){return Ze(x)?(e.consume(x),g):N(x)}function y(x){return x===47?(e.consume(x),N):x===58||x===95||Wn(x)?(e.consume(x),w):Ze(x)?(e.consume(x),y):N(x)}function w(x){return x===45||x===46||x===58||x===95||Qt(x)?(e.consume(x),w):S(x)}function S(x){return x===61?(e.consume(x),_):Ze(x)?(e.consume(x),S):y(x)}function _(x){return x===null||x===60||x===61||x===62||x===96?n(x):x===34||x===39?(e.consume(x),s=x,b):Ze(x)?(e.consume(x),_):(s=null,A(x))}function b(x){return x===null||oe(x)?n(x):x===s?(e.consume(x),T):(e.consume(x),b)}function A(x){return x===null||x===34||x===39||x===60||x===61||x===62||x===96||dn(x)?S(x):(e.consume(x),A)}function T(x){return x===47||x===62||Ze(x)?y(x):n(x)}function N(x){return x===62?(e.consume(x),R):n(x)}function R(x){return Ze(x)?(e.consume(x),R):x===null||oe(x)?I(x):n(x)}function I(x){return x===45&&i===2?(e.consume(x),J):x===60&&i===1?(e.consume(x),ee):x===62&&i===4?(e.consume(x),Q):x===63&&i===3?(e.consume(x),$):x===93&&i===5?(e.consume(x),D):oe(x)&&(i===6||i===7)?e.check(W4,Q,F)(x):x===null||oe(x)?F(x):(e.consume(x),I)}function F(x){return e.exit("htmlFlowData"),L(x)}function L(x){return x===null?C(x):oe(x)?e.attempt({tokenize:j,partial:!0},L,C)(x):(e.enter("htmlFlowData"),I(x))}function j(x,at,pt){return Ut;function Ut(st){return x.enter("lineEnding"),x.consume(st),x.exit("lineEnding"),Se}function Se(st){return r.parser.lazy[r.now().line]?pt(st):at(st)}}function J(x){return x===45?(e.consume(x),$):I(x)}function ee(x){return x===47?(e.consume(x),l="",te):I(x)}function te(x){return x===62&&Qv.includes(l.toLowerCase())?(e.consume(x),Q):Wn(x)&&l.length<8?(e.consume(x),l+=String.fromCharCode(x),te):I(x)}function D(x){return x===93?(e.consume(x),$):I(x)}function $(x){return x===62?(e.consume(x),Q):x===45&&i===2?(e.consume(x),$):I(x)}function Q(x){return x===null||oe(x)?(e.exit("htmlFlowData"),C(x)):(e.consume(x),Q)}function C(x){return e.exit("htmlFlow"),t(x)}}function $4(e,t,n){return r;function r(i){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(rf,t,n)}}const H4={name:"htmlText",tokenize:G4};function G4(e,t,n){const r=this;let i,o,l,a;return s;function s(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),u}function u(C){return C===33?(e.consume(C),c):C===47?(e.consume(C),A):C===63?(e.consume(C),_):Wn(C)?(e.consume(C),R):n(C)}function c(C){return C===45?(e.consume(C),f):C===91?(e.consume(C),o="CDATA[",l=0,E):Wn(C)?(e.consume(C),S):n(C)}function f(C){return C===45?(e.consume(C),d):n(C)}function d(C){return C===null||C===62?n(C):C===45?(e.consume(C),p):h(C)}function p(C){return C===null||C===62?n(C):h(C)}function h(C){return C===null?n(C):C===45?(e.consume(C),m):oe(C)?(a=h,D(C)):(e.consume(C),h)}function m(C){return C===45?(e.consume(C),Q):h(C)}function E(C){return C===o.charCodeAt(l++)?(e.consume(C),l===o.length?g:E):n(C)}function g(C){return C===null?n(C):C===93?(e.consume(C),y):oe(C)?(a=g,D(C)):(e.consume(C),g)}function y(C){return C===93?(e.consume(C),w):g(C)}function w(C){return C===62?Q(C):C===93?(e.consume(C),w):g(C)}function S(C){return C===null||C===62?Q(C):oe(C)?(a=S,D(C)):(e.consume(C),S)}function _(C){return C===null?n(C):C===63?(e.consume(C),b):oe(C)?(a=_,D(C)):(e.consume(C),_)}function b(C){return C===62?Q(C):_(C)}function A(C){return Wn(C)?(e.consume(C),T):n(C)}function T(C){return C===45||Qt(C)?(e.consume(C),T):N(C)}function N(C){return oe(C)?(a=N,D(C)):Ze(C)?(e.consume(C),N):Q(C)}function R(C){return C===45||Qt(C)?(e.consume(C),R):C===47||C===62||dn(C)?I(C):n(C)}function I(C){return C===47?(e.consume(C),Q):C===58||C===95||Wn(C)?(e.consume(C),F):oe(C)?(a=I,D(C)):Ze(C)?(e.consume(C),I):Q(C)}function F(C){return C===45||C===46||C===58||C===95||Qt(C)?(e.consume(C),F):L(C)}function L(C){return C===61?(e.consume(C),j):oe(C)?(a=L,D(C)):Ze(C)?(e.consume(C),L):I(C)}function j(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),i=C,J):oe(C)?(a=j,D(C)):Ze(C)?(e.consume(C),j):(e.consume(C),i=void 0,te)}function J(C){return C===i?(e.consume(C),ee):C===null?n(C):oe(C)?(a=J,D(C)):(e.consume(C),J)}function ee(C){return C===62||C===47||dn(C)?I(C):n(C)}function te(C){return C===null||C===34||C===39||C===60||C===61||C===96?n(C):C===62||dn(C)?I(C):(e.consume(C),te)}function D(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),_e(e,$,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function $(C){return e.enter("htmlTextData"),a(C)}function Q(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),t):n(C)}}const Zm={name:"labelEnd",tokenize:Z4,resolveTo:X4,resolveAll:q4},J4={tokenize:eP},Q4={tokenize:tP},K4={tokenize:nP};function q4(e){let t=-1,n;for(;++t-1&&(l[0]=l[0].slice(r)),o>0&&l.push(e[i].slice(0,o))),l}function _P(e,t){let n=-1;const r=[];let i;for(;++ne.length){for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let l=-1,a=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else l<0&&(o=!0,l=i+1),a>-1&&(e.charCodeAt(i)===t.charCodeAt(a--)?a<0&&(r=i):(a=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function uO(e){if(Za(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function cO(e){Za(e);let t=e.length,n=-1,r=0,i=-1,o=0,l;for(;t--;){const a=e.charCodeAt(t);if(a===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),a===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function fO(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function pO(e,t){let n="",r=0,i=-1,o=0,l=-1,a,s;for(;++l<=e.length;){if(l2){if(s=n.lastIndexOf("/"),s!==n.length-1){s<0?(n="",r=0):(n=n.slice(0,s),r=n.length-1-n.lastIndexOf("/")),i=l,o=0;continue}}else if(n.length>0){n="",r=0,i=l,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,l):n=e.slice(i+1,l),r=l-i-1;i=l,o=0}else a===46&&o>-1?o++:o=-1}return n}function Za(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const hO={cwd:mO};function mO(){return"/"}function ih(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function gO(e){if(typeof e=="string")e=new URL(e);else if(!ih(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return yO(e)}function yO(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++nl.length;let s;a&&l.push(i);try{s=e.apply(this,l)}catch(u){const c=u;if(a&&n)throw c;return i(c)}a||(s instanceof Promise?s.then(o,i):s instanceof Error?i(s):o(s))}function i(l,...a){n||(n=!0,t(l,...a))}function o(l){i(null,l)}}const EO=lS().freeze(),oS={}.hasOwnProperty;function lS(){const e=wO(),t=[];let n={},r,i=-1;return o.data=l,o.Parser=void 0,o.Compiler=void 0,o.freeze=a,o.attachers=t,o.use=s,o.parse=u,o.stringify=c,o.run=f,o.runSync=d,o.process=p,o.processSync=h,o;function o(){const m=lS();let E=-1;for(;++E{if(b||!A||!T)_(b);else{const N=o.stringify(A,T);N==null||(xO(N)?T.value=N:T.result=N),_(b,T)}});function _(b,A){b||!A?w(b):y?y(A):E(null,A)}}}function h(m){let E;o.freeze(),Ed("processSync",o.Parser),Sd("processSync",o.Compiler);const g=_l(m);return o.process(g,y),Wv("processSync","process",E),g;function y(w){E=!0,Nv(w)}}}function zv(e,t){return typeof e=="function"&&e.prototype&&(SO(e.prototype)||t in e.prototype)}function SO(e){let t;for(t in e)if(oS.call(e,t))return!0;return!1}function Ed(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Sd(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Ad(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function jv(e){if(!oh(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Wv(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function _l(e){return AO(e)?e:new rS(e)}function AO(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function xO(e){return typeof e=="string"||nS(e)}function CO(e,t){const n=(t||{}).includeImageAlt;return aS(e,typeof n=="boolean"?n:!0)}function aS(e,t){return _O(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&Yv(e.children,t))||Array.isArray(e)&&Yv(e,t)||""}function Yv(e,t){const n=[];let r=-1;for(;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),[].splice.apply(e,l);else for(n&&[].splice.apply(e,[t,n]);o0?(Xn(e,e.length,0,t),e):t}const Vv={}.hasOwnProperty;function kO(e){const t={};let n=-1;for(;++nl))return;const A=t.events.length;let T=A,N,R;for(;T--;)if(t.events[T][0]==="exit"&&t.events[T][1].type==="chunkFlow"){if(N){R=t.events[T][1].end;break}N=!0}for(g(r),b=A;bw;){const _=n[S];t.containerState=_[1],_[0].exit.call(t,e)}n.length=w}function y(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function UO(e,t,n){return _e(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Gv(e){if(e===null||dn(e)||RO(e))return 1;if(DO(e))return 2}function qm(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),d=Object.assign({},e[n][1].start);Jv(f,-s),Jv(d,s),l={type:s>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:d},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:s>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},a.end)},e[r][1].end=Object.assign({},l.start),e[n][1].start=Object.assign({},a.end),u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=an(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=an(u,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",o,t]]),u=an(u,qm(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=an(u,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=an(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,Xn(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n=4?l(u):n(u)}function l(u){return u===null?s(u):oe(u)?e.attempt(qO,l,s)(u):(e.enter("codeFlowValue"),a(u))}function a(u){return u===null||oe(u)?(e.exit("codeFlowValue"),l(u)):(e.consume(u),a)}function s(u){return e.exit("codeIndented"),t(u)}}function ZO(e,t,n){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):oe(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):_e(e,o,"linePrefix",4+1)(l)}function o(l){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(l):oe(l)?i(l):n(l)}}const e4={name:"codeText",tokenize:r4,resolve:t4,previous:n4};function t4(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function dS(e,t,n,r,i,o,l,a,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return f;function f(g){return g===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(g),e.exit(o),d):g===null||g===41||ah(g)?n(g):(e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),m(g))}function d(g){return g===62?(e.enter(o),e.consume(g),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(g))}function p(g){return g===62?(e.exit("chunkString"),e.exit(a),d(g)):g===null||g===60||oe(g)?n(g):(e.consume(g),g===92?h:p)}function h(g){return g===60||g===62||g===92?(e.consume(g),p):p(g)}function m(g){return g===40?++c>u?n(g):(e.consume(g),m):g===41?c--?(e.consume(g),m):(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),t(g)):g===null||dn(g)?c?n(g):(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),t(g)):ah(g)?n(g):(e.consume(g),g===92?E:m)}function E(g){return g===40||g===41||g===92?(e.consume(g),m):m(g)}}function pS(e,t,n,r,i,o){const l=this;let a=0,s;return u;function u(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(o),c}function c(p){return p===null||p===91||p===93&&!s||p===94&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs||a>999?n(p):p===93?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):oe(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||oe(p)||a++>999?(e.exit("chunkString"),c(p)):(e.consume(p),s=s||!Ze(p),p===92?d:f)}function d(p){return p===91||p===92||p===93?(e.consume(p),a++,f):f(p)}}function hS(e,t,n,r,i,o){let l;return a;function a(d){return e.enter(r),e.enter(i),e.consume(d),e.exit(i),l=d===40?41:d,s}function s(d){return d===l?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(e.enter(o),u(d))}function u(d){return d===l?(e.exit(o),s(l)):d===null?n(d):oe(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),_e(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===l||d===null||oe(d)?(e.exit("chunkString"),u(d)):(e.consume(d),d===92?f:c)}function f(d){return d===l||d===92?(e.consume(d),c):c(d)}}function la(e,t){let n;return r;function r(i){return oe(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Ze(i)?_e(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function Do(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const c4={name:"definition",tokenize:d4},f4={tokenize:p4,partial:!0};function d4(e,t,n){const r=this;let i;return o;function o(s){return e.enter("definition"),pS.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(s)}function l(s){return i=Do(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),s===58?(e.enter("definitionMarker"),e.consume(s),e.exit("definitionMarker"),la(e,dS(e,e.attempt(f4,_e(e,a,"whitespace"),_e(e,a,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(s)}function a(s){return s===null||oe(s)?(e.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),t(s)):n(s)}}function p4(e,t,n){return r;function r(l){return dn(l)?la(e,i)(l):n(l)}function i(l){return l===34||l===39||l===40?hS(e,_e(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l):n(l)}function o(l){return l===null||oe(l)?t(l):n(l)}}const h4={name:"hardBreakEscape",tokenize:m4};function m4(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(o),i}function i(o){return oe(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(o)):n(o)}}const g4={name:"headingAtx",tokenize:v4,resolve:y4};function y4(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Xn(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function v4(e,t,n){const r=this;let i=0;return o;function o(c){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),l(c)}function l(c){return c===35&&i++<6?(e.consume(c),l):c===null||dn(c)?(e.exit("atxHeadingSequence"),r.interrupt?t(c):a(c)):n(c)}function a(c){return c===35?(e.enter("atxHeadingSequence"),s(c)):c===null||oe(c)?(e.exit("atxHeading"),t(c)):Ze(c)?_e(e,a,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function s(c){return c===35?(e.consume(c),s):(e.exit("atxHeadingSequence"),a(c))}function u(c){return c===null||c===35||dn(c)?(e.exit("atxHeadingText"),a(c)):(e.consume(c),u)}}const w4=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],qv=["pre","script","style","textarea"],b4={name:"htmlFlow",tokenize:A4,resolveTo:S4,concrete:!0},E4={tokenize:x4,partial:!0};function S4(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function A4(e,t,n){const r=this;let i,o,l,a,s;return u;function u(x){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(x),c}function c(x){return x===33?(e.consume(x),f):x===47?(e.consume(x),h):x===63?(e.consume(x),i=3,r.interrupt?t:$):Wn(x)?(e.consume(x),l=String.fromCharCode(x),o=!0,m):n(x)}function f(x){return x===45?(e.consume(x),i=2,d):x===91?(e.consume(x),i=5,l="CDATA[",a=0,p):Wn(x)?(e.consume(x),i=4,r.interrupt?t:$):n(x)}function d(x){return x===45?(e.consume(x),r.interrupt?t:$):n(x)}function p(x){return x===l.charCodeAt(a++)?(e.consume(x),a===l.length?r.interrupt?t:I:p):n(x)}function h(x){return Wn(x)?(e.consume(x),l=String.fromCharCode(x),m):n(x)}function m(x){return x===null||x===47||x===62||dn(x)?x!==47&&o&&qv.includes(l.toLowerCase())?(i=1,r.interrupt?t(x):I(x)):w4.includes(l.toLowerCase())?(i=6,x===47?(e.consume(x),E):r.interrupt?t(x):I(x)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(x):o?y(x):g(x)):x===45||Qt(x)?(e.consume(x),l+=String.fromCharCode(x),m):n(x)}function E(x){return x===62?(e.consume(x),r.interrupt?t:I):n(x)}function g(x){return Ze(x)?(e.consume(x),g):N(x)}function y(x){return x===47?(e.consume(x),N):x===58||x===95||Wn(x)?(e.consume(x),w):Ze(x)?(e.consume(x),y):N(x)}function w(x){return x===45||x===46||x===58||x===95||Qt(x)?(e.consume(x),w):S(x)}function S(x){return x===61?(e.consume(x),_):Ze(x)?(e.consume(x),S):y(x)}function _(x){return x===null||x===60||x===61||x===62||x===96?n(x):x===34||x===39?(e.consume(x),s=x,b):Ze(x)?(e.consume(x),_):(s=null,A(x))}function b(x){return x===null||oe(x)?n(x):x===s?(e.consume(x),T):(e.consume(x),b)}function A(x){return x===null||x===34||x===39||x===60||x===61||x===62||x===96||dn(x)?S(x):(e.consume(x),A)}function T(x){return x===47||x===62||Ze(x)?y(x):n(x)}function N(x){return x===62?(e.consume(x),R):n(x)}function R(x){return Ze(x)?(e.consume(x),R):x===null||oe(x)?I(x):n(x)}function I(x){return x===45&&i===2?(e.consume(x),J):x===60&&i===1?(e.consume(x),ee):x===62&&i===4?(e.consume(x),Q):x===63&&i===3?(e.consume(x),$):x===93&&i===5?(e.consume(x),D):oe(x)&&(i===6||i===7)?e.check(E4,Q,F)(x):x===null||oe(x)?F(x):(e.consume(x),I)}function F(x){return e.exit("htmlFlowData"),L(x)}function L(x){return x===null?C(x):oe(x)?e.attempt({tokenize:j,partial:!0},L,C)(x):(e.enter("htmlFlowData"),I(x))}function j(x,at,pt){return Ut;function Ut(st){return x.enter("lineEnding"),x.consume(st),x.exit("lineEnding"),Se}function Se(st){return r.parser.lazy[r.now().line]?pt(st):at(st)}}function J(x){return x===45?(e.consume(x),$):I(x)}function ee(x){return x===47?(e.consume(x),l="",te):I(x)}function te(x){return x===62&&qv.includes(l.toLowerCase())?(e.consume(x),Q):Wn(x)&&l.length<8?(e.consume(x),l+=String.fromCharCode(x),te):I(x)}function D(x){return x===93?(e.consume(x),$):I(x)}function $(x){return x===62?(e.consume(x),Q):x===45&&i===2?(e.consume(x),$):I(x)}function Q(x){return x===null||oe(x)?(e.exit("htmlFlowData"),C(x)):(e.consume(x),Q)}function C(x){return e.exit("htmlFlow"),t(x)}}function x4(e,t,n){return r;function r(i){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(rf,t,n)}}const C4={name:"htmlText",tokenize:_4};function _4(e,t,n){const r=this;let i,o,l,a;return s;function s(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),u}function u(C){return C===33?(e.consume(C),c):C===47?(e.consume(C),A):C===63?(e.consume(C),_):Wn(C)?(e.consume(C),R):n(C)}function c(C){return C===45?(e.consume(C),f):C===91?(e.consume(C),o="CDATA[",l=0,E):Wn(C)?(e.consume(C),S):n(C)}function f(C){return C===45?(e.consume(C),d):n(C)}function d(C){return C===null||C===62?n(C):C===45?(e.consume(C),p):h(C)}function p(C){return C===null||C===62?n(C):h(C)}function h(C){return C===null?n(C):C===45?(e.consume(C),m):oe(C)?(a=h,D(C)):(e.consume(C),h)}function m(C){return C===45?(e.consume(C),Q):h(C)}function E(C){return C===o.charCodeAt(l++)?(e.consume(C),l===o.length?g:E):n(C)}function g(C){return C===null?n(C):C===93?(e.consume(C),y):oe(C)?(a=g,D(C)):(e.consume(C),g)}function y(C){return C===93?(e.consume(C),w):g(C)}function w(C){return C===62?Q(C):C===93?(e.consume(C),w):g(C)}function S(C){return C===null||C===62?Q(C):oe(C)?(a=S,D(C)):(e.consume(C),S)}function _(C){return C===null?n(C):C===63?(e.consume(C),b):oe(C)?(a=_,D(C)):(e.consume(C),_)}function b(C){return C===62?Q(C):_(C)}function A(C){return Wn(C)?(e.consume(C),T):n(C)}function T(C){return C===45||Qt(C)?(e.consume(C),T):N(C)}function N(C){return oe(C)?(a=N,D(C)):Ze(C)?(e.consume(C),N):Q(C)}function R(C){return C===45||Qt(C)?(e.consume(C),R):C===47||C===62||dn(C)?I(C):n(C)}function I(C){return C===47?(e.consume(C),Q):C===58||C===95||Wn(C)?(e.consume(C),F):oe(C)?(a=I,D(C)):Ze(C)?(e.consume(C),I):Q(C)}function F(C){return C===45||C===46||C===58||C===95||Qt(C)?(e.consume(C),F):L(C)}function L(C){return C===61?(e.consume(C),j):oe(C)?(a=L,D(C)):Ze(C)?(e.consume(C),L):I(C)}function j(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),i=C,J):oe(C)?(a=j,D(C)):Ze(C)?(e.consume(C),j):(e.consume(C),i=void 0,te)}function J(C){return C===i?(e.consume(C),ee):C===null?n(C):oe(C)?(a=J,D(C)):(e.consume(C),J)}function ee(C){return C===62||C===47||dn(C)?I(C):n(C)}function te(C){return C===null||C===34||C===39||C===60||C===61||C===96?n(C):C===62||dn(C)?I(C):(e.consume(C),te)}function D(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),_e(e,$,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function $(C){return e.enter("htmlTextData"),a(C)}function Q(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),t):n(C)}}const Zm={name:"labelEnd",tokenize:N4,resolveTo:P4,resolveAll:O4},k4={tokenize:R4},T4={tokenize:D4},I4={tokenize:L4};function O4(e){let t=-1,n;for(;++t-1&&(l[0]=l[0].slice(r)),o>0&&l.push(e[i].slice(0,o))),l}function oP(e,t){let n=-1;const r=[];let i;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const zP=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function jP(e){return e.replace(zP,WP)}function WP(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return SS(n.slice(o?2:1),o?16:10)}return Xm(n)||e}const AS={}.hasOwnProperty,YP=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),VP(n)(UP(MP(n).document().write(BP()(e,t,!0))))};function VP(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Jg),autolinkProtocol:I,autolinkEmail:I,atxHeading:a($g),blockQuote:a(Df),characterEscape:I,characterReference:I,codeFenced:a(Vg),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(Vg,s),codeText:a(XC,s),codeTextData:I,data:I,codeFlowValue:I,definition:a(ZC),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(e_),hardBreakEscape:a(Hg),hardBreakTrailing:a(Hg),htmlFlow:a(Gg,s),htmlFlowData:I,htmlText:a(Gg,s),htmlTextData:I,image:a(t_),label:s,link:a(Jg),listItem:a(n_),listItemValue:h,listOrdered:a(Qg,p),listUnordered:a(Qg),paragraph:a(r_),reference:Ut,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a($g),strong:a(i_),thematicBreak:a(l_)},exit:{atxHeading:c(),atxHeadingSequence:A,autolink:c(),autolinkEmail:ir,autolinkProtocol:Si,blockQuote:c(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:st,characterReferenceMarkerNumeric:st,characterReferenceValue:rr,codeFenced:c(y),codeFencedFence:g,codeFencedFenceInfo:m,codeFencedFenceMeta:E,codeFlowValue:F,codeIndented:c(w),codeText:c(te),codeTextData:F,data:F,definition:c(),definitionDestinationString:b,definitionLabelString:S,definitionTitleString:_,emphasis:c(),hardBreakEscape:c(j),hardBreakTrailing:c(j),htmlFlow:c(J),htmlFlowData:F,htmlText:c(ee),htmlTextData:F,image:c($),label:C,labelText:Q,lineEnding:L,link:c(D),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:Se,resourceDestinationString:x,resourceTitleString:at,resource:pt,setextHeading:c(R),setextHeadingLineSequence:N,setextHeadingText:T,strong:c(),thematicBreak:c()}};xS(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(z){let H={type:"root",children:[]};const ie={stack:[H],tokenStack:[],config:t,enter:u,exit:f,buffer:s,resume:d,setData:o,getData:l},Ae=[];let Ce=-1;for(;++Ce0){const bn=ie.tokenStack[ie.tokenStack.length-1];(bn[1]||Xv).call(ie,void 0,bn[0])}for(H.position={start:Lr(z.length>0?z[0][1].start:{line:1,column:1,offset:0}),end:Lr(z.length>0?z[z.length-2][1].end:{line:1,column:1,offset:0})},Ce=-1;++Ce{const r=this.data("settings");return YP(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function GP(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function JP(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` -`}]}function QP(e,t){const n=t.value?t.value+` -`:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function KP(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function qP(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ll(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&o<57344){const a=e.charCodeAt(n+1);o<56320&&a>56319&&a<57344?(l=String.fromCharCode(o,a),i=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function CS(e,t){const n=String(t.identifier).toUpperCase(),r=ll(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;i===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const l=e.footnoteCounts[n],a={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,a);const s={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,s),e.applyData(t,s)}function XP(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},CS(e,{type:"footnoteReference",identifier:i,position:t.position})}function ZP(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function eN(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function _S(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const l=i[i.length-1];return l&&l.type==="text"?l.value+=r:i.push({type:"text",value:r}),i}function tN(e,t){const n=e.definition(t.identifier);if(!n)return _S(e,t);const r={src:ll(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)}function nN(e,t){const n={src:ll(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function rN(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function iN(e,t){const n=e.definition(t.identifier);if(!n)return _S(e,t);const r={href:ll(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function oN(e,t){const n={href:ll(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function lN(e,t,n){const r=e.all(t),i=n?aN(n):kS(t),o={},l=[];if(typeof t.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const wP=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function bP(e){return e.replace(wP,EP)}function EP(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return yS(n.slice(o?2:1),o?16:10)}return Xm(n)||e}const vS={}.hasOwnProperty,SP=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),AP(n)(vP(gP(n).document().write(yP()(e,t,!0))))};function AP(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(qg),autolinkProtocol:I,autolinkEmail:I,atxHeading:a(Jg),blockQuote:a(Df),characterEscape:I,characterReference:I,codeFenced:a(Gg),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(Gg,s),codeText:a(XC,s),codeTextData:I,data:I,codeFlowValue:I,definition:a(ZC),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(e_),hardBreakEscape:a(Qg),hardBreakTrailing:a(Qg),htmlFlow:a(Kg,s),htmlFlowData:I,htmlText:a(Kg,s),htmlTextData:I,image:a(t_),label:s,link:a(qg),listItem:a(n_),listItemValue:h,listOrdered:a(Xg,p),listUnordered:a(Xg),paragraph:a(r_),reference:Ut,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(Jg),strong:a(i_),thematicBreak:a(l_)},exit:{atxHeading:c(),atxHeadingSequence:A,autolink:c(),autolinkEmail:ir,autolinkProtocol:Si,blockQuote:c(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:st,characterReferenceMarkerNumeric:st,characterReferenceValue:rr,codeFenced:c(y),codeFencedFence:g,codeFencedFenceInfo:m,codeFencedFenceMeta:E,codeFlowValue:F,codeIndented:c(w),codeText:c(te),codeTextData:F,data:F,definition:c(),definitionDestinationString:b,definitionLabelString:S,definitionTitleString:_,emphasis:c(),hardBreakEscape:c(j),hardBreakTrailing:c(j),htmlFlow:c(J),htmlFlowData:F,htmlText:c(ee),htmlTextData:F,image:c($),label:C,labelText:Q,lineEnding:L,link:c(D),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:Se,resourceDestinationString:x,resourceTitleString:at,resource:pt,setextHeading:c(R),setextHeadingLineSequence:N,setextHeadingText:T,strong:c(),thematicBreak:c()}};wS(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(z){let H={type:"root",children:[]};const ie={stack:[H],tokenStack:[],config:t,enter:u,exit:f,buffer:s,resume:d,setData:o,getData:l},Ae=[];let Ce=-1;for(;++Ce0){const bn=ie.tokenStack[ie.tokenStack.length-1];(bn[1]||e1).call(ie,void 0,bn[0])}for(H.position={start:Lr(z.length>0?z[0][1].start:{line:1,column:1,offset:0}),end:Lr(z.length>0?z[z.length-2][1].end:{line:1,column:1,offset:0})},Ce=-1;++Ce{const r=this.data("settings");return SP(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function _P(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function kP(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` +`}]}function TP(e,t){const n=t.value?t.value+` +`:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function IP(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function OP(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ll(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&o<57344){const a=e.charCodeAt(n+1);o<56320&&a>56319&&a<57344?(l=String.fromCharCode(o,a),i=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function bS(e,t){const n=String(t.identifier).toUpperCase(),r=ll(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;i===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const l=e.footnoteCounts[n],a={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,a);const s={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,s),e.applyData(t,s)}function PP(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},bS(e,{type:"footnoteReference",identifier:i,position:t.position})}function NP(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function RP(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function ES(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const l=i[i.length-1];return l&&l.type==="text"?l.value+=r:i.push({type:"text",value:r}),i}function DP(e,t){const n=e.definition(t.identifier);if(!n)return ES(e,t);const r={src:ll(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)}function LP(e,t){const n={src:ll(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function FP(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function MP(e,t){const n=e.definition(t.identifier);if(!n)return ES(e,t);const r={href:ll(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function BP(e,t){const n={href:ll(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function UP(e,t,n){const r=e.all(t),i=n?zP(n):SS(t),o={},l=[];if(typeof t.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a1:t}function sN(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i-1?r.offset:null}}}function pN(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),i.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=eg(t.children[1]),s=tg(t.children[t.children.length-1]);a.line&&s.line&&(l.position={start:a,end:s}),i.push(l)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function hN(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,a=l?l.length:t.children.length;let s=-1;const u=[];for(;++s0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(t1(t.slice(i),i>0,!1)),o.join("")}function t1(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===Zv||o===e1;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===Zv||o===e1;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function yN(e,t){const n={type:"text",value:gN(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function vN(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const wN={blockquote:GP,break:JP,code:QP,delete:KP,emphasis:qP,footnoteReference:CS,footnote:XP,heading:ZP,html:eN,imageReference:tN,image:nN,inlineCode:rN,linkReference:iN,link:oN,listItem:lN,list:sN,paragraph:uN,root:cN,strong:fN,table:pN,tableCell:mN,tableRow:hN,text:yN,thematicBreak:vN,toml:Rs,yaml:Rs,definition:Rs,footnoteDefinition:Rs};function Rs(){return null}const IS=function(e){if(e==null)return AN;if(typeof e=="string")return SN(e);if(typeof e=="object")return Array.isArray(e)?bN(e):EN(e);if(typeof e=="function")return of(e);throw new Error("Expected function, string, or object as test")};function bN(e){const t=[];let n=-1;for(;++n":""))+")"})}return f;function f(){let d=[],p,h,m;if((!t||i(a,s,u[u.length-1]||null))&&(d=kN(n(a,u)),d[0]===n1))return d;if(a.children&&d[0]!==CN)for(h=(r?a.children.length:-1)+o,m=u.concat(a);h>-1&&h{const i=i1(r.identifier);i&&!r1.call(t,i)&&(t[i]=r)}),n;function n(r){const i=i1(r);return i&&r1.call(t,i)?t[i]:null}}function i1(e){return String(e||"").toUpperCase()}const Yu={}.hasOwnProperty;function ON(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return l.dangerous=r,l.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,l.footnoteLabel=n.footnoteLabel||"Footnotes",l.footnoteLabelTagName=n.footnoteLabelTagName||"h2",l.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},l.footnoteBackLabel=n.footnoteBackLabel||"Back to content",l.unknownHandler=n.unknownHandler,l.passThrough=n.passThrough,l.handlers=P(P({},wN),n.handlers),l.definition=IN(e),l.footnoteById=i,l.footnoteOrder=[],l.footnoteCounts={},l.patch=PN,l.applyData=NN,l.one=a,l.all=s,l.wrap=DN,l.augment=o,OS(e,"footnoteDefinition",u=>{const c=String(u.identifier).toUpperCase();Yu.call(i,c)||(i[c]=u)}),l;function o(u,c){if(u&&"data"in u&&u.data){const f=u.data;f.hName&&(c.type!=="element"&&(c={type:"element",tagName:"",properties:{},children:[]}),c.tagName=f.hName),c.type==="element"&&f.hProperties&&(c.properties=P(P({},c.properties),f.hProperties)),"children"in c&&c.children&&f.hChildren&&(c.children=f.hChildren)}if(u){const f="type"in u?u:{position:u};TN(f)||(c.position={start:eg(f),end:tg(f)})}return c}function l(u,c,f,d){return Array.isArray(f)&&(d=f,f={}),o(u,{type:"element",tagName:c,properties:f||{},children:d||[]})}function a(u,c){return PS(l,u,c)}function s(u){return ng(l,u)}}function PN(e,t){e.position&&(t.position=dN(e))}function NN(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&o&&(n.properties=P(P({},n.properties),o)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function PS(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return Yu.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?W(P({},t),{children:ng(e,t)}):t:e.unknownHandler?e.unknownHandler(e,t,n):RN(e,t)}function ng(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i1:t}function jP(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i-1?r.offset:null}}}function HP(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),i.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=eg(t.children[1]),s=tg(t.children[t.children.length-1]);a.line&&s.line&&(l.position={start:a,end:s}),i.push(l)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function GP(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,a=l?l.length:t.children.length;let s=-1;const u=[];for(;++s0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(r1(t.slice(i),i>0,!1)),o.join("")}function r1(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===t1||o===n1;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===t1||o===n1;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function KP(e,t){const n={type:"text",value:QP(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function qP(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const XP={blockquote:_P,break:kP,code:TP,delete:IP,emphasis:OP,footnoteReference:bS,footnote:PP,heading:NP,html:RP,imageReference:DP,image:LP,inlineCode:FP,linkReference:MP,link:BP,listItem:UP,list:jP,paragraph:WP,root:YP,strong:VP,table:HP,tableCell:JP,tableRow:GP,text:KP,thematicBreak:qP,toml:Ds,yaml:Ds,definition:Ds,footnoteDefinition:Ds};function Ds(){return null}const xS=function(e){if(e==null)return nN;if(typeof e=="string")return tN(e);if(typeof e=="object")return Array.isArray(e)?ZP(e):eN(e);if(typeof e=="function")return of(e);throw new Error("Expected function, string, or object as test")};function ZP(e){const t=[];let n=-1;for(;++n":""))+")"})}return f;function f(){let d=[],p,h,m;if((!t||i(a,s,u[u.length-1]||null))&&(d=lN(n(a,u)),d[0]===i1))return d;if(a.children&&d[0]!==iN)for(h=(r?a.children.length:-1)+o,m=u.concat(a);h>-1&&h{const i=l1(r.identifier);i&&!o1.call(t,i)&&(t[i]=r)}),n;function n(r){const i=l1(r);return i&&o1.call(t,i)?t[i]:null}}function l1(e){return String(e||"").toUpperCase()}const Vu={}.hasOwnProperty;function uN(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return l.dangerous=r,l.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,l.footnoteLabel=n.footnoteLabel||"Footnotes",l.footnoteLabelTagName=n.footnoteLabelTagName||"h2",l.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},l.footnoteBackLabel=n.footnoteBackLabel||"Back to content",l.unknownHandler=n.unknownHandler,l.passThrough=n.passThrough,l.handlers=P(P({},XP),n.handlers),l.definition=sN(e),l.footnoteById=i,l.footnoteOrder=[],l.footnoteCounts={},l.patch=cN,l.applyData=fN,l.one=a,l.all=s,l.wrap=pN,l.augment=o,CS(e,"footnoteDefinition",u=>{const c=String(u.identifier).toUpperCase();Vu.call(i,c)||(i[c]=u)}),l;function o(u,c){if(u&&"data"in u&&u.data){const f=u.data;f.hName&&(c.type!=="element"&&(c={type:"element",tagName:"",properties:{},children:[]}),c.tagName=f.hName),c.type==="element"&&f.hProperties&&(c.properties=P(P({},c.properties),f.hProperties)),"children"in c&&c.children&&f.hChildren&&(c.children=f.hChildren)}if(u){const f="type"in u?u:{position:u};aN(f)||(c.position={start:eg(f),end:tg(f)})}return c}function l(u,c,f,d){return Array.isArray(f)&&(d=f,f={}),o(u,{type:"element",tagName:c,properties:f||{},children:d||[]})}function a(u,c){return _S(l,u,c)}function s(u){return ng(l,u)}}function cN(e,t){e.position&&(t.position=$P(e))}function fN(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&o&&(n.properties=P(P({},n.properties),o)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function _S(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return Vu.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?W(P({},t),{children:ng(e,t)}):t:e.unknownHandler?e.unknownHandler(e,t,n):dN(e,t)}function ng(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i0&&n.push({type:"text",value:` -`}),n}function LN(e){const t=[];let n=-1;for(;++n1?"-"+a:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};a>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(a)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(f)}const u=i[i.length-1];if(u&&u.type==="element"&&u.tagName==="p"){const f=u.children[u.children.length-1];f&&f.type==="text"?f.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...s)}else i.push(...s);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+l},children:e.wrap(i,!0)};e.patch(r,c),t.push(c)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:W(P({},JSON.parse(JSON.stringify(e.footnoteLabelProperties))),{id:"footnote-label"}),children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` +`}),n}function hN(e){const t=[];let n=-1;for(;++n1?"-"+a:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};a>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(a)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(f)}const u=i[i.length-1];if(u&&u.type==="element"&&u.tagName==="p"){const f=u.children[u.children.length-1];f&&f.type==="text"?f.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...s)}else i.push(...s);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+l},children:e.wrap(i,!0)};e.patch(r,c),t.push(c)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:W(P({},JSON.parse(JSON.stringify(e.footnoteLabelProperties))),{id:"footnote-label"}),children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:` -`}]}}function NS(e,t){const n=ON(e,t),r=n.one(e,null),i=LN(n);return i&&r.children.push({type:"text",value:` -`},i),Array.isArray(r)?{type:"root",children:r}:r}const FN=function(e,t){return e&&"run"in e?BN(e,t):UN(e||t)},MN=FN;function BN(e,t){return(n,r,i)=>{e.run(NS(n,t),r,o=>{i(o)})}}function UN(e){return t=>NS(t,e)}var M={},zN={get exports(){return M},set exports(e){M=e}},jN="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",WN=jN,YN=WN;function RS(){}function DS(){}DS.resetWarningCache=RS;var VN=function(){function e(r,i,o,l,a,s){if(s!==YN){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:DS,resetWarningCache:RS};return n.PropTypes=n,n};zN.exports=VN();class Za{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Za.prototype.property={};Za.prototype.normal={};Za.prototype.space=null;function LS(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&QN.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(l1,ZN);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!l1.test(o)){let l=o.replace(KN,XN);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=rg}return new i(r,t)}function XN(e){return"-"+e.toLowerCase()}function ZN(e){return e.charAt(1).toUpperCase()}const a1={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},e3=LS([BS,MS,jS,WS,GN],"html"),t3=LS([BS,MS,jS,WS,JN],"svg"),YS=function(e){if(e==null)return o3;if(typeof e=="string")return i3(e);if(typeof e=="object")return Array.isArray(e)?n3(e):r3(e);if(typeof e=="function")return lf(e);throw new Error("Expected function, string, or object as test")};function n3(e){const t=[];let n=-1;for(;++n":""))+")"})}return f;function f(){let d=[],p,h,m;if((!t||i(a,s,u[u.length-1]||null))&&(d=u3(n(a,u)),d[0]===s1))return d;if(a.children&&d[0]!==a3)for(h=(r?a.children.length:-1)+o,m=u.concat(a);h>-1&&h{c3(t,"element",(n,r,i)=>{const o=i;let l;if(e.allowedElements?l=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(l=e.disallowedElements.includes(n.tagName)),!l&&e.allowElement&&typeof r=="number"&&(l=!e.allowElement(n,r,o)),l&&typeof r=="number")return e.unwrapDisallowed&&n.children?o.children.splice(r,1,...n.children):o.children.splice(r,1),r})}}var dh={},d3={get exports(){return dh},set exports(e){dh=e}},Ee={};/** +`}]}}function kS(e,t){const n=uN(e,t),r=n.one(e,null),i=hN(n);return i&&r.children.push({type:"text",value:` +`},i),Array.isArray(r)?{type:"root",children:r}:r}const mN=function(e,t){return e&&"run"in e?yN(e,t):vN(e||t)},gN=mN;function yN(e,t){return(n,r,i)=>{e.run(kS(n,t),r,o=>{i(o)})}}function vN(e){return t=>kS(t,e)}var M={},wN={get exports(){return M},set exports(e){M=e}},bN="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",EN=bN,SN=EN;function TS(){}function IS(){}IS.resetWarningCache=TS;var AN=function(){function e(r,i,o,l,a,s){if(s!==SN){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:IS,resetWarningCache:TS};return n.PropTypes=n,n};wN.exports=AN();class es{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}es.prototype.property={};es.prototype.normal={};es.prototype.space=null;function OS(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&TN.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(s1,NN);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!s1.test(o)){let l=o.replace(IN,PN);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=rg}return new i(r,t)}function PN(e){return"-"+e.toLowerCase()}function NN(e){return e.charAt(1).toUpperCase()}const u1={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},RN=OS([RS,NS,FS,MS,_N],"html"),DN=OS([RS,NS,FS,MS,kN],"svg"),BS=function(e){if(e==null)return BN;if(typeof e=="string")return MN(e);if(typeof e=="object")return Array.isArray(e)?LN(e):FN(e);if(typeof e=="function")return lf(e);throw new Error("Expected function, string, or object as test")};function LN(e){const t=[];let n=-1;for(;++n":""))+")"})}return f;function f(){let d=[],p,h,m;if((!t||i(a,s,u[u.length-1]||null))&&(d=WN(n(a,u)),d[0]===c1))return d;if(a.children&&d[0]!==zN)for(h=(r?a.children.length:-1)+o,m=u.concat(a);h>-1&&h{YN(t,"element",(n,r,i)=>{const o=i;let l;if(e.allowedElements?l=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(l=e.disallowedElements.includes(n.tagName)),!l&&e.allowElement&&typeof r=="number"&&(l=!e.allowElement(n,r,o)),l&&typeof r=="number")return e.unwrapDisallowed&&n.children?o.children.splice(r,1,...n.children):o.children.splice(r,1),r})}}var fh={},$N={get exports(){return fh},set exports(e){fh=e}},Ee={};/** * @license React * react-is.production.min.js * @@ -112,42 +106,48 @@ ${pd(r)}`}}}function dI(e){const{node:t,path:n,app_state:r}=e;return FE({title:` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var ig=Symbol.for("react.element"),og=Symbol.for("react.portal"),af=Symbol.for("react.fragment"),sf=Symbol.for("react.strict_mode"),uf=Symbol.for("react.profiler"),cf=Symbol.for("react.provider"),ff=Symbol.for("react.context"),p3=Symbol.for("react.server_context"),df=Symbol.for("react.forward_ref"),pf=Symbol.for("react.suspense"),hf=Symbol.for("react.suspense_list"),mf=Symbol.for("react.memo"),gf=Symbol.for("react.lazy"),h3=Symbol.for("react.offscreen"),VS;VS=Symbol.for("react.module.reference");function wn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ig:switch(e=e.type,e){case af:case uf:case sf:case pf:case hf:return e;default:switch(e=e&&e.$$typeof,e){case p3:case ff:case df:case gf:case mf:case cf:return e;default:return t}}case og:return t}}}Ee.ContextConsumer=ff;Ee.ContextProvider=cf;Ee.Element=ig;Ee.ForwardRef=df;Ee.Fragment=af;Ee.Lazy=gf;Ee.Memo=mf;Ee.Portal=og;Ee.Profiler=uf;Ee.StrictMode=sf;Ee.Suspense=pf;Ee.SuspenseList=hf;Ee.isAsyncMode=function(){return!1};Ee.isConcurrentMode=function(){return!1};Ee.isContextConsumer=function(e){return wn(e)===ff};Ee.isContextProvider=function(e){return wn(e)===cf};Ee.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ig};Ee.isForwardRef=function(e){return wn(e)===df};Ee.isFragment=function(e){return wn(e)===af};Ee.isLazy=function(e){return wn(e)===gf};Ee.isMemo=function(e){return wn(e)===mf};Ee.isPortal=function(e){return wn(e)===og};Ee.isProfiler=function(e){return wn(e)===uf};Ee.isStrictMode=function(e){return wn(e)===sf};Ee.isSuspense=function(e){return wn(e)===pf};Ee.isSuspenseList=function(e){return wn(e)===hf};Ee.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===af||e===uf||e===sf||e===pf||e===hf||e===h3||typeof e=="object"&&e!==null&&(e.$$typeof===gf||e.$$typeof===mf||e.$$typeof===cf||e.$$typeof===ff||e.$$typeof===df||e.$$typeof===VS||e.getModuleId!==void 0)};Ee.typeOf=wn;(function(e){e.exports=Ee})(d3);const m3=Hh(dh);function g3(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}function y3(e){return e.join(" ").trim()}function v3(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var Vu={},w3={get exports(){return Vu},set exports(e){Vu=e}},u1=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,b3=/\n/g,E3=/^\s*/,S3=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,A3=/^:\s*/,x3=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,C3=/^[;\s]*/,_3=/^\s+|\s+$/g,k3=` -`,c1="/",f1="*",Pi="",T3="comment",I3="declaration",O3=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(h){var m=h.match(b3);m&&(n+=m.length);var E=h.lastIndexOf(k3);r=~E?h.length-E:r+h.length}function o(){var h={line:n,column:r};return function(m){return m.position=new l(h),u(),m}}function l(h){this.start=h,this.end={line:n,column:r},this.source=t.source}l.prototype.content=e;function a(h){var m=new Error(t.source+":"+n+":"+r+": "+h);if(m.reason=h,m.filename=t.source,m.line=n,m.column=r,m.source=e,!t.silent)throw m}function s(h){var m=h.exec(e);if(m){var E=m[0];return i(E),e=e.slice(E.length),m}}function u(){s(E3)}function c(h){var m;for(h=h||[];m=f();)m!==!1&&h.push(m);return h}function f(){var h=o();if(!(c1!=e.charAt(0)||f1!=e.charAt(1))){for(var m=2;Pi!=e.charAt(m)&&(f1!=e.charAt(m)||c1!=e.charAt(m+1));)++m;if(m+=2,Pi===e.charAt(m-1))return a("End of comment missing");var E=e.slice(2,m-2);return r+=2,i(E),e=e.slice(m),r+=2,h({type:T3,comment:E})}}function d(){var h=o(),m=s(S3);if(m){if(f(),!s(A3))return a("property missing ':'");var E=s(x3),g=h({type:I3,property:d1(m[0].replace(u1,Pi)),value:E?d1(E[0].replace(u1,Pi)):Pi});return s(C3),g}}function p(){var h=[];c(h);for(var m;m=d();)m!==!1&&(h.push(m),c(h));return h}return u(),p()};function d1(e){return e?e.replace(_3,Pi):Pi}var P3=O3;function $S(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,i=P3(e),o=typeof t=="function",l,a,s=0,u=i.length;s0?k.createElement(p,s,f):k.createElement(p,s)}function L3(e){let t=-1;for(;++t for more info)`),delete Ds[o]}const t=WO().use(HP).use(e.remarkPlugins||[]).use(MN,W(P({},e.remarkRehypeOptions),{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(f3,e),n=new sS;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=k.createElement(k.Fragment,{},HS({options:e,schema:e3,listDepth:0},r));return e.className&&(i=k.createElement("div",{className:e.className},i)),i}GS.propTypes={children:M.string,className:M.string,allowElement:M.func,allowedElements:M.arrayOf(M.string),disallowedElements:M.arrayOf(M.string),unwrapDisallowed:M.bool,remarkPlugins:M.arrayOf(M.oneOfType([M.object,M.func,M.arrayOf(M.oneOfType([M.bool,M.string,M.object,M.func,M.arrayOf(M.any)]))])),rehypePlugins:M.arrayOf(M.oneOfType([M.object,M.func,M.arrayOf(M.oneOfType([M.bool,M.string,M.object,M.func,M.arrayOf(M.any)]))])),sourcePos:M.bool,rawSourcePos:M.bool,skipHtml:M.bool,includeElementIndex:M.bool,transformLinkUri:M.oneOfType([M.func,M.bool]),linkTarget:M.oneOfType([M.func,M.string]),transformImageUri:M.func,components:M.object};const j3="_tooltip_base_w63jb_1",W3="_popoverMarkdown_w63jb_10",JS={tooltip_base:j3,popoverMarkdown:W3};function Y3({initialOpen:e=!1,placement:t="top",open:n,onOpenChange:r}={}){const[i,o]=O.useState(e),l=O.useRef(null),a=n!=null?n:i,s=r!=null?r:o,u=O.useCallback(()=>{s(g=>!g)},[s]),c=_O({placement:t,open:a,onOpenChange:s,whileElementsMounted:TI,middleware:[AI(7),SI({fallbackAxisSideDirection:"start"}),OI({element:l}),CI({padding:5})]}),f=c.context,d=sO(f,{move:!1,enabled:n==null}),p=xO(f,{enabled:n==null}),h=AO(f),m=CO(f,{role:"tooltip"}),E=kO([d,p,h,m]);return O.useMemo(()=>P(P({open:a,setOpen:s,toggleOpen:u,arrowRef:l},E),c),[a,s,u,E,c])}const QS=O.createContext(null),KS=()=>{const e=O.useContext(QS);if(e==null)throw new Error("Tooltip components must be wrapped in ");return e};function yf(n){var r=n,{children:e}=r,t=ye(r,["children"]);const i=Y3(t);return v(QS.Provider,{value:i,children:e})}const vf=O.forwardRef(function(o,i){var l=o,{children:t,asChild:n=!1}=l,r=ye(l,["children","asChild"]);const a=KS(),s=t.ref,u=lS([a.refs.setReference,i,s]),c=O.useMemo(()=>({onMouseDown:a.toggleOpen,onMouseUp:a.toggleOpen}),[a.toggleOpen]);return n&&O.isValidElement(t)?O.cloneElement(t,a.getReferenceProps(W(P(P(P({ref:u},r),t.props),c),{"data-state":a.open?"open":"closed"}))):v("button",W(P(P({ref:u,"data-state":a.open?"open":"closed"},a.getReferenceProps(r)),c),{children:t}))}),qS=O.forwardRef(function({content:t},n){return v(lg,{ref:n,children:v(GS,{className:JS.popoverMarkdown,children:t})})}),lg=O.forwardRef(function(i,r){var o=i,{children:t}=o,n=ye(o,["children"]);var s,u;const l=KS(),a=lS([l.refs.setFloating,r]);return v(gO,{children:l.open&&v(Ne,{children:U("div",W(P({ref:a,className:JS.tooltip_base,style:P({position:l.strategy,zIndex:10,top:(s=l.y)!=null?s:0,left:(u=l.x)!=null?u:0,visibility:l.x==null?"hidden":"visible"},n.style)},l.getFloatingProps(n)),{children:[t,v(XI,{ref:l.arrowRef,context:l.context,fill:"var(--tooltip-bg-color, pink)"})]}))})})}),lu=i=>{var o=i,{placement:e="right",popoverContent:t,tooltipClass:n}=o,r=ye(o,["placement","popoverContent","tooltipClass"]);return U(yf,{placement:e,children:[v(vf,{asChild:!0,children:v(rt,P({},r))}),v(lg,{children:v("div",{className:n,children:t})})]})},V3="_container_valbi_1",$3="_header_valbi_14",H3="_information_valbi_19",G3="_error_msg_valbi_24",J3="_actions_valbi_32",kl={container:V3,header:$3,information:H3,error_msg:G3,actions:J3};function XS({header:e,error:t,generateIssueLink:n,resetErrorBoundary:r}){const i=Hm(),{goBackward:o,canGoBackward:l}=hI();return U("div",{className:kl.container,children:[v("h3",{className:kl.header,children:e}),v("p",{className:kl.information,children:"Error message:"}),v("code",{className:kl.error_msg,children:t.message}),U("div",{className:kl.actions,children:[v(lu,{placement:"top",popoverContent:"Try rendering again to see if it fixes the error",onClick:()=>r(),children:"Reset"}),l?v(lu,{variant:"regular",placement:"top",popoverContent:"Undo the last state change to see if that fixes issue",onClick:()=>{o(),r()},children:"Undo last change"}):null,v(lu,{role:"link",popoverContent:"Generate a bug report for github",variant:"regular",placement:"top",onClick:()=>{window.open(n(i.getState()),"_blank")},children:"Submit bug report"})]})]})}function Q3({node:e,path:t,error:n,resetErrorBoundary:r}){return v(XS,{header:`Something went wrong rendering ${e.uiName}()`,error:n,resetErrorBoundary:r,generateIssueLink:i=>dI({node:e,path:t,app_state:i})})}function Tn(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:ag(e)?2:sg(e)?3:0}function Fo(e,t){return sl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function K3(e,t){return sl(e)===2?e.get(t):e[t]}function ZS(e,t,n){var r=sl(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function eA(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ag(e){return nR&&e instanceof Map}function sg(e){return rR&&e instanceof Set}function Ii(e){return e.o||e.t}function ug(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=nA(e);delete t[Le];for(var n=Mo(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=q3),Object.freeze(e),t&&Qi(e,function(n,r){return cg(r,!0)},!0)),e}function q3(){Tn(2)}function fg(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Kn(e){var t=yh[e];return t||Tn(18,e),t}function X3(e,t){yh[e]||(yh[e]=t)}function hh(){return Da}function Od(e,t){t&&(Kn("Patches"),e.u=[],e.s=[],e.v=t)}function $u(e){mh(e),e.p.forEach(Z3),e.p=null}function mh(e){e===Da&&(Da=e.l)}function h1(e){return Da={p:[],l:Da,h:e,m:!0,_:0}}function Z3(e){var t=e[Le];t.i===0||t.i===1?t.j():t.O=!0}function Pd(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||Kn("ES5").S(t,e,r),r?(n[Le].P&&($u(t),Tn(4)),Cr(e)&&(e=Hu(t,e),t.l||Gu(t,e)),t.u&&Kn("Patches").M(n[Le].t,e,t.u,t.s)):e=Hu(t,n,[]),$u(t),t.u&&t.v(t.u,t.s),e!==tA?e:void 0}function Hu(e,t,n){if(fg(t))return t;var r=t[Le];if(!r)return Qi(t,function(a,s){return m1(e,r,t,a,s,n)},!0),t;if(r.A!==e)return t;if(!r.P)return Gu(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=ug(r.k):r.o,o=i,l=!1;r.i===3&&(o=new Set(i),i.clear(),l=!0),Qi(o,function(a,s){return m1(e,r,i,a,s,n,l)}),Gu(e,i,!1),n&&e.u&&Kn("Patches").N(r,n,e.u,e.s)}return r.o}function m1(e,t,n,r,i,o,l){if(di(i)){var a=Hu(e,i,o&&t&&t.i!==3&&!Fo(t.R,r)?o.concat(r):void 0);if(ZS(n,r,a),!di(a))return;e.m=!1}else l&&n.add(i);if(Cr(i)&&!fg(i)){if(!e.h.D&&e._<1)return;Hu(e,i),t&&t.A.l||Gu(e,i)}}function Gu(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&cg(t,n)}function Nd(e,t){var n=e[Le];return(n?Ii(n):e)[t]}function g1(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Wr(e){e.P||(e.P=!0,e.l&&Wr(e.l))}function Rd(e){e.o||(e.o=ug(e.t))}function gh(e,t,n){var r=ag(t)?Kn("MapSet").F(t,n):sg(t)?Kn("MapSet").T(t,n):e.g?function(i,o){var l=Array.isArray(i),a={i:l?1:0,A:o?o.A:hh(),P:!1,I:!1,R:{},l:o,t:i,k:null,o:null,j:null,C:!1},s=a,u=La;l&&(s=[a],u=Wl);var c=Proxy.revocable(s,u),f=c.revoke,d=c.proxy;return a.k=d,a.j=f,d}(t,n):Kn("ES5").J(t,n);return(n?n.A:hh()).p.push(r),r}function eR(e){return di(e)||Tn(22,e),function t(n){if(!Cr(n))return n;var r,i=n[Le],o=sl(n);if(i){if(!i.P&&(i.i<4||!Kn("ES5").K(i)))return i.t;i.I=!0,r=y1(n,o),i.I=!1}else r=y1(n,o);return Qi(r,function(l,a){i&&K3(i.t,l)===a||ZS(r,l,t(a))}),o===3?new Set(r):r}(e)}function y1(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ug(e)}function tR(){function e(o,l){var a=i[o];return a?a.enumerable=l:i[o]=a={configurable:!0,enumerable:l,get:function(){var s=this[Le];return La.get(s,o)},set:function(s){var u=this[Le];La.set(u,o,s)}},a}function t(o){for(var l=o.length-1;l>=0;l--){var a=o[l][Le];if(!a.P)switch(a.i){case 5:r(a)&&Wr(a);break;case 4:n(a)&&Wr(a)}}}function n(o){for(var l=o.t,a=o.k,s=Mo(a),u=s.length-1;u>=0;u--){var c=s[u];if(c!==Le){var f=l[c];if(f===void 0&&!Fo(l,c))return!0;var d=a[c],p=d&&d[Le];if(p?p.t!==f:!eA(d,f))return!0}}var h=!!l[Le];return s.length!==Mo(l).length+(h?0:1)}function r(o){var l=o.k;if(l.length!==o.t.length)return!0;var a=Object.getOwnPropertyDescriptor(l,l.length-1);if(a&&!a.get)return!0;for(var s=0;s1?g-1:0),w=1;w1?c-1:0),d=1;d=0;i--){var o=r[i];if(o.path.length===0&&o.op==="replace"){n=o.value;break}}i>-1&&(r=r.slice(i+1));var l=Kn("Patches").$;return di(n)?l(n,r):this.produce(n,function(a){return l(a,r)})},e}(),Zt=new oR,wi=Zt.produce;Zt.produceWithPatches.bind(Zt);Zt.setAutoFreeze.bind(Zt);Zt.setUseProxies.bind(Zt);Zt.applyPatches.bind(Zt);Zt.createDraft.bind(Zt);Zt.finishDraft.bind(Zt);function Fa(e){return Fa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fa(e)}function lR(e,t){if(Fa(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Fa(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function aR(e){var t=lR(e,"string");return Fa(t)==="symbol"?t:String(t)}function sR(e,t,n){return t=aR(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function S1(e){for(var t=1;t0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]0)for(var w=p.getState(),S=Array.from(n.values()),_=0,b=S;_t.payload.node_info,UNSET_DRAGGED:e=>null}}),{SET_DRAGGED:QR,UNSET_DRAGGED:KR}=gA.actions;function yA(){return Qa(e=>e.currentlyDraggedNode)}function qR(){const e=Tr();return t=>e(QR({node_info:t}))}function vA(){const e=Tr();return()=>e(KR())}const XR=gA.reducer;function wA(e){const t=k.useRef(!1),n=qR(),r=vA(),i=k.useCallback(l=>{t.current!==!1&&(l.stopPropagation(),r(),t.current=!1,document.body.removeEventListener("dragover",P1),document.body.removeEventListener("drop",i))},[r]);return{onDragStart:k.useCallback(l=>{l.stopPropagation(),t.current=!0,document.body.addEventListener("dragover",P1),document.body.addEventListener("drop",i),n(e)},[i,e,n]),onDragEnd:i,draggable:!0}}function P1(e){e.preventDefault()}function er(e,t){return[...e,t]}function Ef(e){return e.join("-")}function ul(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n!n.includes(o)),i=Object.keys(t).filter(o=>!n.includes(o));if(!ul(r,i))return!1;for(let o of r)if(e[o]!==t[o])return!1;return!0}const bA=wf({name:"selectedPath",initialState:[],reducers:{SET_SELECTION:(e,t)=>t.payload.path,STEP_BACK_SELECTION:e=>e===null||e.length===0?null:(e.pop(),e)}}),{SET_SELECTION:Sf,STEP_BACK_SELECTION:LW}=bA.actions;function rs(){return Qa(e=>e.selected_path)}function EA(){const e=Tr();return k.useCallback(n=>{e(Sf({path:n}))},[e])}const e5=bA.reducer;function t5(e){const t=rs(),n=EA(),r=k.useCallback(o=>{o.stopPropagation(),n(e)},[e,n]),i=Boolean(t&&ul(t,e));return{onClick:r,isSelected:i}}function SA({node:e,path:t,canDrag:n}){const r=wA({node:e,currentPath:t}),{onClick:i,isSelected:o}=t5(t);return P({onClick:i,"data-sue-path":Ef(t),"data-is-selected-node":o,"aria-label":e.uiName},n?r:{})}const bi=({path:e,node:t,canDrag:n=!0})=>{var a;const i=to(t.uiName).UiComponent,o=SA({path:e,node:t,canDrag:n}),l=k.useMemo(()=>s=>v(Q3,P({node:t,path:e},s)),[t,e]);return v(Xc,{fallbackRender:l,children:v(i,{wrapperProps:o,uiArguments:t.uiArguments,uiChildren:no(t)?(a=t.uiChildren)!=null?a:[]:[],path:e})})};function Ui(e){return e.length}function AA(e,t,n){return n===0?!0:ul(e.slice(0,n),t.slice(0,n))}function n5(e,t){const n=Ui(e),r=Ui(t);return n>=r?!1:AA(e,t,n)}function xA(e,t){const n=Math.min(e.length,t.length)-1;return n<=0?!0:AA(e,t,n)}function r5({fromPath:e,toPath:t}){if(e==null)return!0;if(n5(e,t))return!1;if(xA(e,t)){const n=e.length,r=e[n-1],i=t[n-1];if(r===i||r===i-1)return!1}return!0}function i5({child:e,wrapper:t}){if(typeof t=="function"){const n=t(e);if(n===null)return e;t=n}return W(P({},t),{uiChildren:[e]})}function CA(e){return typeof e=="object"&&e!==null}const o5={symbol:"s",character:"c",boolean:"b",number:"n",unknown:"u",expression:"e"};class Yn extends Error{constructor({message:t,cause:n}){super(),this.name="AST_PARSING_ERROR",this.message=t,this.cause=n}}function qt(e,t){return e.type===o5[t]}const l5=new Set(["c","n","b"]);function a5(e){return l5.has(e.type)}function nr(e){return e.type==="e"&&Array.isArray(e.val)}function s5(e,t){if(!nr(e))return!1;const{val:n}=e;return n[0].val==="<-"||n[0].val==="="?t?n[1].val===t:!0:!1}function _A(e){return e.val[1]}function u5(e){return e.val[2]}function qu(e){let t=[];return e.forEach(n=>{if(s5(n)){const r=_A(n);c5(r)?t.push({name:r.val[2].val,is_output:!0,node:n}):r.type==="s"&&t.push({name:r.val,is_output:!1,node:n})}if(nr(n)){const r=qu(n.val);t.push(...r)}}),t}function c5(e){if(!nr(e))return!1;const{val:t}=e;return t.length===3&&t[1].val==="output"&&typeof t[2].val=="string"}function kA(e){const t=e.filter(({is_output:r})=>r),n=new Set;return t.forEach(({name:r})=>{n.add(r)}),n}function f5(e){return!Boolean(e.pos)||!(_A(e).val==="ui")?!1:nr(u5(e))}function TA(e){const t=e.find(({name:r,is_output:i})=>r==="ui"&&!i);if(!t)throw new Yn({message:"No ui assignment node was found in provided ast"});const{node:n}=t;if(!f5(n))throw new Yn({message:"No position info attached to the ui assignment node",cause:n});return n}function Jo({node:e,explanation:t}){return{uiName:"unknownUiFunction",uiArguments:{text:nr(e)?NA(e.val):yg(e),explanation:t}}}function d5(e){return e[0].val==="c"}function p5(e){const t=e[0].val;return t==="c"||t==="list"}function h5(e){return nr(e)&&d5(e.val)}function m5(e){return nr(e)&&e.val[0].val==="list"}function g5(e){try{return IA(e)}catch(t){if(!(t instanceof Yn))throw t;return Jo({node:e,explanation:t.message})}}function IA(e){if(!nr(e))throw new Yn({message:"Tried to flatten a leaf/primative node"});const[t,...n]=e.val;if(t.val!=="c")throw new Yn({message:"Tried to flatten non array as array"});return n.map(r=>OA(r.val)?r.val:IA(r))}function y5(e){if(!nr(e))throw new Yn({message:"Tried to flatten a leaf/primative node"});try{const[t,...n]=e.val;if(t.val!=="list")throw new Yn({message:"Tried to flatten non array as array",cause:e});let r={};return n.forEach(({name:i,val:o})=>{if(typeof i!="string")throw new Yn({message:"All elements in list must have a name",cause:e});if(!OA(o))throw new Yn({message:"Nested lists are not supported",cause:e});r[i]=o}),r}catch(t){if(!(t instanceof Yn))throw t;return Jo({node:e,explanation:t.message})}}function OA(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function v5(e){return qt(e[0],"symbol")&&e[0].val==="function"}function w5(e){if(!qt(e,"expression")||e.val.length!==2)return!1;const[t,n]=e.val;return qt(t,"symbol")&&t.val==="("?qt(n,"expression")&&v5(n.val):!1}function b5([,e,t]){return`function(${e.val.map(r=>{var l;const i=(l=r.name)!=null?l:"name",o=r.val?` = ${r.val}`:"";return`${i}${o}`}).join(", ")}) {...}`}const PA=2,E5=" ".repeat(PA),gg=60,pi=` -${E5}`;function NA(e){const[t,...n]=e;let r;if(w5(t))r=`(${b5(t.val[1].val)})`;else if(qt(t,"symbol"))r=t.val;else return"Unknown Ui Code";const i=n.map(s=>`${s.name?`${s.name} = `:""}${yg(s)}`),o=RA({fn_name:r,fn_args_list:i,max_line_length_for_multi_args:p5(e)?gg:0}),l=`,${o?pi:" "}`,a=i.join(l);return`${r}(${o?pi:""}${a}${o?` + */var ig=Symbol.for("react.element"),og=Symbol.for("react.portal"),af=Symbol.for("react.fragment"),sf=Symbol.for("react.strict_mode"),uf=Symbol.for("react.profiler"),cf=Symbol.for("react.provider"),ff=Symbol.for("react.context"),HN=Symbol.for("react.server_context"),df=Symbol.for("react.forward_ref"),pf=Symbol.for("react.suspense"),hf=Symbol.for("react.suspense_list"),mf=Symbol.for("react.memo"),gf=Symbol.for("react.lazy"),GN=Symbol.for("react.offscreen"),US;US=Symbol.for("react.module.reference");function wn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ig:switch(e=e.type,e){case af:case uf:case sf:case pf:case hf:return e;default:switch(e=e&&e.$$typeof,e){case HN:case ff:case df:case gf:case mf:case cf:return e;default:return t}}case og:return t}}}Ee.ContextConsumer=ff;Ee.ContextProvider=cf;Ee.Element=ig;Ee.ForwardRef=df;Ee.Fragment=af;Ee.Lazy=gf;Ee.Memo=mf;Ee.Portal=og;Ee.Profiler=uf;Ee.StrictMode=sf;Ee.Suspense=pf;Ee.SuspenseList=hf;Ee.isAsyncMode=function(){return!1};Ee.isConcurrentMode=function(){return!1};Ee.isContextConsumer=function(e){return wn(e)===ff};Ee.isContextProvider=function(e){return wn(e)===cf};Ee.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ig};Ee.isForwardRef=function(e){return wn(e)===df};Ee.isFragment=function(e){return wn(e)===af};Ee.isLazy=function(e){return wn(e)===gf};Ee.isMemo=function(e){return wn(e)===mf};Ee.isPortal=function(e){return wn(e)===og};Ee.isProfiler=function(e){return wn(e)===uf};Ee.isStrictMode=function(e){return wn(e)===sf};Ee.isSuspense=function(e){return wn(e)===pf};Ee.isSuspenseList=function(e){return wn(e)===hf};Ee.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===af||e===uf||e===sf||e===pf||e===hf||e===GN||typeof e=="object"&&e!==null&&(e.$$typeof===gf||e.$$typeof===mf||e.$$typeof===cf||e.$$typeof===ff||e.$$typeof===df||e.$$typeof===US||e.getModuleId!==void 0)};Ee.typeOf=wn;(function(e){e.exports=Ee})($N);const JN=Hh(fh);function QN(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}function KN(e){return e.join(" ").trim()}function qN(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var $u={},XN={get exports(){return $u},set exports(e){$u=e}},f1=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,ZN=/\n/g,e3=/^\s*/,t3=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,n3=/^:\s*/,r3=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,i3=/^[;\s]*/,o3=/^\s+|\s+$/g,l3=` +`,d1="/",p1="*",Pi="",a3="comment",s3="declaration",u3=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(h){var m=h.match(ZN);m&&(n+=m.length);var E=h.lastIndexOf(l3);r=~E?h.length-E:r+h.length}function o(){var h={line:n,column:r};return function(m){return m.position=new l(h),u(),m}}function l(h){this.start=h,this.end={line:n,column:r},this.source=t.source}l.prototype.content=e;function a(h){var m=new Error(t.source+":"+n+":"+r+": "+h);if(m.reason=h,m.filename=t.source,m.line=n,m.column=r,m.source=e,!t.silent)throw m}function s(h){var m=h.exec(e);if(m){var E=m[0];return i(E),e=e.slice(E.length),m}}function u(){s(e3)}function c(h){var m;for(h=h||[];m=f();)m!==!1&&h.push(m);return h}function f(){var h=o();if(!(d1!=e.charAt(0)||p1!=e.charAt(1))){for(var m=2;Pi!=e.charAt(m)&&(p1!=e.charAt(m)||d1!=e.charAt(m+1));)++m;if(m+=2,Pi===e.charAt(m-1))return a("End of comment missing");var E=e.slice(2,m-2);return r+=2,i(E),e=e.slice(m),r+=2,h({type:a3,comment:E})}}function d(){var h=o(),m=s(t3);if(m){if(f(),!s(n3))return a("property missing ':'");var E=s(r3),g=h({type:s3,property:h1(m[0].replace(f1,Pi)),value:E?h1(E[0].replace(f1,Pi)):Pi});return s(i3),g}}function p(){var h=[];c(h);for(var m;m=d();)m!==!1&&(h.push(m),c(h));return h}return u(),p()};function h1(e){return e?e.replace(o3,Pi):Pi}var c3=u3;function zS(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,i=c3(e),o=typeof t=="function",l,a,s=0,u=i.length;s0?k.createElement(p,s,f):k.createElement(p,s)}function h3(e){let t=-1;for(;++t for more info)`),delete Ls[o]}const t=EO().use(CP).use(e.remarkPlugins||[]).use(gN,W(P({},e.remarkRehypeOptions),{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(VN,e),n=new rS;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=k.createElement(k.Fragment,{},jS({options:e,schema:RN,listDepth:0},r));return e.className&&(i=k.createElement("div",{className:e.className},i)),i}WS.propTypes={children:M.string,className:M.string,allowElement:M.func,allowedElements:M.arrayOf(M.string),disallowedElements:M.arrayOf(M.string),unwrapDisallowed:M.bool,remarkPlugins:M.arrayOf(M.oneOfType([M.object,M.func,M.arrayOf(M.oneOfType([M.bool,M.string,M.object,M.func,M.arrayOf(M.any)]))])),rehypePlugins:M.arrayOf(M.oneOfType([M.object,M.func,M.arrayOf(M.oneOfType([M.bool,M.string,M.object,M.func,M.arrayOf(M.any)]))])),sourcePos:M.bool,rawSourcePos:M.bool,skipHtml:M.bool,includeElementIndex:M.bool,transformLinkUri:M.oneOfType([M.func,M.bool]),linkTarget:M.oneOfType([M.func,M.string]),transformImageUri:M.func,components:M.object};const b3="_tooltip_base_w63jb_1",E3="_popoverMarkdown_w63jb_10",YS={tooltip_base:b3,popoverMarkdown:E3};function S3({initialOpen:e=!1,placement:t="top",open:n,onOpenChange:r}={}){const[i,o]=O.useState(e),l=O.useRef(null),a=n!=null?n:i,s=r!=null?r:o,u=O.useCallback(()=>{s(g=>!g)},[s]),c=oO({placement:t,open:a,onOpenChange:s,whileElementsMounted:aI,middleware:[nI(7),tI({fallbackAxisSideDirection:"start"}),uI({element:l}),iI({padding:5})]}),f=c.context,d=jI(f,{move:!1,enabled:n==null}),p=rO(f,{enabled:n==null}),h=nO(f),m=iO(f,{role:"tooltip"}),E=lO([d,p,h,m]);return O.useMemo(()=>P(P({open:a,setOpen:s,toggleOpen:u,arrowRef:l},E),c),[a,s,u,E,c])}const VS=O.createContext(null),$S=()=>{const e=O.useContext(VS);if(e==null)throw new Error("Tooltip components must be wrapped in ");return e};function yf(n){var r=n,{children:e}=r,t=ye(r,["children"]);const i=S3(t);return v(VS.Provider,{value:i,children:e})}const vf=O.forwardRef(function(o,i){var l=o,{children:t,asChild:n=!1}=l,r=ye(l,["children","asChild"]);const a=$S(),s=t.ref,u=tS([a.refs.setReference,i,s]),c=O.useMemo(()=>({onMouseDown:a.toggleOpen,onMouseUp:a.toggleOpen}),[a.toggleOpen]);return n&&O.isValidElement(t)?O.cloneElement(t,a.getReferenceProps(W(P(P(P({ref:u},r),t.props),c),{"data-state":a.open?"open":"closed"}))):v("button",W(P(P({ref:u,"data-state":a.open?"open":"closed"},a.getReferenceProps(r)),c),{children:t}))}),HS=O.forwardRef(function({content:t},n){return v(lg,{ref:n,children:v(WS,{className:YS.popoverMarkdown,children:t})})}),lg=O.forwardRef(function(i,r){var o=i,{children:t}=o,n=ye(o,["children"]);var s,u;const l=$S(),a=tS([l.refs.setFloating,r]);return v(QI,{children:l.open&&v(Me,{children:U("div",W(P({ref:a,className:YS.tooltip_base,style:P({position:l.strategy,zIndex:10,top:(s=l.y)!=null?s:0,left:(u=l.x)!=null?u:0,visibility:l.x==null?"hidden":"visible"},n.style)},l.getFloatingProps(n)),{children:[t,v(PI,{ref:l.arrowRef,context:l.context,fill:"var(--tooltip-bg-color, pink)"})]}))})})});function Ke(...e){return e.filter(t=>t).join(" ")}const A3="_button_1y00r_1",x3="_regular_1y00r_26",C3="_icon_1y00r_34",_3="_transparent_1y00r_42",Td={button:A3,regular:x3,delete:"_delete_1y00r_30",icon:C3,transparent:_3},rt=k.forwardRef((o,i)=>{var l=o,{children:e,variant:t="regular",className:n}=l,r=ye(l,["children","variant","className"]);const a=t?Array.isArray(t)?t.map(s=>Td[s]).join(" "):Td[t]:"";return v("button",W(P({ref:i,className:Ke(Td.button,a,n)},r),{children:e}))}),lu=i=>{var o=i,{placement:e="right",popoverContent:t,tooltipClass:n}=o,r=ye(o,["placement","popoverContent","tooltipClass"]);return U(yf,{placement:e,children:[v(vf,{asChild:!0,children:v(rt,P({},r))}),v(lg,{children:v("div",{className:n,children:t})})]})},k3="_container_valbi_1",T3="_header_valbi_14",I3="_information_valbi_19",O3="_error_msg_valbi_24",P3="_actions_valbi_32",kl={container:k3,header:T3,information:I3,error_msg:O3,actions:P3};function ag({header:e,error:t,generateIssueLink:n,resetErrorBoundary:r}){const i=Gm(),{goBackward:o,canGoBackward:l}=GT();return U("div",{className:kl.container,children:[v("h3",{className:kl.header,children:e}),v("p",{className:kl.information,children:"Error message:"}),v("code",{className:kl.error_msg,children:t.message}),U("div",{className:kl.actions,children:[v(lu,{placement:"top",popoverContent:"Try rendering again to see if it fixes the error",onClick:()=>r(),children:"Reset"}),l?v(lu,{variant:"regular",placement:"top",popoverContent:"Undo the last state change to see if that fixes issue",onClick:()=>{o(),r()},children:"Undo last change"}):null,v(lu,{role:"link",popoverContent:"Generate a bug report for github",variant:"regular",placement:"top",onClick:()=>{window.open(n(i.getState()),"_blank")},children:"Submit bug report"})]})]})}var GS=N3;function N3(e,t,n){var r=null,i=null,o=function(){r&&(clearTimeout(r),i=null,r=null)},l=function(){var s=i;o(),s&&s()},a=function(){if(!t)return e.apply(this,arguments);var s=this,u=arguments,c=n&&!r;if(o(),i=function(){e.apply(s,u)},r=setTimeout(function(){if(r=null,!c){var f=i;return i=null,f()}},t),c)return i()};return a.cancel=o,a.flush=l,a}const Zn={ui:"",libraries:""};function xe(){return function(o){var l=o,{name:t,library:n,category:r}=l,i=ye(l,["name","library","category"]);return P({uiName:n?`${n}::${t}`:t,name:t,library:n,category:r!=null?r:"Uncategorized"},i)}}const R3="_container_1og9v_1",D3={container:R3},L3=xe()({library:"TESTING",name:"error_node",title:"Error Throwing Node",takesChildren:!1,UiComponent:({uiArguments:e,path:t,wrapperProps:n})=>{const{showBoundary:r}=bE();return U("div",W(P({className:D3.container},n),{children:[v("h3",{children:"Error Node! I throw errors"}),v(rt,{variant:"delete","aria-label":"Throw an error",onClick:()=>{r(new Error(`Ui Node error: ${e.error_msg}`))},children:"💣"})]}))},settingsInfo:{error_msg:{label:"Message for error",inputType:"string",defaultValue:"Uh oh, an error!"}},settingsFormRender:({inputs:e,settings:t})=>{if(t.error_msg==="Trigger settings error")throw new Error(`Settings panel render error: +${t.error_msg}`);return U(Me,{children:[v("p",{children:'Set the error message to "Trigger settings error" to cause the settings panel to throw an error'}),e.error_msg]})},category:"TESTING",description:"Node that throws an error when a button is clicked in editor or settings panel"}),F3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAEO0lEQVR4nO3dsYqcVRiH8WeNrkXMDRgLixRWRjSiXoMWG0iUXIGNsii4wRsQTApD0EIvQBCJ2RD0GqIoRjthC4vsHaRxRcbi7MDk28kMgv+c92SfH2zxfbPFmZcnZ06+LWZjNpsh/d+e6L0APZ4MSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqWIJ3svYJ2db/aW3d4Etg5/3gCePby3Mfm96RcFjfj6feAe8CtwE7gFHEx+jyvvnJne6qp8WEucB64AtSaZ8wzwwuHPJWAPuAx813NR64z0UXgC+JQ20OMS1TJngBu0WZzovJaHGmnH+gTY6b2IQuazuNx1FQ8xyo51gaNRHQDXaWesUxw9n3B4b/FnxNdP0d7jdY6erXZosylnhLA2gc8m9/aB14Bt4A7tgPu4uk97j9u097w/ef0abUaljBDWReC5hesD4C3gbpfV9HUXeBP4a+HeaeDtLqtZYYSwtibXX3I8o5r7Dfhqcm+rwzpWGiGsVyfXX3dZRS3TGZzrsooVRvhf4fOT63LniQ7usPywX8YIO9bUkafOqmfEsDQAw1LECGesdX+oPa5Kz8UdSxGGpQjDUsQIZ6xSZ4dCSs/FHUsRhqUIw1LECGes0s9rOio9F3csRRiWIgxLESOcsUqdHQopPRd3LEUYliIMSxEjnLFKP6/pqPRc3LEUYViKMCxFjHDGKnV2KKT0XNyxFGFYijAsRYxwxir9vKaj0nNxx1KEYSnCsBQxwhmr1NmhkNJzccdShGEpwrAUMcIZq/Tzmo5Kz8UdSxGGpQjDUsQIZ6xSZ4dCSs/FHUsRhqWIEcPyK08GMEJYf9Ce2cx/Xu67nBJe58GZ/Nl1NUuMENbvk+tLXVZRy3QGP3dZxQojhLU7uX4XONthHVW8SJvBot0O61hphLC+Be4tXD8NfA+81GU1fZ0FfqDNYG6fNqNSRgjrAPhwcu808CPt+5DPAScf8ZoepZO093gN+In23hd9wINf5VvCCA9Iof2LvAp8tHBvk/YF3NsL96YPDdf9oXa016euUnC3gjF2rLmPgc97L6KQL2gzKWmksP4B3gcuAHud19LTHnAReI82k5JG+ShcdAO4TRvueeAV2rnjqZ6LCvqbdkD/BbhJ++gr//XFG7PZuo9x6b8b6aNQAzEsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliL+BXaHdHGUC5uqAAAAAElFTkSuQmCC";function M3({text:e,position:t="down",size:n,children:r}){return v("span",{"aria-label":e,"data-balloon-pos":t,"data-balloon-length":n,children:r})}function Ir(l){var a=l,{text:e,position:t="down",size:n,children:r,variant:i="icon"}=a,o=ye(a,["text","position","size","children","variant"]);return v(rt,W(P({"aria-label":e,"data-balloon-pos":t,"data-balloon-length":n,variant:i},o),{children:r}))}const JS=({children:e,el:t="div"})=>{const[n]=O.useState(document.createElement(t));return O.useEffect(()=>(document.body.appendChild(n),()=>{document.body.removeChild(n)}),[n]),br.createPortal(e,n)},QS=236,B3=174,U3=31,KS={"--elements-palette-width":`${B3}px`,"--header-height":`${U3}px`,"--properties-panel-width":`${QS}px`},z3="_container_1w66f_1",j3="_full_screen_mode_1w66f_13",W3="_full_screen_button_container_1w66f_25",Y3="_card_holder_1w66f_69",V3="_card_contents_holder_1w66f_76",au={container:z3,full_screen_mode:j3,full_screen_button_container:W3,card_holder:Y3,card_contents_holder:V3},qS=k.forwardRef((o,i)=>{var l=o,{children:e,style:t,card_args:{full_screen:n=!1}}=l,r=ye(l,["children","style","card_args"]);const[a,s]=k.useState(!1),u=()=>s(f=>!f),c=U("div",{style:KS,className:Ke("card",au.container,a?au.full_screen_mode:null),children:[n?v($3,{isFullScreen:a,onClick:u}):null,e]});return a?v(JS,{children:c}):v("div",W(P({ref:i,style:t,className:au.card_holder},r),{children:c}))});function $3({isFullScreen:e,onClick:t}){return v("div",{className:au.full_screen_button_container,"data-is-full-screen":e,children:v(Ir,{text:e?"Reset full screen":"Expand to full screen",position:"left",onClick:n=>{n.preventDefault(),t()},variant:e?"regular":"icon",children:e?"Close":v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","aria-hidden":"true",role:"img",children:v("path",{"fill-rule":"evenodd",d:"M5.828 10.172a.5.5 0 0 0-.707 0l-4.096 4.096V11.5a.5.5 0 0 0-1 0v3.975a.5.5 0 0 0 .5.5H4.5a.5.5 0 0 0 0-1H1.732l4.096-4.096a.5.5 0 0 0 0-.707zm4.344 0a.5.5 0 0 1 .707 0l4.096 4.096V11.5a.5.5 0 1 1 1 0v3.975a.5.5 0 0 1-.5.5H11.5a.5.5 0 0 1 0-1h2.768l-4.096-4.096a.5.5 0 0 1 0-.707zm0-4.344a.5.5 0 0 0 .707 0l4.096-4.096V4.5a.5.5 0 1 0 1 0V.525a.5.5 0 0 0-.5-.5H11.5a.5.5 0 0 0 0 1h2.768l-4.096 4.096a.5.5 0 0 0 0 .707zm-4.344 0a.5.5 0 0 1-.707 0L1.025 1.732V4.5a.5.5 0 0 1-1 0V.525a.5.5 0 0 1 .5-.5H4.5a.5.5 0 0 1 0 1H1.732l4.096 4.096a.5.5 0 0 1 0 .707z"})})})})}function g1(...e){let t=0;for(const n of e)n&&(t+=1);return t}function ph(...e){return e.filter(n=>n!==void 0).reduce((n,r,i)=>(i===0?"":n+` +`)+r,"")}function H3(e,t){const n=" ".repeat(t);return e.replaceAll(/\n/g,` +${n}`)}function XS(e,t="multi"){const n=t==="single"?"`":"\n```\n";return`${n}${e}${n}`}function G3(e){return XS(e,"single")}function Id(e){return XS(e,"multi")}function sg(e){var t,n;switch(e.app_info.mode){case"MAIN":{const r=JSON.stringify(e.app_info.ui_tree,null,2),i=(n=((t=e.selected_path)!=null?t:[]).join(" > "))!=null?n:"null";return ph(`## Ui-Tree at error: +${Id(r)}`,`__Selection path:__ ${G3(i)}`)}case"TEMPLATE_CHOOSER":{const r=JSON.stringify(e.app_info.options,null,2);return ph("## Template chooser options at error:",`${Id(r)}`)}default:{const r=JSON.stringify(e.app_info,null,2);return`## App state at error: +${Id(r)}`}}}function J3(e){const{node:t,path:n,app_state:r}=e;return ug({title:`Error rendering ${t.uiName}`,body:ph(`This is what I was going when this error happened... +`,sg(r),`__Path to node at error:__ \`${n.join(" > ")}\``),labels:["testing-labels","ui-node-rendering"]})}function ug(e){const t=()=>`https://github.com/rstudio/shinyuieditor/issues/new?${[`title=${encodeURIComponent(e.title)}`,`labels=${encodeURIComponent(["autogenerated"].join(","))}`,`body=${encodeURIComponent(e.body)}`].join("&")}`,n=t(),r=65e3;return n.length>r?(e.body="State of app during error was too large to encode in url. Please describe state of app when error occured as best you can! Thank you!",t()):n}function Q3({node:e,path:t,error:n,resetErrorBoundary:r}){return v(ag,{header:`Something went wrong rendering ${e.uiName}()`,error:n,resetErrorBoundary:r,generateIssueLink:i=>J3({node:e,path:t,app_state:i})})}function Tn(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:cg(e)?2:fg(e)?3:0}function Fo(e,t){return sl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function K3(e,t){return sl(e)===2?e.get(t):e[t]}function ZS(e,t,n){var r=sl(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function eA(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function cg(e){return nR&&e instanceof Map}function fg(e){return rR&&e instanceof Set}function Ii(e){return e.o||e.t}function dg(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=nA(e);delete t[De];for(var n=Mo(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=q3),Object.freeze(e),t&&Qi(e,function(n,r){return pg(r,!0)},!0)),e}function q3(){Tn(2)}function hg(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Kn(e){var t=yh[e];return t||Tn(18,e),t}function X3(e,t){yh[e]||(yh[e]=t)}function hh(){return Da}function Od(e,t){t&&(Kn("Patches"),e.u=[],e.s=[],e.v=t)}function Hu(e){mh(e),e.p.forEach(Z3),e.p=null}function mh(e){e===Da&&(Da=e.l)}function y1(e){return Da={p:[],l:Da,h:e,m:!0,_:0}}function Z3(e){var t=e[De];t.i===0||t.i===1?t.j():t.O=!0}function Pd(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||Kn("ES5").S(t,e,r),r?(n[De].P&&(Hu(t),Tn(4)),Cr(e)&&(e=Gu(t,e),t.l||Ju(t,e)),t.u&&Kn("Patches").M(n[De].t,e,t.u,t.s)):e=Gu(t,n,[]),Hu(t),t.u&&t.v(t.u,t.s),e!==tA?e:void 0}function Gu(e,t,n){if(hg(t))return t;var r=t[De];if(!r)return Qi(t,function(a,s){return v1(e,r,t,a,s,n)},!0),t;if(r.A!==e)return t;if(!r.P)return Ju(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=dg(r.k):r.o,o=i,l=!1;r.i===3&&(o=new Set(i),i.clear(),l=!0),Qi(o,function(a,s){return v1(e,r,i,a,s,n,l)}),Ju(e,i,!1),n&&e.u&&Kn("Patches").N(r,n,e.u,e.s)}return r.o}function v1(e,t,n,r,i,o,l){if(di(i)){var a=Gu(e,i,o&&t&&t.i!==3&&!Fo(t.R,r)?o.concat(r):void 0);if(ZS(n,r,a),!di(a))return;e.m=!1}else l&&n.add(i);if(Cr(i)&&!hg(i)){if(!e.h.D&&e._<1)return;Gu(e,i),t&&t.A.l||Ju(e,i)}}function Ju(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&pg(t,n)}function Nd(e,t){var n=e[De];return(n?Ii(n):e)[t]}function w1(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Wr(e){e.P||(e.P=!0,e.l&&Wr(e.l))}function Rd(e){e.o||(e.o=dg(e.t))}function gh(e,t,n){var r=cg(t)?Kn("MapSet").F(t,n):fg(t)?Kn("MapSet").T(t,n):e.g?function(i,o){var l=Array.isArray(i),a={i:l?1:0,A:o?o.A:hh(),P:!1,I:!1,R:{},l:o,t:i,k:null,o:null,j:null,C:!1},s=a,u=La;l&&(s=[a],u=Wl);var c=Proxy.revocable(s,u),f=c.revoke,d=c.proxy;return a.k=d,a.j=f,d}(t,n):Kn("ES5").J(t,n);return(n?n.A:hh()).p.push(r),r}function eR(e){return di(e)||Tn(22,e),function t(n){if(!Cr(n))return n;var r,i=n[De],o=sl(n);if(i){if(!i.P&&(i.i<4||!Kn("ES5").K(i)))return i.t;i.I=!0,r=b1(n,o),i.I=!1}else r=b1(n,o);return Qi(r,function(l,a){i&&K3(i.t,l)===a||ZS(r,l,t(a))}),o===3?new Set(r):r}(e)}function b1(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return dg(e)}function tR(){function e(o,l){var a=i[o];return a?a.enumerable=l:i[o]=a={configurable:!0,enumerable:l,get:function(){var s=this[De];return La.get(s,o)},set:function(s){var u=this[De];La.set(u,o,s)}},a}function t(o){for(var l=o.length-1;l>=0;l--){var a=o[l][De];if(!a.P)switch(a.i){case 5:r(a)&&Wr(a);break;case 4:n(a)&&Wr(a)}}}function n(o){for(var l=o.t,a=o.k,s=Mo(a),u=s.length-1;u>=0;u--){var c=s[u];if(c!==De){var f=l[c];if(f===void 0&&!Fo(l,c))return!0;var d=a[c],p=d&&d[De];if(p?p.t!==f:!eA(d,f))return!0}}var h=!!l[De];return s.length!==Mo(l).length+(h?0:1)}function r(o){var l=o.k;if(l.length!==o.t.length)return!0;var a=Object.getOwnPropertyDescriptor(l,l.length-1);if(a&&!a.get)return!0;for(var s=0;s1?g-1:0),w=1;w1?c-1:0),d=1;d=0;i--){var o=r[i];if(o.path.length===0&&o.op==="replace"){n=o.value;break}}i>-1&&(r=r.slice(i+1));var l=Kn("Patches").$;return di(n)?l(n,r):this.produce(n,function(a){return l(a,r)})},e}(),Zt=new oR,wi=Zt.produce;Zt.produceWithPatches.bind(Zt);Zt.setAutoFreeze.bind(Zt);Zt.setUseProxies.bind(Zt);Zt.applyPatches.bind(Zt);Zt.createDraft.bind(Zt);Zt.finishDraft.bind(Zt);function Fa(e){return Fa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fa(e)}function lR(e,t){if(Fa(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Fa(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function aR(e){var t=lR(e,"string");return Fa(t)==="symbol"?t:String(t)}function sR(e,t,n){return t=aR(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function C1(e){for(var t=1;t0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]0)for(var w=p.getState(),S=Array.from(n.values()),_=0,b=S;_t.payload.node_info,UNSET_DRAGGED:e=>null}}),{SET_DRAGGED:QR,UNSET_DRAGGED:KR}=gA.actions;function yA(){return Ka(e=>e.currentlyDraggedNode)}function qR(){const e=Tr();return t=>e(QR({node_info:t}))}function vA(){const e=Tr();return()=>e(KR())}const XR=gA.reducer;function wA(e){const t=k.useRef(!1),n=qR(),r=vA(),i=k.useCallback(l=>{t.current!==!1&&(l.stopPropagation(),r(),t.current=!1,document.body.removeEventListener("dragover",D1),document.body.removeEventListener("drop",i))},[r]);return{onDragStart:k.useCallback(l=>{l.stopPropagation(),t.current=!0,document.body.addEventListener("dragover",D1),document.body.addEventListener("drop",i),n(e)},[i,e,n]),onDragEnd:i,draggable:!0}}function D1(e){e.preventDefault()}function er(e,t){return[...e,t]}function Ef(e){return e.join("-")}function ul(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n!n.includes(o)),i=Object.keys(t).filter(o=>!n.includes(o));if(!ul(r,i))return!1;for(let o of r)if(e[o]!==t[o])return!1;return!0}const bA=wf({name:"selectedPath",initialState:[],reducers:{SET_SELECTION:(e,t)=>t.payload.path,STEP_BACK_SELECTION:e=>e===null||e.length===0?null:(e.pop(),e)}}),{SET_SELECTION:Sf,STEP_BACK_SELECTION:FW}=bA.actions;function is(){return Ka(e=>e.selected_path)}function EA(){const e=Tr();return k.useCallback(n=>{e(Sf({path:n}))},[e])}const e5=bA.reducer;function t5(e){const t=is(),n=EA(),r=k.useCallback(o=>{o.stopPropagation(),n(e)},[e,n]),i=Boolean(t&&ul(t,e));return{onClick:r,isSelected:i}}function SA({node:e,path:t,canDrag:n}){const r=wA({node:e,currentPath:t}),{onClick:i,isSelected:o}=t5(t);return P({onClick:i,"data-sue-path":Ef(t),"data-is-selected-node":o,"aria-label":e.uiName},n?r:{})}const bi=({path:e,node:t,canDrag:n=!0})=>{var a;const i=to(t.uiName).UiComponent,o=SA({path:e,node:t,canDrag:n}),l=k.useMemo(()=>s=>v(Q3,P({node:t,path:e},s)),[t,e]);return v(Ja,{fallbackRender:l,children:v(i,{wrapperProps:o,uiArguments:t.uiArguments,uiChildren:no(t)?(a=t.uiChildren)!=null?a:[]:[],path:e})})};function Ui(e){return e.length}function AA(e,t,n){return n===0?!0:ul(e.slice(0,n),t.slice(0,n))}function n5(e,t){const n=Ui(e),r=Ui(t);return n>=r?!1:AA(e,t,n)}function xA(e,t){const n=Math.min(e.length,t.length)-1;return n<=0?!0:AA(e,t,n)}function r5({fromPath:e,toPath:t}){if(e==null)return!0;if(n5(e,t))return!1;if(xA(e,t)){const n=e.length,r=e[n-1],i=t[n-1];if(r===i||r===i-1)return!1}return!0}function i5({child:e,wrapper:t}){if(typeof t=="function"){const n=t(e);if(n===null)return e;t=n}return W(P({},t),{uiChildren:[e]})}function CA(e){return typeof e=="object"&&e!==null}const o5={symbol:"s",character:"c",boolean:"b",number:"n",unknown:"u",expression:"e"};class Yn extends Error{constructor({message:t,cause:n}){super(),this.name="AST_PARSING_ERROR",this.message=t,this.cause=n}}function qt(e,t){return e.type===o5[t]}const l5=new Set(["c","n","b"]);function a5(e){return l5.has(e.type)}function nr(e){return e.type==="e"&&Array.isArray(e.val)}function s5(e,t){if(!nr(e))return!1;const{val:n}=e;return n[0].val==="<-"||n[0].val==="="?t?n[1].val===t:!0:!1}function _A(e){return e.val[1]}function u5(e){return e.val[2]}function Xu(e){let t=[];return e.forEach(n=>{if(s5(n)){const r=_A(n);c5(r)?t.push({name:r.val[2].val,is_output:!0,node:n}):r.type==="s"&&t.push({name:r.val,is_output:!1,node:n})}if(nr(n)){const r=Xu(n.val);t.push(...r)}}),t}function c5(e){if(!nr(e))return!1;const{val:t}=e;return t.length===3&&t[1].val==="output"&&typeof t[2].val=="string"}function kA(e){const t=e.filter(({is_output:r})=>r),n=new Set;return t.forEach(({name:r})=>{n.add(r)}),n}function f5(e){return!Boolean(e.pos)||!(_A(e).val==="ui")?!1:nr(u5(e))}function TA(e){const t=e.find(({name:r,is_output:i})=>r==="ui"&&!i);if(!t)throw new Yn({message:"No ui assignment node was found in provided ast"});const{node:n}=t;if(!f5(n))throw new Yn({message:"No position info attached to the ui assignment node",cause:n});return n}function Jo({node:e,explanation:t}){return{uiName:"unknownUiFunction",uiArguments:{text:nr(e)?NA(e.val):bg(e),explanation:t}}}function d5(e){return e[0].val==="c"}function p5(e){const t=e[0].val;return t==="c"||t==="list"}function h5(e){return nr(e)&&d5(e.val)}function m5(e){return nr(e)&&e.val[0].val==="list"}function g5(e){try{return IA(e)}catch(t){if(!(t instanceof Yn))throw t;return Jo({node:e,explanation:t.message})}}function IA(e){if(!nr(e))throw new Yn({message:"Tried to flatten a leaf/primative node"});const[t,...n]=e.val;if(t.val!=="c")throw new Yn({message:"Tried to flatten non array as array"});return n.map(r=>OA(r.val)?r.val:IA(r))}function y5(e){if(!nr(e))throw new Yn({message:"Tried to flatten a leaf/primative node"});try{const[t,...n]=e.val;if(t.val!=="list")throw new Yn({message:"Tried to flatten non array as array",cause:e});let r={};return n.forEach(({name:i,val:o})=>{if(typeof i!="string")throw new Yn({message:"All elements in list must have a name",cause:e});if(!OA(o))throw new Yn({message:"Nested lists are not supported",cause:e});r[i]=o}),r}catch(t){if(!(t instanceof Yn))throw t;return Jo({node:e,explanation:t.message})}}function OA(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function v5(e){return qt(e[0],"symbol")&&e[0].val==="function"}function w5(e){if(!qt(e,"expression")||e.val.length!==2)return!1;const[t,n]=e.val;return qt(t,"symbol")&&t.val==="("?qt(n,"expression")&&v5(n.val):!1}function b5([,e,t]){return`function(${e.val.map(r=>{var l;const i=(l=r.name)!=null?l:"name",o=r.val?` = ${r.val}`:"";return`${i}${o}`}).join(", ")}) {...}`}const PA=2,E5=" ".repeat(PA),wg=60,pi=` +${E5}`;function NA(e){const[t,...n]=e;let r;if(w5(t))r=`(${b5(t.val[1].val)})`;else if(qt(t,"symbol"))r=t.val;else return"Unknown Ui Code";const i=n.map(s=>`${s.name?`${s.name} = `:""}${bg(s)}`),o=RA({fn_name:r,fn_args_list:i,max_line_length_for_multi_args:p5(e)?wg:0}),l=`,${o?pi:" "}`,a=i.join(l);return`${r}(${o?pi:""}${a}${o?` `:""})`}function RA({fn_name:e,fn_args_list:t,max_line_length_for_multi_args:n}){if(t.some(l=>l.includes(` -`)))return!0;if(n===0)return t.length>1;const i=t.reduce((l,a)=>l+a.length+2,0),o=e.length+2;return i+o>n}function yg({val:e,type:t}){switch(t){case"b":return e?"TRUE":"FALSE";case"c":return`"${e}"`;case"m":return"";case"n":return String(e);case"s":return e;case"e":return Ba(NA(e));case"u":return"<...>"}}function Ba(e){return cI(e,PA)}const DA={default:null,bold:"strong",italic:"em"},S5={strong:"bold",em:"italic"},LA={default:"span",small:"small",headline:"h1",subtitle:"h2"},FA={h1:"headline",h2:"subtitle",small:"small"};function A5(e){return!!(qt(e,"character")||Xu(e)||MA(e))}function N1(e){return{contents:e.val[1].val,decoration:S5[e.val[0].val]}}function Xu(e){if(!qt(e,"expression"))return!1;const t=e.val[0];if(!(qt(t,"symbol")&&Object.values(DA).includes(t.val)))return!1;const r=e.val[1];return qt(r,"character")}function MA(e){if(!qt(e,"expression"))return!1;const t=e.val[0];if(!(qt(t,"symbol")&&t.val in FA))return!1;const r=e.val[1];return qt(r,"character")||Xu(r)}function R1(e){const t={uiName:"textNode",uiArguments:{contents:"TO_REPLACE"}};if(typeof e=="string")return t.uiArguments.contents=e,t;if(MA(e)){t.uiArguments.size=FA[e.val[0].val];const n=e.val[1];if(Xu(n)){const{decoration:r,contents:i}=N1(n);t.uiArguments.decoration=r,t.uiArguments.contents=i}else t.uiArguments.contents=n.val}else if(Xu(e)){const{decoration:n,contents:r}=N1(e);t.uiArguments.decoration=n,t.uiArguments.contents=r}else t.uiArguments.contents=e.val;return t}function vg(e){const[t,...n]=e.val;if(typeof t.val!="string")return Jo({node:e});let r={},i=[];n.forEach(l=>{l.name?r[l.name]=x5(l):i.push(C5(l))});const o=r9.get(t.val);return o===void 0?Jo({node:e}):{uiName:o,uiArguments:r,uiChildren:i.length>0?i:void 0}}function x5(e){return a5(e)?e.val:h5(e)?g5(e):m5(e)?y5(e):Jo({node:e})}function C5(e,t){return qt(e,"symbol")?Jo({node:e,explanation:"Unknown symbol"}):A5(e)?R1(e):nr(e)?vg(e):R1(yg(e))}function BA(e){return e.app_type==="SINGLE-FILE"?_5(e):k5(e)}function _5({app:{ast:e}}){const t=qu(e),n=TA(t);return{app_type:"SINGLE-FILE",app:{ui_tree:vg(n.val[2]),ui_pos:n.pos,ui_assignment_operator:n.val[0].val,known_outputs:kA(t)}}}function k5({ui:e,server:t}){const n=qu(e.ast),r=TA(n),i=qu(t.ast);return{app_type:"MULTI-FILE",ui:{ui_tree:vg(r.val[2]),ui_pos:r.pos,ui_assignment_operator:r.val[0].val},server:{known_outputs:kA(i)}}}function T5(e){if("ui_tree"in e)return P({mode:"MAIN"},e);try{const t=e.app_type==="SINGLE-FILE"?I5(e):P5(e);return P({mode:"MAIN"},t)}catch(t){const n=t instanceof Error?t.message:null;return n===null&&console.error("Unknown error type seen",t),{mode:"ERROR",msg:n!=null?n:"Unknown error",context:"Parsing app information from backend"}}}function I5(e){const t=BA(e),{app:{ui_pos:n,ui_assignment_operator:r,ui_tree:i,known_outputs:o}}=t,a=e.app.script.split(` -`);let s=["shiny"],u=[],c;return a.forEach((f,d)=>{var h,m;const p=UA({line:f,line_number:d,ui_pos:n});if(p==="Other"){u.push(f);return}if(p==="Library"){const E=(m=(h=wg.exec(f))==null?void 0:h.groups)==null?void 0:m.library;E&&E!=="shiny"&&s.push(E)}if(p!==c)if(c=p,p==="UI")u.push(`ui ${r} ${Xn.ui}`);else if(p==="Library")u.push(Xn.libraries);else throw new Error("Unknown line type")}),{app_type:"SINGLE-FILE",ui_tree:i,known_outputs:o,app:{code:u.join(` +`)))return!0;if(n===0)return t.length>1;const i=t.reduce((l,a)=>l+a.length+2,0),o=e.length+2;return i+o>n}function bg({val:e,type:t}){switch(t){case"b":return e?"TRUE":"FALSE";case"c":return`"${e}"`;case"m":return"";case"n":return String(e);case"s":return e;case"e":return Ba(NA(e));case"u":return"<...>"}}function Ba(e){return H3(e,PA)}const DA={default:null,bold:"strong",italic:"em"},S5={strong:"bold",em:"italic"},LA={default:"span",small:"small",headline:"h1",subtitle:"h2"},FA={h1:"headline",h2:"subtitle",small:"small"};function A5(e){return!!(qt(e,"character")||Zu(e)||MA(e))}function L1(e){return{contents:e.val[1].val,decoration:S5[e.val[0].val]}}function Zu(e){if(!qt(e,"expression"))return!1;const t=e.val[0];if(!(qt(t,"symbol")&&Object.values(DA).includes(t.val)))return!1;const r=e.val[1];return qt(r,"character")}function MA(e){if(!qt(e,"expression"))return!1;const t=e.val[0];if(!(qt(t,"symbol")&&t.val in FA))return!1;const r=e.val[1];return qt(r,"character")||Zu(r)}function F1(e){const t={uiName:"textNode",uiArguments:{contents:"TO_REPLACE"}};if(typeof e=="string")return t.uiArguments.contents=e,t;if(MA(e)){t.uiArguments.size=FA[e.val[0].val];const n=e.val[1];if(Zu(n)){const{decoration:r,contents:i}=L1(n);t.uiArguments.decoration=r,t.uiArguments.contents=i}else t.uiArguments.contents=n.val}else if(Zu(e)){const{decoration:n,contents:r}=L1(e);t.uiArguments.decoration=n,t.uiArguments.contents=r}else t.uiArguments.contents=e.val;return t}function Eg(e){const[t,...n]=e.val;if(typeof t.val!="string")return Jo({node:e});let r={},i=[];n.forEach(l=>{l.name?r[l.name]=x5(l):i.push(C5(l))});const o=r9.get(t.val);return o===void 0?Jo({node:e}):{uiName:o,uiArguments:r,uiChildren:i.length>0?i:void 0}}function x5(e){return a5(e)?e.val:h5(e)?g5(e):m5(e)?y5(e):Jo({node:e})}function C5(e,t){return qt(e,"symbol")?Jo({node:e,explanation:"Unknown symbol"}):A5(e)?F1(e):nr(e)?Eg(e):F1(bg(e))}function BA(e){return e.app_type==="SINGLE-FILE"?_5(e):k5(e)}function _5({app:{ast:e}}){const t=Xu(e),n=TA(t);return{app_type:"SINGLE-FILE",app:{ui_tree:Eg(n.val[2]),ui_pos:n.pos,ui_assignment_operator:n.val[0].val,known_outputs:kA(t)}}}function k5({ui:e,server:t}){const n=Xu(e.ast),r=TA(n),i=Xu(t.ast);return{app_type:"MULTI-FILE",ui:{ui_tree:Eg(r.val[2]),ui_pos:r.pos,ui_assignment_operator:r.val[0].val},server:{known_outputs:kA(i)}}}function T5(e){if("ui_tree"in e)return P({mode:"MAIN"},e);try{const t=e.app_type==="SINGLE-FILE"?I5(e):P5(e);return P({mode:"MAIN"},t)}catch(t){const n=t instanceof Error?t.message:null;return n===null&&console.error("Unknown error type seen",t),{mode:"ERROR",msg:n!=null?n:"Unknown error",context:"Parsing app information from backend"}}}function I5(e){const t=BA(e),{app:{ui_pos:n,ui_assignment_operator:r,ui_tree:i,known_outputs:o}}=t,a=e.app.script.split(` +`);let s=["shiny"],u=[],c;return a.forEach((f,d)=>{var h,m;const p=UA({line:f,line_number:d,ui_pos:n});if(p==="Other"){u.push(f);return}if(p==="Library"){const E=(m=(h=Sg.exec(f))==null?void 0:h.groups)==null?void 0:m.library;E&&E!=="shiny"&&s.push(E)}if(p!==c)if(c=p,p==="UI")u.push(`ui ${r} ${Zn.ui}`);else if(p==="Library")u.push(Zn.libraries);else throw new Error("Unknown line type")}),{app_type:"SINGLE-FILE",ui_tree:i,known_outputs:o,app:{code:u.join(` `),libraries:s}}}function O5({ui_pos:e,ui_assignment_operator:t},n){const r=n.split(` -`);let i=["shiny"],o=[],l;return r.forEach((a,s)=>{var c,f;const u=UA({line:a,line_number:s,ui_pos:e});if(u==="Other"){o.push(a);return}if(u==="Library"){const d=(f=(c=wg.exec(a))==null?void 0:c.groups)==null?void 0:f.library;d&&d!=="shiny"&&i.push(d)}if(u!==l)if(l=u,u==="UI")o.push(`ui ${t} ${Xn.ui}`);else if(u==="Library")o.push(Xn.libraries);else throw new Error("Unknown line type")}),{code:o.join(` -`),libraries:i}}function P5(e){const{ui:t,server:{known_outputs:n}}=BA(e);return{app_type:"MULTI-FILE",ui_tree:t.ui_tree,known_outputs:n,ui:O5(t,e.ui.script),server:{code:e.server.script}}}function N5(e,[t,n,r,i]){return e>=t-1&&e<=r-1}function UA({line:e,line_number:t,ui_pos:n}){return N5(t,n)?"UI":wg.test(e)?"Library":"Other"}const wg=new RegExp("^\\s*library\\((?\\w+)\\)"),Zu=(e,t)=>Array.from({length:e},(n,r)=>r),ec=(e,t)=>{const n=Math.abs(t-e)+1,r=ee+o*r)};function D1(e){let t=1/0,n=-1/0;for(let o of e)on&&(n=o);const r=n-t,i=Array.isArray(e)?e.length:e.size;return{minVal:t,maxVal:n,span:r,isSequence:r===i-1}}function Ua(e,t){return[...new Array(t)].fill(e)}function R5(e,t){return e.filter(n=>!t.includes(n))}function Eh(e,t){return[...e.slice(0,t),...e.slice(t+1)]}function Qo(e,t,n){if(t<0)throw new Error("Can't add item at a negative index");const r=[...e];return t>r.length-1&&(r.length=t),r.splice(t,0,n),r}function D5(e,t,n){if(n<0)throw new Error("Can't add item at a negative index");if(t<0||t>e.length)throw new Error("Requested to move an element that is not in array");let r=[...e];const i=r[t];return r[t]=void 0,r=Qo(r,n,i),r.filter(o=>typeof o!="undefined")}function L5(e,t=", ",n=" and "){const r=e.length;if(r===1)return e[0];const i=e[r-1];return[...e].splice(0,r-1).join(t)+n+i}function F5(e){return[...new Set(e)]}function aa(e){return Array.isArray(e)?e:[e]}function Ei(e,t){let n=e,r;for(r of t){if(!no(n))throw new Error("Somehow trying to enter a leaf node");n=M5(n,r)}return n}function M5(e,t){var r;const n=(r=e.uiChildren)==null?void 0:r[t];if(!n)throw new Error(`Requested path does not exist. Attempt: parent: ${JSON.stringify(e,null,2)}, child_index: ${t}`);return n}function zA(e){return e.slice(0,e.length-1)}function B5(e){return e[e.length-1]}function U5(e,{path:t,node:n}){const r=zA(t),i=t[t.length-1],o=Ei(e,r);if(!no(o))throw new Error("Can't add a child to a non-container node. Check the path");Array.isArray(o.uiChildren)||(o.uiChildren=[]),o.uiChildren=Qo(o.uiChildren,i,n)}function jA(e,t){return z5(e,t)&&e.at(-1)!==t.at(-1)}function z5(e,t){const n=e.length,r=t.length;if(n!==r)return!1;const i=n-1;return ul(e.slice(0,i),t.slice(0,i))}function j5(e){if(!e.uiChildren)throw new Error("Somehow trying to enter a leaf node")}function WA(e,{path:t}){const{parentNode:n,indexToNode:r}=W5(e,t);if(!no(n))throw new Error("Somehow trying to enter a leaf node");j5(n),n.uiChildren.splice(r,1)}function W5(e,t){const n=[...t],r=n.pop();if(typeof r=="undefined")throw new Error("Path to node must have at least one element");const i=n.length===0?e:Ei(e,n);if(!no(i))throw new Error("Somehow trying to enter a leaf node");return{parentNode:i,indexToNode:r}}function Y5(e,{path:t,currentPath:n,node:r}){const i=zA(t),o=t[t.length-1],l=Ei(e,i);if(!no(l))throw new Error("Can't add a child to a non-container node. Check the path");Array.isArray(l.uiChildren)||(l.uiChildren=[]);const a=[...i,o];if(jA(n,a)){const s=n[n.length-1];l.uiChildren=D5(l.uiChildren,s,o);return}WA(e,{path:n}),l.uiChildren=Qo(l.uiChildren,o,r)}function YA(e){return"currentPath"in e&&e.currentPath!==void 0}function V5(e,t){const{path:n,node:r}=t;if(YA(t)){Y5(e,{path:n,currentPath:t.currentPath,node:r});return}U5(e,{path:n,node:r})}function $5(e,{path:t,node:n}){const r=Ei(e,t);Object.assign(r,n)}function VA(e){let t=null;return()=>{var n;if(t!==null)return t;t=new Set;for(const r of qo)if("stateUpdateSubscribers"in r){const i=(n=r.stateUpdateSubscribers)==null?void 0:n[e];i&&t.add(i)}return t}}const H5=VA("DELETE_NODE"),G5=VA("UPDATE_NODE"),$A=wf({name:"state",initialState:{mode:"LOADING"},reducers:{SET_FULL_STATE:(e,t)=>t.payload.state,SET_APP_INFO:(e,t)=>T5(t.payload),SET_ERROR:(e,{payload:t})=>P({mode:"ERROR"},t),SHOW_TEMPLATE_CHOOSER:(e,{payload:t})=>({mode:"TEMPLATE_CHOOSER",options:t}),SET_LOADING:e=>({mode:"LOADING"}),UPDATE_NODE:(e,t)=>{if(e.mode!=="MAIN")throw new Error("Tried to update a node when in template chooser mode");for(const n of G5())n(e.ui_tree,t.payload);$5(e.ui_tree,t.payload)},PLACE_NODE:(e,t)=>{if(e.mode!=="MAIN")throw new Error("Tried to move a node when in template chooser mode");V5(e.ui_tree,t.payload)},DELETE_NODE:(e,t)=>{if(e.mode!=="MAIN")throw new Error("Tried to delete a node when in template chooser mode");for(const n of H5())n(e.ui_tree,{path:t.payload.path});WA(e.ui_tree,t.payload)}}}),{UPDATE_NODE:HA,PLACE_NODE:GA,DELETE_NODE:JA,SET_APP_INFO:J5,SET_ERROR:Q5,SET_FULL_STATE:QA,SHOW_TEMPLATE_CHOOSER:K5,SET_LOADING:FW}=$A.actions;function KA(){return Qa(e=>e.app_info)}const q5=$A.reducer;function bg(){const e=Tr();return k.useCallback(o=>{var l=o,{wrappingNode:n,node:r}=l,i=ye(l,["wrappingNode","node"]);n&&(r=i5({child:r,wrapper:n})),e(GA(P({node:r},i)))},[e])}function Eg({getCanAcceptDrop:e,onDrop:t,onDragOver:n,canAcceptDropClass:r="can-accept-drop",hoveringOverClass:i="hovering-over"}){const o=k.useRef(null),l=yA(),a=vA(),{addCanAcceptDropHighlight:s,addHoveredOverHighlight:u,removeHoveredOverHighlight:c,removeAllHighlights:f}=X5({watcherRef:o,canAcceptDropClass:r,hoveringOverClass:i}),d=l?e(l):!1,p=k.useCallback(E=>{E.preventDefault(),E.stopPropagation(),u(),n==null||n()},[u,n]),h=k.useCallback(E=>{E.preventDefault(),c()},[c]),m=k.useCallback(E=>{if(E.stopPropagation(),c(),!l){console.error("No dragged node in context but a drop was detected...");return}d?t(l):console.error("Incompatable drag pairing"),a()},[d,l,t,c,a]);return k.useEffect(()=>{const E=o.current;if(E)return d&&(s(),E.addEventListener("dragenter",p),E.addEventListener("dragleave",h),E.addEventListener("dragover",p),E.addEventListener("drop",m)),()=>{f(),E.removeEventListener("dragenter",p),E.removeEventListener("dragleave",h),E.removeEventListener("dragover",p),E.removeEventListener("drop",m)}},[s,d,h,p,m,f,o]),o}function X5({watcherRef:e,canAcceptDropClass:t,hoveringOverClass:n}){const r=k.useCallback(()=>{e.current&&setTimeout(()=>{var a,s;(a=e.current)==null||a.classList.add(t),(s=e.current)==null||s.classList.add("can-accept-drop")},1)},[t,e]),i=k.useCallback(()=>{e.current&&e.current.classList.add(n)},[n,e]),o=k.useCallback(()=>{e.current&&e.current.classList.remove(n)},[n,e]),l=k.useCallback(()=>{e.current&&(e.current.classList.remove(n),e.current.classList.remove(t),e.current.classList.remove("can-accept-drop"))},[t,n,e]);return{addCanAcceptDropHighlight:r,addHoveredOverHighlight:i,removeHoveredOverHighlight:o,removeAllHighlights:l}}function zi(s){var u=s,{index:e,parentNodeType:t,parentPath:n,dropHandlerArgs:r,className:i="",wrappingNode:o,dropFilters:l}=u,a=ye(u,["index","parentNodeType","parentPath","dropHandlerArgs","className","wrappingNode","dropFilters"]);const c=bg(),f=Eg(P({onDrop:p=>{c(W(P({},p),{path:er(n,e),wrappingNode:o}))},getCanAcceptDrop:p=>{var g;const{node:h,currentPath:m}=p;if(!r5({fromPath:m,toPath:[...n,e]}))return!1;const E=to(h.uiName);return"allowedParents"in E&&!((g=E.allowedParents)!=null&&g.includes(t))?!1:l?"accepted"in l?h.uiName in l.accepted:!(h.uiName in l.rejected):!0}},r)),d=typeof i=="string"?i:i(e);return v("div",W(P({ref:f,className:d},a),{"data-index":e}))}const Z5="_card_body_fill_bahaw_1",eD="_card_children_container_bahaw_17",tD="_empty_msg_bahaw_34",nD="_drop_watcher_bahaw_42",rD="_missing_card_element_bahaw_66",iD="_card_footer_bahaw_91",oD="_card_header_bahaw_97",sn={card_body_fill:Z5,card_children_container:eD,empty_msg:tD,drop_watcher:nD,missing_card_element:rD,card_footer:iD,card_header:oD};function qA({children:e}){return v("div",{className:sn.card_children_container,children:e})}function XA(i){var o=i,{className:e,children:t,args:n={}}=o,r=ye(o,["className","children","args"]);const l={gap:n==null?void 0:n.gap};return v("div",W(P({className:Ke(e,"card-body",sn.card_body_fill)},r),{children:v("div",{className:sn.card_children_container,style:l,children:t})}))}function ZA(r){var i=r,{className:e,children:t}=i,n=ye(i,["className","children"]);return v("div",W(P({className:Ke(e,"card-footer",sn.card_footer)},n),{children:v(qA,{children:t})}))}function ex(r){var i=r,{className:e,children:t}=i,n=ye(i,["className","children"]);return v("div",W(P({className:Ke(e,"card-header",sn.card_header)},n),{children:v(qA,{children:t})}))}const lD=new Set(["bslib::card_body_fill","bslib::card_header","bslib::card_footer"]),aD={uiName:"bslib::card_header",uiArguments:{}},sD={uiName:"bslib::card_body_fill",uiArguments:{}},uD={uiName:"bslib::card_footer",uiArguments:{}};function tx(e=[],t){let n=null,r=null,i=null,o=0;e.forEach(s=>{const{uiName:u}=s;if(!lD.has(u)){console.warn("Unknown child of a grid card seen. Ignoring",s);return}const c=v(bi,{node:s,path:er(t,o),canDrag:!1});o++,u==="bslib::card_header"?n=c:u==="bslib::card_body_fill"?r=c:u==="bslib::card_footer"&&(i=c)});const l=Boolean(n),a=Boolean(r);return U(Ne,{children:[n!=null?n:v(ex,{className:sn.missing_card_element,children:v(zi,{className:sn.drop_watcher,index:0,parentPath:t,wrappingNode:aD,parentNodeType:"bslib::card_header"})}),r!=null?r:v(XA,{className:sn.missing_card_element,children:v(zi,{className:sn.drop_watcher,index:cv(l),parentPath:t,wrappingNode:sD,parentNodeType:"bslib::card_body_fill"})}),i!=null?i:v(ZA,{className:sn.missing_card_element,children:v(zi,{className:sn.drop_watcher,index:cv(l,a),parentPath:t,wrappingNode:uD,parentNodeType:"bslib::card_footer"})})]})}const cD=({uiArguments:e,uiChildren:t=[],path:n,wrapperProps:r})=>v(RE,W(P({},r),{card_args:e,children:tx(t,n)})),nx={full_screen:{inputType:"boolean",defaultValue:!0,label:"Allow fullscreen mode?",optional:!0}},fD=xe()({library:"bslib",name:"card",title:"Card",takesChildren:!0,UiComponent:cD,settingsInfo:nx,iconSrc:eI,category:"Containers",description:"Bootstrap card with smart fill behavior",default_node:{uiArguments:{full_screen:!0},uiChildren:[{uiName:"bslib::card_header",uiArguments:{},uiChildren:[{uiName:"textNode",uiArguments:{contents:"Header"}}]}]}});function dD(e){return e.uiName==="bslib::card"}function Sg({parentUiName:e,uiChildren:t=[],path:n,dropPanelClass:r=sn.drop_watcher,showOnEmpty:i}){return U(Ne,{children:[v(zi,{className:r,index:0,parentPath:n,parentNodeType:e,children:t.length===0?i:null}),t.map((o,l)=>U(k.Fragment,{children:[v(bi,{path:er(n,l),node:o}),v(zi,{className:r,index:l+1,parentPath:n,parentNodeType:e})]},n.join(".")+l))]})}const pD=({uiArguments:e,uiChildren:t=[],path:n,wrapperProps:r})=>v(XA,W(P({},r),{args:e,children:v(Sg,{uiChildren:t,path:n,parentUiName:"bslib::card_body_fill"})})),hD=xe()({library:"bslib",name:"card_body_fill",title:"Card Body",takesChildren:!0,UiComponent:pD,settingsInfo:{gap:{label:"Gap between items",inputType:"cssMeasure",optional:!0,defaultValue:"10px",units:["px","rem"]},max_height:{label:"Max allowed height",inputType:"cssMeasure",optional:!0,defaultValue:e=>{var t;return e&&(t=e.uiArguments.min_height)!=null?t:"500px"},units:["px","%"]},min_height:{label:"Min allowed height",inputType:"cssMeasure",optional:!0,defaultValue:e=>{var t;return e&&(t=e.uiArguments.max_height)!=null?t:"100px"},units:["px","%"]}},category:"Cards",description:"body holder for bslib cards"}),mD=({uiArguments:e,uiChildren:t=[],path:n,wrapperProps:r})=>v(ZA,W(P({},r),{children:v(Sg,{uiChildren:t,path:n,parentUiName:"bslib::card_footer"})})),gD=xe()({library:"bslib",name:"card_footer",title:"Card Footer",takesChildren:!0,UiComponent:mD,settingsInfo:{},category:"Cards",description:"Header for bslib cards"}),yD=e=>{const{uiChildren:t,path:n,wrapperProps:r}=e;return v(ex,W(P({},r),{children:v(Sg,{uiChildren:t,path:n,parentUiName:"bslib::card_header"})}))},vD=xe()({library:"bslib",name:"card_header",title:"Card Header",takesChildren:!0,UiComponent:yD,settingsInfo:{},category:"Cards",description:"Header for bslib cards"}),wD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAEA0lEQVR4nO3du24cZRyG8ceIQ0FKuINtEBEHK1IqXwEIylUiKmwp0KO5iK3ScZATGoQ1JQi4ATehiAMSEc223EGIFFMsxcyCZaEVG++7M//V82vGa49X32c9+400I8/sLRYLpE17YegBaDcZliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliJeHHoA62ra+eVv7QO3gAPgTeDatse0YU+Ax8ApcAKcXfzhbDoZYkxrq75iHQMPgc+Am9SPCro53KSb00PguEpMF5VbsS74DvgAOAe+oPt0/zabTp78n1/uV77lk9b3AuP7573XCaNp59eA63Sr8CfAYdPOXwc+3PgIg6qGdUwX1R/A+7Pp5Jdhh7M5/QfjAfCgaedfAz/QzfUecDjk2NZR8VD4Lt0f+Jwdi+qyfm7vAc+Aj+nmXkLFsG732y93Oaql2XTyK/BV//L2qn3HpGJYB/3220FHsV3LuR6s3GtEKoa132/PVu61Wx71Ww+FQS8BzKaT86EHsi2z6eRZ/+XLgw5kDRXDUgGGpQjDUkTVE6T/dc1wtCqNdVPKhsW/l0zG9l7bfO/R8lCoiMor1iYuHG/lIvSG368EVyxFGJYiDEsRhqUIw1KEYSnCsBRhWIqofILUSzoj5oqliMorlpd0RswVSxGGpQjDUoRhKcKwFGFYijAsRRiWIiqfIPWSzoi5Yimi8orlJZ0RKxvWVW/4us3/Tt7EzWmr/Te1h0JFGJYiDEsRFcP6C6Bp52XubndV/b3foXtqRQkVw1ree3R/5V675Xq/fTzoKNZQMazTfntr0FFs13Kupyv3GpGKYZ302ztNO3970JFsQdPO3wLu9C9PVu07JhXDOgPuA68APzbt/J1hh5PTf3B+opvrfQrdgrzqCdJD4DW6Z8z83LTzz4FvgN9n08mfg47sipp2/irwBvAR8CndLbi/p9BzdAD2FotSVwoun4E+ptgf/Dncm00nR8t5V3nEXMVD4UVHwA3gLt2z/Z4OOprNeEo3l7vAjdl0cjTscJ5PuRVLNVRfsTRShqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYi/gbCBJi6eIkmgAAAAABJRU5ErkJggg==",Af=({type:e,name:t,className:n})=>U("code",{className:n,children:[U("span",{style:{opacity:.55},children:[e,"$"]}),v("span",{children:t})]}),bD=4,ED=25,SD=Zu(ED).map(e=>v("div",{className:"faux-row",children:Zu(bD).map(t=>v("div",{className:"faux-cell",children:"i"},t))},e)),AD=({uiArguments:e,path:t,wrapperProps:n})=>v("div",W(P({className:"dtDTOutput"},n),{children:U("div",{className:"faux-table",style:{"--table-w":e.width,"--table-h":e.height},children:[U("div",{className:"faux-header",children:["Table: ",v(Af,{type:"output",name:e.outputId})]}),v("div",{className:"faux-table-body",children:SD})]})})),xD=xe()({library:"DT",name:"DTOutput",title:"DT Table",takesChildren:!1,UiComponent:AD,settingsInfo:{outputId:{inputType:"string",label:"Output ID",defaultValue:"myTable"},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0,useDefaultIfOptional:!0},height:{label:"Height",inputType:"cssMeasure",defaultValue:"auto",optional:!0}},serverBindings:{outputs:{outputIdKey:"outputId",renderScaffold:`renderDT({ +`);let i=["shiny"],o=[],l;return r.forEach((a,s)=>{var c,f;const u=UA({line:a,line_number:s,ui_pos:e});if(u==="Other"){o.push(a);return}if(u==="Library"){const d=(f=(c=Sg.exec(a))==null?void 0:c.groups)==null?void 0:f.library;d&&d!=="shiny"&&i.push(d)}if(u!==l)if(l=u,u==="UI")o.push(`ui ${t} ${Zn.ui}`);else if(u==="Library")o.push(Zn.libraries);else throw new Error("Unknown line type")}),{code:o.join(` +`),libraries:i}}function P5(e){const{ui:t,server:{known_outputs:n}}=BA(e);return{app_type:"MULTI-FILE",ui_tree:t.ui_tree,known_outputs:n,ui:O5(t,e.ui.script),server:{code:e.server.script}}}function N5(e,[t,n,r,i]){return e>=t-1&&e<=r-1}function UA({line:e,line_number:t,ui_pos:n}){return N5(t,n)?"UI":Sg.test(e)?"Library":"Other"}const Sg=new RegExp("^\\s*library\\((?\\w+)\\)"),ec=(e,t)=>Array.from({length:e},(n,r)=>r),tc=(e,t)=>{const n=Math.abs(t-e)+1,r=ee+o*r)};function M1(e){let t=1/0,n=-1/0;for(let o of e)on&&(n=o);const r=n-t,i=Array.isArray(e)?e.length:e.size;return{minVal:t,maxVal:n,span:r,isSequence:r===i-1}}function Ua(e,t){return[...new Array(t)].fill(e)}function R5(e,t){return e.filter(n=>!t.includes(n))}function Eh(e,t){return[...e.slice(0,t),...e.slice(t+1)]}function Qo(e,t,n){if(t<0)throw new Error("Can't add item at a negative index");const r=[...e];return t>r.length-1&&(r.length=t),r.splice(t,0,n),r}function D5(e,t,n){if(n<0)throw new Error("Can't add item at a negative index");if(t<0||t>e.length)throw new Error("Requested to move an element that is not in array");let r=[...e];const i=r[t];return r[t]=void 0,r=Qo(r,n,i),r.filter(o=>typeof o!="undefined")}function L5(e,t=", ",n=" and "){const r=e.length;if(r===1)return e[0];const i=e[r-1];return[...e].splice(0,r-1).join(t)+n+i}function F5(e){return[...new Set(e)]}function aa(e){return Array.isArray(e)?e:[e]}function Ei(e,t){let n=e,r;for(r of t){if(!no(n))throw new Error("Somehow trying to enter a leaf node");n=M5(n,r)}return n}function M5(e,t){var r;const n=(r=e.uiChildren)==null?void 0:r[t];if(!n)throw new Error(`Requested path does not exist. Attempt: parent: ${JSON.stringify(e,null,2)}, child_index: ${t}`);return n}function zA(e){return e.slice(0,e.length-1)}function B5(e){return e[e.length-1]}function U5(e,{path:t,node:n}){const r=zA(t),i=t[t.length-1],o=Ei(e,r);if(!no(o))throw new Error("Can't add a child to a non-container node. Check the path");Array.isArray(o.uiChildren)||(o.uiChildren=[]),o.uiChildren=Qo(o.uiChildren,i,n)}function jA(e,t){return z5(e,t)&&e.at(-1)!==t.at(-1)}function z5(e,t){const n=e.length,r=t.length;if(n!==r)return!1;const i=n-1;return ul(e.slice(0,i),t.slice(0,i))}function j5(e){if(!e.uiChildren)throw new Error("Somehow trying to enter a leaf node")}function WA(e,{path:t}){const{parentNode:n,indexToNode:r}=W5(e,t);if(!no(n))throw new Error("Somehow trying to enter a leaf node");j5(n),n.uiChildren.splice(r,1)}function W5(e,t){const n=[...t],r=n.pop();if(typeof r=="undefined")throw new Error("Path to node must have at least one element");const i=n.length===0?e:Ei(e,n);if(!no(i))throw new Error("Somehow trying to enter a leaf node");return{parentNode:i,indexToNode:r}}function Y5(e,{path:t,currentPath:n,node:r}){const i=zA(t),o=t[t.length-1],l=Ei(e,i);if(!no(l))throw new Error("Can't add a child to a non-container node. Check the path");Array.isArray(l.uiChildren)||(l.uiChildren=[]);const a=[...i,o];if(jA(n,a)){const s=n[n.length-1];l.uiChildren=D5(l.uiChildren,s,o);return}WA(e,{path:n}),l.uiChildren=Qo(l.uiChildren,o,r)}function YA(e){return"currentPath"in e&&e.currentPath!==void 0}function V5(e,t){const{path:n,node:r}=t;if(YA(t)){Y5(e,{path:n,currentPath:t.currentPath,node:r});return}U5(e,{path:n,node:r})}function $5(e,{path:t,node:n}){const r=Ei(e,t);Object.assign(r,n)}function VA(e){let t=null;return()=>{var n;if(t!==null)return t;t=new Set;for(const r of qo)if("stateUpdateSubscribers"in r){const i=(n=r.stateUpdateSubscribers)==null?void 0:n[e];i&&t.add(i)}return t}}const H5=VA("DELETE_NODE"),G5=VA("UPDATE_NODE"),$A=wf({name:"state",initialState:{mode:"LOADING"},reducers:{SET_FULL_STATE:(e,t)=>t.payload.state,SET_APP_INFO:(e,t)=>T5(t.payload),SET_ERROR:(e,{payload:t})=>P({mode:"ERROR"},t),SHOW_TEMPLATE_CHOOSER:(e,{payload:t})=>({mode:"TEMPLATE_CHOOSER",options:t}),SET_LOADING:e=>({mode:"LOADING"}),UPDATE_NODE:(e,t)=>{if(e.mode!=="MAIN")throw new Error("Tried to update a node when in template chooser mode");for(const n of G5())n(e.ui_tree,t.payload);$5(e.ui_tree,t.payload)},PLACE_NODE:(e,t)=>{if(e.mode!=="MAIN")throw new Error("Tried to move a node when in template chooser mode");V5(e.ui_tree,t.payload)},DELETE_NODE:(e,t)=>{if(e.mode!=="MAIN")throw new Error("Tried to delete a node when in template chooser mode");for(const n of H5())n(e.ui_tree,{path:t.payload.path});WA(e.ui_tree,t.payload)}}}),{UPDATE_NODE:HA,PLACE_NODE:GA,DELETE_NODE:JA,SET_APP_INFO:J5,SET_ERROR:Q5,SET_FULL_STATE:QA,SHOW_TEMPLATE_CHOOSER:K5,SET_LOADING:MW}=$A.actions;function KA(){return Ka(e=>e.app_info)}const q5=$A.reducer;function Ag(){const e=Tr();return k.useCallback(o=>{var l=o,{wrappingNode:n,node:r}=l,i=ye(l,["wrappingNode","node"]);n&&(r=i5({child:r,wrapper:n})),e(GA(P({node:r},i)))},[e])}function xg({getCanAcceptDrop:e,onDrop:t,onDragOver:n,canAcceptDropClass:r="can-accept-drop",hoveringOverClass:i="hovering-over"}){const o=k.useRef(null),l=yA(),a=vA(),{addCanAcceptDropHighlight:s,addHoveredOverHighlight:u,removeHoveredOverHighlight:c,removeAllHighlights:f}=X5({watcherRef:o,canAcceptDropClass:r,hoveringOverClass:i}),d=l?e(l):!1,p=k.useCallback(E=>{E.preventDefault(),E.stopPropagation(),u(),n==null||n()},[u,n]),h=k.useCallback(E=>{E.preventDefault(),c()},[c]),m=k.useCallback(E=>{if(E.stopPropagation(),c(),!l){console.error("No dragged node in context but a drop was detected...");return}d?t(l):console.error("Incompatable drag pairing"),a()},[d,l,t,c,a]);return k.useEffect(()=>{const E=o.current;if(E)return d&&(s(),E.addEventListener("dragenter",p),E.addEventListener("dragleave",h),E.addEventListener("dragover",p),E.addEventListener("drop",m)),()=>{f(),E.removeEventListener("dragenter",p),E.removeEventListener("dragleave",h),E.removeEventListener("dragover",p),E.removeEventListener("drop",m)}},[s,d,h,p,m,f,o]),o}function X5({watcherRef:e,canAcceptDropClass:t,hoveringOverClass:n}){const r=k.useCallback(()=>{e.current&&setTimeout(()=>{var a,s;(a=e.current)==null||a.classList.add(t),(s=e.current)==null||s.classList.add("can-accept-drop")},1)},[t,e]),i=k.useCallback(()=>{e.current&&e.current.classList.add(n)},[n,e]),o=k.useCallback(()=>{e.current&&e.current.classList.remove(n)},[n,e]),l=k.useCallback(()=>{e.current&&(e.current.classList.remove(n),e.current.classList.remove(t),e.current.classList.remove("can-accept-drop"))},[t,n,e]);return{addCanAcceptDropHighlight:r,addHoveredOverHighlight:i,removeHoveredOverHighlight:o,removeAllHighlights:l}}function zi(s){var u=s,{index:e,parentNodeType:t,parentPath:n,dropHandlerArgs:r,className:i="",wrappingNode:o,dropFilters:l}=u,a=ye(u,["index","parentNodeType","parentPath","dropHandlerArgs","className","wrappingNode","dropFilters"]);const c=Ag(),f=xg(P({onDrop:p=>{c(W(P({},p),{path:er(n,e),wrappingNode:o}))},getCanAcceptDrop:p=>{var g;const{node:h,currentPath:m}=p;if(!r5({fromPath:m,toPath:[...n,e]}))return!1;const E=to(h.uiName);return"allowedParents"in E&&!((g=E.allowedParents)!=null&&g.includes(t))?!1:l?"accepted"in l?h.uiName in l.accepted:!(h.uiName in l.rejected):!0}},r)),d=typeof i=="string"?i:i(e);return v("div",W(P({ref:f,className:d},a),{"data-index":e}))}const Z5="_card_body_fill_bahaw_1",eD="_card_children_container_bahaw_17",tD="_empty_msg_bahaw_34",nD="_drop_watcher_bahaw_42",rD="_missing_card_element_bahaw_66",iD="_card_footer_bahaw_91",oD="_card_header_bahaw_97",sn={card_body_fill:Z5,card_children_container:eD,empty_msg:tD,drop_watcher:nD,missing_card_element:rD,card_footer:iD,card_header:oD};function qA({children:e}){return v("div",{className:sn.card_children_container,children:e})}function XA(i){var o=i,{className:e,children:t,args:n={}}=o,r=ye(o,["className","children","args"]);const l={gap:n==null?void 0:n.gap};return v("div",W(P({className:Ke(e,"card-body",sn.card_body_fill)},r),{children:v("div",{className:sn.card_children_container,style:l,children:t})}))}function ZA(r){var i=r,{className:e,children:t}=i,n=ye(i,["className","children"]);return v("div",W(P({className:Ke(e,"card-footer",sn.card_footer)},n),{children:v(qA,{children:t})}))}function ex(r){var i=r,{className:e,children:t}=i,n=ye(i,["className","children"]);return v("div",W(P({className:Ke(e,"card-header",sn.card_header)},n),{children:v(qA,{children:t})}))}const lD=new Set(["bslib::card_body_fill","bslib::card_header","bslib::card_footer"]),aD={uiName:"bslib::card_header",uiArguments:{}},sD={uiName:"bslib::card_body_fill",uiArguments:{}},uD={uiName:"bslib::card_footer",uiArguments:{}};function tx(e=[],t){let n=null,r=null,i=null,o=0;e.forEach(s=>{const{uiName:u}=s;if(!lD.has(u)){console.warn("Unknown child of a grid card seen. Ignoring",s);return}const c=v(bi,{node:s,path:er(t,o),canDrag:!1});o++,u==="bslib::card_header"?n=c:u==="bslib::card_body_fill"?r=c:u==="bslib::card_footer"&&(i=c)});const l=Boolean(n),a=Boolean(r);return U(Me,{children:[n!=null?n:v(ex,{className:sn.missing_card_element,children:v(zi,{className:sn.drop_watcher,index:0,parentPath:t,wrappingNode:aD,parentNodeType:"bslib::card_header"})}),r!=null?r:v(XA,{className:sn.missing_card_element,children:v(zi,{className:sn.drop_watcher,index:g1(l),parentPath:t,wrappingNode:sD,parentNodeType:"bslib::card_body_fill"})}),i!=null?i:v(ZA,{className:sn.missing_card_element,children:v(zi,{className:sn.drop_watcher,index:g1(l,a),parentPath:t,wrappingNode:uD,parentNodeType:"bslib::card_footer"})})]})}const cD=({uiArguments:e,uiChildren:t=[],path:n,wrapperProps:r})=>v(qS,W(P({},r),{card_args:e,children:tx(t,n)})),nx={full_screen:{inputType:"boolean",defaultValue:!0,label:"Allow fullscreen mode?",optional:!0}},fD=xe()({library:"bslib",name:"card",title:"Card",takesChildren:!0,UiComponent:cD,settingsInfo:nx,iconSrc:F3,category:"Containers",description:"Bootstrap card with smart fill behavior",default_node:{uiArguments:{full_screen:!0},uiChildren:[{uiName:"bslib::card_header",uiArguments:{},uiChildren:[{uiName:"textNode",uiArguments:{contents:"Header"}}]}]}});function dD(e){return e.uiName==="bslib::card"}function Cg({parentUiName:e,uiChildren:t=[],path:n,dropPanelClass:r=sn.drop_watcher,showOnEmpty:i}){return U(Me,{children:[v(zi,{className:r,index:0,parentPath:n,parentNodeType:e,children:t.length===0?i:null}),t.map((o,l)=>U(k.Fragment,{children:[v(bi,{path:er(n,l),node:o}),v(zi,{className:r,index:l+1,parentPath:n,parentNodeType:e})]},n.join(".")+l))]})}const pD=({uiArguments:e,uiChildren:t=[],path:n,wrapperProps:r})=>v(XA,W(P({},r),{args:e,children:v(Cg,{uiChildren:t,path:n,parentUiName:"bslib::card_body_fill"})})),hD=xe()({library:"bslib",name:"card_body_fill",title:"Card Body",takesChildren:!0,UiComponent:pD,settingsInfo:{gap:{label:"Gap between items",inputType:"cssMeasure",optional:!0,defaultValue:"10px",units:["px","rem"]},max_height:{label:"Max allowed height",inputType:"cssMeasure",optional:!0,defaultValue:e=>{var t;return e&&(t=e.uiArguments.min_height)!=null?t:"500px"},units:["px","%"]},min_height:{label:"Min allowed height",inputType:"cssMeasure",optional:!0,defaultValue:e=>{var t;return e&&(t=e.uiArguments.max_height)!=null?t:"100px"},units:["px","%"]}},category:"Cards",description:"body holder for bslib cards"}),mD=({uiArguments:e,uiChildren:t=[],path:n,wrapperProps:r})=>v(ZA,W(P({},r),{children:v(Cg,{uiChildren:t,path:n,parentUiName:"bslib::card_footer"})})),gD=xe()({library:"bslib",name:"card_footer",title:"Card Footer",takesChildren:!0,UiComponent:mD,settingsInfo:{},category:"Cards",description:"Header for bslib cards"}),yD=e=>{const{uiChildren:t,path:n,wrapperProps:r}=e;return v(ex,W(P({},r),{children:v(Cg,{uiChildren:t,path:n,parentUiName:"bslib::card_header"})}))},vD=xe()({library:"bslib",name:"card_header",title:"Card Header",takesChildren:!0,UiComponent:yD,settingsInfo:{},category:"Cards",description:"Header for bslib cards"}),wD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAEA0lEQVR4nO3du24cZRyG8ceIQ0FKuINtEBEHK1IqXwEIylUiKmwp0KO5iK3ScZATGoQ1JQi4ATehiAMSEc223EGIFFMsxcyCZaEVG++7M//V82vGa49X32c9+400I8/sLRYLpE17YegBaDcZliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliJeHHoA62ra+eVv7QO3gAPgTeDatse0YU+Ax8ApcAKcXfzhbDoZYkxrq75iHQMPgc+Am9SPCro53KSb00PguEpMF5VbsS74DvgAOAe+oPt0/zabTp78n1/uV77lk9b3AuP7573XCaNp59eA63Sr8CfAYdPOXwc+3PgIg6qGdUwX1R/A+7Pp5Jdhh7M5/QfjAfCgaedfAz/QzfUecDjk2NZR8VD4Lt0f+Jwdi+qyfm7vAc+Aj+nmXkLFsG732y93Oaql2XTyK/BV//L2qn3HpGJYB/3220FHsV3LuR6s3GtEKoa132/PVu61Wx71Ww+FQS8BzKaT86EHsi2z6eRZ/+XLgw5kDRXDUgGGpQjDUkTVE6T/dc1wtCqNdVPKhsW/l0zG9l7bfO/R8lCoiMor1iYuHG/lIvSG368EVyxFGJYiDEsRhqUIw1KEYSnCsBRhWIqofILUSzoj5oqliMorlpd0RswVSxGGpQjDUoRhKcKwFGFYijAsRRiWIiqfIPWSzoi5Yimi8orlJZ0RKxvWVW/4us3/Tt7EzWmr/Te1h0JFGJYiDEsRFcP6C6Bp52XubndV/b3foXtqRQkVw1ree3R/5V675Xq/fTzoKNZQMazTfntr0FFs13Kupyv3GpGKYZ302ztNO3970JFsQdPO3wLu9C9PVu07JhXDOgPuA68APzbt/J1hh5PTf3B+opvrfQrdgrzqCdJD4DW6Z8z83LTzz4FvgN9n08mfg47sipp2/irwBvAR8CndLbi/p9BzdAD2FotSVwoun4E+ptgf/Dncm00nR8t5V3nEXMVD4UVHwA3gLt2z/Z4OOprNeEo3l7vAjdl0cjTscJ5PuRVLNVRfsTRShqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYi/gbCBJi6eIkmgAAAAABJRU5ErkJggg==",Af=({type:e,name:t,className:n})=>U("code",{className:n,children:[U("span",{style:{opacity:.55},children:[e,"$"]}),v("span",{children:t})]}),bD=4,ED=25,SD=ec(ED).map(e=>v("div",{className:"faux-row",children:ec(bD).map(t=>v("div",{className:"faux-cell",children:"i"},t))},e)),AD=({uiArguments:e,path:t,wrapperProps:n})=>v("div",W(P({className:"dtDTOutput"},n),{children:U("div",{className:"faux-table",style:{"--table-w":e.width,"--table-h":e.height},children:[U("div",{className:"faux-header",children:["Table: ",v(Af,{type:"output",name:e.outputId})]}),v("div",{className:"faux-table-body",children:SD})]})})),xD=xe()({library:"DT",name:"DTOutput",title:"DT Table",takesChildren:!1,UiComponent:AD,settingsInfo:{outputId:{inputType:"string",label:"Output ID",defaultValue:"myTable"},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0,useDefaultIfOptional:!0},height:{label:"Height",inputType:"cssMeasure",defaultValue:"auto",optional:!0}},serverBindings:{outputs:{outputIdKey:"outputId",renderScaffold:`renderDT({ iris -})`}},iconSrc:wD,category:"Outputs",description:"`DataTable` table output"}),Ag=["gridlayout::grid_container","gridlayout::grid_page"],CD=["gridlayout::grid_card","gridlayout::grid_card_text","gridlayout::grid_card_plot"],_D=new Set(CD);function xg(e){return _D.has(e.uiName)}const kD="_hoveringOverSwap_l95oj_1",TD="_availableToSwap_l95oj_2",ID="_pulse_l95oj_1",OD="_emptyGridCard_l95oj_52",PD="_emptyMessage_l95oj_69",L1={hoveringOverSwap:kD,availableToSwap:TD,pulse:ID,emptyGridCard:OD,emptyMessage:PD},rx=k.createContext(null);function ND(){return k.useContext(rx)}function Cg({path:e,area:t}){const n=yA(),r=ND(),i=k.useCallback(({node:a,currentPath:s})=>s===void 0||!xg(a)?!1:jA(s,e),[e]),o=k.useCallback(a=>{var u;if(!("area"in a.node.uiArguments)){console.error("Invalid grid area swap drop",{dropInfo:a});return}const s=(u=a.node.uiArguments.area)!=null?u:"__BAD_DROP__";r==null||r({type:"SWAP_ITEMS",item_a:t,item_b:s})},[t,r]),l=Eg({getCanAcceptDrop:i,onDrop:o,canAcceptDropClass:L1.availableToSwap,hoveringOverClass:L1.hoveringOverSwap});return k.useEffect(()=>{l.current&&(l.current.dataset.gridArea=t)},[t,l]),k.useEffect(()=>{l.current&&(n!=null&&n.node)&&"area"in n.node.uiArguments&&(l.current.dataset.swapWith=n.node.uiArguments.area)},[n==null?void 0:n.node,l]),l}const RD=e=>{const a=e,{uiArguments:s}=a,u=s,{area:t}=u,n=ye(u,["area"]),{uiChildren:r=[],path:i,wrapperProps:o}=a,l=Cg({area:t,path:i});return v(RE,W(P({ref:l,style:{gridArea:t},card_args:n},o),{children:tx(r,i)}))},DD=xe()({library:"gridlayout",name:"grid_card",title:"Grid Card",takesChildren:!0,UiComponent:RD,settingsInfo:P({area:{label:"Name of grid area",inputType:"string",defaultValue:"default-area"}},nx),allowedParents:Ag,category:"gridlayout",description:"bslib styled card for grid layouts"}),_g="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAACYElEQVR4nO3cMYoUQQBA0RqRPYBn8E5GhqYbLiZeYDNzs428k1dwU8M2UGFZFmYUf/d013vRTEFDBZ+qomj6tCzLgP/t1dYT4JiERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEXi9dYT+Fd3X78tz4ZOm0xkJffv3m49hb9ixSIhrPNuxhifxxjfxxiPv3/fbDqjHdjtVrii+zHG7ZP/t2OMH2OMj9tMZx+sWOe9f2Hsw+qz2BlhnffmwjGeEBYJYZEQFglhkRAWCWF1pr5YdUHamfpi1YrVmfpiVVidqS9WZwpr6jPP2mY6Y0195lnbTCvW1Geetc0U1tRnnrXNFBYrEhYJYZEQFglhkRAWCWGREBYJYZEQFglhkRAWiZnCerxwbOvnDmGmsB5eGPtyhc8dwkwv+t2NXx9n+/Ne1sMY49MVPncIp2V5/mG8ffBFv+s201bIioRF4khnrH3u6Zfb1VZvxSIhLBLCIrHb6waumxWLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi8RPaOk2ptnQzzIAAAAASUVORK5CYII=";var ix={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},F1=k.createContext&&k.createContext(ix),li=globalThis&&globalThis.__assign||function(){return li=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{if(typeof ResizeObserver=="undefined")return;const r=new ResizeObserver(i=>{if(!e.current)return;const{offsetHeight:o,offsetWidth:l}=e.current;n({width:l,height:o})});return e.current&&r.observe(e.current),()=>r.disconnect()},[e]),t}const ax=k.forwardRef((i,r)=>{var o=i,{className:e="",children:t}=o,n=ye(o,["className","children"]);const l=e+" card";return v("div",W(P({ref:r,className:l},n),{children:t}))});k.forwardRef((r,n)=>{var i=r,{className:e=""}=i,t=ye(i,["className"]);const o=e+" card-header";return v("div",P({ref:n,className:o},t))});const WD="_gridCardPlot_1a94v_1",YD={gridCardPlot:WD},VD=({uiArguments:{outputId:e,area:t},path:n,wrapperProps:r})=>{const i=Cg({area:t,path:n});return v(ax,W(P({ref:i,style:{gridArea:t},className:Ke(YD.gridCardPlot,"gridlayout-gridCardPlot")},r),{children:v(lx,{outputId:e!=null?e:t})}))},$D=xe()({library:"gridlayout",name:"grid_card_plot",title:"Grid Plot Card",takesChildren:!1,UiComponent:VD,settingsInfo:{area:{label:"Name of grid area",inputType:"string",defaultValue:"default-area"},outputId:{label:"Output ID",inputType:"string",defaultValue:function(e){return e&&"area"in e.uiArguments?e.uiArguments.area:"MyPlot"},optional:!0}},serverBindings:{outputs:{outputIdKey:e=>e.outputId?"outputId":"area",renderScaffold:`renderPlot({ +})`}},iconSrc:wD,category:"Outputs",description:"`DataTable` table output"}),_g=["gridlayout::grid_container","gridlayout::grid_page"],CD=["gridlayout::grid_card","gridlayout::grid_card_text","gridlayout::grid_card_plot"],_D=new Set(CD);function kg(e){return _D.has(e.uiName)}const kD="_hoveringOverSwap_l95oj_1",TD="_availableToSwap_l95oj_2",ID="_pulse_l95oj_1",OD="_emptyGridCard_l95oj_52",PD="_emptyMessage_l95oj_69",B1={hoveringOverSwap:kD,availableToSwap:TD,pulse:ID,emptyGridCard:OD,emptyMessage:PD},rx=k.createContext(null);function ND(){return k.useContext(rx)}function Tg({path:e,area:t}){const n=yA(),r=ND(),i=k.useCallback(({node:a,currentPath:s})=>s===void 0||!kg(a)?!1:jA(s,e),[e]),o=k.useCallback(a=>{var u;if(!("area"in a.node.uiArguments)){console.error("Invalid grid area swap drop",{dropInfo:a});return}const s=(u=a.node.uiArguments.area)!=null?u:"__BAD_DROP__";r==null||r({type:"SWAP_ITEMS",item_a:t,item_b:s})},[t,r]),l=xg({getCanAcceptDrop:i,onDrop:o,canAcceptDropClass:B1.availableToSwap,hoveringOverClass:B1.hoveringOverSwap});return k.useEffect(()=>{l.current&&(l.current.dataset.gridArea=t)},[t,l]),k.useEffect(()=>{l.current&&(n!=null&&n.node)&&"area"in n.node.uiArguments&&(l.current.dataset.swapWith=n.node.uiArguments.area)},[n==null?void 0:n.node,l]),l}const RD=e=>{const a=e,{uiArguments:s}=a,u=s,{area:t}=u,n=ye(u,["area"]),{uiChildren:r=[],path:i,wrapperProps:o}=a,l=Tg({area:t,path:i});return v(qS,W(P({ref:l,style:{gridArea:t},card_args:n},o),{children:tx(r,i)}))},DD=xe()({library:"gridlayout",name:"grid_card",title:"Grid Card",takesChildren:!0,UiComponent:RD,settingsInfo:P({area:{label:"Name of grid area",inputType:"string",defaultValue:"default-area"}},nx),allowedParents:_g,category:"gridlayout",description:"bslib styled card for grid layouts"}),Ig="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAACYElEQVR4nO3cMYoUQQBA0RqRPYBn8E5GhqYbLiZeYDNzs428k1dwU8M2UGFZFmYUf/d013vRTEFDBZ+qomj6tCzLgP/t1dYT4JiERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEXi9dYT+Fd3X78tz4ZOm0xkJffv3m49hb9ixSIhrPNuxhifxxjfxxiPv3/fbDqjHdjtVrii+zHG7ZP/t2OMH2OMj9tMZx+sWOe9f2Hsw+qz2BlhnffmwjGeEBYJYZEQFglhkRAWCWF1pr5YdUHamfpi1YrVmfpiVVidqS9WZwpr6jPP2mY6Y0195lnbTCvW1Geetc0U1tRnnrXNFBYrEhYJYZEQFglhkRAWCWGREBYJYZEQFglhkRAWiZnCerxwbOvnDmGmsB5eGPtyhc8dwkwv+t2NXx9n+/Ne1sMY49MVPncIp2V5/mG8ffBFv+s201bIioRF4khnrH3u6Zfb1VZvxSIhLBLCIrHb6waumxWLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi8RPaOk2ptnQzzIAAAAASUVORK5CYII=";var ix={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},U1=k.createContext&&k.createContext(ix),li=globalThis&&globalThis.__assign||function(){return li=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{if(typeof ResizeObserver=="undefined")return;const r=new ResizeObserver(i=>{if(!e.current)return;const{offsetHeight:o,offsetWidth:l}=e.current;n({width:l,height:o})});return e.current&&r.observe(e.current),()=>r.disconnect()},[e]),t}const ax=k.forwardRef((i,r)=>{var o=i,{className:e="",children:t}=o,n=ye(o,["className","children"]);const l=e+" card";return v("div",W(P({ref:r,className:l},n),{children:t}))});k.forwardRef((r,n)=>{var i=r,{className:e=""}=i,t=ye(i,["className"]);const o=e+" card-header";return v("div",P({ref:n,className:o},t))});const WD="_gridCardPlot_1a94v_1",YD={gridCardPlot:WD},VD=({uiArguments:{outputId:e,area:t},path:n,wrapperProps:r})=>{const i=Tg({area:t,path:n});return v(ax,W(P({ref:i,style:{gridArea:t},className:Ke(YD.gridCardPlot,"gridlayout-gridCardPlot")},r),{children:v(lx,{outputId:e!=null?e:t})}))},$D=xe()({library:"gridlayout",name:"grid_card_plot",title:"Grid Plot Card",takesChildren:!1,UiComponent:VD,settingsInfo:{area:{label:"Name of grid area",inputType:"string",defaultValue:"default-area"},outputId:{label:"Output ID",inputType:"string",defaultValue:function(e){return e&&"area"in e.uiArguments?e.uiArguments.area:"MyPlot"},optional:!0}},serverBindings:{outputs:{outputIdKey:e=>e.outputId?"outputId":"area",renderScaffold:`renderPlot({ #Plot code goes here $0plot(rnorm(100)) -})`}},allowedParents:Ag,iconSrc:_g,category:"gridlayout",description:"A wrapper for `shiny::plotOutput()` that uses `gridlayout`-friendly sizing defaults. \n For when you want to have a grid area filled entirely with a single plot."}),sx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAFn0lEQVR4nO3b4VHjRgCG4c+ZNMCV4BtVwJVgSjiiCqACJZRgogqgAuUoAZcAFShHC5RAfnh9rBdJFsaf8TrvM5MZzvZJTvxmtVovk5eXFwG79ttnvwEcJ8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCggVhwYKwYEFYsCAsWBAWLAgLFoQFC8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCggVhwYKwYEFYsCAsWBAWLAgLFoQFC8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcHi989+A2NMJpNRr6uadibpPnn4rC6LxXvP2XGsy7osbt97HJeXl5fPfguDjm3E+j7yMZgdTVhV056oO6KL8Bz26GjC0jKqvoAu9vlGcHxhrdxJiudVhLVnRxFW1bRTSbPoobvwz8o0TMaxJ0cRltZHq+e6LFZhPUePM2rt0bGEFUdzJ0l1WTxrfdT6ziR+f7JYxxoSLnHT6KG75Oc4ugtJ1zs4519ajpKn0cMLSYu6LN59/HC8U729q936mJ9tcugLbdLwAmnVtDd6jeepLouvyfM/9Rrem+cHjvtmgVTSk6QbrYecepZ0PmZRtmrai3C8Mc7DJV4SC6RWHWtXdx0vi1fLPzKJP9UytKGopOWSx33VtIMLs+F/iLFRSdKPMLJlIeuwtByp4nlTV1jpY9tO4uO/dyvpW10Wk7osJpK+dZznJtytvlE17bzjfVxL+hod84ukq+Q181zubrO+FFZN+6DXec5jXRbfel53r/XliC9hct+r53vHwctcCCYeVW7rsrjccNxnLb/PfOw55qmkh+ihRV0WZ4f+uWU7YoX/4PHkuWu06ntum1FrFUDv3Kkuiyst52G/ztNxJ5qe+7IvqnDMR63fcMz6RsJDkm1YensHtSmsj65pXQ8FEEl3QPwaKTvmhIt4Qj4gPe9p56sOSM7LDXEci7osnvpeWJfFc9W08dLDtGra7yM/1JXBS2f8XpI/n+o1+nR+NGo7T3ifa/OBv//gUrhz4Y5r06Q9lb7Gsp2mY1Sb9vwsvR2JjkauI1YaxU24fX/XMaqmnQ6NdB/wpNeIhlb7Hec+CNmNWAP7rrax702A/5uvlLILS7v9Mtn1xXRfQGPnadnL8VK4tpNBy0XF0R9Ysqa1zSR+jDisocvddMPz2cpqxOpau3pPVKu/k/x5p6NWeI+xp56fpQyWDbaV24j1nrWrPneS5nodVWY7nsQPLSmkywszjdhtEe6Cf0QPnWu7f/e9yWrE0vro8rzNr3V17NOSxk3iN068w41F/B6f4uWHjnPPNn1ZHaQj28EvU2QTVsfa1Ud+xy8Na8yugfmI3QXplpqu0Sh93zcdl89fwnPxeQcXgw9FNmHp7Vxo60tBGOniD+dk5Mgxr5r2IQ2satpZuCmIj/HY9Quu4dxxcCeSHqqmncffAVZNexK+1H5IDpHFpr8sdjf8+c+/U0k/o4d6dzKMFeKYRw8t6rI4i57v2t0w1pOW22p6byySDYpjXa12kx7655bLiLWLSXsqPcamXQNjz7nQhqgkKWynuRx6TeI8py3KuYS1s8vgSpinpJP/oRFkETbgXfWc/1rLbTVnY5dA6rK43XDMhZaj1MSw1maVxaUQ+cllxEJmCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCggVhwYKwYEFYsCAsWBAWLAgLFoQFC8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCggVhwYKwYEFYsCAsWBAWLAgLFoQFC8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCgsV/EcmMRmtHHXoAAAAASUVORK5CYII=",HD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAABYlAAAWJQFJUiTwAAABq0lEQVRYhe2YsU7DMBCGvyDUDToxsuUREN27gUACBpZuvAMFXgBBH4KtCwMggWDrDuIRujIxAVuXMMRIbuU09vlKiMgnRYniO/uv4zv7mmRZRh1YDjHuX4+Lmsp+beJ6OThMvcde8rasmEaoNo1QbSRCL8mj3L7KmLUfhA4qEXoKDAV+PwyBk1AnidAMOAJGAt+R8Q3eZaRrdAIcAC8BPq/GZyIZMCaYPoAdoHC7shgD28ZHRGzUvwNb5h5jU4pGehoDu8Cno+3LtPnM+ly08ugzsM/0+psAe6YtGs2Eb0d0TGZwEnTM82AIrFvPamgLBbhYQJ/12esTVyky5yT/a8ye/os+/V8opKbKl9p8+qIZdRZjVeJco0Vor92mCvXkGOhrd6qd8HvkpQrAG4q7k+aMdoEr8kBMzHNXq3MtoRvADdCy3rXMu02NATSEpsAj0Ha0tYEHYxNFrNA14MncY2xKiRG6AtzjN1upsV2VDiYV2gLugE6ATwe4ZXodeyMRGhPRdmYIQiL0nDxfSumZPoKQJPwzc9mI/nEO4V/v9QuhEapNbYQGnfCr5BtYaFWUrHRSSwAAAABJRU5ErkJggg==",GD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAiElEQVRYhe3YwQmAIBhA4YxGaaZGaYhGaaZ2sauCB8MX9cP7bnaIxx9imHLOUwTz1wG9DKWFCV1aD/fzKpdPdlsaqikc21qtw0zUUJqhNENphtLChDaP0BcMH8NhJmoozVCaoTRDaYbSDKUZSuv5HyWuaYbfEX6if7iGrr5CmIkm7/BhhtIMpd2GuAxXhhY/aAAAAABJRU5ErkJggg==",JD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAhUlEQVRYhe3ZwQmAMBAAwZxYijVZikVYijXZS/zmoRDJQjjY+ZlHWE6RiFFrLRksswN6GUozlLa+LR7XPf1VcO5btNe5J1pKiY/1adJPtPXnef26E8N7pJmooTRDaYbSDKUZSjOUZiit5zxKGP5iSDNRQ2mG0gylGUpLExr+bIAZSksT+gD98QxXbjF/TQAAAABJRU5ErkJggg==",Ah="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAgklEQVRYhe3Y0QmAIBRA0Wc0SjM1SkM0SjO1i00gGl2MB/f+2sfhQSqWWmtkaPkbMJpQOqF0aaBr74PjuqftX+e+ldZamokKpRNKJ5ROKF0aaPcIjYjmsTazNBMVSieUbuSvb/XlQv16J0kzUaF0QumE0gmlSwMtPo3DCaUTSpcG+gDcmgtUpwOm6gAAAABJRU5ErkJggg==",ux="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAjElEQVRYhe3ZwQmAMBBEUVcsxZosxSIsxZrsJZ4UIQYUh5WB/456+awhCRillM5B/3fAU4SqDa0X87odizeSWk7LNFbPbCZqE9r89Dcy97FqudlMlFA1QtUIVSNUzSb0zRGafou6spkooWqEqmVenD/tGjYTJVSNUDVC1QhVswnl4qwW/GwQI1TNJnQHKA8MWeSBgoAAAAAASUVORK5CYII=",cx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAkklEQVRYhe3ZwQmAMAyF4UQcxZkcxSEcxZncJV70UmlVfEYevO/ay0+KNKBHhDHo/g64S6Fofe1gWtbMjkOYmc3j4OUBzURpQqtXb/s1JDlddYlmogpFUyiaQtEUikYT2npCL5+1TDQTVSiaQtFaX/0Tb5dsLc7pFIqmUDSFoikUDfWEfr5k00zU9bMBTKFoNKEbp/QMWe71dFoAAAAASUVORK5CYII=",QD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAoCAYAAAC4h3lxAAAACXBIWXMAAAsTAAALEwEAmpwYAAABA0lEQVRYhe2ZwQ6CMBBEH8Yv9uDNsMabB38ZLxBRkdDtxlmSzqUktDAvs2yb0A3DwJ51UBuoVQNQqwGotXuAY8nk8+3hfc+8Vxtw3brwfjmt3lckYEAf9TBVCRlBEP8G6HiVjxEAoSqhMAhlCYVAFHUh3rtJrWwc+9n15u40Sb0PGJVJlCYwqXOuW5KNoysJdQKTDGcSWQDACZEJABwQ2QDgG2JVGQGgoF1nBCjqRtkAPs3bz5mjMgEUm4c8AC7z4N+JvWeipR3cbR70CVSZh/IEvGegpcSqzYMugRDzoAEIMw/+j9ireSlVmwddCYWYBw1AmHmArv3gEKsBqNUA1No9wBNu3jnWLc/KGQAAAABJRU5ErkJggg==",KD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAoCAYAAAC4h3lxAAAACXBIWXMAAAsTAAALEwEAmpwYAAADT0lEQVRYhe2ZP2gUURDGf1ELSy/YpUrELt1BLHIpxAtCOO0SBP80woWAiGyxuWZB2eayxYIiSAJpTBPuQARtJNedacTrgk3IWYlWuVR2EouZl907Lwnue8cRyMDj7e3OMvO9mTfzvb2Rw8NDzrJcGLYDtnIOYNhy5gFcyvqiH8anqZSAMjADdIAmUAF+HvdCFHj/7UdmAKdICfiQ+n0FGAfmgJvAjitDg0ihaRLnK8AocA2oA1eBdZfGBhGBeZ1XosBb0esOsOCH8VdgConQRxfGBhGBgs71Ps/MvRlXxgYB4EDnXJ9nEzrvuTI2CABNnat+GB+B8MM4j1SlP8BnV8Zc74ExIK/XeWDPD+M6Eg2zN14D31wZdAlgDHiHbNIOsAK0kbSpqs5L4JlDm84ATCLlcQpoAbNR4HXMQz+M20ANiYqzCgRu9kB65f9xHiAKvDoSlQLSI0oO7AJuIrAOXAcaUeDNnqDXRspoFQHxXe83gQawkcW4bQSmgdvq3AKAH8a5dPVJizY209zGdTwC3gIPszhgC8A0pHoUeB11fIuk3gPgh/EEkkJEgVdBqIUZi6pWzOKALQCz0ibn8zo6fXSLfhgXAaLAa5uBpA9k7M62e8CsdFvnvqmTur/lh3GDboBm5ZtkEFsAvRHo/W3ENLdd+qfKJrCUxQFbAE3gFpIeLZJuW6SbzBmnQ+AX3ZFqcsIh5zSx3QMmf5eBfRJHq8dUojlkk9dSI7PzYA9gm6Q5HZCQtBawmtKrIGl1D3hqabNLXHTibeAuUhILQCcKPNMTlkGqDkm5fAJcdmAXcEunH+jc0nkRKKdKZx1JuetIyjkRVwBKCNMEWANQPpSjO5VMF76Poyi4ADAJvNfriq40fhiXEQATek0UeA0cR8EWgGGiF4E1c4jXtEmvfNpZp1GwBfCGhIkuwhHvqenz50hlOi4KZUv7VgBGgTvoJxMQJorU+RzSXV+ge4LuKJh71l8nbAAc0YbUAaaG8KNPwGO9t0FPFFyKDZXYQxwr6AcrEM6zizj/O6W7hvSIVT+M50m4USYClxZbLrREchYG+II4/6NHz5y2AhK6sQm8srRvDWAHuEGyoq0TdDcQgjejevuWtgEYOf+PbMhyDmDY8hfkuOfRCqd6WwAAAABJRU5ErkJggg==",qD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAoCAYAAAC4h3lxAAAACXBIWXMAAAsTAAALEwEAmpwYAAABDElEQVRYhe2ZsQ7CMAxEr4gvZmBDXMXGwC+XgVQqERDbCbEr5ZaoalXdq+0kTqdlWbBnHbwN1GoAeGsAeGv3AMdfN8+3h+ZdVwDcXE8GP7hfTqrnW0UgN99NLQDczAP1AFvzM4xpU6MagNw8vz75R1kBQpgHCrPQF0nNW3eJqjTURiDMl1+liYDUvLWQTRGTRiDcl18lAQhrHigDhDYPlAGYxpDmAXkNhG2cSwBzGolXOoWTJIVCQ0hSiAgMIa0BIiiEZiVmGvOpNVfXgtfuhYhgkbDsRpnGUiS6NDfWfoAIEomajowIAFHbExPvEN1X7BanEsTnGuiiVudChBPENH5wOGsAeGsAeGv3AE8yEDlUwXXxqQAAAABJRU5ErkJggg==",XD="_icon_1467k_1",ZD={icon:XD},eL={undo:qD,redo:QD,tour:KD,alignTop:JD,alignBottom:GD,alignCenter:HD,alignSpread:Ah,alignTextCenter:Ah,alignTextLeft:ux,alignTextRight:cx};function tL({id:e,alt:t=e,size:n}){return v("img",{src:eL[e],alt:t,className:ZD.icon,style:n?{height:n}:{}})}function nL(e){return Tt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 90c44.3 0 86 17.3 117.4 48.6C404.7 170 422 211.7 422 256s-17.3 86-48.6 117.4C342 404.7 300.3 422 256 422s-86-17.3-117.4-48.6C107.3 342 90 300.3 90 256s17.3-86 48.6-117.4C170 107.3 211.7 90 256 90m0-42C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48z"}},{tag:"path",attr:{d:"M277 360h-42V235h42v125zm0-166h-42v-42h42v42z"}}]})(e)}const rL=e=>v("svg",W(P({width:"1em",height:"1em",viewBox:"0 0 15 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:v("path",{d:"M7.38 7.477 14.432.691H.328L7.38 7.477Z",fill:"#75A8DB"})})),iL=e=>v("svg",W(P({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 49 40",width:"1em",height:"1em"},e),{children:v("path",{stroke:"currentColor",strokeWidth:2,d:"M27.42 8.115h2.074l10.592 11.414v1.052L28.705 32.04H27.4v-5.954H13.328l.105-11.975 13.988-.058V8.115Z"})})),xf=e=>U("svg",W(P({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 20",width:"1em",height:"1em"},e),{children:[v("path",{stroke:"currentColor",strokeLinejoin:"round",strokeWidth:1.5,d:"M0 4h16"}),v("path",{stroke:"currentColor",strokeLinejoin:"round",d:"M5.5 6.5 6 16m2-9.5V16m2.5-9.5L10 16"}),v("path",{stroke:"currentColor",strokeLinejoin:"round",strokeWidth:1.5,d:"M5.5 4.5v-2l1.5-1h2l1.5 1v2m-8 0 .5 12 1.5 2h7l1.5-2 .5-12"})]})),oL=e=>v("svg",W(P({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 44 40",width:"1em",height:"1em"},e),{children:v("path",{stroke:"currentColor",strokeWidth:2,d:"M17.08 8.115h-2.074L4.414 19.529v1.052L15.795 32.04H17.1v-5.954h14.072l-.105-11.975-13.988-.058V8.115Z"})})),lL=e=>v("svg",W(P({width:"1em",height:"1em",viewBox:"0 0 15 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:v("path",{d:"m7.38.477 7.052 6.786H.328L7.38.477Z",fill:"#75A8DB"})})),aL="_textPanel_7ayjk_1",sL="_text_holder_7ayjk_12",M1={textPanel:aL,text_holder:sL},uL=({uiArguments:{content:e,area:t,alignment:n},path:r,wrapperProps:i})=>{const o=Cg({area:t,path:r});return v(ax,W(P({ref:o,className:Ke(M1.textPanel,"gridlayout-textPanel"),style:{gridArea:t,justifyItems:n}},i),{children:v("div",{className:M1.text_holder,children:v("h1",{children:e})})}))},cL=xe()({library:"gridlayout",name:"grid_card_text",title:"Grid Text Card",takesChildren:!1,UiComponent:uL,settingsInfo:{content:{label:"Panel text",inputType:"string",defaultValue:"Text for card"},alignment:{label:"Text alignment",inputType:"radio",defaultValue:"start",choices:{start:{icon:ux,label:"left"},center:{icon:Ah,label:"center"},end:{icon:cx,label:"right"}}},area:{label:"Name of grid area",inputType:"string",defaultValue:"default-area"},is_title:{label:"Use text as website title",inputType:"boolean",defaultValue:!1,optional:!0}},allowedParents:Ag,iconSrc:sx,category:"gridlayout",description:"A grid card that contains just text that is vertically centered within the panel. Useful for app titles or displaying text-based statistics."}),fx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAEVklEQVR4nO3cwYpcRRiG4XeMjouYGzAuXGThyohG1GvQxQQSJVfgRhkUnOANCCYLh6ALvQBBQkxE9BqiKEZ3wixcZO4gm4xIu6geaE+PDMp8VZU67wNncc5ppqqrP7r++Q/0xmKxQDppj7WegMZksBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBTxeK2Bdr7aO+ryJrC1PF4Dnl5e25i8bvqTON5fv/8AuA/8AtwGvgEOJq/j2lvnppciqgXrCBeBa0Cddzq+p4DnlscVYA+4CnzdYjIttsJTwMeUN2yocs4Btyhrfar24C2+sT4CdhqMO1eHa3215qC1v7EusR6qA+AGpcY6w3r9wPLa6uH99ftnKGt4g/Xaaoey9tXUDNYm8Mnk2j7wCrAN3KUUoPp/HlDWcJuypvuT+7uUz6CKmsG6DDyzcn4AvAHcqziHubgHvA48XLl2Fniz1gRqBmtrcv45hirpV+CLybWtWoPXDNbLk/MvT/BvLyaHiukaX6g1cM3/Cp+dnFfb72fsLkcX+3EtH+msdYU1Dp8VKqLlI52T1OTrXv+uZrCOe5CqjCbr7laoCIOliFFqLLfZztQMlh92G7PrY2lgBksRo9RYbrOdsY81PvtYGofBUsQoNZbbbGfsY43PPpbGYbAUMUqN5TbbGftY47OPpXEYLEWMUmO5zXbGPtb47GNpHAZLEaPUWG6znbGPNT77WBqHwVLEKDVWD7+z3sv9LkoM+1jjs4+lcRgsRYxSYx33dT/3+9XZxxqffSyNw2ApYpQaq6dttqe5NGMfa3z2sTQOg6WIUWqsnrbZnubSjH2s8dnH0jgMliJGqbF62mZ7mksz9rHGZx9L4zBYihilxuppm+1pLs3YxxqffSyNw2ApYpQaq6dttqe5NGMfa3z2sTQOg6WIlsHabDi2wmoG63dKYXt4vHiCf3tjcrTU01xe5Z9r/ketgWsG67fJ+ZWKY8/VdI1/qjVwzWDdmZy/DZyvOP7cPE9Z41V3ag1eM1g3gfsr508C3wEvVJzDXJwHvqes8aF9ymdQRc1gHQDvT66dBX4AdoELwOmK8xnNacoa7gI/UtZ21XvAw1qTqd15vwlcBz5YubYJbC+PQz3/Yt6jcH/qOhW/raBNu+FD4NMG487VZ5Q1r6pFsP4C3gUuAXsNxp+LPeAy8A5lzatq+RD6FvAt5c1fBF6i1AVPNJzTo+xPSoH+M3CbsvUdtJrMxmJx3PYs/Xc+K1SEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVLE32A0lLomuWLgAAAAAElFTkSuQmCC";var Cf=Yl;function Yl(e){let t=e;var n={}.toString.call(e).slice(8,-1);if(n=="Set")return new Set([...e].map(i=>Yl(i)));if(n=="Map")return new Map([...e].map(i=>[Yl(i[0]),Yl(i[1])]));if(n=="Date")return new Date(e.getTime());if(n=="RegExp")return RegExp(e.source,fL(e));if(n=="Array"||n=="Object"){t=Array.isArray(e)?[]:{};for(var r in e)t[r]=Yl(e[r])}return t}function fL(e){if(typeof e.source.flags=="string")return e.source.flags;var t=[];return e.global&&t.push("g"),e.ignoreCase&&t.push("i"),e.multiline&&t.push("m"),e.sticky&&t.push("y"),e.unicode&&t.push("u"),t.join("")}function cl(e){const t=e.length,n=e[0].length;for(let r of e)if(r.length!==n)throw new Error("Inconsistant number of columns in matrix");return{numRows:t,numCols:n}}function dL(e,{index:t,arr:n,dir:r}){const i=Cf(e);switch(r){case"rows":return Qo(i,t,n);case"cols":return i.map((o,l)=>Qo(o,t,n[l]))}}function pL(e,{index:t,dir:n}){const r=Cf(e);switch(n){case"rows":return Eh(r,t);case"cols":return r.map((i,o)=>Eh(i,t))}}const Dn=".";function kg(e){const t=new Map;return hL(e).forEach(({itemRows:n,itemCols:r},i)=>{if(i===Dn)return;const o=D1(n),l=D1(r);t.set(i,{colStart:l.minVal,rowStart:o.minVal,colSpan:l.span+1,rowSpan:o.span+1,isValid:o.isSequence&&l.isSequence})}),t}function hL(e){var i;const t=new Map,{numRows:n,numCols:r}=cl(e);for(let o=0;o{if("area"in n.uiArguments&&n.uiArguments.area!==void 0){const r=n.uiArguments.area;t.push(r)}}),t}function gL(e,r){var i=r,{name:t}=i,n=ye(i,["name"]);const{rowStart:o,colStart:l}=n,a="rowEnd"in n?n.rowEnd:o+n.rowSpan-1,s="colEnd"in n?n.colEnd:l+n.colSpan-1,u=Cf(e.areas);for(let c=0;c=o-1&&c=l-1&&d{const o=r==="rows"?"cols":"rows",l=yL(i);if(t>l[r].length)throw new Error(`Can't add a tract after index ${t}. Not enought tracts.`);if(t<0)throw new Error("Cant add a tract at a negative index");const a=kg(i.areas);let s=Ua(Dn,l[o].length);a.forEach((u,c)=>{const{itemStart:f,itemEnd:d}=xh(u,r);if(f<=t&&d>t){const h=xh(u,o);for(let m=h.itemStart-1;m{for(let i of n)vL(r,i)})}function wL(e,t){return px(e,t)}function hx(e,t,n=!1){const{dir:r,index:i}=t,o=t.index-1;if(!n){const s=mx(e.areas,t);if(s.length!==0)throw new Error(`Can't remove ${r==="rows"?"row":"col"} ${i} as items ${L5(s)} are entirely contained within it.`)}const l={areas:pL(e.areas,{index:o,dir:r})},a=r==="rows"?"row_sizes":"col_sizes";return bL(e[a])&&(l[a]=Eh(e[a],o)),P(P({},e),l)}function mx(e,t){const n=kg(e);return EL(n,t)}function bL(e){return Array.isArray(e)&&e.length>1}function EL(e,{index:t,dir:n}){let r=[];return e.forEach((i,o)=>{const l=xh(i,n);if(!l)return;const{itemStart:a,itemEnd:s}=l;a===t&&a===s&&r.push(o)}),r}function SL(e,t,n){return wi(e,({areas:r})=>{const{numRows:i,numCols:o}=cl(r);for(let l=0;l{const o=n==="rows"?"row_sizes":"col_sizes";i[o][t-1]=r})}function xL(e,{item_a:t,item_b:n}){return t===n?e:wi(e,r=>{const{n_rows:i,n_cols:o}=CL(r.areas);let l=!1,a=!1;for(let s=0;s{f!==Dn&&l.add(f)});const c=u.length;if(i===-1&&(i=c),i!==c)throw new Error("Invalid layout definition. Not consistant number of columns in every row")}if(!n)n=Ua("1fr",i);else if(n.length!==i)throw new Error("Column sizes vector doesn't match layout definition.");if(!t)t=Ua("1fr",o);else if(t.length!==o)throw new Error("Row sizes vector doesn't match layout definition.");return{uniqueAreas:[...l],areas:a,col_sizes:n,row_sizes:t,gap_size:r!=null?r:"12px"}}function kL(e){const t=[];for(let n of e)t.push(n.trim().split(/\s+/));return t}function gx(n){var r=n,{areas:e}=r,t=ye(r,["areas"]);return P({layout:IL(e)},t)}function TL(n){var r=n,{layout:e}=r,t=ye(r,["layout"]);return P({areas:kL(e)},t)}function IL(e){const{numCols:t}=cl(e),n=[],r=Ua(-1,t);for(let i of e)for(let o=0;oo+l.padEnd(r[a]," ")+(a1,c=r>1,f=[];return(j1({colRange:s,rowIndex:e-1,layoutAreas:i})||u)&&f.push("up"),(j1({colRange:s,rowIndex:o+1,layoutAreas:i})||u)&&f.push("down"),(W1({rowRange:a,colIndex:n-1,layoutAreas:i})||c)&&f.push("left"),(W1({rowRange:a,colIndex:l+1,layoutAreas:i})||c)&&f.push("right"),f}function j1({colRange:e,rowIndex:t,layoutAreas:n}){return t<1||t>n.length?!1:e.every(r=>n[t-1][r-1]===Dn)}function W1({rowRange:e,colIndex:t,layoutAreas:n}){return t<1||t>n[0].length?!1:e.every(r=>n[r-1][t-1]===Dn)}const UL="_marker_mumaw_1",zL="_dragger_mumaw_32",jL="_move_mumaw_52",Y1={marker:UL,dragger:zL,move:jL};function bx(e,t,n){const r=t=r&&e<=i}function za({rowStart:e,rowSpan:t,colStart:n,colSpan:r}){return{rowStart:e,rowEnd:e+t-1,colStart:n,colEnd:n+r-1}}function WL(e,t){return typeof e=="undefined"&&typeof t=="undefined"?!0:typeof e=="undefined"||typeof t=="undefined"?!1:("colSpan"in e&&(e=za(e)),"colSpan"in t&&(t=za(t)),e.colStart===t.colStart&&e.colEnd===t.colEnd&&e.rowStart===t.rowStart&&e.rowEnd===t.rowEnd)}function YL({row:e,col:t}){return`row${e}-col${t}`}function VL({dragDirection:e,gridLocation:t,layoutAreas:n}){const{rowStart:r,rowEnd:i,colStart:o,colEnd:l}=za(t),a=n.length,s=n[0].length;let u,c,f;switch(e){case"up":if(r===1)return{shrinkExtent:i,growExtent:1};u=r-1,c=1,f=i;break;case"left":if(o===1)return{shrinkExtent:l,growExtent:1};u=o-1,c=1,f=l;break;case"down":if(i===a)return{shrinkExtent:r,growExtent:a};u=i+1,c=a,f=r;break;case"right":if(l===s)return{shrinkExtent:o,growExtent:s};u=l+1,c=s,f=o;break}const d=e==="up"||e==="down",p=e==="left"||e==="up",[h,m]=d?[o,l]:[r,i],E=(w,S)=>{const[_,b]=d?[w,S]:[S,w];return n[_-1][b-1]!==Dn},g=ec(h,m),y=ec(u,c);for(let w of y)for(let S of g)if(E(w,S))return{shrinkExtent:f,growExtent:w+(p?1:-1)};return{shrinkExtent:f,growExtent:c}}function $L({dir:e,gridContainerStyles:t,gridContainerBoundingRect:n}){const r=Ch(t.getPropertyValue("gap")),o=Ch(t.getPropertyValue("padding"))+r/2,l=n[e==="rows"?"y":"x"],a=HL(t,e),s=a.length,u=[];for(let c=0;cbx(o,s,u));if(l===void 0)return;const a=JL[n];return i[a]=l.index,i}const JL={right:"colEnd",left:"colStart",up:"rowStart",down:"rowEnd"};function QL({overlayRef:e,gridLocation:t,layoutAreas:n,onDragEnd:r}){const i=za(t),o=k.useRef(null),l=k.useCallback(u=>{const c=e.current,f=o.current;if(!c||!f)throw new Error("For some reason we are observing dragging when we shouldn't");const d=GL({mousePos:u,dragState:f});d&&$1(c,d)},[e]),a=k.useCallback(()=>{const u=e.current,c=o.current;if(!u||!c)return;const f=c.gridItemExtent;WL(f,i)||r(f),u.classList.remove("dragging"),document.removeEventListener("mousemove",l),V1("on")},[i,l,r,e]);return k.useCallback(u=>{const c=e.current;if(!c)return;const f=c.parentElement;if(!f)return;const d=getComputedStyle(c.parentElement),p=f.getBoundingClientRect(),h=u==="down"||u==="up"?"rows":"cols",{shrinkExtent:m,growExtent:E}=VL({dragDirection:u,gridLocation:t,layoutAreas:n});o.current={dragHandle:u,gridItemExtent:za(t),tractExtents:$L({dir:h,gridContainerStyles:d,gridContainerBoundingRect:p}).filter(({index:g})=>bx(g,m,E))},$1(e.current,o.current.gridItemExtent),c.classList.add("dragging"),document.addEventListener("mousemove",l),document.addEventListener("mouseup",a,{once:!0}),V1("off")},[a,t,n,l,e])}function V1(e){var n;const t=(n=document.querySelector("body"))==null?void 0:n.classList;e==="off"?t==null||t.add("disable-text-selection"):t==null||t.remove("disable-text-selection")}function $1(e,{rowStart:t,rowEnd:n,colStart:r,colEnd:i}){e.style.setProperty("--drag-grid-row-start",String(t)),e.style.setProperty("--drag-grid-row-end",String(n+1)),e.style.setProperty("--drag-grid-column-start",String(r)),e.style.setProperty("--drag-grid-column-end",String(i+1))}function KL({area:e,gridLocation:t,areas:n,onNewPos:r}){if(typeof t=="undefined")throw new Error(`Item in ${e} is not in the location map`);const i=k.useRef(null),o=QL({overlayRef:i,gridLocation:t,layoutAreas:n,onDragEnd:r}),l=k.useMemo(()=>BL({gridLocation:t,layoutAreas:n}),[t,n]),a=k.useMemo(()=>{let s=[];for(let u of l)s.push(v("div",{className:Ke(Y1.dragger,u),title:`resize ${e} ${u}`,onMouseDown:c=>{H1(c),o(u)},children:qL[u]},u));return s},[e,l,o]);return k.useEffect(()=>{var s;(s=i.current)==null||s.style.setProperty("--grid-area",e)},[e]),v("div",{ref:i,onClick:H1,className:Y1.marker+" grid-area-overlay",children:a})}function H1(e){e.preventDefault(),e.stopPropagation()}const qL={up:v(z1,{}),down:v(z1,{}),left:v(U1,{}),right:v(U1,{})},XL="_ResizableGrid_i4cq9_1",ZL={ResizableGrid:XL,"size-detection-cell":"_size-detection-cell_i4cq9_1"},e6=/(^[\d|.]+)\s*(px|%|rem|fr)|(^auto$)/;function t6(e){return e6.test(e)}const n6=/(px|%|rem|fr|auto)/g,r6=/^[\d|.]*/g;function tc(e){var i,o;const t=((i=e.match(n6))==null?void 0:i[0])||"px",n=(o=e.match(r6))==null?void 0:o[0],r=n?Number(n):null;if(t==="auto"){if(r!==null)throw new Error("Cant have a count value with auto units.");return{count:null,unit:"auto"}}if(r===null)throw new Error("You must have a count for non-auto units.");if(t==="fr"&&r<0)throw new Error(`Can't have a negative count with ${t} units.`);return{count:r,unit:t}}function Tl(e){return e.unit==="auto"?"auto":`${e.count}${e.unit}`}const i6="_infoIcon_15ri6_1",o6="_container_15ri6_10",l6="_header_15ri6_15",a6="_info_15ri6_1",s6="_unit_15ri6_27",u6="_description_15ri6_31",fo={infoIcon:i6,container:o6,header:l6,info:a6,unit:s6,description:u6},c6=({units:e})=>U(yf,{placement:"right",children:[v(vf,{className:fo.infoIcon,children:v(nL,{})}),v(lg,{children:v(f6,{units:e})})]});function f6({units:e}){return U("div",{className:fo.container,children:[v("div",{className:fo.header,children:"CSS size options"}),v("div",{className:fo.info,children:e.map(t=>U(k.Fragment,{children:[v("div",{className:fo.unit,children:t}),v("div",{className:fo.description,children:d6[t]})]},t))})]})}const d6={"%":"Relative to percentage of container size",auto:"Let the content decide size",fr:"Relative unit. E.g. 2fr is twice the size of 1fr",px:"Screen pixels",rem:"Pixel size of app font. Typically 16 pixels."},p6="_wrapper_3jy8f_1",h6="_unitSelector_3jy8f_9",Ex={wrapper:p6,unitSelector:h6};function Sx({unit:e,availableUnits:t,onChange:n}){return U(Ne,{children:[v("select",{className:Ex.unitSelector,"aria-label":"value-unit",name:"value-unit",value:e,onChange:r=>n(r.target.value),children:t.map(r=>v("option",{value:r,children:r},r))}),v(c6,{units:t})]})}function _r(e){return e+"-label"}function m6({id:e,label:t,value:n,onChange:r}){return v(_f,{id:e,"aria-label":t,"aria-labelledby":_r(e),value:n,onChange:r})}function _f(a){var s=a,{value:e,onChange:t,min:n=0,max:r,step:i,disabled:o}=s,l=ye(s,["value","onChange","min","max","step","disabled"]);const{displayedVal:u,handleChange:c,handleBlur:f,incrementUp:d,incrementDown:p}=g6({min:n,max:r,step:i,value:e,onChange:t});return U("div",{className:"NumberInput SUE-Input","aria-disabled":o,onBlur:f,children:[v("input",W(P({},l),{className:"input-field",type:"number",placeholder:"0",value:u,min:n,max:r,step:i,disabled:o,onChange:c})),U("div",{className:"incrementer-buttons",children:[v("button",{className:"up-button","aria-label":"Increment number up",onClick:d,type:"button",children:v(lL,{})}),v("button",{className:"down-button","aria-label":"Increment number down",onClick:p,type:"button",children:v(rL,{})})]})]})}function g6({min:e=-1/0,max:t=1/0,step:n=1,value:r,onChange:i}){const o=k.useCallback(p=>h=>{if(h.preventDefault(),typeof r!="number"||typeof n!="number")return;const m=r+(p==="up"?1:-1)*n;typeof e=="number"&&e>m||typeof t=="number"&&to("up"),[o]),a=k.useMemo(()=>o("down"),[o]),[s,u]=k.useState(r);k.useEffect(()=>u(r),[r]);const c=k.useCallback(p=>{const h=p.target.value;u(m=>Number(m)===Number(h)?m:h),i(Number(h))},[i]),f=k.useCallback(()=>{u(p=>Number(p).toString())},[]);return{incrementUp:l,incrementDown:a,handleChange:c,displayedVal:s===0||s===null?"":s,handleBlur:f}}function G1(e,t){const n=Math.abs(t-e)+1,r=ee+o*r)}function y6({areas:e,row_sizes:t,col_sizes:n,gap_size:r}){return{gridTemplateAreas:e.map(i=>`"${i.join(" ")}"`).join(` - `),gridTemplateRows:t.join(" "),gridTemplateColumns:n.join(" "),"--grid-gap":r}}function J1(e){return e.split(" ")}function v6(e){const t=e.match(/"([.\w\s]+)"/g);if(!t)throw new Error("Can't parse area definition");return t.map(n=>n.replaceAll('"',"").split(" "))}function w6(e){const t=J1(e.style.gridTemplateRows),n=J1(e.style.gridTemplateColumns),r=v6(e.style.gridTemplateAreas),i=e.style.getPropertyValue("--grid-gap");return{row_sizes:t,col_sizes:n,areas:r,gap_size:i}}function Ax({container:e,dir:t}){return getComputedStyle(e).getPropertyValue(t==="rows"?"grid-template-rows":"grid-template-columns").split(" ").map(n=>Number(n.replaceAll("px","")))}const _h=e=>Number(e.toFixed(4)),nc=40,b6=.15,xx=e=>t=>Math.round(t/e)*e,E6=5,kf=xx(E6),S6=.01,Cx=xx(S6);function A6(e,{pixelToFrRatio:t,beforeInfo:n,afterInfo:r}){const i=Cx(e*t),o=n.count+i,l=r.count-i;return(i<0?o/l:l/o)=o.length?null:o[u];if(c==="auto"||f==="auto"){const h=getComputedStyle(r).getPropertyValue(t==="rows"?"grid-template-rows":"grid-template-columns").split(" ");c==="auto"&&(c=h[s],o[s]=c),f==="auto"&&(f=h[u],o[u]=f),r.style[i]=h.join(" ")}const d=k6(c,f);if(d.type==="unsupported")throw new Error("Unsupported drag type");r.classList.add("been-dragged");const p=W(P({dir:t,mouseStart:kx(e,t),originalSizes:o,currentSizes:[...o],beforeIndex:s,afterIndex:u},d),{pixelToFrRatio:1});return d.type==="both-relative"&&(p.pixelToFrRatio=T6({container:r,index:n,dir:t,frCounts:{before:d.beforeInfo.count,after:d.afterInfo.count}})),p}function O6({mousePosition:e,drag:t,container:n}){const i=kx(e,t.dir)-t.mouseStart,o=[...t.originalSizes];let l;switch(t.type){case"before-pixel":l=C6(i,t);break;case"after-pixel":l=_6(i,t);break;case"both-pixel":l=x6(i,t);break;case"both-relative":l=A6(i,t);break}l!=="no-change"&&(l.beforeSize&&(o[t.beforeIndex]=l.beforeSize),l.afterSize&&(o[t.afterIndex]=l.afterSize),t.currentSizes=o,t.dir==="cols"?n.style.gridTemplateColumns=o.join(" "):n.style.gridTemplateRows=o.join(" "))}function P6(e){return e.match(/[0-9|.]+px/)!==null}function _x(e){return e.match(/[0-9|.]+fr/)!==null}function kh(e){if(_x(e))return{type:"fr",count:Number(e.replace("fr","")),value:e};if(P6(e))return{type:"pixel",count:Number(e.replace("px","")),value:e};throw new Error("Unknown tract sizing unit: "+e)}function kx(e,t){return t==="rows"?e.clientY:e.clientX}function N6(e){return e.some(t=>_x(t))}function R6(e){return e.some(t=>t==="auto")}const D6="_tractInfoDisplay_cvtwo_1",L6="_sizeWidget_cvtwo_61",F6="_cssSizeInput_cvtwo_80",M6="_hoverListener_cvtwo_94",B6="_buttons_cvtwo_114",U6="_tractAddButton_cvtwo_127",z6="_deleteButton_cvtwo_128",Yr={tractInfoDisplay:D6,sizeWidget:L6,cssSizeInput:F6,hoverListener:M6,buttons:B6,tractAddButton:U6,deleteButton:z6},j6=["fr","px"];function W6({dir:e,index:t,size:n,deletionConflicts:r,addTract:i,deleteTract:o,changeUnit:l,changeCount:a}){const{unit:s,count:u}=tc(n);return U("div",{className:Yr.tractInfoDisplay,"data-drag-dir":e,style:{"--tract-index":t+1},children:[v("div",{className:Yr.hoverListener}),U("div",{className:Yr.sizeWidget,onClick:$6,children:[U("div",{className:Yr.buttons,children:[v(Q1,{dir:e,onClick:()=>i("before")}),v(Y6,{dir:e,onClick:o,deletionConflicts:r}),v(Q1,{dir:e,onClick:()=>i("after")})]}),U("div",{className:Yr.cssSizeInput,children:[v(_f,{name:"value-count","aria-label":"value-count",value:u,onChange:a,min:0}),v(Sx,{unit:s,availableUnits:j6,onChange:c=>l(c)})]})]})]})}function Y6({dir:e,onClick:t,deletionConflicts:n}){const r=e==="rows"?"right":"down",i=n.length===0,o=i?"Delete tract":`Can't delete because the items ${n.join(",")} are entirely contained in tract`;return v(Ir,{className:Yr.deleteButton,onClick:Tx(i?t:void 0),"data-enabled":i,text:o,size:"medium",position:r,children:v(xf,{})})}function Q1({dir:e,onClick:t}){const n=e==="rows"?"right":"down",r=e==="rows"?"Add row":"Add column";return v(Ir,{className:Yr.tractAddButton,onClick:Tx(t),position:n,text:r,children:v(Ig,{})})}function Tx(e){return function(t){t.currentTarget.blur(),e==null||e()}}function V6(e,t){let n=0,r=0;for(let i=0;imx(r,{dir:c,index:f+1}),[r]),l=c=>f=>{const{unit:d}=tc(t[c]);i({type:"RESIZE",index:c,dir:e,size:`${f}${d}`})},a=c=>f=>{const d=n(),{count:p}=tc(t[c]);let h=1;f==="px"&&(h=kf(d[c]));const m=V6(d,t);f==="fr"&&m!=="NO_FR_UNITS"&&(h=_h(Cx(p?p*m:1))),i({type:"RESIZE",index:c,dir:e,size:`${h}${f}`})},s=c=>f=>i({type:"ADD",dir:e,index:f==="before"?c:c+1}),u=c=>()=>{i({type:"DELETE",dir:e,index:c+1})};return v(Ne,{children:t.map((c,f)=>v(W6,{index:f,dir:e,addTract:s(f),deleteTract:u(f),changeUnit:a(f),changeCount:l(f),size:c,deletionConflicts:o({dir:e,index:f})},e+f))})}function $6(e){e.stopPropagation()}function q1(e,t){e.querySelectorAll(`.${Yr.tractInfoDisplay}`).forEach(n=>{n.style.display=t==="hide"?"none":"block"})}const H6="_columnSizer_9b32k_1",G6="_rowSizer_9b32k_2",X1={columnSizer:H6,rowSizer:G6};function Z1({dir:e,index:t,onStartDrag:n}){return v("div",{className:e==="rows"?X1.rowSizer:X1.columnSizer,title:`resize ${e==="rows"?"rows":"columns"} ${t-1} and ${t}`,onMouseDown:r=>n({e:r,dir:e,index:t}),style:{[e==="rows"?"gridRow":"gridColumn"]:t}})}function J6(e,t="Ref is not yet initialized"){if(e.current===null)throw new Error(t);return e.current}function Q6({containerRef:e,onDragEnd:t}){return k.useCallback(({e:r,dir:i,index:o})=>{const l=J6(e,"How are you dragging on an element without a container?");r.preventDefault();const a=I6({mousePosition:r,dir:i,index:o,container:l}),{beforeIndex:s,afterIndex:u}=a,c=e0(l,{dir:i,index:s,size:a.currentSizes[s]}),f=e0(l,{dir:i,index:u,size:a.currentSizes[u]});K6(l,a.dir,{move:d=>{O6({mousePosition:d,drag:a,container:l}),c.update(a.currentSizes[s]),f.update(a.currentSizes[u])},end:()=>{c.remove(),f.remove(),t&&t(w6(l))}})},[e,t])}function e0(e,{dir:t,index:n,size:r}){const i=document.createElement("div"),o=t==="rows"?{gridRow:String(n+1),gridColumn:"1",flexDirection:"row"}:{gridColumn:String(n+1),gridRow:"1",flexDirection:"column"};Object.assign(i.style,o,{zIndex:"1",display:"flex",alignItems:"center"});const l=document.createElement("div");return Object.assign(l.style,{padding:"3px 7px",borderRadius:"var(--corner-radius)",backgroundColor:"var(--light-grey, pink)"}),l.innerHTML=r,i.appendChild(l),e.appendChild(i),q1(e,"hide"),{remove:()=>{i.remove(),q1(e,"show")},update:a=>{l.innerHTML=a}}}function K6(e,t,n){const r=document.createElement("div");Object.assign(r.style,{position:"fixed",inset:"0px",zIndex:"3",cursor:t==="rows"?"ns-resize":"ew-resize"}),e.appendChild(r);const i=()=>{o(),n.end()};r.addEventListener("mousemove",n.move),r.addEventListener("mouseup",i),r.addEventListener("mouseleave",i);function o(){r.removeEventListener("mousemove",n.move),r.removeEventListener("mouseup",i),r.removeEventListener("mouseleave",i),r.remove()}}function q6({areas:e,col_sizes:t,row_sizes:n,gap_size:r}){return{areas:e,gap_size:r,col_sizes:aa(t),row_sizes:aa(n)}}const X6="1fr";function Z6(i){var o=i,{className:e,children:t,onNewLayout:n}=o,r=ye(o,["className","children","onNewLayout"]);r=q6(r);let{row_sizes:l,col_sizes:a}=r;const s=O.useRef(null),u=y6(r),c=a.length<2?[]:G1(2,a.length),f=l.length<2?[]:G1(2,l.length),d=Q6({containerRef:s,onDragEnd:n}),p=[ZL.ResizableGrid];e&&p.push(e);const h=O.useCallback(g=>{switch(g.type){case"ADD":return dx(r,{afterIndex:g.index,dir:g.dir,size:X6});case"RESIZE":return eF(r,g);case"DELETE":return hx(r,g)}},[r]),m=O.useCallback(g=>n(h(g)),[h,n]),E=O.useCallback(g=>{const y=s.current;return y?Ax({container:y,dir:g}):[]},[]);return U("div",{className:Ke(...p),ref:s,style:u,children:[c.map(g=>v(Z1,{dir:"cols",index:g,onStartDrag:d},"cols"+g)),f.map(g=>v(Z1,{dir:"rows",index:g,onStartDrag:d},"rows"+g)),t,v(K1,{dir:"cols",sizes:a,getActualSizes:()=>E("cols"),areas:r.areas,onUpdate:m}),v(K1,{dir:"rows",sizes:l,getActualSizes:()=>E("rows"),areas:r.areas,onUpdate:m})]})}function eF(e,{dir:t,index:n,size:r}){return wi(e,i=>{i[t==="rows"?"row_sizes":"col_sizes"][n]=r})}function tF({gridRow:e,gridColumn:t,onDroppedNode:n}){const r=Eg({getCanAcceptDrop:i=>!0,onDrop:i=>{n(W(P({},i),{pos:{rowStart:e,rowEnd:e,colStart:t,colEnd:t}}))}});return v("div",{className:"grid-cell",ref:r,"data-cell-pos":e+"-"+t,style:{gridRow:e,gridColumn:t,margin:"2px"}})}var rc=Symbol("@ts-pattern/matcher"),t0="@ts-pattern/anonymous-select-key",n0=function(e){return Boolean(e&&typeof e=="object")},Md=function(e){return e&&!!e[rc]},nF=function e(t,n,r){if(n0(t)){if(Md(t)){var i=t[rc]().match(n),o=i.matched,l=i.selections;return o&&l&&Object.keys(l).forEach(function(s){return r(s,l[s])}),o}if(!n0(n))return!1;if(Array.isArray(t))return!!Array.isArray(n)&&t.length===n.length&&t.every(function(s,u){return e(s,n[u],r)});if(t instanceof Map)return n instanceof Map&&Array.from(t.keys()).every(function(s){return e(t.get(s),n.get(s),r)});if(t instanceof Set){if(!(n instanceof Set))return!1;if(t.size===0)return n.size===0;if(t.size===1){var a=Array.from(t.values())[0];return Md(a)?Array.from(n.values()).every(function(s){return e(a,s,r)}):n.has(a)}return Array.from(t.values()).every(function(s){return n.has(s)})}return Object.keys(t).every(function(s){var u,c=t[s];return(s in n||Md(u=c)&&u[rc]().matcherType==="optional")&&e(c,n[s],r)})}return Object.is(n,t)};function eo(e){var t;return(t={})[rc]=function(){return{match:function(n){return{matched:Boolean(e(n))}}}},t}eo(function(e){return!0});eo(function(e){return typeof e=="string"});eo(function(e){return typeof e=="number"});eo(function(e){return typeof e=="boolean"});eo(function(e){return typeof e=="bigint"});eo(function(e){return typeof e=="symbol"});eo(function(e){return e==null});var rF=function(e){return new iF(e,[])},iF=function(){function e(n,r){this.value=void 0,this.cases=void 0,this.value=n,this.cases=r}var t=e.prototype;return t.with=function(){var n=[].slice.call(arguments),r=n[n.length-1],i=[n[0]],o=[];return n.length===3&&typeof n[1]=="function"?(i.push(n[0]),o.push(n[1])):n.length>2&&i.push.apply(i,n.slice(1,n.length-1)),new e(this.value,this.cases.concat([{match:function(l){var a={},s=Boolean(i.some(function(u){return nF(u,l,function(c,f){a[c]=f})})&&o.every(function(u){return u(l)}));return{matched:s,value:s&&Object.keys(a).length?t0 in a?a[t0]:a:l}},handler:r}]))},t.when=function(n,r){return new e(this.value,this.cases.concat([{match:function(i){return{matched:Boolean(n(i)),value:i}},handler:r}]))},t.otherwise=function(n){return new e(this.value,this.cases.concat([{match:function(r){return{matched:!0,value:r}},handler:n}])).run()},t.exhaustive=function(){return this.run()},t.run=function(){for(var n=this.value,r=void 0,i=0;ir(l.target.checked);return U(Ne,{children:[v("input",{className:Ke("SUE-Input",r0.checkboxInput),id:i,"aria-labelledby":_r(e),"aria-label":t,type:"checkbox",checked:n,onChange:o}),v("label",{className:r0.checkboxLabel,htmlFor:i,"data-value":n?"TRUE":"FALSE",children:"Toggle"})]})}const sF={fr:1,px:10,rem:1,"%":100};function uF({id:e,label:t,value:n,onChange:r,units:i=["px","rem","%"]}){const{count:o,unit:l}=tc(n),a=k.useCallback(c=>{if(c===void 0){if(l!=="auto")throw new Error("Undefined count with auto units");r(Tl({unit:l,count:null}));return}if(l==="auto"){console.error("How did you change the count of an auto unit?");return}r(Tl({unit:l,count:c}))},[r,l]),s=k.useCallback(c=>{if(c==="auto"){r(Tl({unit:c,count:null}));return}if(l==="auto"){r(Tl({unit:c,count:sF[c]}));return}r(Tl({unit:c,count:o}))},[o,r,l]);i.includes(l)||i.push(l);const u=o===null;return U("div",{className:Ke("SUE-Input",Ex.wrapper),"aria-label":t,"aria-labelledby":_r(e),children:[v(_f,{name:"value-count","aria-label":"value-count",value:o,disabled:u,onChange:a,min:0}),v(Sx,{unit:l,availableUnits:i,onChange:s})]})}function cF(e){return Tt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 9H4v2h16V9zM4 15h16v-2H4v2z"}}]})(e)}var Th={},fF={get exports(){return Th},set exports(e){Th=e}};/**! +})`}},allowedParents:_g,iconSrc:Ig,category:"gridlayout",description:"A wrapper for `shiny::plotOutput()` that uses `gridlayout`-friendly sizing defaults. \n For when you want to have a grid area filled entirely with a single plot."}),sx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAFn0lEQVR4nO3b4VHjRgCG4c+ZNMCV4BtVwJVgSjiiCqACJZRgogqgAuUoAZcAFShHC5RAfnh9rBdJFsaf8TrvM5MZzvZJTvxmtVovk5eXFwG79ttnvwEcJ8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCggVhwYKwYEFYsCAsWBAWLAgLFoQFC8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCggVhwYKwYEFYsCAsWBAWLAgLFoQFC8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcHi989+A2NMJpNRr6uadibpPnn4rC6LxXvP2XGsy7osbt97HJeXl5fPfguDjm3E+j7yMZgdTVhV056oO6KL8Bz26GjC0jKqvoAu9vlGcHxhrdxJiudVhLVnRxFW1bRTSbPoobvwz8o0TMaxJ0cRltZHq+e6LFZhPUePM2rt0bGEFUdzJ0l1WTxrfdT6ziR+f7JYxxoSLnHT6KG75Oc4ugtJ1zs4519ajpKn0cMLSYu6LN59/HC8U729q936mJ9tcugLbdLwAmnVtDd6jeepLouvyfM/9Rrem+cHjvtmgVTSk6QbrYecepZ0PmZRtmrai3C8Mc7DJV4SC6RWHWtXdx0vi1fLPzKJP9UytKGopOWSx33VtIMLs+F/iLFRSdKPMLJlIeuwtByp4nlTV1jpY9tO4uO/dyvpW10Wk7osJpK+dZznJtytvlE17bzjfVxL+hod84ukq+Q181zubrO+FFZN+6DXec5jXRbfel53r/XliC9hct+r53vHwctcCCYeVW7rsrjccNxnLb/PfOw55qmkh+ihRV0WZ4f+uWU7YoX/4PHkuWu06ntum1FrFUDv3Kkuiyst52G/ztNxJ5qe+7IvqnDMR63fcMz6RsJDkm1YensHtSmsj65pXQ8FEEl3QPwaKTvmhIt4Qj4gPe9p56sOSM7LDXEci7osnvpeWJfFc9W08dLDtGra7yM/1JXBS2f8XpI/n+o1+nR+NGo7T3ifa/OBv//gUrhz4Y5r06Q9lb7Gsp2mY1Sb9vwsvR2JjkauI1YaxU24fX/XMaqmnQ6NdB/wpNeIhlb7Hec+CNmNWAP7rrax702A/5uvlLILS7v9Mtn1xXRfQGPnadnL8VK4tpNBy0XF0R9Ysqa1zSR+jDisocvddMPz2cpqxOpau3pPVKu/k/x5p6NWeI+xp56fpQyWDbaV24j1nrWrPneS5nodVWY7nsQPLSmkywszjdhtEe6Cf0QPnWu7f/e9yWrE0vro8rzNr3V17NOSxk3iN068w41F/B6f4uWHjnPPNn1ZHaQj28EvU2QTVsfa1Ud+xy8Na8yugfmI3QXplpqu0Sh93zcdl89fwnPxeQcXgw9FNmHp7Vxo60tBGOniD+dk5Mgxr5r2IQ2satpZuCmIj/HY9Quu4dxxcCeSHqqmncffAVZNexK+1H5IDpHFpr8sdjf8+c+/U0k/o4d6dzKMFeKYRw8t6rI4i57v2t0w1pOW22p6byySDYpjXa12kx7655bLiLWLSXsqPcamXQNjz7nQhqgkKWynuRx6TeI8py3KuYS1s8vgSpinpJP/oRFkETbgXfWc/1rLbTVnY5dA6rK43XDMhZaj1MSw1maVxaUQ+cllxEJmCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCggVhwYKwYEFYsCAsWBAWLAgLFoQFC8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCggVhwYKwYEFYsCAsWBAWLAgLFoQFC8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCgsV/EcmMRmtHHXoAAAAASUVORK5CYII=",HD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAABYlAAAWJQFJUiTwAAABq0lEQVRYhe2YsU7DMBCGvyDUDToxsuUREN27gUACBpZuvAMFXgBBH4KtCwMggWDrDuIRujIxAVuXMMRIbuU09vlKiMgnRYniO/uv4zv7mmRZRh1YDjHuX4+Lmsp+beJ6OThMvcde8rasmEaoNo1QbSRCL8mj3L7KmLUfhA4qEXoKDAV+PwyBk1AnidAMOAJGAt+R8Q3eZaRrdAIcAC8BPq/GZyIZMCaYPoAdoHC7shgD28ZHRGzUvwNb5h5jU4pGehoDu8Cno+3LtPnM+ly08ugzsM/0+psAe6YtGs2Eb0d0TGZwEnTM82AIrFvPamgLBbhYQJ/12esTVyky5yT/a8ye/os+/V8opKbKl9p8+qIZdRZjVeJco0Vor92mCvXkGOhrd6qd8HvkpQrAG4q7k+aMdoEr8kBMzHNXq3MtoRvADdCy3rXMu02NATSEpsAj0Ha0tYEHYxNFrNA14MncY2xKiRG6AtzjN1upsV2VDiYV2gLugE6ATwe4ZXodeyMRGhPRdmYIQiL0nDxfSumZPoKQJPwzc9mI/nEO4V/v9QuhEapNbYQGnfCr5BtYaFWUrHRSSwAAAABJRU5ErkJggg==",GD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAiElEQVRYhe3YwQmAIBhA4YxGaaZGaYhGaaZ2sauCB8MX9cP7bnaIxx9imHLOUwTz1wG9DKWFCV1aD/fzKpdPdlsaqikc21qtw0zUUJqhNENphtLChDaP0BcMH8NhJmoozVCaoTRDaYbSDKUZSuv5HyWuaYbfEX6if7iGrr5CmIkm7/BhhtIMpd2GuAxXhhY/aAAAAABJRU5ErkJggg==",JD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAhUlEQVRYhe3ZwQmAMBAAwZxYijVZikVYijXZS/zmoRDJQjjY+ZlHWE6RiFFrLRksswN6GUozlLa+LR7XPf1VcO5btNe5J1pKiY/1adJPtPXnef26E8N7pJmooTRDaYbSDKUZSjOUZiit5zxKGP5iSDNRQ2mG0gylGUpLExr+bIAZSksT+gD98QxXbjF/TQAAAABJRU5ErkJggg==",Ah="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAgklEQVRYhe3Y0QmAIBRA0Wc0SjM1SkM0SjO1i00gGl2MB/f+2sfhQSqWWmtkaPkbMJpQOqF0aaBr74PjuqftX+e+ldZamokKpRNKJ5ROKF0aaPcIjYjmsTazNBMVSieUbuSvb/XlQv16J0kzUaF0QumE0gmlSwMtPo3DCaUTSpcG+gDcmgtUpwOm6gAAAABJRU5ErkJggg==",ux="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAjElEQVRYhe3ZwQmAMBBEUVcsxZosxSIsxZrsJZ4UIQYUh5WB/456+awhCRillM5B/3fAU4SqDa0X87odizeSWk7LNFbPbCZqE9r89Dcy97FqudlMlFA1QtUIVSNUzSb0zRGafou6spkooWqEqmVenD/tGjYTJVSNUDVC1QhVswnl4qwW/GwQI1TNJnQHKA8MWeSBgoAAAAAASUVORK5CYII=",cx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAkklEQVRYhe3ZwQmAMAyF4UQcxZkcxSEcxZncJV70UmlVfEYevO/ay0+KNKBHhDHo/g64S6Fofe1gWtbMjkOYmc3j4OUBzURpQqtXb/s1JDlddYlmogpFUyiaQtEUikYT2npCL5+1TDQTVSiaQtFaX/0Tb5dsLc7pFIqmUDSFoikUDfWEfr5k00zU9bMBTKFoNKEbp/QMWe71dFoAAAAASUVORK5CYII=",QD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAoCAYAAAC4h3lxAAAACXBIWXMAAAsTAAALEwEAmpwYAAABA0lEQVRYhe2ZwQ6CMBBEH8Yv9uDNsMabB38ZLxBRkdDtxlmSzqUktDAvs2yb0A3DwJ51UBuoVQNQqwGotXuAY8nk8+3hfc+8Vxtw3brwfjmt3lckYEAf9TBVCRlBEP8G6HiVjxEAoSqhMAhlCYVAFHUh3rtJrWwc+9n15u40Sb0PGJVJlCYwqXOuW5KNoysJdQKTDGcSWQDACZEJABwQ2QDgG2JVGQGgoF1nBCjqRtkAPs3bz5mjMgEUm4c8AC7z4N+JvWeipR3cbR70CVSZh/IEvGegpcSqzYMugRDzoAEIMw/+j9ireSlVmwddCYWYBw1AmHmArv3gEKsBqNUA1No9wBNu3jnWLc/KGQAAAABJRU5ErkJggg==",KD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAoCAYAAAC4h3lxAAAACXBIWXMAAAsTAAALEwEAmpwYAAADT0lEQVRYhe2ZP2gUURDGf1ELSy/YpUrELt1BLHIpxAtCOO0SBP80woWAiGyxuWZB2eayxYIiSAJpTBPuQARtJNedacTrgk3IWYlWuVR2EouZl907Lwnue8cRyMDj7e3OMvO9mTfzvb2Rw8NDzrJcGLYDtnIOYNhy5gFcyvqiH8anqZSAMjADdIAmUAF+HvdCFHj/7UdmAKdICfiQ+n0FGAfmgJvAjitDg0ihaRLnK8AocA2oA1eBdZfGBhGBeZ1XosBb0esOsOCH8VdgConQRxfGBhGBgs71Ps/MvRlXxgYB4EDnXJ9nEzrvuTI2CABNnat+GB+B8MM4j1SlP8BnV8Zc74ExIK/XeWDPD+M6Eg2zN14D31wZdAlgDHiHbNIOsAK0kbSpqs5L4JlDm84ATCLlcQpoAbNR4HXMQz+M20ANiYqzCgRu9kB65f9xHiAKvDoSlQLSI0oO7AJuIrAOXAcaUeDNnqDXRspoFQHxXe83gQawkcW4bQSmgdvq3AKAH8a5dPVJizY209zGdTwC3gIPszhgC8A0pHoUeB11fIuk3gPgh/EEkkJEgVdBqIUZi6pWzOKALQCz0ibn8zo6fXSLfhgXAaLAa5uBpA9k7M62e8CsdFvnvqmTur/lh3GDboBm5ZtkEFsAvRHo/W3ENLdd+qfKJrCUxQFbAE3gFpIeLZJuW6SbzBmnQ+AX3ZFqcsIh5zSx3QMmf5eBfRJHq8dUojlkk9dSI7PzYA9gm6Q5HZCQtBawmtKrIGl1D3hqabNLXHTibeAuUhILQCcKPNMTlkGqDkm5fAJcdmAXcEunH+jc0nkRKKdKZx1JuetIyjkRVwBKCNMEWANQPpSjO5VMF76Poyi4ADAJvNfriq40fhiXEQATek0UeA0cR8EWgGGiF4E1c4jXtEmvfNpZp1GwBfCGhIkuwhHvqenz50hlOi4KZUv7VgBGgTvoJxMQJorU+RzSXV+ge4LuKJh71l8nbAAc0YbUAaaG8KNPwGO9t0FPFFyKDZXYQxwr6AcrEM6zizj/O6W7hvSIVT+M50m4USYClxZbLrREchYG+II4/6NHz5y2AhK6sQm8srRvDWAHuEGyoq0TdDcQgjejevuWtgEYOf+PbMhyDmDY8hfkuOfRCqd6WwAAAABJRU5ErkJggg==",qD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAoCAYAAAC4h3lxAAAACXBIWXMAAAsTAAALEwEAmpwYAAABDElEQVRYhe2ZsQ7CMAxEr4gvZmBDXMXGwC+XgVQqERDbCbEr5ZaoalXdq+0kTqdlWbBnHbwN1GoAeGsAeGv3AMdfN8+3h+ZdVwDcXE8GP7hfTqrnW0UgN99NLQDczAP1AFvzM4xpU6MagNw8vz75R1kBQpgHCrPQF0nNW3eJqjTURiDMl1+liYDUvLWQTRGTRiDcl18lAQhrHigDhDYPlAGYxpDmAXkNhG2cSwBzGolXOoWTJIVCQ0hSiAgMIa0BIiiEZiVmGvOpNVfXgtfuhYhgkbDsRpnGUiS6NDfWfoAIEomajowIAFHbExPvEN1X7BanEsTnGuiiVudChBPENH5wOGsAeGsAeGv3AE8yEDlUwXXxqQAAAABJRU5ErkJggg==",XD="_icon_1467k_1",ZD={icon:XD},eL={undo:qD,redo:QD,tour:KD,alignTop:JD,alignBottom:GD,alignCenter:HD,alignSpread:Ah,alignTextCenter:Ah,alignTextLeft:ux,alignTextRight:cx};function tL({id:e,alt:t=e,size:n}){return v("img",{src:eL[e],alt:t,className:ZD.icon,style:n?{height:n}:{}})}function nL(e){return Tt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 90c44.3 0 86 17.3 117.4 48.6C404.7 170 422 211.7 422 256s-17.3 86-48.6 117.4C342 404.7 300.3 422 256 422s-86-17.3-117.4-48.6C107.3 342 90 300.3 90 256s17.3-86 48.6-117.4C170 107.3 211.7 90 256 90m0-42C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48z"}},{tag:"path",attr:{d:"M277 360h-42V235h42v125zm0-166h-42v-42h42v42z"}}]})(e)}const rL=e=>v("svg",W(P({width:"1em",height:"1em",viewBox:"0 0 15 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:v("path",{d:"M7.38 7.477 14.432.691H.328L7.38 7.477Z",fill:"#75A8DB"})})),iL=e=>v("svg",W(P({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 49 40",width:"1em",height:"1em"},e),{children:v("path",{stroke:"currentColor",strokeWidth:2,d:"M27.42 8.115h2.074l10.592 11.414v1.052L28.705 32.04H27.4v-5.954H13.328l.105-11.975 13.988-.058V8.115Z"})})),xf=e=>U("svg",W(P({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 20",width:"1em",height:"1em"},e),{children:[v("path",{stroke:"currentColor",strokeLinejoin:"round",strokeWidth:1.5,d:"M0 4h16"}),v("path",{stroke:"currentColor",strokeLinejoin:"round",d:"M5.5 6.5 6 16m2-9.5V16m2.5-9.5L10 16"}),v("path",{stroke:"currentColor",strokeLinejoin:"round",strokeWidth:1.5,d:"M5.5 4.5v-2l1.5-1h2l1.5 1v2m-8 0 .5 12 1.5 2h7l1.5-2 .5-12"})]})),oL=e=>v("svg",W(P({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 44 40",width:"1em",height:"1em"},e),{children:v("path",{stroke:"currentColor",strokeWidth:2,d:"M17.08 8.115h-2.074L4.414 19.529v1.052L15.795 32.04H17.1v-5.954h14.072l-.105-11.975-13.988-.058V8.115Z"})})),lL=e=>v("svg",W(P({width:"1em",height:"1em",viewBox:"0 0 15 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:v("path",{d:"m7.38.477 7.052 6.786H.328L7.38.477Z",fill:"#75A8DB"})})),aL="_textPanel_7ayjk_1",sL="_text_holder_7ayjk_12",z1={textPanel:aL,text_holder:sL},uL=({uiArguments:{content:e,area:t,alignment:n},path:r,wrapperProps:i})=>{const o=Tg({area:t,path:r});return v(ax,W(P({ref:o,className:Ke(z1.textPanel,"gridlayout-textPanel"),style:{gridArea:t,justifyItems:n}},i),{children:v("div",{className:z1.text_holder,children:v("h1",{children:e})})}))},cL=xe()({library:"gridlayout",name:"grid_card_text",title:"Grid Text Card",takesChildren:!1,UiComponent:uL,settingsInfo:{content:{label:"Panel text",inputType:"string",defaultValue:"Text for card"},alignment:{label:"Text alignment",inputType:"radio",defaultValue:"start",choices:{start:{icon:ux,label:"left"},center:{icon:Ah,label:"center"},end:{icon:cx,label:"right"}}},area:{label:"Name of grid area",inputType:"string",defaultValue:"default-area"},is_title:{label:"Use text as website title",inputType:"boolean",defaultValue:!1,optional:!0}},allowedParents:_g,iconSrc:sx,category:"gridlayout",description:"A grid card that contains just text that is vertically centered within the panel. Useful for app titles or displaying text-based statistics."}),fx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAEVklEQVR4nO3cwYpcRRiG4XeMjouYGzAuXGThyohG1GvQxQQSJVfgRhkUnOANCCYLh6ALvQBBQkxE9BqiKEZ3wixcZO4gm4xIu6geaE+PDMp8VZU67wNncc5ppqqrP7r++Q/0xmKxQDppj7WegMZksBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBRhsBTxeK2Bdr7aO+ryJrC1PF4Dnl5e25i8bvqTON5fv/8AuA/8AtwGvgEOJq/j2lvnppciqgXrCBeBa0Cddzq+p4DnlscVYA+4CnzdYjIttsJTwMeUN2yocs4Btyhrfar24C2+sT4CdhqMO1eHa3215qC1v7EusR6qA+AGpcY6w3r9wPLa6uH99ftnKGt4g/Xaaoey9tXUDNYm8Mnk2j7wCrAN3KUUoPp/HlDWcJuypvuT+7uUz6CKmsG6DDyzcn4AvAHcqziHubgHvA48XLl2Fniz1gRqBmtrcv45hirpV+CLybWtWoPXDNbLk/MvT/BvLyaHiukaX6g1cM3/Cp+dnFfb72fsLkcX+3EtH+msdYU1Dp8VKqLlI52T1OTrXv+uZrCOe5CqjCbr7laoCIOliFFqLLfZztQMlh92G7PrY2lgBksRo9RYbrOdsY81PvtYGofBUsQoNZbbbGfsY43PPpbGYbAUMUqN5TbbGftY47OPpXEYLEWMUmO5zXbGPtb47GNpHAZLEaPUWG6znbGPNT77WBqHwVLEKDVWD7+z3sv9LkoM+1jjs4+lcRgsRYxSYx33dT/3+9XZxxqffSyNw2ApYpQaq6dttqe5NGMfa3z2sTQOg6WIUWqsnrbZnubSjH2s8dnH0jgMliJGqbF62mZ7mksz9rHGZx9L4zBYihilxuppm+1pLs3YxxqffSyNw2ApYpQaq6dttqe5NGMfa3z2sTQOg6WIlsHabDi2wmoG63dKYXt4vHiCf3tjcrTU01xe5Z9r/ketgWsG67fJ+ZWKY8/VdI1/qjVwzWDdmZy/DZyvOP7cPE9Z41V3ag1eM1g3gfsr508C3wEvVJzDXJwHvqes8aF9ymdQRc1gHQDvT66dBX4AdoELwOmK8xnNacoa7gI/UtZ21XvAw1qTqd15vwlcBz5YubYJbC+PQz3/Yt6jcH/qOhW/raBNu+FD4NMG487VZ5Q1r6pFsP4C3gUuAXsNxp+LPeAy8A5lzatq+RD6FvAt5c1fBF6i1AVPNJzTo+xPSoH+M3CbsvUdtJrMxmJx3PYs/Xc+K1SEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVKEwVLE32A0lLomuWLgAAAAAElFTkSuQmCC";var Cf=Yl;function Yl(e){let t=e;var n={}.toString.call(e).slice(8,-1);if(n=="Set")return new Set([...e].map(i=>Yl(i)));if(n=="Map")return new Map([...e].map(i=>[Yl(i[0]),Yl(i[1])]));if(n=="Date")return new Date(e.getTime());if(n=="RegExp")return RegExp(e.source,fL(e));if(n=="Array"||n=="Object"){t=Array.isArray(e)?[]:{};for(var r in e)t[r]=Yl(e[r])}return t}function fL(e){if(typeof e.source.flags=="string")return e.source.flags;var t=[];return e.global&&t.push("g"),e.ignoreCase&&t.push("i"),e.multiline&&t.push("m"),e.sticky&&t.push("y"),e.unicode&&t.push("u"),t.join("")}function cl(e){const t=e.length,n=e[0].length;for(let r of e)if(r.length!==n)throw new Error("Inconsistant number of columns in matrix");return{numRows:t,numCols:n}}function dL(e,{index:t,arr:n,dir:r}){const i=Cf(e);switch(r){case"rows":return Qo(i,t,n);case"cols":return i.map((o,l)=>Qo(o,t,n[l]))}}function pL(e,{index:t,dir:n}){const r=Cf(e);switch(n){case"rows":return Eh(r,t);case"cols":return r.map((i,o)=>Eh(i,t))}}const Dn=".";function Og(e){const t=new Map;return hL(e).forEach(({itemRows:n,itemCols:r},i)=>{if(i===Dn)return;const o=M1(n),l=M1(r);t.set(i,{colStart:l.minVal,rowStart:o.minVal,colSpan:l.span+1,rowSpan:o.span+1,isValid:o.isSequence&&l.isSequence})}),t}function hL(e){var i;const t=new Map,{numRows:n,numCols:r}=cl(e);for(let o=0;o{if("area"in n.uiArguments&&n.uiArguments.area!==void 0){const r=n.uiArguments.area;t.push(r)}}),t}function gL(e,r){var i=r,{name:t}=i,n=ye(i,["name"]);const{rowStart:o,colStart:l}=n,a="rowEnd"in n?n.rowEnd:o+n.rowSpan-1,s="colEnd"in n?n.colEnd:l+n.colSpan-1,u=Cf(e.areas);for(let c=0;c=o-1&&c=l-1&&d{const o=r==="rows"?"cols":"rows",l=yL(i);if(t>l[r].length)throw new Error(`Can't add a tract after index ${t}. Not enought tracts.`);if(t<0)throw new Error("Cant add a tract at a negative index");const a=Og(i.areas);let s=Ua(Dn,l[o].length);a.forEach((u,c)=>{const{itemStart:f,itemEnd:d}=xh(u,r);if(f<=t&&d>t){const h=xh(u,o);for(let m=h.itemStart-1;m{for(let i of n)vL(r,i)})}function wL(e,t){return px(e,t)}function hx(e,t,n=!1){const{dir:r,index:i}=t,o=t.index-1;if(!n){const s=mx(e.areas,t);if(s.length!==0)throw new Error(`Can't remove ${r==="rows"?"row":"col"} ${i} as items ${L5(s)} are entirely contained within it.`)}const l={areas:pL(e.areas,{index:o,dir:r})},a=r==="rows"?"row_sizes":"col_sizes";return bL(e[a])&&(l[a]=Eh(e[a],o)),P(P({},e),l)}function mx(e,t){const n=Og(e);return EL(n,t)}function bL(e){return Array.isArray(e)&&e.length>1}function EL(e,{index:t,dir:n}){let r=[];return e.forEach((i,o)=>{const l=xh(i,n);if(!l)return;const{itemStart:a,itemEnd:s}=l;a===t&&a===s&&r.push(o)}),r}function SL(e,t,n){return wi(e,({areas:r})=>{const{numRows:i,numCols:o}=cl(r);for(let l=0;l{const o=n==="rows"?"row_sizes":"col_sizes";i[o][t-1]=r})}function xL(e,{item_a:t,item_b:n}){return t===n?e:wi(e,r=>{const{n_rows:i,n_cols:o}=CL(r.areas);let l=!1,a=!1;for(let s=0;s{f!==Dn&&l.add(f)});const c=u.length;if(i===-1&&(i=c),i!==c)throw new Error("Invalid layout definition. Not consistant number of columns in every row")}if(!n)n=Ua("1fr",i);else if(n.length!==i)throw new Error("Column sizes vector doesn't match layout definition.");if(!t)t=Ua("1fr",o);else if(t.length!==o)throw new Error("Row sizes vector doesn't match layout definition.");return{uniqueAreas:[...l],areas:a,col_sizes:n,row_sizes:t,gap_size:r!=null?r:"12px"}}function kL(e){const t=[];for(let n of e)t.push(n.trim().split(/\s+/));return t}function gx(n){var r=n,{areas:e}=r,t=ye(r,["areas"]);return P({layout:IL(e)},t)}function TL(n){var r=n,{layout:e}=r,t=ye(r,["layout"]);return P({areas:kL(e)},t)}function IL(e){const{numCols:t}=cl(e),n=[],r=Ua(-1,t);for(let i of e)for(let o=0;oo+l.padEnd(r[a]," ")+(a1,c=r>1,f=[];return(V1({colRange:s,rowIndex:e-1,layoutAreas:i})||u)&&f.push("up"),(V1({colRange:s,rowIndex:o+1,layoutAreas:i})||u)&&f.push("down"),($1({rowRange:a,colIndex:n-1,layoutAreas:i})||c)&&f.push("left"),($1({rowRange:a,colIndex:l+1,layoutAreas:i})||c)&&f.push("right"),f}function V1({colRange:e,rowIndex:t,layoutAreas:n}){return t<1||t>n.length?!1:e.every(r=>n[t-1][r-1]===Dn)}function $1({rowRange:e,colIndex:t,layoutAreas:n}){return t<1||t>n[0].length?!1:e.every(r=>n[r-1][t-1]===Dn)}const UL="_marker_mumaw_1",zL="_dragger_mumaw_32",jL="_move_mumaw_52",H1={marker:UL,dragger:zL,move:jL};function bx(e,t,n){const r=t=r&&e<=i}function za({rowStart:e,rowSpan:t,colStart:n,colSpan:r}){return{rowStart:e,rowEnd:e+t-1,colStart:n,colEnd:n+r-1}}function WL(e,t){return typeof e=="undefined"&&typeof t=="undefined"?!0:typeof e=="undefined"||typeof t=="undefined"?!1:("colSpan"in e&&(e=za(e)),"colSpan"in t&&(t=za(t)),e.colStart===t.colStart&&e.colEnd===t.colEnd&&e.rowStart===t.rowStart&&e.rowEnd===t.rowEnd)}function YL({row:e,col:t}){return`row${e}-col${t}`}function VL({dragDirection:e,gridLocation:t,layoutAreas:n}){const{rowStart:r,rowEnd:i,colStart:o,colEnd:l}=za(t),a=n.length,s=n[0].length;let u,c,f;switch(e){case"up":if(r===1)return{shrinkExtent:i,growExtent:1};u=r-1,c=1,f=i;break;case"left":if(o===1)return{shrinkExtent:l,growExtent:1};u=o-1,c=1,f=l;break;case"down":if(i===a)return{shrinkExtent:r,growExtent:a};u=i+1,c=a,f=r;break;case"right":if(l===s)return{shrinkExtent:o,growExtent:s};u=l+1,c=s,f=o;break}const d=e==="up"||e==="down",p=e==="left"||e==="up",[h,m]=d?[o,l]:[r,i],E=(w,S)=>{const[_,b]=d?[w,S]:[S,w];return n[_-1][b-1]!==Dn},g=tc(h,m),y=tc(u,c);for(let w of y)for(let S of g)if(E(w,S))return{shrinkExtent:f,growExtent:w+(p?1:-1)};return{shrinkExtent:f,growExtent:c}}function $L({dir:e,gridContainerStyles:t,gridContainerBoundingRect:n}){const r=Ch(t.getPropertyValue("gap")),o=Ch(t.getPropertyValue("padding"))+r/2,l=n[e==="rows"?"y":"x"],a=HL(t,e),s=a.length,u=[];for(let c=0;cbx(o,s,u));if(l===void 0)return;const a=JL[n];return i[a]=l.index,i}const JL={right:"colEnd",left:"colStart",up:"rowStart",down:"rowEnd"};function QL({overlayRef:e,gridLocation:t,layoutAreas:n,onDragEnd:r}){const i=za(t),o=k.useRef(null),l=k.useCallback(u=>{const c=e.current,f=o.current;if(!c||!f)throw new Error("For some reason we are observing dragging when we shouldn't");const d=GL({mousePos:u,dragState:f});d&&J1(c,d)},[e]),a=k.useCallback(()=>{const u=e.current,c=o.current;if(!u||!c)return;const f=c.gridItemExtent;WL(f,i)||r(f),u.classList.remove("dragging"),document.removeEventListener("mousemove",l),G1("on")},[i,l,r,e]);return k.useCallback(u=>{const c=e.current;if(!c)return;const f=c.parentElement;if(!f)return;const d=getComputedStyle(c.parentElement),p=f.getBoundingClientRect(),h=u==="down"||u==="up"?"rows":"cols",{shrinkExtent:m,growExtent:E}=VL({dragDirection:u,gridLocation:t,layoutAreas:n});o.current={dragHandle:u,gridItemExtent:za(t),tractExtents:$L({dir:h,gridContainerStyles:d,gridContainerBoundingRect:p}).filter(({index:g})=>bx(g,m,E))},J1(e.current,o.current.gridItemExtent),c.classList.add("dragging"),document.addEventListener("mousemove",l),document.addEventListener("mouseup",a,{once:!0}),G1("off")},[a,t,n,l,e])}function G1(e){var n;const t=(n=document.querySelector("body"))==null?void 0:n.classList;e==="off"?t==null||t.add("disable-text-selection"):t==null||t.remove("disable-text-selection")}function J1(e,{rowStart:t,rowEnd:n,colStart:r,colEnd:i}){e.style.setProperty("--drag-grid-row-start",String(t)),e.style.setProperty("--drag-grid-row-end",String(n+1)),e.style.setProperty("--drag-grid-column-start",String(r)),e.style.setProperty("--drag-grid-column-end",String(i+1))}function KL({area:e,gridLocation:t,areas:n,onNewPos:r}){if(typeof t=="undefined")throw new Error(`Item in ${e} is not in the location map`);const i=k.useRef(null),o=QL({overlayRef:i,gridLocation:t,layoutAreas:n,onDragEnd:r}),l=k.useMemo(()=>BL({gridLocation:t,layoutAreas:n}),[t,n]),a=k.useMemo(()=>{let s=[];for(let u of l)s.push(v("div",{className:Ke(H1.dragger,u),title:`resize ${e} ${u}`,onMouseDown:c=>{Q1(c),o(u)},children:qL[u]},u));return s},[e,l,o]);return k.useEffect(()=>{var s;(s=i.current)==null||s.style.setProperty("--grid-area",e)},[e]),v("div",{ref:i,onClick:Q1,className:H1.marker+" grid-area-overlay",children:a})}function Q1(e){e.preventDefault(),e.stopPropagation()}const qL={up:v(Y1,{}),down:v(Y1,{}),left:v(W1,{}),right:v(W1,{})},XL="_ResizableGrid_i4cq9_1",ZL={ResizableGrid:XL,"size-detection-cell":"_size-detection-cell_i4cq9_1"},e6=/(^[\d|.]+)\s*(px|%|rem|fr)|(^auto$)/;function t6(e){return e6.test(e)}const n6=/(px|%|rem|fr|auto)/g,r6=/^[\d|.]*/g;function nc(e){var i,o;const t=((i=e.match(n6))==null?void 0:i[0])||"px",n=(o=e.match(r6))==null?void 0:o[0],r=n?Number(n):null;if(t==="auto"){if(r!==null)throw new Error("Cant have a count value with auto units.");return{count:null,unit:"auto"}}if(r===null)throw new Error("You must have a count for non-auto units.");if(t==="fr"&&r<0)throw new Error(`Can't have a negative count with ${t} units.`);return{count:r,unit:t}}function Tl(e){return e.unit==="auto"?"auto":`${e.count}${e.unit}`}const i6="_infoIcon_15ri6_1",o6="_container_15ri6_10",l6="_header_15ri6_15",a6="_info_15ri6_1",s6="_unit_15ri6_27",u6="_description_15ri6_31",fo={infoIcon:i6,container:o6,header:l6,info:a6,unit:s6,description:u6},c6=({units:e})=>U(yf,{placement:"right",children:[v(vf,{className:fo.infoIcon,children:v(nL,{})}),v(lg,{children:v(f6,{units:e})})]});function f6({units:e}){return U("div",{className:fo.container,children:[v("div",{className:fo.header,children:"CSS size options"}),v("div",{className:fo.info,children:e.map(t=>U(k.Fragment,{children:[v("div",{className:fo.unit,children:t}),v("div",{className:fo.description,children:d6[t]})]},t))})]})}const d6={"%":"Relative to percentage of container size",auto:"Let the content decide size",fr:"Relative unit. E.g. 2fr is twice the size of 1fr",px:"Screen pixels",rem:"Pixel size of app font. Typically 16 pixels."},p6="_wrapper_3jy8f_1",h6="_unitSelector_3jy8f_9",Ex={wrapper:p6,unitSelector:h6};function Sx({unit:e,availableUnits:t,onChange:n}){return U(Me,{children:[v("select",{className:Ex.unitSelector,"aria-label":"value-unit",name:"value-unit",value:e,onChange:r=>n(r.target.value),children:t.map(r=>v("option",{value:r,children:r},r))}),v(c6,{units:t})]})}function _r(e){return e+"-label"}function m6({id:e,label:t,value:n,onChange:r}){return v(_f,{id:e,"aria-label":t,"aria-labelledby":_r(e),value:n,onChange:r})}function _f(a){var s=a,{value:e,onChange:t,min:n=0,max:r,step:i,disabled:o}=s,l=ye(s,["value","onChange","min","max","step","disabled"]);const{displayedVal:u,handleChange:c,handleBlur:f,incrementUp:d,incrementDown:p}=g6({min:n,max:r,step:i,value:e,onChange:t});return U("div",{className:"NumberInput SUE-Input","aria-disabled":o,onBlur:f,children:[v("input",W(P({},l),{className:"input-field",type:"number",placeholder:"0",value:u,min:n,max:r,step:i,disabled:o,onChange:c})),U("div",{className:"incrementer-buttons",children:[v("button",{className:"up-button","aria-label":"Increment number up",onClick:d,type:"button",children:v(lL,{})}),v("button",{className:"down-button","aria-label":"Increment number down",onClick:p,type:"button",children:v(rL,{})})]})]})}function g6({min:e=-1/0,max:t=1/0,step:n=1,value:r,onChange:i}){const o=k.useCallback(p=>h=>{if(h.preventDefault(),typeof r!="number"||typeof n!="number")return;const m=r+(p==="up"?1:-1)*n;typeof e=="number"&&e>m||typeof t=="number"&&to("up"),[o]),a=k.useMemo(()=>o("down"),[o]),[s,u]=k.useState(r);k.useEffect(()=>u(r),[r]);const c=k.useCallback(p=>{const h=p.target.value;u(m=>Number(m)===Number(h)?m:h),i(Number(h))},[i]),f=k.useCallback(()=>{u(p=>Number(p).toString())},[]);return{incrementUp:l,incrementDown:a,handleChange:c,displayedVal:s===0||s===null?"":s,handleBlur:f}}function K1(e,t){const n=Math.abs(t-e)+1,r=ee+o*r)}function y6({areas:e,row_sizes:t,col_sizes:n,gap_size:r}){return{gridTemplateAreas:e.map(i=>`"${i.join(" ")}"`).join(` + `),gridTemplateRows:t.join(" "),gridTemplateColumns:n.join(" "),"--grid-gap":r}}function q1(e){return e.split(" ")}function v6(e){const t=e.match(/"([.\w\s]+)"/g);if(!t)throw new Error("Can't parse area definition");return t.map(n=>n.replaceAll('"',"").split(" "))}function w6(e){const t=q1(e.style.gridTemplateRows),n=q1(e.style.gridTemplateColumns),r=v6(e.style.gridTemplateAreas),i=e.style.getPropertyValue("--grid-gap");return{row_sizes:t,col_sizes:n,areas:r,gap_size:i}}function Ax({container:e,dir:t}){return getComputedStyle(e).getPropertyValue(t==="rows"?"grid-template-rows":"grid-template-columns").split(" ").map(n=>Number(n.replaceAll("px","")))}const _h=e=>Number(e.toFixed(4)),rc=40,b6=.15,xx=e=>t=>Math.round(t/e)*e,E6=5,kf=xx(E6),S6=.01,Cx=xx(S6);function A6(e,{pixelToFrRatio:t,beforeInfo:n,afterInfo:r}){const i=Cx(e*t),o=n.count+i,l=r.count-i;return(i<0?o/l:l/o)=o.length?null:o[u];if(c==="auto"||f==="auto"){const h=getComputedStyle(r).getPropertyValue(t==="rows"?"grid-template-rows":"grid-template-columns").split(" ");c==="auto"&&(c=h[s],o[s]=c),f==="auto"&&(f=h[u],o[u]=f),r.style[i]=h.join(" ")}const d=k6(c,f);if(d.type==="unsupported")throw new Error("Unsupported drag type");r.classList.add("been-dragged");const p=W(P({dir:t,mouseStart:kx(e,t),originalSizes:o,currentSizes:[...o],beforeIndex:s,afterIndex:u},d),{pixelToFrRatio:1});return d.type==="both-relative"&&(p.pixelToFrRatio=T6({container:r,index:n,dir:t,frCounts:{before:d.beforeInfo.count,after:d.afterInfo.count}})),p}function O6({mousePosition:e,drag:t,container:n}){const i=kx(e,t.dir)-t.mouseStart,o=[...t.originalSizes];let l;switch(t.type){case"before-pixel":l=C6(i,t);break;case"after-pixel":l=_6(i,t);break;case"both-pixel":l=x6(i,t);break;case"both-relative":l=A6(i,t);break}l!=="no-change"&&(l.beforeSize&&(o[t.beforeIndex]=l.beforeSize),l.afterSize&&(o[t.afterIndex]=l.afterSize),t.currentSizes=o,t.dir==="cols"?n.style.gridTemplateColumns=o.join(" "):n.style.gridTemplateRows=o.join(" "))}function P6(e){return e.match(/[0-9|.]+px/)!==null}function _x(e){return e.match(/[0-9|.]+fr/)!==null}function kh(e){if(_x(e))return{type:"fr",count:Number(e.replace("fr","")),value:e};if(P6(e))return{type:"pixel",count:Number(e.replace("px","")),value:e};throw new Error("Unknown tract sizing unit: "+e)}function kx(e,t){return t==="rows"?e.clientY:e.clientX}function N6(e){return e.some(t=>_x(t))}function R6(e){return e.some(t=>t==="auto")}const D6="_tractInfoDisplay_cvtwo_1",L6="_sizeWidget_cvtwo_61",F6="_cssSizeInput_cvtwo_80",M6="_hoverListener_cvtwo_94",B6="_buttons_cvtwo_114",U6="_tractAddButton_cvtwo_127",z6="_deleteButton_cvtwo_128",Yr={tractInfoDisplay:D6,sizeWidget:L6,cssSizeInput:F6,hoverListener:M6,buttons:B6,tractAddButton:U6,deleteButton:z6},j6=["fr","px"];function W6({dir:e,index:t,size:n,deletionConflicts:r,addTract:i,deleteTract:o,changeUnit:l,changeCount:a}){const{unit:s,count:u}=nc(n);return U("div",{className:Yr.tractInfoDisplay,"data-drag-dir":e,style:{"--tract-index":t+1},children:[v("div",{className:Yr.hoverListener}),U("div",{className:Yr.sizeWidget,onClick:$6,children:[U("div",{className:Yr.buttons,children:[v(X1,{dir:e,onClick:()=>i("before")}),v(Y6,{dir:e,onClick:o,deletionConflicts:r}),v(X1,{dir:e,onClick:()=>i("after")})]}),U("div",{className:Yr.cssSizeInput,children:[v(_f,{name:"value-count","aria-label":"value-count",value:u,onChange:a,min:0}),v(Sx,{unit:s,availableUnits:j6,onChange:c=>l(c)})]})]})]})}function Y6({dir:e,onClick:t,deletionConflicts:n}){const r=e==="rows"?"right":"down",i=n.length===0,o=i?"Delete tract":`Can't delete because the items ${n.join(",")} are entirely contained in tract`;return v(Ir,{className:Yr.deleteButton,onClick:Tx(i?t:void 0),"data-enabled":i,text:o,size:"medium",position:r,children:v(xf,{})})}function X1({dir:e,onClick:t}){const n=e==="rows"?"right":"down",r=e==="rows"?"Add row":"Add column";return v(Ir,{className:Yr.tractAddButton,onClick:Tx(t),position:n,text:r,children:v(Ng,{})})}function Tx(e){return function(t){t.currentTarget.blur(),e==null||e()}}function V6(e,t){let n=0,r=0;for(let i=0;imx(r,{dir:c,index:f+1}),[r]),l=c=>f=>{const{unit:d}=nc(t[c]);i({type:"RESIZE",index:c,dir:e,size:`${f}${d}`})},a=c=>f=>{const d=n(),{count:p}=nc(t[c]);let h=1;f==="px"&&(h=kf(d[c]));const m=V6(d,t);f==="fr"&&m!=="NO_FR_UNITS"&&(h=_h(Cx(p?p*m:1))),i({type:"RESIZE",index:c,dir:e,size:`${h}${f}`})},s=c=>f=>i({type:"ADD",dir:e,index:f==="before"?c:c+1}),u=c=>()=>{i({type:"DELETE",dir:e,index:c+1})};return v(Me,{children:t.map((c,f)=>v(W6,{index:f,dir:e,addTract:s(f),deleteTract:u(f),changeUnit:a(f),changeCount:l(f),size:c,deletionConflicts:o({dir:e,index:f})},e+f))})}function $6(e){e.stopPropagation()}function e0(e,t){e.querySelectorAll(`.${Yr.tractInfoDisplay}`).forEach(n=>{n.style.display=t==="hide"?"none":"block"})}const H6="_columnSizer_9b32k_1",G6="_rowSizer_9b32k_2",t0={columnSizer:H6,rowSizer:G6};function n0({dir:e,index:t,onStartDrag:n}){return v("div",{className:e==="rows"?t0.rowSizer:t0.columnSizer,title:`resize ${e==="rows"?"rows":"columns"} ${t-1} and ${t}`,onMouseDown:r=>n({e:r,dir:e,index:t}),style:{[e==="rows"?"gridRow":"gridColumn"]:t}})}function J6(e,t="Ref is not yet initialized"){if(e.current===null)throw new Error(t);return e.current}function Q6({containerRef:e,onDragEnd:t}){return k.useCallback(({e:r,dir:i,index:o})=>{const l=J6(e,"How are you dragging on an element without a container?");r.preventDefault();const a=I6({mousePosition:r,dir:i,index:o,container:l}),{beforeIndex:s,afterIndex:u}=a,c=r0(l,{dir:i,index:s,size:a.currentSizes[s]}),f=r0(l,{dir:i,index:u,size:a.currentSizes[u]});K6(l,a.dir,{move:d=>{O6({mousePosition:d,drag:a,container:l}),c.update(a.currentSizes[s]),f.update(a.currentSizes[u])},end:()=>{c.remove(),f.remove(),t&&t(w6(l))}})},[e,t])}function r0(e,{dir:t,index:n,size:r}){const i=document.createElement("div"),o=t==="rows"?{gridRow:String(n+1),gridColumn:"1",flexDirection:"row"}:{gridColumn:String(n+1),gridRow:"1",flexDirection:"column"};Object.assign(i.style,o,{zIndex:"1",display:"flex",alignItems:"center"});const l=document.createElement("div");return Object.assign(l.style,{padding:"3px 7px",borderRadius:"var(--corner-radius)",backgroundColor:"var(--light-grey, pink)"}),l.innerHTML=r,i.appendChild(l),e.appendChild(i),e0(e,"hide"),{remove:()=>{i.remove(),e0(e,"show")},update:a=>{l.innerHTML=a}}}function K6(e,t,n){const r=document.createElement("div");Object.assign(r.style,{position:"fixed",inset:"0px",zIndex:"3",cursor:t==="rows"?"ns-resize":"ew-resize"}),e.appendChild(r);const i=()=>{o(),n.end()};r.addEventListener("mousemove",n.move),r.addEventListener("mouseup",i),r.addEventListener("mouseleave",i);function o(){r.removeEventListener("mousemove",n.move),r.removeEventListener("mouseup",i),r.removeEventListener("mouseleave",i),r.remove()}}function q6({areas:e,col_sizes:t,row_sizes:n,gap_size:r}){return{areas:e,gap_size:r,col_sizes:aa(t),row_sizes:aa(n)}}const X6="1fr";function Z6(i){var o=i,{className:e,children:t,onNewLayout:n}=o,r=ye(o,["className","children","onNewLayout"]);r=q6(r);let{row_sizes:l,col_sizes:a}=r;const s=O.useRef(null),u=y6(r),c=a.length<2?[]:K1(2,a.length),f=l.length<2?[]:K1(2,l.length),d=Q6({containerRef:s,onDragEnd:n}),p=[ZL.ResizableGrid];e&&p.push(e);const h=O.useCallback(g=>{switch(g.type){case"ADD":return dx(r,{afterIndex:g.index,dir:g.dir,size:X6});case"RESIZE":return eF(r,g);case"DELETE":return hx(r,g)}},[r]),m=O.useCallback(g=>n(h(g)),[h,n]),E=O.useCallback(g=>{const y=s.current;return y?Ax({container:y,dir:g}):[]},[]);return U("div",{className:Ke(...p),ref:s,style:u,children:[c.map(g=>v(n0,{dir:"cols",index:g,onStartDrag:d},"cols"+g)),f.map(g=>v(n0,{dir:"rows",index:g,onStartDrag:d},"rows"+g)),t,v(Z1,{dir:"cols",sizes:a,getActualSizes:()=>E("cols"),areas:r.areas,onUpdate:m}),v(Z1,{dir:"rows",sizes:l,getActualSizes:()=>E("rows"),areas:r.areas,onUpdate:m})]})}function eF(e,{dir:t,index:n,size:r}){return wi(e,i=>{i[t==="rows"?"row_sizes":"col_sizes"][n]=r})}function tF({gridRow:e,gridColumn:t,onDroppedNode:n}){const r=xg({getCanAcceptDrop:i=>!0,onDrop:i=>{n(W(P({},i),{pos:{rowStart:e,rowEnd:e,colStart:t,colEnd:t}}))}});return v("div",{className:"grid-cell",ref:r,"data-cell-pos":e+"-"+t,style:{gridRow:e,gridColumn:t,margin:"2px"}})}var ic=Symbol("@ts-pattern/matcher"),i0="@ts-pattern/anonymous-select-key",o0=function(e){return Boolean(e&&typeof e=="object")},Md=function(e){return e&&!!e[ic]},nF=function e(t,n,r){if(o0(t)){if(Md(t)){var i=t[ic]().match(n),o=i.matched,l=i.selections;return o&&l&&Object.keys(l).forEach(function(s){return r(s,l[s])}),o}if(!o0(n))return!1;if(Array.isArray(t))return!!Array.isArray(n)&&t.length===n.length&&t.every(function(s,u){return e(s,n[u],r)});if(t instanceof Map)return n instanceof Map&&Array.from(t.keys()).every(function(s){return e(t.get(s),n.get(s),r)});if(t instanceof Set){if(!(n instanceof Set))return!1;if(t.size===0)return n.size===0;if(t.size===1){var a=Array.from(t.values())[0];return Md(a)?Array.from(n.values()).every(function(s){return e(a,s,r)}):n.has(a)}return Array.from(t.values()).every(function(s){return n.has(s)})}return Object.keys(t).every(function(s){var u,c=t[s];return(s in n||Md(u=c)&&u[ic]().matcherType==="optional")&&e(c,n[s],r)})}return Object.is(n,t)};function eo(e){var t;return(t={})[ic]=function(){return{match:function(n){return{matched:Boolean(e(n))}}}},t}eo(function(e){return!0});eo(function(e){return typeof e=="string"});eo(function(e){return typeof e=="number"});eo(function(e){return typeof e=="boolean"});eo(function(e){return typeof e=="bigint"});eo(function(e){return typeof e=="symbol"});eo(function(e){return e==null});var rF=function(e){return new iF(e,[])},iF=function(){function e(n,r){this.value=void 0,this.cases=void 0,this.value=n,this.cases=r}var t=e.prototype;return t.with=function(){var n=[].slice.call(arguments),r=n[n.length-1],i=[n[0]],o=[];return n.length===3&&typeof n[1]=="function"?(i.push(n[0]),o.push(n[1])):n.length>2&&i.push.apply(i,n.slice(1,n.length-1)),new e(this.value,this.cases.concat([{match:function(l){var a={},s=Boolean(i.some(function(u){return nF(u,l,function(c,f){a[c]=f})})&&o.every(function(u){return u(l)}));return{matched:s,value:s&&Object.keys(a).length?i0 in a?a[i0]:a:l}},handler:r}]))},t.when=function(n,r){return new e(this.value,this.cases.concat([{match:function(i){return{matched:Boolean(n(i)),value:i}},handler:r}]))},t.otherwise=function(n){return new e(this.value,this.cases.concat([{match:function(r){return{matched:!0,value:r}},handler:n}])).run()},t.exhaustive=function(){return this.run()},t.run=function(){for(var n=this.value,r=void 0,i=0;ir(l.target.checked);return U(Me,{children:[v("input",{className:Ke("SUE-Input",l0.checkboxInput),id:i,"aria-labelledby":_r(e),"aria-label":t,type:"checkbox",checked:n,onChange:o}),v("label",{className:l0.checkboxLabel,htmlFor:i,"data-value":n?"TRUE":"FALSE",children:"Toggle"})]})}const sF={fr:1,px:10,rem:1,"%":100};function uF({id:e,label:t,value:n,onChange:r,units:i=["px","rem","%"]}){const{count:o,unit:l}=nc(n),a=k.useCallback(c=>{if(c===void 0){if(l!=="auto")throw new Error("Undefined count with auto units");r(Tl({unit:l,count:null}));return}if(l==="auto"){console.error("How did you change the count of an auto unit?");return}r(Tl({unit:l,count:c}))},[r,l]),s=k.useCallback(c=>{if(c==="auto"){r(Tl({unit:c,count:null}));return}if(l==="auto"){r(Tl({unit:c,count:sF[c]}));return}r(Tl({unit:c,count:o}))},[o,r,l]);i.includes(l)||i.push(l);const u=o===null;return U("div",{className:Ke("SUE-Input",Ex.wrapper),"aria-label":t,"aria-labelledby":_r(e),children:[v(_f,{name:"value-count","aria-label":"value-count",value:o,disabled:u,onChange:a,min:0}),v(Sx,{unit:l,availableUnits:i,onChange:s})]})}function cF(e){return Tt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 9H4v2h16V9zM4 15h16v-2H4v2z"}}]})(e)}var Th={},fF={get exports(){return Th},set exports(e){Th=e}};/**! * Sortable 1.15.0 * @author RubaXa * @author owenm * @license MIT - */function i0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function tr(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function hF(e,t){if(e==null)return{};var n=pF(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function mF(e){return gF(e)||yF(e)||vF(e)||wF()}function gF(e){if(Array.isArray(e))return Ih(e)}function yF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vF(e,t){if(e){if(typeof e=="string")return Ih(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ih(e,t)}}function Ih(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function EF(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function _n(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&ic(e,t):ic(e,t))||r&&e===n)return e;if(e===n)break}while(e=EF(e))}return null}var l0=/\s+/g;function Ue(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(l0," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(l0," ")}}function Z(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function ji(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Z(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function Nx(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i=o:l=i<=o,!l)return r;if(r===qn())break;r=Jr(r,!1)}return!1}function Ko(e,t,n,r){for(var i=0,o=0,l=e.children;o2&&arguments[2]!==void 0?arguments[2]:{},i=r.evt,o=hF(r,TF);os.pluginEvent.bind(re)(t,n,tr({dragEl:G,parentEl:Ve,ghostEl:ae,rootEl:Re,nextEl:Oi,lastDownEl:su,cloneEl:Be,cloneHidden:Vr,dragStarted:$l,putSortable:ut,activeSortable:re.active,originalEvent:i,oldIndex:_o,oldDraggableIndex:ca,newIndex:Yt,newDraggableIndex:Br,hideGhostForTarget:Bx,unhideGhostForTarget:Ux,cloneNowHidden:function(){Vr=!0},cloneNowShown:function(){Vr=!1},dispatchSortableEvent:function(a){St({sortable:n,name:a,originalEvent:i})}},o))};function St(e){Vl(tr({putSortable:ut,cloneEl:Be,targetEl:G,rootEl:Re,oldIndex:_o,oldDraggableIndex:ca,newIndex:Yt,newDraggableIndex:Br},e))}var G,Ve,ae,Re,Oi,su,Be,Vr,_o,Yt,ca,Br,Ls,ut,po=!1,oc=!1,lc=[],Ai,Sn,jd,Wd,c0,f0,$l,so,fa,da=!1,Fs=!1,uu,gt,Yd=[],Oh=!1,ac=[],Tf=typeof document!="undefined",Ms=Ix,d0=is||Or?"cssFloat":"float",IF=Tf&&!Ox&&!Ix&&"draggable"in document.createElement("div"),Lx=function(){if(Tf){if(Or)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Fx=function(t,n){var r=Z(t),i=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=Ko(t,0,n),l=Ko(t,1,n),a=o&&Z(o),s=l&&Z(l),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Fe(o).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Fe(l).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&a.float!=="none"){var f=a.float==="left"?"left":"right";return l&&(s.clear==="both"||s.clear===f)?"vertical":"horizontal"}return o&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||u>=i&&r[d0]==="none"||l&&r[d0]==="none"&&u+c>i)?"vertical":"horizontal"},OF=function(t,n,r){var i=r?t.left:t.top,o=r?t.right:t.bottom,l=r?t.width:t.height,a=r?n.left:n.top,s=r?n.right:n.bottom,u=r?n.width:n.height;return i===a||o===s||i+l/2===a+u/2},PF=function(t,n){var r;return lc.some(function(i){var o=i[bt].options.emptyInsertThreshold;if(!(!o||Og(i))){var l=Fe(i),a=t>=l.left-o&&t<=l.right+o,s=n>=l.top-o&&n<=l.bottom+o;if(a&&s)return r=i}}),r},Mx=function(t){function n(o,l){return function(a,s,u,c){var f=a.options.group.name&&s.options.group.name&&a.options.group.name===s.options.group.name;if(o==null&&(l||f))return!0;if(o==null||o===!1)return!1;if(l&&o==="clone")return o;if(typeof o=="function")return n(o(a,s,u,c),l)(a,s,u,c);var d=(l?a:s).options.group.name;return o===!0||typeof o=="string"&&o===d||o.join&&o.indexOf(d)>-1}}var r={},i=t.group;(!i||au(i)!="object")&&(i={name:i}),r.name=i.name,r.checkPull=n(i.pull,!0),r.checkPut=n(i.put),r.revertClone=i.revertClone,t.group=r},Bx=function(){!Lx&&ae&&Z(ae,"display","none")},Ux=function(){!Lx&&ae&&Z(ae,"display","")};Tf&&!Ox&&document.addEventListener("click",function(e){if(oc)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),oc=!1,!1},!0);var xi=function(t){if(G){t=t.touches?t.touches[0]:t;var n=PF(t.clientX,t.clientY);if(n){var r={};for(var i in t)t.hasOwnProperty(i)&&(r[i]=t[i]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[bt]._onDragOver(r)}}},NF=function(t){G&&G.parentNode[bt]._isOutsideThisEl(t.target)};function re(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=mn({},t),e[bt]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Fx(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(l,a){l.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:re.supportPointer!==!1&&"PointerEvent"in window&&!sa,emptyInsertThreshold:5};os.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);Mx(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:IF,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?pe(e,"pointerdown",this._onTapStart):(pe(e,"mousedown",this._onTapStart),pe(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(pe(e,"dragover",this),pe(e,"dragenter",this)),lc.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),mn(this,CF())}re.prototype={constructor:re,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(so=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,G):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,i=this.options,o=i.preventOnFilter,l=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(a||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=i.filter;if(zF(r),!G&&!(/mousedown|pointerdown/.test(l)&&t.button!==0||i.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&sa&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=_n(s,i.draggable,r,!1),!(s&&s.animated)&&su!==s)){if(_o=He(s),ca=He(s,i.draggable),typeof c=="function"){if(c.call(this,t,s,this)){St({sortable:n,rootEl:u,name:"filter",targetEl:s,toEl:r,fromEl:r}),Ot("filter",n,{evt:t}),o&&t.cancelable&&t.preventDefault();return}}else if(c&&(c=c.split(",").some(function(f){if(f=_n(u,f.trim(),r,!1),f)return St({sortable:n,rootEl:f,name:"filter",targetEl:s,fromEl:r,toEl:r}),Ot("filter",n,{evt:t}),!0}),c)){o&&t.cancelable&&t.preventDefault();return}i.handle&&!_n(u,i.handle,r,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,n,r){var i=this,o=i.el,l=i.options,a=o.ownerDocument,s;if(r&&!G&&r.parentNode===o){var u=Fe(r);if(Re=o,G=r,Ve=G.parentNode,Oi=G.nextSibling,su=r,Ls=l.group,re.dragged=G,Ai={target:G,clientX:(n||t).clientX,clientY:(n||t).clientY},c0=Ai.clientX-u.left,f0=Ai.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,G.style["will-change"]="all",s=function(){if(Ot("delayEnded",i,{evt:t}),re.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!o0&&i.nativeDraggable&&(G.draggable=!0),i._triggerDragStart(t,n),St({sortable:i,name:"choose",originalEvent:t}),Ue(G,l.chosenClass,!0)},l.ignore.split(",").forEach(function(c){Nx(G,c.trim(),Vd)}),pe(a,"dragover",xi),pe(a,"mousemove",xi),pe(a,"touchmove",xi),pe(a,"mouseup",i._onDrop),pe(a,"touchend",i._onDrop),pe(a,"touchcancel",i._onDrop),o0&&this.nativeDraggable&&(this.options.touchStartThreshold=4,G.draggable=!0),Ot("delayStart",this,{evt:t}),l.delay&&(!l.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(is||Or))){if(re.eventCanceled){this._onDrop();return}pe(a,"mouseup",i._disableDelayedDrag),pe(a,"touchend",i._disableDelayedDrag),pe(a,"touchcancel",i._disableDelayedDrag),pe(a,"mousemove",i._delayedDragTouchMoveHandler),pe(a,"touchmove",i._delayedDragTouchMoveHandler),l.supportPointer&&pe(a,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(s,l.delay)}else s()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){G&&Vd(G),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;ce(t,"mouseup",this._disableDelayedDrag),ce(t,"touchend",this._disableDelayedDrag),ce(t,"touchcancel",this._disableDelayedDrag),ce(t,"mousemove",this._delayedDragTouchMoveHandler),ce(t,"touchmove",this._delayedDragTouchMoveHandler),ce(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?pe(document,"pointermove",this._onTouchMove):n?pe(document,"touchmove",this._onTouchMove):pe(document,"mousemove",this._onTouchMove):(pe(G,"dragend",this),pe(Re,"dragstart",this._onDragStart));try{document.selection?cu(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch(r){}},_dragStarted:function(t,n){if(po=!1,Re&&G){Ot("dragStarted",this,{evt:n}),this.nativeDraggable&&pe(document,"dragover",NF);var r=this.options;!t&&Ue(G,r.dragClass,!1),Ue(G,r.ghostClass,!0),re.active=this,t&&this._appendGhost(),St({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Sn){this._lastX=Sn.clientX,this._lastY=Sn.clientY,Bx();for(var t=document.elementFromPoint(Sn.clientX,Sn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Sn.clientX,Sn.clientY),t!==n);)n=t;if(G.parentNode[bt]._isOutsideThisEl(t),n)do{if(n[bt]){var r=void 0;if(r=n[bt]._onDragOver({clientX:Sn.clientX,clientY:Sn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);Ux()}},_onTouchMove:function(t){if(Ai){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,o=t.touches?t.touches[0]:t,l=ae&&ji(ae,!0),a=ae&&l&&l.a,s=ae&&l&&l.d,u=Ms&>&&s0(gt),c=(o.clientX-Ai.clientX+i.x)/(a||1)+(u?u[0]-Yd[0]:0)/(a||1),f=(o.clientY-Ai.clientY+i.y)/(s||1)+(u?u[1]-Yd[1]:0)/(s||1);if(!re.active&&!po){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))=0&&(St({rootEl:Ve,name:"add",toEl:Ve,fromEl:Re,originalEvent:t}),St({sortable:this,name:"remove",toEl:Ve,originalEvent:t}),St({rootEl:Ve,name:"sort",toEl:Ve,fromEl:Re,originalEvent:t}),St({sortable:this,name:"sort",toEl:Ve,originalEvent:t})),ut&&ut.save()):Yt!==_o&&Yt>=0&&(St({sortable:this,name:"update",toEl:Ve,originalEvent:t}),St({sortable:this,name:"sort",toEl:Ve,originalEvent:t})),re.active&&((Yt==null||Yt===-1)&&(Yt=_o,Br=ca),St({sortable:this,name:"end",toEl:Ve,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){Ot("nulling",this),Re=G=Ve=ae=Oi=Be=su=Vr=Ai=Sn=$l=Yt=Br=_o=ca=so=fa=ut=Ls=re.dragged=re.ghost=re.clone=re.active=null,ac.forEach(function(t){t.checked=!0}),ac.length=jd=Wd=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":G&&(this._onDragOver(t),RF(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,i=0,o=r.length,l=this.options;ir.right+i||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+i}function MF(e,t,n,r,i,o,l,a){var s=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,f=r?n.bottom:n.right,d=!1;if(!l){if(a&&uuc+u*o/2:sf-uu)return-fa}else if(s>c+u*(1-i)/2&&sf-u*o/2)?s>c+u/2?1:-1:0}function BF(e){return He(G)1&&(le.forEach(function(a){o.addAnimationState({target:a,rect:Pt?Fe(a):l}),Ud(a),a.fromRect=l,r.removeAnimationState(a)}),Pt=!1,$F(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(n){var r=n.sortable,i=n.isOwner,o=n.insertion,l=n.activeSortable,a=n.parentEl,s=n.putSortable,u=this.options;if(o){if(i&&l._hideClone(),Ol=!1,u.animation&&le.length>1&&(Pt||!i&&!l.options.sort&&!s)){var c=Fe(ke,!1,!0,!0);le.forEach(function(d){d!==ke&&(u0(d,c),a.appendChild(d))}),Pt=!0}if(!i)if(Pt||zs(),le.length>1){var f=Us;l._showClone(r),l.options.animation&&!Us&&f&&Wt.forEach(function(d){l.addAnimationState({target:d,rect:Pl}),d.fromRect=Pl,d.thisAnimationDuration=null})}else l._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,i=n.isOwner,o=n.activeSortable;if(le.forEach(function(a){a.thisAnimationDuration=null}),o.options.animation&&!i&&o.multiDrag.isMultiDrag){Pl=mn({},r);var l=ji(ke,!0);Pl.top-=l.f,Pl.left-=l.e}},dragOverAnimationComplete:function(){Pt&&(Pt=!1,zs())},drop:function(n){var r=n.originalEvent,i=n.rootEl,o=n.parentEl,l=n.sortable,a=n.dispatchSortableEvent,s=n.oldIndex,u=n.putSortable,c=u||this.sortable;if(r){var f=this.options,d=o.children;if(!uo)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ue(ke,f.selectedClass,!~le.indexOf(ke)),~le.indexOf(ke))le.splice(le.indexOf(ke),1),Il=null,Vl({sortable:l,rootEl:i,name:"deselect",targetEl:ke,originalEvent:r});else{if(le.push(ke),Vl({sortable:l,rootEl:i,name:"select",targetEl:ke,originalEvent:r}),r.shiftKey&&Il&&l.el.contains(Il)){var p=He(Il),h=He(ke);if(~p&&~h&&p!==h){var m,E;for(h>p?(E=p,m=h):(E=h,m=p+1);E1){var g=Fe(ke),y=He(ke,":not(."+this.options.selectedClass+")");if(!Ol&&f.animation&&(ke.thisAnimationDuration=null),c.captureAnimationState(),!Ol&&(f.animation&&(ke.fromRect=g,le.forEach(function(S){if(S.thisAnimationDuration=null,S!==ke){var _=Pt?Fe(S):g;S.fromRect=_,c.addAnimationState({target:S,rect:_})}})),zs(),le.forEach(function(S){d[y]?o.insertBefore(S,d[y]):o.appendChild(S),y++}),s===He(ke))){var w=!1;le.forEach(function(S){if(S.sortableIndex!==He(S)){w=!0;return}}),w&&a("update")}le.forEach(function(S){Ud(S)}),c.animateAll()}An=c}(i===o||u&&u.lastPutMode!=="clone")&&Wt.forEach(function(S){S.parentNode&&S.parentNode.removeChild(S)})}},nullingGlobal:function(){this.isMultiDrag=uo=!1,Wt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),ce(document,"pointerup",this._deselectMultiDrag),ce(document,"mouseup",this._deselectMultiDrag),ce(document,"touchend",this._deselectMultiDrag),ce(document,"keydown",this._checkKeyDown),ce(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof uo!="undefined"&&uo)&&An===this.sortable&&!(n&&_n(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;le.length;){var r=le[0];Ue(r,this.options.selectedClass,!1),le.shift(),Vl({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r,originalEvent:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},mn(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[bt];!r||!r.options.multiDrag||~le.indexOf(n)||(An&&An!==r&&(An.multiDrag._deselectMultiDrag(),An=r),Ue(n,r.options.selectedClass,!0),le.push(n))},deselect:function(n){var r=n.parentNode[bt],i=le.indexOf(n);!r||!r.options.multiDrag||!~i||(Ue(n,r.options.selectedClass,!1),le.splice(i,1))}},eventProperties:function(){var n=this,r=[],i=[];return le.forEach(function(o){r.push({multiDragElement:o,index:o.sortableIndex});var l;Pt&&o!==ke?l=-1:Pt?l=He(o,":not(."+n.options.selectedClass+")"):l=He(o),i.push({multiDragElement:o,index:l})}),{items:mF(le),clones:[].concat(Wt),oldIndicies:r,newIndicies:i}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function $F(e,t){le.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function h0(e,t){Wt.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function zs(){le.forEach(function(e){e!==ke&&e.parentNode&&e.parentNode.removeChild(e)})}re.mount(new jF);re.mount(Rg,Ng);const HF=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:VF,Sortable:re,Swap:WF,default:re},Symbol.toStringTag,{value:"Module"})),GF=lw(HF);var Dh={},JF={get exports(){return Dh},set exports(e){Dh=e}};/*! + */function a0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function tr(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function hF(e,t){if(e==null)return{};var n=pF(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function mF(e){return gF(e)||yF(e)||vF(e)||wF()}function gF(e){if(Array.isArray(e))return Ih(e)}function yF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vF(e,t){if(e){if(typeof e=="string")return Ih(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ih(e,t)}}function Ih(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function EF(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function _n(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&oc(e,t):oc(e,t))||r&&e===n)return e;if(e===n)break}while(e=EF(e))}return null}var u0=/\s+/g;function Ue(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(u0," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(u0," ")}}function Z(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function ji(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Z(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function Nx(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i=o:l=i<=o,!l)return r;if(r===qn())break;r=Jr(r,!1)}return!1}function Ko(e,t,n,r){for(var i=0,o=0,l=e.children;o2&&arguments[2]!==void 0?arguments[2]:{},i=r.evt,o=hF(r,TF);ls.pluginEvent.bind(re)(t,n,tr({dragEl:G,parentEl:Ve,ghostEl:ae,rootEl:Ne,nextEl:Oi,lastDownEl:uu,cloneEl:Be,cloneHidden:Vr,dragStarted:$l,putSortable:ut,activeSortable:re.active,originalEvent:i,oldIndex:_o,oldDraggableIndex:ca,newIndex:Yt,newDraggableIndex:Br,hideGhostForTarget:Bx,unhideGhostForTarget:Ux,cloneNowHidden:function(){Vr=!0},cloneNowShown:function(){Vr=!1},dispatchSortableEvent:function(a){St({sortable:n,name:a,originalEvent:i})}},o))};function St(e){Vl(tr({putSortable:ut,cloneEl:Be,targetEl:G,rootEl:Ne,oldIndex:_o,oldDraggableIndex:ca,newIndex:Yt,newDraggableIndex:Br},e))}var G,Ve,ae,Ne,Oi,uu,Be,Vr,_o,Yt,ca,Br,Fs,ut,po=!1,lc=!1,ac=[],Ai,Sn,jd,Wd,p0,h0,$l,so,fa,da=!1,Ms=!1,cu,gt,Yd=[],Oh=!1,sc=[],Tf=typeof document!="undefined",Bs=Ix,m0=os||Or?"cssFloat":"float",IF=Tf&&!Ox&&!Ix&&"draggable"in document.createElement("div"),Lx=function(){if(Tf){if(Or)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Fx=function(t,n){var r=Z(t),i=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=Ko(t,0,n),l=Ko(t,1,n),a=o&&Z(o),s=l&&Z(l),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Le(o).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Le(l).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&a.float!=="none"){var f=a.float==="left"?"left":"right";return l&&(s.clear==="both"||s.clear===f)?"vertical":"horizontal"}return o&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||u>=i&&r[m0]==="none"||l&&r[m0]==="none"&&u+c>i)?"vertical":"horizontal"},OF=function(t,n,r){var i=r?t.left:t.top,o=r?t.right:t.bottom,l=r?t.width:t.height,a=r?n.left:n.top,s=r?n.right:n.bottom,u=r?n.width:n.height;return i===a||o===s||i+l/2===a+u/2},PF=function(t,n){var r;return ac.some(function(i){var o=i[bt].options.emptyInsertThreshold;if(!(!o||Rg(i))){var l=Le(i),a=t>=l.left-o&&t<=l.right+o,s=n>=l.top-o&&n<=l.bottom+o;if(a&&s)return r=i}}),r},Mx=function(t){function n(o,l){return function(a,s,u,c){var f=a.options.group.name&&s.options.group.name&&a.options.group.name===s.options.group.name;if(o==null&&(l||f))return!0;if(o==null||o===!1)return!1;if(l&&o==="clone")return o;if(typeof o=="function")return n(o(a,s,u,c),l)(a,s,u,c);var d=(l?a:s).options.group.name;return o===!0||typeof o=="string"&&o===d||o.join&&o.indexOf(d)>-1}}var r={},i=t.group;(!i||su(i)!="object")&&(i={name:i}),r.name=i.name,r.checkPull=n(i.pull,!0),r.checkPut=n(i.put),r.revertClone=i.revertClone,t.group=r},Bx=function(){!Lx&&ae&&Z(ae,"display","none")},Ux=function(){!Lx&&ae&&Z(ae,"display","")};Tf&&!Ox&&document.addEventListener("click",function(e){if(lc)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),lc=!1,!1},!0);var xi=function(t){if(G){t=t.touches?t.touches[0]:t;var n=PF(t.clientX,t.clientY);if(n){var r={};for(var i in t)t.hasOwnProperty(i)&&(r[i]=t[i]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[bt]._onDragOver(r)}}},NF=function(t){G&&G.parentNode[bt]._isOutsideThisEl(t.target)};function re(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=mn({},t),e[bt]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Fx(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(l,a){l.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:re.supportPointer!==!1&&"PointerEvent"in window&&!sa,emptyInsertThreshold:5};ls.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);Mx(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:IF,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?pe(e,"pointerdown",this._onTapStart):(pe(e,"mousedown",this._onTapStart),pe(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(pe(e,"dragover",this),pe(e,"dragenter",this)),ac.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),mn(this,CF())}re.prototype={constructor:re,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(so=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,G):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,i=this.options,o=i.preventOnFilter,l=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(a||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=i.filter;if(zF(r),!G&&!(/mousedown|pointerdown/.test(l)&&t.button!==0||i.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&sa&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=_n(s,i.draggable,r,!1),!(s&&s.animated)&&uu!==s)){if(_o=He(s),ca=He(s,i.draggable),typeof c=="function"){if(c.call(this,t,s,this)){St({sortable:n,rootEl:u,name:"filter",targetEl:s,toEl:r,fromEl:r}),Ot("filter",n,{evt:t}),o&&t.cancelable&&t.preventDefault();return}}else if(c&&(c=c.split(",").some(function(f){if(f=_n(u,f.trim(),r,!1),f)return St({sortable:n,rootEl:f,name:"filter",targetEl:s,fromEl:r,toEl:r}),Ot("filter",n,{evt:t}),!0}),c)){o&&t.cancelable&&t.preventDefault();return}i.handle&&!_n(u,i.handle,r,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,n,r){var i=this,o=i.el,l=i.options,a=o.ownerDocument,s;if(r&&!G&&r.parentNode===o){var u=Le(r);if(Ne=o,G=r,Ve=G.parentNode,Oi=G.nextSibling,uu=r,Fs=l.group,re.dragged=G,Ai={target:G,clientX:(n||t).clientX,clientY:(n||t).clientY},p0=Ai.clientX-u.left,h0=Ai.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,G.style["will-change"]="all",s=function(){if(Ot("delayEnded",i,{evt:t}),re.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!s0&&i.nativeDraggable&&(G.draggable=!0),i._triggerDragStart(t,n),St({sortable:i,name:"choose",originalEvent:t}),Ue(G,l.chosenClass,!0)},l.ignore.split(",").forEach(function(c){Nx(G,c.trim(),Vd)}),pe(a,"dragover",xi),pe(a,"mousemove",xi),pe(a,"touchmove",xi),pe(a,"mouseup",i._onDrop),pe(a,"touchend",i._onDrop),pe(a,"touchcancel",i._onDrop),s0&&this.nativeDraggable&&(this.options.touchStartThreshold=4,G.draggable=!0),Ot("delayStart",this,{evt:t}),l.delay&&(!l.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(os||Or))){if(re.eventCanceled){this._onDrop();return}pe(a,"mouseup",i._disableDelayedDrag),pe(a,"touchend",i._disableDelayedDrag),pe(a,"touchcancel",i._disableDelayedDrag),pe(a,"mousemove",i._delayedDragTouchMoveHandler),pe(a,"touchmove",i._delayedDragTouchMoveHandler),l.supportPointer&&pe(a,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(s,l.delay)}else s()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){G&&Vd(G),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;ce(t,"mouseup",this._disableDelayedDrag),ce(t,"touchend",this._disableDelayedDrag),ce(t,"touchcancel",this._disableDelayedDrag),ce(t,"mousemove",this._delayedDragTouchMoveHandler),ce(t,"touchmove",this._delayedDragTouchMoveHandler),ce(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?pe(document,"pointermove",this._onTouchMove):n?pe(document,"touchmove",this._onTouchMove):pe(document,"mousemove",this._onTouchMove):(pe(G,"dragend",this),pe(Ne,"dragstart",this._onDragStart));try{document.selection?fu(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch(r){}},_dragStarted:function(t,n){if(po=!1,Ne&&G){Ot("dragStarted",this,{evt:n}),this.nativeDraggable&&pe(document,"dragover",NF);var r=this.options;!t&&Ue(G,r.dragClass,!1),Ue(G,r.ghostClass,!0),re.active=this,t&&this._appendGhost(),St({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Sn){this._lastX=Sn.clientX,this._lastY=Sn.clientY,Bx();for(var t=document.elementFromPoint(Sn.clientX,Sn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Sn.clientX,Sn.clientY),t!==n);)n=t;if(G.parentNode[bt]._isOutsideThisEl(t),n)do{if(n[bt]){var r=void 0;if(r=n[bt]._onDragOver({clientX:Sn.clientX,clientY:Sn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);Ux()}},_onTouchMove:function(t){if(Ai){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,o=t.touches?t.touches[0]:t,l=ae&&ji(ae,!0),a=ae&&l&&l.a,s=ae&&l&&l.d,u=Bs&>&&f0(gt),c=(o.clientX-Ai.clientX+i.x)/(a||1)+(u?u[0]-Yd[0]:0)/(a||1),f=(o.clientY-Ai.clientY+i.y)/(s||1)+(u?u[1]-Yd[1]:0)/(s||1);if(!re.active&&!po){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))=0&&(St({rootEl:Ve,name:"add",toEl:Ve,fromEl:Ne,originalEvent:t}),St({sortable:this,name:"remove",toEl:Ve,originalEvent:t}),St({rootEl:Ve,name:"sort",toEl:Ve,fromEl:Ne,originalEvent:t}),St({sortable:this,name:"sort",toEl:Ve,originalEvent:t})),ut&&ut.save()):Yt!==_o&&Yt>=0&&(St({sortable:this,name:"update",toEl:Ve,originalEvent:t}),St({sortable:this,name:"sort",toEl:Ve,originalEvent:t})),re.active&&((Yt==null||Yt===-1)&&(Yt=_o,Br=ca),St({sortable:this,name:"end",toEl:Ve,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){Ot("nulling",this),Ne=G=Ve=ae=Oi=Be=uu=Vr=Ai=Sn=$l=Yt=Br=_o=ca=so=fa=ut=Fs=re.dragged=re.ghost=re.clone=re.active=null,sc.forEach(function(t){t.checked=!0}),sc.length=jd=Wd=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":G&&(this._onDragOver(t),RF(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,i=0,o=r.length,l=this.options;ir.right+i||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+i}function MF(e,t,n,r,i,o,l,a){var s=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,f=r?n.bottom:n.right,d=!1;if(!l){if(a&&cuc+u*o/2:sf-cu)return-fa}else if(s>c+u*(1-i)/2&&sf-u*o/2)?s>c+u/2?1:-1:0}function BF(e){return He(G)1&&(le.forEach(function(a){o.addAnimationState({target:a,rect:Pt?Le(a):l}),Ud(a),a.fromRect=l,r.removeAnimationState(a)}),Pt=!1,$F(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(n){var r=n.sortable,i=n.isOwner,o=n.insertion,l=n.activeSortable,a=n.parentEl,s=n.putSortable,u=this.options;if(o){if(i&&l._hideClone(),Ol=!1,u.animation&&le.length>1&&(Pt||!i&&!l.options.sort&&!s)){var c=Le(ke,!1,!0,!0);le.forEach(function(d){d!==ke&&(d0(d,c),a.appendChild(d))}),Pt=!0}if(!i)if(Pt||js(),le.length>1){var f=zs;l._showClone(r),l.options.animation&&!zs&&f&&Wt.forEach(function(d){l.addAnimationState({target:d,rect:Pl}),d.fromRect=Pl,d.thisAnimationDuration=null})}else l._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,i=n.isOwner,o=n.activeSortable;if(le.forEach(function(a){a.thisAnimationDuration=null}),o.options.animation&&!i&&o.multiDrag.isMultiDrag){Pl=mn({},r);var l=ji(ke,!0);Pl.top-=l.f,Pl.left-=l.e}},dragOverAnimationComplete:function(){Pt&&(Pt=!1,js())},drop:function(n){var r=n.originalEvent,i=n.rootEl,o=n.parentEl,l=n.sortable,a=n.dispatchSortableEvent,s=n.oldIndex,u=n.putSortable,c=u||this.sortable;if(r){var f=this.options,d=o.children;if(!uo)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ue(ke,f.selectedClass,!~le.indexOf(ke)),~le.indexOf(ke))le.splice(le.indexOf(ke),1),Il=null,Vl({sortable:l,rootEl:i,name:"deselect",targetEl:ke,originalEvent:r});else{if(le.push(ke),Vl({sortable:l,rootEl:i,name:"select",targetEl:ke,originalEvent:r}),r.shiftKey&&Il&&l.el.contains(Il)){var p=He(Il),h=He(ke);if(~p&&~h&&p!==h){var m,E;for(h>p?(E=p,m=h):(E=h,m=p+1);E1){var g=Le(ke),y=He(ke,":not(."+this.options.selectedClass+")");if(!Ol&&f.animation&&(ke.thisAnimationDuration=null),c.captureAnimationState(),!Ol&&(f.animation&&(ke.fromRect=g,le.forEach(function(S){if(S.thisAnimationDuration=null,S!==ke){var _=Pt?Le(S):g;S.fromRect=_,c.addAnimationState({target:S,rect:_})}})),js(),le.forEach(function(S){d[y]?o.insertBefore(S,d[y]):o.appendChild(S),y++}),s===He(ke))){var w=!1;le.forEach(function(S){if(S.sortableIndex!==He(S)){w=!0;return}}),w&&a("update")}le.forEach(function(S){Ud(S)}),c.animateAll()}An=c}(i===o||u&&u.lastPutMode!=="clone")&&Wt.forEach(function(S){S.parentNode&&S.parentNode.removeChild(S)})}},nullingGlobal:function(){this.isMultiDrag=uo=!1,Wt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),ce(document,"pointerup",this._deselectMultiDrag),ce(document,"mouseup",this._deselectMultiDrag),ce(document,"touchend",this._deselectMultiDrag),ce(document,"keydown",this._checkKeyDown),ce(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof uo!="undefined"&&uo)&&An===this.sortable&&!(n&&_n(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;le.length;){var r=le[0];Ue(r,this.options.selectedClass,!1),le.shift(),Vl({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r,originalEvent:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},mn(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[bt];!r||!r.options.multiDrag||~le.indexOf(n)||(An&&An!==r&&(An.multiDrag._deselectMultiDrag(),An=r),Ue(n,r.options.selectedClass,!0),le.push(n))},deselect:function(n){var r=n.parentNode[bt],i=le.indexOf(n);!r||!r.options.multiDrag||!~i||(Ue(n,r.options.selectedClass,!1),le.splice(i,1))}},eventProperties:function(){var n=this,r=[],i=[];return le.forEach(function(o){r.push({multiDragElement:o,index:o.sortableIndex});var l;Pt&&o!==ke?l=-1:Pt?l=He(o,":not(."+n.options.selectedClass+")"):l=He(o),i.push({multiDragElement:o,index:l})}),{items:mF(le),clones:[].concat(Wt),oldIndicies:r,newIndicies:i}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function $F(e,t){le.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function y0(e,t){Wt.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function js(){le.forEach(function(e){e!==ke&&e.parentNode&&e.parentNode.removeChild(e)})}re.mount(new jF);re.mount(Fg,Lg);const HF=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:VF,Sortable:re,Swap:WF,default:re},Symbol.toStringTag,{value:"Module"})),GF=uw(HF);var Dh={},JF={get exports(){return Dh},set exports(e){Dh=e}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],i=0;i$882b6d93070905b3$re_export$Sortable),l(e.exports,"Direction",()=>$882b6d93070905b3$re_export$Direction),l(e.exports,"DOMRect",()=>$882b6d93070905b3$re_export$DOMRect),l(e.exports,"GroupOptions",()=>$882b6d93070905b3$re_export$GroupOptions),l(e.exports,"MoveEvent",()=>$882b6d93070905b3$re_export$MoveEvent),l(e.exports,"Options",()=>$882b6d93070905b3$re_export$Options),l(e.exports,"PullResult",()=>$882b6d93070905b3$re_export$PullResult),l(e.exports,"PutResult",()=>$882b6d93070905b3$re_export$PutResult),l(e.exports,"SortableEvent",()=>$882b6d93070905b3$re_export$SortableEvent),l(e.exports,"SortableOptions",()=>$882b6d93070905b3$re_export$SortableOptions),l(e.exports,"Utils",()=>$882b6d93070905b3$re_export$Utils),l(e.exports,"ReactSortable",()=>S);function s(b){b.parentElement!==null&&b.parentElement.removeChild(b)}function u(b,A,T){const N=b.children[T]||null;b.insertBefore(A,N)}function c(b){b.forEach(A=>s(A.element))}function f(b){b.forEach(A=>{u(A.parentElement,A.element,A.oldIndex)})}function d(b,A){const T=E(b),N={parentElement:b.from};let R=[];switch(T){case"normal":R=[{element:b.item,newIndex:b.newIndex,oldIndex:b.oldIndex,parentElement:b.from}];break;case"swap":const L=P({element:b.item,oldIndex:b.oldIndex,newIndex:b.newIndex},N),j=P({element:b.swapItem,oldIndex:b.newIndex,newIndex:b.oldIndex},N);R=[L,j];break;case"multidrag":R=b.oldIndicies.map((J,ee)=>P({element:J.multiDragElement,oldIndex:J.index,newIndex:b.newIndicies[ee].index},N));break}return g(R,A)}function p(b,A){const T=h(b,A);return m(b,T)}function h(b,A){const T=[...A];return b.concat().reverse().forEach(N=>T.splice(N.oldIndex,1)),T}function m(b,A,T,N){const R=[...A];return b.forEach(I=>{const F=N&&T&&N(I.item,T);R.splice(I.newIndex,0,F||I.item)}),R}function E(b){return b.oldIndicies&&b.oldIndicies.length>0?"multidrag":b.swapItem?"swap":"normal"}function g(b,A){return b.map(N=>W(P({},N),{item:A[N.oldIndex]})).sort((N,R)=>N.oldIndex-R.oldIndex)}function y(b){const ir=b,{list:A,setList:T,children:N,tag:R,style:I,className:F,clone:L,onAdd:j,onChange:J,onChoose:ee,onClone:te,onEnd:D,onFilter:$,onRemove:Q,onSort:C,onStart:x,onUnchoose:at,onUpdate:pt,onMove:Ut,onSpill:Se,onSelect:st,onDeselect:rr}=ir;return ye(ir,["list","setList","children","tag","style","className","clone","onAdd","onChange","onChoose","onClone","onEnd","onFilter","onRemove","onSort","onStart","onUnchoose","onUpdate","onMove","onSpill","onSelect","onDeselect"])}const w={dragging:null};class S extends r.Component{constructor(A){super(A),this.ref=(0,r.createRef)();const T=[...A.list].map(N=>Object.assign(N,{chosen:!1,selected:!1}));A.setList(T,this.sortable,w),o(i)(!A.plugins,` +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],i=0;i$882b6d93070905b3$re_export$Sortable),l(e.exports,"Direction",()=>$882b6d93070905b3$re_export$Direction),l(e.exports,"DOMRect",()=>$882b6d93070905b3$re_export$DOMRect),l(e.exports,"GroupOptions",()=>$882b6d93070905b3$re_export$GroupOptions),l(e.exports,"MoveEvent",()=>$882b6d93070905b3$re_export$MoveEvent),l(e.exports,"Options",()=>$882b6d93070905b3$re_export$Options),l(e.exports,"PullResult",()=>$882b6d93070905b3$re_export$PullResult),l(e.exports,"PutResult",()=>$882b6d93070905b3$re_export$PutResult),l(e.exports,"SortableEvent",()=>$882b6d93070905b3$re_export$SortableEvent),l(e.exports,"SortableOptions",()=>$882b6d93070905b3$re_export$SortableOptions),l(e.exports,"Utils",()=>$882b6d93070905b3$re_export$Utils),l(e.exports,"ReactSortable",()=>S);function s(b){b.parentElement!==null&&b.parentElement.removeChild(b)}function u(b,A,T){const N=b.children[T]||null;b.insertBefore(A,N)}function c(b){b.forEach(A=>s(A.element))}function f(b){b.forEach(A=>{u(A.parentElement,A.element,A.oldIndex)})}function d(b,A){const T=E(b),N={parentElement:b.from};let R=[];switch(T){case"normal":R=[{element:b.item,newIndex:b.newIndex,oldIndex:b.oldIndex,parentElement:b.from}];break;case"swap":const L=P({element:b.item,oldIndex:b.oldIndex,newIndex:b.newIndex},N),j=P({element:b.swapItem,oldIndex:b.newIndex,newIndex:b.oldIndex},N);R=[L,j];break;case"multidrag":R=b.oldIndicies.map((J,ee)=>P({element:J.multiDragElement,oldIndex:J.index,newIndex:b.newIndicies[ee].index},N));break}return g(R,A)}function p(b,A){const T=h(b,A);return m(b,T)}function h(b,A){const T=[...A];return b.concat().reverse().forEach(N=>T.splice(N.oldIndex,1)),T}function m(b,A,T,N){const R=[...A];return b.forEach(I=>{const F=N&&T&&N(I.item,T);R.splice(I.newIndex,0,F||I.item)}),R}function E(b){return b.oldIndicies&&b.oldIndicies.length>0?"multidrag":b.swapItem?"swap":"normal"}function g(b,A){return b.map(N=>W(P({},N),{item:A[N.oldIndex]})).sort((N,R)=>N.oldIndex-R.oldIndex)}function y(b){const ir=b,{list:A,setList:T,children:N,tag:R,style:I,className:F,clone:L,onAdd:j,onChange:J,onChoose:ee,onClone:te,onEnd:D,onFilter:$,onRemove:Q,onSort:C,onStart:x,onUnchoose:at,onUpdate:pt,onMove:Ut,onSpill:Se,onSelect:st,onDeselect:rr}=ir;return ye(ir,["list","setList","children","tag","style","className","clone","onAdd","onChange","onChoose","onClone","onEnd","onFilter","onRemove","onSort","onStart","onUnchoose","onUpdate","onMove","onSpill","onSelect","onDeselect"])}const w={dragging:null};class S extends r.Component{constructor(A){super(A),this.ref=(0,r.createRef)();const T=[...A.list].map(N=>Object.assign(N,{chosen:!1,selected:!1}));A.setList(T,this.sortable,w),o(i)(!A.plugins,` Plugins prop is no longer supported. Instead, mount it with "Sortable.mount(new MultiDrag())" Please read the updated README.md at https://github.com/SortableJS/react-sortablejs. - `)}componentDidMount(){if(this.ref.current===null)return;const A=this.makeOptions();o(t).create(this.ref.current,A)}componentDidUpdate(A){A.disabled!==this.props.disabled&&this.sortable&&this.sortable.option("disabled",this.props.disabled)}render(){const{tag:A,style:T,className:N,id:R}=this.props,I={style:T,className:N,id:R},F=!A||A===null?"div":A;return(0,r.createElement)(F,P({ref:this.ref},I),this.getChildren())}getChildren(){const{children:A,dataIdAttr:T,selectedClass:N="sortable-selected",chosenClass:R="sortable-chosen",dragClass:I="sortable-drag",fallbackClass:F="sortable-falback",ghostClass:L="sortable-ghost",swapClass:j="sortable-swap-highlight",filter:J="sortable-filter",list:ee}=this.props;if(!A||A==null)return null;const te=T||"data-id";return r.Children.map(A,(D,$)=>{if(D===void 0)return;const Q=ee[$]||{},{className:C}=D.props,x=typeof J=="string"&&{[J.replace(".","")]:!!Q.filtered},at=o(n)(C,P({[N]:Q.selected,[R]:Q.chosen},x));return(0,r.cloneElement)(D,{[te]:D.key,className:at})})}get sortable(){const A=this.ref.current;if(A===null)return null;const T=Object.keys(A).find(N=>N.includes("Sortable"));return T?A[T]:null}makeOptions(){const A=["onAdd","onChoose","onDeselect","onEnd","onRemove","onSelect","onSpill","onStart","onUnchoose","onUpdate"],T=["onChange","onClone","onFilter","onSort"],N=y(this.props);A.forEach(I=>N[I]=this.prepareOnHandlerPropAndDOM(I)),T.forEach(I=>N[I]=this.prepareOnHandlerProp(I));const R=(I,F)=>{const{onMove:L}=this.props,j=I.willInsertAfter||-1;if(!L)return j;const J=L(I,F,this.sortable,w);return typeof J=="undefined"?!1:J};return W(P({},N),{onMove:R})}prepareOnHandlerPropAndDOM(A){return T=>{this.callOnHandlerProp(T,A),this[A](T)}}prepareOnHandlerProp(A){return T=>{this.callOnHandlerProp(T,A)}}callOnHandlerProp(A,T){const N=this.props[T];N&&N(A,this.sortable,w)}onAdd(A){const{list:T,setList:N,clone:R}=this.props,I=[...w.dragging.props.list],F=d(A,I);c(F);const L=m(F,T,A,R).map(j=>Object.assign(j,{selected:!1}));N(L,this.sortable,w)}onRemove(A){const{list:T,setList:N}=this.props,R=E(A),I=d(A,T);f(I);let F=[...T];if(A.pullMode!=="clone")F=h(I,F);else{let L=I;switch(R){case"multidrag":L=I.map((j,J)=>W(P({},j),{element:A.clones[J]}));break;case"normal":L=I.map(j=>W(P({},j),{element:A.clone}));break;case"swap":default:o(i)(!0,`mode "${R}" cannot clone. Please remove "props.clone" from when using the "${R}" plugin`)}c(L),I.forEach(j=>{const J=j.oldIndex,ee=this.props.clone(j.item,A);F.splice(J,1,ee)})}F=F.map(L=>Object.assign(L,{selected:!1})),N(F,this.sortable,w)}onUpdate(A){const{list:T,setList:N}=this.props,R=d(A,T);c(R),f(R);const I=p(R,T);return N(I,this.sortable,w)}onStart(){w.dragging=this}onEnd(){w.dragging=null}onChoose(A){const{list:T,setList:N}=this.props,R=T.map((I,F)=>{let L=I;return F===A.oldIndex&&(L=Object.assign(I,{chosen:!0})),L});N(R,this.sortable,w)}onUnchoose(A){const{list:T,setList:N}=this.props,R=T.map((I,F)=>{let L=I;return F===A.oldIndex&&(L=Object.assign(L,{chosen:!1})),L});N(R,this.sortable,w)}onSpill(A){const{removeOnSpill:T,revertOnSpill:N}=this.props;T&&!N&&s(A.item)}onSelect(A){const{list:T,setList:N}=this.props,R=T.map(I=>Object.assign(I,{selected:!1}));A.newIndicies.forEach(I=>{const F=I.index;if(F===-1){console.log(`"${A.type}" had indice of "${I.index}", which is probably -1 and doesn't usually happen here.`),console.log(A);return}R[F].selected=!0}),N(R,this.sortable,w)}onDeselect(A){const{list:T,setList:N}=this.props,R=T.map(I=>Object.assign(I,{selected:!1}));A.newIndicies.forEach(I=>{const F=I.index;F!==-1&&(R[F].selected=!0)}),N(R,this.sortable,w)}}hs(S,"defaultProps",{clone:A=>A});var _={};a(e.exports,_)})(fF);const ZF="_container_xt7ji_1",eM="_list_xt7ji_6",tM="_item_xt7ji_15",nM="_keyField_xt7ji_29",rM="_valueField_xt7ji_34",iM="_header_xt7ji_39",oM="_dragHandle_xt7ji_45",lM="_deleteButton_xt7ji_55",aM="_addItemButton_xt7ji_65",sM="_separator_xt7ji_72",zt={container:ZF,list:eM,item:tM,keyField:nM,valueField:rM,header:iM,dragHandle:oM,deleteButton:lM,addItemButton:aM,separator:sM};function uM(e){return!(typeof e!="object"||Object.values(e).find(n=>typeof n!="string"))}function cM({id:e,label:t,value:n,onChange:r,newItemValue:i={key:"myKey",value:"myValue"}}){const{state:o,setState:l,addItem:a,deleteItem:s}=fM({value:n,onChange:r,newItemValue:i});return U("div",{className:zt.list,"aria-labelledby":_r(e),"aria-label":t,children:[U("div",{className:zt.item+" "+zt.header,"aria-label":"Columns field labels",children:[v("span",{className:zt.keyField,children:"Key"}),v("span",{className:zt.valueField,children:"Value"})]}),v(Th.ReactSortable,{list:o,setList:l,handle:`.${zt.dragHandle}`,children:o.map((u,c)=>U("div",{className:zt.item,children:[v("div",{className:zt.dragHandle,title:"Reorder list",children:v(cF,{})}),v("input",{title:"Key Field",className:zt.keyField,type:"text",value:u.key,onChange:f=>{const d=[...o];d[c]=W(P({},u),{key:f.target.value}),l(d)}}),v("span",{className:zt.separator,children:":"}),v("input",{title:"Value Field",className:zt.valueField,type:"text",value:u.value,onChange:f=>{const d=[...o];d[c]=W(P({},u),{value:f.target.value}),l(d)}}),v(rt,{className:zt.deleteButton,onClick:()=>s(u.id),variant:["icon","transparent"],title:`Delete ${u.value}`,children:v(xf,{})})]},u.id))}),v(rt,{className:zt.addItemButton,onClick:()=>a(),variant:["icon","transparent"],title:"Add new item","aria-label":"Add new item to list",children:v(Ig,{})})]})}function fM({value:e,onChange:t,newItemValue:n}){const[r,i]=k.useState(e!==void 0?Object.keys(e).map((a,s)=>({id:s,key:a,value:e[a]})):[]);k.useEffect(()=>{const a=dM(r);ZR(a,e!=null?e:{})||t(a)},[t,r,e]);const o=k.useCallback(a=>{i(s=>s.filter(({id:u})=>u!==a))},[]),l=k.useCallback(()=>{i(a=>[...a,P({id:-1},n)].map((s,u)=>W(P({},s),{id:u})))},[n]);return{state:r,setState:i,deleteItem:o,addItem:l}}function dM(e){return e.reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}const pM="__DEFAULT-DROPDOWN-CHOICE__";function hM({id:e,label:t,choices:n,onChange:r,value:i}){k.useEffect(()=>{i===pM&&r(n[0]),n.length>0&&!n.includes(i)&&r(n[0])},[r,n,i]);const o=a=>{const s=a.target.selectedIndex;r(n[s])},l=F5(n);return l.length===0?v("select",{title:`${t} selector`,"aria-labelledby":_r(e),"aria-label":t,className:"OptionsDropdown SUE-Input",placeholder:"No available options"}):v("select",{title:`${t} selector`,"aria-labelledby":_r(e),className:"OptionsDropdown SUE-Input",onChange:o,value:i,children:l.map(a=>v("option",{value:a,children:a},a))})}const mM="_radioContainer_ow37t_1",gM="_option_ow37t_15",yM="_radioInput_ow37t_22",vM="_radioLabel_ow37t_26",wM="_icon_ow37t_41",bM="_text_only_label_ow37t_87",co={radioContainer:mM,option:gM,radioInput:yM,radioLabel:vM,icon:wM,text_only_label:bM},EM="__DEFAULT-RADIO-CHOICE__";function SM({id:e,label:t,choices:n,value:r,onChange:i,optionsPerColumn:o}){const l=Object.keys(n);O.useEffect(()=>{r===EM&&i(l[0])},[l,r,i]);const a=O.useMemo(()=>({gridTemplateColumns:o?`repeat(${o}, 1fr)`:void 0}),[o]);return v("fieldset",{className:co.radioContainer,"aria-labelledby":_r(e),"aria-label":t,style:a,children:l.map(s=>{var h;const u=e+s,c=n[s],f="icon"in c?c.icon:null,d=f===null,p=(h=c.label)!=null?h:s;return U("div",{className:co.option,children:[v("input",{className:co.radioInput,name:e,id:u,type:"radio",value:s,onChange:()=>i(s),checked:s===r}),v("label",{className:co.radioLabel,htmlFor:u,"data-name":d?null:p,children:d?v("span",{className:co.text_only_label,children:p}):typeof f=="string"?v("img",{src:f,alt:p,className:co.icon}):f})]},s)})})}function AM({id:e,label:t,value:n,onChange:r,longform:i}){const o={className:"SUE-Input","aria-label":t,"aria-labelledby":_r(e),id:e,value:n,onChange:l=>{const a=l.target.value;r(a)}};return i?v("textarea",P({},o)):v("input",W(P({},o),{type:"text"}))}function xM(e){return rF(e).with({inputType:"string"},t=>v(AM,P({},t))).with({inputType:"number"},t=>v(m6,P({},t))).with({inputType:"cssMeasure"},t=>v(uF,P({},t))).with({inputType:"boolean"},t=>v(aF,P({},t))).with({inputType:"list"},t=>v(cM,P({},t))).with({inputType:"dropdown"},t=>v(hM,P({},t))).with({inputType:"radio"},t=>v(SM,P({},t))).otherwise(({inputType:t})=>U("div",{children:["I don't know how to render the input of type ",t," yet! Sorry."]}))}function CM(e,t){if(e===void 0)return!0;if(t==="number")return typeof e=="number";if(t==="string")return typeof e=="string";if(t==="cssMeasure")return t6(e);if(t==="boolean")return typeof e=="boolean";if(t==="list")return uM(e);if(t==="dropdown"||t==="radio")return typeof e=="string";if(t==="string-array")return Array.isArray(e)&&typeof e[0]=="string";if(t==="omitted")return!0;throw new Error("Unimplemented argument type check",t)}function jx(n){var r=n,{onUpdate:e}=r,t=ye(r,["onUpdate"]);var d;const i=t.value===void 0,o=t.optional,l=_r(t.name),a=(d=t.label)!=null?d:t.name,s=()=>e({type:"UPDATE",value:t.defaultValue}),u=p=>e({type:"UPDATE",value:p}),c=()=>e({type:"REMOVE"});let f;return t.value===void 0?t.optional?f=v(TM,{labelledBy:l}):f=v(kM,{name:t.name,onReset:s}):CM(t.value,t.inputType)?f=v(xM,P({label:a,id:t.name,onChange:u},t)):f=v(_M,{name:t.name,onReset:s}),U("div",{className:"SUE-SettingsInput",children:[U("div",{className:"info","data-unset":i,children:[o?v("input",{type:"checkbox",checked:!i,title:`Use ${t.name} argument`,"aria-label":`Use ${t.name} argument`,onChange:i?s:c}):null,v("label",{id:l,children:a})]}),f]})}function _M({name:e,onReset:t}){return U("div",{className:"mismatched-argument-types",children:["Argument for ",e," of unsupported type.",v(rt,{style:{padding:"0.25rem 0.5rem",marginInline:"0.25rem"},onClick:t,children:"Reset"})]})}function kM({name:e,onReset:t}){return U("div",{className:"missing-required-argument-message",children:['Required argument "',e,'" not provided.',v(rt,{style:{padding:"0.25rem 0.5rem",marginInline:"0.25rem"},onClick:t,children:"Reset"})]})}function TM({labelledBy:e}){return v("input",{className:"unset-argument SUE-Input","aria-labelledby":e,placeholder:"Default",disabled:!0})}const IM="_EditorSkeleton_18fvc_1",OM="_app_view_18fvc_14",PM="_elements_panel_18fvc_28",NM="_properties_panel_18fvc_33",RM="_app_preview_18fvc_38",DM="_panel_18fvc_63",LM="_panel_title_18fvc_74",ar={EditorSkeleton:IM,app_view:OM,elements_panel:PM,properties_panel:NM,app_preview:RM,panel:DM,panel_title:LM};function fl({children:e,className:t=""}){return v("h3",{className:Ke(t,ar.panel_title),children:e})}const FM="_portalHolder_18ua3_1",MM="_portalModal_18ua3_11",BM="_title_18ua3_21",UM="_body_18ua3_25",zM="_portalForm_18ua3_30",jM="_portalFormInputs_18ua3_35",WM="_portalFormFooter_18ua3_42",YM="_validationMsg_18ua3_48",VM="_infoText_18ua3_53",dr={portalHolder:FM,portalModal:MM,title:BM,body:UM,portalForm:zM,portalFormInputs:jM,portalFormFooter:WM,validationMsg:YM,infoText:VM};function Wx({children:e,title:t,label:n,onConfirm:r,onCancel:i}){return v(OE,{children:v("div",{className:dr.portalHolder,onClick:()=>i(),onKeyDown:o=>{o.key==="Escape"&&i()},children:U("div",{className:dr.portalModal,onClick:o=>o.stopPropagation(),"aria-label":n!=null?n:"popup modal",children:[t?v(fl,{className:dr.title,children:t}):null,v("div",{className:dr.body,children:e})]})})})}function $M({onCancel:e,onDone:t,existingAreaNames:n}){const r=`area${n.length}`,[i,o]=k.useState(r),[l,a]=k.useState(null),s=k.useCallback(c=>{c&&c.preventDefault();const f=HM({name:i,existingAreaNames:n});if(f){a(f);return}t(i)},[n,i,t]),u=k.useCallback(c=>{c.type!=="REMOVE"&&(a(null),o(c.value))},[]);return U(Wx,{title:"Name new grid area",label:"New grid area naming modal",onConfirm:()=>t(i),onCancel:e,children:[v("form",{className:dr.portalForm,onSubmit:s,children:U("div",{className:dr.portalFormInputs,children:[v("span",{className:dr.infoText,children:"Name for grid area needs to be unique, start with a letter, and contain only letters and numbers."}),v(jx,{label:"Name of new grid area",name:"New-Item-Name",inputType:"string",onUpdate:u,value:i,defaultValue:r}),l?v("div",{className:dr.validationMsg,children:l}):null]})}),U("div",{className:dr.portalFormFooter,children:[v(rt,{variant:"delete",onClick:e,children:"Cancel"}),v(rt,{onClick:()=>s(),children:"Done"})]})]})}function HM({name:e,existingAreaNames:t}){return e===""?"A name is needed for the grid area":t.includes(e)?`You already have an item with the name "${e}", all names - need to be unique.`:e.match(/^[^a-zA-Z]/g)?"Valid item names need to start with a character.":e.match(/\s/g)?"Spaces not allowed in grid area names":e.match(/[^\w]/g)?"Only letters and numbers allowed in area names":null}function GM(e){const t=Tr();return k.useCallback(r=>{t(HA({path:e,node:{uiArguments:r}}))},[t,e])}function JM({layout:e,row_sizes:t,col_sizes:n,gap_size:r}){return e=aa(e),t=aa(t),n=aa(n),{layout:e,row_sizes:t,col_sizes:n,gap_size:r}}const QM="_container_1hvsg_1",KM={container:QM},Yx=({uiArguments:e,uiChildren:t,path:n,wrapperProps:r})=>{const i=JM(e),o=bg(),w=_L(i),{uniqueAreas:l}=w,a=ye(w,["uniqueAreas"]),{areas:s}=a,u=GM(n),c=k.useMemo(()=>kg(s),[s]),[f,d]=k.useState(null),p=S=>{const{node:_,currentPath:b,pos:A}=S,T=b!==void 0,N=xg(_);if(T&&N&&"area"in _.uiArguments&&_.uiArguments.area){const R=_.uiArguments.area;h({type:"MOVE_ITEM",name:R,pos:A});return}d(S)},h=S=>{u(Tg(i,S))},m=k.useCallback(S=>{u(gx(S))},[u]),E=l.map(S=>v(KL,{area:S,areas:s,gridLocation:c.get(S),onNewPos:_=>h({type:"MOVE_ITEM",name:S,pos:_})},S)),g={"--gap":i.gap_size,"--row-gutter":"150px","--col-gutter":"100px","--pad":"8px"},y=(S,{node:_,currentPath:b,pos:A})=>{var T;o({path:er(n,(T=t==null?void 0:t.length)!=null?T:0),node:LL(_,S),currentPath:b}),h({type:"ADD_ITEM",name:S,pos:A}),d(null)};return U(rx.Provider,{value:h,children:[v("div",W(P({style:g,className:KM.container},r),{draggable:!1,onDragStart:()=>{},children:U(Z6,W(P({},a),{onNewLayout:m,children:[DL(s).map(({row:S,col:_})=>v(tF,{gridRow:S,gridColumn:_,onDroppedNode:p},YL({row:S,col:_}))),t==null?void 0:t.map((S,_)=>v(bi,{path:[...n,_],node:S},n.join(".")+_)),E]}))})),f?v($M,{info:f,onCancel:()=>d(null),onDone:S=>y(S,f),existingAreaNames:l}):null]})},qM=({uiArguments:e,uiChildren:t,path:n,wrapperProps:r})=>v(Yx,{uiArguments:e,uiChildren:t,path:n,wrapperProps:r}),XM=xe()({library:"gridlayout",name:"grid_container",title:"Grid Container",takesChildren:!0,UiComponent:qM,settingsInfo:{gap_size:{label:"Width",inputType:"cssMeasure",defaultValue:"10px",units:["px","rem"]},layout:{inputType:"omitted",defaultValue:[". .",". ."]},row_sizes:{inputType:"omitted",defaultValue:["1fr","1fr"]},col_sizes:{inputType:"omitted",defaultValue:["1fr","1fr"]}},iconSrc:fx,category:"Tabs",stateUpdateSubscribers:{UPDATE_NODE:yx,DELETE_NODE:vx},description:"A general container for arranging items using `gridlayout`"}),ZM=e=>v(Yx,P({},e)),e8=xe()({library:"gridlayout",name:"grid_page",title:"Grid Page",takesChildren:!0,UiComponent:ZM,settingsInfo:{gap_size:{label:"Width",inputType:"cssMeasure",defaultValue:"10px",units:["px","rem"]},layout:{inputType:"omitted",defaultValue:[". .",". ."]},row_sizes:{inputType:"omitted",defaultValue:["1fr","1fr"]},col_sizes:{inputType:"omitted",defaultValue:["1fr","1fr"]},theme:{inputType:"omitted",optional:!0}},stateUpdateSubscribers:{UPDATE_NODE:yx,DELETE_NODE:vx},category:"gridlayout"}),t8=11,n8=i8(Zu(t8).map(e=>Math.random())).map(e=>`${Math.round(e*100)}%`);function r8({title:e=v("span",{children:"My Plot"})}){return v("div",{className:"PlotPlaceholder",children:U("div",{className:"plot",children:[v("div",{className:"title",children:e}),v("div",{className:"plot-body",children:n8.map((t,n)=>v("div",{className:"bar",style:{"--value":t}},`${n}-${t}`))})]})})}function i8(e){let i=-1/0,o=1/0;for(let s of e)i=Math.max(i,s),o=Math.min(o,s);const l=i-o;return e.map(s=>((s-o)/l+.1)*.85)}const o8=({uiArguments:{outputId:e,width:t="100%",height:n="400px"},wrapperProps:r})=>v("div",W(P({className:"plotlyPlotlyOutput",style:{height:n,width:t}},r),{children:v(r8,{title:U("span",{className:"title-bar",children:[v(Af,{type:"output",name:e}),v("span",{className:"plotly-name",children:"Plotly"})]})})})),l8=xe()({library:"plotly",name:"plotlyOutput",title:"Plotly Plot",takesChildren:!1,UiComponent:o8,settingsInfo:{outputId:{inputType:"string",label:"Output ID for plot",defaultValue:"plot"},width:{label:"Width",inputType:"cssMeasure",defaultValue:"100%",optional:!0},height:{label:"Height",inputType:"cssMeasure",defaultValue:"400px",optional:!0}},serverBindings:{outputs:{outputIdKey:"outputId",renderScaffold:`renderPlotly({ + `)}componentDidMount(){if(this.ref.current===null)return;const A=this.makeOptions();o(t).create(this.ref.current,A)}componentDidUpdate(A){A.disabled!==this.props.disabled&&this.sortable&&this.sortable.option("disabled",this.props.disabled)}render(){const{tag:A,style:T,className:N,id:R}=this.props,I={style:T,className:N,id:R},F=!A||A===null?"div":A;return(0,r.createElement)(F,P({ref:this.ref},I),this.getChildren())}getChildren(){const{children:A,dataIdAttr:T,selectedClass:N="sortable-selected",chosenClass:R="sortable-chosen",dragClass:I="sortable-drag",fallbackClass:F="sortable-falback",ghostClass:L="sortable-ghost",swapClass:j="sortable-swap-highlight",filter:J="sortable-filter",list:ee}=this.props;if(!A||A==null)return null;const te=T||"data-id";return r.Children.map(A,(D,$)=>{if(D===void 0)return;const Q=ee[$]||{},{className:C}=D.props,x=typeof J=="string"&&{[J.replace(".","")]:!!Q.filtered},at=o(n)(C,P({[N]:Q.selected,[R]:Q.chosen},x));return(0,r.cloneElement)(D,{[te]:D.key,className:at})})}get sortable(){const A=this.ref.current;if(A===null)return null;const T=Object.keys(A).find(N=>N.includes("Sortable"));return T?A[T]:null}makeOptions(){const A=["onAdd","onChoose","onDeselect","onEnd","onRemove","onSelect","onSpill","onStart","onUnchoose","onUpdate"],T=["onChange","onClone","onFilter","onSort"],N=y(this.props);A.forEach(I=>N[I]=this.prepareOnHandlerPropAndDOM(I)),T.forEach(I=>N[I]=this.prepareOnHandlerProp(I));const R=(I,F)=>{const{onMove:L}=this.props,j=I.willInsertAfter||-1;if(!L)return j;const J=L(I,F,this.sortable,w);return typeof J=="undefined"?!1:J};return W(P({},N),{onMove:R})}prepareOnHandlerPropAndDOM(A){return T=>{this.callOnHandlerProp(T,A),this[A](T)}}prepareOnHandlerProp(A){return T=>{this.callOnHandlerProp(T,A)}}callOnHandlerProp(A,T){const N=this.props[T];N&&N(A,this.sortable,w)}onAdd(A){const{list:T,setList:N,clone:R}=this.props,I=[...w.dragging.props.list],F=d(A,I);c(F);const L=m(F,T,A,R).map(j=>Object.assign(j,{selected:!1}));N(L,this.sortable,w)}onRemove(A){const{list:T,setList:N}=this.props,R=E(A),I=d(A,T);f(I);let F=[...T];if(A.pullMode!=="clone")F=h(I,F);else{let L=I;switch(R){case"multidrag":L=I.map((j,J)=>W(P({},j),{element:A.clones[J]}));break;case"normal":L=I.map(j=>W(P({},j),{element:A.clone}));break;case"swap":default:o(i)(!0,`mode "${R}" cannot clone. Please remove "props.clone" from when using the "${R}" plugin`)}c(L),I.forEach(j=>{const J=j.oldIndex,ee=this.props.clone(j.item,A);F.splice(J,1,ee)})}F=F.map(L=>Object.assign(L,{selected:!1})),N(F,this.sortable,w)}onUpdate(A){const{list:T,setList:N}=this.props,R=d(A,T);c(R),f(R);const I=p(R,T);return N(I,this.sortable,w)}onStart(){w.dragging=this}onEnd(){w.dragging=null}onChoose(A){const{list:T,setList:N}=this.props,R=T.map((I,F)=>{let L=I;return F===A.oldIndex&&(L=Object.assign(I,{chosen:!0})),L});N(R,this.sortable,w)}onUnchoose(A){const{list:T,setList:N}=this.props,R=T.map((I,F)=>{let L=I;return F===A.oldIndex&&(L=Object.assign(L,{chosen:!1})),L});N(R,this.sortable,w)}onSpill(A){const{removeOnSpill:T,revertOnSpill:N}=this.props;T&&!N&&s(A.item)}onSelect(A){const{list:T,setList:N}=this.props,R=T.map(I=>Object.assign(I,{selected:!1}));A.newIndicies.forEach(I=>{const F=I.index;if(F===-1){console.log(`"${A.type}" had indice of "${I.index}", which is probably -1 and doesn't usually happen here.`),console.log(A);return}R[F].selected=!0}),N(R,this.sortable,w)}onDeselect(A){const{list:T,setList:N}=this.props,R=T.map(I=>Object.assign(I,{selected:!1}));A.newIndicies.forEach(I=>{const F=I.index;F!==-1&&(R[F].selected=!0)}),N(R,this.sortable,w)}}ms(S,"defaultProps",{clone:A=>A});var _={};a(e.exports,_)})(fF);const ZF="_container_xt7ji_1",eM="_list_xt7ji_6",tM="_item_xt7ji_15",nM="_keyField_xt7ji_29",rM="_valueField_xt7ji_34",iM="_header_xt7ji_39",oM="_dragHandle_xt7ji_45",lM="_deleteButton_xt7ji_55",aM="_addItemButton_xt7ji_65",sM="_separator_xt7ji_72",zt={container:ZF,list:eM,item:tM,keyField:nM,valueField:rM,header:iM,dragHandle:oM,deleteButton:lM,addItemButton:aM,separator:sM};function uM(e){return!(typeof e!="object"||Object.values(e).find(n=>typeof n!="string"))}function cM({id:e,label:t,value:n,onChange:r,newItemValue:i={key:"myKey",value:"myValue"}}){const{state:o,setState:l,addItem:a,deleteItem:s}=fM({value:n,onChange:r,newItemValue:i});return U("div",{className:zt.list,"aria-labelledby":_r(e),"aria-label":t,children:[U("div",{className:zt.item+" "+zt.header,"aria-label":"Columns field labels",children:[v("span",{className:zt.keyField,children:"Key"}),v("span",{className:zt.valueField,children:"Value"})]}),v(Th.ReactSortable,{list:o,setList:l,handle:`.${zt.dragHandle}`,children:o.map((u,c)=>U("div",{className:zt.item,children:[v("div",{className:zt.dragHandle,title:"Reorder list",children:v(cF,{})}),v("input",{title:"Key Field",className:zt.keyField,type:"text",value:u.key,onChange:f=>{const d=[...o];d[c]=W(P({},u),{key:f.target.value}),l(d)}}),v("span",{className:zt.separator,children:":"}),v("input",{title:"Value Field",className:zt.valueField,type:"text",value:u.value,onChange:f=>{const d=[...o];d[c]=W(P({},u),{value:f.target.value}),l(d)}}),v(rt,{className:zt.deleteButton,onClick:()=>s(u.id),variant:["icon","transparent"],title:`Delete ${u.value}`,children:v(xf,{})})]},u.id))}),v(rt,{className:zt.addItemButton,onClick:()=>a(),variant:["icon","transparent"],title:"Add new item","aria-label":"Add new item to list",children:v(Ng,{})})]})}function fM({value:e,onChange:t,newItemValue:n}){const[r,i]=k.useState(e!==void 0?Object.keys(e).map((a,s)=>({id:s,key:a,value:e[a]})):[]);k.useEffect(()=>{const a=dM(r);ZR(a,e!=null?e:{})||t(a)},[t,r,e]);const o=k.useCallback(a=>{i(s=>s.filter(({id:u})=>u!==a))},[]),l=k.useCallback(()=>{i(a=>[...a,P({id:-1},n)].map((s,u)=>W(P({},s),{id:u})))},[n]);return{state:r,setState:i,deleteItem:o,addItem:l}}function dM(e){return e.reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}const pM="__DEFAULT-DROPDOWN-CHOICE__";function hM({id:e,label:t,choices:n,onChange:r,value:i}){k.useEffect(()=>{i===pM&&r(n[0]),n.length>0&&!n.includes(i)&&r(n[0])},[r,n,i]);const o=a=>{const s=a.target.selectedIndex;r(n[s])},l=F5(n);return l.length===0?v("select",{title:`${t} selector`,"aria-labelledby":_r(e),"aria-label":t,className:"OptionsDropdown SUE-Input",placeholder:"No available options"}):v("select",{title:`${t} selector`,"aria-labelledby":_r(e),className:"OptionsDropdown SUE-Input",onChange:o,value:i,children:l.map(a=>v("option",{value:a,children:a},a))})}const mM="_radioContainer_ow37t_1",gM="_option_ow37t_15",yM="_radioInput_ow37t_22",vM="_radioLabel_ow37t_26",wM="_icon_ow37t_41",bM="_text_only_label_ow37t_87",co={radioContainer:mM,option:gM,radioInput:yM,radioLabel:vM,icon:wM,text_only_label:bM},EM="__DEFAULT-RADIO-CHOICE__";function SM({id:e,label:t,choices:n,value:r,onChange:i,optionsPerColumn:o}){const l=Object.keys(n);O.useEffect(()=>{r===EM&&i(l[0])},[l,r,i]);const a=O.useMemo(()=>({gridTemplateColumns:o?`repeat(${o}, 1fr)`:void 0}),[o]);return v("fieldset",{className:co.radioContainer,"aria-labelledby":_r(e),"aria-label":t,style:a,children:l.map(s=>{var h;const u=e+s,c=n[s],f="icon"in c?c.icon:null,d=f===null,p=(h=c.label)!=null?h:s;return U("div",{className:co.option,children:[v("input",{className:co.radioInput,name:e,id:u,type:"radio",value:s,onChange:()=>i(s),checked:s===r}),v("label",{className:co.radioLabel,htmlFor:u,"data-name":d?null:p,children:d?v("span",{className:co.text_only_label,children:p}):typeof f=="string"?v("img",{src:f,alt:p,className:co.icon}):f})]},s)})})}function AM({id:e,label:t,value:n,onChange:r,longform:i}){const o={className:"SUE-Input","aria-label":t,"aria-labelledby":_r(e),id:e,value:n,onChange:l=>{const a=l.target.value;r(a)}};return i?v("textarea",P({},o)):v("input",W(P({},o),{type:"text"}))}function xM(e){return rF(e).with({inputType:"string"},t=>v(AM,P({},t))).with({inputType:"number"},t=>v(m6,P({},t))).with({inputType:"cssMeasure"},t=>v(uF,P({},t))).with({inputType:"boolean"},t=>v(aF,P({},t))).with({inputType:"list"},t=>v(cM,P({},t))).with({inputType:"dropdown"},t=>v(hM,P({},t))).with({inputType:"radio"},t=>v(SM,P({},t))).otherwise(({inputType:t})=>U("div",{children:["I don't know how to render the input of type ",t," yet! Sorry."]}))}function CM(e,t){if(e===void 0)return!0;if(t==="number")return typeof e=="number";if(t==="string")return typeof e=="string";if(t==="cssMeasure")return t6(e);if(t==="boolean")return typeof e=="boolean";if(t==="list")return uM(e);if(t==="dropdown"||t==="radio")return typeof e=="string";if(t==="string-array")return Array.isArray(e)&&typeof e[0]=="string";if(t==="omitted")return!0;throw new Error("Unimplemented argument type check",t)}function jx(n){var r=n,{onUpdate:e}=r,t=ye(r,["onUpdate"]);var d;const i=t.value===void 0,o=t.optional,l=_r(t.name),a=(d=t.label)!=null?d:t.name,s=()=>e({type:"UPDATE",value:t.defaultValue}),u=p=>e({type:"UPDATE",value:p}),c=()=>e({type:"REMOVE"});let f;return t.value===void 0?t.optional?f=v(TM,{labelledBy:l}):f=v(kM,{name:t.name,onReset:s}):CM(t.value,t.inputType)?f=v(xM,P({label:a,id:t.name,onChange:u},t)):f=v(_M,{name:t.name,onReset:s}),U("div",{className:"SUE-SettingsInput",children:[U("div",{className:"info","data-unset":i,children:[o?v("input",{type:"checkbox",checked:!i,title:`Use ${t.name} argument`,"aria-label":`Use ${t.name} argument`,onChange:i?s:c}):null,v("label",{id:l,children:a})]}),f]})}function _M({name:e,onReset:t}){return U("div",{className:"mismatched-argument-types",children:["Argument for ",e," of unsupported type.",v(rt,{style:{padding:"0.25rem 0.5rem",marginInline:"0.25rem"},onClick:t,children:"Reset"})]})}function kM({name:e,onReset:t}){return U("div",{className:"missing-required-argument-message",children:['Required argument "',e,'" not provided.',v(rt,{style:{padding:"0.25rem 0.5rem",marginInline:"0.25rem"},onClick:t,children:"Reset"})]})}function TM({labelledBy:e}){return v("input",{className:"unset-argument SUE-Input","aria-labelledby":e,placeholder:"Default",disabled:!0})}const IM="_EditorSkeleton_18fvc_1",OM="_app_view_18fvc_14",PM="_elements_panel_18fvc_28",NM="_properties_panel_18fvc_33",RM="_app_preview_18fvc_38",DM="_panel_18fvc_63",LM="_panel_title_18fvc_74",ar={EditorSkeleton:IM,app_view:OM,elements_panel:PM,properties_panel:NM,app_preview:RM,panel:DM,panel_title:LM};function fl({children:e,className:t=""}){return v("h3",{className:Ke(t,ar.panel_title),children:e})}const FM="_portalHolder_18ua3_1",MM="_portalModal_18ua3_11",BM="_title_18ua3_21",UM="_body_18ua3_25",zM="_portalForm_18ua3_30",jM="_portalFormInputs_18ua3_35",WM="_portalFormFooter_18ua3_42",YM="_validationMsg_18ua3_48",VM="_infoText_18ua3_53",dr={portalHolder:FM,portalModal:MM,title:BM,body:UM,portalForm:zM,portalFormInputs:jM,portalFormFooter:WM,validationMsg:YM,infoText:VM};function Wx({children:e,title:t,label:n,onConfirm:r,onCancel:i}){return v(JS,{children:v("div",{className:dr.portalHolder,onClick:()=>i(),onKeyDown:o=>{o.key==="Escape"&&i()},children:U("div",{className:dr.portalModal,onClick:o=>o.stopPropagation(),"aria-label":n!=null?n:"popup modal",children:[t?v(fl,{className:dr.title,children:t}):null,v("div",{className:dr.body,children:e})]})})})}function $M({onCancel:e,onDone:t,existingAreaNames:n}){const r=`area${n.length}`,[i,o]=k.useState(r),[l,a]=k.useState(null),s=k.useCallback(c=>{c&&c.preventDefault();const f=HM({name:i,existingAreaNames:n});if(f){a(f);return}t(i)},[n,i,t]),u=k.useCallback(c=>{c.type!=="REMOVE"&&(a(null),o(c.value))},[]);return U(Wx,{title:"Name new grid area",label:"New grid area naming modal",onConfirm:()=>t(i),onCancel:e,children:[v("form",{className:dr.portalForm,onSubmit:s,children:U("div",{className:dr.portalFormInputs,children:[v("span",{className:dr.infoText,children:"Name for grid area needs to be unique, start with a letter, and contain only letters and numbers."}),v(jx,{label:"Name of new grid area",name:"New-Item-Name",inputType:"string",onUpdate:u,value:i,defaultValue:r}),l?v("div",{className:dr.validationMsg,children:l}):null]})}),U("div",{className:dr.portalFormFooter,children:[v(rt,{variant:"delete",onClick:e,children:"Cancel"}),v(rt,{onClick:()=>s(),children:"Done"})]})]})}function HM({name:e,existingAreaNames:t}){return e===""?"A name is needed for the grid area":t.includes(e)?`You already have an item with the name "${e}", all names + need to be unique.`:e.match(/^[^a-zA-Z]/g)?"Valid item names need to start with a character.":e.match(/\s/g)?"Spaces not allowed in grid area names":e.match(/[^\w]/g)?"Only letters and numbers allowed in area names":null}function GM(e){const t=Tr();return k.useCallback(r=>{t(HA({path:e,node:{uiArguments:r}}))},[t,e])}function JM({layout:e,row_sizes:t,col_sizes:n,gap_size:r}){return e=aa(e),t=aa(t),n=aa(n),{layout:e,row_sizes:t,col_sizes:n,gap_size:r}}const QM="_container_1hvsg_1",KM={container:QM},Yx=({uiArguments:e,uiChildren:t,path:n,wrapperProps:r})=>{const i=JM(e),o=Ag(),w=_L(i),{uniqueAreas:l}=w,a=ye(w,["uniqueAreas"]),{areas:s}=a,u=GM(n),c=k.useMemo(()=>Og(s),[s]),[f,d]=k.useState(null),p=S=>{const{node:_,currentPath:b,pos:A}=S,T=b!==void 0,N=kg(_);if(T&&N&&"area"in _.uiArguments&&_.uiArguments.area){const R=_.uiArguments.area;h({type:"MOVE_ITEM",name:R,pos:A});return}d(S)},h=S=>{u(Pg(i,S))},m=k.useCallback(S=>{u(gx(S))},[u]),E=l.map(S=>v(KL,{area:S,areas:s,gridLocation:c.get(S),onNewPos:_=>h({type:"MOVE_ITEM",name:S,pos:_})},S)),g={"--gap":i.gap_size,"--row-gutter":"150px","--col-gutter":"100px","--pad":"8px"},y=(S,{node:_,currentPath:b,pos:A})=>{var T;o({path:er(n,(T=t==null?void 0:t.length)!=null?T:0),node:LL(_,S),currentPath:b}),h({type:"ADD_ITEM",name:S,pos:A}),d(null)};return U(rx.Provider,{value:h,children:[v("div",W(P({style:g,className:KM.container},r),{draggable:!1,onDragStart:()=>{},children:U(Z6,W(P({},a),{onNewLayout:m,children:[DL(s).map(({row:S,col:_})=>v(tF,{gridRow:S,gridColumn:_,onDroppedNode:p},YL({row:S,col:_}))),t==null?void 0:t.map((S,_)=>v(bi,{path:[...n,_],node:S},n.join(".")+_)),E]}))})),f?v($M,{info:f,onCancel:()=>d(null),onDone:S=>y(S,f),existingAreaNames:l}):null]})},qM=({uiArguments:e,uiChildren:t,path:n,wrapperProps:r})=>v(Yx,{uiArguments:e,uiChildren:t,path:n,wrapperProps:r}),XM=xe()({library:"gridlayout",name:"grid_container",title:"Grid Container",takesChildren:!0,UiComponent:qM,settingsInfo:{gap_size:{label:"Width",inputType:"cssMeasure",defaultValue:"10px",units:["px","rem"]},layout:{inputType:"omitted",defaultValue:[". .",". ."]},row_sizes:{inputType:"omitted",defaultValue:["1fr","1fr"]},col_sizes:{inputType:"omitted",defaultValue:["1fr","1fr"]}},iconSrc:fx,category:"Tabs",stateUpdateSubscribers:{UPDATE_NODE:yx,DELETE_NODE:vx},description:"A general container for arranging items using `gridlayout`"}),ZM=e=>v(Yx,P({},e)),e8=xe()({library:"gridlayout",name:"grid_page",title:"Grid Page",takesChildren:!0,UiComponent:ZM,settingsInfo:{gap_size:{label:"Width",inputType:"cssMeasure",defaultValue:"10px",units:["px","rem"]},layout:{inputType:"omitted",defaultValue:[". .",". ."]},row_sizes:{inputType:"omitted",defaultValue:["1fr","1fr"]},col_sizes:{inputType:"omitted",defaultValue:["1fr","1fr"]},theme:{inputType:"omitted",optional:!0}},stateUpdateSubscribers:{UPDATE_NODE:yx,DELETE_NODE:vx},category:"gridlayout"}),t8=11,n8=i8(ec(t8).map(e=>Math.random())).map(e=>`${Math.round(e*100)}%`);function r8({title:e=v("span",{children:"My Plot"})}){return v("div",{className:"PlotPlaceholder",children:U("div",{className:"plot",children:[v("div",{className:"title",children:e}),v("div",{className:"plot-body",children:n8.map((t,n)=>v("div",{className:"bar",style:{"--value":t}},`${n}-${t}`))})]})})}function i8(e){let i=-1/0,o=1/0;for(let s of e)i=Math.max(i,s),o=Math.min(o,s);const l=i-o;return e.map(s=>((s-o)/l+.1)*.85)}const o8=({uiArguments:{outputId:e,width:t="100%",height:n="400px"},wrapperProps:r})=>v("div",W(P({className:"plotlyPlotlyOutput",style:{height:n,width:t}},r),{children:v(r8,{title:U("span",{className:"title-bar",children:[v(Af,{type:"output",name:e}),v("span",{className:"plotly-name",children:"Plotly"})]})})})),l8=xe()({library:"plotly",name:"plotlyOutput",title:"Plotly Plot",takesChildren:!1,UiComponent:o8,settingsInfo:{outputId:{inputType:"string",label:"Output ID for plot",defaultValue:"plot"},width:{label:"Width",inputType:"cssMeasure",defaultValue:"100%",optional:!0},height:{label:"Height",inputType:"cssMeasure",defaultValue:"400px",optional:!0}},serverBindings:{outputs:{outputIdKey:"outputId",renderScaffold:`renderPlotly({ plot_ly(z = ~volcano, type = "surface") -})`}},iconSrc:_g,category:"Plotting",description:"Output for interactive `plotly` plots."}),a8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAADKUlEQVR4nO3cMY5VVQDG8Q8QaFyACiWFvVqwiyERjHuQAoohbsAEKLTARRiCYtgGxsR6So0LgAYIeRR3bmKGZ0Hi5zl3+P2S17xM8eXkP/e9meKc2e12gf/a2dEDOJ2ERYWwqBAWFcKiQlhUCIsKYVEhLCqERYWwqBAWFcKiQlhUCIsKYVEhLCqERYWwqBAWFcKiQlhUCIsKYVEhLCqERYWwqBAWFcKiQlhUCIsKYVEhLCqERYWwqBAWFcKiQlhUCIsKYVEhLCqERYWwqBAWFcKiQlhUCIsKYVEhLCqERYWwqBAWFcKiQlhUfDB6wD8d/nS07+0LSQ6OX1eTfHL83vvmeZI/k/ye5JckvyZ5efKH7n115X+etd9UYe1xLcm9JHOc1lgfJvn0+PV1kqMkd5L8PHLUv5n1o/BckrtZDk1U+11J8ijLOZ0bvOUtsz6xvktyOHrERqzndGfoihNmfGJ9GVG9q8Ms5zaN2cK6kOT70SM26odM9EfNbGFdT3J59IiNupTkxugRq9nCOhg9YOMORg9YzRbWF6MHbNznowesZgvro9EDNu7j0QNWs4V1cfSAjfPlndNNWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIi4rZwno2esDGvXX7zCizhfX36AEbN835zRbWH6MHbNzT0QNWs4X1ePSAjXs8esBqtrAeZrm1jnf3V5bzm8JsYb1Mcnv0iI26leTF6BGr2cJKlt+6+6NHbMz9TPS0SuYMK0m+TfJg9IiN+DHLeU1l1rBeJ7mZ5Za6vVcpk6Ms94l9k+W8pjLrHaSrR0meZDnAa0k+y3LB2PmRowZ5leUL+m9ZruN+mIn+IXrSmd1uN3oDp9CsH4VsnLCoEBYVwqJCWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIi4o3LCE7MROKhbQAAAAASUVORK5CYII=",s8="_container_tyghz_1",u8={container:s8},c8=({uiArguments:e,wrapperProps:t})=>{const{label:n="My Action Button",width:r}=e;return v("div",W(P({className:u8.container},t),{children:v(rt,{style:r?{width:r}:void 0,children:n})}))},f8=xe()({title:"Action Button",library:"shiny",name:"actionButton",takesChildren:!1,UiComponent:c8,iconSrc:a8,settingsInfo:{inputId:{inputType:"string",label:"inputId",defaultValue:"myButton"},label:{inputType:"string",label:"Label",defaultValue:"My Button"},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0}},serverBindings:{inputs:{inputIdKey:"inputId"}},category:"Inputs",description:"Creates an action button whose value is initially zero, and increments by one each time it is pressed."}),d8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAEtklEQVR4nO3cP2zcVADH8V8QA2QrEh2RqCxRiY2OYQplpFvikY0qS0YndK9UvMFSyASjCRMIiUopU7tRtiJUWWEHiW6VYDkGP+sOp07Of37yXd73I0XxucmLh6/8bPfubcxmMwFje2XqA8DlRFiwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCggVhwYKwYEFYsCAsWBAWLAgLFoQFC8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCggVhwYKwYEFYsHh16gOYSlaUbf90JXz18Tx8nZGnSc8h11O0YTVcl7Qn6QNJ7w4c66mkh5LuS/p94Fhri6lQui3pN0n7Gh6Vwhj7YczbI4y3lmI/Y30s6cvGvtbpbAmL0+hGGPsfSV/3HG9txRzWm6qmq9pjSft5mvw6ZNCsKN+T9IWkrbDrvqQfJf01ZNx1E/NUuCfp9bD9RNL20KgkKYyxLemXsOu18LeiEnNY7y9sf5qnyb9jDRzGutPyt6IQ81S4tbD9eMhAWVEeSDoILz/M0+RJY8yts791ucV8xtqsN/I0edF3kKwov5J0L7yso2qOuXnmFy+5mMMaLJypPgkvd+uoQFi9ZUV5TfMz1WGeJidTHs+qIaz+vg3fj/M0+WzSI1lBhNVDmAJvqHqQejjx4awkwuooTIH1HeBhnianUx7PqiKs7g5U/bfNSZ4mR1MfzKoirA6yoryh+V0gU+A5CKub+i7wiEcL54v5yXurcHF+T9Ud327Yd1PSzfAj3AVegDNWQ1aUVzQ/M+1kRVk/VtgJ34+4YL8YYTXkafJc0u7Crp3GE3Yu2JdAWC+Rp8mx/n9xXp/BTri2Wg5htQhP048bu5uv0SLmsP6uN7KifKPlZw41f5vyaZfnVuFardb3rc5rK+a7wkeSboXtjyR90/yBcJHeFt1Fbi1sP+o5xtqK+Yz1w8L23awo3xpr4DDW3YVd34819rrYmM1mUx/DJMIHVk8lvR12/akqhp8l9X3j36aqzybekXQ17PtD0jU+sBqXPUk/he2rkj43/Y3oxDwVStIDVWeYZ4axn4WxHxjGXnmxn7Gkaup7R9WT9W1Vn6jp+x71F6ou1B9K+m6Uo1tThDV3LJ5TjSb2qRAmhAULwoIFYcGCi/ezLCv6xYawKqzoNzKmQlb0s4j9jMWKfiYxh8WKfkYxT4Ws6GcUc1is6GcU81TIin5GMZ+xWNHPKOawBmNFv3aE1RMr+p2PsPpjRb9zEFYPrOh3McLqiBX9lkNY3bGi3xIIqwNW9FseYXXDin5LivnJeytW9BuOM1YDK/qNg7AaWNFvHIT1EqzoNxxhtWBFv2FiDosV/YxivitkRT+jmM9YrOhnxIp+rOhnEfNUKLGin03MU6HEin42sZ+xJFb0s4j2GgtesU+FMCEsWBAWLAgLFoQFC8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCggVhwYKwYEFYsCAsWBAWLAgLFoQFC8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiz+AwEFRrQUQeonAAAAAElFTkSuQmCC",p8="_container_162lp_1",h8="_checkbox_162lp_14",Jd={container:p8,checkbox:h8},m8=({uiArguments:e,wrapperProps:t})=>{const n=e.choices;return U("div",W(P({className:Jd.container,style:{width:e.width}},t),{children:[v("label",{children:e.label}),v("div",{children:Object.keys(n).map((r,i)=>v("div",{className:Jd.radio,children:U("label",{className:Jd.checkbox,children:[v("input",{type:"checkbox",name:n[r],value:n[r],defaultChecked:i===0}),v("span",{children:r})]})},r))})]}))},g8=xe()({library:"shiny",name:"checkboxGroupInput",title:"Checkbox Group",takesChildren:!1,UiComponent:m8,settingsInfo:{inputId:{inputType:"string",label:"inputId",defaultValue:"myCheckboxGroup"},label:{inputType:"string",label:"label",defaultValue:"Checkbox Group"},choices:{label:"Choices",inputType:"list",defaultValue:{"choice a":"a","choice b":"b"}},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0}},serverBindings:{inputs:{inputIdKey:"inputId"}},iconSrc:d8,category:"Inputs",description:"Create a group of checkboxes that can be used to toggle multiple choices independently. The server will receive the input as a character vector of the selected values."}),y8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAGAUlEQVR4nO3cz2scZQDG8W+sjQf1UBH80Z7qBjwVZNuCUMFDLx5E25hsQOtFUUoF9bDTtH+AbTaggkppoRd7yZpie29uFYS2UfGaNRfbWvHQix5MkXiYN2Yyidnddp7s7jvPBxY6k915X+iX2TeT3RlaXl7GrGgP9XoCFieHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbxcK8noJQ0W508bQ9wAHgJeBF4Ftje5VB/Ab8CPwFXge+An9u9qFGrdDnM4Ig6rDbeAd4D9hdwrEeB58NjIuy7BpwDzhdw/IFTxrCeBM4Ab4jH2R8erwBHgT/E4/WVsq2xjgA/oo8qaxT4IYxdGmU6Yx0Bvt5g/xJwOTy+B243apWlbg6cNFuPAbuAF4BDwGvAcOYpuzJjX+jm2INqaHl5uddzkMks3p8CbpD+B2ddApJGrdLRKr+LcSvAFHA496ObwF7gd/DiPQZnWBvVP8DJRq3SUAwWQh1Nmq0E+ATYFn60K8wlH1x0yrDGOkb69pQliyorjHEyt/sQ8IF67F4rQ1hv57YvbkVUK8JYF3O7o1/Ixx5WlbXXqZaAj3swj4/C2Cv2k661ohX7GutAbnu2UavcbPeioaGhjgeozyzsBsZIL7buBiYbtcpU9jmNWuVW0mx9A7yVm9uNjgcaMLGfsV7KbV8u8uAhqivAaUJU0xMjU//z9PzY+blFJfaw9uW2rxd14PrMwg7SqHaHXVObRAXrz05RvxXGHtbTue07BR77LKtRzU5PjEy2ef5vue1nCpxL34k9rOzVbxq1yt9FHLQ+s3CcdF0FsAi83+41G1zN7/YTFAMl9rAKV59ZqJKuqVaMT0+M3O3VfPqVw+re2cy/J6cnRuZ7NpM+5rC6EN4Cq2Fzvs1ivdQcVofCpYXjmV3jvZrLIHBYnTsO7Aj/npyeGFns5WT6ncPqQH1m4SDplXWARb8FtuewOpN9C3RUHYj9b4UdSZqtKulve1XSa1LnVn4WzlYHw+bc9MTIufVHsDyfsVJXWP1t72z47W+Fz1b3wWes1ByrV9IBTtdnFuZIF+vZs9Xcls9sQPmMBTRqlXEgf6HzNGvPVrNbN6PBF3tYf2Y3kmbr8U2eOw5k/zSTXVstPujaKmm2hnO77j3I8fpd7GF1/ImCRq2y2R+Ti1iw58fOzy0qsYeVv3/Cns2e3KhVZtk4oiLCyn/+KtpPj0L8YV3Nbb/ewWsmST8K8992QZ9eyI+dn1tUYv/CapW1Z4Yl4LlOPvde8Dx2Ar8Aj2R272vUKtGetWI/Y82T3vVlxTDwaQ/m8Rlro7qO3woHXv5+DWNJs1XfqsHDWGO53RvdQyIqZQjrK9Z/Q+ZU0mzJv42cNFvHgFO53ZeBL9Vj91pZrrwfJf3Gzs6wvQ34Imm2Xib9HqDipiCnWH+7pFthLtErS1h3gBOsfwsaBV5Nmq1Z0jvPzAO3GrVKVxcvk2ZrO2m0VdJ7M4yR+yJHcIJivynUt8oSFqzel+pz4InM/mHgzfAAOr53aTfuAh9SkntjQTnWWFkXSC+SfruFY14KY5YmKihfWJCuc0aBd1l7KaJo18IYh0lvuFYqZXorzDsfHntZvR13lfu7Hfc94DbpGm3ldtxRX6dqJ+or79Y7ZXwrtC3gsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDssk/gWz/xACdMer2wAAAABJRU5ErkJggg==",v8="_container_1x0tz_1",w8="_label_1x0tz_10",m0={container:v8,label:w8},b8=({uiArguments:e,wrapperProps:t})=>{var l;const n=(l=e.width)!=null?l:"auto",r=P({},e),[i,o]=O.useState(r.value);return O.useEffect(()=>{o(r.value)},[r.value]),v("div",W(P({className:m0.container+" shiny::checkbox",style:{width:n}},t),{children:U("label",{htmlFor:r.inputId,children:[v("input",{id:r.inputId,type:"checkbox",checked:i,onChange:a=>o(a.target.checked)}),v("span",{className:m0.label,children:r.label})]})}))},E8=xe()({library:"shiny",name:"checkboxInput",title:"Checkbox Input",takesChildren:!1,UiComponent:b8,settingsInfo:{inputId:{inputType:"string",label:"inputId",defaultValue:"myCheckboxInput"},label:{inputType:"string",label:"label",defaultValue:"Checkbox Input"},value:{inputType:"boolean",label:"Starting value",defaultValue:!1},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0}},serverBindings:{inputs:{inputIdKey:"inputId"}},iconSrc:y8,category:"Inputs",description:"Create a checkbox that can be used to specify logical values."}),S8=["shiny::tabPanel"];function Vx(e){return S8.includes(e.uiName)}function Dg(e){return Vx(e)?e.uiArguments.title:null}function $x({uiChildren:e}){let t=[];return e==null||e.forEach(n=>{const r=Dg(n);r&&t.push(r)}),t}function Hx({uiChildren:e}){var n;const t=e==null?void 0:e[0];return t&&(n=Dg(t))!=null?n:"First Tab"}const A8="_container_10z2l_1",x8={container:A8};function Gx(r){var i=r,{title:e,children:t}=i,n=ye(i,["title","children"]);return v("div",W(P({className:x8.container,"data-tab-id":e,"aria-label":`tab panel ${e}`},n),{children:t}))}function Lg(e){return CA(e)&&"uiName"in e&&typeof e.uiName=="string"&&eC.has(e.uiName)}function C8(e,t){return!e||!t?!1:ul(e,t)}const _8="_container_qbb7e_1",k8="_header_qbb7e_13",T8="_tabContents_qbb7e_21",I8="_pageTitle_qbb7e_26",O8="_tabHolder_qbb7e_39",P8="_tab_qbb7e_21",N8="_newTabDropDetector_qbb7e_99",R8="_addTabButton_qbb7e_104",D8="_tabDropDetector_qbb7e_112",fr={container:_8,header:k8,tabContents:T8,pageTitle:I8,tabHolder:O8,tab:P8,newTabDropDetector:N8,addTabButton:R8,tabDropDetector:D8},L8={uiName:"unknownUiFunction",uiArguments:{text:"Dummy ui node for app previews"}};function F8(e){const t=Qa(r=>r.app_info);return k.useMemo(()=>Lg(t)?Ei(t,e):L8,[e,t])}const M8=({name:e,isActive:t,index:n,parentPath:r})=>{const i=er(r,n),o=rs(),l=F8(i),a=SA({node:l,path:i,canDrag:!0}),s=C8(i,o);return v("div",W(P({className:fr.tab,"data-active-tab":t,"data-selected-tab":s},a),{style:{order:n},"aria-label":t?`Active tab ${e}`:`Select ${e} tab`,children:e}))};function B8({uiChildren:e,parentPath:t}){return v(Ne,{children:e.map((n,r)=>{const i=er(t,r);return v(bi,{path:i,node:n},Ef(i))})})}const U8="_container_fe3r8_1",z8="_emptyTabPanelDropDetector_fe3r8_8",g0={container:U8,emptyTabPanelDropDetector:z8},Jx=["shiny::navbarPage","shiny::tabPanel","gridlayout::grid_card","gridlayout::grid_card_plot","gridlayout::grid_card_text"],j8={rejected:Jx},W8=({uiArguments:e,uiChildren:t,path:n,wrapperProps:r})=>{const i=t&&t.length>0;return v("div",W(P({className:g0.container},r),{children:i?v(B8,{uiChildren:t,parentPath:n}):v(zi,{className:g0.emptyTabPanelDropDetector,index:0,parentPath:n,dropFilters:j8,parentNodeType:"shiny::tabPanel"})}))},Y8={rejected:Jx.filter(e=>e!=="shiny::tabPanel")},V8=({uiName:e})=>e!=="shiny::tabPanel"?{uiName:"shiny::tabPanel",uiArguments:{title:"Tab Panel"}}:null;function y0({index:e,parentPath:t,children:n,baseWidth:r}){return v(zi,{className:fr.tabDropDetector,"aria-label":"tab drop detector",parentPath:t,parentNodeType:"shiny::tabPanel",index:e,dropFilters:Y8,wrappingNode:V8,style:{"--baseWidth":r,order:e-1},children:n})}function $8(e,t=0){const[n,r]=k.useState(t);return k.useEffect(()=>{e<=n&&r(e-1)},[n,e]),{activeTab:n,setActiveTab:o=>{r(o)}}}function Qx(o){var l=o,{path:e,title:t,children:n,className:r=""}=l,i=ye(l,["path","title","children","className"]);const a=G8(n),s=a.length,u=rs(),{activeTab:c,setActiveTab:f}=$8(a.length),d=bg();return k.useEffect(()=>{const p=er(e,c);if(!u)return;Ui(u)>=Ui(p)&&f(u[Ui(p)-1])},[c,e,u,f]),U("div",W(P({className:Ke(r,fr.container)},i),{children:[U("div",{className:fr.header,children:[v("h1",{className:fr.pageTitle,children:t}),U("div",{className:fr.tabHolder,"aria-label":"tabs container",children:[a.map((p,h)=>v(M8,{name:p,parentPath:e,isActive:h===c,index:h},p+h)),Zu(s).map(p=>v(y0,{parentPath:e,index:p,baseWidth:"10px"},p)),v(y0,{parentPath:e,index:s,baseWidth:"25px",children:v(K8,{className:fr.addTabButton,label:"Add new tab",onClick:p=>{p.stopPropagation(),d({path:er(e,s),node:H8})}})})]})]}),v("div",{className:fr.tabContents,children:J8(n,c)})]}))}const H8={uiName:"shiny::tabPanel",uiArguments:{title:"Empty Tab"},uiChildren:[]};function G8(e){let t=[];return k.Children.forEach(e,n=>{if(!k.isValidElement(n))return null;const r=n.props.title;typeof r=="string"&&t.push(r)}),t}function J8(e,t){return k.Children.map(e,(n,r)=>k.isValidElement(n)&&typeof n.props.title=="string"?v("div",{className:fr.tabContents,"data-active-tab":r===t,children:n}):n)}const Q8={display:"block"};function K8({label:e,onClick:t,className:n}){return v(lu,{variant:["icon","transparent"],className:n,placement:"bottom-start","aria-label":e,popoverContent:e,onClick:t,children:v(Ig,{style:Q8})})}const q8="_noTabsMessage_130qz_1",Kx={noTabsMessage:q8},X8=({uiArguments:{title:e},uiChildren:t,path:n,wrapperProps:r})=>{var l;const o=((l=t==null?void 0:t.length)!=null?l:0)>0;return v(Qx,W(P({path:n,title:e,className:Kx.container},r),{children:t?t.map((a,s)=>{const u=er(n,s),c=Vx(a)?a.uiArguments.title:"unknown tab";return v(Gx,{title:c,children:v(bi,{path:u,node:a})},Ef(u))}):v(Z8,{hasChildren:o})}))};function Z8({hasChildren:e}){return e?null:v("div",{className:Kx.noTabsMessage,children:v("span",{children:"Empty page. Drag elements or Tab Panel on to add content"})})}const e7=xe()({library:"shiny",name:"navbarPage",title:"Navbar Page",takesChildren:!0,UiComponent:X8,settingsInfo:{title:{inputType:"string",label:"Page title",defaultValue:"navbar-page"},collapsible:{label:"Collapse navigation on mobile",inputType:"boolean",defaultValue:!1},id:{inputType:"string",label:"Id for tabset",defaultValue:"tabset-default-id",optional:!0},selected:{inputType:"dropdown",optional:!0,label:"Selected tab on load",defaultValue:e=>e?Hx(e):"First Tab",choices:e=>e?$x(e):["First Tab"]},theme:{inputType:"omitted",optional:!0}},category:"layouts",description:"Layout an app with tab-based navigation"}),t7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAGlUlEQVR4nO3cz28UZRzH8XdFIRE8lOhJTs30YATUlgQv3OCipiYkMEU9CSn+CJ7caf8EmF6IJlYa0IviDiQmGvFSbhxEQ1GCxMOOPeHVPQgkNCH18DzTbne72267387s9vNKNtvuzm6fDO8+++zslL6FhQVEOu2pvAcgvUlhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJp7OewAAUZLW3zQEnAAOAS8DuzZ7TAX3ALgH3AC+A27X3hmHQR5jWqYQYdW5CJzMexAFtws46C+fApeAU7mOqE7RwvoBGAHmgS9xv41/xmHwINdRFUyUpLuAvbhZ/QPcL+ILwNt5jqtWkcK6iIvqH+CtOAz+yHc4xeV/0W4CN6Mk/Rr4CbfvLlGQ2b4oi/fXcDtkHkXVFr+v3gQeA+/j9mXuijJjveOvL2ylqFZ407JmtQv0OAzuREk6DZzB7cvfNzy4DSrKjHXIX1/OdRTdLdt3h1putUmKMmMN+evbLbeqEyXpGHABOD45Oni1/v5SuXIMGAMO19w8DUxMjg5WFxYWap9rADgLHKvZ9lwcBhPtjKlDPvTXU208JpulCvFSWJQZ6xmAOAzm23zcWLM7SuXKGHCF5VFlj7lVKlf6sxt8VDMsjwpgPErSW22OaaNGgM/9ZWStD4rD4LH/crvFoNpVlLDaEiXpcJSkM8Bwi83G/fW5ydHBvsnRwT7gADAHDNTcn207AFwHdsdhULvtsJ8ZN8M+4Ftgm79c9rd1na4KK0rS/ihJF4BbNM5Ei0rlymF8KJOjg4svZZOjg7NA9n3t47OZ6nQcBlWAOAxmcS+b+Oeytgf4meWfMuz0t+3ZhJ/fUUVZY63HNO4fvCGwydHB60Bfk8fN1d8Qh8HuVX5Wte3RtedZ4BorB5QF9zrwyHgcHdNVYfnZZDGYKEmvrONpsrXVbKuNoiTNFv5VoOGNQQdtw33CsL/FNvv8NkeBJ4Zj6ZiuCqtDsvXS9Ep3Rkl6lqX11yxwPA6Dhlmugz5jbYv0bFH/keFYOqar1lgbVSpXssMJE369tZph4IJ/12jlY9wsvJZLV0QFWygsH9U4LqpzzbaLw2DCvyvcjXuXOIw7bCFt2BJhlcqVGVxUp1tFVSsOg2ocBkdYOuTQ9F2oNOrpNVapXBnAzTYDNDk6vwbZca/+1TZcpy9YOtK+mim65OWwZ8PyUc3ggjjSbE3l109/A9Umhx2y9ZXVIYczwIusvoD/0W/bFXr5pbB2pmq6UPfv+OaA/ihJZ6Ik7YfFg7Ez/jnm4jC4bjTOJ7gzEu622OYu8C5dcqgBenTGKpUr4yx93DNTKldW2qyKW6ADnMbNboeBf+tOZ6kCx21Guugh8AbwC40HSe/7+7rqLNpenbFafYbYwM9GB2g8EHoVOOA/3rGWBVR7dP0R7iS++5vw8zuqr/bUkbxESTqPO8NhxzrOcOhaTU70GwG+918fxa2tGtT/JY4/D/4/4EEcBs91bpTrU5QZKzsPa6jlVltDtkj/hCZRNbHXX9/r+IjWoShh3fDXJ3IdRXFM4Q5DtCPbdzdabrVJivJSOIT7XO4xcDAOgzs5D6mrREm6H/gN2AEMx2HQ1pm4FooyY90GvsLtmGtRkr6a73C6R5Skr+BOq9mB24e5RwXFOtxwEnget3j9NUrSKeAb4K84DB7mOrKCiZJ0J/AS8B7uqP123HqsEH9TCMV5Kaz9Vn9i375lf2JfhP+7oSgvhbVO4Y4pncetu7rmrMlN9Ai3b87j9lWh/t8GKMiMJb2niDOW9ACFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmPgfvKFXQMGTndIAAAAASUVORK5CYII=";function qx({label:e,children:t}){return U("div",{className:"LabeledInputCategory",children:[v("div",{className:"divider-line",children:v("label",{children:e})}),v("section",{className:"grouped-inputs",children:t}),v("div",{className:"divider-line"})]})}const n7="_container_yicbr_1",r7={container:n7},i7=({uiArguments:e,wrapperProps:t})=>{var l;const n=P({},e),r=(l=n.width)!=null?l:"200px",[i,o]=O.useState(n.value);return O.useEffect(()=>{o(n.value)},[n.value]),U("div",W(P({className:Ke(r7.container,"shiny::numericInput"),style:{width:r}},t),{children:[v("span",{children:n.label}),v(_f,{type:"number",value:i,onChange:o,min:n.min,max:n.max,step:n.step})]}))},o7=xe()({library:"shiny",name:"numericInput",title:"Numeric Input",takesChildren:!1,UiComponent:i7,settingsInfo:{inputId:{inputType:"string",label:"inputId",defaultValue:"myNumericInput"},label:{inputType:"string",label:"label",defaultValue:"Numeric Input"},min:{label:"Min",inputType:"number",defaultValue:0,optional:!0},max:{label:"Max",inputType:"number",defaultValue:10,optional:!0},value:{label:"Start value",inputType:"number",defaultValue:5},step:{inputType:"number",label:"Step size",defaultValue:1,optional:!0},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0}},settingsFormRender:({inputs:e})=>U(Ne,{children:[e.inputId,e.label,U(qx,{label:"Values",children:[e.min,e.max,e.value,e.step]}),e.width]}),serverBindings:{inputs:{inputIdKey:"inputId"}},iconSrc:t7,category:"Inputs",description:"An input control for entry of numeric values"}),l7=({uiArguments:{outputId:e,width:t,height:n="400px"},wrapperProps:r})=>v("div",W(P({className:Sh.container,style:{height:n,width:t}},r),{children:v(lx,{outputId:e})})),a7=xe()({library:"shiny",name:"plotOutput",title:"Plot Output",takesChildren:!1,UiComponent:l7,settingsInfo:{outputId:{inputType:"string",label:"Output ID for plot",defaultValue:"plot"},width:{label:"Width",inputType:"cssMeasure",defaultValue:"100%",optional:!0},height:{label:"Height",inputType:"cssMeasure",defaultValue:"400px",optional:!0}},serverBindings:{outputs:{outputIdKey:"outputId",renderScaffold:`renderPlot({ +})`}},iconSrc:Ig,category:"Plotting",description:"Output for interactive `plotly` plots."}),a8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAADKUlEQVR4nO3cMY5VVQDG8Q8QaFyACiWFvVqwiyERjHuQAoohbsAEKLTARRiCYtgGxsR6So0LgAYIeRR3bmKGZ0Hi5zl3+P2S17xM8eXkP/e9meKc2e12gf/a2dEDOJ2ERYWwqBAWFcKiQlhUCIsKYVEhLCqERYWwqBAWFcKiQlhUCIsKYVEhLCqERYWwqBAWFcKiQlhUCIsKYVEhLCqERYWwqBAWFcKiQlhUCIsKYVEhLCqERYWwqBAWFcKiQlhUCIsKYVEhLCqERYWwqBAWFcKiQlhUCIsKYVEhLCqERYWwqBAWFcKiQlhUfDB6wD8d/nS07+0LSQ6OX1eTfHL83vvmeZI/k/ye5JckvyZ5efKH7n115X+etd9UYe1xLcm9JHOc1lgfJvn0+PV1kqMkd5L8PHLUv5n1o/BckrtZDk1U+11J8ijLOZ0bvOUtsz6xvktyOHrERqzndGfoihNmfGJ9GVG9q8Ms5zaN2cK6kOT70SM26odM9EfNbGFdT3J59IiNupTkxugRq9nCOhg9YOMORg9YzRbWF6MHbNznowesZgvro9EDNu7j0QNWs4V1cfSAjfPlndNNWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIi4rZwno2esDGvXX7zCizhfX36AEbN835zRbWH6MHbNzT0QNWs4X1ePSAjXs8esBqtrAeZrm1jnf3V5bzm8JsYb1Mcnv0iI26leTF6BGr2cJKlt+6+6NHbMz9TPS0SuYMK0m+TfJg9IiN+DHLeU1l1rBeJ7mZ5Za6vVcpk6Ms94l9k+W8pjLrHaSrR0meZDnAa0k+y3LB2PmRowZ5leUL+m9ZruN+mIn+IXrSmd1uN3oDp9CsH4VsnLCoEBYVwqJCWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIiwphUSEsKoRFhbCoEBYVwqJCWFQIi4o3LCE7MROKhbQAAAAASUVORK5CYII=",s8="_container_tyghz_1",u8={container:s8},c8=({uiArguments:e,wrapperProps:t})=>{const{label:n="My Action Button",width:r}=e;return v("div",W(P({className:u8.container},t),{children:v(rt,{style:r?{width:r}:void 0,children:n})}))},f8=xe()({title:"Action Button",library:"shiny",name:"actionButton",takesChildren:!1,UiComponent:c8,iconSrc:a8,settingsInfo:{inputId:{inputType:"string",label:"inputId",defaultValue:"myButton"},label:{inputType:"string",label:"Label",defaultValue:"My Button"},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0}},serverBindings:{inputs:{inputIdKey:"inputId"}},category:"Inputs",description:"Creates an action button whose value is initially zero, and increments by one each time it is pressed."}),d8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAEtklEQVR4nO3cP2zcVADH8V8QA2QrEh2RqCxRiY2OYQplpFvikY0qS0YndK9UvMFSyASjCRMIiUopU7tRtiJUWWEHiW6VYDkGP+sOp07Of37yXd73I0XxucmLh6/8bPfubcxmMwFje2XqA8DlRFiwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCggVhwYKwYEFYsCAsWBAWLAgLFoQFC8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCggVhwYKwYEFYsHh16gOYSlaUbf90JXz18Tx8nZGnSc8h11O0YTVcl7Qn6QNJ7w4c66mkh5LuS/p94Fhri6lQui3pN0n7Gh6Vwhj7YczbI4y3lmI/Y30s6cvGvtbpbAmL0+hGGPsfSV/3HG9txRzWm6qmq9pjSft5mvw6ZNCsKN+T9IWkrbDrvqQfJf01ZNx1E/NUuCfp9bD9RNL20KgkKYyxLemXsOu18LeiEnNY7y9sf5qnyb9jDRzGutPyt6IQ81S4tbD9eMhAWVEeSDoILz/M0+RJY8yts791ucV8xtqsN/I0edF3kKwov5J0L7yso2qOuXnmFy+5mMMaLJypPgkvd+uoQFi9ZUV5TfMz1WGeJidTHs+qIaz+vg3fj/M0+WzSI1lBhNVDmAJvqHqQejjx4awkwuooTIH1HeBhnianUx7PqiKs7g5U/bfNSZ4mR1MfzKoirA6yoryh+V0gU+A5CKub+i7wiEcL54v5yXurcHF+T9Ud327Yd1PSzfAj3AVegDNWQ1aUVzQ/M+1kRVk/VtgJ34+4YL8YYTXkafJc0u7Crp3GE3Yu2JdAWC+Rp8mx/n9xXp/BTri2Wg5htQhP048bu5uv0SLmsP6uN7KifKPlZw41f5vyaZfnVuFardb3rc5rK+a7wkeSboXtjyR90/yBcJHeFt1Fbi1sP+o5xtqK+Yz1w8L23awo3xpr4DDW3YVd34819rrYmM1mUx/DJMIHVk8lvR12/akqhp8l9X3j36aqzybekXQ17PtD0jU+sBqXPUk/he2rkj43/Y3oxDwVStIDVWeYZ4axn4WxHxjGXnmxn7Gkaup7R9WT9W1Vn6jp+x71F6ou1B9K+m6Uo1tThDV3LJ5TjSb2qRAmhAULwoIFYcGCi/ezLCv6xYawKqzoNzKmQlb0s4j9jMWKfiYxh8WKfkYxT4Ws6GcUc1is6GcU81TIin5GMZ+xWNHPKOawBmNFv3aE1RMr+p2PsPpjRb9zEFYPrOh3McLqiBX9lkNY3bGi3xIIqwNW9FseYXXDin5LivnJeytW9BuOM1YDK/qNg7AaWNFvHIT1EqzoNxxhtWBFv2FiDosV/YxivitkRT+jmM9YrOhnxIp+rOhnEfNUKLGin03MU6HEin42sZ+xJFb0s4j2GgtesU+FMCEsWBAWLAgLFoQFC8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiwICxaEBQvCggVhwYKwYEFYsCAsWBAWLAgLFoQFC8KCBWHBgrBgQViwICxYEBYsCAsWhAULwoIFYcGCsGBBWLAgLFgQFiz+AwEFRrQUQeonAAAAAElFTkSuQmCC",p8="_container_162lp_1",h8="_checkbox_162lp_14",Jd={container:p8,checkbox:h8},m8=({uiArguments:e,wrapperProps:t})=>{const n=e.choices;return U("div",W(P({className:Jd.container,style:{width:e.width}},t),{children:[v("label",{children:e.label}),v("div",{children:Object.keys(n).map((r,i)=>v("div",{className:Jd.radio,children:U("label",{className:Jd.checkbox,children:[v("input",{type:"checkbox",name:n[r],value:n[r],defaultChecked:i===0}),v("span",{children:r})]})},r))})]}))},g8=xe()({library:"shiny",name:"checkboxGroupInput",title:"Checkbox Group",takesChildren:!1,UiComponent:m8,settingsInfo:{inputId:{inputType:"string",label:"inputId",defaultValue:"myCheckboxGroup"},label:{inputType:"string",label:"label",defaultValue:"Checkbox Group"},choices:{label:"Choices",inputType:"list",defaultValue:{"choice a":"a","choice b":"b"}},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0}},serverBindings:{inputs:{inputIdKey:"inputId"}},iconSrc:d8,category:"Inputs",description:"Create a group of checkboxes that can be used to toggle multiple choices independently. The server will receive the input as a character vector of the selected values."}),y8="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAGAUlEQVR4nO3cz2scZQDG8W+sjQf1UBH80Z7qBjwVZNuCUMFDLx5E25hsQOtFUUoF9bDTtH+AbTaggkppoRd7yZpie29uFYS2UfGaNRfbWvHQix5MkXiYN2Yyidnddp7s7jvPBxY6k915X+iX2TeT3RlaXl7GrGgP9XoCFieHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbxcK8noJQ0W508bQ9wAHgJeBF4Ftje5VB/Ab8CPwFXge+An9u9qFGrdDnM4Ig6rDbeAd4D9hdwrEeB58NjIuy7BpwDzhdw/IFTxrCeBM4Ab4jH2R8erwBHgT/E4/WVsq2xjgA/oo8qaxT4IYxdGmU6Yx0Bvt5g/xJwOTy+B243apWlbg6cNFuPAbuAF4BDwGvAcOYpuzJjX+jm2INqaHl5uddzkMks3p8CbpD+B2ddApJGrdLRKr+LcSvAFHA496ObwF7gd/DiPQZnWBvVP8DJRq3SUAwWQh1Nmq0E+ATYFn60K8wlH1x0yrDGOkb69pQliyorjHEyt/sQ8IF67F4rQ1hv57YvbkVUK8JYF3O7o1/Ixx5WlbXXqZaAj3swj4/C2Cv2k661ohX7GutAbnu2UavcbPeioaGhjgeozyzsBsZIL7buBiYbtcpU9jmNWuVW0mx9A7yVm9uNjgcaMLGfsV7KbV8u8uAhqivAaUJU0xMjU//z9PzY+blFJfaw9uW2rxd14PrMwg7SqHaHXVObRAXrz05RvxXGHtbTue07BR77LKtRzU5PjEy2ef5vue1nCpxL34k9rOzVbxq1yt9FHLQ+s3CcdF0FsAi83+41G1zN7/YTFAMl9rAKV59ZqJKuqVaMT0+M3O3VfPqVw+re2cy/J6cnRuZ7NpM+5rC6EN4Cq2Fzvs1ivdQcVofCpYXjmV3jvZrLIHBYnTsO7Aj/npyeGFns5WT6ncPqQH1m4SDplXWARb8FtuewOpN9C3RUHYj9b4UdSZqtKulve1XSa1LnVn4WzlYHw+bc9MTIufVHsDyfsVJXWP1t72z47W+Fz1b3wWes1ByrV9IBTtdnFuZIF+vZs9Xcls9sQPmMBTRqlXEgf6HzNGvPVrNbN6PBF3tYf2Y3kmbr8U2eOw5k/zSTXVstPujaKmm2hnO77j3I8fpd7GF1/ImCRq2y2R+Ti1iw58fOzy0qsYeVv3/Cns2e3KhVZtk4oiLCyn/+KtpPj0L8YV3Nbb/ewWsmST8K8992QZ9eyI+dn1tUYv/CapW1Z4Yl4LlOPvde8Dx2Ar8Aj2R272vUKtGetWI/Y82T3vVlxTDwaQ/m8Rlro7qO3woHXv5+DWNJs1XfqsHDWGO53RvdQyIqZQjrK9Z/Q+ZU0mzJv42cNFvHgFO53ZeBL9Vj91pZrrwfJf3Gzs6wvQ34Imm2Xib9HqDipiCnWH+7pFthLtErS1h3gBOsfwsaBV5Nmq1Z0jvPzAO3GrVKVxcvk2ZrO2m0VdJ7M4yR+yJHcIJivynUt8oSFqzel+pz4InM/mHgzfAAOr53aTfuAh9SkntjQTnWWFkXSC+SfruFY14KY5YmKihfWJCuc0aBd1l7KaJo18IYh0lvuFYqZXorzDsfHntZvR13lfu7Hfc94DbpGm3ldtxRX6dqJ+or79Y7ZXwrtC3gsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDssk/gWz/xACdMer2wAAAABJRU5ErkJggg==",v8="_container_1x0tz_1",w8="_label_1x0tz_10",v0={container:v8,label:w8},b8=({uiArguments:e,wrapperProps:t})=>{var l;const n=(l=e.width)!=null?l:"auto",r=P({},e),[i,o]=O.useState(r.value);return O.useEffect(()=>{o(r.value)},[r.value]),v("div",W(P({className:v0.container+" shiny::checkbox",style:{width:n}},t),{children:U("label",{htmlFor:r.inputId,children:[v("input",{id:r.inputId,type:"checkbox",checked:i,onChange:a=>o(a.target.checked)}),v("span",{className:v0.label,children:r.label})]})}))},E8=xe()({library:"shiny",name:"checkboxInput",title:"Checkbox Input",takesChildren:!1,UiComponent:b8,settingsInfo:{inputId:{inputType:"string",label:"inputId",defaultValue:"myCheckboxInput"},label:{inputType:"string",label:"label",defaultValue:"Checkbox Input"},value:{inputType:"boolean",label:"Starting value",defaultValue:!1},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0}},serverBindings:{inputs:{inputIdKey:"inputId"}},iconSrc:y8,category:"Inputs",description:"Create a checkbox that can be used to specify logical values."}),S8=["shiny::tabPanel"];function Vx(e){return S8.includes(e.uiName)}function Mg(e){return Vx(e)?e.uiArguments.title:null}function $x({uiChildren:e}){let t=[];return e==null||e.forEach(n=>{const r=Mg(n);r&&t.push(r)}),t}function Hx({uiChildren:e}){var n;const t=e==null?void 0:e[0];return t&&(n=Mg(t))!=null?n:"First Tab"}const A8="_container_10z2l_1",x8={container:A8};function Gx(r){var i=r,{title:e,children:t}=i,n=ye(i,["title","children"]);return v("div",W(P({className:x8.container,"data-tab-id":e,"aria-label":`tab panel ${e}`},n),{children:t}))}function Bg(e){return CA(e)&&"uiName"in e&&typeof e.uiName=="string"&&eC.has(e.uiName)}function C8(e,t){return!e||!t?!1:ul(e,t)}const _8="_container_qbb7e_1",k8="_header_qbb7e_13",T8="_tabContents_qbb7e_21",I8="_pageTitle_qbb7e_26",O8="_tabHolder_qbb7e_39",P8="_tab_qbb7e_21",N8="_newTabDropDetector_qbb7e_99",R8="_addTabButton_qbb7e_104",D8="_tabDropDetector_qbb7e_112",fr={container:_8,header:k8,tabContents:T8,pageTitle:I8,tabHolder:O8,tab:P8,newTabDropDetector:N8,addTabButton:R8,tabDropDetector:D8},L8={uiName:"unknownUiFunction",uiArguments:{text:"Dummy ui node for app previews"}};function F8(e){const t=Ka(r=>r.app_info);return k.useMemo(()=>Bg(t)?Ei(t,e):L8,[e,t])}const M8=({name:e,isActive:t,index:n,parentPath:r})=>{const i=er(r,n),o=is(),l=F8(i),a=SA({node:l,path:i,canDrag:!0}),s=C8(i,o);return v("div",W(P({className:fr.tab,"data-active-tab":t,"data-selected-tab":s},a),{style:{order:n},"aria-label":t?`Active tab ${e}`:`Select ${e} tab`,children:e}))};function B8({uiChildren:e,parentPath:t}){return v(Me,{children:e.map((n,r)=>{const i=er(t,r);return v(bi,{path:i,node:n},Ef(i))})})}const U8="_container_fe3r8_1",z8="_emptyTabPanelDropDetector_fe3r8_8",w0={container:U8,emptyTabPanelDropDetector:z8},Jx=["shiny::navbarPage","shiny::tabPanel","gridlayout::grid_card","gridlayout::grid_card_plot","gridlayout::grid_card_text"],j8={rejected:Jx},W8=({uiArguments:e,uiChildren:t,path:n,wrapperProps:r})=>{const i=t&&t.length>0;return v("div",W(P({className:w0.container},r),{children:i?v(B8,{uiChildren:t,parentPath:n}):v(zi,{className:w0.emptyTabPanelDropDetector,index:0,parentPath:n,dropFilters:j8,parentNodeType:"shiny::tabPanel"})}))},Y8={rejected:Jx.filter(e=>e!=="shiny::tabPanel")},V8=({uiName:e})=>e!=="shiny::tabPanel"?{uiName:"shiny::tabPanel",uiArguments:{title:"Tab Panel"}}:null;function b0({index:e,parentPath:t,children:n,baseWidth:r}){return v(zi,{className:fr.tabDropDetector,"aria-label":"tab drop detector",parentPath:t,parentNodeType:"shiny::tabPanel",index:e,dropFilters:Y8,wrappingNode:V8,style:{"--baseWidth":r,order:e-1},children:n})}function $8(e,t=0){const[n,r]=k.useState(t);return k.useEffect(()=>{e<=n&&r(e-1)},[n,e]),{activeTab:n,setActiveTab:o=>{r(o)}}}function Qx(o){var l=o,{path:e,title:t,children:n,className:r=""}=l,i=ye(l,["path","title","children","className"]);const a=G8(n),s=a.length,u=is(),{activeTab:c,setActiveTab:f}=$8(a.length),d=Ag();return k.useEffect(()=>{const p=er(e,c);if(!u)return;Ui(u)>=Ui(p)&&f(u[Ui(p)-1])},[c,e,u,f]),U("div",W(P({className:Ke(r,fr.container)},i),{children:[U("div",{className:fr.header,children:[v("h1",{className:fr.pageTitle,children:t}),U("div",{className:fr.tabHolder,"aria-label":"tabs container",children:[a.map((p,h)=>v(M8,{name:p,parentPath:e,isActive:h===c,index:h},p+h)),ec(s).map(p=>v(b0,{parentPath:e,index:p,baseWidth:"10px"},p)),v(b0,{parentPath:e,index:s,baseWidth:"25px",children:v(K8,{className:fr.addTabButton,label:"Add new tab",onClick:p=>{p.stopPropagation(),d({path:er(e,s),node:H8})}})})]})]}),v("div",{className:fr.tabContents,children:J8(n,c)})]}))}const H8={uiName:"shiny::tabPanel",uiArguments:{title:"Empty Tab"},uiChildren:[]};function G8(e){let t=[];return k.Children.forEach(e,n=>{if(!k.isValidElement(n))return null;const r=n.props.title;typeof r=="string"&&t.push(r)}),t}function J8(e,t){return k.Children.map(e,(n,r)=>k.isValidElement(n)&&typeof n.props.title=="string"?v("div",{className:fr.tabContents,"data-active-tab":r===t,children:n}):n)}const Q8={display:"block"};function K8({label:e,onClick:t,className:n}){return v(lu,{variant:["icon","transparent"],className:n,placement:"bottom-start","aria-label":e,popoverContent:e,onClick:t,children:v(Ng,{style:Q8})})}const q8="_noTabsMessage_130qz_1",Kx={noTabsMessage:q8},X8=({uiArguments:{title:e},uiChildren:t,path:n,wrapperProps:r})=>{var l;const o=((l=t==null?void 0:t.length)!=null?l:0)>0;return v(Qx,W(P({path:n,title:e,className:Kx.container},r),{children:t?t.map((a,s)=>{const u=er(n,s),c=Vx(a)?a.uiArguments.title:"unknown tab";return v(Gx,{title:c,children:v(bi,{path:u,node:a})},Ef(u))}):v(Z8,{hasChildren:o})}))};function Z8({hasChildren:e}){return e?null:v("div",{className:Kx.noTabsMessage,children:v("span",{children:"Empty page. Drag elements or Tab Panel on to add content"})})}const e7=xe()({library:"shiny",name:"navbarPage",title:"Navbar Page",takesChildren:!0,UiComponent:X8,settingsInfo:{title:{inputType:"string",label:"Page title",defaultValue:"navbar-page"},collapsible:{label:"Collapse navigation on mobile",inputType:"boolean",defaultValue:!1},id:{inputType:"string",label:"Id for tabset",defaultValue:"tabset-default-id",optional:!0},selected:{inputType:"dropdown",optional:!0,label:"Selected tab on load",defaultValue:e=>e?Hx(e):"First Tab",choices:e=>e?$x(e):["First Tab"]},theme:{inputType:"omitted",optional:!0}},category:"layouts",description:"Layout an app with tab-based navigation"}),t7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAGlUlEQVR4nO3cz28UZRzH8XdFIRE8lOhJTs30YATUlgQv3OCipiYkMEU9CSn+CJ7caf8EmF6IJlYa0IviDiQmGvFSbhxEQ1GCxMOOPeHVPQgkNCH18DzTbne72267387s9vNKNtvuzm6fDO8+++zslL6FhQVEOu2pvAcgvUlhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJp7OewAAUZLW3zQEnAAOAS8DuzZ7TAX3ALgH3AC+A27X3hmHQR5jWqYQYdW5CJzMexAFtws46C+fApeAU7mOqE7RwvoBGAHmgS9xv41/xmHwINdRFUyUpLuAvbhZ/QPcL+ILwNt5jqtWkcK6iIvqH+CtOAz+yHc4xeV/0W4CN6Mk/Rr4CbfvLlGQ2b4oi/fXcDtkHkXVFr+v3gQeA+/j9mXuijJjveOvL2ylqFZ407JmtQv0OAzuREk6DZzB7cvfNzy4DSrKjHXIX1/OdRTdLdt3h1putUmKMmMN+evbLbeqEyXpGHABOD45Oni1/v5SuXIMGAMO19w8DUxMjg5WFxYWap9rADgLHKvZ9lwcBhPtjKlDPvTXU208JpulCvFSWJQZ6xmAOAzm23zcWLM7SuXKGHCF5VFlj7lVKlf6sxt8VDMsjwpgPErSW22OaaNGgM/9ZWStD4rD4LH/crvFoNpVlLDaEiXpcJSkM8Bwi83G/fW5ydHBvsnRwT7gADAHDNTcn207AFwHdsdhULvtsJ8ZN8M+4Ftgm79c9rd1na4KK0rS/ihJF4BbNM5Ei0rlymF8KJOjg4svZZOjg7NA9n3t47OZ6nQcBlWAOAxmcS+b+Oeytgf4meWfMuz0t+3ZhJ/fUUVZY63HNO4fvCGwydHB60Bfk8fN1d8Qh8HuVX5Wte3RtedZ4BorB5QF9zrwyHgcHdNVYfnZZDGYKEmvrONpsrXVbKuNoiTNFv5VoOGNQQdtw33CsL/FNvv8NkeBJ4Zj6ZiuCqtDsvXS9Ep3Rkl6lqX11yxwPA6Dhlmugz5jbYv0bFH/keFYOqar1lgbVSpXssMJE369tZph4IJ/12jlY9wsvJZLV0QFWygsH9U4LqpzzbaLw2DCvyvcjXuXOIw7bCFt2BJhlcqVGVxUp1tFVSsOg2ocBkdYOuTQ9F2oNOrpNVapXBnAzTYDNDk6vwbZca/+1TZcpy9YOtK+mim65OWwZ8PyUc3ggjjSbE3l109/A9Umhx2y9ZXVIYczwIusvoD/0W/bFXr5pbB2pmq6UPfv+OaA/ihJZ6Ik7YfFg7Ez/jnm4jC4bjTOJ7gzEu622OYu8C5dcqgBenTGKpUr4yx93DNTKldW2qyKW6ADnMbNboeBf+tOZ6kCx21Guugh8AbwC40HSe/7+7rqLNpenbFafYbYwM9GB2g8EHoVOOA/3rGWBVR7dP0R7iS++5vw8zuqr/bUkbxESTqPO8NhxzrOcOhaTU70GwG+918fxa2tGtT/JY4/D/4/4EEcBs91bpTrU5QZKzsPa6jlVltDtkj/hCZRNbHXX9/r+IjWoShh3fDXJ3IdRXFM4Q5DtCPbdzdabrVJivJSOIT7XO4xcDAOgzs5D6mrREm6H/gN2AEMx2HQ1pm4FooyY90GvsLtmGtRkr6a73C6R5Skr+BOq9mB24e5RwXFOtxwEnget3j9NUrSKeAb4K84DB7mOrKCiZJ0J/AS8B7uqP123HqsEH9TCMV5Kaz9Vn9i375lf2JfhP+7oSgvhbVO4Y4pncetu7rmrMlN9Ai3b87j9lWh/t8GKMiMJb2niDOW9ACFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmPgfvKFXQMGTndIAAAAASUVORK5CYII=";function qx({label:e,children:t}){return U("div",{className:"LabeledInputCategory",children:[v("div",{className:"divider-line",children:v("label",{children:e})}),v("section",{className:"grouped-inputs",children:t}),v("div",{className:"divider-line"})]})}const n7="_container_yicbr_1",r7={container:n7},i7=({uiArguments:e,wrapperProps:t})=>{var l;const n=P({},e),r=(l=n.width)!=null?l:"200px",[i,o]=O.useState(n.value);return O.useEffect(()=>{o(n.value)},[n.value]),U("div",W(P({className:Ke(r7.container,"shiny::numericInput"),style:{width:r}},t),{children:[v("span",{children:n.label}),v(_f,{type:"number",value:i,onChange:o,min:n.min,max:n.max,step:n.step})]}))},o7=xe()({library:"shiny",name:"numericInput",title:"Numeric Input",takesChildren:!1,UiComponent:i7,settingsInfo:{inputId:{inputType:"string",label:"inputId",defaultValue:"myNumericInput"},label:{inputType:"string",label:"label",defaultValue:"Numeric Input"},min:{label:"Min",inputType:"number",defaultValue:0,optional:!0},max:{label:"Max",inputType:"number",defaultValue:10,optional:!0},value:{label:"Start value",inputType:"number",defaultValue:5},step:{inputType:"number",label:"Step size",defaultValue:1,optional:!0},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0}},settingsFormRender:({inputs:e})=>U(Me,{children:[e.inputId,e.label,U(qx,{label:"Values",children:[e.min,e.max,e.value,e.step]}),e.width]}),serverBindings:{inputs:{inputIdKey:"inputId"}},iconSrc:t7,category:"Inputs",description:"An input control for entry of numeric values"}),l7=({uiArguments:{outputId:e,width:t,height:n="400px"},wrapperProps:r})=>v("div",W(P({className:Sh.container,style:{height:n,width:t}},r),{children:v(lx,{outputId:e})})),a7=xe()({library:"shiny",name:"plotOutput",title:"Plot Output",takesChildren:!1,UiComponent:l7,settingsInfo:{outputId:{inputType:"string",label:"Output ID for plot",defaultValue:"plot"},width:{label:"Width",inputType:"cssMeasure",defaultValue:"100%",optional:!0},height:{label:"Height",inputType:"cssMeasure",defaultValue:"400px",optional:!0}},serverBindings:{outputs:{outputIdKey:"outputId",renderScaffold:`renderPlot({ #Plot code goes here $0plot(rnorm(100)) -})`}},iconSrc:_g,category:"Outputs",description:"Render a `renderPlot()` within an application page."}),s7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAGa0lEQVR4nO3dT6hUZRjH8e9EZAu1TVoQXVIuZKkEbXVjm1rUhZAco1b9WQhJ/2CumW0qNW8LixIhIVpEOlaESos21ULXRSm4mEovJfhnpQWVdKfF+w7zztzXO+fOnMfrzPP7wOWeOefc95x7+XHeM++857mVZrOJSNluWugTkNGkYIkJBUtMKFhiQsESEwqWmFCwxISCJSYULDGhYIkJBUtMKFhiQsESEwqWmFCwxISCJSYULDGhYIkJBUtMKFhiQsESEwqWmFCwxISCJSYULDGhYIkJBUtMKFhiQsESEwqWmFCwxISCJSYULDGhYIkJBUtMKFhiQsESEwqWmFCwxISCJSYULDFx80KfwEKo1RtFd10PbIjf7weWAVeB34GzwHHg+/i9p6nq+DzPdHi5DFYPFWALMAmMZbYvAlbFr4fjuj+AXcB+QP9DBnWF3R4DzgD7yIfqWu6KP3MGmCj9rIaQgtW2HThKZ6CmgXcIV6a7gVuBJcB9wCNx22/J/mPAEWDndTjfG5q6wuAA8FzyehrYBhyeqo7/17XvP8Dp+PVNrd54HagSQtYK5XbgTuBZy5O+kSlY8BadoToKPD1VHb9S5IenquMzwMFavXEM+Ah4Mm56BjgHvFHiuQ4N713hBLAjef0+8HjRUKWmquN/Ak8Be5PVO3B6z1Xx+I8wk+GGs7S7rzrhajPoH6QCHCR0jxC61RXAjKfhBs9XrC20QzVN6A5zobqdMJTwE/B3/PoReDNu69aMbU3H12PxWK54DtZr6XLsyrptBBpx37WEMaxFwAOEe6df4j4dYluTyarJ7n1GnddgrSMMH0DoDg9l9tkIfA7cNkc7S+M+s8IFHI5tE4+1rq8zHVJeg7UhWT4U39mllgEfE+6XeqnEfZenK2ObaWDTY448r8Fanyx/l9m+lXA1Kmop8FJmfdr2+sz2keU1WGuS5ZOZ7f0METyaWZe2vSazfWR5DVb6bu5SZvuqPtq8N7PuYrK8rI82h5bXYFn4d6FP4EbiNVjpVSo3FnW6jzZ/zaxLr1IXM9tHltdgnUqWV2e2H+2jza8z63rdy40sr8FKZ3w+lNn+IXB5Hu1dBt7LrE+HGArNMh0VXoP1bbJcrdUb3X+HC4TZCUU+N2zGfS+kK2Ob1WRVblhjZHkN1gnCvHWAe4BNmX2+jOvnmulwBXgi7tttU2ybeKwTfZzn0PIaLAgT81r21OqNxZl9vgBWArsJ90hXgb+AH4C347ZZoYpt7bnGsVzwHKz9dM5AOED+I5xLhBmha4FbgMXAg4QPoXNjYJXYVjpzYn9pZz0kPM8gnSF8dHMkvt4MnAdeyXx2WEit3qgA78a2WrbGY7ni+YoFYVghffDhReCrWr2xZL4Nxe7vU+DVZPVO+hu6GHqer1gtO4A7aM97nwBO1uqNScLDFHNebeK7v02Ee6r0CZ9P6Jz27IqCFTxPeIyrdfUaI0wv3lOrNz4jDBWcoj2ksJwwsLqBEKqVXe3tJtyXuaVgte0CfiYMjrauPGOEx8C2FWxjmnBP5bL7S3m/x+p2jPDgwwu03zEWcS7+zAoUKkBXrJwZwuPy++gsCrKa9izRC4Su8Tihm3T1cU0RCtbcjqPQ9EVdoZhQsMSEgiUmFCwxoWCJCb0rnFupNUg9UbBmUw3SEqgr7KQapCVRsNpUg7RE6goD1SAtmYKlGqQmvHeFqkFqxHuwPkiW68DL/c53B5iqjjcJU5PrXcdw93d29wsnZtUgjcEYSGxDNUgX+gQWUJEapH1RDVK/wSpSg3RQqkHqUK8apANTDVKfetUgLYtqkDpzvepWqQapM71qkJZFNUhFyuQ1WL1qkJZFNUid6VWDtCyqQepMrxqkZVENUmd61SAdmGqQ+lSkBumgVIPUqSI1SPuiGqS+gzWrBmks9TiQ2Ib7GqSeg9WqQdqyGdg7yP2WapC2eQ4WqAapGc15Vw1SEwpWoBqkJVOw2lSDtETe77G6qQZpSXTFmk01SEtQaTZVw0LKp65QTChYYkLBEhMKlphQsMSEgiUmFCwxoWCJCQVLTChYYkLBEhMKlphQsMSEgiUmFCwxoWCJCQVLTChYYkLBEhMKlphQsMSEgiUmFCwxoWCJCQVLTChYYkLBEhMKlphQsMSEgiUmFCwxoWCJCQVLTChYYkLBEhMKlphQsMSEgiUmFCwxoWCJCQVLTPwPfv2SDtx+O9MAAAAASUVORK5CYII=",u7="_container_sgn7c_1",v0={container:u7},c7=({uiArguments:e,wrapperProps:t})=>{const n=e.choices,r=Object.keys(n),i=Object.values(n),[o,l]=k.useState(i[0]);return k.useEffect(()=>{i.includes(o)||l(i[0])},[o,i]),U("div",W(P({className:v0.container,style:{width:e.width}},t),{children:[v("label",{children:e.label}),v("div",{children:i.map((a,s)=>v("div",{className:v0.radio,children:U("label",{children:[v("input",{type:"radio",name:e.inputId,value:a,onChange:u=>l(u.target.value),checked:a===o}),v("span",{children:r[s]})]})},a))})]}))},f7=xe()({library:"shiny",name:"radioButtons",title:"Radio Buttons",takesChildren:!1,UiComponent:c7,settingsInfo:{inputId:{inputType:"string",label:"inputId",defaultValue:"myRadioButtons"},label:{inputType:"string",label:"label",defaultValue:"Radio Buttons"},choices:{label:"Choices",inputType:"list",defaultValue:{"choice a":"a","choice b":"b"}},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0,useDefaultIfOptional:!0}},serverBindings:{inputs:{inputIdKey:"inputId"}},iconSrc:s7,category:"Inputs",description:"Create a set of radio buttons used to select an item from a list."}),d7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAGcElEQVR4nO3cz28UZRzH8feKSgJcSvTmqU4PRkClJMQDt3JRgyeZop6EUH8ET+6UP4FOL0QTsA3oRXEHThLxUm4cRGNRROJhh57wSi9AAoash+cZmC5L2U3323m2/bySzbK7T9eH8d1nprNTaq1WC5F+e6bqCcjapLDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITz1Y9gUKS5e1P7QQOAHuAV4Etqz2nwN0GrgOXgB+AK+UX0ziqYk4PBRNWm1PAwaonEbgtwG5/+wI4DRyqdEYlIYb1I7APuA98jftu/DuNo9uVziowSZZvAbbhVvWPcd+ILwLvVjmvQmhhncJF9S/wThpHf1Y7nXD5b7TLwOUky78FfsJtu9MEsNqHdPD+Bm6D3EdR9cRvq7eBe8BHuG1ZqZBWrPf9/cx6iqrDDy1dKx+gp3F0NcnyWeAIblv+seLJrUBIYe3x92d6+aJarfbE1+qN5i1gCNg6PT6y2GlMq9Xq5T8XujO4sPY8baC1kHaFO/39lWVHrR+f+FsvilWq8l1hSGE9B5DG0f2qJxKAfcBX/rav2y9K4+ie/+PzFpPqRUhhibMd+B7Y4G9n/HMDJaRjrK4lWX4MOAwM1RvN4ulzwNT0+Mh8hy8Zrjeax4Ax//gicLR9bJLlQ0Dx3kveN42jTu/bby8BP7P0U4bN/rk3gZurMIe+GLgVK8nyOWASd1Be9h4wV280258HmONRVPg/z9UbzeHS+w4Dv7M0qofv61+3tAm4gIurXRHcJuM59M1AhZVk+RguigVgVxpHtenxkdr0+EgNtwoN8XgYAIvAhB+3tTT2WGnMDDDsX3s5jaNaGkc1YLbD2H7bgPuEYccyY7b7MRsM59E3A7UrTOPoIvCk8wsXcdF1WrH2F7u96fGRxXqjOQHc8OOL1WoMF+D+NI4enppI42gCmOjbX6KzL+nuIL04qP/UdjorN1BhFZIsn8StTMOlY6zlLJQfTI+PLNQbzQVgOMnyUdxKBTBfjmoVfeZva8bAheWPscaeOvDpOgVURVRr0kCFlWT5YR4dY+1P42i+OPNebzQn6e04qNhlLnZ4TlZooA7eebTLml3Jj//1RrPY/S2mcbQAFO816k85rLYTQKvL24kK5tezQQurWF3GygH4c1STy3zd2eLUgr+f8c/PAvi4zuFWrLPlUwtJls8kWd5Ksvxs//4ajzkCnO9i3Hk/NngDtSvEhTCJ2x3eSrKcLg/ex4AbbWPnganS46PAaDG27aqDRf+6lQe4KxJ+4cln2a8BH/ixwRuoFcv/xLYXd2qhbIrl/8dPtT0+B+wtX/HgV61d+FWsfax/3dId4C06n12/6V8bmKtoa6FcNpJkeQvAn5RcNzpcj7Udd2VocZb9Lu7jnL/aB3b6hYlQtmNIK9Z/AEmWV/7JfMWu4a5jf+BvB+gQVSf+OngIYGULKaziOqydy45aH4qD9M/p7qC+sM3fX+/7jHoUUliX/P2BSmcRjpP0fmqh2HaXlh21CkI6xtqJ+0ntHrA7jaOrFU9poCRZvgP4DdgIjKZxVOmVuCGtWFeAb3Ab5kKS5a9XO53BkWT5a7jLajbitmHll3eHdh7rIPAC7lP8X5MsPwl8B/yTxtGdSmcWmCTLNwOvAB/iro1/Hnc8VvnvFEJYu8LyQ/2Kfe+W/Ip91f92Q0i7wrJDuJOVx3HHXXcrnU2Y7uK2zXHctgrm322AgFYsWVtCXbFkwCksMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDExP/hwWjHA5DRAwAAAABJRU5ErkJggg==",p7="_container_1e5dd_1",h7={container:p7},m7=({uiArguments:e,wrapperProps:t})=>{const n=e.choices,r=e.inputId;return U("div",W(P({className:h7.container},t),{children:[v("label",{htmlFor:r,children:e.label}),v("select",{id:r,children:Object.keys(n).map((i,o)=>v("option",{value:n[i],children:i},i))})]}))},g7=xe()({library:"shiny",name:"selectInput",title:"Select Input",takesChildren:!1,UiComponent:m7,settingsInfo:{inputId:{inputType:"string",label:"inputId",defaultValue:"mySelectInput"},label:{inputType:"string",label:"label",defaultValue:"Select Input"},choices:{label:"Choices",inputType:"list",defaultValue:{"choice a":"a","choice b":"b"}}},serverBindings:{inputs:{inputIdKey:"inputId"}},iconSrc:d7,category:"Inputs",description:"Create a select list that can be used to choose a single or multiple items from a list of values."}),y7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAES0lEQVR4nO3aP4gcZRyH8eckosWRQ4uAhaYJmCqNJmIpaGWiVl5voykV3QSSwuIscioqCNHu2rWSqIUIsdMiRkEbi2v8A4FYJUfAf7AW72xy6no32Zvvju/u84FhE5J597e5h93Mu7M0Go2QunZH3wNoPhmWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSliX98DJA2Gm7v9lbuAx4BngEeBg8AKcA34AfgS+BD4HPhtt8XWVw9NPeu8meuwdrAPeA54Fbhvwp+vAEea43ngKnAOeBf4fTYj1m0RPwofBC4D7zM5qkkOAG8Cl4DDobnmyqKFdRT4gvJONI0jzfmPdDbRnFqksA4DnwH37nGde4BP8Z1rR4sS1p3AkPJ/py6sAB8062qCpdFo1PcMrbS4wtvJy8DrHY2y3SvAG4F1/6W2K84a37FOABeBLWDU8khERbNu2xmmPbaAi4Ph5vHQa4ioLaw14AJl72m551lmZZnyej8aDDfX+h6mrZrCOg6caX59CtgPLLU4NsJzbbScY9pjP3C6ea4zg+HmifDr6URNYb3UPJ4G1ikfEW08lBnnpofD629RNmdPNb9/Mfx8nagprPEP8PxtnvdA14P8w/3h9cfeax7TIXeiprCm1dUWQ1/rj40v35dm9Hx7UlNYXzWPL9zmede7HmTG64+dbB4vzej59qSmsN5qHs9R9o/aXhX+lBnnpp/D6y8DA8rrhlv/Dv9rtW2QrnHrynARvba+euhs30O0UdM7FsBZ4GnK/VE3ep5lVm5QXu9TtUQFdd6PdaE52rqbctPegcAsv1CuOn8NrP03tX2lU81H4TS2fb+Y+q5wsH3d2n74SbV9FE7rHeDbjtf8Dni74zXnxqKE9QewSrmXvQvXgGebdTXBooQF8D3wOOX+9b24CjzRrKf/sEhhQdlkPQp8PeX53wDHqGSTsk+LFhbAj5R71k8CV1qec4Wy43+McoWpXdS43dCFPylf6m5Qbsd5knIXxEHKbSrXKQFdBj4BPmYGWwrzZK63G9SfRfwo1AwYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNSxF+9/aKLFqf7gQAAAABJRU5ErkJggg==",v7="_container_1f2js_1",w7="_sliderWrapper_1f2js_11",b7="_sliderInput_1f2js_16",Qd={container:v7,sliderWrapper:w7,sliderInput:b7},E7=({uiArguments:e,wrapperProps:t})=>{const n=P({},e),{width:r="200px"}=n,[i,o]=O.useState(n.value);return U("div",W(P({className:Ke(Qd.container,"shiny::sliderInput"),style:{width:r}},t),{children:[v("div",{children:n.label}),v("div",{className:Qd.sliderWrapper,children:v("input",{type:"range",min:n.min,max:n.max,value:i,onChange:l=>o(Number(l.target.value)),className:"slider "+Qd.sliderInput,"aria-label":"slider input","data-min":n.min,"data-max":n.max,draggable:!0,onDragStartCapture:l=>{l.stopPropagation(),l.preventDefault()}})}),U("div",{children:[v(Af,{type:"input",name:n.inputId})," = ",i]})]}))},S7=xe()({library:"shiny",name:"sliderInput",title:"Slider Input",takesChildren:!1,UiComponent:E7,settingsInfo:{inputId:{label:"Input ID",inputType:"string",defaultValue:"inputId"},label:{label:"Label text",inputType:"string",defaultValue:"Slider Input"},min:{label:"Min",inputType:"number",defaultValue:0},max:{label:"Max",inputType:"number",defaultValue:10},value:{label:"Start",inputType:"number",defaultValue:5},step:{inputType:"number",label:"Step size",defaultValue:1,optional:!0},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0,useDefaultIfOptional:!0}},settingsFormRender:({inputs:e})=>U(Ne,{children:[e.inputId,e.label,U(qx,{label:"Values",children:[e.min,e.max,e.value,e.step]}),e.width]}),serverBindings:{inputs:{inputIdKey:"inputId"}},iconSrc:y7,category:"Inputs",description:"Constructs a slider widget to select a number from a range. _(Dates and date-times not currently supported.)_"}),A7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAADSklEQVR4nO3cv0vUYQDH8c/pmWfpmV1G0uAPjAqiyYqWoK1oDKq5PdqE9qaG/ozAKWjpL4jWoKayrcWtIgqiuAYd9LQo8u3zfO39ghvux/C54y3PV9Br9fv9SLttqPQA7U+GJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlRLv0gF9ZXlkdfGg6yf0k15PMJhnd6007+JrkXZInSR4l+bD5yYe3FgtMqkO1YQ1YSvIsydHSQwaMJTm7cbuT5FqSV0UXVaIJR2EvydPUF9WgE1nfOVl6SA2aENa9JDOlR/yhuSR3S4+oQROOwhs7PTjb6+TS4mTmp8cy0RlOe7iFD/n+o5+PX7/n7dqXPH/zMWufvu30sttJHuBjKteEsLZdAV85M5Vr53p7PqQ93EpvfCS98ckszXfz+MVaXr//PPiy//eKfZMmHIUHNt+ZO9rJ1QJRDWoPtXLzwrF0x7b9bNbw22pxTQhri/ML3fCH3p/pjAzl4kK39IwqNS6s2V6n9IQtTh4/WHpClRoX1pHxkdITtpieqGtPLRoXVnuoloNw3ehI4z7CPeGn8o9qC70WhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCVHFP6zu8M0y+0Lp91Xy226qCCtJv/SAXVbL+yn2B/kehUIYlhCGJUQt11i/uxaYunzqcPf0zKGFjfuf9mLQ39i4SP6xvLL6svCUarT6/VquM7WfeBQKYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQvwEAzs9K42yqRkAAAAASUVORK5CYII=",x7=xe()({library:"shiny",name:"tabPanel",title:"Tab Panel",takesChildren:!0,UiComponent:W8,settingsInfo:{title:{label:"Title of panel",inputType:"string",defaultValue:"My Shiny App"}},iconSrc:A7,category:"Tabs",description:"Panel containing content for tab-based interfaces like navbar pages"}),Xx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAGBElEQVR4nO3dW4hVVRzH8e/cdMyZ8TIamZEXFA1CozQTougtqUBJLYkgeumlGAoa6TUqSKFE6qEeInoQRUwrqncjtCia0pepeSjSYKLwkpiOTtPDOsKZfc5c9JzfWmfv8/vAedh7z/BfZ81v9l5n7ctpGRsbw6zeWlM3wIrJwTIJB8skHCyTcLBMwsEyCQfLJBwsk3CwTMLBMgkHyyQcLJNwsEzCwTIJB8skHCyTcLBMwsEyCQfLJBwsk3CwTMLBMgkHyyQcLJNwsEzCwTIJB8skHCyTcLBMwsEyCQfLJBwsk3CwTMLBMgkHyyQcLJNwsEyiPVah/gND1VbPADaXXhuBW0vrWjI/l320s7dXbr8AnAJ+AA4DnwAjmZ9j1xMrsqskogWrii3ALiDOOy2+LmB16bUDGAJ2Ah+naEyKQ2Eb8CbhDTtUOiuAQ4S+botdPMUe6w2gP0HdZnWtr3fGLBp7j7WVylCNAHsJY6xuKscPlNaVv7y9cns3oQ/3Ujm26if0fTQxgzUDeDuz7jSwAegDjhMGoHZjLhD6sI/Qp6cz2/cQ/gZRxAzWNuC2suUR4FFgIGIbmsUA8AhwuWzdYmB7rAbEDNbmzPJ7OFRKPwLvZ9ZtjlU8ZrDWZ5b3RazdrLJ9vC5W4ZifCpdmlqMd75vYcaoP9uVSntKpmBW24vC5QpNwsEwi5hhrqhOpppGk373HMgkHyyQcLJOIOcbymCqNppvHsgLLU7AWAm8Bg8AlwqedWK+LwAngVWCu+H0WQspLk6/HOuBLYEGi+rOAO0uvZ4FNhKDZBGLusbJ7genqBT4lXaiyFhPaMyd1Q6bpRvu9Jnk4FPYBi1I3ImMp8ELqRjSyPBwKH6+2cklvJxtXzGHZwll0d7bR3la/Dz9XR8c49+9Vfhm+yNc/n2P4fNXz5U8Cr9WtaMHkIVgVd/I8dMc8Nq3plRVsb2uht6uD3q45rFvWw75jw5w8VXHV9CpgP3A7+kuA/gKOAR8Cv4lr1UXMQ+FUNwRMZNwfbemCTh4WhiqrvbWF7ffeTM+siv/BdkLoY1xXtgB4jHDh3oPX+bs32u81ycMYa5z1y3uiz/h1drSyYXlP5KpVzQReJ+wlG1rugrWktzNJ3ZW33JSkbhWdwDOpGzGVPIyxxpnf1ZGk7sLuCesOAx8Rbl4YBkbrVLILWAk8DdyV2XZ/nWrI5O56rPbWNKccZ3ZU3bn/CTwFnBWUPA/8AXwFfECYnL1mPmFsN53Lu309ViObIND70YSq3H/AwSrrG/pmFAerNgOR6pyMVKduHKza/B6pzt+R6tSNr8eqzZVIdS7V8Lu+HiuHYj3E5GqkOnXjYJmEg2USuZvHsuvmeSwrDgfLJBwsk/A8VvF5HsuKo1Eum4l290idpWz3P5NsS3508B7LJDyPVXyex7LiaJQx1mT/RfMeWDW3Z/Wi2ctLy+djNKia0leyjfYfGBpI1Ya8aJRgTebM0cGzZ44Ons3F/XQWeB6r+DyPZcXhYJmEg2USnscqPs9jWXE4WCbhYJmE57GKz/NYVhwOlkmkDFZDPy3FahMzWIOMf9743RFrN6v7GN/nv8YqHDNYP2WWd0Ss3ayyffxdrMIxg3Uks/wcsDZi/WazhtDH5Y7EKh4zWAeBU2XLM4HPqXy+ptVuLfAFoY+vOU31JwNKxAzWCPBSZt1i4BtgD+GLmGZHbE/RzCb04R7gW0LflnsRuByrMbGvID0I7AZeLls3g/B9OX1l67KTelOdSPX2ye0m4t4K0kw3vAK8k6Bus3qX0OdRpQjWKOGbs7YCQwnqN4shYBvwPPV79vy0pbyZ4hDwGeHNbwHuIYwL0nxDQP5dIQzQvwcOEw5903kOvETL2Fhe7263RuZzhSbhYJmEg2USDpZJOFgm4WCZhINlEg6WSThYJuFgmYSDZRIOlkk4WCbhYJmEg2USDpZJOFgm4WCZhINlEg6WSThYJuFgmYSDZRIOlkk4WCbhYJmEg2USDpZJOFgm4WCZhINlEg6WSThYJuFgmYSDZRIOlkk4WCbhYJmEg2USDpZJOFgm8T/aaPEMWSCgvwAAAABJRU5ErkJggg==",C7=({uiArguments:e,uiChildren:t,path:n,wrapperProps:r})=>{var o;const i=(o=t==null?void 0:t.length)!=null?o:0;return v(Qx,W(P({path:n},r),{children:i>0?t==null?void 0:t.map((l,a)=>{var c;const s=er(n,a),u=(c=Dg(l))!=null?c:"unknown tab";return v(Gx,{title:u,children:v(bi,{path:s,node:l})},Ef(s))}):v("div",{style:{padding:"5px"},children:v("span",{children:"Empty tabset. Drag elements or Tab Panel on to add content"})})}))},_7=xe()({library:"shiny",name:"tabsetPanel",title:"Tabset Panel",takesChildren:!0,UiComponent:C7,settingsInfo:{id:{inputType:"string",label:"Id for tabset",defaultValue:"tabset-default-id",optional:!0},selected:{inputType:"dropdown",optional:!0,label:"Selected tab on load",defaultValue:e=>e?Hx(e):"First Tab",choices:e=>e?$x(e):["First Tab"]}},iconSrc:Xx,category:"Tabs",description:"A container filled with tabs"}),k7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAGaklEQVR4nO3c309TZxzH8TeFUqzVwhgRMJtsdppFXcQZnWb+uDEzMdEsWUZmvNh0iRe7NfwBu+Ryyy5MHEvMEoNZ5sQsWUJmFJfhFhWzVZewZv6YozBFqEKhLbS7KNRWIaLy3TnFz+uKltOTh5M3z3k47aEkk8kgMtc8Tg9A5ieFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmChzegBTmtsitDSF8h+vAz4AtgCrgIBDQ3OrYeAKcA441tIUuuTweAq4csZqboscAS4Ch4CNKKrpBMgem0PAxclj5hqumbGmNLdFTgK7Sz0lbAoFWftygNpgOeVlrvwdcExyPE1fLMnlm8N0RWJMpDMHmtsiNS1NoT1Ojw2gJJPJOD0GIHsqBI4AB4ILyvhoax31lT6HR1UceocSfNUZJTY6DtDa0hQ64PSY3DQNNAIHSj0liuoJ1Vf62L+1jjJPCcD+5rZIo9NjclNYewHeWr5YUT2FukofG5cvnnq418mxgLvC2gLQuGzRnO3w0++u0dwWYSyVnrN9ulnesdvi5DjAXWGtA1hapdnqadU/OHY6FebxApRm1wnyFMoeHLtyJ8cB7gpL5hHXXceajdPhAX6K3GM4MZF7bkNDgC0rq1gyzcI/NpLi+G8DhKNxAFbX+XnnjepHth1LpfkxPMDZntis9iszK7oZ62hnLz9cGSyICuDX68McPtM77UL98JneXFQA4Wicw2d6icVTuedi8RRfdPxdEFX+fvO3lccrqhnrxu1RwtE4SxZ52be5tmAWOdqZjaf72j02ragseN3Ccg+711aztmExY6k0x7v6CEfjdPw+wHsbawE4eeE2/fdTrK7zs2d9DUG/F4Dvu29ztidWsK08XlGFtaxmQcEb1fleq/UTjsYZTU488r38CCu8HvasryF86gZXo6NAdrYKR+MEfKW8v6mWCu+DiXxXYw27GmsMfpr5rajCmtLVM8TPkRj992d3egou9BY+9ntZsshL//0U/UMJBkey+2l4wVcQlTy9ogtr6pT3rBaWPxqQ36eo5kpRhXX5+r0Z11hdPUOc6L4z632NJLOL/IpyD4xkn4snno8r9P+Hogrr7nD2lLU5FHymP//7hxL0308R8JXmFukA1+8mGEuldTqcA0V1BBeUlwLwZ1+84LLC6fAAHVcHZ3zd8a6+3OWCWDzFiQv/AvB2KPumbdDvZUNDgOHERMG2kP2rsLktwje/9M35zzOfFdWM1fjKYjquDhKOxgl/+9esXxeOxgmfulHw3KvVPjavrMo93rGmmhsDiWm3DfhK2bGm+tkG/5wpqhmrwuvh4PZ6Vtf5C57fuaqKdxtfnPF1O1dVFTze0BDgw21LC055Qb+XT3a8xLYVwUe2Pbi9vuCUKY/npk+QZoAZr1PJ7Ex+EpeWppCj7+a7acZKAUyk3RF6MUqO59adw06OA9wV1iWAfwYTTo+jaPXFklNfXnFyHOCusM4BXL7p+C9b0co7duecHAe4K6xjAOcjMaJDmrWeVHQoyflI7pMZx5wcC7grrEtA63g6Q2tnlF7FNWvRoQStnb2MZ9enrW64K9pNYTF5P1x7bHSczztu0d59h1t3E/mLUpmUHE9z626C9u47fNZxa+qewnY33FMI7rrckLvUMHm7uCsOUBH5sqUp9LHTg5jiqrAe8iawj+ytTK8D/oc3eM7FgT/ILtS/Jvu/LnKcvh7omrBkfnHVGkvmD4UlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaY+A/iJMS/OUnuYwAAAABJRU5ErkJggg==",T7="_container_yicbr_1",I7={container:T7},O7=r=>{var i=r,{uiArguments:o}=i,l=o,{width:e="200px"}=l,t=ye(l,["width"]),{wrapperProps:n}=i;const a="auto",s=P({},t),[u,c]=O.useState(s.value);return O.useEffect(()=>{c(s.value)},[s.value]),U("div",W(P({className:Ke(I7.container,"shiny::textInput"),style:{height:a,width:e}},n),{children:[v("label",{htmlFor:s.inputId,children:s.label}),v("input",{id:s.inputId,type:"text",value:u,onChange:f=>c(f.target.value),placeholder:s.placeholder})]}))},P7=xe()({library:"shiny",name:"textInput",title:"Text Input",takesChildren:!1,UiComponent:O7,settingsInfo:{inputId:{inputType:"string",label:"inputId",defaultValue:"myTextInput"},label:{inputType:"string",label:"label",defaultValue:"Text Input"},value:{inputType:"string",label:"Starting text",defaultValue:""},placeholder:{inputType:"string",label:"Empty input placeholder",defaultValue:"placeholder text",optional:!0},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0}},serverBindings:{inputs:{inputIdKey:"inputId"}},iconSrc:k7,category:"Inputs",description:"Create an input control for entry of unstructured text values."}),N7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAGh0lEQVR4nO3bv2skZQDG8W/8haBNIhbaqHu72Jv0olyw1CbZRfTsktJqk4CNgkVuF+wviIKNm2xz14kJ+AecsROUDWkE7W4LrQ4lFvNOMjOZ/ZXdJ/tGnw8cuezOvTNcvsw78+5k4ezsDLNZe2LeB2D/TQ7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbx1LwPIGthYWGm4zU7vXvARvj2qN2orc50BwVnZ2cjt9naP1EeQqlWvXrt+4wqLCv1CvBR+PuXwO9zPJaxOay4vQw8BF4M338MrAI/ze2IxuRrrLi9x0VUAEvAEfDGXI5mAg4rbn+XvLbIDYjLYcXtW+CXktejj8thxe1P4G3g15L3oo4r6ov3Zqd3G1gGtkn+I7NOgT2SZYTjCcfdJlmGqGRe3gO67UbtaIIxloG19LWwlLAHHLfq1b1JjmmIP4C3gB+A1wvvpXHdJrIL+oVx1l6uS7qO1ez0FoEDkv+wcey1G7XN4ovFdSxgJ4xbKW6b0W03auuD3gyxH3A59KJjYLNVr+ain2Id6yXK4wLoMySueaxjxToVHjJ+VAAbzU5vd8Q2lTDusKgA1pqd3kHZG81ObyOMMSoqSM5mh1v7J6P2N670zHUjpsXowspMMakjYL3dqC1k/wCbJGeF1HY40w1S4SKIu8CtzFjrJFNrai1ElD2uCnCvMGZxnFvhtdRiyb+Zxo2JK7qwyFyzED6GaTdq3eJG7UZtj2SxMGvUWe4UWGk3ajvtRu08pDD+Cvm4tgv/thjIanGcVr162qpXd0hCPT+mrf2TZWbnRsQVY1jZH8LQC+B2o9Ynf9YaNu30SWIovdAPY+1kx2p2estwfrbKRrsz7CK/Va92w/5Sk0zr44g+rujuCsOUMon+6E0AOM6eXQbsu9vs9PpcTJm3ScJdK2w68o6vVa8ujXlcVxX13WJ0YRU1O701kjNRhYs7vEFmcaF8zMUZJh0ve+12HM5u03ie5APld4FnpxxrkEXge+BN4GfRPgaKNqxwET/qTk8he1ZbLHyF/NR7VZ8C9RmMM8oLwBfAO9ewr5zowgrXMwfkr7XmJQ1qVksGqZUZjzfMa9e4r3PRhUVy95WNKl1hPy27O2x2epOueU3itPB1Vh6STFHX4cE17ScnqrDCqnY2krvtRm1n0PYi2aj7ha/F96/qM5KV9HXg6RmMN8gD4BPh+APFttyQO1Ndd1RhgTU77aXXU7mwRizEjuMv4APgGWBhij93gH8G7OMBSbiPpzzWK4nqjEX+hzru9DPtDzlrrTBeulbVJX8jsUF+hf2Srf2TR5mxdlr16tDtr+BD4GvgyZL35hoVxHfGmujMED7TG3dquh3uNAeNVSEfTzddVgjrX9kF0d0wbZfa2j8ZFOisRB0VxBdW9gewCByWfGa33Oz0tpud3iMuL1yOstvs9A6LgYV9/Eg+huI0XHx64rDZ6e2GIAHY2j+pbO2f7JLc1aaOik84TCn6qCDCx2bCWWjSYFK5x2cKj81MYjN8FpkTApzkQ+U+sNKqV8+n9Sl//esO8BUTRuXHZhKbjD917E2w7bjXbOtlUUHug+9xVt6PgdVsVFO6UlTzEl1Y7UatH36xdJ3kormoSzJNLZU93DfEafgccofLMaYfQC+VrZUVju+o3agthe3Ltt0jecBvZYZT4LCo7hNZVBDZVPh/cIWp8H3gGwZHVWdEVJ4Kreg5kjPglaOaF4cVt1dJ4iq6T8RRgcOKXQ/4rfDafSKPChxW7B6TPPLyHckzVZ9zA6ICX7ybiM9YJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJP4F7bdmR9UysBAAAAAAElFTkSuQmCC",R7="_container_1i6yi_1",D7={container:R7},L7=({uiArguments:e,wrapperProps:t})=>U("div",W(P({className:D7.container},t),{children:["Dynamic text from ",U("code",{children:["output$",e.outputId]})]})),F7=xe()({library:"shiny",name:"textOutput",title:"Text Output",takesChildren:!1,UiComponent:L7,settingsInfo:{outputId:{label:"Output ID",inputType:"string",defaultValue:"textOutput"}},serverBindings:{outputs:{outputIdKey:"outputId",renderScaffold:`renderText({ +})`}},iconSrc:Ig,category:"Outputs",description:"Render a `renderPlot()` within an application page."}),s7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAGa0lEQVR4nO3dT6hUZRjH8e9EZAu1TVoQXVIuZKkEbXVjm1rUhZAco1b9WQhJ/2CumW0qNW8LixIhIVpEOlaESos21ULXRSm4mEovJfhnpQWVdKfF+w7zztzXO+fOnMfrzPP7wOWeOefc95x7+XHeM++857mVZrOJSNluWugTkNGkYIkJBUtMKFhiQsESEwqWmFCwxISCJSYULDGhYIkJBUtMKFhiQsESEwqWmFCwxISCJSYULDGhYIkJBUtMKFhiQsESEwqWmFCwxISCJSYULDGhYIkJBUtMKFhiQsESEwqWmFCwxISCJSYULDGhYIkJBUtMKFhiQsESEwqWmFCwxISCJSYULDFx80KfwEKo1RtFd10PbIjf7weWAVeB34GzwHHg+/i9p6nq+DzPdHi5DFYPFWALMAmMZbYvAlbFr4fjuj+AXcB+QP9DBnWF3R4DzgD7yIfqWu6KP3MGmCj9rIaQgtW2HThKZ6CmgXcIV6a7gVuBJcB9wCNx22/J/mPAEWDndTjfG5q6wuAA8FzyehrYBhyeqo7/17XvP8Dp+PVNrd54HagSQtYK5XbgTuBZy5O+kSlY8BadoToKPD1VHb9S5IenquMzwMFavXEM+Ah4Mm56BjgHvFHiuQ4N713hBLAjef0+8HjRUKWmquN/Ak8Be5PVO3B6z1Xx+I8wk+GGs7S7rzrhajPoH6QCHCR0jxC61RXAjKfhBs9XrC20QzVN6A5zobqdMJTwE/B3/PoReDNu69aMbU3H12PxWK54DtZr6XLsyrptBBpx37WEMaxFwAOEe6df4j4dYluTyarJ7n1GnddgrSMMH0DoDg9l9tkIfA7cNkc7S+M+s8IFHI5tE4+1rq8zHVJeg7UhWT4U39mllgEfE+6XeqnEfZenK2ObaWDTY448r8Fanyx/l9m+lXA1Kmop8FJmfdr2+sz2keU1WGuS5ZOZ7f0METyaWZe2vSazfWR5DVb6bu5SZvuqPtq8N7PuYrK8rI82h5bXYFn4d6FP4EbiNVjpVSo3FnW6jzZ/zaxLr1IXM9tHltdgnUqWV2e2H+2jza8z63rdy40sr8FKZ3w+lNn+IXB5Hu1dBt7LrE+HGArNMh0VXoP1bbJcrdUb3X+HC4TZCUU+N2zGfS+kK2Ob1WRVblhjZHkN1gnCvHWAe4BNmX2+jOvnmulwBXgi7tttU2ybeKwTfZzn0PIaLAgT81r21OqNxZl9vgBWArsJ90hXgb+AH4C347ZZoYpt7bnGsVzwHKz9dM5AOED+I5xLhBmha4FbgMXAg4QPoXNjYJXYVjpzYn9pZz0kPM8gnSF8dHMkvt4MnAdeyXx2WEit3qgA78a2WrbGY7ni+YoFYVghffDhReCrWr2xZL4Nxe7vU+DVZPVO+hu6GHqer1gtO4A7aM97nwBO1uqNScLDFHNebeK7v02Ee6r0CZ9P6Jz27IqCFTxPeIyrdfUaI0wv3lOrNz4jDBWcoj2ksJwwsLqBEKqVXe3tJtyXuaVgte0CfiYMjrauPGOEx8C2FWxjmnBP5bL7S3m/x+p2jPDgwwu03zEWcS7+zAoUKkBXrJwZwuPy++gsCrKa9izRC4Su8Tihm3T1cU0RCtbcjqPQ9EVdoZhQsMSEgiUmFCwxoWCJCb0rnFupNUg9UbBmUw3SEqgr7KQapCVRsNpUg7RE6goD1SAtmYKlGqQmvHeFqkFqxHuwPkiW68DL/c53B5iqjjcJU5PrXcdw93d29wsnZtUgjcEYSGxDNUgX+gQWUJEapH1RDVK/wSpSg3RQqkHqUK8apANTDVKfetUgLYtqkDpzvepWqQapM71qkJZFNUhFyuQ1WL1qkJZFNUid6VWDtCyqQepMrxqkZVENUmd61SAdmGqQ+lSkBumgVIPUqSI1SPuiGqS+gzWrBmks9TiQ2Ib7GqSeg9WqQdqyGdg7yP2WapC2eQ4WqAapGc15Vw1SEwpWoBqkJVOw2lSDtETe77G6qQZpSXTFmk01SEtQaTZVw0LKp65QTChYYkLBEhMKlphQsMSEgiUmFCwxoWCJCQVLTChYYkLBEhMKlphQsMSEgiUmFCwxoWCJCQVLTChYYkLBEhMKlphQsMSEgiUmFCwxoWCJCQVLTChYYkLBEhMKlphQsMSEgiUmFCwxoWCJCQVLTChYYkLBEhMKlphQsMSEgiUmFCwxoWCJCQVLTPwPfv2SDtx+O9MAAAAASUVORK5CYII=",u7="_container_sgn7c_1",E0={container:u7},c7=({uiArguments:e,wrapperProps:t})=>{const n=e.choices,r=Object.keys(n),i=Object.values(n),[o,l]=k.useState(i[0]);return k.useEffect(()=>{i.includes(o)||l(i[0])},[o,i]),U("div",W(P({className:E0.container,style:{width:e.width}},t),{children:[v("label",{children:e.label}),v("div",{children:i.map((a,s)=>v("div",{className:E0.radio,children:U("label",{children:[v("input",{type:"radio",name:e.inputId,value:a,onChange:u=>l(u.target.value),checked:a===o}),v("span",{children:r[s]})]})},a))})]}))},f7=xe()({library:"shiny",name:"radioButtons",title:"Radio Buttons",takesChildren:!1,UiComponent:c7,settingsInfo:{inputId:{inputType:"string",label:"inputId",defaultValue:"myRadioButtons"},label:{inputType:"string",label:"label",defaultValue:"Radio Buttons"},choices:{label:"Choices",inputType:"list",defaultValue:{"choice a":"a","choice b":"b"}},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0,useDefaultIfOptional:!0}},serverBindings:{inputs:{inputIdKey:"inputId"}},iconSrc:s7,category:"Inputs",description:"Create a set of radio buttons used to select an item from a list."}),d7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAGcElEQVR4nO3cz28UZRzH8feKSgJcSvTmqU4PRkClJMQDt3JRgyeZop6EUH8ET+6UP4FOL0QTsA3oRXEHThLxUm4cRGNRROJhh57wSi9AAoash+cZmC5L2U3323m2/bySzbK7T9eH8d1nprNTaq1WC5F+e6bqCcjapLDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITz1Y9gUKS5e1P7QQOAHuAV4Etqz2nwN0GrgOXgB+AK+UX0ziqYk4PBRNWm1PAwaonEbgtwG5/+wI4DRyqdEYlIYb1I7APuA98jftu/DuNo9uVziowSZZvAbbhVvWPcd+ILwLvVjmvQmhhncJF9S/wThpHf1Y7nXD5b7TLwOUky78FfsJtu9MEsNqHdPD+Bm6D3EdR9cRvq7eBe8BHuG1ZqZBWrPf9/cx6iqrDDy1dKx+gp3F0NcnyWeAIblv+seLJrUBIYe3x92d6+aJarfbE1+qN5i1gCNg6PT6y2GlMq9Xq5T8XujO4sPY8baC1kHaFO/39lWVHrR+f+FsvilWq8l1hSGE9B5DG0f2qJxKAfcBX/rav2y9K4+ie/+PzFpPqRUhhibMd+B7Y4G9n/HMDJaRjrK4lWX4MOAwM1RvN4ulzwNT0+Mh8hy8Zrjeax4Ax//gicLR9bJLlQ0Dx3kveN42jTu/bby8BP7P0U4bN/rk3gZurMIe+GLgVK8nyOWASd1Be9h4wV280258HmONRVPg/z9UbzeHS+w4Dv7M0qofv61+3tAm4gIurXRHcJuM59M1AhZVk+RguigVgVxpHtenxkdr0+EgNtwoN8XgYAIvAhB+3tTT2WGnMDDDsX3s5jaNaGkc1YLbD2H7bgPuEYccyY7b7MRsM59E3A7UrTOPoIvCk8wsXcdF1WrH2F7u96fGRxXqjOQHc8OOL1WoMF+D+NI4enppI42gCmOjbX6KzL+nuIL04qP/UdjorN1BhFZIsn8StTMOlY6zlLJQfTI+PLNQbzQVgOMnyUdxKBTBfjmoVfeZva8bAheWPscaeOvDpOgVURVRr0kCFlWT5YR4dY+1P42i+OPNebzQn6e04qNhlLnZ4TlZooA7eebTLml3Jj//1RrPY/S2mcbQAFO816k85rLYTQKvL24kK5tezQQurWF3GygH4c1STy3zd2eLUgr+f8c/PAvi4zuFWrLPlUwtJls8kWd5Ksvxs//4ajzkCnO9i3Hk/NngDtSvEhTCJ2x3eSrKcLg/ex4AbbWPnganS46PAaDG27aqDRf+6lQe4KxJ+4cln2a8BH/ixwRuoFcv/xLYXd2qhbIrl/8dPtT0+B+wtX/HgV61d+FWsfax/3dId4C06n12/6V8bmKtoa6FcNpJkeQvAn5RcNzpcj7Udd2VocZb9Lu7jnL/aB3b6hYlQtmNIK9Z/AEmWV/7JfMWu4a5jf+BvB+gQVSf+OngIYGULKaziOqydy45aH4qD9M/p7qC+sM3fX+/7jHoUUliX/P2BSmcRjpP0fmqh2HaXlh21CkI6xtqJ+0ntHrA7jaOrFU9poCRZvgP4DdgIjKZxVOmVuCGtWFeAb3Ab5kKS5a9XO53BkWT5a7jLajbitmHll3eHdh7rIPAC7lP8X5MsPwl8B/yTxtGdSmcWmCTLNwOvAB/iro1/Hnc8VvnvFEJYu8LyQ/2Kfe+W/Ip91f92Q0i7wrJDuJOVx3HHXXcrnU2Y7uK2zXHctgrm322AgFYsWVtCXbFkwCksMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDEhMISEwpLTCgsMaGwxITCEhMKS0woLDGhsMSEwhITCktMKCwxobDExP/hwWjHA5DRAwAAAABJRU5ErkJggg==",p7="_container_1e5dd_1",h7={container:p7},m7=({uiArguments:e,wrapperProps:t})=>{const n=e.choices,r=e.inputId;return U("div",W(P({className:h7.container},t),{children:[v("label",{htmlFor:r,children:e.label}),v("select",{id:r,children:Object.keys(n).map((i,o)=>v("option",{value:n[i],children:i},i))})]}))},g7=xe()({library:"shiny",name:"selectInput",title:"Select Input",takesChildren:!1,UiComponent:m7,settingsInfo:{inputId:{inputType:"string",label:"inputId",defaultValue:"mySelectInput"},label:{inputType:"string",label:"label",defaultValue:"Select Input"},choices:{label:"Choices",inputType:"list",defaultValue:{"choice a":"a","choice b":"b"}}},serverBindings:{inputs:{inputIdKey:"inputId"}},iconSrc:d7,category:"Inputs",description:"Create a select list that can be used to choose a single or multiple items from a list of values."}),y7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAES0lEQVR4nO3aP4gcZRyH8eckosWRQ4uAhaYJmCqNJmIpaGWiVl5voykV3QSSwuIscioqCNHu2rWSqIUIsdMiRkEbi2v8A4FYJUfAf7AW72xy6no32Zvvju/u84FhE5J597e5h93Mu7M0Go2QunZH3wNoPhmWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSliX98DJA2Gm7v9lbuAx4BngEeBg8AKcA34AfgS+BD4HPhtt8XWVw9NPeu8meuwdrAPeA54Fbhvwp+vAEea43ngKnAOeBf4fTYj1m0RPwofBC4D7zM5qkkOAG8Cl4DDobnmyqKFdRT4gvJONI0jzfmPdDbRnFqksA4DnwH37nGde4BP8Z1rR4sS1p3AkPJ/py6sAB8062qCpdFo1PcMrbS4wtvJy8DrHY2y3SvAG4F1/6W2K84a37FOABeBLWDU8khERbNu2xmmPbaAi4Ph5vHQa4ioLaw14AJl72m551lmZZnyej8aDDfX+h6mrZrCOg6caX59CtgPLLU4NsJzbbScY9pjP3C6ea4zg+HmifDr6URNYb3UPJ4G1ikfEW08lBnnpofD629RNmdPNb9/Mfx8nagprPEP8PxtnvdA14P8w/3h9cfeax7TIXeiprCm1dUWQ1/rj40v35dm9Hx7UlNYXzWPL9zmede7HmTG64+dbB4vzej59qSmsN5qHs9R9o/aXhX+lBnnpp/D6y8DA8rrhlv/Dv9rtW2QrnHrynARvba+euhs30O0UdM7FsBZ4GnK/VE3ep5lVm5QXu9TtUQFdd6PdaE52rqbctPegcAsv1CuOn8NrP03tX2lU81H4TS2fb+Y+q5wsH3d2n74SbV9FE7rHeDbjtf8Dni74zXnxqKE9QewSrmXvQvXgGebdTXBooQF8D3wOOX+9b24CjzRrKf/sEhhQdlkPQp8PeX53wDHqGSTsk+LFhbAj5R71k8CV1qec4Wy43+McoWpXdS43dCFPylf6m5Qbsd5knIXxEHKbSrXKQFdBj4BPmYGWwrzZK63G9SfRfwo1AwYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNShGEpwrAUYViKMCxFGJYiDEsRhqUIw1KEYSnCsBRhWIowLEUYliIMSxGGpQjDUoRhKcKwFGFYijAsRRiWIgxLEYalCMNSxF+9/aKLFqf7gQAAAABJRU5ErkJggg==",v7="_container_1f2js_1",w7="_sliderWrapper_1f2js_11",b7="_sliderInput_1f2js_16",Qd={container:v7,sliderWrapper:w7,sliderInput:b7},E7=({uiArguments:e,wrapperProps:t})=>{const n=P({},e),{width:r="200px"}=n,[i,o]=O.useState(n.value);return U("div",W(P({className:Ke(Qd.container,"shiny::sliderInput"),style:{width:r}},t),{children:[v("div",{children:n.label}),v("div",{className:Qd.sliderWrapper,children:v("input",{type:"range",min:n.min,max:n.max,value:i,onChange:l=>o(Number(l.target.value)),className:"slider "+Qd.sliderInput,"aria-label":"slider input","data-min":n.min,"data-max":n.max,draggable:!0,onDragStartCapture:l=>{l.stopPropagation(),l.preventDefault()}})}),U("div",{children:[v(Af,{type:"input",name:n.inputId})," = ",i]})]}))},S7=xe()({library:"shiny",name:"sliderInput",title:"Slider Input",takesChildren:!1,UiComponent:E7,settingsInfo:{inputId:{label:"Input ID",inputType:"string",defaultValue:"inputId"},label:{label:"Label text",inputType:"string",defaultValue:"Slider Input"},min:{label:"Min",inputType:"number",defaultValue:0},max:{label:"Max",inputType:"number",defaultValue:10},value:{label:"Start",inputType:"number",defaultValue:5},step:{inputType:"number",label:"Step size",defaultValue:1,optional:!0},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0,useDefaultIfOptional:!0}},settingsFormRender:({inputs:e})=>U(Me,{children:[e.inputId,e.label,U(qx,{label:"Values",children:[e.min,e.max,e.value,e.step]}),e.width]}),serverBindings:{inputs:{inputIdKey:"inputId"}},iconSrc:y7,category:"Inputs",description:"Constructs a slider widget to select a number from a range. _(Dates and date-times not currently supported.)_"}),A7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAADSklEQVR4nO3cv0vUYQDH8c/pmWfpmV1G0uAPjAqiyYqWoK1oDKq5PdqE9qaG/ozAKWjpL4jWoKayrcWtIgqiuAYd9LQo8u3zfO39ghvux/C54y3PV9Br9fv9SLttqPQA7U+GJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlRLv0gF9ZXlkdfGg6yf0k15PMJhnd6007+JrkXZInSR4l+bD5yYe3FgtMqkO1YQ1YSvIsydHSQwaMJTm7cbuT5FqSV0UXVaIJR2EvydPUF9WgE1nfOVl6SA2aENa9JDOlR/yhuSR3S4+oQROOwhs7PTjb6+TS4mTmp8cy0RlOe7iFD/n+o5+PX7/n7dqXPH/zMWufvu30sttJHuBjKteEsLZdAV85M5Vr53p7PqQ93EpvfCS98ckszXfz+MVaXr//PPiy//eKfZMmHIUHNt+ZO9rJ1QJRDWoPtXLzwrF0x7b9bNbw22pxTQhri/ML3fCH3p/pjAzl4kK39IwqNS6s2V6n9IQtTh4/WHpClRoX1pHxkdITtpieqGtPLRoXVnuoloNw3ehI4z7CPeGn8o9qC70WhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCVHFP6zu8M0y+0Lp91Xy226qCCtJv/SAXVbL+yn2B/kehUIYlhCGJUQt11i/uxaYunzqcPf0zKGFjfuf9mLQ39i4SP6xvLL6svCUarT6/VquM7WfeBQKYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQhiWEIYlhGEJYVhCGJYQhiWEYQlhWEIYlhCGJYRhCWFYQvwEAzs9K42yqRkAAAAASUVORK5CYII=",x7=xe()({library:"shiny",name:"tabPanel",title:"Tab Panel",takesChildren:!0,UiComponent:W8,settingsInfo:{title:{label:"Title of panel",inputType:"string",defaultValue:"My Shiny App"}},iconSrc:A7,category:"Tabs",description:"Panel containing content for tab-based interfaces like navbar pages"}),Xx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAGBElEQVR4nO3dW4hVVRzH8e/cdMyZ8TIamZEXFA1CozQTougtqUBJLYkgeumlGAoa6TUqSKFE6qEeInoQRUwrqncjtCia0pepeSjSYKLwkpiOTtPDOsKZfc5c9JzfWmfv8/vAedh7z/BfZ81v9l5n7ctpGRsbw6zeWlM3wIrJwTIJB8skHCyTcLBMwsEyCQfLJBwsk3CwTMLBMgkHyyQcLJNwsEzCwTIJB8skHCyTcLBMwsEyCQfLJBwsk3CwTMLBMgkHyyQcLJNwsEzCwTIJB8skHCyTcLBMwsEyCQfLJBwsk3CwTMLBMgkHyyQcLJNwsEyiPVah/gND1VbPADaXXhuBW0vrWjI/l320s7dXbr8AnAJ+AA4DnwAjmZ9j1xMrsqskogWrii3ALiDOOy2+LmB16bUDGAJ2Ah+naEyKQ2Eb8CbhDTtUOiuAQ4S+botdPMUe6w2gP0HdZnWtr3fGLBp7j7WVylCNAHsJY6xuKscPlNaVv7y9cns3oQ/3Ujm26if0fTQxgzUDeDuz7jSwAegDjhMGoHZjLhD6sI/Qp6cz2/cQ/gZRxAzWNuC2suUR4FFgIGIbmsUA8AhwuWzdYmB7rAbEDNbmzPJ7OFRKPwLvZ9ZtjlU8ZrDWZ5b3RazdrLJ9vC5W4ZifCpdmlqMd75vYcaoP9uVSntKpmBW24vC5QpNwsEwi5hhrqhOpppGk373HMgkHyyQcLJOIOcbymCqNppvHsgLLU7AWAm8Bg8AlwqedWK+LwAngVWCu+H0WQspLk6/HOuBLYEGi+rOAO0uvZ4FNhKDZBGLusbJ7genqBT4lXaiyFhPaMyd1Q6bpRvu9Jnk4FPYBi1I3ImMp8ELqRjSyPBwKH6+2cklvJxtXzGHZwll0d7bR3la/Dz9XR8c49+9Vfhm+yNc/n2P4fNXz5U8Cr9WtaMHkIVgVd/I8dMc8Nq3plRVsb2uht6uD3q45rFvWw75jw5w8VXHV9CpgP3A7+kuA/gKOAR8Cv4lr1UXMQ+FUNwRMZNwfbemCTh4WhiqrvbWF7ffeTM+siv/BdkLoY1xXtgB4jHDh3oPX+bs32u81ycMYa5z1y3uiz/h1drSyYXlP5KpVzQReJ+wlG1rugrWktzNJ3ZW33JSkbhWdwDOpGzGVPIyxxpnf1ZGk7sLuCesOAx8Rbl4YBkbrVLILWAk8DdyV2XZ/nWrI5O56rPbWNKccZ3ZU3bn/CTwFnBWUPA/8AXwFfECYnL1mPmFsN53Lu309ViObIND70YSq3H/AwSrrG/pmFAerNgOR6pyMVKduHKza/B6pzt+R6tSNr8eqzZVIdS7V8Lu+HiuHYj3E5GqkOnXjYJmEg2USuZvHsuvmeSwrDgfLJBwsk/A8VvF5HsuKo1Eum4l290idpWz3P5NsS3508B7LJDyPVXyex7LiaJQx1mT/RfMeWDW3Z/Wi2ctLy+djNKia0leyjfYfGBpI1Ya8aJRgTebM0cGzZ44Ons3F/XQWeB6r+DyPZcXhYJmEg2USnscqPs9jWXE4WCbhYJmE57GKz/NYVhwOlkmkDFZDPy3FahMzWIOMf9743RFrN6v7GN/nv8YqHDNYP2WWd0Ss3ayyffxdrMIxg3Uks/wcsDZi/WazhtDH5Y7EKh4zWAeBU2XLM4HPqXy+ptVuLfAFoY+vOU31JwNKxAzWCPBSZt1i4BtgD+GLmGZHbE/RzCb04R7gW0LflnsRuByrMbGvID0I7AZeLls3g/B9OX1l67KTelOdSPX2ye0m4t4K0kw3vAK8k6Bus3qX0OdRpQjWKOGbs7YCQwnqN4shYBvwPPV79vy0pbyZ4hDwGeHNbwHuIYwL0nxDQP5dIQzQvwcOEw5903kOvETL2Fhe7263RuZzhSbhYJmEg2USDpZJOFgm4WCZhINlEg6WSThYJuFgmYSDZRIOlkk4WCbhYJmEg2USDpZJOFgm4WCZhINlEg6WSThYJuFgmYSDZRIOlkk4WCbhYJmEg2USDpZJOFgm4WCZhINlEg6WSThYJuFgmYSDZRIOlkk4WCbhYJmEg2USDpZJOFgm8T/aaPEMWSCgvwAAAABJRU5ErkJggg==",C7=({uiArguments:e,uiChildren:t,path:n,wrapperProps:r})=>{var o;const i=(o=t==null?void 0:t.length)!=null?o:0;return v(Qx,W(P({path:n},r),{children:i>0?t==null?void 0:t.map((l,a)=>{var c;const s=er(n,a),u=(c=Mg(l))!=null?c:"unknown tab";return v(Gx,{title:u,children:v(bi,{path:s,node:l})},Ef(s))}):v("div",{style:{padding:"5px"},children:v("span",{children:"Empty tabset. Drag elements or Tab Panel on to add content"})})}))},_7=xe()({library:"shiny",name:"tabsetPanel",title:"Tabset Panel",takesChildren:!0,UiComponent:C7,settingsInfo:{id:{inputType:"string",label:"Id for tabset",defaultValue:"tabset-default-id",optional:!0},selected:{inputType:"dropdown",optional:!0,label:"Selected tab on load",defaultValue:e=>e?Hx(e):"First Tab",choices:e=>e?$x(e):["First Tab"]}},iconSrc:Xx,category:"Tabs",description:"A container filled with tabs"}),k7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAGaklEQVR4nO3c309TZxzH8TeFUqzVwhgRMJtsdppFXcQZnWb+uDEzMdEsWUZmvNh0iRe7NfwBu+Ryyy5MHEvMEoNZ5sQsWUJmFJfhFhWzVZewZv6YozBFqEKhLbS7KNRWIaLy3TnFz+uKltOTh5M3z3k47aEkk8kgMtc8Tg9A5ieFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmChzegBTmtsitDSF8h+vAz4AtgCrgIBDQ3OrYeAKcA441tIUuuTweAq4csZqboscAS4Ch4CNKKrpBMgem0PAxclj5hqumbGmNLdFTgK7Sz0lbAoFWftygNpgOeVlrvwdcExyPE1fLMnlm8N0RWJMpDMHmtsiNS1NoT1Ojw2gJJPJOD0GIHsqBI4AB4ILyvhoax31lT6HR1UceocSfNUZJTY6DtDa0hQ64PSY3DQNNAIHSj0liuoJ1Vf62L+1jjJPCcD+5rZIo9NjclNYewHeWr5YUT2FukofG5cvnnq418mxgLvC2gLQuGzRnO3w0++u0dwWYSyVnrN9ulnesdvi5DjAXWGtA1hapdnqadU/OHY6FebxApRm1wnyFMoeHLtyJ8cB7gpL5hHXXceajdPhAX6K3GM4MZF7bkNDgC0rq1gyzcI/NpLi+G8DhKNxAFbX+XnnjepHth1LpfkxPMDZntis9iszK7oZ62hnLz9cGSyICuDX68McPtM77UL98JneXFQA4Wicw2d6icVTuedi8RRfdPxdEFX+fvO3lccrqhnrxu1RwtE4SxZ52be5tmAWOdqZjaf72j02ragseN3Ccg+711aztmExY6k0x7v6CEfjdPw+wHsbawE4eeE2/fdTrK7zs2d9DUG/F4Dvu29ztidWsK08XlGFtaxmQcEb1fleq/UTjsYZTU488r38CCu8HvasryF86gZXo6NAdrYKR+MEfKW8v6mWCu+DiXxXYw27GmsMfpr5rajCmtLVM8TPkRj992d3egou9BY+9ntZsshL//0U/UMJBkey+2l4wVcQlTy9ogtr6pT3rBaWPxqQ36eo5kpRhXX5+r0Z11hdPUOc6L4z632NJLOL/IpyD4xkn4snno8r9P+Hogrr7nD2lLU5FHymP//7hxL0308R8JXmFukA1+8mGEuldTqcA0V1BBeUlwLwZ1+84LLC6fAAHVcHZ3zd8a6+3OWCWDzFiQv/AvB2KPumbdDvZUNDgOHERMG2kP2rsLktwje/9M35zzOfFdWM1fjKYjquDhKOxgl/+9esXxeOxgmfulHw3KvVPjavrMo93rGmmhsDiWm3DfhK2bGm+tkG/5wpqhmrwuvh4PZ6Vtf5C57fuaqKdxtfnPF1O1dVFTze0BDgw21LC055Qb+XT3a8xLYVwUe2Pbi9vuCUKY/npk+QZoAZr1PJ7Ex+EpeWppCj7+a7acZKAUyk3RF6MUqO59adw06OA9wV1iWAfwYTTo+jaPXFklNfXnFyHOCusM4BXL7p+C9b0co7duecHAe4K6xjAOcjMaJDmrWeVHQoyflI7pMZx5wcC7grrEtA63g6Q2tnlF7FNWvRoQStnb2MZ9enrW64K9pNYTF5P1x7bHSczztu0d59h1t3E/mLUpmUHE9z626C9u47fNZxa+qewnY33FMI7rrckLvUMHm7uCsOUBH5sqUp9LHTg5jiqrAe8iawj+ytTK8D/oc3eM7FgT/ILtS/Jvu/LnKcvh7omrBkfnHVGkvmD4UlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaYUFhiQmGJCYUlJhSWmFBYYkJhiQmFJSYUlphQWGJCYYkJhSUmFJaY+A/iJMS/OUnuYwAAAABJRU5ErkJggg==",T7="_container_yicbr_1",I7={container:T7},O7=r=>{var i=r,{uiArguments:o}=i,l=o,{width:e="200px"}=l,t=ye(l,["width"]),{wrapperProps:n}=i;const a="auto",s=P({},t),[u,c]=O.useState(s.value);return O.useEffect(()=>{c(s.value)},[s.value]),U("div",W(P({className:Ke(I7.container,"shiny::textInput"),style:{height:a,width:e}},n),{children:[v("label",{htmlFor:s.inputId,children:s.label}),v("input",{id:s.inputId,type:"text",value:u,onChange:f=>c(f.target.value),placeholder:s.placeholder})]}))},P7=xe()({library:"shiny",name:"textInput",title:"Text Input",takesChildren:!1,UiComponent:O7,settingsInfo:{inputId:{inputType:"string",label:"inputId",defaultValue:"myTextInput"},label:{inputType:"string",label:"label",defaultValue:"Text Input"},value:{inputType:"string",label:"Starting text",defaultValue:""},placeholder:{inputType:"string",label:"Empty input placeholder",defaultValue:"placeholder text",optional:!0},width:{inputType:"cssMeasure",label:"Width",defaultValue:"100%",units:["%","px","rem"],optional:!0}},serverBindings:{inputs:{inputIdKey:"inputId"}},iconSrc:k7,category:"Inputs",description:"Create an input control for entry of unstructured text values."}),N7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAGh0lEQVR4nO3bv2skZQDG8W/8haBNIhbaqHu72Jv0olyw1CbZRfTsktJqk4CNgkVuF+wviIKNm2xz14kJ+AecsROUDWkE7W4LrQ4lFvNOMjOZ/ZXdJ/tGnw8cuezOvTNcvsw78+5k4ezsDLNZe2LeB2D/TQ7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbx1LwPIGthYWGm4zU7vXvARvj2qN2orc50BwVnZ2cjt9naP1EeQqlWvXrt+4wqLCv1CvBR+PuXwO9zPJaxOay4vQw8BF4M338MrAI/ze2IxuRrrLi9x0VUAEvAEfDGXI5mAg4rbn+XvLbIDYjLYcXtW+CXktejj8thxe1P4G3g15L3oo4r6ov3Zqd3G1gGtkn+I7NOgT2SZYTjCcfdJlmGqGRe3gO67UbtaIIxloG19LWwlLAHHLfq1b1JjmmIP4C3gB+A1wvvpXHdJrIL+oVx1l6uS7qO1ez0FoEDkv+wcey1G7XN4ovFdSxgJ4xbKW6b0W03auuD3gyxH3A59KJjYLNVr+ain2Id6yXK4wLoMySueaxjxToVHjJ+VAAbzU5vd8Q2lTDusKgA1pqd3kHZG81ObyOMMSoqSM5mh1v7J6P2N670zHUjpsXowspMMakjYL3dqC1k/wCbJGeF1HY40w1S4SKIu8CtzFjrJFNrai1ElD2uCnCvMGZxnFvhtdRiyb+Zxo2JK7qwyFyzED6GaTdq3eJG7UZtj2SxMGvUWe4UWGk3ajvtRu08pDD+Cvm4tgv/thjIanGcVr162qpXd0hCPT+mrf2TZWbnRsQVY1jZH8LQC+B2o9Ynf9YaNu30SWIovdAPY+1kx2p2estwfrbKRrsz7CK/Va92w/5Sk0zr44g+rujuCsOUMon+6E0AOM6eXQbsu9vs9PpcTJm3ScJdK2w68o6vVa8ujXlcVxX13WJ0YRU1O701kjNRhYs7vEFmcaF8zMUZJh0ve+12HM5u03ie5APld4FnpxxrkEXge+BN4GfRPgaKNqxwET/qTk8he1ZbLHyF/NR7VZ8C9RmMM8oLwBfAO9ewr5zowgrXMwfkr7XmJQ1qVksGqZUZjzfMa9e4r3PRhUVy95WNKl1hPy27O2x2epOueU3itPB1Vh6STFHX4cE17ScnqrDCqnY2krvtRm1n0PYi2aj7ha/F96/qM5KV9HXg6RmMN8gD4BPh+APFttyQO1Ndd1RhgTU77aXXU7mwRizEjuMv4APgGWBhij93gH8G7OMBSbiPpzzWK4nqjEX+hzru9DPtDzlrrTBeulbVJX8jsUF+hf2Srf2TR5mxdlr16tDtr+BD4GvgyZL35hoVxHfGmujMED7TG3dquh3uNAeNVSEfTzddVgjrX9kF0d0wbZfa2j8ZFOisRB0VxBdW9gewCByWfGa33Oz0tpud3iMuL1yOstvs9A6LgYV9/Eg+huI0XHx64rDZ6e2GIAHY2j+pbO2f7JLc1aaOik84TCn6qCDCx2bCWWjSYFK5x2cKj81MYjN8FpkTApzkQ+U+sNKqV8+n9Sl//esO8BUTRuXHZhKbjD917E2w7bjXbOtlUUHug+9xVt6PgdVsVFO6UlTzEl1Y7UatH36xdJ3kormoSzJNLZU93DfEafgccofLMaYfQC+VrZUVju+o3agthe3Ltt0jecBvZYZT4LCo7hNZVBDZVPh/cIWp8H3gGwZHVWdEVJ4Kreg5kjPglaOaF4cVt1dJ4iq6T8RRgcOKXQ/4rfDafSKPChxW7B6TPPLyHckzVZ9zA6ICX7ybiM9YJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJNwWCbhsEzCYZmEwzIJh2USDsskHJZJOCyTcFgm4bBMwmGZhMMyCYdlEg7LJByWSTgsk3BYJuGwTMJhmYTDMgmHZRIOyyQclkk4LJP4F7bdmR9UysBAAAAAAElFTkSuQmCC",R7="_container_1i6yi_1",D7={container:R7},L7=({uiArguments:e,wrapperProps:t})=>U("div",W(P({className:D7.container},t),{children:["Dynamic text from ",U("code",{children:["output$",e.outputId]})]})),F7=xe()({library:"shiny",name:"textOutput",title:"Text Output",takesChildren:!1,UiComponent:L7,settingsInfo:{outputId:{label:"Output ID",inputType:"string",defaultValue:"textOutput"}},serverBindings:{outputs:{outputIdKey:"outputId",renderScaffold:`renderText({ "Hello, World" })`}},iconSrc:N7,category:"Outputs",description:` Render a reactive output variable as text within an application page. @@ -161,11 +161,11 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl `}),W7="_wrapper_bjscz_1",Y7={wrapper:W7},V7=({uiArguments:{contents:e,decoration:t,size:n="default"},wrapperProps:r})=>{const i=LA[n];return v(i,W(P({className:Y7.wrapper},r),{"data-decoration":t,children:e}))};function $7(e){return"contents"in e.uiArguments&&e.uiName==="textNode"}const H7=xe()({name:"textNode",title:"Static Text",category:"Utilities",description:"Add static text to your ui for things like descriptions and headers.",takesChildren:!1,UiComponent:V7,settingsInfo:{contents:{label:"Text contents",inputType:"string",defaultValue:"Lorem Ipsum",longform:!0},decoration:{label:"Decoration",optional:!0,inputType:"radio",defaultValue:"default",choices:{default:{label:"Normal"},italic:{label:"Italic"},bold:{label:"Bold"}},optionsPerColumn:2},size:{label:"Font size",inputType:"radio",optional:!0,defaultValue:"default",choices:{default:{label:"Normal"},small:{label:"Small"},headline:{label:"Headline"},subtitle:{label:"Subtitle"}},optionsPerColumn:2}},iconSrc:sx});function G7(e){return Tt({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attr:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0 1 30.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1 0 80 0 40 40 0 1 0-80 0z"}}]})(e)}function J7(e){return Tt({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M881.7 187.4l-45.1-45.1a8.03 8.03 0 0 0-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 0 0-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-8.1-.1-11.2zM439 576.1l-189.2 23.5c-6.6.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 0 0 0 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0 0 13.5-4.7L447.9 585a7.9 7.9 0 0 0-8.9-8.9z"}}]})(e)}const Q7="_categoryDivider_bdwku_1",K7={categoryDivider:Q7};function q7({children:e}){return v("div",{className:K7.categoryDivider,children:e})}function X7(e){return e.replaceAll(/\(/g,`( `).replaceAll(/\)/g,` )`).replaceAll(/\(\s+\)/g,"()").replaceAll(/,/g,`, - `).replaceAll(/(\s+)$/g,"")}const Z7=20,e9=({uiArguments:e,wrapperProps:t})=>{const n=e.text.slice(0,Z7).replaceAll(/\s$/g,"")+"...";return v("div",W(P({className:"unknown-ui-function-display"},t),{children:U("div",{children:["unknown ui output: ",v("code",{children:n})]})}))};function Zx(e){return"text"in e.uiArguments&&e.uiName==="unknownUiFunction"}const t9=xe()({name:"unknownUiFunction",title:"Unknown UI Function",takesChildren:!1,UiComponent:e9,settingsInfo:{text:{inputType:"omitted",defaultValue:"Unknown Ui Function"},explanation:{inputType:"omitted",optional:!0}},settingsFormRender:({settings:e})=>U("div",{className:"unknown-ui-function-settings",children:[v("div",{className:"SUE-SettingsInput",children:U("span",{className:"info-msg",children:[v(G7,{}),"Unknown function call. Can't modify with visual editor."]})}),v(q7,{children:v("span",{children:"Code"})}),v("div",{className:"SUE-SettingsInput",children:v("pre",{className:"code-holder",children:X7(e.text)})})]})}),qo=[f8,o7,S7,P7,E8,g8,g7,f7,a7,F7,j7,e7,x7,_7,e8,DD,cL,$D,XM,xD,fD,hD,vD,gD,l8,H7,t9,ZT],w0=new Map(qo.map(e=>[e.uiName,e])),n9=new Set(qo.filter(e=>e.takesChildren).map(e=>e.uiName));function to(e){if(!w0.has(e))throw new Error(`Failed to find node info for requested node: ${e}`);return w0.get(e)}const eC=new Set(qo.map(({uiName:e})=>e)),r9=new Map([...qo.map(({name:e,uiName:t})=>[e,t]),...qo.map(({uiName:e})=>[e,e])]);function no(e){return"uiChildren"in e||n9.has(e.uiName)}function i9(e){let t=e.uiArguments.size;const{contents:n,decoration:r}=e.uiArguments,i=`"${n}"`,o=r?DA[r]:"",l=o?`${o}(${i})`:i;return t?`${LA[t]}(${l})`:l}function tC(e,t){const{ui_code:n,removed_namespaces:r}=nC(e,t);return{ui_code:n,library_calls:Array.from(r)}}function nC(e,t){var u,c;const{uiName:n,uiArguments:r}=e,i=new Set;if(Zx(e))return{ui_code:rC(e),removed_namespaces:i};if($7(e))return{ui_code:i9(e),removed_namespaces:i};let o=n;if(t.remove_namespace){const f=(u=o.match(/\w+(?=::)/))==null?void 0:u[0];f&&i.add(f),o=o.replace(/\w+::/,"")}const l=Object.entries(r).map(([f,d])=>Ba(`${f} = ${u9(d)}`));no(e)&&((c=e.uiChildren)==null||c.forEach(f=>{const d=nC(f,t);d.removed_namespaces.forEach(p=>i.add(p)),l.push(Ba(d.ui_code))}));const a=RA({fn_name:n,fn_args_list:l,max_line_length_for_multi_args:gg}),s=`,${a?pi:" "}`;return{removed_namespaces:i,ui_code:`${o}(${a?pi:""}${l.join(s)}${a?` -`:""})`}}function rC({uiArguments:e}){return e.text}function o9(e){return!(typeof e!="object"||Object.values(e).find(n=>typeof n!="string"))}function l9(e){const t=Object.keys(e).map(o=>`"${o}" = "${e[o]}"`),r=t.reduce((o,l)=>o+l.length,0)+6>gg,i=r?`,${pi}`:", ";return`list(${r?pi:""}${t.join(i)}${r?` + `).replaceAll(/(\s+)$/g,"")}const Z7=20,e9=({uiArguments:e,wrapperProps:t})=>{const n=e.text.slice(0,Z7).replaceAll(/\s$/g,"")+"...";return v("div",W(P({className:"unknown-ui-function-display"},t),{children:U("div",{children:["unknown ui output: ",v("code",{children:n})]})}))};function Zx(e){return"text"in e.uiArguments&&e.uiName==="unknownUiFunction"}const t9=xe()({name:"unknownUiFunction",title:"Unknown UI Function",takesChildren:!1,UiComponent:e9,settingsInfo:{text:{inputType:"omitted",defaultValue:"Unknown Ui Function"},explanation:{inputType:"omitted",optional:!0}},settingsFormRender:({settings:e})=>U("div",{className:"unknown-ui-function-settings",children:[v("div",{className:"SUE-SettingsInput",children:U("span",{className:"info-msg",children:[v(G7,{}),"Unknown function call. Can't modify with visual editor."]})}),v(q7,{children:v("span",{children:"Code"})}),v("div",{className:"SUE-SettingsInput",children:v("pre",{className:"code-holder",children:X7(e.text)})})]})}),qo=[f8,o7,S7,P7,E8,g8,g7,f7,a7,F7,j7,e7,x7,_7,e8,DD,cL,$D,XM,xD,fD,hD,vD,gD,l8,H7,t9,L3],S0=new Map(qo.map(e=>[e.uiName,e])),n9=new Set(qo.filter(e=>e.takesChildren).map(e=>e.uiName));function to(e){if(!S0.has(e))throw new Error(`Failed to find node info for requested node: ${e}`);return S0.get(e)}const eC=new Set(qo.map(({uiName:e})=>e)),r9=new Map([...qo.map(({name:e,uiName:t})=>[e,t]),...qo.map(({uiName:e})=>[e,e])]);function no(e){return"uiChildren"in e||n9.has(e.uiName)}function i9(e){let t=e.uiArguments.size;const{contents:n,decoration:r}=e.uiArguments,i=`"${n}"`,o=r?DA[r]:"",l=o?`${o}(${i})`:i;return t?`${LA[t]}(${l})`:l}function tC(e,t){const{ui_code:n,removed_namespaces:r}=nC(e,t);return{ui_code:n,library_calls:Array.from(r)}}function nC(e,t){var u,c;const{uiName:n,uiArguments:r}=e,i=new Set;if(Zx(e))return{ui_code:rC(e),removed_namespaces:i};if($7(e))return{ui_code:i9(e),removed_namespaces:i};let o=n;if(t.remove_namespace){const f=(u=o.match(/\w+(?=::)/))==null?void 0:u[0];f&&i.add(f),o=o.replace(/\w+::/,"")}const l=Object.entries(r).map(([f,d])=>Ba(`${f} = ${u9(d)}`));no(e)&&((c=e.uiChildren)==null||c.forEach(f=>{const d=nC(f,t);d.removed_namespaces.forEach(p=>i.add(p)),l.push(Ba(d.ui_code))}));const a=RA({fn_name:n,fn_args_list:l,max_line_length_for_multi_args:wg}),s=`,${a?pi:" "}`;return{removed_namespaces:i,ui_code:`${o}(${a?pi:""}${l.join(s)}${a?` +`:""})`}}function rC({uiArguments:e}){return e.text}function o9(e){return!(typeof e!="object"||Object.values(e).find(n=>typeof n!="string"))}function l9(e){const t=Object.keys(e).map(o=>`"${o}" = "${e[o]}"`),r=t.reduce((o,l)=>o+l.length,0)+6>wg,i=r?`,${pi}`:", ";return`list(${r?pi:""}${t.join(i)}${r?` `:""})`}function a9(e){const t=e.map(s9);return`c(${pi}${t.join(`,${pi}`)} -)`}function s9(e){switch(typeof e){case"string":return`"${e}"`;default:return String(e)}}function u9(e){return Array.isArray(e)?a9(e):o9(e)?l9(e):typeof e=="boolean"?e?"TRUE":"FALSE":Lg(e)&&Zx(e)?rC(e):JSON.stringify(e)}function b0({ui_tree:e,libraries:t,code:n}){const{ui_code:r,library_calls:i}=tC(e,{remove_namespace:!0}),o=[...t];return i.forEach(l=>{t.includes(l)||o.push(l)}),n.replace(Xn.ui,r).replace(Xn.libraries,iC(o))}function iC(e){return e.map(t=>`library(${t})`).join(` -`)}function Fg(e,{include_info:t}){const{app_type:n,ui_tree:r}=e;switch(n){case"SINGLE-FILE":return P({app_type:n,app:b0(P({ui_tree:r},e.app))},t&&{info:e});case"MULTI-FILE":return P({app_type:n,ui:b0(P({ui_tree:r},e.ui)),server:e.server.code},t&&{info:e})}}function oC(e){const t=Tr();return O.useCallback(()=>{e!==null&&t(JA({path:e}))},[t,e])}class c9{constructor({comparisonFn:t}){this.stack=[],this.stepsBack=0,this.lastRequested=null,this.isSameFn=t}isEntryFromHistory(t){return this.lastRequested?this.isSameFn(t,this.lastRequested):!1}lastEntry(){return this.stack[this.stack.length-1]}isDuplicateOfLastEntry(t){return this.isSameFn(t,this.lastEntry())}startNewHistoryBranch(){this.stack=this.stack.slice(0,-this.stepsBack),this.stepsBack=0}addEntry(t){this.isEntryFromHistory(t)||this.isDuplicateOfLastEntry(t)||(this.stepsBack>0&&this.startNewHistoryBranch(),this.stack=[...this.stack,t])}canGoBackwards(){return this.stack.length===1?!1:this.stack.length-this.stepsBack>1}canGoForwards(){return this.stepsBack>0}getEntryFromHistory(t){this.stepsBack-=t;const n=this.stack.length,r=n-this.stepsBack-1;if(r<0)throw new Error("Requested history entry too far backwards.");if(r>n)throw new Error(`Not enough entries in history to go ${t} steps forward`);return this.lastRequested=this.stack[r],this.lastRequested}goBackwards(){if(!this.canGoBackwards())throw new Error("Can't go backwards. At first entry in history");return this.getEntryFromHistory(-1)}goForwards(){if(!this.canGoForwards())throw new Error("Can't go forwards. At latest entry in history");return this.getEntryFromHistory(1)}}function f9(e){const t=Tr(),[n,r]=k.useState(!1),[i,o]=k.useState(!1),l=k.useRef(new c9({comparisonFn:d9}));k.useEffect(()=>{if(!e||e.mode==="LOADING")return;const c=l.current;c.addEntry(e),o(c.canGoBackwards()),r(c.canGoForwards())},[e]);const a=k.useCallback(c=>{t(QA({state:c}))},[t]),s=k.useCallback(()=>{try{a(l.current.goBackwards())}catch(c){}},[a]),u=k.useCallback(()=>{try{a(l.current.goForwards())}catch(c){}},[a]);return{goBackward:s,goForward:u,canGoBackward:i,canGoForward:n}}function d9(e,t){return typeof t=="undefined"?!1:t.mode==="LOADING"&&e.mode==="LOADING"?!0:t.mode==="TEMPLATE_CHOOSER"&&e.mode==="TEMPLATE_CHOOSER"?JSON.stringify(t.options)===JSON.stringify(e.options):e.mode==="MAIN"&&t.mode==="MAIN"?t.ui_tree===e.ui_tree:!1}function lC(){return/mac/i.test(window.navigator.platform)}function p9(e){const t=O.useCallback(n=>{!(n.target instanceof Element)||n.target.tagName!=="BODY"||(e.filter(r=>h9(n,r)).forEach(({onPress:r})=>r()),n.defaultPrevented||n.stopPropagation())},[e]);O.useEffect(()=>(document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}),[t])}function h9(e,t){return e.key===t.key&&t.withCmdCtrl===(lC()?e.metaKey:e.ctrlKey)&&t.withShift===e.shiftKey}function m9(){const{sendMsg:e,incomingMsgs:t}=Ja(),n=KA(),r=rs(),i=Tr(),o=f9(n),l=oC(r);p9([{key:"z",withCmdCtrl:!0,withShift:!1,onPress:o.goBackward},{key:"z",withCmdCtrl:!0,withShift:!0,onPress:o.goForward},{key:"Backspace",onPress:l,withCmdCtrl:!1,withShift:!1}]),O.useEffect(()=>{const s=t.subscribe("APP-INFO",f=>{i(J5(f))}),u=t.subscribe("TEMPLATE_CHOOSER",f=>{i(K5({outputChoices:f}))}),c=t.subscribe("BACKEND-ERROR",f=>i(Q5(f)));return e({path:"READY-FOR-STATE"}),()=>{s.unsubscribe(),u.unsubscribe(),c.unsubscribe()}},[t,i,e]);const a=O.useMemo(()=>vE(e,500,!0),[e]);return O.useEffect(()=>{if(!(n.mode==="LOADING"||n.mode==="ERROR")){if(n.mode==="TEMPLATE_CHOOSER"){e({path:"ENTERED-TEMPLATE-SELECTOR"});return}a({path:"UPDATED-APP",payload:Fg(n,{include_info:!1})})}},[n,a,e]),{state:n,history:o}}const g9="_EditorContainer_1p1tb_1",y9={EditorContainer:g9};function aC(e){return Tt({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M12.75 8a4.5 4.5 0 0 1-8.61 1.834l-1.391.565A6.001 6.001 0 0 0 14.25 8 6 6 0 0 0 3.5 4.334V2.5H2v4l.75.75h3.5v-1.5H4.352A4.5 4.5 0 0 1 12.75 8z"}}]})(e)}const v9="_appViewerHolder_zkojo_1",w9="_title_zkojo_55",b9="_appContainer_zkojo_89",E9="_previewFrame_zkojo_109",S9="_expandButton_zkojo_134",A9="_reloadButtonContainer_zkojo_135",x9="_reloadButton_zkojo_135",C9="_spin_zkojo_174",_9="_restartButton_zkojo_211",k9="_loadingMessage_zkojo_238",T9="_error_zkojo_249",$t={appViewerHolder:v9,title:w9,appContainer:b9,previewFrame:E9,expandButton:S9,reloadButtonContainer:A9,reloadButton:x9,spin:C9,restartButton:_9,loadingMessage:k9,error:T9};function I9(e){return Tt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"}}]})(e)}function O9(e){return Tt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"}}]})(e)}function P9(e){return Tt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"circle",attr:{cx:"8",cy:"8",r:"8"}}]})(e)}function N9(e){return Tt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",stroke:"#000",strokeWidth:"2",d:"M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M5,5 L19,19"}}]})(e)}const R9="_logs_xjp5l_2",D9="_logsContents_xjp5l_25",L9="_expandTab_xjp5l_29",F9="_clearLogsButton_xjp5l_69",M9="_logLine_xjp5l_75",B9="_noLogsMsg_xjp5l_81",U9="_expandedLogs_xjp5l_93",z9="_expandLogsButton_xjp5l_101",j9="_unseenLogsNotification_xjp5l_108",W9="_slidein_xjp5l_1",Ci={logs:R9,logsContents:D9,expandTab:L9,clearLogsButton:F9,logLine:M9,noLogsMsg:B9,expandedLogs:U9,expandLogsButton:z9,unseenLogsNotification:j9,slidein:W9};function Y9({appLogs:e,clearLogs:t}){const{logsExpanded:n,toggleLogExpansion:r,unseenLogs:i}=V9(e),o=e.length===0;return U("div",{className:Ci.logs,"data-expanded":n,children:[U("button",{className:Ci.expandTab,title:n?"hide logs":"show logs",onClick:r,children:[v(P9,{className:Ci.unseenLogsNotification,"data-show":i}),"App Logs",n?v(I9,{}):v(O9,{})]}),U("div",{className:Ci.logsContents,children:[o?v("p",{className:Ci.noLogsMsg,children:"No recent logs"}):e.map((l,a)=>v("p",{className:Ci.logLine,children:l},a)),o?null:v(rt,{variant:"icon",title:"clear logs",className:Ci.clearLogsButton,onClick:t,children:v(N9,{})})]})]})}function V9(e){const[t,n]=k.useState(!1),[r,i]=k.useState(!1),[o,l]=k.useState(null),[a,s]=k.useState(new Date),u=k.useCallback(()=>{if(t){n(!1),l(new Date);return}n(!0),i(!1)},[t]);return k.useEffect(()=>{s(new Date)},[e]),k.useEffect(()=>{if(t||e.length===0){i(!1);return}if(o===null||o{if(!o.current||typeof t=="undefined")return;const l=o.current;function a(s){s.target===l&&(t==null||t())}l.addEventListener("click",a);try{l.showModal()}catch(s){}return()=>{l.removeEventListener("click",a)}},[t]),v("dialog",W(P({},n),{ref:o,onClose:t,children:e}))}const H9="_show_btn_83j0t_1",G9="_modal_83j0t_5",J9="_title_83j0t_18",Q9="_description_83j0t_22",K9="_code_holder_83j0t_26",q9="_footer_83j0t_43",zn={show_btn:H9,modal:G9,title:J9,description:Q9,code_holder:K9,footer:q9};function X9({info:e}){const t=Fg(e,{include_info:!1});return t.app_type==="SINGLE-FILE"?U(Ne,{children:[v("h2",{className:zn.title,children:"App script"}),U("p",{className:zn.description,children:["The following code defines the currently being edited app. Copy and paste it to an ",v("code",{children:"app.R"})," file to use."]}),U("div",{className:zn.code_holder,children:[v("label",{children:"app.R"}),v("pre",{children:t.app})]})]}):U(Ne,{children:[v("h2",{className:zn.title,children:"App scripts"}),U("p",{className:zn.description,children:["The following code defines the currently being edited app. Copy and paste the ui and server scripts into ",v("code",{children:"ui.R"})," and"," ",v("code",{children:"server.R"})," files to use."]}),U("div",{className:zn.code_holder,children:[v("label",{children:"ui.R"}),v("pre",{children:t.ui})]}),U("div",{className:zn.code_holder,children:[v("label",{children:"server.R"}),v("pre",{children:t.server})]})]})}function Z9(){const[e,t]=k.useState(!1),r=Hm().getState().app_info;return r.mode!=="MAIN"?null:U(Ne,{children:[v(fl,{className:$t.title,children:"Code"}),v(Ir,{className:zn.show_btn,text:"See current application code",position:"left",onClick:()=>t(i=>!i),variant:"regular",children:"Get app script"}),e?v($9,{className:zn.modal,title:"App Script",onClose:()=>t(!1),children:U("form",{method:"dialog",children:[v(X9,{info:r}),v("div",{className:zn.footer,children:v(rt,{type:"submit",children:"Okay"})})]})}):null]})}function eB(){const{sendMsg:e,incomingMsgs:t}=Ja(),[n,r]=k.useState("HIDDEN"),[i,o]=k.useState([]),[l,a]=k.useState(null);k.useEffect(()=>{const p=t.subscribe("APP-PREVIEW-STATUS",E=>{a(null),r(E)}),h=t.subscribe("APP-PREVIEW-LOGS",E=>{o(tB(E))}),m=t.subscribe("APP-PREVIEW-CRASH",E=>{a(E)});return e({path:"APP-PREVIEW-REQUEST"}),u(()=>()=>e({path:"APP-PREVIEW-RESTART"})),f(()=>()=>e({path:"APP-PREVIEW-STOP"})),()=>{p.unsubscribe(),h.unsubscribe(),m.unsubscribe()}},[t,e]);const[s,u]=k.useState(()=>()=>console.warn("No app running to reset")),[c,f]=k.useState(()=>()=>console.warn("No app running to stop")),d=k.useCallback(()=>{o([])},[]);return{appLogs:i,clearLogs:d,restartApp:s,stopApp:c,appLoc:n,errors:l}}function tB(e){return Array.isArray(e)?e:[e]}function nB(){const e=rB();return iB(e.width)}function rB(){const[e,t]=k.useState(E0()),n=k.useMemo(()=>vE(()=>{t(E0())},500),[]);return k.useEffect(()=>(window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)),[n]),e}function iB(e){const t=PE-sC*2,n=e-uC*2;return t/n}function E0(){const{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}const sC=16,uC=55;function oB(){const e=k.useRef(null),[t,n]=k.useState(!1),r=k.useCallback(()=>{n(d=>!d)},[]),{appLoc:i,errors:o,appLogs:l,clearLogs:a,restartApp:s}=eB(),u=nB(),c=k.useCallback(d=>{sB(d.currentTarget),!(!e.current||typeof i=="string")&&(d.metaKey?s():e.current.src=i.url)},[i,s]);if(i==="HIDDEN")return v(Z9,{});const f=({isExpandedMode:d})=>v("div",{className:$t.reloadButtonContainer,children:v(Ir,{text:`Reload app session (hold ${uB()} to restart app server also)`,className:$t.reloadButton,onClick:c,position:d?"right":"up-right",children:v(aC,{})})});return U(Ne,{children:[U(fl,{className:$t.title,children:[v(f,{isExpandedMode:!1}),"App Preview"]}),v("div",{className:$t.appViewerHolder,"data-expanded":t,style:{"--app-scale-amnt":u,"--preview-inset-horizontal":`${sC}px`,"--expanded-inset-horizontal":`${uC}px`},children:o!==null?v(lB,{onClick:s}):U(Ne,{children:[v(f,{isExpandedMode:!0}),U("div",{className:$t.appContainer,children:[i==="LOADING"?v(aB,{}):v("iframe",{className:$t.previewFrame,src:i.url,title:"Application Preview",ref:e}),v(rt,{variant:"icon",className:$t.expandButton,title:t?"Shrink app preview":"Expand app preview",onClick:r,children:t?v(J7,{}):v(ML,{})})]}),v(Y9,{appLogs:l,clearLogs:a})]})})]})}function lB({onClick:e}){return U("div",{className:$t.appContainer,children:[U("p",{children:["App preview crashed.",v("br",{})," Try and restart?"]}),U(rt,{className:$t.restartButton,title:"Restart app preview",onClick:e,children:["Restart app preview ",v(aC,{})]})]})}function aB(){return v("div",{className:$t.loadingMessage,children:v("h2",{children:"Loading app preview..."})})}function sB(e){const t=e.querySelector("svg");t==null||t.classList.add($t.spin),e.addEventListener("animationend",()=>t==null?void 0:t.classList.remove($t.spin),!1)}function uB(){return lC()?"⌘":"Alt"}function cC({main:e,properties:t,preview:n,left:r}){return v(Ne,{children:U("div",{className:ar.EditorSkeleton,children:[v("div",{className:Ke(ar.elements_panel,ar.panel),children:r}),v("div",{className:ar.app_view,children:e}),v("div",{className:Ke(ar.properties_panel,ar.panel),children:t}),v("div",{className:Ke(ar.app_preview,ar.panel),children:n})]})})}const cB={uiName:"gridlayout::grid_page",uiArguments:{row_sizes:["70px","1fr","1fr"],col_sizes:["250px","1fr"],gap_size:"1rem",layout:["header header","sidebar linePlots","dists dists"]},uiChildren:[{uiName:"gridlayout::grid_card",uiArguments:{area:"sidebar"},uiChildren:[{uiName:"bslib::card_header",uiArguments:{},uiChildren:[{uiName:"textNode",uiArguments:{contents:"Settings"}}]},{uiName:"bslib::card_body_fill",uiArguments:{},uiChildren:[{uiName:"shiny::sliderInput",uiArguments:{inputId:"numChicks",label:"Number of Chicks",min:1,max:15,value:5,width:"100%",step:1}},{uiName:"shiny::radioButtons",uiArguments:{inputId:"distFacet",label:"Facet Distribution By",choices:{"Diet Type":"Diet","Measure Time":"Time"}}}]}]},{uiName:"gridlayout::grid_card_text",uiArguments:{area:"header",content:"Chick Weights",alignment:"center",is_title:!1}},{uiName:"gridlayout::grid_card_plot",uiArguments:{area:"dists"}},{uiName:"gridlayout::grid_card_plot",uiArguments:{area:"linePlots"}}]},fB={title:"Chick Weights Grid",description:"Plots investigating the ChickWeights built-in dataset",uiTree:cB,otherCode:{serverLibraries:["ggplot2"],serverFunctionBody:` +)`}function s9(e){switch(typeof e){case"string":return`"${e}"`;default:return String(e)}}function u9(e){return Array.isArray(e)?a9(e):o9(e)?l9(e):typeof e=="boolean"?e?"TRUE":"FALSE":Bg(e)&&Zx(e)?rC(e):JSON.stringify(e)}function A0({ui_tree:e,libraries:t,code:n}){const{ui_code:r,library_calls:i}=tC(e,{remove_namespace:!0}),o=[...t];return i.forEach(l=>{t.includes(l)||o.push(l)}),n.replace(Zn.ui,r).replace(Zn.libraries,iC(o))}function iC(e){return e.map(t=>`library(${t})`).join(` +`)}function Ug(e,{include_info:t}){const{app_type:n,ui_tree:r}=e;switch(n){case"SINGLE-FILE":return P({app_type:n,app:A0(P({ui_tree:r},e.app))},t&&{info:e});case"MULTI-FILE":return P({app_type:n,ui:A0(P({ui_tree:r},e.ui)),server:e.server.code},t&&{info:e})}}function oC(e){const t=Tr();return O.useCallback(()=>{e!==null&&t(JA({path:e}))},[t,e])}class c9{constructor({comparisonFn:t}){this.stack=[],this.stepsBack=0,this.lastRequested=null,this.isSameFn=t}isEntryFromHistory(t){return this.lastRequested?this.isSameFn(t,this.lastRequested):!1}lastEntry(){return this.stack[this.stack.length-1]}isDuplicateOfLastEntry(t){return this.isSameFn(t,this.lastEntry())}startNewHistoryBranch(){this.stack=this.stack.slice(0,-this.stepsBack),this.stepsBack=0}addEntry(t){this.isEntryFromHistory(t)||this.isDuplicateOfLastEntry(t)||(this.stepsBack>0&&this.startNewHistoryBranch(),this.stack=[...this.stack,t])}canGoBackwards(){return this.stack.length===1?!1:this.stack.length-this.stepsBack>1}canGoForwards(){return this.stepsBack>0}getEntryFromHistory(t){this.stepsBack-=t;const n=this.stack.length,r=n-this.stepsBack-1;if(r<0)throw new Error("Requested history entry too far backwards.");if(r>n)throw new Error(`Not enough entries in history to go ${t} steps forward`);return this.lastRequested=this.stack[r],this.lastRequested}goBackwards(){if(!this.canGoBackwards())throw new Error("Can't go backwards. At first entry in history");return this.getEntryFromHistory(-1)}goForwards(){if(!this.canGoForwards())throw new Error("Can't go forwards. At latest entry in history");return this.getEntryFromHistory(1)}}function f9(e){const t=Tr(),[n,r]=k.useState(!1),[i,o]=k.useState(!1),l=k.useRef(new c9({comparisonFn:d9}));k.useEffect(()=>{if(!e||e.mode==="LOADING")return;const c=l.current;c.addEntry(e),o(c.canGoBackwards()),r(c.canGoForwards())},[e]);const a=k.useCallback(c=>{t(QA({state:c}))},[t]),s=k.useCallback(()=>{try{a(l.current.goBackwards())}catch(c){}},[a]),u=k.useCallback(()=>{try{a(l.current.goForwards())}catch(c){}},[a]);return{goBackward:s,goForward:u,canGoBackward:i,canGoForward:n}}function d9(e,t){return typeof t=="undefined"?!1:t.mode==="LOADING"&&e.mode==="LOADING"?!0:t.mode==="TEMPLATE_CHOOSER"&&e.mode==="TEMPLATE_CHOOSER"?JSON.stringify(t.options)===JSON.stringify(e.options):e.mode==="MAIN"&&t.mode==="MAIN"?t.ui_tree===e.ui_tree:!1}function lC(){return/mac/i.test(window.navigator.platform)}function p9(e){const t=O.useCallback(n=>{!(n.target instanceof Element)||n.target.tagName!=="BODY"||(e.filter(r=>h9(n,r)).forEach(({onPress:r})=>r()),n.defaultPrevented||n.stopPropagation())},[e]);O.useEffect(()=>(document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}),[t])}function h9(e,t){return e.key===t.key&&t.withCmdCtrl===(lC()?e.metaKey:e.ctrlKey)&&t.withShift===e.shiftKey}function m9(){const{sendMsg:e,incomingMsgs:t}=Qa(),n=KA(),r=is(),i=Tr(),o=f9(n),l=oC(r);p9([{key:"z",withCmdCtrl:!0,withShift:!1,onPress:o.goBackward},{key:"z",withCmdCtrl:!0,withShift:!0,onPress:o.goForward},{key:"Backspace",onPress:l,withCmdCtrl:!1,withShift:!1}]),O.useEffect(()=>{const s=t.subscribe("APP-INFO",f=>{i(J5(f))}),u=t.subscribe("TEMPLATE_CHOOSER",f=>{i(K5({outputChoices:f}))}),c=t.subscribe("BACKEND-ERROR",f=>i(Q5(f)));return e({path:"READY-FOR-STATE"}),()=>{s.unsubscribe(),u.unsubscribe(),c.unsubscribe()}},[t,i,e]);const a=O.useMemo(()=>GS(e,500,!0),[e]);return O.useEffect(()=>{if(!(n.mode==="LOADING"||n.mode==="ERROR")){if(n.mode==="TEMPLATE_CHOOSER"){e({path:"ENTERED-TEMPLATE-SELECTOR"});return}a({path:"UPDATED-APP",payload:Ug(n,{include_info:!1})})}},[n,a,e]),{state:n,history:o}}const g9="_EditorContainer_1p1tb_1",y9={EditorContainer:g9};function aC(e){return Tt({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M12.75 8a4.5 4.5 0 0 1-8.61 1.834l-1.391.565A6.001 6.001 0 0 0 14.25 8 6 6 0 0 0 3.5 4.334V2.5H2v4l.75.75h3.5v-1.5H4.352A4.5 4.5 0 0 1 12.75 8z"}}]})(e)}const v9="_appViewerHolder_zkojo_1",w9="_title_zkojo_55",b9="_appContainer_zkojo_89",E9="_previewFrame_zkojo_109",S9="_expandButton_zkojo_134",A9="_reloadButtonContainer_zkojo_135",x9="_reloadButton_zkojo_135",C9="_spin_zkojo_174",_9="_restartButton_zkojo_211",k9="_loadingMessage_zkojo_238",T9="_error_zkojo_249",$t={appViewerHolder:v9,title:w9,appContainer:b9,previewFrame:E9,expandButton:S9,reloadButtonContainer:A9,reloadButton:x9,spin:C9,restartButton:_9,loadingMessage:k9,error:T9};function I9(e){return Tt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"}}]})(e)}function O9(e){return Tt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"}}]})(e)}function P9(e){return Tt({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"circle",attr:{cx:"8",cy:"8",r:"8"}}]})(e)}function N9(e){return Tt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",stroke:"#000",strokeWidth:"2",d:"M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M5,5 L19,19"}}]})(e)}const R9="_logs_xjp5l_2",D9="_logsContents_xjp5l_25",L9="_expandTab_xjp5l_29",F9="_clearLogsButton_xjp5l_69",M9="_logLine_xjp5l_75",B9="_noLogsMsg_xjp5l_81",U9="_expandedLogs_xjp5l_93",z9="_expandLogsButton_xjp5l_101",j9="_unseenLogsNotification_xjp5l_108",W9="_slidein_xjp5l_1",Ci={logs:R9,logsContents:D9,expandTab:L9,clearLogsButton:F9,logLine:M9,noLogsMsg:B9,expandedLogs:U9,expandLogsButton:z9,unseenLogsNotification:j9,slidein:W9};function Y9({appLogs:e,clearLogs:t}){const{logsExpanded:n,toggleLogExpansion:r,unseenLogs:i}=V9(e),o=e.length===0;return U("div",{className:Ci.logs,"data-expanded":n,children:[U("button",{className:Ci.expandTab,title:n?"hide logs":"show logs",onClick:r,children:[v(P9,{className:Ci.unseenLogsNotification,"data-show":i}),"App Logs",n?v(I9,{}):v(O9,{})]}),U("div",{className:Ci.logsContents,children:[o?v("p",{className:Ci.noLogsMsg,children:"No recent logs"}):e.map((l,a)=>v("p",{className:Ci.logLine,children:l},a)),o?null:v(rt,{variant:"icon",title:"clear logs",className:Ci.clearLogsButton,onClick:t,children:v(N9,{})})]})]})}function V9(e){const[t,n]=k.useState(!1),[r,i]=k.useState(!1),[o,l]=k.useState(null),[a,s]=k.useState(new Date),u=k.useCallback(()=>{if(t){n(!1),l(new Date);return}n(!0),i(!1)},[t]);return k.useEffect(()=>{s(new Date)},[e]),k.useEffect(()=>{if(t||e.length===0){i(!1);return}if(o===null||o{if(!o.current||typeof t=="undefined")return;const l=o.current;function a(s){s.target===l&&(t==null||t())}l.addEventListener("click",a);try{l.showModal()}catch(s){}return()=>{l.removeEventListener("click",a)}},[t]),v("dialog",W(P({},n),{ref:o,onClose:t,children:e}))}const H9="_show_btn_83j0t_1",G9="_modal_83j0t_5",J9="_title_83j0t_18",Q9="_description_83j0t_22",K9="_code_holder_83j0t_26",q9="_footer_83j0t_43",zn={show_btn:H9,modal:G9,title:J9,description:Q9,code_holder:K9,footer:q9};function X9({info:e}){const t=Ug(e,{include_info:!1});return t.app_type==="SINGLE-FILE"?U(Me,{children:[v("h2",{className:zn.title,children:"App script"}),U("p",{className:zn.description,children:["The following code defines the currently being edited app. Copy and paste it to an ",v("code",{children:"app.R"})," file to use."]}),U("div",{className:zn.code_holder,children:[v("label",{children:"app.R"}),v("pre",{children:t.app})]})]}):U(Me,{children:[v("h2",{className:zn.title,children:"App scripts"}),U("p",{className:zn.description,children:["The following code defines the currently being edited app. Copy and paste the ui and server scripts into ",v("code",{children:"ui.R"})," and"," ",v("code",{children:"server.R"})," files to use."]}),U("div",{className:zn.code_holder,children:[v("label",{children:"ui.R"}),v("pre",{children:t.ui})]}),U("div",{className:zn.code_holder,children:[v("label",{children:"server.R"}),v("pre",{children:t.server})]})]})}function Z9(){const[e,t]=k.useState(!1),r=Gm().getState().app_info;return r.mode!=="MAIN"?null:U(Me,{children:[v(fl,{className:$t.title,children:"Code"}),v(Ir,{className:zn.show_btn,text:"See current application code",position:"left",onClick:()=>t(i=>!i),variant:"regular",children:"Get app script"}),e?v($9,{className:zn.modal,title:"App Script",onClose:()=>t(!1),children:U("form",{method:"dialog",children:[v(X9,{info:r}),v("div",{className:zn.footer,children:v(rt,{type:"submit",children:"Okay"})})]})}):null]})}function eB(){const{sendMsg:e,incomingMsgs:t}=Qa(),[n,r]=k.useState("HIDDEN"),[i,o]=k.useState([]),[l,a]=k.useState(null);k.useEffect(()=>{const p=t.subscribe("APP-PREVIEW-STATUS",E=>{a(null),r(E)}),h=t.subscribe("APP-PREVIEW-LOGS",E=>{o(tB(E))}),m=t.subscribe("APP-PREVIEW-CRASH",E=>{a(E)});return e({path:"APP-PREVIEW-REQUEST"}),u(()=>()=>e({path:"APP-PREVIEW-RESTART"})),f(()=>()=>e({path:"APP-PREVIEW-STOP"})),()=>{p.unsubscribe(),h.unsubscribe(),m.unsubscribe()}},[t,e]);const[s,u]=k.useState(()=>()=>console.warn("No app running to reset")),[c,f]=k.useState(()=>()=>console.warn("No app running to stop")),d=k.useCallback(()=>{o([])},[]);return{appLogs:i,clearLogs:d,restartApp:s,stopApp:c,appLoc:n,errors:l}}function tB(e){return Array.isArray(e)?e:[e]}function nB(){const e=rB();return iB(e.width)}function rB(){const[e,t]=k.useState(x0()),n=k.useMemo(()=>GS(()=>{t(x0())},500),[]);return k.useEffect(()=>(window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)),[n]),e}function iB(e){const t=QS-sC*2,n=e-uC*2;return t/n}function x0(){const{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}const sC=16,uC=55;function oB(){const e=k.useRef(null),[t,n]=k.useState(!1),r=k.useCallback(()=>{n(d=>!d)},[]),{appLoc:i,errors:o,appLogs:l,clearLogs:a,restartApp:s}=eB(),u=nB(),c=k.useCallback(d=>{sB(d.currentTarget),!(!e.current||typeof i=="string")&&(d.metaKey?s():e.current.src=i.url)},[i,s]);if(i==="HIDDEN")return v(Z9,{});const f=({isExpandedMode:d})=>v("div",{className:$t.reloadButtonContainer,children:v(Ir,{text:`Reload app session (hold ${uB()} to restart app server also)`,className:$t.reloadButton,onClick:c,position:d?"right":"up-right",children:v(aC,{})})});return U(Me,{children:[U(fl,{className:$t.title,children:[v(f,{isExpandedMode:!1}),"App Preview"]}),v("div",{className:$t.appViewerHolder,"data-expanded":t,style:{"--app-scale-amnt":u,"--preview-inset-horizontal":`${sC}px`,"--expanded-inset-horizontal":`${uC}px`},children:o!==null?v(lB,{onClick:s}):U(Me,{children:[v(f,{isExpandedMode:!0}),U("div",{className:$t.appContainer,children:[i==="LOADING"?v(aB,{}):v("iframe",{className:$t.previewFrame,src:i.url,title:"Application Preview",ref:e}),v(rt,{variant:"icon",className:$t.expandButton,title:t?"Shrink app preview":"Expand app preview",onClick:r,children:t?v(J7,{}):v(ML,{})})]}),v(Y9,{appLogs:l,clearLogs:a})]})})]})}function lB({onClick:e}){return U("div",{className:$t.appContainer,children:[U("p",{children:["App preview crashed.",v("br",{})," Try and restart?"]}),U(rt,{className:$t.restartButton,title:"Restart app preview",onClick:e,children:["Restart app preview ",v(aC,{})]})]})}function aB(){return v("div",{className:$t.loadingMessage,children:v("h2",{children:"Loading app preview..."})})}function sB(e){const t=e.querySelector("svg");t==null||t.classList.add($t.spin),e.addEventListener("animationend",()=>t==null?void 0:t.classList.remove($t.spin),!1)}function uB(){return lC()?"⌘":"Alt"}function cC({main:e,properties:t,preview:n,left:r}){return v(Me,{children:U("div",{className:ar.EditorSkeleton,children:[v("div",{className:Ke(ar.elements_panel,ar.panel),children:r}),v("div",{className:ar.app_view,children:e}),v("div",{className:Ke(ar.properties_panel,ar.panel),children:t}),v("div",{className:Ke(ar.app_preview,ar.panel),children:n})]})})}const cB={uiName:"gridlayout::grid_page",uiArguments:{row_sizes:["70px","1fr","1fr"],col_sizes:["250px","1fr"],gap_size:"1rem",layout:["header header","sidebar linePlots","dists dists"]},uiChildren:[{uiName:"gridlayout::grid_card",uiArguments:{area:"sidebar"},uiChildren:[{uiName:"bslib::card_header",uiArguments:{},uiChildren:[{uiName:"textNode",uiArguments:{contents:"Settings"}}]},{uiName:"bslib::card_body_fill",uiArguments:{},uiChildren:[{uiName:"shiny::sliderInput",uiArguments:{inputId:"numChicks",label:"Number of Chicks",min:1,max:15,value:5,width:"100%",step:1}},{uiName:"shiny::radioButtons",uiArguments:{inputId:"distFacet",label:"Facet Distribution By",choices:{"Diet Type":"Diet","Measure Time":"Time"}}}]}]},{uiName:"gridlayout::grid_card_text",uiArguments:{area:"header",content:"Chick Weights",alignment:"center",is_title:!1}},{uiName:"gridlayout::grid_card_plot",uiArguments:{area:"dists"}},{uiName:"gridlayout::grid_card_plot",uiArguments:{area:"linePlots"}}]},fB={title:"Chick Weights Grid",description:"Plots investigating the ChickWeights built-in dataset",uiTree:cB,otherCode:{serverLibraries:["ggplot2"],serverFunctionBody:` output$linePlots <- renderPlot({ obs_to_include <- as.integer(ChickWeight$Chick) <= input$numChicks chicks <- ChickWeight[obs_to_include, ] @@ -233,10 +233,10 @@ output$bluePlot <- renderPlot({ output$myTable <- renderDT({ head(faithful, input$numRows) -})`}},fC=[mB,pB,fB];function gB(e){const t=e.outputType==="SINGLE-FILE"?yB(e):vB(e);return Fg(t,{include_info:!0})}function yB({uiTree:e,otherCode:{uiExtra:t="",serverExtra:n="",serverFunctionBody:r="",serverLibraries:i=[]}}){const o=`${Xn.libraries} +})`}},fC=[mB,pB,fB];function gB(e){const t=e.outputType==="SINGLE-FILE"?yB(e):vB(e);return Ug(t,{include_info:!0})}function yB({uiTree:e,otherCode:{uiExtra:t="",serverExtra:n="",serverFunctionBody:r="",serverLibraries:i=[]}}){const o=`${Zn.libraries} ${t} -ui <- ${Xn.ui} +ui <- ${Zn.ui} ${n} server <- function(input, output) { @@ -245,24 +245,24 @@ server <- function(input, output) { shinyApp(ui, server) -`;return{app_type:"SINGLE-FILE",ui_tree:e,app:{code:o,libraries:["shiny",...i]}}}function vB({uiTree:e,otherCode:{uiExtra:t="",serverExtra:n="",serverFunctionBody:r="",serverLibraries:i=[]}}){const o=`${Xn.libraries} +`;return{app_type:"SINGLE-FILE",ui_tree:e,app:{code:o,libraries:["shiny",...i]}}}function vB({uiTree:e,otherCode:{uiExtra:t="",serverExtra:n="",serverFunctionBody:r="",serverLibraries:i=[]}}){const o=`${Zn.libraries} ${t} -ui <- ${Xn.ui} +ui <- ${Zn.ui} `,l=`${iC(i)} ${n} server <- function(input, output) { ${Ba(r)} } -`;return{app_type:"MULTI-FILE",ui_tree:e,ui:{code:o,libraries:["shiny",...i]},server:{code:l}}}const Kd=1260,S0=800;function wB({uiTree:e,width_px:t}){const n=S0*(t/Kd),r=t/Kd;return v("div",{className:"AppTemplatePreview",style:{width:`${t}px`,height:`${n}px`,"--full-w":`${Kd}px`,"--full-h":`${S0}px`,"--shrink-ratio":r},children:v("div",{className:"template-container",children:v(bi,{path:[],node:e})})})}function dC(e){return e.uiName==="gridlayout::grid_page"?"grid":"navbarPage"}const bB={grid:fx,navbarPage:Xx},pC=5,EB={"--card-pad":`${pC}px`};function SB({info:{title:e,uiTree:t,description:n},onSelect:r,width_px:i,selected:o}){const l=dC(t),a=bB[l],s=i-2*pC;return U(yf,{placement:"bottom",children:[v(vf,{asChild:!0,children:U("article",{className:"AppTemplateCard","aria-label":"App template preview card",onClick:r,style:EB,"data-selected":o,children:[v("div",{className:"preview-container",children:v(wB,{uiTree:t,width_px:s})}),U("footer",{children:[v("span",{children:e}),v("img",{src:a,alt:`${l} layout icon`,title:`${l} layout app`,className:"layout-icon"})]})]})}),v(qS,{content:n})]})}function AB(){const{sendMsg:e}=Ja();return k.useCallback(n=>{e({path:"UPDATED-APP",payload:gB(n)})},[e])}const hC=["grid","navbarPage"];function xB(e){return fC.filter(({uiTree:t})=>{const n=dC(t);return!!e.layoutTypes.includes(n)})}function CB({outputChoices:e}){const t=AB(),[n,r]=k.useState({layoutTypes:hC}),[i,o]=k.useState(null),[l,a]=k.useState(e==="USER-CHOICE"?"SINGLE-FILE":e),s=f=>{o(d=>d===f?null:f)},u=k.useMemo(()=>xB(n),[n]);return k.useEffect(()=>{i&&!u.map(f=>f.title).includes(i)&&o(null)},[i,u]),{filterState:n,setFilterState:r,shownTemplates:u,selectedTemplate:i,setSelectedTemplate:s,selectedOutput:l,setSelectedOutput:a,finishSelection:()=>{const f=u.find(({title:p})=>p===i);if(!f)return;const d=tC(f.uiTree,{remove_namespace:!0});t(W(P(P({},f),d),{outputType:l}))}}}const _B=["SINGLE-FILE","MULTI-FILE"],kB={"SINGLE-FILE":"Single file mode","MULTI-FILE":"Multi file mode"};function TB({selectedOutput:e,setSelectedOutput:t}){return U("form",{className:"App_TypeForm",children:[v("legend",{children:"Generate app in:"}),_B.map(n=>{const r=kB[n];return U("div",{className:"labeled-form-option",children:[v("input",{type:"radio",id:`${n}-choice`,name:r,value:n,checked:n===e,onChange:i=>t(n)}),v("label",{htmlFor:`${n}-choice`,children:r})]},n)})]})}const IB={grid:"Grid",navbarPage:"Tabs"};function OB({filterState:e,setFilterState:t}){const{layoutTypes:n}=e;return v("form",{className:"TemplateFiltersForm",onSubmit:r=>{r.preventDefault()},children:U("fieldset",{"aria-label":"App layout type filters",children:[v("legend",{children:"Show templates based on selected layouts:"}),v("div",{className:"layout-options",children:hC.map(r=>{const i=IB[r],o=n.includes(r);return U("div",{className:"labeled-form-option",children:[v("input",{type:"checkbox",id:`${r}-choice`,name:i,value:r,checked:o,onChange:()=>{t(W(P({},e),{layoutTypes:o?n.filter(l=>l!==r):[...n,r]}))}}),v("label",{htmlFor:`${r}-choice`,children:i})]},r)})})]})})}const mC=294,PB={"--card-w":`${mC}px`};function NB({selectedTemplate:e,setSelectedTemplate:t,templates:n=fC}){return n.length===0?v("div",{className:"TemplatePreviewGrid empty-results",children:"No app templates fit current filters. Try broadening your search."}):v("div",{className:"TemplatePreviewGrid",style:PB,children:n.map(r=>v(SB,{info:r,selected:r.title===e,onSelect:()=>{t(r.title)},width_px:mC},r.title))})}function RB(e){const{filterState:t,setFilterState:n,shownTemplates:r,selectedTemplate:i,setSelectedTemplate:o,finishSelection:l,selectedOutput:a,setSelectedOutput:s}=CB(e),u=i!==null,c=u?"Next":"Select a template";return v(cC,{main:v(NB,{templates:r,selectedTemplate:i,setSelectedTemplate:o}),left:U(Ne,{children:[v(fl,{children:"Choose App Template"}),U("div",{className:"TemplateChooserSidebar",children:[v("section",{className:"instructions",children:"Hover over a template to see a description and what elements are used. Select the desired template and click next to edit."}),v(OB,{filterState:t,setFilterState:n}),e.outputChoices==="USER-CHOICE"?v(TB,{selectedOutput:a,setSelectedOutput:s}):null,v(rt,{disabled:!u,onClick:l,"aria-label":u?"Start editor with selected template":"Need to select a template to proceed","data-balloon-pos":"right",children:c})]})]})})}const DB="_elementsPalette_qmlez_1",LB="_OptionContainer_qmlez_18",FB="_OptionItem_qmlez_24",MB="_OptionIcon_qmlez_33",BB="_OptionLabel_qmlez_41",Jl={elementsPalette:DB,OptionContainer:LB,OptionItem:FB,OptionIcon:MB,OptionLabel:BB};function UB(e,t){const n={};for(const r in e)n[r]=zB(e[r],t);return n}function zB(e,t){const n=P({},e);for(const r in n){const i=n[r];typeof i=="function"&&(n[r]=i(t))}return n}function jB(e){const t={};for(const n in e){const r=e[n],i="optional"in r,o="useDefaultIfOptional"in r;if(i&&!o)continue;const l=r.defaultValue;t[n]=typeof l=="function"?l():l}return t}function WB({uiName:e}){const{iconSrc:t,title:n,settingsInfo:r,description:i=n,default_node:o}=to(e),l=o?P({uiName:e},o):{uiName:e,uiArguments:jB(r)},a=wA({node:l});return t===void 0?null:U(yf,{placement:"right",children:[v(vf,{asChild:!0,children:v("div",{className:Jl.OptionContainer,children:U("div",W(P({className:Jl.OptionItem,"data-ui-name":e},a),{children:[v("img",{src:t,alt:n,className:Jl.OptionIcon}),v("label",{className:Jl.OptionLabel,children:n})]}))})}),v(qS,{content:i})]})}const YB={Utilities:1,Inputs:1,Outputs:1,layouts:1,gridlayout:1,Tabs:1,Containers:1,Cards:1,Plotting:1,Uncategorized:1},A0=Object.keys(YB);function x0(e){const t=to(e);return"category"in t&&t.category?t.category:"uncategorized"}function VB(e,t){const n=A0.indexOf(x0(e)),r=A0.indexOf(x0(t));return nr?1:0}function $B({availableUiNodes:e=eC}){const t=[...e].sort(VB);return U(Ne,{children:[v(fl,{children:"Elements"}),v("div",{className:Jl.elementsPalette,children:t.map(n=>v(WB,{uiName:n},n))})]})}const HB="_deleteButton_1en02_1",GB={deleteButton:HB};function JB({path:e,justIcon:t=!1,label:n="Delete Node"}){const r=oC(e);return U(rt,{className:GB.deleteButton,onClick:i=>{i.stopPropagation(),r()},"aria-label":n,title:n,variant:t?"icon":"delete",type:"button",children:[v(xf,{}),t?null:"Delete Element"]})}function QB({settings:e,settingsInfo:t,onSettingsChange:n}){const r=R5(Object.keys(e),Object.keys(t));return r.length===0?null:U("section",{className:"unknown-arguments-list",children:[v("div",{className:"divider-line",children:v("label",{children:v(tI,{text:"Arguments present in UI code but not known about or editable by the shinyuieditor",position:"left",size:"fit",children:"Unknown arguments"})})}),v("ul",{className:"unknown-form-fields","aria-label":"Unknown arguments list",children:r.map(i=>U("li",{className:"unknown-argument","aria-label":"Unknown argument",style:{cursor:"default"},children:[v("code",{"aria-label":qB(e[i]),"data-balloon-pos":"left",style:{cursor:"inherit"},children:i}),v(Ir,{text:`Remove ${i} argument`,onClick:()=>n(i,{type:"REMOVE"}),type:"button",position:"left",children:v(xf,{})})]},i))})]})}function KB(e){return Lg(e)?e.uiName==="unknownUiFunction":!1}const C0=50;function qB(e){let t=JSON.stringify(KB(e)?e.uiArguments.text:e);return t.length>C0+4&&(t=t.substring(0,C0),t+="..."),"Value: "+t}function XB(e){const{settings:t,settingsInfo:n,onSettingsChange:r,renderInputs:i=({inputs:l})=>v(Ne,{children:Object.values(l)})}=e,o={inputs:eU({settings:t,settingsInfo:n,onSettingsChange:r}),settings:t};return U("form",{className:"FormBuilder",onSubmit:ZB,children:[i(o),v(QB,P({},e))]})}const ZB=e=>{e.preventDefault()};function eU({settings:e,settingsInfo:t,onSettingsChange:n}){const r={};for(const i in t){const o=t[i];if(!CA(o)||!("inputType"in o)||!("defaultValue"in o)||o.inputType==="omitted")continue;const l=e[i],a=W(P({},o),{name:i,value:l,onUpdate:s=>n(i,s)});r[i]=v(jx,P({},a),i)}return r}function tU({node:e}){var i;const{sendMsg:t,mode:n}=Ja();if(n!=="VSCODE"||!e)return null;const r=(i=to(e.uiName).serverBindings)!=null?i:{};return U("div",{children:[v(nU,{serverOutputInfo:r==null?void 0:r.outputs,node:e,sendMsg:t}),v(rU,{serverInputInfo:r==null?void 0:r.inputs,node:e,sendMsg:t})]})}function nU({serverOutputInfo:e,node:{uiArguments:t},sendMsg:n}){const r=KA();if(!(r.mode==="MAIN"&&"known_outputs"in r)||typeof e=="undefined")return null;const i=r.known_outputs,{outputIdKey:o,renderScaffold:l}=e,a=typeof o=="string"?o:o(t),s=t[a];if(typeof s!="string")return null;const u=i.has(s);return v(Ir,{text:u?"Show output declaration in app script":"Create output binding in app server",position:"left",variant:"regular",onClick:()=>{n(u?{path:"FIND-SERVER-USES",payload:{type:"Output",outputId:s}}:{path:"INSERT-SNIPPET",payload:{snippet:` -output\\$${s} <- ${l}`,where_in_server:"end"}})},children:u?"Show in server":"Generate server code"})}function rU({serverInputInfo:e,node:{uiArguments:t},sendMsg:n}){if(typeof e=="undefined")return null;const{inputIdKey:r}=e,i=typeof r=="string"?r:r(t),o=t[i];return typeof o!="string"?null:v(Ir,{text:`Find uses of bound input (input$${o}) in app script`,position:"left",variant:"regular",onClick:()=>{n({path:"FIND-SERVER-USES",payload:{type:"Input",inputId:o}})},children:"Find in server"})}function iU(e,t){const n=e.length;let r=[];for(let i=0;i<=n;i++){const o=Ei(t,e.slice(0,i));if(o===void 0)break;r.push(to(o.uiName).title)}return r}const oU="_container_1fh41_1",lU="_node_1fh41_12",_0={container:oU,node:lU};function aU({tree:e,path:t,onSelect:n}){const r=iU(t,e),i=t.length;return v("div",{className:_0.container,"aria-label":"Path to selected node",children:r.map((o,l)=>{const a=l===i,s=sU(o);return v("div",{className:_0.node,"aria-label":a?"current selection":"ancestor of selection",onClick:a?void 0:()=>n(t.slice(0,l)),children:s},o+l)})})}function sU(e){return e.replace(/[a-z]+::/,"")}const uU="_settingsPanel_a44hx_1",cU="_currentElementAbout_a44hx_10",fU="_settingsForm_a44hx_17",dU="_settingsInputs_a44hx_24",pU="_buttonsHolder_a44hx_28",hU="_validationErrorMsg_a44hx_45",qd={settingsPanel:uU,currentElementAbout:cU,settingsForm:fU,settingsInputs:dU,buttonsHolder:pU,validationErrorMsg:hU};var mU=gU;function gU(e,t){var n={};typeof t=="string"&&(t=[].slice.call(arguments,1));for(var r in e)(!e.hasOwnProperty||e.hasOwnProperty(r))&&t.indexOf(r)===-1&&(n[r]=e[r]);return n}function yU(e){const t=Tr(),n=rs(),r=EA(),[i,o]=O.useState(n!==null?k0(e,n):null),l=O.useRef(!1),a=O.useCallback(c=>{n&&l.current&&t(HA({path:n,node:c}))},[t,n]);return O.useEffect(()=>{if(l.current=!1,n===null){o(null);return}o(k0(e,n))},[e,n]),O.useEffect(()=>{i&&a(i)},[i,a]),{currentNode:i,updateArgumentsByName:(c,f)=>{o(d=>W(P({},d),{uiArguments:W(P({},d==null?void 0:d.uiArguments),{[c]:f})})),l.current=!0},deleteArgumentByName:c=>{o(f=>{var d;return f===null?f:W(P({},f),{uiArguments:mU((d=f.uiArguments)!=null?d:{},c)})}),l.current=!0},selectedPath:n,setNodeSelection:r}}function k0(...e){try{return Ei(...e)}catch(t){return console.warn("Failed to get node. Args:",e),null}}function vU(e){const t=k.useMemo(()=>n=>v(XS,P({header:"Error rendering settings panel",generateIssueLink:r=>FE({title:"Error rendering settings panel",body:`Error rendering settings panel: -${LE(r)}`,labels:["Settings-Panel"]})},n)),[]);return U(Ne,{children:[v(fl,{children:"Properties"}),v(Xc,{fallbackRender:t,children:v(wU,P({},e))})]})}function wU({tree:e}){const{currentNode:t,updateArgumentsByName:n,deleteArgumentByName:r,selectedPath:i,setNodeSelection:o}=yU(e);if(i===null)return v("div",{children:"Select an element to edit properties"});if(t===null)return U("div",{children:["Error finding requested node at path ",i.join(".")]});const l=i.length===0,{uiName:a,uiArguments:s}=t,u=to(a),c=UB(u.settingsInfo,t);return v(Ne,{children:U("div",{className:qd.settingsPanel,children:[v("div",{className:qd.currentElementAbout,children:v(aU,{tree:e,path:i,onSelect:o})}),v(XB,{settings:s,settingsInfo:c,renderInputs:"settingsFormRender"in u?u.settingsFormRender:void 0,onSettingsChange:(f,d)=>{switch(d.type){case"UPDATE":n(f,d.value);return;case"REMOVE":r(f);return}}}),v(tU,{node:t}),v("div",{className:qd.buttonsHolder,children:l?null:v(JB,{path:i})})]})})}const bU="_message_for_user_hxksa_1",EU="_message_container_hxksa_6",SU="_error_msg_hxksa_25",Lh={message_for_user:bU,message_container:EU,error_msg:SU};function gC({children:e}){return v("div",{className:Lh.message_for_user,children:v("div",{className:Lh.message_container,children:e})})}function AU({msg:e}){const t=e.split(` -`);return v(Ne,{children:t.map(n=>v("p",{className:Lh.error_msg,children:n}))})}function xU({state:e}){switch(e.mode){case"MAIN":return v(CU,{state:e});case"LOADING":return v(kU,{});case"ERROR":return v(_U,{state:e});case"TEMPLATE_CHOOSER":return v(RB,P({},e.options))}}function CU({state:e}){return v(cC,{main:v(bi,{node:e.ui_tree,path:[],canDrag:!1}),left:v($B,{}),properties:v(vU,{tree:e.ui_tree}),preview:v(oB,{})})}function _U({state:e}){return U(gC,{children:[U("h2",{children:["Error ",e.context?`while ${e.context}`:""]}),v(AU,{msg:e.msg})]})}function kU(){return v(gC,{children:v("h2",{children:"Loading initial state from server"})})}function yC(e){return function(t){return typeof t===e}}var TU=yC("function"),IU=function(e){return e===null},T0=function(e){return Object.prototype.toString.call(e).slice(8,-1)==="RegExp"},I0=function(e){return!OU(e)&&!IU(e)&&(TU(e)||typeof e=="object")},OU=yC("undefined"),Fh=globalThis&&globalThis.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function PU(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=n;r--!==0;)if(!Lt(e[r],t[r]))return!1;return!0}function NU(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=new DataView(e.buffer),r=new DataView(t.buffer),i=e.byteLength;i--;)if(n.getUint8(i)!==r.getUint8(i))return!1;return!0}function RU(e,t){var n,r,i,o;if(e.size!==t.size)return!1;try{for(var l=Fh(e.entries()),a=l.next();!a.done;a=l.next()){var s=a.value;if(!t.has(s[0]))return!1}}catch(f){n={error:f}}finally{try{a&&!a.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}try{for(var u=Fh(e.entries()),c=u.next();!c.done;c=u.next()){var s=c.value;if(!Lt(s[1],t.get(s[0])))return!1}}catch(f){i={error:f}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return!0}function DU(e,t){var n,r;if(e.size!==t.size)return!1;try{for(var i=Fh(e.entries()),o=i.next();!o.done;o=i.next()){var l=o.value;if(!t.has(l[0]))return!1}}catch(a){n={error:a}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!0}function Lt(e,t){if(e===t)return!0;if(e&&I0(e)&&t&&I0(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return PU(e,t);if(e instanceof Map&&t instanceof Map)return RU(e,t);if(e instanceof Set&&t instanceof Set)return DU(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return NU(e,t);if(T0(e)&&T0(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=n.length;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(var i=n.length;i--!==0;){var o=n[i];if(!(o==="_owner"&&e.$$typeof)&&!Lt(e[o],t[o]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(t)?!0:e===t}var LU=["innerHTML","ownerDocument","style","attributes","nodeValue"],FU=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],MU=["bigint","boolean","null","number","string","symbol","undefined"];function If(e){var t=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(t))return"HTMLElement";if(BU(t))return t}function Ln(e){return function(t){return If(t)===e}}function BU(e){return FU.includes(e)}function dl(e){return function(t){return typeof t===e}}function UU(e){return MU.includes(e)}function B(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(B.array(e))return"Array";if(B.plainFunction(e))return"Function";var t=If(e);return t||"Object"}B.array=Array.isArray;B.arrayOf=function(e,t){return!B.array(e)&&!B.function(t)?!1:e.every(function(n){return t(n)})};B.asyncGeneratorFunction=function(e){return If(e)==="AsyncGeneratorFunction"};B.asyncFunction=Ln("AsyncFunction");B.bigint=dl("bigint");B.boolean=function(e){return e===!0||e===!1};B.date=Ln("Date");B.defined=function(e){return!B.undefined(e)};B.domElement=function(e){return B.object(e)&&!B.plainObject(e)&&e.nodeType===1&&B.string(e.nodeName)&&LU.every(function(t){return t in e})};B.empty=function(e){return B.string(e)&&e.length===0||B.array(e)&&e.length===0||B.object(e)&&!B.map(e)&&!B.set(e)&&Object.keys(e).length===0||B.set(e)&&e.size===0||B.map(e)&&e.size===0};B.error=Ln("Error");B.function=dl("function");B.generator=function(e){return B.iterable(e)&&B.function(e.next)&&B.function(e.throw)};B.generatorFunction=Ln("GeneratorFunction");B.instanceOf=function(e,t){return!e||!t?!1:Object.getPrototypeOf(e)===t.prototype};B.iterable=function(e){return!B.nullOrUndefined(e)&&B.function(e[Symbol.iterator])};B.map=Ln("Map");B.nan=function(e){return Number.isNaN(e)};B.null=function(e){return e===null};B.nullOrUndefined=function(e){return B.null(e)||B.undefined(e)};B.number=function(e){return dl("number")(e)&&!B.nan(e)};B.numericString=function(e){return B.string(e)&&e.length>0&&!Number.isNaN(Number(e))};B.object=function(e){return!B.nullOrUndefined(e)&&(B.function(e)||typeof e=="object")};B.oneOf=function(e,t){return B.array(e)?e.indexOf(t)>-1:!1};B.plainFunction=Ln("Function");B.plainObject=function(e){if(If(e)!=="Object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};B.primitive=function(e){return B.null(e)||UU(typeof e)};B.promise=Ln("Promise");B.propertyOf=function(e,t,n){if(!B.object(e)||!t)return!1;var r=e[t];return B.function(n)?n(r):B.defined(r)};B.regexp=Ln("RegExp");B.set=Ln("Set");B.string=dl("string");B.symbol=dl("symbol");B.undefined=dl("undefined");B.weakMap=Ln("WeakMap");B.weakSet=Ln("WeakSet");function zU(){for(var e=[],t=0;ts);return B.undefined(r)||(u=u&&s===r),B.undefined(o)||(u=u&&a===o),u}function P0(e,t,n){var r=n.key,i=n.type,o=n.value,l=Hn(e,r),a=Hn(t,r),s=i==="added"?l:a,u=i==="added"?a:l;if(!B.nullOrUndefined(o)){if(B.defined(s)){if(B.array(s)||B.plainObject(s))return jU(s,u,o)}else return Lt(u,o);return!1}return[l,a].every(B.array)?!u.every(Mg(s)):[l,a].every(B.plainObject)?WU(Object.keys(s),Object.keys(u)):![l,a].every(function(c){return B.primitive(c)&&B.defined(c)})&&(i==="added"?!B.defined(l)&&B.defined(a):B.defined(l)&&!B.defined(a))}function N0(e,t,n){var r=n===void 0?{}:n,i=r.key,o=Hn(e,i),l=Hn(t,i);if(!vC(o,l))throw new TypeError("Inputs have different types");if(!zU(o,l))throw new TypeError("Inputs don't have length");return[o,l].every(B.plainObject)&&(o=Object.keys(o),l=Object.keys(l)),[o,l]}function R0(e){return function(t){var n=t[0],r=t[1];return B.array(e)?Lt(e,r)||e.some(function(i){return Lt(i,r)||B.array(r)&&Mg(r)(i)}):B.plainObject(e)&&e[n]?!!e[n]&&Lt(e[n],r):Lt(e,r)}}function WU(e,t){return t.some(function(n){return!e.includes(n)})}function D0(e){return function(t){return B.array(e)?e.some(function(n){return Lt(n,t)||B.array(t)&&Mg(t)(n)}):Lt(e,t)}}function Nl(e,t){return B.array(e)?e.some(function(n){return Lt(n,t)}):Lt(e,t)}function Mg(e){return function(t){return e.some(function(n){return Lt(n,t)})}}function vC(){for(var e=[],t=0;tOf(t)===e}function HU(e){return VU.includes(e)}function pl(e){return t=>typeof t===e}function GU(e){return $U.includes(e)}function q(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(q.array(e))return"Array";if(q.plainFunction(e))return"Function";const t=Of(e);return t||"Object"}q.array=Array.isArray;q.arrayOf=(e,t)=>!q.array(e)&&!q.function(t)?!1:e.every(n=>t(n));q.asyncGeneratorFunction=e=>Of(e)==="AsyncGeneratorFunction";q.asyncFunction=Fn("AsyncFunction");q.bigint=pl("bigint");q.boolean=e=>e===!0||e===!1;q.date=Fn("Date");q.defined=e=>!q.undefined(e);q.domElement=e=>q.object(e)&&!q.plainObject(e)&&e.nodeType===1&&q.string(e.nodeName)&&YU.every(t=>t in e);q.empty=e=>q.string(e)&&e.length===0||q.array(e)&&e.length===0||q.object(e)&&!q.map(e)&&!q.set(e)&&Object.keys(e).length===0||q.set(e)&&e.size===0||q.map(e)&&e.size===0;q.error=Fn("Error");q.function=pl("function");q.generator=e=>q.iterable(e)&&q.function(e.next)&&q.function(e.throw);q.generatorFunction=Fn("GeneratorFunction");q.instanceOf=(e,t)=>!e||!t?!1:Object.getPrototypeOf(e)===t.prototype;q.iterable=e=>!q.nullOrUndefined(e)&&q.function(e[Symbol.iterator]);q.map=Fn("Map");q.nan=e=>Number.isNaN(e);q.null=e=>e===null;q.nullOrUndefined=e=>q.null(e)||q.undefined(e);q.number=e=>pl("number")(e)&&!q.nan(e);q.numericString=e=>q.string(e)&&e.length>0&&!Number.isNaN(Number(e));q.object=e=>!q.nullOrUndefined(e)&&(q.function(e)||typeof e=="object");q.oneOf=(e,t)=>q.array(e)?e.indexOf(t)>-1:!1;q.plainFunction=Fn("Function");q.plainObject=e=>{if(Of(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};q.primitive=e=>q.null(e)||GU(typeof e);q.promise=Fn("Promise");q.propertyOf=(e,t,n)=>{if(!q.object(e)||!t)return!1;const r=e[t];return q.function(n)?n(r):q.defined(r)};q.regexp=Fn("RegExp");q.set=Fn("Set");q.string=pl("string");q.symbol=pl("symbol");q.undefined=pl("undefined");q.weakMap=Fn("WeakMap");q.weakSet=Fn("WeakSet");var Ge=q,Mh={},JU={get exports(){return Mh},set exports(e){Mh=e}};/*! +`;return{app_type:"MULTI-FILE",ui_tree:e,ui:{code:o,libraries:["shiny",...i]},server:{code:l}}}const Kd=1260,C0=800;function wB({uiTree:e,width_px:t}){const n=C0*(t/Kd),r=t/Kd;return v("div",{className:"AppTemplatePreview",style:{width:`${t}px`,height:`${n}px`,"--full-w":`${Kd}px`,"--full-h":`${C0}px`,"--shrink-ratio":r},children:v("div",{className:"template-container",children:v(bi,{path:[],node:e})})})}function dC(e){return e.uiName==="gridlayout::grid_page"?"grid":"navbarPage"}const bB={grid:fx,navbarPage:Xx},pC=5,EB={"--card-pad":`${pC}px`};function SB({info:{title:e,uiTree:t,description:n},onSelect:r,width_px:i,selected:o}){const l=dC(t),a=bB[l],s=i-2*pC;return U(yf,{placement:"bottom",children:[v(vf,{asChild:!0,children:U("article",{className:"AppTemplateCard","aria-label":"App template preview card",onClick:r,style:EB,"data-selected":o,children:[v("div",{className:"preview-container",children:v(wB,{uiTree:t,width_px:s})}),U("footer",{children:[v("span",{children:e}),v("img",{src:a,alt:`${l} layout icon`,title:`${l} layout app`,className:"layout-icon"})]})]})}),v(HS,{content:n})]})}function AB(){const{sendMsg:e}=Qa();return k.useCallback(n=>{e({path:"UPDATED-APP",payload:gB(n)})},[e])}const hC=["grid","navbarPage"];function xB(e){return fC.filter(({uiTree:t})=>{const n=dC(t);return!!e.layoutTypes.includes(n)})}function CB({outputChoices:e}){const t=AB(),[n,r]=k.useState({layoutTypes:hC}),[i,o]=k.useState(null),[l,a]=k.useState(e==="USER-CHOICE"?"SINGLE-FILE":e),s=f=>{o(d=>d===f?null:f)},u=k.useMemo(()=>xB(n),[n]);return k.useEffect(()=>{i&&!u.map(f=>f.title).includes(i)&&o(null)},[i,u]),{filterState:n,setFilterState:r,shownTemplates:u,selectedTemplate:i,setSelectedTemplate:s,selectedOutput:l,setSelectedOutput:a,finishSelection:()=>{const f=u.find(({title:p})=>p===i);if(!f)return;const d=tC(f.uiTree,{remove_namespace:!0});t(W(P(P({},f),d),{outputType:l}))}}}const _B=["SINGLE-FILE","MULTI-FILE"],kB={"SINGLE-FILE":"Single file mode","MULTI-FILE":"Multi file mode"};function TB({selectedOutput:e,setSelectedOutput:t}){return U("form",{className:"App_TypeForm",children:[v("legend",{children:"Generate app in:"}),_B.map(n=>{const r=kB[n];return U("div",{className:"labeled-form-option",children:[v("input",{type:"radio",id:`${n}-choice`,name:r,value:n,checked:n===e,onChange:i=>t(n)}),v("label",{htmlFor:`${n}-choice`,children:r})]},n)})]})}const IB={grid:"Grid",navbarPage:"Tabs"};function OB({filterState:e,setFilterState:t}){const{layoutTypes:n}=e;return v("form",{className:"TemplateFiltersForm",onSubmit:r=>{r.preventDefault()},children:U("fieldset",{"aria-label":"App layout type filters",children:[v("legend",{children:"Show templates based on selected layouts:"}),v("div",{className:"layout-options",children:hC.map(r=>{const i=IB[r],o=n.includes(r);return U("div",{className:"labeled-form-option",children:[v("input",{type:"checkbox",id:`${r}-choice`,name:i,value:r,checked:o,onChange:()=>{t(W(P({},e),{layoutTypes:o?n.filter(l=>l!==r):[...n,r]}))}}),v("label",{htmlFor:`${r}-choice`,children:i})]},r)})})]})})}const mC=294,PB={"--card-w":`${mC}px`};function NB({selectedTemplate:e,setSelectedTemplate:t,templates:n=fC}){return n.length===0?v("div",{className:"TemplatePreviewGrid empty-results",children:"No app templates fit current filters. Try broadening your search."}):v("div",{className:"TemplatePreviewGrid",style:PB,children:n.map(r=>v(SB,{info:r,selected:r.title===e,onSelect:()=>{t(r.title)},width_px:mC},r.title))})}function RB(e){const{filterState:t,setFilterState:n,shownTemplates:r,selectedTemplate:i,setSelectedTemplate:o,finishSelection:l,selectedOutput:a,setSelectedOutput:s}=CB(e),u=i!==null,c=u?"Next":"Select a template";return v(cC,{main:v(NB,{templates:r,selectedTemplate:i,setSelectedTemplate:o}),left:U(Me,{children:[v(fl,{children:"Choose App Template"}),U("div",{className:"TemplateChooserSidebar",children:[v("section",{className:"instructions",children:"Hover over a template to see a description and what elements are used. Select the desired template and click next to edit."}),v(OB,{filterState:t,setFilterState:n}),e.outputChoices==="USER-CHOICE"?v(TB,{selectedOutput:a,setSelectedOutput:s}):null,v(rt,{disabled:!u,onClick:l,"aria-label":u?"Start editor with selected template":"Need to select a template to proceed","data-balloon-pos":"right",children:c})]})]})})}const DB="_elementsPalette_qmlez_1",LB="_OptionContainer_qmlez_18",FB="_OptionItem_qmlez_24",MB="_OptionIcon_qmlez_33",BB="_OptionLabel_qmlez_41",Jl={elementsPalette:DB,OptionContainer:LB,OptionItem:FB,OptionIcon:MB,OptionLabel:BB};function UB(e,t){const n={};for(const r in e)n[r]=zB(e[r],t);return n}function zB(e,t){const n=P({},e);for(const r in n){const i=n[r];typeof i=="function"&&(n[r]=i(t))}return n}function jB(e){const t={};for(const n in e){const r=e[n],i="optional"in r,o="useDefaultIfOptional"in r;if(i&&!o)continue;const l=r.defaultValue;t[n]=typeof l=="function"?l():l}return t}function WB({uiName:e}){const{iconSrc:t,title:n,settingsInfo:r,description:i=n,default_node:o}=to(e),l=o?P({uiName:e},o):{uiName:e,uiArguments:jB(r)},a=wA({node:l});return t===void 0?null:U(yf,{placement:"right",children:[v(vf,{asChild:!0,children:v("div",{className:Jl.OptionContainer,children:U("div",W(P({className:Jl.OptionItem,"data-ui-name":e},a),{children:[v("img",{src:t,alt:n,className:Jl.OptionIcon}),v("label",{className:Jl.OptionLabel,children:n})]}))})}),v(HS,{content:i})]})}const YB={Utilities:1,Inputs:1,Outputs:1,layouts:1,gridlayout:1,Tabs:1,Containers:1,Cards:1,Plotting:1,Uncategorized:1},_0=Object.keys(YB);function k0(e){const t=to(e);return"category"in t&&t.category?t.category:"uncategorized"}function VB(e,t){const n=_0.indexOf(k0(e)),r=_0.indexOf(k0(t));return nr?1:0}function $B({availableUiNodes:e=eC}){const t=[...e].sort(VB);return U(Me,{children:[v(fl,{children:"Elements"}),v("div",{className:Jl.elementsPalette,children:t.map(n=>v(WB,{uiName:n},n))})]})}const HB="_deleteButton_1en02_1",GB={deleteButton:HB};function JB({path:e,justIcon:t=!1,label:n="Delete Node"}){const r=oC(e);return U(rt,{className:GB.deleteButton,onClick:i=>{i.stopPropagation(),r()},"aria-label":n,title:n,variant:t?"icon":"delete",type:"button",children:[v(xf,{}),t?null:"Delete Element"]})}function QB({settings:e,settingsInfo:t,onSettingsChange:n}){const r=R5(Object.keys(e),Object.keys(t));return r.length===0?null:U("section",{className:"unknown-arguments-list",children:[v("div",{className:"divider-line",children:v("label",{children:v(M3,{text:"Arguments present in UI code but not known about or editable by the shinyuieditor",position:"left",size:"fit",children:"Unknown arguments"})})}),v("ul",{className:"unknown-form-fields","aria-label":"Unknown arguments list",children:r.map(i=>U("li",{className:"unknown-argument","aria-label":"Unknown argument",style:{cursor:"default"},children:[v("code",{"aria-label":qB(e[i]),"data-balloon-pos":"left",style:{cursor:"inherit"},children:i}),v(Ir,{text:`Remove ${i} argument`,onClick:()=>n(i,{type:"REMOVE"}),type:"button",position:"left",children:v(xf,{})})]},i))})]})}function KB(e){return Bg(e)?e.uiName==="unknownUiFunction":!1}const T0=50;function qB(e){let t=JSON.stringify(KB(e)?e.uiArguments.text:e);return t.length>T0+4&&(t=t.substring(0,T0),t+="..."),"Value: "+t}function XB(e){const{settings:t,settingsInfo:n,onSettingsChange:r,renderInputs:i=({inputs:l})=>v(Me,{children:Object.values(l)})}=e,o={inputs:eU({settings:t,settingsInfo:n,onSettingsChange:r}),settings:t};return U("form",{className:"FormBuilder",onSubmit:ZB,children:[i(o),v(QB,P({},e))]})}const ZB=e=>{e.preventDefault()};function eU({settings:e,settingsInfo:t,onSettingsChange:n}){const r={};for(const i in t){const o=t[i];if(!CA(o)||!("inputType"in o)||!("defaultValue"in o)||o.inputType==="omitted")continue;const l=e[i],a=W(P({},o),{name:i,value:l,onUpdate:s=>n(i,s)});r[i]=v(jx,P({},a),i)}return r}function tU({node:e}){var i;const{sendMsg:t,mode:n}=Qa();if(n!=="VSCODE"||!e)return null;const r=(i=to(e.uiName).serverBindings)!=null?i:{};return U("div",{children:[v(nU,{serverOutputInfo:r==null?void 0:r.outputs,node:e,sendMsg:t}),v(rU,{serverInputInfo:r==null?void 0:r.inputs,node:e,sendMsg:t})]})}function nU({serverOutputInfo:e,node:{uiArguments:t},sendMsg:n}){const r=KA();if(!(r.mode==="MAIN"&&"known_outputs"in r)||typeof e=="undefined")return null;const i=r.known_outputs,{outputIdKey:o,renderScaffold:l}=e,a=typeof o=="string"?o:o(t),s=t[a];if(typeof s!="string")return null;const u=i.has(s);return v(Ir,{text:u?"Show output declaration in app script":"Create output binding in app server",position:"left",variant:"regular",onClick:()=>{n(u?{path:"FIND-SERVER-USES",payload:{type:"Output",outputId:s}}:{path:"INSERT-SNIPPET",payload:{snippet:` +output\\$${s} <- ${l}`,where_in_server:"end"}})},children:u?"Show in server":"Generate server code"})}function rU({serverInputInfo:e,node:{uiArguments:t},sendMsg:n}){if(typeof e=="undefined")return null;const{inputIdKey:r}=e,i=typeof r=="string"?r:r(t),o=t[i];return typeof o!="string"?null:v(Ir,{text:`Find uses of bound input (input$${o}) in app script`,position:"left",variant:"regular",onClick:()=>{n({path:"FIND-SERVER-USES",payload:{type:"Input",inputId:o}})},children:"Find in server"})}function iU(e,t){const n=e.length;let r=[];for(let i=0;i<=n;i++){const o=Ei(t,e.slice(0,i));if(o===void 0)break;r.push(to(o.uiName).title)}return r}const oU="_container_1fh41_1",lU="_node_1fh41_12",I0={container:oU,node:lU};function aU({tree:e,path:t,onSelect:n}){const r=iU(t,e),i=t.length;return v("div",{className:I0.container,"aria-label":"Path to selected node",children:r.map((o,l)=>{const a=l===i,s=sU(o);return v("div",{className:I0.node,"aria-label":a?"current selection":"ancestor of selection",onClick:a?void 0:()=>n(t.slice(0,l)),children:s},o+l)})})}function sU(e){return e.replace(/[a-z]+::/,"")}const uU="_settingsPanel_a44hx_1",cU="_currentElementAbout_a44hx_10",fU="_settingsForm_a44hx_17",dU="_settingsInputs_a44hx_24",pU="_buttonsHolder_a44hx_28",hU="_validationErrorMsg_a44hx_45",qd={settingsPanel:uU,currentElementAbout:cU,settingsForm:fU,settingsInputs:dU,buttonsHolder:pU,validationErrorMsg:hU};var mU=gU;function gU(e,t){var n={};typeof t=="string"&&(t=[].slice.call(arguments,1));for(var r in e)(!e.hasOwnProperty||e.hasOwnProperty(r))&&t.indexOf(r)===-1&&(n[r]=e[r]);return n}function yU(e){const t=Tr(),n=is(),r=EA(),[i,o]=O.useState(n!==null?O0(e,n):null),l=O.useRef(!1),a=O.useCallback(c=>{n&&l.current&&t(HA({path:n,node:c}))},[t,n]);return O.useEffect(()=>{if(l.current=!1,n===null){o(null);return}o(O0(e,n))},[e,n]),O.useEffect(()=>{i&&a(i)},[i,a]),{currentNode:i,updateArgumentsByName:(c,f)=>{o(d=>W(P({},d),{uiArguments:W(P({},d==null?void 0:d.uiArguments),{[c]:f})})),l.current=!0},deleteArgumentByName:c=>{o(f=>{var d;return f===null?f:W(P({},f),{uiArguments:mU((d=f.uiArguments)!=null?d:{},c)})}),l.current=!0},selectedPath:n,setNodeSelection:r}}function O0(...e){try{return Ei(...e)}catch(t){return console.warn("Failed to get node. Args:",e),null}}function vU({tree:e}){const{currentNode:t,updateArgumentsByName:n,deleteArgumentByName:r,selectedPath:i,setNodeSelection:o}=yU(e);if(i===null)return v("div",{children:"Select an element to edit properties"});if(t===null)return U("div",{children:["Error finding requested node at path ",i.join(".")]});const l=i.length===0,{uiName:a,uiArguments:s}=t,u=to(a),c=UB(u.settingsInfo,t);return U(Me,{children:[v(fl,{children:"Properties"}),v(Ja,{fallbackRender:wU,children:U("div",{className:qd.settingsPanel,children:[v("div",{className:qd.currentElementAbout,children:v(aU,{tree:e,path:i,onSelect:o})}),v(XB,{settings:s,settingsInfo:c,renderInputs:"settingsFormRender"in u?u.settingsFormRender:void 0,onSettingsChange:(f,d)=>{switch(d.type){case"UPDATE":n(f,d.value);return;case"REMOVE":r(f);return}}}),v(tU,{node:t}),v("div",{className:qd.buttonsHolder,children:l?null:v(JB,{path:i})})]})})]})}const wU=e=>v(ag,P({header:"Error rendering settings panel",generateIssueLink:t=>ug({title:"Error rendering settings panel",body:`Error rendering settings panel: +${sg(t)}`,labels:["Settings-Panel"]})},e)),bU="_message_for_user_hxksa_1",EU="_message_container_hxksa_6",SU="_error_msg_hxksa_25",Lh={message_for_user:bU,message_container:EU,error_msg:SU};function gC({children:e}){return v("div",{className:Lh.message_for_user,children:v("div",{className:Lh.message_container,children:e})})}function AU({msg:e}){const t=e.split(` +`);return v(Me,{children:t.map(n=>v("p",{className:Lh.error_msg,children:n}))})}function xU({state:e}){switch(e.mode){case"MAIN":return v(CU,{state:e});case"LOADING":return v(kU,{});case"ERROR":return v(_U,{state:e});case"TEMPLATE_CHOOSER":return v(RB,P({},e.options))}}function CU({state:e}){return v(cC,{main:v(bi,{node:e.ui_tree,path:[],canDrag:!1}),left:v($B,{}),properties:v(vU,{tree:e.ui_tree}),preview:v(oB,{})})}function _U({state:e}){return U(gC,{children:[U("h2",{children:["Error ",e.context?`while ${e.context}`:""]}),v(AU,{msg:e.msg})]})}function kU(){return v(gC,{children:v("h2",{children:"Loading initial state from server"})})}function yC(e){return function(t){return typeof t===e}}var TU=yC("function"),IU=function(e){return e===null},P0=function(e){return Object.prototype.toString.call(e).slice(8,-1)==="RegExp"},N0=function(e){return!OU(e)&&!IU(e)&&(TU(e)||typeof e=="object")},OU=yC("undefined"),Fh=globalThis&&globalThis.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function PU(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=n;r--!==0;)if(!Lt(e[r],t[r]))return!1;return!0}function NU(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=new DataView(e.buffer),r=new DataView(t.buffer),i=e.byteLength;i--;)if(n.getUint8(i)!==r.getUint8(i))return!1;return!0}function RU(e,t){var n,r,i,o;if(e.size!==t.size)return!1;try{for(var l=Fh(e.entries()),a=l.next();!a.done;a=l.next()){var s=a.value;if(!t.has(s[0]))return!1}}catch(f){n={error:f}}finally{try{a&&!a.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}try{for(var u=Fh(e.entries()),c=u.next();!c.done;c=u.next()){var s=c.value;if(!Lt(s[1],t.get(s[0])))return!1}}catch(f){i={error:f}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return!0}function DU(e,t){var n,r;if(e.size!==t.size)return!1;try{for(var i=Fh(e.entries()),o=i.next();!o.done;o=i.next()){var l=o.value;if(!t.has(l[0]))return!1}}catch(a){n={error:a}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!0}function Lt(e,t){if(e===t)return!0;if(e&&N0(e)&&t&&N0(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return PU(e,t);if(e instanceof Map&&t instanceof Map)return RU(e,t);if(e instanceof Set&&t instanceof Set)return DU(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return NU(e,t);if(P0(e)&&P0(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=n.length;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(var i=n.length;i--!==0;){var o=n[i];if(!(o==="_owner"&&e.$$typeof)&&!Lt(e[o],t[o]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(t)?!0:e===t}var LU=["innerHTML","ownerDocument","style","attributes","nodeValue"],FU=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],MU=["bigint","boolean","null","number","string","symbol","undefined"];function If(e){var t=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(t))return"HTMLElement";if(BU(t))return t}function Ln(e){return function(t){return If(t)===e}}function BU(e){return FU.includes(e)}function dl(e){return function(t){return typeof t===e}}function UU(e){return MU.includes(e)}function B(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(B.array(e))return"Array";if(B.plainFunction(e))return"Function";var t=If(e);return t||"Object"}B.array=Array.isArray;B.arrayOf=function(e,t){return!B.array(e)&&!B.function(t)?!1:e.every(function(n){return t(n)})};B.asyncGeneratorFunction=function(e){return If(e)==="AsyncGeneratorFunction"};B.asyncFunction=Ln("AsyncFunction");B.bigint=dl("bigint");B.boolean=function(e){return e===!0||e===!1};B.date=Ln("Date");B.defined=function(e){return!B.undefined(e)};B.domElement=function(e){return B.object(e)&&!B.plainObject(e)&&e.nodeType===1&&B.string(e.nodeName)&&LU.every(function(t){return t in e})};B.empty=function(e){return B.string(e)&&e.length===0||B.array(e)&&e.length===0||B.object(e)&&!B.map(e)&&!B.set(e)&&Object.keys(e).length===0||B.set(e)&&e.size===0||B.map(e)&&e.size===0};B.error=Ln("Error");B.function=dl("function");B.generator=function(e){return B.iterable(e)&&B.function(e.next)&&B.function(e.throw)};B.generatorFunction=Ln("GeneratorFunction");B.instanceOf=function(e,t){return!e||!t?!1:Object.getPrototypeOf(e)===t.prototype};B.iterable=function(e){return!B.nullOrUndefined(e)&&B.function(e[Symbol.iterator])};B.map=Ln("Map");B.nan=function(e){return Number.isNaN(e)};B.null=function(e){return e===null};B.nullOrUndefined=function(e){return B.null(e)||B.undefined(e)};B.number=function(e){return dl("number")(e)&&!B.nan(e)};B.numericString=function(e){return B.string(e)&&e.length>0&&!Number.isNaN(Number(e))};B.object=function(e){return!B.nullOrUndefined(e)&&(B.function(e)||typeof e=="object")};B.oneOf=function(e,t){return B.array(e)?e.indexOf(t)>-1:!1};B.plainFunction=Ln("Function");B.plainObject=function(e){if(If(e)!=="Object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};B.primitive=function(e){return B.null(e)||UU(typeof e)};B.promise=Ln("Promise");B.propertyOf=function(e,t,n){if(!B.object(e)||!t)return!1;var r=e[t];return B.function(n)?n(r):B.defined(r)};B.regexp=Ln("RegExp");B.set=Ln("Set");B.string=dl("string");B.symbol=dl("symbol");B.undefined=dl("undefined");B.weakMap=Ln("WeakMap");B.weakSet=Ln("WeakSet");function zU(){for(var e=[],t=0;ts);return B.undefined(r)||(u=u&&s===r),B.undefined(o)||(u=u&&a===o),u}function D0(e,t,n){var r=n.key,i=n.type,o=n.value,l=Hn(e,r),a=Hn(t,r),s=i==="added"?l:a,u=i==="added"?a:l;if(!B.nullOrUndefined(o)){if(B.defined(s)){if(B.array(s)||B.plainObject(s))return jU(s,u,o)}else return Lt(u,o);return!1}return[l,a].every(B.array)?!u.every(zg(s)):[l,a].every(B.plainObject)?WU(Object.keys(s),Object.keys(u)):![l,a].every(function(c){return B.primitive(c)&&B.defined(c)})&&(i==="added"?!B.defined(l)&&B.defined(a):B.defined(l)&&!B.defined(a))}function L0(e,t,n){var r=n===void 0?{}:n,i=r.key,o=Hn(e,i),l=Hn(t,i);if(!vC(o,l))throw new TypeError("Inputs have different types");if(!zU(o,l))throw new TypeError("Inputs don't have length");return[o,l].every(B.plainObject)&&(o=Object.keys(o),l=Object.keys(l)),[o,l]}function F0(e){return function(t){var n=t[0],r=t[1];return B.array(e)?Lt(e,r)||e.some(function(i){return Lt(i,r)||B.array(r)&&zg(r)(i)}):B.plainObject(e)&&e[n]?!!e[n]&&Lt(e[n],r):Lt(e,r)}}function WU(e,t){return t.some(function(n){return!e.includes(n)})}function M0(e){return function(t){return B.array(e)?e.some(function(n){return Lt(n,t)||B.array(t)&&zg(t)(n)}):Lt(e,t)}}function Nl(e,t){return B.array(e)?e.some(function(n){return Lt(n,t)}):Lt(e,t)}function zg(e){return function(t){return e.some(function(n){return Lt(n,t)})}}function vC(){for(var e=[],t=0;tOf(t)===e}function HU(e){return VU.includes(e)}function pl(e){return t=>typeof t===e}function GU(e){return $U.includes(e)}function q(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(q.array(e))return"Array";if(q.plainFunction(e))return"Function";const t=Of(e);return t||"Object"}q.array=Array.isArray;q.arrayOf=(e,t)=>!q.array(e)&&!q.function(t)?!1:e.every(n=>t(n));q.asyncGeneratorFunction=e=>Of(e)==="AsyncGeneratorFunction";q.asyncFunction=Fn("AsyncFunction");q.bigint=pl("bigint");q.boolean=e=>e===!0||e===!1;q.date=Fn("Date");q.defined=e=>!q.undefined(e);q.domElement=e=>q.object(e)&&!q.plainObject(e)&&e.nodeType===1&&q.string(e.nodeName)&&YU.every(t=>t in e);q.empty=e=>q.string(e)&&e.length===0||q.array(e)&&e.length===0||q.object(e)&&!q.map(e)&&!q.set(e)&&Object.keys(e).length===0||q.set(e)&&e.size===0||q.map(e)&&e.size===0;q.error=Fn("Error");q.function=pl("function");q.generator=e=>q.iterable(e)&&q.function(e.next)&&q.function(e.throw);q.generatorFunction=Fn("GeneratorFunction");q.instanceOf=(e,t)=>!e||!t?!1:Object.getPrototypeOf(e)===t.prototype;q.iterable=e=>!q.nullOrUndefined(e)&&q.function(e[Symbol.iterator]);q.map=Fn("Map");q.nan=e=>Number.isNaN(e);q.null=e=>e===null;q.nullOrUndefined=e=>q.null(e)||q.undefined(e);q.number=e=>pl("number")(e)&&!q.nan(e);q.numericString=e=>q.string(e)&&e.length>0&&!Number.isNaN(Number(e));q.object=e=>!q.nullOrUndefined(e)&&(q.function(e)||typeof e=="object");q.oneOf=(e,t)=>q.array(e)?e.indexOf(t)>-1:!1;q.plainFunction=Fn("Function");q.plainObject=e=>{if(Of(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};q.primitive=e=>q.null(e)||GU(typeof e);q.promise=Fn("Promise");q.propertyOf=(e,t,n)=>{if(!q.object(e)||!t)return!1;const r=e[t];return q.function(n)?n(r):q.defined(r)};q.regexp=Fn("RegExp");q.set=Fn("Set");q.string=pl("string");q.symbol=pl("symbol");q.undefined=pl("undefined");q.weakMap=Fn("WeakMap");q.weakSet=Fn("WeakSet");var Ge=q,Mh={},JU={get exports(){return Mh},set exports(e){Mh=e}};/*! Copyright (c) 2015 Jed Watson. Based on code that is Copyright 2013-2015, Facebook, Inc. All rights reserved. -*/(function(e){(function(){var t=!!(typeof window!="undefined"&&window.document&&window.document.createElement),n={canUseDOM:t,canUseWorkers:typeof Worker!="undefined",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n})()})(JU);const wC=Mh;var QU=new Error("Element already at target scroll position"),KU=new Error("Scroll cancelled"),qU=Math.min,L0=Date.now,XU={left:F0("scrollLeft"),top:F0("scrollTop")};function F0(e){return function(n,r,i,o){i=i||{},typeof i=="function"&&(o=i,i={}),typeof o!="function"&&(o=ez);var l=L0(),a=n[e],s=i.ease||ZU,u=isNaN(i.duration)?350:+i.duration,c=!1;return a===r?o(QU,n[e]):requestAnimationFrame(d),f;function f(){c=!0}function d(p){if(c)return o(KU,n[e]);var h=L0(),m=qU(1,(h-l)/u),E=s(m);n[e]=E*(r-a)+a,m<1?requestAnimationFrame(d):requestAnimationFrame(function(){o(null,n[e])})}}}function ZU(e){return .5*(1-Math.cos(Math.PI*e))}function ez(){}var Bh={},tz={get exports(){return Bh},set exports(e){Bh=e}};(function(e){(function(t,n){e.exports?e.exports=n():t.Scrollparent=n()})(b_,function(){var t=/(auto|scroll)/,n=function(a,s){return a.parentNode===null?s:n(a.parentNode,s.concat([a]))},r=function(a,s){return getComputedStyle(a,null).getPropertyValue(s)},i=function(a){return r(a,"overflow")+r(a,"overflow-y")+r(a,"overflow-x")},o=function(a){return t.test(i(a))},l=function(a){if(a instanceof HTMLElement||a instanceof SVGElement){for(var s=n(a.parentNode,[]),u=0;u=0)return 1;return 0}();function Az(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function xz(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},Sz))}}var Cz=ls&&window.Promise,_z=Cz?Az:xz;function AC(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function ro(e,t){if(e.nodeType!==1)return[];var n=e.ownerDocument.defaultView,r=n.getComputedStyle(e,null);return t?r[t]:r}function Bg(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function as(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=ro(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?e:as(Bg(e))}function xC(e){return e&&e.referenceNode?e.referenceNode:e}var U0=ls&&!!(window.MSInputMethodContext&&document.documentMode),z0=ls&&/MSIE 10/.test(navigator.userAgent);function hl(e){return e===11?U0:e===10?z0:U0||z0}function Zo(e){if(!e)return document.documentElement;for(var t=hl(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return!r||r==="BODY"||r==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(n.nodeName)!==-1&&ro(n,"position")==="static"?Zo(n):n}function kz(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||Zo(e.firstElementChild)===e}function Uh(e){return e.parentNode!==null?Uh(e.parentNode):e}function uc(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var l=o.commonAncestorContainer;if(e!==l&&t!==l||r.contains(i))return kz(l)?l:Zo(l);var a=Uh(e);return a.host?uc(a.host,t):uc(e,Uh(t).host)}function el(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",n=t==="top"?"scrollTop":"scrollLeft",r=e.nodeName;if(r==="BODY"||r==="HTML"){var i=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||i;return o[n]}return e[n]}function Tz(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=el(t,"top"),i=el(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}function j0(e,t){var n=t==="x"?"Left":"Top",r=n==="Left"?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function W0(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],hl(10)?parseInt(n["offset"+e])+parseInt(r["margin"+(e==="Height"?"Top":"Left")])+parseInt(r["margin"+(e==="Height"?"Bottom":"Right")]):0)}function CC(e){var t=e.body,n=e.documentElement,r=hl(10)&&getComputedStyle(n);return{height:W0("Height",t,n,r),width:W0("Width",t,n,r)}}var Iz=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Oz=function(){function e(t,n){for(var r=0;r2&&arguments[2]!==void 0?arguments[2]:!1,r=hl(10),i=t.nodeName==="HTML",o=zh(e),l=zh(t),a=as(e),s=ro(t),u=parseFloat(s.borderTopWidth),c=parseFloat(s.borderLeftWidth);n&&i&&(l.top=Math.max(l.top,0),l.left=Math.max(l.left,0));var f=hi({top:o.top-l.top-u,left:o.left-l.left-c,width:o.width,height:o.height});if(f.marginTop=0,f.marginLeft=0,!r&&i){var d=parseFloat(s.marginTop),p=parseFloat(s.marginLeft);f.top-=u-d,f.bottom-=u-d,f.left-=c-p,f.right-=c-p,f.marginTop=d,f.marginLeft=p}return(r&&!n?t.contains(a):t===a&&a.nodeName!=="BODY")&&(f=Tz(f,t)),f}function Pz(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.ownerDocument.documentElement,r=Ug(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),l=t?0:el(n),a=t?0:el(n,"left"),s={top:l-r.top+r.marginTop,left:a-r.left+r.marginLeft,width:i,height:o};return hi(s)}function _C(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(ro(e,"position")==="fixed")return!0;var n=Bg(e);return n?_C(n):!1}function kC(e){if(!e||!e.parentElement||hl())return document.documentElement;for(var t=e.parentElement;t&&ro(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function zg(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,o={top:0,left:0},l=i?kC(e):uc(e,xC(t));if(r==="viewport")o=Pz(l,i);else{var a=void 0;r==="scrollParent"?(a=as(Bg(t)),a.nodeName==="BODY"&&(a=e.ownerDocument.documentElement)):r==="window"?a=e.ownerDocument.documentElement:a=r;var s=Ug(a,l,i);if(a.nodeName==="HTML"&&!_C(l)){var u=CC(e.ownerDocument),c=u.height,f=u.width;o.top+=s.top-s.marginTop,o.bottom=c+s.top,o.left+=s.left-s.marginLeft,o.right=f+s.left}else o=s}n=n||0;var d=typeof n=="number";return o.left+=d?n:n.left||0,o.top+=d?n:n.top||0,o.right-=d?n:n.right||0,o.bottom-=d?n:n.bottom||0,o}function Nz(e){var t=e.width,n=e.height;return t*n}function TC(e,t,n,r,i){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var l=zg(n,r,o,i),a={top:{width:l.width,height:t.top-l.top},right:{width:l.right-t.right,height:l.height},bottom:{width:l.width,height:l.bottom-t.bottom},left:{width:t.left-l.left,height:l.height}},s=Object.keys(a).map(function(d){return cn({key:d},a[d],{area:Nz(a[d])})}).sort(function(d,p){return p.area-d.area}),u=s.filter(function(d){var p=d.width,h=d.height;return p>=n.clientWidth&&h>=n.clientHeight}),c=u.length>0?u[0].key:s[0].key,f=e.split("-")[1];return c+(f?"-"+f:"")}function IC(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=r?kC(t):uc(t,xC(n));return Ug(n,i,r)}function OC(e){var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),i=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),o={width:e.offsetWidth+i,height:e.offsetHeight+r};return o}function cc(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(n){return t[n]})}function PC(e,t,n){n=n.split("-")[0];var r=OC(e),i={width:r.width,height:r.height},o=["right","left"].indexOf(n)!==-1,l=o?"top":"left",a=o?"left":"top",s=o?"height":"width",u=o?"width":"height";return i[l]=t[l]+t[s]/2-r[s]/2,n===a?i[a]=t[a]-r[u]:i[a]=t[cc(a)],i}function ss(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function Rz(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(i){return i[t]===n});var r=ss(e,function(i){return i[t]===n});return e.indexOf(r)}function NC(e,t,n){var r=n===void 0?e:e.slice(0,Rz(e,"name",n));return r.forEach(function(i){i.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var o=i.function||i.fn;i.enabled&&AC(o)&&(t.offsets.popper=hi(t.offsets.popper),t.offsets.reference=hi(t.offsets.reference),t=o(t,i))}),t}function Dz(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=IC(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=TC(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=PC(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=NC(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function RC(e,t){return e.some(function(n){var r=n.name,i=n.enabled;return i&&r===t})}function jg(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;rl[p]&&(e.offsets.popper[f]+=a[f]+h-l[p]),e.offsets.popper=hi(e.offsets.popper);var m=a[f]+a[u]/2-h/2,E=ro(e.instance.popper),g=parseFloat(E["margin"+c]),y=parseFloat(E["border"+c+"Width"]),w=m-e.offsets.popper[f]-g-y;return w=Math.max(Math.min(l[u]-h,w),0),e.arrowElement=r,e.offsets.arrow=(n={},tl(n,f,Math.round(w)),tl(n,d,""),n),e}function Gz(e){return e==="end"?"start":e==="start"?"end":e}var MC=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Xd=MC.slice(3);function Y0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=Xd.indexOf(e),r=Xd.slice(n+1).concat(Xd.slice(0,n));return t?r.reverse():r}var Zd={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Jz(e,t){if(RC(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var n=zg(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=cc(r),o=e.placement.split("-")[1]||"",l=[];switch(t.behavior){case Zd.FLIP:l=[r,i];break;case Zd.CLOCKWISE:l=Y0(r);break;case Zd.COUNTERCLOCKWISE:l=Y0(r,!0);break;default:l=t.behavior}return l.forEach(function(a,s){if(r!==a||l.length===s+1)return e;r=e.placement.split("-")[0],i=cc(r);var u=e.offsets.popper,c=e.offsets.reference,f=Math.floor,d=r==="left"&&f(u.right)>f(c.left)||r==="right"&&f(u.left)f(c.top)||r==="bottom"&&f(u.top)f(n.right),m=f(u.top)f(n.bottom),g=r==="left"&&p||r==="right"&&h||r==="top"&&m||r==="bottom"&&E,y=["top","bottom"].indexOf(r)!==-1,w=!!t.flipVariations&&(y&&o==="start"&&p||y&&o==="end"&&h||!y&&o==="start"&&m||!y&&o==="end"&&E),S=!!t.flipVariationsByContent&&(y&&o==="start"&&h||y&&o==="end"&&p||!y&&o==="start"&&E||!y&&o==="end"&&m),_=w||S;(d||g||_)&&(e.flipped=!0,(d||g)&&(r=l[s+1]),_&&(o=Gz(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=cn({},e.offsets.popper,PC(e.instance.popper,e.offsets.reference,e.placement)),e=NC(e.instance.modifiers,e,"flip"))}),e}function Qz(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],o=Math.floor,l=["top","bottom"].indexOf(i)!==-1,a=l?"right":"bottom",s=l?"left":"top",u=l?"width":"height";return n[a]o(r[a])&&(e.offsets.popper[s]=o(r[a])),e}function Kz(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],l=i[2];if(!o)return e;if(l.indexOf("%")===0){var a=void 0;switch(l){case"%p":a=n;break;case"%":case"%r":default:a=r}var s=hi(a);return s[t]/100*o}else if(l==="vh"||l==="vw"){var u=void 0;return l==="vh"?u=Math.max(document.documentElement.clientHeight,window.innerHeight||0):u=Math.max(document.documentElement.clientWidth,window.innerWidth||0),u/100*o}else return o}function qz(e,t,n,r){var i=[0,0],o=["right","left"].indexOf(r)!==-1,l=e.split(/(\+|\-)/).map(function(c){return c.trim()}),a=l.indexOf(ss(l,function(c){return c.search(/,|\s/)!==-1}));l[a]&&l[a].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,u=a!==-1?[l.slice(0,a).concat([l[a].split(s)[0]]),[l[a].split(s)[1]].concat(l.slice(a+1))]:[l];return u=u.map(function(c,f){var d=(f===1?!o:o)?"height":"width",p=!1;return c.reduce(function(h,m){return h[h.length-1]===""&&["+","-"].indexOf(m)!==-1?(h[h.length-1]=m,p=!0,h):p?(h[h.length-1]+=m,p=!1,h):h.concat(m)},[]).map(function(h){return Kz(h,d,t,n)})}),u.forEach(function(c,f){c.forEach(function(d,p){Wg(d)&&(i[f]+=d*(c[p-1]==="-"?-1:1))})}),i}function Xz(e,t){var n=t.offset,r=e.placement,i=e.offsets,o=i.popper,l=i.reference,a=r.split("-")[0],s=void 0;return Wg(+n)?s=[+n,0]:s=qz(n,o,l,a),a==="left"?(o.top+=s[0],o.left-=s[1]):a==="right"?(o.top+=s[0],o.left+=s[1]):a==="top"?(o.left+=s[0],o.top-=s[1]):a==="bottom"&&(o.left+=s[0],o.top+=s[1]),e.popper=o,e}function Zz(e,t){var n=t.boundariesElement||Zo(e.instance.popper);e.instance.reference===n&&(n=Zo(n));var r=jg("transform"),i=e.instance.popper.style,o=i.top,l=i.left,a=i[r];i.top="",i.left="",i[r]="";var s=zg(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=o,i.left=l,i[r]=a,t.boundaries=s;var u=t.priority,c=e.offsets.popper,f={primary:function(p){var h=c[p];return c[p]s[p]&&!t.escapeWithReference&&(m=Math.min(c[h],s[p]-(p==="right"?c.width:c.height))),tl({},h,m)}};return u.forEach(function(d){var p=["left","top"].indexOf(d)!==-1?"primary":"secondary";c=cn({},c,f[p](d))}),e.offsets.popper=c,e}function ej(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,o=i.reference,l=i.popper,a=["bottom","top"].indexOf(n)!==-1,s=a?"left":"top",u=a?"width":"height",c={start:tl({},s,o[s]),end:tl({},s,o[s]+o[u]-l[u])};e.offsets.popper=cn({},l,c[r])}return e}function tj(e){if(!FC(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=ss(e.instance.modifiers,function(r){return r.name==="preventOverflow"}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&arguments[2]!==void 0?arguments[2]:{};Iz(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=_z(this.update.bind(this)),this.options=cn({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(cn({},e.Defaults.modifiers,i.modifiers)).forEach(function(l){r.options.modifiers[l]=cn({},e.Defaults.modifiers[l]||{},i.modifiers?i.modifiers[l]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(l){return cn({name:l},r.options.modifiers[l])}).sort(function(l,a){return l.order-a.order}),this.modifiers.forEach(function(l){l.enabled&&AC(l.onLoad)&&l.onLoad(r.reference,r.popper,r.options,l,r.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return Oz(e,[{key:"update",value:function(){return Dz.call(this)}},{key:"destroy",value:function(){return Lz.call(this)}},{key:"enableEventListeners",value:function(){return Mz.call(this)}},{key:"disableEventListeners",value:function(){return Uz.call(this)}}]),e}();Pf.Utils=(typeof window!="undefined"?window:global).PopperUtils;Pf.placements=MC;Pf.Defaults=ij;const V0=Pf;function $0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function De(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function BC(e,t){if(e==null)return{};var n=lj(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function sr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aj(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return sr(e)}function ds(e){var t=oj();return function(){var r=fc(e),i;if(t){var o=fc(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return aj(this,i)}}var sj={flip:{padding:20},preventOverflow:{padding:10}},me={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing",ERROR:"error"},pr=wC.canUseDOM,Rl=Mi.createPortal!==void 0;function ep(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}function js(e){var t=e.title,n=e.data,r=e.warn,i=r===void 0?!1:r,o=e.debug,l=o===void 0?!1:o,a=i?console.warn||console.error:console.log;l&&t&&n&&(console.groupCollapsed("%creact-floater: ".concat(t),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach(function(s){B.plainObject(s)&&s.key?a.apply(console,[s.key,s.value]):a.apply(console,[s])}):a.apply(console,[n]),console.groupEnd())}function uj(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e.addEventListener(t,n,r)}function cj(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e.removeEventListener(t,n,r)}function fj(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i;i=function(l){n(l),cj(e,t,i)},uj(e,t,i,r)}function G0(){}var UC=function(e){fs(n,e);var t=ds(n);function n(){return us(this,n),t.apply(this,arguments)}return cs(n,[{key:"componentDidMount",value:function(){pr&&(this.node||this.appendNode(),Rl||this.renderPortal())}},{key:"componentDidUpdate",value:function(){pr&&(Rl||this.renderPortal())}},{key:"componentWillUnmount",value:function(){!pr||!this.node||(Rl||Mi.unmountComponentAtNode(this.node),this.node&&this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=void 0))}},{key:"appendNode",value:function(){var i=this.props,o=i.id,l=i.zIndex;this.node||(this.node=document.createElement("div"),o&&(this.node.id=o),l&&(this.node.style.zIndex=l),document.body.appendChild(this.node))}},{key:"renderPortal",value:function(){if(!pr)return null;var i=this.props,o=i.children,l=i.setRef;if(this.node||this.appendNode(),Rl)return Mi.createPortal(o,this.node);var a=Mi.unstable_renderSubtreeIntoContainer(this,o.length>1?k.createElement("div",null,o):o[0],this.node);return l(a),null}},{key:"renderReact16",value:function(){var i=this.props,o=i.hasChildren,l=i.placement,a=i.target;return o?this.renderPortal():a||l==="center"?this.renderPortal():null}},{key:"render",value:function(){return Rl?this.renderReact16():null}}]),n}(k.Component);vt(UC,"propTypes",{children:M.oneOfType([M.element,M.array]),hasChildren:M.bool,id:M.oneOfType([M.string,M.number]),placement:M.string,setRef:M.func.isRequired,target:M.oneOfType([M.object,M.string]),zIndex:M.number});var zC=function(e){fs(n,e);var t=ds(n);function n(){return us(this,n),t.apply(this,arguments)}return cs(n,[{key:"parentStyle",get:function(){var i=this.props,o=i.placement,l=i.styles,a=l.arrow.length,s={pointerEvents:"none",position:"absolute",width:"100%"};return o.startsWith("top")?(s.bottom=0,s.left=0,s.right=0,s.height=a):o.startsWith("bottom")?(s.left=0,s.right=0,s.top=0,s.height=a):o.startsWith("left")?(s.right=0,s.top=0,s.bottom=0):o.startsWith("right")&&(s.left=0,s.top=0),s}},{key:"render",value:function(){var i=this.props,o=i.placement,l=i.setArrowRef,a=i.styles,s=a.arrow,u=s.color,c=s.display,f=s.length,d=s.margin,p=s.position,h=s.spread,m={display:c,position:p},E,g=h,y=f;return o.startsWith("top")?(E="0,0 ".concat(g/2,",").concat(y," ").concat(g,",0"),m.bottom=0,m.marginLeft=d,m.marginRight=d):o.startsWith("bottom")?(E="".concat(g,",").concat(y," ").concat(g/2,",0 0,").concat(y),m.top=0,m.marginLeft=d,m.marginRight=d):o.startsWith("left")?(y=h,g=f,E="0,0 ".concat(g,",").concat(y/2," 0,").concat(y),m.right=0,m.marginTop=d,m.marginBottom=d):o.startsWith("right")&&(y=h,g=f,E="".concat(g,",").concat(y," ").concat(g,",0 0,").concat(y/2),m.left=0,m.marginTop=d,m.marginBottom=d),k.createElement("div",{className:"__floater__arrow",style:this.parentStyle},k.createElement("span",{ref:l,style:m},k.createElement("svg",{width:g,height:y,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},k.createElement("polygon",{points:E,fill:u}))))}}]),n}(k.Component);vt(zC,"propTypes",{placement:M.string.isRequired,setArrowRef:M.func.isRequired,styles:M.object.isRequired});var dj=["color","height","width"],jC=function(t){var n=t.handleClick,r=t.styles,i=r.color,o=r.height,l=r.width,a=BC(r,dj);return k.createElement("button",{"aria-label":"close",onClick:n,style:a,type:"button"},k.createElement("svg",{width:"".concat(l,"px"),height:"".concat(o,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},k.createElement("g",null,k.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:i}))))};jC.propTypes={handleClick:M.func.isRequired,styles:M.object.isRequired};var WC=function(t){var n=t.content,r=t.footer,i=t.handleClick,o=t.open,l=t.positionWrapper,a=t.showCloseButton,s=t.title,u=t.styles,c={content:k.isValidElement(n)?n:k.createElement("div",{className:"__floater__content",style:u.content},n)};return s&&(c.title=k.isValidElement(s)?s:k.createElement("div",{className:"__floater__title",style:u.title},s)),r&&(c.footer=k.isValidElement(r)?r:k.createElement("div",{className:"__floater__footer",style:u.footer},r)),(a||l)&&!B.boolean(o)&&(c.close=k.createElement(jC,{styles:u.close,handleClick:i})),k.createElement("div",{className:"__floater__container",style:u.container},c.close,c.title,c.content,c.footer)};WC.propTypes={content:M.node.isRequired,footer:M.node,handleClick:M.func.isRequired,open:M.bool,positionWrapper:M.bool.isRequired,showCloseButton:M.bool.isRequired,styles:M.object.isRequired,title:M.node};var YC=function(e){fs(n,e);var t=ds(n);function n(){return us(this,n),t.apply(this,arguments)}return cs(n,[{key:"style",get:function(){var i=this.props,o=i.disableAnimation,l=i.component,a=i.placement,s=i.hideArrow,u=i.status,c=i.styles,f=c.arrow.length,d=c.floater,p=c.floaterCentered,h=c.floaterClosing,m=c.floaterOpening,E=c.floaterWithAnimation,g=c.floaterWithComponent,y={};return s||(a.startsWith("top")?y.padding="0 0 ".concat(f,"px"):a.startsWith("bottom")?y.padding="".concat(f,"px 0 0"):a.startsWith("left")?y.padding="0 ".concat(f,"px 0 0"):a.startsWith("right")&&(y.padding="0 0 0 ".concat(f,"px"))),[me.OPENING,me.OPEN].indexOf(u)!==-1&&(y=De(De({},y),m)),u===me.CLOSING&&(y=De(De({},y),h)),u===me.OPEN&&!o&&(y=De(De({},y),E)),a==="center"&&(y=De(De({},y),p)),l&&(y=De(De({},y),g)),De(De({},d),y)}},{key:"render",value:function(){var i=this.props,o=i.component,l=i.handleClick,a=i.hideArrow,s=i.setFloaterRef,u=i.status,c={},f=["__floater"];return o?k.isValidElement(o)?c.content=k.cloneElement(o,{closeFn:l}):c.content=o({closeFn:l}):c.content=k.createElement(WC,this.props),u===me.OPEN&&f.push("__floater__open"),a||(c.arrow=k.createElement(zC,this.props)),k.createElement("div",{ref:s,className:f.join(" "),style:this.style},k.createElement("div",{className:"__floater__body"},c.content,c.arrow))}}]),n}(k.Component);vt(YC,"propTypes",{component:M.oneOfType([M.func,M.element]),content:M.node,disableAnimation:M.bool.isRequired,footer:M.node,handleClick:M.func.isRequired,hideArrow:M.bool.isRequired,open:M.bool,placement:M.string.isRequired,positionWrapper:M.bool.isRequired,setArrowRef:M.func.isRequired,setFloaterRef:M.func.isRequired,showCloseButton:M.bool,status:M.string.isRequired,styles:M.object.isRequired,title:M.node});var VC=function(e){fs(n,e);var t=ds(n);function n(){return us(this,n),t.apply(this,arguments)}return cs(n,[{key:"render",value:function(){var i=this.props,o=i.children,l=i.handleClick,a=i.handleMouseEnter,s=i.handleMouseLeave,u=i.setChildRef,c=i.setWrapperRef,f=i.style,d=i.styles,p;if(o)if(k.Children.count(o)===1)if(!k.isValidElement(o))p=k.createElement("span",null,o);else{var h=B.function(o.type)?"innerRef":"ref";p=k.cloneElement(k.Children.only(o),vt({},h,u))}else p=o;return p?k.createElement("span",{ref:c,style:De(De({},d),f),onClick:l,onMouseEnter:a,onMouseLeave:s},p):null}}]),n}(k.Component);vt(VC,"propTypes",{children:M.node,handleClick:M.func.isRequired,handleMouseEnter:M.func.isRequired,handleMouseLeave:M.func.isRequired,setChildRef:M.func.isRequired,setWrapperRef:M.func.isRequired,style:M.object,styles:M.object.isRequired});var pj={zIndex:100};function hj(e){var t=Vn(pj,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}var mj=["arrow","flip","offset"],gj=["position","top","right","bottom","left"],Yg=function(e){fs(n,e);var t=ds(n);function n(r){var i;return us(this,n),i=t.call(this,r),vt(sr(i),"setArrowRef",function(o){i.arrowRef=o}),vt(sr(i),"setChildRef",function(o){i.childRef=o}),vt(sr(i),"setFloaterRef",function(o){i.floaterRef=o}),vt(sr(i),"setWrapperRef",function(o){i.wrapperRef=o}),vt(sr(i),"handleTransitionEnd",function(){var o=i.state.status,l=i.props.callback;i.wrapperPopper&&i.wrapperPopper.instance.update(),i.setState({status:o===me.OPENING?me.OPEN:me.IDLE},function(){var a=i.state.status;l(a===me.OPEN?"open":"close",i.props)})}),vt(sr(i),"handleClick",function(){var o=i.props,l=o.event,a=o.open;if(!B.boolean(a)){var s=i.state,u=s.positionWrapper,c=s.status;(i.event==="click"||i.event==="hover"&&u)&&(js({title:"click",data:[{event:l,status:c===me.OPEN?"closing":"opening"}],debug:i.debug}),i.toggle())}}),vt(sr(i),"handleMouseEnter",function(){var o=i.props,l=o.event,a=o.open;if(!(B.boolean(a)||ep())){var s=i.state.status;i.event==="hover"&&s===me.IDLE&&(js({title:"mouseEnter",data:[{key:"originalEvent",value:l}],debug:i.debug}),clearTimeout(i.eventDelayTimeout),i.toggle())}}),vt(sr(i),"handleMouseLeave",function(){var o=i.props,l=o.event,a=o.eventDelay,s=o.open;if(!(B.boolean(s)||ep())){var u=i.state,c=u.status,f=u.positionWrapper;i.event==="hover"&&(js({title:"mouseLeave",data:[{key:"originalEvent",value:l}],debug:i.debug}),a?[me.OPENING,me.OPEN].indexOf(c)!==-1&&!f&&!i.eventDelayTimeout&&(i.eventDelayTimeout=setTimeout(function(){delete i.eventDelayTimeout,i.toggle()},a*1e3)):i.toggle(me.IDLE))}}),i.state={currentPlacement:r.placement,needsUpdate:!1,positionWrapper:r.wrapperOptions.position&&!!r.target,status:me.INIT,statusWrapper:me.INIT},i._isMounted=!1,i.hasMounted=!1,pr&&window.addEventListener("load",function(){i.popper&&i.popper.instance.update(),i.wrapperPopper&&i.wrapperPopper.instance.update()}),i}return cs(n,[{key:"componentDidMount",value:function(){if(pr){var i=this.state.positionWrapper,o=this.props,l=o.children,a=o.open,s=o.target;this._isMounted=!0,js({title:"init",data:{hasChildren:!!l,hasTarget:!!s,isControlled:B.boolean(a),positionWrapper:i,target:this.target,floater:this.floaterRef},debug:this.debug}),this.hasMounted||(this.initPopper(),this.hasMounted=!0),!l&&s&&B.boolean(a)}}},{key:"componentDidUpdate",value:function(i,o){if(pr){var l=this.props,a=l.autoOpen,s=l.open,u=l.target,c=l.wrapperOptions,f=ja(o,this.state),d=f.changedFrom,p=f.changed;if(i.open!==s){var h;B.boolean(s)&&(h=s?me.OPENING:me.CLOSING),this.toggle(h)}(i.wrapperOptions.position!==c.position||i.target!==u)&&this.changeWrapperPosition(this.props),p("status",me.IDLE)&&s?this.toggle(me.OPEN):d("status",me.INIT,me.IDLE)&&a&&this.toggle(me.OPEN),this.popper&&p("status",me.OPENING)&&this.popper.instance.update(),this.floaterRef&&(p("status",me.OPENING)||p("status",me.CLOSING))&&fj(this.floaterRef,"transitionend",this.handleTransitionEnd),p("needsUpdate",!0)&&this.rebuildPopper()}}},{key:"componentWillUnmount",value:function(){pr&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.target,l=this.state.positionWrapper,a=this.props,s=a.disableFlip,u=a.getPopper,c=a.hideArrow,f=a.offset,d=a.placement,p=a.wrapperOptions,h=d==="top"||d==="bottom"?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if(d==="center")this.setState({status:me.IDLE});else if(o&&this.floaterRef){var m=this.options,E=m.arrow,g=m.flip,y=m.offset,w=BC(m,mj);new V0(o,this.floaterRef,{placement:d,modifiers:De({arrow:De({enabled:!c,element:this.arrowRef},E),flip:De({enabled:!s,behavior:h},g),offset:De({offset:"0, ".concat(f,"px")},y)},w),onCreate:function(b){var A;if(i.popper=b,!((A=i.floaterRef)!==null&&A!==void 0&&A.isConnected)){i.setState({needsUpdate:!0});return}u(b,"floater"),i._isMounted&&i.setState({currentPlacement:b.placement,status:me.IDLE}),d!==b.placement&&setTimeout(function(){b.instance.update()},1)},onUpdate:function(b){i.popper=b;var A=i.state.currentPlacement;i._isMounted&&b.placement!==A&&i.setState({currentPlacement:b.placement})}})}if(l){var S=B.undefined(p.offset)?0:p.offset;new V0(this.target,this.wrapperRef,{placement:p.placement||d,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(S,"px")},flip:{enabled:!1}},onCreate:function(b){i.wrapperPopper=b,i._isMounted&&i.setState({statusWrapper:me.IDLE}),u(b,"wrapper"),d!==b.placement&&setTimeout(function(){b.instance.update()},1)}})}}},{key:"rebuildPopper",value:function(){var i=this;this.floaterRefInterval=setInterval(function(){var o;(o=i.floaterRef)!==null&&o!==void 0&&o.isConnected&&(clearInterval(i.floaterRefInterval),i.setState({needsUpdate:!1}),i.initPopper())},50)}},{key:"changeWrapperPosition",value:function(i){var o=i.target,l=i.wrapperOptions;this.setState({positionWrapper:l.position&&!!o})}},{key:"toggle",value:function(i){var o=this.state.status,l=o===me.OPEN?me.CLOSING:me.OPENING;B.undefined(i)||(l=i),this.setState({status:l})}},{key:"debug",get:function(){var i=this.props.debug;return i||!!global.ReactFloaterDebug}},{key:"event",get:function(){var i=this.props,o=i.disableHoverToClick,l=i.event;return l==="hover"&&ep()&&!o?"click":l}},{key:"options",get:function(){var i=this.props.options;return Vn(sj,i||{})}},{key:"styles",get:function(){var i=this,o=this.state,l=o.status,a=o.positionWrapper,s=o.statusWrapper,u=this.props.styles,c=Vn(hj(u),u);if(a){var f;[me.IDLE].indexOf(l)===-1||[me.IDLE].indexOf(s)===-1?f=c.wrapperPosition:f=this.wrapperPopper.styles,c.wrapper=De(De({},c.wrapper),f)}if(this.target){var d=window.getComputedStyle(this.target);this.wrapperStyles?c.wrapper=De(De({},c.wrapper),this.wrapperStyles):["relative","static"].indexOf(d.position)===-1&&(this.wrapperStyles={},a||(gj.forEach(function(p){i.wrapperStyles[p]=d[p]}),c.wrapper=De(De({},c.wrapper),this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return c}},{key:"target",get:function(){if(!pr)return null;var i=this.props.target;return i?B.domElement(i)?i:document.querySelector(i):this.childRef||this.wrapperRef}},{key:"render",value:function(){var i=this.state,o=i.currentPlacement,l=i.positionWrapper,a=i.status,s=this.props,u=s.children,c=s.component,f=s.content,d=s.disableAnimation,p=s.footer,h=s.hideArrow,m=s.id,E=s.open,g=s.showCloseButton,y=s.style,w=s.target,S=s.title,_=k.createElement(VC,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:y,styles:this.styles.wrapper},u),b={};return l?b.wrapperInPortal=_:b.wrapperAsChildren=_,k.createElement("span",null,k.createElement(UC,{hasChildren:!!u,id:m,placement:o,setRef:this.setFloaterRef,target:w,zIndex:this.styles.options.zIndex},k.createElement(YC,{component:c,content:f,disableAnimation:d,footer:p,handleClick:this.handleClick,hideArrow:h||o==="center",open:E,placement:o,positionWrapper:l,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:g,status:a,styles:this.styles,title:S}),b.wrapperInPortal),b.wrapperAsChildren)}}]),n}(k.Component);vt(Yg,"propTypes",{autoOpen:M.bool,callback:M.func,children:M.node,component:B0(M.oneOfType([M.func,M.element]),function(e){return!e.content}),content:B0(M.node,function(e){return!e.component}),debug:M.bool,disableAnimation:M.bool,disableFlip:M.bool,disableHoverToClick:M.bool,event:M.oneOf(["hover","click"]),eventDelay:M.number,footer:M.node,getPopper:M.func,hideArrow:M.bool,id:M.oneOfType([M.string,M.number]),offset:M.number,open:M.bool,options:M.object,placement:M.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:M.bool,style:M.object,styles:M.object,target:M.oneOfType([M.object,M.string]),title:M.node,wrapperOptions:M.shape({offset:M.number,placement:M.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:M.bool})});vt(Yg,"defaultProps",{autoOpen:!1,callback:G0,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:G0,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}});function J0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function K(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function pc(e,t){if(e==null)return{};var n=vj(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function je(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wj(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return je(e)}function oo(e){var t=yj();return function(){var r=dc(e),i;if(t){var o=dc(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return wj(this,i)}}var fe={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},xt={TOUR_START:"tour:start",STEP_BEFORE:"step:before",BEACON:"beacon",TOOLTIP:"tooltip",STEP_AFTER:"step:after",TOUR_END:"tour:end",TOUR_STATUS:"tour:status",TARGET_NOT_FOUND:"error:target_not_found",ERROR:"error"},ue={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},de={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"},$r=wC.canUseDOM,Dl=br.createPortal!==void 0;function $C(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:navigator.userAgent,t=e;return typeof window=="undefined"?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":Boolean(window.opera)||e.indexOf(" OPR/")>=0?t="opera":typeof window.InstallTrigger!="undefined"?t="firefox":window.chrome?t="chrome":/(Version\/([0-9._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function tp(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function Ll(e){var t=[],n=function r(i){if(typeof i=="string"||typeof i=="number")t.push(i);else if(Array.isArray(i))i.forEach(function(l){return r(l)});else if(i&&i.props){var o=i.props.children;Array.isArray(o)?o.forEach(function(l){return r(l)}):r(o)}};return n(e),t.join(" ").trim()}function K0(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function bj(e,t){return!Ge.plainObject(e)||!Ge.array(t)?!1:Object.keys(e).every(function(n){return t.indexOf(n)!==-1})}function Ej(e){var t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,n=e.replace(t,function(i,o,l,a){return o+o+l+l+a+a}),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);return r?[parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16)]:[]}function q0(e){return e.disableBeacon||e.placement==="center"}function Vh(e,t){var n,r=O.isValidElement(e)||O.isValidElement(t),i=Ge.undefined(e)||Ge.undefined(t);if(tp(e)!==tp(t)||r||i)return!1;if(Ge.domElement(e))return e.isSameNode(t);if(Ge.number(e))return e===t;if(Ge.function(e))return e.toString()===t.toString();for(var o in e)if(K0(e,o)){if(typeof e[o]=="undefined"||typeof t[o]=="undefined")return!1;if(n=tp(e[o]),["object","array"].indexOf(n)!==-1&&Vh(e[o],t[o])||n==="function"&&Vh(e[o],t[o]))continue;if(e[o]!==t[o])return!1}for(var l in t)if(K0(t,l)&&typeof e[l]=="undefined")return!1;return!0}function X0(){return["chrome","safari","firefox","opera"].indexOf($C())===-1}function Ki(e){var t=e.title,n=e.data,r=e.warn,i=r===void 0?!1:r,o=e.debug,l=o===void 0?!1:o,a=i?console.warn||console.error:console.log;l&&(t&&n?(console.groupCollapsed("%creact-joyride: ".concat(t),"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach(function(s){Ge.plainObject(s)&&s.key?a.apply(console,[s.key,s.value]):a.apply(console,[s])}):a.apply(console,[n]),console.groupEnd()):console.error("Missing title or data props"))}var Sj={action:"",controlled:!1,index:0,lifecycle:ue.INIT,size:0,status:de.IDLE},Z0=["action","index","lifecycle","status"];function Aj(e){var t=new Map,n=new Map,r=function(){function i(){var o=this,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=l.continuous,s=a===void 0?!1:a,u=l.stepIndex,c=l.steps,f=c===void 0?[]:c;Pr(this,i),ne(this,"listener",void 0),ne(this,"setSteps",function(d){var p=o.getState(),h=p.size,m=p.status,E={size:d.length,status:m};n.set("steps",d),m===de.WAITING&&!h&&d.length&&(E.status=de.RUNNING),o.setState(E)}),ne(this,"addListener",function(d){o.listener=d}),ne(this,"update",function(d){if(!bj(d,Z0))throw new Error("State is not valid. Valid keys: ".concat(Z0.join(", ")));o.setState(K({},o.getNextState(K(K(K({},o.getState()),d),{},{action:d.action||fe.UPDATE}),!0)))}),ne(this,"start",function(d){var p=o.getState(),h=p.index,m=p.size;o.setState(K(K({},o.getNextState({action:fe.START,index:Ge.number(d)?d:h},!0)),{},{status:m?de.RUNNING:de.WAITING}))}),ne(this,"stop",function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,p=o.getState(),h=p.index,m=p.status;[de.FINISHED,de.SKIPPED].indexOf(m)===-1&&o.setState(K(K({},o.getNextState({action:fe.STOP,index:h+(d?1:0)})),{},{status:de.PAUSED}))}),ne(this,"close",function(){var d=o.getState(),p=d.index,h=d.status;h===de.RUNNING&&o.setState(K({},o.getNextState({action:fe.CLOSE,index:p+1})))}),ne(this,"go",function(d){var p=o.getState(),h=p.controlled,m=p.status;if(!(h||m!==de.RUNNING)){var E=o.getSteps()[d];o.setState(K(K({},o.getNextState({action:fe.GO,index:d})),{},{status:E?m:de.FINISHED}))}}),ne(this,"info",function(){return o.getState()}),ne(this,"next",function(){var d=o.getState(),p=d.index,h=d.status;h===de.RUNNING&&o.setState(o.getNextState({action:fe.NEXT,index:p+1}))}),ne(this,"open",function(){var d=o.getState(),p=d.status;p===de.RUNNING&&o.setState(K({},o.getNextState({action:fe.UPDATE,lifecycle:ue.TOOLTIP})))}),ne(this,"prev",function(){var d=o.getState(),p=d.index,h=d.status;h===de.RUNNING&&o.setState(K({},o.getNextState({action:fe.PREV,index:p-1})))}),ne(this,"reset",function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,p=o.getState(),h=p.controlled;h||o.setState(K(K({},o.getNextState({action:fe.RESET,index:0})),{},{status:d?de.RUNNING:de.READY}))}),ne(this,"skip",function(){var d=o.getState(),p=d.status;p===de.RUNNING&&o.setState({action:fe.SKIP,lifecycle:ue.INIT,status:de.SKIPPED})}),this.setState({action:fe.INIT,controlled:Ge.number(u),continuous:s,index:Ge.number(u)?u:0,lifecycle:ue.INIT,status:f.length?de.READY:de.IDLE},!0),this.setSteps(f)}return Nr(i,[{key:"setState",value:function(l){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=this.getState(),u=K(K({},s),l),c=u.action,f=u.index,d=u.lifecycle,p=u.size,h=u.status;t.set("action",c),t.set("index",f),t.set("lifecycle",d),t.set("size",p),t.set("status",h),a&&(t.set("controlled",l.controlled),t.set("continuous",l.continuous)),this.listener&&this.hasUpdatedState(s)&&this.listener(this.getState())}},{key:"getState",value:function(){return t.size?{action:t.get("action")||"",controlled:t.get("controlled")||!1,index:parseInt(t.get("index"),10),lifecycle:t.get("lifecycle")||"",size:t.get("size")||0,status:t.get("status")||""}:K({},Sj)}},{key:"getNextState",value:function(l){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=this.getState(),u=s.action,c=s.controlled,f=s.index,d=s.size,p=s.status,h=Ge.number(l.index)?l.index:f,m=c&&!a?f:Math.min(Math.max(h,0),d);return{action:l.action||u,controlled:c,index:m,lifecycle:l.lifecycle||ue.INIT,size:l.size||d,status:m===d?de.FINISHED:l.status||p}}},{key:"hasUpdatedState",value:function(l){var a=JSON.stringify(l),s=JSON.stringify(this.getState());return a!==s}},{key:"getSteps",value:function(){var l=n.get("steps");return Array.isArray(l)?l:[]}},{key:"getHelpers",value:function(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}}]),i}();return new r(e)}function HC(e){return e?e.getBoundingClientRect():{}}function xj(){var e=document,t=e.body,n=e.documentElement;return!t||!n?0:Math.max(t.scrollHeight,t.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight)}function ai(e){return typeof e=="string"?document.querySelector(e):e}function Cj(e){return!e||e.nodeType!==1?{}:getComputedStyle(e)}function Nf(e,t,n){var r=bC(e);if(r.isSameNode(pa()))return n?document:pa();var i=r.scrollHeight>r.offsetHeight;return!i&&!t?(r.style.overflow="initial",pa()):r}function Rf(e,t){if(!e)return!1;var n=Nf(e,t);return!n.isSameNode(pa())}function _j(e){return e.offsetParent!==document.body}function nl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"fixed";if(!e||!(e instanceof HTMLElement))return!1;var n=e.nodeName;return n==="BODY"||n==="HTML"?!1:Cj(e).position===t?!0:nl(e.parentNode,t)}function kj(e){if(!e)return!1;for(var t=e;t&&t!==document.body;){if(t instanceof HTMLElement){var n=getComputedStyle(t),r=n.display,i=n.visibility;if(r==="none"||i==="hidden")return!1}t=t.parentNode}return!0}function Tj(e,t,n){var r=HC(e),i=Nf(e,n),o=Rf(e,n),l=0;i instanceof HTMLElement&&(l=i.scrollTop);var a=r.top+(!o&&!nl(e)?l:0);return Math.floor(a-t)}function $h(e){return e instanceof HTMLElement?e.offsetParent instanceof HTMLElement?$h(e.offsetParent)+e.offsetTop:e.offsetTop:0}function Ij(e,t,n){if(!e)return 0;var r=bC(e),i=$h(e);return Rf(e,n)&&!_j(e)&&(i-=$h(r)),Math.floor(i-t)}function pa(){return document.scrollingElement||document.createElement("body")}function Oj(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:pa(),n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:300;return new Promise(function(r,i){var o=t.scrollTop,l=e>o?e-o:o-e;XU.top(t,e,{duration:l<100?50:n},function(a){return a&&a.message!=="Element already at target scroll position"?i(a):r()})})}function Pj(e){function t(r,i,o,l,a,s){var u=l||"<>",c=s||o;if(i[o]==null)return r?new Error("Required ".concat(a," `").concat(c,"` was not specified in `").concat(u,"`.")):null;for(var f=arguments.length,d=new Array(f>6?f-6:0),p=6;p0&&arguments[0]!==void 0?arguments[0]:{},t=Vn(Nj,e.options||{}),n=290;window.innerWidth>480&&(n=380),t.width&&(window.innerWidth1&&arguments[1]!==void 0?arguments[1]:!1;return Ge.plainObject(e)?e.target?!0:(Ki({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(Ki({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}function tw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Ge.array(e)?e.every(function(n){return GC(n,t)}):(Ki({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var Lj=Nr(function e(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Pr(this,e),ne(this,"element",void 0),ne(this,"options",void 0),ne(this,"canBeTabbed",function(i){var o=i.tabIndex;(o===null||o<0)&&(o=void 0);var l=isNaN(o);return!l&&n.canHaveFocus(i)}),ne(this,"canHaveFocus",function(i){var o=/input|select|textarea|button|object/,l=i.nodeName.toLowerCase(),a=o.test(l)&&!i.getAttribute("disabled")||l==="a"&&!!i.getAttribute("href");return a&&n.isVisible(i)}),ne(this,"findValidTabElements",function(){return[].slice.call(n.element.querySelectorAll("*"),0).filter(n.canBeTabbed)}),ne(this,"handleKeyDown",function(i){var o=n.options.keyCode,l=o===void 0?9:o;i.keyCode===l&&n.interceptTab(i)}),ne(this,"interceptTab",function(i){var o=n.findValidTabElements();if(o.length){i.preventDefault();var l=i.shiftKey,a=o.indexOf(document.activeElement);a===-1||!l&&a+1===o.length?a=0:l&&a===0?a=o.length-1:a+=l?-1:1,o[a].focus()}}),ne(this,"isHidden",function(i){var o=i.offsetWidth<=0&&i.offsetHeight<=0,l=window.getComputedStyle(i);return o&&!i.innerHTML?!0:o&&l.getPropertyValue("overflow")!=="visible"||l.getPropertyValue("display")==="none"}),ne(this,"isVisible",function(i){for(var o=i;o;)if(o instanceof HTMLElement){if(o===document.body)break;if(n.isHidden(o))return!1;o=o.parentNode}return!0}),ne(this,"removeScope",function(){window.removeEventListener("keydown",n.handleKeyDown)}),ne(this,"checkFocus",function(i){document.activeElement!==i&&(i.focus(),window.requestAnimationFrame(function(){return n.checkFocus(i)}))}),ne(this,"setFocus",function(){var i=n.options.selector;if(i){var o=n.element.querySelector(i);o&&window.requestAnimationFrame(function(){return n.checkFocus(o)})}}),!(t instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=t,this.options=r,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()}),Fj=function(e){io(n,e);var t=oo(n);function n(r){var i;if(Pr(this,n),i=t.call(this,r),ne(je(i),"setBeaconRef",function(s){i.beacon=s}),!r.beaconComponent){var o=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style"),a=` + */var as=typeof window!="undefined"&&typeof document!="undefined"&&typeof navigator!="undefined",Sz=function(){for(var e=["Edge","Trident","Firefox"],t=0;t=0)return 1;return 0}();function Az(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function xz(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},Sz))}}var Cz=as&&window.Promise,_z=Cz?Az:xz;function AC(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function ro(e,t){if(e.nodeType!==1)return[];var n=e.ownerDocument.defaultView,r=n.getComputedStyle(e,null);return t?r[t]:r}function jg(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function ss(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=ro(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?e:ss(jg(e))}function xC(e){return e&&e.referenceNode?e.referenceNode:e}var W0=as&&!!(window.MSInputMethodContext&&document.documentMode),Y0=as&&/MSIE 10/.test(navigator.userAgent);function hl(e){return e===11?W0:e===10?Y0:W0||Y0}function Zo(e){if(!e)return document.documentElement;for(var t=hl(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return!r||r==="BODY"||r==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(n.nodeName)!==-1&&ro(n,"position")==="static"?Zo(n):n}function kz(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||Zo(e.firstElementChild)===e}function Uh(e){return e.parentNode!==null?Uh(e.parentNode):e}function cc(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var l=o.commonAncestorContainer;if(e!==l&&t!==l||r.contains(i))return kz(l)?l:Zo(l);var a=Uh(e);return a.host?cc(a.host,t):cc(e,Uh(t).host)}function el(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",n=t==="top"?"scrollTop":"scrollLeft",r=e.nodeName;if(r==="BODY"||r==="HTML"){var i=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||i;return o[n]}return e[n]}function Tz(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=el(t,"top"),i=el(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}function V0(e,t){var n=t==="x"?"Left":"Top",r=n==="Left"?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function $0(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],hl(10)?parseInt(n["offset"+e])+parseInt(r["margin"+(e==="Height"?"Top":"Left")])+parseInt(r["margin"+(e==="Height"?"Bottom":"Right")]):0)}function CC(e){var t=e.body,n=e.documentElement,r=hl(10)&&getComputedStyle(n);return{height:$0("Height",t,n,r),width:$0("Width",t,n,r)}}var Iz=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Oz=function(){function e(t,n){for(var r=0;r2&&arguments[2]!==void 0?arguments[2]:!1,r=hl(10),i=t.nodeName==="HTML",o=zh(e),l=zh(t),a=ss(e),s=ro(t),u=parseFloat(s.borderTopWidth),c=parseFloat(s.borderLeftWidth);n&&i&&(l.top=Math.max(l.top,0),l.left=Math.max(l.left,0));var f=hi({top:o.top-l.top-u,left:o.left-l.left-c,width:o.width,height:o.height});if(f.marginTop=0,f.marginLeft=0,!r&&i){var d=parseFloat(s.marginTop),p=parseFloat(s.marginLeft);f.top-=u-d,f.bottom-=u-d,f.left-=c-p,f.right-=c-p,f.marginTop=d,f.marginLeft=p}return(r&&!n?t.contains(a):t===a&&a.nodeName!=="BODY")&&(f=Tz(f,t)),f}function Pz(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.ownerDocument.documentElement,r=Wg(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),l=t?0:el(n),a=t?0:el(n,"left"),s={top:l-r.top+r.marginTop,left:a-r.left+r.marginLeft,width:i,height:o};return hi(s)}function _C(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(ro(e,"position")==="fixed")return!0;var n=jg(e);return n?_C(n):!1}function kC(e){if(!e||!e.parentElement||hl())return document.documentElement;for(var t=e.parentElement;t&&ro(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function Yg(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,o={top:0,left:0},l=i?kC(e):cc(e,xC(t));if(r==="viewport")o=Pz(l,i);else{var a=void 0;r==="scrollParent"?(a=ss(jg(t)),a.nodeName==="BODY"&&(a=e.ownerDocument.documentElement)):r==="window"?a=e.ownerDocument.documentElement:a=r;var s=Wg(a,l,i);if(a.nodeName==="HTML"&&!_C(l)){var u=CC(e.ownerDocument),c=u.height,f=u.width;o.top+=s.top-s.marginTop,o.bottom=c+s.top,o.left+=s.left-s.marginLeft,o.right=f+s.left}else o=s}n=n||0;var d=typeof n=="number";return o.left+=d?n:n.left||0,o.top+=d?n:n.top||0,o.right-=d?n:n.right||0,o.bottom-=d?n:n.bottom||0,o}function Nz(e){var t=e.width,n=e.height;return t*n}function TC(e,t,n,r,i){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var l=Yg(n,r,o,i),a={top:{width:l.width,height:t.top-l.top},right:{width:l.right-t.right,height:l.height},bottom:{width:l.width,height:l.bottom-t.bottom},left:{width:t.left-l.left,height:l.height}},s=Object.keys(a).map(function(d){return cn({key:d},a[d],{area:Nz(a[d])})}).sort(function(d,p){return p.area-d.area}),u=s.filter(function(d){var p=d.width,h=d.height;return p>=n.clientWidth&&h>=n.clientHeight}),c=u.length>0?u[0].key:s[0].key,f=e.split("-")[1];return c+(f?"-"+f:"")}function IC(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=r?kC(t):cc(t,xC(n));return Wg(n,i,r)}function OC(e){var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),i=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),o={width:e.offsetWidth+i,height:e.offsetHeight+r};return o}function fc(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(n){return t[n]})}function PC(e,t,n){n=n.split("-")[0];var r=OC(e),i={width:r.width,height:r.height},o=["right","left"].indexOf(n)!==-1,l=o?"top":"left",a=o?"left":"top",s=o?"height":"width",u=o?"width":"height";return i[l]=t[l]+t[s]/2-r[s]/2,n===a?i[a]=t[a]-r[u]:i[a]=t[fc(a)],i}function us(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function Rz(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(i){return i[t]===n});var r=us(e,function(i){return i[t]===n});return e.indexOf(r)}function NC(e,t,n){var r=n===void 0?e:e.slice(0,Rz(e,"name",n));return r.forEach(function(i){i.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var o=i.function||i.fn;i.enabled&&AC(o)&&(t.offsets.popper=hi(t.offsets.popper),t.offsets.reference=hi(t.offsets.reference),t=o(t,i))}),t}function Dz(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=IC(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=TC(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=PC(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=NC(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function RC(e,t){return e.some(function(n){var r=n.name,i=n.enabled;return i&&r===t})}function Vg(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;rl[p]&&(e.offsets.popper[f]+=a[f]+h-l[p]),e.offsets.popper=hi(e.offsets.popper);var m=a[f]+a[u]/2-h/2,E=ro(e.instance.popper),g=parseFloat(E["margin"+c]),y=parseFloat(E["border"+c+"Width"]),w=m-e.offsets.popper[f]-g-y;return w=Math.max(Math.min(l[u]-h,w),0),e.arrowElement=r,e.offsets.arrow=(n={},tl(n,f,Math.round(w)),tl(n,d,""),n),e}function Gz(e){return e==="end"?"start":e==="start"?"end":e}var MC=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Xd=MC.slice(3);function H0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=Xd.indexOf(e),r=Xd.slice(n+1).concat(Xd.slice(0,n));return t?r.reverse():r}var Zd={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Jz(e,t){if(RC(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var n=Yg(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=fc(r),o=e.placement.split("-")[1]||"",l=[];switch(t.behavior){case Zd.FLIP:l=[r,i];break;case Zd.CLOCKWISE:l=H0(r);break;case Zd.COUNTERCLOCKWISE:l=H0(r,!0);break;default:l=t.behavior}return l.forEach(function(a,s){if(r!==a||l.length===s+1)return e;r=e.placement.split("-")[0],i=fc(r);var u=e.offsets.popper,c=e.offsets.reference,f=Math.floor,d=r==="left"&&f(u.right)>f(c.left)||r==="right"&&f(u.left)f(c.top)||r==="bottom"&&f(u.top)f(n.right),m=f(u.top)f(n.bottom),g=r==="left"&&p||r==="right"&&h||r==="top"&&m||r==="bottom"&&E,y=["top","bottom"].indexOf(r)!==-1,w=!!t.flipVariations&&(y&&o==="start"&&p||y&&o==="end"&&h||!y&&o==="start"&&m||!y&&o==="end"&&E),S=!!t.flipVariationsByContent&&(y&&o==="start"&&h||y&&o==="end"&&p||!y&&o==="start"&&E||!y&&o==="end"&&m),_=w||S;(d||g||_)&&(e.flipped=!0,(d||g)&&(r=l[s+1]),_&&(o=Gz(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=cn({},e.offsets.popper,PC(e.instance.popper,e.offsets.reference,e.placement)),e=NC(e.instance.modifiers,e,"flip"))}),e}function Qz(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],o=Math.floor,l=["top","bottom"].indexOf(i)!==-1,a=l?"right":"bottom",s=l?"left":"top",u=l?"width":"height";return n[a]o(r[a])&&(e.offsets.popper[s]=o(r[a])),e}function Kz(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],l=i[2];if(!o)return e;if(l.indexOf("%")===0){var a=void 0;switch(l){case"%p":a=n;break;case"%":case"%r":default:a=r}var s=hi(a);return s[t]/100*o}else if(l==="vh"||l==="vw"){var u=void 0;return l==="vh"?u=Math.max(document.documentElement.clientHeight,window.innerHeight||0):u=Math.max(document.documentElement.clientWidth,window.innerWidth||0),u/100*o}else return o}function qz(e,t,n,r){var i=[0,0],o=["right","left"].indexOf(r)!==-1,l=e.split(/(\+|\-)/).map(function(c){return c.trim()}),a=l.indexOf(us(l,function(c){return c.search(/,|\s/)!==-1}));l[a]&&l[a].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,u=a!==-1?[l.slice(0,a).concat([l[a].split(s)[0]]),[l[a].split(s)[1]].concat(l.slice(a+1))]:[l];return u=u.map(function(c,f){var d=(f===1?!o:o)?"height":"width",p=!1;return c.reduce(function(h,m){return h[h.length-1]===""&&["+","-"].indexOf(m)!==-1?(h[h.length-1]=m,p=!0,h):p?(h[h.length-1]+=m,p=!1,h):h.concat(m)},[]).map(function(h){return Kz(h,d,t,n)})}),u.forEach(function(c,f){c.forEach(function(d,p){$g(d)&&(i[f]+=d*(c[p-1]==="-"?-1:1))})}),i}function Xz(e,t){var n=t.offset,r=e.placement,i=e.offsets,o=i.popper,l=i.reference,a=r.split("-")[0],s=void 0;return $g(+n)?s=[+n,0]:s=qz(n,o,l,a),a==="left"?(o.top+=s[0],o.left-=s[1]):a==="right"?(o.top+=s[0],o.left+=s[1]):a==="top"?(o.left+=s[0],o.top-=s[1]):a==="bottom"&&(o.left+=s[0],o.top+=s[1]),e.popper=o,e}function Zz(e,t){var n=t.boundariesElement||Zo(e.instance.popper);e.instance.reference===n&&(n=Zo(n));var r=Vg("transform"),i=e.instance.popper.style,o=i.top,l=i.left,a=i[r];i.top="",i.left="",i[r]="";var s=Yg(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=o,i.left=l,i[r]=a,t.boundaries=s;var u=t.priority,c=e.offsets.popper,f={primary:function(p){var h=c[p];return c[p]s[p]&&!t.escapeWithReference&&(m=Math.min(c[h],s[p]-(p==="right"?c.width:c.height))),tl({},h,m)}};return u.forEach(function(d){var p=["left","top"].indexOf(d)!==-1?"primary":"secondary";c=cn({},c,f[p](d))}),e.offsets.popper=c,e}function ej(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,o=i.reference,l=i.popper,a=["bottom","top"].indexOf(n)!==-1,s=a?"left":"top",u=a?"width":"height",c={start:tl({},s,o[s]),end:tl({},s,o[s]+o[u]-l[u])};e.offsets.popper=cn({},l,c[r])}return e}function tj(e){if(!FC(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=us(e.instance.modifiers,function(r){return r.name==="preventOverflow"}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&arguments[2]!==void 0?arguments[2]:{};Iz(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=_z(this.update.bind(this)),this.options=cn({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(cn({},e.Defaults.modifiers,i.modifiers)).forEach(function(l){r.options.modifiers[l]=cn({},e.Defaults.modifiers[l]||{},i.modifiers?i.modifiers[l]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(l){return cn({name:l},r.options.modifiers[l])}).sort(function(l,a){return l.order-a.order}),this.modifiers.forEach(function(l){l.enabled&&AC(l.onLoad)&&l.onLoad(r.reference,r.popper,r.options,l,r.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return Oz(e,[{key:"update",value:function(){return Dz.call(this)}},{key:"destroy",value:function(){return Lz.call(this)}},{key:"enableEventListeners",value:function(){return Mz.call(this)}},{key:"disableEventListeners",value:function(){return Uz.call(this)}}]),e}();Pf.Utils=(typeof window!="undefined"?window:global).PopperUtils;Pf.placements=MC;Pf.Defaults=ij;const G0=Pf;function J0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Re(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function BC(e,t){if(e==null)return{};var n=lj(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function sr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aj(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return sr(e)}function ps(e){var t=oj();return function(){var r=dc(e),i;if(t){var o=dc(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return aj(this,i)}}var sj={flip:{padding:20},preventOverflow:{padding:10}},me={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing",ERROR:"error"},pr=wC.canUseDOM,Rl=Mi.createPortal!==void 0;function ep(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}function Ws(e){var t=e.title,n=e.data,r=e.warn,i=r===void 0?!1:r,o=e.debug,l=o===void 0?!1:o,a=i?console.warn||console.error:console.log;l&&t&&n&&(console.groupCollapsed("%creact-floater: ".concat(t),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach(function(s){B.plainObject(s)&&s.key?a.apply(console,[s.key,s.value]):a.apply(console,[s])}):a.apply(console,[n]),console.groupEnd())}function uj(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e.addEventListener(t,n,r)}function cj(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e.removeEventListener(t,n,r)}function fj(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i;i=function(l){n(l),cj(e,t,i)},uj(e,t,i,r)}function K0(){}var UC=function(e){ds(n,e);var t=ps(n);function n(){return cs(this,n),t.apply(this,arguments)}return fs(n,[{key:"componentDidMount",value:function(){pr&&(this.node||this.appendNode(),Rl||this.renderPortal())}},{key:"componentDidUpdate",value:function(){pr&&(Rl||this.renderPortal())}},{key:"componentWillUnmount",value:function(){!pr||!this.node||(Rl||Mi.unmountComponentAtNode(this.node),this.node&&this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=void 0))}},{key:"appendNode",value:function(){var i=this.props,o=i.id,l=i.zIndex;this.node||(this.node=document.createElement("div"),o&&(this.node.id=o),l&&(this.node.style.zIndex=l),document.body.appendChild(this.node))}},{key:"renderPortal",value:function(){if(!pr)return null;var i=this.props,o=i.children,l=i.setRef;if(this.node||this.appendNode(),Rl)return Mi.createPortal(o,this.node);var a=Mi.unstable_renderSubtreeIntoContainer(this,o.length>1?k.createElement("div",null,o):o[0],this.node);return l(a),null}},{key:"renderReact16",value:function(){var i=this.props,o=i.hasChildren,l=i.placement,a=i.target;return o?this.renderPortal():a||l==="center"?this.renderPortal():null}},{key:"render",value:function(){return Rl?this.renderReact16():null}}]),n}(k.Component);vt(UC,"propTypes",{children:M.oneOfType([M.element,M.array]),hasChildren:M.bool,id:M.oneOfType([M.string,M.number]),placement:M.string,setRef:M.func.isRequired,target:M.oneOfType([M.object,M.string]),zIndex:M.number});var zC=function(e){ds(n,e);var t=ps(n);function n(){return cs(this,n),t.apply(this,arguments)}return fs(n,[{key:"parentStyle",get:function(){var i=this.props,o=i.placement,l=i.styles,a=l.arrow.length,s={pointerEvents:"none",position:"absolute",width:"100%"};return o.startsWith("top")?(s.bottom=0,s.left=0,s.right=0,s.height=a):o.startsWith("bottom")?(s.left=0,s.right=0,s.top=0,s.height=a):o.startsWith("left")?(s.right=0,s.top=0,s.bottom=0):o.startsWith("right")&&(s.left=0,s.top=0),s}},{key:"render",value:function(){var i=this.props,o=i.placement,l=i.setArrowRef,a=i.styles,s=a.arrow,u=s.color,c=s.display,f=s.length,d=s.margin,p=s.position,h=s.spread,m={display:c,position:p},E,g=h,y=f;return o.startsWith("top")?(E="0,0 ".concat(g/2,",").concat(y," ").concat(g,",0"),m.bottom=0,m.marginLeft=d,m.marginRight=d):o.startsWith("bottom")?(E="".concat(g,",").concat(y," ").concat(g/2,",0 0,").concat(y),m.top=0,m.marginLeft=d,m.marginRight=d):o.startsWith("left")?(y=h,g=f,E="0,0 ".concat(g,",").concat(y/2," 0,").concat(y),m.right=0,m.marginTop=d,m.marginBottom=d):o.startsWith("right")&&(y=h,g=f,E="".concat(g,",").concat(y," ").concat(g,",0 0,").concat(y/2),m.left=0,m.marginTop=d,m.marginBottom=d),k.createElement("div",{className:"__floater__arrow",style:this.parentStyle},k.createElement("span",{ref:l,style:m},k.createElement("svg",{width:g,height:y,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},k.createElement("polygon",{points:E,fill:u}))))}}]),n}(k.Component);vt(zC,"propTypes",{placement:M.string.isRequired,setArrowRef:M.func.isRequired,styles:M.object.isRequired});var dj=["color","height","width"],jC=function(t){var n=t.handleClick,r=t.styles,i=r.color,o=r.height,l=r.width,a=BC(r,dj);return k.createElement("button",{"aria-label":"close",onClick:n,style:a,type:"button"},k.createElement("svg",{width:"".concat(l,"px"),height:"".concat(o,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},k.createElement("g",null,k.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:i}))))};jC.propTypes={handleClick:M.func.isRequired,styles:M.object.isRequired};var WC=function(t){var n=t.content,r=t.footer,i=t.handleClick,o=t.open,l=t.positionWrapper,a=t.showCloseButton,s=t.title,u=t.styles,c={content:k.isValidElement(n)?n:k.createElement("div",{className:"__floater__content",style:u.content},n)};return s&&(c.title=k.isValidElement(s)?s:k.createElement("div",{className:"__floater__title",style:u.title},s)),r&&(c.footer=k.isValidElement(r)?r:k.createElement("div",{className:"__floater__footer",style:u.footer},r)),(a||l)&&!B.boolean(o)&&(c.close=k.createElement(jC,{styles:u.close,handleClick:i})),k.createElement("div",{className:"__floater__container",style:u.container},c.close,c.title,c.content,c.footer)};WC.propTypes={content:M.node.isRequired,footer:M.node,handleClick:M.func.isRequired,open:M.bool,positionWrapper:M.bool.isRequired,showCloseButton:M.bool.isRequired,styles:M.object.isRequired,title:M.node};var YC=function(e){ds(n,e);var t=ps(n);function n(){return cs(this,n),t.apply(this,arguments)}return fs(n,[{key:"style",get:function(){var i=this.props,o=i.disableAnimation,l=i.component,a=i.placement,s=i.hideArrow,u=i.status,c=i.styles,f=c.arrow.length,d=c.floater,p=c.floaterCentered,h=c.floaterClosing,m=c.floaterOpening,E=c.floaterWithAnimation,g=c.floaterWithComponent,y={};return s||(a.startsWith("top")?y.padding="0 0 ".concat(f,"px"):a.startsWith("bottom")?y.padding="".concat(f,"px 0 0"):a.startsWith("left")?y.padding="0 ".concat(f,"px 0 0"):a.startsWith("right")&&(y.padding="0 0 0 ".concat(f,"px"))),[me.OPENING,me.OPEN].indexOf(u)!==-1&&(y=Re(Re({},y),m)),u===me.CLOSING&&(y=Re(Re({},y),h)),u===me.OPEN&&!o&&(y=Re(Re({},y),E)),a==="center"&&(y=Re(Re({},y),p)),l&&(y=Re(Re({},y),g)),Re(Re({},d),y)}},{key:"render",value:function(){var i=this.props,o=i.component,l=i.handleClick,a=i.hideArrow,s=i.setFloaterRef,u=i.status,c={},f=["__floater"];return o?k.isValidElement(o)?c.content=k.cloneElement(o,{closeFn:l}):c.content=o({closeFn:l}):c.content=k.createElement(WC,this.props),u===me.OPEN&&f.push("__floater__open"),a||(c.arrow=k.createElement(zC,this.props)),k.createElement("div",{ref:s,className:f.join(" "),style:this.style},k.createElement("div",{className:"__floater__body"},c.content,c.arrow))}}]),n}(k.Component);vt(YC,"propTypes",{component:M.oneOfType([M.func,M.element]),content:M.node,disableAnimation:M.bool.isRequired,footer:M.node,handleClick:M.func.isRequired,hideArrow:M.bool.isRequired,open:M.bool,placement:M.string.isRequired,positionWrapper:M.bool.isRequired,setArrowRef:M.func.isRequired,setFloaterRef:M.func.isRequired,showCloseButton:M.bool,status:M.string.isRequired,styles:M.object.isRequired,title:M.node});var VC=function(e){ds(n,e);var t=ps(n);function n(){return cs(this,n),t.apply(this,arguments)}return fs(n,[{key:"render",value:function(){var i=this.props,o=i.children,l=i.handleClick,a=i.handleMouseEnter,s=i.handleMouseLeave,u=i.setChildRef,c=i.setWrapperRef,f=i.style,d=i.styles,p;if(o)if(k.Children.count(o)===1)if(!k.isValidElement(o))p=k.createElement("span",null,o);else{var h=B.function(o.type)?"innerRef":"ref";p=k.cloneElement(k.Children.only(o),vt({},h,u))}else p=o;return p?k.createElement("span",{ref:c,style:Re(Re({},d),f),onClick:l,onMouseEnter:a,onMouseLeave:s},p):null}}]),n}(k.Component);vt(VC,"propTypes",{children:M.node,handleClick:M.func.isRequired,handleMouseEnter:M.func.isRequired,handleMouseLeave:M.func.isRequired,setChildRef:M.func.isRequired,setWrapperRef:M.func.isRequired,style:M.object,styles:M.object.isRequired});var pj={zIndex:100};function hj(e){var t=Vn(pj,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}var mj=["arrow","flip","offset"],gj=["position","top","right","bottom","left"],Hg=function(e){ds(n,e);var t=ps(n);function n(r){var i;return cs(this,n),i=t.call(this,r),vt(sr(i),"setArrowRef",function(o){i.arrowRef=o}),vt(sr(i),"setChildRef",function(o){i.childRef=o}),vt(sr(i),"setFloaterRef",function(o){i.floaterRef=o}),vt(sr(i),"setWrapperRef",function(o){i.wrapperRef=o}),vt(sr(i),"handleTransitionEnd",function(){var o=i.state.status,l=i.props.callback;i.wrapperPopper&&i.wrapperPopper.instance.update(),i.setState({status:o===me.OPENING?me.OPEN:me.IDLE},function(){var a=i.state.status;l(a===me.OPEN?"open":"close",i.props)})}),vt(sr(i),"handleClick",function(){var o=i.props,l=o.event,a=o.open;if(!B.boolean(a)){var s=i.state,u=s.positionWrapper,c=s.status;(i.event==="click"||i.event==="hover"&&u)&&(Ws({title:"click",data:[{event:l,status:c===me.OPEN?"closing":"opening"}],debug:i.debug}),i.toggle())}}),vt(sr(i),"handleMouseEnter",function(){var o=i.props,l=o.event,a=o.open;if(!(B.boolean(a)||ep())){var s=i.state.status;i.event==="hover"&&s===me.IDLE&&(Ws({title:"mouseEnter",data:[{key:"originalEvent",value:l}],debug:i.debug}),clearTimeout(i.eventDelayTimeout),i.toggle())}}),vt(sr(i),"handleMouseLeave",function(){var o=i.props,l=o.event,a=o.eventDelay,s=o.open;if(!(B.boolean(s)||ep())){var u=i.state,c=u.status,f=u.positionWrapper;i.event==="hover"&&(Ws({title:"mouseLeave",data:[{key:"originalEvent",value:l}],debug:i.debug}),a?[me.OPENING,me.OPEN].indexOf(c)!==-1&&!f&&!i.eventDelayTimeout&&(i.eventDelayTimeout=setTimeout(function(){delete i.eventDelayTimeout,i.toggle()},a*1e3)):i.toggle(me.IDLE))}}),i.state={currentPlacement:r.placement,needsUpdate:!1,positionWrapper:r.wrapperOptions.position&&!!r.target,status:me.INIT,statusWrapper:me.INIT},i._isMounted=!1,i.hasMounted=!1,pr&&window.addEventListener("load",function(){i.popper&&i.popper.instance.update(),i.wrapperPopper&&i.wrapperPopper.instance.update()}),i}return fs(n,[{key:"componentDidMount",value:function(){if(pr){var i=this.state.positionWrapper,o=this.props,l=o.children,a=o.open,s=o.target;this._isMounted=!0,Ws({title:"init",data:{hasChildren:!!l,hasTarget:!!s,isControlled:B.boolean(a),positionWrapper:i,target:this.target,floater:this.floaterRef},debug:this.debug}),this.hasMounted||(this.initPopper(),this.hasMounted=!0),!l&&s&&B.boolean(a)}}},{key:"componentDidUpdate",value:function(i,o){if(pr){var l=this.props,a=l.autoOpen,s=l.open,u=l.target,c=l.wrapperOptions,f=ja(o,this.state),d=f.changedFrom,p=f.changed;if(i.open!==s){var h;B.boolean(s)&&(h=s?me.OPENING:me.CLOSING),this.toggle(h)}(i.wrapperOptions.position!==c.position||i.target!==u)&&this.changeWrapperPosition(this.props),p("status",me.IDLE)&&s?this.toggle(me.OPEN):d("status",me.INIT,me.IDLE)&&a&&this.toggle(me.OPEN),this.popper&&p("status",me.OPENING)&&this.popper.instance.update(),this.floaterRef&&(p("status",me.OPENING)||p("status",me.CLOSING))&&fj(this.floaterRef,"transitionend",this.handleTransitionEnd),p("needsUpdate",!0)&&this.rebuildPopper()}}},{key:"componentWillUnmount",value:function(){pr&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.target,l=this.state.positionWrapper,a=this.props,s=a.disableFlip,u=a.getPopper,c=a.hideArrow,f=a.offset,d=a.placement,p=a.wrapperOptions,h=d==="top"||d==="bottom"?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if(d==="center")this.setState({status:me.IDLE});else if(o&&this.floaterRef){var m=this.options,E=m.arrow,g=m.flip,y=m.offset,w=BC(m,mj);new G0(o,this.floaterRef,{placement:d,modifiers:Re({arrow:Re({enabled:!c,element:this.arrowRef},E),flip:Re({enabled:!s,behavior:h},g),offset:Re({offset:"0, ".concat(f,"px")},y)},w),onCreate:function(b){var A;if(i.popper=b,!((A=i.floaterRef)!==null&&A!==void 0&&A.isConnected)){i.setState({needsUpdate:!0});return}u(b,"floater"),i._isMounted&&i.setState({currentPlacement:b.placement,status:me.IDLE}),d!==b.placement&&setTimeout(function(){b.instance.update()},1)},onUpdate:function(b){i.popper=b;var A=i.state.currentPlacement;i._isMounted&&b.placement!==A&&i.setState({currentPlacement:b.placement})}})}if(l){var S=B.undefined(p.offset)?0:p.offset;new G0(this.target,this.wrapperRef,{placement:p.placement||d,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(S,"px")},flip:{enabled:!1}},onCreate:function(b){i.wrapperPopper=b,i._isMounted&&i.setState({statusWrapper:me.IDLE}),u(b,"wrapper"),d!==b.placement&&setTimeout(function(){b.instance.update()},1)}})}}},{key:"rebuildPopper",value:function(){var i=this;this.floaterRefInterval=setInterval(function(){var o;(o=i.floaterRef)!==null&&o!==void 0&&o.isConnected&&(clearInterval(i.floaterRefInterval),i.setState({needsUpdate:!1}),i.initPopper())},50)}},{key:"changeWrapperPosition",value:function(i){var o=i.target,l=i.wrapperOptions;this.setState({positionWrapper:l.position&&!!o})}},{key:"toggle",value:function(i){var o=this.state.status,l=o===me.OPEN?me.CLOSING:me.OPENING;B.undefined(i)||(l=i),this.setState({status:l})}},{key:"debug",get:function(){var i=this.props.debug;return i||!!global.ReactFloaterDebug}},{key:"event",get:function(){var i=this.props,o=i.disableHoverToClick,l=i.event;return l==="hover"&&ep()&&!o?"click":l}},{key:"options",get:function(){var i=this.props.options;return Vn(sj,i||{})}},{key:"styles",get:function(){var i=this,o=this.state,l=o.status,a=o.positionWrapper,s=o.statusWrapper,u=this.props.styles,c=Vn(hj(u),u);if(a){var f;[me.IDLE].indexOf(l)===-1||[me.IDLE].indexOf(s)===-1?f=c.wrapperPosition:f=this.wrapperPopper.styles,c.wrapper=Re(Re({},c.wrapper),f)}if(this.target){var d=window.getComputedStyle(this.target);this.wrapperStyles?c.wrapper=Re(Re({},c.wrapper),this.wrapperStyles):["relative","static"].indexOf(d.position)===-1&&(this.wrapperStyles={},a||(gj.forEach(function(p){i.wrapperStyles[p]=d[p]}),c.wrapper=Re(Re({},c.wrapper),this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return c}},{key:"target",get:function(){if(!pr)return null;var i=this.props.target;return i?B.domElement(i)?i:document.querySelector(i):this.childRef||this.wrapperRef}},{key:"render",value:function(){var i=this.state,o=i.currentPlacement,l=i.positionWrapper,a=i.status,s=this.props,u=s.children,c=s.component,f=s.content,d=s.disableAnimation,p=s.footer,h=s.hideArrow,m=s.id,E=s.open,g=s.showCloseButton,y=s.style,w=s.target,S=s.title,_=k.createElement(VC,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:y,styles:this.styles.wrapper},u),b={};return l?b.wrapperInPortal=_:b.wrapperAsChildren=_,k.createElement("span",null,k.createElement(UC,{hasChildren:!!u,id:m,placement:o,setRef:this.setFloaterRef,target:w,zIndex:this.styles.options.zIndex},k.createElement(YC,{component:c,content:f,disableAnimation:d,footer:p,handleClick:this.handleClick,hideArrow:h||o==="center",open:E,placement:o,positionWrapper:l,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:g,status:a,styles:this.styles,title:S}),b.wrapperInPortal),b.wrapperAsChildren)}}]),n}(k.Component);vt(Hg,"propTypes",{autoOpen:M.bool,callback:M.func,children:M.node,component:j0(M.oneOfType([M.func,M.element]),function(e){return!e.content}),content:j0(M.node,function(e){return!e.component}),debug:M.bool,disableAnimation:M.bool,disableFlip:M.bool,disableHoverToClick:M.bool,event:M.oneOf(["hover","click"]),eventDelay:M.number,footer:M.node,getPopper:M.func,hideArrow:M.bool,id:M.oneOfType([M.string,M.number]),offset:M.number,open:M.bool,options:M.object,placement:M.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:M.bool,style:M.object,styles:M.object,target:M.oneOfType([M.object,M.string]),title:M.node,wrapperOptions:M.shape({offset:M.number,placement:M.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:M.bool})});vt(Hg,"defaultProps",{autoOpen:!1,callback:K0,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:K0,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}});function q0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function K(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function hc(e,t){if(e==null)return{};var n=vj(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function je(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wj(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return je(e)}function oo(e){var t=yj();return function(){var r=pc(e),i;if(t){var o=pc(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return wj(this,i)}}var fe={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},xt={TOUR_START:"tour:start",STEP_BEFORE:"step:before",BEACON:"beacon",TOOLTIP:"tooltip",STEP_AFTER:"step:after",TOUR_END:"tour:end",TOUR_STATUS:"tour:status",TARGET_NOT_FOUND:"error:target_not_found",ERROR:"error"},ue={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},de={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"},$r=wC.canUseDOM,Dl=br.createPortal!==void 0;function $C(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:navigator.userAgent,t=e;return typeof window=="undefined"?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":Boolean(window.opera)||e.indexOf(" OPR/")>=0?t="opera":typeof window.InstallTrigger!="undefined"?t="firefox":window.chrome?t="chrome":/(Version\/([0-9._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function tp(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function Ll(e){var t=[],n=function r(i){if(typeof i=="string"||typeof i=="number")t.push(i);else if(Array.isArray(i))i.forEach(function(l){return r(l)});else if(i&&i.props){var o=i.props.children;Array.isArray(o)?o.forEach(function(l){return r(l)}):r(o)}};return n(e),t.join(" ").trim()}function Z0(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function bj(e,t){return!Ge.plainObject(e)||!Ge.array(t)?!1:Object.keys(e).every(function(n){return t.indexOf(n)!==-1})}function Ej(e){var t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,n=e.replace(t,function(i,o,l,a){return o+o+l+l+a+a}),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);return r?[parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16)]:[]}function ew(e){return e.disableBeacon||e.placement==="center"}function Vh(e,t){var n,r=O.isValidElement(e)||O.isValidElement(t),i=Ge.undefined(e)||Ge.undefined(t);if(tp(e)!==tp(t)||r||i)return!1;if(Ge.domElement(e))return e.isSameNode(t);if(Ge.number(e))return e===t;if(Ge.function(e))return e.toString()===t.toString();for(var o in e)if(Z0(e,o)){if(typeof e[o]=="undefined"||typeof t[o]=="undefined")return!1;if(n=tp(e[o]),["object","array"].indexOf(n)!==-1&&Vh(e[o],t[o])||n==="function"&&Vh(e[o],t[o]))continue;if(e[o]!==t[o])return!1}for(var l in t)if(Z0(t,l)&&typeof e[l]=="undefined")return!1;return!0}function tw(){return["chrome","safari","firefox","opera"].indexOf($C())===-1}function Ki(e){var t=e.title,n=e.data,r=e.warn,i=r===void 0?!1:r,o=e.debug,l=o===void 0?!1:o,a=i?console.warn||console.error:console.log;l&&(t&&n?(console.groupCollapsed("%creact-joyride: ".concat(t),"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach(function(s){Ge.plainObject(s)&&s.key?a.apply(console,[s.key,s.value]):a.apply(console,[s])}):a.apply(console,[n]),console.groupEnd()):console.error("Missing title or data props"))}var Sj={action:"",controlled:!1,index:0,lifecycle:ue.INIT,size:0,status:de.IDLE},nw=["action","index","lifecycle","status"];function Aj(e){var t=new Map,n=new Map,r=function(){function i(){var o=this,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=l.continuous,s=a===void 0?!1:a,u=l.stepIndex,c=l.steps,f=c===void 0?[]:c;Pr(this,i),ne(this,"listener",void 0),ne(this,"setSteps",function(d){var p=o.getState(),h=p.size,m=p.status,E={size:d.length,status:m};n.set("steps",d),m===de.WAITING&&!h&&d.length&&(E.status=de.RUNNING),o.setState(E)}),ne(this,"addListener",function(d){o.listener=d}),ne(this,"update",function(d){if(!bj(d,nw))throw new Error("State is not valid. Valid keys: ".concat(nw.join(", ")));o.setState(K({},o.getNextState(K(K(K({},o.getState()),d),{},{action:d.action||fe.UPDATE}),!0)))}),ne(this,"start",function(d){var p=o.getState(),h=p.index,m=p.size;o.setState(K(K({},o.getNextState({action:fe.START,index:Ge.number(d)?d:h},!0)),{},{status:m?de.RUNNING:de.WAITING}))}),ne(this,"stop",function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,p=o.getState(),h=p.index,m=p.status;[de.FINISHED,de.SKIPPED].indexOf(m)===-1&&o.setState(K(K({},o.getNextState({action:fe.STOP,index:h+(d?1:0)})),{},{status:de.PAUSED}))}),ne(this,"close",function(){var d=o.getState(),p=d.index,h=d.status;h===de.RUNNING&&o.setState(K({},o.getNextState({action:fe.CLOSE,index:p+1})))}),ne(this,"go",function(d){var p=o.getState(),h=p.controlled,m=p.status;if(!(h||m!==de.RUNNING)){var E=o.getSteps()[d];o.setState(K(K({},o.getNextState({action:fe.GO,index:d})),{},{status:E?m:de.FINISHED}))}}),ne(this,"info",function(){return o.getState()}),ne(this,"next",function(){var d=o.getState(),p=d.index,h=d.status;h===de.RUNNING&&o.setState(o.getNextState({action:fe.NEXT,index:p+1}))}),ne(this,"open",function(){var d=o.getState(),p=d.status;p===de.RUNNING&&o.setState(K({},o.getNextState({action:fe.UPDATE,lifecycle:ue.TOOLTIP})))}),ne(this,"prev",function(){var d=o.getState(),p=d.index,h=d.status;h===de.RUNNING&&o.setState(K({},o.getNextState({action:fe.PREV,index:p-1})))}),ne(this,"reset",function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,p=o.getState(),h=p.controlled;h||o.setState(K(K({},o.getNextState({action:fe.RESET,index:0})),{},{status:d?de.RUNNING:de.READY}))}),ne(this,"skip",function(){var d=o.getState(),p=d.status;p===de.RUNNING&&o.setState({action:fe.SKIP,lifecycle:ue.INIT,status:de.SKIPPED})}),this.setState({action:fe.INIT,controlled:Ge.number(u),continuous:s,index:Ge.number(u)?u:0,lifecycle:ue.INIT,status:f.length?de.READY:de.IDLE},!0),this.setSteps(f)}return Nr(i,[{key:"setState",value:function(l){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=this.getState(),u=K(K({},s),l),c=u.action,f=u.index,d=u.lifecycle,p=u.size,h=u.status;t.set("action",c),t.set("index",f),t.set("lifecycle",d),t.set("size",p),t.set("status",h),a&&(t.set("controlled",l.controlled),t.set("continuous",l.continuous)),this.listener&&this.hasUpdatedState(s)&&this.listener(this.getState())}},{key:"getState",value:function(){return t.size?{action:t.get("action")||"",controlled:t.get("controlled")||!1,index:parseInt(t.get("index"),10),lifecycle:t.get("lifecycle")||"",size:t.get("size")||0,status:t.get("status")||""}:K({},Sj)}},{key:"getNextState",value:function(l){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=this.getState(),u=s.action,c=s.controlled,f=s.index,d=s.size,p=s.status,h=Ge.number(l.index)?l.index:f,m=c&&!a?f:Math.min(Math.max(h,0),d);return{action:l.action||u,controlled:c,index:m,lifecycle:l.lifecycle||ue.INIT,size:l.size||d,status:m===d?de.FINISHED:l.status||p}}},{key:"hasUpdatedState",value:function(l){var a=JSON.stringify(l),s=JSON.stringify(this.getState());return a!==s}},{key:"getSteps",value:function(){var l=n.get("steps");return Array.isArray(l)?l:[]}},{key:"getHelpers",value:function(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}}]),i}();return new r(e)}function HC(e){return e?e.getBoundingClientRect():{}}function xj(){var e=document,t=e.body,n=e.documentElement;return!t||!n?0:Math.max(t.scrollHeight,t.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight)}function ai(e){return typeof e=="string"?document.querySelector(e):e}function Cj(e){return!e||e.nodeType!==1?{}:getComputedStyle(e)}function Nf(e,t,n){var r=bC(e);if(r.isSameNode(pa()))return n?document:pa();var i=r.scrollHeight>r.offsetHeight;return!i&&!t?(r.style.overflow="initial",pa()):r}function Rf(e,t){if(!e)return!1;var n=Nf(e,t);return!n.isSameNode(pa())}function _j(e){return e.offsetParent!==document.body}function nl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"fixed";if(!e||!(e instanceof HTMLElement))return!1;var n=e.nodeName;return n==="BODY"||n==="HTML"?!1:Cj(e).position===t?!0:nl(e.parentNode,t)}function kj(e){if(!e)return!1;for(var t=e;t&&t!==document.body;){if(t instanceof HTMLElement){var n=getComputedStyle(t),r=n.display,i=n.visibility;if(r==="none"||i==="hidden")return!1}t=t.parentNode}return!0}function Tj(e,t,n){var r=HC(e),i=Nf(e,n),o=Rf(e,n),l=0;i instanceof HTMLElement&&(l=i.scrollTop);var a=r.top+(!o&&!nl(e)?l:0);return Math.floor(a-t)}function $h(e){return e instanceof HTMLElement?e.offsetParent instanceof HTMLElement?$h(e.offsetParent)+e.offsetTop:e.offsetTop:0}function Ij(e,t,n){if(!e)return 0;var r=bC(e),i=$h(e);return Rf(e,n)&&!_j(e)&&(i-=$h(r)),Math.floor(i-t)}function pa(){return document.scrollingElement||document.createElement("body")}function Oj(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:pa(),n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:300;return new Promise(function(r,i){var o=t.scrollTop,l=e>o?e-o:o-e;XU.top(t,e,{duration:l<100?50:n},function(a){return a&&a.message!=="Element already at target scroll position"?i(a):r()})})}function Pj(e){function t(r,i,o,l,a,s){var u=l||"<>",c=s||o;if(i[o]==null)return r?new Error("Required ".concat(a," `").concat(c,"` was not specified in `").concat(u,"`.")):null;for(var f=arguments.length,d=new Array(f>6?f-6:0),p=6;p0&&arguments[0]!==void 0?arguments[0]:{},t=Vn(Nj,e.options||{}),n=290;window.innerWidth>480&&(n=380),t.width&&(window.innerWidth1&&arguments[1]!==void 0?arguments[1]:!1;return Ge.plainObject(e)?e.target?!0:(Ki({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(Ki({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}function iw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Ge.array(e)?e.every(function(n){return GC(n,t)}):(Ki({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var Lj=Nr(function e(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Pr(this,e),ne(this,"element",void 0),ne(this,"options",void 0),ne(this,"canBeTabbed",function(i){var o=i.tabIndex;(o===null||o<0)&&(o=void 0);var l=isNaN(o);return!l&&n.canHaveFocus(i)}),ne(this,"canHaveFocus",function(i){var o=/input|select|textarea|button|object/,l=i.nodeName.toLowerCase(),a=o.test(l)&&!i.getAttribute("disabled")||l==="a"&&!!i.getAttribute("href");return a&&n.isVisible(i)}),ne(this,"findValidTabElements",function(){return[].slice.call(n.element.querySelectorAll("*"),0).filter(n.canBeTabbed)}),ne(this,"handleKeyDown",function(i){var o=n.options.keyCode,l=o===void 0?9:o;i.keyCode===l&&n.interceptTab(i)}),ne(this,"interceptTab",function(i){var o=n.findValidTabElements();if(o.length){i.preventDefault();var l=i.shiftKey,a=o.indexOf(document.activeElement);a===-1||!l&&a+1===o.length?a=0:l&&a===0?a=o.length-1:a+=l?-1:1,o[a].focus()}}),ne(this,"isHidden",function(i){var o=i.offsetWidth<=0&&i.offsetHeight<=0,l=window.getComputedStyle(i);return o&&!i.innerHTML?!0:o&&l.getPropertyValue("overflow")!=="visible"||l.getPropertyValue("display")==="none"}),ne(this,"isVisible",function(i){for(var o=i;o;)if(o instanceof HTMLElement){if(o===document.body)break;if(n.isHidden(o))return!1;o=o.parentNode}return!0}),ne(this,"removeScope",function(){window.removeEventListener("keydown",n.handleKeyDown)}),ne(this,"checkFocus",function(i){document.activeElement!==i&&(i.focus(),window.requestAnimationFrame(function(){return n.checkFocus(i)}))}),ne(this,"setFocus",function(){var i=n.options.selector;if(i){var o=n.element.querySelector(i);o&&window.requestAnimationFrame(function(){return n.checkFocus(o)})}}),!(t instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=t,this.options=r,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()}),Fj=function(e){io(n,e);var t=oo(n);function n(r){var i;if(Pr(this,n),i=t.call(this,r),ne(je(i),"setBeaconRef",function(s){i.beacon=s}),!r.beaconComponent){var o=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style"),a=` @keyframes joyride-beacon-inner { 20% { opacity: 0.9; @@ -311,4 +311,5 @@ ${LE(r)}`,labels:["Settings-Panel"]})},n)),[]);return U(Ne,{children:[v(fl,{chil transform: scale(1); } } - `;l.type="text/css",l.id="joyride-beacon-animation",r.nonce!==void 0&&l.setAttribute("nonce",r.nonce),l.appendChild(document.createTextNode(a)),o.appendChild(l)}return i}return Nr(n,[{key:"componentDidMount",value:function(){var i=this,o=this.props.shouldFocus;setTimeout(function(){Ge.domElement(i.beacon)&&o&&i.beacon.focus()},0)}},{key:"componentWillUnmount",value:function(){var i=document.getElementById("joyride-beacon-animation");i&&i.parentNode.removeChild(i)}},{key:"render",value:function(){var i=this.props,o=i.beaconComponent,l=i.locale,a=i.onClickOrHover,s=i.styles,u={"aria-label":l.open,onClick:a,onMouseEnter:a,ref:this.setBeaconRef,title:l.open},c;if(o){var f=o;c=k.createElement(f,u)}else c=k.createElement("button",Ht({key:"JoyrideBeacon",className:"react-joyride__beacon",style:s.beacon,type:"button"},u),k.createElement("span",{style:s.beaconInner}),k.createElement("span",{style:s.beaconOuter}));return c}}]),n}(k.Component);function Mj(e){var t=e.styles;return k.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight",style:t})}var Bj=["mixBlendMode","zIndex"],Uj=function(e){io(n,e);var t=oo(n);function n(){var r;Pr(this,n);for(var i=arguments.length,o=new Array(i),l=0;l=p&&m<=p+c,y=E>=f&&E<=f+h,w=y&&g;w!==s&&r.updateState({mouseOverSpotlight:w})}),ne(je(r),"handleScroll",function(){var a=r.props.target,s=ai(a);if(r.scrollParent!==document){var u=r.state.isScrolling;u||r.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(r.scrollTimeout),r.scrollTimeout=setTimeout(function(){r.updateState({isScrolling:!1,showSpotlight:!0})},50)}else nl(s,"sticky")&&r.updateState({})}),ne(je(r),"handleResize",function(){clearTimeout(r.resizeTimeout),r.resizeTimeout=setTimeout(function(){r._isMounted&&r.forceUpdate()},100)}),r}return Nr(n,[{key:"componentDidMount",value:function(){var i=this.props;i.debug,i.disableScrolling;var o=i.disableScrollParentFix,l=i.target,a=ai(l);this.scrollParent=Nf(a,o,!0),this._isMounted=!0,window.addEventListener("resize",this.handleResize)}},{key:"componentDidUpdate",value:function(i){var o=this,l=this.props,a=l.lifecycle,s=l.spotlightClicks,u=ja(i,this.props),c=u.changed;c("lifecycle",ue.TOOLTIP)&&(this.scrollParent.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout(function(){var f=o.state.isScrolling;f||o.updateState({showSpotlight:!0})},100)),(c("spotlightClicks")||c("disableOverlay")||c("lifecycle"))&&(s&&a===ue.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):a!==ue.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),this.scrollParent.removeEventListener("scroll",this.handleScroll)}},{key:"spotlightStyles",get:function(){var i=this.state.showSpotlight,o=this.props,l=o.disableScrollParentFix,a=o.spotlightClicks,s=o.spotlightPadding,u=o.styles,c=o.target,f=ai(c),d=HC(f),p=nl(f),h=Tj(f,s,l);return K(K({},X0()?u.spotlightLegacy:u.spotlight),{},{height:Math.round(d.height+s*2),left:Math.round(d.left-s),opacity:i?1:0,pointerEvents:a?"none":"auto",position:p?"fixed":"absolute",top:h,transition:"opacity 0.2s",width:Math.round(d.width+s*2)})}},{key:"updateState",value:function(i){this._isMounted&&this.setState(i)}},{key:"render",value:function(){var i=this.state,o=i.mouseOverSpotlight,l=i.showSpotlight,a=this.props,s=a.disableOverlay,u=a.disableOverlayClose,c=a.lifecycle,f=a.onClickOverlay,d=a.placement,p=a.styles;if(s||c!==ue.TOOLTIP)return null;var h=p.overlay;X0()&&(h=d==="center"?p.overlayLegacyCenter:p.overlayLegacy);var m=K({cursor:u?"default":"pointer",height:xj(),pointerEvents:o?"none":"auto"},h),E=d!=="center"&&l&&k.createElement(Mj,{styles:this.spotlightStyles});if($C()==="safari"){m.mixBlendMode,m.zIndex;var g=pc(m,Bj);E=k.createElement("div",{style:K({},g)},E),delete m.backgroundColor}return k.createElement("div",{className:"react-joyride__overlay",style:m,onClick:f},E)}}]),n}(k.Component),zj=["styles"],jj=["color","height","width"];function Wj(e){var t=e.styles,n=pc(e,zj),r=t.color,i=t.height,o=t.width,l=pc(t,jj);return k.createElement("button",Ht({style:l,type:"button"},n),k.createElement("svg",{width:typeof o=="number"?"".concat(o,"px"):o,height:typeof i=="number"?"".concat(i,"px"):i,viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},k.createElement("g",null,k.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:r}))))}var Yj=function(e){io(n,e);var t=oo(n);function n(){return Pr(this,n),t.apply(this,arguments)}return Nr(n,[{key:"render",value:function(){var i=this.props,o=i.backProps,l=i.closeProps,a=i.continuous,s=i.index,u=i.isLastStep,c=i.primaryProps,f=i.size,d=i.skipProps,p=i.step,h=i.tooltipProps,m=p.content,E=p.hideBackButton,g=p.hideCloseButton,y=p.hideFooter,w=p.showProgress,S=p.showSkipButton,_=p.title,b=p.styles,A=p.locale,T=A.back,N=A.close,R=A.last,I=A.next,F=A.skip,L={primary:N};return a&&(L.primary=u?R:I,w&&(L.primary=k.createElement("span",null,L.primary," (",s+1,"/",f,")"))),S&&!u&&(L.skip=k.createElement("button",Ht({style:b.buttonSkip,type:"button","aria-live":"off"},d),F)),!E&&s>0&&(L.back=k.createElement("button",Ht({style:b.buttonBack,type:"button"},o),T)),L.close=!g&&k.createElement(Wj,Ht({styles:b.buttonClose},l)),k.createElement("div",Ht({key:"JoyrideTooltip",className:"react-joyride__tooltip",style:b.tooltip},h),k.createElement("div",{style:b.tooltipContainer},_&&k.createElement("h4",{style:b.tooltipTitle,"aria-label":_},_),k.createElement("div",{style:b.tooltipContent},m)),!y&&k.createElement("div",{style:b.tooltipFooter},k.createElement("div",{style:b.tooltipFooterSpacer},L.skip),L.back,k.createElement("button",Ht({style:b.buttonNext,type:"button"},c),L.primary)),L.close)}}]),n}(k.Component),Vj=["beaconComponent","tooltipComponent"],$j=function(e){io(n,e);var t=oo(n);function n(){var r;Pr(this,n);for(var i=arguments.length,o=new Array(i),l=0;l0||l===fe.PREV),b=y("action")||y("index")||y("lifecycle")||y("status"),A=w("lifecycle",[ue.TOOLTIP,ue.INIT],ue.INIT),T=y("action",[fe.NEXT,fe.PREV,fe.SKIP,fe.CLOSE]);if(T&&(A||u)&&a(K(K({},S),{},{index:i.index,lifecycle:ue.COMPLETE,step:i.step,type:xt.STEP_AFTER})),m.placement==="center"&&h===de.RUNNING&&y("index")&&l!==fe.START&&d===ue.INIT&&E({lifecycle:ue.READY}),b){var N=ai(m.target),R=!!N,I=R&&kj(N);I?(w("status",de.READY,de.RUNNING)||w("lifecycle",ue.INIT,ue.READY))&&a(K(K({},S),{},{step:m,type:xt.STEP_BEFORE})):(console.warn(R?"Target not visible":"Target not mounted",m),a(K(K({},S),{},{type:xt.TARGET_NOT_FOUND,step:m})),u||E({index:f+([fe.PREV].indexOf(l)!==-1?-1:1)}))}w("lifecycle",ue.INIT,ue.READY)&&E({lifecycle:q0(m)||_?ue.TOOLTIP:ue.BEACON}),y("index")&&Ki({title:"step:".concat(d),data:[{key:"props",value:this.props}],debug:c}),y("lifecycle",ue.BEACON)&&a(K(K({},S),{},{step:m,type:xt.BEACON})),y("lifecycle",ue.TOOLTIP)&&(a(K(K({},S),{},{step:m,type:xt.TOOLTIP})),this.scope=new Lj(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus()),w("lifecycle",[ue.TOOLTIP,ue.INIT],ue.INIT)&&(this.scope.removeScope(),delete this.beaconPopper,delete this.tooltipPopper)}},{key:"componentWillUnmount",value:function(){this.scope.removeScope()}},{key:"open",get:function(){var i=this.props,o=i.step,l=i.lifecycle;return!!(q0(o)||l===ue.TOOLTIP)}},{key:"render",value:function(){var i=this.props,o=i.continuous,l=i.debug,a=i.helpers,s=i.index,u=i.lifecycle,c=i.nonce,f=i.shouldScroll,d=i.size,p=i.step,h=ai(p.target);return!GC(p)||!Ge.domElement(h)?null:k.createElement("div",{key:"JoyrideStep-".concat(s),className:"react-joyride__step"},k.createElement(Hj,{id:"react-joyride-portal"},k.createElement(Uj,Ht({},p,{debug:l,lifecycle:u,onClickOverlay:this.handleClickOverlay}))),k.createElement(Yg,Ht({component:k.createElement($j,{continuous:o,helpers:a,index:s,isLastStep:s+1===d,setTooltipRef:this.setTooltipRef,size:d,step:p}),debug:l,getPopper:this.setPopper,id:"react-joyride-step-".concat(s),isPositioned:p.isFixed||nl(h),open:this.open,placement:p.placement,target:p.target},p.floaterProps),k.createElement(Fj,{beaconComponent:p.beaconComponent,locale:p.locale,nonce:c,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:f,styles:p.styles})))}}]),n}(k.Component),JC=function(e){io(n,e);var t=oo(n);function n(r){var i;return Pr(this,n),i=t.call(this,r),ne(je(i),"initStore",function(){var o=i.props,l=o.debug,a=o.getHelpers,s=o.run,u=o.stepIndex;i.store=new Aj(K(K({},i.props),{},{controlled:s&&Ge.number(u)})),i.helpers=i.store.getHelpers();var c=i.store.addListener;return Ki({title:"init",data:[{key:"props",value:i.props},{key:"state",value:i.state}],debug:l}),c(i.syncState),a(i.helpers),i.store.getState()}),ne(je(i),"callback",function(o){var l=i.props.callback;Ge.function(l)&&l(o)}),ne(je(i),"handleKeyboard",function(o){var l=i.state,a=l.index,s=l.lifecycle,u=i.props.steps,c=u[a],f=window.Event?o.which:o.keyCode;s===ue.TOOLTIP&&f===27&&c&&!c.disableCloseOnEsc&&i.store.close()}),ne(je(i),"syncState",function(o){i.setState(o)}),ne(je(i),"setPopper",function(o,l){l==="wrapper"?i.beaconPopper=o:i.tooltipPopper=o}),ne(je(i),"shouldScroll",function(o,l,a,s,u,c,f){return!o&&(l!==0||a||s===ue.TOOLTIP)&&u.placement!=="center"&&(!u.isFixed||!nl(c))&&f.lifecycle!==s&&[ue.BEACON,ue.TOOLTIP].indexOf(s)!==-1}),i.state=i.initStore(),i}return Nr(n,[{key:"componentDidMount",value:function(){if($r){var i=this.props,o=i.disableCloseOnEsc,l=i.debug,a=i.run,s=i.steps,u=this.store.start;tw(s,l)&&a&&u(),o||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}}},{key:"componentDidUpdate",value:function(i,o){if($r){var l=this.state,a=l.action,s=l.controlled,u=l.index,c=l.lifecycle,f=l.status,d=this.props,p=d.debug,h=d.run,m=d.stepIndex,E=d.steps,g=i.steps,y=i.stepIndex,w=this.store,S=w.reset,_=w.setSteps,b=w.start,A=w.stop,T=w.update,N=ja(i,this.props),R=N.changed,I=ja(o,this.state),F=I.changed,L=I.changedFrom,j=Ml(E[u],this.props),J=!Vh(g,E),ee=Ge.number(m)&&R("stepIndex"),te=ai(j==null?void 0:j.target);if(J&&(tw(E,p)?_(E):console.warn("Steps are not valid",E)),R("run")&&(h?b(m):A()),ee){var D=y=0?b:0,s===de.RUNNING&&Oj(b,_,m)}}}},{key:"render",value:function(){if(!$r)return null;var i=this.state,o=i.index,l=i.status,a=this.props,s=a.continuous,u=a.debug,c=a.nonce,f=a.scrollToFirstStep,d=a.steps,p=Ml(d[o],this.props),h;return l===de.RUNNING&&p&&(h=k.createElement(Gj,Ht({},this.state,{callback:this.callback,continuous:s,debug:u,setPopper:this.setPopper,helpers:this.helpers,nonce:c,shouldScroll:!p.disableScrolling&&(o!==0||f),step:p,update:this.store.update}))),k.createElement("div",{className:"react-joyride"},h)}}]),n}(k.Component);ne(JC,"defaultProps",{continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:function(){},hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]});const Jj=U("div",{children:[v("p",{children:"You can see how the changes impact your app with the app preview."}),v("p",{children:"Click in the center of the preview to expand it to full screen to get a better view of your app."}),v("p",{children:'Any log messages from the app will be placed into the "App Logs" drawer.'})]}),Qj=U("div",{children:[v("p",{children:"The app view shows a skeleton view of the current state of your app's UI."}),v("p",{children:"You can click on elements to select them or drag them around to move them."}),v("p",{children:"Cards can be resized by dragging resize handles on the sides."}),v("p",{children:"Rows and Columns can be resized by dragging between tracts and added by hovering over the left and top respectively to reveal the tract controls widget."}),v("p",{children:v("a",{href:"https://rstudio.github.io/shinyuieditor/articles/how-to.html#show-size-widget",children:"More info"})})]}),Kj=U("div",{children:["Drag elements from the elements palette into the app pane on the right to add them to your app. ",v("br",{})," In the app view, the areas available for the element to be dropped in will pulse with an"," ",v("span",{className:"can-accept-drop",style:{padding:"2px"},children:"orange outline."})]}),qj=U("div",{children:[v("p",{children:"After selecting an element in your app, you can adjust the settings for that element in the properties pane."}),v("p",{children:"Changes made will be automatically applied to your element both in the app view and your code so there's no need to save or submit these changes."})]}),Xj=[{target:".app-view",content:Qj,disableBeacon:!0},{target:".elements-panel",content:Kj,placement:"right-start",disableBeacon:!0},{target:".properties-panel",content:qj,placement:"left-start"},{target:".app-preview",content:Jj,placement:"top-start"},{target:".undo-redo-buttons",content:"Mess something up? You can use the change history to undo or redo your changes",placement:"bottom"}];function Zj(){const[e,t]=O.useState(0),[n,r]=O.useState(!1),i=O.useCallback(l=>{const{action:a,index:s,type:u}=l;(u===xt.STEP_AFTER||u===xt.TARGET_NOT_FOUND)&&(a===fe.NEXT?t(s+1):a===fe.PREV?t(s-1):a===fe.CLOSE&&r(!1)),u===xt.TOUR_END&&(a===fe.NEXT&&(r(!1),t(0)),a===fe.SKIP&&r(!1))},[]),o=O.useCallback(()=>{r(!0)},[]);return U(Ne,{children:[U(rt,{onClick:o,title:"Take a guided tour of app",variant:"transparent",children:[v(tL,{id:"tour",size:"24px"}),"Tour App"]}),v(JC,{callback:i,steps:Xj,stepIndex:e,run:n,continuous:!0,showProgress:!0,showSkipButton:!0,disableScrolling:!0,locale:{next:"Next",back:"Back",close:"Close",last:"Let's go!",open:"Open the dialog",skip:"Skip tour"},styles:tW})]})}const nw="#e07189",eW="#f6d5dc",tW={options:{arrowColor:"var(--rstudio-white, white)",backgroundColor:"var(--rstudio-white, white)",primaryColor:"var(--rstudio-blue, steelblue)",textColor:"var(--rstudio-grey, black)"},beaconInner:{backgroundColor:nw},beaconOuter:{backgroundColor:eW,border:`2px solid ${nw}`}},nW=e=>v("svg",W(P({viewBox:"0 0 168 114",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Shiny Logo"},e),{children:v("path",{opacity:.9,d:"M17.524 62.626c-.898-.027-.3 0 0 0Zm-.027 0c-.871-.027-.49 0-.19 0h.462-.272c.272.027.19 0 0 0Zm.244 0c9.497.218 19.43-1.986 22.313-13.279 1.878-7.293-2.802-12.599-6.938-17.932-.028-.027-.055-.054-.055-.109-.163-.68-4.653-4.816-5.904-6.367 0-.027-.028-.027-.055-.055-.599-.435-1.224-2.64-1.524-3.864a3.323 3.323 0 0 1-.027-1.55c1.089-5.552 1.687-9.606 9.061-8.409 5.306.871 2.558 8.653 5.415 9.415h.055c1.714.164 5.06-3.945 5.55-5.333 1.905-5.388-9.088-8.68-12.435-8.463-6.72.408-11.129 4.055-13.823 10.068-4.952 11.075 4.3 18.45 9.905 26.041 4.245 5.742 4.054 10.857-1.143 15.782-5.714 5.415-12.354-2.04-13.116-7.292-.68-4.816-.625-8.163-4.653-2.04-3.728 5.686.11 13.088 7.374 13.387ZM167.266 36.34v.055a13.555 13.555 0 0 1-.762 3.428 27.79 27.79 0 0 1-2.693 5.306c-1.334 2.041-2.041 2.857-3.429 4.653-2.612 3.402-4.626 5.932-7.674 9.17-4.244 4.49-8.979 9.633-14.149 13.306-7.374 5.28-16.68 6.722-25.497 7.538-25.796 2.34-63.755 5.823-71.755 33.741-.054.164-.19.245-.354.191-.081-.027-.136-.055-.163-.136-7.837-13.388-24.68-23.211-40.3-22.748-.162.027-.299-.055-.326-.218-.027-.163.055-.3.218-.327 40.218-19.972 81.306-10.394 124.735-18.15 10.857-1.931 19.972-9.06 26.53-17.632 2.504-3.238 5.715-5.986 7.919-9.442.353-.572 2.176-5.116-.653-3.184-4.381 2.966-8.082 6.64-12.844 8.953a5.605 5.605 0 0 1-.707.299c-.082.027-.137.109-.164.19a27.286 27.286 0 0 1-2.857 6.368 18.325 18.325 0 0 1-5.66 5.632c-2.122 1.415-4.598 2.232-7.129 2.422-.354.027-.68.027-1.034.027-2.014 0-3.32-.163-4.871-.952-1.986-1.034-2.612-2.721-2.748-4.762-.082-1.224.68-2.558 1.306-3.565.626-1.006 1.633-2.122 2.34-2.421l.055-.028c3.537-2.612 9.551-2.802 13.632-3.918.109-.027.191-.109.191-.19l2.041-7.456c.054-.163-.055-.3-.191-.354a.301.301 0 0 0-.299.109 40.263 40.263 0 0 1-3.402 4.326c-1.605 1.688-2.857 2.721-3.809 3.102a11.152 11.152 0 0 1-3.374.708c-1.361.082-2.531-.463-3.429-1.605-.898-1.143-1.388-2.83-1.496-5.062a8.521 8.521 0 0 1 0-1.197.312.312 0 0 0-.191-.354.313.313 0 0 0-.354.19c-.435.844-.87 1.633-1.306 2.34-1.279 2.232-2.884 4.273-4.707 6.096-1.796 1.796-3.538 2.748-5.143 2.857-3.021.19-4.653-1.523-4.871-5.115-.218-3.429 1.143-10.477 4.082-20.98.163-.462.217-.952.19-1.415-.054-.952-.598-1.333-1.714-1.252a6.312 6.312 0 0 0-3.51 1.47 12.19 12.19 0 0 0-3.021 3.837c-.898 1.632-1.687 3.32-2.421 5.034a42.75 42.75 0 0 0-1.878 5.823c-.544 2.204-1.007 4.054-1.306 5.496a144.944 144.944 0 0 0-.925 4.708c-.218 1.143-.463 2.557-.517 2.775l-.055.218-7.483.49-.027-.272c-.054-.654.49-2.966 1.578-7.02l-.653 1.142a29.066 29.066 0 0 1-4.68 6.095c-1.796 1.796-3.537 2.749-5.143 2.857h-.326c-2.64 0-4.136-2.068-4.381-6.15-.055-.816-.082-1.632-.055-2.475a.312.312 0 0 0-.19-.354.312.312 0 0 0-.354.19c-4.109 7.538-7.81 11.347-11.238 11.565-3.02.19-4.653-1.605-4.898-5.36-.272-4.164.87-10.26 3.401-18.096.545-1.932.79-3.265.735-3.973-.082-1.088-.571-1.224-.98-1.224h-.108c-.354.027-1.116.245-2.722 1.252a14.477 14.477 0 0 0-3.646 3.4c-1.17 1.525-2.095 3.239-2.775 5.035-.708 1.905-1.28 3.565-1.687 4.952-.408 1.388-.817 3.102-1.225 5.062-.408 1.959-.762 3.646-1.088 4.898a73.777 73.777 0 0 0-.98 4.353l-.054.218-7.184.462c-.163 0-.3-.108-.3-.272v-.108c1.062-3.674 2.559-9.633 4.463-17.688 1.905-8.054 3.647-14.503 5.061-19.129 1.225-4.027 2.667-8 4.354-11.836a32.438 32.438 0 0 1 5.225-8.273c2.04-2.285 4.326-3.51 6.748-3.673 2.558-.163 3.919 1.116 4.109 3.755.109 1.769-.408 4.136-1.524 7.102-2.04 5.252-5.442 11.374-10.15 18.204a.296.296 0 0 0 0 .408c.11.11.3.11.409 0a16.315 16.315 0 0 1 2.612-1.66c1.36-.707 2.857-1.115 4.408-1.251 2.912-.19 4.463 1.143 4.653 3.945a8.216 8.216 0 0 1-.326 3.048c-.273.898-.572 1.96-.926 3.13-.326 1.17-.598 2.149-.816 2.884-.218.761-.49 1.768-.844 3.047-.353 1.28-.625 2.395-.789 3.266-.49 2.204-.68 3.972-.598 5.251.109 1.633.762 1.633.98 1.633h.081c2.748-.163 5.986-4.953 9.66-14.204.027-.055.027-.082.054-.136a64.454 64.454 0 0 1 3.184-8.925c1.524-3.347 3.374-5.116 5.551-5.252l4.354-.218c.163 0 .299.109.299.272a.31.31 0 0 1-.082.218c-.68.653-1.578 2.395-2.666 5.197-1.143 3.02-1.932 5.089-2.45 6.476-.516 1.443-1.115 3.402-1.74 5.85-.627 2.45-.899 4.409-.79 5.878.136 1.932.87 1.932 1.116 1.932h.081c.381-.027 1.089-.299 2.368-1.47a14.924 14.924 0 0 0 2.53-3.02c.653-1.06 1.36-2.394 2.15-4.027.79-1.632 1.47-3.047 2.04-4.245.627-1.279.872-1.714 1.035-1.877l.354-.653c1.333-5.388 1.959-9.17 1.823-11.266a2.31 2.31 0 0 0-.245-1.034c-.082-.108-.082-.299.054-.38a.387.387 0 0 1 .163-.055l3.02-.19c1.77-.11 2.885 0 3.457.38.571.381.925 1.007.952 1.66a9.83 9.83 0 0 1-.19 1.987c-.028.163.081.3.245.326.081.028.19-.027.244-.081 3.402-3.538 6.939-5.442 10.585-5.66 2.912-.19 4.49 1.197 4.654 4.109.054.925 0 1.85-.191 2.775-.19.925-.653 2.721-1.469 5.497-1.715 5.959-2.531 9.959-2.395 11.918.082 1.388.626 1.551 1.034 1.551h.082c.381-.027 1.088-.3 2.34-1.496a17.296 17.296 0 0 0 2.558-3.075 43.208 43.208 0 0 0 2.177-3.973c.789-1.578 1.442-2.993 2.013-4.19.191-.436.354-.762.49-1.035 0-.027.027-.027.027-.054.789-3.32 1.714-6.068 2.776-8.19 1.224-2.504 2.612-4.164 4.081-4.98 1.47-.816 3.483-1.279 6.068-1.442a.58.58 0 0 1 .626.517v.054c.027.3-.136.626-.462 1.034-1.824 1.987-3.592 5.497-5.307 10.45-1.714 4.952-2.448 9.115-2.258 12.435.109 1.523.49 2.313 1.143 2.313h.054c1.606-.11 3.647-2.096 6.014-5.932a50.108 50.108 0 0 0 5.442-11.674c.163-.544.381-1.306.68-2.34.3-1.034.517-1.714.626-2.095.109-.381.327-.925.599-1.606.19-.544.462-1.034.789-1.496.218-.245.544-.572.925-.98.381-.408.816-.707 1.333-.87a19.15 19.15 0 0 1 3.919-.735l3.02-.19c.136-.055.3.026.354.162.054.137-.027.3-.163.354l-.055.055c-1.36 1.06-2.694 3.591-3.945 7.537-1.034 3.347-1.905 6.449-2.585 9.197a295.694 295.694 0 0 1-1.279 5.034c-.164.599-.517 2.068-1.061 4.3a177.514 177.514 0 0 1-1.062 4.19c-.054.136 0 .3.136.354.082.027.191.027.272-.055a43.638 43.638 0 0 0 8.164-6.313c1.387-1.387 11.918-13.088 12.408-5.66l.054.327ZM66.503 2.708c-1.06.054-2.938 1.687-5.768 8.98-1.96 5.033-3.864 10.775-5.687 17.087-.055.164.054.3.19.354.109.027.245 0 .327-.109 4.898-7.483 8.299-13.714 10.095-18.585 1.115-3.32 1.633-5.523 1.578-6.503-.082-1.197-.544-1.197-.68-1.197l-.055-.027ZM137.17 54c.054-.136-.027-.3-.163-.354a.173.173 0 0 0-.163 0c-1.47.3-2.939.544-4.381.898-2.041.49-5.143.98-6.722 2.694-.027.027-.027.054-.054.082-.272.598-.326 1.55-.272 2.748.054.844.871 1.633 1.578 2.204a3.24 3.24 0 0 0 2.313.68c3.211-.244 5.85-3.238 7.864-8.952ZM88.517 18.98c1.742-.082 3.918-.735 4.435-3.32.245-1.17-.462-2.504-.898-2.885-.435-.38-1.034-.544-1.823-.49-.789.055-1.741.545-2.64 1.389-1.196 1.115-1.142 2.72-.761 3.782.354.898.98 1.496 1.687 1.524Z",fill:"#fff"})})),rW="_container_1d7pe_1",iW={container:rW};function oW({goBackward:e,canGoBackward:t,goForward:n,canGoForward:r}){return U("div",{className:Ke(iW.container,"undo-redo-buttons"),children:[v(rt,{variant:["transparent","icon"],disabled:!t,"aria-label":"Undo last change",title:"Undo last change",onClick:e,children:v(oL,{height:"100%"})}),v(rt,{variant:["transparent","icon"],disabled:!r,"aria-label":"Redo last change",title:"Redo last change",onClick:n,children:v(iL,{height:"100%"})})]})}const lW="_shiny_logo_1exlx_1",aW="_app_title_1exlx_10",sW="_divider_1exlx_15",uW="_header_1exlx_21",cW="_OpenSideBySideWindowButton_1exlx_29",fW="_right_1exlx_54",dW="_spacer_1exlx_66",pW="_last_1exlx_70",_i={shiny_logo:lW,app_title:aW,divider:sW,header:uW,OpenSideBySideWindowButton:cW,"react-joyride":"_react-joyride_1exlx_46","undo-redo-buttons":"_undo-redo-buttons_1exlx_50",right:fW,spacer:dW,last:pW};function hW(){const{sendMsg:e,mode:t}=Ja();return t!=="VSCODE"?null:U(Ne,{children:[v(Ir,{text:"Open app code next to editor",onClick:()=>{e({path:"OPEN-COMPANION-EDITOR",payload:"BESIDE"})},className:"OpenSideBySideWindowButton",children:v(FL,{})}),v("div",{className:"divider"})]})}function mW({state:e,history:t}){return U("header",{className:_i.header,children:[v(nW,{className:_i.shiny_logo}),v("h1",{className:_i.app_title,children:"Shiny UI Editor"}),U("div",{className:_i.right,children:[e.mode==="MAIN"?U(Ne,{children:[v(hW,{}),v(Zj,{})]}):null,v("div",{className:_i.divider}),v(oW,P({},t)),v("div",{className:Ke(_i.spacer,_i.last)})]})]})}function gW(){return Qa(t=>t.connected_to_server)?null:v(Wx,{onConfirm:()=>{},onCancel:()=>{},children:v("p",{style:{color:"var(--red, pink)",textAlign:"center"},children:"Lost connection to backend. Check console where editor was launched for details."})})}function yW(){const{state:e,history:t}=m9();return v(pI,{goBackward:t.goBackward,canGoBackward:t.canGoBackward,children:U("div",{className:y9.EditorContainer,style:NE,children:[v(mW,{state:e,history:t}),v(xU,{state:e}),v(gW,{})]})})}const vW=wf({name:"connectedToServer",initialState:!0,reducers:{DISCONNECTED_FROM_SERVER:(e,t)=>!1}}),wW=vW.reducer;function bW({selectedPath:e,deletedPath:t}){if(e===null)return e;if(ul(t,e))return EW(e);if(e.lengthi)return e;const o=[...e],l=i-1;return l<0||(o[n]=l),o}function EW(e){return e.slice(0,e.length-1)}const QC=mg();QC.startListening({actionCreator:JA,effect:(e,t)=>It(ml,null,function*(){const n=e.payload.path,r=t.getState().selected_path;if(r===null)return;const i=bW({selectedPath:r,deletedPath:n});t.dispatch(Sf({path:i}))})});const SW=QC.middleware;function AW({fromPath:e,toPath:t}){const n=Ui(e);if(Ui(t)=t[i])return t;const o=[...t];return o[i]--,o}const KC=mg();KC.startListening({actionCreator:GA,effect:(e,t)=>It(ml,null,function*(){const n=e.payload;let r=n.path;YA(n)&&(r=AW({fromPath:n.currentPath,toPath:r})),t.dispatch(Sf({path:r}))})});const xW=KC.middleware,qC=mg();qC.startListening({actionCreator:QA,effect:(e,t)=>It(ml,null,function*(){t.dispatch(Sf({path:[]}))})});const CW=qC.middleware,_W=_R({reducer:{app_info:q5,selected_path:e5,connected_to_server:wW,currentlyDraggedNode:XR},middleware:e=>e().concat(SW).concat(xW).concat(CW)});function kW({children:e}){return v(BT,{store:_W,children:e})}function TW({showMessages:e=!0,defaultTree:t,backendDispatch:{sendMsg:n,incomingMsgs:r,mode:i}=ow({messageDispatch:iw(),showMessages:e,defaultTree:t!=null?t:"TEMPLATE_CHOOSER"})}){return v(kW,{children:v(Q2,W(P({},e?{sendMsg:n,incomingMsgs:{subscribe:(l,a)=>(console.log(`backendMsgs.subscribe("${l}", ...)`),r.subscribe(l,a))},mode:i}:{sendMsg:n,incomingMsgs:r,mode:i}),{children:v(yW,{})}))})}function IW({container:e,showMessages:t,backendDispatch:n}){gE(e).render(v(TW,{backendDispatch:n,showMessages:t}))}const OW=document.getElementById("root"),{pathToWebsocket:PW,defaultTree:NW}={pathToWebsocket:void 0,defaultTree:"TEMPLATE_CHOOSER"},rw=!0;It(ml,null,function*(){try{const e=iw(),t=yield m_({messageDispatch:e,onClose:()=>console.log("Websocket closed!!"),pathToWebsocket:PW}),n=t==="NO-WS-CONNECTION"?ow({messageDispatch:e,showMessages:rw,defaultTree:NW}):t;IW({container:OW,backendDispatch:n,showMessages:rw})}catch(e){}})});export default RW(); + `;l.type="text/css",l.id="joyride-beacon-animation",r.nonce!==void 0&&l.setAttribute("nonce",r.nonce),l.appendChild(document.createTextNode(a)),o.appendChild(l)}return i}return Nr(n,[{key:"componentDidMount",value:function(){var i=this,o=this.props.shouldFocus;setTimeout(function(){Ge.domElement(i.beacon)&&o&&i.beacon.focus()},0)}},{key:"componentWillUnmount",value:function(){var i=document.getElementById("joyride-beacon-animation");i&&i.parentNode.removeChild(i)}},{key:"render",value:function(){var i=this.props,o=i.beaconComponent,l=i.locale,a=i.onClickOrHover,s=i.styles,u={"aria-label":l.open,onClick:a,onMouseEnter:a,ref:this.setBeaconRef,title:l.open},c;if(o){var f=o;c=k.createElement(f,u)}else c=k.createElement("button",Ht({key:"JoyrideBeacon",className:"react-joyride__beacon",style:s.beacon,type:"button"},u),k.createElement("span",{style:s.beaconInner}),k.createElement("span",{style:s.beaconOuter}));return c}}]),n}(k.Component);function Mj(e){var t=e.styles;return k.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight",style:t})}var Bj=["mixBlendMode","zIndex"],Uj=function(e){io(n,e);var t=oo(n);function n(){var r;Pr(this,n);for(var i=arguments.length,o=new Array(i),l=0;l=p&&m<=p+c,y=E>=f&&E<=f+h,w=y&&g;w!==s&&r.updateState({mouseOverSpotlight:w})}),ne(je(r),"handleScroll",function(){var a=r.props.target,s=ai(a);if(r.scrollParent!==document){var u=r.state.isScrolling;u||r.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(r.scrollTimeout),r.scrollTimeout=setTimeout(function(){r.updateState({isScrolling:!1,showSpotlight:!0})},50)}else nl(s,"sticky")&&r.updateState({})}),ne(je(r),"handleResize",function(){clearTimeout(r.resizeTimeout),r.resizeTimeout=setTimeout(function(){r._isMounted&&r.forceUpdate()},100)}),r}return Nr(n,[{key:"componentDidMount",value:function(){var i=this.props;i.debug,i.disableScrolling;var o=i.disableScrollParentFix,l=i.target,a=ai(l);this.scrollParent=Nf(a,o,!0),this._isMounted=!0,window.addEventListener("resize",this.handleResize)}},{key:"componentDidUpdate",value:function(i){var o=this,l=this.props,a=l.lifecycle,s=l.spotlightClicks,u=ja(i,this.props),c=u.changed;c("lifecycle",ue.TOOLTIP)&&(this.scrollParent.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout(function(){var f=o.state.isScrolling;f||o.updateState({showSpotlight:!0})},100)),(c("spotlightClicks")||c("disableOverlay")||c("lifecycle"))&&(s&&a===ue.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):a!==ue.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),this.scrollParent.removeEventListener("scroll",this.handleScroll)}},{key:"spotlightStyles",get:function(){var i=this.state.showSpotlight,o=this.props,l=o.disableScrollParentFix,a=o.spotlightClicks,s=o.spotlightPadding,u=o.styles,c=o.target,f=ai(c),d=HC(f),p=nl(f),h=Tj(f,s,l);return K(K({},tw()?u.spotlightLegacy:u.spotlight),{},{height:Math.round(d.height+s*2),left:Math.round(d.left-s),opacity:i?1:0,pointerEvents:a?"none":"auto",position:p?"fixed":"absolute",top:h,transition:"opacity 0.2s",width:Math.round(d.width+s*2)})}},{key:"updateState",value:function(i){this._isMounted&&this.setState(i)}},{key:"render",value:function(){var i=this.state,o=i.mouseOverSpotlight,l=i.showSpotlight,a=this.props,s=a.disableOverlay,u=a.disableOverlayClose,c=a.lifecycle,f=a.onClickOverlay,d=a.placement,p=a.styles;if(s||c!==ue.TOOLTIP)return null;var h=p.overlay;tw()&&(h=d==="center"?p.overlayLegacyCenter:p.overlayLegacy);var m=K({cursor:u?"default":"pointer",height:xj(),pointerEvents:o?"none":"auto"},h),E=d!=="center"&&l&&k.createElement(Mj,{styles:this.spotlightStyles});if($C()==="safari"){m.mixBlendMode,m.zIndex;var g=hc(m,Bj);E=k.createElement("div",{style:K({},g)},E),delete m.backgroundColor}return k.createElement("div",{className:"react-joyride__overlay",style:m,onClick:f},E)}}]),n}(k.Component),zj=["styles"],jj=["color","height","width"];function Wj(e){var t=e.styles,n=hc(e,zj),r=t.color,i=t.height,o=t.width,l=hc(t,jj);return k.createElement("button",Ht({style:l,type:"button"},n),k.createElement("svg",{width:typeof o=="number"?"".concat(o,"px"):o,height:typeof i=="number"?"".concat(i,"px"):i,viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},k.createElement("g",null,k.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:r}))))}var Yj=function(e){io(n,e);var t=oo(n);function n(){return Pr(this,n),t.apply(this,arguments)}return Nr(n,[{key:"render",value:function(){var i=this.props,o=i.backProps,l=i.closeProps,a=i.continuous,s=i.index,u=i.isLastStep,c=i.primaryProps,f=i.size,d=i.skipProps,p=i.step,h=i.tooltipProps,m=p.content,E=p.hideBackButton,g=p.hideCloseButton,y=p.hideFooter,w=p.showProgress,S=p.showSkipButton,_=p.title,b=p.styles,A=p.locale,T=A.back,N=A.close,R=A.last,I=A.next,F=A.skip,L={primary:N};return a&&(L.primary=u?R:I,w&&(L.primary=k.createElement("span",null,L.primary," (",s+1,"/",f,")"))),S&&!u&&(L.skip=k.createElement("button",Ht({style:b.buttonSkip,type:"button","aria-live":"off"},d),F)),!E&&s>0&&(L.back=k.createElement("button",Ht({style:b.buttonBack,type:"button"},o),T)),L.close=!g&&k.createElement(Wj,Ht({styles:b.buttonClose},l)),k.createElement("div",Ht({key:"JoyrideTooltip",className:"react-joyride__tooltip",style:b.tooltip},h),k.createElement("div",{style:b.tooltipContainer},_&&k.createElement("h4",{style:b.tooltipTitle,"aria-label":_},_),k.createElement("div",{style:b.tooltipContent},m)),!y&&k.createElement("div",{style:b.tooltipFooter},k.createElement("div",{style:b.tooltipFooterSpacer},L.skip),L.back,k.createElement("button",Ht({style:b.buttonNext,type:"button"},c),L.primary)),L.close)}}]),n}(k.Component),Vj=["beaconComponent","tooltipComponent"],$j=function(e){io(n,e);var t=oo(n);function n(){var r;Pr(this,n);for(var i=arguments.length,o=new Array(i),l=0;l0||l===fe.PREV),b=y("action")||y("index")||y("lifecycle")||y("status"),A=w("lifecycle",[ue.TOOLTIP,ue.INIT],ue.INIT),T=y("action",[fe.NEXT,fe.PREV,fe.SKIP,fe.CLOSE]);if(T&&(A||u)&&a(K(K({},S),{},{index:i.index,lifecycle:ue.COMPLETE,step:i.step,type:xt.STEP_AFTER})),m.placement==="center"&&h===de.RUNNING&&y("index")&&l!==fe.START&&d===ue.INIT&&E({lifecycle:ue.READY}),b){var N=ai(m.target),R=!!N,I=R&&kj(N);I?(w("status",de.READY,de.RUNNING)||w("lifecycle",ue.INIT,ue.READY))&&a(K(K({},S),{},{step:m,type:xt.STEP_BEFORE})):(console.warn(R?"Target not visible":"Target not mounted",m),a(K(K({},S),{},{type:xt.TARGET_NOT_FOUND,step:m})),u||E({index:f+([fe.PREV].indexOf(l)!==-1?-1:1)}))}w("lifecycle",ue.INIT,ue.READY)&&E({lifecycle:ew(m)||_?ue.TOOLTIP:ue.BEACON}),y("index")&&Ki({title:"step:".concat(d),data:[{key:"props",value:this.props}],debug:c}),y("lifecycle",ue.BEACON)&&a(K(K({},S),{},{step:m,type:xt.BEACON})),y("lifecycle",ue.TOOLTIP)&&(a(K(K({},S),{},{step:m,type:xt.TOOLTIP})),this.scope=new Lj(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus()),w("lifecycle",[ue.TOOLTIP,ue.INIT],ue.INIT)&&(this.scope.removeScope(),delete this.beaconPopper,delete this.tooltipPopper)}},{key:"componentWillUnmount",value:function(){this.scope.removeScope()}},{key:"open",get:function(){var i=this.props,o=i.step,l=i.lifecycle;return!!(ew(o)||l===ue.TOOLTIP)}},{key:"render",value:function(){var i=this.props,o=i.continuous,l=i.debug,a=i.helpers,s=i.index,u=i.lifecycle,c=i.nonce,f=i.shouldScroll,d=i.size,p=i.step,h=ai(p.target);return!GC(p)||!Ge.domElement(h)?null:k.createElement("div",{key:"JoyrideStep-".concat(s),className:"react-joyride__step"},k.createElement(Hj,{id:"react-joyride-portal"},k.createElement(Uj,Ht({},p,{debug:l,lifecycle:u,onClickOverlay:this.handleClickOverlay}))),k.createElement(Hg,Ht({component:k.createElement($j,{continuous:o,helpers:a,index:s,isLastStep:s+1===d,setTooltipRef:this.setTooltipRef,size:d,step:p}),debug:l,getPopper:this.setPopper,id:"react-joyride-step-".concat(s),isPositioned:p.isFixed||nl(h),open:this.open,placement:p.placement,target:p.target},p.floaterProps),k.createElement(Fj,{beaconComponent:p.beaconComponent,locale:p.locale,nonce:c,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:f,styles:p.styles})))}}]),n}(k.Component),JC=function(e){io(n,e);var t=oo(n);function n(r){var i;return Pr(this,n),i=t.call(this,r),ne(je(i),"initStore",function(){var o=i.props,l=o.debug,a=o.getHelpers,s=o.run,u=o.stepIndex;i.store=new Aj(K(K({},i.props),{},{controlled:s&&Ge.number(u)})),i.helpers=i.store.getHelpers();var c=i.store.addListener;return Ki({title:"init",data:[{key:"props",value:i.props},{key:"state",value:i.state}],debug:l}),c(i.syncState),a(i.helpers),i.store.getState()}),ne(je(i),"callback",function(o){var l=i.props.callback;Ge.function(l)&&l(o)}),ne(je(i),"handleKeyboard",function(o){var l=i.state,a=l.index,s=l.lifecycle,u=i.props.steps,c=u[a],f=window.Event?o.which:o.keyCode;s===ue.TOOLTIP&&f===27&&c&&!c.disableCloseOnEsc&&i.store.close()}),ne(je(i),"syncState",function(o){i.setState(o)}),ne(je(i),"setPopper",function(o,l){l==="wrapper"?i.beaconPopper=o:i.tooltipPopper=o}),ne(je(i),"shouldScroll",function(o,l,a,s,u,c,f){return!o&&(l!==0||a||s===ue.TOOLTIP)&&u.placement!=="center"&&(!u.isFixed||!nl(c))&&f.lifecycle!==s&&[ue.BEACON,ue.TOOLTIP].indexOf(s)!==-1}),i.state=i.initStore(),i}return Nr(n,[{key:"componentDidMount",value:function(){if($r){var i=this.props,o=i.disableCloseOnEsc,l=i.debug,a=i.run,s=i.steps,u=this.store.start;iw(s,l)&&a&&u(),o||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}}},{key:"componentDidUpdate",value:function(i,o){if($r){var l=this.state,a=l.action,s=l.controlled,u=l.index,c=l.lifecycle,f=l.status,d=this.props,p=d.debug,h=d.run,m=d.stepIndex,E=d.steps,g=i.steps,y=i.stepIndex,w=this.store,S=w.reset,_=w.setSteps,b=w.start,A=w.stop,T=w.update,N=ja(i,this.props),R=N.changed,I=ja(o,this.state),F=I.changed,L=I.changedFrom,j=Ml(E[u],this.props),J=!Vh(g,E),ee=Ge.number(m)&&R("stepIndex"),te=ai(j==null?void 0:j.target);if(J&&(iw(E,p)?_(E):console.warn("Steps are not valid",E)),R("run")&&(h?b(m):A()),ee){var D=y=0?b:0,s===de.RUNNING&&Oj(b,_,m)}}}},{key:"render",value:function(){if(!$r)return null;var i=this.state,o=i.index,l=i.status,a=this.props,s=a.continuous,u=a.debug,c=a.nonce,f=a.scrollToFirstStep,d=a.steps,p=Ml(d[o],this.props),h;return l===de.RUNNING&&p&&(h=k.createElement(Gj,Ht({},this.state,{callback:this.callback,continuous:s,debug:u,setPopper:this.setPopper,helpers:this.helpers,nonce:c,shouldScroll:!p.disableScrolling&&(o!==0||f),step:p,update:this.store.update}))),k.createElement("div",{className:"react-joyride"},h)}}]),n}(k.Component);ne(JC,"defaultProps",{continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:function(){},hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]});const Jj=U("div",{children:[v("p",{children:"You can see how the changes impact your app with the app preview."}),v("p",{children:"Click in the center of the preview to expand it to full screen to get a better view of your app."}),v("p",{children:'Any log messages from the app will be placed into the "App Logs" drawer.'})]}),Qj=U("div",{children:[v("p",{children:"The app view shows a skeleton view of the current state of your app's UI."}),v("p",{children:"You can click on elements to select them or drag them around to move them."}),v("p",{children:"Cards can be resized by dragging resize handles on the sides."}),v("p",{children:"Rows and Columns can be resized by dragging between tracts and added by hovering over the left and top respectively to reveal the tract controls widget."}),v("p",{children:v("a",{href:"https://rstudio.github.io/shinyuieditor/articles/how-to.html#show-size-widget",children:"More info"})})]}),Kj=U("div",{children:["Drag elements from the elements palette into the app pane on the right to add them to your app. ",v("br",{})," In the app view, the areas available for the element to be dropped in will pulse with an"," ",v("span",{className:"can-accept-drop",style:{padding:"2px"},children:"orange outline."})]}),qj=U("div",{children:[v("p",{children:"After selecting an element in your app, you can adjust the settings for that element in the properties pane."}),v("p",{children:"Changes made will be automatically applied to your element both in the app view and your code so there's no need to save or submit these changes."})]}),Xj=[{target:".app-view",content:Qj,disableBeacon:!0},{target:".elements-panel",content:Kj,placement:"right-start",disableBeacon:!0},{target:".properties-panel",content:qj,placement:"left-start"},{target:".app-preview",content:Jj,placement:"top-start"},{target:".undo-redo-buttons",content:"Mess something up? You can use the change history to undo or redo your changes",placement:"bottom"}];function Zj(){const[e,t]=O.useState(0),[n,r]=O.useState(!1),i=O.useCallback(l=>{const{action:a,index:s,type:u}=l;(u===xt.STEP_AFTER||u===xt.TARGET_NOT_FOUND)&&(a===fe.NEXT?t(s+1):a===fe.PREV?t(s-1):a===fe.CLOSE&&r(!1)),u===xt.TOUR_END&&(a===fe.NEXT&&(r(!1),t(0)),a===fe.SKIP&&r(!1))},[]),o=O.useCallback(()=>{r(!0)},[]);return U(Me,{children:[U(rt,{onClick:o,title:"Take a guided tour of app",variant:"transparent",children:[v(tL,{id:"tour",size:"24px"}),"Tour App"]}),v(JC,{callback:i,steps:Xj,stepIndex:e,run:n,continuous:!0,showProgress:!0,showSkipButton:!0,disableScrolling:!0,locale:{next:"Next",back:"Back",close:"Close",last:"Let's go!",open:"Open the dialog",skip:"Skip tour"},styles:tW})]})}const ow="#e07189",eW="#f6d5dc",tW={options:{arrowColor:"var(--rstudio-white, white)",backgroundColor:"var(--rstudio-white, white)",primaryColor:"var(--rstudio-blue, steelblue)",textColor:"var(--rstudio-grey, black)"},beaconInner:{backgroundColor:ow},beaconOuter:{backgroundColor:eW,border:`2px solid ${ow}`}},nW=e=>v("svg",W(P({viewBox:"0 0 168 114",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Shiny Logo"},e),{children:v("path",{opacity:.9,d:"M17.524 62.626c-.898-.027-.3 0 0 0Zm-.027 0c-.871-.027-.49 0-.19 0h.462-.272c.272.027.19 0 0 0Zm.244 0c9.497.218 19.43-1.986 22.313-13.279 1.878-7.293-2.802-12.599-6.938-17.932-.028-.027-.055-.054-.055-.109-.163-.68-4.653-4.816-5.904-6.367 0-.027-.028-.027-.055-.055-.599-.435-1.224-2.64-1.524-3.864a3.323 3.323 0 0 1-.027-1.55c1.089-5.552 1.687-9.606 9.061-8.409 5.306.871 2.558 8.653 5.415 9.415h.055c1.714.164 5.06-3.945 5.55-5.333 1.905-5.388-9.088-8.68-12.435-8.463-6.72.408-11.129 4.055-13.823 10.068-4.952 11.075 4.3 18.45 9.905 26.041 4.245 5.742 4.054 10.857-1.143 15.782-5.714 5.415-12.354-2.04-13.116-7.292-.68-4.816-.625-8.163-4.653-2.04-3.728 5.686.11 13.088 7.374 13.387ZM167.266 36.34v.055a13.555 13.555 0 0 1-.762 3.428 27.79 27.79 0 0 1-2.693 5.306c-1.334 2.041-2.041 2.857-3.429 4.653-2.612 3.402-4.626 5.932-7.674 9.17-4.244 4.49-8.979 9.633-14.149 13.306-7.374 5.28-16.68 6.722-25.497 7.538-25.796 2.34-63.755 5.823-71.755 33.741-.054.164-.19.245-.354.191-.081-.027-.136-.055-.163-.136-7.837-13.388-24.68-23.211-40.3-22.748-.162.027-.299-.055-.326-.218-.027-.163.055-.3.218-.327 40.218-19.972 81.306-10.394 124.735-18.15 10.857-1.931 19.972-9.06 26.53-17.632 2.504-3.238 5.715-5.986 7.919-9.442.353-.572 2.176-5.116-.653-3.184-4.381 2.966-8.082 6.64-12.844 8.953a5.605 5.605 0 0 1-.707.299c-.082.027-.137.109-.164.19a27.286 27.286 0 0 1-2.857 6.368 18.325 18.325 0 0 1-5.66 5.632c-2.122 1.415-4.598 2.232-7.129 2.422-.354.027-.68.027-1.034.027-2.014 0-3.32-.163-4.871-.952-1.986-1.034-2.612-2.721-2.748-4.762-.082-1.224.68-2.558 1.306-3.565.626-1.006 1.633-2.122 2.34-2.421l.055-.028c3.537-2.612 9.551-2.802 13.632-3.918.109-.027.191-.109.191-.19l2.041-7.456c.054-.163-.055-.3-.191-.354a.301.301 0 0 0-.299.109 40.263 40.263 0 0 1-3.402 4.326c-1.605 1.688-2.857 2.721-3.809 3.102a11.152 11.152 0 0 1-3.374.708c-1.361.082-2.531-.463-3.429-1.605-.898-1.143-1.388-2.83-1.496-5.062a8.521 8.521 0 0 1 0-1.197.312.312 0 0 0-.191-.354.313.313 0 0 0-.354.19c-.435.844-.87 1.633-1.306 2.34-1.279 2.232-2.884 4.273-4.707 6.096-1.796 1.796-3.538 2.748-5.143 2.857-3.021.19-4.653-1.523-4.871-5.115-.218-3.429 1.143-10.477 4.082-20.98.163-.462.217-.952.19-1.415-.054-.952-.598-1.333-1.714-1.252a6.312 6.312 0 0 0-3.51 1.47 12.19 12.19 0 0 0-3.021 3.837c-.898 1.632-1.687 3.32-2.421 5.034a42.75 42.75 0 0 0-1.878 5.823c-.544 2.204-1.007 4.054-1.306 5.496a144.944 144.944 0 0 0-.925 4.708c-.218 1.143-.463 2.557-.517 2.775l-.055.218-7.483.49-.027-.272c-.054-.654.49-2.966 1.578-7.02l-.653 1.142a29.066 29.066 0 0 1-4.68 6.095c-1.796 1.796-3.537 2.749-5.143 2.857h-.326c-2.64 0-4.136-2.068-4.381-6.15-.055-.816-.082-1.632-.055-2.475a.312.312 0 0 0-.19-.354.312.312 0 0 0-.354.19c-4.109 7.538-7.81 11.347-11.238 11.565-3.02.19-4.653-1.605-4.898-5.36-.272-4.164.87-10.26 3.401-18.096.545-1.932.79-3.265.735-3.973-.082-1.088-.571-1.224-.98-1.224h-.108c-.354.027-1.116.245-2.722 1.252a14.477 14.477 0 0 0-3.646 3.4c-1.17 1.525-2.095 3.239-2.775 5.035-.708 1.905-1.28 3.565-1.687 4.952-.408 1.388-.817 3.102-1.225 5.062-.408 1.959-.762 3.646-1.088 4.898a73.777 73.777 0 0 0-.98 4.353l-.054.218-7.184.462c-.163 0-.3-.108-.3-.272v-.108c1.062-3.674 2.559-9.633 4.463-17.688 1.905-8.054 3.647-14.503 5.061-19.129 1.225-4.027 2.667-8 4.354-11.836a32.438 32.438 0 0 1 5.225-8.273c2.04-2.285 4.326-3.51 6.748-3.673 2.558-.163 3.919 1.116 4.109 3.755.109 1.769-.408 4.136-1.524 7.102-2.04 5.252-5.442 11.374-10.15 18.204a.296.296 0 0 0 0 .408c.11.11.3.11.409 0a16.315 16.315 0 0 1 2.612-1.66c1.36-.707 2.857-1.115 4.408-1.251 2.912-.19 4.463 1.143 4.653 3.945a8.216 8.216 0 0 1-.326 3.048c-.273.898-.572 1.96-.926 3.13-.326 1.17-.598 2.149-.816 2.884-.218.761-.49 1.768-.844 3.047-.353 1.28-.625 2.395-.789 3.266-.49 2.204-.68 3.972-.598 5.251.109 1.633.762 1.633.98 1.633h.081c2.748-.163 5.986-4.953 9.66-14.204.027-.055.027-.082.054-.136a64.454 64.454 0 0 1 3.184-8.925c1.524-3.347 3.374-5.116 5.551-5.252l4.354-.218c.163 0 .299.109.299.272a.31.31 0 0 1-.082.218c-.68.653-1.578 2.395-2.666 5.197-1.143 3.02-1.932 5.089-2.45 6.476-.516 1.443-1.115 3.402-1.74 5.85-.627 2.45-.899 4.409-.79 5.878.136 1.932.87 1.932 1.116 1.932h.081c.381-.027 1.089-.299 2.368-1.47a14.924 14.924 0 0 0 2.53-3.02c.653-1.06 1.36-2.394 2.15-4.027.79-1.632 1.47-3.047 2.04-4.245.627-1.279.872-1.714 1.035-1.877l.354-.653c1.333-5.388 1.959-9.17 1.823-11.266a2.31 2.31 0 0 0-.245-1.034c-.082-.108-.082-.299.054-.38a.387.387 0 0 1 .163-.055l3.02-.19c1.77-.11 2.885 0 3.457.38.571.381.925 1.007.952 1.66a9.83 9.83 0 0 1-.19 1.987c-.028.163.081.3.245.326.081.028.19-.027.244-.081 3.402-3.538 6.939-5.442 10.585-5.66 2.912-.19 4.49 1.197 4.654 4.109.054.925 0 1.85-.191 2.775-.19.925-.653 2.721-1.469 5.497-1.715 5.959-2.531 9.959-2.395 11.918.082 1.388.626 1.551 1.034 1.551h.082c.381-.027 1.088-.3 2.34-1.496a17.296 17.296 0 0 0 2.558-3.075 43.208 43.208 0 0 0 2.177-3.973c.789-1.578 1.442-2.993 2.013-4.19.191-.436.354-.762.49-1.035 0-.027.027-.027.027-.054.789-3.32 1.714-6.068 2.776-8.19 1.224-2.504 2.612-4.164 4.081-4.98 1.47-.816 3.483-1.279 6.068-1.442a.58.58 0 0 1 .626.517v.054c.027.3-.136.626-.462 1.034-1.824 1.987-3.592 5.497-5.307 10.45-1.714 4.952-2.448 9.115-2.258 12.435.109 1.523.49 2.313 1.143 2.313h.054c1.606-.11 3.647-2.096 6.014-5.932a50.108 50.108 0 0 0 5.442-11.674c.163-.544.381-1.306.68-2.34.3-1.034.517-1.714.626-2.095.109-.381.327-.925.599-1.606.19-.544.462-1.034.789-1.496.218-.245.544-.572.925-.98.381-.408.816-.707 1.333-.87a19.15 19.15 0 0 1 3.919-.735l3.02-.19c.136-.055.3.026.354.162.054.137-.027.3-.163.354l-.055.055c-1.36 1.06-2.694 3.591-3.945 7.537-1.034 3.347-1.905 6.449-2.585 9.197a295.694 295.694 0 0 1-1.279 5.034c-.164.599-.517 2.068-1.061 4.3a177.514 177.514 0 0 1-1.062 4.19c-.054.136 0 .3.136.354.082.027.191.027.272-.055a43.638 43.638 0 0 0 8.164-6.313c1.387-1.387 11.918-13.088 12.408-5.66l.054.327ZM66.503 2.708c-1.06.054-2.938 1.687-5.768 8.98-1.96 5.033-3.864 10.775-5.687 17.087-.055.164.054.3.19.354.109.027.245 0 .327-.109 4.898-7.483 8.299-13.714 10.095-18.585 1.115-3.32 1.633-5.523 1.578-6.503-.082-1.197-.544-1.197-.68-1.197l-.055-.027ZM137.17 54c.054-.136-.027-.3-.163-.354a.173.173 0 0 0-.163 0c-1.47.3-2.939.544-4.381.898-2.041.49-5.143.98-6.722 2.694-.027.027-.027.054-.054.082-.272.598-.326 1.55-.272 2.748.054.844.871 1.633 1.578 2.204a3.24 3.24 0 0 0 2.313.68c3.211-.244 5.85-3.238 7.864-8.952ZM88.517 18.98c1.742-.082 3.918-.735 4.435-3.32.245-1.17-.462-2.504-.898-2.885-.435-.38-1.034-.544-1.823-.49-.789.055-1.741.545-2.64 1.389-1.196 1.115-1.142 2.72-.761 3.782.354.898.98 1.496 1.687 1.524Z",fill:"#fff"})})),rW="_container_1d7pe_1",iW={container:rW};function oW({goBackward:e,canGoBackward:t,goForward:n,canGoForward:r}){return U("div",{className:Ke(iW.container,"undo-redo-buttons"),children:[v(rt,{variant:["transparent","icon"],disabled:!t,"aria-label":"Undo last change",title:"Undo last change",onClick:e,children:v(oL,{height:"100%"})}),v(rt,{variant:["transparent","icon"],disabled:!r,"aria-label":"Redo last change",title:"Redo last change",onClick:n,children:v(iL,{height:"100%"})})]})}const lW="_shiny_logo_1exlx_1",aW="_app_title_1exlx_10",sW="_divider_1exlx_15",uW="_header_1exlx_21",cW="_OpenSideBySideWindowButton_1exlx_29",fW="_right_1exlx_54",dW="_spacer_1exlx_66",pW="_last_1exlx_70",_i={shiny_logo:lW,app_title:aW,divider:sW,header:uW,OpenSideBySideWindowButton:cW,"react-joyride":"_react-joyride_1exlx_46","undo-redo-buttons":"_undo-redo-buttons_1exlx_50",right:fW,spacer:dW,last:pW};function hW(){const{sendMsg:e,mode:t}=Qa();return t!=="VSCODE"?null:U(Me,{children:[v(Ir,{text:"Open app code next to editor",onClick:()=>{e({path:"OPEN-COMPANION-EDITOR",payload:"BESIDE"})},className:"OpenSideBySideWindowButton",children:v(FL,{})}),v("div",{className:"divider"})]})}function mW({state:e,history:t}){return U("header",{className:_i.header,children:[v(nW,{className:_i.shiny_logo}),v("h1",{className:_i.app_title,children:"Shiny UI Editor"}),U("div",{className:_i.right,children:[e.mode==="MAIN"?U(Me,{children:[v(hW,{}),v(Zj,{})]}):null,v("div",{className:_i.divider}),v(oW,P({},t)),v("div",{className:Ke(_i.spacer,_i.last)})]})]})}function gW(){return Ka(t=>t.connected_to_server)?null:v(Wx,{onConfirm:()=>{},onCancel:()=>{},children:v("p",{style:{color:"var(--red, pink)",textAlign:"center"},children:"Lost connection to backend. Check console where editor was launched for details."})})}function yW(){const{state:e,history:t}=m9();return v(HT,{goBackward:t.goBackward,canGoBackward:t.canGoBackward,children:U("div",{className:y9.EditorContainer,style:KS,children:[v(mW,{state:e,history:t}),v(xU,{state:e}),v(gW,{})]})})}const vW=wf({name:"connectedToServer",initialState:!0,reducers:{DISCONNECTED_FROM_SERVER:(e,t)=>!1}}),wW=vW.reducer;function bW({selectedPath:e,deletedPath:t}){if(e===null)return e;if(ul(t,e))return EW(e);if(e.lengthi)return e;const o=[...e],l=i-1;return l<0||(o[n]=l),o}function EW(e){return e.slice(0,e.length-1)}const QC=vg();QC.startListening({actionCreator:JA,effect:(e,t)=>It(ml,null,function*(){const n=e.payload.path,r=t.getState().selected_path;if(r===null)return;const i=bW({selectedPath:r,deletedPath:n});t.dispatch(Sf({path:i}))})});const SW=QC.middleware;function AW({fromPath:e,toPath:t}){const n=Ui(e);if(Ui(t)=t[i])return t;const o=[...t];return o[i]--,o}const KC=vg();KC.startListening({actionCreator:GA,effect:(e,t)=>It(ml,null,function*(){const n=e.payload;let r=n.path;YA(n)&&(r=AW({fromPath:n.currentPath,toPath:r})),t.dispatch(Sf({path:r}))})});const xW=KC.middleware,qC=vg();qC.startListening({actionCreator:QA,effect:(e,t)=>It(ml,null,function*(){t.dispatch(Sf({path:[]}))})});const CW=qC.middleware,_W=_R({reducer:{app_info:q5,selected_path:e5,connected_to_server:wW,currentlyDraggedNode:XR},middleware:e=>e().concat(SW).concat(xW).concat(CW)});function kW({children:e}){return v(VT,{store:_W,children:e})}function TW({showMessages:e=!0,defaultTree:t,backendDispatch:{sendMsg:n,incomingMsgs:r,mode:i}=sw({messageDispatch:aw(),showMessages:e,defaultTree:t!=null?t:"TEMPLATE_CHOOSER"})}){return v(kW,{children:v(Ja,{fallbackRender:IW,children:v(nT,W(P({},e?{sendMsg:n,incomingMsgs:{subscribe:(l,a)=>(console.log(`backendMsgs.subscribe("${l}", ...)`),r.subscribe(l,a))},mode:i}:{sendMsg:n,incomingMsgs:r,mode:i}),{children:v(yW,{})}))})})}const IW=e=>U("div",{children:[v("h1",{children:"Boo"}),v(ag,P({header:"ShinyUiEditor encountered an error",generateIssueLink:t=>ug({title:"Error in ShinyUiEditor at root",body:`Error at root of editor: +${sg(t)}`})},e))]});function OW({container:e,showMessages:t,backendDispatch:n}){wE(e).render(v(TW,{backendDispatch:n,showMessages:t}))}const PW=document.getElementById("root"),{pathToWebsocket:NW,defaultTree:RW}={pathToWebsocket:void 0,defaultTree:"TEMPLATE_CHOOSER"},lw=!0;It(ml,null,function*(){try{const e=aw(),t=yield m_({messageDispatch:e,onClose:()=>console.log("Websocket closed!!"),pathToWebsocket:NW}),n=t==="NO-WS-CONNECTION"?sw({messageDispatch:e,showMessages:lw,defaultTree:RW}):t;OW({container:PW,backendDispatch:n,showMessages:lw})}catch(e){}})});export default DW(); diff --git a/inst/editor/build/assets/index-8386b50c.css b/inst/editor/build/assets/index-f22d7c9a.css similarity index 96% rename from inst/editor/build/assets/index-8386b50c.css rename to inst/editor/build/assets/index-f22d7c9a.css index 5c81e7d13..4e20bb010 100644 --- a/inst/editor/build/assets/index-8386b50c.css +++ b/inst/editor/build/assets/index-f22d7c9a.css @@ -3,4 +3,4 @@ * Copyright 2011-2022 The Bootstrap Authors * Copyright 2011-2022 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */:root{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg-rgb: 255, 255, 255;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-bg: #fff;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-2xl: 2rem;--bs-border-radius-pill: 50rem;--bs-link-color: #0d6efd;--bs-link-hover-color: #0a58ca;--bs-code-color: #d63384;--bs-highlight-bg: #fff3cd}*,*:before,*:after{box-sizing:border-box}}@layer frameworks{@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}}@layer frameworks{body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:1px solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}h1,.h1{font-size:calc(1.375rem + 1.5vw)}}@layer frameworks{@media (min-width: 1200px){h1,.h1{font-size:2.5rem}}}@layer frameworks{h2,.h2{font-size:calc(1.325rem + .9vw)}}@layer frameworks{@media (min-width: 1200px){h2,.h2{font-size:2rem}}}@layer frameworks{h3,.h3{font-size:calc(1.3rem + .6vw)}}@layer frameworks{@media (min-width: 1200px){h3,.h3{font-size:1.75rem}}}@layer frameworks{h4,.h4{font-size:calc(1.275rem + .3vw)}}@layer frameworks{@media (min-width: 1200px){h4,.h4{font-size:1.5rem}}}@layer frameworks{h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:var(--bs-link-color);text-decoration:underline}a:hover{color:var(--bs-link-hover-color)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}}@layer frameworks{@media (min-width: 1200px){legend{font-size:1.5rem}}}@layer frameworks{legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}}@layer frameworks{@media (min-width: 1200px){.display-1{font-size:5rem}}}@layer frameworks{.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}}@layer frameworks{@media (min-width: 1200px){.display-2{font-size:4.5rem}}}@layer frameworks{.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}}@layer frameworks{@media (min-width: 1200px){.display-3{font-size:4rem}}}@layer frameworks{.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}}@layer frameworks{@media (min-width: 1200px){.display-4{font-size:3.5rem}}}@layer frameworks{.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}}@layer frameworks{@media (min-width: 1200px){.display-5{font-size:3rem}}}@layer frameworks{.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}}@layer frameworks{@media (min-width: 1200px){.display-6{font-size:2.5rem}}}@layer frameworks{.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"\2014\a0"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid var(--bs-border-color);border-radius:.375rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}}@layer frameworks{@media (min-width: 576px){.container-sm,.container{max-width:540px}}}@layer frameworks{@media (min-width: 768px){.container-md,.container-sm,.container{max-width:720px}}}@layer frameworks{@media (min-width: 992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}}@layer frameworks{@media (min-width: 1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}}@layer frameworks{@media (min-width: 1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}}@layer frameworks{.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}}@layer frameworks{@media (min-width: 576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}}@layer frameworks{@media (min-width: 768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}}@layer frameworks{@media (min-width: 992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}}@layer frameworks{@media (min-width: 1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}}@layer frameworks{@media (min-width: 1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}}@layer frameworks{.table{--bs-table-color: var(--bs-body-color);--bs-table-bg: transparent;--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-body-color);--bs-table-striped-bg: rgba(0, 0, 0, .05);--bs-table-active-color: var(--bs-body-color);--bs-table-active-bg: rgba(0, 0, 0, .1);--bs-table-hover-color: var(--bs-body-color);--bs-table-hover-bg: rgba(0, 0, 0, .075);width:100%;margin-bottom:1rem;color:var(--bs-table-color);vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:2px solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg: var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-striped-columns>:not(caption)>tr>:nth-child(even){--bs-table-accent-bg: var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg: var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg: var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-color: #000;--bs-table-bg: #cfe2ff;--bs-table-border-color: #bacbe6;--bs-table-striped-bg: #c5d7f2;--bs-table-striped-color: #000;--bs-table-active-bg: #bacbe6;--bs-table-active-color: #000;--bs-table-hover-bg: #bfd1ec;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #e2e3e5;--bs-table-border-color: #cbccce;--bs-table-striped-bg: #d7d8da;--bs-table-striped-color: #000;--bs-table-active-bg: #cbccce;--bs-table-active-color: #000;--bs-table-hover-bg: #d1d2d4;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #d1e7dd;--bs-table-border-color: #bcd0c7;--bs-table-striped-bg: #c7dbd2;--bs-table-striped-color: #000;--bs-table-active-bg: #bcd0c7;--bs-table-active-color: #000;--bs-table-hover-bg: #c1d6cc;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #cff4fc;--bs-table-border-color: #badce3;--bs-table-striped-bg: #c5e8ef;--bs-table-striped-color: #000;--bs-table-active-bg: #badce3;--bs-table-active-color: #000;--bs-table-hover-bg: #bfe2e9;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #fff3cd;--bs-table-border-color: #e6dbb9;--bs-table-striped-bg: #f2e7c3;--bs-table-striped-color: #000;--bs-table-active-bg: #e6dbb9;--bs-table-active-color: #000;--bs-table-hover-bg: #ece1be;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #dfc2c4;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #dfe0e1;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: #373b3e;--bs-table-striped-bg: #2c3034;--bs-table-striped-color: #fff;--bs-table-active-bg: #373b3e;--bs-table-active-color: #fff;--bs-table-hover-bg: #323539;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}}@layer frameworks{@media (max-width: 575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}}@layer frameworks{@media (max-width: 767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}}@layer frameworks{@media (max-width: 991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}}@layer frameworks{@media (max-width: 1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}}@layer frameworks{@media (max-width: 1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}}@layer frameworks{.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:#6c757d}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.form-control{transition:none}}}@layer frameworks{.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:#212529;background-color:#fff;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-control::-webkit-date-and-time-value{height:1.5em}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled{background-color:#e9ecef;opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}}@layer frameworks{.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:#dde0e3}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + 2px)}textarea.form-control-sm{min-height:calc(1.5em + .5rem + 2px)}textarea.form-control-lg{min-height:calc(1.5em + 1rem + 2px)}.form-control-color{width:3rem;height:calc(1.5em + .75rem + 2px);padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:.375rem}.form-control-color::-webkit-color-swatch{border-radius:.375rem}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + 2px)}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + 2px)}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;-moz-padding-start:calc(.75rem - 3px);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:1px solid #ced4da;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}}@layer frameworks{@media (prefers-reduced-motion: reduce){.form-select{transition:none}}}@layer frameworks{.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #212529}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:.25rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:.5rem}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,.25);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.form-switch .form-check-input{transition:none}}}@layer frameworks{.form-switch .form-check-input:focus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}}@layer frameworks{@media (prefers-reduced-motion: reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}}@layer frameworks{.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}}@layer frameworks{@media (prefers-reduced-motion: reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}}@layer frameworks{.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + 2px);line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;width:100%;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:1px solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.form-floating>label{transition:none}}}@layer frameworks{.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::-moz-placeholder,.form-floating>.form-control-plaintext::-moz-placeholder{color:transparent}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:not(:-moz-placeholder-shown),.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:1px 0}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.375rem}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#198754}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#198754e6;border-radius:.375rem}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:#198754;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem #19875440}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:#198754}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem #19875440}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:#198754}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:#198754}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem #19875440}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:#198754}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#dc3545e6;border-radius:.375rem}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:#dc3545}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:#dc3545}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:#dc3545}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem #dc354540}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:#dc3545}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: #212529;--bs-btn-bg: transparent;--bs-btn-border-width: 1px;--bs-btn-border-color: transparent;--bs-btn-border-radius: .375rem;--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.btn{transition:none}}}@layer frameworks{.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0b5ed7;--bs-btn-hover-border-color: #0a58ca;--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0a58ca;--bs-btn-active-border-color: #0a53be;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #0d6efd;--bs-btn-disabled-border-color: #0d6efd}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #5c636a;--bs-btn-hover-border-color: #565e64;--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: #565e64;--bs-btn-active-border-color: #51585e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #157347;--bs-btn-hover-border-color: #146c43;--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: #146c43;--bs-btn-active-border-color: #13653f;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #31d2f2;--bs-btn-hover-border-color: #25cff2;--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: #3dd5f3;--bs-btn-active-border-color: #25cff2;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffca2c;--bs-btn-hover-border-color: #ffc720;--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffcd39;--bs-btn-active-border-color: #ffc720;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #424649;--bs-btn-hover-border-color: #373b3e;--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #4d5154;--bs-btn-active-border-color: #373b3e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0d6efd;--bs-btn-hover-border-color: #0d6efd;--bs-btn-focus-shadow-rgb: 13, 110, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0d6efd;--bs-btn-active-border-color: #0d6efd;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0d6efd;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0d6efd;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: none;--bs-btn-focus-shadow-rgb: 49, 132, 253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: .5rem}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: .25rem}.fade{transition:opacity .15s linear}}@layer frameworks{@media (prefers-reduced-motion: reduce){.fade{transition:none}}}@layer frameworks{.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}}@layer frameworks{@media (prefers-reduced-motion: reduce){.collapsing{transition:none}}}@layer frameworks{.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}}@layer frameworks{@media (prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}}@layer frameworks{.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: #212529;--bs-dropdown-bg: #fff;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: .375rem;--bs-dropdown-border-width: 1px;--bs-dropdown-inner-border-radius:calc(.375rem - 1px);--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-dropdown-link-color: #212529;--bs-dropdown-link-hover-color: #1e2125;--bs-dropdown-link-hover-bg: #e9ecef;--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}}@layer frameworks{@media (min-width: 576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}}@layer frameworks{@media (min-width: 768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}}@layer frameworks{@media (min-width: 992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}}@layer frameworks{@media (min-width: 1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}}@layer frameworks{@media (min-width: 1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}}@layer frameworks{.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:.375rem}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:-1px}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: #6c757d;display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.nav-link{transition:none}}}@layer frameworks{.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link.disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: 1px;--bs-nav-tabs-border-color: #dee2e6;--bs-nav-tabs-border-radius: .375rem;--bs-nav-tabs-link-hover-border-color: #e9ecef #e9ecef #dee2e6;--bs-nav-tabs-link-active-color: #495057;--bs-nav-tabs-link-active-bg: #fff;--bs-nav-tabs-link-active-border-color: #dee2e6 #dee2e6 #fff;border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));background:none;border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.disabled,.nav-tabs .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: .375rem;--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}.nav-pills .nav-link{background:none;border:0;border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(0, 0, 0, .55);--bs-navbar-hover-color: rgba(0, 0, 0, .7);--bs-navbar-disabled-color: rgba(0, 0, 0, .3);--bs-navbar-active-color: rgba(0, 0, 0, .9);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(0, 0, 0, .9);--bs-navbar-brand-hover-color: rgba(0, 0, 0, .9);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(0, 0, 0, .1);--bs-navbar-toggler-border-radius: .375rem;--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .show>.nav-link,.navbar-nav .nav-link.active{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}}@layer frameworks{@media (prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}}@layer frameworks{.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}}@layer frameworks{@media (min-width: 576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}}@layer frameworks{@media (min-width: 768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}}@layer frameworks{@media (min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}}@layer frameworks{@media (min-width: 1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}}@layer frameworks{@media (min-width: 1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}}@layer frameworks{.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-border-width: 1px;--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: .375rem;--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(.375rem - 1px);--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(0, 0, 0, .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: #fff;--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: .75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;inset:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}}@layer frameworks{@media (min-width: 576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}}@layer frameworks{.accordion{--bs-accordion-color: #212529;--bs-accordion-bg: #fff;--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: 1px;--bs-accordion-border-radius: .375rem;--bs-accordion-inner-border-radius:calc(.375rem - 1px);--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: #212529;--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color: #86b7fe;--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: #0c63e4;--bs-accordion-active-bg: #e7f1ff}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}}@layer frameworks{@media (prefers-reduced-motion: reduce){.accordion-button{transition:none}}}@layer frameworks{.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}}@layer frameworks{@media (prefers-reduced-motion: reduce){.accordion-button:after{transition:none}}}@layer frameworks{.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: #6c757d;--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: #6c757d;display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: #fff;--bs-pagination-border-width: 1px;--bs-pagination-border-color: #dee2e6;--bs-pagination-border-radius: .375rem;--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: #e9ecef;--bs-pagination-hover-border-color: #dee2e6;--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: #e9ecef;--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #0d6efd;--bs-pagination-active-border-color: #0d6efd;--bs-pagination-disabled-color: #6c757d;--bs-pagination-disabled-bg: #fff;--bs-pagination-disabled-border-color: #dee2e6;display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.page-link{transition:none}}}@layer frameworks{.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:-1px}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: .5rem}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: .25rem}.badge{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: .75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: .375rem;display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: 1px solid var(--bs-alert-border-color);--bs-alert-border-radius: .375rem;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: #084298;--bs-alert-bg: #cfe2ff;--bs-alert-border-color: #b6d4fe}.alert-primary .alert-link{color:#06357a}.alert-secondary{--bs-alert-color: #41464b;--bs-alert-bg: #e2e3e5;--bs-alert-border-color: #d3d6d8}.alert-secondary .alert-link{color:#34383c}.alert-success{--bs-alert-color: #0f5132;--bs-alert-bg: #d1e7dd;--bs-alert-border-color: #badbcc}.alert-success .alert-link{color:#0c4128}.alert-info{--bs-alert-color: #055160;--bs-alert-bg: #cff4fc;--bs-alert-border-color: #b6effb}.alert-info .alert-link{color:#04414d}.alert-warning{--bs-alert-color: #664d03;--bs-alert-bg: #fff3cd;--bs-alert-border-color: #ffecb5}.alert-warning .alert-link{color:#523e02}.alert-danger{--bs-alert-color: #842029;--bs-alert-bg: #f8d7da;--bs-alert-border-color: #f5c2c7}.alert-danger .alert-link{color:#6a1a21}.alert-light{--bs-alert-color: #636464;--bs-alert-bg: #fefefe;--bs-alert-border-color: #fdfdfe}.alert-light .alert-link{color:#4f5050}.alert-dark{--bs-alert-color: #141619;--bs-alert-bg: #d3d3d4;--bs-alert-border-color: #bcbebf}.alert-dark .alert-link{color:#101214}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: #e9ecef;--bs-progress-border-radius: .375rem;--bs-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #0d6efd;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}}@layer frameworks{@media (prefers-reduced-motion: reduce){.progress-bar{transition:none}}}@layer frameworks{.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}}@layer frameworks{@media (prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}}@layer frameworks{.list-group{--bs-list-group-color: #212529;--bs-list-group-bg: #fff;--bs-list-group-border-color: rgba(0, 0, 0, .125);--bs-list-group-border-width: 1px;--bs-list-group-border-radius: .375rem;--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: #495057;--bs-list-group-action-hover-color: #495057;--bs-list-group-action-hover-bg: #f8f9fa;--bs-list-group-action-active-color: #212529;--bs-list-group-action-active-bg: #e9ecef;--bs-list-group-disabled-color: #6c757d;--bs-list-group-disabled-bg: #fff;--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@layer frameworks{@media (min-width: 576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}}@layer frameworks{@media (min-width: 768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}}@layer frameworks{@media (min-width: 992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}}@layer frameworks{@media (min-width: 1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}}@layer frameworks{@media (min-width: 1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}}@layer frameworks{.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#084298;background-color:#cfe2ff}.list-group-item-primary.list-group-item-action:hover,.list-group-item-primary.list-group-item-action:focus{color:#084298;background-color:#bacbe6}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#084298;border-color:#084298}.list-group-item-secondary{color:#41464b;background-color:#e2e3e5}.list-group-item-secondary.list-group-item-action:hover,.list-group-item-secondary.list-group-item-action:focus{color:#41464b;background-color:#cbccce}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#41464b;border-color:#41464b}.list-group-item-success{color:#0f5132;background-color:#d1e7dd}.list-group-item-success.list-group-item-action:hover,.list-group-item-success.list-group-item-action:focus{color:#0f5132;background-color:#bcd0c7}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#0f5132;border-color:#0f5132}.list-group-item-info{color:#055160;background-color:#cff4fc}.list-group-item-info.list-group-item-action:hover,.list-group-item-info.list-group-item-action:focus{color:#055160;background-color:#badce3}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#055160;border-color:#055160}.list-group-item-warning{color:#664d03;background-color:#fff3cd}.list-group-item-warning.list-group-item-action:hover,.list-group-item-warning.list-group-item-action:focus{color:#664d03;background-color:#e6dbb9}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664d03;border-color:#664d03}.list-group-item-danger{color:#842029;background-color:#f8d7da}.list-group-item-danger.list-group-item-action:hover,.list-group-item-danger.list-group-item-action:focus{color:#842029;background-color:#dfc2c4}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}.list-group-item-light{color:#636464;background-color:#fefefe}.list-group-item-light.list-group-item-action:hover,.list-group-item-light.list-group-item-action:focus{color:#636464;background-color:#e5e5e5}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}.list-group-item-dark{color:#141619;background-color:#d3d3d4}.list-group-item-dark.list-group-item-action:hover,.list-group-item-dark.list-group-item-action:focus{color:#141619;background-color:#bebebf}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem #0d6efd40;opacity:1}.btn-close:disabled,.btn-close.disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(255, 255, 255, .85);--bs-toast-border-width: 1px;--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: .375rem;--bs-toast-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-toast-header-color: #6c757d;--bs-toast-header-bg: rgba(255, 255, 255, .85);--bs-toast-header-border-color: rgba(0, 0, 0, .05);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: #fff;--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: 1px;--bs-modal-border-radius: .5rem;--bs-modal-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-modal-inner-border-radius:calc(.5rem - 1px);--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: 1px;--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: 1px;position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}}@layer frameworks{@media (prefers-reduced-motion: reduce){.modal.fade .modal-dialog{transition:none}}}@layer frameworks{.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}}@layer frameworks{@media (min-width: 576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}}@layer frameworks{@media (min-width: 992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}}@layer frameworks{@media (min-width: 1200px){.modal-xl{--bs-modal-width: 1140px}}}@layer frameworks{.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}}@layer frameworks{@media (max-width: 575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}}@layer frameworks{@media (max-width: 767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}}@layer frameworks{@media (max-width: 991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}}@layer frameworks{@media (max-width: 1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}}@layer frameworks{@media (max-width: 1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}}@layer frameworks{.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: #fff;--bs-tooltip-bg: #000;--bs-tooltip-border-radius: .375rem;--bs-tooltip-opacity: .9;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;padding:var(--bs-tooltip-arrow-height);margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:0}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:0}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size: .875rem;--bs-popover-bg: #fff;--bs-popover-border-width: 1px;--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: .5rem;--bs-popover-inner-border-radius:calc(.5rem - 1px);--bs-popover-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: ;--bs-popover-header-bg: #f0f0f0;--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: #212529;--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.carousel-item{transition:none}}}@layer frameworks{.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}}@layer frameworks{@media (prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}}@layer frameworks{.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}}@layer frameworks{@media (prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{transition:none}}}@layer frameworks{.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}}@layer frameworks{@media (prefers-reduced-motion: reduce){.carousel-indicators [data-bs-target]{transition:none}}}@layer frameworks{.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}}@layer frameworks{@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}}@layer frameworks{.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: ;--bs-offcanvas-bg: #fff;--bs-offcanvas-border-width: 1px;--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075)}}@layer frameworks{@media (max-width: 575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}}@layer frameworks{@media (max-width: 575.98px) and (prefers-reduced-motion: reduce){.offcanvas-sm{transition:none}}}@layer frameworks{@media (max-width: 575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}}@layer frameworks{@media (max-width: 575.98px){.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}}@layer frameworks{@media (max-width: 575.98px){.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}}@layer frameworks{@media (max-width: 575.98px){.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}}@layer frameworks{@media (max-width: 575.98px){.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}}}@layer frameworks{@media (max-width: 575.98px){.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}}@layer frameworks{@media (min-width: 576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}}@layer frameworks{@media (max-width: 767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}}@layer frameworks{@media (max-width: 767.98px) and (prefers-reduced-motion: reduce){.offcanvas-md{transition:none}}}@layer frameworks{@media (max-width: 767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}}@layer frameworks{@media (max-width: 767.98px){.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}}@layer frameworks{@media (max-width: 767.98px){.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}}@layer frameworks{@media (max-width: 767.98px){.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}}@layer frameworks{@media (max-width: 767.98px){.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}}}@layer frameworks{@media (max-width: 767.98px){.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}}@layer frameworks{@media (min-width: 768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}}@layer frameworks{@media (max-width: 991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}}@layer frameworks{@media (max-width: 991.98px) and (prefers-reduced-motion: reduce){.offcanvas-lg{transition:none}}}@layer frameworks{@media (max-width: 991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}}@layer frameworks{@media (max-width: 991.98px){.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}}@layer frameworks{@media (max-width: 991.98px){.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}}@layer frameworks{@media (max-width: 991.98px){.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}}@layer frameworks{@media (max-width: 991.98px){.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}}}@layer frameworks{@media (max-width: 991.98px){.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}}@layer frameworks{@media (min-width: 992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}}@layer frameworks{@media (max-width: 1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}}@layer frameworks{@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce){.offcanvas-xl{transition:none}}}@layer frameworks{@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}}@layer frameworks{@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}}@layer frameworks{@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}}@layer frameworks{@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}}@layer frameworks{@media (max-width: 1199.98px){.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}}}@layer frameworks{@media (max-width: 1199.98px){.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}}@layer frameworks{@media (min-width: 1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}}@layer frameworks{@media (max-width: 1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}}@layer frameworks{@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce){.offcanvas-xxl{transition:none}}}@layer frameworks{@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}}@layer frameworks{@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}}@layer frameworks{@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}}@layer frameworks{@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}}@layer frameworks{@media (max-width: 1399.98px){.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}}}@layer frameworks{@media (max-width: 1399.98px){.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}}@layer frameworks{@media (min-width: 1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}}@layer frameworks{.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.offcanvas{transition:none}}}@layer frameworks{.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:1.5}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(13,110,253,var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(108,117,125,var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(25,135,84,var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#000!important;background-color:RGBA(13,202,240,var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(255,193,7,var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(220,53,69,var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(248,249,250,var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(33,37,41,var(--bs-bg-opacity, 1))!important}.link-primary{color:#0d6efd!important}.link-primary:hover,.link-primary:focus{color:#0a58ca!important}.link-secondary{color:#6c757d!important}.link-secondary:hover,.link-secondary:focus{color:#565e64!important}.link-success{color:#198754!important}.link-success:hover,.link-success:focus{color:#146c43!important}.link-info{color:#0dcaf0!important}.link-info:hover,.link-info:focus{color:#3dd5f3!important}.link-warning{color:#ffc107!important}.link-warning:hover,.link-warning:focus{color:#ffcd39!important}.link-danger{color:#dc3545!important}.link-danger:hover,.link-danger:focus{color:#b02a37!important}.link-light{color:#f8f9fa!important}.link-light:hover,.link-light:focus{color:#f9fafb!important}.link-dark{color:#212529!important}.link-dark:hover,.link-dark:focus{color:#1a1e21!important}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@layer frameworks{@media (min-width: 576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}}@layer frameworks{@media (min-width: 768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}}@layer frameworks{@media (min-width: 992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}}@layer frameworks{@media (min-width: 1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}}@layer frameworks{@media (min-width: 1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}}@layer frameworks{.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link:after{position:absolute;inset:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem #00000026!important}.shadow-sm{box-shadow:0 .125rem .25rem #00000013!important}.shadow-lg{box-shadow:0 1rem 3rem #0000002d!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-1{--bs-border-width: 1px}.border-2{--bs-border-width: 2px}.border-3{--bs-border-width: 3px}.border-4{--bs-border-width: 4px}.border-5{--bs-border-width: 5px}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold{font-weight:700!important}.fw-semibold{font-weight:600!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:#6c757d!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-2xl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}}@layer frameworks{@media (min-width: 576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}}@layer frameworks{@media (min-width: 768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}}@layer frameworks{@media (min-width: 992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}}@layer frameworks{@media (min-width: 1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}}@layer frameworks{@media (min-width: 1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}}@layer frameworks{@media (min-width: 1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}}@layer frameworks{@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}}:root{--bg-color: #edf2f7;--rstudio-blue-h: 209;--rstudio-blue-s: 59%;--rstudio-blue-l: 66%;--rstudio-blue-hsl: var(--rstudio-blue-h) var(--rstudio-blue-s) var(--rstudio-blue-l);--rstudio-blue: hsl(var(--rstudio-blue-hsl));--rstudio-blue-transparent: hsl(var(--rstudio-blue-hsl) / .5);--rstudio-grey-h: 0;--rstudio-grey-s: 0%;--rstudio-grey-l: 25%;--rstudio-grey-hsl: var(--rstudio-grey-h) var(--rstudio-grey-s) var(--rstudio-grey-l);--rstudio-grey: hsl(var(--rstudio-grey-hsl));--rstudio-grey-transparent: hsl(var(--rstudio-grey-hsl) / .5);--rstudio-white-h: 0;--rstudio-white-s: 0%;--rstudio-white-l: 100%;--rstudio-white-hsl: var(--rstudio-white-h) var(--rstudio-white-s) var(--rstudio-white-l);--rstudio-white: hsl(var(--rstudio-white-hsl));--rstudio-white-transparent: hsl(var(--rstudio-white-hsl) / .9);--grey: hsl(211 19% 70%);--light-grey: #e9edf3;--dark-grey: hsl(211 19% 50%);--divider-color: #a5b3c2;--icon-color: #76838f;--background-grey: var(--light-grey);--header-grey: var(--grey);--red: rgb(250, 83, 22);--font-color: hsl(214 9% 15%);--font-color-disabled: hsl(214 9% 15% / .5);--font-size: 13px;--selected-outline-color: var(--rstudio-blue);--selected-outline-width: 3px;--selected-outline: var(--selected-outline-width) solid var(--selected-outline-color);--outline-color: var(--grey);--disabled-color: hsl(var(--rstudio-grey-hsl) / .5);--disabled-outline: 1px solid hsl(var(--rstudio-grey-hsl) / .15);--corner-radius: 8px;--vertical-spacing: 10px;--horizontal-spacing: 15px;--animation-speed: .2s;--animation-curve: ease-in-out;--outline: 1px solid var(--outline-color);--input-height: 23px;--input-vertical-padding: 1px;--input-horizontal-padding: 5px;--fonts: "Lucida Sans", "DejaVu Sans", "Lucida Grande", "Segoe UI", -apple-system, BlinkMacSystemFont, Verdana, Helvetica, sans-serif;--mono-fonts: Consolas, "Lucida Console", Monaco, monospace;--shadow-color: 0deg 0% 13%;--shadow-elevation-medium: .3px .5px .7px hsl(var(--shadow-color) / .36), .8px 1.6px 2px -.8px hsl(var(--shadow-color) / .36), 2.1px 4.1px 5.2px -1.7px hsl(var(--shadow-color) / .36), 5px 10px 12.6px -2.5px hsl(var(--shadow-color) / .36);--size-xs: 4px;--size-sm: 8px;--size-md: 12px;--size-lg: 20px;--size-xl: 28px}*{box-sizing:border-box}html{height:100%}body{overflow:hidden}body,input{font-family:var(--fonts);line-height:1.5;color:var(--font-color);margin:0;font-size:var(--font-size)}input{height:var(--input-height)}h1,h2,h3{margin:0;color:var(--rstudio-grey)}.disable-text-selection *{user-select:none}button{border:none;background:none;cursor:pointer}h1,h2,h3{font-weight:unset;line-height:unset}code{color:unset;font-family:unset;font-size:unset}dialog::backdrop{backdrop-filter:blur(2px)}[data-is-selected-node=true]{position:relative}[data-is-selected-node=true]:before{content:"";position:absolute;inset:0;outline:var(--selected-outline);pointer-events:none;border-radius:inherit}._button_1y00r_1{--background-color: var(--rstudio-white);--text-color: var(--font-color);--outline-color: transparent;--outline-width: 1px;padding:.5rem 1rem;border:var(--outline-width) solid var(--outline-color);background-color:var(--background-color);color:var(--text-color);border-radius:var(--corner-radius);align-self:center;display:inline-flex;align-items:center;justify-content:center;gap:4px}._button_1y00r_1:disabled{--text-color: var(--font-color-disabled);cursor:not-allowed}._regular_1y00r_26{--outline-color: var(--rstudio-blue)}._delete_1y00r_30{--outline-color: var(--red)}._icon_1y00r_34{--outline-width: 0px;display:inline-grid;place-content:center;padding:8px;aspect-ratio:1}._transparent_1y00r_42{--outline-color: transparent;--background-color: transparent}._container_1og9v_1{position:relative;height:100%;width:100%;display:grid;place-content:center}._container_1og9v_1>button{width:fit-content;font-size:3rem;justify-self:center}:root{--balloon-border-radius: 2px;--balloon-color: rgba(16,16,16,.95);--balloon-text-color: #fff;--balloon-font-size: 12px;--balloon-move: 4px}button[aria-label][data-balloon-pos]{overflow:visible}[aria-label][data-balloon-pos]{position:relative;cursor:pointer}[aria-label][data-balloon-pos]:after{opacity:0;pointer-events:none;transition:all .18s ease-out .18s;text-indent:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-weight:400;font-style:normal;text-shadow:none;font-size:var(--balloon-font-size);background:var(--balloon-color);border-radius:2px;color:var(--balloon-text-color);border-radius:var(--balloon-border-radius);content:attr(aria-label);padding:.5em 1em;position:absolute;white-space:nowrap;z-index:10}[aria-label][data-balloon-pos]:before{width:0;height:0;border:5px solid transparent;border-top-color:var(--balloon-color);opacity:0;pointer-events:none;transition:all .18s ease-out .18s;content:"";position:absolute;z-index:10}[aria-label][data-balloon-pos]:hover:before,[aria-label][data-balloon-pos]:hover:after,[aria-label][data-balloon-pos][data-balloon-visible]:before,[aria-label][data-balloon-pos][data-balloon-visible]:after,[aria-label][data-balloon-pos]:not([data-balloon-nofocus]):focus:before,[aria-label][data-balloon-pos]:not([data-balloon-nofocus]):focus:after{opacity:1;pointer-events:none}[aria-label][data-balloon-pos].font-awesome:after{font-family:FontAwesome,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}[aria-label][data-balloon-pos][data-balloon-break]:after{white-space:pre}[aria-label][data-balloon-pos][data-balloon-break][data-balloon-length]:after{white-space:pre-line;word-break:break-word}[aria-label][data-balloon-pos][data-balloon-blunt]:before,[aria-label][data-balloon-pos][data-balloon-blunt]:after{transition:none}[aria-label][data-balloon-pos][data-balloon-pos=up]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=up][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-pos=down]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=down][data-balloon-visible]:after{transform:translate(-50%)}[aria-label][data-balloon-pos][data-balloon-pos=up]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=up][data-balloon-visible]:before,[aria-label][data-balloon-pos][data-balloon-pos=down]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=down][data-balloon-visible]:before{transform:translate(-50%)}[aria-label][data-balloon-pos][data-balloon-pos*=-left]:after{left:0}[aria-label][data-balloon-pos][data-balloon-pos*=-left]:before{left:5px}[aria-label][data-balloon-pos][data-balloon-pos*=-right]:after{right:0}[aria-label][data-balloon-pos][data-balloon-pos*=-right]:before{right:5px}[aria-label][data-balloon-pos][data-balloon-po*=-left]:hover:after,[aria-label][data-balloon-pos][data-balloon-po*=-left][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-pos*=-right]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos*=-right][data-balloon-visible]:after{transform:translate(0)}[aria-label][data-balloon-pos][data-balloon-po*=-left]:hover:before,[aria-label][data-balloon-pos][data-balloon-po*=-left][data-balloon-visible]:before,[aria-label][data-balloon-pos][data-balloon-pos*=-right]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos*=-right][data-balloon-visible]:before{transform:translate(0)}[aria-label][data-balloon-pos][data-balloon-pos^=up]:before,[aria-label][data-balloon-pos][data-balloon-pos^=up]:after{bottom:100%;transform-origin:top;transform:translateY(var(--balloon-move))}[aria-label][data-balloon-pos][data-balloon-pos^=up]:after{margin-bottom:10px}[aria-label][data-balloon-pos][data-balloon-pos=up]:before,[aria-label][data-balloon-pos][data-balloon-pos=up]:after{left:50%;transform:translate(-50%,var(--balloon-move))}[aria-label][data-balloon-pos][data-balloon-pos^=down]:before,[aria-label][data-balloon-pos][data-balloon-pos^=down]:after{top:100%;transform:translateY(calc(var(--balloon-move) * -1))}[aria-label][data-balloon-pos][data-balloon-pos^=down]:after{margin-top:10px}[aria-label][data-balloon-pos][data-balloon-pos^=down]:before{width:0;height:0;border:5px solid transparent;border-bottom-color:var(--balloon-color)}[aria-label][data-balloon-pos][data-balloon-pos=down]:after,[aria-label][data-balloon-pos][data-balloon-pos=down]:before{left:50%;transform:translate(-50%,calc(var(--balloon-move) * -1))}[aria-label][data-balloon-pos][data-balloon-pos=left]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=left][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-pos=right]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=right][data-balloon-visible]:after{transform:translateY(-50%)}[aria-label][data-balloon-pos][data-balloon-pos=left]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=left][data-balloon-visible]:before,[aria-label][data-balloon-pos][data-balloon-pos=right]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=right][data-balloon-visible]:before{transform:translateY(-50%)}[aria-label][data-balloon-pos][data-balloon-pos=left]:after,[aria-label][data-balloon-pos][data-balloon-pos=left]:before{right:100%;top:50%;transform:translate(var(--balloon-move),-50%)}[aria-label][data-balloon-pos][data-balloon-pos=left]:after{margin-right:10px}[aria-label][data-balloon-pos][data-balloon-pos=left]:before{width:0;height:0;border:5px solid transparent;border-left-color:var(--balloon-color)}[aria-label][data-balloon-pos][data-balloon-pos=right]:after,[aria-label][data-balloon-pos][data-balloon-pos=right]:before{left:100%;top:50%;transform:translate(calc(var(--balloon-move) * -1),-50%)}[aria-label][data-balloon-pos][data-balloon-pos=right]:after{margin-left:10px}[aria-label][data-balloon-pos][data-balloon-pos=right]:before{width:0;height:0;border:5px solid transparent;border-right-color:var(--balloon-color)}[aria-label][data-balloon-pos][data-balloon-length]:after{white-space:normal}[aria-label][data-balloon-pos][data-balloon-length=small]:after{width:80px}[aria-label][data-balloon-pos][data-balloon-length=medium]:after{width:150px}[aria-label][data-balloon-pos][data-balloon-length=large]:after{width:260px}[aria-label][data-balloon-pos][data-balloon-length=xlarge]:after{width:380px}@media screen and (max-width: 768px){[aria-label][data-balloon-pos][data-balloon-length=xlarge]:after{width:90vw}}[aria-label][data-balloon-pos][data-balloon-length=fit]:after{width:100%}._container_1w66f_1{position:relative;height:100%;width:100%;min-width:0;background-color:var(--rstudio-white, white);--card-padding: 6px;isolation:isolate}._container_1w66f_1._full_screen_mode_1w66f_13{--pad: 10px;width:unset;height:unset;position:absolute;top:calc(var(--header-height) + var(--pad));left:calc(var(--elements-palette-width) + var(--pad));right:calc(var(--properties-panel-width) + var(--pad));bottom:var(--pad);z-index:20}._full_screen_button_container_1w66f_25{position:absolute;--inset-amt: var(--size-xs);z-index:10;right:var(--inset-amt)}._full_screen_button_container_1w66f_25[data-is-full-screen=false]{bottom:var(--inset-amt)}._full_screen_button_container_1w66f_25[data-is-full-screen=false]>button{transform:scale(0);transition:transform .05s ease-in}._container_1w66f_1:hover ._full_screen_button_container_1w66f_25[data-is-full-screen=false]>button{transform:scale(1)}._full_screen_button_container_1w66f_25[data-is-full-screen=false]>button{background-color:var(--dark-grey);color:var(--rstudio-white);padding:var(--size-sm);border-radius:50%}._full_screen_button_container_1w66f_25[data-is-full-screen=true]{bottom:calc(100% + var(--inset-amt))}._full_screen_button_container_1w66f_25[data-is-full-screen=true]>button{padding-inline:var(--size-sm);padding-block:var(--size-xs)}._full_screen_button_container_1w66f_25 svg{fill:currentColor;height:1em;width:1em}._card_holder_1w66f_69{position:relative;height:100%;width:100%;min-height:30px}._card_contents_holder_1w66f_76{inset:0;overflow:auto}._tooltip_base_w63jb_1{--tooltip-bg-color: var(--rstudio-white);border-radius:var(--corner-radius);background-color:var(--tooltip-bg-color);filter:drop-shadow(1px 1px 4px hsl(0deg 0% 0% / .25));padding:5px}._popoverMarkdown_w63jb_10{max-width:300px}._popoverMarkdown_w63jb_10 p:last-of-type{margin-bottom:0}._popoverMarkdown_w63jb_10 code{font-family:var(--mono-fonts)}._container_valbi_1{--inset: var(--size-md);height:calc(100% - var(--inset) * 2);width:calc(100% - var(--inset) * 2);margin:var(--inset);padding:var(--size-md);display:flex;flex-direction:column;gap:var(--size-md);overflow:auto}._header_valbi_14{color:var(--red);font-size:1.5rem}._information_valbi_19{margin-block:var(--size-sm);font-style:italic}._error_msg_valbi_24{display:block;background-color:var(--light-grey);color:var(--red);font-family:monospace;padding:var(--size-sm)}._actions_valbi_32{margin-block-start:auto;display:flex;justify-content:center;gap:var(--size-sm);flex-wrap:wrap}.can-accept-drop{--start-opacity: .1;--end-opacity: .5;position:relative;background-color:var(--red);opacity:.2;animation-duration:3s;animation-name:pulse;animation-timing-function:ease-in-out;animation-iteration-count:infinite}.can-accept-drop:after{content:"";position:absolute;inset:0;text-align:center;display:grid;place-content:center;overflow:hidden;color:var(--rstudio-white)}@keyframes pulse{0%{opacity:var(--start-opacity)}50%{opacity:var(--end-opacity)}to{opacity:var(--start-opacity)}}div.can-accept-drop.hovering-over{--start-opacity: 1;--end-opacity: 1;z-index:10}div.can-accept-drop.hovering-over:after{content:"release to add"}._card_body_fill_bahaw_1{--inset-amount: var(--size-sm, 10px);margin:var(--inset-amount);padding:calc(var(--bs-card-spacer-y) - var(--inset-amount)) calc(var(--bs-card-spacer-x) - var(--inset-amount));height:100%;min-width:0;min-height:0;isolation:isolate;position:relative}._card_children_container_bahaw_17{display:flex;flex-direction:column;padding:3px;height:100%;overflow:auto}._card_children_container_bahaw_17>[aria-label="shiny::plotOutput"],._card_children_container_bahaw_17>[aria-label="DT::DTOutput"],._card_children_container_bahaw_17>[aria-label="plotly::plotlyOutput"]{flex:1}._empty_msg_bahaw_34{position:absolute;display:grid;place-content:center;inset:0;pointer-events:none}._drop_watcher_bahaw_42{display:none;width:100%;height:0;--active-target-height: 15px}._drop_watcher_bahaw_42.can-accept-drop{display:block;color:var(--rstudio-white);min-height:var(--active-target-height);flex-basis:var(--active-target-height)}._drop_watcher_bahaw_42:last-of-type{flex:1;height:unset}._missing_card_element_bahaw_66:not(:has(.can-accept-drop)){height:0;padding:0;opacity:0;overflow:hidden}._missing_card_element_bahaw_66:has(.can-accept-drop){height:auto}._drop_watcher_bahaw_42.can-accept-drop,._missing_card_element_bahaw_66:has(.can-accept-drop){transition-property:height flex-grow flex;transition-duration:.1s;transition-timing-function:ease-in}._card_body_fill_bahaw_1>._card_children_container_bahaw_17 div.can-accept-drop.hovering-over:after{content:"Add to card body"}._card_footer_bahaw_91>._card_children_container_bahaw_17 div.can-accept-drop.hovering-over:after{content:"Add to card footer"}._card_header_bahaw_97>._card_children_container_bahaw_17 div.can-accept-drop.hovering-over:after{content:"Add to card header"}.dtDTOutput{position:relative;height:100%;width:100%;padding:14px}.dtDTOutput .faux-table{border-radius:var(--corner-radius);outline:1px solid var(--rstudio-grey);overflow:hidden;height:var(--table-h, 100%);width:var(--table-w, 100%);position:relative}.dtDTOutput .faux-table .faux-header{background-color:#d3dbe9;padding:5px}.dtDTOutput .faux-table .faux-table-body{overflow:hidden;display:flex;flex-direction:column;height:100%}.dtDTOutput .faux-table .faux-table-body .faux-row{flex-basis:18px;flex-grow:1;flex-shrink:0;display:flex;flex-direction:row;--spacing: 2px;gap:var(--spacing);margin-block-start:var(--spacing)}.dtDTOutput .faux-table .faux-table-body .faux-row .faux-cell{flex:1;background-color:var(--cell-color, pink);outline:1px solid white;color:transparent}.dtDTOutput .faux-table .faux-table-body .faux-row:nth-child(even){--cell-color: #d3dbe9}.dtDTOutput .faux-table .faux-table-body .faux-row:nth-child(odd){--cell-color: hsl(218, 33%, 97%)}._hoveringOverSwap_l95oj_1,._availableToSwap_l95oj_2{--highlight-color: var(--rstudio-blue, pink)}div._hoveringOverSwap_l95oj_1:before{content:"Swap " attr(data-swap-with) " with " attr(data-grid-area);position:absolute;background-color:var(--highlight-color);color:var(--rstudio-white);bottom:100%;inset-inline:20px;z-index:2;text-align:center;padding-block:4px;pointer-events:none}div._availableToSwap_l95oj_2{--outline-start-width: 2px;--outline-end-width: 5px;--start-shadow: inset 0px 0 0px var(--outline-start-width) var(--highlight-color);--end-shadow: inset 0px 0 0px var(--outline-end-width) var(--highlight-color);opacity:1;box-shadow:var(--start-shadow);animation-duration:3s;animation-name:_pulse_l95oj_1;animation-timing-function:ease-in-out;animation-iteration-count:infinite}div._availableToSwap_l95oj_2._hoveringOverSwap_l95oj_1{z-index:2}@keyframes _pulse_l95oj_1{0%{box-shadow:var(--start-shadow)}50%{box-shadow:var(--end-shadow)}to{box-shadow:var(--start-shadow)}}div._emptyGridCard_l95oj_52{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:var(--vertical-spacing);z-index:2;pointer-events:none}div._emptyGridCard_l95oj_52>button{pointer-events:initial}._emptyMessage_l95oj_69{font-style:italic;opacity:.5}._container_1rlbk_1{max-height:100%}._plotPlaceholder_1rlbk_5{--pad: 15px;--label-height: 30px;--plot-offset: calc(2 * var(--pad) + var(--label-height));padding:var(--pad);height:100%;max-height:100%;display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;background-color:var(--light-grey)}._plotPlaceholder_1rlbk_5 ._label_1rlbk_19{height:var(--label-height);line-height:var(--label-height)}._plotPlaceholder_1rlbk_5>svg{margin-inline:auto}._gridCardPlot_1a94v_1{background-color:var(--rstudio-white);width:100%;height:100%;max-width:100%;max-height:100%;position:relative}._gridCardPlot_1a94v_1>h1{font-size:2rem}img._icon_1467k_1{height:30px;display:block}._textPanel_7ayjk_1{background-color:var(--rstudio-white);width:100%;height:100%;position:relative}._textPanel_7ayjk_1>h1{font-size:2rem}._text_holder_7ayjk_12{padding:1rem;display:grid;align-items:center;height:100%;overflow:auto}._marker_mumaw_1{font-weight:lighter;font-style:italic;padding:2px;position:relative;pointer-events:none;z-index:1}._marker_mumaw_1:hover{outline:2px solid var(--rstudio-blue)}._marker_mumaw_1:not(.dragging){grid-area:var(--grid-area)}._marker_mumaw_1.dragging{pointer-events:all;grid-row-start:var(--drag-grid-row-start);grid-row-end:var(--drag-grid-row-end);grid-column-start:var(--drag-grid-column-start);grid-column-end:var(--drag-grid-column-end);background-color:var(--rstudio-blue-transparent)}._dragger_mumaw_32{--dragger-short: 12px;--dragger-aspect: 2;--dragger-long: calc(var(--dragger-short) * var(--dragger-aspect));--offset-long: calc(50% - var(--dragger-long) / 2);display:grid;place-content:center;position:absolute;opacity:.2;background-color:var(--rstudio-blue);color:var(--rstudio-white);pointer-events:auto}._dragger_mumaw_32:hover{opacity:1}._dragger_mumaw_32._move_mumaw_52{height:var(--dragger-long);width:var(--dragger-long);left:var(--offset-long);top:var(--offset-long);cursor:grab}._dragger_mumaw_32.up,._dragger_mumaw_32.down{height:var(--dragger-short);width:var(--dragger-long);left:var(--offset-long);cursor:ns-resize}._dragger_mumaw_32.right,._dragger_mumaw_32.left{width:var(--dragger-short);height:var(--dragger-long);top:var(--offset-long);cursor:ew-resize}._dragger_mumaw_32.up{top:0}._dragger_mumaw_32.down{bottom:0}._dragger_mumaw_32.right{right:0}._dragger_mumaw_32.left{left:0}._ResizableGrid_i4cq9_1{--grid-gap: 5px;--grid-pad: var(--pad, 10px);height:100%;width:100%;min-height:80px;min-width:400px;display:grid;padding:var(--grid-pad);gap:var(--grid-gap);position:relative;isolation:isolate}._ResizableGrid_i4cq9_1>*{min-width:0;min-height:0}div#_size-detection-cell_i4cq9_1{width:100%;height:100%;grid-row:1/-1;grid-column:1/-1}._infoIcon_15ri6_1{width:24px;color:var(--rstudio-blue);background-color:transparent;font-size:19px;display:grid;place-content:center}._container_15ri6_10{width:min(100%,max-content);padding:4px}._header_15ri6_15{border-bottom:1px solid var(--divider-color, pink);margin-bottom:3px;padding-bottom:3px}._info_15ri6_1{display:grid;grid-template-columns:auto auto;gap:4px}._unit_15ri6_27{text-align:end;font-weight:700}._description_15ri6_31{font-style:italic}._wrapper_3jy8f_1{position:relative;display:flex;max-width:135px;padding-block:2px;gap:2px}._unitSelector_3jy8f_9{--dropdown-width: 13px;height:22px;width:48px;text-align:center;padding-block:0px;padding-inline:2px var(--dropdown-width);border:1px solid var(--light-grey);border-radius:var(--corner-radius);position:relative;appearance:none;background-color:var(--rstudio-white);background-image:url(data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2210%22%20viewBox%3D%220%200%2018%2010%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.87703%209.38397L15.929%202.59828H1.82511L8.87703%209.38397Z%22%20fill%3D%22%2375A8DB%22%2F%3E%3C%2Fsvg%3E%0A);background-size:var(--dropdown-width);background-repeat:no-repeat;background-position:right}.NumberInput{--increment-btn-w: 20px;height:var(--input-height);width:100%;position:relative}.NumberInput input{width:100%;-moz-appearance:textfield;padding-inline-end:var(--increment-btn-w)}.NumberInput input::-webkit-inner-spin-button,.NumberInput input::-webkit-outer-spin-button{-webkit-appearance:none}.NumberInput .incrementer-buttons{position:absolute;inset-block:0;inset-inline-end:0;display:inline-grid;grid-template-areas:"up " "down";grid-template-rows:50% 50%}.NumberInput .incrementer-buttons .up-button,.NumberInput .incrementer-buttons .down-button{position:relative;--shift-to-center: 2px;width:var(--increment-btn-w);font-size:10px}.NumberInput .incrementer-buttons .up-button svg,.NumberInput .incrementer-buttons .down-button svg{display:block;position:absolute;inset-inline-end:6px;inset-block:0px}.NumberInput .incrementer-buttons .up-button{grid-area:up;translate:0px var(--shift-to-center)}.NumberInput .incrementer-buttons .down-button{translate:0px calc(-1 * var(--shift-to-center));grid-area:down}.NumberInput[aria-disabled=true]{cursor:default}.NumberInput[aria-disabled=true] .incrementer-buttons{display:none}.NumberInput[aria-disabled=true] input[type=number]{color:transparent;cursor:inherit}._tractInfoDisplay_cvtwo_1{--transition-delay: .1s;--transition-speed: .1s;--transition-ease: ease-in-out;--expand-transition: none;--offset: calc(-1 * var(--grid-pad));--scale: 0;--size-widget-bg-color: hsla(220, 27%, 94%, .9);--size-widget-spacing: 5px;--add-button-diameter: 19px;--add-button-color: var(--icon-color);--delete-button-height: 20px;position:relative;z-index:1;isolation:isolate;grid-column:1;grid-row:1}._tractInfoDisplay_cvtwo_1:focus-within,._tractInfoDisplay_cvtwo_1:hover{--scale: 100%;--expand-transition: transform var(--transition-speed) var(--transition-ease) var(--transition-delay);z-index:3}._tractInfoDisplay_cvtwo_1[data-drag-dir=rows]{grid-row:var(--tract-index);margin-left:var(--offset);width:fit-content}._tractInfoDisplay_cvtwo_1[data-drag-dir=cols]{grid-column:var(--tract-index);margin-top:var(--offset);height:fit-content}._sizeWidget_cvtwo_61{position:absolute;transition:var(--expand-transition);padding:2px;display:flex;align-items:center;gap:var(--size-widget-spacing);background-color:var(--size-widget-bg-color);height:100%;width:100%}._tractInfoDisplay_cvtwo_1[data-drag-dir=rows]>._sizeWidget_cvtwo_61{width:fit-content;border-radius:0 var(--corner-radius) var(--corner-radius) 0;transform:scaleX(var(--scale));transform-origin:left;padding-right:var(--size-widget-spacing)}._cssSizeInput_cvtwo_80{width:120px;display:flex}._tractInfoDisplay_cvtwo_1[data-drag-dir=cols]>._sizeWidget_cvtwo_61{height:fit-content;flex-direction:column;border-radius:0 0 var(--corner-radius) var(--corner-radius);transform:scaleY(var(--scale));transform-origin:top;padding-bottom:var(--size-widget-spacing)}._hoverListener_cvtwo_94{position:absolute;--thickness: calc(2 * var(--grid-pad));--offset: calc(-1 * var(--grid-pad));inset:calc(4px - var(--grid-pad))}._tractInfoDisplay_cvtwo_1[data-drag-dir=rows] ._hoverListener_cvtwo_94{width:var(--thickness);left:var(--offset)}._tractInfoDisplay_cvtwo_1[data-drag-dir=cols] ._hoverListener_cvtwo_94{height:var(--thickness);top:var(--offset)}._buttons_cvtwo_114{display:flex;justify-content:space-between}._tractInfoDisplay_cvtwo_1[data-drag-dir=cols] ._buttons_cvtwo_114{width:100%;flex-direction:row}._tractInfoDisplay_cvtwo_1[data-drag-dir=rows] ._buttons_cvtwo_114{height:100%;flex-direction:column}._tractAddButton_cvtwo_127,._deleteButton_cvtwo_128{--offset_amnt: 2px;--offset: calc(var(--offset_amnt) - var(--add-button-diameter));width:var(--add-button-diameter);height:var(--add-button-diameter);aspect-ratio:1/1;display:grid;place-content:center;border-radius:50%}._tractAddButton_cvtwo_127{background-color:var(--add-button-color);color:var(--rstudio-white)}._deleteButton_cvtwo_128{background-color:transparent;font-size:var(--delete-button-height)}._deleteButton_cvtwo_128[data-enabled=true]{color:var(--red)}._deleteButton_cvtwo_128[data-enabled=false]{color:var(--disabled-color);cursor:not-allowed}div._columnSizer_9b32k_1,div._rowSizer_9b32k_2{--sizer-color: #c9e2f3;--sizer-expansion-amnt: 1.3;--sizer-margin-offset: calc(-1 * var(--grid-gap));--sizer-thickness: 2px;--sizer-hang-over: 0px;--sizer-offset: calc(var(--grid-pad) + var(--sizer-hang-over));--sizer-length: calc(100% + var(--sizer-offset) + var(--grid-pad));--sizer-main-axis-offset: calc(-1 * var(--sizer-offset));--sizer-off-axis-offset: calc(50% - var(--sizer-thickness) / 2);z-index:-1;background-color:transparent;opacity:1;position:relative;transition:transform 1s .5s}._columnSizer_9b32k_1{grid-row:1/-1;width:var(--grid-gap);margin-left:var(--sizer-margin-offset);height:var(--sizer-length);cursor:ew-resize}._rowSizer_9b32k_2{grid-column:1/-1;height:var(--grid-gap);margin-top:var(--sizer-margin-offset);width:var(--sizer-length);cursor:ns-resize}div._columnSizer_9b32k_1:after,div._rowSizer_9b32k_2:after{content:"";position:absolute;background-color:var(--sizer-color)}div._columnSizer_9b32k_1:after{height:100%;width:var(--sizer-thickness);left:var(--sizer-off-axis-offset);top:var(--sizer-main-axis-offset)}div._rowSizer_9b32k_2:after{width:100%;height:var(--sizer-thickness);top:var(--sizer-off-axis-offset);left:var(--sizer-main-axis-offset)}._columnSizer_9b32k_1:hover,._rowSizer_9b32k_2:hover{transition:transform 0s}._columnSizer_9b32k_1:hover{transform:scaleX(var(--sizer-expansion-amnt))}._rowSizer_9b32k_2:hover{transform:scaleY(var(--sizer-expansion-amnt))}.SUE-SettingsInput{display:block;margin-block:var(--vertical-spacing-top) var(--vertical-spacing-bottom);width:100%;max-width:100%;padding-inline:2px}.SUE-SettingsInput .info{display:flex;gap:5px;margin-bottom:4px;height:20px}.SUE-SettingsInput .info input[type=checkbox]{translate:0px -1px}.SUE-SettingsInput [data-unset=true]{color:var(--disabled-color)}.SUE-SettingsInput input,.SUE-SettingsInput .unset-input{display:block}.SUE-SettingsInput .missing-required-argument-message{color:var(--red, orangered)}.SUE-SettingsInput .mismatched-argument-types{color:var(--dark-grey, pink)}.SUE-SettingsInput .unset-argument{color:var(--dark-grey, pink);text-align:center;background-color:var(--rstudio-white);opacity:.7}.SUE-SettingsInput .SUE-Input{width:100%}.SUE-SettingsInput label:after{content:":"}._checkboxInput_7ym3w_1{height:0;width:0;visibility:hidden;position:absolute}label._checkboxLabel_7ym3w_10{--height: 30px;--aspect-ratio: 2.8;--animation-speed: .2s;--toggle-inset: 2px;--on-color: var(--rstudio-blue, pink);--off-color: var(--grey);--width: calc(var(--height) * var(--aspect-ratio));--toggle-h: calc(var(--height) - var(--toggle-inset) * 2);--toggle-w: calc(var(--width) * .5);font-size:12px;cursor:pointer;color:transparent;width:var(--width);height:var(--height);border-radius:var(--corner-radius);background:var(--off-color);display:block;position:relative;margin-inline:4px}label._checkboxLabel_7ym3w_10:after{content:attr(data-value);color:var(--dark-grey);text-align:center;position:absolute;display:grid;place-content:center;top:var(--toggle-inset);left:var(--toggle-inset);width:var(--toggle-w);height:var(--toggle-h);border-radius:calc(var(--corner-radius) - var(--toggle-inset));background:var(--rstudio-white);transition:var(--animation-speed)}._checkboxInput_7ym3w_1:checked+._checkboxLabel_7ym3w_10{background:var(--on-color)}._checkboxInput_7ym3w_1:checked+._checkboxLabel_7ym3w_10:after{left:calc(100% - var(--toggle-inset));transform:translate(-100%)}._checkboxLabel_7ym3w_10:active:after{width:calc(var(--toggle-w) * 1.2)}._container_xt7ji_1{--gap-size: 4px;margin-top:21px}._list_xt7ji_6{width:fit-content;display:flex;flex-direction:column;align-items:center;margin-block:calc(2 * var(--gap-size));--border: 1px solid var(--grey)}._item_xt7ji_15{width:100%;display:grid;grid-template-columns:15px 1fr auto 1fr 15px;grid-template-areas:"drag key colon value delete";gap:var(--gap-size);align-items:center;padding:var(--gap-size)}._item_xt7ji_15.sortable-chosen{outline:2px solid var(--rstudio-blue)}._keyField_xt7ji_29{grid-area:key;min-width:0}._valueField_xt7ji_34{grid-area:value;min-width:0}._header_xt7ji_39{margin-top:-5px;margin-bottom:-5px;text-align:center}._dragHandle_xt7ji_45{grid-area:drag;cursor:ns-resize;transform:translateY(2px)}._item_xt7ji_15 svg{width:16px}._deleteButton_xt7ji_55{grid-area:delete;--offset: 4px;background-color:transparent;transform:translate(-2px,-2px);outline:none}._addItemButton_xt7ji_65{color:var(--icon-color);font-size:14px;padding:4px;transform:translateY(-2px)}._separator_xt7ji_72{transform:translateY(-1px)}._deleteButton_xt7ji_55:hover>svg{stroke-width:3}.OptionsDropdown{border-radius:var(--corner-radius);padding:2px 5px;width:100%}._radioContainer_ow37t_1{display:grid;gap:5px;justify-content:space-around;align-content:center;border:none;max-width:100%;min-width:0;grid-template-columns:repeat(auto-fill,minmax(40px,auto));padding:0}._option_ow37t_15{height:25px;width:100%}._option_ow37t_15>._radioInput_ow37t_22{display:none}._radioLabel_ow37t_26{display:flex;justify-content:center;align-items:center;border:1px solid var(--light-grey);border-radius:var(--corner-radius);background-color:var(--rstudio-white);max-height:105px;height:100%;padding:2px;color:var(--rstudio-blue);position:relative}._icon_ow37t_41{height:100%;display:block}._radioLabel_ow37t_26 svg{height:1.65rem;padding:1px;font-size:1.6rem}._radioInput_ow37t_22:checked+._radioLabel_ow37t_26{outline:3px solid var(--rstudio-blue);outline-offset:-2px;font-weight:700}._radioInput_ow37t_22:hover:not(:checked)+._radioLabel_ow37t_26{outline:2px solid var(--rstudio-blue)}._radioInput_ow37t_22:hover+._radioLabel_ow37t_26:after,._radioInput_ow37t_22:hover+._radioLabel_ow37t_26 ._icon_ow37t_41{transition-property:opacity;transition-duration:1.5s;transition-delay:.15s}._radioInput_ow37t_22+._radioLabel_ow37t_26:after{content:attr(data-name);opacity:0;position:absolute;pointer-events:none}._radioInput_ow37t_22:hover+._radioLabel_ow37t_26:after{transition-timing-function:ease-in;opacity:1}._radioInput_ow37t_22:hover+._radioLabel_ow37t_26 ._icon_ow37t_41{transition-timing-function:ease-out;opacity:0}._EditorSkeleton_18fvc_1{--padding: var(--horizontal-spacing);width:100%;height:calc(100% - var(--header-height));display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:1fr auto;grid-template-areas:"elements editor properties" "elements editor preview"}._app_view_18fvc_14{grid-area:editor;z-index:2;background-color:var(--rstudio-white);padding:32px;height:100%;width:100%;position:relative}._elements_panel_18fvc_28{grid-area:elements;z-index:3}._properties_panel_18fvc_33{grid-area:properties;z-index:4}._app_preview_18fvc_38{grid-area:preview;z-index:5}._properties_panel_18fvc_33,._app_preview_18fvc_38{max-width:var(--properties-panel-width);width:var(--properties-panel-width)}._properties_panel_18fvc_33:empty,._app_preview_18fvc_38:empty{display:none}._EditorSkeleton_18fvc_1>div{outline:1px solid var(--header-grey);min-width:0;min-height:0;isolation:isolate}._panel_18fvc_63{display:grid;grid-template-rows:var(--header-height) 1fr;background-color:var(--background-grey);isolation:isolate}._panel_18fvc_63>*{min-width:0}._panel_title_18fvc_74{text-align:center;line-height:var(--header-height);background-color:var(--header-grey);font-size:1.05rem;font-weight:lighter;color:var(--rstudio-white)}._portalHolder_18ua3_1{background-color:#fffb;position:absolute;inset:0;display:grid;place-content:center;z-index:2}._portalModal_18ua3_11{outline:1px solid grey;width:450px;background-color:var(--rstudio-white);display:flex;flex-direction:column;border-radius:var(--corner-radius);overflow:scroll}._title_18ua3_21{padding:8px}._body_18ua3_25{flex-grow:1;padding:1rem}._portalForm_18ua3_30{display:flex;flex-direction:column}._portalFormInputs_18ua3_35{flex-grow:1;display:flex;justify-content:center;flex-direction:column}._portalFormFooter_18ua3_42{padding-top:1rem;display:flex;justify-content:space-around}._validationMsg_18ua3_48{color:var(--red);font-style:italic}._infoText_18ua3_53{font-style:italic}._container_1hvsg_1{display:grid;outline:var(--outline);position:relative;height:100%;width:100%}.PlotPlaceholder{container-type:size;height:100%}.PlotPlaceholder .plot{padding:5px;--x-axis-padding: 4px;--y-axis-padding: 7px;--axis-color: var(--grey);--axis-border: 2px solid var(--axis-color);--x-axis-border: var(--axis-border);--y-axis-border: var(--axis-border);--main-color: var(--rstudio-blue);--hover-color: hsl( var(--rstudio-blue-h) var(--rstudio-blue-s) calc(var(--rstudio-blue-l) * .8) );--bar-spacing: 5px;--bar-roundness: 5px;display:flex;flex-direction:column;height:100%}.PlotPlaceholder .plot .title{padding-block:5px;padding-inline:10px;display:grid;align-items:center}.PlotPlaceholder .plot .title:empty{display:none}.PlotPlaceholder .plot .plot-body{flex:1;display:flex;overflow:hidden;gap:var(--bar-spacing);align-items:flex-end;padding-inline-start:var(--y-axis-padding);padding-block-end:var(--x-axis-padding);border-left:var(--y-axis-border);border-bottom:var(--x-axis-border)}.PlotPlaceholder .plot .bar{flex:1;background-color:var(--main-color);height:var(--value, "50%");border-radius:var(--bar-roundness)}.PlotPlaceholder .plot .bar:nth-child(n+8){display:none}.PlotPlaceholder .plot .bar:hover{background-color:var(--hover-color)}@container (max-width: 180px){.PlotPlaceholder .plot .bar:nth-child(n+6){display:none}}@container (min-width: 350px){.PlotPlaceholder .plot .bar:nth-child(n){display:block}}@container (max-height: 175px){.PlotPlaceholder .plot .plot-body{--y-axis-border: none;--y-axis-padding: 0}}.plotlyPlotlyOutput{position:relative;height:100%;width:100%}.plotlyPlotlyOutput .title-bar{display:flex;flex-wrap:wrap;justify-content:space-between}.plotlyPlotlyOutput .plotly-name{color:var(--rstudio-blue)}._container_tyghz_1{display:grid;grid-template-rows:1fr;grid-template-columns:1fr;place-content:center;padding:5px;max-height:100%}._container_162lp_1{position:relative;padding:4px}._container_162lp_1>input{width:100%}._container_162lp_1>label{font-weight:700}._checkbox_162lp_14{display:flex;align-items:center;gap:4px}._container_1x0tz_1{position:relative;padding:4px}._container_1x0tz_1>input{width:100%}._label_1x0tz_10{margin-left:5px}._container_10z2l_1{height:100%}._container_qbb7e_1{position:relative;height:100%;width:100%;display:flex;flex-direction:column;outline:1px solid var(--light-grey);isolation:isolate}._header_qbb7e_13{--h: 40px;background-color:var(--light-grey);display:flex;height:var(--h);flex-shrink:0}._tabContents_qbb7e_21{flex-grow:1;position:relative}._pageTitle_qbb7e_26{margin:0;padding-inline:20px;line-height:var(--h);flex-shrink:0;font-size:1rem;font-weight:700}._pageTitle_qbb7e_26:empty{display:none}._tabHolder_qbb7e_39{display:flex;flex-grow:1;align-items:flex-end}._tab_qbb7e_21{--roundness: 6px;padding-inline:6px;padding-block:2px;line-height:16px;text-align:center;height:calc(100% - 5px);border-radius:var(--roundness) var(--roundness) 0 0;background-color:var(--grey);display:grid;place-content:center;cursor:pointer;border:var(--selected-outline-width) solid transparent}._tab_qbb7e_21[data-active-tab=true]{background-color:var(--rstudio-white);border-bottom-color:var(--rstudio-white)}._tab_qbb7e_21[data-selected-tab=true]{border-color:var(--selected-outline-color);position:relative;z-index:2}._tab_qbb7e_21[data-selected-tab=true]:before{outline:none}._tab_qbb7e_21[data-selected-tab=true]:after{--s: 6px;content:"";position:absolute;width:100%;height:var(--s);background-color:var(--rstudio-white);bottom:calc(-1 * var(--s))}._tabContents_qbb7e_21{height:100%}._tabContents_qbb7e_21[data-active-tab=false]{display:none}._newTabDropDetector_qbb7e_99{display:flex;align-items:center}._addTabButton_qbb7e_104{display:grid;place-content:center;height:100%;width:100%;color:var(--rstudio-blue)}._tabDropDetector_qbb7e_112{width:var(--baseWidth);height:100%;position:relative;transition:width .1s ease-in-out}._tabDropDetector_qbb7e_112.can-accept-drop{width:calc(var(--baseWidth) * 2)}._container_fe3r8_1{position:relative;height:100%;width:100%;padding:5px}._emptyTabPanelDropDetector_fe3r8_8{width:100%;height:100%}._noTabsMessage_130qz_1{padding:5px}._container_sgn7c_1{position:relative;padding:4px}._container_sgn7c_1>input{width:100%}._container_sgn7c_1>label{font-weight:700}._container_1e5dd_1{position:relative;padding:4px}._container_1e5dd_1>input{width:100%}._container_1e5dd_1>label{font-weight:700}._container_1e5dd_1>select{display:block;width:100%;height:40px}._container_1f2js_1{padding:6px;--tract-thickness: 12px;--handle-diameter: 17px;--tract-color: var(--rstudio-blue);--handle-color: var(--light-grey);--handle-outline: 1px solid var(--grey)}._sliderWrapper_1f2js_11{padding-top:var(--tract-thickness);padding-right:3px}input[type=range]._sliderInput_1f2js_16{-webkit-appearance:none;appearance:none;width:100%;height:var(--tract-thickness);background-color:var(--tract-color);padding:0;margin-top:15px;position:relative;border-radius:var(--tract-thickness)}input[type=range]._sliderInput_1f2js_16::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:var(--handle-diameter);height:var(--handle-diameter);border-radius:50%;background:var(--handle-color);outline:var(--handle-outline);cursor:pointer}._sliderInput_1f2js_16:before,._sliderInput_1f2js_16:after{position:absolute;bottom:calc(50% + var(--handle-diameter) / 2 + 2px);background-color:var(--light-grey);padding-inline:4px;padding-block:2px;font-size:12px;border-radius:2px}._sliderInput_1f2js_16:before{content:attr(data-min);left:0}._sliderInput_1f2js_16:after{content:attr(data-max);right:0}._container_yicbr_1{position:relative;padding:4px}._container_yicbr_1>input{width:100%}._container_1i6yi_1{padding:1rem;max-height:100%;background-color:var(--light-grey);border-radius:var(--corner-radius)}._container_1xnzo_1{display:grid;grid-template-rows:1fr;grid-template-columns:1fr;place-content:center;padding:1rem;max-height:100%;min-height:200px;background-color:var(--light-grey);border-radius:var(--corner-radius)}._wrapper_bjscz_1{position:relative;display:inline-block}._wrapper_bjscz_1[data-decoration=italic]{font-style:italic}._wrapper_bjscz_1[data-decoration=bold]{font-weight:700}._categoryDivider_bdwku_1{display:block;position:relative;isolation:isolate;height:var(--vertical-spacing);display:flex;align-items:center}._categoryDivider_bdwku_1>*{background-color:var(--light-grey)}._categoryDivider_bdwku_1:before{content:"";position:absolute;top:50%;left:0;width:100%;height:1px;background-color:var(--divider-color);z-index:-1;opacity:.5}.unknown-ui-function-display{--gap: 10px;width:calc(100% - var(--gap));margin:auto;height:min(100% - var(--gap),75px);padding:4px;background-color:var(--light-grey);border-radius:var(--corner-radius);position:relative;display:grid;place-content:center}.unknown-ui-function-settings .info-msg svg{color:var(--rstudio-blue);margin-right:4px;margin-bottom:-2px}.unknown-ui-function-settings .code-holder{overflow:auto;font-family:var(--mono-fonts);border:1px solid var(--rstudio-grey);background-color:var(--rstudio-white);padding:5px}._EditorContainer_1p1tb_1{--padding: var(--horizontal-spacing);background-color:var(--background-grey, #edf2f7);height:100%;width:100%;position:relative}div._appViewerHolder_zkojo_1{--app-scale-amnt: .24;--animation-speed: .25s;--animation-speed-timing: var(--animation-speed) ease;--expand-btn-size: 1rem;--logs-font-size: .65rem;--logs-padding: var(--vertical-spacing);--expanded-inset-horizontal: 70px;--expanded-inset-top: 70px;--expanded-inset-bottom: calc(70px + var(--logs-offset-expanded));--preview-inset-horizontal: 10px;--preview-inset-top: 10px;--preview-inset-bottom: calc( var(--preview-inset-top) + var(--logs-button-h) + var(--logs-offset) );--logs-button-h: 28px;--logs-offset: 0px;--logs-offset-expanded: 30px;--app-expanded-w: calc(100vw - var(--expanded-inset-horizontal) * 2);--app-expanded-h: calc( 100vh - var(--expanded-inset-top) - var(--expanded-inset-bottom) );--app-preview-w: calc(var(--app-expanded-w) * var(--app-scale-amnt));--app-preview-h: calc(var(--app-expanded-h) * var(--app-scale-amnt));height:calc(var(--app-preview-h) + var(--preview-inset-top) + var(--preview-inset-bottom));position:relative;overflow:hidden}._title_zkojo_55{position:relative}._appViewerHolder_zkojo_1[data-expanded=true]{--expand-btn-size: 1.5rem;--logs-font-size: .9rem;--logs-padding: 32px;--viewer-h: 1fr;--logs-button-h: 30px;--logs-offset: 35px;position:fixed;inset:0;width:100vw;height:100vh;z-index:10;background-color:hsl(var(--rstudio-grey-hsl) / .15);backdrop-filter:blur(6px);transition:all var(--animation-speed-timing);transition-property:backdrop-filter background-color}._appContainer_zkojo_89{display:grid;place-content:center}._appViewerHolder_zkojo_1[data-expanded=false]>._appContainer_zkojo_89{position:absolute;top:var(--preview-inset-top);right:var(--preview-inset-horizontal);width:var(--app-preview-w);height:var(--app-preview-h)}._appViewerHolder_zkojo_1[data-expanded=true]>._appContainer_zkojo_89{position:absolute;inset-inline:var(--expanded-inset-horizontal);top:var(--expanded-inset-top);height:var(--app-expanded-h)}._previewFrame_zkojo_109{background-color:var(--rstudio-white);width:var(--app-expanded-w);height:var(--app-expanded-h);transform:scale(var(--app-scale-amnt));border:1px solid var(--outline-color);display:block;border-radius:2px}._appViewerHolder_zkojo_1[data-expanded=true] ._previewFrame_zkojo_109{transform:scale(1);transition:transform var(--animation-speed-timing);border:none;box-shadow:var(--shadow-elevation-medium)}._appViewerHolder_zkojo_1[data-expanded=false] ._previewFrame_zkojo_109{transition:none}._expandButton_zkojo_134,._reloadButtonContainer_zkojo_135{position:absolute;background-color:transparent;outline:none;border:none;transition-property:opacity,color,transform;transition-duration:.25s;transition-timing-function:ease-in}._reloadButtonContainer_zkojo_135{height:var(--header-height);width:var(--header-height);top:0;left:0;bottom:0}._reloadButton_zkojo_135{color:currentColor;font-size:1.5rem;height:100%;width:100%;aspect-ratio:1;background-color:transparent}._reloadButton_zkojo_135>svg{scale:-1 1}._reloadButton_zkojo_135:hover>svg{scale:-1.1 1.1}._spin_zkojo_174{animation-duration:1s;animation-name:_spin_zkojo_174}@keyframes _spin_zkojo_174{0%{rotate:0deg}to{rotate:360deg;animation-timing-function:ease-out}}._appViewerHolder_zkojo_1 ._reloadButtonContainer_zkojo_135{display:none}._expandButton_zkojo_134{width:100%;height:100%;font-size:50px;opacity:0;color:transparent}._expandButton_zkojo_134:hover{color:inherit;opacity:1;transform:scale(1.1)}._restartButton_zkojo_211{width:fit-content;margin-inline:auto}._appViewerHolder_zkojo_1[data-expanded=true] ._expandButton_zkojo_134,._appViewerHolder_zkojo_1[data-expanded=true] ._reloadButtonContainer_zkojo_135{width:var(--expanded-inset-left);height:var(--expanded-inset-top);font-size:2.5rem;opacity:1;position:fixed;top:0;display:block}._appViewerHolder_zkojo_1[data-expanded=true] ._expandButton_zkojo_134{color:inherit;right:0}._appViewerHolder_zkojo_1>h2{color:var(--rstudio-grey);text-align:center;font-style:italic}._loadingMessage_zkojo_238{display:grid;place-content:center;width:100%;height:100%;padding:1rem}._loadingMessage_zkojo_238>h2{text-align:center}h2._error_zkojo_249{color:var(--red)}._logs_xjp5l_2{--tab-height: var(--logs-button-h, 20px);--background-color: var(--rstudio-white);--outline-color: var(--rstudio-grey, red);--side-offset: 8px;position:absolute;bottom:0;left:var(--side-offset);right:var(--side-offset);top:0;grid-area:logs;isolation:isolate;transform:translateY(calc(100% - var(--tab-height) - var(--logs-offset, 0px)));transition:transform var(--animation-speed, .25s) ease-in}._logs_xjp5l_2[data-expanded=true]{transform:translateY(5px)}._logs_xjp5l_2[data-expanded=true] ._logsContents_xjp5l_25{overflow:auto}button._expandTab_xjp5l_29,._logsContents_xjp5l_25{background-color:var(--background-color)}button._expandTab_xjp5l_29{z-index:2;border-radius:var(--corner-radius) var(--corner-radius) 0 0!important;width:fit-content;height:var(--tab-height);margin-inline:auto;gap:5px;padding-inline:10px;justify-content:center;background-color:var(--background-color);outline:var(--outline);display:flex;align-items:center;position:relative}button._expandTab_xjp5l_29:after{position:absolute;content:"";width:100%;height:3px;bottom:-2px;background-color:var(--background-color)}._logsContents_xjp5l_25{z-index:1;border:var(--outline);height:calc(100% - var(--tab-height));padding:var(--logs-padding);position:relative}._clearLogsButton_xjp5l_69{outline:none;position:absolute;top:0;right:0}p._logLine_xjp5l_75{font-family:var(--mono-fonts);font-size:var(--logs-font-size);margin:0}._noLogsMsg_xjp5l_81{opacity:.8;height:100%;text-align:center;font-size:1rem}._expandedLogs_xjp5l_93 ._logsContents_xjp5l_25{overflow:auto}._expandLogsButton_xjp5l_101{flex-grow:1;text-align:center;font-size:calc(var(--logs-font-size) * 1.3);height:100%}._unseenLogsNotification_xjp5l_108{color:var(--red);right:0;opacity:0;font-size:9px}._unseenLogsNotification_xjp5l_108[data-show=true]{opacity:1;animation-duration:2s;animation-name:_slidein_xjp5l_1;animation-iteration-count:3;animation-timing-function:ease-in-out;transition:opacity 1s}@keyframes _slidein_xjp5l_1{0%{transform:scale(1)}50%{transform:scale(1.5)}to{transform:scale(1)}}._show_btn_83j0t_1{margin:var(--size-md)}._modal_83j0t_5{border:1px solid grey;background-color:var(--rstudio-white);display:flex;flex-direction:column;border-radius:var(--corner-radius);overflow:scroll;padding-block:var(--size-lg);padding-inline:var(--size-xl);max-width:800px;width:99%}._title_83j0t_18{margin-block-end:var(--size-md)}._description_83j0t_22{padding-inline-start:var(--size-md)}._code_holder_83j0t_26{max-height:70vh;overflow-y:scroll;margin-block:var(--size-sm)}._code_holder_83j0t_26>*{padding:var(--size-md);background-color:var(--light-grey)}._code_holder_83j0t_26>label{padding-block:var(--size-sm) 0;border-radius:var(--corner-radius) var(--corner-radius) 0 0;color:var(--rstudio-blue)}._footer_83j0t_43{display:flex;flex-direction:row;justify-content:flex-end;margin-block-start:var(--size-md)}.AppTemplatePreview{overflow:hidden;isolation:isolate}.AppTemplatePreview .template-container{position:relative;width:var(--full-w, 100px);height:var(--full-h, 100px);transform:scale(var(--shrink-ratio, .5));transform-origin:top left}.AppTemplatePreview .template-container:after{content:"";position:absolute;inset:0;pointer-events:all}.AppTemplateCard{--outline-color: #caced3;--outline-thickness: 1px;--footer-color: #e9edf3;--padding: var(--card-pad, 5px);cursor:pointer;outline:var(--outline-thickness) solid var(--outline-color);width:--moz-fit-content;width:fit-content;border-radius:var(--corner-radius)}.AppTemplateCard>*{padding:var(--padding)}.AppTemplateCard footer{background-color:var(--footer-color);height:calc(40px - 2 * var(--padding));display:flex;align-items:center;justify-content:space-between;border-radius:0 0 var(--corner-radius) var(--corner-radius)}.AppTemplateCard footer .layout-icon{display:block;width:42px;translate:6px 2px}.AppTemplateCard footer .layout-icon[data-type=navbarPage]{width:42px;translate:6px 1px}.AppTemplateCard[data-selected=true]{--outline-thickness: 4px;--outline-color: var(--rstudio-blue)}.TemplatePreviewGrid{display:grid;gap:53px 44px;grid-template-columns:repeat(auto-fit,var(--card-w));justify-content:center}.TemplatePreviewGrid.empty-results{height:100%;place-content:center;color:var(--red);grid-template-columns:unset;font-size:1.1rem}.TemplateChooserSidebar{width:218px;padding-block:18px;padding-inline:15px;display:flex;flex-direction:column;gap:32px}.TemplateChooserSidebar button{--inset: 5px;margin-top:auto;width:calc(100% - 2 * var(--inset));background-color:var(--rstudio-blue);color:var(--rstudio-white)}.TemplateChooserSidebar button:disabled{background-color:var(--grey);border-color:var(--grey)}.TemplateChooserSidebar legend{font-size:var(--font-size, 1rem);margin:0}.TemplateFiltersForm .layout-options{display:flex;justify-content:space-around}.labeled-form-option{display:flex;align-items:center;gap:3px}._elementsPalette_qmlez_1{--icon-size: 75px;--padding: 8px;height:100%;overflow:auto;padding:var(--padding);display:grid;align-items:start;grid-template-columns:repeat(2,var(--icon-size));justify-content:center;justify-items:center;align-content:start;gap:var(--padding)}._OptionContainer_qmlez_18{width:var(--icon-size);height:75px;position:relative}._OptionItem_qmlez_24{height:100%;border-radius:var(--corner-radius);position:absolute;inset:0;cursor:grab;text-align:center}._OptionIcon_qmlez_33{margin:-12px 0 0;display:block;width:100%;pointer-events:none}._OptionLabel_qmlez_41{margin-top:-18px;display:block;line-height:15px}._OptionItem_qmlez_24:hover{outline:var(--outline)}._OptionItem_qmlez_24:active{cursor:grabbing}._OptionItem_qmlez_24>svg{color:var(--rstudio-blue)}._deleteButton_1en02_1{color:var(--red);display:flex;align-items:center;justify-content:flex-start}._deleteButton_1en02_1>svg{font-size:1.5rem}.FormBuilder{--vertical-spacing-top: 12px;--vertical-spacing-bottom: 14px}.FormBuilder .grouped-inputs{display:grid;grid-template-columns:repeat(2,1fr);row-gap:var(--vertical-spacing-bottom);padding-block:var(--vertical-spacing-top) var(--vertical-spacing-bottom)}.FormBuilder .grouped-inputs *{margin-block:0}input{padding:var(--input-vertical-padding) var(--input-horizontal-padding);border:1px solid var(--light-grey);border-radius:var(--corner-radius)}.unknown-arguments-list .unknown-form-fields{padding-inline:3px 0;padding-block:5px 0;font-family:var(--mono-fonts)}.unknown-arguments-list .unknown-form-fields button{color:var(--red, orangered)}.unknown-arguments-list .unknown-form-fields .unknown-argument{margin-block:2px;display:flex;align-items:center;width:100%}.unknown-arguments-list .unknown-form-fields .unknown-argument button{background:transparent}.LabeledInputCategory{margin-block-end:18px}.divider-line{display:block;position:relative;isolation:isolate;display:flex}.divider-line>*{background-color:var(--light-grey)}.divider-line:before{content:"";position:absolute;top:50%;left:0;width:100%;height:1px;background-color:var(--divider-color);z-index:-1;opacity:.5}._container_1fh41_1{--flex-gap: 8px;padding:var(--vertical-spacing);display:flex;flex-direction:column;gap:var(--flex-gap);position:relative;width:fit-content;max-width:100%}._node_1fh41_12{padding:var(--input-vertical-padding) var(--input-horizontal-padding);width:100%;max-width:100%;overflow-wrap:break-word;position:relative;cursor:pointer;background-color:var(--rstudio-white);border-radius:var(--corner-radius)}._node_1fh41_12:last-child{background-color:var(--rstudio-blue);color:var(--rstudio-white)}._node_1fh41_12:before,._node_1fh41_12:after{--dot-size: 6px;--line-width: 2px;--offset: 5px;--color: var(--header-grey);content:"";position:absolute}._node_1fh41_12:after{width:var(--dot-size);height:var(--dot-size);background-color:var(--background-grey);outline-width:var(--line-width);outline-style:solid;outline-color:var(--color);border-radius:50%;left:calc(-1 * (var(--input-horizontal-padding) + var(--dot-size) / 2 + var(--offset)));top:calc(50% - var(--dot-size) / 2)}._node_1fh41_12:first-child:after{border-radius:0}._node_1fh41_12:before{background-color:var(--color);width:var(--line-width);height:calc(100% + var(--flex-gap));left:calc(-1 * (var(--input-horizontal-padding) + var(--line-width) / 2 + var(--offset)));top:calc(-1 * var(--flex-gap) / 2)}._node_1fh41_12:only-child:before{display:none}._node_1fh41_12:first-child:before,._node_1fh41_12:last-child:before{height:calc(50% + var(--flex-gap) / 2)}._node_1fh41_12:first-child:before{top:50%}._settingsPanel_a44hx_1{--vertical-gap: var(--vertical-spacing);display:flex;flex-direction:column;padding-inline:calc(var(--horizontal-spacing) - 2px);padding-block:var(--vertical-gap);height:100%}._currentElementAbout_a44hx_10{flex-shrink:0}form._settingsForm_a44hx_17{flex:1;height:100%;overflow:auto;isolation:isolate}._settingsInputs_a44hx_24{overflow:auto}._buttonsHolder_a44hx_28{margin-top:auto;background-color:var(--light-grey);padding-block:var(--vertical-gap);display:flex;flex-direction:column;justify-content:space-around;align-items:center;gap:var(--vertical-spacing)}._buttonsHolder_a44hx_28>Button{height:40px;width:100%;border:none}._validationErrorMsg_a44hx_45{padding:.5rem;color:var(--red);font-family:var(--mono-fonts)}._message_for_user_hxksa_1{height:100%;display:grid;place-content:center}._message_container_hxksa_6{background-color:var(--rstudio-white);border-radius:var(--corner-radius);border:var(--outline);width:600px;max-width:95%;padding:25px}._message_container_hxksa_6>h2{font-size:24px;margin-block-end:18px}._message_container_hxksa_6>p{margin:0;padding:0}._error_msg_hxksa_25{color:var(--red);font-family:var(--mono-fonts)}._container_1d7pe_1{display:flex;position:relative}._container_1d7pe_1>button>svg{color:var(--icon-color, silver)}._container_1d7pe_1>button{height:var(--header-height, 100%);padding:0;position:relative;font-size:2rem}._container_1d7pe_1>button:disabled{color:var(--disabled-color);opacity:.2}._shiny_logo_1exlx_1{display:inline-block;height:100%;border-radius:0 15px 15px 0;padding-block:3px;padding-inline:5px;background-color:var(--rstudio-blue)}._app_title_1exlx_10{font-size:1.15rem;color:var(--rstudio-blue)}._divider_1exlx_15{height:20px;background-color:var(--divider-color);width:2px}._header_1exlx_21{height:var(--header-height);gap:var(--padding);display:flex;justify-content:flex-start;align-items:center}._OpenSideBySideWindowButton_1exlx_29{background-color:transparent;font-size:18px;color:var(--icon-color);margin-inline:7px}._OpenSideBySideWindowButton_1exlx_29+._divider_1exlx_15{margin-inline-end:3px;margin-inline-start:6px}._header_1exlx_21 button{padding:0}._react-joyride_1exlx_46{display:none}._undo-redo-buttons_1exlx_50{transform:translate(-1px,-1px)}._right_1exlx_54{margin-left:auto;display:flex;align-items:center;justify-content:end}._divider_1exlx_15{margin-inline-end:12px;margin-inline-start:14px}._spacer_1exlx_66{height:20px}._spacer_1exlx_66._last_1exlx_70{width:58px} + */:root{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg-rgb: 255, 255, 255;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-bg: #fff;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-2xl: 2rem;--bs-border-radius-pill: 50rem;--bs-link-color: #0d6efd;--bs-link-hover-color: #0a58ca;--bs-code-color: #d63384;--bs-highlight-bg: #fff3cd}*,*:before,*:after{box-sizing:border-box}}@layer frameworks{@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}}@layer frameworks{body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:1px solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}h1,.h1{font-size:calc(1.375rem + 1.5vw)}}@layer frameworks{@media (min-width: 1200px){h1,.h1{font-size:2.5rem}}}@layer frameworks{h2,.h2{font-size:calc(1.325rem + .9vw)}}@layer frameworks{@media (min-width: 1200px){h2,.h2{font-size:2rem}}}@layer frameworks{h3,.h3{font-size:calc(1.3rem + .6vw)}}@layer frameworks{@media (min-width: 1200px){h3,.h3{font-size:1.75rem}}}@layer frameworks{h4,.h4{font-size:calc(1.275rem + .3vw)}}@layer frameworks{@media (min-width: 1200px){h4,.h4{font-size:1.5rem}}}@layer frameworks{h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:var(--bs-link-color);text-decoration:underline}a:hover{color:var(--bs-link-hover-color)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}}@layer frameworks{@media (min-width: 1200px){legend{font-size:1.5rem}}}@layer frameworks{legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}}@layer frameworks{@media (min-width: 1200px){.display-1{font-size:5rem}}}@layer frameworks{.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}}@layer frameworks{@media (min-width: 1200px){.display-2{font-size:4.5rem}}}@layer frameworks{.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}}@layer frameworks{@media (min-width: 1200px){.display-3{font-size:4rem}}}@layer frameworks{.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}}@layer frameworks{@media (min-width: 1200px){.display-4{font-size:3.5rem}}}@layer frameworks{.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}}@layer frameworks{@media (min-width: 1200px){.display-5{font-size:3rem}}}@layer frameworks{.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}}@layer frameworks{@media (min-width: 1200px){.display-6{font-size:2.5rem}}}@layer frameworks{.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"\2014\a0"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid var(--bs-border-color);border-radius:.375rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}}@layer frameworks{@media (min-width: 576px){.container-sm,.container{max-width:540px}}}@layer frameworks{@media (min-width: 768px){.container-md,.container-sm,.container{max-width:720px}}}@layer frameworks{@media (min-width: 992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}}@layer frameworks{@media (min-width: 1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}}@layer frameworks{@media (min-width: 1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}}@layer frameworks{.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}}@layer frameworks{@media (min-width: 576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}}@layer frameworks{@media (min-width: 768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}}@layer frameworks{@media (min-width: 992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}}@layer frameworks{@media (min-width: 1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}}@layer frameworks{@media (min-width: 1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}}@layer frameworks{.table{--bs-table-color: var(--bs-body-color);--bs-table-bg: transparent;--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-body-color);--bs-table-striped-bg: rgba(0, 0, 0, .05);--bs-table-active-color: var(--bs-body-color);--bs-table-active-bg: rgba(0, 0, 0, .1);--bs-table-hover-color: var(--bs-body-color);--bs-table-hover-bg: rgba(0, 0, 0, .075);width:100%;margin-bottom:1rem;color:var(--bs-table-color);vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:2px solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg: var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-striped-columns>:not(caption)>tr>:nth-child(even){--bs-table-accent-bg: var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg: var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg: var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-color: #000;--bs-table-bg: #cfe2ff;--bs-table-border-color: #bacbe6;--bs-table-striped-bg: #c5d7f2;--bs-table-striped-color: #000;--bs-table-active-bg: #bacbe6;--bs-table-active-color: #000;--bs-table-hover-bg: #bfd1ec;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #e2e3e5;--bs-table-border-color: #cbccce;--bs-table-striped-bg: #d7d8da;--bs-table-striped-color: #000;--bs-table-active-bg: #cbccce;--bs-table-active-color: #000;--bs-table-hover-bg: #d1d2d4;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #d1e7dd;--bs-table-border-color: #bcd0c7;--bs-table-striped-bg: #c7dbd2;--bs-table-striped-color: #000;--bs-table-active-bg: #bcd0c7;--bs-table-active-color: #000;--bs-table-hover-bg: #c1d6cc;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #cff4fc;--bs-table-border-color: #badce3;--bs-table-striped-bg: #c5e8ef;--bs-table-striped-color: #000;--bs-table-active-bg: #badce3;--bs-table-active-color: #000;--bs-table-hover-bg: #bfe2e9;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #fff3cd;--bs-table-border-color: #e6dbb9;--bs-table-striped-bg: #f2e7c3;--bs-table-striped-color: #000;--bs-table-active-bg: #e6dbb9;--bs-table-active-color: #000;--bs-table-hover-bg: #ece1be;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #dfc2c4;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #dfe0e1;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: #373b3e;--bs-table-striped-bg: #2c3034;--bs-table-striped-color: #fff;--bs-table-active-bg: #373b3e;--bs-table-active-color: #fff;--bs-table-hover-bg: #323539;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}}@layer frameworks{@media (max-width: 575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}}@layer frameworks{@media (max-width: 767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}}@layer frameworks{@media (max-width: 991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}}@layer frameworks{@media (max-width: 1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}}@layer frameworks{@media (max-width: 1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}}@layer frameworks{.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:#6c757d}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.form-control{transition:none}}}@layer frameworks{.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:#212529;background-color:#fff;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-control::-webkit-date-and-time-value{height:1.5em}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled{background-color:#e9ecef;opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}}@layer frameworks{.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:#dde0e3}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + 2px)}textarea.form-control-sm{min-height:calc(1.5em + .5rem + 2px)}textarea.form-control-lg{min-height:calc(1.5em + 1rem + 2px)}.form-control-color{width:3rem;height:calc(1.5em + .75rem + 2px);padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:.375rem}.form-control-color::-webkit-color-swatch{border-radius:.375rem}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + 2px)}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + 2px)}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;-moz-padding-start:calc(.75rem - 3px);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:1px solid #ced4da;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}}@layer frameworks{@media (prefers-reduced-motion: reduce){.form-select{transition:none}}}@layer frameworks{.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #212529}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:.25rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:.5rem}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,.25);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.form-switch .form-check-input{transition:none}}}@layer frameworks{.form-switch .form-check-input:focus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}}@layer frameworks{@media (prefers-reduced-motion: reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}}@layer frameworks{.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}}@layer frameworks{@media (prefers-reduced-motion: reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}}@layer frameworks{.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + 2px);line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;width:100%;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:1px solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.form-floating>label{transition:none}}}@layer frameworks{.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::-moz-placeholder,.form-floating>.form-control-plaintext::-moz-placeholder{color:transparent}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:not(:-moz-placeholder-shown),.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:1px 0}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.375rem}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#198754}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#198754e6;border-radius:.375rem}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:#198754;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem #19875440}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:#198754}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem #19875440}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:#198754}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:#198754}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem #19875440}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:#198754}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#dc3545e6;border-radius:.375rem}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:#dc3545}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:#dc3545}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:#dc3545}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem #dc354540}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:#dc3545}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: #212529;--bs-btn-bg: transparent;--bs-btn-border-width: 1px;--bs-btn-border-color: transparent;--bs-btn-border-radius: .375rem;--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.btn{transition:none}}}@layer frameworks{.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0b5ed7;--bs-btn-hover-border-color: #0a58ca;--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0a58ca;--bs-btn-active-border-color: #0a53be;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #0d6efd;--bs-btn-disabled-border-color: #0d6efd}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #5c636a;--bs-btn-hover-border-color: #565e64;--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: #565e64;--bs-btn-active-border-color: #51585e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #157347;--bs-btn-hover-border-color: #146c43;--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: #146c43;--bs-btn-active-border-color: #13653f;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #31d2f2;--bs-btn-hover-border-color: #25cff2;--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: #3dd5f3;--bs-btn-active-border-color: #25cff2;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffca2c;--bs-btn-hover-border-color: #ffc720;--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffcd39;--bs-btn-active-border-color: #ffc720;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #424649;--bs-btn-hover-border-color: #373b3e;--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #4d5154;--bs-btn-active-border-color: #373b3e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0d6efd;--bs-btn-hover-border-color: #0d6efd;--bs-btn-focus-shadow-rgb: 13, 110, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0d6efd;--bs-btn-active-border-color: #0d6efd;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0d6efd;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0d6efd;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: none;--bs-btn-focus-shadow-rgb: 49, 132, 253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: .5rem}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: .25rem}.fade{transition:opacity .15s linear}}@layer frameworks{@media (prefers-reduced-motion: reduce){.fade{transition:none}}}@layer frameworks{.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}}@layer frameworks{@media (prefers-reduced-motion: reduce){.collapsing{transition:none}}}@layer frameworks{.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}}@layer frameworks{@media (prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}}@layer frameworks{.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: #212529;--bs-dropdown-bg: #fff;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: .375rem;--bs-dropdown-border-width: 1px;--bs-dropdown-inner-border-radius:calc(.375rem - 1px);--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-dropdown-link-color: #212529;--bs-dropdown-link-hover-color: #1e2125;--bs-dropdown-link-hover-bg: #e9ecef;--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}}@layer frameworks{@media (min-width: 576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}}@layer frameworks{@media (min-width: 768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}}@layer frameworks{@media (min-width: 992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}}@layer frameworks{@media (min-width: 1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}}@layer frameworks{@media (min-width: 1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}}@layer frameworks{.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:.375rem}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:-1px}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: #6c757d;display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.nav-link{transition:none}}}@layer frameworks{.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link.disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: 1px;--bs-nav-tabs-border-color: #dee2e6;--bs-nav-tabs-border-radius: .375rem;--bs-nav-tabs-link-hover-border-color: #e9ecef #e9ecef #dee2e6;--bs-nav-tabs-link-active-color: #495057;--bs-nav-tabs-link-active-bg: #fff;--bs-nav-tabs-link-active-border-color: #dee2e6 #dee2e6 #fff;border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));background:none;border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.disabled,.nav-tabs .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: .375rem;--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}.nav-pills .nav-link{background:none;border:0;border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(0, 0, 0, .55);--bs-navbar-hover-color: rgba(0, 0, 0, .7);--bs-navbar-disabled-color: rgba(0, 0, 0, .3);--bs-navbar-active-color: rgba(0, 0, 0, .9);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(0, 0, 0, .9);--bs-navbar-brand-hover-color: rgba(0, 0, 0, .9);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(0, 0, 0, .1);--bs-navbar-toggler-border-radius: .375rem;--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .show>.nav-link,.navbar-nav .nav-link.active{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}}@layer frameworks{@media (prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}}@layer frameworks{.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}}@layer frameworks{@media (min-width: 576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}}@layer frameworks{@media (min-width: 768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}}@layer frameworks{@media (min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}}@layer frameworks{@media (min-width: 1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}}@layer frameworks{@media (min-width: 1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}}@layer frameworks{.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-border-width: 1px;--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: .375rem;--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(.375rem - 1px);--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(0, 0, 0, .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: #fff;--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: .75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;inset:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}}@layer frameworks{@media (min-width: 576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}}@layer frameworks{.accordion{--bs-accordion-color: #212529;--bs-accordion-bg: #fff;--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: 1px;--bs-accordion-border-radius: .375rem;--bs-accordion-inner-border-radius:calc(.375rem - 1px);--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: #212529;--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color: #86b7fe;--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: #0c63e4;--bs-accordion-active-bg: #e7f1ff}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}}@layer frameworks{@media (prefers-reduced-motion: reduce){.accordion-button{transition:none}}}@layer frameworks{.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}}@layer frameworks{@media (prefers-reduced-motion: reduce){.accordion-button:after{transition:none}}}@layer frameworks{.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: #6c757d;--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: #6c757d;display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: #fff;--bs-pagination-border-width: 1px;--bs-pagination-border-color: #dee2e6;--bs-pagination-border-radius: .375rem;--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: #e9ecef;--bs-pagination-hover-border-color: #dee2e6;--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: #e9ecef;--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #0d6efd;--bs-pagination-active-border-color: #0d6efd;--bs-pagination-disabled-color: #6c757d;--bs-pagination-disabled-bg: #fff;--bs-pagination-disabled-border-color: #dee2e6;display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.page-link{transition:none}}}@layer frameworks{.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:-1px}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: .5rem}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: .25rem}.badge{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: .75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: .375rem;display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: 1px solid var(--bs-alert-border-color);--bs-alert-border-radius: .375rem;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: #084298;--bs-alert-bg: #cfe2ff;--bs-alert-border-color: #b6d4fe}.alert-primary .alert-link{color:#06357a}.alert-secondary{--bs-alert-color: #41464b;--bs-alert-bg: #e2e3e5;--bs-alert-border-color: #d3d6d8}.alert-secondary .alert-link{color:#34383c}.alert-success{--bs-alert-color: #0f5132;--bs-alert-bg: #d1e7dd;--bs-alert-border-color: #badbcc}.alert-success .alert-link{color:#0c4128}.alert-info{--bs-alert-color: #055160;--bs-alert-bg: #cff4fc;--bs-alert-border-color: #b6effb}.alert-info .alert-link{color:#04414d}.alert-warning{--bs-alert-color: #664d03;--bs-alert-bg: #fff3cd;--bs-alert-border-color: #ffecb5}.alert-warning .alert-link{color:#523e02}.alert-danger{--bs-alert-color: #842029;--bs-alert-bg: #f8d7da;--bs-alert-border-color: #f5c2c7}.alert-danger .alert-link{color:#6a1a21}.alert-light{--bs-alert-color: #636464;--bs-alert-bg: #fefefe;--bs-alert-border-color: #fdfdfe}.alert-light .alert-link{color:#4f5050}.alert-dark{--bs-alert-color: #141619;--bs-alert-bg: #d3d3d4;--bs-alert-border-color: #bcbebf}.alert-dark .alert-link{color:#101214}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: #e9ecef;--bs-progress-border-radius: .375rem;--bs-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #0d6efd;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}}@layer frameworks{@media (prefers-reduced-motion: reduce){.progress-bar{transition:none}}}@layer frameworks{.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}}@layer frameworks{@media (prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}}@layer frameworks{.list-group{--bs-list-group-color: #212529;--bs-list-group-bg: #fff;--bs-list-group-border-color: rgba(0, 0, 0, .125);--bs-list-group-border-width: 1px;--bs-list-group-border-radius: .375rem;--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: #495057;--bs-list-group-action-hover-color: #495057;--bs-list-group-action-hover-bg: #f8f9fa;--bs-list-group-action-active-color: #212529;--bs-list-group-action-active-bg: #e9ecef;--bs-list-group-disabled-color: #6c757d;--bs-list-group-disabled-bg: #fff;--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@layer frameworks{@media (min-width: 576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}}@layer frameworks{@media (min-width: 768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}}@layer frameworks{@media (min-width: 992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}}@layer frameworks{@media (min-width: 1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}}@layer frameworks{@media (min-width: 1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}}@layer frameworks{.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#084298;background-color:#cfe2ff}.list-group-item-primary.list-group-item-action:hover,.list-group-item-primary.list-group-item-action:focus{color:#084298;background-color:#bacbe6}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#084298;border-color:#084298}.list-group-item-secondary{color:#41464b;background-color:#e2e3e5}.list-group-item-secondary.list-group-item-action:hover,.list-group-item-secondary.list-group-item-action:focus{color:#41464b;background-color:#cbccce}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#41464b;border-color:#41464b}.list-group-item-success{color:#0f5132;background-color:#d1e7dd}.list-group-item-success.list-group-item-action:hover,.list-group-item-success.list-group-item-action:focus{color:#0f5132;background-color:#bcd0c7}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#0f5132;border-color:#0f5132}.list-group-item-info{color:#055160;background-color:#cff4fc}.list-group-item-info.list-group-item-action:hover,.list-group-item-info.list-group-item-action:focus{color:#055160;background-color:#badce3}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#055160;border-color:#055160}.list-group-item-warning{color:#664d03;background-color:#fff3cd}.list-group-item-warning.list-group-item-action:hover,.list-group-item-warning.list-group-item-action:focus{color:#664d03;background-color:#e6dbb9}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664d03;border-color:#664d03}.list-group-item-danger{color:#842029;background-color:#f8d7da}.list-group-item-danger.list-group-item-action:hover,.list-group-item-danger.list-group-item-action:focus{color:#842029;background-color:#dfc2c4}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}.list-group-item-light{color:#636464;background-color:#fefefe}.list-group-item-light.list-group-item-action:hover,.list-group-item-light.list-group-item-action:focus{color:#636464;background-color:#e5e5e5}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}.list-group-item-dark{color:#141619;background-color:#d3d3d4}.list-group-item-dark.list-group-item-action:hover,.list-group-item-dark.list-group-item-action:focus{color:#141619;background-color:#bebebf}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem #0d6efd40;opacity:1}.btn-close:disabled,.btn-close.disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(255, 255, 255, .85);--bs-toast-border-width: 1px;--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: .375rem;--bs-toast-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-toast-header-color: #6c757d;--bs-toast-header-bg: rgba(255, 255, 255, .85);--bs-toast-header-border-color: rgba(0, 0, 0, .05);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: #fff;--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: 1px;--bs-modal-border-radius: .5rem;--bs-modal-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-modal-inner-border-radius:calc(.5rem - 1px);--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: 1px;--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: 1px;position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}}@layer frameworks{@media (prefers-reduced-motion: reduce){.modal.fade .modal-dialog{transition:none}}}@layer frameworks{.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}}@layer frameworks{@media (min-width: 576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}}@layer frameworks{@media (min-width: 992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}}@layer frameworks{@media (min-width: 1200px){.modal-xl{--bs-modal-width: 1140px}}}@layer frameworks{.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}}@layer frameworks{@media (max-width: 575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}}@layer frameworks{@media (max-width: 767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}}@layer frameworks{@media (max-width: 991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}}@layer frameworks{@media (max-width: 1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}}@layer frameworks{@media (max-width: 1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}}@layer frameworks{.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: #fff;--bs-tooltip-bg: #000;--bs-tooltip-border-radius: .375rem;--bs-tooltip-opacity: .9;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;padding:var(--bs-tooltip-arrow-height);margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:0}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:0}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size: .875rem;--bs-popover-bg: #fff;--bs-popover-border-width: 1px;--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: .5rem;--bs-popover-inner-border-radius:calc(.5rem - 1px);--bs-popover-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: ;--bs-popover-header-bg: #f0f0f0;--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: #212529;--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.carousel-item{transition:none}}}@layer frameworks{.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}}@layer frameworks{@media (prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}}@layer frameworks{.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}}@layer frameworks{@media (prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{transition:none}}}@layer frameworks{.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}}@layer frameworks{@media (prefers-reduced-motion: reduce){.carousel-indicators [data-bs-target]{transition:none}}}@layer frameworks{.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}}@layer frameworks{@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}}@layer frameworks{.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: ;--bs-offcanvas-bg: #fff;--bs-offcanvas-border-width: 1px;--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075)}}@layer frameworks{@media (max-width: 575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}}@layer frameworks{@media (max-width: 575.98px) and (prefers-reduced-motion: reduce){.offcanvas-sm{transition:none}}}@layer frameworks{@media (max-width: 575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}}@layer frameworks{@media (max-width: 575.98px){.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}}@layer frameworks{@media (max-width: 575.98px){.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}}@layer frameworks{@media (max-width: 575.98px){.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}}@layer frameworks{@media (max-width: 575.98px){.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}}}@layer frameworks{@media (max-width: 575.98px){.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}}@layer frameworks{@media (min-width: 576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}}@layer frameworks{@media (max-width: 767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}}@layer frameworks{@media (max-width: 767.98px) and (prefers-reduced-motion: reduce){.offcanvas-md{transition:none}}}@layer frameworks{@media (max-width: 767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}}@layer frameworks{@media (max-width: 767.98px){.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}}@layer frameworks{@media (max-width: 767.98px){.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}}@layer frameworks{@media (max-width: 767.98px){.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}}@layer frameworks{@media (max-width: 767.98px){.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}}}@layer frameworks{@media (max-width: 767.98px){.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}}@layer frameworks{@media (min-width: 768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}}@layer frameworks{@media (max-width: 991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}}@layer frameworks{@media (max-width: 991.98px) and (prefers-reduced-motion: reduce){.offcanvas-lg{transition:none}}}@layer frameworks{@media (max-width: 991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}}@layer frameworks{@media (max-width: 991.98px){.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}}@layer frameworks{@media (max-width: 991.98px){.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}}@layer frameworks{@media (max-width: 991.98px){.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}}@layer frameworks{@media (max-width: 991.98px){.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}}}@layer frameworks{@media (max-width: 991.98px){.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}}@layer frameworks{@media (min-width: 992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}}@layer frameworks{@media (max-width: 1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}}@layer frameworks{@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce){.offcanvas-xl{transition:none}}}@layer frameworks{@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}}@layer frameworks{@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}}@layer frameworks{@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}}@layer frameworks{@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}}@layer frameworks{@media (max-width: 1199.98px){.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}}}@layer frameworks{@media (max-width: 1199.98px){.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}}@layer frameworks{@media (min-width: 1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}}@layer frameworks{@media (max-width: 1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}}@layer frameworks{@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce){.offcanvas-xxl{transition:none}}}@layer frameworks{@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}}@layer frameworks{@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}}@layer frameworks{@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}}@layer frameworks{@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}}@layer frameworks{@media (max-width: 1399.98px){.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}}}@layer frameworks{@media (max-width: 1399.98px){.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}}@layer frameworks{@media (min-width: 1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}}@layer frameworks{.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@layer frameworks{@media (prefers-reduced-motion: reduce){.offcanvas{transition:none}}}@layer frameworks{.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:1.5}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(13,110,253,var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(108,117,125,var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(25,135,84,var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#000!important;background-color:RGBA(13,202,240,var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(255,193,7,var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(220,53,69,var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(248,249,250,var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(33,37,41,var(--bs-bg-opacity, 1))!important}.link-primary{color:#0d6efd!important}.link-primary:hover,.link-primary:focus{color:#0a58ca!important}.link-secondary{color:#6c757d!important}.link-secondary:hover,.link-secondary:focus{color:#565e64!important}.link-success{color:#198754!important}.link-success:hover,.link-success:focus{color:#146c43!important}.link-info{color:#0dcaf0!important}.link-info:hover,.link-info:focus{color:#3dd5f3!important}.link-warning{color:#ffc107!important}.link-warning:hover,.link-warning:focus{color:#ffcd39!important}.link-danger{color:#dc3545!important}.link-danger:hover,.link-danger:focus{color:#b02a37!important}.link-light{color:#f8f9fa!important}.link-light:hover,.link-light:focus{color:#f9fafb!important}.link-dark{color:#212529!important}.link-dark:hover,.link-dark:focus{color:#1a1e21!important}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@layer frameworks{@media (min-width: 576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}}@layer frameworks{@media (min-width: 768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}}@layer frameworks{@media (min-width: 992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}}@layer frameworks{@media (min-width: 1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}}@layer frameworks{@media (min-width: 1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}}@layer frameworks{.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link:after{position:absolute;inset:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem #00000026!important}.shadow-sm{box-shadow:0 .125rem .25rem #00000013!important}.shadow-lg{box-shadow:0 1rem 3rem #0000002d!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-1{--bs-border-width: 1px}.border-2{--bs-border-width: 2px}.border-3{--bs-border-width: 3px}.border-4{--bs-border-width: 4px}.border-5{--bs-border-width: 5px}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold{font-weight:700!important}.fw-semibold{font-weight:600!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:#6c757d!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-2xl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}}@layer frameworks{@media (min-width: 576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}}@layer frameworks{@media (min-width: 768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}}@layer frameworks{@media (min-width: 992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}}@layer frameworks{@media (min-width: 1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}}@layer frameworks{@media (min-width: 1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}}@layer frameworks{@media (min-width: 1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}}@layer frameworks{@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}}:root{--bg-color: #edf2f7;--rstudio-blue-h: 209;--rstudio-blue-s: 59%;--rstudio-blue-l: 66%;--rstudio-blue-hsl: var(--rstudio-blue-h) var(--rstudio-blue-s) var(--rstudio-blue-l);--rstudio-blue: hsl(var(--rstudio-blue-hsl));--rstudio-blue-transparent: hsl(var(--rstudio-blue-hsl) / .5);--rstudio-grey-h: 0;--rstudio-grey-s: 0%;--rstudio-grey-l: 25%;--rstudio-grey-hsl: var(--rstudio-grey-h) var(--rstudio-grey-s) var(--rstudio-grey-l);--rstudio-grey: hsl(var(--rstudio-grey-hsl));--rstudio-grey-transparent: hsl(var(--rstudio-grey-hsl) / .5);--rstudio-white-h: 0;--rstudio-white-s: 0%;--rstudio-white-l: 100%;--rstudio-white-hsl: var(--rstudio-white-h) var(--rstudio-white-s) var(--rstudio-white-l);--rstudio-white: hsl(var(--rstudio-white-hsl));--rstudio-white-transparent: hsl(var(--rstudio-white-hsl) / .9);--grey: hsl(211 19% 70%);--light-grey: #e9edf3;--dark-grey: hsl(211 19% 50%);--divider-color: #a5b3c2;--icon-color: #76838f;--background-grey: var(--light-grey);--header-grey: var(--grey);--red: rgb(250, 83, 22);--font-color: hsl(214 9% 15%);--font-color-disabled: hsl(214 9% 15% / .5);--font-size: 13px;--selected-outline-color: var(--rstudio-blue);--selected-outline-width: 3px;--selected-outline: var(--selected-outline-width) solid var(--selected-outline-color);--outline-color: var(--grey);--disabled-color: hsl(var(--rstudio-grey-hsl) / .5);--disabled-outline: 1px solid hsl(var(--rstudio-grey-hsl) / .15);--corner-radius: 8px;--vertical-spacing: 10px;--horizontal-spacing: 15px;--animation-speed: .2s;--animation-curve: ease-in-out;--outline: 1px solid var(--outline-color);--input-height: 23px;--input-vertical-padding: 1px;--input-horizontal-padding: 5px;--fonts: "Lucida Sans", "DejaVu Sans", "Lucida Grande", "Segoe UI", -apple-system, BlinkMacSystemFont, Verdana, Helvetica, sans-serif;--mono-fonts: Consolas, "Lucida Console", Monaco, monospace;--shadow-color: 0deg 0% 13%;--shadow-elevation-medium: .3px .5px .7px hsl(var(--shadow-color) / .36), .8px 1.6px 2px -.8px hsl(var(--shadow-color) / .36), 2.1px 4.1px 5.2px -1.7px hsl(var(--shadow-color) / .36), 5px 10px 12.6px -2.5px hsl(var(--shadow-color) / .36);--size-xs: 4px;--size-sm: 8px;--size-md: 12px;--size-lg: 20px;--size-xl: 28px}*{box-sizing:border-box}html{height:100%}body{overflow:hidden}body,input{font-family:var(--fonts);line-height:1.5;color:var(--font-color);margin:0;font-size:var(--font-size)}input{height:var(--input-height)}h1,h2,h3{margin:0;color:var(--rstudio-grey)}.disable-text-selection *{user-select:none}button{border:none;background:none;cursor:pointer}h1,h2,h3{font-weight:unset;line-height:unset}code{color:unset;font-family:unset;font-size:unset}dialog::backdrop{backdrop-filter:blur(2px)}[data-is-selected-node=true]{position:relative}[data-is-selected-node=true]:before{content:"";position:absolute;inset:0;outline:var(--selected-outline);pointer-events:none;border-radius:inherit}._tooltip_base_w63jb_1{--tooltip-bg-color: var(--rstudio-white);border-radius:var(--corner-radius);background-color:var(--tooltip-bg-color);filter:drop-shadow(1px 1px 4px hsl(0deg 0% 0% / .25));padding:5px}._popoverMarkdown_w63jb_10{max-width:300px}._popoverMarkdown_w63jb_10 p:last-of-type{margin-bottom:0}._popoverMarkdown_w63jb_10 code{font-family:var(--mono-fonts)}._button_1y00r_1{--background-color: var(--rstudio-white);--text-color: var(--font-color);--outline-color: transparent;--outline-width: 1px;padding:.5rem 1rem;border:var(--outline-width) solid var(--outline-color);background-color:var(--background-color);color:var(--text-color);border-radius:var(--corner-radius);align-self:center;display:inline-flex;align-items:center;justify-content:center;gap:4px}._button_1y00r_1:disabled{--text-color: var(--font-color-disabled);cursor:not-allowed}._regular_1y00r_26{--outline-color: var(--rstudio-blue)}._delete_1y00r_30{--outline-color: var(--red)}._icon_1y00r_34{--outline-width: 0px;display:inline-grid;place-content:center;padding:8px;aspect-ratio:1}._transparent_1y00r_42{--outline-color: transparent;--background-color: transparent}._container_valbi_1{--inset: var(--size-md);height:calc(100% - var(--inset) * 2);width:calc(100% - var(--inset) * 2);margin:var(--inset);padding:var(--size-md);display:flex;flex-direction:column;gap:var(--size-md);overflow:auto}._header_valbi_14{color:var(--red);font-size:1.5rem}._information_valbi_19{margin-block:var(--size-sm);font-style:italic}._error_msg_valbi_24{display:block;background-color:var(--light-grey);color:var(--red);font-family:monospace;padding:var(--size-sm)}._actions_valbi_32{margin-block-start:auto;display:flex;justify-content:center;gap:var(--size-sm);flex-wrap:wrap}._container_1og9v_1{position:relative;height:100%;width:100%;display:grid;place-content:center}._container_1og9v_1>button{width:fit-content;font-size:3rem;justify-self:center}:root{--balloon-border-radius: 2px;--balloon-color: rgba(16,16,16,.95);--balloon-text-color: #fff;--balloon-font-size: 12px;--balloon-move: 4px}button[aria-label][data-balloon-pos]{overflow:visible}[aria-label][data-balloon-pos]{position:relative;cursor:pointer}[aria-label][data-balloon-pos]:after{opacity:0;pointer-events:none;transition:all .18s ease-out .18s;text-indent:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-weight:400;font-style:normal;text-shadow:none;font-size:var(--balloon-font-size);background:var(--balloon-color);border-radius:2px;color:var(--balloon-text-color);border-radius:var(--balloon-border-radius);content:attr(aria-label);padding:.5em 1em;position:absolute;white-space:nowrap;z-index:10}[aria-label][data-balloon-pos]:before{width:0;height:0;border:5px solid transparent;border-top-color:var(--balloon-color);opacity:0;pointer-events:none;transition:all .18s ease-out .18s;content:"";position:absolute;z-index:10}[aria-label][data-balloon-pos]:hover:before,[aria-label][data-balloon-pos]:hover:after,[aria-label][data-balloon-pos][data-balloon-visible]:before,[aria-label][data-balloon-pos][data-balloon-visible]:after,[aria-label][data-balloon-pos]:not([data-balloon-nofocus]):focus:before,[aria-label][data-balloon-pos]:not([data-balloon-nofocus]):focus:after{opacity:1;pointer-events:none}[aria-label][data-balloon-pos].font-awesome:after{font-family:FontAwesome,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}[aria-label][data-balloon-pos][data-balloon-break]:after{white-space:pre}[aria-label][data-balloon-pos][data-balloon-break][data-balloon-length]:after{white-space:pre-line;word-break:break-word}[aria-label][data-balloon-pos][data-balloon-blunt]:before,[aria-label][data-balloon-pos][data-balloon-blunt]:after{transition:none}[aria-label][data-balloon-pos][data-balloon-pos=up]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=up][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-pos=down]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=down][data-balloon-visible]:after{transform:translate(-50%)}[aria-label][data-balloon-pos][data-balloon-pos=up]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=up][data-balloon-visible]:before,[aria-label][data-balloon-pos][data-balloon-pos=down]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=down][data-balloon-visible]:before{transform:translate(-50%)}[aria-label][data-balloon-pos][data-balloon-pos*=-left]:after{left:0}[aria-label][data-balloon-pos][data-balloon-pos*=-left]:before{left:5px}[aria-label][data-balloon-pos][data-balloon-pos*=-right]:after{right:0}[aria-label][data-balloon-pos][data-balloon-pos*=-right]:before{right:5px}[aria-label][data-balloon-pos][data-balloon-po*=-left]:hover:after,[aria-label][data-balloon-pos][data-balloon-po*=-left][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-pos*=-right]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos*=-right][data-balloon-visible]:after{transform:translate(0)}[aria-label][data-balloon-pos][data-balloon-po*=-left]:hover:before,[aria-label][data-balloon-pos][data-balloon-po*=-left][data-balloon-visible]:before,[aria-label][data-balloon-pos][data-balloon-pos*=-right]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos*=-right][data-balloon-visible]:before{transform:translate(0)}[aria-label][data-balloon-pos][data-balloon-pos^=up]:before,[aria-label][data-balloon-pos][data-balloon-pos^=up]:after{bottom:100%;transform-origin:top;transform:translateY(var(--balloon-move))}[aria-label][data-balloon-pos][data-balloon-pos^=up]:after{margin-bottom:10px}[aria-label][data-balloon-pos][data-balloon-pos=up]:before,[aria-label][data-balloon-pos][data-balloon-pos=up]:after{left:50%;transform:translate(-50%,var(--balloon-move))}[aria-label][data-balloon-pos][data-balloon-pos^=down]:before,[aria-label][data-balloon-pos][data-balloon-pos^=down]:after{top:100%;transform:translateY(calc(var(--balloon-move) * -1))}[aria-label][data-balloon-pos][data-balloon-pos^=down]:after{margin-top:10px}[aria-label][data-balloon-pos][data-balloon-pos^=down]:before{width:0;height:0;border:5px solid transparent;border-bottom-color:var(--balloon-color)}[aria-label][data-balloon-pos][data-balloon-pos=down]:after,[aria-label][data-balloon-pos][data-balloon-pos=down]:before{left:50%;transform:translate(-50%,calc(var(--balloon-move) * -1))}[aria-label][data-balloon-pos][data-balloon-pos=left]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=left][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-pos=right]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=right][data-balloon-visible]:after{transform:translateY(-50%)}[aria-label][data-balloon-pos][data-balloon-pos=left]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=left][data-balloon-visible]:before,[aria-label][data-balloon-pos][data-balloon-pos=right]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=right][data-balloon-visible]:before{transform:translateY(-50%)}[aria-label][data-balloon-pos][data-balloon-pos=left]:after,[aria-label][data-balloon-pos][data-balloon-pos=left]:before{right:100%;top:50%;transform:translate(var(--balloon-move),-50%)}[aria-label][data-balloon-pos][data-balloon-pos=left]:after{margin-right:10px}[aria-label][data-balloon-pos][data-balloon-pos=left]:before{width:0;height:0;border:5px solid transparent;border-left-color:var(--balloon-color)}[aria-label][data-balloon-pos][data-balloon-pos=right]:after,[aria-label][data-balloon-pos][data-balloon-pos=right]:before{left:100%;top:50%;transform:translate(calc(var(--balloon-move) * -1),-50%)}[aria-label][data-balloon-pos][data-balloon-pos=right]:after{margin-left:10px}[aria-label][data-balloon-pos][data-balloon-pos=right]:before{width:0;height:0;border:5px solid transparent;border-right-color:var(--balloon-color)}[aria-label][data-balloon-pos][data-balloon-length]:after{white-space:normal}[aria-label][data-balloon-pos][data-balloon-length=small]:after{width:80px}[aria-label][data-balloon-pos][data-balloon-length=medium]:after{width:150px}[aria-label][data-balloon-pos][data-balloon-length=large]:after{width:260px}[aria-label][data-balloon-pos][data-balloon-length=xlarge]:after{width:380px}@media screen and (max-width: 768px){[aria-label][data-balloon-pos][data-balloon-length=xlarge]:after{width:90vw}}[aria-label][data-balloon-pos][data-balloon-length=fit]:after{width:100%}._container_1w66f_1{position:relative;height:100%;width:100%;min-width:0;background-color:var(--rstudio-white, white);--card-padding: 6px;isolation:isolate}._container_1w66f_1._full_screen_mode_1w66f_13{--pad: 10px;width:unset;height:unset;position:absolute;top:calc(var(--header-height) + var(--pad));left:calc(var(--elements-palette-width) + var(--pad));right:calc(var(--properties-panel-width) + var(--pad));bottom:var(--pad);z-index:20}._full_screen_button_container_1w66f_25{position:absolute;--inset-amt: var(--size-xs);z-index:10;right:var(--inset-amt)}._full_screen_button_container_1w66f_25[data-is-full-screen=false]{bottom:var(--inset-amt)}._full_screen_button_container_1w66f_25[data-is-full-screen=false]>button{transform:scale(0);transition:transform .05s ease-in}._container_1w66f_1:hover ._full_screen_button_container_1w66f_25[data-is-full-screen=false]>button{transform:scale(1)}._full_screen_button_container_1w66f_25[data-is-full-screen=false]>button{background-color:var(--dark-grey);color:var(--rstudio-white);padding:var(--size-sm);border-radius:50%}._full_screen_button_container_1w66f_25[data-is-full-screen=true]{bottom:calc(100% + var(--inset-amt))}._full_screen_button_container_1w66f_25[data-is-full-screen=true]>button{padding-inline:var(--size-sm);padding-block:var(--size-xs)}._full_screen_button_container_1w66f_25 svg{fill:currentColor;height:1em;width:1em}._card_holder_1w66f_69{position:relative;height:100%;width:100%;min-height:30px}._card_contents_holder_1w66f_76{inset:0;overflow:auto}.can-accept-drop{--start-opacity: .1;--end-opacity: .5;position:relative;background-color:var(--red);opacity:.2;animation-duration:3s;animation-name:pulse;animation-timing-function:ease-in-out;animation-iteration-count:infinite}.can-accept-drop:after{content:"";position:absolute;inset:0;text-align:center;display:grid;place-content:center;overflow:hidden;color:var(--rstudio-white)}@keyframes pulse{0%{opacity:var(--start-opacity)}50%{opacity:var(--end-opacity)}to{opacity:var(--start-opacity)}}div.can-accept-drop.hovering-over{--start-opacity: 1;--end-opacity: 1;z-index:10}div.can-accept-drop.hovering-over:after{content:"release to add"}._card_body_fill_bahaw_1{--inset-amount: var(--size-sm, 10px);margin:var(--inset-amount);padding:calc(var(--bs-card-spacer-y) - var(--inset-amount)) calc(var(--bs-card-spacer-x) - var(--inset-amount));height:100%;min-width:0;min-height:0;isolation:isolate;position:relative}._card_children_container_bahaw_17{display:flex;flex-direction:column;padding:3px;height:100%;overflow:auto}._card_children_container_bahaw_17>[aria-label="shiny::plotOutput"],._card_children_container_bahaw_17>[aria-label="DT::DTOutput"],._card_children_container_bahaw_17>[aria-label="plotly::plotlyOutput"]{flex:1}._empty_msg_bahaw_34{position:absolute;display:grid;place-content:center;inset:0;pointer-events:none}._drop_watcher_bahaw_42{display:none;width:100%;height:0;--active-target-height: 15px}._drop_watcher_bahaw_42.can-accept-drop{display:block;color:var(--rstudio-white);min-height:var(--active-target-height);flex-basis:var(--active-target-height)}._drop_watcher_bahaw_42:last-of-type{flex:1;height:unset}._missing_card_element_bahaw_66:not(:has(.can-accept-drop)){height:0;padding:0;opacity:0;overflow:hidden}._missing_card_element_bahaw_66:has(.can-accept-drop){height:auto}._drop_watcher_bahaw_42.can-accept-drop,._missing_card_element_bahaw_66:has(.can-accept-drop){transition-property:height flex-grow flex;transition-duration:.1s;transition-timing-function:ease-in}._card_body_fill_bahaw_1>._card_children_container_bahaw_17 div.can-accept-drop.hovering-over:after{content:"Add to card body"}._card_footer_bahaw_91>._card_children_container_bahaw_17 div.can-accept-drop.hovering-over:after{content:"Add to card footer"}._card_header_bahaw_97>._card_children_container_bahaw_17 div.can-accept-drop.hovering-over:after{content:"Add to card header"}.dtDTOutput{position:relative;height:100%;width:100%;padding:14px}.dtDTOutput .faux-table{border-radius:var(--corner-radius);outline:1px solid var(--rstudio-grey);overflow:hidden;height:var(--table-h, 100%);width:var(--table-w, 100%);position:relative}.dtDTOutput .faux-table .faux-header{background-color:#d3dbe9;padding:5px}.dtDTOutput .faux-table .faux-table-body{overflow:hidden;display:flex;flex-direction:column;height:100%}.dtDTOutput .faux-table .faux-table-body .faux-row{flex-basis:18px;flex-grow:1;flex-shrink:0;display:flex;flex-direction:row;--spacing: 2px;gap:var(--spacing);margin-block-start:var(--spacing)}.dtDTOutput .faux-table .faux-table-body .faux-row .faux-cell{flex:1;background-color:var(--cell-color, pink);outline:1px solid white;color:transparent}.dtDTOutput .faux-table .faux-table-body .faux-row:nth-child(even){--cell-color: #d3dbe9}.dtDTOutput .faux-table .faux-table-body .faux-row:nth-child(odd){--cell-color: hsl(218, 33%, 97%)}._hoveringOverSwap_l95oj_1,._availableToSwap_l95oj_2{--highlight-color: var(--rstudio-blue, pink)}div._hoveringOverSwap_l95oj_1:before{content:"Swap " attr(data-swap-with) " with " attr(data-grid-area);position:absolute;background-color:var(--highlight-color);color:var(--rstudio-white);bottom:100%;inset-inline:20px;z-index:2;text-align:center;padding-block:4px;pointer-events:none}div._availableToSwap_l95oj_2{--outline-start-width: 2px;--outline-end-width: 5px;--start-shadow: inset 0px 0 0px var(--outline-start-width) var(--highlight-color);--end-shadow: inset 0px 0 0px var(--outline-end-width) var(--highlight-color);opacity:1;box-shadow:var(--start-shadow);animation-duration:3s;animation-name:_pulse_l95oj_1;animation-timing-function:ease-in-out;animation-iteration-count:infinite}div._availableToSwap_l95oj_2._hoveringOverSwap_l95oj_1{z-index:2}@keyframes _pulse_l95oj_1{0%{box-shadow:var(--start-shadow)}50%{box-shadow:var(--end-shadow)}to{box-shadow:var(--start-shadow)}}div._emptyGridCard_l95oj_52{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:var(--vertical-spacing);z-index:2;pointer-events:none}div._emptyGridCard_l95oj_52>button{pointer-events:initial}._emptyMessage_l95oj_69{font-style:italic;opacity:.5}._container_1rlbk_1{max-height:100%}._plotPlaceholder_1rlbk_5{--pad: 15px;--label-height: 30px;--plot-offset: calc(2 * var(--pad) + var(--label-height));padding:var(--pad);height:100%;max-height:100%;display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;background-color:var(--light-grey)}._plotPlaceholder_1rlbk_5 ._label_1rlbk_19{height:var(--label-height);line-height:var(--label-height)}._plotPlaceholder_1rlbk_5>svg{margin-inline:auto}._gridCardPlot_1a94v_1{background-color:var(--rstudio-white);width:100%;height:100%;max-width:100%;max-height:100%;position:relative}._gridCardPlot_1a94v_1>h1{font-size:2rem}img._icon_1467k_1{height:30px;display:block}._textPanel_7ayjk_1{background-color:var(--rstudio-white);width:100%;height:100%;position:relative}._textPanel_7ayjk_1>h1{font-size:2rem}._text_holder_7ayjk_12{padding:1rem;display:grid;align-items:center;height:100%;overflow:auto}._marker_mumaw_1{font-weight:lighter;font-style:italic;padding:2px;position:relative;pointer-events:none;z-index:1}._marker_mumaw_1:hover{outline:2px solid var(--rstudio-blue)}._marker_mumaw_1:not(.dragging){grid-area:var(--grid-area)}._marker_mumaw_1.dragging{pointer-events:all;grid-row-start:var(--drag-grid-row-start);grid-row-end:var(--drag-grid-row-end);grid-column-start:var(--drag-grid-column-start);grid-column-end:var(--drag-grid-column-end);background-color:var(--rstudio-blue-transparent)}._dragger_mumaw_32{--dragger-short: 12px;--dragger-aspect: 2;--dragger-long: calc(var(--dragger-short) * var(--dragger-aspect));--offset-long: calc(50% - var(--dragger-long) / 2);display:grid;place-content:center;position:absolute;opacity:.2;background-color:var(--rstudio-blue);color:var(--rstudio-white);pointer-events:auto}._dragger_mumaw_32:hover{opacity:1}._dragger_mumaw_32._move_mumaw_52{height:var(--dragger-long);width:var(--dragger-long);left:var(--offset-long);top:var(--offset-long);cursor:grab}._dragger_mumaw_32.up,._dragger_mumaw_32.down{height:var(--dragger-short);width:var(--dragger-long);left:var(--offset-long);cursor:ns-resize}._dragger_mumaw_32.right,._dragger_mumaw_32.left{width:var(--dragger-short);height:var(--dragger-long);top:var(--offset-long);cursor:ew-resize}._dragger_mumaw_32.up{top:0}._dragger_mumaw_32.down{bottom:0}._dragger_mumaw_32.right{right:0}._dragger_mumaw_32.left{left:0}._ResizableGrid_i4cq9_1{--grid-gap: 5px;--grid-pad: var(--pad, 10px);height:100%;width:100%;min-height:80px;min-width:400px;display:grid;padding:var(--grid-pad);gap:var(--grid-gap);position:relative;isolation:isolate}._ResizableGrid_i4cq9_1>*{min-width:0;min-height:0}div#_size-detection-cell_i4cq9_1{width:100%;height:100%;grid-row:1/-1;grid-column:1/-1}._infoIcon_15ri6_1{width:24px;color:var(--rstudio-blue);background-color:transparent;font-size:19px;display:grid;place-content:center}._container_15ri6_10{width:min(100%,max-content);padding:4px}._header_15ri6_15{border-bottom:1px solid var(--divider-color, pink);margin-bottom:3px;padding-bottom:3px}._info_15ri6_1{display:grid;grid-template-columns:auto auto;gap:4px}._unit_15ri6_27{text-align:end;font-weight:700}._description_15ri6_31{font-style:italic}._wrapper_3jy8f_1{position:relative;display:flex;max-width:135px;padding-block:2px;gap:2px}._unitSelector_3jy8f_9{--dropdown-width: 13px;height:22px;width:48px;text-align:center;padding-block:0px;padding-inline:2px var(--dropdown-width);border:1px solid var(--light-grey);border-radius:var(--corner-radius);position:relative;appearance:none;background-color:var(--rstudio-white);background-image:url(data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2210%22%20viewBox%3D%220%200%2018%2010%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.87703%209.38397L15.929%202.59828H1.82511L8.87703%209.38397Z%22%20fill%3D%22%2375A8DB%22%2F%3E%3C%2Fsvg%3E%0A);background-size:var(--dropdown-width);background-repeat:no-repeat;background-position:right}.NumberInput{--increment-btn-w: 20px;height:var(--input-height);width:100%;position:relative}.NumberInput input{width:100%;-moz-appearance:textfield;padding-inline-end:var(--increment-btn-w)}.NumberInput input::-webkit-inner-spin-button,.NumberInput input::-webkit-outer-spin-button{-webkit-appearance:none}.NumberInput .incrementer-buttons{position:absolute;inset-block:0;inset-inline-end:0;display:inline-grid;grid-template-areas:"up " "down";grid-template-rows:50% 50%}.NumberInput .incrementer-buttons .up-button,.NumberInput .incrementer-buttons .down-button{position:relative;--shift-to-center: 2px;width:var(--increment-btn-w);font-size:10px}.NumberInput .incrementer-buttons .up-button svg,.NumberInput .incrementer-buttons .down-button svg{display:block;position:absolute;inset-inline-end:6px;inset-block:0px}.NumberInput .incrementer-buttons .up-button{grid-area:up;translate:0px var(--shift-to-center)}.NumberInput .incrementer-buttons .down-button{translate:0px calc(-1 * var(--shift-to-center));grid-area:down}.NumberInput[aria-disabled=true]{cursor:default}.NumberInput[aria-disabled=true] .incrementer-buttons{display:none}.NumberInput[aria-disabled=true] input[type=number]{color:transparent;cursor:inherit}._tractInfoDisplay_cvtwo_1{--transition-delay: .1s;--transition-speed: .1s;--transition-ease: ease-in-out;--expand-transition: none;--offset: calc(-1 * var(--grid-pad));--scale: 0;--size-widget-bg-color: hsla(220, 27%, 94%, .9);--size-widget-spacing: 5px;--add-button-diameter: 19px;--add-button-color: var(--icon-color);--delete-button-height: 20px;position:relative;z-index:1;isolation:isolate;grid-column:1;grid-row:1}._tractInfoDisplay_cvtwo_1:focus-within,._tractInfoDisplay_cvtwo_1:hover{--scale: 100%;--expand-transition: transform var(--transition-speed) var(--transition-ease) var(--transition-delay);z-index:3}._tractInfoDisplay_cvtwo_1[data-drag-dir=rows]{grid-row:var(--tract-index);margin-left:var(--offset);width:fit-content}._tractInfoDisplay_cvtwo_1[data-drag-dir=cols]{grid-column:var(--tract-index);margin-top:var(--offset);height:fit-content}._sizeWidget_cvtwo_61{position:absolute;transition:var(--expand-transition);padding:2px;display:flex;align-items:center;gap:var(--size-widget-spacing);background-color:var(--size-widget-bg-color);height:100%;width:100%}._tractInfoDisplay_cvtwo_1[data-drag-dir=rows]>._sizeWidget_cvtwo_61{width:fit-content;border-radius:0 var(--corner-radius) var(--corner-radius) 0;transform:scaleX(var(--scale));transform-origin:left;padding-right:var(--size-widget-spacing)}._cssSizeInput_cvtwo_80{width:120px;display:flex}._tractInfoDisplay_cvtwo_1[data-drag-dir=cols]>._sizeWidget_cvtwo_61{height:fit-content;flex-direction:column;border-radius:0 0 var(--corner-radius) var(--corner-radius);transform:scaleY(var(--scale));transform-origin:top;padding-bottom:var(--size-widget-spacing)}._hoverListener_cvtwo_94{position:absolute;--thickness: calc(2 * var(--grid-pad));--offset: calc(-1 * var(--grid-pad));inset:calc(4px - var(--grid-pad))}._tractInfoDisplay_cvtwo_1[data-drag-dir=rows] ._hoverListener_cvtwo_94{width:var(--thickness);left:var(--offset)}._tractInfoDisplay_cvtwo_1[data-drag-dir=cols] ._hoverListener_cvtwo_94{height:var(--thickness);top:var(--offset)}._buttons_cvtwo_114{display:flex;justify-content:space-between}._tractInfoDisplay_cvtwo_1[data-drag-dir=cols] ._buttons_cvtwo_114{width:100%;flex-direction:row}._tractInfoDisplay_cvtwo_1[data-drag-dir=rows] ._buttons_cvtwo_114{height:100%;flex-direction:column}._tractAddButton_cvtwo_127,._deleteButton_cvtwo_128{--offset_amnt: 2px;--offset: calc(var(--offset_amnt) - var(--add-button-diameter));width:var(--add-button-diameter);height:var(--add-button-diameter);aspect-ratio:1/1;display:grid;place-content:center;border-radius:50%}._tractAddButton_cvtwo_127{background-color:var(--add-button-color);color:var(--rstudio-white)}._deleteButton_cvtwo_128{background-color:transparent;font-size:var(--delete-button-height)}._deleteButton_cvtwo_128[data-enabled=true]{color:var(--red)}._deleteButton_cvtwo_128[data-enabled=false]{color:var(--disabled-color);cursor:not-allowed}div._columnSizer_9b32k_1,div._rowSizer_9b32k_2{--sizer-color: #c9e2f3;--sizer-expansion-amnt: 1.3;--sizer-margin-offset: calc(-1 * var(--grid-gap));--sizer-thickness: 2px;--sizer-hang-over: 0px;--sizer-offset: calc(var(--grid-pad) + var(--sizer-hang-over));--sizer-length: calc(100% + var(--sizer-offset) + var(--grid-pad));--sizer-main-axis-offset: calc(-1 * var(--sizer-offset));--sizer-off-axis-offset: calc(50% - var(--sizer-thickness) / 2);z-index:-1;background-color:transparent;opacity:1;position:relative;transition:transform 1s .5s}._columnSizer_9b32k_1{grid-row:1/-1;width:var(--grid-gap);margin-left:var(--sizer-margin-offset);height:var(--sizer-length);cursor:ew-resize}._rowSizer_9b32k_2{grid-column:1/-1;height:var(--grid-gap);margin-top:var(--sizer-margin-offset);width:var(--sizer-length);cursor:ns-resize}div._columnSizer_9b32k_1:after,div._rowSizer_9b32k_2:after{content:"";position:absolute;background-color:var(--sizer-color)}div._columnSizer_9b32k_1:after{height:100%;width:var(--sizer-thickness);left:var(--sizer-off-axis-offset);top:var(--sizer-main-axis-offset)}div._rowSizer_9b32k_2:after{width:100%;height:var(--sizer-thickness);top:var(--sizer-off-axis-offset);left:var(--sizer-main-axis-offset)}._columnSizer_9b32k_1:hover,._rowSizer_9b32k_2:hover{transition:transform 0s}._columnSizer_9b32k_1:hover{transform:scaleX(var(--sizer-expansion-amnt))}._rowSizer_9b32k_2:hover{transform:scaleY(var(--sizer-expansion-amnt))}.SUE-SettingsInput{display:block;margin-block:var(--vertical-spacing-top) var(--vertical-spacing-bottom);width:100%;max-width:100%;padding-inline:2px}.SUE-SettingsInput .info{display:flex;gap:5px;margin-bottom:4px;height:20px}.SUE-SettingsInput .info input[type=checkbox]{translate:0px -1px}.SUE-SettingsInput [data-unset=true]{color:var(--disabled-color)}.SUE-SettingsInput input,.SUE-SettingsInput .unset-input{display:block}.SUE-SettingsInput .missing-required-argument-message{color:var(--red, orangered)}.SUE-SettingsInput .mismatched-argument-types{color:var(--dark-grey, pink)}.SUE-SettingsInput .unset-argument{color:var(--dark-grey, pink);text-align:center;background-color:var(--rstudio-white);opacity:.7}.SUE-SettingsInput .SUE-Input{width:100%}.SUE-SettingsInput label:after{content:":"}._checkboxInput_7ym3w_1{height:0;width:0;visibility:hidden;position:absolute}label._checkboxLabel_7ym3w_10{--height: 30px;--aspect-ratio: 2.8;--animation-speed: .2s;--toggle-inset: 2px;--on-color: var(--rstudio-blue, pink);--off-color: var(--grey);--width: calc(var(--height) * var(--aspect-ratio));--toggle-h: calc(var(--height) - var(--toggle-inset) * 2);--toggle-w: calc(var(--width) * .5);font-size:12px;cursor:pointer;color:transparent;width:var(--width);height:var(--height);border-radius:var(--corner-radius);background:var(--off-color);display:block;position:relative;margin-inline:4px}label._checkboxLabel_7ym3w_10:after{content:attr(data-value);color:var(--dark-grey);text-align:center;position:absolute;display:grid;place-content:center;top:var(--toggle-inset);left:var(--toggle-inset);width:var(--toggle-w);height:var(--toggle-h);border-radius:calc(var(--corner-radius) - var(--toggle-inset));background:var(--rstudio-white);transition:var(--animation-speed)}._checkboxInput_7ym3w_1:checked+._checkboxLabel_7ym3w_10{background:var(--on-color)}._checkboxInput_7ym3w_1:checked+._checkboxLabel_7ym3w_10:after{left:calc(100% - var(--toggle-inset));transform:translate(-100%)}._checkboxLabel_7ym3w_10:active:after{width:calc(var(--toggle-w) * 1.2)}._container_xt7ji_1{--gap-size: 4px;margin-top:21px}._list_xt7ji_6{width:fit-content;display:flex;flex-direction:column;align-items:center;margin-block:calc(2 * var(--gap-size));--border: 1px solid var(--grey)}._item_xt7ji_15{width:100%;display:grid;grid-template-columns:15px 1fr auto 1fr 15px;grid-template-areas:"drag key colon value delete";gap:var(--gap-size);align-items:center;padding:var(--gap-size)}._item_xt7ji_15.sortable-chosen{outline:2px solid var(--rstudio-blue)}._keyField_xt7ji_29{grid-area:key;min-width:0}._valueField_xt7ji_34{grid-area:value;min-width:0}._header_xt7ji_39{margin-top:-5px;margin-bottom:-5px;text-align:center}._dragHandle_xt7ji_45{grid-area:drag;cursor:ns-resize;transform:translateY(2px)}._item_xt7ji_15 svg{width:16px}._deleteButton_xt7ji_55{grid-area:delete;--offset: 4px;background-color:transparent;transform:translate(-2px,-2px);outline:none}._addItemButton_xt7ji_65{color:var(--icon-color);font-size:14px;padding:4px;transform:translateY(-2px)}._separator_xt7ji_72{transform:translateY(-1px)}._deleteButton_xt7ji_55:hover>svg{stroke-width:3}.OptionsDropdown{border-radius:var(--corner-radius);padding:2px 5px;width:100%}._radioContainer_ow37t_1{display:grid;gap:5px;justify-content:space-around;align-content:center;border:none;max-width:100%;min-width:0;grid-template-columns:repeat(auto-fill,minmax(40px,auto));padding:0}._option_ow37t_15{height:25px;width:100%}._option_ow37t_15>._radioInput_ow37t_22{display:none}._radioLabel_ow37t_26{display:flex;justify-content:center;align-items:center;border:1px solid var(--light-grey);border-radius:var(--corner-radius);background-color:var(--rstudio-white);max-height:105px;height:100%;padding:2px;color:var(--rstudio-blue);position:relative}._icon_ow37t_41{height:100%;display:block}._radioLabel_ow37t_26 svg{height:1.65rem;padding:1px;font-size:1.6rem}._radioInput_ow37t_22:checked+._radioLabel_ow37t_26{outline:3px solid var(--rstudio-blue);outline-offset:-2px;font-weight:700}._radioInput_ow37t_22:hover:not(:checked)+._radioLabel_ow37t_26{outline:2px solid var(--rstudio-blue)}._radioInput_ow37t_22:hover+._radioLabel_ow37t_26:after,._radioInput_ow37t_22:hover+._radioLabel_ow37t_26 ._icon_ow37t_41{transition-property:opacity;transition-duration:1.5s;transition-delay:.15s}._radioInput_ow37t_22+._radioLabel_ow37t_26:after{content:attr(data-name);opacity:0;position:absolute;pointer-events:none}._radioInput_ow37t_22:hover+._radioLabel_ow37t_26:after{transition-timing-function:ease-in;opacity:1}._radioInput_ow37t_22:hover+._radioLabel_ow37t_26 ._icon_ow37t_41{transition-timing-function:ease-out;opacity:0}._EditorSkeleton_18fvc_1{--padding: var(--horizontal-spacing);width:100%;height:calc(100% - var(--header-height));display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:1fr auto;grid-template-areas:"elements editor properties" "elements editor preview"}._app_view_18fvc_14{grid-area:editor;z-index:2;background-color:var(--rstudio-white);padding:32px;height:100%;width:100%;position:relative}._elements_panel_18fvc_28{grid-area:elements;z-index:3}._properties_panel_18fvc_33{grid-area:properties;z-index:4}._app_preview_18fvc_38{grid-area:preview;z-index:5}._properties_panel_18fvc_33,._app_preview_18fvc_38{max-width:var(--properties-panel-width);width:var(--properties-panel-width)}._properties_panel_18fvc_33:empty,._app_preview_18fvc_38:empty{display:none}._EditorSkeleton_18fvc_1>div{outline:1px solid var(--header-grey);min-width:0;min-height:0;isolation:isolate}._panel_18fvc_63{display:grid;grid-template-rows:var(--header-height) 1fr;background-color:var(--background-grey);isolation:isolate}._panel_18fvc_63>*{min-width:0}._panel_title_18fvc_74{text-align:center;line-height:var(--header-height);background-color:var(--header-grey);font-size:1.05rem;font-weight:lighter;color:var(--rstudio-white)}._portalHolder_18ua3_1{background-color:#fffb;position:absolute;inset:0;display:grid;place-content:center;z-index:2}._portalModal_18ua3_11{outline:1px solid grey;width:450px;background-color:var(--rstudio-white);display:flex;flex-direction:column;border-radius:var(--corner-radius);overflow:scroll}._title_18ua3_21{padding:8px}._body_18ua3_25{flex-grow:1;padding:1rem}._portalForm_18ua3_30{display:flex;flex-direction:column}._portalFormInputs_18ua3_35{flex-grow:1;display:flex;justify-content:center;flex-direction:column}._portalFormFooter_18ua3_42{padding-top:1rem;display:flex;justify-content:space-around}._validationMsg_18ua3_48{color:var(--red);font-style:italic}._infoText_18ua3_53{font-style:italic}._container_1hvsg_1{display:grid;outline:var(--outline);position:relative;height:100%;width:100%}.PlotPlaceholder{container-type:size;height:100%}.PlotPlaceholder .plot{padding:5px;--x-axis-padding: 4px;--y-axis-padding: 7px;--axis-color: var(--grey);--axis-border: 2px solid var(--axis-color);--x-axis-border: var(--axis-border);--y-axis-border: var(--axis-border);--main-color: var(--rstudio-blue);--hover-color: hsl( var(--rstudio-blue-h) var(--rstudio-blue-s) calc(var(--rstudio-blue-l) * .8) );--bar-spacing: 5px;--bar-roundness: 5px;display:flex;flex-direction:column;height:100%}.PlotPlaceholder .plot .title{padding-block:5px;padding-inline:10px;display:grid;align-items:center}.PlotPlaceholder .plot .title:empty{display:none}.PlotPlaceholder .plot .plot-body{flex:1;display:flex;overflow:hidden;gap:var(--bar-spacing);align-items:flex-end;padding-inline-start:var(--y-axis-padding);padding-block-end:var(--x-axis-padding);border-left:var(--y-axis-border);border-bottom:var(--x-axis-border)}.PlotPlaceholder .plot .bar{flex:1;background-color:var(--main-color);height:var(--value, "50%");border-radius:var(--bar-roundness)}.PlotPlaceholder .plot .bar:nth-child(n+8){display:none}.PlotPlaceholder .plot .bar:hover{background-color:var(--hover-color)}@container (max-width: 180px){.PlotPlaceholder .plot .bar:nth-child(n+6){display:none}}@container (min-width: 350px){.PlotPlaceholder .plot .bar:nth-child(n){display:block}}@container (max-height: 175px){.PlotPlaceholder .plot .plot-body{--y-axis-border: none;--y-axis-padding: 0}}.plotlyPlotlyOutput{position:relative;height:100%;width:100%}.plotlyPlotlyOutput .title-bar{display:flex;flex-wrap:wrap;justify-content:space-between}.plotlyPlotlyOutput .plotly-name{color:var(--rstudio-blue)}._container_tyghz_1{display:grid;grid-template-rows:1fr;grid-template-columns:1fr;place-content:center;padding:5px;max-height:100%}._container_162lp_1{position:relative;padding:4px}._container_162lp_1>input{width:100%}._container_162lp_1>label{font-weight:700}._checkbox_162lp_14{display:flex;align-items:center;gap:4px}._container_1x0tz_1{position:relative;padding:4px}._container_1x0tz_1>input{width:100%}._label_1x0tz_10{margin-left:5px}._container_10z2l_1{height:100%}._container_qbb7e_1{position:relative;height:100%;width:100%;display:flex;flex-direction:column;outline:1px solid var(--light-grey);isolation:isolate}._header_qbb7e_13{--h: 40px;background-color:var(--light-grey);display:flex;height:var(--h);flex-shrink:0}._tabContents_qbb7e_21{flex-grow:1;position:relative}._pageTitle_qbb7e_26{margin:0;padding-inline:20px;line-height:var(--h);flex-shrink:0;font-size:1rem;font-weight:700}._pageTitle_qbb7e_26:empty{display:none}._tabHolder_qbb7e_39{display:flex;flex-grow:1;align-items:flex-end}._tab_qbb7e_21{--roundness: 6px;padding-inline:6px;padding-block:2px;line-height:16px;text-align:center;height:calc(100% - 5px);border-radius:var(--roundness) var(--roundness) 0 0;background-color:var(--grey);display:grid;place-content:center;cursor:pointer;border:var(--selected-outline-width) solid transparent}._tab_qbb7e_21[data-active-tab=true]{background-color:var(--rstudio-white);border-bottom-color:var(--rstudio-white)}._tab_qbb7e_21[data-selected-tab=true]{border-color:var(--selected-outline-color);position:relative;z-index:2}._tab_qbb7e_21[data-selected-tab=true]:before{outline:none}._tab_qbb7e_21[data-selected-tab=true]:after{--s: 6px;content:"";position:absolute;width:100%;height:var(--s);background-color:var(--rstudio-white);bottom:calc(-1 * var(--s))}._tabContents_qbb7e_21{height:100%}._tabContents_qbb7e_21[data-active-tab=false]{display:none}._newTabDropDetector_qbb7e_99{display:flex;align-items:center}._addTabButton_qbb7e_104{display:grid;place-content:center;height:100%;width:100%;color:var(--rstudio-blue)}._tabDropDetector_qbb7e_112{width:var(--baseWidth);height:100%;position:relative;transition:width .1s ease-in-out}._tabDropDetector_qbb7e_112.can-accept-drop{width:calc(var(--baseWidth) * 2)}._container_fe3r8_1{position:relative;height:100%;width:100%;padding:5px}._emptyTabPanelDropDetector_fe3r8_8{width:100%;height:100%}._noTabsMessage_130qz_1{padding:5px}._container_sgn7c_1{position:relative;padding:4px}._container_sgn7c_1>input{width:100%}._container_sgn7c_1>label{font-weight:700}._container_1e5dd_1{position:relative;padding:4px}._container_1e5dd_1>input{width:100%}._container_1e5dd_1>label{font-weight:700}._container_1e5dd_1>select{display:block;width:100%;height:40px}._container_1f2js_1{padding:6px;--tract-thickness: 12px;--handle-diameter: 17px;--tract-color: var(--rstudio-blue);--handle-color: var(--light-grey);--handle-outline: 1px solid var(--grey)}._sliderWrapper_1f2js_11{padding-top:var(--tract-thickness);padding-right:3px}input[type=range]._sliderInput_1f2js_16{-webkit-appearance:none;appearance:none;width:100%;height:var(--tract-thickness);background-color:var(--tract-color);padding:0;margin-top:15px;position:relative;border-radius:var(--tract-thickness)}input[type=range]._sliderInput_1f2js_16::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:var(--handle-diameter);height:var(--handle-diameter);border-radius:50%;background:var(--handle-color);outline:var(--handle-outline);cursor:pointer}._sliderInput_1f2js_16:before,._sliderInput_1f2js_16:after{position:absolute;bottom:calc(50% + var(--handle-diameter) / 2 + 2px);background-color:var(--light-grey);padding-inline:4px;padding-block:2px;font-size:12px;border-radius:2px}._sliderInput_1f2js_16:before{content:attr(data-min);left:0}._sliderInput_1f2js_16:after{content:attr(data-max);right:0}._container_yicbr_1{position:relative;padding:4px}._container_yicbr_1>input{width:100%}._container_1i6yi_1{padding:1rem;max-height:100%;background-color:var(--light-grey);border-radius:var(--corner-radius)}._container_1xnzo_1{display:grid;grid-template-rows:1fr;grid-template-columns:1fr;place-content:center;padding:1rem;max-height:100%;min-height:200px;background-color:var(--light-grey);border-radius:var(--corner-radius)}._wrapper_bjscz_1{position:relative;display:inline-block}._wrapper_bjscz_1[data-decoration=italic]{font-style:italic}._wrapper_bjscz_1[data-decoration=bold]{font-weight:700}._categoryDivider_bdwku_1{display:block;position:relative;isolation:isolate;height:var(--vertical-spacing);display:flex;align-items:center}._categoryDivider_bdwku_1>*{background-color:var(--light-grey)}._categoryDivider_bdwku_1:before{content:"";position:absolute;top:50%;left:0;width:100%;height:1px;background-color:var(--divider-color);z-index:-1;opacity:.5}.unknown-ui-function-display{--gap: 10px;width:calc(100% - var(--gap));margin:auto;height:min(100% - var(--gap),75px);padding:4px;background-color:var(--light-grey);border-radius:var(--corner-radius);position:relative;display:grid;place-content:center}.unknown-ui-function-settings .info-msg svg{color:var(--rstudio-blue);margin-right:4px;margin-bottom:-2px}.unknown-ui-function-settings .code-holder{overflow:auto;font-family:var(--mono-fonts);border:1px solid var(--rstudio-grey);background-color:var(--rstudio-white);padding:5px}._EditorContainer_1p1tb_1{--padding: var(--horizontal-spacing);background-color:var(--background-grey, #edf2f7);height:100%;width:100%;position:relative}div._appViewerHolder_zkojo_1{--app-scale-amnt: .24;--animation-speed: .25s;--animation-speed-timing: var(--animation-speed) ease;--expand-btn-size: 1rem;--logs-font-size: .65rem;--logs-padding: var(--vertical-spacing);--expanded-inset-horizontal: 70px;--expanded-inset-top: 70px;--expanded-inset-bottom: calc(70px + var(--logs-offset-expanded));--preview-inset-horizontal: 10px;--preview-inset-top: 10px;--preview-inset-bottom: calc( var(--preview-inset-top) + var(--logs-button-h) + var(--logs-offset) );--logs-button-h: 28px;--logs-offset: 0px;--logs-offset-expanded: 30px;--app-expanded-w: calc(100vw - var(--expanded-inset-horizontal) * 2);--app-expanded-h: calc( 100vh - var(--expanded-inset-top) - var(--expanded-inset-bottom) );--app-preview-w: calc(var(--app-expanded-w) * var(--app-scale-amnt));--app-preview-h: calc(var(--app-expanded-h) * var(--app-scale-amnt));height:calc(var(--app-preview-h) + var(--preview-inset-top) + var(--preview-inset-bottom));position:relative;overflow:hidden}._title_zkojo_55{position:relative}._appViewerHolder_zkojo_1[data-expanded=true]{--expand-btn-size: 1.5rem;--logs-font-size: .9rem;--logs-padding: 32px;--viewer-h: 1fr;--logs-button-h: 30px;--logs-offset: 35px;position:fixed;inset:0;width:100vw;height:100vh;z-index:10;background-color:hsl(var(--rstudio-grey-hsl) / .15);backdrop-filter:blur(6px);transition:all var(--animation-speed-timing);transition-property:backdrop-filter background-color}._appContainer_zkojo_89{display:grid;place-content:center}._appViewerHolder_zkojo_1[data-expanded=false]>._appContainer_zkojo_89{position:absolute;top:var(--preview-inset-top);right:var(--preview-inset-horizontal);width:var(--app-preview-w);height:var(--app-preview-h)}._appViewerHolder_zkojo_1[data-expanded=true]>._appContainer_zkojo_89{position:absolute;inset-inline:var(--expanded-inset-horizontal);top:var(--expanded-inset-top);height:var(--app-expanded-h)}._previewFrame_zkojo_109{background-color:var(--rstudio-white);width:var(--app-expanded-w);height:var(--app-expanded-h);transform:scale(var(--app-scale-amnt));border:1px solid var(--outline-color);display:block;border-radius:2px}._appViewerHolder_zkojo_1[data-expanded=true] ._previewFrame_zkojo_109{transform:scale(1);transition:transform var(--animation-speed-timing);border:none;box-shadow:var(--shadow-elevation-medium)}._appViewerHolder_zkojo_1[data-expanded=false] ._previewFrame_zkojo_109{transition:none}._expandButton_zkojo_134,._reloadButtonContainer_zkojo_135{position:absolute;background-color:transparent;outline:none;border:none;transition-property:opacity,color,transform;transition-duration:.25s;transition-timing-function:ease-in}._reloadButtonContainer_zkojo_135{height:var(--header-height);width:var(--header-height);top:0;left:0;bottom:0}._reloadButton_zkojo_135{color:currentColor;font-size:1.5rem;height:100%;width:100%;aspect-ratio:1;background-color:transparent}._reloadButton_zkojo_135>svg{scale:-1 1}._reloadButton_zkojo_135:hover>svg{scale:-1.1 1.1}._spin_zkojo_174{animation-duration:1s;animation-name:_spin_zkojo_174}@keyframes _spin_zkojo_174{0%{rotate:0deg}to{rotate:360deg;animation-timing-function:ease-out}}._appViewerHolder_zkojo_1 ._reloadButtonContainer_zkojo_135{display:none}._expandButton_zkojo_134{width:100%;height:100%;font-size:50px;opacity:0;color:transparent}._expandButton_zkojo_134:hover{color:inherit;opacity:1;transform:scale(1.1)}._restartButton_zkojo_211{width:fit-content;margin-inline:auto}._appViewerHolder_zkojo_1[data-expanded=true] ._expandButton_zkojo_134,._appViewerHolder_zkojo_1[data-expanded=true] ._reloadButtonContainer_zkojo_135{width:var(--expanded-inset-left);height:var(--expanded-inset-top);font-size:2.5rem;opacity:1;position:fixed;top:0;display:block}._appViewerHolder_zkojo_1[data-expanded=true] ._expandButton_zkojo_134{color:inherit;right:0}._appViewerHolder_zkojo_1>h2{color:var(--rstudio-grey);text-align:center;font-style:italic}._loadingMessage_zkojo_238{display:grid;place-content:center;width:100%;height:100%;padding:1rem}._loadingMessage_zkojo_238>h2{text-align:center}h2._error_zkojo_249{color:var(--red)}._logs_xjp5l_2{--tab-height: var(--logs-button-h, 20px);--background-color: var(--rstudio-white);--outline-color: var(--rstudio-grey, red);--side-offset: 8px;position:absolute;bottom:0;left:var(--side-offset);right:var(--side-offset);top:0;grid-area:logs;isolation:isolate;transform:translateY(calc(100% - var(--tab-height) - var(--logs-offset, 0px)));transition:transform var(--animation-speed, .25s) ease-in}._logs_xjp5l_2[data-expanded=true]{transform:translateY(5px)}._logs_xjp5l_2[data-expanded=true] ._logsContents_xjp5l_25{overflow:auto}button._expandTab_xjp5l_29,._logsContents_xjp5l_25{background-color:var(--background-color)}button._expandTab_xjp5l_29{z-index:2;border-radius:var(--corner-radius) var(--corner-radius) 0 0!important;width:fit-content;height:var(--tab-height);margin-inline:auto;gap:5px;padding-inline:10px;justify-content:center;background-color:var(--background-color);outline:var(--outline);display:flex;align-items:center;position:relative}button._expandTab_xjp5l_29:after{position:absolute;content:"";width:100%;height:3px;bottom:-2px;background-color:var(--background-color)}._logsContents_xjp5l_25{z-index:1;border:var(--outline);height:calc(100% - var(--tab-height));padding:var(--logs-padding);position:relative}._clearLogsButton_xjp5l_69{outline:none;position:absolute;top:0;right:0}p._logLine_xjp5l_75{font-family:var(--mono-fonts);font-size:var(--logs-font-size);margin:0}._noLogsMsg_xjp5l_81{opacity:.8;height:100%;text-align:center;font-size:1rem}._expandedLogs_xjp5l_93 ._logsContents_xjp5l_25{overflow:auto}._expandLogsButton_xjp5l_101{flex-grow:1;text-align:center;font-size:calc(var(--logs-font-size) * 1.3);height:100%}._unseenLogsNotification_xjp5l_108{color:var(--red);right:0;opacity:0;font-size:9px}._unseenLogsNotification_xjp5l_108[data-show=true]{opacity:1;animation-duration:2s;animation-name:_slidein_xjp5l_1;animation-iteration-count:3;animation-timing-function:ease-in-out;transition:opacity 1s}@keyframes _slidein_xjp5l_1{0%{transform:scale(1)}50%{transform:scale(1.5)}to{transform:scale(1)}}._show_btn_83j0t_1{margin:var(--size-md)}._modal_83j0t_5{border:1px solid grey;background-color:var(--rstudio-white);display:flex;flex-direction:column;border-radius:var(--corner-radius);overflow:scroll;padding-block:var(--size-lg);padding-inline:var(--size-xl);max-width:800px;width:99%}._title_83j0t_18{margin-block-end:var(--size-md)}._description_83j0t_22{padding-inline-start:var(--size-md)}._code_holder_83j0t_26{max-height:70vh;overflow-y:scroll;margin-block:var(--size-sm)}._code_holder_83j0t_26>*{padding:var(--size-md);background-color:var(--light-grey)}._code_holder_83j0t_26>label{padding-block:var(--size-sm) 0;border-radius:var(--corner-radius) var(--corner-radius) 0 0;color:var(--rstudio-blue)}._footer_83j0t_43{display:flex;flex-direction:row;justify-content:flex-end;margin-block-start:var(--size-md)}.AppTemplatePreview{overflow:hidden;isolation:isolate}.AppTemplatePreview .template-container{position:relative;width:var(--full-w, 100px);height:var(--full-h, 100px);transform:scale(var(--shrink-ratio, .5));transform-origin:top left}.AppTemplatePreview .template-container:after{content:"";position:absolute;inset:0;pointer-events:all}.AppTemplateCard{--outline-color: #caced3;--outline-thickness: 1px;--footer-color: #e9edf3;--padding: var(--card-pad, 5px);cursor:pointer;outline:var(--outline-thickness) solid var(--outline-color);width:--moz-fit-content;width:fit-content;border-radius:var(--corner-radius)}.AppTemplateCard>*{padding:var(--padding)}.AppTemplateCard footer{background-color:var(--footer-color);height:calc(40px - 2 * var(--padding));display:flex;align-items:center;justify-content:space-between;border-radius:0 0 var(--corner-radius) var(--corner-radius)}.AppTemplateCard footer .layout-icon{display:block;width:42px;translate:6px 2px}.AppTemplateCard footer .layout-icon[data-type=navbarPage]{width:42px;translate:6px 1px}.AppTemplateCard[data-selected=true]{--outline-thickness: 4px;--outline-color: var(--rstudio-blue)}.TemplatePreviewGrid{display:grid;gap:53px 44px;grid-template-columns:repeat(auto-fit,var(--card-w));justify-content:center}.TemplatePreviewGrid.empty-results{height:100%;place-content:center;color:var(--red);grid-template-columns:unset;font-size:1.1rem}.TemplateChooserSidebar{width:218px;padding-block:18px;padding-inline:15px;display:flex;flex-direction:column;gap:32px}.TemplateChooserSidebar button{--inset: 5px;margin-top:auto;width:calc(100% - 2 * var(--inset));background-color:var(--rstudio-blue);color:var(--rstudio-white)}.TemplateChooserSidebar button:disabled{background-color:var(--grey);border-color:var(--grey)}.TemplateChooserSidebar legend{font-size:var(--font-size, 1rem);margin:0}.TemplateFiltersForm .layout-options{display:flex;justify-content:space-around}.labeled-form-option{display:flex;align-items:center;gap:3px}._elementsPalette_qmlez_1{--icon-size: 75px;--padding: 8px;height:100%;overflow:auto;padding:var(--padding);display:grid;align-items:start;grid-template-columns:repeat(2,var(--icon-size));justify-content:center;justify-items:center;align-content:start;gap:var(--padding)}._OptionContainer_qmlez_18{width:var(--icon-size);height:75px;position:relative}._OptionItem_qmlez_24{height:100%;border-radius:var(--corner-radius);position:absolute;inset:0;cursor:grab;text-align:center}._OptionIcon_qmlez_33{margin:-12px 0 0;display:block;width:100%;pointer-events:none}._OptionLabel_qmlez_41{margin-top:-18px;display:block;line-height:15px}._OptionItem_qmlez_24:hover{outline:var(--outline)}._OptionItem_qmlez_24:active{cursor:grabbing}._OptionItem_qmlez_24>svg{color:var(--rstudio-blue)}._deleteButton_1en02_1{color:var(--red);display:flex;align-items:center;justify-content:flex-start}._deleteButton_1en02_1>svg{font-size:1.5rem}.FormBuilder{--vertical-spacing-top: 12px;--vertical-spacing-bottom: 14px}.FormBuilder .grouped-inputs{display:grid;grid-template-columns:repeat(2,1fr);row-gap:var(--vertical-spacing-bottom);padding-block:var(--vertical-spacing-top) var(--vertical-spacing-bottom)}.FormBuilder .grouped-inputs *{margin-block:0}input{padding:var(--input-vertical-padding) var(--input-horizontal-padding);border:1px solid var(--light-grey);border-radius:var(--corner-radius)}.unknown-arguments-list .unknown-form-fields{padding-inline:3px 0;padding-block:5px 0;font-family:var(--mono-fonts)}.unknown-arguments-list .unknown-form-fields button{color:var(--red, orangered)}.unknown-arguments-list .unknown-form-fields .unknown-argument{margin-block:2px;display:flex;align-items:center;width:100%}.unknown-arguments-list .unknown-form-fields .unknown-argument button{background:transparent}.LabeledInputCategory{margin-block-end:18px}.divider-line{display:block;position:relative;isolation:isolate;display:flex}.divider-line>*{background-color:var(--light-grey)}.divider-line:before{content:"";position:absolute;top:50%;left:0;width:100%;height:1px;background-color:var(--divider-color);z-index:-1;opacity:.5}._container_1fh41_1{--flex-gap: 8px;padding:var(--vertical-spacing);display:flex;flex-direction:column;gap:var(--flex-gap);position:relative;width:fit-content;max-width:100%}._node_1fh41_12{padding:var(--input-vertical-padding) var(--input-horizontal-padding);width:100%;max-width:100%;overflow-wrap:break-word;position:relative;cursor:pointer;background-color:var(--rstudio-white);border-radius:var(--corner-radius)}._node_1fh41_12:last-child{background-color:var(--rstudio-blue);color:var(--rstudio-white)}._node_1fh41_12:before,._node_1fh41_12:after{--dot-size: 6px;--line-width: 2px;--offset: 5px;--color: var(--header-grey);content:"";position:absolute}._node_1fh41_12:after{width:var(--dot-size);height:var(--dot-size);background-color:var(--background-grey);outline-width:var(--line-width);outline-style:solid;outline-color:var(--color);border-radius:50%;left:calc(-1 * (var(--input-horizontal-padding) + var(--dot-size) / 2 + var(--offset)));top:calc(50% - var(--dot-size) / 2)}._node_1fh41_12:first-child:after{border-radius:0}._node_1fh41_12:before{background-color:var(--color);width:var(--line-width);height:calc(100% + var(--flex-gap));left:calc(-1 * (var(--input-horizontal-padding) + var(--line-width) / 2 + var(--offset)));top:calc(-1 * var(--flex-gap) / 2)}._node_1fh41_12:only-child:before{display:none}._node_1fh41_12:first-child:before,._node_1fh41_12:last-child:before{height:calc(50% + var(--flex-gap) / 2)}._node_1fh41_12:first-child:before{top:50%}._settingsPanel_a44hx_1{--vertical-gap: var(--vertical-spacing);display:flex;flex-direction:column;padding-inline:calc(var(--horizontal-spacing) - 2px);padding-block:var(--vertical-gap);height:100%}._currentElementAbout_a44hx_10{flex-shrink:0}form._settingsForm_a44hx_17{flex:1;height:100%;overflow:auto;isolation:isolate}._settingsInputs_a44hx_24{overflow:auto}._buttonsHolder_a44hx_28{margin-top:auto;background-color:var(--light-grey);padding-block:var(--vertical-gap);display:flex;flex-direction:column;justify-content:space-around;align-items:center;gap:var(--vertical-spacing)}._buttonsHolder_a44hx_28>Button{height:40px;width:100%;border:none}._validationErrorMsg_a44hx_45{padding:.5rem;color:var(--red);font-family:var(--mono-fonts)}._message_for_user_hxksa_1{height:100%;display:grid;place-content:center}._message_container_hxksa_6{background-color:var(--rstudio-white);border-radius:var(--corner-radius);border:var(--outline);width:600px;max-width:95%;padding:25px}._message_container_hxksa_6>h2{font-size:24px;margin-block-end:18px}._message_container_hxksa_6>p{margin:0;padding:0}._error_msg_hxksa_25{color:var(--red);font-family:var(--mono-fonts)}._container_1d7pe_1{display:flex;position:relative}._container_1d7pe_1>button>svg{color:var(--icon-color, silver)}._container_1d7pe_1>button{height:var(--header-height, 100%);padding:0;position:relative;font-size:2rem}._container_1d7pe_1>button:disabled{color:var(--disabled-color);opacity:.2}._shiny_logo_1exlx_1{display:inline-block;height:100%;border-radius:0 15px 15px 0;padding-block:3px;padding-inline:5px;background-color:var(--rstudio-blue)}._app_title_1exlx_10{font-size:1.15rem;color:var(--rstudio-blue)}._divider_1exlx_15{height:20px;background-color:var(--divider-color);width:2px}._header_1exlx_21{height:var(--header-height);gap:var(--padding);display:flex;justify-content:flex-start;align-items:center}._OpenSideBySideWindowButton_1exlx_29{background-color:transparent;font-size:18px;color:var(--icon-color);margin-inline:7px}._OpenSideBySideWindowButton_1exlx_29+._divider_1exlx_15{margin-inline-end:3px;margin-inline-start:6px}._header_1exlx_21 button{padding:0}._react-joyride_1exlx_46{display:none}._undo-redo-buttons_1exlx_50{transform:translate(-1px,-1px)}._right_1exlx_54{margin-left:auto;display:flex;align-items:center;justify-content:end}._divider_1exlx_15{margin-inline-end:12px;margin-inline-start:14px}._spacer_1exlx_66{height:20px}._spacer_1exlx_66._last_1exlx_70{width:58px} diff --git a/inst/editor/build/index.html b/inst/editor/build/index.html index 6fda27f85..f819b5d3e 100644 --- a/inst/editor/build/index.html +++ b/inst/editor/build/index.html @@ -26,8 +26,8 @@ Learn how to configure a non-root public URL by running `npm run build`. --> Shiny UI Editor - - + + diff --git a/inst/editor/src/EditorContainer/EditorView.tsx b/inst/editor/src/EditorContainer/EditorView.tsx index abf9cb69b..0bad7bb56 100644 --- a/inst/editor/src/EditorContainer/EditorView.tsx +++ b/inst/editor/src/EditorContainer/EditorView.tsx @@ -3,7 +3,7 @@ import { TemplateChooserView } from "../components/TemplatePreviews/TemplateChoo import UiNode from "../components/UiNode/UiNode"; import { EditorLayout } from "../EditorLayout/EditorLayout"; import ElementsPalette from "../ElementsPalette"; -import { SettingsPanelSafe } from "../SettingsPanel/SettingsPanel"; +import { SettingsPanel } from "../SettingsPanel/SettingsPanel"; import type { EditingState, ErrorState, @@ -33,7 +33,7 @@ function MainEditorView({ state }: { state: EditingState }) { } left={} - properties={} + properties={} preview={} /> ); diff --git a/inst/editor/src/SettingsPanel/SettingsPanel.tsx b/inst/editor/src/SettingsPanel/SettingsPanel.tsx index 742124e74..8ecc5e326 100644 --- a/inst/editor/src/SettingsPanel/SettingsPanel.tsx +++ b/inst/editor/src/SettingsPanel/SettingsPanel.tsx @@ -22,38 +22,6 @@ import PathBreadcrumb from "./PathBreadcrumb"; import classes from "./SettingsPanel.module.css"; import { useUpdateSettings } from "./useUpdateSettings"; -export function SettingsPanelSafe(props: SettingsPanelProps) { - const fallbackRender = React.useMemo( - () => (fallbackProps: FallbackProps) => { - return ( - - generate_gh_issue_url({ - title: "Error rendering settings panel", - body: `Error rendering settings panel:\n${generate_serialized_state_for_error( - state_at_error - )}`, - labels: ["Settings-Panel"], - }) - } - {...fallbackProps} - /> - ); - }, - [] - ); - return ( - <> - Properties - - - - - - ); -} - type SettingsPanelProps = { tree: ShinyUiNode; }; @@ -89,41 +57,61 @@ export function SettingsPanel({ tree }: SettingsPanelProps) { return ( <> -
-
- -
- ) - : undefined - } - onSettingsChange={(name, action) => { - switch (action.type) { - case "UPDATE": - updateArgumentsByName(name, action.value); - return; - - case "REMOVE": - deleteArgumentByName(name); - return; + Properties + +
+
+ +
+ ) + : undefined } - }} - /> - -
- {!isRootNode ? : null} + onSettingsChange={(name, action) => { + switch (action.type) { + case "UPDATE": + updateArgumentsByName(name, action.value); + return; + + case "REMOVE": + deleteArgumentByName(name); + return; + } + }} + /> + +
+ {!isRootNode ? : null} +
-
+
); } +const SettingsPanelErrorFallback = (fallbackProps: FallbackProps) => { + return ( + + generate_gh_issue_url({ + title: "Error rendering settings panel", + body: `Error rendering settings panel:\n${generate_serialized_state_for_error( + state_at_error + )}`, + labels: ["Settings-Panel"], + }) + } + {...fallbackProps} + /> + ); +};