@strapi/admin 4.10.1 → 4.10.2-alpha.0
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/admin/src/components/AuthenticatedApp/index.js +19 -24
- package/admin/src/components/DragLayer/DragLayer.js +53 -0
- package/admin/src/components/DragLayer/index.js +1 -0
- package/admin/src/components/LeftMenu/index.js +2 -2
- package/admin/src/components/Providers/index.js +11 -7
- package/admin/src/content-manager/contexts/index.js +0 -1
- package/admin/src/content-manager/hooks/index.js +0 -1
- package/admin/src/content-manager/hooks/useLazyComponents/index.js +7 -3
- package/admin/src/content-manager/hooks/useRelation/useRelation.js +1 -3
- package/admin/src/content-manager/pages/{ListSettingsView/components/CardPreview.js → App/components/CardDragPreview.js} +28 -28
- package/admin/src/content-manager/pages/App/components/ComponentDragPreview.js +75 -0
- package/admin/src/content-manager/{components/DragLayer → pages/App/components}/RelationDragPreview.js +7 -4
- package/admin/src/content-manager/pages/App/index.js +39 -2
- package/admin/src/content-manager/pages/EditSettingsView/components/ComponentFieldList.js +1 -1
- package/admin/src/content-manager/pages/EditSettingsView/components/DisplayedFieldButton.js +1 -1
- package/admin/src/content-manager/pages/EditSettingsView/components/DynamicZoneList.js +1 -1
- package/admin/src/content-manager/pages/EditSettingsView/components/FormModal.js +1 -1
- package/admin/src/content-manager/{components → pages/EditSettingsView/components}/LayoutDndProvider/index.js +3 -4
- package/admin/src/content-manager/pages/EditSettingsView/components/LinkToCTB.js +1 -1
- package/admin/src/content-manager/pages/EditSettingsView/components/ModalForm.js +1 -1
- package/admin/src/content-manager/pages/EditSettingsView/components/RowItemsLayout.js +1 -1
- package/admin/src/content-manager/pages/EditSettingsView/hooks/useLayoutDnd.js +6 -0
- package/admin/src/content-manager/pages/EditSettingsView/index.js +1 -1
- package/admin/src/content-manager/pages/ListSettingsView/components/DraggableCard.js +6 -6
- package/admin/src/hooks/useMenu/index.js +2 -2
- package/admin/src/hooks/useReleaseNotification/index.js +2 -2
- package/admin/src/hooks/useSettingsMenu/index.js +2 -2
- package/admin/src/pages/Admin/Onboarding/index.js +2 -2
- package/admin/src/pages/App/index.js +2 -2
- package/admin/src/pages/HomePage/SocialLinks.js +2 -2
- package/admin/src/pages/MarketplacePage/index.js +2 -2
- package/admin/src/pages/ProfilePage/index.js +2 -2
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/index.js +2 -2
- package/admin/src/pages/SettingsPage/pages/Roles/EditPage/components/Permissions/utils/updateValues.js +3 -3
- package/admin/src/pages/SettingsPage/pages/Users/EditPage/index.js +2 -2
- package/admin/src/translations/fr.json +1 -1
- package/build/{5563.905daa13.chunk.js → 5563.986609ed.chunk.js} +2 -2
- package/build/{7259.b7d00cea.chunk.js → 7259.7a48aa2f.chunk.js} +1 -1
- package/build/7725.f717acdd.chunk.js +213 -0
- package/build/Admin-authenticatedApp.2fab70e4.chunk.js +79 -0
- package/build/{Admin_InternalErrorPage.15c6bf07.chunk.js → Admin_InternalErrorPage.96ceaae1.chunk.js} +1 -1
- package/build/{Admin_homePage.f9309c6d.chunk.js → Admin_homePage.9f7c0bb1.chunk.js} +5 -5
- package/build/{Admin_marketplace.56bc1008.chunk.js → Admin_marketplace.a60cde15.chunk.js} +5 -5
- package/build/{Admin_pluginsPage.f6b52ee9.chunk.js → Admin_pluginsPage.9e6fa51c.chunk.js} +1 -1
- package/build/{Admin_profilePage.9112cffc.chunk.js → Admin_profilePage.1b337b73.chunk.js} +2 -2
- package/build/{Admin_settingsPage.4604a16c.chunk.js → Admin_settingsPage.56e9641c.chunk.js} +2 -2
- package/build/{Upload_ConfigureTheView.eaaec495.chunk.js → Upload_ConfigureTheView.4fc648b5.chunk.js} +1 -1
- package/build/admin-app.9bfe4ec7.chunk.js +63 -0
- package/build/{admin-edit-roles-page.8a4063f7.chunk.js → admin-edit-roles-page.d0c9497b.chunk.js} +24 -24
- package/build/{admin-edit-users.7e14d85f.chunk.js → admin-edit-users.ba27c532.chunk.js} +2 -2
- package/build/{admin-roles-list.329c1f63.chunk.js → admin-roles-list.c759daa3.chunk.js} +1 -1
- package/build/{admin-users.d02de059.chunk.js → admin-users.ad5dd832.chunk.js} +2 -2
- package/build/{api-tokens-create-page.97595e12.chunk.js → api-tokens-create-page.973d2816.chunk.js} +1 -1
- package/build/{api-tokens-edit-page.cd36e30e.chunk.js → api-tokens-edit-page.29725c5e.chunk.js} +1 -1
- package/build/{api-tokens-list-page.6757c7b9.chunk.js → api-tokens-list-page.66c4fbdd.chunk.js} +2 -2
- package/build/{audit-logs-settings-page.19d90bda.chunk.js → audit-logs-settings-page.45cb4fb5.chunk.js} +1 -1
- package/build/content-manager.a0ff6cad.chunk.js +1111 -0
- package/build/{content-type-builder-list-view.9c2c020c.chunk.js → content-type-builder-list-view.5ff685ec.chunk.js} +1 -1
- package/build/{content-type-builder.68af11d2.chunk.js → content-type-builder.4737a30c.chunk.js} +3 -3
- package/build/{email-settings-page.1095e1ab.chunk.js → email-settings-page.dc07d518.chunk.js} +1 -1
- package/build/{fr-json.5947cf63.chunk.js → fr-json.73494bf5.chunk.js} +1 -1
- package/build/{i18n-settings-page.d95b32df.chunk.js → i18n-settings-page.8219dd99.chunk.js} +1 -1
- package/build/index.html +1 -1
- package/build/main.964e7203.js +2597 -0
- package/build/{review-workflows-settings.f7890c40.chunk.js → review-workflows-settings.089d7ec5.chunk.js} +1 -1
- package/build/{runtime~main.d4c8d6a2.js → runtime~main.c9593d59.js} +1 -1
- package/build/{sso-settings-page.1dd4886e.chunk.js → sso-settings-page.f44d95d8.chunk.js} +1 -1
- package/build/{transfer-tokens-create-page.ec2ca215.chunk.js → transfer-tokens-create-page.170acee6.chunk.js} +1 -1
- package/build/{transfer-tokens-edit-page.22bf28e5.chunk.js → transfer-tokens-edit-page.6cf23295.chunk.js} +1 -1
- package/build/{transfer-tokens-list-page.cf8c77f2.chunk.js → transfer-tokens-list-page.c3fec4c1.chunk.js} +2 -2
- package/build/{upload-settings.945fdcfa.chunk.js → upload-settings.dd2d987c.chunk.js} +1 -1
- package/build/{upload.a86b1054.chunk.js → upload.c8479232.chunk.js} +1 -1
- package/build/{users-advanced-settings-page.5b5a9baa.chunk.js → users-advanced-settings-page.c36cfd59.chunk.js} +1 -1
- package/build/{users-email-settings-page.e5506eb4.chunk.js → users-email-settings-page.2716ce8e.chunk.js} +5 -5
- package/build/{users-providers-settings-page.e32089c2.chunk.js → users-providers-settings-page.0d6304a5.chunk.js} +1 -1
- package/build/{users-roles-settings-page.20656f92.chunk.js → users-roles-settings-page.eeb3a339.chunk.js} +1 -1
- package/build/{webhook-edit-page.a3b62049.chunk.js → webhook-edit-page.f4db86f3.chunk.js} +2 -2
- package/build/{webhook-list-page.ca38eeef.chunk.js → webhook-list-page.30d73114.chunk.js} +1 -1
- package/ee/server/services/review-workflows/review-workflows.js +1 -1
- package/ee/server/utils/persisted-tables.js +3 -0
- package/jest.config.front.js +1 -0
- package/package.json +9 -9
- package/admin/src/components/AutoReloadOverlayBlockerProvider/Blocker.js +0 -95
- package/admin/src/components/AutoReloadOverlayBlockerProvider/Overlay.js +0 -42
- package/admin/src/components/AutoReloadOverlayBlockerProvider/index.js +0 -99
- package/admin/src/components/Notifications/Notification/index.js +0 -159
- package/admin/src/components/Notifications/index.js +0 -46
- package/admin/src/components/Notifications/reducer.js +0 -47
- package/admin/src/components/OverlayBlocker/index.js +0 -67
- package/admin/src/content-manager/components/DragLayer/ComponentDragPreview.js +0 -83
- package/admin/src/content-manager/components/DragLayer/index.js +0 -85
- package/admin/src/content-manager/contexts/LayoutDnd.js +0 -5
- package/admin/src/content-manager/hooks/useCallbackRef.js +0 -23
- package/admin/src/content-manager/hooks/useLayoutDnd.js +0 -6
- package/admin/src/content-manager/pages/ListSettingsView/utils/ellipsisCardTitle.js +0 -7
- package/build/8694.6522968d.chunk.js +0 -247
- package/build/Admin-authenticatedApp.5562aedc.chunk.js +0 -79
- package/build/admin-app.014adc27.chunk.js +0 -110
- package/build/content-manager.84f81966.chunk.js +0 -1130
- package/build/main.841e0dcb.js +0 -2280
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[7725],{26322:function(V,I,o){"use strict";o.d(I,{ZP:function(){return Qt}});var i=o(31191),u="3.3.6";function w(e,t){return new Promise(function(n){return setTimeout(n,e,t)})}function g(e,t){t===void 0&&(t=1/0);var n=window.requestIdleCallback;return n?new Promise(function(f){return n.call(window,function(){return f()},{timeout:t})}):w(Math.min(e,t))}function E(e){return e&&typeof e.then=="function"}function A(e,t){try{var n=e();E(n)?n.then(function(f){return t(!0,f)},function(f){return t(!1,f)}):t(!0,n)}catch(f){t(!1,f)}}function x(e,t,n){return n===void 0&&(n=16),(0,i.mG)(this,void 0,void 0,function(){var f,d,m;return(0,i.Jh)(this,function(l){switch(l.label){case 0:f=Date.now(),d=0,l.label=1;case 1:return d<e.length?(t(e[d],d),m=Date.now(),m>=f+n?(f=m,[4,w(0)]):[3,3]):[3,4];case 2:l.sent(),l.label=3;case 3:return++d,[3,1];case 4:return[2]}})})}function j(e){e.then(void 0,function(){})}function W(e,t){e=[e[0]>>>16,e[0]&65535,e[1]>>>16,e[1]&65535],t=[t[0]>>>16,t[0]&65535,t[1]>>>16,t[1]&65535];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function k(e,t){e=[e[0]>>>16,e[0]&65535,e[1]>>>16,e[1]&65535],t=[t[0]>>>16,t[0]&65535,t[1]>>>16,t[1]&65535];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function B(e,t){return t%=64,t===32?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function D(e,t){return t%=64,t===0?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function O(e,t){return[e[0]^t[0],e[1]^t[1]]}function X(e){return e=O(e,[0,e[0]>>>1]),e=k(e,[4283543511,3981806797]),e=O(e,[0,e[0]>>>1]),e=k(e,[3301882366,444984403]),e=O(e,[0,e[0]>>>1]),e}function J(e,t){e=e||"",t=t||0;var n=e.length%16,f=e.length-n,d=[0,t],m=[0,t],l=[0,0],y=[0,0],T=[2277735313,289559509],Y=[1291169091,658871167],M;for(M=0;M<f;M=M+16)l=[e.charCodeAt(M+4)&255|(e.charCodeAt(M+5)&255)<<8|(e.charCodeAt(M+6)&255)<<16|(e.charCodeAt(M+7)&255)<<24,e.charCodeAt(M)&255|(e.charCodeAt(M+1)&255)<<8|(e.charCodeAt(M+2)&255)<<16|(e.charCodeAt(M+3)&255)<<24],y=[e.charCodeAt(M+12)&255|(e.charCodeAt(M+13)&255)<<8|(e.charCodeAt(M+14)&255)<<16|(e.charCodeAt(M+15)&255)<<24,e.charCodeAt(M+8)&255|(e.charCodeAt(M+9)&255)<<8|(e.charCodeAt(M+10)&255)<<16|(e.charCodeAt(M+11)&255)<<24],l=k(l,T),l=B(l,31),l=k(l,Y),d=O(d,l),d=B(d,27),d=W(d,m),d=W(k(d,[0,5]),[0,1390208809]),y=k(y,Y),y=B(y,33),y=k(y,T),m=O(m,y),m=B(m,31),m=W(m,d),m=W(k(m,[0,5]),[0,944331445]);switch(l=[0,0],y=[0,0],n){case 15:y=O(y,D([0,e.charCodeAt(M+14)],48));case 14:y=O(y,D([0,e.charCodeAt(M+13)],40));case 13:y=O(y,D([0,e.charCodeAt(M+12)],32));case 12:y=O(y,D([0,e.charCodeAt(M+11)],24));case 11:y=O(y,D([0,e.charCodeAt(M+10)],16));case 10:y=O(y,D([0,e.charCodeAt(M+9)],8));case 9:y=O(y,[0,e.charCodeAt(M+8)]),y=k(y,Y),y=B(y,33),y=k(y,T),m=O(m,y);case 8:l=O(l,D([0,e.charCodeAt(M+7)],56));case 7:l=O(l,D([0,e.charCodeAt(M+6)],48));case 6:l=O(l,D([0,e.charCodeAt(M+5)],40));case 5:l=O(l,D([0,e.charCodeAt(M+4)],32));case 4:l=O(l,D([0,e.charCodeAt(M+3)],24));case 3:l=O(l,D([0,e.charCodeAt(M+2)],16));case 2:l=O(l,D([0,e.charCodeAt(M+1)],8));case 1:l=O(l,[0,e.charCodeAt(M)]),l=k(l,T),l=B(l,31),l=k(l,Y),d=O(d,l)}return d=O(d,[0,e.length]),m=O(m,[0,e.length]),d=W(d,m),m=W(m,d),d=X(d),m=X(m),d=W(d,m),m=W(m,d),("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)+("00000000"+(m[0]>>>0).toString(16)).slice(-8)+("00000000"+(m[1]>>>0).toString(16)).slice(-8)}function Z(e){var t;return(0,i.pi)({name:e.name,message:e.message,stack:(t=e.stack)===null||t===void 0?void 0:t.split(`
|
|
2
|
+
`)},e)}function b(e,t){for(var n=0,f=e.length;n<f;++n)if(e[n]===t)return!0;return!1}function c(e,t){return!b(e,t)}function r(e){return parseInt(e)}function a(e){return parseFloat(e)}function s(e,t){return typeof e=="number"&&isNaN(e)?t:e}function C(e){return e.reduce(function(t,n){return t+(n?1:0)},0)}function L(e,t){if(t===void 0&&(t=1),Math.abs(t)>=1)return Math.round(e/t)*t;var n=1/t;return Math.round(e*n)/n}function G(e){for(var t,n,f="Unexpected syntax '"+e+"'",d=/^\s*([a-z-]*)(.*)$/i.exec(e),m=d[1]||void 0,l={},y=/([.:#][\w-]+|\[.+?\])/gi,T=function(z,te){l[z]=l[z]||[],l[z].push(te)};;){var Y=y.exec(d[2]);if(!Y)break;var M=Y[0];switch(M[0]){case".":T("class",M.slice(1));break;case"#":T("id",M.slice(1));break;case"[":{var H=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(M);if(H)T(H[1],(n=(t=H[4])!==null&&t!==void 0?t:H[5])!==null&&n!==void 0?n:"");else throw new Error(f);break}default:throw new Error(f)}}return[m,l]}function ae(e){return e&&typeof e=="object"&&"message"in e?e:{message:e}}function re(e){return typeof e!="function"}function ie(e,t){var n=new Promise(function(f){var d=Date.now();A(e.bind(null,t),function(){for(var m=[],l=0;l<arguments.length;l++)m[l]=arguments[l];var y=Date.now()-d;if(!m[0])return f(function(){return{error:ae(m[1]),duration:y}});var T=m[1];if(re(T))return f(function(){return{value:T,duration:y}});f(function(){return new Promise(function(Y){var M=Date.now();A(T,function(){for(var H=[],z=0;z<arguments.length;z++)H[z]=arguments[z];var te=y+Date.now()-M;if(!H[0])return Y({error:ae(H[1]),duration:te});Y({value:H[1],duration:te})})})})})});return j(n),function(){return n.then(function(d){return d()})}}function oe(e,t,n){var f=Object.keys(e).filter(function(m){return c(n,m)}),d=Array(f.length);return x(f,function(m,l){d[l]=ie(e[m],t)}),function(){return(0,i.mG)(this,void 0,void 0,function(){var l,y,T,Y,M,H,z;return(0,i.Jh)(this,function(te){switch(te.label){case 0:for(l={},y=0,T=f;y<T.length;y++)Y=T[y],l[Y]=void 0;M=Array(f.length),H=function(){var _;return(0,i.Jh)(this,function(ne){switch(ne.label){case 0:return _=!0,[4,x(f,function(ee,$){if(!M[$])if(d[$]){var ve=d[$]().then(function(Le){return l[ee]=Le});j(ve),M[$]=ve}else _=!1})];case 1:return ne.sent(),_?[2,"break"]:[4,w(1)];case 2:return ne.sent(),[2]}})},te.label=1;case 1:return[5,H()];case 2:if(z=te.sent(),z==="break")return[3,4];te.label=3;case 3:return[3,1];case 4:return[4,Promise.all(M)];case 5:return te.sent(),[2,l]}})})}}function ye(e,t){var n=function(f){return re(f)?t(f):function(){var d=f();return E(d)?d.then(t):t(d)}};return function(f){var d=e(f);return E(d)?d.then(n):n(d)}}function pe(){var e=window,t=navigator;return C(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function de(){var e=window,t=navigator;return C(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!pe()}function se(){var e=window,t=navigator;return C(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,t.vendor.indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function be(){var e=window,t=navigator;return C(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}function Se(){var e=window;return C(["safari"in e,!("DeviceMotionEvent"in e),!("ongestureend"in e),!("standalone"in navigator)])>=3}function Me(){var e,t,n=window;return C(["buildID"in navigator,"MozAppearance"in((t=(e=document.documentElement)===null||e===void 0?void 0:e.style)!==null&&t!==void 0?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function We(){var e=window;return C([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}function ke(){var e=window;return C(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function je(){if(navigator.platform==="iPad")return!0;var e=screen,t=e.width/e.height;return C(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function Ge(){var e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function Xe(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function Ee(){var e=se(),t=Me();if(!e&&!t)return!1;var n=window;return C(["onorientationchange"in n,"orientation"in n,e&&!("SharedWorker"in n),t&&/android/i.test(navigator.appVersion)])>=2}function Re(){var e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(Te())return-1;var n=4500,f=5e3,d=new t(1,f,44100),m=d.createOscillator();m.type="triangle",m.frequency.value=1e4;var l=d.createDynamicsCompressor();l.threshold.value=-50,l.knee.value=40,l.ratio.value=12,l.attack.value=0,l.release.value=.25,m.connect(l),l.connect(d.destination),m.start(0);var y=Ae(d),T=y[0],Y=y[1],M=T.then(function(H){return Oe(H.getChannelData(0).subarray(n))},function(H){if(H.name==="timeout"||H.name==="suspended")return-3;throw H});return j(M),function(){return Y(),M}}function Te(){return be()&&!Se()&&!ke()}function Ae(e){var t=3,n=500,f=500,d=5e3,m=function(){},l=new Promise(function(y,T){var Y=!1,M=0,H=0;e.oncomplete=function(_){return y(_.renderedBuffer)};var z=function(){setTimeout(function(){return T(De("timeout"))},Math.min(f,H+d-Date.now()))},te=function(){try{switch(e.startRendering(),e.state){case"running":H=Date.now(),Y&&z();break;case"suspended":document.hidden||M++,Y&&M>=t?T(De("suspended")):setTimeout(te,n);break}}catch(_){T(_)}};te(),m=function(){Y||(Y=!0,H>0&&z())}});return[l,m]}function Oe(e){for(var t=0,n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function De(e){var t=new Error(e);return t.name=e,t}function Ze(e,t,n){var f,d,m;return n===void 0&&(n=50),(0,i.mG)(this,void 0,void 0,function(){var l,y;return(0,i.Jh)(this,function(T){switch(T.label){case 0:l=document,T.label=1;case 1:return l.body?[3,3]:[4,w(n)];case 2:return T.sent(),[3,1];case 3:y=l.createElement("iframe"),T.label=4;case 4:return T.trys.push([4,,10,11]),[4,new Promise(function(Y,M){var H=!1,z=function(){H=!0,Y()},te=function(ee){H=!0,M(ee)};y.onload=z,y.onerror=te;var _=y.style;_.setProperty("display","block","important"),_.position="absolute",_.top="0",_.left="0",_.visibility="hidden",t&&"srcdoc"in y?y.srcdoc=t:y.src="about:blank",l.body.appendChild(y);var ne=function(){var ee,$;H||((($=(ee=y.contentWindow)===null||ee===void 0?void 0:ee.document)===null||$===void 0?void 0:$.readyState)==="complete"?z():setTimeout(ne,10))};ne()})];case 5:T.sent(),T.label=6;case 6:return!((d=(f=y.contentWindow)===null||f===void 0?void 0:f.document)===null||d===void 0)&&d.body?[3,8]:[4,w(n)];case 7:return T.sent(),[3,6];case 8:return[4,e(y,y.contentWindow)];case 9:return[2,T.sent()];case 10:return(m=y.parentNode)===null||m===void 0||m.removeChild(y),[7];case 11:return[2]}})})}function h(e){for(var t=G(e),n=t[0],f=t[1],d=document.createElement(n??"div"),m=0,l=Object.keys(f);m<l.length;m++){var y=l[m],T=f[y].join(" ");y==="style"?R(d.style,T):d.setAttribute(y,T)}return d}function R(e,t){for(var n=0,f=t.split(";");n<f.length;n++){var d=f[n],m=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(d);if(m){var l=m[1],y=m[2],T=m[4];e.setProperty(l,y,T||"")}}}var p="mmMwWLliI0O&1",v="48px",F=["monospace","sans-serif","serif"],S=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function P(){return Ze(function(e,t){var n=t.document,f=n.body;f.style.fontSize=v;var d=n.createElement("div"),m={},l={},y=function(ne){var ee=n.createElement("span"),$=ee.style;return $.position="absolute",$.top="0",$.left="0",$.fontFamily=ne,ee.textContent=p,d.appendChild(ee),ee},T=function(ne,ee){return y("'"+ne+"',"+ee)},Y=function(){return F.map(y)},M=function(){for(var ne={},ee=function(Ve){ne[Ve]=F.map(function(Je){return T(Ve,Je)})},$=0,ve=S;$<ve.length;$++){var Le=ve[$];ee(Le)}return ne},H=function(ne){return F.some(function(ee,$){return ne[$].offsetWidth!==m[ee]||ne[$].offsetHeight!==l[ee]})},z=Y(),te=M();f.appendChild(d);for(var _=0;_<F.length;_++)m[F[_]]=z[_].offsetWidth,l[F[_]]=z[_].offsetHeight;return S.filter(function(ne){return H(te[ne])})})}function N(){var e=navigator.plugins;if(e){for(var t=[],n=0;n<e.length;++n){var f=e[n];if(f){for(var d=[],m=0;m<f.length;++m){var l=f[m];d.push({type:l.type,suffixes:l.suffixes})}t.push({name:f.name,description:f.description,mimeTypes:d})}}return t}}function U(){var e=!1,t,n,f=le(),d=f[0],m=f[1];if(!K(d,m))t=n="";else{e=he(m),ge(d,m);var l=Ce(d),y=Ce(d);l!==y?t=n="unstable":(n=l,Pe(d,m),t=Ce(d))}return{winding:e,geometry:t,text:n}}function le(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function K(e,t){return!!(t&&e.toDataURL)}function he(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function ge(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';var n="Cwm fjordbank gly "+String.fromCharCode(55357,56835);t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}function Pe(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(var n=0,f=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<f.length;n++){var d=f[n],m=d[0],l=d[1],y=d[2];t.fillStyle=m,t.beginPath(),t.arc(l,y,40,0,Math.PI*2,!0),t.closePath(),t.fill()}t.fillStyle="#f9c",t.arc(60,60,60,0,Math.PI*2,!0),t.arc(60,60,20,0,Math.PI*2,!0),t.fill("evenodd")}function Ce(e){return e.toDataURL()}function fe(){var e=navigator,t=0,n;e.maxTouchPoints!==void 0?t=r(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),n=!0}catch{n=!1}var f="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:n,touchStart:f}}function me(){return navigator.oscpu}function ue(){var e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages))se()&&We()||t.push(e.languages);else if(typeof e.languages=="string"){var f=e.languages;f&&t.push(f.split(","))}return t}function xe(){return window.screen.colorDepth}function we(){return s(a(navigator.deviceMemory),void 0)}function et(){var e=screen,t=function(f){return s(r(f),null)},n=[t(e.width),t(e.height)];return n.sort().reverse(),n}var tt=2500,nt=10,Ie,Be;function rt(){if(Be===void 0){var e=function(){var t=Ne();Ye(t)?Be=setTimeout(e,tt):(Ie=t,Be=void 0)};e()}}function at(){var e=this;return rt(),function(){return(0,i.mG)(e,void 0,void 0,function(){var t;return(0,i.Jh)(this,function(n){switch(n.label){case 0:return t=Ne(),Ye(t)?Ie?[2,(0,i.pr)(Ie)]:Ge()?[4,Xe()]:[3,2]:[3,2];case 1:n.sent(),t=Ne(),n.label=2;case 2:return Ye(t)||(Ie=t),[2,t]}})})}}function it(){var e=this,t=at();return function(){return(0,i.mG)(e,void 0,void 0,function(){var n,f;return(0,i.Jh)(this,function(d){switch(d.label){case 0:return[4,t()];case 1:return n=d.sent(),f=function(m){return m===null?null:L(m,nt)},[2,[f(n[0]),f(n[1]),f(n[2]),f(n[3])]]}})})}}function Ne(){var e=screen;return[s(a(e.availTop),null),s(a(e.width)-a(e.availWidth)-s(a(e.availLeft),0),null),s(a(e.height)-a(e.availHeight)-s(a(e.availTop),0),null),s(a(e.availLeft),null)]}function Ye(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}function ot(){return s(r(navigator.hardwareConcurrency),void 0)}function st(){var e,t=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(t){var n=new t().resolvedOptions().timeZone;if(n)return n}var f=-ut();return"UTC"+(f>=0?"+":"")+Math.abs(f)}function ut(){var e=new Date().getFullYear();return Math.max(a(new Date(e,0,1).getTimezoneOffset()),a(new Date(e,6,1).getTimezoneOffset()))}function ct(){try{return!!window.sessionStorage}catch{return!0}}function lt(){try{return!!window.localStorage}catch{return!0}}function ft(){if(!(pe()||de()))try{return!!window.indexedDB}catch{return!0}}function dt(){return!!window.openDatabase}function ht(){return navigator.cpuClass}function mt(){var e=navigator.platform;return e==="MacIntel"&&be()&&!Se()?je()?"iPad":"iPhone":e}function vt(){return navigator.vendor||""}function pt(){for(var e=[],t=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];t<n.length;t++){var f=n[t],d=window[f];d&&typeof d=="object"&&e.push(f)}return e.sort()}function gt(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=e.cookie.indexOf("cookietest=")!==-1;return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch{return!1}}function yt(){var e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",e("YVt0aXRsZT0iN25hZ2EgcG9rZXIiIGld"),'[title="ALIENBOLA" i]'],abpvn:["#quangcaomb",e("Lmlvc0Fkc2lvc0Fkcy1sYXlvdXQ="),".quangcao",e("W2hyZWZePSJodHRwczovL3I4OC52bi8iXQ=="),e("W2hyZWZePSJodHRwczovL3piZXQudm4vIl0=")],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("I2FkMl9pbmxpbmU=")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:['amp-embed[type="zen"]',".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil"],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2FkLWJhbm5lcg=="),e("I2NhbXBhaWduLWJhbm5lcg==")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iL29kMDA1LmNvbSJd"),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),".qq_nr_lad","#widget-quan"],adGuardFrench:[e("I2Jsb2NrLXZpZXdzLWFkcy1zaWRlYmFyLWJsb2NrLWJsb2Nr"),"#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv"],adGuardGerman:[e("LmJhbm5lcml0ZW13ZXJidW5nX2hlYWRfMQ=="),e("LmJveHN0YXJ0d2VyYnVuZw=="),e("LndlcmJ1bmcz"),e("YVtocmVmXj0iaHR0cDovL3d3dy5laXMuZGUvaW5kZXgucGh0bWw/cmVmaWQ9Il0="),e("YVtocmVmXj0iaHR0cHM6Ly93d3cudGlwaWNvLmNvbS8/YWZmaWxpYXRlSWQ9Il0=")],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("LmFkX3JlZ3VsYXIz")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),e("I2FkX3NxdWFyZQ==")],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",e("W2hyZWZePSJodHRwOi8vYWRzLmdsaXNwYS5jb20vIl0=")],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers",e("I25ld0Fk")],easyList:[e("I0FEX0NPTlRST0xfMjg="),e("LnNlY29uZC1wb3N0LWFkcy13cmFwcGVy"),".universalboxADVBOX03",e("LmFkdmVydGlzZW1lbnQtNzI4eDkw"),e("LnNxdWFyZV9hZHM=")],easyListChina:[e("YVtocmVmKj0iLndlbnNpeHVldGFuZy5jb20vIl0="),e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box"],easyListCookie:["#AdaCompliance.app-notice",".text-center.rgpd",".panel--cookie",".js-cookies-andromeda",".elxtr-consent"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:[e("I0FkX1dpbjJkYXk="),e("I3dlcmJ1bmdzYm94MzAw"),e("YVtocmVmXj0iaHR0cDovL3d3dy5yb3RsaWNodGthcnRlaS5jb20vP3NjPSJd"),e("I3dlcmJ1bmdfd2lkZXNreXNjcmFwZXJfc2NyZWVu"),e("YVtocmVmXj0iaHR0cDovL2xhbmRpbmcucGFya3BsYXR6a2FydGVpLmNvbS8/YWc9Il0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#feedback-tab","#taboola-below-article",".feedburnerFeedBlock",".widget-feedburner-counter",'[title="Subscribe to our blog"]'],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:[".td-tags-and-social-wrapper-box",".twitterContainer",".youtube-social",'a[title^="Like us on Facebook"]','img[alt^="Share on Digg"]'],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container",".cookie-msg-info-container","#cookies-policy-sticky"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),'a[href^="/magazin/"]',e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd")],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}function bt(e){var t=(e===void 0?{}:e).debug;return(0,i.mG)(this,void 0,void 0,function(){var n,f,d,m,l,y;return(0,i.Jh)(this,function(T){switch(T.label){case 0:return xt()?(n=yt(),f=Object.keys(n),d=(y=[]).concat.apply(y,f.map(function(Y){return n[Y]})),[4,wt(d)]):[2,void 0];case 1:return m=T.sent(),t&&Ct(n,m),l=f.filter(function(Y){var M=n[Y],H=C(M.map(function(z){return m[z]}));return H>M.length*.6}),l.sort(),[2,l]}})})}function xt(){return be()||Ee()}function wt(e){var t;return(0,i.mG)(this,void 0,void 0,function(){var n,f,d,m,T,l,y,T;return(0,i.Jh)(this,function(Y){switch(Y.label){case 0:for(n=document,f=n.createElement("div"),d=new Array(e.length),m={},Qe(f),T=0;T<e.length;++T)l=h(e[T]),y=n.createElement("div"),Qe(y),y.appendChild(l),f.appendChild(y),d[T]=l;Y.label=1;case 1:return n.body?[3,3]:[4,w(50)];case 2:return Y.sent(),[3,1];case 3:n.body.appendChild(f);try{for(T=0;T<e.length;++T)d[T].offsetParent||(m[e[T]]=!0)}finally{(t=f.parentNode)===null||t===void 0||t.removeChild(f)}return[2,m]}})})}function Qe(e){e.style.setProperty("display","block","important")}function Ct(e,t){for(var n="DOM blockers debug:\n```",f=0,d=Object.keys(e);f<d.length;f++){var m=d[f];n+=`
|
|
3
|
+
`+m+":";for(var l=0,y=e[m];l<y.length;l++){var T=y[l];n+=`
|
|
4
|
+
`+(t[T]?"\u{1F6AB}":"\u27A1\uFE0F")+" "+T}}console.log(n+"\n```")}function Ft(){for(var e=0,t=["rec2020","p3","srgb"];e<t.length;e++){var n=t[e];if(matchMedia("(color-gamut: "+n+")").matches)return n}}function St(){if(ze("inverted"))return!0;if(ze("none"))return!1}function ze(e){return matchMedia("(inverted-colors: "+e+")").matches}function Rt(){if(Ue("active"))return!0;if(Ue("none"))return!1}function Ue(e){return matchMedia("(forced-colors: "+e+")").matches}var Lt=100;function Mt(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=Lt;++e)if(matchMedia("(max-monochrome: "+e+")").matches)return e;throw new Error("Too high value")}}function Et(){if(Fe("no-preference"))return 0;if(Fe("high")||Fe("more"))return 1;if(Fe("low")||Fe("less"))return-1;if(Fe("forced"))return 10}function Fe(e){return matchMedia("(prefers-contrast: "+e+")").matches}function Tt(){if(Ke("reduce"))return!0;if(Ke("no-preference"))return!1}function Ke(e){return matchMedia("(prefers-reduced-motion: "+e+")").matches}function At(){if($e("high"))return!0;if($e("standard"))return!1}function $e(e){return matchMedia("(dynamic-range: "+e+")").matches}var Q=Math,ce=function(){return 0};function Ot(){var e=Q.acos||ce,t=Q.acosh||ce,n=Q.asin||ce,f=Q.asinh||ce,d=Q.atanh||ce,m=Q.atan||ce,l=Q.sin||ce,y=Q.sinh||ce,T=Q.cos||ce,Y=Q.cosh||ce,M=Q.tan||ce,H=Q.tanh||ce,z=Q.exp||ce,te=Q.expm1||ce,_=Q.log1p||ce,ne=function(q){return Q.pow(Q.PI,q)},ee=function(q){return Q.log(q+Q.sqrt(q*q-1))},$=function(q){return Q.log(q+Q.sqrt(q*q+1))},ve=function(q){return Q.log((1+q)/(1-q))/2},Le=function(q){return Q.exp(q)-1/Q.exp(q)/2},Ve=function(q){return(Q.exp(q)+1/Q.exp(q))/2},Je=function(q){return Q.exp(q)-1},zt=function(q){return(Q.exp(2*q)-1)/(Q.exp(2*q)+1)},Ut=function(q){return Q.log(1+q)};return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:ee(1e154),asin:n(.12312423423423424),asinh:f(1),asinhPf:$(1),atanh:d(.5),atanhPf:ve(.5),atan:m(.5),sin:l(-1e300),sinh:y(1),sinhPf:Le(1),cos:T(10.000000000123),cosh:Y(1),coshPf:Ve(1),tan:M(-1e300),tanh:H(1),tanhPf:zt(1),exp:z(1),expm1:te(1),expm1Pf:Je(1),log1p:_(10),log1pPf:Ut(10),powPI:ne(-100)}}var Dt="mmMwWLliI0fiflO&1",He={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function Zt(){return Pt(function(e,t){for(var n={},f={},d=0,m=Object.keys(He);d<m.length;d++){var l=m[d],y=He[l],T=y[0],Y=T===void 0?{}:T,M=y[1],H=M===void 0?Dt:M,z=e.createElement("span");z.textContent=H,z.style.whiteSpace="nowrap";for(var te=0,_=Object.keys(Y);te<_.length;te++){var ne=_[te],ee=Y[ne];ee!==void 0&&(z.style[ne]=ee)}n[l]=z,t.appendChild(e.createElement("br")),t.appendChild(z)}for(var $=0,ve=Object.keys(He);$<ve.length;$++){var l=ve[$];f[l]=n[l].getBoundingClientRect().width}return f})}function Pt(e,t){return t===void 0&&(t=4e3),Ze(function(n,f){var d=f.document,m=d.body,l=m.style;l.width=t+"px",l.webkitTextSizeAdjust=l.textSizeAdjust="none",se()?m.style.zoom=""+1/f.devicePixelRatio:be()&&(m.style.zoom="reset");var y=d.createElement("div");return y.textContent=(0,i.pr)(Array(t/20<<0)).map(function(){return"word"}).join(" "),m.appendChild(y),e(d,m)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}var It={fonts:P,domBlockers:bt,fontPreferences:Zt,audio:Re,screenFrame:it,osCpu:me,languages:ue,colorDepth:xe,deviceMemory:we,screenResolution:et,hardwareConcurrency:ot,timezone:st,sessionStorage:ct,localStorage:lt,indexedDB:ft,openDatabase:dt,cpuClass:ht,platform:mt,plugins:N,canvas:U,touchSupport:fe,vendor:vt,vendorFlavors:pt,cookiesEnabled:gt,colorGamut:Ft,invertedColors:St,forcedColors:Rt,monochrome:Mt,contrast:Et,reducedMotion:Tt,hdr:At,math:Ot};function Vt(e){return oe(It,e,[])}var Wt="$ if upgrade to Pro: https://fpjs.dev/pro";function kt(e){var t=jt(e),n=Gt(t);return{score:t,comment:Wt.replace(/\$/g,""+n)}}function jt(e){if(Ee())return .4;if(be())return Se()?.5:.3;var t=e.platform.value||"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function Gt(e){return L(.99+.01*e,1e-4)}function Xt(e){for(var t="",n=0,f=Object.keys(e).sort();n<f.length;n++){var d=f[n],m=e[d],l=m.error?"error":JSON.stringify(m.value);t+=(t?"|":"")+d.replace(/([:|\\])/g,"\\$1")+":"+l}return t}function _e(e){return JSON.stringify(e,function(t,n){return n instanceof Error?Z(n):n},2)}function qe(e){return J(Xt(e))}function Bt(e){var t,n=kt(e);return{get visitorId(){return t===void 0&&(t=qe(this.components)),t},set visitorId(f){t=f},confidence:n,components:e,version:u}}function Nt(e){return e===void 0&&(e=50),g(e,e*2)}function Yt(e,t){var n=Date.now();return{get:function(f){return(0,i.mG)(this,void 0,void 0,function(){var d,m,l;return(0,i.Jh)(this,function(y){switch(y.label){case 0:return d=Date.now(),[4,e()];case 1:return m=y.sent(),l=Bt(m),(t||f?.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: "+l.version+`
|
|
5
|
+
userAgent: `+navigator.userAgent+`
|
|
6
|
+
timeBetweenLoadAndGet: `+(d-n)+`
|
|
7
|
+
visitorId: `+l.visitorId+`
|
|
8
|
+
components: `+_e(m)+"\n```"),[2,l]}})})}}}function Ht(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v"+u+"/npm-monitoring",!0),e.send()}catch(t){console.error(t)}}function Jt(e){var t=e===void 0?{}:e,n=t.delayFallback,f=t.debug,d=t.monitoring,m=d===void 0?!0:d;return(0,i.mG)(this,void 0,void 0,function(){var l;return(0,i.Jh)(this,function(y){switch(y.label){case 0:return m&&Ht(),[4,Nt(n)];case 1:return y.sent(),l=Vt({debug:f}),[2,Yt(l,f)]}})})}var Qt={load:Jt,hashComponents:qe,componentsToDebugString:_e},Kt=null},49189:function(V,I,o){var i,u;/*!
|
|
9
|
+
* JavaScript Cookie v2.2.1
|
|
10
|
+
* https://github.com/js-cookie/js-cookie
|
|
11
|
+
*
|
|
12
|
+
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
|
|
13
|
+
* Released under the MIT license
|
|
14
|
+
*/(function(w){var g;if(i=w,u=typeof i=="function"?i.call(I,o,I,V):i,u!==void 0&&(V.exports=u),g=!0,V.exports=w(),g=!0,!g){var E=window.Cookies,A=window.Cookies=w();A.noConflict=function(){return window.Cookies=E,A}}})(function(){function w(){for(var A=0,x={};A<arguments.length;A++){var j=arguments[A];for(var W in j)x[W]=j[W]}return x}function g(A){return A.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function E(A){function x(){}function j(k,B,D){if(!(typeof document>"u")){D=w({path:"/"},x.defaults,D),typeof D.expires=="number"&&(D.expires=new Date(new Date*1+D.expires*864e5)),D.expires=D.expires?D.expires.toUTCString():"";try{var O=JSON.stringify(B);/^[\{\[]/.test(O)&&(B=O)}catch{}B=A.write?A.write(B,k):encodeURIComponent(String(B)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),k=encodeURIComponent(String(k)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var X="";for(var J in D)D[J]&&(X+="; "+J,D[J]!==!0&&(X+="="+D[J].split(";")[0]));return document.cookie=k+"="+B+X}}function W(k,B){if(!(typeof document>"u")){for(var D={},O=document.cookie?document.cookie.split("; "):[],X=0;X<O.length;X++){var J=O[X].split("="),Z=J.slice(1).join("=");!B&&Z.charAt(0)==='"'&&(Z=Z.slice(1,-1));try{var b=g(J[0]);if(Z=(A.read||A)(Z,b)||g(Z),B)try{Z=JSON.parse(Z)}catch{}if(D[b]=Z,k===b)break}catch{}}return k?D[k]:D}}return x.set=j,x.get=function(k){return W(k,!1)},x.getJSON=function(k){return W(k,!0)},x.remove=function(k,B){j(k,"",w(B,{expires:-1}))},x.defaults={},x.withConverter=E,x}return E(function(){})})},56671:function(V,I,o){var i=o(35897),u=o(74741),w=u(i);V.exports=w},52920:function(V,I,o){var i=o(56671),u=o(81580);function w(g,E){var A=-1,x=u(g)?Array(g.length):[];return i(g,function(j,W,k){x[++A]=E(j,W,k)}),x}V.exports=w},50690:function(V,I,o){var i=o(26460),u=o(80166),w=o(88904),g=o(52920),E=o(36024),A=o(76535),x=o(1397),j=o(15362),W=o(77236);function k(B,D,O){D.length?D=i(D,function(Z){return W(Z)?function(b){return u(b,Z.length===1?Z[0]:Z)}:Z}):D=[j];var X=-1;D=i(D,A(w));var J=g(B,function(Z,b,c){var r=i(D,function(a){return a(Z)});return{criteria:r,index:++X,value:Z}});return E(J,function(Z,b){return x(Z,b,O)})}V.exports=k},37410:function(V,I,o){var i=o(96621),u=o(33646);function w(g,E){return i(g,E,function(A,x){return u(g,x)})}V.exports=w},36024:function(V){function I(o,i){var u=o.length;for(o.sort(i);u--;)o[u]=o[u].value;return o}V.exports=I},40709:function(V,I,o){var i=o(22945);function u(w,g){if(w!==g){var E=w!==void 0,A=w===null,x=w===w,j=i(w),W=g!==void 0,k=g===null,B=g===g,D=i(g);if(!k&&!D&&!j&&w>g||j&&W&&B&&!k&&!D||A&&W&&B||!E&&B||!x)return 1;if(!A&&!j&&!D&&w<g||D&&E&&x&&!A&&!j||k&&E&&x||!W&&x||!B)return-1}return 0}V.exports=u},1397:function(V,I,o){var i=o(40709);function u(w,g,E){for(var A=-1,x=w.criteria,j=g.criteria,W=x.length,k=E.length;++A<W;){var B=i(x[A],j[A]);if(B){if(A>=k)return B;var D=E[A];return B*(D=="desc"?-1:1)}}return w.index-g.index}V.exports=u},74741:function(V,I,o){var i=o(81580);function u(w,g){return function(E,A){if(E==null)return E;if(!i(E))return w(E,A);for(var x=E.length,j=g?x:-1,W=Object(E);(g?j--:++j<x)&&A(W[j],j,W)!==!1;);return E}}V.exports=u},72245:function(V,I,o){var i=o(63920),u=o(85973);function w(g,E,A,x,j,W){return u(g)&&u(E)&&(W.set(E,g),i(g,E,void 0,w,W),W.delete(E)),g}V.exports=w},58732:function(V,I,o){var i=o(85198),u=o(94569),w=o(72245),g=o(54754),E=u(function(A){return A.push(void 0,w),i(g,void 0,A)});V.exports=E},54754:function(V,I,o){var i=o(63920),u=o(32544),w=u(function(g,E,A,x){i(g,E,A,x)});V.exports=w},88423:function(V,I,o){var i=o(37410),u=o(83368),w=u(function(g,E){return g==null?{}:i(g,E)});V.exports=w},98978:function(V,I,o){var i=o(40314),u=o(50690),w=o(94569),g=o(63108),E=w(function(A,x){if(A==null)return[];var j=x.length;return j>1&&g(A,x[0],x[1])?x=[]:j>2&&g(x[0],x[1],x[2])&&(x=[x[0]]),u(A,i(x,1),[])});V.exports=E},56236:function(V,I,o){var i=o(69386);function u(w,g){return w==null?!0:i(w,g)}V.exports=u},78023:function(V,I,o){"use strict";o.d(I,{Z:function(){return Ze}});var i=o(31191),u=o(32735),w=o(72067),g=o(42447),E=o(26356),A=o(75461),x=o(68833),j=o(20552);function W(h,R){return Object.keys(h).reduce(function(p,v){return p[v]=(0,i.pi)({timeZone:R},h[v]),p},{})}function k(h,R){var p=Object.keys((0,i.pi)((0,i.pi)({},h),R));return p.reduce(function(v,F){return v[F]=(0,i.pi)((0,i.pi)({},h[F]||{}),R[F]||{}),v},{})}function B(h,R){if(!R)return h;var p=A.C.formats;return(0,i.pi)((0,i.pi)((0,i.pi)({},p),h),{date:k(W(p.date,R),W(h.date||{},R)),time:k(W(p.time,R),W(h.time||{},R))})}var D=function(h,R,p,v,F){var S=h.locale,P=h.formats,N=h.messages,U=h.defaultLocale,le=h.defaultFormats,K=h.fallbackOnEmptyString,he=h.onError,ge=h.timeZone,Pe=h.defaultRichTextElements;p===void 0&&(p={id:""});var Ce=p.id,fe=p.defaultMessage;(0,E.kG)(!!Ce,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var me=String(Ce),ue=N&&Object.prototype.hasOwnProperty.call(N,me)&&N[me];if(Array.isArray(ue)&&ue.length===1&&ue[0].type===j.wD.literal)return ue[0].value;if(!v&&ue&&typeof ue=="string"&&!Pe)return ue.replace(/'\{(.*?)\}'/gi,"{$1}");if(v=(0,i.pi)((0,i.pi)({},Pe),v||{}),P=B(P,ge),le=B(le,ge),!ue){if(K===!1&&ue==="")return ue;if((!fe||S&&S.toLowerCase()!==U.toLowerCase())&&he(new x.$6(p,S)),fe)try{var xe=R.getMessageFormat(fe,U,le,F);return xe.format(v)}catch(we){return he(new x.X9('Error formatting default message for: "'.concat(me,'", rendering default message verbatim'),S,p,we)),typeof fe=="string"?fe:me}return me}try{var xe=R.getMessageFormat(ue,S,P,(0,i.pi)({formatters:R},F||{}));return xe.format(v)}catch(we){he(new x.X9('Error formatting message: "'.concat(me,'", using ').concat(fe?"default message":"id"," as fallback."),S,p,we))}if(fe)try{var xe=R.getMessageFormat(fe,U,le,F);return xe.format(v)}catch(we){he(new x.X9('Error formatting the default message for: "'.concat(me,'", rendering message verbatim'),S,p,we))}return typeof ue=="string"?ue:typeof fe=="string"?fe:me},O=o(32409),X=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function J(h,R,p){var v=h.locale,F=h.formats,S=h.onError;p===void 0&&(p={});var P=p.format,N=P&&(0,O.TB)(F,"number",P,S)||{},U=(0,O.L6)(p,X,N);return R(v,U)}function Z(h,R,p,v){v===void 0&&(v={});try{return J(h,R,v).format(p)}catch(F){h.onError(new x.Rw(x.bc.FORMAT_ERROR,"Error formatting number.",F))}return String(p)}function b(h,R,p,v){v===void 0&&(v={});try{return J(h,R,v).formatToParts(p)}catch(F){h.onError(new x.Rw(x.bc.FORMAT_ERROR,"Error formatting number.",F))}return[]}var c=o(14979),r=["numeric","style"];function a(h,R,p){var v=h.locale,F=h.formats,S=h.onError;p===void 0&&(p={});var P=p.format,N=!!P&&(0,O.TB)(F,"relative",P,S)||{},U=(0,O.L6)(p,r,N);return R(v,U)}function s(h,R,p,v,F){F===void 0&&(F={}),v||(v="second");var S=Intl.RelativeTimeFormat;S||h.onError(new c.u_(`Intl.RelativeTimeFormat is not available in this environment.
|
|
15
|
+
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
16
|
+
`,c.jK.MISSING_INTL_API));try{return a(h,R,F).format(p,v)}catch(P){h.onError(new x.Qe("Error formatting relative time.",h.locale,P))}return String(p)}var C=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function L(h,R,p,v){var F=h.locale,S=h.formats,P=h.onError,N=h.timeZone;v===void 0&&(v={});var U=v.format,le=(0,i.pi)((0,i.pi)({},N&&{timeZone:N}),U&&(0,O.TB)(S,R,U,P)),K=(0,O.L6)(v,C,le);return R==="time"&&!K.hour&&!K.minute&&!K.second&&!K.timeStyle&&!K.dateStyle&&(K=(0,i.pi)((0,i.pi)({},K),{hour:"numeric",minute:"numeric"})),p(F,K)}function G(h,R){for(var p=[],v=2;v<arguments.length;v++)p[v-2]=arguments[v];var F=p[0],S=p[1],P=S===void 0?{}:S,N=typeof F=="string"?new Date(F||0):F;try{return L(h,"date",R,P).format(N)}catch(U){h.onError(new x.Rw(x.bc.FORMAT_ERROR,"Error formatting date.",U))}return String(N)}function ae(h,R){for(var p=[],v=2;v<arguments.length;v++)p[v-2]=arguments[v];var F=p[0],S=p[1],P=S===void 0?{}:S,N=typeof F=="string"?new Date(F||0):F;try{return L(h,"time",R,P).format(N)}catch(U){h.onError(new x.Rw(x.bc.FORMAT_ERROR,"Error formatting time.",U))}return String(N)}function re(h,R){for(var p=[],v=2;v<arguments.length;v++)p[v-2]=arguments[v];var F=p[0],S=p[1],P=p[2],N=P===void 0?{}:P,U=h.timeZone,le=h.locale,K=h.onError,he=(0,O.L6)(N,C,U?{timeZone:U}:{});try{return R(le,he).formatRange(F,S)}catch(ge){K(new x.Rw(x.bc.FORMAT_ERROR,"Error formatting date time range.",ge))}return String(F)}function ie(h,R){for(var p=[],v=2;v<arguments.length;v++)p[v-2]=arguments[v];var F=p[0],S=p[1],P=S===void 0?{}:S,N=typeof F=="string"?new Date(F||0):F;try{return L(h,"date",R,P).formatToParts(N)}catch(U){h.onError(new x.Rw(x.bc.FORMAT_ERROR,"Error formatting date.",U))}return[]}function oe(h,R){for(var p=[],v=2;v<arguments.length;v++)p[v-2]=arguments[v];var F=p[0],S=p[1],P=S===void 0?{}:S,N=typeof F=="string"?new Date(F||0):F;try{return L(h,"time",R,P).formatToParts(N)}catch(U){h.onError(new x.Rw(x.bc.FORMAT_ERROR,"Error formatting time.",U))}return[]}var ye=["type"];function pe(h,R,p,v){var F=h.locale,S=h.onError;v===void 0&&(v={}),Intl.PluralRules||S(new c.u_(`Intl.PluralRules is not available in this environment.
|
|
17
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
18
|
+
`,c.jK.MISSING_INTL_API));var P=(0,O.L6)(v,ye);try{return R(F,P).select(p)}catch(N){S(new x.Qe("Error formatting plural.",F,N))}return"other"}var de=["type","style"],se=Date.now();function be(h){return"".concat(se,"_").concat(h,"_").concat(se)}function Se(h,R,p,v){v===void 0&&(v={});var F=Me(h,R,p,v).reduce(function(S,P){var N=P.value;return typeof N!="string"?S.push(N):typeof S[S.length-1]=="string"?S[S.length-1]+=N:S.push(N),S},[]);return F.length===1?F[0]:F.length===0?"":F}function Me(h,R,p,v){var F=h.locale,S=h.onError;v===void 0&&(v={});var P=Intl.ListFormat;P||S(new c.u_(`Intl.ListFormat is not available in this environment.
|
|
19
|
+
Try polyfilling it using "@formatjs/intl-listformat"
|
|
20
|
+
`,c.jK.MISSING_INTL_API));var N=(0,O.L6)(v,de);try{var U={},le=p.map(function(K,he){if(typeof K=="object"){var ge=be(he);return U[ge]=K,ge}return String(K)});return R(F,N).formatToParts(le).map(function(K){return K.type==="literal"?K:(0,i.pi)((0,i.pi)({},K),{value:U[K.value]||K.value})})}catch(K){S(new x.Rw(x.bc.FORMAT_ERROR,"Error formatting list.",K))}return p}var We=["style","type","fallback","languageDisplay"];function ke(h,R,p,v){var F=h.locale,S=h.onError,P=Intl.DisplayNames;P||S(new c.u_(`Intl.DisplayNames is not available in this environment.
|
|
21
|
+
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
22
|
+
`,c.jK.MISSING_INTL_API));var N=(0,O.L6)(v,We);try{return R(F,N).of(p)}catch(U){S(new x.Rw(x.bc.FORMAT_ERROR,"Error formatting display name.",U))}}function je(h){var R=h?h[Object.keys(h)[0]]:void 0;return typeof R=="string"}function Ge(h){h.onWarn&&h.defaultRichTextElements&&je(h.messages||{})&&h.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
|
|
23
|
+
Please consider using "@formatjs/cli" to pre-compile your messages for performance.
|
|
24
|
+
For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function Xe(h,R){var p=(0,O.ax)(R),v=(0,i.pi)((0,i.pi)({},O.Z0),h),F=v.locale,S=v.defaultLocale,P=v.onError;return F?!Intl.NumberFormat.supportedLocalesOf(F).length&&P?P(new x.gb('Missing locale data for locale: "'.concat(F,'" in Intl.NumberFormat. Using default locale: "').concat(S,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(F).length&&P&&P(new x.gb('Missing locale data for locale: "'.concat(F,'" in Intl.DateTimeFormat. Using default locale: "').concat(S,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(P&&P(new x.OV('"locale" was not configured, using "'.concat(S,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),v.locale=v.defaultLocale||"en"),Ge(v),(0,i.pi)((0,i.pi)({},v),{formatters:p,formatNumber:Z.bind(null,v,p.getNumberFormat),formatNumberToParts:b.bind(null,v,p.getNumberFormat),formatRelativeTime:s.bind(null,v,p.getRelativeTimeFormat),formatDate:G.bind(null,v,p.getDateTimeFormat),formatDateToParts:ie.bind(null,v,p.getDateTimeFormat),formatTime:ae.bind(null,v,p.getDateTimeFormat),formatDateTimeRange:re.bind(null,v,p.getDateTimeFormat),formatTimeToParts:oe.bind(null,v,p.getDateTimeFormat),formatPlural:pe.bind(null,v,p.getPluralRules),formatMessage:D.bind(null,v,p),$t:D.bind(null,v,p),formatList:Se.bind(null,v,p.getListFormat),formatListToParts:Me.bind(null,v,p.getListFormat),formatDisplayName:ke.bind(null,v,p.getDisplayNames)})}var Ee=o(33961);function Re(h){return{locale:h.locale,timeZone:h.timeZone,fallbackOnEmptyString:h.fallbackOnEmptyString,formats:h.formats,textComponent:h.textComponent,messages:h.messages,defaultLocale:h.defaultLocale,defaultFormats:h.defaultFormats,onError:h.onError,onWarn:h.onWarn,wrapRichTextChunksInFragment:h.wrapRichTextChunksInFragment,defaultRichTextElements:h.defaultRichTextElements}}function Te(h){return h&&Object.keys(h).reduce(function(R,p){var v=h[p];return R[p]=(0,Ee.Gt)(v)?(0,g.dt)(v):v,R},{})}var Ae=function(h,R,p,v){for(var F=[],S=4;S<arguments.length;S++)F[S-4]=arguments[S];var P=Te(v),N=D.apply(void 0,(0,i.ev)([h,R,p,P],F,!1));return Array.isArray(N)?u.Children.toArray(N):N},Oe=function(h,R){var p=h.defaultRichTextElements,v=(0,i._T)(h,["defaultRichTextElements"]),F=Te(p),S=Xe((0,i.pi)((0,i.pi)((0,i.pi)({},g.Z0),v),{defaultRichTextElements:F}),R),P={locale:S.locale,timeZone:S.timeZone,fallbackOnEmptyString:S.fallbackOnEmptyString,formats:S.formats,defaultLocale:S.defaultLocale,defaultFormats:S.defaultFormats,messages:S.messages,onError:S.onError,defaultRichTextElements:F};return(0,i.pi)((0,i.pi)({},S),{formatMessage:Ae.bind(null,P,S.formatters),$t:Ae.bind(null,P,S.formatters)})},De=function(h){(0,i.ZT)(R,h);function R(){var p=h!==null&&h.apply(this,arguments)||this;return p.cache=(0,O.Sn)(),p.state={cache:p.cache,intl:Oe(Re(p.props),p.cache),prevConfig:Re(p.props)},p}return R.getDerivedStateFromProps=function(p,v){var F=v.prevConfig,S=v.cache,P=Re(p);return(0,g.wU)(F,P)?null:{intl:Oe(P,S),prevConfig:P}},R.prototype.render=function(){return(0,g.lq)(this.state.intl),u.createElement(w.zt,{value:this.state.intl},this.props.children)},R.displayName="IntlProvider",R.defaultProps=g.Z0,R}(u.PureComponent),Ze=De},86113:function(V,I,o){"use strict";o.d(I,{S:function(){return J}});var i=o(20011),u=o(17209),w=o(23788),g=o(6265),E=o(52510),A=o(68143),x=function(){function Z(c){this.defaultOptions=c.defaultOptions,this.setOptions(c.options),this.observers=[],this.cache=c.cache,this.queryKey=c.queryKey,this.queryHash=c.queryHash,this.initialState=c.state||this.getDefaultState(this.options),this.state=this.initialState,this.scheduleGc()}var b=Z.prototype;return b.setOptions=function(r){var a;this.options=(0,i.Z)({},this.defaultOptions,r),this.cacheTime=Math.max(this.cacheTime||0,(a=this.options.cacheTime)!=null?a:5*60*1e3)},b.setDefaultOptions=function(r){this.defaultOptions=r},b.scheduleGc=function(){var r=this;this.clearGcTimeout(),(0,u.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout(function(){r.optionalRemove()},this.cacheTime))},b.clearGcTimeout=function(){clearTimeout(this.gcTimeout),this.gcTimeout=void 0},b.optionalRemove=function(){!this.observers.length&&!this.state.isFetching&&this.cache.remove(this)},b.setData=function(r,a){var s,C,L=this.state.data,G=(0,u.SE)(r,L);return(s=(C=this.options).isDataEqual)!=null&&s.call(C,L,G)?G=L:this.options.structuralSharing!==!1&&(G=(0,u.Q$)(L,G)),this.dispatch({data:G,type:"success",dataUpdatedAt:a?.updatedAt}),G},b.setState=function(r,a){this.dispatch({type:"setState",state:r,setStateOptions:a})},b.cancel=function(r){var a,s=this.promise;return(a=this.retryer)==null||a.cancel(r),s?s.then(u.ZT).catch(u.ZT):Promise.resolve()},b.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},b.reset=function(){this.destroy(),this.setState(this.initialState)},b.isActive=function(){return this.observers.some(function(r){return r.options.enabled!==!1})},b.isFetching=function(){return this.state.isFetching},b.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(function(r){return r.getCurrentResult().isStale})},b.isStaleByTime=function(r){return r===void 0&&(r=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,u.Kp)(this.state.dataUpdatedAt,r)},b.onFocus=function(){var r,a=this.observers.find(function(s){return s.shouldFetchOnWindowFocus()});a&&a.refetch(),(r=this.retryer)==null||r.continue()},b.onOnline=function(){var r,a=this.observers.find(function(s){return s.shouldFetchOnReconnect()});a&&a.refetch(),(r=this.retryer)==null||r.continue()},b.addObserver=function(r){this.observers.indexOf(r)===-1&&(this.observers.push(r),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:r}))},b.removeObserver=function(r){this.observers.indexOf(r)!==-1&&(this.observers=this.observers.filter(function(a){return a!==r}),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:r}))},b.getObserversCount=function(){return this.observers.length},b.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},b.fetch=function(r,a){var s=this,C,L;if(this.state.isFetching){if(this.state.dataUpdatedAt&&a?.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return this.promise}if(r&&this.setOptions(r),!this.options.queryFn){var G=this.observers.find(function(de){return de.options.queryFn});G&&this.setOptions(G.options)}var ae=(0,u.mc)(this.queryKey),re={queryKey:ae,pageParam:void 0},ie=function(){return s.options.queryFn?s.options.queryFn(re):Promise.reject("Missing queryFn")},oe={fetchOptions:a,options:this.options,queryKey:ae,state:this.state,fetchFn:ie};if((C=this.options.behavior)!=null&&C.onFetch){var ye;(ye=this.options.behavior)==null||ye.onFetch(oe)}if(this.revertState=this.state,!this.state.isFetching||this.state.fetchMeta!==((L=oe.fetchOptions)==null?void 0:L.meta)){var pe;this.dispatch({type:"fetch",meta:(pe=oe.fetchOptions)==null?void 0:pe.meta})}return this.retryer=new A.m4({fn:oe.fetchFn,onSuccess:function(se){s.setData(se),s.cache.config.onSuccess==null||s.cache.config.onSuccess(se,s),s.cacheTime===0&&s.optionalRemove()},onError:function(se){(0,A.DV)(se)&&se.silent||s.dispatch({type:"error",error:se}),(0,A.DV)(se)||(s.cache.config.onError==null||s.cache.config.onError(se,s),(0,E.j)().error(se)),s.cacheTime===0&&s.optionalRemove()},onFail:function(){s.dispatch({type:"failed"})},onPause:function(){s.dispatch({type:"pause"})},onContinue:function(){s.dispatch({type:"continue"})},retry:oe.options.retry,retryDelay:oe.options.retryDelay}),this.promise=this.retryer.promise,this.promise},b.dispatch=function(r){var a=this;this.state=this.reducer(this.state,r),g.V.batch(function(){a.observers.forEach(function(s){s.onQueryUpdate(r)}),a.cache.notify({query:a,type:"queryUpdated",action:r})})},b.getDefaultState=function(r){var a=typeof r.initialData=="function"?r.initialData():r.initialData,s=typeof r.initialData<"u",C=s?typeof r.initialDataUpdatedAt=="function"?r.initialDataUpdatedAt():r.initialDataUpdatedAt:0,L=typeof a<"u";return{data:a,dataUpdateCount:0,dataUpdatedAt:L?C??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:L?"success":"idle"}},b.reducer=function(r,a){var s,C;switch(a.type){case"failed":return(0,i.Z)({},r,{fetchFailureCount:r.fetchFailureCount+1});case"pause":return(0,i.Z)({},r,{isPaused:!0});case"continue":return(0,i.Z)({},r,{isPaused:!1});case"fetch":return(0,i.Z)({},r,{fetchFailureCount:0,fetchMeta:(s=a.meta)!=null?s:null,isFetching:!0,isPaused:!1,status:r.dataUpdatedAt?r.status:"loading"});case"success":return(0,i.Z)({},r,{data:a.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:(C=a.dataUpdatedAt)!=null?C:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var L=a.error;return(0,A.DV)(L)&&L.revert&&this.revertState?(0,i.Z)({},this.revertState):(0,i.Z)({},r,{error:L,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,i.Z)({},r,{isInvalidated:!0});case"setState":return(0,i.Z)({},r,a.state);default:return r}},Z}(),j=o(30128),W=function(Z){(0,w.Z)(b,Z);function b(r){var a;return a=Z.call(this)||this,a.config=r||{},a.queries=[],a.queriesMap={},a}var c=b.prototype;return c.build=function(a,s,C){var L,G=s.queryKey,ae=(L=s.queryHash)!=null?L:(0,u.Rm)(G,s),re=this.get(ae);return re||(re=new x({cache:this,queryKey:G,queryHash:ae,options:a.defaultQueryOptions(s),state:C,defaultOptions:a.getQueryDefaults(G)}),this.add(re)),re},c.add=function(a){this.queriesMap[a.queryHash]||(this.queriesMap[a.queryHash]=a,this.queries.push(a),this.notify({type:"queryAdded",query:a}))},c.remove=function(a){var s=this.queriesMap[a.queryHash];s&&(a.destroy(),this.queries=this.queries.filter(function(C){return C!==a}),s===a&&delete this.queriesMap[a.queryHash],this.notify({type:"queryRemoved",query:a}))},c.clear=function(){var a=this;g.V.batch(function(){a.queries.forEach(function(s){a.remove(s)})})},c.get=function(a){return this.queriesMap[a]},c.getAll=function(){return this.queries},c.find=function(a,s){var C=(0,u.I6)(a,s),L=C[0];return typeof L.exact>"u"&&(L.exact=!0),this.queries.find(function(G){return(0,u._x)(L,G)})},c.findAll=function(a,s){var C=(0,u.I6)(a,s),L=C[0];return L?this.queries.filter(function(G){return(0,u._x)(L,G)}):this.queries},c.notify=function(a){var s=this;g.V.batch(function(){s.listeners.forEach(function(C){C(a)})})},c.onFocus=function(){var a=this;g.V.batch(function(){a.queries.forEach(function(s){s.onFocus()})})},c.onOnline=function(){var a=this;g.V.batch(function(){a.queries.forEach(function(s){s.onOnline()})})},b}(j.l),k=o(7216),B=function(Z){(0,w.Z)(b,Z);function b(r){var a;return a=Z.call(this)||this,a.config=r||{},a.mutations=[],a.mutationId=0,a}var c=b.prototype;return c.build=function(a,s,C){var L=new k.m({mutationCache:this,mutationId:++this.mutationId,options:a.defaultMutationOptions(s),state:C,defaultOptions:s.mutationKey?a.getMutationDefaults(s.mutationKey):void 0});return this.add(L),L},c.add=function(a){this.mutations.push(a),this.notify(a)},c.remove=function(a){this.mutations=this.mutations.filter(function(s){return s!==a}),a.cancel(),this.notify(a)},c.clear=function(){var a=this;g.V.batch(function(){a.mutations.forEach(function(s){a.remove(s)})})},c.getAll=function(){return this.mutations},c.find=function(a){return typeof a.exact>"u"&&(a.exact=!0),this.mutations.find(function(s){return(0,u.X7)(a,s)})},c.findAll=function(a){return this.mutations.filter(function(s){return(0,u.X7)(a,s)})},c.notify=function(a){var s=this;g.V.batch(function(){s.listeners.forEach(function(C){C(a)})})},c.onFocus=function(){this.resumePausedMutations()},c.onOnline=function(){this.resumePausedMutations()},c.resumePausedMutations=function(){var a=this.mutations.filter(function(s){return s.state.isPaused});return g.V.batch(function(){return a.reduce(function(s,C){return s.then(function(){return C.continue().catch(u.ZT)})},Promise.resolve())})},b}(j.l),D=o(43596),O=o(8144),X=o(34215),J=function(){function Z(c){c===void 0&&(c={}),this.queryCache=c.queryCache||new W,this.mutationCache=c.mutationCache||new B,this.defaultOptions=c.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var b=Z.prototype;return b.mount=function(){var r=this;this.unsubscribeFocus=D.j.subscribe(function(){D.j.isFocused()&&O.N.isOnline()&&(r.mutationCache.onFocus(),r.queryCache.onFocus())}),this.unsubscribeOnline=O.N.subscribe(function(){D.j.isFocused()&&O.N.isOnline()&&(r.mutationCache.onOnline(),r.queryCache.onOnline())})},b.unmount=function(){var r,a;(r=this.unsubscribeFocus)==null||r.call(this),(a=this.unsubscribeOnline)==null||a.call(this)},b.isFetching=function(r,a){var s=(0,u.I6)(r,a),C=s[0];return C.fetching=!0,this.queryCache.findAll(C).length},b.isMutating=function(r){return this.mutationCache.findAll((0,i.Z)({},r,{fetching:!0})).length},b.getQueryData=function(r,a){var s;return(s=this.queryCache.find(r,a))==null?void 0:s.state.data},b.getQueriesData=function(r){return this.getQueryCache().findAll(r).map(function(a){var s=a.queryKey,C=a.state,L=C.data;return[s,L]})},b.setQueryData=function(r,a,s){var C=(0,u._v)(r),L=this.defaultQueryOptions(C);return this.queryCache.build(this,L).setData(a,s)},b.setQueriesData=function(r,a,s){var C=this;return g.V.batch(function(){return C.getQueryCache().findAll(r).map(function(L){var G=L.queryKey;return[G,C.setQueryData(G,a,s)]})})},b.getQueryState=function(r,a){var s;return(s=this.queryCache.find(r,a))==null?void 0:s.state},b.removeQueries=function(r,a){var s=(0,u.I6)(r,a),C=s[0],L=this.queryCache;g.V.batch(function(){L.findAll(C).forEach(function(G){L.remove(G)})})},b.resetQueries=function(r,a,s){var C=this,L=(0,u.I6)(r,a,s),G=L[0],ae=L[1],re=this.queryCache,ie=(0,i.Z)({},G,{active:!0});return g.V.batch(function(){return re.findAll(G).forEach(function(oe){oe.reset()}),C.refetchQueries(ie,ae)})},b.cancelQueries=function(r,a,s){var C=this,L=(0,u.I6)(r,a,s),G=L[0],ae=L[1],re=ae===void 0?{}:ae;typeof re.revert>"u"&&(re.revert=!0);var ie=g.V.batch(function(){return C.queryCache.findAll(G).map(function(oe){return oe.cancel(re)})});return Promise.all(ie).then(u.ZT).catch(u.ZT)},b.invalidateQueries=function(r,a,s){var C,L,G,ae=this,re=(0,u.I6)(r,a,s),ie=re[0],oe=re[1],ye=(0,i.Z)({},ie,{active:(C=(L=ie.refetchActive)!=null?L:ie.active)!=null?C:!0,inactive:(G=ie.refetchInactive)!=null?G:!1});return g.V.batch(function(){return ae.queryCache.findAll(ie).forEach(function(pe){pe.invalidate()}),ae.refetchQueries(ye,oe)})},b.refetchQueries=function(r,a,s){var C=this,L=(0,u.I6)(r,a,s),G=L[0],ae=L[1],re=g.V.batch(function(){return C.queryCache.findAll(G).map(function(oe){return oe.fetch(void 0,{meta:{refetchPage:G?.refetchPage}})})}),ie=Promise.all(re).then(u.ZT);return ae?.throwOnError||(ie=ie.catch(u.ZT)),ie},b.fetchQuery=function(r,a,s){var C=(0,u._v)(r,a,s),L=this.defaultQueryOptions(C);typeof L.retry>"u"&&(L.retry=!1);var G=this.queryCache.build(this,L);return G.isStaleByTime(L.staleTime)?G.fetch(L):Promise.resolve(G.state.data)},b.prefetchQuery=function(r,a,s){return this.fetchQuery(r,a,s).then(u.ZT).catch(u.ZT)},b.fetchInfiniteQuery=function(r,a,s){var C=(0,u._v)(r,a,s);return C.behavior=(0,X.Gm)(),this.fetchQuery(C)},b.prefetchInfiniteQuery=function(r,a,s){return this.fetchInfiniteQuery(r,a,s).then(u.ZT).catch(u.ZT)},b.cancelMutations=function(){var r=this,a=g.V.batch(function(){return r.mutationCache.getAll().map(function(s){return s.cancel()})});return Promise.all(a).then(u.ZT).catch(u.ZT)},b.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},b.executeMutation=function(r){return this.mutationCache.build(this,r).execute()},b.getQueryCache=function(){return this.queryCache},b.getMutationCache=function(){return this.mutationCache},b.getDefaultOptions=function(){return this.defaultOptions},b.setDefaultOptions=function(r){this.defaultOptions=r},b.setQueryDefaults=function(r,a){var s=this.queryDefaults.find(function(C){return(0,u.yF)(r)===(0,u.yF)(C.queryKey)});s?s.defaultOptions=a:this.queryDefaults.push({queryKey:r,defaultOptions:a})},b.getQueryDefaults=function(r){var a;return r?(a=this.queryDefaults.find(function(s){return(0,u.to)(r,s.queryKey)}))==null?void 0:a.defaultOptions:void 0},b.setMutationDefaults=function(r,a){var s=this.mutationDefaults.find(function(C){return(0,u.yF)(r)===(0,u.yF)(C.mutationKey)});s?s.defaultOptions=a:this.mutationDefaults.push({mutationKey:r,defaultOptions:a})},b.getMutationDefaults=function(r){var a;return r?(a=this.mutationDefaults.find(function(s){return(0,u.to)(r,s.mutationKey)}))==null?void 0:a.defaultOptions:void 0},b.defaultQueryOptions=function(r){if(r?._defaulted)return r;var a=(0,i.Z)({},this.defaultOptions.queries,this.getQueryDefaults(r?.queryKey),r,{_defaulted:!0});return!a.queryHash&&a.queryKey&&(a.queryHash=(0,u.Rm)(a.queryKey,a)),a},b.defaultQueryObserverOptions=function(r){return this.defaultQueryOptions(r)},b.defaultMutationOptions=function(r){return r?._defaulted?r:(0,i.Z)({},this.defaultOptions.mutations,this.getMutationDefaults(r?.mutationKey),r,{_defaulted:!0})},b.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},Z}()},17e3:function(V,I,o){"use strict";o.d(I,{D:function(){return g}});var i=o(32735),u=o(60216),w=o(72850);const g=({children:E})=>i.createElement(w.x,{paddingLeft:10,paddingRight:10},E);g.propTypes={children:u.node.isRequired}},82055:function(V,I,o){"use strict";o.d(I,{T:function(){return B}});var i=o(32735),u=o(60216),w=o(8471),g=o(72850),E=o(87933);const A=X=>{const J=(0,i.useRef)(null),[Z,b]=(0,i.useState)(!0),c=([r])=>{b(r.isIntersecting)};return(0,i.useEffect)(()=>{const r=J.current,a=new IntersectionObserver(c,X);return r&&a.observe(J.current),()=>{r&&a.disconnect()}},[J,X]),[J,Z]};var x=o(63060);const j=(X,J)=>{const Z=(0,x.W)(J);(0,i.useLayoutEffect)(()=>{const b=new ResizeObserver(Z);return Array.isArray(X)?X.forEach(c=>{c.current&&b.observe(c.current)}):X.current&&b.observe(X.current),()=>{b.disconnect()}},[X,Z])};var W=o(49372);const k=()=>{const X=(0,i.useRef)(null),[J,Z]=(0,i.useState)(null),[b,c]=A({root:null,rootMargin:"0px",threshold:0});return j(b,()=>{b.current&&Z(b.current.getBoundingClientRect())}),(0,i.useEffect)(()=>{X.current&&Z(X.current.getBoundingClientRect())},[X]),{containerRef:b,isVisible:c,baseHeaderLayoutRef:X,headerSize:J}},B=X=>{const{containerRef:J,isVisible:Z,baseHeaderLayoutRef:b,headerSize:c}=k();return i.createElement(i.Fragment,null,i.createElement("div",{style:{height:c?.height},ref:J},Z&&i.createElement(O,{ref:b,...X})),!Z&&i.createElement(O,{...X,sticky:!0,width:c?.width}))};B.displayName="HeaderLayout";const D=(0,w.ZP)(g.x)`
|
|
25
|
+
width: ${X=>X.width}px;
|
|
26
|
+
`,O=i.forwardRef(({navigationAction:X,primaryAction:J,secondaryAction:Z,subtitle:b,title:c,sticky:r,width:a,...s},C)=>{const L=typeof b=="string";return r?i.createElement(D,{paddingLeft:6,paddingRight:6,paddingTop:3,paddingBottom:3,position:"fixed",top:0,right:0,background:"neutral0",shadow:"tableShadow",width:a,zIndex:4,"data-strapi-header-sticky":!0},i.createElement(E.k,{justifyContent:"space-between"},i.createElement(E.k,null,X&&i.createElement(g.x,{paddingRight:3},X),i.createElement(g.x,null,i.createElement(W.Z,{variant:"beta",as:"h1",...s},c),L?i.createElement(W.Z,{variant:"pi",textColor:"neutral600"},b):b),Z?i.createElement(g.x,{paddingLeft:4},Z):null),i.createElement(E.k,null,J?i.createElement(g.x,{paddingLeft:2},J):void 0))):i.createElement(g.x,{ref:C,paddingLeft:10,paddingRight:10,paddingBottom:8,paddingTop:X?6:8,background:"neutral100","data-strapi-header":!0},X?i.createElement(g.x,{paddingBottom:2},X):null,i.createElement(E.k,{justifyContent:"space-between"},i.createElement(E.k,{minWidth:0},i.createElement(W.Z,{as:"h1",variant:"alpha",...s},c),Z?i.createElement(g.x,{paddingLeft:4},Z):null),J),L?i.createElement(W.Z,{variant:"epsilon",textColor:"neutral600",as:"p"},b):b)});O.displayName="BaseHeaderLayout",O.defaultProps={navigationAction:void 0,primaryAction:void 0,secondaryAction:void 0,subtitle:void 0,sticky:!1,width:void 0},O.propTypes={navigationAction:u.node,primaryAction:u.node,secondaryAction:u.node,sticky:u.bool,subtitle:u.oneOfType([u.string,u.node]),title:u.string.isRequired,width:u.number},B.defaultProps={navigationAction:void 0,primaryAction:void 0,secondaryAction:void 0,subtitle:void 0},B.propTypes={navigationAction:u.node,primaryAction:u.node,secondaryAction:u.node,subtitle:u.oneOfType([u.string,u.node]),title:u.string.isRequired}},27649:function(V,I,o){"use strict";o.d(I,{o:function(){return E}});var i=o(32735),u=o(60216),w=o(8471);const g=w.ZP.main`
|
|
27
|
+
// To prevent global outline on focus visible to force an outline when Main is focused
|
|
28
|
+
&:focus-visible {
|
|
29
|
+
outline: none;
|
|
30
|
+
}
|
|
31
|
+
`,E=({labelledBy:A,...x})=>{const j=A||"main-content-title";return i.createElement(g,{"aria-labelledby":j,id:"main-content",tabIndex:-1,...x})};E.defaultProps={labelledBy:void 0},E.propTypes={labelledBy:u.string}},10728:function(V,I,o){"use strict";o.d(I,{z:function(){return A}});var i=o(32735),u=o(60216),w=o(8471),g=o(72850);const E=(0,w.ZP)(g.x)`
|
|
32
|
+
text-decoration: none;
|
|
33
|
+
z-index: 9999;
|
|
34
|
+
left: -100%;
|
|
35
|
+
top: -100%;
|
|
36
|
+
|
|
37
|
+
&:focus {
|
|
38
|
+
left: ${({theme:x})=>x.spaces[3]};
|
|
39
|
+
top: ${({theme:x})=>x.spaces[3]};
|
|
40
|
+
}
|
|
41
|
+
`,A=({children:x})=>i.createElement(E,{as:"a",href:"#main-content",background:"primary600",color:"neutral0",padding:3,position:"absolute",hasRadius:!0},x);A.propTypes={children:u.node.isRequired}},86861:function(V,I,o){"use strict";o.d(I,{f:function(){return x}});var i=o(74512),u=o(8471),w=o(39144),g=o(3685);const E=()=>(0,i.jsxs)(g.T,{children:[(0,i.jsx)("p",{role:"log","aria-live":"polite",id:w.V.Log,"aria-relevant":"all"}),(0,i.jsx)("p",{role:"status","aria-live":"polite",id:w.V.Status,"aria-relevant":"all"}),(0,i.jsx)("p",{role:"alert","aria-live":"assertive",id:w.V.Alert,"aria-relevant":"all"})]}),A=u.vJ`
|
|
42
|
+
/* http://meyerweb.com/eric/tools/css/reset/
|
|
43
|
+
v2.0 | 20110126
|
|
44
|
+
License: none (public domain)
|
|
45
|
+
*/
|
|
46
|
+
html,
|
|
47
|
+
body,
|
|
48
|
+
div,
|
|
49
|
+
span,
|
|
50
|
+
applet,
|
|
51
|
+
object,
|
|
52
|
+
iframe,
|
|
53
|
+
h1,
|
|
54
|
+
h2,
|
|
55
|
+
h3,
|
|
56
|
+
h4,
|
|
57
|
+
h5,
|
|
58
|
+
h6,
|
|
59
|
+
p,
|
|
60
|
+
blockquote,
|
|
61
|
+
pre,
|
|
62
|
+
a,
|
|
63
|
+
abbr,
|
|
64
|
+
acronym,
|
|
65
|
+
address,
|
|
66
|
+
big,
|
|
67
|
+
cite,
|
|
68
|
+
code,
|
|
69
|
+
del,
|
|
70
|
+
dfn,
|
|
71
|
+
em,
|
|
72
|
+
img,
|
|
73
|
+
ins,
|
|
74
|
+
kbd,
|
|
75
|
+
q,
|
|
76
|
+
s,
|
|
77
|
+
samp,
|
|
78
|
+
small,
|
|
79
|
+
strike,
|
|
80
|
+
strong,
|
|
81
|
+
sub,
|
|
82
|
+
sup,
|
|
83
|
+
tt,
|
|
84
|
+
var,
|
|
85
|
+
b,
|
|
86
|
+
u,
|
|
87
|
+
i,
|
|
88
|
+
center,
|
|
89
|
+
dl,
|
|
90
|
+
dt,
|
|
91
|
+
dd,
|
|
92
|
+
ol,
|
|
93
|
+
ul,
|
|
94
|
+
li,
|
|
95
|
+
fieldset,
|
|
96
|
+
form,
|
|
97
|
+
label,
|
|
98
|
+
legend,
|
|
99
|
+
table,
|
|
100
|
+
caption,
|
|
101
|
+
tbody,
|
|
102
|
+
tfoot,
|
|
103
|
+
thead,
|
|
104
|
+
tr,
|
|
105
|
+
th,
|
|
106
|
+
td,
|
|
107
|
+
article,
|
|
108
|
+
aside,
|
|
109
|
+
canvas,
|
|
110
|
+
details,
|
|
111
|
+
embed,
|
|
112
|
+
figure,
|
|
113
|
+
figcaption,
|
|
114
|
+
footer,
|
|
115
|
+
header,
|
|
116
|
+
hgroup,
|
|
117
|
+
menu,
|
|
118
|
+
nav,
|
|
119
|
+
output,
|
|
120
|
+
ruby,
|
|
121
|
+
section,
|
|
122
|
+
summary,
|
|
123
|
+
time,
|
|
124
|
+
mark,
|
|
125
|
+
audio,
|
|
126
|
+
video {
|
|
127
|
+
margin: 0;
|
|
128
|
+
padding: 0;
|
|
129
|
+
border: 0;
|
|
130
|
+
font-size: 100%;
|
|
131
|
+
font: inherit;
|
|
132
|
+
vertical-align: baseline;
|
|
133
|
+
}
|
|
134
|
+
/* HTML5 display-role reset for older browsers */
|
|
135
|
+
article,
|
|
136
|
+
aside,
|
|
137
|
+
details,
|
|
138
|
+
figcaption,
|
|
139
|
+
figure,
|
|
140
|
+
footer,
|
|
141
|
+
header,
|
|
142
|
+
hgroup,
|
|
143
|
+
menu,
|
|
144
|
+
nav,
|
|
145
|
+
section {
|
|
146
|
+
display: block;
|
|
147
|
+
}
|
|
148
|
+
body {
|
|
149
|
+
line-height: 1;
|
|
150
|
+
}
|
|
151
|
+
ol,
|
|
152
|
+
ul {
|
|
153
|
+
list-style: none;
|
|
154
|
+
}
|
|
155
|
+
blockquote,
|
|
156
|
+
q {
|
|
157
|
+
quotes: none;
|
|
158
|
+
}
|
|
159
|
+
blockquote:before,
|
|
160
|
+
blockquote:after,
|
|
161
|
+
q:before,
|
|
162
|
+
q:after {
|
|
163
|
+
content: "";
|
|
164
|
+
content: none;
|
|
165
|
+
}
|
|
166
|
+
table {
|
|
167
|
+
border-collapse: collapse;
|
|
168
|
+
border-spacing: 0;
|
|
169
|
+
}
|
|
170
|
+
/* My styles */
|
|
171
|
+
*,
|
|
172
|
+
*:before,
|
|
173
|
+
*:after {
|
|
174
|
+
box-sizing: border-box;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
*:focus-visible {
|
|
178
|
+
outline: 2px solid ${({theme:j})=>j.colors.primary600};
|
|
179
|
+
outline-offset: 2px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/* Focusing the button with a mouse, touch, or stylus will show a subtle drop shadow. */
|
|
183
|
+
*:focus:not(:focus-visible) {
|
|
184
|
+
outline: none;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
body,html{
|
|
188
|
+
height: 100%;
|
|
189
|
+
}
|
|
190
|
+
body {
|
|
191
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
button {
|
|
195
|
+
margin: 0;
|
|
196
|
+
padding: 0;
|
|
197
|
+
border: none;
|
|
198
|
+
background: none;
|
|
199
|
+
color: inherit;
|
|
200
|
+
font-size: 100%;
|
|
201
|
+
cursor: pointer;
|
|
202
|
+
font: inherit;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
textarea,input {
|
|
206
|
+
font: inherit;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.lock-body-scroll {
|
|
210
|
+
height: 100vh;
|
|
211
|
+
overflow-y: hidden;
|
|
212
|
+
}
|
|
213
|
+
`,x=({children:j,theme:W})=>(0,i.jsxs)(u.f6,{theme:W,children:[(0,i.jsx)(A,{}),j,(0,i.jsx)(E,{})]})},18998:function(V,I,o){"use strict";o.d(I,{x:function(){return u}});var i=o(78542);const u={sizes:i.J,zIndices:[5,10,15,20],spaces:["0px","4px","8px","12px","16px","20px","24px","32px","40px","48px","56px","64px"],borderRadius:"4px",mediaQueries:{tablet:`@media (max-width: ${1100/16}rem)`,mobile:`@media (max-width: ${550/16}rem)`},fontSizes:[`${11/16}rem`,`${12/16}rem`,`${14/16}rem`,"1rem",`${18/16}rem`,`${32/16}rem`],lineHeights:[1.14,1.22,1.25,1.33,1.43,1.45,1.5],fontWeights:{regular:400,semiBold:500,bold:600}}},65810:function(V,I,o){"use strict";o.d(I,{$:function(){return g}});const i={color:{alternative100:"#181826",alternative200:"#4a4a6a",alternative500:"#ac73e6",alternative600:"#ac73e6",alternative700:"#e0c1f4",buttonNeutral0:"#ffffff",buttonPrimary500:"#7b79ff",buttonPrimary600:"#4945ff",danger100:"#181826",danger200:"#4a4a6a",danger500:"#ee5e52",danger600:"#ee5e52",danger700:"#ee5e52",neutral0:"#212134",neutral100:"#181826",neutral1000:"#ffffff",neutral150:"#32324d",neutral200:"#4a4a6a",neutral300:"#666687",neutral400:"#a5a5ba",neutral500:"#c0c0cf",neutral600:"#a5a5ba",neutral700:"#eaeaef",neutral800:"#ffffff",neutral900:"#ffffff",primary100:"#181826",primary200:"#4a4a6a",primary500:"#4945ff",primary600:"#7b79ff",primary700:"#7b79ff",secondary100:"#181826",secondary200:"#4a4a6a",secondary500:"#66b7f1",secondary600:"#66b7f1",secondary700:"#b8e1ff",success100:"#181826",success200:"#4a4a6a",success500:"#5cb176",success600:"#5cb176",success700:"#c6f0c2",warning100:"#181826",warning200:"#4a4a6a",warning500:"#f29d41",warning600:"#f29d41",warning700:"#fae7b9"}},u={shadow:{filterShadow:"1px 1px 10px rgba(3, 3, 5, 0.35)",focus:"inset 2px 0px 0px rgb(39, 31, 224), inset 0px 2px 0px rgb(39, 31, 224), inset -2px 0px 0px rgb(39, 31, 224), inset 0px -2px 0px rgb(39, 31, 224)",focusShadow:"0px 0px 6px rgba(76, 191, 255, 0.75)",popupShadow:"1px 1px 10px rgba(3, 3, 5, 0.35)",tableShadow:"1px 1px 10px rgba(3, 3, 5, 0.2)"}};var w=o(18998);const g={colors:i.color,shadows:u.shadow,...w.x}},12301:function(V,I,o){"use strict";o.d(I,{W:function(){return g}});const i={color:{alternative100:"#f6ecfc",alternative200:"#e0c1f4",alternative500:"#ac73e6",alternative600:"#9736e8",alternative700:"#8312d1",buttonNeutral0:"#ffffff",buttonPrimary500:"#7b79ff",buttonPrimary600:"#4945ff",danger100:"#fcecea",danger200:"#f5c0b8",danger500:"#ee5e52",danger600:"#d02b20",danger700:"#b72b1a",neutral0:"#ffffff",neutral100:"#f6f6f9",neutral1000:"#181826",neutral150:"#eaeaef",neutral200:"#dcdce4",neutral300:"#c0c0cf",neutral400:"#a5a5ba",neutral500:"#8e8ea9",neutral600:"#666687",neutral700:"#4a4a6a",neutral800:"#32324d",neutral900:"#212134",primary100:"#f0f0ff",primary200:"#d9d8ff",primary500:"#7b79ff",primary600:"#4945ff",primary700:"#271fe0",secondary100:"#eaf5ff",secondary200:"#b8e1ff",secondary500:"#66b7f1",secondary600:"#0c75af",secondary700:"#006096",success100:"#eafbe7",success200:"#c6f0c2",success500:"#5cb176",success600:"#328048",success700:"#2f6846",warning100:"#fdf4dc",warning200:"#fae7b9",warning500:"#f29d41",warning600:"#d9822f",warning700:"#be5d01"}},u={shadow:{filterShadow:"0px 1px 4px rgba(33, 33, 52, 0.1)",focus:"inset 2px 0px 0px rgb(39, 31, 224), inset 0px 2px 0px rgb(39, 31, 224), inset -2px 0px 0px rgb(39, 31, 224), inset 0px -2px 0px rgb(39, 31, 224)",focusShadow:"0px 0px 6px rgba(76, 191, 255, 0.75)",popupShadow:"0px 2px 15px rgba(33, 33, 52, 0.1)",tableShadow:"0px 1px 4px rgba(33, 33, 52, 0.1)"}};var w=o(18998);const g={colors:i.color,shadows:u.shadow,...w.x}},8482:function(V,I,o){"use strict";o.d(I,{Z:function(){return w}});var i=o(74512);const u=g=>(0,i.jsx)("svg",{width:"1rem",height:"1rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...g,children:(0,i.jsx)("path",{d:"M0 10.7c0-.11.09-.2.2-.2h18.06l-8.239-8.239a.2.2 0 0 1 0-.282L11.86.14a.2.2 0 0 1 .282 0L23.86 11.86a.2.2 0 0 1 0 .282L12.14 23.86a.2.2 0 0 1-.282 0L10.02 22.02a.2.2 0 0 1 0-.282L18.26 13.5H.2a.2.2 0 0 1-.2-.2v-2.6Z",fill:"#212134"})}),w=u},45112:function(V,I,o){"use strict";o.d(I,{Z:function(){return w}});var i=o(74512);const u=g=>(0,i.jsx)("svg",{width:"1rem",height:"1rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...g,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.68 9.192c-.6.276-2.114 1.18-2.306 1.303a.792.792 0 0 0-.374.68v1.65a.797.797 0 0 0 .384.687c.254.16 1.73 1.042 2.306 1.303l.744 1.8c-.24.634-.67 2.333-.72 2.554a.797.797 0 0 0 .216.744l1.167 1.166a.801.801 0 0 0 .744.216l.03-.008c.36-.092 1.946-.498 2.523-.712l1.8.744c.276.6 1.181 2.115 1.304 2.307a.805.805 0 0 0 .679.374h1.649a.797.797 0 0 0 .686-.384c.16-.254 1.042-1.73 1.303-2.306l1.8-.744c.634.24 2.333.67 2.554.72a.797.797 0 0 0 .744-.216l1.166-1.167a.803.803 0 0 0 .216-.744l-.008-.03c-.092-.36-.498-1.946-.712-2.523l.744-1.8c.6-.276 2.115-1.181 2.307-1.304a.804.804 0 0 0 .374-.679v-1.649a.796.796 0 0 0-.382-.679c-.254-.16-1.73-1.041-2.306-1.303l-.744-1.8c.24-.634.67-2.333.72-2.554a.796.796 0 0 0-.216-.744l-1.166-1.173a.802.802 0 0 0-.744-.216l-.03.008c-.361.092-1.947.498-2.524.712l-1.8-.744c-.276-.6-1.18-2.115-1.303-2.307a.803.803 0 0 0-.68-.374h-1.65a.797.797 0 0 0-.68.382c-.16.254-1.041 1.73-1.303 2.306l-1.8.744c-.634-.24-2.333-.67-2.554-.72a.797.797 0 0 0-.744.216L2.921 4.094a.802.802 0 0 0-.216.744l.008.03c.092.361.498 1.947.712 2.524l-.744 1.8ZM12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z",fill:"#212134"})}),w=u},2287:function(V,I,o){"use strict";o.d(I,{Z:function(){return w}});var i=o(74512);const u=g=>(0,i.jsx)("svg",{width:"1rem",height:"1rem",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...g,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m13.58.448 3.177 3.176L18.66 1.72a3.267 3.267 0 1 1 4.62 4.62l-1.904 1.904 3.175 3.175a1.528 1.528 0 0 1 0 2.162l-3.175 3.175L20.2 15.58a3.267 3.267 0 1 0-4.62 4.62l1.177 1.177-3.176 3.176a1.528 1.528 0 0 1-2.162 0l-3.175-3.175-1.902 1.902a3.267 3.267 0 1 1-4.62-4.62l1.902-1.902-3.176-3.176a1.528 1.528 0 0 1 0-2.162l3.176-3.176L4.8 9.42a3.267 3.267 0 0 0 4.62-4.62L8.244 3.623 11.419.448a1.528 1.528 0 0 1 2.162 0Z",fill:"#212134"})}),w=u},36919:function(V,I,o){"use strict";o.d(I,{Z:function(){return w}});var i=o(74512);const u=g=>(0,i.jsx)("svg",{width:"1rem",height:"1rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...g,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.12 3.907c-.025 0-.055-.005-.087-.011a.72.72 0 0 0-.13-.016H5.929l-.27-1.805A2.413 2.413 0 0 0 3.26 0H1.078C.485 0 0 .485 0 1.078c0 .593.485 1.078 1.078 1.078H3.26c.135 0 .243.107.27.242L5.2 13.77a2.954 2.954 0 0 0 2.91 2.506h11.21c1.401 0 2.614-.997 2.91-2.371l1.752-8.757a1.065 1.065 0 0 0-.863-1.24Zm-4.932 13.927a2.8 2.8 0 0 0-2.802 2.802 2.8 2.8 0 0 0 2.802 2.802 2.8 2.8 0 0 0 2.803-2.802c-.027-1.536-1.267-2.802-2.803-2.802Zm-9.646 0a2.786 2.786 0 0 1 2.775 2.667c.081 1.536-1.132 2.83-2.667 2.91h-.054a2.762 2.762 0 0 1-2.749-2.667 2.819 2.819 0 0 1 2.695-2.91Z",fill:"#212134"})}),w=u}}]);
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[801],{29761:function(Q,S,n){n.r(S),n.d(S,{default:function(){return Qt}});var e=n(32735),s=n(24989),L=n(20108),v=n(33795),O=n.n(v),P=JSON.parse('{"i8":"4.10.2-alpha.0"}'),C=n(67927),E=n(53038),y=n(15062),G=n(74506),z=n(51968),K=n(88311),ae=n.n(K),Le=n(58107),T=n(8471),Oe=n(60216),r=n.n(Oe),Z=n(67879),m=n(87933),oe=n(71933),V=n(67563),xe=n(50563),M=n(72850),Y=n(41415),se=n(35331);const be=(0,T.ZP)(m.k)`
|
|
2
|
+
position: fixed;
|
|
3
|
+
z-index: 4;
|
|
4
|
+
inset: 0;
|
|
5
|
+
/* this is theme.colors.neutral800 with opacity */
|
|
6
|
+
background: ${({theme:t})=>`${t.colors.neutral800}1F`};
|
|
7
|
+
`,re=({onClose:t,onSkip:a,children:o,hideSkip:c})=>{const{formatMessage:d}=(0,Z.Z)();return e.createElement(oe.h,null,e.createElement(be,{onClick:t,padding:8,justifyContent:"center"},e.createElement(V.i,{onEscape:t},e.createElement(m.k,{direction:"column",alignItems:"stretch",background:"neutral0",width:(0,s.Q1)(660),shadow:"popupShadow",hasRadius:!0,padding:4,gap:8,role:"dialog","aria-modal":!0,onClick:u=>u.stopPropagation()},e.createElement(m.k,{justifyContent:"flex-end"},e.createElement(xe.h,{onClick:t,"aria-label":d({id:"app.utils.close-label",defaultMessage:"Close"}),icon:e.createElement(se.Z,null)})),e.createElement(M.x,{paddingLeft:7,paddingRight:7,paddingBottom:c?8:0},o),!c&&e.createElement(m.k,{justifyContent:"flex-end"},e.createElement(Y.z,{variant:"tertiary",onClick:a},d({id:"app.components.GuidedTour.skip",defaultMessage:"Skip the tour"})))))))};re.propTypes={children:r().node.isRequired,onClose:r().func.isRequired,onSkip:r().func.isRequired,hideSkip:r().bool.isRequired};var De=re,ie=n(97889);const le={stepContent:null,sectionIndex:null,stepIndex:null,hasSectionAfter:!1,hasStepAfter:!1};var ke=(t=le,a)=>(0,ie.ZP)(t,o=>{switch(a.type){case"UPDATE_MODAL":{o.stepContent=a.content,o.sectionIndex=a.newSectionIndex,o.stepIndex=a.newStepIndex,o.hasSectionAfter=a.newHasSectionAfter,o.hasStepAfter=a.newHasStepAfter;break}default:return o}}),f=n(49372),ce=n(8482);const Ze=T.ZP.li`
|
|
8
|
+
list-style: disc;
|
|
9
|
+
&::marker {
|
|
10
|
+
color: ${({theme:t})=>t.colors.neutral800};
|
|
11
|
+
}
|
|
12
|
+
`,de=({id:t,defaultMessage:a})=>{const{formatMessage:o}=(0,Z.Z)();return e.createElement(m.k,{direction:"column",alignItems:"stretch",gap:4,paddingBottom:6},o({id:t,defaultMessage:a},{documentationLink:Be,b:We,p:Ge,light:Ne,ul:Ue,li:Fe}))},Be=t=>e.createElement(f.Z,{as:"a",textColor:"primary600",target:"_blank",rel:"noopener noreferrer",href:"https://docs.strapi.io/developer-docs/latest/developer-resources/database-apis-reference/rest-api.html#api-parameters"},t),We=t=>e.createElement(f.Z,{fontWeight:"semiBold"},t),Ge=t=>e.createElement(f.Z,null,t),Ne=t=>e.createElement(f.Z,{textColor:"neutral600"},t),Ue=t=>e.createElement(M.x,{paddingLeft:6},e.createElement("ul",null,t)),Fe=t=>e.createElement(Ze,null,t);de.propTypes={id:r().string.isRequired,defaultMessage:r().string.isRequired};var je=de,J=n(78024),$e=n(14317);const w=({number:t,last:a,type:o})=>e.createElement(M.x,{paddingTop:3,paddingBottom:a?0:3},e.createElement($e.Z,{number:t,type:o}));w.defaultProps={number:void 0,last:!1,type:""},w.propTypes={number:r().number,last:r().bool,type:r().string};var ue=w,B=n(23678);const X=({title:t,content:a,cta:o,onCtaClick:c,sectionIndex:d,stepIndex:u,hasSectionAfter:h})=>{const{formatMessage:p}=(0,Z.Z)(),g=d>0,i=u>0,I=d+1;return e.createElement(e.Fragment,null,e.createElement(m.k,{alignItems:"stretch"},e.createElement(m.k,{marginRight:8,justifyContent:"center",minWidth:(0,s.Q1)(30)},g&&e.createElement(J.Z,{type:B.hx,minHeight:(0,s.Q1)(24)})),e.createElement(f.Z,{variant:"sigma",textColor:"primary600"},p({id:"app.components.GuidedTour.title",defaultMessage:"3 steps to get started"}))),e.createElement(m.k,null,e.createElement(m.k,{marginRight:8,minWidth:(0,s.Q1)(30)},e.createElement(ue,{number:d+1,type:i?B.hx:B.lW})),e.createElement(f.Z,{variant:"alpha",fontWeight:"bold",textColor:"neutral800",as:"h3",id:"title"},p(t))),e.createElement(m.k,{alignItems:"stretch"},e.createElement(m.k,{marginRight:8,direction:"column",justifyContent:"center",minWidth:(0,s.Q1)(30)},h&&e.createElement(e.Fragment,null,e.createElement(J.Z,{type:B.hx}),i&&e.createElement(ue,{number:I+1,type:B.lW,last:!0}))),e.createElement(M.x,null,e.createElement(je,{...a}),o&&(o.target?e.createElement(s.Qj,{endIcon:e.createElement(ce.Z,null),onClick:c,to:o.target},p(o.title)):e.createElement(Y.z,{endIcon:e.createElement(ce.Z,null),onClick:c},p(o.title))))),i&&h&&e.createElement(M.x,{paddingTop:3},e.createElement(m.k,{marginRight:8,justifyContent:"center",width:(0,s.Q1)(30)},e.createElement(J.Z,{type:B.hx,minHeight:(0,s.Q1)(24)}))))};X.defaultProps={currentStep:null,cta:void 0},X.propTypes={sectionIndex:r().number.isRequired,stepIndex:r().number.isRequired,hasSectionAfter:r().bool.isRequired,content:r().shape({id:r().string.isRequired,defaultMessage:r().string.isRequired}).isRequired,cta:r().shape({target:r().string,title:r().shape({id:r().string.isRequired,defaultMessage:r().string.isRequired})}),currentStep:r().string,onCtaClick:r().func.isRequired,title:r().shape({id:r().string.isRequired,defaultMessage:r().string.isRequired}).isRequired};var Qe=X,ze=()=>{const{currentStep:t,guidedTourState:a,setCurrentStep:o,setStepState:c,isGuidedTourVisible:d,setSkipped:u}=(0,s.c1)(),[h,p]=(0,e.useState)(t),[{stepContent:g,sectionIndex:i,stepIndex:I,hasSectionAfter:x,hasStepAfter:U},F]=(0,e.useReducer)(ke,le),{trackUsage:W}=(0,s.rS)();(0,e.useEffect)(()=>{if(!t){p(!1);return}const[b]=ae()(a,t);p(!b&&d)},[t,a,d]),(0,e.useEffect)(()=>{if(t){const[b]=ae()(Le.Z,t),R=Object.keys(a),[D,l]=t.split("."),k=R.indexOf(D),H=Object.keys(a[D]).indexOf(l),$=k<R.length-1,zt=H<Object.keys(a[D]).length-1;F({type:"UPDATE_MODAL",content:b,newSectionIndex:k,newStepIndex:H,newHasSectionAfter:$,newHasStepAfter:zt})}},[t,a]);const A=()=>{c(t,!0),W(g.trackingEvent),o(null)},j=()=>{u(!0),o(null),W("didSkipGuidedtour")};return h&&g?e.createElement(De,{hideSkip:!U&&!x,onSkip:j,onClose:A},e.createElement(Qe,{...g,onCtaClick:A,currentStep:t,sectionIndex:i,stepIndex:I,hasSectionAfter:x})):null},N=n(14911),pe=n(9026),Ke=n(15300),He=n(61450),Ve=n(1897),q=n(78464),me=n(42889),Ye=n(25390),Je=n(64838),we=n(9371),Xe=n(73165),qe=n(92967);const _e=(0,T.ZP)(M.x)`
|
|
13
|
+
width: ${150/16}rem;
|
|
14
|
+
position: absolute;
|
|
15
|
+
bottom: ${({theme:t})=>t.spaces[9]};
|
|
16
|
+
left: ${({theme:t})=>t.spaces[5]};
|
|
17
|
+
`,ge=(0,T.ZP)(N.OL)`
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
align-items: center;
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
padding: ${({theme:t})=>`${t.spaces[2]} ${t.spaces[4]}`};
|
|
23
|
+
border-radius: ${({theme:t})=>t.spaces[1]};
|
|
24
|
+
|
|
25
|
+
&:hover {
|
|
26
|
+
background: ${({theme:t,logout:a})=>a?t.colors.danger100:t.colors.primary100};
|
|
27
|
+
text-decoration: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
svg {
|
|
31
|
+
path {
|
|
32
|
+
fill: ${({theme:t})=>t.colors.danger600};
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
`,he=({generalSectionLinks:t,pluginsSectionLinks:a})=>{const o=(0,e.useRef)(),[c,d]=(0,e.useState)(!1),{logos:{menu:u}}=(0,C.um)(),[h,p]=(0,s.Yw)("navbar-condensed",!1),{userDisplayName:g}=(0,s.L7)(),{formatMessage:i}=(0,Z.Z)(),{trackUsage:I}=(0,s.rS)(),{pathname:x}=(0,E.TH)(),U=(0,E.k6)(),{post:F}=(0,s.tg)(),W=g.split(" ").map(l=>l.substring(0,1)).join("").substring(0,2),A=()=>d(l=>!l),j=async()=>{await F("/admin/logout"),s.I8.clearAppStorage(),A(),U.push("/auth/login")},b=l=>{!l.currentTarget.contains(l.relatedTarget)&&l.relatedTarget?.parentElement?.id!=="main-nav-user-button"&&d(!1)},R=(l=null)=>{I("willNavigate",{from:x,to:l})},D=i({id:"app.components.LeftMenu.navbrand.title",defaultMessage:"Strapi Dashboard"});return e.createElement(Ke.$,{condensed:h},e.createElement(He.D,{as:N.OL,workplace:i({id:"app.components.LeftMenu.navbrand.workplace",defaultMessage:"Workplace"}),title:D,icon:e.createElement("img",{src:u.custom||u.default,alt:i({id:"app.components.LeftMenu.logo.alt",defaultMessage:"Application logo"})})}),e.createElement(pe.i,null),e.createElement(Ve._,null,e.createElement(q.O,{as:N.OL,to:"/content-manager",icon:e.createElement(Xe.Z,null),onClick:()=>R("/content-manager")},i({id:"global.content-manager",defaultMessage:"Content manager"})),a.length>0?e.createElement(me.y,{label:i({id:"app.components.LeftMenu.plugins",defaultMessage:"Plugins"})},a.map(l=>{const k=l.icon;return e.createElement(q.O,{as:N.OL,to:l.to,key:l.to,icon:e.createElement(k,null),onClick:()=>R(l.to)},i(l.intlLabel))})):null,t.length>0?e.createElement(me.y,{label:i({id:"app.components.LeftMenu.general",defaultMessage:"General"})},t.map(l=>{const k=l.icon;return e.createElement(q.O,{as:N.OL,badgeContent:l.notificationsCount>0&&l.notificationsCount.toString()||void 0,to:l.to,key:l.to,icon:e.createElement(k,null),onClick:()=>R(l.to)},i(l.intlLabel))})):null),e.createElement(Ye.q,null,e.createElement(Je.r,{id:"main-nav-user-button",ref:o,onClick:A,initials:W},g),c&&e.createElement(_e,{onBlur:b,padding:1,shadow:"tableShadow",background:"neutral0",hasRadius:!0},e.createElement(V.i,{onEscape:A},e.createElement(m.k,{direction:"column",alignItems:"stretch",gap:0},e.createElement(ge,{tabIndex:0,onClick:A,to:"/me"},e.createElement(f.Z,null,i({id:"global.profile",defaultMessage:"Profile"}))),e.createElement(ge,{tabIndex:0,onClick:j,logout:"logout",to:"/auth/login"},e.createElement(f.Z,{textColor:"danger600"},i({id:"app.components.LeftMenu.logout",defaultMessage:"Logout"})),e.createElement(qe.Z,null))))),e.createElement(we.w,{onClick:()=>p(l=>!l)},i(h?{id:"app.components.LeftMenu.expand",defaultMessage:"Expand the navbar"}:{id:"app.components.LeftMenu.collapse",defaultMessage:"Collapse the navbar"}))))};he.propTypes={generalSectionLinks:r().array.isRequired,pluginsSectionLinks:r().array.isRequired};var et=he,tt=n(10728);const nt=(0,T.ZP)(M.x)`
|
|
36
|
+
flex: 1;
|
|
37
|
+
`,Ee=({children:t,sideNav:a})=>{const{formatMessage:o}=(0,Z.Z)();return e.createElement(M.x,{background:"neutral100"},e.createElement(tt.z,null,o({id:"skipToContent",defaultMessage:"Skip to content"})),e.createElement(m.k,{alignItems:"flex-start"},a,e.createElement(nt,null,t)))};Ee.propTypes={children:r().node.isRequired,sideNav:r().node.isRequired};var at=Ee,_=n(8997),ot=n(26648),ee=n(99140),st=n(28351),rt=n(3685),it=n(45323),lt=n(29685),ct=n(2438),dt=n.p+"19eb2dfcf2603eb55733.png",ut=n(37272),pt=n(78429);const mt=[{label:{id:"app.components.Onboarding.link.build-content",defaultMessage:"Build a content architecture"},href:"https://www.youtube.com/watch?v=G9GjN0RxhkE",duration:"5:48"},{label:{id:"app.components.Onboarding.link.manage-content",defaultMessage:"Add & manage content"},href:"https://www.youtube.com/watch?v=DEZw4KbybAI",duration:"3:18"},{label:{id:"app.components.Onboarding.link.manage-media",defaultMessage:"Manage media"},href:"https://www.youtube.com/watch?v=-61MuiMQb38",duration:"3:41"}],fe={href:"https://www.youtube.com/playlist?list=PL7Q0DQYATmvidz6lEmwE5nIcOAYagxWqq",label:{id:"app.components.Onboarding.link.more-videos",defaultMessage:"Watch more videos"}},gt=[{label:{id:"global.documentation",defaultMessage:"documentation"},href:"https://docs.strapi.io",icon:ut.Z},{label:{id:"app.static.links.cheatsheet",defaultMessage:"cheatsheet"},href:"https://strapi-showcase.s3-us-west-2.amazonaws.com/CheatSheet.pdf",icon:pt.Z}],ht=(0,T.ZP)(Y.z)`
|
|
38
|
+
border-radius: 50%;
|
|
39
|
+
padding: ${({theme:t})=>t.spaces[3]};
|
|
40
|
+
/* Resetting 2rem height defined by Button component */
|
|
41
|
+
height: 100%;
|
|
42
|
+
`,Et=(0,T.ZP)(m.k)`
|
|
43
|
+
transform: translate(-50%, -50%);
|
|
44
|
+
`,ft=(0,T.ZP)(m.k)`
|
|
45
|
+
text-decoration: none;
|
|
46
|
+
|
|
47
|
+
:focus-visible {
|
|
48
|
+
outline-offset: ${({theme:t})=>`-${t.spaces[1]}`};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:hover {
|
|
52
|
+
background: ${({theme:t})=>t.colors.primary100};
|
|
53
|
+
|
|
54
|
+
/* Hover style for the number displayed */
|
|
55
|
+
${f.Z}:first-child {
|
|
56
|
+
color: ${({theme:t})=>t.colors.primary500};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Hover style for the label */
|
|
60
|
+
${f.Z}:nth-child(1) {
|
|
61
|
+
color: ${({theme:t})=>t.colors.primary600};
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
`,yt=T.ZP.img`
|
|
65
|
+
width: ${({theme:t})=>t.spaces[10]};
|
|
66
|
+
height: ${({theme:t})=>t.spaces[8]};
|
|
67
|
+
/* Same overlay used in ModalLayout */
|
|
68
|
+
background: ${({theme:t})=>`${t.colors.neutral800}1F`};
|
|
69
|
+
border-radius: ${({theme:t})=>t.borderRadius};
|
|
70
|
+
`,ye=(0,T.ZP)(f.Z)`
|
|
71
|
+
/* line height of label and watch more to 1 so they can be better aligned visually */
|
|
72
|
+
line-height: 1;
|
|
73
|
+
`,ve=(0,T.ZP)(ye)`
|
|
74
|
+
text-decoration: none;
|
|
75
|
+
|
|
76
|
+
:hover {
|
|
77
|
+
text-decoration: underline;
|
|
78
|
+
}
|
|
79
|
+
`;var vt=()=>{const t=(0,e.useRef)(),[a,o]=(0,e.useState)(!1),{formatMessage:c}=(0,Z.Z)(),{communityEdition:d}=(0,s.L7)(),u=()=>{o(p=>!p)},h=[...gt,{label:{id:"Settings.application.get-help",defaultMessage:"Get help"},icon:it.Z,href:d?"https://discord.strapi.io":"https://support.strapi.io/support/home"}];return e.createElement(M.x,{as:"aside",position:"fixed",bottom:2,right:2},e.createElement(ht,{"aria-label":c(a?{id:"app.components.Onboarding.help.button-close",defaultMessage:"Close help menu"}:{id:"app.components.Onboarding.help.button",defaultMessage:"Open help menu"}),onClick:u,ref:t},e.createElement(ee.J,{as:a?se.Z:lt.Z,color:"buttonNeutral0"})),a&&e.createElement(oe.h,null,e.createElement(st.M.Content,{padding:0,source:t,placement:"top-end",spacing:12},e.createElement(V.i,{onEscape:u},e.createElement(m.k,{justifyContent:"space-between",paddingBottom:5,paddingRight:6,paddingLeft:6,paddingTop:6},e.createElement(ye,{fontWeight:"bold"},c({id:"app.components.Onboarding.title",defaultMessage:"Get started videos"})),e.createElement(ve,{as:"a",href:fe.href,target:"_blank",rel:"noreferrer noopener",variant:"pi",textColor:"primary600"},c(fe.label))),e.createElement(pe.i,null),mt.map(({href:p,duration:g,label:i},I)=>e.createElement(ft,{as:"a",href:p,target:"_blank",rel:"noreferrer noopener",key:p,hasRadius:!0,paddingTop:4,paddingBottom:4,paddingLeft:6,paddingRight:11},e.createElement(M.x,{paddingRight:5},e.createElement(f.Z,{textColor:"neutral200",variant:"alpha"},I+1)),e.createElement(M.x,{position:"relative"},e.createElement(yt,{src:dt,alt:""}),e.createElement(Et,{position:"absolute",top:"50%",left:"50%",background:"primary600",borderRadius:"50%",justifyContent:"center",width:6,height:6},e.createElement(ee.J,{as:ct.Z,color:"buttonNeutral0",width:3,height:3}))),e.createElement(m.k,{direction:"column",alignItems:"start",paddingLeft:4},e.createElement(f.Z,{fontWeight:"bold"},c(i)),e.createElement(rt.T,null,":"),e.createElement(f.Z,{textColor:"neutral600",variant:"pi"},g)))),e.createElement(m.k,{direction:"column",alignItems:"stretch",gap:2,paddingLeft:5,paddingTop:2,paddingBottom:5},h.map(({label:p,href:g,icon:i})=>e.createElement(m.k,{gap:3,key:g},e.createElement(ee.J,{as:i,color:"primary600"}),e.createElement(ve,{as:"a",href:g,target:"_blank",rel:"noreferrer noopener",variant:"sigma",textColor:"primary700"},c(p)))))))))};const Ct=(0,e.lazy)(()=>Promise.all([n.e(462),n.e(1657),n.e(994)]).then(n.bind(n,28200))),Tt=(0,e.lazy)(()=>n.e(3981).then(n.bind(n,55129))),Mt=(0,e.lazy)(()=>n.e(3677).then(n.bind(n,15415))),St=(0,e.lazy)(()=>n.e(5516).then(n.bind(n,84538))),Ce=(0,e.lazy)(()=>Promise.resolve().then(n.bind(n,53951))),Pt=(0,e.lazy)(()=>n.e(9501).then(n.bind(n,92336))),It=(0,e.lazy)(()=>n.e(9497).then(n.bind(n,9972))),Te=(0,e.lazy)(()=>n.e(5895).then(n.bind(n,74750))),Rt=()=>{const{trackUsage:t}=(0,s.rS)(),a=(0,y.I0)(),o=(0,y.v9)(c=>c.admin_app.status);(0,e.useEffect)(()=>{o==="init"&&(t("didAccessAuthenticatedAdministration"),a({type:ot.e}))},[o])};var At=()=>{Rt();const{isLoading:t,generalSectionLinks:a,pluginsSectionLinks:o}=(0,C.H9)(),{menu:c}=(0,s.j1)(),{showTutorials:d}=(0,C.um)(),u=(0,e.useMemo)(()=>c.filter(h=>h.Component).map(({to:h,Component:p,exact:g})=>(0,_.ot)(p,h,g)),[c]);return t?e.createElement(s.dO,null):e.createElement(G.DndProvider,{backend:z.PD},e.createElement(at,{sideNav:e.createElement(et,{generalSectionLinks:a,pluginsSectionLinks:o})},e.createElement(e.Suspense,{fallback:e.createElement(s.dO,null)},e.createElement(E.rs,null,e.createElement(E.AW,{path:"/",component:Tt,exact:!0}),e.createElement(E.AW,{path:"/me",component:It,exact:!0}),e.createElement(E.AW,{path:"/content-manager",component:Ct}),u,e.createElement(E.AW,{path:"/settings/:settingId",component:Te}),e.createElement(E.AW,{path:"/settings",component:Te,exact:!0}),e.createElement(E.AW,{path:"/marketplace"},e.createElement(St,null)),e.createElement(E.AW,{path:"/list-plugins",exact:!0},e.createElement(Mt,null)),e.createElement(E.AW,{path:"/404",component:Ce}),e.createElement(E.AW,{path:"/500",component:Pt}),e.createElement(E.AW,{path:"",component:Ce}))),e.createElement(ze,null),d&&e.createElement(vt,null)))},Lt=t=>({plugins:Object.keys(t).reduce((a,o)=>(a[o]={...t[o]},a),{})}),Ot=n(3040),xt=n.n(Ot);const Me={plugins:null};var bt=(t=Me,a)=>(0,ie.ZP)(t,o=>{switch(a.type){case"SET_PLUGIN_READY":{xt()(o,["plugins",a.pluginId,"isReady"],!0);break}default:return o}}),Dt=()=>{const{plugins:t}=(0,s.j1)(),[{plugins:a},o]=(0,e.useReducer)(bt,Me,()=>Lt(t)),c=(0,e.useRef)(u=>{o({type:"SET_PLUGIN_READY",pluginId:u})});if(Object.keys(a).some(u=>a[u].isReady===!1)){const u=Object.keys(a).reduce((h,p)=>{const g=a[p].initializer;if(g){const i=a[p].pluginId;h.push(e.createElement(g,{key:i,setPlugin:c.current}))}return h},[]);return e.createElement(e.Fragment,null,u,e.createElement(s.dO,null))}return e.createElement(At,null)},Se=n(17367);const kt=()=>({type:Se.l}),Zt=t=>({type:Se.m,permissions:t}),Pe=({children:t,permissions:a,refetchPermissions:o})=>{const{allPermissions:c}=(0,y.v9)(u=>u.rbacProvider),d=(0,y.I0)();return(0,e.useEffect)(()=>(d(Zt(a)),()=>{d(kt())}),[a,d]),c?e.createElement(s.oL.Provider,{value:{allPermissions:c,refetchPermissions:o}},t):e.createElement(s.dO,null)};Pe.propTypes={children:r().element.isRequired,permissions:r().array.isRequired,refetchPermissions:r().func.isRequired};var Bt=Pe,Wt=n(84306),Gt=n(54770),te=n.n(Gt),Ie=(t,a)=>!te().valid(t)||!te().valid(a)?!1:te().lt(t,a);const Re=P.i8,Nt=!JSON.parse(localStorage.getItem("STRAPI_UPDATE_NOTIF")),{get:ne}=(0,s.tg)(),Ut=async t=>{try{const{data:{tag_name:a}}=await Wt.Z.get("https://api.github.com/repos/strapi/strapi/releases/latest");return Ie(Re,a)&&Nt&&t({type:"info",message:{id:"notification.version.update.message"},link:{url:`https://github.com/strapi/strapi/releases/tag/${a}`,label:{id:"global.see-more"}},blockTransition:!0,onClose:()=>localStorage.setItem("STRAPI_UPDATE_NOTIF",!0)}),a}catch{return Re}},Ft=async()=>{try{const{data:t,headers:a}=await ne("/admin/information");if(!a["content-type"].includes("application/json"))throw new Error("Not found");return t.data}catch(t){throw new Error(t)}},jt=async()=>{try{const{data:t,headers:a}=await ne("/admin/users/me/permissions");if(!a["content-type"].includes("application/json"))throw new Error("Not found");return t.data}catch(t){throw new Error(t)}},$t=async()=>{try{const{data:{data:{roles:t}}}=await ne("/admin/users/me");return t}catch(t){throw new Error(t)}},Ae=P.i8;var Qt=()=>{const{setGuidedTourVisibility:t}=(0,s.c1)(),a=(0,s.lm)(),o=s.I8.getUserInfo(),c=O()(o,"username")||(0,_.Pp)(o.firstname,o.lastname),[d,u]=(0,e.useState)(c),[h,p]=(0,e.useState)(null),{showReleaseNotification:g}=(0,C.um)(),[{data:i,status:I},{data:x,isLoading:U},{data:F,status:W,refetch:A,isFetched:j,isFetching:b},{data:R}]=(0,L.useQueries)([{queryKey:"app-infos",queryFn:Ft},{queryKey:"strapi-release",queryFn:()=>Ut(a),enabled:g,initialData:Ae},{queryKey:"admin-users-permission",queryFn:jt,initialData:[]},{queryKey:"user-roles",queryFn:$t}]),D=Ie(Ae,x);return(0,e.useEffect)(()=>{R&&R.find(({code:$})=>$==="strapi-super-admin")&&i?.autoReload&&t(!0)},[R,i,t]),(0,e.useEffect)(()=>{(async()=>{const $=await(0,_.Qy)(o);p($)})()},[o]),U||(b&&j||I==="loading"||W==="loading")?e.createElement(s.dO,null):I==="error"?e.createElement("div",null,"error..."):e.createElement(s.iq,{...i,userId:h,latestStrapiReleaseTag:x,setUserDisplayName:u,shouldUpdateStrapi:D,userDisplayName:d},e.createElement(Bt,{permissions:F,refetchPermissions:A},e.createElement(Dt,null)))}},78024:function(Q,S,n){var e=n(32735),s=n(60216),L=n.n(s),v=n(24989),O=n(72850),P=n(23678);const C=({type:E,...y})=>e.createElement(O.x,{width:(0,v.Q1)(2),height:"100%",background:E===P.VM?"neutral300":"primary500",hasRadius:!0,...y});C.defaultProps={type:P.VM},C.propTypes={type:L().oneOf([P.lW,P.hx,P.VM])},S.Z=C},14317:function(Q,S,n){var e=n(32735),s=n(60216),L=n.n(s),v=n(24989),O=n(87933),P=n(99140),C=n(49372),E=n(66456),y=n(23678);const G=({type:z,number:K})=>z===y.hx?e.createElement(O.k,{background:"primary600",padding:2,borderRadius:"50%",width:(0,v.Q1)(30),height:(0,v.Q1)(30),justifyContent:"center"},e.createElement(P.J,{as:E.Z,"aria-hidden":!0,width:(0,v.Q1)(16),color:"neutral0"})):z===y.lW?e.createElement(O.k,{background:"primary600",padding:2,borderRadius:"50%",width:(0,v.Q1)(30),height:(0,v.Q1)(30),justifyContent:"center"},e.createElement(C.Z,{fontWeight:"semiBold",textColor:"neutral0"},K)):e.createElement(O.k,{borderColor:"neutral500",borderWidth:"1px",borderStyle:"solid",padding:2,borderRadius:"50%",width:(0,v.Q1)(30),height:(0,v.Q1)(30),justifyContent:"center"},e.createElement(C.Z,{fontWeight:"semiBold",textColor:"neutral600"},K));G.defaultProps={number:void 0,type:y.VM},G.propTypes={number:L().number,type:L().oneOf([y.lW,y.hx,y.VM])},S.Z=G},23678:function(Q,S,n){n.d(S,{VM:function(){return L},hx:function(){return s},lW:function(){return e}});const e="isActive",s="isDone",L="isNotDone"},58107:function(Q,S){const n={contentTypeBuilder:{home:{title:{id:"app.components.GuidedTour.home.CTB.title",defaultMessage:"\u{1F9E0} Build the content structure"},cta:{title:{id:"app.components.GuidedTour.home.CTB.cta.title",defaultMessage:"Go to the Content type Builder"},type:"REDIRECT",target:"/plugins/content-type-builder"},trackingEvent:"didClickGuidedTourHomepageContentTypeBuilder"},create:{title:{id:"app.components.GuidedTour.CTB.create.title",defaultMessage:"\u{1F9E0} Create a first Collection type"},content:{id:"app.components.GuidedTour.CTB.create.content",defaultMessage:"<p>Collection types help you manage several entries, Single types are suitable to manage only one entry.</p> <p>Ex: For a Blog website, Articles would be a Collection type whereas a Homepage would be a Single type.</p>"},cta:{title:{id:"app.components.GuidedTour.CTB.create.cta.title",defaultMessage:"Build a Collection type"},type:"CLOSE"},trackingEvent:"didClickGuidedTourStep1CollectionType"},success:{title:{id:"app.components.GuidedTour.CTB.success.title",defaultMessage:"Step 1: Completed \u2705"},content:{id:"app.components.GuidedTour.CTB.success.content",defaultMessage:"<p>Good going!</p><b>\u26A1\uFE0F What would you like to share with the world?</b>"},cta:{title:{id:"app.components.GuidedTour.create-content",defaultMessage:"Create content"},type:"REDIRECT",target:"/content-manager"},trackingEvent:"didCreateGuidedTourCollectionType"}},contentManager:{home:{title:{id:"app.components.GuidedTour.home.CM.title",defaultMessage:"\u26A1\uFE0F What would you like to share with the world?"},cta:{title:{id:"app.components.GuidedTour.create-content",defaultMessage:"Create content"},type:"REDIRECT",target:"/content-manager"},trackingEvent:"didClickGuidedTourHomepageContentManager"},create:{title:{id:"app.components.GuidedTour.CM.create.title",defaultMessage:"\u26A1\uFE0F Create content"},content:{id:"app.components.GuidedTour.CM.create.content",defaultMessage:"<p>Create and manage all the content here in the Content Manager.</p><p>Ex: Taking the Blog website example further, one can write an Article, save and publish it as they like.</p><p>\u{1F4A1} Quick tip - Don't forget to hit publish on the content you create.</p>"},cta:{title:{id:"app.components.GuidedTour.create-content",defaultMessage:"Create content"},type:"CLOSE"},trackingEvent:"didClickGuidedTourStep2ContentManager"},success:{title:{id:"app.components.GuidedTour.CM.success.title",defaultMessage:"Step 2: Completed \u2705"},content:{id:"app.components.GuidedTour.CM.success.content",defaultMessage:"<p>Awesome, one last step to go!</p><b>\u{1F680} See content in action</b>"},cta:{title:{id:"app.components.GuidedTour.CM.success.cta.title",defaultMessage:"Test the API"},type:"REDIRECT",target:"/settings/api-tokens"},trackingEvent:"didCreateGuidedTourEntry"}},apiTokens:{home:{title:{id:"app.components.GuidedTour.apiTokens.create.title",defaultMessage:"\u{1F680} See content in action"},cta:{title:{id:"app.components.GuidedTour.home.apiTokens.cta.title",defaultMessage:"Test the API"},type:"REDIRECT",target:"/settings/api-tokens"},trackingEvent:"didClickGuidedTourHomepageApiTokens"},create:{title:{id:"app.components.GuidedTour.apiTokens.create.title",defaultMessage:"\u{1F680} See content in action"},content:{id:"app.components.GuidedTour.apiTokens.create.content",defaultMessage:"<p>Generate an authentication token here and retrieve the content you just created.</p>"},cta:{title:{id:"app.components.GuidedTour.apiTokens.create.cta.title",defaultMessage:"Generate an API Token"},type:"CLOSE"},trackingEvent:"didClickGuidedTourStep3ApiTokens"},success:{title:{id:"app.components.GuidedTour.apiTokens.success.title",defaultMessage:"Step 3: Completed \u2705"},content:{id:"app.components.GuidedTour.apiTokens.success.content",defaultMessage:"<p>See content in action by making an HTTP request:</p><ul><li><p>To this URL: <light>https://'<'YOUR_DOMAIN'>'/api/'<'YOUR_CT'>'</light></p></li><li><p>With the header: <light>Authorization: bearer '<'YOUR_API_TOKEN'>'</light></p></li></ul><p>For more ways to interact with content, see the <documentationLink>documentation</documentationLink>.</p>"},trackingEvent:"didGenerateGuidedTourApiTokens"}}};S.Z=n}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[9501],{92336:function(P,n,t){t.r(n);var e=t(32735),s=t(
|
|
1
|
+
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[9501],{92336:function(P,n,t){t.r(n);var e=t(32735),s=t(24989),_=t(27649),E=t(82055),o=t(17e3),r=t(9695),l=t(8482),d=t(25386),i=t(67879);const M=()=>{const{formatMessage:a}=(0,i.Z)();return(0,s.go)(),e.createElement(_.o,{labelledBy:"title"},e.createElement(E.T,{id:"title",title:a({id:"content-manager.pageNotFound",defaultMessage:"Page not found"})}),e.createElement(o.D,null,e.createElement(r.x,{action:e.createElement(s.Qj,{variant:"secondary",endIcon:e.createElement(l.Z,null),to:"/"},a({id:"app.components.NotFoundPage.back",defaultMessage:"Back to homepage"})),content:a({id:"notification.error",defaultMessage:"An error occured"}),hasRadius:!0,icon:e.createElement(d.Z,{width:"10rem"}),shadow:"tableShadow"})))};n.default=M}}]);
|