@getflip/swirl-components-react 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{file-manager.entry.f44ca89d.js → file-manager.entry.63bdbe34.js} +1 -1
- package/dist/{flip-action-list-item.entry.9cc10db7.js → flip-action-list-item.entry.1134e86f.js} +1 -1
- package/dist/{flip-action-list-section.entry.62a6323a.js → flip-action-list-section.entry.2cb6c669.js} +1 -1
- package/dist/{flip-action-list.entry.6d0ee85a.js → flip-action-list.entry.ea631a8e.js} +1 -1
- package/dist/{flip-app-layout_5.entry.8e8da590.js → flip-app-layout_5.entry.41d0838e.js} +1 -1
- package/dist/{flip-autocomplete.entry.cb9bb184.js → flip-autocomplete.entry.e1ac1cce.js} +1 -1
- package/dist/{flip-avatar-group.entry.80911780.js → flip-avatar-group.entry.9b6d0406.js} +1 -1
- package/dist/{flip-avatar.entry.0b0726cc.js → flip-avatar.entry.c729a50f.js} +1 -1
- package/dist/{flip-badge.entry.08161a7d.js → flip-badge.entry.262a0260.js} +1 -1
- package/dist/{flip-banner.entry.28ab05dc.js → flip-banner.entry.47282ea0.js} +1 -1
- package/dist/{flip-button-group.entry.2f462f0d.js → flip-button-group.entry.c5b5e4c6.js} +1 -1
- package/dist/{flip-button.entry.c9a5a50b.js → flip-button.entry.05b4abfe.js} +1 -1
- package/dist/{flip-checkbox.entry.a062eb92.js → flip-checkbox.entry.5173a225.js} +1 -1
- package/dist/{flip-chip.entry.9dd68f13.js → flip-chip.entry.43ab254c.js} +1 -1
- package/dist/{flip-console-layout.entry.80407195.js → flip-console-layout.entry.fd7ab580.js} +3 -3
- package/dist/{flip-date-input.entry.67b16eed.js → flip-date-input.entry.aca46f7d.js} +1 -1
- package/dist/{flip-date-picker_2.entry.db05a3da.js → flip-date-picker_2.entry.da0bc75c.js} +1 -1
- package/dist/{flip-description-list-item.entry.481d7f37.js → flip-description-list-item.entry.2531a1eb.js} +1 -1
- package/dist/{flip-description-list.entry.f37d9c19.js → flip-description-list.entry.de69a56d.js} +1 -1
- package/dist/{flip-dialog.entry.ed57a3d2.js → flip-dialog.entry.782456e7.js} +1 -1
- package/dist/{flip-file-uploader.entry.3b52ce4d.js → flip-file-uploader.entry.3a629da9.js} +1 -1
- package/dist/{flip-file-viewer_7.entry.a632f2a8.js → flip-file-viewer_7.entry.5c286de7.js} +1 -1
- package/dist/{flip-form-control.entry.e6dec516.js → flip-form-control.entry.f8f3aa4b.js} +1 -1
- package/dist/{flip-form-group.entry.3c219b67.js → flip-form-group.entry.24b521b0.js} +1 -1
- package/dist/{flip-heading_2.entry.6378f099.js → flip-heading_2.entry.f0c360e1.js} +1 -1
- package/dist/{flip-icon-add-photo.entry.cb7ba212.js → flip-icon-add-photo.entry.a4c05d3c.js} +1 -1
- package/dist/{flip-icon-add_4.entry.fc52f07b.js → flip-icon-add_4.entry.4e54e66b.js} +1 -1
- package/dist/{flip-icon-admin-panel-settings.entry.8b116c69.js → flip-icon-admin-panel-settings.entry.d60813d7.js} +1 -1
- package/dist/{flip-icon-arrow-back.entry.634d0f12.js → flip-icon-arrow-back.entry.6eff9faf.js} +1 -1
- package/dist/{flip-icon-arrow-forward.entry.d231efc0.js → flip-icon-arrow-forward.entry.6bd89adf.js} +1 -1
- package/dist/{flip-icon-arrow-left_3.entry.092c3434.js → flip-icon-arrow-left_3.entry.8bfab5d0.js} +1 -1
- package/dist/{flip-icon-arrow-right-small.entry.ebb6f9b5.js → flip-icon-arrow-right-small.entry.98552736.js} +1 -1
- package/dist/{flip-icon-attachment.entry.3dafb58b.js → flip-icon-attachment.entry.2f3a1346.js} +1 -1
- package/dist/{flip-icon-block.entry.f14a5e60.js → flip-icon-block.entry.ae775b31.js} +1 -1
- package/dist/{flip-icon-cancel_4.entry.1b81a740.js → flip-icon-cancel_4.entry.84b49696.js} +1 -1
- package/dist/{flip-icon-chat-bubble.entry.569a318c.js → flip-icon-chat-bubble.entry.22781bf5.js} +1 -1
- package/dist/{flip-icon-check-circle.entry.2d915c17.js → flip-icon-check-circle.entry.ccf93749.js} +1 -1
- package/dist/{flip-icon-check-small_3.entry.aa48ad39.js → flip-icon-check-small_3.entry.94218753.js} +1 -1
- package/dist/{flip-icon-check-strong.entry.a75fbe23.js → flip-icon-check-strong.entry.0d32992b.js} +1 -1
- package/dist/{flip-icon-check.entry.805e5241.js → flip-icon-check.entry.0e88ffce.js} +1 -1
- package/dist/{flip-icon-chevron-left.entry.318d799a.js → flip-icon-chevron-left.entry.28d60aec.js} +1 -1
- package/dist/{flip-icon-chevron-right.entry.4e9bb2f7.js → flip-icon-chevron-right.entry.8a31b826.js} +1 -1
- package/dist/{flip-icon-close-small.entry.57c76644.js → flip-icon-close-small.entry.d5994fd8.js} +1 -1
- package/dist/{flip-icon-close.entry.6d5ed1a4.js → flip-icon-close.entry.93907198.js} +1 -1
- package/dist/{flip-icon-cloud-upload.entry.b334e11b.js → flip-icon-cloud-upload.entry.5d2f69b3.js} +1 -1
- package/dist/{flip-icon-comment.entry.2d0c1d16.js → flip-icon-comment.entry.8b3013d1.js} +1 -1
- package/dist/{flip-icon-copy.entry.d2130ac2.js → flip-icon-copy.entry.5df12280.js} +1 -1
- package/dist/{flip-icon-date-range.entry.475632c4.js → flip-icon-date-range.entry.21242c78.js} +1 -1
- package/dist/{flip-icon-delete.entry.d14e0c2b.js → flip-icon-delete.entry.3855f753.js} +1 -1
- package/dist/{flip-icon-description.entry.145cf9d3.js → flip-icon-description.entry.b2f9de31.js} +1 -1
- package/dist/{flip-icon-edit.entry.e20374f4.js → flip-icon-edit.entry.16dd6c9f.js} +1 -1
- package/dist/{flip-icon-emoji-mood.entry.42225b37.js → flip-icon-emoji-mood.entry.52012fa8.js} +1 -1
- package/dist/{flip-icon-emoji-satisfied.entry.b4be6d20.js → flip-icon-emoji-satisfied.entry.bb253d20.js} +1 -1
- package/dist/{flip-icon-error_3.entry.38290194.js → flip-icon-error_3.entry.7e9d6fad.js} +1 -1
- package/dist/{flip-icon-expand-more.entry.197a1cd5.js → flip-icon-expand-more.entry.80604753.js} +1 -1
- package/dist/{flip-icon-file.entry.f5660b29.js → flip-icon-file.entry.86557f40.js} +1 -1
- package/dist/{flip-icon-folder-shared.entry.8ae46b72.js → flip-icon-folder-shared.entry.177ca8d4.js} +1 -1
- package/dist/{flip-icon-group-assign.entry.9f6d05e6.js → flip-icon-group-assign.entry.842d37c5.js} +1 -1
- package/dist/{flip-icon-groups-custom.entry.c895c2dd.js → flip-icon-groups-custom.entry.da42189c.js} +1 -1
- package/dist/{flip-icon-groups.entry.54bbdf8b.js → flip-icon-groups.entry.99fe4397.js} +1 -1
- package/dist/{flip-icon-help.entry.442f057a.js → flip-icon-help.entry.00225452.js} +1 -1
- package/dist/{flip-icon-image.entry.06a9bff3.js → flip-icon-image.entry.36dfb82a.js} +1 -1
- package/dist/{flip-icon-info.entry.beeda452.js → flip-icon-info.entry.6fd39ea3.js} +1 -1
- package/dist/{flip-icon-inventory.entry.a1f30207.js → flip-icon-inventory.entry.b76ab6be.js} +1 -1
- package/dist/{flip-icon-like.entry.7376cddd.js → flip-icon-like.entry.af180b9f.js} +1 -1
- package/dist/{flip-icon-link.entry.cf6e4bf6.js → flip-icon-link.entry.0e861e9a.js} +1 -1
- package/dist/{flip-icon-lock.entry.06dadd5a.js → flip-icon-lock.entry.c34dc554.js} +1 -1
- package/dist/{flip-icon-logout.entry.34557c15.js → flip-icon-logout.entry.34302315.js} +1 -1
- package/dist/{flip-icon-mail.entry.9f890485.js → flip-icon-mail.entry.8d2da42b.js} +1 -1
- package/dist/{flip-icon-manage-accounts.entry.c435fccb.js → flip-icon-manage-accounts.entry.2345da5d.js} +1 -1
- package/dist/{flip-icon-mention.entry.b7fe5130.js → flip-icon-mention.entry.ad4c6ac6.js} +1 -1
- package/dist/{flip-icon-menu.entry.cccc41dc.js → flip-icon-menu.entry.ffc1813d.js} +1 -1
- package/dist/{flip-icon-message.entry.4a768af8.js → flip-icon-message.entry.0678d87d.js} +1 -1
- package/dist/{flip-icon-more-horizontal.entry.0097fb29.js → flip-icon-more-horizontal.entry.862c0056.js} +1 -1
- package/dist/{flip-icon-more-vertikal.entry.626894d6.js → flip-icon-more-vertikal.entry.57213a85.js} +1 -1
- package/dist/{flip-icon-notifications-active.entry.634fa319.js → flip-icon-notifications-active.entry.3fa6fdef.js} +1 -1
- package/dist/{flip-icon-notifications-off.entry.25800b9f.js → flip-icon-notifications-off.entry.9c7ca92a.js} +1 -1
- package/dist/{flip-icon-notifications.entry.0f46a4d5.js → flip-icon-notifications.entry.98b1a0e9.js} +1 -1
- package/dist/{flip-icon-open-in-new.entry.40e88739.js → flip-icon-open-in-new.entry.4c50bb7b.js} +1 -1
- package/dist/{flip-icon-people-alt.entry.15373d5a.js → flip-icon-people-alt.entry.1c03e3fe.js} +1 -1
- package/dist/{flip-icon-person-off.entry.09436e64.js → flip-icon-person-off.entry.c3cf03d2.js} +1 -1
- package/dist/{flip-icon-person.entry.250cd2ce.js → flip-icon-person.entry.4eae22e0.js} +1 -1
- package/dist/{flip-icon-phone.entry.966b5d3f.js → flip-icon-phone.entry.a37fb22d.js} +1 -1
- package/dist/{flip-icon-poll.entry.09e5c326.js → flip-icon-poll.entry.b294aa42.js} +1 -1
- package/dist/{flip-icon-print.entry.8294c2c1.js → flip-icon-print.entry.e062d4c4.js} +1 -1
- package/dist/{flip-icon-recieved.entry.d2431c69.js → flip-icon-recieved.entry.0b2563d0.js} +1 -1
- package/dist/{flip-icon-search-strong.entry.73b28121.js → flip-icon-search-strong.entry.e1935581.js} +1 -1
- package/dist/{flip-icon-search.entry.7ff835e1.js → flip-icon-search.entry.529db5b1.js} +1 -1
- package/dist/{flip-icon-send.entry.609a3d55.js → flip-icon-send.entry.1d9992e6.js} +1 -1
- package/dist/{flip-icon-settings.entry.053b316e.js → flip-icon-settings.entry.0523a6ec.js} +1 -1
- package/dist/{flip-icon-time-filled.entry.d2e403eb.js → flip-icon-time-filled.entry.ce8121fc.js} +1 -1
- package/dist/{flip-icon-time-outlined.entry.2c9a3c11.js → flip-icon-time-outlined.entry.da8754cb.js} +1 -1
- package/dist/{flip-icon-user-assign.entry.3c57c49f.js → flip-icon-user-assign.entry.1902309b.js} +1 -1
- package/dist/{flip-icon-video-camera.entry.d2375661.js → flip-icon-video-camera.entry.300bbd72.js} +1 -1
- package/dist/{flip-icon-warning.entry.a90dd20c.js → flip-icon-warning.entry.5caeffa1.js} +1 -1
- package/dist/{flip-lightbox.entry.3b3fbe25.js → flip-lightbox.entry.d16d51ad.js} +1 -1
- package/dist/{flip-link.entry.794a2ace.js → flip-link.entry.6d2c777c.js} +1 -1
- package/dist/{flip-list.entry.cfabad4c.js → flip-list.entry.5daa338d.js} +1 -1
- package/dist/{flip-modal.entry.417eec10.js → flip-modal.entry.5e804af2.js} +1 -1
- package/dist/{flip-option-list-section.entry.32b82230.js → flip-option-list-section.entry.2843acd5.js} +1 -1
- package/dist/{flip-pagination.entry.26a6546f.js → flip-pagination.entry.d03ca56e.js} +1 -1
- package/dist/{flip-pdf-reader.entry.167e616b.js → flip-pdf-reader.entry.e0f1c388.js} +1 -1
- package/dist/{flip-popover.entry.c368a29e.js → flip-popover.entry.483da437.js} +1 -1
- package/dist/{flip-progress-indicator.entry.76a921da.js → flip-progress-indicator.entry.6d7f16f0.js} +1 -1
- package/dist/{flip-radio-group.entry.c49798b5.js → flip-radio-group.entry.a124ef45.js} +1 -1
- package/dist/{flip-radio.entry.e3900820.js → flip-radio.entry.0b8c1e7d.js} +1 -1
- package/dist/{flip-resource-list-file-item.entry.39139674.js → flip-resource-list-file-item.entry.960cb40b.js} +1 -1
- package/dist/{flip-search.entry.e9c816f6.js → flip-search.entry.28484954.js} +1 -1
- package/dist/{flip-select.entry.57cc5141.js → flip-select.entry.490a10d8.js} +1 -1
- package/dist/{flip-stack.entry.6044521e.js → flip-stack.entry.da4ed527.js} +1 -1
- package/dist/{flip-switch.entry.d945c48c.js → flip-switch.entry.dc5b8c4b.js} +1 -1
- package/dist/{flip-tab.entry.03ff282c.js → flip-tab.entry.f0d81caa.js} +1 -1
- package/dist/{flip-tabs.entry.eb300e41.js → flip-tabs.entry.6164f0c1.js} +1 -1
- package/dist/{flip-tag.entry.00f3929f.js → flip-tag.entry.904e80da.js} +1 -1
- package/dist/{flip-text-input.entry.23139dd3.js → flip-text-input.entry.4791baec.js} +1 -1
- package/dist/{flip-theme-provider.entry.edf80cab.js → flip-theme-provider.entry.8d610295.js} +1 -1
- package/dist/{flip-thumbnail.entry.595fb74a.js → flip-thumbnail.entry.0560d154.js} +1 -1
- package/dist/{flip-toast-provider.entry.ce24ca49.js → flip-toast-provider.entry.8acfcbea.js} +1 -1
- package/dist/{flip-toast.entry.c9c76480.js → flip-toast.entry.05d7c3b6.js} +1 -1
- package/dist/{flip-tooltip.entry.6ea92af7.js → flip-tooltip.entry.d88ce26a.js} +1 -1
- package/dist/{flip-tree-navigation-item.entry.5a653b08.js → flip-tree-navigation-item.entry.f29da645.js} +1 -1
- package/dist/{flip-video-thumbnail.entry.8cd49a7a.js → flip-video-thumbnail.entry.f5c2c4b3.js} +1 -1
- package/dist/{flip-visually-hidden.entry.196fde6e.js → flip-visually-hidden.entry.6f720d85.js} +1 -1
- package/dist/{index.db0142c3.js → index.88ec5376.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +2 -2
- package/package.json +2 -2
|
@@ -59,9 +59,9 @@ Check the top-level render call using <`+Be+">.")}return Me}}function Xe(ae,Me){
|
|
|
59
59
|
*/var i1=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],zn=i1.join(","),n1=typeof Element>"u",_i=n1?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Nn=!n1&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},r1=function(t,i,n){var r=Array.prototype.slice.apply(t.querySelectorAll(zn));return i&&_i.call(t,zn)&&r.unshift(t),r=r.filter(n),r},a1=function e(t,i,n){for(var r=[],d=Array.from(t);d.length;){var a=d.shift();if(a.tagName==="SLOT"){var c=a.assignedElements(),l=c.length?c:a.children,u=e(l,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else{var m=_i.call(a,zn);m&&n.filter(a)&&(i||!t.includes(a))&&r.push(a);var P=a.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(a),L=!n.shadowRootFilter||n.shadowRootFilter(a);if(P&&L){var D=e(P===!0?a.children:P.children,!0,n);n.flatten?r.push.apply(r,D):r.push({scopeParent:a,candidates:D})}else d.unshift.apply(d,a.children)}}return r},o1=function(t,i){return t.tabIndex<0&&(i||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||t.isContentEditable)&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},Uf=function(t,i){return t.tabIndex===i.tabIndex?t.documentOrder-i.documentOrder:t.tabIndex-i.tabIndex},s1=function(t){return t.tagName==="INPUT"},Zf=function(t){return s1(t)&&t.type==="hidden"},Gf=function(t){var i=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return i},Yf=function(t,i){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===i)return t[n]},qf=function(t){if(!t.name)return!0;var i=t.form||Nn(t),n=function(c){return i.querySelectorAll('input[type="radio"][name="'+c+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=n(window.CSS.escape(t.name));else try{r=n(t.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var d=Yf(r,t.form);return!d||d===t},Xf=function(t){return s1(t)&&t.type==="radio"},Kf=function(t){return Xf(t)&&!qf(t)},Qf=function(t){for(var i,n=Nn(t).host,r=!!((i=n)!==null&&i!==void 0&&i.ownerDocument.contains(n)||t.ownerDocument.contains(t));!r&&n;){var d;n=Nn(n).host,r=!!((d=n)!==null&&d!==void 0&&d.ownerDocument.contains(n))}return r},l1=function(t){var i=t.getBoundingClientRect(),n=i.width,r=i.height;return n===0&&r===0},Jf=function(t,i){var n=i.displayCheck,r=i.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var d=_i.call(t,"details>summary:first-of-type"),a=d?t.parentElement:t;if(_i.call(a,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof r=="function"){for(var c=t;t;){var l=t.parentElement,u=Nn(t);if(l&&!l.shadowRoot&&r(l)===!0)return l1(t);t.assignedSlot?t=t.assignedSlot:!l&&u!==t.ownerDocument?t=u.host:t=l}t=c}if(Qf(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return l1(t);return!1},e5=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var i=t.parentElement;i;){if(i.tagName==="FIELDSET"&&i.disabled){for(var n=0;n<i.children.length;n++){var r=i.children.item(n);if(r.tagName==="LEGEND")return _i.call(i,"fieldset[disabled] *")?!0:!r.contains(t)}return!0}i=i.parentElement}return!1},Bn=function(t,i){return!(i.disabled||Zf(i)||Jf(i,t)||Gf(i)||e5(i))},Ua=function(t,i){return!(Kf(i)||o1(i)<0||!Bn(t,i))},t5=function(t){var i=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(i)||i>=0)},i5=function e(t){var i=[],n=[];return t.forEach(function(r,d){var a=!!r.scopeParent,c=a?r.scopeParent:r,l=o1(c,a),u=a?e(r.candidates):c;l===0?a?i.push.apply(i,u):i.push(c):n.push({documentOrder:d,tabIndex:l,item:r,isScope:a,content:u})}),n.sort(Uf).reduce(function(r,d){return d.isScope?r.push.apply(r,d.content):r.push(d.content),r},[]).concat(i)},n5=function(t,i){i=i||{};var n;return i.getShadowRoot?n=a1([t],i.includeContainer,{filter:Ua.bind(null,i),flatten:!1,getShadowRoot:i.getShadowRoot,shadowRootFilter:t5}):n=r1(t,i.includeContainer,Ua.bind(null,i)),i5(n)},r5=function(t,i){i=i||{};var n;return i.getShadowRoot?n=a1([t],i.includeContainer,{filter:Bn.bind(null,i),flatten:!0,getShadowRoot:i.getShadowRoot}):n=r1(t,i.includeContainer,Bn.bind(null,i)),n},Vn=function(t,i){if(i=i||{},!t)throw new Error("No node provided");return _i.call(t,zn)===!1?!1:Ua(i,t)},a5=i1.concat("iframe").join(","),Za=function(t,i){if(i=i||{},!t)throw new Error("No node provided");return _i.call(t,a5)===!1?!1:Bn(i,t)};/*!
|
|
60
60
|
* focus-trap 7.1.0
|
|
61
61
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
62
|
-
*/function c1(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),i.push.apply(i,n)}return i}function u1(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?c1(Object(i),!0).forEach(function(n){o5(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):c1(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function o5(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var s5=[],d1={activateTrap:function(t,i){if(t.length>0){var n=t[t.length-1];n!==i&&n.pause()}var r=t.indexOf(i);r===-1||t.splice(r,1),t.push(i)},deactivateTrap:function(t,i){var n=t.indexOf(i);n!==-1&&t.splice(n,1),t.length>0&&t[t.length-1].unpause()}},l5=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},c5=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},u5=function(t){return t.key==="Tab"||t.keyCode===9},h1=function(t){return setTimeout(t,0)},f1=function(t,i){var n=-1;return t.every(function(r,d){return i(r)?(n=d,!1):!0}),n},tn=function(t){for(var i=arguments.length,n=new Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];return typeof t=="function"?t.apply(void 0,n):t},Hn=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},d5=function(t,i){var n=(i==null?void 0:i.document)||document,r=(i==null?void 0:i.trapStack)||s5,d=u1({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},i),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},c,l=function(B,w,R){return B&&B[w]!==void 0?B[w]:d[R||w]},u=function(B){return a.containerGroups.findIndex(function(w){var R=w.container,x=w.tabbableNodes;return R.contains(B)||x.find(function(g){return g===B})})},m=function(B){var w=d[B];if(typeof w=="function"){for(var R=arguments.length,x=new Array(R>1?R-1:0),g=1;g<R;g++)x[g-1]=arguments[g];w=w.apply(void 0,x)}if(w===!0&&(w=void 0),!w){if(w===void 0||w===!1)return w;throw new Error("`".concat(B,"` was specified but was not a node, or did not return a node"))}var b=w;if(typeof w=="string"&&(b=n.querySelector(w),!b))throw new Error("`".concat(B,"` as selector refers to no known node"));return b},P=function(){var B=m("initialFocus");if(B===!1)return!1;if(B===void 0)if(u(n.activeElement)>=0)B=n.activeElement;else{var w=a.tabbableGroups[0],R=w&&w.firstTabbableNode;B=R||m("fallbackFocus")}if(!B)throw new Error("Your focus-trap needs to have at least one focusable element");return B},L=function(){if(a.containerGroups=a.containers.map(function(B){var w=n5(B,d.tabbableOptions),R=r5(B,d.tabbableOptions);return{container:B,tabbableNodes:w,focusableNodes:R,firstTabbableNode:w.length>0?w[0]:null,lastTabbableNode:w.length>0?w[w.length-1]:null,nextTabbableNode:function(g){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,E=R.findIndex(function(I){return I===g});if(!(E<0))return b?R.slice(E+1).find(function(I){return Vn(I,d.tabbableOptions)}):R.slice(0,E).reverse().find(function(I){return Vn(I,d.tabbableOptions)})}}}),a.tabbableGroups=a.containerGroups.filter(function(B){return B.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!m("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},D=function z(B){if(B!==!1&&B!==n.activeElement){if(!B||!B.focus){z(P());return}B.focus({preventScroll:!!d.preventScroll}),a.mostRecentlyFocusedNode=B,l5(B)&&B.select()}},k=function(B){var w=m("setReturnFocus",B);return w||(w===!1?!1:B)},S=function(B){var w=Hn(B);if(!(u(w)>=0)){if(tn(d.clickOutsideDeactivates,B)){c.deactivate({returnFocus:d.returnFocusOnDeactivate&&!Za(w,d.tabbableOptions)});return}tn(d.allowOutsideClick,B)||B.preventDefault()}},M=function(B){var w=Hn(B),R=u(w)>=0;R||w instanceof Document?R&&(a.mostRecentlyFocusedNode=w):(B.stopImmediatePropagation(),D(a.mostRecentlyFocusedNode||P()))},j=function(B){var w=Hn(B);L();var R=null;if(a.tabbableGroups.length>0){var x=u(w),g=x>=0?a.containerGroups[x]:void 0;if(x<0)B.shiftKey?R=a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:R=a.tabbableGroups[0].firstTabbableNode;else if(B.shiftKey){var b=f1(a.tabbableGroups,function(pe){var ne=pe.firstTabbableNode;return w===ne});if(b<0&&(g.container===w||Za(w,d.tabbableOptions)&&!Vn(w,d.tabbableOptions)&&!g.nextTabbableNode(w,!1))&&(b=x),b>=0){var E=b===0?a.tabbableGroups.length-1:b-1,I=a.tabbableGroups[E];R=I.lastTabbableNode}}else{var V=f1(a.tabbableGroups,function(pe){var ne=pe.lastTabbableNode;return w===ne});if(V<0&&(g.container===w||Za(w,d.tabbableOptions)&&!Vn(w,d.tabbableOptions)&&!g.nextTabbableNode(w))&&(V=x),V>=0){var q=V===a.tabbableGroups.length-1?0:V+1,W=a.tabbableGroups[q];R=W.firstTabbableNode}}}else R=m("fallbackFocus");R&&(B.preventDefault(),D(R))},p=function(B){if(c5(B)&&tn(d.escapeDeactivates,B)!==!1){B.preventDefault(),c.deactivate();return}if(u5(B)){j(B);return}},_=function(B){var w=Hn(B);u(w)>=0||tn(d.clickOutsideDeactivates,B)||tn(d.allowOutsideClick,B)||(B.preventDefault(),B.stopImmediatePropagation())},N=function(){if(!!a.active)return d1.activateTrap(r,c),a.delayInitialFocusTimer=d.delayInitialFocus?h1(function(){D(P())}):D(P()),n.addEventListener("focusin",M,!0),n.addEventListener("mousedown",S,{capture:!0,passive:!1}),n.addEventListener("touchstart",S,{capture:!0,passive:!1}),n.addEventListener("click",_,{capture:!0,passive:!1}),n.addEventListener("keydown",p,{capture:!0,passive:!1}),c},A=function(){if(!!a.active)return n.removeEventListener("focusin",M,!0),n.removeEventListener("mousedown",S,!0),n.removeEventListener("touchstart",S,!0),n.removeEventListener("click",_,!0),n.removeEventListener("keydown",p,!0),c};return c={get active(){return a.active},get paused(){return a.paused},activate:function(B){if(a.active)return this;var w=l(B,"onActivate"),R=l(B,"onPostActivate"),x=l(B,"checkCanFocusTrap");x||L(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=n.activeElement,w&&w();var g=function(){x&&L(),N(),R&&R()};return x?(x(a.containers.concat()).then(g,g),this):(g(),this)},deactivate:function(B){if(!a.active)return this;var w=u1({onDeactivate:d.onDeactivate,onPostDeactivate:d.onPostDeactivate,checkCanReturnFocus:d.checkCanReturnFocus},B);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,A(),a.active=!1,a.paused=!1,d1.deactivateTrap(r,c);var R=l(w,"onDeactivate"),x=l(w,"onPostDeactivate"),g=l(w,"checkCanReturnFocus"),b=l(w,"returnFocus","returnFocusOnDeactivate");R&&R();var E=function(){h1(function(){b&&D(k(a.nodeFocusedBeforeActivation)),x&&x()})};return b&&g?(g(k(a.nodeFocusedBeforeActivation)).then(E,E),this):(E(),this)},pause:function(){return a.paused||!a.active?this:(a.paused=!0,A(),this)},unpause:function(){return!a.paused||!a.active?this:(a.paused=!1,L(),N(),this)},updateContainerElements:function(B){var w=[].concat(B).filter(Boolean);return a.containers=w.map(function(R){return typeof R=="string"?n.querySelector(R):R}),a.active&&L(),this}},c.updateContainerElements(t),c};const h5=`:host{display:block;width:100%;height:100vh}:host *{box-sizing:border-box}.console-layout{display:grid;width:100%;height:100%;grid-template-columns:1fr;grid-template-areas:"main"}@media (min-width: 768px){.console-layout{grid-template-columns:20rem 1fr;grid-template-areas:"sidebar main"}}@media (max-width: 767px){.console-layout--sidebar-active .console-layout__sidebar{transform:translate3d(0, 0, 0)}}.console-layout__sidebar{position:fixed;z-index:1;top:4rem;bottom:0;left:0;display:grid;overflow-x:hidden;overflow-y:auto;width:100%;max-width:20rem;
|
|
62
|
+
*/function c1(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),i.push.apply(i,n)}return i}function u1(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?c1(Object(i),!0).forEach(function(n){o5(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):c1(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function o5(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var s5=[],d1={activateTrap:function(t,i){if(t.length>0){var n=t[t.length-1];n!==i&&n.pause()}var r=t.indexOf(i);r===-1||t.splice(r,1),t.push(i)},deactivateTrap:function(t,i){var n=t.indexOf(i);n!==-1&&t.splice(n,1),t.length>0&&t[t.length-1].unpause()}},l5=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},c5=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},u5=function(t){return t.key==="Tab"||t.keyCode===9},h1=function(t){return setTimeout(t,0)},f1=function(t,i){var n=-1;return t.every(function(r,d){return i(r)?(n=d,!1):!0}),n},tn=function(t){for(var i=arguments.length,n=new Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];return typeof t=="function"?t.apply(void 0,n):t},Hn=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},d5=function(t,i){var n=(i==null?void 0:i.document)||document,r=(i==null?void 0:i.trapStack)||s5,d=u1({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},i),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},c,l=function(B,w,R){return B&&B[w]!==void 0?B[w]:d[R||w]},u=function(B){return a.containerGroups.findIndex(function(w){var R=w.container,x=w.tabbableNodes;return R.contains(B)||x.find(function(g){return g===B})})},m=function(B){var w=d[B];if(typeof w=="function"){for(var R=arguments.length,x=new Array(R>1?R-1:0),g=1;g<R;g++)x[g-1]=arguments[g];w=w.apply(void 0,x)}if(w===!0&&(w=void 0),!w){if(w===void 0||w===!1)return w;throw new Error("`".concat(B,"` was specified but was not a node, or did not return a node"))}var b=w;if(typeof w=="string"&&(b=n.querySelector(w),!b))throw new Error("`".concat(B,"` as selector refers to no known node"));return b},P=function(){var B=m("initialFocus");if(B===!1)return!1;if(B===void 0)if(u(n.activeElement)>=0)B=n.activeElement;else{var w=a.tabbableGroups[0],R=w&&w.firstTabbableNode;B=R||m("fallbackFocus")}if(!B)throw new Error("Your focus-trap needs to have at least one focusable element");return B},L=function(){if(a.containerGroups=a.containers.map(function(B){var w=n5(B,d.tabbableOptions),R=r5(B,d.tabbableOptions);return{container:B,tabbableNodes:w,focusableNodes:R,firstTabbableNode:w.length>0?w[0]:null,lastTabbableNode:w.length>0?w[w.length-1]:null,nextTabbableNode:function(g){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,E=R.findIndex(function(I){return I===g});if(!(E<0))return b?R.slice(E+1).find(function(I){return Vn(I,d.tabbableOptions)}):R.slice(0,E).reverse().find(function(I){return Vn(I,d.tabbableOptions)})}}}),a.tabbableGroups=a.containerGroups.filter(function(B){return B.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!m("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},D=function z(B){if(B!==!1&&B!==n.activeElement){if(!B||!B.focus){z(P());return}B.focus({preventScroll:!!d.preventScroll}),a.mostRecentlyFocusedNode=B,l5(B)&&B.select()}},k=function(B){var w=m("setReturnFocus",B);return w||(w===!1?!1:B)},S=function(B){var w=Hn(B);if(!(u(w)>=0)){if(tn(d.clickOutsideDeactivates,B)){c.deactivate({returnFocus:d.returnFocusOnDeactivate&&!Za(w,d.tabbableOptions)});return}tn(d.allowOutsideClick,B)||B.preventDefault()}},M=function(B){var w=Hn(B),R=u(w)>=0;R||w instanceof Document?R&&(a.mostRecentlyFocusedNode=w):(B.stopImmediatePropagation(),D(a.mostRecentlyFocusedNode||P()))},j=function(B){var w=Hn(B);L();var R=null;if(a.tabbableGroups.length>0){var x=u(w),g=x>=0?a.containerGroups[x]:void 0;if(x<0)B.shiftKey?R=a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:R=a.tabbableGroups[0].firstTabbableNode;else if(B.shiftKey){var b=f1(a.tabbableGroups,function(pe){var ne=pe.firstTabbableNode;return w===ne});if(b<0&&(g.container===w||Za(w,d.tabbableOptions)&&!Vn(w,d.tabbableOptions)&&!g.nextTabbableNode(w,!1))&&(b=x),b>=0){var E=b===0?a.tabbableGroups.length-1:b-1,I=a.tabbableGroups[E];R=I.lastTabbableNode}}else{var V=f1(a.tabbableGroups,function(pe){var ne=pe.lastTabbableNode;return w===ne});if(V<0&&(g.container===w||Za(w,d.tabbableOptions)&&!Vn(w,d.tabbableOptions)&&!g.nextTabbableNode(w))&&(V=x),V>=0){var q=V===a.tabbableGroups.length-1?0:V+1,W=a.tabbableGroups[q];R=W.firstTabbableNode}}}else R=m("fallbackFocus");R&&(B.preventDefault(),D(R))},p=function(B){if(c5(B)&&tn(d.escapeDeactivates,B)!==!1){B.preventDefault(),c.deactivate();return}if(u5(B)){j(B);return}},_=function(B){var w=Hn(B);u(w)>=0||tn(d.clickOutsideDeactivates,B)||tn(d.allowOutsideClick,B)||(B.preventDefault(),B.stopImmediatePropagation())},N=function(){if(!!a.active)return d1.activateTrap(r,c),a.delayInitialFocusTimer=d.delayInitialFocus?h1(function(){D(P())}):D(P()),n.addEventListener("focusin",M,!0),n.addEventListener("mousedown",S,{capture:!0,passive:!1}),n.addEventListener("touchstart",S,{capture:!0,passive:!1}),n.addEventListener("click",_,{capture:!0,passive:!1}),n.addEventListener("keydown",p,{capture:!0,passive:!1}),c},A=function(){if(!!a.active)return n.removeEventListener("focusin",M,!0),n.removeEventListener("mousedown",S,!0),n.removeEventListener("touchstart",S,!0),n.removeEventListener("click",_,!0),n.removeEventListener("keydown",p,!0),c};return c={get active(){return a.active},get paused(){return a.paused},activate:function(B){if(a.active)return this;var w=l(B,"onActivate"),R=l(B,"onPostActivate"),x=l(B,"checkCanFocusTrap");x||L(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=n.activeElement,w&&w();var g=function(){x&&L(),N(),R&&R()};return x?(x(a.containers.concat()).then(g,g),this):(g(),this)},deactivate:function(B){if(!a.active)return this;var w=u1({onDeactivate:d.onDeactivate,onPostDeactivate:d.onPostDeactivate,checkCanReturnFocus:d.checkCanReturnFocus},B);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,A(),a.active=!1,a.paused=!1,d1.deactivateTrap(r,c);var R=l(w,"onDeactivate"),x=l(w,"onPostDeactivate"),g=l(w,"checkCanReturnFocus"),b=l(w,"returnFocus","returnFocusOnDeactivate");R&&R();var E=function(){h1(function(){b&&D(k(a.nodeFocusedBeforeActivation)),x&&x()})};return b&&g?(g(k(a.nodeFocusedBeforeActivation)).then(E,E),this):(E(),this)},pause:function(){return a.paused||!a.active?this:(a.paused=!0,A(),this)},unpause:function(){return!a.paused||!a.active?this:(a.paused=!1,L(),N(),this)},updateContainerElements:function(B){var w=[].concat(B).filter(Boolean);return a.containers=w.map(function(R){return typeof R=="string"?n.querySelector(R):R}),a.active&&L(),this}},c.updateContainerElements(t),c};const h5=`:host{display:block;width:100%;height:100vh}:host *{box-sizing:border-box}.console-layout{display:grid;width:100%;height:100%;grid-template-columns:1fr;grid-template-areas:"main"}@media (min-width: 768px){.console-layout{grid-template-columns:20rem 1fr;grid-template-areas:"sidebar main"}}@media (max-width: 767px){.console-layout--sidebar-active .console-layout__sidebar{transform:translate3d(0, 0, 0)}}.console-layout__sidebar{position:fixed;z-index:1;top:4rem;bottom:0;left:0;display:grid;overflow-x:hidden;overflow-y:auto;width:100%;max-width:20rem;border-right:var(--s-border-width-default) solid var(--s-border-default);transition:transform 0.15s;transform:translate3d(-100%, 0, 0);box-shadow:0 0 1rem rgba(0, 0, 0, 0.06);grid-template-rows:auto 1fr auto;grid-template-areas:"header"
|
|
63
63
|
"navigation"
|
|
64
|
-
"user"}@media (prefers-reduced-motion){.console-layout__sidebar{transition:none}}@media (min-width: 768px){.console-layout__sidebar{position:static;top:auto;left:auto;max-width:none;transform:none;box-shadow:none;grid-area:sidebar}}.console-layout__header{overflow:hidden;min-width:0;padding:var(--s-space-20) var(--s-space-24);background-color:var(--s-background-default);grid-area:header}.console-layout__navigation{overflow-x:hidden;overflow-y:auto;padding-top:var(--s-space-8);padding-bottom:var(--s-space-8);background-color:var(--s-background-default);grid-area:navigation}@media (min-width: 768px){.console-layout__hide-navigation-button{display:none}}.console-layout__user{overflow:hidden;margin-top:var(--s-border-width-default);padding:var(--s-space-16) var(--s-space-24) var(--s-space-24);border-top:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-background-default);grid-area:user}.console-layout__main{display:grid;overflow-x:hidden;overflow-y:auto;width:100%;height:100%;grid-area:main;gap:var(--s-border-width-default);grid-template-rows:4rem 1fr;grid-template-areas:"app-bar"
|
|
64
|
+
"user"}@media (prefers-reduced-motion){.console-layout__sidebar{transition:none}}@media (min-width: 768px){.console-layout__sidebar{position:static;top:auto;left:auto;max-width:none;height:100%;transform:none;box-shadow:none;grid-area:sidebar}}.console-layout__header{overflow:hidden;min-width:0;padding:var(--s-space-20) var(--s-space-24);background-color:var(--s-background-default);grid-area:header}.console-layout__navigation{overflow-x:hidden;overflow-y:auto;padding-top:var(--s-space-8);padding-bottom:var(--s-space-8);background-color:var(--s-background-default);grid-area:navigation}@media (min-width: 768px){.console-layout__hide-navigation-button{display:none}}.console-layout__user{overflow:hidden;margin-top:var(--s-border-width-default);padding:var(--s-space-16) var(--s-space-24) var(--s-space-24);border-top:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-background-default);grid-area:user}.console-layout__main{display:grid;overflow-x:hidden;overflow-y:auto;width:100%;height:100%;grid-area:main;gap:var(--s-border-width-default);grid-template-rows:4rem 1fr;grid-template-areas:"app-bar"
|
|
65
65
|
"content"}.console-layout__app-bar{position:sticky;z-index:1;top:0;display:flex;min-width:0;padding-right:var(--s-space-16);padding-left:var(--s-space-16);align-items:center;border-bottom:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-background-default);gap:var(--s-space-12);grid-area:app-bar}@media (min-width: 768px){.console-layout__app-bar{padding-right:2.5rem;padding-left:2.5rem}}@media (min-width: 768px){.console-layout__mobile-navigation-button{display:none}}.console-layout__app-name{min-width:0;flex-grow:1}.console-layout__app-name .heading{overflow:hidden;font-weight:var(--s-font-weight-regular);white-space:nowrap;text-overflow:ellipsis}.console-layout__help-button{flex-shrink:0}.console-layout__content{display:flex;padding:var(--s-space-16);background-color:var(--s-background-default);flex-direction:column;grid-area:content}@media (min-width: 768px){.console-layout__content{padding:2.5rem}}.console-layout__content-header{flex-shrink:0}.console-layout__integration{flex-grow:1}.console-layout__logo{display:flex;min-width:0;align-items:center;gap:var(--s-space-12)}.console-layout__logo-mark{flex-shrink:0}.console-layout__logo-text{min-width:0}.console-layout__logo-text::part(text){overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.console-layout__content-header{display:flex;margin-bottom:2.5rem;gap:var(--s-space-16)}.console-layout__back-button{position:relative;top:calc(-1 * var(--s-space-2));flex-shrink:0}.console-layout__subheading{margin-top:var(--s-space-8)}`,p1=class{constructor(e){Re(this,e),this.backButtonClick=ct(this,"backButtonClick",7),this.helpButtonClick=ct(this,"helpButtonClick",7),this.backButonLabel="Back",this.helpButonLabel="Help",this.hideNavigationButtonLabel="Hide main navigation",this.logoText="Admin",this.showNavigationButtonLabel="Show main navigation",this.navigationLabel="Main",this.onBackButtonClick=t=>{this.backButtonClick.emit(t)},this.onHelpButtonClick=t=>{this.helpButtonClick.emit(t)},this.onMobileNavigationToggleClick=()=>{this.toggleSidebar()},this.onClick=t=>{const i=t.target,n=Boolean(i.closest(".console-layout__mobile-navigation-button"));!t.composedPath().includes(this.sidebarEl)&&!n&&this.sidebarActive&&(this.sidebarActive=!1)},this.onKeyDown=t=>{t.code==="Escape"&&this.sidebarActive&&this.deactivateSidebar()}}componentDidLoad(){const e=[this.sidebarEl,...Array.from(this.el.querySelectorAll('[slot="navigation"], [slot="user"]')).filter(t=>Boolean(t))];this.focusTrap=d5(e,{clickOutsideDeactivates:!0}),queueMicrotask(()=>{jt()?this.deactivateSidebar():this.activateSidebar()})}onWindowResize(){const e=jt();!e&&!this.sidebarActive?this.activateSidebar():e&&this.deactivateSidebar()}async toggleSidebar(){this.sidebarActive?this.deactivateSidebar():this.activateSidebar()}activateSidebar(){var e;this.sidebarActive=!0,this.sidebarEl.removeAttribute("inert"),jt()&&((e=this.focusTrap)===null||e===void 0||e.activate())}deactivateSidebar(){var e;this.sidebarActive=!1,this.sidebarEl.setAttribute("inert",""),(e=this.focusTrap)===null||e===void 0||e.deactivate({returnFocus:!0})}render(){const e=ut("console-layout",{"console-layout--sidebar-active":this.sidebarActive});return o(qe,null,o("div",{class:e,onClick:this.onClick,onKeyDown:this.onKeyDown},o("div",{"aria-hidden":String(!this.sidebarActive),class:"console-layout__sidebar",ref:t=>this.sidebarEl=t},o("header",{class:"console-layout__header"},o("div",{class:"console-layout__logo"},o("svg",{class:"console-layout__logo-mark",fill:"none",height:"26",viewBox:"0 0 16 26",width:"16",xmlns:"http://www.w3.org/2000/svg"},o("path",{d:"M0.624238 14.0705C0.326496 13.5353 0.118077 12.9406 0.0287543 12.3161C-0.0307941 11.662 -0.0010199 11.0375 0.147851 10.4428C0.296722 9.84813 0.594464 9.25343 0.951754 8.77767C1.33882 8.27217 1.78543 7.85588 2.35114 7.55853L14.6181 0.362671C14.9159 0.8979 15.1243 1.4926 15.2136 2.11703C15.3029 2.74147 15.2434 3.3659 15.0945 3.99034C14.9456 4.58504 14.6479 5.17974 14.2906 5.6555C13.9035 6.16099 13.4569 6.57728 12.8912 6.87463L0.624238 14.0705Z",fill:"#145AF5"}),o("path",{d:"M3.69214 21.4743C3.3944 20.9391 3.18598 20.3444 3.09666 19.72C3.00733 19.0956 3.06688 18.4711 3.21575 17.8467C3.36462 17.252 3.66237 16.6573 4.01966 16.1815C4.40672 15.676 4.85333 15.2597 5.41904 14.9624L12.2076 10.9779C12.5053 11.5131 12.7137 12.1078 12.803 12.7323C12.8924 13.3567 12.8328 13.9811 12.6839 14.6056C12.5351 15.2003 12.2373 15.795 11.88 16.2707C11.493 16.7762 11.0464 17.1925 10.4807 17.4899L3.69214 21.4743Z",fill:"#145AF5"}),o("path",{d:"M3.69141 21.4739L7.77047 19.0951C8.39573 20.1953 8.5446 21.5036 8.24686 22.7228C7.91934 23.9419 7.14521 24.9826 6.04357 25.6368L3.69141 21.4739Z",fill:"#80A8F4"}),o("path",{d:"M12.2072 10.9785L7.32419 10.1459L0.625 14.0709L5.38887 14.9629L12.2072 10.9785Z",fill:"#80A8F4"})),o("flip-text",{class:"console-layout__logo-text",weight:"medium"},this.logoText))),o("nav",{"aria-label":this.navigationLabel,class:"console-layout__navigation"},o("slot",{name:"navigation"}),this.sidebarActive&&o("flip-visually-hidden",null,o("button",{class:"console-layout__hide-navigation-button",onClick:this.onMobileNavigationToggleClick,type:"button"},this.hideNavigationButtonLabel))),o("div",{class:"console-layout__user"},o("slot",{name:"user"}))),o("main",{"aria-labelledby":"app-name",class:"console-layout__main"},o("header",{class:"console-layout__app-bar"},o("flip-button",{class:"console-layout__mobile-navigation-button",flipAriaExpanded:String(this.sidebarActive),hideLabel:!0,icon:this.sidebarActive?"<flip-icon-close></flip-icon-close>":"<flip-icon-menu></flip-icon-menu>",label:this.sidebarActive?this.hideNavigationButtonLabel:this.showNavigationButtonLabel,onClick:this.onMobileNavigationToggleClick}),o("flip-heading",{as:"h1",class:"console-layout__app-name",headingId:"app-name",level:4,text:this.appName}),this.showHelpButton&&o("flip-button",{class:"console-layout__help-button",hideLabel:!0,icon:"<flip-icon-help></flip-icon-help>",label:this.helpButonLabel,onClick:this.onHelpButtonClick})),o("section",{"aria-labelledby":"heading",class:"console-layout__content"},o("header",{class:"console-layout__content-header"},this.showBackButton&&o("flip-button",{class:"console-layout__back-button",hideLabel:!0,icon:"<flip-icon-arrow-back></flip-icon-arrow-back>",label:this.backButonLabel,onClick:this.onBackButtonClick}),o("div",null,o("flip-heading",{as:"h2",class:"console-layout__heading",headingId:"heading",level:1,text:this.heading}),this.subheading&&o("flip-text",{class:"console-layout__subheading",color:"subdued"},this.subheading))),o("div",{class:"console-layout__integration"},o("slot",{name:"content"}))))))}get el(){return Ct(this)}};p1.style=h5;const f5=Object.freeze(Object.defineProperty({__proto__:null,flip_console_layout:p1},Symbol.toStringTag,{value:"Module"}));function $t(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Mt(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function jn(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?jn=function(i){return typeof i}:jn=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},jn(e)}function It(e){Mt(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||jn(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function p5(e,t){Mt(2,arguments);var i=It(e).getTime(),n=$t(t);return new Date(i+n)}var g5={};function Di(){return g5}function g1(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var m5=6e4,b5=36e5,v5=1e3;function Wn(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Wn=function(i){return typeof i}:Wn=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Wn(e)}function y5(e){return Mt(1,arguments),e instanceof Date||Wn(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ga(e){if(Mt(1,arguments),!y5(e)&&typeof e!="number")return!1;var t=It(e);return!isNaN(Number(t))}function m1(e,t){Mt(2,arguments);var i=$t(t);return p5(e,-i)}var C5=864e5;function _5(e){Mt(1,arguments);var t=It(e),i=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),r=i-n;return Math.floor(r/C5)+1}function $i(e){Mt(1,arguments);var t=1,i=It(e),n=i.getUTCDay(),r=(n<t?7:0)+n-t;return i.setUTCDate(i.getUTCDate()-r),i.setUTCHours(0,0,0,0),i}function b1(e){Mt(1,arguments);var t=It(e),i=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(i+1,0,4),n.setUTCHours(0,0,0,0);var r=$i(n),d=new Date(0);d.setUTCFullYear(i,0,4),d.setUTCHours(0,0,0,0);var a=$i(d);return t.getTime()>=r.getTime()?i+1:t.getTime()>=a.getTime()?i:i-1}function w5(e){Mt(1,arguments);var t=b1(e),i=new Date(0);i.setUTCFullYear(t,0,4),i.setUTCHours(0,0,0,0);var n=$i(i);return n}var S5=6048e5;function v1(e){Mt(1,arguments);var t=It(e),i=$i(t).getTime()-w5(t).getTime();return Math.round(i/S5)+1}function wi(e,t){var i,n,r,d,a,c,l,u;Mt(1,arguments);var m=Di(),P=$t((i=(n=(r=(d=t==null?void 0:t.weekStartsOn)!==null&&d!==void 0?d:t==null||(a=t.locale)===null||a===void 0||(c=a.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:m.weekStartsOn)!==null&&n!==void 0?n:(l=m.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&i!==void 0?i:0);if(!(P>=0&&P<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var L=It(e),D=L.getUTCDay(),k=(D<P?7:0)+D-P;return L.setUTCDate(L.getUTCDate()-k),L.setUTCHours(0,0,0,0),L}function Ya(e,t){var i,n,r,d,a,c,l,u;Mt(1,arguments);var m=It(e),P=m.getUTCFullYear(),L=Di(),D=$t((i=(n=(r=(d=t==null?void 0:t.firstWeekContainsDate)!==null&&d!==void 0?d:t==null||(a=t.locale)===null||a===void 0||(c=a.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:L.firstWeekContainsDate)!==null&&n!==void 0?n:(l=L.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(D>=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=new Date(0);k.setUTCFullYear(P+1,0,D),k.setUTCHours(0,0,0,0);var S=wi(k,t),M=new Date(0);M.setUTCFullYear(P,0,D),M.setUTCHours(0,0,0,0);var j=wi(M,t);return m.getTime()>=S.getTime()?P+1:m.getTime()>=j.getTime()?P:P-1}function x5(e,t){var i,n,r,d,a,c,l,u;Mt(1,arguments);var m=Di(),P=$t((i=(n=(r=(d=t==null?void 0:t.firstWeekContainsDate)!==null&&d!==void 0?d:t==null||(a=t.locale)===null||a===void 0||(c=a.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:m.firstWeekContainsDate)!==null&&n!==void 0?n:(l=m.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&i!==void 0?i:1),L=Ya(e,t),D=new Date(0);D.setUTCFullYear(L,0,P),D.setUTCHours(0,0,0,0);var k=wi(D,t);return k}var k5=6048e5;function y1(e,t){Mt(1,arguments);var i=It(e),n=wi(i,t).getTime()-x5(i,t).getTime();return Math.round(n/k5)+1}function yt(e,t){for(var i=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return i+n}var hi={y:function(t,i){var n=t.getUTCFullYear(),r=n>0?n:1-n;return yt(i==="yy"?r%100:r,i.length)},M:function(t,i){var n=t.getUTCMonth();return i==="M"?String(n+1):yt(n+1,2)},d:function(t,i){return yt(t.getUTCDate(),i.length)},a:function(t,i){var n=t.getUTCHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,i){return yt(t.getUTCHours()%12||12,i.length)},H:function(t,i){return yt(t.getUTCHours(),i.length)},m:function(t,i){return yt(t.getUTCMinutes(),i.length)},s:function(t,i){return yt(t.getUTCSeconds(),i.length)},S:function(t,i){var n=i.length,r=t.getUTCMilliseconds(),d=Math.floor(r*Math.pow(10,n-3));return yt(d,i.length)}},zi={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},A5={G:function(t,i,n){var r=t.getUTCFullYear()>0?1:0;switch(i){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,i,n){if(i==="yo"){var r=t.getUTCFullYear(),d=r>0?r:1-r;return n.ordinalNumber(d,{unit:"year"})}return hi.y(t,i)},Y:function(t,i,n,r){var d=Ya(t,r),a=d>0?d:1-d;if(i==="YY"){var c=a%100;return yt(c,2)}return i==="Yo"?n.ordinalNumber(a,{unit:"year"}):yt(a,i.length)},R:function(t,i){var n=b1(t);return yt(n,i.length)},u:function(t,i){var n=t.getUTCFullYear();return yt(n,i.length)},Q:function(t,i,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(i){case"Q":return String(r);case"QQ":return yt(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,i,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(i){case"q":return String(r);case"qq":return yt(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,i,n){var r=t.getUTCMonth();switch(i){case"M":case"MM":return hi.M(t,i);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,i,n){var r=t.getUTCMonth();switch(i){case"L":return String(r+1);case"LL":return yt(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,i,n,r){var d=y1(t,r);return i==="wo"?n.ordinalNumber(d,{unit:"week"}):yt(d,i.length)},I:function(t,i,n){var r=v1(t);return i==="Io"?n.ordinalNumber(r,{unit:"week"}):yt(r,i.length)},d:function(t,i,n){return i==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):hi.d(t,i)},D:function(t,i,n){var r=_5(t);return i==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):yt(r,i.length)},E:function(t,i,n){var r=t.getUTCDay();switch(i){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,i,n,r){var d=t.getUTCDay(),a=(d-r.weekStartsOn+8)%7||7;switch(i){case"e":return String(a);case"ee":return yt(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(d,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(d,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(d,{width:"short",context:"formatting"});case"eeee":default:return n.day(d,{width:"wide",context:"formatting"})}},c:function(t,i,n,r){var d=t.getUTCDay(),a=(d-r.weekStartsOn+8)%7||7;switch(i){case"c":return String(a);case"cc":return yt(a,i.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(d,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(d,{width:"narrow",context:"standalone"});case"cccccc":return n.day(d,{width:"short",context:"standalone"});case"cccc":default:return n.day(d,{width:"wide",context:"standalone"})}},i:function(t,i,n){var r=t.getUTCDay(),d=r===0?7:r;switch(i){case"i":return String(d);case"ii":return yt(d,i.length);case"io":return n.ordinalNumber(d,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,i,n){var r=t.getUTCHours(),d=r/12>=1?"pm":"am";switch(i){case"a":case"aa":return n.dayPeriod(d,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(d,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(d,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(d,{width:"wide",context:"formatting"})}},b:function(t,i,n){var r=t.getUTCHours(),d;switch(r===12?d=zi.noon:r===0?d=zi.midnight:d=r/12>=1?"pm":"am",i){case"b":case"bb":return n.dayPeriod(d,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(d,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(d,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(d,{width:"wide",context:"formatting"})}},B:function(t,i,n){var r=t.getUTCHours(),d;switch(r>=17?d=zi.evening:r>=12?d=zi.afternoon:r>=4?d=zi.morning:d=zi.night,i){case"B":case"BB":case"BBB":return n.dayPeriod(d,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(d,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(d,{width:"wide",context:"formatting"})}},h:function(t,i,n){if(i==="ho"){var r=t.getUTCHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return hi.h(t,i)},H:function(t,i,n){return i==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):hi.H(t,i)},K:function(t,i,n){var r=t.getUTCHours()%12;return i==="Ko"?n.ordinalNumber(r,{unit:"hour"}):yt(r,i.length)},k:function(t,i,n){var r=t.getUTCHours();return r===0&&(r=24),i==="ko"?n.ordinalNumber(r,{unit:"hour"}):yt(r,i.length)},m:function(t,i,n){return i==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):hi.m(t,i)},s:function(t,i,n){return i==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):hi.s(t,i)},S:function(t,i){return hi.S(t,i)},X:function(t,i,n,r){var d=r._originalDate||t,a=d.getTimezoneOffset();if(a===0)return"Z";switch(i){case"X":return _1(a);case"XXXX":case"XX":return Si(a);case"XXXXX":case"XXX":default:return Si(a,":")}},x:function(t,i,n,r){var d=r._originalDate||t,a=d.getTimezoneOffset();switch(i){case"x":return _1(a);case"xxxx":case"xx":return Si(a);case"xxxxx":case"xxx":default:return Si(a,":")}},O:function(t,i,n,r){var d=r._originalDate||t,a=d.getTimezoneOffset();switch(i){case"O":case"OO":case"OOO":return"GMT"+C1(a,":");case"OOOO":default:return"GMT"+Si(a,":")}},z:function(t,i,n,r){var d=r._originalDate||t,a=d.getTimezoneOffset();switch(i){case"z":case"zz":case"zzz":return"GMT"+C1(a,":");case"zzzz":default:return"GMT"+Si(a,":")}},t:function(t,i,n,r){var d=r._originalDate||t,a=Math.floor(d.getTime()/1e3);return yt(a,i.length)},T:function(t,i,n,r){var d=r._originalDate||t,a=d.getTime();return yt(a,i.length)}};function C1(e,t){var i=e>0?"-":"+",n=Math.abs(e),r=Math.floor(n/60),d=n%60;if(d===0)return i+String(r);var a=t||"";return i+String(r)+a+yt(d,2)}function _1(e,t){if(e%60===0){var i=e>0?"-":"+";return i+yt(Math.abs(e)/60,2)}return Si(e,t)}function Si(e,t){var i=t||"",n=e>0?"-":"+",r=Math.abs(e),d=yt(Math.floor(r/60),2),a=yt(r%60,2);return n+d+i+a}var w1=function(t,i){switch(t){case"P":return i.date({width:"short"});case"PP":return i.date({width:"medium"});case"PPP":return i.date({width:"long"});case"PPPP":default:return i.date({width:"full"})}},S1=function(t,i){switch(t){case"p":return i.time({width:"short"});case"pp":return i.time({width:"medium"});case"ppp":return i.time({width:"long"});case"pppp":default:return i.time({width:"full"})}},T5=function(t,i){var n=t.match(/(P+)(p+)?/)||[],r=n[1],d=n[2];if(!d)return w1(t,i);var a;switch(r){case"P":a=i.dateTime({width:"short"});break;case"PP":a=i.dateTime({width:"medium"});break;case"PPP":a=i.dateTime({width:"long"});break;case"PPPP":default:a=i.dateTime({width:"full"});break}return a.replace("{{date}}",w1(r,i)).replace("{{time}}",S1(d,i))},qa={p:S1,P:T5},P5=["D","DD"],E5=["YY","YYYY"];function x1(e){return P5.indexOf(e)!==-1}function k1(e){return E5.indexOf(e)!==-1}function Un(e,t,i){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var M5={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},O5=function(t,i,n){var r,d=M5[t];return typeof d=="string"?r=d:i===1?r=d.one:r=d.other.replace("{{count}}",i.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Xa(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=t.width?String(t.width):e.defaultWidth,n=e.formats[i]||e.formats[e.defaultWidth];return n}}var R5={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},L5={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},I5={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},F5={date:Xa({formats:R5,defaultWidth:"full"}),time:Xa({formats:L5,defaultWidth:"full"}),dateTime:Xa({formats:I5,defaultWidth:"full"})},D5={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},$5=function(t,i,n,r){return D5[t]};function nn(e){return function(t,i){var n=i!=null&&i.context?String(i.context):"standalone",r;if(n==="formatting"&&e.formattingValues){var d=e.defaultFormattingWidth||e.defaultWidth,a=i!=null&&i.width?String(i.width):d;r=e.formattingValues[a]||e.formattingValues[d]}else{var c=e.defaultWidth,l=i!=null&&i.width?String(i.width):e.defaultWidth;r=e.values[l]||e.values[c]}var u=e.argumentCallback?e.argumentCallback(t):t;return r[u]}}var z5={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},N5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},B5={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},V5={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},H5={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},j5={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},W5=function(t,i){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},U5={ordinalNumber:W5,era:nn({values:z5,defaultWidth:"wide"}),quarter:nn({values:N5,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:nn({values:B5,defaultWidth:"wide"}),day:nn({values:V5,defaultWidth:"wide"}),dayPeriod:nn({values:H5,defaultWidth:"wide",formattingValues:j5,defaultFormattingWidth:"wide"})};function rn(e){return function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=i.width,r=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],d=t.match(r);if(!d)return null;var a=d[0],c=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(c)?G5(c,function(P){return P.test(a)}):Z5(c,function(P){return P.test(a)}),u;u=e.valueCallback?e.valueCallback(l):l,u=i.valueCallback?i.valueCallback(u):u;var m=t.slice(a.length);return{value:u,rest:m}}}function Z5(e,t){for(var i in e)if(e.hasOwnProperty(i)&&t(e[i]))return i}function G5(e,t){for(var i=0;i<e.length;i++)if(t(e[i]))return i}function Y5(e){return function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var r=n[0],d=t.match(e.parsePattern);if(!d)return null;var a=e.valueCallback?e.valueCallback(d[0]):d[0];a=i.valueCallback?i.valueCallback(a):a;var c=t.slice(r.length);return{value:a,rest:c}}}var q5=/^(\d+)(th|st|nd|rd)?/i,X5=/\d+/i,K5={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Q5={any:[/^b/i,/^(a|c)/i]},J5={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ep={any:[/1/i,/2/i,/3/i,/4/i]},tp={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},ip={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},np={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},rp={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},ap={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},op={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},sp={ordinalNumber:Y5({matchPattern:q5,parsePattern:X5,valueCallback:function(t){return parseInt(t,10)}}),era:rn({matchPatterns:K5,defaultMatchWidth:"wide",parsePatterns:Q5,defaultParseWidth:"any"}),quarter:rn({matchPatterns:J5,defaultMatchWidth:"wide",parsePatterns:ep,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:rn({matchPatterns:tp,defaultMatchWidth:"wide",parsePatterns:ip,defaultParseWidth:"any"}),day:rn({matchPatterns:np,defaultMatchWidth:"wide",parsePatterns:rp,defaultParseWidth:"any"}),dayPeriod:rn({matchPatterns:ap,defaultMatchWidth:"any",parsePatterns:op,defaultParseWidth:"any"})},A1={code:"en-US",formatDistance:O5,formatLong:F5,formatRelative:$5,localize:U5,match:sp,options:{weekStartsOn:0,firstWeekContainsDate:1}},lp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,cp=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,up=/^'([^]*?)'?$/,dp=/''/g,hp=/[a-zA-Z]/;function Ka(e,t,i){var n,r,d,a,c,l,u,m,P,L,D,k,S,M,j,p,_,N;Mt(2,arguments);var A=String(t),z=Di(),B=(n=(r=i==null?void 0:i.locale)!==null&&r!==void 0?r:z.locale)!==null&&n!==void 0?n:A1,w=$t((d=(a=(c=(l=i==null?void 0:i.firstWeekContainsDate)!==null&&l!==void 0?l:i==null||(u=i.locale)===null||u===void 0||(m=u.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&c!==void 0?c:z.firstWeekContainsDate)!==null&&a!==void 0?a:(P=z.locale)===null||P===void 0||(L=P.options)===null||L===void 0?void 0:L.firstWeekContainsDate)!==null&&d!==void 0?d:1);if(!(w>=1&&w<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=$t((D=(k=(S=(M=i==null?void 0:i.weekStartsOn)!==null&&M!==void 0?M:i==null||(j=i.locale)===null||j===void 0||(p=j.options)===null||p===void 0?void 0:p.weekStartsOn)!==null&&S!==void 0?S:z.weekStartsOn)!==null&&k!==void 0?k:(_=z.locale)===null||_===void 0||(N=_.options)===null||N===void 0?void 0:N.weekStartsOn)!==null&&D!==void 0?D:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!B.localize)throw new RangeError("locale must contain localize property");if(!B.formatLong)throw new RangeError("locale must contain formatLong property");var x=It(e);if(!Ga(x))throw new RangeError("Invalid time value");var g=g1(x),b=m1(x,g),E={firstWeekContainsDate:w,weekStartsOn:R,locale:B,_originalDate:x},I=A.match(cp).map(function(V){var q=V[0];if(q==="p"||q==="P"){var W=qa[q];return W(V,B.formatLong)}return V}).join("").match(lp).map(function(V){if(V==="''")return"'";var q=V[0];if(q==="'")return fp(V);var W=A5[q];if(W)return!(i!=null&&i.useAdditionalWeekYearTokens)&&k1(V)&&Un(V,t,String(e)),!(i!=null&&i.useAdditionalDayOfYearTokens)&&x1(V)&&Un(V,t,String(e)),W(b,V,B.localize,E);if(q.match(hp))throw new RangeError("Format string contains an unescaped latin alphabet character `"+q+"`");return V}).join("");return I}function fp(e){var t=e.match(up);return t?t[1].replace(dp,"'"):e}function pp(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}function Zn(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Zn=function(i){return typeof i}:Zn=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Zn(e)}function T1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qa(e,t)}function Qa(e,t){return Qa=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Qa(e,t)}function P1(e){var t=mp();return function(){var n=Gn(e),r;if(t){var d=Gn(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return gp(this,r)}}function gp(e,t){return t&&(Zn(t)==="object"||typeof t=="function")?t:Ja(e)}function Ja(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Gn(e){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Gn(e)}function eo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E1(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function to(e,t,i){return t&&E1(e.prototype,t),i&&E1(e,i),e}function io(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var bp=10,M1=function(){function e(){eo(this,e),io(this,"subPriority",0)}return to(e,[{key:"validate",value:function(i,n){return!0}}]),e}(),vp=function(e){T1(i,e);var t=P1(i);function i(n,r,d,a,c){var l;return eo(this,i),l=t.call(this),l.value=n,l.validateValue=r,l.setValue=d,l.priority=a,c&&(l.subPriority=c),l}return to(i,[{key:"validate",value:function(r,d){return this.validateValue(r,this.value,d)}},{key:"set",value:function(r,d,a){return this.setValue(r,d,this.value,a)}}]),i}(M1),yp=function(e){T1(i,e);var t=P1(i);function i(){var n;eo(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),io(Ja(n),"priority",bp),io(Ja(n),"subPriority",-1),n}return to(i,[{key:"set",value:function(r,d){if(d.timestampIsSet)return r;var a=new Date(0);return a.setFullYear(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()),a.setHours(r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds()),a}}]),i}(M1);function Cp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O1(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _p(e,t,i){return t&&O1(e.prototype,t),i&&O1(e,i),e}var bt=function(){function e(){Cp(this,e)}return _p(e,[{key:"run",value:function(i,n,r,d){var a=this.parse(i,n,r,d);return a?{setter:new vp(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}},{key:"validate",value:function(i,n,r){return!0}}]),e}();function Yn(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Yn=function(i){return typeof i}:Yn=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Yn(e)}function wp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R1(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sp(e,t,i){return t&&R1(e.prototype,t),i&&R1(e,i),e}function xp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&no(e,t)}function no(e,t){return no=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},no(e,t)}function kp(e){var t=Tp();return function(){var n=qn(e),r;if(t){var d=qn(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return Ap(this,r)}}function Ap(e,t){return t&&(Yn(t)==="object"||typeof t=="function")?t:ro(e)}function ro(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},qn(e)}function L1(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var Pp=function(e){xp(i,e);var t=kp(i);function i(){var n;wp(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),L1(ro(n),"priority",140),L1(ro(n),"incompatibleTokens",["R","u","t","T"]),n}return Sp(i,[{key:"parse",value:function(r,d,a){switch(d){case"G":case"GG":case"GGG":return a.era(r,{width:"abbreviated"})||a.era(r,{width:"narrow"});case"GGGGG":return a.era(r,{width:"narrow"});case"GGGG":default:return a.era(r,{width:"wide"})||a.era(r,{width:"abbreviated"})||a.era(r,{width:"narrow"})}}},{key:"set",value:function(r,d,a){return d.era=a,r.setUTCFullYear(a,0,1),r.setUTCHours(0,0,0,0),r}}]),i}(bt),Tt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},qt={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Pt(e,t){return e&&{value:t(e.value),rest:e.rest}}function wt(e,t){var i=t.match(e);return i?{value:parseInt(i[0],10),rest:t.slice(i[0].length)}:null}function Xt(e,t){var i=t.match(e);if(!i)return null;if(i[0]==="Z")return{value:0,rest:t.slice(1)};var n=i[1]==="+"?1:-1,r=i[2]?parseInt(i[2],10):0,d=i[3]?parseInt(i[3],10):0,a=i[5]?parseInt(i[5],10):0;return{value:n*(r*b5+d*m5+a*v5),rest:t.slice(i[0].length)}}function I1(e){return wt(Tt.anyDigitsSigned,e)}function At(e,t){switch(e){case 1:return wt(Tt.singleDigit,t);case 2:return wt(Tt.twoDigits,t);case 3:return wt(Tt.threeDigits,t);case 4:return wt(Tt.fourDigits,t);default:return wt(new RegExp("^\\d{1,"+e+"}"),t)}}function Xn(e,t){switch(e){case 1:return wt(Tt.singleDigitSigned,t);case 2:return wt(Tt.twoDigitsSigned,t);case 3:return wt(Tt.threeDigitsSigned,t);case 4:return wt(Tt.fourDigitsSigned,t);default:return wt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function ao(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function F1(e,t){var i=t>0,n=i?t:1-t,r;if(n<=50)r=e||100;else{var d=n+50,a=Math.floor(d/100)*100,c=e>=d%100;r=e+a-(c?100:0)}return i?r:1-r}function D1(e){return e%400===0||e%4===0&&e%100!==0}function Kn(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Kn=function(i){return typeof i}:Kn=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Kn(e)}function Ep(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $1(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mp(e,t,i){return t&&$1(e.prototype,t),i&&$1(e,i),e}function Op(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oo(e,t)}function oo(e,t){return oo=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},oo(e,t)}function Rp(e){var t=Ip();return function(){var n=Qn(e),r;if(t){var d=Qn(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return Lp(this,r)}}function Lp(e,t){return t&&(Kn(t)==="object"||typeof t=="function")?t:so(e)}function so(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ip(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Qn(e){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Qn(e)}function z1(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var Fp=function(e){Op(i,e);var t=Rp(i);function i(){var n;Ep(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),z1(so(n),"priority",130),z1(so(n),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),n}return Mp(i,[{key:"parse",value:function(r,d,a){var c=function(u){return{year:u,isTwoDigitYear:d==="yy"}};switch(d){case"y":return Pt(At(4,r),c);case"yo":return Pt(a.ordinalNumber(r,{unit:"year"}),c);default:return Pt(At(d.length,r),c)}}},{key:"validate",value:function(r,d){return d.isTwoDigitYear||d.year>0}},{key:"set",value:function(r,d,a){var c=r.getUTCFullYear();if(a.isTwoDigitYear){var l=F1(a.year,c);return r.setUTCFullYear(l,0,1),r.setUTCHours(0,0,0,0),r}var u=!("era"in d)||d.era===1?a.year:1-a.year;return r.setUTCFullYear(u,0,1),r.setUTCHours(0,0,0,0),r}}]),i}(bt);function Jn(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Jn=function(i){return typeof i}:Jn=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Jn(e)}function Dp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N1(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $p(e,t,i){return t&&N1(e.prototype,t),i&&N1(e,i),e}function zp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lo(e,t)}function lo(e,t){return lo=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},lo(e,t)}function Np(e){var t=Vp();return function(){var n=er(e),r;if(t){var d=er(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return Bp(this,r)}}function Bp(e,t){return t&&(Jn(t)==="object"||typeof t=="function")?t:co(e)}function co(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function er(e){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},er(e)}function B1(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var Hp=function(e){zp(i,e);var t=Np(i);function i(){var n;Dp(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),B1(co(n),"priority",130),B1(co(n),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),n}return $p(i,[{key:"parse",value:function(r,d,a){var c=function(u){return{year:u,isTwoDigitYear:d==="YY"}};switch(d){case"Y":return Pt(At(4,r),c);case"Yo":return Pt(a.ordinalNumber(r,{unit:"year"}),c);default:return Pt(At(d.length,r),c)}}},{key:"validate",value:function(r,d){return d.isTwoDigitYear||d.year>0}},{key:"set",value:function(r,d,a,c){var l=Ya(r,c);if(a.isTwoDigitYear){var u=F1(a.year,l);return r.setUTCFullYear(u,0,c.firstWeekContainsDate),r.setUTCHours(0,0,0,0),wi(r,c)}var m=!("era"in d)||d.era===1?a.year:1-a.year;return r.setUTCFullYear(m,0,c.firstWeekContainsDate),r.setUTCHours(0,0,0,0),wi(r,c)}}]),i}(bt);function tr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?tr=function(i){return typeof i}:tr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},tr(e)}function jp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V1(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wp(e,t,i){return t&&V1(e.prototype,t),i&&V1(e,i),e}function Up(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uo(e,t)}function uo(e,t){return uo=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},uo(e,t)}function Zp(e){var t=Yp();return function(){var n=ir(e),r;if(t){var d=ir(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return Gp(this,r)}}function Gp(e,t){return t&&(tr(t)==="object"||typeof t=="function")?t:ho(e)}function ho(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},ir(e)}function H1(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var qp=function(e){Up(i,e);var t=Zp(i);function i(){var n;jp(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),H1(ho(n),"priority",130),H1(ho(n),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),n}return Wp(i,[{key:"parse",value:function(r,d){return Xn(d==="R"?4:d.length,r)}},{key:"set",value:function(r,d,a){var c=new Date(0);return c.setUTCFullYear(a,0,4),c.setUTCHours(0,0,0,0),$i(c)}}]),i}(bt);function nr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?nr=function(i){return typeof i}:nr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},nr(e)}function Xp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j1(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kp(e,t,i){return t&&j1(e.prototype,t),i&&j1(e,i),e}function Qp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fo(e,t)}function fo(e,t){return fo=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},fo(e,t)}function Jp(e){var t=t7();return function(){var n=rr(e),r;if(t){var d=rr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return e7(this,r)}}function e7(e,t){return t&&(nr(t)==="object"||typeof t=="function")?t:po(e)}function po(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t7(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},rr(e)}function W1(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var i7=function(e){Qp(i,e);var t=Jp(i);function i(){var n;Xp(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),W1(po(n),"priority",130),W1(po(n),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),n}return Kp(i,[{key:"parse",value:function(r,d){return Xn(d==="u"?4:d.length,r)}},{key:"set",value:function(r,d,a){return r.setUTCFullYear(a,0,1),r.setUTCHours(0,0,0,0),r}}]),i}(bt);function ar(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ar=function(i){return typeof i}:ar=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ar(e)}function n7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U1(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r7(e,t,i){return t&&U1(e.prototype,t),i&&U1(e,i),e}function a7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&go(e,t)}function go(e,t){return go=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},go(e,t)}function o7(e){var t=l7();return function(){var n=or(e),r;if(t){var d=or(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return s7(this,r)}}function s7(e,t){return t&&(ar(t)==="object"||typeof t=="function")?t:mo(e)}function mo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l7(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},or(e)}function Z1(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var c7=function(e){a7(i,e);var t=o7(i);function i(){var n;n7(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),Z1(mo(n),"priority",120),Z1(mo(n),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),n}return r7(i,[{key:"parse",value:function(r,d,a){switch(d){case"Q":case"QQ":return At(d.length,r);case"Qo":return a.ordinalNumber(r,{unit:"quarter"});case"QQQ":return a.quarter(r,{width:"abbreviated",context:"formatting"})||a.quarter(r,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(r,{width:"wide",context:"formatting"})||a.quarter(r,{width:"abbreviated",context:"formatting"})||a.quarter(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,d){return d>=1&&d<=4}},{key:"set",value:function(r,d,a){return r.setUTCMonth((a-1)*3,1),r.setUTCHours(0,0,0,0),r}}]),i}(bt);function sr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?sr=function(i){return typeof i}:sr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},sr(e)}function u7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G1(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d7(e,t,i){return t&&G1(e.prototype,t),i&&G1(e,i),e}function h7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bo(e,t)}function bo(e,t){return bo=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},bo(e,t)}function f7(e){var t=g7();return function(){var n=lr(e),r;if(t){var d=lr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return p7(this,r)}}function p7(e,t){return t&&(sr(t)==="object"||typeof t=="function")?t:vo(e)}function vo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g7(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},lr(e)}function Y1(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var m7=function(e){h7(i,e);var t=f7(i);function i(){var n;u7(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),Y1(vo(n),"priority",120),Y1(vo(n),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),n}return d7(i,[{key:"parse",value:function(r,d,a){switch(d){case"q":case"qq":return At(d.length,r);case"qo":return a.ordinalNumber(r,{unit:"quarter"});case"qqq":return a.quarter(r,{width:"abbreviated",context:"standalone"})||a.quarter(r,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(r,{width:"wide",context:"standalone"})||a.quarter(r,{width:"abbreviated",context:"standalone"})||a.quarter(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,d){return d>=1&&d<=4}},{key:"set",value:function(r,d,a){return r.setUTCMonth((a-1)*3,1),r.setUTCHours(0,0,0,0),r}}]),i}(bt);function cr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?cr=function(i){return typeof i}:cr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},cr(e)}function b7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q1(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v7(e,t,i){return t&&q1(e.prototype,t),i&&q1(e,i),e}function y7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yo(e,t)}function yo(e,t){return yo=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},yo(e,t)}function C7(e){var t=w7();return function(){var n=ur(e),r;if(t){var d=ur(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return _7(this,r)}}function _7(e,t){return t&&(cr(t)==="object"||typeof t=="function")?t:Co(e)}function Co(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w7(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},ur(e)}function X1(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var S7=function(e){y7(i,e);var t=C7(i);function i(){var n;b7(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),X1(Co(n),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),X1(Co(n),"priority",110),n}return v7(i,[{key:"parse",value:function(r,d,a){var c=function(u){return u-1};switch(d){case"M":return Pt(wt(Tt.month,r),c);case"MM":return Pt(At(2,r),c);case"Mo":return Pt(a.ordinalNumber(r,{unit:"month"}),c);case"MMM":return a.month(r,{width:"abbreviated",context:"formatting"})||a.month(r,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(r,{width:"wide",context:"formatting"})||a.month(r,{width:"abbreviated",context:"formatting"})||a.month(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,d){return d>=0&&d<=11}},{key:"set",value:function(r,d,a){return r.setUTCMonth(a,1),r.setUTCHours(0,0,0,0),r}}]),i}(bt);function dr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dr=function(i){return typeof i}:dr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},dr(e)}function x7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K1(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k7(e,t,i){return t&&K1(e.prototype,t),i&&K1(e,i),e}function A7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_o(e,t)}function _o(e,t){return _o=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},_o(e,t)}function T7(e){var t=E7();return function(){var n=hr(e),r;if(t){var d=hr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return P7(this,r)}}function P7(e,t){return t&&(dr(t)==="object"||typeof t=="function")?t:wo(e)}function wo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E7(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},hr(e)}function Q1(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var M7=function(e){A7(i,e);var t=T7(i);function i(){var n;x7(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),Q1(wo(n),"priority",110),Q1(wo(n),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),n}return k7(i,[{key:"parse",value:function(r,d,a){var c=function(u){return u-1};switch(d){case"L":return Pt(wt(Tt.month,r),c);case"LL":return Pt(At(2,r),c);case"Lo":return Pt(a.ordinalNumber(r,{unit:"month"}),c);case"LLL":return a.month(r,{width:"abbreviated",context:"standalone"})||a.month(r,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(r,{width:"wide",context:"standalone"})||a.month(r,{width:"abbreviated",context:"standalone"})||a.month(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,d){return d>=0&&d<=11}},{key:"set",value:function(r,d,a){return r.setUTCMonth(a,1),r.setUTCHours(0,0,0,0),r}}]),i}(bt);function O7(e,t,i){Mt(2,arguments);var n=It(e),r=$t(t),d=y1(n,i)-r;return n.setUTCDate(n.getUTCDate()-d*7),n}function fr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?fr=function(i){return typeof i}:fr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},fr(e)}function R7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J1(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L7(e,t,i){return t&&J1(e.prototype,t),i&&J1(e,i),e}function I7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&So(e,t)}function So(e,t){return So=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},So(e,t)}function F7(e){var t=$7();return function(){var n=pr(e),r;if(t){var d=pr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return D7(this,r)}}function D7(e,t){return t&&(fr(t)==="object"||typeof t=="function")?t:xo(e)}function xo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $7(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},pr(e)}function ec(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var z7=function(e){I7(i,e);var t=F7(i);function i(){var n;R7(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),ec(xo(n),"priority",100),ec(xo(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),n}return L7(i,[{key:"parse",value:function(r,d,a){switch(d){case"w":return wt(Tt.week,r);case"wo":return a.ordinalNumber(r,{unit:"week"});default:return At(d.length,r)}}},{key:"validate",value:function(r,d){return d>=1&&d<=53}},{key:"set",value:function(r,d,a,c){return wi(O7(r,a,c),c)}}]),i}(bt);function N7(e,t){Mt(2,arguments);var i=It(e),n=$t(t),r=v1(i)-n;return i.setUTCDate(i.getUTCDate()-r*7),i}function gr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?gr=function(i){return typeof i}:gr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},gr(e)}function B7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V7(e,t,i){return t&&tc(e.prototype,t),i&&tc(e,i),e}function H7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ko(e,t)}function ko(e,t){return ko=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},ko(e,t)}function j7(e){var t=U7();return function(){var n=mr(e),r;if(t){var d=mr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return W7(this,r)}}function W7(e,t){return t&&(gr(t)==="object"||typeof t=="function")?t:Ao(e)}function Ao(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U7(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},mr(e)}function ic(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var Z7=function(e){H7(i,e);var t=j7(i);function i(){var n;B7(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),ic(Ao(n),"priority",100),ic(Ao(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),n}return V7(i,[{key:"parse",value:function(r,d,a){switch(d){case"I":return wt(Tt.week,r);case"Io":return a.ordinalNumber(r,{unit:"week"});default:return At(d.length,r)}}},{key:"validate",value:function(r,d){return d>=1&&d<=53}},{key:"set",value:function(r,d,a){return $i(N7(r,a))}}]),i}(bt);function br(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?br=function(i){return typeof i}:br=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},br(e)}function G7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y7(e,t,i){return t&&nc(e.prototype,t),i&&nc(e,i),e}function q7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&To(e,t)}function To(e,t){return To=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},To(e,t)}function X7(e){var t=Q7();return function(){var n=yr(e),r;if(t){var d=yr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return K7(this,r)}}function K7(e,t){return t&&(br(t)==="object"||typeof t=="function")?t:vr(e)}function vr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q7(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},yr(e)}function Po(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var J7=[31,28,31,30,31,30,31,31,30,31,30,31],e8=[31,29,31,30,31,30,31,31,30,31,30,31],t8=function(e){q7(i,e);var t=X7(i);function i(){var n;G7(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),Po(vr(n),"priority",90),Po(vr(n),"subPriority",1),Po(vr(n),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),n}return Y7(i,[{key:"parse",value:function(r,d,a){switch(d){case"d":return wt(Tt.date,r);case"do":return a.ordinalNumber(r,{unit:"date"});default:return At(d.length,r)}}},{key:"validate",value:function(r,d){var a=r.getUTCFullYear(),c=D1(a),l=r.getUTCMonth();return c?d>=1&&d<=e8[l]:d>=1&&d<=J7[l]}},{key:"set",value:function(r,d,a){return r.setUTCDate(a),r.setUTCHours(0,0,0,0),r}}]),i}(bt);function Cr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Cr=function(i){return typeof i}:Cr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Cr(e)}function i8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n8(e,t,i){return t&&rc(e.prototype,t),i&&rc(e,i),e}function r8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eo(e,t)}function Eo(e,t){return Eo=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Eo(e,t)}function a8(e){var t=s8();return function(){var n=wr(e),r;if(t){var d=wr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return o8(this,r)}}function o8(e,t){return t&&(Cr(t)==="object"||typeof t=="function")?t:_r(e)}function _r(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s8(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},wr(e)}function Mo(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var l8=function(e){r8(i,e);var t=a8(i);function i(){var n;i8(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),Mo(_r(n),"priority",90),Mo(_r(n),"subpriority",1),Mo(_r(n),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),n}return n8(i,[{key:"parse",value:function(r,d,a){switch(d){case"D":case"DD":return wt(Tt.dayOfYear,r);case"Do":return a.ordinalNumber(r,{unit:"date"});default:return At(d.length,r)}}},{key:"validate",value:function(r,d){var a=r.getUTCFullYear(),c=D1(a);return c?d>=1&&d<=366:d>=1&&d<=365}},{key:"set",value:function(r,d,a){return r.setUTCMonth(0,a),r.setUTCHours(0,0,0,0),r}}]),i}(bt);function Oo(e,t,i){var n,r,d,a,c,l,u,m;Mt(2,arguments);var P=Di(),L=$t((n=(r=(d=(a=i==null?void 0:i.weekStartsOn)!==null&&a!==void 0?a:i==null||(c=i.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&d!==void 0?d:P.weekStartsOn)!==null&&r!==void 0?r:(u=P.locale)===null||u===void 0||(m=u.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&n!==void 0?n:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var D=It(e),k=$t(t),S=D.getUTCDay(),M=k%7,j=(M+7)%7,p=(j<L?7:0)+k-S;return D.setUTCDate(D.getUTCDate()+p),D}function Sr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Sr=function(i){return typeof i}:Sr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Sr(e)}function c8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ac(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u8(e,t,i){return t&&ac(e.prototype,t),i&&ac(e,i),e}function d8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ro(e,t)}function Ro(e,t){return Ro=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Ro(e,t)}function h8(e){var t=p8();return function(){var n=xr(e),r;if(t){var d=xr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return f8(this,r)}}function f8(e,t){return t&&(Sr(t)==="object"||typeof t=="function")?t:Lo(e)}function Lo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p8(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},xr(e)}function oc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var g8=function(e){d8(i,e);var t=h8(i);function i(){var n;c8(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),oc(Lo(n),"priority",90),oc(Lo(n),"incompatibleTokens",["D","i","e","c","t","T"]),n}return u8(i,[{key:"parse",value:function(r,d,a){switch(d){case"E":case"EE":case"EEE":return a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(r,{width:"wide",context:"formatting"})||a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,d){return d>=0&&d<=6}},{key:"set",value:function(r,d,a,c){return r=Oo(r,a,c),r.setUTCHours(0,0,0,0),r}}]),i}(bt);function kr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?kr=function(i){return typeof i}:kr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},kr(e)}function m8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b8(e,t,i){return t&&sc(e.prototype,t),i&&sc(e,i),e}function v8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Io(e,t)}function Io(e,t){return Io=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Io(e,t)}function y8(e){var t=_8();return function(){var n=Ar(e),r;if(t){var d=Ar(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return C8(this,r)}}function C8(e,t){return t&&(kr(t)==="object"||typeof t=="function")?t:Fo(e)}function Fo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _8(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Ar(e)}function lc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var w8=function(e){v8(i,e);var t=y8(i);function i(){var n;m8(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),lc(Fo(n),"priority",90),lc(Fo(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),n}return b8(i,[{key:"parse",value:function(r,d,a,c){var l=function(m){var P=Math.floor((m-1)/7)*7;return(m+c.weekStartsOn+6)%7+P};switch(d){case"e":case"ee":return Pt(At(d.length,r),l);case"eo":return Pt(a.ordinalNumber(r,{unit:"day"}),l);case"eee":return a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"});case"eeeee":return a.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(r,{width:"wide",context:"formatting"})||a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,d){return d>=0&&d<=6}},{key:"set",value:function(r,d,a,c){return r=Oo(r,a,c),r.setUTCHours(0,0,0,0),r}}]),i}(bt);function Tr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Tr=function(i){return typeof i}:Tr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Tr(e)}function S8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x8(e,t,i){return t&&cc(e.prototype,t),i&&cc(e,i),e}function k8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Do(e,t)}function Do(e,t){return Do=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Do(e,t)}function A8(e){var t=P8();return function(){var n=Pr(e),r;if(t){var d=Pr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return T8(this,r)}}function T8(e,t){return t&&(Tr(t)==="object"||typeof t=="function")?t:$o(e)}function $o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P8(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Pr(e)}function uc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var E8=function(e){k8(i,e);var t=A8(i);function i(){var n;S8(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),uc($o(n),"priority",90),uc($o(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),n}return x8(i,[{key:"parse",value:function(r,d,a,c){var l=function(m){var P=Math.floor((m-1)/7)*7;return(m+c.weekStartsOn+6)%7+P};switch(d){case"c":case"cc":return Pt(At(d.length,r),l);case"co":return Pt(a.ordinalNumber(r,{unit:"day"}),l);case"ccc":return a.day(r,{width:"abbreviated",context:"standalone"})||a.day(r,{width:"short",context:"standalone"})||a.day(r,{width:"narrow",context:"standalone"});case"ccccc":return a.day(r,{width:"narrow",context:"standalone"});case"cccccc":return a.day(r,{width:"short",context:"standalone"})||a.day(r,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(r,{width:"wide",context:"standalone"})||a.day(r,{width:"abbreviated",context:"standalone"})||a.day(r,{width:"short",context:"standalone"})||a.day(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,d){return d>=0&&d<=6}},{key:"set",value:function(r,d,a,c){return r=Oo(r,a,c),r.setUTCHours(0,0,0,0),r}}]),i}(bt);function M8(e,t){Mt(2,arguments);var i=$t(t);i%7===0&&(i=i-7);var n=1,r=It(e),d=r.getUTCDay(),a=i%7,c=(a+7)%7,l=(c<n?7:0)+i-d;return r.setUTCDate(r.getUTCDate()+l),r}function Er(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Er=function(i){return typeof i}:Er=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Er(e)}function O8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R8(e,t,i){return t&&dc(e.prototype,t),i&&dc(e,i),e}function L8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zo(e,t)}function zo(e,t){return zo=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},zo(e,t)}function I8(e){var t=D8();return function(){var n=Mr(e),r;if(t){var d=Mr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return F8(this,r)}}function F8(e,t){return t&&(Er(t)==="object"||typeof t=="function")?t:No(e)}function No(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D8(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Mr(e)}function hc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var $8=function(e){L8(i,e);var t=I8(i);function i(){var n;O8(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),hc(No(n),"priority",90),hc(No(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),n}return R8(i,[{key:"parse",value:function(r,d,a){var c=function(u){return u===0?7:u};switch(d){case"i":case"ii":return At(d.length,r);case"io":return a.ordinalNumber(r,{unit:"day"});case"iii":return Pt(a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"}),c);case"iiiii":return Pt(a.day(r,{width:"narrow",context:"formatting"}),c);case"iiiiii":return Pt(a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"}),c);case"iiii":default:return Pt(a.day(r,{width:"wide",context:"formatting"})||a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"}),c)}}},{key:"validate",value:function(r,d){return d>=1&&d<=7}},{key:"set",value:function(r,d,a){return r=M8(r,a),r.setUTCHours(0,0,0,0),r}}]),i}(bt);function Or(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Or=function(i){return typeof i}:Or=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Or(e)}function z8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N8(e,t,i){return t&&fc(e.prototype,t),i&&fc(e,i),e}function B8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bo(e,t)}function Bo(e,t){return Bo=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Bo(e,t)}function V8(e){var t=j8();return function(){var n=Rr(e),r;if(t){var d=Rr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return H8(this,r)}}function H8(e,t){return t&&(Or(t)==="object"||typeof t=="function")?t:Vo(e)}function Vo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j8(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Rr(e)}function pc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var W8=function(e){B8(i,e);var t=V8(i);function i(){var n;z8(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),pc(Vo(n),"priority",80),pc(Vo(n),"incompatibleTokens",["b","B","H","k","t","T"]),n}return N8(i,[{key:"parse",value:function(r,d,a){switch(d){case"a":case"aa":case"aaa":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})||a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,d,a){return r.setUTCHours(ao(a),0,0,0),r}}]),i}(bt);function Lr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Lr=function(i){return typeof i}:Lr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Lr(e)}function U8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z8(e,t,i){return t&&gc(e.prototype,t),i&&gc(e,i),e}function G8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ho(e,t)}function Ho(e,t){return Ho=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Ho(e,t)}function Y8(e){var t=X8();return function(){var n=Ir(e),r;if(t){var d=Ir(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return q8(this,r)}}function q8(e,t){return t&&(Lr(t)==="object"||typeof t=="function")?t:jo(e)}function jo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X8(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Ir(e)}function mc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var K8=function(e){G8(i,e);var t=Y8(i);function i(){var n;U8(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),mc(jo(n),"priority",80),mc(jo(n),"incompatibleTokens",["a","B","H","k","t","T"]),n}return Z8(i,[{key:"parse",value:function(r,d,a){switch(d){case"b":case"bb":case"bbb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})||a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,d,a){return r.setUTCHours(ao(a),0,0,0),r}}]),i}(bt);function Fr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Fr=function(i){return typeof i}:Fr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Fr(e)}function Q8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function J8(e,t,i){return t&&bc(e.prototype,t),i&&bc(e,i),e}function e4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wo(e,t)}function Wo(e,t){return Wo=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Wo(e,t)}function t4(e){var t=n4();return function(){var n=Dr(e),r;if(t){var d=Dr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return i4(this,r)}}function i4(e,t){return t&&(Fr(t)==="object"||typeof t=="function")?t:Uo(e)}function Uo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n4(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Dr(e)}function vc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var r4=function(e){e4(i,e);var t=t4(i);function i(){var n;Q8(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),vc(Uo(n),"priority",80),vc(Uo(n),"incompatibleTokens",["a","b","t","T"]),n}return J8(i,[{key:"parse",value:function(r,d,a){switch(d){case"B":case"BB":case"BBB":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})||a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,d,a){return r.setUTCHours(ao(a),0,0,0),r}}]),i}(bt);function $r(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$r=function(i){return typeof i}:$r=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},$r(e)}function a4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o4(e,t,i){return t&&yc(e.prototype,t),i&&yc(e,i),e}function s4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zo(e,t)}function Zo(e,t){return Zo=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Zo(e,t)}function l4(e){var t=u4();return function(){var n=zr(e),r;if(t){var d=zr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return c4(this,r)}}function c4(e,t){return t&&($r(t)==="object"||typeof t=="function")?t:Go(e)}function Go(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u4(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},zr(e)}function Cc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var d4=function(e){s4(i,e);var t=l4(i);function i(){var n;a4(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),Cc(Go(n),"priority",70),Cc(Go(n),"incompatibleTokens",["H","K","k","t","T"]),n}return o4(i,[{key:"parse",value:function(r,d,a){switch(d){case"h":return wt(Tt.hour12h,r);case"ho":return a.ordinalNumber(r,{unit:"hour"});default:return At(d.length,r)}}},{key:"validate",value:function(r,d){return d>=1&&d<=12}},{key:"set",value:function(r,d,a){var c=r.getUTCHours()>=12;return c&&a<12?r.setUTCHours(a+12,0,0,0):!c&&a===12?r.setUTCHours(0,0,0,0):r.setUTCHours(a,0,0,0),r}}]),i}(bt);function Nr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Nr=function(i){return typeof i}:Nr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Nr(e)}function h4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _c(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f4(e,t,i){return t&&_c(e.prototype,t),i&&_c(e,i),e}function p4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yo(e,t)}function Yo(e,t){return Yo=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Yo(e,t)}function g4(e){var t=b4();return function(){var n=Br(e),r;if(t){var d=Br(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return m4(this,r)}}function m4(e,t){return t&&(Nr(t)==="object"||typeof t=="function")?t:qo(e)}function qo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b4(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Br(e)}function wc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var v4=function(e){p4(i,e);var t=g4(i);function i(){var n;h4(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),wc(qo(n),"priority",70),wc(qo(n),"incompatibleTokens",["a","b","h","K","k","t","T"]),n}return f4(i,[{key:"parse",value:function(r,d,a){switch(d){case"H":return wt(Tt.hour23h,r);case"Ho":return a.ordinalNumber(r,{unit:"hour"});default:return At(d.length,r)}}},{key:"validate",value:function(r,d){return d>=0&&d<=23}},{key:"set",value:function(r,d,a){return r.setUTCHours(a,0,0,0),r}}]),i}(bt);function Vr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Vr=function(i){return typeof i}:Vr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Vr(e)}function y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C4(e,t,i){return t&&Sc(e.prototype,t),i&&Sc(e,i),e}function _4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xo(e,t)}function Xo(e,t){return Xo=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Xo(e,t)}function w4(e){var t=x4();return function(){var n=Hr(e),r;if(t){var d=Hr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return S4(this,r)}}function S4(e,t){return t&&(Vr(t)==="object"||typeof t=="function")?t:Ko(e)}function Ko(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x4(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Hr(e)}function xc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var k4=function(e){_4(i,e);var t=w4(i);function i(){var n;y4(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),xc(Ko(n),"priority",70),xc(Ko(n),"incompatibleTokens",["h","H","k","t","T"]),n}return C4(i,[{key:"parse",value:function(r,d,a){switch(d){case"K":return wt(Tt.hour11h,r);case"Ko":return a.ordinalNumber(r,{unit:"hour"});default:return At(d.length,r)}}},{key:"validate",value:function(r,d){return d>=0&&d<=11}},{key:"set",value:function(r,d,a){var c=r.getUTCHours()>=12;return c&&a<12?r.setUTCHours(a+12,0,0,0):r.setUTCHours(a,0,0,0),r}}]),i}(bt);function jr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?jr=function(i){return typeof i}:jr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},jr(e)}function A4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T4(e,t,i){return t&&kc(e.prototype,t),i&&kc(e,i),e}function P4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qo(e,t)}function Qo(e,t){return Qo=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Qo(e,t)}function E4(e){var t=O4();return function(){var n=Wr(e),r;if(t){var d=Wr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return M4(this,r)}}function M4(e,t){return t&&(jr(t)==="object"||typeof t=="function")?t:Jo(e)}function Jo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O4(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Wr(e)}function Ac(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var R4=function(e){P4(i,e);var t=E4(i);function i(){var n;A4(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),Ac(Jo(n),"priority",70),Ac(Jo(n),"incompatibleTokens",["a","b","h","H","K","t","T"]),n}return T4(i,[{key:"parse",value:function(r,d,a){switch(d){case"k":return wt(Tt.hour24h,r);case"ko":return a.ordinalNumber(r,{unit:"hour"});default:return At(d.length,r)}}},{key:"validate",value:function(r,d){return d>=1&&d<=24}},{key:"set",value:function(r,d,a){var c=a<=24?a%24:a;return r.setUTCHours(c,0,0,0),r}}]),i}(bt);function Ur(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ur=function(i){return typeof i}:Ur=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ur(e)}function L4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I4(e,t,i){return t&&Tc(e.prototype,t),i&&Tc(e,i),e}function F4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&es(e,t)}function es(e,t){return es=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},es(e,t)}function D4(e){var t=z4();return function(){var n=Zr(e),r;if(t){var d=Zr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return $4(this,r)}}function $4(e,t){return t&&(Ur(t)==="object"||typeof t=="function")?t:ts(e)}function ts(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z4(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Zr(e)}function Pc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var N4=function(e){F4(i,e);var t=D4(i);function i(){var n;L4(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),Pc(ts(n),"priority",60),Pc(ts(n),"incompatibleTokens",["t","T"]),n}return I4(i,[{key:"parse",value:function(r,d,a){switch(d){case"m":return wt(Tt.minute,r);case"mo":return a.ordinalNumber(r,{unit:"minute"});default:return At(d.length,r)}}},{key:"validate",value:function(r,d){return d>=0&&d<=59}},{key:"set",value:function(r,d,a){return r.setUTCMinutes(a,0,0),r}}]),i}(bt);function Gr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Gr=function(i){return typeof i}:Gr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Gr(e)}function B4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ec(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V4(e,t,i){return t&&Ec(e.prototype,t),i&&Ec(e,i),e}function H4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&is(e,t)}function is(e,t){return is=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},is(e,t)}function j4(e){var t=U4();return function(){var n=Yr(e),r;if(t){var d=Yr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return W4(this,r)}}function W4(e,t){return t&&(Gr(t)==="object"||typeof t=="function")?t:ns(e)}function ns(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U4(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Yr(e)}function Mc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var Z4=function(e){H4(i,e);var t=j4(i);function i(){var n;B4(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),Mc(ns(n),"priority",50),Mc(ns(n),"incompatibleTokens",["t","T"]),n}return V4(i,[{key:"parse",value:function(r,d,a){switch(d){case"s":return wt(Tt.second,r);case"so":return a.ordinalNumber(r,{unit:"second"});default:return At(d.length,r)}}},{key:"validate",value:function(r,d){return d>=0&&d<=59}},{key:"set",value:function(r,d,a){return r.setUTCSeconds(a,0),r}}]),i}(bt);function qr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?qr=function(i){return typeof i}:qr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},qr(e)}function G4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y4(e,t,i){return t&&Oc(e.prototype,t),i&&Oc(e,i),e}function q4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rs(e,t)}function rs(e,t){return rs=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},rs(e,t)}function X4(e){var t=Q4();return function(){var n=Xr(e),r;if(t){var d=Xr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return K4(this,r)}}function K4(e,t){return t&&(qr(t)==="object"||typeof t=="function")?t:as(e)}function as(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q4(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Xr(e)}function Rc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var J4=function(e){q4(i,e);var t=X4(i);function i(){var n;G4(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),Rc(as(n),"priority",30),Rc(as(n),"incompatibleTokens",["t","T"]),n}return Y4(i,[{key:"parse",value:function(r,d){var a=function(l){return Math.floor(l*Math.pow(10,-d.length+3))};return Pt(At(d.length,r),a)}},{key:"set",value:function(r,d,a){return r.setUTCMilliseconds(a),r}}]),i}(bt);function Kr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Kr=function(i){return typeof i}:Kr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Kr(e)}function e9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t9(e,t,i){return t&&Lc(e.prototype,t),i&&Lc(e,i),e}function i9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&os(e,t)}function os(e,t){return os=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},os(e,t)}function n9(e){var t=a9();return function(){var n=Qr(e),r;if(t){var d=Qr(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return r9(this,r)}}function r9(e,t){return t&&(Kr(t)==="object"||typeof t=="function")?t:ss(e)}function ss(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a9(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Qr(e)}function Ic(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var o9=function(e){i9(i,e);var t=n9(i);function i(){var n;e9(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),Ic(ss(n),"priority",10),Ic(ss(n),"incompatibleTokens",["t","T","x"]),n}return t9(i,[{key:"parse",value:function(r,d){switch(d){case"X":return Xt(qt.basicOptionalMinutes,r);case"XX":return Xt(qt.basic,r);case"XXXX":return Xt(qt.basicOptionalSeconds,r);case"XXXXX":return Xt(qt.extendedOptionalSeconds,r);case"XXX":default:return Xt(qt.extended,r)}}},{key:"set",value:function(r,d,a){return d.timestampIsSet?r:new Date(r.getTime()-a)}}]),i}(bt);function Jr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Jr=function(i){return typeof i}:Jr=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Jr(e)}function s9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l9(e,t,i){return t&&Fc(e.prototype,t),i&&Fc(e,i),e}function c9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}function ls(e,t){return ls=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},ls(e,t)}function u9(e){var t=h9();return function(){var n=ea(e),r;if(t){var d=ea(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return d9(this,r)}}function d9(e,t){return t&&(Jr(t)==="object"||typeof t=="function")?t:cs(e)}function cs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h9(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},ea(e)}function Dc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var f9=function(e){c9(i,e);var t=u9(i);function i(){var n;s9(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),Dc(cs(n),"priority",10),Dc(cs(n),"incompatibleTokens",["t","T","X"]),n}return l9(i,[{key:"parse",value:function(r,d){switch(d){case"x":return Xt(qt.basicOptionalMinutes,r);case"xx":return Xt(qt.basic,r);case"xxxx":return Xt(qt.basicOptionalSeconds,r);case"xxxxx":return Xt(qt.extendedOptionalSeconds,r);case"xxx":default:return Xt(qt.extended,r)}}},{key:"set",value:function(r,d,a){return d.timestampIsSet?r:new Date(r.getTime()-a)}}]),i}(bt);function ta(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ta=function(i){return typeof i}:ta=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ta(e)}function p9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $c(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g9(e,t,i){return t&&$c(e.prototype,t),i&&$c(e,i),e}function m9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&us(e,t)}function us(e,t){return us=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},us(e,t)}function b9(e){var t=y9();return function(){var n=ia(e),r;if(t){var d=ia(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return v9(this,r)}}function v9(e,t){return t&&(ta(t)==="object"||typeof t=="function")?t:ds(e)}function ds(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y9(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},ia(e)}function zc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var C9=function(e){m9(i,e);var t=b9(i);function i(){var n;p9(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),zc(ds(n),"priority",40),zc(ds(n),"incompatibleTokens","*"),n}return g9(i,[{key:"parse",value:function(r){return I1(r)}},{key:"set",value:function(r,d,a){return[new Date(a*1e3),{timestampIsSet:!0}]}}]),i}(bt);function na(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?na=function(i){return typeof i}:na=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},na(e)}function _9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nc(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w9(e,t,i){return t&&Nc(e.prototype,t),i&&Nc(e,i),e}function S9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hs(e,t)}function hs(e,t){return hs=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},hs(e,t)}function x9(e){var t=A9();return function(){var n=ra(e),r;if(t){var d=ra(this).constructor;r=Reflect.construct(n,arguments,d)}else r=n.apply(this,arguments);return k9(this,r)}}function k9(e,t){return t&&(na(t)==="object"||typeof t=="function")?t:fs(e)}function fs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A9(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},ra(e)}function Bc(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var T9=function(e){S9(i,e);var t=x9(i);function i(){var n;_9(this,i);for(var r=arguments.length,d=new Array(r),a=0;a<r;a++)d[a]=arguments[a];return n=t.call.apply(t,[this].concat(d)),Bc(fs(n),"priority",20),Bc(fs(n),"incompatibleTokens","*"),n}return w9(i,[{key:"parse",value:function(r){return I1(r)}},{key:"set",value:function(r,d,a){return[new Date(a),{timestampIsSet:!0}]}}]),i}(bt),P9={G:new Pp,y:new Fp,Y:new Hp,R:new qp,u:new i7,Q:new c7,q:new m7,M:new S7,L:new M7,w:new z7,I:new Z7,d:new t8,D:new l8,E:new g8,e:new w8,c:new E8,i:new $8,a:new W8,b:new K8,B:new r4,h:new d4,H:new v4,K:new k4,k:new R4,m:new N4,s:new Z4,S:new J4,X:new o9,x:new f9,t:new C9,T:new T9};function aa(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?aa=function(i){return typeof i}:aa=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},aa(e)}function Vc(e,t){var i;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(i=E9(e))||t&&e&&typeof e.length=="number"){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
66
66
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var d=!0,a=!1,c;return{s:function(){i=e[Symbol.iterator]()},n:function(){var u=i.next();return d=u.done,u},e:function(u){a=!0,c=u},f:function(){try{!d&&i.return!=null&&i.return()}finally{if(a)throw c}}}}function E9(e,t){if(!!e){if(typeof e=="string")return Hc(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Hc(e,t)}}function Hc(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var M9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,O9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,R9=/^'([^]*?)'?$/,L9=/''/g,I9=/\S/,F9=/[a-zA-Z]/;function jc(e,t,i,n){var r,d,a,c,l,u,m,P,L,D,k,S,M,j,p,_,N,A;Mt(3,arguments);var z=String(e),B=String(t),w=Di(),R=(r=(d=n==null?void 0:n.locale)!==null&&d!==void 0?d:w.locale)!==null&&r!==void 0?r:A1;if(!R.match)throw new RangeError("locale must contain match property");var x=$t((a=(c=(l=(u=n==null?void 0:n.firstWeekContainsDate)!==null&&u!==void 0?u:n==null||(m=n.locale)===null||m===void 0||(P=m.options)===null||P===void 0?void 0:P.firstWeekContainsDate)!==null&&l!==void 0?l:w.firstWeekContainsDate)!==null&&c!==void 0?c:(L=w.locale)===null||L===void 0||(D=L.options)===null||D===void 0?void 0:D.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(x>=1&&x<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=$t((k=(S=(M=(j=n==null?void 0:n.weekStartsOn)!==null&&j!==void 0?j:n==null||(p=n.locale)===null||p===void 0||(_=p.options)===null||_===void 0?void 0:_.weekStartsOn)!==null&&M!==void 0?M:w.weekStartsOn)!==null&&S!==void 0?S:(N=w.locale)===null||N===void 0||(A=N.options)===null||A===void 0?void 0:A.weekStartsOn)!==null&&k!==void 0?k:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(B==="")return z===""?It(i):new Date(NaN);var b={firstWeekContainsDate:x,weekStartsOn:g,locale:R},E=[new yp],I=B.match(O9).map(function(Te){var Se=Te[0];if(Se in qa){var te=qa[Se];return te(Te,R.formatLong)}return Te}).join("").match(M9),V=[],q=Vc(I),W;try{var pe=function(){var Se=W.value;!(n!=null&&n.useAdditionalWeekYearTokens)&&k1(Se)&&Un(Se,B,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&x1(Se)&&Un(Se,B,e);var te=Se[0],T=P9[te];if(T){var f=T.incompatibleTokens;if(Array.isArray(f)){var O=V.find(function(h){return f.includes(h.token)||h.token===te});if(O)throw new RangeError("The format string mustn't contain `".concat(O.fullToken,"` and `").concat(Se,"` at the same time"))}else if(T.incompatibleTokens==="*"&&V.length>0)throw new RangeError("The format string mustn't contain `".concat(Se,"` and any other token at the same time"));V.push({token:te,fullToken:Se});var $=T.run(z,Se,R.match,b);if(!$)return{v:new Date(NaN)};E.push($.setter),z=$.rest}else{if(te.match(F9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+te+"`");if(Se==="''"?Se="'":te==="'"&&(Se=D9(Se)),z.indexOf(Se)===0)z=z.slice(Se.length);else return{v:new Date(NaN)}}};for(q.s();!(W=q.n()).done;){var ne=pe();if(aa(ne)==="object")return ne.v}}catch(Te){q.e(Te)}finally{q.f()}if(z.length>0&&I9.test(z))return new Date(NaN);var he=E.map(function(Te){return Te.priority}).sort(function(Te,Se){return Se-Te}).filter(function(Te,Se,te){return te.indexOf(Te)===Se}).map(function(Te){return E.filter(function(Se){return Se.priority===Te}).sort(function(Se,te){return te.subPriority-Se.subPriority})}).map(function(Te){return Te[0]}),le=It(i);if(isNaN(le.getTime()))return new Date(NaN);var X=m1(le,g1(le)),K={},G=Vc(he),Z;try{for(G.s();!(Z=G.n()).done;){var ue=Z.value;if(!ue.validate(X,b))return new Date(NaN);var ve=ue.set(X,K,b);Array.isArray(ve)?(X=ve[0],pp(K,ve[1])):X=ve}}catch(Te){G.e(Te)}finally{G.f()}return X}function D9(e){return e.match(R9)[1].replace(L9,"'")}var $9=ri(function(e,t){/*!
|
|
67
67
|
* maska v1.5.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-components-react",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"build": "tsc && vite build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@getflip/swirl-components": "^0.7.
|
|
21
|
+
"@getflip/swirl-components": "^0.7.1",
|
|
22
22
|
"react": "^18.2.0",
|
|
23
23
|
"react-dom": "^18.2.0"
|
|
24
24
|
},
|