UNPKG

@sassoftware/content-components

Version:

The content you create in SAS Viya can now be accessed in your websites and web apps using the new SAS Content SDK. Choose specific content items, or show the contents of an entire folder. Filter content by type and control what happens when content is se

6 lines 2.05 MB
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(window,(function(){return function(e){function t(t){for(var n,r,a=t[0],i=t[1],l=0,c=[];l<a.length;l++)r=a[l],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&c.push(o[r][0]),o[r]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(s&&s(t);c.length;)c.shift()()}var n={},o={"content-sdk-components":0};function r(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.e=function(e){var t=[],n=o[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,r){n=o[e]=[t,r]}));t.push(n[2]=a);var i,l=document.createElement("script");l.charset="utf-8",l.timeout=120,r.nc&&l.setAttribute("nonce",r.nc),l.src=function(e){return r.p+""+e+".content-sdk-components.js"}(e);var s=new Error;i=function(t){l.onerror=l.onload=null,clearTimeout(c);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",s.name="ChunkLoadError",s.type=r,s.request=a,n[1](s)}o[e]=void 0}};var c=setTimeout((function(){i({type:"timeout",target:l})}),12e4);l.onerror=l.onload=i,document.head.appendChild(l)}return Promise.all(t)},r.m=e,r.c=n,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],i=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var s=i;return r(r.s=404)}([function(e,t,n){"use strict";e.exports=n(243)},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){var o; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)&&o.length){var i=r.apply(null,o);i&&e.push(i)}else if("object"===a)for(var l in o)n.call(o,l)&&o[l]&&e.push(l)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s}));var o=n(107),r=n(13);const a={},i=e=>a[e],l=e=>{a[e.name]=Object(o.a)(e)},s=e=>(l(Object(o.a)(e)),Object(r.e)(e.name),()=>Object(r.g)(e.name))},function(e,t,n){var o=n(250);e.exports=function(e,t){if(null==e)return{};var n,r,a=o(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){e.exports=JSON.parse('{"groupHeader":"sas_components-Table-Table_group-header","gridCell":"sas_components-Table-Table_grid-cell","headerRow":"sas_components-Table-Table_header-row","table":"sas_components-Table-Table_table","outerContainer":"sas_components-Table-Table_outer-container","hbar":"sas_components-Table-Table_hbar","hasBorder":"sas_components-Table-Table_has-border","hasFrozenColumn":"sas_components-Table-Table_has-frozen-column","rowGroup":"sas_components-Table-Table_row-group","row":"sas_components-Table-Table_row","headerSection":"sas_components-Table-Table_header-section","headerContainer":"sas_components-Table-Table_header-container","headerActionContainer":"sas_components-Table-Table_header-action-container","headerActionButton":"sas_components-Table-Table_header-action-button","disabled":"sas_components-Table-Table_disabled","selectionCell":"sas_components-Table-Table_selection-cell","gridCellContentContainer":"sas_components-Table-Table_grid-cell-content-container","lastFrozenColumn":"sas_components-Table-Table_last-frozen-column","gridCellContent":"sas_components-Table-Table_grid-cell-content","heading":"sas_components-Table-Table_heading","headerAccessoryContainer":"sas_components-Table-Table_header-accessory-container","headerAccessory":"sas_components-Table-Table_header-accessory","headerAccessoryIcon":"sas_components-Table-Table_header-accessory-icon","headerAccessoryHelpPopup":"sas_components-Table-Table_header-accessory-helpPopup","headerAccessorySort":"sas_components-Table-Table_header-accessory-sort","bodyContainer":"sas_components-Table-Table_body-container","emptyRow":"sas_components-Table-Table_empty-row","ghost":"sas_components-Table-Table_ghost","ghostBottom":"sas_components-Table-Table_ghost-bottom","ghostTop":"sas_components-Table-Table_ghost-top","dropIndicator":"sas_components-Table-Table_drop-indicator","rowCount":"sas_components-Table-Table_row-count","gridCellNoSelection":"sas_components-Table-Table_grid-cell-no-selection","direction":{"ltr":"sas_components-Table-Table_direction_ltr","rtl":"sas_components-Table-Table_direction_rtl"},"disabledRow":"sas_components-Table-Table_disabled-row","rowSeparator":"sas_components-Table-Table_row-separator","alternateRowShading":"sas_components-Table-Table_alternate-row-shading","bodyRow":"sas_components-Table-Table_body-row","hideStateStyles":"sas_components-Table-Table_hide-state-styles","activate":"sas_components-Table-Table_activate","hideHoverStateStyles":"sas_components-Table-Table_hide-hover-state-styles","readOnlyRow":"sas_components-Table-Table_read-only-row","selectionModeNone":"sas_components-Table-Table_selection-mode-none","readOnly":"sas_components-Table-Table_readOnly","hidePressedStateStyles":"sas_components-Table-Table_hide-pressed-state-styles","pressed":"sas_components-Table-Table_pressed","hideSelectedStateStyles":"sas_components-Table-Table_hide-selected-state-styles","selectionBorderDashed":"sas_components-Table-Table_selection-border-dashed","selected":"sas_components-Table-Table_selected","cellSelectionBorderAbove":"sas_components-Table-Table_cell-selection-border-above","cellSelectionBorderBelow":"sas_components-Table-Table_cell-selection-border-below","cellSelectionBorderPrev":"sas_components-Table-Table_cell-selection-border-prev","cellSelectionBorderNext":"sas_components-Table-Table_cell-selection-border-next","selectionBorderSolid":"sas_components-Table-Table_selection-border-solid","selectionAccent":"sas_components-Table-Table_selection-accent","frozen":"sas_components-Table-Table_frozen","frozenResizing":"sas_components-Table-Table_frozen-resizing","nonFrozenResizing":"sas_components-Table-Table_non-frozen-resizing","showFocus":"sas_components-Table-Table_showFocus","fauxcus":"sas_components-Table-Table_fauxcus","resizeIcon":"sas_components-Table-Table_resizeIcon","contextArea":"sas_components-Table-Table_context-area","resizeColumnInProgressIcon":"sas_components-Table-Table_resize-column-in-progress-icon","cellSelectionBorder":"sas_components-Table-Table_cell-selection-border","borderHighlighting":"sas_components-Table-Table_border-highlighting","gridCellContentFocuslock":"sas_components-Table-Table_grid-cell-content-focuslock"}')},function(e,t,n){"use strict";n.r(t),n.d(t,"eventBus",(function(){return o.a})),n.d(t,"configuredLanguage",(function(){return r.b})),n.d(t,"initI18next",(function(){return r.e})),n.d(t,"waitForInit",(function(){return r.i})),n.d(t,"loadBundle",(function(){return r.f})),n.d(t,"getTextLocalizer",(function(){return r.d})),n.d(t,"_getTextLocalizer",(function(){return r.a})),n.d(t,"setLanguage",(function(){return r.h})),n.d(t,"onLanguageChange",(function(){return r.g})),n.d(t,"getLanguage",(function(){return r.c})),n.d(t,"isSystemThemeType",(function(){return a.a})),n.d(t,"getIdentity",(function(){return i.c})),n.d(t,"getIdentityAvatar",(function(){return i.d})),n.d(t,"getIdentityAvatarSrc",(function(){return i.e})),n.d(t,"getIdentityList",(function(){return i.f})),n.d(t,"getIdentityListByIds",(function(){return i.g})),n.d(t,"saveAvatar",(function(){return i.i})),n.d(t,"deleteAvatar",(function(){return i.a})),n.d(t,"hasElevatedPrivileges",(function(){return i.h})),n.d(t,"getFilterIdentityListByIds",(function(){return i.b})),n.d(t,"ping",(function(){return l.a})),n.d(t,"signout",(function(){return s.a})),n.d(t,"appReadyEvent",(function(){return c.a})),n.d(t,"signoutEvent",(function(){return c.e})),n.d(t,"doSignoutEvent",(function(){return c.d})),n.d(t,"beforeTimeoutEvent",(function(){return c.c})),n.d(t,"appUpdatedEvent",(function(){return c.b})),n.d(t,"axiosReady",(function(){return u.c})),n.d(t,"HeaderName",(function(){return u.a})),n.d(t,"Method",(function(){return u.b})),n.d(t,"axios",(function(){return d.b})),n.d(t,"getConfiguration",(function(){return A.a})),n.d(t,"initConfiguration",(function(){return A.b})),n.d(t,"createApplicationSwitcher",(function(){return g.a})),n.d(t,"getApplicationSwitcher",(function(){return g.b})),n.d(t,"setApplicationSwitcher",(function(){return g.c})),n.d(t,"enableAppSwitcher",(function(){return p.a})),n.d(t,"isAppSwitcherEnabled",(function(){return p.b}));var o=n(35),r=n(21),a=n(123),i=n(78),l=n(125),s=n(124),c=n(127),u=n(16),d=n(91),A=n(65),g=n(171),p=(n(128),n(68))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));const o=["debug","info","warn","error","none"],r=o.indexOf("error"),a=o.length-1,i=e=>{const t=o.indexOf(e);return t>-1?t:r},l=new URLSearchParams(window.location.search).getAll("nova-log").reduce((e,t)=>{const n=t.split(",").filter(e=>!!e);for(const t of n)if(t.includes(":")){const n=t.split(":");e[n[0]]=i(n[1])}else e[""]=i(t);return e},{"":r}),s=(e="")=>{var t;const n=null!==(t=l[e])&&void 0!==t?t:a,o=l[""];return Math.min(n,o)},c=(e,t="")=>{l[t]=o.indexOf(e)},u=(e="")=>o[s(e)],d=new Intl.DateTimeFormat(void 0,{hour:"numeric",minute:"numeric",second:"numeric",fractionalSecondDigits:3}),A=(e,t,n)=>{if(e>=s(t)){const r=o[e],a=(()=>{switch(typeof n){case"function":return n();case"object":return JSON.stringify(n);default:return n}})();if("none"===r)return;console[r](((e,t,n)=>`${d.format(Date.now())} ${n.toUpperCase()} ${t?t+": ":""}${e}`)(a,t,r))}},g=(e="")=>o.reduce((t,n,o)=>("none"!==n&&(t[n]=t=>A(o,e,t)),t),{});var p;(p=window).sas=p.sas||{},Object.isFrozen(p.sas)?g("Logging").warn("Could not create globally accessible nova logger"):(p.sas.nova=p.sas.nova||{},p.sas.nova.logging={getLogger:g,getLogLevel:u,setLogLevel:c})},function(e){e.exports=JSON.parse('{"dropZone":"sas_components-TabBar-__internal__-Tab_drop-zone","droppable":"sas_components-TabBar-__internal__-Tab_droppable","horizontal":"sas_components-TabBar-__internal__-Tab_horizontal","bar":"sas_components-TabBar-__internal__-Tab_bar","tab":"sas_components-TabBar-__internal__-Tab_tab","icon":"sas_components-TabBar-__internal__-Tab_icon","selected":"sas_components-TabBar-__internal__-Tab_selected","hideIndicator":"sas_components-TabBar-__internal__-Tab_hide-indicator","alternate":"sas_components-TabBar-__internal__-Tab_alternate","standardSmall":"sas_components-TabBar-__internal__-Tab_standard-small","text":"sas_components-TabBar-__internal__-Tab_text","disabled":"sas_components-TabBar-__internal__-Tab_disabled","collapsed":"sas_components-TabBar-__internal__-Tab_collapsed","iconButton":"sas_components-TabBar-__internal__-Tab_icon-button","withMenu":"sas_components-TabBar-__internal__-Tab_with-menu","withClosable":"sas_components-TabBar-__internal__-Tab_with-closable","addButtonContainer":"sas_components-TabBar-__internal__-Tab_add-button-container","tabOverFlow":"sas_components-TabBar-__internal__-Tab_tab-over-flow","endOfTabBar":"sas_components-TabBar-__internal__-Tab_end-of-tabBar","stretchToFit":"sas_components-TabBar-__internal__-Tab_stretch-to-fit","contentList":"sas_components-TabBar-__internal__-Tab_content-list","indicator":"sas_components-TabBar-__internal__-Tab_indicator","placeStart":"sas_components-TabBar-__internal__-Tab_place-start","vertical":"sas_components-TabBar-__internal__-Tab_vertical","shiftStart":"sas_components-TabBar-__internal__-Tab_shift-start","sticky":"sas_components-TabBar-__internal__-Tab_sticky","fillwidth":"sas_components-TabBar-__internal__-Tab_fillwidth","tabListHeightAuto":"sas_components-TabBar-__internal__-Tab_tab-list-height-auto","placeEnd":"sas_components-TabBar-__internal__-Tab_place-end","iconOnly":"sas_components-TabBar-__internal__-Tab_icon-only","iconButtonContainer":"sas_components-TabBar-__internal__-Tab_icon-button-container","addButton":"sas_components-TabBar-__internal__-Tab_add-button","expandCollapseButton":"sas_components-TabBar-__internal__-Tab_expand-collapse-button","tabOverflowButton":"sas_components-TabBar-__internal__-Tab_tab-overflow-button","expanded":"sas_components-TabBar-__internal__-Tab_expanded","alignEnd":"sas_components-TabBar-__internal__-Tab_align-end","alignStart":"sas_components-TabBar-__internal__-Tab_align-start","dragableTab":"sas_components-TabBar-__internal__-Tab_dragableTab"}')},function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"i",(function(){return i})),n.d(t,"h",(function(){return p})),n.d(t,"d",(function(){return f})),n.d(t,"g",(function(){return I})),n.d(t,"a",(function(){return Q})),n.d(t,"k",(function(){return j})),n.d(t,"c",(function(){return k})),n.d(t,"j",(function(){return L})),n.d(t,"e",(function(){return U})),n.d(t,"b",(function(){return K}));var o=n(8);const r=e=>e.replace(/'/g,"''"),a=(e,t,...n)=>{const o=r(t),a=n.map(e=>r(e)).join("','");return`${e}(${encodeURIComponent(`${o},'${a}'`).replace(/['()]/g,escape)})`},i=(e,t,n)=>`${e}(${t}${encodeURIComponent(",")}${n})`;var l=n(10);let s;function c(e){return t=>{var n,o;const r=null===(n=t.response)||void 0===n||null===(o=n.data)||void 0===o?void 0:o.message;return`(${e}) ${r?"ServiceError: "+r:t}`}}!function(e){e.App="app",e.Feature="feature",e.User="user",e.Group="group"}(s||(s={}));Object(l.a)("featureFlags"),c("root links");Object(l.a)("featureFlags"),c("enabled states");var u=n(6),d=n.n(u);let A;!function(e){e.None="none",e.Release="release",e.Experimental="experimental",e.Permissioning="permissioning"}(A||(A={}));Object(l.a)("featureFlags"),c("features");var g=n(16);n(78),n(124),n(123);function p(e,t){return null==t?void 0:t.find(t=>t.rel===e)}const m="application/json";function f(e,t){const n=e.method.toLowerCase(),r={method:n};t&&Object.assign(r,t);let a=e.uri;if(t&&t.params){const e=Object.assign({},t.params);Object.keys(e).forEach(t=>{const n=a.indexOf(`{${t}}`);n>=0&&(a=a.slice(0,n)+encodeURIComponent(e[t])+a.slice(n+t.length+2),delete e[t])}),r.params=e}r.url||(r.url=a);const i={};return["get","delete"].includes(n)?(b(i,"Accept",e.type,m),b(i,"Accept-Item",e.itemType)):["post","put","patch"].includes(n)&&(b(i,"Content-Type",e.type,m),b(i,"Content-Item-Type",e.itemType),b(i,"Accept",e.responseType,m),b(i,"Accept-Item",e.responseItemType)),Object.keys(i).length>0&&(t&&t.headers&&Object.assign(i,t.headers),r.headers=i),Object(o.axios)(r)}function b(e,t,n,o){void 0!==n?(n.toLowerCase().includes("json")||(n+="+json"),e[t]=n):void 0!==o&&(e[t]=o)}const h={getSoftwareInfo:()=>(console.error("Incorrect HelpCenter data provider."),Promise.reject())},C=()=>h;function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){d()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const I=async e=>{const{dataProvider:t=C(),invertColors:n,customParams:r}=null!=e?e:{},a=await Object(o.getConfiguration)(),i=y(a);if(!i.softwareVersion&&t.getSoftwareInfo)try{i.softwareVersion=(await t.getSoftwareInfo()).softwareVersion}catch{}const l=E(E({},i),{},{requestor:"inapp",theme:n?"hc":void 0});return B(E(E({},l),r))},B=e=>{const t=[];for(const n of Object.keys(e)){const o=e[n];o&&t.push(`${encodeURIComponent(n)}=${encodeURIComponent(o)}`)}return"http://documentation.sas.com/?"+t.join("&")},y=e=>{if(null===e)return{};const t=e.get("help");return{softwareVersion:null==t?void 0:t.softwareVersion,softwareSpecialConfig:null==t?void 0:t.softwareSpecialConfig,softwareId:(null==t?void 0:t.softwareId)||e.get("appId"),softwareContextId:(null==t?void 0:t.softwareContextId)||e.get("appId")}};n(125);const Q=async(e,t)=>{const n=Object.assign({headers:{Accept:"application/vnd.sas.activities.activity+json","Content-Type":"application/vnd.sas.activities.activity+json"}},t),{data:r}=await o.axios.post("/activities/activities",e,n);return r};var w=n(0),O=n(43),S=n.n(O),x=n(15);const D=[0,200,500,1e3,2e3,3e3,5e3,1e4];function j(e){const[t,n]=Object(w.useState)(),[o,r]=Object(w.useState)(!1),a=Object(w.useCallback)(e=>{n(e)},[]);Object(w.useEffect)(()=>{n(void 0),r(!1)},[e.createJobFn,e.jobHash]);const i=Object(w.useMemo)(()=>{if(e.createJobFn&&e.jobHash){const t=e.createJobFn,n=e.jobHash;return()=>{const o=S.a.CancelToken.source();r(!0);const i=k(t,a,n,{cancelToken:o.token,disableUpdateOnCompletion:e.disableUpdateOnCompletion});return i.cancel=()=>{o.cancel("Job cancelled")},i}}},[e.createJobFn,e.disableUpdateOnCompletion,e.jobHash,a]),l=Object(w.useMemo)(()=>{if(e.jobHash){const t=e.jobHash;return()=>{P(t,a)}}},[e.jobHash,a]);return!e.deferJobCreation&&!o&&e.createJobFn&&e.jobHash&&(null==i||i()),{job:t,isAwaitingInitialResponse:!t&&o,createJob:i,registerJobCallback:l}}async function k(e,t,n,o){try{var r;if(N(null==o?void 0:o.cancelToken),M(n))throw Error("TODO: better error message");P(n,t,!0);const a=null!==(r=null==o?void 0:o.jobDelays)&&void 0!==r?r:D;let i,l,s,c=0;for(;!l;){if(N(null==o?void 0:o.cancelToken),i)try{const e=p("self",i.links);if(!e)throw Error(`No polling link found for job with jobHash "${n}"`);s=await f(e,{params:{wait:0},cancelToken:null==o?void 0:o.cancelToken}),i=s.data}catch(e){throw Error(`Problem polling job with hash "${n}":\n${e}`)}else try{i=await e(null==o?void 0:o.cancelToken)}catch(e){throw Error(`Problem creating job with hash "${n}":\n${e}`)}switch(N(null==o?void 0:o.cancelToken),i.state){case"running":case"pending":case"canceling":_(n,i),await Object(x.e)(a[c<a.length-1?c++:c]);break;case"completed":case"completedWithErrors":case"canceled":case"skipped":case"failed":l=i,(null==o?void 0:o.disableUpdateOnCompletion)||_(n,l)}}return l}finally{F(n)}}const N=e=>{if(null==e?void 0:e.reason)throw new Error(`Job cancelled, reason: "${e.reason.message}"`)},T=new Map;function P(e,t,n){const o=T.get(e);!!(null==o?void 0:o.find(e=>e===t))||(o?o.push(t):n&&T.set(e,[t]))}const M=e=>T.has(e);function _(e,t){const n=T.get(e);if(n)for(const e of n)e(t)}const F=e=>{T.delete(e)},L=e=>JSON.stringify(e,(e,t)=>R(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t),R=e=>{if(!z(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!z(n)&&!!n.hasOwnProperty("isPrototypeOf")},z=e=>"[object Object]"===Object.prototype.toString.call(e),U=async(e,t,n,o)=>{try{const{data:r}=await g.d.post("/authorization/decisions",{request:{uri:e},principals:[{version:1,name:n,type:o}],permission:t},{headers:{Accept:"application/vnd.sas.authorization.decision+json","Content-Type":"application/vnd.sas.authorization.context+json"}});return r}catch(e){var r;if(403===(null===(r=e.response)||void 0===r?void 0:r.status))return!1;throw e}},K=async({uri:e,permissions:t,principal:n,principalType:o,type:r,description:a,expires:i})=>{if(!n)throw"principal must be provided if principalType is 'user' or 'group'";let l=[];if("string"==typeof t)l=[t];else{if(!Array.isArray(t))throw"invalid permissions. permissions must be an array of read|update|delete|secure";l=t}const s={type:r,objectUri:e,permissions:l,principalType:o,principal:n};if(a&&(s.description=a),i){let e=0;if(i instanceof Date)isNaN(i.valueOf())||(e=i.getTime());else if(!isNaN(i)||i<0)throw'"expires" prop must be a numeric timestamp or a Date object';s.expirationTimeStamp=e}try{const{data:e}=await g.d.post("/authorization/rules",s,{headers:{Accept:"application/vnd.sas.authorization.rule+json","Content-Type":"application/vnd.sas.authorization.rule+json"}});return e}catch(e){throw e}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return j.c})),n.d(t,"c",(function(){return j.d})),n.d(t,"e",(function(){return j.f})),n.d(t,"d",(function(){return k})),n.d(t,"g",(function(){return N})),n.d(t,"f",(function(){return T}));var o=n(197),r=n.n(o),a=n(131),i=n.n(a),l=n(0),s=n.n(l),c=n(195),u=n.n(c),d=n(196),A=n.n(d);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m,f={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0},b=s.a.createContext();function h(){return f}var C=function(){function e(){u()(this,e),this.usedNamespaces={}}return A()(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function v(){return m}var E={type:"3rdParty",init:function(e){!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f=p(p({},f),e)}(e.options.react),function(e){m=e}(e)}};function I(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];"string"==typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var B={};function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&B[t[0]]||("string"==typeof t[0]&&(B[t[0]]=new Date),I.apply(void 0,t))}function Q(e,t,n){e.loadNamespaces(t,(function(){if(e.isInitialized)n();else{e.on("initialized",(function t(){setTimeout((function(){e.off("initialized",t)}),0),n()}))}}))}function w(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.languages[0],r=!!t.options&&t.options.fallbackLng,a=t.languages[t.languages.length-1];if("cimode"===o.toLowerCase())return!0;var i=function(e,n){var o=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===o||2===o};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!i(t.isLanguageChangingTo,e))&&(!!t.hasResourceBundle(o,e)||(!(t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages))||!(!i(o,e)||r&&!i(a,e))))}function O(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.languages||!t.languages.length)return y("i18n.languages were undefined or empty",t.languages),!0;var o=void 0!==t.options.ignoreJSONStructure;return o?t.hasLoadedNamespace(e,{precheck:function(t,o){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e))return!1}}):w(e,t,n)}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=n(31),j=n(21);function k(e,t,n){return Object(j.e)({backends:e,backendOptions:t,initialLanguage:n,modules:[E]})}const N=e=>{const{t:t}=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,o=Object(l.useContext)(b)||{},a=o.i18n,i=o.defaultNS,s=n||a||v();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new C),!s){y("You will need to pass in an i18next instance by using initReactI18next");var c=function(e){return Array.isArray(e)?e[e.length-1]:e},u=[c,{},!1];return u.t=c,u.i18n={},u.ready=!1,u}s.options.react&&void 0!==s.options.react.wait&&y("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var d=x(x(x({},h()),s.options.react),t),A=d.useSuspense,g=d.keyPrefix,p=e||i||s.options&&s.options.defaultNS;p="string"==typeof p?[p]:p||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(p);var m=(s.isInitialized||s.initializedStoreOnce)&&p.every((function(e){return O(e,s,d)}));function f(){return s.getFixedT(null,"fallback"===d.nsMode?p:p[0],g)}var E=Object(l.useState)(f),I=r()(E,2),B=I[0],w=I[1],S=Object(l.useRef)(!0);Object(l.useEffect)((function(){var e=d.bindI18n,t=d.bindI18nStore;function n(){S.current&&w(f)}return S.current=!0,m||A||Q(s,p,(function(){S.current&&w(f)})),e&&s&&s.on(e,n),t&&s&&s.store.on(t,n),function(){S.current=!1,e&&s&&e.split(" ").forEach((function(e){return s.off(e,n)})),t&&s&&t.split(" ").forEach((function(e){return s.store.off(e,n)}))}}),[s,p.join()]);var D=Object(l.useRef)(!0);Object(l.useEffect)((function(){S.current&&!D.current&&w(f),D.current=!1}),[s]);var j=[B,s,m];if(j.t=B,j.i18n=s,j.ready=m,m)return j;if(!m&&!A)return j;throw new Promise((function(e){Q(s,p,(function(){e()}))}))}(e);return Object(l.useCallback)((n,o)=>t(`${e}:${e}.${n}`,o),[t,e])},T=()=>{var e;const[t,n]=Object(l.useState)(null!==(e=D.a.language)&&void 0!==e?e:j.b);var o;return o=n,Object(l.useEffect)(()=>Object(j.g)(o),[o]),t};t.a=N},function(e){e.exports=JSON.parse('{"container":"sas_components-Calendar-Calendar_container","headerMonthYearContainer":"sas_components-Calendar-Calendar_header-month-year-container","header":"sas_components-Calendar-Calendar_header","headerYearInput":"sas_components-Calendar-Calendar_header-year-input","headerMonthButton":"sas_components-Calendar-Calendar_header-month-button","calendar":"sas_components-Calendar-Calendar_calendar","monthRow":"sas_components-Calendar-Calendar_month-row","weekdayHeader":"sas_components-Calendar-Calendar_weekday-header","withWeekNumbers":"sas_components-Calendar-Calendar_with-week-numbers","legendSpecialDay":"sas_components-Calendar-Calendar_legend-special-day","legendDisabled":"sas_components-Calendar-Calendar_legend-disabled","legendSelected":"sas_components-Calendar-Calendar_legend-selected","legendToday":"sas_components-Calendar-Calendar_legend-today","legendNonWorkDay":"sas_components-Calendar-Calendar_legend-non-work-day","specialDay":"sas_components-Calendar-Calendar_special-day","nonWorkDay":"sas_components-Calendar-Calendar_non-work-day","weekNumberCell":"sas_components-Calendar-Calendar_week-number-cell","weekdayHeaderCell":"sas_components-Calendar-Calendar_weekday-header-cell","dayCell":"sas_components-Calendar-Calendar_day-cell","dayCellFocused":"sas_components-Calendar-Calendar_day-cell-focused","dayCellToday":"sas_components-Calendar-Calendar_day-cell-today","dayCellExternal":"sas_components-Calendar-Calendar_day-cell-external","dayCellSelected":"sas_components-Calendar-Calendar_day-cell-selected","dayCellInterval":"sas_components-Calendar-Calendar_day-cell-interval","dayCellDisabled":"sas_components-Calendar-Calendar_day-cell-disabled","dayCellContent":"sas_components-Calendar-Calendar_day-cell-content","selected":"sas_components-Calendar-Calendar_selected","legend":"sas_components-Calendar-Calendar_legend","legendItem":"sas_components-Calendar-Calendar_legend-item","legendSpacer":"sas_components-Calendar-Calendar_legend-spacer","legendSquare":"sas_components-Calendar-Calendar_legend-square","legendText":"sas_components-Calendar-Calendar_legend-text","todayButton":"sas_components-Calendar-Calendar_today-button","todayButtonFooter":"sas_components-Calendar-Calendar_today-button-footer"}')},function(e,t,n){"use strict";function o(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Date){const t=new Date;return t.setTime(e.getTime()),t}if(e instanceof Array){const t=[];for(let n=0,r=e.length;n<r;n++)t[n]=o(e[n]);return t}if(e instanceof Object){const t={};for(const n in e)e.hasOwnProperty(n)&&(t[n]=o(e[n]));return t}throw new Error("Unable to copy obj! Its type isn't supported.")}n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return l}));const r=function(e){if("object"!=typeof e||null===e)return e;const t=Object.getOwnPropertyNames(e);for(const n of t){const t=e[n];"object"==typeof t&&null!==t&&r(t)}return Object.freeze(e)};function a(){const e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}const i=e=>new Promise(t=>setTimeout(t,e));function l(){var e;const t=null===(e=document.getElementById("sas-nc-style"))||void 0===e?void 0:e.nonce;return/^{{.*}}$/.test(t)?void 0:t}},function(e,t,n){"use strict";var o=n(91);n.d(t,"c",(function(){return o.a}));var r=n(67);n.d(t,"a",(function(){return r.a}));var a=n(43);n.d(t,"b",(function(){return a.Method})),t.d=o.b},function(e){e.exports=JSON.parse('{"list":"sas_components-ListBox-List_list","item":"sas_components-ListBox-List_item","itemHoverable":"sas_components-ListBox-List_item-hoverable","disabled":"sas_components-ListBox-List_disabled","selected":"sas_components-ListBox-List_selected","itemSeparator":"sas_components-ListBox-List_item-separator","itemTopSeparator":"sas_components-ListBox-List_item-top-separator","itemIcon":"sas_components-ListBox-List_item-icon","navigationIcon":"sas_components-ListBox-List_navigation-icon","itemSpacer":"sas_components-ListBox-List_item-spacer","navigationItem":"sas_components-ListBox-List_navigation-item","itemTextSeparator":"sas_components-ListBox-List_item-textSeparator","itemSecondaryText":"sas_components-ListBox-List_item-secondaryText","focused":"sas_components-ListBox-List_focused","pseudoFocused":"sas_components-ListBox-List_pseudo-focused","itemText":"sas_components-ListBox-List_item-text","itemActionIcon":"sas_components-ListBox-List_item-actionIcon","itemSelectionControl":"sas_components-ListBox-List_item-selection-control","themeOverride":"sas_components-ListBox-List_theme-override","indented":"sas_components-ListBox-List_indented","virtualItem":"sas_components-ListBox-List_virtual-item"}')},function(e,t,n){"use strict";n.d(t,"k",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"h",(function(){return A})),n.d(t,"g",(function(){return g})),n.d(t,"i",(function(){return p})),n.d(t,"j",(function(){return m})),n.d(t,"l",(function(){return f})),n.d(t,"m",(function(){return b}));var o=n(6),r=n.n(o);const a="*",i="AppSwitcher.AppAdded",l="AppSwitcher.AppDataLoaded",s="App.Create",c="AppSwitcher.DirtyFlagChanged",u="AppSwitcher.AppHide",d="AppSwitcher.LogoffImminent",A="AppSwitcher.PreferenceChanged",g="App.Open",p="AppSwitcher.AppReturn",m="AppSwitcher.AppShow",f="AppSwitcher.AppSwitch",b="AppSwitcher.AppInfoChanged";t.n=class{constructor(){r()(this,"handlers",[])}subscribe(e,t,n){this.handlers.push({type:e,fn:t,context:n})}unsubscribe(e,t,n){this.handlers=this.handlers.filter(o=>{if(!this.isSameHandler(o,{fn:t,type:e,context:n}))return o})}isSameHandler(e,t){return e.fn===t.fn&&e.type===t.type&&e.context===t.context}fire(e,t={}){for(const n of this.handlers)n.type!==a&&n.type!==e||n.fn.call(n.context||this,e,t)}}},function(e){e.exports=JSON.parse('{"item":"sas_components-List-Item-Item_item","unread":"sas_components-List-Item-Item_unread","doubleLines":"sas_components-List-Item-Item_double-lines","singleLine":"sas_components-List-Item-Item_single-line","subSection":"sas_components-List-Item-Item_sub-section","baseText":"sas_components-List-Item-Item_base-text","itemDescriptionText":"sas_components-List-Item-Item_item-description-text","itemSecondaryText":"sas_components-List-Item-Item_item-secondary-text","itemText":"sas_components-List-Item-Item_item-text","disabled":"sas_components-List-Item-Item_disabled","bold":"sas_components-List-Item-Item_bold","read":"sas_components-List-Item-Item_read","description":"sas_components-List-Item-Item_description","concat":"sas_components-List-Item-Item_concat","itemTextSeparator":"sas_components-List-Item-Item_item-text-separator","itemSpacer":"sas_components-List-Item-Item_item-spacer","itemIcon":"sas_components-List-Item-Item_item-icon","itemAvatar":"sas_components-List-Item-Item_item-avatar","counter":"sas_components-List-Item-Item_counter","contentContainer":"sas_components-List-Item-Item_content-container","indented":"sas_components-List-Item-Item_indented","dot":"sas_components-List-Item-Item_dot"}')},function(e){e.exports=JSON.parse('{"dialog":"sas_components-Dialog-Dialog_dialog","dialogInner":"sas_components-Dialog-Dialog_dialog-inner","opening":"sas_components-Dialog-Dialog_opening","closing":"sas_components-Dialog-Dialog_closing","dialogHeader":"sas_components-Dialog-Dialog_dialog-header","dialogTitle":"sas_components-Dialog-Dialog_dialog-title","dialogContent":"sas_components-Dialog-Dialog_dialog-content","dialogFooter":"sas_components-Dialog-Dialog_dialog-footer","dialogSubFooter":"sas_components-Dialog-Dialog_dialog-sub-footer","dialogFooterControls":"sas_components-Dialog-Dialog_dialog-footer-controls","dialogFooterButtons":"sas_components-Dialog-Dialog_dialog-footer-buttons","closeIcon":"sas_components-Dialog-Dialog_close-icon","dragCursor":"sas_components-Dialog-Dialog_drag-cursor","noDragCursor":"sas_components-Dialog-Dialog_no-drag-cursor","dragIconWrapper":"sas_components-Dialog-Dialog_drag-icon-wrapper","dragIcon":"sas_components-Dialog-Dialog_drag-icon","iconContainer":"sas_components-Dialog-Dialog_icon-container","accent":"sas_components-Dialog-Dialog_accent","headerImage":"sas_components-Dialog-Dialog_header-image","headerLogo":"sas_components-Dialog-Dialog_header-logo","busyStateIndicatorContainer":"sas_components-Dialog-Dialog_busy-state-indicator-container"}')},function(e,t,n){"use strict";n.d(t,"b",(function(){return O})),n.d(t,"e",(function(){return S})),n.d(t,"i",(function(){return D})),n.d(t,"f",(function(){return j})),n.d(t,"d",(function(){return k})),n.d(t,"a",(function(){return N})),n.d(t,"h",(function(){return T})),n.d(t,"g",(function(){return P})),n.d(t,"c",(function(){return M}));var o=n(130),r=n.n(o),a=n(31),i=n(6),l=n.n(i),s=n(10);const c=["pl-xx","ar-xx","zh-cn-pseudo"],u=["it-it-pseudo","fr-fr-pseudo","de-de-pseudo","es-es-pseudo","pl-pl-pseudo","ru-ru-pseudo","lt-lt-pseudo"],d=async()=>n.e(4).then(n.bind(null,2280)),A=async()=>n.e(5).then(n.bind(null,2281));var g=n(107);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const f=["it","fr","es","de","pl","ru"],b=Object(s.a)("I18nextMergeBackend");class h{constructor(){l()(this,"type","backend"),l()(this,"backends",[])}init(e,t,n){this.backends=t.backends.map(t=>{const{instance:o,options:r}=t;return o.init(e,r,n),o})}async read(e,t,n){let o;b.info(`Request for bundle '${t}' in ${e}`);try{r=e,o=c.includes(r.toLowerCase())?await this.readPseudoI18nLocale(e,t):(e=>u.includes(e.toLowerCase()))(e)?await this.readPseudoL10nLocale(e,t):await this.readLocale(e,t),b.info(`Result for bundle '${t}' in ${e}`),b.info(JSON.stringify(o,void 0,2)),n(null,o.messages)}catch(e){n(e,!1)}var r}async readLocale(e,t){const n=this.backends.map(t=>({backend:t,language:e}));for(const e of this.backends)e.defaultProvider&&n.push({backend:e,language:"en"});const o=n.map(({backend:e,language:n})=>this.readBackendAsPromise(n,t,e)),r=await Promise.all(o);if(!r.slice(0,this.backends.length).some(e=>null!==e))throw new Error("No bundles for that locale");return C(r)}async readPseudoI18nLocale(e,t){b.debug(`${t}/${e} readPseudoI18n`),d();const n=Promise.all(this.backends.map(n=>this.readBackendAsPromise(e,t,n))),o=Promise.all(this.backends.map(e=>this.readBackendAsPromise("en",t,e))),r=C(await n),a=C(await o),{pseudoLocalizeBundle:i}=await d();return a.messages=i(e,a.messages),C([r,a])}async readPseudoL10nLocale(e,t){A();const n=Promise.all(this.backends.map(n=>this.readBackendAsPromise(e,t,n))),o=e.substring(0,2),r=Promise.all(this.backends.map(e=>this.readBackendAsPromise(o,t,e))),a=Promise.all(this.backends.map(e=>this.readBackendAsPromise("en",t,e))),i=C(await n),l=C(await r),s=C(await a);let c="P95";const u=await A();if("lt-LT-pseudo"===e){const{getTag:e}=u;e:for(const n of f)for(const o of this.backends){const r=await this.readBackendAsPromise(n,t,o);if(r){const t=e(r);if(t){c=t;break e}}}}return C([i,u.pseudoLocalize4L10n(s,l,e,c)])}readBackendAsPromise(e,t,n){return new Promise(o=>{n.read(e,t,(e,t)=>{o(!e&&t&&"object"==typeof t?Object(g.a)(t):null)})})}create(e,t,n,o){}}function C(e){return e.filter(e=>!!e).map(g.a).reduce((e,t)=>m(m({},e),{},{messages:m(m({},t.messages),e.messages),comments:v(e.comments,t.comments)}),{comments:[],messages:{}})}function v(e,t){const n=new Set([...e,...t]);return Array.from(n)}var E=n(57);class I{constructor(){l()(this,"type","3rdParty")}init(e){e.services.languageUtils.toResolveHierarchy=function(e,t){return(e=>{const t=["en"];if(void 0===e)return t;const n=Object(E.d)(e),o=Object(E.b)(n),{lang:r,region:a}=n;let{script:i}=n;if("zh"===r)if("Hans"!==i&&"Hant"!==i)switch(a){case"TW":case"HK":case"MO":i="Hant";break;default:i="Hans","zh"!==o&&t.unshift("zh")}else"Hans"===i&&"zh"!==o&&t.unshift("zh");else"en"!==r&&("nn"===r&&t.unshift("nb"),t.unshift(r));return""!==i&&t.unshift(`${r}-${i}`),""!==a&&(t.unshift(`${r}-${a}`),""!==i&&t.unshift(`${r}-${i}-${a}`)),e.toLowerCase().indexOf("pseudo")>-1&&t.unshift(o+"-pseudo"),t})(e)}}}class B{constructor(){l()(this,"type","i18nFormat"),l()(this,"entityMap",{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"})}escape(e){return e.replace(/[&<>"'\/]/g,e=>this.entityMap[e])}parse(e,t,n,o,r){const a=e.split(/({[^{}\\}]*})/),i=/^\{(.*)\}$/;return a.map(e=>{const n=i.exec(e);if(n){var o;const e=t[null===(o=n[1])||void 0===o?void 0:o.trim()];return null===e?"null":void 0===e?"undefined":e}return e.replace(/\\\\([{}])/g,"$1").replace("\\\\","\\").replace(/\\n/g,"\n")}).join("")}}var y,Q;let w=null===(y=new URLSearchParams(window.location.search).get("nova-language"))||void 0===y||null===(Q=y.replace("_","-"))||void 0===Q?void 0:Q.toLowerCase();"zh-xx"===w&&(w="zh-CN-pseudo"),w||(w=navigator.language);const O=Object(E.c)(w);function S(e){let{backends:t,backendOptions:n,initialLanguage:o}=e,i=r()(e,["backends","backendOptions","initialLanguage"]);const l={backends:t.map((e,t)=>{var o;return{instance:e,options:null!==(o=null==n?void 0:n[t])&&void 0!==o?o:null}})};return[...[new h,new I,new B],...i.modules].reduce((e,t)=>e.use(t),a.a).init({debug:!1,fallbackLng:"en",lng:null!=o?o:O,keySeparator:!1,interpolation:{prefix:"{",suffix:"}",escapeValue:!1},backend:l})}let x=!1;a.a.on("initialized",()=>{x=!0});const D=async()=>x?Promise.resolve():new Promise(e=>{a.a.on("initialized",e)}),j=async e=>{await D();a.a.hasResourceBundle(a.a.language,e)||await a.a.loadNamespaces(e)},k=async e=>(await j(e),(t,n)=>a.a.t(`${e}:${e}.${t}`,n)),N=e=>(t,n)=>a.a.t(`${e}:${e}.${t}`,n),T=e=>{a.a.changeLanguage(e)},P=e=>(a.a.on("languageChanged",e),()=>{a.a.off("languageChanged",e)}),M=()=>{var e;return null!==(e=a.a.language)&&void 0!==e?e:O}},function(e){e.exports=JSON.parse('{"container":"sas_components-WindowShade-WindowShade_container","section":"sas_components-WindowShade-WindowShade_section","sectionHeader":"sas_components-WindowShade-WindowShade_section-header","headingLayout":"sas_components-WindowShade-WindowShade_heading-layout","heading":"sas_components-WindowShade-WindowShade_heading","headerAction":"sas_components-WindowShade-WindowShade_header-action","header":"sas_components-WindowShade-WindowShade_header","headerWrap":"sas_components-WindowShade-WindowShade_header-wrap","disabled":"sas_components-WindowShade-WindowShade_disabled","headerIcon":"sas_components-WindowShade-WindowShade_header-icon","headerIconOpen":"sas_components-WindowShade-WindowShade_header-icon-open","headerIconClosed":"sas_components-WindowShade-WindowShade_header-icon-closed","headerIconTransitioning":"sas_components-WindowShade-WindowShade_header-icon-transitioning","headerOptionalIcon":"sas_components-WindowShade-WindowShade_header-optional-icon","headerText":"sas_components-WindowShade-WindowShade_header-text","content":"sas_components-WindowShade-WindowShade_content","contentTransitioning":"sas_components-WindowShade-WindowShade_content-transitioning","draggableItem":"sas_components-WindowShade-WindowShade_draggable-item","cloneImg":"sas_components-WindowShade-WindowShade_clone-img","dragImg":"sas_components-WindowShade-WindowShade_drag-img","requiredMark":"sas_components-WindowShade-WindowShade_required-mark"}')},function(e){e.exports=JSON.parse('{"readOnly":"sas_components-Select-Select_read-only","select":"sas_components-Select-Select_select","itemIcon":"sas_components-Select-Select_item-icon","selectIcon":"sas_components-Select-Select_select-icon","expanded":"sas_components-Select-Select_expanded","disabled":"sas_components-Select-Select_disabled","focusVisible":"sas_components-Select-Select_focus-visible","textWrapper":"sas_components-Select-Select_text-wrapper","label":"sas_components-Select-Select_label","labelDisabled":"sas_components-Select-Select_label-disabled","labelPlaceholder":"sas_components-Select-Select_label-placeholder sas_components-Select-Select_label","dropdownPopover":"sas_components-Select-Select_dropdown-popover","dropdownPopoverItem":"sas_components-Select-Select_dropdown-popover-item","status":"sas_components-Select-Select_status","statusIcon":"sas_components-Select-Select_status-icon"}')},function(e){e.exports=JSON.parse('{"button":"sas_components-Button-__internal__-BaseButton_button","roundIcon":"sas_components-Button-__internal__-BaseButton_round-icon","small":"sas_components-Button-__internal__-BaseButton_small","iconInner":"sas_components-Button-__internal__-BaseButton_icon-inner","disabled":"sas_components-Button-__internal__-BaseButton_disabled","active":"sas_components-Button-__internal__-BaseButton_active","highContrast":"sas_components-Button-__internal__-BaseButton_high-contrast","text":"sas_components-Button-__internal__-BaseButton_text","iconWithText":"sas_components-Button-__internal__-BaseButton_icon-with-text"}')},function(e){e.exports=JSON.parse('{"offscreen":"sas_components-Slider-ValueGrip-SliderValueGrip_offscreen","container":{"horizontal":"sas_components-Slider-ValueGrip-SliderValueGrip_container_horizontal","vertical":"sas_components-Slider-ValueGrip-SliderValueGrip_container_vertical"},"arrowgrip":"sas_components-Slider-ValueGrip-SliderValueGrip_arrowgrip","horizontal":"sas_components-Slider-ValueGrip-SliderValueGrip_horizontal","vertical":"sas_components-Slider-ValueGrip-SliderValueGrip_vertical","gripEnableFocusOutline":"sas_components-Slider-ValueGrip-SliderValueGrip_grip-enable-focus-outline","indicator":"sas_components-Slider-ValueGrip-SliderValueGrip_indicator","disabled":"sas_components-Slider-ValueGrip-SliderValueGrip_disabled","datepicker":"sas_components-Slider-ValueGrip-SliderValueGrip_datepicker","input":"sas_components-Slider-ValueGrip-SliderValueGrip_input","inputOverflowRight":"sas_components-Slider-ValueGrip-SliderValueGrip_input-overflow-right","inputOverflowLeft":"sas_components-Slider-ValueGrip-SliderValueGrip_input-overflow-left","arrowIndicator":"sas_components-Slider-ValueGrip-SliderValueGrip_arrow-indicator"}')},function(e){e.exports=JSON.parse('{"svg":"sas_components-SVG-SVG_svg","icon":"sas_components-SVG-SVG_icon","inner":"sas_components-SVG-SVG_inner","allowMirroring":"sas_components-SVG-SVG_allowMirroring","disabled":"sas_components-SVG-SVG_disabled"}')},function(e){e.exports=JSON.parse('{"vertical":"sas_components-Scrollable-Scrollable_vertical","scrollContainer":"sas_components-Scrollable-Scrollable_scroll-container","horizontal":"sas_components-Scrollable-Scrollable_horizontal","scrollContent":"sas_components-Scrollable-Scrollable_scroll-content","fadeContainer":"sas_components-Scrollable-Scrollable_fade-container","scrollButton":"sas_components-Scrollable-Scrollable_scroll-button","showScrollBar":"sas_components-Scrollable-Scrollable_show-scroll-bar","fadeLeft":"sas_components-Scrollable-Scrollable_fade-left","fadeRight":"sas_components-Scrollable-Scrollable_fade-right","fadeTop":"sas_components-Scrollable-Scrollable_fade-top","fadeBottom":"sas_components-Scrollable-Scrollable_fade-bottom"}')},function(e){e.exports=JSON.parse('{"tableContent":"sas_components-DualSelector-DualSelectorLayout-DualSelectorLayout_table-content","tableList":"sas_components-DualSelector-DualSelectorLayout-DualSelectorLayout_table-list","tableListInner":"sas_components-DualSelector-DualSelectorLayout-DualSelectorLayout_table-list-inner","label":"sas_components-DualSelector-DualSelectorLayout-DualSelectorLayout_label","text":"sas_components-DualSelector-DualSelectorLayout-DualSelectorLayout_text","listIcon":"sas_components-DualSelector-DualSelectorLayout-DualSelectorLayout_listIcon","icon":"sas_components-DualSelector-DualSelectorLayout-DualSelectorLayout_icon","listSearchField":"sas_components-DualSelector-DualSelectorLayout-DualSelectorLayout_list-search-field","searchField":"sas_components-DualSelector-DualSelectorLayout-DualSelectorLayout_search-field","descriptionText":"sas_components-DualSelector-DualSelectorLayout-DualSelectorLayout_description-text","flowContainer":"sas_components-DualSelector-DualSelectorLayout-DualSelectorLayout_flow-container"}')},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(251)},function(e){e.exports=JSON.parse('{"container":"sas_components-DatePicker-DatePicker_container","input":"sas_components-DatePicker-DatePicker_input","iconButton":"sas_components-DatePicker-DatePicker_icon-button","editableIconButton":"sas_components-DatePicker-DatePicker_editable-icon-button","footer":"sas_components-DatePicker-DatePicker_footer","form":"sas_components-DatePicker-DatePicker_form","inputEnabled":"sas_components-DatePicker-DatePicker_input-enabled","inputError":"sas_components-DatePicker-DatePicker_input-error","active":"sas_components-DatePicker-DatePicker_active","disabled":"sas_components-DatePicker-DatePicker_disabled","error":"sas_components-DatePicker-DatePicker_error","warning":"sas_components-DatePicker-DatePicker_warning","resetButton":"sas_components-DatePicker-DatePicker_reset-button","dateInput":"sas_components-DatePicker-DatePicker_date-input","errorButton":"sas_components-DatePicker-DatePicker_error-button","message":"sas_components-DatePicker-DatePicker_message","warningMessage":"sas_components-DatePicker-DatePicker_warning-message","alertMessage":"sas_components-DatePicker-DatePicker_alert-message","dateTimeContainer":"sas_components-DatePicker-DatePicker_date-time-container","select":"sas_components-DatePicker-DatePicker_select","pickerContainer":"sas_components-DatePicker-DatePicker_picker-container"}')},function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=n(129);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},o=Obj