@strapi/admin 4.10.1 → 4.10.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/admin/src/components/AuthenticatedApp/index.js +19 -24
  2. package/admin/src/components/DragLayer/DragLayer.js +53 -0
  3. package/admin/src/components/DragLayer/index.js +1 -0
  4. package/admin/src/components/LeftMenu/index.js +2 -2
  5. package/admin/src/components/Providers/index.js +11 -7
  6. package/admin/src/content-manager/contexts/index.js +0 -1
  7. package/admin/src/content-manager/hooks/index.js +0 -1
  8. package/admin/src/content-manager/hooks/useLazyComponents/index.js +7 -3
  9. package/admin/src/content-manager/hooks/useRelation/useRelation.js +1 -3
  10. package/admin/src/content-manager/pages/{ListSettingsView/components/CardPreview.js → App/components/CardDragPreview.js} +28 -28
  11. package/admin/src/content-manager/pages/App/components/ComponentDragPreview.js +75 -0
  12. package/admin/src/content-manager/{components/DragLayer → pages/App/components}/RelationDragPreview.js +7 -4
  13. package/admin/src/content-manager/pages/App/index.js +39 -2
  14. package/admin/src/content-manager/pages/EditSettingsView/components/ComponentFieldList.js +1 -1
  15. package/admin/src/content-manager/pages/EditSettingsView/components/DisplayedFieldButton.js +1 -1
  16. package/admin/src/content-manager/pages/EditSettingsView/components/DynamicZoneList.js +1 -1
  17. package/admin/src/content-manager/pages/EditSettingsView/components/FormModal.js +1 -1
  18. package/admin/src/content-manager/{components → pages/EditSettingsView/components}/LayoutDndProvider/index.js +3 -4
  19. package/admin/src/content-manager/pages/EditSettingsView/components/LinkToCTB.js +1 -1
  20. package/admin/src/content-manager/pages/EditSettingsView/components/ModalForm.js +1 -1
  21. package/admin/src/content-manager/pages/EditSettingsView/components/RowItemsLayout.js +1 -1
  22. package/admin/src/content-manager/pages/EditSettingsView/hooks/useLayoutDnd.js +6 -0
  23. package/admin/src/content-manager/pages/EditSettingsView/index.js +1 -1
  24. package/admin/src/content-manager/pages/ListSettingsView/components/DraggableCard.js +6 -6
  25. package/admin/src/hooks/useMenu/index.js +2 -2
  26. package/admin/src/hooks/useReleaseNotification/index.js +2 -2
  27. package/admin/src/hooks/useSettingsMenu/index.js +2 -2
  28. package/admin/src/pages/Admin/Onboarding/index.js +2 -2
  29. package/admin/src/pages/App/index.js +2 -2
  30. package/admin/src/pages/HomePage/SocialLinks.js +2 -2
  31. package/admin/src/pages/MarketplacePage/index.js +2 -2
  32. package/admin/src/pages/ProfilePage/index.js +2 -2
  33. package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/index.js +2 -2
  34. package/admin/src/pages/SettingsPage/pages/Roles/EditPage/components/Permissions/utils/updateValues.js +3 -3
  35. package/admin/src/pages/SettingsPage/pages/Users/EditPage/index.js +2 -2
  36. package/admin/src/translations/fr.json +1 -1
  37. package/build/{5563.905daa13.chunk.js → 5563.986609ed.chunk.js} +2 -2
  38. package/build/{7259.b7d00cea.chunk.js → 7259.7a48aa2f.chunk.js} +1 -1
  39. package/build/7725.f717acdd.chunk.js +213 -0
  40. package/build/Admin-authenticatedApp.2fab70e4.chunk.js +79 -0
  41. package/build/{Admin_InternalErrorPage.15c6bf07.chunk.js → Admin_InternalErrorPage.96ceaae1.chunk.js} +1 -1
  42. package/build/{Admin_homePage.f9309c6d.chunk.js → Admin_homePage.9f7c0bb1.chunk.js} +5 -5
  43. package/build/{Admin_marketplace.56bc1008.chunk.js → Admin_marketplace.a60cde15.chunk.js} +5 -5
  44. package/build/{Admin_pluginsPage.f6b52ee9.chunk.js → Admin_pluginsPage.9e6fa51c.chunk.js} +1 -1
  45. package/build/{Admin_profilePage.9112cffc.chunk.js → Admin_profilePage.1b337b73.chunk.js} +2 -2
  46. package/build/{Admin_settingsPage.4604a16c.chunk.js → Admin_settingsPage.56e9641c.chunk.js} +2 -2
  47. package/build/{Upload_ConfigureTheView.eaaec495.chunk.js → Upload_ConfigureTheView.4fc648b5.chunk.js} +1 -1
  48. package/build/admin-app.9bfe4ec7.chunk.js +63 -0
  49. package/build/{admin-edit-roles-page.8a4063f7.chunk.js → admin-edit-roles-page.d0c9497b.chunk.js} +24 -24
  50. package/build/{admin-edit-users.7e14d85f.chunk.js → admin-edit-users.ba27c532.chunk.js} +2 -2
  51. package/build/{admin-roles-list.329c1f63.chunk.js → admin-roles-list.c759daa3.chunk.js} +1 -1
  52. package/build/{admin-users.d02de059.chunk.js → admin-users.ad5dd832.chunk.js} +2 -2
  53. package/build/{api-tokens-create-page.97595e12.chunk.js → api-tokens-create-page.973d2816.chunk.js} +1 -1
  54. package/build/{api-tokens-edit-page.cd36e30e.chunk.js → api-tokens-edit-page.29725c5e.chunk.js} +1 -1
  55. package/build/{api-tokens-list-page.6757c7b9.chunk.js → api-tokens-list-page.66c4fbdd.chunk.js} +2 -2
  56. package/build/{audit-logs-settings-page.19d90bda.chunk.js → audit-logs-settings-page.45cb4fb5.chunk.js} +1 -1
  57. package/build/content-manager.a0ff6cad.chunk.js +1111 -0
  58. package/build/{content-type-builder-list-view.9c2c020c.chunk.js → content-type-builder-list-view.5ff685ec.chunk.js} +1 -1
  59. package/build/{content-type-builder.68af11d2.chunk.js → content-type-builder.4737a30c.chunk.js} +3 -3
  60. package/build/{email-settings-page.1095e1ab.chunk.js → email-settings-page.dc07d518.chunk.js} +1 -1
  61. package/build/{fr-json.5947cf63.chunk.js → fr-json.73494bf5.chunk.js} +1 -1
  62. package/build/{i18n-settings-page.d95b32df.chunk.js → i18n-settings-page.8219dd99.chunk.js} +1 -1
  63. package/build/index.html +1 -1
  64. package/build/main.964e7203.js +2597 -0
  65. package/build/{review-workflows-settings.f7890c40.chunk.js → review-workflows-settings.089d7ec5.chunk.js} +1 -1
  66. package/build/{runtime~main.d4c8d6a2.js → runtime~main.c9593d59.js} +1 -1
  67. package/build/{sso-settings-page.1dd4886e.chunk.js → sso-settings-page.f44d95d8.chunk.js} +1 -1
  68. package/build/{transfer-tokens-create-page.ec2ca215.chunk.js → transfer-tokens-create-page.170acee6.chunk.js} +1 -1
  69. package/build/{transfer-tokens-edit-page.22bf28e5.chunk.js → transfer-tokens-edit-page.6cf23295.chunk.js} +1 -1
  70. package/build/{transfer-tokens-list-page.cf8c77f2.chunk.js → transfer-tokens-list-page.c3fec4c1.chunk.js} +2 -2
  71. package/build/{upload-settings.945fdcfa.chunk.js → upload-settings.dd2d987c.chunk.js} +1 -1
  72. package/build/{upload.a86b1054.chunk.js → upload.c8479232.chunk.js} +1 -1
  73. package/build/{users-advanced-settings-page.5b5a9baa.chunk.js → users-advanced-settings-page.c36cfd59.chunk.js} +1 -1
  74. package/build/{users-email-settings-page.e5506eb4.chunk.js → users-email-settings-page.2716ce8e.chunk.js} +5 -5
  75. package/build/{users-providers-settings-page.e32089c2.chunk.js → users-providers-settings-page.0d6304a5.chunk.js} +1 -1
  76. package/build/{users-roles-settings-page.20656f92.chunk.js → users-roles-settings-page.eeb3a339.chunk.js} +1 -1
  77. package/build/{webhook-edit-page.a3b62049.chunk.js → webhook-edit-page.f4db86f3.chunk.js} +2 -2
  78. package/build/{webhook-list-page.ca38eeef.chunk.js → webhook-list-page.30d73114.chunk.js} +1 -1
  79. package/ee/server/services/review-workflows/review-workflows.js +1 -1
  80. package/ee/server/utils/persisted-tables.js +3 -0
  81. package/jest.config.front.js +1 -0
  82. package/package.json +9 -9
  83. package/admin/src/components/AutoReloadOverlayBlockerProvider/Blocker.js +0 -95
  84. package/admin/src/components/AutoReloadOverlayBlockerProvider/Overlay.js +0 -42
  85. package/admin/src/components/AutoReloadOverlayBlockerProvider/index.js +0 -99
  86. package/admin/src/components/Notifications/Notification/index.js +0 -159
  87. package/admin/src/components/Notifications/index.js +0 -46
  88. package/admin/src/components/Notifications/reducer.js +0 -47
  89. package/admin/src/components/OverlayBlocker/index.js +0 -67
  90. package/admin/src/content-manager/components/DragLayer/ComponentDragPreview.js +0 -83
  91. package/admin/src/content-manager/components/DragLayer/index.js +0 -85
  92. package/admin/src/content-manager/contexts/LayoutDnd.js +0 -5
  93. package/admin/src/content-manager/hooks/useCallbackRef.js +0 -23
  94. package/admin/src/content-manager/hooks/useLayoutDnd.js +0 -6
  95. package/admin/src/content-manager/pages/ListSettingsView/utils/ellipsisCardTitle.js +0 -7
  96. package/build/8694.6522968d.chunk.js +0 -247
  97. package/build/Admin-authenticatedApp.5562aedc.chunk.js +0 -79
  98. package/build/admin-app.014adc27.chunk.js +0 -110
  99. package/build/content-manager.84f81966.chunk.js +0 -1130
  100. package/build/main.841e0dcb.js +0 -2280
@@ -1,247 +0,0 @@
1
- (self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[8694],{26322:function(j,P,o){"use strict";o.d(P,{ZP:function(){return Qt}});var r=o(31191),u="3.3.6";function C(e,t){return new Promise(function(n){return setTimeout(n,e,t)})}function v(e,t){t===void 0&&(t=1/0);var n=window.requestIdleCallback;return n?new Promise(function(f){return n.call(window,function(){return f()},{timeout:t})}):C(Math.min(e,t))}function E(e){return e&&typeof e.then=="function"}function T(e,t){try{var n=e();E(n)?n.then(function(f){return t(!0,f)},function(f){return t(!1,f)}):t(!0,n)}catch(f){t(!1,f)}}function w(e,t,n){return n===void 0&&(n=16),(0,r.mG)(this,void 0,void 0,function(){var f,d,m;return(0,r.Jh)(this,function(l){switch(l.label){case 0:f=Date.now(),d=0,l.label=1;case 1:return d<e.length?(t(e[d],d),m=Date.now(),m>=f+n?(f=m,[4,C(0)]):[3,3]):[3,4];case 2:l.sent(),l.label=3;case 3:return++d,[3,1];case 4:return[2]}})})}function B(e){e.then(void 0,function(){})}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[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 V(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 G(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 Z(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=V(e,[4283543511,3981806797]),e=O(e,[0,e[0]>>>1]),e=V(e,[3301882366,444984403]),e=O(e,[0,e[0]>>>1]),e}function J(e,t){e=e||"",t=t||0;var n=e.length%16,f=e.length-n,d=[0,t],m=[0,t],l=[0,0],x=[0,0],A=[2277735313,289559509],Y=[1291169091,658871167],M;for(M=0;M<f;M=M+16)l=[e.charCodeAt(M+4)&255|(e.charCodeAt(M+5)&255)<<8|(e.charCodeAt(M+6)&255)<<16|(e.charCodeAt(M+7)&255)<<24,e.charCodeAt(M)&255|(e.charCodeAt(M+1)&255)<<8|(e.charCodeAt(M+2)&255)<<16|(e.charCodeAt(M+3)&255)<<24],x=[e.charCodeAt(M+12)&255|(e.charCodeAt(M+13)&255)<<8|(e.charCodeAt(M+14)&255)<<16|(e.charCodeAt(M+15)&255)<<24,e.charCodeAt(M+8)&255|(e.charCodeAt(M+9)&255)<<8|(e.charCodeAt(M+10)&255)<<16|(e.charCodeAt(M+11)&255)<<24],l=V(l,A),l=G(l,31),l=V(l,Y),d=O(d,l),d=G(d,27),d=k(d,m),d=k(V(d,[0,5]),[0,1390208809]),x=V(x,Y),x=G(x,33),x=V(x,A),m=O(m,x),m=G(m,31),m=k(m,d),m=k(V(m,[0,5]),[0,944331445]);switch(l=[0,0],x=[0,0],n){case 15:x=O(x,Z([0,e.charCodeAt(M+14)],48));case 14:x=O(x,Z([0,e.charCodeAt(M+13)],40));case 13:x=O(x,Z([0,e.charCodeAt(M+12)],32));case 12:x=O(x,Z([0,e.charCodeAt(M+11)],24));case 11:x=O(x,Z([0,e.charCodeAt(M+10)],16));case 10:x=O(x,Z([0,e.charCodeAt(M+9)],8));case 9:x=O(x,[0,e.charCodeAt(M+8)]),x=V(x,Y),x=G(x,33),x=V(x,A),m=O(m,x);case 8:l=O(l,Z([0,e.charCodeAt(M+7)],56));case 7:l=O(l,Z([0,e.charCodeAt(M+6)],48));case 6:l=O(l,Z([0,e.charCodeAt(M+5)],40));case 5:l=O(l,Z([0,e.charCodeAt(M+4)],32));case 4:l=O(l,Z([0,e.charCodeAt(M+3)],24));case 3:l=O(l,Z([0,e.charCodeAt(M+2)],16));case 2:l=O(l,Z([0,e.charCodeAt(M+1)],8));case 1:l=O(l,[0,e.charCodeAt(M)]),l=V(l,A),l=G(l,31),l=V(l,Y),d=O(d,l)}return d=O(d,[0,e.length]),m=O(m,[0,e.length]),d=k(d,m),m=k(m,d),d=X(d),m=X(m),d=k(d,m),m=k(m,d),("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)+("00000000"+(m[0]>>>0).toString(16)).slice(-8)+("00000000"+(m[1]>>>0).toString(16)).slice(-8)}function D(e){var t;return(0,r.pi)({name:e.name,message:e.message,stack:(t=e.stack)===null||t===void 0?void 0:t.split(`
2
- `)},e)}function b(e,t){for(var n=0,f=e.length;n<f;++n)if(e[n]===t)return!0;return!1}function c(e,t){return!b(e,t)}function a(e){return parseInt(e)}function i(e){return parseFloat(e)}function s(e,t){return typeof e=="number"&&isNaN(e)?t:e}function g(e){return e.reduce(function(t,n){return t+(n?1:0)},0)}function F(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 W(e){for(var t,n,f="Unexpected syntax '"+e+"'",d=/^\s*([a-z-]*)(.*)$/i.exec(e),m=d[1]||void 0,l={},x=/([.:#][\w-]+|\[.+?\])/gi,A=function(z,re){l[z]=l[z]||[],l[z].push(re)};;){var Y=x.exec(d[2]);if(!Y)break;var M=Y[0];switch(M[0]){case".":A("class",M.slice(1));break;case"#":A("id",M.slice(1));break;case"[":{var H=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(M);if(H)A(H[1],(n=(t=H[4])!==null&&t!==void 0?t:H[5])!==null&&n!==void 0?n:"");else throw new Error(f);break}default:throw new Error(f)}}return[m,l]}function ne(e){return e&&typeof e=="object"&&"message"in e?e:{message:e}}function ee(e){return typeof e!="function"}function oe(e,t){var n=new Promise(function(f){var d=Date.now();T(e.bind(null,t),function(){for(var m=[],l=0;l<arguments.length;l++)m[l]=arguments[l];var x=Date.now()-d;if(!m[0])return f(function(){return{error:ne(m[1]),duration:x}});var A=m[1];if(ee(A))return f(function(){return{value:A,duration:x}});f(function(){return new Promise(function(Y){var M=Date.now();T(A,function(){for(var H=[],z=0;z<arguments.length;z++)H[z]=arguments[z];var re=x+Date.now()-M;if(!H[0])return Y({error:ne(H[1]),duration:re});Y({value:H[1],duration:re})})})})})});return B(n),function(){return n.then(function(d){return d()})}}function ie(e,t,n){var f=Object.keys(e).filter(function(m){return c(n,m)}),d=Array(f.length);return w(f,function(m,l){d[l]=oe(e[m],t)}),function(){return(0,r.mG)(this,void 0,void 0,function(){var l,x,A,Y,M,H,z;return(0,r.Jh)(this,function(re){switch(re.label){case 0:for(l={},x=0,A=f;x<A.length;x++)Y=A[x],l[Y]=void 0;M=Array(f.length),H=function(){var _;return(0,r.Jh)(this,function(ae){switch(ae.label){case 0:return _=!0,[4,w(f,function(te,$){if(!M[$])if(d[$]){var ve=d[$]().then(function(Le){return l[te]=Le});B(ve),M[$]=ve}else _=!1})];case 1:return ae.sent(),_?[2,"break"]:[4,C(1)];case 2:return ae.sent(),[2]}})},re.label=1;case 1:return[5,H()];case 2:if(z=re.sent(),z==="break")return[3,4];re.label=3;case 3:return[3,1];case 4:return[4,Promise.all(M)];case 5:return re.sent(),[2,l]}})})}}function pe(e,t){var n=function(f){return ee(f)?t(f):function(){var d=f();return E(d)?d.then(t):t(d)}};return function(f){var d=e(f);return E(d)?d.then(n):n(d)}}function ge(){var e=window,t=navigator;return g(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function de(){var e=window,t=navigator;return g(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!ge()}function se(){var e=window,t=navigator;return g(["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 g(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}function Re(){var e=window;return g(["safari"in e,!("DeviceMotionEvent"in e),!("ongestureend"in e),!("standalone"in navigator)])>=3}function Me(){var e,t,n=window;return g(["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 Ve(){var e=window;return g([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}function We(){var e=window;return g(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function ke(){if(navigator.platform==="iPad")return!0;var e=screen,t=e.width/e.height;return g(["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 Be(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function Ee(){var e=se(),t=Me();if(!e&&!t)return!1;var n=window;return g(["onorientationchange"in n,"orientation"in n,e&&!("SharedWorker"in n),t&&/android/i.test(navigator.appVersion)])>=2}function Se(){var e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(Te())return-1;var n=4500,f=5e3,d=new t(1,f,44100),m=d.createOscillator();m.type="triangle",m.frequency.value=1e4;var l=d.createDynamicsCompressor();l.threshold.value=-50,l.knee.value=40,l.ratio.value=12,l.attack.value=0,l.release.value=.25,m.connect(l),l.connect(d.destination),m.start(0);var x=Ae(d),A=x[0],Y=x[1],M=A.then(function(H){return Oe(H.getChannelData(0).subarray(n))},function(H){if(H.name==="timeout"||H.name==="suspended")return-3;throw H});return B(M),function(){return Y(),M}}function Te(){return be()&&!Re()&&!We()}function Ae(e){var t=3,n=500,f=500,d=5e3,m=function(){},l=new Promise(function(x,A){var Y=!1,M=0,H=0;e.oncomplete=function(_){return x(_.renderedBuffer)};var z=function(){setTimeout(function(){return A(Ze("timeout"))},Math.min(f,H+d-Date.now()))},re=function(){try{switch(e.startRendering(),e.state){case"running":H=Date.now(),Y&&z();break;case"suspended":document.hidden||M++,Y&&M>=t?A(Ze("suspended")):setTimeout(re,n);break}}catch(_){A(_)}};re(),m=function(){Y||(Y=!0,H>0&&z())}});return[l,m]}function Oe(e){for(var t=0,n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function Ze(e){var t=new Error(e);return t.name=e,t}function De(e,t,n){var f,d,m;return n===void 0&&(n=50),(0,r.mG)(this,void 0,void 0,function(){var l,x;return(0,r.Jh)(this,function(A){switch(A.label){case 0:l=document,A.label=1;case 1:return l.body?[3,3]:[4,C(n)];case 2:return A.sent(),[3,1];case 3:x=l.createElement("iframe"),A.label=4;case 4:return A.trys.push([4,,10,11]),[4,new Promise(function(Y,M){var H=!1,z=function(){H=!0,Y()},re=function(te){H=!0,M(te)};x.onload=z,x.onerror=re;var _=x.style;_.setProperty("display","block","important"),_.position="absolute",_.top="0",_.left="0",_.visibility="hidden",t&&"srcdoc"in x?x.srcdoc=t:x.src="about:blank",l.body.appendChild(x);var ae=function(){var te,$;H||((($=(te=x.contentWindow)===null||te===void 0?void 0:te.document)===null||$===void 0?void 0:$.readyState)==="complete"?z():setTimeout(ae,10))};ae()})];case 5:A.sent(),A.label=6;case 6:return!((d=(f=x.contentWindow)===null||f===void 0?void 0:f.document)===null||d===void 0)&&d.body?[3,8]:[4,C(n)];case 7:return A.sent(),[3,6];case 8:return[4,e(x,x.contentWindow)];case 9:return[2,A.sent()];case 10:return(m=x.parentNode)===null||m===void 0||m.removeChild(x),[7];case 11:return[2]}})})}function h(e){for(var t=W(e),n=t[0],f=t[1],d=document.createElement(n??"div"),m=0,l=Object.keys(f);m<l.length;m++){var x=l[m],A=f[x].join(" ");x==="style"?L(d.style,A):d.setAttribute(x,A)}return d}function L(e,t){for(var n=0,f=t.split(";");n<f.length;n++){var d=f[n],m=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(d);if(m){var l=m[1],x=m[2],A=m[4];e.setProperty(l,x,A||"")}}}var y="mmMwWLliI0O&1",p="48px",R=["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 I(){return De(function(e,t){var n=t.document,f=n.body;f.style.fontSize=p;var d=n.createElement("div"),m={},l={},x=function(ae){var te=n.createElement("span"),$=te.style;return $.position="absolute",$.top="0",$.left="0",$.fontFamily=ae,te.textContent=y,d.appendChild(te),te},A=function(ae,te){return x("'"+ae+"',"+te)},Y=function(){return R.map(x)},M=function(){for(var ae={},te=function(je){ae[je]=R.map(function(Je){return A(je,Je)})},$=0,ve=S;$<ve.length;$++){var Le=ve[$];te(Le)}return ae},H=function(ae){return R.some(function(te,$){return ae[$].offsetWidth!==m[te]||ae[$].offsetHeight!==l[te]})},z=Y(),re=M();f.appendChild(d);for(var _=0;_<R.length;_++)m[R[_]]=z[_].offsetWidth,l[R[_]]=z[_].offsetHeight;return S.filter(function(ae){return H(re[ae])})})}function N(){var e=navigator.plugins;if(e){for(var t=[],n=0;n<e.length;++n){var f=e[n];if(f){for(var d=[],m=0;m<f.length;++m){var l=f[m];d.push({type:l.type,suffixes:l.suffixes})}t.push({name:f.name,description:f.description,mimeTypes:d})}}return t}}function U(){var e=!1,t,n,f=le(),d=f[0],m=f[1];if(!K(d,m))t=n="";else{e=he(m),ye(d,m);var l=Ce(d),x=Ce(d);l!==x?t=n="unstable":(n=l,Pe(d,m),t=Ce(d))}return{winding:e,geometry:t,text:n}}function le(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function K(e,t){return!!(t&&e.toDataURL)}function he(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function ye(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';var n="Cwm fjordbank gly "+String.fromCharCode(55357,56835);t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}function Pe(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(var n=0,f=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<f.length;n++){var d=f[n],m=d[0],l=d[1],x=d[2];t.fillStyle=m,t.beginPath(),t.arc(l,x,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=a(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),n=!0}catch{n=!1}var f="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:n,touchStart:f}}function me(){return navigator.oscpu}function ue(){var e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages))se()&&Ve()||t.push(e.languages);else if(typeof e.languages=="string"){var f=e.languages;f&&t.push(f.split(","))}return t}function xe(){return window.screen.colorDepth}function we(){return s(i(navigator.deviceMemory),void 0)}function et(){var e=screen,t=function(f){return s(a(f),null)},n=[t(e.width),t(e.height)];return n.sort().reverse(),n}var tt=2500,nt=10,Ie,Xe;function rt(){if(Xe===void 0){var e=function(){var t=Ne();Ye(t)?Xe=setTimeout(e,tt):(Ie=t,Xe=void 0)};e()}}function at(){var e=this;return rt(),function(){return(0,r.mG)(e,void 0,void 0,function(){var t;return(0,r.Jh)(this,function(n){switch(n.label){case 0:return t=Ne(),Ye(t)?Ie?[2,(0,r.pr)(Ie)]:Ge()?[4,Be()]:[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,r.mG)(e,void 0,void 0,function(){var n,f;return(0,r.Jh)(this,function(d){switch(d.label){case 0:return[4,t()];case 1:return n=d.sent(),f=function(m){return m===null?null:F(m,nt)},[2,[f(n[0]),f(n[1]),f(n[2]),f(n[3])]]}})})}}function Ne(){var e=screen;return[s(i(e.availTop),null),s(i(e.width)-i(e.availWidth)-s(i(e.availLeft),0),null),s(i(e.height)-i(e.availHeight)-s(i(e.availTop),0),null),s(i(e.availLeft),null)]}function Ye(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}function ot(){return s(a(navigator.hardwareConcurrency),void 0)}function st(){var e,t=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(t){var n=new t().resolvedOptions().timeZone;if(n)return n}var f=-ut();return"UTC"+(f>=0?"+":"")+Math.abs(f)}function ut(){var e=new Date().getFullYear();return Math.max(i(new Date(e,0,1).getTimezoneOffset()),i(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(!(ge()||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()&&!Re()?ke()?"iPad":"iPhone":e}function vt(){return navigator.vendor||""}function pt(){for(var e=[],t=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];t<n.length;t++){var f=n[t],d=window[f];d&&typeof d=="object"&&e.push(f)}return e.sort()}function gt(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=e.cookie.indexOf("cookietest=")!==-1;return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch{return!1}}function yt(){var e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",e("YVt0aXRsZT0iN25hZ2EgcG9rZXIiIGld"),'[title="ALIENBOLA" i]'],abpvn:["#quangcaomb",e("Lmlvc0Fkc2lvc0Fkcy1sYXlvdXQ="),".quangcao",e("W2hyZWZePSJodHRwczovL3I4OC52bi8iXQ=="),e("W2hyZWZePSJodHRwczovL3piZXQudm4vIl0=")],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("I2FkMl9pbmxpbmU=")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:['amp-embed[type="zen"]',".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil"],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2FkLWJhbm5lcg=="),e("I2NhbXBhaWduLWJhbm5lcg==")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iL29kMDA1LmNvbSJd"),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),".qq_nr_lad","#widget-quan"],adGuardFrench:[e("I2Jsb2NrLXZpZXdzLWFkcy1zaWRlYmFyLWJsb2NrLWJsb2Nr"),"#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv"],adGuardGerman:[e("LmJhbm5lcml0ZW13ZXJidW5nX2hlYWRfMQ=="),e("LmJveHN0YXJ0d2VyYnVuZw=="),e("LndlcmJ1bmcz"),e("YVtocmVmXj0iaHR0cDovL3d3dy5laXMuZGUvaW5kZXgucGh0bWw/cmVmaWQ9Il0="),e("YVtocmVmXj0iaHR0cHM6Ly93d3cudGlwaWNvLmNvbS8/YWZmaWxpYXRlSWQ9Il0=")],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("LmFkX3JlZ3VsYXIz")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),e("I2FkX3NxdWFyZQ==")],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",e("W2hyZWZePSJodHRwOi8vYWRzLmdsaXNwYS5jb20vIl0=")],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers",e("I25ld0Fk")],easyList:[e("I0FEX0NPTlRST0xfMjg="),e("LnNlY29uZC1wb3N0LWFkcy13cmFwcGVy"),".universalboxADVBOX03",e("LmFkdmVydGlzZW1lbnQtNzI4eDkw"),e("LnNxdWFyZV9hZHM=")],easyListChina:[e("YVtocmVmKj0iLndlbnNpeHVldGFuZy5jb20vIl0="),e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box"],easyListCookie:["#AdaCompliance.app-notice",".text-center.rgpd",".panel--cookie",".js-cookies-andromeda",".elxtr-consent"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:[e("I0FkX1dpbjJkYXk="),e("I3dlcmJ1bmdzYm94MzAw"),e("YVtocmVmXj0iaHR0cDovL3d3dy5yb3RsaWNodGthcnRlaS5jb20vP3NjPSJd"),e("I3dlcmJ1bmdfd2lkZXNreXNjcmFwZXJfc2NyZWVu"),e("YVtocmVmXj0iaHR0cDovL2xhbmRpbmcucGFya3BsYXR6a2FydGVpLmNvbS8/YWc9Il0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#feedback-tab","#taboola-below-article",".feedburnerFeedBlock",".widget-feedburner-counter",'[title="Subscribe to our blog"]'],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:[".td-tags-and-social-wrapper-box",".twitterContainer",".youtube-social",'a[title^="Like us on Facebook"]','img[alt^="Share on Digg"]'],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container",".cookie-msg-info-container","#cookies-policy-sticky"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),'a[href^="/magazin/"]',e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd")],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}function bt(e){var t=(e===void 0?{}:e).debug;return(0,r.mG)(this,void 0,void 0,function(){var n,f,d,m,l,x;return(0,r.Jh)(this,function(A){switch(A.label){case 0:return xt()?(n=yt(),f=Object.keys(n),d=(x=[]).concat.apply(x,f.map(function(Y){return n[Y]})),[4,wt(d)]):[2,void 0];case 1:return m=A.sent(),t&&Ct(n,m),l=f.filter(function(Y){var M=n[Y],H=g(M.map(function(z){return m[z]}));return H>M.length*.6}),l.sort(),[2,l]}})})}function xt(){return be()||Ee()}function wt(e){var t;return(0,r.mG)(this,void 0,void 0,function(){var n,f,d,m,A,l,x,A;return(0,r.Jh)(this,function(Y){switch(Y.label){case 0:for(n=document,f=n.createElement("div"),d=new Array(e.length),m={},Qe(f),A=0;A<e.length;++A)l=h(e[A]),x=n.createElement("div"),Qe(x),x.appendChild(l),f.appendChild(x),d[A]=l;Y.label=1;case 1:return n.body?[3,3]:[4,C(50)];case 2:return Y.sent(),[3,1];case 3:n.body.appendChild(f);try{for(A=0;A<e.length;++A)d[A].offsetParent||(m[e[A]]=!0)}finally{(t=f.parentNode)===null||t===void 0||t.removeChild(f)}return[2,m]}})})}function Qe(e){e.style.setProperty("display","block","important")}function Ct(e,t){for(var n="DOM blockers debug:\n```",f=0,d=Object.keys(e);f<d.length;f++){var m=d[f];n+=`
3
- `+m+":";for(var l=0,x=e[m];l<x.length;l++){var A=x[l];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 Rt(){if(ze("inverted"))return!0;if(ze("none"))return!1}function ze(e){return matchMedia("(inverted-colors: "+e+")").matches}function St(){if(Ue("active"))return!0;if(Ue("none"))return!1}function Ue(e){return matchMedia("(forced-colors: "+e+")").matches}var Lt=100;function Mt(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=Lt;++e)if(matchMedia("(max-monochrome: "+e+")").matches)return e;throw new Error("Too high value")}}function Et(){if(Fe("no-preference"))return 0;if(Fe("high")||Fe("more"))return 1;if(Fe("low")||Fe("less"))return-1;if(Fe("forced"))return 10}function Fe(e){return matchMedia("(prefers-contrast: "+e+")").matches}function Tt(){if(Ke("reduce"))return!0;if(Ke("no-preference"))return!1}function Ke(e){return matchMedia("(prefers-reduced-motion: "+e+")").matches}function At(){if($e("high"))return!0;if($e("standard"))return!1}function $e(e){return matchMedia("(dynamic-range: "+e+")").matches}var Q=Math,ce=function(){return 0};function Ot(){var e=Q.acos||ce,t=Q.acosh||ce,n=Q.asin||ce,f=Q.asinh||ce,d=Q.atanh||ce,m=Q.atan||ce,l=Q.sin||ce,x=Q.sinh||ce,A=Q.cos||ce,Y=Q.cosh||ce,M=Q.tan||ce,H=Q.tanh||ce,z=Q.exp||ce,re=Q.expm1||ce,_=Q.log1p||ce,ae=function(q){return Q.pow(Q.PI,q)},te=function(q){return Q.log(q+Q.sqrt(q*q-1))},$=function(q){return Q.log(q+Q.sqrt(q*q+1))},ve=function(q){return Q.log((1+q)/(1-q))/2},Le=function(q){return Q.exp(q)-1/Q.exp(q)/2},je=function(q){return(Q.exp(q)+1/Q.exp(q))/2},Je=function(q){return Q.exp(q)-1},zt=function(q){return(Q.exp(2*q)-1)/(Q.exp(2*q)+1)},Ut=function(q){return Q.log(1+q)};return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:te(1e154),asin:n(.12312423423423424),asinh:f(1),asinhPf:$(1),atanh:d(.5),atanhPf:ve(.5),atan:m(.5),sin:l(-1e300),sinh:x(1),sinhPf:Le(1),cos:A(10.000000000123),cosh:Y(1),coshPf:je(1),tan:M(-1e300),tanh:H(1),tanhPf:zt(1),exp:z(1),expm1:re(1),expm1Pf:Je(1),log1p:_(10),log1pPf:Ut(10),powPI:ae(-100)}}var Zt="mmMwWLliI0fiflO&1",He={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function Dt(){return Pt(function(e,t){for(var n={},f={},d=0,m=Object.keys(He);d<m.length;d++){var l=m[d],x=He[l],A=x[0],Y=A===void 0?{}:A,M=x[1],H=M===void 0?Zt:M,z=e.createElement("span");z.textContent=H,z.style.whiteSpace="nowrap";for(var re=0,_=Object.keys(Y);re<_.length;re++){var ae=_[re],te=Y[ae];te!==void 0&&(z.style[ae]=te)}n[l]=z,t.appendChild(e.createElement("br")),t.appendChild(z)}for(var $=0,ve=Object.keys(He);$<ve.length;$++){var l=ve[$];f[l]=n[l].getBoundingClientRect().width}return f})}function Pt(e,t){return t===void 0&&(t=4e3),De(function(n,f){var d=f.document,m=d.body,l=m.style;l.width=t+"px",l.webkitTextSizeAdjust=l.textSizeAdjust="none",se()?m.style.zoom=""+1/f.devicePixelRatio:be()&&(m.style.zoom="reset");var x=d.createElement("div");return x.textContent=(0,r.pr)(Array(t/20<<0)).map(function(){return"word"}).join(" "),m.appendChild(x),e(d,m)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}var It={fonts:I,domBlockers:bt,fontPreferences:Dt,audio:Se,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:Rt,forcedColors:St,monochrome:Mt,contrast:Et,reducedMotion:Tt,hdr:At,math:Ot};function jt(e){return ie(It,e,[])}var Vt="$ if upgrade to Pro: https://fpjs.dev/pro";function Wt(e){var t=kt(e),n=Gt(t);return{score:t,comment:Vt.replace(/\$/g,""+n)}}function kt(e){if(Ee())return .4;if(be())return Re()?.5:.3;var t=e.platform.value||"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function Gt(e){return F(.99+.01*e,1e-4)}function Bt(e){for(var t="",n=0,f=Object.keys(e).sort();n<f.length;n++){var d=f[n],m=e[d],l=m.error?"error":JSON.stringify(m.value);t+=(t?"|":"")+d.replace(/([:|\\])/g,"\\$1")+":"+l}return t}function _e(e){return JSON.stringify(e,function(t,n){return n instanceof Error?D(n):n},2)}function qe(e){return J(Bt(e))}function Xt(e){var t,n=Wt(e);return{get visitorId(){return t===void 0&&(t=qe(this.components)),t},set visitorId(f){t=f},confidence:n,components:e,version:u}}function Nt(e){return e===void 0&&(e=50),v(e,e*2)}function Yt(e,t){var n=Date.now();return{get:function(f){return(0,r.mG)(this,void 0,void 0,function(){var d,m,l;return(0,r.Jh)(this,function(x){switch(x.label){case 0:return d=Date.now(),[4,e()];case 1:return m=x.sent(),l=Xt(m),(t||f?.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: "+l.version+`
5
- userAgent: `+navigator.userAgent+`
6
- timeBetweenLoadAndGet: `+(d-n)+`
7
- visitorId: `+l.visitorId+`
8
- components: `+_e(m)+"\n```"),[2,l]}})})}}}function Ht(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v"+u+"/npm-monitoring",!0),e.send()}catch(t){console.error(t)}}function Jt(e){var t=e===void 0?{}:e,n=t.delayFallback,f=t.debug,d=t.monitoring,m=d===void 0?!0:d;return(0,r.mG)(this,void 0,void 0,function(){var l;return(0,r.Jh)(this,function(x){switch(x.label){case 0:return m&&Ht(),[4,Nt(n)];case 1:return x.sent(),l=jt({debug:f}),[2,Yt(l,f)]}})})}var Qt={load:Jt,hashComponents:qe,componentsToDebugString:_e},Kt=null},49189:function(j,P,o){var r,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(C){var v;if(r=C,u=typeof r=="function"?r.call(P,o,P,j):r,u!==void 0&&(j.exports=u),v=!0,j.exports=C(),v=!0,!v){var E=window.Cookies,T=window.Cookies=C();T.noConflict=function(){return window.Cookies=E,T}}})(function(){function C(){for(var T=0,w={};T<arguments.length;T++){var B=arguments[T];for(var k in B)w[k]=B[k]}return w}function v(T){return T.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function E(T){function w(){}function B(V,G,Z){if(!(typeof document>"u")){Z=C({path:"/"},w.defaults,Z),typeof Z.expires=="number"&&(Z.expires=new Date(new Date*1+Z.expires*864e5)),Z.expires=Z.expires?Z.expires.toUTCString():"";try{var O=JSON.stringify(G);/^[\{\[]/.test(O)&&(G=O)}catch{}G=T.write?T.write(G,V):encodeURIComponent(String(G)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),V=encodeURIComponent(String(V)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var X="";for(var J in Z)Z[J]&&(X+="; "+J,Z[J]!==!0&&(X+="="+Z[J].split(";")[0]));return document.cookie=V+"="+G+X}}function k(V,G){if(!(typeof document>"u")){for(var Z={},O=document.cookie?document.cookie.split("; "):[],X=0;X<O.length;X++){var J=O[X].split("="),D=J.slice(1).join("=");!G&&D.charAt(0)==='"'&&(D=D.slice(1,-1));try{var b=v(J[0]);if(D=(T.read||T)(D,b)||v(D),G)try{D=JSON.parse(D)}catch{}if(Z[b]=D,V===b)break}catch{}}return V?Z[V]:Z}}return w.set=B,w.get=function(V){return k(V,!1)},w.getJSON=function(V){return k(V,!0)},w.remove=function(V,G){B(V,"",C(G,{expires:-1}))},w.defaults={},w.withConverter=E,w}return E(function(){})})},56671:function(j,P,o){var r=o(35897),u=o(74741),C=u(r);j.exports=C},52920:function(j,P,o){var r=o(56671),u=o(81580);function C(v,E){var T=-1,w=u(v)?Array(v.length):[];return r(v,function(B,k,V){w[++T]=E(B,k,V)}),w}j.exports=C},50690:function(j,P,o){var r=o(26460),u=o(80166),C=o(88904),v=o(52920),E=o(36024),T=o(76535),w=o(1397),B=o(15362),k=o(77236);function V(G,Z,O){Z.length?Z=r(Z,function(D){return k(D)?function(b){return u(b,D.length===1?D[0]:D)}:D}):Z=[B];var X=-1;Z=r(Z,T(C));var J=v(G,function(D,b,c){var a=r(Z,function(i){return i(D)});return{criteria:a,index:++X,value:D}});return E(J,function(D,b){return w(D,b,O)})}j.exports=V},37410:function(j,P,o){var r=o(96621),u=o(33646);function C(v,E){return r(v,E,function(T,w){return u(v,w)})}j.exports=C},36024:function(j){function P(o,r){var u=o.length;for(o.sort(r);u--;)o[u]=o[u].value;return o}j.exports=P},40709:function(j,P,o){var r=o(22945);function u(C,v){if(C!==v){var E=C!==void 0,T=C===null,w=C===C,B=r(C),k=v!==void 0,V=v===null,G=v===v,Z=r(v);if(!V&&!Z&&!B&&C>v||B&&k&&G&&!V&&!Z||T&&k&&G||!E&&G||!w)return 1;if(!T&&!B&&!Z&&C<v||Z&&E&&w&&!T&&!B||V&&E&&w||!k&&w||!G)return-1}return 0}j.exports=u},1397:function(j,P,o){var r=o(40709);function u(C,v,E){for(var T=-1,w=C.criteria,B=v.criteria,k=w.length,V=E.length;++T<k;){var G=r(w[T],B[T]);if(G){if(T>=V)return G;var Z=E[T];return G*(Z=="desc"?-1:1)}}return C.index-v.index}j.exports=u},74741:function(j,P,o){var r=o(81580);function u(C,v){return function(E,T){if(E==null)return E;if(!r(E))return C(E,T);for(var w=E.length,B=v?w:-1,k=Object(E);(v?B--:++B<w)&&T(k[B],B,k)!==!1;);return E}}j.exports=u},72245:function(j,P,o){var r=o(63920),u=o(85973);function C(v,E,T,w,B,k){return u(v)&&u(E)&&(k.set(E,v),r(v,E,void 0,C,k),k.delete(E)),v}j.exports=C},58732:function(j,P,o){var r=o(85198),u=o(94569),C=o(72245),v=o(54754),E=u(function(T){return T.push(void 0,C),r(v,void 0,T)});j.exports=E},54754:function(j,P,o){var r=o(63920),u=o(32544),C=u(function(v,E,T,w){r(v,E,T,w)});j.exports=C},88423:function(j,P,o){var r=o(37410),u=o(83368),C=u(function(v,E){return v==null?{}:r(v,E)});j.exports=C},98978:function(j,P,o){var r=o(40314),u=o(50690),C=o(94569),v=o(63108),E=C(function(T,w){if(T==null)return[];var B=w.length;return B>1&&v(T,w[0],w[1])?w=[]:B>2&&v(w[0],w[1],w[2])&&(w=[w[0]]),u(T,r(w,1),[])});j.exports=E},56236:function(j,P,o){var r=o(69386);function u(C,v){return C==null?!0:r(C,v)}j.exports=u},78023:function(j,P,o){"use strict";o.d(P,{Z:function(){return De}});var r=o(31191),u=o(32735),C=o(72067),v=o(42447),E=o(26356),T=o(75461),w=o(68833),B=o(20552);function k(h,L){return Object.keys(h).reduce(function(y,p){return y[p]=(0,r.pi)({timeZone:L},h[p]),y},{})}function V(h,L){var y=Object.keys((0,r.pi)((0,r.pi)({},h),L));return y.reduce(function(p,R){return p[R]=(0,r.pi)((0,r.pi)({},h[R]||{}),L[R]||{}),p},{})}function G(h,L){if(!L)return h;var y=T.C.formats;return(0,r.pi)((0,r.pi)((0,r.pi)({},y),h),{date:V(k(y.date,L),k(h.date||{},L)),time:V(k(y.time,L),k(h.time||{},L))})}var Z=function(h,L,y,p,R){var S=h.locale,I=h.formats,N=h.messages,U=h.defaultLocale,le=h.defaultFormats,K=h.fallbackOnEmptyString,he=h.onError,ye=h.timeZone,Pe=h.defaultRichTextElements;y===void 0&&(y={id:""});var Ce=y.id,fe=y.defaultMessage;(0,E.kG)(!!Ce,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var me=String(Ce),ue=N&&Object.prototype.hasOwnProperty.call(N,me)&&N[me];if(Array.isArray(ue)&&ue.length===1&&ue[0].type===B.wD.literal)return ue[0].value;if(!p&&ue&&typeof ue=="string"&&!Pe)return ue.replace(/'\{(.*?)\}'/gi,"{$1}");if(p=(0,r.pi)((0,r.pi)({},Pe),p||{}),I=G(I,ye),le=G(le,ye),!ue){if(K===!1&&ue==="")return ue;if((!fe||S&&S.toLowerCase()!==U.toLowerCase())&&he(new w.$6(y,S)),fe)try{var xe=L.getMessageFormat(fe,U,le,R);return xe.format(p)}catch(we){return he(new w.X9('Error formatting default message for: "'.concat(me,'", rendering default message verbatim'),S,y,we)),typeof fe=="string"?fe:me}return me}try{var xe=L.getMessageFormat(ue,S,I,(0,r.pi)({formatters:L},R||{}));return xe.format(p)}catch(we){he(new w.X9('Error formatting message: "'.concat(me,'", using ').concat(fe?"default message":"id"," as fallback."),S,y,we))}if(fe)try{var xe=L.getMessageFormat(fe,U,le,R);return xe.format(p)}catch(we){he(new w.X9('Error formatting the default message for: "'.concat(me,'", rendering message verbatim'),S,y,we))}return typeof ue=="string"?ue:typeof fe=="string"?fe:me},O=o(32409),X=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function J(h,L,y){var p=h.locale,R=h.formats,S=h.onError;y===void 0&&(y={});var I=y.format,N=I&&(0,O.TB)(R,"number",I,S)||{},U=(0,O.L6)(y,X,N);return L(p,U)}function D(h,L,y,p){p===void 0&&(p={});try{return J(h,L,p).format(y)}catch(R){h.onError(new w.Rw(w.bc.FORMAT_ERROR,"Error formatting number.",R))}return String(y)}function b(h,L,y,p){p===void 0&&(p={});try{return J(h,L,p).formatToParts(y)}catch(R){h.onError(new w.Rw(w.bc.FORMAT_ERROR,"Error formatting number.",R))}return[]}var c=o(14979),a=["numeric","style"];function i(h,L,y){var p=h.locale,R=h.formats,S=h.onError;y===void 0&&(y={});var I=y.format,N=!!I&&(0,O.TB)(R,"relative",I,S)||{},U=(0,O.L6)(y,a,N);return L(p,U)}function s(h,L,y,p,R){R===void 0&&(R={}),p||(p="second");var S=Intl.RelativeTimeFormat;S||h.onError(new c.u_(`Intl.RelativeTimeFormat is not available in this environment.
15
- Try polyfilling it using "@formatjs/intl-relativetimeformat"
16
- `,c.jK.MISSING_INTL_API));try{return i(h,L,R).format(y,p)}catch(I){h.onError(new w.Qe("Error formatting relative time.",h.locale,I))}return String(y)}var g=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function F(h,L,y,p){var R=h.locale,S=h.formats,I=h.onError,N=h.timeZone;p===void 0&&(p={});var U=p.format,le=(0,r.pi)((0,r.pi)({},N&&{timeZone:N}),U&&(0,O.TB)(S,L,U,I)),K=(0,O.L6)(p,g,le);return L==="time"&&!K.hour&&!K.minute&&!K.second&&!K.timeStyle&&!K.dateStyle&&(K=(0,r.pi)((0,r.pi)({},K),{hour:"numeric",minute:"numeric"})),y(R,K)}function W(h,L){for(var y=[],p=2;p<arguments.length;p++)y[p-2]=arguments[p];var R=y[0],S=y[1],I=S===void 0?{}:S,N=typeof R=="string"?new Date(R||0):R;try{return F(h,"date",L,I).format(N)}catch(U){h.onError(new w.Rw(w.bc.FORMAT_ERROR,"Error formatting date.",U))}return String(N)}function ne(h,L){for(var y=[],p=2;p<arguments.length;p++)y[p-2]=arguments[p];var R=y[0],S=y[1],I=S===void 0?{}:S,N=typeof R=="string"?new Date(R||0):R;try{return F(h,"time",L,I).format(N)}catch(U){h.onError(new w.Rw(w.bc.FORMAT_ERROR,"Error formatting time.",U))}return String(N)}function ee(h,L){for(var y=[],p=2;p<arguments.length;p++)y[p-2]=arguments[p];var R=y[0],S=y[1],I=y[2],N=I===void 0?{}:I,U=h.timeZone,le=h.locale,K=h.onError,he=(0,O.L6)(N,g,U?{timeZone:U}:{});try{return L(le,he).formatRange(R,S)}catch(ye){K(new w.Rw(w.bc.FORMAT_ERROR,"Error formatting date time range.",ye))}return String(R)}function oe(h,L){for(var y=[],p=2;p<arguments.length;p++)y[p-2]=arguments[p];var R=y[0],S=y[1],I=S===void 0?{}:S,N=typeof R=="string"?new Date(R||0):R;try{return F(h,"date",L,I).formatToParts(N)}catch(U){h.onError(new w.Rw(w.bc.FORMAT_ERROR,"Error formatting date.",U))}return[]}function ie(h,L){for(var y=[],p=2;p<arguments.length;p++)y[p-2]=arguments[p];var R=y[0],S=y[1],I=S===void 0?{}:S,N=typeof R=="string"?new Date(R||0):R;try{return F(h,"time",L,I).formatToParts(N)}catch(U){h.onError(new w.Rw(w.bc.FORMAT_ERROR,"Error formatting time.",U))}return[]}var pe=["type"];function ge(h,L,y,p){var R=h.locale,S=h.onError;p===void 0&&(p={}),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 I=(0,O.L6)(p,pe);try{return L(R,I).select(y)}catch(N){S(new w.Qe("Error formatting plural.",R,N))}return"other"}var de=["type","style"],se=Date.now();function be(h){return"".concat(se,"_").concat(h,"_").concat(se)}function Re(h,L,y,p){p===void 0&&(p={});var R=Me(h,L,y,p).reduce(function(S,I){var N=I.value;return typeof N!="string"?S.push(N):typeof S[S.length-1]=="string"?S[S.length-1]+=N:S.push(N),S},[]);return R.length===1?R[0]:R.length===0?"":R}function Me(h,L,y,p){var R=h.locale,S=h.onError;p===void 0&&(p={});var I=Intl.ListFormat;I||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)(p,de);try{var U={},le=y.map(function(K,he){if(typeof K=="object"){var ye=be(he);return U[ye]=K,ye}return String(K)});return L(R,N).formatToParts(le).map(function(K){return K.type==="literal"?K:(0,r.pi)((0,r.pi)({},K),{value:U[K.value]||K.value})})}catch(K){S(new w.Rw(w.bc.FORMAT_ERROR,"Error formatting list.",K))}return y}var Ve=["style","type","fallback","languageDisplay"];function We(h,L,y,p){var R=h.locale,S=h.onError,I=Intl.DisplayNames;I||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)(p,Ve);try{return L(R,N).of(y)}catch(U){S(new w.Rw(w.bc.FORMAT_ERROR,"Error formatting display name.",U))}}function ke(h){var L=h?h[Object.keys(h)[0]]:void 0;return typeof L=="string"}function Ge(h){h.onWarn&&h.defaultRichTextElements&&ke(h.messages||{})&&h.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
23
- Please consider using "@formatjs/cli" to pre-compile your messages for performance.
24
- For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function Be(h,L){var y=(0,O.ax)(L),p=(0,r.pi)((0,r.pi)({},O.Z0),h),R=p.locale,S=p.defaultLocale,I=p.onError;return R?!Intl.NumberFormat.supportedLocalesOf(R).length&&I?I(new w.gb('Missing locale data for locale: "'.concat(R,'" 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(R).length&&I&&I(new w.gb('Missing locale data for locale: "'.concat(R,'" in Intl.DateTimeFormat. Using default locale: "').concat(S,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(I&&I(new w.OV('"locale" was not configured, using "'.concat(S,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),p.locale=p.defaultLocale||"en"),Ge(p),(0,r.pi)((0,r.pi)({},p),{formatters:y,formatNumber:D.bind(null,p,y.getNumberFormat),formatNumberToParts:b.bind(null,p,y.getNumberFormat),formatRelativeTime:s.bind(null,p,y.getRelativeTimeFormat),formatDate:W.bind(null,p,y.getDateTimeFormat),formatDateToParts:oe.bind(null,p,y.getDateTimeFormat),formatTime:ne.bind(null,p,y.getDateTimeFormat),formatDateTimeRange:ee.bind(null,p,y.getDateTimeFormat),formatTimeToParts:ie.bind(null,p,y.getDateTimeFormat),formatPlural:ge.bind(null,p,y.getPluralRules),formatMessage:Z.bind(null,p,y),$t:Z.bind(null,p,y),formatList:Re.bind(null,p,y.getListFormat),formatListToParts:Me.bind(null,p,y.getListFormat),formatDisplayName:We.bind(null,p,y.getDisplayNames)})}var Ee=o(33961);function Se(h){return{locale:h.locale,timeZone:h.timeZone,fallbackOnEmptyString:h.fallbackOnEmptyString,formats:h.formats,textComponent:h.textComponent,messages:h.messages,defaultLocale:h.defaultLocale,defaultFormats:h.defaultFormats,onError:h.onError,onWarn:h.onWarn,wrapRichTextChunksInFragment:h.wrapRichTextChunksInFragment,defaultRichTextElements:h.defaultRichTextElements}}function Te(h){return h&&Object.keys(h).reduce(function(L,y){var p=h[y];return L[y]=(0,Ee.Gt)(p)?(0,v.dt)(p):p,L},{})}var Ae=function(h,L,y,p){for(var R=[],S=4;S<arguments.length;S++)R[S-4]=arguments[S];var I=Te(p),N=Z.apply(void 0,(0,r.ev)([h,L,y,I],R,!1));return Array.isArray(N)?u.Children.toArray(N):N},Oe=function(h,L){var y=h.defaultRichTextElements,p=(0,r._T)(h,["defaultRichTextElements"]),R=Te(y),S=Be((0,r.pi)((0,r.pi)((0,r.pi)({},v.Z0),p),{defaultRichTextElements:R}),L),I={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:R};return(0,r.pi)((0,r.pi)({},S),{formatMessage:Ae.bind(null,I,S.formatters),$t:Ae.bind(null,I,S.formatters)})},Ze=function(h){(0,r.ZT)(L,h);function L(){var y=h!==null&&h.apply(this,arguments)||this;return y.cache=(0,O.Sn)(),y.state={cache:y.cache,intl:Oe(Se(y.props),y.cache),prevConfig:Se(y.props)},y}return L.getDerivedStateFromProps=function(y,p){var R=p.prevConfig,S=p.cache,I=Se(y);return(0,v.wU)(R,I)?null:{intl:Oe(I,S),prevConfig:I}},L.prototype.render=function(){return(0,v.lq)(this.state.intl),u.createElement(C.zt,{value:this.state.intl},this.props.children)},L.displayName="IntlProvider",L.defaultProps=v.Z0,L}(u.PureComponent),De=Ze},86113:function(j,P,o){"use strict";o.d(P,{S:function(){return J}});var r=o(20011),u=o(17209),C=o(23788),v=o(6265),E=o(52510),T=o(68143),w=function(){function D(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=D.prototype;return b.setOptions=function(a){var i;this.options=(0,r.Z)({},this.defaultOptions,a),this.cacheTime=Math.max(this.cacheTime||0,(i=this.options.cacheTime)!=null?i:5*60*1e3)},b.setDefaultOptions=function(a){this.defaultOptions=a},b.scheduleGc=function(){var a=this;this.clearGcTimeout(),(0,u.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout(function(){a.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(a,i){var s,g,F=this.state.data,W=(0,u.SE)(a,F);return(s=(g=this.options).isDataEqual)!=null&&s.call(g,F,W)?W=F:this.options.structuralSharing!==!1&&(W=(0,u.Q$)(F,W)),this.dispatch({data:W,type:"success",dataUpdatedAt:i?.updatedAt}),W},b.setState=function(a,i){this.dispatch({type:"setState",state:a,setStateOptions:i})},b.cancel=function(a){var i,s=this.promise;return(i=this.retryer)==null||i.cancel(a),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(a){return a.options.enabled!==!1})},b.isFetching=function(){return this.state.isFetching},b.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(function(a){return a.getCurrentResult().isStale})},b.isStaleByTime=function(a){return a===void 0&&(a=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,u.Kp)(this.state.dataUpdatedAt,a)},b.onFocus=function(){var a,i=this.observers.find(function(s){return s.shouldFetchOnWindowFocus()});i&&i.refetch(),(a=this.retryer)==null||a.continue()},b.onOnline=function(){var a,i=this.observers.find(function(s){return s.shouldFetchOnReconnect()});i&&i.refetch(),(a=this.retryer)==null||a.continue()},b.addObserver=function(a){this.observers.indexOf(a)===-1&&(this.observers.push(a),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:a}))},b.removeObserver=function(a){this.observers.indexOf(a)!==-1&&(this.observers=this.observers.filter(function(i){return i!==a}),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:a}))},b.getObserversCount=function(){return this.observers.length},b.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},b.fetch=function(a,i){var s=this,g,F;if(this.state.isFetching){if(this.state.dataUpdatedAt&&i?.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return this.promise}if(a&&this.setOptions(a),!this.options.queryFn){var W=this.observers.find(function(de){return de.options.queryFn});W&&this.setOptions(W.options)}var ne=(0,u.mc)(this.queryKey),ee={queryKey:ne,pageParam:void 0},oe=function(){return s.options.queryFn?s.options.queryFn(ee):Promise.reject("Missing queryFn")},ie={fetchOptions:i,options:this.options,queryKey:ne,state:this.state,fetchFn:oe};if((g=this.options.behavior)!=null&&g.onFetch){var pe;(pe=this.options.behavior)==null||pe.onFetch(ie)}if(this.revertState=this.state,!this.state.isFetching||this.state.fetchMeta!==((F=ie.fetchOptions)==null?void 0:F.meta)){var ge;this.dispatch({type:"fetch",meta:(ge=ie.fetchOptions)==null?void 0:ge.meta})}return this.retryer=new T.m4({fn:ie.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,T.DV)(se)&&se.silent||s.dispatch({type:"error",error:se}),(0,T.DV)(se)||(s.cache.config.onError==null||s.cache.config.onError(se,s),(0,E.j)().error(se)),s.cacheTime===0&&s.optionalRemove()},onFail:function(){s.dispatch({type:"failed"})},onPause:function(){s.dispatch({type:"pause"})},onContinue:function(){s.dispatch({type:"continue"})},retry:ie.options.retry,retryDelay:ie.options.retryDelay}),this.promise=this.retryer.promise,this.promise},b.dispatch=function(a){var i=this;this.state=this.reducer(this.state,a),v.V.batch(function(){i.observers.forEach(function(s){s.onQueryUpdate(a)}),i.cache.notify({query:i,type:"queryUpdated",action:a})})},b.getDefaultState=function(a){var i=typeof a.initialData=="function"?a.initialData():a.initialData,s=typeof a.initialData<"u",g=s?typeof a.initialDataUpdatedAt=="function"?a.initialDataUpdatedAt():a.initialDataUpdatedAt:0,F=typeof i<"u";return{data:i,dataUpdateCount:0,dataUpdatedAt:F?g??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:F?"success":"idle"}},b.reducer=function(a,i){var s,g;switch(i.type){case"failed":return(0,r.Z)({},a,{fetchFailureCount:a.fetchFailureCount+1});case"pause":return(0,r.Z)({},a,{isPaused:!0});case"continue":return(0,r.Z)({},a,{isPaused:!1});case"fetch":return(0,r.Z)({},a,{fetchFailureCount:0,fetchMeta:(s=i.meta)!=null?s:null,isFetching:!0,isPaused:!1,status:a.dataUpdatedAt?a.status:"loading"});case"success":return(0,r.Z)({},a,{data:i.data,dataUpdateCount:a.dataUpdateCount+1,dataUpdatedAt:(g=i.dataUpdatedAt)!=null?g:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var F=i.error;return(0,T.DV)(F)&&F.revert&&this.revertState?(0,r.Z)({},this.revertState):(0,r.Z)({},a,{error:F,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,r.Z)({},a,{isInvalidated:!0});case"setState":return(0,r.Z)({},a,i.state);default:return a}},D}(),B=o(30128),k=function(D){(0,C.Z)(b,D);function b(a){var i;return i=D.call(this)||this,i.config=a||{},i.queries=[],i.queriesMap={},i}var c=b.prototype;return c.build=function(i,s,g){var F,W=s.queryKey,ne=(F=s.queryHash)!=null?F:(0,u.Rm)(W,s),ee=this.get(ne);return ee||(ee=new w({cache:this,queryKey:W,queryHash:ne,options:i.defaultQueryOptions(s),state:g,defaultOptions:i.getQueryDefaults(W)}),this.add(ee)),ee},c.add=function(i){this.queriesMap[i.queryHash]||(this.queriesMap[i.queryHash]=i,this.queries.push(i),this.notify({type:"queryAdded",query:i}))},c.remove=function(i){var s=this.queriesMap[i.queryHash];s&&(i.destroy(),this.queries=this.queries.filter(function(g){return g!==i}),s===i&&delete this.queriesMap[i.queryHash],this.notify({type:"queryRemoved",query:i}))},c.clear=function(){var i=this;v.V.batch(function(){i.queries.forEach(function(s){i.remove(s)})})},c.get=function(i){return this.queriesMap[i]},c.getAll=function(){return this.queries},c.find=function(i,s){var g=(0,u.I6)(i,s),F=g[0];return typeof F.exact>"u"&&(F.exact=!0),this.queries.find(function(W){return(0,u._x)(F,W)})},c.findAll=function(i,s){var g=(0,u.I6)(i,s),F=g[0];return F?this.queries.filter(function(W){return(0,u._x)(F,W)}):this.queries},c.notify=function(i){var s=this;v.V.batch(function(){s.listeners.forEach(function(g){g(i)})})},c.onFocus=function(){var i=this;v.V.batch(function(){i.queries.forEach(function(s){s.onFocus()})})},c.onOnline=function(){var i=this;v.V.batch(function(){i.queries.forEach(function(s){s.onOnline()})})},b}(B.l),V=o(7216),G=function(D){(0,C.Z)(b,D);function b(a){var i;return i=D.call(this)||this,i.config=a||{},i.mutations=[],i.mutationId=0,i}var c=b.prototype;return c.build=function(i,s,g){var F=new V.m({mutationCache:this,mutationId:++this.mutationId,options:i.defaultMutationOptions(s),state:g,defaultOptions:s.mutationKey?i.getMutationDefaults(s.mutationKey):void 0});return this.add(F),F},c.add=function(i){this.mutations.push(i),this.notify(i)},c.remove=function(i){this.mutations=this.mutations.filter(function(s){return s!==i}),i.cancel(),this.notify(i)},c.clear=function(){var i=this;v.V.batch(function(){i.mutations.forEach(function(s){i.remove(s)})})},c.getAll=function(){return this.mutations},c.find=function(i){return typeof i.exact>"u"&&(i.exact=!0),this.mutations.find(function(s){return(0,u.X7)(i,s)})},c.findAll=function(i){return this.mutations.filter(function(s){return(0,u.X7)(i,s)})},c.notify=function(i){var s=this;v.V.batch(function(){s.listeners.forEach(function(g){g(i)})})},c.onFocus=function(){this.resumePausedMutations()},c.onOnline=function(){this.resumePausedMutations()},c.resumePausedMutations=function(){var i=this.mutations.filter(function(s){return s.state.isPaused});return v.V.batch(function(){return i.reduce(function(s,g){return s.then(function(){return g.continue().catch(u.ZT)})},Promise.resolve())})},b}(B.l),Z=o(43596),O=o(8144),X=o(34215),J=function(){function D(c){c===void 0&&(c={}),this.queryCache=c.queryCache||new k,this.mutationCache=c.mutationCache||new G,this.defaultOptions=c.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var b=D.prototype;return b.mount=function(){var a=this;this.unsubscribeFocus=Z.j.subscribe(function(){Z.j.isFocused()&&O.N.isOnline()&&(a.mutationCache.onFocus(),a.queryCache.onFocus())}),this.unsubscribeOnline=O.N.subscribe(function(){Z.j.isFocused()&&O.N.isOnline()&&(a.mutationCache.onOnline(),a.queryCache.onOnline())})},b.unmount=function(){var a,i;(a=this.unsubscribeFocus)==null||a.call(this),(i=this.unsubscribeOnline)==null||i.call(this)},b.isFetching=function(a,i){var s=(0,u.I6)(a,i),g=s[0];return g.fetching=!0,this.queryCache.findAll(g).length},b.isMutating=function(a){return this.mutationCache.findAll((0,r.Z)({},a,{fetching:!0})).length},b.getQueryData=function(a,i){var s;return(s=this.queryCache.find(a,i))==null?void 0:s.state.data},b.getQueriesData=function(a){return this.getQueryCache().findAll(a).map(function(i){var s=i.queryKey,g=i.state,F=g.data;return[s,F]})},b.setQueryData=function(a,i,s){var g=(0,u._v)(a),F=this.defaultQueryOptions(g);return this.queryCache.build(this,F).setData(i,s)},b.setQueriesData=function(a,i,s){var g=this;return v.V.batch(function(){return g.getQueryCache().findAll(a).map(function(F){var W=F.queryKey;return[W,g.setQueryData(W,i,s)]})})},b.getQueryState=function(a,i){var s;return(s=this.queryCache.find(a,i))==null?void 0:s.state},b.removeQueries=function(a,i){var s=(0,u.I6)(a,i),g=s[0],F=this.queryCache;v.V.batch(function(){F.findAll(g).forEach(function(W){F.remove(W)})})},b.resetQueries=function(a,i,s){var g=this,F=(0,u.I6)(a,i,s),W=F[0],ne=F[1],ee=this.queryCache,oe=(0,r.Z)({},W,{active:!0});return v.V.batch(function(){return ee.findAll(W).forEach(function(ie){ie.reset()}),g.refetchQueries(oe,ne)})},b.cancelQueries=function(a,i,s){var g=this,F=(0,u.I6)(a,i,s),W=F[0],ne=F[1],ee=ne===void 0?{}:ne;typeof ee.revert>"u"&&(ee.revert=!0);var oe=v.V.batch(function(){return g.queryCache.findAll(W).map(function(ie){return ie.cancel(ee)})});return Promise.all(oe).then(u.ZT).catch(u.ZT)},b.invalidateQueries=function(a,i,s){var g,F,W,ne=this,ee=(0,u.I6)(a,i,s),oe=ee[0],ie=ee[1],pe=(0,r.Z)({},oe,{active:(g=(F=oe.refetchActive)!=null?F:oe.active)!=null?g:!0,inactive:(W=oe.refetchInactive)!=null?W:!1});return v.V.batch(function(){return ne.queryCache.findAll(oe).forEach(function(ge){ge.invalidate()}),ne.refetchQueries(pe,ie)})},b.refetchQueries=function(a,i,s){var g=this,F=(0,u.I6)(a,i,s),W=F[0],ne=F[1],ee=v.V.batch(function(){return g.queryCache.findAll(W).map(function(ie){return ie.fetch(void 0,{meta:{refetchPage:W?.refetchPage}})})}),oe=Promise.all(ee).then(u.ZT);return ne?.throwOnError||(oe=oe.catch(u.ZT)),oe},b.fetchQuery=function(a,i,s){var g=(0,u._v)(a,i,s),F=this.defaultQueryOptions(g);typeof F.retry>"u"&&(F.retry=!1);var W=this.queryCache.build(this,F);return W.isStaleByTime(F.staleTime)?W.fetch(F):Promise.resolve(W.state.data)},b.prefetchQuery=function(a,i,s){return this.fetchQuery(a,i,s).then(u.ZT).catch(u.ZT)},b.fetchInfiniteQuery=function(a,i,s){var g=(0,u._v)(a,i,s);return g.behavior=(0,X.Gm)(),this.fetchQuery(g)},b.prefetchInfiniteQuery=function(a,i,s){return this.fetchInfiniteQuery(a,i,s).then(u.ZT).catch(u.ZT)},b.cancelMutations=function(){var a=this,i=v.V.batch(function(){return a.mutationCache.getAll().map(function(s){return s.cancel()})});return Promise.all(i).then(u.ZT).catch(u.ZT)},b.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},b.executeMutation=function(a){return this.mutationCache.build(this,a).execute()},b.getQueryCache=function(){return this.queryCache},b.getMutationCache=function(){return this.mutationCache},b.getDefaultOptions=function(){return this.defaultOptions},b.setDefaultOptions=function(a){this.defaultOptions=a},b.setQueryDefaults=function(a,i){var s=this.queryDefaults.find(function(g){return(0,u.yF)(a)===(0,u.yF)(g.queryKey)});s?s.defaultOptions=i:this.queryDefaults.push({queryKey:a,defaultOptions:i})},b.getQueryDefaults=function(a){var i;return a?(i=this.queryDefaults.find(function(s){return(0,u.to)(a,s.queryKey)}))==null?void 0:i.defaultOptions:void 0},b.setMutationDefaults=function(a,i){var s=this.mutationDefaults.find(function(g){return(0,u.yF)(a)===(0,u.yF)(g.mutationKey)});s?s.defaultOptions=i:this.mutationDefaults.push({mutationKey:a,defaultOptions:i})},b.getMutationDefaults=function(a){var i;return a?(i=this.mutationDefaults.find(function(s){return(0,u.to)(a,s.mutationKey)}))==null?void 0:i.defaultOptions:void 0},b.defaultQueryOptions=function(a){if(a?._defaulted)return a;var i=(0,r.Z)({},this.defaultOptions.queries,this.getQueryDefaults(a?.queryKey),a,{_defaulted:!0});return!i.queryHash&&i.queryKey&&(i.queryHash=(0,u.Rm)(i.queryKey,i)),i},b.defaultQueryObserverOptions=function(a){return this.defaultQueryOptions(a)},b.defaultMutationOptions=function(a){return a?._defaulted?a:(0,r.Z)({},this.defaultOptions.mutations,this.getMutationDefaults(a?.mutationKey),a,{_defaulted:!0})},b.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},D}()},25855:function(j,P,o){"use strict";o.d(P,{b:function(){return s}});var r=o(74512),u=o(38705),C=o(69932);const v=g=>(0,r.jsx)("svg",{width:"1rem",height:"1rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...g,children:(0,r.jsx)("path",{d:"M12 0C5.383 0 0 5.383 0 12s5.383 12 12 12 12-5.383 12-12S18.617 0 12 0Zm0 4.92a1.56 1.56 0 1 1 0 3.12 1.56 1.56 0 0 1 0-3.12Zm3.84 13.06a.5.5 0 0 1-.5.5h-6.2a.5.5 0 0 1-.5-.5v-.92a.5.5 0 0 1 .5-.5h2.14v-5.28H9.86a.5.5 0 0 1-.5-.5v-.92a.5.5 0 0 1 .5-.5h2.84a.5.5 0 0 1 .5.5v6.7h2.14a.5.5 0 0 1 .5.5v.92Z",fill:"#212134"})}),E=v;var T=o(35331),w=o(8471);const B=({theme:g,variant:F})=>F==="danger"?g.colors.danger100:F==="success"?g.colors.success100:F==="warning"?g.colors.warning100:g.colors.primary100,k=({theme:g,variant:F})=>F==="danger"?g.colors.danger200:F==="success"?g.colors.success200:F==="warning"?g.colors.warning200:g.colors.primary200,V=({theme:g,variant:F})=>F==="danger"?g.colors.danger700:F==="success"?g.colors.success700:F==="warning"?g.colors.warning700:g.colors.primary700;var G=o(72850),Z=o(87933),O=o(30350),X=o(49372);const J=(0,w.ZP)(G.x)`
25
- flex: 1;
26
- flex-wrap: wrap;
27
- display: flex;
28
- flex-direction: row;
29
- `,D=(0,w.ZP)(G.x)`
30
- border: 1px solid ${k};
31
- background: ${B};
32
- box-shadow: ${({theme:g})=>g.shadows.filterShadow};
33
- `,b=w.ZP.button`
34
- border: none;
35
- background: transparent;
36
- font-size: ${12/16}rem;
37
- svg path {
38
- fill: ${({theme:g})=>g.colors.neutral700};
39
- }
40
- margin-top: ${({theme:g})=>g.spaces[1]};
41
- ${O.BF};
42
- `,c=(0,w.ZP)(G.x)`
43
- font-size: ${20/16}rem;
44
- svg path {
45
- fill: ${V};
46
- }
47
- `,a=({variant:g,...F})=>g==="success"?(0,r.jsx)(u.Z,{...F}):g==="danger"||g==="warning"?(0,r.jsx)(C.Z,{...F}):(0,r.jsx)(E,{...F}),i=(0,w.ZP)(G.x)`
48
- // Checked with the designers, validated
49
- padding-top: 1px;
50
-
51
- & a > span {
52
- color: ${V};
53
-
54
- svg path {
55
- fill: ${V};
56
- }
57
- }
58
- `,s=({title:g,children:F,variant:W="default",onClose:ne,closeLabel:ee,titleAs:oe="p",action:ie,...pe})=>(0,r.jsx)(D,{hasRadius:!0,paddingLeft:5,paddingRight:6,paddingTop:5,variant:W,...pe,children:(0,r.jsxs)(Z.k,{alignItems:"flex-start",children:[(0,r.jsx)(c,{paddingRight:3,variant:W,children:(0,r.jsx)(a,{variant:W,"aria-hidden":!0})}),(0,r.jsxs)(J,{role:W==="danger"?"alert":"status",children:[(0,r.jsx)(G.x,{paddingBottom:2,paddingRight:1,children:(0,r.jsx)(X.Z,{fontWeight:"bold",textColor:"neutral800",as:oe,children:g})}),(0,r.jsx)(G.x,{paddingBottom:ie?2:5,paddingRight:2,children:(0,r.jsx)(X.Z,{as:"p",textColor:"neutral800",children:F})}),ie&&(0,r.jsx)(i,{paddingBottom:5,variant:W,children:ie})]}),(0,r.jsx)(b,{onClick:ne,"aria-label":ee,children:(0,r.jsx)(T.Z,{"aria-hidden":!0})})]})})},17e3:function(j,P,o){"use strict";o.d(P,{D:function(){return v}});var r=o(32735),u=o(60216),C=o(72850);const v=({children:E})=>r.createElement(C.x,{paddingLeft:10,paddingRight:10},E);v.propTypes={children:u.node.isRequired}},82055:function(j,P,o){"use strict";o.d(P,{T:function(){return G}});var r=o(32735),u=o(60216),C=o(8471),v=o(72850),E=o(87933);const T=X=>{const J=(0,r.useRef)(null),[D,b]=(0,r.useState)(!0),c=([a])=>{b(a.isIntersecting)};return(0,r.useEffect)(()=>{const a=J.current,i=new IntersectionObserver(c,X);return a&&i.observe(J.current),()=>{a&&i.disconnect()}},[J,X]),[J,D]};var w=o(63060);const B=(X,J)=>{const D=(0,w.W)(J);(0,r.useLayoutEffect)(()=>{const b=new ResizeObserver(D);return Array.isArray(X)?X.forEach(c=>{c.current&&b.observe(c.current)}):X.current&&b.observe(X.current),()=>{b.disconnect()}},[X,D])};var k=o(49372);const V=()=>{const X=(0,r.useRef)(null),[J,D]=(0,r.useState)(null),[b,c]=T({root:null,rootMargin:"0px",threshold:0});return B(b,()=>{b.current&&D(b.current.getBoundingClientRect())}),(0,r.useEffect)(()=>{X.current&&D(X.current.getBoundingClientRect())},[X]),{containerRef:b,isVisible:c,baseHeaderLayoutRef:X,headerSize:J}},G=X=>{const{containerRef:J,isVisible:D,baseHeaderLayoutRef:b,headerSize:c}=V();return r.createElement(r.Fragment,null,r.createElement("div",{style:{height:c?.height},ref:J},D&&r.createElement(O,{ref:b,...X})),!D&&r.createElement(O,{...X,sticky:!0,width:c?.width}))};G.displayName="HeaderLayout";const Z=(0,C.ZP)(v.x)`
59
- width: ${X=>X.width}px;
60
- `,O=r.forwardRef(({navigationAction:X,primaryAction:J,secondaryAction:D,subtitle:b,title:c,sticky:a,width:i,...s},g)=>{const F=typeof b=="string";return a?r.createElement(Z,{paddingLeft:6,paddingRight:6,paddingTop:3,paddingBottom:3,position:"fixed",top:0,right:0,background:"neutral0",shadow:"tableShadow",width:i,zIndex:4,"data-strapi-header-sticky":!0},r.createElement(E.k,{justifyContent:"space-between"},r.createElement(E.k,null,X&&r.createElement(v.x,{paddingRight:3},X),r.createElement(v.x,null,r.createElement(k.Z,{variant:"beta",as:"h1",...s},c),F?r.createElement(k.Z,{variant:"pi",textColor:"neutral600"},b):b),D?r.createElement(v.x,{paddingLeft:4},D):null),r.createElement(E.k,null,J?r.createElement(v.x,{paddingLeft:2},J):void 0))):r.createElement(v.x,{ref:g,paddingLeft:10,paddingRight:10,paddingBottom:8,paddingTop:X?6:8,background:"neutral100","data-strapi-header":!0},X?r.createElement(v.x,{paddingBottom:2},X):null,r.createElement(E.k,{justifyContent:"space-between"},r.createElement(E.k,{minWidth:0},r.createElement(k.Z,{as:"h1",variant:"alpha",...s},c),D?r.createElement(v.x,{paddingLeft:4},D):null),J),F?r.createElement(k.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},G.defaultProps={navigationAction:void 0,primaryAction:void 0,secondaryAction:void 0,subtitle:void 0},G.propTypes={navigationAction:u.node,primaryAction:u.node,secondaryAction:u.node,subtitle:u.oneOfType([u.string,u.node]),title:u.string.isRequired}},27649:function(j,P,o){"use strict";o.d(P,{o:function(){return E}});var r=o(32735),u=o(60216),C=o(8471);const v=C.ZP.main`
61
- // To prevent global outline on focus visible to force an outline when Main is focused
62
- &:focus-visible {
63
- outline: none;
64
- }
65
- `,E=({labelledBy:T,...w})=>{const B=T||"main-content-title";return r.createElement(v,{"aria-labelledby":B,id:"main-content",tabIndex:-1,...w})};E.defaultProps={labelledBy:void 0},E.propTypes={labelledBy:u.string}},10728:function(j,P,o){"use strict";o.d(P,{z:function(){return T}});var r=o(32735),u=o(60216),C=o(8471),v=o(72850);const E=(0,C.ZP)(v.x)`
66
- text-decoration: none;
67
- z-index: 9999;
68
- left: -100%;
69
- top: -100%;
70
-
71
- &:focus {
72
- left: ${({theme:w})=>w.spaces[3]};
73
- top: ${({theme:w})=>w.spaces[3]};
74
- }
75
- `,T=({children:w})=>r.createElement(E,{as:"a",href:"#main-content",background:"primary600",color:"neutral0",padding:3,position:"absolute",hasRadius:!0},w);T.propTypes={children:u.node.isRequired}},86861:function(j,P,o){"use strict";o.d(P,{f:function(){return w}});var r=o(74512),u=o(8471),C=o(39144),v=o(3685);const E=()=>(0,r.jsxs)(v.T,{children:[(0,r.jsx)("p",{role:"log","aria-live":"polite",id:C.V.Log,"aria-relevant":"all"}),(0,r.jsx)("p",{role:"status","aria-live":"polite",id:C.V.Status,"aria-relevant":"all"}),(0,r.jsx)("p",{role:"alert","aria-live":"assertive",id:C.V.Alert,"aria-relevant":"all"})]}),T=u.vJ`
76
- /* http://meyerweb.com/eric/tools/css/reset/
77
- v2.0 | 20110126
78
- License: none (public domain)
79
- */
80
- html,
81
- body,
82
- div,
83
- span,
84
- applet,
85
- object,
86
- iframe,
87
- h1,
88
- h2,
89
- h3,
90
- h4,
91
- h5,
92
- h6,
93
- p,
94
- blockquote,
95
- pre,
96
- a,
97
- abbr,
98
- acronym,
99
- address,
100
- big,
101
- cite,
102
- code,
103
- del,
104
- dfn,
105
- em,
106
- img,
107
- ins,
108
- kbd,
109
- q,
110
- s,
111
- samp,
112
- small,
113
- strike,
114
- strong,
115
- sub,
116
- sup,
117
- tt,
118
- var,
119
- b,
120
- u,
121
- i,
122
- center,
123
- dl,
124
- dt,
125
- dd,
126
- ol,
127
- ul,
128
- li,
129
- fieldset,
130
- form,
131
- label,
132
- legend,
133
- table,
134
- caption,
135
- tbody,
136
- tfoot,
137
- thead,
138
- tr,
139
- th,
140
- td,
141
- article,
142
- aside,
143
- canvas,
144
- details,
145
- embed,
146
- figure,
147
- figcaption,
148
- footer,
149
- header,
150
- hgroup,
151
- menu,
152
- nav,
153
- output,
154
- ruby,
155
- section,
156
- summary,
157
- time,
158
- mark,
159
- audio,
160
- video {
161
- margin: 0;
162
- padding: 0;
163
- border: 0;
164
- font-size: 100%;
165
- font: inherit;
166
- vertical-align: baseline;
167
- }
168
- /* HTML5 display-role reset for older browsers */
169
- article,
170
- aside,
171
- details,
172
- figcaption,
173
- figure,
174
- footer,
175
- header,
176
- hgroup,
177
- menu,
178
- nav,
179
- section {
180
- display: block;
181
- }
182
- body {
183
- line-height: 1;
184
- }
185
- ol,
186
- ul {
187
- list-style: none;
188
- }
189
- blockquote,
190
- q {
191
- quotes: none;
192
- }
193
- blockquote:before,
194
- blockquote:after,
195
- q:before,
196
- q:after {
197
- content: "";
198
- content: none;
199
- }
200
- table {
201
- border-collapse: collapse;
202
- border-spacing: 0;
203
- }
204
- /* My styles */
205
- *,
206
- *:before,
207
- *:after {
208
- box-sizing: border-box;
209
- }
210
-
211
- *:focus-visible {
212
- outline: 2px solid ${({theme:B})=>B.colors.primary600};
213
- outline-offset: 2px;
214
- }
215
-
216
- /* Focusing the button with a mouse, touch, or stylus will show a subtle drop shadow. */
217
- *:focus:not(:focus-visible) {
218
- outline: none;
219
- }
220
-
221
- body,html{
222
- height: 100%;
223
- }
224
- body {
225
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
226
- }
227
-
228
- button {
229
- margin: 0;
230
- padding: 0;
231
- border: none;
232
- background: none;
233
- color: inherit;
234
- font-size: 100%;
235
- cursor: pointer;
236
- font: inherit;
237
- }
238
-
239
- textarea,input {
240
- font: inherit;
241
- }
242
-
243
- .lock-body-scroll {
244
- height: 100vh;
245
- overflow-y: hidden;
246
- }
247
- `,w=({children:B,theme:k})=>(0,r.jsxs)(u.f6,{theme:k,children:[(0,r.jsx)(T,{}),B,(0,r.jsx)(E,{})]})},18998:function(j,P,o){"use strict";o.d(P,{x:function(){return u}});var r=o(78542);const u={sizes:r.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(j,P,o){"use strict";o.d(P,{$:function(){return v}});const r={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 C=o(18998);const v={colors:r.color,shadows:u.shadow,...C.x}},12301:function(j,P,o){"use strict";o.d(P,{W:function(){return v}});const r={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 C=o(18998);const v={colors:r.color,shadows:u.shadow,...C.x}},8482:function(j,P,o){"use strict";o.d(P,{Z:function(){return C}});var r=o(74512);const u=v=>(0,r.jsx)("svg",{width:"1rem",height:"1rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...v,children:(0,r.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"})}),C=u},38705:function(j,P,o){"use strict";o.d(P,{Z:function(){return C}});var r=o(74512);const u=v=>(0,r.jsx)("svg",{width:"1rem",height:"1rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...v,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Zm-1.438-11.066L16.158 7.5 18 9.245l-7.438 7.18-4.462-4.1 1.84-1.745 2.622 2.354Z",fill:"#212134"})}),C=u},45112:function(j,P,o){"use strict";o.d(P,{Z:function(){return C}});var r=o(74512);const u=v=>(0,r.jsx)("svg",{width:"1rem",height:"1rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...v,children:(0,r.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"})}),C=u},2287:function(j,P,o){"use strict";o.d(P,{Z:function(){return C}});var r=o(74512);const u=v=>(0,r.jsx)("svg",{width:"1rem",height:"1rem",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...v,children:(0,r.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"})}),C=u},44647:function(j,P,o){"use strict";o.d(P,{Z:function(){return C}});var r=o(74512);const u=v=>(0,r.jsx)("svg",{width:"1rem",height:"1rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...v,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.681 2.804A9.64 9.64 0 0 0 11.818 2C6.398 2 2 6.48 2 12c0 5.521 4.397 10 9.818 10 2.03 0 4.011-.641 5.67-1.835a9.987 9.987 0 0 0 3.589-4.831 1.117 1.117 0 0 0-.664-1.418 1.086 1.086 0 0 0-1.393.676 7.769 7.769 0 0 1-2.792 3.758 7.546 7.546 0 0 1-4.41 1.428V4.222h.002a7.492 7.492 0 0 1 3.003.625 7.61 7.61 0 0 1 2.5 1.762l.464.551-2.986 3.042a.186.186 0 0 0 .129.316H22V3.317a.188.188 0 0 0-.112-.172.179.179 0 0 0-.199.04l-2.355 2.4-.394-.468-.02-.02a9.791 9.791 0 0 0-3.239-2.293Zm-3.863 1.418V2v2.222Zm0 0v15.556c-4.216 0-7.636-3.484-7.636-7.778s3.42-7.777 7.636-7.778Z",fill:"#212134"})}),C=u},36919:function(j,P,o){"use strict";o.d(P,{Z:function(){return C}});var r=o(74512);const u=v=>(0,r.jsx)("svg",{width:"1rem",height:"1rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...v,children:(0,r.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"})}),C=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 Kt}});var e=n(32735),s=n(43383),O=n(20108),C=n(33795),b=n.n(C),I={i8:"4.10.1"},T=n(67927),f=n(53038),y=n(15062),N=n(74506),$=n(51968),z=n(88311),se=n.n(z),xe=n(58107),M=n(8471),be=n(60216),r=n.n(be),B=n(67879),m=n(87933),re=n(71933),V=n(67563),De=n(50563),P=n(72850),H=n(41415),ie=n(35331);const ke=(0,M.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
- `,le=({onClose:t,onSkip:a,children:o,hideSkip:i})=>{const{formatMessage:p}=(0,B.Z)();return e.createElement(re.h,null,e.createElement(ke,{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:d=>d.stopPropagation()},e.createElement(m.k,{justifyContent:"flex-end"},e.createElement(De.h,{onClick:t,"aria-label":p({id:"app.utils.close-label",defaultMessage:"Close"}),icon:e.createElement(ie.Z,null)})),e.createElement(P.x,{paddingLeft:7,paddingRight:7,paddingBottom:i?8:0},o),!i&&e.createElement(m.k,{justifyContent:"flex-end"},e.createElement(H.z,{variant:"tertiary",onClick:a},p({id:"app.components.GuidedTour.skip",defaultMessage:"Skip the tour"})))))))};le.propTypes={children:r().node.isRequired,onClose:r().func.isRequired,onSkip:r().func.isRequired,hideSkip:r().bool.isRequired};var Ze=le,ce=n(97889);const de={stepContent:null,sectionIndex:null,stepIndex:null,hasSectionAfter:!1,hasStepAfter:!1};var Be=(t=de,a)=>(0,ce.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}}),E=n(49372),ue=n(8482);const We=M.ZP.li`
8
- list-style: disc;
9
- &::marker {
10
- color: ${({theme:t})=>t.colors.neutral800};
11
- }
12
- `,pe=({id:t,defaultMessage:a})=>{const{formatMessage:o}=(0,B.Z)();return e.createElement(m.k,{direction:"column",alignItems:"stretch",gap:4,paddingBottom:6},o({id:t,defaultMessage:a},{documentationLink:Ge,b:Ne,p:Ue,light:Fe,ul:je,li:Qe}))},Ge=t=>e.createElement(E.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),Ne=t=>e.createElement(E.Z,{fontWeight:"semiBold"},t),Ue=t=>e.createElement(E.Z,null,t),Fe=t=>e.createElement(E.Z,{textColor:"neutral600"},t),je=t=>e.createElement(P.x,{paddingLeft:6},e.createElement("ul",null,t)),Qe=t=>e.createElement(We,null,t);pe.propTypes={id:r().string.isRequired,defaultMessage:r().string.isRequired};var $e=pe,Y=n(78024),ze=n(14317);const J=({number:t,last:a,type:o})=>e.createElement(P.x,{paddingTop:3,paddingBottom:a?0:3},e.createElement(ze.Z,{number:t,type:o}));J.defaultProps={number:void 0,last:!1,type:""},J.propTypes={number:r().number,last:r().bool,type:r().string};var me=J,W=n(23678);const w=({title:t,content:a,cta:o,onCtaClick:i,sectionIndex:p,stepIndex:d,hasSectionAfter:h})=>{const{formatMessage:u}=(0,B.Z)(),g=p>0,c=d>0,v=p+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(Y.Z,{type:W.hx,minHeight:(0,s.Q1)(24)})),e.createElement(E.Z,{variant:"sigma",textColor:"primary600"},u({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(me,{number:p+1,type:c?W.hx:W.lW})),e.createElement(E.Z,{variant:"alpha",fontWeight:"bold",textColor:"neutral800",as:"h3",id:"title"},u(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(Y.Z,{type:W.hx}),c&&e.createElement(me,{number:v+1,type:W.lW,last:!0}))),e.createElement(P.x,null,e.createElement($e,{...a}),o&&(o.target?e.createElement(s.Qj,{endIcon:e.createElement(ue.Z,null),onClick:i,to:o.target},u(o.title)):e.createElement(H.z,{endIcon:e.createElement(ue.Z,null),onClick:i},u(o.title))))),c&&h&&e.createElement(P.x,{paddingTop:3},e.createElement(m.k,{marginRight:8,justifyContent:"center",width:(0,s.Q1)(30)},e.createElement(Y.Z,{type:W.hx,minHeight:(0,s.Q1)(24)}))))};w.defaultProps={currentStep:null,cta:void 0},w.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 Ke=w,Ve=()=>{const{currentStep:t,guidedTourState:a,setCurrentStep:o,setStepState:i,isGuidedTourVisible:p,setSkipped:d}=(0,s.c1)(),[h,u]=(0,e.useState)(t),[{stepContent:g,sectionIndex:c,stepIndex:v,hasSectionAfter:D,hasStepAfter:L},F]=(0,e.useReducer)(Be,de),{trackUsage:G}=(0,s.rS)();(0,e.useEffect)(()=>{if(!t){u(!1);return}const[k]=se()(a,t);u(!k&&p)},[t,a,p]),(0,e.useEffect)(()=>{if(t){const[k]=se()(xe.Z,t),x=Object.keys(a),[A,l]=t.split("."),Z=x.indexOf(A),K=Object.keys(a[A]).indexOf(l),ne=Z<x.length-1,ae=K<Object.keys(a[A]).length-1;F({type:"UPDATE_MODAL",content:k,newSectionIndex:Z,newStepIndex:K,newHasSectionAfter:ne,newHasStepAfter:ae})}},[t,a]);const R=()=>{i(t,!0),G(g.trackingEvent),o(null)},j=()=>{d(!0),o(null),G("didSkipGuidedtour")};return h&&g?e.createElement(Ze,{hideSkip:!L&&!D,onSkip:j,onClose:R},e.createElement(Ke,{...g,onCtaClick:R,currentStep:t,sectionIndex:c,stepIndex:v,hasSectionAfter:D})):null},U=n(14911),ge=n(9026),He=n(15300),Ye=n(61450),Je=n(1897),X=n(78464),he=n(42889),we=n(25390),Xe=n(64838),qe=n(9371),_e=n(73165),et=n(92967);const tt=(0,M.ZP)(P.x)`
13
- width: ${150/16}rem;
14
- position: absolute;
15
- bottom: ${({theme:t})=>t.spaces[9]};
16
- left: ${({theme:t})=>t.spaces[5]};
17
- `,fe=(0,M.ZP)(U.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
- `,Ee=({generalSectionLinks:t,pluginsSectionLinks:a})=>{const o=(0,e.useRef)(),[i,p]=(0,e.useState)(!1),{logos:{menu:d}}=(0,T.um)(),[h,u]=(0,s.Yw)("navbar-condensed",!1),{userDisplayName:g}=(0,s.QI)(),{formatMessage:c}=(0,B.Z)(),{trackUsage:v}=(0,s.rS)(),{pathname:D}=(0,f.TH)(),L=(0,f.k6)(),{post:F}=(0,s.tg)(),G=g.split(" ").map(l=>l.substring(0,1)).join("").substring(0,2),R=()=>p(l=>!l),j=async()=>{await F("/admin/logout"),s.I8.clearAppStorage(),R(),L.push("/auth/login")},k=l=>{!l.currentTarget.contains(l.relatedTarget)&&l.relatedTarget?.parentElement?.id!=="main-nav-user-button"&&p(!1)},x=(l=null)=>{v("willNavigate",{from:D,to:l})},A=c({id:"app.components.LeftMenu.navbrand.title",defaultMessage:"Strapi Dashboard"});return e.createElement(He.$,{condensed:h},e.createElement(Ye.D,{as:U.OL,workplace:c({id:"app.components.LeftMenu.navbrand.workplace",defaultMessage:"Workplace"}),title:A,icon:e.createElement("img",{src:d.custom||d.default,alt:c({id:"app.components.LeftMenu.logo.alt",defaultMessage:"Application logo"})})}),e.createElement(ge.i,null),e.createElement(Je._,null,e.createElement(X.O,{as:U.OL,to:"/content-manager",icon:e.createElement(_e.Z,null),onClick:()=>x("/content-manager")},c({id:"global.content-manager",defaultMessage:"Content manager"})),a.length>0?e.createElement(he.y,{label:c({id:"app.components.LeftMenu.plugins",defaultMessage:"Plugins"})},a.map(l=>{const Z=l.icon;return e.createElement(X.O,{as:U.OL,to:l.to,key:l.to,icon:e.createElement(Z,null),onClick:()=>x(l.to)},c(l.intlLabel))})):null,t.length>0?e.createElement(he.y,{label:c({id:"app.components.LeftMenu.general",defaultMessage:"General"})},t.map(l=>{const Z=l.icon;return e.createElement(X.O,{as:U.OL,badgeContent:l.notificationsCount>0&&l.notificationsCount.toString()||void 0,to:l.to,key:l.to,icon:e.createElement(Z,null),onClick:()=>x(l.to)},c(l.intlLabel))})):null),e.createElement(we.q,null,e.createElement(Xe.r,{id:"main-nav-user-button",ref:o,onClick:R,initials:G},g),i&&e.createElement(tt,{onBlur:k,padding:1,shadow:"tableShadow",background:"neutral0",hasRadius:!0},e.createElement(V.i,{onEscape:R},e.createElement(m.k,{direction:"column",alignItems:"stretch",gap:0},e.createElement(fe,{tabIndex:0,onClick:R,to:"/me"},e.createElement(E.Z,null,c({id:"global.profile",defaultMessage:"Profile"}))),e.createElement(fe,{tabIndex:0,onClick:j,logout:"logout",to:"/auth/login"},e.createElement(E.Z,{textColor:"danger600"},c({id:"app.components.LeftMenu.logout",defaultMessage:"Logout"})),e.createElement(et.Z,null))))),e.createElement(qe.w,{onClick:()=>u(l=>!l)},c(h?{id:"app.components.LeftMenu.expand",defaultMessage:"Expand the navbar"}:{id:"app.components.LeftMenu.collapse",defaultMessage:"Collapse the navbar"}))))};Ee.propTypes={generalSectionLinks:r().array.isRequired,pluginsSectionLinks:r().array.isRequired};var nt=Ee,at=n(10728);const ot=(0,M.ZP)(P.x)`
36
- flex: 1;
37
- `,ye=({children:t,sideNav:a})=>{const{formatMessage:o}=(0,B.Z)();return e.createElement(P.x,{background:"neutral100"},e.createElement(at.z,null,o({id:"skipToContent",defaultMessage:"Skip to content"})),e.createElement(m.k,{alignItems:"flex-start"},a,e.createElement(ot,null,t)))};ye.propTypes={children:r().node.isRequired,sideNav:r().node.isRequired};var st=ye,q=n(8997),rt=n(26648),_=n(99140),it=n(28351),lt=n(3685),ct=n(45323),dt=n(29685),ut=n(2438),pt=n.p+"19eb2dfcf2603eb55733.png",mt=n(37272),gt=n(78429);const ht=[{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"}],ve={href:"https://www.youtube.com/playlist?list=PL7Q0DQYATmvidz6lEmwE5nIcOAYagxWqq",label:{id:"app.components.Onboarding.link.more-videos",defaultMessage:"Watch more videos"}},ft=[{label:{id:"global.documentation",defaultMessage:"documentation"},href:"https://docs.strapi.io",icon:mt.Z},{label:{id:"app.static.links.cheatsheet",defaultMessage:"cheatsheet"},href:"https://strapi-showcase.s3-us-west-2.amazonaws.com/CheatSheet.pdf",icon:gt.Z}],Et=(0,M.ZP)(H.z)`
38
- border-radius: 50%;
39
- padding: ${({theme:t})=>t.spaces[3]};
40
- /* Resetting 2rem height defined by Button component */
41
- height: 100%;
42
- `,yt=(0,M.ZP)(m.k)`
43
- transform: translate(-50%, -50%);
44
- `,vt=(0,M.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
- ${E.Z}:first-child {
56
- color: ${({theme:t})=>t.colors.primary500};
57
- }
58
-
59
- /* Hover style for the label */
60
- ${E.Z}:nth-child(1) {
61
- color: ${({theme:t})=>t.colors.primary600};
62
- }
63
- }
64
- `,Ct=M.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
- `,Ce=(0,M.ZP)(E.Z)`
71
- /* line height of label and watch more to 1 so they can be better aligned visually */
72
- line-height: 1;
73
- `,Te=(0,M.ZP)(Ce)`
74
- text-decoration: none;
75
-
76
- :hover {
77
- text-decoration: underline;
78
- }
79
- `;var Tt=()=>{const t=(0,e.useRef)(),[a,o]=(0,e.useState)(!1),{formatMessage:i}=(0,B.Z)(),{communityEdition:p}=(0,s.QI)(),d=()=>{o(u=>!u)},h=[...ft,{label:{id:"Settings.application.get-help",defaultMessage:"Get help"},icon:ct.Z,href:p?"https://discord.strapi.io":"https://support.strapi.io/support/home"}];return e.createElement(P.x,{as:"aside",position:"fixed",bottom:2,right:2},e.createElement(Et,{"aria-label":i(a?{id:"app.components.Onboarding.help.button-close",defaultMessage:"Close help menu"}:{id:"app.components.Onboarding.help.button",defaultMessage:"Open help menu"}),onClick:d,ref:t},e.createElement(_.J,{as:a?ie.Z:dt.Z,color:"buttonNeutral0"})),a&&e.createElement(re.h,null,e.createElement(it.M.Content,{padding:0,source:t,placement:"top-end",spacing:12},e.createElement(V.i,{onEscape:d},e.createElement(m.k,{justifyContent:"space-between",paddingBottom:5,paddingRight:6,paddingLeft:6,paddingTop:6},e.createElement(Ce,{fontWeight:"bold"},i({id:"app.components.Onboarding.title",defaultMessage:"Get started videos"})),e.createElement(Te,{as:"a",href:ve.href,target:"_blank",rel:"noreferrer noopener",variant:"pi",textColor:"primary600"},i(ve.label))),e.createElement(ge.i,null),ht.map(({href:u,duration:g,label:c},v)=>e.createElement(vt,{as:"a",href:u,target:"_blank",rel:"noreferrer noopener",key:u,hasRadius:!0,paddingTop:4,paddingBottom:4,paddingLeft:6,paddingRight:11},e.createElement(P.x,{paddingRight:5},e.createElement(E.Z,{textColor:"neutral200",variant:"alpha"},v+1)),e.createElement(P.x,{position:"relative"},e.createElement(Ct,{src:pt,alt:""}),e.createElement(yt,{position:"absolute",top:"50%",left:"50%",background:"primary600",borderRadius:"50%",justifyContent:"center",width:6,height:6},e.createElement(_.J,{as:ut.Z,color:"buttonNeutral0",width:3,height:3}))),e.createElement(m.k,{direction:"column",alignItems:"start",paddingLeft:4},e.createElement(E.Z,{fontWeight:"bold"},i(c)),e.createElement(lt.T,null,":"),e.createElement(E.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:u,href:g,icon:c})=>e.createElement(m.k,{gap:3,key:g},e.createElement(_.J,{as:c,color:"primary600"}),e.createElement(Te,{as:"a",href:g,target:"_blank",rel:"noreferrer noopener",variant:"sigma",textColor:"primary700"},i(u)))))))))};const Mt=(0,e.lazy)(()=>Promise.all([n.e(462),n.e(1657),n.e(994)]).then(n.bind(n,25970))),Pt=(0,e.lazy)(()=>n.e(3981).then(n.bind(n,55129))),St=(0,e.lazy)(()=>n.e(3677).then(n.bind(n,15415))),It=(0,e.lazy)(()=>n.e(5516).then(n.bind(n,84538))),Me=(0,e.lazy)(()=>Promise.resolve().then(n.bind(n,53951))),Rt=(0,e.lazy)(()=>n.e(9501).then(n.bind(n,92336))),At=(0,e.lazy)(()=>n.e(9497).then(n.bind(n,9972))),Pe=(0,e.lazy)(()=>n.e(5895).then(n.bind(n,74750))),Ot=()=>{const{trackUsage:t}=(0,s.rS)(),a=(0,y.I0)(),o=(0,y.v9)(i=>i.admin_app.status);(0,e.useEffect)(()=>{o==="init"&&(t("didAccessAuthenticatedAdministration"),a({type:rt.e}))},[o])};var Lt=()=>{Ot();const{isLoading:t,generalSectionLinks:a,pluginsSectionLinks:o}=(0,T.H9)(),{menu:i}=(0,s.j1)(),{showTutorials:p}=(0,T.um)(),d=(0,e.useMemo)(()=>i.filter(h=>h.Component).map(({to:h,Component:u,exact:g})=>(0,q.ot)(u,h,g)),[i]);return t?e.createElement(s.dO,null):e.createElement(N.DndProvider,{backend:$.PD},e.createElement(st,{sideNav:e.createElement(nt,{generalSectionLinks:a,pluginsSectionLinks:o})},e.createElement(e.Suspense,{fallback:e.createElement(s.dO,null)},e.createElement(f.rs,null,e.createElement(f.AW,{path:"/",component:Pt,exact:!0}),e.createElement(f.AW,{path:"/me",component:At,exact:!0}),e.createElement(f.AW,{path:"/content-manager",component:Mt}),d,e.createElement(f.AW,{path:"/settings/:settingId",component:Pe}),e.createElement(f.AW,{path:"/settings",component:Pe,exact:!0}),e.createElement(f.AW,{path:"/marketplace"},e.createElement(It,null)),e.createElement(f.AW,{path:"/list-plugins",exact:!0},e.createElement(St,null)),e.createElement(f.AW,{path:"/404",component:Me}),e.createElement(f.AW,{path:"/500",component:Rt}),e.createElement(f.AW,{path:"",component:Me}))),e.createElement(Ve,null),p&&e.createElement(Tt,null)))},xt=t=>({plugins:Object.keys(t).reduce((a,o)=>(a[o]={...t[o]},a),{})}),bt=n(3040),Dt=n.n(bt);const Se={plugins:null};var kt=(t=Se,a)=>(0,ce.ZP)(t,o=>{switch(a.type){case"SET_PLUGIN_READY":{Dt()(o,["plugins",a.pluginId,"isReady"],!0);break}default:return o}}),Zt=()=>{const{plugins:t}=(0,s.j1)(),[{plugins:a},o]=(0,e.useReducer)(kt,Se,()=>xt(t)),i=(0,e.useRef)(d=>{o({type:"SET_PLUGIN_READY",pluginId:d})});if(Object.keys(a).some(d=>a[d].isReady===!1)){const d=Object.keys(a).reduce((h,u)=>{const g=a[u].initializer;if(g){const c=a[u].pluginId;h.push(e.createElement(g,{key:c,setPlugin:i.current}))}return h},[]);return e.createElement(e.Fragment,null,d,e.createElement(s.dO,null))}return e.createElement(Lt,null)},Ie=n(17367);const Bt=()=>({type:Ie.l}),Wt=t=>({type:Ie.m,permissions:t}),Re=({children:t,permissions:a,refetchPermissions:o})=>{const{allPermissions:i}=(0,y.v9)(d=>d.rbacProvider),p=(0,y.I0)();return(0,e.useEffect)(()=>(p(Wt(a)),()=>{p(Bt())}),[a,p]),i?e.createElement(s.oL.Provider,{value:{allPermissions:i,refetchPermissions:o}},t):e.createElement(s.dO,null)};Re.propTypes={children:r().element.isRequired,permissions:r().array.isRequired,refetchPermissions:r().func.isRequired};var Gt=Re,Nt=n(84306),Ut=n(54770),ee=n.n(Ut),Ae=(t,a)=>!ee().valid(t)||!ee().valid(a)?!1:ee().lt(t,a);const Oe=I.i8,Ft=!JSON.parse(localStorage.getItem("STRAPI_UPDATE_NOTIF")),{get:te}=(0,s.tg)(),jt=async t=>{try{const{data:{tag_name:a}}=await Nt.Z.get("https://api.github.com/repos/strapi/strapi/releases/latest");return Ae(Oe,a)&&Ft&&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 Oe}},Qt=async()=>{try{const{data:t,headers:a}=await te("/admin/information");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:t,headers:a}=await te("/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)}},zt=async()=>{try{const{data:{data:{roles:t}}}=await te("/admin/users/me");return t}catch(t){throw new Error(t)}},Le=I.i8;var Kt=()=>{const{setGuidedTourVisibility:t}=(0,s.c1)(),a=(0,s.lm)(),o=(0,e.useRef)(t),i=s.I8.getUserInfo(),p=b()(i,"username")||(0,q.Pp)(i.firstname,i.lastname),[d,h]=(0,e.useState)(p),[u,g]=(0,e.useState)(null),{showReleaseNotification:c}=(0,T.um)(),[{data:v,status:D},{data:L,isLoading:F},{data:G,status:R,refetch:j,isFetched:k,isFetching:x},{data:A}]=(0,O.useQueries)([{queryKey:"app-infos",queryFn:Qt},{queryKey:"strapi-release",queryFn:()=>jt(a),enabled:c,initialData:Le},{queryKey:"admin-users-permission",queryFn:$t,initialData:[]},{queryKey:"user-roles",queryFn:zt}]),l=(0,e.useMemo)(()=>Ae(Le,L),[L]);(0,e.useEffect)(()=>{A&&A.find(({code:oe})=>oe==="strapi-super-admin")&&v?.autoReload&&o.current(!0)},[A,v]),(0,e.useEffect)(()=>{(async()=>{const oe=await(0,q.Qy)(i);g(oe)})()},[i]);const K=F||(x&&k||D==="loading"||R==="loading"),ne=(0,e.useMemo)(()=>({...v,userId:u,latestStrapiReleaseTag:L,setUserDisplayName:h,shouldUpdateStrapi:l,userDisplayName:d}),[v,L,l,d,u]);return K?e.createElement(s.dO,null):D==="error"?e.createElement("div",null,"error..."):e.createElement(s.NY.Provider,{value:ne},e.createElement(Gt,{permissions:G,refetchPermissions:j},e.createElement(Zt,null)))}},78024:function(Q,S,n){var e=n(32735),s=n(60216),O=n.n(s),C=n(43383),b=n(72850),I=n(23678);const T=({type:f,...y})=>e.createElement(b.x,{width:(0,C.Q1)(2),height:"100%",background:f===I.VM?"neutral300":"primary500",hasRadius:!0,...y});T.defaultProps={type:I.VM},T.propTypes={type:O().oneOf([I.lW,I.hx,I.VM])},S.Z=T},14317:function(Q,S,n){var e=n(32735),s=n(60216),O=n.n(s),C=n(43383),b=n(87933),I=n(99140),T=n(49372),f=n(66456),y=n(23678);const N=({type:$,number:z})=>$===y.hx?e.createElement(b.k,{background:"primary600",padding:2,borderRadius:"50%",width:(0,C.Q1)(30),height:(0,C.Q1)(30),justifyContent:"center"},e.createElement(I.J,{as:f.Z,"aria-hidden":!0,width:(0,C.Q1)(16),color:"neutral0"})):$===y.lW?e.createElement(b.k,{background:"primary600",padding:2,borderRadius:"50%",width:(0,C.Q1)(30),height:(0,C.Q1)(30),justifyContent:"center"},e.createElement(T.Z,{fontWeight:"semiBold",textColor:"neutral0"},z)):e.createElement(b.k,{borderColor:"neutral500",borderWidth:"1px",borderStyle:"solid",padding:2,borderRadius:"50%",width:(0,C.Q1)(30),height:(0,C.Q1)(30),justifyContent:"center"},e.createElement(T.Z,{fontWeight:"semiBold",textColor:"neutral600"},z));N.defaultProps={number:void 0,type:y.VM},N.propTypes={number:O().number,type:O().oneOf([y.lW,y.hx,y.VM])},S.Z=N},23678:function(Q,S,n){n.d(S,{VM:function(){return O},hx:function(){return s},lW:function(){return e}});const e="isActive",s="isDone",O="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}}]);