@xyd-js/atlas 0.1.0-xyd.5 → 0.1.0-xyd.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ # @xyd-js/atlas
2
+
3
+ ## 0.1.0-xyd.7
4
+
5
+ ### Patch Changes
6
+
7
+ - initial changeset bump
8
+ - Updated dependencies
9
+ - @xyd-js/uniform@0.1.0-xyd.6
package/dist/index.css CHANGED
@@ -11,18 +11,19 @@
11
11
  .l8q9wny{-webkit-text-decoration:none;text-decoration:none;}
12
12
 
13
13
  .h1b8wz9m{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex-wrap:wrap;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:16px;padding:0;margin:0;list-style:none;border:none;}
14
- .h1ayic9k{margin:0;padding:0;border-top:1px solid var(--atlas-comp-apiref-properties-border-color);}.h1ayic9k:first-child{padding-top:0;}.h1ayic9k:last-child{padding-bottom:0;}
14
+ .h1ayic9k{margin:0;padding:0;}.h1ayic9k:first-child{padding-top:0;}.h1ayic9k:last-child{padding-bottom:0;}
15
15
  .hkisad5{font-size:14px;line-height:22px;color:var(--atlas-comp-apiref-properties-description-color);}
16
16
  .h159tzrk{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-box-flex-wrap:wrap;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:10px;margin:8px 0;}.h159tzrk dd{-webkit-margin-start:0px;margin-inline-start:0px;}
17
17
  .ht6ukcw{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;padding:4px 0;font-weight:600;font-size:13px;color:var(--atlas-comp-apiref-properties-prop__name-color);}
18
18
  .h1hhb1ak{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;padding:4px 0;border-radius:4px;font-size:10px;color:var(--atlas-comp-apiref-properties-prop__type-color);}
19
- .h1ud1m37{padding:8px;border-style:none;display:none;}
20
- .h1fjyrqx{display:unset;}
19
+ .l1ud1m37{color:var(--atlas-comp-apiref-properties-color--active);-webkit-text-decoration:underline;text-decoration:underline;}.l1ud1m37:hover{-webkit-text-decoration:none;text-decoration:none;}
20
+ .h1fjyrqx{padding:8px;border-style:none;display:none;}
21
+ .h12sxrry{display:unset;}
21
22
 
22
- .u1hrqzjh{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex-wrap:wrap;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:16px;padding:0;margin:0;list-style:none;border:none;}
23
- .l1ofrsp8{padding:0 16px;border-top:1px solid var(--atlas-comp-apiref-properties-border-color);}
24
- .hmjvvs5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0;margin-top:16px;background:none;outline:inherit;border:none;cursor:pointer;color:inherit;font-size:13px;}.hmjvvs5 svg{font-size:13px;}.hmjvvs5:hover svg{-webkit-transition:all ease-in .1s;transition:all ease-in .1s;color:var(--atlas-comp-apiref-properties-color--active);}
25
- .l9u79h5{-webkit-text-decoration:none;text-decoration:none;cursor:pointer;margin-left:4px;}.l9u79h5:hover{-webkit-transition:all ease-in .1s;transition:all ease-in .1s;color:var(--atlas-comp-apiref-properties-color--active);}
23
+ .u1ofrsp8{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex-wrap:wrap;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:16px;padding:0;margin:0;list-style:none;border:none;border-left:1px solid var(--atlas-comp-apiref-properties-border-color);}
24
+ .lmjvvs5{padding:0 16px;}
25
+ .h9u79h5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0;margin-top:16px;background:none;outline:inherit;border:none;cursor:pointer;color:inherit;font-size:13px;}.h9u79h5 svg{font-size:13px;}.h9u79h5:hover svg{-webkit-transition:all ease-in .1s;transition:all ease-in .1s;color:var(--atlas-comp-apiref-properties-color--active);}
26
+ .l16o3qrr{-webkit-text-decoration:none;text-decoration:none;cursor:pointer;margin-left:4px;}.l16o3qrr:hover{-webkit-transition:all ease-in .1s;transition:all ease-in .1s;color:var(--atlas-comp-apiref-properties-color--active);}
26
27
 
27
28
  .h47igvr{all:unset;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;border-radius:6px;padding:6px;}.h47igvr:hover{-webkit-transition:ease-in 0.1s;transition:ease-in 0.1s;background:var(--atlas-comp-code-copy-background--active);}
28
29
 
@@ -40,13 +41,13 @@
40
41
  .h18n51vi{margin:0 4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5;}
41
42
 
42
43
  .h1de1isv{position:relative;max-width:100%;}
43
- .c174knag{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:8px;background-color:var(--atlas-comp-code-sample_buttons-container-background);}
44
- .hdr58em{padding:8px;background-color:var(--atlas-comp-code-sample_buttons-background--active);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05);}
44
+ .c174knag{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:8px;background-color:#F3F4F6;}
45
+ .hdr58em{padding:8px;background-color:#ffffff;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05);}
45
46
  .izmf263{width:16px;height:16px;}
46
47
  .h1olbpn1{overflow-x:auto;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}
47
48
  .c1dubejs{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;gap:4px;padding:4px;margin-left:4px;}
48
- .he063xp{padding:0.5rem 1rem;border-radius:0.375rem;font-size:0.875rem;line-height:1.25rem;font-weight:500;white-space:nowrap;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;color:var(--atlas-comp-code-sample_buttons-color);}.he063xp:hover{color:var(--atlas-comp-code-sample_buttons-color--active);}
49
- ._lt697q{color:var(--atlas-comp-code-sample_buttons-color--active);background-color:var(--atlas-comp-code-sample_buttons-background--active);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05);}
49
+ .he063xp{padding:0.5rem 1rem;border-radius:0.375rem;font-size:0.875rem;line-height:1.25rem;font-weight:500;white-space:nowrap;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;color:#6B7280;}.he063xp:hover{color:#111827;}
50
+ ._lt697q{color:#111827;background-color:#ffffff;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05);}
50
51
 
51
52
  .hskauww{position:-webkit-sticky;position:sticky;top:6rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:32px;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.hskauww:first-child{margin-top:0;}.hskauww:last-child{margin-bottom:0;}
52
53
  .h1nkbfqz{gap:10px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}
package/dist/index.js CHANGED
@@ -1 +1,2 @@
1
- import{ReferenceCategory as e}from"@xyd-js/uniform";import{CheckCheck as t,Copy as n,ChevronLeft as r,ChevronRight as o}from"lucide-react";import*as a from"@radix-ui/react-tabs";import{extractAnnotations as i,highlight as u,LANG_NAMES as c}from"@code-hike/lighter";function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var s={exports:{}};function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function p(e){if(Array.isArray(e))return e}function d(e,t,n,r,o,a,i){try{var u=e[a](i),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}function m(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){d(a,r,o,i,u,"next",e)}function u(e){d(a,r,o,i,u,"throw",e)}i(void 0)}))}}function y(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=j(e))||t){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(u)throw a}}}}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function g(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function E(){E=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var a=t&&t.prototype instanceof v?t:v,i=Object.create(a.prototype),u=new P(r||[]);return o(i,"_invoke",{value:j(e,n,u)}),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var p="suspendedStart",d="suspendedYield",m="executing",y="completed",h={};function v(){}function g(){}function b(){}var w={};l(w,i,(function(){return this}));var k=Object.getPrototypeOf,_=k&&k(k(D([])));_&&_!==n&&r.call(_,i)&&(w=_);var S=b.prototype=v.prototype=Object.create(w);function O(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,a,i,u){var c=f(e[o],e,a);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==typeof s&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){n("next",e,i,u)}),(function(e){n("throw",e,i,u)})):t.resolve(s).then((function(e){l.value=e,i(l)}),(function(e){return n("throw",e,i,u)}))}u(c.arg)}var a;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,n,r){var o=p;return function(a,i){if(o===m)throw Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:e,done:!0}}for(r.method=a,r.arg=i;;){var u=r.delegate;if(u){var c=C(u,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var l=f(t,n,r);if("normal"===l.type){if(o=r.done?y:d,l.arg===h)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=y,r.method="throw",r.arg=l.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var a=f(o,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,h;var i=a.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function R(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function D(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(typeof t+" is not iterable")}return g.prototype=b,o(S,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=l(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,l(e,c,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},O(x.prototype),l(x.prototype,u,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,o,a){void 0===a&&(a=Promise);var i=new x(s(e,n,r,o),a);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},O(S),l(S,c,"Generator"),l(S,i,(function(){return this})),l(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=D,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return u.type="throw",u.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;N(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),h}},t}function _(e,t){return p(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,u=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw o}}return u}}(e,t)||j(e,t)||g()}function S(e){return p(e)||v(e)||j(e)||g()}function O(e){return function(e){if(Array.isArray(e))return f(e)}(e)||v(e)||j(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}function j(e,t){if(e){if("string"==typeof e)return f(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}var C,R={};function N(){if(C)return R;C=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),s=Symbol.for("react.lazy"),f=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},d=Object.assign,m={};function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}function h(){}function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==x(e)&&"function"!=typeof e&&null!=e)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")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},h.prototype=y.prototype;var g=v.prototype=new h;g.constructor=v,d(g,y.prototype),g.isPureReactComponent=!0;var b=Array.isArray,w=Object.prototype.hasOwnProperty,k={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function _(t,n,r){var o,a={},i=null,u=null;if(null!=n)for(o in void 0!==n.ref&&(u=n.ref),void 0!==n.key&&(i=""+n.key),n)w.call(n,o)&&!E.hasOwnProperty(o)&&(a[o]=n[o]);var c=arguments.length-2;if(1===c)a.children=r;else if(1<c){for(var l=Array(c),s=0;s<c;s++)l[s]=arguments[s+2];a.children=l}if(t&&t.defaultProps)for(o in c=t.defaultProps)void 0===a[o]&&(a[o]=c[o]);return{$$typeof:e,type:t,key:i,ref:u,props:a,_owner:k.current}}function S(t){return"object"===x(t)&&null!==t&&t.$$typeof===e}var O=/\/+/g;function j(e,t){return"object"===x(e)&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function N(n,r,o,a,i){var u=x(n);"undefined"!==u&&"boolean"!==u||(n=null);var c=!1;if(null===n)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case e:case t:c=!0}}if(c)return i=i(c=n),n=""===a?"."+j(c,0):a,b(i)?(o="",null!=n&&(o=n.replace(O,"$&/")+"/"),N(i,r,o,"",(function(e){return e}))):null!=i&&(S(i)&&(i=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(i,o+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(O,"$&/")+"/")+n)),r.push(i)),1;if(c=0,a=""===a?".":a+":",b(n))for(var l=0;l<n.length;l++){var s=a+j(u=n[l],l);c+=N(u,r,o,s,i)}else if(s=function(e){return null===e||"object"!==x(e)?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(n),"function"==typeof s)for(n=s.call(n),l=0;!(u=n.next()).done;)c+=N(u=u.value,r,o,s=a+j(u,l++),i);else if("object"===u)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}function P(e,t,n){if(null==e)return e;var r=[],o=0;return N(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function D(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var L={current:null},T={transition:null},F={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:T,ReactCurrentOwner:k};function $(){throw Error("act(...) is not supported in production builds of React.")}return R.Children={map:P,forEach:function(e,t,n){P(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},R.Component=y,R.Fragment=n,R.Profiler=o,R.PureComponent=v,R.StrictMode=r,R.Suspense=c,R.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=F,R.act=$,R.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=d({},t.props),a=t.key,i=t.ref,u=t._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,u=k.current),void 0!==n.key&&(a=""+n.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(l in n)w.call(n,l)&&!E.hasOwnProperty(l)&&(o[l]=void 0===n[l]&&void 0!==c?c[l]:n[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){c=Array(l);for(var s=0;s<l;s++)c[s]=arguments[s+2];o.children=c}return{$$typeof:e,type:t.type,key:a,ref:i,props:o,_owner:u}},R.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},R.createElement=_,R.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},R.createRef=function(){return{current:null}},R.forwardRef=function(e){return{$$typeof:u,render:e}},R.isValidElement=S,R.lazy=function(e){return{$$typeof:s,_payload:{_status:-1,_result:e},_init:D}},R.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},R.startTransition=function(e){var t=T.transition;T.transition={};try{e()}finally{T.transition=t}},R.unstable_act=$,R.useCallback=function(e,t){return L.current.useCallback(e,t)},R.useContext=function(e){return L.current.useContext(e)},R.useDebugValue=function(){},R.useDeferredValue=function(e){return L.current.useDeferredValue(e)},R.useEffect=function(e,t){return L.current.useEffect(e,t)},R.useId=function(){return L.current.useId()},R.useImperativeHandle=function(e,t,n){return L.current.useImperativeHandle(e,t,n)},R.useInsertionEffect=function(e,t){return L.current.useInsertionEffect(e,t)},R.useLayoutEffect=function(e,t){return L.current.useLayoutEffect(e,t)},R.useMemo=function(e,t){return L.current.useMemo(e,t)},R.useReducer=function(e,t,n){return L.current.useReducer(e,t,n)},R.useRef=function(e){return L.current.useRef(e)},R.useState=function(e){return L.current.useState(e)},R.useSyncExternalStore=function(e,t,n){return L.current.useSyncExternalStore(e,t,n)},R.useTransition=function(){return L.current.useTransition()},R.version="18.3.1",R}var P,D,L={exports:{}};function T(){return P||(P=1,e=L,t=L.exports,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),y=Symbol.iterator;function h(e){if(null===e||"object"!==x(e))return null;var t=y&&e[y]||e["@@iterator"];return"function"==typeof t?t:null}var v={current:null},g={transition:null},b={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},w={current:null},k={},E=null;function _(e){E=e}k.setExtraStackFrame=function(e){E=e},k.getCurrentStack=null,k.getStackAddendum=function(){var e="";E&&(e+=E);var t=k.getCurrentStack;return t&&(e+=t()||""),e};var S={ReactCurrentDispatcher:v,ReactCurrentBatchConfig:g,ReactCurrentOwner:w};function O(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];C("warn",e,n)}function j(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];C("error",e,n)}function C(e,t,n){var r=S.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var o=n.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}S.ReactDebugCurrentFrame=k,S.ReactCurrentActQueue=b;var R={};function N(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",o=r+"."+t;R[o]||(j("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,r),R[o]=!0)}var P={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){N(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){N(e,"replaceState")},enqueueSetState:function(e,t,n,r){N(e,"setState")}},D=Object.assign,L={};function T(e,t,n){this.props=e,this.context=t,this.refs=L,this.updater=n||P}Object.freeze(L),T.prototype.isReactComponent={},T.prototype.setState=function(e,t){if("object"!==x(e)&&"function"!=typeof e&&null!=e)throw new 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")},T.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var F={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},$=function(e,t){Object.defineProperty(T.prototype,e,{get:function(){O("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var A in F)F.hasOwnProperty(A)&&$(A,F[A]);function I(){}function B(e,t,n){this.props=e,this.context=t,this.refs=L,this.updater=n||P}I.prototype=T.prototype;var M=B.prototype=new I;M.constructor=B,D(M,T.prototype),M.isPureReactComponent=!0;var V=Array.isArray;function z(e){return V(e)}function U(e){return""+e}function q(e){if(function(e){try{return U(e),!1}catch(e){return!0}}(e))return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),U(e)}function W(e){return e.displayName||"Context"}function Y(e){if(null==e)return null;if("number"==typeof e.tag&&j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case o:return"Fragment";case r:return"Portal";case i:return"Profiler";case a:return"StrictMode";case s:return"Suspense";case f:return"SuspenseList"}if("object"===x(e))switch(e.$$typeof){case c:return W(e)+".Consumer";case u:return W(e._context)+".Provider";case l:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:Y(e.type)||"Memo";case d:var n=e,m=n._payload,y=n._init;try{return Y(y(m))}catch(e){return null}}return null}var G,H,K,J=Object.prototype.hasOwnProperty,X={key:!0,ref:!0,__self:!0,__source:!0};function Z(e){if(J.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function Q(e){if(J.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}K={};var ee=function(e,t,r,o,a,i,u){var c={$$typeof:n,type:e,key:t,ref:r,props:u,_owner:i,_store:{}};return Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c};function te(e,t,n){var r,o={},a=null,i=null,u=null,c=null;if(null!=t)for(r in Z(t)&&(i=t.ref,function(e){if("string"==typeof e.ref&&w.current&&e.__self&&w.current.stateNode!==e.__self){var t=Y(w.current.type);K[t]||(j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),K[t]=!0)}}(t)),Q(t)&&(q(t.key),a=""+t.key),u=void 0===t.__self?null:t.__self,c=void 0===t.__source?null:t.__source,t)J.call(t,r)&&!X.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(l>1){for(var s=Array(l),f=0;f<l;f++)s[f]=arguments[f+2];Object.freeze&&Object.freeze(s),o.children=s}if(e&&e.defaultProps){var p=e.defaultProps;for(r in p)void 0===o[r]&&(o[r]=p[r])}if(a||i){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&function(e,t){var n=function(){G||(G=!0,j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(o,d),i&&function(e,t){var n=function(){H||(H=!0,j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(o,d)}return ee(e,a,i,u,c,w.current,o)}function ne(e,t,n){if(null==e)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r,o,a=D({},e.props),i=e.key,u=e.ref,c=e._self,l=e._source,s=e._owner;if(null!=t)for(r in Z(t)&&(u=t.ref,s=w.current),Q(t)&&(q(t.key),i=""+t.key),e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)J.call(t,r)&&!X.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==o?a[r]=o[r]:a[r]=t[r]);var f=arguments.length-2;if(1===f)a.children=n;else if(f>1){for(var p=Array(f),d=0;d<f;d++)p[d]=arguments[d+2];a.children=p}return ee(e.type,i,u,c,l,s,a)}function re(e){return"object"===x(e)&&null!==e&&e.$$typeof===n}var oe,ae=!1,ie=/\/+/g;function ue(e){return e.replace(ie,"$&/")}function ce(e,t){return"object"===x(e)&&null!==e&&null!=e.key?(q(e.key),n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function le(e,t,o,a,i){var u=x(e);"undefined"!==u&&"boolean"!==u||(e=null);var c,l,s,f=!1;if(null===e)f=!0;else switch(u){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case n:case r:f=!0}}if(f){var p=e,d=i(p),m=""===a?"."+ce(p,0):a;if(z(d)){var y="";null!=m&&(y=ue(m)+"/"),le(d,t,y,"",(function(e){return e}))}else null!=d&&(re(d)&&(!d.key||p&&p.key===d.key||q(d.key),c=d,l=o+(!d.key||p&&p.key===d.key?"":ue(""+d.key)+"/")+m,d=ee(c.type,l,c.ref,c._self,c._source,c._owner,c.props)),t.push(d));return 1}var v=0,g=""===a?".":a+":";if(z(e))for(var b=0;b<e.length;b++)v+=le(s=e[b],t,o,g+ce(s,b),i);else{var w=h(e);if("function"==typeof w){var k=e;w===k.entries&&(ae||O("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ae=!0);for(var E,_=w.call(k),S=0;!(E=_.next()).done;)v+=le(s=E.value,t,o,g+ce(s,S++),i)}else if("object"===u){var j=String(e);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===j?"object with keys {"+Object.keys(e).join(", ")+"}":j)+"). If you meant to render a collection of children, use an array instead.")}}return v}function se(e,t,n){if(null==e)return e;var r=[],o=0;return le(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function fe(e){if(-1===e._status){var t=(0,e._result)();if(t.then((function(t){if(0===e._status||-1===e._status){var n=e;n._status=1,n._result=t}}),(function(t){if(0===e._status||-1===e._status){var n=e;n._status=2,n._result=t}})),-1===e._status){var n=e;n._status=0,n._result=t}}if(1===e._status){var r=e._result;return void 0===r&&j("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",r),"default"in r||j("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",r),r.default}throw e._result}function pe(e){return"string"==typeof e||"function"==typeof e||e===o||e===i||e===a||e===s||e===f||e===m||"object"===x(e)&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===u||e.$$typeof===c||e.$$typeof===l||e.$$typeof===oe||void 0!==e.getModuleId)}function de(){var e=v.current;return null===e&&j("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."),e}oe=Symbol.for("react.module.reference");var me,ye,he,ve,ge,be,we,ke=0;function Ee(){}Ee.__reactDisabledLog=!0;var _e,Se=S.ReactCurrentDispatcher;function Oe(e,t,n){if(void 0===_e)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);_e=r&&r[1]||""}return"\n"+_e+e}var xe,je=!1,Ce="function"==typeof WeakMap?WeakMap:Map;function Re(e,t){if(!e||je)return"";var n,r=xe.get(e);if(void 0!==r)return r;je=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=Se.current,Se.current=null,function(){if(0===ke){me=console.log,ye=console.info,he=console.warn,ve=console.error,ge=console.group,be=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ee,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ke++}();try{if(t){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"===("undefined"==typeof Reflect?"undefined":x(Reflect))&&Reflect.construct){try{Reflect.construct(i,[])}catch(e){n=e}Reflect.construct(e,[],i)}else{try{i.call()}catch(e){n=e}e.call(i.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var u=t.stack.split("\n"),c=n.stack.split("\n"),l=u.length-1,s=c.length-1;l>=1&&s>=0&&u[l]!==c[s];)s--;for(;l>=1&&s>=0;l--,s--)if(u[l]!==c[s]){if(1!==l||1!==s)do{if(l--,--s<0||u[l]!==c[s]){var f="\n"+u[l].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&xe.set(e,f),f}}while(l>=1&&s>=0);break}}}finally{je=!1,Se.current=o,function(){if(0==--ke){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},e,{value:me}),info:D({},e,{value:ye}),warn:D({},e,{value:he}),error:D({},e,{value:ve}),group:D({},e,{value:ge}),groupCollapsed:D({},e,{value:be}),groupEnd:D({},e,{value:we})})}ke<0&&j("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var p=e?e.displayName||e.name:"",d=p?Oe(p):"";return"function"==typeof e&&xe.set(e,d),d}function Ne(e,t,n){if(null==e)return"";if("function"==typeof e)return Re(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return Oe(e);switch(e){case s:return Oe("Suspense");case f:return Oe("SuspenseList")}if("object"===x(e))switch(e.$$typeof){case l:return Re(e.render,!1);case p:return Ne(e.type,t,n);case d:var r=e,o=r._payload,a=r._init;try{return Ne(a(o),t,n)}catch(e){}}return""}xe=new Ce;var Pe,De={},Le=S.ReactDebugCurrentFrame;function Te(e){if(e){var t=e._owner,n=Ne(e.type,e._source,t?t.type:null);Le.setExtraStackFrame(n)}else Le.setExtraStackFrame(null)}function Fe(e){if(e){var t=e._owner;_(Ne(e.type,e._source,t?t.type:null))}else _(null)}function $e(){if(w.current){var e=Y(w.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Pe=!1;var Ae={};function Ie(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=$e();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!Ae[n]){Ae[n]=!0;var r="";e&&e._owner&&e._owner!==w.current&&(r=" It was passed a child from "+Y(e._owner.type)+"."),Fe(e),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),Fe(null)}}}function Be(e,t){if("object"===x(e))if(z(e))for(var n=0;n<e.length;n++){var r=e[n];re(r)&&Ie(r,t)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var o=h(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)re(a.value)&&Ie(a.value,t)}}function Me(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!==x(n)||n.$$typeof!==l&&n.$$typeof!==p)return;t=n.propTypes}if(t){var r=Y(n);!function(e,t,n,r,o){var a=Function.call.bind(J);for(var i in e)if(a(e,i)){var u=void 0;try{if("function"!=typeof e[i]){var c=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+x(e[i])+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}u=e[i](t,i,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){u=e}!u||u instanceof Error||(Te(o),j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,i,x(u)),Te(null)),u instanceof Error&&!(u.message in De)&&(De[u.message]=!0,Te(o),j("Failed %s type: %s",n,u.message),Te(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||Pe||(Pe=!0,j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Y(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ve(e,t,r){var a,i,u=pe(e);if(!u){var c="";(void 0===e||"object"===x(e)&&null!==e&&0===Object.keys(e).length)&&(c+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var l,s=null!=(a=t)&&void 0!==(i=a.__source)?"\n\nCheck your code at "+i.fileName.replace(/^.*[\\\/]/,"")+":"+i.lineNumber+".":"";c+=s||$e(),null===e?l="null":z(e)?l="array":void 0!==e&&e.$$typeof===n?(l="<"+(Y(e.type)||"Unknown")+" />",c=" Did you accidentally export a JSX literal instead of a component?"):l=x(e),j("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",l,c)}var f=te.apply(this,arguments);if(null==f)return f;if(u)for(var p=2;p<arguments.length;p++)Be(arguments[p],e);return e===o?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){Fe(e),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),Fe(null);break}}null!==e.ref&&(Fe(e),j("Invalid attribute `ref` supplied to `React.Fragment`."),Fe(null))}(f):Me(f),f}var ze=!1,Ue=!1,qe=null,We=0,Ye=!1;function Ge(e){var t=We;We++,null===b.current&&(b.current=[]);var n,r=b.isBatchingLegacy;try{if(b.isBatchingLegacy=!0,n=e(),!r&&b.didScheduleLegacyUpdate){var o=b.current;null!==o&&(b.didScheduleLegacyUpdate=!1,Xe(o))}}catch(e){throw He(t),e}finally{b.isBatchingLegacy=r}if(null!==n&&"object"===x(n)&&"function"==typeof n.then){var a=n,i=!1,u={then:function(e,n){i=!0,a.then((function(r){He(t),0===We?Ke(r,e,n):e(r)}),(function(e){He(t),n(e)}))}};return Ye||"undefined"==typeof Promise||Promise.resolve().then((function(){})).then((function(){i||(Ye=!0,j("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))})),u}var c=n;if(He(t),0===We){var l=b.current;return null!==l&&(Xe(l),b.current=null),{then:function(e,t){null===b.current?(b.current=[],Ke(c,e,t)):e(c)}}}return{then:function(e,t){e(c)}}}function He(e){e!==We-1&&j("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),We=e}function Ke(t,n,r){var o=b.current;if(null!==o)try{Xe(o),function(t){if(null===qe)try{var n=("require"+Math.random()).slice(0,7);qe=(e&&e[n]).call(e,"timers").setImmediate}catch(e){qe=function(e){!1===Ue&&(Ue=!0,"undefined"==typeof MessageChannel&&j("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}qe(t)}((function(){0===o.length?(b.current=null,n(t)):Ke(t,n,r)}))}catch(e){r(e)}else n(t)}var Je=!1;function Xe(e){if(!Je){Je=!0;var t=0;try{for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}e.length=0}catch(n){throw e=e.slice(t+1),n}finally{Je=!1}}}var Ze=Ve,Qe=function(e,t,n){for(var r=ne.apply(this,arguments),o=2;o<arguments.length;o++)Be(arguments[o],r.type);return Me(r),r},et=function(e){var t=Ve.bind(null,e);return t.type=e,ze||(ze=!0,O("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return O("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},tt={map:se,forEach:function(e,t,n){se(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return se(e,(function(){t++})),t},toArray:function(e){return se(e,(function(e){return e}))||[]},only:function(e){if(!re(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}};t.Children=tt,t.Component=T,t.Fragment=o,t.Profiler=i,t.PureComponent=B,t.StrictMode=a,t.Suspense=s,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=S,t.act=Ge,t.cloneElement=Qe,t.createContext=function(e){var t={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:u,_context:t};var n=!1,r=!1,o=!1,a={$$typeof:c,_context:t};return Object.defineProperties(a,{Provider:{get:function(){return r||(r=!0,j("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),t.Provider},set:function(e){t.Provider=e}},_currentValue:{get:function(){return t._currentValue},set:function(e){t._currentValue=e}},_currentValue2:{get:function(){return t._currentValue2},set:function(e){t._currentValue2=e}},_threadCount:{get:function(){return t._threadCount},set:function(e){t._threadCount=e}},Consumer:{get:function(){return n||(n=!0,j("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(e){o||(O("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),o=!0)}}}),t.Consumer=a,t._currentRenderer=null,t._currentRenderer2=null,t},t.createElement=Ze,t.createFactory=et,t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===p?j("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?j("forwardRef requires a render function but was given %s.",null===e?"null":x(e)):0!==e.length&&2!==e.length&&j("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||j("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,n={$$typeof:l,render:e};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(n){t=n,e.name||e.displayName||(e.displayName=n)}}),n},t.isValidElement=re,t.lazy=function(e){var t,n,r={$$typeof:d,_payload:{_status:-1,_result:e},_init:fe};return Object.defineProperties(r,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){j("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(r,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return n},set:function(e){j("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),n=e,Object.defineProperty(r,"propTypes",{enumerable:!0})}}}),r},t.memo=function(e,t){pe(e)||j("memo: The first argument must be a component. Instead received: %s",null===e?"null":x(e));var n,r={$$typeof:p,type:e,compare:void 0===t?null:t};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(e.displayName=t)}}),r},t.startTransition=function(e,t){var n=g.transition;g.transition={};var r=g.transition;g.transition._updatedFibers=new Set;try{e()}finally{g.transition=n,null===n&&r._updatedFibers&&(r._updatedFibers.size>10&&O("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),r._updatedFibers.clear())}},t.unstable_act=Ge,t.useCallback=function(e,t){return de().useCallback(e,t)},t.useContext=function(e){var t=de();if(void 0!==e._context){var n=e._context;n.Consumer===e?j("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):n.Provider===e&&j("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},t.useDebugValue=function(e,t){return de().useDebugValue(e,t)},t.useDeferredValue=function(e){return de().useDeferredValue(e)},t.useEffect=function(e,t){return de().useEffect(e,t)},t.useId=function(){return de().useId()},t.useImperativeHandle=function(e,t,n){return de().useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return de().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return de().useLayoutEffect(e,t)},t.useMemo=function(e,t){return de().useMemo(e,t)},t.useReducer=function(e,t,n){return de().useReducer(e,t,n)},t.useRef=function(e){return de().useRef(e)},t.useState=function(e){return de().useState(e)},t.useSyncExternalStore=function(e,t,n){return de().useSyncExternalStore(e,t,n)},t.useTransition=function(){return de().useTransition()},t.version="18.3.1","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),L.exports;var e,t}function F(){return D||(D=1,"production"===process.env.NODE_ENV?s.exports=N():s.exports=T()),s.exports}var $=F(),A=l($),I="h9tkkeg",B="lz9sagk",M="he1ymcw",V="c1q2rf33",z="lhk53ap",U="h1t46rpg",q="gq5m3p7",W="hky03d0",Y="i1lmmgv6",G="hpmrvhc",H="l8q9wny";function K(t){var n,r,o=t.reference;if((null===(n=null==o?void 0:o.category)||void 0===n?void 0:n.title)===e.REST){var a=o.context;r=A.createElement(X,{label:a.method.title,subtitle:"".concat(a.path.title)})}return A.createElement("div",{className:U},A.createElement(Z,{title:o.title||""}),r,A.createElement("div",{className:q},A.createElement(J,{reference:o}),A.createElement(It,{examples:o.examples})))}function J(e){var t,n=e.reference;return A.createElement("div",{className:W},null===(t=null==n?void 0:n.definitions)||void 0===t?void 0:t.map((function(e,t){var n;return A.createElement("div",{key:t},(null===(n=e.properties)||void 0===n?void 0:n.length)&&A.createElement("div",{key:t,className:Y},A.createElement(Q,{title:e.title.title}),A.createElement(le,{properties:e.properties})))})))}function X(e){var t=e.label,n=e.subtitle;return A.createElement(A.Fragment,null,A.createElement("div",{className:M},A.createElement("span",{className:V},A.createElement("span",{className:z},t.toUpperCase()),A.createElement("span",null,n))))}function Z(e){var t=e.title;return A.createElement(A.Fragment,null,A.createElement("h1",{className:I},A.createElement("a",{className:B},t)))}function Q(e){var t=e.title;return A.createElement(A.Fragment,null,A.createElement("h1",{className:G},A.createElement("a",{className:H},t)))}function ee(e){return e?e.title?e.title:e:""}var te={host:"h1b8wz9m"},ne={host:"h1ayic9k"},re={host:"hkisad5"},oe={host:"h159tzrk"},ae={host:"ht6ukcw"},ie={host:"h1hhb1ak"},ue={host:"h1ud1m37",host$$expanded:"h1fjyrqx",box:"b12sxrry",ul:"u1hrqzjh",li:"l1ofrsp8"},ce={host:"hmjvvs5",link:"l9u79h5"};function le(e){var t=e.properties;return A.createElement("ul",{className:te.host},null==t?void 0:t.map((function(e,t){return A.createElement("li",{className:ne.host,key:t},A.createElement("dl",{className:oe.host},A.createElement(se,{name:"name",value:ee(e.name)}),A.createElement(fe,{name:"type",value:ee(e.type)})),A.createElement("div",{className:re.host},e.children),e.properties?A.createElement(pe,{properties:e.properties}):null)})))}function se(e){e.name;var t=e.value;return A.createElement(A.Fragment,null,A.createElement("dd",null,A.createElement("code",{className:ae.host},t)))}function fe(e){e.name;var t=e.value;return A.createElement(A.Fragment,null,A.createElement("dd",null,A.createElement("code",{className:ie.host},t)))}function pe(e){var t=e.properties,n=_($.useState(!1),2),r=n[0],o=n[1];return A.createElement(A.Fragment,null,A.createElement(de,{onClick:function(){return o(!r)},isExpanded:r}),A.createElement("div",{className:"".concat(ue.host," ").concat(r&&ue.host$$expanded)},A.createElement("div",{className:ue.box},A.createElement("ul",{role:"list",className:ue.ul},null==t?void 0:t.map((function(e,t){return A.createElement("li",{className:ue.li,key:t},A.createElement("dl",{className:oe.host},A.createElement(se,{name:"name",value:ee(e.name)}),A.createElement(fe,{name:"type",value:ee(e.type)})),A.createElement("div",{className:re.host},e.children),e.properties?A.createElement(pe,{properties:e.properties}):null)}))))))}function de(e){return A.createElement("button",{"aria-expanded":e.isExpanded,"aria-controls":"chat/object-usage_table",onClick:e.onClick,className:ce.host},A.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 24 24"},A.createElement("path",{fillRule:"evenodd",d:e.isExpanded?"M12 8a1 1 0 0 1 .707.293l7 7a1 1 0 0 1-1.414 1.414L12 10.414l-6.293 6.293a1 1 0 0 1-1.414-1.414l7-7A1 1 0 0 1 12 8Z":"M4.293 8.293a1 1 0 0 1 1.414 0L12 14.586l6.293-6.293a1 1 0 1 1 1.414 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})),A.createElement("span",{className:ce.link},e.isExpanded?"Hide properties":"Show properties"))}var me={host:"h47igvr"};function ye(e){var r=e.text,o=_($.useState(!1),2),a=o[0],i=o[1];return A.createElement("button",{"aria-label":"Copy to clipboard",onClick:function(){navigator.clipboard.writeText(r),i(!0),setTimeout((function(){i(!1)}),1200)},className:me.host},a?A.createElement(t,{size:16}):A.createElement(n,{size:16}))}function he(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function ve(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{c(r.next(e))}catch(e){a(e)}}function u(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,u)}c((r=r.apply(e,t||[])).next())}))}function ge(e,t,n){return be.apply(this,arguments)}function be(){return(be=m(E().mark((function e(t,n,r){var o,a,i,u,c;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=[],a=t,e.next=4,we(a,n,r);case 4:return i=e.sent,u=i.code,c=i.annotations,o=[].concat(O(o),O(c)),a=u,e.abrupt("return",{code:a,annotations:o});case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function we(e,t){return ke.apply(this,arguments)}function ke(){return ke=m(E().mark((function e(t,n){var r,o,a,u,c,l=arguments;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=l.length>2&&void 0!==l[2]?l[2]:"!",o=function(e){var t,n=new RegExp("\\s*(".concat(r,"?[\\w-]+)?(\\([^\\)]*\\)|\\[[^\\]]*\\])?(.*)$")),o=e.match(n);if(!o)return null;var a=o[1],i=o[2],u=null===(t=o[3])||void 0===t?void 0:t.trim();return a&&a.startsWith(r)?{name:a.slice(r.length),rangeString:i,query:u}:null},e.next=4,i(t,n,o);case 4:return a=e.sent,u=a.code,c=a.annotations,e.abrupt("return",{code:u,annotations:c});case 8:case"end":return e.stop()}}),e)}))),ke.apply(this,arguments)}function Ee(e){return!_e(e)}function _e(e){return e.hasOwnProperty("lineNumber")}function Se(e){return"string"==typeof e}"function"==typeof SuppressedError&&SuppressedError;var Oe=["color"];function xe(e,t){return je.apply(this,arguments)}function je(){return je=m(E().mark((function e(t,n){var r,o,a,i,l,s,f,p,d,m,y,h,v,g,b=arguments;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=b.length>2&&void 0!==b[2]?b[2]:{},o=t.value,a=t.lang,i=void 0===a?"txt":a,c.includes(i)||(console.warn('Code Hike warning: Unknown language "'.concat(i,'"')),i="txt"),e.next=5,ge(o,i,r.annotationPrefix||"!");case 5:return l=e.sent,s=l.code,f=l.annotations,e.next=10,u(s,i,n,{annotations:[],scopes:!1});case 10:return p=e.sent,d=p.lines,m=p.lang,y=p.style,h=Re(d),v=Ne(h),g=Pe(v),e.abrupt("return",w(w({},t),{},{code:s,tokens:g,lang:m,annotations:Ce(f),themeName:"string"==typeof n?n:(null==n?void 0:n.name)||"unknown",style:y}));case 18:case"end":return e.stop()}}),e)}))),je.apply(this,arguments)}function Ce(e){var t,n=[],r=y(e);try{for(r.s();!(t=r.n()).done;){var o,a=t.value,i=a.name,u=a.query,c=y(a.ranges);try{for(c.s();!(o=c.n()).done;){var l=o.value;if(l.lineNumber){var s=l.lineNumber,f=l.fromColumn,p=l.toColumn;n.push({name:i,query:u,lineNumber:s,fromColumn:f,toColumn:p})}else{var d=l.fromLineNumber,m=l.toLineNumber;n.push({name:i,query:u,fromLineNumber:d,toLineNumber:m})}}}catch(e){c.e(e)}finally{c.f()}}}catch(e){r.e(e)}finally{r.f()}return n}function Re(e){var t=[];return e.forEach((function(n,r){if("lines"in n)throw new Error("Shouldnt be groups");var o=function(e){return e.map((function(e){if("tokens"in e)throw new Error("Shouldnt be groups");var t=[e.content],n=e.style||{},r=n.color,o=k(n,Oe);return t.push(r),Object.keys(o).length&&t.push(o),t}))}(n.tokens);t.push.apply(t,O(o)),r<e.length-1&&t.push("\n")})),t}function Ne(e){var t=[];return e.forEach((function(e){if(Se(e))t.push(e);else{var n=function(e){var t=e.trim(),n=e.slice(0,e.indexOf(t)),r=e.slice(e.indexOf(t)+t.length);return[n,t,r]}(e[0]),r=_(n,3),o=r[0],a=r[1],i=r[2];if((null==o?void 0:o.length)&&t.push(o),a.length){var u=O(e);u[0]=a,t.push(u)}(null==i?void 0:i.length)&&t.push(i)}})),t}function Pe(e){var t=[];return e.forEach((function(e){if(Se(e)){var n=t[t.length-1];n&&Se(n)?t[t.length-1]+=e:""!==e&&t.push(e)}else e[0].length>0&&t.push(e)})),t}var De,Le={exports:{}},Te={};var Fe,$e,Ae={};function Ie(){return Fe||(Fe=1,"production"!==process.env.NODE_ENV&&function(){var e=F(),t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),s=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),m=Symbol.iterator;var y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function h(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];!function(e,t,n){var r=y.ReactDebugCurrentFrame,o=r.getStackAddendum();""!==o&&(t+="%s",n=n.concat([o]));var a=n.map((function(e){return String(e)}));a.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,a)}("error",e,n)}var v;function g(e){return e.displayName||"Context"}function b(e){if(null==e)return null;if("number"==typeof e.tag&&h("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case l:return"Suspense";case s:return"SuspenseList"}if("object"===x(e))switch(e.$$typeof){case u:return g(e)+".Consumer";case i:return g(e._context)+".Provider";case c:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case f:var t=e.displayName||null;return null!==t?t:b(e.type)||"Memo";case p:var d=e,m=d._payload,y=d._init;try{return b(y(m))}catch(e){return null}}return null}v=Symbol.for("react.module.reference");var w,k,E,_,S,O,j,C=Object.assign,R=0;function N(){}N.__reactDisabledLog=!0;var P,D=y.ReactCurrentDispatcher;function L(e,t,n){if(void 0===P)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);P=r&&r[1]||""}return"\n"+P+e}var T,$=!1,A="function"==typeof WeakMap?WeakMap:Map;function I(e,t){if(!e||$)return"";var n,r=T.get(e);if(void 0!==r)return r;$=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=D.current,D.current=null,function(){if(0===R){w=console.log,k=console.info,E=console.warn,_=console.error,S=console.group,O=console.groupCollapsed,j=console.groupEnd;var e={configurable:!0,enumerable:!0,value:N,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}R++}();try{if(t){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"===("undefined"==typeof Reflect?"undefined":x(Reflect))&&Reflect.construct){try{Reflect.construct(i,[])}catch(e){n=e}Reflect.construct(e,[],i)}else{try{i.call()}catch(e){n=e}e.call(i.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var u=t.stack.split("\n"),c=n.stack.split("\n"),l=u.length-1,s=c.length-1;l>=1&&s>=0&&u[l]!==c[s];)s--;for(;l>=1&&s>=0;l--,s--)if(u[l]!==c[s]){if(1!==l||1!==s)do{if(l--,--s<0||u[l]!==c[s]){var f="\n"+u[l].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&T.set(e,f),f}}while(l>=1&&s>=0);break}}}finally{$=!1,D.current=o,function(){if(0==--R){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:C({},e,{value:w}),info:C({},e,{value:k}),warn:C({},e,{value:E}),error:C({},e,{value:_}),group:C({},e,{value:S}),groupCollapsed:C({},e,{value:O}),groupEnd:C({},e,{value:j})})}R<0&&h("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var p=e?e.displayName||e.name:"",d=p?L(p):"";return"function"==typeof e&&T.set(e,d),d}function B(e,t,n){if(null==e)return"";if("function"==typeof e)return I(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return L(e);switch(e){case l:return L("Suspense");case s:return L("SuspenseList")}if("object"===x(e))switch(e.$$typeof){case c:return I(e.render,!1);case f:return B(e.type,t,n);case p:var o=e,a=o._payload,i=o._init;try{return B(i(a),t,n)}catch(e){}}return""}T=new A;var M=Object.prototype.hasOwnProperty,V={},z=y.ReactDebugCurrentFrame;function U(e){if(e){var t=e._owner,n=B(e.type,e._source,t?t.type:null);z.setExtraStackFrame(n)}else z.setExtraStackFrame(null)}var q=Array.isArray;function W(e){return q(e)}function Y(e){return""+e}function G(e){if(function(e){try{return Y(e),!1}catch(e){return!0}}(e))return h("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),Y(e)}var H,K,J=y.ReactCurrentOwner,X={key:!0,ref:!0,__self:!0,__source:!0};function Z(e,n,r,o,a){var i,u={},c=null,l=null;for(i in void 0!==r&&(G(r),c=""+r),function(e){if(M.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(n)&&(G(n.key),c=""+n.key),function(e){if(M.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(n)&&(l=n.ref,function(e){"string"==typeof e.ref&&J.current}(n)),n)M.call(n,i)&&!X.hasOwnProperty(i)&&(u[i]=n[i]);if(e&&e.defaultProps){var s=e.defaultProps;for(i in s)void 0===u[i]&&(u[i]=s[i])}if(c||l){var f="function"==typeof e?e.displayName||e.name||"Unknown":e;c&&function(e,t){var n=function(){H||(H=!0,h("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(u,f),l&&function(e,t){var n=function(){K||(K=!0,h("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(u,f)}return function(e,n,r,o,a,i,u){var c={$$typeof:t,type:e,key:n,ref:r,props:u,_owner:i,_store:{}};return Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c}(e,c,l,a,o,J.current,u)}var Q,ee=y.ReactCurrentOwner,te=y.ReactDebugCurrentFrame;function ne(e){if(e){var t=e._owner,n=B(e.type,e._source,t?t.type:null);te.setExtraStackFrame(n)}else te.setExtraStackFrame(null)}function re(e){return"object"===x(e)&&null!==e&&e.$$typeof===t}function oe(){if(ee.current){var e=b(ee.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Q=!1;var ae={};function ie(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=oe();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!ae[n]){ae[n]=!0;var r="";e&&e._owner&&e._owner!==ee.current&&(r=" It was passed a child from "+b(e._owner.type)+"."),ne(e),h('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),ne(null)}}}function ue(e,t){if("object"===x(e))if(W(e))for(var n=0;n<e.length;n++){var r=e[n];re(r)&&ie(r,t)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!==x(e))return null;var t=m&&e[m]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)re(a.value)&&ie(a.value,t)}}function ce(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!==x(n)||n.$$typeof!==c&&n.$$typeof!==f)return;t=n.propTypes}if(t){var r=b(n);!function(e,t,n,r,o){var a=Function.call.bind(M);for(var i in e)if(a(e,i)){var u=void 0;try{if("function"!=typeof e[i]){var c=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+x(e[i])+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}u=e[i](t,i,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){u=e}!u||u instanceof Error||(U(o),h("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,i,x(u)),U(null)),u instanceof Error&&!(u.message in V)&&(V[u.message]=!0,U(o),h("Failed %s type: %s",n,u.message),U(null))}}(t,e.props,"prop",r,e)}else if(void 0!==n.PropTypes&&!Q){Q=!0,h("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",b(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||h("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var le={};function se(e,n,m,y,g,w){var k=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===a||e===o||e===l||e===s||e===d||"object"===x(e)&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===i||e.$$typeof===u||e.$$typeof===c||e.$$typeof===v||void 0!==e.getModuleId)}(e);if(!k){var E="";(void 0===e||"object"===x(e)&&null!==e&&0===Object.keys(e).length)&&(E+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var _;E+=oe(),null===e?_="null":W(e)?_="array":void 0!==e&&e.$$typeof===t?(_="<"+(b(e.type)||"Unknown")+" />",E=" Did you accidentally export a JSX literal instead of a component?"):_=x(e),h("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,E)}var S=Z(e,n,m,g,w);if(null==S)return S;if(k){var O=n.children;if(void 0!==O)if(y)if(W(O)){for(var j=0;j<O.length;j++)ue(O[j],e);Object.freeze&&Object.freeze(O)}else h("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ue(O,e)}if(M.call(n,"key")){var C=b(e),R=Object.keys(n).filter((function(e){return"key"!==e})),N=R.length>0?"{key: someKey, "+R.join(": ..., ")+": ...}":"{key: someKey}";if(!le[C+N])h('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',N,C,R.length>0?"{"+R.join(": ..., ")+": ...}":"{}",C),le[C+N]=!0}return e===r?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){ne(e),h("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),ne(null);break}}null!==e.ref&&(ne(e),h("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}(S):ce(S),S}var fe=function(e,t,n){return se(e,t,n,!1)},pe=function(e,t,n){return se(e,t,n,!0)};Ae.Fragment=r,Ae.jsx=fe,Ae.jsxs=pe}()),Ae}var Be=($e||($e=1,"production"===process.env.NODE_ENV?Le.exports=function(){if(De)return Te;De=1;var e=F(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(e,n,i){var u,c={},l=null,s=null;for(u in void 0!==i&&(l=""+i),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(s=n.ref),n)r.call(n,u)&&!a.hasOwnProperty(u)&&(c[u]=n[u]);if(e&&e.defaultProps)for(u in n=e.defaultProps)void 0===c[u]&&(c[u]=n[u]);return{$$typeof:t,type:e,key:l,ref:s,props:c,_owner:o.current}}return Te.Fragment=n,Te.jsx=i,Te.jsxs=i,Te}():Le.exports=Ie()),Le.exports);function Me(e,t,n){if("children"===t)e.children=n||e.children;else if("_ref"===t)e._ref=n||e._ref;else if("data"===t)e.data=e.data?w(w({},e.data),n):n;else if("className"===t)e.className=[e.className,n].join(" ").trim();else if("style"===t)e.style=w(w({},e.style),n);else if("function"==typeof n){var r=e[t];e[t]=r?function(){r.apply(void 0,arguments),n.apply(void 0,arguments)}:n}else{if(void 0===n||"object"!==x(n)&&n===e[t])return;if(t in e)throw new Error("Didn’t know how to merge prop '".concat(t,"'. ")+"Only 'className', 'style', and event handlers are supported");e[t]=n}}function Ve(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length?t[0]:t.reduce((function(e,t){for(var n in t)Me(e,n,t[n]);return e}),{})}var ze=["merge"],Ue=["_stack"],qe=["_ref","data","children"],We=["merge"],Ye=["_stack"],Ge=["lineNumber","totalLines","indentation","data","annotation"],He=["merge"],Ke=["_stack"],Je=["value","data"],Xe=function(e){var t=Ve(e.merge,k(e,ze)),n=t._stack,r=k(t,Ue),o=S(n),a=o[0],i=o.slice(1);if(a)return Be.jsx(a,w({_stack:i},r));var u=r._ref;r.data;var c=r.children,l=k(r,qe);return Be.jsx("pre",w(w({},l),{},{ref:u,"data-ch":!0,children:Be.jsx("div",{style:{minWidth:"fit-content"},children:c})}))},Ze=function(e){var t=Ve(e.merge,k(e,We)),n=t._stack,r=k(t,Ye),o=S(n),a=o[0],i=o.slice(1);if(a){var u=a.Component,c=a.annotation;return Be.jsx(u,w(w({_stack:i},r),{},{annotation:c}))}r.lineNumber,r.totalLines,r.indentation,r.data,r.annotation;var l=k(r,Ge);return Be.jsx("div",w({},l))},Qe=function(e){var t=Ve(e.merge,k(e,He)),n=t._stack,r=k(t,Ke),o=S(n),a=o[0],i=o.slice(1);if(a){var u=a.Component,c=a.annotation;return Be.jsx(u,w(w({_stack:i},r),{},{annotation:c}))}var l=r.value;r.data;var s=k(r,Je);return Be.jsx("span",w(w({},s),{},{children:l}))},et=function(e){var t=$.useRef(null),n=e._ref||t;return Be.jsx(Xe,{merge:e,_ref:n})};function tt(e,t){var n=[t.fromColumn,t.toColumn],r=nt(e,n[0]);r=nt(r,n[1]+1);var o=[],a=[],i=[];return r.forEach((function(e){e.range[1]<n[0]?o.push(e):e.range[0]>n[1]?i.push(e):a.push(e)})),[].concat(o,[{annotation:t,content:a,range:[a[0].range[0],a[a.length-1].range[1]]}],i)}function nt(e,t){var n=e.findIndex((function(e){return e.range[0]<t&&t<=e.range[1]}));if(-1===n)return e;var r=e[n];if(rt(r)){var o,a=[],i=[],u=y(nt(r.content,t));try{for(u.s();!(o=u.n()).done;){var c=o.value;c.range[1]<t?a.push(c):i.push(c)}}catch(e){u.e(e)}finally{u.f()}return[].concat(O(e.slice(0,n)),[w(w({},r),{},{content:a,range:[r.range[0],t-1]}),w(w({},r),{},{content:i,range:[t,r.range[1]]})],O(e.slice(n+1)))}return[].concat(O(e.slice(0,n)),[w(w({},r),{},{value:r.value.slice(0,t-r.range[0]),range:[r.range[0],t-1]}),w(w({},r),{},{value:r.value.slice(t-r.range[0]),range:[t,r.range[1]]})],O(e.slice(n+1)))}function rt(e){return void 0!==e.content}function ot(e){var t=e.content,n=e.handlers,r=e.annotationStack;return t.map((function(e,t){return rt(e)?Be.jsx(it,{annotationStack:r,handlers:n,group:e},t):e.style?Be.jsx(at,{annotationStack:r,handlers:n,token:e},t):e.value}))}function at(e){var t=e.handlers,n=e.token,r=function(e,t){var n=[];return e.forEach((function(e){var r=e.name,o=e.Token,a=e.AnnotatedToken,i=t.filter((function(e){return e.name===r}));a&&i.forEach((function(e){return n.push({Component:a,annotation:e})})),o&&(i.length||n.push({Component:o}),i.forEach((function(e){return n.push({Component:o,annotation:e})})))})),n}(t,e.annotationStack);return Be.jsx(Qe,{merge:{_stack:r,style:n.style,value:n.value}})}function it(e){var t,n=e.group,r=e.handlers,o=e.annotationStack,a=n.annotation,i=n.content,u=a.name,c=ot({content:i,handlers:r,annotationStack:[].concat(O(o),[a])}),l=null===(t=r.find((function(e){return e.name===u})))||void 0===t?void 0:t.Inline;return l?Be.jsx(l,{annotation:a,children:c}):c}function ut(e,t){var n=[t.fromLineNumber,t.toLineNumber],r=ct(e,n[0]);r=ct(r,n[1]+1);var o=[],a=[],i=[];return r.forEach((function(e){e.range[1]<n[0]?o.push(e):e.range[0]>n[1]?i.push(e):a.push(e)})),[].concat(o,[{annotation:t,lines:a,range:[a[0].range[0],a[a.length-1].range[1]]}],i)}function ct(e,t){var n=e.findIndex((function(e){return lt(e)&&e.range[0]<t&&t<=e.range[1]}));if(-1===n)return e;var r=e[n],o=ct(r.lines,t),a=[],i=[];return o.forEach((function(e){e.range[1]<t?a.push(e):i.push(e)})),[].concat(O(e.slice(0,n)),[w(w({},r),{},{lines:a,range:[r.range[0],t-1]}),w(w({},r),{},{lines:i,range:[t,r.range[1]]})],O(e.slice(n+1)))}function lt(e){return void 0!==e.annotation}function st(e){var t=e.linesOrGroups,n=e.handlers,r=e.inlineAnnotations,o=e.annotationStack,a=void 0===o?[]:o;return t.map((function(e){return lt(e)?Be.jsx(pt,{group:e,handlers:n,inlineAnnotations:r,annotationStack:a},e.range[0]):Be.jsx(ft,{line:e,handlers:n,inlineAnnotations:r,annotationStack:a},e.lineNumber)}))}function ft(e){var t=e.line,n=e.handlers,r=e.inlineAnnotations,o=e.annotationStack,a=void 0===o?[]:o,i=t.lineNumber,u=t.totalLines,c=t.indentation,l=r.filter((function(e){return e.lineNumber===i})),s=function(e,t){for(var n=e,r=t.length-1;r>=0;r--)n=tt(n,t[r]);return n}(t.tokens,l),f=function(e,t){var n=[];return e.forEach((function(e){var r=e.name,o=e.Line,a=e.AnnotatedLine,i=t.filter((function(e){return e.name===r}));a&&i.forEach((function(e){n.push({Component:a,annotation:e})})),o&&(i.length||n.push({Component:o}),i.forEach((function(e){n.push({Component:o,annotation:e})})))})),n}(n,a),p=ot({content:s,handlers:n,annotationStack:a}),d={lineNumber:i,indentation:c,totalLines:u,_stack:f};return Be.jsx(Ze,{merge:d,children:p},i)}function pt(e){var t,n=e.group,r=e.handlers,o=e.inlineAnnotations,a=e.annotationStack,i=n.annotation,u=n.lines,c=i.name,l=null===(t=r.find((function(e){return e.name===c})))||void 0===t?void 0:t.Block,s=st({linesOrGroups:u,handlers:r,inlineAnnotations:o,annotationStack:[].concat(O(a),[i])});return l?Be.jsx(l,{annotation:i,children:s}):s}var dt=["code","handlers"],mt=$.forwardRef((function(e,t){var n=e.code,r=e.handlers,o=void 0===r?[]:r,a=k(e,dt),i=n.tokens,u=n.themeName,c=n.lang,l=n.annotations;if(!i)throw new Error("Missing tokens in code block. Use the `highlight` function to generate the tokens.");o.filter((function(e){return e.transform})).forEach((function(e){l=l.flatMap((function(t){return e.name!=t.name?t:e.transform(t)||[]}))}));var s=new Set(l.map((function(e){return e.name}))),f=o.filter((function(e){return!e.onlyIfAnnotated||s.has(e.name)})),p=function(e){var t=e.map((function(e){return e.Pre})).filter(Boolean),n=e.map((function(e){return e.PreWithRef})).filter(Boolean);n.length>0&&n.unshift(et);return[].concat(O(t),O(n))}(f),d={_stack:p,_ref:t};return Be.jsx(Xe,w(w({merge:d,"data-theme":u,"data-lang":c},a),{},{children:Be.jsx(yt,{tokens:i,handlers:f,annotations:l})}))}));function yt(e){var t=e.tokens,n=e.handlers,r=e.annotations,o=function(e){for(var t=[[]],n=e.slice(),r=1;n.length;){var o=n.shift();if("string"==typeof o){var a=S(o.split("\n")),i=a[0],u=a.slice(1);if(i){var c=r;r+=i.length,t[t.length-1].push({value:i,range:[c,r]})}u.length&&(t[t.length-1].push({value:"\n",range:[r,r+1]}),t.push([]),r=1,n.unshift(u.join("\n")))}else{var l=_(o,3),s=l[0],f=l[1],p=l[2],d=void 0===p?{}:p,m=r;r+=s.length,t[t.length-1].push({value:s,style:w({color:f},d),range:[m,r]})}}var y=t.length;return t.map((function(e,t){var n,r,o;return{tokens:e,range:[t+1,t+1],lineNumber:t+1,indentation:(null===(o=null===(r=null===(n=e[0])||void 0===n?void 0:n.value)||void 0===r?void 0:r.replace(/\t/g," ").match(/^\s*/))||void 0===o?void 0:o[0].length)||0,totalLines:y}}))}(t),a=r.filter(Ee),i=r.filter(_e),u=function(e,t){for(var n=e,r=t.length-1;r>=0;r--)n=ut(n,t[r]);return n}(o,a);return st({linesOrGroups:u,handlers:n,inlineAnnotations:i})}var ht={type:"light",colors:{"list.focusForeground":"#FFFFFF","scrollbar.shadow":"#ffffff00","tab.activeBorder":"#ffffff","widget.shadow":"#ffffff00","activityBar.border":"#D9D7D5","editorGroup.border":"#D9D7D5","editorGroupHeader.tabsBorder":"#D9D7D5","editorWidget.border":"#D9D7D5","editorWidget.resizeBorder":"#D9D7D5","input.border":"#D9D7D5","notificationCenter.border":"#D9D7D5","notifications.border":"#D9D7D5","panel.border":"#D9D7D5","sideBar.border":"#D9D7D5","statusBar.border":"#D9D7D5","tab.border":"#D9D7D5","activityBar.background":"#ECECEC","statusBar.background":"#ECECEC","statusBar.noFolderBackground":"#ECECEC","statusBar.debuggingBackground":"#ECECEC","editorGroupHeader.tabsBackground":"#F5F5F5","editorWidget.background":"#F5F5F5","sideBar.background":"#F5F5F5","sideBarSectionHeader.background":"#F5F5F5","tab.inactiveBackground":"#F5F5F5","activityBarBadge.background":"#282828","activityBar.foreground":"#282828","statusBar.foreground":"#565456","input.placeholderForeground":"#C7C6C5","editorLineNumber.foreground":"#A6A6A6","editorLineNumber.activeForeground":"#282828",foreground:"#282828","panelTitle.activeForeground":"#282828","sideBarTitle.foreground":"#282828","sideBarSectionHeader.foreground":"#282828","panelTitle.inactiveForeground":"#242424","tab.inactiveForeground":"#242424","list.highlightForeground":"#242424","editor.lineHighlightBackground":"#EEF5FE",focusBorder:"#82ADF3","button.background":"#3C93FD","list.activeSelectionBackground":"#3C93FD","list.focusBackground":"#3C93FD","selection.background":"#B3D7FF","list.inactiveSelectionBackground":"#CECECE","terminal.ansiBlack":"#000000","terminal.ansiBrightBlack":"#000000","terminal.ansiRed":"#C41A16","terminal.ansiBrightRed":"#C41A16","terminal.ansiGreen":"#007400","terminal.ansiBrightGreen":"#007400","terminal.ansiYellow":"#643820","terminal.ansiBrightYellow":"#643820","terminal.ansiBlue":"#272AD8","terminal.ansiBrightBlue":"#272AD8","terminal.ansiMagenta":"#AA0D91","terminal.ansiBrightMagenta":"#AA0D91","terminal.ansiCyan":"#3F6E74","terminal.ansiBrightCyan":"#3F6E74"},tokenColors:[{scope:"new.expr entity.name",settings:{foreground:"#713DA9"}},{name:"Comments",scope:["comment","comment storage.type"],settings:{foreground:"#536579",fontStyle:"italic"}},{name:"CSS",scope:["entity.other.attribute-name.pseudo-class.css","entity.other.attribute-name.pseudo-class.scss","entity.other.attribute-name.pseudo-element.css","entity.other.attribute-name.pseudo-element.scss","support.function.calc.css","support.function.calc.scss","support.type.property-name.css","support.type.property-name.scss","support.type.vendored.property-name.css","support.type.vendored.property-name.scss","meta.property-value.css support.constant","meta.property-value.scss support.constant","meta.property-value.css support.constant.property-value","meta.property-value.scss support.constant.property-value","support.function.transform.css","support.function.transform.scss"],settings:{foreground:"#AA0D91"}},{name:"Decorator",scope:["meta.decorator","meta.decorator punctuation.decorator","meta.decorator variable.other.readwrite","meta.decorator meta.function-call entity.name.function"],settings:{foreground:"#643820"}},{name:"Doctype",scope:["meta.tag.sgml.html"],settings:{foreground:"#A6A6A6"}},{name:"Functions",scope:["entity.name.function","support.function"],settings:{foreground:"#7051d4"}},{name:"Keys",scope:["meta.property-list meta.property-name","support.type.property-name","support.type.map.key","entity.name.tag.yaml"],settings:{foreground:"#7051d4"}},{name:"Keywords",scope:["keyword.control","keyword.declaration","keyword.expressions-and-types","keyword.operator.new","keyword.reserved","keyword.statement","storage.type","storage.modifier","constant.language","variable.language.super","variable.language.this","text.html entity.name.tag","meta.tag entity.name.tag","meta.tag support.class","string.regexp keyword.other"],settings:{foreground:"#AD3DA4",fontStyle:"bold"}},{name:"Operators",scope:["storage.type.function.arrow","meta.template.expression punctuation","punctuation.separator.key-value","meta.object-literal.key meta.brace.square","meta.template.expression keyword.operator","keyword.operator.or.regexp","keyword.operator.quantifier","punctuation.definition.group.regexp","punctuation.definition.character-class"],settings:{foreground:"#000000"}},{scope:["meta.tag entity.other.attribute-name","constant.character.escape.backslash"],settings:{foreground:"#816927"}},{name:"Numbers",scope:["constant.numeric","keyword.other.unit","constant.other.color"],settings:{foreground:"#272AD8"}},{name:"Strings",scope:["string","variable.parameter.url.scss","markup.heading.markdown","beginning.punctuation.definition.list.markdown","meta.template.expression meta.embedded punctuation.definition.string.begin","meta.template.expression meta.embedded punctuation.definition.string.end"],settings:{foreground:"#D12F1B"}},{name:"Types",scope:["meta.type","meta.return.type","entity.name.type","support.type.primitive"],settings:{foreground:"#713DA9"}},{scope:["meta.objectliteral variable.other.object","entity.name.type.module","entity.other.inherited-class","variable.scss","variable.other.bracket.shell","entity.name.function.scss"],settings:{foreground:"#3F6E74"}},{scope:["keyword.control.at-rule","meta.import variable.other.readwrite","meta.definition.variable variable.other.readwrite","meta.definition.variable variable.other.constant","meta.template.expression variable.other.readwrite","meta.template.expression variable.other.constant","support.constant.property-value"],settings:{foreground:"#000000"}},{scope:["variable.other.property","variable.other.object.property","support.variable.property"],settings:{foreground:"#713DA9"}}]};var vt,gt={host:"h1ur68ey"},bt={host:"hp2fg9q",list:"l1u5q09",button:"b1g5l43",description:"d1x4vxzj",description$item:"d1n1kybx",copy:"c1qxxuld"},wt={host:"h1gfddng"},kt="h1h0n8u6",Et="l12klvp",_t="_4uqa3m",St="h18n51vi",Ot=(vt=a.Root,function(e){var t=_($.useState("undefined"!=typeof localStorage&&(null===localStorage||void 0===localStorage?void 0:localStorage.getItem(e.localStorageKey))||e.defaultValue),2),n=t[0],r=t[1];return $.useEffect((function(){var t=function(t){t.key===e.localStorageKey&&r(t.newValue||e.defaultValue)};return window.addEventListener("storage",t),function(){window.removeEventListener("storage",t)}}),[e.localStorageKey]),A.createElement(vt,{onValueChange:function(t){localStorage.setItem(e.localStorageKey,t),window.dispatchEvent(new StorageEvent("storage",{key:e.localStorageKey,newValue:t}))},value:n},e.children)});function xt(e){var t,n,r,o,i=_($.useState([]),2),u=i[0],c=i[1];return $.useEffect((function(){!function(){ve(this,void 0,void 0,E().mark((function t(){var n,r;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all(null===(n=e.codeblocks)||void 0===n?void 0:n.map((function(e){return xe(e,ht)})));case 2:r=t.sent,c(r);case 4:case"end":return t.stop()}}),t)})))}()}),[e.codeblocks]),0===u.length?A.createElement("div",null,"Loading"):u?A.createElement(Ot,{className:gt.host,style:null===(t=u[0])||void 0===t?void 0:t.style,localStorageKey:"preferredLanguage[".concat(name,"]"),defaultValue:null===(n=u[0])||void 0===n?void 0:n.meta},A.createElement("div",{className:bt.host},A.createElement(jt,{description:e.description}),A.createElement(a.List,{className:bt.list},null===(r=e.codeblocks)||void 0===r?void 0:r.map((function(e,t){var n=e.meta;return A.createElement(a.Trigger,{value:n,key:t,className:bt.button},n)}))),A.createElement("div",{className:bt.copy},null===(o=e.codeblocks)||void 0===o?void 0:o.map((function(e,t){return A.createElement(a.Content,{value:e.meta,asChild:!0,key:t},A.createElement(ye,{text:e.value}))})))),null==u?void 0:u.map((function(e,t){return A.createElement(a.Content,{value:e.meta,key:t},A.createElement(mt,{className:wt.host,style:(null==e?void 0:e.style)||(null==e?void 0:e.style),code:e,handlers:[Ct,Rt]}))}))):A.createElement("div",null,"Loading")}function jt(e){return A.createElement("div",{className:bt.description},A.createElement("div",{className:bt.description$item},e.description))}var Ct={name:"Mark",Line:function(e){var t=e.annotation,n=he(e,["annotation"]);return A.createElement("div",{className:"".concat(kt," ").concat(t&&_t)},A.createElement(Ze,{merge:n,className:Et}))}},Rt={name:"LineNumber",Line:function(e){e.annotation;var t=he(e,["annotation"]),n=t.totalLines.toString().length+1;return A.createElement(A.Fragment,null,A.createElement("span",{style:{minWidth:"".concat(n,"ch")},className:St},t.lineNumber),A.createElement(Ze,{merge:t}))}},Nt={host:"h1de1isv",container:"c174knag"},Pt={host:"hdr58em",icon:"izmf263"},Dt={host:"h1olbpn1",container:"c1dubejs"},Lt={host:"he063xp",$$active:"_lt697q"};function Tt(e){var t=e.examples,n=e.activeExample,a=e.onClick,i=_($.useState(!1),2),u=i[0],c=i[1],l=_($.useState(!1),2),s=l[0],f=l[1],p=$.useRef(null),d=function(){if(p.current){var e=p.current,t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;c(t>0),f(t<n-r)}};$.useEffect((function(){return d(),window.addEventListener("resize",d),function(){return window.removeEventListener("resize",d)}}),[]);var m=function(e){if(p.current){var t="left"===e?-200:200;p.current.scrollBy({left:t,behavior:"smooth"})}};return A.createElement("div",{className:Nt.host},A.createElement("div",{className:Nt.container},u&&A.createElement("button",{onClick:function(){return m("left")},className:Pt.host},A.createElement(r,{className:Pt.icon})),A.createElement("div",{ref:p,onScroll:d,className:Dt.host},A.createElement("div",{className:Dt.container},t.map((function(e){return A.createElement(Ft,{key:e.codeblock.title,onClick:function(){return a(e)},example:e,activeExample:n},ee(e.codeblock.title||null))})))),s&&A.createElement("button",{onClick:function(){return m("right")},className:Pt.host},A.createElement(o,{className:Pt.icon}))))}function Ft(e){var t,n,r=e.onClick,o=e.children,a=e.activeExample,i=e.example,u=(null==a?void 0:a.description)&&(null==a?void 0:a.description)===(null==i?void 0:i.description)||(null===(t=null==a?void 0:a.codeblock)||void 0===t?void 0:t.title)&&(null===(n=null==a?void 0:a.codeblock)||void 0===n?void 0:n.title)===i.codeblock.title;return A.createElement("button",{onClick:r,className:"".concat(Lt.host," ").concat(u&&Lt.$$active)},o)}var $t={host:"hskauww"},At={host:"h1nkbfqz"};function It(e){var t=e.examples;return A.createElement("div",{className:$t.host},t.groups.map((function(e,t){var n,r,o=e.description,a=e.examples,i=_($.useState(null==a?void 0:a[0]),2),u=i[0],c=i[1],l=null===(r=null===(n=null==u?void 0:u.codeblock)||void 0===n?void 0:n.tabs)||void 0===r?void 0:r.map((function(e){return e.code}));return A.createElement("div",{key:t,className:At.host},(null==a?void 0:a.length)>1?A.createElement(Tt,{activeExample:u,examples:a,onClick:function(e){c(e)}}):null,A.createElement(xt,{name:String(t),description:(null==o?void 0:o.title)||"",codeblocks:l||[]}))})))}var Bt="h5edgc7";function Mt(e){return A.createElement("div",{className:Bt},e.references.map((function(e,t){return A.createElement("div",{key:t},A.createElement(K,{reference:e}))})))}var Vt="h12vpet9",zt="_18e99ku";function Ut(e){return e.references.map((function(t,n){var r;return A.createElement(A.Fragment,null,A.createElement("div",{key:n,className:"".concat(Vt," ").concat(0===n&&zt),"data-slug":"".concat(e.urlPrefix,"/").concat(null===(r=t.canonical)||void 0===r?void 0:r.title)},A.createElement(qt,{reference:t,onLoad:n===e.references.length-1?e.onLoaded:null})))}))}function qt(e){var t=e.reference,n=e.onLoad;return $.useEffect((function(){n&&n()}),[]),A.createElement(A.Fragment,null,A.createElement(K,{reference:t}))}export{Mt as Atlas,Ut as AtlasLazy};
1
+ import e,{useState as t,useRef as n,forwardRef as r,useEffect as o}from"react";import{ReferenceCategory as a}from"@xyd-js/uniform";import{CheckCheck as i,Copy as l,ChevronLeft as c,ChevronRight as u}from"lucide-react";import*as s from"@radix-ui/react-tabs";import{extractAnnotations as f,highlight as p,LANG_NAMES as d}from"@code-hike/lighter";var m="h9tkkeg",h="lz9sagk",v="he1ymcw",y="c1q2rf33",g="lhk53ap",b="h1t46rpg",k="gq5m3p7",E="hky03d0",w="i1lmmgv6",x="hpmrvhc",S="l8q9wny";function j(t){var n,r,o=t.reference;switch(null===(n=null==o?void 0:o.category)||void 0===n?void 0:n.title){case a.REST:var i=o.context;if(!(i&&i.method&&i.path&&i.path.title))break;r=e.createElement(O,{label:i.method.title,subtitle:"".concat(decodeURIComponent(i.path.title))})}return e.createElement("div",{className:b},e.createElement(C,{title:o.title||""}),r,o.description.children,e.createElement("div",{className:k},e.createElement(N,{reference:o}),o.examples&&e.createElement(Lt,{examples:o.examples})))}function N(t){var n,r=t.reference;return e.createElement("div",{className:E},null===(n=null==r?void 0:r.definitions)||void 0===n?void 0:n.map((function(t,n){var r;return e.createElement("div",{key:n},(null===(r=t.properties)||void 0===r?void 0:r.length)&&e.createElement("div",{key:n,className:w},e.createElement(D,{title:t.title.title}),e.createElement(ne,{properties:t.properties})))})))}function O(t){var n=t.label,r=t.subtitle;return e.createElement(e.Fragment,null,e.createElement("div",{className:v},e.createElement("span",{className:y},e.createElement("span",{className:g},n.toUpperCase()),e.createElement("span",null,r))))}function C(t){var n=t.title;return e.createElement(e.Fragment,null,e.createElement("h1",{className:m},e.createElement("a",{className:h},n)))}function D(t){var n=t.title;return e.createElement(e.Fragment,null,e.createElement("h1",{className:x},e.createElement("a",{className:S},n)))}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function F(e){if(Array.isArray(e))return e}function L(e,t,n,r,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){L(a,r,o,i,l,"next",e)}function l(e){L(a,r,o,i,l,"throw",e)}i(void 0)}))}}function P(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=K(e))||t){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}function B(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function T(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach((function(t){B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function q(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function z(){z=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var a=t&&t.prototype instanceof y?t:y,i=Object.create(a.prototype),l=new _(r||[]);return o(i,"_invoke",{value:N(e,n,l)}),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var p="suspendedStart",d="suspendedYield",m="executing",h="completed",v={};function y(){}function g(){}function b(){}var k={};u(k,i,(function(){return this}));var E=Object.getPrototypeOf,w=E&&E(E(F([])));w&&w!==n&&r.call(w,i)&&(k=w);var x=b.prototype=y.prototype=Object.create(k);function S(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function n(o,a,i,l){var c=f(e[o],e,a);if("throw"!==c.type){var u=c.arg,s=u.value;return s&&"object"==typeof s&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){n("next",e,i,l)}),(function(e){n("throw",e,i,l)})):t.resolve(s).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,l)}))}l(c.arg)}var a;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return a=a?a.then(o,o):o()}})}function N(t,n,r){var o=p;return function(a,i){if(o===m)throw Error("Generator is already running");if(o===h){if("throw"===a)throw i;return{value:e,done:!0}}for(r.method=a,r.arg=i;;){var l=r.delegate;if(l){var c=O(l,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var u=f(t,n,r);if("normal"===u.type){if(o=r.done?h:d,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=h,r.method="throw",r.arg=u.arg)}}}function O(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var a=f(o,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,v;var i=a.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function F(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(typeof t+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},S(j.prototype),u(j.prototype,l,(function(){return this})),t.AsyncIterator=j,t.async=function(e,n,r,o,a){void 0===a&&(a=Promise);var i=new j(s(e,n,r,o),a);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},S(x),u(x,c,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=F,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return l.type="throw",l.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;D(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:F(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function G(e,t){return F(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return l}}(e,t)||K(e,t)||T()}function M(e){return F(e)||R(e)||K(e)||T()}function W(e){return function(e){if(Array.isArray(e))return _(e)}(e)||R(e)||K(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e){return H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H(e)}function K(e,t){if(e){if("string"==typeof e)return _(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}function U(e){return e?e.title?e.title:e:""}var V={host:"h1b8wz9m"},Y={host:"h1ayic9k"},J={host:"hkisad5"},X={host:"h159tzrk"},Z={host:"ht6ukcw"},Q={host:"h1hhb1ak",link:"l1ud1m37"},ee={host:"h1fjyrqx",host$$expanded:"h12sxrry",box:"b1hrqzjh",ul:"u1ofrsp8",li:"lmjvvs5"},te={host:"h9u79h5",link:"l16o3qrr"};function ne(t){var n=t.properties;return e.createElement("ul",{className:V.host},null==n?void 0:n.map((function(t,n){return e.createElement("li",{className:Y.host,key:n},e.createElement("dl",{className:X.host},e.createElement(re,{name:"name",value:U(t.name)}),e.createElement(oe,{name:"type",value:U(t.type),href:le(t)})),e.createElement("div",{className:J.host},t.children),t.properties?e.createElement(ae,{properties:t.properties}):null)})))}function re(t){t.name;var n=t.value;return e.createElement(e.Fragment,null,e.createElement("dd",null,e.createElement("code",{className:Z.host},n)))}function oe(t){t.name;var n=t.value,r=t.href;return e.createElement(e.Fragment,null,e.createElement("dd",null,e.createElement("code",{className:Q.host},r?e.createElement("a",{className:Q.link,href:r},n):n)))}function ae(n){var r=n.properties,o=G(t(!1),2),a=o[0],i=o[1];return e.createElement(e.Fragment,null,e.createElement(ie,{onClick:function(){return i(!a)},isExpanded:a}),e.createElement("div",{className:"".concat(ee.host," ").concat(a&&ee.host$$expanded)},e.createElement("div",{className:ee.box},e.createElement("ul",{role:"list",className:ee.ul},null==r?void 0:r.map((function(t,n){return e.createElement("li",{className:ee.li,key:n},e.createElement("dl",{className:X.host},e.createElement(re,{name:"name",value:U(t.name)}),e.createElement(oe,{name:"type",value:U(t.type),href:le(t)})),e.createElement("div",{className:J.host},t.children),t.properties?e.createElement(ae,{properties:t.properties}):null)}))))))}function ie(t){return e.createElement("button",{"aria-expanded":t.isExpanded,"aria-controls":"chat/object-usage_table",onClick:t.onClick,className:te.host},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 24 24"},e.createElement("path",{fillRule:"evenodd",d:t.isExpanded?"M12 8a1 1 0 0 1 .707.293l7 7a1 1 0 0 1-1.414 1.414L12 10.414l-6.293 6.293a1 1 0 0 1-1.414-1.414l7-7A1 1 0 0 1 12 8Z":"M4.293 8.293a1 1 0 0 1 1.414 0L12 14.586l6.293-6.293a1 1 0 1 1 1.414 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})),e.createElement("span",{className:te.link},t.isExpanded?"Hide properties":"Show properties"))}function le(e){var t,n,r,o,a,i,l,c;if("true"!==(null===(n=null===(t=null==e?void 0:e.context)||void 0===t?void 0:t.graphqlBuiltInType)||void 0===n?void 0:n.title))return(null===(o=null===(r=e.context)||void 0===r?void 0:r.graphqlTypeShort)||void 0===o?void 0:o.title)?"/docs/api/graphql/".concat(null===(i=null===(a=e.context)||void 0===a?void 0:a.graphqlTypeShort)||void 0===i?void 0:i.title,"-").concat(U(null===(c=null===(l=e.context)||void 0===l?void 0:l.graphqlTypeFlat)||void 0===c?void 0:c.title)):void 0}var ce={host:"h47igvr"};function ue(n){var r=n.text,o=G(t(!1),2),a=o[0],c=o[1];return e.createElement("button",{"aria-label":"Copy to clipboard",onClick:function(){navigator.clipboard.writeText(r),c(!0),setTimeout((function(){c(!1)}),1200)},className:ce.host},a?e.createElement(i,{size:16}):e.createElement(l,{size:16}))}function se(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function fe(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{c(r.next(e))}catch(e){a(e)}}function l(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}c((r=r.apply(e,t||[])).next())}))}function pe(e,t,n){return de.apply(this,arguments)}function de(){return(de=A(z().mark((function e(t,n,r){var o,a,i,l,c;return z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=[],a=t,e.next=4,me(a,n,r);case 4:return i=e.sent,l=i.code,c=i.annotations,o=[].concat(W(o),W(c)),a=l,e.abrupt("return",{code:a,annotations:o});case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function me(e,t){return he.apply(this,arguments)}function he(){return he=A(z().mark((function e(t,n){var r,o,a,i,l,c=arguments;return z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=c.length>2&&void 0!==c[2]?c[2]:"!",o=function(e){var t,n=new RegExp("\\s*(".concat(r,"?[\\w-]+)?(\\([^\\)]*\\)|\\[[^\\]]*\\])?(.*)$")),o=e.match(n);if(!o)return null;var a=o[1],i=o[2],l=null===(t=o[3])||void 0===t?void 0:t.trim();return a&&a.startsWith(r)?{name:a.slice(r.length),rangeString:i,query:l}:null},e.next=4,f(t,n,o);case 4:return a=e.sent,i=a.code,l=a.annotations,e.abrupt("return",{code:i,annotations:l});case 8:case"end":return e.stop()}}),e)}))),he.apply(this,arguments)}function ve(e){return!ye(e)}function ye(e){return e.hasOwnProperty("lineNumber")}function ge(e){return"string"==typeof e}"function"==typeof SuppressedError&&SuppressedError;var be=["color"];function ke(e,t){return Ee.apply(this,arguments)}function Ee(){return Ee=A(z().mark((function e(t,n){var r,o,a,i,l,c,u,s,f,m,h,v,y,g,b=arguments;return z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=b.length>2&&void 0!==b[2]?b[2]:{},o=t.value,a=t.lang,i=void 0===a?"txt":a,d.includes(i)||(console.warn('Code Hike warning: Unknown language "'.concat(i,'"')),i="txt"),e.next=5,pe(o,i,r.annotationPrefix||"!");case 5:return l=e.sent,c=l.code,u=l.annotations,e.next=10,p(c,i,n,{annotations:[],scopes:!1});case 10:return s=e.sent,f=s.lines,m=s.lang,h=s.style,v=xe(f),y=Se(v),g=je(y),e.abrupt("return",I(I({},t),{},{code:c,tokens:g,lang:m,annotations:we(u),themeName:"string"==typeof n?n:(null==n?void 0:n.name)||"unknown",style:h}));case 18:case"end":return e.stop()}}),e)}))),Ee.apply(this,arguments)}function we(e){var t,n=[],r=P(e);try{for(r.s();!(t=r.n()).done;){var o,a=t.value,i=a.name,l=a.query,c=P(a.ranges);try{for(c.s();!(o=c.n()).done;){var u=o.value;if(u.lineNumber){var s=u.lineNumber,f=u.fromColumn,p=u.toColumn;n.push({name:i,query:l,lineNumber:s,fromColumn:f,toColumn:p})}else{var d=u.fromLineNumber,m=u.toLineNumber;n.push({name:i,query:l,fromLineNumber:d,toLineNumber:m})}}}catch(e){c.e(e)}finally{c.f()}}}catch(e){r.e(e)}finally{r.f()}return n}function xe(e){var t=[];return e.forEach((function(n,r){if("lines"in n)throw new Error("Shouldnt be groups");var o=function(e){return e.map((function(e){if("tokens"in e)throw new Error("Shouldnt be groups");var t=[e.content],n=e.style||{},r=n.color,o=q(n,be);return t.push(r),Object.keys(o).length&&t.push(o),t}))}(n.tokens);t.push.apply(t,W(o)),r<e.length-1&&t.push("\n")})),t}function Se(e){var t=[];return e.forEach((function(e){if(ge(e))t.push(e);else{var n=function(e){var t=e.trim(),n=e.slice(0,e.indexOf(t)),r=e.slice(e.indexOf(t)+t.length);return[n,t,r]}(e[0]),r=G(n,3),o=r[0],a=r[1],i=r[2];if((null==o?void 0:o.length)&&t.push(o),a.length){var l=W(e);l[0]=a,t.push(l)}(null==i?void 0:i.length)&&t.push(i)}})),t}function je(e){var t=[];return e.forEach((function(e){if(ge(e)){var n=t[t.length-1];n&&ge(n)?t[t.length-1]+=e:""!==e&&t.push(e)}else e[0].length>0&&t.push(e)})),t}var Ne,Oe={exports:{}},Ce={};var De,_e,Fe={};function Le(){return De||(De=1,"production"!==process.env.NODE_ENV&&function(){function t(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===R?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case x:return"Portal";case N:return"Profiler";case j:return"StrictMode";case _:return"Suspense";case F:return"SuspenseList"}if("object"===H(e))switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case C:return(e.displayName||"Context")+".Provider";case O:return(e._context.displayName||"Context")+".Consumer";case D:var n=e.render;return(e=e.displayName)||(e=""!==(e=n.displayName||n.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(n=e.displayName||null)?n:t(e.type)||"Memo";case A:n=e._payload,e=e._init;try{return t(e(n))}catch(e){}}return null}function n(e){return""+e}function r(e){try{n(e);var t=!1}catch(e){t=!0}if(t){var r=(t=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),n(e)}}function o(){}function a(e){if(void 0===M)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||"",W=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+M+e+W}function i(e,t){if(!e||U)return"";var n=V.get(e);if(void 0!==n)return n;U=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var r;r=T.H,T.H=null,function(){if(0===G){m=console.log,h=console.info,v=console.warn,y=console.error,g=console.group,b=console.groupCollapsed,k=console.groupEnd;var e={configurable:!0,enumerable:!0,value:o,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}G++}();try{var i={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"===("undefined"==typeof Reflect?"undefined":H(Reflect))&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch((function(){}))}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var l=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");l&&l.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=i.DetermineComponentFrameRoot(),u=c[0],s=c[1];if(u&&s){var f=u.split("\n"),p=s.split("\n");for(c=l=0;l<f.length&&!f[l].includes("DetermineComponentFrameRoot");)l++;for(;c<p.length&&!p[c].includes("DetermineComponentFrameRoot");)c++;if(l===f.length||c===p.length)for(l=f.length-1,c=p.length-1;1<=l&&0<=c&&f[l]!==p[c];)c--;for(;1<=l&&0<=c;l--,c--)if(f[l]!==p[c]){if(1!==l||1!==c)do{if(l--,0>--c||f[l]!==p[c]){var d="\n"+f[l].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&V.set(e,d),d}}while(1<=l&&0<=c);break}}}finally{U=!1,T.H=r,function(){if(0==--G){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:m}),info:I({},e,{value:h}),warn:I({},e,{value:v}),error:I({},e,{value:y}),group:I({},e,{value:g}),groupCollapsed:I({},e,{value:b}),groupEnd:I({},e,{value:k})})}0>G&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=n}return f=(f=e?e.displayName||e.name:"")?a(f):"","function"==typeof e&&V.set(e,f),f}function l(e){if(null==e)return"";if("function"==typeof e){var t=e.prototype;return i(e,!(!t||!t.isReactComponent))}if("string"==typeof e)return a(e);switch(e){case _:return a("Suspense");case F:return a("SuspenseList")}if("object"===H(e))switch(e.$$typeof){case D:return e=i(e.render,!1);case L:return l(e.type);case A:t=e._payload,e=e._init;try{return l(e(t))}catch(e){}}return""}function c(){var e=T.A;return null===e?null:e.getOwner()}function u(){var e=t(this.type);return J[e]||(J[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function s(e,n,o,a,i,l){if("string"==typeof e||"function"==typeof e||e===S||e===N||e===j||e===_||e===F||e===P||"object"===H(e)&&null!==e&&(e.$$typeof===A||e.$$typeof===L||e.$$typeof===C||e.$$typeof===O||e.$$typeof===D||e.$$typeof===q||void 0!==e.getModuleId)){var s=n.children;if(void 0!==s)if(a)if(z(s)){for(a=0;a<s.length;a++)f(s[a],e);Object.freeze&&Object.freeze(s)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(s,e)}else s="",(void 0===e||"object"===H(e)&&null!==e&&0===Object.keys(e).length)&&(s+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),null===e?a="null":z(e)?a="array":void 0!==e&&e.$$typeof===w?(a="<"+(t(e.type)||"Unknown")+" />",s=" Did you accidentally export a JSX literal instead of a component?"):a=H(e),console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",a,s);if($.call(n,"key")){s=t(e);var p=Object.keys(n).filter((function(e){return"key"!==e}));a=0<p.length?"{key: someKey, "+p.join(": ..., ")+": ...}":"{key: someKey}",X[s+a]||(p=0<p.length?"{"+p.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',a,s,p,s),X[s+a]=!0)}if(s=null,void 0!==o&&(r(o),s=""+o),function(e){if($.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(n)&&(r(n.key),s=""+n.key),"key"in n)for(var d in o={},n)"key"!==d&&(o[d]=n[d]);else o=n;return s&&function(e,t){function n(){K||(K=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(o,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,t,n,r,o,a){return n=a.ref,e={$$typeof:w,type:e,key:t,props:a,_owner:o},null!==(void 0!==n?n:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:u}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,s,l,0,c(),o)}function f(e,t){if("object"===H(e)&&e&&e.$$typeof!==Y)if(z(e))for(var n=0;n<e.length;n++){var r=e[n];p(r)&&d(r,t)}else if(p(e))e._store&&(e._store.validated=1);else if(null===e||"object"!==H(e)?n=null:n="function"==typeof(n=B&&e[B]||e["@@iterator"])?n:null,"function"==typeof n&&n!==e.entries&&(n=n.call(e))!==e)for(;!(e=n.next()).done;)p(e.value)&&d(e.value,t)}function p(e){return"object"===H(e)&&null!==e&&e.$$typeof===w}function d(e,n){if(e._store&&!e._store.validated&&null==e.key&&(e._store.validated=1,n=function(e){var n="",r=c();return r&&(r=t(r.type))&&(n="\n\nCheck the render method of `"+r+"`."),n||(e=t(e))&&(n="\n\nCheck the top-level render call using <"+e+">."),n}(n),!Z[n])){Z[n]=!0;var r="";e&&null!=e._owner&&e._owner!==c()&&(r=null,"number"==typeof e._owner.tag?r=t(e._owner.type):"string"==typeof e._owner.name&&(r=e._owner.name),r=" It was passed a child from "+r+".");var o=T.getCurrentStack;T.getCurrentStack=function(){var t=l(e.type);return o&&(t+=o()||""),t},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',n,r),T.getCurrentStack=o}}var m,h,v,y,g,b,k,E=e,w=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),C=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),B=Symbol.iterator,R=Symbol.for("react.client.reference"),T=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=Object.prototype.hasOwnProperty,I=Object.assign,q=Symbol.for("react.client.reference"),z=Array.isArray,G=0;o.__reactDisabledLog=!0;var M,W,K,U=!1,V=new("function"==typeof WeakMap?WeakMap:Map),Y=Symbol.for("react.client.reference"),J={},X={},Z={};Fe.Fragment=S,Fe.jsx=function(e,t,n,r,o){return s(e,t,n,!1,0,o)},Fe.jsxs=function(e,t,n,r,o){return s(e,t,n,!0,0,o)}}()),Fe}var Ae=(_e||(_e=1,"production"===process.env.NODE_ENV?Oe.exports=function(){if(Ne)return Ce;Ne=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(t,n,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==n.key&&(o=""+n.key),"key"in n)for(var a in r={},n)"key"!==a&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:e,type:t,key:o,ref:void 0!==n?n:null,props:r}}return Ce.Fragment=t,Ce.jsx=n,Ce.jsxs=n,Ce}():Oe.exports=Le()),Oe.exports);function Pe(e,t,n){if("children"===t)e.children=n||e.children;else if("_ref"===t)e._ref=n||e._ref;else if("data"===t)e.data=e.data?I(I({},e.data),n):n;else if("className"===t)e.className=[e.className,n].join(" ").trim();else if("style"===t)e.style=I(I({},e.style),n);else if("function"==typeof n){var r=e[t];e[t]=r?function(){r.apply(void 0,arguments),n.apply(void 0,arguments)}:n}else{if(void 0===n||"object"!==H(n)&&n===e[t])return;if(t in e)throw new Error("Didn’t know how to merge prop '".concat(t,"'. ")+"Only 'className', 'style', and event handlers are supported");e[t]=n}}function Be(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length?t[0]:t.reduce((function(e,t){for(var n in t)Pe(e,n,t[n]);return e}),{})}var Re=["merge"],Te=["_stack"],$e=["_ref","data","children"],Ie=["merge"],qe=["_stack"],ze=["lineNumber","totalLines","indentation","data","annotation"],Ge=["merge"],Me=["_stack"],We=["value","data"],He=function(e){var t=Be(e.merge,q(e,Re)),n=t._stack,r=q(t,Te),o=M(n),a=o[0],i=o.slice(1);if(a)return Ae.jsx(a,I({_stack:i},r));var l=r._ref;r.data;var c=r.children,u=q(r,$e);return Ae.jsx("pre",I(I({},u),{},{ref:l,"data-ch":!0,children:Ae.jsx("div",{style:{minWidth:"fit-content"},children:c})}))},Ke=function(e){var t=Be(e.merge,q(e,Ie)),n=t._stack,r=q(t,qe),o=M(n),a=o[0],i=o.slice(1);if(a){var l=a.Component,c=a.annotation;return Ae.jsx(l,I(I({_stack:i},r),{},{annotation:c}))}r.lineNumber,r.totalLines,r.indentation,r.data,r.annotation;var u=q(r,ze);return Ae.jsx("div",I({},u))},Ue=function(e){var t=Be(e.merge,q(e,Ge)),n=t._stack,r=q(t,Me),o=M(n),a=o[0],i=o.slice(1);if(a){var l=a.Component,c=a.annotation;return Ae.jsx(l,I(I({_stack:i},r),{},{annotation:c}))}var u=r.value;r.data;var s=q(r,We);return Ae.jsx("span",I(I({},s),{},{children:u}))},Ve=function(e){var t=n(null),r=e._ref||t;return Ae.jsx(He,{merge:e,_ref:r})};function Ye(e,t){var n=[t.fromColumn,t.toColumn],r=Je(e,n[0]);r=Je(r,n[1]+1);var o=[],a=[],i=[];return r.forEach((function(e){e.range[1]<n[0]?o.push(e):e.range[0]>n[1]?i.push(e):a.push(e)})),[].concat(o,[{annotation:t,content:a,range:[a[0].range[0],a[a.length-1].range[1]]}],i)}function Je(e,t){var n=e.findIndex((function(e){return e.range[0]<t&&t<=e.range[1]}));if(-1===n)return e;var r=e[n];if(Xe(r)){var o,a=[],i=[],l=P(Je(r.content,t));try{for(l.s();!(o=l.n()).done;){var c=o.value;c.range[1]<t?a.push(c):i.push(c)}}catch(e){l.e(e)}finally{l.f()}return[].concat(W(e.slice(0,n)),[I(I({},r),{},{content:a,range:[r.range[0],t-1]}),I(I({},r),{},{content:i,range:[t,r.range[1]]})],W(e.slice(n+1)))}return[].concat(W(e.slice(0,n)),[I(I({},r),{},{value:r.value.slice(0,t-r.range[0]),range:[r.range[0],t-1]}),I(I({},r),{},{value:r.value.slice(t-r.range[0]),range:[t,r.range[1]]})],W(e.slice(n+1)))}function Xe(e){return void 0!==e.content}function Ze(e){var t=e.content,n=e.handlers,r=e.annotationStack;return t.map((function(e,t){return Xe(e)?Ae.jsx(et,{annotationStack:r,handlers:n,group:e},t):e.style?Ae.jsx(Qe,{annotationStack:r,handlers:n,token:e},t):e.value}))}function Qe(e){var t=e.handlers,n=e.token,r=function(e,t){var n=[];return e.forEach((function(e){var r=e.name,o=e.Token,a=e.AnnotatedToken,i=t.filter((function(e){return e.name===r}));a&&i.forEach((function(e){return n.push({Component:a,annotation:e})})),o&&(i.length||n.push({Component:o}),i.forEach((function(e){return n.push({Component:o,annotation:e})})))})),n}(t,e.annotationStack);return Ae.jsx(Ue,{merge:{_stack:r,style:n.style,value:n.value}})}function et(e){var t,n=e.group,r=e.handlers,o=e.annotationStack,a=n.annotation,i=n.content,l=a.name,c=Ze({content:i,handlers:r,annotationStack:[].concat(W(o),[a])}),u=null===(t=r.find((function(e){return e.name===l})))||void 0===t?void 0:t.Inline;return u?Ae.jsx(u,{annotation:a,children:c}):c}function tt(e,t){var n=[t.fromLineNumber,t.toLineNumber],r=nt(e,n[0]);r=nt(r,n[1]+1);var o=[],a=[],i=[];return r.forEach((function(e){e.range[1]<n[0]?o.push(e):e.range[0]>n[1]?i.push(e):a.push(e)})),[].concat(o,[{annotation:t,lines:a,range:[a[0].range[0],a[a.length-1].range[1]]}],i)}function nt(e,t){var n=e.findIndex((function(e){return rt(e)&&e.range[0]<t&&t<=e.range[1]}));if(-1===n)return e;var r=e[n],o=nt(r.lines,t),a=[],i=[];return o.forEach((function(e){e.range[1]<t?a.push(e):i.push(e)})),[].concat(W(e.slice(0,n)),[I(I({},r),{},{lines:a,range:[r.range[0],t-1]}),I(I({},r),{},{lines:i,range:[t,r.range[1]]})],W(e.slice(n+1)))}function rt(e){return void 0!==e.annotation}function ot(e){var t=e.linesOrGroups,n=e.handlers,r=e.inlineAnnotations,o=e.annotationStack,a=void 0===o?[]:o;return t.map((function(e){return rt(e)?Ae.jsx(it,{group:e,handlers:n,inlineAnnotations:r,annotationStack:a},e.range[0]):Ae.jsx(at,{line:e,handlers:n,inlineAnnotations:r,annotationStack:a},e.lineNumber)}))}function at(e){var t=e.line,n=e.handlers,r=e.inlineAnnotations,o=e.annotationStack,a=void 0===o?[]:o,i=t.lineNumber,l=t.totalLines,c=t.indentation,u=r.filter((function(e){return e.lineNumber===i})),s=function(e,t){for(var n=e,r=t.length-1;r>=0;r--)n=Ye(n,t[r]);return n}(t.tokens,u),f=function(e,t){var n=[];return e.forEach((function(e){var r=e.name,o=e.Line,a=e.AnnotatedLine,i=t.filter((function(e){return e.name===r}));a&&i.forEach((function(e){n.push({Component:a,annotation:e})})),o&&(i.length||n.push({Component:o}),i.forEach((function(e){n.push({Component:o,annotation:e})})))})),n}(n,a),p=Ze({content:s,handlers:n,annotationStack:a}),d={lineNumber:i,indentation:c,totalLines:l,_stack:f};return Ae.jsx(Ke,{merge:d,children:p},i)}function it(e){var t,n=e.group,r=e.handlers,o=e.inlineAnnotations,a=e.annotationStack,i=n.annotation,l=n.lines,c=i.name,u=null===(t=r.find((function(e){return e.name===c})))||void 0===t?void 0:t.Block,s=ot({linesOrGroups:l,handlers:r,inlineAnnotations:o,annotationStack:[].concat(W(a),[i])});return u?Ae.jsx(u,{annotation:i,children:s}):s}var lt=["code","handlers"],ct=r((function(e,t){var n=e.code,r=e.handlers,o=void 0===r?[]:r,a=q(e,lt),i=n.tokens,l=n.themeName,c=n.lang,u=n.annotations;if(!i)throw new Error("Missing tokens in code block. Use the `highlight` function to generate the tokens.");o.filter((function(e){return e.transform})).forEach((function(e){u=u.flatMap((function(t){return e.name!=t.name?t:e.transform(t)||[]}))}));var s=new Set(u.map((function(e){return e.name}))),f=o.filter((function(e){return!e.onlyIfAnnotated||s.has(e.name)})),p=function(e){var t=e.map((function(e){return e.Pre})).filter(Boolean),n=e.map((function(e){return e.PreWithRef})).filter(Boolean);n.length>0&&n.unshift(Ve);return[].concat(W(t),W(n))}(f),d={_stack:p,_ref:t};return Ae.jsx(He,I(I({merge:d,"data-theme":l,"data-lang":c},a),{},{children:Ae.jsx(ut,{tokens:i,handlers:f,annotations:u})}))}));function ut(e){var t=e.tokens,n=e.handlers,r=e.annotations,o=function(e){for(var t=[[]],n=e.slice(),r=1;n.length;){var o=n.shift();if("string"==typeof o){var a=M(o.split("\n")),i=a[0],l=a.slice(1);if(i){var c=r;r+=i.length,t[t.length-1].push({value:i,range:[c,r]})}l.length&&(t[t.length-1].push({value:"\n",range:[r,r+1]}),t.push([]),r=1,n.unshift(l.join("\n")))}else{var u=G(o,3),s=u[0],f=u[1],p=u[2],d=void 0===p?{}:p,m=r;r+=s.length,t[t.length-1].push({value:s,style:I({color:f},d),range:[m,r]})}}var h=t.length;return t.map((function(e,t){var n,r,o;return{tokens:e,range:[t+1,t+1],lineNumber:t+1,indentation:(null===(o=null===(r=null===(n=e[0])||void 0===n?void 0:n.value)||void 0===r?void 0:r.replace(/\t/g," ").match(/^\s*/))||void 0===o?void 0:o[0].length)||0,totalLines:h}}))}(t),a=r.filter(ve),i=r.filter(ye),l=function(e,t){for(var n=e,r=t.length-1;r>=0;r--)n=tt(n,t[r]);return n}(o,a);return ot({linesOrGroups:l,handlers:n,inlineAnnotations:i})}var st={type:"light",colors:{"list.focusForeground":"#FFFFFF","scrollbar.shadow":"#ffffff00","tab.activeBorder":"#ffffff","widget.shadow":"#ffffff00","activityBar.border":"#D9D7D5","editorGroup.border":"#D9D7D5","editorGroupHeader.tabsBorder":"#D9D7D5","editorWidget.border":"#D9D7D5","editorWidget.resizeBorder":"#D9D7D5","input.border":"#D9D7D5","notificationCenter.border":"#D9D7D5","notifications.border":"#D9D7D5","panel.border":"#D9D7D5","sideBar.border":"#D9D7D5","statusBar.border":"#D9D7D5","tab.border":"#D9D7D5","activityBar.background":"#ECECEC","statusBar.background":"#ECECEC","statusBar.noFolderBackground":"#ECECEC","statusBar.debuggingBackground":"#ECECEC","editorGroupHeader.tabsBackground":"#F5F5F5","editorWidget.background":"#F5F5F5","sideBar.background":"#F5F5F5","sideBarSectionHeader.background":"#F5F5F5","tab.inactiveBackground":"#F5F5F5","activityBarBadge.background":"#282828","activityBar.foreground":"#282828","statusBar.foreground":"#565456","input.placeholderForeground":"#C7C6C5","editorLineNumber.foreground":"#A6A6A6","editorLineNumber.activeForeground":"#282828",foreground:"#282828","panelTitle.activeForeground":"#282828","sideBarTitle.foreground":"#282828","sideBarSectionHeader.foreground":"#282828","panelTitle.inactiveForeground":"#242424","tab.inactiveForeground":"#242424","list.highlightForeground":"#242424","editor.lineHighlightBackground":"#EEF5FE",focusBorder:"#82ADF3","button.background":"#3C93FD","list.activeSelectionBackground":"#3C93FD","list.focusBackground":"#3C93FD","selection.background":"#B3D7FF","list.inactiveSelectionBackground":"#CECECE","terminal.ansiBlack":"#000000","terminal.ansiBrightBlack":"#000000","terminal.ansiRed":"#C41A16","terminal.ansiBrightRed":"#C41A16","terminal.ansiGreen":"#007400","terminal.ansiBrightGreen":"#007400","terminal.ansiYellow":"#643820","terminal.ansiBrightYellow":"#643820","terminal.ansiBlue":"#272AD8","terminal.ansiBrightBlue":"#272AD8","terminal.ansiMagenta":"#AA0D91","terminal.ansiBrightMagenta":"#AA0D91","terminal.ansiCyan":"#3F6E74","terminal.ansiBrightCyan":"#3F6E74"},tokenColors:[{scope:"new.expr entity.name",settings:{foreground:"#713DA9"}},{name:"Comments",scope:["comment","comment storage.type"],settings:{foreground:"#536579",fontStyle:"italic"}},{name:"CSS",scope:["entity.other.attribute-name.pseudo-class.css","entity.other.attribute-name.pseudo-class.scss","entity.other.attribute-name.pseudo-element.css","entity.other.attribute-name.pseudo-element.scss","support.function.calc.css","support.function.calc.scss","support.type.property-name.css","support.type.property-name.scss","support.type.vendored.property-name.css","support.type.vendored.property-name.scss","meta.property-value.css support.constant","meta.property-value.scss support.constant","meta.property-value.css support.constant.property-value","meta.property-value.scss support.constant.property-value","support.function.transform.css","support.function.transform.scss"],settings:{foreground:"#AA0D91"}},{name:"Decorator",scope:["meta.decorator","meta.decorator punctuation.decorator","meta.decorator variable.other.readwrite","meta.decorator meta.function-call entity.name.function"],settings:{foreground:"#643820"}},{name:"Doctype",scope:["meta.tag.sgml.html"],settings:{foreground:"#A6A6A6"}},{name:"Functions",scope:["entity.name.function","support.function"],settings:{foreground:"#7051d4"}},{name:"Keys",scope:["meta.property-list meta.property-name","support.type.property-name","support.type.map.key","entity.name.tag.yaml"],settings:{foreground:"#7051d4"}},{name:"Keywords",scope:["keyword.control","keyword.declaration","keyword.expressions-and-types","keyword.operator.new","keyword.reserved","keyword.statement","storage.type","storage.modifier","constant.language","variable.language.super","variable.language.this","text.html entity.name.tag","meta.tag entity.name.tag","meta.tag support.class","string.regexp keyword.other"],settings:{foreground:"#AD3DA4",fontStyle:"bold"}},{name:"Operators",scope:["storage.type.function.arrow","meta.template.expression punctuation","punctuation.separator.key-value","meta.object-literal.key meta.brace.square","meta.template.expression keyword.operator","keyword.operator.or.regexp","keyword.operator.quantifier","punctuation.definition.group.regexp","punctuation.definition.character-class"],settings:{foreground:"#000000"}},{scope:["meta.tag entity.other.attribute-name","constant.character.escape.backslash"],settings:{foreground:"#816927"}},{name:"Numbers",scope:["constant.numeric","keyword.other.unit","constant.other.color"],settings:{foreground:"#272AD8"}},{name:"Strings",scope:["string","variable.parameter.url.scss","markup.heading.markdown","beginning.punctuation.definition.list.markdown","meta.template.expression meta.embedded punctuation.definition.string.begin","meta.template.expression meta.embedded punctuation.definition.string.end"],settings:{foreground:"#D12F1B"}},{name:"Types",scope:["meta.type","meta.return.type","entity.name.type","support.type.primitive"],settings:{foreground:"#713DA9"}},{scope:["meta.objectliteral variable.other.object","entity.name.type.module","entity.other.inherited-class","variable.scss","variable.other.bracket.shell","entity.name.function.scss"],settings:{foreground:"#3F6E74"}},{scope:["keyword.control.at-rule","meta.import variable.other.readwrite","meta.definition.variable variable.other.readwrite","meta.definition.variable variable.other.constant","meta.template.expression variable.other.readwrite","meta.template.expression variable.other.constant","support.constant.property-value"],settings:{foreground:"#000000"}},{scope:["variable.other.property","variable.other.object.property","support.variable.property"],settings:{foreground:"#713DA9"}}]};var ft,pt={host:"h1ur68ey"},dt={host:"hp2fg9q",list:"l1u5q09",button:"b1g5l43",description:"d1x4vxzj",description$item:"d1n1kybx",copy:"c1qxxuld"},mt={host:"h1gfddng"},ht="h1h0n8u6",vt="l12klvp",yt="_4uqa3m",gt="h18n51vi",bt=(ft=s.Root,function(n){var r=G(t("undefined"!=typeof localStorage&&(null===localStorage||void 0===localStorage?void 0:localStorage.getItem(n.localStorageKey))||n.defaultValue),2),a=r[0],i=r[1];return o((function(){var e=function(e){e.key===n.localStorageKey&&i(e.newValue||n.defaultValue)};return window.addEventListener("storage",e),function(){window.removeEventListener("storage",e)}}),[n.localStorageKey]),e.createElement(ft,{onValueChange:function(e){localStorage.setItem(n.localStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:n.localStorageKey,newValue:e}))},value:a},n.children)});function kt(n){var r,a,i,l,c=G(t([]),2),u=c[0],f=c[1];return o((function(){!function(){fe(this,void 0,void 0,z().mark((function e(){var t,r;return z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(null===(t=n.codeblocks)||void 0===t?void 0:t.map((function(e){return ke(e,st)})));case 2:r=e.sent,f(r);case 4:case"end":return e.stop()}}),e)})))}()}),[n.codeblocks]),0===u.length?e.createElement("div",null,"Loading"):u?e.createElement(bt,{className:pt.host,style:null===(r=u[0])||void 0===r?void 0:r.style,localStorageKey:"preferredLanguage[".concat(name,"]"),defaultValue:null===(a=u[0])||void 0===a?void 0:a.meta},e.createElement("div",{className:dt.host},e.createElement(Et,{description:n.description}),e.createElement(s.List,{className:dt.list},null===(i=n.codeblocks)||void 0===i?void 0:i.map((function(t,n){var r=t.meta;return e.createElement(s.Trigger,{value:r,key:n,className:dt.button},r)}))),e.createElement("div",{className:dt.copy},null===(l=n.codeblocks)||void 0===l?void 0:l.map((function(t,n){return e.createElement(s.Content,{value:t.meta,asChild:!0,key:n},e.createElement(ue,{text:t.value}))})))),null==u?void 0:u.map((function(t,n){return e.createElement(s.Content,{value:t.meta,key:n},e.createElement(ct,{className:mt.host,style:(null==t?void 0:t.style)||(null==t?void 0:t.style),code:t,handlers:[wt,xt]}))}))):e.createElement("div",null,"Loading")}function Et(t){return e.createElement("div",{className:dt.description},e.createElement("div",{className:dt.description$item},t.description))}var wt={name:"Mark",Line:function(t){var n=t.annotation,r=se(t,["annotation"]);return e.createElement("div",{className:"".concat(ht," ").concat(n&&yt)},e.createElement(Ke,{merge:r,className:vt}))}},xt={name:"LineNumber",Line:function(t){t.annotation;var n=se(t,["annotation"]),r=n.totalLines.toString().length+1;return e.createElement(e.Fragment,null,e.createElement("span",{style:{minWidth:"".concat(r,"ch")},className:gt},n.lineNumber),e.createElement(Ke,{merge:n}))}},St={host:"h1de1isv",container:"c174knag"},jt={host:"hdr58em",icon:"izmf263"},Nt={host:"h1olbpn1",container:"c1dubejs"},Ot={host:"he063xp",$$active:"_lt697q"};function Ct(r){var a=r.examples,i=r.activeExample,l=r.onClick,s=G(t(!1),2),f=s[0],p=s[1],d=G(t(!1),2),m=d[0],h=d[1],v=n(null),y=function(){if(v.current){var e=v.current,t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;p(t>0),h(t<n-r)}};o((function(){return y(),window.addEventListener("resize",y),function(){return window.removeEventListener("resize",y)}}),[]);var g=function(e){if(v.current){var t="left"===e?-200:200;v.current.scrollBy({left:t,behavior:"smooth"})}};return e.createElement("div",{className:St.host},e.createElement("div",{className:St.container},f&&e.createElement("button",{onClick:function(){return g("left")},className:jt.host},e.createElement(c,{className:jt.icon})),e.createElement("div",{ref:v,onScroll:y,className:Nt.host},e.createElement("div",{className:Nt.container},null==a?void 0:a.map((function(t){return e.createElement(Dt,{key:t.codeblock.title,onClick:function(){return l(t)},example:t,activeExample:i},U(t.codeblock.title||null))})))),m&&e.createElement("button",{onClick:function(){return g("right")},className:jt.host},e.createElement(u,{className:jt.icon}))))}function Dt(t){var n,r,o=t.onClick,a=t.children,i=t.activeExample,l=t.example,c=(null==i?void 0:i.description)&&(null==i?void 0:i.description)===(null==l?void 0:l.description)||(null===(n=null==i?void 0:i.codeblock)||void 0===n?void 0:n.title)&&(null===(r=null==i?void 0:i.codeblock)||void 0===r?void 0:r.title)===l.codeblock.title;return e.createElement("button",{onClick:o,className:"".concat(Ot.host," ").concat(c&&Ot.$$active)},a)}var _t={host:"hskauww"},Ft={host:"h1nkbfqz"};function Lt(n){var r,o=n.examples;return e.createElement("div",{className:_t.host},null===(r=o.groups)||void 0===r?void 0:r.map((function(n,r){var o,a,i=n.description,l=n.examples,c=G(t(null==l?void 0:l[0]),2),u=c[0],s=c[1],f=null===(a=null===(o=null==u?void 0:u.codeblock)||void 0===o?void 0:o.tabs)||void 0===a?void 0:a.map((function(e){return e.code}));return e.createElement("div",{key:r,className:Ft.host},(null==l?void 0:l.length)>1?e.createElement(Ct,{activeExample:u,examples:l,onClick:function(e){s(e)}}):null,e.createElement(kt,{name:String(r),description:(null==i?void 0:i.title)||"",codeblocks:f||[]}))})))}var At="h5edgc7";function Pt(t){var n;return e.createElement("div",{className:At},null===(n=t.references)||void 0===n?void 0:n.map((function(t,n){return e.createElement("div",{key:n},e.createElement(j,{reference:Object.assign({},t)}))})))}var Bt="h12vpet9",Rt="_18e99ku";function Tt(t){var n;return null===(n=t.references)||void 0===n?void 0:n.map((function(n,r){var o;return e.createElement(e.Fragment,null,e.createElement("div",{key:r,className:"".concat(Bt," ").concat(0===r&&Rt),"data-slug":"".concat(t.urlPrefix,"/").concat(null===(o=n.canonical)||void 0===o?void 0:o.title)},e.createElement($t,{reference:n,onLoad:r===t.references.length-1?t.onLoaded:null})))}))}function $t(t){var n=t.reference,r=t.onLoad;return o((function(){r&&r()}),[]),e.createElement(e.Fragment,null,e.createElement(j,{reference:n}))}export{Pt as Atlas,Tt as AtlasLazy};
2
+ //# sourceMappingURL=index.js.map