@strapi/admin 4.11.0-alpha.0 → 4.11.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/src/components/AuthenticatedApp/utils/api.js +5 -4
- package/admin/src/components/Providers/index.js +32 -32
- package/admin/src/components/Theme/index.js +5 -3
- package/admin/src/content-manager/components/CollectionTypeFormWrapper/index.js +1 -2
- package/admin/src/content-manager/components/DynamicZone/index.js +1 -1
- package/admin/src/content-manager/components/FieldComponent/index.js +1 -1
- package/admin/src/content-manager/components/Inputs/index.js +19 -12
- package/admin/src/content-manager/components/Inputs/utils/index.js +0 -1
- package/admin/src/content-manager/components/Wysiwyg/WysiwygNav.js +67 -71
- package/admin/src/content-manager/hooks/useFetchContentTypeLayout/index.js +3 -5
- package/admin/src/content-manager/pages/App/useContentManagerInitData.js +2 -3
- package/admin/src/content-manager/pages/ComponentSetttingsView/index.js +2 -5
- package/admin/src/content-manager/pages/EditView/DeleteLink/index.js +1 -1
- package/admin/src/content-manager/pages/EditView/Header/index.js +1 -1
- package/admin/src/content-manager/pages/EditViewLayoutManager/Permissions.js +1 -1
- package/admin/src/content-manager/pages/ListView/index.js +1 -2
- package/admin/src/hooks/index.js +1 -1
- package/admin/src/hooks/marketplace/constants.js +1 -0
- package/admin/src/hooks/{useFetchMarketplacePlugins → marketplace/useFetchMarketplacePlugins}/index.js +21 -1
- package/admin/src/hooks/{useFetchMarketplaceProviders → marketplace/useFetchMarketplaceProviders}/index.js +21 -1
- package/admin/src/hooks/useAdminUsers/__mocks__/index.js +5 -0
- package/admin/src/hooks/useAdminUsers/index.js +1 -0
- package/admin/src/hooks/useAdminUsers/useAdminUsers.js +38 -0
- package/admin/src/hooks/useContentTypes/__mocks__/index.js +6 -0
- package/admin/src/hooks/useContentTypes/index.js +1 -0
- package/admin/src/hooks/useContentTypes/useContentTypes.js +47 -0
- package/admin/src/hooks/useReleaseNotification/utils/api.js +6 -5
- package/admin/src/pages/Admin/Onboarding/index.js +89 -91
- package/admin/src/pages/App/index.js +1 -5
- package/admin/src/pages/AuthPage/components/Register/index.js +3 -4
- package/admin/src/pages/AuthPage/index.js +11 -26
- package/admin/src/pages/HomePage/index.js +3 -2
- package/admin/src/pages/MarketplacePage/components/NpmPackageCard/InstallPluginButton.js +12 -8
- package/admin/src/pages/MarketplacePage/components/NpmPackagesFilters/FiltersPopover.js +39 -41
- package/admin/src/pages/MarketplacePage/utils/useMarketplaceData.js +2 -2
- package/admin/src/pages/SettingsPage/components/Tokens/TokenBox/index.js +28 -26
- package/admin/src/pages/SettingsPage/components/Tokens/TokenDescription/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/utils/urlToFile.js +3 -2
- package/admin/src/pages/SettingsPage/pages/Roles/CreatePage/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Roles/EditPage/components/RoleForm/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Users/EditPage/index.js +36 -26
- package/admin/src/pages/SettingsPage/pages/Users/EditPage/utils/api.js +1 -8
- package/admin/src/pages/SettingsPage/pages/Users/ListPage/ModalForm/index.js +6 -7
- package/admin/src/pages/SettingsPage/pages/Users/ListPage/index.js +54 -63
- package/admin/src/pages/SettingsPage/pages/Users/components/MagicLink/MagicLinkWrapper.js +11 -9
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/EventInput/index.js +12 -1
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/index.js +2 -2
- package/admin/src/pages/SettingsPage/pages/Webhooks/ListView/index.js +120 -205
- package/admin/src/pages/UseCasePage/index.js +13 -15
- package/admin/src/translations/ar.json +684 -1
- package/admin/src/translations/en.json +12 -9
- package/build/1387.a86ac314.chunk.js +1 -0
- package/build/{1657.45231968.chunk.js → 1657.ca8562dd.chunk.js} +17 -17
- package/build/3081.c2cdfac8.chunk.js +108 -0
- package/build/{3562.57745ccd.chunk.js → 3562.e0b1a0b3.chunk.js} +6 -6
- package/build/456.9b85d4c6.chunk.js +39 -0
- package/build/462.a073ff1f.chunk.js +71 -0
- package/build/{4628.20631dd1.chunk.js → 4628.9cbb6df5.chunk.js} +1 -1
- package/build/5542.002522eb.chunk.js +71 -0
- package/build/5563.79950369.chunk.js +79 -0
- package/build/617.87b2fe96.chunk.js +155 -0
- package/build/6970.7ea35fbd.chunk.js +1 -0
- package/build/7259.5cc67413.chunk.js +1 -0
- package/build/Admin-authenticatedApp.990df65d.chunk.js +79 -0
- package/build/Admin_homePage.107a9fe0.chunk.js +73 -0
- package/build/Admin_marketplace.1436fc2b.chunk.js +55 -0
- package/build/Admin_pluginsPage.e1afd5ed.chunk.js +6 -0
- package/build/{Admin_profilePage.1b337b73.chunk.js → Admin_profilePage.75bc083a.chunk.js} +1 -1
- package/build/Admin_settingsPage.bd715ed3.chunk.js +79 -0
- package/build/{Upload_ConfigureTheView.d429a7fc.chunk.js → Upload_ConfigureTheView.aa64ed9a.chunk.js} +1 -1
- package/build/admin-app.8b102fe2.chunk.js +63 -0
- package/build/{admin-edit-roles-page.d0c9497b.chunk.js → admin-edit-roles-page.0d12b741.chunk.js} +43 -41
- package/build/admin-edit-users.f9ce7844.chunk.js +10 -0
- package/build/admin-roles-list.e8bf9685.chunk.js +31 -0
- package/build/admin-users.751b28b2.chunk.js +34 -0
- package/build/ar-json.f530bc3f.chunk.js +1 -0
- package/build/audit-logs-settings-page.3c6cea81.chunk.js +129 -0
- package/build/content-manager.89099707.chunk.js +1123 -0
- package/build/content-type-builder-list-view.1e821eb9.chunk.js +215 -0
- package/build/content-type-builder-translation-en-json.af293c9e.chunk.js +1 -0
- package/build/content-type-builder.b10576e7.chunk.js +126 -0
- package/build/email-settings-page.4368689f.chunk.js +11 -0
- package/build/en-json.0f5cc115.chunk.js +1 -0
- package/build/i18n-settings-page.7988d872.chunk.js +114 -0
- package/build/index.html +1 -1
- package/build/main.5a232c3d.js +2630 -0
- package/build/review-workflows-settings.4b39b837.chunk.js +61 -0
- package/build/{runtime~main.1074f2bb.js → runtime~main.55d43bd7.js} +2 -2
- package/build/{sso-settings-page.f44d95d8.chunk.js → sso-settings-page.265e3d72.chunk.js} +1 -1
- package/build/upload-settings.63d99bf5.chunk.js +14 -0
- package/build/upload.c50d8c7a.chunk.js +34 -0
- package/build/users-advanced-settings-page.2cfb5d24.chunk.js +9 -0
- package/build/users-email-settings-page.bd6c774a.chunk.js +24 -0
- package/build/users-providers-settings-page.528f0036.chunk.js +29 -0
- package/build/{users-roles-settings-page.eeb3a339.chunk.js → users-roles-settings-page.c773086b.chunk.js} +2 -2
- package/build/webhook-edit-page.ddd5963d.chunk.js +128 -0
- package/build/webhook-list-page.b0f5a02c.chunk.js +71 -0
- package/ee/LICENSE +1 -21
- package/ee/admin/content-manager/pages/EditView/InformationBox/InformationBoxEE.js +1 -2
- package/ee/admin/pages/AuthPage/components/Login/index.js +1 -1
- package/ee/admin/pages/AuthPage/components/Providers/SSOProviders.js +1 -1
- package/ee/admin/pages/AuthPage/components/Providers/index.js +1 -1
- package/ee/admin/pages/SettingsPage/pages/AuditLogs/ListView/hooks/useAuditLogsData.js +36 -28
- package/ee/admin/pages/SettingsPage/pages/AuditLogs/ListView/utils/getDisplayedFilters.js +1 -1
- package/ee/admin/pages/SettingsPage/pages/ReviewWorkflows/ReviewWorkflows.js +3 -3
- package/ee/admin/pages/SettingsPage/pages/ReviewWorkflows/hooks/useReviewWorkflows.js +32 -21
- package/ee/admin/pages/SettingsPage/pages/Users/ListPage/ModalForm/utils/formDataModel.js +1 -1
- package/ee/admin/pages/SettingsPage/pages/Users/ListPage/ModalForm/utils/roleSettingsForm.js +1 -1
- package/ee/server/services/audit-logs.js +5 -1
- package/package.json +18 -21
- package/webpack.alias.js +0 -2
- package/admin/src/content-manager/components/Inputs/utils/getStep.js +0 -13
- package/admin/src/hooks/useFetchMarketplacePlugins/utils/api.js +0 -18
- package/admin/src/hooks/useFetchMarketplaceProviders/utils/api.js +0 -18
- package/admin/src/hooks/useModels/index.js +0 -58
- package/admin/src/hooks/useModels/reducer.js +0 -45
- package/admin/src/pages/SettingsPage/pages/Users/ListPage/utils/api.js +0 -20
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/EventInput/utils/formatValue.js +0 -13
- package/admin/src/pages/SettingsPage/pages/Webhooks/ListView/reducer.js +0 -72
- package/build/1387.84b454d3.chunk.js +0 -1
- package/build/3081.bcf9a12f.chunk.js +0 -108
- package/build/462.8fff7f3b.chunk.js +0 -71
- package/build/5542.b8240e3f.chunk.js +0 -70
- package/build/5563.986609ed.chunk.js +0 -79
- package/build/6404.68405699.chunk.js +0 -100
- package/build/6970.5159b068.chunk.js +0 -1
- package/build/7259.7a48aa2f.chunk.js +0 -1
- package/build/7725.1633e06f.chunk.js +0 -213
- package/build/Admin-authenticatedApp.27a2329f.chunk.js +0 -79
- package/build/Admin_homePage.9f7c0bb1.chunk.js +0 -73
- package/build/Admin_marketplace.5f7b89e5.chunk.js +0 -55
- package/build/Admin_pluginsPage.9e6fa51c.chunk.js +0 -6
- package/build/Admin_settingsPage.9d0419bc.chunk.js +0 -79
- package/build/admin-app.8e1f56bc.chunk.js +0 -63
- package/build/admin-edit-users.2aae89f5.chunk.js +0 -10
- package/build/admin-roles-list.c759daa3.chunk.js +0 -31
- package/build/admin-users.04a823ca.chunk.js +0 -34
- package/build/ar-json.39e54aba.chunk.js +0 -1
- package/build/audit-logs-settings-page.45cb4fb5.chunk.js +0 -76
- package/build/content-manager.cf467ecc.chunk.js +0 -1123
- package/build/content-type-builder-list-view.5ff685ec.chunk.js +0 -214
- package/build/content-type-builder-translation-en-json.5e5f8607.chunk.js +0 -1
- package/build/content-type-builder.4737a30c.chunk.js +0 -126
- package/build/email-settings-page.dc07d518.chunk.js +0 -10
- package/build/en-json.7edb00f6.chunk.js +0 -1
- package/build/i18n-settings-page.8219dd99.chunk.js +0 -60
- package/build/main.14dca275.js +0 -2592
- package/build/review-workflows-settings.6a662ebd.chunk.js +0 -61
- package/build/upload-settings.dd2d987c.chunk.js +0 -13
- package/build/upload.c8479232.chunk.js +0 -33
- package/build/users-advanced-settings-page.c36cfd59.chunk.js +0 -8
- package/build/users-email-settings-page.2716ce8e.chunk.js +0 -23
- package/build/users-providers-settings-page.0d6304a5.chunk.js +0 -28
- package/build/webhook-edit-page.f4db86f3.chunk.js +0 -75
- package/build/webhook-list-page.30d73114.chunk.js +0 -71
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[7725],{26322:function(V,I,o){"use strict";o.d(I,{ZP:function(){return Jt}});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(d){return n.call(window,function(){return d()},{timeout:t})}):w(Math.min(e,t))}function T(e){return e&&typeof e.then=="function"}function D(e,t){try{var n=e();T(n)?n.then(function(d){return t(!0,d)},function(d){return t(!1,d)}):t(!0,n)}catch(d){t(!1,d)}}function x(e,t,n){return n===void 0&&(n=16),(0,i.mG)(this,void 0,void 0,function(){var d,h,m;return(0,i.Jh)(this,function(f){switch(f.label){case 0:d=Date.now(),h=0,f.label=1;case 1:return h<e.length?(t(e[h],h),m=Date.now(),m>=d+n?(d=m,[4,w(0)]):[3,3]):[3,4];case 2:f.sent(),f.label=3;case 3:return++h,[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 R(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 H(e,t){e=e||"",t=t||0;var n=e.length%16,d=e.length-n,h=[0,t],m=[0,t],f=[0,0],y=[0,0],A=[2277735313,289559509],Y=[1291169091,658871167],E;for(E=0;E<d;E=E+16)f=[e.charCodeAt(E+4)&255|(e.charCodeAt(E+5)&255)<<8|(e.charCodeAt(E+6)&255)<<16|(e.charCodeAt(E+7)&255)<<24,e.charCodeAt(E)&255|(e.charCodeAt(E+1)&255)<<8|(e.charCodeAt(E+2)&255)<<16|(e.charCodeAt(E+3)&255)<<24],y=[e.charCodeAt(E+12)&255|(e.charCodeAt(E+13)&255)<<8|(e.charCodeAt(E+14)&255)<<16|(e.charCodeAt(E+15)&255)<<24,e.charCodeAt(E+8)&255|(e.charCodeAt(E+9)&255)<<8|(e.charCodeAt(E+10)&255)<<16|(e.charCodeAt(E+11)&255)<<24],f=k(f,A),f=B(f,31),f=k(f,Y),h=O(h,f),h=B(h,27),h=W(h,m),h=W(k(h,[0,5]),[0,1390208809]),y=k(y,Y),y=B(y,33),y=k(y,A),m=O(m,y),m=B(m,31),m=W(m,h),m=W(k(m,[0,5]),[0,944331445]);switch(f=[0,0],y=[0,0],n){case 15:y=O(y,R([0,e.charCodeAt(E+14)],48));case 14:y=O(y,R([0,e.charCodeAt(E+13)],40));case 13:y=O(y,R([0,e.charCodeAt(E+12)],32));case 12:y=O(y,R([0,e.charCodeAt(E+11)],24));case 11:y=O(y,R([0,e.charCodeAt(E+10)],16));case 10:y=O(y,R([0,e.charCodeAt(E+9)],8));case 9:y=O(y,[0,e.charCodeAt(E+8)]),y=k(y,Y),y=B(y,33),y=k(y,A),m=O(m,y);case 8:f=O(f,R([0,e.charCodeAt(E+7)],56));case 7:f=O(f,R([0,e.charCodeAt(E+6)],48));case 6:f=O(f,R([0,e.charCodeAt(E+5)],40));case 5:f=O(f,R([0,e.charCodeAt(E+4)],32));case 4:f=O(f,R([0,e.charCodeAt(E+3)],24));case 3:f=O(f,R([0,e.charCodeAt(E+2)],16));case 2:f=O(f,R([0,e.charCodeAt(E+1)],8));case 1:f=O(f,[0,e.charCodeAt(E)]),f=k(f,A),f=B(f,31),f=k(f,Y),h=O(h,f)}return h=O(h,[0,e.length]),m=O(m,[0,e.length]),h=W(h,m),m=W(m,h),h=X(h),m=X(m),h=W(h,m),m=W(m,h),("00000000"+(h[0]>>>0).toString(16)).slice(-8)+("00000000"+(h[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,d=e.length;n<d;++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 F(e){return e.reduce(function(t,n){return t+(n?1:0)},0)}function M(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,d="Unexpected syntax '"+e+"'",h=/^\s*([a-z-]*)(.*)$/i.exec(e),m=h[1]||void 0,f={},y=/([.:#][\w-]+|\[.+?\])/gi,A=function(z,te){f[z]=f[z]||[],f[z].push(te)};;){var Y=y.exec(h[2]);if(!Y)break;var E=Y[0];switch(E[0]){case".":A("class",E.slice(1));break;case"#":A("id",E.slice(1));break;case"[":{var Q=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(E);if(Q)A(Q[1],(n=(t=Q[4])!==null&&t!==void 0?t:Q[5])!==null&&n!==void 0?n:"");else throw new Error(d);break}default:throw new Error(d)}}return[m,f]}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(d){var h=Date.now();D(e.bind(null,t),function(){for(var m=[],f=0;f<arguments.length;f++)m[f]=arguments[f];var y=Date.now()-h;if(!m[0])return d(function(){return{error:ae(m[1]),duration:y}});var A=m[1];if(re(A))return d(function(){return{value:A,duration:y}});d(function(){return new Promise(function(Y){var E=Date.now();D(A,function(){for(var Q=[],z=0;z<arguments.length;z++)Q[z]=arguments[z];var te=y+Date.now()-E;if(!Q[0])return Y({error:ae(Q[1]),duration:te});Y({value:Q[1],duration:te})})})})})});return j(n),function(){return n.then(function(h){return h()})}}function oe(e,t,n){var d=Object.keys(e).filter(function(m){return c(n,m)}),h=Array(d.length);return x(d,function(m,f){h[f]=ie(e[m],t)}),function(){return(0,i.mG)(this,void 0,void 0,function(){var f,y,A,Y,E,Q,z;return(0,i.Jh)(this,function(te){switch(te.label){case 0:for(f={},y=0,A=d;y<A.length;y++)Y=A[y],f[Y]=void 0;E=Array(d.length),Q=function(){var q;return(0,i.Jh)(this,function(ne){switch(ne.label){case 0:return q=!0,[4,x(d,function(ee,$){if(!E[$])if(h[$]){var ve=h[$]().then(function(Me){return f[ee]=Me});j(ve),E[$]=ve}else q=!1})];case 1:return ne.sent(),q?[2,"break"]:[4,w(1)];case 2:return ne.sent(),[2]}})},te.label=1;case 1:return[5,Q()];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(E)];case 5:return te.sent(),[2,f]}})})}}function ye(e,t){var n=function(d){return re(d)?t(d):function(){var h=d();return T(h)?h.then(t):t(h)}};return function(d){var h=e(d);return T(h)?h.then(n):n(h)}}function pe(){var e=window,t=navigator;return F(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function de(){var e=window,t=navigator;return F(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!pe()}function se(){var e=window,t=navigator;return F(["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 F(["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 F(["safari"in e,!("DeviceMotionEvent"in e),!("ongestureend"in e),!("standalone"in navigator)])>=3}function Ee(){var e,t,n=window;return F(["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 F([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}function ke(){var e=window;return F(["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 F(["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 Te(){var e=se(),t=Ee();if(!e&&!t)return!1;var n=window;return F(["onorientationchange"in n,"orientation"in n,e&&!("SharedWorker"in n),t&&/android/i.test(navigator.appVersion)])>=2}function Le(){var e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(Ae())return-1;var n=4500,d=5e3,h=new t(1,d,44100),m=h.createOscillator();m.type="triangle",m.frequency.value=1e4;var f=h.createDynamicsCompressor();f.threshold.value=-50,f.knee.value=40,f.ratio.value=12,f.attack.value=0,f.release.value=.25,m.connect(f),f.connect(h.destination),m.start(0);var y=De(h),A=y[0],Y=y[1],E=A.then(function(Q){return Oe(Q.getChannelData(0).subarray(n))},function(Q){if(Q.name==="timeout"||Q.name==="suspended")return-3;throw Q});return j(E),function(){return Y(),E}}function Ae(){return be()&&!Se()&&!ke()}function De(e){var t=3,n=500,d=500,h=5e3,m=function(){},f=new Promise(function(y,A){var Y=!1,E=0,Q=0;e.oncomplete=function(q){return y(q.renderedBuffer)};var z=function(){setTimeout(function(){return A(Re("timeout"))},Math.min(d,Q+h-Date.now()))},te=function(){try{switch(e.startRendering(),e.state){case"running":Q=Date.now(),Y&&z();break;case"suspended":document.hidden||E++,Y&&E>=t?A(Re("suspended")):setTimeout(te,n);break}}catch(q){A(q)}};te(),m=function(){Y||(Y=!0,Q>0&&z())}});return[f,m]}function Oe(e){for(var t=0,n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function Re(e){var t=new Error(e);return t.name=e,t}function Ze(e,t,n){var d,h,m;return n===void 0&&(n=50),(0,i.mG)(this,void 0,void 0,function(){var f,y;return(0,i.Jh)(this,function(A){switch(A.label){case 0:f=document,A.label=1;case 1:return f.body?[3,3]:[4,w(n)];case 2:return A.sent(),[3,1];case 3:y=f.createElement("iframe"),A.label=4;case 4:return A.trys.push([4,,10,11]),[4,new Promise(function(Y,E){var Q=!1,z=function(){Q=!0,Y()},te=function(ee){Q=!0,E(ee)};y.onload=z,y.onerror=te;var q=y.style;q.setProperty("display","block","important"),q.position="absolute",q.top="0",q.left="0",q.visibility="hidden",t&&"srcdoc"in y?y.srcdoc=t:y.src="about:blank",f.body.appendChild(y);var ne=function(){var ee,$;Q||((($=(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:A.sent(),A.label=6;case 6:return!((h=(d=y.contentWindow)===null||d===void 0?void 0:d.document)===null||h===void 0)&&h.body?[3,8]:[4,w(n)];case 7:return A.sent(),[3,6];case 8:return[4,e(y,y.contentWindow)];case 9:return[2,A.sent()];case 10:return(m=y.parentNode)===null||m===void 0||m.removeChild(y),[7];case 11:return[2]}})})}function l(e){for(var t=G(e),n=t[0],d=t[1],h=document.createElement(n??"div"),m=0,f=Object.keys(d);m<f.length;m++){var y=f[m],A=d[y].join(" ");y==="style"?L(h.style,A):h.setAttribute(y,A)}return h}function L(e,t){for(var n=0,d=t.split(";");n<d.length;n++){var h=d[n],m=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(h);if(m){var f=m[1],y=m[2],A=m[4];e.setProperty(f,y,A||"")}}}var p="mmMwWLliI0O&1",v="48px",C=["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,d=n.body;d.style.fontSize=v;var h=n.createElement("div"),m={},f={},y=function(ne){var ee=n.createElement("span"),$=ee.style;return $.position="absolute",$.top="0",$.left="0",$.fontFamily=ne,ee.textContent=p,h.appendChild(ee),ee},A=function(ne,ee){return y("'"+ne+"',"+ee)},Y=function(){return C.map(y)},E=function(){for(var ne={},ee=function(Ve){ne[Ve]=C.map(function(He){return A(Ve,He)})},$=0,ve=S;$<ve.length;$++){var Me=ve[$];ee(Me)}return ne},Q=function(ne){return C.some(function(ee,$){return ne[$].offsetWidth!==m[ee]||ne[$].offsetHeight!==f[ee]})},z=Y(),te=E();d.appendChild(h);for(var q=0;q<C.length;q++)m[C[q]]=z[q].offsetWidth,f[C[q]]=z[q].offsetHeight;return S.filter(function(ne){return Q(te[ne])})})}function N(){var e=navigator.plugins;if(e){for(var t=[],n=0;n<e.length;++n){var d=e[n];if(d){for(var h=[],m=0;m<d.length;++m){var f=d[m];h.push({type:f.type,suffixes:f.suffixes})}t.push({name:d.name,description:d.description,mimeTypes:h})}}return t}}function U(){var e=!1,t,n,d=le(),h=d[0],m=d[1];if(!K(h,m))t=n="";else{e=he(m),ge(h,m);var f=Ce(h),y=Ce(h);f!==y?t=n="unstable":(n=f,Pe(h,m),t=Ce(h))}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,d=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<d.length;n++){var h=d[n],m=h[0],f=h[1],y=h[2];t.fillStyle=m,t.beginPath(),t.arc(f,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 d="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:n,touchStart:d}}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 d=e.languages;d&&t.push(d.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(d){return s(r(d),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,d;return(0,i.Jh)(this,function(h){switch(h.label){case 0:return[4,t()];case 1:return n=h.sent(),d=function(m){return m===null?null:M(m,nt)},[2,[d(n[0]),d(n[1]),d(n[2]),d(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 d=-ut();return"UTC"+(d>=0?"+":"")+Math.abs(d)}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 d=n[t],h=window[d];h&&typeof h=="object"&&e.push(d)}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,d,h,m,f,y;return(0,i.Jh)(this,function(A){switch(A.label){case 0:return xt()?(n=yt(),d=Object.keys(n),h=(y=[]).concat.apply(y,d.map(function(Y){return n[Y]})),[4,wt(h)]):[2,void 0];case 1:return m=A.sent(),t&&Ct(n,m),f=d.filter(function(Y){var E=n[Y],Q=F(E.map(function(z){return m[z]}));return Q>E.length*.6}),f.sort(),[2,f]}})})}function xt(){return be()||Te()}function wt(e){var t;return(0,i.mG)(this,void 0,void 0,function(){var n,d,h,m,A,f,y,A;return(0,i.Jh)(this,function(Y){switch(Y.label){case 0:for(n=document,d=n.createElement("div"),h=new Array(e.length),m={},Je(d),A=0;A<e.length;++A)f=l(e[A]),y=n.createElement("div"),Je(y),y.appendChild(f),d.appendChild(y),h[A]=f;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(d);try{for(A=0;A<e.length;++A)h[A].offsetParent||(m[e[A]]=!0)}finally{(t=d.parentNode)===null||t===void 0||t.removeChild(d)}return[2,m]}})})}function Je(e){e.style.setProperty("display","block","important")}function Ct(e,t){for(var n="DOM blockers debug:\n```",d=0,h=Object.keys(e);d<h.length;d++){var m=h[d];n+=`
|
|
3
|
-
`+m+":";for(var f=0,y=e[m];f<y.length;f++){var A=y[f];n+=`
|
|
4
|
-
`+(t[A]?"\u{1F6AB}":"\u27A1\uFE0F")+" "+A}}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 Lt(){if(Ue("active"))return!0;if(Ue("none"))return!1}function Ue(e){return matchMedia("(forced-colors: "+e+")").matches}var Mt=100;function Et(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=Mt;++e)if(matchMedia("(max-monochrome: "+e+")").matches)return e;throw new Error("Too high value")}}function Tt(){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 At(){if(Ke("reduce"))return!0;if(Ke("no-preference"))return!1}function Ke(e){return matchMedia("(prefers-reduced-motion: "+e+")").matches}function Dt(){if($e("high"))return!0;if($e("standard"))return!1}function $e(e){return matchMedia("(dynamic-range: "+e+")").matches}var J=Math,ce=function(){return 0};function Ot(){var e=J.acos||ce,t=J.acosh||ce,n=J.asin||ce,d=J.asinh||ce,h=J.atanh||ce,m=J.atan||ce,f=J.sin||ce,y=J.sinh||ce,A=J.cos||ce,Y=J.cosh||ce,E=J.tan||ce,Q=J.tanh||ce,z=J.exp||ce,te=J.expm1||ce,q=J.log1p||ce,ne=function(_){return J.pow(J.PI,_)},ee=function(_){return J.log(_+J.sqrt(_*_-1))},$=function(_){return J.log(_+J.sqrt(_*_+1))},ve=function(_){return J.log((1+_)/(1-_))/2},Me=function(_){return J.exp(_)-1/J.exp(_)/2},Ve=function(_){return(J.exp(_)+1/J.exp(_))/2},He=function(_){return J.exp(_)-1},zt=function(_){return(J.exp(2*_)-1)/(J.exp(2*_)+1)},Ut=function(_){return J.log(1+_)};return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:ee(1e154),asin:n(.12312423423423424),asinh:d(1),asinhPf:$(1),atanh:h(.5),atanhPf:ve(.5),atan:m(.5),sin:f(-1e300),sinh:y(1),sinhPf:Me(1),cos:A(10.000000000123),cosh:Y(1),coshPf:Ve(1),tan:E(-1e300),tanh:Q(1),tanhPf:zt(1),exp:z(1),expm1:te(1),expm1Pf:He(1),log1p:q(10),log1pPf:Ut(10),powPI:ne(-100)}}var Rt="mmMwWLliI0fiflO&1",Qe={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={},d={},h=0,m=Object.keys(Qe);h<m.length;h++){var f=m[h],y=Qe[f],A=y[0],Y=A===void 0?{}:A,E=y[1],Q=E===void 0?Rt:E,z=e.createElement("span");z.textContent=Q,z.style.whiteSpace="nowrap";for(var te=0,q=Object.keys(Y);te<q.length;te++){var ne=q[te],ee=Y[ne];ee!==void 0&&(z.style[ne]=ee)}n[f]=z,t.appendChild(e.createElement("br")),t.appendChild(z)}for(var $=0,ve=Object.keys(Qe);$<ve.length;$++){var f=ve[$];d[f]=n[f].getBoundingClientRect().width}return d})}function Pt(e,t){return t===void 0&&(t=4e3),Ze(function(n,d){var h=d.document,m=h.body,f=m.style;f.width=t+"px",f.webkitTextSizeAdjust=f.textSizeAdjust="none",se()?m.style.zoom=""+1/d.devicePixelRatio:be()&&(m.style.zoom="reset");var y=h.createElement("div");return y.textContent=(0,i.pr)(Array(t/20<<0)).map(function(){return"word"}).join(" "),m.appendChild(y),e(h,m)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}var It={fonts:P,domBlockers:bt,fontPreferences:Zt,audio:Le,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:Lt,monochrome:Et,contrast:Tt,reducedMotion:At,hdr:Dt,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(Te())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 M(.99+.01*e,1e-4)}function Xt(e){for(var t="",n=0,d=Object.keys(e).sort();n<d.length;n++){var h=d[n],m=e[h],f=m.error?"error":JSON.stringify(m.value);t+=(t?"|":"")+h.replace(/([:|\\])/g,"\\$1")+":"+f}return t}function qe(e){return JSON.stringify(e,function(t,n){return n instanceof Error?Z(n):n},2)}function _e(e){return H(Xt(e))}function Bt(e){var t,n=kt(e);return{get visitorId(){return t===void 0&&(t=_e(this.components)),t},set visitorId(d){t=d},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(d){return(0,i.mG)(this,void 0,void 0,function(){var h,m,f;return(0,i.Jh)(this,function(y){switch(y.label){case 0:return h=Date.now(),[4,e()];case 1:return m=y.sent(),f=Bt(m),(t||d?.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: "+f.version+`
|
|
5
|
-
userAgent: `+navigator.userAgent+`
|
|
6
|
-
timeBetweenLoadAndGet: `+(h-n)+`
|
|
7
|
-
visitorId: `+f.visitorId+`
|
|
8
|
-
components: `+qe(m)+"\n```"),[2,f]}})})}}}function Qt(){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 Ht(e){var t=e===void 0?{}:e,n=t.delayFallback,d=t.debug,h=t.monitoring,m=h===void 0?!0:h;return(0,i.mG)(this,void 0,void 0,function(){var f;return(0,i.Jh)(this,function(y){switch(y.label){case 0:return m&&Qt(),[4,Nt(n)];case 1:return y.sent(),f=Vt({debug:d}),[2,Yt(f,d)]}})})}var Jt={load:Ht,hashComponents:_e,componentsToDebugString:qe},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 T=window.Cookies,D=window.Cookies=w();D.noConflict=function(){return window.Cookies=T,D}}})(function(){function w(){for(var D=0,x={};D<arguments.length;D++){var j=arguments[D];for(var W in j)x[W]=j[W]}return x}function g(D){return D.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function T(D){function x(){}function j(k,B,R){if(!(typeof document>"u")){R=w({path:"/"},x.defaults,R),typeof R.expires=="number"&&(R.expires=new Date(new Date*1+R.expires*864e5)),R.expires=R.expires?R.expires.toUTCString():"";try{var O=JSON.stringify(B);/^[\{\[]/.test(O)&&(B=O)}catch{}B=D.write?D.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 H in R)R[H]&&(X+="; "+H,R[H]!==!0&&(X+="="+R[H].split(";")[0]));return document.cookie=k+"="+B+X}}function W(k,B){if(!(typeof document>"u")){for(var R={},O=document.cookie?document.cookie.split("; "):[],X=0;X<O.length;X++){var H=O[X].split("="),Z=H.slice(1).join("=");!B&&Z.charAt(0)==='"'&&(Z=Z.slice(1,-1));try{var b=g(H[0]);if(Z=(D.read||D)(Z,b)||g(Z),B)try{Z=JSON.parse(Z)}catch{}if(R[b]=Z,k===b)break}catch{}}return k?R[k]:R}}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=T,x}return T(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,T){var D=-1,x=u(g)?Array(g.length):[];return i(g,function(j,W,k){x[++D]=T(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),T=o(36024),D=o(76535),x=o(1397),j=o(15362),W=o(77236);function k(B,R,O){R.length?R=i(R,function(Z){return W(Z)?function(b){return u(b,Z.length===1?Z[0]:Z)}:Z}):R=[j];var X=-1;R=i(R,D(w));var H=g(B,function(Z,b,c){var r=i(R,function(a){return a(Z)});return{criteria:r,index:++X,value:Z}});return T(H,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,T){return i(g,T,function(D,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 T=w!==void 0,D=w===null,x=w===w,j=i(w),W=g!==void 0,k=g===null,B=g===g,R=i(g);if(!k&&!R&&!j&&w>g||j&&W&&B&&!k&&!R||D&&W&&B||!T&&B||!x)return 1;if(!D&&!j&&!R&&w<g||R&&T&&x&&!D&&!j||k&&T&&x||!W&&x||!B)return-1}return 0}V.exports=u},1397:function(V,I,o){var i=o(40709);function u(w,g,T){for(var D=-1,x=w.criteria,j=g.criteria,W=x.length,k=T.length;++D<W;){var B=i(x[D],j[D]);if(B){if(D>=k)return B;var R=T[D];return B*(R=="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(T,D){if(T==null)return T;if(!i(T))return w(T,D);for(var x=T.length,j=g?x:-1,W=Object(T);(g?j--:++j<x)&&D(W[j],j,W)!==!1;);return T}}V.exports=u},72245:function(V,I,o){var i=o(63920),u=o(85973);function w(g,T,D,x,j,W){return u(g)&&u(T)&&(W.set(T,g),i(g,T,void 0,w,W),W.delete(T)),g}V.exports=w},58732:function(V,I,o){var i=o(85198),u=o(94569),w=o(72245),g=o(54754),T=u(function(D){return D.push(void 0,w),i(g,void 0,D)});V.exports=T},54754:function(V,I,o){var i=o(63920),u=o(32544),w=u(function(g,T,D,x){i(g,T,D,x)});V.exports=w},88423:function(V,I,o){var i=o(37410),u=o(83368),w=u(function(g,T){return g==null?{}:i(g,T)});V.exports=w},98978:function(V,I,o){var i=o(40314),u=o(50690),w=o(94569),g=o(63108),T=w(function(D,x){if(D==null)return[];var j=x.length;return j>1&&g(D,x[0],x[1])?x=[]:j>2&&g(x[0],x[1],x[2])&&(x=[x[0]]),u(D,i(x,1),[])});V.exports=T},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),T=o(26356),D=o(75461),x=o(68833),j=o(20552);function W(l,L){return Object.keys(l).reduce(function(p,v){return p[v]=(0,i.pi)({timeZone:L},l[v]),p},{})}function k(l,L){var p=Object.keys((0,i.pi)((0,i.pi)({},l),L));return p.reduce(function(v,C){return v[C]=(0,i.pi)((0,i.pi)({},l[C]||{}),L[C]||{}),v},{})}function B(l,L){if(!L)return l;var p=D.C.formats;return(0,i.pi)((0,i.pi)((0,i.pi)({},p),l),{date:k(W(p.date,L),W(l.date||{},L)),time:k(W(p.time,L),W(l.time||{},L))})}var R=function(l,L,p,v,C){var S=l.locale,P=l.formats,N=l.messages,U=l.defaultLocale,le=l.defaultFormats,K=l.fallbackOnEmptyString,he=l.onError,ge=l.timeZone,Pe=l.defaultRichTextElements;p===void 0&&(p={id:""});var Ce=p.id,fe=p.defaultMessage;(0,T.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=L.getMessageFormat(fe,U,le,C);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=L.getMessageFormat(ue,S,P,(0,i.pi)({formatters:L},C||{}));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=L.getMessageFormat(fe,U,le,C);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 H(l,L,p){var v=l.locale,C=l.formats,S=l.onError;p===void 0&&(p={});var P=p.format,N=P&&(0,O.TB)(C,"number",P,S)||{},U=(0,O.L6)(p,X,N);return L(v,U)}function Z(l,L,p,v){v===void 0&&(v={});try{return H(l,L,v).format(p)}catch(C){l.onError(new x.Qe("Error formatting number.",l.locale,C))}return String(p)}function b(l,L,p,v){v===void 0&&(v={});try{return H(l,L,v).formatToParts(p)}catch(C){l.onError(new x.Qe("Error formatting number.",l.locale,C))}return[]}var c=o(14979),r=["numeric","style"];function a(l,L,p){var v=l.locale,C=l.formats,S=l.onError;p===void 0&&(p={});var P=p.format,N=!!P&&(0,O.TB)(C,"relative",P,S)||{},U=(0,O.L6)(p,r,N);return L(v,U)}function s(l,L,p,v,C){C===void 0&&(C={}),v||(v="second");var S=Intl.RelativeTimeFormat;S||l.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(l,L,C).format(p,v)}catch(P){l.onError(new x.Qe("Error formatting relative time.",l.locale,P))}return String(p)}var F=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function M(l,L,p,v){var C=l.locale,S=l.formats,P=l.onError,N=l.timeZone;v===void 0&&(v={});var U=v.format,le=(0,i.pi)((0,i.pi)({},N&&{timeZone:N}),U&&(0,O.TB)(S,L,U,P)),K=(0,O.L6)(v,F,le);return L==="time"&&!K.hour&&!K.minute&&!K.second&&!K.timeStyle&&!K.dateStyle&&(K=(0,i.pi)((0,i.pi)({},K),{hour:"numeric",minute:"numeric"})),p(C,K)}function G(l,L){for(var p=[],v=2;v<arguments.length;v++)p[v-2]=arguments[v];var C=p[0],S=p[1],P=S===void 0?{}:S,N=typeof C=="string"?new Date(C||0):C;try{return M(l,"date",L,P).format(N)}catch(U){l.onError(new x.Qe("Error formatting date.",l.locale,U))}return String(N)}function ae(l,L){for(var p=[],v=2;v<arguments.length;v++)p[v-2]=arguments[v];var C=p[0],S=p[1],P=S===void 0?{}:S,N=typeof C=="string"?new Date(C||0):C;try{return M(l,"time",L,P).format(N)}catch(U){l.onError(new x.Qe("Error formatting time.",l.locale,U))}return String(N)}function re(l,L){for(var p=[],v=2;v<arguments.length;v++)p[v-2]=arguments[v];var C=p[0],S=p[1],P=p[2],N=P===void 0?{}:P,U=l.timeZone,le=l.locale,K=l.onError,he=(0,O.L6)(N,F,U?{timeZone:U}:{});try{return L(le,he).formatRange(C,S)}catch(ge){K(new x.Qe("Error formatting date time range.",l.locale,ge))}return String(C)}function ie(l,L){for(var p=[],v=2;v<arguments.length;v++)p[v-2]=arguments[v];var C=p[0],S=p[1],P=S===void 0?{}:S,N=typeof C=="string"?new Date(C||0):C;try{return M(l,"date",L,P).formatToParts(N)}catch(U){l.onError(new x.Qe("Error formatting date.",l.locale,U))}return[]}function oe(l,L){for(var p=[],v=2;v<arguments.length;v++)p[v-2]=arguments[v];var C=p[0],S=p[1],P=S===void 0?{}:S,N=typeof C=="string"?new Date(C||0):C;try{return M(l,"time",L,P).formatToParts(N)}catch(U){l.onError(new x.Qe("Error formatting time.",l.locale,U))}return[]}var ye=["type"];function pe(l,L,p,v){var C=l.locale,S=l.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 L(C,P).select(p)}catch(N){S(new x.Qe("Error formatting plural.",C,N))}return"other"}var de=["type","style"],se=Date.now();function be(l){return"".concat(se,"_").concat(l,"_").concat(se)}function Se(l,L,p,v){v===void 0&&(v={});var C=Ee(l,L,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 C.length===1?C[0]:C.length===0?"":C}function Ee(l,L,p,v){var C=l.locale,S=l.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 L(C,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.Qe("Error formatting list.",C,K))}return p}var We=["style","type","fallback","languageDisplay"];function ke(l,L,p,v){var C=l.locale,S=l.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 L(C,N).of(p)}catch(U){S(new x.Qe("Error formatting display name.",C,U))}}function je(l){var L=l?l[Object.keys(l)[0]]:void 0;return typeof L=="string"}function Ge(l){l.onWarn&&l.defaultRichTextElements&&je(l.messages||{})&&l.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(l,L){var p=(0,O.ax)(L),v=(0,i.pi)((0,i.pi)({},O.Z0),l),C=v.locale,S=v.defaultLocale,P=v.onError;return C?!Intl.NumberFormat.supportedLocalesOf(C).length&&P?P(new x.gb('Missing locale data for locale: "'.concat(C,'" 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(C).length&&P&&P(new x.gb('Missing locale data for locale: "'.concat(C,'" 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:R.bind(null,v,p),$t:R.bind(null,v,p),formatList:Se.bind(null,v,p.getListFormat),formatListToParts:Ee.bind(null,v,p.getListFormat),formatDisplayName:ke.bind(null,v,p.getDisplayNames)})}var Te=o(33961);function Le(l){return{locale:l.locale,timeZone:l.timeZone,fallbackOnEmptyString:l.fallbackOnEmptyString,formats:l.formats,textComponent:l.textComponent,messages:l.messages,defaultLocale:l.defaultLocale,defaultFormats:l.defaultFormats,onError:l.onError,onWarn:l.onWarn,wrapRichTextChunksInFragment:l.wrapRichTextChunksInFragment,defaultRichTextElements:l.defaultRichTextElements}}function Ae(l){return l&&Object.keys(l).reduce(function(L,p){var v=l[p];return L[p]=(0,Te.Gt)(v)?(0,g.dt)(v):v,L},{})}var De=function(l,L,p,v){for(var C=[],S=4;S<arguments.length;S++)C[S-4]=arguments[S];var P=Ae(v),N=R.apply(void 0,(0,i.ev)([l,L,p,P],C,!1));return Array.isArray(N)?u.Children.toArray(N):N},Oe=function(l,L){var p=l.defaultRichTextElements,v=(0,i._T)(l,["defaultRichTextElements"]),C=Ae(p),S=Xe((0,i.pi)((0,i.pi)((0,i.pi)({},g.Z0),v),{defaultRichTextElements:C}),L),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:C};return(0,i.pi)((0,i.pi)({},S),{formatMessage:De.bind(null,P,S.formatters),$t:De.bind(null,P,S.formatters)})},Re=function(l){(0,i.ZT)(L,l);function L(){var p=l!==null&&l.apply(this,arguments)||this;return p.cache=(0,O.Sn)(),p.state={cache:p.cache,intl:Oe(Le(p.props),p.cache),prevConfig:Le(p.props)},p}return L.getDerivedStateFromProps=function(p,v){var C=v.prevConfig,S=v.cache,P=Le(p);return(0,g.wU)(C,P)?null:{intl:Oe(P,S),prevConfig:P}},L.prototype.render=function(){return(0,g.lq)(this.state.intl),u.createElement(w.zt,{value:this.state.intl},this.props.children)},L.displayName="IntlProvider",L.defaultProps=g.Z0,L}(u.PureComponent),Ze=Re},86113:function(V,I,o){"use strict";o.d(I,{S:function(){return H}});var i=o(20011),u=o(17209),w=o(23788),g=o(6265),T=o(52510),D=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,F,M=this.state.data,G=(0,u.SE)(r,M);return(s=(F=this.options).isDataEqual)!=null&&s.call(F,M,G)?G=M:this.options.structuralSharing!==!1&&(G=(0,u.Q$)(M,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,F,M;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((F=this.options.behavior)!=null&&F.onFetch){var ye;(ye=this.options.behavior)==null||ye.onFetch(oe)}if(this.revertState=this.state,!this.state.isFetching||this.state.fetchMeta!==((M=oe.fetchOptions)==null?void 0:M.meta)){var pe;this.dispatch({type:"fetch",meta:(pe=oe.fetchOptions)==null?void 0:pe.meta})}return this.retryer=new D.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,D.DV)(se)&&se.silent||s.dispatch({type:"error",error:se}),(0,D.DV)(se)||(s.cache.config.onError==null||s.cache.config.onError(se,s),(0,T.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",F=s?typeof r.initialDataUpdatedAt=="function"?r.initialDataUpdatedAt():r.initialDataUpdatedAt:0,M=typeof a<"u";return{data:a,dataUpdateCount:0,dataUpdatedAt:M?F??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:M?"success":"idle"}},b.reducer=function(r,a){var s,F;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:(F=a.dataUpdatedAt)!=null?F:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var M=a.error;return(0,D.DV)(M)&&M.revert&&this.revertState?(0,i.Z)({},this.revertState):(0,i.Z)({},r,{error:M,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,F){var M,G=s.queryKey,ae=(M=s.queryHash)!=null?M:(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:F,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(F){return F!==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 F=(0,u.I6)(a,s),M=F[0];return typeof M.exact>"u"&&(M.exact=!0),this.queries.find(function(G){return(0,u._x)(M,G)})},c.findAll=function(a,s){var F=(0,u.I6)(a,s),M=F[0];return M?this.queries.filter(function(G){return(0,u._x)(M,G)}):this.queries},c.notify=function(a){var s=this;g.V.batch(function(){s.listeners.forEach(function(F){F(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,F){var M=new k.m({mutationCache:this,mutationId:++this.mutationId,options:a.defaultMutationOptions(s),state:F,defaultOptions:s.mutationKey?a.getMutationDefaults(s.mutationKey):void 0});return this.add(M),M},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(F){F(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,F){return s.then(function(){return F.continue().catch(u.ZT)})},Promise.resolve())})},b}(j.l),R=o(43596),O=o(8144),X=o(34215),H=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=R.j.subscribe(function(){R.j.isFocused()&&O.N.isOnline()&&(r.mutationCache.onFocus(),r.queryCache.onFocus())}),this.unsubscribeOnline=O.N.subscribe(function(){R.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),F=s[0];return F.fetching=!0,this.queryCache.findAll(F).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,F=a.state,M=F.data;return[s,M]})},b.setQueryData=function(r,a,s){var F=(0,u._v)(r),M=this.defaultQueryOptions(F);return this.queryCache.build(this,M).setData(a,s)},b.setQueriesData=function(r,a,s){var F=this;return g.V.batch(function(){return F.getQueryCache().findAll(r).map(function(M){var G=M.queryKey;return[G,F.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),F=s[0],M=this.queryCache;g.V.batch(function(){M.findAll(F).forEach(function(G){M.remove(G)})})},b.resetQueries=function(r,a,s){var F=this,M=(0,u.I6)(r,a,s),G=M[0],ae=M[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()}),F.refetchQueries(ie,ae)})},b.cancelQueries=function(r,a,s){var F=this,M=(0,u.I6)(r,a,s),G=M[0],ae=M[1],re=ae===void 0?{}:ae;typeof re.revert>"u"&&(re.revert=!0);var ie=g.V.batch(function(){return F.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 F,M,G,ae=this,re=(0,u.I6)(r,a,s),ie=re[0],oe=re[1],ye=(0,i.Z)({},ie,{active:(F=(M=ie.refetchActive)!=null?M:ie.active)!=null?F:!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 F=this,M=(0,u.I6)(r,a,s),G=M[0],ae=M[1],re=g.V.batch(function(){return F.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 F=(0,u._v)(r,a,s),M=this.defaultQueryOptions(F);typeof M.retry>"u"&&(M.retry=!1);var G=this.queryCache.build(this,M);return G.isStaleByTime(M.staleTime)?G.fetch(M):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 F=(0,u._v)(r,a,s);return F.behavior=(0,X.Gm)(),this.fetchQuery(F)},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(F){return(0,u.yF)(r)===(0,u.yF)(F.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(F){return(0,u.yF)(r)===(0,u.yF)(F.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:T})=>i.createElement(w.x,{paddingLeft:10,paddingRight:10},T);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),T=o(87933);const D=X=>{const H=(0,i.useRef)(null),[Z,b]=(0,i.useState)(!0),c=([r])=>{b(r.isIntersecting)};return(0,i.useEffect)(()=>{const r=H.current,a=new IntersectionObserver(c,X);return r&&a.observe(H.current),()=>{r&&a.disconnect()}},[H,X]),[H,Z]};var x=o(63060);const j=(X,H)=>{const Z=(0,x.W)(H);(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),[H,Z]=(0,i.useState)(null),[b,c]=D({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:H}},B=X=>{const{containerRef:H,isVisible:Z,baseHeaderLayoutRef:b,headerSize:c}=k();return i.createElement(i.Fragment,null,i.createElement("div",{style:{height:c?.height},ref:H},Z&&i.createElement(O,{ref:b,...X})),!Z&&i.createElement(O,{...X,sticky:!0,width:c?.width}))};B.displayName="HeaderLayout";const R=(0,w.ZP)(g.x)`
|
|
25
|
-
width: ${X=>X.width}px;
|
|
26
|
-
`,O=i.forwardRef(({navigationAction:X,primaryAction:H,secondaryAction:Z,subtitle:b,title:c,sticky:r,width:a,...s},F)=>{const M=typeof b=="string";return r?i.createElement(R,{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(T.k,{justifyContent:"space-between"},i.createElement(T.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),M?i.createElement(W.Z,{variant:"pi",textColor:"neutral600"},b):b),Z?i.createElement(g.x,{paddingLeft:4},Z):null),i.createElement(T.k,null,H?i.createElement(g.x,{paddingLeft:2},H):void 0))):i.createElement(g.x,{ref:F,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(T.k,{justifyContent:"space-between"},i.createElement(T.k,{minWidth:0},i.createElement(W.Z,{as:"h1",variant:"alpha",...s},c),Z?i.createElement(g.x,{paddingLeft:4},Z):null),H),M?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 T}});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
|
-
`,T=({labelledBy:D,...x})=>{const j=D||"main-content-title";return i.createElement(g,{"aria-labelledby":j,id:"main-content",tabIndex:-1,...x})};T.defaultProps={labelledBy:void 0},T.propTypes={labelledBy:u.string}},10728:function(V,I,o){"use strict";o.d(I,{z:function(){return D}});var i=o(32735),u=o(60216),w=o(8471),g=o(72850);const T=(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
|
-
`,D=({children:x})=>i.createElement(T,{as:"a",href:"#main-content",background:"primary600",color:"neutral0",padding:3,position:"absolute",hasRadius:!0},x);D.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 T=()=>(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"})]}),D=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)(D,{}),j,(0,i.jsx)(T,{})]})},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}}]);
|
|
@@ -1,79 +0,0 @@
|
|
|
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.11.0-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(6970),n.e(994)]).then(n.bind(n,65765))),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}}]);
|