@xyd-js/atlas 0.1.0-xyd.10 → 0.1.0-xyd.12

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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @xyd-js/atlas
2
2
 
3
+ ## 0.1.0-xyd.12
4
+
5
+ ### Patch Changes
6
+
7
+ - refactor, tweaks and ui changes
8
+ - Updated dependencies
9
+ - @xyd-js/uniform@0.1.0-xyd.11
10
+
11
+ ## 0.1.0-xyd.11
12
+
13
+ ### Patch Changes
14
+
15
+ - ui tweaks
16
+ - @xyd-js/uniform@0.1.0-xyd.10
17
+
3
18
  ## 0.1.0-xyd.10
4
19
 
5
20
  ### Patch Changes
@@ -0,0 +1,2 @@
1
+ import e from"react";import"@code-hike/lighter";import"@radix-ui/react-tabs";import"lucide-react";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function r(e){if(Array.isArray(e))return e}function n(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function c(e){n(a,o,i,c,u,"next",e)}function u(e){n(a,o,i,c,u,"throw",e)}c(void 0)}))}}function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=v(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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 i,a=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function u(){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 l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function y(){y=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),c=new T(n||[]);return o(a,"_invoke",{value:_(e,r,c)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p="suspendedStart",h="suspendedYield",m="executing",d="completed",v={};function b(){}function g(){}function w(){}var S={};l(S,a,(function(){return this}));var O=Object.getPrototypeOf,j=O&&O(O(A([])));j&&j!==r&&n.call(j,a)&&(S=j);var E=w.prototype=b.prototype=Object.create(S);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(o,i,a,c){var u=s(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function _(t,r,n){var o=p;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=P(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var l=s(t,r,n);if("normal"===l.type){if(o=n.done?d:h,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function P(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=s(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function N(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 L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return g.prototype=w,o(E,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:g,configurable:!0}),g.displayName=l(w,u,"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,w):(e.__proto__=w,l(e,u,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},k(x.prototype),l(x.prototype,c,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(E),l(E,u,"Generator"),l(E,a,(function(){return this})),l(E,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,T.prototype={constructor:T,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(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=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 r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function p(e,t){return r(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||v(e,t)||u()}function h(e){return r(e)||c(e)||v(e)||u()}function m(e){return function(e){if(Array.isArray(e))return t(e)}(e)||c(e)||v(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 d(e){return d="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},d(e)}function v(e,r){if(e){if("string"==typeof e)return t(e,r);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)?t(e,r):void 0}}function b(e){return e?e.title?e.title:e:""}function g(e){return g="function"==typeof Symbol&&"symbol"==d(Symbol.iterator)?function(e){return d(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":d(e)},g(e)}"function"==typeof SuppressedError&&SuppressedError;var w,S,O,j={exports:{}},E={},k={};O||(O=1,"production"===process.env.NODE_ENV?j.exports=function(){if(w)return E;w=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(t,r,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==r.key&&(o=""+r.key),"key"in r)for(var i in n={},r)"key"!==i&&(n[i]=r[i]);else n=r;return r=n.ref,{$$typeof:e,type:t,key:o,ref:void 0!==r?r:null,props:n}}return E.Fragment=t,E.jsx=r,E.jsxs=r,E}():j.exports=(S||(S=1,"production"!==process.env.NODE_ENV&&function(){function t(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===x?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case p:return"Fragment";case m:return"Profiler";case h:return"StrictMode";case w:return"Suspense";case S:return"SuspenseList";case E:return"Activity"}if("object"===g(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 y:return"Portal";case v:return(e.displayName||"Context")+".Provider";case d:return(e._context.displayName||"Context")+".Consumer";case b:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case O:return null!==(r=e.displayName||null)?r:t(e.type)||"Memo";case j:r=e._payload,e=e._init;try{return t(e(r))}catch(e){}}return null}function r(e){return""+e}function n(e){try{r(e);var t=!1}catch(e){t=!0}if(t){var n=(t=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),r(e)}}function o(e){if(e===p)return"<>";if("object"===g(e)&&null!==e&&e.$$typeof===j)return"<...>";try{var r=t(e);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function i(){return Error("react-stack-top-frame")}function a(){var e=t(this.type);return T[e]||(T[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 c(e,r,o,i,c,f,y,p){var h,m=r.children;if(void 0!==m)if(i)if(N(m)){for(i=0;i<m.length;i++)u(m[i]);Object.freeze&&Object.freeze(m)}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 u(m);if(P.call(r,"key")){m=t(e);var d=Object.keys(r).filter((function(e){return"key"!==e}));i=0<d.length?"{key: someKey, "+d.join(": ..., ")+": ...}":"{key: someKey}",R[m+i]||(d=0<d.length?"{"+d.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} />',i,m,d,m),R[m+i]=!0)}if(m=null,void 0!==o&&(n(o),m=""+o),function(e){if(P.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(r)&&(n(r.key),m=""+r.key),"key"in r)for(var v in o={},r)"key"!==v&&(o[v]=r[v]);else o=r;return m&&function(e,t){function r(){l||(l=!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))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,t,r,n,o,i,c,u){return r=i.ref,e={$$typeof:s,type:e,key:t,props:i,_owner:o},null!==(void 0!==r?r:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:a}):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.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:c}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:u}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,m,f,0,null===(h=_.A)?null:h.getOwner(),o,y,p)}function u(e){"object"===g(e)&&null!==e&&e.$$typeof===s&&e._store&&(e._store.validated=1)}var l,f=e,s=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),v=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),x=Symbol.for("react.client.reference"),_=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P=Object.prototype.hasOwnProperty,N=Array.isArray,L=console.createTask?console.createTask:function(){return null},T={},A=(f={"react-stack-bottom-frame":function(e){return e()}})["react-stack-bottom-frame"].bind(f,i)(),I=L(o(i)),R={};k.Fragment=p,k.jsx=function(e,t,r,n,i){var a=1e4>_.recentlyCreatedOwnerStacks++;return c(e,t,r,!1,0,i,a?Error("react-stack-top-frame"):A,a?L(o(e)):I)},k.jsxs=function(e,t,r,n,i){var a=1e4>_.recentlyCreatedOwnerStacks++;return c(e,t,r,!0,0,i,a?Error("react-stack-top-frame"):A,a?L(o(e)):I)}}()),k)),j.exports;var x="d38bb27";function _(t){var r=t.size,n=void 0===r?"medium":r,o=t.className;return e.createElement("div",{className:"\n ".concat("h1q2kcy0","\n ").concat("small"===n&&"_8rdt3l","\n ").concat("large"===n&&"_1f7km1o","\n ").concat(o,"\n ")},e.createElement("div",{className:"dse1ken"},e.createElement("div",{className:x}),e.createElement("div",{className:x}),e.createElement("div",{className:x})))}function P(){return e.createElement("div",{className:"hwih9s3"},e.createElement(_,null))}export{P as F,p as _,o as a,y as b,m as c,f as d,i as e,s as f,d as g,h,b as m};
2
+ //# sourceMappingURL=CodeSample-Cp42Adjc-C5AHaCBx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeSample-Cp42Adjc-C5AHaCBx.js","sources":["../src/utils/mdx.ts","../../xyd-components/dist/tslib.es6-DDIOdJiV.js"],"sourcesContent":["import React from \"react\";\n\nexport type MDXReferenceWrapper<T> = {\n children: React.ReactNode;\n title: string;\n};\n\nexport type MDXReference<T> = T extends object\n ? MDXReferenceWrapper<T> & {\n [K in keyof T]: MDXReference<T[K]>;\n}\n : MDXReferenceWrapper<T>;\n\n// TODO: unify xyd reference props with react\nexport function mdxValue<T>(val: MDXReferenceWrapper<T> | null): string {\n if (!val) {\n return \"\"\n }\n\n if (val.title) {\n return val.title\n }\n\n // if we have case like below\n /*\n #### !!<key> <name>\n\n !<key> string\n */\n return val as unknown as string\n}\n","function t(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&\"function\"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(e[r[o]]=t[r[o]])}return e}function n(t,n,e,r){return new(e||(e=Promise))((function(o,c){function p(t){try{f(r.next(t))}catch(t){c(t)}}function a(t){try{f(r.throw(t))}catch(t){c(t)}}function f(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(p,a)}f((r=r.apply(t,n||[])).next())}))}\"function\"==typeof SuppressedError&&SuppressedError;export{t as _,n as a};\n//# sourceMappingURL=tslib.es6-DDIOdJiV.js.map\n"],"names":["mdxValue","val","title","SuppressedError"],"mappings":"g1UAcM,SAAUA,EAAYC,GACxB,OAAKA,EAIDA,EAAIC,MACGD,EAAIC,MASRD,EAbI,EAcf,2NC0SkD,mBAApBE,iBAAiCA"}
@@ -0,0 +1,2 @@
1
+ import e from"react";import"@code-hike/lighter";import"@radix-ui/react-tabs";import"lucide-react";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function r(e){if(Array.isArray(e))return e}function n(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function c(e){n(a,o,i,c,u,"next",e)}function u(e){n(a,o,i,c,u,"throw",e)}c(void 0)}))}}function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=v(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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 i,a=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;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:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function u(){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 l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function y(){y=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),c=new T(n||[]);return o(a,"_invoke",{value:_(e,r,c)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p="suspendedStart",h="suspendedYield",m="executing",d="completed",v={};function b(){}function g(){}function w(){}var S={};l(S,a,(function(){return this}));var O=Object.getPrototypeOf,j=O&&O(O(A([])));j&&j!==r&&n.call(j,a)&&(S=j);var E=w.prototype=b.prototype=Object.create(S);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(o,i,a,c){var u=s(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function _(t,r,n){var o=p;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=P(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var l=s(t,r,n);if("normal"===l.type){if(o=n.done?d:h,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function P(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=s(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function N(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 L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return g.prototype=w,o(E,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:g,configurable:!0}),g.displayName=l(w,u,"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,w):(e.__proto__=w,l(e,u,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},k(x.prototype),l(x.prototype,c,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(E),l(E,u,"Generator"),l(E,a,(function(){return this})),l(E,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,T.prototype={constructor:T,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(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=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 r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function p(e,t){return r(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||v(e,t)||u()}function h(e){return r(e)||c(e)||v(e)||u()}function m(e){return function(e){if(Array.isArray(e))return t(e)}(e)||c(e)||v(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 d(e){return d="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},d(e)}function v(e,r){if(e){if("string"==typeof e)return t(e,r);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)?t(e,r):void 0}}function b(e){return e?e.title?e.title:e:""}function g(e){return g="function"==typeof Symbol&&"symbol"==d(Symbol.iterator)?function(e){return d(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":d(e)},g(e)}"function"==typeof SuppressedError&&SuppressedError;var w,S,O,j={exports:{}},E={},k={};O||(O=1,"production"===process.env.NODE_ENV?j.exports=function(){if(w)return E;w=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(t,r,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==r.key&&(o=""+r.key),"key"in r)for(var i in n={},r)"key"!==i&&(n[i]=r[i]);else n=r;return r=n.ref,{$$typeof:e,type:t,key:o,ref:void 0!==r?r:null,props:n}}return E.Fragment=t,E.jsx=r,E.jsxs=r,E}():j.exports=(S||(S=1,"production"!==process.env.NODE_ENV&&function(){function t(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===x?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case p:return"Fragment";case m:return"Profiler";case h:return"StrictMode";case w:return"Suspense";case S:return"SuspenseList";case E:return"Activity"}if("object"===g(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 y:return"Portal";case v:return(e.displayName||"Context")+".Provider";case d:return(e._context.displayName||"Context")+".Consumer";case b:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case O:return null!==(r=e.displayName||null)?r:t(e.type)||"Memo";case j:r=e._payload,e=e._init;try{return t(e(r))}catch(e){}}return null}function r(e){return""+e}function n(e){try{r(e);var t=!1}catch(e){t=!0}if(t){var n=(t=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),r(e)}}function o(e){if(e===p)return"<>";if("object"===g(e)&&null!==e&&e.$$typeof===j)return"<...>";try{var r=t(e);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function i(){return Error("react-stack-top-frame")}function a(){var e=t(this.type);return T[e]||(T[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 c(e,r,o,i,c,f,y,p){var h,m=r.children;if(void 0!==m)if(i)if(N(m)){for(i=0;i<m.length;i++)u(m[i]);Object.freeze&&Object.freeze(m)}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 u(m);if(P.call(r,"key")){m=t(e);var d=Object.keys(r).filter((function(e){return"key"!==e}));i=0<d.length?"{key: someKey, "+d.join(": ..., ")+": ...}":"{key: someKey}",R[m+i]||(d=0<d.length?"{"+d.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} />',i,m,d,m),R[m+i]=!0)}if(m=null,void 0!==o&&(n(o),m=""+o),function(e){if(P.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(r)&&(n(r.key),m=""+r.key),"key"in r)for(var v in o={},r)"key"!==v&&(o[v]=r[v]);else o=r;return m&&function(e,t){function r(){l||(l=!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))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,t,r,n,o,i,c,u){return r=i.ref,e={$$typeof:s,type:e,key:t,props:i,_owner:o},null!==(void 0!==r?r:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:a}):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.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:c}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:u}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,m,f,0,null===(h=_.A)?null:h.getOwner(),o,y,p)}function u(e){"object"===g(e)&&null!==e&&e.$$typeof===s&&e._store&&(e._store.validated=1)}var l,f=e,s=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),v=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),x=Symbol.for("react.client.reference"),_=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P=Object.prototype.hasOwnProperty,N=Array.isArray,L=console.createTask?console.createTask:function(){return null},T={},A=(f={"react-stack-bottom-frame":function(e){return e()}})["react-stack-bottom-frame"].bind(f,i)(),I=L(o(i)),R={};k.Fragment=p,k.jsx=function(e,t,r,n,i){var a=1e4>_.recentlyCreatedOwnerStacks++;return c(e,t,r,!1,0,i,a?Error("react-stack-top-frame"):A,a?L(o(e)):I)},k.jsxs=function(e,t,r,n,i){var a=1e4>_.recentlyCreatedOwnerStacks++;return c(e,t,r,!0,0,i,a?Error("react-stack-top-frame"):A,a?L(o(e)):I)}}()),k)),j.exports;var x="d38bb27";function _(t){var r=t.size,n=void 0===r?"medium":r,o=t.className;return e.createElement("div",{className:"\n ".concat("h1q2kcy0","\n ").concat("small"===n&&"_8rdt3l","\n ").concat("large"===n&&"_1f7km1o","\n ").concat(o,"\n ")},e.createElement("div",{className:"dse1ken"},e.createElement("div",{className:x}),e.createElement("div",{className:x}),e.createElement("div",{className:x})))}function P(){return e.createElement("div",{className:"hwih9s3"},e.createElement(_,null))}export{P as F,p as _,o as a,y as b,m as c,f as d,i as e,s as f,d as g,h,b as m};
2
+ //# sourceMappingURL=CodeSample-DxPp80ID-C5AHaCBx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeSample-DxPp80ID-C5AHaCBx.js","sources":["../src/utils/mdx.ts","../../xyd-components/dist/tslib.es6-DUrRPhZd.js"],"sourcesContent":["import React from \"react\";\n\nexport type MDXReferenceWrapper<T> = {\n children: React.ReactNode;\n title: string;\n};\n\nexport type MDXReference<T> = T extends object\n ? MDXReferenceWrapper<T> & {\n [K in keyof T]: MDXReference<T[K]>;\n}\n : MDXReferenceWrapper<T>;\n\n// TODO: unify xyd reference props with react\nexport function mdxValue<T>(val: MDXReferenceWrapper<T> | null): string {\n if (!val) {\n return \"\"\n }\n\n if (val.title) {\n return val.title\n }\n\n // if we have case like below\n /*\n #### !!<key> <name>\n\n !<key> string\n */\n return val as unknown as string\n}\n","function t(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&\"function\"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(e[r[o]]=t[r[o]])}return e}function n(t,n,e,r){return new(e||(e=Promise))((function(o,c){function p(t){try{f(r.next(t))}catch(t){c(t)}}function a(t){try{f(r.throw(t))}catch(t){c(t)}}function f(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(p,a)}f((r=r.apply(t,n||[])).next())}))}\"function\"==typeof SuppressedError&&SuppressedError;export{t as _,n as a};\n//# sourceMappingURL=tslib.es6-DUrRPhZd.js.map\n"],"names":["mdxValue","val","title","SuppressedError"],"mappings":"g1UAcM,SAAUA,EAAYC,GACxB,OAAKA,EAIDA,EAAIC,MACGD,EAAIC,MASRD,EAbI,EAcf,2NC0SkD,mBAApBE,iBAAiCA"}
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ import { Reference } from '@xyd-js/uniform';
3
+ import { MDXReference } from '@/utils/mdx';
4
+
5
+ interface CodeSourceContext {
6
+ fileName: string;
7
+ fileFullPath: string;
8
+ sourcecode: string;
9
+ }
10
+ interface AtlasIndexProps {
11
+ data: MDXReference<Reference<CodeSourceContext>>;
12
+ }
13
+ declare function AtlasIndex({ data }: AtlasIndexProps): React.JSX.Element;
14
+
15
+ export { AtlasIndex };
@@ -0,0 +1,2 @@
1
+ import*as e from"react";import t,{useRef as n,forwardRef as l}from"react";import{m as a}from"./CodeSample-DxPp80ID-C5AHaCBx.js";import"@radix-ui/react-tabs";import"lucide-react";import"@code-hike/lighter";function r(e){var n=e.children;return t.createElement("code",{className:"h1w59zdn"},n)}function c(e){var n,l=e.children,a=e.label,r=["secondary","tertiary"].includes(e.kind||"");r&&"title"in e&&(n=e.title);var c=e.kind||"primary";return t.createElement("details",{className:"\n ".concat("hwmojve"," \n ").concat(r&&"h1an07j0","\n ")},t.createElement("summary",{className:"\n ".concat("sbneplt"," \n ").concat(r&&"s1d31n8s","\n ").concat("tertiary"===c?"s2p0kpw":"","\n ")},"primary"===c&&t.createElement(t.Fragment,null,e.icon?e.icon:t.createElement(i,null),t.createElement(o,null,a)),r&&t.createElement(t.Fragment,null,t.createElement("div",null,t.createElement("div",{className:"snk81qf"},t.createElement(t.Fragment,null,e.icon?e.icon:t.createElement(m,null)),t.createElement("div",{className:"\n ".concat("syq3zec","\n ").concat("sq0a0s6","\n ")},n)),t.createElement(o,null,a)),t.createElement(i,null))),t.createElement("div",{className:"\n ".concat("c16kc3w3","\n ").concat(r&&"c15ahw9d","\n ").concat("tertiary"===c&&"cw7uaxe","\n ")},l))}function i(){return t.createElement("div",{className:"iynkbu3"},t.createElement("svg",{"data-icon":"true",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 24 24"},t.createElement("path",{fillRule:"evenodd",d:"M8.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L14.586 12 8.293 5.707a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})))}function m(){return t.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",stroke:"none",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("g",{clipPath:"url(#clip0_1689_2180)"},t.createElement("path",{d:"M4.3 4.3L7.1 7.1M10.6 5.7V1.5M14.8 7.8L17.6 5M5.7 11.3H1.5M7.1 14.8L4.3 17.6M15.5 22.5L9.9 9.9L22.5 14.8L16.9 16.2L15.5 22.5Z",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_1689_2180"},t.createElement("rect",{width:24,height:24,fill:"white"}))))}function o(e){var n=e.children;return t.createElement("div",{className:"l1ligx2c"},n)}function d(e){var l=e.children,a=e.size,r=void 0===a?1:a,c=e.as,i=e.id,m=e.onClick,o=c||"h".concat(r);return n(null),t.createElement(o,{className:"\n ".concat("h1tn40xd","\n ").concat(1===r&&"hnf4kng","\n ").concat(2===r&&"h1vdtsi8","\n ").concat(3===r&&"hz5xehg","\n ").concat(4===r&&"hptgzam","\n ").concat(5===r&&"h11bbv2f","\n ").concat(6===r&&"hcoksa6","\n xyd_comp-comp-heading\n "),onClick:m},l,i&&t.createElement(s,null))}function s(){return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:15,fill:"currentColor",viewBox:"0 0 24 24",className:"l17d6dy1",role:"presentation"},t.createElement("path",{fillRule:"evenodd",d:"M18.293 5.707a4.657 4.657 0 0 0-6.586 0l-1 1a1 1 0 1 1-1.414-1.414l1-1a6.657 6.657 0 1 1 9.414 9.414l-1 1a1 1 0 0 1-1.414-1.414l1-1a4.657 4.657 0 0 0 0-6.586Zm-2.586 2.586a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414-1.414l6-6a1 1 0 0 1 1.414 0Zm-9 1a1 1 0 0 1 0 1.414l-1 1a4.657 4.657 0 0 0 6.586 6.586l1-1a1 1 0 0 1 1.414 1.414l-1 1a6.657 6.657 0 1 1-9.414-9.414l1-1a1 1 0 0 1 1.414 0Z",clipRule:"evenodd"}))}function u(){return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",stroke:"currentColor",fill:"currentColor"},t.createElement("path",{d:"M14 17h3l2-4V7h-6v6h3M6 17h3l2-4V7H5v6h3z"}))}var h="h161qd82",E="t15ayd0k",v="ttmbsix",p="t1pid2qp",f="t1bzojtj",w="t1qcq3w1",g="cz9thgl",N="coblcjj",k="mrvy6t5";function x(e){var n=e.children,l=e.className;return t.createElement("div",{className:h},t.createElement("table",{className:"".concat(E," ").concat(l||"")},n))}x.Head=function(e){var n=e.children;return t.createElement("thead",{className:v},n)},x.Th=function(e){var n=e.children,l=e.numeric;return t.createElement("th",{className:"".concat(p," ").concat(l?"numeric":"")},n)},x.Tr=function(e){var n=e.children;return t.createElement("tr",{className:f},n)},x.Td=function(e){var n=e.children,l=e.numeric,a=e.muted;return t.createElement("td",{className:"".concat(w," ").concat(l?"numeric":""," ").concat(a?"muted":"")},n)},x.Cell=function(e){var n=e.children;return t.createElement("div",{className:g},t.createElement("div",{className:N},n))},x.ModelCell=function(e){var n=e.children;return t.createElement("div",{className:k},n)};function y(e){var n=e.children;return t.createElement("div",{className:"h1seqss5"},n)}function b(e){var n=e.children;return t.createElement("div",{className:"hmi9h9e"},n)}var C="htyux6",M=l((function(e,n){var l=e.href,a=void 0===l?"":l,r=e.children;return e.newWindow?t.createElement("a",{ref:n,to:a,href:a,target:"_blank",rel:"noreferrer",className:C},r):t.createElement("a",{ref:n,to:a,href:a,className:C},r)}));M.displayName="Anchor";var z={Content:y,Subtitle:b}.Content;function L(t){var n,l=t.data;return e.createElement(z,null,e.createElement(d,{size:1},a(l.title)),e.createElement("p",null,l.description.children),a(null===(n=l.context)||void 0===n?void 0:n.fileName)&&e.createElement(c,{label:"",kind:"tertiary",title:e.createElement(e.Fragment,null,"Source code in ",e.createElement(r,null,a(l.context.fileFullPath))),icon:e.createElement(u,null)},l.context.sourcecode.children),l.definitions.map((function(t,n){var l;return e.createElement(e.Fragment,null,e.createElement(d,{size:2},a(t.title)),e.createElement(x,{key:n},e.createElement(x.Head,null,e.createElement(x.Tr,null,e.createElement(x.Th,null,"Type"),e.createElement(x.Th,null,"Description"))),null===(l=t.properties)||void 0===l?void 0:l.map((function(t,n){return e.createElement(x.Tr,{key:n},e.createElement(x.Td,null,e.createElement(r,null,a(t.name)||a(t.type))),e.createElement(x.Td,{muted:!0},null==t?void 0:t.children))}))))})))}export{L as AtlasIndex};
2
+ //# sourceMappingURL=atlas-index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"atlas-index.js","sources":["../../xyd-components/dist/content.js","../packages/atlas-index/AtlasIndex.tsx"],"sourcesContent":["import{b as e}from\"./_rollupPluginBabelHelpers-DsEzE6Ab.js\";import{_ as n}from\"./tslib.es6-DUrRPhZd.js\";import t,{forwardRef as r}from\"react\";import{H as a,C as i,D as c,B as s,a as l,b as o,c as u,I as d,d as m,e as h,f,g as v,h as p,i as b,j as g,k as E,l as j,m as O,n as I,o as S,p as N,q as C,r as k,s as T}from\"./index-BVUz77Tm.js\";import\"@radix-ui/react-icons\";import{T as w,a as x,S as z,G as B}from\"./UnderlineNav-C2aEVraN.js\";import{c as y}from\"./CodeSample-DxPp80ID.js\";import\"@code-hike/lighter\";import\"@radix-ui/react-tabs\";import\"lucide-react\";import\"./coder/themes/cosmo-light.js\";var D=\"h1seqss5\";function J(e){var n=e.children;return t.createElement(\"div\",{className:D},n)}var R=\"hmi9h9e\";function q(e){var n=e.children;return t.createElement(\"div\",{className:R},n)}var A=\"htyux6\",G=r((function(e,n){var r=e.href,a=void 0===r?\"\":r,i=e.children;return e.newWindow?t.createElement(\"a\",{ref:n,to:a,href:a,target:\"_blank\",rel:\"noreferrer\",className:A},i):t.createElement(\"a\",{ref:n,to:a,href:a,className:A},i)}));G.displayName=\"Anchor\";var W=/https?:\\/\\//,_=function(e){var r=e.href,a=void 0===r?\"\":r;e.className;var i=n(e,[\"href\",\"className\"]);return t.createElement(G,Object.assign({href:a,newWindow:W.test(a)},i))};function H(){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},M()),Q()),L()),P()),U()),F())}function M(){return e(e(e(e(e(e(e({h1:function(e){return t.createElement(\"div\",null,t.createElement(a,Object.assign({id:e.children},e)))},h2:function(e){return t.createElement(\"div\",null,t.createElement(a,Object.assign({id:e.children,size:2},e)))},h3:function(e){return t.createElement(\"div\",null,t.createElement(a,Object.assign({id:e.children,size:3},e)))},h4:function(e){return t.createElement(\"div\",null,t.createElement(a,Object.assign({id:e.children,size:4},e)))},h5:function(e){return t.createElement(\"div\",null,t.createElement(a,Object.assign({id:e.children,size:5},e)))},h6:function(e){return t.createElement(\"div\",null,t.createElement(a,Object.assign({id:e.children,size:6},e)))},p:function(e){return t.createElement(\"p\",Object.assign({},e))},ul:function(e){return t.createElement(\"ul\",Object.assign({},e),e.children)},ol:function(e){return t.createElement(\"ol\",Object.assign({},e),e.children)},li:function(e){return t.createElement(\"li\",Object.assign({},e),e.children)},table:w,tr:w.Tr,th:w.Th,td:w.Td},\"td\",(function(e){return t.createElement(w.Td,Object.assign({},e),t.createElement(w.Cell,null,e.children))})),\"code\",i),\"pre\",(function(e){var n,r,a,i,c,s,l=((null===(r=null===(n=null==e?void 0:e.children)||void 0===n?void 0:n.props)||void 0===r?void 0:r.className)||\"\").replace(\"language-\",\"\");return t.createElement(y,{name:l,description:null===(i=null===(a=null==e?void 0:e.children)||void 0===a?void 0:a.props)||void 0===i?void 0:i.meta,codeblocks:[{value:null===(s=null===(c=null==e?void 0:e.children)||void 0===c?void 0:c.props)||void 0===s?void 0:s.children,lang:l,meta:l}],size:\"full\"})})),\"details\",c),\"blockquote\",s),\"hr\",l),\"a\",_)}function Q(){return{Callout:u,Details:c,GuideCard:B,Steps:z,Tabs:x,Table:w,Badge:o}}function F(){return{DirectiveCodeSample:function(e){return t.createElement(y,Object.assign({},e,{codeblocks:JSON.parse(e.codeblocks)}))}}}function L(){return{Content:J,Subtitle:q}}function P(){return{IconSessionReplay:T,IconMetrics:k,IconFunnels:C,IconCode:N,IconCustomEvent:S,IconAlert:I,IconBrowser:O,IconREST:j,IconGraphQL:E,IconWebhooks:g,IconJSBrowser:b,IconJSNode:p,IconStorybook:v,IconReactRouter:f,IconNextJS:h,IconAppTemplate:m,IconQuote:d}}function U(){return{CodeSample:y}}export{H as MDX,U as coderContent,H as default,F as directiveContent,L as helperContent,P as iconContent,M as stdContent,Q as writerContent};\n//# sourceMappingURL=content.js.map\n","import * as React from \"react\"\n\nimport type {Reference} from \"@xyd-js/uniform\";\nimport {\n Heading,\n TableV2,\n Details,\n Code,\n\n IconQuote\n} from \"@xyd-js/components/writer\";\nimport {\n helperContent\n} from \"@xyd-js/components/content\";\n\nimport {MDXReference, mdxValue} from \"@/utils/mdx\";\n\nconst {Content} = helperContent()\n\n// TODO: interface should be imported from somewhere\ninterface CodeSourceContext {\n fileName: string;\n fileFullPath: string;\n sourcecode: string;\n}\n\ninterface AtlasIndexProps {\n data: MDXReference<Reference<CodeSourceContext>>\n}\n\nexport function AtlasIndex({data}: AtlasIndexProps) {\n return <Content>\n <Heading size={1}>\n {mdxValue(data.title)}\n </Heading>\n\n <p>\n {data.description.children}\n </p>\n\n {\n mdxValue(data.context?.fileName) && <Details\n label=\"\"\n kind=\"tertiary\"\n title={<>\n Source code in <Code>{mdxValue(data.context.fileFullPath)}</Code>\n </>}\n icon={<IconQuote/>}>\n {data.context.sourcecode.children}\n </Details>\n }\n\n {\n data.definitions.map((definition, index) => {\n return <>\n <Heading size={2}>\n {mdxValue(definition.title)}\n </Heading>\n <TableV2 key={index}>\n <TableV2.Head>\n <TableV2.Tr>\n <TableV2.Th>Type</TableV2.Th>\n <TableV2.Th>Description</TableV2.Th>\n </TableV2.Tr>\n </TableV2.Head>\n {definition.properties?.map((property, propIndex) => (\n <TableV2.Tr key={propIndex}>\n <TableV2.Td>\n <Code>{mdxValue(property.name) || mdxValue(property.type)}</Code>\n </TableV2.Td>\n <TableV2.Td muted>{property?.children}</TableV2.Td>\n </TableV2.Tr>\n ))}\n </TableV2>\n </>\n })\n }\n </Content>\n}"],"names":["J","e","n","children","t","createElement","className","Content","AtlasIndex","_ref","data","React","Heading","size","mdxValue","title","description","_a","context","fileName","Details","label","kind","Fragment","Code","fileFullPath","icon","IconQuote","sourcecode","definitions","map","definition","index","TableV2","key","Head","Tr","Th","properties","property","propIndex","Td","name","type","muted"],"mappings":"ksJAgBgB,SAAAA,EAAOC,GAAyB,IAAvBC,EAAAD,EAAAE,SACrB,OAAOC,EAAAC,cAAA,MAAA,CAAKC,UAbR,YAcCJ,EAET,gWCHA,IAAOK,yBAAAA,QAaS,SAAAC,EAAUC,GAAwB,MAAtBC,EAAID,EAAJC,KACxB,OAAOC,EAAAN,cAACE,OACJI,EAAAN,cAACO,EAAO,CAACC,KAAM,GACVC,EAASJ,EAAKK,QAGnBJ,EAAAN,cACKK,IAAAA,KAAAA,EAAKM,YAAYb,UAIlBW,EAAuB,QAAdG,EAAAP,EAAKQ,eAAS,IAAAD,OAAA,EAAAA,EAAAE,WAAaR,EAAAN,cAACe,EAAO,CACxCC,MAAM,GACNC,KAAK,WACLP,MAAOJ,EAAAN,cAAAM,EAAAY,SAAA,KACH,kBAAeZ,EAAAN,cAACmB,EAAMV,KAAAA,EAASJ,EAAKQ,QAAQO,gBAEhDC,KAAMf,EAAAN,cAACsB,EAAW,OACjBjB,EAAKQ,QAAQU,WAAWzB,UAK7BO,EAAKmB,YAAYC,KAAI,SAACC,EAAYC,SAC9B,OAAOrB,EAAAN,cAAAM,EAAAY,SAAA,KACHZ,EAAAN,cAACO,EAAO,CAACC,KAAM,GACVC,EAASiB,EAAWhB,QAEzBJ,EAAAN,cAAC4B,EAAO,CAACC,IAAKF,GACVrB,EAAAN,cAAC4B,EAAQE,KAAI,KACTxB,EAAAN,cAAC4B,EAAQG,GACLzB,KAAAA,EAAAN,cAAC4B,EAAQI,GAAG,KAAA,QACZ1B,EAAAN,cAAC4B,EAAQI,GAAG,KAAA,iBAGE,QAArBpB,EAAAc,EAAWO,kBAAU,IAAArB,OAAA,EAAAA,EAAEa,KAAI,SAACS,EAAUC,GAAS,OAC5C7B,EAAAN,cAAC4B,EAAQG,GAAE,CAACF,IAAKM,GACb7B,EAAAN,cAAC4B,EAAQQ,GAAE,KACP9B,EAAAN,cAACmB,EAAMV,KAAAA,EAASyB,EAASG,OAAS5B,EAASyB,EAASI,QAExDhC,EAAAN,cAAC4B,EAAQQ,GAAE,CAACG,OAAK,GAAEL,aAAA,EAAAA,EAAUpC,UAEpC,KAGb,IAGZ"}
package/dist/index.css CHANGED
@@ -1,59 +1,59 @@
1
- .h9tkkeg{font-size:30px;font-weight:400;}
2
-
3
-
4
- .c1q2rf33{background:linear-gradient(45deg, rgb(247, 247, 248) 0%, rgb(247, 247, 248) 100%);padding:8px;border:1px solid var(--atlas-comp-apiref-item-border-color);border-radius:8px;font-size:13px;}
5
- .lhk53ap{color:var(--atlas-comp-apiref-item-navbar-color);margin-right:4px;}
6
- .h1t46rpg{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:16px;padding-bottom:25px;}
7
- .gq5m3p7{display:-ms-grid;display:grid;-ms-grid-columns:repeat(2, minmax(0, 1fr));grid-template-columns:repeat(2, minmax(0, 1fr));-webkit-align-items:normal;-webkit-box-align:normal;-ms-flex-align:normal;align-items:normal;gap:100px;}
8
-
9
- .i1lmmgv6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:25px;margin-bottom:25px;}
10
- .hpmrvhc{font-size:15px;font-weight:600;}
11
- .l8q9wny{-webkit-text-decoration:none;text-decoration:none;}
12
-
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;}.h1ayic9k:first-child{padding-top:0;}.h1ayic9k:last-child{padding-bottom:0;}
15
- .hkisad5{font-size:14px;line-height:22px;color:var(--atlas-comp-apiref-properties-description-color);}
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
- .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
- .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
- .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;}
22
-
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);}
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);}
29
-
30
- .h1ur68ey{-webkit-flex:1 1 0;-ms-flex:1 1 0;flex:1 1 0;overflow:hidden;min-width:0;max-width:512px;border:1px solid var(--atlas-comp-code-sample-border-color);border-radius:16px;}
31
- .hp2fg9q{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1 1 0%;-ms-flex:1 1 0%;flex:1 1 0%;padding:8px 0px;background:linear-gradient(45deg, rgb(247, 247, 248) 0%, rgb(247, 247, 248) 100%)!important;border-top-right-radius:10px;border-top-left-radius:10px;border-bottom:0px;min-width:0;}
32
- .l1u5q09{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:end;justify-content:end;gap:8px;padding:0 10px;}
33
- .b1g5l43{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;font-size:14px;color:var(--atlas-comp-code-sample-color);}.b1g5l43[data-state="active"]{color:var(--atlas-comp-code-sample-color--active);border-bottom:1px solid var(--atlas-comp-code-sample-color--active);border-bottom-left-radius:0px;border-bottom-right-radius:0px;}.b1g5l43:hover{-webkit-transition:ease-in 0.1s;transition:ease-in 0.1s;background:var(--atlas-comp-code-sample-background);}
34
- .d1x4vxzj{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;gap:4px;font-size:14px;color:var(--atlas-comp-code-sample-color);margin-left:4px;margin-right:4px;}
35
- .d1n1kybx{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding-left:16px;padding-right:16px;-webkit-flex:1 1 0%;-ms-flex:1 1 0%;flex:1 1 0%;gap:16px;border-radius:4px;}
36
- .c1qxxuld{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding-left:8px;padding-right:8px;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
37
- .h1gfddng{max-height:400px;background:linear-gradient(45deg, rgb(247, 247, 248) 0%, rgb(247, 247, 248) 100%)!important;margin:0;padding:8px 16px;border-top:1px solid var(--atlas-comp-code-sample-border-color);border-bottom-left-radius:10px;border-bottom-right-radius:10px;font-size:14px;line-height:20px;white-space:pre-wrap;word-break:break-all;overflow-y:scroll;}
38
- .h1h0n8u6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;border-left-width:4px;border-color:transparent;margin:4px 0;}
39
- .l12klvp{-webkit-flex:1 1 0%;-ms-flex:1 1 0%;flex:1 1 0%;}
40
- ._4uqa3m{border-color:var(--atlas-comp-code-sample-mark-border--active);background-color:var(--atlas-comp-code-sample-mark-background--active);}
41
- .h18n51vi{margin:0 4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5;}
42
-
43
- .h1de1isv{position:relative;max-width:100%;}
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);}
46
- .izmf263{width:16px;height:16px;}
47
- .h1olbpn1{overflow-x:auto;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}
48
- .c1dubejs{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;gap:4px;padding:4px;margin-left:4px;}
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);}
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;}
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;}
54
-
55
- .h5edgc7{width:100%;}
56
-
57
- .h12vpet9{padding:16px 0;}
58
- ._18e99ku{padding:4px 0;}
1
+ .XydAtlas-Component-ApiRef-ApiRefItem__host_h9tkkeg{font-size:30px;font-weight:400;}
2
+
3
+
4
+ .XydAtlas-Component-ApiRef-ApiRefItem__container_c1q2rf33{background:linear-gradient(45deg, rgb(247, 247, 248) 0%, rgb(247, 247, 248) 100%);padding:8px;border:1px solid var(--XydAtlas-Component-ApiRef-Item__color-border);border-radius:8px;font-size:13px;}
5
+ .XydAtlas-Component-ApiRef-ApiRefItem__label_lhk53ap{color:var(--XydAtlas-Component-ApiRef-Item__color-navbar);margin-right:4px;}
6
+ .XydAtlas-Component-ApiRef-ApiRefItem__host_h1t46rpg{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:16px;padding-bottom:25px;}
7
+ .XydAtlas-Component-ApiRef-ApiRefItem__grid_gq5m3p7{display:-ms-grid;display:grid;-ms-grid-columns:repeat(2, minmax(0, 1fr));grid-template-columns:repeat(2, minmax(0, 1fr));-webkit-align-items:normal;-webkit-box-align:normal;-ms-flex-align:normal;align-items:normal;gap:100px;}
8
+
9
+ .XydAtlas-Component-ApiRef-ApiRefItem__item_i1lmmgv6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:25px;margin-bottom:25px;}
10
+ .XydAtlas-Component-ApiRef-ApiRefItem__host_hpmrvhc{font-size:15px;font-weight:600;}
11
+ .XydAtlas-Component-ApiRef-ApiRefItem__link_l8q9wny{-webkit-text-decoration:none;text-decoration:none;}
12
+
13
+ .XydAtlas-Component-ApiRef-ApiRefProperties__host_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
+ .XydAtlas-Component-ApiRef-ApiRefProperties__host_h1ayic9k{margin:0;padding:0;}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h1ayic9k:first-child{padding-top:0;}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h1ayic9k:last-child{padding-bottom:0;}
15
+ .XydAtlas-Component-ApiRef-ApiRefProperties__host_hkisad5{font-size:14px;line-height:22px;color:var(--XydAtlas-Component-ApiRef-Properties__color-description);}
16
+ .XydAtlas-Component-ApiRef-ApiRefProperties__host_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;}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h159tzrk dd{-webkit-margin-start:0px;margin-inline-start:0px;}
17
+ .XydAtlas-Component-ApiRef-ApiRefProperties__host_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(--XydAtlas-Component-ApiRef-Properties__color-propName);}
18
+ .XydAtlas-Component-ApiRef-ApiRefProperties__host_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(--XydAtlas-Component-ApiRef-Properties__color-propType);}
19
+ .XydAtlas-Component-ApiRef-ApiRefProperties__link_l1ud1m37{color:var(--XydAtlas-Component-ApiRef-Properties__color--active);-webkit-text-decoration:underline;text-decoration:underline;}.XydAtlas-Component-ApiRef-ApiRefProperties__link_l1ud1m37:hover{-webkit-text-decoration:none;text-decoration:none;color:var(--XydAtlas-Sys-Color-Primary--hover);}
20
+ .XydAtlas-Component-ApiRef-ApiRefProperties__host_h1fjyrqx{padding:8px;border-style:none;display:none;}
21
+ .XydAtlas-Component-ApiRef-ApiRefProperties__host__expanded_h12sxrry{display:unset;}
22
+
23
+ .XydAtlas-Component-ApiRef-ApiRefProperties__ul_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(--XydAtlas-Component-ApiRef-Properties__color-border);}
24
+ .XydAtlas-Component-ApiRef-ApiRefProperties__li_lmjvvs5{padding:0 16px;}
25
+ .XydAtlas-Component-ApiRef-ApiRefProperties__host_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;}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h9u79h5 svg{font-size:13px;}.XydAtlas-Component-ApiRef-ApiRefProperties__host_h9u79h5:hover svg{-webkit-transition:all ease-in .1s;transition:all ease-in .1s;color:var(--XydAtlas-Component-ApiRef-Properties__color--active);}
26
+ .XydAtlas-Component-ApiRef-ApiRefProperties__link_l16o3qrr{-webkit-text-decoration:none;text-decoration:none;cursor:pointer;margin-left:4px;}.XydAtlas-Component-ApiRef-ApiRefProperties__link_l16o3qrr:hover{-webkit-transition:all ease-in .1s;transition:all ease-in .1s;color:var(--XydAtlas-Component-ApiRef-Properties__color--active);}
27
+
28
+ .XydAtlas-Component-Code-CodeCopy-CodeCopy_style_tsx__host_h47igvr{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;padding:8px;border-radius:6px;cursor:pointer;}.XydAtlas-Component-Code-CodeCopy-CodeCopy_style_tsx__host_h47igvr:hover{background:var(--XydAtlas-Component-Code-Copy__color-background--active);}
29
+
30
+ .XydAtlas-Component-Code-CodeSample__host_h1ur68ey{-webkit-flex:1 1 0;-ms-flex:1 1 0;flex:1 1 0;overflow:hidden;min-width:0;max-width:512px;border:1px solid var(--XydAtlas-Component-Code-Sample__color-border);border-radius:16px;}
31
+ .XydAtlas-Component-Code-CodeSample__host_hp2fg9q{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1 1 0%;-ms-flex:1 1 0%;flex:1 1 0%;padding:8px 0px;background:linear-gradient(45deg, rgb(247, 247, 248) 0%, rgb(247, 247, 248) 100%)!important;border-top-right-radius:10px;border-top-left-radius:10px;border-bottom:0px;min-width:0;}
32
+ .XydAtlas-Component-Code-CodeSample__list_l1u5q09{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:end;justify-content:end;gap:8px;padding:0 10px;}
33
+ .XydAtlas-Component-Code-CodeSample__button_b1g5l43{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;font-size:14px;color:var(--XydAtlas-Component-Code-Sample__color);}.XydAtlas-Component-Code-CodeSample__button_b1g5l43[data-state="active"]{color:var(--XydAtlas-Component-Code-Sample__color--active);border-bottom:1px solid var(--XydAtlas-Component-Code-Sample__color--active);border-bottom-left-radius:0px;border-bottom-right-radius:0px;}.XydAtlas-Component-Code-CodeSample__button_b1g5l43:hover{-webkit-transition:ease-in 0.1s;transition:ease-in 0.1s;background:var(--XydAtlas-Component-Code-Sample__color-background);}
34
+ .XydAtlas-Component-Code-CodeSample__description_d1x4vxzj{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;gap:4px;font-size:14px;color:var(--XydAtlas-Component-Code-Sample__color);margin-left:4px;margin-right:4px;}
35
+ .XydAtlas-Component-Code-CodeSample__description_item_d1n1kybx{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding-left:16px;padding-right:16px;-webkit-flex:1 1 0%;-ms-flex:1 1 0%;flex:1 1 0%;gap:16px;border-radius:4px;}
36
+ .XydAtlas-Component-Code-CodeSample__copy_c1qxxuld{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding-left:8px;padding-right:8px;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
37
+ .XydAtlas-Component-Code-CodeSample__host_h1gfddng{max-height:400px;background:linear-gradient(45deg, rgb(247, 247, 248) 0%, rgb(247, 247, 248) 100%)!important;margin:0;padding:8px 16px;border-top:1px solid var(--XydAtlas-Component-Code-Sample__color-border);border-bottom-left-radius:10px;border-bottom-right-radius:10px;font-size:14px;line-height:20px;white-space:pre-wrap;word-break:break-all;overflow-y:scroll;}
38
+ .XydAtlas-Component-Code-CodeSample__host_h1h0n8u6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;border-left-width:4px;border-color:transparent;margin:4px 0;}
39
+ .XydAtlas-Component-Code-CodeSample__line_l12klvp{-webkit-flex:1 1 0%;-ms-flex:1 1 0%;flex:1 1 0%;}
40
+ .XydAtlas-Component-Code-CodeSample___annotated__4uqa3m{border-color:var(--XydAtlas-Component-Code-Sample__color-markBorder--active);background-color:var(--XydAtlas-Component-Code-Sample__color-markBackground--active);}
41
+ .XydAtlas-Component-Code-CodeSample__host_h18n51vi{margin:0 4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5;}
42
+
43
+ .XydAtlas-Component-Code-CodeSampleButtons__host_h1de1isv{position:relative;max-width:100%;}
44
+ .XydAtlas-Component-Code-CodeSampleButtons__container_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(--XydAtlas-Component-Code-SampleButtons__color-containerBackground);}
45
+ .XydAtlas-Component-Code-CodeSampleButtons__host_hdr58em{padding:8px;background-color:#ffffff;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05);}
46
+ .XydAtlas-Component-Code-CodeSampleButtons__icon_izmf263{width:16px;height:16px;}
47
+ .XydAtlas-Component-Code-CodeSampleButtons__host_h1olbpn1{overflow-x:auto;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}
48
+ .XydAtlas-Component-Code-CodeSampleButtons__container_c1dubejs{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;gap:4px;padding:4px;margin-left:4px;}
49
+ .XydAtlas-Component-Code-CodeSampleButtons__host_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(--XydAtlas-Component-Code-SampleButtons__color);}.XydAtlas-Component-Code-CodeSampleButtons__host_he063xp:hover{color:var(--XydAtlas-Component-Code-SampleButtons__color--active);}
50
+ .XydAtlas-Component-Code-CodeSampleButtons___active__lt697q{color:var(--XydAtlas-Component-Code-SampleButtons__color--active);background-color:var(--XydAtlas-Component-Code-SampleButtons__color-background--active);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05);}
51
+
52
+ .XydAtlas-Component-ApiRef-ApiRefSamples__host_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;}.XydAtlas-Component-ApiRef-ApiRefSamples__host_hskauww:first-child{margin-top:0;}.XydAtlas-Component-ApiRef-ApiRefSamples__host_hskauww:last-child{margin-bottom:0;}
53
+ .XydAtlas-Component-ApiRef-ApiRefSamples__host_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;}
54
+
55
+ .XydAtlas-Component-Atlas__host_h5edgc7{width:100%;}
56
+
57
+ .XydAtlas-Component-Atlas-AtlasLazy__host_h12vpet9{padding:16px 0;}
58
+ .XydAtlas-Component-Atlas-AtlasLazy___first__18e99ku{padding:4px 0;}
59
59
 
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
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);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(-1!==t.indexOf(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],-1===t.indexOf(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};
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{m as i,_ as l,a as s,b as c,c as u,d as p,e as d,f as m,g as f,h as v,F as h}from"./CodeSample-DxPp80ID-C5AHaCBx.js";import{CheckCheck as y,Copy as g,ChevronLeft as b,ChevronRight as _}from"lucide-react";import*as k from"@radix-ui/react-tabs";import{extractAnnotations as C,highlight as E,LANG_NAMES as A}from"@code-hike/lighter";var x="XydAtlas-Component-ApiRef-ApiRefItem__host_h9tkkeg",w="XydAtlas-Component-ApiRef-ApiRefItem__link_lz9sagk",S="XydAtlas-Component-ApiRef-ApiRefItem__host_he1ymcw",N="XydAtlas-Component-ApiRef-ApiRefItem__container_c1q2rf33",R="XydAtlas-Component-ApiRef-ApiRefItem__label_lhk53ap",j="XydAtlas-Component-ApiRef-ApiRefItem__host_h1t46rpg",D="XydAtlas-Component-ApiRef-ApiRefItem__grid_gq5m3p7",F="XydAtlas-Component-ApiRef-ApiRefItem__host_hky03d0",B="XydAtlas-Component-ApiRef-ApiRefItem__item_i1lmmgv6",X="XydAtlas-Component-ApiRef-ApiRefItem__host_hpmrvhc",O="XydAtlas-Component-ApiRef-ApiRefItem__link_l8q9wny";function P(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(T,{label:i.method.title,subtitle:"".concat(decodeURIComponent(i.path.title))})}return e.createElement("div",{className:j},e.createElement(I,{title:o.title||""}),r,o.description.children,e.createElement("div",{className:D},e.createElement(L,{reference:o}),o.examples&&e.createElement(xt,{examples:o.examples})))}function L(t){var n,r=t.reference;return e.createElement("div",{className:F},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:B},e.createElement(q,{title:t.title.title}),e.createElement(H,{properties:t.properties})))})))}function T(t){var n=t.label,r=t.subtitle;return e.createElement(e.Fragment,null,e.createElement("div",{className:S},e.createElement("span",{className:N},e.createElement("span",{className:R},n.toUpperCase()),e.createElement("span",null,r))))}function I(t){var n=t.title;return e.createElement(e.Fragment,null,e.createElement("h1",{className:x},e.createElement("a",{className:w},n)))}function q(t){var n=t.title;return e.createElement(e.Fragment,null,e.createElement("h1",{className:X},e.createElement("a",{className:O},n)))}var $={host:"XydAtlas-Component-ApiRef-ApiRefProperties__host_h1b8wz9m"},z={host:"XydAtlas-Component-ApiRef-ApiRefProperties__host_h1ayic9k"},W={host:"XydAtlas-Component-ApiRef-ApiRefProperties__host_hkisad5"},K={host:"XydAtlas-Component-ApiRef-ApiRefProperties__host_h159tzrk"},G={host:"XydAtlas-Component-ApiRef-ApiRefProperties__host_ht6ukcw"},M={host:"XydAtlas-Component-ApiRef-ApiRefProperties__host_h1hhb1ak",link:"XydAtlas-Component-ApiRef-ApiRefProperties__link_l1ud1m37"},U={host:"XydAtlas-Component-ApiRef-ApiRefProperties__host_h1fjyrqx",host$$expanded:"XydAtlas-Component-ApiRef-ApiRefProperties__host__expanded_h12sxrry",box:"XydAtlas-Component-ApiRef-ApiRefProperties__box_b1hrqzjh",ul:"XydAtlas-Component-ApiRef-ApiRefProperties__ul_u1ofrsp8",li:"XydAtlas-Component-ApiRef-ApiRefProperties__li_lmjvvs5"},V={host:"XydAtlas-Component-ApiRef-ApiRefProperties__host_h9u79h5",link:"XydAtlas-Component-ApiRef-ApiRefProperties__link_l16o3qrr"};function H(t){var n=t.properties;return e.createElement("ul",{className:$.host},null==n?void 0:n.map((function(t,n){return e.createElement("li",{className:z.host,key:n},e.createElement("dl",{className:K.host},e.createElement(Y,{name:"name",value:i(t.name)}),e.createElement(J,{name:"type",value:i(t.type),href:ee(t)})),e.createElement("div",{className:W.host},t.children),t.properties?e.createElement(Z,{properties:t.properties}):null)})))}function Y(t){t.name;var n=t.value;return e.createElement(e.Fragment,null,e.createElement("dd",null,e.createElement("code",{className:G.host},n)))}function J(t){t.name;var n=t.value,r=t.href;return e.createElement(e.Fragment,null,e.createElement("dd",null,e.createElement("code",{className:M.host},r?e.createElement("a",{className:M.link,href:r},n):n)))}function Z(n){var r=n.properties,o=t(!1),a=l(o,2),s=a[0],c=a[1];return e.createElement(e.Fragment,null,e.createElement(Q,{onClick:function(){return c(!s)},isExpanded:s}),e.createElement("div",{className:"".concat(U.host," ").concat(s&&U.host$$expanded)},e.createElement("div",{className:U.box},e.createElement("ul",{role:"list",className:U.ul},null==r?void 0:r.map((function(t,n){return e.createElement("li",{className:U.li,key:n},e.createElement("dl",{className:K.host},e.createElement(Y,{name:"name",value:i(t.name)}),e.createElement(J,{name:"type",value:i(t.type),href:ee(t)})),e.createElement("div",{className:W.host},t.children),t.properties?e.createElement(Z,{properties:t.properties}):null)}))))))}function Q(t){return e.createElement("button",{"aria-expanded":t.isExpanded,"aria-controls":"chat/object-usage_table",onClick:t.onClick,className:V.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:V.link},t.isExpanded?"Hide properties":"Show properties"))}function ee(e){var t,n,r,o,a,l,s,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===(l=null===(a=e.context)||void 0===a?void 0:a.graphqlTypeShort)||void 0===l?void 0:l.title,"-").concat(i(null===(c=null===(s=e.context)||void 0===s?void 0:s.graphqlTypeFlat)||void 0===c?void 0:c.title)):void 0}var te={host:"XydAtlas-Component-Code-CodeCopy-CodeCopy_style_tsx__host_h47igvr"};function ne(n){var r=n.text,o=t(!1),a=l(o,2),i=a[0],s=a[1];return e.createElement("button",{"aria-label":"Copy to clipboard",onClick:function(){navigator.clipboard.writeText(r),s(!0),setTimeout((function(){s(!1)}),1200)},className:te.host},i?e.createElement(y,{size:16}):e.createElement(g,{size:16}))}function re(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 oe(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{s(r.next(e))}catch(e){a(e)}}function l(e){try{s(r.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((r=r.apply(e,t||[])).next())}))}function ae(e,t,n){return ie.apply(this,arguments)}function ie(){return(ie=s(c().mark((function e(t,n,r){var o,a,i,l,s;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=[],a=t,e.next=4,le(a,n,r);case 4:return i=e.sent,l=i.code,s=i.annotations,o=[].concat(u(o),u(s)),a=l,e.abrupt("return",{code:a,annotations:o});case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(e,t){return se.apply(this,arguments)}function se(){return se=s(c().mark((function e(t,n){var r,o,a,i,l,s=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=s.length>2&&void 0!==s[2]?s[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,C(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)}))),se.apply(this,arguments)}function ce(e){return!ue(e)}function ue(e){return e.hasOwnProperty("lineNumber")}function pe(e){return"string"==typeof e}"function"==typeof SuppressedError&&SuppressedError;var de=["color"];function me(e,t){return fe.apply(this,arguments)}function fe(){return fe=s(c().mark((function e(t,n){var r,o,a,i,l,s,u,d,m,f,v,h,y,g,b=arguments;return c().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,A.includes(i)||(console.warn('Code Hike warning: Unknown language "'.concat(i,'"')),i="txt"),e.next=5,ae(o,i,r.annotationPrefix||"!");case 5:return l=e.sent,s=l.code,u=l.annotations,e.next=10,E(s,i,n,{annotations:[],scopes:!1});case 10:return d=e.sent,m=d.lines,f=d.lang,v=d.style,h=he(m),y=ye(h),g=ge(y),e.abrupt("return",p(p({},t),{},{code:s,tokens:g,lang:f,annotations:ve(u),themeName:"string"==typeof n?n:(null==n?void 0:n.name)||"unknown",style:v}));case 18:case"end":return e.stop()}}),e)}))),fe.apply(this,arguments)}function ve(e){var t,n=[],r=d(e);try{for(r.s();!(t=r.n()).done;){var o,a=t.value,i=a.name,l=a.query,s=a.ranges,c=d(s);try{for(c.s();!(o=c.n()).done;){var u=o.value;if(u.lineNumber){var p=u.lineNumber,m=u.fromColumn,f=u.toColumn;n.push({name:i,query:l,lineNumber:p,fromColumn:m,toColumn:f})}else{var v=u.fromLineNumber,h=u.toLineNumber;n.push({name:i,query:l,fromLineNumber:v,toLineNumber:h})}}}catch(e){c.e(e)}finally{c.f()}}}catch(e){r.e(e)}finally{r.f()}return n}function he(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=m(n,de);return t.push(r),Object.keys(o).length&&t.push(o),t}))}(n.tokens);t.push.apply(t,u(o)),r<e.length-1&&t.push("\n")})),t}function ye(e){var t=[];return e.forEach((function(e){if(pe(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=l(n,3),o=r[0],a=r[1],i=r[2];if((null==o?void 0:o.length)&&t.push(o),a.length){var s=u(e);s[0]=a,t.push(s)}(null==i?void 0:i.length)&&t.push(i)}})),t}function ge(e){var t=[];return e.forEach((function(e){if(pe(e)){var n=t[t.length-1];n&&pe(n)?t[t.length-1]+=e:""!==e&&t.push(e)}else e[0].length>0&&t.push(e)})),t}var be,_e={exports:{}},ke={};var Ce,Ee,Ae={};function xe(){return Ce||(Ce=1,"production"!==process.env.NODE_ENV&&function(){function t(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===x?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case m:return"Fragment";case h:return"Profiler";case v:return"StrictMode";case _:return"Suspense";case k:return"SuspenseList";case A:return"Activity"}if("object"===f(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 d:return"Portal";case g:return(e.displayName||"Context")+".Provider";case y:return(e._context.displayName||"Context")+".Consumer";case b:var n=e.render;return(e=e.displayName)||(e=""!==(e=n.displayName||n.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case C:return null!==(n=e.displayName||null)?n:t(e.type)||"Memo";case E: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(e){if(e===m)return"<>";if("object"===f(e)&&null!==e&&e.$$typeof===E)return"<...>";try{var n=t(e);return n?"<"+n+">":"<...>"}catch(e){return"<...>"}}function a(){return Error("react-stack-top-frame")}function i(){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 l(e,n,o,a,l,u,d,m){var f,v=n.children;if(void 0!==v)if(a)if(N(v)){for(a=0;a<v.length;a++)s(v[a]);Object.freeze&&Object.freeze(v)}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 s(v);if(S.call(n,"key")){v=t(e);var h=Object.keys(n).filter((function(e){return"key"!==e}));a=0<h.length?"{key: someKey, "+h.join(": ..., ")+": ...}":"{key: someKey}",B[v+a]||(h=0<h.length?"{"+h.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,v,h,v),B[v+a]=!0)}if(v=null,void 0!==o&&(r(o),v=""+o),function(e){if(S.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),v=""+n.key),"key"in n)for(var y in o={},n)"key"!==y&&(o[y]=n[y]);else o=n;return v&&function(e,t){function n(){c||(c=!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,l,s){return n=a.ref,e={$$typeof:p,type:e,key:t,props:a,_owner:o},null!==(void 0!==n?n:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:i}):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.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:l}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:s}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,v,u,0,null===(f=w.A)?null:f.getOwner(),o,d,m)}function s(e){"object"===f(e)&&null!==e&&e.$$typeof===p&&e._store&&(e._store.validated=1)}var c,u=e,p=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),g=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),A=Symbol.for("react.activity"),x=Symbol.for("react.client.reference"),w=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,S=Object.prototype.hasOwnProperty,N=Array.isArray,R=console.createTask?console.createTask:function(){return null},j={},D=(u={"react-stack-bottom-frame":function(e){return e()}})["react-stack-bottom-frame"].bind(u,a)(),F=R(o(a)),B={};Ae.Fragment=m,Ae.jsx=function(e,t,n,r,a){var i=1e4>w.recentlyCreatedOwnerStacks++;return l(e,t,n,!1,0,a,i?Error("react-stack-top-frame"):D,i?R(o(e)):F)},Ae.jsxs=function(e,t,n,r,a){var i=1e4>w.recentlyCreatedOwnerStacks++;return l(e,t,n,!0,0,a,i?Error("react-stack-top-frame"):D,i?R(o(e)):F)}}()),Ae}var we=(Ee||(Ee=1,"production"===process.env.NODE_ENV?_e.exports=function(){if(be)return ke;be=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 ke.Fragment=t,ke.jsx=n,ke.jsxs=n,ke}():_e.exports=xe()),_e.exports);function Se(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?p(p({},e.data),n):n;else if("className"===t)e.className=[e.className,n].join(" ").trim();else if("style"===t)e.style=p(p({},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"!==f(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 Ne(){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)Se(e,n,t[n]);return e}),{})}var Re=["merge"],je=["_stack"],De=["_ref","data","children"],Fe=["merge"],Be=["_stack"],Xe=["lineNumber","totalLines","indentation","data","annotation"],Oe=["merge"],Pe=["_stack"],Le=["value","data"],Te=function(e){var t=Ne(e.merge,m(e,Re)),n=t._stack,r=m(t,je),o=v(n),a=o[0],i=o.slice(1);if(a)return we.jsx(a,p({_stack:i},r));var l=r._ref;r.data;var s=r.children,c=m(r,De);return we.jsx("pre",p(p({},c),{},{ref:l,"data-ch":!0,children:we.jsx("div",{style:{minWidth:"fit-content"},children:s})}))},Ie=function(e){var t=Ne(e.merge,m(e,Fe)),n=t._stack,r=m(t,Be),o=v(n),a=o[0],i=o.slice(1);if(a){var l=a.Component,s=a.annotation;return we.jsx(l,p(p({_stack:i},r),{},{annotation:s}))}r.lineNumber,r.totalLines,r.indentation,r.data,r.annotation;var c=m(r,Xe);return we.jsx("div",p({},c))},qe=function(e){var t=Ne(e.merge,m(e,Oe)),n=t._stack,r=m(t,Pe),o=v(n),a=o[0],i=o.slice(1);if(a){var l=a.Component,s=a.annotation;return we.jsx(l,p(p({_stack:i},r),{},{annotation:s}))}var c=r.value;r.data;var u=m(r,Le);return we.jsx("span",p(p({},u),{},{children:c}))},$e=function(e){var t=n(null),r=e._ref||t;return we.jsx(Te,{merge:e,_ref:r})};function ze(e,t){var n=[t.fromColumn,t.toColumn],r=We(e,n[0]);r=We(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 We(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(Ke(r)){var o,a=We(r.content,t),i=[],l=[],s=d(a);try{for(s.s();!(o=s.n()).done;){var c=o.value;c.range[1]<t?i.push(c):l.push(c)}}catch(e){s.e(e)}finally{s.f()}return[].concat(u(e.slice(0,n)),[p(p({},r),{},{content:i,range:[r.range[0],t-1]}),p(p({},r),{},{content:l,range:[t,r.range[1]]})],u(e.slice(n+1)))}return[].concat(u(e.slice(0,n)),[p(p({},r),{},{value:r.value.slice(0,t-r.range[0]),range:[r.range[0],t-1]}),p(p({},r),{},{value:r.value.slice(t-r.range[0]),range:[t,r.range[1]]})],u(e.slice(n+1)))}function Ke(e){return void 0!==e.content}function Ge(e){var t=e.content,n=e.handlers,r=e.annotationStack;return t.map((function(e,t){return Ke(e)?we.jsx(Ue,{annotationStack:r,handlers:n,group:e},t):e.style?we.jsx(Me,{annotationStack:r,handlers:n,token:e},t):e.value}))}function Me(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 we.jsx(qe,{merge:{_stack:r,style:n.style,value:n.value}})}function Ue(e){var t,n=e.group,r=e.handlers,o=e.annotationStack,a=n.annotation,i=n.content,l=a.name,s=Ge({content:i,handlers:r,annotationStack:[].concat(u(o),[a])}),c=null===(t=r.find((function(e){return e.name===l})))||void 0===t?void 0:t.Inline;return c?we.jsx(c,{annotation:a,children:s}):s}function Ve(e,t){var n=[t.fromLineNumber,t.toLineNumber],r=He(e,n[0]);r=He(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 He(e,t){var n=e.findIndex((function(e){return Ye(e)&&e.range[0]<t&&t<=e.range[1]}));if(-1===n)return e;var r=e[n],o=He(r.lines,t),a=[],i=[];return o.forEach((function(e){e.range[1]<t?a.push(e):i.push(e)})),[].concat(u(e.slice(0,n)),[p(p({},r),{},{lines:a,range:[r.range[0],t-1]}),p(p({},r),{},{lines:i,range:[t,r.range[1]]})],u(e.slice(n+1)))}function Ye(e){return void 0!==e.annotation}function Je(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 Ye(e)?we.jsx(Qe,{group:e,handlers:n,inlineAnnotations:r,annotationStack:a},e.range[0]):we.jsx(Ze,{line:e,handlers:n,inlineAnnotations:r,annotationStack:a},e.lineNumber)}))}function Ze(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,s=t.indentation,c=r.filter((function(e){return e.lineNumber===i})),u=function(e,t){for(var n=e,r=t.length-1;r>=0;r--)n=ze(n,t[r]);return n}(t.tokens,c),p=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),d=Ge({content:u,handlers:n,annotationStack:a}),m={lineNumber:i,indentation:s,totalLines:l,_stack:p};return we.jsx(Ie,{merge:m,children:d},i)}function Qe(e){var t,n=e.group,r=e.handlers,o=e.inlineAnnotations,a=e.annotationStack,i=n.annotation,l=n.lines,s=i.name,c=null===(t=r.find((function(e){return e.name===s})))||void 0===t?void 0:t.Block,p=Je({linesOrGroups:l,handlers:r,inlineAnnotations:o,annotationStack:[].concat(u(a),[i])});return c?we.jsx(c,{annotation:i,children:p}):p}var et=["code","handlers"],tt=r((function(e,t){var n=e.code,r=e.handlers,o=void 0===r?[]:r,a=m(e,et),i=n.tokens,l=n.themeName,s=n.lang,c=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){c=c.flatMap((function(t){return e.name!=t.name?t:e.transform(t)||[]}))}));var d=new Set(c.map((function(e){return e.name}))),f=o.filter((function(e){return!e.onlyIfAnnotated||d.has(e.name)})),v=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($e);return[].concat(u(t),u(n))}(f),h={_stack:v,_ref:t};return we.jsx(Te,p(p({merge:h,"data-theme":l,"data-lang":s},a),{},{children:we.jsx(nt,{tokens:i,handlers:f,annotations:c})}))}));function nt(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=o.split("\n"),i=v(a),s=i[0],c=i.slice(1);if(s){var u=r;r+=s.length,t[t.length-1].push({value:s,range:[u,r]})}c.length&&(t[t.length-1].push({value:"\n",range:[r,r+1]}),t.push([]),r=1,n.unshift(c.join("\n")))}else{var d=l(o,3),m=d[0],f=d[1],h=d[2],y=void 0===h?{}:h,g=r;r+=m.length,t[t.length-1].push({value:m,style:p({color:f},y),range:[g,r]})}}var b=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:b}}))}(t),a=r.filter(ce),i=r.filter(ue),s=function(e,t){for(var n=e,r=t.length-1;r>=0;r--)n=Ve(n,t[r]);return n}(o,a);return Je({linesOrGroups:s,handlers:n,inlineAnnotations:i})}var rt={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 ot,at={host:"XydAtlas-Component-Code-CodeSample__host_h1ur68ey"},it={host:"XydAtlas-Component-Code-CodeSample__host_hp2fg9q",list:"XydAtlas-Component-Code-CodeSample__list_l1u5q09",button:"XydAtlas-Component-Code-CodeSample__button_b1g5l43",description:"XydAtlas-Component-Code-CodeSample__description_d1x4vxzj",description$item:"XydAtlas-Component-Code-CodeSample__description_item_d1n1kybx",copy:"XydAtlas-Component-Code-CodeSample__copy_c1qxxuld"},lt={host:"XydAtlas-Component-Code-CodeSample__host_h1gfddng"},st="XydAtlas-Component-Code-CodeSample__host_h1h0n8u6",ct="XydAtlas-Component-Code-CodeSample__line_l12klvp",ut="XydAtlas-Component-Code-CodeSample___annotated__4uqa3m",pt="XydAtlas-Component-Code-CodeSample__host_h18n51vi",dt=(ot=k.Root,function(n){var r=t("undefined"!=typeof localStorage&&(null===localStorage||void 0===localStorage?void 0:localStorage.getItem(n.localStorageKey))||n.defaultValue),a=l(r,2),i=a[0],s=a[1];return o((function(){var e=function(e){e.key===n.localStorageKey&&s(e.newValue||n.defaultValue)};return window.addEventListener("storage",e),function(){window.removeEventListener("storage",e)}}),[n.localStorageKey]),e.createElement(ot,{onValueChange:function(e){localStorage.setItem(n.localStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:n.localStorageKey,newValue:e}))},value:i},n.children)});function mt(n){var r,a,i,s,u=t([]),p=l(u,2),d=p[0],m=p[1];return o((function(){!function(){oe(this,void 0,void 0,c().mark((function e(){var t,r;return c().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 me(e,rt)})));case 2:r=e.sent,m(r);case 4:case"end":return e.stop()}}),e)})))}()}),[n.codeblocks]),0===d.length?e.createElement(h,null):d?e.createElement(dt,{className:at.host,style:null===(r=d[0])||void 0===r?void 0:r.style,localStorageKey:"preferredLanguage[".concat(name,"]"),defaultValue:null===(a=d[0])||void 0===a?void 0:a.meta},e.createElement("div",{className:it.host},e.createElement(ft,{description:n.description}),e.createElement(k.List,{className:it.list},null===(i=n.codeblocks)||void 0===i?void 0:i.map((function(t,n){var r=t.meta;return e.createElement(k.Trigger,{value:r,key:n,className:it.button},r)}))),e.createElement("div",{className:it.copy},null===(s=n.codeblocks)||void 0===s?void 0:s.map((function(t,n){return e.createElement(k.Content,{value:t.meta,asChild:!0,key:n},e.createElement(ne,{text:t.value}))})))),null==d?void 0:d.map((function(t,n){return e.createElement(k.Content,{value:t.meta,key:n},e.createElement(tt,{className:lt.host,style:(null==t?void 0:t.style)||(null==t?void 0:t.style),code:t,handlers:[vt,ht]}))}))):e.createElement(h,null)}function ft(t){return e.createElement("div",{className:it.description},e.createElement("div",{className:it.description$item},t.description))}var vt={name:"Mark",Line:function(t){var n=t.annotation,r=re(t,["annotation"]);return e.createElement("div",{className:"".concat(st," ").concat(n&&ut)},e.createElement(Ie,{merge:r,className:ct}))}},ht={name:"LineNumber",Line:function(t){t.annotation;var n=re(t,["annotation"]),r=n.totalLines.toString().length+1;return e.createElement(e.Fragment,null,e.createElement("span",{style:{minWidth:"".concat(r,"ch")},className:pt},n.lineNumber),e.createElement(Ie,{merge:n}))}},yt={host:"XydAtlas-Component-Code-CodeSampleButtons__host_h1de1isv",container:"XydAtlas-Component-Code-CodeSampleButtons__container_c174knag"},gt={host:"XydAtlas-Component-Code-CodeSampleButtons__host_hdr58em",icon:"XydAtlas-Component-Code-CodeSampleButtons__icon_izmf263"},bt={host:"XydAtlas-Component-Code-CodeSampleButtons__host_h1olbpn1",container:"XydAtlas-Component-Code-CodeSampleButtons__container_c1dubejs"},_t={host:"XydAtlas-Component-Code-CodeSampleButtons__host_he063xp",$$active:"XydAtlas-Component-Code-CodeSampleButtons___active__lt697q"};function kt(r){var a=r.examples,s=r.activeExample,c=r.onClick,u=t(!1),p=l(u,2),d=p[0],m=p[1],f=t(!1),v=l(f,2),h=v[0],y=v[1],g=n(null),k=function(){if(g.current){var e=g.current,t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;m(t>0),y(t<n-r)}};o((function(){return k(),window.addEventListener("resize",k),function(){return window.removeEventListener("resize",k)}}),[]);var C=function(e){if(g.current){var t="left"===e?-200:200;g.current.scrollBy({left:t,behavior:"smooth"})}};return e.createElement("div",{className:yt.host},e.createElement("div",{className:yt.container},d&&e.createElement("button",{onClick:function(){return C("left")},className:gt.host},e.createElement(b,{className:gt.icon})),e.createElement("div",{ref:g,onScroll:k,className:bt.host},e.createElement("div",{className:bt.container},null==a?void 0:a.map((function(t){return e.createElement(Ct,{key:t.codeblock.title,onClick:function(){return c(t)},example:t,activeExample:s},i(t.codeblock.title||null))})))),h&&e.createElement("button",{onClick:function(){return C("right")},className:gt.host},e.createElement(_,{className:gt.icon}))))}function Ct(t){var n,r,o=t.onClick,a=t.children,i=t.activeExample,l=t.example,s=(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(_t.host," ").concat(s&&_t.$$active)},a)}var Et={host:"XydAtlas-Component-ApiRef-ApiRefSamples__host_hskauww"},At={host:"XydAtlas-Component-ApiRef-ApiRefSamples__host_h1nkbfqz"};function xt(n){var r,o=n.examples;return e.createElement("div",{className:Et.host},null===(r=o.groups)||void 0===r?void 0:r.map((function(n,r){var o,a,i=n.description,s=n.examples,c=t(null==s?void 0:s[0]),u=l(c,2),p=u[0],d=u[1],m=null===(a=null===(o=null==p?void 0:p.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:At.host},(null==s?void 0:s.length)>1?e.createElement(kt,{activeExample:p,examples:s,onClick:function(e){d(e)}}):null,e.createElement(mt,{name:String(r),description:(null==i?void 0:i.title)||"",codeblocks:m||[]}))})))}var wt="XydAtlas-Component-Atlas__host_h5edgc7";function St(t){var n;return e.createElement("div",{className:wt},null===(n=t.references)||void 0===n?void 0:n.map((function(t,n){return e.createElement("div",{key:n},e.createElement(P,{reference:Object.assign({},t)}))})))}var Nt="XydAtlas-Component-Atlas-AtlasLazy__host_h12vpet9",Rt="XydAtlas-Component-Atlas-AtlasLazy___first__18e99ku";function jt(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(Nt," ").concat(0===r&&Rt),"data-slug":"".concat(t.urlPrefix,"/").concat(null===(o=n.canonical)||void 0===o?void 0:o.title)},e.createElement(Dt,{reference:n,onLoad:r===t.references.length-1?t.onLoaded:null})))}))}function Dt(t){var n=t.reference,r=t.onLoad;return o((function(){r&&r()}),[]),e.createElement(e.Fragment,null,e.createElement(P,{reference:n}))}export{St as Atlas,jt as AtlasLazy};
2
2
  //# sourceMappingURL=index.js.map