notebook 7.1.0rc1__py3-none-any.whl → 7.1.2__py3-none-any.whl
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.
Potentially problematic release.
This version of notebook might be problematic. Click here for more details.
- notebook/__init__.py +1 -1
- notebook/_version.py +1 -1
- notebook/static/1198.bundle.js +1 -1
- notebook/static/131.bundle.js +1 -1
- notebook/static/1337.bundle.js +1 -1
- notebook/static/134.bundle.js +1 -1
- notebook/static/1388.bundle.js +1 -1
- notebook/static/1408.bundle.js +1 -1
- notebook/static/1495.bundle.js +1 -1
- notebook/static/1496.bundle.js +1 -1
- notebook/static/1647.bundle.js +1 -1
- notebook/static/1650.bundle.js +1 -1
- notebook/static/1664.bundle.js +17 -17
- notebook/static/1682.bundle.js +1 -1
- notebook/static/1684.bundle.js +1 -1
- notebook/static/1809.bundle.js +1 -1
- notebook/static/1827.bundle.js +1 -1
- notebook/static/1833.bundle.js +1 -1
- notebook/static/1835.bundle.js +1 -1
- notebook/static/1846.bundle.js +1 -1
- notebook/static/1950.bundle.js +1 -1
- notebook/static/1958.bundle.js +1 -1
- notebook/static/2007.bundle.js +1 -1
- notebook/static/2067.bundle.js +1 -1
- notebook/static/2088.bundle.js +1 -1
- notebook/static/2089.bundle.js +1 -1
- notebook/static/2122.bundle.js +1 -1
- notebook/static/214.bundle.js +1 -1
- notebook/static/2167.bundle.js +1 -1
- notebook/static/2184.bundle.js +1 -1
- notebook/static/2241.bundle.js +1 -1
- notebook/static/2311.bundle.js +1 -1
- notebook/static/2324.bundle.js +1 -1
- notebook/static/2401.bundle.js +1 -1
- notebook/static/2479.bundle.js +1 -1
- notebook/static/2489.bundle.js +1 -1
- notebook/static/2512.bundle.js +1 -1
- notebook/static/2520.bundle.js +1 -1
- notebook/static/2577.bundle.js +1 -1
- notebook/static/2607.bundle.js +1 -1
- notebook/static/261.bundle.js +1 -1
- notebook/static/2615.bundle.js +1 -1
- notebook/static/2692.bundle.js +1 -1
- notebook/static/2924.bundle.js +1 -1
- notebook/static/2944.bundle.js +1 -1
- notebook/static/3129.bundle.js +1 -1
- notebook/static/3146.bundle.js +1 -1
- notebook/static/3154.bundle.js +1 -1
- notebook/static/3187.bundle.js +1 -1
- notebook/static/3213.bundle.js +1 -1
- notebook/static/3340.bundle.js +1 -1
- notebook/static/3360.bundle.js +1 -1
- notebook/static/3466.bundle.js +1 -1
- notebook/static/3488.bundle.js +1 -1
- notebook/static/3512.bundle.js +1 -1
- notebook/static/3654.bundle.js +1 -1
- notebook/static/3676.bundle.js +1 -1
- notebook/static/3680.bundle.js +1 -1
- notebook/static/3768.bundle.js +1 -1
- notebook/static/377.bundle.js +1 -1
- notebook/static/3863.bundle.js +1 -1
- notebook/static/3881.bundle.js +1 -1
- notebook/static/4035.bundle.js +1 -1
- notebook/static/4042.bundle.js +1 -1
- notebook/static/4212.bundle.js +1 -1
- notebook/static/4382.bundle.js +1 -1
- notebook/static/4558.bundle.js +1 -1
- notebook/static/4630.bundle.js +1 -1
- notebook/static/4645.bundle.js +1 -1
- notebook/static/4811.bundle.js +1 -1
- notebook/static/4837.bundle.js +1 -1
- notebook/static/5088.bundle.js +1 -1
- notebook/static/5099.bundle.js +1 -1
- notebook/static/5135.bundle.js +1 -1
- notebook/static/514.bundle.js +1 -1
- notebook/static/5263.bundle.js +1 -0
- notebook/static/5313.bundle.js +1 -1
- notebook/static/5325.bundle.js +1 -1
- notebook/static/5346.bundle.js +1 -1
- notebook/static/5426.bundle.js +1 -1
- notebook/static/5573.bundle.js +1 -1
- notebook/static/5601.bundle.js +1 -1
- notebook/static/5649.bundle.js +3 -3
- notebook/static/5733.bundle.js +1 -1
- notebook/static/5912.bundle.js +1 -1
- notebook/static/5921.bundle.js +1 -1
- notebook/static/6017.bundle.js +1 -1
- notebook/static/6139.bundle.js +1 -1
- notebook/static/62.bundle.js +1 -1
- notebook/static/6256.bundle.js +1 -1
- notebook/static/6281.bundle.js +1 -1
- notebook/static/6345.bundle.js +1 -1
- notebook/static/6417.bundle.js +1 -1
- notebook/static/6604.bundle.js +1 -1
- notebook/static/6621.bundle.js +1 -1
- notebook/static/6627.bundle.js +1 -1
- notebook/static/6640.bundle.js +1 -1
- notebook/static/6667.bundle.js +1 -1
- notebook/static/6815.bundle.js +1 -1
- notebook/static/6893.bundle.js +1 -1
- notebook/static/690.bundle.js +1 -1
- notebook/static/6962.bundle.js +1 -1
- notebook/static/6999.bundle.js +1 -1
- notebook/static/{1608.bundle.js → 7005.bundle.js} +1 -1
- notebook/static/7097.bundle.js +1 -1
- notebook/static/7153.bundle.js +1 -1
- notebook/static/7226.bundle.js +1 -1
- notebook/static/7252.bundle.js +1 -1
- notebook/static/7302.bundle.js +1 -1
- notebook/static/7386.bundle.js +1 -1
- notebook/static/7391.bundle.js +1 -1
- notebook/static/7394.bundle.js +1 -1
- notebook/static/7427.bundle.js +1 -1
- notebook/static/755.bundle.js +1 -1
- notebook/static/7603.bundle.js +1 -1
- notebook/static/7639.bundle.js +1 -1
- notebook/static/7684.bundle.js +1 -1
- notebook/static/7811.bundle.js +1 -1
- notebook/static/7812.bundle.js +1 -1
- notebook/static/7819.bundle.js +1 -1
- notebook/static/7900.bundle.js +1 -1
- notebook/static/7906.bundle.js +1 -1
- notebook/static/7995.bundle.js +1 -1
- notebook/static/853.bundle.js +1 -0
- notebook/static/8579.bundle.js +1 -1
- notebook/static/8633.bundle.js +1 -1
- notebook/static/8768.bundle.js +1 -1
- notebook/static/8771.bundle.js +1 -1
- notebook/static/8781.bundle.js +1 -1
- notebook/static/8801.bundle.js +1 -1
- notebook/static/8875.bundle.js +1 -1
- notebook/static/8907.bundle.js +1 -1
- notebook/static/8928.bundle.js +1 -1
- notebook/static/893.bundle.js +1 -1
- notebook/static/901.bundle.js +1 -1
- notebook/static/9068.bundle.js +1 -1
- notebook/static/9151.bundle.js +1 -1
- notebook/static/9161.bundle.js +1 -1
- notebook/static/9268.bundle.js +1 -1
- notebook/static/9335.bundle.js +1 -1
- notebook/static/9341.bundle.js +1 -1
- notebook/static/9380.bundle.js +1 -1
- notebook/static/9605.bundle.js +1 -1
- notebook/static/9638.bundle.js +1 -1
- notebook/static/9680.bundle.js +1 -1
- notebook/static/9685.bundle.js +1 -1
- notebook/static/9752.bundle.js +1 -1
- notebook/static/9821.bundle.js +1 -1
- notebook/static/9852.bundle.js +1 -1
- notebook/static/9866.bundle.js +1 -1
- notebook/static/bundle.js +1 -1
- notebook/static/third-party-licenses.json +99 -99
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/package.json.orig +14 -14
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +4 -4
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/package.json.orig +6 -6
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/package.json.orig +9 -9
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/package.json.orig +15 -15
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/package.json +11 -11
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/package.json.orig +10 -10
- notebook-7.1.0rc1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/913.ed31b967ed65df80c2cf.js → notebook-7.1.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/246.7bfc2ac5bb3d27d6e0b9.js +1 -1
- notebook-7.1.0rc1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.7c69f17d842172804b2c.js → notebook-7.1.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.6e8d43b976f4be45b3d2.js +1 -1
- notebook-7.1.0rc1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.bf68c8ab6c905f205d45.js → notebook-7.1.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.65b9457e7bb7d428c0a7.js +1 -1
- notebook-7.1.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.832d780237fca436ff92.js +1 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/third-party-licenses.json +2 -2
- {notebook-7.1.0rc1.dist-info → notebook-7.1.2.dist-info}/METADATA +2 -2
- {notebook-7.1.0rc1.dist-info → notebook-7.1.2.dist-info}/RECORD +189 -189
- notebook/static/4131.bundle.js +0 -1
- notebook/static/6853.bundle.js +0 -1
- notebook-7.1.0rc1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.de9e68f80570f96cb86a.js +0 -1
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/etc/jupyter/jupyter_server_config.d/notebook.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/applications/jupyter-notebook.desktop +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/icons/hicolor/scalable/apps/notebook.svg +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/title.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/top.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/open.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/edit-notebook-metadata.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/widget.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/interface-switcher.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/launch-tree.json +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.eae3497dd223d842d198.js +0 -0
- {notebook-7.1.0rc1.data → notebook-7.1.2.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/style.js +0 -0
- {notebook-7.1.0rc1.dist-info → notebook-7.1.2.dist-info}/WHEEL +0 -0
- {notebook-7.1.0rc1.dist-info → notebook-7.1.2.dist-info}/entry_points.txt +0 -0
- {notebook-7.1.0rc1.dist-info → notebook-7.1.2.dist-info}/licenses/LICENSE +0 -0
notebook/static/7995.bundle.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 7995.bundle.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[7995],{57995:(e,r,t)=>{"use strict";function n(e){return!("undefined"!=typeof File&&e instanceof File||"undefined"!=typeof Date&&e instanceof Date||"object"!=typeof e||null===e||Array.isArray(e))}function i(e){return!0===e.additionalItems&&console.warn("additionalItems=true is currently not supported"),n(e.additionalItems)}function o(e){if(""===e)return;if(null===e)return null;if(/\.$/.test(e))return e;if(/\.0$/.test(e))return e;if(/\.\d*0$/.test(e))return e;const r=Number(e);return"number"!=typeof r||Number.isNaN(r)?e:r}t.r(r),t.d(r,{ADDITIONAL_PROPERTIES_KEY:()=>s,ADDITIONAL_PROPERTY_FLAG:()=>a,ALL_OF_KEY:()=>u,ANY_OF_KEY:()=>c,CONST_KEY:()=>f,DEFAULT_KEY:()=>l,DEFINITIONS_KEY:()=>p,DEPENDENCIES_KEY:()=>d,ENUM_KEY:()=>m,ERRORS_KEY:()=>h,ErrorSchemaBuilder:()=>Sr,ID_KEY:()=>y,IF_KEY:()=>v,ITEMS_KEY:()=>g,JUNK_OPTION_ID:()=>b,NAME_KEY:()=>A,ONE_OF_KEY:()=>x,PROPERTIES_KEY:()=>w,REF_KEY:()=>E,REQUIRED_KEY:()=>O,RJSF_ADDITONAL_PROPERTIES_FLAG:()=>_,ROOT_SCHEMA_PREFIX:()=>I,SUBMIT_BTN_OPTIONS_KEY:()=>S,TranslatableString:()=>nt,UI_FIELD_KEY:()=>j,UI_GLOBAL_OPTIONS_KEY:()=>$,UI_OPTIONS_KEY:()=>D,UI_WIDGET_KEY:()=>P,allowAdditionalItems:()=>i,ariaDescribedByIds:()=>qr,asNumber:()=>o,canExpand:()=>F,createErrorHandler:()=>U,createSchemaUtils:()=>lr,dataURItoBlob:()=>pr,deepEquals:()=>L,descriptionId:()=>Lr,englishStringTranslator:()=>mr,enumOptionsDeselectValue:()=>yr,enumOptionsIndexForValue:()=>gr,enumOptionsIsSelected:()=>vr,enumOptionsSelectValue:()=>xr,enumOptionsValueForIndex:()=>hr,errorId:()=>Cr,examplesId:()=>Rr,findSchemaDefinition:()=>z,getClosestMatchingOption:()=>Be,getDateElementProps:()=>Er,getDefaultFormState:()=>Ze,getDiscriminatorFieldFromSchema:()=>Se,getDisplayLabel:()=>tr,getFirstMatchingOption:()=>ce,getInputProps:()=>Ir,getMatchingOption:()=>ue,getOptionMatchingSimpleDiscriminator:()=>se,getSchemaType:()=>je,getSubmitButtonOptions:()=>Pr,getTemplate:()=>Dr,getUiOptions:()=>N,getWidget:()=>Tr,guessType:()=>Ee,hasWidget:()=>kr,hashForSchema:()=>Ur,helpId:()=>Br,isConstant:()=>Ke,isCustomWidget:()=>er,isFilesArray:()=>rr,isFixedItems:()=>Ve,isMultiSelect:()=>ze,isObject:()=>n,isSelect:()=>Je,labelValue:()=>Kr,localToUTC:()=>Jr,mergeDefaultsWithFormData:()=>qe,mergeObjects:()=>Ye,mergeSchemas:()=>Pe,mergeValidationData:()=>nr,optionId:()=>Yr,optionsList:()=>Hr,orderProperties:()=>Gr,pad:()=>Qr,parseDateString:()=>Xr,rangeSpec:()=>_r,replaceStringParameters:()=>dr,retrieveSchema:()=>De,sanitizeDataForNewSchema:()=>or,schemaParser:()=>ht,schemaRequiresTrueValue:()=>Zr,shouldRender:()=>et,titleId:()=>Vr,toConstant:()=>zr,toDateString:()=>rt,toErrorList:()=>tt,toErrorSchema:()=>at,toIdSchema:()=>sr,toPathSchema:()=>cr,unwrapErrorHandler:()=>st,utcToLocal:()=>ut,validationDataMerge:()=>ct,withIdRefPrefix:()=>ft});const a="__additional_property",s="additionalProperties",u="allOf",c="anyOf",f="const",l="default",p="definitions",d="dependencies",m="enum",h="__errors",y="$id",v="if",g="items",b="_$junk_option_schema_id$_",A="$name",x="oneOf",w="properties",O="required",S="submitButtonOptions",E="$ref",_="__rjsf_additionalProperties",I="__rjsf_rootSchema",j="ui:field",P="ui:widget",D="ui:options",$="ui:globalOptions";function N(e={},r={}){return Object.keys(e).filter((e=>0===e.indexOf("ui:"))).reduce(((r,t)=>{const i=e[t];return t===P&&n(i)?(console.error("Setting options via ui:widget object is no longer supported, use ui:options instead"),r):t===D&&n(i)?{...r,...i}:{...r,[t.substring(3)]:i}}),{...r})}function F(e,r={},t){if(!e.additionalProperties)return!1;const{expandable:n=!0}=N(r);return!1===n?n:void 0===e.maxProperties||!t||Object.keys(t).length<e.maxProperties}var M=t(40861),T=t.n(M);function U(e){const r={[h]:[],addError(e){this[h].push(e)}};if(Array.isArray(e))return e.reduce(((e,r,t)=>({...e,[t]:U(r)})),r);if(T()(e)){const t=e;return Object.keys(t).reduce(((e,r)=>({...e,[r]:U(t[r])})),r)}return r}var k=t(65191),W=t.n(k);function L(e,r){return W()(e,r,((e,r)=>{if("function"==typeof e&&"function"==typeof r)return!0}))}var C=t(99729),R=t.n(C),B=t(90104),V=t.n(B),q=t(88208),Y=t(48159),K=t.n(Y);function J(e,r){const t=r[e];return[K()(r,[e]),t]}function z(e,r={}){let t=e||"";if(!t.startsWith("#"))throw new Error(`Could not find a definition for ${e}.`);t=decodeURIComponent(t.substring(1));const n=q.get(r,t);if(void 0===n)throw new Error(`Could not find a definition for ${e}.`);if(n[E]){const[e,t]=J(E,n),i=z(t,r);return Object.keys(e).length>0?{...e,...i}:i}return n}var H=t(73915),G=t.n(H),Q=t(78581),X=t.n(Q),Z=t(11611),ee=t.n(Z),re=t(47206),te=t.n(re),ne=t(34172),ie=t.n(ne),oe=t(41571),ae=t.n(oe);function se(e,r,t){var n;if(e&&t){const i=R()(e,t);if(void 0===i)return;for(let e=0;e<r.length;e++){const o=r[e],a=R()(o,[w,t],{});if("object"!==a.type&&"array"!==a.type){if(a.const===i)return e;if(null===(n=a.enum)||void 0===n?void 0:n.includes(i))return e}}}}function ue(e,r,t,n,i){if(void 0===r)return 0;const o=se(r,t,i);if(X()(o))return o;for(let o=0;o<t.length;o++){const a=t[o];if(i&&G()(a,[w,i])){const t=R()(r,i),s=R()(a,[w,i],{});if(e.isValid(s,t,n))return o}else if(a[w]){const t={anyOf:Object.keys(a[w]).map((e=>({required:[e]})))};let i;if(a.anyOf){const{...e}=a;e.allOf?e.allOf=e.allOf.slice():e.allOf=[],e.allOf.push(t),i=e}else i=Object.assign({},a,t);if(delete i.required,e.isValid(i,r,n))return o}else if(e.isValid(a,r,n))return o}return 0}function ce(e,r,t,n,i){return ue(e,r,t,n,i)}var fe=t(56141),le=t.n(fe),pe=t(47215),de=t.n(pe),me=t(42673),he=t.n(me),ye=t(15409),ve=t.n(ye),ge=t(84812),be=t.n(ge),Ae=t(83766),xe=t.n(Ae),we=t(64717),Oe=t.n(we);function Se(e){let r;const t=R()(e,"discriminator.propertyName",void 0);return te()(t)?r=t:void 0!==t&&console.warn(`Expecting discriminator to be a string, got "${typeof t}" instead`),r}function Ee(e){return Array.isArray(e)?"array":"string"==typeof e?"string":null==e?"null":"boolean"==typeof e?"boolean":isNaN(e)?"object"==typeof e?"object":"string":"number"}var _e=t(68946),Ie=t.n(_e);function je(e){let{type:r}=e;return!r&&e.const?Ee(e.const):!r&&e.enum?"string":r||!e.properties&&!e.additionalProperties?(Array.isArray(r)&&(r=2===r.length&&r.includes("null")?r.find((e=>"null"!==e)):r[0]),r):"object"}function Pe(e,r){const t=Object.assign({},e);return Object.keys(r).reduce(((t,i)=>{const o=e?e[i]:{},a=r[i];return e&&i in e&&n(a)?t[i]=Pe(o,a):e&&r&&("object"===je(e)||"object"===je(r))&&i===O&&Array.isArray(o)&&Array.isArray(a)?t[i]=Ie()(o,a):t[i]=a,t}),t)}function De(e,r,t={},n){return Me(e,r,t,n)[0]}function $e(e){return e.reduce(((e,r)=>r.length>1?r.flatMap((r=>ae()(e.length,(t=>[...e[t]].concat(r))))):(e.forEach((e=>e.push(r[0]))),e)),[[]])}function Ne(e,r,t,n,i,o){const a=Fe(r,t,i);return a!==r?Me(e,a,t,o,n,i):[r]}function Fe(e,r,t){if(!n(e))return e;let i=e;if(E in i){const{$ref:e,...n}=i;if(t.includes(e))return i;t.push(e),i={...z(e,r),...n}}if(w in i){const e=[],n=he()(i[w],((n,i,o)=>{const a=[...t];n[o]=Fe(i,r,a),e.push(a)}),{});ve()(t,xe()(be()(e))),i={...i,[w]:n}}return g in i&&!Array.isArray(i.items)&&"boolean"!=typeof i.items&&(i={...i,items:Fe(i.items,r,t)}),le()(e,i)?e:i}function Me(e,r,t,i,o=!1,f=[]){if(!n(r))return[{}];const l=function(e,r,t,n,i,o){const a=Ne(e,r,t,n,i,o);return a.length>1||a[0]!==r?a:d in r?Ue(e,r,t,n,i,o).flatMap((r=>Me(e,r,t,o,n,i))):u in r&&Array.isArray(r.allOf)?$e(r.allOf.map((r=>Me(e,r,t,o,n,i)))).map((e=>({...r,allOf:e}))):[r]}(e,r,t,o,f,i);return l.flatMap((r=>{let l=r;if(v in l)return function(e,r,t,n,i,o){const{if:a,then:s,else:u,...c}=r,f=e.isValid(a,o||{},t);let l=[c],p=[];if(n)s&&"boolean"!=typeof s&&(p=p.concat(Me(e,s,t,o,n,i))),u&&"boolean"!=typeof u&&(p=p.concat(Me(e,u,t,o,n,i)));else{const r=f?s:u;r&&"boolean"!=typeof r&&(p=p.concat(Me(e,r,t,o,n,i)))}return p.length&&(l=p.map((e=>Pe(c,e)))),l.flatMap((r=>Me(e,r,t,o,n,i)))}(e,l,t,o,f,i);if(u in l){if(o){const{allOf:e,...r}=l;return[...e,r]}try{l=Oe()(l,{deep:!1})}catch(e){console.warn("could not merge subschemas in allOf:\n",e);const{allOf:r,...t}=l;return t}}return s in l&&!1!==l.additionalProperties?function(e,r,t,i){const o={...r,properties:{...r.properties}},s=i&&n(i)?i:{};return Object.keys(s).forEach((r=>{if(r in o.properties)return;let n={};n="boolean"!=typeof o.additionalProperties?E in o.additionalProperties?De(e,{$ref:R()(o.additionalProperties,[E])},t,s):"type"in o.additionalProperties?{...o.additionalProperties}:c in o.additionalProperties||x in o.additionalProperties?{type:"object",...o.additionalProperties}:{type:Ee(R()(s,[r]))}:{type:Ee(R()(s,[r]))},o.properties[r]=n,de()(o.properties,[r,a],!0)})),o}(e,l,t,i):l}))}function Te(e,r,t,n,i){let o;const{oneOf:a,anyOf:s,...u}=r;if(Array.isArray(a)?o=a:Array.isArray(s)&&(o=s),o){const a=void 0===i&&n?{}:i,s=Se(r);o=o.map((e=>Fe(e,t,[])));const c=ce(e,a,o,t,s);if(n)return o.map((e=>Pe(u,e)));r=Pe(u,o[c])}return[r]}function Ue(e,r,t,n,i,o){const{dependencies:a,...s}=r;return Te(e,s,t,n,o).flatMap((r=>ke(e,a,r,t,n,i,o)))}function ke(e,r,t,i,o,a,s){let u=[t];for(const c in r){if(!o&&void 0===R()(s,[c]))continue;if(t.properties&&!(c in t.properties))continue;const[f,l]=J(c,r);return Array.isArray(l)?u[0]=We(t,l):n(l)&&(u=Le(e,t,i,c,l,o,a,s)),u.flatMap((r=>ke(e,f,r,i,o,a,s)))}return u}function We(e,r){if(!r)return e;const t=Array.isArray(e.required)?Array.from(new Set([...e.required,...r])):r;return{...e,required:t}}function Le(e,r,t,n,i,o,a,s){return Me(e,i,t,s,o,a).flatMap((i=>{const{oneOf:u,...c}=i;return r=Pe(r,c),void 0===u?r:$e(u.map((r=>"boolean"!=typeof r&&E in r?Ne(e,r,t,o,a,s):[r]))).flatMap((i=>function(e,r,t,n,i,o,a,s){const u=i.filter((r=>{if("boolean"==typeof r||!r||!r.properties)return!1;const{[n]:i}=r.properties;if(i){const r={type:"object",properties:{[n]:i}};return e.isValid(r,s,t)||o}return!1}));return o||1===u.length?u.flatMap((i=>{const u=i,[c]=J(n,u.properties),f={...u,properties:c};return Me(e,f,t,s,o,a).map((e=>Pe(r,e)))})):(console.warn("ignoring oneOf in dependencies because there isn't exactly one subschema that is valid"),[r])}(e,r,t,n,i,o,a,s)))}))}const Ce={type:"object",$id:b,properties:{__not_really_there__:{type:"number"}}};function Re(e,r,t,n={}){let i=0;return t&&(ee()(t.properties)?i+=ie()(t.properties,((t,i,o)=>{const a=R()(n,o);if("boolean"==typeof i)return t;if(G()(i,E)){const n=De(e,i,r,a);return t+Re(e,r,n,a||{})}if((G()(i,x)||G()(i,c))&&a){const n=G()(i,x)?x:c,o=Se(i);return t+Be(e,r,a,R()(i,n),-1,o)}if("object"===i.type)return t+Re(e,r,i,a||{});if(i.type===Ee(a)){let e=t+1;return i.default?e+=a===i.default?1:-1:i.const&&(e+=a===i.const?1:-1),e}return t}),0):te()(t.type)&&t.type===Ee(n)&&(i+=1)),i}function Be(e,r,t,n,i=-1,o){const a=n.map((e=>Fe(e,r,[]))),s=se(t,n,o);if(X()(s))return s;const u=a.reduce(((n,i,a)=>(1===ce(e,t,[Ce,i],r,o)&&n.push(a),n)),[]);if(1===u.length)return u[0];u.length||ae()(a.length,(e=>u.push(e)));const c=new Set,{bestIndex:f}=u.reduce(((n,i)=>{const{bestScore:o}=n,s=a[i],u=Re(e,r,s,t);return c.add(u),u>o?{bestIndex:i,bestScore:u}:n}),{bestIndex:i,bestScore:0});return 1===c.size&&i>=0?i:f}function Ve(e){return Array.isArray(e.items)&&e.items.length>0&&e.items.every((e=>n(e)))}function qe(e,r,t=!1){if(Array.isArray(r)){const n=Array.isArray(e)?e:[],i=r.map(((e,r)=>n[r]?qe(n[r],e,t):e));return t&&i.length<n.length&&i.push(...n.slice(i.length)),i}if(n(r)){const n=Object.assign({},e);return Object.keys(r).reduce(((n,i)=>(n[i]=qe(e?R()(e,i):{},R()(r,i),t),n)),n)}return r}function Ye(e,r,t=!1){return Object.keys(r).reduce(((i,o)=>{const a=e?e[o]:{},s=r[o];if(e&&o in e&&n(s))i[o]=Ye(a,s,t);else if(t&&Array.isArray(a)&&Array.isArray(s)){let e=s;"preventDuplicates"===t&&(e=s.reduce(((e,r)=>(a.includes(r)||e.push(r),e)),[])),i[o]=a.concat(e)}else i[o]=s;return i}),Object.assign({},e))}function Ke(e){return Array.isArray(e.enum)&&1===e.enum.length||f in e}function Je(e,r,t={}){const n=De(e,r,t,void 0),i=n.oneOf||n.anyOf;return!!Array.isArray(n.enum)||!!Array.isArray(i)&&i.every((e=>"boolean"!=typeof e&&Ke(e)))}function ze(e,r,t){return!(!r.uniqueItems||!r.items||"boolean"==typeof r.items)&&Je(e,r.items,t)}var He;function Ge(e,r=He.Ignore,t=-1){if(t>=0){if(Array.isArray(e.items)&&t<e.items.length){const r=e.items[t];if("boolean"!=typeof r)return r}}else if(e.items&&!Array.isArray(e.items)&&"boolean"!=typeof e.items)return e.items;return r!==He.Ignore&&n(e.additionalItems)?e.additionalItems:{}}function Qe(e,r,t,i,o,a=[],s={}){const{emptyObjectFields:u="populateAllDefaults"}=s;if(i)e[r]=t;else if("skipDefaults"!==u)if(n(t)){const n=void 0===o?a.includes(r):o;V()(t)&&!a.includes(r)||!n&&"populateRequiredDefaults"===u||(e[r]=t)}else void 0===t||"populateAllDefaults"!==u&&!a.includes(r)||(e[r]=t)}function Xe(e,r,{parentDefaults:t,rawFormData:i,rootSchema:o={},includeUndefinedValues:a=!1,_recurseList:s=[],experimental_defaultFormStateBehavior:f,required:p}={}){var m,h;const y=n(i)?i:{},v=n(r)?r:{};let g=t,b=null,A=s;if(n(g)&&n(v.default))g=Ye(g,v.default);else if(l in v)g=v.default;else if(E in v){const e=v[E];s.includes(e)||(A=s.concat(e),b=z(e,o))}else if(d in v)b=Ue(e,v,o,!1,[],y)[0];else if(Ve(v))g=v.items.map(((r,n)=>Xe(e,r,{rootSchema:o,includeUndefinedValues:a,_recurseList:s,experimental_defaultFormStateBehavior:f,parentDefaults:Array.isArray(t)?t[n]:void 0,rawFormData:y,required:p})));else if(x in v){const{oneOf:r,...t}=v;if(0===r.length)return;const n=Se(v);b=r[Be(e,o,V()(y)?void 0:y,r,0,n)],b=Pe(t,b)}else if(c in v){const{anyOf:r,...t}=v;if(0===r.length)return;const n=Se(v);b=r[Be(e,o,V()(y)?void 0:y,r,0,n)],b=Pe(t,b)}if(b)return Xe(e,b,{rootSchema:o,includeUndefinedValues:a,_recurseList:A,experimental_defaultFormStateBehavior:f,parentDefaults:g,rawFormData:y,required:p});switch(void 0===g&&(g=v.default),je(v)){case"object":{const r="populateDefaults"===(null==f?void 0:f.allOf)&&u in v?De(e,v,o,y):v,t=Object.keys(r.properties||{}).reduce(((t,n)=>{var i;return Qe(t,n,Xe(e,R()(r,[w,n]),{rootSchema:o,_recurseList:s,experimental_defaultFormStateBehavior:f,includeUndefinedValues:!0===a,parentDefaults:R()(g,[n]),rawFormData:R()(y,[n]),required:null===(i=r.required)||void 0===i?void 0:i.includes(n)}),a,p,r.required,f),t}),{});if(r.additionalProperties){const i=n(r.additionalProperties)?r.additionalProperties:{},u=new Set;n(g)&&Object.keys(g).filter((e=>!r.properties||!r.properties[e])).forEach((e=>u.add(e)));const c=[];Object.keys(y).filter((e=>!r.properties||!r.properties[e])).forEach((e=>{u.add(e),c.push(e)})),u.forEach((n=>{var u;const l=Xe(e,i,{rootSchema:o,_recurseList:s,experimental_defaultFormStateBehavior:f,includeUndefinedValues:!0===a,parentDefaults:R()(g,[n]),rawFormData:R()(y,[n]),required:null===(u=r.required)||void 0===u?void 0:u.includes(n)});Qe(t,n,l,a,p,c)}))}return t}case"array":{const r="never"===(null===(m=null==f?void 0:f.arrayMinItems)||void 0===m?void 0:m.populate),t="requiredOnly"===(null===(h=null==f?void 0:f.arrayMinItems)||void 0===h?void 0:h.populate);if(Array.isArray(g)&&(g=g.map(((r,t)=>{const n=Ge(v,He.Fallback,t);return Xe(e,n,{rootSchema:o,_recurseList:s,experimental_defaultFormStateBehavior:f,parentDefaults:r,required:p})}))),Array.isArray(i)){const t=Ge(v);g=r?i:i.map(((r,n)=>Xe(e,t,{rootSchema:o,_recurseList:s,experimental_defaultFormStateBehavior:f,rawFormData:r,parentDefaults:R()(g,[n]),required:p})))}if(r)return null!=g?g:[];if(t&&!p)return g||void 0;const n=Array.isArray(g)?g.length:0;if(!v.minItems||ze(e,v,o)||v.minItems<=n)return g||[];const a=g||[],u=Ge(v,He.Invert),c=u.default,l=new Array(v.minItems-n).fill(Xe(e,u,{parentDefaults:c,rootSchema:o,_recurseList:s,experimental_defaultFormStateBehavior:f,required:p}));return a.concat(l)}}return g}function Ze(e,r,t,i,o=!1,a){if(!n(r))throw new Error("Invalid schema: "+r);const s=Xe(e,De(e,r,i,t),{rootSchema:i,includeUndefinedValues:o,experimental_defaultFormStateBehavior:a,rawFormData:t});if(null==t||"number"==typeof t&&isNaN(t))return s;const{mergeExtraDefaults:u}=(null==a?void 0:a.arrayMinItems)||{};return n(t)||Array.isArray(t)?qe(s,t,u):t}function er(e={}){return"widget"in N(e)&&"hidden"!==N(e).widget}function rr(e,r,t={},n){if("files"===t[P])return!0;if(r.items){const t=De(e,r.items,n);return"string"===t.type&&"data-url"===t.format}return!1}function tr(e,r,t={},n,i){const o=N(t,i),{label:a=!0}=o;let s=!!a;const u=je(r);return"array"===u&&(s=ze(e,r,n)||rr(e,r,t,n)||er(t)),"object"===u&&(s=!1),"boolean"!==u||t[P]||(s=!1),t[j]&&(s=!1),s}function nr(e,r,t){if(!t)return r;const{errors:n,errorSchema:i}=r;let o=e.toErrorList(t),a=t;return V()(i)||(a=Ye(i,t,!0),o=[...n].concat(o)),{errorSchema:a,errors:o}}!function(e){e[e.Ignore=0]="Ignore",e[e.Invert=1]="Invert",e[e.Fallback=2]="Fallback"}(He||(He={}));const ir=Symbol("no Value");function or(e,r,t,n,i={}){let o;if(G()(t,w)){const a={};if(G()(n,w)){const e=R()(n,w,{});Object.keys(e).forEach((e=>{G()(i,e)&&(a[e]=void 0)}))}const s=Object.keys(R()(t,w,{})),u={};s.forEach((o=>{const s=R()(i,o);let c=R()(n,[w,o],{}),f=R()(t,[w,o],{});G()(c,E)&&(c=De(e,c,r,s)),G()(f,E)&&(f=De(e,f,r,s));const l=R()(c,"type"),p=R()(f,"type");if(!l||l===p)if(G()(a,o)&&delete a[o],"object"===p||"array"===p&&Array.isArray(s)){const t=or(e,r,f,c,s);void 0===t&&"array"!==p||(u[o]=t)}else{const e=R()(f,"default",ir),r=R()(c,"default",ir);e!==ir&&e!==s&&(r===s?a[o]=e:!0===R()(f,"readOnly")&&(a[o]=void 0));const t=R()(f,"const",ir),n=R()(c,"const",ir);t!==ir&&t!==s&&(a[o]=n===s?t:void 0)}})),o={..."string"==typeof i||Array.isArray(i)?void 0:i,...a,...u}}else if("array"===R()(n,"type")&&"array"===R()(t,"type")&&Array.isArray(i)){let a=R()(n,"items"),s=R()(t,"items");if("object"!=typeof a||"object"!=typeof s||Array.isArray(a)||Array.isArray(s))"boolean"==typeof a&&"boolean"==typeof s&&a===s&&(o=i);else{G()(a,E)&&(a=De(e,a,r,i)),G()(s,E)&&(s=De(e,s,r,i));const n=R()(a,"type"),u=R()(s,"type");if(!n||n===u){const n=R()(t,"maxItems",-1);o="object"===u?i.reduce(((t,i)=>{const o=or(e,r,s,a,i);return void 0!==o&&(n<0||t.length<n)&&t.push(o),t}),[]):n>0&&i.length>n?i.slice(0,n):i}}}return o}function ar(e,r,t,i,o,a,s,c=[]){if(E in r||d in r||u in r){const n=De(e,r,a,s);if(-1===c.findIndex((e=>le()(e,n))))return ar(e,n,t,i,o,a,s,c.concat(n))}if(g in r&&!R()(r,[g,E]))return ar(e,R()(r,g),t,i,o,a,s,c);const f={$id:o||t};if("object"===je(r)&&w in r)for(const o in r.properties){const u=R()(r,[w,o]),l=f[y]+i+o;f[o]=ar(e,n(u)?u:{},t,i,l,a,R()(s,[o]),c)}return f}function sr(e,r,t,n,i,o="root",a="_"){return ar(e,r,o,a,t,n,i)}function ur(e,r,t,n,i,o=[]){if(E in r||d in r||u in r){const a=De(e,r,n,i);if(-1===o.findIndex((e=>le()(e,a))))return ur(e,a,t,n,i,o.concat(a))}let a={[A]:t.replace(/^\./,"")};if(x in r||c in r){const s=x in r?r.oneOf:r.anyOf,u=Se(r),c=s[Be(e,n,i,s,0,u)];a={...a,...ur(e,c,t,n,i,o)}}if(s in r&&!1!==r[s]&&de()(a,_,!0),g in r&&Array.isArray(i)){const{items:s,additionalItems:u}=r;Array.isArray(s)?i.forEach(((r,i)=>{s[i]?a[i]=ur(e,s[i],`${t}.${i}`,n,r,o):u?a[i]=ur(e,u,`${t}.${i}`,n,r,o):console.warn(`Unable to generate path schema for "${t}.${i}". No schema defined for it`)})):i.forEach(((r,i)=>{a[i]=ur(e,s,`${t}.${i}`,n,r,o)}))}else if(w in r)for(const s in r.properties){const u=R()(r,[w,s]);a[s]=ur(e,u,`${t}.${s}`,n,R()(i,[s]),o)}return a}function cr(e,r,t="",n,i){return ur(e,r,t,n,i)}class fr{constructor(e,r,t){this.rootSchema=r,this.validator=e,this.experimental_defaultFormStateBehavior=t}getValidator(){return this.validator}doesSchemaUtilsDiffer(e,r,t={}){return!(!e||!r||this.validator===e&&L(this.rootSchema,r)&&L(this.experimental_defaultFormStateBehavior,t))}getDefaultFormState(e,r,t=!1){return Ze(this.validator,e,r,this.rootSchema,t,this.experimental_defaultFormStateBehavior)}getDisplayLabel(e,r,t){return tr(this.validator,e,r,this.rootSchema,t)}getClosestMatchingOption(e,r,t,n){return Be(this.validator,this.rootSchema,e,r,t,n)}getFirstMatchingOption(e,r,t){return ce(this.validator,e,r,this.rootSchema,t)}getMatchingOption(e,r,t){return ue(this.validator,e,r,this.rootSchema,t)}isFilesArray(e,r){return rr(this.validator,e,r,this.rootSchema)}isMultiSelect(e){return ze(this.validator,e,this.rootSchema)}isSelect(e){return Je(this.validator,e,this.rootSchema)}mergeValidationData(e,r){return nr(this.validator,e,r)}retrieveSchema(e,r){return De(this.validator,e,this.rootSchema,r)}sanitizeDataForNewSchema(e,r,t){return or(this.validator,this.rootSchema,e,r,t)}toIdSchema(e,r,t,n="root",i="_"){return sr(this.validator,e,r,this.rootSchema,t,n,i)}toPathSchema(e,r,t){return cr(this.validator,e,r,this.rootSchema,t)}}function lr(e,r,t={}){return new fr(e,r,t)}function pr(e){const r=e.split(","),t=r[0].split(";"),n=t[0].replace("data:",""),i=t.filter((e=>"name"===e.split("=")[0]));let o;o=1!==i.length?"unknown":decodeURI(i[0].split("=")[1]);try{const e=atob(r[1]),t=[];for(let r=0;r<e.length;r++)t.push(e.charCodeAt(r));return{blob:new window.Blob([new Uint8Array(t)],{type:n}),name:o}}catch(r){return{blob:{size:0,type:r.message},name:e}}}function dr(e,r){let t=e;if(Array.isArray(r)){const e=t.split(/(%\d)/);r.forEach(((r,t)=>{const n=e.findIndex((e=>e===`%${t+1}`));n>=0&&(e[n]=r)})),t=e.join("")}return t}function mr(e,r){return dr(e,r)}function hr(e,r=[],t){if(Array.isArray(e))return e.map((e=>hr(e,r))).filter((e=>e));const n=""===e||null===e?-1:Number(e),i=r[n];return i?i.value:t}function yr(e,r,t=[]){const n=hr(e,t);return Array.isArray(r)?r.filter((e=>!le()(e,n))):le()(n,r)?void 0:r}function vr(e,r){return Array.isArray(r)?r.some((r=>le()(r,e))):le()(r,e)}function gr(e,r=[],t=!1){const n=r.map(((r,t)=>vr(r.value,e)?String(t):void 0)).filter((e=>void 0!==e));return t?n:n[0]}var br=t(30644),Ar=t.n(br);function xr(e,r,t=[]){const n=hr(e,t);if(!Ar()(n)){const e=t.findIndex((e=>n===e.value)),i=t.map((({value:e})=>e));return r.slice(0,e).concat(n,r.slice(e)).sort(((e,r)=>Number(i.indexOf(e)>i.indexOf(r))))}return r}var wr=t(30454),Or=t.n(wr);class Sr{constructor(e){this.errorSchema={},this.resetAllErrors(e)}get ErrorSchema(){return this.errorSchema}getOrCreateErrorBlock(e){let r=Array.isArray(e)&&e.length>0||"string"==typeof e?R()(this.errorSchema,e):this.errorSchema;return!r&&e&&(r={},de()(this.errorSchema,e,r)),r}resetAllErrors(e){return this.errorSchema=e?Or()(e):{},this}addErrors(e,r){const t=this.getOrCreateErrorBlock(r);let n=R()(t,h);return Array.isArray(n)||(n=[],t[h]=n),Array.isArray(e)?n.push(...e):n.push(e),this}setErrors(e,r){const t=this.getOrCreateErrorBlock(r),n=Array.isArray(e)?[...e]:[e];return de()(t,h,n),this}clearErrors(e){const r=this.getOrCreateErrorBlock(e);return de()(r,h,[]),this}}function Er(e,r,t=[1900,(new Date).getFullYear()+2],n="YMD"){const{day:i,month:o,year:a,hour:s,minute:u,second:c}=e,f={type:"day",range:[1,31],value:i},l={type:"month",range:[1,12],value:o},p={type:"year",range:t,value:a},d=[];switch(n){case"MDY":d.push(l,f,p);break;case"DMY":d.push(f,l,p);break;default:d.push(p,l,f)}return r&&d.push({type:"hour",range:[0,23],value:s},{type:"minute",range:[0,59],value:u},{type:"second",range:[0,59],value:c}),d}function _r(e){const r={};return e.multipleOf&&(r.step=e.multipleOf),(e.minimum||0===e.minimum)&&(r.min=e.minimum),(e.maximum||0===e.maximum)&&(r.max=e.maximum),r}function Ir(e,r,t={},n=!0){const i={type:r||"text",..._r(e)};return t.inputType?i.type=t.inputType:r||("number"===e.type?(i.type="number",n&&void 0===i.step&&(i.step="any")):"integer"===e.type&&(i.type="number",void 0===i.step&&(i.step=1))),t.autocomplete&&(i.autoComplete=t.autocomplete),i}const jr={props:{disabled:!1},submitText:"Submit",norender:!1};function Pr(e={}){const r=N(e);if(r&&r[S]){const e=r[S];return{...jr,...e}}return jr}function Dr(e,r,t={}){const{templates:n}=r;return"ButtonTemplates"===e?n[e]:t[e]||n[e]}var $r=t(24246),Nr=t(78156),Fr=t(19185);const Mr={boolean:{checkbox:"CheckboxWidget",radio:"RadioWidget",select:"SelectWidget",hidden:"HiddenWidget"},string:{text:"TextWidget",password:"PasswordWidget",email:"EmailWidget",hostname:"TextWidget",ipv4:"TextWidget",ipv6:"TextWidget",uri:"URLWidget","data-url":"FileWidget",radio:"RadioWidget",select:"SelectWidget",textarea:"TextareaWidget",hidden:"HiddenWidget",date:"DateWidget",datetime:"DateTimeWidget","date-time":"DateTimeWidget","alt-date":"AltDateWidget","alt-datetime":"AltDateTimeWidget",time:"TimeWidget",color:"ColorWidget",file:"FileWidget"},number:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},integer:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},array:{select:"SelectWidget",checkboxes:"CheckboxesWidget",files:"FileWidget",hidden:"HiddenWidget"}};function Tr(e,r,t={}){const n=je(e);if("function"==typeof r||r&&Fr.isForwardRef((0,Nr.createElement)(r))||Fr.isMemo(r))return function(e){let r=R()(e,"MergedWidget");if(!r){const t=e.defaultProps&&e.defaultProps.options||{};r=({options:r,...n})=>(0,$r.jsx)(e,{options:{...t,...r},...n}),de()(e,"MergedWidget",r)}return r}(r);if("string"!=typeof r)throw new Error("Unsupported widget definition: "+typeof r);if(r in t)return Tr(e,t[r],t);if("string"==typeof n){if(!(n in Mr))throw new Error(`No widget for type '${n}'`);if(r in Mr[n])return Tr(e,t[Mr[n][r]],t)}throw new Error(`No widget '${r}' for type '${n}'`)}function Ur(e){const r=new Set;return JSON.stringify(e,((e,t)=>(r.add(e),t))),function(e){let r=0;for(let t=0;t<e.length;t+=1)r=(r<<5)-r+e.charCodeAt(t),r&=r;return r.toString(16)}(JSON.stringify(e,Array.from(r).sort()))}function kr(e,r,t={}){try{return Tr(e,r,t),!0}catch(e){const r=e;if(r.message&&(r.message.startsWith("No widget")||r.message.startsWith("Unsupported widget")))return!1;throw e}}function Wr(e,r){return`${te()(e)?e:e[y]}__${r}`}function Lr(e){return Wr(e,"description")}function Cr(e){return Wr(e,"error")}function Rr(e){return Wr(e,"examples")}function Br(e){return Wr(e,"help")}function Vr(e){return Wr(e,"title")}function qr(e,r=!1){const t=r?` ${Rr(e)}`:"";return`${Cr(e)} ${Lr(e)} ${Br(e)}${t}`}function Yr(e,r){return`${e}-${r}`}function Kr(e,r,t){return r?t:e}function Jr(e){return e?new Date(e).toJSON():void 0}function zr(e){if(m in e&&Array.isArray(e.enum)&&1===e.enum.length)return e.enum[0];if(f in e)return e.const;throw new Error("schema cannot be inferred as a constant")}function Hr(e){const r=e;if(r.enumNames,e.enum)return e.enum.map(((e,t)=>({label:r.enumNames&&r.enumNames[t]||String(e),value:e})));const t=e.oneOf||e.anyOf;return t&&t.map((e=>{const r=e,t=zr(r);return{schema:r,label:r.title||String(t),value:t}}))}function Gr(e,r){if(!Array.isArray(r))return e;const t=e=>e.reduce(((e,r)=>(e[r]=!0,e)),{}),n=t(e),i=r.filter((e=>"*"===e||n[e])),o=t(i),a=e.filter((e=>!o[e])),s=i.indexOf("*");if(-1===s){if(a.length)throw new Error("uiSchema order list does not contain "+((u=a).length>1?`properties '${u.join("', '")}'`:`property '${u[0]}'`));return i}var u;if(s!==i.lastIndexOf("*"))throw new Error("uiSchema order list contains more than one wildcard item");const c=[...i];return c.splice(s,1,...a),c}function Qr(e,r){let t=String(e);for(;t.length<r;)t="0"+t;return t}function Xr(e,r=!0){if(!e)return{year:-1,month:-1,day:-1,hour:r?-1:0,minute:r?-1:0,second:r?-1:0};const t=new Date(e);if(Number.isNaN(t.getTime()))throw new Error("Unable to parse date "+e);return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate(),hour:r?t.getUTCHours():0,minute:r?t.getUTCMinutes():0,second:r?t.getUTCSeconds():0}}function Zr(e){if(e.const)return!0;if(e.enum&&1===e.enum.length&&!0===e.enum[0])return!0;if(e.anyOf&&1===e.anyOf.length)return Zr(e.anyOf[0]);if(e.oneOf&&1===e.oneOf.length)return Zr(e.oneOf[0]);if(e.allOf){const r=e=>Zr(e);return e.allOf.some(r)}return!1}function et(e,r,t){const{props:n,state:i}=e;return!L(n,r)||!L(i,t)}function rt(e,r=!0){const{year:t,month:n,day:i,hour:o=0,minute:a=0,second:s=0}=e,u=Date.UTC(t,n-1,i,o,a,s),c=new Date(u).toJSON();return r?c:c.slice(0,10)}function tt(e,r=[]){if(!e)return[];let t=[];return h in e&&(t=t.concat(e[h].map((e=>{const t=`.${r.join(".")}`;return{property:t,message:e,stack:`${t} ${e}`}})))),Object.keys(e).reduce(((t,n)=>{if(n!==h){const i=e[n];T()(i)&&(t=t.concat(tt(i,[...r,n])))}return t}),t)}var nt,it=t(40110),ot=t.n(it);function at(e){const r=new Sr;return e.length&&e.forEach((e=>{const{property:t,message:n}=e,i="."===t?[]:ot()(t);i.length>0&&""===i[0]&&i.splice(0,1),n&&r.addErrors(n,i)})),r.ErrorSchema}function st(e){return Object.keys(e).reduce(((r,t)=>{if("addError"===t)return r;{const n=e[t];return T()(n)?{...r,[t]:st(n)}:{...r,[t]:n}}}),{})}function ut(e){if(!e)return"";const r=new Date(e);return`${Qr(r.getFullYear(),4)}-${Qr(r.getMonth()+1,2)}-${Qr(r.getDate(),2)}T${Qr(r.getHours(),2)}:${Qr(r.getMinutes(),2)}:${Qr(r.getSeconds(),2)}.${Qr(r.getMilliseconds(),3)}`}function ct(e,r){if(!r)return e;const{errors:t,errorSchema:n}=e;let i=tt(r),o=r;return V()(n)||(o=Ye(n,r,!0),i=[...t].concat(i)),{errorSchema:o,errors:i}}function ft(e){return Array.isArray(e)?function(e){for(let r=0;r<e.length;r++)e[r]=ft(e[r]);return e}([...e]):ee()(e)?function(e){for(const r in e){const t=e,n=t[r];r===E&&"string"==typeof n&&n.startsWith("#")?t[r]=I+n:t[r]=ft(n)}return e}({...e}):e}!function(e){e.ArrayItemTitle="Item",e.MissingItems="Missing items definition",e.YesLabel="Yes",e.NoLabel="No",e.CloseLabel="Close",e.ErrorsLabel="Errors",e.NewStringDefault="New Value",e.AddButton="Add",e.AddItemButton="Add Item",e.CopyButton="Copy",e.MoveDownButton="Move down",e.MoveUpButton="Move up",e.RemoveButton="Remove",e.NowLabel="Now",e.ClearLabel="Clear",e.AriaDateLabel="Select a date",e.PreviewLabel="Preview",e.DecrementAriaLabel="Decrease value by 1",e.IncrementAriaLabel="Increase value by 1",e.UnknownFieldType="Unknown field type %1",e.OptionPrefix="Option %1",e.TitleOptionPrefix="%1 option %2",e.KeyLabel="%1 Key",e.InvalidObjectField='Invalid "%1" object field configuration: <em>%2</em>.',e.UnsupportedField="Unsupported field schema.",e.UnsupportedFieldWithId="Unsupported field schema for field <code>%1</code>.",e.UnsupportedFieldWithReason="Unsupported field schema: <em>%1</em>.",e.UnsupportedFieldWithIdAndReason="Unsupported field schema for field <code>%1</code>: <em>%2</em>.",e.FilesInfo="<strong>%1</strong> (%2, %3 bytes)"}(nt||(nt={}));var lt=t(47003),pt=t.n(lt);class dt{constructor(e){this.schemaMap={},this.rootSchema=e,this.addSchema(e,Ur(e))}addSchema(e,r){const t=R()(e,y,r),n={...e,[y]:t},i=this.schemaMap[t];if(i){if(!le()(i,n))throw console.error("existing schema:",JSON.stringify(i,null,2)),console.error("new schema:",JSON.stringify(n,null,2)),new Error(`Two different schemas exist with the same key ${t}! What a bad coincidence. If possible, try adding an $id to one of the schemas`)}else this.schemaMap[t]=n}getSchemaMap(){return this.schemaMap}isValid(e,r,t){if(!le()(t,this.rootSchema))throw new Error("Unexpectedly calling isValid() with a rootSchema that differs from the construction rootSchema");return this.addSchema(e,Ur(e)),!1}rawValidation(e,r){throw new Error("Unexpectedly calling the `rawValidation()` method during schema parsing")}toErrorList(e,r){throw new Error("Unexpectedly calling the `toErrorList()` method during schema parsing")}validateFormData(e,r,t,n,i){throw new Error("Unexpectedly calling the `validateFormData()` method during schema parsing")}}function mt(e,r,t,n){Me(e,n,t,void 0,!0).forEach((n=>{-1===r.findIndex((e=>le()(e,n)))&&(r.push(n),Te(e,n,t,!0).forEach((i=>{w in i&&i[w]&&pt()(n[w],(n=>{mt(e,r,t,n)}))})),g in n&&!Array.isArray(n.items)&&"boolean"!=typeof n.items&&mt(e,r,t,n.items))}))}function ht(e){const r=new dt(e);return mt(r,[],e,e),r.getSchemaMap()}},15422:(e,r,t)=>{"use strict";var n=t(17604),i=t(9333),o=t(86401),a=Math.pow(2,31)-1;function s(e,r){var t,n=1;if(0===e)return r;if(0===r)return e;for(;e%2==0&&r%2==0;)e/=2,r/=2,n*=2;for(;e%2==0;)e/=2;for(;r;){for(;r%2==0;)r/=2;e>r&&(t=r,r=e,e=t),r-=e}return n*e}function u(e,r){var t,n=0;if(0===e)return r;if(0===r)return e;for(;0==(1&e)&&0==(1&r);)e>>>=1,r>>>=1,n++;for(;0==(1&e);)e>>>=1;for(;r;){for(;0==(1&r);)r>>>=1;e>r&&(t=r,r=e,e=t),r-=e}return e<<n}e.exports=function(){var e,r,t,c,f,l,p,d=arguments.length;for(e=new Array(d),p=0;p<d;p++)e[p]=arguments[p];if(i(e)){if(2===d)return(f=e[0])<0&&(f=-f),(l=e[1])<0&&(l=-l),f<=a&&l<=a?u(f,l):s(f,l);t=e}else{if(!n(e[0]))throw new TypeError("gcd()::invalid input argument. Must provide an array of integers. Value: `"+e[0]+"`.");if(d>1){if(t=e[0],r=e[1],!o(r))throw new TypeError("gcd()::invalid input argument. Accessor must be a function. Value: `"+r+"`.")}else t=e[0]}if((c=t.length)<2)return null;if(r){for(f=new Array(c),p=0;p<c;p++)f[p]=r(t[p],p);t=f}if(d<3&&!i(t))throw new TypeError("gcd()::invalid input argument. Accessed array values must be integers. Value: `"+t+"`.");for(p=0;p<c;p++)(f=t[p])<0&&(t[p]=-f);for(f=t[0],p=1;p<c;p++)f=(l=t[p])<=a&&f<=a?u(f,l):s(f,l);return f}},72982:(e,r,t)=>{"use strict";var n=t(15422),i=t(17604),o=t(9333),a=t(86401);e.exports=function(){var e,r,t,s,u,c,f,l=arguments.length;for(e=new Array(l),f=0;f<l;f++)e[f]=arguments[f];if(o(e)){if(2===l)return(u=e[0])<0&&(u=-u),(c=e[1])<0&&(c=-c),0===u||0===c?0:u/n(u,c)*c;t=e}else{if(!i(e[0]))throw new TypeError("lcm()::invalid input argument. Must provide an array of integers. Value: `"+e[0]+"`.");if(l>1){if(t=e[0],r=e[1],!a(r))throw new TypeError("lcm()::invalid input argument. Accessor must be a function. Value: `"+r+"`.")}else t=e[0]}if((s=t.length)<2)return null;if(r){for(u=new Array(s),f=0;f<s;f++)u[f]=r(t[f],f);t=u}if(l<3&&!o(t))throw new TypeError("lcm()::invalid input argument. Accessed array values must be integers. Value: `"+t+"`.");for(f=0;f<s;f++)(u=t[f])<0&&(t[f]=-u);for(u=t[0],f=1;f<s;f++){if(c=t[f],0===u||0===c)return 0;u=u/n(u,c)*c}return u}},64316:(e,r,t)=>{var n=t(56141),i=t(95099),o=t(83766),a=t(52929),s=t(70236),u=t(28054),c=t(40861),f=t(3819),l=e=>Array.isArray(e)?e:[e],p=e=>void 0===e,d=e=>c(e)||Array.isArray(e)?Object.keys(e):[],m=(e,r)=>e.hasOwnProperty(r),h=e=>i(o(e)),y=e=>p(e)||Array.isArray(e)&&0===e.length,v=(e,r)=>p(e)&&0===r||p(r)&&0===e||n(e,r),g=e=>p(e)||n(e,{})||!0===e,b=e=>p(e)||n(e,{}),A=e=>p(e)||c(e)||!0===e||!1===e;function x(e,r){return!(!y(e)||!y(r))||n(h(e),h(r))}function w(e,r,t,i){var a=o(d(e).concat(d(r)));return!(!b(e)||!b(r))||(!b(e)||!d(r).length)&&(!b(r)||!d(e).length)&&a.every((function(t){var o=e[t],a=r[t];return Array.isArray(o)&&Array.isArray(a)?n(h(e),h(r)):!(Array.isArray(o)&&!Array.isArray(a))&&!(Array.isArray(a)&&!Array.isArray(o))&&((e,r,t,n)=>r&&m(r,t)&&e&&m(e,t)&&n(e[t],r[t]))(e,r,t,i)}))}function O(e,r,t,n){var i=a(e,n),o=a(r,n);return u(i,o,n).length===Math.max(i.length,o.length)}var S={title:n,uniqueItems:(e,r)=>p(e)&&!1===r||p(r)&&!1===e||n(e,r),minLength:v,minItems:v,minProperties:v,required:x,enum:x,type:function(e,r){return e=l(e),r=l(r),n(h(e),h(r))},items:function(e,r,t,i){return c(e)&&c(r)?i(e,r):Array.isArray(e)&&Array.isArray(r)?w(e,r,0,i):n(e,r)},anyOf:O,allOf:O,oneOf:O,properties:w,patternProperties:w,dependencies:w},E=["properties","patternProperties","dependencies","uniqueItems","minLength","minItems","minProperties","required"],_=["additionalProperties","additionalItems","contains","propertyNames","not"];e.exports=function e(r,t,i){if(i=s(i,{ignore:[]}),g(r)&&g(t))return!0;if(!A(r)||!A(t))throw new Error("Either of the values are not a JSON schema.");if(r===t)return!0;if(f(r)&&f(t))return r===t;if(void 0===r&&!1===t||void 0===t&&!1===r)return!1;if(p(r)&&!p(t)||!p(r)&&p(t))return!1;var a=o(Object.keys(r).concat(Object.keys(t)));if(i.ignore.length&&(a=a.filter((e=>-1===i.ignore.indexOf(e)))),!a.length)return!0;function u(r,t){return e(r,t,i)}return a.every((function(o){var a=r[o],s=t[o];if(-1!==_.indexOf(o))return e(a,s,i);var c=S[o];if(c||(c=n),n(a,s))return!0;if(-1===E.indexOf(o)&&(!m(r,o)&&m(t,o)||m(r,o)&&!m(t,o)))return a===s;var l=c(a,s,o,u);if(!f(l))throw new Error("Comparer must return true or false");return l}))}},2143:(e,r,t)=>{const n=t(89754),i=t(84812),o=t(40861),a=t(83766),s=t(52929),u=t(81889),c=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),f=e=>o(e)||Array.isArray(e)?Object.keys(e):[],l=e=>!f(e).length&&!1!==e&&!0!==e;e.exports={allUniqueKeys:e=>a(i(e.map(f))),deleteUndefinedProps:function(e){for(const r in e)c(e,r)&&l(e[r])&&delete e[r];return e},getValues:(e,r)=>e.map((e=>e&&e[r])),has:c,isEmptySchema:l,isSchema:e=>o(e)||!0===e||!1===e,keys:f,notUndefined:e=>void 0!==e,uniqWith:s,withoutArr:(e,...r)=>u.apply(null,[e].concat(n(r)))}},71020:(e,r,t)=>{const n=t(64316),i=t(47003),{allUniqueKeys:o,deleteUndefinedProps:a,has:s,isSchema:u,notUndefined:c,uniqWith:f}=t(2143);e.exports={keywords:["items","additionalItems"],resolver(e,r,t){const l=e.map((e=>e.items)),p=l.filter(c),d={};let m;var h;return p.every(u)?d.items=t.items(l):d.items=function(e,r,t){return o(t).reduce((function(t,i){const o=function(e,r){return e.map((function(e){if(e){if(!Array.isArray(e.items))return e.items;{const t=e.items[r];if(u(t))return t;if(s(e,"additionalItems"))return e.additionalItems}}}))}(e,i),a=f(o.filter(c),n);return t[i]=r(a,i),t}),[])}(e,t.items,l),p.every(Array.isArray)?m=e.map((e=>e.additionalItems)):p.some(Array.isArray)&&(m=e.map((function(e){if(e)return Array.isArray(e.items)?e.additionalItems:e.items}))),m&&(d.additionalItems=t.additionalItems(m)),!1===d.additionalItems&&Array.isArray(d.items)&&(h=d.items,i(h,(function(e,r){!1===e&&h.splice(r,1)}))),a(d)}}},88807:(e,r,t)=>{const n=t(64316),i=t(47003),{allUniqueKeys:o,deleteUndefinedProps:a,getValues:s,keys:u,notUndefined:c,uniqWith:f,withoutArr:l}=t(2143);function p(e,r){return o(e).reduce((function(t,i){const o=s(e,i),a=f(o.filter(c),n);return t[i]=r(a,i),t}),{})}e.exports={keywords:["properties","patternProperties","additionalProperties"],resolver(e,r,t,n){n.ignoreAdditionalProperties||(e.forEach((function(r){const n=e.filter((e=>e!==r)),i=u(r.properties),o=u(r.patternProperties).map((e=>new RegExp(e)));n.forEach((function(e){const n=u(e.properties),a=n.filter((e=>o.some((r=>r.test(e)))));l(n,i,a).forEach((function(n){e.properties[n]=t.properties([e.properties[n],r.additionalProperties],n)}))}))})),e.forEach((function(r){const t=e.filter((e=>e!==r)),n=u(r.patternProperties);!1===r.additionalProperties&&t.forEach((function(e){const r=u(e.patternProperties);l(r,n).forEach((r=>delete e.patternProperties[r]))}))})));const o={additionalProperties:t.additionalProperties(e.map((e=>e.additionalProperties))),patternProperties:p(e.map((e=>e.patternProperties)),t.patternProperties),properties:p(e.map((e=>e.properties)),t.properties)};var s;return!1===o.additionalProperties&&i(s=o.properties,(function(e,r){!1===e&&delete s[r]})),a(o)}}},64717:(e,r,t)=>{const n=t(30454),i=t(64316),o=t(72982),a=t(53533),s=t(89754),u=t(84812),c=t(27921),f=t(28054),l=t(56141),p=t(40861),d=t(90254),m=t(95099),h=t(83766),y=t(52929),v=t(88807),g=t(71020),b=(e,r)=>-1!==e.indexOf(r),A=e=>p(e)||!0===e||!1===e,x=e=>!1===e,w=e=>!0===e,O=(e,r,t)=>t(e),S=e=>m(h(u(e))),E=e=>void 0!==e,_=e=>h(u(e.map(N))),I=e=>e[0],j=e=>Math.max.apply(Math,e),P=e=>Math.min.apply(Math,e);function D(e){let{allOf:r=[],...t}=e;return t=p(e)?t:e,[t,...r.map(D)]}function $(e,r){return e.map((e=>e&&e[r]))}function N(e){return p(e)||Array.isArray(e)?Object.keys(e):[]}function F(e,r){if(r=r||[],!e.length)return r;const t=e.slice(0).shift(),n=e.slice(1);return r.length?F(n,s(r.map((e=>t.map((r=>[r].concat(e))))))):F(n,t.map((e=>e)))}function M(e,r){let t;try{t=e.map((function(e){return JSON.stringify(e,null,2)})).join("\n")}catch(r){t=e.join(", ")}throw new Error('Could not resolve values for path:"'+r.join(".")+'". They are probably incompatible. Values: \n'+t)}function T(e,r,t,n,o,a){if(e.length){const s=o.complexResolvers[r];if(!s||!s.resolver)throw new Error("No resolver found for "+r);const u=t.map((r=>e.reduce(((e,t)=>(void 0!==r[t]&&(e[t]=r[t]),e)),{}))),c=y(u,i),f=s.keywords.reduce(((e,r)=>({...e,[r]:(e,t=[])=>n(e,null,a.concat(r,t))})),{}),l=s.resolver(c,a.concat(r),f,o);return p(l)||M(c,a.concat(r)),l}}function U(e){return{required:e}}const k=["properties","patternProperties","definitions","dependencies"],W=["anyOf","oneOf"],L=["additionalProperties","additionalItems","contains","propertyNames","not","items"],C={type(e){if(e.some(Array.isArray)){const r=e.map((function(e){return Array.isArray(e)?e:[e]})),t=c.apply(null,r);if(1===t.length)return t[0];if(t.length>1)return h(t)}},dependencies:(e,r,t)=>_(e).reduce((function(r,n){const o=$(e,n);let a=y(o.filter(E),l);const s=a.filter(Array.isArray);if(s.length){if(s.length===a.length)r[n]=S(a);else{const e=a.filter(A),i=s.map(U);r[n]=t(e.concat(i),n)}return r}return a=y(a,i),r[n]=t(a,n),r}),{}),oneOf(e,r,t){const o=function(e,r){return e.map((function(e,t){try{return r(e,t)}catch(e){return}})).filter(E)}(F(n(e)),t),a=y(o,i);if(a.length)return a},not:e=>({anyOf:e}),pattern:e=>e.map((e=>"(?="+e+")")).join(""),multipleOf(e){let r=e.slice(0),t=1;for(;r.some((e=>!Number.isInteger(e)));)r=r.map((e=>10*e)),t*=10;return o(r)/t},enum(e){const r=f.apply(null,e.concat(l));if(r.length)return m(r)}};C.$id=I,C.$ref=I,C.$schema=I,C.additionalItems=O,C.additionalProperties=O,C.anyOf=C.oneOf,C.contains=O,C.default=I,C.definitions=C.dependencies,C.description=I,C.examples=e=>y(s(e),l),C.exclusiveMaximum=P,C.exclusiveMinimum=j,C.items=g,C.maximum=P,C.maxItems=P,C.maxLength=P,C.maxProperties=P,C.minimum=j,C.minItems=j,C.minLength=j,C.minProperties=j,C.properties=v,C.propertyNames=O,C.required=e=>S(e),C.title=I,C.uniqueItems=e=>e.some(w);const R={properties:v,items:g};function B(e,r,t){t=t||[],r=a(r,{ignoreAdditionalProperties:!1,resolvers:C,complexResolvers:R,deep:!0});const o=Object.entries(r.complexResolvers),s=function e(a,s,u){a=n(a.filter(E)),u=u||[];const c=p(s)?s:{};if(!a.length)return;if(a.some(x))return!1;if(a.every(w))return!0;a=a.filter(p);const f=_(a);if(r.deep&&b(f,"allOf"))return B({allOf:a},r,t);const l=o.map((([e,r])=>f.filter((e=>r.keywords.includes(e)))));return l.forEach((e=>d(f,e))),f.forEach((function(t){const n=$(a,t),o=y(n.filter(E),function(e){return function(r,t){return i({[e]:r},{[e]:t})}}(t));if(1===o.length&&b(W,t))c[t]=o[0].map((r=>e([r],r)));else if(1!==o.length||b(k,t)||b(L,t)){const n=r.resolvers[t]||r.resolvers.defaultResolver;if(!n)throw new Error("No resolver found for key "+t+". You can provide a resolver for this keyword in the options, or provide a default resolver.");const i=(r,n=[])=>e(r,null,u.concat(t,n));c[t]=n(o,u.concat(t),i,r),void 0===c[t]?M(o,u.concat(t)):void 0===c[t]&&delete c[t]}else c[t]=o[0]})),o.reduce(((t,[n,i],o)=>({...t,...T(l[o],n,a,e,r,u)})),c)}(u(D(e)));return s}B.options={resolvers:C},e.exports=B},88208:(e,r)=>{var t=/~/,n=/~[01]/g;function i(e){switch(e){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+e)}function o(e){return t.test(e)?e.replace(n,i):e}function a(e){if("string"==typeof e){if(""===(e=e.split("/"))[0])return e;throw new Error("Invalid JSON pointer.")}if(Array.isArray(e)){for(const r of e)if("string"!=typeof r&&"number"!=typeof r)throw new Error("Invalid JSON pointer. Must be of type string or number.");return e}throw new Error("Invalid JSON pointer.")}function s(e,r){if("object"!=typeof e)throw new Error("Invalid input object.");var t=(r=a(r)).length;if(1===t)return e;for(var n=1;n<t;){if(e=e[o(r[n++])],t===n)return e;if("object"!=typeof e||null===e)return}}function u(e,r,t){if("object"!=typeof e)throw new Error("Invalid input object.");if(0===(r=a(r)).length)throw new Error("Invalid JSON pointer for set.");return function(e,r,t){for(var n,i,a=1,s=r.length;a<s;){if("constructor"===r[a]||"prototype"===r[a]||"__proto__"===r[a])return e;if(n=o(r[a++]),i=s>a,void 0===e[n]&&(Array.isArray(e)&&"-"===n&&(n=e.length),i&&(""!==r[a]&&r[a]<1/0||"-"===r[a]?e[n]=[]:e[n]={})),!i)break;e=e[n]}var u=e[n];return void 0===t?delete e[n]:e[n]=t,u}(e,r,t)}r.get=s,r.set=u,r.compile=function(e){var r=a(e);return{get:function(e){return s(e,r)},set:function(e,t){return u(e,r,t)}}}},52485:(e,r,t)=>{var n=t(74554),i=t(38639),o=t(88379);function a(e){var r=-1,t=null==e?0:e.length;for(this.__data__=new n;++r<t;)this.add(e[r])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},58095:(e,r,t)=>{var n=t(8817);e.exports=function(e,r){return!(null==e||!e.length)&&n(e,r,0)>-1}},21796:e=>{e.exports=function(e,r,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(r,e[n]))return!0;return!1}},6446:e=>{e.exports=function(e,r,t,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(t=e[++i]);++i<o;)t=r(t,e[i],i,e);return t}},90756:e=>{e.exports=function(e,r){for(var t=-1,n=null==e?0:e.length;++t<n;)if(r(e[t],t,e))return!0;return!1}},73140:(e,r,t)=>{var n=t(88799),i=t(85638);e.exports=function(e,r,t){(void 0!==t&&!i(e[r],t)||void 0===t&&!(r in e))&&n(e,r,t)}},11005:(e,r,t)=>{var n=t(52485),i=t(58095),o=t(21796),a=t(66070),s=t(39334),u=t(65581);e.exports=function(e,r,t,c){var f=-1,l=i,p=!0,d=e.length,m=[],h=r.length;if(!d)return m;t&&(r=a(r,s(t))),c?(l=o,p=!1):r.length>=200&&(l=u,p=!1,r=new n(r));e:for(;++f<d;){var y=e[f],v=null==t?y:t(y);if(y=c||0!==y?y:0,p&&v==v){for(var g=h;g--;)if(r[g]===v)continue e;m.push(y)}else l(r,v,c)||m.push(y)}return m}},52033:(e,r,t)=>{var n=t(26194),i=t(26789)(n);e.exports=i},95372:e=>{e.exports=function(e,r,t,n){for(var i=e.length,o=t+(n?1:-1);n?o--:++o<i;)if(r(e[o],o,e))return o;return-1}},49819:(e,r,t)=>{var n=t(18911)();e.exports=n},26194:(e,r,t)=>{var n=t(49819),i=t(50098);e.exports=function(e,r){return e&&n(e,r,i)}},8817:(e,r,t)=>{var n=t(95372),i=t(1129),o=t(58263);e.exports=function(e,r,t){return r==r?o(e,r,t):n(e,i,t)}},56006:e=>{e.exports=function(e,r,t,n){for(var i=t-1,o=e.length;++i<o;)if(n(e[i],r))return i;return-1}},96638:(e,r,t)=>{var n=t(52485),i=t(58095),o=t(21796),a=t(66070),s=t(39334),u=t(65581),c=Math.min;e.exports=function(e,r,t){for(var f=t?o:i,l=e[0].length,p=e.length,d=p,m=Array(p),h=1/0,y=[];d--;){var v=e[d];d&&r&&(v=a(v,s(r))),h=c(v.length,h),m[d]=!t&&(r||l>=120&&v.length>=120)?new n(d&&v):void 0}v=e[0];var g=-1,b=m[0];e:for(;++g<l&&y.length<h;){var A=v[g],x=r?r(A):A;if(A=t||0!==A?A:0,!(b?u(b,x):f(y,x,t))){for(d=p;--d;){var w=m[d];if(!(w?u(w,x):f(e[d],x,t)))continue e}b&&b.push(x),y.push(A)}}return y}},32866:(e,r,t)=>{var n=t(12772),i=t(42666);e.exports=function e(r,t,o,a,s){return r===t||(null==r||null==t||!i(r)&&!i(t)?r!=r&&t!=t:n(r,t,o,a,e,s))}},12772:(e,r,t)=>{var n=t(23694),i=t(27042),o=t(370),a=t(39584),s=t(3533),u=t(19785),c=t(43854),f=t(48519),l="[object Arguments]",p="[object Array]",d="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,r,t,h,y,v){var g=u(e),b=u(r),A=g?p:s(e),x=b?p:s(r),w=(A=A==l?d:A)==d,O=(x=x==l?d:x)==d,S=A==x;if(S&&c(e)){if(!c(r))return!1;g=!0,w=!1}if(S&&!w)return v||(v=new n),g||f(e)?i(e,r,t,h,y,v):o(e,r,A,t,h,y,v);if(!(1&t)){var E=w&&m.call(e,"__wrapped__"),_=O&&m.call(r,"__wrapped__");if(E||_){var I=E?e.value():e,j=_?r.value():r;return v||(v=new n),y(I,j,t,h,v)}}return!!S&&(v||(v=new n),a(e,r,t,h,y,v))}},19850:(e,r,t)=>{var n=t(23694),i=t(32866);e.exports=function(e,r,t,o){var a=t.length,s=a,u=!o;if(null==e)return!s;for(e=Object(e);a--;){var c=t[a];if(u&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var f=(c=t[a])[0],l=e[f],p=c[1];if(u&&c[2]){if(void 0===l&&!(f in e))return!1}else{var d=new n;if(o)var m=o(l,p,f,e,r,d);if(!(void 0===m?i(p,l,3,o,d):m))return!1}}return!0}},1129:e=>{e.exports=function(e){return e!=e}},89278:(e,r,t)=>{var n=t(71410),i=t(57518),o=t(31137),a=t(19785),s=t(96001);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):n(e):s(e)}},67375:(e,r,t)=>{var n=t(52033),i=t(80068);e.exports=function(e,r){var t=-1,o=i(e)?Array(e.length):[];return n(e,(function(e,n,i){o[++t]=r(e,n,i)})),o}},71410:(e,r,t)=>{var n=t(19850),i=t(68125),o=t(65042);e.exports=function(e){var r=i(e);return 1==r.length&&r[0][2]?o(r[0][0],r[0][1]):function(t){return t===e||n(t,e,r)}}},57518:(e,r,t)=>{var n=t(32866),i=t(99729),o=t(79749),a=t(40318),s=t(68302),u=t(65042),c=t(37948);e.exports=function(e,r){return a(e)&&s(r)?u(c(e),r):function(t){var a=i(t,e);return void 0===a&&a===r?o(t,e):n(r,a,3)}}},40015:(e,r,t)=>{var n=t(23694),i=t(73140),o=t(49819),a=t(68867),s=t(11611),u=t(53893),c=t(97494);e.exports=function e(r,t,f,l,p){r!==t&&o(t,(function(o,u){if(p||(p=new n),s(o))a(r,t,u,f,e,l,p);else{var d=l?l(c(r,u),o,u+"",r,t,p):void 0;void 0===d&&(d=o),i(r,u,d)}}),u)}},68867:(e,r,t)=>{var n=t(73140),i=t(2734),o=t(63428),a=t(37561),s=t(9560),u=t(2900),c=t(19785),f=t(36468),l=t(43854),p=t(28338),d=t(11611),m=t(40861),h=t(48519),y=t(97494),v=t(89328);e.exports=function(e,r,t,g,b,A,x){var w=y(e,t),O=y(r,t),S=x.get(O);if(S)n(e,t,S);else{var E=A?A(w,O,t+"",e,r,x):void 0,_=void 0===E;if(_){var I=c(O),j=!I&&l(O),P=!I&&!j&&h(O);E=O,I||j||P?c(w)?E=w:f(w)?E=a(w):j?(_=!1,E=i(O,!0)):P?(_=!1,E=o(O,!0)):E=[]:m(O)||u(O)?(E=w,u(w)?E=v(w):d(w)&&!p(w)||(E=s(O))):_=!1}_&&(x.set(O,E),b(E,O,g,A,x),x.delete(O)),n(e,t,E)}}},98497:(e,r,t)=>{var n=t(66070),i=t(79867),o=t(89278),a=t(67375),s=t(73303),u=t(39334),c=t(96348),f=t(31137),l=t(19785);e.exports=function(e,r,t){r=r.length?n(r,(function(e){return l(e)?function(r){return i(r,1===e.length?e[0]:e)}:e})):[f];var p=-1;r=n(r,u(o));var d=a(e,(function(e,t,i){return{criteria:n(r,(function(r){return r(e)})),index:++p,value:e}}));return s(d,(function(e,r){return c(e,r,t)}))}},50517:e=>{e.exports=function(e){return function(r){return null==r?void 0:r[e]}}},10301:(e,r,t)=>{var n=t(79867);e.exports=function(e){return function(r){return n(r,e)}}},61933:(e,r,t)=>{var n=t(66070),i=t(8817),o=t(56006),a=t(39334),s=t(37561),u=Array.prototype.splice;e.exports=function(e,r,t,c){var f=c?o:i,l=-1,p=r.length,d=e;for(e===r&&(r=s(r)),t&&(d=n(e,a(t)));++l<p;)for(var m=0,h=r[l],y=t?t(h):h;(m=f(d,y,m,c))>-1;)d!==e&&u.call(d,m,1),u.call(e,m,1);return e}},19356:e=>{e.exports=function(e,r,t,n,i){return i(e,(function(e,i,o){t=n?(n=!1,e):r(t,e,i,o)})),t}},1197:(e,r,t)=>{var n=t(31137),i=t(11871),o=t(63132);e.exports=function(e,r){return o(i(e,r,n),e+"")}},73303:e=>{e.exports=function(e,r){var t=e.length;for(e.sort(r);t--;)e[t]=e[t].value;return e}},74833:(e,r,t)=>{var n=t(56127),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},92198:(e,r,t)=>{var n=t(52485),i=t(58095),o=t(21796),a=t(65581),s=t(47111),u=t(43735);e.exports=function(e,r,t){var c=-1,f=i,l=e.length,p=!0,d=[],m=d;if(t)p=!1,f=o;else if(l>=200){var h=r?null:s(e);if(h)return u(h);p=!1,f=a,m=new n}else m=r?[]:d;e:for(;++c<l;){var y=e[c],v=r?r(y):y;if(y=t||0!==y?y:0,p&&v==v){for(var g=m.length;g--;)if(m[g]===v)continue e;r&&m.push(v),d.push(y)}else f(m,v,t)||(m!==d&&m.push(v),d.push(y))}return d}},65581:e=>{e.exports=function(e,r){return e.has(r)}},60923:(e,r,t)=>{var n=t(36468);e.exports=function(e){return n(e)?e:[]}},62079:(e,r,t)=>{var n=t(31137);e.exports=function(e){return"function"==typeof e?e:n}},17845:(e,r,t)=>{var n=t(55193);e.exports=function(e,r){if(e!==r){var t=void 0!==e,i=null===e,o=e==e,a=n(e),s=void 0!==r,u=null===r,c=r==r,f=n(r);if(!u&&!f&&!a&&e>r||a&&s&&c&&!u&&!f||i&&s&&c||!t&&c||!o)return 1;if(!i&&!a&&!f&&e<r||f&&t&&o&&!i&&!a||u&&t&&o||!s&&o||!c)return-1}return 0}},96348:(e,r,t)=>{var n=t(17845);e.exports=function(e,r,t){for(var i=-1,o=e.criteria,a=r.criteria,s=o.length,u=t.length;++i<s;){var c=n(o[i],a[i]);if(c)return i>=u?c:c*("desc"==t[i]?-1:1)}return e.index-r.index}},7270:(e,r,t)=>{var n=t(1197),i=t(57535);e.exports=function(e){return n((function(r,t){var n=-1,o=t.length,a=o>1?t[o-1]:void 0,s=o>2?t[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(t[0],t[1],s)&&(a=o<3?void 0:a,o=1),r=Object(r);++n<o;){var u=t[n];u&&e(r,u,n,a)}return r}))}},26789:(e,r,t)=>{var n=t(80068);e.exports=function(e,r){return function(t,i){if(null==t)return t;if(!n(t))return e(t,i);for(var o=t.length,a=r?o:-1,s=Object(t);(r?a--:++a<o)&&!1!==i(s[a],a,s););return t}}},18911:e=>{e.exports=function(e){return function(r,t,n){for(var i=-1,o=Object(r),a=n(r),s=a.length;s--;){var u=a[e?s:++i];if(!1===t(o[u],u,o))break}return r}}},47111:(e,r,t)=>{var n=t(46151),i=t(50344),o=t(43735),a=n&&1/o(new n([,-0]))[1]==1/0?function(e){return new n(e)}:i;e.exports=a},19491:(e,r,t)=>{var n=t(40015),i=t(11611);e.exports=function e(r,t,o,a,s,u){return i(r)&&i(t)&&(u.set(t,r),n(r,t,void 0,e,u),u.delete(t)),r}},27042:(e,r,t)=>{var n=t(52485),i=t(90756),o=t(65581);e.exports=function(e,r,t,a,s,u){var c=1&t,f=e.length,l=r.length;if(f!=l&&!(c&&l>f))return!1;var p=u.get(e),d=u.get(r);if(p&&d)return p==r&&d==e;var m=-1,h=!0,y=2&t?new n:void 0;for(u.set(e,r),u.set(r,e);++m<f;){var v=e[m],g=r[m];if(a)var b=c?a(g,v,m,r,e,u):a(v,g,m,e,r,u);if(void 0!==b){if(b)continue;h=!1;break}if(y){if(!i(r,(function(e,r){if(!o(y,r)&&(v===e||s(v,e,t,a,u)))return y.push(r)}))){h=!1;break}}else if(v!==g&&!s(v,g,t,a,u)){h=!1;break}}return u.delete(e),u.delete(r),h}},370:(e,r,t)=>{var n=t(96539),i=t(59942),o=t(85638),a=t(27042),s=t(19383),u=t(43735),c=n?n.prototype:void 0,f=c?c.valueOf:void 0;e.exports=function(e,r,t,n,c,l,p){switch(t){case"[object DataView]":if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)return!1;e=e.buffer,r=r.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=r.byteLength||!l(new i(e),new i(r)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+r);case"[object Error]":return e.name==r.name&&e.message==r.message;case"[object RegExp]":case"[object String]":return e==r+"";case"[object Map]":var d=s;case"[object Set]":var m=1&n;if(d||(d=u),e.size!=r.size&&!m)return!1;var h=p.get(e);if(h)return h==r;n|=2,p.set(e,r);var y=a(d(e),d(r),n,c,l,p);return p.delete(e),y;case"[object Symbol]":if(f)return f.call(e)==f.call(r)}return!1}},39584:(e,r,t)=>{var n=t(51385),i=Object.prototype.hasOwnProperty;e.exports=function(e,r,t,o,a,s){var u=1&t,c=n(e),f=c.length;if(f!=n(r).length&&!u)return!1;for(var l=f;l--;){var p=c[l];if(!(u?p in r:i.call(r,p)))return!1}var d=s.get(e),m=s.get(r);if(d&&m)return d==r&&m==e;var h=!0;s.set(e,r),s.set(r,e);for(var y=u;++l<f;){var v=e[p=c[l]],g=r[p];if(o)var b=u?o(g,v,p,r,e,s):o(v,g,p,e,r,s);if(!(void 0===b?v===g||a(v,g,t,o,s):b)){h=!1;break}y||(y="constructor"==p)}if(h&&!y){var A=e.constructor,x=r.constructor;A==x||!("constructor"in e)||!("constructor"in r)||"function"==typeof A&&A instanceof A&&"function"==typeof x&&x instanceof x||(h=!1)}return s.delete(e),s.delete(r),h}},68125:(e,r,t)=>{var n=t(68302),i=t(50098);e.exports=function(e){for(var r=i(e),t=r.length;t--;){var o=r[t],a=e[o];r[t]=[o,a,n(a)]}return r}},57535:(e,r,t)=>{var n=t(85638),i=t(80068),o=t(42383),a=t(11611);e.exports=function(e,r,t){if(!a(t))return!1;var s=typeof r;return!!("number"==s?i(t)&&o(r,t.length):"string"==s&&r in t)&&n(t[r],e)}},68302:(e,r,t)=>{var n=t(11611);e.exports=function(e){return e==e&&!n(e)}},19383:e=>{e.exports=function(e){var r=-1,t=Array(e.size);return e.forEach((function(e,n){t[++r]=[n,e]})),t}},65042:e=>{e.exports=function(e,r){return function(t){return null!=t&&t[e]===r&&(void 0!==r||e in Object(t))}}},97494:e=>{e.exports=function(e,r){if(("constructor"!==r||"function"!=typeof e[r])&&"__proto__"!=r)return e[r]}},38639:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},88379:e=>{e.exports=function(e){return this.__data__.has(e)}},43735:e=>{e.exports=function(e){var r=-1,t=Array(e.size);return e.forEach((function(e){t[++r]=e})),t}},58263:e=>{e.exports=function(e,r,t){for(var n=t-1,i=e.length;++n<i;)if(e[n]===r)return n;return-1}},56127:e=>{var r=/\s/;e.exports=function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t}},70236:(e,r,t)=>{var n=t(1197),i=t(85638),o=t(57535),a=t(53893),s=Object.prototype,u=s.hasOwnProperty,c=n((function(e,r){e=Object(e);var t=-1,n=r.length,c=n>2?r[2]:void 0;for(c&&o(r[0],r[1],c)&&(n=1);++t<n;)for(var f=r[t],l=a(f),p=-1,d=l.length;++p<d;){var m=l[p],h=e[m];(void 0===h||i(h,s[m])&&!u.call(e,m))&&(e[m]=f[m])}return e}));e.exports=c},53533:(e,r,t)=>{var n=t(79349),i=t(1197),o=t(19491),a=t(73952),s=i((function(e){return e.push(void 0,o),n(a,void 0,e)}));e.exports=s},84812:(e,r,t)=>{var n=t(23545);e.exports=function(e){return null!=e&&e.length?n(e,1/0):[]}},47003:(e,r,t)=>{var n=t(80594),i=t(52033),o=t(62079),a=t(19785);e.exports=function(e,r){return(a(e)?n:i)(e,o(r))}},27921:(e,r,t)=>{var n=t(66070),i=t(96638),o=t(1197),a=t(60923),s=o((function(e){var r=n(e,a);return r.length&&r[0]===e[0]?i(r):[]}));e.exports=s},28054:(e,r,t)=>{var n=t(66070),i=t(96638),o=t(1197),a=t(60923),s=t(31159),u=o((function(e){var r=s(e),t=n(e,a);return(r="function"==typeof r?r:void 0)&&t.pop(),t.length&&t[0]===e[0]?i(t,void 0,r):[]}));e.exports=u},36468:(e,r,t)=>{var n=t(80068),i=t(42666);e.exports=function(e){return i(e)&&n(e)}},3819:(e,r,t)=>{var n=t(99736),i=t(42666);e.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==n(e)}},56141:(e,r,t)=>{var n=t(32866);e.exports=function(e,r){return n(e,r)}},65191:(e,r,t)=>{var n=t(32866);e.exports=function(e,r,t){var i=(t="function"==typeof t?t:void 0)?t(e,r):void 0;return void 0===i?n(e,r,void 0,t):!!i}},30644:e=>{e.exports=function(e){return null==e}},78581:(e,r,t)=>{var n=t(99736),i=t(42666);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==n(e)}},47206:(e,r,t)=>{var n=t(99736),i=t(19785),o=t(42666);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==n(e)}},15409:(e,r,t)=>{var n=t(40015),i=t(7270)((function(e,r,t){n(e,r,t)}));e.exports=i},73952:(e,r,t)=>{var n=t(40015),i=t(7270)((function(e,r,t,i){n(e,r,t,i)}));e.exports=i},50344:e=>{e.exports=function(){}},96001:(e,r,t)=>{var n=t(50517),i=t(10301),o=t(40318),a=t(37948);e.exports=function(e){return o(e)?n(a(e)):i(e)}},90254:(e,r,t)=>{var n=t(61933);e.exports=function(e,r){return e&&e.length&&r&&r.length?n(e,r):e}},34172:(e,r,t)=>{var n=t(6446),i=t(52033),o=t(89278),a=t(19356),s=t(19785);e.exports=function(e,r,t){var u=s(e)?n:a,c=arguments.length<3;return u(e,o(r,4),t,c,i)}},95099:(e,r,t)=>{var n=t(23545),i=t(98497),o=t(1197),a=t(57535),s=o((function(e,r){if(null==e)return[];var t=r.length;return t>1&&a(e,r[0],r[1])?r=[]:t>2&&a(r[0],r[1],r[2])&&(r=[r[0]]),i(e,n(r,1),[])}));e.exports=s},41571:(e,r,t)=>{var n=t(24701),i=t(62079),o=t(47991),a=4294967295,s=Math.min;e.exports=function(e,r){if((e=o(e))<1||e>9007199254740991)return[];var t=a,u=s(e,a);r=i(r),e-=a;for(var c=n(u,r);++t<e;)r(t);return c}},94919:(e,r,t)=>{var n=t(91936);e.exports=function(e){return e?Infinity===(e=n(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},47991:(e,r,t)=>{var n=t(94919);e.exports=function(e){var r=n(e),t=r%1;return r==r?t?r-t:r:0}},91936:(e,r,t)=>{var n=t(74833),i=t(11611),o=t(55193),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=i(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var t=s.test(e);return t||u.test(e)?c(e.slice(2),t?2:8):a.test(e)?NaN:+e}},89328:(e,r,t)=>{var n=t(35159),i=t(53893);e.exports=function(e){return n(e,i(e))}},42673:(e,r,t)=>{var n=t(80594),i=t(80158),o=t(26194),a=t(89278),s=t(2173),u=t(19785),c=t(43854),f=t(28338),l=t(11611),p=t(48519);e.exports=function(e,r,t){var d=u(e),m=d||c(e)||p(e);if(r=a(r,4),null==t){var h=e&&e.constructor;t=m?d?new h:[]:l(e)&&f(h)?i(s(e)):{}}return(m?n:o)(e,(function(e,n,i){return r(t,e,n,i)})),t}},68946:(e,r,t)=>{var n=t(23545),i=t(1197),o=t(92198),a=t(36468),s=i((function(e){return o(n(e,1,a,!0))}));e.exports=s},83766:(e,r,t)=>{var n=t(92198);e.exports=function(e){return e&&e.length?n(e):[]}},52929:(e,r,t)=>{var n=t(92198);e.exports=function(e,r){return r="function"==typeof r?r:void 0,e&&e.length?n(e,void 0,r):[]}},81889:(e,r,t)=>{var n=t(11005),i=t(1197),o=t(36468),a=i((function(e,r){return o(e)?n(e,r):[]}));e.exports=a},58702:(e,r)=>{"use strict";var t,n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),f=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case n:switch(e=e.type){case o:case s:case a:case p:case d:return e;default:switch(e=e&&e.$$typeof){case f:case c:case l:case h:case m:case u:return e;default:return r}}case i:return r}}}t=Symbol.for("react.module.reference"),r.ContextConsumer=c,r.ContextProvider=u,r.Element=n,r.ForwardRef=l,r.Fragment=o,r.Lazy=h,r.Memo=m,r.Portal=i,r.Profiler=s,r.StrictMode=a,r.Suspense=p,r.SuspenseList=d,r.isAsyncMode=function(){return!1},r.isConcurrentMode=function(){return!1},r.isContextConsumer=function(e){return v(e)===c},r.isContextProvider=function(e){return v(e)===u},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},r.isForwardRef=function(e){return v(e)===l},r.isFragment=function(e){return v(e)===o},r.isLazy=function(e){return v(e)===h},r.isMemo=function(e){return v(e)===m},r.isPortal=function(e){return v(e)===i},r.isProfiler=function(e){return v(e)===s},r.isStrictMode=function(e){return v(e)===a},r.isSuspense=function(e){return v(e)===p},r.isSuspenseList=function(e){return v(e)===d},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===s||e===a||e===p||e===d||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===u||e.$$typeof===c||e.$$typeof===l||e.$$typeof===t||void 0!==e.getModuleId)},r.typeOf=v},19185:(e,r,t)=>{"use strict";e.exports=t(58702)},17604:e=>{"use strict";e.exports=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},86401:e=>{"use strict";e.exports=function(e){return"function"==typeof e}},9333:(e,r,t)=>{"use strict";var n=t(17604),i=t(50459);e.exports=function(e){var r;if(!n(e))return!1;if(!(r=e.length))return!1;for(var t=0;t<r;t++)if(!i(e[t]))return!1;return!0}},50459:(e,r,t)=>{"use strict";var n=t(7365);e.exports=function(e){return n(e)&&e%1==0}},7365:e=>{"use strict";e.exports=function(e){return("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))&&e.valueOf()==e.valueOf()}}}]);
|
|
2
|
+
(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[7995],{57995:(e,r,t)=>{"use strict";function n(e){return!("undefined"!=typeof File&&e instanceof File||"undefined"!=typeof Date&&e instanceof Date||"object"!=typeof e||null===e||Array.isArray(e))}function i(e){return!0===e.additionalItems&&console.warn("additionalItems=true is currently not supported"),n(e.additionalItems)}function o(e){if(""===e)return;if(null===e)return null;if(/\.$/.test(e))return e;if(/\.0$/.test(e))return e;if(/\.\d*0$/.test(e))return e;const r=Number(e);return"number"!=typeof r||Number.isNaN(r)?e:r}t.r(r),t.d(r,{ADDITIONAL_PROPERTIES_KEY:()=>s,ADDITIONAL_PROPERTY_FLAG:()=>a,ALL_OF_KEY:()=>u,ANY_OF_KEY:()=>c,CONST_KEY:()=>f,DEFAULT_KEY:()=>l,DEFINITIONS_KEY:()=>p,DEPENDENCIES_KEY:()=>d,ENUM_KEY:()=>m,ERRORS_KEY:()=>h,ErrorSchemaBuilder:()=>Sr,ID_KEY:()=>y,IF_KEY:()=>v,ITEMS_KEY:()=>g,JUNK_OPTION_ID:()=>b,NAME_KEY:()=>A,ONE_OF_KEY:()=>x,PROPERTIES_KEY:()=>w,REF_KEY:()=>E,REQUIRED_KEY:()=>O,RJSF_ADDITONAL_PROPERTIES_FLAG:()=>_,ROOT_SCHEMA_PREFIX:()=>I,SUBMIT_BTN_OPTIONS_KEY:()=>S,TranslatableString:()=>nt,UI_FIELD_KEY:()=>j,UI_GLOBAL_OPTIONS_KEY:()=>$,UI_OPTIONS_KEY:()=>D,UI_WIDGET_KEY:()=>P,allowAdditionalItems:()=>i,ariaDescribedByIds:()=>qr,asNumber:()=>o,canExpand:()=>F,createErrorHandler:()=>U,createSchemaUtils:()=>lr,dataURItoBlob:()=>pr,deepEquals:()=>L,descriptionId:()=>Lr,englishStringTranslator:()=>mr,enumOptionsDeselectValue:()=>yr,enumOptionsIndexForValue:()=>gr,enumOptionsIsSelected:()=>vr,enumOptionsSelectValue:()=>xr,enumOptionsValueForIndex:()=>hr,errorId:()=>Cr,examplesId:()=>Rr,findSchemaDefinition:()=>z,getClosestMatchingOption:()=>Be,getDateElementProps:()=>Er,getDefaultFormState:()=>Ze,getDiscriminatorFieldFromSchema:()=>Se,getDisplayLabel:()=>tr,getFirstMatchingOption:()=>ce,getInputProps:()=>Ir,getMatchingOption:()=>ue,getOptionMatchingSimpleDiscriminator:()=>se,getSchemaType:()=>je,getSubmitButtonOptions:()=>Pr,getTemplate:()=>Dr,getUiOptions:()=>N,getWidget:()=>Tr,guessType:()=>Ee,hasWidget:()=>kr,hashForSchema:()=>Ur,helpId:()=>Br,isConstant:()=>Ke,isCustomWidget:()=>er,isFilesArray:()=>rr,isFixedItems:()=>Ve,isMultiSelect:()=>ze,isObject:()=>n,isSelect:()=>Je,labelValue:()=>Kr,localToUTC:()=>Jr,mergeDefaultsWithFormData:()=>qe,mergeObjects:()=>Ye,mergeSchemas:()=>Pe,mergeValidationData:()=>nr,optionId:()=>Yr,optionsList:()=>Hr,orderProperties:()=>Gr,pad:()=>Qr,parseDateString:()=>Xr,rangeSpec:()=>_r,replaceStringParameters:()=>dr,retrieveSchema:()=>De,sanitizeDataForNewSchema:()=>or,schemaParser:()=>ht,schemaRequiresTrueValue:()=>Zr,shouldRender:()=>et,titleId:()=>Vr,toConstant:()=>zr,toDateString:()=>rt,toErrorList:()=>tt,toErrorSchema:()=>at,toIdSchema:()=>sr,toPathSchema:()=>cr,unwrapErrorHandler:()=>st,utcToLocal:()=>ut,validationDataMerge:()=>ct,withIdRefPrefix:()=>ft});const a="__additional_property",s="additionalProperties",u="allOf",c="anyOf",f="const",l="default",p="definitions",d="dependencies",m="enum",h="__errors",y="$id",v="if",g="items",b="_$junk_option_schema_id$_",A="$name",x="oneOf",w="properties",O="required",S="submitButtonOptions",E="$ref",_="__rjsf_additionalProperties",I="__rjsf_rootSchema",j="ui:field",P="ui:widget",D="ui:options",$="ui:globalOptions";function N(e={},r={}){return Object.keys(e).filter((e=>0===e.indexOf("ui:"))).reduce(((r,t)=>{const i=e[t];return t===P&&n(i)?(console.error("Setting options via ui:widget object is no longer supported, use ui:options instead"),r):t===D&&n(i)?{...r,...i}:{...r,[t.substring(3)]:i}}),{...r})}function F(e,r={},t){if(!e.additionalProperties)return!1;const{expandable:n=!0}=N(r);return!1===n?n:void 0===e.maxProperties||!t||Object.keys(t).length<e.maxProperties}var M=t(40861),T=t.n(M);function U(e){const r={[h]:[],addError(e){this[h].push(e)}};if(Array.isArray(e))return e.reduce(((e,r,t)=>({...e,[t]:U(r)})),r);if(T()(e)){const t=e;return Object.keys(t).reduce(((e,r)=>({...e,[r]:U(t[r])})),r)}return r}var k=t(65191),W=t.n(k);function L(e,r){return W()(e,r,((e,r)=>{if("function"==typeof e&&"function"==typeof r)return!0}))}var C=t(99729),R=t.n(C),B=t(90104),V=t.n(B),q=t(88208),Y=t(48159),K=t.n(Y);function J(e,r){const t=r[e];return[K()(r,[e]),t]}function z(e,r={}){let t=e||"";if(!t.startsWith("#"))throw new Error(`Could not find a definition for ${e}.`);t=decodeURIComponent(t.substring(1));const n=q.get(r,t);if(void 0===n)throw new Error(`Could not find a definition for ${e}.`);if(n[E]){const[e,t]=J(E,n),i=z(t,r);return Object.keys(e).length>0?{...e,...i}:i}return n}var H=t(73915),G=t.n(H),Q=t(78581),X=t.n(Q),Z=t(11611),ee=t.n(Z),re=t(47206),te=t.n(re),ne=t(34172),ie=t.n(ne),oe=t(41571),ae=t.n(oe);function se(e,r,t){var n;if(e&&t){const i=R()(e,t);if(void 0===i)return;for(let e=0;e<r.length;e++){const o=r[e],a=R()(o,[w,t],{});if("object"!==a.type&&"array"!==a.type){if(a.const===i)return e;if(null===(n=a.enum)||void 0===n?void 0:n.includes(i))return e}}}}function ue(e,r,t,n,i){if(void 0===r)return 0;const o=se(r,t,i);if(X()(o))return o;for(let o=0;o<t.length;o++){const a=t[o];if(i&&G()(a,[w,i])){const t=R()(r,i),s=R()(a,[w,i],{});if(e.isValid(s,t,n))return o}else if(a[w]){const t={anyOf:Object.keys(a[w]).map((e=>({required:[e]})))};let i;if(a.anyOf){const{...e}=a;e.allOf?e.allOf=e.allOf.slice():e.allOf=[],e.allOf.push(t),i=e}else i=Object.assign({},a,t);if(delete i.required,e.isValid(i,r,n))return o}else if(e.isValid(a,r,n))return o}return 0}function ce(e,r,t,n,i){return ue(e,r,t,n,i)}var fe=t(56141),le=t.n(fe),pe=t(47215),de=t.n(pe),me=t(42673),he=t.n(me),ye=t(15409),ve=t.n(ye),ge=t(84812),be=t.n(ge),Ae=t(83766),xe=t.n(Ae),we=t(64717),Oe=t.n(we);function Se(e){let r;const t=R()(e,"discriminator.propertyName",void 0);return te()(t)?r=t:void 0!==t&&console.warn(`Expecting discriminator to be a string, got "${typeof t}" instead`),r}function Ee(e){return Array.isArray(e)?"array":"string"==typeof e?"string":null==e?"null":"boolean"==typeof e?"boolean":isNaN(e)?"object"==typeof e?"object":"string":"number"}var _e=t(68946),Ie=t.n(_e);function je(e){let{type:r}=e;return!r&&e.const?Ee(e.const):!r&&e.enum?"string":r||!e.properties&&!e.additionalProperties?(Array.isArray(r)&&(r=2===r.length&&r.includes("null")?r.find((e=>"null"!==e)):r[0]),r):"object"}function Pe(e,r){const t=Object.assign({},e);return Object.keys(r).reduce(((t,i)=>{const o=e?e[i]:{},a=r[i];return e&&i in e&&n(a)?t[i]=Pe(o,a):e&&r&&("object"===je(e)||"object"===je(r))&&i===O&&Array.isArray(o)&&Array.isArray(a)?t[i]=Ie()(o,a):t[i]=a,t}),t)}function De(e,r,t={},n){return Me(e,r,t,n)[0]}function $e(e){return e.reduce(((e,r)=>r.length>1?r.flatMap((r=>ae()(e.length,(t=>[...e[t]].concat(r))))):(e.forEach((e=>e.push(r[0]))),e)),[[]])}function Ne(e,r,t,n,i,o){const a=Fe(r,t,i);return a!==r?Me(e,a,t,o,n,i):[r]}function Fe(e,r,t){if(!n(e))return e;let i=e;if(E in i){const{$ref:e,...n}=i;if(t.includes(e))return i;t.push(e),i={...z(e,r),...n}}if(w in i){const e=[],n=he()(i[w],((n,i,o)=>{const a=[...t];n[o]=Fe(i,r,a),e.push(a)}),{});ve()(t,xe()(be()(e))),i={...i,[w]:n}}return g in i&&!Array.isArray(i.items)&&"boolean"!=typeof i.items&&(i={...i,items:Fe(i.items,r,t)}),le()(e,i)?e:i}function Me(e,r,t,i,o=!1,f=[]){if(!n(r))return[{}];const l=function(e,r,t,n,i,o){const a=Ne(e,r,t,n,i,o);return a.length>1||a[0]!==r?a:d in r?Ue(e,r,t,n,i,o).flatMap((r=>Me(e,r,t,o,n,i))):u in r&&Array.isArray(r.allOf)?$e(r.allOf.map((r=>Me(e,r,t,o,n,i)))).map((e=>({...r,allOf:e}))):[r]}(e,r,t,o,f,i);return l.flatMap((r=>{let l=r;if(v in l)return function(e,r,t,n,i,o){const{if:a,then:s,else:u,...c}=r,f=e.isValid(a,o||{},t);let l=[c],p=[];if(n)s&&"boolean"!=typeof s&&(p=p.concat(Me(e,s,t,o,n,i))),u&&"boolean"!=typeof u&&(p=p.concat(Me(e,u,t,o,n,i)));else{const r=f?s:u;r&&"boolean"!=typeof r&&(p=p.concat(Me(e,r,t,o,n,i)))}return p.length&&(l=p.map((e=>Pe(c,e)))),l.flatMap((r=>Me(e,r,t,o,n,i)))}(e,l,t,o,f,i);if(u in l){if(o){const{allOf:e,...r}=l;return[...e,r]}try{l=Oe()(l,{deep:!1})}catch(e){console.warn("could not merge subschemas in allOf:\n",e);const{allOf:r,...t}=l;return t}}return s in l&&!1!==l.additionalProperties?function(e,r,t,i){const o={...r,properties:{...r.properties}},s=i&&n(i)?i:{};return Object.keys(s).forEach((r=>{if(r in o.properties)return;let n={};n="boolean"!=typeof o.additionalProperties?E in o.additionalProperties?De(e,{$ref:R()(o.additionalProperties,[E])},t,s):"type"in o.additionalProperties?{...o.additionalProperties}:c in o.additionalProperties||x in o.additionalProperties?{type:"object",...o.additionalProperties}:{type:Ee(R()(s,[r]))}:{type:Ee(R()(s,[r]))},o.properties[r]=n,de()(o.properties,[r,a],!0)})),o}(e,l,t,i):l}))}function Te(e,r,t,n,i){let o;const{oneOf:a,anyOf:s,...u}=r;if(Array.isArray(a)?o=a:Array.isArray(s)&&(o=s),o){const a=void 0===i&&n?{}:i,s=Se(r);o=o.map((e=>Fe(e,t,[])));const c=ce(e,a,o,t,s);if(n)return o.map((e=>Pe(u,e)));r=Pe(u,o[c])}return[r]}function Ue(e,r,t,n,i,o){const{dependencies:a,...s}=r;return Te(e,s,t,n,o).flatMap((r=>ke(e,a,r,t,n,i,o)))}function ke(e,r,t,i,o,a,s){let u=[t];for(const c in r){if(!o&&void 0===R()(s,[c]))continue;if(t.properties&&!(c in t.properties))continue;const[f,l]=J(c,r);return Array.isArray(l)?u[0]=We(t,l):n(l)&&(u=Le(e,t,i,c,l,o,a,s)),u.flatMap((r=>ke(e,f,r,i,o,a,s)))}return u}function We(e,r){if(!r)return e;const t=Array.isArray(e.required)?Array.from(new Set([...e.required,...r])):r;return{...e,required:t}}function Le(e,r,t,n,i,o,a,s){return Me(e,i,t,s,o,a).flatMap((i=>{const{oneOf:u,...c}=i;return r=Pe(r,c),void 0===u?r:$e(u.map((r=>"boolean"!=typeof r&&E in r?Ne(e,r,t,o,a,s):[r]))).flatMap((i=>function(e,r,t,n,i,o,a,s){const u=i.filter((r=>{if("boolean"==typeof r||!r||!r.properties)return!1;const{[n]:i}=r.properties;if(i){const r={type:"object",properties:{[n]:i}};return e.isValid(r,s,t)||o}return!1}));return o||1===u.length?u.flatMap((i=>{const u=i,[c]=J(n,u.properties),f={...u,properties:c};return Me(e,f,t,s,o,a).map((e=>Pe(r,e)))})):(console.warn("ignoring oneOf in dependencies because there isn't exactly one subschema that is valid"),[r])}(e,r,t,n,i,o,a,s)))}))}const Ce={type:"object",$id:b,properties:{__not_really_there__:{type:"number"}}};function Re(e,r,t,n={}){let i=0;return t&&(ee()(t.properties)?i+=ie()(t.properties,((t,i,o)=>{const a=R()(n,o);if("boolean"==typeof i)return t;if(G()(i,E)){const n=De(e,i,r,a);return t+Re(e,r,n,a||{})}if((G()(i,x)||G()(i,c))&&a){const n=G()(i,x)?x:c,o=Se(i);return t+Be(e,r,a,R()(i,n),-1,o)}if("object"===i.type)return t+Re(e,r,i,a||{});if(i.type===Ee(a)){let e=t+1;return i.default?e+=a===i.default?1:-1:i.const&&(e+=a===i.const?1:-1),e}return t}),0):te()(t.type)&&t.type===Ee(n)&&(i+=1)),i}function Be(e,r,t,n,i=-1,o){const a=n.map((e=>Fe(e,r,[]))),s=se(t,n,o);if(X()(s))return s;const u=a.reduce(((n,i,a)=>(1===ce(e,t,[Ce,i],r,o)&&n.push(a),n)),[]);if(1===u.length)return u[0];u.length||ae()(a.length,(e=>u.push(e)));const c=new Set,{bestIndex:f}=u.reduce(((n,i)=>{const{bestScore:o}=n,s=a[i],u=Re(e,r,s,t);return c.add(u),u>o?{bestIndex:i,bestScore:u}:n}),{bestIndex:i,bestScore:0});return 1===c.size&&i>=0?i:f}function Ve(e){return Array.isArray(e.items)&&e.items.length>0&&e.items.every((e=>n(e)))}function qe(e,r,t=!1){if(Array.isArray(r)){const n=Array.isArray(e)?e:[],i=r.map(((e,r)=>n[r]?qe(n[r],e,t):e));return t&&i.length<n.length&&i.push(...n.slice(i.length)),i}if(n(r)){const n=Object.assign({},e);return Object.keys(r).reduce(((n,i)=>(n[i]=qe(e?R()(e,i):{},R()(r,i),t),n)),n)}return r}function Ye(e,r,t=!1){return Object.keys(r).reduce(((i,o)=>{const a=e?e[o]:{},s=r[o];if(e&&o in e&&n(s))i[o]=Ye(a,s,t);else if(t&&Array.isArray(a)&&Array.isArray(s)){let e=s;"preventDuplicates"===t&&(e=s.reduce(((e,r)=>(a.includes(r)||e.push(r),e)),[])),i[o]=a.concat(e)}else i[o]=s;return i}),Object.assign({},e))}function Ke(e){return Array.isArray(e.enum)&&1===e.enum.length||f in e}function Je(e,r,t={}){const n=De(e,r,t,void 0),i=n.oneOf||n.anyOf;return!!Array.isArray(n.enum)||!!Array.isArray(i)&&i.every((e=>"boolean"!=typeof e&&Ke(e)))}function ze(e,r,t){return!(!r.uniqueItems||!r.items||"boolean"==typeof r.items)&&Je(e,r.items,t)}var He;function Ge(e,r=He.Ignore,t=-1){if(t>=0){if(Array.isArray(e.items)&&t<e.items.length){const r=e.items[t];if("boolean"!=typeof r)return r}}else if(e.items&&!Array.isArray(e.items)&&"boolean"!=typeof e.items)return e.items;return r!==He.Ignore&&n(e.additionalItems)?e.additionalItems:{}}function Qe(e,r,t,i,o,a=[],s={}){const{emptyObjectFields:u="populateAllDefaults"}=s;if(i)e[r]=t;else if("skipDefaults"!==u)if(n(t)){const n=void 0===o?a.includes(r):o;V()(t)&&!a.includes(r)||!n&&"populateRequiredDefaults"===u||(e[r]=t)}else void 0===t||"populateAllDefaults"!==u&&!a.includes(r)||(e[r]=t)}function Xe(e,r,{parentDefaults:t,rawFormData:i,rootSchema:o={},includeUndefinedValues:a=!1,_recurseList:s=[],experimental_defaultFormStateBehavior:f,required:p}={}){var m,h;const y=n(i)?i:{},v=n(r)?r:{};let g=t,b=null,A=s;if(n(g)&&n(v.default))g=Ye(g,v.default);else if(l in v)g=v.default;else if(E in v){const e=v[E];s.includes(e)||(A=s.concat(e),b=z(e,o))}else if(d in v)b=Ue(e,v,o,!1,[],y)[0];else if(Ve(v))g=v.items.map(((r,n)=>Xe(e,r,{rootSchema:o,includeUndefinedValues:a,_recurseList:s,experimental_defaultFormStateBehavior:f,parentDefaults:Array.isArray(t)?t[n]:void 0,rawFormData:y,required:p})));else if(x in v){const{oneOf:r,...t}=v;if(0===r.length)return;const n=Se(v);b=r[Be(e,o,V()(y)?void 0:y,r,0,n)],b=Pe(t,b)}else if(c in v){const{anyOf:r,...t}=v;if(0===r.length)return;const n=Se(v);b=r[Be(e,o,V()(y)?void 0:y,r,0,n)],b=Pe(t,b)}if(b)return Xe(e,b,{rootSchema:o,includeUndefinedValues:a,_recurseList:A,experimental_defaultFormStateBehavior:f,parentDefaults:g,rawFormData:y,required:p});switch(void 0===g&&(g=v.default),je(v)){case"object":{const r="populateDefaults"===(null==f?void 0:f.allOf)&&u in v?De(e,v,o,y):v,t=Object.keys(r.properties||{}).reduce(((t,n)=>{var i;return Qe(t,n,Xe(e,R()(r,[w,n]),{rootSchema:o,_recurseList:s,experimental_defaultFormStateBehavior:f,includeUndefinedValues:!0===a,parentDefaults:R()(g,[n]),rawFormData:R()(y,[n]),required:null===(i=r.required)||void 0===i?void 0:i.includes(n)}),a,p,r.required,f),t}),{});if(r.additionalProperties){const i=n(r.additionalProperties)?r.additionalProperties:{},u=new Set;n(g)&&Object.keys(g).filter((e=>!r.properties||!r.properties[e])).forEach((e=>u.add(e)));const c=[];Object.keys(y).filter((e=>!r.properties||!r.properties[e])).forEach((e=>{u.add(e),c.push(e)})),u.forEach((n=>{var u;const l=Xe(e,i,{rootSchema:o,_recurseList:s,experimental_defaultFormStateBehavior:f,includeUndefinedValues:!0===a,parentDefaults:R()(g,[n]),rawFormData:R()(y,[n]),required:null===(u=r.required)||void 0===u?void 0:u.includes(n)});Qe(t,n,l,a,p,c)}))}return t}case"array":{const r="never"===(null===(m=null==f?void 0:f.arrayMinItems)||void 0===m?void 0:m.populate),t="requiredOnly"===(null===(h=null==f?void 0:f.arrayMinItems)||void 0===h?void 0:h.populate);if(Array.isArray(g)&&(g=g.map(((r,t)=>{const n=Ge(v,He.Fallback,t);return Xe(e,n,{rootSchema:o,_recurseList:s,experimental_defaultFormStateBehavior:f,parentDefaults:r,required:p})}))),Array.isArray(i)){const t=Ge(v);g=r?i:i.map(((r,n)=>Xe(e,t,{rootSchema:o,_recurseList:s,experimental_defaultFormStateBehavior:f,rawFormData:r,parentDefaults:R()(g,[n]),required:p})))}if(r)return null!=g?g:[];if(t&&!p)return g||void 0;const n=Array.isArray(g)?g.length:0;if(!v.minItems||ze(e,v,o)||v.minItems<=n)return g||[];const a=g||[],u=Ge(v,He.Invert),c=u.default,l=new Array(v.minItems-n).fill(Xe(e,u,{parentDefaults:c,rootSchema:o,_recurseList:s,experimental_defaultFormStateBehavior:f,required:p}));return a.concat(l)}}return g}function Ze(e,r,t,i,o=!1,a){if(!n(r))throw new Error("Invalid schema: "+r);const s=Xe(e,De(e,r,i,t),{rootSchema:i,includeUndefinedValues:o,experimental_defaultFormStateBehavior:a,rawFormData:t});if(null==t||"number"==typeof t&&isNaN(t))return s;const{mergeExtraDefaults:u}=(null==a?void 0:a.arrayMinItems)||{};return n(t)||Array.isArray(t)?qe(s,t,u):t}function er(e={}){return"widget"in N(e)&&"hidden"!==N(e).widget}function rr(e,r,t={},n){if("files"===t[P])return!0;if(r.items){const t=De(e,r.items,n);return"string"===t.type&&"data-url"===t.format}return!1}function tr(e,r,t={},n,i){const o=N(t,i),{label:a=!0}=o;let s=!!a;const u=je(r);return"array"===u&&(s=ze(e,r,n)||rr(e,r,t,n)||er(t)),"object"===u&&(s=!1),"boolean"!==u||t[P]||(s=!1),t[j]&&(s=!1),s}function nr(e,r,t){if(!t)return r;const{errors:n,errorSchema:i}=r;let o=e.toErrorList(t),a=t;return V()(i)||(a=Ye(i,t,!0),o=[...n].concat(o)),{errorSchema:a,errors:o}}!function(e){e[e.Ignore=0]="Ignore",e[e.Invert=1]="Invert",e[e.Fallback=2]="Fallback"}(He||(He={}));const ir=Symbol("no Value");function or(e,r,t,n,i={}){let o;if(G()(t,w)){const a={};if(G()(n,w)){const e=R()(n,w,{});Object.keys(e).forEach((e=>{G()(i,e)&&(a[e]=void 0)}))}const s=Object.keys(R()(t,w,{})),u={};s.forEach((o=>{const s=R()(i,o);let c=R()(n,[w,o],{}),f=R()(t,[w,o],{});G()(c,E)&&(c=De(e,c,r,s)),G()(f,E)&&(f=De(e,f,r,s));const l=R()(c,"type"),p=R()(f,"type");if(!l||l===p)if(G()(a,o)&&delete a[o],"object"===p||"array"===p&&Array.isArray(s)){const t=or(e,r,f,c,s);void 0===t&&"array"!==p||(u[o]=t)}else{const e=R()(f,"default",ir),r=R()(c,"default",ir);e!==ir&&e!==s&&(r===s?a[o]=e:!0===R()(f,"readOnly")&&(a[o]=void 0));const t=R()(f,"const",ir),n=R()(c,"const",ir);t!==ir&&t!==s&&(a[o]=n===s?t:void 0)}})),o={..."string"==typeof i||Array.isArray(i)?void 0:i,...a,...u}}else if("array"===R()(n,"type")&&"array"===R()(t,"type")&&Array.isArray(i)){let a=R()(n,"items"),s=R()(t,"items");if("object"!=typeof a||"object"!=typeof s||Array.isArray(a)||Array.isArray(s))"boolean"==typeof a&&"boolean"==typeof s&&a===s&&(o=i);else{G()(a,E)&&(a=De(e,a,r,i)),G()(s,E)&&(s=De(e,s,r,i));const n=R()(a,"type"),u=R()(s,"type");if(!n||n===u){const n=R()(t,"maxItems",-1);o="object"===u?i.reduce(((t,i)=>{const o=or(e,r,s,a,i);return void 0!==o&&(n<0||t.length<n)&&t.push(o),t}),[]):n>0&&i.length>n?i.slice(0,n):i}}}return o}function ar(e,r,t,i,o,a,s,c=[]){if(E in r||d in r||u in r){const n=De(e,r,a,s);if(-1===c.findIndex((e=>le()(e,n))))return ar(e,n,t,i,o,a,s,c.concat(n))}if(g in r&&!R()(r,[g,E]))return ar(e,R()(r,g),t,i,o,a,s,c);const f={$id:o||t};if("object"===je(r)&&w in r)for(const o in r.properties){const u=R()(r,[w,o]),l=f[y]+i+o;f[o]=ar(e,n(u)?u:{},t,i,l,a,R()(s,[o]),c)}return f}function sr(e,r,t,n,i,o="root",a="_"){return ar(e,r,o,a,t,n,i)}function ur(e,r,t,n,i,o=[]){if(E in r||d in r||u in r){const a=De(e,r,n,i);if(-1===o.findIndex((e=>le()(e,a))))return ur(e,a,t,n,i,o.concat(a))}let a={[A]:t.replace(/^\./,"")};if(x in r||c in r){const s=x in r?r.oneOf:r.anyOf,u=Se(r),c=s[Be(e,n,i,s,0,u)];a={...a,...ur(e,c,t,n,i,o)}}if(s in r&&!1!==r[s]&&de()(a,_,!0),g in r&&Array.isArray(i)){const{items:s,additionalItems:u}=r;Array.isArray(s)?i.forEach(((r,i)=>{s[i]?a[i]=ur(e,s[i],`${t}.${i}`,n,r,o):u?a[i]=ur(e,u,`${t}.${i}`,n,r,o):console.warn(`Unable to generate path schema for "${t}.${i}". No schema defined for it`)})):i.forEach(((r,i)=>{a[i]=ur(e,s,`${t}.${i}`,n,r,o)}))}else if(w in r)for(const s in r.properties){const u=R()(r,[w,s]);a[s]=ur(e,u,`${t}.${s}`,n,R()(i,[s]),o)}return a}function cr(e,r,t="",n,i){return ur(e,r,t,n,i)}class fr{constructor(e,r,t){this.rootSchema=r,this.validator=e,this.experimental_defaultFormStateBehavior=t}getValidator(){return this.validator}doesSchemaUtilsDiffer(e,r,t={}){return!(!e||!r||this.validator===e&&L(this.rootSchema,r)&&L(this.experimental_defaultFormStateBehavior,t))}getDefaultFormState(e,r,t=!1){return Ze(this.validator,e,r,this.rootSchema,t,this.experimental_defaultFormStateBehavior)}getDisplayLabel(e,r,t){return tr(this.validator,e,r,this.rootSchema,t)}getClosestMatchingOption(e,r,t,n){return Be(this.validator,this.rootSchema,e,r,t,n)}getFirstMatchingOption(e,r,t){return ce(this.validator,e,r,this.rootSchema,t)}getMatchingOption(e,r,t){return ue(this.validator,e,r,this.rootSchema,t)}isFilesArray(e,r){return rr(this.validator,e,r,this.rootSchema)}isMultiSelect(e){return ze(this.validator,e,this.rootSchema)}isSelect(e){return Je(this.validator,e,this.rootSchema)}mergeValidationData(e,r){return nr(this.validator,e,r)}retrieveSchema(e,r){return De(this.validator,e,this.rootSchema,r)}sanitizeDataForNewSchema(e,r,t){return or(this.validator,this.rootSchema,e,r,t)}toIdSchema(e,r,t,n="root",i="_"){return sr(this.validator,e,r,this.rootSchema,t,n,i)}toPathSchema(e,r,t){return cr(this.validator,e,r,this.rootSchema,t)}}function lr(e,r,t={}){return new fr(e,r,t)}function pr(e){const r=e.split(","),t=r[0].split(";"),n=t[0].replace("data:",""),i=t.filter((e=>"name"===e.split("=")[0]));let o;o=1!==i.length?"unknown":decodeURI(i[0].split("=")[1]);try{const e=atob(r[1]),t=[];for(let r=0;r<e.length;r++)t.push(e.charCodeAt(r));return{blob:new window.Blob([new Uint8Array(t)],{type:n}),name:o}}catch(r){return{blob:{size:0,type:r.message},name:e}}}function dr(e,r){let t=e;if(Array.isArray(r)){const e=t.split(/(%\d)/);r.forEach(((r,t)=>{const n=e.findIndex((e=>e===`%${t+1}`));n>=0&&(e[n]=r)})),t=e.join("")}return t}function mr(e,r){return dr(e,r)}function hr(e,r=[],t){if(Array.isArray(e))return e.map((e=>hr(e,r))).filter((e=>e));const n=""===e||null===e?-1:Number(e),i=r[n];return i?i.value:t}function yr(e,r,t=[]){const n=hr(e,t);return Array.isArray(r)?r.filter((e=>!le()(e,n))):le()(n,r)?void 0:r}function vr(e,r){return Array.isArray(r)?r.some((r=>le()(r,e))):le()(r,e)}function gr(e,r=[],t=!1){const n=r.map(((r,t)=>vr(r.value,e)?String(t):void 0)).filter((e=>void 0!==e));return t?n:n[0]}var br=t(30644),Ar=t.n(br);function xr(e,r,t=[]){const n=hr(e,t);if(!Ar()(n)){const e=t.findIndex((e=>n===e.value)),i=t.map((({value:e})=>e));return r.slice(0,e).concat(n,r.slice(e)).sort(((e,r)=>Number(i.indexOf(e)>i.indexOf(r))))}return r}var wr=t(30454),Or=t.n(wr);class Sr{constructor(e){this.errorSchema={},this.resetAllErrors(e)}get ErrorSchema(){return this.errorSchema}getOrCreateErrorBlock(e){let r=Array.isArray(e)&&e.length>0||"string"==typeof e?R()(this.errorSchema,e):this.errorSchema;return!r&&e&&(r={},de()(this.errorSchema,e,r)),r}resetAllErrors(e){return this.errorSchema=e?Or()(e):{},this}addErrors(e,r){const t=this.getOrCreateErrorBlock(r);let n=R()(t,h);return Array.isArray(n)||(n=[],t[h]=n),Array.isArray(e)?n.push(...e):n.push(e),this}setErrors(e,r){const t=this.getOrCreateErrorBlock(r),n=Array.isArray(e)?[...e]:[e];return de()(t,h,n),this}clearErrors(e){const r=this.getOrCreateErrorBlock(e);return de()(r,h,[]),this}}function Er(e,r,t=[1900,(new Date).getFullYear()+2],n="YMD"){const{day:i,month:o,year:a,hour:s,minute:u,second:c}=e,f={type:"day",range:[1,31],value:i},l={type:"month",range:[1,12],value:o},p={type:"year",range:t,value:a},d=[];switch(n){case"MDY":d.push(l,f,p);break;case"DMY":d.push(f,l,p);break;default:d.push(p,l,f)}return r&&d.push({type:"hour",range:[0,23],value:s},{type:"minute",range:[0,59],value:u},{type:"second",range:[0,59],value:c}),d}function _r(e){const r={};return e.multipleOf&&(r.step=e.multipleOf),(e.minimum||0===e.minimum)&&(r.min=e.minimum),(e.maximum||0===e.maximum)&&(r.max=e.maximum),r}function Ir(e,r,t={},n=!0){const i={type:r||"text",..._r(e)};return t.inputType?i.type=t.inputType:r||("number"===e.type?(i.type="number",n&&void 0===i.step&&(i.step="any")):"integer"===e.type&&(i.type="number",void 0===i.step&&(i.step=1))),t.autocomplete&&(i.autoComplete=t.autocomplete),i}const jr={props:{disabled:!1},submitText:"Submit",norender:!1};function Pr(e={}){const r=N(e);if(r&&r[S]){const e=r[S];return{...jr,...e}}return jr}function Dr(e,r,t={}){const{templates:n}=r;return"ButtonTemplates"===e?n[e]:t[e]||n[e]}var $r=t(24246),Nr=t(78156),Fr=t(19185);const Mr={boolean:{checkbox:"CheckboxWidget",radio:"RadioWidget",select:"SelectWidget",hidden:"HiddenWidget"},string:{text:"TextWidget",password:"PasswordWidget",email:"EmailWidget",hostname:"TextWidget",ipv4:"TextWidget",ipv6:"TextWidget",uri:"URLWidget","data-url":"FileWidget",radio:"RadioWidget",select:"SelectWidget",textarea:"TextareaWidget",hidden:"HiddenWidget",date:"DateWidget",datetime:"DateTimeWidget","date-time":"DateTimeWidget","alt-date":"AltDateWidget","alt-datetime":"AltDateTimeWidget",time:"TimeWidget",color:"ColorWidget",file:"FileWidget"},number:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},integer:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},array:{select:"SelectWidget",checkboxes:"CheckboxesWidget",files:"FileWidget",hidden:"HiddenWidget"}};function Tr(e,r,t={}){const n=je(e);if("function"==typeof r||r&&Fr.isForwardRef((0,Nr.createElement)(r))||Fr.isMemo(r))return function(e){let r=R()(e,"MergedWidget");if(!r){const t=e.defaultProps&&e.defaultProps.options||{};r=({options:r,...n})=>(0,$r.jsx)(e,{options:{...t,...r},...n}),de()(e,"MergedWidget",r)}return r}(r);if("string"!=typeof r)throw new Error("Unsupported widget definition: "+typeof r);if(r in t)return Tr(e,t[r],t);if("string"==typeof n){if(!(n in Mr))throw new Error(`No widget for type '${n}'`);if(r in Mr[n])return Tr(e,t[Mr[n][r]],t)}throw new Error(`No widget '${r}' for type '${n}'`)}function Ur(e){const r=new Set;return JSON.stringify(e,((e,t)=>(r.add(e),t))),function(e){let r=0;for(let t=0;t<e.length;t+=1)r=(r<<5)-r+e.charCodeAt(t),r&=r;return r.toString(16)}(JSON.stringify(e,Array.from(r).sort()))}function kr(e,r,t={}){try{return Tr(e,r,t),!0}catch(e){const r=e;if(r.message&&(r.message.startsWith("No widget")||r.message.startsWith("Unsupported widget")))return!1;throw e}}function Wr(e,r){return`${te()(e)?e:e[y]}__${r}`}function Lr(e){return Wr(e,"description")}function Cr(e){return Wr(e,"error")}function Rr(e){return Wr(e,"examples")}function Br(e){return Wr(e,"help")}function Vr(e){return Wr(e,"title")}function qr(e,r=!1){const t=r?` ${Rr(e)}`:"";return`${Cr(e)} ${Lr(e)} ${Br(e)}${t}`}function Yr(e,r){return`${e}-${r}`}function Kr(e,r,t){return r?t:e}function Jr(e){return e?new Date(e).toJSON():void 0}function zr(e){if(m in e&&Array.isArray(e.enum)&&1===e.enum.length)return e.enum[0];if(f in e)return e.const;throw new Error("schema cannot be inferred as a constant")}function Hr(e){const r=e;if(r.enumNames,e.enum)return e.enum.map(((e,t)=>({label:r.enumNames&&r.enumNames[t]||String(e),value:e})));const t=e.oneOf||e.anyOf;return t&&t.map((e=>{const r=e,t=zr(r);return{schema:r,label:r.title||String(t),value:t}}))}function Gr(e,r){if(!Array.isArray(r))return e;const t=e=>e.reduce(((e,r)=>(e[r]=!0,e)),{}),n=t(e),i=r.filter((e=>"*"===e||n[e])),o=t(i),a=e.filter((e=>!o[e])),s=i.indexOf("*");if(-1===s){if(a.length)throw new Error("uiSchema order list does not contain "+((u=a).length>1?`properties '${u.join("', '")}'`:`property '${u[0]}'`));return i}var u;if(s!==i.lastIndexOf("*"))throw new Error("uiSchema order list contains more than one wildcard item");const c=[...i];return c.splice(s,1,...a),c}function Qr(e,r){let t=String(e);for(;t.length<r;)t="0"+t;return t}function Xr(e,r=!0){if(!e)return{year:-1,month:-1,day:-1,hour:r?-1:0,minute:r?-1:0,second:r?-1:0};const t=new Date(e);if(Number.isNaN(t.getTime()))throw new Error("Unable to parse date "+e);return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate(),hour:r?t.getUTCHours():0,minute:r?t.getUTCMinutes():0,second:r?t.getUTCSeconds():0}}function Zr(e){if(e.const)return!0;if(e.enum&&1===e.enum.length&&!0===e.enum[0])return!0;if(e.anyOf&&1===e.anyOf.length)return Zr(e.anyOf[0]);if(e.oneOf&&1===e.oneOf.length)return Zr(e.oneOf[0]);if(e.allOf){const r=e=>Zr(e);return e.allOf.some(r)}return!1}function et(e,r,t){const{props:n,state:i}=e;return!L(n,r)||!L(i,t)}function rt(e,r=!0){const{year:t,month:n,day:i,hour:o=0,minute:a=0,second:s=0}=e,u=Date.UTC(t,n-1,i,o,a,s),c=new Date(u).toJSON();return r?c:c.slice(0,10)}function tt(e,r=[]){if(!e)return[];let t=[];return h in e&&(t=t.concat(e[h].map((e=>{const t=`.${r.join(".")}`;return{property:t,message:e,stack:`${t} ${e}`}})))),Object.keys(e).reduce(((t,n)=>{if(n!==h){const i=e[n];T()(i)&&(t=t.concat(tt(i,[...r,n])))}return t}),t)}var nt,it=t(40110),ot=t.n(it);function at(e){const r=new Sr;return e.length&&e.forEach((e=>{const{property:t,message:n}=e,i="."===t?[]:ot()(t);i.length>0&&""===i[0]&&i.splice(0,1),n&&r.addErrors(n,i)})),r.ErrorSchema}function st(e){return Object.keys(e).reduce(((r,t)=>{if("addError"===t)return r;{const n=e[t];return T()(n)?{...r,[t]:st(n)}:{...r,[t]:n}}}),{})}function ut(e){if(!e)return"";const r=new Date(e);return`${Qr(r.getFullYear(),4)}-${Qr(r.getMonth()+1,2)}-${Qr(r.getDate(),2)}T${Qr(r.getHours(),2)}:${Qr(r.getMinutes(),2)}:${Qr(r.getSeconds(),2)}.${Qr(r.getMilliseconds(),3)}`}function ct(e,r){if(!r)return e;const{errors:t,errorSchema:n}=e;let i=tt(r),o=r;return V()(n)||(o=Ye(n,r,!0),i=[...t].concat(i)),{errorSchema:o,errors:i}}function ft(e){return Array.isArray(e)?function(e){for(let r=0;r<e.length;r++)e[r]=ft(e[r]);return e}([...e]):ee()(e)?function(e){for(const r in e){const t=e,n=t[r];r===E&&"string"==typeof n&&n.startsWith("#")?t[r]=I+n:t[r]=ft(n)}return e}({...e}):e}!function(e){e.ArrayItemTitle="Item",e.MissingItems="Missing items definition",e.YesLabel="Yes",e.NoLabel="No",e.CloseLabel="Close",e.ErrorsLabel="Errors",e.NewStringDefault="New Value",e.AddButton="Add",e.AddItemButton="Add Item",e.CopyButton="Copy",e.MoveDownButton="Move down",e.MoveUpButton="Move up",e.RemoveButton="Remove",e.NowLabel="Now",e.ClearLabel="Clear",e.AriaDateLabel="Select a date",e.PreviewLabel="Preview",e.DecrementAriaLabel="Decrease value by 1",e.IncrementAriaLabel="Increase value by 1",e.UnknownFieldType="Unknown field type %1",e.OptionPrefix="Option %1",e.TitleOptionPrefix="%1 option %2",e.KeyLabel="%1 Key",e.InvalidObjectField='Invalid "%1" object field configuration: <em>%2</em>.',e.UnsupportedField="Unsupported field schema.",e.UnsupportedFieldWithId="Unsupported field schema for field <code>%1</code>.",e.UnsupportedFieldWithReason="Unsupported field schema: <em>%1</em>.",e.UnsupportedFieldWithIdAndReason="Unsupported field schema for field <code>%1</code>: <em>%2</em>.",e.FilesInfo="<strong>%1</strong> (%2, %3 bytes)"}(nt||(nt={}));var lt=t(47003),pt=t.n(lt);class dt{constructor(e){this.schemaMap={},this.rootSchema=e,this.addSchema(e,Ur(e))}addSchema(e,r){const t=R()(e,y,r),n={...e,[y]:t},i=this.schemaMap[t];if(i){if(!le()(i,n))throw console.error("existing schema:",JSON.stringify(i,null,2)),console.error("new schema:",JSON.stringify(n,null,2)),new Error(`Two different schemas exist with the same key ${t}! What a bad coincidence. If possible, try adding an $id to one of the schemas`)}else this.schemaMap[t]=n}getSchemaMap(){return this.schemaMap}isValid(e,r,t){if(!le()(t,this.rootSchema))throw new Error("Unexpectedly calling isValid() with a rootSchema that differs from the construction rootSchema");return this.addSchema(e,Ur(e)),!1}rawValidation(e,r){throw new Error("Unexpectedly calling the `rawValidation()` method during schema parsing")}toErrorList(e,r){throw new Error("Unexpectedly calling the `toErrorList()` method during schema parsing")}validateFormData(e,r,t,n,i){throw new Error("Unexpectedly calling the `validateFormData()` method during schema parsing")}}function mt(e,r,t,n){Me(e,n,t,void 0,!0).forEach((n=>{-1===r.findIndex((e=>le()(e,n)))&&(r.push(n),Te(e,n,t,!0).forEach((i=>{w in i&&i[w]&&pt()(n[w],(n=>{mt(e,r,t,n)}))})),g in n&&!Array.isArray(n.items)&&"boolean"!=typeof n.items&&mt(e,r,t,n.items))}))}function ht(e){const r=new dt(e);return mt(r,[],e,e),r.getSchemaMap()}},15422:(e,r,t)=>{"use strict";var n=t(17604),i=t(9333),o=t(86401),a=Math.pow(2,31)-1;function s(e,r){var t,n=1;if(0===e)return r;if(0===r)return e;for(;e%2==0&&r%2==0;)e/=2,r/=2,n*=2;for(;e%2==0;)e/=2;for(;r;){for(;r%2==0;)r/=2;e>r&&(t=r,r=e,e=t),r-=e}return n*e}function u(e,r){var t,n=0;if(0===e)return r;if(0===r)return e;for(;0==(1&e)&&0==(1&r);)e>>>=1,r>>>=1,n++;for(;0==(1&e);)e>>>=1;for(;r;){for(;0==(1&r);)r>>>=1;e>r&&(t=r,r=e,e=t),r-=e}return e<<n}e.exports=function(){var e,r,t,c,f,l,p,d=arguments.length;for(e=new Array(d),p=0;p<d;p++)e[p]=arguments[p];if(i(e)){if(2===d)return(f=e[0])<0&&(f=-f),(l=e[1])<0&&(l=-l),f<=a&&l<=a?u(f,l):s(f,l);t=e}else{if(!n(e[0]))throw new TypeError("gcd()::invalid input argument. Must provide an array of integers. Value: `"+e[0]+"`.");if(d>1){if(t=e[0],r=e[1],!o(r))throw new TypeError("gcd()::invalid input argument. Accessor must be a function. Value: `"+r+"`.")}else t=e[0]}if((c=t.length)<2)return null;if(r){for(f=new Array(c),p=0;p<c;p++)f[p]=r(t[p],p);t=f}if(d<3&&!i(t))throw new TypeError("gcd()::invalid input argument. Accessed array values must be integers. Value: `"+t+"`.");for(p=0;p<c;p++)(f=t[p])<0&&(t[p]=-f);for(f=t[0],p=1;p<c;p++)f=(l=t[p])<=a&&f<=a?u(f,l):s(f,l);return f}},72982:(e,r,t)=>{"use strict";var n=t(15422),i=t(17604),o=t(9333),a=t(86401);e.exports=function(){var e,r,t,s,u,c,f,l=arguments.length;for(e=new Array(l),f=0;f<l;f++)e[f]=arguments[f];if(o(e)){if(2===l)return(u=e[0])<0&&(u=-u),(c=e[1])<0&&(c=-c),0===u||0===c?0:u/n(u,c)*c;t=e}else{if(!i(e[0]))throw new TypeError("lcm()::invalid input argument. Must provide an array of integers. Value: `"+e[0]+"`.");if(l>1){if(t=e[0],r=e[1],!a(r))throw new TypeError("lcm()::invalid input argument. Accessor must be a function. Value: `"+r+"`.")}else t=e[0]}if((s=t.length)<2)return null;if(r){for(u=new Array(s),f=0;f<s;f++)u[f]=r(t[f],f);t=u}if(l<3&&!o(t))throw new TypeError("lcm()::invalid input argument. Accessed array values must be integers. Value: `"+t+"`.");for(f=0;f<s;f++)(u=t[f])<0&&(t[f]=-u);for(u=t[0],f=1;f<s;f++){if(c=t[f],0===u||0===c)return 0;u=u/n(u,c)*c}return u}},64316:(e,r,t)=>{var n=t(56141),i=t(95099),o=t(83766),a=t(52929),s=t(70236),u=t(28054),c=t(40861),f=t(3819),l=e=>Array.isArray(e)?e:[e],p=e=>void 0===e,d=e=>c(e)||Array.isArray(e)?Object.keys(e):[],m=(e,r)=>e.hasOwnProperty(r),h=e=>i(o(e)),y=e=>p(e)||Array.isArray(e)&&0===e.length,v=(e,r)=>p(e)&&0===r||p(r)&&0===e||n(e,r),g=e=>p(e)||n(e,{})||!0===e,b=e=>p(e)||n(e,{}),A=e=>p(e)||c(e)||!0===e||!1===e;function x(e,r){return!(!y(e)||!y(r))||n(h(e),h(r))}function w(e,r,t,i){var a=o(d(e).concat(d(r)));return!(!b(e)||!b(r))||(!b(e)||!d(r).length)&&(!b(r)||!d(e).length)&&a.every((function(t){var o=e[t],a=r[t];return Array.isArray(o)&&Array.isArray(a)?n(h(e),h(r)):!(Array.isArray(o)&&!Array.isArray(a))&&!(Array.isArray(a)&&!Array.isArray(o))&&((e,r,t,n)=>r&&m(r,t)&&e&&m(e,t)&&n(e[t],r[t]))(e,r,t,i)}))}function O(e,r,t,n){var i=a(e,n),o=a(r,n);return u(i,o,n).length===Math.max(i.length,o.length)}var S={title:n,uniqueItems:(e,r)=>p(e)&&!1===r||p(r)&&!1===e||n(e,r),minLength:v,minItems:v,minProperties:v,required:x,enum:x,type:function(e,r){return e=l(e),r=l(r),n(h(e),h(r))},items:function(e,r,t,i){return c(e)&&c(r)?i(e,r):Array.isArray(e)&&Array.isArray(r)?w(e,r,0,i):n(e,r)},anyOf:O,allOf:O,oneOf:O,properties:w,patternProperties:w,dependencies:w},E=["properties","patternProperties","dependencies","uniqueItems","minLength","minItems","minProperties","required"],_=["additionalProperties","additionalItems","contains","propertyNames","not"];e.exports=function e(r,t,i){if(i=s(i,{ignore:[]}),g(r)&&g(t))return!0;if(!A(r)||!A(t))throw new Error("Either of the values are not a JSON schema.");if(r===t)return!0;if(f(r)&&f(t))return r===t;if(void 0===r&&!1===t||void 0===t&&!1===r)return!1;if(p(r)&&!p(t)||!p(r)&&p(t))return!1;var a=o(Object.keys(r).concat(Object.keys(t)));if(i.ignore.length&&(a=a.filter((e=>-1===i.ignore.indexOf(e)))),!a.length)return!0;function u(r,t){return e(r,t,i)}return a.every((function(o){var a=r[o],s=t[o];if(-1!==_.indexOf(o))return e(a,s,i);var c=S[o];if(c||(c=n),n(a,s))return!0;if(-1===E.indexOf(o)&&(!m(r,o)&&m(t,o)||m(r,o)&&!m(t,o)))return a===s;var l=c(a,s,o,u);if(!f(l))throw new Error("Comparer must return true or false");return l}))}},2143:(e,r,t)=>{const n=t(89754),i=t(84812),o=t(40861),a=t(83766),s=t(52929),u=t(81889),c=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),f=e=>o(e)||Array.isArray(e)?Object.keys(e):[],l=e=>!f(e).length&&!1!==e&&!0!==e;e.exports={allUniqueKeys:e=>a(i(e.map(f))),deleteUndefinedProps:function(e){for(const r in e)c(e,r)&&l(e[r])&&delete e[r];return e},getValues:(e,r)=>e.map((e=>e&&e[r])),has:c,isEmptySchema:l,isSchema:e=>o(e)||!0===e||!1===e,keys:f,notUndefined:e=>void 0!==e,uniqWith:s,withoutArr:(e,...r)=>u.apply(null,[e].concat(n(r)))}},71020:(e,r,t)=>{const n=t(64316),i=t(47003),{allUniqueKeys:o,deleteUndefinedProps:a,has:s,isSchema:u,notUndefined:c,uniqWith:f}=t(2143);e.exports={keywords:["items","additionalItems"],resolver(e,r,t){const l=e.map((e=>e.items)),p=l.filter(c),d={};let m;var h;return p.every(u)?d.items=t.items(l):d.items=function(e,r,t){return o(t).reduce((function(t,i){const o=function(e,r){return e.map((function(e){if(e){if(!Array.isArray(e.items))return e.items;{const t=e.items[r];if(u(t))return t;if(s(e,"additionalItems"))return e.additionalItems}}}))}(e,i),a=f(o.filter(c),n);return t[i]=r(a,i),t}),[])}(e,t.items,l),p.every(Array.isArray)?m=e.map((e=>e.additionalItems)):p.some(Array.isArray)&&(m=e.map((function(e){if(e)return Array.isArray(e.items)?e.additionalItems:e.items}))),m&&(d.additionalItems=t.additionalItems(m)),!1===d.additionalItems&&Array.isArray(d.items)&&(h=d.items,i(h,(function(e,r){!1===e&&h.splice(r,1)}))),a(d)}}},88807:(e,r,t)=>{const n=t(64316),i=t(47003),{allUniqueKeys:o,deleteUndefinedProps:a,getValues:s,keys:u,notUndefined:c,uniqWith:f,withoutArr:l}=t(2143);function p(e,r){return o(e).reduce((function(t,i){const o=s(e,i),a=f(o.filter(c),n);return t[i]=r(a,i),t}),{})}e.exports={keywords:["properties","patternProperties","additionalProperties"],resolver(e,r,t,n){n.ignoreAdditionalProperties||(e.forEach((function(r){const n=e.filter((e=>e!==r)),i=u(r.properties),o=u(r.patternProperties).map((e=>new RegExp(e)));n.forEach((function(e){const n=u(e.properties),a=n.filter((e=>o.some((r=>r.test(e)))));l(n,i,a).forEach((function(n){e.properties[n]=t.properties([e.properties[n],r.additionalProperties],n)}))}))})),e.forEach((function(r){const t=e.filter((e=>e!==r)),n=u(r.patternProperties);!1===r.additionalProperties&&t.forEach((function(e){const r=u(e.patternProperties);l(r,n).forEach((r=>delete e.patternProperties[r]))}))})));const o={additionalProperties:t.additionalProperties(e.map((e=>e.additionalProperties))),patternProperties:p(e.map((e=>e.patternProperties)),t.patternProperties),properties:p(e.map((e=>e.properties)),t.properties)};var s;return!1===o.additionalProperties&&i(s=o.properties,(function(e,r){!1===e&&delete s[r]})),a(o)}}},64717:(e,r,t)=>{const n=t(30454),i=t(64316),o=t(72982),a=t(53533),s=t(89754),u=t(84812),c=t(27921),f=t(28054),l=t(56141),p=t(40861),d=t(90254),m=t(95099),h=t(83766),y=t(52929),v=t(88807),g=t(71020),b=(e,r)=>-1!==e.indexOf(r),A=e=>p(e)||!0===e||!1===e,x=e=>!1===e,w=e=>!0===e,O=(e,r,t)=>t(e),S=e=>m(h(u(e))),E=e=>void 0!==e,_=e=>h(u(e.map(N))),I=e=>e[0],j=e=>Math.max.apply(Math,e),P=e=>Math.min.apply(Math,e);function D(e){let{allOf:r=[],...t}=e;return t=p(e)?t:e,[t,...r.map(D)]}function $(e,r){return e.map((e=>e&&e[r]))}function N(e){return p(e)||Array.isArray(e)?Object.keys(e):[]}function F(e,r){if(r=r||[],!e.length)return r;const t=e.slice(0).shift(),n=e.slice(1);return r.length?F(n,s(r.map((e=>t.map((r=>[r].concat(e))))))):F(n,t.map((e=>e)))}function M(e,r){let t;try{t=e.map((function(e){return JSON.stringify(e,null,2)})).join("\n")}catch(r){t=e.join(", ")}throw new Error('Could not resolve values for path:"'+r.join(".")+'". They are probably incompatible. Values: \n'+t)}function T(e,r,t,n,o,a){if(e.length){const s=o.complexResolvers[r];if(!s||!s.resolver)throw new Error("No resolver found for "+r);const u=t.map((r=>e.reduce(((e,t)=>(void 0!==r[t]&&(e[t]=r[t]),e)),{}))),c=y(u,i),f=s.keywords.reduce(((e,r)=>({...e,[r]:(e,t=[])=>n(e,null,a.concat(r,t))})),{}),l=s.resolver(c,a.concat(r),f,o);return p(l)||M(c,a.concat(r)),l}}function U(e){return{required:e}}const k=["properties","patternProperties","definitions","dependencies"],W=["anyOf","oneOf"],L=["additionalProperties","additionalItems","contains","propertyNames","not","items"],C={type(e){if(e.some(Array.isArray)){const r=e.map((function(e){return Array.isArray(e)?e:[e]})),t=c.apply(null,r);if(1===t.length)return t[0];if(t.length>1)return h(t)}},dependencies:(e,r,t)=>_(e).reduce((function(r,n){const o=$(e,n);let a=y(o.filter(E),l);const s=a.filter(Array.isArray);if(s.length){if(s.length===a.length)r[n]=S(a);else{const e=a.filter(A),i=s.map(U);r[n]=t(e.concat(i),n)}return r}return a=y(a,i),r[n]=t(a,n),r}),{}),oneOf(e,r,t){const o=function(e,r){return e.map((function(e,t){try{return r(e,t)}catch(e){return}})).filter(E)}(F(n(e)),t),a=y(o,i);if(a.length)return a},not:e=>({anyOf:e}),pattern:e=>e.map((e=>"(?="+e+")")).join(""),multipleOf(e){let r=e.slice(0),t=1;for(;r.some((e=>!Number.isInteger(e)));)r=r.map((e=>10*e)),t*=10;return o(r)/t},enum(e){const r=f.apply(null,e.concat(l));if(r.length)return m(r)}};C.$id=I,C.$ref=I,C.$schema=I,C.additionalItems=O,C.additionalProperties=O,C.anyOf=C.oneOf,C.contains=O,C.default=I,C.definitions=C.dependencies,C.description=I,C.examples=e=>y(s(e),l),C.exclusiveMaximum=P,C.exclusiveMinimum=j,C.items=g,C.maximum=P,C.maxItems=P,C.maxLength=P,C.maxProperties=P,C.minimum=j,C.minItems=j,C.minLength=j,C.minProperties=j,C.properties=v,C.propertyNames=O,C.required=e=>S(e),C.title=I,C.uniqueItems=e=>e.some(w);const R={properties:v,items:g};function B(e,r,t){t=t||[],r=a(r,{ignoreAdditionalProperties:!1,resolvers:C,complexResolvers:R,deep:!0});const o=Object.entries(r.complexResolvers),s=function e(a,s,u){a=n(a.filter(E)),u=u||[];const c=p(s)?s:{};if(!a.length)return;if(a.some(x))return!1;if(a.every(w))return!0;a=a.filter(p);const f=_(a);if(r.deep&&b(f,"allOf"))return B({allOf:a},r,t);const l=o.map((([e,r])=>f.filter((e=>r.keywords.includes(e)))));return l.forEach((e=>d(f,e))),f.forEach((function(t){const n=$(a,t),o=y(n.filter(E),function(e){return function(r,t){return i({[e]:r},{[e]:t})}}(t));if(1===o.length&&b(W,t))c[t]=o[0].map((r=>e([r],r)));else if(1!==o.length||b(k,t)||b(L,t)){const n=r.resolvers[t]||r.resolvers.defaultResolver;if(!n)throw new Error("No resolver found for key "+t+". You can provide a resolver for this keyword in the options, or provide a default resolver.");const i=(r,n=[])=>e(r,null,u.concat(t,n));c[t]=n(o,u.concat(t),i,r),void 0===c[t]?M(o,u.concat(t)):void 0===c[t]&&delete c[t]}else c[t]=o[0]})),o.reduce(((t,[n,i],o)=>({...t,...T(l[o],n,a,e,r,u)})),c)}(u(D(e)));return s}B.options={resolvers:C},e.exports=B},88208:(e,r)=>{var t=/~/,n=/~[01]/g;function i(e){switch(e){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+e)}function o(e){return t.test(e)?e.replace(n,i):e}function a(e){if("string"==typeof e){if(""===(e=e.split("/"))[0])return e;throw new Error("Invalid JSON pointer.")}if(Array.isArray(e)){for(const r of e)if("string"!=typeof r&&"number"!=typeof r)throw new Error("Invalid JSON pointer. Must be of type string or number.");return e}throw new Error("Invalid JSON pointer.")}function s(e,r){if("object"!=typeof e)throw new Error("Invalid input object.");var t=(r=a(r)).length;if(1===t)return e;for(var n=1;n<t;){if(e=e[o(r[n++])],t===n)return e;if("object"!=typeof e||null===e)return}}function u(e,r,t){if("object"!=typeof e)throw new Error("Invalid input object.");if(0===(r=a(r)).length)throw new Error("Invalid JSON pointer for set.");return function(e,r,t){for(var n,i,a=1,s=r.length;a<s;){if("constructor"===r[a]||"prototype"===r[a]||"__proto__"===r[a])return e;if(n=o(r[a++]),i=s>a,void 0===e[n]&&(Array.isArray(e)&&"-"===n&&(n=e.length),i&&(""!==r[a]&&r[a]<1/0||"-"===r[a]?e[n]=[]:e[n]={})),!i)break;e=e[n]}var u=e[n];return void 0===t?delete e[n]:e[n]=t,u}(e,r,t)}r.get=s,r.set=u,r.compile=function(e){var r=a(e);return{get:function(e){return s(e,r)},set:function(e,t){return u(e,r,t)}}}},52485:(e,r,t)=>{var n=t(74554),i=t(95915),o=t(88379);function a(e){var r=-1,t=null==e?0:e.length;for(this.__data__=new n;++r<t;)this.add(e[r])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},58095:(e,r,t)=>{var n=t(8817);e.exports=function(e,r){return!(null==e||!e.length)&&n(e,r,0)>-1}},21796:e=>{e.exports=function(e,r,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(r,e[n]))return!0;return!1}},6446:e=>{e.exports=function(e,r,t,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(t=e[++i]);++i<o;)t=r(t,e[i],i,e);return t}},90756:e=>{e.exports=function(e,r){for(var t=-1,n=null==e?0:e.length;++t<n;)if(r(e[t],t,e))return!0;return!1}},73140:(e,r,t)=>{var n=t(88799),i=t(85638);e.exports=function(e,r,t){(void 0!==t&&!i(e[r],t)||void 0===t&&!(r in e))&&n(e,r,t)}},11005:(e,r,t)=>{var n=t(52485),i=t(58095),o=t(21796),a=t(66070),s=t(39334),u=t(65581);e.exports=function(e,r,t,c){var f=-1,l=i,p=!0,d=e.length,m=[],h=r.length;if(!d)return m;t&&(r=a(r,s(t))),c?(l=o,p=!1):r.length>=200&&(l=u,p=!1,r=new n(r));e:for(;++f<d;){var y=e[f],v=null==t?y:t(y);if(y=c||0!==y?y:0,p&&v==v){for(var g=h;g--;)if(r[g]===v)continue e;m.push(y)}else l(r,v,c)||m.push(y)}return m}},52033:(e,r,t)=>{var n=t(26194),i=t(26789)(n);e.exports=i},95372:e=>{e.exports=function(e,r,t,n){for(var i=e.length,o=t+(n?1:-1);n?o--:++o<i;)if(r(e[o],o,e))return o;return-1}},49819:(e,r,t)=>{var n=t(18911)();e.exports=n},26194:(e,r,t)=>{var n=t(49819),i=t(50098);e.exports=function(e,r){return e&&n(e,r,i)}},8817:(e,r,t)=>{var n=t(95372),i=t(1129),o=t(58263);e.exports=function(e,r,t){return r==r?o(e,r,t):n(e,i,t)}},56006:e=>{e.exports=function(e,r,t,n){for(var i=t-1,o=e.length;++i<o;)if(n(e[i],r))return i;return-1}},96638:(e,r,t)=>{var n=t(52485),i=t(58095),o=t(21796),a=t(66070),s=t(39334),u=t(65581),c=Math.min;e.exports=function(e,r,t){for(var f=t?o:i,l=e[0].length,p=e.length,d=p,m=Array(p),h=1/0,y=[];d--;){var v=e[d];d&&r&&(v=a(v,s(r))),h=c(v.length,h),m[d]=!t&&(r||l>=120&&v.length>=120)?new n(d&&v):void 0}v=e[0];var g=-1,b=m[0];e:for(;++g<l&&y.length<h;){var A=v[g],x=r?r(A):A;if(A=t||0!==A?A:0,!(b?u(b,x):f(y,x,t))){for(d=p;--d;){var w=m[d];if(!(w?u(w,x):f(e[d],x,t)))continue e}b&&b.push(x),y.push(A)}}return y}},32866:(e,r,t)=>{var n=t(12772),i=t(92360);e.exports=function e(r,t,o,a,s){return r===t||(null==r||null==t||!i(r)&&!i(t)?r!=r&&t!=t:n(r,t,o,a,e,s))}},12772:(e,r,t)=>{var n=t(23694),i=t(27042),o=t(370),a=t(39584),s=t(3533),u=t(19785),c=t(43854),f=t(48519),l="[object Arguments]",p="[object Array]",d="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,r,t,h,y,v){var g=u(e),b=u(r),A=g?p:s(e),x=b?p:s(r),w=(A=A==l?d:A)==d,O=(x=x==l?d:x)==d,S=A==x;if(S&&c(e)){if(!c(r))return!1;g=!0,w=!1}if(S&&!w)return v||(v=new n),g||f(e)?i(e,r,t,h,y,v):o(e,r,A,t,h,y,v);if(!(1&t)){var E=w&&m.call(e,"__wrapped__"),_=O&&m.call(r,"__wrapped__");if(E||_){var I=E?e.value():e,j=_?r.value():r;return v||(v=new n),y(I,j,t,h,v)}}return!!S&&(v||(v=new n),a(e,r,t,h,y,v))}},19850:(e,r,t)=>{var n=t(23694),i=t(32866);e.exports=function(e,r,t,o){var a=t.length,s=a,u=!o;if(null==e)return!s;for(e=Object(e);a--;){var c=t[a];if(u&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var f=(c=t[a])[0],l=e[f],p=c[1];if(u&&c[2]){if(void 0===l&&!(f in e))return!1}else{var d=new n;if(o)var m=o(l,p,f,e,r,d);if(!(void 0===m?i(p,l,3,o,d):m))return!1}}return!0}},1129:e=>{e.exports=function(e){return e!=e}},89278:(e,r,t)=>{var n=t(71410),i=t(57518),o=t(31137),a=t(19785),s=t(96001);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):n(e):s(e)}},67375:(e,r,t)=>{var n=t(52033),i=t(80068);e.exports=function(e,r){var t=-1,o=i(e)?Array(e.length):[];return n(e,(function(e,n,i){o[++t]=r(e,n,i)})),o}},71410:(e,r,t)=>{var n=t(19850),i=t(68125),o=t(65042);e.exports=function(e){var r=i(e);return 1==r.length&&r[0][2]?o(r[0][0],r[0][1]):function(t){return t===e||n(t,e,r)}}},57518:(e,r,t)=>{var n=t(32866),i=t(99729),o=t(79749),a=t(40318),s=t(68302),u=t(65042),c=t(37948);e.exports=function(e,r){return a(e)&&s(r)?u(c(e),r):function(t){var a=i(t,e);return void 0===a&&a===r?o(t,e):n(r,a,3)}}},40015:(e,r,t)=>{var n=t(23694),i=t(73140),o=t(49819),a=t(68867),s=t(11611),u=t(53893),c=t(97494);e.exports=function e(r,t,f,l,p){r!==t&&o(t,(function(o,u){if(p||(p=new n),s(o))a(r,t,u,f,e,l,p);else{var d=l?l(c(r,u),o,u+"",r,t,p):void 0;void 0===d&&(d=o),i(r,u,d)}}),u)}},68867:(e,r,t)=>{var n=t(73140),i=t(2734),o=t(63428),a=t(37561),s=t(9560),u=t(2900),c=t(19785),f=t(36468),l=t(43854),p=t(28338),d=t(11611),m=t(40861),h=t(48519),y=t(97494),v=t(89328);e.exports=function(e,r,t,g,b,A,x){var w=y(e,t),O=y(r,t),S=x.get(O);if(S)n(e,t,S);else{var E=A?A(w,O,t+"",e,r,x):void 0,_=void 0===E;if(_){var I=c(O),j=!I&&l(O),P=!I&&!j&&h(O);E=O,I||j||P?c(w)?E=w:f(w)?E=a(w):j?(_=!1,E=i(O,!0)):P?(_=!1,E=o(O,!0)):E=[]:m(O)||u(O)?(E=w,u(w)?E=v(w):d(w)&&!p(w)||(E=s(O))):_=!1}_&&(x.set(O,E),b(E,O,g,A,x),x.delete(O)),n(e,t,E)}}},98497:(e,r,t)=>{var n=t(66070),i=t(79867),o=t(89278),a=t(67375),s=t(73303),u=t(39334),c=t(96348),f=t(31137),l=t(19785);e.exports=function(e,r,t){r=r.length?n(r,(function(e){return l(e)?function(r){return i(r,1===e.length?e[0]:e)}:e})):[f];var p=-1;r=n(r,u(o));var d=a(e,(function(e,t,i){return{criteria:n(r,(function(r){return r(e)})),index:++p,value:e}}));return s(d,(function(e,r){return c(e,r,t)}))}},50517:e=>{e.exports=function(e){return function(r){return null==r?void 0:r[e]}}},10301:(e,r,t)=>{var n=t(79867);e.exports=function(e){return function(r){return n(r,e)}}},61933:(e,r,t)=>{var n=t(66070),i=t(8817),o=t(56006),a=t(39334),s=t(37561),u=Array.prototype.splice;e.exports=function(e,r,t,c){var f=c?o:i,l=-1,p=r.length,d=e;for(e===r&&(r=s(r)),t&&(d=n(e,a(t)));++l<p;)for(var m=0,h=r[l],y=t?t(h):h;(m=f(d,y,m,c))>-1;)d!==e&&u.call(d,m,1),u.call(e,m,1);return e}},19356:e=>{e.exports=function(e,r,t,n,i){return i(e,(function(e,i,o){t=n?(n=!1,e):r(t,e,i,o)})),t}},1197:(e,r,t)=>{var n=t(31137),i=t(11871),o=t(63132);e.exports=function(e,r){return o(i(e,r,n),e+"")}},73303:e=>{e.exports=function(e,r){var t=e.length;for(e.sort(r);t--;)e[t]=e[t].value;return e}},74833:(e,r,t)=>{var n=t(56127),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},92198:(e,r,t)=>{var n=t(52485),i=t(58095),o=t(21796),a=t(65581),s=t(47111),u=t(43735);e.exports=function(e,r,t){var c=-1,f=i,l=e.length,p=!0,d=[],m=d;if(t)p=!1,f=o;else if(l>=200){var h=r?null:s(e);if(h)return u(h);p=!1,f=a,m=new n}else m=r?[]:d;e:for(;++c<l;){var y=e[c],v=r?r(y):y;if(y=t||0!==y?y:0,p&&v==v){for(var g=m.length;g--;)if(m[g]===v)continue e;r&&m.push(v),d.push(y)}else f(m,v,t)||(m!==d&&m.push(v),d.push(y))}return d}},65581:e=>{e.exports=function(e,r){return e.has(r)}},60923:(e,r,t)=>{var n=t(36468);e.exports=function(e){return n(e)?e:[]}},62079:(e,r,t)=>{var n=t(31137);e.exports=function(e){return"function"==typeof e?e:n}},17845:(e,r,t)=>{var n=t(55193);e.exports=function(e,r){if(e!==r){var t=void 0!==e,i=null===e,o=e==e,a=n(e),s=void 0!==r,u=null===r,c=r==r,f=n(r);if(!u&&!f&&!a&&e>r||a&&s&&c&&!u&&!f||i&&s&&c||!t&&c||!o)return 1;if(!i&&!a&&!f&&e<r||f&&t&&o&&!i&&!a||u&&t&&o||!s&&o||!c)return-1}return 0}},96348:(e,r,t)=>{var n=t(17845);e.exports=function(e,r,t){for(var i=-1,o=e.criteria,a=r.criteria,s=o.length,u=t.length;++i<s;){var c=n(o[i],a[i]);if(c)return i>=u?c:c*("desc"==t[i]?-1:1)}return e.index-r.index}},7270:(e,r,t)=>{var n=t(1197),i=t(57535);e.exports=function(e){return n((function(r,t){var n=-1,o=t.length,a=o>1?t[o-1]:void 0,s=o>2?t[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(t[0],t[1],s)&&(a=o<3?void 0:a,o=1),r=Object(r);++n<o;){var u=t[n];u&&e(r,u,n,a)}return r}))}},26789:(e,r,t)=>{var n=t(80068);e.exports=function(e,r){return function(t,i){if(null==t)return t;if(!n(t))return e(t,i);for(var o=t.length,a=r?o:-1,s=Object(t);(r?a--:++a<o)&&!1!==i(s[a],a,s););return t}}},18911:e=>{e.exports=function(e){return function(r,t,n){for(var i=-1,o=Object(r),a=n(r),s=a.length;s--;){var u=a[e?s:++i];if(!1===t(o[u],u,o))break}return r}}},47111:(e,r,t)=>{var n=t(46151),i=t(50344),o=t(43735),a=n&&1/o(new n([,-0]))[1]==1/0?function(e){return new n(e)}:i;e.exports=a},19491:(e,r,t)=>{var n=t(40015),i=t(11611);e.exports=function e(r,t,o,a,s,u){return i(r)&&i(t)&&(u.set(t,r),n(r,t,void 0,e,u),u.delete(t)),r}},27042:(e,r,t)=>{var n=t(52485),i=t(90756),o=t(65581);e.exports=function(e,r,t,a,s,u){var c=1&t,f=e.length,l=r.length;if(f!=l&&!(c&&l>f))return!1;var p=u.get(e),d=u.get(r);if(p&&d)return p==r&&d==e;var m=-1,h=!0,y=2&t?new n:void 0;for(u.set(e,r),u.set(r,e);++m<f;){var v=e[m],g=r[m];if(a)var b=c?a(g,v,m,r,e,u):a(v,g,m,e,r,u);if(void 0!==b){if(b)continue;h=!1;break}if(y){if(!i(r,(function(e,r){if(!o(y,r)&&(v===e||s(v,e,t,a,u)))return y.push(r)}))){h=!1;break}}else if(v!==g&&!s(v,g,t,a,u)){h=!1;break}}return u.delete(e),u.delete(r),h}},370:(e,r,t)=>{var n=t(96539),i=t(59942),o=t(85638),a=t(27042),s=t(19383),u=t(43735),c=n?n.prototype:void 0,f=c?c.valueOf:void 0;e.exports=function(e,r,t,n,c,l,p){switch(t){case"[object DataView]":if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)return!1;e=e.buffer,r=r.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=r.byteLength||!l(new i(e),new i(r)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+r);case"[object Error]":return e.name==r.name&&e.message==r.message;case"[object RegExp]":case"[object String]":return e==r+"";case"[object Map]":var d=s;case"[object Set]":var m=1&n;if(d||(d=u),e.size!=r.size&&!m)return!1;var h=p.get(e);if(h)return h==r;n|=2,p.set(e,r);var y=a(d(e),d(r),n,c,l,p);return p.delete(e),y;case"[object Symbol]":if(f)return f.call(e)==f.call(r)}return!1}},39584:(e,r,t)=>{var n=t(51385),i=Object.prototype.hasOwnProperty;e.exports=function(e,r,t,o,a,s){var u=1&t,c=n(e),f=c.length;if(f!=n(r).length&&!u)return!1;for(var l=f;l--;){var p=c[l];if(!(u?p in r:i.call(r,p)))return!1}var d=s.get(e),m=s.get(r);if(d&&m)return d==r&&m==e;var h=!0;s.set(e,r),s.set(r,e);for(var y=u;++l<f;){var v=e[p=c[l]],g=r[p];if(o)var b=u?o(g,v,p,r,e,s):o(v,g,p,e,r,s);if(!(void 0===b?v===g||a(v,g,t,o,s):b)){h=!1;break}y||(y="constructor"==p)}if(h&&!y){var A=e.constructor,x=r.constructor;A==x||!("constructor"in e)||!("constructor"in r)||"function"==typeof A&&A instanceof A&&"function"==typeof x&&x instanceof x||(h=!1)}return s.delete(e),s.delete(r),h}},68125:(e,r,t)=>{var n=t(68302),i=t(50098);e.exports=function(e){for(var r=i(e),t=r.length;t--;){var o=r[t],a=e[o];r[t]=[o,a,n(a)]}return r}},57535:(e,r,t)=>{var n=t(85638),i=t(80068),o=t(42383),a=t(11611);e.exports=function(e,r,t){if(!a(t))return!1;var s=typeof r;return!!("number"==s?i(t)&&o(r,t.length):"string"==s&&r in t)&&n(t[r],e)}},68302:(e,r,t)=>{var n=t(11611);e.exports=function(e){return e==e&&!n(e)}},19383:e=>{e.exports=function(e){var r=-1,t=Array(e.size);return e.forEach((function(e,n){t[++r]=[n,e]})),t}},65042:e=>{e.exports=function(e,r){return function(t){return null!=t&&t[e]===r&&(void 0!==r||e in Object(t))}}},97494:e=>{e.exports=function(e,r){if(("constructor"!==r||"function"!=typeof e[r])&&"__proto__"!=r)return e[r]}},95915:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},88379:e=>{e.exports=function(e){return this.__data__.has(e)}},43735:e=>{e.exports=function(e){var r=-1,t=Array(e.size);return e.forEach((function(e){t[++r]=e})),t}},58263:e=>{e.exports=function(e,r,t){for(var n=t-1,i=e.length;++n<i;)if(e[n]===r)return n;return-1}},56127:e=>{var r=/\s/;e.exports=function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t}},70236:(e,r,t)=>{var n=t(1197),i=t(85638),o=t(57535),a=t(53893),s=Object.prototype,u=s.hasOwnProperty,c=n((function(e,r){e=Object(e);var t=-1,n=r.length,c=n>2?r[2]:void 0;for(c&&o(r[0],r[1],c)&&(n=1);++t<n;)for(var f=r[t],l=a(f),p=-1,d=l.length;++p<d;){var m=l[p],h=e[m];(void 0===h||i(h,s[m])&&!u.call(e,m))&&(e[m]=f[m])}return e}));e.exports=c},53533:(e,r,t)=>{var n=t(79349),i=t(1197),o=t(19491),a=t(73952),s=i((function(e){return e.push(void 0,o),n(a,void 0,e)}));e.exports=s},84812:(e,r,t)=>{var n=t(23545);e.exports=function(e){return null!=e&&e.length?n(e,1/0):[]}},47003:(e,r,t)=>{var n=t(80594),i=t(52033),o=t(62079),a=t(19785);e.exports=function(e,r){return(a(e)?n:i)(e,o(r))}},27921:(e,r,t)=>{var n=t(66070),i=t(96638),o=t(1197),a=t(60923),s=o((function(e){var r=n(e,a);return r.length&&r[0]===e[0]?i(r):[]}));e.exports=s},28054:(e,r,t)=>{var n=t(66070),i=t(96638),o=t(1197),a=t(60923),s=t(31159),u=o((function(e){var r=s(e),t=n(e,a);return(r="function"==typeof r?r:void 0)&&t.pop(),t.length&&t[0]===e[0]?i(t,void 0,r):[]}));e.exports=u},36468:(e,r,t)=>{var n=t(80068),i=t(92360);e.exports=function(e){return i(e)&&n(e)}},3819:(e,r,t)=>{var n=t(99736),i=t(92360);e.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==n(e)}},56141:(e,r,t)=>{var n=t(32866);e.exports=function(e,r){return n(e,r)}},65191:(e,r,t)=>{var n=t(32866);e.exports=function(e,r,t){var i=(t="function"==typeof t?t:void 0)?t(e,r):void 0;return void 0===i?n(e,r,void 0,t):!!i}},30644:e=>{e.exports=function(e){return null==e}},78581:(e,r,t)=>{var n=t(99736),i=t(92360);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==n(e)}},47206:(e,r,t)=>{var n=t(99736),i=t(19785),o=t(92360);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==n(e)}},15409:(e,r,t)=>{var n=t(40015),i=t(7270)((function(e,r,t){n(e,r,t)}));e.exports=i},73952:(e,r,t)=>{var n=t(40015),i=t(7270)((function(e,r,t,i){n(e,r,t,i)}));e.exports=i},50344:e=>{e.exports=function(){}},96001:(e,r,t)=>{var n=t(50517),i=t(10301),o=t(40318),a=t(37948);e.exports=function(e){return o(e)?n(a(e)):i(e)}},90254:(e,r,t)=>{var n=t(61933);e.exports=function(e,r){return e&&e.length&&r&&r.length?n(e,r):e}},34172:(e,r,t)=>{var n=t(6446),i=t(52033),o=t(89278),a=t(19356),s=t(19785);e.exports=function(e,r,t){var u=s(e)?n:a,c=arguments.length<3;return u(e,o(r,4),t,c,i)}},95099:(e,r,t)=>{var n=t(23545),i=t(98497),o=t(1197),a=t(57535),s=o((function(e,r){if(null==e)return[];var t=r.length;return t>1&&a(e,r[0],r[1])?r=[]:t>2&&a(r[0],r[1],r[2])&&(r=[r[0]]),i(e,n(r,1),[])}));e.exports=s},41571:(e,r,t)=>{var n=t(24701),i=t(62079),o=t(47991),a=4294967295,s=Math.min;e.exports=function(e,r){if((e=o(e))<1||e>9007199254740991)return[];var t=a,u=s(e,a);r=i(r),e-=a;for(var c=n(u,r);++t<e;)r(t);return c}},94919:(e,r,t)=>{var n=t(91936);e.exports=function(e){return e?Infinity===(e=n(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},47991:(e,r,t)=>{var n=t(94919);e.exports=function(e){var r=n(e),t=r%1;return r==r?t?r-t:r:0}},91936:(e,r,t)=>{var n=t(74833),i=t(11611),o=t(55193),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=i(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var t=s.test(e);return t||u.test(e)?c(e.slice(2),t?2:8):a.test(e)?NaN:+e}},89328:(e,r,t)=>{var n=t(35159),i=t(53893);e.exports=function(e){return n(e,i(e))}},42673:(e,r,t)=>{var n=t(80594),i=t(80158),o=t(26194),a=t(89278),s=t(2173),u=t(19785),c=t(43854),f=t(28338),l=t(11611),p=t(48519);e.exports=function(e,r,t){var d=u(e),m=d||c(e)||p(e);if(r=a(r,4),null==t){var h=e&&e.constructor;t=m?d?new h:[]:l(e)&&f(h)?i(s(e)):{}}return(m?n:o)(e,(function(e,n,i){return r(t,e,n,i)})),t}},68946:(e,r,t)=>{var n=t(23545),i=t(1197),o=t(92198),a=t(36468),s=i((function(e){return o(n(e,1,a,!0))}));e.exports=s},83766:(e,r,t)=>{var n=t(92198);e.exports=function(e){return e&&e.length?n(e):[]}},52929:(e,r,t)=>{var n=t(92198);e.exports=function(e,r){return r="function"==typeof r?r:void 0,e&&e.length?n(e,void 0,r):[]}},81889:(e,r,t)=>{var n=t(11005),i=t(1197),o=t(36468),a=i((function(e,r){return o(e)?n(e,r):[]}));e.exports=a},58702:(e,r)=>{"use strict";var t,n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),f=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case n:switch(e=e.type){case o:case s:case a:case p:case d:return e;default:switch(e=e&&e.$$typeof){case f:case c:case l:case h:case m:case u:return e;default:return r}}case i:return r}}}t=Symbol.for("react.module.reference"),r.ContextConsumer=c,r.ContextProvider=u,r.Element=n,r.ForwardRef=l,r.Fragment=o,r.Lazy=h,r.Memo=m,r.Portal=i,r.Profiler=s,r.StrictMode=a,r.Suspense=p,r.SuspenseList=d,r.isAsyncMode=function(){return!1},r.isConcurrentMode=function(){return!1},r.isContextConsumer=function(e){return v(e)===c},r.isContextProvider=function(e){return v(e)===u},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},r.isForwardRef=function(e){return v(e)===l},r.isFragment=function(e){return v(e)===o},r.isLazy=function(e){return v(e)===h},r.isMemo=function(e){return v(e)===m},r.isPortal=function(e){return v(e)===i},r.isProfiler=function(e){return v(e)===s},r.isStrictMode=function(e){return v(e)===a},r.isSuspense=function(e){return v(e)===p},r.isSuspenseList=function(e){return v(e)===d},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===s||e===a||e===p||e===d||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===u||e.$$typeof===c||e.$$typeof===l||e.$$typeof===t||void 0!==e.getModuleId)},r.typeOf=v},19185:(e,r,t)=>{"use strict";e.exports=t(58702)},17604:e=>{"use strict";e.exports=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},86401:e=>{"use strict";e.exports=function(e){return"function"==typeof e}},9333:(e,r,t)=>{"use strict";var n=t(17604),i=t(50459);e.exports=function(e){var r;if(!n(e))return!1;if(!(r=e.length))return!1;for(var t=0;t<r;t++)if(!i(e[t]))return!1;return!0}},50459:(e,r,t)=>{"use strict";var n=t(7365);e.exports=function(e){return n(e)&&e%1==0}},7365:e=>{"use strict";e.exports=function(e){return("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))&&e.valueOf()==e.valueOf()}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[853],{76853:(e,t,i)=>{i.r(t),i.d(t,{ConnectionLost:()=>a,IConnectionLost:()=>E,ILabShell:()=>H,ILabStatus:()=>I,ILayoutRestorer:()=>x.L,IMimeDocumentTracker:()=>m.w2,IRouter:()=>R,ITreePathUpdater:()=>j,JupyterFrontEnd:()=>g,JupyterFrontEndContextMenu:()=>o,JupyterLab:()=>A,LabShell:()=>B,LayoutRestorer:()=>x.c,Router:()=>S,createRendermimePlugin:()=>m.aX,createRendermimePlugins:()=>m.as,createSemanticCommand:()=>O});var n=i(12982),s=i(71677);const a=async function(e,t,i){const a=(i=i||s.nullTranslator).load("jupyterlab"),r=a.__("Server Connection Error"),o=a.__("A connection to the Jupyter server could not be established.\nJupyterLab will continue trying to reconnect.\nCheck your network connection or Jupyter server configuration.\n");return(0,n.showErrorMessage)(r,{message:o})};var r,o,d=i(35312),l=i(16954),h=i(68239),c=i(77328),u=i(20998),p=i(81997);class g extends c.Application{constructor(e){super(e),this._formatChanged=new p.Signal(this),this.contextMenu=new h.ContextMenuSvg({commands:this.commands,renderer:e.contextMenuRenderer,groupByTarget:!1,sortBySelector:!1});const t=new Promise((e=>{requestAnimationFrame((()=>{e()}))}));this.commandLinker=e.commandLinker||new n.CommandLinker({commands:this.commands}),this.docRegistry=e.docRegistry||new d.DocumentRegistry,this.restored=e.restored||this.started.then((()=>t)).catch((()=>t)),this.serviceManager=e.serviceManager||new l.ServiceManager}get format(){return this._format}set format(e){this._format!==e&&(this._format=e,document.body.dataset.format=e,this._formatChanged.emit(e))}get formatChanged(){return this._formatChanged}contextMenuHitTest(e){if(!(this._contextMenuEvent&&this._contextMenuEvent.target instanceof Node))return;let t=this._contextMenuEvent.target;do{if(t instanceof HTMLElement&&e(t))return t;t=t.parentNode}while(t&&t.parentNode&&t!==t.parentNode)}evtContextMenu(e){if(this._contextMenuEvent=e,!e.shiftKey&&!r.suppressContextMenu(e.target)&&this.contextMenu.open(e)){const t=this.contextMenu.menu.items;if(1===t.length&&t[0].command===o.contextMenu)return void this.contextMenu.menu.close();e.preventDefault(),e.stopPropagation()}}}!function(e){e.inDocMode=function(e,t){const i=new RegExp(`^${t.urls.doc}`);return!!e.match(i)},e.IPaths=new u.Token("@jupyterlab/application:IPaths","A service providing information about various\n URLs and server paths for the current application. Use this service if you want to\n assemble URLs to use the JupyterLab REST API."),e.ITreeResolver=new u.Token("@jupyterlab/application:ITreeResolver","A service to resolve the tree path.")}(g||(g={})),function(e){e.suppressContextMenu=function(e){return null!==e.closest("[data-jp-suppress-context-menu]")}}(r||(r={})),function(e){e.contextMenu="__internal:context-menu-info"}(o||(o={}));var _=i(38639),m=i(75677),f=i(33625),v=i(49503),y=i(97934),w=i(31516);const b="jp-SideBar",P="jp-mod-current",k="jp-mod-active",C=900,T="jp-Activity",H=new u.Token("@jupyterlab/application:ILabShell","A service for interacting with the JupyterLab shell. The top-level ``application`` object also has a reference to the shell, but it has a restricted interface in order to be agnostic to different shell implementations on the application. Use this to get more detailed information about currently active widgets and layout state.");class B extends w.Widget{constructor(e){super(),this._dockChildHook=(e,t)=>{switch(t.type){case"child-added":t.child.addClass(T),this._tracker.add(t.child);break;case"child-removed":t.child.removeClass(T),this._tracker.remove(t.child)}return!0},this._activeChanged=new p.Signal(this),this._cachedLayout=null,this._currentChanged=new p.Signal(this),this._currentPath="",this._currentPathChanged=new p.Signal(this),this._modeChanged=new p.Signal(this),this._isRestored=!1,this._layoutModified=new p.Signal(this),this._layoutDebouncer=new y.Debouncer((()=>{this._layoutModified.emit(void 0)}),0),this._restored=new u.PromiseDelegate,this._tracker=new w.FocusTracker,this._topHandlerHiddenByUser=!1,this._idTypeMap=new Map,this._mainOptionsCache=new Map,this._sideOptionsCache=new Map,this._delayedWidget=new Array,this.addClass("jp-LabShell"),this.id="main",!1===(null==e?void 0:e.waitForRestore)&&(this._userLayout={"multiple-document":{},"single-document":{}});const t=this._skipLinkWidget=new L.SkipLinkWidget(this);this._skipLinkWidget.show();const i=new w.Panel;i.addClass("jp-skiplink-wrapper"),i.addWidget(t);const n=this._headerPanel=new w.BoxPanel,a=this._menuHandler=new L.PanelHandler;a.panel.node.setAttribute("role","navigation");const r=this._topHandler=new L.PanelHandler;r.panel.node.setAttribute("role","banner");const o=this._bottomPanel=new w.BoxPanel;o.node.setAttribute("role","contentinfo");const l=new w.BoxPanel,c=this._vsplitPanel=new L.RestorableSplitPanel,g=this._dockPanel=new h.DockPanelSvg({hiddenMode:w.Widget.HiddenMode.Display});v.MessageLoop.installMessageHook(g,this._dockChildHook);const _=this._hsplitPanel=new L.RestorableSplitPanel,m=this._downPanel=new h.TabPanelSvg({tabsMovable:!0}),f=this._leftHandler=new L.SideBarHandler,P=this._rightHandler=new L.SideBarHandler,k=new w.BoxLayout;n.id="jp-header-panel",a.panel.id="jp-menu-panel",r.panel.id="jp-top-panel",o.id="jp-bottom-panel",l.id="jp-main-content-panel",c.id="jp-main-vsplit-panel",g.id="jp-main-dock-panel",_.id="jp-main-split-panel",m.id="jp-down-stack",f.sideBar.addClass(b),f.sideBar.addClass("jp-mod-left"),f.sideBar.node.setAttribute("role","complementary"),f.stackedPanel.id="jp-left-stack",P.sideBar.addClass(b),P.sideBar.addClass("jp-mod-right"),P.sideBar.node.setAttribute("role","complementary"),P.stackedPanel.id="jp-right-stack",g.node.setAttribute("role","main"),l.spacing=0,c.spacing=1,g.spacing=5,_.spacing=1,n.direction="top-to-bottom",c.orientation="vertical",l.direction="left-to-right",_.orientation="horizontal",o.direction="bottom-to-top",w.SplitPanel.setStretch(f.stackedPanel,0),w.SplitPanel.setStretch(m,0),w.SplitPanel.setStretch(g,1),w.SplitPanel.setStretch(P.stackedPanel,0),w.BoxPanel.setStretch(f.sideBar,0),w.BoxPanel.setStretch(_,1),w.BoxPanel.setStretch(P.sideBar,0),w.SplitPanel.setStretch(c,1),_.addWidget(f.stackedPanel),_.addWidget(g),_.addWidget(P.stackedPanel),c.addWidget(_),c.addWidget(m),l.addWidget(f.sideBar),l.addWidget(c),l.addWidget(P.sideBar),k.direction="top-to-bottom",k.spacing=0,c.setRelativeSizes([3,1]),_.setRelativeSizes([1,2.5,1]),w.BoxLayout.setStretch(n,0),w.BoxLayout.setStretch(a.panel,0),w.BoxLayout.setStretch(r.panel,0),w.BoxLayout.setStretch(l,1),w.BoxLayout.setStretch(o,0),k.addWidget(i),k.addWidget(n),k.addWidget(r.panel),k.addWidget(l),k.addWidget(o),this._headerPanel.hide(),this._bottomPanel.hide(),this._downPanel.hide(),this.layout=k,this._tracker.currentChanged.connect(this._onCurrentChanged,this),this._tracker.activeChanged.connect(this._onActiveChanged,this),this._dockPanel.layoutModified.connect(this._onLayoutModified,this),this._vsplitPanel.updated.connect(this._onLayoutModified,this),this._downPanel.currentChanged.connect(this._onLayoutModified,this),this._downPanel.tabBar.tabMoved.connect(this._onTabPanelChanged,this),this._downPanel.stackedPanel.widgetRemoved.connect(this._onTabPanelChanged,this),this._leftHandler.updated.connect(this._onLayoutModified,this),this._rightHandler.updated.connect(this._onLayoutModified,this),this._hsplitPanel.updated.connect(this._onLayoutModified,this);const C=this._titleHandler=new L.TitleHandler(this);this.add(C,"top",{rank:100}),"multiple-document"===this._dockPanel.mode?(this._topHandler.addWidget(this._menuHandler.panel,100),C.hide()):k.insertWidget(3,this._menuHandler.panel),this.translator=s.nullTranslator,this.currentChanged.connect(((e,t)=>{let i=t.newValue,n=t.oldValue;n&&(n.title.changed.disconnect(this._updateTitlePanelTitle,this),n instanceof d.DocumentWidget&&n.context.pathChanged.disconnect(this._updateCurrentPath,this)),i&&(i.title.changed.connect(this._updateTitlePanelTitle,this),this._updateTitlePanelTitle(),i instanceof d.DocumentWidget&&i.context.pathChanged.connect(this._updateCurrentPath,this)),this._updateCurrentPath()}))}get activeChanged(){return this._activeChanged}get activeWidget(){return this._tracker.activeWidget}get addButtonEnabled(){return this._dockPanel.addButtonEnabled}set addButtonEnabled(e){this._dockPanel.addButtonEnabled=e}get addRequested(){return this._dockPanel.addRequested}get currentChanged(){return this._currentChanged}get currentPath(){return this._currentPath}get currentPathChanged(){return this._currentPathChanged}get currentWidget(){return this._tracker.currentWidget}get layoutModified(){return this._layoutModified}get leftCollapsed(){return!this._leftHandler.sideBar.currentTitle}get rightCollapsed(){return!this._rightHandler.sideBar.currentTitle}get presentationMode(){return this.hasClass("jp-mod-presentationMode")}set presentationMode(e){this.toggleClass("jp-mod-presentationMode",e)}get mode(){return this._dockPanel.mode}set mode(e){const t=this._dockPanel;if(e===t.mode)return;const i=this.currentWidget;if("single-document"===e)this._cachedLayout=t.saveLayout(),t.mode=e,this.currentWidget&&t.activateWidget(this.currentWidget),this.layout.insertWidget(3,this._menuHandler.panel),this._titleHandler.show(),this._updateTitlePanelTitle(),this._topHandlerHiddenByUser&&this._topHandler.panel.hide();else{const n=Array.from(t.widgets());t.mode=e,this._cachedLayout&&(L.normalizeAreaConfig(t,this._cachedLayout.main),t.restoreLayout(this._cachedLayout),this._cachedLayout=null),this._layoutRestorer.isDeferred&&this._layoutRestorer.restoreDeferred().then((e=>{if(e){const{currentWidget:t,dock:i}=e;i&&this._dockPanel.restoreLayout(i),t&&this.activateById(t.id)}})).catch((e=>{console.error("Failed to restore the deferred layout."),console.error(e)})),n.forEach((e=>{e.parent||this._addToMainArea(e,{...this._mainOptionsCache.get(e),activate:!1})})),this._mainOptionsCache.clear(),i&&t.activateWidget(i),this.add(this._menuHandler.panel,"top",{rank:100}),this._titleHandler.hide()}this.node.dataset.shellMode=e,this._downPanel.fit(),this._modeChanged.emit(e)}get modeChanged(){return this._modeChanged}get restored(){return this._restored.promise}get translator(){var e;return null!==(e=this._translator)&&void 0!==e?e:s.nullTranslator}set translator(e){if(e!==this._translator){this._translator=e,h.TabBarSvg.translator=e;const t=e.load("jupyterlab");this._menuHandler.panel.node.setAttribute("aria-label",t.__("main menu")),this._leftHandler.sideBar.node.setAttribute("aria-label",t.__("main sidebar")),this._leftHandler.sideBar.contentNode.setAttribute("aria-label",t.__("main sidebar")),this._rightHandler.sideBar.node.setAttribute("aria-label",t.__("alternate sidebar")),this._rightHandler.sideBar.contentNode.setAttribute("aria-label",t.__("alternate sidebar"))}}get userLayout(){return u.JSONExt.deepCopy(this._userLayout)}activateById(e){if(this._leftHandler.has(e))return void this._leftHandler.activate(e);if(this._rightHandler.has(e))return void this._rightHandler.activate(e);const t=this._downPanel.tabBar.titles.findIndex((t=>t.owner.id===e));if(t>=0)return void(this._downPanel.currentIndex=t);const i=this._dockPanel,n=(0,f.find)(i.widgets(),(t=>t.id===e));n&&i.activateWidget(n)}activateArea(e="main"){switch(e){case"main":{const e=this._currentTabBar();if(!e)return;e.currentTitle&&e.currentTitle.owner.activate()}return;case"left":case"right":case"header":case"top":case"menu":case"bottom":console.debug(`Area: ${e} activation not yet implemented`);break;default:throw new Error(`Invalid area: ${e}`)}}activateNextTab(){const e=this._currentTabBar();if(!e)return;const t=e.currentIndex;if(-1!==t){if(t<e.titles.length-1)return e.currentIndex+=1,void(e.currentTitle&&e.currentTitle.owner.activate());if(t===e.titles.length-1){const e=this._adjacentBar("next");e&&(e.currentIndex=0,e.currentTitle&&e.currentTitle.owner.activate())}}}activatePreviousTab(){const e=this._currentTabBar();if(!e)return;const t=e.currentIndex;if(-1!==t){if(t>0)return e.currentIndex-=1,void(e.currentTitle&&e.currentTitle.owner.activate());if(0===t){const e=this._adjacentBar("previous");if(e){const t=e.titles.length;e.currentIndex=t-1,e.currentTitle&&e.currentTitle.owner.activate()}}}}activateNextTabBar(){const e=this._adjacentBar("next");e&&e.currentTitle&&e.currentTitle.owner.activate()}activatePreviousTabBar(){const e=this._adjacentBar("previous");e&&e.currentTitle&&e.currentTitle.owner.activate()}add(e,t="main",i){var n;if(!this._userLayout)return void this._delayedWidget.push({widget:e,area:t,options:i});let s;switch((null==i?void 0:i.type)&&this._userLayout[this.mode][i.type]?(s=this._userLayout[this.mode][i.type],this._idTypeMap.set(e.id,i.type)):s=this._userLayout[this.mode][e.id],(null==i?void 0:i.type)&&(this._idTypeMap.set(e.id,i.type),e.disposed.connect((()=>{this._idTypeMap.delete(e.id)}))),t=null!==(n=null==s?void 0:s.area)&&void 0!==n?n:t,i=i||(null==s?void 0:s.options)?{...i,...null==s?void 0:s.options}:void 0,t||"main"){case"bottom":return this._addToBottomArea(e,i);case"down":return this._addToDownArea(e,i);case"header":return this._addToHeaderArea(e,i);case"left":return this._addToLeftArea(e,i);case"main":return this._addToMainArea(e,i);case"menu":return this._addToMenuArea(e,i);case"right":return this._addToRightArea(e,i);case"top":return this._addToTopArea(e,i);default:throw new Error(`Invalid area: ${t}`)}}move(e,t,i){var n;const s=null!==(n=this._idTypeMap.get(e.id))&&void 0!==n?n:e.id;for(const e of["single-document","multiple-document"].filter((e=>!i||e===i)))this._userLayout[e][s]={...this._userLayout[e][s],area:t};return this.add(e,t),this._userLayout}collapseLeft(){this._leftHandler.collapse(),this._onLayoutModified()}collapseRight(){this._rightHandler.collapse(),this._onLayoutModified()}dispose(){this.isDisposed||(this._layoutDebouncer.dispose(),super.dispose())}expandLeft(){this._leftHandler.expand(),this._onLayoutModified()}expandRight(){this._rightHandler.expand(),this._onLayoutModified()}closeAll(){Array.from(this._dockPanel.widgets()).forEach((e=>e.close())),this._downPanel.stackedPanel.widgets.forEach((e=>e.close()))}isSideTabBarVisible(e){switch(e){case"left":return this._leftHandler.isVisible;case"right":return this._rightHandler.isVisible}}isTopInSimpleModeVisible(){return!this._topHandlerHiddenByUser}isEmpty(e){switch(e){case"bottom":return 0===this._bottomPanel.widgets.length;case"down":return 0===this._downPanel.stackedPanel.widgets.length;case"header":return 0===this._headerPanel.widgets.length;case"left":return 0===this._leftHandler.stackedPanel.widgets.length;case"main":return this._dockPanel.isEmpty;case"menu":return 0===this._menuHandler.panel.widgets.length;case"right":return 0===this._rightHandler.stackedPanel.widgets.length;case"top":return 0===this._topHandler.panel.widgets.length;default:return!0}}async restoreLayout(e,t,i={}){var n,s,a,r;this._userLayout={"single-document":null!==(n=i["single-document"])&&void 0!==n?n:{},"multiple-document":null!==(s=i["multiple-document"])&&void 0!==s?s:{}},this._delayedWidget.forEach((({widget:e,area:t,options:i})=>{this.add(e,t,i)})),this._delayedWidget.length=0,this._layoutRestorer=t;const o=await t.fetch(),{mainArea:d,downArea:l,leftArea:h,rightArea:c,topArea:u,relativeSizes:p}=o;if(d){const{currentWidget:t,dock:i}=d;i&&"multiple-document"===e&&this._dockPanel.restoreLayout(i),e&&(this.mode=e),t&&this.activateById(t.id)}else e&&(this.mode=e);if(void 0!==(null==u?void 0:u.simpleVisibility)&&(this._topHandlerHiddenByUser=!u.simpleVisibility,"single-document"===this.mode&&this._topHandler.panel.setHidden(this._topHandlerHiddenByUser)),l){const{currentWidget:e,widgets:t,size:i}=l,n=null!==(a=null==t?void 0:t.map((e=>e.id)))&&void 0!==a?a:[];this._downPanel.tabBar.titles.filter((e=>!n.includes(e.owner.id))).map((e=>e.owner.close()));const s=this._downPanel.tabBar.titles.map((e=>e.owner.id));for(null==t||t.filter((e=>!s.includes(e.id))).map((e=>this._downPanel.addWidget(e)));!f.ArrayExt.shallowEqual(n,this._downPanel.tabBar.titles.map((e=>e.owner.id)));)this._downPanel.tabBar.titles.forEach(((e,t)=>{const i=n.findIndex((t=>e.owner.id==t));i>=0&&i!=t&&this._downPanel.tabBar.insertTab(i,e)}));if(e){const t=this._downPanel.stackedPanel.widgets.findIndex((t=>t.id===e.id));t&&(this._downPanel.currentIndex=t,null===(r=this._downPanel.currentWidget)||void 0===r||r.activate())}i&&i>0?this._vsplitPanel.setRelativeSizes([1-i,i]):(this._downPanel.stackedPanel.widgets.forEach((e=>e.close())),this._downPanel.hide())}h?this._leftHandler.rehydrate(h):"single-document"===e&&this.collapseLeft(),c?this._rightHandler.rehydrate(c):"single-document"===e&&this.collapseRight(),p&&this._hsplitPanel.setRelativeSizes(p),this._isRestored||(v.MessageLoop.flush(),this._restored.resolve(o))}saveLayout(){return{mainArea:{currentWidget:this._tracker.currentWidget,dock:"single-document"===this.mode&&this._cachedLayout||this._dockPanel.saveLayout()},downArea:{currentWidget:this._downPanel.currentWidget,widgets:Array.from(this._downPanel.stackedPanel.widgets),size:this._vsplitPanel.relativeSizes()[1]},leftArea:this._leftHandler.dehydrate(),rightArea:this._rightHandler.dehydrate(),topArea:{simpleVisibility:!this._topHandlerHiddenByUser},relativeSizes:this._hsplitPanel.relativeSizes()}}toggleTopInSimpleModeVisibility(){"single-document"===this.mode&&(this._topHandler.panel.isVisible?(this._topHandlerHiddenByUser=!0,this._topHandler.panel.hide()):(this._topHandlerHiddenByUser=!1,this._topHandler.panel.show(),this._updateTitlePanelTitle()),this._onLayoutModified())}toggleSideTabBarVisibility(e){"right"===e?this._rightHandler.isVisible?this._rightHandler.hide():this._rightHandler.show():this._leftHandler.isVisible?this._leftHandler.hide():this._leftHandler.show()}updateConfig(e){if(e.hiddenMode)switch(e.hiddenMode){case"display":this._dockPanel.hiddenMode=w.Widget.HiddenMode.Display;break;case"scale":this._dockPanel.hiddenMode=w.Widget.HiddenMode.Scale;break;case"contentVisibility":this._dockPanel.hiddenMode=w.Widget.HiddenMode.ContentVisibility}}widgets(e){switch(null!=e?e:"main"){case"main":return this._dockPanel.widgets();case"left":return(0,f.map)(this._leftHandler.sideBar.titles,(e=>e.owner));case"right":return(0,f.map)(this._rightHandler.sideBar.titles,(e=>e.owner));case"header":return this._headerPanel.children();case"top":return this._topHandler.panel.children();case"menu":return this._menuHandler.panel.children();case"bottom":return this._bottomPanel.children();default:throw new Error(`Invalid area: ${e}`)}}onAfterAttach(e){this.node.dataset.shellMode=this.mode}_updateTitlePanelTitle(){let e=this.currentWidget;const t=this._titleHandler.inputElement;t.value=e?e.title.label:"",t.title=e?e.title.caption:""}_updateCurrentPath(){let e=this.currentWidget,t="";e&&e instanceof d.DocumentWidget&&(t=e.context.path),this._currentPathChanged.emit({newValue:t,oldValue:this._currentPath}),this._currentPath=t}_addToLeftArea(e,t){if(!e.id)return void console.error("Widgets added to app shell must have unique id property.");t=t||this._sideOptionsCache.get(e)||{},this._sideOptionsCache.set(e,t);const i="rank"in t?t.rank:C;this._leftHandler.addWidget(e,i),this._onLayoutModified()}_addToMainArea(e,t){if(!e.id)return void console.error("Widgets added to app shell must have unique id property.");t=t||{};const i=this._dockPanel,n=t.mode||"tab-after";let s=this.currentWidget;t.ref&&(s=(0,f.find)(i.widgets(),(e=>e.id===t.ref))||null);const{title:a}=e;a.dataset={...a.dataset,id:e.id},a.icon instanceof h.LabIcon?a.icon=a.icon.bindprops({stylesheet:"mainAreaTab"}):"string"!=typeof a.icon&&a.icon||(a.iconClass=(0,h.classes)(a.iconClass,"jp-Icon")),i.addWidget(e,{mode:n,ref:s}),"single-document"===i.mode&&this._mainOptionsCache.set(e,t),!1!==t.activate&&i.activateWidget(e)}_addToRightArea(e,t){if(!e.id)return void console.error("Widgets added to app shell must have unique id property.");const i="rank"in(t=t||this._sideOptionsCache.get(e)||{})?t.rank:C;this._sideOptionsCache.set(e,t),this._rightHandler.addWidget(e,i),this._onLayoutModified()}_addToTopArea(e,t){var i;if(!e.id)return void console.error("Widgets added to app shell must have unique id property.");const n=null!==(i=(t=t||{}).rank)&&void 0!==i?i:C;this._topHandler.addWidget(e,n),this._onLayoutModified(),this._topHandler.panel.isHidden&&this._topHandler.panel.show()}_addToMenuArea(e,t){var i;if(!e.id)return void console.error("Widgets added to app shell must have unique id property.");const n=null!==(i=(t=t||{}).rank)&&void 0!==i?i:C;this._menuHandler.addWidget(e,n),this._onLayoutModified(),this._menuHandler.panel.isHidden&&this._menuHandler.panel.show()}_addToHeaderArea(e,t){e.id?(this._headerPanel.addWidget(e),this._onLayoutModified(),this._headerPanel.isHidden&&this._headerPanel.show()):console.error("Widgets added to app shell must have unique id property.")}_addToBottomArea(e,t){e.id?(this._bottomPanel.addWidget(e),this._onLayoutModified(),this._bottomPanel.isHidden&&this._bottomPanel.show()):console.error("Widgets added to app shell must have unique id property.")}_addToDownArea(e,t){if(!e.id)return void console.error("Widgets added to app shell must have unique id property.");t=t||{};const{title:i}=e;i.dataset={...i.dataset,id:e.id},i.icon instanceof h.LabIcon?i.icon=i.icon.bindprops({stylesheet:"mainAreaTab"}):"string"!=typeof i.icon&&i.icon||(i.iconClass=(0,h.classes)(i.iconClass,"jp-Icon")),this._downPanel.addWidget(e),this._onLayoutModified(),this._downPanel.isHidden&&this._downPanel.show()}_adjacentBar(e){const t=this._currentTabBar();if(!t)return null;const i=Array.from(this._dockPanel.tabBars()),n=i.length,s=i.indexOf(t);return"previous"===e?s>0?i[s-1]:0===s?i[n-1]:null:s<n-1?i[s+1]:s===n-1?i[0]:null}_currentTabBar(){const e=this._tracker.currentWidget;if(!e)return null;const t=e.title,i=this._dockPanel.tabBars();return(0,f.find)(i,(e=>e.titles.indexOf(t)>-1))||null}_onActiveChanged(e,t){t.newValue&&(t.newValue.title.className+=` ${k}`),t.oldValue&&(t.oldValue.title.className=t.oldValue.title.className.replace(k,"")),this._activeChanged.emit(t)}_onCurrentChanged(e,t){t.newValue&&(t.newValue.title.className+=` ${P}`),t.oldValue&&(t.oldValue.title.className=t.oldValue.title.className.replace(P,"")),this._currentChanged.emit(t),this._onLayoutModified()}_onTabPanelChanged(){0===this._downPanel.stackedPanel.widgets.length&&this._downPanel.hide(),this._onLayoutModified()}_onLayoutModified(){this._layoutDebouncer.invoke()}}var L;!function(e){e.itemCmp=function(e,t){return e.rank-t.rank},e.normalizeAreaConfig=function e(t,i){i&&("tab-area"!==i.type?i.children.forEach((i=>{e(t,i)})):i.widgets=i.widgets.filter((e=>!e.isDisposed&&e.parent===t)))},e.PanelHandler=class{constructor(){this._panelChildHook=(e,t)=>{switch(t.type){case"child-added":{const e=t.child;if(this._items.find((t=>t.widget===e)))break;const i=this._items[this._items.length-1].rank;this._items.push({widget:e,rank:i})}break;case"child-removed":{const e=t.child;f.ArrayExt.removeFirstWhere(this._items,(t=>t.widget===e))}}return!0},this._items=new Array,this._panel=new w.Panel,v.MessageLoop.installMessageHook(this._panel,this._panelChildHook)}get panel(){return this._panel}addWidget(t,i){t.parent=null;const n={widget:t,rank:i},s=f.ArrayExt.upperBound(this._items,n,e.itemCmp);f.ArrayExt.insert(this._items,s,n),this._panel.insertWidget(s,t)}},e.SideBarHandler=class{constructor(){this._isHiddenByUser=!1,this._items=new Array,this._updated=new p.Signal(this),this._sideBar=new w.TabBar({insertBehavior:"none",removeBehavior:"none",allowDeselect:!0,orientation:"vertical"}),this._stackedPanel=new w.StackedPanel,this._sideBar.hide(),this._stackedPanel.hide(),this._lastCurrent=null,this._sideBar.currentChanged.connect(this._onCurrentChanged,this),this._sideBar.tabActivateRequested.connect(this._onTabActivateRequested,this),this._stackedPanel.widgetRemoved.connect(this._onWidgetRemoved,this)}get isVisible(){return this._sideBar.isVisible}get sideBar(){return this._sideBar}get stackedPanel(){return this._stackedPanel}get updated(){return this._updated}_onHandleMoved(){return this._refreshVisibility()}_onExpansionToggle(e,t){return this._refreshVisibility()}expand(){const e=this._lastCurrent||this._items.length>0&&this._items[0].widget;e&&this.activate(e.id)}activate(e){const t=this._findWidgetByID(e);t&&(this._sideBar.currentTitle=t.title,t.activate())}has(e){return null!==this._findWidgetByID(e)}collapse(){this._sideBar.currentTitle=null}addWidget(e,t){var i,n,s,a;e.parent=null,e.hide();const r={widget:e,rank:t},o=this._findInsertIndex(r);f.ArrayExt.insert(this._items,o,r),this._stackedPanel.insertWidget(o,e);const d=this._sideBar.insertTab(o,e.title);d.dataset={id:e.id},d.icon instanceof h.LabIcon?d.icon=d.icon.bindprops({stylesheet:"sideBar"}):"string"==typeof d.icon&&""!=d.icon?d.iconClass=(0,h.classes)(d.iconClass,"jp-Icon","jp-Icon-20"):d.icon||d.label||(d.icon=h.tabIcon.bindprops({stylesheet:"sideBar"})),null===(n=null===(i=e.content)||void 0===i?void 0:i.expansionToggled)||void 0===n||n.connect(this._onExpansionToggle,this),null===(a=null===(s=e.content)||void 0===s?void 0:s.handleMoved)||void 0===a||a.connect(this._onHandleMoved,this),this._refreshVisibility()}dehydrate(){const e=null===this._sideBar.currentTitle,t=Array.from(this._stackedPanel.widgets),i=t[this._sideBar.currentIndex],n={};return this._stackedPanel.widgets.forEach((e=>{e.id&&e.content instanceof w.SplitPanel&&(n[e.id]={sizes:e.content.relativeSizes(),expansionStates:e.content.widgets.map((e=>e.isVisible))})})),{collapsed:e,currentWidget:i,visible:!this._isHiddenByUser,widgets:t,widgetStates:n}}rehydrate(e){e.currentWidget&&this.activate(e.currentWidget.id),e.collapsed&&this.collapse(),e.visible||this.hide(),e.widgetStates&&this._stackedPanel.widgets.forEach((t=>{var i;if(t.id&&t.content instanceof w.SplitPanel){const n=null!==(i=e.widgetStates[t.id])&&void 0!==i?i:{};t.content.widgets.forEach(((e,i)=>{var s;const a=(null!==(s=n.expansionStates)&&void 0!==s?s:[])[i];"boolean"==typeof a&&t.content instanceof w.AccordionPanel&&(a?t.content.expand(i):t.content.collapse(i))})),n.sizes&&t.content.setRelativeSizes(n.sizes)}}))}hide(){this._isHiddenByUser=!0,this._refreshVisibility()}show(){this._isHiddenByUser=!1,this._refreshVisibility()}_findInsertIndex(t){return f.ArrayExt.upperBound(this._items,t,e.itemCmp)}_findWidgetIndex(e){return f.ArrayExt.findFirstIndex(this._items,(t=>t.widget===e))}_findWidgetByTitle(e){const t=(0,f.find)(this._items,(t=>t.widget.title===e));return t?t.widget:null}_findWidgetByID(e){const t=(0,f.find)(this._items,(t=>t.widget.id===e));return t?t.widget:null}_refreshVisibility(){this._stackedPanel.setHidden(null===this._sideBar.currentTitle),this._sideBar.setHidden(this._isHiddenByUser||0===this._sideBar.titles.length),this._updated.emit()}_onCurrentChanged(e,t){const i=t.previousTitle?this._findWidgetByTitle(t.previousTitle):null,n=t.currentTitle?this._findWidgetByTitle(t.currentTitle):null;i&&i.hide(),n&&n.show(),this._lastCurrent=n||i,this._refreshVisibility()}_onTabActivateRequested(e,t){t.title.owner.activate()}_onWidgetRemoved(e,t){t===this._lastCurrent&&(this._lastCurrent=null),f.ArrayExt.removeAt(this._items,this._findWidgetIndex(t)),this._sideBar.removeTab(t.title),this._refreshVisibility()}};class t extends w.Widget{constructor(e){super(),this.addClass("jp-skiplink"),this.id="jp-skiplink",this._shell=e,this._createSkipLink("Skip to main panel","main")}handleEvent(e){var t,i;"click"===e.type&&e.target instanceof HTMLElement&&this._shell.activateArea(null===(i=null===(t=e.target)||void 0===t?void 0:t.dataset)||void 0===i?void 0:i.targetarea)}onAfterAttach(e){super.onAfterAttach(e),this.node.addEventListener("click",this)}onBeforeDetach(e){this.node.removeEventListener("click",this),super.onBeforeDetach(e)}_createSkipLink(e,t){const i=document.createElement("a");i.href="#",i.tabIndex=0,i.text=e,i.className="skip-link",i.dataset.targetarea=t,this.node.appendChild(i)}}e.SkipLinkWidget=t;class i extends w.Widget{constructor(e){super(),this._selected=!1;const t=document.createElement("input");t.type="text",this.node.appendChild(t),this._shell=e,this.id="jp-title-panel-title"}onAfterAttach(e){super.onAfterAttach(e),this.inputElement.addEventListener("keyup",this),this.inputElement.addEventListener("click",this),this.inputElement.addEventListener("blur",this)}onBeforeDetach(e){super.onBeforeDetach(e),this.inputElement.removeEventListener("keyup",this),this.inputElement.removeEventListener("click",this),this.inputElement.removeEventListener("blur",this)}handleEvent(e){switch(e.type){case"keyup":this._evtKeyUp(e);break;case"click":this._evtClick(e);break;case"blur":this._selected=!1}}async _evtKeyUp(e){if("Enter"==e.key){const e=this._shell.currentWidget;if(null==e)return;const t=e.title.label,i=this.inputElement,n=i.value;i.blur(),n!==t?e.title.label=n:i.value=t}}_evtClick(e){if(0!==e.button||this._selected)return;const t=this.inputElement;e.preventDefault(),e.stopPropagation(),this._selected=!0;const i=t.value.indexOf(".");-1===i?t.select():t.setSelectionRange(0,i)}get inputElement(){return this.node.children[0]}}e.TitleHandler=i;class n extends w.SplitPanel{constructor(e={}){super(e),this.updated=new p.Signal(this)}onUpdateRequest(e){super.onUpdateRequest(e),this.updated.emit()}}e.RestorableSplitPanel=n}(L||(L={}));var M=i(20389);class A extends g{constructor(e={shell:new B}){super({...e,shell:e.shell||new B,serviceManager:e.serviceManager||new l.ServiceManager({standby:()=>!this._info.isConnected||"when-hidden"})}),this.name=_.PageConfig.getOption("appName")||"JupyterLab",this.namespace=_.PageConfig.getOption("appNamespace")||this.name,this.registerPluginErrors=[],this.status=new M.J(this),this.version=_.PageConfig.getOption("appVersion")||"unknown",this._info=A.defaultInfo,this._allPluginsActivated=new u.PromiseDelegate;const t=Object.keys(A.defaultInfo).reduce(((t,i)=>(i in e&&(t[i]=JSON.parse(JSON.stringify(e[i]))),t)),{});this._info={...A.defaultInfo,...t},this.restored=this.shell.restored.then((async()=>{const e=[],t=this.activateDeferredPlugins().catch((e=>{console.error("Error when activating deferred plugins\n:",e)}));if(e.push(t),this._info.deferred){const t=Promise.all(this._info.deferred.matches.map((e=>this.activatePlugin(e)))).catch((e=>{console.error("Error when activating customized list of deferred plugins:\n",e)}));e.push(t)}Promise.all(e).then((()=>{this._allPluginsActivated.resolve()})).catch((()=>{}))})).catch((()=>{}));const i=A.defaultPaths.urls,n=A.defaultPaths.directories,s=e.paths&&e.paths.urls||{},a=e.paths&&e.paths.directories||{};if(this._paths={urls:Object.keys(i).reduce(((e,t)=>{if(t in s){const i=s[t];e[t]=i}else e[t]=i[t];return e}),{}),directories:Object.keys(A.defaultPaths.directories).reduce(((e,t)=>{if(t in a){const i=a[t];e[t]=i}else e[t]=n[t];return e}),{})},this._info.devMode&&this.shell.addClass("jp-mod-devMode"),this.docRegistry.addModelFactory(new d.Base64ModelFactory),e.mimeExtensions)for(const t of(0,m.as)(e.mimeExtensions))this.registerPlugin(t)}get info(){return this._info}get paths(){return this._paths}get allPluginsActivated(){return this._allPluginsActivated.promise}registerPluginModule(e){let t=e.default;e.hasOwnProperty("__esModule")||(t=e),Array.isArray(t)||(t=[t]),t.forEach((e=>{try{this.registerPlugin(e)}catch(e){this.registerPluginErrors.push(e)}}))}registerPluginModules(e){e.forEach((e=>{this.registerPluginModule(e)}))}}!function(e){e.IInfo=new u.Token("@jupyterlab/application:IInfo","A service providing metadata about the current application, including disabled extensions and whether dev mode is enabled."),e.defaultInfo={devMode:"true"===_.PageConfig.getOption("devMode").toLowerCase(),deferred:{patterns:[],matches:[]},disabled:{patterns:[],matches:[]},mimeExtensions:[],availablePlugins:[],filesCached:"true"===_.PageConfig.getOption("cacheFiles").toLowerCase(),isConnected:!0},e.defaultPaths={urls:{base:_.PageConfig.getOption("baseUrl"),notFound:_.PageConfig.getOption("notFoundUrl"),app:_.PageConfig.getOption("appUrl"),doc:_.PageConfig.getOption("docUrl"),static:_.PageConfig.getOption("staticUrl"),settings:_.PageConfig.getOption("settingsUrl"),themes:_.PageConfig.getOption("themesUrl"),translations:_.PageConfig.getOption("translationsApiUrl"),hubHost:_.PageConfig.getOption("hubHost")||void 0,hubPrefix:_.PageConfig.getOption("hubPrefix")||void 0,hubUser:_.PageConfig.getOption("hubUser")||void 0,hubServerName:_.PageConfig.getOption("hubServerName")||void 0},directories:{appSettings:_.PageConfig.getOption("appSettingsDir"),schemas:_.PageConfig.getOption("schemasDir"),static:_.PageConfig.getOption("staticDir"),templates:_.PageConfig.getOption("templatesDir"),themes:_.PageConfig.getOption("themesDir"),userSettings:_.PageConfig.getOption("userSettingsDir"),serverRoot:_.PageConfig.getOption("serverRoot"),workspaces:_.PageConfig.getOption("workspacesDir")}}}(A||(A={}));var x=i(67863),W=i(2549);class S{constructor(e){this.stop=new u.Token("@jupyterlab/application:Router#stop"),this._routed=new p.Signal(this),this._rules=new Map,this.base=e.base,this.commands=e.commands}get current(){var e,t;const{base:i}=this,n=_.URLExt.parse(window.location.href),{search:s,hash:a}=n,r=null!==(t=null===(e=n.pathname)||void 0===e?void 0:e.replace(i,"/"))&&void 0!==t?t:"";return{hash:a,path:r,request:r+s+a,search:s}}get routed(){return this._routed}navigate(e,t={}){const{base:i}=this,{history:n}=window,{hard:s}=t,a=document.location.href,r=e&&0===e.indexOf(i)?e:_.URLExt.join(i,e);return r===a?s?this.reload():void 0:(n.pushState({},"",r),s?this.reload():void(t.skipRouting||requestAnimationFrame((()=>{this.route()}))))}register(e){var t;const{command:i,pattern:n}=e,s=null!==(t=e.rank)&&void 0!==t?t:100,a=this._rules;return a.set(n,{command:i,rank:s}),new W.DisposableDelegate((()=>{a.delete(n)}))}reload(){window.location.reload()}route(){const{commands:e,current:t,stop:i}=this,{request:n}=t,s=this._routed,a=this._rules,r=[];a.forEach(((e,t)=>{(null==n?void 0:n.match(t))&&r.push(e)}));const o=r.sort(((e,t)=>t.rank-e.rank)),d=new u.PromiseDelegate,l=async()=>{if(!o.length)return s.emit(t),void d.resolve(void 0);const{command:a}=o.pop();try{const n=this.current.request;await e.execute(a,t)===i&&(o.length=0,console.debug(`Routing ${n} was short-circuited by ${a}`))}catch(e){console.warn(`Routing ${n} to ${a} failed`,e)}l()};return l(),d.promise}}const E=new u.Token("@jupyterlab/application:IConnectionLost",'A service for invoking the dialog shown\n when JupyterLab has lost its connection to the server. Use this if, for some reason,\n you want to bring up the "connection lost" dialog under new circumstances.'),I=new u.Token("@jupyterlab/application:ILabStatus",'A service for interacting with the application busy/dirty\n status. Use this if you want to set the application "busy" favicon, or to set\n the application "dirty" status, which asks the user for confirmation before leaving the application page.'),R=new u.Token("@jupyterlab/application:IRouter","The URL router used by the application. Use this to add custom URL-routing for your extension (e.g., to invoke a command if the user navigates to a sub-path)."),j=new u.Token("@jupyterlab/application:ITreePathUpdater","A service to update the tree path.");function O(e,t,i,n){const{commands:s,shell:a}=e,r=Array.isArray(t)?t:[t];return{label:d("label"),caption:d("caption"),isEnabled:()=>{var e;const t=o("isEnabled");return t.length>0&&!t.some((e=>!1===e))||null!==(e=i.isEnabled)&&void 0!==e&&e},isToggled:()=>{var e;return o("isToggled").some((e=>!0===e))||null!==(e=i.isToggled)&&void 0!==e&&e},isVisible:()=>{var e;const t=o("isVisible");return t.length>0&&!t.some((e=>!1===e))||null===(e=i.isVisible)||void 0===e||e},execute:async()=>{const e=a.currentWidget,t=r.map((t=>null!==e?t.getActiveCommandId(e):null)).filter((e=>null!==e&&s.isEnabled(e)));let n=null;if(t.length>0){for(const e of t)if(n=await s.execute(e),"boolean"==typeof n&&!1===n)break}else i.execute&&(n=await s.execute(i.execute));return n}};function o(e){const t=a.currentWidget;return r.map((e=>null!==t?e.getActiveCommandId(t):null)).filter((e=>null!==e)).map((t=>s[e](t)))}function d(e){return()=>{var t;const s=o(e).map(((t,i)=>"caption"==e&&i>0?t.toLocaleLowerCase():t));switch(s.length){case 0:return null!==(t=i[e])&&void 0!==t?t:"";case 1:return s[0];default:{const e=s.some((e=>/…$/.test(e))),t=s.slice(void 0,-1).map((e=>e.replace(/…$/,""))).join(", "),i=s.slice(-1)[0].replace(/…$/,"")+(e?"…":"");return n.__("%1 and %2",t,i)}}}}}}}]);
|
notebook/static/8579.bundle.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[8579],{88579:(e,t,o)=>{o.r(t),o.d(t,{default:()=>q});var n=o(17260),a=o(98244),i=o(57978),r=o(70788),d=o(91919),l=o(57526),s=o(59012),c=o(8627),p=o(80864),u=o(42539),g=o(30679),m=o(73241),h=o(20998),b=o(2549),f=o(31516);const v=new RegExp("/(notebooks|edit)/(.*)"),y=/\.ipynb$/;var k;!function(e){e.handleLink="application:handle-local-link",e.toggleTop="application:toggle-top",e.togglePanel="application:toggle-panel",e.toggleZen="application:toggle-zen",e.openLab="application:open-lab",e.openTree="application:open-tree",e.rename="application:rename",e.resolveTree="application:resolve-tree"}(k||(k={}));const w={id:"@jupyter-notebook/application-extension:dirty",description:"Check if the application is dirty before closing the browser tab.",autoStart:!0,requires:[n.ILabStatus,u.ITranslator],activate:(e,t,o)=>{if(!(e instanceof g.NotebookApp))throw new Error(`${w.id} must be activated in Jupyter Notebook.`);const n=o.load("notebook").__("Are you sure you want to exit Jupyter Notebook?\n\nAny unsaved changes will be lost.");window.addEventListener("beforeunload",(t=>{if(e.status.isDirty)return t.returnValue=n}))}},x={id:"@jupyter-notebook/application-extension:logo",description:"The logo plugin.",autoStart:!0,activate:e=>{const t=r.PageConfig.getBaseUrl(),o=document.createElement("a");o.href=`${t}tree`,o.target="_blank",o.rel="noopener noreferrer";const n=new f.Widget({node:o});m.jupyterIcon.element({container:o,elementPosition:"center",padding:"2px 2px 2px 8px",height:"28px",width:"auto",cursor:"pointer",margin:"auto"}),n.id="jp-NotebookLogo",e.shell.add(n,"top",{rank:0})}},I={id:"@jupyter-notebook/application-extension:opener",description:"A plugin to open documents in the main area.",autoStart:!0,requires:[n.IRouter,d.IDocumentManager],optional:[p.ISettingRegistry],activate:(e,t,o,n)=>{const{commands:a,docRegistry:i}=e,r="router:tree";a.addCommand(r,{execute:t=>{var a;const r=t,d=null!==(a=r.path.match(v))&&void 0!==a?a:[],[,,l]=d;l&&e.started.then((async()=>{var e;const t=decodeURIComponent(l),a=new URLSearchParams(r.search);let d=i.defaultWidgetFactory(l).name;if(n){const e=(await n.load("@jupyterlab/docmanager-extension:plugin")).get("defaultViewers").composite;i.getFileTypesForPath(l).forEach((t=>{void 0!==e[t.name]&&i.getWidgetFactory(e[t.name])&&(d=e[t.name])}))}const s=null!==(e=a.get("factory"))&&void 0!==e?e:d;o.open(t,s,void 0,{ref:"_noref"})}))}}),t.register({command:r,pattern:v})}},P={id:"@jupyter-notebook/application-extension:menus",description:"A plugin to customize menus.",requires:[s.IMainMenu],autoStart:!0,activate:(e,t)=>{switch(t.tabsMenu.dispose(),r.PageConfig.getOption("notebookPage")){case"consoles":case"terminals":case"tree":t.editMenu.dispose(),t.kernelMenu.dispose(),t.runMenu.dispose();break;case"edit":t.kernelMenu.dispose(),t.runMenu.dispose()}}},C={id:"@jupyter-notebook/application-extension:menu-spacer",description:"A plugin to provide a spacer at rank 900 in the menu area.",autoStart:!0,activate:e=>{const t=new f.Widget;t.id=a.DOMUtils.createDomID(),t.addClass("jp-NotebookSpacer"),e.shell.add(t,"menu",{rank:900})}},S={id:"@jupyter-notebook/application-extension:pages",description:"Add commands to open the tree and running pages.",autoStart:!0,requires:[u.ITranslator],optional:[a.ICommandPalette],activate:(e,t,o)=>{const n=t.load("notebook"),a=r.PageConfig.getBaseUrl();e.commands.addCommand(k.openLab,{label:n.__("Open JupyterLab"),execute:()=>{window.open(r.URLExt.join(a,"lab"))}});const i=r.PageConfig.getOption("notebookPage");e.commands.addCommand(k.openTree,{label:n.__("File Browser"),execute:()=>{"tree"===i?e.commands.execute("filebrowser:activate"):window.open(r.URLExt.join(a,"tree"))}}),o&&(o.addItem({command:k.openLab,category:"View"}),o.addItem({command:k.openTree,category:"View"}))}},T={id:"@jupyter-notebook/application-extension:path-opener",description:"A plugin to open paths in new browser tabs.",autoStart:!0,provides:g.INotebookPathOpener,activate:e=>g.defaultNotebookPathOpener},R={id:"@jupyter-notebook/application-extension:paths",description:"The default paths for a Jupyter Notebook app.",autoStart:!0,provides:n.JupyterFrontEnd.IPaths,activate:e=>{if(!(e instanceof g.NotebookApp))throw new Error(`${R.id} must be activated in Jupyter Notebook.`);return e.paths}},E={id:"@jupyter-notebook/application-extension:rendermime",description:"A plugin providing a rendermime registry.",autoStart:!0,provides:c.IRenderMimeRegistry,optional:[d.IDocumentManager,c.ILatexTypesetter,a.ISanitizer,c.IMarkdownParser,u.ITranslator,g.INotebookPathOpener],activate:(e,t,o,n,a,i,d)=>{const l=(null!=i?i:u.nullTranslator).load("jupyterlab"),s=null!=d?d:g.defaultNotebookPathOpener;return t&&e.commands.addCommand(k.handleLink,{label:l.__("Handle Local Link"),execute:e=>{const o=e.path;if(null!=o)return t.services.contents.get(o,{content:!1}).then((e=>{const t=r.PageConfig.getBaseUrl();s.open({prefix:r.URLExt.join(t,"tree"),path:e.path,target:"_blank"})}))}}),new c.RenderMimeRegistry({initialFactories:c.standardRendererFactories,linkHandler:t?{handleLink:(t,o,n)=>{"A"===t.tagName&&t.hasAttribute("download")||e.commandLinker.connectNode(t,k.handleLink,{path:o,id:n})}}:void 0,latexTypesetter:null!=o?o:void 0,markdownParser:null!=a?a:void 0,translator:null!=i?i:void 0,sanitizer:null!=n?n:void 0})}},_={id:"@jupyter-notebook/application-extension:shell",description:"The default Jupyter Notebook application shell.",autoStart:!0,provides:g.INotebookShell,optional:[p.ISettingRegistry],activate:(e,t)=>{if(!(e.shell instanceof g.NotebookShell))throw new Error(`${_.id} did not find a NotebookShell instance.`);const o=e.shell;return t&&t.load(_.id).then((e=>{const t=e.composite.layout;o.restoreLayout(t)})).catch((e=>{console.error("Fail to load settings for the layout restorer."),console.error(e)})),o}},L={id:"@jupyter-notebook/application-extension:splash",description:"Provides an empty splash screen.",autoStart:!0,provides:a.ISplashScreen,activate:e=>{const{restored:t}=e,o=document.createElement("div");return o.style.position="absolute",o.style.width="100%",o.style.height="100%",o.style.zIndex="10",{show:(e=!0)=>(o.style.backgroundColor=e?"white":"#111111",document.body.appendChild(o),new b.DisposableDelegate((async()=>{await t,document.body.removeChild(o)})))}}},j={id:"@jupyter-notebook/application-extension:status",description:"The default JupyterLab application status provider.",autoStart:!0,provides:n.ILabStatus,activate:e=>{if(!(e instanceof g.NotebookApp))throw new Error(`${j.id} must be activated in Jupyter Notebook.`);return e.status}},N={id:"@jupyter-notebook/application-extension:tab-title",description:"A plugin to display the document title in the browser tab title.",autoStart:!0,requires:[g.INotebookShell],activate:(e,t)=>{const o=()=>{const e=t.currentWidget;if(e instanceof i.ConsolePanel){const t=()=>{const t=e.sessionContext.path||e.sessionContext.name,o=r.PathExt.basename(t);document.title=o.replace(y,"")};return e.sessionContext.sessionChanged.connect(t),void t()}if(e instanceof l.DocumentWidget){const t=()=>{const t=r.PathExt.basename(e.context.path);document.title=t.replace(y,"")};e.context.pathChanged.connect(t),t()}};t.currentChanged.connect(o),o()}},H={id:"@jupyter-notebook/application-extension:title",description:"A plugin to display and rename the title of a file.",autoStart:!0,requires:[g.INotebookShell,u.ITranslator],optional:[d.IDocumentManager,n.IRouter,a.IToolbarWidgetRegistry],activate:(e,t,o,n,a,i)=>{const{commands:s}=e,c=o.load("notebook"),p=document.createElement("div");i&&i.addFactory("TopBar","widgetTitle",(e=>{const t=new f.Widget({node:p});return t.id="jp-title",t}));const u=async()=>{const e=t.currentWidget;if(!(e&&e instanceof l.DocumentWidget))return;if(p.children.length>0)return;const o=document.createElement("h1");if(o.textContent=e.title.label.replace(y,""),p.appendChild(o),p.style.marginLeft="10px",!n)return;const i=()=>{const{currentWidget:e}=t;return!(!e||!n.contextForWidget(e))};s.addCommand(k.rename,{label:()=>c.__("Rename…"),isEnabled:i,execute:async()=>{var t;if(!i())return;const l=await(0,d.renameDialog)(n,e.context);if(e&&e.activate(),null===l)return;const s=e.context.path,c=r.PathExt.basename(s);if(o.textContent=c.replace(y,""),!a)return;const p=null!==(t=a.current.path.match(v))&&void 0!==t?t:[],[,u,g]=p;if(!u||!g)return;const m=encodeURIComponent(s);a.navigate(`/${u}/${m}`,{skipRouting:!0})}}),p.onclick=async()=>{s.execute(k.rename)}};t.currentChanged.connect(u),u()}},A={id:"@jupyter-notebook/application-extension:top",description:"Plugin to toggle the top header visibility.",requires:[g.INotebookShell,u.ITranslator],optional:[p.ISettingRegistry,a.ICommandPalette],activate:(e,t,o,n,a)=>{const i=o.load("notebook"),r=t.top,d=A.id;e.commands.addCommand(k.toggleTop,{label:i.__("Show Header"),execute:()=>{r.setHidden(r.isVisible),n&&n.set(d,"visible",r.isVisible?"yes":"no")},isToggled:()=>r.isVisible});let l=!1;if(n){const t=n.load(d),o=e=>{let t=e.get("visible").composite;void 0!==e.user.visible&&(t=e.user.visible),r.setHidden("no"===t),l="automatic"===t};Promise.all([t,e.restored]).then((([e])=>{o(e),e.changed.connect((e=>{o(e)}))})).catch((e=>{console.error(e.message)}))}a&&a.addItem({command:k.toggleTop,category:"View"}),e.formatChanged.connect((()=>{l&&("desktop"===e.format?t.expandTop():t.collapseTop())}))},autoStart:!0},M={id:"@jupyter-notebook/application-extension:sidepanel",description:"Plugin to toggle the visibility of left or right side panel.",requires:[g.INotebookShell,u.ITranslator],optional:[s.IMainMenu,a.ICommandPalette],autoStart:!0,activate:(e,t,o,n,a)=>{const i=o.load("notebook");e.commands.addCommand(k.togglePanel,{label:e=>e.title,caption:e=>"left"===e.side?i.__("Show %1 in the left sidebar",e.title):"right"===e.side?i.__("Show %1 in the right sidebar",e.title):i.__("Show %1 in the sidebar",e.title),execute:e=>{var o,n;switch(e.side){case"left":t.leftCollapsed||(null===(o=t.leftHandler.currentWidget)||void 0===o?void 0:o.id)!==e.id?t.expandLeft(e.id):(t.collapseLeft(),t.currentWidget&&t.activateById(t.currentWidget.id));break;case"right":t.rightCollapsed||(null===(n=t.rightHandler.currentWidget)||void 0===n?void 0:n.id)!==e.id?t.expandRight(e.id):(t.collapseRight(),t.currentWidget&&t.activateById(t.currentWidget.id))}},isToggled:e=>{switch(e.side){case"left":{if(t.leftCollapsed)return!1;const o=t.leftHandler.currentWidget;return!!o&&o.id===e.id}case"right":{if(t.rightCollapsed)return!1;const o=t.rightHandler.currentWidget;return!!o&&o.id===e.id}}return!1}});const r={left:null,right:null},d=(o,a)=>{var i;if(null===n)return null;null===(i=r[o])||void 0===i||i.dispose();const d=new f.Menu({commands:e.commands});d.title.label=a;const l=t.widgets(o);let s=!1;for(const e of l)d.addItem({command:k.togglePanel,args:{side:o,title:`Show ${e.title.caption}`,id:e.id}}),s=!0;s&&(r[o]=n.viewMenu.addItem({type:"submenu",submenu:d}))};e.restored.then((()=>{if(n){const e=e=>"left"===e?i.__("Left Sidebar"):i.__("Right Sidebar"),o=t.leftHandler.area,n=e(o);d(o,n);const a=t.rightHandler.area,r=e(a);d(a,r);const l=(t,o)=>{const n=e(t.area);d(t.area,n)};t.leftHandler.widgetAdded.connect(l),t.leftHandler.widgetRemoved.connect(l),t.rightHandler.widgetAdded.connect(l),t.rightHandler.widgetRemoved.connect(l)}if(a){const e=new g.SidePanelPalette({commandPalette:a,command:k.togglePanel});t.leftHandler.widgets.forEach((o=>{e.addItem(o,t.leftHandler.area)})),t.rightHandler.widgets.forEach((o=>{e.addItem(o,t.rightHandler.area)})),t.leftHandler.widgetAdded.connect(((t,o)=>{e.addItem(o,t.area)})),t.leftHandler.widgetRemoved.connect(((t,o)=>{e.removeItem(o,t.area)})),t.rightHandler.widgetAdded.connect(((t,o)=>{e.addItem(o,t.area)})),t.rightHandler.widgetRemoved.connect(((t,o)=>{e.removeItem(o,t.area)}))}}))}},U={id:"@jupyter-notebook/application-extension:tree-resolver",description:"The default tree route resolver plugin.",autoStart:!0,requires:[n.IRouter],provides:n.JupyterFrontEnd.ITreeResolver,activate:(e,t)=>{const{commands:o}=e,n=new b.DisposableSet,a=new h.PromiseDelegate,i=new RegExp("/(/tree/.*)?");n.add(o.addCommand(k.resolveTree,{execute:async e=>{var t;if(n.isDisposed)return;const o=r.URLExt.queryStringToObject(null!==(t=e.search)&&void 0!==t?t:""),i=o["file-browser-path"]||"";delete o["file-browser-path"],n.dispose(),a.resolve({browser:i,file:r.PageConfig.getOption("treePath")})}})),n.add(t.register({command:k.resolveTree,pattern:i}));const d=()=>{n.isDisposed||(n.dispose(),a.resolve(null))};return t.routed.connect(d),n.add(new b.DisposableDelegate((()=>{t.routed.disconnect(d)}))),{paths:a.promise}}},W={id:"@jupyter-notebook/application-extension:tree-updater",description:"Plugin to update tree path.",requires:[n.IRouter],provides:n.ITreePathUpdater,activate:(e,t)=>function(e){if(e!==r.PageConfig.getOption("treePath")){const o=r.URLExt.join(r.PageConfig.getOption("baseUrl")||"/","tree",r.URLExt.encodeParts(e));t.navigate(o,{skipRouting:!0}),r.PageConfig.setOption("treePath",e)}},autoStart:!0},D={id:"@jupyter-notebook/application-extension:translator",description:"Translator plugin",requires:[g.INotebookShell,u.ITranslator],autoStart:!0,activate:(e,t,o)=>{t.translator=o}},O={id:"@jupyter-notebook/application-extension:zen",description:"Zen mode plugin.",autoStart:!0,requires:[u.ITranslator],optional:[a.ICommandPalette,g.INotebookShell],activate:(e,t,o,n)=>{const{commands:a}=e,i=document.documentElement,r=t.load("notebook"),d=()=>{null==n||n.expandTop(),null==n||n.menu.setHidden(!1),l=!1};let l=!1;a.addCommand(k.toggleZen,{label:r.__("Toggle Zen Mode"),execute:()=>{l?(document.exitFullscreen(),d()):(i.requestFullscreen(),null==n||n.collapseTop(),null==n||n.menu.setHidden(!0),l=!0)}}),document.addEventListener("fullscreenchange",(()=>{document.fullscreenElement||d()})),o&&o.addItem({command:k.toggleZen,category:"Mode"})}},q=[w,x,P,C,I,S,T,R,E,_,M,L,j,N,H,A,U,W,D,O]}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[8579],{88579:(e,t,o)=>{o.r(t),o.d(t,{default:()=>q});var n=o(3053),a=o(12982),i=o(46122),r=o(38639),d=o(90157),l=o(35312),s=o(97104),c=o(70856),p=o(36768),u=o(71677),g=o(42266),m=o(50331),h=o(20998),b=o(2549),f=o(31516);const v=new RegExp("/(notebooks|edit)/(.*)"),y=/\.ipynb$/;var k;!function(e){e.handleLink="application:handle-local-link",e.toggleTop="application:toggle-top",e.togglePanel="application:toggle-panel",e.toggleZen="application:toggle-zen",e.openLab="application:open-lab",e.openTree="application:open-tree",e.rename="application:rename",e.resolveTree="application:resolve-tree"}(k||(k={}));const w={id:"@jupyter-notebook/application-extension:dirty",description:"Check if the application is dirty before closing the browser tab.",autoStart:!0,requires:[n.ILabStatus,u.ITranslator],activate:(e,t,o)=>{if(!(e instanceof g.NotebookApp))throw new Error(`${w.id} must be activated in Jupyter Notebook.`);const n=o.load("notebook").__("Are you sure you want to exit Jupyter Notebook?\n\nAny unsaved changes will be lost.");window.addEventListener("beforeunload",(t=>{if(e.status.isDirty)return t.returnValue=n}))}},x={id:"@jupyter-notebook/application-extension:logo",description:"The logo plugin.",autoStart:!0,activate:e=>{const t=r.PageConfig.getBaseUrl(),o=document.createElement("a");o.href=`${t}tree`,o.target="_blank",o.rel="noopener noreferrer";const n=new f.Widget({node:o});m.jupyterIcon.element({container:o,elementPosition:"center",padding:"2px 2px 2px 8px",height:"28px",width:"auto",cursor:"pointer",margin:"auto"}),n.id="jp-NotebookLogo",e.shell.add(n,"top",{rank:0})}},I={id:"@jupyter-notebook/application-extension:opener",description:"A plugin to open documents in the main area.",autoStart:!0,requires:[n.IRouter,d.IDocumentManager],optional:[p.ISettingRegistry],activate:(e,t,o,n)=>{const{commands:a,docRegistry:i}=e,r="router:tree";a.addCommand(r,{execute:t=>{var a;const r=t,d=null!==(a=r.path.match(v))&&void 0!==a?a:[],[,,l]=d;l&&e.started.then((async()=>{var e;const t=decodeURIComponent(l),a=new URLSearchParams(r.search);let d=i.defaultWidgetFactory(l).name;if(n){const e=(await n.load("@jupyterlab/docmanager-extension:plugin")).get("defaultViewers").composite;i.getFileTypesForPath(l).forEach((t=>{void 0!==e[t.name]&&i.getWidgetFactory(e[t.name])&&(d=e[t.name])}))}const s=null!==(e=a.get("factory"))&&void 0!==e?e:d;o.open(t,s,void 0,{ref:"_noref"})}))}}),t.register({command:r,pattern:v})}},P={id:"@jupyter-notebook/application-extension:menus",description:"A plugin to customize menus.",requires:[s.IMainMenu],autoStart:!0,activate:(e,t)=>{switch(t.tabsMenu.dispose(),r.PageConfig.getOption("notebookPage")){case"consoles":case"terminals":case"tree":t.editMenu.dispose(),t.kernelMenu.dispose(),t.runMenu.dispose();break;case"edit":t.kernelMenu.dispose(),t.runMenu.dispose()}}},C={id:"@jupyter-notebook/application-extension:menu-spacer",description:"A plugin to provide a spacer at rank 900 in the menu area.",autoStart:!0,activate:e=>{const t=new f.Widget;t.id=a.DOMUtils.createDomID(),t.addClass("jp-NotebookSpacer"),e.shell.add(t,"menu",{rank:900})}},S={id:"@jupyter-notebook/application-extension:pages",description:"Add commands to open the tree and running pages.",autoStart:!0,requires:[u.ITranslator],optional:[a.ICommandPalette],activate:(e,t,o)=>{const n=t.load("notebook"),a=r.PageConfig.getBaseUrl();e.commands.addCommand(k.openLab,{label:n.__("Open JupyterLab"),execute:()=>{window.open(r.URLExt.join(a,"lab"))}});const i=r.PageConfig.getOption("notebookPage");e.commands.addCommand(k.openTree,{label:n.__("File Browser"),execute:()=>{"tree"===i?e.commands.execute("filebrowser:activate"):window.open(r.URLExt.join(a,"tree"))}}),o&&(o.addItem({command:k.openLab,category:"View"}),o.addItem({command:k.openTree,category:"View"}))}},T={id:"@jupyter-notebook/application-extension:path-opener",description:"A plugin to open paths in new browser tabs.",autoStart:!0,provides:g.INotebookPathOpener,activate:e=>g.defaultNotebookPathOpener},R={id:"@jupyter-notebook/application-extension:paths",description:"The default paths for a Jupyter Notebook app.",autoStart:!0,provides:n.JupyterFrontEnd.IPaths,activate:e=>{if(!(e instanceof g.NotebookApp))throw new Error(`${R.id} must be activated in Jupyter Notebook.`);return e.paths}},E={id:"@jupyter-notebook/application-extension:rendermime",description:"A plugin providing a rendermime registry.",autoStart:!0,provides:c.IRenderMimeRegistry,optional:[d.IDocumentManager,c.ILatexTypesetter,a.ISanitizer,c.IMarkdownParser,u.ITranslator,g.INotebookPathOpener],activate:(e,t,o,n,a,i,d)=>{const l=(null!=i?i:u.nullTranslator).load("jupyterlab"),s=null!=d?d:g.defaultNotebookPathOpener;return t&&e.commands.addCommand(k.handleLink,{label:l.__("Handle Local Link"),execute:e=>{const o=e.path;if(null!=o)return t.services.contents.get(o,{content:!1}).then((e=>{const t=r.PageConfig.getBaseUrl();s.open({prefix:r.URLExt.join(t,"tree"),path:e.path,target:"_blank"})}))}}),new c.RenderMimeRegistry({initialFactories:c.standardRendererFactories,linkHandler:t?{handleLink:(t,o,n)=>{"A"===t.tagName&&t.hasAttribute("download")||e.commandLinker.connectNode(t,k.handleLink,{path:o,id:n})}}:void 0,latexTypesetter:null!=o?o:void 0,markdownParser:null!=a?a:void 0,translator:null!=i?i:void 0,sanitizer:null!=n?n:void 0})}},_={id:"@jupyter-notebook/application-extension:shell",description:"The default Jupyter Notebook application shell.",autoStart:!0,provides:g.INotebookShell,optional:[p.ISettingRegistry],activate:(e,t)=>{if(!(e.shell instanceof g.NotebookShell))throw new Error(`${_.id} did not find a NotebookShell instance.`);const o=e.shell;return t&&t.load(_.id).then((e=>{const t=e.composite.layout;o.restoreLayout(t)})).catch((e=>{console.error("Fail to load settings for the layout restorer."),console.error(e)})),o}},L={id:"@jupyter-notebook/application-extension:splash",description:"Provides an empty splash screen.",autoStart:!0,provides:a.ISplashScreen,activate:e=>{const{restored:t}=e,o=document.createElement("div");return o.style.position="absolute",o.style.width="100%",o.style.height="100%",o.style.zIndex="10",{show:(e=!0)=>(o.style.backgroundColor=e?"white":"#111111",document.body.appendChild(o),new b.DisposableDelegate((async()=>{await t,document.body.removeChild(o)})))}}},j={id:"@jupyter-notebook/application-extension:status",description:"The default JupyterLab application status provider.",autoStart:!0,provides:n.ILabStatus,activate:e=>{if(!(e instanceof g.NotebookApp))throw new Error(`${j.id} must be activated in Jupyter Notebook.`);return e.status}},N={id:"@jupyter-notebook/application-extension:tab-title",description:"A plugin to display the document title in the browser tab title.",autoStart:!0,requires:[g.INotebookShell],activate:(e,t)=>{const o=()=>{const e=t.currentWidget;if(e instanceof i.ConsolePanel){const t=()=>{const t=e.sessionContext.path||e.sessionContext.name,o=r.PathExt.basename(t);document.title=o.replace(y,"")};return e.sessionContext.sessionChanged.connect(t),void t()}if(e instanceof l.DocumentWidget){const t=()=>{const t=r.PathExt.basename(e.context.path);document.title=t.replace(y,"")};e.context.pathChanged.connect(t),t()}};t.currentChanged.connect(o),o()}},H={id:"@jupyter-notebook/application-extension:title",description:"A plugin to display and rename the title of a file.",autoStart:!0,requires:[g.INotebookShell,u.ITranslator],optional:[d.IDocumentManager,n.IRouter,a.IToolbarWidgetRegistry],activate:(e,t,o,n,a,i)=>{const{commands:s}=e,c=o.load("notebook"),p=document.createElement("div");i&&i.addFactory("TopBar","widgetTitle",(e=>{const t=new f.Widget({node:p});return t.id="jp-title",t}));const u=async()=>{const e=t.currentWidget;if(!(e&&e instanceof l.DocumentWidget))return;if(p.children.length>0)return;const o=document.createElement("h1");if(o.textContent=e.title.label.replace(y,""),p.appendChild(o),p.style.marginLeft="10px",!n)return;const i=()=>{const{currentWidget:e}=t;return!(!e||!n.contextForWidget(e))};s.addCommand(k.rename,{label:()=>c.__("Rename…"),isEnabled:i,execute:async()=>{var t;if(!i())return;const l=await(0,d.renameDialog)(n,e.context);if(e&&e.activate(),null===l)return;const s=e.context.path,c=r.PathExt.basename(s);if(o.textContent=c.replace(y,""),!a)return;const p=null!==(t=a.current.path.match(v))&&void 0!==t?t:[],[,u,g]=p;if(!u||!g)return;const m=encodeURIComponent(s);a.navigate(`/${u}/${m}`,{skipRouting:!0})}}),p.onclick=async()=>{s.execute(k.rename)}};t.currentChanged.connect(u),u()}},A={id:"@jupyter-notebook/application-extension:top",description:"Plugin to toggle the top header visibility.",requires:[g.INotebookShell,u.ITranslator],optional:[p.ISettingRegistry,a.ICommandPalette],activate:(e,t,o,n,a)=>{const i=o.load("notebook"),r=t.top,d=A.id;e.commands.addCommand(k.toggleTop,{label:i.__("Show Header"),execute:()=>{r.setHidden(r.isVisible),n&&n.set(d,"visible",r.isVisible?"yes":"no")},isToggled:()=>r.isVisible});let l=!1;if(n){const t=n.load(d),o=e=>{let t=e.get("visible").composite;void 0!==e.user.visible&&(t=e.user.visible),r.setHidden("no"===t),l="automatic"===t};Promise.all([t,e.restored]).then((([e])=>{o(e),e.changed.connect((e=>{o(e)}))})).catch((e=>{console.error(e.message)}))}a&&a.addItem({command:k.toggleTop,category:"View"}),e.formatChanged.connect((()=>{l&&("desktop"===e.format?t.expandTop():t.collapseTop())}))},autoStart:!0},M={id:"@jupyter-notebook/application-extension:sidepanel",description:"Plugin to toggle the visibility of left or right side panel.",requires:[g.INotebookShell,u.ITranslator],optional:[s.IMainMenu,a.ICommandPalette],autoStart:!0,activate:(e,t,o,n,a)=>{const i=o.load("notebook");e.commands.addCommand(k.togglePanel,{label:e=>e.title,caption:e=>"left"===e.side?i.__("Show %1 in the left sidebar",e.title):"right"===e.side?i.__("Show %1 in the right sidebar",e.title):i.__("Show %1 in the sidebar",e.title),execute:e=>{var o,n;switch(e.side){case"left":t.leftCollapsed||(null===(o=t.leftHandler.currentWidget)||void 0===o?void 0:o.id)!==e.id?t.expandLeft(e.id):(t.collapseLeft(),t.currentWidget&&t.activateById(t.currentWidget.id));break;case"right":t.rightCollapsed||(null===(n=t.rightHandler.currentWidget)||void 0===n?void 0:n.id)!==e.id?t.expandRight(e.id):(t.collapseRight(),t.currentWidget&&t.activateById(t.currentWidget.id))}},isToggled:e=>{switch(e.side){case"left":{if(t.leftCollapsed)return!1;const o=t.leftHandler.currentWidget;return!!o&&o.id===e.id}case"right":{if(t.rightCollapsed)return!1;const o=t.rightHandler.currentWidget;return!!o&&o.id===e.id}}return!1}});const r={left:null,right:null},d=(o,a)=>{var i;if(null===n)return null;null===(i=r[o])||void 0===i||i.dispose();const d=new f.Menu({commands:e.commands});d.title.label=a;const l=t.widgets(o);let s=!1;for(const e of l)d.addItem({command:k.togglePanel,args:{side:o,title:`Show ${e.title.caption}`,id:e.id}}),s=!0;s&&(r[o]=n.viewMenu.addItem({type:"submenu",submenu:d}))};e.restored.then((()=>{if(n){const e=e=>"left"===e?i.__("Left Sidebar"):i.__("Right Sidebar"),o=t.leftHandler.area,n=e(o);d(o,n);const a=t.rightHandler.area,r=e(a);d(a,r);const l=(t,o)=>{const n=e(t.area);d(t.area,n)};t.leftHandler.widgetAdded.connect(l),t.leftHandler.widgetRemoved.connect(l),t.rightHandler.widgetAdded.connect(l),t.rightHandler.widgetRemoved.connect(l)}if(a){const e=new g.SidePanelPalette({commandPalette:a,command:k.togglePanel});t.leftHandler.widgets.forEach((o=>{e.addItem(o,t.leftHandler.area)})),t.rightHandler.widgets.forEach((o=>{e.addItem(o,t.rightHandler.area)})),t.leftHandler.widgetAdded.connect(((t,o)=>{e.addItem(o,t.area)})),t.leftHandler.widgetRemoved.connect(((t,o)=>{e.removeItem(o,t.area)})),t.rightHandler.widgetAdded.connect(((t,o)=>{e.addItem(o,t.area)})),t.rightHandler.widgetRemoved.connect(((t,o)=>{e.removeItem(o,t.area)}))}}))}},U={id:"@jupyter-notebook/application-extension:tree-resolver",description:"The default tree route resolver plugin.",autoStart:!0,requires:[n.IRouter],provides:n.JupyterFrontEnd.ITreeResolver,activate:(e,t)=>{const{commands:o}=e,n=new b.DisposableSet,a=new h.PromiseDelegate,i=new RegExp("/(/tree/.*)?");n.add(o.addCommand(k.resolveTree,{execute:async e=>{var t;if(n.isDisposed)return;const o=r.URLExt.queryStringToObject(null!==(t=e.search)&&void 0!==t?t:""),i=o["file-browser-path"]||"";delete o["file-browser-path"],n.dispose(),a.resolve({browser:i,file:r.PageConfig.getOption("treePath")})}})),n.add(t.register({command:k.resolveTree,pattern:i}));const d=()=>{n.isDisposed||(n.dispose(),a.resolve(null))};return t.routed.connect(d),n.add(new b.DisposableDelegate((()=>{t.routed.disconnect(d)}))),{paths:a.promise}}},W={id:"@jupyter-notebook/application-extension:tree-updater",description:"Plugin to update tree path.",requires:[n.IRouter],provides:n.ITreePathUpdater,activate:(e,t)=>function(e){if(e!==r.PageConfig.getOption("treePath")){const o=r.URLExt.join(r.PageConfig.getOption("baseUrl")||"/","tree",r.URLExt.encodeParts(e));t.navigate(o,{skipRouting:!0}),r.PageConfig.setOption("treePath",e)}},autoStart:!0},D={id:"@jupyter-notebook/application-extension:translator",description:"Translator plugin",requires:[g.INotebookShell,u.ITranslator],autoStart:!0,activate:(e,t,o)=>{t.translator=o}},O={id:"@jupyter-notebook/application-extension:zen",description:"Zen mode plugin.",autoStart:!0,requires:[u.ITranslator],optional:[a.ICommandPalette,g.INotebookShell],activate:(e,t,o,n)=>{const{commands:a}=e,i=document.documentElement,r=t.load("notebook"),d=()=>{null==n||n.expandTop(),null==n||n.menu.setHidden(!1),l=!1};let l=!1;a.addCommand(k.toggleZen,{label:r.__("Toggle Zen Mode"),execute:()=>{l?(document.exitFullscreen(),d()):(i.requestFullscreen(),null==n||n.collapseTop(),null==n||n.menu.setHidden(!0),l=!0)}}),document.addEventListener("fullscreenchange",(()=>{document.fullscreenElement||d()})),o&&o.addItem({command:k.toggleZen,category:"Mode"})}},q=[w,x,P,C,I,S,T,R,E,_,M,L,j,N,H,A,U,W,D,O]}}]);
|
notebook/static/8633.bundle.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[8633],{98633:(e,t,n)=>{n.r(t),n.d(t,{default:()=>y});var i,r=n(
|
|
1
|
+
"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[8633],{98633:(e,t,n)=>{n.r(t),n.d(t,{default:()=>y});var i,r=n(3053),a=n(12982),o=n(31536),d=n(68239),s=n(70856),c=n(24758),l=n(5787),g=n(36768),u=n(66853),p=n(71677);!function(e){e.open="settingeditor:open",e.openJSON="settingeditor:open-json",e.revert="settingeditor:revert",e.save="settingeditor:save"}(i||(i={}));const m={id:"@jupyterlab/settingeditor-extension:form-ui",description:"Adds the interactive settings editor and provides its tracker.",requires:[g.ISettingRegistry,u.IStateDB,p.ITranslator,d.IFormRendererRegistry,r.ILabStatus],optional:[r.ILayoutRestorer,a.ICommandPalette,c.g,l.IPluginManager],autoStart:!0,provides:c.O,activate:function(e,t,r,o,s,c,l,g,u,p){const v=o.load("jupyterlab"),{commands:y,shell:S}=e,b="setting-editor",I=new a.WidgetTracker({namespace:b});return l&&l.restore(I,{command:i.open,args:e=>({}),name:e=>b}),y.addCommand(i.open,{execute:async e=>{var l;"ui"===e.settingEditorType?y.execute(i.open,{query:null!==(l=e.query)&&void 0!==l?l:""}):"json"===e.settingEditorType?y.execute(i.openJSON):t.load(m.id).then((l=>{var g;"json"===l.get("settingEditorType").composite?y.execute(i.openJSON):(async e=>{if(I.currentWidget&&!I.currentWidget.isDisposed)return I.currentWidget.isAttached||S.add(I.currentWidget,"main",{type:"Settings"}),void S.activateById(I.currentWidget.id);const l=m.id,{SettingsEditor:g}=await n.e(8671).then(n.t.bind(n,68671,23)),h=new a.MainAreaWidget({content:new g({editorRegistry:s,key:l,registry:t,state:r,commands:y,toSkip:["@jupyterlab/application-extension:context-menu","@jupyterlab/mainmenu-extension:plugin"],translator:o,status:c,query:e.query})});h.toolbar.addItem("spacer",d.Toolbar.createSpacerItem()),p&&h.toolbar.addItem("open-plugin-manager",new d.ToolbarButton({onClick:async()=>{await p.open()},icon:d.launchIcon,label:v.__("Plugin Manager")})),u&&h.toolbar.addItem("open-json-editor",new d.CommandToolbarButton({commands:y,id:i.openJSON,icon:d.launchIcon,label:v.__("JSON Settings Editor")})),h.id=b,h.title.icon=d.settingsIcon,h.title.label=v.__("Settings"),h.title.closable=!0,I.add(h),S.add(h,"main",{type:"Settings"})})({query:null!==(g=e.query)&&void 0!==g?g:""})}))},label:e=>e.label?e.label:v.__("Settings Editor")}),g&&g.addItem({category:v.__("Settings"),command:i.open,args:{settingEditorType:"ui"}}),I}},v={id:"@jupyterlab/settingeditor-extension:plugin",description:"Adds the JSON settings editor and provides its tracker.",requires:[g.ISettingRegistry,o.IEditorServices,u.IStateDB,s.IRenderMimeRegistry,r.ILabStatus,p.ITranslator],optional:[r.ILayoutRestorer,a.ICommandPalette],autoStart:!0,provides:c.g,activate:function(e,t,r,o,s,c,l,g,u){const p=l.load("jupyterlab"),{commands:v,shell:y}=e,S="json-setting-editor",b=r.factoryService.newInlineEditor,I=new a.WidgetTracker({namespace:S});return g&&g.restore(I,{command:i.openJSON,args:e=>({}),name:e=>S}),v.addCommand(i.openJSON,{execute:async()=>{if(I.currentWidget&&!I.currentWidget.isDisposed)return I.currentWidget.isAttached||y.add(I.currentWidget,"main",{type:"Advanced Settings"}),void y.activateById(I.currentWidget.id);const r=m.id,g=e.restored,{JsonSettingEditor:u}=await n.e(8671).then(n.t.bind(n,68671,23)),h=new u({commands:{registry:v,revert:i.revert,save:i.save},editorFactory:b,key:r,registry:t,rendermime:s,state:o,translator:l,when:g});let w=null;h.commandsChanged.connect(((e,t)=>{t.forEach((e=>{v.notifyCommandChanged(e)})),h.canSaveRaw?w||(w=c.setDirty()):w&&(w.dispose(),w=null),h.disposed.connect((()=>{w&&w.dispose()}))}));const _=new a.MainAreaWidget({content:h});_.id=S,_.title.icon=d.settingsIcon,_.title.label=p.__("Advanced Settings Editor"),_.title.closable=!0,I.add(_),y.add(_,"main",{type:"Advanced Settings"})},label:p.__("Advanced Settings Editor")}),u&&u.addItem({category:p.__("Settings"),command:i.openJSON}),v.addCommand(i.revert,{execute:()=>{var e;null===(e=I.currentWidget)||void 0===e||e.content.revert()},icon:d.undoIcon,label:p.__("Revert User Settings"),isEnabled:()=>{var e,t;return null!==(t=null===(e=I.currentWidget)||void 0===e?void 0:e.content.canRevertRaw)&&void 0!==t&&t}}),v.addCommand(i.save,{execute:()=>{var e;return null===(e=I.currentWidget)||void 0===e?void 0:e.content.save()},icon:d.saveIcon,label:p.__("Save User Settings"),isEnabled:()=>{var e,t;return null!==(t=null===(e=I.currentWidget)||void 0===e?void 0:e.content.canSaveRaw)&&void 0!==t&&t}}),I}},y=[m,v]},24758:(e,t,n)=>{n.d(t,{O:()=>r,g:()=>a});var i=n(20998);const r=new i.Token("@jupyterlab/settingeditor:ISettingEditorTracker","A widget tracker for the interactive setting editor.\n Use this if you want to be able to iterate over and interact with setting editors\n created by the application."),a=new i.Token("@jupyterlab/settingeditor:IJSONSettingEditorTracker","A widget tracker for the JSON setting editor.\n Use this if you want to be able to iterate over and interact with setting editors\n created by the application.")}}]);
|
notebook/static/8768.bundle.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[8768],{98768:(t,i,n)=>{n.d(i,{diagram:()=>h});var s=n(24028),e=(n(27693),n(7608),n(23617),n(
|
|
1
|
+
"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[8768],{98768:(t,i,n)=>{n.d(i,{diagram:()=>h});var s=n(24028),e=(n(27693),n(7608),n(23617),n(31699),function(){var t=function(t,i,n,s){for(n=n||{},s=t.length;s--;n[t[s]]=i);return n},i=[6,9,10],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,i,n,s,e,r,h){switch(r.length,e){case 1:return s;case 4:break;case 6:s.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(i,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(i,[2,3]),t(i,[2,4]),t(i,[2,5]),t(i,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,i){if(!i.recoverable){var n=new Error(t);throw n.hash=i,n}this.trace(t)},parse:function(t){var i=[0],n=[],s=[null],e=[],r=this.table,h="",o=0,l=0,c=e.slice.call(arguments,1),a=Object.create(this.lexer),y={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(y.yy[u]=this.yy[u]);a.setInput(t,y.yy),y.yy.lexer=a,y.yy.parser=this,void 0===a.yylloc&&(a.yylloc={});var p=a.yylloc;e.push(p);var f=a.options&&a.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,_,m,d,k,x,b,v,E,w={};;){if(_=i[i.length-1],this.defaultActions[_]?m=this.defaultActions[_]:(null==g&&(E=void 0,"number"!=typeof(E=n.pop()||a.lex()||1)&&(E instanceof Array&&(E=(n=E).pop()),E=this.symbols_[E]||E),g=E),m=r[_]&&r[_][g]),void 0===m||!m.length||!m[0]){var I;for(k in v=[],r[_])this.terminals_[k]&&k>2&&v.push("'"+this.terminals_[k]+"'");I=a.showPosition?"Parse error on line "+(o+1)+":\n"+a.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(I,{text:a.match,token:this.terminals_[g]||g,line:a.yylineno,loc:p,expected:v})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+g);switch(m[0]){case 1:i.push(g),s.push(a.yytext),e.push(a.yylloc),i.push(m[1]),g=null,l=a.yyleng,h=a.yytext,o=a.yylineno,p=a.yylloc;break;case 2:if(x=this.productions_[m[1]][1],w.$=s[s.length-x],w._$={first_line:e[e.length-(x||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(x||1)].first_column,last_column:e[e.length-1].last_column},f&&(w._$.range=[e[e.length-(x||1)].range[0],e[e.length-1].range[1]]),void 0!==(d=this.performAction.apply(w,[h,l,o,y.yy,m[1],s,e].concat(c))))return d;x&&(i=i.slice(0,-1*x*2),s=s.slice(0,-1*x),e=e.slice(0,-1*x)),i.push(this.productions_[m[1]][0]),s.push(w.$),e.push(w._$),b=r[i[i.length-2]][i[i.length-1]],i.push(b);break;case 3:return!0}}return!0}},s={EOF:1,parseError:function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},test_match:function(t,i){var n,s,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in e)this[r]=e[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,i,n,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),r=0;r<e.length;r++)if((n=this._input.match(this.rules[e[r]]))&&(!i||n[0].length>i[0].length)){if(i=n,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,e[r])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,e[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,i,n,s){switch(n){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};function e(){this.yy={}}return n.lexer=s,e.prototype=n,n.Parser=e,new e}());e.parser=e;let r=false;const h={parser:e,db:{clear:()=>{r=false},setInfo:t=>{r=t},getInfo:()=>r},renderer:{draw:(t,i,n)=>{s.l.debug("rendering info diagram\n"+t);const e=(0,s.z)(i);(0,s.i)(e,100,400,!0),e.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${n}`)}}}}}]);
|