diff --git a/composer.lock b/composer.lock index 213e4b78..b3a28cb0 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "607636c7db03dcb735b0967c7b289b7a", + "content-hash": "b90f1287cc20a789142610b4dcababa6", "packages": [ { "name": "automattic/jetpack-a8c-mc-stats", @@ -12,7 +12,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-a8c-mc-stats", - "reference": "f22252d17f1af8e7e5f36c3be505761d960382fa" + "reference": "8085b0722671ef24e6602e77dcaa80d1e8d3937a" }, "require": { "php": ">=7.0" @@ -62,7 +62,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui", - "reference": "305486196c162c738310248a785414e0b66486d8" + "reference": "70bc9930eea49fdfc174cba27610ed204cf6f09d" }, "require": { "php": ">=7.0" @@ -124,7 +124,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-assets", - "reference": "6b8fe535e2b9bdad0c790bfd7b073ecddacc278f" + "reference": "1532a3b18cd29f5f0700d80dfde3922f69d4b9fc" }, "require": { "automattic/jetpack-constants": "^2.0.3", @@ -190,7 +190,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-blaze", - "reference": "8d17d5eca4a3ab7b039bd3d8825bbf8a5df5cceb" + "reference": "da9b225fb622e3fb1a300d4e015dacc6a25197d2" }, "require": { "automattic/jetpack-assets": "^2.2.0", @@ -268,7 +268,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-blocks", - "reference": "3dbca5c5377ef1e5d2bee661f9694702f1a7f367" + "reference": "b77f30936f921d4ab726275e0f5fc2ed8347bdd6" }, "require": { "automattic/jetpack-constants": "^2.0.3", @@ -327,7 +327,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-calypsoify", - "reference": "353483b5559aba8b9b6e062b6937b45e94ace34b" + "reference": "3f397bb290343ce1afecc63dcf1218e803bd2f81" }, "require": { "automattic/jetpack-assets": "^2.2.0", @@ -389,7 +389,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-classic-theme-helper", - "reference": "92e65f5ae60718ec09c1e419748c2fa58d6fa0d3" + "reference": "523a4904f893ff000aa5182704a3831daa7ac94e" }, "require": { "automattic/jetpack-assets": "^2.2.0", @@ -457,7 +457,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-compat", - "reference": "d59778a30fe9e75c0fbc129f6fd6ae17d7b57b4e" + "reference": "ad7352c4bd8727e57844ca9c860493a8202c45cc" }, "require": { "php": ">=7.0" @@ -494,7 +494,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-connection", - "reference": "66693918f433170d0428642b16b88c23796948bc" + "reference": "47595b92ffc50153b283ed5d2f3a102f4e213144" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.1", @@ -578,7 +578,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-constants", - "reference": "82d622f5c47e4202b550fb242ab27e502f7afef9" + "reference": "daebc113f4170bd9f57255133b7c8f32ced86945" }, "require": { "php": ">=7.0" @@ -629,7 +629,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "946b4a5dcfb5d34b4fffc52173f4e76594d91600" + "reference": "54daed472af4ee11444dfd16f9b26e8baac16738" }, "require": { "php": ">=7.0" @@ -679,7 +679,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-google-analytics", - "reference": "3e15b1880a5ba046430e4e602d22126dc05d4c23" + "reference": "0e029850db8163ac2bc81a076f941b72d1fa03a7" }, "require": { "automattic/jetpack-status": "^3.3.2", @@ -747,7 +747,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-ip", - "reference": "548eef1e3e3da16000f9ca60b47697f6316cbb5d" + "reference": "092bb745b28292a1cd6ea078d41180ca18416a97" }, "require": { "php": ">=7.0" @@ -802,7 +802,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-jitm", - "reference": "786a0af5526546f1e3430b3eae0f6588f163d2d5" + "reference": "868b34a470ade570fe3aca6585f2427b3a70ac17" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.1", @@ -874,7 +874,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-logo", - "reference": "c3ca126306de6d2f212f50149060309afbf696b7" + "reference": "1736e22dc96c6616c7c4c2cbd9469f4cab6f0757" }, "require": { "php": ">=7.0" @@ -924,7 +924,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-masterbar", - "reference": "79b5ddf65fb9c8d2c58da3371d18362f9dc4998a" + "reference": "8ba11347b00d130af4484039e216bf5e31432d37" }, "require": { "automattic/jetpack-assets": "^2.2.0", @@ -999,11 +999,11 @@ }, { "name": "automattic/jetpack-mu-wpcom", - "version": "5.53.0-alpha.1722492395", + "version": "5.53.0-alpha.1722496877", "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-mu-wpcom", - "reference": "3c39bb59047e02a6875b4a30ddbf6b656aa1b9c9" + "reference": "6cfe7201d2336e5b5fd2deefa4ed936bb55cb0f0" }, "require": { "automattic/jetpack-assets": "^2.2.0", @@ -1083,7 +1083,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-password-checker", - "reference": "026ba033f8d6d251cebfc44b3b03087dcc1bb9f5" + "reference": "f7186b76e265814b3d63257c6bd20282231ddd9c" }, "require": { "php": ">=7.0" @@ -1141,7 +1141,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plans", - "reference": "32b14452dc1df6c7b8c98a481390508d64415c0d" + "reference": "a64db5b0920d8b683033acc0bdbca20acc7bf96b" }, "require": { "automattic/jetpack-connection": "^2.11.3-alpha", @@ -1206,7 +1206,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-redirect", - "reference": "50914efb2c078e839d64c544047bd3f917ce3eb3" + "reference": "13d7eab91d5936d5d20dbd8747ebe0b872f43437" }, "require": { "automattic/jetpack-status": "^3.3.2", @@ -1258,7 +1258,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-roles", - "reference": "5c3c68cfc3880b3e8347c82c167d7f8defc57b6c" + "reference": "3edae17a80fe2c5a40cb4f292aed08b9b6c9c461" }, "require": { "php": ">=7.0" @@ -1309,7 +1309,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats", - "reference": "4596eff73541ebcc8803d3874de11bc81677f2aa" + "reference": "0a2795e522f08d2dcfdc0fab5ed9ac5408792c8e" }, "require": { "automattic/jetpack-connection": "^2.11.3-alpha", @@ -1373,7 +1373,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats-admin", - "reference": "550ae810a99b58084d519044abce3f6bd3f72fb0" + "reference": "4d4211b82fd1b69aa921db97a0b9579be323a84b" }, "require": { "automattic/jetpack-connection": "^2.11.3-alpha", @@ -1443,7 +1443,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-status", - "reference": "3a3fc27ec9b2f34361127f5ddc4ac6d9cc36601c" + "reference": "9827915de27d455be7fbd25299e23c44c6225fd1" }, "require": { "automattic/jetpack-constants": "^2.0.3", @@ -1504,7 +1504,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-sync", - "reference": "004fea280834678f2e0aff86d471d30f9d628a23" + "reference": "5256b93b43cc6c7537713129de5cd2f86c715319" }, "require": { "automattic/jetpack-connection": "^2.11.3-alpha", @@ -1579,7 +1579,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/scheduled-updates", - "reference": "1dfc2de45a7b53773295cf45284d190c8a956fe8" + "reference": "dd035ab899a6e1a804fe4e353a3f6333678b0e96" }, "require": { "automattic/jetpack-connection": "^2.11.3-alpha", @@ -1728,7 +1728,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-changelogger", - "reference": "82f239eabf561056b15a24c967b19b5b95819790" + "reference": "e7b41314930b7c4061d78c951111dab02b31c025" }, "require": { "php": ">=7.0", diff --git a/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md b/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md index 09f2c411..dd52507c 100644 --- a/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md +++ b/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 This is an alpha version! The changes listed here are not final. ### Added +- Added wpcom-block-editor-nux feature from calypso's ETK package. - MU WPCOM: Port the newspack blocks from the ETK - MU WPCOM: Port the starter-page-templates feature from ETK diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.asset.php index ee427636..2b790474 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.asset.php @@ -1 +1 @@ - array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '1005cc08bbe43a1f7cad'); + array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '0d98a62aec52c1bac7ee'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.js b/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.js index 3f643db3..c986959f 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.js @@ -1 +1 @@ -(()=>{"use strict";var e={6293:(e,t,o)=>{o.d(t,{L:()=>c,i:()=>r});var a=o(4981);const s=["a8c/blog-posts","newspack-blocks/homepage-articles"],l=e=>({postsPerPage:t})=>(0,a.createBlock)(e,{postsToShow:t,showAvatar:!1,displayPostDate:!0,displayPostContent:!0}),r=e=>s.indexOf(e)>-1,c={to:s.map((e=>({type:"block",blocks:[e],transform:l(e)})))}},2175:e=>{e.exports=window.wp.blockEditor},4981:e=>{e.exports=window.wp.blocks},5609:e=>{e.exports=window.wp.components},9818:e=>{e.exports=window.wp.data},9307:e=>{e.exports=window.wp.element},5736:e=>{e.exports=window.wp.i18n}},t={};function o(a){var s=t[a];if(void 0!==s)return s.exports;var l=t[a]={exports:{}};return e[a](l,l.exports,o),l.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var a in t)o.o(t,a)&&!o.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=o(2175),t=o(4981),a=o(5609),s=o(9818),l=o(9307),r=o(5736),c=o(6293);const __=r.__,n=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{opacity:".87",fill:"none",d:"M0 0h24v24H0V0z"}),React.createElement("path",{d:"M3 5v14h17V5H3zm4 2v2H5V7h2zm-2 6v-2h2v2H5zm0 2h2v2H5v-2zm13 2H9v-2h9v2zm0-4H9v-2h9v2zm0-4H9V7h9v2z"}));(0,t.registerBlockType)("a8c/posts-list",{title:__("Blog Posts Listing","jetpack-mu-wpcom"),description:__("Displays your latest Blog Posts.","jetpack-mu-wpcom"),keywords:["posts"],icon:n,category:"layout",supports:{html:!1,multiple:!1,reusable:!1,inserter:!1},attributes:{postsPerPage:{type:"number",default:10}},edit:({attributes:o,setAttributes:r,clientId:p,isSelected:i})=>{const m=(0,s.select)("core/block-editor").getBlock(p),d=(0,t.getPossibleBlockTransformations)([m]).find((e=>e&&(0,c.i)(e.name))),w=!!d;return React.createElement(l.Fragment,null,w&&React.createElement(a.Notice,{actions:[{label:__("Update Block","jetpack-mu-wpcom"),onClick:()=>{(0,s.dispatch)("core/block-editor").replaceBlocks(m.clientId,(0,t.switchToBlockType)(m,d.name))}}],className:"a8c-posts-list__notice",isDismissible:!1},__("An improved version of this block is available. Update for a better, more natural way to manage your blog post listings. There may be small visual changes.","jetpack-mu-wpcom")),React.createElement(a.Placeholder,{className:"a8c-posts-list__placeholder",icon:n,label:__("Your recent blog posts will be displayed here.","jetpack-mu-wpcom")},i?React.createElement(a.RangeControl,{label:__("Number of posts to show","jetpack-mu-wpcom"),value:o.postsPerPage,onChange:e=>r({postsPerPage:e}),min:1,max:50}):null),React.createElement(e.InspectorControls,null,React.createElement(a.PanelBody,null,React.createElement(a.RangeControl,{label:__("Number of posts","jetpack-mu-wpcom"),value:o.postsPerPage,onChange:e=>r({postsPerPage:e}),min:1,max:50}))))},save:()=>null,transforms:c.L})})()})(); \ No newline at end of file +(()=>{"use strict";var e={66293:(e,t,o)=>{o.d(t,{L:()=>c,i:()=>r});var a=o(4981);const s=["a8c/blog-posts","newspack-blocks/homepage-articles"],l=e=>({postsPerPage:t})=>(0,a.createBlock)(e,{postsToShow:t,showAvatar:!1,displayPostDate:!0,displayPostContent:!0}),r=e=>s.indexOf(e)>-1,c={to:s.map((e=>({type:"block",blocks:[e],transform:l(e)})))}},52175:e=>{e.exports=window.wp.blockEditor},4981:e=>{e.exports=window.wp.blocks},55609:e=>{e.exports=window.wp.components},9818:e=>{e.exports=window.wp.data},69307:e=>{e.exports=window.wp.element},65736:e=>{e.exports=window.wp.i18n}},t={};function o(a){var s=t[a];if(void 0!==s)return s.exports;var l=t[a]={exports:{}};return e[a](l,l.exports,o),l.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var a in t)o.o(t,a)&&!o.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=o(52175),t=o(4981),a=o(55609),s=o(9818),l=o(69307),r=o(65736),c=o(66293);const __=r.__,n=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{opacity:".87",fill:"none",d:"M0 0h24v24H0V0z"}),React.createElement("path",{d:"M3 5v14h17V5H3zm4 2v2H5V7h2zm-2 6v-2h2v2H5zm0 2h2v2H5v-2zm13 2H9v-2h9v2zm0-4H9v-2h9v2zm0-4H9V7h9v2z"}));(0,t.registerBlockType)("a8c/posts-list",{title:__("Blog Posts Listing","jetpack-mu-wpcom"),description:__("Displays your latest Blog Posts.","jetpack-mu-wpcom"),keywords:["posts"],icon:n,category:"layout",supports:{html:!1,multiple:!1,reusable:!1,inserter:!1},attributes:{postsPerPage:{type:"number",default:10}},edit:({attributes:o,setAttributes:r,clientId:p,isSelected:i})=>{const m=(0,s.select)("core/block-editor").getBlock(p),d=(0,t.getPossibleBlockTransformations)([m]).find((e=>e&&(0,c.i)(e.name))),w=!!d;return React.createElement(l.Fragment,null,w&&React.createElement(a.Notice,{actions:[{label:__("Update Block","jetpack-mu-wpcom"),onClick:()=>{(0,s.dispatch)("core/block-editor").replaceBlocks(m.clientId,(0,t.switchToBlockType)(m,d.name))}}],className:"a8c-posts-list__notice",isDismissible:!1},__("An improved version of this block is available. Update for a better, more natural way to manage your blog post listings. There may be small visual changes.","jetpack-mu-wpcom")),React.createElement(a.Placeholder,{className:"a8c-posts-list__placeholder",icon:n,label:__("Your recent blog posts will be displayed here.","jetpack-mu-wpcom")},i?React.createElement(a.RangeControl,{label:__("Number of posts to show","jetpack-mu-wpcom"),value:o.postsPerPage,onChange:e=>r({postsPerPage:e}),min:1,max:50}):null),React.createElement(e.InspectorControls,null,React.createElement(a.PanelBody,null,React.createElement(a.RangeControl,{label:__("Number of posts","jetpack-mu-wpcom"),value:o.postsPerPage,onChange:e=>r({postsPerPage:e}),min:1,max:50}))))},save:()=>null,transforms:c.L})})()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.asset.php index b51d7bb1..7705184d 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.asset.php @@ -1 +1 @@ - array('lodash', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => '1459f16ef88627facd11'); + array('lodash', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => 'f00d445d7e2166998c3f'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.js b/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.js index b2bed156..5b68de3b 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.js @@ -1 +1 @@ -(()=>{"use strict";var e={3208:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(5609),o=n(4333),s=n(9818),i=n(2819),c=n(4736);const a=(0,o.compose)((0,s.withSelect)((e=>({canUserCreate:t=>e("core").canUser("create",t)}))))((function({searchTerm:e,random:t=!1,canUserCreate:n}){if(!e)return null;if(!c.Z.length)return null;const o=(0,i.deburr)((0,i.lowerCase)(e)).replace(/^\//,""),s=(0,i.filter)(c.Z,(({keywords:e,permission:t})=>n(t)&&(0,i.filter)([...new Set(e)],(e=>(0,i.includes)(o,e))).length));if(!s.length)return null;const a=t?Math.floor(Math.random()*s.length):0;return React.createElement("div",{className:"contextual-tip"},React.createElement(r.Tip,null,(0,i.get)(s,[a,"description"])))}))},4736:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(9307),o=n(5736),s=n(4735);const __=o.__;function i(e,t,n){return void 0!==r.createInterpolateElement?(0,r.createInterpolateElement)(e,t):n}const c=[{context:"theme",keywords:["theme",__("theme","jetpack-mu-wpcom")],description:i(__("You can visit the theme directory to select a different design for your site.","jetpack-mu-wpcom"),{a:React.createElement(s.Z,{section:"themes"})},__("You can visit the theme directory to select a different design for your site.","jetpack-mu-wpcom")),permission:"settings"},{context:"plugin",keywords:["plugin",__("plugin","jetpack-mu-wpcom")],description:i(__("You can visit the plugin directory to get started with installing new plugins.","jetpack-mu-wpcom"),{a:React.createElement(s.Z,{section:"plugins"})},__("You can visit the plugin directory to get started with installing new plugins.","jetpack-mu-wpcom")),permission:"settings"}]},4735:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(4115);const o=(0,r.y)();function s({children:e,section:t}){const{hostname:n}=window.location;let s="#";switch(t){case"themes":s=o?`https://wordpress.com/themes/${n}`:"./themes.php";break;case"plugins":s=o||r.W?`https://wordpress.com/plugins/${n}`:"./plugin-install.php"}return React.createElement("a",{href:s,target:"_blank",rel:"noreferrer noopener"},e)}},4115:(e,t,n)=>{n.d(t,{W:()=>o,y:()=>r});const r=()=>{try{return window.self!==window.top}catch(e){return!0}},o=!(!window||!window._currentSiteType||"simple"!==window._currentSiteType)},2819:e=>{e.exports=window.lodash},2175:e=>{e.exports=window.wp.blockEditor},5609:e=>{e.exports=window.wp.components},4333:e=>{e.exports=window.wp.compose},9818:e=>{e.exports=window.wp.data},9307:e=>{e.exports=window.wp.element},5736:e=>{e.exports=window.wp.i18n},8817:e=>{e.exports=window.wp.plugins}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,n),s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=n(2175),t=n(9307),r=n(8817),o=n(2819),s=n(3208);const i=function(){const[n,r]=(0,t.useState)(""),i=(0,o.debounce)(r,400);return React.createElement(e.__unstableInserterMenuExtension,null,(({filterValue:e,hasItems:t})=>t||!e?null:(n!==e&&i(e),React.createElement(s.Z,{searchTerm:e}))))};void 0!==e.__unstableInserterMenuExtension&&(0,r.registerPlugin)("block-inserter-contextual-tips",{render:()=>React.createElement(i,null)})})()})(); \ No newline at end of file +(()=>{"use strict";var e={73208:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(55609),o=n(94333),s=n(9818),i=n(92819),c=n(94736);const a=(0,o.compose)((0,s.withSelect)((e=>({canUserCreate:t=>e("core").canUser("create",t)}))))((function({searchTerm:e,random:t=!1,canUserCreate:n}){if(!e)return null;if(!c.Z.length)return null;const o=(0,i.deburr)((0,i.lowerCase)(e)).replace(/^\//,""),s=(0,i.filter)(c.Z,(({keywords:e,permission:t})=>n(t)&&(0,i.filter)([...new Set(e)],(e=>(0,i.includes)(o,e))).length));if(!s.length)return null;const a=t?Math.floor(Math.random()*s.length):0;return React.createElement("div",{className:"contextual-tip"},React.createElement(r.Tip,null,(0,i.get)(s,[a,"description"])))}))},94736:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(69307),o=n(65736),s=n(54735);const __=o.__;function i(e,t,n){return void 0!==r.createInterpolateElement?(0,r.createInterpolateElement)(e,t):n}const c=[{context:"theme",keywords:["theme",__("theme","jetpack-mu-wpcom")],description:i(__("You can visit the theme directory to select a different design for your site.","jetpack-mu-wpcom"),{a:React.createElement(s.Z,{section:"themes"})},__("You can visit the theme directory to select a different design for your site.","jetpack-mu-wpcom")),permission:"settings"},{context:"plugin",keywords:["plugin",__("plugin","jetpack-mu-wpcom")],description:i(__("You can visit the plugin directory to get started with installing new plugins.","jetpack-mu-wpcom"),{a:React.createElement(s.Z,{section:"plugins"})},__("You can visit the plugin directory to get started with installing new plugins.","jetpack-mu-wpcom")),permission:"settings"}]},54735:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(28817);const o=(0,r.y)();function s({children:e,section:t}){const{hostname:n}=window.location;let s="#";switch(t){case"themes":s=o?`https://wordpress.com/themes/${n}`:"./themes.php";break;case"plugins":s=o||r.W?`https://wordpress.com/plugins/${n}`:"./plugin-install.php"}return React.createElement("a",{href:s,target:"_blank",rel:"noreferrer noopener"},e)}},28817:(e,t,n)=>{n.d(t,{W:()=>o,y:()=>r});const r=()=>{try{return window.self!==window.top}catch(e){return!0}},o=!(!window||!window._currentSiteType||"simple"!==window._currentSiteType)},92819:e=>{e.exports=window.lodash},52175:e=>{e.exports=window.wp.blockEditor},55609:e=>{e.exports=window.wp.components},94333:e=>{e.exports=window.wp.compose},9818:e=>{e.exports=window.wp.data},69307:e=>{e.exports=window.wp.element},65736:e=>{e.exports=window.wp.i18n},98817:e=>{e.exports=window.wp.plugins}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,n),s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=n(52175),t=n(69307),r=n(98817),o=n(92819),s=n(73208);const i=function(){const[n,r]=(0,t.useState)(""),i=(0,o.debounce)(r,400);return React.createElement(e.__unstableInserterMenuExtension,null,(({filterValue:e,hasItems:t})=>t||!e?null:(n!==e&&i(e),React.createElement(s.Z,{searchTerm:e}))))};void 0!==e.__unstableInserterMenuExtension&&(0,r.registerPlugin)("block-inserter-contextual-tips",{render:()=>React.createElement(i,null)})})()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.asset.php index bf7a32cd..6204e603 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.asset.php @@ -1 +1 @@ - array('react', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => 'f6372fc122c2eac6f85c'); + array('react', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => 'b6ccc72b70466189baf4'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.js b/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.js index 66976627..464ae48f 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.js @@ -1,3 +1,3 @@ -(()=>{"use strict";var e={168:(e,t,o)=>{o.d(t,{Z:()=>m});var r=o(5609),s=o(9818),i=o(5736),a=o(9196),c=o.n(a),l=o(8496);const __=i.__;function m(){const e=(0,l.L)(),t=(0,s.useSelect)((t=>t("core").getTheme(e)),[e]),o=(0,s.useSelect)((e=>!!e("core/edit-site")),[]),a=(0,s.useSelect)((e=>e("automattic/wpcom-block-theme-previews").isModalVisible()),[]),{dismissModal:m}=(0,s.useDispatch)("automattic/wpcom-block-theme-previews");return o&&a?c().createElement(r.Modal,{className:"wpcom-block-theme-previews-modal",onRequestClose:m,shouldCloseOnClickOutside:!1},c().createElement("div",{className:"wpcom-block-theme-previews-modal__content"},c().createElement("div",{className:"wpcom-block-theme-previews-modal__text"},c().createElement("h1",{className:"wpcom-block-theme-previews-modal__heading"},(0,i.sprintf)( +(()=>{"use strict";var e={70168:(e,t,o)=>{o.d(t,{Z:()=>m});var r=o(55609),s=o(9818),i=o(65736),a=o(99196),c=o.n(a),l=o(48496);const __=i.__;function m(){const e=(0,l.L)(),t=(0,s.useSelect)((t=>t("core").getTheme(e)),[e]),o=(0,s.useSelect)((e=>!!e("core/edit-site")),[]),a=(0,s.useSelect)((e=>e("automattic/wpcom-block-theme-previews").isModalVisible()),[]),{dismissModal:m}=(0,s.useDispatch)("automattic/wpcom-block-theme-previews");return o&&a?c().createElement(r.Modal,{className:"wpcom-block-theme-previews-modal",onRequestClose:m,shouldCloseOnClickOutside:!1},c().createElement("div",{className:"wpcom-block-theme-previews-modal__content"},c().createElement("div",{className:"wpcom-block-theme-previews-modal__text"},c().createElement("h1",{className:"wpcom-block-theme-previews-modal__heading"},(0,i.sprintf)( // translators: %s: theme name -__("You’re previewing %s","jetpack-mu-wpcom"),t?.name?.rendered||e)),c().createElement("div",{className:"wpcom-block-theme-previews-modal__description"},c().createElement("p",null,__("Changes you make in the editor won’t be applied to your site until you activate the theme.","jetpack-mu-wpcom")),c().createElement("p",null,__("Try customizing your theme styles to get your site looking just right.","jetpack-mu-wpcom"))),c().createElement("div",{className:"wpcom-block-theme-previews-modal__actions"},c().createElement(r.Button,{variant:"primary",onClick:m},__("Start customizing","jetpack-mu-wpcom")))),c().createElement("div",{className:"wpcom-block-theme-previews-modal__video"},c().createElement("video",{autoPlay:!0,loop:!0,muted:!0},c().createElement("source",{src:"https://videos.files.wordpress.com/gTXUlIAB/wpcom-block-theme-previews-modal.mp4",type:"video/mp4"}))))):null}},5725:(e,t,o)=>{var r=o(9818);const s={isModalVisible:!0};(0,r.registerStore)("automattic/wpcom-block-theme-previews",{reducer:(e=s,t)=>"DISMISS_MODAL"===t.type?{...e,isModalVisible:!1}:e,actions:{dismissModal:()=>({type:"DISMISS_MODAL"})},selectors:{isModalVisible:e=>e.isModalVisible},persist:!0})},8496:(e,t,o)=>{o.d(t,{L:()=>s});var r=o(6483);function s(){return(0,r.getQueryArg)(window.location.href,"wp_theme_preview")}},9196:e=>{e.exports=window.React},5609:e=>{e.exports=window.wp.components},9818:e=>{e.exports=window.wp.data},7701:e=>{e.exports=window.wp.domReady},5736:e=>{e.exports=window.wp.i18n},8817:e=>{e.exports=window.wp.plugins},6483:e=>{e.exports=window.wp.url}},t={};function o(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=o(7701),t=o.n(e),r=o(8817),s=o(168);o(5725);t()((()=>{(0,r.registerPlugin)("wpcom-block-theme-previews",{render:s.Z})}))})()})(); \ No newline at end of file +__("You’re previewing %s","jetpack-mu-wpcom"),t?.name?.rendered||e)),c().createElement("div",{className:"wpcom-block-theme-previews-modal__description"},c().createElement("p",null,__("Changes you make in the editor won’t be applied to your site until you activate the theme.","jetpack-mu-wpcom")),c().createElement("p",null,__("Try customizing your theme styles to get your site looking just right.","jetpack-mu-wpcom"))),c().createElement("div",{className:"wpcom-block-theme-previews-modal__actions"},c().createElement(r.Button,{variant:"primary",onClick:m},__("Start customizing","jetpack-mu-wpcom")))),c().createElement("div",{className:"wpcom-block-theme-previews-modal__video"},c().createElement("video",{autoPlay:!0,loop:!0,muted:!0},c().createElement("source",{src:"https://videos.files.wordpress.com/gTXUlIAB/wpcom-block-theme-previews-modal.mp4",type:"video/mp4"}))))):null}},25725:(e,t,o)=>{var r=o(9818);const s={isModalVisible:!0};(0,r.registerStore)("automattic/wpcom-block-theme-previews",{reducer:(e=s,t)=>"DISMISS_MODAL"===t.type?{...e,isModalVisible:!1}:e,actions:{dismissModal:()=>({type:"DISMISS_MODAL"})},selectors:{isModalVisible:e=>e.isModalVisible},persist:!0})},48496:(e,t,o)=>{o.d(t,{L:()=>s});var r=o(96483);function s(){return(0,r.getQueryArg)(window.location.href,"wp_theme_preview")}},99196:e=>{e.exports=window.React},55609:e=>{e.exports=window.wp.components},9818:e=>{e.exports=window.wp.data},47701:e=>{e.exports=window.wp.domReady},65736:e=>{e.exports=window.wp.i18n},98817:e=>{e.exports=window.wp.plugins},96483:e=>{e.exports=window.wp.url}},t={};function o(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=o(47701),t=o.n(e),r=o(98817),s=o(70168);o(25725);t()((()=>{(0,r.registerPlugin)("wpcom-block-theme-previews",{render:s.Z})}))})()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.asset.php index 6ee4add1..d900fc3d 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.asset.php @@ -1 +1 @@ - array('wp-api-fetch', 'wp-hooks'), 'version' => '437a87d8a41fd4af3b17'); + array('wp-api-fetch', 'wp-hooks'), 'version' => '9a4105ad1b0609e88e4a'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.js b/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.js index 762bee65..3bf607df 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.js @@ -1 +1 @@ -(()=>{"use strict";var t={4543:(t,e,n)=>{n.d(e,{R:()=>l});var r=n(6012),s=n(5526),o=n(4953),i=n(8679),a=n(4154),c=n(3482),u=n(6425),d=n(8048),_=n(4761);class l extends r.W{constructor(t){const e=d.m9.SENTRY_SDK_SOURCE||(0,o.S)();t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${e}:@sentry/browser`,version:s.J}],version:s.J},super(t),t.sendClientReports&&d.m9.document&&d.m9.document.addEventListener("visibilitychange",(()=>{"hidden"===d.m9.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return(0,u.dr)(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return(0,u.aB)(this._options.stackParser,t,e,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled())return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("SDK not enabled, will not capture user feedback."));const e=(0,_.r)(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}_flushOutcomes(){const t=this._clearOutcomes();if(0===t.length)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("No outcomes to send"));if(!this._dsn)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("No dsn provided, will not send outcomes"));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("Sending outcomes:",t);const e=(0,a.y)(t,this._options.tunnel&&(0,c.RA)(this._dsn));this._sendEnvelope(e)}}},6425:(t,e,n)=>{n.d(e,{GJ:()=>u,ME:()=>g,aB:()=>f,dr:()=>h});var r=n(9229),s=n(3065),o=n(9564),i=n(4110),a=n(4315),c=n(1731);function u(t,e){const n=_(t,e),r={type:e&&e.name,value:p(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function d(t,e){return{exception:{values:[u(t,e)]}}}function _(t,e){const n=e.stacktrace||e.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(l.test(t.message))return 1}return 0}(e);try{return t(n,r)}catch(t){}return[]}const l=/Minified React error #\d+;/i;function p(t){const e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function h(t,e,n,r){const s=g(t,e,n&&n.syntheticException||void 0,r);return(0,i.EG)(s),s.level="error",n&&n.event_id&&(s.event_id=n.event_id),(0,a.WD)(s)}function f(t,e,n="info",r,s){const o=m(t,e,r&&r.syntheticException||void 0,s);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),(0,a.WD)(o)}function g(t,e,n,a,c){let u;if((0,s.VW)(e)&&e.error){return d(t,e.error)}if((0,s.TX)(e)||(0,s.fm)(e)){const r=e;if("stack"in e)u=d(t,e);else{const e=r.name||((0,s.TX)(r)?"DOMError":"DOMException"),o=r.message?`${e}: ${r.message}`:e;u=m(t,o,n,a),(0,i.Db)(u,o)}return"code"in r&&(u.tags={...u.tags,"DOMException.code":`${r.code}`}),u}if((0,s.VZ)(e))return d(t,e);if((0,s.PO)(e)||(0,s.cO)(e)){return u=function(t,e,n,i){const a=(0,r.Gd)().getClient(),c=a&&a.getOptions().normalizeDepth,u={exception:{values:[{type:(0,s.cO)(e)?e.constructor.name:i?"UnhandledRejection":"Error",value:y(e,{isUnhandledRejection:i})}]},extra:{__serialized__:(0,o.Qy)(e,c)}};if(n){const e=_(t,n);e.length&&(u.exception.values[0].stacktrace={frames:e})}return u}(t,e,n,c),(0,i.EG)(u,{synthetic:!0}),u}return u=m(t,e,n,a),(0,i.Db)(u,`${e}`,void 0),(0,i.EG)(u,{synthetic:!0}),u}function m(t,e,n,r){const s={message:e};if(r&&n){const r=_(t,n);r.length&&(s.exception={values:[{value:e,stacktrace:{frames:r}}]})}return s}function y(t,{isUnhandledRejection:e}){const n=(0,c.zf)(t),r=e?"promise rejection":"exception";if((0,s.VW)(t))return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``;if((0,s.cO)(t)){return`Event \`${function(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(t){}}(t)}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}},8048:(t,e,n)=>{n.d(e,{Wz:()=>u,m9:()=>a,re:()=>d});var r=n(1981),s=n(318),o=n(1731),i=n(4110);const a=s.n2;let c=0;function u(){return c>0}function d(t,e={},n){if("function"!=typeof t)return t;try{const e=t.__sentry_wrapped__;if(e)return e;if((0,o.HK)(t))return t}catch(e){return t}const s=function(){const s=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const r=s.map((t=>d(t,e)));return t.apply(this,r)}catch(t){throw c++,setTimeout((()=>{c--})),(0,r.$e)((n=>{n.addEventProcessor((t=>(e.mechanism&&((0,i.Db)(t,void 0,void 0),(0,i.EG)(t,e.mechanism)),t.extra={...t.extra,arguments:s},t))),(0,r.Tb)(t)})),t}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(s[e]=t[e])}catch(t){}(0,o.$Q)(s,t),(0,o.xp)(t,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get:()=>t.name})}catch(t){}return s}},5301:(t,e,n)=>{n.d(e,{O:()=>p});var r=n(9229),s=n(1759),o=n(4110),i=n(8679),a=n(5291),c=n(5320),u=n(8337),d=n(6287),_=n(8048);const l=1024;class p{static __initStatic(){this.id="Breadcrumbs"}constructor(t){this.name=p.id,this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){if(this.options.console&&(0,s.oq)("console",f),this.options.dom&&(0,s.oq)("dom",function(t){function e(e){let n,s="object"==typeof t?t.serializeAttribute:void 0,o="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;o&&o>l&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=l),"string"==typeof s&&(s=[s]);try{const t=e.event;n=function(t){return!!t&&!!t.target}(t)?(0,a.Rt)(t.target,{keyAttrs:s,maxStringLength:o}):(0,a.Rt)(t,{keyAttrs:s,maxStringLength:o})}catch(t){n=""}0!==n.length&&(0,r.Gd)().addBreadcrumb({category:`ui.${e.name}`,message:n},{event:e.event,name:e.name,global:e.global})}return e}(this.options.dom)),this.options.xhr&&(0,s.oq)("xhr",g),this.options.fetch&&(0,s.oq)("fetch",m),this.options.history&&(0,s.oq)("history",y),this.options.sentry){const t=(0,r.Gd)().getClient();t&&t.on&&t.on("beforeSendEvent",h)}}}function h(t){(0,r.Gd)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,o.jH)(t)},{event:t})}function f(t){const e={category:"console",data:{arguments:t.args,logger:"console"},level:(0,c.VT)(t.level),message:(0,u.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message=`Assertion failed: ${(0,u.nK)(t.args.slice(1)," ")||"console.assert"}`,e.data.arguments=t.args.slice(1)}(0,r.Gd)().addBreadcrumb(e,{input:t.args,level:t.level})}function g(t){const{startTimestamp:e,endTimestamp:n}=t,o=t.xhr[s.xU];if(!e||!n||!o)return;const{method:i,url:a,status_code:c,body:u}=o,d={method:i,url:a,status_code:c},_={xhr:t.xhr,input:u,startTimestamp:e,endTimestamp:n};(0,r.Gd)().addBreadcrumb({category:"xhr",data:d,type:"http"},_)}function m(t){const{startTimestamp:e,endTimestamp:n}=t;if(n&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const s=t.fetchData,o={data:t.error,input:t.args,startTimestamp:e,endTimestamp:n};(0,r.Gd)().addBreadcrumb({category:"fetch",data:s,level:"error",type:"http"},o)}else{const s={...t.fetchData,status_code:t.response&&t.response.status},o={input:t.args,response:t.response,startTimestamp:e,endTimestamp:n};(0,r.Gd)().addBreadcrumb({category:"fetch",data:s,type:"http"},o)}}function y(t){let e=t.from,n=t.to;const s=(0,d.en)(_.m9.location.href);let o=(0,d.en)(e);const i=(0,d.en)(n);o.path||(o=s),s.protocol===i.protocol&&s.host===i.host&&(n=i.relative),s.protocol===o.protocol&&s.host===o.host&&(e=o.relative),(0,r.Gd)().addBreadcrumb({category:"navigation",data:{from:e,to:n}})}p.__initStatic()},4027:(t,e,n)=>{n.d(e,{I:()=>s});var r=n(8679);class s{static __initStatic(){this.id="Dedupe"}constructor(){this.name=s.id}setupOnce(t,e){}processEvent(t){if(t.type)return t;try{if(function(t,e){if(!e)return!1;if(function(t,e){const n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!i(t,e))return!1;if(!o(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){const n=a(e),r=a(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!i(t,e))return!1;if(!o(t,e))return!1;return!0}(t,e))return!0;return!1}(t,this._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return this._previousEvent=t}}function o(t,e){let n=c(t),r=c(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let t=0;t{n.d(e,{d:()=>_});var r=n(9229),s=n(1759),o=n(3065),i=n(5291),a=n(8679),c=n(4110),u=n(6425),d=n(8048);class _{static __initStatic(){this.id="GlobalHandlers"}constructor(t){this.name=_.id,this._options={onerror:!0,onunhandledrejection:!0,...t},this._installFunc={onerror:l,onunhandledrejection:p}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const n in t){const r=this._installFunc[n];r&&t[n]&&(e=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log(`Global Handler attached: ${e}`),r(),this._installFunc[n]=void 0)}var e}}function l(){(0,s.oq)("error",(t=>{const[e,n,r]=g();if(!e.getIntegration(_))return;const{msg:s,url:i,line:a,column:c,error:l}=t;if((0,d.Wz)()||l&&l.__sentry_own_request__)return;const p=void 0===l&&(0,o.HD)(s)?function(t,e,n,r){const s=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let i=(0,o.VW)(t)?t.message:t,a="Error";const c=i.match(s);c&&(a=c[1],i=c[2]);const u={exception:{values:[{type:a,value:i}]}};return h(u,e,n,r)}(s,i,a,c):h((0,u.ME)(n,l||s,void 0,r,!1),i,a,c);p.level="error",f(e,l,p,"onerror")}))}function p(){(0,s.oq)("unhandledrejection",(t=>{const[e,n,r]=g();if(!e.getIntegration(_))return;let s=t;try{"reason"in t?s=t.reason:"detail"in t&&"reason"in t.detail&&(s=t.detail.reason)}catch(t){}if((0,d.Wz)()||s&&s.__sentry_own_request__)return!0;const i=(0,o.pt)(s)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(s)}`}]}}:(0,u.ME)(n,s,void 0,r,!0);i.level="error",f(e,s,i,"onunhandledrejection")}))}function h(t,e,n,r){const s=t.exception=t.exception||{},a=s.values=s.values||[],c=a[0]=a[0]||{},u=c.stacktrace=c.stacktrace||{},d=u.frames=u.frames||[],_=isNaN(parseInt(r,10))?void 0:r,l=isNaN(parseInt(n,10))?void 0:n,p=(0,o.HD)(e)&&e.length>0?e:(0,i.l4)();return 0===d.length&&d.push({colno:_,filename:p,function:"?",in_app:!0,lineno:l}),t}function f(t,e,n,r){(0,c.EG)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function g(){const t=(0,r.Gd)(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}_.__initStatic()},5626:(t,e,n)=>{n.d(e,{q:()=>s});var r=n(8048);class s{static __initStatic(){this.id="HttpContext"}constructor(){this.name=s.id}setupOnce(){}preprocessEvent(t){if(!r.m9.navigator&&!r.m9.location&&!r.m9.document)return;const e=t.request&&t.request.url||r.m9.location&&r.m9.location.href,{referrer:n}=r.m9.document||{},{userAgent:s}=r.m9.navigator||{},o={...t.request&&t.request.headers,...n&&{Referer:n},...s&&{"User-Agent":s}},i={...t.request,...e&&{url:e},headers:o};t.request=i}}s.__initStatic()},3872:(t,e,n)=>{n.d(e,{i:()=>o});var r=n(7441),s=n(6425);class o{static __initStatic(){this.id="LinkedErrors"}constructor(t={}){this.name=o.id,this._key=t.key||"cause",this._limit=t.limit||5}setupOnce(){}preprocessEvent(t,e,n){const o=n.getOptions();(0,r.Z)(s.GJ,o.stackParser,o.maxValueLength,this._key,this._limit,t,e)}}o.__initStatic()},3453:(t,e,n)=>{n.d(e,{p:()=>a});var r=n(1731),s=n(6580),o=n(8048);const i=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class a{static __initStatic(){this.id="TryCatch"}constructor(t){this.name=a.id,this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&(0,r.hl)(o.m9,"setTimeout",c),this._options.setInterval&&(0,r.hl)(o.m9,"setInterval",c),this._options.requestAnimationFrame&&(0,r.hl)(o.m9,"requestAnimationFrame",u),this._options.XMLHttpRequest&&"XMLHttpRequest"in o.m9&&(0,r.hl)(XMLHttpRequest.prototype,"send",d);const t=this._options.eventTarget;if(t){(Array.isArray(t)?t:i).forEach(_)}}}function c(t){return function(...e){const n=e[0];return e[0]=(0,o.re)(n,{mechanism:{data:{function:(0,s.$P)(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function u(t){return function(e){return t.apply(this,[(0,o.re)(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,s.$P)(t)},handled:!1,type:"instrument"}})])}}function d(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in n&&"function"==typeof n[t]&&(0,r.hl)(n,t,(function(e){const n={mechanism:{data:{function:t,handler:(0,s.$P)(e)},handled:!1,type:"instrument"}},i=(0,r.HK)(e);return i&&(n.mechanism.data.handler=(0,s.$P)(i)),(0,o.re)(e,n)}))})),t.apply(this,e)}}function _(t){const e=o.m9,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,r.hl)(n,"addEventListener",(function(e){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=(0,o.re)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,s.$P)(r),target:t},handled:!1,type:"instrument"}}))}catch(t){}return e.apply(this,[n,(0,o.re)(r,{mechanism:{data:{function:"addEventListener",handler:(0,s.$P)(r),target:t},handled:!1,type:"instrument"}}),i])}})),(0,r.hl)(n,"removeEventListener",(function(t){return function(e,n,r){const s=n;try{const n=s&&s.__sentry_wrapped__;n&&t.call(this,e,n,r)}catch(t){}return t.call(this,e,s,r)}})))}a.__initStatic()},4410:(t,e,n)=>{n.d(e,{S1:()=>w});var r=n(6163),s=n(3664),o=n(8054),i=n(9219),a=n(9229),c=n(6580),u=n(5162),d=n(8679),_=n(1759),l=n(4543),p=n(8048),h=n(8310),f=n(3453),g=n(5301),m=n(3872),y=n(5626),v=n(4027),E=n(2405),S=n(2816),b=n(6221);const x=[new r.QD,new s.c,new f.p,new g.O,new h.d,new m.i,new v.I,new y.q];function w(t={}){void 0===t.defaultIntegrations&&(t.defaultIntegrations=x),void 0===t.release&&("string"==typeof __SENTRY_RELEASE__&&(t.release=__SENTRY_RELEASE__),p.m9.SENTRY_RELEASE&&p.m9.SENTRY_RELEASE.id&&(t.release=p.m9.SENTRY_RELEASE.id)),void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0);const e={...t,stackParser:(0,c.Sq)(t.stackParser||E.Dt),integrations:(0,o.m8)(t),transport:t.transport||((0,u.Ak)()?S.f:b.K)};(0,i.M)(l.R,e),t.autoSessionTracking&&function(){if(void 0===p.m9.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));const t=(0,a.Gd)();if(!t.captureSession)return;k(t),(0,_.oq)("history",(({from:t,to:e})=>{void 0!==t&&t!==e&&k((0,a.Gd)())}))}()}function k(t){t.startSession({ignoreDuration:!0}),t.captureSession()}},2405:(t,e,n)=>{n.d(e,{Dt:()=>l});var r=n(6580);const s="?";function o(t,e,n,r){const s={filename:t,function:e,in_app:!0};return void 0!==n&&(s.lineno=n),void 0!==r&&(s.colno=r),s}const i=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/,c=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,u=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,d=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,_=[[30,t=>{const e=i.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){const t=a.exec(e[2]);t&&(e[2]=t[1],e[3]=t[2],e[4]=t[3])}const[t,n]=p(e[1]||s,e[2]);return o(n,t,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],[50,t=>{const e=c.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=u.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||s;return[n,t]=p(n,t),o(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],[40,t=>{const e=d.exec(t);return e?o(e[2],e[1]||s,+e[3],e[4]?+e[4]:void 0):void 0}]],l=(0,r.pE)(..._),p=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:s,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]}},2816:(t,e,n)=>{n.d(e,{f:()=>i});var r=n(9824),s=n(4315),o=n(1869);function i(t,e=(0,o.x)()){let n=0,i=0;return(0,r.q)(t,(function(r){const a=r.body.length;n+=a,i++;const c={body:r.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&i<15,...t.fetchOptions};try{return e(t.url,c).then((t=>(n-=a,i--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}catch(t){return(0,o.c)(),n-=a,i--,(0,s.$2)(t)}}))}},1869:(t,e,n)=>{n.d(e,{c:()=>c,x:()=>a});var r=n(5162),s=n(8679),o=n(8048);let i;function a(){if(i)return i;if((0,r.Du)(o.m9.fetch))return i=o.m9.fetch.bind(o.m9);const t=o.m9.document;let e=o.m9.fetch;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return i=e.bind(o.m9)}function c(){i=void 0}},6221:(t,e,n)=>{n.d(e,{K:()=>i});var r=n(9824),s=n(4315);const o=4;function i(t){return(0,r.q)(t,(function(e){return new s.cW(((n,r)=>{const s=new XMLHttpRequest;s.onerror=r,s.onreadystatechange=()=>{s.readyState===o&&n({statusCode:s.status,headers:{"x-sentry-rate-limits":s.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":s.getResponseHeader("Retry-After")}})},s.open("POST",t.url);for(const e in t.headers)Object.prototype.hasOwnProperty.call(t.headers,e)&&s.setRequestHeader(e,t.headers[e]);s.send(e.body)}))}))}},4761:(t,e,n)=>{n.d(e,{r:()=>o});var r=n(3482),s=n(8910);function o(t,{metadata:e,tunnel:n,dsn:o}){const i={event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}},...!!n&&!!o&&{dsn:(0,r.RA)(o)}},a=function(t){return[{type:"user_report"},t]}(t);return(0,s.Jd)(i,[a])}},5283:(t,e,n)=>{n.d(e,{U:()=>i});var r=n(1731);const s="7";function o(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function i(t,e={}){const n="string"==typeof e?e:e.tunnel,i="string"!=typeof e&&e._metadata?e._metadata.sdk:void 0;return n||`${function(t){return`${o(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){return(0,r._j)({sentry_key:t.publicKey,sentry_version:s,...e&&{sentry_client:`${e.name}/${e.version}`}})}(t,i)}`}},6012:(t,e,n)=>{n.d(e,{W:()=>m});var r=n(3482),s=n(8679),o=n(4110),i=n(3065),a=n(4315),c=n(8910),u=n(654),d=n(5283),_=n(2235),l=n(8054),p=n(2822),h=n(526),f=n(4474);const g="Not capturing exception because it's already been captured.";class m{constructor(t){if(this._options=t,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=(0,r.vK)(t.dsn):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn("No DSN provided, client will not send events."),this._dsn){const e=(0,d.U)(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}}captureException(t,e,n){if((0,o.YO)(t))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(g));let r=e&&e.event_id;return this._process(this.eventFromException(t,e).then((t=>this._captureEvent(t,e,n))).then((t=>{r=t}))),r}captureMessage(t,e,n,r){let s=n&&n.event_id;const o=(0,i.pt)(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this._process(o.then((t=>this._captureEvent(t,n,r))).then((t=>{s=t}))),s}captureEvent(t,e,n){if(e&&e.originalException&&(0,o.YO)(e.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(g));let r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((t=>{r=t}))),r}captureSession(t){"string"!=typeof t.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),(0,p.CT)(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;return e?this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t)))):(0,a.WD)(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,t)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}setupIntegrations(t){(t&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&(this._integrations=(0,l.q4)(this,this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){(0,l.m7)(this,t,this._integrations)}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);let n=(0,_.M)(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=(0,c.BO)(n,(0,c.zQ)(t,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((e=>this.emit("afterSendEvent",t,e)),null)}sendSession(t){const e=(0,_.Q)(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const n=`${t}:${e}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}on(t,e){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(e)}emit(t,...e){this._hooks[t]&&this._hooks[t].forEach((t=>t(...e)))}_updateSessionFromEvent(t,e){let n=!1,r=!1;const s=e.exception&&e.exception.values;if(s){r=!0;for(const t of s){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const o="ok"===t.status;(o&&0===t.errors||o&&n)&&((0,p.CT)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new a.cW((e=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e,n){const r=this.getOptions(),s=Object.keys(this._integrations);return!e.integrations&&s.length>0&&(e.integrations=s),this.emit("preprocessEvent",t,e),(0,f.R)(r,t,e,n,this).then((t=>{if(null===t)return t;const{propagationContext:e}=t.sdkProcessingMetadata||{};if(!(t.contexts&&t.contexts.trace)&&e){const{traceId:r,spanId:s,parentSpanId:o,dsc:i}=e;t.contexts={trace:{trace_id:r,span_id:s,parent_span_id:o},...t.contexts};const a=i||(0,h._)(r,this,n);t.sdkProcessingMetadata={dynamicSamplingContext:a,...t.sdkProcessingMetadata}}return t}))}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then((t=>t.event_id),(t=>{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const e=t;"log"===e.logLevel?s.kg.log(e.message):s.kg.warn(e)}}))}_processEvent(t,e,n){const r=this.getOptions(),{sampleRate:s}=r,o=v(t),c=y(t),d=t.type||"error",_=`before send for type \`${d}\``;if(c&&"number"==typeof s&&Math.random()>s)return this.recordDroppedEvent("sample_rate","error",t),(0,a.$2)(new u.b(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));const l="replay_event"===d?"replay":d;return this._prepareEvent(t,e,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",l,t),new u.b("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const s=function(t,e,n){const{beforeSend:r,beforeSendTransaction:s}=t;if(y(e)&&r)return r(e,n);if(v(e)&&s)return s(e,n);return e}(r,n,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if((0,i.J8)(t))return t.then((t=>{if(!(0,i.PO)(t)&&null!==t)throw new u.b(n);return t}),(t=>{throw new u.b(`${e} rejected with ${t}`)}));if(!(0,i.PO)(t)&&null!==t)throw new u.b(n);return t}(s,_)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",l,t),new u.b(`${_} returned \`null\`, will not send event.`,"log");const s=n&&n.getSession();!o&&s&&this._updateSessionFromEvent(s,r);const i=r.transaction_info;if(o&&i&&r.transaction!==t.transaction){const t="custom";r.transaction_info={...i,source:t}}return this.sendEvent(r,e),r})).then(null,(t=>{if(t instanceof u.b)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new u.b(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t){this._numProcessing++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)return this._transport.send(t).then(null,(t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.error("Error while sending event:",t)}));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map((e=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t[e]}}))}}function y(t){return void 0===t.type}function v(t){return"transaction"===t.type}},9399:(t,e,n)=>{n.d(e,{J:()=>r});const r="production"},2235:(t,e,n)=>{n.d(e,{M:()=>i,Q:()=>o});var r=n(8910),s=n(3482);function o(t,e,n,o){const i=(0,r.HY)(n),a={sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!o&&e&&{dsn:(0,s.RA)(e)}},c="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return(0,r.Jd)(a,[c])}function i(t,e,n,s){const o=(0,r.HY)(n),i=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const a=(0,r.Cd)(t,o,s,e);delete t.sdkProcessingMetadata;const c=[{type:i},t];return(0,r.Jd)(a,[c])}},233:(t,e,n)=>{n.d(e,{RP:()=>u,cc:()=>c,fH:()=>a});var r=n(318),s=n(4315),o=n(8679),i=n(3065);function a(){return(0,r.YO)("globalEventProcessors",(()=>[]))}function c(t){a().push(t)}function u(t,e,n,r=0){return new s.cW(((s,a)=>{const c=t[r];if(null===e||"function"!=typeof c)s(e);else{const d=c({...e},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.id&&null===d&&o.kg.log(`Event processor "${c.id}" dropped event`),(0,i.J8)(d)?d.then((e=>u(t,e,n,r+1).then(s))).then(null,a):u(t,d,n,r+1).then(s).then(null,a)}}))}},1981:(t,e,n)=>{n.d(e,{$e:()=>i,Tb:()=>o,yl:()=>a});var r=n(8679),s=n(9229);function o(t,e){return(0,s.Gd)().captureException(t,{captureContext:e})}function i(t){(0,s.Gd)().withScope(t)}async function a(t){const e=(0,s.Gd)().getClient();return e?e.flush(t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}},9229:(t,e,n)=>{n.d(e,{Gd:()=>f});var r=n(4110),s=n(9330),o=n(8679),i=n(318),a=n(9399),c=n(9072),u=n(2822);const d=4,_=100;class l{constructor(t,e=new c.s,n=d){this._version=n,this._stack=[{scope:e}],t&&this.bindClient(t)}isOlderThan(t){return this._version{r.captureException(t,{originalException:t,syntheticException:s,...e,event_id:n},o)})),n}captureMessage(t,e,n){const s=this._lastEventId=n&&n.event_id?n.event_id:(0,r.DM)(),o=new Error(t);return this._withClient(((r,i)=>{r.captureMessage(t,e,{originalException:t,syntheticException:o,...n,event_id:s},i)})),s}captureEvent(t,e){const n=e&&e.event_id?e.event_id:(0,r.DM)();return t.type||(this._lastEventId=n),this._withClient(((r,s)=>{r.captureEvent(t,{...e,event_id:n},s)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:a=_}=r.getOptions&&r.getOptions()||{};if(a<=0)return;const c={timestamp:(0,s.yW)(),...t},u=i?(0,o.Cf)((()=>i(c,e))):c;null!==u&&(r.emit&&r.emit("beforeAddBreadcrumb",u,e),n.addBreadcrumb(u,a))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,e){this.getScope().setTag(t,e)}setExtra(t,e){this.getScope().setExtra(t,e)}setContext(t,e){this.getScope().setContext(t,e)}configureScope(t){const{scope:e,client:n}=this.getStackTop();n&&t(e)}run(t){const e=h(this);try{t(this)}finally{h(e)}}getIntegration(t){const e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,e){const n=this._callExtensionMethod("startTransaction",t,e);if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&!n){this.getClient()?console.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):console.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop().scope,e=t.getSession();e&&(0,u.RJ)(e),this._sendSessionUpdate(),t.setSession()}startSession(t){const{scope:e,client:n}=this.getStackTop(),{release:r,environment:s=a.J}=n&&n.getOptions()||{},{userAgent:o}=i.n2.navigator||{},c=(0,u.Hv)({release:r,environment:s,user:e.getUser(),...o&&{userAgent:o},...t}),d=e.getSession&&e.getSession();return d&&"ok"===d.status&&(0,u.CT)(d,{status:"exited"}),this.endSession(),e.setSession(c),c}shouldSendDefaultPii(){const t=this.getClient(),e=t&&t.getOptions();return Boolean(e&&e.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:e}=this.getStackTop(),n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}_withClient(t){const{scope:e,client:n}=this.getStackTop();n&&t(n,e)}_callExtensionMethod(t,...e){const n=p().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function p(){return i.n2.__SENTRY__=i.n2.__SENTRY__||{extensions:{},hub:void 0},i.n2}function h(t){const e=p(),n=y(e);return v(e,t),n}function f(){const t=p();if(t.__SENTRY__&&t.__SENTRY__.acs){const e=t.__SENTRY__.acs.getCurrentHub();if(e)return e}return g(t)}function g(t=p()){return m(t)&&!y(t).isOlderThan(d)||v(t,new l),y(t)}function m(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function y(t){return(0,i.YO)("hub",(()=>new l),t)}function v(t,e){if(!t)return!1;return(t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0}},8054:(t,e,n)=>{n.d(e,{m7:()=>d,m8:()=>c,q4:()=>u});var r=n(4110),s=n(8679),o=n(233),i=n(9229);const a=[];function c(t){const e=t.defaultIntegrations||[],n=t.integrations;let s;e.forEach((t=>{t.isDefaultInstance=!0})),s=Array.isArray(n)?[...e,...n]:"function"==typeof n?(0,r.lE)(n(e)):e;const o=function(t){const e={};return t.forEach((t=>{const{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.keys(e).map((t=>e[t]))}(s),i=function(t,e){for(let n=0;n"Debug"===t.name));if(-1!==i){const[t]=o.splice(i,1);o.push(t)}return o}function u(t,e){const n={};return e.forEach((e=>{e&&d(t,e,n)})),n}function d(t,e,n){if(n[e.name]=e,-1===a.indexOf(e.name)&&(e.setupOnce(o.cc,i.Gd),a.push(e.name)),t.on&&"function"==typeof e.preprocessEvent){const n=e.preprocessEvent.bind(e);t.on("preprocessEvent",((e,r)=>n(e,r,t)))}if(t.addEventProcessor&&"function"==typeof e.processEvent){const n=e.processEvent.bind(e),r=Object.assign(((e,r)=>n(e,r,t)),{id:e.name});t.addEventProcessor(r)}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(`Integration installed: ${e.name}`)}},3664:(t,e,n)=>{n.d(e,{c:()=>o});var r=n(1731);let s;class o{static __initStatic(){this.id="FunctionToString"}constructor(){this.name=o.id}setupOnce(){s=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=(0,r.HK)(this)||this;return s.apply(e,t)}}catch(t){}}}o.__initStatic()},6163:(t,e,n)=>{n.d(e,{QD:()=>c});var r=n(8679),s=n(4110),o=n(8337);const i=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],a=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/];class c{static __initStatic(){this.id="InboundFilters"}constructor(t={}){this.name=c.id,this._options=t}setupOnce(t,e){}processEvent(t,e,n){const c=n.getOptions(),d=function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:i],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[],...t.disableTransactionDefaults?[]:a],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(this._options,c);return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,s.jH)(t)}`),!0;if(function(t,e){if(t.type||!e||!e.length)return!1;return function(t){const e=[];t.message&&e.push(t.message);let n;try{n=t.exception.values[t.exception.values.length-1]}catch(t){}n&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`));"undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||0!==e.length||r.kg.error(`Could not extract message for event ${(0,s.jH)(t)}`);return e}(t).some((t=>(0,o.U0)(t,e)))}(t,e.ignoreErrors))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,s.jH)(t)}`),!0;if(function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;const n=t.transaction;return!!n&&(0,o.U0)(n,e)}(t,e.ignoreTransactions))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,s.jH)(t)}`),!0;if(function(t,e){if(!e||!e.length)return!1;const n=u(t);return!!n&&(0,o.U0)(n,e)}(t,e.denyUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,s.jH)(t)}.\nUrl: ${u(t)}`),!0;if(!function(t,e){if(!e||!e.length)return!0;const n=u(t);return!n||(0,o.U0)(n,e)}(t,e.allowUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,s.jH)(t)}.\nUrl: ${u(t)}`),!0;return!1}(t,d)?null:t}}function u(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error(`Cannot extract url for event ${(0,s.jH)(t)}`),null}}c.__initStatic()},9072:(t,e,n)=>{n.d(e,{s:()=>c});var r=n(3065),s=n(9330),o=n(4110),i=n(233),a=n(2822);class c{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=u()}static clone(t){const e=new c;return t&&(e._breadcrumbs=[...t._breadcrumbs],e._tags={...t._tags},e._extra={...t._extra},e._contexts={...t._contexts},e._user=t._user,e._level=t._level,e._span=t._span,e._session=t._session,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=[...t._eventProcessors],e._requestSession=t._requestSession,e._attachments=[...t._attachments],e._sdkProcessingMetadata={...t._sdkProcessingMetadata},e._propagationContext={...t._propagationContext}),e}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&(0,a.CT)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){const e=t(this);return e instanceof c?e:this}return t instanceof c?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):(0,r.PO)(t)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=u(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r={timestamp:(0,s.yW)(),...t},o=this._breadcrumbs;return o.push(r),this._breadcrumbs=o.length>n?o.slice(-n):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,e={},n){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const e=this._span.transaction;if(e){t.sdkProcessingMetadata={dynamicSamplingContext:e.getDynamicSamplingContext(),...t.sdkProcessingMetadata};const n=e.name;n&&(t.tags={transaction:n,...t.tags})}}this._applyFingerprint(t);const r=this._getBreadcrumbs(),s=[...t.breadcrumbs||[],...r];return t.breadcrumbs=s.length>0?s:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata,propagationContext:this._propagationContext},(0,i.RP)([...n||[],...(0,i.fH)(),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}_getBreadcrumbs(){return this._breadcrumbs}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((t=>{t(this)})),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?(0,o.lE)(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function u(){return{traceId:(0,o.DM)(),spanId:(0,o.DM)().substring(16)}}},9219:(t,e,n)=>{n.d(e,{M:()=>o});var r=n(8679),s=n(9229);function o(t,e){!0===e.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?r.kg.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=(0,s.Gd)();n.getScope().update(e.initialScope);const o=new t(e);n.bindClient(o)}},2822:(t,e,n)=>{n.d(e,{CT:()=>a,Hv:()=>i,RJ:()=>c});var r=n(9330),s=n(4110),o=n(1731);function i(t){const e=(0,r.ph)(),n={sid:(0,s.DM)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return(0,o.Jr)({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&a(n,t),n}function a(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,r.ph)(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,s.DM)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function c(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),a(t,n)}},526:(t,e,n)=>{n.d(e,{_:()=>o});var r=n(1731),s=n(9399);function o(t,e,n){const o=e.getOptions(),{publicKey:i}=e.getDsn()||{},{segment:a}=n&&n.getUser()||{},c=(0,r.Jr)({environment:o.environment||s.J,release:o.release,user_segment:a,public_key:i,trace_id:t});return e.emit&&e.emit("createDsc",c),c}},9824:(t,e,n)=>{n.d(e,{q:()=>d});var r=n(1863),s=n(8910),o=n(2826),i=n(4315),a=n(8679),c=n(654);const u=30;function d(t,e,n=(0,r.x)(t.bufferSize||u)){let d={};function l(r){const u=[];if((0,s.gv)(r,((e,n)=>{const r=(0,s.mL)(n);if((0,o.Q)(d,r)){const s=_(e,n);t.recordDroppedEvent("ratelimit_backoff",r,s)}else u.push(e)})),0===u.length)return(0,i.WD)();const l=(0,s.Jd)(r[0],u),p=e=>{(0,s.gv)(l,((n,r)=>{const o=_(n,r);t.recordDroppedEvent(e,(0,s.mL)(r),o)}))};return n.add((()=>e({body:(0,s.V$)(l,t.textEncoder)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),d=(0,o.WG)(d,t),t)),(t=>{throw p("network_error"),t})))).then((t=>t),(t=>{if(t instanceof c.b)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.error("Skipped sending event because buffer is full."),p("queue_overflow"),(0,i.WD)();throw t}))}return l.__sentry__baseTransport__=!0,{send:l,flush:t=>n.drain(t)}}function _(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}},4474:(t,e,n)=>{n.d(e,{R:()=>l});var r=n(4110),s=n(9330),o=n(4315),i=n(8337),a=n(318),c=n(9564),u=n(9399),d=n(233),_=n(9072);function l(t,e,n,l,h){const{normalizeDepth:f=3,normalizeMaxBreadth:g=1e3}=t,m={...e,event_id:e.event_id||n.event_id||(0,r.DM)(),timestamp:e.timestamp||(0,s.yW)()},y=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:r,dist:s,maxValueLength:o=250}=e;"environment"in t||(t.environment="environment"in e?n:u.J);void 0===t.release&&void 0!==r&&(t.release=r);void 0===t.dist&&void 0!==s&&(t.dist=s);t.message&&(t.message=(0,i.$G)(t.message,o));const a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=(0,i.$G)(a.value,o));const c=t.request;c&&c.url&&(c.url=(0,i.$G)(c.url,o))}(m,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(m,y),void 0===e.type&&function(t,e){const n=a.n2._sentryDebugIds;if(!n)return;let r;const s=p.get(e);s?r=s:(r=new Map,p.set(e,r));const o=Object.keys(n).reduce(((t,s)=>{let o;const i=r.get(s);i?o=i:(o=e(s),r.set(s,o));for(let e=o.length-1;e>=0;e--){const r=o[e];if(r.filename){t[r.filename]=n[s];break}}return t}),{});try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.filename&&(t.debug_id=o[t.filename])}))}))}catch(t){}}(m,t.stackParser);let v=l;n.captureContext&&(v=_.s.clone(v).update(n.captureContext));let E=(0,o.WD)(m);const S=h&&h.getEventProcessors?h.getEventProcessors():[];if(v){if(v.getAttachments){const t=[...n.attachments||[],...v.getAttachments()];t.length&&(n.attachments=t)}E=v.applyToEvent(m,n,S)}else E=(0,d.RP)([...S,...(0,d.fH)()],m,n);return E.then((t=>(t&&function(t){const e={};try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)}))}))}catch(t){}if(0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.keys(e).forEach((t=>{n.push({type:"sourcemap",code_file:t,debug_id:e[t]})}))}(t),"number"==typeof f&&f>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:(0,c.Fv)(t.data,e,n)}})))},...t.user&&{user:(0,c.Fv)(t.user,e,n)},...t.contexts&&{contexts:(0,c.Fv)(t.contexts,e,n)},...t.extra&&{extra:(0,c.Fv)(t.extra,e,n)}};t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=(0,c.Fv)(t.contexts.trace.data,e,n)));t.spans&&(r.spans=t.spans.map((t=>(t.data&&(t.data=(0,c.Fv)(t.data,e,n)),t))));return r}(t,f,g):t)))}const p=new WeakMap},5526:(t,e,n)=>{n.d(e,{J:()=>r});const r="7.80.1"},7441:(t,e,n)=>{n.d(e,{Z:()=>o});var r=n(3065),s=n(8337);function o(t,e,n=250,o,a,c,u){if(!(c.exception&&c.exception.values&&u&&(0,r.V9)(u.originalException,Error)))return;const d=c.exception.values.length>0?c.exception.values[c.exception.values.length-1]:void 0;var _,l;d&&(c.exception.values=(_=i(t,e,a,u.originalException,o,c.exception.values,d,0),l=n,_.map((t=>(t.value&&(t.value=(0,s.$G)(t.value,l)),t)))))}function i(t,e,n,s,o,u,d,_){if(u.length>=n+1)return u;let l=[...u];if((0,r.V9)(s[o],Error)){a(d,_);const r=t(e,s[o]),u=l.length;c(r,o,u,_),l=i(t,e,n,s[o],o,[r,...l],r,u)}return Array.isArray(s.errors)&&s.errors.forEach(((s,u)=>{if((0,r.V9)(s,Error)){a(d,_);const r=t(e,s),p=l.length;c(r,`errors[${u}]`,p,_),l=i(t,e,n,s,o,[r,...l],r,p)}})),l}function a(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,is_exception_group:!0,exception_id:e}}function c(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}},5291:(t,e,n)=>{n.d(e,{Rt:()=>i,l4:()=>c});var r=n(3065);const s=(0,n(318).Rf)(),o=80;function i(t,e={}){if(!t)return"";try{let n=t;const r=5,s=[];let i=0,c=0;const u=" > ",d=u.length;let _;const l=Array.isArray(e)?e:e.keyAttrs,p=!Array.isArray(e)&&e.maxStringLength||o;for(;n&&i++1&&c+s.length*d+_.length>=p));)s.push(_),c+=_.length,n=n.parentNode;return s.reverse().join(u)}catch(t){return""}}function a(t,e){const n=t,s=[];let o,i,a,c,u;if(!n||!n.tagName)return"";s.push(n.tagName.toLowerCase());const d=e&&e.length?e.filter((t=>n.getAttribute(t))).map((t=>[t,n.getAttribute(t)])):null;if(d&&d.length)d.forEach((t=>{s.push(`[${t[0]}="${t[1]}"]`)}));else if(n.id&&s.push(`#${n.id}`),o=n.className,o&&(0,r.HD)(o))for(i=o.split(/\s+/),u=0;u{n.d(e,{y:()=>o});var r=n(8910),s=n(9330);function o(t,e,n){const o=[{type:"client_report"},{timestamp:n||(0,s.yW)(),discarded_events:t}];return(0,r.Jd)(e?{dsn:e}:{},[o])}},3482:(t,e,n)=>{n.d(e,{RA:()=>o,vK:()=>a});var r=n(8679);const s=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function o(t,e=!1){const{host:n,path:r,pass:s,port:o,projectId:i,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&s?`:${s}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${i}`}function i(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function a(t){const e="string"==typeof t?function(t){const e=s.exec(t);if(!e)return void console.error(`Invalid Sentry Dsn: ${t}`);const[n,r,o="",a,c="",u]=e.slice(1);let d="",_=u;const l=_.split("/");if(l.length>1&&(d=l.slice(0,-1).join("/"),_=l.pop()),_){const t=_.match(/^\d+/);t&&(_=t[0])}return i({host:a,pass:o,path:d,projectId:_,port:c,protocol:n,publicKey:r})}(t):i(t);if(e&&function(t){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return!0;const{port:e,projectId:n,protocol:s}=t;return!(["protocol","publicKey","host","projectId"].find((e=>!t[e]&&(r.kg.error(`Invalid Sentry Dsn: ${e} missing`),!0)))||(n.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(s)?e&&isNaN(parseInt(e,10))&&(r.kg.error(`Invalid Sentry Dsn: Invalid port ${e}`),1):(r.kg.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),1):(r.kg.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(e))return e}},4953:(t,e,n)=>{function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function s(){return"npm"}n.d(e,{S:()=>s,n:()=>r})},8910:(t,e,n)=>{n.d(e,{BO:()=>a,Cd:()=>f,HY:()=>h,Jd:()=>i,V$:()=>d,gv:()=>c,mL:()=>p,zQ:()=>_});var r=n(3482),s=n(9564),o=n(1731);function i(t,e=[]){return[t,e]}function a(t,e){const[n,r]=t;return[n,[...r,e]]}function c(t,e){const n=t[1];for(const t of n){if(e(t,t[0].type))return!0}return!1}function u(t,e){return(e||new TextEncoder).encode(t)}function d(t,e){const[n,r]=t;let o=JSON.stringify(n);function i(t){"string"==typeof o?o="string"==typeof t?o+t:[u(o,e),t]:o.push("string"==typeof t?u(t,e):t)}for(const t of r){const[e,n]=t;if(i(`\n${JSON.stringify(e)}\n`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify((0,s.Fv)(n))}i(t)}}return"string"==typeof o?o:function(t){const e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let r=0;for(const e of t)n.set(e,r),r+=e.length;return n}(o)}function _(t,e){const n="string"==typeof t.data?u(t.data,e):t.data;return[(0,o.Jr)({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}const l={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",statsd:"unknown"};function p(t){return l[t]}function h(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function f(t,e,n,s){const i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&s&&{dsn:(0,r.RA)(s)},...i&&{trace:(0,o.Jr)({...i})}}}},654:(t,e,n)=>{n.d(e,{b:()=>r});class r extends Error{constructor(t,e="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}}},1759:(t,e,n)=>{n.d(e,{oq:()=>g,xU:()=>l});var r=n(3065),s=n(8679),o=n(4110),i=n(1731),a=n(6580),c=n(5162),u=n(318),d=n(9852);const _=(0,u.Rf)(),l="__sentry_xhr_v2__",p={},h={};function f(t){if(!h[t])switch(h[t]=!0,t){case"console":!function(){if(!("console"in u.n2))return;s.RU.forEach((function(t){t in u.n2.console&&(0,i.hl)(u.n2.console,t,(function(e){return s.LD[t]=e,function(...e){m("console",{args:e,level:t});const n=s.LD[t];n&&n.apply(u.n2.console,e)}}))}))}();break;case"dom":!function(){if(!_.document)return;const t=m.bind(null,"dom"),e=k(t,!0);_.document.addEventListener("click",e,!1),_.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{const n=_[e]&&_[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,i.hl)(n,"addEventListener",(function(e){return function(n,r,s){if("click"===n||"keypress"==n)try{const r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},i=o[n]=o[n]||{refCount:0};if(!i.handler){const r=k(t);i.handler=r,e.call(this,n,r,s)}i.refCount++}catch(t){}return e.call(this,n,r,s)}})),(0,i.hl)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{const n=this,s=n.__sentry_instrumentation_handlers__||{},o=s[e];o&&(o.refCount--,o.refCount<=0&&(t.call(this,e,o.handler,r),o.handler=void 0,delete s[e]),0===Object.keys(s).length&&delete n.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}})))}))}();break;case"xhr":!function(){if(!_.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;(0,i.hl)(t,"open",(function(t){return function(...e){const n=Date.now(),s=e[1],o=this[l]={method:(0,r.HD)(e[0])?e[0].toUpperCase():e[0],url:e[1],request_headers:{}};(0,r.HD)(s)&&"POST"===o.method&&s.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const a=()=>{const t=this[l];if(t&&4===this.readyState){try{t.status_code=this.status}catch(t){}m("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:n,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,i.hl)(this,"onreadystatechange",(function(t){return function(...e){return a(),t.apply(this,e)}})):this.addEventListener("readystatechange",a),(0,i.hl)(this,"setRequestHeader",(function(t){return function(...e){const[n,r]=e,s=this[l];return s&&(s.request_headers[n.toLowerCase()]=r),t.apply(this,e)}})),t.apply(this,e)}})),(0,i.hl)(t,"send",(function(t){return function(...e){const n=this[l];return n&&void 0!==e[0]&&(n.body=e[0]),m("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}();break;case"fetch":!function(){if(!(0,c.t$)())return;(0,i.hl)(u.n2,"fetch",(function(t){return function(...e){const{method:n,url:r}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){const[e,n]=t;return{url:v(e),method:y(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:v(e),method:y(e,"method")?String(e.method).toUpperCase():"GET"}}(e),s={args:e,fetchData:{method:n,url:r},startTimestamp:Date.now()};return m("fetch",{...s}),t.apply(u.n2,e).then((t=>(m("fetch",{...s,endTimestamp:Date.now(),response:t}),t)),(t=>{throw m("fetch",{...s,endTimestamp:Date.now(),error:t}),t}))}}))}();break;case"history":!function(){if(!(0,d.B)())return;const t=_.onpopstate;function e(t){return function(...e){const n=e.length>2?e[2]:void 0;if(n){const t=E,e=String(n);E=e,m("history",{from:t,to:e})}return t.apply(this,e)}}_.onpopstate=function(...e){const n=_.location.href,r=E;if(E=n,m("history",{from:r,to:n}),t)try{return t.apply(this,e)}catch(t){}},(0,i.hl)(_.history,"pushState",e),(0,i.hl)(_.history,"replaceState",e)}();break;case"error":T=_.onerror,_.onerror=function(t,e,n,r,s){return m("error",{column:r,error:s,line:n,msg:t,url:e}),!(!T||T.__SENTRY_LOADER__)&&T.apply(this,arguments)},_.onerror.__SENTRY_INSTRUMENTED__=!0;break;case"unhandledrejection":D=_.onunhandledrejection,_.onunhandledrejection=function(t){return m("unhandledrejection",t),!(D&&!D.__SENTRY_LOADER__)||D.apply(this,arguments)},_.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0;break;default:return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn("unknown instrumentation type:",t))}}function g(t,e){p[t]=p[t]||[],p[t].push(e),f(t)}function m(t,e){if(t&&p[t])for(const n of p[t]||[])try{n(e)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${(0,a.$P)(n)}\nError:`,e)}}function y(t,e){return!!t&&"object"==typeof t&&!!t[e]}function v(t){return"string"==typeof t?t:t?y(t,"url")?t.url:t.toString?t.toString():"":""}let E;const S=1e3;let b,x,w;function k(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(t){try{return t.target}catch(t){return null}}(n);if(function(t,e){return"keypress"===t&&(!e||!e.tagName||"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName&&!e.isContentEditable)}(n.type,r))return;(0,i.xp)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,i.xp)(r,"_sentryId",(0,o.DM)());const s="keypress"===n.type?"input":n.type;(function(t){if(t.type!==x)return!1;try{if(!t.target||t.target._sentryId!==w)return!1}catch(t){}return!0})(n)||(t({event:n,name:s,global:e}),x=n.type,w=r?r._sentryId:void 0),clearTimeout(b),b=_.setTimeout((()=>{w=void 0,x=void 0}),S)}}let T=null;let D=null},3065:(t,e,n)=>{n.d(e,{Cy:()=>g,HD:()=>u,J8:()=>f,Kj:()=>h,PO:()=>_,TX:()=>a,V9:()=>y,VW:()=>i,VZ:()=>s,cO:()=>l,fm:()=>c,i2:()=>m,kK:()=>p,pt:()=>d,y1:()=>v});const r=Object.prototype.toString;function s(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(t,Error)}}function o(t,e){return r.call(t)===`[object ${e}]`}function i(t){return o(t,"ErrorEvent")}function a(t){return o(t,"DOMError")}function c(t){return o(t,"DOMException")}function u(t){return o(t,"String")}function d(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function _(t){return o(t,"Object")}function l(t){return"undefined"!=typeof Event&&y(t,Event)}function p(t){return"undefined"!=typeof Element&&y(t,Element)}function h(t){return o(t,"RegExp")}function f(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function g(t){return _(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function m(t){return"number"==typeof t&&t!=t}function y(t,e){try{return t instanceof e}catch(t){return!1}}function v(t){return!("object"!=typeof t||null===t||!t.__isVue&&!t._isVue)}},8679:(t,e,n)=>{n.d(e,{Cf:()=>i,LD:()=>o,RU:()=>s,kg:()=>a});var r=n(318);const s=["debug","info","warn","error","log","assert","trace"],o={};function i(t){if(!("console"in r.n2))return t();const e=r.n2.console,n={},s=Object.keys(o);s.forEach((t=>{const r=o[t];n[t]=e[t],e[t]=r}));try{return t()}finally{s.forEach((t=>{e[t]=n[t]}))}}const a=function(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?s.forEach((n=>{e[n]=(...e)=>{t&&i((()=>{r.n2.console[n](`Sentry Logger [${n}]:`,...e)}))}})):s.forEach((t=>{e[t]=()=>{}})),e}()},724:(t,e,n)=>{function r(){const t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;tr})},4110:(t,e,n)=>{n.d(e,{DM:()=>o,Db:()=>c,EG:()=>u,YO:()=>d,jH:()=>a,lE:()=>_});var r=n(1731),s=n(318);function o(){const t=s.n2,e=t.crypto||t.msCrypto;let n=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(n=()=>e.getRandomValues(new Uint8Array(1))[0])}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&n())>>t/4).toString(16)))}function i(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function a(t){const{message:e,event_id:n}=t;if(e)return e;const r=i(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function c(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{};o.value||(o.value=e||""),o.type||(o.type=n||"Error")}function u(t,e){const n=i(t);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){const t={...r&&r.data,...e.data};n.mechanism.data=t}}function d(t){if(t&&t.__sentry_captured__)return!0;try{(0,r.xp)(t,"__sentry_captured__",!0)}catch(t){}return!1}function _(t){return Array.isArray(t)?t:[t]}},3219:(t,e,n)=>{n.d(e,{KV:()=>s,l$:()=>o});var r=n(4953);function s(){return!(0,r.n)()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(t,e){return t.require(e)}t=n.hmd(t)},9564:(t,e,n)=>{n.d(e,{Fv:()=>a,Qy:()=>c});var r=n(3065),s=n(724),o=n(1731),i=n(6580);function a(t,e=100,n=1/0){try{return u("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function c(t,e=3,n=102400){const r=a(t,e);return s=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(s))>n?c(t,e-1,n):r;var s}function u(t,e,n=1/0,a=1/0,c=(0,s.i)()){const[d,_]=c;if(null==e||["number","boolean","string"].includes(typeof e)&&!(0,r.i2)(e))return e;const l=function(t,e){try{if("domain"===t&&e&&"object"==typeof e&&e._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if("undefined"!=typeof window&&e===window)return"[Global]";if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if((0,r.y1)(e))return"[VueViewModel]";if((0,r.Cy)(e))return"[SyntheticEvent]";if("number"==typeof e&&e!=e)return"[NaN]";if("function"==typeof e)return`[Function: ${(0,i.$P)(e)}]`;if("symbol"==typeof e)return`[${String(e)}]`;if("bigint"==typeof e)return`[BigInt: ${String(e)}]`;const n=function(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(e);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(t){return`**non-serializable** (${t})`}}(t,e);if(!l.startsWith("[object "))return l;if(e.__sentry_skip_normalization__)return e;const p="number"==typeof e.__sentry_override_normalization_depth__?e.__sentry_override_normalization_depth__:n;if(0===p)return l.replace("object ","");if(d(e))return"[Circular ~]";const h=e;if(h&&"function"==typeof h.toJSON)try{return u("",h.toJSON(),p-1,a,c)}catch(t){}const f=Array.isArray(e)?[]:{};let g=0;const m=(0,o.Sh)(e);for(const t in m){if(!Object.prototype.hasOwnProperty.call(m,t))continue;if(g>=a){f[t]="[MaxProperties ~]";break}const e=m[t];f[t]=u(t,e,p-1,a,c),g++}return _(e),f}},1731:(t,e,n)=>{n.d(e,{$Q:()=>u,HK:()=>d,Jr:()=>g,Sh:()=>l,_j:()=>_,hl:()=>a,xp:()=>c,zf:()=>f});var r=n(5291),s=n(3065),o=n(8679),i=n(8337);function a(t,e,n){if(!(e in t))return;const r=t[e],s=n(r);"function"==typeof s&&u(s,r),t[e]=s}function c(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(n){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function u(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,c(t,"__sentry_original__",e)}catch(t){}}function d(t){return t.__sentry_original__}function _(t){return Object.keys(t).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`)).join("&")}function l(t){if((0,s.VZ)(t))return{message:t.message,name:t.name,stack:t.stack,...h(t)};if((0,s.cO)(t)){const e={type:t.type,target:p(t.target),currentTarget:p(t.currentTarget),...h(t)};return"undefined"!=typeof CustomEvent&&(0,s.V9)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function p(t){try{return(0,s.kK)(t)?(0,r.Rt)(t):Object.prototype.toString.call(t)}catch(t){return""}}function h(t){if("object"==typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function f(t,e=40){const n=Object.keys(l(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return(0,i.$G)(n[0],e);for(let t=n.length;t>0;t--){const r=n.slice(0,t).join(", ");if(!(r.length>e))return t===n.length?r:(0,i.$G)(r,e)}return""}function g(t){return m(t,new Map)}function m(t,e){if((0,s.PO)(t)){const n=e.get(t);if(void 0!==n)return n;const r={};e.set(t,r);for(const n of Object.keys(t))void 0!==t[n]&&(r[n]=m(t[n],e));return r}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const r=[];return e.set(t,r),t.forEach((t=>{r.push(m(t,e))})),r}return t}},1863:(t,e,n)=>{n.d(e,{x:()=>o});var r=n(654),s=n(4315);function o(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(o){if(!(void 0===t||e.lengthn(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(t){return new s.cW(((n,r)=>{let o=e.length;if(!o)return n(!0);const i=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{(0,s.WD)(t).then((()=>{--o||(clearTimeout(i),n(!0))}),r)}))}))}}}},2826:(t,e,n)=>{n.d(e,{Q:()=>s,WG:()=>o});const r=6e4;function s(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}function o(t,{statusCode:e,headers:n},s=Date.now()){const o={...t},i=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(i)for(const t of i.trim().split(",")){const[e,n]=t.split(":",2),r=parseInt(e,10),i=1e3*(isNaN(r)?60:r);if(n)for(const t of n.split(";"))o[t]=s+i;else o.all=s+i}else a?o.all=s+function(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;const s=Date.parse(`${t}`);return isNaN(s)?r:s-e}(a,s):429===e&&(o.all=s+6e4);return o}},5320:(t,e,n)=>{n.d(e,{VT:()=>s});const r=["fatal","error","warning","log","info","debug"];function s(t){return"warn"===t?"warning":r.includes(t)?t:"log"}},6580:(t,e,n)=>{n.d(e,{$P:()=>u,Sq:()=>a,pE:()=>i});const r=50,s=/\(error: (.*)\)/,o=/captureMessage|captureException/;function i(...t){const e=t.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return(t,n=0)=>{const i=[],a=t.split("\n");for(let t=n;t1024)continue;const o=s.test(n)?n.replace(s,"$1"):n;if(!o.match(/\S*Error: /)){for(const t of e){const e=t(o);if(e){i.push(e);break}}if(i.length>=r)break}}return function(t){if(!t.length)return[];const e=Array.from(t);/sentryWrapped/.test(e[e.length-1].function||"")&&e.pop();e.reverse(),o.test(e[e.length-1].function||"")&&(e.pop(),o.test(e[e.length-1].function||"")&&e.pop());return e.slice(0,r).map((t=>({...t,filename:t.filename||e[e.length-1].filename,function:t.function||"?"})))}(i)}}function a(t){return Array.isArray(t)?i(...t):t}const c="";function u(t){try{return t&&"function"==typeof t&&t.name||c}catch(t){return c}}},8337:(t,e,n)=>{n.d(e,{$G:()=>s,U0:()=>i,nK:()=>o});var r=n(3065);function s(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function o(t,e){if(!Array.isArray(t))return"";const n=[];for(let e=0;efunction(t,e,n=!1){return!!(0,r.HD)(t)&&((0,r.Kj)(e)?e.test(t):!!(0,r.HD)(e)&&(n?t===e:t.includes(e)))}(t,e,n)))}},5162:(t,e,n)=>{n.d(e,{Ak:()=>o,Du:()=>i,t$:()=>a});var r=n(8679);const s=(0,n(318).Rf)();function o(){if(!("fetch"in s))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function i(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function a(){if(!o())return!1;if(i(s.fetch))return!0;let t=!1;const e=s.document;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=i(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}},4315:(t,e,n)=>{n.d(e,{$2:()=>i,WD:()=>o,cW:()=>a});var r,s=n(3065);function o(t){return new a((e=>{e(t)}))}function i(t){return new a(((e,n)=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(r||(r={}));class a{constructor(t){a.prototype.__init.call(this),a.prototype.__init2.call(this),a.prototype.__init3.call(this),a.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new a(((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new a(((e,n)=>{let r,s;return this.then((e=>{s=!1,r=e,t&&t()}),(e=>{s=!0,r=e,t&&t()})).then((()=>{s?n(r):e(r)}))}))}__init(){this._resolve=t=>{this._setResult(r.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(r.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{this._state===r.PENDING&&((0,s.J8)(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===r.RESOLVED&&t[1](this._value),this._state===r.REJECTED&&t[2](this._value),t[0]=!0)}))}}}},9330:(t,e,n)=>{n.d(e,{ph:()=>d,yW:()=>u});var r=n(3219),s=n(318);t=n.hmd(t);const o=(0,s.Rf)(),i={nowSeconds:()=>Date.now()/1e3};const a=(0,r.KV)()?function(){try{return(0,r.l$)(t,"perf_hooks").performance}catch(t){return}}():function(){const{performance:t}=o;if(!t||!t.now)return;return{now:()=>t.now(),timeOrigin:Date.now()-t.now()}}(),c=void 0===a?i:{nowSeconds:()=>(a.timeOrigin+a.now())/1e3},u=i.nowSeconds.bind(i),d=c.nowSeconds.bind(c);let _;(()=>{const{performance:t}=o;if(!t||!t.now)return void(_="none");const e=36e5,n=t.now(),r=Date.now(),s=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,i=s{function r(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}n.d(e,{en:()=>r})},9852:(t,e,n)=>{n.d(e,{B:()=>s});const r=(0,n(318).Rf)();function s(){const t=r.chrome,e=t&&t.app&&t.app.runtime,n="history"in r&&!!r.history.pushState&&!!r.history.replaceState;return!e&&n}},318:(t,e,n)=>{function r(t){return t&&t.Math==Math?t:void 0}n.d(e,{Rf:()=>o,YO:()=>i,n2:()=>s});const s="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof window&&r(window)||function(){return this}()||{};function o(){return s}function i(t,e,n){const r=n||s,o=r.__SENTRY__=r.__SENTRY__||{};return o[t]||(o[t]=e())}},6989:t=>{t.exports=window.wp.apiFetch},2694:t=>{t.exports=window.wp.hooks}},e={};function n(r){var s=e[r];if(void 0!==s)return s.exports;var o=e[r]={id:r,loaded:!1,exports:{}};return t[r](o,o.exports,n),o.loaded=!0,o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.hmd=t=>((t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t=n(4410),e=n(1981),r=n(6989),s=n.n(r),o=n(2694);const i="true"===window.WPcom_Error_Reporting_Config?.shouldActivateSentry,a=window._jsErr||[],c=window._headJsErrorHandler;i?function(){const n=window.WPcom_Error_Reporting_Config.releaseName;t.S1({dsn:"https://658ae291b00242148af6b76494d4a49a@o248881.ingest.sentry.io/5876245",release:n}),(0,o.addAction)("editor.ErrorBoundary.errorLogged","wpcom/error-reporting",(t=>{e.Tb(t)})),a.forEach((t=>e.Tb(t))),e.yl().then((()=>delete window._jsErr))}():function(){const t=({error:t})=>{if(!t)return;const e={message:t.message,trace:t.stack,url:document.location.href,feature:"wp-admin"};return s()({global:!0,path:"/rest/v1.1/js-error",method:"POST",data:{error:JSON.stringify(e)}}).catch((()=>console.error("Error: Unable to record the error in Logstash.")))};window.addEventListener("error",t),Promise.allSettled(a.map(t)).then((()=>delete window._jsErr))}(),window.removeEventListener("error",c),delete window._headJsErrorHandler})()})(); \ No newline at end of file +(()=>{"use strict";var t={74543:(t,e,n)=>{n.d(e,{R:()=>l});var r=n(86012),s=n(65526),o=n(34953),i=n(78679),a=n(14154),c=n(23482),u=n(6425),d=n(68048),_=n(84761);class l extends r.W{constructor(t){const e=d.m9.SENTRY_SDK_SOURCE||(0,o.S)();t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${e}:@sentry/browser`,version:s.J}],version:s.J},super(t),t.sendClientReports&&d.m9.document&&d.m9.document.addEventListener("visibilitychange",(()=>{"hidden"===d.m9.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return(0,u.dr)(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return(0,u.aB)(this._options.stackParser,t,e,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled())return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("SDK not enabled, will not capture user feedback."));const e=(0,_.r)(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}_flushOutcomes(){const t=this._clearOutcomes();if(0===t.length)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("No outcomes to send"));if(!this._dsn)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("No dsn provided, will not send outcomes"));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("Sending outcomes:",t);const e=(0,a.y)(t,this._options.tunnel&&(0,c.RA)(this._dsn));this._sendEnvelope(e)}}},6425:(t,e,n)=>{n.d(e,{GJ:()=>u,ME:()=>g,aB:()=>f,dr:()=>h});var r=n(9229),s=n(93065),o=n(39564),i=n(74110),a=n(64315),c=n(41731);function u(t,e){const n=_(t,e),r={type:e&&e.name,value:p(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function d(t,e){return{exception:{values:[u(t,e)]}}}function _(t,e){const n=e.stacktrace||e.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(l.test(t.message))return 1}return 0}(e);try{return t(n,r)}catch(t){}return[]}const l=/Minified React error #\d+;/i;function p(t){const e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function h(t,e,n,r){const s=g(t,e,n&&n.syntheticException||void 0,r);return(0,i.EG)(s),s.level="error",n&&n.event_id&&(s.event_id=n.event_id),(0,a.WD)(s)}function f(t,e,n="info",r,s){const o=m(t,e,r&&r.syntheticException||void 0,s);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),(0,a.WD)(o)}function g(t,e,n,a,c){let u;if((0,s.VW)(e)&&e.error){return d(t,e.error)}if((0,s.TX)(e)||(0,s.fm)(e)){const r=e;if("stack"in e)u=d(t,e);else{const e=r.name||((0,s.TX)(r)?"DOMError":"DOMException"),o=r.message?`${e}: ${r.message}`:e;u=m(t,o,n,a),(0,i.Db)(u,o)}return"code"in r&&(u.tags={...u.tags,"DOMException.code":`${r.code}`}),u}if((0,s.VZ)(e))return d(t,e);if((0,s.PO)(e)||(0,s.cO)(e)){return u=function(t,e,n,i){const a=(0,r.Gd)().getClient(),c=a&&a.getOptions().normalizeDepth,u={exception:{values:[{type:(0,s.cO)(e)?e.constructor.name:i?"UnhandledRejection":"Error",value:y(e,{isUnhandledRejection:i})}]},extra:{__serialized__:(0,o.Qy)(e,c)}};if(n){const e=_(t,n);e.length&&(u.exception.values[0].stacktrace={frames:e})}return u}(t,e,n,c),(0,i.EG)(u,{synthetic:!0}),u}return u=m(t,e,n,a),(0,i.Db)(u,`${e}`,void 0),(0,i.EG)(u,{synthetic:!0}),u}function m(t,e,n,r){const s={message:e};if(r&&n){const r=_(t,n);r.length&&(s.exception={values:[{value:e,stacktrace:{frames:r}}]})}return s}function y(t,{isUnhandledRejection:e}){const n=(0,c.zf)(t),r=e?"promise rejection":"exception";if((0,s.VW)(t))return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``;if((0,s.cO)(t)){return`Event \`${function(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(t){}}(t)}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}},68048:(t,e,n)=>{n.d(e,{Wz:()=>u,m9:()=>a,re:()=>d});var r=n(71981),s=n(50318),o=n(41731),i=n(74110);const a=s.n2;let c=0;function u(){return c>0}function d(t,e={},n){if("function"!=typeof t)return t;try{const e=t.__sentry_wrapped__;if(e)return e;if((0,o.HK)(t))return t}catch(e){return t}const s=function(){const s=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const r=s.map((t=>d(t,e)));return t.apply(this,r)}catch(t){throw c++,setTimeout((()=>{c--})),(0,r.$e)((n=>{n.addEventProcessor((t=>(e.mechanism&&((0,i.Db)(t,void 0,void 0),(0,i.EG)(t,e.mechanism)),t.extra={...t.extra,arguments:s},t))),(0,r.Tb)(t)})),t}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(s[e]=t[e])}catch(t){}(0,o.$Q)(s,t),(0,o.xp)(t,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get:()=>t.name})}catch(t){}return s}},5301:(t,e,n)=>{n.d(e,{O:()=>p});var r=n(9229),s=n(11759),o=n(74110),i=n(78679),a=n(15291),c=n(55320),u=n(88337),d=n(16287),_=n(68048);const l=1024;class p{static __initStatic(){this.id="Breadcrumbs"}constructor(t){this.name=p.id,this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){if(this.options.console&&(0,s.oq)("console",f),this.options.dom&&(0,s.oq)("dom",function(t){function e(e){let n,s="object"==typeof t?t.serializeAttribute:void 0,o="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;o&&o>l&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=l),"string"==typeof s&&(s=[s]);try{const t=e.event;n=function(t){return!!t&&!!t.target}(t)?(0,a.Rt)(t.target,{keyAttrs:s,maxStringLength:o}):(0,a.Rt)(t,{keyAttrs:s,maxStringLength:o})}catch(t){n=""}0!==n.length&&(0,r.Gd)().addBreadcrumb({category:`ui.${e.name}`,message:n},{event:e.event,name:e.name,global:e.global})}return e}(this.options.dom)),this.options.xhr&&(0,s.oq)("xhr",g),this.options.fetch&&(0,s.oq)("fetch",m),this.options.history&&(0,s.oq)("history",y),this.options.sentry){const t=(0,r.Gd)().getClient();t&&t.on&&t.on("beforeSendEvent",h)}}}function h(t){(0,r.Gd)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,o.jH)(t)},{event:t})}function f(t){const e={category:"console",data:{arguments:t.args,logger:"console"},level:(0,c.VT)(t.level),message:(0,u.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message=`Assertion failed: ${(0,u.nK)(t.args.slice(1)," ")||"console.assert"}`,e.data.arguments=t.args.slice(1)}(0,r.Gd)().addBreadcrumb(e,{input:t.args,level:t.level})}function g(t){const{startTimestamp:e,endTimestamp:n}=t,o=t.xhr[s.xU];if(!e||!n||!o)return;const{method:i,url:a,status_code:c,body:u}=o,d={method:i,url:a,status_code:c},_={xhr:t.xhr,input:u,startTimestamp:e,endTimestamp:n};(0,r.Gd)().addBreadcrumb({category:"xhr",data:d,type:"http"},_)}function m(t){const{startTimestamp:e,endTimestamp:n}=t;if(n&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const s=t.fetchData,o={data:t.error,input:t.args,startTimestamp:e,endTimestamp:n};(0,r.Gd)().addBreadcrumb({category:"fetch",data:s,level:"error",type:"http"},o)}else{const s={...t.fetchData,status_code:t.response&&t.response.status},o={input:t.args,response:t.response,startTimestamp:e,endTimestamp:n};(0,r.Gd)().addBreadcrumb({category:"fetch",data:s,type:"http"},o)}}function y(t){let e=t.from,n=t.to;const s=(0,d.en)(_.m9.location.href);let o=(0,d.en)(e);const i=(0,d.en)(n);o.path||(o=s),s.protocol===i.protocol&&s.host===i.host&&(n=i.relative),s.protocol===o.protocol&&s.host===o.host&&(e=o.relative),(0,r.Gd)().addBreadcrumb({category:"navigation",data:{from:e,to:n}})}p.__initStatic()},14027:(t,e,n)=>{n.d(e,{I:()=>s});var r=n(78679);class s{static __initStatic(){this.id="Dedupe"}constructor(){this.name=s.id}setupOnce(t,e){}processEvent(t){if(t.type)return t;try{if(function(t,e){if(!e)return!1;if(function(t,e){const n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!i(t,e))return!1;if(!o(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){const n=a(e),r=a(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!i(t,e))return!1;if(!o(t,e))return!1;return!0}(t,e))return!0;return!1}(t,this._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return this._previousEvent=t}}function o(t,e){let n=c(t),r=c(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let t=0;t{n.d(e,{d:()=>_});var r=n(9229),s=n(11759),o=n(93065),i=n(15291),a=n(78679),c=n(74110),u=n(6425),d=n(68048);class _{static __initStatic(){this.id="GlobalHandlers"}constructor(t){this.name=_.id,this._options={onerror:!0,onunhandledrejection:!0,...t},this._installFunc={onerror:l,onunhandledrejection:p}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const n in t){const r=this._installFunc[n];r&&t[n]&&(e=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log(`Global Handler attached: ${e}`),r(),this._installFunc[n]=void 0)}var e}}function l(){(0,s.oq)("error",(t=>{const[e,n,r]=g();if(!e.getIntegration(_))return;const{msg:s,url:i,line:a,column:c,error:l}=t;if((0,d.Wz)()||l&&l.__sentry_own_request__)return;const p=void 0===l&&(0,o.HD)(s)?function(t,e,n,r){const s=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let i=(0,o.VW)(t)?t.message:t,a="Error";const c=i.match(s);c&&(a=c[1],i=c[2]);const u={exception:{values:[{type:a,value:i}]}};return h(u,e,n,r)}(s,i,a,c):h((0,u.ME)(n,l||s,void 0,r,!1),i,a,c);p.level="error",f(e,l,p,"onerror")}))}function p(){(0,s.oq)("unhandledrejection",(t=>{const[e,n,r]=g();if(!e.getIntegration(_))return;let s=t;try{"reason"in t?s=t.reason:"detail"in t&&"reason"in t.detail&&(s=t.detail.reason)}catch(t){}if((0,d.Wz)()||s&&s.__sentry_own_request__)return!0;const i=(0,o.pt)(s)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(s)}`}]}}:(0,u.ME)(n,s,void 0,r,!0);i.level="error",f(e,s,i,"onunhandledrejection")}))}function h(t,e,n,r){const s=t.exception=t.exception||{},a=s.values=s.values||[],c=a[0]=a[0]||{},u=c.stacktrace=c.stacktrace||{},d=u.frames=u.frames||[],_=isNaN(parseInt(r,10))?void 0:r,l=isNaN(parseInt(n,10))?void 0:n,p=(0,o.HD)(e)&&e.length>0?e:(0,i.l4)();return 0===d.length&&d.push({colno:_,filename:p,function:"?",in_app:!0,lineno:l}),t}function f(t,e,n,r){(0,c.EG)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function g(){const t=(0,r.Gd)(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}_.__initStatic()},25626:(t,e,n)=>{n.d(e,{q:()=>s});var r=n(68048);class s{static __initStatic(){this.id="HttpContext"}constructor(){this.name=s.id}setupOnce(){}preprocessEvent(t){if(!r.m9.navigator&&!r.m9.location&&!r.m9.document)return;const e=t.request&&t.request.url||r.m9.location&&r.m9.location.href,{referrer:n}=r.m9.document||{},{userAgent:s}=r.m9.navigator||{},o={...t.request&&t.request.headers,...n&&{Referer:n},...s&&{"User-Agent":s}},i={...t.request,...e&&{url:e},headers:o};t.request=i}}s.__initStatic()},73872:(t,e,n)=>{n.d(e,{i:()=>o});var r=n(27441),s=n(6425);class o{static __initStatic(){this.id="LinkedErrors"}constructor(t={}){this.name=o.id,this._key=t.key||"cause",this._limit=t.limit||5}setupOnce(){}preprocessEvent(t,e,n){const o=n.getOptions();(0,r.Z)(s.GJ,o.stackParser,o.maxValueLength,this._key,this._limit,t,e)}}o.__initStatic()},63453:(t,e,n)=>{n.d(e,{p:()=>a});var r=n(41731),s=n(26580),o=n(68048);const i=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class a{static __initStatic(){this.id="TryCatch"}constructor(t){this.name=a.id,this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&(0,r.hl)(o.m9,"setTimeout",c),this._options.setInterval&&(0,r.hl)(o.m9,"setInterval",c),this._options.requestAnimationFrame&&(0,r.hl)(o.m9,"requestAnimationFrame",u),this._options.XMLHttpRequest&&"XMLHttpRequest"in o.m9&&(0,r.hl)(XMLHttpRequest.prototype,"send",d);const t=this._options.eventTarget;if(t){(Array.isArray(t)?t:i).forEach(_)}}}function c(t){return function(...e){const n=e[0];return e[0]=(0,o.re)(n,{mechanism:{data:{function:(0,s.$P)(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function u(t){return function(e){return t.apply(this,[(0,o.re)(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,s.$P)(t)},handled:!1,type:"instrument"}})])}}function d(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in n&&"function"==typeof n[t]&&(0,r.hl)(n,t,(function(e){const n={mechanism:{data:{function:t,handler:(0,s.$P)(e)},handled:!1,type:"instrument"}},i=(0,r.HK)(e);return i&&(n.mechanism.data.handler=(0,s.$P)(i)),(0,o.re)(e,n)}))})),t.apply(this,e)}}function _(t){const e=o.m9,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,r.hl)(n,"addEventListener",(function(e){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=(0,o.re)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,s.$P)(r),target:t},handled:!1,type:"instrument"}}))}catch(t){}return e.apply(this,[n,(0,o.re)(r,{mechanism:{data:{function:"addEventListener",handler:(0,s.$P)(r),target:t},handled:!1,type:"instrument"}}),i])}})),(0,r.hl)(n,"removeEventListener",(function(t){return function(e,n,r){const s=n;try{const n=s&&s.__sentry_wrapped__;n&&t.call(this,e,n,r)}catch(t){}return t.call(this,e,s,r)}})))}a.__initStatic()},44410:(t,e,n)=>{n.d(e,{S1:()=>w});var r=n(66163),s=n(63664),o=n(98054),i=n(49219),a=n(9229),c=n(26580),u=n(45162),d=n(78679),_=n(11759),l=n(74543),p=n(68048),h=n(58310),f=n(63453),g=n(5301),m=n(73872),y=n(25626),v=n(14027),E=n(32405),S=n(12816),b=n(76221);const x=[new r.QD,new s.c,new f.p,new g.O,new h.d,new m.i,new v.I,new y.q];function w(t={}){void 0===t.defaultIntegrations&&(t.defaultIntegrations=x),void 0===t.release&&("string"==typeof __SENTRY_RELEASE__&&(t.release=__SENTRY_RELEASE__),p.m9.SENTRY_RELEASE&&p.m9.SENTRY_RELEASE.id&&(t.release=p.m9.SENTRY_RELEASE.id)),void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0);const e={...t,stackParser:(0,c.Sq)(t.stackParser||E.Dt),integrations:(0,o.m8)(t),transport:t.transport||((0,u.Ak)()?S.f:b.K)};(0,i.M)(l.R,e),t.autoSessionTracking&&function(){if(void 0===p.m9.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));const t=(0,a.Gd)();if(!t.captureSession)return;k(t),(0,_.oq)("history",(({from:t,to:e})=>{void 0!==t&&t!==e&&k((0,a.Gd)())}))}()}function k(t){t.startSession({ignoreDuration:!0}),t.captureSession()}},32405:(t,e,n)=>{n.d(e,{Dt:()=>l});var r=n(26580);const s="?";function o(t,e,n,r){const s={filename:t,function:e,in_app:!0};return void 0!==n&&(s.lineno=n),void 0!==r&&(s.colno=r),s}const i=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/,c=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,u=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,d=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,_=[[30,t=>{const e=i.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){const t=a.exec(e[2]);t&&(e[2]=t[1],e[3]=t[2],e[4]=t[3])}const[t,n]=p(e[1]||s,e[2]);return o(n,t,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],[50,t=>{const e=c.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=u.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||s;return[n,t]=p(n,t),o(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],[40,t=>{const e=d.exec(t);return e?o(e[2],e[1]||s,+e[3],e[4]?+e[4]:void 0):void 0}]],l=(0,r.pE)(..._),p=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:s,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]}},12816:(t,e,n)=>{n.d(e,{f:()=>i});var r=n(59824),s=n(64315),o=n(71869);function i(t,e=(0,o.x)()){let n=0,i=0;return(0,r.q)(t,(function(r){const a=r.body.length;n+=a,i++;const c={body:r.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&i<15,...t.fetchOptions};try{return e(t.url,c).then((t=>(n-=a,i--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}catch(t){return(0,o.c)(),n-=a,i--,(0,s.$2)(t)}}))}},71869:(t,e,n)=>{n.d(e,{c:()=>c,x:()=>a});var r=n(45162),s=n(78679),o=n(68048);let i;function a(){if(i)return i;if((0,r.Du)(o.m9.fetch))return i=o.m9.fetch.bind(o.m9);const t=o.m9.document;let e=o.m9.fetch;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return i=e.bind(o.m9)}function c(){i=void 0}},76221:(t,e,n)=>{n.d(e,{K:()=>i});var r=n(59824),s=n(64315);const o=4;function i(t){return(0,r.q)(t,(function(e){return new s.cW(((n,r)=>{const s=new XMLHttpRequest;s.onerror=r,s.onreadystatechange=()=>{s.readyState===o&&n({statusCode:s.status,headers:{"x-sentry-rate-limits":s.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":s.getResponseHeader("Retry-After")}})},s.open("POST",t.url);for(const e in t.headers)Object.prototype.hasOwnProperty.call(t.headers,e)&&s.setRequestHeader(e,t.headers[e]);s.send(e.body)}))}))}},84761:(t,e,n)=>{n.d(e,{r:()=>o});var r=n(23482),s=n(68910);function o(t,{metadata:e,tunnel:n,dsn:o}){const i={event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}},...!!n&&!!o&&{dsn:(0,r.RA)(o)}},a=function(t){return[{type:"user_report"},t]}(t);return(0,s.Jd)(i,[a])}},25283:(t,e,n)=>{n.d(e,{U:()=>i});var r=n(41731);const s="7";function o(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function i(t,e={}){const n="string"==typeof e?e:e.tunnel,i="string"!=typeof e&&e._metadata?e._metadata.sdk:void 0;return n||`${function(t){return`${o(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){return(0,r._j)({sentry_key:t.publicKey,sentry_version:s,...e&&{sentry_client:`${e.name}/${e.version}`}})}(t,i)}`}},86012:(t,e,n)=>{n.d(e,{W:()=>m});var r=n(23482),s=n(78679),o=n(74110),i=n(93065),a=n(64315),c=n(68910),u=n(50654),d=n(25283),_=n(82235),l=n(98054),p=n(72822),h=n(80526),f=n(4474);const g="Not capturing exception because it's already been captured.";class m{constructor(t){if(this._options=t,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=(0,r.vK)(t.dsn):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn("No DSN provided, client will not send events."),this._dsn){const e=(0,d.U)(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}}captureException(t,e,n){if((0,o.YO)(t))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(g));let r=e&&e.event_id;return this._process(this.eventFromException(t,e).then((t=>this._captureEvent(t,e,n))).then((t=>{r=t}))),r}captureMessage(t,e,n,r){let s=n&&n.event_id;const o=(0,i.pt)(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this._process(o.then((t=>this._captureEvent(t,n,r))).then((t=>{s=t}))),s}captureEvent(t,e,n){if(e&&e.originalException&&(0,o.YO)(e.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(g));let r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((t=>{r=t}))),r}captureSession(t){"string"!=typeof t.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),(0,p.CT)(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;return e?this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t)))):(0,a.WD)(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,t)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}setupIntegrations(t){(t&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&(this._integrations=(0,l.q4)(this,this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){(0,l.m7)(this,t,this._integrations)}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);let n=(0,_.M)(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=(0,c.BO)(n,(0,c.zQ)(t,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((e=>this.emit("afterSendEvent",t,e)),null)}sendSession(t){const e=(0,_.Q)(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const n=`${t}:${e}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}on(t,e){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(e)}emit(t,...e){this._hooks[t]&&this._hooks[t].forEach((t=>t(...e)))}_updateSessionFromEvent(t,e){let n=!1,r=!1;const s=e.exception&&e.exception.values;if(s){r=!0;for(const t of s){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const o="ok"===t.status;(o&&0===t.errors||o&&n)&&((0,p.CT)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new a.cW((e=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e,n){const r=this.getOptions(),s=Object.keys(this._integrations);return!e.integrations&&s.length>0&&(e.integrations=s),this.emit("preprocessEvent",t,e),(0,f.R)(r,t,e,n,this).then((t=>{if(null===t)return t;const{propagationContext:e}=t.sdkProcessingMetadata||{};if(!(t.contexts&&t.contexts.trace)&&e){const{traceId:r,spanId:s,parentSpanId:o,dsc:i}=e;t.contexts={trace:{trace_id:r,span_id:s,parent_span_id:o},...t.contexts};const a=i||(0,h._)(r,this,n);t.sdkProcessingMetadata={dynamicSamplingContext:a,...t.sdkProcessingMetadata}}return t}))}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then((t=>t.event_id),(t=>{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const e=t;"log"===e.logLevel?s.kg.log(e.message):s.kg.warn(e)}}))}_processEvent(t,e,n){const r=this.getOptions(),{sampleRate:s}=r,o=v(t),c=y(t),d=t.type||"error",_=`before send for type \`${d}\``;if(c&&"number"==typeof s&&Math.random()>s)return this.recordDroppedEvent("sample_rate","error",t),(0,a.$2)(new u.b(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));const l="replay_event"===d?"replay":d;return this._prepareEvent(t,e,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",l,t),new u.b("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const s=function(t,e,n){const{beforeSend:r,beforeSendTransaction:s}=t;if(y(e)&&r)return r(e,n);if(v(e)&&s)return s(e,n);return e}(r,n,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if((0,i.J8)(t))return t.then((t=>{if(!(0,i.PO)(t)&&null!==t)throw new u.b(n);return t}),(t=>{throw new u.b(`${e} rejected with ${t}`)}));if(!(0,i.PO)(t)&&null!==t)throw new u.b(n);return t}(s,_)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",l,t),new u.b(`${_} returned \`null\`, will not send event.`,"log");const s=n&&n.getSession();!o&&s&&this._updateSessionFromEvent(s,r);const i=r.transaction_info;if(o&&i&&r.transaction!==t.transaction){const t="custom";r.transaction_info={...i,source:t}}return this.sendEvent(r,e),r})).then(null,(t=>{if(t instanceof u.b)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new u.b(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t){this._numProcessing++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)return this._transport.send(t).then(null,(t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.error("Error while sending event:",t)}));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map((e=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t[e]}}))}}function y(t){return void 0===t.type}function v(t){return"transaction"===t.type}},29399:(t,e,n)=>{n.d(e,{J:()=>r});const r="production"},82235:(t,e,n)=>{n.d(e,{M:()=>i,Q:()=>o});var r=n(68910),s=n(23482);function o(t,e,n,o){const i=(0,r.HY)(n),a={sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!o&&e&&{dsn:(0,s.RA)(e)}},c="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return(0,r.Jd)(a,[c])}function i(t,e,n,s){const o=(0,r.HY)(n),i=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const a=(0,r.Cd)(t,o,s,e);delete t.sdkProcessingMetadata;const c=[{type:i},t];return(0,r.Jd)(a,[c])}},80233:(t,e,n)=>{n.d(e,{RP:()=>u,cc:()=>c,fH:()=>a});var r=n(50318),s=n(64315),o=n(78679),i=n(93065);function a(){return(0,r.YO)("globalEventProcessors",(()=>[]))}function c(t){a().push(t)}function u(t,e,n,r=0){return new s.cW(((s,a)=>{const c=t[r];if(null===e||"function"!=typeof c)s(e);else{const d=c({...e},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.id&&null===d&&o.kg.log(`Event processor "${c.id}" dropped event`),(0,i.J8)(d)?d.then((e=>u(t,e,n,r+1).then(s))).then(null,a):u(t,d,n,r+1).then(s).then(null,a)}}))}},71981:(t,e,n)=>{n.d(e,{$e:()=>i,Tb:()=>o,yl:()=>a});var r=n(78679),s=n(9229);function o(t,e){return(0,s.Gd)().captureException(t,{captureContext:e})}function i(t){(0,s.Gd)().withScope(t)}async function a(t){const e=(0,s.Gd)().getClient();return e?e.flush(t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}},9229:(t,e,n)=>{n.d(e,{Gd:()=>f});var r=n(74110),s=n(29330),o=n(78679),i=n(50318),a=n(29399),c=n(9072),u=n(72822);const d=4,_=100;class l{constructor(t,e=new c.s,n=d){this._version=n,this._stack=[{scope:e}],t&&this.bindClient(t)}isOlderThan(t){return this._version{r.captureException(t,{originalException:t,syntheticException:s,...e,event_id:n},o)})),n}captureMessage(t,e,n){const s=this._lastEventId=n&&n.event_id?n.event_id:(0,r.DM)(),o=new Error(t);return this._withClient(((r,i)=>{r.captureMessage(t,e,{originalException:t,syntheticException:o,...n,event_id:s},i)})),s}captureEvent(t,e){const n=e&&e.event_id?e.event_id:(0,r.DM)();return t.type||(this._lastEventId=n),this._withClient(((r,s)=>{r.captureEvent(t,{...e,event_id:n},s)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:a=_}=r.getOptions&&r.getOptions()||{};if(a<=0)return;const c={timestamp:(0,s.yW)(),...t},u=i?(0,o.Cf)((()=>i(c,e))):c;null!==u&&(r.emit&&r.emit("beforeAddBreadcrumb",u,e),n.addBreadcrumb(u,a))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,e){this.getScope().setTag(t,e)}setExtra(t,e){this.getScope().setExtra(t,e)}setContext(t,e){this.getScope().setContext(t,e)}configureScope(t){const{scope:e,client:n}=this.getStackTop();n&&t(e)}run(t){const e=h(this);try{t(this)}finally{h(e)}}getIntegration(t){const e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,e){const n=this._callExtensionMethod("startTransaction",t,e);if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&!n){this.getClient()?console.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):console.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop().scope,e=t.getSession();e&&(0,u.RJ)(e),this._sendSessionUpdate(),t.setSession()}startSession(t){const{scope:e,client:n}=this.getStackTop(),{release:r,environment:s=a.J}=n&&n.getOptions()||{},{userAgent:o}=i.n2.navigator||{},c=(0,u.Hv)({release:r,environment:s,user:e.getUser(),...o&&{userAgent:o},...t}),d=e.getSession&&e.getSession();return d&&"ok"===d.status&&(0,u.CT)(d,{status:"exited"}),this.endSession(),e.setSession(c),c}shouldSendDefaultPii(){const t=this.getClient(),e=t&&t.getOptions();return Boolean(e&&e.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:e}=this.getStackTop(),n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}_withClient(t){const{scope:e,client:n}=this.getStackTop();n&&t(n,e)}_callExtensionMethod(t,...e){const n=p().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function p(){return i.n2.__SENTRY__=i.n2.__SENTRY__||{extensions:{},hub:void 0},i.n2}function h(t){const e=p(),n=y(e);return v(e,t),n}function f(){const t=p();if(t.__SENTRY__&&t.__SENTRY__.acs){const e=t.__SENTRY__.acs.getCurrentHub();if(e)return e}return g(t)}function g(t=p()){return m(t)&&!y(t).isOlderThan(d)||v(t,new l),y(t)}function m(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function y(t){return(0,i.YO)("hub",(()=>new l),t)}function v(t,e){if(!t)return!1;return(t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0}},98054:(t,e,n)=>{n.d(e,{m7:()=>d,m8:()=>c,q4:()=>u});var r=n(74110),s=n(78679),o=n(80233),i=n(9229);const a=[];function c(t){const e=t.defaultIntegrations||[],n=t.integrations;let s;e.forEach((t=>{t.isDefaultInstance=!0})),s=Array.isArray(n)?[...e,...n]:"function"==typeof n?(0,r.lE)(n(e)):e;const o=function(t){const e={};return t.forEach((t=>{const{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.keys(e).map((t=>e[t]))}(s),i=function(t,e){for(let n=0;n"Debug"===t.name));if(-1!==i){const[t]=o.splice(i,1);o.push(t)}return o}function u(t,e){const n={};return e.forEach((e=>{e&&d(t,e,n)})),n}function d(t,e,n){if(n[e.name]=e,-1===a.indexOf(e.name)&&(e.setupOnce(o.cc,i.Gd),a.push(e.name)),t.on&&"function"==typeof e.preprocessEvent){const n=e.preprocessEvent.bind(e);t.on("preprocessEvent",((e,r)=>n(e,r,t)))}if(t.addEventProcessor&&"function"==typeof e.processEvent){const n=e.processEvent.bind(e),r=Object.assign(((e,r)=>n(e,r,t)),{id:e.name});t.addEventProcessor(r)}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(`Integration installed: ${e.name}`)}},63664:(t,e,n)=>{n.d(e,{c:()=>o});var r=n(41731);let s;class o{static __initStatic(){this.id="FunctionToString"}constructor(){this.name=o.id}setupOnce(){s=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=(0,r.HK)(this)||this;return s.apply(e,t)}}catch(t){}}}o.__initStatic()},66163:(t,e,n)=>{n.d(e,{QD:()=>c});var r=n(78679),s=n(74110),o=n(88337);const i=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],a=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/];class c{static __initStatic(){this.id="InboundFilters"}constructor(t={}){this.name=c.id,this._options=t}setupOnce(t,e){}processEvent(t,e,n){const c=n.getOptions(),d=function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:i],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[],...t.disableTransactionDefaults?[]:a],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(this._options,c);return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,s.jH)(t)}`),!0;if(function(t,e){if(t.type||!e||!e.length)return!1;return function(t){const e=[];t.message&&e.push(t.message);let n;try{n=t.exception.values[t.exception.values.length-1]}catch(t){}n&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`));"undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||0!==e.length||r.kg.error(`Could not extract message for event ${(0,s.jH)(t)}`);return e}(t).some((t=>(0,o.U0)(t,e)))}(t,e.ignoreErrors))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,s.jH)(t)}`),!0;if(function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;const n=t.transaction;return!!n&&(0,o.U0)(n,e)}(t,e.ignoreTransactions))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,s.jH)(t)}`),!0;if(function(t,e){if(!e||!e.length)return!1;const n=u(t);return!!n&&(0,o.U0)(n,e)}(t,e.denyUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,s.jH)(t)}.\nUrl: ${u(t)}`),!0;if(!function(t,e){if(!e||!e.length)return!0;const n=u(t);return!n||(0,o.U0)(n,e)}(t,e.allowUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,s.jH)(t)}.\nUrl: ${u(t)}`),!0;return!1}(t,d)?null:t}}function u(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error(`Cannot extract url for event ${(0,s.jH)(t)}`),null}}c.__initStatic()},9072:(t,e,n)=>{n.d(e,{s:()=>c});var r=n(93065),s=n(29330),o=n(74110),i=n(80233),a=n(72822);class c{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=u()}static clone(t){const e=new c;return t&&(e._breadcrumbs=[...t._breadcrumbs],e._tags={...t._tags},e._extra={...t._extra},e._contexts={...t._contexts},e._user=t._user,e._level=t._level,e._span=t._span,e._session=t._session,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=[...t._eventProcessors],e._requestSession=t._requestSession,e._attachments=[...t._attachments],e._sdkProcessingMetadata={...t._sdkProcessingMetadata},e._propagationContext={...t._propagationContext}),e}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&(0,a.CT)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){const e=t(this);return e instanceof c?e:this}return t instanceof c?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):(0,r.PO)(t)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=u(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r={timestamp:(0,s.yW)(),...t},o=this._breadcrumbs;return o.push(r),this._breadcrumbs=o.length>n?o.slice(-n):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,e={},n){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const e=this._span.transaction;if(e){t.sdkProcessingMetadata={dynamicSamplingContext:e.getDynamicSamplingContext(),...t.sdkProcessingMetadata};const n=e.name;n&&(t.tags={transaction:n,...t.tags})}}this._applyFingerprint(t);const r=this._getBreadcrumbs(),s=[...t.breadcrumbs||[],...r];return t.breadcrumbs=s.length>0?s:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata,propagationContext:this._propagationContext},(0,i.RP)([...n||[],...(0,i.fH)(),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}_getBreadcrumbs(){return this._breadcrumbs}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((t=>{t(this)})),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?(0,o.lE)(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function u(){return{traceId:(0,o.DM)(),spanId:(0,o.DM)().substring(16)}}},49219:(t,e,n)=>{n.d(e,{M:()=>o});var r=n(78679),s=n(9229);function o(t,e){!0===e.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?r.kg.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=(0,s.Gd)();n.getScope().update(e.initialScope);const o=new t(e);n.bindClient(o)}},72822:(t,e,n)=>{n.d(e,{CT:()=>a,Hv:()=>i,RJ:()=>c});var r=n(29330),s=n(74110),o=n(41731);function i(t){const e=(0,r.ph)(),n={sid:(0,s.DM)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return(0,o.Jr)({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&a(n,t),n}function a(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,r.ph)(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,s.DM)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function c(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),a(t,n)}},80526:(t,e,n)=>{n.d(e,{_:()=>o});var r=n(41731),s=n(29399);function o(t,e,n){const o=e.getOptions(),{publicKey:i}=e.getDsn()||{},{segment:a}=n&&n.getUser()||{},c=(0,r.Jr)({environment:o.environment||s.J,release:o.release,user_segment:a,public_key:i,trace_id:t});return e.emit&&e.emit("createDsc",c),c}},59824:(t,e,n)=>{n.d(e,{q:()=>d});var r=n(41863),s=n(68910),o=n(52826),i=n(64315),a=n(78679),c=n(50654);const u=30;function d(t,e,n=(0,r.x)(t.bufferSize||u)){let d={};function l(r){const u=[];if((0,s.gv)(r,((e,n)=>{const r=(0,s.mL)(n);if((0,o.Q)(d,r)){const s=_(e,n);t.recordDroppedEvent("ratelimit_backoff",r,s)}else u.push(e)})),0===u.length)return(0,i.WD)();const l=(0,s.Jd)(r[0],u),p=e=>{(0,s.gv)(l,((n,r)=>{const o=_(n,r);t.recordDroppedEvent(e,(0,s.mL)(r),o)}))};return n.add((()=>e({body:(0,s.V$)(l,t.textEncoder)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),d=(0,o.WG)(d,t),t)),(t=>{throw p("network_error"),t})))).then((t=>t),(t=>{if(t instanceof c.b)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.error("Skipped sending event because buffer is full."),p("queue_overflow"),(0,i.WD)();throw t}))}return l.__sentry__baseTransport__=!0,{send:l,flush:t=>n.drain(t)}}function _(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}},4474:(t,e,n)=>{n.d(e,{R:()=>l});var r=n(74110),s=n(29330),o=n(64315),i=n(88337),a=n(50318),c=n(39564),u=n(29399),d=n(80233),_=n(9072);function l(t,e,n,l,h){const{normalizeDepth:f=3,normalizeMaxBreadth:g=1e3}=t,m={...e,event_id:e.event_id||n.event_id||(0,r.DM)(),timestamp:e.timestamp||(0,s.yW)()},y=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:r,dist:s,maxValueLength:o=250}=e;"environment"in t||(t.environment="environment"in e?n:u.J);void 0===t.release&&void 0!==r&&(t.release=r);void 0===t.dist&&void 0!==s&&(t.dist=s);t.message&&(t.message=(0,i.$G)(t.message,o));const a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=(0,i.$G)(a.value,o));const c=t.request;c&&c.url&&(c.url=(0,i.$G)(c.url,o))}(m,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(m,y),void 0===e.type&&function(t,e){const n=a.n2._sentryDebugIds;if(!n)return;let r;const s=p.get(e);s?r=s:(r=new Map,p.set(e,r));const o=Object.keys(n).reduce(((t,s)=>{let o;const i=r.get(s);i?o=i:(o=e(s),r.set(s,o));for(let e=o.length-1;e>=0;e--){const r=o[e];if(r.filename){t[r.filename]=n[s];break}}return t}),{});try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.filename&&(t.debug_id=o[t.filename])}))}))}catch(t){}}(m,t.stackParser);let v=l;n.captureContext&&(v=_.s.clone(v).update(n.captureContext));let E=(0,o.WD)(m);const S=h&&h.getEventProcessors?h.getEventProcessors():[];if(v){if(v.getAttachments){const t=[...n.attachments||[],...v.getAttachments()];t.length&&(n.attachments=t)}E=v.applyToEvent(m,n,S)}else E=(0,d.RP)([...S,...(0,d.fH)()],m,n);return E.then((t=>(t&&function(t){const e={};try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)}))}))}catch(t){}if(0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.keys(e).forEach((t=>{n.push({type:"sourcemap",code_file:t,debug_id:e[t]})}))}(t),"number"==typeof f&&f>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:(0,c.Fv)(t.data,e,n)}})))},...t.user&&{user:(0,c.Fv)(t.user,e,n)},...t.contexts&&{contexts:(0,c.Fv)(t.contexts,e,n)},...t.extra&&{extra:(0,c.Fv)(t.extra,e,n)}};t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=(0,c.Fv)(t.contexts.trace.data,e,n)));t.spans&&(r.spans=t.spans.map((t=>(t.data&&(t.data=(0,c.Fv)(t.data,e,n)),t))));return r}(t,f,g):t)))}const p=new WeakMap},65526:(t,e,n)=>{n.d(e,{J:()=>r});const r="7.80.1"},27441:(t,e,n)=>{n.d(e,{Z:()=>o});var r=n(93065),s=n(88337);function o(t,e,n=250,o,a,c,u){if(!(c.exception&&c.exception.values&&u&&(0,r.V9)(u.originalException,Error)))return;const d=c.exception.values.length>0?c.exception.values[c.exception.values.length-1]:void 0;var _,l;d&&(c.exception.values=(_=i(t,e,a,u.originalException,o,c.exception.values,d,0),l=n,_.map((t=>(t.value&&(t.value=(0,s.$G)(t.value,l)),t)))))}function i(t,e,n,s,o,u,d,_){if(u.length>=n+1)return u;let l=[...u];if((0,r.V9)(s[o],Error)){a(d,_);const r=t(e,s[o]),u=l.length;c(r,o,u,_),l=i(t,e,n,s[o],o,[r,...l],r,u)}return Array.isArray(s.errors)&&s.errors.forEach(((s,u)=>{if((0,r.V9)(s,Error)){a(d,_);const r=t(e,s),p=l.length;c(r,`errors[${u}]`,p,_),l=i(t,e,n,s,o,[r,...l],r,p)}})),l}function a(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,is_exception_group:!0,exception_id:e}}function c(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}},15291:(t,e,n)=>{n.d(e,{Rt:()=>i,l4:()=>c});var r=n(93065);const s=(0,n(50318).Rf)(),o=80;function i(t,e={}){if(!t)return"";try{let n=t;const r=5,s=[];let i=0,c=0;const u=" > ",d=u.length;let _;const l=Array.isArray(e)?e:e.keyAttrs,p=!Array.isArray(e)&&e.maxStringLength||o;for(;n&&i++1&&c+s.length*d+_.length>=p));)s.push(_),c+=_.length,n=n.parentNode;return s.reverse().join(u)}catch(t){return""}}function a(t,e){const n=t,s=[];let o,i,a,c,u;if(!n||!n.tagName)return"";s.push(n.tagName.toLowerCase());const d=e&&e.length?e.filter((t=>n.getAttribute(t))).map((t=>[t,n.getAttribute(t)])):null;if(d&&d.length)d.forEach((t=>{s.push(`[${t[0]}="${t[1]}"]`)}));else if(n.id&&s.push(`#${n.id}`),o=n.className,o&&(0,r.HD)(o))for(i=o.split(/\s+/),u=0;u{n.d(e,{y:()=>o});var r=n(68910),s=n(29330);function o(t,e,n){const o=[{type:"client_report"},{timestamp:n||(0,s.yW)(),discarded_events:t}];return(0,r.Jd)(e?{dsn:e}:{},[o])}},23482:(t,e,n)=>{n.d(e,{RA:()=>o,vK:()=>a});var r=n(78679);const s=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function o(t,e=!1){const{host:n,path:r,pass:s,port:o,projectId:i,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&s?`:${s}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${i}`}function i(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function a(t){const e="string"==typeof t?function(t){const e=s.exec(t);if(!e)return void console.error(`Invalid Sentry Dsn: ${t}`);const[n,r,o="",a,c="",u]=e.slice(1);let d="",_=u;const l=_.split("/");if(l.length>1&&(d=l.slice(0,-1).join("/"),_=l.pop()),_){const t=_.match(/^\d+/);t&&(_=t[0])}return i({host:a,pass:o,path:d,projectId:_,port:c,protocol:n,publicKey:r})}(t):i(t);if(e&&function(t){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return!0;const{port:e,projectId:n,protocol:s}=t;return!(["protocol","publicKey","host","projectId"].find((e=>!t[e]&&(r.kg.error(`Invalid Sentry Dsn: ${e} missing`),!0)))||(n.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(s)?e&&isNaN(parseInt(e,10))&&(r.kg.error(`Invalid Sentry Dsn: Invalid port ${e}`),1):(r.kg.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),1):(r.kg.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(e))return e}},34953:(t,e,n)=>{function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function s(){return"npm"}n.d(e,{S:()=>s,n:()=>r})},68910:(t,e,n)=>{n.d(e,{BO:()=>a,Cd:()=>f,HY:()=>h,Jd:()=>i,V$:()=>d,gv:()=>c,mL:()=>p,zQ:()=>_});var r=n(23482),s=n(39564),o=n(41731);function i(t,e=[]){return[t,e]}function a(t,e){const[n,r]=t;return[n,[...r,e]]}function c(t,e){const n=t[1];for(const t of n){if(e(t,t[0].type))return!0}return!1}function u(t,e){return(e||new TextEncoder).encode(t)}function d(t,e){const[n,r]=t;let o=JSON.stringify(n);function i(t){"string"==typeof o?o="string"==typeof t?o+t:[u(o,e),t]:o.push("string"==typeof t?u(t,e):t)}for(const t of r){const[e,n]=t;if(i(`\n${JSON.stringify(e)}\n`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify((0,s.Fv)(n))}i(t)}}return"string"==typeof o?o:function(t){const e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let r=0;for(const e of t)n.set(e,r),r+=e.length;return n}(o)}function _(t,e){const n="string"==typeof t.data?u(t.data,e):t.data;return[(0,o.Jr)({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}const l={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",statsd:"unknown"};function p(t){return l[t]}function h(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function f(t,e,n,s){const i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&s&&{dsn:(0,r.RA)(s)},...i&&{trace:(0,o.Jr)({...i})}}}},50654:(t,e,n)=>{n.d(e,{b:()=>r});class r extends Error{constructor(t,e="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}}},11759:(t,e,n)=>{n.d(e,{oq:()=>g,xU:()=>l});var r=n(93065),s=n(78679),o=n(74110),i=n(41731),a=n(26580),c=n(45162),u=n(50318),d=n(29852);const _=(0,u.Rf)(),l="__sentry_xhr_v2__",p={},h={};function f(t){if(!h[t])switch(h[t]=!0,t){case"console":!function(){if(!("console"in u.n2))return;s.RU.forEach((function(t){t in u.n2.console&&(0,i.hl)(u.n2.console,t,(function(e){return s.LD[t]=e,function(...e){m("console",{args:e,level:t});const n=s.LD[t];n&&n.apply(u.n2.console,e)}}))}))}();break;case"dom":!function(){if(!_.document)return;const t=m.bind(null,"dom"),e=k(t,!0);_.document.addEventListener("click",e,!1),_.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{const n=_[e]&&_[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,i.hl)(n,"addEventListener",(function(e){return function(n,r,s){if("click"===n||"keypress"==n)try{const r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},i=o[n]=o[n]||{refCount:0};if(!i.handler){const r=k(t);i.handler=r,e.call(this,n,r,s)}i.refCount++}catch(t){}return e.call(this,n,r,s)}})),(0,i.hl)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{const n=this,s=n.__sentry_instrumentation_handlers__||{},o=s[e];o&&(o.refCount--,o.refCount<=0&&(t.call(this,e,o.handler,r),o.handler=void 0,delete s[e]),0===Object.keys(s).length&&delete n.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}})))}))}();break;case"xhr":!function(){if(!_.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;(0,i.hl)(t,"open",(function(t){return function(...e){const n=Date.now(),s=e[1],o=this[l]={method:(0,r.HD)(e[0])?e[0].toUpperCase():e[0],url:e[1],request_headers:{}};(0,r.HD)(s)&&"POST"===o.method&&s.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const a=()=>{const t=this[l];if(t&&4===this.readyState){try{t.status_code=this.status}catch(t){}m("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:n,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,i.hl)(this,"onreadystatechange",(function(t){return function(...e){return a(),t.apply(this,e)}})):this.addEventListener("readystatechange",a),(0,i.hl)(this,"setRequestHeader",(function(t){return function(...e){const[n,r]=e,s=this[l];return s&&(s.request_headers[n.toLowerCase()]=r),t.apply(this,e)}})),t.apply(this,e)}})),(0,i.hl)(t,"send",(function(t){return function(...e){const n=this[l];return n&&void 0!==e[0]&&(n.body=e[0]),m("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}();break;case"fetch":!function(){if(!(0,c.t$)())return;(0,i.hl)(u.n2,"fetch",(function(t){return function(...e){const{method:n,url:r}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){const[e,n]=t;return{url:v(e),method:y(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:v(e),method:y(e,"method")?String(e.method).toUpperCase():"GET"}}(e),s={args:e,fetchData:{method:n,url:r},startTimestamp:Date.now()};return m("fetch",{...s}),t.apply(u.n2,e).then((t=>(m("fetch",{...s,endTimestamp:Date.now(),response:t}),t)),(t=>{throw m("fetch",{...s,endTimestamp:Date.now(),error:t}),t}))}}))}();break;case"history":!function(){if(!(0,d.B)())return;const t=_.onpopstate;function e(t){return function(...e){const n=e.length>2?e[2]:void 0;if(n){const t=E,e=String(n);E=e,m("history",{from:t,to:e})}return t.apply(this,e)}}_.onpopstate=function(...e){const n=_.location.href,r=E;if(E=n,m("history",{from:r,to:n}),t)try{return t.apply(this,e)}catch(t){}},(0,i.hl)(_.history,"pushState",e),(0,i.hl)(_.history,"replaceState",e)}();break;case"error":T=_.onerror,_.onerror=function(t,e,n,r,s){return m("error",{column:r,error:s,line:n,msg:t,url:e}),!(!T||T.__SENTRY_LOADER__)&&T.apply(this,arguments)},_.onerror.__SENTRY_INSTRUMENTED__=!0;break;case"unhandledrejection":D=_.onunhandledrejection,_.onunhandledrejection=function(t){return m("unhandledrejection",t),!(D&&!D.__SENTRY_LOADER__)||D.apply(this,arguments)},_.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0;break;default:return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn("unknown instrumentation type:",t))}}function g(t,e){p[t]=p[t]||[],p[t].push(e),f(t)}function m(t,e){if(t&&p[t])for(const n of p[t]||[])try{n(e)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${(0,a.$P)(n)}\nError:`,e)}}function y(t,e){return!!t&&"object"==typeof t&&!!t[e]}function v(t){return"string"==typeof t?t:t?y(t,"url")?t.url:t.toString?t.toString():"":""}let E;const S=1e3;let b,x,w;function k(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(t){try{return t.target}catch(t){return null}}(n);if(function(t,e){return"keypress"===t&&(!e||!e.tagName||"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName&&!e.isContentEditable)}(n.type,r))return;(0,i.xp)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,i.xp)(r,"_sentryId",(0,o.DM)());const s="keypress"===n.type?"input":n.type;(function(t){if(t.type!==x)return!1;try{if(!t.target||t.target._sentryId!==w)return!1}catch(t){}return!0})(n)||(t({event:n,name:s,global:e}),x=n.type,w=r?r._sentryId:void 0),clearTimeout(b),b=_.setTimeout((()=>{w=void 0,x=void 0}),S)}}let T=null;let D=null},93065:(t,e,n)=>{n.d(e,{Cy:()=>g,HD:()=>u,J8:()=>f,Kj:()=>h,PO:()=>_,TX:()=>a,V9:()=>y,VW:()=>i,VZ:()=>s,cO:()=>l,fm:()=>c,i2:()=>m,kK:()=>p,pt:()=>d,y1:()=>v});const r=Object.prototype.toString;function s(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(t,Error)}}function o(t,e){return r.call(t)===`[object ${e}]`}function i(t){return o(t,"ErrorEvent")}function a(t){return o(t,"DOMError")}function c(t){return o(t,"DOMException")}function u(t){return o(t,"String")}function d(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function _(t){return o(t,"Object")}function l(t){return"undefined"!=typeof Event&&y(t,Event)}function p(t){return"undefined"!=typeof Element&&y(t,Element)}function h(t){return o(t,"RegExp")}function f(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function g(t){return _(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function m(t){return"number"==typeof t&&t!=t}function y(t,e){try{return t instanceof e}catch(t){return!1}}function v(t){return!("object"!=typeof t||null===t||!t.__isVue&&!t._isVue)}},78679:(t,e,n)=>{n.d(e,{Cf:()=>i,LD:()=>o,RU:()=>s,kg:()=>a});var r=n(50318);const s=["debug","info","warn","error","log","assert","trace"],o={};function i(t){if(!("console"in r.n2))return t();const e=r.n2.console,n={},s=Object.keys(o);s.forEach((t=>{const r=o[t];n[t]=e[t],e[t]=r}));try{return t()}finally{s.forEach((t=>{e[t]=n[t]}))}}const a=function(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?s.forEach((n=>{e[n]=(...e)=>{t&&i((()=>{r.n2.console[n](`Sentry Logger [${n}]:`,...e)}))}})):s.forEach((t=>{e[t]=()=>{}})),e}()},40724:(t,e,n)=>{function r(){const t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;tr})},74110:(t,e,n)=>{n.d(e,{DM:()=>o,Db:()=>c,EG:()=>u,YO:()=>d,jH:()=>a,lE:()=>_});var r=n(41731),s=n(50318);function o(){const t=s.n2,e=t.crypto||t.msCrypto;let n=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(n=()=>e.getRandomValues(new Uint8Array(1))[0])}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&n())>>t/4).toString(16)))}function i(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function a(t){const{message:e,event_id:n}=t;if(e)return e;const r=i(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function c(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{};o.value||(o.value=e||""),o.type||(o.type=n||"Error")}function u(t,e){const n=i(t);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){const t={...r&&r.data,...e.data};n.mechanism.data=t}}function d(t){if(t&&t.__sentry_captured__)return!0;try{(0,r.xp)(t,"__sentry_captured__",!0)}catch(t){}return!1}function _(t){return Array.isArray(t)?t:[t]}},83219:(t,e,n)=>{n.d(e,{KV:()=>s,l$:()=>o});var r=n(34953);function s(){return!(0,r.n)()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(t,e){return t.require(e)}t=n.hmd(t)},39564:(t,e,n)=>{n.d(e,{Fv:()=>a,Qy:()=>c});var r=n(93065),s=n(40724),o=n(41731),i=n(26580);function a(t,e=100,n=1/0){try{return u("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function c(t,e=3,n=102400){const r=a(t,e);return s=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(s))>n?c(t,e-1,n):r;var s}function u(t,e,n=1/0,a=1/0,c=(0,s.i)()){const[d,_]=c;if(null==e||["number","boolean","string"].includes(typeof e)&&!(0,r.i2)(e))return e;const l=function(t,e){try{if("domain"===t&&e&&"object"==typeof e&&e._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if("undefined"!=typeof window&&e===window)return"[Global]";if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if((0,r.y1)(e))return"[VueViewModel]";if((0,r.Cy)(e))return"[SyntheticEvent]";if("number"==typeof e&&e!=e)return"[NaN]";if("function"==typeof e)return`[Function: ${(0,i.$P)(e)}]`;if("symbol"==typeof e)return`[${String(e)}]`;if("bigint"==typeof e)return`[BigInt: ${String(e)}]`;const n=function(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(e);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(t){return`**non-serializable** (${t})`}}(t,e);if(!l.startsWith("[object "))return l;if(e.__sentry_skip_normalization__)return e;const p="number"==typeof e.__sentry_override_normalization_depth__?e.__sentry_override_normalization_depth__:n;if(0===p)return l.replace("object ","");if(d(e))return"[Circular ~]";const h=e;if(h&&"function"==typeof h.toJSON)try{return u("",h.toJSON(),p-1,a,c)}catch(t){}const f=Array.isArray(e)?[]:{};let g=0;const m=(0,o.Sh)(e);for(const t in m){if(!Object.prototype.hasOwnProperty.call(m,t))continue;if(g>=a){f[t]="[MaxProperties ~]";break}const e=m[t];f[t]=u(t,e,p-1,a,c),g++}return _(e),f}},41731:(t,e,n)=>{n.d(e,{$Q:()=>u,HK:()=>d,Jr:()=>g,Sh:()=>l,_j:()=>_,hl:()=>a,xp:()=>c,zf:()=>f});var r=n(15291),s=n(93065),o=n(78679),i=n(88337);function a(t,e,n){if(!(e in t))return;const r=t[e],s=n(r);"function"==typeof s&&u(s,r),t[e]=s}function c(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(n){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function u(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,c(t,"__sentry_original__",e)}catch(t){}}function d(t){return t.__sentry_original__}function _(t){return Object.keys(t).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`)).join("&")}function l(t){if((0,s.VZ)(t))return{message:t.message,name:t.name,stack:t.stack,...h(t)};if((0,s.cO)(t)){const e={type:t.type,target:p(t.target),currentTarget:p(t.currentTarget),...h(t)};return"undefined"!=typeof CustomEvent&&(0,s.V9)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function p(t){try{return(0,s.kK)(t)?(0,r.Rt)(t):Object.prototype.toString.call(t)}catch(t){return""}}function h(t){if("object"==typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function f(t,e=40){const n=Object.keys(l(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return(0,i.$G)(n[0],e);for(let t=n.length;t>0;t--){const r=n.slice(0,t).join(", ");if(!(r.length>e))return t===n.length?r:(0,i.$G)(r,e)}return""}function g(t){return m(t,new Map)}function m(t,e){if((0,s.PO)(t)){const n=e.get(t);if(void 0!==n)return n;const r={};e.set(t,r);for(const n of Object.keys(t))void 0!==t[n]&&(r[n]=m(t[n],e));return r}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const r=[];return e.set(t,r),t.forEach((t=>{r.push(m(t,e))})),r}return t}},41863:(t,e,n)=>{n.d(e,{x:()=>o});var r=n(50654),s=n(64315);function o(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(o){if(!(void 0===t||e.lengthn(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(t){return new s.cW(((n,r)=>{let o=e.length;if(!o)return n(!0);const i=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{(0,s.WD)(t).then((()=>{--o||(clearTimeout(i),n(!0))}),r)}))}))}}}},52826:(t,e,n)=>{n.d(e,{Q:()=>s,WG:()=>o});const r=6e4;function s(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}function o(t,{statusCode:e,headers:n},s=Date.now()){const o={...t},i=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(i)for(const t of i.trim().split(",")){const[e,n]=t.split(":",2),r=parseInt(e,10),i=1e3*(isNaN(r)?60:r);if(n)for(const t of n.split(";"))o[t]=s+i;else o.all=s+i}else a?o.all=s+function(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;const s=Date.parse(`${t}`);return isNaN(s)?r:s-e}(a,s):429===e&&(o.all=s+6e4);return o}},55320:(t,e,n)=>{n.d(e,{VT:()=>s});const r=["fatal","error","warning","log","info","debug"];function s(t){return"warn"===t?"warning":r.includes(t)?t:"log"}},26580:(t,e,n)=>{n.d(e,{$P:()=>u,Sq:()=>a,pE:()=>i});const r=50,s=/\(error: (.*)\)/,o=/captureMessage|captureException/;function i(...t){const e=t.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return(t,n=0)=>{const i=[],a=t.split("\n");for(let t=n;t1024)continue;const o=s.test(n)?n.replace(s,"$1"):n;if(!o.match(/\S*Error: /)){for(const t of e){const e=t(o);if(e){i.push(e);break}}if(i.length>=r)break}}return function(t){if(!t.length)return[];const e=Array.from(t);/sentryWrapped/.test(e[e.length-1].function||"")&&e.pop();e.reverse(),o.test(e[e.length-1].function||"")&&(e.pop(),o.test(e[e.length-1].function||"")&&e.pop());return e.slice(0,r).map((t=>({...t,filename:t.filename||e[e.length-1].filename,function:t.function||"?"})))}(i)}}function a(t){return Array.isArray(t)?i(...t):t}const c="";function u(t){try{return t&&"function"==typeof t&&t.name||c}catch(t){return c}}},88337:(t,e,n)=>{n.d(e,{$G:()=>s,U0:()=>i,nK:()=>o});var r=n(93065);function s(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function o(t,e){if(!Array.isArray(t))return"";const n=[];for(let e=0;efunction(t,e,n=!1){return!!(0,r.HD)(t)&&((0,r.Kj)(e)?e.test(t):!!(0,r.HD)(e)&&(n?t===e:t.includes(e)))}(t,e,n)))}},45162:(t,e,n)=>{n.d(e,{Ak:()=>o,Du:()=>i,t$:()=>a});var r=n(78679);const s=(0,n(50318).Rf)();function o(){if(!("fetch"in s))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function i(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function a(){if(!o())return!1;if(i(s.fetch))return!0;let t=!1;const e=s.document;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=i(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}},64315:(t,e,n)=>{n.d(e,{$2:()=>i,WD:()=>o,cW:()=>a});var r,s=n(93065);function o(t){return new a((e=>{e(t)}))}function i(t){return new a(((e,n)=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(r||(r={}));class a{constructor(t){a.prototype.__init.call(this),a.prototype.__init2.call(this),a.prototype.__init3.call(this),a.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new a(((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new a(((e,n)=>{let r,s;return this.then((e=>{s=!1,r=e,t&&t()}),(e=>{s=!0,r=e,t&&t()})).then((()=>{s?n(r):e(r)}))}))}__init(){this._resolve=t=>{this._setResult(r.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(r.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{this._state===r.PENDING&&((0,s.J8)(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===r.RESOLVED&&t[1](this._value),this._state===r.REJECTED&&t[2](this._value),t[0]=!0)}))}}}},29330:(t,e,n)=>{n.d(e,{ph:()=>d,yW:()=>u});var r=n(83219),s=n(50318);t=n.hmd(t);const o=(0,s.Rf)(),i={nowSeconds:()=>Date.now()/1e3};const a=(0,r.KV)()?function(){try{return(0,r.l$)(t,"perf_hooks").performance}catch(t){return}}():function(){const{performance:t}=o;if(!t||!t.now)return;return{now:()=>t.now(),timeOrigin:Date.now()-t.now()}}(),c=void 0===a?i:{nowSeconds:()=>(a.timeOrigin+a.now())/1e3},u=i.nowSeconds.bind(i),d=c.nowSeconds.bind(c);let _;(()=>{const{performance:t}=o;if(!t||!t.now)return void(_="none");const e=36e5,n=t.now(),r=Date.now(),s=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,i=s{function r(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}n.d(e,{en:()=>r})},29852:(t,e,n)=>{n.d(e,{B:()=>s});const r=(0,n(50318).Rf)();function s(){const t=r.chrome,e=t&&t.app&&t.app.runtime,n="history"in r&&!!r.history.pushState&&!!r.history.replaceState;return!e&&n}},50318:(t,e,n)=>{function r(t){return t&&t.Math==Math?t:void 0}n.d(e,{Rf:()=>o,YO:()=>i,n2:()=>s});const s="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof window&&r(window)||function(){return this}()||{};function o(){return s}function i(t,e,n){const r=n||s,o=r.__SENTRY__=r.__SENTRY__||{};return o[t]||(o[t]=e())}},86989:t=>{t.exports=window.wp.apiFetch},92694:t=>{t.exports=window.wp.hooks}},e={};function n(r){var s=e[r];if(void 0!==s)return s.exports;var o=e[r]={id:r,loaded:!1,exports:{}};return t[r](o,o.exports,n),o.loaded=!0,o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.hmd=t=>((t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t=n(44410),e=n(71981),r=n(86989),s=n.n(r),o=n(92694);const i="true"===window.WPcom_Error_Reporting_Config?.shouldActivateSentry,a=window._jsErr||[],c=window._headJsErrorHandler;i?function(){const n=window.WPcom_Error_Reporting_Config.releaseName;t.S1({dsn:"https://658ae291b00242148af6b76494d4a49a@o248881.ingest.sentry.io/5876245",release:n}),(0,o.addAction)("editor.ErrorBoundary.errorLogged","wpcom/error-reporting",(t=>{e.Tb(t)})),a.forEach((t=>e.Tb(t))),e.yl().then((()=>delete window._jsErr))}():function(){const t=({error:t})=>{if(!t)return;const e={message:t.message,trace:t.stack,url:document.location.href,feature:"wp-admin"};return s()({global:!0,path:"/rest/v1.1/js-error",method:"POST",data:{error:JSON.stringify(e)}}).catch((()=>console.error("Error: Unable to record the error in Logstash.")))};window.addEventListener("error",t),Promise.allSettled(a.map(t)).then((()=>delete window._jsErr))}(),window.removeEventListener("error",c),delete window._headJsErrorHandler})()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/images/block-picker-baad989c3eaa6c60cc56.svg b/vendor/automattic/jetpack-mu-wpcom/src/build/images/block-picker-baad989c3eaa6c60cc56.svg new file mode 100644 index 00000000..a7fe75f9 --- /dev/null +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/images/block-picker-baad989c3eaa6c60cc56.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/images/draft-post-19715e868be3c82bb350.svg b/vendor/automattic/jetpack-mu-wpcom/src/build/images/draft-post-19715e868be3c82bb350.svg new file mode 100644 index 00000000..cf24d89c --- /dev/null +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/images/draft-post-19715e868be3c82bb350.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/images/editor-a1965f46cfb792664a14.svg b/vendor/automattic/jetpack-mu-wpcom/src/build/images/editor-a1965f46cfb792664a14.svg new file mode 100644 index 00000000..b3f080ff --- /dev/null +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/images/editor-a1965f46cfb792664a14.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/images/illo-share-d04d91232090e41822db.svg b/vendor/automattic/jetpack-mu-wpcom/src/build/images/illo-share-d04d91232090e41822db.svg new file mode 100644 index 00000000..41b457cb --- /dev/null +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/images/illo-share-d04d91232090e41822db.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/images/post-published-ca9ddfc04a7c889a72d2.svg b/vendor/automattic/jetpack-mu-wpcom/src/build/images/post-published-ca9ddfc04a7c889a72d2.svg new file mode 100644 index 00000000..3b55263b --- /dev/null +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/images/post-published-ca9ddfc04a7c889a72d2.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/images/preview-a3fa241fd59995b1fc42.svg b/vendor/automattic/jetpack-mu-wpcom/src/build/images/preview-a3fa241fd59995b1fc42.svg new file mode 100644 index 00000000..120e1449 --- /dev/null +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/images/preview-a3fa241fd59995b1fc42.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/images/private-761a5407869f32039248.svg b/vendor/automattic/jetpack-mu-wpcom/src/build/images/private-761a5407869f32039248.svg new file mode 100644 index 00000000..66036025 --- /dev/null +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/images/private-761a5407869f32039248.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/images/product-published-f8461fe85ee7eb5713c8.svg b/vendor/automattic/jetpack-mu-wpcom/src/build/images/product-published-f8461fe85ee7eb5713c8.svg new file mode 100644 index 00000000..258f49c3 --- /dev/null +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/images/product-published-f8461fe85ee7eb5713c8.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/images/video-success-efc454c6ae0b77ec03f0.svg b/vendor/automattic/jetpack-mu-wpcom/src/build/images/video-success-efc454c6ae0b77ec03f0.svg new file mode 100644 index 00000000..038f9f73 --- /dev/null +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/images/video-success-efc454c6ae0b77ec03f0.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.asset.php index edb9d371..884d7988 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => 'd5d6487e9d6cdaf5c99a'); + array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '22cd4db0a4f7a60f6022'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.js b/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.js index 7bb42a7d..f4e03f0c 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.js @@ -1,4 +1,4 @@ /*! For license information please see jetpack-global-styles.js.LICENSE.txt */ -(()=>{"use strict";var e={1548:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(444),o=n(275);const s=(0,o.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(a.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"})})},4561:(e,t,n)=>{var a=n(9196),o=Symbol.for("react.element"),s=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,r=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function i(e,t,n){var a,s={},i=null,p=null;for(a in void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(p=t.ref),t)l.call(t,a)&&!c.hasOwnProperty(a)&&(s[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===s[a]&&(s[a]=t[a]);return{$$typeof:o,type:e,key:i,ref:p,props:s,_owner:r.current}}t.jsx=i},275:(e,t,n)=>{e.exports=n(4561)},3624:(e,t,n)=>{n.d(t,{GK:()=>s,R$:()=>r,V6:()=>o,c$:()=>l,iU:()=>a,px:()=>i,qD:()=>c});const a="font_base",o="font_base_default",s="font_headings",l="font_headings_default",r="font_pairings",c="font_options",i="blogname"},7758:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(9818),o=n(7701),s=n.n(o),l=n(2819);const r=(e,t)=>{s()((()=>{const n={};let o={};const s={};e.forEach((e=>{s[e]=`--${e.replace("_","-")}`}));let r=null;(0,a.subscribe)((()=>{const c=(0,a.select)("core/editor").__unstableIsEditorReady;if(c&&!1===c())return;if(r||(r=document.createElement("style"),document.body.appendChild(r)),e.forEach((e=>{n[e]=t(e)})),(0,l.isEmpty)(n)||(0,l.isEqual)(n,o))return;o={...n};let i="";Object.keys(n).forEach((e=>{i+=`${s[e]}:${n[e]};`})),r.textContent=`.edit-post-visual-editor .editor-styles-wrapper{${i}}`}))}))}},4054:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(5609),o=n(5736),s=n(9630),l=n(3228),r=n(4607);const __=o.__,c=({fontPairings:e,fontBase:t,fontHeadings:n,update:o})=>React.createElement(React.Fragment,null,React.createElement("h3",null,__("Font Pairings","jetpack-mu-wpcom")),e&&n&&t?React.createElement("div",{className:"style-preview__font-options"},React.createElement("div",{className:"style-preview__font-options-desktop"},e.map((({label:e,headings:r,base:c})=>{const i=r===n&&c===t;return React.createElement(a.Button,{className:(0,l.Z)("style-preview__font-option",{"is-selected":i}),onClick:()=>o({headings:r,base:c}),onKeyDown:e=>e.keyCode===s.ENTER?o({headings:r,base:c}):null,key:e},React.createElement("span",{className:"style-preview__font-option-contents"},React.createElement("span",{style:{fontFamily:r,fontWeight:700}},r)," / ",React.createElement("span",{style:{fontFamily:c}},c)))})))):React.createElement(r.Z,{unsupportedFeature:__("font pairings","jetpack-mu-wpcom")}))},8326:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(5609),o=n(5736),s=n(4607);const __=o.__,l=({fontBase:e,fontBaseDefault:t,fontHeadings:n,fontHeadingsDefault:o,fontBaseOptions:l,fontHeadingsOptions:r,updateBaseFont:c,updateHeadingsFont:i})=>l&&r?React.createElement(React.Fragment,null,React.createElement(a.SelectControl,{label:__("Heading Font","jetpack-mu-wpcom"),value:n,options:r,onChange:e=>i(e),style:{fontFamily:"unset"!==n?n:o}}),React.createElement(a.SelectControl,{label:__("Base Font","jetpack-mu-wpcom"),value:e,options:l,onChange:e=>c(e),style:{fontFamily:"unset"!==e?e:t}}),React.createElement("hr",null)):React.createElement(s.Z,{unsupportedFeature:__("custom font selection","jetpack-mu-wpcom")})},4248:(e,t,n)=>{n.d(t,{Z:()=>_});var a=n(5609),o=n(9818),s=n(2067),l=n(9307),r=n(5736),c=n(1548),i=n(6483),p=n(3624),u=n(4054),d=n(8326);const __=r.__,m="ANY_PROPERTY",f=e=>{if("object"==typeof e){const{label:t,value:n,prop:a=m}=e;return{label:t,value:n,prop:a}}return{label:e,value:e,prop:m}},h=e=>null!==e.value&&null!==e.label,g=(e,t)=>e?e.map(f).filter(h).filter((e=>t=>t.prop===m||t.prop===e)(t)):[],w=({hasLocalChanges:e,resetAction:t,publishAction:n,className:o=null})=>React.createElement("div",{className:o},React.createElement(a.Button,{disabled:!e,isDefault:!0,onClick:t},__("Reset","jetpack-mu-wpcom")),React.createElement(a.Button,{className:"global-styles-sidebar__publish-button",disabled:!e,isPrimary:!0,onClick:n},__("Publish","jetpack-mu-wpcom")));const _=({fontHeadings:e,fontHeadingsDefault:t,fontBase:n,fontBaseDefault:m,fontPairings:f,fontOptions:h,siteName:_,publishOptions:y,updateOptions:E,hasLocalChanges:O,resetLocalChanges:b})=>{(0,l.useEffect)((()=>{"global-styles"===(0,i.getQueryArg)(window.location.href,"openSidebar")&&(0,o.dispatch)("core/edit-post").openGeneralSidebar("jetpack-global-styles/global-styles")}),[]);const R=()=>y({[p.iU]:n,[p.GK]:e});return React.createElement(React.Fragment,null,React.createElement(s.PluginSidebarMoreMenuItem,{icon:c.Z,target:"global-styles"},__("Global Styles","jetpack-mu-wpcom")),React.createElement(s.PluginSidebar,{icon:c.Z,name:"global-styles",title:__("Global Styles","jetpack-mu-wpcom"),className:"global-styles-sidebar"},React.createElement(a.PanelBody,null,React.createElement("p",null,/* translators: %s: Name of site. */ /* translators: %s: Name of site. */ -(0,r.sprintf)(__("You are customizing %s.","jetpack-mu-wpcom"),_)),React.createElement("p",null,__("Any change you make here will apply to the entire website.","jetpack-mu-wpcom")),O?React.createElement("div",null,React.createElement("p",null,React.createElement("em",null,__("You have unsaved changes.","jetpack-mu-wpcom"))),React.createElement(w,{hasLocalChanges:O,publishAction:R,resetAction:b})):null),React.createElement(a.PanelBody,{title:__("Font Selection","jetpack-mu-wpcom")},React.createElement(d.Z,{fontBase:n,fontBaseDefault:m,fontHeadings:e,fontHeadingsDefault:t,fontBaseOptions:g(h,p.iU),fontHeadingsOptions:g(h,p.GK),updateBaseFont:e=>E({[p.iU]:e}),updateHeadingsFont:e=>E({[p.GK]:e})}),React.createElement(u.Z,{fontHeadings:e,fontBase:n,fontPairings:f,update:({headings:e,base:t})=>E({[p.GK]:e,[p.iU]:t})})),React.createElement(a.PanelBody,null,O?React.createElement("p",null,React.createElement("em",null,__("You have unsaved changes.","jetpack-mu-wpcom"))):null,React.createElement(w,{hasLocalChanges:O,publishAction:R,resetAction:b,className:"global-styles-sidebar__panel-action-buttons"}))))}},4607:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(5736);const __=a.__,o=({unsupportedFeature:e})=>React.createElement("p",null,(0,a.sprintf)(/* translators: %s: feature name (i.e. font pairings, etc) */ -__("Your active theme doesn't support %s.","jetpack-mu-wpcom"),e))},4254:(e,t,n)=>{n.d(t,{h:()=>u});var a=n(6989),o=n.n(a),s=n(9818);const{STORE_NAME:l,REST_PATH:r}=JETPACK_GLOBAL_STYLES_EDITOR_CONSTANTS;let c={},i=!1;const p={*publishOptions(e){return yield{type:"IO_PUBLISH_OPTIONS",options:e},{type:"PUBLISH_OPTIONS",options:e}},updateOptions:e=>({type:"UPDATE_OPTIONS",options:e}),fetchOptions:()=>({type:"IO_FETCH_OPTIONS"}),resetLocalChanges:()=>({type:"RESET_OPTIONS",options:c})},u=(0,s.createReduxStore)(l,{reducer(e,t){switch(t.type){case"UPDATE_OPTIONS":case"RESET_OPTIONS":case"PUBLISH_OPTIONS":return{...e,...t.options}}return e},actions:p,selectors:{getOption:(e,t)=>e?e[t]:void 0,hasLocalChanges:e=>!!e&&Object.keys(c).some((t=>c[t]!==e[t]))},resolvers:{*getOption(e){if(i)return;let t;try{i=!0,t=yield p.fetchOptions()}catch(e){t={}}return c=t,{type:"UPDATE_OPTIONS",options:t}}},controls:{IO_FETCH_OPTIONS:()=>o()({path:r}),IO_PUBLISH_OPTIONS:({options:e})=>(c=e,o()({path:r,method:"POST",data:{...e}}))}});(0,s.register)(u)},9196:e=>{e.exports=window.React},2819:e=>{e.exports=window.lodash},6989:e=>{e.exports=window.wp.apiFetch},5609:e=>{e.exports=window.wp.components},4333:e=>{e.exports=window.wp.compose},9818:e=>{e.exports=window.wp.data},7701:e=>{e.exports=window.wp.domReady},2067:e=>{e.exports=window.wp.editPost},9307:e=>{e.exports=window.wp.element},5736:e=>{e.exports=window.wp.i18n},9630:e=>{e.exports=window.wp.keycodes},8817:e=>{e.exports=window.wp.plugins},444:e=>{e.exports=window.wp.primitives},6483:e=>{e.exports=window.wp.url},3228:(e,t,n)=>{function a(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(t=0;to});const o=function(){for(var e,t,n=0,o="",s=arguments.length;n{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=n(4333),t=n(9818),a=n(8817),o=n(3624),s=n(7758),l=n(4248),r=n(4254);const{PLUGIN_NAME:c}=JETPACK_GLOBAL_STYLES_EDITOR_CONSTANTS;(0,s.Z)([o.iU,o.GK],(0,t.select)(r.h).getOption),(0,a.registerPlugin)(c,{render:(0,e.compose)((0,t.withSelect)((e=>{const{getOption:t,hasLocalChanges:n}=e(r.h);return{siteName:t(o.px),fontHeadings:t(o.GK),fontHeadingsDefault:t(o.c$),fontBase:t(o.iU),fontBaseDefault:t(o.V6),fontPairings:t(o.R$),fontOptions:t(o.qD),hasLocalChanges:n()}})),(0,t.withDispatch)((e=>({updateOptions:e(r.h).updateOptions,publishOptions:e(r.h).publishOptions,resetLocalChanges:e(r.h).resetLocalChanges}))))(l.Z)})})()})(); \ No newline at end of file +(()=>{"use strict";var e={41548:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(70444),o=n(30275);const s=(0,o.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(a.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"})})},24561:(e,t,n)=>{var a=n(99196),o=Symbol.for("react.element"),s=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,r=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function i(e,t,n){var a,s={},i=null,p=null;for(a in void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(p=t.ref),t)l.call(t,a)&&!c.hasOwnProperty(a)&&(s[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===s[a]&&(s[a]=t[a]);return{$$typeof:o,type:e,key:i,ref:p,props:s,_owner:r.current}}t.jsx=i},30275:(e,t,n)=>{e.exports=n(24561)},33624:(e,t,n)=>{n.d(t,{GK:()=>s,R$:()=>r,V6:()=>o,c$:()=>l,iU:()=>a,px:()=>i,qD:()=>c});const a="font_base",o="font_base_default",s="font_headings",l="font_headings_default",r="font_pairings",c="font_options",i="blogname"},17758:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(9818),o=n(47701),s=n.n(o),l=n(92819);const r=(e,t)=>{s()((()=>{const n={};let o={};const s={};e.forEach((e=>{s[e]=`--${e.replace("_","-")}`}));let r=null;(0,a.subscribe)((()=>{const c=(0,a.select)("core/editor").__unstableIsEditorReady;if(c&&!1===c())return;if(r||(r=document.createElement("style"),document.body.appendChild(r)),e.forEach((e=>{n[e]=t(e)})),(0,l.isEmpty)(n)||(0,l.isEqual)(n,o))return;o={...n};let i="";Object.keys(n).forEach((e=>{i+=`${s[e]}:${n[e]};`})),r.textContent=`.edit-post-visual-editor .editor-styles-wrapper{${i}}`}))}))}},94054:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(55609),o=n(65736),s=n(39630),l=n(3228),r=n(94607);const __=o.__,c=({fontPairings:e,fontBase:t,fontHeadings:n,update:o})=>React.createElement(React.Fragment,null,React.createElement("h3",null,__("Font Pairings","jetpack-mu-wpcom")),e&&n&&t?React.createElement("div",{className:"style-preview__font-options"},React.createElement("div",{className:"style-preview__font-options-desktop"},e.map((({label:e,headings:r,base:c})=>{const i=r===n&&c===t;return React.createElement(a.Button,{className:(0,l.Z)("style-preview__font-option",{"is-selected":i}),onClick:()=>o({headings:r,base:c}),onKeyDown:e=>e.keyCode===s.ENTER?o({headings:r,base:c}):null,key:e},React.createElement("span",{className:"style-preview__font-option-contents"},React.createElement("span",{style:{fontFamily:r,fontWeight:700}},r)," / ",React.createElement("span",{style:{fontFamily:c}},c)))})))):React.createElement(r.Z,{unsupportedFeature:__("font pairings","jetpack-mu-wpcom")}))},78326:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(55609),o=n(65736),s=n(94607);const __=o.__,l=({fontBase:e,fontBaseDefault:t,fontHeadings:n,fontHeadingsDefault:o,fontBaseOptions:l,fontHeadingsOptions:r,updateBaseFont:c,updateHeadingsFont:i})=>l&&r?React.createElement(React.Fragment,null,React.createElement(a.SelectControl,{label:__("Heading Font","jetpack-mu-wpcom"),value:n,options:r,onChange:e=>i(e),style:{fontFamily:"unset"!==n?n:o}}),React.createElement(a.SelectControl,{label:__("Base Font","jetpack-mu-wpcom"),value:e,options:l,onChange:e=>c(e),style:{fontFamily:"unset"!==e?e:t}}),React.createElement("hr",null)):React.createElement(s.Z,{unsupportedFeature:__("custom font selection","jetpack-mu-wpcom")})},14248:(e,t,n)=>{n.d(t,{Z:()=>_});var a=n(55609),o=n(9818),s=n(72067),l=n(69307),r=n(65736),c=n(41548),i=n(96483),p=n(33624),u=n(94054),d=n(78326);const __=r.__,m="ANY_PROPERTY",f=e=>{if("object"==typeof e){const{label:t,value:n,prop:a=m}=e;return{label:t,value:n,prop:a}}return{label:e,value:e,prop:m}},h=e=>null!==e.value&&null!==e.label,g=(e,t)=>e?e.map(f).filter(h).filter((e=>t=>t.prop===m||t.prop===e)(t)):[],w=({hasLocalChanges:e,resetAction:t,publishAction:n,className:o=null})=>React.createElement("div",{className:o},React.createElement(a.Button,{disabled:!e,isDefault:!0,onClick:t},__("Reset","jetpack-mu-wpcom")),React.createElement(a.Button,{className:"global-styles-sidebar__publish-button",disabled:!e,isPrimary:!0,onClick:n},__("Publish","jetpack-mu-wpcom")));const _=({fontHeadings:e,fontHeadingsDefault:t,fontBase:n,fontBaseDefault:m,fontPairings:f,fontOptions:h,siteName:_,publishOptions:y,updateOptions:E,hasLocalChanges:O,resetLocalChanges:b})=>{(0,l.useEffect)((()=>{"global-styles"===(0,i.getQueryArg)(window.location.href,"openSidebar")&&(0,o.dispatch)("core/edit-post").openGeneralSidebar("jetpack-global-styles/global-styles")}),[]);const R=()=>y({[p.iU]:n,[p.GK]:e});return React.createElement(React.Fragment,null,React.createElement(s.PluginSidebarMoreMenuItem,{icon:c.Z,target:"global-styles"},__("Global Styles","jetpack-mu-wpcom")),React.createElement(s.PluginSidebar,{icon:c.Z,name:"global-styles",title:__("Global Styles","jetpack-mu-wpcom"),className:"global-styles-sidebar"},React.createElement(a.PanelBody,null,React.createElement("p",null,/* translators: %s: Name of site. */ /* translators: %s: Name of site. */ +(0,r.sprintf)(__("You are customizing %s.","jetpack-mu-wpcom"),_)),React.createElement("p",null,__("Any change you make here will apply to the entire website.","jetpack-mu-wpcom")),O?React.createElement("div",null,React.createElement("p",null,React.createElement("em",null,__("You have unsaved changes.","jetpack-mu-wpcom"))),React.createElement(w,{hasLocalChanges:O,publishAction:R,resetAction:b})):null),React.createElement(a.PanelBody,{title:__("Font Selection","jetpack-mu-wpcom")},React.createElement(d.Z,{fontBase:n,fontBaseDefault:m,fontHeadings:e,fontHeadingsDefault:t,fontBaseOptions:g(h,p.iU),fontHeadingsOptions:g(h,p.GK),updateBaseFont:e=>E({[p.iU]:e}),updateHeadingsFont:e=>E({[p.GK]:e})}),React.createElement(u.Z,{fontHeadings:e,fontBase:n,fontPairings:f,update:({headings:e,base:t})=>E({[p.GK]:e,[p.iU]:t})})),React.createElement(a.PanelBody,null,O?React.createElement("p",null,React.createElement("em",null,__("You have unsaved changes.","jetpack-mu-wpcom"))):null,React.createElement(w,{hasLocalChanges:O,publishAction:R,resetAction:b,className:"global-styles-sidebar__panel-action-buttons"}))))}},94607:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(65736);const __=a.__,o=({unsupportedFeature:e})=>React.createElement("p",null,(0,a.sprintf)(/* translators: %s: feature name (i.e. font pairings, etc) */ +__("Your active theme doesn't support %s.","jetpack-mu-wpcom"),e))},54254:(e,t,n)=>{n.d(t,{h:()=>u});var a=n(86989),o=n.n(a),s=n(9818);const{STORE_NAME:l,REST_PATH:r}=JETPACK_GLOBAL_STYLES_EDITOR_CONSTANTS;let c={},i=!1;const p={*publishOptions(e){return yield{type:"IO_PUBLISH_OPTIONS",options:e},{type:"PUBLISH_OPTIONS",options:e}},updateOptions:e=>({type:"UPDATE_OPTIONS",options:e}),fetchOptions:()=>({type:"IO_FETCH_OPTIONS"}),resetLocalChanges:()=>({type:"RESET_OPTIONS",options:c})},u=(0,s.createReduxStore)(l,{reducer(e,t){switch(t.type){case"UPDATE_OPTIONS":case"RESET_OPTIONS":case"PUBLISH_OPTIONS":return{...e,...t.options}}return e},actions:p,selectors:{getOption:(e,t)=>e?e[t]:void 0,hasLocalChanges:e=>!!e&&Object.keys(c).some((t=>c[t]!==e[t]))},resolvers:{*getOption(e){if(i)return;let t;try{i=!0,t=yield p.fetchOptions()}catch(e){t={}}return c=t,{type:"UPDATE_OPTIONS",options:t}}},controls:{IO_FETCH_OPTIONS:()=>o()({path:r}),IO_PUBLISH_OPTIONS:({options:e})=>(c=e,o()({path:r,method:"POST",data:{...e}}))}});(0,s.register)(u)},99196:e=>{e.exports=window.React},92819:e=>{e.exports=window.lodash},86989:e=>{e.exports=window.wp.apiFetch},55609:e=>{e.exports=window.wp.components},94333:e=>{e.exports=window.wp.compose},9818:e=>{e.exports=window.wp.data},47701:e=>{e.exports=window.wp.domReady},72067:e=>{e.exports=window.wp.editPost},69307:e=>{e.exports=window.wp.element},65736:e=>{e.exports=window.wp.i18n},39630:e=>{e.exports=window.wp.keycodes},98817:e=>{e.exports=window.wp.plugins},70444:e=>{e.exports=window.wp.primitives},96483:e=>{e.exports=window.wp.url},3228:(e,t,n)=>{function a(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(t=0;to});const o=function(){for(var e,t,n=0,o="",s=arguments.length;n{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=n(94333),t=n(9818),a=n(98817),o=n(33624),s=n(17758),l=n(14248),r=n(54254);const{PLUGIN_NAME:c}=JETPACK_GLOBAL_STYLES_EDITOR_CONSTANTS;(0,s.Z)([o.iU,o.GK],(0,t.select)(r.h).getOption),(0,a.registerPlugin)(c,{render:(0,e.compose)((0,t.withSelect)((e=>{const{getOption:t,hasLocalChanges:n}=e(r.h);return{siteName:t(o.px),fontHeadings:t(o.GK),fontHeadingsDefault:t(o.c$),fontBase:t(o.iU),fontBaseDefault:t(o.V6),fontPairings:t(o.R$),fontOptions:t(o.qD),hasLocalChanges:n()}})),(0,t.withDispatch)((e=>({updateOptions:e(r.h).updateOptions,publishOptions:e(r.h).publishOptions,resetLocalChanges:e(r.h).resetLocalChanges}))))(l.Z)})})()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.asset.php index 3a01e748..bef39bce 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => 'c416de1937d13fad66cc'); + array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => 'ab2faf7d76cf1038c6a3'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.js b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.js index 927cf361..280ad766 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.js @@ -1,4 +1,4 @@ /*! For license information please see newspack-blocks-blog-posts-editor.js.LICENSE.txt */ -(()=>{"use strict";var e={8393:(e,t,n)=>{n.d(t,{A:()=>I,B:()=>C,C:()=>N,D:()=>w,E:()=>k,F:()=>L,G:()=>D,H:()=>l,J:()=>B,L:()=>q,M:()=>X,N:()=>K,O:()=>W,P:()=>A,Q:()=>Y,R:()=>O,S:()=>V,T:()=>P,Z:()=>G,a:()=>M,b:()=>Z,d:()=>z,e:()=>T,f:()=>H,g:()=>F,h:()=>U,i:()=>v,j:()=>R,k:()=>s,l:()=>S,m:()=>y,o:()=>m,p:()=>u,q:()=>g,r:()=>d,s:()=>_,t:()=>i,u:()=>p,v:()=>x,y:()=>E,z:()=>b});var o=n(6135),a=n(255),r=n(396),c=n(2654),s=function(e){return function(){return e}}(!0),i=function(){};var l=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var u=function(e,t){(0,a.Z)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))},p=function(e,t){var n;return(n=[]).concat.apply(n,t.map(e))};function d(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function m(e){var t=!1;return function(){t||(t=!0,e())}}var f=function(e){throw e},h=function(e){return{value:e,done:!0}};function g(e,t,n){void 0===t&&(t=f),void 0===n&&(n="iterator");var o={meta:{name:n},next:e,throw:t,return:h,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(o[Symbol.iterator]=function(){return o}),o}function w(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var v=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},y=function(e){return Array.apply(null,new Array(e))},k=function(e){return function(t){return e(Object.defineProperty(t,o.Nm,{value:!0}))}},b=function(e){return e===o.EO},E=function(e){return e===o.Wd},_=function(e){return b(e)||E(e)};function S(e,t){var n=Object.keys(e),o=n.length;var a,c=0,s=(0,r.IX)(e)?y(o):{},l={};return n.forEach((function(e){var n=function(n,r){a||(r||_(n)?(t.cancel(),t(n,r)):(s[e]=n,++c===o&&(a=!0,t(s))))};n.cancel=i,l[e]=n})),t.cancel=function(){a||(a=!0,n.forEach((function(e){return l[e].cancel()})))},l}function R(e){return{name:e.name||"anonymous",location:x(e)}}function x(e){return e[o.b_]}function C(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),o=1;o1?t-1:0),o=1;o{n.d(t,{ZP:()=>W});var o=n(6135),a=n(255),r=n(7921),c=n(396),s=n(8393),i=n(918),l=[],u=0;function p(e){try{f(),e()}finally{h()}}function d(e){l.push(e),u||(f(),g())}function m(e){try{return f(),e()}finally{g()}}function f(){u++}function h(){u--}function g(){var e;for(h();!u&&void 0!==(e=l.shift());)p(e)}var w=function(e){return function(t){return e.some((function(e){return E(e)(t)}))}},v=function(e){return function(t){return e(t)}},y=function(e){return function(t){return t.type===String(e)}},k=function(e){return function(t){return t.type===e}},b=function(){return s.k};function E(e){var t="*"===e?b:(0,c.Z_)(e)?y:(0,c.IX)(e)?w:(0,c.eR)(e)?y:(0,c.Yl)(e)?v:(0,c.NA)(e)?k:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var _={type:o.sZ},S=function(e){return e&&e.type===o.sZ};function R(e){void 0===e&&(e=(0,s.e)());var t=!1,n=[];return{take:function(o){t&&e.isEmpty()?o(_):e.isEmpty()?(n.push(o),o.cancel=function(){(0,s.r)(n,o)}):o(e.take())},put:function(o){if(!t){if(0===n.length)return e.put(o);n.shift()(o)}},flush:function(n){t&&e.isEmpty()?n(_):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var o=0,a=e.length;o2?f-2:0),g=2;g{n.d(t,{Fm:()=>u,RE:()=>a.O,gw:()=>a.Q,gz:()=>a.Z});var o=n(396),a=n(8393),r=function(e){return{done:!0,value:e}},c={};function s(e){return(0,o.CE)(e)?"channel":(0,o.eR)(e)?String(e):(0,o.Yl)(e)?e.name:String(e)}function i(e,t,n){var o,s,i,l=t;function u(t,n){if(l===c)return r(t);if(n&&!s)throw l=c,n;o&&o(t);var a=n?e[s](n):e[l]();return l=a.nextState,i=a.effect,o=a.stateUpdater,s=a.errorState,l===c?r(t):i}return(0,a.q)(u,(function(e){return u(null,e)}),n)}function l(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r2?n-2:0),r=2;r{function o(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}n.d(t,{Z:()=>a});const a=o},2654:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(6135);const a=function(e,t){var n;void 0===t&&(t=!0);var a=new Promise((function(o){n=setTimeout(o,Math.min(2147483647,e),t)}));return a[o.n1]=function(){clearTimeout(n)},a}},396:(e,t,n)=>{n.d(t,{CE:()=>d,IX:()=>i,MC:()=>l,NA:()=>f,Om:()=>h,Yl:()=>c,Z_:()=>s,d5:()=>r,eR:()=>m,hZ:()=>u,sR:()=>a,uj:()=>p});var o=n(6135),a=function(e){return null==e},r=function(e){return null!=e},c=function(e){return"function"==typeof e},s=function(e){return"string"==typeof e},i=Array.isArray,l=function(e){return e&&c(e.then)},u=function(e){return e&&c(e.next)&&c(e.throw)},p=function e(t){return t&&(s(t)||f(t)||c(t)||i(t)&&t.every(e))},d=function(e){return e&&c(e.take)&&c(e.close)},m=function(e){return c(e)&&e.hasOwnProperty("toString")},f=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},h=function(e){return d(e)&&e[o.AS]}},6135:(e,t,n)=>{n.d(t,{AS:()=>i,Cs:()=>p,EO:()=>m,IO:()=>c,Nm:()=>l,Wd:()=>d,b_:()=>f,n1:()=>a,sC:()=>u,sZ:()=>r,uq:()=>s});var o=function(e){return"@@redux-saga/"+e},a=o("CANCEL_PROMISE"),r=o("CHANNEL_END"),c=o("IO"),s=o("MATCH"),i=o("MULTICAST"),l=o("SAGA_ACTION"),u=o("SELF_CANCELLATION"),p=o("TASK"),d=o("TASK_CANCEL"),m=o("TERMINATE"),f=o("LOCATION")},1074:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(9307);const a=(0,o.forwardRef)((function({icon:e,size:t=24,...n},a){return(0,o.cloneElement)(e,{width:t,height:t,...n,ref:a})}))},7182:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(444),a=n(275);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})})},5669:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(444),a=n(275);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z"})})},6376:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(444),a=n(275);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z",fillRule:"evenodd",clipRule:"evenodd"})})},5022:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(444),a=n(275);const r=(0,a.jsx)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})})},7710:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(444),a=n(275);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"})})},7524:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(444),a=n(275);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"})})},8797:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(444),a=n(275);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"})})},4561:(e,t,n)=>{var o=n(9196),a=Symbol.for("react.element"),r=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,s=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var o,r={},l=null,u=null;for(o in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)c.call(t,o)&&!i.hasOwnProperty(o)&&(r[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===r[o]&&(r[o]=t[o]);return{$$typeof:a,type:e,key:l,ref:u,props:r,_owner:s.current}}t.jsx=l},275:(e,t,n)=>{e.exports=n(4561)},6008:(e,t,n)=>{n.d(t,{ZP:()=>o});const o=n(6545).ZP},7652:(e,t,n)=>{n.d(t,{Fm:()=>o.Fm,RE:()=>o.RE,gw:()=>o.gw,gz:()=>o.gz});var o=n(5052)},835:(e,t,n)=>{n.d(t,{MT:()=>l,md:()=>p});var o=n(8617);function a(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var r="function"==typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function i(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function l(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(a(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(a(1));return n(l)(e,t)}if("function"!=typeof e)throw new Error(a(2));var c=e,u=t,p=[],d=p,m=!1;function f(){d===p&&(d=p.slice())}function h(){if(m)throw new Error(a(3));return u}function g(e){if("function"!=typeof e)throw new Error(a(4));if(m)throw new Error(a(5));var t=!0;return f(),d.push(e),function(){if(t){if(m)throw new Error(a(6));t=!1,f();var n=d.indexOf(e);d.splice(n,1),p=null}}}function w(e){if(!i(e))throw new Error(a(7));if(void 0===e.type)throw new Error(a(8));if(m)throw new Error(a(9));try{m=!0,u=c(u,e)}finally{m=!1}for(var t=p=d,n=0;n{n.d(t,{T:()=>o});const o="a8c/posts-carousel"},3741:(e,t,n)=>{n.d(t,{Z:()=>j});var o=n(2175),a=n(5609),r=n(4333),c=n(9818),s=n(9307),i=n(2629),l=n(5736),u=n(1074),p=n(7182),d=n(6376),m=n(7710),f=n(7524),h=n(8797),g=n(5022),w=n(5669),v=n(3228),y=n(6799),k=n(7168),b=n(260),E=n(6738);const __=l.__;let _;"object"==typeof window&&window.newspack_blocks_data&&window.newspack_blocks_data.post_subtitle&&(_=!0);const S=React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{clipRule:"evenodd",d:"M18.714 7.5H5.286a.786.786 0 00-.786.786v7.428c0 .434.352.786.786.786h13.428a.786.786 0 00.786-.786V8.286a.786.786 0 00-.786-.786zM5.286 6A2.286 2.286 0 003 8.286v7.428A2.286 2.286 0 005.286 18h13.428A2.286 2.286 0 0021 15.714V8.286A2.286 2.286 0 0018.714 6H5.286z",fillRule:"evenodd"})),R=React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{clipRule:"evenodd",d:"M15.714 4.5H8.286a.786.786 0 00-.786.786v13.428c0 .434.352.786.786.786h7.428a.786.786 0 00.786-.786V5.286a.786.786 0 00-.786-.786zM8.286 3A2.286 2.286 0 006 5.286v13.428A2.286 2.286 0 008.286 21h7.428A2.286 2.286 0 0018 18.714V5.286A2.286 2.286 0 0015.714 3H8.286z",fillRule:"evenodd"})),x=React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{clipRule:"evenodd",d:"M18.714 4.5H5.286a.786.786 0 00-.786.786v13.428c0 .434.352.786.786.786h13.428a.786.786 0 00.786-.786V5.286a.786.786 0 00-.786-.786zM5.286 3A2.286 2.286 0 003 5.286v13.428A2.286 2.286 0 005.286 21h13.428A2.286 2.286 0 0021 18.714V5.286A2.286 2.286 0 0018.714 3H5.286z",fillRule:"evenodd"}));class C extends s.Component{renderPost=e=>{const{attributes:t,isUIDisabled:n}=this.props,{showImage:a,imageShape:r,mediaPosition:c,minHeight:l,showCaption:u,showCredit:p,showExcerpt:d,showReadMore:m,readMoreLabel:f,showSubtitle:h,showAuthor:g,showAvatar:w,showDate:y,showCategory:k,sectionHeader:E}=t,S={minHeight:"behind"===c&&a&&e.newspack_featured_image_src&&l+"vh"||void 0,paddingTop:"behind"===c&&a&&e.newspack_featured_image_src&&l/5+"vh"||void 0},R=(0,v.Z)({"post-has-image":e.newspack_featured_image_src,"newspack-block--disabled":n},e.newspack_article_classes),x=this.titleForPost(e);return React.createElement("article",{className:R,key:e.id,style:S},(0,b.fC)(e),a&&e.newspack_featured_image_src&&React.createElement("figure",{className:"post-thumbnail",key:"thumbnail"},React.createElement("a",{href:"#"},"landscape"===r&&React.createElement("img",{src:e.newspack_featured_image_src.landscape,alt:""}),"portrait"===r&&React.createElement("img",{src:e.newspack_featured_image_src.portrait,alt:""}),"square"===r&&React.createElement("img",{src:e.newspack_featured_image_src.square,alt:""}),"uncropped"===r&&React.createElement("img",{src:e.newspack_featured_image_src.uncropped,alt:""})),(u||p)&&React.createElement("div",{dangerouslySetInnerHTML:{__html:e.newspack_featured_image_caption}})),React.createElement("div",{className:"entry-wrapper"},(e.newspack_post_sponsors||k&&0e.title?"object"==typeof e.title&&e.title.rendered?(0,i.decodeEntities)(e.title.rendered.trim()):void 0:"";renderInspectorControls=()=>{const{attributes:e,setAttributes:t,textColor:n,setTextColor:r}=this.props,{authors:c,specificPosts:i,postsToShow:l,categories:u,includeSubcategories:p,customTaxonomies:d,columns:m,colGap:f,postType:h,showImage:g,showCaption:w,showCredit:v,imageScale:b,mobileStack:S,minHeight:R,moreButton:x,showExcerpt:C,showReadMore:j,readMoreLabel:T,excerptLength:P,showSubtitle:A,typeScale:I,showDate:O,showAuthor:N,showAvatar:M,showCategory:L,postLayout:B,mediaPosition:Z,specificMode:V,tags:z,tagExclusions:H,categoryExclusions:F,customTaxonomyExclusions:D}=e,U=[{value:1,label:/* translators: label for small size option */__("Small","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for small size */__("S","jetpack-mu-wpcom")},{value:2,label:/* translators: label for medium size option */__("Medium","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for medium size */__("M","jetpack-mu-wpcom")},{value:3,label:/* translators: label for large size option */__("Large","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for large size */__("L","jetpack-mu-wpcom")},{value:4,label:/* translators: label for extra large size option */__("Extra Large","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for extra large size */__("XL","jetpack-mu-wpcom")}],$=[{value:1,label:/* translators: label for small size option */__("Small","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for small size */__("S","jetpack-mu-wpcom")},{value:2,label:/* translators: label for medium size option */__("Medium","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for medium size */__("M","jetpack-mu-wpcom")},{value:3,label:/* translators: label for large size option */__("Large","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for large size */__("L","jetpack-mu-wpcom")}],q=e=>n=>t({[e]:n});return React.createElement(s.Fragment,null,React.createElement(a.PanelBody,{title:__("Display Settings","jetpack-mu-wpcom"),initialOpen:!0},React.createElement(k.Z,{numberOfItems:l,onNumberOfItemsChange:e=>t({postsToShow:e||1}),specificMode:V,onSpecificModeChange:q("specificMode"),specificPosts:i,onSpecificPostsChange:q("specificPosts"),authors:c,onAuthorsChange:q("authors"),categories:u,onCategoriesChange:q("categories"),includeSubcategories:p,onIncludeSubcategoriesChange:q("includeSubcategories"),tags:z,onTagsChange:q("tags"),onCustomTaxonomiesChange:q("customTaxonomies"),customTaxonomies:d,tagExclusions:H,onTagExclusionsChange:q("tagExclusions"),categoryExclusions:F,onCategoryExclusionsChange:q("categoryExclusions"),customTaxonomyExclusions:D,onCustomTaxonomyExclusionsChange:q("customTaxonomyExclusions"),postType:h}),"grid"===B&&React.createElement(s.Fragment,null,React.createElement(a.RangeControl,{label:__("Columns","jetpack-mu-wpcom"),value:m,onChange:q("columns"),min:2,max:6,required:!0}),React.createElement(a.BaseControl,{label:__("Columns Gap","jetpack-mu-wpcom"),id:"newspackcolumns-col-gap"},React.createElement(a.PanelRow,null,React.createElement(a.ButtonGroup,{id:"newspackcolumns-col-gap","aria-label":__("Columns Gap","jetpack-mu-wpcom")},$.map((e=>{const n=f===e.value;return React.createElement(a.Button,{isPrimary:n,"aria-pressed":n,"aria-label":e.label,key:e.value,onClick:()=>t({colGap:e.value})},e.shortName)})))))),!V&&(0,E.pM)()?React.createElement("i",null,__('This blog is private, therefore the "Load more posts" feature is not active.',"jetpack-mu-wpcom")):!V&&React.createElement(a.ToggleControl,{label:__('Show "Load more posts" Button',"jetpack-mu-wpcom"),checked:x,onChange:()=>t({moreButton:!x})}),React.createElement(a.ToggleControl,{label:__("Allow duplicate stories","jetpack-mu-wpcom"),help:__("If checked, this block will be excluded from the page's de-duplication logic. Duplicate stories may appear.","jetpack-mu-wpcom"),checked:!e.deduplicate,onChange:e=>t({deduplicate:!e}),className:"newspack-blocks-deduplication-toggle"})),React.createElement(a.PanelBody,{title:__("Featured Image Settings","jetpack-mu-wpcom")},React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Featured Image","jetpack-mu-wpcom"),checked:g,onChange:()=>t({showImage:!g})})),g&&React.createElement(React.Fragment,null,React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Featured Image Caption","jetpack-mu-wpcom"),checked:w,onChange:()=>t({showCaption:!w})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Featured Image Credit","jetpack-mu-wpcom"),checked:v,onChange:()=>t({showCredit:!v})}))),g&&"top"!==Z&&"behind"!==Z&&React.createElement(s.Fragment,null,React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Stack on mobile","jetpack-mu-wpcom"),checked:S,onChange:()=>t({mobileStack:!S})})),React.createElement(a.BaseControl,{label:__("Featured Image Size","jetpack-mu-wpcom"),id:"newspackfeatured-image-size"},React.createElement(a.PanelRow,null,React.createElement(a.ButtonGroup,{id:"newspackfeatured-image-size","aria-label":__("Featured Image Size","jetpack-mu-wpcom")},U.map((e=>{const n=b===e.value;return React.createElement(a.Button,{isPrimary:n,"aria-pressed":n,"aria-label":e.label,key:e.value,onClick:()=>t({imageScale:e.value})},e.shortName)})))))),g&&"behind"===Z&&React.createElement(a.RangeControl,{label:__("Minimum height","jetpack-mu-wpcom"),help:__("Sets a minimum height for the block, using a percentage of the screen's current height.","jetpack-mu-wpcom"),value:R,onChange:e=>t({minHeight:e}),min:0,max:100,required:!0})),React.createElement(a.PanelBody,{title:__("Post Control Settings","jetpack-mu-wpcom")},_&&React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Subtitle","jetpack-mu-wpcom"),checked:A,onChange:()=>t({showSubtitle:!A})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Excerpt","jetpack-mu-wpcom"),checked:C,onChange:()=>t({showExcerpt:!C})})),C&&React.createElement(a.RangeControl,{label:__("Max number of words in excerpt","jetpack-mu-wpcom"),value:P,onChange:e=>t({excerptLength:e}),min:10,max:100}),React.createElement(a.ToggleControl,{label:__('Add a "Read More" link',"jetpack-mu-wpcom"),checked:j,onChange:()=>t({showReadMore:!j})}),j&&React.createElement(a.TextControl,{label:__('"Read More" link text',"jetpack-mu-wpcom"),value:T,placeholder:T,onChange:e=>t({readMoreLabel:e})}),React.createElement(a.RangeControl,{className:"type-scale-slider",label:__("Type Scale","jetpack-mu-wpcom"),value:I,onChange:e=>t({typeScale:e}),min:1,max:10,required:!0})),React.createElement(o.PanelColorSettings,{title:__("Color Settings","jetpack-mu-wpcom"),initialOpen:!0,colorSettings:[{value:n.color,onChange:r,label:__("Text Color","jetpack-mu-wpcom")}]}),React.createElement(a.PanelBody,{title:__("Post Meta Settings","jetpack-mu-wpcom")},React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Date","jetpack-mu-wpcom"),checked:O,onChange:()=>t({showDate:!O})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Category","jetpack-mu-wpcom"),checked:L,onChange:()=>t({showCategory:!L})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Author","jetpack-mu-wpcom"),checked:N,onChange:()=>t({showAuthor:!N})})),N&&React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Author Avatar","jetpack-mu-wpcom"),checked:M,onChange:()=>t({showAvatar:!M})}))),React.createElement(y.L,{attributes:e,setAttributes:t}),React.createElement(y.H,{attributes:e,setAttributes:t}))};componentDidMount(){this.props.triggerReflow()}componentDidUpdate(e){(0,E.Ou)(e,this.props)&&this.props.triggerReflow()}componentWillUnmount(){this.props.triggerReflow()}render(){const{attributes:e,className:t,setAttributes:n,isSelected:r,latestPosts:c,textColor:i,error:l}=this.props,{showImage:y,imageShape:k,postLayout:b,mediaPosition:_,moreButton:C,moreButtonText:j,columns:T,colGap:P,typeScale:A,imageScale:I,mobileStack:O,sectionHeader:N,showCaption:M,showCategory:L,specificMode:B,textAlign:Z}=e,V=(0,v.Z)(t,{"is-grid":"grid"===b,"show-image":y,[`columns-${T}`]:"grid"===b,[`colgap-${P}`]:"grid"===b,[`ts-${A}`]:A,[`image-align${_}`]:y,[`is-${I}`]:y,"mobile-stack":O,[`is-${k}`]:y,"has-text-color":""!==i.color,"show-caption":M,"show-category":L,[`has-text-align-${Z}`]:Z,wpnbha:!0}),z=[{icon:React.createElement(u.Z,{icon:p.Z}),title:__("List View","jetpack-mu-wpcom"),onClick:()=>n({postLayout:"list"}),isActive:"list"===b},{icon:React.createElement(u.Z,{icon:d.Z}),title:__("Grid View","jetpack-mu-wpcom"),onClick:()=>n({postLayout:"grid"}),isActive:"grid"===b}],H=[{icon:React.createElement(u.Z,{icon:m.Z}),title:__("Show media on top","jetpack-mu-wpcom"),isActive:"top"===_,onClick:()=>n({mediaPosition:"top"})},{icon:React.createElement(u.Z,{icon:f.Z}),title:__("Show media on left","jetpack-mu-wpcom"),isActive:"left"===_,onClick:()=>n({mediaPosition:"left"})},{icon:React.createElement(u.Z,{icon:h.Z}),title:__("Show media on right","jetpack-mu-wpcom"),isActive:"right"===_,onClick:()=>n({mediaPosition:"right"})},{icon:React.createElement(u.Z,{icon:g.Z}),title:__("Show media behind","jetpack-mu-wpcom"),isActive:"behind"===_,onClick:()=>n({mediaPosition:"behind"})}],F=[{icon:S,title:__("Landscape Image Shape","jetpack-mu-wpcom"),isActive:"landscape"===k,onClick:()=>n({imageShape:"landscape"})},{icon:R,title:__("portrait Image Shape","jetpack-mu-wpcom"),isActive:"portrait"===k,onClick:()=>n({imageShape:"portrait"})},{icon:x,title:__("Square Image Shape","jetpack-mu-wpcom"),isActive:"square"===k,onClick:()=>n({imageShape:"square"})},{icon:React.createElement(u.Z,{icon:w.Z}),title:__("Uncropped","jetpack-mu-wpcom"),isActive:"uncropped"===k,onClick:()=>n({imageShape:"uncropped"})}];return React.createElement(s.Fragment,null,React.createElement("div",{className:V,style:{color:i.color}},React.createElement("div",null,c&&(!o.RichText.isEmpty(N)||r)&&React.createElement(o.RichText,{onChange:e=>n({sectionHeader:e}),placeholder:__("Write header…","jetpack-mu-wpcom"),value:N,tagName:"h2",className:"article-section-title"}),c&&!c.length&&React.createElement(a.Placeholder,null,__("Sorry, no posts were found.","jetpack-mu-wpcom")),!c&&!l&&React.createElement(a.Placeholder,{icon:React.createElement(a.Spinner,null),className:"component-placeholder__align-center"}),!c&&l&&React.createElement(a.Placeholder,{className:"component-placeholder__align-center newspack-block--error"},l),c&&c.map((e=>this.renderPost(e))))),!B&&c&&C&&!(0,E.pM)()&&React.createElement("div",{className:"editor-styles-wrapper wpnbha__wp-block-button__wrapper"},React.createElement("div",{className:"wp-block-button"},React.createElement(o.RichText,{placeholder:__("Load more posts","jetpack-mu-wpcom"),value:j,onChange:e=>n({moreButtonText:e}),className:"wp-block-button__link",allowedFormats:[]}))),React.createElement(o.BlockControls,null,React.createElement(a.Toolbar,null,React.createElement(o.AlignmentControl,{value:Z,onChange:e=>{n({textAlign:e})}})),React.createElement(a.Toolbar,{controls:z}),y&&React.createElement(a.Toolbar,{controls:H}),y&&React.createElement(a.Toolbar,{controls:F})),React.createElement(o.InspectorControls,null,this.renderInspectorControls()))}}const j=(0,r.compose)([(0,o.withColors)({textColor:"color"}),(0,c.withSelect)(E.b9),(0,c.withDispatch)(E.eL)])(C)},5077:(e,t,n)=>{n.d(t,{Xd:()=>d});var o=n(4981),a=n(5609),r=n(2694),c=n(5736),s=n(3741),i=n(8501);const __=c.__,_x=c._x,{name:l,attributes:u,category:p}=i,d={title:__("Homepage Posts","jetpack-mu-wpcom"),icon:{src:React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{d:"M6.5 14.25H11v-1.5H6.5zM14.5 11.25h-8v-1.5h8zM6.5 8.25h8v-1.5h-8z"}),React.createElement(a.Path,{clipRule:"evenodd",d:"M4.625 3C3.728 3 3 3.728 3 4.625v11.75C3 17.272 3.728 18 4.625 18h11.75c.897 0 1.625-.728 1.625-1.625V4.625C18 3.728 17.272 3 16.375 3zm11.75 1.5H4.625a.125.125 0 00-.125.125v11.75c0 .069.056.125.125.125h11.75a.125.125 0 00.125-.125V4.625a.125.125 0 00-.125-.125z",fillRule:"evenodd"}),React.createElement(a.Path,{d:"M20.25 8v11c0 .69-.56 1.25-1.249 1.25H6v1.5h13.001A2.749 2.749 0 0021.75 19V8z"})),foreground:"#36f"},attributes:u,category:p,keywords:[__("posts","jetpack-mu-wpcom"),__("articles","jetpack-mu-wpcom"),__("latest","jetpack-mu-wpcom")],description:__("A block for displaying homepage posts.","jetpack-mu-wpcom"),styles:[{name:"default",label:_x("Default","block style","jetpack-mu-wpcom"),isDefault:!0},{name:"borders",label:_x("Borders","block style","jetpack-mu-wpcom")}],supports:{html:!1,align:["wide","full"],default:""},edit:s.Z,save:()=>null,transforms:{from:[{type:"block",blocks:["core/latest-posts"],transform:({displayPostContent:e,displayPostDate:t,postLayout:n,columns:a,postsToShow:c,categories:s})=>(0,o.createBlock)((0,r.applyFilters)("blocks.transforms_from_name","newspack-blocks/homepage-articles"),{showExcerpt:e,showDate:t,postLayout:n,columns:a,postsToShow:c,showAuthor:!1,categories:s?[s]:[]})}],to:[{type:"block",blocks:["core/latest-posts"],transform:({showExcerpt:e,showDate:t,postLayout:n,columns:a,postsToShow:r,categories:c})=>(0,o.createBlock)("core/latest-posts",{displayPostContent:e,displayPostDate:t,postLayout:n,columns:a,postsToShow:r,categories:c[0]||""})}]}}},8151:(e,t,n)=>{n.d(t,{$:()=>f,f:()=>R});var o=n(6989),a=n.n(o),r=n(9818),c=n(6483),s=n(2819),i=n(835),l=n(6008),u=n(7652),p=n(8501),d=n(6738);const{name:m}=p,f=`newspack-blocks/${m}`,h={postsByBlock:{},errorsByBlock:{}},g={reflow:()=>{y.dispatch({type:"REFLOW"})}},w={getPosts:({clientId:e})=>y.getState().postsByBlock[e],getError:({clientId:e})=>y.getState().errorsByBlock[e],isUIDisabled:()=>y.getState().isUIDisabled},v=(0,l.ZP)(),y=(0,i.MT)(((e=h,t)=>{switch(t.type){case"DISABLE_UI":return(0,s.set)(e,"isUIDisabled",!0);case"ENABLE_UI":return(0,s.set)(e,"isUIDisabled",!1);case"UPDATE_BLOCK_POSTS":return(0,s.set)(e,["postsByBlock",t.clientId],t.posts);case"UPDATE_BLOCK_ERROR":return(0,s.set)(e,["errorsByBlock",t.clientId],t.error)}return e}),(0,i.md)(v)),k={getSelectors:()=>w,getActions:()=>g,...y},b={},E=JSON.stringify;function*_(e){const t=E(e.postsQuery),n=window.newspack_blocks_data.posts_rest_url;let o=b[t];if(void 0===o){const r=(0,c.addQueryArgs)(n,{...e.postsQuery,context:"edit"});o=yield(0,u.RE)(a(),{url:r}),b[t]=o}const r=o.map((e=>e.id));return yield(0,u.gz)({type:"UPDATE_BLOCK_POSTS",clientId:e.clientId,posts:o}),r}function S(e){const{getBlock:t}=(0,r.select)("core/block-editor"),n=t(e);return n?.attributes?.deduplicate}const R=e=>{(0,r.register)({name:f,instantiate:()=>k}),v.run((e=>{function*t(){yield(0,u.gw)(300);const{getBlocks:t}=(0,r.select)("core/block-editor"),{getCurrentPostId:n}=(0,r.select)("core/editor");yield(0,u.gz)({type:"DISABLE_UI"});const o=t().map((e=>{const t=(0,r.select)("core/block-editor").getBlocks(e.clientId);return{...e,innerBlocks:t}})),a=(0,d.Pi)(o,e),c=a.reduce(((e,{clientId:t,postsQuery:n})=>(S(t)&&n.include&&(e=[...e,...n.include]),e)),[]);let s=(0,d.Oi)([...c,n()]);for(;a.length;){const e=a.shift(),t=S(e.clientId);t&&(e.postsQuery.exclude=s);let n=[];try{n=yield(0,u.RE)(_,e)}catch(t){yield(0,u.gz)({type:"UPDATE_BLOCK_ERROR",clientId:e.clientId,error:t.message})}t&&(s=[...s,...n])}yield(0,u.gz)({type:"ENABLE_UI"})}return function*(){yield(0,u.Fm)("REFLOW",t)}})(e))}},6738:(e,t,n)=>{n.d(t,{Oi:()=>l,Ou:()=>i,Pi:()=>p,b9:()=>g,eL:()=>w,pM:()=>c});var o=n(5736),a=n(2819),r=n(8151);const __=o.__,c=()=>"object"==typeof window&&window.wpcomGutenberg&&-1===Number(window.wpcomGutenberg.blogPublic),s=["postsToShow","authors","categories","includeSubcategories","excerptLength","tags","customTaxonomies","showExcerpt","specificPosts","specificMode","tagExclusions","categoryExclusions","customTaxonomyExclusions","postType","includedPostStatuses","deduplicate","showCaption","showCredit"],i=(e,t)=>!(0,a.isEqual)((0,a.pick)(e.attributes,s),(0,a.pick)(t.attributes,s))||!(0,a.isEqual)(e.topBlocksClientIdsInOrder,t.topBlocksClientIdsInOrder),l=e=>e.map((e=>parseInt(e))).filter((e=>e>0)),u=e=>(0,a.pickBy)(e,(e=>!(0,a.isUndefined)(e)&&!(0,a.isNull)(e))),p=(e,t)=>e.flatMap((e=>{const n=[];if(t.indexOf(e.name)>=0){const t=(e=>{const{postsToShow:t,authors:n,categories:o,includeSubcategories:r,excerptLength:c,postType:i,showExcerpt:p,showCaption:d,showCredit:m,tags:f,customTaxonomies:h,specificPosts:g=[],specificMode:w,tagExclusions:v,categoryExclusions:y,customTaxonomyExclusions:k,includedPostStatuses:b}=(0,a.pick)(e,s),E=l(g),_=w&&E&&E.length,S=(0,a.pickBy)(_?{include:E,postsToShow:g.length,postType:i}:{postsToShow:t,categories:u(o),includeSubcategories:r,authors:u(n),tags:u(f),tagExclusions:u(v),categoryExclusions:u(y),customTaxonomyExclusions:k,customTaxonomies:h,postType:i,includedPostStatuses:b},(e=>!(0,a.isUndefined)(e)));return S.excerptLength=c,S.showExcerpt=p,S.showCaption=d,S.showCredit=m,S})(e.attributes);n.push({postsQuery:t,clientId:e.clientId})}return n.concat(p(e.innerBlocks,t))})),d=e=>e.flatMap((e=>{const t=[];return t.push(e.clientId),t.concat(d(e.innerBlocks))})),m=window.newspack_blocks_data.assets_path,f=e=>{const t=new Date;return t.setHours(12,0,0,0),{author:1,content:{rendered:"

"+__("The post content.","jetpack-mu-wpcom")+"

"},date:t.toISOString(),date_formatted:t.toLocaleString(),article_meta_footer:"",excerpt:{rendered:"

"+__("The post excerpt.","jetpack-mu-wpcom")+"

"},post_link:"/",featured_media:"1",id:e,post_type:"post",meta:{newspack_post_subtitle:__("Post Subtitle","jetpack-mu-wpcom")},title:{rendered:__("Post Title","jetpack-mu-wpcom")},newspack_article_classes:"type-post",newspack_author_info:[{display_name:__("Author Name","jetpack-mu-wpcom"),avatar:'
',id:1,author_link:"/"}],newspack_category_info:__("Category","jetpack-mu-wpcom"),newspack_featured_image_caption:__("Featured image caption","jetpack-mu-wpcom"),newspack_featured_image_src:{large:`${m}/newspack-1024x536.jpg`,landscape:`${m}/newspack-800x600.jpg`,portrait:`${m}/newspack-600x800.jpg`,square:`${m}/newspack-800x800.jpg`,uncropped:`${m}/newspack-1024x536.jpg`},newspack_has_custom_excerpt:!1,newspack_sponsors_show_categories:!1,newspack_sponsors_show_author:!1}},h=e=>(0,a.times)(e.postsToShow,f),g=(e,{clientId:t,attributes:n})=>{const{getBlocks:o}=e("core/block-editor"),{getEditedPostAttribute:a}=e("core/editor"),c=a("blocks")||[],s=[];for(const e of c)"core/block"===e.name?s.push(...o(e.clientId)):s.push(e);const i=d(s),l=o(),u=l.some((e=>"core/widget-area"===e.name)),p=0===i.length||i.indexOf(t)>=0||u,{getPosts:m,getError:f,isUIDisabled:g}=e(r.$);return{isEditorBlock:p,isUIDisabled:g(),error:f({clientId:t}),topBlocksClientIdsInOrder:l.map((e=>e.clientId)),latestPosts:p?m({clientId:t}):h(n)}},w=(e,{isEditorBlock:t})=>({triggerReflow:t?e(r.$).reflow:()=>{}})},527:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(5609),a=n(9307),r=n(2819);class c extends a.Component{constructor(e){super(e),this.state={suggestions:[],validValues:{},loading:this.isFetchingInfoOnLoad()},this.debouncedUpdateSuggestions=(0,r.debounce)(this.updateSuggestions,500)}isFetchingInfoOnLoad=()=>{const{tokens:e,fetchSavedInfo:t}=this.props;return Boolean(e.length&&t)};componentDidMount(){if(this.isFetchingInfoOnLoad()){const{tokens:e,fetchSavedInfo:t}=this.props;t(e).then((e=>{const{validValues:t}=this.state;e.forEach((e=>{t[e.value]=e.label})),this.setState({validValues:t,loading:!1})}))}}componentWillUnmount(){delete this.suggestionsRequest,this.debouncedUpdateSuggestions.cancel()}getLabelsForValues(e){const{validValues:t}=this.state;return e.reduce(((e,n)=>t[n]?[...e,t[n]]:e),[])}getValuesForLabels(e){const{validValues:t}=this.state;return e.map((e=>Object.keys(t).find((n=>t[n]===e)))).filter((e=>!!e))}updateSuggestions(e){const{fetchSuggestions:t}=this.props;t&&this.setState({loading:!0},(()=>{const n=t(e);n.then((e=>{if(this.suggestionsRequest!==n)return;const{validValues:t}=this.state,o=[];e.forEach((e=>{const n=e.label.trim();o.indexOf(n)>=0&&(e.label=`${n} (${e.value})`),o.push(n),t[e.value]=n})),this.setState({suggestions:o,validValues:t,loading:!1})})).catch((()=>{this.suggestionsRequest===n&&this.setState({loading:!1})})),this.suggestionsRequest=n}))}handleOnChange(e){const{onChange:t}=this.props;t(this.getValuesForLabels(e))}getTokens(){const{tokens:e}=this.props;return this.getLabelsForValues(e)}render(){const{help:e,label:t=""}=this.props,{suggestions:n,loading:a}=this.state;return React.createElement("div",{className:"autocomplete-tokenfield"},React.createElement(o.FormTokenField,{value:this.getTokens(),suggestions:n,onChange:e=>this.handleOnChange(e),onInputChange:e=>this.debouncedUpdateSuggestions(e),label:t}),a&&React.createElement(o.Spinner,null),e&&React.createElement("p",{className:"autocomplete-tokenfield__help"},e))}}const s=c},6799:(e,t,n)=>{n.d(t,{H:()=>i,L:()=>s});var o=n(5609),a=n(9818),r=n(5736);const __=r.__,c=({options:e,values:t,onChange:n})=>Array.isArray(e)?e.map((({name:e,slug:a})=>React.createElement(o.PanelRow,{key:a},React.createElement(o.CheckboxControl,{label:e,checked:t.indexOf(a)>-1,onChange:e=>{const o=[...new Set(t)];e&&-1===o.indexOf(a)?o.push(a):!e&&o.indexOf(a)>-1&&o.splice(o.indexOf(a),1),n(o)}})))):React.createElement(o.Spinner,null),s=({attributes:e,setAttributes:t})=>{const{availablePostTypes:n}=(0,a.useSelect)((e=>{const{getPostTypes:t}=e("core"),n=__("Listings","jetpack-mu-wpcom");return{availablePostTypes:t({per_page:-1})?.filter((({supports:{newspack_blocks:e}})=>e))?.map((e=>(0===e.slug.indexOf("newspack_lst")&&"newspack_lst_generic"!==e.slug&&-1===e.name.indexOf(n)&&(e.name=`${e.name} ${n}`),e)))}}));return React.createElement(o.PanelBody,{title:__("Post Types","jetpack-mu-wpcom")},React.createElement(c,{options:n,values:e.postType,onChange:e=>t({postType:e})}))},i=({attributes:e,setAttributes:t})=>React.createElement(o.PanelBody,{title:__("Additional Post Statuses","jetpack-mu-wpcom")},React.createElement(o.PanelRow,null,React.createElement("i",null,__("Selection here has effect only for editors, regular users will only see published posts.","jetpack-mu-wpcom"))),React.createElement(c,{values:e.includedPostStatuses,options:[{name:"Draft",slug:"draft"},{name:"Scheduled",slug:"future"}],onChange:e=>t({includedPostStatuses:e})}))},7168:(e,t,n)=>{n.d(t,{Z:()=>f});var o=n(6989),a=n.n(o),r=n(5609),c=n(9307),s=n(2629),i=n(5736),l=n(6483),u=n(527);const __=i.__,p=e=>(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom"),d=e=>(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom");class m extends c.Component{state={showAdvancedFilters:!1};fetchPostSuggestions=e=>{const{postType:t}=this.props,n=window.newspack_blocks_data.specific_posts_rest_url;return a()({url:(0,l.addQueryArgs)(n,{search:e,postsToShow:20,_fields:"id,title",type:"post",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.title)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchSavedPosts=e=>{const{postType:t}=this.props,n=window.newspack_blocks_data.posts_rest_url;return a()({url:(0,l.addQueryArgs)(n,{postsToShow:100,include:e.join(","),_fields:"id,title",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.title.rendered)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchAuthorSuggestions=e=>{const t=window.newspack_blocks_data.authors_rest_url;return a()({url:(0,l.addQueryArgs)(t,{search:e,per_page:20,fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchSavedAuthors=e=>{const t=window.newspack_blocks_data.authors_rest_url;return a()({url:(0,l.addQueryArgs)(t,{per_page:100,include:e.join(","),fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchCategorySuggestions=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/categories",{search:e,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((e=>Promise.all(e.map((e=>e.parent>0?a()({path:(0,l.addQueryArgs)(`/wp/v2/categories/${e.parent}`,{_fields:"name"})}).then((t=>({value:e.id,label:`${p(e)} – ${p(t)}`}))):Promise.resolve({value:e.id,label:p(e)}))))));fetchSavedCategories=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/categories",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchTagSuggestions=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/tags",{search:e,per_page:20,_fields:"id,name",orderby:"count",order:"desc"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchSavedTags=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/tags",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchCustomTaxonomiesSuggestions=(e,t)=>a()({path:(0,l.addQueryArgs)(`/wp/v2/${e}`,{search:t,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((t=>Promise.all(t.map((t=>t.parent>0?a()({path:(0,l.addQueryArgs)(`/wp/v2/${e}/${t.parent}`,{_fields:"name"})}).then((e=>({value:t.id,label:`${d(t)} – ${d(e)}`}))):Promise.resolve({value:t.id,label:d(t)}))))));fetchSavedCustomTaxonomies=(e,t)=>a()({path:(0,l.addQueryArgs)(`/wp/v2/${e}`,{per_page:100,_fields:"id,name",include:t.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));render=()=>{const{specificMode:e,onSpecificModeChange:t,specificPosts:n,onSpecificPostsChange:o,authors:a,onAuthorsChange:c,categories:s,onCategoriesChange:l,includeSubcategories:p,onIncludeSubcategoriesChange:d,tags:m,onTagsChange:f,customTaxonomies:h,onCustomTaxonomiesChange:g,tagExclusions:w,onTagExclusionsChange:v,categoryExclusions:y,onCategoryExclusionsChange:k,customTaxonomyExclusions:b,onCustomTaxonomyExclusionsChange:E,enableSpecific:_}=this.props,{showAdvancedFilters:S}=this.state,R=window.newspack_blocks_data?.custom_taxonomies,x=(e,t,n,o)=>{let a=e.filter((e=>e.slug!==n));a=[...a,{slug:n,terms:o}],t(a)},C=(e,t)=>{const n=e.find((e=>e.slug===t));return n?n.terms:[]};return React.createElement(React.Fragment,null,_&&React.createElement(r.ToggleControl,{checked:e,onChange:t,label:__("Choose Specific Posts","jetpack-mu-wpcom")}),e?React.createElement(u.Z,{tokens:n||[],onChange:o,fetchSuggestions:this.fetchPostSuggestions,fetchSavedInfo:this.fetchSavedPosts,label:__("Posts","jetpack-mu-wpcom"),help:__("Begin typing post title, click autocomplete result to select.","jetpack-mu-wpcom")}):React.createElement(React.Fragment,null,React.createElement(r.QueryControls,this.props),c&&React.createElement(u.Z,{tokens:a||[],onChange:c,fetchSuggestions:this.fetchAuthorSuggestions,fetchSavedInfo:this.fetchSavedAuthors,label:__("Authors","jetpack-mu-wpcom")}),l&&React.createElement(u.Z,{tokens:s||[],onChange:l,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Categories","jetpack-mu-wpcom")}),d&&React.createElement(r.ToggleControl,{checked:p,onChange:d,label:__("Include subcategories ","jetpack-mu-wpcom")}),f&&React.createElement(u.Z,{tokens:m||[],onChange:f,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Tags","jetpack-mu-wpcom")}),g&&R.map((e=>React.createElement(u.Z,{key:`${h[e.slug]}-selector`,tokens:C(h,e.slug),onChange:t=>{x(h,g,e.slug,t)},fetchSuggestions:t=>this.fetchCustomTaxonomiesSuggestions(e.slug,t),fetchSavedInfo:t=>this.fetchSavedCustomTaxonomies(e.slug,t),label:e.label}))),v&&React.createElement("p",null,React.createElement(r.Button,{isLink:!0,onClick:()=>this.setState({showAdvancedFilters:!S})},S?__("Hide Advanced Filters","jetpack-mu-wpcom"):__("Show Advanced Filters","jetpack-mu-wpcom",0))),S&&React.createElement(React.Fragment,null,v&&React.createElement(u.Z,{tokens:w||[],onChange:v,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Excluded Tags","jetpack-mu-wpcom")}),k&&React.createElement(u.Z,{tokens:y||[],onChange:k,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Excluded Categories","jetpack-mu-wpcom")}),R&&E&&R.map((({label:e,slug:t})=>React.createElement(u.Z,{fetchSavedInfo:e=>this.fetchSavedCustomTaxonomies(t,e),fetchSuggestions:e=>this.fetchCustomTaxonomiesSuggestions(t,e),key:`${t}-exclusions-selector`,label:(0,i.sprintf)( +(()=>{"use strict";var e={68393:(e,t,n)=>{n.d(t,{A:()=>I,B:()=>C,C:()=>N,D:()=>w,E:()=>k,F:()=>L,G:()=>D,H:()=>l,J:()=>B,L:()=>q,M:()=>X,N:()=>K,O:()=>W,P:()=>A,Q:()=>Y,R:()=>O,S:()=>V,T:()=>P,Z:()=>G,a:()=>M,b:()=>Z,d:()=>z,e:()=>T,f:()=>H,g:()=>F,h:()=>U,i:()=>v,j:()=>R,k:()=>s,l:()=>S,m:()=>y,o:()=>m,p:()=>u,q:()=>g,r:()=>d,s:()=>_,t:()=>i,u:()=>p,v:()=>x,y:()=>E,z:()=>b});var o=n(76135),a=n(80255),r=n(396),c=n(52654),s=function(e){return function(){return e}}(!0),i=function(){};var l=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var u=function(e,t){(0,a.Z)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))},p=function(e,t){var n;return(n=[]).concat.apply(n,t.map(e))};function d(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function m(e){var t=!1;return function(){t||(t=!0,e())}}var f=function(e){throw e},h=function(e){return{value:e,done:!0}};function g(e,t,n){void 0===t&&(t=f),void 0===n&&(n="iterator");var o={meta:{name:n},next:e,throw:t,return:h,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(o[Symbol.iterator]=function(){return o}),o}function w(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var v=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},y=function(e){return Array.apply(null,new Array(e))},k=function(e){return function(t){return e(Object.defineProperty(t,o.Nm,{value:!0}))}},b=function(e){return e===o.EO},E=function(e){return e===o.Wd},_=function(e){return b(e)||E(e)};function S(e,t){var n=Object.keys(e),o=n.length;var a,c=0,s=(0,r.IX)(e)?y(o):{},l={};return n.forEach((function(e){var n=function(n,r){a||(r||_(n)?(t.cancel(),t(n,r)):(s[e]=n,++c===o&&(a=!0,t(s))))};n.cancel=i,l[e]=n})),t.cancel=function(){a||(a=!0,n.forEach((function(e){return l[e].cancel()})))},l}function R(e){return{name:e.name||"anonymous",location:x(e)}}function x(e){return e[o.b_]}function C(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),o=1;o1?t-1:0),o=1;o{n.d(t,{ZP:()=>W});var o=n(76135),a=n(80255),r=n(37921),c=n(396),s=n(68393),i=n(20918),l=[],u=0;function p(e){try{f(),e()}finally{h()}}function d(e){l.push(e),u||(f(),g())}function m(e){try{return f(),e()}finally{g()}}function f(){u++}function h(){u--}function g(){var e;for(h();!u&&void 0!==(e=l.shift());)p(e)}var w=function(e){return function(t){return e.some((function(e){return E(e)(t)}))}},v=function(e){return function(t){return e(t)}},y=function(e){return function(t){return t.type===String(e)}},k=function(e){return function(t){return t.type===e}},b=function(){return s.k};function E(e){var t="*"===e?b:(0,c.Z_)(e)?y:(0,c.IX)(e)?w:(0,c.eR)(e)?y:(0,c.Yl)(e)?v:(0,c.NA)(e)?k:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var _={type:o.sZ},S=function(e){return e&&e.type===o.sZ};function R(e){void 0===e&&(e=(0,s.e)());var t=!1,n=[];return{take:function(o){t&&e.isEmpty()?o(_):e.isEmpty()?(n.push(o),o.cancel=function(){(0,s.r)(n,o)}):o(e.take())},put:function(o){if(!t){if(0===n.length)return e.put(o);n.shift()(o)}},flush:function(n){t&&e.isEmpty()?n(_):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var o=0,a=e.length;o2?f-2:0),g=2;g{n.d(t,{Fm:()=>u,RE:()=>a.O,gw:()=>a.Q,gz:()=>a.Z});var o=n(396),a=n(68393),r=function(e){return{done:!0,value:e}},c={};function s(e){return(0,o.CE)(e)?"channel":(0,o.eR)(e)?String(e):(0,o.Yl)(e)?e.name:String(e)}function i(e,t,n){var o,s,i,l=t;function u(t,n){if(l===c)return r(t);if(n&&!s)throw l=c,n;o&&o(t);var a=n?e[s](n):e[l]();return l=a.nextState,i=a.effect,o=a.stateUpdater,s=a.errorState,l===c?r(t):i}return(0,a.q)(u,(function(e){return u(null,e)}),n)}function l(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r2?n-2:0),r=2;r{function o(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}n.d(t,{Z:()=>a});const a=o},52654:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(76135);const a=function(e,t){var n;void 0===t&&(t=!0);var a=new Promise((function(o){n=setTimeout(o,Math.min(2147483647,e),t)}));return a[o.n1]=function(){clearTimeout(n)},a}},396:(e,t,n)=>{n.d(t,{CE:()=>d,IX:()=>i,MC:()=>l,NA:()=>f,Om:()=>h,Yl:()=>c,Z_:()=>s,d5:()=>r,eR:()=>m,hZ:()=>u,sR:()=>a,uj:()=>p});var o=n(76135),a=function(e){return null==e},r=function(e){return null!=e},c=function(e){return"function"==typeof e},s=function(e){return"string"==typeof e},i=Array.isArray,l=function(e){return e&&c(e.then)},u=function(e){return e&&c(e.next)&&c(e.throw)},p=function e(t){return t&&(s(t)||f(t)||c(t)||i(t)&&t.every(e))},d=function(e){return e&&c(e.take)&&c(e.close)},m=function(e){return c(e)&&e.hasOwnProperty("toString")},f=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},h=function(e){return d(e)&&e[o.AS]}},76135:(e,t,n)=>{n.d(t,{AS:()=>i,Cs:()=>p,EO:()=>m,IO:()=>c,Nm:()=>l,Wd:()=>d,b_:()=>f,n1:()=>a,sC:()=>u,sZ:()=>r,uq:()=>s});var o=function(e){return"@@redux-saga/"+e},a=o("CANCEL_PROMISE"),r=o("CHANNEL_END"),c=o("IO"),s=o("MATCH"),i=o("MULTICAST"),l=o("SAGA_ACTION"),u=o("SELF_CANCELLATION"),p=o("TASK"),d=o("TASK_CANCEL"),m=o("TERMINATE"),f=o("LOCATION")},61074:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(69307);const a=(0,o.forwardRef)((function({icon:e,size:t=24,...n},a){return(0,o.cloneElement)(e,{width:t,height:t,...n,ref:a})}))},37182:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(70444),a=n(30275);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})})},15669:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(70444),a=n(30275);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z"})})},76376:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(70444),a=n(30275);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z",fillRule:"evenodd",clipRule:"evenodd"})})},75022:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(70444),a=n(30275);const r=(0,a.jsx)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})})},27710:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(70444),a=n(30275);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"})})},47524:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(70444),a=n(30275);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"})})},48797:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(70444),a=n(30275);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"})})},24561:(e,t,n)=>{var o=n(99196),a=Symbol.for("react.element"),r=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,s=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var o,r={},l=null,u=null;for(o in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)c.call(t,o)&&!i.hasOwnProperty(o)&&(r[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===r[o]&&(r[o]=t[o]);return{$$typeof:a,type:e,key:l,ref:u,props:r,_owner:s.current}}t.jsx=l},30275:(e,t,n)=>{e.exports=n(24561)},46008:(e,t,n)=>{n.d(t,{ZP:()=>o});const o=n(86545).ZP},17652:(e,t,n)=>{n.d(t,{Fm:()=>o.Fm,RE:()=>o.RE,gw:()=>o.gw,gz:()=>o.gz});var o=n(95052)},835:(e,t,n)=>{n.d(t,{MT:()=>l,md:()=>p});var o=n(38617);function a(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var r="function"==typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function i(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function l(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(a(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(a(1));return n(l)(e,t)}if("function"!=typeof e)throw new Error(a(2));var c=e,u=t,p=[],d=p,m=!1;function f(){d===p&&(d=p.slice())}function h(){if(m)throw new Error(a(3));return u}function g(e){if("function"!=typeof e)throw new Error(a(4));if(m)throw new Error(a(5));var t=!0;return f(),d.push(e),function(){if(t){if(m)throw new Error(a(6));t=!1,f();var n=d.indexOf(e);d.splice(n,1),p=null}}}function w(e){if(!i(e))throw new Error(a(7));if(void 0===e.type)throw new Error(a(8));if(m)throw new Error(a(9));try{m=!0,u=c(u,e)}finally{m=!1}for(var t=p=d,n=0;n{n.d(t,{T:()=>o});const o="a8c/posts-carousel"},23741:(e,t,n)=>{n.d(t,{Z:()=>j});var o=n(52175),a=n(55609),r=n(94333),c=n(9818),s=n(69307),i=n(22629),l=n(65736),u=n(61074),p=n(37182),d=n(76376),m=n(27710),f=n(47524),h=n(48797),g=n(75022),w=n(15669),v=n(3228),y=n(66799),k=n(77168),b=n(260),E=n(96738);const __=l.__;let _;"object"==typeof window&&window.newspack_blocks_data&&window.newspack_blocks_data.post_subtitle&&(_=!0);const S=React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{clipRule:"evenodd",d:"M18.714 7.5H5.286a.786.786 0 00-.786.786v7.428c0 .434.352.786.786.786h13.428a.786.786 0 00.786-.786V8.286a.786.786 0 00-.786-.786zM5.286 6A2.286 2.286 0 003 8.286v7.428A2.286 2.286 0 005.286 18h13.428A2.286 2.286 0 0021 15.714V8.286A2.286 2.286 0 0018.714 6H5.286z",fillRule:"evenodd"})),R=React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{clipRule:"evenodd",d:"M15.714 4.5H8.286a.786.786 0 00-.786.786v13.428c0 .434.352.786.786.786h7.428a.786.786 0 00.786-.786V5.286a.786.786 0 00-.786-.786zM8.286 3A2.286 2.286 0 006 5.286v13.428A2.286 2.286 0 008.286 21h7.428A2.286 2.286 0 0018 18.714V5.286A2.286 2.286 0 0015.714 3H8.286z",fillRule:"evenodd"})),x=React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{clipRule:"evenodd",d:"M18.714 4.5H5.286a.786.786 0 00-.786.786v13.428c0 .434.352.786.786.786h13.428a.786.786 0 00.786-.786V5.286a.786.786 0 00-.786-.786zM5.286 3A2.286 2.286 0 003 5.286v13.428A2.286 2.286 0 005.286 21h13.428A2.286 2.286 0 0021 18.714V5.286A2.286 2.286 0 0018.714 3H5.286z",fillRule:"evenodd"}));class C extends s.Component{renderPost=e=>{const{attributes:t,isUIDisabled:n}=this.props,{showImage:a,imageShape:r,mediaPosition:c,minHeight:l,showCaption:u,showCredit:p,showExcerpt:d,showReadMore:m,readMoreLabel:f,showSubtitle:h,showAuthor:g,showAvatar:w,showDate:y,showCategory:k,sectionHeader:E}=t,S={minHeight:"behind"===c&&a&&e.newspack_featured_image_src&&l+"vh"||void 0,paddingTop:"behind"===c&&a&&e.newspack_featured_image_src&&l/5+"vh"||void 0},R=(0,v.Z)({"post-has-image":e.newspack_featured_image_src,"newspack-block--disabled":n},e.newspack_article_classes),x=this.titleForPost(e);return React.createElement("article",{className:R,key:e.id,style:S},(0,b.fC)(e),a&&e.newspack_featured_image_src&&React.createElement("figure",{className:"post-thumbnail",key:"thumbnail"},React.createElement("a",{href:"#"},"landscape"===r&&React.createElement("img",{src:e.newspack_featured_image_src.landscape,alt:""}),"portrait"===r&&React.createElement("img",{src:e.newspack_featured_image_src.portrait,alt:""}),"square"===r&&React.createElement("img",{src:e.newspack_featured_image_src.square,alt:""}),"uncropped"===r&&React.createElement("img",{src:e.newspack_featured_image_src.uncropped,alt:""})),(u||p)&&React.createElement("div",{dangerouslySetInnerHTML:{__html:e.newspack_featured_image_caption}})),React.createElement("div",{className:"entry-wrapper"},(e.newspack_post_sponsors||k&&0e.title?"object"==typeof e.title&&e.title.rendered?(0,i.decodeEntities)(e.title.rendered.trim()):void 0:"";renderInspectorControls=()=>{const{attributes:e,setAttributes:t,textColor:n,setTextColor:r}=this.props,{authors:c,specificPosts:i,postsToShow:l,categories:u,includeSubcategories:p,customTaxonomies:d,columns:m,colGap:f,postType:h,showImage:g,showCaption:w,showCredit:v,imageScale:b,mobileStack:S,minHeight:R,moreButton:x,showExcerpt:C,showReadMore:j,readMoreLabel:T,excerptLength:P,showSubtitle:A,typeScale:I,showDate:O,showAuthor:N,showAvatar:M,showCategory:L,postLayout:B,mediaPosition:Z,specificMode:V,tags:z,tagExclusions:H,categoryExclusions:F,customTaxonomyExclusions:D}=e,U=[{value:1,label:/* translators: label for small size option */__("Small","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for small size */__("S","jetpack-mu-wpcom")},{value:2,label:/* translators: label for medium size option */__("Medium","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for medium size */__("M","jetpack-mu-wpcom")},{value:3,label:/* translators: label for large size option */__("Large","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for large size */__("L","jetpack-mu-wpcom")},{value:4,label:/* translators: label for extra large size option */__("Extra Large","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for extra large size */__("XL","jetpack-mu-wpcom")}],$=[{value:1,label:/* translators: label for small size option */__("Small","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for small size */__("S","jetpack-mu-wpcom")},{value:2,label:/* translators: label for medium size option */__("Medium","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for medium size */__("M","jetpack-mu-wpcom")},{value:3,label:/* translators: label for large size option */__("Large","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for large size */__("L","jetpack-mu-wpcom")}],q=e=>n=>t({[e]:n});return React.createElement(s.Fragment,null,React.createElement(a.PanelBody,{title:__("Display Settings","jetpack-mu-wpcom"),initialOpen:!0},React.createElement(k.Z,{numberOfItems:l,onNumberOfItemsChange:e=>t({postsToShow:e||1}),specificMode:V,onSpecificModeChange:q("specificMode"),specificPosts:i,onSpecificPostsChange:q("specificPosts"),authors:c,onAuthorsChange:q("authors"),categories:u,onCategoriesChange:q("categories"),includeSubcategories:p,onIncludeSubcategoriesChange:q("includeSubcategories"),tags:z,onTagsChange:q("tags"),onCustomTaxonomiesChange:q("customTaxonomies"),customTaxonomies:d,tagExclusions:H,onTagExclusionsChange:q("tagExclusions"),categoryExclusions:F,onCategoryExclusionsChange:q("categoryExclusions"),customTaxonomyExclusions:D,onCustomTaxonomyExclusionsChange:q("customTaxonomyExclusions"),postType:h}),"grid"===B&&React.createElement(s.Fragment,null,React.createElement(a.RangeControl,{label:__("Columns","jetpack-mu-wpcom"),value:m,onChange:q("columns"),min:2,max:6,required:!0}),React.createElement(a.BaseControl,{label:__("Columns Gap","jetpack-mu-wpcom"),id:"newspackcolumns-col-gap"},React.createElement(a.PanelRow,null,React.createElement(a.ButtonGroup,{id:"newspackcolumns-col-gap","aria-label":__("Columns Gap","jetpack-mu-wpcom")},$.map((e=>{const n=f===e.value;return React.createElement(a.Button,{isPrimary:n,"aria-pressed":n,"aria-label":e.label,key:e.value,onClick:()=>t({colGap:e.value})},e.shortName)})))))),!V&&(0,E.pM)()?React.createElement("i",null,__('This blog is private, therefore the "Load more posts" feature is not active.',"jetpack-mu-wpcom")):!V&&React.createElement(a.ToggleControl,{label:__('Show "Load more posts" Button',"jetpack-mu-wpcom"),checked:x,onChange:()=>t({moreButton:!x})}),React.createElement(a.ToggleControl,{label:__("Allow duplicate stories","jetpack-mu-wpcom"),help:__("If checked, this block will be excluded from the page's de-duplication logic. Duplicate stories may appear.","jetpack-mu-wpcom"),checked:!e.deduplicate,onChange:e=>t({deduplicate:!e}),className:"newspack-blocks-deduplication-toggle"})),React.createElement(a.PanelBody,{title:__("Featured Image Settings","jetpack-mu-wpcom")},React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Featured Image","jetpack-mu-wpcom"),checked:g,onChange:()=>t({showImage:!g})})),g&&React.createElement(React.Fragment,null,React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Featured Image Caption","jetpack-mu-wpcom"),checked:w,onChange:()=>t({showCaption:!w})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Featured Image Credit","jetpack-mu-wpcom"),checked:v,onChange:()=>t({showCredit:!v})}))),g&&"top"!==Z&&"behind"!==Z&&React.createElement(s.Fragment,null,React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Stack on mobile","jetpack-mu-wpcom"),checked:S,onChange:()=>t({mobileStack:!S})})),React.createElement(a.BaseControl,{label:__("Featured Image Size","jetpack-mu-wpcom"),id:"newspackfeatured-image-size"},React.createElement(a.PanelRow,null,React.createElement(a.ButtonGroup,{id:"newspackfeatured-image-size","aria-label":__("Featured Image Size","jetpack-mu-wpcom")},U.map((e=>{const n=b===e.value;return React.createElement(a.Button,{isPrimary:n,"aria-pressed":n,"aria-label":e.label,key:e.value,onClick:()=>t({imageScale:e.value})},e.shortName)})))))),g&&"behind"===Z&&React.createElement(a.RangeControl,{label:__("Minimum height","jetpack-mu-wpcom"),help:__("Sets a minimum height for the block, using a percentage of the screen's current height.","jetpack-mu-wpcom"),value:R,onChange:e=>t({minHeight:e}),min:0,max:100,required:!0})),React.createElement(a.PanelBody,{title:__("Post Control Settings","jetpack-mu-wpcom")},_&&React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Subtitle","jetpack-mu-wpcom"),checked:A,onChange:()=>t({showSubtitle:!A})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Excerpt","jetpack-mu-wpcom"),checked:C,onChange:()=>t({showExcerpt:!C})})),C&&React.createElement(a.RangeControl,{label:__("Max number of words in excerpt","jetpack-mu-wpcom"),value:P,onChange:e=>t({excerptLength:e}),min:10,max:100}),React.createElement(a.ToggleControl,{label:__('Add a "Read More" link',"jetpack-mu-wpcom"),checked:j,onChange:()=>t({showReadMore:!j})}),j&&React.createElement(a.TextControl,{label:__('"Read More" link text',"jetpack-mu-wpcom"),value:T,placeholder:T,onChange:e=>t({readMoreLabel:e})}),React.createElement(a.RangeControl,{className:"type-scale-slider",label:__("Type Scale","jetpack-mu-wpcom"),value:I,onChange:e=>t({typeScale:e}),min:1,max:10,required:!0})),React.createElement(o.PanelColorSettings,{title:__("Color Settings","jetpack-mu-wpcom"),initialOpen:!0,colorSettings:[{value:n.color,onChange:r,label:__("Text Color","jetpack-mu-wpcom")}]}),React.createElement(a.PanelBody,{title:__("Post Meta Settings","jetpack-mu-wpcom")},React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Date","jetpack-mu-wpcom"),checked:O,onChange:()=>t({showDate:!O})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Category","jetpack-mu-wpcom"),checked:L,onChange:()=>t({showCategory:!L})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Author","jetpack-mu-wpcom"),checked:N,onChange:()=>t({showAuthor:!N})})),N&&React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Author Avatar","jetpack-mu-wpcom"),checked:M,onChange:()=>t({showAvatar:!M})}))),React.createElement(y.L,{attributes:e,setAttributes:t}),React.createElement(y.H,{attributes:e,setAttributes:t}))};componentDidMount(){this.props.triggerReflow()}componentDidUpdate(e){(0,E.Ou)(e,this.props)&&this.props.triggerReflow()}componentWillUnmount(){this.props.triggerReflow()}render(){const{attributes:e,className:t,setAttributes:n,isSelected:r,latestPosts:c,textColor:i,error:l}=this.props,{showImage:y,imageShape:k,postLayout:b,mediaPosition:_,moreButton:C,moreButtonText:j,columns:T,colGap:P,typeScale:A,imageScale:I,mobileStack:O,sectionHeader:N,showCaption:M,showCategory:L,specificMode:B,textAlign:Z}=e,V=(0,v.Z)(t,{"is-grid":"grid"===b,"show-image":y,[`columns-${T}`]:"grid"===b,[`colgap-${P}`]:"grid"===b,[`ts-${A}`]:A,[`image-align${_}`]:y,[`is-${I}`]:y,"mobile-stack":O,[`is-${k}`]:y,"has-text-color":""!==i.color,"show-caption":M,"show-category":L,[`has-text-align-${Z}`]:Z,wpnbha:!0}),z=[{icon:React.createElement(u.Z,{icon:p.Z}),title:__("List View","jetpack-mu-wpcom"),onClick:()=>n({postLayout:"list"}),isActive:"list"===b},{icon:React.createElement(u.Z,{icon:d.Z}),title:__("Grid View","jetpack-mu-wpcom"),onClick:()=>n({postLayout:"grid"}),isActive:"grid"===b}],H=[{icon:React.createElement(u.Z,{icon:m.Z}),title:__("Show media on top","jetpack-mu-wpcom"),isActive:"top"===_,onClick:()=>n({mediaPosition:"top"})},{icon:React.createElement(u.Z,{icon:f.Z}),title:__("Show media on left","jetpack-mu-wpcom"),isActive:"left"===_,onClick:()=>n({mediaPosition:"left"})},{icon:React.createElement(u.Z,{icon:h.Z}),title:__("Show media on right","jetpack-mu-wpcom"),isActive:"right"===_,onClick:()=>n({mediaPosition:"right"})},{icon:React.createElement(u.Z,{icon:g.Z}),title:__("Show media behind","jetpack-mu-wpcom"),isActive:"behind"===_,onClick:()=>n({mediaPosition:"behind"})}],F=[{icon:S,title:__("Landscape Image Shape","jetpack-mu-wpcom"),isActive:"landscape"===k,onClick:()=>n({imageShape:"landscape"})},{icon:R,title:__("portrait Image Shape","jetpack-mu-wpcom"),isActive:"portrait"===k,onClick:()=>n({imageShape:"portrait"})},{icon:x,title:__("Square Image Shape","jetpack-mu-wpcom"),isActive:"square"===k,onClick:()=>n({imageShape:"square"})},{icon:React.createElement(u.Z,{icon:w.Z}),title:__("Uncropped","jetpack-mu-wpcom"),isActive:"uncropped"===k,onClick:()=>n({imageShape:"uncropped"})}];return React.createElement(s.Fragment,null,React.createElement("div",{className:V,style:{color:i.color}},React.createElement("div",null,c&&(!o.RichText.isEmpty(N)||r)&&React.createElement(o.RichText,{onChange:e=>n({sectionHeader:e}),placeholder:__("Write header…","jetpack-mu-wpcom"),value:N,tagName:"h2",className:"article-section-title"}),c&&!c.length&&React.createElement(a.Placeholder,null,__("Sorry, no posts were found.","jetpack-mu-wpcom")),!c&&!l&&React.createElement(a.Placeholder,{icon:React.createElement(a.Spinner,null),className:"component-placeholder__align-center"}),!c&&l&&React.createElement(a.Placeholder,{className:"component-placeholder__align-center newspack-block--error"},l),c&&c.map((e=>this.renderPost(e))))),!B&&c&&C&&!(0,E.pM)()&&React.createElement("div",{className:"editor-styles-wrapper wpnbha__wp-block-button__wrapper"},React.createElement("div",{className:"wp-block-button"},React.createElement(o.RichText,{placeholder:__("Load more posts","jetpack-mu-wpcom"),value:j,onChange:e=>n({moreButtonText:e}),className:"wp-block-button__link",allowedFormats:[]}))),React.createElement(o.BlockControls,null,React.createElement(a.Toolbar,null,React.createElement(o.AlignmentControl,{value:Z,onChange:e=>{n({textAlign:e})}})),React.createElement(a.Toolbar,{controls:z}),y&&React.createElement(a.Toolbar,{controls:H}),y&&React.createElement(a.Toolbar,{controls:F})),React.createElement(o.InspectorControls,null,this.renderInspectorControls()))}}const j=(0,r.compose)([(0,o.withColors)({textColor:"color"}),(0,c.withSelect)(E.b9),(0,c.withDispatch)(E.eL)])(C)},75077:(e,t,n)=>{n.d(t,{Xd:()=>d});var o=n(4981),a=n(55609),r=n(92694),c=n(65736),s=n(23741),i=n(8501);const __=c.__,_x=c._x,{name:l,attributes:u,category:p}=i,d={title:__("Homepage Posts","jetpack-mu-wpcom"),icon:{src:React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{d:"M6.5 14.25H11v-1.5H6.5zM14.5 11.25h-8v-1.5h8zM6.5 8.25h8v-1.5h-8z"}),React.createElement(a.Path,{clipRule:"evenodd",d:"M4.625 3C3.728 3 3 3.728 3 4.625v11.75C3 17.272 3.728 18 4.625 18h11.75c.897 0 1.625-.728 1.625-1.625V4.625C18 3.728 17.272 3 16.375 3zm11.75 1.5H4.625a.125.125 0 00-.125.125v11.75c0 .069.056.125.125.125h11.75a.125.125 0 00.125-.125V4.625a.125.125 0 00-.125-.125z",fillRule:"evenodd"}),React.createElement(a.Path,{d:"M20.25 8v11c0 .69-.56 1.25-1.249 1.25H6v1.5h13.001A2.749 2.749 0 0021.75 19V8z"})),foreground:"#36f"},attributes:u,category:p,keywords:[__("posts","jetpack-mu-wpcom"),__("articles","jetpack-mu-wpcom"),__("latest","jetpack-mu-wpcom")],description:__("A block for displaying homepage posts.","jetpack-mu-wpcom"),styles:[{name:"default",label:_x("Default","block style","jetpack-mu-wpcom"),isDefault:!0},{name:"borders",label:_x("Borders","block style","jetpack-mu-wpcom")}],supports:{html:!1,align:["wide","full"],default:""},edit:s.Z,save:()=>null,transforms:{from:[{type:"block",blocks:["core/latest-posts"],transform:({displayPostContent:e,displayPostDate:t,postLayout:n,columns:a,postsToShow:c,categories:s})=>(0,o.createBlock)((0,r.applyFilters)("blocks.transforms_from_name","newspack-blocks/homepage-articles"),{showExcerpt:e,showDate:t,postLayout:n,columns:a,postsToShow:c,showAuthor:!1,categories:s?[s]:[]})}],to:[{type:"block",blocks:["core/latest-posts"],transform:({showExcerpt:e,showDate:t,postLayout:n,columns:a,postsToShow:r,categories:c})=>(0,o.createBlock)("core/latest-posts",{displayPostContent:e,displayPostDate:t,postLayout:n,columns:a,postsToShow:r,categories:c[0]||""})}]}}},38151:(e,t,n)=>{n.d(t,{$:()=>f,f:()=>R});var o=n(86989),a=n.n(o),r=n(9818),c=n(96483),s=n(92819),i=n(835),l=n(46008),u=n(17652),p=n(8501),d=n(96738);const{name:m}=p,f=`newspack-blocks/${m}`,h={postsByBlock:{},errorsByBlock:{}},g={reflow:()=>{y.dispatch({type:"REFLOW"})}},w={getPosts:({clientId:e})=>y.getState().postsByBlock[e],getError:({clientId:e})=>y.getState().errorsByBlock[e],isUIDisabled:()=>y.getState().isUIDisabled},v=(0,l.ZP)(),y=(0,i.MT)(((e=h,t)=>{switch(t.type){case"DISABLE_UI":return(0,s.set)(e,"isUIDisabled",!0);case"ENABLE_UI":return(0,s.set)(e,"isUIDisabled",!1);case"UPDATE_BLOCK_POSTS":return(0,s.set)(e,["postsByBlock",t.clientId],t.posts);case"UPDATE_BLOCK_ERROR":return(0,s.set)(e,["errorsByBlock",t.clientId],t.error)}return e}),(0,i.md)(v)),k={getSelectors:()=>w,getActions:()=>g,...y},b={},E=JSON.stringify;function*_(e){const t=E(e.postsQuery),n=window.newspack_blocks_data.posts_rest_url;let o=b[t];if(void 0===o){const r=(0,c.addQueryArgs)(n,{...e.postsQuery,context:"edit"});o=yield(0,u.RE)(a(),{url:r}),b[t]=o}const r=o.map((e=>e.id));return yield(0,u.gz)({type:"UPDATE_BLOCK_POSTS",clientId:e.clientId,posts:o}),r}function S(e){const{getBlock:t}=(0,r.select)("core/block-editor"),n=t(e);return n?.attributes?.deduplicate}const R=e=>{(0,r.register)({name:f,instantiate:()=>k}),v.run((e=>{function*t(){yield(0,u.gw)(300);const{getBlocks:t}=(0,r.select)("core/block-editor"),{getCurrentPostId:n}=(0,r.select)("core/editor");yield(0,u.gz)({type:"DISABLE_UI"});const o=t().map((e=>{const t=(0,r.select)("core/block-editor").getBlocks(e.clientId);return{...e,innerBlocks:t}})),a=(0,d.Pi)(o,e),c=a.reduce(((e,{clientId:t,postsQuery:n})=>(S(t)&&n.include&&(e=[...e,...n.include]),e)),[]);let s=(0,d.Oi)([...c,n()]);for(;a.length;){const e=a.shift(),t=S(e.clientId);t&&(e.postsQuery.exclude=s);let n=[];try{n=yield(0,u.RE)(_,e)}catch(t){yield(0,u.gz)({type:"UPDATE_BLOCK_ERROR",clientId:e.clientId,error:t.message})}t&&(s=[...s,...n])}yield(0,u.gz)({type:"ENABLE_UI"})}return function*(){yield(0,u.Fm)("REFLOW",t)}})(e))}},96738:(e,t,n)=>{n.d(t,{Oi:()=>l,Ou:()=>i,Pi:()=>p,b9:()=>g,eL:()=>w,pM:()=>c});var o=n(65736),a=n(92819),r=n(38151);const __=o.__,c=()=>"object"==typeof window&&window.wpcomGutenberg&&-1===Number(window.wpcomGutenberg.blogPublic),s=["postsToShow","authors","categories","includeSubcategories","excerptLength","tags","customTaxonomies","showExcerpt","specificPosts","specificMode","tagExclusions","categoryExclusions","customTaxonomyExclusions","postType","includedPostStatuses","deduplicate","showCaption","showCredit"],i=(e,t)=>!(0,a.isEqual)((0,a.pick)(e.attributes,s),(0,a.pick)(t.attributes,s))||!(0,a.isEqual)(e.topBlocksClientIdsInOrder,t.topBlocksClientIdsInOrder),l=e=>e.map((e=>parseInt(e))).filter((e=>e>0)),u=e=>(0,a.pickBy)(e,(e=>!(0,a.isUndefined)(e)&&!(0,a.isNull)(e))),p=(e,t)=>e.flatMap((e=>{const n=[];if(t.indexOf(e.name)>=0){const t=(e=>{const{postsToShow:t,authors:n,categories:o,includeSubcategories:r,excerptLength:c,postType:i,showExcerpt:p,showCaption:d,showCredit:m,tags:f,customTaxonomies:h,specificPosts:g=[],specificMode:w,tagExclusions:v,categoryExclusions:y,customTaxonomyExclusions:k,includedPostStatuses:b}=(0,a.pick)(e,s),E=l(g),_=w&&E&&E.length,S=(0,a.pickBy)(_?{include:E,postsToShow:g.length,postType:i}:{postsToShow:t,categories:u(o),includeSubcategories:r,authors:u(n),tags:u(f),tagExclusions:u(v),categoryExclusions:u(y),customTaxonomyExclusions:k,customTaxonomies:h,postType:i,includedPostStatuses:b},(e=>!(0,a.isUndefined)(e)));return S.excerptLength=c,S.showExcerpt=p,S.showCaption=d,S.showCredit=m,S})(e.attributes);n.push({postsQuery:t,clientId:e.clientId})}return n.concat(p(e.innerBlocks,t))})),d=e=>e.flatMap((e=>{const t=[];return t.push(e.clientId),t.concat(d(e.innerBlocks))})),m=window.newspack_blocks_data.assets_path,f=e=>{const t=new Date;return t.setHours(12,0,0,0),{author:1,content:{rendered:"

"+__("The post content.","jetpack-mu-wpcom")+"

"},date:t.toISOString(),date_formatted:t.toLocaleString(),article_meta_footer:"",excerpt:{rendered:"

"+__("The post excerpt.","jetpack-mu-wpcom")+"

"},post_link:"/",featured_media:"1",id:e,post_type:"post",meta:{newspack_post_subtitle:__("Post Subtitle","jetpack-mu-wpcom")},title:{rendered:__("Post Title","jetpack-mu-wpcom")},newspack_article_classes:"type-post",newspack_author_info:[{display_name:__("Author Name","jetpack-mu-wpcom"),avatar:'
',id:1,author_link:"/"}],newspack_category_info:__("Category","jetpack-mu-wpcom"),newspack_featured_image_caption:__("Featured image caption","jetpack-mu-wpcom"),newspack_featured_image_src:{large:`${m}/newspack-1024x536.jpg`,landscape:`${m}/newspack-800x600.jpg`,portrait:`${m}/newspack-600x800.jpg`,square:`${m}/newspack-800x800.jpg`,uncropped:`${m}/newspack-1024x536.jpg`},newspack_has_custom_excerpt:!1,newspack_sponsors_show_categories:!1,newspack_sponsors_show_author:!1}},h=e=>(0,a.times)(e.postsToShow,f),g=(e,{clientId:t,attributes:n})=>{const{getBlocks:o}=e("core/block-editor"),{getEditedPostAttribute:a}=e("core/editor"),c=a("blocks")||[],s=[];for(const e of c)"core/block"===e.name?s.push(...o(e.clientId)):s.push(e);const i=d(s),l=o(),u=l.some((e=>"core/widget-area"===e.name)),p=0===i.length||i.indexOf(t)>=0||u,{getPosts:m,getError:f,isUIDisabled:g}=e(r.$);return{isEditorBlock:p,isUIDisabled:g(),error:f({clientId:t}),topBlocksClientIdsInOrder:l.map((e=>e.clientId)),latestPosts:p?m({clientId:t}):h(n)}},w=(e,{isEditorBlock:t})=>({triggerReflow:t?e(r.$).reflow:()=>{}})},527:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(55609),a=n(69307),r=n(92819);class c extends a.Component{constructor(e){super(e),this.state={suggestions:[],validValues:{},loading:this.isFetchingInfoOnLoad()},this.debouncedUpdateSuggestions=(0,r.debounce)(this.updateSuggestions,500)}isFetchingInfoOnLoad=()=>{const{tokens:e,fetchSavedInfo:t}=this.props;return Boolean(e.length&&t)};componentDidMount(){if(this.isFetchingInfoOnLoad()){const{tokens:e,fetchSavedInfo:t}=this.props;t(e).then((e=>{const{validValues:t}=this.state;e.forEach((e=>{t[e.value]=e.label})),this.setState({validValues:t,loading:!1})}))}}componentWillUnmount(){delete this.suggestionsRequest,this.debouncedUpdateSuggestions.cancel()}getLabelsForValues(e){const{validValues:t}=this.state;return e.reduce(((e,n)=>t[n]?[...e,t[n]]:e),[])}getValuesForLabels(e){const{validValues:t}=this.state;return e.map((e=>Object.keys(t).find((n=>t[n]===e)))).filter((e=>!!e))}updateSuggestions(e){const{fetchSuggestions:t}=this.props;t&&this.setState({loading:!0},(()=>{const n=t(e);n.then((e=>{if(this.suggestionsRequest!==n)return;const{validValues:t}=this.state,o=[];e.forEach((e=>{const n=e.label.trim();o.indexOf(n)>=0&&(e.label=`${n} (${e.value})`),o.push(n),t[e.value]=n})),this.setState({suggestions:o,validValues:t,loading:!1})})).catch((()=>{this.suggestionsRequest===n&&this.setState({loading:!1})})),this.suggestionsRequest=n}))}handleOnChange(e){const{onChange:t}=this.props;t(this.getValuesForLabels(e))}getTokens(){const{tokens:e}=this.props;return this.getLabelsForValues(e)}render(){const{help:e,label:t=""}=this.props,{suggestions:n,loading:a}=this.state;return React.createElement("div",{className:"autocomplete-tokenfield"},React.createElement(o.FormTokenField,{value:this.getTokens(),suggestions:n,onChange:e=>this.handleOnChange(e),onInputChange:e=>this.debouncedUpdateSuggestions(e),label:t}),a&&React.createElement(o.Spinner,null),e&&React.createElement("p",{className:"autocomplete-tokenfield__help"},e))}}const s=c},66799:(e,t,n)=>{n.d(t,{H:()=>i,L:()=>s});var o=n(55609),a=n(9818),r=n(65736);const __=r.__,c=({options:e,values:t,onChange:n})=>Array.isArray(e)?e.map((({name:e,slug:a})=>React.createElement(o.PanelRow,{key:a},React.createElement(o.CheckboxControl,{label:e,checked:t.indexOf(a)>-1,onChange:e=>{const o=[...new Set(t)];e&&-1===o.indexOf(a)?o.push(a):!e&&o.indexOf(a)>-1&&o.splice(o.indexOf(a),1),n(o)}})))):React.createElement(o.Spinner,null),s=({attributes:e,setAttributes:t})=>{const{availablePostTypes:n}=(0,a.useSelect)((e=>{const{getPostTypes:t}=e("core"),n=__("Listings","jetpack-mu-wpcom");return{availablePostTypes:t({per_page:-1})?.filter((({supports:{newspack_blocks:e}})=>e))?.map((e=>(0===e.slug.indexOf("newspack_lst")&&"newspack_lst_generic"!==e.slug&&-1===e.name.indexOf(n)&&(e.name=`${e.name} ${n}`),e)))}}));return React.createElement(o.PanelBody,{title:__("Post Types","jetpack-mu-wpcom")},React.createElement(c,{options:n,values:e.postType,onChange:e=>t({postType:e})}))},i=({attributes:e,setAttributes:t})=>React.createElement(o.PanelBody,{title:__("Additional Post Statuses","jetpack-mu-wpcom")},React.createElement(o.PanelRow,null,React.createElement("i",null,__("Selection here has effect only for editors, regular users will only see published posts.","jetpack-mu-wpcom"))),React.createElement(c,{values:e.includedPostStatuses,options:[{name:"Draft",slug:"draft"},{name:"Scheduled",slug:"future"}],onChange:e=>t({includedPostStatuses:e})}))},77168:(e,t,n)=>{n.d(t,{Z:()=>f});var o=n(86989),a=n.n(o),r=n(55609),c=n(69307),s=n(22629),i=n(65736),l=n(96483),u=n(527);const __=i.__,p=e=>(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom"),d=e=>(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom");class m extends c.Component{state={showAdvancedFilters:!1};fetchPostSuggestions=e=>{const{postType:t}=this.props,n=window.newspack_blocks_data.specific_posts_rest_url;return a()({url:(0,l.addQueryArgs)(n,{search:e,postsToShow:20,_fields:"id,title",type:"post",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.title)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchSavedPosts=e=>{const{postType:t}=this.props,n=window.newspack_blocks_data.posts_rest_url;return a()({url:(0,l.addQueryArgs)(n,{postsToShow:100,include:e.join(","),_fields:"id,title",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.title.rendered)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchAuthorSuggestions=e=>{const t=window.newspack_blocks_data.authors_rest_url;return a()({url:(0,l.addQueryArgs)(t,{search:e,per_page:20,fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchSavedAuthors=e=>{const t=window.newspack_blocks_data.authors_rest_url;return a()({url:(0,l.addQueryArgs)(t,{per_page:100,include:e.join(","),fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchCategorySuggestions=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/categories",{search:e,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((e=>Promise.all(e.map((e=>e.parent>0?a()({path:(0,l.addQueryArgs)(`/wp/v2/categories/${e.parent}`,{_fields:"name"})}).then((t=>({value:e.id,label:`${p(e)} – ${p(t)}`}))):Promise.resolve({value:e.id,label:p(e)}))))));fetchSavedCategories=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/categories",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchTagSuggestions=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/tags",{search:e,per_page:20,_fields:"id,name",orderby:"count",order:"desc"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchSavedTags=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/tags",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchCustomTaxonomiesSuggestions=(e,t)=>a()({path:(0,l.addQueryArgs)(`/wp/v2/${e}`,{search:t,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((t=>Promise.all(t.map((t=>t.parent>0?a()({path:(0,l.addQueryArgs)(`/wp/v2/${e}/${t.parent}`,{_fields:"name"})}).then((e=>({value:t.id,label:`${d(t)} – ${d(e)}`}))):Promise.resolve({value:t.id,label:d(t)}))))));fetchSavedCustomTaxonomies=(e,t)=>a()({path:(0,l.addQueryArgs)(`/wp/v2/${e}`,{per_page:100,_fields:"id,name",include:t.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));render=()=>{const{specificMode:e,onSpecificModeChange:t,specificPosts:n,onSpecificPostsChange:o,authors:a,onAuthorsChange:c,categories:s,onCategoriesChange:l,includeSubcategories:p,onIncludeSubcategoriesChange:d,tags:m,onTagsChange:f,customTaxonomies:h,onCustomTaxonomiesChange:g,tagExclusions:w,onTagExclusionsChange:v,categoryExclusions:y,onCategoryExclusionsChange:k,customTaxonomyExclusions:b,onCustomTaxonomyExclusionsChange:E,enableSpecific:_}=this.props,{showAdvancedFilters:S}=this.state,R=window.newspack_blocks_data?.custom_taxonomies,x=(e,t,n,o)=>{let a=e.filter((e=>e.slug!==n));a=[...a,{slug:n,terms:o}],t(a)},C=(e,t)=>{const n=e.find((e=>e.slug===t));return n?n.terms:[]};return React.createElement(React.Fragment,null,_&&React.createElement(r.ToggleControl,{checked:e,onChange:t,label:__("Choose Specific Posts","jetpack-mu-wpcom")}),e?React.createElement(u.Z,{tokens:n||[],onChange:o,fetchSuggestions:this.fetchPostSuggestions,fetchSavedInfo:this.fetchSavedPosts,label:__("Posts","jetpack-mu-wpcom"),help:__("Begin typing post title, click autocomplete result to select.","jetpack-mu-wpcom")}):React.createElement(React.Fragment,null,React.createElement(r.QueryControls,this.props),c&&React.createElement(u.Z,{tokens:a||[],onChange:c,fetchSuggestions:this.fetchAuthorSuggestions,fetchSavedInfo:this.fetchSavedAuthors,label:__("Authors","jetpack-mu-wpcom")}),l&&React.createElement(u.Z,{tokens:s||[],onChange:l,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Categories","jetpack-mu-wpcom")}),d&&React.createElement(r.ToggleControl,{checked:p,onChange:d,label:__("Include subcategories ","jetpack-mu-wpcom")}),f&&React.createElement(u.Z,{tokens:m||[],onChange:f,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Tags","jetpack-mu-wpcom")}),g&&R.map((e=>React.createElement(u.Z,{key:`${h[e.slug]}-selector`,tokens:C(h,e.slug),onChange:t=>{x(h,g,e.slug,t)},fetchSuggestions:t=>this.fetchCustomTaxonomiesSuggestions(e.slug,t),fetchSavedInfo:t=>this.fetchSavedCustomTaxonomies(e.slug,t),label:e.label}))),v&&React.createElement("p",null,React.createElement(r.Button,{isLink:!0,onClick:()=>this.setState({showAdvancedFilters:!S})},S?__("Hide Advanced Filters","jetpack-mu-wpcom"):__("Show Advanced Filters","jetpack-mu-wpcom",0))),S&&React.createElement(React.Fragment,null,v&&React.createElement(u.Z,{tokens:w||[],onChange:v,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Excluded Tags","jetpack-mu-wpcom")}),k&&React.createElement(u.Z,{tokens:y||[],onChange:k,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Excluded Categories","jetpack-mu-wpcom")}),R&&E&&R.map((({label:e,slug:t})=>React.createElement(u.Z,{fetchSavedInfo:e=>this.fetchSavedCustomTaxonomies(t,e),fetchSuggestions:e=>this.fetchCustomTaxonomiesSuggestions(t,e),key:`${t}-exclusions-selector`,label:(0,i.sprintf)( // translators: %s is the custom taxonomy label. -__("Excluded %s","jetpack-mu-wpcom"),e),onChange:e=>x(b,E,t,e),tokens:C(b,t)}))))))}}m.defaultProps={enableSpecific:!0,specificPosts:[],authors:[],categories:[],tags:[],customTaxonomies:[],tagExclusions:[],customTaxonomyExclusions:[]};const f=m},260:(e,t,n)=>{n.d(t,{FX:()=>c,Q$:()=>i,b2:()=>s,fC:()=>l,lW:()=>r});var o=n(9307),a=n(5736);const _x=a._x,__=a.__,r=e=>e.map((e=>React.createElement("span",{className:"avatar author-avatar",key:e.id},React.createElement("a",{className:"url fn n",href:e.author_link},React.createElement(o.RawHTML,null,e.avatar))))),c=e=>React.createElement("span",{className:"byline"},React.createElement("span",{className:"author-prefix"},_x("by","post author","jetpack-mu-wpcom"))," ",e.reduce(((t,n,o)=>[...t,React.createElement("span",{className:"author vcard",key:n.id},React.createElement("a",{className:"url fn n",href:n.author_link},n.display_name)),o1&&o===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),s=e=>React.createElement("span",{className:"sponsor-logos"},e.map((e=>React.createElement(o.Fragment,{key:e.id},e.src&&React.createElement("a",{href:e.sponsor_url},React.createElement("img",{src:e.src,width:e.img_width,height:e.img_height,alt:e.sponsor_name})))))),i=e=>React.createElement("span",{className:"byline sponsor-byline"},e[0].byline_prefix," ",e.reduce(((t,n,o)=>[...t,React.createElement("span",{className:"author",key:n.id},React.createElement("a",{href:n.author_link},n.sponsor_name)),o1&&o===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),l=(e={})=>"publish"!==e.post_status?React.createElement("div",{className:"newspack-preview-label"},{draft:__("Draft","jetpack-mu-wpcom"),future:__("Scheduled","jetpack-mu-wpcom")}[e.post_status]):null},9196:e=>{e.exports=window.React},2819:e=>{e.exports=window.lodash},6989:e=>{e.exports=window.wp.apiFetch},2175:e=>{e.exports=window.wp.blockEditor},4981:e=>{e.exports=window.wp.blocks},5609:e=>{e.exports=window.wp.components},4333:e=>{e.exports=window.wp.compose},9818:e=>{e.exports=window.wp.data},9307:e=>{e.exports=window.wp.element},2694:e=>{e.exports=window.wp.hooks},2629:e=>{e.exports=window.wp.htmlEntities},5736:e=>{e.exports=window.wp.i18n},444:e=>{e.exports=window.wp.primitives},6483:e=>{e.exports=window.wp.url},2650:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(9800);function a(e,t,n){return(t=(0,o.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},255:(e,t,n)=>{function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;to})},8617:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(2650);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e){for(var t=1;t{function o(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}n.d(t,{Z:()=>o})},8191:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(7381);function a(e,t){if("object"!=(0,o.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,o.Z)(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},9800:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(7381),a=n(8191);function r(e){var t=(0,a.Z)(e,"string");return"symbol"==(0,o.Z)(t)?t:t+""}},7381:(e,t,n)=>{function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}n.d(t,{Z:()=>o})},3228:(e,t,n)=>{function o(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;ta});const a=function(){for(var e,t,n=0,a="",r=arguments.length;n{e.exports=JSON.parse('{"name":"homepage-articles","category":"newspack","attributes":{"className":{"type":"string","default":""},"showExcerpt":{"type":"boolean","default":true},"excerptLength":{"type":"number","default":55},"showReadMore":{"type":"boolean","default":false},"readMoreLabel":{"type":"string","default":"Keep reading"},"showDate":{"type":"boolean","default":true},"showImage":{"type":"boolean","default":true},"showCaption":{"type":"boolean","default":false},"showCredit":{"type":"boolean","default":false},"disableImageLazyLoad":{"type":"boolean","default":false},"fetchPriority":{"type":"string","default":""},"imageShape":{"type":"string","default":"landscape"},"minHeight":{"type":"integer","default":0},"moreButton":{"type":"boolean","default":false},"moreButtonText":{"type":"string","default":""},"showAuthor":{"type":"boolean","default":true},"showAvatar":{"type":"boolean","default":true},"showCategory":{"type":"boolean","default":false},"postLayout":{"type":"string","default":"list"},"columns":{"type":"integer","default":3},"colGap":{"type":"integer","default":3},"postsToShow":{"type":"integer","default":3},"mediaPosition":{"type":"string","default":"top"},"authors":{"type":"array","default":[],"items":{"type":"integer"}},"categories":{"type":"array","default":[],"items":{"type":"integer"}},"includeSubcategories":{"type":"boolean","default":true},"tags":{"type":"array","default":[],"items":{"type":"integer"}},"customTaxonomies":{"type":"array","default":[],"items":{"type":"object","properties":{"slug":{"type":"string"},"terms":{"type":"array","items":{"type":"integer"}}}}},"tagExclusions":{"type":"array","default":[],"items":{"type":"integer"}},"categoryExclusions":{"type":"array","default":[],"items":{"type":"integer"}},"customTaxonomyExclusions":{"type":"array","default":[],"items":{"type":"object","properties":{"slug":{"type":"string"},"terms":{"type":"array","items":{"type":"integer"}}}}},"specificPosts":{"type":"array","default":[],"items":{"type":"integer"}},"typeScale":{"type":"integer","default":4},"imageScale":{"type":"integer","default":3},"mobileStack":{"type":"boolean","default":false},"sectionHeader":{"type":"string","default":""},"specificMode":{"type":"boolean","default":false},"textColor":{"type":"string","default":""},"customTextColor":{"type":"string","default":""},"singleMode":{"type":"boolean","default":false},"showSubtitle":{"type":"boolean","default":false},"postType":{"type":"array","default":["post"],"items":{"type":"string"}},"textAlign":{"type":"string","default":"left"},"includedPostStatuses":{"type":"array","default":["publish"],"items":{"type":"string"}},"deduplicate":{"type":"boolean","default":true}}}')}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=n(4981),t=n(2694),o=n(5736),a=n(2634),r=n(5077),c=n(8151);const __=o.__,s="a8c/blog-posts";(0,t.addFilter)("blocks.transforms_from_name","set-transformed-block-name",(function(e){return"newspack-blocks/homepage-articles"!==e?e:s})),(0,e.registerBlockType)(s,{...r.Xd,title:__("Blog Posts","jetpack-mu-wpcom"),category:"widgets"}),(0,c.f)([s,a.T])})()})(); \ No newline at end of file +__("Excluded %s","jetpack-mu-wpcom"),e),onChange:e=>x(b,E,t,e),tokens:C(b,t)}))))))}}m.defaultProps={enableSpecific:!0,specificPosts:[],authors:[],categories:[],tags:[],customTaxonomies:[],tagExclusions:[],customTaxonomyExclusions:[]};const f=m},260:(e,t,n)=>{n.d(t,{FX:()=>c,Q$:()=>i,b2:()=>s,fC:()=>l,lW:()=>r});var o=n(69307),a=n(65736);const _x=a._x,__=a.__,r=e=>e.map((e=>React.createElement("span",{className:"avatar author-avatar",key:e.id},React.createElement("a",{className:"url fn n",href:e.author_link},React.createElement(o.RawHTML,null,e.avatar))))),c=e=>React.createElement("span",{className:"byline"},React.createElement("span",{className:"author-prefix"},_x("by","post author","jetpack-mu-wpcom"))," ",e.reduce(((t,n,o)=>[...t,React.createElement("span",{className:"author vcard",key:n.id},React.createElement("a",{className:"url fn n",href:n.author_link},n.display_name)),o1&&o===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),s=e=>React.createElement("span",{className:"sponsor-logos"},e.map((e=>React.createElement(o.Fragment,{key:e.id},e.src&&React.createElement("a",{href:e.sponsor_url},React.createElement("img",{src:e.src,width:e.img_width,height:e.img_height,alt:e.sponsor_name})))))),i=e=>React.createElement("span",{className:"byline sponsor-byline"},e[0].byline_prefix," ",e.reduce(((t,n,o)=>[...t,React.createElement("span",{className:"author",key:n.id},React.createElement("a",{href:n.author_link},n.sponsor_name)),o1&&o===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),l=(e={})=>"publish"!==e.post_status?React.createElement("div",{className:"newspack-preview-label"},{draft:__("Draft","jetpack-mu-wpcom"),future:__("Scheduled","jetpack-mu-wpcom")}[e.post_status]):null},99196:e=>{e.exports=window.React},92819:e=>{e.exports=window.lodash},86989:e=>{e.exports=window.wp.apiFetch},52175:e=>{e.exports=window.wp.blockEditor},4981:e=>{e.exports=window.wp.blocks},55609:e=>{e.exports=window.wp.components},94333:e=>{e.exports=window.wp.compose},9818:e=>{e.exports=window.wp.data},69307:e=>{e.exports=window.wp.element},92694:e=>{e.exports=window.wp.hooks},22629:e=>{e.exports=window.wp.htmlEntities},65736:e=>{e.exports=window.wp.i18n},70444:e=>{e.exports=window.wp.primitives},96483:e=>{e.exports=window.wp.url},62650:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(59800);function a(e,t,n){return(t=(0,o.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},80255:(e,t,n)=>{function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;to})},38617:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(62650);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e){for(var t=1;t{function o(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}n.d(t,{Z:()=>o})},18191:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(57381);function a(e,t){if("object"!=(0,o.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,o.Z)(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},59800:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(57381),a=n(18191);function r(e){var t=(0,a.Z)(e,"string");return"symbol"==(0,o.Z)(t)?t:t+""}},57381:(e,t,n)=>{function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}n.d(t,{Z:()=>o})},3228:(e,t,n)=>{function o(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;ta});const a=function(){for(var e,t,n=0,a="",r=arguments.length;n{e.exports=JSON.parse('{"name":"homepage-articles","category":"newspack","attributes":{"className":{"type":"string","default":""},"showExcerpt":{"type":"boolean","default":true},"excerptLength":{"type":"number","default":55},"showReadMore":{"type":"boolean","default":false},"readMoreLabel":{"type":"string","default":"Keep reading"},"showDate":{"type":"boolean","default":true},"showImage":{"type":"boolean","default":true},"showCaption":{"type":"boolean","default":false},"showCredit":{"type":"boolean","default":false},"disableImageLazyLoad":{"type":"boolean","default":false},"fetchPriority":{"type":"string","default":""},"imageShape":{"type":"string","default":"landscape"},"minHeight":{"type":"integer","default":0},"moreButton":{"type":"boolean","default":false},"moreButtonText":{"type":"string","default":""},"showAuthor":{"type":"boolean","default":true},"showAvatar":{"type":"boolean","default":true},"showCategory":{"type":"boolean","default":false},"postLayout":{"type":"string","default":"list"},"columns":{"type":"integer","default":3},"colGap":{"type":"integer","default":3},"postsToShow":{"type":"integer","default":3},"mediaPosition":{"type":"string","default":"top"},"authors":{"type":"array","default":[],"items":{"type":"integer"}},"categories":{"type":"array","default":[],"items":{"type":"integer"}},"includeSubcategories":{"type":"boolean","default":true},"tags":{"type":"array","default":[],"items":{"type":"integer"}},"customTaxonomies":{"type":"array","default":[],"items":{"type":"object","properties":{"slug":{"type":"string"},"terms":{"type":"array","items":{"type":"integer"}}}}},"tagExclusions":{"type":"array","default":[],"items":{"type":"integer"}},"categoryExclusions":{"type":"array","default":[],"items":{"type":"integer"}},"customTaxonomyExclusions":{"type":"array","default":[],"items":{"type":"object","properties":{"slug":{"type":"string"},"terms":{"type":"array","items":{"type":"integer"}}}}},"specificPosts":{"type":"array","default":[],"items":{"type":"integer"}},"typeScale":{"type":"integer","default":4},"imageScale":{"type":"integer","default":3},"mobileStack":{"type":"boolean","default":false},"sectionHeader":{"type":"string","default":""},"specificMode":{"type":"boolean","default":false},"textColor":{"type":"string","default":""},"customTextColor":{"type":"string","default":""},"singleMode":{"type":"boolean","default":false},"showSubtitle":{"type":"boolean","default":false},"postType":{"type":"array","default":["post"],"items":{"type":"string"}},"textAlign":{"type":"string","default":"left"},"includedPostStatuses":{"type":"array","default":["publish"],"items":{"type":"string"}},"deduplicate":{"type":"boolean","default":true}}}')}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=n(4981),t=n(92694),o=n(65736),a=n(52634),r=n(75077),c=n(38151);const __=o.__,s="a8c/blog-posts";(0,t.addFilter)("blocks.transforms_from_name","set-transformed-block-name",(function(e){return"newspack-blocks/homepage-articles"!==e?e:s})),(0,e.registerBlockType)(s,{...r.Xd,title:__("Blog Posts","jetpack-mu-wpcom"),category:"widgets"}),(0,c.f)([s,a.T])})()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.asset.php index 08bbd4f0..d2e18506 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.asset.php @@ -1 +1 @@ - array(), 'version' => '8aec2b5d6500891dc317'); + array(), 'version' => '76bcf2d0732e13958a34'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.js b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.js index 8c89d7cf..e8bab038 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.js @@ -1 +1 @@ -(()=>{"use strict";var t={9013:()=>{function t(e,r){const s=new XMLHttpRequest;s.onreadystatechange=()=>{if(4===s.readyState){if(s.status>=200&&s.status<300){const t=JSON.parse(s.responseText);return e.onSuccess(t)}return r?t(e,r-1):e.onError()}},s.open("GET",e.url),s.send()}function e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}Array.prototype.forEach.call(document.querySelectorAll(".wp-block-newspack-blocks-homepage-articles.has-more-button"),(function(r){const s=r.querySelector("[data-next]");if(!s)return;const n=r.querySelector("[data-posts]");let o=!1,i=!1;s.addEventListener("click",(()=>{if(o||i)return!1;o=!0,r.classList.remove("is-error"),r.classList.add("is-loading");function a(){o=!1,r.classList.remove("is-loading"),r.classList.add("is-error")}t({url:s.getAttribute("data-next")+"&exclude_ids="+function(){const t=document.querySelectorAll("[class^='wp-block-newspack-blocks'] [data-post-id]"),e=Array.from(t).map((t=>t.getAttribute("data-post-id")));return e.push(document.querySelector("div[data-current-post-id]").getAttribute("data-current-post-id")),[...new Set(e)]}().join(","),onSuccess:function(t){if(!function(t){let r=!1;t&&e(t,"items")&&Array.isArray(t.items)&&e(t,"next")&&"string"==typeof t.next&&(r=!0,!t.items.length||e(t.items[0],"html")&&"string"==typeof t.items[0].html||(r=!1));return r}(t))return a();if(t.items.length){const e=t.items.map((t=>t.html)).join("");n.insertAdjacentHTML("beforeend",e)}t.next&&s.setAttribute("data-next",t.next);t.items.length&&t.next||(i=!0,r.classList.remove("has-more-button"));o=!1,r.classList.remove("is-loading")},onError:a},3)}))}))}},e={};function r(s){var n=e[s];if(void 0!==n)return n.exports;var o=e[s]={exports:{}};return t[s](o,o.exports,r),o.exports}r(9013)})(); \ No newline at end of file +(()=>{"use strict";var t={56657:()=>{function t(e,r){const s=new XMLHttpRequest;s.onreadystatechange=()=>{if(4===s.readyState){if(s.status>=200&&s.status<300){const t=JSON.parse(s.responseText);return e.onSuccess(t)}return r?t(e,r-1):e.onError()}},s.open("GET",e.url),s.send()}function e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}Array.prototype.forEach.call(document.querySelectorAll(".wp-block-newspack-blocks-homepage-articles.has-more-button"),(function(r){const s=r.querySelector("[data-next]");if(!s)return;const n=r.querySelector("[data-posts]");let o=!1,i=!1;s.addEventListener("click",(()=>{if(o||i)return!1;o=!0,r.classList.remove("is-error"),r.classList.add("is-loading");function a(){o=!1,r.classList.remove("is-loading"),r.classList.add("is-error")}t({url:s.getAttribute("data-next")+"&exclude_ids="+function(){const t=document.querySelectorAll("[class^='wp-block-newspack-blocks'] [data-post-id]"),e=Array.from(t).map((t=>t.getAttribute("data-post-id")));return e.push(document.querySelector("div[data-current-post-id]").getAttribute("data-current-post-id")),[...new Set(e)]}().join(","),onSuccess:function(t){if(!function(t){let r=!1;t&&e(t,"items")&&Array.isArray(t.items)&&e(t,"next")&&"string"==typeof t.next&&(r=!0,!t.items.length||e(t.items[0],"html")&&"string"==typeof t.items[0].html||(r=!1));return r}(t))return a();if(t.items.length){const e=t.items.map((t=>t.html)).join("");n.insertAdjacentHTML("beforeend",e)}t.next&&s.setAttribute("data-next",t.next);t.items.length&&t.next||(i=!0,r.classList.remove("has-more-button"));o=!1,r.classList.remove("is-loading")},onError:a},3)}))}))}},e={};function r(s){var n=e[s];if(void 0!==n)return n.exports;var o=e[s]={exports:{}};return t[s](o,o.exports,r),o.exports}r(56657)})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.asset.php index 30018229..25bb0fd2 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.asset.php @@ -1 +1 @@ - array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-url'), 'version' => 'c4fe1d3def3e17729da7'); + array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-url'), 'version' => '5bd77d06fb3ed1939959'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.js b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.js index 5f02546b..3a8abfc6 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.js @@ -1,5 +1,5 @@ -(()=>{"use strict";var e,t,a,s,n={8393:(e,t,a)=>{a.d(t,{A:()=>I,B:()=>k,C:()=>z,D:()=>v,E:()=>y,F:()=>A,G:()=>G,H:()=>c,J:()=>L,P:()=>O,R:()=>R,S:()=>N,T:()=>Z,a:()=>_,b:()=>j,d:()=>D,e:()=>P,f:()=>B,g:()=>H,h:()=>X,i:()=>w,j:()=>T,k:()=>o,l:()=>S,m:()=>b,o:()=>f,p:()=>d,q:()=>g,r:()=>u,s:()=>C,t:()=>l,u:()=>p,v:()=>$,y:()=>x,z:()=>E});var s=a(6135),n=a(255),r=a(396),i=a(2654),o=function(e){return function(){return e}}(!0),l=function(){};var c=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var d=function(e,t){(0,n.Z)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(a){e[a]=t[a]}))},p=function(e,t){var a;return(a=[]).concat.apply(a,t.map(e))};function u(e,t){var a=e.indexOf(t);a>=0&&e.splice(a,1)}function f(e){var t=!1;return function(){t||(t=!0,e())}}var h=function(e){throw e},m=function(e){return{value:e,done:!0}};function g(e,t,a){void 0===t&&(t=h),void 0===a&&(a="iterator");var s={meta:{name:a},next:e,throw:t,return:m,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(s[Symbol.iterator]=function(){return s}),s}function v(e,t){var a=t.sagaStack;console.error(e),console.error(a)}var w=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},b=function(e){return Array.apply(null,new Array(e))},y=function(e){return function(t){return e(Object.defineProperty(t,s.Nm,{value:!0}))}},E=function(e){return e===s.EO},x=function(e){return e===s.Wd},C=function(e){return E(e)||x(e)};function S(e,t){var a=Object.keys(e),s=a.length;var n,i=0,o=(0,r.IX)(e)?b(s):{},c={};return a.forEach((function(e){var a=function(a,r){n||(r||C(a)?(t.cancel(),t(a,r)):(o[e]=a,++i===s&&(n=!0,t(o))))};a.cancel=l,c[e]=a})),t.cancel=function(){n||(n=!0,a.forEach((function(e){return c[e].cancel()})))},c}function T(e){return{name:e.name||"anonymous",location:$(e)}}function $(e){return e[s.b_]}function k(){for(var e=arguments.length,t=new Array(e),a=0;a{a.d(t,{ZP:()=>W});var s=a(6135),n=a(255),r=a(7921),i=a(396),o=a(8393),l=a(918),c=[],d=0;function p(e){try{h(),e()}finally{m()}}function u(e){c.push(e),d||(h(),g())}function f(e){try{return h(),e()}finally{g()}}function h(){d++}function m(){d--}function g(){var e;for(m();!d&&void 0!==(e=c.shift());)p(e)}var v=function(e){return function(t){return e.some((function(e){return x(e)(t)}))}},w=function(e){return function(t){return e(t)}},b=function(e){return function(t){return t.type===String(e)}},y=function(e){return function(t){return t.type===e}},E=function(){return o.k};function x(e){var t="*"===e?E:(0,i.Z_)(e)?b:(0,i.IX)(e)?v:(0,i.eR)(e)?b:(0,i.Yl)(e)?w:(0,i.NA)(e)?y:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var C={type:s.sZ},S=function(e){return e&&e.type===s.sZ};function T(e){void 0===e&&(e=(0,o.e)());var t=!1,a=[];return{take:function(s){t&&e.isEmpty()?s(C):e.isEmpty()?(a.push(s),s.cancel=function(){(0,o.r)(a,s)}):s(e.take())},put:function(s){if(!t){if(0===a.length)return e.put(s);a.shift()(s)}},flush:function(a){t&&e.isEmpty()?a(C):a(e.flush())},close:function(){if(!t){t=!0;var e=a;a=[];for(var s=0,n=e.length;s2?h-2:0),g=2;g{a(396),a(8393)},918:(e,t,a)=>{function s(){var e={};return e.promise=new Promise((function(t,a){e.resolve=t,e.reject=a})),e}a.d(t,{Z:()=>n});const n=s},2654:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(6135);const n=function(e,t){var a;void 0===t&&(t=!0);var n=new Promise((function(s){a=setTimeout(s,Math.min(2147483647,e),t)}));return n[s.n1]=function(){clearTimeout(a)},n}},396:(e,t,a)=>{a.d(t,{IX:()=>o,MC:()=>l,NA:()=>p,Yl:()=>r,Z_:()=>i,d5:()=>n,eR:()=>d,hZ:()=>c,sR:()=>s});var s=function(e){return null==e},n=function(e){return null!=e},r=function(e){return"function"==typeof e},i=function(e){return"string"==typeof e},o=Array.isArray,l=function(e){return e&&r(e.then)},c=function(e){return e&&r(e.next)&&r(e.throw)},d=function(e){return r(e)&&e.hasOwnProperty("toString")},p=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype}},6135:(e,t,a)=>{a.d(t,{AS:()=>l,Cs:()=>p,EO:()=>f,IO:()=>i,Nm:()=>c,Wd:()=>u,b_:()=>h,n1:()=>n,sC:()=>d,sZ:()=>r,uq:()=>o});var s=function(e){return"@@redux-saga/"+e},n=s("CANCEL_PROMISE"),r=s("CHANNEL_END"),i=s("IO"),o=s("MATCH"),l=s("MULTICAST"),c=s("SAGA_ACTION"),d=s("SELF_CANCELLATION"),p=s("TASK"),u=s("TASK_CANCEL"),f=s("TERMINATE"),h=s("LOCATION")},6008:(e,t,a)=>{a.d(t,{ZP:()=>s});const s=a(6545).ZP},7652:(e,t,a)=>{a(5052)},835:(e,t,a)=>{a.d(t,{MT:()=>c,md:()=>p});var s=a(8617);function n(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var r="function"==typeof Symbol&&Symbol.observable||"@@observable",i=function(){return Math.random().toString(36).substring(7).split("").join(".")},o={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function l(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function c(e,t,a){var s;if("function"==typeof t&&"function"==typeof a||"function"==typeof a&&"function"==typeof arguments[3])throw new Error(n(0));if("function"==typeof t&&void 0===a&&(a=t,t=void 0),void 0!==a){if("function"!=typeof a)throw new Error(n(1));return a(c)(e,t)}if("function"!=typeof e)throw new Error(n(2));var i=e,d=t,p=[],u=p,f=!1;function h(){u===p&&(u=p.slice())}function m(){if(f)throw new Error(n(3));return d}function g(e){if("function"!=typeof e)throw new Error(n(4));if(f)throw new Error(n(5));var t=!0;return h(),u.push(e),function(){if(t){if(f)throw new Error(n(6));t=!1,h();var a=u.indexOf(e);u.splice(a,1),p=null}}}function v(e){if(!l(e))throw new Error(n(7));if(void 0===e.type)throw new Error(n(8));if(f)throw new Error(n(9));try{f=!0,d=i(d,e)}finally{f=!1}for(var t=p=u,a=0;a{a.d(t,{T:()=>s});const s="a8c/posts-carousel"},9120:(e,t,a)=>{a.d(t,{Z:()=>p});var s=a(5158),n=a(1975),r=a(5736),i=a(9938);const __=r.__,o="wp-block-newspack-blocks-carousel__autoplay-playing";function l(e,t){Array.prototype.forEach.call(e,t)}function c(e){e&&(e.setAttribute("aria-hidden","false"),l(e.querySelectorAll("a"),(e=>e.removeAttribute("tabindex"))))}function d(e){e&&(e.setAttribute("aria-hidden","true"),l(e.querySelectorAll("a"),(e=>e.setAttribute("tabindex","-1"))))}function p(e,t={}){if(!(0``},watchSlidesProgress:t.slidesPerView>1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,slidesPerView:t.slidesPerView,spaceBetween:16,touchStartPreventDefault:!1,breakpoints:{320:{slidesPerView:1},782:{slidesPerView:t.slidesPerView>1?2:1},1168:{slidesPerView:t.slidesPerView}},on:{init(){l(this.wrapperEl.querySelectorAll(".swiper-slide"),(e=>d(e))),p.call(this),c(this.slides[this.activeIndex])},slideChange(){const e=this.slides[this.activeIndex];if(d(this.slides[this.previousIndex]),c(e),!this.autoplay?.running){const t=e.querySelector("img"),a=!!t&&t?.alt,i=(0,r.sprintf)(/* translators: 1: current slide number and 2: total number of slides */ -__("Slide %1$s of %2$s","jetpack-mu-wpcom"),this.realIndex+1,this.pagination?.bullets?.length||0);(0,s.speak)((0,n.escapeHTML)(`${e.innerText},\n\t\t\t\t\t\t\t${a?/* translators: the title of the image. */ /* translators: the title of the image. */(0,r.sprintf)(__("Image: %s, ","jetpack-mu-wpcom"),a):""}\n\t\t\t\t\t\t\t${i}`),"assertive")}}}});function p(){const{aspectRatio:e}=t;Array.from(this.slides).forEach((t=>{t.style.height=t.clientWidth*e+"px"}))}if(a.on("imagesReady",p),a.on("resize",p),t.autoplay){function u(){a.autoplay.stop(),e.play.focus()}function f(){a.autoplay.start(),e.pause.focus()}a.on("init",(function(){e.play.addEventListener("click",f),e.pause.addEventListener("click",u)})),a.on("autoplayStart",(function(){e.block.classList.add(o),(0,s.speak)(__("Playing","jetpack-mu-wpcom"),"assertive")})),a.on("autoplayStop",(function(){e.block.classList.remove(o),(0,s.speak)(__("Paused","jetpack-mu-wpcom"),"assertive")})),a.on("beforeDestroy",(function(){e.play.removeEventListener("click",f),e.pause.removeEventListener("click",u)}))}return a.init(),a}},4627:(e,t,a)=>{a.d(t,{Z:()=>b});var s=a(2175),n=a(5609),r=a(4333),i=a(9818),o=a(9771),l=a(9307),c=a(2629),d=a(5736),p=a(3228),u=a(2819),f=a(6799),h=a(7168),m=a(260),g=a(6738),v=a(9120);const __=d.__;class w extends l.Component{constructor(e){super(e),this.btnPlayRef=(0,l.createRef)(),this.btnPauseRef=(0,l.createRef)(),this.btnNextRef=(0,l.createRef)(),this.btnPrevRef=(0,l.createRef)(),this.carouselRef=(0,l.createRef)(),this.paginationRef=(0,l.createRef)(),this.state={swiperInitialized:!1}}componentDidMount(){this.initializeSwiper(0),this.props.triggerReflow()}componentDidUpdate(e){if(!(0React.createElement("article",{className:`post-has-image swiper-slide ${e.post_type} ${e.newspack_article_classes||""}`,key:e.id},(0,m.fC)(e),React.createElement("figure",{className:"post-thumbnail"},React.createElement("a",{href:"#",rel:"bookmark"},e.newspack_featured_image_src?React.createElement("img",{className:`image-fit-${x}`,src:e.newspack_featured_image_src.large,alt:""}):React.createElement("div",{className:"wp-block-newspack-blocks-carousel__placeholder"}))),(e.newspack_post_sponsors||T||O||k||$||P||Z)&&React.createElement("div",{className:"entry-wrapper"},(e.newspack_post_sponsors||T&&0a({postsToShow:e||1}),authors:u,onAuthorsChange:e=>a({authors:e}),categories:v,onCategoriesChange:e=>a({categories:e}),includeSubcategories:w,onIncludeSubcategoriesChange:e=>a({includeSubcategories:e}),tags:_,onTagsChange:e=>a({tags:e}),onCustomTaxonomiesChange:e=>a({customTaxonomies:e}),customTaxonomies:b,specificMode:R,onSpecificModeChange:e=>a({specificMode:e}),specificPosts:z,onSpecificPostsChange:e=>a({specificPosts:e}),postType:S})),React.createElement(n.PanelBody,{title:__("Slideshow Settings","jetpack-mu-wpcom"),initialOpen:!0},React.createElement(n.BaseControl,{label:__("Slide Aspect Ratio","jetpack-mu-wpcom"),help:__("All slides will share the same aspect ratio, for consistency.","jetpack-mu-wpcom"),id:"newspack-blocks__aspect-ratio-control"},React.createElement(n.PanelRow,null,React.createElement(n.ButtonGroup,{id:"newspack-blocks__aspect-ratio-control-buttons","aria-label":__("Slide Aspect Ratio","jetpack-mu-wpcom")},B.map((e=>{const t=d===e.value;return React.createElement(n.Button,{isPrimary:t,"aria-pressed":t,"aria-label":e.label,key:e.value,onClick:()=>a({aspectRatio:e.value})},e.shortName)}))))),React.createElement(n.BaseControl,{label:__("Image Fit","jetpack-mu-wpcom"),help:"cover"===x?__("The image will fill the entire slide and will be cropped if necessary.","jetpack-mu-wpcom"):__("The image will be resized to fit inside the slide without being cropped.","jetpack-mu-wpcom",0),id:"newspack-blocks__blocks__image-fit-control"},React.createElement(n.PanelRow,null,React.createElement(n.ButtonGroup,{id:"newspack-blocks__image-fit-buttons","aria-label":__("Image Fit","jetpack-mu-wpcom")},React.createElement(n.Button,{isPrimary:"cover"===x,"aria-pressed":"cover"===x,"aria-label":__("Cover","jetpack-mu-wpcom"),onClick:()=>a({imageFit:"cover"})},__("Cover","jetpack-mu-wpcom")),React.createElement(n.Button,{isPrimary:"contain"===x,"aria-pressed":"contain"===x,"aria-label":__("Contain","jetpack-mu-wpcom"),onClick:()=>a({imageFit:"contain"})},__("Contain","jetpack-mu-wpcom"))))),React.createElement(n.ToggleControl,{label:__("Hide Controls","jetpack-mu-wpcom"),help:__("Hide the slideshow UI. Useful when used with Autoplay.","jetpack-mu-wpcom"),checked:E,onChange:e=>{a({hideControls:e})}}),React.createElement(n.ToggleControl,{label:__("Autoplay","jetpack-mu-wpcom"),help:__("Autoplay between slides","jetpack-mu-wpcom"),checked:g,onChange:e=>{a({autoplay:e})}}),g&&React.createElement(n.RangeControl,{label:__("Delay between transitions (in seconds)","jetpack-mu-wpcom"),value:y,onChange:e=>{a({delay:e})},min:1,max:20}),r&&1{a({slidesPerView:e})},min:1,max:R?Math.min(6,r.length):Math.min(6,D)})),React.createElement(n.PanelBody,{title:__("Article Meta Settings","jetpack-mu-wpcom")},React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Title","jetpack-mu-wpcom"),checked:O,onChange:()=>a({showTitle:!O})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Date","jetpack-mu-wpcom"),checked:$,onChange:()=>a({showDate:!$})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Category","jetpack-mu-wpcom"),checked:T,onChange:()=>a({showCategory:!T})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Author","jetpack-mu-wpcom"),checked:k,onChange:()=>a({showAuthor:!k})})),k&&React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Author Avatar","jetpack-mu-wpcom"),checked:M,onChange:()=>a({showAvatar:!M})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Featured Image Caption","jetpack-mu-wpcom"),checked:P,onChange:()=>a({showCaption:!P})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Featured Image Credit","jetpack-mu-wpcom"),checked:Z,onChange:()=>a({showCredit:!Z})}))),React.createElement(f.L,{attributes:e,setAttributes:a}),React.createElement(f.H,{attributes:e,setAttributes:a})))}}const b=(0,r.compose)([(0,i.withSelect)(g.b9),(0,i.withDispatch)(g.eL)])(w)},5977:(e,t,a)=>{a.d(t,{Xd:()=>i});var s=a(5609),n=a(5736),r=a(4627);const __=n.__,i={title:__("Post Carousel","jetpack-mu-wpcom"),icon:{src:React.createElement(s.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(s.Path,{clipRule:"evenodd",d:"M7 18V6a2 2 0 012-2h6a2 2 0 012 2v12a2 2 0 01-2 2H9a2 2 0 01-2-2zM8.5 6v12a.5.5 0 00.5.5h6a.5.5 0 00.5-.5V6a.5.5 0 00-.5-.5H9a.5.5 0 00-.5.5z",fillRule:"evenodd"}),React.createElement(s.Path,{d:"M4 18.5v-13h1.5v13zM18.5 5.5v13H20v-13z"})),foreground:"#36f"},category:"newspack",keywords:[__("posts","jetpack-mu-wpcom"),__("slideshow","jetpack-mu-wpcom"),__("carousel","jetpack-mu-wpcom")],description:__("A carousel of posts.","jetpack-mu-wpcom"),attributes:{className:{type:"string"},imageFit:{type:"string",default:"cover"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:5},postsToShow:{type:"integer",default:3},authors:{type:"array"},categories:{type:"array"},includeSubcategories:{type:"boolean",default:!0},tags:{type:"array"},customTaxonomies:{type:"array"},showDate:{type:"boolean",default:!0},showAuthor:{type:"boolean",default:!0},showAvatar:{type:"boolean",default:!0},showCaption:{type:"boolean",default:!1},showCredit:{type:"boolean",default:!1},showCategory:{type:"boolean",default:!1},showTitle:{type:"boolean",default:!0},postType:{type:"array",default:["post"],items:{type:"string"}},specificMode:{type:"boolean",default:!1},specificPosts:{type:"array",default:[],items:{type:"integer"}},slidesPerView:{type:"number",default:1},hideControls:{type:"boolean",default:!1},aspectRatio:{type:"number",default:.75},includedPostStatuses:{type:"array",default:["publish"],items:{type:"string"}}},supports:{html:!1,align:["center","wide","full"]},edit:r.Z,save:()=>null}},8151:(e,t,a)=>{a.d(t,{$:()=>l});a(6989),a(9818),a(6483);var s=a(2819),n=a(835),r=a(6008),i=(a(7652),a(8501));a(6738);const{name:o}=i,l=`newspack-blocks/${o}`,c={postsByBlock:{},errorsByBlock:{}},d={reflow:()=>{f.dispatch({type:"REFLOW"})}},p={getPosts:({clientId:e})=>f.getState().postsByBlock[e],getError:({clientId:e})=>f.getState().errorsByBlock[e],isUIDisabled:()=>f.getState().isUIDisabled},u=(0,r.ZP)(),f=(0,n.MT)(((e=c,t)=>{switch(t.type){case"DISABLE_UI":return(0,s.set)(e,"isUIDisabled",!0);case"ENABLE_UI":return(0,s.set)(e,"isUIDisabled",!1);case"UPDATE_BLOCK_POSTS":return(0,s.set)(e,["postsByBlock",t.clientId],t.posts);case"UPDATE_BLOCK_ERROR":return(0,s.set)(e,["errorsByBlock",t.clientId],t.error)}return e}),(0,n.md)(u));JSON.stringify},6738:(e,t,a)=>{a.d(t,{Ou:()=>o,b9:()=>u,eL:()=>f});var s=a(5736),n=a(2819),r=a(8151);const __=s.__,i=["postsToShow","authors","categories","includeSubcategories","excerptLength","tags","customTaxonomies","showExcerpt","specificPosts","specificMode","tagExclusions","categoryExclusions","customTaxonomyExclusions","postType","includedPostStatuses","deduplicate","showCaption","showCredit"],o=(e,t)=>!(0,n.isEqual)((0,n.pick)(e.attributes,i),(0,n.pick)(t.attributes,i))||!(0,n.isEqual)(e.topBlocksClientIdsInOrder,t.topBlocksClientIdsInOrder),l=e=>e.flatMap((e=>{const t=[];return t.push(e.clientId),t.concat(l(e.innerBlocks))})),c=window.newspack_blocks_data.assets_path,d=e=>{const t=new Date;return t.setHours(12,0,0,0),{author:1,content:{rendered:"

"+__("The post content.","jetpack-mu-wpcom")+"

"},date:t.toISOString(),date_formatted:t.toLocaleString(),article_meta_footer:"",excerpt:{rendered:"

"+__("The post excerpt.","jetpack-mu-wpcom")+"

"},post_link:"/",featured_media:"1",id:e,post_type:"post",meta:{newspack_post_subtitle:__("Post Subtitle","jetpack-mu-wpcom")},title:{rendered:__("Post Title","jetpack-mu-wpcom")},newspack_article_classes:"type-post",newspack_author_info:[{display_name:__("Author Name","jetpack-mu-wpcom"),avatar:'
',id:1,author_link:"/"}],newspack_category_info:__("Category","jetpack-mu-wpcom"),newspack_featured_image_caption:__("Featured image caption","jetpack-mu-wpcom"),newspack_featured_image_src:{large:`${c}/newspack-1024x536.jpg`,landscape:`${c}/newspack-800x600.jpg`,portrait:`${c}/newspack-600x800.jpg`,square:`${c}/newspack-800x800.jpg`,uncropped:`${c}/newspack-1024x536.jpg`},newspack_has_custom_excerpt:!1,newspack_sponsors_show_categories:!1,newspack_sponsors_show_author:!1}},p=e=>(0,n.times)(e.postsToShow,d),u=(e,{clientId:t,attributes:a})=>{const{getBlocks:s}=e("core/block-editor"),{getEditedPostAttribute:n}=e("core/editor"),i=n("blocks")||[],o=[];for(const e of i)"core/block"===e.name?o.push(...s(e.clientId)):o.push(e);const c=l(o),d=s(),u=d.some((e=>"core/widget-area"===e.name)),f=0===c.length||c.indexOf(t)>=0||u,{getPosts:h,getError:m,isUIDisabled:g}=e(r.$);return{isEditorBlock:f,isUIDisabled:g(),error:m({clientId:t}),topBlocksClientIdsInOrder:d.map((e=>e.clientId)),latestPosts:f?h({clientId:t}):p(a)}},f=(e,{isEditorBlock:t})=>({triggerReflow:t?e(r.$).reflow:()=>{}})},527:(e,t,a)=>{a.d(t,{Z:()=>o});var s=a(5609),n=a(9307),r=a(2819);class i extends n.Component{constructor(e){super(e),this.state={suggestions:[],validValues:{},loading:this.isFetchingInfoOnLoad()},this.debouncedUpdateSuggestions=(0,r.debounce)(this.updateSuggestions,500)}isFetchingInfoOnLoad=()=>{const{tokens:e,fetchSavedInfo:t}=this.props;return Boolean(e.length&&t)};componentDidMount(){if(this.isFetchingInfoOnLoad()){const{tokens:e,fetchSavedInfo:t}=this.props;t(e).then((e=>{const{validValues:t}=this.state;e.forEach((e=>{t[e.value]=e.label})),this.setState({validValues:t,loading:!1})}))}}componentWillUnmount(){delete this.suggestionsRequest,this.debouncedUpdateSuggestions.cancel()}getLabelsForValues(e){const{validValues:t}=this.state;return e.reduce(((e,a)=>t[a]?[...e,t[a]]:e),[])}getValuesForLabels(e){const{validValues:t}=this.state;return e.map((e=>Object.keys(t).find((a=>t[a]===e)))).filter((e=>!!e))}updateSuggestions(e){const{fetchSuggestions:t}=this.props;t&&this.setState({loading:!0},(()=>{const a=t(e);a.then((e=>{if(this.suggestionsRequest!==a)return;const{validValues:t}=this.state,s=[];e.forEach((e=>{const a=e.label.trim();s.indexOf(a)>=0&&(e.label=`${a} (${e.value})`),s.push(a),t[e.value]=a})),this.setState({suggestions:s,validValues:t,loading:!1})})).catch((()=>{this.suggestionsRequest===a&&this.setState({loading:!1})})),this.suggestionsRequest=a}))}handleOnChange(e){const{onChange:t}=this.props;t(this.getValuesForLabels(e))}getTokens(){const{tokens:e}=this.props;return this.getLabelsForValues(e)}render(){const{help:e,label:t=""}=this.props,{suggestions:a,loading:n}=this.state;return React.createElement("div",{className:"autocomplete-tokenfield"},React.createElement(s.FormTokenField,{value:this.getTokens(),suggestions:a,onChange:e=>this.handleOnChange(e),onInputChange:e=>this.debouncedUpdateSuggestions(e),label:t}),n&&React.createElement(s.Spinner,null),e&&React.createElement("p",{className:"autocomplete-tokenfield__help"},e))}}const o=i},6799:(e,t,a)=>{a.d(t,{H:()=>l,L:()=>o});var s=a(5609),n=a(9818),r=a(5736);const __=r.__,i=({options:e,values:t,onChange:a})=>Array.isArray(e)?e.map((({name:e,slug:n})=>React.createElement(s.PanelRow,{key:n},React.createElement(s.CheckboxControl,{label:e,checked:t.indexOf(n)>-1,onChange:e=>{const s=[...new Set(t)];e&&-1===s.indexOf(n)?s.push(n):!e&&s.indexOf(n)>-1&&s.splice(s.indexOf(n),1),a(s)}})))):React.createElement(s.Spinner,null),o=({attributes:e,setAttributes:t})=>{const{availablePostTypes:a}=(0,n.useSelect)((e=>{const{getPostTypes:t}=e("core"),a=__("Listings","jetpack-mu-wpcom");return{availablePostTypes:t({per_page:-1})?.filter((({supports:{newspack_blocks:e}})=>e))?.map((e=>(0===e.slug.indexOf("newspack_lst")&&"newspack_lst_generic"!==e.slug&&-1===e.name.indexOf(a)&&(e.name=`${e.name} ${a}`),e)))}}));return React.createElement(s.PanelBody,{title:__("Post Types","jetpack-mu-wpcom")},React.createElement(i,{options:a,values:e.postType,onChange:e=>t({postType:e})}))},l=({attributes:e,setAttributes:t})=>React.createElement(s.PanelBody,{title:__("Additional Post Statuses","jetpack-mu-wpcom")},React.createElement(s.PanelRow,null,React.createElement("i",null,__("Selection here has effect only for editors, regular users will only see published posts.","jetpack-mu-wpcom"))),React.createElement(i,{values:e.includedPostStatuses,options:[{name:"Draft",slug:"draft"},{name:"Scheduled",slug:"future"}],onChange:e=>t({includedPostStatuses:e})}))},7168:(e,t,a)=>{a.d(t,{Z:()=>h});var s=a(6989),n=a.n(s),r=a(5609),i=a(9307),o=a(2629),l=a(5736),c=a(6483),d=a(527);const __=l.__,p=e=>(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom"),u=e=>(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom");class f extends i.Component{state={showAdvancedFilters:!1};fetchPostSuggestions=e=>{const{postType:t}=this.props,a=window.newspack_blocks_data.specific_posts_rest_url;return n()({url:(0,c.addQueryArgs)(a,{search:e,postsToShow:20,_fields:"id,title",type:"post",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.title)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchSavedPosts=e=>{const{postType:t}=this.props,a=window.newspack_blocks_data.posts_rest_url;return n()({url:(0,c.addQueryArgs)(a,{postsToShow:100,include:e.join(","),_fields:"id,title",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.title.rendered)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchAuthorSuggestions=e=>{const t=window.newspack_blocks_data.authors_rest_url;return n()({url:(0,c.addQueryArgs)(t,{search:e,per_page:20,fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchSavedAuthors=e=>{const t=window.newspack_blocks_data.authors_rest_url;return n()({url:(0,c.addQueryArgs)(t,{per_page:100,include:e.join(","),fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchCategorySuggestions=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/categories",{search:e,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((e=>Promise.all(e.map((e=>e.parent>0?n()({path:(0,c.addQueryArgs)(`/wp/v2/categories/${e.parent}`,{_fields:"name"})}).then((t=>({value:e.id,label:`${p(e)} – ${p(t)}`}))):Promise.resolve({value:e.id,label:p(e)}))))));fetchSavedCategories=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/categories",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchTagSuggestions=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/tags",{search:e,per_page:20,_fields:"id,name",orderby:"count",order:"desc"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchSavedTags=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/tags",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchCustomTaxonomiesSuggestions=(e,t)=>n()({path:(0,c.addQueryArgs)(`/wp/v2/${e}`,{search:t,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((t=>Promise.all(t.map((t=>t.parent>0?n()({path:(0,c.addQueryArgs)(`/wp/v2/${e}/${t.parent}`,{_fields:"name"})}).then((e=>({value:t.id,label:`${u(t)} – ${u(e)}`}))):Promise.resolve({value:t.id,label:u(t)}))))));fetchSavedCustomTaxonomies=(e,t)=>n()({path:(0,c.addQueryArgs)(`/wp/v2/${e}`,{per_page:100,_fields:"id,name",include:t.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));render=()=>{const{specificMode:e,onSpecificModeChange:t,specificPosts:a,onSpecificPostsChange:s,authors:n,onAuthorsChange:i,categories:o,onCategoriesChange:c,includeSubcategories:p,onIncludeSubcategoriesChange:u,tags:f,onTagsChange:h,customTaxonomies:m,onCustomTaxonomiesChange:g,tagExclusions:v,onTagExclusionsChange:w,categoryExclusions:b,onCategoryExclusionsChange:y,customTaxonomyExclusions:E,onCustomTaxonomyExclusionsChange:x,enableSpecific:C}=this.props,{showAdvancedFilters:S}=this.state,T=window.newspack_blocks_data?.custom_taxonomies,$=(e,t,a,s)=>{let n=e.filter((e=>e.slug!==a));n=[...n,{slug:a,terms:s}],t(n)},k=(e,t)=>{const a=e.find((e=>e.slug===t));return a?a.terms:[]};return React.createElement(React.Fragment,null,C&&React.createElement(r.ToggleControl,{checked:e,onChange:t,label:__("Choose Specific Posts","jetpack-mu-wpcom")}),e?React.createElement(d.Z,{tokens:a||[],onChange:s,fetchSuggestions:this.fetchPostSuggestions,fetchSavedInfo:this.fetchSavedPosts,label:__("Posts","jetpack-mu-wpcom"),help:__("Begin typing post title, click autocomplete result to select.","jetpack-mu-wpcom")}):React.createElement(React.Fragment,null,React.createElement(r.QueryControls,this.props),i&&React.createElement(d.Z,{tokens:n||[],onChange:i,fetchSuggestions:this.fetchAuthorSuggestions,fetchSavedInfo:this.fetchSavedAuthors,label:__("Authors","jetpack-mu-wpcom")}),c&&React.createElement(d.Z,{tokens:o||[],onChange:c,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Categories","jetpack-mu-wpcom")}),u&&React.createElement(r.ToggleControl,{checked:p,onChange:u,label:__("Include subcategories ","jetpack-mu-wpcom")}),h&&React.createElement(d.Z,{tokens:f||[],onChange:h,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Tags","jetpack-mu-wpcom")}),g&&T.map((e=>React.createElement(d.Z,{key:`${m[e.slug]}-selector`,tokens:k(m,e.slug),onChange:t=>{$(m,g,e.slug,t)},fetchSuggestions:t=>this.fetchCustomTaxonomiesSuggestions(e.slug,t),fetchSavedInfo:t=>this.fetchSavedCustomTaxonomies(e.slug,t),label:e.label}))),w&&React.createElement("p",null,React.createElement(r.Button,{isLink:!0,onClick:()=>this.setState({showAdvancedFilters:!S})},S?__("Hide Advanced Filters","jetpack-mu-wpcom"):__("Show Advanced Filters","jetpack-mu-wpcom",0))),S&&React.createElement(React.Fragment,null,w&&React.createElement(d.Z,{tokens:v||[],onChange:w,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Excluded Tags","jetpack-mu-wpcom")}),y&&React.createElement(d.Z,{tokens:b||[],onChange:y,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Excluded Categories","jetpack-mu-wpcom")}),T&&x&&T.map((({label:e,slug:t})=>React.createElement(d.Z,{fetchSavedInfo:e=>this.fetchSavedCustomTaxonomies(t,e),fetchSuggestions:e=>this.fetchCustomTaxonomiesSuggestions(t,e),key:`${t}-exclusions-selector`,label:(0,l.sprintf)( +__("Slide %1$s of %2$s","jetpack-mu-wpcom"),this.realIndex+1,this.pagination?.bullets?.length||0);(0,s.speak)((0,n.escapeHTML)(`${e.innerText},\n\t\t\t\t\t\t\t${a?/* translators: the title of the image. */ /* translators: the title of the image. */(0,r.sprintf)(__("Image: %s, ","jetpack-mu-wpcom"),a):""}\n\t\t\t\t\t\t\t${i}`),"assertive")}}}});function p(){const{aspectRatio:e}=t;Array.from(this.slides).forEach((t=>{t.style.height=t.clientWidth*e+"px"}))}if(a.on("imagesReady",p),a.on("resize",p),t.autoplay){function u(){a.autoplay.stop(),e.play.focus()}function f(){a.autoplay.start(),e.pause.focus()}a.on("init",(function(){e.play.addEventListener("click",f),e.pause.addEventListener("click",u)})),a.on("autoplayStart",(function(){e.block.classList.add(o),(0,s.speak)(__("Playing","jetpack-mu-wpcom"),"assertive")})),a.on("autoplayStop",(function(){e.block.classList.remove(o),(0,s.speak)(__("Paused","jetpack-mu-wpcom"),"assertive")})),a.on("beforeDestroy",(function(){e.play.removeEventListener("click",f),e.pause.removeEventListener("click",u)}))}return a.init(),a}},74627:(e,t,a)=>{a.d(t,{Z:()=>b});var s=a(52175),n=a(55609),r=a(94333),i=a(9818),o=a(69771),l=a(69307),c=a(22629),d=a(65736),p=a(3228),u=a(92819),f=a(66799),h=a(77168),m=a(260),g=a(96738),v=a(19120);const __=d.__;class w extends l.Component{constructor(e){super(e),this.btnPlayRef=(0,l.createRef)(),this.btnPauseRef=(0,l.createRef)(),this.btnNextRef=(0,l.createRef)(),this.btnPrevRef=(0,l.createRef)(),this.carouselRef=(0,l.createRef)(),this.paginationRef=(0,l.createRef)(),this.state={swiperInitialized:!1}}componentDidMount(){this.initializeSwiper(0),this.props.triggerReflow()}componentDidUpdate(e){if(!(0React.createElement("article",{className:`post-has-image swiper-slide ${e.post_type} ${e.newspack_article_classes||""}`,key:e.id},(0,m.fC)(e),React.createElement("figure",{className:"post-thumbnail"},React.createElement("a",{href:"#",rel:"bookmark"},e.newspack_featured_image_src?React.createElement("img",{className:`image-fit-${x}`,src:e.newspack_featured_image_src.large,alt:""}):React.createElement("div",{className:"wp-block-newspack-blocks-carousel__placeholder"}))),(e.newspack_post_sponsors||T||O||k||$||P||Z)&&React.createElement("div",{className:"entry-wrapper"},(e.newspack_post_sponsors||T&&0a({postsToShow:e||1}),authors:u,onAuthorsChange:e=>a({authors:e}),categories:v,onCategoriesChange:e=>a({categories:e}),includeSubcategories:w,onIncludeSubcategoriesChange:e=>a({includeSubcategories:e}),tags:_,onTagsChange:e=>a({tags:e}),onCustomTaxonomiesChange:e=>a({customTaxonomies:e}),customTaxonomies:b,specificMode:R,onSpecificModeChange:e=>a({specificMode:e}),specificPosts:z,onSpecificPostsChange:e=>a({specificPosts:e}),postType:S})),React.createElement(n.PanelBody,{title:__("Slideshow Settings","jetpack-mu-wpcom"),initialOpen:!0},React.createElement(n.BaseControl,{label:__("Slide Aspect Ratio","jetpack-mu-wpcom"),help:__("All slides will share the same aspect ratio, for consistency.","jetpack-mu-wpcom"),id:"newspack-blocks__aspect-ratio-control"},React.createElement(n.PanelRow,null,React.createElement(n.ButtonGroup,{id:"newspack-blocks__aspect-ratio-control-buttons","aria-label":__("Slide Aspect Ratio","jetpack-mu-wpcom")},B.map((e=>{const t=d===e.value;return React.createElement(n.Button,{isPrimary:t,"aria-pressed":t,"aria-label":e.label,key:e.value,onClick:()=>a({aspectRatio:e.value})},e.shortName)}))))),React.createElement(n.BaseControl,{label:__("Image Fit","jetpack-mu-wpcom"),help:"cover"===x?__("The image will fill the entire slide and will be cropped if necessary.","jetpack-mu-wpcom"):__("The image will be resized to fit inside the slide without being cropped.","jetpack-mu-wpcom",0),id:"newspack-blocks__blocks__image-fit-control"},React.createElement(n.PanelRow,null,React.createElement(n.ButtonGroup,{id:"newspack-blocks__image-fit-buttons","aria-label":__("Image Fit","jetpack-mu-wpcom")},React.createElement(n.Button,{isPrimary:"cover"===x,"aria-pressed":"cover"===x,"aria-label":__("Cover","jetpack-mu-wpcom"),onClick:()=>a({imageFit:"cover"})},__("Cover","jetpack-mu-wpcom")),React.createElement(n.Button,{isPrimary:"contain"===x,"aria-pressed":"contain"===x,"aria-label":__("Contain","jetpack-mu-wpcom"),onClick:()=>a({imageFit:"contain"})},__("Contain","jetpack-mu-wpcom"))))),React.createElement(n.ToggleControl,{label:__("Hide Controls","jetpack-mu-wpcom"),help:__("Hide the slideshow UI. Useful when used with Autoplay.","jetpack-mu-wpcom"),checked:E,onChange:e=>{a({hideControls:e})}}),React.createElement(n.ToggleControl,{label:__("Autoplay","jetpack-mu-wpcom"),help:__("Autoplay between slides","jetpack-mu-wpcom"),checked:g,onChange:e=>{a({autoplay:e})}}),g&&React.createElement(n.RangeControl,{label:__("Delay between transitions (in seconds)","jetpack-mu-wpcom"),value:y,onChange:e=>{a({delay:e})},min:1,max:20}),r&&1{a({slidesPerView:e})},min:1,max:R?Math.min(6,r.length):Math.min(6,D)})),React.createElement(n.PanelBody,{title:__("Article Meta Settings","jetpack-mu-wpcom")},React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Title","jetpack-mu-wpcom"),checked:O,onChange:()=>a({showTitle:!O})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Date","jetpack-mu-wpcom"),checked:$,onChange:()=>a({showDate:!$})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Category","jetpack-mu-wpcom"),checked:T,onChange:()=>a({showCategory:!T})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Author","jetpack-mu-wpcom"),checked:k,onChange:()=>a({showAuthor:!k})})),k&&React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Author Avatar","jetpack-mu-wpcom"),checked:M,onChange:()=>a({showAvatar:!M})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Featured Image Caption","jetpack-mu-wpcom"),checked:P,onChange:()=>a({showCaption:!P})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Featured Image Credit","jetpack-mu-wpcom"),checked:Z,onChange:()=>a({showCredit:!Z})}))),React.createElement(f.L,{attributes:e,setAttributes:a}),React.createElement(f.H,{attributes:e,setAttributes:a})))}}const b=(0,r.compose)([(0,i.withSelect)(g.b9),(0,i.withDispatch)(g.eL)])(w)},95977:(e,t,a)=>{a.d(t,{Xd:()=>i});var s=a(55609),n=a(65736),r=a(74627);const __=n.__,i={title:__("Post Carousel","jetpack-mu-wpcom"),icon:{src:React.createElement(s.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(s.Path,{clipRule:"evenodd",d:"M7 18V6a2 2 0 012-2h6a2 2 0 012 2v12a2 2 0 01-2 2H9a2 2 0 01-2-2zM8.5 6v12a.5.5 0 00.5.5h6a.5.5 0 00.5-.5V6a.5.5 0 00-.5-.5H9a.5.5 0 00-.5.5z",fillRule:"evenodd"}),React.createElement(s.Path,{d:"M4 18.5v-13h1.5v13zM18.5 5.5v13H20v-13z"})),foreground:"#36f"},category:"newspack",keywords:[__("posts","jetpack-mu-wpcom"),__("slideshow","jetpack-mu-wpcom"),__("carousel","jetpack-mu-wpcom")],description:__("A carousel of posts.","jetpack-mu-wpcom"),attributes:{className:{type:"string"},imageFit:{type:"string",default:"cover"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:5},postsToShow:{type:"integer",default:3},authors:{type:"array"},categories:{type:"array"},includeSubcategories:{type:"boolean",default:!0},tags:{type:"array"},customTaxonomies:{type:"array"},showDate:{type:"boolean",default:!0},showAuthor:{type:"boolean",default:!0},showAvatar:{type:"boolean",default:!0},showCaption:{type:"boolean",default:!1},showCredit:{type:"boolean",default:!1},showCategory:{type:"boolean",default:!1},showTitle:{type:"boolean",default:!0},postType:{type:"array",default:["post"],items:{type:"string"}},specificMode:{type:"boolean",default:!1},specificPosts:{type:"array",default:[],items:{type:"integer"}},slidesPerView:{type:"number",default:1},hideControls:{type:"boolean",default:!1},aspectRatio:{type:"number",default:.75},includedPostStatuses:{type:"array",default:["publish"],items:{type:"string"}}},supports:{html:!1,align:["center","wide","full"]},edit:r.Z,save:()=>null}},38151:(e,t,a)=>{a.d(t,{$:()=>l});a(86989),a(9818),a(96483);var s=a(92819),n=a(835),r=a(46008),i=(a(17652),a(8501));a(96738);const{name:o}=i,l=`newspack-blocks/${o}`,c={postsByBlock:{},errorsByBlock:{}},d={reflow:()=>{f.dispatch({type:"REFLOW"})}},p={getPosts:({clientId:e})=>f.getState().postsByBlock[e],getError:({clientId:e})=>f.getState().errorsByBlock[e],isUIDisabled:()=>f.getState().isUIDisabled},u=(0,r.ZP)(),f=(0,n.MT)(((e=c,t)=>{switch(t.type){case"DISABLE_UI":return(0,s.set)(e,"isUIDisabled",!0);case"ENABLE_UI":return(0,s.set)(e,"isUIDisabled",!1);case"UPDATE_BLOCK_POSTS":return(0,s.set)(e,["postsByBlock",t.clientId],t.posts);case"UPDATE_BLOCK_ERROR":return(0,s.set)(e,["errorsByBlock",t.clientId],t.error)}return e}),(0,n.md)(u));JSON.stringify},96738:(e,t,a)=>{a.d(t,{Ou:()=>o,b9:()=>u,eL:()=>f});var s=a(65736),n=a(92819),r=a(38151);const __=s.__,i=["postsToShow","authors","categories","includeSubcategories","excerptLength","tags","customTaxonomies","showExcerpt","specificPosts","specificMode","tagExclusions","categoryExclusions","customTaxonomyExclusions","postType","includedPostStatuses","deduplicate","showCaption","showCredit"],o=(e,t)=>!(0,n.isEqual)((0,n.pick)(e.attributes,i),(0,n.pick)(t.attributes,i))||!(0,n.isEqual)(e.topBlocksClientIdsInOrder,t.topBlocksClientIdsInOrder),l=e=>e.flatMap((e=>{const t=[];return t.push(e.clientId),t.concat(l(e.innerBlocks))})),c=window.newspack_blocks_data.assets_path,d=e=>{const t=new Date;return t.setHours(12,0,0,0),{author:1,content:{rendered:"

"+__("The post content.","jetpack-mu-wpcom")+"

"},date:t.toISOString(),date_formatted:t.toLocaleString(),article_meta_footer:"",excerpt:{rendered:"

"+__("The post excerpt.","jetpack-mu-wpcom")+"

"},post_link:"/",featured_media:"1",id:e,post_type:"post",meta:{newspack_post_subtitle:__("Post Subtitle","jetpack-mu-wpcom")},title:{rendered:__("Post Title","jetpack-mu-wpcom")},newspack_article_classes:"type-post",newspack_author_info:[{display_name:__("Author Name","jetpack-mu-wpcom"),avatar:'
',id:1,author_link:"/"}],newspack_category_info:__("Category","jetpack-mu-wpcom"),newspack_featured_image_caption:__("Featured image caption","jetpack-mu-wpcom"),newspack_featured_image_src:{large:`${c}/newspack-1024x536.jpg`,landscape:`${c}/newspack-800x600.jpg`,portrait:`${c}/newspack-600x800.jpg`,square:`${c}/newspack-800x800.jpg`,uncropped:`${c}/newspack-1024x536.jpg`},newspack_has_custom_excerpt:!1,newspack_sponsors_show_categories:!1,newspack_sponsors_show_author:!1}},p=e=>(0,n.times)(e.postsToShow,d),u=(e,{clientId:t,attributes:a})=>{const{getBlocks:s}=e("core/block-editor"),{getEditedPostAttribute:n}=e("core/editor"),i=n("blocks")||[],o=[];for(const e of i)"core/block"===e.name?o.push(...s(e.clientId)):o.push(e);const c=l(o),d=s(),u=d.some((e=>"core/widget-area"===e.name)),f=0===c.length||c.indexOf(t)>=0||u,{getPosts:h,getError:m,isUIDisabled:g}=e(r.$);return{isEditorBlock:f,isUIDisabled:g(),error:m({clientId:t}),topBlocksClientIdsInOrder:d.map((e=>e.clientId)),latestPosts:f?h({clientId:t}):p(a)}},f=(e,{isEditorBlock:t})=>({triggerReflow:t?e(r.$).reflow:()=>{}})},527:(e,t,a)=>{a.d(t,{Z:()=>o});var s=a(55609),n=a(69307),r=a(92819);class i extends n.Component{constructor(e){super(e),this.state={suggestions:[],validValues:{},loading:this.isFetchingInfoOnLoad()},this.debouncedUpdateSuggestions=(0,r.debounce)(this.updateSuggestions,500)}isFetchingInfoOnLoad=()=>{const{tokens:e,fetchSavedInfo:t}=this.props;return Boolean(e.length&&t)};componentDidMount(){if(this.isFetchingInfoOnLoad()){const{tokens:e,fetchSavedInfo:t}=this.props;t(e).then((e=>{const{validValues:t}=this.state;e.forEach((e=>{t[e.value]=e.label})),this.setState({validValues:t,loading:!1})}))}}componentWillUnmount(){delete this.suggestionsRequest,this.debouncedUpdateSuggestions.cancel()}getLabelsForValues(e){const{validValues:t}=this.state;return e.reduce(((e,a)=>t[a]?[...e,t[a]]:e),[])}getValuesForLabels(e){const{validValues:t}=this.state;return e.map((e=>Object.keys(t).find((a=>t[a]===e)))).filter((e=>!!e))}updateSuggestions(e){const{fetchSuggestions:t}=this.props;t&&this.setState({loading:!0},(()=>{const a=t(e);a.then((e=>{if(this.suggestionsRequest!==a)return;const{validValues:t}=this.state,s=[];e.forEach((e=>{const a=e.label.trim();s.indexOf(a)>=0&&(e.label=`${a} (${e.value})`),s.push(a),t[e.value]=a})),this.setState({suggestions:s,validValues:t,loading:!1})})).catch((()=>{this.suggestionsRequest===a&&this.setState({loading:!1})})),this.suggestionsRequest=a}))}handleOnChange(e){const{onChange:t}=this.props;t(this.getValuesForLabels(e))}getTokens(){const{tokens:e}=this.props;return this.getLabelsForValues(e)}render(){const{help:e,label:t=""}=this.props,{suggestions:a,loading:n}=this.state;return React.createElement("div",{className:"autocomplete-tokenfield"},React.createElement(s.FormTokenField,{value:this.getTokens(),suggestions:a,onChange:e=>this.handleOnChange(e),onInputChange:e=>this.debouncedUpdateSuggestions(e),label:t}),n&&React.createElement(s.Spinner,null),e&&React.createElement("p",{className:"autocomplete-tokenfield__help"},e))}}const o=i},66799:(e,t,a)=>{a.d(t,{H:()=>l,L:()=>o});var s=a(55609),n=a(9818),r=a(65736);const __=r.__,i=({options:e,values:t,onChange:a})=>Array.isArray(e)?e.map((({name:e,slug:n})=>React.createElement(s.PanelRow,{key:n},React.createElement(s.CheckboxControl,{label:e,checked:t.indexOf(n)>-1,onChange:e=>{const s=[...new Set(t)];e&&-1===s.indexOf(n)?s.push(n):!e&&s.indexOf(n)>-1&&s.splice(s.indexOf(n),1),a(s)}})))):React.createElement(s.Spinner,null),o=({attributes:e,setAttributes:t})=>{const{availablePostTypes:a}=(0,n.useSelect)((e=>{const{getPostTypes:t}=e("core"),a=__("Listings","jetpack-mu-wpcom");return{availablePostTypes:t({per_page:-1})?.filter((({supports:{newspack_blocks:e}})=>e))?.map((e=>(0===e.slug.indexOf("newspack_lst")&&"newspack_lst_generic"!==e.slug&&-1===e.name.indexOf(a)&&(e.name=`${e.name} ${a}`),e)))}}));return React.createElement(s.PanelBody,{title:__("Post Types","jetpack-mu-wpcom")},React.createElement(i,{options:a,values:e.postType,onChange:e=>t({postType:e})}))},l=({attributes:e,setAttributes:t})=>React.createElement(s.PanelBody,{title:__("Additional Post Statuses","jetpack-mu-wpcom")},React.createElement(s.PanelRow,null,React.createElement("i",null,__("Selection here has effect only for editors, regular users will only see published posts.","jetpack-mu-wpcom"))),React.createElement(i,{values:e.includedPostStatuses,options:[{name:"Draft",slug:"draft"},{name:"Scheduled",slug:"future"}],onChange:e=>t({includedPostStatuses:e})}))},77168:(e,t,a)=>{a.d(t,{Z:()=>h});var s=a(86989),n=a.n(s),r=a(55609),i=a(69307),o=a(22629),l=a(65736),c=a(96483),d=a(527);const __=l.__,p=e=>(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom"),u=e=>(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom");class f extends i.Component{state={showAdvancedFilters:!1};fetchPostSuggestions=e=>{const{postType:t}=this.props,a=window.newspack_blocks_data.specific_posts_rest_url;return n()({url:(0,c.addQueryArgs)(a,{search:e,postsToShow:20,_fields:"id,title",type:"post",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.title)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchSavedPosts=e=>{const{postType:t}=this.props,a=window.newspack_blocks_data.posts_rest_url;return n()({url:(0,c.addQueryArgs)(a,{postsToShow:100,include:e.join(","),_fields:"id,title",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.title.rendered)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchAuthorSuggestions=e=>{const t=window.newspack_blocks_data.authors_rest_url;return n()({url:(0,c.addQueryArgs)(t,{search:e,per_page:20,fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchSavedAuthors=e=>{const t=window.newspack_blocks_data.authors_rest_url;return n()({url:(0,c.addQueryArgs)(t,{per_page:100,include:e.join(","),fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchCategorySuggestions=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/categories",{search:e,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((e=>Promise.all(e.map((e=>e.parent>0?n()({path:(0,c.addQueryArgs)(`/wp/v2/categories/${e.parent}`,{_fields:"name"})}).then((t=>({value:e.id,label:`${p(e)} – ${p(t)}`}))):Promise.resolve({value:e.id,label:p(e)}))))));fetchSavedCategories=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/categories",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchTagSuggestions=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/tags",{search:e,per_page:20,_fields:"id,name",orderby:"count",order:"desc"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchSavedTags=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/tags",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchCustomTaxonomiesSuggestions=(e,t)=>n()({path:(0,c.addQueryArgs)(`/wp/v2/${e}`,{search:t,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((t=>Promise.all(t.map((t=>t.parent>0?n()({path:(0,c.addQueryArgs)(`/wp/v2/${e}/${t.parent}`,{_fields:"name"})}).then((e=>({value:t.id,label:`${u(t)} – ${u(e)}`}))):Promise.resolve({value:t.id,label:u(t)}))))));fetchSavedCustomTaxonomies=(e,t)=>n()({path:(0,c.addQueryArgs)(`/wp/v2/${e}`,{per_page:100,_fields:"id,name",include:t.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));render=()=>{const{specificMode:e,onSpecificModeChange:t,specificPosts:a,onSpecificPostsChange:s,authors:n,onAuthorsChange:i,categories:o,onCategoriesChange:c,includeSubcategories:p,onIncludeSubcategoriesChange:u,tags:f,onTagsChange:h,customTaxonomies:m,onCustomTaxonomiesChange:g,tagExclusions:v,onTagExclusionsChange:w,categoryExclusions:b,onCategoryExclusionsChange:y,customTaxonomyExclusions:E,onCustomTaxonomyExclusionsChange:x,enableSpecific:C}=this.props,{showAdvancedFilters:S}=this.state,T=window.newspack_blocks_data?.custom_taxonomies,$=(e,t,a,s)=>{let n=e.filter((e=>e.slug!==a));n=[...n,{slug:a,terms:s}],t(n)},k=(e,t)=>{const a=e.find((e=>e.slug===t));return a?a.terms:[]};return React.createElement(React.Fragment,null,C&&React.createElement(r.ToggleControl,{checked:e,onChange:t,label:__("Choose Specific Posts","jetpack-mu-wpcom")}),e?React.createElement(d.Z,{tokens:a||[],onChange:s,fetchSuggestions:this.fetchPostSuggestions,fetchSavedInfo:this.fetchSavedPosts,label:__("Posts","jetpack-mu-wpcom"),help:__("Begin typing post title, click autocomplete result to select.","jetpack-mu-wpcom")}):React.createElement(React.Fragment,null,React.createElement(r.QueryControls,this.props),i&&React.createElement(d.Z,{tokens:n||[],onChange:i,fetchSuggestions:this.fetchAuthorSuggestions,fetchSavedInfo:this.fetchSavedAuthors,label:__("Authors","jetpack-mu-wpcom")}),c&&React.createElement(d.Z,{tokens:o||[],onChange:c,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Categories","jetpack-mu-wpcom")}),u&&React.createElement(r.ToggleControl,{checked:p,onChange:u,label:__("Include subcategories ","jetpack-mu-wpcom")}),h&&React.createElement(d.Z,{tokens:f||[],onChange:h,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Tags","jetpack-mu-wpcom")}),g&&T.map((e=>React.createElement(d.Z,{key:`${m[e.slug]}-selector`,tokens:k(m,e.slug),onChange:t=>{$(m,g,e.slug,t)},fetchSuggestions:t=>this.fetchCustomTaxonomiesSuggestions(e.slug,t),fetchSavedInfo:t=>this.fetchSavedCustomTaxonomies(e.slug,t),label:e.label}))),w&&React.createElement("p",null,React.createElement(r.Button,{isLink:!0,onClick:()=>this.setState({showAdvancedFilters:!S})},S?__("Hide Advanced Filters","jetpack-mu-wpcom"):__("Show Advanced Filters","jetpack-mu-wpcom",0))),S&&React.createElement(React.Fragment,null,w&&React.createElement(d.Z,{tokens:v||[],onChange:w,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Excluded Tags","jetpack-mu-wpcom")}),y&&React.createElement(d.Z,{tokens:b||[],onChange:y,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Excluded Categories","jetpack-mu-wpcom")}),T&&x&&T.map((({label:e,slug:t})=>React.createElement(d.Z,{fetchSavedInfo:e=>this.fetchSavedCustomTaxonomies(t,e),fetchSuggestions:e=>this.fetchCustomTaxonomiesSuggestions(t,e),key:`${t}-exclusions-selector`,label:(0,l.sprintf)( // translators: %s is the custom taxonomy label. -__("Excluded %s","jetpack-mu-wpcom"),e),onChange:e=>$(E,x,t,e),tokens:k(E,t)}))))))}}f.defaultProps={enableSpecific:!0,specificPosts:[],authors:[],categories:[],tags:[],customTaxonomies:[],tagExclusions:[],customTaxonomyExclusions:[]};const h=f},260:(e,t,a)=>{a.d(t,{FX:()=>i,Q$:()=>l,b2:()=>o,fC:()=>c,lW:()=>r});var s=a(9307),n=a(5736);const _x=n._x,__=n.__,r=e=>e.map((e=>React.createElement("span",{className:"avatar author-avatar",key:e.id},React.createElement("a",{className:"url fn n",href:e.author_link},React.createElement(s.RawHTML,null,e.avatar))))),i=e=>React.createElement("span",{className:"byline"},React.createElement("span",{className:"author-prefix"},_x("by","post author","jetpack-mu-wpcom"))," ",e.reduce(((t,a,s)=>[...t,React.createElement("span",{className:"author vcard",key:a.id},React.createElement("a",{className:"url fn n",href:a.author_link},a.display_name)),s1&&s===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),o=e=>React.createElement("span",{className:"sponsor-logos"},e.map((e=>React.createElement(s.Fragment,{key:e.id},e.src&&React.createElement("a",{href:e.sponsor_url},React.createElement("img",{src:e.src,width:e.img_width,height:e.img_height,alt:e.sponsor_name})))))),l=e=>React.createElement("span",{className:"byline sponsor-byline"},e[0].byline_prefix," ",e.reduce(((t,a,s)=>[...t,React.createElement("span",{className:"author",key:a.id},React.createElement("a",{href:a.author_link},a.sponsor_name)),s1&&s===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),c=(e={})=>"publish"!==e.post_status?React.createElement("div",{className:"newspack-preview-label"},{draft:__("Draft","jetpack-mu-wpcom"),future:__("Scheduled","jetpack-mu-wpcom")}[e.post_status]):null},2819:e=>{e.exports=window.lodash},5158:e=>{e.exports=window.wp.a11y},6989:e=>{e.exports=window.wp.apiFetch},2175:e=>{e.exports=window.wp.blockEditor},4981:e=>{e.exports=window.wp.blocks},5609:e=>{e.exports=window.wp.components},4333:e=>{e.exports=window.wp.compose},9818:e=>{e.exports=window.wp.data},9771:e=>{e.exports=window.wp.date},9307:e=>{e.exports=window.wp.element},1975:e=>{e.exports=window.wp.escapeHtml},2694:e=>{e.exports=window.wp.hooks},2629:e=>{e.exports=window.wp.htmlEntities},5736:e=>{e.exports=window.wp.i18n},6483:e=>{e.exports=window.wp.url},2650:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(9800);function n(e,t,a){return(t=(0,s.Z)(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}},255:(e,t,a)=>{function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;ts})},8617:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(2650);function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,s)}return a}function r(e){for(var t=1;t{function s(e,t){if(null==e)return{};var a={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(t.indexOf(s)>=0)continue;a[s]=e[s]}return a}a.d(t,{Z:()=>s})},8191:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(7381);function n(e,t){if("object"!=(0,s.Z)(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=(0,s.Z)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},9800:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(7381),n=a(8191);function r(e){var t=(0,n.Z)(e,"string");return"symbol"==(0,s.Z)(t)?t:t+""}},7381:(e,t,a)=>{function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}a.d(t,{Z:()=>s})},3228:(e,t,a)=>{function s(e){var t,a,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;tn});const n=function(){for(var e,t,a=0,n="",r=arguments.length;a{a.d(t,{$:()=>o,Ce:()=>R,IV:()=>c,Kz:()=>Z,Lj:()=>u,Od:()=>G,Pb:()=>E,R3:()=>I,S1:()=>v,S6:()=>T,Vj:()=>d,W2:()=>C,X$:()=>w,cn:()=>l,cv:()=>x,dy:()=>k,eG:()=>_,eR:()=>m,eq:()=>O,fL:()=>M,hX:()=>$,iO:()=>y,is:()=>P,iv:()=>S,ld:()=>b,lp:()=>z,mp:()=>A,on:()=>g,oq:()=>D,pI:()=>H,pJ:()=>L,pv:()=>p,qm:()=>j,sE:()=>B,uV:()=>f,vs:()=>h,wV:()=>N});var s=a(1936);class n extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function r(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...r(e)):t.push(e)})),t}function i(e,t){return Array.prototype.filter.call(e,t)}function o(e,t){const a=(0,s.Jj)(),r=(0,s.Me)();let i=[];if(!t&&e instanceof n)return e;if(!e)return new n(i);if("string"==typeof e){const a=e.trim();if(a.indexOf("<")>=0&&a.indexOf(">")>=0){let e="div";0===a.indexOf("e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this}function c(...e){const t=r(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this}function d(...e){const t=r(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))}function p(...e){const t=r(e.map((e=>e.split(" "))));return i(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0}function u(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let a=0;a=0;e-=1){const a=i[e];s&&a.listener===s||s&&a.listener&&a.listener.dom7proxy&&a.listener.dom7proxy===s?(r.removeEventListener(t,a.proxyListener,n),i.splice(e,1)):s||(r.removeEventListener(t,a.proxyListener,n),i.splice(e,1))}}}return this}function w(...e){const t=(0,s.Jj)(),a=e[0].split(" "),n=e[1];for(let s=0;st>0)),s.dispatchEvent(a),s.dom7EventData=[],delete s.dom7EventData}}}return this}function b(e){const t=this;return e&&t.on("transitionend",(function a(s){s.target===this&&(e.call(this,s),t.off("transitionend",a))})),this}function y(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function E(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function x(){if(this.length>0){const e=(0,s.Jj)(),t=(0,s.Me)(),a=this[0],n=a.getBoundingClientRect(),r=t.body,i=a.clientTop||r.clientTop||0,o=a.clientLeft||r.clientLeft||0,l=a===e?e.scrollY:a.scrollTop,c=a===e?e.scrollX:a.scrollLeft;return{top:n.top+l-i,left:n.left+c-o}}return null}function C(){const e=(0,s.Jj)();return this[0]?e.getComputedStyle(this[0],null):{}}function S(e,t){const a=(0,s.Jj)();let n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n{e.apply(t,[t,a])})),this):this}function $(e){return o(i(this,e))}function k(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;tt-1)return o([]);if(e<0){const a=t+e;return o(a<0?[]:[this[a]])}return o([this[e]])}function I(...e){let t;const a=(0,s.Me)();for(let s=0;s=0;r-=1)this[a].insertBefore(s.childNodes[r],this[a].childNodes[0])}else if(e instanceof n)for(r=0;r0?e?this[0].nextElementSibling&&o(this[0].nextElementSibling).is(e)?o([this[0].nextElementSibling]):o([]):this[0].nextElementSibling?o([this[0].nextElementSibling]):o([]):o([])}function _(e){const t=[];let a=this[0];if(!a)return o([]);for(;a.nextElementSibling;){const s=a.nextElementSibling;e?o(s).is(e)&&t.push(s):t.push(s),a=s}return o(t)}function A(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&o(t.previousElementSibling).is(e)?o([t.previousElementSibling]):o([]):t.previousElementSibling?o([t.previousElementSibling]):o([])}return o([])}function L(e){const t=[];let a=this[0];if(!a)return o([]);for(;a.previousElementSibling;){const s=a.previousElementSibling;e?o(s).is(e)&&t.push(s):t.push(s),a=s}return o(t)}function j(e){const t=[];for(let a=0;a{function s(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function n(e={},t={}){Object.keys(t).forEach((a=>{void 0===e[a]?e[a]=t[a]:s(t[a])&&s(e[a])&&Object.keys(t[a]).length>0&&n(e[a],t[a])}))}a.d(t,{Jj:()=>l,Me:()=>i});const r={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function i(){const e="undefined"!=typeof document?document:{};return n(e,r),e}const o={document:r,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){const e="undefined"!=typeof window?window:{};return n(e,o),e}},4794:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(1936);function n(e,t="window",a){if(!e||"container"===t&&!a)return;let n=!1;const r=(0,s.Jj)(),i="window"===t?r.innerHeight:a.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:i*t,point:e}}return{value:e,point:e}}));o.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e{a.d(t,{Z:()=>r});var s=a(3719),n=a(4794);const r={setBreakpoint:s.Z,getBreakpoint:n.Z}},3719:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(3710);const n=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function r(){const e=this,{activeIndex:t,initialized:a,loopedSlides:r=0,params:i,$el:o}=e,l=i.breakpoints;if(!l||l&&0===Object.keys(l).length)return;const c=e.getBreakpoint(l,e.params.breakpointsBase,e.el);if(!c||e.currentBreakpoint===c)return;const d=(c in l?l[c]:void 0)||e.originalParams,p=n(e,i),u=n(e,d),f=i.enabled;p&&!u?(o.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&u&&(o.addClass(`${i.containerModifierClass}grid`),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===i.grid.fill)&&o.addClass(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const a=i[t]&&i[t].enabled,s=d[t]&&d[t].enabled;a&&!s&&e[t].disable(),!a&&s&&e[t].enable()}));const h=d.direction&&d.direction!==i.direction,m=i.loop&&(d.slidesPerView!==i.slidesPerView||h);h&&a&&e.changeDirection(),(0,s.l7)(e.params,d);const g=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),f&&!g?e.disable():!f&&g&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",d),m&&a&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",d)}},9703:(e,t,a)=>{a.d(t,{Z:()=>s});const s={checkOverflow:function(){const e=this,{isLocked:t,params:a}=e,{slidesOffsetBefore:s}=a;if(s){const t=e.slides.length-1,a=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*s;e.isLocked=e.size>a}else e.isLocked=1===e.snapGrid.length;!0===a.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===a.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}}},2987:(e,t,a)=>{function s(){const e=this,{classNames:t,params:a,rtl:s,$el:n,device:r,support:i}=e,o=function(e,t){const a=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((s=>{e[s]&&a.push(t+s)})):"string"==typeof e&&a.push(t+e)})),a}(["initialized",a.direction,{"pointer-events":!i.touch},{"free-mode":e.params.freeMode&&a.freeMode.enabled},{autoheight:a.autoHeight},{rtl:s},{grid:a.grid&&a.grid.rows>1},{"grid-column":a.grid&&a.grid.rows>1&&"column"===a.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":a.cssMode},{centered:a.cssMode&&a.centeredSlides},{"watch-progress":a.watchSlidesProgress}],a.containerModifierClass);t.push(...o),n.addClass([...t].join(" ")),e.emitContainerClasses()}a.d(t,{Z:()=>s})},6606:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(2987),n=a(6999);const r={addClasses:s.Z,removeClasses:n.Z}},6999:(e,t,a)=>{function s(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}a.d(t,{Z:()=>s})},3020:(e,t,a)=>{a.d(t,{Z:()=>M});var s=a(1936),n=a(2166),r=a(3710),i=a(8680),o=a(4873),l=a(876),c=a(8970),d=a(3433),p=a(8196),u=a(7113),f=a(4366),h=a(4216),m=a(2327),g=a(6993),v=a(9346),w=a(4286),b=a(4615),y=a(6606),E=a(8935),x=a(9703),C=a(7071),S=a(7433);const T={eventsEmitter:p.Z,update:u.Z,translate:f.Z,transition:h.Z,slide:m.Z,loop:g.Z,grabCursor:v.Z,events:w.Z,breakpoints:b.Z,checkOverflow:x.Z,classes:y.Z,images:E.Z},$={};class k{constructor(...e){let t,a;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?a=e[0]:[t,a]=e,a||(a={}),a=(0,r.l7)({},a),t&&!a.el&&(a.el=t),a.el&&(0,n.Z)(a.el).length>1){const e=[];return(0,n.Z)(a.el).each((t=>{const s=(0,r.l7)({},a,{el:t});e.push(new k(s))})),e}const s=this;s.__swiper__=!0,s.support=(0,i.C)(),s.device=(0,o._)({userAgent:a.userAgent}),s.browser=(0,l.q)(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],a.modules&&Array.isArray(a.modules)&&s.modules.push(...a.modules);const c={};s.modules.forEach((e=>{e({swiper:s,extendParams:(0,S.Z)(a,c),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})}));const d=(0,r.l7)({},C.Z,c);return s.params=(0,r.l7)({},d,$,a),s.originalParams=(0,r.l7)({},s.params),s.passedParams=(0,r.l7)({},a),s.params&&s.params.on&&Object.keys(s.params.on).forEach((e=>{s.on(e,s.params.on[e])})),s.params&&s.params.onAny&&s.onAny(s.params.onAny),s.$=n.Z,Object.assign(s,{enabled:s.params.enabled,el:t,classNames:[],slides:(0,n.Z)(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===s.params.direction,isVertical:()=>"vertical"===s.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return s.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},s.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},s.support.touch||!s.params.simulateTouch?s.touchEventsTouch:s.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:(0,r.zO)(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const a=this;e=Math.min(Math.max(e,0),1);const s=a.minTranslate(),n=(a.maxTranslate()-s)*e+s;a.translateTo(n,void 0===t?0:t),a.updateActiveIndex(),a.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((a=>{const s=e.getSlideClasses(a);t.push({slideEl:a,classNames:s}),e.emit("_slideClass",a,s)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:a,slides:s,slidesGrid:n,slidesSizesGrid:r,size:i,activeIndex:o}=this;let l=1;if(a.centeredSlides){let e,t=s[o].swiperSlideSize;for(let a=o+1;ai&&(e=!0));for(let a=o-1;a>=0;a-=1)s[a]&&!e&&(t+=s[a].swiperSlideSize,l+=1,t>i&&(e=!0))}else if("current"===e)for(let e=o+1;e=0;e-=1){n[o]-n[e]1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),n||s()),a.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const a=this,s=a.params.direction;return e||(e="horizontal"===s?"vertical":"horizontal"),e===s||"horizontal"!==e&&"vertical"!==e||(a.$el.removeClass(`${a.params.containerModifierClass}${s}`).addClass(`${a.params.containerModifierClass}${e}`),a.emitContainerClasses(),a.params.direction=e,a.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),a.emit("changeDirection"),t&&a.update()),a}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const a=(0,n.Z)(e||t.params.el);if(!(e=a[0]))return!1;e.swiper=t;const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=(0,n.Z)(e.shadowRoot.querySelector(r()));return t.children=e=>a.children(e),t}return a.children?a.children(r()):(0,n.Z)(a).children(r())})();if(0===i.length&&t.params.createElements){const e=(0,s.Me)().createElement("div");i=(0,n.Z)(e),e.className=t.params.wrapperClass,a.append(e),a.children(`.${t.params.slideClass}`).each((e=>{i.append(e)}))}return Object.assign(t,{$el:a,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===a.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===a.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const a=this,{params:s,$el:n,$wrapperEl:i,slides:o}=a;return void 0===a.params||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),s.loop&&a.loopDestroy(),t&&(a.removeClasses(),n.removeAttr("style"),i.removeAttr("style"),o&&o.length&&o.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),a.emit("destroy"),Object.keys(a.eventsListeners).forEach((e=>{a.off(e)})),!1!==e&&(a.$el[0].swiper=null,(0,r.cP)(a)),a.destroyed=!0),null}static extendDefaults(e){(0,r.l7)($,e)}static get extendedDefaults(){return $}static get defaults(){return C.Z}static installModule(e){k.prototype.__modules__||(k.prototype.__modules__=[]);const t=k.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>k.installModule(e))),k):(k.installModule(e),k)}}Object.keys(T).forEach((e=>{Object.keys(T[e]).forEach((t=>{k.prototype[t]=T[e][t]}))})),k.use([c.Z,d.Z]);const M=k},7071:(e,t,a)=>{a.d(t,{Z:()=>s});const s={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1}},8196:(e,t,a)=>{a.d(t,{Z:()=>s});const s={on(e,t,a){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof t)return s;const n=a?"unshift":"push";return e.split(" ").forEach((e=>{s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][n](t)})),s},once(e,t,a){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof t)return s;function n(...a){s.off(e,n),n.__emitterProxy&&delete n.__emitterProxy,t.apply(s,a)}return n.__emitterProxy=t,s.on(e,n,a)},onAny(e,t){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof e)return a;const s=t?"unshift":"push";return a.eventsAnyListeners.indexOf(e)<0&&a.eventsAnyListeners[s](e),a},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const a=t.eventsAnyListeners.indexOf(e);return a>=0&&t.eventsAnyListeners.splice(a,1),t},off(e,t){const a=this;return!a.eventsListeners||a.destroyed?a:a.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?a.eventsListeners[e]=[]:a.eventsListeners[e]&&a.eventsListeners[e].forEach(((s,n)=>{(s===t||s.__emitterProxy&&s.__emitterProxy===t)&&a.eventsListeners[e].splice(n,1)}))})),a):a},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let a,s,n;"string"==typeof e[0]||Array.isArray(e[0])?(a=e[0],s=e.slice(1,e.length),n=t):(a=e[0].events,s=e[0].data,n=e[0].context||t),s.unshift(n);return(Array.isArray(a)?a:a.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(n,[e,...s])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(n,s)}))})),t}}},4286:(e,t,a)=>{a.d(t,{Z:()=>f});var s=a(1936),n=a(9765),r=a(6603),i=a(3004),o=a(3919),l=a(2048),c=a(4073);let d=!1;function p(){}const u=(e,t)=>{const a=(0,s.Me)(),{params:n,touchEvents:r,el:i,wrapperEl:l,device:c,support:d}=e,p=!!n.nested,u="on"===t?"addEventListener":"removeEventListener",f=t;if(d.touch){const t=!("touchstart"!==r.start||!d.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};i[u](r.start,e.onTouchStart,t),i[u](r.move,e.onTouchMove,d.passiveListener?{passive:!1,capture:p}:p),i[u](r.end,e.onTouchEnd,t),r.cancel&&i[u](r.cancel,e.onTouchEnd,t)}else i[u](r.start,e.onTouchStart,!1),a[u](r.move,e.onTouchMove,p),a[u](r.end,e.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&i[u]("click",e.onClick,!0),n.cssMode&&l[u]("scroll",e.onScroll),n.updateOnWindowResize?e[f](c.ios||c.android?"resize orientationchange observerUpdate":"resize observerUpdate",o.Z,!0):e[f]("observerUpdate",o.Z,!0)};const f={attachEvents:function(){const e=this,t=(0,s.Me)(),{params:a,support:o}=e;e.onTouchStart=n.Z.bind(e),e.onTouchMove=r.Z.bind(e),e.onTouchEnd=i.Z.bind(e),a.cssMode&&(e.onScroll=c.Z.bind(e)),e.onClick=l.Z.bind(e),o.touch&&!d&&(t.addEventListener("touchstart",p),d=!0),u(e,"on")},detachEvents:function(){u(this,"off")}}},2048:(e,t,a)=>{function s(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}a.d(t,{Z:()=>s})},3919:(e,t,a)=>{function s(){const e=this,{params:t,el:a}=e;if(a&&0===a.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:n,snapGrid:r}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=n,e.allowSlideNext=s,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}a.d(t,{Z:()=>s})},4073:(e,t,a)=>{function s(){const e=this,{wrapperEl:t,rtlTranslate:a,enabled:s}=e;if(!s)return;let n;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();n=0===r?0:(e.translate-e.minTranslate())/r,n!==e.progress&&e.updateProgress(a?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}a.d(t,{Z:()=>s})},3004:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(3710);function n(e){const t=this,a=t.touchEventsData,{params:n,touches:r,rtlTranslate:i,slidesGrid:o,enabled:l}=t;if(!l)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),a.allowTouchCallbacks&&t.emit("touchEnd",c),a.allowTouchCallbacks=!1,!a.isTouched)return a.isMoved&&n.grabCursor&&t.setGrabCursor(!1),a.isMoved=!1,void(a.startMoving=!1);n.grabCursor&&a.isMoved&&a.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=(0,s.zO)(),p=d-a.touchStartTime;if(t.allowClick){const e=c.path||c.composedPath&&c.composedPath();t.updateClickedSlide(e&&e[0]||c.target),t.emit("tap click",c),p<300&&d-a.lastClickTime<300&&t.emit("doubleTap doubleClick",c)}if(a.lastClickTime=(0,s.zO)(),(0,s.Y3)((()=>{t.destroyed||(t.allowClick=!0)})),!a.isTouched||!a.isMoved||!t.swipeDirection||0===r.diff||a.currentTranslate===a.startTranslate)return a.isTouched=!1,a.isMoved=!1,void(a.startMoving=!1);let u;if(a.isTouched=!1,a.isMoved=!1,a.startMoving=!1,u=n.followFinger?i?t.translate:-t.translate:-a.currentTranslate,n.cssMode)return;if(t.params.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:u});let f=0,h=t.slidesSizesGrid[0];for(let e=0;e=o[e]&&u=o[e]&&(f=e,h=o[o.length-1]-o[o.length-2])}let m=null,g=null;n.rewind&&(t.isBeginning?g=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(m=0));const v=(u-o[f])/h,w=fn.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(v>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?m:f+w):t.slideTo(f)),"prev"===t.swipeDirection&&(v>1-n.longSwipesRatio?t.slideTo(f+w):null!==g&&v<0&&Math.abs(v)>n.longSwipesRatio?t.slideTo(g):t.slideTo(f))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(c.target===t.navigation.nextEl||c.target===t.navigation.prevEl)?c.target===t.navigation.nextEl?t.slideTo(f+w):t.slideTo(f):("next"===t.swipeDirection&&t.slideTo(null!==m?m:f+w),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:f))}}},6603:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(1936),n=a(2166),r=a(3710);function i(e){const t=(0,s.Me)(),a=this,i=a.touchEventsData,{params:o,touches:l,rtlTranslate:c,enabled:d}=a;if(!d)return;let p=e;if(p.originalEvent&&(p=p.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&a.emit("touchMoveOpposite",p));if(i.isTouchEvent&&"touchmove"!==p.type)return;const u="touchmove"===p.type&&p.targetTouches&&(p.targetTouches[0]||p.changedTouches[0]),f="touchmove"===p.type?u.pageX:p.pageX,h="touchmove"===p.type?u.pageY:p.pageY;if(p.preventedByNestedSwiper)return l.startX=f,void(l.startY=h);if(!a.allowTouchMove)return(0,n.Z)(p.target).is(i.focusableElements)||(a.allowClick=!1),void(i.isTouched&&(Object.assign(l,{startX:f,startY:h,currentX:f,currentY:h}),i.touchStartTime=(0,r.zO)()));if(i.isTouchEvent&&o.touchReleaseOnEdges&&!o.loop)if(a.isVertical()){if(hl.startY&&a.translate>=a.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(fl.startX&&a.translate>=a.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&p.target===t.activeElement&&(0,n.Z)(p.target).is(i.focusableElements))return i.isMoved=!0,void(a.allowClick=!1);if(i.allowTouchCallbacks&&a.emit("touchMove",p),p.targetTouches&&p.targetTouches.length>1)return;l.currentX=f,l.currentY=h;const m=l.currentX-l.startX,g=l.currentY-l.startY;if(a.params.threshold&&Math.sqrt(m**2+g**2)=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(m))/Math.PI,i.isScrolling=a.isHorizontal()?e>o.touchAngle:90-e>o.touchAngle)}if(i.isScrolling&&a.emit("touchMoveOpposite",p),void 0===i.startMoving&&(l.currentX===l.startX&&l.currentY===l.startY||(i.startMoving=!0)),i.isScrolling)return void(i.isTouched=!1);if(!i.startMoving)return;a.allowClick=!1,!o.cssMode&&p.cancelable&&p.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&p.stopPropagation(),i.isMoved||(o.loop&&!o.cssMode&&a.loopFix(),i.startTranslate=a.getTranslate(),a.setTransition(0),a.animating&&a.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!o.grabCursor||!0!==a.allowSlideNext&&!0!==a.allowSlidePrev||a.setGrabCursor(!0),a.emit("sliderFirstMove",p)),a.emit("sliderMove",p),i.isMoved=!0;let v=a.isHorizontal()?m:g;l.diff=v,v*=o.touchRatio,c&&(v=-v),a.swipeDirection=v>0?"prev":"next",i.currentTranslate=v+i.startTranslate;let w=!0,b=o.resistanceRatio;if(o.touchReleaseOnEdges&&(b=0),v>0&&i.currentTranslate>a.minTranslate()?(w=!1,o.resistance&&(i.currentTranslate=a.minTranslate()-1+(-a.minTranslate()+i.startTranslate+v)**b)):v<0&&i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),a.allowSlidePrev||a.allowSlideNext||(i.currentTranslate=i.startTranslate),o.threshold>0){if(!(Math.abs(v)>o.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,i.currentTranslate=i.startTranslate,void(l.diff=a.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY)}o.followFinger&&!o.cssMode&&((o.freeMode&&o.freeMode.enabled&&a.freeMode||o.watchSlidesProgress)&&(a.updateActiveIndex(),a.updateSlidesClasses()),a.params.freeMode&&o.freeMode.enabled&&a.freeMode&&a.freeMode.onTouchMove(),a.updateProgress(i.currentTranslate),a.setTranslate(i.currentTranslate))}},9765:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(1936),n=a(2166),r=a(3710);function i(e){const t=this,a=(0,s.Me)(),i=(0,s.Jj)(),o=t.touchEventsData,{params:l,touches:c,enabled:d}=t;if(!d)return;if(t.animating&&l.preventInteractionOnTransition)return;!t.animating&&l.cssMode&&l.loop&&t.loopFix();let p=e;p.originalEvent&&(p=p.originalEvent);let u=(0,n.Z)(p.target);if("wrapper"===l.touchEventsTarget&&!u.closest(t.wrapperEl).length)return;if(o.isTouchEvent="touchstart"===p.type,!o.isTouchEvent&&"which"in p&&3===p.which)return;if(!o.isTouchEvent&&"button"in p&&p.button>0)return;if(o.isTouched&&o.isMoved)return;const f=!!l.noSwipingClass&&""!==l.noSwipingClass,h=e.composedPath?e.composedPath():e.path;f&&p.target&&p.target.shadowRoot&&h&&(u=(0,n.Z)(h[0]));const m=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,g=!(!p.target||!p.target.shadowRoot);if(l.noSwiping&&(g?function(e,t=this){return function t(a){if(!a||a===(0,s.Me)()||a===(0,s.Jj)())return null;a.assignedSlot&&(a=a.assignedSlot);const n=a.closest(e);return n||a.getRootNode?n||t(a.getRootNode().host):null}(t)}(m,u[0]):u.closest(m)[0]))return void(t.allowClick=!0);if(l.swipeHandler&&!u.closest(l.swipeHandler)[0])return;c.currentX="touchstart"===p.type?p.targetTouches[0].pageX:p.pageX,c.currentY="touchstart"===p.type?p.targetTouches[0].pageY:p.pageY;const v=c.currentX,w=c.currentY,b=l.edgeSwipeDetection||l.iOSEdgeSwipeDetection,y=l.edgeSwipeThreshold||l.iOSEdgeSwipeThreshold;if(b&&(v<=y||v>=i.innerWidth-y)){if("prevent"!==b)return;e.preventDefault()}if(Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),c.startX=v,c.startY=w,o.touchStartTime=(0,r.zO)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1),"touchstart"!==p.type){let e=!0;u.is(o.focusableElements)&&(e=!1,"SELECT"===u[0].nodeName&&(o.isTouched=!1)),a.activeElement&&(0,n.Z)(a.activeElement).is(o.focusableElements)&&a.activeElement!==u[0]&&a.activeElement.blur();const s=e&&t.allowTouchMove&&l.touchStartPreventDefault;!l.touchStartForcePreventDefault&&!s||u[0].isContentEditable||p.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!l.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",p)}},9346:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(4938),n=a(2114);const r={setGrabCursor:s.Z,unsetGrabCursor:n.Z}},4938:(e,t,a)=>{function s(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const a="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;a.style.cursor="move",a.style.cursor=e?"grabbing":"grab"}a.d(t,{Z:()=>s})},2114:(e,t,a)=>{function s(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}a.d(t,{Z:()=>s})},8935:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(1265),n=a(375);const r={loadImage:s.Z,preloadImages:n.Z}},1265:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(1936),n=a(2166);function r(e,t,a,r,i,o){const l=(0,s.Jj)();let c;function d(){o&&o()}(0,n.Z)(e).parent("picture")[0]||e.complete&&i?d():t?(c=new l.Image,c.onload=d,c.onerror=d,r&&(c.sizes=r),a&&(c.srcset=a),t&&(c.src=t)):d()}},375:(e,t,a)=>{function s(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let a=0;as})},6993:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(1023),n=a(7289),r=a(1034);const i={loopCreate:s.Z,loopFix:n.Z,loopDestroy:r.Z}},1023:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(1936),n=a(2166);function r(){const e=this,t=(0,s.Me)(),{params:a,$wrapperEl:r}=e,i=r.children().length>0?(0,n.Z)(r.children()[0].parentNode):r;i.children(`.${a.slideClass}.${a.slideDuplicateClass}`).remove();let o=i.children(`.${a.slideClass}`);if(a.loopFillGroupWithBlank){const e=a.slidesPerGroup-o.length%a.slidesPerGroup;if(e!==a.slidesPerGroup){for(let s=0;so.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=o.length);const l=[],c=[];o.each(((e,t)=>{(0,n.Z)(e).attr("data-swiper-slide-index",t)}));for(let t=0;t=0;e-=1)i.prepend((0,n.Z)(l[e].cloneNode(!0)).addClass(a.slideDuplicateClass))}},1034:(e,t,a)=>{function s(){const{$wrapperEl:e,params:t,slides:a}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),a.removeAttr("data-swiper-slide-index")}a.d(t,{Z:()=>s})},7289:(e,t,a)=>{function s(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:a,loopedSlides:s,allowSlidePrev:n,allowSlideNext:r,snapGrid:i,rtlTranslate:o}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-i[t]-e.getTranslate();if(t=a.length-s){l=-a.length+t+s,l+=s;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((o?-e.translate:e.translate)-c)}e.allowSlidePrev=n,e.allowSlideNext=r,e.emit("loopFix")}a.d(t,{Z:()=>s})},7433:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(3710);function n(e,t){return function(a={}){const n=Object.keys(a)[0],r=a[n];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===e[n]&&(e[n]={auto:!0}),n in e&&"enabled"in r?(!0===e[n]&&(e[n]={enabled:!0}),"object"!=typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),(0,s.l7)(t,a)):(0,s.l7)(t,a)):(0,s.l7)(t,a)}}},3433:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(1936);function n({swiper:e,extendParams:t,on:a,emit:n}){const r=[],i=(0,s.Jj)(),o=(e,t={})=>{const a=new(i.MutationObserver||i.WebkitMutationObserver)((e=>{if(1===e.length)return void n("observerUpdate",e[0]);const t=function(){n("observerUpdate",e[0])};i.requestAnimationFrame?i.requestAnimationFrame(t):i.setTimeout(t,0)}));a.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(a)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),a("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e{r.forEach((e=>{e.disconnect()})),r.splice(0,r.length)}))}},8970:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(1936);function n({swiper:e,on:t,emit:a}){const n=(0,s.Jj)();let r=null,i=null;const o=()=>{e&&!e.destroyed&&e.initialized&&(a("beforeResize"),a("resize"))},l=()=>{e&&!e.destroyed&&e.initialized&&a("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==n.ResizeObserver?e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver((t=>{i=n.requestAnimationFrame((()=>{const{width:a,height:s}=e;let n=a,r=s;t.forEach((({contentBoxSize:t,contentRect:a,target:s})=>{s&&s!==e.el||(n=a?a.width:(t[0]||t).inlineSize,r=a?a.height:(t[0]||t).blockSize)})),n===a&&r===s||o()}))})),r.observe(e.el)):(n.addEventListener("resize",o),n.addEventListener("orientationchange",l))})),t("destroy",(()=>{i&&n.cancelAnimationFrame(i),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",l)}))}},2327:(e,t,a)=>{a.d(t,{Z:()=>d});var s=a(8904),n=a(6417),r=a(6179),i=a(548),o=a(5421),l=a(3171),c=a(7994);const d={slideTo:s.Z,slideToLoop:n.Z,slideNext:r.Z,slidePrev:i.Z,slideReset:o.Z,slideToClosest:l.Z,slideToClickedSlide:c.Z}},6179:(e,t,a)=>{function s(e=this.params.speed,t=!0,a){const s=this,{animating:n,enabled:r,params:i}=s;if(!r)return s;let o=i.slidesPerGroup;"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(o=Math.max(s.slidesPerViewDynamic("current",!0),1));const l=s.activeIndexs})},548:(e,t,a)=>{function s(e=this.params.speed,t=!0,a){const s=this,{params:n,animating:r,snapGrid:i,slidesGrid:o,rtlTranslate:l,enabled:c}=s;if(!c)return s;if(n.loop){if(r&&n.loopPreventsSlide)return!1;s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=d(l?s.translate:-s.translate),u=i.map((e=>d(e)));let f=i[u.indexOf(p)-1];if(void 0===f&&n.cssMode){let e;i.forEach(((t,a)=>{p>=t&&(e=a)})),void 0!==e&&(f=i[e>0?e-1:e])}let h=0;if(void 0!==f&&(h=o.indexOf(f),h<0&&(h=s.activeIndex-1),"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(h=h-s.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0))),n.rewind&&s.isBeginning){const n=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(n,e,t,a)}return s.slideTo(h,e,t,a)}a.d(t,{Z:()=>s})},5421:(e,t,a)=>{function s(e=this.params.speed,t=!0,a){return this.slideTo(this.activeIndex,e,t,a)}a.d(t,{Z:()=>s})},8904:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(3710);function n(e=0,t=this.params.speed,a=!0,n,r){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let o=e;o<0&&(o=0);const{params:l,snapGrid:c,slidesGrid:d,previousIndex:p,activeIndex:u,rtlTranslate:f,wrapperEl:h,enabled:m}=i;if(i.animating&&l.preventInteractionOnTransition||!m&&!n&&!r)return!1;const g=Math.min(i.params.slidesPerGroupSkip,o);let v=g+Math.floor((o-g)/i.params.slidesPerGroup);v>=c.length&&(v=c.length-1);const w=-c[v];if(l.normalizeSlideIndex)for(let e=0;e=a&&t=a&&t=a&&(o=e)}if(i.initialized&&o!==u){if(!i.allowSlideNext&&wi.translate&&w>i.maxTranslate()&&(u||0)!==o)return!1}let b;if(o!==(p||0)&&a&&i.emit("beforeSlideChangeStart"),i.updateProgress(w),b=o>u?"next":o{i.wrapperEl.style.scrollSnapType="",i._swiperImmediateVirtual=!1}))}else{if(!i.support.smoothScroll)return(0,s.x2)({swiper:i,targetPosition:a,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:a,behavior:"smooth"})}return!0}return i.setTransition(t),i.setTranslate(w),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,n),i.transitionStart(a,b),0===t?i.transitionEnd(a,b):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.$wrapperEl[0].removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(a,b))}),i.$wrapperEl[0].addEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd)),!0}},7994:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(2166),n=a(3710);function r(){const e=this,{params:t,$wrapperEl:a}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,o=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt((0,s.Z)(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?oe.slides.length-e.loopedSlides+r/2?(e.loopFix(),o=a.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,n.Y3)((()=>{e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-r?(e.loopFix(),o=a.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,n.Y3)((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}},3171:(e,t,a)=>{function s(e=this.params.speed,t=!0,a,s=.5){const n=this;let r=n.activeIndex;const i=Math.min(n.params.slidesPerGroupSkip,r),o=i+Math.floor((r-i)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[o]){const e=n.snapGrid[o];l-e>(n.snapGrid[o+1]-e)*s&&(r+=n.params.slidesPerGroup)}else{const e=n.snapGrid[o-1];l-e<=(n.snapGrid[o]-e)*s&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,e,t,a)}a.d(t,{Z:()=>s})},6417:(e,t,a)=>{function s(e=0,t=this.params.speed,a=!0,s){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const n=this;let r=e;return n.params.loop&&(r+=n.loopedSlides),n.slideTo(r,t,a,s)}a.d(t,{Z:()=>s})},4216:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(4488),n=a(7840),r=a(790);const i={setTransition:s.Z,transitionStart:n.Z,transitionEnd:r.Z}},4488:(e,t,a)=>{function s(e,t){const a=this;a.params.cssMode||a.$wrapperEl.transition(e),a.emit("setTransition",e,t)}a.d(t,{Z:()=>s})},364:(e,t,a)=>{function s({swiper:e,runCallbacks:t,direction:a,step:s}){const{activeIndex:n,previousIndex:r}=e;let i=a;if(i||(i=n>r?"next":ns})},790:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(364);function n(e=!0,t){const a=this,{params:n}=a;a.animating=!1,n.cssMode||(a.setTransition(0),(0,s.Z)({swiper:a,runCallbacks:e,direction:t,step:"End"}))}},7840:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(364);function n(e=!0,t){const a=this,{params:n}=a;n.cssMode||(n.autoHeight&&a.updateAutoHeight(),(0,s.Z)({swiper:a,runCallbacks:e,direction:t,step:"Start"}))}},2936:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(3710);function n(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:a,translate:n,$wrapperEl:r}=this;if(t.virtualTranslate)return a?-n:n;if(t.cssMode)return n;let i=(0,s.R6)(r[0],e);return a&&(i=-i),i||0}},4366:(e,t,a)=>{a.d(t,{Z:()=>l});var s=a(2936),n=a(9216),r=a(712),i=a(4579),o=a(920);const l={getTranslate:s.Z,setTranslate:n.Z,minTranslate:r.Z,maxTranslate:i.Z,translateTo:o.Z}},4579:(e,t,a)=>{function s(){return-this.snapGrid[this.snapGrid.length-1]}a.d(t,{Z:()=>s})},712:(e,t,a)=>{function s(){return-this.snapGrid[0]}a.d(t,{Z:()=>s})},9216:(e,t,a)=>{function s(e,t){const a=this,{rtlTranslate:s,params:n,$wrapperEl:r,wrapperEl:i,progress:o}=a;let l=0,c=0;let d;a.isHorizontal()?l=s?-e:e:c=e,n.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.cssMode?i[a.isHorizontal()?"scrollLeft":"scrollTop"]=a.isHorizontal()?-l:-c:n.virtualTranslate||r.transform(`translate3d(${l}px, ${c}px, 0px)`),a.previousTranslate=a.translate,a.translate=a.isHorizontal()?l:c;const p=a.maxTranslate()-a.minTranslate();d=0===p?0:(e-a.minTranslate())/p,d!==o&&a.updateProgress(e),a.emit("setTranslate",a.translate,t)}a.d(t,{Z:()=>s})},920:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(3710);function n(e=0,t=this.params.speed,a=!0,n=!0,r){const i=this,{params:o,wrapperEl:l}=i;if(i.animating&&o.preventInteractionOnTransition)return!1;const c=i.minTranslate(),d=i.maxTranslate();let p;if(p=n&&e>c?c:n&&e{a.d(t,{Z:()=>u});var s=a(7351),n=a(1396),r=a(9340),i=a(1334),o=a(6360),l=a(281),c=a(3030),d=a(3918),p=a(9930);const u={updateSize:s.Z,updateSlides:n.Z,updateAutoHeight:r.Z,updateSlidesOffset:i.Z,updateSlidesProgress:o.Z,updateProgress:l.Z,updateSlidesClasses:c.Z,updateActiveIndex:d.Z,updateClickedSlide:p.Z}},3918:(e,t,a)=>{function s(e){const t=this,a=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:s,snapGrid:n,params:r,activeIndex:i,realIndex:o,snapIndex:l}=t;let c,d=e;if(void 0===d){for(let e=0;e=s[e]&&a=s[e]&&a=s[e]&&(d=e);r.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(n.indexOf(a)>=0)c=n.indexOf(a);else{const e=Math.min(r.slidesPerGroupSkip,d);c=e+Math.floor((d-e)/r.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),d===i)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const p=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10);Object.assign(t,{snapIndex:c,realIndex:p,previousIndex:i,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==p&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")}a.d(t,{Z:()=>s})},9340:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(2166);function n(e){const t=this,a=[],n=t.virtual&&t.params.virtual.enabled;let r,i=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=e=>n?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||(0,s.Z)([])).each((e=>{a.push(e)}));else for(r=0;rt.slides.length&&!n)break;a.push(o(e))}else a.push(o(t.activeIndex));for(r=0;ri?e:i}(i||0===i)&&t.$wrapperEl.css("height",`${i}px`)}},9930:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(2166);function n(e){const t=this,a=t.params,n=(0,s.Z)(e).closest(`.${a.slideClass}`)[0];let r,i=!1;if(n)for(let e=0;e{function s(e){const t=this;if(void 0===e){const a=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*a||0}const a=t.params,s=t.maxTranslate()-t.minTranslate();let{progress:n,isBeginning:r,isEnd:i}=t;const o=r,l=i;0===s?(n=0,r=!0,i=!0):(n=(e-t.minTranslate())/s,r=n<=0,i=n>=1),Object.assign(t,{progress:n,isBeginning:r,isEnd:i}),(a.watchSlidesProgress||a.centeredSlides&&a.autoHeight)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),i&&!l&&t.emit("reachEnd toEdge"),(o&&!r||l&&!i)&&t.emit("fromEdge"),t.emit("progress",n)}a.d(t,{Z:()=>s})},7351:(e,t,a)=>{function s(){const e=this;let t,a;const s=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:s[0].clientWidth,a=void 0!==e.params.height&&null!==e.params.height?e.params.height:s[0].clientHeight,0===t&&e.isHorizontal()||0===a&&e.isVertical()||(t=t-parseInt(s.css("padding-left")||0,10)-parseInt(s.css("padding-right")||0,10),a=a-parseInt(s.css("padding-top")||0,10)-parseInt(s.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(a)&&(a=0),Object.assign(e,{width:t,height:a,size:e.isHorizontal()?t:a}))}a.d(t,{Z:()=>s})},1396:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(3710);function n(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function a(e,a){return parseFloat(e.getPropertyValue(t(a))||0)}const n=e.params,{$wrapperEl:r,size:i,rtlTranslate:o,wrongRTL:l}=e,c=e.virtual&&n.virtual.enabled,d=c?e.virtual.slides.length:e.slides.length,p=r.children(`.${e.params.slideClass}`),u=c?e.virtual.slides.length:p.length;let f=[];const h=[],m=[];let g=n.slidesOffsetBefore;"function"==typeof g&&(g=n.slidesOffsetBefore.call(e));let v=n.slidesOffsetAfter;"function"==typeof v&&(v=n.slidesOffsetAfter.call(e));const w=e.snapGrid.length,b=e.slidesGrid.length;let y=n.spaceBetween,E=-g,x=0,C=0;if(void 0===i)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*i),e.virtualSize=-y,o?p.css({marginLeft:"",marginBottom:"",marginTop:""}):p.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&((0,s.z2)(e.wrapperEl,"--swiper-centered-offset-before",""),(0,s.z2)(e.wrapperEl,"--swiper-centered-offset-after",""));const S=n.grid&&n.grid.rows>1&&e.grid;let T;S&&e.grid.initSlides(u);const $="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>void 0!==n.breakpoints[e].slidesPerView)).length>0;for(let s=0;s1&&f.push(e.virtualSize-i)}if(0===f.length&&(f=[0]),0!==n.spaceBetween){const a=e.isHorizontal()&&o?"marginLeft":t("marginRight");p.filter(((e,t)=>!n.cssMode||t!==p.length-1)).css({[a]:`${y}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;m.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween;const t=e-i;f=f.map((e=>e<0?-g:e>t?t+v:e))}if(n.centerInsufficientSlides){let e=0;if(m.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween,e{f[a]=e-t})),h.forEach(((e,a)=>{h[a]=e+t}))}}if(Object.assign(e,{slides:p,snapGrid:f,slidesGrid:h,slidesSizesGrid:m}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){(0,s.z2)(e.wrapperEl,"--swiper-centered-offset-before",-f[0]+"px"),(0,s.z2)(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-m[m.length-1]/2+"px");const t=-e.snapGrid[0],a=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+a))}if(u!==d&&e.emit("slidesLengthChange"),f.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==b&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!(c||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,a=e.$el.hasClass(t);u<=n.maxBackfaceHiddenSlides?a||e.$el.addClass(t):a&&e.$el.removeClass(t)}}},3030:(e,t,a)=>{function s(){const e=this,{slides:t,params:a,$wrapperEl:s,activeIndex:n,realIndex:r}=e,i=e.virtual&&a.virtual.enabled;let o;t.removeClass(`${a.slideActiveClass} ${a.slideNextClass} ${a.slidePrevClass} ${a.slideDuplicateActiveClass} ${a.slideDuplicateNextClass} ${a.slideDuplicatePrevClass}`),o=i?e.$wrapperEl.find(`.${a.slideClass}[data-swiper-slide-index="${n}"]`):t.eq(n),o.addClass(a.slideActiveClass),a.loop&&(o.hasClass(a.slideDuplicateClass)?s.children(`.${a.slideClass}:not(.${a.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(a.slideDuplicateActiveClass):s.children(`.${a.slideClass}.${a.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(a.slideDuplicateActiveClass));let l=o.nextAll(`.${a.slideClass}`).eq(0).addClass(a.slideNextClass);a.loop&&0===l.length&&(l=t.eq(0),l.addClass(a.slideNextClass));let c=o.prevAll(`.${a.slideClass}`).eq(0).addClass(a.slidePrevClass);a.loop&&0===c.length&&(c=t.eq(-1),c.addClass(a.slidePrevClass)),a.loop&&(l.hasClass(a.slideDuplicateClass)?s.children(`.${a.slideClass}:not(.${a.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicateNextClass):s.children(`.${a.slideClass}.${a.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicateNextClass),c.hasClass(a.slideDuplicateClass)?s.children(`.${a.slideClass}:not(.${a.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicatePrevClass):s.children(`.${a.slideClass}.${a.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicatePrevClass)),e.emitSlidesClasses()}a.d(t,{Z:()=>s})},1334:(e,t,a)=>{function s(){const e=this,t=e.slides;for(let a=0;as})},6360:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(2166);function n(e=this&&this.translate||0){const t=this,a=t.params,{slides:n,rtlTranslate:r,snapGrid:i}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let o=-e;r&&(o=e),n.removeClass(a.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e=0&&p1&&u<=t.size||p<=0&&u>=t.size)&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(e),n.eq(e).addClass(a.slideVisibleClass)),s.progress=r?-c:c,s.originalProgress=r?-d:d}t.visibleSlides=(0,s.Z)(t.visibleSlides)}},3389:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(1443),n=a(2166);function r({swiper:e,extendParams:t,on:a}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let r=null;function i(e){const t=r;0!==t.length&&(t.html(""),t.html(e))}function o(e){e.attr("tabIndex","0")}function l(e){e.attr("tabIndex","-1")}function c(e,t){e.attr("role",t)}function d(e,t){e.attr("aria-roledescription",t)}function p(e,t){e.attr("aria-label",t)}function u(e){e.attr("aria-disabled",!0)}function f(e){e.attr("aria-disabled",!1)}function h(t){if(13!==t.keyCode&&32!==t.keyCode)return;const a=e.params.a11y,r=(0,n.Z)(t.target);e.navigation&&e.navigation.$nextEl&&r.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?i(a.lastSlideMessage):i(a.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&r.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?i(a.firstSlideMessage):i(a.prevSlideMessage)),e.pagination&&r.is((0,s.Z)(e.params.pagination.bulletClass))&&r[0].click()}function m(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function g(){return m()&&e.params.pagination.clickable}const v=(e,t,a)=>{o(e),"BUTTON"!==e[0].tagName&&(c(e,"button"),e.on("keydown",h)),p(e,a),function(e,t){e.attr("aria-controls",t)}(e,t)},w=()=>{e.a11y.clicked=!0},b=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.destroyed||(e.a11y.clicked=!1)}))}))},y=t=>{if(e.a11y.clicked)return;const a=t.target.closest(`.${e.params.slideClass}`);if(!a||!e.slides.includes(a))return;const s=e.slides.indexOf(a)===e.activeIndex,n=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(a);s||n||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(a),0))},E=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&d((0,n.Z)(e.slides),t.itemRoleDescriptionMessage),t.slideRole&&c((0,n.Z)(e.slides),t.slideRole);const a=e.params.loop?e.slides.filter((t=>!t.classList.contains(e.params.slideDuplicateClass))).length:e.slides.length;t.slideLabelMessage&&e.slides.each(((s,r)=>{const i=(0,n.Z)(s),o=e.params.loop?parseInt(i.attr("data-swiper-slide-index"),10):r;p(i,t.slideLabelMessage.replace(/\{\{index\}\}/,o+1).replace(/\{\{slidesLength\}\}/,a))}))},x=()=>{const t=e.params.a11y;e.$el.append(r);const a=e.$el;t.containerRoleDescriptionMessage&&d(a,t.containerRoleDescriptionMessage),t.containerMessage&&p(a,t.containerMessage);const n=e.$wrapperEl,i=t.id||n.attr("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,o=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";var l;let c,u;l=i,n.attr("id",l),function(e,t){e.attr("aria-live",t)}(n,o),E(),e.navigation&&e.navigation.$nextEl&&(c=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(u=e.navigation.$prevEl),c&&c.length&&v(c,i,t.nextSlideMessage),u&&u.length&&v(u,i,t.prevSlideMessage),g()&&e.pagination.$el.on("keydown",(0,s.Z)(e.params.pagination.bulletClass),h),e.$el.on("focus",y,!0),e.$el.on("pointerdown",w,!0),e.$el.on("pointerup",b,!0)};a("beforeInit",(()=>{r=(0,n.Z)(``)})),a("afterInit",(()=>{e.params.a11y.enabled&&x()})),a("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{e.params.a11y.enabled&&E()})),a("fromEdge toEdge afterInit lock unlock",(()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{$nextEl:t,$prevEl:a}=e.navigation;a&&a.length>0&&(e.isBeginning?(u(a),l(a)):(f(a),o(a))),t&&t.length>0&&(e.isEnd?(u(t),l(t)):(f(t),o(t)))}()})),a("paginationUpdate",(()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;m()&&e.pagination.bullets.each((a=>{const s=(0,n.Z)(a);e.params.pagination.clickable&&(o(s),e.params.pagination.renderBullet||(c(s,"button"),p(s,t.paginationBulletMessage.replace(/\{\{index\}\}/,s.index()+1)))),s.is(`.${e.params.pagination.bulletActiveClass}`)?s.attr("aria-current","true"):s.removeAttr("aria-current")}))}()})),a("destroy",(()=>{e.params.a11y.enabled&&function(){let t,a;r&&r.length>0&&r.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(a=e.navigation.$prevEl),t&&t.off("keydown",h),a&&a.off("keydown",h),g()&&e.pagination.$el.off("keydown",(0,s.Z)(e.params.pagination.bulletClass),h),e.$el.off("focus",y,!0),e.$el.off("pointerdown",w,!0),e.$el.off("pointerup",b,!0)}()}))}},867:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(1936),n=a(3710);function r({swiper:e,extendParams:t,on:a,emit:r}){let i;function o(){if(!e.size)return e.autoplay.running=!1,void(e.autoplay.paused=!1);const t=e.slides.eq(e.activeIndex);let a=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(a=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(i),i=(0,n.Y3)((()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?c():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),r("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),r("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?c():(t=e.slideTo(0,e.params.speed,!0,!0),r("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),r("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&o()}),a)}function l(){return void 0===i&&(!e.autoplay.running&&(e.autoplay.running=!0,r("autoplayStart"),o(),!0))}function c(){return!!e.autoplay.running&&(void 0!==i&&(i&&(clearTimeout(i),i=void 0),e.autoplay.running=!1,r("autoplayStop"),!0))}function d(t){e.autoplay.running&&(e.autoplay.paused||(i&&clearTimeout(i),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].addEventListener(t,u)})):(e.autoplay.paused=!1,o())))}function p(){const t=(0,s.Me)();"hidden"===t.visibilityState&&e.autoplay.running&&d(),"visible"===t.visibilityState&&e.autoplay.paused&&(o(),e.autoplay.paused=!1)}function u(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)})),e.autoplay.paused=!1,e.autoplay.running?o():c())}function f(){e.params.autoplay.disableOnInteraction?c():(r("autoplayPause"),d()),["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)}))}function h(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,r("autoplayResume"),o())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),a("init",(()=>{if(e.params.autoplay.enabled){l();(0,s.Me)().addEventListener("visibilitychange",p),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",f),e.$el.on("mouseleave",h))}})),a("beforeTransitionStart",((t,a,s)=>{e.autoplay.running&&(s||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(a):c())})),a("sliderFirstMove",(()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?c():d())})),a("touchEnd",(()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&o()})),a("destroy",(()=>{e.$el.off("mouseenter",f),e.$el.off("mouseleave",h),e.autoplay.running&&c();(0,s.Me)().removeEventListener("visibilitychange",p)})),Object.assign(e.autoplay,{pause:d,run:o,start:l,stop:c})}},2585:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(3710);function n({swiper:e,extendParams:t,on:a}){function n(e,t){const a=function(){let e,t,a;return(s,n)=>{for(t=-1,e=s.length;e-t>1;)a=e+t>>1,s[a]<=n?t=a:e=a;return e}}();let s,n;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=a(this.x,e),s=n-1,(e-this.x[s])*(this.y[n]-this.y[s])/(this.x[n]-this.x[s])+this.y[s]):0},this}function r(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},a("beforeInit",(()=>{e.controller.control=e.params.controller.control})),a("update",(()=>{r()})),a("resize",(()=>{r()})),a("observerUpdate",(()=>{r()})),a("setTranslate",((t,a,s)=>{e.controller.control&&e.controller.setTranslate(a,s)})),a("setTransition",((t,a,s)=>{e.controller.control&&e.controller.setTransition(a,s)})),Object.assign(e.controller,{setTranslate:function(t,a){const s=e.controller.control;let r,i;const o=e.constructor;function l(t){const a=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(!function(t){e.controller.spline||(e.controller.spline=e.params.loop?new n(e.slidesGrid,t.slidesGrid):new n(e.snapGrid,t.snapGrid))}(t),i=-e.controller.spline.interpolate(-a)),i&&"container"!==e.params.controller.by||(r=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),i=(a-e.minTranslate())*r+t.minTranslate()),e.params.controller.inverse&&(i=t.maxTranslate()-i),t.updateProgress(i),t.setTranslate(i,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(s))for(let e=0;e{a.updateAutoHeight()})),a.$wrapperEl.transitionEnd((()=>{r&&(a.params.loop&&"slide"===e.params.controller.by&&a.loopFix(),a.transitionEnd())})))}if(Array.isArray(r))for(i=0;i{a.d(t,{Z:()=>o});var s=a(8865),n=a(1931),r=a(3733),i=a(2465);function o({swiper:e,extendParams:t,on:a}){t({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}});(0,n.Z)({effect:"cards",swiper:e,on:a,setTranslate:()=>{const{slides:t,activeIndex:a}=e,n=e.params.cardsEffect,{startTranslate:i,isTouched:o}=e.touchEventsData,l=e.translate;for(let c=0;c0&&u<1&&(o||e.params.cssMode)&&l-1&&(o||e.params.cssMode)&&l>i;if(E||x){const e=(1-Math.abs((Math.abs(u)-.5)/.5))**.5;w+=-28*u*e,v+=-.5*e,b+=96*e,m=-25*e*Math.abs(u)+"%"}if(h=u<0?`calc(${h}px + (${b*Math.abs(u)}%))`:u>0?`calc(${h}px + (-${b*Math.abs(u)}%))`:`${h}px`,!e.isHorizontal()){const e=m;m=h,h=e}const C=u<0?""+(1+(1-v)*u):""+(1-(1-v)*u),S=`\n translate3d(${h}, ${m}, ${g}px)\n rotateZ(${n.rotate?w:0}deg)\n scale(${C})\n `;if(n.slideShadows){let e=d.find(".swiper-slide-shadow");0===e.length&&(e=(0,s.Z)(n,d)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(u)-.5)/.5,0),1))}d[0].style.zIndex=-Math.abs(Math.round(p))+t.length;(0,r.Z)(n,d).transform(S)}},setTransition:t=>{const{transformEl:a}=e.params.cardsEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,i.Z)({swiper:e,duration:t,transformEl:a})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},6473:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(8865),n=a(1931),r=a(3733);function i({swiper:e,extendParams:t,on:a}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}});(0,n.Z)({effect:"coverflow",swiper:e,on:a,setTranslate:()=>{const{width:t,height:a,slides:n,slidesSizesGrid:i}=e,o=e.params.coverflowEffect,l=e.isHorizontal(),c=e.translate,d=l?t/2-c:a/2-c,p=l?o.rotate:-o.rotate,u=o.depth;for(let e=0,t=n.length;e0?f:0),a.length&&(a[0].style.opacity=-f>0?-f:0)}}},setTransition:t=>{const{transformEl:a}=e.params.coverflowEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}},5980:(e,t,a)=>{a.d(t,{Z:()=>o});var s=a(8865),n=a(1931),r=a(3733),i=a(2465);function o({swiper:e,extendParams:t,on:a}){t({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const o=e=>"string"==typeof e?e:`${e}px`;(0,n.Z)({effect:"creative",swiper:e,on:a,setTranslate:()=>{const{slides:t,$wrapperEl:a,slidesSizesGrid:n}=e,i=e.params.creativeEffect,{progressMultiplier:l}=i,c=e.params.centeredSlides;if(c){const t=n[0]/2-e.params.slidesOffsetBefore||0;a.transform(`translateX(calc(50% - ${t}px))`)}for(let a=0;a0&&(v=i.prev,g=!0),h.forEach(((e,t)=>{h[t]=`calc(${e}px + (${o(v.translate[t])} * ${Math.abs(p*l)}))`})),m.forEach(((e,t)=>{m[t]=v.rotate[t]*Math.abs(p*l)})),n[0].style.zIndex=-Math.abs(Math.round(d))+t.length;const w=h.join(", "),b=`rotateX(${m[0]}deg) rotateY(${m[1]}deg) rotateZ(${m[2]}deg)`,y=u<0?`scale(${1+(1-v.scale)*u*l})`:`scale(${1-(1-v.scale)*u*l})`,E=u<0?1+(1-v.opacity)*u*l:1-(1-v.opacity)*u*l,x=`translate3d(${w}) ${b} ${y}`;if(g&&v.shadow||!g){let e=n.children(".swiper-slide-shadow");if(0===e.length&&v.shadow&&(e=(0,s.Z)(i,n)),e.length){const t=i.shadowPerProgress?p*(1/i.limitProgress):p;e[0].style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const C=(0,r.Z)(i,n);C.transform(x).css({opacity:E}),v.origin&&C.css("transform-origin",v.origin)}},setTransition:t=>{const{transformEl:a}=e.params.creativeEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,i.Z)({swiper:e,duration:t,transformEl:a,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},1771:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(2166),n=a(1931);function r({swiper:e,extendParams:t,on:a}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(e,t,a)=>{let n=a?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=a?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===n.length&&(n=(0,s.Z)(`
`),e.append(n)),0===r.length&&(r=(0,s.Z)(`
`),e.append(r)),n.length&&(n[0].style.opacity=Math.max(-t,0)),r.length&&(r[0].style.opacity=Math.max(t,0))};(0,n.Z)({effect:"cube",swiper:e,on:a,setTranslate:()=>{const{$el:t,$wrapperEl:a,slides:n,width:i,height:o,rtlTranslate:l,size:c,browser:d}=e,p=e.params.cubeEffect,u=e.isHorizontal(),f=e.virtual&&e.params.virtual.enabled;let h,m=0;p.shadow&&(u?(h=a.find(".swiper-cube-shadow"),0===h.length&&(h=(0,s.Z)('
'),a.append(h)),h.css({height:`${i}px`})):(h=t.find(".swiper-cube-shadow"),0===h.length&&(h=(0,s.Z)('
'),t.append(h))));for(let e=0;e-1&&(m=90*a+90*o,l&&(m=90*-a-90*o)),t.transform(v),p.slideShadows&&r(t,o,u)}if(a.css({"-webkit-transform-origin":`50% 50% -${c/2}px`,"transform-origin":`50% 50% -${c/2}px`}),p.shadow)if(u)h.transform(`translate3d(0px, ${i/2+p.shadowOffset}px, ${-i/2}px) rotateX(90deg) rotateZ(0deg) scale(${p.shadowScale})`);else{const e=Math.abs(m)-90*Math.floor(Math.abs(m)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),a=p.shadowScale,s=p.shadowScale/t,n=p.shadowOffset;h.transform(`scale3d(${a}, 1, ${s}) translate3d(0px, ${o/2+n}px, ${-o/2/s}px) rotateX(-90deg)`)}const g=d.isSafari||d.isWebView?-c/2:0;a.transform(`translate3d(0px,0,${g}px) rotateX(${e.isHorizontal()?0:m}deg) rotateY(${e.isHorizontal()?-m:0}deg)`),a[0].style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:t=>{const{$el:a,slides:s}=e;s.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.cubeEffect.shadow&&!e.isHorizontal()&&a.find(".swiper-cube-shadow").transition(t)},recreateShadows:()=>{const t=e.isHorizontal();e.slides.each((e=>{const a=Math.max(Math.min(e.progress,1),-1);r((0,s.Z)(e),a,t)}))},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}},7456:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(1931),n=a(3733),r=a(2465);function i({swiper:e,extendParams:t,on:a}){t({fadeEffect:{crossFade:!1,transformEl:null}});(0,s.Z)({effect:"fade",swiper:e,on:a,setTranslate:()=>{const{slides:t}=e,a=e.params.fadeEffect;for(let s=0;s{const{transformEl:a}=e.params.fadeEffect;(a?e.slides.find(a):e.slides).transition(t),(0,r.Z)({swiper:e,duration:t,transformEl:a,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},371:(e,t,a)=>{a.d(t,{Z:()=>l});var s=a(2166),n=a(8865),r=a(1931),i=a(3733),o=a(2465);function l({swiper:e,extendParams:t,on:a}){t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const l=(t,a,s)=>{let r=e.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),i=e.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===r.length&&(r=(0,n.Z)(s,t,e.isHorizontal()?"left":"top")),0===i.length&&(i=(0,n.Z)(s,t,e.isHorizontal()?"right":"bottom")),r.length&&(r[0].style.opacity=Math.max(-a,0)),i.length&&(i[0].style.opacity=Math.max(a,0))};(0,r.Z)({effect:"flip",swiper:e,on:a,setTranslate:()=>{const{slides:t,rtlTranslate:a}=e,s=e.params.flipEffect;for(let n=0;n{const{transformEl:a}=e.params.flipEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),(0,o.Z)({swiper:e,duration:t,transformEl:a})},recreateShadows:()=>{const t=e.params.flipEffect;e.slides.each((a=>{const n=(0,s.Z)(a);let r=n[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(a.progress,1),-1)),l(n,r,t)}))},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},5440:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(3710);function n({swiper:e,extendParams:t,emit:a,once:n}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){const{touchEventsData:t,touches:a}=e;0===t.velocities.length&&t.velocities.push({position:a[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:a[e.isHorizontal()?"currentX":"currentY"],time:(0,s.zO)()})},onTouchEnd:function({currentPos:t}){const{params:r,$wrapperEl:i,rtlTranslate:o,snapGrid:l,touchEventsData:c}=e,d=(0,s.zO)()-c.touchStartTime;if(t<-e.minTranslate())e.slideTo(e.activeIndex);else if(t>-e.maxTranslate())e.slides.length1){const t=c.velocities.pop(),a=c.velocities.pop(),n=t.position-a.position,i=t.time-a.time;e.velocity=n/i,e.velocity/=2,Math.abs(e.velocity)150||(0,s.zO)()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=r.freeMode.momentumVelocityRatio,c.velocities.length=0;let t=1e3*r.freeMode.momentumRatio;const d=e.velocity*t;let p=e.translate+d;o&&(p=-p);let u,f=!1;const h=20*Math.abs(e.velocity)*r.freeMode.momentumBounceRatio;let m;if(pe.minTranslate())r.freeMode.momentumBounce?(p-e.minTranslate()>h&&(p=e.minTranslate()+h),u=e.minTranslate(),f=!0,c.allowMomentumBounce=!0):p=e.minTranslate(),r.loop&&r.centeredSlides&&(m=!0);else if(r.freeMode.sticky){let t;for(let e=0;e-p){t=e;break}p=Math.abs(l[t]-p){e.loopFix()})),0!==e.velocity){if(t=o?Math.abs((-p-e.translate)/e.velocity):Math.abs((p-e.translate)/e.velocity),r.freeMode.sticky){const a=Math.abs((o?-p:p)-e.translate),s=e.slidesSizesGrid[e.activeIndex];t=a{e&&!e.destroyed&&c.allowMomentumBounce&&(a("momentumBounce"),e.setTransition(r.speed),setTimeout((()=>{e.setTranslate(u),i.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()}))}),0))}))):e.velocity?(a("_freeModeNoMomentumRelease"),e.updateProgress(p),e.setTransition(t),e.setTranslate(p),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,i.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(p),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(r.freeMode.sticky)return void e.slideToClosest();r.freeMode&&a("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||d>=r.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})}},8997:(e,t,a)=>{function s({swiper:e,extendParams:t}){let a,s,n;t({grid:{rows:1,fill:"column"}});e.grid={initSlides:t=>{const{slidesPerView:r}=e.params,{rows:i,fill:o}=e.params.grid;s=a/i,n=Math.floor(t/i),a=Math.floor(t/i)===t/i?t:Math.ceil(t/i)*i,"auto"!==r&&"row"===o&&(a=Math.max(a,r*i))},updateSlide:(t,r,i,o)=>{const{slidesPerGroup:l,spaceBetween:c}=e.params,{rows:d,fill:p}=e.params.grid;let u,f,h;if("row"===p&&l>1){const e=Math.floor(t/(l*d)),s=t-d*l*e,n=0===e?l:Math.min(Math.ceil((i-e*d*l)/d),l);h=Math.floor(s/n),f=s-h*n+e*l,u=f+h*a/d,r.css({"-webkit-order":u,order:u})}else"column"===p?(f=Math.floor(t/d),h=t-f*d,(f>n||f===n&&h===d-1)&&(h+=1,h>=d&&(h=0,f+=1))):(h=Math.floor(t/s),f=t-h*s);r.css(o("margin-top"),0!==h?c&&`${c}px`:"")},updateWrapperSize:(t,s,n)=>{const{spaceBetween:r,centeredSlides:i,roundLengths:o}=e.params,{rows:l}=e.params.grid;if(e.virtualSize=(t+r)*a,e.virtualSize=Math.ceil(e.virtualSize/l)-r,e.$wrapperEl.css({[n("width")]:`${e.virtualSize+r}px`}),i){s.splice(0,s.length);const t=[];for(let a=0;as})},954:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(1936),n=a(2166);function r({swiper:e,extendParams:t,emit:a,on:r}){let i=!1;const o=(0,s.Me)(),l=(0,s.Jj)();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const c=()=>{a("hashChange");const t=o.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const a=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===a)return;e.slideTo(a)}},d=()=>{if(i&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&l.history&&l.history.replaceState)l.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),a("hashSet");else{const t=e.slides.eq(e.activeIndex),s=t.attr("data-hash")||t.attr("data-history");o.location.hash=s||"",a("hashSet")}};r("init",(()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;i=!0;const t=o.location.hash.replace("#","");if(t){const a=0;for(let s=0,n=e.slides.length;s{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&(0,n.Z)(l).off("hashchange",c)})),r("transitionEnd _freeModeNoMomentumRelease",(()=>{i&&d()})),r("slideChange",(()=>{i&&e.params.cssMode&&d()}))}},574:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(1936);function n({swiper:e,extendParams:t,on:a}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let n=!1,r={};const i=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=e=>{const t=(0,s.Jj)();let a;a=e?new URL(e):t.location;const n=a.pathname.slice(1).split("/").filter((e=>""!==e)),r=n.length;return{key:n[r-2],value:n[r-1]}},l=(t,a)=>{const r=(0,s.Jj)();if(!n||!e.params.history.enabled)return;let o;o=e.params.url?new URL(e.params.url):r.location;const l=e.slides.eq(a);let c=i(l.attr("data-history"));if(e.params.history.root.length>0){let a=e.params.history.root;"/"===a[a.length-1]&&(a=a.slice(0,a.length-1)),c=`${a}/${t}/${c}`}else o.pathname.includes(t)||(c=`${t}/${c}`);e.params.history.keepQuery&&(c+=o.search);const d=r.history.state;d&&d.value===c||(e.params.history.replaceState?r.history.replaceState({value:c},null,c):r.history.pushState({value:c},null,c))},c=(t,a,s)=>{if(a)for(let n=0,r=e.slides.length;n{r=o(e.params.url),c(e.params.speed,r.value,!1)};a("init",(()=>{e.params.history.enabled&&(()=>{const t=(0,s.Jj)();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);n=!0,r=o(e.params.url),(r.key||r.value)&&(c(0,r.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",d))}})()})),a("destroy",(()=>{e.params.history.enabled&&(()=>{const t=(0,s.Jj)();e.params.history.replaceState||t.removeEventListener("popstate",d)})()})),a("transitionEnd _freeModeNoMomentumRelease",(()=>{n&&l(e.params.history.key,e.activeIndex)})),a("slideChange",(()=>{n&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)}))}},1558:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(1936),n=a(2166);function r({swiper:e,extendParams:t,on:a,emit:r}){const i=(0,s.Me)(),o=(0,s.Jj)();function l(t){if(!e.enabled)return;const{rtlTranslate:a}=e;let s=t;s.originalEvent&&(s=s.originalEvent);const n=s.keyCode||s.charCode,l=e.params.keyboard.pageUpDown,c=l&&33===n,d=l&&34===n,p=37===n,u=39===n,f=38===n,h=40===n;if(!e.allowSlideNext&&(e.isHorizontal()&&u||e.isVertical()&&h||d))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&p||e.isVertical()&&f||c))return!1;if(!(s.shiftKey||s.altKey||s.ctrlKey||s.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){if(e.params.keyboard.onlyInViewport&&(c||d||p||u||f||h)){let t=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&0===e.$el.parents(`.${e.params.slideActiveClass}`).length)return;const s=e.$el,n=s[0].clientWidth,r=s[0].clientHeight,i=o.innerWidth,l=o.innerHeight,c=e.$el.offset();a&&(c.left-=e.$el[0].scrollLeft);const d=[[c.left,c.top],[c.left+n,c.top],[c.left,c.top+r],[c.left+n,c.top+r]];for(let e=0;e=0&&a[0]<=i&&a[1]>=0&&a[1]<=l){if(0===a[0]&&0===a[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((c||d||p||u)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),((d||u)&&!a||(c||p)&&a)&&e.slideNext(),((c||p)&&!a||(d||u)&&a)&&e.slidePrev()):((c||d||f||h)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),(d||h)&&e.slideNext(),(c||f)&&e.slidePrev()),r("keyPress",n)}}function c(){e.keyboard.enabled||((0,n.Z)(i).on("keydown",l),e.keyboard.enabled=!0)}function d(){e.keyboard.enabled&&((0,n.Z)(i).off("keydown",l),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),a("init",(()=>{e.params.keyboard.enabled&&c()})),a("destroy",(()=>{e.keyboard.enabled&&d()})),Object.assign(e.keyboard,{enable:c,disable:d})}},3689:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(1936),n=a(2166);function r({swiper:e,extendParams:t,on:a,emit:r}){t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),e.lazy={};let i=!1,o=!1;function l(t,a=!0){const s=e.params.lazy;if(void 0===t)return;if(0===e.slides.length)return;const i=e.virtual&&e.params.virtual.enabled?e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`):e.slides.eq(t),o=i.find(`.${s.elementClass}:not(.${s.loadedClass}):not(.${s.loadingClass})`);!i.hasClass(s.elementClass)||i.hasClass(s.loadedClass)||i.hasClass(s.loadingClass)||o.push(i[0]),0!==o.length&&o.each((t=>{const o=(0,n.Z)(t);o.addClass(s.loadingClass);const c=o.attr("data-background"),d=o.attr("data-src"),p=o.attr("data-srcset"),u=o.attr("data-sizes"),f=o.parent("picture");e.loadImage(o[0],d||c,p,u,!1,(()=>{if(null!=e&&e&&(!e||e.params)&&!e.destroyed){if(c?(o.css("background-image",`url("${c}")`),o.removeAttr("data-background")):(p&&(o.attr("srcset",p),o.removeAttr("data-srcset")),u&&(o.attr("sizes",u),o.removeAttr("data-sizes")),f.length&&f.children("source").each((e=>{const t=(0,n.Z)(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),d&&(o.attr("src",d),o.removeAttr("data-src"))),o.addClass(s.loadedClass).removeClass(s.loadingClass),i.find(`.${s.preloaderClass}`).remove(),e.params.loop&&a){const t=i.attr("data-swiper-slide-index");if(i.hasClass(e.params.slideDuplicateClass)){l(e.$wrapperEl.children(`[data-swiper-slide-index="${t}"]:not(.${e.params.slideDuplicateClass})`).index(),!1)}else{l(e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${t}"]`).index(),!1)}}r("lazyImageReady",i[0],o[0]),e.params.autoHeight&&e.updateAutoHeight()}})),r("lazyImageLoad",i[0],o[0])}))}function c(){const{$wrapperEl:t,params:a,slides:s,activeIndex:r}=e,i=e.virtual&&a.virtual.enabled,c=a.lazy;let d=a.slidesPerView;function p(e){if(i){if(t.children(`.${a.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(s[e])return!0;return!1}function u(e){return i?(0,n.Z)(e).attr("data-swiper-slide-index"):(0,n.Z)(e).index()}if("auto"===d&&(d=0),o||(o=!0),e.params.watchSlidesProgress)t.children(`.${a.slideVisibleClass}`).each((e=>{l(i?(0,n.Z)(e).attr("data-swiper-slide-index"):(0,n.Z)(e).index())}));else if(d>1)for(let e=r;e1||c.loadPrevNextAmount&&c.loadPrevNextAmount>1){const e=c.loadPrevNextAmount,t=Math.ceil(d),a=Math.min(r+t+Math.max(e,t),s.length),n=Math.max(r-Math.max(t,e),0);for(let e=r+t;e0&&l(u(e));const s=t.children(`.${a.slidePrevClass}`);s.length>0&&l(u(s))}}function d(){const t=(0,s.Jj)();if(!e||e.destroyed)return;const a=e.params.lazy.scrollingElement?(0,n.Z)(e.params.lazy.scrollingElement):(0,n.Z)(t),r=a[0]===t,o=r?t.innerWidth:a[0].offsetWidth,l=r?t.innerHeight:a[0].offsetHeight,p=e.$el.offset(),{rtlTranslate:u}=e;let f=!1;u&&(p.left-=e.$el[0].scrollLeft);const h=[[p.left,p.top],[p.left+e.width,p.top],[p.left,p.top+e.height],[p.left+e.width,p.top+e.height]];for(let e=0;e=0&&t[0]<=o&&t[1]>=0&&t[1]<=l){if(0===t[0]&&0===t[1])continue;f=!0}}const m=!("touchstart"!==e.touchEvents.start||!e.support.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};f?(c(),a.off("scroll",d,m)):i||(i=!0,a.on("scroll",d,m))}a("beforeInit",(()=>{e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)})),a("init",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?d():c())})),a("scroll",(()=>{e.params.freeMode&&e.params.freeMode.enabled&&!e.params.freeMode.sticky&&c()})),a("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?d():c())})),a("transitionStart",(()=>{e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!o)&&(e.params.lazy.checkInView?d():c())})),a("transitionEnd",(()=>{e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.checkInView?d():c())})),a("slideChange",(()=>{const{lazy:t,cssMode:a,watchSlidesProgress:s,touchReleaseOnEdges:n,resistanceRatio:r}=e.params;t.enabled&&(a||s&&(n||0===r))&&c()})),a("destroy",(()=>{e.$el&&e.$el.find(`.${e.params.lazy.loadingClass}`).removeClass(e.params.lazy.loadingClass)})),Object.assign(e.lazy,{load:c,loadInSlide:l})}},6263:(e,t,a)=>{a.d(t,{Z:()=>l});var s=a(8700),n=a(9501),r=a(8034),i=a(1912),o=a(7872);function l({swiper:e}){Object.assign(e,{appendSlide:s.Z.bind(e),prependSlide:n.Z.bind(e),addSlide:r.Z.bind(e),removeSlide:i.Z.bind(e),removeAllSlides:o.Z.bind(e)})}},8034:(e,t,a)=>{function s(e,t){const a=this,{$wrapperEl:s,params:n,activeIndex:r}=a;let i=r;n.loop&&(i-=a.loopedSlides,a.loopDestroy(),a.slides=s.children(`.${n.slideClass}`));const o=a.slides.length;if(e<=0)return void a.prependSlide(t);if(e>=o)return void a.appendSlide(t);let l=i>e?i+1:i;const c=[];for(let t=o-1;t>=e;t-=1){const e=a.slides.eq(t);e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?i+t.length:i}else s.append(t);for(let e=0;es})},8700:(e,t,a)=>{function s(e){const t=this,{$wrapperEl:a,params:s}=t;if(s.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;ts})},9501:(e,t,a)=>{function s(e){const t=this,{params:a,$wrapperEl:s,activeIndex:n}=t;a.loop&&t.loopDestroy();let r=n+1;if("object"==typeof e&&"length"in e){for(let t=0;ts})},7872:(e,t,a)=>{function s(){const e=this,t=[];for(let a=0;as})},1912:(e,t,a)=>{function s(e){const t=this,{params:a,$wrapperEl:s,activeIndex:n}=t;let r=n;a.loop&&(r-=t.loopedSlides,t.loopDestroy(),t.slides=s.children(`.${a.slideClass}`));let i,o=r;if("object"==typeof e&&"length"in e){for(let a=0;as})},4010:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(1936),n=a(2166),r=a(3710);function i({swiper:e,extendParams:t,on:a,emit:i}){const o=(0,s.Jj)();let l;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let c,d=(0,r.zO)();const p=[];function u(){e.enabled&&(e.mouseEntered=!0)}function f(){e.enabled&&(e.mouseEntered=!1)}function h(t){return!(e.params.mousewheel.thresholdDelta&&t.delta=6&&(0,r.zO)()-d<60||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),i("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),i("scroll",t.raw)),d=(new o.Date).getTime(),!1)))}function m(t){let a=t,s=!0;if(!e.enabled)return;const o=e.params.mousewheel;e.params.cssMode&&a.preventDefault();let d=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(d=(0,n.Z)(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!d[0].contains(a.target)&&!o.releaseOnEdges)return!0;a.originalEvent&&(a=a.originalEvent);let u=0;const f=e.rtlTranslate?-1:1,m=function(e){let t=0,a=0,s=0,n=0;return"detail"in e&&(a=e.detail),"wheelDelta"in e&&(a=-e.wheelDelta/120),"wheelDeltaY"in e&&(a=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=a,a=0),s=10*t,n=10*a,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(s=e.deltaX),e.shiftKey&&!s&&(s=n,n=0),(s||n)&&e.deltaMode&&(1===e.deltaMode?(s*=40,n*=40):(s*=800,n*=800)),s&&!t&&(t=s<1?-1:1),n&&!a&&(a=n<1?-1:1),{spinX:t,spinY:a,pixelX:s,pixelY:n}}(a);if(o.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(m.pixelX)>Math.abs(m.pixelY)))return!0;u=-m.pixelX*f}else{if(!(Math.abs(m.pixelY)>Math.abs(m.pixelX)))return!0;u=-m.pixelY}else u=Math.abs(m.pixelX)>Math.abs(m.pixelY)?-m.pixelX*f:-m.pixelY;if(0===u)return!0;o.invert&&(u=-u);let g=e.getTranslate()+u*o.sensitivity;if(g>=e.minTranslate()&&(g=e.minTranslate()),g<=e.maxTranslate()&&(g=e.maxTranslate()),s=!!e.params.loop||!(g===e.minTranslate()||g===e.maxTranslate()),s&&e.params.nested&&a.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:(0,r.zO)(),delta:Math.abs(u),direction:Math.sign(u)},s=c&&t.time=e.minTranslate()&&(n=e.minTranslate()),n<=e.maxTranslate()&&(n=e.maxTranslate()),e.setTransition(0),e.setTranslate(n),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!d&&e.isBeginning||!f&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(l),l=void 0,p.length>=15&&p.shift();const a=p.length?p[p.length-1]:void 0,s=p[0];if(p.push(t),a&&(t.delta>a.delta||t.direction!==a.direction))p.splice(0);else if(p.length>=15&&t.time-s.time<500&&s.delta-t.delta>=1&&t.delta<=6){const a=u>0?.8:.2;c=t,p.splice(0),l=(0,r.Y3)((()=>{e.slideToClosest(e.params.speed,!0,void 0,a)}),0)}l||(l=(0,r.Y3)((()=>{c=t,p.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)}),500))}if(s||i("scroll",a),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),n===e.minTranslate()||n===e.maxTranslate())return!0}}else{const a={time:(0,r.zO)(),delta:Math.abs(u),direction:Math.sign(u),raw:t};p.length>=2&&p.shift();const s=p.length?p[p.length-1]:void 0;if(p.push(a),s?(a.direction!==s.direction||a.delta>s.delta||a.time>s.time+150)&&h(a):h(a),function(t){const a=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&a.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&a.releaseOnEdges)return!0;return!1}(a))return!0}return a.preventDefault?a.preventDefault():a.returnValue=!1,!1}function g(t){let a=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(a=(0,n.Z)(e.params.mousewheel.eventsTarget)),a[t]("mouseenter",u),a[t]("mouseleave",f),a[t]("wheel",m)}function v(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",m),!0):!e.mousewheel.enabled&&(g("on"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,m),!0):!!e.mousewheel.enabled&&(g("off"),e.mousewheel.enabled=!1,!0)}a("init",(()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&v()})),a("destroy",(()=>{e.params.cssMode&&v(),e.mousewheel.enabled&&w()})),Object.assign(e.mousewheel,{enable:v,disable:w})}},6615:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(5438),n=a(2166);function r({swiper:e,extendParams:t,on:a,emit:r}){function i(t){let a;return t&&(a=(0,n.Z)(t),e.params.uniqueNavElements&&"string"==typeof t&&a.length>1&&1===e.$el.find(t).length&&(a=e.$el.find(t))),a}function o(t,a){const s=e.params.navigation;t&&t.length>0&&(t[a?"addClass":"removeClass"](s.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=a),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](s.lockClass))}function l(){if(e.params.loop)return;const{$nextEl:t,$prevEl:a}=e.navigation;o(a,e.isBeginning&&!e.params.rewind),o(t,e.isEnd&&!e.params.rewind)}function c(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function d(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function p(){const t=e.params.navigation;if(e.params.navigation=(0,s.Z)(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const a=i(t.nextEl),n=i(t.prevEl);a&&a.length>0&&a.on("click",d),n&&n.length>0&&n.on("click",c),Object.assign(e.navigation,{$nextEl:a,nextEl:a&&a[0],$prevEl:n,prevEl:n&&n[0]}),e.enabled||(a&&a.addClass(t.lockClass),n&&n.addClass(t.lockClass))}function u(){const{$nextEl:t,$prevEl:a}=e.navigation;t&&t.length&&(t.off("click",d),t.removeClass(e.params.navigation.disabledClass)),a&&a.length&&(a.off("click",c),a.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},a("init",(()=>{!1===e.params.navigation.enabled?f():(p(),l())})),a("toEdge fromEdge lock unlock",(()=>{l()})),a("destroy",(()=>{u()})),a("enable disable",(()=>{const{$nextEl:t,$prevEl:a}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),a&&a[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),a("click",((t,a)=>{const{$nextEl:s,$prevEl:i}=e.navigation,o=a.target;if(e.params.navigation.hideOnClick&&!(0,n.Z)(o).is(i)&&!(0,n.Z)(o).is(s)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===o||e.pagination.el.contains(o)))return;let t;s?t=s.hasClass(e.params.navigation.hiddenClass):i&&(t=i.hasClass(e.params.navigation.hiddenClass)),r(!0===t?"navigationShow":"navigationHide"),s&&s.toggleClass(e.params.navigation.hiddenClass),i&&i.toggleClass(e.params.navigation.hiddenClass)}}));const f=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),u()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),p(),l()},disable:f,update:l,init:p,destroy:u})}},1852:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(2166),n=a(1443),r=a(5438);function i({swiper:e,extendParams:t,on:a,emit:i}){const o="swiper-pagination";let l;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let c=0;function d(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function p(t,a){const{bulletActiveClass:s}=e.params.pagination;t[a]().addClass(`${s}-${a}`)[a]().addClass(`${s}-${a}-${a}`)}function u(){const t=e.rtl,a=e.params.pagination;if(d())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,o=e.pagination.$el;let u;const f=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),u>r-1-2*e.loopedSlides&&(u-=r-2*e.loopedSlides),u>f-1&&(u-=f),u<0&&"bullets"!==e.params.paginationType&&(u=f+u)):u=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===a.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const n=e.pagination.bullets;let r,i,d;if(a.dynamicBullets&&(l=n.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(e.isHorizontal()?"width":"height",l*(a.dynamicMainBullets+4)+"px"),a.dynamicMainBullets>1&&void 0!==e.previousIndex&&(c+=u-(e.previousIndex-e.loopedSlides||0),c>a.dynamicMainBullets-1?c=a.dynamicMainBullets-1:c<0&&(c=0)),r=Math.max(u-c,0),i=r+(Math.min(n.length,a.dynamicMainBullets)-1),d=(i+r)/2),n.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${a.bulletActiveClass}${e}`)).join(" ")),o.length>1)n.each((e=>{const t=(0,s.Z)(e),n=t.index();n===u&&t.addClass(a.bulletActiveClass),a.dynamicBullets&&(n>=r&&n<=i&&t.addClass(`${a.bulletActiveClass}-main`),n===r&&p(t,"prev"),n===i&&p(t,"next"))}));else{const t=n.eq(u),s=t.index();if(t.addClass(a.bulletActiveClass),a.dynamicBullets){const t=n.eq(r),o=n.eq(i);for(let e=r;e<=i;e+=1)n.eq(e).addClass(`${a.bulletActiveClass}-main`);if(e.params.loop)if(s>=n.length){for(let e=a.dynamicMainBullets;e>=0;e-=1)n.eq(n.length-e).addClass(`${a.bulletActiveClass}-main`);n.eq(n.length-a.dynamicMainBullets-1).addClass(`${a.bulletActiveClass}-prev`)}else p(t,"prev"),p(o,"next");else p(t,"prev"),p(o,"next")}}if(a.dynamicBullets){const s=Math.min(n.length,a.dynamicMainBullets+4),r=(l*s-l)/2-d*l,i=t?"right":"left";n.css(e.isHorizontal()?i:"top",`${r}px`)}}if("fraction"===a.type&&(o.find((0,n.Z)(a.currentClass)).text(a.formatFractionCurrent(u+1)),o.find((0,n.Z)(a.totalClass)).text(a.formatFractionTotal(f))),"progressbar"===a.type){let t;t=a.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const s=(u+1)/f;let r=1,i=1;"horizontal"===t?r=s:i=s,o.find((0,n.Z)(a.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${i})`).transition(e.params.speed)}"custom"===a.type&&a.renderCustom?(o.html(a.renderCustom(e,u+1,f)),i("paginationRender",o[0])):i("paginationUpdate",o[0]),e.params.watchOverflow&&e.enabled&&o[e.isLocked?"addClass":"removeClass"](a.lockClass)}function f(){const t=e.params.pagination;if(d())return;const a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,s=e.pagination.$el;let r="";if("bullets"===t.type){let i=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&i>a&&(i=a);for(let a=0;a`;s.html(r),e.pagination.bullets=s.find((0,n.Z)(t.bulletClass))}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):` / `,s.html(r)),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):``,s.html(r)),"custom"!==t.type&&i("paginationRender",e.pagination.$el[0])}function h(){e.params.pagination=(0,r.Z)(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let a=(0,s.Z)(t.el);0!==a.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&a.length>1&&(a=e.$el.find(t.el),a.length>1&&(a=a.filter((t=>(0,s.Z)(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&a.addClass(t.clickableClass),a.addClass(t.modifierClass+t.type),a.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(a.addClass(`${t.modifierClass}${t.type}-dynamic`),c=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&a.addClass(t.progressbarOppositeClass),t.clickable&&a.on("click",(0,n.Z)(t.bulletClass),(function(t){t.preventDefault();let a=(0,s.Z)(this).index()*e.params.slidesPerGroup;e.params.loop&&(a+=e.loopedSlides),e.slideTo(a)})),Object.assign(e.pagination,{$el:a,el:a[0]}),e.enabled||a.addClass(t.lockClass))}function m(){const t=e.params.pagination;if(d())return;const a=e.pagination.$el;a.removeClass(t.hiddenClass),a.removeClass(t.modifierClass+t.type),a.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&a.off("click",(0,n.Z)(t.bulletClass))}a("init",(()=>{!1===e.params.pagination.enabled?g():(h(),f(),u())})),a("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&u()})),a("snapIndexChange",(()=>{e.params.loop||u()})),a("slidesLengthChange",(()=>{e.params.loop&&(f(),u())})),a("snapGridLengthChange",(()=>{e.params.loop||(f(),u())})),a("destroy",(()=>{m()})),a("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),a("lock unlock",(()=>{u()})),a("click",((t,a)=>{const n=a.target,{$el:r}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&r&&r.length>0&&!(0,s.Z)(n).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&n===e.navigation.nextEl||e.navigation.prevEl&&n===e.navigation.prevEl))return;const t=r.hasClass(e.params.pagination.hiddenClass);i(!0===t?"paginationShow":"paginationHide"),r.toggleClass(e.params.pagination.hiddenClass)}}));const g=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),m()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),h(),f(),u()},disable:g,render:f,update:u,init:h,destroy:m})}},19:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(2166);function n({swiper:e,extendParams:t,on:a}){t({parallax:{enabled:!1}});const n=(t,a)=>{const{rtl:n}=e,r=(0,s.Z)(t),i=n?-1:1,o=r.attr("data-swiper-parallax")||"0";let l=r.attr("data-swiper-parallax-x"),c=r.attr("data-swiper-parallax-y");const d=r.attr("data-swiper-parallax-scale"),p=r.attr("data-swiper-parallax-opacity");if(l||c?(l=l||"0",c=c||"0"):e.isHorizontal()?(l=o,c="0"):(c=o,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*a*i+"%":l*a*i+"px",c=c.indexOf("%")>=0?parseInt(c,10)*a+"%":c*a+"px",null!=p){const e=p-(p-1)*(1-Math.abs(a));r[0].style.opacity=e}if(null==d)r.transform(`translate3d(${l}, ${c}, 0px)`);else{const e=d-(d-1)*(1-Math.abs(a));r.transform(`translate3d(${l}, ${c}, 0px) scale(${e})`)}},r=()=>{const{$el:t,slides:a,progress:r,snapGrid:i}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{n(e,r)})),a.each(((t,a)=>{let o=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(o+=Math.ceil(a/2)-r*(i.length-1)),o=Math.min(Math.max(o,-1),1),(0,s.Z)(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{n(e,o)}))}))};a("beforeInit",(()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)})),a("init",(()=>{e.params.parallax.enabled&&r()})),a("setTranslate",(()=>{e.params.parallax.enabled&&r()})),a("setTransition",((t,a)=>{e.params.parallax.enabled&&((t=e.params.speed)=>{const{$el:a}=e;a.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{const a=(0,s.Z)(e);let n=parseInt(a.attr("data-swiper-parallax-duration"),10)||t;0===t&&(n=0),a.transition(n)}))})(a)}))}},3043:(e,t,a)=>{a.d(t,{Z:()=>o});var s=a(1936),n=a(2166),r=a(3710),i=a(5438);function o({swiper:e,extendParams:t,on:a,emit:o}){const l=(0,s.Me)();let c,d,p,u,f=!1,h=null,m=null;function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:a,progress:s}=e,{$dragEl:n,$el:r}=t,i=e.params.scrollbar;let o=d,l=(p-d)*s;a?(l=-l,l>0?(o=d-l,l=0):-l+d>p&&(o=p+l)):l<0?(o=d+l,l=0):l+d>p&&(o=p-l),e.isHorizontal()?(n.transform(`translate3d(${l}px, 0, 0)`),n[0].style.width=`${o}px`):(n.transform(`translate3d(0px, ${l}px, 0)`),n[0].style.height=`${o}px`),i.hide&&(clearTimeout(h),r[0].style.opacity=1,h=setTimeout((()=>{r[0].style.opacity=0,r.transition(400)}),1e3))}function v(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:a,$el:s}=t;a[0].style.width="",a[0].style.height="",p=e.isHorizontal()?s[0].offsetWidth:s[0].offsetHeight,u=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),d="auto"===e.params.scrollbar.dragSize?p*u:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?a[0].style.width=`${d}px`:a[0].style.height=`${d}px`,s[0].style.display=u>=1?"none":"",e.params.scrollbar.hide&&(s[0].style.opacity=0),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}function w(t){return e.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY}function b(t){const{scrollbar:a,rtlTranslate:s}=e,{$el:n}=a;let r;r=(w(t)-n.offset()[e.isHorizontal()?"left":"top"]-(null!==c?c:d/2))/(p-d),r=Math.max(Math.min(r,1),0),s&&(r=1-r);const i=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*r;e.updateProgress(i),e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}function y(t){const a=e.params.scrollbar,{scrollbar:s,$wrapperEl:n}=e,{$el:r,$dragEl:i}=s;f=!0,c=t.target===i[0]||t.target===i?w(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),n.transition(100),i.transition(100),b(t),clearTimeout(m),r.transition(0),a.hide&&r.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),o("scrollbarDragStart",t)}function E(t){const{scrollbar:a,$wrapperEl:s}=e,{$el:n,$dragEl:r}=a;f&&(t.preventDefault?t.preventDefault():t.returnValue=!1,b(t),s.transition(0),n.transition(0),r.transition(0),o("scrollbarDragMove",t))}function x(t){const a=e.params.scrollbar,{scrollbar:s,$wrapperEl:n}=e,{$el:i}=s;f&&(f=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),n.transition("")),a.hide&&(clearTimeout(m),m=(0,r.Y3)((()=>{i.css("opacity",0),i.transition(400)}),1e3)),o("scrollbarDragEnd",t),a.snapOnRelease&&e.slideToClosest())}function C(t){const{scrollbar:a,touchEventsTouch:s,touchEventsDesktop:n,params:r,support:i}=e,o=a.$el;if(!o)return;const c=o[0],d=!(!i.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},p=!(!i.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};if(!c)return;const u="on"===t?"addEventListener":"removeEventListener";i.touch?(c[u](s.start,y,d),c[u](s.move,E,d),c[u](s.end,x,p)):(c[u](n.start,y,d),l[u](n.move,E,d),l[u](n.end,x,p))}function S(){const{scrollbar:t,$el:a}=e;e.params.scrollbar=(0,i.Z)(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const s=e.params.scrollbar;if(!s.el)return;let r=(0,n.Z)(s.el);e.params.uniqueNavElements&&"string"==typeof s.el&&r.length>1&&1===a.find(s.el).length&&(r=a.find(s.el)),r.addClass(e.isHorizontal()?s.horizontalClass:s.verticalClass);let o=r.find(`.${e.params.scrollbar.dragClass}`);0===o.length&&(o=(0,n.Z)(`
`),r.append(o)),Object.assign(t,{$el:r,el:r[0],$dragEl:o,dragEl:o[0]}),s.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&C("on"),r&&r[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}function T(){const t=e.params.scrollbar,a=e.scrollbar.$el;a&&a.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.params.scrollbar.el&&e.scrollbar.el&&C("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},a("init",(()=>{!1===e.params.scrollbar.enabled?$():(S(),v(),g())})),a("update resize observerUpdate lock unlock",(()=>{v()})),a("setTranslate",(()=>{g()})),a("setTransition",((t,a)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&e.scrollbar.$dragEl.transition(t)}(a)})),a("enable disable",(()=>{const{$el:t}=e.scrollbar;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)})),a("destroy",(()=>{T()}));const $=()=>{e.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),T()};Object.assign(e.scrollbar,{enable:()=>{e.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),S(),v(),g()},disable:$,updateSize:v,setTranslate:g,init:S,destroy:T})}},3117:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(3710),n=a(2166);function r({swiper:e,extendParams:t,on:a}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,i=!1;function o(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const a=t.clickedIndex,s=t.clickedSlide;if(s&&(0,n.Z)(s).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==a)return;let r;if(r=t.params.loop?parseInt((0,n.Z)(t.clickedSlide).attr("data-swiper-slide-index"),10):a,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const a=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${r}"]`).eq(0).index(),s=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${r}"]`).eq(0).index();r=void 0===a?s:void 0===s?a:s-t1&&!e.params.centeredSlides&&(n=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(n=1),n=Math.floor(n),a.slides.removeClass(r),a.params.loop||a.params.virtual&&a.params.virtual.enabled)for(let t=0;t1?s:l:s-le.previousIndex?"next":"prev"}else n=e.realIndex,r=n>e.previousIndex?"next":"prev";o&&(n+="next"===r?i:-1*i),a.visibleSlidesIndexes&&a.visibleSlidesIndexes.indexOf(n)<0&&(a.params.centeredSlides?n=n>l?n-Math.floor(s/2)+1:n+Math.floor(s/2)-1:n>l&&a.params.slidesPerGroup,a.slideTo(n,t?0:void 0))}}e.thumbs={swiper:null},a("beforeInit",(()=>{const{thumbs:t}=e.params;t&&t.swiper&&(l(),c(!0))})),a("slideChange update resize observerUpdate",(()=>{c()})),a("setTransition",((t,a)=>{const s=e.thumbs.swiper;s&&!s.destroyed&&s.setTransition(a)})),a("beforeDestroy",(()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&i&&t.destroy()})),Object.assign(e.thumbs,{init:l,update:c})}},6118:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(2166),n=a(3710);function r({swiper:e,extendParams:t,on:a,emit:r}){let i;function o(t,a){const n=e.params.virtual;if(n.cache&&e.virtual.cache[a])return e.virtual.cache[a];const r=n.renderSlide?(0,s.Z)(n.renderSlide.call(e,t,a)):(0,s.Z)(`
${t}
`);return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",a),n.cache&&(e.virtual.cache[a]=r),r}function l(t){const{slidesPerView:a,slidesPerGroup:s,centeredSlides:n}=e.params,{addSlidesBefore:i,addSlidesAfter:l}=e.params.virtual,{from:c,to:d,slides:p,slidesGrid:u,offset:f}=e.virtual;e.params.cssMode||e.updateActiveIndex();const h=e.activeIndex||0;let m,g,v;m=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",n?(g=Math.floor(a/2)+s+l,v=Math.floor(a/2)+s+i):(g=a+(s-1)+l,v=s+i);const w=Math.max((h||0)-v,0),b=Math.min((h||0)+g,p.length-1),y=(e.slidesGrid[w]||0)-(e.slidesGrid[0]||0);function E(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),r("virtualUpdate")}if(Object.assign(e.virtual,{from:w,to:b,offset:y,slidesGrid:e.slidesGrid}),c===w&&d===b&&!t)return e.slidesGrid!==u&&y!==f&&e.slides.css(m,`${y}px`),e.updateProgress(),void r("virtualUpdate");if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:y,from:w,to:b,slides:function(){const e=[];for(let t=w;t<=b;t+=1)e.push(p[t]);return e}()}),void(e.params.virtual.renderExternalUpdate?E():r("virtualUpdate"));const x=[],C=[];if(t)e.$wrapperEl.find(`.${e.params.slideClass}`).remove();else for(let t=c;t<=d;t+=1)(tb)&&e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`).remove();for(let e=0;e=w&&e<=b&&(void 0===d||t?C.push(e):(e>d&&C.push(e),e{e.$wrapperEl.append(o(p[t],t))})),x.sort(((e,t)=>t-e)).forEach((t=>{e.$wrapperEl.prepend(o(p[t],t))})),e.$wrapperEl.children(".swiper-slide").css(m,`${y}px`),E()}t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},a("beforeInit",(()=>{e.params.virtual.enabled&&(e.virtual.slides=e.params.virtual.slides,e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,e.params.initialSlide||l())})),a("setTranslate",(()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(i),i=setTimeout((()=>{l()}),100)):l())})),a("init update resize",(()=>{e.params.virtual.enabled&&e.params.cssMode&&(0,n.z2)(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)})),Object.assign(e.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let a=0;a{const s=t[e],r=s.attr("data-swiper-slide-index");r&&s.attr("data-swiper-slide-index",parseInt(r,10)+n),a[parseInt(e,10)+n]=s})),e.virtual.cache=a}l(!0),e.slideTo(s,0)},removeSlide:function(t){if(null==t)return;let a=e.activeIndex;if(Array.isArray(t))for(let s=t.length-1;s>=0;s-=1)e.virtual.slides.splice(t[s],1),e.params.virtual.cache&&delete e.virtual.cache[t[s]],t[s]{a.d(t,{Z:()=>i});var s=a(1936),n=a(2166),r=a(3710);function i({swiper:e,extendParams:t,on:a,emit:i}){const o=(0,s.Jj)();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let l,c,d,p=1,u=!1;const f={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},h={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},m={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let g=1;function v(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,a=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,n=e.targetTouches[1].pageY;return Math.sqrt((s-t)**2+(n-a)**2)}function w(t){const a=e.support,s=e.params.zoom;if(c=!1,d=!1,!a.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;c=!0,f.scaleStart=v(t)}f.$slideEl&&f.$slideEl.length||(f.$slideEl=(0,n.Z)(t.target).closest(`.${e.params.slideClass}`),0===f.$slideEl.length&&(f.$slideEl=e.slides.eq(e.activeIndex)),f.$imageEl=f.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),f.$imageWrapEl=f.$imageEl.parent(`.${s.containerClass}`),f.maxRatio=f.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,0!==f.$imageWrapEl.length)?(f.$imageEl&&f.$imageEl.transition(0),u=!0):f.$imageEl=void 0}function b(t){const a=e.support,s=e.params.zoom,n=e.zoom;if(!a.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;d=!0,f.scaleMove=v(t)}f.$imageEl&&0!==f.$imageEl.length?(a.gestures?n.scale=t.scale*p:n.scale=f.scaleMove/f.scaleStart*p,n.scale>f.maxRatio&&(n.scale=f.maxRatio-1+(n.scale-f.maxRatio+1)**.5),n.scaleh.touchesStart.x))return void(h.isTouched=!1);if(!e.isHorizontal()&&(Math.floor(h.minY)===Math.floor(h.startY)&&h.touchesCurrent.yh.touchesStart.y))return void(h.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),h.isMoved=!0,h.currentX=h.touchesCurrent.x-h.touchesStart.x+h.startX,h.currentY=h.touchesCurrent.y-h.touchesStart.y+h.startY,h.currentXh.maxX&&(h.currentX=h.maxX-1+(h.currentX-h.maxX+1)**.8),h.currentYh.maxY&&(h.currentY=h.maxY-1+(h.currentY-h.maxY+1)**.8),m.prevPositionX||(m.prevPositionX=h.touchesCurrent.x),m.prevPositionY||(m.prevPositionY=h.touchesCurrent.y),m.prevTime||(m.prevTime=Date.now()),m.x=(h.touchesCurrent.x-m.prevPositionX)/(Date.now()-m.prevTime)/2,m.y=(h.touchesCurrent.y-m.prevPositionY)/(Date.now()-m.prevTime)/2,Math.abs(h.touchesCurrent.x-m.prevPositionX)<2&&(m.x=0),Math.abs(h.touchesCurrent.y-m.prevPositionY)<2&&(m.y=0),m.prevPositionX=h.touchesCurrent.x,m.prevPositionY=h.touchesCurrent.y,m.prevTime=Date.now(),f.$imageWrapEl.transform(`translate3d(${h.currentX}px, ${h.currentY}px,0)`)}}function x(){const t=e.zoom;f.$slideEl&&e.previousIndex!==e.activeIndex&&(f.$imageEl&&f.$imageEl.transform("translate3d(0,0,0) scale(1)"),f.$imageWrapEl&&f.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,p=1,f.$slideEl=void 0,f.$imageEl=void 0,f.$imageWrapEl=void 0)}function C(t){const a=e.zoom,s=e.params.zoom;if(f.$slideEl||(t&&t.target&&(f.$slideEl=(0,n.Z)(t.target).closest(`.${e.params.slideClass}`)),f.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?f.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):f.$slideEl=e.slides.eq(e.activeIndex)),f.$imageEl=f.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),f.$imageWrapEl=f.$imageEl.parent(`.${s.containerClass}`)),!f.$imageEl||0===f.$imageEl.length||!f.$imageWrapEl||0===f.$imageWrapEl.length)return;let r,i,l,c,d,u,m,g,v,w,b,y,E,x,C,S,T,$;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),f.$slideEl.addClass(`${s.zoomedSlideClass}`),void 0===h.touchesStart.x&&t?(r="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,i="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(r=h.touchesStart.x,i=h.touchesStart.y),a.scale=f.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,p=f.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,t?(T=f.$slideEl[0].offsetWidth,$=f.$slideEl[0].offsetHeight,l=f.$slideEl.offset().left+o.scrollX,c=f.$slideEl.offset().top+o.scrollY,d=l+T/2-r,u=c+$/2-i,v=f.$imageEl[0].offsetWidth,w=f.$imageEl[0].offsetHeight,b=v*a.scale,y=w*a.scale,E=Math.min(T/2-b/2,0),x=Math.min($/2-y/2,0),C=-E,S=-x,m=d*a.scale,g=u*a.scale,mC&&(m=C),gS&&(g=S)):(m=0,g=0),f.$imageWrapEl.transition(300).transform(`translate3d(${m}px, ${g}px,0)`),f.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${a.scale})`)}function S(){const t=e.zoom,a=e.params.zoom;f.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?f.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):f.$slideEl=e.slides.eq(e.activeIndex),f.$imageEl=f.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),f.$imageWrapEl=f.$imageEl.parent(`.${a.containerClass}`)),f.$imageEl&&0!==f.$imageEl.length&&f.$imageWrapEl&&0!==f.$imageWrapEl.length&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,p=1,f.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),f.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),f.$slideEl.removeClass(`${a.zoomedSlideClass}`),f.$slideEl=void 0)}function T(t){const a=e.zoom;a.scale&&1!==a.scale?S():C(t)}function $(){const t=e.support;return{passiveListener:!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!t.passiveListener||{passive:!1,capture:!0}}}function k(){return`.${e.params.slideClass}`}function M(t){const{passiveListener:a}=$(),s=k();e.$wrapperEl[t]("gesturestart",s,w,a),e.$wrapperEl[t]("gesturechange",s,b,a),e.$wrapperEl[t]("gestureend",s,y,a)}function P(){l||(l=!0,M("on"))}function Z(){l&&(l=!1,M("off"))}function O(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const a=e.support,{passiveListener:s,activeListenerWithCapture:n}=$(),r=k();a.gestures?(e.$wrapperEl.on(e.touchEvents.start,P,s),e.$wrapperEl.on(e.touchEvents.end,Z,s)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,w,s),e.$wrapperEl.on(e.touchEvents.move,r,b,n),e.$wrapperEl.on(e.touchEvents.end,r,y,s),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,y,s)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,E,n)}function I(){const t=e.zoom;if(!t.enabled)return;const a=e.support;t.enabled=!1;const{passiveListener:s,activeListenerWithCapture:n}=$(),r=k();a.gestures?(e.$wrapperEl.off(e.touchEvents.start,P,s),e.$wrapperEl.off(e.touchEvents.end,Z,s)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,w,s),e.$wrapperEl.off(e.touchEvents.move,r,b,n),e.$wrapperEl.off(e.touchEvents.end,r,y,s),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,y,s)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,E,n)}Object.defineProperty(e.zoom,"scale",{get:()=>g,set(e){if(g!==e){const t=f.$imageEl?f.$imageEl[0]:void 0,a=f.$slideEl?f.$slideEl[0]:void 0;i("zoomChange",e,t,a)}g=e}}),a("init",(()=>{e.params.zoom.enabled&&O()})),a("destroy",(()=>{I()})),a("touchStart",((t,a)=>{e.zoom.enabled&&function(t){const a=e.device;f.$imageEl&&0!==f.$imageEl.length&&(h.isTouched||(a.android&&t.cancelable&&t.preventDefault(),h.isTouched=!0,h.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,h.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))}(a)})),a("touchEnd",((t,a)=>{e.zoom.enabled&&function(){const t=e.zoom;if(!f.$imageEl||0===f.$imageEl.length)return;if(!h.isTouched||!h.isMoved)return h.isTouched=!1,void(h.isMoved=!1);h.isTouched=!1,h.isMoved=!1;let a=300,s=300;const n=m.x*a,r=h.currentX+n,i=m.y*s,o=h.currentY+i;0!==m.x&&(a=Math.abs((r-h.currentX)/m.x)),0!==m.y&&(s=Math.abs((o-h.currentY)/m.y));const l=Math.max(a,s);h.currentX=r,h.currentY=o;const c=h.width*t.scale,d=h.height*t.scale;h.minX=Math.min(f.slideWidth/2-c/2,0),h.maxX=-h.minX,h.minY=Math.min(f.slideHeight/2-d/2,0),h.maxY=-h.minY,h.currentX=Math.max(Math.min(h.currentX,h.maxX),h.minX),h.currentY=Math.max(Math.min(h.currentY,h.maxY),h.minY),f.$imageWrapEl.transition(l).transform(`translate3d(${h.currentX}px, ${h.currentY}px,0)`)}()})),a("doubleTap",((t,a)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&T(a)})),a("transitionEnd",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&x()})),a("slideChange",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&x()})),Object.assign(e.zoom,{enable:O,disable:I,in:C,out:S,toggle:T})}},1443:(e,t,a)=>{function s(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}a.d(t,{Z:()=>s})},5438:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(1936);function n(e,t,a,n){const r=(0,s.Me)();return e.params.createElements&&Object.keys(n).forEach((s=>{if(!a[s]&&!0===a.auto){let i=e.$el.children(`.${n[s]}`)[0];i||(i=r.createElement("div"),i.className=n[s],e.$el.append(i)),a[s]=i,t[s]=i}})),a}},8865:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(2166);function n(e,t,a){const n="swiper-slide-shadow"+(a?`-${a}`:""),r=e.transformEl?t.find(e.transformEl):t;let i=r.children(`.${n}`);return i.length||(i=(0,s.Z)(`
`),r.append(i)),i}},2166:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(1545);const n={addClass:s.cn,removeClass:s.IV,hasClass:s.pv,toggleClass:s.Vj,attr:s.Lj,removeAttr:s.uV,transform:s.vs,transition:s.eR,on:s.on,off:s.S1,trigger:s.X$,transitionEnd:s.ld,outerWidth:s.iO,outerHeight:s.Pb,styles:s.W2,offset:s.cv,css:s.iv,each:s.S6,html:s.dy,text:s.fL,is:s.is,index:s.Kz,eq:s.eq,append:s.R3,prepend:s.Ce,next:s.lp,nextAll:s.eG,prev:s.mp,prevAll:s.pJ,parent:s.qm,parents:s.wV,closest:s.oq,find:s.sE,children:s.pI,filter:s.hX,remove:s.Od};Object.keys(n).forEach((e=>{Object.defineProperty(s.$.fn,e,{value:n[e],writable:!0})}));const r=s.$},1931:(e,t,a)=>{function s(e){const{effect:t,swiper:a,on:s,setTranslate:n,setTransition:r,overwriteParams:i,perspective:o,recreateShadows:l,getEffectParams:c}=e;let d;s("beforeInit",(()=>{if(a.params.effect!==t)return;a.classNames.push(`${a.params.containerModifierClass}${t}`),o&&o()&&a.classNames.push(`${a.params.containerModifierClass}3d`);const e=i?i():{};Object.assign(a.params,e),Object.assign(a.originalParams,e)})),s("setTranslate",(()=>{a.params.effect===t&&n()})),s("setTransition",((e,s)=>{a.params.effect===t&&r(s)})),s("transitionEnd",(()=>{if(a.params.effect===t&&l){if(!c||!c().slideShadows)return;a.slides.each((e=>{a.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),l()}})),s("virtualUpdate",(()=>{a.params.effect===t&&(a.slides.length||(d=!0),requestAnimationFrame((()=>{d&&a.slides&&a.slides.length&&(n(),d=!1)})))}))}a.d(t,{Z:()=>s})},3733:(e,t,a)=>{function s(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}a.d(t,{Z:()=>s})},2465:(e,t,a)=>{function s({swiper:e,duration:t,transformEl:a,allSlides:s}){const{slides:n,activeIndex:r,$wrapperEl:i}=e;if(e.params.virtualTranslate&&0!==t){let t,o=!1;t=s?a?n.find(a):n:a?n.eq(r).find(a):n.eq(r),t.transitionEnd((()=>{if(o)return;if(!e||e.destroyed)return;o=!0,e.animating=!1;const t=["webkitTransitionEnd","transitionend"];for(let e=0;es})},876:(e,t,a)=>{a.d(t,{q:()=>r});var s=a(1936);let n;function r(){return n||(n=function(){const e=(0,s.Jj)();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),n}},4873:(e,t,a)=>{a.d(t,{_:()=>i});var s=a(1936),n=a(8680);let r;function i(e={}){return r||(r=function({userAgent:e}={}){const t=(0,n.C)(),a=(0,s.Jj)(),r=a.navigator.platform,i=e||a.navigator.userAgent,o={ios:!1,android:!1},l=a.screen.width,c=a.screen.height,d=i.match(/(Android);?[\s\/]+([\d.]+)?/);let p=i.match(/(iPad).*OS\s([\d_]+)/);const u=i.match(/(iPod)(.*OS\s([\d_]+))?/),f=!p&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===r;let m="MacIntel"===r;return!p&&m&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${c}`)>=0&&(p=i.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),m=!1),d&&!h&&(o.os="android",o.android=!0),(p||f||u)&&(o.os="ios",o.ios=!0),o}(e)),r}},8680:(e,t,a)=>{a.d(t,{C:()=>r});var s=a(1936);let n;function r(){return n||(n=function(){const e=(0,s.Jj)(),t=(0,s.Me)();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const a=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,a)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),n}},3710:(e,t,a)=>{a.d(t,{Kn:()=>l,R6:()=>o,Y3:()=>r,cP:()=>n,l7:()=>c,x2:()=>p,z2:()=>d,zO:()=>i});var s=a(1936);function n(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function r(e,t=0){return setTimeout(e,t)}function i(){return Date.now()}function o(e,t="x"){const a=(0,s.Jj)();let n,r,i;const o=function(e){const t=(0,s.Jj)();let a;return t.getComputedStyle&&(a=t.getComputedStyle(e,null)),!a&&e.currentStyle&&(a=e.currentStyle),a||(a=e.style),a}(e);return a.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),i=new a.WebKitCSSMatrix("none"===r?"":r)):(i=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=i.toString().split(",")),"x"===t&&(r=a.WebKitCSSMatrix?i.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=a.WebKitCSSMatrix?i.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function c(...e){const t=Object(e[0]),a=["__proto__","constructor","prototype"];for(let n=1;na.indexOf(e)<0));for(let a=0,s=e.length;ar?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,p=()=>{i=(new Date).getTime(),null===o&&(o=i);const s=Math.max(Math.min((i-o)/l,1),0),c=.5-Math.cos(s*Math.PI)/2;let u=r+c*(t-r);if(d(u,t)&&(u=t),e.wrapperEl.scrollTo({[a]:u}),d(u,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[a]:u})})),void n.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=n.requestAnimationFrame(p)};p()}},9938:(e,t,a)=>{a.d(t,{Z:()=>s.Z});var s=a(3020),n=a(6118),r=a(1558),i=a(4010),o=a(6615),l=a(1852),c=a(3043),d=a(19),p=a(8584),u=a(3689),f=a(2585),h=a(3389),m=a(574),g=a(954),v=a(867),w=a(3117),b=a(5440),y=a(8997),E=a(6263),x=a(7456),C=a(1771),S=a(371),T=a(6473),$=a(5980),k=a(2072);const M=[n.Z,r.Z,i.Z,o.Z,l.Z,c.Z,d.Z,p.Z,u.Z,f.Z,h.Z,m.Z,g.Z,v.Z,w.Z,b.Z,y.Z,E.Z,x.Z,C.Z,S.Z,T.Z,$.Z,k.Z];s.Z.use(M)},8501:e=>{e.exports=JSON.parse('{"name":"homepage-articles","category":"newspack","attributes":{"className":{"type":"string","default":""},"showExcerpt":{"type":"boolean","default":true},"excerptLength":{"type":"number","default":55},"showReadMore":{"type":"boolean","default":false},"readMoreLabel":{"type":"string","default":"Keep reading"},"showDate":{"type":"boolean","default":true},"showImage":{"type":"boolean","default":true},"showCaption":{"type":"boolean","default":false},"showCredit":{"type":"boolean","default":false},"disableImageLazyLoad":{"type":"boolean","default":false},"fetchPriority":{"type":"string","default":""},"imageShape":{"type":"string","default":"landscape"},"minHeight":{"type":"integer","default":0},"moreButton":{"type":"boolean","default":false},"moreButtonText":{"type":"string","default":""},"showAuthor":{"type":"boolean","default":true},"showAvatar":{"type":"boolean","default":true},"showCategory":{"type":"boolean","default":false},"postLayout":{"type":"string","default":"list"},"columns":{"type":"integer","default":3},"colGap":{"type":"integer","default":3},"postsToShow":{"type":"integer","default":3},"mediaPosition":{"type":"string","default":"top"},"authors":{"type":"array","default":[],"items":{"type":"integer"}},"categories":{"type":"array","default":[],"items":{"type":"integer"}},"includeSubcategories":{"type":"boolean","default":true},"tags":{"type":"array","default":[],"items":{"type":"integer"}},"customTaxonomies":{"type":"array","default":[],"items":{"type":"object","properties":{"slug":{"type":"string"},"terms":{"type":"array","items":{"type":"integer"}}}}},"tagExclusions":{"type":"array","default":[],"items":{"type":"integer"}},"categoryExclusions":{"type":"array","default":[],"items":{"type":"integer"}},"customTaxonomyExclusions":{"type":"array","default":[],"items":{"type":"object","properties":{"slug":{"type":"string"},"terms":{"type":"array","items":{"type":"integer"}}}}},"specificPosts":{"type":"array","default":[],"items":{"type":"integer"}},"typeScale":{"type":"integer","default":4},"imageScale":{"type":"integer","default":3},"mobileStack":{"type":"boolean","default":false},"sectionHeader":{"type":"string","default":""},"specificMode":{"type":"boolean","default":false},"textColor":{"type":"string","default":""},"customTextColor":{"type":"string","default":""},"singleMode":{"type":"boolean","default":false},"showSubtitle":{"type":"boolean","default":false},"postType":{"type":"array","default":["post"],"items":{"type":"string"}},"textAlign":{"type":"string","default":"left"},"includedPostStatuses":{"type":"array","default":["publish"],"items":{"type":"string"}},"deduplicate":{"type":"boolean","default":true}}}')}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e](a,a.exports,i),a.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var a in t)i.o(t,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e=i(4981),t=i(2694),a=i(2634),s=i(5977),(0,t.addFilter)("blocks.transforms_from_name","set-transformed-block-name",(function(e){return"newspack-blocks/carousel"!==e?e:a.T})),(0,e.registerBlockType)(a.T,{...s.Xd,category:"widgets"})})(); \ No newline at end of file +__("Excluded %s","jetpack-mu-wpcom"),e),onChange:e=>$(E,x,t,e),tokens:k(E,t)}))))))}}f.defaultProps={enableSpecific:!0,specificPosts:[],authors:[],categories:[],tags:[],customTaxonomies:[],tagExclusions:[],customTaxonomyExclusions:[]};const h=f},260:(e,t,a)=>{a.d(t,{FX:()=>i,Q$:()=>l,b2:()=>o,fC:()=>c,lW:()=>r});var s=a(69307),n=a(65736);const _x=n._x,__=n.__,r=e=>e.map((e=>React.createElement("span",{className:"avatar author-avatar",key:e.id},React.createElement("a",{className:"url fn n",href:e.author_link},React.createElement(s.RawHTML,null,e.avatar))))),i=e=>React.createElement("span",{className:"byline"},React.createElement("span",{className:"author-prefix"},_x("by","post author","jetpack-mu-wpcom"))," ",e.reduce(((t,a,s)=>[...t,React.createElement("span",{className:"author vcard",key:a.id},React.createElement("a",{className:"url fn n",href:a.author_link},a.display_name)),s1&&s===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),o=e=>React.createElement("span",{className:"sponsor-logos"},e.map((e=>React.createElement(s.Fragment,{key:e.id},e.src&&React.createElement("a",{href:e.sponsor_url},React.createElement("img",{src:e.src,width:e.img_width,height:e.img_height,alt:e.sponsor_name})))))),l=e=>React.createElement("span",{className:"byline sponsor-byline"},e[0].byline_prefix," ",e.reduce(((t,a,s)=>[...t,React.createElement("span",{className:"author",key:a.id},React.createElement("a",{href:a.author_link},a.sponsor_name)),s1&&s===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),c=(e={})=>"publish"!==e.post_status?React.createElement("div",{className:"newspack-preview-label"},{draft:__("Draft","jetpack-mu-wpcom"),future:__("Scheduled","jetpack-mu-wpcom")}[e.post_status]):null},92819:e=>{e.exports=window.lodash},25158:e=>{e.exports=window.wp.a11y},86989:e=>{e.exports=window.wp.apiFetch},52175:e=>{e.exports=window.wp.blockEditor},4981:e=>{e.exports=window.wp.blocks},55609:e=>{e.exports=window.wp.components},94333:e=>{e.exports=window.wp.compose},9818:e=>{e.exports=window.wp.data},69771:e=>{e.exports=window.wp.date},69307:e=>{e.exports=window.wp.element},81975:e=>{e.exports=window.wp.escapeHtml},92694:e=>{e.exports=window.wp.hooks},22629:e=>{e.exports=window.wp.htmlEntities},65736:e=>{e.exports=window.wp.i18n},96483:e=>{e.exports=window.wp.url},62650:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(59800);function n(e,t,a){return(t=(0,s.Z)(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}},80255:(e,t,a)=>{function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;ts})},38617:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(62650);function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,s)}return a}function r(e){for(var t=1;t{function s(e,t){if(null==e)return{};var a={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(t.indexOf(s)>=0)continue;a[s]=e[s]}return a}a.d(t,{Z:()=>s})},18191:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(57381);function n(e,t){if("object"!=(0,s.Z)(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=(0,s.Z)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},59800:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(57381),n=a(18191);function r(e){var t=(0,n.Z)(e,"string");return"symbol"==(0,s.Z)(t)?t:t+""}},57381:(e,t,a)=>{function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}a.d(t,{Z:()=>s})},3228:(e,t,a)=>{function s(e){var t,a,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;tn});const n=function(){for(var e,t,a=0,n="",r=arguments.length;a{a.d(t,{$:()=>o,Ce:()=>R,IV:()=>c,Kz:()=>Z,Lj:()=>u,Od:()=>G,Pb:()=>E,R3:()=>I,S1:()=>v,S6:()=>T,Vj:()=>d,W2:()=>C,X$:()=>w,cn:()=>l,cv:()=>x,dy:()=>k,eG:()=>_,eR:()=>m,eq:()=>O,fL:()=>M,hX:()=>$,iO:()=>y,is:()=>P,iv:()=>S,ld:()=>b,lp:()=>z,mp:()=>A,on:()=>g,oq:()=>D,pI:()=>H,pJ:()=>L,pv:()=>p,qm:()=>j,sE:()=>B,uV:()=>f,vs:()=>h,wV:()=>N});var s=a(41936);class n extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function r(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...r(e)):t.push(e)})),t}function i(e,t){return Array.prototype.filter.call(e,t)}function o(e,t){const a=(0,s.Jj)(),r=(0,s.Me)();let i=[];if(!t&&e instanceof n)return e;if(!e)return new n(i);if("string"==typeof e){const a=e.trim();if(a.indexOf("<")>=0&&a.indexOf(">")>=0){let e="div";0===a.indexOf("e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this}function c(...e){const t=r(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this}function d(...e){const t=r(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))}function p(...e){const t=r(e.map((e=>e.split(" "))));return i(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0}function u(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let a=0;a=0;e-=1){const a=i[e];s&&a.listener===s||s&&a.listener&&a.listener.dom7proxy&&a.listener.dom7proxy===s?(r.removeEventListener(t,a.proxyListener,n),i.splice(e,1)):s||(r.removeEventListener(t,a.proxyListener,n),i.splice(e,1))}}}return this}function w(...e){const t=(0,s.Jj)(),a=e[0].split(" "),n=e[1];for(let s=0;st>0)),s.dispatchEvent(a),s.dom7EventData=[],delete s.dom7EventData}}}return this}function b(e){const t=this;return e&&t.on("transitionend",(function a(s){s.target===this&&(e.call(this,s),t.off("transitionend",a))})),this}function y(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function E(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function x(){if(this.length>0){const e=(0,s.Jj)(),t=(0,s.Me)(),a=this[0],n=a.getBoundingClientRect(),r=t.body,i=a.clientTop||r.clientTop||0,o=a.clientLeft||r.clientLeft||0,l=a===e?e.scrollY:a.scrollTop,c=a===e?e.scrollX:a.scrollLeft;return{top:n.top+l-i,left:n.left+c-o}}return null}function C(){const e=(0,s.Jj)();return this[0]?e.getComputedStyle(this[0],null):{}}function S(e,t){const a=(0,s.Jj)();let n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n{e.apply(t,[t,a])})),this):this}function $(e){return o(i(this,e))}function k(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;tt-1)return o([]);if(e<0){const a=t+e;return o(a<0?[]:[this[a]])}return o([this[e]])}function I(...e){let t;const a=(0,s.Me)();for(let s=0;s=0;r-=1)this[a].insertBefore(s.childNodes[r],this[a].childNodes[0])}else if(e instanceof n)for(r=0;r0?e?this[0].nextElementSibling&&o(this[0].nextElementSibling).is(e)?o([this[0].nextElementSibling]):o([]):this[0].nextElementSibling?o([this[0].nextElementSibling]):o([]):o([])}function _(e){const t=[];let a=this[0];if(!a)return o([]);for(;a.nextElementSibling;){const s=a.nextElementSibling;e?o(s).is(e)&&t.push(s):t.push(s),a=s}return o(t)}function A(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&o(t.previousElementSibling).is(e)?o([t.previousElementSibling]):o([]):t.previousElementSibling?o([t.previousElementSibling]):o([])}return o([])}function L(e){const t=[];let a=this[0];if(!a)return o([]);for(;a.previousElementSibling;){const s=a.previousElementSibling;e?o(s).is(e)&&t.push(s):t.push(s),a=s}return o(t)}function j(e){const t=[];for(let a=0;a{function s(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function n(e={},t={}){Object.keys(t).forEach((a=>{void 0===e[a]?e[a]=t[a]:s(t[a])&&s(e[a])&&Object.keys(t[a]).length>0&&n(e[a],t[a])}))}a.d(t,{Jj:()=>l,Me:()=>i});const r={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function i(){const e="undefined"!=typeof document?document:{};return n(e,r),e}const o={document:r,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){const e="undefined"!=typeof window?window:{};return n(e,o),e}},94794:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(41936);function n(e,t="window",a){if(!e||"container"===t&&!a)return;let n=!1;const r=(0,s.Jj)(),i="window"===t?r.innerHeight:a.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:i*t,point:e}}return{value:e,point:e}}));o.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e{a.d(t,{Z:()=>r});var s=a(3719),n=a(94794);const r={setBreakpoint:s.Z,getBreakpoint:n.Z}},3719:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(23710);const n=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function r(){const e=this,{activeIndex:t,initialized:a,loopedSlides:r=0,params:i,$el:o}=e,l=i.breakpoints;if(!l||l&&0===Object.keys(l).length)return;const c=e.getBreakpoint(l,e.params.breakpointsBase,e.el);if(!c||e.currentBreakpoint===c)return;const d=(c in l?l[c]:void 0)||e.originalParams,p=n(e,i),u=n(e,d),f=i.enabled;p&&!u?(o.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&u&&(o.addClass(`${i.containerModifierClass}grid`),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===i.grid.fill)&&o.addClass(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const a=i[t]&&i[t].enabled,s=d[t]&&d[t].enabled;a&&!s&&e[t].disable(),!a&&s&&e[t].enable()}));const h=d.direction&&d.direction!==i.direction,m=i.loop&&(d.slidesPerView!==i.slidesPerView||h);h&&a&&e.changeDirection(),(0,s.l7)(e.params,d);const g=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),f&&!g?e.disable():!f&&g&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",d),m&&a&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",d)}},69703:(e,t,a)=>{a.d(t,{Z:()=>s});const s={checkOverflow:function(){const e=this,{isLocked:t,params:a}=e,{slidesOffsetBefore:s}=a;if(s){const t=e.slides.length-1,a=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*s;e.isLocked=e.size>a}else e.isLocked=1===e.snapGrid.length;!0===a.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===a.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}}},32987:(e,t,a)=>{function s(){const e=this,{classNames:t,params:a,rtl:s,$el:n,device:r,support:i}=e,o=function(e,t){const a=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((s=>{e[s]&&a.push(t+s)})):"string"==typeof e&&a.push(t+e)})),a}(["initialized",a.direction,{"pointer-events":!i.touch},{"free-mode":e.params.freeMode&&a.freeMode.enabled},{autoheight:a.autoHeight},{rtl:s},{grid:a.grid&&a.grid.rows>1},{"grid-column":a.grid&&a.grid.rows>1&&"column"===a.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":a.cssMode},{centered:a.cssMode&&a.centeredSlides},{"watch-progress":a.watchSlidesProgress}],a.containerModifierClass);t.push(...o),n.addClass([...t].join(" ")),e.emitContainerClasses()}a.d(t,{Z:()=>s})},56606:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(32987),n=a(46999);const r={addClasses:s.Z,removeClasses:n.Z}},46999:(e,t,a)=>{function s(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}a.d(t,{Z:()=>s})},3020:(e,t,a)=>{a.d(t,{Z:()=>M});var s=a(41936),n=a(92166),r=a(23710),i=a(8680),o=a(44873),l=a(40876),c=a(68970),d=a(83433),p=a(88196),u=a(97113),f=a(24366),h=a(94216),m=a(12327),g=a(56993),v=a(9346),w=a(74286),b=a(34615),y=a(56606),E=a(78935),x=a(69703),C=a(97071),S=a(87433);const T={eventsEmitter:p.Z,update:u.Z,translate:f.Z,transition:h.Z,slide:m.Z,loop:g.Z,grabCursor:v.Z,events:w.Z,breakpoints:b.Z,checkOverflow:x.Z,classes:y.Z,images:E.Z},$={};class k{constructor(...e){let t,a;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?a=e[0]:[t,a]=e,a||(a={}),a=(0,r.l7)({},a),t&&!a.el&&(a.el=t),a.el&&(0,n.Z)(a.el).length>1){const e=[];return(0,n.Z)(a.el).each((t=>{const s=(0,r.l7)({},a,{el:t});e.push(new k(s))})),e}const s=this;s.__swiper__=!0,s.support=(0,i.C)(),s.device=(0,o._)({userAgent:a.userAgent}),s.browser=(0,l.q)(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],a.modules&&Array.isArray(a.modules)&&s.modules.push(...a.modules);const c={};s.modules.forEach((e=>{e({swiper:s,extendParams:(0,S.Z)(a,c),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})}));const d=(0,r.l7)({},C.Z,c);return s.params=(0,r.l7)({},d,$,a),s.originalParams=(0,r.l7)({},s.params),s.passedParams=(0,r.l7)({},a),s.params&&s.params.on&&Object.keys(s.params.on).forEach((e=>{s.on(e,s.params.on[e])})),s.params&&s.params.onAny&&s.onAny(s.params.onAny),s.$=n.Z,Object.assign(s,{enabled:s.params.enabled,el:t,classNames:[],slides:(0,n.Z)(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===s.params.direction,isVertical:()=>"vertical"===s.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return s.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},s.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},s.support.touch||!s.params.simulateTouch?s.touchEventsTouch:s.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:(0,r.zO)(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const a=this;e=Math.min(Math.max(e,0),1);const s=a.minTranslate(),n=(a.maxTranslate()-s)*e+s;a.translateTo(n,void 0===t?0:t),a.updateActiveIndex(),a.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((a=>{const s=e.getSlideClasses(a);t.push({slideEl:a,classNames:s}),e.emit("_slideClass",a,s)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:a,slides:s,slidesGrid:n,slidesSizesGrid:r,size:i,activeIndex:o}=this;let l=1;if(a.centeredSlides){let e,t=s[o].swiperSlideSize;for(let a=o+1;ai&&(e=!0));for(let a=o-1;a>=0;a-=1)s[a]&&!e&&(t+=s[a].swiperSlideSize,l+=1,t>i&&(e=!0))}else if("current"===e)for(let e=o+1;e=0;e-=1){n[o]-n[e]1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),n||s()),a.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const a=this,s=a.params.direction;return e||(e="horizontal"===s?"vertical":"horizontal"),e===s||"horizontal"!==e&&"vertical"!==e||(a.$el.removeClass(`${a.params.containerModifierClass}${s}`).addClass(`${a.params.containerModifierClass}${e}`),a.emitContainerClasses(),a.params.direction=e,a.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),a.emit("changeDirection"),t&&a.update()),a}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const a=(0,n.Z)(e||t.params.el);if(!(e=a[0]))return!1;e.swiper=t;const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=(0,n.Z)(e.shadowRoot.querySelector(r()));return t.children=e=>a.children(e),t}return a.children?a.children(r()):(0,n.Z)(a).children(r())})();if(0===i.length&&t.params.createElements){const e=(0,s.Me)().createElement("div");i=(0,n.Z)(e),e.className=t.params.wrapperClass,a.append(e),a.children(`.${t.params.slideClass}`).each((e=>{i.append(e)}))}return Object.assign(t,{$el:a,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===a.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===a.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const a=this,{params:s,$el:n,$wrapperEl:i,slides:o}=a;return void 0===a.params||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),s.loop&&a.loopDestroy(),t&&(a.removeClasses(),n.removeAttr("style"),i.removeAttr("style"),o&&o.length&&o.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),a.emit("destroy"),Object.keys(a.eventsListeners).forEach((e=>{a.off(e)})),!1!==e&&(a.$el[0].swiper=null,(0,r.cP)(a)),a.destroyed=!0),null}static extendDefaults(e){(0,r.l7)($,e)}static get extendedDefaults(){return $}static get defaults(){return C.Z}static installModule(e){k.prototype.__modules__||(k.prototype.__modules__=[]);const t=k.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>k.installModule(e))),k):(k.installModule(e),k)}}Object.keys(T).forEach((e=>{Object.keys(T[e]).forEach((t=>{k.prototype[t]=T[e][t]}))})),k.use([c.Z,d.Z]);const M=k},97071:(e,t,a)=>{a.d(t,{Z:()=>s});const s={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1}},88196:(e,t,a)=>{a.d(t,{Z:()=>s});const s={on(e,t,a){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof t)return s;const n=a?"unshift":"push";return e.split(" ").forEach((e=>{s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][n](t)})),s},once(e,t,a){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof t)return s;function n(...a){s.off(e,n),n.__emitterProxy&&delete n.__emitterProxy,t.apply(s,a)}return n.__emitterProxy=t,s.on(e,n,a)},onAny(e,t){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof e)return a;const s=t?"unshift":"push";return a.eventsAnyListeners.indexOf(e)<0&&a.eventsAnyListeners[s](e),a},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const a=t.eventsAnyListeners.indexOf(e);return a>=0&&t.eventsAnyListeners.splice(a,1),t},off(e,t){const a=this;return!a.eventsListeners||a.destroyed?a:a.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?a.eventsListeners[e]=[]:a.eventsListeners[e]&&a.eventsListeners[e].forEach(((s,n)=>{(s===t||s.__emitterProxy&&s.__emitterProxy===t)&&a.eventsListeners[e].splice(n,1)}))})),a):a},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let a,s,n;"string"==typeof e[0]||Array.isArray(e[0])?(a=e[0],s=e.slice(1,e.length),n=t):(a=e[0].events,s=e[0].data,n=e[0].context||t),s.unshift(n);return(Array.isArray(a)?a:a.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(n,[e,...s])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(n,s)}))})),t}}},74286:(e,t,a)=>{a.d(t,{Z:()=>f});var s=a(41936),n=a(89765),r=a(26603),i=a(53004),o=a(63919),l=a(52048),c=a(24073);let d=!1;function p(){}const u=(e,t)=>{const a=(0,s.Me)(),{params:n,touchEvents:r,el:i,wrapperEl:l,device:c,support:d}=e,p=!!n.nested,u="on"===t?"addEventListener":"removeEventListener",f=t;if(d.touch){const t=!("touchstart"!==r.start||!d.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};i[u](r.start,e.onTouchStart,t),i[u](r.move,e.onTouchMove,d.passiveListener?{passive:!1,capture:p}:p),i[u](r.end,e.onTouchEnd,t),r.cancel&&i[u](r.cancel,e.onTouchEnd,t)}else i[u](r.start,e.onTouchStart,!1),a[u](r.move,e.onTouchMove,p),a[u](r.end,e.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&i[u]("click",e.onClick,!0),n.cssMode&&l[u]("scroll",e.onScroll),n.updateOnWindowResize?e[f](c.ios||c.android?"resize orientationchange observerUpdate":"resize observerUpdate",o.Z,!0):e[f]("observerUpdate",o.Z,!0)};const f={attachEvents:function(){const e=this,t=(0,s.Me)(),{params:a,support:o}=e;e.onTouchStart=n.Z.bind(e),e.onTouchMove=r.Z.bind(e),e.onTouchEnd=i.Z.bind(e),a.cssMode&&(e.onScroll=c.Z.bind(e)),e.onClick=l.Z.bind(e),o.touch&&!d&&(t.addEventListener("touchstart",p),d=!0),u(e,"on")},detachEvents:function(){u(this,"off")}}},52048:(e,t,a)=>{function s(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}a.d(t,{Z:()=>s})},63919:(e,t,a)=>{function s(){const e=this,{params:t,el:a}=e;if(a&&0===a.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:n,snapGrid:r}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=n,e.allowSlideNext=s,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}a.d(t,{Z:()=>s})},24073:(e,t,a)=>{function s(){const e=this,{wrapperEl:t,rtlTranslate:a,enabled:s}=e;if(!s)return;let n;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();n=0===r?0:(e.translate-e.minTranslate())/r,n!==e.progress&&e.updateProgress(a?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}a.d(t,{Z:()=>s})},53004:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(23710);function n(e){const t=this,a=t.touchEventsData,{params:n,touches:r,rtlTranslate:i,slidesGrid:o,enabled:l}=t;if(!l)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),a.allowTouchCallbacks&&t.emit("touchEnd",c),a.allowTouchCallbacks=!1,!a.isTouched)return a.isMoved&&n.grabCursor&&t.setGrabCursor(!1),a.isMoved=!1,void(a.startMoving=!1);n.grabCursor&&a.isMoved&&a.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=(0,s.zO)(),p=d-a.touchStartTime;if(t.allowClick){const e=c.path||c.composedPath&&c.composedPath();t.updateClickedSlide(e&&e[0]||c.target),t.emit("tap click",c),p<300&&d-a.lastClickTime<300&&t.emit("doubleTap doubleClick",c)}if(a.lastClickTime=(0,s.zO)(),(0,s.Y3)((()=>{t.destroyed||(t.allowClick=!0)})),!a.isTouched||!a.isMoved||!t.swipeDirection||0===r.diff||a.currentTranslate===a.startTranslate)return a.isTouched=!1,a.isMoved=!1,void(a.startMoving=!1);let u;if(a.isTouched=!1,a.isMoved=!1,a.startMoving=!1,u=n.followFinger?i?t.translate:-t.translate:-a.currentTranslate,n.cssMode)return;if(t.params.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:u});let f=0,h=t.slidesSizesGrid[0];for(let e=0;e=o[e]&&u=o[e]&&(f=e,h=o[o.length-1]-o[o.length-2])}let m=null,g=null;n.rewind&&(t.isBeginning?g=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(m=0));const v=(u-o[f])/h,w=fn.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(v>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?m:f+w):t.slideTo(f)),"prev"===t.swipeDirection&&(v>1-n.longSwipesRatio?t.slideTo(f+w):null!==g&&v<0&&Math.abs(v)>n.longSwipesRatio?t.slideTo(g):t.slideTo(f))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(c.target===t.navigation.nextEl||c.target===t.navigation.prevEl)?c.target===t.navigation.nextEl?t.slideTo(f+w):t.slideTo(f):("next"===t.swipeDirection&&t.slideTo(null!==m?m:f+w),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:f))}}},26603:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(41936),n=a(92166),r=a(23710);function i(e){const t=(0,s.Me)(),a=this,i=a.touchEventsData,{params:o,touches:l,rtlTranslate:c,enabled:d}=a;if(!d)return;let p=e;if(p.originalEvent&&(p=p.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&a.emit("touchMoveOpposite",p));if(i.isTouchEvent&&"touchmove"!==p.type)return;const u="touchmove"===p.type&&p.targetTouches&&(p.targetTouches[0]||p.changedTouches[0]),f="touchmove"===p.type?u.pageX:p.pageX,h="touchmove"===p.type?u.pageY:p.pageY;if(p.preventedByNestedSwiper)return l.startX=f,void(l.startY=h);if(!a.allowTouchMove)return(0,n.Z)(p.target).is(i.focusableElements)||(a.allowClick=!1),void(i.isTouched&&(Object.assign(l,{startX:f,startY:h,currentX:f,currentY:h}),i.touchStartTime=(0,r.zO)()));if(i.isTouchEvent&&o.touchReleaseOnEdges&&!o.loop)if(a.isVertical()){if(hl.startY&&a.translate>=a.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(fl.startX&&a.translate>=a.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&p.target===t.activeElement&&(0,n.Z)(p.target).is(i.focusableElements))return i.isMoved=!0,void(a.allowClick=!1);if(i.allowTouchCallbacks&&a.emit("touchMove",p),p.targetTouches&&p.targetTouches.length>1)return;l.currentX=f,l.currentY=h;const m=l.currentX-l.startX,g=l.currentY-l.startY;if(a.params.threshold&&Math.sqrt(m**2+g**2)=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(m))/Math.PI,i.isScrolling=a.isHorizontal()?e>o.touchAngle:90-e>o.touchAngle)}if(i.isScrolling&&a.emit("touchMoveOpposite",p),void 0===i.startMoving&&(l.currentX===l.startX&&l.currentY===l.startY||(i.startMoving=!0)),i.isScrolling)return void(i.isTouched=!1);if(!i.startMoving)return;a.allowClick=!1,!o.cssMode&&p.cancelable&&p.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&p.stopPropagation(),i.isMoved||(o.loop&&!o.cssMode&&a.loopFix(),i.startTranslate=a.getTranslate(),a.setTransition(0),a.animating&&a.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!o.grabCursor||!0!==a.allowSlideNext&&!0!==a.allowSlidePrev||a.setGrabCursor(!0),a.emit("sliderFirstMove",p)),a.emit("sliderMove",p),i.isMoved=!0;let v=a.isHorizontal()?m:g;l.diff=v,v*=o.touchRatio,c&&(v=-v),a.swipeDirection=v>0?"prev":"next",i.currentTranslate=v+i.startTranslate;let w=!0,b=o.resistanceRatio;if(o.touchReleaseOnEdges&&(b=0),v>0&&i.currentTranslate>a.minTranslate()?(w=!1,o.resistance&&(i.currentTranslate=a.minTranslate()-1+(-a.minTranslate()+i.startTranslate+v)**b)):v<0&&i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),a.allowSlidePrev||a.allowSlideNext||(i.currentTranslate=i.startTranslate),o.threshold>0){if(!(Math.abs(v)>o.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,i.currentTranslate=i.startTranslate,void(l.diff=a.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY)}o.followFinger&&!o.cssMode&&((o.freeMode&&o.freeMode.enabled&&a.freeMode||o.watchSlidesProgress)&&(a.updateActiveIndex(),a.updateSlidesClasses()),a.params.freeMode&&o.freeMode.enabled&&a.freeMode&&a.freeMode.onTouchMove(),a.updateProgress(i.currentTranslate),a.setTranslate(i.currentTranslate))}},89765:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(41936),n=a(92166),r=a(23710);function i(e){const t=this,a=(0,s.Me)(),i=(0,s.Jj)(),o=t.touchEventsData,{params:l,touches:c,enabled:d}=t;if(!d)return;if(t.animating&&l.preventInteractionOnTransition)return;!t.animating&&l.cssMode&&l.loop&&t.loopFix();let p=e;p.originalEvent&&(p=p.originalEvent);let u=(0,n.Z)(p.target);if("wrapper"===l.touchEventsTarget&&!u.closest(t.wrapperEl).length)return;if(o.isTouchEvent="touchstart"===p.type,!o.isTouchEvent&&"which"in p&&3===p.which)return;if(!o.isTouchEvent&&"button"in p&&p.button>0)return;if(o.isTouched&&o.isMoved)return;const f=!!l.noSwipingClass&&""!==l.noSwipingClass,h=e.composedPath?e.composedPath():e.path;f&&p.target&&p.target.shadowRoot&&h&&(u=(0,n.Z)(h[0]));const m=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,g=!(!p.target||!p.target.shadowRoot);if(l.noSwiping&&(g?function(e,t=this){return function t(a){if(!a||a===(0,s.Me)()||a===(0,s.Jj)())return null;a.assignedSlot&&(a=a.assignedSlot);const n=a.closest(e);return n||a.getRootNode?n||t(a.getRootNode().host):null}(t)}(m,u[0]):u.closest(m)[0]))return void(t.allowClick=!0);if(l.swipeHandler&&!u.closest(l.swipeHandler)[0])return;c.currentX="touchstart"===p.type?p.targetTouches[0].pageX:p.pageX,c.currentY="touchstart"===p.type?p.targetTouches[0].pageY:p.pageY;const v=c.currentX,w=c.currentY,b=l.edgeSwipeDetection||l.iOSEdgeSwipeDetection,y=l.edgeSwipeThreshold||l.iOSEdgeSwipeThreshold;if(b&&(v<=y||v>=i.innerWidth-y)){if("prevent"!==b)return;e.preventDefault()}if(Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),c.startX=v,c.startY=w,o.touchStartTime=(0,r.zO)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1),"touchstart"!==p.type){let e=!0;u.is(o.focusableElements)&&(e=!1,"SELECT"===u[0].nodeName&&(o.isTouched=!1)),a.activeElement&&(0,n.Z)(a.activeElement).is(o.focusableElements)&&a.activeElement!==u[0]&&a.activeElement.blur();const s=e&&t.allowTouchMove&&l.touchStartPreventDefault;!l.touchStartForcePreventDefault&&!s||u[0].isContentEditable||p.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!l.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",p)}},9346:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(24938),n=a(62114);const r={setGrabCursor:s.Z,unsetGrabCursor:n.Z}},24938:(e,t,a)=>{function s(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const a="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;a.style.cursor="move",a.style.cursor=e?"grabbing":"grab"}a.d(t,{Z:()=>s})},62114:(e,t,a)=>{function s(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}a.d(t,{Z:()=>s})},78935:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(81265),n=a(20375);const r={loadImage:s.Z,preloadImages:n.Z}},81265:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(41936),n=a(92166);function r(e,t,a,r,i,o){const l=(0,s.Jj)();let c;function d(){o&&o()}(0,n.Z)(e).parent("picture")[0]||e.complete&&i?d():t?(c=new l.Image,c.onload=d,c.onerror=d,r&&(c.sizes=r),a&&(c.srcset=a),t&&(c.src=t)):d()}},20375:(e,t,a)=>{function s(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let a=0;as})},56993:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(71023),n=a(27289),r=a(91034);const i={loopCreate:s.Z,loopFix:n.Z,loopDestroy:r.Z}},71023:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(41936),n=a(92166);function r(){const e=this,t=(0,s.Me)(),{params:a,$wrapperEl:r}=e,i=r.children().length>0?(0,n.Z)(r.children()[0].parentNode):r;i.children(`.${a.slideClass}.${a.slideDuplicateClass}`).remove();let o=i.children(`.${a.slideClass}`);if(a.loopFillGroupWithBlank){const e=a.slidesPerGroup-o.length%a.slidesPerGroup;if(e!==a.slidesPerGroup){for(let s=0;so.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=o.length);const l=[],c=[];o.each(((e,t)=>{(0,n.Z)(e).attr("data-swiper-slide-index",t)}));for(let t=0;t=0;e-=1)i.prepend((0,n.Z)(l[e].cloneNode(!0)).addClass(a.slideDuplicateClass))}},91034:(e,t,a)=>{function s(){const{$wrapperEl:e,params:t,slides:a}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),a.removeAttr("data-swiper-slide-index")}a.d(t,{Z:()=>s})},27289:(e,t,a)=>{function s(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:a,loopedSlides:s,allowSlidePrev:n,allowSlideNext:r,snapGrid:i,rtlTranslate:o}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-i[t]-e.getTranslate();if(t=a.length-s){l=-a.length+t+s,l+=s;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((o?-e.translate:e.translate)-c)}e.allowSlidePrev=n,e.allowSlideNext=r,e.emit("loopFix")}a.d(t,{Z:()=>s})},87433:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(23710);function n(e,t){return function(a={}){const n=Object.keys(a)[0],r=a[n];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===e[n]&&(e[n]={auto:!0}),n in e&&"enabled"in r?(!0===e[n]&&(e[n]={enabled:!0}),"object"!=typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),(0,s.l7)(t,a)):(0,s.l7)(t,a)):(0,s.l7)(t,a)}}},83433:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(41936);function n({swiper:e,extendParams:t,on:a,emit:n}){const r=[],i=(0,s.Jj)(),o=(e,t={})=>{const a=new(i.MutationObserver||i.WebkitMutationObserver)((e=>{if(1===e.length)return void n("observerUpdate",e[0]);const t=function(){n("observerUpdate",e[0])};i.requestAnimationFrame?i.requestAnimationFrame(t):i.setTimeout(t,0)}));a.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(a)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),a("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e{r.forEach((e=>{e.disconnect()})),r.splice(0,r.length)}))}},68970:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(41936);function n({swiper:e,on:t,emit:a}){const n=(0,s.Jj)();let r=null,i=null;const o=()=>{e&&!e.destroyed&&e.initialized&&(a("beforeResize"),a("resize"))},l=()=>{e&&!e.destroyed&&e.initialized&&a("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==n.ResizeObserver?e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver((t=>{i=n.requestAnimationFrame((()=>{const{width:a,height:s}=e;let n=a,r=s;t.forEach((({contentBoxSize:t,contentRect:a,target:s})=>{s&&s!==e.el||(n=a?a.width:(t[0]||t).inlineSize,r=a?a.height:(t[0]||t).blockSize)})),n===a&&r===s||o()}))})),r.observe(e.el)):(n.addEventListener("resize",o),n.addEventListener("orientationchange",l))})),t("destroy",(()=>{i&&n.cancelAnimationFrame(i),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",l)}))}},12327:(e,t,a)=>{a.d(t,{Z:()=>d});var s=a(48904),n=a(76417),r=a(16179),i=a(30548),o=a(75421),l=a(23171),c=a(67994);const d={slideTo:s.Z,slideToLoop:n.Z,slideNext:r.Z,slidePrev:i.Z,slideReset:o.Z,slideToClosest:l.Z,slideToClickedSlide:c.Z}},16179:(e,t,a)=>{function s(e=this.params.speed,t=!0,a){const s=this,{animating:n,enabled:r,params:i}=s;if(!r)return s;let o=i.slidesPerGroup;"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(o=Math.max(s.slidesPerViewDynamic("current",!0),1));const l=s.activeIndexs})},30548:(e,t,a)=>{function s(e=this.params.speed,t=!0,a){const s=this,{params:n,animating:r,snapGrid:i,slidesGrid:o,rtlTranslate:l,enabled:c}=s;if(!c)return s;if(n.loop){if(r&&n.loopPreventsSlide)return!1;s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=d(l?s.translate:-s.translate),u=i.map((e=>d(e)));let f=i[u.indexOf(p)-1];if(void 0===f&&n.cssMode){let e;i.forEach(((t,a)=>{p>=t&&(e=a)})),void 0!==e&&(f=i[e>0?e-1:e])}let h=0;if(void 0!==f&&(h=o.indexOf(f),h<0&&(h=s.activeIndex-1),"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(h=h-s.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0))),n.rewind&&s.isBeginning){const n=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(n,e,t,a)}return s.slideTo(h,e,t,a)}a.d(t,{Z:()=>s})},75421:(e,t,a)=>{function s(e=this.params.speed,t=!0,a){return this.slideTo(this.activeIndex,e,t,a)}a.d(t,{Z:()=>s})},48904:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(23710);function n(e=0,t=this.params.speed,a=!0,n,r){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let o=e;o<0&&(o=0);const{params:l,snapGrid:c,slidesGrid:d,previousIndex:p,activeIndex:u,rtlTranslate:f,wrapperEl:h,enabled:m}=i;if(i.animating&&l.preventInteractionOnTransition||!m&&!n&&!r)return!1;const g=Math.min(i.params.slidesPerGroupSkip,o);let v=g+Math.floor((o-g)/i.params.slidesPerGroup);v>=c.length&&(v=c.length-1);const w=-c[v];if(l.normalizeSlideIndex)for(let e=0;e=a&&t=a&&t=a&&(o=e)}if(i.initialized&&o!==u){if(!i.allowSlideNext&&wi.translate&&w>i.maxTranslate()&&(u||0)!==o)return!1}let b;if(o!==(p||0)&&a&&i.emit("beforeSlideChangeStart"),i.updateProgress(w),b=o>u?"next":o{i.wrapperEl.style.scrollSnapType="",i._swiperImmediateVirtual=!1}))}else{if(!i.support.smoothScroll)return(0,s.x2)({swiper:i,targetPosition:a,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:a,behavior:"smooth"})}return!0}return i.setTransition(t),i.setTranslate(w),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,n),i.transitionStart(a,b),0===t?i.transitionEnd(a,b):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.$wrapperEl[0].removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(a,b))}),i.$wrapperEl[0].addEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd)),!0}},67994:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(92166),n=a(23710);function r(){const e=this,{params:t,$wrapperEl:a}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,o=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt((0,s.Z)(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?oe.slides.length-e.loopedSlides+r/2?(e.loopFix(),o=a.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,n.Y3)((()=>{e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-r?(e.loopFix(),o=a.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,n.Y3)((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}},23171:(e,t,a)=>{function s(e=this.params.speed,t=!0,a,s=.5){const n=this;let r=n.activeIndex;const i=Math.min(n.params.slidesPerGroupSkip,r),o=i+Math.floor((r-i)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[o]){const e=n.snapGrid[o];l-e>(n.snapGrid[o+1]-e)*s&&(r+=n.params.slidesPerGroup)}else{const e=n.snapGrid[o-1];l-e<=(n.snapGrid[o]-e)*s&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,e,t,a)}a.d(t,{Z:()=>s})},76417:(e,t,a)=>{function s(e=0,t=this.params.speed,a=!0,s){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const n=this;let r=e;return n.params.loop&&(r+=n.loopedSlides),n.slideTo(r,t,a,s)}a.d(t,{Z:()=>s})},94216:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(4488),n=a(17840),r=a(790);const i={setTransition:s.Z,transitionStart:n.Z,transitionEnd:r.Z}},4488:(e,t,a)=>{function s(e,t){const a=this;a.params.cssMode||a.$wrapperEl.transition(e),a.emit("setTransition",e,t)}a.d(t,{Z:()=>s})},80364:(e,t,a)=>{function s({swiper:e,runCallbacks:t,direction:a,step:s}){const{activeIndex:n,previousIndex:r}=e;let i=a;if(i||(i=n>r?"next":ns})},790:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(80364);function n(e=!0,t){const a=this,{params:n}=a;a.animating=!1,n.cssMode||(a.setTransition(0),(0,s.Z)({swiper:a,runCallbacks:e,direction:t,step:"End"}))}},17840:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(80364);function n(e=!0,t){const a=this,{params:n}=a;n.cssMode||(n.autoHeight&&a.updateAutoHeight(),(0,s.Z)({swiper:a,runCallbacks:e,direction:t,step:"Start"}))}},92936:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(23710);function n(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:a,translate:n,$wrapperEl:r}=this;if(t.virtualTranslate)return a?-n:n;if(t.cssMode)return n;let i=(0,s.R6)(r[0],e);return a&&(i=-i),i||0}},24366:(e,t,a)=>{a.d(t,{Z:()=>l});var s=a(92936),n=a(19216),r=a(50712),i=a(44579),o=a(80920);const l={getTranslate:s.Z,setTranslate:n.Z,minTranslate:r.Z,maxTranslate:i.Z,translateTo:o.Z}},44579:(e,t,a)=>{function s(){return-this.snapGrid[this.snapGrid.length-1]}a.d(t,{Z:()=>s})},50712:(e,t,a)=>{function s(){return-this.snapGrid[0]}a.d(t,{Z:()=>s})},19216:(e,t,a)=>{function s(e,t){const a=this,{rtlTranslate:s,params:n,$wrapperEl:r,wrapperEl:i,progress:o}=a;let l=0,c=0;let d;a.isHorizontal()?l=s?-e:e:c=e,n.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.cssMode?i[a.isHorizontal()?"scrollLeft":"scrollTop"]=a.isHorizontal()?-l:-c:n.virtualTranslate||r.transform(`translate3d(${l}px, ${c}px, 0px)`),a.previousTranslate=a.translate,a.translate=a.isHorizontal()?l:c;const p=a.maxTranslate()-a.minTranslate();d=0===p?0:(e-a.minTranslate())/p,d!==o&&a.updateProgress(e),a.emit("setTranslate",a.translate,t)}a.d(t,{Z:()=>s})},80920:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(23710);function n(e=0,t=this.params.speed,a=!0,n=!0,r){const i=this,{params:o,wrapperEl:l}=i;if(i.animating&&o.preventInteractionOnTransition)return!1;const c=i.minTranslate(),d=i.maxTranslate();let p;if(p=n&&e>c?c:n&&e{a.d(t,{Z:()=>u});var s=a(47351),n=a(1396),r=a(9340),i=a(51334),o=a(66360),l=a(50281),c=a(43030),d=a(93918),p=a(89930);const u={updateSize:s.Z,updateSlides:n.Z,updateAutoHeight:r.Z,updateSlidesOffset:i.Z,updateSlidesProgress:o.Z,updateProgress:l.Z,updateSlidesClasses:c.Z,updateActiveIndex:d.Z,updateClickedSlide:p.Z}},93918:(e,t,a)=>{function s(e){const t=this,a=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:s,snapGrid:n,params:r,activeIndex:i,realIndex:o,snapIndex:l}=t;let c,d=e;if(void 0===d){for(let e=0;e=s[e]&&a=s[e]&&a=s[e]&&(d=e);r.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(n.indexOf(a)>=0)c=n.indexOf(a);else{const e=Math.min(r.slidesPerGroupSkip,d);c=e+Math.floor((d-e)/r.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),d===i)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const p=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10);Object.assign(t,{snapIndex:c,realIndex:p,previousIndex:i,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==p&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")}a.d(t,{Z:()=>s})},9340:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(92166);function n(e){const t=this,a=[],n=t.virtual&&t.params.virtual.enabled;let r,i=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=e=>n?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||(0,s.Z)([])).each((e=>{a.push(e)}));else for(r=0;rt.slides.length&&!n)break;a.push(o(e))}else a.push(o(t.activeIndex));for(r=0;ri?e:i}(i||0===i)&&t.$wrapperEl.css("height",`${i}px`)}},89930:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(92166);function n(e){const t=this,a=t.params,n=(0,s.Z)(e).closest(`.${a.slideClass}`)[0];let r,i=!1;if(n)for(let e=0;e{function s(e){const t=this;if(void 0===e){const a=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*a||0}const a=t.params,s=t.maxTranslate()-t.minTranslate();let{progress:n,isBeginning:r,isEnd:i}=t;const o=r,l=i;0===s?(n=0,r=!0,i=!0):(n=(e-t.minTranslate())/s,r=n<=0,i=n>=1),Object.assign(t,{progress:n,isBeginning:r,isEnd:i}),(a.watchSlidesProgress||a.centeredSlides&&a.autoHeight)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),i&&!l&&t.emit("reachEnd toEdge"),(o&&!r||l&&!i)&&t.emit("fromEdge"),t.emit("progress",n)}a.d(t,{Z:()=>s})},47351:(e,t,a)=>{function s(){const e=this;let t,a;const s=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:s[0].clientWidth,a=void 0!==e.params.height&&null!==e.params.height?e.params.height:s[0].clientHeight,0===t&&e.isHorizontal()||0===a&&e.isVertical()||(t=t-parseInt(s.css("padding-left")||0,10)-parseInt(s.css("padding-right")||0,10),a=a-parseInt(s.css("padding-top")||0,10)-parseInt(s.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(a)&&(a=0),Object.assign(e,{width:t,height:a,size:e.isHorizontal()?t:a}))}a.d(t,{Z:()=>s})},1396:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(23710);function n(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function a(e,a){return parseFloat(e.getPropertyValue(t(a))||0)}const n=e.params,{$wrapperEl:r,size:i,rtlTranslate:o,wrongRTL:l}=e,c=e.virtual&&n.virtual.enabled,d=c?e.virtual.slides.length:e.slides.length,p=r.children(`.${e.params.slideClass}`),u=c?e.virtual.slides.length:p.length;let f=[];const h=[],m=[];let g=n.slidesOffsetBefore;"function"==typeof g&&(g=n.slidesOffsetBefore.call(e));let v=n.slidesOffsetAfter;"function"==typeof v&&(v=n.slidesOffsetAfter.call(e));const w=e.snapGrid.length,b=e.slidesGrid.length;let y=n.spaceBetween,E=-g,x=0,C=0;if(void 0===i)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*i),e.virtualSize=-y,o?p.css({marginLeft:"",marginBottom:"",marginTop:""}):p.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&((0,s.z2)(e.wrapperEl,"--swiper-centered-offset-before",""),(0,s.z2)(e.wrapperEl,"--swiper-centered-offset-after",""));const S=n.grid&&n.grid.rows>1&&e.grid;let T;S&&e.grid.initSlides(u);const $="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>void 0!==n.breakpoints[e].slidesPerView)).length>0;for(let s=0;s1&&f.push(e.virtualSize-i)}if(0===f.length&&(f=[0]),0!==n.spaceBetween){const a=e.isHorizontal()&&o?"marginLeft":t("marginRight");p.filter(((e,t)=>!n.cssMode||t!==p.length-1)).css({[a]:`${y}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;m.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween;const t=e-i;f=f.map((e=>e<0?-g:e>t?t+v:e))}if(n.centerInsufficientSlides){let e=0;if(m.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween,e{f[a]=e-t})),h.forEach(((e,a)=>{h[a]=e+t}))}}if(Object.assign(e,{slides:p,snapGrid:f,slidesGrid:h,slidesSizesGrid:m}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){(0,s.z2)(e.wrapperEl,"--swiper-centered-offset-before",-f[0]+"px"),(0,s.z2)(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-m[m.length-1]/2+"px");const t=-e.snapGrid[0],a=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+a))}if(u!==d&&e.emit("slidesLengthChange"),f.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==b&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!(c||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,a=e.$el.hasClass(t);u<=n.maxBackfaceHiddenSlides?a||e.$el.addClass(t):a&&e.$el.removeClass(t)}}},43030:(e,t,a)=>{function s(){const e=this,{slides:t,params:a,$wrapperEl:s,activeIndex:n,realIndex:r}=e,i=e.virtual&&a.virtual.enabled;let o;t.removeClass(`${a.slideActiveClass} ${a.slideNextClass} ${a.slidePrevClass} ${a.slideDuplicateActiveClass} ${a.slideDuplicateNextClass} ${a.slideDuplicatePrevClass}`),o=i?e.$wrapperEl.find(`.${a.slideClass}[data-swiper-slide-index="${n}"]`):t.eq(n),o.addClass(a.slideActiveClass),a.loop&&(o.hasClass(a.slideDuplicateClass)?s.children(`.${a.slideClass}:not(.${a.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(a.slideDuplicateActiveClass):s.children(`.${a.slideClass}.${a.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(a.slideDuplicateActiveClass));let l=o.nextAll(`.${a.slideClass}`).eq(0).addClass(a.slideNextClass);a.loop&&0===l.length&&(l=t.eq(0),l.addClass(a.slideNextClass));let c=o.prevAll(`.${a.slideClass}`).eq(0).addClass(a.slidePrevClass);a.loop&&0===c.length&&(c=t.eq(-1),c.addClass(a.slidePrevClass)),a.loop&&(l.hasClass(a.slideDuplicateClass)?s.children(`.${a.slideClass}:not(.${a.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicateNextClass):s.children(`.${a.slideClass}.${a.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicateNextClass),c.hasClass(a.slideDuplicateClass)?s.children(`.${a.slideClass}:not(.${a.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicatePrevClass):s.children(`.${a.slideClass}.${a.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicatePrevClass)),e.emitSlidesClasses()}a.d(t,{Z:()=>s})},51334:(e,t,a)=>{function s(){const e=this,t=e.slides;for(let a=0;as})},66360:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(92166);function n(e=this&&this.translate||0){const t=this,a=t.params,{slides:n,rtlTranslate:r,snapGrid:i}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let o=-e;r&&(o=e),n.removeClass(a.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e=0&&p1&&u<=t.size||p<=0&&u>=t.size)&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(e),n.eq(e).addClass(a.slideVisibleClass)),s.progress=r?-c:c,s.originalProgress=r?-d:d}t.visibleSlides=(0,s.Z)(t.visibleSlides)}},63389:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(91443),n=a(92166);function r({swiper:e,extendParams:t,on:a}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let r=null;function i(e){const t=r;0!==t.length&&(t.html(""),t.html(e))}function o(e){e.attr("tabIndex","0")}function l(e){e.attr("tabIndex","-1")}function c(e,t){e.attr("role",t)}function d(e,t){e.attr("aria-roledescription",t)}function p(e,t){e.attr("aria-label",t)}function u(e){e.attr("aria-disabled",!0)}function f(e){e.attr("aria-disabled",!1)}function h(t){if(13!==t.keyCode&&32!==t.keyCode)return;const a=e.params.a11y,r=(0,n.Z)(t.target);e.navigation&&e.navigation.$nextEl&&r.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?i(a.lastSlideMessage):i(a.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&r.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?i(a.firstSlideMessage):i(a.prevSlideMessage)),e.pagination&&r.is((0,s.Z)(e.params.pagination.bulletClass))&&r[0].click()}function m(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function g(){return m()&&e.params.pagination.clickable}const v=(e,t,a)=>{o(e),"BUTTON"!==e[0].tagName&&(c(e,"button"),e.on("keydown",h)),p(e,a),function(e,t){e.attr("aria-controls",t)}(e,t)},w=()=>{e.a11y.clicked=!0},b=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.destroyed||(e.a11y.clicked=!1)}))}))},y=t=>{if(e.a11y.clicked)return;const a=t.target.closest(`.${e.params.slideClass}`);if(!a||!e.slides.includes(a))return;const s=e.slides.indexOf(a)===e.activeIndex,n=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(a);s||n||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(a),0))},E=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&d((0,n.Z)(e.slides),t.itemRoleDescriptionMessage),t.slideRole&&c((0,n.Z)(e.slides),t.slideRole);const a=e.params.loop?e.slides.filter((t=>!t.classList.contains(e.params.slideDuplicateClass))).length:e.slides.length;t.slideLabelMessage&&e.slides.each(((s,r)=>{const i=(0,n.Z)(s),o=e.params.loop?parseInt(i.attr("data-swiper-slide-index"),10):r;p(i,t.slideLabelMessage.replace(/\{\{index\}\}/,o+1).replace(/\{\{slidesLength\}\}/,a))}))},x=()=>{const t=e.params.a11y;e.$el.append(r);const a=e.$el;t.containerRoleDescriptionMessage&&d(a,t.containerRoleDescriptionMessage),t.containerMessage&&p(a,t.containerMessage);const n=e.$wrapperEl,i=t.id||n.attr("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,o=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";var l;let c,u;l=i,n.attr("id",l),function(e,t){e.attr("aria-live",t)}(n,o),E(),e.navigation&&e.navigation.$nextEl&&(c=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(u=e.navigation.$prevEl),c&&c.length&&v(c,i,t.nextSlideMessage),u&&u.length&&v(u,i,t.prevSlideMessage),g()&&e.pagination.$el.on("keydown",(0,s.Z)(e.params.pagination.bulletClass),h),e.$el.on("focus",y,!0),e.$el.on("pointerdown",w,!0),e.$el.on("pointerup",b,!0)};a("beforeInit",(()=>{r=(0,n.Z)(``)})),a("afterInit",(()=>{e.params.a11y.enabled&&x()})),a("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{e.params.a11y.enabled&&E()})),a("fromEdge toEdge afterInit lock unlock",(()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{$nextEl:t,$prevEl:a}=e.navigation;a&&a.length>0&&(e.isBeginning?(u(a),l(a)):(f(a),o(a))),t&&t.length>0&&(e.isEnd?(u(t),l(t)):(f(t),o(t)))}()})),a("paginationUpdate",(()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;m()&&e.pagination.bullets.each((a=>{const s=(0,n.Z)(a);e.params.pagination.clickable&&(o(s),e.params.pagination.renderBullet||(c(s,"button"),p(s,t.paginationBulletMessage.replace(/\{\{index\}\}/,s.index()+1)))),s.is(`.${e.params.pagination.bulletActiveClass}`)?s.attr("aria-current","true"):s.removeAttr("aria-current")}))}()})),a("destroy",(()=>{e.params.a11y.enabled&&function(){let t,a;r&&r.length>0&&r.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(a=e.navigation.$prevEl),t&&t.off("keydown",h),a&&a.off("keydown",h),g()&&e.pagination.$el.off("keydown",(0,s.Z)(e.params.pagination.bulletClass),h),e.$el.off("focus",y,!0),e.$el.off("pointerdown",w,!0),e.$el.off("pointerup",b,!0)}()}))}},10867:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(41936),n=a(23710);function r({swiper:e,extendParams:t,on:a,emit:r}){let i;function o(){if(!e.size)return e.autoplay.running=!1,void(e.autoplay.paused=!1);const t=e.slides.eq(e.activeIndex);let a=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(a=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(i),i=(0,n.Y3)((()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?c():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),r("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),r("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?c():(t=e.slideTo(0,e.params.speed,!0,!0),r("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),r("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&o()}),a)}function l(){return void 0===i&&(!e.autoplay.running&&(e.autoplay.running=!0,r("autoplayStart"),o(),!0))}function c(){return!!e.autoplay.running&&(void 0!==i&&(i&&(clearTimeout(i),i=void 0),e.autoplay.running=!1,r("autoplayStop"),!0))}function d(t){e.autoplay.running&&(e.autoplay.paused||(i&&clearTimeout(i),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].addEventListener(t,u)})):(e.autoplay.paused=!1,o())))}function p(){const t=(0,s.Me)();"hidden"===t.visibilityState&&e.autoplay.running&&d(),"visible"===t.visibilityState&&e.autoplay.paused&&(o(),e.autoplay.paused=!1)}function u(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)})),e.autoplay.paused=!1,e.autoplay.running?o():c())}function f(){e.params.autoplay.disableOnInteraction?c():(r("autoplayPause"),d()),["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)}))}function h(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,r("autoplayResume"),o())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),a("init",(()=>{if(e.params.autoplay.enabled){l();(0,s.Me)().addEventListener("visibilitychange",p),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",f),e.$el.on("mouseleave",h))}})),a("beforeTransitionStart",((t,a,s)=>{e.autoplay.running&&(s||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(a):c())})),a("sliderFirstMove",(()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?c():d())})),a("touchEnd",(()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&o()})),a("destroy",(()=>{e.$el.off("mouseenter",f),e.$el.off("mouseleave",h),e.autoplay.running&&c();(0,s.Me)().removeEventListener("visibilitychange",p)})),Object.assign(e.autoplay,{pause:d,run:o,start:l,stop:c})}},92585:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(23710);function n({swiper:e,extendParams:t,on:a}){function n(e,t){const a=function(){let e,t,a;return(s,n)=>{for(t=-1,e=s.length;e-t>1;)a=e+t>>1,s[a]<=n?t=a:e=a;return e}}();let s,n;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=a(this.x,e),s=n-1,(e-this.x[s])*(this.y[n]-this.y[s])/(this.x[n]-this.x[s])+this.y[s]):0},this}function r(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},a("beforeInit",(()=>{e.controller.control=e.params.controller.control})),a("update",(()=>{r()})),a("resize",(()=>{r()})),a("observerUpdate",(()=>{r()})),a("setTranslate",((t,a,s)=>{e.controller.control&&e.controller.setTranslate(a,s)})),a("setTransition",((t,a,s)=>{e.controller.control&&e.controller.setTransition(a,s)})),Object.assign(e.controller,{setTranslate:function(t,a){const s=e.controller.control;let r,i;const o=e.constructor;function l(t){const a=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(!function(t){e.controller.spline||(e.controller.spline=e.params.loop?new n(e.slidesGrid,t.slidesGrid):new n(e.snapGrid,t.snapGrid))}(t),i=-e.controller.spline.interpolate(-a)),i&&"container"!==e.params.controller.by||(r=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),i=(a-e.minTranslate())*r+t.minTranslate()),e.params.controller.inverse&&(i=t.maxTranslate()-i),t.updateProgress(i),t.setTranslate(i,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(s))for(let e=0;e{a.updateAutoHeight()})),a.$wrapperEl.transitionEnd((()=>{r&&(a.params.loop&&"slide"===e.params.controller.by&&a.loopFix(),a.transitionEnd())})))}if(Array.isArray(r))for(i=0;i{a.d(t,{Z:()=>o});var s=a(28865),n=a(61931),r=a(83733),i=a(22465);function o({swiper:e,extendParams:t,on:a}){t({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}});(0,n.Z)({effect:"cards",swiper:e,on:a,setTranslate:()=>{const{slides:t,activeIndex:a}=e,n=e.params.cardsEffect,{startTranslate:i,isTouched:o}=e.touchEventsData,l=e.translate;for(let c=0;c0&&u<1&&(o||e.params.cssMode)&&l-1&&(o||e.params.cssMode)&&l>i;if(E||x){const e=(1-Math.abs((Math.abs(u)-.5)/.5))**.5;w+=-28*u*e,v+=-.5*e,b+=96*e,m=-25*e*Math.abs(u)+"%"}if(h=u<0?`calc(${h}px + (${b*Math.abs(u)}%))`:u>0?`calc(${h}px + (-${b*Math.abs(u)}%))`:`${h}px`,!e.isHorizontal()){const e=m;m=h,h=e}const C=u<0?""+(1+(1-v)*u):""+(1-(1-v)*u),S=`\n translate3d(${h}, ${m}, ${g}px)\n rotateZ(${n.rotate?w:0}deg)\n scale(${C})\n `;if(n.slideShadows){let e=d.find(".swiper-slide-shadow");0===e.length&&(e=(0,s.Z)(n,d)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(u)-.5)/.5,0),1))}d[0].style.zIndex=-Math.abs(Math.round(p))+t.length;(0,r.Z)(n,d).transform(S)}},setTransition:t=>{const{transformEl:a}=e.params.cardsEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,i.Z)({swiper:e,duration:t,transformEl:a})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},16473:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(28865),n=a(61931),r=a(83733);function i({swiper:e,extendParams:t,on:a}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}});(0,n.Z)({effect:"coverflow",swiper:e,on:a,setTranslate:()=>{const{width:t,height:a,slides:n,slidesSizesGrid:i}=e,o=e.params.coverflowEffect,l=e.isHorizontal(),c=e.translate,d=l?t/2-c:a/2-c,p=l?o.rotate:-o.rotate,u=o.depth;for(let e=0,t=n.length;e0?f:0),a.length&&(a[0].style.opacity=-f>0?-f:0)}}},setTransition:t=>{const{transformEl:a}=e.params.coverflowEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}},75980:(e,t,a)=>{a.d(t,{Z:()=>o});var s=a(28865),n=a(61931),r=a(83733),i=a(22465);function o({swiper:e,extendParams:t,on:a}){t({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const o=e=>"string"==typeof e?e:`${e}px`;(0,n.Z)({effect:"creative",swiper:e,on:a,setTranslate:()=>{const{slides:t,$wrapperEl:a,slidesSizesGrid:n}=e,i=e.params.creativeEffect,{progressMultiplier:l}=i,c=e.params.centeredSlides;if(c){const t=n[0]/2-e.params.slidesOffsetBefore||0;a.transform(`translateX(calc(50% - ${t}px))`)}for(let a=0;a0&&(v=i.prev,g=!0),h.forEach(((e,t)=>{h[t]=`calc(${e}px + (${o(v.translate[t])} * ${Math.abs(p*l)}))`})),m.forEach(((e,t)=>{m[t]=v.rotate[t]*Math.abs(p*l)})),n[0].style.zIndex=-Math.abs(Math.round(d))+t.length;const w=h.join(", "),b=`rotateX(${m[0]}deg) rotateY(${m[1]}deg) rotateZ(${m[2]}deg)`,y=u<0?`scale(${1+(1-v.scale)*u*l})`:`scale(${1-(1-v.scale)*u*l})`,E=u<0?1+(1-v.opacity)*u*l:1-(1-v.opacity)*u*l,x=`translate3d(${w}) ${b} ${y}`;if(g&&v.shadow||!g){let e=n.children(".swiper-slide-shadow");if(0===e.length&&v.shadow&&(e=(0,s.Z)(i,n)),e.length){const t=i.shadowPerProgress?p*(1/i.limitProgress):p;e[0].style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const C=(0,r.Z)(i,n);C.transform(x).css({opacity:E}),v.origin&&C.css("transform-origin",v.origin)}},setTransition:t=>{const{transformEl:a}=e.params.creativeEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,i.Z)({swiper:e,duration:t,transformEl:a,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},61771:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(92166),n=a(61931);function r({swiper:e,extendParams:t,on:a}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(e,t,a)=>{let n=a?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=a?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===n.length&&(n=(0,s.Z)(`
`),e.append(n)),0===r.length&&(r=(0,s.Z)(`
`),e.append(r)),n.length&&(n[0].style.opacity=Math.max(-t,0)),r.length&&(r[0].style.opacity=Math.max(t,0))};(0,n.Z)({effect:"cube",swiper:e,on:a,setTranslate:()=>{const{$el:t,$wrapperEl:a,slides:n,width:i,height:o,rtlTranslate:l,size:c,browser:d}=e,p=e.params.cubeEffect,u=e.isHorizontal(),f=e.virtual&&e.params.virtual.enabled;let h,m=0;p.shadow&&(u?(h=a.find(".swiper-cube-shadow"),0===h.length&&(h=(0,s.Z)('
'),a.append(h)),h.css({height:`${i}px`})):(h=t.find(".swiper-cube-shadow"),0===h.length&&(h=(0,s.Z)('
'),t.append(h))));for(let e=0;e-1&&(m=90*a+90*o,l&&(m=90*-a-90*o)),t.transform(v),p.slideShadows&&r(t,o,u)}if(a.css({"-webkit-transform-origin":`50% 50% -${c/2}px`,"transform-origin":`50% 50% -${c/2}px`}),p.shadow)if(u)h.transform(`translate3d(0px, ${i/2+p.shadowOffset}px, ${-i/2}px) rotateX(90deg) rotateZ(0deg) scale(${p.shadowScale})`);else{const e=Math.abs(m)-90*Math.floor(Math.abs(m)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),a=p.shadowScale,s=p.shadowScale/t,n=p.shadowOffset;h.transform(`scale3d(${a}, 1, ${s}) translate3d(0px, ${o/2+n}px, ${-o/2/s}px) rotateX(-90deg)`)}const g=d.isSafari||d.isWebView?-c/2:0;a.transform(`translate3d(0px,0,${g}px) rotateX(${e.isHorizontal()?0:m}deg) rotateY(${e.isHorizontal()?-m:0}deg)`),a[0].style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:t=>{const{$el:a,slides:s}=e;s.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.cubeEffect.shadow&&!e.isHorizontal()&&a.find(".swiper-cube-shadow").transition(t)},recreateShadows:()=>{const t=e.isHorizontal();e.slides.each((e=>{const a=Math.max(Math.min(e.progress,1),-1);r((0,s.Z)(e),a,t)}))},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}},67456:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(61931),n=a(83733),r=a(22465);function i({swiper:e,extendParams:t,on:a}){t({fadeEffect:{crossFade:!1,transformEl:null}});(0,s.Z)({effect:"fade",swiper:e,on:a,setTranslate:()=>{const{slides:t}=e,a=e.params.fadeEffect;for(let s=0;s{const{transformEl:a}=e.params.fadeEffect;(a?e.slides.find(a):e.slides).transition(t),(0,r.Z)({swiper:e,duration:t,transformEl:a,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},30371:(e,t,a)=>{a.d(t,{Z:()=>l});var s=a(92166),n=a(28865),r=a(61931),i=a(83733),o=a(22465);function l({swiper:e,extendParams:t,on:a}){t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const l=(t,a,s)=>{let r=e.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),i=e.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===r.length&&(r=(0,n.Z)(s,t,e.isHorizontal()?"left":"top")),0===i.length&&(i=(0,n.Z)(s,t,e.isHorizontal()?"right":"bottom")),r.length&&(r[0].style.opacity=Math.max(-a,0)),i.length&&(i[0].style.opacity=Math.max(a,0))};(0,r.Z)({effect:"flip",swiper:e,on:a,setTranslate:()=>{const{slides:t,rtlTranslate:a}=e,s=e.params.flipEffect;for(let n=0;n{const{transformEl:a}=e.params.flipEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),(0,o.Z)({swiper:e,duration:t,transformEl:a})},recreateShadows:()=>{const t=e.params.flipEffect;e.slides.each((a=>{const n=(0,s.Z)(a);let r=n[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(a.progress,1),-1)),l(n,r,t)}))},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},45440:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(23710);function n({swiper:e,extendParams:t,emit:a,once:n}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){const{touchEventsData:t,touches:a}=e;0===t.velocities.length&&t.velocities.push({position:a[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:a[e.isHorizontal()?"currentX":"currentY"],time:(0,s.zO)()})},onTouchEnd:function({currentPos:t}){const{params:r,$wrapperEl:i,rtlTranslate:o,snapGrid:l,touchEventsData:c}=e,d=(0,s.zO)()-c.touchStartTime;if(t<-e.minTranslate())e.slideTo(e.activeIndex);else if(t>-e.maxTranslate())e.slides.length1){const t=c.velocities.pop(),a=c.velocities.pop(),n=t.position-a.position,i=t.time-a.time;e.velocity=n/i,e.velocity/=2,Math.abs(e.velocity)150||(0,s.zO)()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=r.freeMode.momentumVelocityRatio,c.velocities.length=0;let t=1e3*r.freeMode.momentumRatio;const d=e.velocity*t;let p=e.translate+d;o&&(p=-p);let u,f=!1;const h=20*Math.abs(e.velocity)*r.freeMode.momentumBounceRatio;let m;if(pe.minTranslate())r.freeMode.momentumBounce?(p-e.minTranslate()>h&&(p=e.minTranslate()+h),u=e.minTranslate(),f=!0,c.allowMomentumBounce=!0):p=e.minTranslate(),r.loop&&r.centeredSlides&&(m=!0);else if(r.freeMode.sticky){let t;for(let e=0;e-p){t=e;break}p=Math.abs(l[t]-p){e.loopFix()})),0!==e.velocity){if(t=o?Math.abs((-p-e.translate)/e.velocity):Math.abs((p-e.translate)/e.velocity),r.freeMode.sticky){const a=Math.abs((o?-p:p)-e.translate),s=e.slidesSizesGrid[e.activeIndex];t=a{e&&!e.destroyed&&c.allowMomentumBounce&&(a("momentumBounce"),e.setTransition(r.speed),setTimeout((()=>{e.setTranslate(u),i.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()}))}),0))}))):e.velocity?(a("_freeModeNoMomentumRelease"),e.updateProgress(p),e.setTransition(t),e.setTranslate(p),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,i.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(p),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(r.freeMode.sticky)return void e.slideToClosest();r.freeMode&&a("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||d>=r.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})}},8997:(e,t,a)=>{function s({swiper:e,extendParams:t}){let a,s,n;t({grid:{rows:1,fill:"column"}});e.grid={initSlides:t=>{const{slidesPerView:r}=e.params,{rows:i,fill:o}=e.params.grid;s=a/i,n=Math.floor(t/i),a=Math.floor(t/i)===t/i?t:Math.ceil(t/i)*i,"auto"!==r&&"row"===o&&(a=Math.max(a,r*i))},updateSlide:(t,r,i,o)=>{const{slidesPerGroup:l,spaceBetween:c}=e.params,{rows:d,fill:p}=e.params.grid;let u,f,h;if("row"===p&&l>1){const e=Math.floor(t/(l*d)),s=t-d*l*e,n=0===e?l:Math.min(Math.ceil((i-e*d*l)/d),l);h=Math.floor(s/n),f=s-h*n+e*l,u=f+h*a/d,r.css({"-webkit-order":u,order:u})}else"column"===p?(f=Math.floor(t/d),h=t-f*d,(f>n||f===n&&h===d-1)&&(h+=1,h>=d&&(h=0,f+=1))):(h=Math.floor(t/s),f=t-h*s);r.css(o("margin-top"),0!==h?c&&`${c}px`:"")},updateWrapperSize:(t,s,n)=>{const{spaceBetween:r,centeredSlides:i,roundLengths:o}=e.params,{rows:l}=e.params.grid;if(e.virtualSize=(t+r)*a,e.virtualSize=Math.ceil(e.virtualSize/l)-r,e.$wrapperEl.css({[n("width")]:`${e.virtualSize+r}px`}),i){s.splice(0,s.length);const t=[];for(let a=0;as})},90954:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(41936),n=a(92166);function r({swiper:e,extendParams:t,emit:a,on:r}){let i=!1;const o=(0,s.Me)(),l=(0,s.Jj)();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const c=()=>{a("hashChange");const t=o.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const a=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===a)return;e.slideTo(a)}},d=()=>{if(i&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&l.history&&l.history.replaceState)l.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),a("hashSet");else{const t=e.slides.eq(e.activeIndex),s=t.attr("data-hash")||t.attr("data-history");o.location.hash=s||"",a("hashSet")}};r("init",(()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;i=!0;const t=o.location.hash.replace("#","");if(t){const a=0;for(let s=0,n=e.slides.length;s{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&(0,n.Z)(l).off("hashchange",c)})),r("transitionEnd _freeModeNoMomentumRelease",(()=>{i&&d()})),r("slideChange",(()=>{i&&e.params.cssMode&&d()}))}},80574:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(41936);function n({swiper:e,extendParams:t,on:a}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let n=!1,r={};const i=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=e=>{const t=(0,s.Jj)();let a;a=e?new URL(e):t.location;const n=a.pathname.slice(1).split("/").filter((e=>""!==e)),r=n.length;return{key:n[r-2],value:n[r-1]}},l=(t,a)=>{const r=(0,s.Jj)();if(!n||!e.params.history.enabled)return;let o;o=e.params.url?new URL(e.params.url):r.location;const l=e.slides.eq(a);let c=i(l.attr("data-history"));if(e.params.history.root.length>0){let a=e.params.history.root;"/"===a[a.length-1]&&(a=a.slice(0,a.length-1)),c=`${a}/${t}/${c}`}else o.pathname.includes(t)||(c=`${t}/${c}`);e.params.history.keepQuery&&(c+=o.search);const d=r.history.state;d&&d.value===c||(e.params.history.replaceState?r.history.replaceState({value:c},null,c):r.history.pushState({value:c},null,c))},c=(t,a,s)=>{if(a)for(let n=0,r=e.slides.length;n{r=o(e.params.url),c(e.params.speed,r.value,!1)};a("init",(()=>{e.params.history.enabled&&(()=>{const t=(0,s.Jj)();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);n=!0,r=o(e.params.url),(r.key||r.value)&&(c(0,r.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",d))}})()})),a("destroy",(()=>{e.params.history.enabled&&(()=>{const t=(0,s.Jj)();e.params.history.replaceState||t.removeEventListener("popstate",d)})()})),a("transitionEnd _freeModeNoMomentumRelease",(()=>{n&&l(e.params.history.key,e.activeIndex)})),a("slideChange",(()=>{n&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)}))}},51558:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(41936),n=a(92166);function r({swiper:e,extendParams:t,on:a,emit:r}){const i=(0,s.Me)(),o=(0,s.Jj)();function l(t){if(!e.enabled)return;const{rtlTranslate:a}=e;let s=t;s.originalEvent&&(s=s.originalEvent);const n=s.keyCode||s.charCode,l=e.params.keyboard.pageUpDown,c=l&&33===n,d=l&&34===n,p=37===n,u=39===n,f=38===n,h=40===n;if(!e.allowSlideNext&&(e.isHorizontal()&&u||e.isVertical()&&h||d))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&p||e.isVertical()&&f||c))return!1;if(!(s.shiftKey||s.altKey||s.ctrlKey||s.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){if(e.params.keyboard.onlyInViewport&&(c||d||p||u||f||h)){let t=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&0===e.$el.parents(`.${e.params.slideActiveClass}`).length)return;const s=e.$el,n=s[0].clientWidth,r=s[0].clientHeight,i=o.innerWidth,l=o.innerHeight,c=e.$el.offset();a&&(c.left-=e.$el[0].scrollLeft);const d=[[c.left,c.top],[c.left+n,c.top],[c.left,c.top+r],[c.left+n,c.top+r]];for(let e=0;e=0&&a[0]<=i&&a[1]>=0&&a[1]<=l){if(0===a[0]&&0===a[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((c||d||p||u)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),((d||u)&&!a||(c||p)&&a)&&e.slideNext(),((c||p)&&!a||(d||u)&&a)&&e.slidePrev()):((c||d||f||h)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),(d||h)&&e.slideNext(),(c||f)&&e.slidePrev()),r("keyPress",n)}}function c(){e.keyboard.enabled||((0,n.Z)(i).on("keydown",l),e.keyboard.enabled=!0)}function d(){e.keyboard.enabled&&((0,n.Z)(i).off("keydown",l),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),a("init",(()=>{e.params.keyboard.enabled&&c()})),a("destroy",(()=>{e.keyboard.enabled&&d()})),Object.assign(e.keyboard,{enable:c,disable:d})}},63689:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(41936),n=a(92166);function r({swiper:e,extendParams:t,on:a,emit:r}){t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),e.lazy={};let i=!1,o=!1;function l(t,a=!0){const s=e.params.lazy;if(void 0===t)return;if(0===e.slides.length)return;const i=e.virtual&&e.params.virtual.enabled?e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`):e.slides.eq(t),o=i.find(`.${s.elementClass}:not(.${s.loadedClass}):not(.${s.loadingClass})`);!i.hasClass(s.elementClass)||i.hasClass(s.loadedClass)||i.hasClass(s.loadingClass)||o.push(i[0]),0!==o.length&&o.each((t=>{const o=(0,n.Z)(t);o.addClass(s.loadingClass);const c=o.attr("data-background"),d=o.attr("data-src"),p=o.attr("data-srcset"),u=o.attr("data-sizes"),f=o.parent("picture");e.loadImage(o[0],d||c,p,u,!1,(()=>{if(null!=e&&e&&(!e||e.params)&&!e.destroyed){if(c?(o.css("background-image",`url("${c}")`),o.removeAttr("data-background")):(p&&(o.attr("srcset",p),o.removeAttr("data-srcset")),u&&(o.attr("sizes",u),o.removeAttr("data-sizes")),f.length&&f.children("source").each((e=>{const t=(0,n.Z)(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),d&&(o.attr("src",d),o.removeAttr("data-src"))),o.addClass(s.loadedClass).removeClass(s.loadingClass),i.find(`.${s.preloaderClass}`).remove(),e.params.loop&&a){const t=i.attr("data-swiper-slide-index");if(i.hasClass(e.params.slideDuplicateClass)){l(e.$wrapperEl.children(`[data-swiper-slide-index="${t}"]:not(.${e.params.slideDuplicateClass})`).index(),!1)}else{l(e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${t}"]`).index(),!1)}}r("lazyImageReady",i[0],o[0]),e.params.autoHeight&&e.updateAutoHeight()}})),r("lazyImageLoad",i[0],o[0])}))}function c(){const{$wrapperEl:t,params:a,slides:s,activeIndex:r}=e,i=e.virtual&&a.virtual.enabled,c=a.lazy;let d=a.slidesPerView;function p(e){if(i){if(t.children(`.${a.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(s[e])return!0;return!1}function u(e){return i?(0,n.Z)(e).attr("data-swiper-slide-index"):(0,n.Z)(e).index()}if("auto"===d&&(d=0),o||(o=!0),e.params.watchSlidesProgress)t.children(`.${a.slideVisibleClass}`).each((e=>{l(i?(0,n.Z)(e).attr("data-swiper-slide-index"):(0,n.Z)(e).index())}));else if(d>1)for(let e=r;e1||c.loadPrevNextAmount&&c.loadPrevNextAmount>1){const e=c.loadPrevNextAmount,t=Math.ceil(d),a=Math.min(r+t+Math.max(e,t),s.length),n=Math.max(r-Math.max(t,e),0);for(let e=r+t;e0&&l(u(e));const s=t.children(`.${a.slidePrevClass}`);s.length>0&&l(u(s))}}function d(){const t=(0,s.Jj)();if(!e||e.destroyed)return;const a=e.params.lazy.scrollingElement?(0,n.Z)(e.params.lazy.scrollingElement):(0,n.Z)(t),r=a[0]===t,o=r?t.innerWidth:a[0].offsetWidth,l=r?t.innerHeight:a[0].offsetHeight,p=e.$el.offset(),{rtlTranslate:u}=e;let f=!1;u&&(p.left-=e.$el[0].scrollLeft);const h=[[p.left,p.top],[p.left+e.width,p.top],[p.left,p.top+e.height],[p.left+e.width,p.top+e.height]];for(let e=0;e=0&&t[0]<=o&&t[1]>=0&&t[1]<=l){if(0===t[0]&&0===t[1])continue;f=!0}}const m=!("touchstart"!==e.touchEvents.start||!e.support.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};f?(c(),a.off("scroll",d,m)):i||(i=!0,a.on("scroll",d,m))}a("beforeInit",(()=>{e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)})),a("init",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?d():c())})),a("scroll",(()=>{e.params.freeMode&&e.params.freeMode.enabled&&!e.params.freeMode.sticky&&c()})),a("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?d():c())})),a("transitionStart",(()=>{e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!o)&&(e.params.lazy.checkInView?d():c())})),a("transitionEnd",(()=>{e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.checkInView?d():c())})),a("slideChange",(()=>{const{lazy:t,cssMode:a,watchSlidesProgress:s,touchReleaseOnEdges:n,resistanceRatio:r}=e.params;t.enabled&&(a||s&&(n||0===r))&&c()})),a("destroy",(()=>{e.$el&&e.$el.find(`.${e.params.lazy.loadingClass}`).removeClass(e.params.lazy.loadingClass)})),Object.assign(e.lazy,{load:c,loadInSlide:l})}},76263:(e,t,a)=>{a.d(t,{Z:()=>l});var s=a(68700),n=a(49501),r=a(18034),i=a(71912),o=a(17872);function l({swiper:e}){Object.assign(e,{appendSlide:s.Z.bind(e),prependSlide:n.Z.bind(e),addSlide:r.Z.bind(e),removeSlide:i.Z.bind(e),removeAllSlides:o.Z.bind(e)})}},18034:(e,t,a)=>{function s(e,t){const a=this,{$wrapperEl:s,params:n,activeIndex:r}=a;let i=r;n.loop&&(i-=a.loopedSlides,a.loopDestroy(),a.slides=s.children(`.${n.slideClass}`));const o=a.slides.length;if(e<=0)return void a.prependSlide(t);if(e>=o)return void a.appendSlide(t);let l=i>e?i+1:i;const c=[];for(let t=o-1;t>=e;t-=1){const e=a.slides.eq(t);e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?i+t.length:i}else s.append(t);for(let e=0;es})},68700:(e,t,a)=>{function s(e){const t=this,{$wrapperEl:a,params:s}=t;if(s.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;ts})},49501:(e,t,a)=>{function s(e){const t=this,{params:a,$wrapperEl:s,activeIndex:n}=t;a.loop&&t.loopDestroy();let r=n+1;if("object"==typeof e&&"length"in e){for(let t=0;ts})},17872:(e,t,a)=>{function s(){const e=this,t=[];for(let a=0;as})},71912:(e,t,a)=>{function s(e){const t=this,{params:a,$wrapperEl:s,activeIndex:n}=t;let r=n;a.loop&&(r-=t.loopedSlides,t.loopDestroy(),t.slides=s.children(`.${a.slideClass}`));let i,o=r;if("object"==typeof e&&"length"in e){for(let a=0;as})},74010:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(41936),n=a(92166),r=a(23710);function i({swiper:e,extendParams:t,on:a,emit:i}){const o=(0,s.Jj)();let l;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let c,d=(0,r.zO)();const p=[];function u(){e.enabled&&(e.mouseEntered=!0)}function f(){e.enabled&&(e.mouseEntered=!1)}function h(t){return!(e.params.mousewheel.thresholdDelta&&t.delta=6&&(0,r.zO)()-d<60||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),i("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),i("scroll",t.raw)),d=(new o.Date).getTime(),!1)))}function m(t){let a=t,s=!0;if(!e.enabled)return;const o=e.params.mousewheel;e.params.cssMode&&a.preventDefault();let d=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(d=(0,n.Z)(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!d[0].contains(a.target)&&!o.releaseOnEdges)return!0;a.originalEvent&&(a=a.originalEvent);let u=0;const f=e.rtlTranslate?-1:1,m=function(e){let t=0,a=0,s=0,n=0;return"detail"in e&&(a=e.detail),"wheelDelta"in e&&(a=-e.wheelDelta/120),"wheelDeltaY"in e&&(a=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=a,a=0),s=10*t,n=10*a,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(s=e.deltaX),e.shiftKey&&!s&&(s=n,n=0),(s||n)&&e.deltaMode&&(1===e.deltaMode?(s*=40,n*=40):(s*=800,n*=800)),s&&!t&&(t=s<1?-1:1),n&&!a&&(a=n<1?-1:1),{spinX:t,spinY:a,pixelX:s,pixelY:n}}(a);if(o.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(m.pixelX)>Math.abs(m.pixelY)))return!0;u=-m.pixelX*f}else{if(!(Math.abs(m.pixelY)>Math.abs(m.pixelX)))return!0;u=-m.pixelY}else u=Math.abs(m.pixelX)>Math.abs(m.pixelY)?-m.pixelX*f:-m.pixelY;if(0===u)return!0;o.invert&&(u=-u);let g=e.getTranslate()+u*o.sensitivity;if(g>=e.minTranslate()&&(g=e.minTranslate()),g<=e.maxTranslate()&&(g=e.maxTranslate()),s=!!e.params.loop||!(g===e.minTranslate()||g===e.maxTranslate()),s&&e.params.nested&&a.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:(0,r.zO)(),delta:Math.abs(u),direction:Math.sign(u)},s=c&&t.time=e.minTranslate()&&(n=e.minTranslate()),n<=e.maxTranslate()&&(n=e.maxTranslate()),e.setTransition(0),e.setTranslate(n),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!d&&e.isBeginning||!f&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(l),l=void 0,p.length>=15&&p.shift();const a=p.length?p[p.length-1]:void 0,s=p[0];if(p.push(t),a&&(t.delta>a.delta||t.direction!==a.direction))p.splice(0);else if(p.length>=15&&t.time-s.time<500&&s.delta-t.delta>=1&&t.delta<=6){const a=u>0?.8:.2;c=t,p.splice(0),l=(0,r.Y3)((()=>{e.slideToClosest(e.params.speed,!0,void 0,a)}),0)}l||(l=(0,r.Y3)((()=>{c=t,p.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)}),500))}if(s||i("scroll",a),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),n===e.minTranslate()||n===e.maxTranslate())return!0}}else{const a={time:(0,r.zO)(),delta:Math.abs(u),direction:Math.sign(u),raw:t};p.length>=2&&p.shift();const s=p.length?p[p.length-1]:void 0;if(p.push(a),s?(a.direction!==s.direction||a.delta>s.delta||a.time>s.time+150)&&h(a):h(a),function(t){const a=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&a.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&a.releaseOnEdges)return!0;return!1}(a))return!0}return a.preventDefault?a.preventDefault():a.returnValue=!1,!1}function g(t){let a=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(a=(0,n.Z)(e.params.mousewheel.eventsTarget)),a[t]("mouseenter",u),a[t]("mouseleave",f),a[t]("wheel",m)}function v(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",m),!0):!e.mousewheel.enabled&&(g("on"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,m),!0):!!e.mousewheel.enabled&&(g("off"),e.mousewheel.enabled=!1,!0)}a("init",(()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&v()})),a("destroy",(()=>{e.params.cssMode&&v(),e.mousewheel.enabled&&w()})),Object.assign(e.mousewheel,{enable:v,disable:w})}},46615:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(15438),n=a(92166);function r({swiper:e,extendParams:t,on:a,emit:r}){function i(t){let a;return t&&(a=(0,n.Z)(t),e.params.uniqueNavElements&&"string"==typeof t&&a.length>1&&1===e.$el.find(t).length&&(a=e.$el.find(t))),a}function o(t,a){const s=e.params.navigation;t&&t.length>0&&(t[a?"addClass":"removeClass"](s.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=a),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](s.lockClass))}function l(){if(e.params.loop)return;const{$nextEl:t,$prevEl:a}=e.navigation;o(a,e.isBeginning&&!e.params.rewind),o(t,e.isEnd&&!e.params.rewind)}function c(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function d(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function p(){const t=e.params.navigation;if(e.params.navigation=(0,s.Z)(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const a=i(t.nextEl),n=i(t.prevEl);a&&a.length>0&&a.on("click",d),n&&n.length>0&&n.on("click",c),Object.assign(e.navigation,{$nextEl:a,nextEl:a&&a[0],$prevEl:n,prevEl:n&&n[0]}),e.enabled||(a&&a.addClass(t.lockClass),n&&n.addClass(t.lockClass))}function u(){const{$nextEl:t,$prevEl:a}=e.navigation;t&&t.length&&(t.off("click",d),t.removeClass(e.params.navigation.disabledClass)),a&&a.length&&(a.off("click",c),a.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},a("init",(()=>{!1===e.params.navigation.enabled?f():(p(),l())})),a("toEdge fromEdge lock unlock",(()=>{l()})),a("destroy",(()=>{u()})),a("enable disable",(()=>{const{$nextEl:t,$prevEl:a}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),a&&a[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),a("click",((t,a)=>{const{$nextEl:s,$prevEl:i}=e.navigation,o=a.target;if(e.params.navigation.hideOnClick&&!(0,n.Z)(o).is(i)&&!(0,n.Z)(o).is(s)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===o||e.pagination.el.contains(o)))return;let t;s?t=s.hasClass(e.params.navigation.hiddenClass):i&&(t=i.hasClass(e.params.navigation.hiddenClass)),r(!0===t?"navigationShow":"navigationHide"),s&&s.toggleClass(e.params.navigation.hiddenClass),i&&i.toggleClass(e.params.navigation.hiddenClass)}}));const f=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),u()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),p(),l()},disable:f,update:l,init:p,destroy:u})}},41852:(e,t,a)=>{a.d(t,{Z:()=>i});var s=a(92166),n=a(91443),r=a(15438);function i({swiper:e,extendParams:t,on:a,emit:i}){const o="swiper-pagination";let l;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let c=0;function d(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function p(t,a){const{bulletActiveClass:s}=e.params.pagination;t[a]().addClass(`${s}-${a}`)[a]().addClass(`${s}-${a}-${a}`)}function u(){const t=e.rtl,a=e.params.pagination;if(d())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,o=e.pagination.$el;let u;const f=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),u>r-1-2*e.loopedSlides&&(u-=r-2*e.loopedSlides),u>f-1&&(u-=f),u<0&&"bullets"!==e.params.paginationType&&(u=f+u)):u=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===a.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const n=e.pagination.bullets;let r,i,d;if(a.dynamicBullets&&(l=n.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(e.isHorizontal()?"width":"height",l*(a.dynamicMainBullets+4)+"px"),a.dynamicMainBullets>1&&void 0!==e.previousIndex&&(c+=u-(e.previousIndex-e.loopedSlides||0),c>a.dynamicMainBullets-1?c=a.dynamicMainBullets-1:c<0&&(c=0)),r=Math.max(u-c,0),i=r+(Math.min(n.length,a.dynamicMainBullets)-1),d=(i+r)/2),n.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${a.bulletActiveClass}${e}`)).join(" ")),o.length>1)n.each((e=>{const t=(0,s.Z)(e),n=t.index();n===u&&t.addClass(a.bulletActiveClass),a.dynamicBullets&&(n>=r&&n<=i&&t.addClass(`${a.bulletActiveClass}-main`),n===r&&p(t,"prev"),n===i&&p(t,"next"))}));else{const t=n.eq(u),s=t.index();if(t.addClass(a.bulletActiveClass),a.dynamicBullets){const t=n.eq(r),o=n.eq(i);for(let e=r;e<=i;e+=1)n.eq(e).addClass(`${a.bulletActiveClass}-main`);if(e.params.loop)if(s>=n.length){for(let e=a.dynamicMainBullets;e>=0;e-=1)n.eq(n.length-e).addClass(`${a.bulletActiveClass}-main`);n.eq(n.length-a.dynamicMainBullets-1).addClass(`${a.bulletActiveClass}-prev`)}else p(t,"prev"),p(o,"next");else p(t,"prev"),p(o,"next")}}if(a.dynamicBullets){const s=Math.min(n.length,a.dynamicMainBullets+4),r=(l*s-l)/2-d*l,i=t?"right":"left";n.css(e.isHorizontal()?i:"top",`${r}px`)}}if("fraction"===a.type&&(o.find((0,n.Z)(a.currentClass)).text(a.formatFractionCurrent(u+1)),o.find((0,n.Z)(a.totalClass)).text(a.formatFractionTotal(f))),"progressbar"===a.type){let t;t=a.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const s=(u+1)/f;let r=1,i=1;"horizontal"===t?r=s:i=s,o.find((0,n.Z)(a.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${i})`).transition(e.params.speed)}"custom"===a.type&&a.renderCustom?(o.html(a.renderCustom(e,u+1,f)),i("paginationRender",o[0])):i("paginationUpdate",o[0]),e.params.watchOverflow&&e.enabled&&o[e.isLocked?"addClass":"removeClass"](a.lockClass)}function f(){const t=e.params.pagination;if(d())return;const a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,s=e.pagination.$el;let r="";if("bullets"===t.type){let i=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&i>a&&(i=a);for(let a=0;a`;s.html(r),e.pagination.bullets=s.find((0,n.Z)(t.bulletClass))}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):` / `,s.html(r)),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):``,s.html(r)),"custom"!==t.type&&i("paginationRender",e.pagination.$el[0])}function h(){e.params.pagination=(0,r.Z)(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let a=(0,s.Z)(t.el);0!==a.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&a.length>1&&(a=e.$el.find(t.el),a.length>1&&(a=a.filter((t=>(0,s.Z)(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&a.addClass(t.clickableClass),a.addClass(t.modifierClass+t.type),a.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(a.addClass(`${t.modifierClass}${t.type}-dynamic`),c=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&a.addClass(t.progressbarOppositeClass),t.clickable&&a.on("click",(0,n.Z)(t.bulletClass),(function(t){t.preventDefault();let a=(0,s.Z)(this).index()*e.params.slidesPerGroup;e.params.loop&&(a+=e.loopedSlides),e.slideTo(a)})),Object.assign(e.pagination,{$el:a,el:a[0]}),e.enabled||a.addClass(t.lockClass))}function m(){const t=e.params.pagination;if(d())return;const a=e.pagination.$el;a.removeClass(t.hiddenClass),a.removeClass(t.modifierClass+t.type),a.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&a.off("click",(0,n.Z)(t.bulletClass))}a("init",(()=>{!1===e.params.pagination.enabled?g():(h(),f(),u())})),a("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&u()})),a("snapIndexChange",(()=>{e.params.loop||u()})),a("slidesLengthChange",(()=>{e.params.loop&&(f(),u())})),a("snapGridLengthChange",(()=>{e.params.loop||(f(),u())})),a("destroy",(()=>{m()})),a("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),a("lock unlock",(()=>{u()})),a("click",((t,a)=>{const n=a.target,{$el:r}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&r&&r.length>0&&!(0,s.Z)(n).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&n===e.navigation.nextEl||e.navigation.prevEl&&n===e.navigation.prevEl))return;const t=r.hasClass(e.params.pagination.hiddenClass);i(!0===t?"paginationShow":"paginationHide"),r.toggleClass(e.params.pagination.hiddenClass)}}));const g=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),m()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),h(),f(),u()},disable:g,render:f,update:u,init:h,destroy:m})}},20019:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(92166);function n({swiper:e,extendParams:t,on:a}){t({parallax:{enabled:!1}});const n=(t,a)=>{const{rtl:n}=e,r=(0,s.Z)(t),i=n?-1:1,o=r.attr("data-swiper-parallax")||"0";let l=r.attr("data-swiper-parallax-x"),c=r.attr("data-swiper-parallax-y");const d=r.attr("data-swiper-parallax-scale"),p=r.attr("data-swiper-parallax-opacity");if(l||c?(l=l||"0",c=c||"0"):e.isHorizontal()?(l=o,c="0"):(c=o,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*a*i+"%":l*a*i+"px",c=c.indexOf("%")>=0?parseInt(c,10)*a+"%":c*a+"px",null!=p){const e=p-(p-1)*(1-Math.abs(a));r[0].style.opacity=e}if(null==d)r.transform(`translate3d(${l}, ${c}, 0px)`);else{const e=d-(d-1)*(1-Math.abs(a));r.transform(`translate3d(${l}, ${c}, 0px) scale(${e})`)}},r=()=>{const{$el:t,slides:a,progress:r,snapGrid:i}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{n(e,r)})),a.each(((t,a)=>{let o=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(o+=Math.ceil(a/2)-r*(i.length-1)),o=Math.min(Math.max(o,-1),1),(0,s.Z)(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{n(e,o)}))}))};a("beforeInit",(()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)})),a("init",(()=>{e.params.parallax.enabled&&r()})),a("setTranslate",(()=>{e.params.parallax.enabled&&r()})),a("setTransition",((t,a)=>{e.params.parallax.enabled&&((t=e.params.speed)=>{const{$el:a}=e;a.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{const a=(0,s.Z)(e);let n=parseInt(a.attr("data-swiper-parallax-duration"),10)||t;0===t&&(n=0),a.transition(n)}))})(a)}))}},23043:(e,t,a)=>{a.d(t,{Z:()=>o});var s=a(41936),n=a(92166),r=a(23710),i=a(15438);function o({swiper:e,extendParams:t,on:a,emit:o}){const l=(0,s.Me)();let c,d,p,u,f=!1,h=null,m=null;function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:a,progress:s}=e,{$dragEl:n,$el:r}=t,i=e.params.scrollbar;let o=d,l=(p-d)*s;a?(l=-l,l>0?(o=d-l,l=0):-l+d>p&&(o=p+l)):l<0?(o=d+l,l=0):l+d>p&&(o=p-l),e.isHorizontal()?(n.transform(`translate3d(${l}px, 0, 0)`),n[0].style.width=`${o}px`):(n.transform(`translate3d(0px, ${l}px, 0)`),n[0].style.height=`${o}px`),i.hide&&(clearTimeout(h),r[0].style.opacity=1,h=setTimeout((()=>{r[0].style.opacity=0,r.transition(400)}),1e3))}function v(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:a,$el:s}=t;a[0].style.width="",a[0].style.height="",p=e.isHorizontal()?s[0].offsetWidth:s[0].offsetHeight,u=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),d="auto"===e.params.scrollbar.dragSize?p*u:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?a[0].style.width=`${d}px`:a[0].style.height=`${d}px`,s[0].style.display=u>=1?"none":"",e.params.scrollbar.hide&&(s[0].style.opacity=0),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}function w(t){return e.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY}function b(t){const{scrollbar:a,rtlTranslate:s}=e,{$el:n}=a;let r;r=(w(t)-n.offset()[e.isHorizontal()?"left":"top"]-(null!==c?c:d/2))/(p-d),r=Math.max(Math.min(r,1),0),s&&(r=1-r);const i=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*r;e.updateProgress(i),e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}function y(t){const a=e.params.scrollbar,{scrollbar:s,$wrapperEl:n}=e,{$el:r,$dragEl:i}=s;f=!0,c=t.target===i[0]||t.target===i?w(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),n.transition(100),i.transition(100),b(t),clearTimeout(m),r.transition(0),a.hide&&r.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),o("scrollbarDragStart",t)}function E(t){const{scrollbar:a,$wrapperEl:s}=e,{$el:n,$dragEl:r}=a;f&&(t.preventDefault?t.preventDefault():t.returnValue=!1,b(t),s.transition(0),n.transition(0),r.transition(0),o("scrollbarDragMove",t))}function x(t){const a=e.params.scrollbar,{scrollbar:s,$wrapperEl:n}=e,{$el:i}=s;f&&(f=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),n.transition("")),a.hide&&(clearTimeout(m),m=(0,r.Y3)((()=>{i.css("opacity",0),i.transition(400)}),1e3)),o("scrollbarDragEnd",t),a.snapOnRelease&&e.slideToClosest())}function C(t){const{scrollbar:a,touchEventsTouch:s,touchEventsDesktop:n,params:r,support:i}=e,o=a.$el;if(!o)return;const c=o[0],d=!(!i.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},p=!(!i.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};if(!c)return;const u="on"===t?"addEventListener":"removeEventListener";i.touch?(c[u](s.start,y,d),c[u](s.move,E,d),c[u](s.end,x,p)):(c[u](n.start,y,d),l[u](n.move,E,d),l[u](n.end,x,p))}function S(){const{scrollbar:t,$el:a}=e;e.params.scrollbar=(0,i.Z)(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const s=e.params.scrollbar;if(!s.el)return;let r=(0,n.Z)(s.el);e.params.uniqueNavElements&&"string"==typeof s.el&&r.length>1&&1===a.find(s.el).length&&(r=a.find(s.el)),r.addClass(e.isHorizontal()?s.horizontalClass:s.verticalClass);let o=r.find(`.${e.params.scrollbar.dragClass}`);0===o.length&&(o=(0,n.Z)(`
`),r.append(o)),Object.assign(t,{$el:r,el:r[0],$dragEl:o,dragEl:o[0]}),s.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&C("on"),r&&r[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}function T(){const t=e.params.scrollbar,a=e.scrollbar.$el;a&&a.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.params.scrollbar.el&&e.scrollbar.el&&C("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},a("init",(()=>{!1===e.params.scrollbar.enabled?$():(S(),v(),g())})),a("update resize observerUpdate lock unlock",(()=>{v()})),a("setTranslate",(()=>{g()})),a("setTransition",((t,a)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&e.scrollbar.$dragEl.transition(t)}(a)})),a("enable disable",(()=>{const{$el:t}=e.scrollbar;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)})),a("destroy",(()=>{T()}));const $=()=>{e.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),T()};Object.assign(e.scrollbar,{enable:()=>{e.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),S(),v(),g()},disable:$,updateSize:v,setTranslate:g,init:S,destroy:T})}},83117:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(23710),n=a(92166);function r({swiper:e,extendParams:t,on:a}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,i=!1;function o(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const a=t.clickedIndex,s=t.clickedSlide;if(s&&(0,n.Z)(s).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==a)return;let r;if(r=t.params.loop?parseInt((0,n.Z)(t.clickedSlide).attr("data-swiper-slide-index"),10):a,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const a=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${r}"]`).eq(0).index(),s=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${r}"]`).eq(0).index();r=void 0===a?s:void 0===s?a:s-t1&&!e.params.centeredSlides&&(n=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(n=1),n=Math.floor(n),a.slides.removeClass(r),a.params.loop||a.params.virtual&&a.params.virtual.enabled)for(let t=0;t1?s:l:s-le.previousIndex?"next":"prev"}else n=e.realIndex,r=n>e.previousIndex?"next":"prev";o&&(n+="next"===r?i:-1*i),a.visibleSlidesIndexes&&a.visibleSlidesIndexes.indexOf(n)<0&&(a.params.centeredSlides?n=n>l?n-Math.floor(s/2)+1:n+Math.floor(s/2)-1:n>l&&a.params.slidesPerGroup,a.slideTo(n,t?0:void 0))}}e.thumbs={swiper:null},a("beforeInit",(()=>{const{thumbs:t}=e.params;t&&t.swiper&&(l(),c(!0))})),a("slideChange update resize observerUpdate",(()=>{c()})),a("setTransition",((t,a)=>{const s=e.thumbs.swiper;s&&!s.destroyed&&s.setTransition(a)})),a("beforeDestroy",(()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&i&&t.destroy()})),Object.assign(e.thumbs,{init:l,update:c})}},46118:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(92166),n=a(23710);function r({swiper:e,extendParams:t,on:a,emit:r}){let i;function o(t,a){const n=e.params.virtual;if(n.cache&&e.virtual.cache[a])return e.virtual.cache[a];const r=n.renderSlide?(0,s.Z)(n.renderSlide.call(e,t,a)):(0,s.Z)(`
${t}
`);return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",a),n.cache&&(e.virtual.cache[a]=r),r}function l(t){const{slidesPerView:a,slidesPerGroup:s,centeredSlides:n}=e.params,{addSlidesBefore:i,addSlidesAfter:l}=e.params.virtual,{from:c,to:d,slides:p,slidesGrid:u,offset:f}=e.virtual;e.params.cssMode||e.updateActiveIndex();const h=e.activeIndex||0;let m,g,v;m=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",n?(g=Math.floor(a/2)+s+l,v=Math.floor(a/2)+s+i):(g=a+(s-1)+l,v=s+i);const w=Math.max((h||0)-v,0),b=Math.min((h||0)+g,p.length-1),y=(e.slidesGrid[w]||0)-(e.slidesGrid[0]||0);function E(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),r("virtualUpdate")}if(Object.assign(e.virtual,{from:w,to:b,offset:y,slidesGrid:e.slidesGrid}),c===w&&d===b&&!t)return e.slidesGrid!==u&&y!==f&&e.slides.css(m,`${y}px`),e.updateProgress(),void r("virtualUpdate");if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:y,from:w,to:b,slides:function(){const e=[];for(let t=w;t<=b;t+=1)e.push(p[t]);return e}()}),void(e.params.virtual.renderExternalUpdate?E():r("virtualUpdate"));const x=[],C=[];if(t)e.$wrapperEl.find(`.${e.params.slideClass}`).remove();else for(let t=c;t<=d;t+=1)(tb)&&e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`).remove();for(let e=0;e=w&&e<=b&&(void 0===d||t?C.push(e):(e>d&&C.push(e),e{e.$wrapperEl.append(o(p[t],t))})),x.sort(((e,t)=>t-e)).forEach((t=>{e.$wrapperEl.prepend(o(p[t],t))})),e.$wrapperEl.children(".swiper-slide").css(m,`${y}px`),E()}t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},a("beforeInit",(()=>{e.params.virtual.enabled&&(e.virtual.slides=e.params.virtual.slides,e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,e.params.initialSlide||l())})),a("setTranslate",(()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(i),i=setTimeout((()=>{l()}),100)):l())})),a("init update resize",(()=>{e.params.virtual.enabled&&e.params.cssMode&&(0,n.z2)(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)})),Object.assign(e.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let a=0;a{const s=t[e],r=s.attr("data-swiper-slide-index");r&&s.attr("data-swiper-slide-index",parseInt(r,10)+n),a[parseInt(e,10)+n]=s})),e.virtual.cache=a}l(!0),e.slideTo(s,0)},removeSlide:function(t){if(null==t)return;let a=e.activeIndex;if(Array.isArray(t))for(let s=t.length-1;s>=0;s-=1)e.virtual.slides.splice(t[s],1),e.params.virtual.cache&&delete e.virtual.cache[t[s]],t[s]{a.d(t,{Z:()=>i});var s=a(41936),n=a(92166),r=a(23710);function i({swiper:e,extendParams:t,on:a,emit:i}){const o=(0,s.Jj)();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let l,c,d,p=1,u=!1;const f={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},h={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},m={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let g=1;function v(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,a=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,n=e.targetTouches[1].pageY;return Math.sqrt((s-t)**2+(n-a)**2)}function w(t){const a=e.support,s=e.params.zoom;if(c=!1,d=!1,!a.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;c=!0,f.scaleStart=v(t)}f.$slideEl&&f.$slideEl.length||(f.$slideEl=(0,n.Z)(t.target).closest(`.${e.params.slideClass}`),0===f.$slideEl.length&&(f.$slideEl=e.slides.eq(e.activeIndex)),f.$imageEl=f.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),f.$imageWrapEl=f.$imageEl.parent(`.${s.containerClass}`),f.maxRatio=f.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,0!==f.$imageWrapEl.length)?(f.$imageEl&&f.$imageEl.transition(0),u=!0):f.$imageEl=void 0}function b(t){const a=e.support,s=e.params.zoom,n=e.zoom;if(!a.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;d=!0,f.scaleMove=v(t)}f.$imageEl&&0!==f.$imageEl.length?(a.gestures?n.scale=t.scale*p:n.scale=f.scaleMove/f.scaleStart*p,n.scale>f.maxRatio&&(n.scale=f.maxRatio-1+(n.scale-f.maxRatio+1)**.5),n.scaleh.touchesStart.x))return void(h.isTouched=!1);if(!e.isHorizontal()&&(Math.floor(h.minY)===Math.floor(h.startY)&&h.touchesCurrent.yh.touchesStart.y))return void(h.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),h.isMoved=!0,h.currentX=h.touchesCurrent.x-h.touchesStart.x+h.startX,h.currentY=h.touchesCurrent.y-h.touchesStart.y+h.startY,h.currentXh.maxX&&(h.currentX=h.maxX-1+(h.currentX-h.maxX+1)**.8),h.currentYh.maxY&&(h.currentY=h.maxY-1+(h.currentY-h.maxY+1)**.8),m.prevPositionX||(m.prevPositionX=h.touchesCurrent.x),m.prevPositionY||(m.prevPositionY=h.touchesCurrent.y),m.prevTime||(m.prevTime=Date.now()),m.x=(h.touchesCurrent.x-m.prevPositionX)/(Date.now()-m.prevTime)/2,m.y=(h.touchesCurrent.y-m.prevPositionY)/(Date.now()-m.prevTime)/2,Math.abs(h.touchesCurrent.x-m.prevPositionX)<2&&(m.x=0),Math.abs(h.touchesCurrent.y-m.prevPositionY)<2&&(m.y=0),m.prevPositionX=h.touchesCurrent.x,m.prevPositionY=h.touchesCurrent.y,m.prevTime=Date.now(),f.$imageWrapEl.transform(`translate3d(${h.currentX}px, ${h.currentY}px,0)`)}}function x(){const t=e.zoom;f.$slideEl&&e.previousIndex!==e.activeIndex&&(f.$imageEl&&f.$imageEl.transform("translate3d(0,0,0) scale(1)"),f.$imageWrapEl&&f.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,p=1,f.$slideEl=void 0,f.$imageEl=void 0,f.$imageWrapEl=void 0)}function C(t){const a=e.zoom,s=e.params.zoom;if(f.$slideEl||(t&&t.target&&(f.$slideEl=(0,n.Z)(t.target).closest(`.${e.params.slideClass}`)),f.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?f.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):f.$slideEl=e.slides.eq(e.activeIndex)),f.$imageEl=f.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),f.$imageWrapEl=f.$imageEl.parent(`.${s.containerClass}`)),!f.$imageEl||0===f.$imageEl.length||!f.$imageWrapEl||0===f.$imageWrapEl.length)return;let r,i,l,c,d,u,m,g,v,w,b,y,E,x,C,S,T,$;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),f.$slideEl.addClass(`${s.zoomedSlideClass}`),void 0===h.touchesStart.x&&t?(r="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,i="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(r=h.touchesStart.x,i=h.touchesStart.y),a.scale=f.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,p=f.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,t?(T=f.$slideEl[0].offsetWidth,$=f.$slideEl[0].offsetHeight,l=f.$slideEl.offset().left+o.scrollX,c=f.$slideEl.offset().top+o.scrollY,d=l+T/2-r,u=c+$/2-i,v=f.$imageEl[0].offsetWidth,w=f.$imageEl[0].offsetHeight,b=v*a.scale,y=w*a.scale,E=Math.min(T/2-b/2,0),x=Math.min($/2-y/2,0),C=-E,S=-x,m=d*a.scale,g=u*a.scale,mC&&(m=C),gS&&(g=S)):(m=0,g=0),f.$imageWrapEl.transition(300).transform(`translate3d(${m}px, ${g}px,0)`),f.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${a.scale})`)}function S(){const t=e.zoom,a=e.params.zoom;f.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?f.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):f.$slideEl=e.slides.eq(e.activeIndex),f.$imageEl=f.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),f.$imageWrapEl=f.$imageEl.parent(`.${a.containerClass}`)),f.$imageEl&&0!==f.$imageEl.length&&f.$imageWrapEl&&0!==f.$imageWrapEl.length&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,p=1,f.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),f.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),f.$slideEl.removeClass(`${a.zoomedSlideClass}`),f.$slideEl=void 0)}function T(t){const a=e.zoom;a.scale&&1!==a.scale?S():C(t)}function $(){const t=e.support;return{passiveListener:!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!t.passiveListener||{passive:!1,capture:!0}}}function k(){return`.${e.params.slideClass}`}function M(t){const{passiveListener:a}=$(),s=k();e.$wrapperEl[t]("gesturestart",s,w,a),e.$wrapperEl[t]("gesturechange",s,b,a),e.$wrapperEl[t]("gestureend",s,y,a)}function P(){l||(l=!0,M("on"))}function Z(){l&&(l=!1,M("off"))}function O(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const a=e.support,{passiveListener:s,activeListenerWithCapture:n}=$(),r=k();a.gestures?(e.$wrapperEl.on(e.touchEvents.start,P,s),e.$wrapperEl.on(e.touchEvents.end,Z,s)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,w,s),e.$wrapperEl.on(e.touchEvents.move,r,b,n),e.$wrapperEl.on(e.touchEvents.end,r,y,s),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,y,s)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,E,n)}function I(){const t=e.zoom;if(!t.enabled)return;const a=e.support;t.enabled=!1;const{passiveListener:s,activeListenerWithCapture:n}=$(),r=k();a.gestures?(e.$wrapperEl.off(e.touchEvents.start,P,s),e.$wrapperEl.off(e.touchEvents.end,Z,s)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,w,s),e.$wrapperEl.off(e.touchEvents.move,r,b,n),e.$wrapperEl.off(e.touchEvents.end,r,y,s),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,y,s)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,E,n)}Object.defineProperty(e.zoom,"scale",{get:()=>g,set(e){if(g!==e){const t=f.$imageEl?f.$imageEl[0]:void 0,a=f.$slideEl?f.$slideEl[0]:void 0;i("zoomChange",e,t,a)}g=e}}),a("init",(()=>{e.params.zoom.enabled&&O()})),a("destroy",(()=>{I()})),a("touchStart",((t,a)=>{e.zoom.enabled&&function(t){const a=e.device;f.$imageEl&&0!==f.$imageEl.length&&(h.isTouched||(a.android&&t.cancelable&&t.preventDefault(),h.isTouched=!0,h.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,h.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))}(a)})),a("touchEnd",((t,a)=>{e.zoom.enabled&&function(){const t=e.zoom;if(!f.$imageEl||0===f.$imageEl.length)return;if(!h.isTouched||!h.isMoved)return h.isTouched=!1,void(h.isMoved=!1);h.isTouched=!1,h.isMoved=!1;let a=300,s=300;const n=m.x*a,r=h.currentX+n,i=m.y*s,o=h.currentY+i;0!==m.x&&(a=Math.abs((r-h.currentX)/m.x)),0!==m.y&&(s=Math.abs((o-h.currentY)/m.y));const l=Math.max(a,s);h.currentX=r,h.currentY=o;const c=h.width*t.scale,d=h.height*t.scale;h.minX=Math.min(f.slideWidth/2-c/2,0),h.maxX=-h.minX,h.minY=Math.min(f.slideHeight/2-d/2,0),h.maxY=-h.minY,h.currentX=Math.max(Math.min(h.currentX,h.maxX),h.minX),h.currentY=Math.max(Math.min(h.currentY,h.maxY),h.minY),f.$imageWrapEl.transition(l).transform(`translate3d(${h.currentX}px, ${h.currentY}px,0)`)}()})),a("doubleTap",((t,a)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&T(a)})),a("transitionEnd",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&x()})),a("slideChange",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&x()})),Object.assign(e.zoom,{enable:O,disable:I,in:C,out:S,toggle:T})}},91443:(e,t,a)=>{function s(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}a.d(t,{Z:()=>s})},15438:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(41936);function n(e,t,a,n){const r=(0,s.Me)();return e.params.createElements&&Object.keys(n).forEach((s=>{if(!a[s]&&!0===a.auto){let i=e.$el.children(`.${n[s]}`)[0];i||(i=r.createElement("div"),i.className=n[s],e.$el.append(i)),a[s]=i,t[s]=i}})),a}},28865:(e,t,a)=>{a.d(t,{Z:()=>n});var s=a(92166);function n(e,t,a){const n="swiper-slide-shadow"+(a?`-${a}`:""),r=e.transformEl?t.find(e.transformEl):t;let i=r.children(`.${n}`);return i.length||(i=(0,s.Z)(`
`),r.append(i)),i}},92166:(e,t,a)=>{a.d(t,{Z:()=>r});var s=a(81545);const n={addClass:s.cn,removeClass:s.IV,hasClass:s.pv,toggleClass:s.Vj,attr:s.Lj,removeAttr:s.uV,transform:s.vs,transition:s.eR,on:s.on,off:s.S1,trigger:s.X$,transitionEnd:s.ld,outerWidth:s.iO,outerHeight:s.Pb,styles:s.W2,offset:s.cv,css:s.iv,each:s.S6,html:s.dy,text:s.fL,is:s.is,index:s.Kz,eq:s.eq,append:s.R3,prepend:s.Ce,next:s.lp,nextAll:s.eG,prev:s.mp,prevAll:s.pJ,parent:s.qm,parents:s.wV,closest:s.oq,find:s.sE,children:s.pI,filter:s.hX,remove:s.Od};Object.keys(n).forEach((e=>{Object.defineProperty(s.$.fn,e,{value:n[e],writable:!0})}));const r=s.$},61931:(e,t,a)=>{function s(e){const{effect:t,swiper:a,on:s,setTranslate:n,setTransition:r,overwriteParams:i,perspective:o,recreateShadows:l,getEffectParams:c}=e;let d;s("beforeInit",(()=>{if(a.params.effect!==t)return;a.classNames.push(`${a.params.containerModifierClass}${t}`),o&&o()&&a.classNames.push(`${a.params.containerModifierClass}3d`);const e=i?i():{};Object.assign(a.params,e),Object.assign(a.originalParams,e)})),s("setTranslate",(()=>{a.params.effect===t&&n()})),s("setTransition",((e,s)=>{a.params.effect===t&&r(s)})),s("transitionEnd",(()=>{if(a.params.effect===t&&l){if(!c||!c().slideShadows)return;a.slides.each((e=>{a.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),l()}})),s("virtualUpdate",(()=>{a.params.effect===t&&(a.slides.length||(d=!0),requestAnimationFrame((()=>{d&&a.slides&&a.slides.length&&(n(),d=!1)})))}))}a.d(t,{Z:()=>s})},83733:(e,t,a)=>{function s(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}a.d(t,{Z:()=>s})},22465:(e,t,a)=>{function s({swiper:e,duration:t,transformEl:a,allSlides:s}){const{slides:n,activeIndex:r,$wrapperEl:i}=e;if(e.params.virtualTranslate&&0!==t){let t,o=!1;t=s?a?n.find(a):n:a?n.eq(r).find(a):n.eq(r),t.transitionEnd((()=>{if(o)return;if(!e||e.destroyed)return;o=!0,e.animating=!1;const t=["webkitTransitionEnd","transitionend"];for(let e=0;es})},40876:(e,t,a)=>{a.d(t,{q:()=>r});var s=a(41936);let n;function r(){return n||(n=function(){const e=(0,s.Jj)();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),n}},44873:(e,t,a)=>{a.d(t,{_:()=>i});var s=a(41936),n=a(8680);let r;function i(e={}){return r||(r=function({userAgent:e}={}){const t=(0,n.C)(),a=(0,s.Jj)(),r=a.navigator.platform,i=e||a.navigator.userAgent,o={ios:!1,android:!1},l=a.screen.width,c=a.screen.height,d=i.match(/(Android);?[\s\/]+([\d.]+)?/);let p=i.match(/(iPad).*OS\s([\d_]+)/);const u=i.match(/(iPod)(.*OS\s([\d_]+))?/),f=!p&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===r;let m="MacIntel"===r;return!p&&m&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${c}`)>=0&&(p=i.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),m=!1),d&&!h&&(o.os="android",o.android=!0),(p||f||u)&&(o.os="ios",o.ios=!0),o}(e)),r}},8680:(e,t,a)=>{a.d(t,{C:()=>r});var s=a(41936);let n;function r(){return n||(n=function(){const e=(0,s.Jj)(),t=(0,s.Me)();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const a=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,a)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),n}},23710:(e,t,a)=>{a.d(t,{Kn:()=>l,R6:()=>o,Y3:()=>r,cP:()=>n,l7:()=>c,x2:()=>p,z2:()=>d,zO:()=>i});var s=a(41936);function n(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function r(e,t=0){return setTimeout(e,t)}function i(){return Date.now()}function o(e,t="x"){const a=(0,s.Jj)();let n,r,i;const o=function(e){const t=(0,s.Jj)();let a;return t.getComputedStyle&&(a=t.getComputedStyle(e,null)),!a&&e.currentStyle&&(a=e.currentStyle),a||(a=e.style),a}(e);return a.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),i=new a.WebKitCSSMatrix("none"===r?"":r)):(i=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=i.toString().split(",")),"x"===t&&(r=a.WebKitCSSMatrix?i.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=a.WebKitCSSMatrix?i.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function c(...e){const t=Object(e[0]),a=["__proto__","constructor","prototype"];for(let n=1;na.indexOf(e)<0));for(let a=0,s=e.length;ar?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,p=()=>{i=(new Date).getTime(),null===o&&(o=i);const s=Math.max(Math.min((i-o)/l,1),0),c=.5-Math.cos(s*Math.PI)/2;let u=r+c*(t-r);if(d(u,t)&&(u=t),e.wrapperEl.scrollTo({[a]:u}),d(u,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[a]:u})})),void n.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=n.requestAnimationFrame(p)};p()}},79938:(e,t,a)=>{a.d(t,{Z:()=>s.Z});var s=a(3020),n=a(46118),r=a(51558),i=a(74010),o=a(46615),l=a(41852),c=a(23043),d=a(20019),p=a(28584),u=a(63689),f=a(92585),h=a(63389),m=a(80574),g=a(90954),v=a(10867),w=a(83117),b=a(45440),y=a(8997),E=a(76263),x=a(67456),C=a(61771),S=a(30371),T=a(16473),$=a(75980),k=a(72072);const M=[n.Z,r.Z,i.Z,o.Z,l.Z,c.Z,d.Z,p.Z,u.Z,f.Z,h.Z,m.Z,g.Z,v.Z,w.Z,b.Z,y.Z,E.Z,x.Z,C.Z,S.Z,T.Z,$.Z,k.Z];s.Z.use(M)},8501:e=>{e.exports=JSON.parse('{"name":"homepage-articles","category":"newspack","attributes":{"className":{"type":"string","default":""},"showExcerpt":{"type":"boolean","default":true},"excerptLength":{"type":"number","default":55},"showReadMore":{"type":"boolean","default":false},"readMoreLabel":{"type":"string","default":"Keep reading"},"showDate":{"type":"boolean","default":true},"showImage":{"type":"boolean","default":true},"showCaption":{"type":"boolean","default":false},"showCredit":{"type":"boolean","default":false},"disableImageLazyLoad":{"type":"boolean","default":false},"fetchPriority":{"type":"string","default":""},"imageShape":{"type":"string","default":"landscape"},"minHeight":{"type":"integer","default":0},"moreButton":{"type":"boolean","default":false},"moreButtonText":{"type":"string","default":""},"showAuthor":{"type":"boolean","default":true},"showAvatar":{"type":"boolean","default":true},"showCategory":{"type":"boolean","default":false},"postLayout":{"type":"string","default":"list"},"columns":{"type":"integer","default":3},"colGap":{"type":"integer","default":3},"postsToShow":{"type":"integer","default":3},"mediaPosition":{"type":"string","default":"top"},"authors":{"type":"array","default":[],"items":{"type":"integer"}},"categories":{"type":"array","default":[],"items":{"type":"integer"}},"includeSubcategories":{"type":"boolean","default":true},"tags":{"type":"array","default":[],"items":{"type":"integer"}},"customTaxonomies":{"type":"array","default":[],"items":{"type":"object","properties":{"slug":{"type":"string"},"terms":{"type":"array","items":{"type":"integer"}}}}},"tagExclusions":{"type":"array","default":[],"items":{"type":"integer"}},"categoryExclusions":{"type":"array","default":[],"items":{"type":"integer"}},"customTaxonomyExclusions":{"type":"array","default":[],"items":{"type":"object","properties":{"slug":{"type":"string"},"terms":{"type":"array","items":{"type":"integer"}}}}},"specificPosts":{"type":"array","default":[],"items":{"type":"integer"}},"typeScale":{"type":"integer","default":4},"imageScale":{"type":"integer","default":3},"mobileStack":{"type":"boolean","default":false},"sectionHeader":{"type":"string","default":""},"specificMode":{"type":"boolean","default":false},"textColor":{"type":"string","default":""},"customTextColor":{"type":"string","default":""},"singleMode":{"type":"boolean","default":false},"showSubtitle":{"type":"boolean","default":false},"postType":{"type":"array","default":["post"],"items":{"type":"string"}},"textAlign":{"type":"string","default":"left"},"includedPostStatuses":{"type":"array","default":["publish"],"items":{"type":"string"}},"deduplicate":{"type":"boolean","default":true}}}')}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e](a,a.exports,i),a.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var a in t)i.o(t,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e=i(4981),t=i(92694),a=i(52634),s=i(95977),(0,t.addFilter)("blocks.transforms_from_name","set-transformed-block-name",(function(e){return"newspack-blocks/carousel"!==e?e:a.T})),(0,e.registerBlockType)(a.T,{...s.Xd,category:"widgets"})})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.asset.php index 73b69f4e..febcc5ae 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.asset.php @@ -1 +1 @@ - array('wp-a11y', 'wp-dom-ready', 'wp-escape-html', 'wp-i18n'), 'version' => '61438955908d5850b85b'); + array('wp-a11y', 'wp-dom-ready', 'wp-escape-html', 'wp-i18n'), 'version' => '39d87f952fc5f1fc61f4'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.js b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.js index 6747639c..dedd1a40 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.js @@ -1,3 +1,3 @@ -(()=>{"use strict";var e={9120:(e,t,s)=>{s.d(t,{Z:()=>p});var a=s(5158),i=s(1975),r=s(5736),n=s(9938);const __=r.__,l="wp-block-newspack-blocks-carousel__autoplay-playing";function o(e,t){Array.prototype.forEach.call(e,t)}function d(e){e&&(e.setAttribute("aria-hidden","false"),o(e.querySelectorAll("a"),(e=>e.removeAttribute("tabindex"))))}function c(e){e&&(e.setAttribute("aria-hidden","true"),o(e.querySelectorAll("a"),(e=>e.setAttribute("tabindex","-1"))))}function p(e,t={}){if(!(0``},watchSlidesProgress:t.slidesPerView>1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,slidesPerView:t.slidesPerView,spaceBetween:16,touchStartPreventDefault:!1,breakpoints:{320:{slidesPerView:1},782:{slidesPerView:t.slidesPerView>1?2:1},1168:{slidesPerView:t.slidesPerView}},on:{init(){o(this.wrapperEl.querySelectorAll(".swiper-slide"),(e=>c(e))),p.call(this),d(this.slides[this.activeIndex])},slideChange(){const e=this.slides[this.activeIndex];if(c(this.slides[this.previousIndex]),d(e),!this.autoplay?.running){const t=e.querySelector("img"),s=!!t&&t?.alt,n=(0,r.sprintf)(/* translators: 1: current slide number and 2: total number of slides */ -__("Slide %1$s of %2$s","jetpack-mu-wpcom"),this.realIndex+1,this.pagination?.bullets?.length||0);(0,a.speak)((0,i.escapeHTML)(`${e.innerText},\n\t\t\t\t\t\t\t${s?/* translators: the title of the image. */ /* translators: the title of the image. */(0,r.sprintf)(__("Image: %s, ","jetpack-mu-wpcom"),s):""}\n\t\t\t\t\t\t\t${n}`),"assertive")}}}});function p(){const{aspectRatio:e}=t;Array.from(this.slides).forEach((t=>{t.style.height=t.clientWidth*e+"px"}))}if(s.on("imagesReady",p),s.on("resize",p),t.autoplay){function u(){s.autoplay.stop(),e.play.focus()}function h(){s.autoplay.start(),e.pause.focus()}s.on("init",(function(){e.play.addEventListener("click",h),e.pause.addEventListener("click",u)})),s.on("autoplayStart",(function(){e.block.classList.add(l),(0,a.speak)(__("Playing","jetpack-mu-wpcom"),"assertive")})),s.on("autoplayStop",(function(){e.block.classList.remove(l),(0,a.speak)(__("Paused","jetpack-mu-wpcom"),"assertive")})),s.on("beforeDestroy",(function(){e.play.removeEventListener("click",h),e.pause.removeEventListener("click",u)}))}return s.init(),s}},6124:(e,t,s)=>{var a=s(7701),i=s.n(a),r=s(9120);"undefined"!=typeof window&&i()((()=>{Array.from(document.querySelectorAll(".wp-block-newspack-blocks-carousel")).forEach((e=>{new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){const t=parseInt(e.dataset.slidesPerView),s=parseInt(e.dataset.slideCount);(0,r.Z)({block:e,container:e.querySelector(".swiper"),prev:e.querySelector(".swiper-button-prev"),next:e.querySelector(".swiper-button-next"),pagination:e.querySelector(".swiper-pagination-bullets"),pause:e.querySelector(".swiper-button-pause"),play:e.querySelector(".swiper-button-play")},{aspectRatio:parseFloat(e.dataset.aspectRatio),autoplay:!!parseInt(e.dataset.autoplay),delay:1e3*parseInt(e.dataset.autoplay_delay),slidesPerView:t<=s?t:s,spaceBetween:16})}}))}),{threshold:.25}).observe(e)}))}))},5158:e=>{e.exports=window.wp.a11y},7701:e=>{e.exports=window.wp.domReady},1975:e=>{e.exports=window.wp.escapeHtml},5736:e=>{e.exports=window.wp.i18n},1545:(e,t,s)=>{s.d(t,{$:()=>l,Ce:()=>L,IV:()=>d,Kz:()=>k,Lj:()=>u,Od:()=>Y,Pb:()=>x,R3:()=>O,S1:()=>v,S6:()=>T,Vj:()=>c,W2:()=>C,X$:()=>w,cn:()=>o,cv:()=>E,dy:()=>M,eG:()=>A,eR:()=>f,eq:()=>z,fL:()=>P,hX:()=>S,iO:()=>y,is:()=>Z,iv:()=>$,ld:()=>b,lp:()=>I,mp:()=>D,on:()=>g,oq:()=>N,pI:()=>X,pJ:()=>G,pv:()=>p,qm:()=>j,sE:()=>H,uV:()=>h,vs:()=>m,wV:()=>B});var a=s(1936);class i extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function r(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...r(e)):t.push(e)})),t}function n(e,t){return Array.prototype.filter.call(e,t)}function l(e,t){const s=(0,a.Jj)(),r=(0,a.Me)();let n=[];if(!t&&e instanceof i)return e;if(!e)return new i(n);if("string"==typeof e){const s=e.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){let e="div";0===s.indexOf("e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this}function d(...e){const t=r(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this}function c(...e){const t=r(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))}function p(...e){const t=r(e.map((e=>e.split(" "))));return n(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0}function u(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let s=0;s=0;e-=1){const s=n[e];a&&s.listener===a||a&&s.listener&&s.listener.dom7proxy&&s.listener.dom7proxy===a?(r.removeEventListener(t,s.proxyListener,i),n.splice(e,1)):a||(r.removeEventListener(t,s.proxyListener,i),n.splice(e,1))}}}return this}function w(...e){const t=(0,a.Jj)(),s=e[0].split(" "),i=e[1];for(let a=0;at>0)),a.dispatchEvent(s),a.dom7EventData=[],delete a.dom7EventData}}}return this}function b(e){const t=this;return e&&t.on("transitionend",(function s(a){a.target===this&&(e.call(this,a),t.off("transitionend",s))})),this}function y(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function x(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function E(){if(this.length>0){const e=(0,a.Jj)(),t=(0,a.Me)(),s=this[0],i=s.getBoundingClientRect(),r=t.body,n=s.clientTop||r.clientTop||0,l=s.clientLeft||r.clientLeft||0,o=s===e?e.scrollY:s.scrollTop,d=s===e?e.scrollX:s.scrollLeft;return{top:i.top+o-n,left:i.left+d-l}}return null}function C(){const e=(0,a.Jj)();return this[0]?e.getComputedStyle(this[0],null):{}}function $(e,t){const s=(0,a.Jj)();let i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i{e.apply(t,[t,s])})),this):this}function S(e){return l(n(this,e))}function M(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;tt-1)return l([]);if(e<0){const s=t+e;return l(s<0?[]:[this[s]])}return l([this[e]])}function O(...e){let t;const s=(0,a.Me)();for(let a=0;a=0;r-=1)this[s].insertBefore(a.childNodes[r],this[s].childNodes[0])}else if(e instanceof i)for(r=0;r0?e?this[0].nextElementSibling&&l(this[0].nextElementSibling).is(e)?l([this[0].nextElementSibling]):l([]):this[0].nextElementSibling?l([this[0].nextElementSibling]):l([]):l([])}function A(e){const t=[];let s=this[0];if(!s)return l([]);for(;s.nextElementSibling;){const a=s.nextElementSibling;e?l(a).is(e)&&t.push(a):t.push(a),s=a}return l(t)}function D(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&l(t.previousElementSibling).is(e)?l([t.previousElementSibling]):l([]):t.previousElementSibling?l([t.previousElementSibling]):l([])}return l([])}function G(e){const t=[];let s=this[0];if(!s)return l([]);for(;s.previousElementSibling;){const a=s.previousElementSibling;e?l(a).is(e)&&t.push(a):t.push(a),s=a}return l(t)}function j(e){const t=[];for(let s=0;s{function a(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e={},t={}){Object.keys(t).forEach((s=>{void 0===e[s]?e[s]=t[s]:a(t[s])&&a(e[s])&&Object.keys(t[s]).length>0&&i(e[s],t[s])}))}s.d(t,{Jj:()=>o,Me:()=>n});const r={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function n(){const e="undefined"!=typeof document?document:{};return i(e,r),e}const l={document:r,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function o(){const e="undefined"!=typeof window?window:{};return i(e,l),e}},4794:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(1936);function i(e,t="window",s){if(!e||"container"===t&&!s)return;let i=!1;const r=(0,a.Jj)(),n="window"===t?r.innerHeight:s.clientHeight,l=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:n*t,point:e}}return{value:e,point:e}}));l.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e{s.d(t,{Z:()=>r});var a=s(3719),i=s(4794);const r={setBreakpoint:a.Z,getBreakpoint:i.Z}},3719:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(3710);const i=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function r(){const e=this,{activeIndex:t,initialized:s,loopedSlides:r=0,params:n,$el:l}=e,o=n.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const d=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!d||e.currentBreakpoint===d)return;const c=(d in o?o[d]:void 0)||e.originalParams,p=i(e,n),u=i(e,c),h=n.enabled;p&&!u?(l.removeClass(`${n.containerModifierClass}grid ${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&u&&(l.addClass(`${n.containerModifierClass}grid`),(c.grid.fill&&"column"===c.grid.fill||!c.grid.fill&&"column"===n.grid.fill)&&l.addClass(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const s=n[t]&&n[t].enabled,a=c[t]&&c[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()}));const m=c.direction&&c.direction!==n.direction,f=n.loop&&(c.slidesPerView!==n.slidesPerView||m);m&&s&&e.changeDirection(),(0,a.l7)(e.params,c);const g=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),h&&!g?e.disable():!h&&g&&e.enable(),e.currentBreakpoint=d,e.emit("_beforeBreakpoint",c),f&&s&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",c)}},9703:(e,t,s)=>{s.d(t,{Z:()=>a});const a={checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:a}=s;if(a){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*a;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}}},2987:(e,t,s)=>{function a(){const e=this,{classNames:t,params:s,rtl:a,$el:i,device:r,support:n}=e,l=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((a=>{e[a]&&s.push(t+a)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"pointer-events":!n.touch},{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:a},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...l),i.addClass([...t].join(" ")),e.emitContainerClasses()}s.d(t,{Z:()=>a})},6606:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(2987),i=s(6999);const r={addClasses:a.Z,removeClasses:i.Z}},6999:(e,t,s)=>{function a(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}s.d(t,{Z:()=>a})},3020:(e,t,s)=>{s.d(t,{Z:()=>P});var a=s(1936),i=s(2166),r=s(3710),n=s(8680),l=s(4873),o=s(876),d=s(8970),c=s(3433),p=s(8196),u=s(7113),h=s(4366),m=s(4216),f=s(2327),g=s(6993),v=s(9346),w=s(4286),b=s(4615),y=s(6606),x=s(8935),E=s(9703),C=s(7071),$=s(7433);const T={eventsEmitter:p.Z,update:u.Z,translate:h.Z,transition:m.Z,slide:f.Z,loop:g.Z,grabCursor:v.Z,events:w.Z,breakpoints:b.Z,checkOverflow:E.Z,classes:y.Z,images:x.Z},S={};class M{constructor(...e){let t,s;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?s=e[0]:[t,s]=e,s||(s={}),s=(0,r.l7)({},s),t&&!s.el&&(s.el=t),s.el&&(0,i.Z)(s.el).length>1){const e=[];return(0,i.Z)(s.el).each((t=>{const a=(0,r.l7)({},s,{el:t});e.push(new M(a))})),e}const a=this;a.__swiper__=!0,a.support=(0,n.C)(),a.device=(0,l._)({userAgent:s.userAgent}),a.browser=(0,o.q)(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],s.modules&&Array.isArray(s.modules)&&a.modules.push(...s.modules);const d={};a.modules.forEach((e=>{e({swiper:a,extendParams:(0,$.Z)(s,d),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const c=(0,r.l7)({},C.Z,d);return a.params=(0,r.l7)({},c,S,s),a.originalParams=(0,r.l7)({},a.params),a.passedParams=(0,r.l7)({},s),a.params&&a.params.on&&Object.keys(a.params.on).forEach((e=>{a.on(e,a.params.on[e])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),a.$=i.Z,Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:(0,i.Z)(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return a.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},a.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},a.support.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:(0,r.zO)(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const a=s.minTranslate(),i=(s.maxTranslate()-a)*e+a;s.translateTo(i,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((s=>{const a=e.getSlideClasses(s);t.push({slideEl:s,classNames:a}),e.emit("_slideClass",s,a)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:s,slides:a,slidesGrid:i,slidesSizesGrid:r,size:n,activeIndex:l}=this;let o=1;if(s.centeredSlides){let e,t=a[l].swiperSlideSize;for(let s=l+1;sn&&(e=!0));for(let s=l-1;s>=0;s-=1)a[s]&&!e&&(t+=a[s].swiperSlideSize,o+=1,t>n&&(e=!0))}else if("current"===e)for(let e=l+1;e=0;e-=1){i[l]-i[e]1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||a()),s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const s=this,a=s.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(s.$el.removeClass(`${s.params.containerModifierClass}${a}`).addClass(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const s=(0,i.Z)(e||t.params.el);if(!(e=s[0]))return!1;e.swiper=t;const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let n=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=(0,i.Z)(e.shadowRoot.querySelector(r()));return t.children=e=>s.children(e),t}return s.children?s.children(r()):(0,i.Z)(s).children(r())})();if(0===n.length&&t.params.createElements){const e=(0,a.Me)().createElement("div");n=(0,i.Z)(e),e.className=t.params.wrapperClass,s.append(e),s.children(`.${t.params.slideClass}`).each((e=>{n.append(e)}))}return Object.assign(t,{$el:s,el:e,$wrapperEl:n,wrapperEl:n[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction")),wrongRTL:"-webkit-box"===n.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const s=this,{params:a,$el:i,$wrapperEl:n,slides:l}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),a.loop&&s.loopDestroy(),t&&(s.removeClasses(),i.removeAttr("style"),n.removeAttr("style"),l&&l.length&&l.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.$el[0].swiper=null,(0,r.cP)(s)),s.destroyed=!0),null}static extendDefaults(e){(0,r.l7)(S,e)}static get extendedDefaults(){return S}static get defaults(){return C.Z}static installModule(e){M.prototype.__modules__||(M.prototype.__modules__=[]);const t=M.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>M.installModule(e))),M):(M.installModule(e),M)}}Object.keys(T).forEach((e=>{Object.keys(T[e]).forEach((t=>{M.prototype[t]=T[e][t]}))})),M.use([d.Z,c.Z]);const P=M},7071:(e,t,s)=>{s.d(t,{Z:()=>a});const a={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1}},8196:(e,t,s)=>{s.d(t,{Z:()=>a});const a={on(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;const i=s?"unshift":"push";return e.split(" ").forEach((e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)})),a},once(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;function i(...s){a.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(a,s)}return i.__emitterProxy=t,a.on(e,i,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const a=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[a](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((a,i)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&s.eventsListeners[e].splice(i,1)}))})),s):s},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let s,a,i;"string"==typeof e[0]||Array.isArray(e[0])?(s=e[0],a=e.slice(1,e.length),i=t):(s=e[0].events,a=e[0].data,i=e[0].context||t),a.unshift(i);return(Array.isArray(s)?s:s.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(i,[e,...a])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(i,a)}))})),t}}},4286:(e,t,s)=>{s.d(t,{Z:()=>h});var a=s(1936),i=s(9765),r=s(6603),n=s(3004),l=s(3919),o=s(2048),d=s(4073);let c=!1;function p(){}const u=(e,t)=>{const s=(0,a.Me)(),{params:i,touchEvents:r,el:n,wrapperEl:o,device:d,support:c}=e,p=!!i.nested,u="on"===t?"addEventListener":"removeEventListener",h=t;if(c.touch){const t=!("touchstart"!==r.start||!c.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};n[u](r.start,e.onTouchStart,t),n[u](r.move,e.onTouchMove,c.passiveListener?{passive:!1,capture:p}:p),n[u](r.end,e.onTouchEnd,t),r.cancel&&n[u](r.cancel,e.onTouchEnd,t)}else n[u](r.start,e.onTouchStart,!1),s[u](r.move,e.onTouchMove,p),s[u](r.end,e.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&n[u]("click",e.onClick,!0),i.cssMode&&o[u]("scroll",e.onScroll),i.updateOnWindowResize?e[h](d.ios||d.android?"resize orientationchange observerUpdate":"resize observerUpdate",l.Z,!0):e[h]("observerUpdate",l.Z,!0)};const h={attachEvents:function(){const e=this,t=(0,a.Me)(),{params:s,support:l}=e;e.onTouchStart=i.Z.bind(e),e.onTouchMove=r.Z.bind(e),e.onTouchEnd=n.Z.bind(e),s.cssMode&&(e.onScroll=d.Z.bind(e)),e.onClick=o.Z.bind(e),l.touch&&!c&&(t.addEventListener("touchstart",p),c=!0),u(e,"on")},detachEvents:function(){u(this,"off")}}},2048:(e,t,s)=>{function a(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}s.d(t,{Z:()=>a})},3919:(e,t,s)=>{function a(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:i,snapGrid:r}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=a,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}s.d(t,{Z:()=>a})},4073:(e,t,s)=>{function a(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:a}=e;if(!a)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();i=0===r?0:(e.translate-e.minTranslate())/r,i!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}s.d(t,{Z:()=>a})},3004:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(3710);function i(e){const t=this,s=t.touchEventsData,{params:i,touches:r,rtlTranslate:n,slidesGrid:l,enabled:o}=t;if(!o)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),s.allowTouchCallbacks&&t.emit("touchEnd",d),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&i.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);i.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=(0,a.zO)(),p=c-s.touchStartTime;if(t.allowClick){const e=d.path||d.composedPath&&d.composedPath();t.updateClickedSlide(e&&e[0]||d.target),t.emit("tap click",d),p<300&&c-s.lastClickTime<300&&t.emit("doubleTap doubleClick",d)}if(s.lastClickTime=(0,a.zO)(),(0,a.Y3)((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===r.diff||s.currentTranslate===s.startTranslate)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let u;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,u=i.followFinger?n?t.translate:-t.translate:-s.currentTranslate,i.cssMode)return;if(t.params.freeMode&&i.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:u});let h=0,m=t.slidesSizesGrid[0];for(let e=0;e=l[e]&&u=l[e]&&(h=e,m=l[l.length-1]-l[l.length-2])}let f=null,g=null;i.rewind&&(t.isBeginning?g=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const v=(u-l[h])/m,w=hi.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(v>=i.longSwipesRatio?t.slideTo(i.rewind&&t.isEnd?f:h+w):t.slideTo(h)),"prev"===t.swipeDirection&&(v>1-i.longSwipesRatio?t.slideTo(h+w):null!==g&&v<0&&Math.abs(v)>i.longSwipesRatio?t.slideTo(g):t.slideTo(h))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(d.target===t.navigation.nextEl||d.target===t.navigation.prevEl)?d.target===t.navigation.nextEl?t.slideTo(h+w):t.slideTo(h):("next"===t.swipeDirection&&t.slideTo(null!==f?f:h+w),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:h))}}},6603:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(1936),i=s(2166),r=s(3710);function n(e){const t=(0,a.Me)(),s=this,n=s.touchEventsData,{params:l,touches:o,rtlTranslate:d,enabled:c}=s;if(!c)return;let p=e;if(p.originalEvent&&(p=p.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&s.emit("touchMoveOpposite",p));if(n.isTouchEvent&&"touchmove"!==p.type)return;const u="touchmove"===p.type&&p.targetTouches&&(p.targetTouches[0]||p.changedTouches[0]),h="touchmove"===p.type?u.pageX:p.pageX,m="touchmove"===p.type?u.pageY:p.pageY;if(p.preventedByNestedSwiper)return o.startX=h,void(o.startY=m);if(!s.allowTouchMove)return(0,i.Z)(p.target).is(n.focusableElements)||(s.allowClick=!1),void(n.isTouched&&(Object.assign(o,{startX:h,startY:m,currentX:h,currentY:m}),n.touchStartTime=(0,r.zO)()));if(n.isTouchEvent&&l.touchReleaseOnEdges&&!l.loop)if(s.isVertical()){if(mo.startY&&s.translate>=s.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(ho.startX&&s.translate>=s.minTranslate())return;if(n.isTouchEvent&&t.activeElement&&p.target===t.activeElement&&(0,i.Z)(p.target).is(n.focusableElements))return n.isMoved=!0,void(s.allowClick=!1);if(n.allowTouchCallbacks&&s.emit("touchMove",p),p.targetTouches&&p.targetTouches.length>1)return;o.currentX=h,o.currentY=m;const f=o.currentX-o.startX,g=o.currentY-o.startY;if(s.params.threshold&&Math.sqrt(f**2+g**2)=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(f))/Math.PI,n.isScrolling=s.isHorizontal()?e>l.touchAngle:90-e>l.touchAngle)}if(n.isScrolling&&s.emit("touchMoveOpposite",p),void 0===n.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;s.allowClick=!1,!l.cssMode&&p.cancelable&&p.preventDefault(),l.touchMoveStopPropagation&&!l.nested&&p.stopPropagation(),n.isMoved||(l.loop&&!l.cssMode&&s.loopFix(),n.startTranslate=s.getTranslate(),s.setTransition(0),s.animating&&s.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!l.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",p)),s.emit("sliderMove",p),n.isMoved=!0;let v=s.isHorizontal()?f:g;o.diff=v,v*=l.touchRatio,d&&(v=-v),s.swipeDirection=v>0?"prev":"next",n.currentTranslate=v+n.startTranslate;let w=!0,b=l.resistanceRatio;if(l.touchReleaseOnEdges&&(b=0),v>0&&n.currentTranslate>s.minTranslate()?(w=!1,l.resistance&&(n.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+n.startTranslate+v)**b)):v<0&&n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),s.allowSlidePrev||s.allowSlideNext||(n.currentTranslate=n.startTranslate),l.threshold>0){if(!(Math.abs(v)>l.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,void(o.diff=s.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}l.followFinger&&!l.cssMode&&((l.freeMode&&l.freeMode.enabled&&s.freeMode||l.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),s.params.freeMode&&l.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(n.currentTranslate),s.setTranslate(n.currentTranslate))}},9765:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(1936),i=s(2166),r=s(3710);function n(e){const t=this,s=(0,a.Me)(),n=(0,a.Jj)(),l=t.touchEventsData,{params:o,touches:d,enabled:c}=t;if(!c)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let p=e;p.originalEvent&&(p=p.originalEvent);let u=(0,i.Z)(p.target);if("wrapper"===o.touchEventsTarget&&!u.closest(t.wrapperEl).length)return;if(l.isTouchEvent="touchstart"===p.type,!l.isTouchEvent&&"which"in p&&3===p.which)return;if(!l.isTouchEvent&&"button"in p&&p.button>0)return;if(l.isTouched&&l.isMoved)return;const h=!!o.noSwipingClass&&""!==o.noSwipingClass,m=e.composedPath?e.composedPath():e.path;h&&p.target&&p.target.shadowRoot&&m&&(u=(0,i.Z)(m[0]));const f=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,g=!(!p.target||!p.target.shadowRoot);if(o.noSwiping&&(g?function(e,t=this){return function t(s){if(!s||s===(0,a.Me)()||s===(0,a.Jj)())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(f,u[0]):u.closest(f)[0]))return void(t.allowClick=!0);if(o.swipeHandler&&!u.closest(o.swipeHandler)[0])return;d.currentX="touchstart"===p.type?p.targetTouches[0].pageX:p.pageX,d.currentY="touchstart"===p.type?p.targetTouches[0].pageY:p.pageY;const v=d.currentX,w=d.currentY,b=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,y=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(b&&(v<=y||v>=n.innerWidth-y)){if("prevent"!==b)return;e.preventDefault()}if(Object.assign(l,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=v,d.startY=w,l.touchStartTime=(0,r.zO)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(l.allowThresholdMove=!1),"touchstart"!==p.type){let e=!0;u.is(l.focusableElements)&&(e=!1,"SELECT"===u[0].nodeName&&(l.isTouched=!1)),s.activeElement&&(0,i.Z)(s.activeElement).is(l.focusableElements)&&s.activeElement!==u[0]&&s.activeElement.blur();const a=e&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!a||u[0].isContentEditable||p.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",p)}},9346:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(4938),i=s(2114);const r={setGrabCursor:a.Z,unsetGrabCursor:i.Z}},4938:(e,t,s)=>{function a(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;s.style.cursor="move",s.style.cursor=e?"grabbing":"grab"}s.d(t,{Z:()=>a})},2114:(e,t,s)=>{function a(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}s.d(t,{Z:()=>a})},8935:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(1265),i=s(375);const r={loadImage:a.Z,preloadImages:i.Z}},1265:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(1936),i=s(2166);function r(e,t,s,r,n,l){const o=(0,a.Jj)();let d;function c(){l&&l()}(0,i.Z)(e).parent("picture")[0]||e.complete&&n?c():t?(d=new o.Image,d.onload=c,d.onerror=c,r&&(d.sizes=r),s&&(d.srcset=s),t&&(d.src=t)):c()}},375:(e,t,s)=>{function a(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let s=0;sa})},6993:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(1023),i=s(7289),r=s(1034);const n={loopCreate:a.Z,loopFix:i.Z,loopDestroy:r.Z}},1023:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(1936),i=s(2166);function r(){const e=this,t=(0,a.Me)(),{params:s,$wrapperEl:r}=e,n=r.children().length>0?(0,i.Z)(r.children()[0].parentNode):r;n.children(`.${s.slideClass}.${s.slideDuplicateClass}`).remove();let l=n.children(`.${s.slideClass}`);if(s.loopFillGroupWithBlank){const e=s.slidesPerGroup-l.length%s.slidesPerGroup;if(e!==s.slidesPerGroup){for(let a=0;al.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=l.length);const o=[],d=[];l.each(((e,t)=>{(0,i.Z)(e).attr("data-swiper-slide-index",t)}));for(let t=0;t=0;e-=1)n.prepend((0,i.Z)(o[e].cloneNode(!0)).addClass(s.slideDuplicateClass))}},1034:(e,t,s)=>{function a(){const{$wrapperEl:e,params:t,slides:s}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),s.removeAttr("data-swiper-slide-index")}s.d(t,{Z:()=>a})},7289:(e,t,s)=>{function a(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:s,loopedSlides:a,allowSlidePrev:i,allowSlideNext:r,snapGrid:n,rtlTranslate:l}=e;let o;e.allowSlidePrev=!0,e.allowSlideNext=!0;const d=-n[t]-e.getTranslate();if(t=s.length-a){o=-s.length+t+a,o+=a;e.slideTo(o,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)}e.allowSlidePrev=i,e.allowSlideNext=r,e.emit("loopFix")}s.d(t,{Z:()=>a})},7433:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(3710);function i(e,t){return function(s={}){const i=Object.keys(s)[0],r=s[i];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===e[i]&&(e[i]={auto:!0}),i in e&&"enabled"in r?(!0===e[i]&&(e[i]={enabled:!0}),"object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),(0,a.l7)(t,s)):(0,a.l7)(t,s)):(0,a.l7)(t,s)}}},3433:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(1936);function i({swiper:e,extendParams:t,on:s,emit:i}){const r=[],n=(0,a.Jj)(),l=(e,t={})=>{const s=new(n.MutationObserver||n.WebkitMutationObserver)((e=>{if(1===e.length)return void i("observerUpdate",e[0]);const t=function(){i("observerUpdate",e[0])};n.requestAnimationFrame?n.requestAnimationFrame(t):n.setTimeout(t,0)}));s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(s)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e{r.forEach((e=>{e.disconnect()})),r.splice(0,r.length)}))}},8970:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(1936);function i({swiper:e,on:t,emit:s}){const i=(0,a.Jj)();let r=null,n=null;const l=()=>{e&&!e.destroyed&&e.initialized&&(s("beforeResize"),s("resize"))},o=()=>{e&&!e.destroyed&&e.initialized&&s("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==i.ResizeObserver?e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver((t=>{n=i.requestAnimationFrame((()=>{const{width:s,height:a}=e;let i=s,r=a;t.forEach((({contentBoxSize:t,contentRect:s,target:a})=>{a&&a!==e.el||(i=s?s.width:(t[0]||t).inlineSize,r=s?s.height:(t[0]||t).blockSize)})),i===s&&r===a||l()}))})),r.observe(e.el)):(i.addEventListener("resize",l),i.addEventListener("orientationchange",o))})),t("destroy",(()=>{n&&i.cancelAnimationFrame(n),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null),i.removeEventListener("resize",l),i.removeEventListener("orientationchange",o)}))}},2327:(e,t,s)=>{s.d(t,{Z:()=>c});var a=s(8904),i=s(6417),r=s(6179),n=s(548),l=s(5421),o=s(3171),d=s(7994);const c={slideTo:a.Z,slideToLoop:i.Z,slideNext:r.Z,slidePrev:n.Z,slideReset:l.Z,slideToClosest:o.Z,slideToClickedSlide:d.Z}},6179:(e,t,s)=>{function a(e=this.params.speed,t=!0,s){const a=this,{animating:i,enabled:r,params:n}=a;if(!r)return a;let l=n.slidesPerGroup;"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(l=Math.max(a.slidesPerViewDynamic("current",!0),1));const o=a.activeIndexa})},548:(e,t,s)=>{function a(e=this.params.speed,t=!0,s){const a=this,{params:i,animating:r,snapGrid:n,slidesGrid:l,rtlTranslate:o,enabled:d}=a;if(!d)return a;if(i.loop){if(r&&i.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=c(o?a.translate:-a.translate),u=n.map((e=>c(e)));let h=n[u.indexOf(p)-1];if(void 0===h&&i.cssMode){let e;n.forEach(((t,s)=>{p>=t&&(e=s)})),void 0!==e&&(h=n[e>0?e-1:e])}let m=0;if(void 0!==h&&(m=l.indexOf(h),m<0&&(m=a.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=m-a.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),i.rewind&&a.isBeginning){const i=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(i,e,t,s)}return a.slideTo(m,e,t,s)}s.d(t,{Z:()=>a})},5421:(e,t,s)=>{function a(e=this.params.speed,t=!0,s){return this.slideTo(this.activeIndex,e,t,s)}s.d(t,{Z:()=>a})},8904:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(3710);function i(e=0,t=this.params.speed,s=!0,i,r){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const n=this;let l=e;l<0&&(l=0);const{params:o,snapGrid:d,slidesGrid:c,previousIndex:p,activeIndex:u,rtlTranslate:h,wrapperEl:m,enabled:f}=n;if(n.animating&&o.preventInteractionOnTransition||!f&&!i&&!r)return!1;const g=Math.min(n.params.slidesPerGroupSkip,l);let v=g+Math.floor((l-g)/n.params.slidesPerGroup);v>=d.length&&(v=d.length-1);const w=-d[v];if(o.normalizeSlideIndex)for(let e=0;e=s&&t=s&&t=s&&(l=e)}if(n.initialized&&l!==u){if(!n.allowSlideNext&&wn.translate&&w>n.maxTranslate()&&(u||0)!==l)return!1}let b;if(l!==(p||0)&&s&&n.emit("beforeSlideChangeStart"),n.updateProgress(w),b=l>u?"next":l{n.wrapperEl.style.scrollSnapType="",n._swiperImmediateVirtual=!1}))}else{if(!n.support.smoothScroll)return(0,a.x2)({swiper:n,targetPosition:s,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}return n.setTransition(t),n.setTranslate(w),n.updateActiveIndex(l),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(s,b),0===t?n.transitionEnd(s,b):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.$wrapperEl[0].removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].removeEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(s,b))}),n.$wrapperEl[0].addEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].addEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd)),!0}},7994:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(2166),i=s(3710);function r(){const e=this,{params:t,$wrapperEl:s}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let n,l=e.clickedIndex;if(t.loop){if(e.animating)return;n=parseInt((0,a.Z)(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?le.slides.length-e.loopedSlides+r/2?(e.loopFix(),l=s.children(`.${t.slideClass}[data-swiper-slide-index="${n}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,i.Y3)((()=>{e.slideTo(l)}))):e.slideTo(l):l>e.slides.length-r?(e.loopFix(),l=s.children(`.${t.slideClass}[data-swiper-slide-index="${n}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,i.Y3)((()=>{e.slideTo(l)}))):e.slideTo(l)}else e.slideTo(l)}},3171:(e,t,s)=>{function a(e=this.params.speed,t=!0,s,a=.5){const i=this;let r=i.activeIndex;const n=Math.min(i.params.slidesPerGroupSkip,r),l=n+Math.floor((r-n)/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;if(o>=i.snapGrid[l]){const e=i.snapGrid[l];o-e>(i.snapGrid[l+1]-e)*a&&(r+=i.params.slidesPerGroup)}else{const e=i.snapGrid[l-1];o-e<=(i.snapGrid[l]-e)*a&&(r-=i.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,i.slidesGrid.length-1),i.slideTo(r,e,t,s)}s.d(t,{Z:()=>a})},6417:(e,t,s)=>{function a(e=0,t=this.params.speed,s=!0,a){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let r=e;return i.params.loop&&(r+=i.loopedSlides),i.slideTo(r,t,s,a)}s.d(t,{Z:()=>a})},4216:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(4488),i=s(7840),r=s(790);const n={setTransition:a.Z,transitionStart:i.Z,transitionEnd:r.Z}},4488:(e,t,s)=>{function a(e,t){const s=this;s.params.cssMode||s.$wrapperEl.transition(e),s.emit("setTransition",e,t)}s.d(t,{Z:()=>a})},364:(e,t,s)=>{function a({swiper:e,runCallbacks:t,direction:s,step:a}){const{activeIndex:i,previousIndex:r}=e;let n=s;if(n||(n=i>r?"next":ia})},790:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(364);function i(e=!0,t){const s=this,{params:i}=s;s.animating=!1,i.cssMode||(s.setTransition(0),(0,a.Z)({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},7840:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(364);function i(e=!0,t){const s=this,{params:i}=s;i.cssMode||(i.autoHeight&&s.updateAutoHeight(),(0,a.Z)({swiper:s,runCallbacks:e,direction:t,step:"Start"}))}},2936:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(3710);function i(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:s,translate:i,$wrapperEl:r}=this;if(t.virtualTranslate)return s?-i:i;if(t.cssMode)return i;let n=(0,a.R6)(r[0],e);return s&&(n=-n),n||0}},4366:(e,t,s)=>{s.d(t,{Z:()=>o});var a=s(2936),i=s(9216),r=s(712),n=s(4579),l=s(920);const o={getTranslate:a.Z,setTranslate:i.Z,minTranslate:r.Z,maxTranslate:n.Z,translateTo:l.Z}},4579:(e,t,s)=>{function a(){return-this.snapGrid[this.snapGrid.length-1]}s.d(t,{Z:()=>a})},712:(e,t,s)=>{function a(){return-this.snapGrid[0]}s.d(t,{Z:()=>a})},9216:(e,t,s)=>{function a(e,t){const s=this,{rtlTranslate:a,params:i,$wrapperEl:r,wrapperEl:n,progress:l}=s;let o=0,d=0;let c;s.isHorizontal()?o=a?-e:e:d=e,i.roundLengths&&(o=Math.floor(o),d=Math.floor(d)),i.cssMode?n[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-o:-d:i.virtualTranslate||r.transform(`translate3d(${o}px, ${d}px, 0px)`),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?o:d;const p=s.maxTranslate()-s.minTranslate();c=0===p?0:(e-s.minTranslate())/p,c!==l&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)}s.d(t,{Z:()=>a})},920:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(3710);function i(e=0,t=this.params.speed,s=!0,i=!0,r){const n=this,{params:l,wrapperEl:o}=n;if(n.animating&&l.preventInteractionOnTransition)return!1;const d=n.minTranslate(),c=n.maxTranslate();let p;if(p=i&&e>d?d:i&&e{s.d(t,{Z:()=>u});var a=s(7351),i=s(1396),r=s(9340),n=s(1334),l=s(6360),o=s(281),d=s(3030),c=s(3918),p=s(9930);const u={updateSize:a.Z,updateSlides:i.Z,updateAutoHeight:r.Z,updateSlidesOffset:n.Z,updateSlidesProgress:l.Z,updateProgress:o.Z,updateSlidesClasses:d.Z,updateActiveIndex:c.Z,updateClickedSlide:p.Z}},3918:(e,t,s)=>{function a(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:a,snapGrid:i,params:r,activeIndex:n,realIndex:l,snapIndex:o}=t;let d,c=e;if(void 0===c){for(let e=0;e=a[e]&&s=a[e]&&s=a[e]&&(c=e);r.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if(i.indexOf(s)>=0)d=i.indexOf(s);else{const e=Math.min(r.slidesPerGroupSkip,c);d=e+Math.floor((c-e)/r.slidesPerGroup)}if(d>=i.length&&(d=i.length-1),c===n)return void(d!==o&&(t.snapIndex=d,t.emit("snapIndexChange")));const p=parseInt(t.slides.eq(c).attr("data-swiper-slide-index")||c,10);Object.assign(t,{snapIndex:d,realIndex:p,previousIndex:n,activeIndex:c}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),l!==p&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")}s.d(t,{Z:()=>a})},9340:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(2166);function i(e){const t=this,s=[],i=t.virtual&&t.params.virtual.enabled;let r,n=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const l=e=>i?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||(0,a.Z)([])).each((e=>{s.push(e)}));else for(r=0;rt.slides.length&&!i)break;s.push(l(e))}else s.push(l(t.activeIndex));for(r=0;rn?e:n}(n||0===n)&&t.$wrapperEl.css("height",`${n}px`)}},9930:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(2166);function i(e){const t=this,s=t.params,i=(0,a.Z)(e).closest(`.${s.slideClass}`)[0];let r,n=!1;if(i)for(let e=0;e{function a(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:r,isEnd:n}=t;const l=r,o=n;0===a?(i=0,r=!0,n=!0):(i=(e-t.minTranslate())/a,r=i<=0,n=i>=1),Object.assign(t,{progress:i,isBeginning:r,isEnd:n}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),r&&!l&&t.emit("reachBeginning toEdge"),n&&!o&&t.emit("reachEnd toEdge"),(l&&!r||o&&!n)&&t.emit("fromEdge"),t.emit("progress",i)}s.d(t,{Z:()=>a})},7351:(e,t,s)=>{function a(){const e=this;let t,s;const a=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:a[0].clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:a[0].clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(a.css("padding-left")||0,10)-parseInt(a.css("padding-right")||0,10),s=s-parseInt(a.css("padding-top")||0,10)-parseInt(a.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))}s.d(t,{Z:()=>a})},1396:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(3710);function i(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function s(e,s){return parseFloat(e.getPropertyValue(t(s))||0)}const i=e.params,{$wrapperEl:r,size:n,rtlTranslate:l,wrongRTL:o}=e,d=e.virtual&&i.virtual.enabled,c=d?e.virtual.slides.length:e.slides.length,p=r.children(`.${e.params.slideClass}`),u=d?e.virtual.slides.length:p.length;let h=[];const m=[],f=[];let g=i.slidesOffsetBefore;"function"==typeof g&&(g=i.slidesOffsetBefore.call(e));let v=i.slidesOffsetAfter;"function"==typeof v&&(v=i.slidesOffsetAfter.call(e));const w=e.snapGrid.length,b=e.slidesGrid.length;let y=i.spaceBetween,x=-g,E=0,C=0;if(void 0===n)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*n),e.virtualSize=-y,l?p.css({marginLeft:"",marginBottom:"",marginTop:""}):p.css({marginRight:"",marginBottom:"",marginTop:""}),i.centeredSlides&&i.cssMode&&((0,a.z2)(e.wrapperEl,"--swiper-centered-offset-before",""),(0,a.z2)(e.wrapperEl,"--swiper-centered-offset-after",""));const $=i.grid&&i.grid.rows>1&&e.grid;let T;$&&e.grid.initSlides(u);const S="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter((e=>void 0!==i.breakpoints[e].slidesPerView)).length>0;for(let a=0;a1&&h.push(e.virtualSize-n)}if(0===h.length&&(h=[0]),0!==i.spaceBetween){const s=e.isHorizontal()&&l?"marginLeft":t("marginRight");p.filter(((e,t)=>!i.cssMode||t!==p.length-1)).css({[s]:`${y}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(i.spaceBetween?i.spaceBetween:0)})),e-=i.spaceBetween;const t=e-n;h=h.map((e=>e<0?-g:e>t?t+v:e))}if(i.centerInsufficientSlides){let e=0;if(f.forEach((t=>{e+=t+(i.spaceBetween?i.spaceBetween:0)})),e-=i.spaceBetween,e{h[s]=e-t})),m.forEach(((e,s)=>{m[s]=e+t}))}}if(Object.assign(e,{slides:p,snapGrid:h,slidesGrid:m,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){(0,a.z2)(e.wrapperEl,"--swiper-centered-offset-before",-h[0]+"px"),(0,a.z2)(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(u!==c&&e.emit("slidesLengthChange"),h.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),m.length!==b&&e.emit("slidesGridLengthChange"),i.watchSlidesProgress&&e.updateSlidesOffset(),!(d||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const t=`${i.containerModifierClass}backface-hidden`,s=e.$el.hasClass(t);u<=i.maxBackfaceHiddenSlides?s||e.$el.addClass(t):s&&e.$el.removeClass(t)}}},3030:(e,t,s)=>{function a(){const e=this,{slides:t,params:s,$wrapperEl:a,activeIndex:i,realIndex:r}=e,n=e.virtual&&s.virtual.enabled;let l;t.removeClass(`${s.slideActiveClass} ${s.slideNextClass} ${s.slidePrevClass} ${s.slideDuplicateActiveClass} ${s.slideDuplicateNextClass} ${s.slideDuplicatePrevClass}`),l=n?e.$wrapperEl.find(`.${s.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),l.addClass(s.slideActiveClass),s.loop&&(l.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass));let o=l.nextAll(`.${s.slideClass}`).eq(0).addClass(s.slideNextClass);s.loop&&0===o.length&&(o=t.eq(0),o.addClass(s.slideNextClass));let d=l.prevAll(`.${s.slideClass}`).eq(0).addClass(s.slidePrevClass);s.loop&&0===d.length&&(d=t.eq(-1),d.addClass(s.slidePrevClass)),s.loop&&(o.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass),d.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass)),e.emitSlidesClasses()}s.d(t,{Z:()=>a})},1334:(e,t,s)=>{function a(){const e=this,t=e.slides;for(let s=0;sa})},6360:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(2166);function i(e=this&&this.translate||0){const t=this,s=t.params,{slides:i,rtlTranslate:r,snapGrid:n}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let l=-e;r&&(l=e),i.removeClass(s.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e=0&&p1&&u<=t.size||p<=0&&u>=t.size)&&(t.visibleSlides.push(a),t.visibleSlidesIndexes.push(e),i.eq(e).addClass(s.slideVisibleClass)),a.progress=r?-d:d,a.originalProgress=r?-c:c}t.visibleSlides=(0,a.Z)(t.visibleSlides)}},3389:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(1443),i=s(2166);function r({swiper:e,extendParams:t,on:s}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let r=null;function n(e){const t=r;0!==t.length&&(t.html(""),t.html(e))}function l(e){e.attr("tabIndex","0")}function o(e){e.attr("tabIndex","-1")}function d(e,t){e.attr("role",t)}function c(e,t){e.attr("aria-roledescription",t)}function p(e,t){e.attr("aria-label",t)}function u(e){e.attr("aria-disabled",!0)}function h(e){e.attr("aria-disabled",!1)}function m(t){if(13!==t.keyCode&&32!==t.keyCode)return;const s=e.params.a11y,r=(0,i.Z)(t.target);e.navigation&&e.navigation.$nextEl&&r.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?n(s.lastSlideMessage):n(s.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&r.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?n(s.firstSlideMessage):n(s.prevSlideMessage)),e.pagination&&r.is((0,a.Z)(e.params.pagination.bulletClass))&&r[0].click()}function f(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function g(){return f()&&e.params.pagination.clickable}const v=(e,t,s)=>{l(e),"BUTTON"!==e[0].tagName&&(d(e,"button"),e.on("keydown",m)),p(e,s),function(e,t){e.attr("aria-controls",t)}(e,t)},w=()=>{e.a11y.clicked=!0},b=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.destroyed||(e.a11y.clicked=!1)}))}))},y=t=>{if(e.a11y.clicked)return;const s=t.target.closest(`.${e.params.slideClass}`);if(!s||!e.slides.includes(s))return;const a=e.slides.indexOf(s)===e.activeIndex,i=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(s);a||i||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(s),0))},x=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&c((0,i.Z)(e.slides),t.itemRoleDescriptionMessage),t.slideRole&&d((0,i.Z)(e.slides),t.slideRole);const s=e.params.loop?e.slides.filter((t=>!t.classList.contains(e.params.slideDuplicateClass))).length:e.slides.length;t.slideLabelMessage&&e.slides.each(((a,r)=>{const n=(0,i.Z)(a),l=e.params.loop?parseInt(n.attr("data-swiper-slide-index"),10):r;p(n,t.slideLabelMessage.replace(/\{\{index\}\}/,l+1).replace(/\{\{slidesLength\}\}/,s))}))},E=()=>{const t=e.params.a11y;e.$el.append(r);const s=e.$el;t.containerRoleDescriptionMessage&&c(s,t.containerRoleDescriptionMessage),t.containerMessage&&p(s,t.containerMessage);const i=e.$wrapperEl,n=t.id||i.attr("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,l=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";var o;let d,u;o=n,i.attr("id",o),function(e,t){e.attr("aria-live",t)}(i,l),x(),e.navigation&&e.navigation.$nextEl&&(d=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(u=e.navigation.$prevEl),d&&d.length&&v(d,n,t.nextSlideMessage),u&&u.length&&v(u,n,t.prevSlideMessage),g()&&e.pagination.$el.on("keydown",(0,a.Z)(e.params.pagination.bulletClass),m),e.$el.on("focus",y,!0),e.$el.on("pointerdown",w,!0),e.$el.on("pointerup",b,!0)};s("beforeInit",(()=>{r=(0,i.Z)(``)})),s("afterInit",(()=>{e.params.a11y.enabled&&E()})),s("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{e.params.a11y.enabled&&x()})),s("fromEdge toEdge afterInit lock unlock",(()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{$nextEl:t,$prevEl:s}=e.navigation;s&&s.length>0&&(e.isBeginning?(u(s),o(s)):(h(s),l(s))),t&&t.length>0&&(e.isEnd?(u(t),o(t)):(h(t),l(t)))}()})),s("paginationUpdate",(()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;f()&&e.pagination.bullets.each((s=>{const a=(0,i.Z)(s);e.params.pagination.clickable&&(l(a),e.params.pagination.renderBullet||(d(a,"button"),p(a,t.paginationBulletMessage.replace(/\{\{index\}\}/,a.index()+1)))),a.is(`.${e.params.pagination.bulletActiveClass}`)?a.attr("aria-current","true"):a.removeAttr("aria-current")}))}()})),s("destroy",(()=>{e.params.a11y.enabled&&function(){let t,s;r&&r.length>0&&r.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(s=e.navigation.$prevEl),t&&t.off("keydown",m),s&&s.off("keydown",m),g()&&e.pagination.$el.off("keydown",(0,a.Z)(e.params.pagination.bulletClass),m),e.$el.off("focus",y,!0),e.$el.off("pointerdown",w,!0),e.$el.off("pointerup",b,!0)}()}))}},867:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(1936),i=s(3710);function r({swiper:e,extendParams:t,on:s,emit:r}){let n;function l(){if(!e.size)return e.autoplay.running=!1,void(e.autoplay.paused=!1);const t=e.slides.eq(e.activeIndex);let s=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(s=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(n),n=(0,i.Y3)((()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?d():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),r("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),r("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?d():(t=e.slideTo(0,e.params.speed,!0,!0),r("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),r("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&l()}),s)}function o(){return void 0===n&&(!e.autoplay.running&&(e.autoplay.running=!0,r("autoplayStart"),l(),!0))}function d(){return!!e.autoplay.running&&(void 0!==n&&(n&&(clearTimeout(n),n=void 0),e.autoplay.running=!1,r("autoplayStop"),!0))}function c(t){e.autoplay.running&&(e.autoplay.paused||(n&&clearTimeout(n),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].addEventListener(t,u)})):(e.autoplay.paused=!1,l())))}function p(){const t=(0,a.Me)();"hidden"===t.visibilityState&&e.autoplay.running&&c(),"visible"===t.visibilityState&&e.autoplay.paused&&(l(),e.autoplay.paused=!1)}function u(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)})),e.autoplay.paused=!1,e.autoplay.running?l():d())}function h(){e.params.autoplay.disableOnInteraction?d():(r("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)}))}function m(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,r("autoplayResume"),l())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),s("init",(()=>{if(e.params.autoplay.enabled){o();(0,a.Me)().addEventListener("visibilitychange",p),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",h),e.$el.on("mouseleave",m))}})),s("beforeTransitionStart",((t,s,a)=>{e.autoplay.running&&(a||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(s):d())})),s("sliderFirstMove",(()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?d():c())})),s("touchEnd",(()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&l()})),s("destroy",(()=>{e.$el.off("mouseenter",h),e.$el.off("mouseleave",m),e.autoplay.running&&d();(0,a.Me)().removeEventListener("visibilitychange",p)})),Object.assign(e.autoplay,{pause:c,run:l,start:o,stop:d})}},2585:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(3710);function i({swiper:e,extendParams:t,on:s}){function i(e,t){const s=function(){let e,t,s;return(a,i)=>{for(t=-1,e=a.length;e-t>1;)s=e+t>>1,a[s]<=i?t=s:e=s;return e}}();let a,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this}function r(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},s("beforeInit",(()=>{e.controller.control=e.params.controller.control})),s("update",(()=>{r()})),s("resize",(()=>{r()})),s("observerUpdate",(()=>{r()})),s("setTranslate",((t,s,a)=>{e.controller.control&&e.controller.setTranslate(s,a)})),s("setTransition",((t,s,a)=>{e.controller.control&&e.controller.setTransition(s,a)})),Object.assign(e.controller,{setTranslate:function(t,s){const a=e.controller.control;let r,n;const l=e.constructor;function o(t){const s=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(!function(t){e.controller.spline||(e.controller.spline=e.params.loop?new i(e.slidesGrid,t.slidesGrid):new i(e.snapGrid,t.snapGrid))}(t),n=-e.controller.spline.interpolate(-s)),n&&"container"!==e.params.controller.by||(r=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),n=(s-e.minTranslate())*r+t.minTranslate()),e.params.controller.inverse&&(n=t.maxTranslate()-n),t.updateProgress(n),t.setTranslate(n,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(a))for(let e=0;e{s.updateAutoHeight()})),s.$wrapperEl.transitionEnd((()=>{r&&(s.params.loop&&"slide"===e.params.controller.by&&s.loopFix(),s.transitionEnd())})))}if(Array.isArray(r))for(n=0;n{s.d(t,{Z:()=>l});var a=s(8865),i=s(1931),r=s(3733),n=s(2465);function l({swiper:e,extendParams:t,on:s}){t({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}});(0,i.Z)({effect:"cards",swiper:e,on:s,setTranslate:()=>{const{slides:t,activeIndex:s}=e,i=e.params.cardsEffect,{startTranslate:n,isTouched:l}=e.touchEventsData,o=e.translate;for(let d=0;d0&&u<1&&(l||e.params.cssMode)&&o-1&&(l||e.params.cssMode)&&o>n;if(x||E){const e=(1-Math.abs((Math.abs(u)-.5)/.5))**.5;w+=-28*u*e,v+=-.5*e,b+=96*e,f=-25*e*Math.abs(u)+"%"}if(m=u<0?`calc(${m}px + (${b*Math.abs(u)}%))`:u>0?`calc(${m}px + (-${b*Math.abs(u)}%))`:`${m}px`,!e.isHorizontal()){const e=f;f=m,m=e}const C=u<0?""+(1+(1-v)*u):""+(1-(1-v)*u),$=`\n translate3d(${m}, ${f}, ${g}px)\n rotateZ(${i.rotate?w:0}deg)\n scale(${C})\n `;if(i.slideShadows){let e=c.find(".swiper-slide-shadow");0===e.length&&(e=(0,a.Z)(i,c)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(u)-.5)/.5,0),1))}c[0].style.zIndex=-Math.abs(Math.round(p))+t.length;(0,r.Z)(i,c).transform($)}},setTransition:t=>{const{transformEl:s}=e.params.cardsEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,n.Z)({swiper:e,duration:t,transformEl:s})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},6473:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(8865),i=s(1931),r=s(3733);function n({swiper:e,extendParams:t,on:s}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}});(0,i.Z)({effect:"coverflow",swiper:e,on:s,setTranslate:()=>{const{width:t,height:s,slides:i,slidesSizesGrid:n}=e,l=e.params.coverflowEffect,o=e.isHorizontal(),d=e.translate,c=o?t/2-d:s/2-d,p=o?l.rotate:-l.rotate,u=l.depth;for(let e=0,t=i.length;e0?h:0),s.length&&(s[0].style.opacity=-h>0?-h:0)}}},setTransition:t=>{const{transformEl:s}=e.params.coverflowEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}},5980:(e,t,s)=>{s.d(t,{Z:()=>l});var a=s(8865),i=s(1931),r=s(3733),n=s(2465);function l({swiper:e,extendParams:t,on:s}){t({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const l=e=>"string"==typeof e?e:`${e}px`;(0,i.Z)({effect:"creative",swiper:e,on:s,setTranslate:()=>{const{slides:t,$wrapperEl:s,slidesSizesGrid:i}=e,n=e.params.creativeEffect,{progressMultiplier:o}=n,d=e.params.centeredSlides;if(d){const t=i[0]/2-e.params.slidesOffsetBefore||0;s.transform(`translateX(calc(50% - ${t}px))`)}for(let s=0;s0&&(v=n.prev,g=!0),m.forEach(((e,t)=>{m[t]=`calc(${e}px + (${l(v.translate[t])} * ${Math.abs(p*o)}))`})),f.forEach(((e,t)=>{f[t]=v.rotate[t]*Math.abs(p*o)})),i[0].style.zIndex=-Math.abs(Math.round(c))+t.length;const w=m.join(", "),b=`rotateX(${f[0]}deg) rotateY(${f[1]}deg) rotateZ(${f[2]}deg)`,y=u<0?`scale(${1+(1-v.scale)*u*o})`:`scale(${1-(1-v.scale)*u*o})`,x=u<0?1+(1-v.opacity)*u*o:1-(1-v.opacity)*u*o,E=`translate3d(${w}) ${b} ${y}`;if(g&&v.shadow||!g){let e=i.children(".swiper-slide-shadow");if(0===e.length&&v.shadow&&(e=(0,a.Z)(n,i)),e.length){const t=n.shadowPerProgress?p*(1/n.limitProgress):p;e[0].style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const C=(0,r.Z)(n,i);C.transform(E).css({opacity:x}),v.origin&&C.css("transform-origin",v.origin)}},setTransition:t=>{const{transformEl:s}=e.params.creativeEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,n.Z)({swiper:e,duration:t,transformEl:s,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},1771:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(2166),i=s(1931);function r({swiper:e,extendParams:t,on:s}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(e,t,s)=>{let i=s?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=s?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===i.length&&(i=(0,a.Z)(`
`),e.append(i)),0===r.length&&(r=(0,a.Z)(`
`),e.append(r)),i.length&&(i[0].style.opacity=Math.max(-t,0)),r.length&&(r[0].style.opacity=Math.max(t,0))};(0,i.Z)({effect:"cube",swiper:e,on:s,setTranslate:()=>{const{$el:t,$wrapperEl:s,slides:i,width:n,height:l,rtlTranslate:o,size:d,browser:c}=e,p=e.params.cubeEffect,u=e.isHorizontal(),h=e.virtual&&e.params.virtual.enabled;let m,f=0;p.shadow&&(u?(m=s.find(".swiper-cube-shadow"),0===m.length&&(m=(0,a.Z)('
'),s.append(m)),m.css({height:`${n}px`})):(m=t.find(".swiper-cube-shadow"),0===m.length&&(m=(0,a.Z)('
'),t.append(m))));for(let e=0;e-1&&(f=90*s+90*l,o&&(f=90*-s-90*l)),t.transform(v),p.slideShadows&&r(t,l,u)}if(s.css({"-webkit-transform-origin":`50% 50% -${d/2}px`,"transform-origin":`50% 50% -${d/2}px`}),p.shadow)if(u)m.transform(`translate3d(0px, ${n/2+p.shadowOffset}px, ${-n/2}px) rotateX(90deg) rotateZ(0deg) scale(${p.shadowScale})`);else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=p.shadowScale,a=p.shadowScale/t,i=p.shadowOffset;m.transform(`scale3d(${s}, 1, ${a}) translate3d(0px, ${l/2+i}px, ${-l/2/a}px) rotateX(-90deg)`)}const g=c.isSafari||c.isWebView?-d/2:0;s.transform(`translate3d(0px,0,${g}px) rotateX(${e.isHorizontal()?0:f}deg) rotateY(${e.isHorizontal()?-f:0}deg)`),s[0].style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:t=>{const{$el:s,slides:a}=e;a.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.cubeEffect.shadow&&!e.isHorizontal()&&s.find(".swiper-cube-shadow").transition(t)},recreateShadows:()=>{const t=e.isHorizontal();e.slides.each((e=>{const s=Math.max(Math.min(e.progress,1),-1);r((0,a.Z)(e),s,t)}))},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}},7456:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(1931),i=s(3733),r=s(2465);function n({swiper:e,extendParams:t,on:s}){t({fadeEffect:{crossFade:!1,transformEl:null}});(0,a.Z)({effect:"fade",swiper:e,on:s,setTranslate:()=>{const{slides:t}=e,s=e.params.fadeEffect;for(let a=0;a{const{transformEl:s}=e.params.fadeEffect;(s?e.slides.find(s):e.slides).transition(t),(0,r.Z)({swiper:e,duration:t,transformEl:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},371:(e,t,s)=>{s.d(t,{Z:()=>o});var a=s(2166),i=s(8865),r=s(1931),n=s(3733),l=s(2465);function o({swiper:e,extendParams:t,on:s}){t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const o=(t,s,a)=>{let r=e.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),n=e.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===r.length&&(r=(0,i.Z)(a,t,e.isHorizontal()?"left":"top")),0===n.length&&(n=(0,i.Z)(a,t,e.isHorizontal()?"right":"bottom")),r.length&&(r[0].style.opacity=Math.max(-s,0)),n.length&&(n[0].style.opacity=Math.max(s,0))};(0,r.Z)({effect:"flip",swiper:e,on:s,setTranslate:()=>{const{slides:t,rtlTranslate:s}=e,a=e.params.flipEffect;for(let i=0;i{const{transformEl:s}=e.params.flipEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),(0,l.Z)({swiper:e,duration:t,transformEl:s})},recreateShadows:()=>{const t=e.params.flipEffect;e.slides.each((s=>{const i=(0,a.Z)(s);let r=i[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(s.progress,1),-1)),o(i,r,t)}))},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},5440:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(3710);function i({swiper:e,extendParams:t,emit:s,once:i}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){const{touchEventsData:t,touches:s}=e;0===t.velocities.length&&t.velocities.push({position:s[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:s[e.isHorizontal()?"currentX":"currentY"],time:(0,a.zO)()})},onTouchEnd:function({currentPos:t}){const{params:r,$wrapperEl:n,rtlTranslate:l,snapGrid:o,touchEventsData:d}=e,c=(0,a.zO)()-d.touchStartTime;if(t<-e.minTranslate())e.slideTo(e.activeIndex);else if(t>-e.maxTranslate())e.slides.length1){const t=d.velocities.pop(),s=d.velocities.pop(),i=t.position-s.position,n=t.time-s.time;e.velocity=i/n,e.velocity/=2,Math.abs(e.velocity)150||(0,a.zO)()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=r.freeMode.momentumVelocityRatio,d.velocities.length=0;let t=1e3*r.freeMode.momentumRatio;const c=e.velocity*t;let p=e.translate+c;l&&(p=-p);let u,h=!1;const m=20*Math.abs(e.velocity)*r.freeMode.momentumBounceRatio;let f;if(pe.minTranslate())r.freeMode.momentumBounce?(p-e.minTranslate()>m&&(p=e.minTranslate()+m),u=e.minTranslate(),h=!0,d.allowMomentumBounce=!0):p=e.minTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(r.freeMode.sticky){let t;for(let e=0;e-p){t=e;break}p=Math.abs(o[t]-p){e.loopFix()})),0!==e.velocity){if(t=l?Math.abs((-p-e.translate)/e.velocity):Math.abs((p-e.translate)/e.velocity),r.freeMode.sticky){const s=Math.abs((l?-p:p)-e.translate),a=e.slidesSizesGrid[e.activeIndex];t=s{e&&!e.destroyed&&d.allowMomentumBounce&&(s("momentumBounce"),e.setTransition(r.speed),setTimeout((()=>{e.setTranslate(u),n.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()}))}),0))}))):e.velocity?(s("_freeModeNoMomentumRelease"),e.updateProgress(p),e.setTransition(t),e.setTranslate(p),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,n.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(p),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(r.freeMode.sticky)return void e.slideToClosest();r.freeMode&&s("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||c>=r.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})}},8997:(e,t,s)=>{function a({swiper:e,extendParams:t}){let s,a,i;t({grid:{rows:1,fill:"column"}});e.grid={initSlides:t=>{const{slidesPerView:r}=e.params,{rows:n,fill:l}=e.params.grid;a=s/n,i=Math.floor(t/n),s=Math.floor(t/n)===t/n?t:Math.ceil(t/n)*n,"auto"!==r&&"row"===l&&(s=Math.max(s,r*n))},updateSlide:(t,r,n,l)=>{const{slidesPerGroup:o,spaceBetween:d}=e.params,{rows:c,fill:p}=e.params.grid;let u,h,m;if("row"===p&&o>1){const e=Math.floor(t/(o*c)),a=t-c*o*e,i=0===e?o:Math.min(Math.ceil((n-e*c*o)/c),o);m=Math.floor(a/i),h=a-m*i+e*o,u=h+m*s/c,r.css({"-webkit-order":u,order:u})}else"column"===p?(h=Math.floor(t/c),m=t-h*c,(h>i||h===i&&m===c-1)&&(m+=1,m>=c&&(m=0,h+=1))):(m=Math.floor(t/a),h=t-m*a);r.css(l("margin-top"),0!==m?d&&`${d}px`:"")},updateWrapperSize:(t,a,i)=>{const{spaceBetween:r,centeredSlides:n,roundLengths:l}=e.params,{rows:o}=e.params.grid;if(e.virtualSize=(t+r)*s,e.virtualSize=Math.ceil(e.virtualSize/o)-r,e.$wrapperEl.css({[i("width")]:`${e.virtualSize+r}px`}),n){a.splice(0,a.length);const t=[];for(let s=0;sa})},954:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(1936),i=s(2166);function r({swiper:e,extendParams:t,emit:s,on:r}){let n=!1;const l=(0,a.Me)(),o=(0,a.Jj)();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const d=()=>{s("hashChange");const t=l.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const s=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===s)return;e.slideTo(s)}},c=()=>{if(n&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&o.history&&o.history.replaceState)o.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),s("hashSet");else{const t=e.slides.eq(e.activeIndex),a=t.attr("data-hash")||t.attr("data-history");l.location.hash=a||"",s("hashSet")}};r("init",(()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;n=!0;const t=l.location.hash.replace("#","");if(t){const s=0;for(let a=0,i=e.slides.length;a{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&(0,i.Z)(o).off("hashchange",d)})),r("transitionEnd _freeModeNoMomentumRelease",(()=>{n&&c()})),r("slideChange",(()=>{n&&e.params.cssMode&&c()}))}},574:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(1936);function i({swiper:e,extendParams:t,on:s}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,r={};const n=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=e=>{const t=(0,a.Jj)();let s;s=e?new URL(e):t.location;const i=s.pathname.slice(1).split("/").filter((e=>""!==e)),r=i.length;return{key:i[r-2],value:i[r-1]}},o=(t,s)=>{const r=(0,a.Jj)();if(!i||!e.params.history.enabled)return;let l;l=e.params.url?new URL(e.params.url):r.location;const o=e.slides.eq(s);let d=n(o.attr("data-history"));if(e.params.history.root.length>0){let s=e.params.history.root;"/"===s[s.length-1]&&(s=s.slice(0,s.length-1)),d=`${s}/${t}/${d}`}else l.pathname.includes(t)||(d=`${t}/${d}`);e.params.history.keepQuery&&(d+=l.search);const c=r.history.state;c&&c.value===d||(e.params.history.replaceState?r.history.replaceState({value:d},null,d):r.history.pushState({value:d},null,d))},d=(t,s,a)=>{if(s)for(let i=0,r=e.slides.length;i{r=l(e.params.url),d(e.params.speed,r.value,!1)};s("init",(()=>{e.params.history.enabled&&(()=>{const t=(0,a.Jj)();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);i=!0,r=l(e.params.url),(r.key||r.value)&&(d(0,r.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",c))}})()})),s("destroy",(()=>{e.params.history.enabled&&(()=>{const t=(0,a.Jj)();e.params.history.replaceState||t.removeEventListener("popstate",c)})()})),s("transitionEnd _freeModeNoMomentumRelease",(()=>{i&&o(e.params.history.key,e.activeIndex)})),s("slideChange",(()=>{i&&e.params.cssMode&&o(e.params.history.key,e.activeIndex)}))}},1558:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(1936),i=s(2166);function r({swiper:e,extendParams:t,on:s,emit:r}){const n=(0,a.Me)(),l=(0,a.Jj)();function o(t){if(!e.enabled)return;const{rtlTranslate:s}=e;let a=t;a.originalEvent&&(a=a.originalEvent);const i=a.keyCode||a.charCode,o=e.params.keyboard.pageUpDown,d=o&&33===i,c=o&&34===i,p=37===i,u=39===i,h=38===i,m=40===i;if(!e.allowSlideNext&&(e.isHorizontal()&&u||e.isVertical()&&m||c))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&p||e.isVertical()&&h||d))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||n.activeElement&&n.activeElement.nodeName&&("input"===n.activeElement.nodeName.toLowerCase()||"textarea"===n.activeElement.nodeName.toLowerCase()))){if(e.params.keyboard.onlyInViewport&&(d||c||p||u||h||m)){let t=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&0===e.$el.parents(`.${e.params.slideActiveClass}`).length)return;const a=e.$el,i=a[0].clientWidth,r=a[0].clientHeight,n=l.innerWidth,o=l.innerHeight,d=e.$el.offset();s&&(d.left-=e.$el[0].scrollLeft);const c=[[d.left,d.top],[d.left+i,d.top],[d.left,d.top+r],[d.left+i,d.top+r]];for(let e=0;e=0&&s[0]<=n&&s[1]>=0&&s[1]<=o){if(0===s[0]&&0===s[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((d||c||p||u)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((c||u)&&!s||(d||p)&&s)&&e.slideNext(),((d||p)&&!s||(c||u)&&s)&&e.slidePrev()):((d||c||h||m)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(c||m)&&e.slideNext(),(d||h)&&e.slidePrev()),r("keyPress",i)}}function d(){e.keyboard.enabled||((0,i.Z)(n).on("keydown",o),e.keyboard.enabled=!0)}function c(){e.keyboard.enabled&&((0,i.Z)(n).off("keydown",o),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),s("init",(()=>{e.params.keyboard.enabled&&d()})),s("destroy",(()=>{e.keyboard.enabled&&c()})),Object.assign(e.keyboard,{enable:d,disable:c})}},3689:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(1936),i=s(2166);function r({swiper:e,extendParams:t,on:s,emit:r}){t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),e.lazy={};let n=!1,l=!1;function o(t,s=!0){const a=e.params.lazy;if(void 0===t)return;if(0===e.slides.length)return;const n=e.virtual&&e.params.virtual.enabled?e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`):e.slides.eq(t),l=n.find(`.${a.elementClass}:not(.${a.loadedClass}):not(.${a.loadingClass})`);!n.hasClass(a.elementClass)||n.hasClass(a.loadedClass)||n.hasClass(a.loadingClass)||l.push(n[0]),0!==l.length&&l.each((t=>{const l=(0,i.Z)(t);l.addClass(a.loadingClass);const d=l.attr("data-background"),c=l.attr("data-src"),p=l.attr("data-srcset"),u=l.attr("data-sizes"),h=l.parent("picture");e.loadImage(l[0],c||d,p,u,!1,(()=>{if(null!=e&&e&&(!e||e.params)&&!e.destroyed){if(d?(l.css("background-image",`url("${d}")`),l.removeAttr("data-background")):(p&&(l.attr("srcset",p),l.removeAttr("data-srcset")),u&&(l.attr("sizes",u),l.removeAttr("data-sizes")),h.length&&h.children("source").each((e=>{const t=(0,i.Z)(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),c&&(l.attr("src",c),l.removeAttr("data-src"))),l.addClass(a.loadedClass).removeClass(a.loadingClass),n.find(`.${a.preloaderClass}`).remove(),e.params.loop&&s){const t=n.attr("data-swiper-slide-index");if(n.hasClass(e.params.slideDuplicateClass)){o(e.$wrapperEl.children(`[data-swiper-slide-index="${t}"]:not(.${e.params.slideDuplicateClass})`).index(),!1)}else{o(e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${t}"]`).index(),!1)}}r("lazyImageReady",n[0],l[0]),e.params.autoHeight&&e.updateAutoHeight()}})),r("lazyImageLoad",n[0],l[0])}))}function d(){const{$wrapperEl:t,params:s,slides:a,activeIndex:r}=e,n=e.virtual&&s.virtual.enabled,d=s.lazy;let c=s.slidesPerView;function p(e){if(n){if(t.children(`.${s.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(a[e])return!0;return!1}function u(e){return n?(0,i.Z)(e).attr("data-swiper-slide-index"):(0,i.Z)(e).index()}if("auto"===c&&(c=0),l||(l=!0),e.params.watchSlidesProgress)t.children(`.${s.slideVisibleClass}`).each((e=>{o(n?(0,i.Z)(e).attr("data-swiper-slide-index"):(0,i.Z)(e).index())}));else if(c>1)for(let e=r;e1||d.loadPrevNextAmount&&d.loadPrevNextAmount>1){const e=d.loadPrevNextAmount,t=Math.ceil(c),s=Math.min(r+t+Math.max(e,t),a.length),i=Math.max(r-Math.max(t,e),0);for(let e=r+t;e0&&o(u(e));const a=t.children(`.${s.slidePrevClass}`);a.length>0&&o(u(a))}}function c(){const t=(0,a.Jj)();if(!e||e.destroyed)return;const s=e.params.lazy.scrollingElement?(0,i.Z)(e.params.lazy.scrollingElement):(0,i.Z)(t),r=s[0]===t,l=r?t.innerWidth:s[0].offsetWidth,o=r?t.innerHeight:s[0].offsetHeight,p=e.$el.offset(),{rtlTranslate:u}=e;let h=!1;u&&(p.left-=e.$el[0].scrollLeft);const m=[[p.left,p.top],[p.left+e.width,p.top],[p.left,p.top+e.height],[p.left+e.width,p.top+e.height]];for(let e=0;e=0&&t[0]<=l&&t[1]>=0&&t[1]<=o){if(0===t[0]&&0===t[1])continue;h=!0}}const f=!("touchstart"!==e.touchEvents.start||!e.support.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};h?(d(),s.off("scroll",c,f)):n||(n=!0,s.on("scroll",c,f))}s("beforeInit",(()=>{e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)})),s("init",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():d())})),s("scroll",(()=>{e.params.freeMode&&e.params.freeMode.enabled&&!e.params.freeMode.sticky&&d()})),s("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():d())})),s("transitionStart",(()=>{e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!l)&&(e.params.lazy.checkInView?c():d())})),s("transitionEnd",(()=>{e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.checkInView?c():d())})),s("slideChange",(()=>{const{lazy:t,cssMode:s,watchSlidesProgress:a,touchReleaseOnEdges:i,resistanceRatio:r}=e.params;t.enabled&&(s||a&&(i||0===r))&&d()})),s("destroy",(()=>{e.$el&&e.$el.find(`.${e.params.lazy.loadingClass}`).removeClass(e.params.lazy.loadingClass)})),Object.assign(e.lazy,{load:d,loadInSlide:o})}},6263:(e,t,s)=>{s.d(t,{Z:()=>o});var a=s(8700),i=s(9501),r=s(8034),n=s(1912),l=s(7872);function o({swiper:e}){Object.assign(e,{appendSlide:a.Z.bind(e),prependSlide:i.Z.bind(e),addSlide:r.Z.bind(e),removeSlide:n.Z.bind(e),removeAllSlides:l.Z.bind(e)})}},8034:(e,t,s)=>{function a(e,t){const s=this,{$wrapperEl:a,params:i,activeIndex:r}=s;let n=r;i.loop&&(n-=s.loopedSlides,s.loopDestroy(),s.slides=a.children(`.${i.slideClass}`));const l=s.slides.length;if(e<=0)return void s.prependSlide(t);if(e>=l)return void s.appendSlide(t);let o=n>e?n+1:n;const d=[];for(let t=l-1;t>=e;t-=1){const e=s.slides.eq(t);e.remove(),d.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?n+t.length:n}else a.append(t);for(let e=0;ea})},8700:(e,t,s)=>{function a(e){const t=this,{$wrapperEl:s,params:a}=t;if(a.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;ta})},9501:(e,t,s)=>{function a(e){const t=this,{params:s,$wrapperEl:a,activeIndex:i}=t;s.loop&&t.loopDestroy();let r=i+1;if("object"==typeof e&&"length"in e){for(let t=0;ta})},7872:(e,t,s)=>{function a(){const e=this,t=[];for(let s=0;sa})},1912:(e,t,s)=>{function a(e){const t=this,{params:s,$wrapperEl:a,activeIndex:i}=t;let r=i;s.loop&&(r-=t.loopedSlides,t.loopDestroy(),t.slides=a.children(`.${s.slideClass}`));let n,l=r;if("object"==typeof e&&"length"in e){for(let s=0;sa})},4010:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(1936),i=s(2166),r=s(3710);function n({swiper:e,extendParams:t,on:s,emit:n}){const l=(0,a.Jj)();let o;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let d,c=(0,r.zO)();const p=[];function u(){e.enabled&&(e.mouseEntered=!0)}function h(){e.enabled&&(e.mouseEntered=!1)}function m(t){return!(e.params.mousewheel.thresholdDelta&&t.delta=6&&(0,r.zO)()-c<60||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),n("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),n("scroll",t.raw)),c=(new l.Date).getTime(),!1)))}function f(t){let s=t,a=!0;if(!e.enabled)return;const l=e.params.mousewheel;e.params.cssMode&&s.preventDefault();let c=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(c=(0,i.Z)(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!c[0].contains(s.target)&&!l.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let u=0;const h=e.rtlTranslate?-1:1,f=function(e){let t=0,s=0,a=0,i=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),a=10*t,i=10*s,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),e.shiftKey&&!a&&(a=i,i=0),(a||i)&&e.deltaMode&&(1===e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!s&&(s=i<1?-1:1),{spinX:t,spinY:s,pixelX:a,pixelY:i}}(s);if(l.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(f.pixelX)>Math.abs(f.pixelY)))return!0;u=-f.pixelX*h}else{if(!(Math.abs(f.pixelY)>Math.abs(f.pixelX)))return!0;u=-f.pixelY}else u=Math.abs(f.pixelX)>Math.abs(f.pixelY)?-f.pixelX*h:-f.pixelY;if(0===u)return!0;l.invert&&(u=-u);let g=e.getTranslate()+u*l.sensitivity;if(g>=e.minTranslate()&&(g=e.minTranslate()),g<=e.maxTranslate()&&(g=e.maxTranslate()),a=!!e.params.loop||!(g===e.minTranslate()||g===e.maxTranslate()),a&&e.params.nested&&s.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:(0,r.zO)(),delta:Math.abs(u),direction:Math.sign(u)},a=d&&t.time=e.minTranslate()&&(i=e.minTranslate()),i<=e.maxTranslate()&&(i=e.maxTranslate()),e.setTransition(0),e.setTranslate(i),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!c&&e.isBeginning||!h&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(o),o=void 0,p.length>=15&&p.shift();const s=p.length?p[p.length-1]:void 0,a=p[0];if(p.push(t),s&&(t.delta>s.delta||t.direction!==s.direction))p.splice(0);else if(p.length>=15&&t.time-a.time<500&&a.delta-t.delta>=1&&t.delta<=6){const s=u>0?.8:.2;d=t,p.splice(0),o=(0,r.Y3)((()=>{e.slideToClosest(e.params.speed,!0,void 0,s)}),0)}o||(o=(0,r.Y3)((()=>{d=t,p.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)}),500))}if(a||n("scroll",s),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),i===e.minTranslate()||i===e.maxTranslate())return!0}}else{const s={time:(0,r.zO)(),delta:Math.abs(u),direction:Math.sign(u),raw:t};p.length>=2&&p.shift();const a=p.length?p[p.length-1]:void 0;if(p.push(s),a?(s.direction!==a.direction||s.delta>a.delta||s.time>a.time+150)&&m(s):m(s),function(t){const s=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&s.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function g(t){let s=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(s=(0,i.Z)(e.params.mousewheel.eventsTarget)),s[t]("mouseenter",u),s[t]("mouseleave",h),s[t]("wheel",f)}function v(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",f),!0):!e.mousewheel.enabled&&(g("on"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,f),!0):!!e.mousewheel.enabled&&(g("off"),e.mousewheel.enabled=!1,!0)}s("init",(()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&v()})),s("destroy",(()=>{e.params.cssMode&&v(),e.mousewheel.enabled&&w()})),Object.assign(e.mousewheel,{enable:v,disable:w})}},6615:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(5438),i=s(2166);function r({swiper:e,extendParams:t,on:s,emit:r}){function n(t){let s;return t&&(s=(0,i.Z)(t),e.params.uniqueNavElements&&"string"==typeof t&&s.length>1&&1===e.$el.find(t).length&&(s=e.$el.find(t))),s}function l(t,s){const a=e.params.navigation;t&&t.length>0&&(t[s?"addClass":"removeClass"](a.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=s),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](a.lockClass))}function o(){if(e.params.loop)return;const{$nextEl:t,$prevEl:s}=e.navigation;l(s,e.isBeginning&&!e.params.rewind),l(t,e.isEnd&&!e.params.rewind)}function d(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function c(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function p(){const t=e.params.navigation;if(e.params.navigation=(0,a.Z)(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const s=n(t.nextEl),i=n(t.prevEl);s&&s.length>0&&s.on("click",c),i&&i.length>0&&i.on("click",d),Object.assign(e.navigation,{$nextEl:s,nextEl:s&&s[0],$prevEl:i,prevEl:i&&i[0]}),e.enabled||(s&&s.addClass(t.lockClass),i&&i.addClass(t.lockClass))}function u(){const{$nextEl:t,$prevEl:s}=e.navigation;t&&t.length&&(t.off("click",c),t.removeClass(e.params.navigation.disabledClass)),s&&s.length&&(s.off("click",d),s.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},s("init",(()=>{!1===e.params.navigation.enabled?h():(p(),o())})),s("toEdge fromEdge lock unlock",(()=>{o()})),s("destroy",(()=>{u()})),s("enable disable",(()=>{const{$nextEl:t,$prevEl:s}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),s&&s[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),s("click",((t,s)=>{const{$nextEl:a,$prevEl:n}=e.navigation,l=s.target;if(e.params.navigation.hideOnClick&&!(0,i.Z)(l).is(n)&&!(0,i.Z)(l).is(a)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===l||e.pagination.el.contains(l)))return;let t;a?t=a.hasClass(e.params.navigation.hiddenClass):n&&(t=n.hasClass(e.params.navigation.hiddenClass)),r(!0===t?"navigationShow":"navigationHide"),a&&a.toggleClass(e.params.navigation.hiddenClass),n&&n.toggleClass(e.params.navigation.hiddenClass)}}));const h=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),u()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),p(),o()},disable:h,update:o,init:p,destroy:u})}},1852:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(2166),i=s(1443),r=s(5438);function n({swiper:e,extendParams:t,on:s,emit:n}){const l="swiper-pagination";let o;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let d=0;function c(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function p(t,s){const{bulletActiveClass:a}=e.params.pagination;t[s]().addClass(`${a}-${s}`)[s]().addClass(`${a}-${s}-${s}`)}function u(){const t=e.rtl,s=e.params.pagination;if(c())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,l=e.pagination.$el;let u;const h=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),u>r-1-2*e.loopedSlides&&(u-=r-2*e.loopedSlides),u>h-1&&(u-=h),u<0&&"bullets"!==e.params.paginationType&&(u=h+u)):u=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===s.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const i=e.pagination.bullets;let r,n,c;if(s.dynamicBullets&&(o=i.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),l.css(e.isHorizontal()?"width":"height",o*(s.dynamicMainBullets+4)+"px"),s.dynamicMainBullets>1&&void 0!==e.previousIndex&&(d+=u-(e.previousIndex-e.loopedSlides||0),d>s.dynamicMainBullets-1?d=s.dynamicMainBullets-1:d<0&&(d=0)),r=Math.max(u-d,0),n=r+(Math.min(i.length,s.dynamicMainBullets)-1),c=(n+r)/2),i.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`)).join(" ")),l.length>1)i.each((e=>{const t=(0,a.Z)(e),i=t.index();i===u&&t.addClass(s.bulletActiveClass),s.dynamicBullets&&(i>=r&&i<=n&&t.addClass(`${s.bulletActiveClass}-main`),i===r&&p(t,"prev"),i===n&&p(t,"next"))}));else{const t=i.eq(u),a=t.index();if(t.addClass(s.bulletActiveClass),s.dynamicBullets){const t=i.eq(r),l=i.eq(n);for(let e=r;e<=n;e+=1)i.eq(e).addClass(`${s.bulletActiveClass}-main`);if(e.params.loop)if(a>=i.length){for(let e=s.dynamicMainBullets;e>=0;e-=1)i.eq(i.length-e).addClass(`${s.bulletActiveClass}-main`);i.eq(i.length-s.dynamicMainBullets-1).addClass(`${s.bulletActiveClass}-prev`)}else p(t,"prev"),p(l,"next");else p(t,"prev"),p(l,"next")}}if(s.dynamicBullets){const a=Math.min(i.length,s.dynamicMainBullets+4),r=(o*a-o)/2-c*o,n=t?"right":"left";i.css(e.isHorizontal()?n:"top",`${r}px`)}}if("fraction"===s.type&&(l.find((0,i.Z)(s.currentClass)).text(s.formatFractionCurrent(u+1)),l.find((0,i.Z)(s.totalClass)).text(s.formatFractionTotal(h))),"progressbar"===s.type){let t;t=s.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const a=(u+1)/h;let r=1,n=1;"horizontal"===t?r=a:n=a,l.find((0,i.Z)(s.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${n})`).transition(e.params.speed)}"custom"===s.type&&s.renderCustom?(l.html(s.renderCustom(e,u+1,h)),n("paginationRender",l[0])):n("paginationUpdate",l[0]),e.params.watchOverflow&&e.enabled&&l[e.isLocked?"addClass":"removeClass"](s.lockClass)}function h(){const t=e.params.pagination;if(c())return;const s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,a=e.pagination.$el;let r="";if("bullets"===t.type){let n=e.params.loop?Math.ceil((s-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&n>s&&(n=s);for(let s=0;s`;a.html(r),e.pagination.bullets=a.find((0,i.Z)(t.bulletClass))}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):` / `,a.html(r)),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):``,a.html(r)),"custom"!==t.type&&n("paginationRender",e.pagination.$el[0])}function m(){e.params.pagination=(0,r.Z)(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let s=(0,a.Z)(t.el);0!==s.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&s.length>1&&(s=e.$el.find(t.el),s.length>1&&(s=s.filter((t=>(0,a.Z)(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&s.addClass(t.clickableClass),s.addClass(t.modifierClass+t.type),s.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(s.addClass(`${t.modifierClass}${t.type}-dynamic`),d=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&s.addClass(t.progressbarOppositeClass),t.clickable&&s.on("click",(0,i.Z)(t.bulletClass),(function(t){t.preventDefault();let s=(0,a.Z)(this).index()*e.params.slidesPerGroup;e.params.loop&&(s+=e.loopedSlides),e.slideTo(s)})),Object.assign(e.pagination,{$el:s,el:s[0]}),e.enabled||s.addClass(t.lockClass))}function f(){const t=e.params.pagination;if(c())return;const s=e.pagination.$el;s.removeClass(t.hiddenClass),s.removeClass(t.modifierClass+t.type),s.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&s.off("click",(0,i.Z)(t.bulletClass))}s("init",(()=>{!1===e.params.pagination.enabled?g():(m(),h(),u())})),s("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&u()})),s("snapIndexChange",(()=>{e.params.loop||u()})),s("slidesLengthChange",(()=>{e.params.loop&&(h(),u())})),s("snapGridLengthChange",(()=>{e.params.loop||(h(),u())})),s("destroy",(()=>{f()})),s("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),s("lock unlock",(()=>{u()})),s("click",((t,s)=>{const i=s.target,{$el:r}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&r&&r.length>0&&!(0,a.Z)(i).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const t=r.hasClass(e.params.pagination.hiddenClass);n(!0===t?"paginationShow":"paginationHide"),r.toggleClass(e.params.pagination.hiddenClass)}}));const g=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),f()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),m(),h(),u()},disable:g,render:h,update:u,init:m,destroy:f})}},19:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(2166);function i({swiper:e,extendParams:t,on:s}){t({parallax:{enabled:!1}});const i=(t,s)=>{const{rtl:i}=e,r=(0,a.Z)(t),n=i?-1:1,l=r.attr("data-swiper-parallax")||"0";let o=r.attr("data-swiper-parallax-x"),d=r.attr("data-swiper-parallax-y");const c=r.attr("data-swiper-parallax-scale"),p=r.attr("data-swiper-parallax-opacity");if(o||d?(o=o||"0",d=d||"0"):e.isHorizontal()?(o=l,d="0"):(d=l,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*s*n+"%":o*s*n+"px",d=d.indexOf("%")>=0?parseInt(d,10)*s+"%":d*s+"px",null!=p){const e=p-(p-1)*(1-Math.abs(s));r[0].style.opacity=e}if(null==c)r.transform(`translate3d(${o}, ${d}, 0px)`);else{const e=c-(c-1)*(1-Math.abs(s));r.transform(`translate3d(${o}, ${d}, 0px) scale(${e})`)}},r=()=>{const{$el:t,slides:s,progress:r,snapGrid:n}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{i(e,r)})),s.each(((t,s)=>{let l=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(l+=Math.ceil(s/2)-r*(n.length-1)),l=Math.min(Math.max(l,-1),1),(0,a.Z)(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{i(e,l)}))}))};s("beforeInit",(()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)})),s("init",(()=>{e.params.parallax.enabled&&r()})),s("setTranslate",(()=>{e.params.parallax.enabled&&r()})),s("setTransition",((t,s)=>{e.params.parallax.enabled&&((t=e.params.speed)=>{const{$el:s}=e;s.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{const s=(0,a.Z)(e);let i=parseInt(s.attr("data-swiper-parallax-duration"),10)||t;0===t&&(i=0),s.transition(i)}))})(s)}))}},3043:(e,t,s)=>{s.d(t,{Z:()=>l});var a=s(1936),i=s(2166),r=s(3710),n=s(5438);function l({swiper:e,extendParams:t,on:s,emit:l}){const o=(0,a.Me)();let d,c,p,u,h=!1,m=null,f=null;function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:s,progress:a}=e,{$dragEl:i,$el:r}=t,n=e.params.scrollbar;let l=c,o=(p-c)*a;s?(o=-o,o>0?(l=c-o,o=0):-o+c>p&&(l=p+o)):o<0?(l=c+o,o=0):o+c>p&&(l=p-o),e.isHorizontal()?(i.transform(`translate3d(${o}px, 0, 0)`),i[0].style.width=`${l}px`):(i.transform(`translate3d(0px, ${o}px, 0)`),i[0].style.height=`${l}px`),n.hide&&(clearTimeout(m),r[0].style.opacity=1,m=setTimeout((()=>{r[0].style.opacity=0,r.transition(400)}),1e3))}function v(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:s,$el:a}=t;s[0].style.width="",s[0].style.height="",p=e.isHorizontal()?a[0].offsetWidth:a[0].offsetHeight,u=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),c="auto"===e.params.scrollbar.dragSize?p*u:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?s[0].style.width=`${c}px`:s[0].style.height=`${c}px`,a[0].style.display=u>=1?"none":"",e.params.scrollbar.hide&&(a[0].style.opacity=0),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}function w(t){return e.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY}function b(t){const{scrollbar:s,rtlTranslate:a}=e,{$el:i}=s;let r;r=(w(t)-i.offset()[e.isHorizontal()?"left":"top"]-(null!==d?d:c/2))/(p-c),r=Math.max(Math.min(r,1),0),a&&(r=1-r);const n=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*r;e.updateProgress(n),e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}function y(t){const s=e.params.scrollbar,{scrollbar:a,$wrapperEl:i}=e,{$el:r,$dragEl:n}=a;h=!0,d=t.target===n[0]||t.target===n?w(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),i.transition(100),n.transition(100),b(t),clearTimeout(f),r.transition(0),s.hide&&r.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),l("scrollbarDragStart",t)}function x(t){const{scrollbar:s,$wrapperEl:a}=e,{$el:i,$dragEl:r}=s;h&&(t.preventDefault?t.preventDefault():t.returnValue=!1,b(t),a.transition(0),i.transition(0),r.transition(0),l("scrollbarDragMove",t))}function E(t){const s=e.params.scrollbar,{scrollbar:a,$wrapperEl:i}=e,{$el:n}=a;h&&(h=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),i.transition("")),s.hide&&(clearTimeout(f),f=(0,r.Y3)((()=>{n.css("opacity",0),n.transition(400)}),1e3)),l("scrollbarDragEnd",t),s.snapOnRelease&&e.slideToClosest())}function C(t){const{scrollbar:s,touchEventsTouch:a,touchEventsDesktop:i,params:r,support:n}=e,l=s.$el;if(!l)return;const d=l[0],c=!(!n.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},p=!(!n.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};if(!d)return;const u="on"===t?"addEventListener":"removeEventListener";n.touch?(d[u](a.start,y,c),d[u](a.move,x,c),d[u](a.end,E,p)):(d[u](i.start,y,c),o[u](i.move,x,c),o[u](i.end,E,p))}function $(){const{scrollbar:t,$el:s}=e;e.params.scrollbar=(0,n.Z)(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const a=e.params.scrollbar;if(!a.el)return;let r=(0,i.Z)(a.el);e.params.uniqueNavElements&&"string"==typeof a.el&&r.length>1&&1===s.find(a.el).length&&(r=s.find(a.el)),r.addClass(e.isHorizontal()?a.horizontalClass:a.verticalClass);let l=r.find(`.${e.params.scrollbar.dragClass}`);0===l.length&&(l=(0,i.Z)(`
`),r.append(l)),Object.assign(t,{$el:r,el:r[0],$dragEl:l,dragEl:l[0]}),a.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&C("on"),r&&r[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}function T(){const t=e.params.scrollbar,s=e.scrollbar.$el;s&&s.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.params.scrollbar.el&&e.scrollbar.el&&C("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},s("init",(()=>{!1===e.params.scrollbar.enabled?S():($(),v(),g())})),s("update resize observerUpdate lock unlock",(()=>{v()})),s("setTranslate",(()=>{g()})),s("setTransition",((t,s)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&e.scrollbar.$dragEl.transition(t)}(s)})),s("enable disable",(()=>{const{$el:t}=e.scrollbar;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)})),s("destroy",(()=>{T()}));const S=()=>{e.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),T()};Object.assign(e.scrollbar,{enable:()=>{e.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),$(),v(),g()},disable:S,updateSize:v,setTranslate:g,init:$,destroy:T})}},3117:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(3710),i=s(2166);function r({swiper:e,extendParams:t,on:s}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,n=!1;function l(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const s=t.clickedIndex,a=t.clickedSlide;if(a&&(0,i.Z)(a).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==s)return;let r;if(r=t.params.loop?parseInt((0,i.Z)(t.clickedSlide).attr("data-swiper-slide-index"),10):s,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const s=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${r}"]`).eq(0).index(),a=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${r}"]`).eq(0).index();r=void 0===s?a:void 0===a?s:a-t1&&!e.params.centeredSlides&&(i=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(i=1),i=Math.floor(i),s.slides.removeClass(r),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let t=0;t1?a:o:a-oe.previousIndex?"next":"prev"}else i=e.realIndex,r=i>e.previousIndex?"next":"prev";l&&(i+="next"===r?n:-1*n),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(i)<0&&(s.params.centeredSlides?i=i>o?i-Math.floor(a/2)+1:i+Math.floor(a/2)-1:i>o&&s.params.slidesPerGroup,s.slideTo(i,t?0:void 0))}}e.thumbs={swiper:null},s("beforeInit",(()=>{const{thumbs:t}=e.params;t&&t.swiper&&(o(),d(!0))})),s("slideChange update resize observerUpdate",(()=>{d()})),s("setTransition",((t,s)=>{const a=e.thumbs.swiper;a&&!a.destroyed&&a.setTransition(s)})),s("beforeDestroy",(()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&n&&t.destroy()})),Object.assign(e.thumbs,{init:o,update:d})}},6118:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(2166),i=s(3710);function r({swiper:e,extendParams:t,on:s,emit:r}){let n;function l(t,s){const i=e.params.virtual;if(i.cache&&e.virtual.cache[s])return e.virtual.cache[s];const r=i.renderSlide?(0,a.Z)(i.renderSlide.call(e,t,s)):(0,a.Z)(`
${t}
`);return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",s),i.cache&&(e.virtual.cache[s]=r),r}function o(t){const{slidesPerView:s,slidesPerGroup:a,centeredSlides:i}=e.params,{addSlidesBefore:n,addSlidesAfter:o}=e.params.virtual,{from:d,to:c,slides:p,slidesGrid:u,offset:h}=e.virtual;e.params.cssMode||e.updateActiveIndex();const m=e.activeIndex||0;let f,g,v;f=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",i?(g=Math.floor(s/2)+a+o,v=Math.floor(s/2)+a+n):(g=s+(a-1)+o,v=a+n);const w=Math.max((m||0)-v,0),b=Math.min((m||0)+g,p.length-1),y=(e.slidesGrid[w]||0)-(e.slidesGrid[0]||0);function x(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),r("virtualUpdate")}if(Object.assign(e.virtual,{from:w,to:b,offset:y,slidesGrid:e.slidesGrid}),d===w&&c===b&&!t)return e.slidesGrid!==u&&y!==h&&e.slides.css(f,`${y}px`),e.updateProgress(),void r("virtualUpdate");if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:y,from:w,to:b,slides:function(){const e=[];for(let t=w;t<=b;t+=1)e.push(p[t]);return e}()}),void(e.params.virtual.renderExternalUpdate?x():r("virtualUpdate"));const E=[],C=[];if(t)e.$wrapperEl.find(`.${e.params.slideClass}`).remove();else for(let t=d;t<=c;t+=1)(tb)&&e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`).remove();for(let e=0;e=w&&e<=b&&(void 0===c||t?C.push(e):(e>c&&C.push(e),e{e.$wrapperEl.append(l(p[t],t))})),E.sort(((e,t)=>t-e)).forEach((t=>{e.$wrapperEl.prepend(l(p[t],t))})),e.$wrapperEl.children(".swiper-slide").css(f,`${y}px`),x()}t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},s("beforeInit",(()=>{e.params.virtual.enabled&&(e.virtual.slides=e.params.virtual.slides,e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,e.params.initialSlide||o())})),s("setTranslate",(()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(n),n=setTimeout((()=>{o()}),100)):o())})),s("init update resize",(()=>{e.params.virtual.enabled&&e.params.cssMode&&(0,i.z2)(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)})),Object.assign(e.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let s=0;s{const a=t[e],r=a.attr("data-swiper-slide-index");r&&a.attr("data-swiper-slide-index",parseInt(r,10)+i),s[parseInt(e,10)+i]=a})),e.virtual.cache=s}o(!0),e.slideTo(a,0)},removeSlide:function(t){if(null==t)return;let s=e.activeIndex;if(Array.isArray(t))for(let a=t.length-1;a>=0;a-=1)e.virtual.slides.splice(t[a],1),e.params.virtual.cache&&delete e.virtual.cache[t[a]],t[a]{s.d(t,{Z:()=>n});var a=s(1936),i=s(2166),r=s(3710);function n({swiper:e,extendParams:t,on:s,emit:n}){const l=(0,a.Jj)();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let o,d,c,p=1,u=!1;const h={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},m={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},f={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let g=1;function v(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,s=e.targetTouches[0].pageY,a=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY;return Math.sqrt((a-t)**2+(i-s)**2)}function w(t){const s=e.support,a=e.params.zoom;if(d=!1,c=!1,!s.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;d=!0,h.scaleStart=v(t)}h.$slideEl&&h.$slideEl.length||(h.$slideEl=(0,i.Z)(t.target).closest(`.${e.params.slideClass}`),0===h.$slideEl.length&&(h.$slideEl=e.slides.eq(e.activeIndex)),h.$imageEl=h.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${a.containerClass}`),h.maxRatio=h.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,0!==h.$imageWrapEl.length)?(h.$imageEl&&h.$imageEl.transition(0),u=!0):h.$imageEl=void 0}function b(t){const s=e.support,a=e.params.zoom,i=e.zoom;if(!s.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;c=!0,h.scaleMove=v(t)}h.$imageEl&&0!==h.$imageEl.length?(s.gestures?i.scale=t.scale*p:i.scale=h.scaleMove/h.scaleStart*p,i.scale>h.maxRatio&&(i.scale=h.maxRatio-1+(i.scale-h.maxRatio+1)**.5),i.scalem.touchesStart.x))return void(m.isTouched=!1);if(!e.isHorizontal()&&(Math.floor(m.minY)===Math.floor(m.startY)&&m.touchesCurrent.ym.touchesStart.y))return void(m.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),m.isMoved=!0,m.currentX=m.touchesCurrent.x-m.touchesStart.x+m.startX,m.currentY=m.touchesCurrent.y-m.touchesStart.y+m.startY,m.currentXm.maxX&&(m.currentX=m.maxX-1+(m.currentX-m.maxX+1)**.8),m.currentYm.maxY&&(m.currentY=m.maxY-1+(m.currentY-m.maxY+1)**.8),f.prevPositionX||(f.prevPositionX=m.touchesCurrent.x),f.prevPositionY||(f.prevPositionY=m.touchesCurrent.y),f.prevTime||(f.prevTime=Date.now()),f.x=(m.touchesCurrent.x-f.prevPositionX)/(Date.now()-f.prevTime)/2,f.y=(m.touchesCurrent.y-f.prevPositionY)/(Date.now()-f.prevTime)/2,Math.abs(m.touchesCurrent.x-f.prevPositionX)<2&&(f.x=0),Math.abs(m.touchesCurrent.y-f.prevPositionY)<2&&(f.y=0),f.prevPositionX=m.touchesCurrent.x,f.prevPositionY=m.touchesCurrent.y,f.prevTime=Date.now(),h.$imageWrapEl.transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}}function E(){const t=e.zoom;h.$slideEl&&e.previousIndex!==e.activeIndex&&(h.$imageEl&&h.$imageEl.transform("translate3d(0,0,0) scale(1)"),h.$imageWrapEl&&h.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,p=1,h.$slideEl=void 0,h.$imageEl=void 0,h.$imageWrapEl=void 0)}function C(t){const s=e.zoom,a=e.params.zoom;if(h.$slideEl||(t&&t.target&&(h.$slideEl=(0,i.Z)(t.target).closest(`.${e.params.slideClass}`)),h.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):h.$slideEl=e.slides.eq(e.activeIndex)),h.$imageEl=h.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${a.containerClass}`)),!h.$imageEl||0===h.$imageEl.length||!h.$imageWrapEl||0===h.$imageWrapEl.length)return;let r,n,o,d,c,u,f,g,v,w,b,y,x,E,C,$,T,S;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),h.$slideEl.addClass(`${a.zoomedSlideClass}`),void 0===m.touchesStart.x&&t?(r="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,n="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(r=m.touchesStart.x,n=m.touchesStart.y),s.scale=h.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,p=h.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,t?(T=h.$slideEl[0].offsetWidth,S=h.$slideEl[0].offsetHeight,o=h.$slideEl.offset().left+l.scrollX,d=h.$slideEl.offset().top+l.scrollY,c=o+T/2-r,u=d+S/2-n,v=h.$imageEl[0].offsetWidth,w=h.$imageEl[0].offsetHeight,b=v*s.scale,y=w*s.scale,x=Math.min(T/2-b/2,0),E=Math.min(S/2-y/2,0),C=-x,$=-E,f=c*s.scale,g=u*s.scale,fC&&(f=C),g$&&(g=$)):(f=0,g=0),h.$imageWrapEl.transition(300).transform(`translate3d(${f}px, ${g}px,0)`),h.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${s.scale})`)}function $(){const t=e.zoom,s=e.params.zoom;h.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):h.$slideEl=e.slides.eq(e.activeIndex),h.$imageEl=h.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${s.containerClass}`)),h.$imageEl&&0!==h.$imageEl.length&&h.$imageWrapEl&&0!==h.$imageWrapEl.length&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,p=1,h.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),h.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),h.$slideEl.removeClass(`${s.zoomedSlideClass}`),h.$slideEl=void 0)}function T(t){const s=e.zoom;s.scale&&1!==s.scale?$():C(t)}function S(){const t=e.support;return{passiveListener:!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!t.passiveListener||{passive:!1,capture:!0}}}function M(){return`.${e.params.slideClass}`}function P(t){const{passiveListener:s}=S(),a=M();e.$wrapperEl[t]("gesturestart",a,w,s),e.$wrapperEl[t]("gesturechange",a,b,s),e.$wrapperEl[t]("gestureend",a,y,s)}function Z(){o||(o=!0,P("on"))}function k(){o&&(o=!1,P("off"))}function z(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const s=e.support,{passiveListener:a,activeListenerWithCapture:i}=S(),r=M();s.gestures?(e.$wrapperEl.on(e.touchEvents.start,Z,a),e.$wrapperEl.on(e.touchEvents.end,k,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,w,a),e.$wrapperEl.on(e.touchEvents.move,r,b,i),e.$wrapperEl.on(e.touchEvents.end,r,y,a),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,y,a)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,x,i)}function O(){const t=e.zoom;if(!t.enabled)return;const s=e.support;t.enabled=!1;const{passiveListener:a,activeListenerWithCapture:i}=S(),r=M();s.gestures?(e.$wrapperEl.off(e.touchEvents.start,Z,a),e.$wrapperEl.off(e.touchEvents.end,k,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,w,a),e.$wrapperEl.off(e.touchEvents.move,r,b,i),e.$wrapperEl.off(e.touchEvents.end,r,y,a),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,y,a)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,x,i)}Object.defineProperty(e.zoom,"scale",{get:()=>g,set(e){if(g!==e){const t=h.$imageEl?h.$imageEl[0]:void 0,s=h.$slideEl?h.$slideEl[0]:void 0;n("zoomChange",e,t,s)}g=e}}),s("init",(()=>{e.params.zoom.enabled&&z()})),s("destroy",(()=>{O()})),s("touchStart",((t,s)=>{e.zoom.enabled&&function(t){const s=e.device;h.$imageEl&&0!==h.$imageEl.length&&(m.isTouched||(s.android&&t.cancelable&&t.preventDefault(),m.isTouched=!0,m.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,m.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))}(s)})),s("touchEnd",((t,s)=>{e.zoom.enabled&&function(){const t=e.zoom;if(!h.$imageEl||0===h.$imageEl.length)return;if(!m.isTouched||!m.isMoved)return m.isTouched=!1,void(m.isMoved=!1);m.isTouched=!1,m.isMoved=!1;let s=300,a=300;const i=f.x*s,r=m.currentX+i,n=f.y*a,l=m.currentY+n;0!==f.x&&(s=Math.abs((r-m.currentX)/f.x)),0!==f.y&&(a=Math.abs((l-m.currentY)/f.y));const o=Math.max(s,a);m.currentX=r,m.currentY=l;const d=m.width*t.scale,c=m.height*t.scale;m.minX=Math.min(h.slideWidth/2-d/2,0),m.maxX=-m.minX,m.minY=Math.min(h.slideHeight/2-c/2,0),m.maxY=-m.minY,m.currentX=Math.max(Math.min(m.currentX,m.maxX),m.minX),m.currentY=Math.max(Math.min(m.currentY,m.maxY),m.minY),h.$imageWrapEl.transition(o).transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}()})),s("doubleTap",((t,s)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&T(s)})),s("transitionEnd",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&E()})),s("slideChange",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&E()})),Object.assign(e.zoom,{enable:z,disable:O,in:C,out:$,toggle:T})}},1443:(e,t,s)=>{function a(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}s.d(t,{Z:()=>a})},5438:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(1936);function i(e,t,s,i){const r=(0,a.Me)();return e.params.createElements&&Object.keys(i).forEach((a=>{if(!s[a]&&!0===s.auto){let n=e.$el.children(`.${i[a]}`)[0];n||(n=r.createElement("div"),n.className=i[a],e.$el.append(n)),s[a]=n,t[a]=n}})),s}},8865:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(2166);function i(e,t,s){const i="swiper-slide-shadow"+(s?`-${s}`:""),r=e.transformEl?t.find(e.transformEl):t;let n=r.children(`.${i}`);return n.length||(n=(0,a.Z)(`
`),r.append(n)),n}},2166:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(1545);const i={addClass:a.cn,removeClass:a.IV,hasClass:a.pv,toggleClass:a.Vj,attr:a.Lj,removeAttr:a.uV,transform:a.vs,transition:a.eR,on:a.on,off:a.S1,trigger:a.X$,transitionEnd:a.ld,outerWidth:a.iO,outerHeight:a.Pb,styles:a.W2,offset:a.cv,css:a.iv,each:a.S6,html:a.dy,text:a.fL,is:a.is,index:a.Kz,eq:a.eq,append:a.R3,prepend:a.Ce,next:a.lp,nextAll:a.eG,prev:a.mp,prevAll:a.pJ,parent:a.qm,parents:a.wV,closest:a.oq,find:a.sE,children:a.pI,filter:a.hX,remove:a.Od};Object.keys(i).forEach((e=>{Object.defineProperty(a.$.fn,e,{value:i[e],writable:!0})}));const r=a.$},1931:(e,t,s)=>{function a(e){const{effect:t,swiper:s,on:a,setTranslate:i,setTransition:r,overwriteParams:n,perspective:l,recreateShadows:o,getEffectParams:d}=e;let c;a("beforeInit",(()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),l&&l()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=n?n():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),a("setTranslate",(()=>{s.params.effect===t&&i()})),a("setTransition",((e,a)=>{s.params.effect===t&&r(a)})),a("transitionEnd",(()=>{if(s.params.effect===t&&o){if(!d||!d().slideShadows)return;s.slides.each((e=>{s.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),o()}})),a("virtualUpdate",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame((()=>{c&&s.slides&&s.slides.length&&(i(),c=!1)})))}))}s.d(t,{Z:()=>a})},3733:(e,t,s)=>{function a(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}s.d(t,{Z:()=>a})},2465:(e,t,s)=>{function a({swiper:e,duration:t,transformEl:s,allSlides:a}){const{slides:i,activeIndex:r,$wrapperEl:n}=e;if(e.params.virtualTranslate&&0!==t){let t,l=!1;t=a?s?i.find(s):i:s?i.eq(r).find(s):i.eq(r),t.transitionEnd((()=>{if(l)return;if(!e||e.destroyed)return;l=!0,e.animating=!1;const t=["webkitTransitionEnd","transitionend"];for(let e=0;ea})},876:(e,t,s)=>{s.d(t,{q:()=>r});var a=s(1936);let i;function r(){return i||(i=function(){const e=(0,a.Jj)();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),i}},4873:(e,t,s)=>{s.d(t,{_:()=>n});var a=s(1936),i=s(8680);let r;function n(e={}){return r||(r=function({userAgent:e}={}){const t=(0,i.C)(),s=(0,a.Jj)(),r=s.navigator.platform,n=e||s.navigator.userAgent,l={ios:!1,android:!1},o=s.screen.width,d=s.screen.height,c=n.match(/(Android);?[\s\/]+([\d.]+)?/);let p=n.match(/(iPad).*OS\s([\d_]+)/);const u=n.match(/(iPod)(.*OS\s([\d_]+))?/),h=!p&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===r;let f="MacIntel"===r;return!p&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${d}`)>=0&&(p=n.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),f=!1),c&&!m&&(l.os="android",l.android=!0),(p||h||u)&&(l.os="ios",l.ios=!0),l}(e)),r}},8680:(e,t,s)=>{s.d(t,{C:()=>r});var a=s(1936);let i;function r(){return i||(i=function(){const e=(0,a.Jj)(),t=(0,a.Me)();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const s=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,s)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),i}},3710:(e,t,s)=>{s.d(t,{Kn:()=>o,R6:()=>l,Y3:()=>r,cP:()=>i,l7:()=>d,x2:()=>p,z2:()=>c,zO:()=>n});var a=s(1936);function i(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function r(e,t=0){return setTimeout(e,t)}function n(){return Date.now()}function l(e,t="x"){const s=(0,a.Jj)();let i,r,n;const l=function(e){const t=(0,a.Jj)();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(r=l.transform||l.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),n=new s.WebKitCSSMatrix("none"===r?"":r)):(n=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=n.toString().split(",")),"x"===t&&(r=s.WebKitCSSMatrix?n.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=s.WebKitCSSMatrix?n.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}function o(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function d(...e){const t=Object(e[0]),s=["__proto__","constructor","prototype"];for(let i=1;is.indexOf(e)<0));for(let s=0,a=e.length;sr?"next":"prev",c=(e,t)=>"next"===d&&e>=t||"prev"===d&&e<=t,p=()=>{n=(new Date).getTime(),null===l&&(l=n);const a=Math.max(Math.min((n-l)/o,1),0),d=.5-Math.cos(a*Math.PI)/2;let u=r+d*(t-r);if(c(u,t)&&(u=t),e.wrapperEl.scrollTo({[s]:u}),c(u,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:u})})),void i.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=i.requestAnimationFrame(p)};p()}},9938:(e,t,s)=>{s.d(t,{Z:()=>a.Z});var a=s(3020),i=s(6118),r=s(1558),n=s(4010),l=s(6615),o=s(1852),d=s(3043),c=s(19),p=s(8584),u=s(3689),h=s(2585),m=s(3389),f=s(574),g=s(954),v=s(867),w=s(3117),b=s(5440),y=s(8997),x=s(6263),E=s(7456),C=s(1771),$=s(371),T=s(6473),S=s(5980),M=s(2072);const P=[i.Z,r.Z,n.Z,l.Z,o.Z,d.Z,c.Z,p.Z,u.Z,h.Z,m.Z,f.Z,g.Z,v.Z,w.Z,b.Z,y.Z,x.Z,E.Z,C.Z,$.Z,T.Z,S.Z,M.Z];a.Z.use(P)}},t={};function s(a){var i=t[a];if(void 0!==i)return i.exports;var r=t[a]={exports:{}};return e[a](r,r.exports,s),r.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var a in t)s.o(t,a)&&!s.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s(6124)})(); \ No newline at end of file +__("Slide %1$s of %2$s","jetpack-mu-wpcom"),this.realIndex+1,this.pagination?.bullets?.length||0);(0,a.speak)((0,i.escapeHTML)(`${e.innerText},\n\t\t\t\t\t\t\t${s?/* translators: the title of the image. */ /* translators: the title of the image. */(0,r.sprintf)(__("Image: %s, ","jetpack-mu-wpcom"),s):""}\n\t\t\t\t\t\t\t${n}`),"assertive")}}}});function p(){const{aspectRatio:e}=t;Array.from(this.slides).forEach((t=>{t.style.height=t.clientWidth*e+"px"}))}if(s.on("imagesReady",p),s.on("resize",p),t.autoplay){function u(){s.autoplay.stop(),e.play.focus()}function h(){s.autoplay.start(),e.pause.focus()}s.on("init",(function(){e.play.addEventListener("click",h),e.pause.addEventListener("click",u)})),s.on("autoplayStart",(function(){e.block.classList.add(l),(0,a.speak)(__("Playing","jetpack-mu-wpcom"),"assertive")})),s.on("autoplayStop",(function(){e.block.classList.remove(l),(0,a.speak)(__("Paused","jetpack-mu-wpcom"),"assertive")})),s.on("beforeDestroy",(function(){e.play.removeEventListener("click",h),e.pause.removeEventListener("click",u)}))}return s.init(),s}},66124:(e,t,s)=>{var a=s(47701),i=s.n(a),r=s(19120);"undefined"!=typeof window&&i()((()=>{Array.from(document.querySelectorAll(".wp-block-newspack-blocks-carousel")).forEach((e=>{new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){const t=parseInt(e.dataset.slidesPerView),s=parseInt(e.dataset.slideCount);(0,r.Z)({block:e,container:e.querySelector(".swiper"),prev:e.querySelector(".swiper-button-prev"),next:e.querySelector(".swiper-button-next"),pagination:e.querySelector(".swiper-pagination-bullets"),pause:e.querySelector(".swiper-button-pause"),play:e.querySelector(".swiper-button-play")},{aspectRatio:parseFloat(e.dataset.aspectRatio),autoplay:!!parseInt(e.dataset.autoplay),delay:1e3*parseInt(e.dataset.autoplay_delay),slidesPerView:t<=s?t:s,spaceBetween:16})}}))}),{threshold:.25}).observe(e)}))}))},25158:e=>{e.exports=window.wp.a11y},47701:e=>{e.exports=window.wp.domReady},81975:e=>{e.exports=window.wp.escapeHtml},65736:e=>{e.exports=window.wp.i18n},81545:(e,t,s)=>{s.d(t,{$:()=>l,Ce:()=>L,IV:()=>d,Kz:()=>k,Lj:()=>u,Od:()=>Y,Pb:()=>x,R3:()=>O,S1:()=>v,S6:()=>T,Vj:()=>c,W2:()=>C,X$:()=>w,cn:()=>o,cv:()=>E,dy:()=>M,eG:()=>A,eR:()=>f,eq:()=>z,fL:()=>P,hX:()=>S,iO:()=>y,is:()=>Z,iv:()=>$,ld:()=>b,lp:()=>I,mp:()=>D,on:()=>g,oq:()=>N,pI:()=>X,pJ:()=>G,pv:()=>p,qm:()=>j,sE:()=>H,uV:()=>h,vs:()=>m,wV:()=>B});var a=s(41936);class i extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function r(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...r(e)):t.push(e)})),t}function n(e,t){return Array.prototype.filter.call(e,t)}function l(e,t){const s=(0,a.Jj)(),r=(0,a.Me)();let n=[];if(!t&&e instanceof i)return e;if(!e)return new i(n);if("string"==typeof e){const s=e.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){let e="div";0===s.indexOf("e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this}function d(...e){const t=r(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this}function c(...e){const t=r(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))}function p(...e){const t=r(e.map((e=>e.split(" "))));return n(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0}function u(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let s=0;s=0;e-=1){const s=n[e];a&&s.listener===a||a&&s.listener&&s.listener.dom7proxy&&s.listener.dom7proxy===a?(r.removeEventListener(t,s.proxyListener,i),n.splice(e,1)):a||(r.removeEventListener(t,s.proxyListener,i),n.splice(e,1))}}}return this}function w(...e){const t=(0,a.Jj)(),s=e[0].split(" "),i=e[1];for(let a=0;at>0)),a.dispatchEvent(s),a.dom7EventData=[],delete a.dom7EventData}}}return this}function b(e){const t=this;return e&&t.on("transitionend",(function s(a){a.target===this&&(e.call(this,a),t.off("transitionend",s))})),this}function y(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function x(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function E(){if(this.length>0){const e=(0,a.Jj)(),t=(0,a.Me)(),s=this[0],i=s.getBoundingClientRect(),r=t.body,n=s.clientTop||r.clientTop||0,l=s.clientLeft||r.clientLeft||0,o=s===e?e.scrollY:s.scrollTop,d=s===e?e.scrollX:s.scrollLeft;return{top:i.top+o-n,left:i.left+d-l}}return null}function C(){const e=(0,a.Jj)();return this[0]?e.getComputedStyle(this[0],null):{}}function $(e,t){const s=(0,a.Jj)();let i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i{e.apply(t,[t,s])})),this):this}function S(e){return l(n(this,e))}function M(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;tt-1)return l([]);if(e<0){const s=t+e;return l(s<0?[]:[this[s]])}return l([this[e]])}function O(...e){let t;const s=(0,a.Me)();for(let a=0;a=0;r-=1)this[s].insertBefore(a.childNodes[r],this[s].childNodes[0])}else if(e instanceof i)for(r=0;r0?e?this[0].nextElementSibling&&l(this[0].nextElementSibling).is(e)?l([this[0].nextElementSibling]):l([]):this[0].nextElementSibling?l([this[0].nextElementSibling]):l([]):l([])}function A(e){const t=[];let s=this[0];if(!s)return l([]);for(;s.nextElementSibling;){const a=s.nextElementSibling;e?l(a).is(e)&&t.push(a):t.push(a),s=a}return l(t)}function D(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&l(t.previousElementSibling).is(e)?l([t.previousElementSibling]):l([]):t.previousElementSibling?l([t.previousElementSibling]):l([])}return l([])}function G(e){const t=[];let s=this[0];if(!s)return l([]);for(;s.previousElementSibling;){const a=s.previousElementSibling;e?l(a).is(e)&&t.push(a):t.push(a),s=a}return l(t)}function j(e){const t=[];for(let s=0;s{function a(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e={},t={}){Object.keys(t).forEach((s=>{void 0===e[s]?e[s]=t[s]:a(t[s])&&a(e[s])&&Object.keys(t[s]).length>0&&i(e[s],t[s])}))}s.d(t,{Jj:()=>o,Me:()=>n});const r={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function n(){const e="undefined"!=typeof document?document:{};return i(e,r),e}const l={document:r,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function o(){const e="undefined"!=typeof window?window:{};return i(e,l),e}},94794:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(41936);function i(e,t="window",s){if(!e||"container"===t&&!s)return;let i=!1;const r=(0,a.Jj)(),n="window"===t?r.innerHeight:s.clientHeight,l=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:n*t,point:e}}return{value:e,point:e}}));l.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e{s.d(t,{Z:()=>r});var a=s(3719),i=s(94794);const r={setBreakpoint:a.Z,getBreakpoint:i.Z}},3719:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(23710);const i=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function r(){const e=this,{activeIndex:t,initialized:s,loopedSlides:r=0,params:n,$el:l}=e,o=n.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const d=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!d||e.currentBreakpoint===d)return;const c=(d in o?o[d]:void 0)||e.originalParams,p=i(e,n),u=i(e,c),h=n.enabled;p&&!u?(l.removeClass(`${n.containerModifierClass}grid ${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&u&&(l.addClass(`${n.containerModifierClass}grid`),(c.grid.fill&&"column"===c.grid.fill||!c.grid.fill&&"column"===n.grid.fill)&&l.addClass(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const s=n[t]&&n[t].enabled,a=c[t]&&c[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()}));const m=c.direction&&c.direction!==n.direction,f=n.loop&&(c.slidesPerView!==n.slidesPerView||m);m&&s&&e.changeDirection(),(0,a.l7)(e.params,c);const g=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),h&&!g?e.disable():!h&&g&&e.enable(),e.currentBreakpoint=d,e.emit("_beforeBreakpoint",c),f&&s&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",c)}},69703:(e,t,s)=>{s.d(t,{Z:()=>a});const a={checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:a}=s;if(a){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*a;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}}},32987:(e,t,s)=>{function a(){const e=this,{classNames:t,params:s,rtl:a,$el:i,device:r,support:n}=e,l=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((a=>{e[a]&&s.push(t+a)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"pointer-events":!n.touch},{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:a},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...l),i.addClass([...t].join(" ")),e.emitContainerClasses()}s.d(t,{Z:()=>a})},56606:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(32987),i=s(46999);const r={addClasses:a.Z,removeClasses:i.Z}},46999:(e,t,s)=>{function a(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}s.d(t,{Z:()=>a})},3020:(e,t,s)=>{s.d(t,{Z:()=>P});var a=s(41936),i=s(92166),r=s(23710),n=s(8680),l=s(44873),o=s(40876),d=s(68970),c=s(83433),p=s(88196),u=s(97113),h=s(24366),m=s(94216),f=s(12327),g=s(56993),v=s(9346),w=s(74286),b=s(34615),y=s(56606),x=s(78935),E=s(69703),C=s(97071),$=s(87433);const T={eventsEmitter:p.Z,update:u.Z,translate:h.Z,transition:m.Z,slide:f.Z,loop:g.Z,grabCursor:v.Z,events:w.Z,breakpoints:b.Z,checkOverflow:E.Z,classes:y.Z,images:x.Z},S={};class M{constructor(...e){let t,s;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?s=e[0]:[t,s]=e,s||(s={}),s=(0,r.l7)({},s),t&&!s.el&&(s.el=t),s.el&&(0,i.Z)(s.el).length>1){const e=[];return(0,i.Z)(s.el).each((t=>{const a=(0,r.l7)({},s,{el:t});e.push(new M(a))})),e}const a=this;a.__swiper__=!0,a.support=(0,n.C)(),a.device=(0,l._)({userAgent:s.userAgent}),a.browser=(0,o.q)(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],s.modules&&Array.isArray(s.modules)&&a.modules.push(...s.modules);const d={};a.modules.forEach((e=>{e({swiper:a,extendParams:(0,$.Z)(s,d),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const c=(0,r.l7)({},C.Z,d);return a.params=(0,r.l7)({},c,S,s),a.originalParams=(0,r.l7)({},a.params),a.passedParams=(0,r.l7)({},s),a.params&&a.params.on&&Object.keys(a.params.on).forEach((e=>{a.on(e,a.params.on[e])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),a.$=i.Z,Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:(0,i.Z)(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return a.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},a.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},a.support.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:(0,r.zO)(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const a=s.minTranslate(),i=(s.maxTranslate()-a)*e+a;s.translateTo(i,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((s=>{const a=e.getSlideClasses(s);t.push({slideEl:s,classNames:a}),e.emit("_slideClass",s,a)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:s,slides:a,slidesGrid:i,slidesSizesGrid:r,size:n,activeIndex:l}=this;let o=1;if(s.centeredSlides){let e,t=a[l].swiperSlideSize;for(let s=l+1;sn&&(e=!0));for(let s=l-1;s>=0;s-=1)a[s]&&!e&&(t+=a[s].swiperSlideSize,o+=1,t>n&&(e=!0))}else if("current"===e)for(let e=l+1;e=0;e-=1){i[l]-i[e]1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||a()),s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const s=this,a=s.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(s.$el.removeClass(`${s.params.containerModifierClass}${a}`).addClass(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const s=(0,i.Z)(e||t.params.el);if(!(e=s[0]))return!1;e.swiper=t;const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let n=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=(0,i.Z)(e.shadowRoot.querySelector(r()));return t.children=e=>s.children(e),t}return s.children?s.children(r()):(0,i.Z)(s).children(r())})();if(0===n.length&&t.params.createElements){const e=(0,a.Me)().createElement("div");n=(0,i.Z)(e),e.className=t.params.wrapperClass,s.append(e),s.children(`.${t.params.slideClass}`).each((e=>{n.append(e)}))}return Object.assign(t,{$el:s,el:e,$wrapperEl:n,wrapperEl:n[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction")),wrongRTL:"-webkit-box"===n.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const s=this,{params:a,$el:i,$wrapperEl:n,slides:l}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),a.loop&&s.loopDestroy(),t&&(s.removeClasses(),i.removeAttr("style"),n.removeAttr("style"),l&&l.length&&l.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.$el[0].swiper=null,(0,r.cP)(s)),s.destroyed=!0),null}static extendDefaults(e){(0,r.l7)(S,e)}static get extendedDefaults(){return S}static get defaults(){return C.Z}static installModule(e){M.prototype.__modules__||(M.prototype.__modules__=[]);const t=M.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>M.installModule(e))),M):(M.installModule(e),M)}}Object.keys(T).forEach((e=>{Object.keys(T[e]).forEach((t=>{M.prototype[t]=T[e][t]}))})),M.use([d.Z,c.Z]);const P=M},97071:(e,t,s)=>{s.d(t,{Z:()=>a});const a={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1}},88196:(e,t,s)=>{s.d(t,{Z:()=>a});const a={on(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;const i=s?"unshift":"push";return e.split(" ").forEach((e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)})),a},once(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;function i(...s){a.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(a,s)}return i.__emitterProxy=t,a.on(e,i,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const a=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[a](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((a,i)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&s.eventsListeners[e].splice(i,1)}))})),s):s},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let s,a,i;"string"==typeof e[0]||Array.isArray(e[0])?(s=e[0],a=e.slice(1,e.length),i=t):(s=e[0].events,a=e[0].data,i=e[0].context||t),a.unshift(i);return(Array.isArray(s)?s:s.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(i,[e,...a])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(i,a)}))})),t}}},74286:(e,t,s)=>{s.d(t,{Z:()=>h});var a=s(41936),i=s(89765),r=s(26603),n=s(53004),l=s(63919),o=s(52048),d=s(24073);let c=!1;function p(){}const u=(e,t)=>{const s=(0,a.Me)(),{params:i,touchEvents:r,el:n,wrapperEl:o,device:d,support:c}=e,p=!!i.nested,u="on"===t?"addEventListener":"removeEventListener",h=t;if(c.touch){const t=!("touchstart"!==r.start||!c.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};n[u](r.start,e.onTouchStart,t),n[u](r.move,e.onTouchMove,c.passiveListener?{passive:!1,capture:p}:p),n[u](r.end,e.onTouchEnd,t),r.cancel&&n[u](r.cancel,e.onTouchEnd,t)}else n[u](r.start,e.onTouchStart,!1),s[u](r.move,e.onTouchMove,p),s[u](r.end,e.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&n[u]("click",e.onClick,!0),i.cssMode&&o[u]("scroll",e.onScroll),i.updateOnWindowResize?e[h](d.ios||d.android?"resize orientationchange observerUpdate":"resize observerUpdate",l.Z,!0):e[h]("observerUpdate",l.Z,!0)};const h={attachEvents:function(){const e=this,t=(0,a.Me)(),{params:s,support:l}=e;e.onTouchStart=i.Z.bind(e),e.onTouchMove=r.Z.bind(e),e.onTouchEnd=n.Z.bind(e),s.cssMode&&(e.onScroll=d.Z.bind(e)),e.onClick=o.Z.bind(e),l.touch&&!c&&(t.addEventListener("touchstart",p),c=!0),u(e,"on")},detachEvents:function(){u(this,"off")}}},52048:(e,t,s)=>{function a(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}s.d(t,{Z:()=>a})},63919:(e,t,s)=>{function a(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:i,snapGrid:r}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=a,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}s.d(t,{Z:()=>a})},24073:(e,t,s)=>{function a(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:a}=e;if(!a)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();i=0===r?0:(e.translate-e.minTranslate())/r,i!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}s.d(t,{Z:()=>a})},53004:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(23710);function i(e){const t=this,s=t.touchEventsData,{params:i,touches:r,rtlTranslate:n,slidesGrid:l,enabled:o}=t;if(!o)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),s.allowTouchCallbacks&&t.emit("touchEnd",d),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&i.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);i.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=(0,a.zO)(),p=c-s.touchStartTime;if(t.allowClick){const e=d.path||d.composedPath&&d.composedPath();t.updateClickedSlide(e&&e[0]||d.target),t.emit("tap click",d),p<300&&c-s.lastClickTime<300&&t.emit("doubleTap doubleClick",d)}if(s.lastClickTime=(0,a.zO)(),(0,a.Y3)((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===r.diff||s.currentTranslate===s.startTranslate)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let u;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,u=i.followFinger?n?t.translate:-t.translate:-s.currentTranslate,i.cssMode)return;if(t.params.freeMode&&i.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:u});let h=0,m=t.slidesSizesGrid[0];for(let e=0;e=l[e]&&u=l[e]&&(h=e,m=l[l.length-1]-l[l.length-2])}let f=null,g=null;i.rewind&&(t.isBeginning?g=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const v=(u-l[h])/m,w=hi.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(v>=i.longSwipesRatio?t.slideTo(i.rewind&&t.isEnd?f:h+w):t.slideTo(h)),"prev"===t.swipeDirection&&(v>1-i.longSwipesRatio?t.slideTo(h+w):null!==g&&v<0&&Math.abs(v)>i.longSwipesRatio?t.slideTo(g):t.slideTo(h))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(d.target===t.navigation.nextEl||d.target===t.navigation.prevEl)?d.target===t.navigation.nextEl?t.slideTo(h+w):t.slideTo(h):("next"===t.swipeDirection&&t.slideTo(null!==f?f:h+w),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:h))}}},26603:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(41936),i=s(92166),r=s(23710);function n(e){const t=(0,a.Me)(),s=this,n=s.touchEventsData,{params:l,touches:o,rtlTranslate:d,enabled:c}=s;if(!c)return;let p=e;if(p.originalEvent&&(p=p.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&s.emit("touchMoveOpposite",p));if(n.isTouchEvent&&"touchmove"!==p.type)return;const u="touchmove"===p.type&&p.targetTouches&&(p.targetTouches[0]||p.changedTouches[0]),h="touchmove"===p.type?u.pageX:p.pageX,m="touchmove"===p.type?u.pageY:p.pageY;if(p.preventedByNestedSwiper)return o.startX=h,void(o.startY=m);if(!s.allowTouchMove)return(0,i.Z)(p.target).is(n.focusableElements)||(s.allowClick=!1),void(n.isTouched&&(Object.assign(o,{startX:h,startY:m,currentX:h,currentY:m}),n.touchStartTime=(0,r.zO)()));if(n.isTouchEvent&&l.touchReleaseOnEdges&&!l.loop)if(s.isVertical()){if(mo.startY&&s.translate>=s.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(ho.startX&&s.translate>=s.minTranslate())return;if(n.isTouchEvent&&t.activeElement&&p.target===t.activeElement&&(0,i.Z)(p.target).is(n.focusableElements))return n.isMoved=!0,void(s.allowClick=!1);if(n.allowTouchCallbacks&&s.emit("touchMove",p),p.targetTouches&&p.targetTouches.length>1)return;o.currentX=h,o.currentY=m;const f=o.currentX-o.startX,g=o.currentY-o.startY;if(s.params.threshold&&Math.sqrt(f**2+g**2)=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(f))/Math.PI,n.isScrolling=s.isHorizontal()?e>l.touchAngle:90-e>l.touchAngle)}if(n.isScrolling&&s.emit("touchMoveOpposite",p),void 0===n.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;s.allowClick=!1,!l.cssMode&&p.cancelable&&p.preventDefault(),l.touchMoveStopPropagation&&!l.nested&&p.stopPropagation(),n.isMoved||(l.loop&&!l.cssMode&&s.loopFix(),n.startTranslate=s.getTranslate(),s.setTransition(0),s.animating&&s.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!l.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",p)),s.emit("sliderMove",p),n.isMoved=!0;let v=s.isHorizontal()?f:g;o.diff=v,v*=l.touchRatio,d&&(v=-v),s.swipeDirection=v>0?"prev":"next",n.currentTranslate=v+n.startTranslate;let w=!0,b=l.resistanceRatio;if(l.touchReleaseOnEdges&&(b=0),v>0&&n.currentTranslate>s.minTranslate()?(w=!1,l.resistance&&(n.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+n.startTranslate+v)**b)):v<0&&n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),s.allowSlidePrev||s.allowSlideNext||(n.currentTranslate=n.startTranslate),l.threshold>0){if(!(Math.abs(v)>l.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,void(o.diff=s.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}l.followFinger&&!l.cssMode&&((l.freeMode&&l.freeMode.enabled&&s.freeMode||l.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),s.params.freeMode&&l.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(n.currentTranslate),s.setTranslate(n.currentTranslate))}},89765:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(41936),i=s(92166),r=s(23710);function n(e){const t=this,s=(0,a.Me)(),n=(0,a.Jj)(),l=t.touchEventsData,{params:o,touches:d,enabled:c}=t;if(!c)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let p=e;p.originalEvent&&(p=p.originalEvent);let u=(0,i.Z)(p.target);if("wrapper"===o.touchEventsTarget&&!u.closest(t.wrapperEl).length)return;if(l.isTouchEvent="touchstart"===p.type,!l.isTouchEvent&&"which"in p&&3===p.which)return;if(!l.isTouchEvent&&"button"in p&&p.button>0)return;if(l.isTouched&&l.isMoved)return;const h=!!o.noSwipingClass&&""!==o.noSwipingClass,m=e.composedPath?e.composedPath():e.path;h&&p.target&&p.target.shadowRoot&&m&&(u=(0,i.Z)(m[0]));const f=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,g=!(!p.target||!p.target.shadowRoot);if(o.noSwiping&&(g?function(e,t=this){return function t(s){if(!s||s===(0,a.Me)()||s===(0,a.Jj)())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(f,u[0]):u.closest(f)[0]))return void(t.allowClick=!0);if(o.swipeHandler&&!u.closest(o.swipeHandler)[0])return;d.currentX="touchstart"===p.type?p.targetTouches[0].pageX:p.pageX,d.currentY="touchstart"===p.type?p.targetTouches[0].pageY:p.pageY;const v=d.currentX,w=d.currentY,b=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,y=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(b&&(v<=y||v>=n.innerWidth-y)){if("prevent"!==b)return;e.preventDefault()}if(Object.assign(l,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=v,d.startY=w,l.touchStartTime=(0,r.zO)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(l.allowThresholdMove=!1),"touchstart"!==p.type){let e=!0;u.is(l.focusableElements)&&(e=!1,"SELECT"===u[0].nodeName&&(l.isTouched=!1)),s.activeElement&&(0,i.Z)(s.activeElement).is(l.focusableElements)&&s.activeElement!==u[0]&&s.activeElement.blur();const a=e&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!a||u[0].isContentEditable||p.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",p)}},9346:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(24938),i=s(62114);const r={setGrabCursor:a.Z,unsetGrabCursor:i.Z}},24938:(e,t,s)=>{function a(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;s.style.cursor="move",s.style.cursor=e?"grabbing":"grab"}s.d(t,{Z:()=>a})},62114:(e,t,s)=>{function a(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}s.d(t,{Z:()=>a})},78935:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(81265),i=s(20375);const r={loadImage:a.Z,preloadImages:i.Z}},81265:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(41936),i=s(92166);function r(e,t,s,r,n,l){const o=(0,a.Jj)();let d;function c(){l&&l()}(0,i.Z)(e).parent("picture")[0]||e.complete&&n?c():t?(d=new o.Image,d.onload=c,d.onerror=c,r&&(d.sizes=r),s&&(d.srcset=s),t&&(d.src=t)):c()}},20375:(e,t,s)=>{function a(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let s=0;sa})},56993:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(71023),i=s(27289),r=s(91034);const n={loopCreate:a.Z,loopFix:i.Z,loopDestroy:r.Z}},71023:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(41936),i=s(92166);function r(){const e=this,t=(0,a.Me)(),{params:s,$wrapperEl:r}=e,n=r.children().length>0?(0,i.Z)(r.children()[0].parentNode):r;n.children(`.${s.slideClass}.${s.slideDuplicateClass}`).remove();let l=n.children(`.${s.slideClass}`);if(s.loopFillGroupWithBlank){const e=s.slidesPerGroup-l.length%s.slidesPerGroup;if(e!==s.slidesPerGroup){for(let a=0;al.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=l.length);const o=[],d=[];l.each(((e,t)=>{(0,i.Z)(e).attr("data-swiper-slide-index",t)}));for(let t=0;t=0;e-=1)n.prepend((0,i.Z)(o[e].cloneNode(!0)).addClass(s.slideDuplicateClass))}},91034:(e,t,s)=>{function a(){const{$wrapperEl:e,params:t,slides:s}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),s.removeAttr("data-swiper-slide-index")}s.d(t,{Z:()=>a})},27289:(e,t,s)=>{function a(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:s,loopedSlides:a,allowSlidePrev:i,allowSlideNext:r,snapGrid:n,rtlTranslate:l}=e;let o;e.allowSlidePrev=!0,e.allowSlideNext=!0;const d=-n[t]-e.getTranslate();if(t=s.length-a){o=-s.length+t+a,o+=a;e.slideTo(o,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)}e.allowSlidePrev=i,e.allowSlideNext=r,e.emit("loopFix")}s.d(t,{Z:()=>a})},87433:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(23710);function i(e,t){return function(s={}){const i=Object.keys(s)[0],r=s[i];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===e[i]&&(e[i]={auto:!0}),i in e&&"enabled"in r?(!0===e[i]&&(e[i]={enabled:!0}),"object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),(0,a.l7)(t,s)):(0,a.l7)(t,s)):(0,a.l7)(t,s)}}},83433:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(41936);function i({swiper:e,extendParams:t,on:s,emit:i}){const r=[],n=(0,a.Jj)(),l=(e,t={})=>{const s=new(n.MutationObserver||n.WebkitMutationObserver)((e=>{if(1===e.length)return void i("observerUpdate",e[0]);const t=function(){i("observerUpdate",e[0])};n.requestAnimationFrame?n.requestAnimationFrame(t):n.setTimeout(t,0)}));s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(s)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e{r.forEach((e=>{e.disconnect()})),r.splice(0,r.length)}))}},68970:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(41936);function i({swiper:e,on:t,emit:s}){const i=(0,a.Jj)();let r=null,n=null;const l=()=>{e&&!e.destroyed&&e.initialized&&(s("beforeResize"),s("resize"))},o=()=>{e&&!e.destroyed&&e.initialized&&s("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==i.ResizeObserver?e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver((t=>{n=i.requestAnimationFrame((()=>{const{width:s,height:a}=e;let i=s,r=a;t.forEach((({contentBoxSize:t,contentRect:s,target:a})=>{a&&a!==e.el||(i=s?s.width:(t[0]||t).inlineSize,r=s?s.height:(t[0]||t).blockSize)})),i===s&&r===a||l()}))})),r.observe(e.el)):(i.addEventListener("resize",l),i.addEventListener("orientationchange",o))})),t("destroy",(()=>{n&&i.cancelAnimationFrame(n),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null),i.removeEventListener("resize",l),i.removeEventListener("orientationchange",o)}))}},12327:(e,t,s)=>{s.d(t,{Z:()=>c});var a=s(48904),i=s(76417),r=s(16179),n=s(30548),l=s(75421),o=s(23171),d=s(67994);const c={slideTo:a.Z,slideToLoop:i.Z,slideNext:r.Z,slidePrev:n.Z,slideReset:l.Z,slideToClosest:o.Z,slideToClickedSlide:d.Z}},16179:(e,t,s)=>{function a(e=this.params.speed,t=!0,s){const a=this,{animating:i,enabled:r,params:n}=a;if(!r)return a;let l=n.slidesPerGroup;"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(l=Math.max(a.slidesPerViewDynamic("current",!0),1));const o=a.activeIndexa})},30548:(e,t,s)=>{function a(e=this.params.speed,t=!0,s){const a=this,{params:i,animating:r,snapGrid:n,slidesGrid:l,rtlTranslate:o,enabled:d}=a;if(!d)return a;if(i.loop){if(r&&i.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=c(o?a.translate:-a.translate),u=n.map((e=>c(e)));let h=n[u.indexOf(p)-1];if(void 0===h&&i.cssMode){let e;n.forEach(((t,s)=>{p>=t&&(e=s)})),void 0!==e&&(h=n[e>0?e-1:e])}let m=0;if(void 0!==h&&(m=l.indexOf(h),m<0&&(m=a.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=m-a.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),i.rewind&&a.isBeginning){const i=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(i,e,t,s)}return a.slideTo(m,e,t,s)}s.d(t,{Z:()=>a})},75421:(e,t,s)=>{function a(e=this.params.speed,t=!0,s){return this.slideTo(this.activeIndex,e,t,s)}s.d(t,{Z:()=>a})},48904:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(23710);function i(e=0,t=this.params.speed,s=!0,i,r){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const n=this;let l=e;l<0&&(l=0);const{params:o,snapGrid:d,slidesGrid:c,previousIndex:p,activeIndex:u,rtlTranslate:h,wrapperEl:m,enabled:f}=n;if(n.animating&&o.preventInteractionOnTransition||!f&&!i&&!r)return!1;const g=Math.min(n.params.slidesPerGroupSkip,l);let v=g+Math.floor((l-g)/n.params.slidesPerGroup);v>=d.length&&(v=d.length-1);const w=-d[v];if(o.normalizeSlideIndex)for(let e=0;e=s&&t=s&&t=s&&(l=e)}if(n.initialized&&l!==u){if(!n.allowSlideNext&&wn.translate&&w>n.maxTranslate()&&(u||0)!==l)return!1}let b;if(l!==(p||0)&&s&&n.emit("beforeSlideChangeStart"),n.updateProgress(w),b=l>u?"next":l{n.wrapperEl.style.scrollSnapType="",n._swiperImmediateVirtual=!1}))}else{if(!n.support.smoothScroll)return(0,a.x2)({swiper:n,targetPosition:s,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}return n.setTransition(t),n.setTranslate(w),n.updateActiveIndex(l),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(s,b),0===t?n.transitionEnd(s,b):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.$wrapperEl[0].removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].removeEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(s,b))}),n.$wrapperEl[0].addEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].addEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd)),!0}},67994:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(92166),i=s(23710);function r(){const e=this,{params:t,$wrapperEl:s}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let n,l=e.clickedIndex;if(t.loop){if(e.animating)return;n=parseInt((0,a.Z)(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?le.slides.length-e.loopedSlides+r/2?(e.loopFix(),l=s.children(`.${t.slideClass}[data-swiper-slide-index="${n}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,i.Y3)((()=>{e.slideTo(l)}))):e.slideTo(l):l>e.slides.length-r?(e.loopFix(),l=s.children(`.${t.slideClass}[data-swiper-slide-index="${n}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,i.Y3)((()=>{e.slideTo(l)}))):e.slideTo(l)}else e.slideTo(l)}},23171:(e,t,s)=>{function a(e=this.params.speed,t=!0,s,a=.5){const i=this;let r=i.activeIndex;const n=Math.min(i.params.slidesPerGroupSkip,r),l=n+Math.floor((r-n)/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;if(o>=i.snapGrid[l]){const e=i.snapGrid[l];o-e>(i.snapGrid[l+1]-e)*a&&(r+=i.params.slidesPerGroup)}else{const e=i.snapGrid[l-1];o-e<=(i.snapGrid[l]-e)*a&&(r-=i.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,i.slidesGrid.length-1),i.slideTo(r,e,t,s)}s.d(t,{Z:()=>a})},76417:(e,t,s)=>{function a(e=0,t=this.params.speed,s=!0,a){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let r=e;return i.params.loop&&(r+=i.loopedSlides),i.slideTo(r,t,s,a)}s.d(t,{Z:()=>a})},94216:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(4488),i=s(17840),r=s(790);const n={setTransition:a.Z,transitionStart:i.Z,transitionEnd:r.Z}},4488:(e,t,s)=>{function a(e,t){const s=this;s.params.cssMode||s.$wrapperEl.transition(e),s.emit("setTransition",e,t)}s.d(t,{Z:()=>a})},80364:(e,t,s)=>{function a({swiper:e,runCallbacks:t,direction:s,step:a}){const{activeIndex:i,previousIndex:r}=e;let n=s;if(n||(n=i>r?"next":ia})},790:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(80364);function i(e=!0,t){const s=this,{params:i}=s;s.animating=!1,i.cssMode||(s.setTransition(0),(0,a.Z)({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},17840:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(80364);function i(e=!0,t){const s=this,{params:i}=s;i.cssMode||(i.autoHeight&&s.updateAutoHeight(),(0,a.Z)({swiper:s,runCallbacks:e,direction:t,step:"Start"}))}},92936:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(23710);function i(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:s,translate:i,$wrapperEl:r}=this;if(t.virtualTranslate)return s?-i:i;if(t.cssMode)return i;let n=(0,a.R6)(r[0],e);return s&&(n=-n),n||0}},24366:(e,t,s)=>{s.d(t,{Z:()=>o});var a=s(92936),i=s(19216),r=s(50712),n=s(44579),l=s(80920);const o={getTranslate:a.Z,setTranslate:i.Z,minTranslate:r.Z,maxTranslate:n.Z,translateTo:l.Z}},44579:(e,t,s)=>{function a(){return-this.snapGrid[this.snapGrid.length-1]}s.d(t,{Z:()=>a})},50712:(e,t,s)=>{function a(){return-this.snapGrid[0]}s.d(t,{Z:()=>a})},19216:(e,t,s)=>{function a(e,t){const s=this,{rtlTranslate:a,params:i,$wrapperEl:r,wrapperEl:n,progress:l}=s;let o=0,d=0;let c;s.isHorizontal()?o=a?-e:e:d=e,i.roundLengths&&(o=Math.floor(o),d=Math.floor(d)),i.cssMode?n[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-o:-d:i.virtualTranslate||r.transform(`translate3d(${o}px, ${d}px, 0px)`),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?o:d;const p=s.maxTranslate()-s.minTranslate();c=0===p?0:(e-s.minTranslate())/p,c!==l&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)}s.d(t,{Z:()=>a})},80920:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(23710);function i(e=0,t=this.params.speed,s=!0,i=!0,r){const n=this,{params:l,wrapperEl:o}=n;if(n.animating&&l.preventInteractionOnTransition)return!1;const d=n.minTranslate(),c=n.maxTranslate();let p;if(p=i&&e>d?d:i&&e{s.d(t,{Z:()=>u});var a=s(47351),i=s(1396),r=s(9340),n=s(51334),l=s(66360),o=s(50281),d=s(43030),c=s(93918),p=s(89930);const u={updateSize:a.Z,updateSlides:i.Z,updateAutoHeight:r.Z,updateSlidesOffset:n.Z,updateSlidesProgress:l.Z,updateProgress:o.Z,updateSlidesClasses:d.Z,updateActiveIndex:c.Z,updateClickedSlide:p.Z}},93918:(e,t,s)=>{function a(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:a,snapGrid:i,params:r,activeIndex:n,realIndex:l,snapIndex:o}=t;let d,c=e;if(void 0===c){for(let e=0;e=a[e]&&s=a[e]&&s=a[e]&&(c=e);r.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if(i.indexOf(s)>=0)d=i.indexOf(s);else{const e=Math.min(r.slidesPerGroupSkip,c);d=e+Math.floor((c-e)/r.slidesPerGroup)}if(d>=i.length&&(d=i.length-1),c===n)return void(d!==o&&(t.snapIndex=d,t.emit("snapIndexChange")));const p=parseInt(t.slides.eq(c).attr("data-swiper-slide-index")||c,10);Object.assign(t,{snapIndex:d,realIndex:p,previousIndex:n,activeIndex:c}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),l!==p&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")}s.d(t,{Z:()=>a})},9340:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(92166);function i(e){const t=this,s=[],i=t.virtual&&t.params.virtual.enabled;let r,n=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const l=e=>i?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||(0,a.Z)([])).each((e=>{s.push(e)}));else for(r=0;rt.slides.length&&!i)break;s.push(l(e))}else s.push(l(t.activeIndex));for(r=0;rn?e:n}(n||0===n)&&t.$wrapperEl.css("height",`${n}px`)}},89930:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(92166);function i(e){const t=this,s=t.params,i=(0,a.Z)(e).closest(`.${s.slideClass}`)[0];let r,n=!1;if(i)for(let e=0;e{function a(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:r,isEnd:n}=t;const l=r,o=n;0===a?(i=0,r=!0,n=!0):(i=(e-t.minTranslate())/a,r=i<=0,n=i>=1),Object.assign(t,{progress:i,isBeginning:r,isEnd:n}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),r&&!l&&t.emit("reachBeginning toEdge"),n&&!o&&t.emit("reachEnd toEdge"),(l&&!r||o&&!n)&&t.emit("fromEdge"),t.emit("progress",i)}s.d(t,{Z:()=>a})},47351:(e,t,s)=>{function a(){const e=this;let t,s;const a=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:a[0].clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:a[0].clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(a.css("padding-left")||0,10)-parseInt(a.css("padding-right")||0,10),s=s-parseInt(a.css("padding-top")||0,10)-parseInt(a.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))}s.d(t,{Z:()=>a})},1396:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(23710);function i(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function s(e,s){return parseFloat(e.getPropertyValue(t(s))||0)}const i=e.params,{$wrapperEl:r,size:n,rtlTranslate:l,wrongRTL:o}=e,d=e.virtual&&i.virtual.enabled,c=d?e.virtual.slides.length:e.slides.length,p=r.children(`.${e.params.slideClass}`),u=d?e.virtual.slides.length:p.length;let h=[];const m=[],f=[];let g=i.slidesOffsetBefore;"function"==typeof g&&(g=i.slidesOffsetBefore.call(e));let v=i.slidesOffsetAfter;"function"==typeof v&&(v=i.slidesOffsetAfter.call(e));const w=e.snapGrid.length,b=e.slidesGrid.length;let y=i.spaceBetween,x=-g,E=0,C=0;if(void 0===n)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*n),e.virtualSize=-y,l?p.css({marginLeft:"",marginBottom:"",marginTop:""}):p.css({marginRight:"",marginBottom:"",marginTop:""}),i.centeredSlides&&i.cssMode&&((0,a.z2)(e.wrapperEl,"--swiper-centered-offset-before",""),(0,a.z2)(e.wrapperEl,"--swiper-centered-offset-after",""));const $=i.grid&&i.grid.rows>1&&e.grid;let T;$&&e.grid.initSlides(u);const S="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter((e=>void 0!==i.breakpoints[e].slidesPerView)).length>0;for(let a=0;a1&&h.push(e.virtualSize-n)}if(0===h.length&&(h=[0]),0!==i.spaceBetween){const s=e.isHorizontal()&&l?"marginLeft":t("marginRight");p.filter(((e,t)=>!i.cssMode||t!==p.length-1)).css({[s]:`${y}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(i.spaceBetween?i.spaceBetween:0)})),e-=i.spaceBetween;const t=e-n;h=h.map((e=>e<0?-g:e>t?t+v:e))}if(i.centerInsufficientSlides){let e=0;if(f.forEach((t=>{e+=t+(i.spaceBetween?i.spaceBetween:0)})),e-=i.spaceBetween,e{h[s]=e-t})),m.forEach(((e,s)=>{m[s]=e+t}))}}if(Object.assign(e,{slides:p,snapGrid:h,slidesGrid:m,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){(0,a.z2)(e.wrapperEl,"--swiper-centered-offset-before",-h[0]+"px"),(0,a.z2)(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(u!==c&&e.emit("slidesLengthChange"),h.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),m.length!==b&&e.emit("slidesGridLengthChange"),i.watchSlidesProgress&&e.updateSlidesOffset(),!(d||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const t=`${i.containerModifierClass}backface-hidden`,s=e.$el.hasClass(t);u<=i.maxBackfaceHiddenSlides?s||e.$el.addClass(t):s&&e.$el.removeClass(t)}}},43030:(e,t,s)=>{function a(){const e=this,{slides:t,params:s,$wrapperEl:a,activeIndex:i,realIndex:r}=e,n=e.virtual&&s.virtual.enabled;let l;t.removeClass(`${s.slideActiveClass} ${s.slideNextClass} ${s.slidePrevClass} ${s.slideDuplicateActiveClass} ${s.slideDuplicateNextClass} ${s.slideDuplicatePrevClass}`),l=n?e.$wrapperEl.find(`.${s.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),l.addClass(s.slideActiveClass),s.loop&&(l.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass));let o=l.nextAll(`.${s.slideClass}`).eq(0).addClass(s.slideNextClass);s.loop&&0===o.length&&(o=t.eq(0),o.addClass(s.slideNextClass));let d=l.prevAll(`.${s.slideClass}`).eq(0).addClass(s.slidePrevClass);s.loop&&0===d.length&&(d=t.eq(-1),d.addClass(s.slidePrevClass)),s.loop&&(o.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass),d.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass)),e.emitSlidesClasses()}s.d(t,{Z:()=>a})},51334:(e,t,s)=>{function a(){const e=this,t=e.slides;for(let s=0;sa})},66360:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(92166);function i(e=this&&this.translate||0){const t=this,s=t.params,{slides:i,rtlTranslate:r,snapGrid:n}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let l=-e;r&&(l=e),i.removeClass(s.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e=0&&p1&&u<=t.size||p<=0&&u>=t.size)&&(t.visibleSlides.push(a),t.visibleSlidesIndexes.push(e),i.eq(e).addClass(s.slideVisibleClass)),a.progress=r?-d:d,a.originalProgress=r?-c:c}t.visibleSlides=(0,a.Z)(t.visibleSlides)}},63389:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(91443),i=s(92166);function r({swiper:e,extendParams:t,on:s}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let r=null;function n(e){const t=r;0!==t.length&&(t.html(""),t.html(e))}function l(e){e.attr("tabIndex","0")}function o(e){e.attr("tabIndex","-1")}function d(e,t){e.attr("role",t)}function c(e,t){e.attr("aria-roledescription",t)}function p(e,t){e.attr("aria-label",t)}function u(e){e.attr("aria-disabled",!0)}function h(e){e.attr("aria-disabled",!1)}function m(t){if(13!==t.keyCode&&32!==t.keyCode)return;const s=e.params.a11y,r=(0,i.Z)(t.target);e.navigation&&e.navigation.$nextEl&&r.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?n(s.lastSlideMessage):n(s.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&r.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?n(s.firstSlideMessage):n(s.prevSlideMessage)),e.pagination&&r.is((0,a.Z)(e.params.pagination.bulletClass))&&r[0].click()}function f(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function g(){return f()&&e.params.pagination.clickable}const v=(e,t,s)=>{l(e),"BUTTON"!==e[0].tagName&&(d(e,"button"),e.on("keydown",m)),p(e,s),function(e,t){e.attr("aria-controls",t)}(e,t)},w=()=>{e.a11y.clicked=!0},b=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.destroyed||(e.a11y.clicked=!1)}))}))},y=t=>{if(e.a11y.clicked)return;const s=t.target.closest(`.${e.params.slideClass}`);if(!s||!e.slides.includes(s))return;const a=e.slides.indexOf(s)===e.activeIndex,i=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(s);a||i||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(s),0))},x=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&c((0,i.Z)(e.slides),t.itemRoleDescriptionMessage),t.slideRole&&d((0,i.Z)(e.slides),t.slideRole);const s=e.params.loop?e.slides.filter((t=>!t.classList.contains(e.params.slideDuplicateClass))).length:e.slides.length;t.slideLabelMessage&&e.slides.each(((a,r)=>{const n=(0,i.Z)(a),l=e.params.loop?parseInt(n.attr("data-swiper-slide-index"),10):r;p(n,t.slideLabelMessage.replace(/\{\{index\}\}/,l+1).replace(/\{\{slidesLength\}\}/,s))}))},E=()=>{const t=e.params.a11y;e.$el.append(r);const s=e.$el;t.containerRoleDescriptionMessage&&c(s,t.containerRoleDescriptionMessage),t.containerMessage&&p(s,t.containerMessage);const i=e.$wrapperEl,n=t.id||i.attr("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,l=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";var o;let d,u;o=n,i.attr("id",o),function(e,t){e.attr("aria-live",t)}(i,l),x(),e.navigation&&e.navigation.$nextEl&&(d=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(u=e.navigation.$prevEl),d&&d.length&&v(d,n,t.nextSlideMessage),u&&u.length&&v(u,n,t.prevSlideMessage),g()&&e.pagination.$el.on("keydown",(0,a.Z)(e.params.pagination.bulletClass),m),e.$el.on("focus",y,!0),e.$el.on("pointerdown",w,!0),e.$el.on("pointerup",b,!0)};s("beforeInit",(()=>{r=(0,i.Z)(``)})),s("afterInit",(()=>{e.params.a11y.enabled&&E()})),s("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{e.params.a11y.enabled&&x()})),s("fromEdge toEdge afterInit lock unlock",(()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{$nextEl:t,$prevEl:s}=e.navigation;s&&s.length>0&&(e.isBeginning?(u(s),o(s)):(h(s),l(s))),t&&t.length>0&&(e.isEnd?(u(t),o(t)):(h(t),l(t)))}()})),s("paginationUpdate",(()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;f()&&e.pagination.bullets.each((s=>{const a=(0,i.Z)(s);e.params.pagination.clickable&&(l(a),e.params.pagination.renderBullet||(d(a,"button"),p(a,t.paginationBulletMessage.replace(/\{\{index\}\}/,a.index()+1)))),a.is(`.${e.params.pagination.bulletActiveClass}`)?a.attr("aria-current","true"):a.removeAttr("aria-current")}))}()})),s("destroy",(()=>{e.params.a11y.enabled&&function(){let t,s;r&&r.length>0&&r.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(s=e.navigation.$prevEl),t&&t.off("keydown",m),s&&s.off("keydown",m),g()&&e.pagination.$el.off("keydown",(0,a.Z)(e.params.pagination.bulletClass),m),e.$el.off("focus",y,!0),e.$el.off("pointerdown",w,!0),e.$el.off("pointerup",b,!0)}()}))}},10867:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(41936),i=s(23710);function r({swiper:e,extendParams:t,on:s,emit:r}){let n;function l(){if(!e.size)return e.autoplay.running=!1,void(e.autoplay.paused=!1);const t=e.slides.eq(e.activeIndex);let s=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(s=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(n),n=(0,i.Y3)((()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?d():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),r("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),r("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?d():(t=e.slideTo(0,e.params.speed,!0,!0),r("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),r("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&l()}),s)}function o(){return void 0===n&&(!e.autoplay.running&&(e.autoplay.running=!0,r("autoplayStart"),l(),!0))}function d(){return!!e.autoplay.running&&(void 0!==n&&(n&&(clearTimeout(n),n=void 0),e.autoplay.running=!1,r("autoplayStop"),!0))}function c(t){e.autoplay.running&&(e.autoplay.paused||(n&&clearTimeout(n),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].addEventListener(t,u)})):(e.autoplay.paused=!1,l())))}function p(){const t=(0,a.Me)();"hidden"===t.visibilityState&&e.autoplay.running&&c(),"visible"===t.visibilityState&&e.autoplay.paused&&(l(),e.autoplay.paused=!1)}function u(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)})),e.autoplay.paused=!1,e.autoplay.running?l():d())}function h(){e.params.autoplay.disableOnInteraction?d():(r("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)}))}function m(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,r("autoplayResume"),l())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),s("init",(()=>{if(e.params.autoplay.enabled){o();(0,a.Me)().addEventListener("visibilitychange",p),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",h),e.$el.on("mouseleave",m))}})),s("beforeTransitionStart",((t,s,a)=>{e.autoplay.running&&(a||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(s):d())})),s("sliderFirstMove",(()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?d():c())})),s("touchEnd",(()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&l()})),s("destroy",(()=>{e.$el.off("mouseenter",h),e.$el.off("mouseleave",m),e.autoplay.running&&d();(0,a.Me)().removeEventListener("visibilitychange",p)})),Object.assign(e.autoplay,{pause:c,run:l,start:o,stop:d})}},92585:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(23710);function i({swiper:e,extendParams:t,on:s}){function i(e,t){const s=function(){let e,t,s;return(a,i)=>{for(t=-1,e=a.length;e-t>1;)s=e+t>>1,a[s]<=i?t=s:e=s;return e}}();let a,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this}function r(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},s("beforeInit",(()=>{e.controller.control=e.params.controller.control})),s("update",(()=>{r()})),s("resize",(()=>{r()})),s("observerUpdate",(()=>{r()})),s("setTranslate",((t,s,a)=>{e.controller.control&&e.controller.setTranslate(s,a)})),s("setTransition",((t,s,a)=>{e.controller.control&&e.controller.setTransition(s,a)})),Object.assign(e.controller,{setTranslate:function(t,s){const a=e.controller.control;let r,n;const l=e.constructor;function o(t){const s=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(!function(t){e.controller.spline||(e.controller.spline=e.params.loop?new i(e.slidesGrid,t.slidesGrid):new i(e.snapGrid,t.snapGrid))}(t),n=-e.controller.spline.interpolate(-s)),n&&"container"!==e.params.controller.by||(r=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),n=(s-e.minTranslate())*r+t.minTranslate()),e.params.controller.inverse&&(n=t.maxTranslate()-n),t.updateProgress(n),t.setTranslate(n,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(a))for(let e=0;e{s.updateAutoHeight()})),s.$wrapperEl.transitionEnd((()=>{r&&(s.params.loop&&"slide"===e.params.controller.by&&s.loopFix(),s.transitionEnd())})))}if(Array.isArray(r))for(n=0;n{s.d(t,{Z:()=>l});var a=s(28865),i=s(61931),r=s(83733),n=s(22465);function l({swiper:e,extendParams:t,on:s}){t({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}});(0,i.Z)({effect:"cards",swiper:e,on:s,setTranslate:()=>{const{slides:t,activeIndex:s}=e,i=e.params.cardsEffect,{startTranslate:n,isTouched:l}=e.touchEventsData,o=e.translate;for(let d=0;d0&&u<1&&(l||e.params.cssMode)&&o-1&&(l||e.params.cssMode)&&o>n;if(x||E){const e=(1-Math.abs((Math.abs(u)-.5)/.5))**.5;w+=-28*u*e,v+=-.5*e,b+=96*e,f=-25*e*Math.abs(u)+"%"}if(m=u<0?`calc(${m}px + (${b*Math.abs(u)}%))`:u>0?`calc(${m}px + (-${b*Math.abs(u)}%))`:`${m}px`,!e.isHorizontal()){const e=f;f=m,m=e}const C=u<0?""+(1+(1-v)*u):""+(1-(1-v)*u),$=`\n translate3d(${m}, ${f}, ${g}px)\n rotateZ(${i.rotate?w:0}deg)\n scale(${C})\n `;if(i.slideShadows){let e=c.find(".swiper-slide-shadow");0===e.length&&(e=(0,a.Z)(i,c)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(u)-.5)/.5,0),1))}c[0].style.zIndex=-Math.abs(Math.round(p))+t.length;(0,r.Z)(i,c).transform($)}},setTransition:t=>{const{transformEl:s}=e.params.cardsEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,n.Z)({swiper:e,duration:t,transformEl:s})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},16473:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(28865),i=s(61931),r=s(83733);function n({swiper:e,extendParams:t,on:s}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}});(0,i.Z)({effect:"coverflow",swiper:e,on:s,setTranslate:()=>{const{width:t,height:s,slides:i,slidesSizesGrid:n}=e,l=e.params.coverflowEffect,o=e.isHorizontal(),d=e.translate,c=o?t/2-d:s/2-d,p=o?l.rotate:-l.rotate,u=l.depth;for(let e=0,t=i.length;e0?h:0),s.length&&(s[0].style.opacity=-h>0?-h:0)}}},setTransition:t=>{const{transformEl:s}=e.params.coverflowEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}},75980:(e,t,s)=>{s.d(t,{Z:()=>l});var a=s(28865),i=s(61931),r=s(83733),n=s(22465);function l({swiper:e,extendParams:t,on:s}){t({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const l=e=>"string"==typeof e?e:`${e}px`;(0,i.Z)({effect:"creative",swiper:e,on:s,setTranslate:()=>{const{slides:t,$wrapperEl:s,slidesSizesGrid:i}=e,n=e.params.creativeEffect,{progressMultiplier:o}=n,d=e.params.centeredSlides;if(d){const t=i[0]/2-e.params.slidesOffsetBefore||0;s.transform(`translateX(calc(50% - ${t}px))`)}for(let s=0;s0&&(v=n.prev,g=!0),m.forEach(((e,t)=>{m[t]=`calc(${e}px + (${l(v.translate[t])} * ${Math.abs(p*o)}))`})),f.forEach(((e,t)=>{f[t]=v.rotate[t]*Math.abs(p*o)})),i[0].style.zIndex=-Math.abs(Math.round(c))+t.length;const w=m.join(", "),b=`rotateX(${f[0]}deg) rotateY(${f[1]}deg) rotateZ(${f[2]}deg)`,y=u<0?`scale(${1+(1-v.scale)*u*o})`:`scale(${1-(1-v.scale)*u*o})`,x=u<0?1+(1-v.opacity)*u*o:1-(1-v.opacity)*u*o,E=`translate3d(${w}) ${b} ${y}`;if(g&&v.shadow||!g){let e=i.children(".swiper-slide-shadow");if(0===e.length&&v.shadow&&(e=(0,a.Z)(n,i)),e.length){const t=n.shadowPerProgress?p*(1/n.limitProgress):p;e[0].style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const C=(0,r.Z)(n,i);C.transform(E).css({opacity:x}),v.origin&&C.css("transform-origin",v.origin)}},setTransition:t=>{const{transformEl:s}=e.params.creativeEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,n.Z)({swiper:e,duration:t,transformEl:s,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},61771:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(92166),i=s(61931);function r({swiper:e,extendParams:t,on:s}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(e,t,s)=>{let i=s?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=s?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===i.length&&(i=(0,a.Z)(`
`),e.append(i)),0===r.length&&(r=(0,a.Z)(`
`),e.append(r)),i.length&&(i[0].style.opacity=Math.max(-t,0)),r.length&&(r[0].style.opacity=Math.max(t,0))};(0,i.Z)({effect:"cube",swiper:e,on:s,setTranslate:()=>{const{$el:t,$wrapperEl:s,slides:i,width:n,height:l,rtlTranslate:o,size:d,browser:c}=e,p=e.params.cubeEffect,u=e.isHorizontal(),h=e.virtual&&e.params.virtual.enabled;let m,f=0;p.shadow&&(u?(m=s.find(".swiper-cube-shadow"),0===m.length&&(m=(0,a.Z)('
'),s.append(m)),m.css({height:`${n}px`})):(m=t.find(".swiper-cube-shadow"),0===m.length&&(m=(0,a.Z)('
'),t.append(m))));for(let e=0;e-1&&(f=90*s+90*l,o&&(f=90*-s-90*l)),t.transform(v),p.slideShadows&&r(t,l,u)}if(s.css({"-webkit-transform-origin":`50% 50% -${d/2}px`,"transform-origin":`50% 50% -${d/2}px`}),p.shadow)if(u)m.transform(`translate3d(0px, ${n/2+p.shadowOffset}px, ${-n/2}px) rotateX(90deg) rotateZ(0deg) scale(${p.shadowScale})`);else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=p.shadowScale,a=p.shadowScale/t,i=p.shadowOffset;m.transform(`scale3d(${s}, 1, ${a}) translate3d(0px, ${l/2+i}px, ${-l/2/a}px) rotateX(-90deg)`)}const g=c.isSafari||c.isWebView?-d/2:0;s.transform(`translate3d(0px,0,${g}px) rotateX(${e.isHorizontal()?0:f}deg) rotateY(${e.isHorizontal()?-f:0}deg)`),s[0].style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:t=>{const{$el:s,slides:a}=e;a.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.cubeEffect.shadow&&!e.isHorizontal()&&s.find(".swiper-cube-shadow").transition(t)},recreateShadows:()=>{const t=e.isHorizontal();e.slides.each((e=>{const s=Math.max(Math.min(e.progress,1),-1);r((0,a.Z)(e),s,t)}))},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}},67456:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(61931),i=s(83733),r=s(22465);function n({swiper:e,extendParams:t,on:s}){t({fadeEffect:{crossFade:!1,transformEl:null}});(0,a.Z)({effect:"fade",swiper:e,on:s,setTranslate:()=>{const{slides:t}=e,s=e.params.fadeEffect;for(let a=0;a{const{transformEl:s}=e.params.fadeEffect;(s?e.slides.find(s):e.slides).transition(t),(0,r.Z)({swiper:e,duration:t,transformEl:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},30371:(e,t,s)=>{s.d(t,{Z:()=>o});var a=s(92166),i=s(28865),r=s(61931),n=s(83733),l=s(22465);function o({swiper:e,extendParams:t,on:s}){t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const o=(t,s,a)=>{let r=e.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),n=e.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===r.length&&(r=(0,i.Z)(a,t,e.isHorizontal()?"left":"top")),0===n.length&&(n=(0,i.Z)(a,t,e.isHorizontal()?"right":"bottom")),r.length&&(r[0].style.opacity=Math.max(-s,0)),n.length&&(n[0].style.opacity=Math.max(s,0))};(0,r.Z)({effect:"flip",swiper:e,on:s,setTranslate:()=>{const{slides:t,rtlTranslate:s}=e,a=e.params.flipEffect;for(let i=0;i{const{transformEl:s}=e.params.flipEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),(0,l.Z)({swiper:e,duration:t,transformEl:s})},recreateShadows:()=>{const t=e.params.flipEffect;e.slides.each((s=>{const i=(0,a.Z)(s);let r=i[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(s.progress,1),-1)),o(i,r,t)}))},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},45440:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(23710);function i({swiper:e,extendParams:t,emit:s,once:i}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){const{touchEventsData:t,touches:s}=e;0===t.velocities.length&&t.velocities.push({position:s[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:s[e.isHorizontal()?"currentX":"currentY"],time:(0,a.zO)()})},onTouchEnd:function({currentPos:t}){const{params:r,$wrapperEl:n,rtlTranslate:l,snapGrid:o,touchEventsData:d}=e,c=(0,a.zO)()-d.touchStartTime;if(t<-e.minTranslate())e.slideTo(e.activeIndex);else if(t>-e.maxTranslate())e.slides.length1){const t=d.velocities.pop(),s=d.velocities.pop(),i=t.position-s.position,n=t.time-s.time;e.velocity=i/n,e.velocity/=2,Math.abs(e.velocity)150||(0,a.zO)()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=r.freeMode.momentumVelocityRatio,d.velocities.length=0;let t=1e3*r.freeMode.momentumRatio;const c=e.velocity*t;let p=e.translate+c;l&&(p=-p);let u,h=!1;const m=20*Math.abs(e.velocity)*r.freeMode.momentumBounceRatio;let f;if(pe.minTranslate())r.freeMode.momentumBounce?(p-e.minTranslate()>m&&(p=e.minTranslate()+m),u=e.minTranslate(),h=!0,d.allowMomentumBounce=!0):p=e.minTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(r.freeMode.sticky){let t;for(let e=0;e-p){t=e;break}p=Math.abs(o[t]-p){e.loopFix()})),0!==e.velocity){if(t=l?Math.abs((-p-e.translate)/e.velocity):Math.abs((p-e.translate)/e.velocity),r.freeMode.sticky){const s=Math.abs((l?-p:p)-e.translate),a=e.slidesSizesGrid[e.activeIndex];t=s{e&&!e.destroyed&&d.allowMomentumBounce&&(s("momentumBounce"),e.setTransition(r.speed),setTimeout((()=>{e.setTranslate(u),n.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()}))}),0))}))):e.velocity?(s("_freeModeNoMomentumRelease"),e.updateProgress(p),e.setTransition(t),e.setTranslate(p),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,n.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(p),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(r.freeMode.sticky)return void e.slideToClosest();r.freeMode&&s("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||c>=r.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})}},8997:(e,t,s)=>{function a({swiper:e,extendParams:t}){let s,a,i;t({grid:{rows:1,fill:"column"}});e.grid={initSlides:t=>{const{slidesPerView:r}=e.params,{rows:n,fill:l}=e.params.grid;a=s/n,i=Math.floor(t/n),s=Math.floor(t/n)===t/n?t:Math.ceil(t/n)*n,"auto"!==r&&"row"===l&&(s=Math.max(s,r*n))},updateSlide:(t,r,n,l)=>{const{slidesPerGroup:o,spaceBetween:d}=e.params,{rows:c,fill:p}=e.params.grid;let u,h,m;if("row"===p&&o>1){const e=Math.floor(t/(o*c)),a=t-c*o*e,i=0===e?o:Math.min(Math.ceil((n-e*c*o)/c),o);m=Math.floor(a/i),h=a-m*i+e*o,u=h+m*s/c,r.css({"-webkit-order":u,order:u})}else"column"===p?(h=Math.floor(t/c),m=t-h*c,(h>i||h===i&&m===c-1)&&(m+=1,m>=c&&(m=0,h+=1))):(m=Math.floor(t/a),h=t-m*a);r.css(l("margin-top"),0!==m?d&&`${d}px`:"")},updateWrapperSize:(t,a,i)=>{const{spaceBetween:r,centeredSlides:n,roundLengths:l}=e.params,{rows:o}=e.params.grid;if(e.virtualSize=(t+r)*s,e.virtualSize=Math.ceil(e.virtualSize/o)-r,e.$wrapperEl.css({[i("width")]:`${e.virtualSize+r}px`}),n){a.splice(0,a.length);const t=[];for(let s=0;sa})},90954:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(41936),i=s(92166);function r({swiper:e,extendParams:t,emit:s,on:r}){let n=!1;const l=(0,a.Me)(),o=(0,a.Jj)();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const d=()=>{s("hashChange");const t=l.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const s=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===s)return;e.slideTo(s)}},c=()=>{if(n&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&o.history&&o.history.replaceState)o.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),s("hashSet");else{const t=e.slides.eq(e.activeIndex),a=t.attr("data-hash")||t.attr("data-history");l.location.hash=a||"",s("hashSet")}};r("init",(()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;n=!0;const t=l.location.hash.replace("#","");if(t){const s=0;for(let a=0,i=e.slides.length;a{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&(0,i.Z)(o).off("hashchange",d)})),r("transitionEnd _freeModeNoMomentumRelease",(()=>{n&&c()})),r("slideChange",(()=>{n&&e.params.cssMode&&c()}))}},80574:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(41936);function i({swiper:e,extendParams:t,on:s}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,r={};const n=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=e=>{const t=(0,a.Jj)();let s;s=e?new URL(e):t.location;const i=s.pathname.slice(1).split("/").filter((e=>""!==e)),r=i.length;return{key:i[r-2],value:i[r-1]}},o=(t,s)=>{const r=(0,a.Jj)();if(!i||!e.params.history.enabled)return;let l;l=e.params.url?new URL(e.params.url):r.location;const o=e.slides.eq(s);let d=n(o.attr("data-history"));if(e.params.history.root.length>0){let s=e.params.history.root;"/"===s[s.length-1]&&(s=s.slice(0,s.length-1)),d=`${s}/${t}/${d}`}else l.pathname.includes(t)||(d=`${t}/${d}`);e.params.history.keepQuery&&(d+=l.search);const c=r.history.state;c&&c.value===d||(e.params.history.replaceState?r.history.replaceState({value:d},null,d):r.history.pushState({value:d},null,d))},d=(t,s,a)=>{if(s)for(let i=0,r=e.slides.length;i{r=l(e.params.url),d(e.params.speed,r.value,!1)};s("init",(()=>{e.params.history.enabled&&(()=>{const t=(0,a.Jj)();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);i=!0,r=l(e.params.url),(r.key||r.value)&&(d(0,r.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",c))}})()})),s("destroy",(()=>{e.params.history.enabled&&(()=>{const t=(0,a.Jj)();e.params.history.replaceState||t.removeEventListener("popstate",c)})()})),s("transitionEnd _freeModeNoMomentumRelease",(()=>{i&&o(e.params.history.key,e.activeIndex)})),s("slideChange",(()=>{i&&e.params.cssMode&&o(e.params.history.key,e.activeIndex)}))}},51558:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(41936),i=s(92166);function r({swiper:e,extendParams:t,on:s,emit:r}){const n=(0,a.Me)(),l=(0,a.Jj)();function o(t){if(!e.enabled)return;const{rtlTranslate:s}=e;let a=t;a.originalEvent&&(a=a.originalEvent);const i=a.keyCode||a.charCode,o=e.params.keyboard.pageUpDown,d=o&&33===i,c=o&&34===i,p=37===i,u=39===i,h=38===i,m=40===i;if(!e.allowSlideNext&&(e.isHorizontal()&&u||e.isVertical()&&m||c))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&p||e.isVertical()&&h||d))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||n.activeElement&&n.activeElement.nodeName&&("input"===n.activeElement.nodeName.toLowerCase()||"textarea"===n.activeElement.nodeName.toLowerCase()))){if(e.params.keyboard.onlyInViewport&&(d||c||p||u||h||m)){let t=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&0===e.$el.parents(`.${e.params.slideActiveClass}`).length)return;const a=e.$el,i=a[0].clientWidth,r=a[0].clientHeight,n=l.innerWidth,o=l.innerHeight,d=e.$el.offset();s&&(d.left-=e.$el[0].scrollLeft);const c=[[d.left,d.top],[d.left+i,d.top],[d.left,d.top+r],[d.left+i,d.top+r]];for(let e=0;e=0&&s[0]<=n&&s[1]>=0&&s[1]<=o){if(0===s[0]&&0===s[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((d||c||p||u)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((c||u)&&!s||(d||p)&&s)&&e.slideNext(),((d||p)&&!s||(c||u)&&s)&&e.slidePrev()):((d||c||h||m)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(c||m)&&e.slideNext(),(d||h)&&e.slidePrev()),r("keyPress",i)}}function d(){e.keyboard.enabled||((0,i.Z)(n).on("keydown",o),e.keyboard.enabled=!0)}function c(){e.keyboard.enabled&&((0,i.Z)(n).off("keydown",o),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),s("init",(()=>{e.params.keyboard.enabled&&d()})),s("destroy",(()=>{e.keyboard.enabled&&c()})),Object.assign(e.keyboard,{enable:d,disable:c})}},63689:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(41936),i=s(92166);function r({swiper:e,extendParams:t,on:s,emit:r}){t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),e.lazy={};let n=!1,l=!1;function o(t,s=!0){const a=e.params.lazy;if(void 0===t)return;if(0===e.slides.length)return;const n=e.virtual&&e.params.virtual.enabled?e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`):e.slides.eq(t),l=n.find(`.${a.elementClass}:not(.${a.loadedClass}):not(.${a.loadingClass})`);!n.hasClass(a.elementClass)||n.hasClass(a.loadedClass)||n.hasClass(a.loadingClass)||l.push(n[0]),0!==l.length&&l.each((t=>{const l=(0,i.Z)(t);l.addClass(a.loadingClass);const d=l.attr("data-background"),c=l.attr("data-src"),p=l.attr("data-srcset"),u=l.attr("data-sizes"),h=l.parent("picture");e.loadImage(l[0],c||d,p,u,!1,(()=>{if(null!=e&&e&&(!e||e.params)&&!e.destroyed){if(d?(l.css("background-image",`url("${d}")`),l.removeAttr("data-background")):(p&&(l.attr("srcset",p),l.removeAttr("data-srcset")),u&&(l.attr("sizes",u),l.removeAttr("data-sizes")),h.length&&h.children("source").each((e=>{const t=(0,i.Z)(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),c&&(l.attr("src",c),l.removeAttr("data-src"))),l.addClass(a.loadedClass).removeClass(a.loadingClass),n.find(`.${a.preloaderClass}`).remove(),e.params.loop&&s){const t=n.attr("data-swiper-slide-index");if(n.hasClass(e.params.slideDuplicateClass)){o(e.$wrapperEl.children(`[data-swiper-slide-index="${t}"]:not(.${e.params.slideDuplicateClass})`).index(),!1)}else{o(e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${t}"]`).index(),!1)}}r("lazyImageReady",n[0],l[0]),e.params.autoHeight&&e.updateAutoHeight()}})),r("lazyImageLoad",n[0],l[0])}))}function d(){const{$wrapperEl:t,params:s,slides:a,activeIndex:r}=e,n=e.virtual&&s.virtual.enabled,d=s.lazy;let c=s.slidesPerView;function p(e){if(n){if(t.children(`.${s.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(a[e])return!0;return!1}function u(e){return n?(0,i.Z)(e).attr("data-swiper-slide-index"):(0,i.Z)(e).index()}if("auto"===c&&(c=0),l||(l=!0),e.params.watchSlidesProgress)t.children(`.${s.slideVisibleClass}`).each((e=>{o(n?(0,i.Z)(e).attr("data-swiper-slide-index"):(0,i.Z)(e).index())}));else if(c>1)for(let e=r;e1||d.loadPrevNextAmount&&d.loadPrevNextAmount>1){const e=d.loadPrevNextAmount,t=Math.ceil(c),s=Math.min(r+t+Math.max(e,t),a.length),i=Math.max(r-Math.max(t,e),0);for(let e=r+t;e0&&o(u(e));const a=t.children(`.${s.slidePrevClass}`);a.length>0&&o(u(a))}}function c(){const t=(0,a.Jj)();if(!e||e.destroyed)return;const s=e.params.lazy.scrollingElement?(0,i.Z)(e.params.lazy.scrollingElement):(0,i.Z)(t),r=s[0]===t,l=r?t.innerWidth:s[0].offsetWidth,o=r?t.innerHeight:s[0].offsetHeight,p=e.$el.offset(),{rtlTranslate:u}=e;let h=!1;u&&(p.left-=e.$el[0].scrollLeft);const m=[[p.left,p.top],[p.left+e.width,p.top],[p.left,p.top+e.height],[p.left+e.width,p.top+e.height]];for(let e=0;e=0&&t[0]<=l&&t[1]>=0&&t[1]<=o){if(0===t[0]&&0===t[1])continue;h=!0}}const f=!("touchstart"!==e.touchEvents.start||!e.support.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};h?(d(),s.off("scroll",c,f)):n||(n=!0,s.on("scroll",c,f))}s("beforeInit",(()=>{e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)})),s("init",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():d())})),s("scroll",(()=>{e.params.freeMode&&e.params.freeMode.enabled&&!e.params.freeMode.sticky&&d()})),s("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():d())})),s("transitionStart",(()=>{e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!l)&&(e.params.lazy.checkInView?c():d())})),s("transitionEnd",(()=>{e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.checkInView?c():d())})),s("slideChange",(()=>{const{lazy:t,cssMode:s,watchSlidesProgress:a,touchReleaseOnEdges:i,resistanceRatio:r}=e.params;t.enabled&&(s||a&&(i||0===r))&&d()})),s("destroy",(()=>{e.$el&&e.$el.find(`.${e.params.lazy.loadingClass}`).removeClass(e.params.lazy.loadingClass)})),Object.assign(e.lazy,{load:d,loadInSlide:o})}},76263:(e,t,s)=>{s.d(t,{Z:()=>o});var a=s(68700),i=s(49501),r=s(18034),n=s(71912),l=s(17872);function o({swiper:e}){Object.assign(e,{appendSlide:a.Z.bind(e),prependSlide:i.Z.bind(e),addSlide:r.Z.bind(e),removeSlide:n.Z.bind(e),removeAllSlides:l.Z.bind(e)})}},18034:(e,t,s)=>{function a(e,t){const s=this,{$wrapperEl:a,params:i,activeIndex:r}=s;let n=r;i.loop&&(n-=s.loopedSlides,s.loopDestroy(),s.slides=a.children(`.${i.slideClass}`));const l=s.slides.length;if(e<=0)return void s.prependSlide(t);if(e>=l)return void s.appendSlide(t);let o=n>e?n+1:n;const d=[];for(let t=l-1;t>=e;t-=1){const e=s.slides.eq(t);e.remove(),d.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?n+t.length:n}else a.append(t);for(let e=0;ea})},68700:(e,t,s)=>{function a(e){const t=this,{$wrapperEl:s,params:a}=t;if(a.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;ta})},49501:(e,t,s)=>{function a(e){const t=this,{params:s,$wrapperEl:a,activeIndex:i}=t;s.loop&&t.loopDestroy();let r=i+1;if("object"==typeof e&&"length"in e){for(let t=0;ta})},17872:(e,t,s)=>{function a(){const e=this,t=[];for(let s=0;sa})},71912:(e,t,s)=>{function a(e){const t=this,{params:s,$wrapperEl:a,activeIndex:i}=t;let r=i;s.loop&&(r-=t.loopedSlides,t.loopDestroy(),t.slides=a.children(`.${s.slideClass}`));let n,l=r;if("object"==typeof e&&"length"in e){for(let s=0;sa})},74010:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(41936),i=s(92166),r=s(23710);function n({swiper:e,extendParams:t,on:s,emit:n}){const l=(0,a.Jj)();let o;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let d,c=(0,r.zO)();const p=[];function u(){e.enabled&&(e.mouseEntered=!0)}function h(){e.enabled&&(e.mouseEntered=!1)}function m(t){return!(e.params.mousewheel.thresholdDelta&&t.delta=6&&(0,r.zO)()-c<60||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),n("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),n("scroll",t.raw)),c=(new l.Date).getTime(),!1)))}function f(t){let s=t,a=!0;if(!e.enabled)return;const l=e.params.mousewheel;e.params.cssMode&&s.preventDefault();let c=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(c=(0,i.Z)(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!c[0].contains(s.target)&&!l.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let u=0;const h=e.rtlTranslate?-1:1,f=function(e){let t=0,s=0,a=0,i=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),a=10*t,i=10*s,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),e.shiftKey&&!a&&(a=i,i=0),(a||i)&&e.deltaMode&&(1===e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!s&&(s=i<1?-1:1),{spinX:t,spinY:s,pixelX:a,pixelY:i}}(s);if(l.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(f.pixelX)>Math.abs(f.pixelY)))return!0;u=-f.pixelX*h}else{if(!(Math.abs(f.pixelY)>Math.abs(f.pixelX)))return!0;u=-f.pixelY}else u=Math.abs(f.pixelX)>Math.abs(f.pixelY)?-f.pixelX*h:-f.pixelY;if(0===u)return!0;l.invert&&(u=-u);let g=e.getTranslate()+u*l.sensitivity;if(g>=e.minTranslate()&&(g=e.minTranslate()),g<=e.maxTranslate()&&(g=e.maxTranslate()),a=!!e.params.loop||!(g===e.minTranslate()||g===e.maxTranslate()),a&&e.params.nested&&s.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:(0,r.zO)(),delta:Math.abs(u),direction:Math.sign(u)},a=d&&t.time=e.minTranslate()&&(i=e.minTranslate()),i<=e.maxTranslate()&&(i=e.maxTranslate()),e.setTransition(0),e.setTranslate(i),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!c&&e.isBeginning||!h&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(o),o=void 0,p.length>=15&&p.shift();const s=p.length?p[p.length-1]:void 0,a=p[0];if(p.push(t),s&&(t.delta>s.delta||t.direction!==s.direction))p.splice(0);else if(p.length>=15&&t.time-a.time<500&&a.delta-t.delta>=1&&t.delta<=6){const s=u>0?.8:.2;d=t,p.splice(0),o=(0,r.Y3)((()=>{e.slideToClosest(e.params.speed,!0,void 0,s)}),0)}o||(o=(0,r.Y3)((()=>{d=t,p.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)}),500))}if(a||n("scroll",s),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),i===e.minTranslate()||i===e.maxTranslate())return!0}}else{const s={time:(0,r.zO)(),delta:Math.abs(u),direction:Math.sign(u),raw:t};p.length>=2&&p.shift();const a=p.length?p[p.length-1]:void 0;if(p.push(s),a?(s.direction!==a.direction||s.delta>a.delta||s.time>a.time+150)&&m(s):m(s),function(t){const s=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&s.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function g(t){let s=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(s=(0,i.Z)(e.params.mousewheel.eventsTarget)),s[t]("mouseenter",u),s[t]("mouseleave",h),s[t]("wheel",f)}function v(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",f),!0):!e.mousewheel.enabled&&(g("on"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,f),!0):!!e.mousewheel.enabled&&(g("off"),e.mousewheel.enabled=!1,!0)}s("init",(()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&v()})),s("destroy",(()=>{e.params.cssMode&&v(),e.mousewheel.enabled&&w()})),Object.assign(e.mousewheel,{enable:v,disable:w})}},46615:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(15438),i=s(92166);function r({swiper:e,extendParams:t,on:s,emit:r}){function n(t){let s;return t&&(s=(0,i.Z)(t),e.params.uniqueNavElements&&"string"==typeof t&&s.length>1&&1===e.$el.find(t).length&&(s=e.$el.find(t))),s}function l(t,s){const a=e.params.navigation;t&&t.length>0&&(t[s?"addClass":"removeClass"](a.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=s),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](a.lockClass))}function o(){if(e.params.loop)return;const{$nextEl:t,$prevEl:s}=e.navigation;l(s,e.isBeginning&&!e.params.rewind),l(t,e.isEnd&&!e.params.rewind)}function d(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function c(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function p(){const t=e.params.navigation;if(e.params.navigation=(0,a.Z)(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const s=n(t.nextEl),i=n(t.prevEl);s&&s.length>0&&s.on("click",c),i&&i.length>0&&i.on("click",d),Object.assign(e.navigation,{$nextEl:s,nextEl:s&&s[0],$prevEl:i,prevEl:i&&i[0]}),e.enabled||(s&&s.addClass(t.lockClass),i&&i.addClass(t.lockClass))}function u(){const{$nextEl:t,$prevEl:s}=e.navigation;t&&t.length&&(t.off("click",c),t.removeClass(e.params.navigation.disabledClass)),s&&s.length&&(s.off("click",d),s.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},s("init",(()=>{!1===e.params.navigation.enabled?h():(p(),o())})),s("toEdge fromEdge lock unlock",(()=>{o()})),s("destroy",(()=>{u()})),s("enable disable",(()=>{const{$nextEl:t,$prevEl:s}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),s&&s[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),s("click",((t,s)=>{const{$nextEl:a,$prevEl:n}=e.navigation,l=s.target;if(e.params.navigation.hideOnClick&&!(0,i.Z)(l).is(n)&&!(0,i.Z)(l).is(a)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===l||e.pagination.el.contains(l)))return;let t;a?t=a.hasClass(e.params.navigation.hiddenClass):n&&(t=n.hasClass(e.params.navigation.hiddenClass)),r(!0===t?"navigationShow":"navigationHide"),a&&a.toggleClass(e.params.navigation.hiddenClass),n&&n.toggleClass(e.params.navigation.hiddenClass)}}));const h=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),u()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),p(),o()},disable:h,update:o,init:p,destroy:u})}},41852:(e,t,s)=>{s.d(t,{Z:()=>n});var a=s(92166),i=s(91443),r=s(15438);function n({swiper:e,extendParams:t,on:s,emit:n}){const l="swiper-pagination";let o;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let d=0;function c(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function p(t,s){const{bulletActiveClass:a}=e.params.pagination;t[s]().addClass(`${a}-${s}`)[s]().addClass(`${a}-${s}-${s}`)}function u(){const t=e.rtl,s=e.params.pagination;if(c())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,l=e.pagination.$el;let u;const h=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),u>r-1-2*e.loopedSlides&&(u-=r-2*e.loopedSlides),u>h-1&&(u-=h),u<0&&"bullets"!==e.params.paginationType&&(u=h+u)):u=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===s.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const i=e.pagination.bullets;let r,n,c;if(s.dynamicBullets&&(o=i.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),l.css(e.isHorizontal()?"width":"height",o*(s.dynamicMainBullets+4)+"px"),s.dynamicMainBullets>1&&void 0!==e.previousIndex&&(d+=u-(e.previousIndex-e.loopedSlides||0),d>s.dynamicMainBullets-1?d=s.dynamicMainBullets-1:d<0&&(d=0)),r=Math.max(u-d,0),n=r+(Math.min(i.length,s.dynamicMainBullets)-1),c=(n+r)/2),i.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`)).join(" ")),l.length>1)i.each((e=>{const t=(0,a.Z)(e),i=t.index();i===u&&t.addClass(s.bulletActiveClass),s.dynamicBullets&&(i>=r&&i<=n&&t.addClass(`${s.bulletActiveClass}-main`),i===r&&p(t,"prev"),i===n&&p(t,"next"))}));else{const t=i.eq(u),a=t.index();if(t.addClass(s.bulletActiveClass),s.dynamicBullets){const t=i.eq(r),l=i.eq(n);for(let e=r;e<=n;e+=1)i.eq(e).addClass(`${s.bulletActiveClass}-main`);if(e.params.loop)if(a>=i.length){for(let e=s.dynamicMainBullets;e>=0;e-=1)i.eq(i.length-e).addClass(`${s.bulletActiveClass}-main`);i.eq(i.length-s.dynamicMainBullets-1).addClass(`${s.bulletActiveClass}-prev`)}else p(t,"prev"),p(l,"next");else p(t,"prev"),p(l,"next")}}if(s.dynamicBullets){const a=Math.min(i.length,s.dynamicMainBullets+4),r=(o*a-o)/2-c*o,n=t?"right":"left";i.css(e.isHorizontal()?n:"top",`${r}px`)}}if("fraction"===s.type&&(l.find((0,i.Z)(s.currentClass)).text(s.formatFractionCurrent(u+1)),l.find((0,i.Z)(s.totalClass)).text(s.formatFractionTotal(h))),"progressbar"===s.type){let t;t=s.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const a=(u+1)/h;let r=1,n=1;"horizontal"===t?r=a:n=a,l.find((0,i.Z)(s.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${n})`).transition(e.params.speed)}"custom"===s.type&&s.renderCustom?(l.html(s.renderCustom(e,u+1,h)),n("paginationRender",l[0])):n("paginationUpdate",l[0]),e.params.watchOverflow&&e.enabled&&l[e.isLocked?"addClass":"removeClass"](s.lockClass)}function h(){const t=e.params.pagination;if(c())return;const s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,a=e.pagination.$el;let r="";if("bullets"===t.type){let n=e.params.loop?Math.ceil((s-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&n>s&&(n=s);for(let s=0;s`;a.html(r),e.pagination.bullets=a.find((0,i.Z)(t.bulletClass))}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):` / `,a.html(r)),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):``,a.html(r)),"custom"!==t.type&&n("paginationRender",e.pagination.$el[0])}function m(){e.params.pagination=(0,r.Z)(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let s=(0,a.Z)(t.el);0!==s.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&s.length>1&&(s=e.$el.find(t.el),s.length>1&&(s=s.filter((t=>(0,a.Z)(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&s.addClass(t.clickableClass),s.addClass(t.modifierClass+t.type),s.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(s.addClass(`${t.modifierClass}${t.type}-dynamic`),d=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&s.addClass(t.progressbarOppositeClass),t.clickable&&s.on("click",(0,i.Z)(t.bulletClass),(function(t){t.preventDefault();let s=(0,a.Z)(this).index()*e.params.slidesPerGroup;e.params.loop&&(s+=e.loopedSlides),e.slideTo(s)})),Object.assign(e.pagination,{$el:s,el:s[0]}),e.enabled||s.addClass(t.lockClass))}function f(){const t=e.params.pagination;if(c())return;const s=e.pagination.$el;s.removeClass(t.hiddenClass),s.removeClass(t.modifierClass+t.type),s.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&s.off("click",(0,i.Z)(t.bulletClass))}s("init",(()=>{!1===e.params.pagination.enabled?g():(m(),h(),u())})),s("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&u()})),s("snapIndexChange",(()=>{e.params.loop||u()})),s("slidesLengthChange",(()=>{e.params.loop&&(h(),u())})),s("snapGridLengthChange",(()=>{e.params.loop||(h(),u())})),s("destroy",(()=>{f()})),s("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),s("lock unlock",(()=>{u()})),s("click",((t,s)=>{const i=s.target,{$el:r}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&r&&r.length>0&&!(0,a.Z)(i).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const t=r.hasClass(e.params.pagination.hiddenClass);n(!0===t?"paginationShow":"paginationHide"),r.toggleClass(e.params.pagination.hiddenClass)}}));const g=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),f()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),m(),h(),u()},disable:g,render:h,update:u,init:m,destroy:f})}},20019:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(92166);function i({swiper:e,extendParams:t,on:s}){t({parallax:{enabled:!1}});const i=(t,s)=>{const{rtl:i}=e,r=(0,a.Z)(t),n=i?-1:1,l=r.attr("data-swiper-parallax")||"0";let o=r.attr("data-swiper-parallax-x"),d=r.attr("data-swiper-parallax-y");const c=r.attr("data-swiper-parallax-scale"),p=r.attr("data-swiper-parallax-opacity");if(o||d?(o=o||"0",d=d||"0"):e.isHorizontal()?(o=l,d="0"):(d=l,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*s*n+"%":o*s*n+"px",d=d.indexOf("%")>=0?parseInt(d,10)*s+"%":d*s+"px",null!=p){const e=p-(p-1)*(1-Math.abs(s));r[0].style.opacity=e}if(null==c)r.transform(`translate3d(${o}, ${d}, 0px)`);else{const e=c-(c-1)*(1-Math.abs(s));r.transform(`translate3d(${o}, ${d}, 0px) scale(${e})`)}},r=()=>{const{$el:t,slides:s,progress:r,snapGrid:n}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{i(e,r)})),s.each(((t,s)=>{let l=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(l+=Math.ceil(s/2)-r*(n.length-1)),l=Math.min(Math.max(l,-1),1),(0,a.Z)(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{i(e,l)}))}))};s("beforeInit",(()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)})),s("init",(()=>{e.params.parallax.enabled&&r()})),s("setTranslate",(()=>{e.params.parallax.enabled&&r()})),s("setTransition",((t,s)=>{e.params.parallax.enabled&&((t=e.params.speed)=>{const{$el:s}=e;s.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{const s=(0,a.Z)(e);let i=parseInt(s.attr("data-swiper-parallax-duration"),10)||t;0===t&&(i=0),s.transition(i)}))})(s)}))}},23043:(e,t,s)=>{s.d(t,{Z:()=>l});var a=s(41936),i=s(92166),r=s(23710),n=s(15438);function l({swiper:e,extendParams:t,on:s,emit:l}){const o=(0,a.Me)();let d,c,p,u,h=!1,m=null,f=null;function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:s,progress:a}=e,{$dragEl:i,$el:r}=t,n=e.params.scrollbar;let l=c,o=(p-c)*a;s?(o=-o,o>0?(l=c-o,o=0):-o+c>p&&(l=p+o)):o<0?(l=c+o,o=0):o+c>p&&(l=p-o),e.isHorizontal()?(i.transform(`translate3d(${o}px, 0, 0)`),i[0].style.width=`${l}px`):(i.transform(`translate3d(0px, ${o}px, 0)`),i[0].style.height=`${l}px`),n.hide&&(clearTimeout(m),r[0].style.opacity=1,m=setTimeout((()=>{r[0].style.opacity=0,r.transition(400)}),1e3))}function v(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:s,$el:a}=t;s[0].style.width="",s[0].style.height="",p=e.isHorizontal()?a[0].offsetWidth:a[0].offsetHeight,u=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),c="auto"===e.params.scrollbar.dragSize?p*u:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?s[0].style.width=`${c}px`:s[0].style.height=`${c}px`,a[0].style.display=u>=1?"none":"",e.params.scrollbar.hide&&(a[0].style.opacity=0),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}function w(t){return e.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY}function b(t){const{scrollbar:s,rtlTranslate:a}=e,{$el:i}=s;let r;r=(w(t)-i.offset()[e.isHorizontal()?"left":"top"]-(null!==d?d:c/2))/(p-c),r=Math.max(Math.min(r,1),0),a&&(r=1-r);const n=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*r;e.updateProgress(n),e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}function y(t){const s=e.params.scrollbar,{scrollbar:a,$wrapperEl:i}=e,{$el:r,$dragEl:n}=a;h=!0,d=t.target===n[0]||t.target===n?w(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),i.transition(100),n.transition(100),b(t),clearTimeout(f),r.transition(0),s.hide&&r.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),l("scrollbarDragStart",t)}function x(t){const{scrollbar:s,$wrapperEl:a}=e,{$el:i,$dragEl:r}=s;h&&(t.preventDefault?t.preventDefault():t.returnValue=!1,b(t),a.transition(0),i.transition(0),r.transition(0),l("scrollbarDragMove",t))}function E(t){const s=e.params.scrollbar,{scrollbar:a,$wrapperEl:i}=e,{$el:n}=a;h&&(h=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),i.transition("")),s.hide&&(clearTimeout(f),f=(0,r.Y3)((()=>{n.css("opacity",0),n.transition(400)}),1e3)),l("scrollbarDragEnd",t),s.snapOnRelease&&e.slideToClosest())}function C(t){const{scrollbar:s,touchEventsTouch:a,touchEventsDesktop:i,params:r,support:n}=e,l=s.$el;if(!l)return;const d=l[0],c=!(!n.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},p=!(!n.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};if(!d)return;const u="on"===t?"addEventListener":"removeEventListener";n.touch?(d[u](a.start,y,c),d[u](a.move,x,c),d[u](a.end,E,p)):(d[u](i.start,y,c),o[u](i.move,x,c),o[u](i.end,E,p))}function $(){const{scrollbar:t,$el:s}=e;e.params.scrollbar=(0,n.Z)(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const a=e.params.scrollbar;if(!a.el)return;let r=(0,i.Z)(a.el);e.params.uniqueNavElements&&"string"==typeof a.el&&r.length>1&&1===s.find(a.el).length&&(r=s.find(a.el)),r.addClass(e.isHorizontal()?a.horizontalClass:a.verticalClass);let l=r.find(`.${e.params.scrollbar.dragClass}`);0===l.length&&(l=(0,i.Z)(`
`),r.append(l)),Object.assign(t,{$el:r,el:r[0],$dragEl:l,dragEl:l[0]}),a.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&C("on"),r&&r[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}function T(){const t=e.params.scrollbar,s=e.scrollbar.$el;s&&s.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.params.scrollbar.el&&e.scrollbar.el&&C("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},s("init",(()=>{!1===e.params.scrollbar.enabled?S():($(),v(),g())})),s("update resize observerUpdate lock unlock",(()=>{v()})),s("setTranslate",(()=>{g()})),s("setTransition",((t,s)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&e.scrollbar.$dragEl.transition(t)}(s)})),s("enable disable",(()=>{const{$el:t}=e.scrollbar;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)})),s("destroy",(()=>{T()}));const S=()=>{e.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),T()};Object.assign(e.scrollbar,{enable:()=>{e.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),$(),v(),g()},disable:S,updateSize:v,setTranslate:g,init:$,destroy:T})}},83117:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(23710),i=s(92166);function r({swiper:e,extendParams:t,on:s}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,n=!1;function l(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const s=t.clickedIndex,a=t.clickedSlide;if(a&&(0,i.Z)(a).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==s)return;let r;if(r=t.params.loop?parseInt((0,i.Z)(t.clickedSlide).attr("data-swiper-slide-index"),10):s,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const s=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${r}"]`).eq(0).index(),a=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${r}"]`).eq(0).index();r=void 0===s?a:void 0===a?s:a-t1&&!e.params.centeredSlides&&(i=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(i=1),i=Math.floor(i),s.slides.removeClass(r),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let t=0;t1?a:o:a-oe.previousIndex?"next":"prev"}else i=e.realIndex,r=i>e.previousIndex?"next":"prev";l&&(i+="next"===r?n:-1*n),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(i)<0&&(s.params.centeredSlides?i=i>o?i-Math.floor(a/2)+1:i+Math.floor(a/2)-1:i>o&&s.params.slidesPerGroup,s.slideTo(i,t?0:void 0))}}e.thumbs={swiper:null},s("beforeInit",(()=>{const{thumbs:t}=e.params;t&&t.swiper&&(o(),d(!0))})),s("slideChange update resize observerUpdate",(()=>{d()})),s("setTransition",((t,s)=>{const a=e.thumbs.swiper;a&&!a.destroyed&&a.setTransition(s)})),s("beforeDestroy",(()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&n&&t.destroy()})),Object.assign(e.thumbs,{init:o,update:d})}},46118:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(92166),i=s(23710);function r({swiper:e,extendParams:t,on:s,emit:r}){let n;function l(t,s){const i=e.params.virtual;if(i.cache&&e.virtual.cache[s])return e.virtual.cache[s];const r=i.renderSlide?(0,a.Z)(i.renderSlide.call(e,t,s)):(0,a.Z)(`
${t}
`);return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",s),i.cache&&(e.virtual.cache[s]=r),r}function o(t){const{slidesPerView:s,slidesPerGroup:a,centeredSlides:i}=e.params,{addSlidesBefore:n,addSlidesAfter:o}=e.params.virtual,{from:d,to:c,slides:p,slidesGrid:u,offset:h}=e.virtual;e.params.cssMode||e.updateActiveIndex();const m=e.activeIndex||0;let f,g,v;f=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",i?(g=Math.floor(s/2)+a+o,v=Math.floor(s/2)+a+n):(g=s+(a-1)+o,v=a+n);const w=Math.max((m||0)-v,0),b=Math.min((m||0)+g,p.length-1),y=(e.slidesGrid[w]||0)-(e.slidesGrid[0]||0);function x(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),r("virtualUpdate")}if(Object.assign(e.virtual,{from:w,to:b,offset:y,slidesGrid:e.slidesGrid}),d===w&&c===b&&!t)return e.slidesGrid!==u&&y!==h&&e.slides.css(f,`${y}px`),e.updateProgress(),void r("virtualUpdate");if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:y,from:w,to:b,slides:function(){const e=[];for(let t=w;t<=b;t+=1)e.push(p[t]);return e}()}),void(e.params.virtual.renderExternalUpdate?x():r("virtualUpdate"));const E=[],C=[];if(t)e.$wrapperEl.find(`.${e.params.slideClass}`).remove();else for(let t=d;t<=c;t+=1)(tb)&&e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`).remove();for(let e=0;e=w&&e<=b&&(void 0===c||t?C.push(e):(e>c&&C.push(e),e{e.$wrapperEl.append(l(p[t],t))})),E.sort(((e,t)=>t-e)).forEach((t=>{e.$wrapperEl.prepend(l(p[t],t))})),e.$wrapperEl.children(".swiper-slide").css(f,`${y}px`),x()}t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},s("beforeInit",(()=>{e.params.virtual.enabled&&(e.virtual.slides=e.params.virtual.slides,e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,e.params.initialSlide||o())})),s("setTranslate",(()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(n),n=setTimeout((()=>{o()}),100)):o())})),s("init update resize",(()=>{e.params.virtual.enabled&&e.params.cssMode&&(0,i.z2)(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)})),Object.assign(e.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let s=0;s{const a=t[e],r=a.attr("data-swiper-slide-index");r&&a.attr("data-swiper-slide-index",parseInt(r,10)+i),s[parseInt(e,10)+i]=a})),e.virtual.cache=s}o(!0),e.slideTo(a,0)},removeSlide:function(t){if(null==t)return;let s=e.activeIndex;if(Array.isArray(t))for(let a=t.length-1;a>=0;a-=1)e.virtual.slides.splice(t[a],1),e.params.virtual.cache&&delete e.virtual.cache[t[a]],t[a]{s.d(t,{Z:()=>n});var a=s(41936),i=s(92166),r=s(23710);function n({swiper:e,extendParams:t,on:s,emit:n}){const l=(0,a.Jj)();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let o,d,c,p=1,u=!1;const h={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},m={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},f={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let g=1;function v(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,s=e.targetTouches[0].pageY,a=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY;return Math.sqrt((a-t)**2+(i-s)**2)}function w(t){const s=e.support,a=e.params.zoom;if(d=!1,c=!1,!s.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;d=!0,h.scaleStart=v(t)}h.$slideEl&&h.$slideEl.length||(h.$slideEl=(0,i.Z)(t.target).closest(`.${e.params.slideClass}`),0===h.$slideEl.length&&(h.$slideEl=e.slides.eq(e.activeIndex)),h.$imageEl=h.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${a.containerClass}`),h.maxRatio=h.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,0!==h.$imageWrapEl.length)?(h.$imageEl&&h.$imageEl.transition(0),u=!0):h.$imageEl=void 0}function b(t){const s=e.support,a=e.params.zoom,i=e.zoom;if(!s.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;c=!0,h.scaleMove=v(t)}h.$imageEl&&0!==h.$imageEl.length?(s.gestures?i.scale=t.scale*p:i.scale=h.scaleMove/h.scaleStart*p,i.scale>h.maxRatio&&(i.scale=h.maxRatio-1+(i.scale-h.maxRatio+1)**.5),i.scalem.touchesStart.x))return void(m.isTouched=!1);if(!e.isHorizontal()&&(Math.floor(m.minY)===Math.floor(m.startY)&&m.touchesCurrent.ym.touchesStart.y))return void(m.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),m.isMoved=!0,m.currentX=m.touchesCurrent.x-m.touchesStart.x+m.startX,m.currentY=m.touchesCurrent.y-m.touchesStart.y+m.startY,m.currentXm.maxX&&(m.currentX=m.maxX-1+(m.currentX-m.maxX+1)**.8),m.currentYm.maxY&&(m.currentY=m.maxY-1+(m.currentY-m.maxY+1)**.8),f.prevPositionX||(f.prevPositionX=m.touchesCurrent.x),f.prevPositionY||(f.prevPositionY=m.touchesCurrent.y),f.prevTime||(f.prevTime=Date.now()),f.x=(m.touchesCurrent.x-f.prevPositionX)/(Date.now()-f.prevTime)/2,f.y=(m.touchesCurrent.y-f.prevPositionY)/(Date.now()-f.prevTime)/2,Math.abs(m.touchesCurrent.x-f.prevPositionX)<2&&(f.x=0),Math.abs(m.touchesCurrent.y-f.prevPositionY)<2&&(f.y=0),f.prevPositionX=m.touchesCurrent.x,f.prevPositionY=m.touchesCurrent.y,f.prevTime=Date.now(),h.$imageWrapEl.transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}}function E(){const t=e.zoom;h.$slideEl&&e.previousIndex!==e.activeIndex&&(h.$imageEl&&h.$imageEl.transform("translate3d(0,0,0) scale(1)"),h.$imageWrapEl&&h.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,p=1,h.$slideEl=void 0,h.$imageEl=void 0,h.$imageWrapEl=void 0)}function C(t){const s=e.zoom,a=e.params.zoom;if(h.$slideEl||(t&&t.target&&(h.$slideEl=(0,i.Z)(t.target).closest(`.${e.params.slideClass}`)),h.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):h.$slideEl=e.slides.eq(e.activeIndex)),h.$imageEl=h.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${a.containerClass}`)),!h.$imageEl||0===h.$imageEl.length||!h.$imageWrapEl||0===h.$imageWrapEl.length)return;let r,n,o,d,c,u,f,g,v,w,b,y,x,E,C,$,T,S;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),h.$slideEl.addClass(`${a.zoomedSlideClass}`),void 0===m.touchesStart.x&&t?(r="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,n="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(r=m.touchesStart.x,n=m.touchesStart.y),s.scale=h.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,p=h.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,t?(T=h.$slideEl[0].offsetWidth,S=h.$slideEl[0].offsetHeight,o=h.$slideEl.offset().left+l.scrollX,d=h.$slideEl.offset().top+l.scrollY,c=o+T/2-r,u=d+S/2-n,v=h.$imageEl[0].offsetWidth,w=h.$imageEl[0].offsetHeight,b=v*s.scale,y=w*s.scale,x=Math.min(T/2-b/2,0),E=Math.min(S/2-y/2,0),C=-x,$=-E,f=c*s.scale,g=u*s.scale,fC&&(f=C),g$&&(g=$)):(f=0,g=0),h.$imageWrapEl.transition(300).transform(`translate3d(${f}px, ${g}px,0)`),h.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${s.scale})`)}function $(){const t=e.zoom,s=e.params.zoom;h.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):h.$slideEl=e.slides.eq(e.activeIndex),h.$imageEl=h.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${s.containerClass}`)),h.$imageEl&&0!==h.$imageEl.length&&h.$imageWrapEl&&0!==h.$imageWrapEl.length&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,p=1,h.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),h.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),h.$slideEl.removeClass(`${s.zoomedSlideClass}`),h.$slideEl=void 0)}function T(t){const s=e.zoom;s.scale&&1!==s.scale?$():C(t)}function S(){const t=e.support;return{passiveListener:!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!t.passiveListener||{passive:!1,capture:!0}}}function M(){return`.${e.params.slideClass}`}function P(t){const{passiveListener:s}=S(),a=M();e.$wrapperEl[t]("gesturestart",a,w,s),e.$wrapperEl[t]("gesturechange",a,b,s),e.$wrapperEl[t]("gestureend",a,y,s)}function Z(){o||(o=!0,P("on"))}function k(){o&&(o=!1,P("off"))}function z(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const s=e.support,{passiveListener:a,activeListenerWithCapture:i}=S(),r=M();s.gestures?(e.$wrapperEl.on(e.touchEvents.start,Z,a),e.$wrapperEl.on(e.touchEvents.end,k,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,w,a),e.$wrapperEl.on(e.touchEvents.move,r,b,i),e.$wrapperEl.on(e.touchEvents.end,r,y,a),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,y,a)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,x,i)}function O(){const t=e.zoom;if(!t.enabled)return;const s=e.support;t.enabled=!1;const{passiveListener:a,activeListenerWithCapture:i}=S(),r=M();s.gestures?(e.$wrapperEl.off(e.touchEvents.start,Z,a),e.$wrapperEl.off(e.touchEvents.end,k,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,w,a),e.$wrapperEl.off(e.touchEvents.move,r,b,i),e.$wrapperEl.off(e.touchEvents.end,r,y,a),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,y,a)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,x,i)}Object.defineProperty(e.zoom,"scale",{get:()=>g,set(e){if(g!==e){const t=h.$imageEl?h.$imageEl[0]:void 0,s=h.$slideEl?h.$slideEl[0]:void 0;n("zoomChange",e,t,s)}g=e}}),s("init",(()=>{e.params.zoom.enabled&&z()})),s("destroy",(()=>{O()})),s("touchStart",((t,s)=>{e.zoom.enabled&&function(t){const s=e.device;h.$imageEl&&0!==h.$imageEl.length&&(m.isTouched||(s.android&&t.cancelable&&t.preventDefault(),m.isTouched=!0,m.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,m.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))}(s)})),s("touchEnd",((t,s)=>{e.zoom.enabled&&function(){const t=e.zoom;if(!h.$imageEl||0===h.$imageEl.length)return;if(!m.isTouched||!m.isMoved)return m.isTouched=!1,void(m.isMoved=!1);m.isTouched=!1,m.isMoved=!1;let s=300,a=300;const i=f.x*s,r=m.currentX+i,n=f.y*a,l=m.currentY+n;0!==f.x&&(s=Math.abs((r-m.currentX)/f.x)),0!==f.y&&(a=Math.abs((l-m.currentY)/f.y));const o=Math.max(s,a);m.currentX=r,m.currentY=l;const d=m.width*t.scale,c=m.height*t.scale;m.minX=Math.min(h.slideWidth/2-d/2,0),m.maxX=-m.minX,m.minY=Math.min(h.slideHeight/2-c/2,0),m.maxY=-m.minY,m.currentX=Math.max(Math.min(m.currentX,m.maxX),m.minX),m.currentY=Math.max(Math.min(m.currentY,m.maxY),m.minY),h.$imageWrapEl.transition(o).transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}()})),s("doubleTap",((t,s)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&T(s)})),s("transitionEnd",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&E()})),s("slideChange",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&E()})),Object.assign(e.zoom,{enable:z,disable:O,in:C,out:$,toggle:T})}},91443:(e,t,s)=>{function a(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}s.d(t,{Z:()=>a})},15438:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(41936);function i(e,t,s,i){const r=(0,a.Me)();return e.params.createElements&&Object.keys(i).forEach((a=>{if(!s[a]&&!0===s.auto){let n=e.$el.children(`.${i[a]}`)[0];n||(n=r.createElement("div"),n.className=i[a],e.$el.append(n)),s[a]=n,t[a]=n}})),s}},28865:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(92166);function i(e,t,s){const i="swiper-slide-shadow"+(s?`-${s}`:""),r=e.transformEl?t.find(e.transformEl):t;let n=r.children(`.${i}`);return n.length||(n=(0,a.Z)(`
`),r.append(n)),n}},92166:(e,t,s)=>{s.d(t,{Z:()=>r});var a=s(81545);const i={addClass:a.cn,removeClass:a.IV,hasClass:a.pv,toggleClass:a.Vj,attr:a.Lj,removeAttr:a.uV,transform:a.vs,transition:a.eR,on:a.on,off:a.S1,trigger:a.X$,transitionEnd:a.ld,outerWidth:a.iO,outerHeight:a.Pb,styles:a.W2,offset:a.cv,css:a.iv,each:a.S6,html:a.dy,text:a.fL,is:a.is,index:a.Kz,eq:a.eq,append:a.R3,prepend:a.Ce,next:a.lp,nextAll:a.eG,prev:a.mp,prevAll:a.pJ,parent:a.qm,parents:a.wV,closest:a.oq,find:a.sE,children:a.pI,filter:a.hX,remove:a.Od};Object.keys(i).forEach((e=>{Object.defineProperty(a.$.fn,e,{value:i[e],writable:!0})}));const r=a.$},61931:(e,t,s)=>{function a(e){const{effect:t,swiper:s,on:a,setTranslate:i,setTransition:r,overwriteParams:n,perspective:l,recreateShadows:o,getEffectParams:d}=e;let c;a("beforeInit",(()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),l&&l()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=n?n():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),a("setTranslate",(()=>{s.params.effect===t&&i()})),a("setTransition",((e,a)=>{s.params.effect===t&&r(a)})),a("transitionEnd",(()=>{if(s.params.effect===t&&o){if(!d||!d().slideShadows)return;s.slides.each((e=>{s.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),o()}})),a("virtualUpdate",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame((()=>{c&&s.slides&&s.slides.length&&(i(),c=!1)})))}))}s.d(t,{Z:()=>a})},83733:(e,t,s)=>{function a(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}s.d(t,{Z:()=>a})},22465:(e,t,s)=>{function a({swiper:e,duration:t,transformEl:s,allSlides:a}){const{slides:i,activeIndex:r,$wrapperEl:n}=e;if(e.params.virtualTranslate&&0!==t){let t,l=!1;t=a?s?i.find(s):i:s?i.eq(r).find(s):i.eq(r),t.transitionEnd((()=>{if(l)return;if(!e||e.destroyed)return;l=!0,e.animating=!1;const t=["webkitTransitionEnd","transitionend"];for(let e=0;ea})},40876:(e,t,s)=>{s.d(t,{q:()=>r});var a=s(41936);let i;function r(){return i||(i=function(){const e=(0,a.Jj)();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),i}},44873:(e,t,s)=>{s.d(t,{_:()=>n});var a=s(41936),i=s(8680);let r;function n(e={}){return r||(r=function({userAgent:e}={}){const t=(0,i.C)(),s=(0,a.Jj)(),r=s.navigator.platform,n=e||s.navigator.userAgent,l={ios:!1,android:!1},o=s.screen.width,d=s.screen.height,c=n.match(/(Android);?[\s\/]+([\d.]+)?/);let p=n.match(/(iPad).*OS\s([\d_]+)/);const u=n.match(/(iPod)(.*OS\s([\d_]+))?/),h=!p&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===r;let f="MacIntel"===r;return!p&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${d}`)>=0&&(p=n.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),f=!1),c&&!m&&(l.os="android",l.android=!0),(p||h||u)&&(l.os="ios",l.ios=!0),l}(e)),r}},8680:(e,t,s)=>{s.d(t,{C:()=>r});var a=s(41936);let i;function r(){return i||(i=function(){const e=(0,a.Jj)(),t=(0,a.Me)();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const s=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,s)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),i}},23710:(e,t,s)=>{s.d(t,{Kn:()=>o,R6:()=>l,Y3:()=>r,cP:()=>i,l7:()=>d,x2:()=>p,z2:()=>c,zO:()=>n});var a=s(41936);function i(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function r(e,t=0){return setTimeout(e,t)}function n(){return Date.now()}function l(e,t="x"){const s=(0,a.Jj)();let i,r,n;const l=function(e){const t=(0,a.Jj)();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(r=l.transform||l.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),n=new s.WebKitCSSMatrix("none"===r?"":r)):(n=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=n.toString().split(",")),"x"===t&&(r=s.WebKitCSSMatrix?n.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=s.WebKitCSSMatrix?n.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}function o(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function d(...e){const t=Object(e[0]),s=["__proto__","constructor","prototype"];for(let i=1;is.indexOf(e)<0));for(let s=0,a=e.length;sr?"next":"prev",c=(e,t)=>"next"===d&&e>=t||"prev"===d&&e<=t,p=()=>{n=(new Date).getTime(),null===l&&(l=n);const a=Math.max(Math.min((n-l)/o,1),0),d=.5-Math.cos(a*Math.PI)/2;let u=r+d*(t-r);if(c(u,t)&&(u=t),e.wrapperEl.scrollTo({[s]:u}),c(u,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:u})})),void i.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=i.requestAnimationFrame(p)};p()}},79938:(e,t,s)=>{s.d(t,{Z:()=>a.Z});var a=s(3020),i=s(46118),r=s(51558),n=s(74010),l=s(46615),o=s(41852),d=s(23043),c=s(20019),p=s(28584),u=s(63689),h=s(92585),m=s(63389),f=s(80574),g=s(90954),v=s(10867),w=s(83117),b=s(45440),y=s(8997),x=s(76263),E=s(67456),C=s(61771),$=s(30371),T=s(16473),S=s(75980),M=s(72072);const P=[i.Z,r.Z,n.Z,l.Z,o.Z,d.Z,c.Z,p.Z,u.Z,h.Z,m.Z,f.Z,g.Z,v.Z,w.Z,b.Z,y.Z,x.Z,E.Z,C.Z,$.Z,T.Z,S.Z,M.Z];a.Z.use(P)}},t={};function s(a){var i=t[a];if(void 0!==i)return i.exports;var r=t[a]={exports:{}};return e[a](r,r.exports,s),r.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var a in t)s.o(t,a)&&!s.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s(66124)})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.asset.php index 90ad49f8..1ec3b976 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.asset.php @@ -1 +1 @@ - array('wp-data', 'wp-url'), 'version' => 'd60e2e87ea64f9da0982'); + array('wp-data', 'wp-url'), 'version' => '03c7ada2f7c52ad0f602'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.js b/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.js index 706fd1e6..3a9f8105 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.js @@ -1 +1 @@ -(()=>{"use strict";var e,r,t={9818:e=>{e.exports=window.wp.data},6483:e=>{e.exports=window.wp.url}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return n.d(r,{a:r}),r},n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e=n(9818),r=n(6483),async function(){(0,e.use)((e=>({dispatch:t=>{const o=t.name??t,n={...e.dispatch(o)};if("core/editor"===o&&n.__unstableSaveForPreview){const{__unstableSaveForPreview:e}=n;n.__unstableSaveForPreview=async(...t)=>{const o=await e(...t);return o.startsWith(window.location.origin)?o:(0,r.addQueryArgs)(o,{logmein:"direct"})}}return n}})))}()})(); \ No newline at end of file +(()=>{"use strict";var e,r,t={9818:e=>{e.exports=window.wp.data},96483:e=>{e.exports=window.wp.url}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return n.d(r,{a:r}),r},n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e=n(9818),r=n(96483),async function(){(0,e.use)((e=>({dispatch:t=>{const o=t.name??t,n={...e.dispatch(o)};if("core/editor"===o&&n.__unstableSaveForPreview){const{__unstableSaveForPreview:e}=n;n.__unstableSaveForPreview=async(...t)=>{const o=await e(...t);return o.startsWith(window.location.origin)?o:(0,r.addQueryArgs)(o,{logmein:"direct"})}}return n}})))}()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.asset.php index e7964c37..bd70ea68 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.asset.php @@ -1 +1 @@ - array('wp-hooks'), 'version' => '0538c440e8d6eeea78d1'); + array('wp-hooks'), 'version' => '52b55517d25891bb2c7f'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.js b/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.js index a4cfcd46..f65dd71e 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.js @@ -1 +1 @@ -(()=>{"use strict";var r={2694:r=>{r.exports=window.wp.hooks}},e={};function o(a){var t=e[a];if(void 0!==t)return t.exports;var p=e[a]={exports:{}};return r[a](p,p.exports,o),p.exports}o.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return o.d(e,{a:e}),e},o.d=(r,e)=>{for(var a in e)o.o(e,a)&&!o.o(r,a)&&Object.defineProperty(r,a,{enumerable:!0,get:e[a]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),(0,o(2694).addFilter)("blocks.registerBlockType","jetpack-mu-wpcom/paragraph-block-placeholder",((r,e)=>"core/paragraph"===e&&window.wpcomParagraphBlock?{...r,attributes:{...r.attributes,placeholder:{...r.attributes.placeholder,default:window.wpcomParagraphBlock.placeholder}}}:r))})(); \ No newline at end of file +(()=>{"use strict";var r={92694:r=>{r.exports=window.wp.hooks}},e={};function o(a){var t=e[a];if(void 0!==t)return t.exports;var p=e[a]={exports:{}};return r[a](p,p.exports,o),p.exports}o.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return o.d(e,{a:e}),e},o.d=(r,e)=>{for(var a in e)o.o(e,a)&&!o.o(r,a)&&Object.defineProperty(r,a,{enumerable:!0,get:e[a]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),(0,o(92694).addFilter)("blocks.registerBlockType","jetpack-mu-wpcom/paragraph-block-placeholder",((r,e)=>"core/paragraph"===e&&window.wpcomParagraphBlock?{...r,attributes:{...r.attributes,placeholder:{...r.attributes.placeholder,default:window.wpcomParagraphBlock.placeholder}}}:r))})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.asset.php index 0f91c4f3..96c105a3 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-nux', 'wp-plugins'), 'version' => '5ad71f6aac6efa0ce47e'); + array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-nux', 'wp-plugins'), 'version' => '39083eaff5852a749bf9'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.js b/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.js index 6000ab6d..c5fd1319 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.js @@ -1,2 +1,2 @@ /*! For license information please see starter-page-templates.js.LICENSE.txt */ -(()=>{var e={290:(e,t,r)=>{"use strict";r.d(t,{Z:()=>k});var s=r(275),n=r(4981),a=r(5609),o=r(4333),i=r(9307),l=r(5736),c=r(3228),p=r(2819),d=r(6161),u=r(217),g=r(1583),m=r(4087),h=r(5520),_=r(9314);const w=a.MenuItem;class f extends i.Component{constructor(e){super(e),this.state={selectedCategory:this.getDefaultSelectedCategory()}}getFormattedPatternsByPatternSlugs=(0,p.memoize)((e=>{const t=e.reduce(((e,{name:t,title:r="",description:s="",html:a,pattern_meta:o})=>{const i=o?.viewport_width?Number(o.viewport_width):1280;return e[t]={name:t,title:s||r,blocks:a?(0,n.parse)((0,m.Z)(a,this.props.siteInformation)):[],viewportWidth:Math.max(i,320)},e}),{});return this.filterPatternsWithMissingBlocks(t)}));filterPatternsWithMissingBlocks(e){return Object.entries(e).reduce(((e,[t,r])=>((0,d.Z)(r.blocks)&&r.blocks.length||(e[t]=r),e)),{})}getBlocksForSelection=e=>{const t=this.getBlocksByPatternSlug(e);return(0,g.Z)(t,(function(e){return"core/button"===e.name&&void 0!==e.attributes.url&&(e.attributes.url="#"),e}))};componentDidMount(){this.props.isOpen&&this.trackCurrentView()}componentDidUpdate(e){!e.isOpen&&this.props.isOpen&&this.trackCurrentView(),(this.props.isWelcomeGuideActive||this.props.areTipsEnabled)&&this.props.hideWelcomeGuide()}trackCurrentView(){(0,h.Fk)("add-page")}getDefaultSelectedCategory(){const e=this.getPatternCategories();return e?.length?e[0].slug:null}setPattern=e=>{(0,h.E2)(e);const{selectedCategory:t}=this.state;if(this.props.savePatternChoice(e,t),"blank"===e)return this.props.insertPattern("",[]),void this.props.onClose();const r=this.props.patterns.find((t=>t.name===e)),s=(r?.categories||{}).hasOwnProperty("home"),n=this.getBlocksForSelection(e),a=s?null:r?.title||"";n&&n.length?(this.props.insertPattern(a,n),this.props.onClose()):this.props.onClose()};handleCategorySelection=e=>{this.setState({selectedCategory:e})};closeModal=e=>{"blur"!==e?.type?((0,h.GI)(),this.props.onClose()):e.stopPropagation()};getBlocksByPatternSlug(e){return this.getFormattedPatternsByPatternSlugs(this.props.patterns)?.[e]?.blocks??[]}getPatternGroups=()=>{if(!this.props.patterns.length)return null;const e={};for(const t of this.props.patterns)for(const r in t.categories)r in e||(e[r]=t.categories[r]);return(0,u.x)(["featured","about","blog","home","gallery","services","contact"],e)};getPatternsForGroup=e=>{if(!this.props.patterns.length)return null;if("blank"===e)return[{name:"blank",title:"Blank",html:"",ID:null}];const t=[];for(const r of this.props.patterns)for(const s in r.categories)s===e&&t.push(r);return t};getPatternCategories=()=>{const e=this.getPatternGroups();if(!e)return null;const t=[];for(const r in e)t.push({slug:r,name:e[r].title});return t};renderPatternGroup=()=>{const{selectedCategory:e}=this.state;if(!e)return null;const t=this.getPatternsForGroup(e);return t?.length?this.renderPatternsList(t):null};renderPatternsList=e=>{if(!e.length)return null;const t=this.getFormattedPatternsByPatternSlugs(this.props.patterns),r=Object.keys(t),n=(a=r,e.filter((e=>a.includes(e.name))));var a;return n.length?(0,s.jsx)(_.Z,{label:(0,l.__)("Layout","jetpack-mu-wpcom"),patterns:n.map((e=>t[e.name])),onPatternSelect:this.setPattern}):null};render(){const{selectedCategory:e}=this.state,{isOpen:t,instanceId:r}=this.props;return t?(0,s.jsx)(a.Modal,{title:"",className:"page-pattern-modal",onRequestClose:this.closeModal,aria:{labelledby:`page-pattern-modal__heading-${r}`,describedby:`page-pattern-modal__description-${r}`},children:(0,s.jsxs)("div",{className:"page-pattern-modal__inner",children:[(0,s.jsxs)("div",{className:"page-pattern-modal__sidebar",children:[(0,s.jsx)("h1",{id:`page-pattern-modal__heading-${r}`,className:(0,c.Z)("page-pattern-modal__heading",{"page-pattern-modal__heading--default":!this.props.title}),children:this.props.title||(0,l.__)("Add a page","jetpack-mu-wpcom")}),(0,s.jsx)("p",{id:`page-pattern-modal__description-${r}`,className:"page-pattern-modal__description",children:this.props.description||(0,l.__)("Pick a pre-defined layout or start with a blank page.","jetpack-mu-wpcom")}),(0,s.jsxs)("div",{className:"page-pattern-modal__button-container",children:[(0,s.jsx)(a.Button,{variant:"secondary",onClick:()=>this.setPattern("blank"),className:"page-pattern-modal__blank-button",children:(0,l.__)("Blank page","jetpack-mu-wpcom")}),(0,s.jsx)("select",{className:"page-pattern-modal__mobile-category-dropdown",value:e??void 0,onChange:e=>this.handleCategorySelection(e.currentTarget.value),children:this.getPatternCategories()?.map((({slug:e,name:t})=>(0,s.jsx)("option",{value:e,children:t},e)))})]}),(0,s.jsx)(a.VisuallyHidden,{as:"h2",id:`page-pattern-modal__list-heading-${r}`,children:(0,l.__)("Page categories","jetpack-mu-wpcom")}),(0,s.jsx)(a.NavigableMenu,{className:"page-pattern-modal__category-list",orientation:"vertical","aria-labelledby":`page-pattern-modal__list-heading-${r}`,onNavigate:(e,t)=>this.handleCategorySelection(t.dataset.slug??null),children:this.getPatternCategories()?.map((({slug:t,name:r})=>(0,s.jsx)(w,{variant:"tertiary","aria-selected":t===e,"data-slug":t,onClick:()=>this.handleCategorySelection(t),className:"page-pattern-modal__category-button",tabIndex:t===e?void 0:-1,children:(0,s.jsx)("span",{className:"page-pattern-modal__category-item-selection-wrapper",children:r})},t)))})]}),(0,s.jsx)("div",{className:"page-pattern-modal__pattern-list-container",children:this.renderPatternGroup()})]})}):null}}const k=(0,o.withInstanceId)(f)},9314:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var s=r(275),n=r(2175),a=r(5609),o=r(4333),i=r(9307);const l=()=>{},c=(0,i.memo)((0,o.withInstanceId)((({instanceId:e,label:t,patterns:r=[],onPatternSelect:i=l})=>{const c=(0,o.useAsyncList)(r);return Array.isArray(r)&&r.length?(0,s.jsx)(a.BaseControl,{id:`pattern-selector-control__${e}`,label:t,className:"pattern-selector-control",children:(0,s.jsx)(n.__experimentalBlockPatternsList,{blockPatterns:r,shownPatterns:c,onClickPattern:e=>i(e.name)})}):null})))},6161:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});const s=function e(t){return!!t.find((t=>"core/missing"===t.name||!(!t.innerBlocks||!t.innerBlocks.length)&&e(t.innerBlocks)))}},217:(e,t,r)=>{"use strict";function s(e,t){const r=Object.keys(t),s=e.filter((e=>r.includes(e))),n=r.filter((t=>!e.includes(t)));return s.concat(n.sort()).reduce(((e,r)=>(e[r]=t[r],e)),{})}r.d(t,{x:()=>s})},1583:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var s=r(4981);const n=function e(t,r){return t.map((t=>((t=r((0,s.cloneBlock)(t))).innerBlocks&&t.innerBlocks.length&&(t.innerBlocks=e(t.innerBlocks,r)),t)))}},4087:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var s=r(5736);const n={Address:(0,s._x)("123 Main St","default address","jetpack-mu-wpcom"),Phone:(0,s._x)("555-555-5555","default phone number","jetpack-mu-wpcom"),CompanyName:(0,s._x)("Your Company Name","default company name","jetpack-mu-wpcom"),Vertical:(0,s._x)("Business","default vertical name","jetpack-mu-wpcom")},a={CompanyName:"title",Address:"address",Phone:"phone",Vertical:"vertical"};function o(e,t){return e in t}const i=(e,t={})=>e?e.replace(/{{(\w+)}}/g,((e,r)=>{const s=o(r,n)?n[r]:"",i=o(r,a)?a[r]:"";return t[i]||s||r})):""},5520:(e,t,r)=>{"use strict";r.d(t,{E2:()=>i,Fk:()=>a,GI:()=>o,Z:()=>n}),window._tkq=window._tkq||[];let s=null;const n=e=>{s=e,window._tkq.push(["identifyUser",e.userid,e.username])},a=e=>{s&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_view",{blog_id:s.blogid,source:e}])},o=()=>{s&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_dismiss",{blog_id:s.blogid}])},i=e=>{s&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_template_selected",{blog_id:s.blogid,pattern:e}])}},4561:(e,t,r)=>{"use strict";var s=r(9196),n=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var s,a={},c=null,p=null;for(s in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(p=t.ref),t)o.call(t,s)&&!l.hasOwnProperty(s)&&(a[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===a[s]&&(a[s]=t[s]);return{$$typeof:n,type:e,key:c,ref:p,props:a,_owner:i.current}}t.jsx=c,t.jsxs=c},275:(e,t,r)=>{"use strict";e.exports=r(4561)},9304:(e,t,r)=>{"use strict";r.d(t,{P:()=>g});var s=r(2674),n=r.n(s),a=r(290),o=r(9818),i=r(9307),l=r(2694),c=r(5736),p=r(638);r(462);const __=c.__,d="isInsertingPagePattern",u="automattic/full-site-editing/inserting-pattern";function g(e){const{setOpenState:t}=(0,o.useDispatch)(p.I),{setUsedPageOrPatternsModal:r}=(0,o.useDispatch)("automattic/wpcom-welcome-guide"),{replaceInnerBlocks:s}=(0,o.useDispatch)("core/block-editor"),{editPost:c}=(0,o.useDispatch)("core/editor"),{toggleFeature:g}=(0,o.useDispatch)("core/edit-post"),{disableTips:m}=(0,o.useDispatch)("core/nux"),h=(0,o.useSelect)((e=>{const{isOpen:t,isPatternPicker:r}=e(p.I);return{isOpen:t(),isWelcomeGuideActive:e("core/edit-post").isFeatureActive("welcomeGuide"),areTipsEnabled:!!e("core/nux")&&e("core/nux").areTipsEnabled(),...r()&&{title:__("Choose a Pattern","jetpack-mu-wpcom"),description:__("Pick a pre-defined layout or continue with a blank page","jetpack-mu-wpcom")}}}),[]),{getMeta:_,postContentBlock:w}=(0,o.useSelect)((e=>({getMeta:()=>e("core/editor").getEditedPostAttribute("meta"),postContentBlock:e("core/editor").getBlocks().find((e=>"a8c/post-content"===e.name))})),[]),f=(0,i.useCallback)(((e,t)=>{const r=_(),s=Array.isArray(r._wpcom_template_layout_category)&&r._wpcom_template_layout_category||[];c({meta:{...r,_starter_page_template:e,_wpcom_template_layout_category:[...s,t]}})}),[c,_]),k=(0,i.useCallback)(((e,t)=>{(0,l.addFilter)(d,u,(()=>!0)),e&&c({title:e}),s(w?w.clientId:"",t,!1),(0,l.removeFilter)(d,u)}),[c,w,s]),{isWelcomeGuideActive:y,areTipsEnabled:P}=h,b=(0,i.useCallback)((()=>{y?g("welcomeGuide"):P&&m()}),[P,m,y,g]),v=(0,i.useCallback)((()=>{t("CLOSED"),r?.()}),[t,r]);return React.createElement(a.Z,n()({},h,{onClose:v,savePatternChoice:f,insertPattern:k,hideWelcomeGuide:b},e))}},638:(e,t,r)=>{"use strict";r.d(t,{I:()=>n});var s=r(9818);const n=(0,s.createReduxStore)("automattic/starter-page-layouts",{reducer:(e="CLOSED",{type:t,...r})=>"SET_IS_OPEN"===t?r.openState:e,actions:{setOpenState:e=>({type:"SET_IS_OPEN",openState:e||"CLOSED"})},selectors:{isOpen:e=>"CLOSED"!==e,isPatternPicker:e=>"OPEN_FOR_BLANK_CANVAS"===e}});(0,s.register)(n)},9196:e=>{"use strict";e.exports=window.React},2819:e=>{"use strict";e.exports=window.lodash},2175:e=>{"use strict";e.exports=window.wp.blockEditor},4981:e=>{"use strict";e.exports=window.wp.blocks},5609:e=>{"use strict";e.exports=window.wp.components},4333:e=>{"use strict";e.exports=window.wp.compose},9818:e=>{"use strict";e.exports=window.wp.data},9307:e=>{"use strict";e.exports=window.wp.element},2694:e=>{"use strict";e.exports=window.wp.hooks},5736:e=>{"use strict";e.exports=window.wp.i18n},462:e=>{"use strict";e.exports=window.wp.nux},8817:e=>{"use strict";e.exports=window.wp.plugins},2674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";function s(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;tn});const n=function(){for(var e,t,r=0,n="",a=arguments.length;r{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=r(5520),t=r(9818),s=r(8817),n=r(9304),a=r(638);const{templates:o=[],tracksUserData:i,screenAction:l}=window.starterPageTemplatesConfig??{};i&&(0,e.Z)(i),"add"===l&&(0,t.dispatch)(a.I).setOpenState("OPEN_FROM_ADD_PAGE"),(0,s.registerPlugin)("page-patterns",{render:()=>React.createElement(n.P,{patterns:o}),icon:void 0})})()})(); \ No newline at end of file +(()=>{var e={90290:(e,t,r)=>{"use strict";r.d(t,{Z:()=>k});var s=r(30275),n=r(4981),a=r(55609),o=r(94333),i=r(69307),l=r(65736),c=r(3228),p=r(92819),d=r(36161),u=r(90217),g=r(31583),m=r(74087),h=r(65520),_=r(59314);const w=a.MenuItem;class f extends i.Component{constructor(e){super(e),this.state={selectedCategory:this.getDefaultSelectedCategory()}}getFormattedPatternsByPatternSlugs=(0,p.memoize)((e=>{const t=e.reduce(((e,{name:t,title:r="",description:s="",html:a,pattern_meta:o})=>{const i=o?.viewport_width?Number(o.viewport_width):1280;return e[t]={name:t,title:s||r,blocks:a?(0,n.parse)((0,m.Z)(a,this.props.siteInformation)):[],viewportWidth:Math.max(i,320)},e}),{});return this.filterPatternsWithMissingBlocks(t)}));filterPatternsWithMissingBlocks(e){return Object.entries(e).reduce(((e,[t,r])=>((0,d.Z)(r.blocks)&&r.blocks.length||(e[t]=r),e)),{})}getBlocksForSelection=e=>{const t=this.getBlocksByPatternSlug(e);return(0,g.Z)(t,(function(e){return"core/button"===e.name&&void 0!==e.attributes.url&&(e.attributes.url="#"),e}))};componentDidMount(){this.props.isOpen&&this.trackCurrentView()}componentDidUpdate(e){!e.isOpen&&this.props.isOpen&&this.trackCurrentView(),(this.props.isWelcomeGuideActive||this.props.areTipsEnabled)&&this.props.hideWelcomeGuide()}trackCurrentView(){(0,h.Fk)("add-page")}getDefaultSelectedCategory(){const e=this.getPatternCategories();return e?.length?e[0].slug:null}setPattern=e=>{(0,h.E2)(e);const{selectedCategory:t}=this.state;if(this.props.savePatternChoice(e,t),"blank"===e)return this.props.insertPattern("",[]),void this.props.onClose();const r=this.props.patterns.find((t=>t.name===e)),s=(r?.categories||{}).hasOwnProperty("home"),n=this.getBlocksForSelection(e),a=s?null:r?.title||"";n&&n.length?(this.props.insertPattern(a,n),this.props.onClose()):this.props.onClose()};handleCategorySelection=e=>{this.setState({selectedCategory:e})};closeModal=e=>{"blur"!==e?.type?((0,h.GI)(),this.props.onClose()):e.stopPropagation()};getBlocksByPatternSlug(e){return this.getFormattedPatternsByPatternSlugs(this.props.patterns)?.[e]?.blocks??[]}getPatternGroups=()=>{if(!this.props.patterns.length)return null;const e={};for(const t of this.props.patterns)for(const r in t.categories)r in e||(e[r]=t.categories[r]);return(0,u.x)(["featured","about","blog","home","gallery","services","contact"],e)};getPatternsForGroup=e=>{if(!this.props.patterns.length)return null;if("blank"===e)return[{name:"blank",title:"Blank",html:"",ID:null}];const t=[];for(const r of this.props.patterns)for(const s in r.categories)s===e&&t.push(r);return t};getPatternCategories=()=>{const e=this.getPatternGroups();if(!e)return null;const t=[];for(const r in e)t.push({slug:r,name:e[r].title});return t};renderPatternGroup=()=>{const{selectedCategory:e}=this.state;if(!e)return null;const t=this.getPatternsForGroup(e);return t?.length?this.renderPatternsList(t):null};renderPatternsList=e=>{if(!e.length)return null;const t=this.getFormattedPatternsByPatternSlugs(this.props.patterns),r=Object.keys(t),n=(a=r,e.filter((e=>a.includes(e.name))));var a;return n.length?(0,s.jsx)(_.Z,{label:(0,l.__)("Layout","jetpack-mu-wpcom"),patterns:n.map((e=>t[e.name])),onPatternSelect:this.setPattern}):null};render(){const{selectedCategory:e}=this.state,{isOpen:t,instanceId:r}=this.props;return t?(0,s.jsx)(a.Modal,{title:"",className:"page-pattern-modal",onRequestClose:this.closeModal,aria:{labelledby:`page-pattern-modal__heading-${r}`,describedby:`page-pattern-modal__description-${r}`},children:(0,s.jsxs)("div",{className:"page-pattern-modal__inner",children:[(0,s.jsxs)("div",{className:"page-pattern-modal__sidebar",children:[(0,s.jsx)("h1",{id:`page-pattern-modal__heading-${r}`,className:(0,c.Z)("page-pattern-modal__heading",{"page-pattern-modal__heading--default":!this.props.title}),children:this.props.title||(0,l.__)("Add a page","jetpack-mu-wpcom")}),(0,s.jsx)("p",{id:`page-pattern-modal__description-${r}`,className:"page-pattern-modal__description",children:this.props.description||(0,l.__)("Pick a pre-defined layout or start with a blank page.","jetpack-mu-wpcom")}),(0,s.jsxs)("div",{className:"page-pattern-modal__button-container",children:[(0,s.jsx)(a.Button,{variant:"secondary",onClick:()=>this.setPattern("blank"),className:"page-pattern-modal__blank-button",children:(0,l.__)("Blank page","jetpack-mu-wpcom")}),(0,s.jsx)("select",{className:"page-pattern-modal__mobile-category-dropdown",value:e??void 0,onChange:e=>this.handleCategorySelection(e.currentTarget.value),children:this.getPatternCategories()?.map((({slug:e,name:t})=>(0,s.jsx)("option",{value:e,children:t},e)))})]}),(0,s.jsx)(a.VisuallyHidden,{as:"h2",id:`page-pattern-modal__list-heading-${r}`,children:(0,l.__)("Page categories","jetpack-mu-wpcom")}),(0,s.jsx)(a.NavigableMenu,{className:"page-pattern-modal__category-list",orientation:"vertical","aria-labelledby":`page-pattern-modal__list-heading-${r}`,onNavigate:(e,t)=>this.handleCategorySelection(t.dataset.slug??null),children:this.getPatternCategories()?.map((({slug:t,name:r})=>(0,s.jsx)(w,{variant:"tertiary","aria-selected":t===e,"data-slug":t,onClick:()=>this.handleCategorySelection(t),className:"page-pattern-modal__category-button",tabIndex:t===e?void 0:-1,children:(0,s.jsx)("span",{className:"page-pattern-modal__category-item-selection-wrapper",children:r})},t)))})]}),(0,s.jsx)("div",{className:"page-pattern-modal__pattern-list-container",children:this.renderPatternGroup()})]})}):null}}const k=(0,o.withInstanceId)(f)},59314:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var s=r(30275),n=r(52175),a=r(55609),o=r(94333),i=r(69307);const l=()=>{},c=(0,i.memo)((0,o.withInstanceId)((({instanceId:e,label:t,patterns:r=[],onPatternSelect:i=l})=>{const c=(0,o.useAsyncList)(r);return Array.isArray(r)&&r.length?(0,s.jsx)(a.BaseControl,{id:`pattern-selector-control__${e}`,label:t,className:"pattern-selector-control",children:(0,s.jsx)(n.__experimentalBlockPatternsList,{blockPatterns:r,shownPatterns:c,onClickPattern:e=>i(e.name)})}):null})))},36161:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});const s=function e(t){return!!t.find((t=>"core/missing"===t.name||!(!t.innerBlocks||!t.innerBlocks.length)&&e(t.innerBlocks)))}},90217:(e,t,r)=>{"use strict";function s(e,t){const r=Object.keys(t),s=e.filter((e=>r.includes(e))),n=r.filter((t=>!e.includes(t)));return s.concat(n.sort()).reduce(((e,r)=>(e[r]=t[r],e)),{})}r.d(t,{x:()=>s})},31583:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var s=r(4981);const n=function e(t,r){return t.map((t=>((t=r((0,s.cloneBlock)(t))).innerBlocks&&t.innerBlocks.length&&(t.innerBlocks=e(t.innerBlocks,r)),t)))}},74087:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var s=r(65736);const n={Address:(0,s._x)("123 Main St","default address","jetpack-mu-wpcom"),Phone:(0,s._x)("555-555-5555","default phone number","jetpack-mu-wpcom"),CompanyName:(0,s._x)("Your Company Name","default company name","jetpack-mu-wpcom"),Vertical:(0,s._x)("Business","default vertical name","jetpack-mu-wpcom")},a={CompanyName:"title",Address:"address",Phone:"phone",Vertical:"vertical"};function o(e,t){return e in t}const i=(e,t={})=>e?e.replace(/{{(\w+)}}/g,((e,r)=>{const s=o(r,n)?n[r]:"",i=o(r,a)?a[r]:"";return t[i]||s||r})):""},65520:(e,t,r)=>{"use strict";r.d(t,{E2:()=>i,Fk:()=>a,GI:()=>o,Z:()=>n}),window._tkq=window._tkq||[];let s=null;const n=e=>{s=e,window._tkq.push(["identifyUser",e.userid,e.username])},a=e=>{s&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_view",{blog_id:s.blogid,source:e}])},o=()=>{s&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_dismiss",{blog_id:s.blogid}])},i=e=>{s&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_template_selected",{blog_id:s.blogid,pattern:e}])}},24561:(e,t,r)=>{"use strict";var s=r(99196),n=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var s,a={},c=null,p=null;for(s in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(p=t.ref),t)o.call(t,s)&&!l.hasOwnProperty(s)&&(a[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===a[s]&&(a[s]=t[s]);return{$$typeof:n,type:e,key:c,ref:p,props:a,_owner:i.current}}t.jsx=c,t.jsxs=c},30275:(e,t,r)=>{"use strict";e.exports=r(24561)},39304:(e,t,r)=>{"use strict";r.d(t,{P:()=>g});var s=r(82674),n=r.n(s),a=r(90290),o=r(9818),i=r(69307),l=r(92694),c=r(65736),p=r(60638);r(40462);const __=c.__,d="isInsertingPagePattern",u="automattic/full-site-editing/inserting-pattern";function g(e){const{setOpenState:t}=(0,o.useDispatch)(p.I),{setUsedPageOrPatternsModal:r}=(0,o.useDispatch)("automattic/wpcom-welcome-guide"),{replaceInnerBlocks:s}=(0,o.useDispatch)("core/block-editor"),{editPost:c}=(0,o.useDispatch)("core/editor"),{toggleFeature:g}=(0,o.useDispatch)("core/edit-post"),{disableTips:m}=(0,o.useDispatch)("core/nux"),h=(0,o.useSelect)((e=>{const{isOpen:t,isPatternPicker:r}=e(p.I);return{isOpen:t(),isWelcomeGuideActive:e("core/edit-post").isFeatureActive("welcomeGuide"),areTipsEnabled:!!e("core/nux")&&e("core/nux").areTipsEnabled(),...r()&&{title:__("Choose a Pattern","jetpack-mu-wpcom"),description:__("Pick a pre-defined layout or continue with a blank page","jetpack-mu-wpcom")}}}),[]),{getMeta:_,postContentBlock:w}=(0,o.useSelect)((e=>({getMeta:()=>e("core/editor").getEditedPostAttribute("meta"),postContentBlock:e("core/editor").getBlocks().find((e=>"a8c/post-content"===e.name))})),[]),f=(0,i.useCallback)(((e,t)=>{const r=_(),s=Array.isArray(r._wpcom_template_layout_category)&&r._wpcom_template_layout_category||[];c({meta:{...r,_starter_page_template:e,_wpcom_template_layout_category:[...s,t]}})}),[c,_]),k=(0,i.useCallback)(((e,t)=>{(0,l.addFilter)(d,u,(()=>!0)),e&&c({title:e}),s(w?w.clientId:"",t,!1),(0,l.removeFilter)(d,u)}),[c,w,s]),{isWelcomeGuideActive:y,areTipsEnabled:P}=h,b=(0,i.useCallback)((()=>{y?g("welcomeGuide"):P&&m()}),[P,m,y,g]),v=(0,i.useCallback)((()=>{t("CLOSED"),r?.()}),[t,r]);return React.createElement(a.Z,n()({},h,{onClose:v,savePatternChoice:f,insertPattern:k,hideWelcomeGuide:b},e))}},60638:(e,t,r)=>{"use strict";r.d(t,{I:()=>n});var s=r(9818);const n=(0,s.createReduxStore)("automattic/starter-page-layouts",{reducer:(e="CLOSED",{type:t,...r})=>"SET_IS_OPEN"===t?r.openState:e,actions:{setOpenState:e=>({type:"SET_IS_OPEN",openState:e||"CLOSED"})},selectors:{isOpen:e=>"CLOSED"!==e,isPatternPicker:e=>"OPEN_FOR_BLANK_CANVAS"===e}});(0,s.register)(n)},99196:e=>{"use strict";e.exports=window.React},92819:e=>{"use strict";e.exports=window.lodash},52175:e=>{"use strict";e.exports=window.wp.blockEditor},4981:e=>{"use strict";e.exports=window.wp.blocks},55609:e=>{"use strict";e.exports=window.wp.components},94333:e=>{"use strict";e.exports=window.wp.compose},9818:e=>{"use strict";e.exports=window.wp.data},69307:e=>{"use strict";e.exports=window.wp.element},92694:e=>{"use strict";e.exports=window.wp.hooks},65736:e=>{"use strict";e.exports=window.wp.i18n},40462:e=>{"use strict";e.exports=window.wp.nux},98817:e=>{"use strict";e.exports=window.wp.plugins},82674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";function s(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;tn});const n=function(){for(var e,t,r=0,n="",a=arguments.length;r{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=r(65520),t=r(9818),s=r(98817),n=r(39304),a=r(60638);const{templates:o=[],tracksUserData:i,screenAction:l}=window.starterPageTemplatesConfig??{};i&&(0,e.Z)(i),"add"===l&&(0,t.dispatch)(a.I).setOpenState("OPEN_FROM_ADD_PAGE"),(0,s.registerPlugin)("page-patterns",{render:()=>React.createElement(n.P,{patterns:o}),icon:void 0})})()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.asset.php index 694d8ba6..4ccfc210 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => '80a84a33556ea292a940'); + array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => 'c6453852b2daaf98e3f1'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.js b/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.js index 853fdec9..8aa429b1 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.js @@ -1,2 +1,2 @@ /*! For license information please see tags-education.js.LICENSE.txt */ -(()=>{var e={3625:(e,t,n)=>{"use strict";n.d(t,{bU:()=>u,v8:()=>a});var r=n(275),s=n(4333),o=n(5736),i=n(9196);const c=(0,i.createContext)(null);function a(){return function(e=""){if(!e)return"";const t=e.toLowerCase();return(["pt_br","pt-br","zh_tw","zh-tw","zh_cn","zh-cn","zh_sg","zh-sg"].includes(t)?t.replace("_","-"):t.replace(/([-_].*)$/i,""))||"en"}(function(){const e=o.getLocaleData()||{};return e[""]?.lang||e[""]?.language||""}())}function u(){const e=(0,i.useContext)(c),t=!!e,[n,r]=(0,i.useState)(a());return(0,i.useEffect)((()=>{if(!t)return r(a()),o.subscribe((()=>{r(a())}))}),[t]),e||n||"undefined"!=typeof window&&window._currentUserLocale||"en"}(0,s.createHigherOrderComponent)((e=>t=>{const n={...t,locale:u()};return(0,r.jsx)(e,{...n})}),"withLocale")},560:(e,t,n)=>{"use strict";n.d(t,{GG:()=>r,Xb:()=>u,_r:()=>h,dH:()=>s,hI:()=>d,iT:()=>o,kV:()=>c,mL:()=>p,vS:()=>l,xh:()=>a,xn:()=>i});const r=["en","ja","es","pt","fr","pt-br"],s=["en","pt-br","de","es","fr","it"],o=["en","fr","de","es"],i=["en","fr","de","es"],c=["en","es"],a=["ar","de","el","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"],u={"pt-br":"br",br:"bre",zh:"zh-cn","zh-hk":"zh-tw","zh-sg":"zh-cn",kr:"ko"},d=["ar","de","en","es","fr","he","id","it","ja","ko","nl","pt-br","ru","sv","tr","zh-cn","zh-tw"],p=["ar","de","el","en","es","fa","fi","fr","id","it","ja","nl","pt","pt-br","ru","sv","th","tl","tr"],l=["es","pt-br","de","fr","he","ja","it","nl","ru","tr","id","zh-cn","zh-tw","ko","ar","sv"],h=["en","ar","de","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"]},2442:(e,t,n)=>{"use strict";n.d(t,{aq:()=>m});var r=n(275),s=n(4333),o=n(9196),i=n(3625),c=n(560);const a="http://__domain__.invalid";const u=(e,t=[])=>(n,r)=>(t.includes(r)&&"en"!==r&&n.pathname.substr(0,r.length+2)!=="/"+r+"/"&&(n.host=`${c.Xb[r]||r}.${e}`),n),d=(e,t=[],n=null)=>(r,s)=>(r.host="wordpress.com","object"==typeof n&&n instanceof RegExp&&!n.test(r.pathname)&&(t=[]),r.pathname=e+r.pathname,t.includes(s)&&"en"!==s&&(r.pathname=s+r.pathname),r),p=(e=[],t=null,n)=>(r,s)=>"object"==typeof t&&t instanceof RegExp&&!t.test(r.pathname)?r:e.includes(s)&&"en"!==s?("prefix"===n?r.pathname=s+r.pathname:"suffix"===n&&(r.pathname.endsWith("/")?r.pathname+=s+"/":r.pathname+="/"+s),r):r,l=(e=[],t=null)=>(n,r)=>p(e,t,"prefix")(n,r),h=(e=[],t=null)=>(n,r)=>p(e,t,"suffix")(n,r),g={"wordpress.com/support/":l(c.hI),"wordpress.com/forums/":l(c.mL),"wordpress.com/blog/":l(c.GG,/^\/blog\/?$/),"wordpress.com/go/":(e,t)=>["/go/","/go"].includes(e.pathname)||"es"===t?l(c.dH)(e,t):e,"wordpress.com/pricing/":l(c.xh),"wordpress.com/tos/":l(c.vS),"wordpress.com/wp-admin/":u("wordpress.com",c.vS),"wordpress.com/wp-login.php":u("wordpress.com",c.vS),"jetpack.com":l(c._r),"cloud.jetpack.com":l(c._r),"en.support.wordpress.com":d("/support",c.hI),"en.blog.wordpress.com":d("/blog",c.GG,/^\/$/),"apps.wordpress.com":l(c.vS),"en.forums.wordpress.com":d("/forums",c.mL),"automattic.com/privacy/":l(c.iT),"automattic.com/cookies/":l(c.xn),"wordpress.com/help/contact/":(e,t,n)=>n?e:(e.pathname=e.pathname.replace(/\/help\//,"/support/"),l(c.hI)(e,t)),"wordpress.com":(e,t)=>/^\/(checkout|me)(\/|$)/.test(e.pathname)||/\/([a-z0-9-]+\.)+[a-z]{2,}\/?$/.test(e.pathname)?e:l(c.vS)(e,t),"wordpress.com/theme/":(e,t,n)=>n?e:l(c.vS)(e,t),"wordpress.com/themes/":(e,t,n)=>n?e:l(c.vS)(e,t),"wordpress.com/plugins/":(e,t,n)=>n?e:l(c.vS)(e,t),"wordpress.com/log-in/":(e,t,n)=>n?e:h(c.vS)(e,t),"wordpress.com/start/":(e,t,n)=>n?e:h(c.vS)(e,t),"wordpress.com/learn/":(e,t)=>e.pathname.includes("/learn/webinars/")&&"es"===t?(e.pathname=e.pathname.replace("/learn/webinars/","/learn/es/webinars/"),e):h(c.kV)(e,t),"wordpress.com/plans/":(e,t,n)=>n||"/plans/"!==e.pathname?e:l(c.xh)(e,t),"wordpress.com/setup/":(e,t,n)=>n?e:h(c.vS)(e,t)};function f(e){try{return new URL(String(e),a).pathname.endsWith("/")}catch(e){return!1}}function m(e,t=function(){return(0,i.v8)()??"en"}(),n=!0,r=!1){let s;try{s=new URL(String(e),a)}catch(t){return e}if(s.origin===a)return e;s.protocol="https:",s.pathname.endsWith(".php")||(s.pathname=(s.pathname+"/").replace(/\/+$/,"/"));const o=s.pathname.substr(0,1+s.pathname.indexOf("/",1));if("en.wordpress.com"===s.host&&(s.host="wordpress.com"),"/"+t+"/"===o)return e;const c=[s.host,s.host+o,s.host+s.pathname];for(let o=c.length-1;o>=0;o--)if(c[o]in g){const i=g[c[o]](s,t,n).href;if(!r)return i;try{const t=new URL(i);return f(e)||(t.pathname=t.pathname.replace(/\/+$/,"")),t.href}catch{return i}}return e}function w(){const e=(0,i.bU)();return(0,o.useCallback)(((t,n,r,s)=>m(t,n||e,r,s)),[e])}(0,s.createHigherOrderComponent)((e=>t=>{const n={...t,localizeUrl:w()};return(0,r.jsx)(e,{...n})}),"withLocalizeUrl")},951:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(s=r))})),t.splice(s,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(1741)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1741:(e,t,n)=>{e.exports=function(e){function t(e){let n,s,o,i=null;function c(...e){if(!c.enabled)return;const r=c,s=Number(new Date),o=s-(n||s);r.diff=o,r.prev=n,r.curr=s,n=s,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,s)=>{if("%%"===n)return"%";i++;const o=t.formatters[s];if("function"==typeof o){const t=e[i];n=o.call(r,t),e.splice(i,1),i--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=r,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(s!==t.namespaces&&(s=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(c),c}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),s=r.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{var t=1e3,n=60*t,r=60*n,s=24*r,o=7*s,i=365.25*s;function c(e,t,n,r){var s=t>=1.5*n;return Math.round(e/n)+" "+r+(s?"s":"")}e.exports=function(e,a){a=a||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!c)return;var a=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*i;case"weeks":case"week":case"w":return a*o;case"days":case"day":case"d":return a*s;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===u&&isFinite(e))return a.long?function(e){var o=Math.abs(e);if(o>=s)return c(e,o,s,"day");if(o>=r)return c(e,o,r,"hour");if(o>=n)return c(e,o,n,"minute");if(o>=t)return c(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=s)return Math.round(e/s)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},4561:(e,t,n)=>{"use strict";var r=n(9196),s=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,d=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(d=t.ref),t)i.call(t,r)&&!a.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:s,type:e,key:u,ref:d,props:o,_owner:c.current}}t.jsx=u},275:(e,t,n)=>{"use strict";e.exports=n(4561)},6975:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(951);const s=n.n(r)()("dops:analytics");let o,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,n){c.setUser(e,t),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){o=e},assignSuperProps:function(e){o=Object.assign(o||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);s("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);s("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Built stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,s,o,i){c.ga.recordPurchase(e,t,n,r,s,o,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(o&&(s("- Super Props: %o",o),t=Object.assign(t,o)),s('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):s('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){s("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),s("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){c.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),s(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,s,o,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:s,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},a=c},4743:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>p});var r=n(1132),s=n(6483);function o(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const i=o("JsonParseError"),c=o("JsonParseAfterRedirectError"),a=o("Api404Error"),u=o("Api404AfterRedirectError"),d=o("FetchNetworkError");const p=new function(e,t){let n=e,o=e,i={"X-WP-Nonce":t},c={credentials:"same-origin",headers:i},a={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},u=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",r=n.length?n.split("&"):[];return r.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+r.join("&")};const d={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){o=e},setApiNonce(e){i={"X-WP-Nonce":e},c={credentials:"same-origin",headers:i},a={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{u=e},registerSite:(e,t,s)=>{const o={registration_nonce:e,no_iframe:!0};return(0,r.jetpackConfigHas)("consumer_slug")&&(o.plugin_slug=(0,r.jetpackConfigGet)("consumer_slug")),null!==t&&(o.redirect_uri=t),s&&(o.from=s),g(`${n}jetpack/v4/connection/register`,a,{body:JSON.stringify(o)}).then(l).then(h)},fetchAuthorizationUrl:e=>p((0,s.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),c).then(l).then(h),fetchSiteConnectionData:()=>p(`${n}jetpack/v4/connection/data`,c).then(h),fetchSiteConnectionStatus:()=>p(`${n}jetpack/v4/connection`,c).then(h),fetchSiteConnectionTest:()=>p(`${n}jetpack/v4/connection/test`,c).then(l).then(h),fetchUserConnectionData:()=>p(`${n}jetpack/v4/connection/data`,c).then(h),fetchUserTrackingSettings:()=>p(`${n}jetpack/v4/tracking/settings`,c).then(l).then(h),updateUserTrackingSettings:e=>g(`${n}jetpack/v4/tracking/settings`,a,{body:JSON.stringify(e)}).then(l).then(h),disconnectSite:()=>g(`${n}jetpack/v4/connection`,a,{body:JSON.stringify({isActive:!1})}).then(l).then(h),fetchConnectUrl:()=>p(`${n}jetpack/v4/connection/url`,c).then(l).then(h),unlinkUser:()=>g(`${n}jetpack/v4/connection/user`,a,{body:JSON.stringify({linked:!1})}).then(l).then(h),reconnect:()=>g(`${n}jetpack/v4/connection/reconnect`,a).then(l).then(h),fetchConnectedPlugins:()=>p(`${n}jetpack/v4/connection/plugins`,c).then(l).then(h),setHasSeenWCConnectionModal:()=>g(`${n}jetpack/v4/seen-wc-connection-modal`,a).then(l).then(h),fetchModules:()=>p(`${n}jetpack/v4/module/all`,c).then(l).then(h),fetchModule:e=>p(`${n}jetpack/v4/module/${e}`,c).then(l).then(h),activateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!0})}).then(l).then(h),deactivateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>g(`${n}jetpack/v4/module/${e}`,a,{body:JSON.stringify(t)}).then(l).then(h),updateSettings:e=>g(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(l).then(h),getProtectCount:()=>p(`${n}jetpack/v4/module/protect/data`,c).then(l).then(h),resetOptions:e=>g(`${n}jetpack/v4/options/${e}`,a,{body:JSON.stringify({reset:!0})}).then(l).then(h),activateVaultPress:()=>g(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(l).then(h),getVaultPressData:()=>p(`${n}jetpack/v4/module/vaultpress/data`,c).then(l).then(h),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),g(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify(r)}).then(l).then(h)},activateAkismet:()=>g(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(l).then(h),getAkismetData:()=>p(`${n}jetpack/v4/module/akismet/data`,c).then(l).then(h),checkAkismetKey:()=>p(`${n}jetpack/v4/module/akismet/key/check`,c).then(l).then(h),checkAkismetKeyTyped:e=>g(`${n}jetpack/v4/module/akismet/key/check`,a,{body:JSON.stringify({api_key:e})}).then(l).then(h),fetchStatsData:e=>p(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),c).then(l).then(h).then(m),getPluginUpdates:()=>p(`${n}jetpack/v4/updates/plugins`,c).then(l).then(h),getPlans:()=>p(`${n}jetpack/v4/plans`,c).then(l).then(h),fetchSettings:()=>p(`${n}jetpack/v4/settings`,c).then(l).then(h),updateSetting:e=>g(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(l).then(h),fetchSiteData:()=>p(`${n}jetpack/v4/site`,c).then(l).then(h).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>p(`${n}jetpack/v4/site/features`,c).then(l).then(h).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>p(`${n}jetpack/v4/site/products`,c).then(l).then(h),fetchSitePurchases:()=>p(`${n}jetpack/v4/site/purchases`,c).then(l).then(h).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>p(`${n}jetpack/v4/site/benefits`,c).then(l).then(h).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>p(`${n}jetpack/v4/site/discount`,c).then(l).then(h).then((e=>e.data)),fetchSetupQuestionnaire:()=>p(`${n}jetpack/v4/setup/questionnaire`,c).then(l).then(h),fetchRecommendationsData:()=>p(`${n}jetpack/v4/recommendations/data`,c).then(l).then(h),fetchRecommendationsProductSuggestions:()=>p(`${n}jetpack/v4/recommendations/product-suggestions`,c).then(l).then(h),fetchRecommendationsUpsell:()=>p(`${n}jetpack/v4/recommendations/upsell`,c).then(l).then(h),fetchRecommendationsConditional:()=>p(`${n}jetpack/v4/recommendations/conditional`,c).then(l).then(h),saveRecommendationsData:e=>g(`${n}jetpack/v4/recommendations/data`,a,{body:JSON.stringify({data:e})}).then(l),fetchProducts:()=>p(`${n}jetpack/v4/products`,c).then(l).then(h),fetchRewindStatus:()=>p(`${n}jetpack/v4/rewind`,c).then(l).then(h).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>p(`${n}jetpack/v4/scan`,c).then(l).then(h).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>g(`${n}jetpack/v4/notice/${e}`,a,{body:JSON.stringify({dismissed:!0})}).then(l).then(h),fetchPluginsData:()=>p(`${n}jetpack/v4/plugins`,c).then(l).then(h),fetchIntroOffers:()=>p(`${n}jetpack/v4/intro-offers`,c).then(l).then(h),fetchVerifySiteGoogleStatus:e=>p(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,c).then(l).then(h),verifySiteGoogle:e=>g(`${n}jetpack/v4/verify-site/google`,a,{body:JSON.stringify({keyring_id:e})}).then(l).then(h),submitSurvey:e=>g(`${n}jetpack/v4/marketing/survey`,a,{body:JSON.stringify(e)}).then(l).then(h),saveSetupQuestionnaire:e=>g(`${n}jetpack/v4/setup/questionnaire`,a,{body:JSON.stringify(e)}).then(l).then(h),updateLicensingError:e=>g(`${n}jetpack/v4/licensing/error`,a,{body:JSON.stringify(e)}).then(l).then(h),updateLicenseKey:e=>g(`${n}jetpack/v4/licensing/set-license`,a,{body:JSON.stringify({license:e})}).then(l).then(h),getUserLicensesCounts:()=>p(`${n}jetpack/v4/licensing/user/counts`,c).then(l).then(h),getUserLicenses:()=>p(`${n}jetpack/v4/licensing/user/licenses`,c).then(l).then(h),updateLicensingActivationNoticeDismiss:e=>g(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,a,{body:JSON.stringify({last_detached_count:e})}).then(l).then(h),updateRecommendationsStep:e=>g(`${n}jetpack/v4/recommendations/step`,a,{body:JSON.stringify({step:e})}).then(l),confirmIDCSafeMode:()=>g(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,a).then(l),startIDCFresh:e=>g(`${n}jetpack/v4/identity-crisis/start-fresh`,a,{body:JSON.stringify({redirect_uri:e})}).then(l).then(h),migrateIDC:()=>g(`${n}jetpack/v4/identity-crisis/migrate`,a).then(l),attachLicenses:e=>g(`${n}jetpack/v4/licensing/attach-licenses`,a,{body:JSON.stringify({licenses:e})}).then(l).then(h),fetchSearchPlanInfo:()=>p(`${o}jetpack/v4/search/plan`,c).then(l).then(h),fetchSearchSettings:()=>p(`${o}jetpack/v4/search/settings`,c).then(l).then(h),updateSearchSettings:e=>g(`${o}jetpack/v4/search/settings`,a,{body:JSON.stringify(e)}).then(l).then(h),fetchSearchStats:()=>p(`${o}jetpack/v4/search/stats`,c).then(l).then(h),fetchWafSettings:()=>p(`${n}jetpack/v4/waf`,c).then(l).then(h),updateWafSettings:e=>g(`${n}jetpack/v4/waf`,a,{body:JSON.stringify(e)}).then(l).then(h),fetchWordAdsSettings:()=>p(`${n}jetpack/v4/wordads/settings`,c).then(l).then(h),updateWordAdsSettings:e=>g(`${n}jetpack/v4/wordads/settings`,a,{body:JSON.stringify(e)}),fetchSearchPricing:()=>p(`${o}jetpack/v4/search/pricing`,c).then(l).then(h),fetchMigrationStatus:()=>p(`${n}jetpack/v4/migration/status`,c).then(l).then(h),fetchBackupUndoEvent:()=>p(`${n}jetpack/v4/site/backup/undo-event`,c).then(l).then(h),fetchBackupPreflightStatus:()=>p(`${n}jetpack/v4/site/backup/preflight`,c).then(l).then(h)};function p(e,t){return fetch(u(e),t)}function g(e,t,n){return fetch(e,Object.assign({},t,n)).catch(f)}function m(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,d)};function l(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new u(e.redirected):new a})):e.json().catch((e=>g(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function h(e){return e.json().catch((t=>g(t,e.redirected,e.url)))}function g(e,t,n){throw t?new c(n):new i}function f(){throw new d}},1132:(e,t,n)=>{let r={};try{r=n(6354)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}const s=e=>r.hasOwnProperty(e);e.exports={jetpackConfigHas:s,jetpackConfigGet:e=>{if(!s(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return r[e]}}},1294:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(4743),s=n(9818),o=n(9196),i=n(428);const c=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},a=({registrationNonce:e=c.registrationNonce,apiRoot:t=c.apiRoot,apiNonce:n=c.apiNonce,redirectUri:a,autoTrigger:u,from:d,skipUserConnection:p}={})=>{const{registerSite:l,connectUser:h,refreshConnectedPlugins:g}=(0,s.useDispatch)(i.t),f=(0,s.useSelect)((e=>e(i.t).getRegistrationError())),{siteIsRegistering:m,userIsConnecting:w,userConnectionData:C,connectedPlugins:y,connectionErrors:v,isRegistered:k,isUserConnected:S,hasConnectedOwner:_,isOfflineMode:E}=(0,s.useSelect)((e=>({siteIsRegistering:e(i.t).getSiteIsRegistering(),userIsConnecting:e(i.t).getUserIsConnecting(),userConnectionData:e(i.t).getUserConnectionData(),connectedPlugins:e(i.t).getConnectedPlugins(),connectionErrors:e(i.t).getConnectionErrors(),isOfflineMode:e(i.t).getIsOfflineMode(),...e(i.t).getConnectionStatus()}))),j=()=>p?a?(window.location=a,Promise.resolve(a)):Promise.resolve():h({from:d,redirectUri:a}),b=t=>(t&&t.preventDefault(),k?j():l({registrationNonce:e,redirectUri:a,from:d}).then((()=>j())));return(0,o.useEffect)((()=>{r.ZP.setApiRoot(t),r.ZP.setApiNonce(n)}),[t,n]),(0,o.useEffect)((()=>{!u||m||w||b()}),[]),{handleRegisterSite:b,handleConnectUser:j,refreshConnectedPlugins:g,isRegistered:k,isUserConnected:S,siteIsRegistering:m,userIsConnecting:w,registrationError:f,userConnectionData:C,hasConnectedOwner:_,connectedPlugins:y,connectionErrors:v,isOfflineMode:E}}},7523:(e,t,n)=>{"use strict";n.d(t,{LI:()=>o,N4:()=>c,Qo:()=>p,T1:()=>u,TS:()=>d,ZP:()=>S,b5:()=>h,i6:()=>s,qJ:()=>g,qV:()=>a,r7:()=>i,wQ:()=>l});var r=n(4743);const s="SET_CONNECTION_STATUS",o="SET_CONNECTION_STATUS_IS_FETCHING",i="SET_SITE_IS_REGISTERING",c="SET_USER_IS_CONNECTING",a="SET_REGISTRATION_ERROR",u="CLEAR_REGISTRATION_ERROR",d="SET_AUTHORIZATION_URL",p="DISCONNECT_USER_SUCCESS",l="SET_CONNECTED_PLUGINS",h="SET_CONNECTION_ERRORS",g="SET_IS_OFFLINE_MODE",f=e=>({type:s,connectionStatus:e}),m=e=>({type:i,isRegistering:e}),w=e=>({type:c,isConnecting:e}),C=e=>({type:a,registrationError:e}),y=()=>({type:u}),v=e=>({type:d,authorizationUrl:e}),k=e=>({type:l,connectedPlugins:e});const S={setConnectionStatus:f,setConnectionStatusIsFetching:e=>({type:o,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:m,setUserIsConnecting:w,setRegistrationError:C,clearRegistrationError:y,setAuthorizationUrl:v,registerSite:function*({registrationNonce:e,redirectUri:t,from:n=""}){yield y(),yield m(!0);try{const r=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t,from:n};return yield f({isRegistered:!0}),yield v(r.authorizeUrl),yield m(!1),Promise.resolve(r)}catch(e){return yield C(e),yield m(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:n}={}){yield w(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:n}},disconnectUserSuccess:()=>({type:p}),setConnectedPlugins:k,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>r.ZP.fetchConnectedPlugins().then((n=>{e(k(n)),t(n)})))),setConnectionErrors:e=>({type:h,connectionErrors:e}),setIsOfflineMode:e=>({type:g,isOfflineMode:e})}},1432:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(4743),s=n(9818),o=n(7057);const i={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>r.ZP.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t,from:n})=>r.ZP.registerSite(e,t,n),CONNECT_USER:(0,s.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:n,redirectUri:r}={})=>new Promise(((s,i)=>{e(o.Z).getAuthorizationUrl(r).then((e=>{const r=n||(e=>window.location.assign(e)),o=new URL(e);t&&o.searchParams.set("from",encodeURIComponent(t));const i=o.toString();r(i),s(i)})).catch((e=>{i(e)}))}))))}},1479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9818),s=n(7523);const o=(0,r.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case s.i6:return{...e,...t.connectionStatus};case s.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===s.LI?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===s.r7?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===s.N4?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case s.T1:return!1;case s.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===s.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===s.wQ?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===s.b5?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===s.qJ?t.isConnecting:e})},7728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9818),s=n(7523),o=n(7057);const i={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const n=Boolean(e.authorizationUrl),s=(0,r.select)(o.Z).hasFinishedResolution("getAuthorizationUrl",t);return n&&!s&&(0,r.dispatch)(o.Z).finishResolution("getAuthorizationUrl",t),n},*fulfill(e){const t=yield s.ZP.fetchAuthorizationUrl(e);yield s.ZP.setAuthorizationUrl(t.authorizeUrl)}}}}},2725:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},1253:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9818);class s{static store=null;static mayBeInit(e,t){null===s.store&&(s.store=(0,r.createReduxStore)(e,t),(0,r.register)(s.store))}}const o=s},7057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="jetpack-connection"},428:(e,t,n)=>{"use strict";n.d(t,{t:()=>u.Z});var r=n(7523),s=n(1432),o=n(1479),i=n(7728),c=n(2725),a=n(1253),u=n(7057);const d=window.JP_CONNECTION_INITIAL_STATE;d||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),a.Z.mayBeInit(u.Z,{__experimentalUseThunks:!0,reducer:o.Z,actions:r.ZP,selectors:c.Z,resolvers:i.Z,controls:s.Z,initialState:d||{}})},3419:(e,t,n)=>{"use strict";n.d(t,{z$:()=>r.Z});n(6714),n(354),n(5404);var r=n(1053);n(1380),n(6342),n(6959),n(9058)},6342:(e,t,n)=>{"use strict";n(9196)},6959:(e,t,n)=>{"use strict";n(9307)},1053:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(6975),s=n(1294),o=n(9307);const{tracks:i}=r.Z,{recordEvent:c}=i,a=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:a={}}={})=>{const[u,d]=(0,o.useState)(!1),{isUserConnected:p,isRegistered:l,userConnectionData:h={}}=(0,s.Z)(),{wpcomUser:{login:g,ID:f}={},blogId:m}=h.currentUser||{},w=(0,o.useCallback)((async(e,t={})=>{p&&f&&g&&c(e,t)}),[p,f,g]);return(0,o.useEffect)((()=>{p&&f&&g&&m&&r.Z.initialize(f,g,{blog_id:m})}),[m,f,g,p]),(0,o.useEffect)((()=>{const r=e?`${t}_${e}_${n}`:null;l&&r&&(u||(w(r,a),d(!0)))}),[u,t,e,n,l,a,w]),{recordEvent:w,tracks:i}}},1380:(e,t,n)=>{"use strict";n(9818),n(9307),n(9058)},4166:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>l,rW:()=>p});var r=n(9818),s=n(9505),o=n(2162),i=n(9058);const c="SET_JETPACK_MODULES",a="SET_MODULE_UPDATING";function u(e){return p({isLoading:e})}function d(e,t){return{type:a,name:e,isUpdating:t}}function p(e){return{type:c,options:e}}const l={updateJetpackModuleStatus:function*(e){try{yield d(e.name,!0),yield(0,o.zL)(e);const t=yield(0,o.Bs)();return yield p({data:t}),!0}catch(e){const t=(0,r.select)(i.p).getJetpackModules();return yield p(t),!1}finally{yield d(e.name,!1)}},setJetpackModules:p,fetchModules:function*(){if((0,s.Wp)())return!0;try{yield u(!0);const e=yield(0,o.Bs)();return yield p({data:e}),!0}catch(e){const t=(0,r.select)(i.p).getJetpackModules();return yield p(t),!1}finally{yield u(!1)}}}},2162:(e,t,n)=>{"use strict";n.d(t,{Bs:()=>c,ZP:()=>u,zL:()=>a});var r=n(6989),s=n.n(r);const o="FETCH_JETPACK_MODULES",i="UPDATE_JETPACK_MODULE_STATUS",c=()=>({type:o}),a=e=>({type:i,settings:e}),u={[o]:function(){return s()({path:"/jetpack/v4/module/all",method:"GET"})},[i]:function({settings:e}){return s()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},9058:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var r=n(9818),s=n(4166),o=n(2162),i=n(2469),c=n(5133),a=n(3524);const u="jetpack-modules",d=(0,r.createReduxStore)(u,{reducer:i.Z,actions:s.ZP,controls:o.ZP,resolvers:c.Z,selectors:a.Z});(0,r.register)(d);const p=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==p&&(0,r.dispatch)(u).setJetpackModules({data:{...p}})},2469:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});const r={isLoading:!1,isUpdating:{},data:{}},s=(e=r,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},5133:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(4166),s=n(2162);const o={getJetpackModules:function*(){try{const e=yield(0,s.Bs)();if(e)return(0,r.rW)({data:e})}catch(e){console.error(e)}}}},3524:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(9505);const s={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,r.Wp)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},5404:(e,t,n)=>{"use strict";var r=n(5736);n(6483),n(2819);const __=r.__;__("Upgrade your plan to use video covers","jetpack-mu-wpcom"),__("Upgrade your plan to upload audio","jetpack-mu-wpcom")},6714:(e,t,n)=>{"use strict";n(8817)},9505:(e,t,n)=>{"use strict";function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function s(){return"simple"===r()}n.d(t,{Wp:()=>s})},354:(e,t,n)=>{"use strict";n(2674),n(4333)},6354:e=>{"use strict";if(void 0==={consumer_slug:"jetpack-mu-wpcom"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack-mu-wpcom"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack-mu-wpcom"}},9196:e=>{"use strict";e.exports=window.React},2819:e=>{"use strict";e.exports=window.lodash},6989:e=>{"use strict";e.exports=window.wp.apiFetch},5609:e=>{"use strict";e.exports=window.wp.components},4333:e=>{"use strict";e.exports=window.wp.compose},9818:e=>{"use strict";e.exports=window.wp.data},9307:e=>{"use strict";e.exports=window.wp.element},2694:e=>{"use strict";e.exports=window.wp.hooks},5736:e=>{"use strict";e.exports=window.wp.i18n},8817:e=>{"use strict";e.exports=window.wp.plugins},6483:e=>{"use strict";e.exports=window.wp.url},2674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(2442),t=n(3419),r=n(5609),s=n(4333),o=n(2694);const i=(0,s.createHigherOrderComponent)((n=>s=>{const{tracks:o}=(0,t.z$)();return"post_tag"===s.slug&&window.wpcomTagsEducation?React.createElement(React.Fragment,null,React.createElement(n,s),React.createElement(r.ExternalLink,{href:(0,e.aq)("https://wordpress.com/support/posts/tags/"),onClick:()=>{o.recordEvent("jetpack_mu_wpcom_tags_education_link_click")}},window.wpcomTagsEducation.actionText)):React.createElement(n,s)}),"addTagsEducationLink");(0,o.addFilter)("editor.PostTaxonomyType","jetpack-mu-wpcom/add-tags-education-link",i)})()})(); \ No newline at end of file +(()=>{var e={73625:(e,t,n)=>{"use strict";n.d(t,{bU:()=>u,v8:()=>a});var r=n(30275),s=n(94333),o=n(65736),i=n(99196);const c=(0,i.createContext)(null);function a(){return function(e=""){if(!e)return"";const t=e.toLowerCase();return(["pt_br","pt-br","zh_tw","zh-tw","zh_cn","zh-cn","zh_sg","zh-sg"].includes(t)?t.replace("_","-"):t.replace(/([-_].*)$/i,""))||"en"}(function(){const e=o.getLocaleData()||{};return e[""]?.lang||e[""]?.language||""}())}function u(){const e=(0,i.useContext)(c),t=!!e,[n,r]=(0,i.useState)(a());return(0,i.useEffect)((()=>{if(!t)return r(a()),o.subscribe((()=>{r(a())}))}),[t]),e||n||"undefined"!=typeof window&&window._currentUserLocale||"en"}(0,s.createHigherOrderComponent)((e=>t=>{const n={...t,locale:u()};return(0,r.jsx)(e,{...n})}),"withLocale")},70560:(e,t,n)=>{"use strict";n.d(t,{GG:()=>r,Xb:()=>u,_r:()=>h,dH:()=>s,hI:()=>d,iT:()=>o,kV:()=>c,mL:()=>p,vS:()=>l,xh:()=>a,xn:()=>i});const r=["en","ja","es","pt","fr","pt-br"],s=["en","pt-br","de","es","fr","it"],o=["en","fr","de","es"],i=["en","fr","de","es"],c=["en","es"],a=["ar","de","el","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"],u={"pt-br":"br",br:"bre",zh:"zh-cn","zh-hk":"zh-tw","zh-sg":"zh-cn",kr:"ko"},d=["ar","de","en","es","fr","he","id","it","ja","ko","nl","pt-br","ru","sv","tr","zh-cn","zh-tw"],p=["ar","de","el","en","es","fa","fi","fr","id","it","ja","nl","pt","pt-br","ru","sv","th","tl","tr"],l=["es","pt-br","de","fr","he","ja","it","nl","ru","tr","id","zh-cn","zh-tw","ko","ar","sv"],h=["en","ar","de","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"]},34369:(e,t,n)=>{"use strict";n.d(t,{aq:()=>m});var r=n(30275),s=n(94333),o=n(99196),i=n(73625),c=n(70560);const a="http://__domain__.invalid";const u=(e,t=[])=>(n,r)=>(t.includes(r)&&"en"!==r&&n.pathname.substr(0,r.length+2)!=="/"+r+"/"&&(n.host=`${c.Xb[r]||r}.${e}`),n),d=(e,t=[],n=null)=>(r,s)=>(r.host="wordpress.com","object"==typeof n&&n instanceof RegExp&&!n.test(r.pathname)&&(t=[]),r.pathname=e+r.pathname,t.includes(s)&&"en"!==s&&(r.pathname=s+r.pathname),r),p=(e=[],t=null,n)=>(r,s)=>"object"==typeof t&&t instanceof RegExp&&!t.test(r.pathname)?r:e.includes(s)&&"en"!==s?("prefix"===n?r.pathname=s+r.pathname:"suffix"===n&&(r.pathname.endsWith("/")?r.pathname+=s+"/":r.pathname+="/"+s),r):r,l=(e=[],t=null)=>(n,r)=>p(e,t,"prefix")(n,r),h=(e=[],t=null)=>(n,r)=>p(e,t,"suffix")(n,r),g={"wordpress.com/support/":l(c.hI),"wordpress.com/forums/":l(c.mL),"wordpress.com/blog/":l(c.GG,/^\/blog\/?$/),"wordpress.com/go/":(e,t)=>["/go/","/go"].includes(e.pathname)||"es"===t?l(c.dH)(e,t):e,"wordpress.com/pricing/":l(c.xh),"wordpress.com/tos/":l(c.vS),"wordpress.com/wp-admin/":u("wordpress.com",c.vS),"wordpress.com/wp-login.php":u("wordpress.com",c.vS),"jetpack.com":l(c._r),"cloud.jetpack.com":l(c._r),"en.support.wordpress.com":d("/support",c.hI),"en.blog.wordpress.com":d("/blog",c.GG,/^\/$/),"apps.wordpress.com":l(c.vS),"en.forums.wordpress.com":d("/forums",c.mL),"automattic.com/privacy/":l(c.iT),"automattic.com/cookies/":l(c.xn),"wordpress.com/help/contact/":(e,t,n)=>n?e:(e.pathname=e.pathname.replace(/\/help\//,"/support/"),l(c.hI)(e,t)),"wordpress.com":(e,t)=>/^\/(checkout|me)(\/|$)/.test(e.pathname)||/\/([a-z0-9-]+\.)+[a-z]{2,}\/?$/.test(e.pathname)?e:l(c.vS)(e,t),"wordpress.com/theme/":(e,t,n)=>n?e:l(c.vS)(e,t),"wordpress.com/themes/":(e,t,n)=>n?e:l(c.vS)(e,t),"wordpress.com/plugins/":(e,t,n)=>n?e:l(c.vS)(e,t),"wordpress.com/log-in/":(e,t,n)=>n?e:h(c.vS)(e,t),"wordpress.com/start/":(e,t,n)=>n?e:h(c.vS)(e,t),"wordpress.com/learn/":(e,t)=>e.pathname.includes("/learn/webinars/")&&"es"===t?(e.pathname=e.pathname.replace("/learn/webinars/","/learn/es/webinars/"),e):h(c.kV)(e,t),"wordpress.com/plans/":(e,t,n)=>n||"/plans/"!==e.pathname?e:l(c.xh)(e,t),"wordpress.com/setup/":(e,t,n)=>n?e:h(c.vS)(e,t)};function f(e){try{return new URL(String(e),a).pathname.endsWith("/")}catch(e){return!1}}function m(e,t=function(){return(0,i.v8)()??"en"}(),n=!0,r=!1){let s;try{s=new URL(String(e),a)}catch(t){return e}if(s.origin===a)return e;s.protocol="https:",s.pathname.endsWith(".php")||(s.pathname=(s.pathname+"/").replace(/\/+$/,"/"));const o=s.pathname.substr(0,1+s.pathname.indexOf("/",1));if("en.wordpress.com"===s.host&&(s.host="wordpress.com"),"/"+t+"/"===o)return e;const c=[s.host,s.host+o,s.host+s.pathname];for(let o=c.length-1;o>=0;o--)if(c[o]in g){const i=g[c[o]](s,t,n).href;if(!r)return i;try{const t=new URL(i);return f(e)||(t.pathname=t.pathname.replace(/\/+$/,"")),t.href}catch{return i}}return e}function w(){const e=(0,i.bU)();return(0,o.useCallback)(((t,n,r,s)=>m(t,n||e,r,s)),[e])}(0,s.createHigherOrderComponent)((e=>t=>{const n={...t,localizeUrl:w()};return(0,r.jsx)(e,{...n})}),"withLocalizeUrl")},951:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(s=r))})),t.splice(s,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(51741)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},51741:(e,t,n)=>{e.exports=function(e){function t(e){let n,s,o,i=null;function c(...e){if(!c.enabled)return;const r=c,s=Number(new Date),o=s-(n||s);r.diff=o,r.prev=n,r.curr=s,n=s,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,s)=>{if("%%"===n)return"%";i++;const o=t.formatters[s];if("function"==typeof o){const t=e[i];n=o.call(r,t),e.splice(i,1),i--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=r,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(s!==t.namespaces&&(s=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(c),c}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),s=r.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{var t=1e3,n=60*t,r=60*n,s=24*r,o=7*s,i=365.25*s;function c(e,t,n,r){var s=t>=1.5*n;return Math.round(e/n)+" "+r+(s?"s":"")}e.exports=function(e,a){a=a||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!c)return;var a=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*i;case"weeks":case"week":case"w":return a*o;case"days":case"day":case"d":return a*s;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===u&&isFinite(e))return a.long?function(e){var o=Math.abs(e);if(o>=s)return c(e,o,s,"day");if(o>=r)return c(e,o,r,"hour");if(o>=n)return c(e,o,n,"minute");if(o>=t)return c(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=s)return Math.round(e/s)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},24561:(e,t,n)=>{"use strict";var r=n(99196),s=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,d=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(d=t.ref),t)i.call(t,r)&&!a.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:s,type:e,key:u,ref:d,props:o,_owner:c.current}}t.jsx=u},30275:(e,t,n)=>{"use strict";e.exports=n(24561)},6975:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(951);const s=n.n(r)()("dops:analytics");let o,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,n){c.setUser(e,t),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){o=e},assignSuperProps:function(e){o=Object.assign(o||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);s("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);s("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Built stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,s,o,i){c.ga.recordPurchase(e,t,n,r,s,o,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(o&&(s("- Super Props: %o",o),t=Object.assign(t,o)),s('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):s('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){s("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),s("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){c.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),s(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,s,o,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:s,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},a=c},64743:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>p});var r=n(61132),s=n(96483);function o(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const i=o("JsonParseError"),c=o("JsonParseAfterRedirectError"),a=o("Api404Error"),u=o("Api404AfterRedirectError"),d=o("FetchNetworkError");const p=new function(e,t){let n=e,o=e,i={"X-WP-Nonce":t},c={credentials:"same-origin",headers:i},a={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},u=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",r=n.length?n.split("&"):[];return r.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+r.join("&")};const d={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){o=e},setApiNonce(e){i={"X-WP-Nonce":e},c={credentials:"same-origin",headers:i},a={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{u=e},registerSite:(e,t,s)=>{const o={registration_nonce:e,no_iframe:!0};return(0,r.jetpackConfigHas)("consumer_slug")&&(o.plugin_slug=(0,r.jetpackConfigGet)("consumer_slug")),null!==t&&(o.redirect_uri=t),s&&(o.from=s),g(`${n}jetpack/v4/connection/register`,a,{body:JSON.stringify(o)}).then(l).then(h)},fetchAuthorizationUrl:e=>p((0,s.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),c).then(l).then(h),fetchSiteConnectionData:()=>p(`${n}jetpack/v4/connection/data`,c).then(h),fetchSiteConnectionStatus:()=>p(`${n}jetpack/v4/connection`,c).then(h),fetchSiteConnectionTest:()=>p(`${n}jetpack/v4/connection/test`,c).then(l).then(h),fetchUserConnectionData:()=>p(`${n}jetpack/v4/connection/data`,c).then(h),fetchUserTrackingSettings:()=>p(`${n}jetpack/v4/tracking/settings`,c).then(l).then(h),updateUserTrackingSettings:e=>g(`${n}jetpack/v4/tracking/settings`,a,{body:JSON.stringify(e)}).then(l).then(h),disconnectSite:()=>g(`${n}jetpack/v4/connection`,a,{body:JSON.stringify({isActive:!1})}).then(l).then(h),fetchConnectUrl:()=>p(`${n}jetpack/v4/connection/url`,c).then(l).then(h),unlinkUser:()=>g(`${n}jetpack/v4/connection/user`,a,{body:JSON.stringify({linked:!1})}).then(l).then(h),reconnect:()=>g(`${n}jetpack/v4/connection/reconnect`,a).then(l).then(h),fetchConnectedPlugins:()=>p(`${n}jetpack/v4/connection/plugins`,c).then(l).then(h),setHasSeenWCConnectionModal:()=>g(`${n}jetpack/v4/seen-wc-connection-modal`,a).then(l).then(h),fetchModules:()=>p(`${n}jetpack/v4/module/all`,c).then(l).then(h),fetchModule:e=>p(`${n}jetpack/v4/module/${e}`,c).then(l).then(h),activateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!0})}).then(l).then(h),deactivateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>g(`${n}jetpack/v4/module/${e}`,a,{body:JSON.stringify(t)}).then(l).then(h),updateSettings:e=>g(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(l).then(h),getProtectCount:()=>p(`${n}jetpack/v4/module/protect/data`,c).then(l).then(h),resetOptions:e=>g(`${n}jetpack/v4/options/${e}`,a,{body:JSON.stringify({reset:!0})}).then(l).then(h),activateVaultPress:()=>g(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(l).then(h),getVaultPressData:()=>p(`${n}jetpack/v4/module/vaultpress/data`,c).then(l).then(h),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),g(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify(r)}).then(l).then(h)},activateAkismet:()=>g(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(l).then(h),getAkismetData:()=>p(`${n}jetpack/v4/module/akismet/data`,c).then(l).then(h),checkAkismetKey:()=>p(`${n}jetpack/v4/module/akismet/key/check`,c).then(l).then(h),checkAkismetKeyTyped:e=>g(`${n}jetpack/v4/module/akismet/key/check`,a,{body:JSON.stringify({api_key:e})}).then(l).then(h),fetchStatsData:e=>p(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),c).then(l).then(h).then(m),getPluginUpdates:()=>p(`${n}jetpack/v4/updates/plugins`,c).then(l).then(h),getPlans:()=>p(`${n}jetpack/v4/plans`,c).then(l).then(h),fetchSettings:()=>p(`${n}jetpack/v4/settings`,c).then(l).then(h),updateSetting:e=>g(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(l).then(h),fetchSiteData:()=>p(`${n}jetpack/v4/site`,c).then(l).then(h).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>p(`${n}jetpack/v4/site/features`,c).then(l).then(h).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>p(`${n}jetpack/v4/site/products`,c).then(l).then(h),fetchSitePurchases:()=>p(`${n}jetpack/v4/site/purchases`,c).then(l).then(h).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>p(`${n}jetpack/v4/site/benefits`,c).then(l).then(h).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>p(`${n}jetpack/v4/site/discount`,c).then(l).then(h).then((e=>e.data)),fetchSetupQuestionnaire:()=>p(`${n}jetpack/v4/setup/questionnaire`,c).then(l).then(h),fetchRecommendationsData:()=>p(`${n}jetpack/v4/recommendations/data`,c).then(l).then(h),fetchRecommendationsProductSuggestions:()=>p(`${n}jetpack/v4/recommendations/product-suggestions`,c).then(l).then(h),fetchRecommendationsUpsell:()=>p(`${n}jetpack/v4/recommendations/upsell`,c).then(l).then(h),fetchRecommendationsConditional:()=>p(`${n}jetpack/v4/recommendations/conditional`,c).then(l).then(h),saveRecommendationsData:e=>g(`${n}jetpack/v4/recommendations/data`,a,{body:JSON.stringify({data:e})}).then(l),fetchProducts:()=>p(`${n}jetpack/v4/products`,c).then(l).then(h),fetchRewindStatus:()=>p(`${n}jetpack/v4/rewind`,c).then(l).then(h).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>p(`${n}jetpack/v4/scan`,c).then(l).then(h).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>g(`${n}jetpack/v4/notice/${e}`,a,{body:JSON.stringify({dismissed:!0})}).then(l).then(h),fetchPluginsData:()=>p(`${n}jetpack/v4/plugins`,c).then(l).then(h),fetchIntroOffers:()=>p(`${n}jetpack/v4/intro-offers`,c).then(l).then(h),fetchVerifySiteGoogleStatus:e=>p(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,c).then(l).then(h),verifySiteGoogle:e=>g(`${n}jetpack/v4/verify-site/google`,a,{body:JSON.stringify({keyring_id:e})}).then(l).then(h),submitSurvey:e=>g(`${n}jetpack/v4/marketing/survey`,a,{body:JSON.stringify(e)}).then(l).then(h),saveSetupQuestionnaire:e=>g(`${n}jetpack/v4/setup/questionnaire`,a,{body:JSON.stringify(e)}).then(l).then(h),updateLicensingError:e=>g(`${n}jetpack/v4/licensing/error`,a,{body:JSON.stringify(e)}).then(l).then(h),updateLicenseKey:e=>g(`${n}jetpack/v4/licensing/set-license`,a,{body:JSON.stringify({license:e})}).then(l).then(h),getUserLicensesCounts:()=>p(`${n}jetpack/v4/licensing/user/counts`,c).then(l).then(h),getUserLicenses:()=>p(`${n}jetpack/v4/licensing/user/licenses`,c).then(l).then(h),updateLicensingActivationNoticeDismiss:e=>g(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,a,{body:JSON.stringify({last_detached_count:e})}).then(l).then(h),updateRecommendationsStep:e=>g(`${n}jetpack/v4/recommendations/step`,a,{body:JSON.stringify({step:e})}).then(l),confirmIDCSafeMode:()=>g(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,a).then(l),startIDCFresh:e=>g(`${n}jetpack/v4/identity-crisis/start-fresh`,a,{body:JSON.stringify({redirect_uri:e})}).then(l).then(h),migrateIDC:()=>g(`${n}jetpack/v4/identity-crisis/migrate`,a).then(l),attachLicenses:e=>g(`${n}jetpack/v4/licensing/attach-licenses`,a,{body:JSON.stringify({licenses:e})}).then(l).then(h),fetchSearchPlanInfo:()=>p(`${o}jetpack/v4/search/plan`,c).then(l).then(h),fetchSearchSettings:()=>p(`${o}jetpack/v4/search/settings`,c).then(l).then(h),updateSearchSettings:e=>g(`${o}jetpack/v4/search/settings`,a,{body:JSON.stringify(e)}).then(l).then(h),fetchSearchStats:()=>p(`${o}jetpack/v4/search/stats`,c).then(l).then(h),fetchWafSettings:()=>p(`${n}jetpack/v4/waf`,c).then(l).then(h),updateWafSettings:e=>g(`${n}jetpack/v4/waf`,a,{body:JSON.stringify(e)}).then(l).then(h),fetchWordAdsSettings:()=>p(`${n}jetpack/v4/wordads/settings`,c).then(l).then(h),updateWordAdsSettings:e=>g(`${n}jetpack/v4/wordads/settings`,a,{body:JSON.stringify(e)}),fetchSearchPricing:()=>p(`${o}jetpack/v4/search/pricing`,c).then(l).then(h),fetchMigrationStatus:()=>p(`${n}jetpack/v4/migration/status`,c).then(l).then(h),fetchBackupUndoEvent:()=>p(`${n}jetpack/v4/site/backup/undo-event`,c).then(l).then(h),fetchBackupPreflightStatus:()=>p(`${n}jetpack/v4/site/backup/preflight`,c).then(l).then(h)};function p(e,t){return fetch(u(e),t)}function g(e,t,n){return fetch(e,Object.assign({},t,n)).catch(f)}function m(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,d)};function l(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new u(e.redirected):new a})):e.json().catch((e=>g(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function h(e){return e.json().catch((t=>g(t,e.redirected,e.url)))}function g(e,t,n){throw t?new c(n):new i}function f(){throw new d}},61132:(e,t,n)=>{let r={};try{r=n(76354)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}const s=e=>r.hasOwnProperty(e);e.exports={jetpackConfigHas:s,jetpackConfigGet:e=>{if(!s(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return r[e]}}},31294:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(64743),s=n(9818),o=n(99196),i=n(80428);const c=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},a=({registrationNonce:e=c.registrationNonce,apiRoot:t=c.apiRoot,apiNonce:n=c.apiNonce,redirectUri:a,autoTrigger:u,from:d,skipUserConnection:p}={})=>{const{registerSite:l,connectUser:h,refreshConnectedPlugins:g}=(0,s.useDispatch)(i.t),f=(0,s.useSelect)((e=>e(i.t).getRegistrationError())),{siteIsRegistering:m,userIsConnecting:w,userConnectionData:C,connectedPlugins:y,connectionErrors:v,isRegistered:k,isUserConnected:S,hasConnectedOwner:_,isOfflineMode:E}=(0,s.useSelect)((e=>({siteIsRegistering:e(i.t).getSiteIsRegistering(),userIsConnecting:e(i.t).getUserIsConnecting(),userConnectionData:e(i.t).getUserConnectionData(),connectedPlugins:e(i.t).getConnectedPlugins(),connectionErrors:e(i.t).getConnectionErrors(),isOfflineMode:e(i.t).getIsOfflineMode(),...e(i.t).getConnectionStatus()}))),j=()=>p?a?(window.location=a,Promise.resolve(a)):Promise.resolve():h({from:d,redirectUri:a}),b=t=>(t&&t.preventDefault(),k?j():l({registrationNonce:e,redirectUri:a,from:d}).then((()=>j())));return(0,o.useEffect)((()=>{r.ZP.setApiRoot(t),r.ZP.setApiNonce(n)}),[t,n]),(0,o.useEffect)((()=>{!u||m||w||b()}),[]),{handleRegisterSite:b,handleConnectUser:j,refreshConnectedPlugins:g,isRegistered:k,isUserConnected:S,siteIsRegistering:m,userIsConnecting:w,registrationError:f,userConnectionData:C,hasConnectedOwner:_,connectedPlugins:y,connectionErrors:v,isOfflineMode:E}}},27523:(e,t,n)=>{"use strict";n.d(t,{LI:()=>o,N4:()=>c,Qo:()=>p,T1:()=>u,TS:()=>d,ZP:()=>S,b5:()=>h,i6:()=>s,qJ:()=>g,qV:()=>a,r7:()=>i,wQ:()=>l});var r=n(64743);const s="SET_CONNECTION_STATUS",o="SET_CONNECTION_STATUS_IS_FETCHING",i="SET_SITE_IS_REGISTERING",c="SET_USER_IS_CONNECTING",a="SET_REGISTRATION_ERROR",u="CLEAR_REGISTRATION_ERROR",d="SET_AUTHORIZATION_URL",p="DISCONNECT_USER_SUCCESS",l="SET_CONNECTED_PLUGINS",h="SET_CONNECTION_ERRORS",g="SET_IS_OFFLINE_MODE",f=e=>({type:s,connectionStatus:e}),m=e=>({type:i,isRegistering:e}),w=e=>({type:c,isConnecting:e}),C=e=>({type:a,registrationError:e}),y=()=>({type:u}),v=e=>({type:d,authorizationUrl:e}),k=e=>({type:l,connectedPlugins:e});const S={setConnectionStatus:f,setConnectionStatusIsFetching:e=>({type:o,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:m,setUserIsConnecting:w,setRegistrationError:C,clearRegistrationError:y,setAuthorizationUrl:v,registerSite:function*({registrationNonce:e,redirectUri:t,from:n=""}){yield y(),yield m(!0);try{const r=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t,from:n};return yield f({isRegistered:!0}),yield v(r.authorizeUrl),yield m(!1),Promise.resolve(r)}catch(e){return yield C(e),yield m(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:n}={}){yield w(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:n}},disconnectUserSuccess:()=>({type:p}),setConnectedPlugins:k,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>r.ZP.fetchConnectedPlugins().then((n=>{e(k(n)),t(n)})))),setConnectionErrors:e=>({type:h,connectionErrors:e}),setIsOfflineMode:e=>({type:g,isOfflineMode:e})}},31432:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(64743),s=n(9818),o=n(27057);const i={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>r.ZP.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t,from:n})=>r.ZP.registerSite(e,t,n),CONNECT_USER:(0,s.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:n,redirectUri:r}={})=>new Promise(((s,i)=>{e(o.Z).getAuthorizationUrl(r).then((e=>{const r=n||(e=>window.location.assign(e)),o=new URL(e);t&&o.searchParams.set("from",encodeURIComponent(t));const i=o.toString();r(i),s(i)})).catch((e=>{i(e)}))}))))}},41479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9818),s=n(27523);const o=(0,r.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case s.i6:return{...e,...t.connectionStatus};case s.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===s.LI?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===s.r7?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===s.N4?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case s.T1:return!1;case s.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===s.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===s.wQ?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===s.b5?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===s.qJ?t.isConnecting:e})},77728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9818),s=n(27523),o=n(27057);const i={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const n=Boolean(e.authorizationUrl),s=(0,r.select)(o.Z).hasFinishedResolution("getAuthorizationUrl",t);return n&&!s&&(0,r.dispatch)(o.Z).finishResolution("getAuthorizationUrl",t),n},*fulfill(e){const t=yield s.ZP.fetchAuthorizationUrl(e);yield s.ZP.setAuthorizationUrl(t.authorizeUrl)}}}}},82725:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},13535:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9818);class s{static store=null;static mayBeInit(e,t){null===s.store&&(s.store=(0,r.createReduxStore)(e,t),(0,r.register)(s.store))}}const o=s},27057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="jetpack-connection"},80428:(e,t,n)=>{"use strict";n.d(t,{t:()=>u.Z});var r=n(27523),s=n(31432),o=n(41479),i=n(77728),c=n(82725),a=n(13535),u=n(27057);const d=window.JP_CONNECTION_INITIAL_STATE;d||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),a.Z.mayBeInit(u.Z,{__experimentalUseThunks:!0,reducer:o.Z,actions:r.ZP,selectors:c.Z,resolvers:i.Z,controls:s.Z,initialState:d||{}})},13419:(e,t,n)=>{"use strict";n.d(t,{z$:()=>r.Z});n(76714),n(80354),n(75404);var r=n(61053);n(11380),n(6342),n(96959),n(39058)},6342:(e,t,n)=>{"use strict";n(99196)},96959:(e,t,n)=>{"use strict";n(69307)},61053:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(6975),s=n(31294),o=n(69307);const{tracks:i}=r.Z,{recordEvent:c}=i,a=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:a={}}={})=>{const[u,d]=(0,o.useState)(!1),{isUserConnected:p,isRegistered:l,userConnectionData:h={}}=(0,s.Z)(),{wpcomUser:{login:g,ID:f}={},blogId:m}=h.currentUser||{},w=(0,o.useCallback)((async(e,t={})=>{p&&f&&g&&c(e,t)}),[p,f,g]);return(0,o.useEffect)((()=>{p&&f&&g&&m&&r.Z.initialize(f,g,{blog_id:m})}),[m,f,g,p]),(0,o.useEffect)((()=>{const r=e?`${t}_${e}_${n}`:null;l&&r&&(u||(w(r,a),d(!0)))}),[u,t,e,n,l,a,w]),{recordEvent:w,tracks:i}}},11380:(e,t,n)=>{"use strict";n(9818),n(69307),n(39058)},44166:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>l,rW:()=>p});var r=n(9818),s=n(99505),o=n(82162),i=n(39058);const c="SET_JETPACK_MODULES",a="SET_MODULE_UPDATING";function u(e){return p({isLoading:e})}function d(e,t){return{type:a,name:e,isUpdating:t}}function p(e){return{type:c,options:e}}const l={updateJetpackModuleStatus:function*(e){try{yield d(e.name,!0),yield(0,o.zL)(e);const t=yield(0,o.Bs)();return yield p({data:t}),!0}catch(e){const t=(0,r.select)(i.p).getJetpackModules();return yield p(t),!1}finally{yield d(e.name,!1)}},setJetpackModules:p,fetchModules:function*(){if((0,s.Wp)())return!0;try{yield u(!0);const e=yield(0,o.Bs)();return yield p({data:e}),!0}catch(e){const t=(0,r.select)(i.p).getJetpackModules();return yield p(t),!1}finally{yield u(!1)}}}},82162:(e,t,n)=>{"use strict";n.d(t,{Bs:()=>c,ZP:()=>u,zL:()=>a});var r=n(86989),s=n.n(r);const o="FETCH_JETPACK_MODULES",i="UPDATE_JETPACK_MODULE_STATUS",c=()=>({type:o}),a=e=>({type:i,settings:e}),u={[o]:function(){return s()({path:"/jetpack/v4/module/all",method:"GET"})},[i]:function({settings:e}){return s()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},39058:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var r=n(9818),s=n(44166),o=n(82162),i=n(42469),c=n(55133),a=n(43524);const u="jetpack-modules",d=(0,r.createReduxStore)(u,{reducer:i.Z,actions:s.ZP,controls:o.ZP,resolvers:c.Z,selectors:a.Z});(0,r.register)(d);const p=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==p&&(0,r.dispatch)(u).setJetpackModules({data:{...p}})},42469:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});const r={isLoading:!1,isUpdating:{},data:{}},s=(e=r,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},55133:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(44166),s=n(82162);const o={getJetpackModules:function*(){try{const e=yield(0,s.Bs)();if(e)return(0,r.rW)({data:e})}catch(e){console.error(e)}}}},43524:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(99505);const s={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,r.Wp)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},75404:(e,t,n)=>{"use strict";var r=n(65736);n(96483),n(92819);const __=r.__;__("Upgrade your plan to use video covers","jetpack-mu-wpcom"),__("Upgrade your plan to upload audio","jetpack-mu-wpcom")},76714:(e,t,n)=>{"use strict";n(98817)},99505:(e,t,n)=>{"use strict";function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function s(){return"simple"===r()}n.d(t,{Wp:()=>s})},80354:(e,t,n)=>{"use strict";n(82674),n(94333)},76354:e=>{"use strict";if(void 0==={consumer_slug:"jetpack-mu-wpcom"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack-mu-wpcom"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack-mu-wpcom"}},99196:e=>{"use strict";e.exports=window.React},92819:e=>{"use strict";e.exports=window.lodash},86989:e=>{"use strict";e.exports=window.wp.apiFetch},55609:e=>{"use strict";e.exports=window.wp.components},94333:e=>{"use strict";e.exports=window.wp.compose},9818:e=>{"use strict";e.exports=window.wp.data},69307:e=>{"use strict";e.exports=window.wp.element},92694:e=>{"use strict";e.exports=window.wp.hooks},65736:e=>{"use strict";e.exports=window.wp.i18n},98817:e=>{"use strict";e.exports=window.wp.plugins},96483:e=>{"use strict";e.exports=window.wp.url},82674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(34369),t=n(13419),r=n(55609),s=n(94333),o=n(92694);const i=(0,s.createHigherOrderComponent)((n=>s=>{const{tracks:o}=(0,t.z$)();return"post_tag"===s.slug&&window.wpcomTagsEducation?React.createElement(React.Fragment,null,React.createElement(n,s),React.createElement(r.ExternalLink,{href:(0,e.aq)("https://wordpress.com/support/posts/tags/"),onClick:()=>{o.recordEvent("jetpack_mu_wpcom_tags_education_link_click")}},window.wpcomTagsEducation.actionText)):React.createElement(n,s)}),"addTagsEducationLink");(0,o.addFilter)("editor.PostTaxonomyType","jetpack-mu-wpcom/add-tags-education-link",i)})()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.asset.php index 7fe0cf8c..198137b8 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => '74d2df649cf02bb3423b'); + array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => 'c51becedb83e5f66b752'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.js b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.js index 1df5a284..ca859b0b 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.js @@ -1,2 +1,2 @@ /*! For license information please see wpcom-block-description-links.js.LICENSE.txt */ -(()=>{var e={3625:(e,t,o)=>{"use strict";o.d(t,{bU:()=>a,v8:()=>p});var s=o(275),r=o(4333),n=o(5736),i=o(9196);const c=(0,i.createContext)(null);function p(){return function(e=""){if(!e)return"";const t=e.toLowerCase();return(["pt_br","pt-br","zh_tw","zh-tw","zh_cn","zh-cn","zh_sg","zh-sg"].includes(t)?t.replace("_","-"):t.replace(/([-_].*)$/i,""))||"en"}(function(){const e=n.getLocaleData()||{};return e[""]?.lang||e[""]?.language||""}())}function a(){const e=(0,i.useContext)(c),t=!!e,[o,s]=(0,i.useState)(p());return(0,i.useEffect)((()=>{if(!t)return s(p()),n.subscribe((()=>{s(p())}))}),[t]),e||o||"undefined"!=typeof window&&window._currentUserLocale||"en"}(0,r.createHigherOrderComponent)((e=>t=>{const o={...t,locale:a()};return(0,s.jsx)(e,{...o})}),"withLocale")},560:(e,t,o)=>{"use strict";o.d(t,{GG:()=>s,Xb:()=>a,_r:()=>h,dH:()=>r,hI:()=>d,iT:()=>n,kV:()=>c,mL:()=>l,vS:()=>u,xh:()=>p,xn:()=>i});const s=["en","ja","es","pt","fr","pt-br"],r=["en","pt-br","de","es","fr","it"],n=["en","fr","de","es"],i=["en","fr","de","es"],c=["en","es"],p=["ar","de","el","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"],a={"pt-br":"br",br:"bre",zh:"zh-cn","zh-hk":"zh-tw","zh-sg":"zh-cn",kr:"ko"},d=["ar","de","en","es","fr","he","id","it","ja","ko","nl","pt-br","ru","sv","tr","zh-cn","zh-tw"],l=["ar","de","el","en","es","fa","fi","fr","id","it","ja","nl","pt","pt-br","ru","sv","th","tl","tr"],u=["es","pt-br","de","fr","he","ja","it","nl","ru","tr","id","zh-cn","zh-tw","ko","ar","sv"],h=["en","ar","de","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"]},2442:(e,t,o)=>{"use strict";o.d(t,{aq:()=>m});var s=o(275),r=o(4333),n=o(9196),i=o(3625),c=o(560);const p="http://__domain__.invalid";const a=(e,t=[])=>(o,s)=>(t.includes(s)&&"en"!==s&&o.pathname.substr(0,s.length+2)!=="/"+s+"/"&&(o.host=`${c.Xb[s]||s}.${e}`),o),d=(e,t=[],o=null)=>(s,r)=>(s.host="wordpress.com","object"==typeof o&&o instanceof RegExp&&!o.test(s.pathname)&&(t=[]),s.pathname=e+s.pathname,t.includes(r)&&"en"!==r&&(s.pathname=r+s.pathname),s),l=(e=[],t=null,o)=>(s,r)=>"object"==typeof t&&t instanceof RegExp&&!t.test(s.pathname)?s:e.includes(r)&&"en"!==r?("prefix"===o?s.pathname=r+s.pathname:"suffix"===o&&(s.pathname.endsWith("/")?s.pathname+=r+"/":s.pathname+="/"+r),s):s,u=(e=[],t=null)=>(o,s)=>l(e,t,"prefix")(o,s),h=(e=[],t=null)=>(o,s)=>l(e,t,"suffix")(o,s),k={"wordpress.com/support/":u(c.hI),"wordpress.com/forums/":u(c.mL),"wordpress.com/blog/":u(c.GG,/^\/blog\/?$/),"wordpress.com/go/":(e,t)=>["/go/","/go"].includes(e.pathname)||"es"===t?u(c.dH)(e,t):e,"wordpress.com/pricing/":u(c.xh),"wordpress.com/tos/":u(c.vS),"wordpress.com/wp-admin/":a("wordpress.com",c.vS),"wordpress.com/wp-login.php":a("wordpress.com",c.vS),"jetpack.com":u(c._r),"cloud.jetpack.com":u(c._r),"en.support.wordpress.com":d("/support",c.hI),"en.blog.wordpress.com":d("/blog",c.GG,/^\/$/),"apps.wordpress.com":u(c.vS),"en.forums.wordpress.com":d("/forums",c.mL),"automattic.com/privacy/":u(c.iT),"automattic.com/cookies/":u(c.xn),"wordpress.com/help/contact/":(e,t,o)=>o?e:(e.pathname=e.pathname.replace(/\/help\//,"/support/"),u(c.hI)(e,t)),"wordpress.com":(e,t)=>/^\/(checkout|me)(\/|$)/.test(e.pathname)||/\/([a-z0-9-]+\.)+[a-z]{2,}\/?$/.test(e.pathname)?e:u(c.vS)(e,t),"wordpress.com/theme/":(e,t,o)=>o?e:u(c.vS)(e,t),"wordpress.com/themes/":(e,t,o)=>o?e:u(c.vS)(e,t),"wordpress.com/plugins/":(e,t,o)=>o?e:u(c.vS)(e,t),"wordpress.com/log-in/":(e,t,o)=>o?e:h(c.vS)(e,t),"wordpress.com/start/":(e,t,o)=>o?e:h(c.vS)(e,t),"wordpress.com/learn/":(e,t)=>e.pathname.includes("/learn/webinars/")&&"es"===t?(e.pathname=e.pathname.replace("/learn/webinars/","/learn/es/webinars/"),e):h(c.kV)(e,t),"wordpress.com/plans/":(e,t,o)=>o||"/plans/"!==e.pathname?e:u(c.xh)(e,t),"wordpress.com/setup/":(e,t,o)=>o?e:h(c.vS)(e,t)};function g(e){try{return new URL(String(e),p).pathname.endsWith("/")}catch(e){return!1}}function m(e,t=function(){return(0,i.v8)()??"en"}(),o=!0,s=!1){let r;try{r=new URL(String(e),p)}catch(t){return e}if(r.origin===p)return e;r.protocol="https:",r.pathname.endsWith(".php")||(r.pathname=(r.pathname+"/").replace(/\/+$/,"/"));const n=r.pathname.substr(0,1+r.pathname.indexOf("/",1));if("en.wordpress.com"===r.host&&(r.host="wordpress.com"),"/"+t+"/"===n)return e;const c=[r.host,r.host+n,r.host+r.pathname];for(let n=c.length-1;n>=0;n--)if(c[n]in k){const i=k[c[n]](r,t,o).href;if(!s)return i;try{const t=new URL(i);return g(e)||(t.pathname=t.pathname.replace(/\/+$/,"")),t.href}catch{return i}}return e}function w(){const e=(0,i.bU)();return(0,n.useCallback)(((t,o,s,r)=>m(t,o||e,s,r)),[e])}(0,r.createHigherOrderComponent)((e=>t=>{const o={...t,localizeUrl:w()};return(0,s.jsx)(e,{...o})}),"withLocalizeUrl")},951:(e,t,o)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;t.splice(1,0,o,"color: inherit");let s=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(s++,"%c"===e&&(r=s))})),t.splice(r,0,o)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=o(1741)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1741:(e,t,o)=>{e.exports=function(e){function t(e){let o,r,n,i=null;function c(...e){if(!c.enabled)return;const s=c,r=Number(new Date),n=r-(o||r);s.diff=n,s.prev=o,s.curr=r,o=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((o,r)=>{if("%%"===o)return"%";i++;const n=t.formatters[r];if("function"==typeof n){const t=e[i];o=n.call(s,t),e.splice(i,1),i--}return o})),t.formatArgs.call(s,e);(s.log||t.log).apply(s,e)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=s,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(r!==t.namespaces&&(r=t.namespaces,n=t.enabled(e)),n),set:e=>{i=e}}),"function"==typeof t.init&&t.init(c),c}function s(e,o){const s=t(this.namespace+(void 0===o?":":o)+e);return s.log=this.log,s}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let o;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const s=("string"==typeof e?e:"").split(/[\s,]+/),r=s.length;for(o=0;o{t[o]=e[o]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let o=0;for(let t=0;t{var t=1e3,o=60*t,s=60*o,r=24*s,n=7*r,i=365.25*r;function c(e,t,o,s){var r=t>=1.5*o;return Math.round(e/o)+" "+s+(r?"s":"")}e.exports=function(e,p){p=p||{};var a=typeof e;if("string"===a&&e.length>0)return function(e){if((e=String(e)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!c)return;var p=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return p*i;case"weeks":case"week":case"w":return p*n;case"days":case"day":case"d":return p*r;case"hours":case"hour":case"hrs":case"hr":case"h":return p*s;case"minutes":case"minute":case"mins":case"min":case"m":return p*o;case"seconds":case"second":case"secs":case"sec":case"s":return p*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return}}(e);if("number"===a&&isFinite(e))return p.long?function(e){var n=Math.abs(e);if(n>=r)return c(e,n,r,"day");if(n>=s)return c(e,n,s,"hour");if(n>=o)return c(e,n,o,"minute");if(n>=t)return c(e,n,t,"second");return e+" ms"}(e):function(e){var n=Math.abs(e);if(n>=r)return Math.round(e/r)+"d";if(n>=s)return Math.round(e/s)+"h";if(n>=o)return Math.round(e/o)+"m";if(n>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},4561:(e,t,o)=>{"use strict";var s=o(9196),r=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,c=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function a(e,t,o){var s,n={},a=null,d=null;for(s in void 0!==o&&(a=""+o),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(d=t.ref),t)i.call(t,s)&&!p.hasOwnProperty(s)&&(n[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===n[s]&&(n[s]=t[s]);return{$$typeof:r,type:e,key:a,ref:d,props:n,_owner:c.current}}t.jsx=a},275:(e,t,o)=>{"use strict";e.exports=o(4561)},6975:(e,t,o)=>{"use strict";o.d(t,{Z:()=>p});var s=o(951);const r=o.n(s)()("dops:analytics");let n,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,o){c.setUser(e,t),c.setSuperProps(o),c.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){n=e},assignSuperProps:function(e){n=Object.assign(n||{},e)},mc:{bumpStat:function(e,t){const o=function(e,t){let o="";if("object"==typeof e){for(const t in e)o+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Bumping stats %o",e)}else o="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Bumping stat "%s" in group "%s"',t,e);return o}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+o+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const o=function(e,t){let o="";if("object"==typeof e){for(const t in e)o+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Built stats %o",e)}else o="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Built stat "%s" in group "%s"',t,e);return o}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+o+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,o,s,r,n,i){c.ga.recordPurchase(e,t,o,s,r,n,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(n&&(r("- Super Props: %o",n),t=Object.assign(t,n)),r('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):r('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){r("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),r("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,o,s){c.ga.initialize();let n="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==o&&(n+=" [Option Label: "+o+"]"),void 0!==s&&(n+=" [Option Value: "+s+"]"),r(n),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,o,s)},recordPurchase:function(e,t,o,s,r,n,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:s,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:o,price:r,quantity:n}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},p=c},4743:(e,t,o)=>{"use strict";o.d(t,{ZP:()=>l});var s=o(1132),r=o(6483);function n(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const i=n("JsonParseError"),c=n("JsonParseAfterRedirectError"),p=n("Api404Error"),a=n("Api404AfterRedirectError"),d=n("FetchNetworkError");const l=new function(e,t){let o=e,n=e,i={"X-WP-Nonce":t},c={credentials:"same-origin",headers:i},p={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},a=function(e){const t=e.split("?"),o=t.length>1?t[1]:"",s=o.length?o.split("&"):[];return s.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+s.join("&")};const d={setApiRoot(e){o=e},setWpcomOriginApiUrl(e){n=e},setApiNonce(e){i={"X-WP-Nonce":e},c={credentials:"same-origin",headers:i},p={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{a=e},registerSite:(e,t,r)=>{const n={registration_nonce:e,no_iframe:!0};return(0,s.jetpackConfigHas)("consumer_slug")&&(n.plugin_slug=(0,s.jetpackConfigGet)("consumer_slug")),null!==t&&(n.redirect_uri=t),r&&(n.from=r),k(`${o}jetpack/v4/connection/register`,p,{body:JSON.stringify(n)}).then(u).then(h)},fetchAuthorizationUrl:e=>l((0,r.addQueryArgs)(`${o}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),c).then(u).then(h),fetchSiteConnectionData:()=>l(`${o}jetpack/v4/connection/data`,c).then(h),fetchSiteConnectionStatus:()=>l(`${o}jetpack/v4/connection`,c).then(h),fetchSiteConnectionTest:()=>l(`${o}jetpack/v4/connection/test`,c).then(u).then(h),fetchUserConnectionData:()=>l(`${o}jetpack/v4/connection/data`,c).then(h),fetchUserTrackingSettings:()=>l(`${o}jetpack/v4/tracking/settings`,c).then(u).then(h),updateUserTrackingSettings:e=>k(`${o}jetpack/v4/tracking/settings`,p,{body:JSON.stringify(e)}).then(u).then(h),disconnectSite:()=>k(`${o}jetpack/v4/connection`,p,{body:JSON.stringify({isActive:!1})}).then(u).then(h),fetchConnectUrl:()=>l(`${o}jetpack/v4/connection/url`,c).then(u).then(h),unlinkUser:()=>k(`${o}jetpack/v4/connection/user`,p,{body:JSON.stringify({linked:!1})}).then(u).then(h),reconnect:()=>k(`${o}jetpack/v4/connection/reconnect`,p).then(u).then(h),fetchConnectedPlugins:()=>l(`${o}jetpack/v4/connection/plugins`,c).then(u).then(h),setHasSeenWCConnectionModal:()=>k(`${o}jetpack/v4/seen-wc-connection-modal`,p).then(u).then(h),fetchModules:()=>l(`${o}jetpack/v4/module/all`,c).then(u).then(h),fetchModule:e=>l(`${o}jetpack/v4/module/${e}`,c).then(u).then(h),activateModule:e=>k(`${o}jetpack/v4/module/${e}/active`,p,{body:JSON.stringify({active:!0})}).then(u).then(h),deactivateModule:e=>k(`${o}jetpack/v4/module/${e}/active`,p,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>k(`${o}jetpack/v4/module/${e}`,p,{body:JSON.stringify(t)}).then(u).then(h),updateSettings:e=>k(`${o}jetpack/v4/settings`,p,{body:JSON.stringify(e)}).then(u).then(h),getProtectCount:()=>l(`${o}jetpack/v4/module/protect/data`,c).then(u).then(h),resetOptions:e=>k(`${o}jetpack/v4/options/${e}`,p,{body:JSON.stringify({reset:!0})}).then(u).then(h),activateVaultPress:()=>k(`${o}jetpack/v4/plugins`,p,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(u).then(h),getVaultPressData:()=>l(`${o}jetpack/v4/module/vaultpress/data`,c).then(u).then(h),installPlugin:(e,t)=>{const s={slug:e,status:"active"};return t&&(s.source=t),k(`${o}jetpack/v4/plugins`,p,{body:JSON.stringify(s)}).then(u).then(h)},activateAkismet:()=>k(`${o}jetpack/v4/plugins`,p,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(u).then(h),getAkismetData:()=>l(`${o}jetpack/v4/module/akismet/data`,c).then(u).then(h),checkAkismetKey:()=>l(`${o}jetpack/v4/module/akismet/key/check`,c).then(u).then(h),checkAkismetKeyTyped:e=>k(`${o}jetpack/v4/module/akismet/key/check`,p,{body:JSON.stringify({api_key:e})}).then(u).then(h),fetchStatsData:e=>l(function(e){let t=`${o}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),c).then(u).then(h).then(m),getPluginUpdates:()=>l(`${o}jetpack/v4/updates/plugins`,c).then(u).then(h),getPlans:()=>l(`${o}jetpack/v4/plans`,c).then(u).then(h),fetchSettings:()=>l(`${o}jetpack/v4/settings`,c).then(u).then(h),updateSetting:e=>k(`${o}jetpack/v4/settings`,p,{body:JSON.stringify(e)}).then(u).then(h),fetchSiteData:()=>l(`${o}jetpack/v4/site`,c).then(u).then(h).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>l(`${o}jetpack/v4/site/features`,c).then(u).then(h).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>l(`${o}jetpack/v4/site/products`,c).then(u).then(h),fetchSitePurchases:()=>l(`${o}jetpack/v4/site/purchases`,c).then(u).then(h).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>l(`${o}jetpack/v4/site/benefits`,c).then(u).then(h).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>l(`${o}jetpack/v4/site/discount`,c).then(u).then(h).then((e=>e.data)),fetchSetupQuestionnaire:()=>l(`${o}jetpack/v4/setup/questionnaire`,c).then(u).then(h),fetchRecommendationsData:()=>l(`${o}jetpack/v4/recommendations/data`,c).then(u).then(h),fetchRecommendationsProductSuggestions:()=>l(`${o}jetpack/v4/recommendations/product-suggestions`,c).then(u).then(h),fetchRecommendationsUpsell:()=>l(`${o}jetpack/v4/recommendations/upsell`,c).then(u).then(h),fetchRecommendationsConditional:()=>l(`${o}jetpack/v4/recommendations/conditional`,c).then(u).then(h),saveRecommendationsData:e=>k(`${o}jetpack/v4/recommendations/data`,p,{body:JSON.stringify({data:e})}).then(u),fetchProducts:()=>l(`${o}jetpack/v4/products`,c).then(u).then(h),fetchRewindStatus:()=>l(`${o}jetpack/v4/rewind`,c).then(u).then(h).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>l(`${o}jetpack/v4/scan`,c).then(u).then(h).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>k(`${o}jetpack/v4/notice/${e}`,p,{body:JSON.stringify({dismissed:!0})}).then(u).then(h),fetchPluginsData:()=>l(`${o}jetpack/v4/plugins`,c).then(u).then(h),fetchIntroOffers:()=>l(`${o}jetpack/v4/intro-offers`,c).then(u).then(h),fetchVerifySiteGoogleStatus:e=>l(null!==e?`${o}jetpack/v4/verify-site/google/${e}`:`${o}jetpack/v4/verify-site/google`,c).then(u).then(h),verifySiteGoogle:e=>k(`${o}jetpack/v4/verify-site/google`,p,{body:JSON.stringify({keyring_id:e})}).then(u).then(h),submitSurvey:e=>k(`${o}jetpack/v4/marketing/survey`,p,{body:JSON.stringify(e)}).then(u).then(h),saveSetupQuestionnaire:e=>k(`${o}jetpack/v4/setup/questionnaire`,p,{body:JSON.stringify(e)}).then(u).then(h),updateLicensingError:e=>k(`${o}jetpack/v4/licensing/error`,p,{body:JSON.stringify(e)}).then(u).then(h),updateLicenseKey:e=>k(`${o}jetpack/v4/licensing/set-license`,p,{body:JSON.stringify({license:e})}).then(u).then(h),getUserLicensesCounts:()=>l(`${o}jetpack/v4/licensing/user/counts`,c).then(u).then(h),getUserLicenses:()=>l(`${o}jetpack/v4/licensing/user/licenses`,c).then(u).then(h),updateLicensingActivationNoticeDismiss:e=>k(`${o}jetpack/v4/licensing/user/activation-notice-dismiss`,p,{body:JSON.stringify({last_detached_count:e})}).then(u).then(h),updateRecommendationsStep:e=>k(`${o}jetpack/v4/recommendations/step`,p,{body:JSON.stringify({step:e})}).then(u),confirmIDCSafeMode:()=>k(`${o}jetpack/v4/identity-crisis/confirm-safe-mode`,p).then(u),startIDCFresh:e=>k(`${o}jetpack/v4/identity-crisis/start-fresh`,p,{body:JSON.stringify({redirect_uri:e})}).then(u).then(h),migrateIDC:()=>k(`${o}jetpack/v4/identity-crisis/migrate`,p).then(u),attachLicenses:e=>k(`${o}jetpack/v4/licensing/attach-licenses`,p,{body:JSON.stringify({licenses:e})}).then(u).then(h),fetchSearchPlanInfo:()=>l(`${n}jetpack/v4/search/plan`,c).then(u).then(h),fetchSearchSettings:()=>l(`${n}jetpack/v4/search/settings`,c).then(u).then(h),updateSearchSettings:e=>k(`${n}jetpack/v4/search/settings`,p,{body:JSON.stringify(e)}).then(u).then(h),fetchSearchStats:()=>l(`${n}jetpack/v4/search/stats`,c).then(u).then(h),fetchWafSettings:()=>l(`${o}jetpack/v4/waf`,c).then(u).then(h),updateWafSettings:e=>k(`${o}jetpack/v4/waf`,p,{body:JSON.stringify(e)}).then(u).then(h),fetchWordAdsSettings:()=>l(`${o}jetpack/v4/wordads/settings`,c).then(u).then(h),updateWordAdsSettings:e=>k(`${o}jetpack/v4/wordads/settings`,p,{body:JSON.stringify(e)}),fetchSearchPricing:()=>l(`${n}jetpack/v4/search/pricing`,c).then(u).then(h),fetchMigrationStatus:()=>l(`${o}jetpack/v4/migration/status`,c).then(u).then(h),fetchBackupUndoEvent:()=>l(`${o}jetpack/v4/site/backup/undo-event`,c).then(u).then(h),fetchBackupPreflightStatus:()=>l(`${o}jetpack/v4/site/backup/preflight`,c).then(u).then(h)};function l(e,t){return fetch(a(e),t)}function k(e,t,o){return fetch(e,Object.assign({},t,o)).catch(g)}function m(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,d)};function u(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new a(e.redirected):new p})):e.json().catch((e=>k(e))).then((t=>{const o=new Error(`${t.message} (Status ${e.status})`);throw o.response=t,o.name="ApiError",o}))}function h(e){return e.json().catch((t=>k(t,e.redirected,e.url)))}function k(e,t,o){throw t?new c(o):new i}function g(){throw new d}},1132:(e,t,o)=>{let s={};try{s=o(6354)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),s={missingConfig:!0}}const r=e=>s.hasOwnProperty(e);e.exports={jetpackConfigHas:r,jetpackConfigGet:e=>{if(!r(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return s[e]}}},1294:(e,t,o)=>{"use strict";o.d(t,{Z:()=>p});var s=o(4743),r=o(9818),n=o(9196),i=o(428);const c=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},p=({registrationNonce:e=c.registrationNonce,apiRoot:t=c.apiRoot,apiNonce:o=c.apiNonce,redirectUri:p,autoTrigger:a,from:d,skipUserConnection:l}={})=>{const{registerSite:u,connectUser:h,refreshConnectedPlugins:k}=(0,r.useDispatch)(i.t),g=(0,r.useSelect)((e=>e(i.t).getRegistrationError())),{siteIsRegistering:m,userIsConnecting:w,userConnectionData:f,connectedPlugins:b,connectionErrors:y,isRegistered:C,isUserConnected:v,hasConnectedOwner:I,isOfflineMode:S}=(0,r.useSelect)((e=>({siteIsRegistering:e(i.t).getSiteIsRegistering(),userIsConnecting:e(i.t).getUserIsConnecting(),userConnectionData:e(i.t).getUserConnectionData(),connectedPlugins:e(i.t).getConnectedPlugins(),connectionErrors:e(i.t).getConnectionErrors(),isOfflineMode:e(i.t).getIsOfflineMode(),...e(i.t).getConnectionStatus()}))),j=()=>l?p?(window.location=p,Promise.resolve(p)):Promise.resolve():h({from:d,redirectUri:p}),_=t=>(t&&t.preventDefault(),C?j():u({registrationNonce:e,redirectUri:p,from:d}).then((()=>j())));return(0,n.useEffect)((()=>{s.ZP.setApiRoot(t),s.ZP.setApiNonce(o)}),[t,o]),(0,n.useEffect)((()=>{!a||m||w||_()}),[]),{handleRegisterSite:_,handleConnectUser:j,refreshConnectedPlugins:k,isRegistered:C,isUserConnected:v,siteIsRegistering:m,userIsConnecting:w,registrationError:g,userConnectionData:f,hasConnectedOwner:I,connectedPlugins:b,connectionErrors:y,isOfflineMode:S}}},7523:(e,t,o)=>{"use strict";o.d(t,{LI:()=>n,N4:()=>c,Qo:()=>l,T1:()=>a,TS:()=>d,ZP:()=>v,b5:()=>h,i6:()=>r,qJ:()=>k,qV:()=>p,r7:()=>i,wQ:()=>u});var s=o(4743);const r="SET_CONNECTION_STATUS",n="SET_CONNECTION_STATUS_IS_FETCHING",i="SET_SITE_IS_REGISTERING",c="SET_USER_IS_CONNECTING",p="SET_REGISTRATION_ERROR",a="CLEAR_REGISTRATION_ERROR",d="SET_AUTHORIZATION_URL",l="DISCONNECT_USER_SUCCESS",u="SET_CONNECTED_PLUGINS",h="SET_CONNECTION_ERRORS",k="SET_IS_OFFLINE_MODE",g=e=>({type:r,connectionStatus:e}),m=e=>({type:i,isRegistering:e}),w=e=>({type:c,isConnecting:e}),f=e=>({type:p,registrationError:e}),b=()=>({type:a}),y=e=>({type:d,authorizationUrl:e}),C=e=>({type:u,connectedPlugins:e});const v={setConnectionStatus:g,setConnectionStatusIsFetching:e=>({type:n,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:m,setUserIsConnecting:w,setRegistrationError:f,clearRegistrationError:b,setAuthorizationUrl:y,registerSite:function*({registrationNonce:e,redirectUri:t,from:o=""}){yield b(),yield m(!0);try{const s=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t,from:o};return yield g({isRegistered:!0}),yield y(s.authorizeUrl),yield m(!1),Promise.resolve(s)}catch(e){return yield f(e),yield m(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:o}={}){yield w(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:o}},disconnectUserSuccess:()=>({type:l}),setConnectedPlugins:C,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>s.ZP.fetchConnectedPlugins().then((o=>{e(C(o)),t(o)})))),setConnectionErrors:e=>({type:h,connectionErrors:e}),setIsOfflineMode:e=>({type:k,isOfflineMode:e})}},1432:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var s=o(4743),r=o(9818),n=o(7057);const i={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>s.ZP.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t,from:o})=>s.ZP.registerSite(e,t,o),CONNECT_USER:(0,r.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:o,redirectUri:s}={})=>new Promise(((r,i)=>{e(n.Z).getAuthorizationUrl(s).then((e=>{const s=o||(e=>window.location.assign(e)),n=new URL(e);t&&n.searchParams.set("from",encodeURIComponent(t));const i=n.toString();s(i),r(i)})).catch((e=>{i(e)}))}))))}},1479:(e,t,o)=>{"use strict";o.d(t,{Z:()=>n});var s=o(9818),r=o(7523);const n=(0,s.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case r.i6:return{...e,...t.connectionStatus};case r.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===r.LI?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===r.r7?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===r.N4?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case r.T1:return!1;case r.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===r.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===r.wQ?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===r.b5?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===r.qJ?t.isConnecting:e})},7728:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var s=o(9818),r=o(7523),n=o(7057);const i={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const o=Boolean(e.authorizationUrl),r=(0,s.select)(n.Z).hasFinishedResolution("getAuthorizationUrl",t);return o&&!r&&(0,s.dispatch)(n.Z).finishResolution("getAuthorizationUrl",t),o},*fulfill(e){const t=yield r.ZP.fetchAuthorizationUrl(e);yield r.ZP.setAuthorizationUrl(t.authorizeUrl)}}}}},2725:(e,t,o)=>{"use strict";o.d(t,{Z:()=>s});const s={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},1253:(e,t,o)=>{"use strict";o.d(t,{Z:()=>n});var s=o(9818);class r{static store=null;static mayBeInit(e,t){null===r.store&&(r.store=(0,s.createReduxStore)(e,t),(0,s.register)(r.store))}}const n=r},7057:(e,t,o)=>{"use strict";o.d(t,{Z:()=>s});const s="jetpack-connection"},428:(e,t,o)=>{"use strict";o.d(t,{t:()=>a.Z});var s=o(7523),r=o(1432),n=o(1479),i=o(7728),c=o(2725),p=o(1253),a=o(7057);const d=window.JP_CONNECTION_INITIAL_STATE;d||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),p.Z.mayBeInit(a.Z,{__experimentalUseThunks:!0,reducer:n.Z,actions:s.ZP,selectors:c.Z,resolvers:i.Z,controls:r.Z,initialState:d||{}})},3419:(e,t,o)=>{"use strict";o.d(t,{z$:()=>s.Z});o(6714),o(354),o(5404);var s=o(1053);o(1380),o(6342),o(6959),o(9058)},6342:(e,t,o)=>{"use strict";o(9196)},6959:(e,t,o)=>{"use strict";o(9307)},1053:(e,t,o)=>{"use strict";o.d(t,{Z:()=>p});var s=o(6975),r=o(1294),n=o(9307);const{tracks:i}=s.Z,{recordEvent:c}=i,p=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:o="page_view",pageViewEventProperties:p={}}={})=>{const[a,d]=(0,n.useState)(!1),{isUserConnected:l,isRegistered:u,userConnectionData:h={}}=(0,r.Z)(),{wpcomUser:{login:k,ID:g}={},blogId:m}=h.currentUser||{},w=(0,n.useCallback)((async(e,t={})=>{l&&g&&k&&c(e,t)}),[l,g,k]);return(0,n.useEffect)((()=>{l&&g&&k&&m&&s.Z.initialize(g,k,{blog_id:m})}),[m,g,k,l]),(0,n.useEffect)((()=>{const s=e?`${t}_${e}_${o}`:null;u&&s&&(a||(w(s,p),d(!0)))}),[a,t,e,o,u,p,w]),{recordEvent:w,tracks:i}}},1380:(e,t,o)=>{"use strict";o(9818),o(9307),o(9058)},4166:(e,t,o)=>{"use strict";o.d(t,{ZP:()=>u,rW:()=>l});var s=o(9818),r=o(9505),n=o(2162),i=o(9058);const c="SET_JETPACK_MODULES",p="SET_MODULE_UPDATING";function a(e){return l({isLoading:e})}function d(e,t){return{type:p,name:e,isUpdating:t}}function l(e){return{type:c,options:e}}const u={updateJetpackModuleStatus:function*(e){try{yield d(e.name,!0),yield(0,n.zL)(e);const t=yield(0,n.Bs)();return yield l({data:t}),!0}catch(e){const t=(0,s.select)(i.p).getJetpackModules();return yield l(t),!1}finally{yield d(e.name,!1)}},setJetpackModules:l,fetchModules:function*(){if((0,r.Wp)())return!0;try{yield a(!0);const e=yield(0,n.Bs)();return yield l({data:e}),!0}catch(e){const t=(0,s.select)(i.p).getJetpackModules();return yield l(t),!1}finally{yield a(!1)}}}},2162:(e,t,o)=>{"use strict";o.d(t,{Bs:()=>c,ZP:()=>a,zL:()=>p});var s=o(6989),r=o.n(s);const n="FETCH_JETPACK_MODULES",i="UPDATE_JETPACK_MODULE_STATUS",c=()=>({type:n}),p=e=>({type:i,settings:e}),a={[n]:function(){return r()({path:"/jetpack/v4/module/all",method:"GET"})},[i]:function({settings:e}){return r()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},9058:(e,t,o)=>{"use strict";o.d(t,{p:()=>a});var s=o(9818),r=o(4166),n=o(2162),i=o(2469),c=o(5133),p=o(3524);const a="jetpack-modules",d=(0,s.createReduxStore)(a,{reducer:i.Z,actions:r.ZP,controls:n.ZP,resolvers:c.Z,selectors:p.Z});(0,s.register)(d);const l=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==l&&(0,s.dispatch)(a).setJetpackModules({data:{...l}})},2469:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});const s={isLoading:!1,isUpdating:{},data:{}},r=(e=s,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},5133:(e,t,o)=>{"use strict";o.d(t,{Z:()=>n});var s=o(4166),r=o(2162);const n={getJetpackModules:function*(){try{const e=yield(0,r.Bs)();if(e)return(0,s.rW)({data:e})}catch(e){console.error(e)}}}},3524:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var s=o(9505);const r={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,s.Wp)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},5404:(e,t,o)=>{"use strict";var s=o(5736);o(6483),o(2819);const __=s.__;__("Upgrade your plan to use video covers","jetpack-mu-wpcom"),__("Upgrade your plan to upload audio","jetpack-mu-wpcom")},6714:(e,t,o)=>{"use strict";o(8817)},9505:(e,t,o)=>{"use strict";function s(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function r(){return"simple"===s()}o.d(t,{Wp:()=>r})},354:(e,t,o)=>{"use strict";o(2674),o(4333)},2431:(e,t,o)=>{"use strict";o.d(t,{ZP:()=>n,gM:()=>r,yd:()=>s});const s={"core/group":{group:{link:"https://wordpress.com/support/wordpress-editor/blocks/group-block/",postId:161882},"group-row":{link:"https://wordpress.com/support/wordpress-editor/blocks/row-block/",postId:190036},"group-stack":{link:"https://wordpress.com/support/wordpress-editor/blocks/row-block/",postId:190036}}},r={"core/nextpage":{link:"https://wordpress.com/support/wordpress-editor/blocks/page-break-block/",postId:149374}},n={"core/template-part":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/template-part-block/",postId:192398},"core/site-title":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/site-title-block/",postId:184569},"core/site-tagline":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/site-tagline-block/",postId:184553},"core/site-logo":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/site-logo-block/",postId:184537},"core/page-list":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/page-list-block/",postId:180696},"core/loginout":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/login-out-block/",postId:184610},"core/video":{link:"https://wordpress.com/support/wordpress-editor/blocks/video-block/",postId:149045},"core/verse":{link:"https://wordpress.com/support/wordpress-editor/blocks/verse-block/",postId:149992},"core/spacer":{link:"https://wordpress.com/support/wordpress-editor/blocks/spacer-block/",postId:148996},"core/shortcode":{link:"https://wordpress.com/support/wordpress-editor/blocks/shortcode-block/",postId:149209},"core/separator":{link:"https://wordpress.com/support/wordpress-editor/blocks/separator-block/",postId:149012},"core/search":{link:"https://wordpress.com/support/wordpress-editor/blocks/search-block/",postId:187104},"core/rss":{link:"https://wordpress.com/support/wordpress-editor/blocks/rss-block/",postId:174794},"core/navigation":{link:"https://wordpress.com/support/site-editing/theme-blocks/navigation-block/",postId:162159},"core/tag-cloud":{link:"https://wordpress.com/support/wordpress-editor/blocks/tag-cloud-block/",postId:188957},"core/quote":{link:"https://wordpress.com/support/wordpress-editor/blocks/quote-block/",postId:148575},"core/pullquote":{link:"https://wordpress.com/support/wordpress-editor/blocks/pullquote-block/",postId:149344},"core/preformatted":{link:"https://wordpress.com/support/wordpress-editor/blocks/preformatted-block/",postId:149339},"core/more":{link:"https://wordpress.com/support/wordpress-editor/blocks/more-block/",postId:148614},"core/list":{link:"https://wordpress.com/support/wordpress-editor/blocks/list-block/",postId:148563},"core/latest-posts":{link:"https://wordpress.com/support/wordpress-editor/blocks/latest-posts-block/",postId:149818},"core/latest-comments":{link:"https://wordpress.com/support/wordpress-editor/blocks/latest-comments-block/",postId:149811},"core/heading":{link:"https://wordpress.com/support/wordpress-editor/blocks/heading-block/",postId:148403},"core/file":{link:"https://wordpress.com/support/wordpress-editor/blocks/file-block/",postId:148586},"core/embed":{link:"https://wordpress.com/support/wordpress-editor/blocks/embed-block/",postId:150644},"core/html":{link:"https://wordpress.com/support/wordpress-editor/blocks/custom-html-block/",postId:149059},"core/code":{link:"https://wordpress.com/support/wordpress-editor/blocks/code-block/",postId:149042},"core/freeform":{link:"https://wordpress.com/support/wordpress-editor/blocks/classic-block/",postId:149026},"core/categories":{link:"https://wordpress.com/support/wordpress-editor/blocks/categories-block/",postId:149793},"core/calendar":{link:"https://wordpress.com/support/wordpress-editor/blocks/calendar-block/",postId:171935},"core/audio":{link:"https://wordpress.com/support/wordpress-editor/blocks/audio-block/",postId:148670},"core/archives":{link:"https://wordpress.com/support/wordpress-editor/blocks/archives-block/",postId:149225},"core/query":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/query-loop-block/",postId:184188},"core/media-text":{link:"https://wordpress.com/support/wordpress-editor/blocks/media-text-block/",postId:151100},"core/table":{link:"https://wordpress.com/support/wordpress-editor/blocks/table-block/",postId:149666},"core/social-links":{link:"https://wordpress.com/support/wordpress-editor/blocks/social-links-block/",postId:159466},"core/columns":{link:"https://wordpress.com/support/wordpress-editor/blocks/columns-block/",postId:149073},"core/image":{link:"https://wordpress.com/support/wordpress-editor/blocks/image-block/",postId:148378},"core/cover":{link:"https://wordpress.com/support/wordpress-editor/blocks/cover-block/",postId:148675},"core/buttons":{link:"https://wordpress.com/support/wordpress-editor/blocks/buttons-block/",postId:162116},"core/gallery":{link:"https://wordpress.com/support/wordpress-editor/blocks/gallery-block/",postId:148667},"core/post-content":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/post-content-block/",postId:216265},"core/table-of-contents":{link:"https://wordpress.com/support/wordpress-editor/table-of-contents-block/",postId:201571},"core/comments":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/comments-block/",postId:218903},"core/post-time-to-read":{link:"https://wordpress.com/support/site-editing/theme-blocks/time-to-read-block",postId:243241},"syntaxhighlighter/code":{link:"https://wordpress.com/support/wordpress-editor/blocks/syntax-highlighter-code-block/",postId:4743},"crowdsignal-forms/vote":{link:"https://wordpress.com/support/wordpress-editor/blocks/vote-block/",postId:174824},"crowdsignal-forms/poll":{link:"https://wordpress.com/support/wordpress-editor/blocks/poll-block/",postId:170183},"crowdsignal-forms/nps":{link:"https://wordpress.com/support/wordpress-editor/blocks/measure-nps-block/",postId:182393},"crowdsignal-forms/feedback":{link:"https://wordpress.com/support/wordpress-editor/blocks/feedback-button-block/",postId:183578},"a8c/posts-carousel":{link:"https://wordpress.com/support/wordpress-editor/blocks/posts-carousel-block/",postId:166417},"premium-content/container":{link:"https://wordpress.com/support/wordpress-editor/blocks/premium-content-block/",postId:243475},"a8c/blog-posts":{link:"https://wordpress.com/support/wordpress-editor/blocks/blog-posts-block/",postId:158419},"jetpack/send-a-message":{link:"https://wordpress.com/support/wordpress-editor/blocks/whatsapp-button-block/",postId:169728},"jetpack/blogroll":{link:"https://wordpress.com/support/wordpress-editor/blocks/blogroll-block/",postId:291406},"jetpack/timeline":{link:"https://wordpress.com/support/wordpress-editor/blocks/timeline-block/",postId:158453},"jetpack/story":{link:"https://wordpress.com/support/wordpress-editor/blocks/story-block/",postId:176320},"jetpack/revue":{link:"https://wordpress.com/support/wordpress-editor/blocks/revue-block/",postId:67810},"jetpack/rating-star":{link:"https://wordpress.com/support/wordpress-editor/blocks/ratings-block/",postId:158224},"jetpack/related-posts":{link:"https://wordpress.com/support/wordpress-editor/blocks/related-posts-block/",postId:1545},"jetpack/repeat-visitor":{link:"https://wordpress.com/support/wordpress-editor/blocks/repeat-visitor-block/",postId:154471},"jetpack/podcast-player":{link:"https://wordpress.com/support/wordpress-editor/blocks/podcast-player-block/",postId:163160},"jetpack/opentable":{link:"https://wordpress.com/support/wordpress-editor/blocks/opentable-block/",postId:162208},"jetpack/map":{link:"https://wordpress.com/support/wordpress-editor/blocks/map-block/",postId:149684},"jetpack/image-compare":{link:"https://wordpress.com/support/wordpress-editor/blocks/image-compare-block/",postId:168169},"jetpack/gif":{link:"https://wordpress.com/support/wordpress-editor/blocks/gif-block/",postId:174810},"jetpack/event-countdown":{link:"https://wordpress.com/support/wordpress-editor/blocks/event-countdown-block/",postId:159246},"jetpack/donations":{link:"https://wordpress.com/support/wordpress-editor/blocks/donations/",postId:171110},"jetpack/calendly":{link:"https://wordpress.com/support/wordpress-editor/blocks/calendly-block/",postId:162199},"jetpack/business-hours":{link:"https://wordpress.com/support/wordpress-editor/blocks/business-hours-block/",postId:173136},"jetpack/wordads":{link:"https://wordpress.com/support/wordpress-editor/blocks/ad-block/",postId:190916},"jetpack/payments-intro":{link:"https://wordpress.com/support/wordpress-editor/blocks/payments/",postId:169123},"jetpack/contact-info":{link:"https://wordpress.com/support/wordpress-editor/blocks/contact-info-block/",postId:186162},"jetpack/tiled-gallery":{link:"https://wordpress.com/support/wordpress-editor/blocks/tiled-gallery-block/",postId:150746},"jetpack/slideshow":{link:"https://wordpress.com/support/wordpress-editor/blocks/slideshow-block/",postId:157055},"jetpack/subscriptions":{link:"https://wordpress.com/support/wordpress-editor/blocks/subscription-form-block/",postId:170164},"jetpack/contact-form":{link:"https://wordpress.com/support/wordpress-editor/blocks/form-block/",postId:168307},"jetpack/layout-grid":{link:"https://wordpress.com/support/wordpress-editor/blocks/layout-grid-block/",postId:160172},"jetpack/mailchimp":{link:"https://wordpress.com/support/wordpress-editor/blocks/mailchimp-block/",postId:152657},"jetpack/paywall":{link:"https://wordpress.com/support/paid-newsletters/#use-the-paywall-block",postId:168381},"jetpack/sharing-buttons":{link:"https://wordpress.com/support/wordpress-editor/blocks/sharing-buttons-block/",postId:330003},"jetpack/like":{link:"https://wordpress.com/support/likes/",postId:7294},"jetpack/subscriber-login":{link:"https://wordpress.com/support/wordpress-editor/blocks/subscriber-login-block/",postId:380451}}},7136:(e,t,o)=>{"use strict";o.d(t,{Z:()=>d});var s=o(2442),r=o(3419),n=o(5609),i=o(9818),c=o(5736),p=o(9196),a=o.n(p);const __=c.__;function d({children:e,title:t,url:o,postId:c}){const[d,l]=(0,p.useState)(),{tracks:u}=(0,r.z$)(),h=(0,i.useDispatch)("automattic/help-center"),k=h?.setShowHelpCenter,g=h?.setShowSupportDoc;return d&&!d?.closest(".block-editor-block-inspector")?e:a().createElement(a().Fragment,null,e,a().createElement("br",null),k?a().createElement(n.Button,{onClick:()=>{k(!0),g((0,s.aq)(o),c),u.recordEvent("jetpack_mu_wpcom_block_description_support_link_click",{block:t,support_link:o})},style:{marginTop:10,height:"unset"},ref:e=>d!==e&&l(e),className:"fse-inline-support-link is-compact",variant:"link"},__("Block guide","jetpack-mu-wpcom")):a().createElement(n.ExternalLink,{onClick:()=>{u.recordEvent("jetpack_mu_wpcom_block_description_support_link_click",{block:t,support_link:o})},ref:e=>d!==e&&l(e),style:{display:"block",marginTop:10,maxWidth:"fit-content"},className:"fse-inline-support-link",href:o},__("Learn more","jetpack-mu-wpcom")))}},6354:e=>{"use strict";if(void 0==={consumer_slug:"jetpack-mu-wpcom"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack-mu-wpcom"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack-mu-wpcom"}},9196:e=>{"use strict";e.exports=window.React},2819:e=>{"use strict";e.exports=window.lodash},6989:e=>{"use strict";e.exports=window.wp.apiFetch},5609:e=>{"use strict";e.exports=window.wp.components},4333:e=>{"use strict";e.exports=window.wp.compose},9818:e=>{"use strict";e.exports=window.wp.data},9307:e=>{"use strict";e.exports=window.wp.element},2694:e=>{"use strict";e.exports=window.wp.hooks},5736:e=>{"use strict";e.exports=window.wp.i18n},8817:e=>{"use strict";e.exports=window.wp.plugins},6483:e=>{"use strict";e.exports=window.wp.url},2674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var s in t)o.o(t,s)&&!o.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=o(2442),t=o(9307),s=o(2694),r=o(9196),n=o.n(r),i=o(2431),c=o(7136);const p=(o,s,r,i)=>{const p=(0,e.aq)(r);return(0,t.createInterpolateElement)("",{InlineSupportLink:n().createElement(c.Z,{title:String(o),url:p,postId:i},s)})},a={};(0,s.addFilter)("blocks.registerBlockType","jetpack-mu-wpcom/add-block-support-link",((e,t)=>{const o=e?.parent?.toString(),s=o&&"core/post-content"!==o?o:t;if(a[t])return e;a[t]=!0;const r=i.gM[t]?.link||i.ZP[s]?.link,n=i.gM[t]?.postId||i.ZP[s]?.postId;return r&&n&&(e.description=p(String(e.title),e.description,r,n)),i.yd[t]&&e.variations&&Array.isArray(e.variations)&&(e.variations=e.variations.map((e=>{const o=i.yd[t][e.name]?.link,s=i.yd[t][e.name]?.postId;return o?(e.description=p(e.title,e.description,o,s),e):e}))),e}))})()})(); \ No newline at end of file +(()=>{var e={73625:(e,t,o)=>{"use strict";o.d(t,{bU:()=>a,v8:()=>p});var s=o(30275),r=o(94333),n=o(65736),i=o(99196);const c=(0,i.createContext)(null);function p(){return function(e=""){if(!e)return"";const t=e.toLowerCase();return(["pt_br","pt-br","zh_tw","zh-tw","zh_cn","zh-cn","zh_sg","zh-sg"].includes(t)?t.replace("_","-"):t.replace(/([-_].*)$/i,""))||"en"}(function(){const e=n.getLocaleData()||{};return e[""]?.lang||e[""]?.language||""}())}function a(){const e=(0,i.useContext)(c),t=!!e,[o,s]=(0,i.useState)(p());return(0,i.useEffect)((()=>{if(!t)return s(p()),n.subscribe((()=>{s(p())}))}),[t]),e||o||"undefined"!=typeof window&&window._currentUserLocale||"en"}(0,r.createHigherOrderComponent)((e=>t=>{const o={...t,locale:a()};return(0,s.jsx)(e,{...o})}),"withLocale")},70560:(e,t,o)=>{"use strict";o.d(t,{GG:()=>s,Xb:()=>a,_r:()=>h,dH:()=>r,hI:()=>d,iT:()=>n,kV:()=>c,mL:()=>l,vS:()=>u,xh:()=>p,xn:()=>i});const s=["en","ja","es","pt","fr","pt-br"],r=["en","pt-br","de","es","fr","it"],n=["en","fr","de","es"],i=["en","fr","de","es"],c=["en","es"],p=["ar","de","el","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"],a={"pt-br":"br",br:"bre",zh:"zh-cn","zh-hk":"zh-tw","zh-sg":"zh-cn",kr:"ko"},d=["ar","de","en","es","fr","he","id","it","ja","ko","nl","pt-br","ru","sv","tr","zh-cn","zh-tw"],l=["ar","de","el","en","es","fa","fi","fr","id","it","ja","nl","pt","pt-br","ru","sv","th","tl","tr"],u=["es","pt-br","de","fr","he","ja","it","nl","ru","tr","id","zh-cn","zh-tw","ko","ar","sv"],h=["en","ar","de","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"]},34369:(e,t,o)=>{"use strict";o.d(t,{aq:()=>m});var s=o(30275),r=o(94333),n=o(99196),i=o(73625),c=o(70560);const p="http://__domain__.invalid";const a=(e,t=[])=>(o,s)=>(t.includes(s)&&"en"!==s&&o.pathname.substr(0,s.length+2)!=="/"+s+"/"&&(o.host=`${c.Xb[s]||s}.${e}`),o),d=(e,t=[],o=null)=>(s,r)=>(s.host="wordpress.com","object"==typeof o&&o instanceof RegExp&&!o.test(s.pathname)&&(t=[]),s.pathname=e+s.pathname,t.includes(r)&&"en"!==r&&(s.pathname=r+s.pathname),s),l=(e=[],t=null,o)=>(s,r)=>"object"==typeof t&&t instanceof RegExp&&!t.test(s.pathname)?s:e.includes(r)&&"en"!==r?("prefix"===o?s.pathname=r+s.pathname:"suffix"===o&&(s.pathname.endsWith("/")?s.pathname+=r+"/":s.pathname+="/"+r),s):s,u=(e=[],t=null)=>(o,s)=>l(e,t,"prefix")(o,s),h=(e=[],t=null)=>(o,s)=>l(e,t,"suffix")(o,s),k={"wordpress.com/support/":u(c.hI),"wordpress.com/forums/":u(c.mL),"wordpress.com/blog/":u(c.GG,/^\/blog\/?$/),"wordpress.com/go/":(e,t)=>["/go/","/go"].includes(e.pathname)||"es"===t?u(c.dH)(e,t):e,"wordpress.com/pricing/":u(c.xh),"wordpress.com/tos/":u(c.vS),"wordpress.com/wp-admin/":a("wordpress.com",c.vS),"wordpress.com/wp-login.php":a("wordpress.com",c.vS),"jetpack.com":u(c._r),"cloud.jetpack.com":u(c._r),"en.support.wordpress.com":d("/support",c.hI),"en.blog.wordpress.com":d("/blog",c.GG,/^\/$/),"apps.wordpress.com":u(c.vS),"en.forums.wordpress.com":d("/forums",c.mL),"automattic.com/privacy/":u(c.iT),"automattic.com/cookies/":u(c.xn),"wordpress.com/help/contact/":(e,t,o)=>o?e:(e.pathname=e.pathname.replace(/\/help\//,"/support/"),u(c.hI)(e,t)),"wordpress.com":(e,t)=>/^\/(checkout|me)(\/|$)/.test(e.pathname)||/\/([a-z0-9-]+\.)+[a-z]{2,}\/?$/.test(e.pathname)?e:u(c.vS)(e,t),"wordpress.com/theme/":(e,t,o)=>o?e:u(c.vS)(e,t),"wordpress.com/themes/":(e,t,o)=>o?e:u(c.vS)(e,t),"wordpress.com/plugins/":(e,t,o)=>o?e:u(c.vS)(e,t),"wordpress.com/log-in/":(e,t,o)=>o?e:h(c.vS)(e,t),"wordpress.com/start/":(e,t,o)=>o?e:h(c.vS)(e,t),"wordpress.com/learn/":(e,t)=>e.pathname.includes("/learn/webinars/")&&"es"===t?(e.pathname=e.pathname.replace("/learn/webinars/","/learn/es/webinars/"),e):h(c.kV)(e,t),"wordpress.com/plans/":(e,t,o)=>o||"/plans/"!==e.pathname?e:u(c.xh)(e,t),"wordpress.com/setup/":(e,t,o)=>o?e:h(c.vS)(e,t)};function g(e){try{return new URL(String(e),p).pathname.endsWith("/")}catch(e){return!1}}function m(e,t=function(){return(0,i.v8)()??"en"}(),o=!0,s=!1){let r;try{r=new URL(String(e),p)}catch(t){return e}if(r.origin===p)return e;r.protocol="https:",r.pathname.endsWith(".php")||(r.pathname=(r.pathname+"/").replace(/\/+$/,"/"));const n=r.pathname.substr(0,1+r.pathname.indexOf("/",1));if("en.wordpress.com"===r.host&&(r.host="wordpress.com"),"/"+t+"/"===n)return e;const c=[r.host,r.host+n,r.host+r.pathname];for(let n=c.length-1;n>=0;n--)if(c[n]in k){const i=k[c[n]](r,t,o).href;if(!s)return i;try{const t=new URL(i);return g(e)||(t.pathname=t.pathname.replace(/\/+$/,"")),t.href}catch{return i}}return e}function w(){const e=(0,i.bU)();return(0,n.useCallback)(((t,o,s,r)=>m(t,o||e,s,r)),[e])}(0,r.createHigherOrderComponent)((e=>t=>{const o={...t,localizeUrl:w()};return(0,s.jsx)(e,{...o})}),"withLocalizeUrl")},951:(e,t,o)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;t.splice(1,0,o,"color: inherit");let s=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(s++,"%c"===e&&(r=s))})),t.splice(r,0,o)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=o(51741)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},51741:(e,t,o)=>{e.exports=function(e){function t(e){let o,r,n,i=null;function c(...e){if(!c.enabled)return;const s=c,r=Number(new Date),n=r-(o||r);s.diff=n,s.prev=o,s.curr=r,o=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((o,r)=>{if("%%"===o)return"%";i++;const n=t.formatters[r];if("function"==typeof n){const t=e[i];o=n.call(s,t),e.splice(i,1),i--}return o})),t.formatArgs.call(s,e);(s.log||t.log).apply(s,e)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=s,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(r!==t.namespaces&&(r=t.namespaces,n=t.enabled(e)),n),set:e=>{i=e}}),"function"==typeof t.init&&t.init(c),c}function s(e,o){const s=t(this.namespace+(void 0===o?":":o)+e);return s.log=this.log,s}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let o;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const s=("string"==typeof e?e:"").split(/[\s,]+/),r=s.length;for(o=0;o{t[o]=e[o]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let o=0;for(let t=0;t{var t=1e3,o=60*t,s=60*o,r=24*s,n=7*r,i=365.25*r;function c(e,t,o,s){var r=t>=1.5*o;return Math.round(e/o)+" "+s+(r?"s":"")}e.exports=function(e,p){p=p||{};var a=typeof e;if("string"===a&&e.length>0)return function(e){if((e=String(e)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!c)return;var p=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return p*i;case"weeks":case"week":case"w":return p*n;case"days":case"day":case"d":return p*r;case"hours":case"hour":case"hrs":case"hr":case"h":return p*s;case"minutes":case"minute":case"mins":case"min":case"m":return p*o;case"seconds":case"second":case"secs":case"sec":case"s":return p*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return}}(e);if("number"===a&&isFinite(e))return p.long?function(e){var n=Math.abs(e);if(n>=r)return c(e,n,r,"day");if(n>=s)return c(e,n,s,"hour");if(n>=o)return c(e,n,o,"minute");if(n>=t)return c(e,n,t,"second");return e+" ms"}(e):function(e){var n=Math.abs(e);if(n>=r)return Math.round(e/r)+"d";if(n>=s)return Math.round(e/s)+"h";if(n>=o)return Math.round(e/o)+"m";if(n>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},24561:(e,t,o)=>{"use strict";var s=o(99196),r=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,c=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function a(e,t,o){var s,n={},a=null,d=null;for(s in void 0!==o&&(a=""+o),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(d=t.ref),t)i.call(t,s)&&!p.hasOwnProperty(s)&&(n[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===n[s]&&(n[s]=t[s]);return{$$typeof:r,type:e,key:a,ref:d,props:n,_owner:c.current}}t.jsx=a},30275:(e,t,o)=>{"use strict";e.exports=o(24561)},6975:(e,t,o)=>{"use strict";o.d(t,{Z:()=>p});var s=o(951);const r=o.n(s)()("dops:analytics");let n,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,o){c.setUser(e,t),c.setSuperProps(o),c.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){n=e},assignSuperProps:function(e){n=Object.assign(n||{},e)},mc:{bumpStat:function(e,t){const o=function(e,t){let o="";if("object"==typeof e){for(const t in e)o+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Bumping stats %o",e)}else o="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Bumping stat "%s" in group "%s"',t,e);return o}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+o+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const o=function(e,t){let o="";if("object"==typeof e){for(const t in e)o+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Built stats %o",e)}else o="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Built stat "%s" in group "%s"',t,e);return o}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+o+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,o,s,r,n,i){c.ga.recordPurchase(e,t,o,s,r,n,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(n&&(r("- Super Props: %o",n),t=Object.assign(t,n)),r('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):r('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){r("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),r("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,o,s){c.ga.initialize();let n="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==o&&(n+=" [Option Label: "+o+"]"),void 0!==s&&(n+=" [Option Value: "+s+"]"),r(n),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,o,s)},recordPurchase:function(e,t,o,s,r,n,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:s,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:o,price:r,quantity:n}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},p=c},64743:(e,t,o)=>{"use strict";o.d(t,{ZP:()=>l});var s=o(61132),r=o(96483);function n(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const i=n("JsonParseError"),c=n("JsonParseAfterRedirectError"),p=n("Api404Error"),a=n("Api404AfterRedirectError"),d=n("FetchNetworkError");const l=new function(e,t){let o=e,n=e,i={"X-WP-Nonce":t},c={credentials:"same-origin",headers:i},p={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},a=function(e){const t=e.split("?"),o=t.length>1?t[1]:"",s=o.length?o.split("&"):[];return s.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+s.join("&")};const d={setApiRoot(e){o=e},setWpcomOriginApiUrl(e){n=e},setApiNonce(e){i={"X-WP-Nonce":e},c={credentials:"same-origin",headers:i},p={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{a=e},registerSite:(e,t,r)=>{const n={registration_nonce:e,no_iframe:!0};return(0,s.jetpackConfigHas)("consumer_slug")&&(n.plugin_slug=(0,s.jetpackConfigGet)("consumer_slug")),null!==t&&(n.redirect_uri=t),r&&(n.from=r),k(`${o}jetpack/v4/connection/register`,p,{body:JSON.stringify(n)}).then(u).then(h)},fetchAuthorizationUrl:e=>l((0,r.addQueryArgs)(`${o}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),c).then(u).then(h),fetchSiteConnectionData:()=>l(`${o}jetpack/v4/connection/data`,c).then(h),fetchSiteConnectionStatus:()=>l(`${o}jetpack/v4/connection`,c).then(h),fetchSiteConnectionTest:()=>l(`${o}jetpack/v4/connection/test`,c).then(u).then(h),fetchUserConnectionData:()=>l(`${o}jetpack/v4/connection/data`,c).then(h),fetchUserTrackingSettings:()=>l(`${o}jetpack/v4/tracking/settings`,c).then(u).then(h),updateUserTrackingSettings:e=>k(`${o}jetpack/v4/tracking/settings`,p,{body:JSON.stringify(e)}).then(u).then(h),disconnectSite:()=>k(`${o}jetpack/v4/connection`,p,{body:JSON.stringify({isActive:!1})}).then(u).then(h),fetchConnectUrl:()=>l(`${o}jetpack/v4/connection/url`,c).then(u).then(h),unlinkUser:()=>k(`${o}jetpack/v4/connection/user`,p,{body:JSON.stringify({linked:!1})}).then(u).then(h),reconnect:()=>k(`${o}jetpack/v4/connection/reconnect`,p).then(u).then(h),fetchConnectedPlugins:()=>l(`${o}jetpack/v4/connection/plugins`,c).then(u).then(h),setHasSeenWCConnectionModal:()=>k(`${o}jetpack/v4/seen-wc-connection-modal`,p).then(u).then(h),fetchModules:()=>l(`${o}jetpack/v4/module/all`,c).then(u).then(h),fetchModule:e=>l(`${o}jetpack/v4/module/${e}`,c).then(u).then(h),activateModule:e=>k(`${o}jetpack/v4/module/${e}/active`,p,{body:JSON.stringify({active:!0})}).then(u).then(h),deactivateModule:e=>k(`${o}jetpack/v4/module/${e}/active`,p,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>k(`${o}jetpack/v4/module/${e}`,p,{body:JSON.stringify(t)}).then(u).then(h),updateSettings:e=>k(`${o}jetpack/v4/settings`,p,{body:JSON.stringify(e)}).then(u).then(h),getProtectCount:()=>l(`${o}jetpack/v4/module/protect/data`,c).then(u).then(h),resetOptions:e=>k(`${o}jetpack/v4/options/${e}`,p,{body:JSON.stringify({reset:!0})}).then(u).then(h),activateVaultPress:()=>k(`${o}jetpack/v4/plugins`,p,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(u).then(h),getVaultPressData:()=>l(`${o}jetpack/v4/module/vaultpress/data`,c).then(u).then(h),installPlugin:(e,t)=>{const s={slug:e,status:"active"};return t&&(s.source=t),k(`${o}jetpack/v4/plugins`,p,{body:JSON.stringify(s)}).then(u).then(h)},activateAkismet:()=>k(`${o}jetpack/v4/plugins`,p,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(u).then(h),getAkismetData:()=>l(`${o}jetpack/v4/module/akismet/data`,c).then(u).then(h),checkAkismetKey:()=>l(`${o}jetpack/v4/module/akismet/key/check`,c).then(u).then(h),checkAkismetKeyTyped:e=>k(`${o}jetpack/v4/module/akismet/key/check`,p,{body:JSON.stringify({api_key:e})}).then(u).then(h),fetchStatsData:e=>l(function(e){let t=`${o}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),c).then(u).then(h).then(m),getPluginUpdates:()=>l(`${o}jetpack/v4/updates/plugins`,c).then(u).then(h),getPlans:()=>l(`${o}jetpack/v4/plans`,c).then(u).then(h),fetchSettings:()=>l(`${o}jetpack/v4/settings`,c).then(u).then(h),updateSetting:e=>k(`${o}jetpack/v4/settings`,p,{body:JSON.stringify(e)}).then(u).then(h),fetchSiteData:()=>l(`${o}jetpack/v4/site`,c).then(u).then(h).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>l(`${o}jetpack/v4/site/features`,c).then(u).then(h).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>l(`${o}jetpack/v4/site/products`,c).then(u).then(h),fetchSitePurchases:()=>l(`${o}jetpack/v4/site/purchases`,c).then(u).then(h).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>l(`${o}jetpack/v4/site/benefits`,c).then(u).then(h).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>l(`${o}jetpack/v4/site/discount`,c).then(u).then(h).then((e=>e.data)),fetchSetupQuestionnaire:()=>l(`${o}jetpack/v4/setup/questionnaire`,c).then(u).then(h),fetchRecommendationsData:()=>l(`${o}jetpack/v4/recommendations/data`,c).then(u).then(h),fetchRecommendationsProductSuggestions:()=>l(`${o}jetpack/v4/recommendations/product-suggestions`,c).then(u).then(h),fetchRecommendationsUpsell:()=>l(`${o}jetpack/v4/recommendations/upsell`,c).then(u).then(h),fetchRecommendationsConditional:()=>l(`${o}jetpack/v4/recommendations/conditional`,c).then(u).then(h),saveRecommendationsData:e=>k(`${o}jetpack/v4/recommendations/data`,p,{body:JSON.stringify({data:e})}).then(u),fetchProducts:()=>l(`${o}jetpack/v4/products`,c).then(u).then(h),fetchRewindStatus:()=>l(`${o}jetpack/v4/rewind`,c).then(u).then(h).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>l(`${o}jetpack/v4/scan`,c).then(u).then(h).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>k(`${o}jetpack/v4/notice/${e}`,p,{body:JSON.stringify({dismissed:!0})}).then(u).then(h),fetchPluginsData:()=>l(`${o}jetpack/v4/plugins`,c).then(u).then(h),fetchIntroOffers:()=>l(`${o}jetpack/v4/intro-offers`,c).then(u).then(h),fetchVerifySiteGoogleStatus:e=>l(null!==e?`${o}jetpack/v4/verify-site/google/${e}`:`${o}jetpack/v4/verify-site/google`,c).then(u).then(h),verifySiteGoogle:e=>k(`${o}jetpack/v4/verify-site/google`,p,{body:JSON.stringify({keyring_id:e})}).then(u).then(h),submitSurvey:e=>k(`${o}jetpack/v4/marketing/survey`,p,{body:JSON.stringify(e)}).then(u).then(h),saveSetupQuestionnaire:e=>k(`${o}jetpack/v4/setup/questionnaire`,p,{body:JSON.stringify(e)}).then(u).then(h),updateLicensingError:e=>k(`${o}jetpack/v4/licensing/error`,p,{body:JSON.stringify(e)}).then(u).then(h),updateLicenseKey:e=>k(`${o}jetpack/v4/licensing/set-license`,p,{body:JSON.stringify({license:e})}).then(u).then(h),getUserLicensesCounts:()=>l(`${o}jetpack/v4/licensing/user/counts`,c).then(u).then(h),getUserLicenses:()=>l(`${o}jetpack/v4/licensing/user/licenses`,c).then(u).then(h),updateLicensingActivationNoticeDismiss:e=>k(`${o}jetpack/v4/licensing/user/activation-notice-dismiss`,p,{body:JSON.stringify({last_detached_count:e})}).then(u).then(h),updateRecommendationsStep:e=>k(`${o}jetpack/v4/recommendations/step`,p,{body:JSON.stringify({step:e})}).then(u),confirmIDCSafeMode:()=>k(`${o}jetpack/v4/identity-crisis/confirm-safe-mode`,p).then(u),startIDCFresh:e=>k(`${o}jetpack/v4/identity-crisis/start-fresh`,p,{body:JSON.stringify({redirect_uri:e})}).then(u).then(h),migrateIDC:()=>k(`${o}jetpack/v4/identity-crisis/migrate`,p).then(u),attachLicenses:e=>k(`${o}jetpack/v4/licensing/attach-licenses`,p,{body:JSON.stringify({licenses:e})}).then(u).then(h),fetchSearchPlanInfo:()=>l(`${n}jetpack/v4/search/plan`,c).then(u).then(h),fetchSearchSettings:()=>l(`${n}jetpack/v4/search/settings`,c).then(u).then(h),updateSearchSettings:e=>k(`${n}jetpack/v4/search/settings`,p,{body:JSON.stringify(e)}).then(u).then(h),fetchSearchStats:()=>l(`${n}jetpack/v4/search/stats`,c).then(u).then(h),fetchWafSettings:()=>l(`${o}jetpack/v4/waf`,c).then(u).then(h),updateWafSettings:e=>k(`${o}jetpack/v4/waf`,p,{body:JSON.stringify(e)}).then(u).then(h),fetchWordAdsSettings:()=>l(`${o}jetpack/v4/wordads/settings`,c).then(u).then(h),updateWordAdsSettings:e=>k(`${o}jetpack/v4/wordads/settings`,p,{body:JSON.stringify(e)}),fetchSearchPricing:()=>l(`${n}jetpack/v4/search/pricing`,c).then(u).then(h),fetchMigrationStatus:()=>l(`${o}jetpack/v4/migration/status`,c).then(u).then(h),fetchBackupUndoEvent:()=>l(`${o}jetpack/v4/site/backup/undo-event`,c).then(u).then(h),fetchBackupPreflightStatus:()=>l(`${o}jetpack/v4/site/backup/preflight`,c).then(u).then(h)};function l(e,t){return fetch(a(e),t)}function k(e,t,o){return fetch(e,Object.assign({},t,o)).catch(g)}function m(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,d)};function u(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new a(e.redirected):new p})):e.json().catch((e=>k(e))).then((t=>{const o=new Error(`${t.message} (Status ${e.status})`);throw o.response=t,o.name="ApiError",o}))}function h(e){return e.json().catch((t=>k(t,e.redirected,e.url)))}function k(e,t,o){throw t?new c(o):new i}function g(){throw new d}},61132:(e,t,o)=>{let s={};try{s=o(76354)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),s={missingConfig:!0}}const r=e=>s.hasOwnProperty(e);e.exports={jetpackConfigHas:r,jetpackConfigGet:e=>{if(!r(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return s[e]}}},31294:(e,t,o)=>{"use strict";o.d(t,{Z:()=>p});var s=o(64743),r=o(9818),n=o(99196),i=o(80428);const c=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},p=({registrationNonce:e=c.registrationNonce,apiRoot:t=c.apiRoot,apiNonce:o=c.apiNonce,redirectUri:p,autoTrigger:a,from:d,skipUserConnection:l}={})=>{const{registerSite:u,connectUser:h,refreshConnectedPlugins:k}=(0,r.useDispatch)(i.t),g=(0,r.useSelect)((e=>e(i.t).getRegistrationError())),{siteIsRegistering:m,userIsConnecting:w,userConnectionData:f,connectedPlugins:b,connectionErrors:y,isRegistered:C,isUserConnected:v,hasConnectedOwner:I,isOfflineMode:S}=(0,r.useSelect)((e=>({siteIsRegistering:e(i.t).getSiteIsRegistering(),userIsConnecting:e(i.t).getUserIsConnecting(),userConnectionData:e(i.t).getUserConnectionData(),connectedPlugins:e(i.t).getConnectedPlugins(),connectionErrors:e(i.t).getConnectionErrors(),isOfflineMode:e(i.t).getIsOfflineMode(),...e(i.t).getConnectionStatus()}))),j=()=>l?p?(window.location=p,Promise.resolve(p)):Promise.resolve():h({from:d,redirectUri:p}),_=t=>(t&&t.preventDefault(),C?j():u({registrationNonce:e,redirectUri:p,from:d}).then((()=>j())));return(0,n.useEffect)((()=>{s.ZP.setApiRoot(t),s.ZP.setApiNonce(o)}),[t,o]),(0,n.useEffect)((()=>{!a||m||w||_()}),[]),{handleRegisterSite:_,handleConnectUser:j,refreshConnectedPlugins:k,isRegistered:C,isUserConnected:v,siteIsRegistering:m,userIsConnecting:w,registrationError:g,userConnectionData:f,hasConnectedOwner:I,connectedPlugins:b,connectionErrors:y,isOfflineMode:S}}},27523:(e,t,o)=>{"use strict";o.d(t,{LI:()=>n,N4:()=>c,Qo:()=>l,T1:()=>a,TS:()=>d,ZP:()=>v,b5:()=>h,i6:()=>r,qJ:()=>k,qV:()=>p,r7:()=>i,wQ:()=>u});var s=o(64743);const r="SET_CONNECTION_STATUS",n="SET_CONNECTION_STATUS_IS_FETCHING",i="SET_SITE_IS_REGISTERING",c="SET_USER_IS_CONNECTING",p="SET_REGISTRATION_ERROR",a="CLEAR_REGISTRATION_ERROR",d="SET_AUTHORIZATION_URL",l="DISCONNECT_USER_SUCCESS",u="SET_CONNECTED_PLUGINS",h="SET_CONNECTION_ERRORS",k="SET_IS_OFFLINE_MODE",g=e=>({type:r,connectionStatus:e}),m=e=>({type:i,isRegistering:e}),w=e=>({type:c,isConnecting:e}),f=e=>({type:p,registrationError:e}),b=()=>({type:a}),y=e=>({type:d,authorizationUrl:e}),C=e=>({type:u,connectedPlugins:e});const v={setConnectionStatus:g,setConnectionStatusIsFetching:e=>({type:n,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:m,setUserIsConnecting:w,setRegistrationError:f,clearRegistrationError:b,setAuthorizationUrl:y,registerSite:function*({registrationNonce:e,redirectUri:t,from:o=""}){yield b(),yield m(!0);try{const s=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t,from:o};return yield g({isRegistered:!0}),yield y(s.authorizeUrl),yield m(!1),Promise.resolve(s)}catch(e){return yield f(e),yield m(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:o}={}){yield w(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:o}},disconnectUserSuccess:()=>({type:l}),setConnectedPlugins:C,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>s.ZP.fetchConnectedPlugins().then((o=>{e(C(o)),t(o)})))),setConnectionErrors:e=>({type:h,connectionErrors:e}),setIsOfflineMode:e=>({type:k,isOfflineMode:e})}},31432:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var s=o(64743),r=o(9818),n=o(27057);const i={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>s.ZP.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t,from:o})=>s.ZP.registerSite(e,t,o),CONNECT_USER:(0,r.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:o,redirectUri:s}={})=>new Promise(((r,i)=>{e(n.Z).getAuthorizationUrl(s).then((e=>{const s=o||(e=>window.location.assign(e)),n=new URL(e);t&&n.searchParams.set("from",encodeURIComponent(t));const i=n.toString();s(i),r(i)})).catch((e=>{i(e)}))}))))}},41479:(e,t,o)=>{"use strict";o.d(t,{Z:()=>n});var s=o(9818),r=o(27523);const n=(0,s.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case r.i6:return{...e,...t.connectionStatus};case r.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===r.LI?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===r.r7?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===r.N4?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case r.T1:return!1;case r.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===r.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===r.wQ?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===r.b5?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===r.qJ?t.isConnecting:e})},77728:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var s=o(9818),r=o(27523),n=o(27057);const i={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const o=Boolean(e.authorizationUrl),r=(0,s.select)(n.Z).hasFinishedResolution("getAuthorizationUrl",t);return o&&!r&&(0,s.dispatch)(n.Z).finishResolution("getAuthorizationUrl",t),o},*fulfill(e){const t=yield r.ZP.fetchAuthorizationUrl(e);yield r.ZP.setAuthorizationUrl(t.authorizeUrl)}}}}},82725:(e,t,o)=>{"use strict";o.d(t,{Z:()=>s});const s={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},13535:(e,t,o)=>{"use strict";o.d(t,{Z:()=>n});var s=o(9818);class r{static store=null;static mayBeInit(e,t){null===r.store&&(r.store=(0,s.createReduxStore)(e,t),(0,s.register)(r.store))}}const n=r},27057:(e,t,o)=>{"use strict";o.d(t,{Z:()=>s});const s="jetpack-connection"},80428:(e,t,o)=>{"use strict";o.d(t,{t:()=>a.Z});var s=o(27523),r=o(31432),n=o(41479),i=o(77728),c=o(82725),p=o(13535),a=o(27057);const d=window.JP_CONNECTION_INITIAL_STATE;d||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),p.Z.mayBeInit(a.Z,{__experimentalUseThunks:!0,reducer:n.Z,actions:s.ZP,selectors:c.Z,resolvers:i.Z,controls:r.Z,initialState:d||{}})},13419:(e,t,o)=>{"use strict";o.d(t,{z$:()=>s.Z});o(76714),o(80354),o(75404);var s=o(61053);o(11380),o(6342),o(96959),o(39058)},6342:(e,t,o)=>{"use strict";o(99196)},96959:(e,t,o)=>{"use strict";o(69307)},61053:(e,t,o)=>{"use strict";o.d(t,{Z:()=>p});var s=o(6975),r=o(31294),n=o(69307);const{tracks:i}=s.Z,{recordEvent:c}=i,p=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:o="page_view",pageViewEventProperties:p={}}={})=>{const[a,d]=(0,n.useState)(!1),{isUserConnected:l,isRegistered:u,userConnectionData:h={}}=(0,r.Z)(),{wpcomUser:{login:k,ID:g}={},blogId:m}=h.currentUser||{},w=(0,n.useCallback)((async(e,t={})=>{l&&g&&k&&c(e,t)}),[l,g,k]);return(0,n.useEffect)((()=>{l&&g&&k&&m&&s.Z.initialize(g,k,{blog_id:m})}),[m,g,k,l]),(0,n.useEffect)((()=>{const s=e?`${t}_${e}_${o}`:null;u&&s&&(a||(w(s,p),d(!0)))}),[a,t,e,o,u,p,w]),{recordEvent:w,tracks:i}}},11380:(e,t,o)=>{"use strict";o(9818),o(69307),o(39058)},44166:(e,t,o)=>{"use strict";o.d(t,{ZP:()=>u,rW:()=>l});var s=o(9818),r=o(99505),n=o(82162),i=o(39058);const c="SET_JETPACK_MODULES",p="SET_MODULE_UPDATING";function a(e){return l({isLoading:e})}function d(e,t){return{type:p,name:e,isUpdating:t}}function l(e){return{type:c,options:e}}const u={updateJetpackModuleStatus:function*(e){try{yield d(e.name,!0),yield(0,n.zL)(e);const t=yield(0,n.Bs)();return yield l({data:t}),!0}catch(e){const t=(0,s.select)(i.p).getJetpackModules();return yield l(t),!1}finally{yield d(e.name,!1)}},setJetpackModules:l,fetchModules:function*(){if((0,r.Wp)())return!0;try{yield a(!0);const e=yield(0,n.Bs)();return yield l({data:e}),!0}catch(e){const t=(0,s.select)(i.p).getJetpackModules();return yield l(t),!1}finally{yield a(!1)}}}},82162:(e,t,o)=>{"use strict";o.d(t,{Bs:()=>c,ZP:()=>a,zL:()=>p});var s=o(86989),r=o.n(s);const n="FETCH_JETPACK_MODULES",i="UPDATE_JETPACK_MODULE_STATUS",c=()=>({type:n}),p=e=>({type:i,settings:e}),a={[n]:function(){return r()({path:"/jetpack/v4/module/all",method:"GET"})},[i]:function({settings:e}){return r()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},39058:(e,t,o)=>{"use strict";o.d(t,{p:()=>a});var s=o(9818),r=o(44166),n=o(82162),i=o(42469),c=o(55133),p=o(43524);const a="jetpack-modules",d=(0,s.createReduxStore)(a,{reducer:i.Z,actions:r.ZP,controls:n.ZP,resolvers:c.Z,selectors:p.Z});(0,s.register)(d);const l=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==l&&(0,s.dispatch)(a).setJetpackModules({data:{...l}})},42469:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});const s={isLoading:!1,isUpdating:{},data:{}},r=(e=s,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},55133:(e,t,o)=>{"use strict";o.d(t,{Z:()=>n});var s=o(44166),r=o(82162);const n={getJetpackModules:function*(){try{const e=yield(0,r.Bs)();if(e)return(0,s.rW)({data:e})}catch(e){console.error(e)}}}},43524:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var s=o(99505);const r={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,s.Wp)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},75404:(e,t,o)=>{"use strict";var s=o(65736);o(96483),o(92819);const __=s.__;__("Upgrade your plan to use video covers","jetpack-mu-wpcom"),__("Upgrade your plan to upload audio","jetpack-mu-wpcom")},76714:(e,t,o)=>{"use strict";o(98817)},99505:(e,t,o)=>{"use strict";function s(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function r(){return"simple"===s()}o.d(t,{Wp:()=>r})},80354:(e,t,o)=>{"use strict";o(82674),o(94333)},39765:(e,t,o)=>{"use strict";o.d(t,{ZP:()=>n,gM:()=>r,yd:()=>s});const s={"core/group":{group:{link:"https://wordpress.com/support/wordpress-editor/blocks/group-block/",postId:161882},"group-row":{link:"https://wordpress.com/support/wordpress-editor/blocks/row-block/",postId:190036},"group-stack":{link:"https://wordpress.com/support/wordpress-editor/blocks/row-block/",postId:190036}}},r={"core/nextpage":{link:"https://wordpress.com/support/wordpress-editor/blocks/page-break-block/",postId:149374}},n={"core/template-part":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/template-part-block/",postId:192398},"core/site-title":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/site-title-block/",postId:184569},"core/site-tagline":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/site-tagline-block/",postId:184553},"core/site-logo":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/site-logo-block/",postId:184537},"core/page-list":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/page-list-block/",postId:180696},"core/loginout":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/login-out-block/",postId:184610},"core/video":{link:"https://wordpress.com/support/wordpress-editor/blocks/video-block/",postId:149045},"core/verse":{link:"https://wordpress.com/support/wordpress-editor/blocks/verse-block/",postId:149992},"core/spacer":{link:"https://wordpress.com/support/wordpress-editor/blocks/spacer-block/",postId:148996},"core/shortcode":{link:"https://wordpress.com/support/wordpress-editor/blocks/shortcode-block/",postId:149209},"core/separator":{link:"https://wordpress.com/support/wordpress-editor/blocks/separator-block/",postId:149012},"core/search":{link:"https://wordpress.com/support/wordpress-editor/blocks/search-block/",postId:187104},"core/rss":{link:"https://wordpress.com/support/wordpress-editor/blocks/rss-block/",postId:174794},"core/navigation":{link:"https://wordpress.com/support/site-editing/theme-blocks/navigation-block/",postId:162159},"core/tag-cloud":{link:"https://wordpress.com/support/wordpress-editor/blocks/tag-cloud-block/",postId:188957},"core/quote":{link:"https://wordpress.com/support/wordpress-editor/blocks/quote-block/",postId:148575},"core/pullquote":{link:"https://wordpress.com/support/wordpress-editor/blocks/pullquote-block/",postId:149344},"core/preformatted":{link:"https://wordpress.com/support/wordpress-editor/blocks/preformatted-block/",postId:149339},"core/more":{link:"https://wordpress.com/support/wordpress-editor/blocks/more-block/",postId:148614},"core/list":{link:"https://wordpress.com/support/wordpress-editor/blocks/list-block/",postId:148563},"core/latest-posts":{link:"https://wordpress.com/support/wordpress-editor/blocks/latest-posts-block/",postId:149818},"core/latest-comments":{link:"https://wordpress.com/support/wordpress-editor/blocks/latest-comments-block/",postId:149811},"core/heading":{link:"https://wordpress.com/support/wordpress-editor/blocks/heading-block/",postId:148403},"core/file":{link:"https://wordpress.com/support/wordpress-editor/blocks/file-block/",postId:148586},"core/embed":{link:"https://wordpress.com/support/wordpress-editor/blocks/embed-block/",postId:150644},"core/html":{link:"https://wordpress.com/support/wordpress-editor/blocks/custom-html-block/",postId:149059},"core/code":{link:"https://wordpress.com/support/wordpress-editor/blocks/code-block/",postId:149042},"core/freeform":{link:"https://wordpress.com/support/wordpress-editor/blocks/classic-block/",postId:149026},"core/categories":{link:"https://wordpress.com/support/wordpress-editor/blocks/categories-block/",postId:149793},"core/calendar":{link:"https://wordpress.com/support/wordpress-editor/blocks/calendar-block/",postId:171935},"core/audio":{link:"https://wordpress.com/support/wordpress-editor/blocks/audio-block/",postId:148670},"core/archives":{link:"https://wordpress.com/support/wordpress-editor/blocks/archives-block/",postId:149225},"core/query":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/query-loop-block/",postId:184188},"core/media-text":{link:"https://wordpress.com/support/wordpress-editor/blocks/media-text-block/",postId:151100},"core/table":{link:"https://wordpress.com/support/wordpress-editor/blocks/table-block/",postId:149666},"core/social-links":{link:"https://wordpress.com/support/wordpress-editor/blocks/social-links-block/",postId:159466},"core/columns":{link:"https://wordpress.com/support/wordpress-editor/blocks/columns-block/",postId:149073},"core/image":{link:"https://wordpress.com/support/wordpress-editor/blocks/image-block/",postId:148378},"core/cover":{link:"https://wordpress.com/support/wordpress-editor/blocks/cover-block/",postId:148675},"core/buttons":{link:"https://wordpress.com/support/wordpress-editor/blocks/buttons-block/",postId:162116},"core/gallery":{link:"https://wordpress.com/support/wordpress-editor/blocks/gallery-block/",postId:148667},"core/post-content":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/post-content-block/",postId:216265},"core/table-of-contents":{link:"https://wordpress.com/support/wordpress-editor/table-of-contents-block/",postId:201571},"core/comments":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/comments-block/",postId:218903},"core/post-time-to-read":{link:"https://wordpress.com/support/site-editing/theme-blocks/time-to-read-block",postId:243241},"syntaxhighlighter/code":{link:"https://wordpress.com/support/wordpress-editor/blocks/syntax-highlighter-code-block/",postId:4743},"crowdsignal-forms/vote":{link:"https://wordpress.com/support/wordpress-editor/blocks/vote-block/",postId:174824},"crowdsignal-forms/poll":{link:"https://wordpress.com/support/wordpress-editor/blocks/poll-block/",postId:170183},"crowdsignal-forms/nps":{link:"https://wordpress.com/support/wordpress-editor/blocks/measure-nps-block/",postId:182393},"crowdsignal-forms/feedback":{link:"https://wordpress.com/support/wordpress-editor/blocks/feedback-button-block/",postId:183578},"a8c/posts-carousel":{link:"https://wordpress.com/support/wordpress-editor/blocks/posts-carousel-block/",postId:166417},"premium-content/container":{link:"https://wordpress.com/support/wordpress-editor/blocks/premium-content-block/",postId:243475},"a8c/blog-posts":{link:"https://wordpress.com/support/wordpress-editor/blocks/blog-posts-block/",postId:158419},"jetpack/send-a-message":{link:"https://wordpress.com/support/wordpress-editor/blocks/whatsapp-button-block/",postId:169728},"jetpack/blogroll":{link:"https://wordpress.com/support/wordpress-editor/blocks/blogroll-block/",postId:291406},"jetpack/timeline":{link:"https://wordpress.com/support/wordpress-editor/blocks/timeline-block/",postId:158453},"jetpack/story":{link:"https://wordpress.com/support/wordpress-editor/blocks/story-block/",postId:176320},"jetpack/revue":{link:"https://wordpress.com/support/wordpress-editor/blocks/revue-block/",postId:67810},"jetpack/rating-star":{link:"https://wordpress.com/support/wordpress-editor/blocks/ratings-block/",postId:158224},"jetpack/related-posts":{link:"https://wordpress.com/support/wordpress-editor/blocks/related-posts-block/",postId:1545},"jetpack/repeat-visitor":{link:"https://wordpress.com/support/wordpress-editor/blocks/repeat-visitor-block/",postId:154471},"jetpack/podcast-player":{link:"https://wordpress.com/support/wordpress-editor/blocks/podcast-player-block/",postId:163160},"jetpack/opentable":{link:"https://wordpress.com/support/wordpress-editor/blocks/opentable-block/",postId:162208},"jetpack/map":{link:"https://wordpress.com/support/wordpress-editor/blocks/map-block/",postId:149684},"jetpack/image-compare":{link:"https://wordpress.com/support/wordpress-editor/blocks/image-compare-block/",postId:168169},"jetpack/gif":{link:"https://wordpress.com/support/wordpress-editor/blocks/gif-block/",postId:174810},"jetpack/event-countdown":{link:"https://wordpress.com/support/wordpress-editor/blocks/event-countdown-block/",postId:159246},"jetpack/donations":{link:"https://wordpress.com/support/wordpress-editor/blocks/donations/",postId:171110},"jetpack/calendly":{link:"https://wordpress.com/support/wordpress-editor/blocks/calendly-block/",postId:162199},"jetpack/business-hours":{link:"https://wordpress.com/support/wordpress-editor/blocks/business-hours-block/",postId:173136},"jetpack/wordads":{link:"https://wordpress.com/support/wordpress-editor/blocks/ad-block/",postId:190916},"jetpack/payments-intro":{link:"https://wordpress.com/support/wordpress-editor/blocks/payments/",postId:169123},"jetpack/contact-info":{link:"https://wordpress.com/support/wordpress-editor/blocks/contact-info-block/",postId:186162},"jetpack/tiled-gallery":{link:"https://wordpress.com/support/wordpress-editor/blocks/tiled-gallery-block/",postId:150746},"jetpack/slideshow":{link:"https://wordpress.com/support/wordpress-editor/blocks/slideshow-block/",postId:157055},"jetpack/subscriptions":{link:"https://wordpress.com/support/wordpress-editor/blocks/subscription-form-block/",postId:170164},"jetpack/contact-form":{link:"https://wordpress.com/support/wordpress-editor/blocks/form-block/",postId:168307},"jetpack/layout-grid":{link:"https://wordpress.com/support/wordpress-editor/blocks/layout-grid-block/",postId:160172},"jetpack/mailchimp":{link:"https://wordpress.com/support/wordpress-editor/blocks/mailchimp-block/",postId:152657},"jetpack/paywall":{link:"https://wordpress.com/support/paid-newsletters/#use-the-paywall-block",postId:168381},"jetpack/sharing-buttons":{link:"https://wordpress.com/support/wordpress-editor/blocks/sharing-buttons-block/",postId:330003},"jetpack/like":{link:"https://wordpress.com/support/likes/",postId:7294},"jetpack/subscriber-login":{link:"https://wordpress.com/support/wordpress-editor/blocks/subscriber-login-block/",postId:380451}}},47136:(e,t,o)=>{"use strict";o.d(t,{Z:()=>d});var s=o(34369),r=o(13419),n=o(55609),i=o(9818),c=o(65736),p=o(99196),a=o.n(p);const __=c.__;function d({children:e,title:t,url:o,postId:c}){const[d,l]=(0,p.useState)(),{tracks:u}=(0,r.z$)(),h=(0,i.useDispatch)("automattic/help-center"),k=h?.setShowHelpCenter,g=h?.setShowSupportDoc;return d&&!d?.closest(".block-editor-block-inspector")?e:a().createElement(a().Fragment,null,e,a().createElement("br",null),k?a().createElement(n.Button,{onClick:()=>{k(!0),g((0,s.aq)(o),c),u.recordEvent("jetpack_mu_wpcom_block_description_support_link_click",{block:t,support_link:o})},style:{marginTop:10,height:"unset"},ref:e=>d!==e&&l(e),className:"fse-inline-support-link is-compact",variant:"link"},__("Block guide","jetpack-mu-wpcom")):a().createElement(n.ExternalLink,{onClick:()=>{u.recordEvent("jetpack_mu_wpcom_block_description_support_link_click",{block:t,support_link:o})},ref:e=>d!==e&&l(e),style:{display:"block",marginTop:10,maxWidth:"fit-content"},className:"fse-inline-support-link",href:o},__("Learn more","jetpack-mu-wpcom")))}},76354:e=>{"use strict";if(void 0==={consumer_slug:"jetpack-mu-wpcom"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack-mu-wpcom"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack-mu-wpcom"}},99196:e=>{"use strict";e.exports=window.React},92819:e=>{"use strict";e.exports=window.lodash},86989:e=>{"use strict";e.exports=window.wp.apiFetch},55609:e=>{"use strict";e.exports=window.wp.components},94333:e=>{"use strict";e.exports=window.wp.compose},9818:e=>{"use strict";e.exports=window.wp.data},69307:e=>{"use strict";e.exports=window.wp.element},92694:e=>{"use strict";e.exports=window.wp.hooks},65736:e=>{"use strict";e.exports=window.wp.i18n},98817:e=>{"use strict";e.exports=window.wp.plugins},96483:e=>{"use strict";e.exports=window.wp.url},82674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var s in t)o.o(t,s)&&!o.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=o(34369),t=o(69307),s=o(92694),r=o(99196),n=o.n(r),i=o(39765),c=o(47136);const p=(o,s,r,i)=>{const p=(0,e.aq)(r);return(0,t.createInterpolateElement)("",{InlineSupportLink:n().createElement(c.Z,{title:String(o),url:p,postId:i},s)})},a={};(0,s.addFilter)("blocks.registerBlockType","jetpack-mu-wpcom/add-block-support-link",((e,t)=>{const o=e?.parent?.toString(),s=o&&"core/post-content"!==o?o:t;if(a[t])return e;a[t]=!0;const r=i.gM[t]?.link||i.ZP[s]?.link,n=i.gM[t]?.postId||i.ZP[s]?.postId;return r&&n&&(e.description=p(String(e.title),e.description,r,n)),i.yd[t]&&e.variations&&Array.isArray(e.variations)&&(e.variations=e.variations.map((e=>{const o=i.yd[t][e.name]?.link,s=i.yd[t][e.name]?.postId;return o?(e.description=p(e.title,e.description,o,s),e):e}))),e}))})()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.asset.php new file mode 100644 index 00000000..971e8e7b --- /dev/null +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.asset.php @@ -0,0 +1 @@ + array('moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-nux', 'wp-plugins', 'wp-primitives', 'wp-private-apis', 'wp-react-i18n', 'wp-url'), 'version' => 'a4c7bd8c0590c5097d60'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.css b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.css new file mode 100644 index 00000000..2b981620 --- /dev/null +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.css @@ -0,0 +1 @@ +.tour-kit-frame{visibility:hidden}.tour-kit-frame.is-visible{visibility:visible}.tour-kit-frame__container{background:var(--studio-white);border-radius:2px;bottom:44px;box-shadow:0 0 3px 0 rgba(0,0,0,.25);cursor:default;display:inline;left:16px;position:fixed;z-index:9999}.tour-kit-overlay{background:#000;height:100vh;left:0;opacity:0;position:fixed;top:0;width:100vw}.tour-kit-overlay.is-visible{opacity:.5}.tour-kit-spotlight.is-visible{outline:99999px solid rgba(0,0,0,.5);overflow:hidden;position:fixed;z-index:1}.tour-kit-frame__arrow{visibility:hidden}.tour-kit-frame__arrow,.tour-kit-frame__arrow:before{background:inherit;height:12px;position:absolute;width:12px;z-index:-1}.tour-kit-frame__arrow:before{content:"";transform:rotate(45deg);visibility:visible}.tour-kit-frame__container[data-popper-placement^=top]>.tour-kit-frame__arrow{bottom:-6px}.tour-kit-frame__container[data-popper-placement^=top]>.tour-kit-frame__arrow:before{box-shadow:1px 1px 2px -1px rgba(0,0,0,.25)}.tour-kit-frame__container[data-popper-placement^=bottom]>.tour-kit-frame__arrow{top:-6px}.tour-kit-frame__container[data-popper-placement^=bottom]>.tour-kit-frame__arrow:before{box-shadow:-1px -1px 2px -1px rgba(0,0,0,.25)}.tour-kit-frame__container[data-popper-placement^=left]>.tour-kit-frame__arrow{right:-6px}.tour-kit-frame__container[data-popper-placement^=left]>.tour-kit-frame__arrow:before{box-shadow:1px -1px 2px -1px rgba(0,0,0,.25)}.tour-kit-frame__container[data-popper-placement^=right]>.tour-kit-frame__arrow{left:-6px}.tour-kit-frame__container[data-popper-placement^=right]>.tour-kit-frame__arrow:before{box-shadow:-1px 1px 2px -1px rgba(0,0,0,.25)}:root{--studio-white:#fff;--studio-black:#000;--studio-gray-0:#f6f7f7;--studio-gray-5:#dcdcde;--studio-gray-10:#c3c4c7;--studio-gray-20:#a7aaad;--studio-gray-30:#8c8f94;--studio-gray-40:#787c82;--studio-gray-50:#646970;--studio-gray-60:#50575e;--studio-gray-70:#3c434a;--studio-gray-80:#2c3338;--studio-gray-90:#1d2327;--studio-gray-100:#101517;--studio-gray:#646970;--studio-blue-0:#e9f0f5;--studio-blue-5:#bbe0fa;--studio-blue-10:#91caf2;--studio-blue-20:#68b3e8;--studio-blue-30:#399ce3;--studio-blue-40:#1689db;--studio-blue-50:#0675c4;--studio-blue-60:#055d9c;--studio-blue-70:#044b7a;--studio-blue-80:#02395c;--studio-blue-90:#01283d;--studio-blue-100:#001621;--studio-blue:#0675c4;--studio-purple-0:#f2e9ed;--studio-purple-5:#ebcee0;--studio-purple-10:#e3afd5;--studio-purple-20:#d48fc8;--studio-purple-30:#c475bd;--studio-purple-40:#b35eb1;--studio-purple-50:#984a9c;--studio-purple-60:#7c3982;--studio-purple-70:#662c6e;--studio-purple-80:#4d2054;--studio-purple-90:#35163b;--studio-purple-100:#1e0c21;--studio-purple:#984a9c;--studio-pink-0:#f5e9ed;--studio-pink-5:#f2ceda;--studio-pink-10:#f7a8c3;--studio-pink-20:#f283aa;--studio-pink-30:#eb6594;--studio-pink-40:#e34c84;--studio-pink-50:#c9356e;--studio-pink-60:#ab235a;--studio-pink-70:#8c1749;--studio-pink-80:#700f3b;--studio-pink-90:#4f092a;--studio-pink-100:#260415;--studio-pink:#c9356e;--studio-red-0:#f7ebec;--studio-red-5:#facfd2;--studio-red-10:#ffabaf;--studio-red-20:#ff8085;--studio-red-30:#f86368;--studio-red-40:#e65054;--studio-red-50:#d63638;--studio-red-60:#b32d2e;--studio-red-70:#8a2424;--studio-red-80:#691c1c;--studio-red-90:#451313;--studio-red-100:#240a0a;--studio-red:#d63638;--studio-orange-0:#f5ece6;--studio-orange-5:#f7dcc6;--studio-orange-10:#ffbf86;--studio-orange-20:#faa754;--studio-orange-30:#e68b28;--studio-orange-40:#d67709;--studio-orange-50:#b26200;--studio-orange-60:#8a4d00;--studio-orange-70:#704000;--studio-orange-80:#543100;--studio-orange-90:#361f00;--studio-orange-100:#1f1200;--studio-orange:#b26200;--studio-yellow-0:#f5f1e1;--studio-yellow-5:#f5e6b3;--studio-yellow-10:#f2d76b;--studio-yellow-20:#f0c930;--studio-yellow-30:#deb100;--studio-yellow-40:#c08c00;--studio-yellow-50:#9d6e00;--studio-yellow-60:#7d5600;--studio-yellow-70:#674600;--studio-yellow-80:#4f3500;--studio-yellow-90:#320;--studio-yellow-100:#1c1300;--studio-yellow:#9d6e00;--studio-green-0:#e6f2e8;--studio-green-5:#b8e6bf;--studio-green-10:#68de86;--studio-green-20:#1ed15a;--studio-green-30:#00ba37;--studio-green-40:#00a32a;--studio-green-50:#008a20;--studio-green-60:#007017;--studio-green-70:#005c12;--studio-green-80:#00450c;--studio-green-90:#003008;--studio-green-100:#001c05;--studio-green:#008a20;--studio-celadon-0:#e4f2ed;--studio-celadon-5:#a7e8d3;--studio-celadon-10:#66deb9;--studio-celadon-20:#31cc9f;--studio-celadon-30:#09b585;--studio-celadon-40:#009e73;--studio-celadon-50:#008763;--studio-celadon-60:#007053;--studio-celadon-70:#005c44;--studio-celadon-80:#004533;--studio-celadon-90:#003024;--studio-celadon-100:#001c15;--studio-celadon:#008763;--studio-wordpress-blue-0:#e6f1f5;--studio-wordpress-blue-5:#bedae6;--studio-wordpress-blue-10:#98c6d9;--studio-wordpress-blue-20:#6ab3d0;--studio-wordpress-blue-30:#3895ba;--studio-wordpress-blue-40:#187aa2;--studio-wordpress-blue-50:#006088;--studio-wordpress-blue-60:#004e6e;--studio-wordpress-blue-70:#003c56;--studio-wordpress-blue-80:#002c40;--studio-wordpress-blue-90:#001d2d;--studio-wordpress-blue-100:#00101c;--studio-wordpress-blue:#006088;--studio-simplenote-blue-0:#e9ecf5;--studio-simplenote-blue-5:#ced9f2;--studio-simplenote-blue-10:#abc1f5;--studio-simplenote-blue-20:#84a4f0;--studio-simplenote-blue-30:#618df2;--studio-simplenote-blue-40:#4678eb;--studio-simplenote-blue-50:#3361cc;--studio-simplenote-blue-60:#1d4fc4;--studio-simplenote-blue-70:#113ead;--studio-simplenote-blue-80:#0d2f85;--studio-simplenote-blue-90:#09205c;--studio-simplenote-blue-100:#05102e;--studio-simplenote-blue:#3361cc;--studio-woocommerce-purple-0:#f7edf7;--studio-woocommerce-purple-5:#e5cfe8;--studio-woocommerce-purple-10:#d6b4e0;--studio-woocommerce-purple-20:#c792e0;--studio-woocommerce-purple-30:#af7dd1;--studio-woocommerce-purple-40:#9a69c7;--studio-woocommerce-purple-50:#7f54b3;--studio-woocommerce-purple-60:#674399;--studio-woocommerce-purple-70:#533582;--studio-woocommerce-purple-80:#3c2861;--studio-woocommerce-purple-90:#271b3d;--studio-woocommerce-purple-100:#140e1f;--studio-woocommerce-purple:#7f54b3;--studio-jetpack-green-0:#f0f2eb;--studio-jetpack-green-5:#d0e6b8;--studio-jetpack-green-10:#9dd977;--studio-jetpack-green-20:#64ca43;--studio-jetpack-green-30:#2fb41f;--studio-jetpack-green-40:#069e08;--studio-jetpack-green-50:#008710;--studio-jetpack-green-60:#007117;--studio-jetpack-green-70:#005b18;--studio-jetpack-green-80:#004515;--studio-jetpack-green-90:#003010;--studio-jetpack-green-100:#001c09;--studio-jetpack-green:#069e08;--studio-white-rgb:255,255,255;--studio-black-rgb:0,0,0;--studio-gray-0-rgb:246,247,247;--studio-gray-5-rgb:220,220,222;--studio-gray-10-rgb:195,196,199;--studio-gray-20-rgb:167,170,173;--studio-gray-30-rgb:140,143,148;--studio-gray-40-rgb:120,124,130;--studio-gray-50-rgb:100,105,112;--studio-gray-60-rgb:80,87,94;--studio-gray-70-rgb:60,67,74;--studio-gray-80-rgb:44,51,56;--studio-gray-90-rgb:29,35,39;--studio-gray-100-rgb:16,21,23;--studio-gray-rgb:100,105,112;--studio-blue-0-rgb:233,240,245;--studio-blue-5-rgb:187,224,250;--studio-blue-10-rgb:145,202,242;--studio-blue-20-rgb:104,179,232;--studio-blue-30-rgb:57,156,227;--studio-blue-40-rgb:22,137,219;--studio-blue-50-rgb:6,117,196;--studio-blue-60-rgb:5,93,156;--studio-blue-70-rgb:4,75,122;--studio-blue-80-rgb:2,57,92;--studio-blue-90-rgb:1,40,61;--studio-blue-100-rgb:0,22,33;--studio-blue-rgb:6,117,196;--studio-purple-0-rgb:242,233,237;--studio-purple-5-rgb:235,206,224;--studio-purple-10-rgb:227,175,213;--studio-purple-20-rgb:212,143,200;--studio-purple-30-rgb:196,117,189;--studio-purple-40-rgb:179,94,177;--studio-purple-50-rgb:152,74,156;--studio-purple-60-rgb:124,57,130;--studio-purple-70-rgb:102,44,110;--studio-purple-80-rgb:77,32,84;--studio-purple-90-rgb:53,22,59;--studio-purple-100-rgb:30,12,33;--studio-purple-rgb:152,74,156;--studio-pink-0-rgb:245,233,237;--studio-pink-5-rgb:242,206,218;--studio-pink-10-rgb:247,168,195;--studio-pink-20-rgb:242,131,170;--studio-pink-30-rgb:235,101,148;--studio-pink-40-rgb:227,76,132;--studio-pink-50-rgb:201,53,110;--studio-pink-60-rgb:171,35,90;--studio-pink-70-rgb:140,23,73;--studio-pink-80-rgb:112,15,59;--studio-pink-90-rgb:79,9,42;--studio-pink-100-rgb:38,4,21;--studio-pink-rgb:201,53,110;--studio-red-0-rgb:247,235,236;--studio-red-5-rgb:250,207,210;--studio-red-10-rgb:255,171,175;--studio-red-20-rgb:255,128,133;--studio-red-30-rgb:248,99,104;--studio-red-40-rgb:230,80,84;--studio-red-50-rgb:214,54,56;--studio-red-60-rgb:179,45,46;--studio-red-70-rgb:138,36,36;--studio-red-80-rgb:105,28,28;--studio-red-90-rgb:69,19,19;--studio-red-100-rgb:36,10,10;--studio-red-rgb:214,54,56;--studio-orange-0-rgb:245,236,230;--studio-orange-5-rgb:247,220,198;--studio-orange-10-rgb:255,191,134;--studio-orange-20-rgb:250,167,84;--studio-orange-30-rgb:230,139,40;--studio-orange-40-rgb:214,119,9;--studio-orange-50-rgb:178,98,0;--studio-orange-60-rgb:138,77,0;--studio-orange-70-rgb:112,64,0;--studio-orange-80-rgb:84,49,0;--studio-orange-90-rgb:54,31,0;--studio-orange-100-rgb:31,18,0;--studio-orange-rgb:178,98,0;--studio-yellow-0-rgb:245,241,225;--studio-yellow-5-rgb:245,230,179;--studio-yellow-10-rgb:242,215,107;--studio-yellow-20-rgb:240,201,48;--studio-yellow-30-rgb:222,177,0;--studio-yellow-40-rgb:192,140,0;--studio-yellow-50-rgb:157,110,0;--studio-yellow-60-rgb:125,86,0;--studio-yellow-70-rgb:103,70,0;--studio-yellow-80-rgb:79,53,0;--studio-yellow-90-rgb:51,34,0;--studio-yellow-100-rgb:28,19,0;--studio-yellow-rgb:157,110,0;--studio-green-0-rgb:230,242,232;--studio-green-5-rgb:184,230,191;--studio-green-10-rgb:104,222,134;--studio-green-20-rgb:30,209,90;--studio-green-30-rgb:0,186,55;--studio-green-40-rgb:0,163,42;--studio-green-50-rgb:0,138,32;--studio-green-60-rgb:0,112,23;--studio-green-70-rgb:0,92,18;--studio-green-80-rgb:0,69,12;--studio-green-90-rgb:0,48,8;--studio-green-100-rgb:0,28,5;--studio-green-rgb:0,138,32;--studio-celadon-0-rgb:228,242,237;--studio-celadon-5-rgb:167,232,211;--studio-celadon-10-rgb:102,222,185;--studio-celadon-20-rgb:49,204,159;--studio-celadon-30-rgb:9,181,133;--studio-celadon-40-rgb:0,158,115;--studio-celadon-50-rgb:0,135,99;--studio-celadon-60-rgb:0,112,83;--studio-celadon-70-rgb:0,92,68;--studio-celadon-80-rgb:0,69,51;--studio-celadon-90-rgb:0,48,36;--studio-celadon-100-rgb:0,28,21;--studio-celadon-rgb:0,135,99;--studio-wordpress-blue-0-rgb:230,241,245;--studio-wordpress-blue-5-rgb:190,218,230;--studio-wordpress-blue-10-rgb:152,198,217;--studio-wordpress-blue-20-rgb:106,179,208;--studio-wordpress-blue-30-rgb:56,149,186;--studio-wordpress-blue-40-rgb:24,122,162;--studio-wordpress-blue-50-rgb:0,96,136;--studio-wordpress-blue-60-rgb:0,78,110;--studio-wordpress-blue-70-rgb:0,60,86;--studio-wordpress-blue-80-rgb:0,44,64;--studio-wordpress-blue-90-rgb:0,29,45;--studio-wordpress-blue-100-rgb:0,16,28;--studio-wordpress-blue-rgb:0,96,136;--studio-simplenote-blue-0-rgb:233,236,245;--studio-simplenote-blue-5-rgb:206,217,242;--studio-simplenote-blue-10-rgb:171,193,245;--studio-simplenote-blue-20-rgb:132,164,240;--studio-simplenote-blue-30-rgb:97,141,242;--studio-simplenote-blue-40-rgb:70,120,235;--studio-simplenote-blue-50-rgb:51,97,204;--studio-simplenote-blue-60-rgb:29,79,196;--studio-simplenote-blue-70-rgb:17,62,173;--studio-simplenote-blue-80-rgb:13,47,133;--studio-simplenote-blue-90-rgb:9,32,92;--studio-simplenote-blue-100-rgb:5,16,46;--studio-simplenote-blue-rgb:51,97,204;--studio-woocommerce-purple-0-rgb:247,237,247;--studio-woocommerce-purple-5-rgb:229,207,232;--studio-woocommerce-purple-10-rgb:214,180,224;--studio-woocommerce-purple-20-rgb:199,146,224;--studio-woocommerce-purple-30-rgb:175,125,209;--studio-woocommerce-purple-40-rgb:154,105,199;--studio-woocommerce-purple-50-rgb:127,84,179;--studio-woocommerce-purple-60-rgb:103,67,153;--studio-woocommerce-purple-70-rgb:83,53,130;--studio-woocommerce-purple-80-rgb:60,40,97;--studio-woocommerce-purple-90-rgb:39,27,61;--studio-woocommerce-purple-100-rgb:20,14,31;--studio-woocommerce-purple-rgb:127,84,179;--studio-jetpack-green-0-rgb:240,242,235;--studio-jetpack-green-5-rgb:208,230,184;--studio-jetpack-green-10-rgb:157,217,119;--studio-jetpack-green-20-rgb:100,202,67;--studio-jetpack-green-30-rgb:47,180,31;--studio-jetpack-green-40-rgb:6,158,8;--studio-jetpack-green-50-rgb:0,135,16;--studio-jetpack-green-60-rgb:0,113,23;--studio-jetpack-green-70-rgb:0,91,24;--studio-jetpack-green-80-rgb:0,69,21;--studio-jetpack-green-90-rgb:0,48,16;--studio-jetpack-green-100-rgb:0,28,9;--studio-jetpack-green-rgb:6,158,8;--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-pink-50);--color-accent-rgb:var(--studio-pink-50-rgb);--color-accent-dark:var(--studio-pink-70);--color-accent-dark-rgb:var(--studio-pink-70-rgb);--color-accent-light:var(--studio-pink-30);--color-accent-light-rgb:var(--studio-pink-30-rgb);--color-accent-0:var(--studio-pink-0);--color-accent-0-rgb:var(--studio-pink-0-rgb);--color-accent-5:var(--studio-pink-5);--color-accent-5-rgb:var(--studio-pink-5-rgb);--color-accent-10:var(--studio-pink-10);--color-accent-10-rgb:var(--studio-pink-10-rgb);--color-accent-20:var(--studio-pink-20);--color-accent-20-rgb:var(--studio-pink-20-rgb);--color-accent-30:var(--studio-pink-30);--color-accent-30-rgb:var(--studio-pink-30-rgb);--color-accent-40:var(--studio-pink-40);--color-accent-40-rgb:var(--studio-pink-40-rgb);--color-accent-50:var(--studio-pink-50);--color-accent-50-rgb:var(--studio-pink-50-rgb);--color-accent-60:var(--studio-pink-60);--color-accent-60-rgb:var(--studio-pink-60-rgb);--color-accent-70:var(--studio-pink-70);--color-accent-70-rgb:var(--studio-pink-70-rgb);--color-accent-80:var(--studio-pink-80);--color-accent-80-rgb:var(--studio-pink-80-rgb);--color-accent-90:var(--studio-pink-90);--color-accent-90-rgb:var(--studio-pink-90-rgb);--color-accent-100:var(--studio-pink-100);--color-accent-100-rgb:var(--studio-pink-100-rgb);--color-neutral:var(--studio-gray-50);--color-neutral-rgb:var(--studio-gray-50-rgb);--color-neutral-dark:var(--studio-gray-70);--color-neutral-dark-rgb:var(--studio-gray-70-rgb);--color-neutral-light:var(--studio-gray-30);--color-neutral-light-rgb:var(--studio-gray-30-rgb);--color-neutral-0:var(--studio-gray-0);--color-neutral-0-rgb:var(--studio-gray-0-rgb);--color-neutral-5:var(--studio-gray-5);--color-neutral-5-rgb:var(--studio-gray-5-rgb);--color-neutral-10:var(--studio-gray-10);--color-neutral-10-rgb:var(--studio-gray-10-rgb);--color-neutral-20:var(--studio-gray-20);--color-neutral-20-rgb:var(--studio-gray-20-rgb);--color-neutral-30:var(--studio-gray-30);--color-neutral-30-rgb:var(--studio-gray-30-rgb);--color-neutral-40:var(--studio-gray-40);--color-neutral-40-rgb:var(--studio-gray-40-rgb);--color-neutral-50:var(--studio-gray-50);--color-neutral-50-rgb:var(--studio-gray-50-rgb);--color-neutral-60:var(--studio-gray-60);--color-neutral-60-rgb:var(--studio-gray-60-rgb);--color-neutral-70:var(--studio-gray-70);--color-neutral-70-rgb:var(--studio-gray-70-rgb);--color-neutral-80:var(--studio-gray-80);--color-neutral-80-rgb:var(--studio-gray-80-rgb);--color-neutral-90:var(--studio-gray-90);--color-neutral-90-rgb:var(--studio-gray-90-rgb);--color-neutral-100:var(--studio-gray-100);--color-neutral-100-rgb:var(--studio-gray-100-rgb);--color-success:var(--studio-green-50);--color-success-rgb:var(--studio-green-50-rgb);--color-success-dark:var(--studio-green-70);--color-success-dark-rgb:var(--studio-green-70-rgb);--color-success-light:var(--studio-green-30);--color-success-light-rgb:var(--studio-green-30-rgb);--color-success-0:var(--studio-green-0);--color-success-0-rgb:var(--studio-green-0-rgb);--color-success-5:var(--studio-green-5);--color-success-5-rgb:var(--studio-green-5-rgb);--color-success-10:var(--studio-green-10);--color-success-10-rgb:var(--studio-green-10-rgb);--color-success-20:var(--studio-green-20);--color-success-20-rgb:var(--studio-green-20-rgb);--color-success-30:var(--studio-green-30);--color-success-30-rgb:var(--studio-green-30-rgb);--color-success-40:var(--studio-green-40);--color-success-40-rgb:var(--studio-green-40-rgb);--color-success-50:var(--studio-green-50);--color-success-50-rgb:var(--studio-green-50-rgb);--color-success-60:var(--studio-green-60);--color-success-60-rgb:var(--studio-green-60-rgb);--color-success-70:var(--studio-green-70);--color-success-70-rgb:var(--studio-green-70-rgb);--color-success-80:var(--studio-green-80);--color-success-80-rgb:var(--studio-green-80-rgb);--color-success-90:var(--studio-green-90);--color-success-90-rgb:var(--studio-green-90-rgb);--color-success-100:var(--studio-green-100);--color-success-100-rgb:var(--studio-green-100-rgb);--color-warning:var(--studio-yellow-50);--color-warning-rgb:var(--studio-yellow-50-rgb);--color-warning-dark:var(--studio-yellow-70);--color-warning-dark-rgb:var(--studio-yellow-70-rgb);--color-warning-light:var(--studio-yellow-30);--color-warning-light-rgb:var(--studio-yellow-30-rgb);--color-warning-0:var(--studio-yellow-0);--color-warning-0-rgb:var(--studio-yellow-0-rgb);--color-warning-5:var(--studio-yellow-5);--color-warning-5-rgb:var(--studio-yellow-5-rgb);--color-warning-10:var(--studio-yellow-10);--color-warning-10-rgb:var(--studio-yellow-10-rgb);--color-warning-20:var(--studio-yellow-20);--color-warning-20-rgb:var(--studio-yellow-20-rgb);--color-warning-30:var(--studio-yellow-30);--color-warning-30-rgb:var(--studio-yellow-30-rgb);--color-warning-40:var(--studio-yellow-40);--color-warning-40-rgb:var(--studio-yellow-40-rgb);--color-warning-50:var(--studio-yellow-50);--color-warning-50-rgb:var(--studio-yellow-50-rgb);--color-warning-60:var(--studio-yellow-60);--color-warning-60-rgb:var(--studio-yellow-60-rgb);--color-warning-70:var(--studio-yellow-70);--color-warning-70-rgb:var(--studio-yellow-70-rgb);--color-warning-80:var(--studio-yellow-80);--color-warning-80-rgb:var(--studio-yellow-80-rgb);--color-warning-90:var(--studio-yellow-90);--color-warning-90-rgb:var(--studio-yellow-90-rgb);--color-warning-100:var(--studio-yellow-100);--color-warning-100-rgb:var(--studio-yellow-100-rgb);--color-error:var(--studio-red-50);--color-error-rgb:var(--studio-red-50-rgb);--color-error-dark:var(--studio-red-70);--color-error-dark-rgb:var(--studio-red-70-rgb);--color-error-light:var(--studio-red-30);--color-error-light-rgb:var(--studio-red-30-rgb);--color-error-0:var(--studio-red-0);--color-error-0-rgb:var(--studio-red-0-rgb);--color-error-5:var(--studio-red-5);--color-error-5-rgb:var(--studio-red-5-rgb);--color-error-10:var(--studio-red-10);--color-error-10-rgb:var(--studio-red-10-rgb);--color-error-20:var(--studio-red-20);--color-error-20-rgb:var(--studio-red-20-rgb);--color-error-30:var(--studio-red-30);--color-error-30-rgb:var(--studio-red-30-rgb);--color-error-40:var(--studio-red-40);--color-error-40-rgb:var(--studio-red-40-rgb);--color-error-50:var(--studio-red-50);--color-error-50-rgb:var(--studio-red-50-rgb);--color-error-60:var(--studio-red-60);--color-error-60-rgb:var(--studio-red-60-rgb);--color-error-70:var(--studio-red-70);--color-error-70-rgb:var(--studio-red-70-rgb);--color-error-80:var(--studio-red-80);--color-error-80-rgb:var(--studio-red-80-rgb);--color-error-90:var(--studio-red-90);--color-error-90-rgb:var(--studio-red-90-rgb);--color-error-100:var(--studio-red-100);--color-error-100-rgb:var(--studio-red-100-rgb);--color-surface:var(--studio-white);--color-surface-rgb:var(--studio-white-rgb);--color-surface-backdrop:var(--studio-gray-0);--color-surface-backdrop-rgb:var(--studio-gray-0-rgb);--color-text:var(--studio-gray-80);--color-text-rgb:var(--studio-gray-80-rgb);--color-text-subtle:var(--studio-gray-50);--color-text-subtle-rgb:var(--studio-gray-50-rgb);--color-text-inverted:var(--studio-white);--color-text-inverted-rgb:var(--studio-white-rgb);--color-border:var(--color-neutral-20);--color-border-rgb:var(--color-neutral-20-rgb);--color-border-subtle:var(--color-neutral-5);--color-border-subtle-rgb:var(--color-neutral-5-rgb);--color-border-shadow:var(--color-neutral-0);--color-border-shadow-rgb:var(--color-neutral-0-rgb);--color-border-inverted:var(--studio-white);--color-border-inverted-rgb:var(--studio-white-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-plan-free:var(--studio-gray-30);--color-plan-blogger:var(--studio-celadon-30);--color-plan-personal:var(--studio-blue-30);--color-plan-premium:var(--studio-yellow-30);--color-plan-business:var(--studio-orange-30);--color-plan-ecommerce:var(--studio-purple-30);--color-premium-domain:var(--studio-wordpress-blue-60);--color-jetpack-plan-free:var(--studio-blue-30);--color-jetpack-plan-personal:var(--studio-yellow-30);--color-jetpack-plan-premium:var(--studio-jetpack-green-30);--color-jetpack-plan-professional:var(--studio-purple-30);--color-masterbar-background:#101517;--color-masterbar-border:#333;--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:#333;--color-masterbar-item-active-background:#23282d;--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-checkout-masterbar-background:transparent;--color-checkout-masterbar-text:var(--studio-gray-50);--color-checkout-masterbar-item-hover-background:var(--studio-gray-5);--color-checkout-masterbar-item-active-background:var(--studio-gray-20);--color-sidebar-background:var(--color-surface);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-rgb:var(--studio-gray-80-rgb);--color-sidebar-text-alternative:var(--studio-gray-50);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-blue-5);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-5-rgb);--color-sidebar-menu-selected-text:var(--studio-blue-70);--color-sidebar-menu-selected-text-rgb:var(--studio-blue-70-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-5);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-menu-hover-text:var(--studio-gray-90);--color-jetpack-onboarding-text:var(--studio-white);--color-jetpack-onboarding-text-rgb:var(--studio-white-rgb);--color-jetpack-onboarding-background:var(--studio-blue-100);--color-jetpack-onboarding-background-rgb:var(--studio-blue-100-rgb);--color-automattic:var(--studio-blue-40);--color-jetpack:var(--studio-jetpack-green);--color-simplenote:var(--studio-simplenote-blue);--color-woocommerce:var(--studio-woocommerce-purple);--color-wordpress-com:var(--studio-wordpress-blue);--color-wordpress-org:#585c60;--color-blogger:#ff5722;--color-bluesky:#0085ff;--color-eventbrite:#ff8000;--color-facebook:#0866ff;--color-godaddy:#5ea95a;--color-google-plus:#df4a32;--color-instagram:#d93174;--color-linkedin:#0976b4;--color-mastodon:#6364ff;--color-medium:#12100e;--color-nextdoor:#8ed500;--color-pinterest:#cc2127;--color-pocket:#ee4256;--color-print:#f8f8f8;--color-reddit:#5f99cf;--color-skype:#00aff0;--color-stumbleupon:#eb4924;--color-substack:#ff6719;--color-squarespace:#222;--color-telegram:#08c;--color-threads:#000;--color-tumblr:#35465c;--color-twitter:#55acee;--color-whatsapp:#43d854;--color-wix:#faad4d;--color-x:#000;--color-email:var(--studio-gray-0);--color-podcasting:#9b4dd5;--color-wp-admin-button-background:#008ec2;--color-wp-admin-button-border:#006799;--theme-text-color:#fff;--theme-text-color-rgb:255,255,255;--theme-base-color:#23282d;--theme-base-color-rgb:35,40,45;--theme-submenu-background-color:#131619;--theme-icon-color:#e1eaf2;--theme-highlight-color:#0073aa;--theme-highlight-color-rgb:0,115,170;--theme-notification-color:#d54e21;--color-sidebar-submenu-background:var(--studio-blue-0);--color-sidebar-submenu-text:var(--studio-blue-70);--color-sidebar-submenu-hover-text:var(--color-accent);--color-sidebar-submenu-selected-text:var(--color-accent)}.color-scheme.is-aquatic{--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-celadon-50);--color-accent-rgb:var(--studio-celadon-50-rgb);--color-accent-dark:var(--studio-celadon-70);--color-accent-dark-rgb:var(--studio-celadon-70-rgb);--color-accent-light:var(--studio-celadon-30);--color-accent-light-rgb:var(--studio-celadon-30-rgb);--color-accent-0:var(--studio-celadon-0);--color-accent-0-rgb:var(--studio-celadon-0-rgb);--color-accent-5:var(--studio-celadon-5);--color-accent-5-rgb:var(--studio-celadon-5-rgb);--color-accent-10:var(--studio-celadon-10);--color-accent-10-rgb:var(--studio-celadon-10-rgb);--color-accent-20:var(--studio-celadon-20);--color-accent-20-rgb:var(--studio-celadon-20-rgb);--color-accent-30:var(--studio-celadon-30);--color-accent-30-rgb:var(--studio-celadon-30-rgb);--color-accent-40:var(--studio-celadon-40);--color-accent-40-rgb:var(--studio-celadon-40-rgb);--color-accent-50:var(--studio-celadon-50);--color-accent-50-rgb:var(--studio-celadon-50-rgb);--color-accent-60:var(--studio-celadon-60);--color-accent-60-rgb:var(--studio-celadon-60-rgb);--color-accent-70:var(--studio-celadon-70);--color-accent-70-rgb:var(--studio-celadon-70-rgb);--color-accent-80:var(--studio-celadon-80);--color-accent-80-rgb:var(--studio-celadon-80-rgb);--color-accent-90:var(--studio-celadon-90);--color-accent-90-rgb:var(--studio-celadon-90-rgb);--color-accent-100:var(--studio-celadon-100);--color-accent-100-rgb:var(--studio-celadon-100-rgb);--color-link:var(--studio-celadon-50);--color-link-rgb:var(--studio-celadon-50-rgb);--color-link-dark:var(--studio-celadon-70);--color-link-dark-rgb:var(--studio-celadon-70-rgb);--color-link-light:var(--studio-celadon-30);--color-link-light-rgb:var(--studio-celadon-30-rgb);--color-link-0:var(--studio-celadon-0);--color-link-0-rgb:var(--studio-celadon-0-rgb);--color-link-5:var(--studio-celadon-5);--color-link-5-rgb:var(--studio-celadon-5-rgb);--color-link-10:var(--studio-celadon-10);--color-link-10-rgb:var(--studio-celadon-10-rgb);--color-link-20:var(--studio-celadon-20);--color-link-20-rgb:var(--studio-celadon-20-rgb);--color-link-30:var(--studio-celadon-30);--color-link-30-rgb:var(--studio-celadon-30-rgb);--color-link-40:var(--studio-celadon-40);--color-link-40-rgb:var(--studio-celadon-40-rgb);--color-link-50:var(--studio-celadon-50);--color-link-50-rgb:var(--studio-celadon-50-rgb);--color-link-60:var(--studio-celadon-60);--color-link-60-rgb:var(--studio-celadon-60-rgb);--color-link-70:var(--studio-celadon-70);--color-link-70-rgb:var(--studio-celadon-70-rgb);--color-link-80:var(--studio-celadon-80);--color-link-80-rgb:var(--studio-celadon-80-rgb);--color-link-90:var(--studio-celadon-90);--color-link-90-rgb:var(--studio-celadon-90-rgb);--color-link-100:var(--studio-celadon-100);--color-link-100-rgb:var(--studio-celadon-100-rgb);--color-masterbar-background:var(--studio-blue-80);--color-masterbar-border:var(--studio-blue-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-90);--color-masterbar-item-active-background:var(--studio-blue-100);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-blue-60);--color-sidebar-background-rgb:var(--studio-blue-60-rgb);--color-sidebar-border:var(--studio-blue-70);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-blue-5);--color-sidebar-gridicon-fill:var(--studio-blue-5);--color-sidebar-menu-selected-background:var(--studio-yellow-20);--color-sidebar-menu-selected-background-rgb:var(--studio-yellow-20-rgb);--color-sidebar-menu-selected-text:var(--studio-blue-90);--color-sidebar-menu-selected-text-rgb:var(--studio-blue-90-rgb);--color-sidebar-menu-hover-background:var(--studio-blue-50);--color-sidebar-menu-hover-background-rgb:var(--studio-blue-50-rgb);--color-sidebar-menu-hover-text:var(--studio-white);--color-sidebar-submenu-background:var(--studio-blue-80);--color-sidebar-submenu-text:var(--studio-white);--color-sidebar-submenu-hover-text:var(--studio-yellow-20);--wp-admin-theme-color:var(--studio-celadon-50)}.color-scheme.is-blue{--theme-text-color:#fff;--theme-text-color-rgb:255,255,255;--theme-base-color:#52accc;--theme-base-color-rgb:82,172,204;--theme-submenu-text-color:#cbe6f0;--theme-submenu-background-color:#4796b3;--theme-icon-color:#e5f8ff;--theme-highlight-color:#096484;--theme-highlight-color-rgb:9,100,132;--theme-notification-color:#e1a948;--color-primary:var(--theme-highlight-color);--color-primary-rgb:var(--theme-highlight-color-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--theme-highlight-color);--color-accent-rgb:var(--theme-highlight-color-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--theme-base-color);--color-masterbar-border:var(--theme-submenu-background-color);--color-masterbar-text:var(--studio-white);--color-masterbar-unread-dot-background:var(--theme-notification-color);--color-masterbar-item-hover-background:var(--theme-submenu-background-color);--color-masterbar-item-active-background:var(--theme-submenu-background-color);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--theme-base-color);--color-sidebar-background-rgb:var(--theme-base-color-rgb);--color-sidebar-border:var(--theme-submenu-background-color);--color-sidebar-text:var(--theme-text-color);--color-sidebar-text-rgb:var(--theme-text-color-rgb);--color-sidebar-text-alternative:#e2ecf1;--color-sidebar-gridicon-fill:var(--theme-icon-color);--color-sidebar-menu-selected-background:var(--theme-highlight-color);--color-sidebar-menu-selected-background-rgb:var(--theme-highlight-color-rgb);--color-sidebar-menu-selected-text:var(--theme-text-color);--color-sidebar-menu-selected-text-rgb:var(--theme-text-color-rgb);--color-sidebar-menu-hover-background:var(--theme-highlight-color);--color-sidebar-menu-hover-background-rgb:var(--theme-highlight-color-rgb);--color-sidebar-menu-hover-text:var(--theme-text-color);--color-sidebar-submenu-background:var(--theme-submenu-background-color);--color-sidebar-submenu-text:var(--theme-submenu-text-color);--color-sidebar-submenu-hover-background:transparent;--color-sidebar-submenu-hover-text:var(--theme-text-color);--wp-admin-theme-color:var(--theme-highlight-color)}.color-scheme.is-classic-blue{--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-orange-50);--color-accent-rgb:var(--studio-orange-50-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-background:var(--studio-blue-60);--color-masterbar-border:var(--studio-blue-70);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-70);--color-masterbar-item-active-background:var(--studio-blue-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-gray-5);--color-sidebar-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-border:var(--studio-gray-10);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-alternative:var(--studio-gray-50);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-gray-60);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--color-surface);--color-sidebar-menu-hover-background-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-text:var(--studio-blue-50);--color-sidebar-submenu-background:var(--studio-blue-60);--color-sidebar-submenu-text:var(--studio-white);--color-sidebar-submenu-hover-text:var(--studio-orange-30);--wp-admin-theme-color:var(--studio-orange-50)}.color-scheme.is-classic-bright{--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-pink-50);--color-accent-rgb:var(--studio-pink-50-rgb);--color-accent-dark:var(--studio-pink-70);--color-accent-dark-rgb:var(--studio-pink-70-rgb);--color-accent-light:var(--studio-pink-30);--color-accent-light-rgb:var(--studio-pink-30-rgb);--color-accent-0:var(--studio-pink-0);--color-accent-0-rgb:var(--studio-pink-0-rgb);--color-accent-5:var(--studio-pink-5);--color-accent-5-rgb:var(--studio-pink-5-rgb);--color-accent-10:var(--studio-pink-10);--color-accent-10-rgb:var(--studio-pink-10-rgb);--color-accent-20:var(--studio-pink-20);--color-accent-20-rgb:var(--studio-pink-20-rgb);--color-accent-30:var(--studio-pink-30);--color-accent-30-rgb:var(--studio-pink-30-rgb);--color-accent-40:var(--studio-pink-40);--color-accent-40-rgb:var(--studio-pink-40-rgb);--color-accent-50:var(--studio-pink-50);--color-accent-50-rgb:var(--studio-pink-50-rgb);--color-accent-60:var(--studio-pink-60);--color-accent-60-rgb:var(--studio-pink-60-rgb);--color-accent-70:var(--studio-pink-70);--color-accent-70-rgb:var(--studio-pink-70-rgb);--color-accent-80:var(--studio-pink-80);--color-accent-80-rgb:var(--studio-pink-80-rgb);--color-accent-90:var(--studio-pink-90);--color-accent-90-rgb:var(--studio-pink-90-rgb);--color-accent-100:var(--studio-pink-100);--color-accent-100-rgb:var(--studio-pink-100-rgb);--color-masterbar-background:var(--studio-blue-60);--color-masterbar-border:var(--studio-blue-70);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-70);--color-masterbar-item-active-background:var(--studio-blue-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--color-surface);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-rgb:var(--studio-gray-80-rgb);--color-sidebar-text-alternative:var(--studio-gray-50);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-blue-5);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-5-rgb);--color-sidebar-menu-selected-text:var(--studio-blue-70);--color-sidebar-menu-selected-text-rgb:var(--studio-blue-70-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-5);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-menu-hover-text:var(--studio-gray-90);--color-sidebar-submenu-background:var(--studio-blue-0);--color-sidebar-submenu-text:var(--studio-blue-70);--color-sidebar-submenu-hover-text:var(--color-accent);--color-sidebar-submenu-selected-text:var(--color-accent);--wp-admin-theme-color:var(--studio-pink-50)}.color-scheme.is-classic-dark{--color-primary:var(--studio-gray-90);--color-primary-rgb:var(--studio-gray-90-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-pink-50);--color-accent-rgb:var(--studio-pink-50-rgb);--color-accent-dark:var(--studio-pink-70);--color-accent-dark-rgb:var(--studio-pink-70-rgb);--color-accent-light:var(--studio-pink-30);--color-accent-light-rgb:var(--studio-pink-30-rgb);--color-accent-0:var(--studio-pink-0);--color-accent-0-rgb:var(--studio-pink-0-rgb);--color-accent-5:var(--studio-pink-5);--color-accent-5-rgb:var(--studio-pink-5-rgb);--color-accent-10:var(--studio-pink-10);--color-accent-10-rgb:var(--studio-pink-10-rgb);--color-accent-20:var(--studio-pink-20);--color-accent-20-rgb:var(--studio-pink-20-rgb);--color-accent-30:var(--studio-pink-30);--color-accent-30-rgb:var(--studio-pink-30-rgb);--color-accent-40:var(--studio-pink-40);--color-accent-40-rgb:var(--studio-pink-40-rgb);--color-accent-50:var(--studio-pink-50);--color-accent-50-rgb:var(--studio-pink-50-rgb);--color-accent-60:var(--studio-pink-60);--color-accent-60-rgb:var(--studio-pink-60-rgb);--color-accent-70:var(--studio-pink-70);--color-accent-70-rgb:var(--studio-pink-70-rgb);--color-accent-80:var(--studio-pink-80);--color-accent-80-rgb:var(--studio-pink-80-rgb);--color-accent-90:var(--studio-pink-90);--color-accent-90-rgb:var(--studio-pink-90-rgb);--color-accent-100:var(--studio-pink-100);--color-accent-100-rgb:var(--studio-pink-100-rgb);--color-neutral:var(--studio-gray-50);--color-neutral-rgb:var(--studio-gray-50-rgb);--color-neutral-dark:var(--studio-gray-70);--color-neutral-dark-rgb:var(--studio-gray-70-rgb);--color-neutral-light:var(--studio-gray-30);--color-neutral-light-rgb:var(--studio-gray-30-rgb);--color-neutral-0:var(--studio-gray-0);--color-neutral-0-rgb:var(--studio-gray-0-rgb);--color-neutral-5:var(--studio-gray-5);--color-neutral-5-rgb:var(--studio-gray-5-rgb);--color-neutral-10:var(--studio-gray-10);--color-neutral-10-rgb:var(--studio-gray-10-rgb);--color-neutral-20:var(--studio-gray-20);--color-neutral-20-rgb:var(--studio-gray-20-rgb);--color-neutral-30:var(--studio-gray-30);--color-neutral-30-rgb:var(--studio-gray-30-rgb);--color-neutral-40:var(--studio-gray-40);--color-neutral-40-rgb:var(--studio-gray-40-rgb);--color-neutral-50:var(--studio-gray-50);--color-neutral-50-rgb:var(--studio-gray-50-rgb);--color-neutral-60:var(--studio-gray-60);--color-neutral-60-rgb:var(--studio-gray-60-rgb);--color-neutral-70:var(--studio-gray-70);--color-neutral-70-rgb:var(--studio-gray-70-rgb);--color-neutral-80:var(--studio-gray-80);--color-neutral-80-rgb:var(--studio-gray-80-rgb);--color-neutral-90:var(--studio-gray-90);--color-neutral-90-rgb:var(--studio-gray-90-rgb);--color-neutral-100:var(--studio-gray-100);--color-neutral-100-rgb:var(--studio-gray-100-rgb);--color-success:var(--studio-green-50);--color-success-rgb:var(--studio-green-50-rgb);--color-success-dark:var(--studio-green-70);--color-success-dark-rgb:var(--studio-green-70-rgb);--color-success-light:var(--studio-green-30);--color-success-light-rgb:var(--studio-green-30-rgb);--color-success-0:var(--studio-green-0);--color-success-0-rgb:var(--studio-green-0-rgb);--color-success-5:var(--studio-green-5);--color-success-5-rgb:var(--studio-green-5-rgb);--color-success-10:var(--studio-green-10);--color-success-10-rgb:var(--studio-green-10-rgb);--color-success-20:var(--studio-green-20);--color-success-20-rgb:var(--studio-green-20-rgb);--color-success-30:var(--studio-green-30);--color-success-30-rgb:var(--studio-green-30-rgb);--color-success-40:var(--studio-green-40);--color-success-40-rgb:var(--studio-green-40-rgb);--color-success-50:var(--studio-green-50);--color-success-50-rgb:var(--studio-green-50-rgb);--color-success-60:var(--studio-green-60);--color-success-60-rgb:var(--studio-green-60-rgb);--color-success-70:var(--studio-green-70);--color-success-70-rgb:var(--studio-green-70-rgb);--color-success-80:var(--studio-green-80);--color-success-80-rgb:var(--studio-green-80-rgb);--color-success-90:var(--studio-green-90);--color-success-90-rgb:var(--studio-green-90-rgb);--color-success-100:var(--studio-green-100);--color-success-100-rgb:var(--studio-green-100-rgb);--color-warning:var(--studio-yellow-50);--color-warning-rgb:var(--studio-yellow-50-rgb);--color-warning-dark:var(--studio-yellow-70);--color-warning-dark-rgb:var(--studio-yellow-70-rgb);--color-warning-light:var(--studio-yellow-30);--color-warning-light-rgb:var(--studio-yellow-30-rgb);--color-warning-0:var(--studio-yellow-0);--color-warning-0-rgb:var(--studio-yellow-0-rgb);--color-warning-5:var(--studio-yellow-5);--color-warning-5-rgb:var(--studio-yellow-5-rgb);--color-warning-10:var(--studio-yellow-10);--color-warning-10-rgb:var(--studio-yellow-10-rgb);--color-warning-20:var(--studio-yellow-20);--color-warning-20-rgb:var(--studio-yellow-20-rgb);--color-warning-30:var(--studio-yellow-30);--color-warning-30-rgb:var(--studio-yellow-30-rgb);--color-warning-40:var(--studio-yellow-40);--color-warning-40-rgb:var(--studio-yellow-40-rgb);--color-warning-50:var(--studio-yellow-50);--color-warning-50-rgb:var(--studio-yellow-50-rgb);--color-warning-60:var(--studio-yellow-60);--color-warning-60-rgb:var(--studio-yellow-60-rgb);--color-warning-70:var(--studio-yellow-70);--color-warning-70-rgb:var(--studio-yellow-70-rgb);--color-warning-80:var(--studio-yellow-80);--color-warning-80-rgb:var(--studio-yellow-80-rgb);--color-warning-90:var(--studio-yellow-90);--color-warning-90-rgb:var(--studio-yellow-90-rgb);--color-warning-100:var(--studio-yellow-100);--color-warning-100-rgb:var(--studio-yellow-100-rgb);--color-error:var(--studio-red-50);--color-error-rgb:var(--studio-red-50-rgb);--color-error-dark:var(--studio-red-70);--color-error-dark-rgb:var(--studio-red-70-rgb);--color-error-light:var(--studio-red-30);--color-error-light-rgb:var(--studio-red-30-rgb);--color-error-0:var(--studio-red-0);--color-error-0-rgb:var(--studio-red-0-rgb);--color-error-5:var(--studio-red-5);--color-error-5-rgb:var(--studio-red-5-rgb);--color-error-10:var(--studio-red-10);--color-error-10-rgb:var(--studio-red-10-rgb);--color-error-20:var(--studio-red-20);--color-error-20-rgb:var(--studio-red-20-rgb);--color-error-30:var(--studio-red-30);--color-error-30-rgb:var(--studio-red-30-rgb);--color-error-40:var(--studio-red-40);--color-error-40-rgb:var(--studio-red-40-rgb);--color-error-50:var(--studio-red-50);--color-error-50-rgb:var(--studio-red-50-rgb);--color-error-60:var(--studio-red-60);--color-error-60-rgb:var(--studio-red-60-rgb);--color-error-70:var(--studio-red-70);--color-error-70-rgb:var(--studio-red-70-rgb);--color-error-80:var(--studio-red-80);--color-error-80-rgb:var(--studio-red-80-rgb);--color-error-90:var(--studio-red-90);--color-error-90-rgb:var(--studio-red-90-rgb);--color-error-100:var(--studio-red-100);--color-error-100-rgb:var(--studio-red-100-rgb);--color-surface:var(--studio-white);--color-surface-rgb:var(--studio-white-rgb);--color-surface-backdrop:var(--studio-gray-0);--color-surface-backdrop-rgb:var(--studio-gray-0-rgb);--color-text:var(--studio-gray-80);--color-text-rgb:var(--studio-gray-80-rgb);--color-text-subtle:var(--studio-gray-50);--color-text-subtle-rgb:var(--studio-gray-50-rgb);--color-text-inverted:var(--studio-white);--color-text-inverted-rgb:var(--studio-white-rgb);--color-border:var(--color-neutral-20);--color-border-rgb:var(--color-neutral-20-rgb);--color-border-subtle:var(--color-neutral-5);--color-border-subtle-rgb:var(--color-neutral-5-rgb);--color-border-shadow:var(--color-neutral-0);--color-border-shadow-rgb:var(--color-neutral-0-rgb);--color-border-inverted:var(--studio-white);--color-border-inverted-rgb:var(--studio-white-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-plan-free:var(--studio-gray-30);--color-plan-blogger:var(--studio-celadon-30);--color-plan-personal:var(--studio-blue-30);--color-plan-premium:var(--studio-yellow-30);--color-plan-business:var(--studio-orange-30);--color-plan-ecommerce:var(--studio-purple-30);--color-premium-domain:var(--studio-wordpress-blue-60);--color-jetpack-plan-free:var(--studio-blue-30);--color-jetpack-plan-personal:var(--studio-yellow-30);--color-jetpack-plan-premium:var(--studio-jetpack-green-30);--color-jetpack-plan-professional:var(--studio-purple-30);--color-masterbar-background:#101517;--color-masterbar-border:#333;--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:#333;--color-masterbar-item-active-background:#23282d;--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-checkout-masterbar-background:transparent;--color-checkout-masterbar-text:var(--studio-gray-80);--color-checkout-masterbar-item-hover-background:var(--studio-gray-5);--color-checkout-masterbar-item-active-background:var(--studio-gray-20);--color-sidebar-background:#23282d;--color-sidebar-background-rgb:35,40,45;--color-sidebar-border:#333;--color-sidebar-text:#eee;--color-sidebar-text-rgb:238,238,238;--color-sidebar-text-alternative:#a2aab2;--color-sidebar-gridicon-fill:#a2aab2;--color-sidebar-menu-selected-background:#0073aa;--color-sidebar-menu-selected-background-rgb:0,115,170;--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:#1a1e23;--color-sidebar-menu-hover-background-rgb:26,30,35;--color-sidebar-menu-hover-text:#00b9eb;--color-jetpack-onboarding-text:var(--studio-white);--color-jetpack-onboarding-text-rgb:var(--studio-white-rgb);--color-jetpack-onboarding-background:var(--studio-blue-100);--color-jetpack-onboarding-background-rgb:var(--studio-blue-100-rgb);--color-automattic:var(--studio-blue-40);--color-jetpack:var(--studio-jetpack-green);--color-simplenote:var(--studio-simplenote-blue);--color-woocommerce:var(--studio-woocommerce-purple);--color-wordpress-com:var(--studio-wordpress-blue);--color-wordpress-org:#585c60;--color-blogger:#ff5722;--color-bluesky:#0085ff;--color-eventbrite:#ff8000;--color-facebook:#0866ff;--color-godaddy:#5ea95a;--color-google-plus:#df4a32;--color-instagram:#d93174;--color-linkedin:#0976b4;--color-mastodon:#6364ff;--color-medium:#12100e;--color-nextdoor:#8ed500;--color-pinterest:#cc2127;--color-pocket:#ee4256;--color-print:#f8f8f8;--color-reddit:#5f99cf;--color-skype:#00aff0;--color-stumbleupon:#eb4924;--color-substack:#ff6719;--color-squarespace:#222;--color-telegram:#08c;--color-threads:#000;--color-tumblr:#35465c;--color-twitter:#55acee;--color-whatsapp:#43d854;--color-wix:#faad4d;--color-x:#000;--color-email:var(--studio-gray-0);--color-podcasting:#9b4dd5;--color-wp-admin-button-background:#008ec2;--color-wp-admin-button-border:#006799;--color-sidebar-submenu-background:#32373c;--color-sidebar-submenu-text:#b4b9be;--color-sidebar-submenu-hover-text:#00b9eb;--color-sidebar-submenu-selected-text:var(--studio-white);--wp-admin-theme-color:var(--studio-pink-50)}.color-scheme.is-coffee{--theme-text-color:#fff;--theme-text-color-rgb:255,255,255;--theme-base-color:#59524c;--theme-base-color-rgb:89,82,76;--theme-submenu-text-color:#cdcbc9;--theme-submenu-background-color:#46403c;--theme-icon-color:#ece6f6;--theme-highlight-color:#c7a589;--theme-highlight-color-rgb:199,165,137;--theme-notification-color:#9ea476;--color-primary:var(--theme-highlight-color);--color-primary-rgb:var(--theme-highlight-color-rgb);--color-primary-dark:var(--studio-orange-70);--color-primary-dark-rgb:var(--studio-orange-70-rgb);--color-primary-light:var(--studio-orange-30);--color-primary-light-rgb:var(--studio-orange-30-rgb);--color-primary-0:var(--studio-orange-0);--color-primary-0-rgb:var(--studio-orange-0-rgb);--color-primary-5:var(--studio-orange-5);--color-primary-5-rgb:var(--studio-orange-5-rgb);--color-primary-10:var(--studio-orange-10);--color-primary-10-rgb:var(--studio-orange-10-rgb);--color-primary-20:var(--studio-orange-20);--color-primary-20-rgb:var(--studio-orange-20-rgb);--color-primary-30:var(--studio-orange-30);--color-primary-30-rgb:var(--studio-orange-30-rgb);--color-primary-40:var(--studio-orange-40);--color-primary-40-rgb:var(--studio-orange-40-rgb);--color-primary-50:var(--studio-orange-50);--color-primary-50-rgb:var(--studio-orange-50-rgb);--color-primary-60:var(--studio-orange-60);--color-primary-60-rgb:var(--studio-orange-60-rgb);--color-primary-70:var(--studio-orange-70);--color-primary-70-rgb:var(--studio-orange-70-rgb);--color-primary-80:var(--studio-orange-80);--color-primary-80-rgb:var(--studio-orange-80-rgb);--color-primary-90:var(--studio-orange-90);--color-primary-90-rgb:var(--studio-orange-90-rgb);--color-primary-100:var(--studio-orange-100);--color-primary-100-rgb:var(--studio-orange-100-rgb);--color-accent:var(--theme-highlight-color);--color-accent-rgb:var(--theme-highlight-color-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-background:var(--theme-base-color);--color-masterbar-border:var(--theme-submenu-background-color);--color-masterbar-text:var(--studio-white);--color-masterbar-unread-dot-background:var(--theme-notification-color);--color-masterbar-item-hover-background:var(--theme-submenu-background-color);--color-masterbar-item-active-background:var(--theme-submenu-background-color);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--theme-base-color);--color-sidebar-background-rgb:var(--theme-base-color-rgb);--color-sidebar-border:var(--theme-submenu-background-color);--color-sidebar-text:var(--theme-text-color);--color-sidebar-text-rgb:var(--theme-text-color-rgb);--color-sidebar-text-alternative:var(--studio-gray-0);--color-sidebar-gridicon-fill:var(--studio-gray-0);--color-sidebar-menu-selected-background:var(--theme-highlight-color);--color-sidebar-menu-selected-background-rgb:var(--theme-highlight-color-rgb);--color-sidebar-menu-selected-text:var(--theme-text-color);--color-sidebar-menu-selected-text-rgb:var(--theme-text-color-rgb);--color-sidebar-menu-hover-background:var(--theme-highlight-color);--color-sidebar-menu-hover-background-rgb:var(--theme-highlight-color-rgb);--color-sidebar-menu-hover-text:var(--theme-text-color);--color-sidebar-menu-hover:var(--theme-text-color);--color-sidebar-submenu-background:var(--theme-submenu-background-color);--color-sidebar-submenu-text:var(--theme-submenu-text-color);--color-sidebar-submenu-hover-background:transparent;--color-sidebar-submenu-hover-text:var(--theme-highlight-color);--wp-admin-theme-color:var(--theme-base-color)}.color-scheme.is-contrast{--color-primary:var(--studio-gray-80);--color-primary-rgb:var(--studio-gray-80-rgb);--color-primary-dark:var(--studio-gray-100);--color-primary-dark-rgb:var(--studio-gray-100-rgb);--color-primary-light:var(--studio-gray-60);--color-primary-light-rgb:var(--studio-gray-60-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-70);--color-accent-rgb:var(--studio-blue-70-rgb);--color-accent-dark:var(--studio-blue-90);--color-accent-dark-rgb:var(--studio-blue-90-rgb);--color-accent-light:var(--studio-blue-50);--color-accent-light-rgb:var(--studio-blue-50-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-surface-backdrop:var(--studio-white);--color-surface-backdrop-rgb:var(--studio-white-rgb);--color-text:var(--studio-gray-100);--color-text-rgb:var(--studio-gray-100-rgb);--color-text-subtle:var(--studio-gray-70);--color-text-subtle-rgb:var(--studio-gray-70-rgb);--color-link:var(--studio-blue-70);--color-link-rgb:var(--studio-blue-70-rgb);--color-link-dark:var(--studio-blue-100);--color-link-dark-rgb:var(--studio-blue-100-rgb);--color-link-light:var(--studio-blue-50);--color-link-light-rgb:var(--studio-blue-50-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-premium-domain:var(--studio-gray-100);--color-masterbar-background:var(--studio-gray-100);--color-masterbar-border:var(--studio-gray-90);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-60);--color-masterbar-item-new-editor-background:var(--studio-gray-70);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-90);--color-masterbar-unread-dot-background:var(--studio-yellow-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-70);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-70);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--color-surface);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-90);--color-sidebar-text-rgb:var(--studio-gray-90-rgb);--color-sidebar-text-alternative:var(--studio-gray-90);--color-sidebar-gridicon-fill:var(--studio-gray-90);--color-sidebar-menu-selected-background:var(--studio-gray-100);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-100-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-60);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-hover-text:var(--studio-white);--color-sidebar-submenu-background:var(--studio-gray-90);--color-sidebar-submenu-text:var(--studio-gray-10);--color-sidebar-submenu-hover-text:var(--color-masterbar-unread-dot-background);--color-sidebar-submenu-selected-text:var(--studio-white);--wp-admin-theme-color:var(--studio-blue-70)}.color-scheme.is-ectoplasm{--theme-text-color:#fff;--theme-text-color-rgb:255,255,255;--theme-base-color:#523f6d;--theme-base-color-rgb:82,63,109;--theme-submenu-text-color:#cbc5d3;--theme-submenu-background-color:#413256;--theme-icon-color:#ece6f6;--theme-highlight-color:#a3b745;--theme-highlight-color-rgb:163,183,69;--theme-notification-color:#d46f15;--ectoplasm-green-0:#f2f5e1;--ectoplasm-green-5:#e9f5b3;--ectoplasm-green-10:#daf26b;--ectoplasm-green-20:#cdf030;--ectoplasm-green-30:#b5de00;--ectoplasm-green-40:#9bc000;--ectoplasm-green-50:#7f9d00;--ectoplasm-green-60:#647d00;--ectoplasm-green-70:#536700;--ectoplasm-green-80:#3f4f00;--ectoplasm-green-90:#293300;--ectoplasm-green-100:#161c00;--ectoplasm-green:#7f9d00;--ectoplasm-green-0-rgb:242,245,225;--ectoplasm-green-5-rgb:233,245,179;--ectoplasm-green-10-rgb:218,242,107;--ectoplasm-green-20-rgb:205,240,48;--ectoplasm-green-30-rgb:181,222,0;--ectoplasm-green-40-rgb:155,192,0;--ectoplasm-green-50-rgb:127,157,0;--ectoplasm-green-60-rgb:100,125,0;--ectoplasm-green-70-rgb:83,103,0;--ectoplasm-green-80-rgb:63,79,0;--ectoplasm-green-90-rgb:41,51,0;--ectoplasm-green-100-rgb:22,28,0;--ectoplasm-green-rgb:127,157,0;--color-primary:var(--theme-highlight-color);--color-primary-rgb:var(--theme-highlight-color-rgb);--color-primary-dark:var(--ectoplasm-green-70);--color-primary-dark-rgb:var(--ectoplasm-green-70-rgb);--color-primary-light:var(--ectoplasm-green-30);--color-primary-light-rgb:var(--ectoplasm-green-30-rgb);--color-primary-0:var(--ectoplasm-green-0);--color-primary-0-rgb:var(--ectoplasm-green-0-rgb);--color-primary-5:var(--ectoplasm-green-5);--color-primary-5-rgb:var(--ectoplasm-green-5-rgb);--color-primary-10:var(--ectoplasm-green-10);--color-primary-10-rgb:var(--ectoplasm-green-10-rgb);--color-primary-20:var(--ectoplasm-green-20);--color-primary-20-rgb:var(--ectoplasm-green-20-rgb);--color-primary-30:var(--ectoplasm-green-30);--color-primary-30-rgb:var(--ectoplasm-green-30-rgb);--color-primary-40:var(--ectoplasm-green-40);--color-primary-40-rgb:var(--ectoplasm-green-40-rgb);--color-primary-50:var(--ectoplasm-green-50);--color-primary-50-rgb:var(--ectoplasm-green-50-rgb);--color-primary-60:var(--ectoplasm-green-60);--color-primary-60-rgb:var(--ectoplasm-green-60-rgb);--color-primary-70:var(--ectoplasm-green-70);--color-primary-70-rgb:var(--ectoplasm-green-70-rgb);--color-primary-80:var(--ectoplasm-green-80);--color-primary-80-rgb:var(--ectoplasm-green-80-rgb);--color-primary-90:var(--ectoplasm-green-90);--color-primary-90-rgb:var(--ectoplasm-green-90-rgb);--color-primary-100:var(--ectoplasm-green-100);--color-primary-100-rgb:var(--ectoplasm-green-100-rgb);--color-accent:var(--theme-highlight-color);--color-accent-rgb:var(--theme-highlight-color-rgb);--color-accent-dark:var(--ectoplasm-green-70);--color-accent-dark-rgb:var(--ectoplasm-green-70-rgb);--color-accent-light:var(--ectoplasm-green-30);--color-accent-light-rgb:var(--ectoplasm-green-30-rgb);--color-accent-0:var(--ectoplasm-green-0);--color-accent-0-rgb:var(--ectoplasm-green-0-rgb);--color-accent-5:var(--ectoplasm-green-5);--color-accent-5-rgb:var(--ectoplasm-green-5-rgb);--color-accent-10:var(--ectoplasm-green-10);--color-accent-10-rgb:var(--ectoplasm-green-10-rgb);--color-accent-20:var(--ectoplasm-green-20);--color-accent-20-rgb:var(--ectoplasm-green-20-rgb);--color-accent-30:var(--ectoplasm-green-30);--color-accent-30-rgb:var(--ectoplasm-green-30-rgb);--color-accent-40:var(--ectoplasm-green-40);--color-accent-40-rgb:var(--ectoplasm-green-40-rgb);--color-accent-50:var(--ectoplasm-green-50);--color-accent-50-rgb:var(--ectoplasm-green-50-rgb);--color-accent-60:var(--ectoplasm-green-60);--color-accent-60-rgb:var(--ectoplasm-green-60-rgb);--color-accent-70:var(--ectoplasm-green-70);--color-accent-70-rgb:var(--ectoplasm-green-70-rgb);--color-accent-80:var(--ectoplasm-green-80);--color-accent-80-rgb:var(--ectoplasm-green-80-rgb);--color-accent-90:var(--ectoplasm-green-90);--color-accent-90-rgb:var(--ectoplasm-green-90-rgb);--color-accent-100:var(--ectoplasm-green-100);--color-accent-100-rgb:var(--ectoplasm-green-100-rgb);--color-masterbar-background:var(--theme-base-color);--color-masterbar-border:var(--theme-submenu-background-color);--color-masterbar-text:var(--studio-white);--color-masterbar-unread-dot-background:var(--theme-notification-color);--color-masterbar-item-hover-background:var(--theme-submenu-background-color);--color-masterbar-item-active-background:var(--theme-submenu-background-color);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--theme-base-color);--color-sidebar-background-rgb:var(--theme-base-color-rgb);--color-sidebar-border:var(--theme-submenu-background-color);--color-sidebar-text:var(--theme-text-color);--color-sidebar-text-rgb:var(--theme-text-color-rgb);--color-sidebar-text-alternative:var(--theme-text-color);--color-sidebar-gridicon-fill:var(--theme-icon-color);--color-sidebar-menu-selected-background:var(--theme-highlight-color);--color-sidebar-menu-selected-background-rgb:var(--theme-highlight-color-rgb);--color-sidebar-menu-selected-text:var(--theme-text-color);--color-sidebar-menu-selected-text-rgb:var(--theme-text-color-rgb);--color-sidebar-menu-hover-background:var(--theme-highlight-color);--color-sidebar-menu-hover-background-rgb:var(--theme-highlight-color-rgb);--color-sidebar-menu-hover-text:var(--theme-text-color);--color-sidebar-submenu-background:var(--theme-submenu-background-color);--color-sidebar-submenu-text:var(--theme-submenu-text-color);--color-sidebar-submenu-hover-background:transparent;--color-sidebar-submenu-hover-text:var(--theme-highlight-color);--wp-admin-theme-color:var(--theme-base-color)}.color-scheme.is-light{--theme-text-color:#333;--theme-text-color-rgb:51,51,51;--theme-base-color:#e5e5e5;--theme-base-color-rgb:229,229,229;--theme-submenu-text-color:#686868;--theme-submenu-background-color:#fff;--theme-icon-color:#999;--theme-highlight-color:#04a4cc;--theme-highlight-color-rgb:4,164,204;--theme-notification-color:#d64e07;--color-primary:var(--theme-highlight-color);--color-primary-rgb:var(--theme-highlight-color-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--theme-highlight-color);--color-accent-rgb:var(--theme-highlight-color-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--theme-base-color);--color-masterbar-border:var(--theme-submenu-background-color);--color-masterbar-text:var(--studio-black);--color-masterbar-unread-dot-background:var(--theme-notification-color);--color-masterbar-item-hover-background:var(--theme-submenu-background-color);--color-masterbar-item-active-background:var(--theme-submenu-background-color);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-90);--color-sidebar-background:var(--theme-base-color);--color-sidebar-background-rgb:var(--theme-base-color-rgb);--color-sidebar-border:var(--theme-submenu-background-color);--color-sidebar-text:var(--theme-text-color);--color-sidebar-text-rgb:var(--theme-text-color-rgb);--color-sidebar-text-alternative:var(--studio-gray-90);--color-sidebar-gridicon-fill:var(--theme-icon-color);--color-sidebar-menu-selected-background:#888;--color-sidebar-menu-selected-background-rgb:136,136,136;--color-sidebar-menu-selected-text:#fff;--color-sidebar-menu-selected-text-rgb:255,255,255;--color-sidebar-menu-hover-background:#888;--color-sidebar-menu-hover-background-rgb:136,136,136;--color-sidebar-menu-hover-text:#fff;--color-sidebar-submenu-background:var(--theme-submenu-background-color);--color-sidebar-submenu-text:var(--theme-submenu-text-color);--color-sidebar-submenu-hover-background:transparent;--color-sidebar-submenu-hover-text:var(--theme-highlight-color);--color-sidebar-submenu-selected-text:#333;--wp-admin-theme-color:var(--theme-highlight-color)}.color-scheme.is-light .masterbar__item-notifications .gridicon{fill:#000}.color-scheme.is-midnight{--theme-text-color:#fff;--theme-text-color-rgb:255,255,255;--theme-base-color:#363b3f;--theme-base-color-rgb:54,59,63;--theme-submenu-text-color:#c3c4c5;--theme-submenu-background-color:#26292c;--theme-icon-color:#ece6f6;--theme-highlight-color:#e14d43;--theme-highlight-color-rgb:225,77,67;--theme-notification-color:#69a8bb;--color-primary:var(--theme-highlight-color);--color-primary-rgb:var(--theme-highlight-color-rgb);--color-primary-dark:var(--studio-red-70);--color-primary-dark-rgb:var(--studio-red-70-rgb);--color-primary-light:var(--studio-red-30);--color-primary-light-rgb:var(--studio-red-30-rgb);--color-primary-0:var(--studio-red-0);--color-primary-0-rgb:var(--studio-red-0-rgb);--color-primary-5:var(--studio-red-5);--color-primary-5-rgb:var(--studio-red-5-rgb);--color-primary-10:var(--studio-red-10);--color-primary-10-rgb:var(--studio-red-10-rgb);--color-primary-20:var(--studio-red-20);--color-primary-20-rgb:var(--studio-red-20-rgb);--color-primary-30:var(--studio-red-30);--color-primary-30-rgb:var(--studio-red-30-rgb);--color-primary-40:var(--studio-red-40);--color-primary-40-rgb:var(--studio-red-40-rgb);--color-primary-50:var(--studio-red-50);--color-primary-50-rgb:var(--studio-red-50-rgb);--color-primary-60:var(--studio-red-60);--color-primary-60-rgb:var(--studio-red-60-rgb);--color-primary-70:var(--studio-red-70);--color-primary-70-rgb:var(--studio-red-70-rgb);--color-primary-80:var(--studio-red-80);--color-primary-80-rgb:var(--studio-red-80-rgb);--color-primary-90:var(--studio-red-90);--color-primary-90-rgb:var(--studio-red-90-rgb);--color-primary-100:var(--studio-red-100);--color-primary-100-rgb:var(--studio-red-100-rgb);--color-accent:var(--theme-highlight-color);--color-accent-rgb:var(--theme-highlight-color-rgb);--color-accent-dark:var(--studio-red-70);--color-accent-dark-rgb:var(--studio-red-70-rgb);--color-accent-light:var(--studio-red-30);--color-accent-light-rgb:var(--studio-red-30-rgb);--color-accent-0:var(--studio-red-0);--color-accent-0-rgb:var(--studio-red-0-rgb);--color-accent-5:var(--studio-red-5);--color-accent-5-rgb:var(--studio-red-5-rgb);--color-accent-10:var(--studio-red-10);--color-accent-10-rgb:var(--studio-red-10-rgb);--color-accent-20:var(--studio-red-20);--color-accent-20-rgb:var(--studio-red-20-rgb);--color-accent-30:var(--studio-red-30);--color-accent-30-rgb:var(--studio-red-30-rgb);--color-accent-40:var(--studio-red-40);--color-accent-40-rgb:var(--studio-red-40-rgb);--color-accent-50:var(--studio-red-50);--color-accent-50-rgb:var(--studio-red-50-rgb);--color-accent-60:var(--studio-red-60);--color-accent-60-rgb:var(--studio-red-60-rgb);--color-accent-70:var(--studio-red-70);--color-accent-70-rgb:var(--studio-red-70-rgb);--color-accent-80:var(--studio-red-80);--color-accent-80-rgb:var(--studio-red-80-rgb);--color-accent-90:var(--studio-red-90);--color-accent-90-rgb:var(--studio-red-90-rgb);--color-accent-100:var(--studio-red-100);--color-accent-100-rgb:var(--studio-red-100-rgb);--color-masterbar-background:var(--theme-base-color);--color-masterbar-border:var(--theme-submenu-background-color);--color-masterbar-text:var(--studio-white);--color-masterbar-unread-dot-background:var(--theme-notification-color);--color-masterbar-item-hover-background:var(--theme-submenu-background-color);--color-masterbar-item-active-background:var(--theme-submenu-background-color);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--theme-base-color);--color-sidebar-background-rgb:var(--theme-base-color-rgb);--color-sidebar-border:var(--theme-submenu-background-color);--color-sidebar-text:var(--theme-text-color);--color-sidebar-text-rgb:var(--theme-text-color-rgb);--color-sidebar-text-alternative:var(--theme-text-color);--color-sidebar-gridicon-fill:var(--theme-icon-color);--color-sidebar-menu-selected-background:var(--theme-highlight-color);--color-sidebar-menu-selected-background-rgb:var(--theme-highlight-color-rgb);--color-sidebar-menu-selected-text:var(--theme-text-color);--color-sidebar-menu-selected-text-rgb:var(--theme-text-color-rgb);--color-sidebar-menu-hover-background:var(--theme-highlight-color);--color-sidebar-menu-hover-background-rgb:var(--theme-highlight-color-rgb);--color-sidebar-menu-hover-text:var(--theme-text-color);--color-sidebar-submenu-background:var(--theme-submenu-background-color);--color-sidebar-submenu-text:var(--theme-submenu-text-color);--color-sidebar-submenu-hover-background:transparent;--color-sidebar-submenu-hover-text:var(--theme-highlight-color);--wp-admin-theme-color:var(--theme-highlight-color)}.color-scheme.is-modern{--theme-text-color:#fff;--theme-text-color-rgb:255,255,255;--theme-base-color:#1e1e1e;--theme-base-color-rgb:30,30,30;--theme-submenu-text-color:#bcbcbc;--theme-submenu-background-color:#0c0c0c;--theme-icon-color:#ece6f6;--theme-highlight-color:#3858e9;--theme-highlight-color-rgb:56,88,233;--theme-notification-color:#3858e9;--theme-highlight-color-0:#d5dffa;--theme-highlight-color-0-rgb:213,223,250;--theme-highlight-color-5:#d7defa;--theme-highlight-color-5-rgb:215,222,250;--theme-highlight-color-10:#abc0f5;--theme-highlight-color-10-rgb:171,192,245;--theme-highlight-color-20:#82a1f0;--theme-highlight-color-20-rgb:130,161,240;--theme-highlight-color-30:#5882eb;--theme-highlight-color-30-rgb:88,130,235;--theme-highlight-color-40:#2f63e6;--theme-highlight-color-40-rgb:47,99,230;--theme-highlight-color-50:var(--theme-highlight-color);--theme-highlight-color-50-rgb:var(--theme-highlight-color-rgb);--theme-highlight-color-60:#2145e6;--theme-highlight-color-60-rgb:33,69,230;--theme-highlight-color-70:#133ca6;--theme-highlight-color-70-rgb:19,60,166;--theme-highlight-color-80:#0e2d7c;--theme-highlight-color-80-rgb:14,45,124;--theme-highlight-color-90:#091e53;--theme-highlight-color-90-rgb:9,30,83;--theme-highlight-color-100:#040f29;--theme-highlight-color-100-rgb:4,15,41;--color-link:var(--theme-highlight-color);--color-link-dark:var(--theme-highlight-color-70);--color-link-light:var(--theme-highlight-color-30);--color-primary:var(--theme-highlight-color);--color-primary-rgb:var(--theme-highlight-color-rgb);--color-primary-dark:var(--theme-highlight-color-70);--color-primary-dark-rgb:var(--theme-highlight-color-70-rgb);--color-primary-light:var(--theme-highlight-color-30);--color-primary-light-rgb:var(--theme-highlight-color-30-rgb);--color-primary-0:var(--theme-highlight-color-0);--color-primary-0-rgb:var(--theme-highlight-color-0-rgb);--color-primary-5:var(--theme-highlight-color-5);--color-primary-5-rgb:var(--theme-highlight-color-5-rgb);--color-primary-10:var(--theme-highlight-color-10);--color-primary-10-rgb:var(--theme-highlight-color-10-rgb);--color-primary-20:var(--theme-highlight-color-20);--color-primary-20-rgb:var(--theme-highlight-color-20-rgb);--color-primary-30:var(--theme-highlight-color-30);--color-primary-30-rgb:var(--theme-highlight-color-30-rgb);--color-primary-40:var(--theme-highlight-color-40);--color-primary-40-rgb:var(--theme-highlight-color-40-rgb);--color-primary-50:var(--theme-highlight-color-50);--color-primary-50-rgb:var(--theme-highlight-color-50-rgb);--color-primary-60:var(--theme-highlight-color-60);--color-primary-60-rgb:var(--theme-highlight-color-60-rgb);--color-primary-70:var(--theme-highlight-color-70);--color-primary-70-rgb:var(--theme-highlight-color-70-rgb);--color-primary-80:var(--theme-highlight-color-80);--color-primary-80-rgb:var(--theme-highlight-color-80-rgb);--color-primary-90:var(--theme-highlight-color-90);--color-primary-90-rgb:var(--theme-highlight-color-90-rgb);--color-primary-100:var(--theme-highlight-color-100);--color-primary-100-rgb:var(--theme-highlight-color-100-rgb);--color-accent:var(--theme-highlight-color);--color-accent-rgb:var(--theme-highlight-color-rgb);--color-accent-dark:var(--theme-highlight-color-70);--color-accent-dark-rgb:var(--theme-highlight-color-70-rgb);--color-accent-light:var(--theme-highlight-color-30);--color-accent-light-rgb:var(--theme-highlight-color-30-rgb);--color-accent-0:var(--theme-highlight-color-0);--color-accent-0-rgb:var(--theme-highlight-color-0-rgb);--color-accent-5:var(--theme-highlight-color-5);--color-accent-5-rgb:var(--theme-highlight-color-5-rgb);--color-accent-10:var(--theme-highlight-color-10);--color-accent-10-rgb:var(--theme-highlight-color-10-rgb);--color-accent-20:var(--theme-highlight-color-20);--color-accent-20-rgb:var(--theme-highlight-color-20-rgb);--color-accent-30:var(--theme-highlight-color-30);--color-accent-30-rgb:var(--theme-highlight-color-30-rgb);--color-accent-40:var(--theme-highlight-color-40);--color-accent-40-rgb:var(--theme-highlight-color-40-rgb);--color-accent-50:var(--theme-highlight-color-50);--color-accent-50-rgb:var(--theme-highlight-color-50-rgb);--color-accent-60:var(--theme-highlight-color-60);--color-accent-60-rgb:var(--theme-highlight-color-60-rgb);--color-accent-70:var(--theme-highlight-color-70);--color-accent-70-rgb:var(--theme-highlight-color-70-rgb);--color-accent-80:var(--theme-highlight-color-80);--color-accent-80-rgb:var(--theme-highlight-color-80-rgb);--color-accent-90:var(--theme-highlight-color-90);--color-accent-90-rgb:var(--theme-highlight-color-90-rgb);--color-accent-100:var(--theme-highlight-color-100);--color-accent-100-rgb:var(--theme-highlight-color-100-rgb);--color-masterbar-background:var(--theme-base-color);--color-masterbar-border:var(--theme-submenu-background-color);--color-masterbar-text:var(--studio-white);--color-masterbar-unread-dot-background:var(--theme-notification-color);--color-masterbar-item-hover-background:var(--theme-submenu-background-color);--color-masterbar-item-active-background:var(--theme-submenu-background-color);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--theme-base-color);--color-sidebar-background-rgb:var(--theme-base-color-rgb);--color-sidebar-border:var(--theme-submenu-background-color);--color-sidebar-text:var(--theme-text-color);--color-sidebar-text-rgb:var(--theme-text-color-rgb);--color-sidebar-text-alternative:var(--studio-gray-10);--color-sidebar-gridicon-fill:var(--studio-gray-0);--color-sidebar-menu-selected-background:var(--theme-highlight-color);--color-sidebar-menu-selected-background-rgb:var(--theme-highlight-color-rgb);--color-sidebar-menu-selected-text:var(--theme-text-color);--color-sidebar-menu-selected-text-rgb:var(--theme-text-color-rgb);--color-sidebar-menu-hover-background:var(--theme-highlight-color);--color-sidebar-menu-hover-background-rgb:var(--theme-highlight-color-rgb);--color-sidebar-menu-hover-text:var(--theme-text-color);--color-sidebar-submenu-background:var(--theme-submenu-background-color);--color-sidebar-submenu-text:var(--theme-submenu-text-color);--color-sidebar-submenu-hover-background:transparent;--color-sidebar-submenu-hover-text:#33f078;--wp-admin-theme-color:var(--theme-highlight-color)}.color-scheme.is-nightfall{--color-primary:var(--studio-gray-90);--color-primary-rgb:var(--studio-gray-90-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-blue-100);--color-masterbar-border:var(--studio-blue-100);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-90);--color-masterbar-item-active-background:var(--studio-blue-80);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-blue-80);--color-sidebar-background-rgb:var(--studio-blue-80-rgb);--color-sidebar-border:var(--studio-blue-90);--color-sidebar-text:var(--studio-blue-5);--color-sidebar-text-rgb:var(--studio-blue-5-rgb);--color-sidebar-text-alternative:var(--studio-blue-20);--color-sidebar-gridicon-fill:var(--studio-blue-10);--color-sidebar-menu-selected-background:var(--studio-blue-100);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-100-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-blue-70);--color-sidebar-menu-hover-background-rgb:var(--studio-blue-70-rgb);--color-sidebar-menu-hover-text:var(--studio-white);--color-sidebar-submenu-background:var(--studio-blue-90);--color-sidebar-submenu-text:var(--studio-white);--color-sidebar-submenu-hover-text:var(--studio-blue-20);--color-sidebar-submenu-selected-text:var(--studio-white);--wp-admin-theme-color:var(--studio-blue-50)}.color-scheme.is-ocean{--theme-text-color:#fff;--theme-text-color-rgb:255,255,255;--theme-base-color:#738e96;--theme-base-color-rgb:115,142,150;--theme-submenu-text-color:#d5dde0;--theme-submenu-background-color:#627c83;--theme-icon-color:#f2fcff;--theme-highlight-color:#9ebaa0;--theme-highlight-color-rgb:158,186,160;--theme-notification-color:#aa9d88;--color-primary:var(--theme-highlight-color);--color-primary-rgb:var(--theme-highlight-color-rgb);--color-primary-dark:var(--studio-celadon-70);--color-primary-dark-rgb:var(--studio-celadon-70-rgb);--color-primary-light:var(--studio-celadon-30);--color-primary-light-rgb:var(--studio-celadon-30-rgb);--color-primary-0:var(--studio-celadon-0);--color-primary-0-rgb:var(--studio-celadon-0-rgb);--color-primary-5:var(--studio-celadon-5);--color-primary-5-rgb:var(--studio-celadon-5-rgb);--color-primary-10:var(--studio-celadon-10);--color-primary-10-rgb:var(--studio-celadon-10-rgb);--color-primary-20:var(--studio-celadon-20);--color-primary-20-rgb:var(--studio-celadon-20-rgb);--color-primary-30:var(--studio-celadon-30);--color-primary-30-rgb:var(--studio-celadon-30-rgb);--color-primary-40:var(--studio-celadon-40);--color-primary-40-rgb:var(--studio-celadon-40-rgb);--color-primary-50:var(--studio-celadon-50);--color-primary-50-rgb:var(--studio-celadon-50-rgb);--color-primary-60:var(--studio-celadon-60);--color-primary-60-rgb:var(--studio-celadon-60-rgb);--color-primary-70:var(--studio-celadon-70);--color-primary-70-rgb:var(--studio-celadon-70-rgb);--color-primary-80:var(--studio-celadon-80);--color-primary-80-rgb:var(--studio-celadon-80-rgb);--color-primary-90:var(--studio-celadon-90);--color-primary-90-rgb:var(--studio-celadon-90-rgb);--color-primary-100:var(--studio-celadon-100);--color-primary-100-rgb:var(--studio-celadon-100-rgb);--color-accent:var(--theme-highlight-color);--color-accent-rgb:var(--theme-highlight-color-rgb);--color-accent-dark:var(--studio-celadon-70);--color-accent-dark-rgb:var(--studio-celadon-70-rgb);--color-accent-light:var(--studio-celadon-30);--color-accent-light-rgb:var(--studio-celadon-30-rgb);--color-accent-0:var(--studio-celadon-0);--color-accent-0-rgb:var(--studio-celadon-0-rgb);--color-accent-5:var(--studio-celadon-5);--color-accent-5-rgb:var(--studio-celadon-5-rgb);--color-accent-10:var(--studio-celadon-10);--color-accent-10-rgb:var(--studio-celadon-10-rgb);--color-accent-20:var(--studio-celadon-20);--color-accent-20-rgb:var(--studio-celadon-20-rgb);--color-accent-30:var(--studio-celadon-30);--color-accent-30-rgb:var(--studio-celadon-30-rgb);--color-accent-40:var(--studio-celadon-40);--color-accent-40-rgb:var(--studio-celadon-40-rgb);--color-accent-50:var(--studio-celadon-50);--color-accent-50-rgb:var(--studio-celadon-50-rgb);--color-accent-60:var(--studio-celadon-60);--color-accent-60-rgb:var(--studio-celadon-60-rgb);--color-accent-70:var(--studio-celadon-70);--color-accent-70-rgb:var(--studio-celadon-70-rgb);--color-accent-80:var(--studio-celadon-80);--color-accent-80-rgb:var(--studio-celadon-80-rgb);--color-accent-90:var(--studio-celadon-90);--color-accent-90-rgb:var(--studio-celadon-90-rgb);--color-accent-100:var(--studio-celadon-100);--color-accent-100-rgb:var(--studio-celadon-100-rgb);--color-masterbar-background:var(--theme-base-color);--color-masterbar-border:var(--theme-submenu-background-color);--color-masterbar-text:var(--studio-white);--color-masterbar-unread-dot-background:var(--theme-notification-color);--color-masterbar-item-hover-background:var(--theme-submenu-background-color);--color-masterbar-item-active-background:var(--theme-submenu-background-color);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--theme-base-color);--color-sidebar-background-rgb:var(--theme-base-color-rgb);--color-sidebar-border:var(--theme-submenu-background-color);--color-sidebar-text:var(--theme-text-color);--color-sidebar-text-rgb:var(--theme-text-color-rgb);--color-sidebar-text-alternative:var(--theme-text-color);--color-sidebar-gridicon-fill:var(--theme-icon-color);--color-sidebar-menu-selected-background:var(--theme-highlight-color);--color-sidebar-menu-selected-background-rgb:var(--theme-highlight-color-rgb);--color-sidebar-menu-selected-text:var(--theme-text-color);--color-sidebar-menu-selected-text-rgb:var(--theme-text-color-rgb);--color-sidebar-menu-hover-background:var(--theme-highlight-color);--color-sidebar-menu-hover-background-rgb:var(--theme-highlight-color-rgb);--color-sidebar-menu-hover-text:var(--theme-text-color);--color-sidebar-submenu-background:var(--theme-submenu-background-color);--color-sidebar-submenu-text:var(--theme-submenu-text-color);--color-sidebar-submenu-hover-background:transparent;--color-sidebar-submenu-hover-text:var(--theme-highlight-color);--wp-admin-theme-color:var(--theme-highlight-color)}.color-scheme.is-powder-snow{--color-primary:var(--studio-gray-90);--color-primary-rgb:var(--studio-gray-90-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-gray-100);--color-masterbar-border:var(--studio-gray-90);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-70);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-gray-5);--color-sidebar-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-border:var(--studio-gray-10);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-rgb:var(--studio-gray-80-rgb);--color-sidebar-text-alternative:var(--studio-gray-60);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-gray-60);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--color-surface);--color-sidebar-menu-hover-background-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-text:var(--studio-blue-60);--color-sidebar-submenu-background:var(--studio-gray-10);--color-sidebar-submenu-text:var(--studio-gray-80);--color-sidebar-submenu-hover-text:var(--studio-blue-60);--color-sidebar-submenu-selected-text:var(--studio-gray-80);--wp-admin-theme-color:var(--studio-blue-50)}.color-scheme.is-sakura{--color-primary:var(--studio-celadon-50);--color-primary-rgb:var(--studio-celadon-50-rgb);--color-primary-dark:var(--studio-celadon-70);--color-primary-dark-rgb:var(--studio-celadon-70-rgb);--color-primary-light:var(--studio-celadon-30);--color-primary-light-rgb:var(--studio-celadon-30-rgb);--color-primary-0:var(--studio-celadon-0);--color-primary-0-rgb:var(--studio-celadon-0-rgb);--color-primary-5:var(--studio-celadon-5);--color-primary-5-rgb:var(--studio-celadon-5-rgb);--color-primary-10:var(--studio-celadon-10);--color-primary-10-rgb:var(--studio-celadon-10-rgb);--color-primary-20:var(--studio-celadon-20);--color-primary-20-rgb:var(--studio-celadon-20-rgb);--color-primary-30:var(--studio-celadon-30);--color-primary-30-rgb:var(--studio-celadon-30-rgb);--color-primary-40:var(--studio-celadon-40);--color-primary-40-rgb:var(--studio-celadon-40-rgb);--color-primary-50:var(--studio-celadon-50);--color-primary-50-rgb:var(--studio-celadon-50-rgb);--color-primary-60:var(--studio-celadon-60);--color-primary-60-rgb:var(--studio-celadon-60-rgb);--color-primary-70:var(--studio-celadon-70);--color-primary-70-rgb:var(--studio-celadon-70-rgb);--color-primary-80:var(--studio-celadon-80);--color-primary-80-rgb:var(--studio-celadon-80-rgb);--color-primary-90:var(--studio-celadon-90);--color-primary-90-rgb:var(--studio-celadon-90-rgb);--color-primary-100:var(--studio-celadon-100);--color-primary-100-rgb:var(--studio-celadon-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-celadon-50);--color-link-rgb:var(--studio-celadon-50-rgb);--color-link-dark:var(--studio-celadon-70);--color-link-dark-rgb:var(--studio-celadon-70-rgb);--color-link-light:var(--studio-celadon-30);--color-link-light-rgb:var(--studio-celadon-30-rgb);--color-link-0:var(--studio-celadon-0);--color-link-0-rgb:var(--studio-celadon-0-rgb);--color-link-5:var(--studio-celadon-5);--color-link-5-rgb:var(--studio-celadon-5-rgb);--color-link-10:var(--studio-celadon-10);--color-link-10-rgb:var(--studio-celadon-10-rgb);--color-link-20:var(--studio-celadon-20);--color-link-20-rgb:var(--studio-celadon-20-rgb);--color-link-30:var(--studio-celadon-30);--color-link-30-rgb:var(--studio-celadon-30-rgb);--color-link-40:var(--studio-celadon-40);--color-link-40-rgb:var(--studio-celadon-40-rgb);--color-link-50:var(--studio-celadon-50);--color-link-50-rgb:var(--studio-celadon-50-rgb);--color-link-60:var(--studio-celadon-60);--color-link-60-rgb:var(--studio-celadon-60-rgb);--color-link-70:var(--studio-celadon-70);--color-link-70-rgb:var(--studio-celadon-70-rgb);--color-link-80:var(--studio-celadon-80);--color-link-80-rgb:var(--studio-celadon-80-rgb);--color-link-90:var(--studio-celadon-90);--color-link-90-rgb:var(--studio-celadon-90-rgb);--color-link-100:var(--studio-celadon-100);--color-link-100-rgb:var(--studio-celadon-100-rgb);--color-masterbar-background:var(--studio-celadon-70);--color-masterbar-border:var(--studio-celadon-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-celadon-80);--color-masterbar-item-active-background:var(--studio-celadon-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-pink-5);--color-sidebar-background-rgb:var(--studio-pink-5-rgb);--color-sidebar-border:var(--studio-pink-10);--color-sidebar-text:var(--studio-pink-80);--color-sidebar-text-rgb:var(--studio-pink-80-rgb);--color-sidebar-text-alternative:var(--studio-pink-60);--color-sidebar-gridicon-fill:var(--studio-pink-70);--color-sidebar-menu-selected-background:var(--studio-blue-50);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-50-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-pink-10);--color-sidebar-menu-hover-background-rgb:var(--studio-pink-10-rgb);--color-sidebar-menu-hover-text:var(--studio-pink-90);--color-sidebar-submenu-background:var(--studio-pink-90);--color-sidebar-submenu-text:var(--studio-pink-0);--color-sidebar-submenu-hover-text:var(--studio-blue-20);--color-sidebar-submenu-selected-text:var(--studio-pink-0);--wp-admin-theme-color:var(--studio-blue-50)}.color-scheme.is-sunrise{--theme-text-color:#fff;--theme-text-color-rgb:255,255,255;--theme-base-color:#cf4944;--theme-base-color-rgb:207,73,68;--theme-submenu-text-color:#f1c8c7;--theme-submenu-background-color:#be3631;--theme-submenu-hover-text-color:#f7e3d3;--theme-icon-color:#f3f1f1;--theme-highlight-color:#dd823b;--theme-highlight-color-rgb:221,130,59;--theme-notification-color:#ccaf0b;--color-primary:var(--theme-highlight-color);--color-primary-rgb:var(--theme-highlight-color-rgb);--color-primary-dark:var(--studio-orange-70);--color-primary-dark-rgb:var(--studio-orange-70-rgb);--color-primary-light:var(--studio-orange-30);--color-primary-light-rgb:var(--studio-orange-30-rgb);--color-primary-0:var(--studio-orange-0);--color-primary-0-rgb:var(--studio-orange-0-rgb);--color-primary-5:var(--studio-orange-5);--color-primary-5-rgb:var(--studio-orange-5-rgb);--color-primary-10:var(--studio-orange-10);--color-primary-10-rgb:var(--studio-orange-10-rgb);--color-primary-20:var(--studio-orange-20);--color-primary-20-rgb:var(--studio-orange-20-rgb);--color-primary-30:var(--studio-orange-30);--color-primary-30-rgb:var(--studio-orange-30-rgb);--color-primary-40:var(--studio-orange-40);--color-primary-40-rgb:var(--studio-orange-40-rgb);--color-primary-50:var(--studio-orange-50);--color-primary-50-rgb:var(--studio-orange-50-rgb);--color-primary-60:var(--studio-orange-60);--color-primary-60-rgb:var(--studio-orange-60-rgb);--color-primary-70:var(--studio-orange-70);--color-primary-70-rgb:var(--studio-orange-70-rgb);--color-primary-80:var(--studio-orange-80);--color-primary-80-rgb:var(--studio-orange-80-rgb);--color-primary-90:var(--studio-orange-90);--color-primary-90-rgb:var(--studio-orange-90-rgb);--color-primary-100:var(--studio-orange-100);--color-primary-100-rgb:var(--studio-orange-100-rgb);--color-accent:var(--theme-highlight-color);--color-accent-rgb:var(--theme-highlight-color-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-background:var(--theme-base-color);--color-masterbar-border:var(--theme-submenu-background-color);--color-masterbar-text:var(--studio-white);--color-masterbar-unread-dot-background:var(--theme-notification-color);--color-masterbar-item-hover-background:var(--theme-submenu-background-color);--color-masterbar-item-active-background:var(--theme-submenu-background-color);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--theme-base-color);--color-sidebar-background-rgb:var(--theme-base-color-rgb);--color-sidebar-border:var(--theme-submenu-background-color);--color-sidebar-text:var(--theme-text-color);--color-sidebar-text-rgb:var(--theme-text-color-rgb);--color-sidebar-text-alternative:var(--studio-gray-0);--color-sidebar-gridicon-fill:var(--theme-icon-color);--color-sidebar-menu-selected-background:var(--theme-highlight-color);--color-sidebar-menu-selected-background-rgb:var(--theme-highlight-color-rgb);--color-sidebar-menu-selected-text:var(--theme-text-color);--color-sidebar-menu-selected-text-rgb:var(--theme-text-color-rgb);--color-sidebar-menu-hover-background:var(--theme-highlight-color);--color-sidebar-menu-hover-background-rgb:var(--theme-highlight-color-rgb);--color-sidebar-menu-hover-text:var(--theme-text-color);--color-sidebar-submenu-background:var(--theme-submenu-background-color);--color-sidebar-submenu-text:var(--theme-submenu-text-color);--color-sidebar-submenu-hover-background:transparent;--color-sidebar-submenu-hover-text:var(--theme-submenu-hover-text-color);--wp-admin-theme-color:var(--theme-highlight-color)}.color-scheme.is-sunset{--color-primary:var(--studio-red-50);--color-primary-rgb:var(--studio-red-50-rgb);--color-primary-dark:var(--studio-red-70);--color-primary-dark-rgb:var(--studio-red-70-rgb);--color-primary-light:var(--studio-red-30);--color-primary-light-rgb:var(--studio-red-30-rgb);--color-primary-0:var(--studio-red-0);--color-primary-0-rgb:var(--studio-red-0-rgb);--color-primary-5:var(--studio-red-5);--color-primary-5-rgb:var(--studio-red-5-rgb);--color-primary-10:var(--studio-red-10);--color-primary-10-rgb:var(--studio-red-10-rgb);--color-primary-20:var(--studio-red-20);--color-primary-20-rgb:var(--studio-red-20-rgb);--color-primary-30:var(--studio-red-30);--color-primary-30-rgb:var(--studio-red-30-rgb);--color-primary-40:var(--studio-red-40);--color-primary-40-rgb:var(--studio-red-40-rgb);--color-primary-50:var(--studio-red-50);--color-primary-50-rgb:var(--studio-red-50-rgb);--color-primary-60:var(--studio-red-60);--color-primary-60-rgb:var(--studio-red-60-rgb);--color-primary-70:var(--studio-red-70);--color-primary-70-rgb:var(--studio-red-70-rgb);--color-primary-80:var(--studio-red-80);--color-primary-80-rgb:var(--studio-red-80-rgb);--color-primary-90:var(--studio-red-90);--color-primary-90-rgb:var(--studio-red-90-rgb);--color-primary-100:var(--studio-red-100);--color-primary-100-rgb:var(--studio-red-100-rgb);--color-accent:var(--studio-orange-50);--color-accent-rgb:var(--studio-orange-50-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-link:var(--studio-orange-50);--color-link-rgb:var(--studio-orange-50-rgb);--color-link-dark:var(--studio-orange-70);--color-link-dark-rgb:var(--studio-orange-70-rgb);--color-link-light:var(--studio-orange-30);--color-link-light-rgb:var(--studio-orange-30-rgb);--color-link-0:var(--studio-orange-0);--color-link-0-rgb:var(--studio-orange-0-rgb);--color-link-5:var(--studio-orange-5);--color-link-5-rgb:var(--studio-orange-5-rgb);--color-link-10:var(--studio-orange-10);--color-link-10-rgb:var(--studio-orange-10-rgb);--color-link-20:var(--studio-orange-20);--color-link-20-rgb:var(--studio-orange-20-rgb);--color-link-30:var(--studio-orange-30);--color-link-30-rgb:var(--studio-orange-30-rgb);--color-link-40:var(--studio-orange-40);--color-link-40-rgb:var(--studio-orange-40-rgb);--color-link-50:var(--studio-orange-50);--color-link-50-rgb:var(--studio-orange-50-rgb);--color-link-60:var(--studio-orange-60);--color-link-60-rgb:var(--studio-orange-60-rgb);--color-link-70:var(--studio-orange-70);--color-link-70-rgb:var(--studio-orange-70-rgb);--color-link-80:var(--studio-orange-80);--color-link-80-rgb:var(--studio-orange-80-rgb);--color-link-90:var(--studio-orange-90);--color-link-90-rgb:var(--studio-orange-90-rgb);--color-link-100:var(--studio-orange-100);--color-link-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-background:var(--studio-red-80);--color-masterbar-border:var(--studio-red-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-red-90);--color-masterbar-item-active-background:var(--studio-red-100);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-red-70);--color-sidebar-background-rgb:var(--studio-red-70-rgb);--color-sidebar-border:var(--studio-red-80);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-red-10);--color-sidebar-gridicon-fill:var(--studio-red-5);--color-sidebar-menu-selected-background:var(--studio-yellow-20);--color-sidebar-menu-selected-background-rgb:var(--studio-yellow-20-rgb);--color-sidebar-menu-selected-text:var(--studio-yellow-80);--color-sidebar-menu-selected-text-rgb:var(--studio-yellow-80-rgb);--color-sidebar-menu-hover-background:var(--studio-red-80);--color-sidebar-menu-hover-background-rgb:var(--studio-red-80-rgb);--color-sidebar-menu-hover-text:var(--studio-white);--color-sidebar-submenu-background:var(--studio-red-60);--color-sidebar-submenu-text:var(--studio-white);--color-sidebar-submenu-hover-text:var(--studio-yellow-20);--color-sidebar-submenu-selected-text:var(--studio-white);--wp-admin-theme-color:var(--studio-orange-50)}.color-scheme.is-jetpack-cloud,.theme-jetpack-cloud{--color-primary:var(--studio-black);--color-primary-rgb:var(--studio-black-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-black);--color-accent-rgb:var(--studio-black-rgb);--color-accent-dark:var(--studio-gray-70);--color-accent-dark-rgb:var(--studio-gray-70-rgb);--color-accent-light:var(--studio-gray-30);--color-accent-light-rgb:var(--studio-gray-30-rgb);--color-accent-0:var(--studio-gray-0);--color-accent-0-rgb:var(--studio-gray-0-rgb);--color-accent-5:var(--studio-gray-5);--color-accent-5-rgb:var(--studio-gray-5-rgb);--color-accent-10:var(--studio-gray-10);--color-accent-10-rgb:var(--studio-gray-10-rgb);--color-accent-20:var(--studio-gray-20);--color-accent-20-rgb:var(--studio-gray-20-rgb);--color-accent-30:var(--studio-gray-30);--color-accent-30-rgb:var(--studio-gray-30-rgb);--color-accent-40:var(--studio-gray-40);--color-accent-40-rgb:var(--studio-gray-40-rgb);--color-accent-50:var(--studio-gray-50);--color-accent-50-rgb:var(--studio-gray-50-rgb);--color-accent-60:var(--studio-gray-60);--color-accent-60-rgb:var(--studio-gray-60-rgb);--color-accent-70:var(--studio-gray-70);--color-accent-70-rgb:var(--studio-gray-70-rgb);--color-accent-80:var(--studio-gray-80);--color-accent-80-rgb:var(--studio-gray-80-rgb);--color-accent-90:var(--studio-gray-90);--color-accent-90-rgb:var(--studio-gray-90-rgb);--color-accent-100:var(--studio-gray-100);--color-accent-100-rgb:var(--studio-gray-100-rgb);--color-link:var(--studio-jetpack-green-50);--color-link-rgb:var(--studio-jetpack-green-50-rgb);--color-link-dark:var(--studio-jetpack-green-70);--color-link-dark-rgb:var(--studio-jetpack-green-70-rgb);--color-link-light:var(--studio-jetpack-green-30);--color-link-light-rgb:var(--studio-jetpack-green-30-rgb);--color-link-0:var(--studio-jetpack-green-0);--color-link-0-rgb:var(--studio-jetpack-green-0-rgb);--color-link-5:var(--studio-jetpack-green-5);--color-link-5-rgb:var(--studio-jetpack-green-5-rgb);--color-link-10:var(--studio-jetpack-green-10);--color-link-10-rgb:var(--studio-jetpack-green-10-rgb);--color-link-20:var(--studio-jetpack-green-20);--color-link-20-rgb:var(--studio-jetpack-green-20-rgb);--color-link-30:var(--studio-jetpack-green-30);--color-link-30-rgb:var(--studio-jetpack-green-30-rgb);--color-link-40:var(--studio-jetpack-green-40);--color-link-40-rgb:var(--studio-jetpack-green-40-rgb);--color-link-50:var(--studio-gray-50);--color-link-50-rgb:var(--studio-gray-50-rgb);--color-link-60:var(--studio-jetpack-green-60);--color-link-60-rgb:var(--studio-jetpack-green-60-rgb);--color-link-70:var(--studio-jetpack-green-70);--color-link-70-rgb:var(--studio-jetpack-green-70-rgb);--color-link-80:var(--studio-jetpack-green-80);--color-link-80-rgb:var(--studio-jetpack-green-80-rgb);--color-link-90:var(--studio-jetpack-green-90);--color-link-90-rgb:var(--studio-jetpack-green-90-rgb);--color-link-100:var(--studio-jetpack-green-100);--color-link-100-rgb:var(--studio-jetpack-green-100-rgb);--color-masterbar-background:var(--studio-white);--color-masterbar-border:var(--studio-gray-5);--color-masterbar-text:var(--studio-gray-50);--color-masterbar-item-hover-background:var(--studio-white);--color-masterbar-item-active-background:var(--studio-white);--color-masterbar-item-new-editor-background:var(--studio-white);--color-masterbar-item-new-editor-hover-background:var(--studio-white);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-white);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-60);--color-sidebar-text-rgb:var(--studio-gray-60-rgb);--color-sidebar-text-alternative:var(--studio-gray-60);--color-sidebar-gridicon-fill:var(--studio-gray-60);--color-sidebar-menu-selected-text:var(--studio-gray-90);--color-sidebar-menu-selected-text-rgb:var(--studio-gray-90-rgb);--color-sidebar-menu-selected-background:var(--studio-gray-0);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-0-rgb);--color-sidebar-menu-selected-gridicon-fill:var(--studio-jetpack-green-50);--color-sidebar-menu-hover-text:var(--studio-gray-90);--color-sidebar-menu-hover-background:var(--studio-gray-0);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-0-rgb);--color-scary-0:var(--studio-red-0);--color-scary-5:var(--studio-red-5);--color-scary-40:var(--studio-red-40);--color-scary-50:var(--studio-red-50);--color-scary-60:var(--studio-red-60);--color-scary-70:var(--studio-red-70)}.wpcom-tour-kit-pagination-control{display:flex;justify-content:center;margin:0;width:100%}.wpcom-tour-kit-pagination-control li{align-items:center;border:none;display:inline-flex;height:18px;margin:auto 4px}.wpcom-tour-kit-pagination-control li.pagination-control__last-item{height:32px;margin-left:auto}.wpcom-tour-kit-pagination-control button.pagination-control__page{background-color:var(--color-neutral-10);border:none;border-radius:50%;cursor:pointer;height:6px;padding:0;transition:all .2s ease-in-out;width:6px}.wpcom-tour-kit-pagination-control button.pagination-control__page:hover{background-color:var(--color-neutral-40)}.wpcom-tour-kit-pagination-control button.pagination-control__page:disabled{cursor:default}.wpcom-tour-kit-pagination-control button.pagination-control__page.is-current{background-color:var(--wp-admin-theme-color)}.wpcom-tour-kit-minimized{background-color:#fff;border-radius:2px;box-shadow:0 2px 6px rgba(60,66,87,.08),0 0 0 1px rgba(60,66,87,.16),0 1px 1px rgba(0,0,0,.08);color:#000}.wpcom-tour-kit-minimized .components-button{height:44px}.wpcom-tour-kit-minimized .components-button .wpcom-tour-kit-minimized__tour-index{color:#949494}.wpcom-tour-kit-minimized .components-button svg{color:#50575e}.wpcom-tour-kit-minimized .components-button:hover .wpcom-tour-kit-minimized__tour-index,.wpcom-tour-kit-minimized .components-button:hover svg{color:inherit}.wpcom-tour-kit-step-card__heading{font-size:1.125rem;margin:.5rem 0}.wpcom-tour-kit-step-card__description{font-size:.875rem;line-height:1.5rem;margin:0}.wpcom-tour-kit-step-card__description .components-button{height:auto;line-height:1;padding:0 0 0 4px;text-decoration:underline}.wpcom-tour-kit .tour-kit-frame__container{box-shadow:none}.wpcom-tour-kit-step-card{max-width:92vw;width:416px}.wpcom-tour-kit-step-card.wpcom-tour-kit-step-card.is-elevated{box-shadow:0 0 0 1px rgba(0,0,0,.1),0 2px 4px 0 rgba(0,0,0,.1)}.wpcom-tour-kit-step-card.components-card{border:none;border-radius:4px;box-shadow:none}.wpcom-tour-kit-step-card .components-card__body{min-height:114px}.wpcom-tour-kit-step-card .components-card__body,.wpcom-tour-kit-step-card .components-card__footer{border-top:none;padding:16px!important}.wpcom-tour-kit-step-card .components-card__footer .wpcom-tour-kit-rating__end-text{color:#949494;font-size:.875rem;font-style:italic}.wpcom-tour-kit-step-card .components-card__footer .wpcom-tour-kit-rating__end-icon.components-button.has-icon{background-color:#f6f7f7;border-radius:50%;color:#949494;margin-left:8px}.wpcom-tour-kit-step-card .components-card__footer .wpcom-tour-kit-rating__end-icon.components-button.has-icon path{fill:#949494}.wpcom-tour-kit-step-card .components-card__footer .wpcom-tour-kit-rating__end-icon.components-button.has-icon.active{background-color:#000;opacity:1}.wpcom-tour-kit-step-card .components-card__footer .wpcom-tour-kit-rating__end-icon.components-button.has-icon.active path{fill:#fff}.wpcom-tour-kit-step-card .components-card__media{height:0;padding-top:66%;position:relative;width:100%}.wpcom-tour-kit-step-card .components-card__media img{left:0;position:absolute;top:0;width:100%}.wpcom-tour-kit-step-card .components-guide__page-control{margin:0}.wpcom-tour-kit-step-card .components-guide__page-control .components-button{min-width:auto}.wpcom-tour-kit-step-card .components-guide__page-control .components-button.has-icon{padding:3px}.wpcom-tour-kit-step-card .components-guide__page-control li{margin-bottom:0}.wpcom-tour-kit-step-card-overlay-controls__minimize-icon svg{left:-2px;position:relative}.wpcom-tour-kit-step-card-overlay-controls{left:0;padding:12px;right:0;z-index:1}.wpcom-tour-kit-step-card-overlay-controls .components-button{background:#32373c;height:32px;min-width:32px;opacity:.7;transition:opacity .2s;width:32px}.wpcom-tour-kit-step-card-overlay-controls .components-button:active{opacity:.9}@media(hover:hover)and (pointer:fine){.wpcom-tour-kit-step-card-overlay-controls .components-button{opacity:0}.tour-kit-frame__container:focus-within .wpcom-tour-kit-step-card-overlay-controls .components-button,.tour-kit-frame__container:hover .wpcom-tour-kit-step-card-overlay-controls .components-button{opacity:.7}.tour-kit-frame__container:focus-within .wpcom-tour-kit-step-card-overlay-controls .components-button:focus,.tour-kit-frame__container:focus-within .wpcom-tour-kit-step-card-overlay-controls .components-button:hover,.tour-kit-frame__container:hover .wpcom-tour-kit-step-card-overlay-controls .components-button:focus,.tour-kit-frame__container:hover .wpcom-tour-kit-step-card-overlay-controls .components-button:hover{opacity:.9}}.wpcom-tour-kit-step-card-navigation__next-btn{justify-content:center;margin-left:12px;min-width:85px}.wpcom-tour-kit-step-card__media{position:relative}.wpcom-tour-kit-step-card__media img{display:block;height:auto;max-width:100%;width:100%}.wpcom-tour-kit-step-card__media-link{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.wpcom-tour-kit-step-card__media-link svg{display:none;transition:transform .15s ease-in-out}.wpcom-tour-kit-step-card__media-link svg:hover{transform:scale(1.05)}.wpcom-tour-kit-step-card__media-link--playable{background-color:rgba(0,0,0,.5)}.wpcom-tour-kit-step-card__media-link--playable svg{display:block}.blogging-prompts-modal{margin:auto;max-width:800px}@media(min-width:600px){.blogging-prompts-modal{width:80%}}@media(min-width:960px){.blogging-prompts-modal{width:60%}}.blogging-prompts-modal .components-modal__header-heading{font-size:1rem;font-weight:400}.blogging-prompts-modal__prompt{align-items:flex-end;display:flex;flex-direction:column}.blogging-prompts-modal__prompt .blogging-prompts-modal__prompt-navigation{align-items:center;display:flex;gap:24px;justify-content:space-between;margin-bottom:24px;width:100%}.blogging-prompts-modal__prompt .blogging-prompts-modal__prompt-navigation-button{border-radius:50%;height:44px;width:44px}.blogging-prompts-modal__prompt .blogging-prompts-modal__prompt-navigation-button.components-button:hover:not(:disabled,[aria-disabled=true]){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent,var(--wp-admin-theme-color,#3858e9))}.blogging-prompts-modal__prompt .blogging-prompts-modal__prompt-text{font-size:1.25rem;font-weight:500;line-height:26px;text-align:left;text-wrap:pretty;width:100%}.wpcom-block-editor-nux-modal .components-modal__header{background-color:transparent;border-bottom:0;height:auto;left:0;margin:0;padding:10px;position:absolute;right:0}.wpcom-block-editor-nux-modal .components-modal__header button{left:unset}.wpcom-block-editor-nux-modal .components-modal__header button svg path{transform:scale(1.4);transform-origin:center}.wpcom-block-editor-nux-modal .components-modal__content{margin-top:0;padding:84px 20px 20px}.wpcom-block-editor-nux-modal .components-modal__content:before{margin:0}@media(min-width:480px){.wpcom-block-editor-nux-modal .components-modal__content{text-align:center}}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__image-container{display:flex;justify-content:center}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__title{font-size:2.25rem;font-weight:500;line-height:1.2;margin:34px 0 0}@media(min-width:480px){.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__title{margin-top:24px}}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__description{font-size:1rem;margin:16px 0 0;max-width:352px}@media(min-width:480px){.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__description{font-size:1.125rem;margin:20px auto 0}}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons{display:flex;flex-direction:column;justify-content:center;margin-top:24px}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons .components-button{border-radius:3px;font-size:.875rem;height:40px;justify-content:center;min-width:130px}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons .components-button+.components-button{margin-top:12px}@media(min-width:480px){.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons{flex-direction:row;margin-top:28px}.wpcom-block-editor-nux-modal .wpcom-block-editor-nux-modal__buttons .components-button+.components-button{margin-left:16px;margin-top:0}}@media(min-width:600px){.wpcom-block-editor-draft-post-modal .components-modal__content{padding:48px 128px}}.wpcom-block-editor-draft-post-modal .wpcom-block-editor-nux-modal__image-container img{height:95px;width:209px}@media(min-width:600px){.wpcom-block-editor-post-published-modal .components-modal__content{padding:48px 90px}}.wpcom-block-editor-post-published-modal .wpcom-block-editor-nux-modal__image-container img{height:85px;width:158px}.wpcom-block-editor-post-published-modal .wpcom-block-editor-nux-modal__buttons .components-button{min-width:113px}.wpcom-block-editor-purchase-notice{bottom:0;display:flex;justify-content:center;left:0;overflow:visible;padding-bottom:1rem;pointer-events:none;position:fixed;width:100%;z-index:10000}@media(min-width:600px){.wpcom-site-editor-seller-celebration-modal .components-modal__content{padding:48px 90px}}.wpcom-site-editor-seller-celebration-modal .wpcom-block-editor-nux-modal__image-container img{height:85px;width:158px}.wpcom-site-editor-seller-celebration-modal .wpcom-block-editor-nux-modal__buttons .components-button{min-width:113px}.wpcom-site-editor-seller-celebration-modal .wpcom-block-editor-nux-modal__buttons .components-button:not(.is-primary){border:1px solid #c3c4c7;border-radius:4px}.wpcom-block-editor-post-published-sharing-modal .components-modal__content{margin-top:0;padding-bottom:0}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .wpcom-block-editor-post-published-sharing-modal__inner{display:flex}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .wpcom-block-editor-post-published-sharing-modal__inner .wpcom-block-editor-post-published-sharing-modal__left{padding:52px 40px 52px 20px;width:50%}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .wpcom-block-editor-post-published-sharing-modal__inner .wpcom-block-editor-post-published-sharing-modal__left p a{color:var(--color-text);text-decoration:underline;white-space:nowrap}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .wpcom-block-editor-post-published-sharing-modal__inner .wpcom-block-editor-post-published-sharing-modal__left p a:hover{color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#007cba));text-decoration:none}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .wpcom-block-editor-post-published-sharing-modal__inner .wpcom-block-editor-post-published-sharing-modal__left p a .components-external-link__icon{margin-left:4px}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .wpcom-block-editor-post-published-sharing-modal__inner .wpcom-block-editor-post-published-sharing-modal__left .wpcom-block-editor-post-published-buttons{display:flex}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .wpcom-block-editor-post-published-sharing-modal__inner .wpcom-block-editor-post-published-sharing-modal__right{border-left:1px solid var(--studio-gray-5);display:flex;justify-content:center;min-width:300px;padding:52px 20px 52px 40px;width:50%}@media only screen and (max-width:600px){.wpcom-block-editor-post-published-sharing-modal .components-modal__content .wpcom-block-editor-post-published-sharing-modal__inner{flex-direction:column-reverse}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .wpcom-block-editor-post-published-sharing-modal__inner .wpcom-block-editor-post-published-sharing-modal__left{padding:44px 0 20px;width:100%}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .wpcom-block-editor-post-published-sharing-modal__inner .wpcom-block-editor-post-published-sharing-modal__right{border-left:none;padding:52px 0 0;width:100%}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .wpcom-block-editor-post-published-sharing-modal__inner .wpcom-block-editor-post-published-sharing-modal__image{height:140px}}.wpcom-block-editor-post-published-sharing-modal .components-modal__content h1{font-size:26px;margin-top:0}@media only screen and (max-width:600px){.wpcom-block-editor-post-published-sharing-modal .components-modal__content h1{font-size:2.25rem;font-weight:500;line-height:1}}.wpcom-block-editor-post-published-sharing-modal .components-modal__content p{font-size:18px}@media only screen and (max-width:600px){.wpcom-block-editor-post-published-sharing-modal .components-modal__content p{font-size:1rem}}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .link-button{align-items:center;background:transparent;border:none;color:var(--color-text);display:inline-flex;font-size:14px;font-weight:500;line-height:2.71428571;margin-bottom:4px;min-height:40px;padding:0 14px 0 0;text-decoration:underline;white-space:nowrap}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .link-button:hover{background:transparent;color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#007cba));text-decoration:none}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .link-button svg{fill:currentColor}.wpcom-block-editor-post-published-sharing-modal .components-modal__content hr{border-bottom:none;border-top:1px solid var(--studio-gray-5);margin-top:20px}.wpcom-block-editor-post-published-sharing-modal .components-modal__content h2{font-size:18px;font-weight:600px}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .wpcom-block-editor-post-published-sharing-modal__checkbox-section{color:var(--studio-gray-60);margin-top:40px}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .form-checkbox{height:1rem;margin-top:1px;width:1rem}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .form-checkbox:before{height:1.3125rem;width:1.3125rem}.wpcom-block-editor-post-published-sharing-modal .components-modal__content .wpcom-block-editor-post-published-sharing-modal__suggest-tags{flex:fit-content;width:250px}.wpcom-block-editor-post-published-buttons .link-button{gap:4px;padding-left:0}.wpcom-block-editor-post-published-sharing-modal__sharing-button{background:var(--studio-white);border-radius:50%;color:var(--color-neutral-80);display:inline-block;height:32px;margin:8px 8px 0 0;padding:7px;position:relative;top:-2px;width:32px}.wpcom-block-editor-post-published-sharing-modal__sharing-button:hover{box-shadow:0 1px 2px rgba(0,0,0,.22),0 0 0 1px rgba(0,0,0,.22)}.wpcom-block-editor-post-published-sharing-modal__sharing-button .social-logo{color:var(--color-text-inverted);top:0}.wpcom-block-editor-post-published-sharing-modal__sharing-button.share-facebook,.wpcom-block-editor-post-published-sharing-modal__sharing-button.share-facebook:hover{background:var(--color-facebook)}.wpcom-block-editor-post-published-sharing-modal__sharing-button.share-twitter,.wpcom-block-editor-post-published-sharing-modal__sharing-button.share-twitter:hover{background:var(--color-twitter)}.wpcom-block-editor-post-published-sharing-modal__sharing-button.share-linkedin,.wpcom-block-editor-post-published-sharing-modal__sharing-button.share-linkedin:hover{background:var(--color-linkedin)}.wpcom-block-editor-post-published-sharing-modal__sharing-button.share-tumblr,.wpcom-block-editor-post-published-sharing-modal__sharing-button.share-tumblr:hover{background:var(--color-tumblr)}.wpcom-block-editor-post-published-sharing-modal__sharing-button.share-pinterest,.wpcom-block-editor-post-published-sharing-modal__sharing-button.share-pinterest:hover{background:var(--color-pinterest)}@media(min-width:600px){.wpcom-site-editor-video-celebration-modal .components-modal__content{padding:48px 90px}}.wpcom-site-editor-video-celebration-modal .wpcom-block-editor-nux-modal__image-container img{height:85px;width:158px}.wpcom-site-editor-video-celebration-modal .wpcom-block-editor-nux-modal__buttons .components-button{min-width:113px}.wpcom-site-editor-video-celebration-modal .wpcom-block-editor-nux-modal__buttons .components-button:not(.is-primary){border:1px solid #c3c4c7;border-radius:4px}.wpcom-site-editor-video-celebration-modal .components-modal__header button svg path{transform:scale(1)}@font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font,[lang*=ca] .wp-brand-font,[lang*=cs] .wp-brand-font,[lang*=da] .wp-brand-font,[lang*=de] .wp-brand-font,[lang*=en] .wp-brand-font,[lang*=es] .wp-brand-font,[lang*=eu] .wp-brand-font,[lang*=fi] .wp-brand-font,[lang*=fr] .wp-brand-font,[lang*=gl] .wp-brand-font,[lang*=hr] .wp-brand-font,[lang*=hu] .wp-brand-font,[lang*=id] .wp-brand-font,[lang*=is] .wp-brand-font,[lang*=it] .wp-brand-font,[lang*=lv] .wp-brand-font,[lang*=mt] .wp-brand-font,[lang*=nb] .wp-brand-font,[lang*=nl] .wp-brand-font,[lang*=pl] .wp-brand-font,[lang*=pt] .wp-brand-font,[lang*=ro] .wp-brand-font,[lang*=ru] .wp-brand-font,[lang*=sk] .wp-brand-font,[lang*=sl] .wp-brand-font,[lang*=sq] .wp-brand-font,[lang*=sr] .wp-brand-font,[lang*=sv] .wp-brand-font,[lang*=sw] .wp-brand-font,[lang*=tr] .wp-brand-font,[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.wpcom-block-editor-nux.components-modal__frame{height:65vh;overflow:visible;top:calc(17.5vh - 35px)}@media(max-width:660px){.wpcom-block-editor-nux.components-modal__frame{left:5vw;min-width:90vw;right:5vw;width:90vw}}@media(min-width:660px){.wpcom-block-editor-nux.components-modal__frame{height:350px;top:calc(50% - 35px);width:720px}}.wpcom-block-editor-nux .components-modal__header{left:5%;max-width:90%;position:absolute}@media(min-width:660px){.wpcom-block-editor-nux .components-modal__header{display:none}}.wpcom-block-editor-nux .components-guide__container{margin-top:0}.wpcom-block-editor-nux .components-guide__footer{background:var(--studio-white);border-top:1px solid #dcdcde;bottom:-70px;display:flex;height:70px;justify-content:center;left:0;margin:0;padding:20px 0;position:absolute;width:100%}@media(min-width:660px){.wpcom-block-editor-nux .components-guide__footer{border-top:none}}.wpcom-block-editor-nux .components-guide__page{height:100%;justify-content:start;max-width:90vw;position:absolute;width:100%}@media(min-width:660px){.wpcom-block-editor-nux .components-guide__page{max-width:100%}}.wpcom-block-editor-nux .components-guide__page-control{display:none;height:0;margin:0 auto;overflow:visible;position:relative;top:100%;z-index:2}.wpcom-block-editor-nux .components-guide__page-control:before{content:"";display:inline-block;height:70px;vertical-align:middle}.wpcom-block-editor-nux .components-guide__page-control li{margin-bottom:0;vertical-align:middle}@media(min-width:660px){.wpcom-block-editor-nux .components-guide__page-control{display:block}}.wpcom-block-editor-nux__page{background:var(--studio-white);display:flex;flex-direction:column-reverse;height:90%;justify-content:flex-end;max-width:90vw;width:100%}@media(min-width:660px){.wpcom-block-editor-nux__page{bottom:0;flex-direction:row;justify-content:flex-start;max-width:100%;min-height:350px;position:absolute}.wpcom-block-editor-nux__text,.wpcom-block-editor-nux__visual{flex:1 0 50%;min-width:290px}}.wpcom-block-editor-nux__text{height:60%;padding:0 25px 25px}@media(min-width:660px){.wpcom-block-editor-nux__text{height:auto;padding:40px 50px}}.wpcom-block-editor-nux__visual{background:#1381d8;height:40%;text-align:center}@media(min-width:660px){.wpcom-block-editor-nux__visual{height:auto}}.wpcom-block-editor-nux__heading{color:#1d2327;font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-size:32px;font-weight:400;letter-spacing:-.4px;line-height:1.19}@media(min-width:660px){.wpcom-block-editor-nux__heading{font-size:42px}}body.locale-de .wpcom-block-editor-nux__heading{font-size:24px}@media(min-width:660px){body.locale-de .wpcom-block-editor-nux__heading{font-size:28px}}.wpcom-block-editor-nux__description{color:#50575e;font-size:15px;line-height:22px}@media(min-width:660px){.wpcom-block-editor-nux__description{font-size:17px;line-height:26px}}.wpcom-block-editor-nux__image{align-self:center;flex:1;height:auto;max-height:100%;max-width:100%}.wpcom-block-editor-nux__image.align-bottom{align-self:flex-end}@media(min-width:660px){.wpcom-block-editor-nux__image{max-height:none}}.wpcom-editor-welcome-tour .wpcom-editor-welcome-tour__step.is-with-extra-padding .components-card__media{background-color:#e7eaeb}.wpcom-editor-welcome-tour .wpcom-editor-welcome-tour__step.is-with-extra-padding .components-card__media img{left:14%;top:14%;width:86%}.wpcom-editor-welcome-tour .wpcom-tour-kit-step-card-overlay-controls{position:absolute}.wpcom-editor-welcome-tour-card-frame{position:relative}.wpcom-editor-welcome-tour-card-frame .components-guide__page-control{bottom:0;left:16px;margin:0;position:absolute}.wpcom-editor-welcome-tour-card-frame .components-guide__page-control li{margin-bottom:0}#wpwrap.wp-responsive-open .tour-kit.wpcom-tour-kit{display:none} \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.js b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.js new file mode 100644 index 00000000..26743c59 --- /dev/null +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.js @@ -0,0 +1,4 @@ +/*! For license information please see wpcom-block-editor-nux.js.LICENSE.txt */ +(()=>{var e={73625:(e,t,o)=>{"use strict";o.d(t,{Iw:()=>c,bU:()=>u,v8:()=>l});var n=o(30275),r=o(94333),a=o(65736),s=o(99196);const i=(0,s.createContext)(null),c=({children:e,localeSlug:t})=>(0,n.jsx)(i.Provider,{value:t,children:e});function l(){return function(e=""){if(!e)return"";const t=e.toLowerCase();return(["pt_br","pt-br","zh_tw","zh-tw","zh_cn","zh-cn","zh_sg","zh-sg"].includes(t)?t.replace("_","-"):t.replace(/([-_].*)$/i,""))||"en"}(function(){const e=a.getLocaleData()||{};return e[""]?.lang||e[""]?.language||""}())}function u(){const e=(0,s.useContext)(i),t=!!e,[o,n]=(0,s.useState)(l());return(0,s.useEffect)((()=>{if(!t)return n(l()),a.subscribe((()=>{n(l())}))}),[t]),e||o||"undefined"!=typeof window&&window._currentUserLocale||"en"}(0,r.createHigherOrderComponent)((e=>t=>{const o={...t,locale:u()};return(0,n.jsx)(e,{...o})}),"withLocale")},70560:(e,t,o)=>{"use strict";o.d(t,{GG:()=>n,Xb:()=>l,_r:()=>m,dH:()=>r,hI:()=>u,iT:()=>a,kV:()=>i,mL:()=>d,vS:()=>p,xh:()=>c,xn:()=>s});const n=["en","ja","es","pt","fr","pt-br"],r=["en","pt-br","de","es","fr","it"],a=["en","fr","de","es"],s=["en","fr","de","es"],i=["en","es"],c=["ar","de","el","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"],l={"pt-br":"br",br:"bre",zh:"zh-cn","zh-hk":"zh-tw","zh-sg":"zh-cn",kr:"ko"},u=["ar","de","en","es","fr","he","id","it","ja","ko","nl","pt-br","ru","sv","tr","zh-cn","zh-tw"],d=["ar","de","el","en","es","fa","fi","fr","id","it","ja","nl","pt","pt-br","ru","sv","th","tl","tr"],p=["es","pt-br","de","fr","he","ja","it","nl","ru","tr","id","zh-cn","zh-tw","ko","ar","sv"],m=["en","ar","de","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"]},34369:(e,t,o)=>{"use strict";o.d(t,{aq:()=>g});var n=o(30275),r=o(94333),a=o(99196),s=o(73625),i=o(70560);const c="http://__domain__.invalid";const l=(e,t=[])=>(o,n)=>(t.includes(n)&&"en"!==n&&o.pathname.substr(0,n.length+2)!=="/"+n+"/"&&(o.host=`${i.Xb[n]||n}.${e}`),o),u=(e,t=[],o=null)=>(n,r)=>(n.host="wordpress.com","object"==typeof o&&o instanceof RegExp&&!o.test(n.pathname)&&(t=[]),n.pathname=e+n.pathname,t.includes(r)&&"en"!==r&&(n.pathname=r+n.pathname),n),d=(e=[],t=null,o)=>(n,r)=>"object"==typeof t&&t instanceof RegExp&&!t.test(n.pathname)?n:e.includes(r)&&"en"!==r?("prefix"===o?n.pathname=r+n.pathname:"suffix"===o&&(n.pathname.endsWith("/")?n.pathname+=r+"/":n.pathname+="/"+r),n):n,p=(e=[],t=null)=>(o,n)=>d(e,t,"prefix")(o,n),m=(e=[],t=null)=>(o,n)=>d(e,t,"suffix")(o,n),f={"wordpress.com/support/":p(i.hI),"wordpress.com/forums/":p(i.mL),"wordpress.com/blog/":p(i.GG,/^\/blog\/?$/),"wordpress.com/go/":(e,t)=>["/go/","/go"].includes(e.pathname)||"es"===t?p(i.dH)(e,t):e,"wordpress.com/pricing/":p(i.xh),"wordpress.com/tos/":p(i.vS),"wordpress.com/wp-admin/":l("wordpress.com",i.vS),"wordpress.com/wp-login.php":l("wordpress.com",i.vS),"jetpack.com":p(i._r),"cloud.jetpack.com":p(i._r),"en.support.wordpress.com":u("/support",i.hI),"en.blog.wordpress.com":u("/blog",i.GG,/^\/$/),"apps.wordpress.com":p(i.vS),"en.forums.wordpress.com":u("/forums",i.mL),"automattic.com/privacy/":p(i.iT),"automattic.com/cookies/":p(i.xn),"wordpress.com/help/contact/":(e,t,o)=>o?e:(e.pathname=e.pathname.replace(/\/help\//,"/support/"),p(i.hI)(e,t)),"wordpress.com":(e,t)=>/^\/(checkout|me)(\/|$)/.test(e.pathname)||/\/([a-z0-9-]+\.)+[a-z]{2,}\/?$/.test(e.pathname)?e:p(i.vS)(e,t),"wordpress.com/theme/":(e,t,o)=>o?e:p(i.vS)(e,t),"wordpress.com/themes/":(e,t,o)=>o?e:p(i.vS)(e,t),"wordpress.com/plugins/":(e,t,o)=>o?e:p(i.vS)(e,t),"wordpress.com/log-in/":(e,t,o)=>o?e:m(i.vS)(e,t),"wordpress.com/start/":(e,t,o)=>o?e:m(i.vS)(e,t),"wordpress.com/learn/":(e,t)=>e.pathname.includes("/learn/webinars/")&&"es"===t?(e.pathname=e.pathname.replace("/learn/webinars/","/learn/es/webinars/"),e):m(i.kV)(e,t),"wordpress.com/plans/":(e,t,o)=>o||"/plans/"!==e.pathname?e:p(i.xh)(e,t),"wordpress.com/setup/":(e,t,o)=>o?e:m(i.vS)(e,t)};function h(e){try{return new URL(String(e),c).pathname.endsWith("/")}catch(e){return!1}}function g(e,t=function(){return(0,s.v8)()??"en"}(),o=!0,n=!1){let r;try{r=new URL(String(e),c)}catch(t){return e}if(r.origin===c)return e;r.protocol="https:",r.pathname.endsWith(".php")||(r.pathname=(r.pathname+"/").replace(/\/+$/,"/"));const a=r.pathname.substr(0,1+r.pathname.indexOf("/",1));if("en.wordpress.com"===r.host&&(r.host="wordpress.com"),"/"+t+"/"===a)return e;const i=[r.host,r.host+a,r.host+r.pathname];for(let a=i.length-1;a>=0;a--)if(i[a]in f){const s=f[i[a]](r,t,o).href;if(!n)return s;try{const t=new URL(s);return h(e)||(t.pathname=t.pathname.replace(/\/+$/,"")),t.href}catch{return s}}return e}function w(){const e=(0,s.bU)();return(0,a.useCallback)(((t,o,n,r)=>g(t,o||e,n,r)),[e])}(0,r.createHigherOrderComponent)((e=>t=>{const o={...t,localizeUrl:w()};return(0,n.jsx)(e,{...o})}),"withLocalizeUrl")},45311:(e,t,o)=>{"use strict";o.d(t,{kZ:()=>m});var n=o(57925),r=o(20695),a=o(32653),s=o(22761),i=o(93117),c=o(46075),l=o(83711),u=o(55358),d={placement:"bottom",modifiers:[],strategy:"absolute"};function p(){for(var e=arguments.length,t=new Array(e),o=0;o{"use strict";o.d(t,{Z:()=>r});var n=o(55358);function r(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&(0,n.Zq)(o)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}},45183:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(55358),r=o(44978),a=o(16174),s=o(36515);function i(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1);var i=e.getBoundingClientRect(),c=1,l=1;t&&(0,n.Re)(e)&&(c=e.offsetWidth>0&&(0,r.NM)(i.width)/e.offsetWidth||1,l=e.offsetHeight>0&&(0,r.NM)(i.height)/e.offsetHeight||1);var u=((0,n.kK)(e)?(0,a.Z)(e):window).visualViewport,d=!(0,s.Z)()&&o,p=(i.left+(d&&u?u.offsetLeft:0))/c,m=(i.top+(d&&u?u.offsetTop:0))/l,f=i.width/c,h=i.height/l;return{width:f,height:h,top:m,right:p+f,bottom:m+h,left:p,x:p,y:m}}},11911:(e,t,o)=>{"use strict";o.d(t,{Z:()=>v});var n=o(90677),r=o(5513),a=o(27257),s=o(32653),i=o(22761),c=o(81494),l=o(71661),u=o(55358),d=o(45183),p=o(3294),m=o(46481),f=o(76820),h=o(59501),g=o(44978);function w(e,t,o){return t===n.Pj?(0,h.Z)((0,r.Z)(e,o)):(0,u.kK)(t)?function(e,t){var o=(0,d.Z)(e,!1,"fixed"===t);return o.top=o.top+e.clientTop,o.left=o.left+e.clientLeft,o.bottom=o.top+e.clientHeight,o.right=o.left+e.clientWidth,o.width=e.clientWidth,o.height=e.clientHeight,o.x=o.left,o.y=o.top,o}(t,o):(0,h.Z)((0,a.Z)((0,c.Z)(e)))}function v(e,t,o,n){var r="clippingParents"===t?function(e){var t=(0,s.Z)((0,p.Z)(e)),o=["absolute","fixed"].indexOf((0,l.Z)(e).position)>=0&&(0,u.Re)(e)?(0,i.Z)(e):e;return(0,u.kK)(o)?t.filter((function(e){return(0,u.kK)(e)&&(0,m.Z)(e,o)&&"body"!==(0,f.Z)(e)})):[]}(e):[].concat(t),a=[].concat(r,[o]),c=a[0],d=a.reduce((function(t,o){var r=w(e,o,n);return t.top=(0,g.Fp)(r.top,t.top),t.right=(0,g.VV)(r.right,t.right),t.bottom=(0,g.VV)(r.bottom,t.bottom),t.left=(0,g.Fp)(r.left,t.left),t}),w(e,c,n));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}},57925:(e,t,o)=>{"use strict";o.d(t,{Z:()=>d});var n=o(45183),r=o(83359),a=o(76820),s=o(55358),i=o(51719),c=o(81494),l=o(79597),u=o(44978);function d(e,t,o){void 0===o&&(o=!1);var d=(0,s.Re)(t),p=(0,s.Re)(t)&&function(e){var t=e.getBoundingClientRect(),o=(0,u.NM)(t.width)/e.offsetWidth||1,n=(0,u.NM)(t.height)/e.offsetHeight||1;return 1!==o||1!==n}(t),m=(0,c.Z)(t),f=(0,n.Z)(e,p,o),h={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(d||!d&&!o)&&(("body"!==(0,a.Z)(t)||(0,l.Z)(m))&&(h=(0,r.Z)(t)),(0,s.Re)(t)?((g=(0,n.Z)(t,!0)).x+=t.clientLeft,g.y+=t.clientTop):m&&(g.x=(0,i.Z)(m))),{x:f.left+h.scrollLeft-g.x,y:f.top+h.scrollTop-g.y,width:f.width,height:f.height}}},71661:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(16174);function r(e){return(0,n.Z)(e).getComputedStyle(e)}},81494:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(55358);function r(e){return(((0,n.kK)(e)?e.ownerDocument:e.document)||window.document).documentElement}},27257:(e,t,o)=>{"use strict";o.d(t,{Z:()=>c});var n=o(81494),r=o(71661),a=o(51719),s=o(69617),i=o(44978);function c(e){var t,o=(0,n.Z)(e),c=(0,s.Z)(e),l=null==(t=e.ownerDocument)?void 0:t.body,u=(0,i.Fp)(o.scrollWidth,o.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),d=(0,i.Fp)(o.scrollHeight,o.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),p=-c.scrollLeft+(0,a.Z)(e),m=-c.scrollTop;return"rtl"===(0,r.Z)(l||o).direction&&(p+=(0,i.Fp)(o.clientWidth,l?l.clientWidth:0)-u),{width:u,height:d,x:p,y:m}}},17768:(e,t,o)=>{"use strict";function n(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}o.d(t,{Z:()=>n})},20695:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(45183);function r(e){var t=(0,n.Z)(e),o=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:r}}},76820:(e,t,o)=>{"use strict";function n(e){return e?(e.nodeName||"").toLowerCase():null}o.d(t,{Z:()=>n})},83359:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(69617),r=o(16174),a=o(55358),s=o(17768);function i(e){return e!==(0,r.Z)(e)&&(0,a.Re)(e)?(0,s.Z)(e):(0,n.Z)(e)}},22761:(e,t,o)=>{"use strict";o.d(t,{Z:()=>d});var n=o(16174),r=o(76820),a=o(71661),s=o(55358),i=o(34293),c=o(3294),l=o(86034);function u(e){return(0,s.Re)(e)&&"fixed"!==(0,a.Z)(e).position?e.offsetParent:null}function d(e){for(var t=(0,n.Z)(e),o=u(e);o&&(0,i.Z)(o)&&"static"===(0,a.Z)(o).position;)o=u(o);return o&&("html"===(0,r.Z)(o)||"body"===(0,r.Z)(o)&&"static"===(0,a.Z)(o).position)?t:o||function(e){var t=/firefox/i.test((0,l.Z)());if(/Trident/i.test((0,l.Z)())&&(0,s.Re)(e)&&"fixed"===(0,a.Z)(e).position)return null;var o=(0,c.Z)(e);for((0,s.Zq)(o)&&(o=o.host);(0,s.Re)(o)&&["html","body"].indexOf((0,r.Z)(o))<0;){var n=(0,a.Z)(o);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return o;o=o.parentNode}return null}(e)||t}},3294:(e,t,o)=>{"use strict";o.d(t,{Z:()=>s});var n=o(76820),r=o(81494),a=o(55358);function s(e){return"html"===(0,n.Z)(e)?e:e.assignedSlot||e.parentNode||((0,a.Zq)(e)?e.host:null)||(0,r.Z)(e)}},32507:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(3294),r=o(79597),a=o(76820),s=o(55358);function i(e){return["html","body","#document"].indexOf((0,a.Z)(e))>=0?e.ownerDocument.body:(0,s.Re)(e)&&(0,r.Z)(e)?e:i((0,n.Z)(e))}},5513:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(16174),r=o(81494),a=o(51719),s=o(36515);function i(e,t){var o=(0,n.Z)(e),i=(0,r.Z)(e),c=o.visualViewport,l=i.clientWidth,u=i.clientHeight,d=0,p=0;if(c){l=c.width,u=c.height;var m=(0,s.Z)();(m||!m&&"fixed"===t)&&(d=c.offsetLeft,p=c.offsetTop)}return{width:l,height:u,x:d+(0,a.Z)(e),y:p}}},16174:(e,t,o)=>{"use strict";function n(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}o.d(t,{Z:()=>n})},69617:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(16174);function r(e){var t=(0,n.Z)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},51719:(e,t,o)=>{"use strict";o.d(t,{Z:()=>s});var n=o(45183),r=o(81494),a=o(69617);function s(e){return(0,n.Z)((0,r.Z)(e)).left+(0,a.Z)(e).scrollLeft}},55358:(e,t,o)=>{"use strict";o.d(t,{Re:()=>a,Zq:()=>s,kK:()=>r});var n=o(16174);function r(e){return e instanceof(0,n.Z)(e).Element||e instanceof Element}function a(e){return e instanceof(0,n.Z)(e).HTMLElement||e instanceof HTMLElement}function s(e){return"undefined"!=typeof ShadowRoot&&(e instanceof(0,n.Z)(e).ShadowRoot||e instanceof ShadowRoot)}},36515:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(86034);function r(){return!/^((?!chrome|android).)*safari/i.test((0,n.Z)())}},79597:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(71661);function r(e){var t=(0,n.Z)(e),o=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+a+r)}},34293:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(76820);function r(e){return["table","td","th"].indexOf((0,n.Z)(e))>=0}},32653:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(32507),r=o(3294),a=o(16174),s=o(79597);function i(e,t){var o;void 0===t&&(t=[]);var c=(0,n.Z)(e),l=c===(null==(o=e.ownerDocument)?void 0:o.body),u=(0,a.Z)(c),d=l?[u].concat(u.visualViewport||[],(0,s.Z)(c)?c:[]):c,p=t.concat(d);return l?p:p.concat(i((0,r.Z)(d)))}},90677:(e,t,o)=>{"use strict";o.d(t,{BL:()=>l,Ct:()=>g,F2:()=>a,I:()=>r,Pj:()=>p,YP:()=>f,bw:()=>h,d7:()=>i,k5:()=>m,mv:()=>c,t$:()=>s,ut:()=>u,we:()=>n,xs:()=>w,zV:()=>d});var n="top",r="bottom",a="right",s="left",i="auto",c=[n,r,a,s],l="start",u="end",d="clippingParents",p="viewport",m="popper",f="reference",h=c.reduce((function(e,t){return e.concat([t+"-"+l,t+"-"+u])}),[]),g=[].concat(c,[i]).reduce((function(e,t){return e.concat([t,t+"-"+l,t+"-"+u])}),[]),w=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},48309:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var n=o(76820),r=o(55358);const a={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var o=t.styles[e]||{},a=t.attributes[e]||{},s=t.elements[e];(0,r.Re)(s)&&(0,n.Z)(s)&&(Object.assign(s.style,o),Object.keys(a).forEach((function(e){var t=a[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach((function(e){var a=t.elements[e],s=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]).reduce((function(e,t){return e[t]="",e}),{});(0,r.Re)(a)&&(0,n.Z)(a)&&(Object.assign(a.style,i),Object.keys(s).forEach((function(e){a.removeAttribute(e)})))}))}},requires:["computeStyles"]}},26710:(e,t,o)=>{"use strict";o.d(t,{Z:()=>p});var n=o(27025),r=o(20695),a=o(46481),s=o(22761),i=o(75530),c=o(53077),l=o(69254),u=o(43147),d=o(90677);const p={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,o=e.state,a=e.name,p=e.options,m=o.elements.arrow,f=o.modifiersData.popperOffsets,h=(0,n.Z)(o.placement),g=(0,i.Z)(h),w=[d.t$,d.F2].indexOf(h)>=0?"height":"width";if(m&&f){var v=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,l.Z)("number"!=typeof e?e:(0,u.Z)(e,d.mv))}(p.padding,o),b=(0,r.Z)(m),y="y"===g?d.we:d.t$,_="y"===g?d.I:d.F2,E=o.rects.reference[w]+o.rects.reference[g]-f[g]-o.rects.popper[w],k=f[g]-o.rects.reference[g],R=(0,s.Z)(m),S=R?"y"===g?R.clientHeight||0:R.clientWidth||0:0,x=E/2-k/2,C=v[y],Z=S-b[w]-v[_],z=S/2-b[w]/2+x,M=(0,c.u)(C,z,Z),O=g;o.modifiersData[a]=((t={})[O]=M,t.centerOffset=M-z,t)}},effect:function(e){var t=e.state,o=e.options.element,n=void 0===o?"[data-popper-arrow]":o;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&(0,a.Z)(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},27867:(e,t,o)=>{"use strict";o.d(t,{Z:()=>m});var n=o(90677),r=o(22761),a=o(16174),s=o(81494),i=o(71661),c=o(27025),l=o(14769),u=o(44978),d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function p(e){var t,o=e.popper,c=e.popperRect,l=e.placement,p=e.variation,m=e.offsets,f=e.position,h=e.gpuAcceleration,g=e.adaptive,w=e.roundOffsets,v=e.isFixed,b=m.x,y=void 0===b?0:b,_=m.y,E=void 0===_?0:_,k="function"==typeof w?w({x:y,y:E}):{x:y,y:E};y=k.x,E=k.y;var R=m.hasOwnProperty("x"),S=m.hasOwnProperty("y"),x=n.t$,C=n.we,Z=window;if(g){var z=(0,r.Z)(o),M="clientHeight",O="clientWidth";if(z===(0,a.Z)(o)&&(z=(0,s.Z)(o),"static"!==(0,i.Z)(z).position&&"absolute"===f&&(M="scrollHeight",O="scrollWidth")),l===n.we||(l===n.t$||l===n.F2)&&p===n.ut)C=n.I,E-=(v&&z===Z&&Z.visualViewport?Z.visualViewport.height:z[M])-c.height,E*=h?1:-1;if(l===n.t$||(l===n.we||l===n.I)&&p===n.ut)x=n.F2,y-=(v&&z===Z&&Z.visualViewport?Z.visualViewport.width:z[O])-c.width,y*=h?1:-1}var P,j=Object.assign({position:f},g&&d),L=!0===w?function(e,t){var o=e.x,n=e.y,r=t.devicePixelRatio||1;return{x:(0,u.NM)(o*r)/r||0,y:(0,u.NM)(n*r)/r||0}}({x:y,y:E},(0,a.Z)(o)):{x:y,y:E};return y=L.x,E=L.y,h?Object.assign({},j,((P={})[C]=S?"0":"",P[x]=R?"0":"",P.transform=(Z.devicePixelRatio||1)<=1?"translate("+y+"px, "+E+"px)":"translate3d("+y+"px, "+E+"px, 0)",P)):Object.assign({},j,((t={})[C]=S?E+"px":"",t[x]=R?y+"px":"",t.transform="",t))}const m={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,o=e.options,n=o.gpuAcceleration,r=void 0===n||n,a=o.adaptive,s=void 0===a||a,i=o.roundOffsets,u=void 0===i||i,d={placement:(0,c.Z)(t.placement),variation:(0,l.Z)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,p(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,p(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}}},58283:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var n=o(16174),r={passive:!0};const a={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,o=e.instance,a=e.options,s=a.scroll,i=void 0===s||s,c=a.resize,l=void 0===c||c,u=(0,n.Z)(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&d.forEach((function(e){e.addEventListener("scroll",o.update,r)})),l&&u.addEventListener("resize",o.update,r),function(){i&&d.forEach((function(e){e.removeEventListener("scroll",o.update,r)})),l&&u.removeEventListener("resize",o.update,r)}},data:{}}},48549:(e,t,o)=>{"use strict";o.d(t,{Z:()=>u});var n=o(18749),r=o(27025),a=o(27458),s=o(89775),i=o(51819),c=o(90677),l=o(14769);const u={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var d=o.mainAxis,p=void 0===d||d,m=o.altAxis,f=void 0===m||m,h=o.fallbackPlacements,g=o.padding,w=o.boundary,v=o.rootBoundary,b=o.altBoundary,y=o.flipVariations,_=void 0===y||y,E=o.allowedAutoPlacements,k=t.options.placement,R=(0,r.Z)(k),S=h||(R===k||!_?[(0,n.Z)(k)]:function(e){if((0,r.Z)(e)===c.d7)return[];var t=(0,n.Z)(e);return[(0,a.Z)(e),t,(0,a.Z)(t)]}(k)),x=[k].concat(S).reduce((function(e,o){return e.concat((0,r.Z)(o)===c.d7?(0,i.Z)(t,{placement:o,boundary:w,rootBoundary:v,padding:g,flipVariations:_,allowedAutoPlacements:E}):o)}),[]),C=t.rects.reference,Z=t.rects.popper,z=new Map,M=!0,O=x[0],P=0;P=0,N=B?"width":"height",T=(0,s.Z)(t,{placement:j,boundary:w,rootBoundary:v,altBoundary:b,padding:g}),I=B?F?c.F2:c.t$:F?c.I:c.we;C[N]>Z[N]&&(I=(0,n.Z)(I));var A=(0,n.Z)(I),V=[];if(p&&V.push(T[L]<=0),f&&V.push(T[I]<=0,T[A]<=0),V.every((function(e){return e}))){O=j,M=!1;break}z.set(j,V)}if(M)for(var H=function(e){var t=x.find((function(t){var o=z.get(t);if(o)return o.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},D=_?3:1;D>0;D--){if("break"===H(D))break}t.placement!==O&&(t.modifiersData[u]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},83661:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(90677),r=o(89775);function a(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function s(e){return[n.we,n.F2,n.I,n.t$].some((function(t){return e[t]>=0}))}const i={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,o=e.name,n=t.rects.reference,i=t.rects.popper,c=t.modifiersData.preventOverflow,l=(0,r.Z)(t,{elementContext:"reference"}),u=(0,r.Z)(t,{altBoundary:!0}),d=a(l,n),p=a(u,i,c),m=s(d),f=s(p);t.modifiersData[o]={referenceClippingOffsets:d,popperEscapeOffsets:p,isReferenceHidden:m,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":m,"data-popper-escaped":f})}}},42810:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var n=o(27025),r=o(90677);const a={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.options,a=e.name,s=o.offset,i=void 0===s?[0,0]:s,c=r.Ct.reduce((function(e,o){return e[o]=function(e,t,o){var a=(0,n.Z)(e),s=[r.t$,r.we].indexOf(a)>=0?-1:1,i="function"==typeof o?o(Object.assign({},t,{placement:e})):o,c=i[0],l=i[1];return c=c||0,l=(l||0)*s,[r.t$,r.F2].indexOf(a)>=0?{x:l,y:c}:{x:c,y:l}}(o,t.rects,i),e}),{}),l=c[t.placement],u=l.x,d=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[a]=c}}},41048:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(76296);const r={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,o=e.name;t.modifiersData[o]=(0,n.Z)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}}},70271:(e,t,o)=>{"use strict";o.d(t,{Z:()=>f});var n=o(90677),r=o(27025),a=o(75530),s=o(88781),i=o(53077),c=o(20695),l=o(22761),u=o(89775),d=o(14769),p=o(53861),m=o(44978);const f={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,f=e.name,h=o.mainAxis,g=void 0===h||h,w=o.altAxis,v=void 0!==w&&w,b=o.boundary,y=o.rootBoundary,_=o.altBoundary,E=o.padding,k=o.tether,R=void 0===k||k,S=o.tetherOffset,x=void 0===S?0:S,C=(0,u.Z)(t,{boundary:b,rootBoundary:y,padding:E,altBoundary:_}),Z=(0,r.Z)(t.placement),z=(0,d.Z)(t.placement),M=!z,O=(0,a.Z)(Z),P=(0,s.Z)(O),j=t.modifiersData.popperOffsets,L=t.rects.reference,F=t.rects.popper,B="function"==typeof x?x(Object.assign({},t.rects,{placement:t.placement})):x,N="number"==typeof B?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(j){if(g){var A,V="y"===O?n.we:n.t$,H="y"===O?n.I:n.F2,D="y"===O?"height":"width",W=j[O],G=W+C[V],U=W-C[H],$=R?-F[D]/2:0,q=z===n.BL?L[D]:F[D],K=z===n.BL?-F[D]:-L[D],Y=t.elements.arrow,Q=R&&Y?(0,c.Z)(Y):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,p.Z)(),X=J[V],ee=J[H],te=(0,i.u)(0,L[D],Q[D]),oe=M?L[D]/2-$-te-X-N.mainAxis:q-te-X-N.mainAxis,ne=M?-L[D]/2+$+te+ee+N.mainAxis:K+te+ee+N.mainAxis,re=t.elements.arrow&&(0,l.Z)(t.elements.arrow),ae=re?"y"===O?re.clientTop||0:re.clientLeft||0:0,se=null!=(A=null==T?void 0:T[O])?A:0,ie=W+oe-se-ae,ce=W+ne-se,le=(0,i.u)(R?(0,m.VV)(G,ie):G,W,R?(0,m.Fp)(U,ce):U);j[O]=le,I[O]=le-W}if(v){var ue,de="x"===O?n.we:n.t$,pe="x"===O?n.I:n.F2,me=j[P],fe="y"===P?"height":"width",he=me+C[de],ge=me-C[pe],we=-1!==[n.we,n.t$].indexOf(Z),ve=null!=(ue=null==T?void 0:T[P])?ue:0,be=we?he:me-L[fe]-F[fe]-ve+N.altAxis,ye=we?me+L[fe]+F[fe]-ve-N.altAxis:ge,_e=R&&we?(0,i.q)(be,me,ye):(0,i.u)(R?be:he,me,R?ye:ge);j[P]=_e,I[P]=_e-me}t.modifiersData[f]=I}},requiresIfExists:["offset"]}},83557:(e,t,o)=>{"use strict";o.d(t,{fi:()=>f});var n=o(45311),r=o(58283),a=o(41048),s=o(27867),i=o(48309),c=o(42810),l=o(48549),u=o(70271),d=o(26710),p=o(83661),m=[r.Z,a.Z,s.Z,i.Z,c.Z,l.Z,u.Z,d.Z,p.Z],f=(0,n.kZ)({defaultModifiers:m})},51819:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(14769),r=o(90677),a=o(89775),s=o(27025);function i(e,t){void 0===t&&(t={});var o=t,i=o.placement,c=o.boundary,l=o.rootBoundary,u=o.padding,d=o.flipVariations,p=o.allowedAutoPlacements,m=void 0===p?r.Ct:p,f=(0,n.Z)(i),h=f?d?r.bw:r.bw.filter((function(e){return(0,n.Z)(e)===f})):r.mv,g=h.filter((function(e){return m.indexOf(e)>=0}));0===g.length&&(g=h);var w=g.reduce((function(t,o){return t[o]=(0,a.Z)(e,{placement:o,boundary:c,rootBoundary:l,padding:u})[(0,s.Z)(o)],t}),{});return Object.keys(w).sort((function(e,t){return w[e]-w[t]}))}},76296:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(27025),r=o(14769),a=o(75530),s=o(90677);function i(e){var t,o=e.reference,i=e.element,c=e.placement,l=c?(0,n.Z)(c):null,u=c?(0,r.Z)(c):null,d=o.x+o.width/2-i.width/2,p=o.y+o.height/2-i.height/2;switch(l){case s.we:t={x:d,y:o.y-i.height};break;case s.I:t={x:d,y:o.y+o.height};break;case s.F2:t={x:o.x+o.width,y:p};break;case s.t$:t={x:o.x-i.width,y:p};break;default:t={x:o.x,y:o.y}}var m=l?(0,a.Z)(l):null;if(null!=m){var f="y"===m?"height":"width";switch(u){case s.BL:t[m]=t[m]-(o[f]/2-i[f]/2);break;case s.ut:t[m]=t[m]+(o[f]/2-i[f]/2)}}return t}},46075:(e,t,o)=>{"use strict";function n(e){var t;return function(){return t||(t=new Promise((function(o){Promise.resolve().then((function(){t=void 0,o(e())}))}))),t}}o.d(t,{Z:()=>n})},89775:(e,t,o)=>{"use strict";o.d(t,{Z:()=>p});var n=o(11911),r=o(81494),a=o(45183),s=o(76296),i=o(59501),c=o(90677),l=o(55358),u=o(69254),d=o(43147);function p(e,t){void 0===t&&(t={});var o=t,p=o.placement,m=void 0===p?e.placement:p,f=o.strategy,h=void 0===f?e.strategy:f,g=o.boundary,w=void 0===g?c.zV:g,v=o.rootBoundary,b=void 0===v?c.Pj:v,y=o.elementContext,_=void 0===y?c.k5:y,E=o.altBoundary,k=void 0!==E&&E,R=o.padding,S=void 0===R?0:R,x=(0,u.Z)("number"!=typeof S?S:(0,d.Z)(S,c.mv)),C=_===c.k5?c.YP:c.k5,Z=e.rects.popper,z=e.elements[k?C:_],M=(0,n.Z)((0,l.kK)(z)?z:z.contextElement||(0,r.Z)(e.elements.popper),w,b,h),O=(0,a.Z)(e.elements.reference),P=(0,s.Z)({reference:O,element:Z,strategy:"absolute",placement:m}),j=(0,i.Z)(Object.assign({},Z,P)),L=_===c.k5?j:O,F={top:M.top-L.top+x.top,bottom:L.bottom-M.bottom+x.bottom,left:M.left-L.left+x.left,right:L.right-M.right+x.right},B=e.modifiersData.offset;if(_===c.k5&&B){var N=B[m];Object.keys(F).forEach((function(e){var t=[c.F2,c.I].indexOf(e)>=0?1:-1,o=[c.we,c.I].indexOf(e)>=0?"y":"x";F[e]+=N[o]*t}))}return F}},43147:(e,t,o)=>{"use strict";function n(e,t){return t.reduce((function(t,o){return t[o]=e,t}),{})}o.d(t,{Z:()=>n})},88781:(e,t,o)=>{"use strict";function n(e){return"x"===e?"y":"x"}o.d(t,{Z:()=>n})},27025:(e,t,o)=>{"use strict";function n(e){return e.split("-")[0]}o.d(t,{Z:()=>n})},53861:(e,t,o)=>{"use strict";function n(){return{top:0,right:0,bottom:0,left:0}}o.d(t,{Z:()=>n})},75530:(e,t,o)=>{"use strict";function n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}o.d(t,{Z:()=>n})},18749:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n={left:"right",right:"left",bottom:"top",top:"bottom"};function r(e){return e.replace(/left|right|bottom|top/g,(function(e){return n[e]}))}},27458:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n={start:"end",end:"start"};function r(e){return e.replace(/start|end/g,(function(e){return n[e]}))}},14769:(e,t,o)=>{"use strict";function n(e){return e.split("-")[1]}o.d(t,{Z:()=>n})},44978:(e,t,o)=>{"use strict";o.d(t,{Fp:()=>n,NM:()=>a,VV:()=>r});var n=Math.max,r=Math.min,a=Math.round},83711:(e,t,o)=>{"use strict";function n(e){var t=e.reduce((function(e,t){var o=e[t.name];return e[t.name]=o?Object.assign({},o,t,{options:Object.assign({},o.options,t.options),data:Object.assign({},o.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}o.d(t,{Z:()=>n})},69254:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(53861);function r(e){return Object.assign({},(0,n.Z)(),e)}},93117:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var n=o(90677);function r(e){var t=new Map,o=new Set,n=[];function r(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!o.has(e)){var n=t.get(e);n&&r(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){o.has(e.name)||r(e)})),n}function a(e){var t=r(e);return n.xs.reduce((function(e,o){return e.concat(t.filter((function(e){return e.phase===o})))}),[])}},59501:(e,t,o)=>{"use strict";function n(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}o.d(t,{Z:()=>n})},86034:(e,t,o)=>{"use strict";function n(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}o.d(t,{Z:()=>n})},53077:(e,t,o)=>{"use strict";o.d(t,{q:()=>a,u:()=>r});var n=o(44978);function r(e,t,o){return(0,n.Fp)(e,(0,n.VV)(t,o))}function a(e,t,o){var n=r(e,t,o);return n>o?o:n}},61074:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(69307);const r=(0,n.forwardRef)((function({icon:e,size:t=24,...o},r){return(0,n.cloneElement)(e,{width:t,height:t,...o,ref:r})}))},39517:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var n=o(70444),r=o(30275);const a=(0,r.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(n.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"})})},43618:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var n=o(70444),r=o(30275);const a=(0,r.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(n.Path,{d:"M12 3.3c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"})})},31871:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var n=o(70444),r=o(30275);const a=(0,r.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(n.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})})},65804:e=>{e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},13643:e=>{"use strict";e.exports=function(){var e=[].map.call(arguments,(function(e){return e.trim()})).filter((function(e){return e.length})).join("-");return e.length?1!==e.length&&/[_.\- ]+/.test(e)?e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(e,t){return t.toUpperCase()})):e[0]===e[0].toLowerCase()&&e.slice(1)!==e.slice(1).toLowerCase()?e:e.toLowerCase():""}},951:(e,t,o)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;t.splice(1,0,o,"color: inherit");let n=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(r=n))})),t.splice(r,0,o)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=o(51741)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},51741:(e,t,o)=>{e.exports=function(e){function t(e){let o,r,a,s=null;function i(...e){if(!i.enabled)return;const n=i,r=Number(new Date),a=r-(o||r);n.diff=a,n.prev=o,n.curr=r,o=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((o,r)=>{if("%%"===o)return"%";s++;const a=t.formatters[r];if("function"==typeof a){const t=e[s];o=a.call(n,t),e.splice(s,1),s--}return o})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return i.namespace=e,i.useColors=t.useColors(),i.color=t.selectColor(e),i.extend=n,i.destroy=t.destroy,Object.defineProperty(i,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(r!==t.namespaces&&(r=t.namespaces,a=t.enabled(e)),a),set:e=>{s=e}}),"function"==typeof t.init&&t.init(i),i}function n(e,o){const n=t(this.namespace+(void 0===o?":":o)+e);return n.log=this.log,n}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let o;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(o=0;o{t[o]=e[o]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let o=0;for(let t=0;t{var t=1e3,o=60*t,n=60*o,r=24*n,a=7*r,s=365.25*r;function i(e,t,o,n){var r=t>=1.5*o;return Math.round(e/o)+" "+n+(r?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!i)return;var c=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*a;case"days":case"day":case"d":return c*r;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*o;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var a=Math.abs(e);if(a>=r)return i(e,a,r,"day");if(a>=n)return i(e,a,n,"hour");if(a>=o)return i(e,a,o,"minute");if(a>=t)return i(e,a,t,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=r)return Math.round(e/r)+"d";if(a>=n)return Math.round(e/n)+"h";if(a>=o)return Math.round(e/o)+"m";if(a>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},42573:e=>{var t="undefined"!=typeof Element,o="function"==typeof Map,n="function"==typeof Set,r="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,s){if(e===s)return!0;if(e&&s&&"object"==typeof e&&"object"==typeof s){if(e.constructor!==s.constructor)return!1;var i,c,l,u;if(Array.isArray(e)){if((i=e.length)!=s.length)return!1;for(c=i;0!=c--;)if(!a(e[c],s[c]))return!1;return!0}if(o&&e instanceof Map&&s instanceof Map){if(e.size!==s.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!s.has(c.value[0]))return!1;for(u=e.entries();!(c=u.next()).done;)if(!a(c.value[1],s.get(c.value[0])))return!1;return!0}if(n&&e instanceof Set&&s instanceof Set){if(e.size!==s.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!s.has(c.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(s)){if((i=e.length)!=s.length)return!1;for(c=i;0!=c--;)if(e[c]!==s[c])return!1;return!0}if(e.constructor===RegExp)return e.source===s.source&&e.flags===s.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof s.valueOf)return e.valueOf()===s.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof s.toString)return e.toString()===s.toString();if((i=(l=Object.keys(e)).length)!==Object.keys(s).length)return!1;for(c=i;0!=c--;)if(!Object.prototype.hasOwnProperty.call(s,l[c]))return!1;if(t&&e instanceof Element)return!1;for(c=i;0!=c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!e.$$typeof)&&!a(e[l[c]],s[l[c]]))return!1;return!0}return e!=e&&s!=s}e.exports=function(e,t){try{return a(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},21951:(e,t,o)=>{"use strict";o.d(t,{D:()=>u});var n=o(99196),r=o(91850),a=o(83557),s=o(42573),i=o.n(s),c=o(30798),l=[],u=function(e,t,o){void 0===o&&(o={});var s=n.useRef(null),u={onFirstUpdate:o.onFirstUpdate,placement:o.placement||"bottom",strategy:o.strategy||"absolute",modifiers:o.modifiers||l},d=n.useState({styles:{popper:{position:u.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),p=d[0],m=d[1],f=n.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,o=Object.keys(t.elements);r.flushSync((function(){m({styles:(0,c.sq)(o.map((function(e){return[e,t.styles[e]||{}]}))),attributes:(0,c.sq)(o.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),h=n.useMemo((function(){var e={onFirstUpdate:u.onFirstUpdate,placement:u.placement,strategy:u.strategy,modifiers:[].concat(u.modifiers,[f,{name:"applyStyles",enabled:!1}])};return i()(s.current,e)?s.current||e:(s.current=e,e)}),[u.onFirstUpdate,u.placement,u.strategy,u.modifiers,f]),g=n.useRef();return(0,c.LI)((function(){g.current&&g.current.setOptions(h)}),[h]),(0,c.LI)((function(){if(null!=e&&null!=t){var n=(o.createPopper||a.fi)(e,t,h);return g.current=n,function(){n.destroy(),g.current=null}}}),[e,t,o.createPopper]),{state:g.current?g.current.state:null,styles:p.styles,attributes:p.attributes,update:g.current?g.current.update:null,forceUpdate:g.current?g.current.forceUpdate:null}}},30798:(e,t,o)=>{"use strict";o.d(t,{LI:()=>a,sq:()=>r});var n=o(99196),r=function(e){return e.reduce((function(e,t){var o=t[0],n=t[1];return e[o]=n,e}),{})},a="undefined"!=typeof window&&window.document&&window.document.createElement?n.useLayoutEffect:n.useEffect},24561:(e,t,o)=>{"use strict";var n=o(99196),r=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,o){var n,a={},l=null,u=null;for(n in void 0!==o&&(l=""+o),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,n)&&!c.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:r,type:e,key:l,ref:u,props:a,_owner:i.current}}t.jsx=l},30275:(e,t,o)=>{"use strict";e.exports=o(24561)},91516:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(99196),r=o(36436),a=o(3476),s=o(8631);const i=({onMinimize:e,onDismiss:t,onNextStepProgression:o,onPreviousStepProgression:i,tourContainerRef:c,isMinimized:l})=>{function u(){return(0,s.Z)({onEscape:e,onArrowRight:o,onArrowLeft:i}),(0,a.Z)(c),null}function d(){return(0,s.Z)({onEscape:t("esc-key-minimized")}),null}return(0,r.Z)(c)?l?n.createElement(d,null):n.createElement(u,null):null}},87939:(e,t,o)=>{"use strict";o.d(t,{Z:()=>v});var n=o(82674),r=o.n(n),a=o(94333),s=o(69307),i=o(3228),c=o(21951),l=o(574),u=o(7533),d=o(60662),p=o(91516),m=o(19351),f=o(43797),h=o(4909),g=o(8404);const w=(e,t)=>{"function"==typeof t&&t(e)},v=({config:e})=>{const[t,o]=(0,s.useState)(0),[n,v]=(0,s.useState)(null),[b,y]=(0,s.useState)(e.isMinimized??!1),[_,E]=(0,s.useState)(null),[k,R]=(0,s.useState)(!1),S=(0,s.useRef)(null),x=(0,a.useViewportMatch)("mobile","<"),C=e.steps.length-1,Z=e.steps[t].referenceElements,z=Z?.[x?"mobile":"desktop"]||Z?.desktop,M=z?document.querySelector(z):null;(0,s.useEffect)((()=>{e.isMinimized&&y(!0)}),[e.isMinimized]);const O=(0,s.useCallback)((()=>!1!==e.options?.effects?.arrowIndicator&&!(!M||b||!k)),[e.options?.effects?.arrowIndicator,b,M,k]),P=(0,s.useCallback)((()=>!!e.options?.effects?.spotlight&&!b),[e.options?.effects?.spotlight,b]),j=(0,s.useCallback)((()=>!(P()||!e.options?.effects?.overlay)&&!b),[e.options?.effects?.overlay,b,P]),L=(0,s.useCallback)((o=>()=>{e.closeHandler(e.steps,t,o)}),[e,t]),F=(0,s.useCallback)((()=>{let n=t;C>t&&(n=t+1,o(n)),w(n,e.options?.callbacks?.onNextStep)}),[e.options?.callbacks?.onNextStep,t,C]),B=(0,s.useCallback)((()=>{let n=t;t>0&&(n=t-1,o(n)),w(n,e.options?.callbacks?.onPreviousStep)}),[e.options?.callbacks?.onPreviousStep,t]),N=(0,s.useCallback)((t=>{o(t),w(t,e.options?.callbacks?.onGoToStep)}),[e.options?.callbacks?.onGoToStep]),T=(0,s.useCallback)((()=>{y(!0),w(t,e.options?.callbacks?.onMinimize)}),[e.options?.callbacks?.onMinimize,t]),I=(0,s.useCallback)((()=>{y(!1),w(t,e.options?.callbacks?.onMaximize)}),[e.options?.callbacks?.onMaximize,t]),{styles:A,attributes:V,update:H}=(0,c.D)(M,_,{strategy:"fixed",placement:e?.placement??"bottom",modifiers:[{name:"preventOverflow",options:{rootBoundary:"document",padding:16}},{name:"arrow",options:{padding:12}},{name:"offset",options:{offset:[0,O()?12:10]}},{name:"flip",options:{fallbackPlacements:["top","left","right"]}},(0,s.useMemo)((()=>(0,d._)(e.options?.effects?.liveResize)),[e.options?.effects?.liveResize]),...e.options?.popperModifiers||[]]}),D=!b&&M&&k?{style:A?.popper,...V?.popper}:null,W=!b&&M&&k?{style:A?.arrow,...V?.arrow}:null;(0,s.useEffect)((()=>{setTimeout((()=>n?.focus()))}),[n]),(0,s.useEffect)((()=>{M?(R(!1),H&&H().then((()=>R(!0))).catch((()=>R(!0)))):R(!0)}),[H,M]),(0,s.useEffect)((()=>{M&&e.options?.effects?.autoScroll&&M.scrollIntoView(e.options.effects.autoScroll)}),[e.options?.effects?.autoScroll,M]);const G=(0,i.Z)("tour-kit-frame",x?"is-mobile":"is-desktop",{"is-visible":k},(0,u.s)(e.options?.classNames));return(0,l.Z)(t,e.options?.callbacks?.onStepViewOnce),(0,s.useEffect)((()=>{e.options?.callbacks?.onStepView&&w(t,e.options?.callbacks?.onStepView)}),[e.options?.callbacks?.onStepView,t]),React.createElement(React.Fragment,null,React.createElement(p.Z,{onMinimize:T,onDismiss:L,onNextStepProgression:F,onPreviousStepProgression:B,tourContainerRef:S,isMinimized:b}),React.createElement("div",{className:G,ref:S},j()&&React.createElement(f.Z,{visible:!0}),P()&&React.createElement(h.Z,r()({referenceElement:M,liveResize:e.options?.effects?.liveResize||{}},e.options?.effects?.spotlight||{})),React.createElement("div",r()({className:"tour-kit-frame__container",ref:E},D),O()&&React.createElement("div",r()({className:"tour-kit-frame__arrow","data-popper-arrow":!0},W)),b?React.createElement(m.Z,{config:e,steps:e.steps,currentStepIndex:t,onMaximize:I,onDismiss:L}):React.createElement(g.Z,{config:e,steps:e.steps,currentStepIndex:t,onMinimize:T,onDismiss:L,onNextStep:F,onPreviousStep:B,onGoToStep:N,setInitialFocusedElement:v}))))}},19351:(e,t,o)=>{"use strict";o.d(t,{Z:()=>n});const n=({config:e,steps:t,currentStepIndex:o,onMaximize:n,onDismiss:r})=>React.createElement("div",{className:"tour-kit-minimized"},React.createElement(e.renderers.tourMinimized,{steps:t,currentStepIndex:o,onMaximize:n,onDismiss:r}))},43797:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(3228);const r=({visible:e})=>React.createElement("div",{className:(0,n.Z)("tour-kit-overlay",{"is-visible":e})})},60380:(e,t,o)=>{"use strict";o.d(t,{l:()=>r});var n=o(4909);const r=({enabled:e=!1,rootElementSelector:t="#wpwrap"})=>e?React.createElement("style",null,`\n .${n.u}, .${n.u} * {\n pointer-events: auto;\n }\n .tour-kit-frame__container button {\n pointer-events: auto;\n }\n .tour-kit-spotlight, .tour-kit-overlay {\n pointer-events: none;\n }\n ${t} :not(.${n.u}, .${n.u} *) {\n pointer-events: none;\n }\n `):null},4909:(e,t,o)=>{"use strict";o.d(t,{Z:()=>p,u:()=>d});var n=o(82674),r=o.n(n),a=o(69307),s=o(3228),i=o(21951),c=o(60662),l=o(43797),u=o(60380);const d="wp-tour-kit-spotlit",p=({referenceElement:e,styles:t,interactivity:o,liveResize:n})=>{const[p,m]=(0,a.useState)(null),f=e?.getBoundingClientRect(),h=[{name:"flip",enabled:!1},{name:"preventOverflow",options:{mainAxis:!1}},(0,a.useMemo)((()=>({name:"offset",options:{offset:({placement:e,reference:t,popper:o})=>"bottom"===e?[0,-(t.height+(o.height-t.height)/2)]:[0,0]}})),[]),(0,a.useMemo)((()=>(0,c._)(n)),[n])],{styles:g,attributes:w}=(0,i.D)(e,p,{strategy:"fixed",placement:"bottom",modifiers:h}),v=f?{width:`${f.width}px`,height:`${f.height}px`}:null,b=e?{style:{...v&&v,...g?.popper,...t&&t},...w?.popper}:null;return(0,a.useEffect)((()=>(e?.classList.add(d),()=>{e?.classList.remove(d)})),[e]),React.createElement(React.Fragment,null,React.createElement(u.l,o),React.createElement(l.Z,{visible:!b}),React.createElement("div",r()({className:(0,s.Z)("tour-kit-spotlight",{"is-visible":!!b}),ref:m},b)))}},8404:(e,t,o)=>{"use strict";o.d(t,{Z:()=>s});var n=o(94333),r=o(3228),a=o(7533);const s=({config:e,steps:t,currentStepIndex:o,onMinimize:s,onDismiss:i,onNextStep:c,onPreviousStep:l,setInitialFocusedElement:u,onGoToStep:d})=>{const p=(0,n.useViewportMatch)("mobile","<"),m=(0,r.Z)("tour-kit-step",`is-step-${o}`,(0,a.s)(e.steps[o].options?.classNames?.[p?"mobile":"desktop"]));return React.createElement("div",{className:m},React.createElement(e.renderers.tourStep,{steps:t,currentStepIndex:o,onDismiss:i,onNextStep:c,onPreviousStep:l,onMinimize:s,setInitialFocusedElement:u,onGoToStep:d}))}},1975:(e,t,o)=>{"use strict";o.d(t,{Z:()=>l});var n=o(69307),r=o(99196),a=o.n(r),s=o(9752),i=o(1942),c=o(87939);const l=({config:e,__temp__className:t})=>{const o=(0,n.useRef)(document.createElement("div")).current;return(0,n.useEffect)((()=>{const n=["tour-kit",...t?[t]:[]];o.classList.add(...n);const r=e.options?.portalParentElement||document.body;return r.appendChild(o),()=>{r.removeChild(o)}}),[t,o,e.options?.portalParentElement]),a().createElement(i.Z,null,a().createElement(s.A,{config:e},a().createElement("div",null,(0,n.createPortal)(a().createElement(c.Z,{config:e}),o))))}},54781:(e,t,o)=>{"use strict";o.d(t,{$:()=>r,n:()=>n});const n="start-writing",r="design-first"},77130:(e,t,o)=>{"use strict";o.d(t,{P:()=>c,c:()=>l});var n=o(86989),r=o.n(n),a=o(69307),s=o(99196);const i=s.createContext({hasSeenSellerCelebrationModal:!1,updateHasSeenSellerCelebrationModal:()=>{}}),c=()=>(0,s.useContext)(i),l=function({children:e}){const[t,o]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{r()({path:"/wpcom/v2/block-editor/has-seen-seller-celebration-modal"}).then((e=>o(e.has_seen_seller_celebration_modal))).catch((()=>o(!1)))}),[]),s.createElement(i.Provider,{value:{hasSeenSellerCelebrationModal:t,updateHasSeenSellerCelebrationModal:function(e){r()({method:"PUT",path:"/wpcom/v2/block-editor/has-seen-seller-celebration-modal",data:{has_seen_seller_celebration_modal:e}}).finally((()=>{o(!0)}))}}},e)}},48893:(e,t,o)=>{"use strict";o.d(t,{_:()=>l,z:()=>c});var n=o(86989),r=o.n(n),a=o(69307),s=o(99196);const i=s.createContext({hasSeenVideoCelebrationModal:!1,updateHasSeenVideoCelebrationModal:()=>{}}),c=()=>(0,s.useContext)(i),l=function({children:e}){const[t,o]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{r()({path:"/wpcom/v2/block-editor/has-seen-video-celebration-modal"}).then((e=>o(e.has_seen_video_celebration_modal))).catch((()=>o(!1)))}),[]),s.createElement(i.Provider,{value:{hasSeenVideoCelebrationModal:t,updateHasSeenVideoCelebrationModal:function(e){r()({method:"PUT",path:"/wpcom/v2/block-editor/has-seen-video-celebration-modal",data:{has_seen_video_celebration_modal:e}}).finally((()=>{o(e)}))}}},e)}},9752:(e,t,o)=>{"use strict";o.d(t,{A:()=>s.A,Og:()=>a.O,P9:()=>n.P,SQ:()=>s.S,_r:()=>r._,cz:()=>n.c,jw:()=>a.j,zf:()=>r.z});var n=o(77130),r=o(48893),a=o(13239),s=o(5033)},13239:(e,t,o)=>{"use strict";o.d(t,{O:()=>c,j:()=>i});var n=o(9818),r=o(69307),a=o(99196);const s=a.createContext(!1),i=()=>(0,a.useContext)(s),c=({children:e})=>{const t=(0,n.useSelect)((e=>e("automattic/wpcom-welcome-guide").getShouldShowFirstPostPublishedModal()),[]),{fetchShouldShowFirstPostPublishedModal:o}=(0,n.useDispatch)("automattic/wpcom-welcome-guide");return(0,r.useEffect)((()=>{o()}),[o]),a.createElement(s.Provider,{value:t},e)}},5033:(e,t,o)=>{"use strict";o.d(t,{A:()=>a,S:()=>s});var n=o(69307);const r=(0,n.createContext)({}),a=({config:e,children:t})=>React.createElement(r.Provider,{value:{config:e}},t),s=()=>(0,n.useContext)(r)},1942:(e,t,o)=>{"use strict";o.d(t,{Z:()=>s});var n=o(99196),r=o.n(n);class a extends r().Component{state={hasError:!1};static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error(e,t)}render(){return this.state.hasError?r().createElement("h1",null,"Something went wrong."):this.props.children}}const s=a},46626:(e,t,o)=>{"use strict";o.d(t,{A_:()=>r.Z,BH:()=>a.Z,u:()=>n.Z,v9:()=>s.Z});o(36436),o(3476),o(14599),o(8631);var n=o(55658),r=o(35313),a=o(27578),s=o(8172);o(574)},36436:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(69307);const r=e=>{const[t,o]=(0,n.useState)(!1),r=(0,n.useCallback)((()=>{document.hasFocus()&&e.current?.contains(document.activeElement)?o(!0):o(!1)}),[e]),a=(0,n.useCallback)((t=>{e.current?.contains(t.target)?o(!0):o(!1)}),[e]),s=(0,n.useCallback)((t=>{"Tab"===t.key&&(e.current?.contains(t.target)?o(!0):o(!1))}),[e]);return(0,n.useEffect)((()=>(document.addEventListener("focusin",r),document.addEventListener("mousedown",a),document.addEventListener("keyup",s),()=>{document.removeEventListener("focusin",r),document.removeEventListener("mousedown",a),document.removeEventListener("keyup",s)})),[e,r,s,a]),t}},3476:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var n=o(45904),r=o(69307);const a=e=>{const[t,o]=(0,r.useState)(),[a,s]=(0,r.useState)(),i=(0,r.useCallback)((e=>{let o=!1;"Tab"===e.key&&(e.shiftKey?document.activeElement===t&&(a?.focus(),o=!0):document.activeElement===a&&(t?.focus(),o=!0)),o&&(e.preventDefault(),e.stopPropagation())}),[t,a]);(0,r.useEffect)((()=>{const t=e.current?n.focus.focusable.find(e.current):[];return t&&t.length&&(o(t[0]),s(t[t.length-1])),document.addEventListener("keydown",i),()=>{document.removeEventListener("keydown",i)}}),[e,i])}},14599:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var n=o(9818),r=o(69307);const a=()=>{const[e,t]=(0,r.useState)(!1),o=(0,n.useSelect)((t=>{if(e)return"";const o=t("core/block-editor").getSelectedBlock();return o?.name??""})),a=(0,n.useSelect)((t=>{if(e)return"";const o=t("core/block-editor").getSelectedBlock();if(o?.clientId){const e=t("core/block-editor").getBlockParents(o?.clientId);if(e&&e.length){const o=t("core/block-editor").getBlock(e[e.length-1]);return o?.name??""}}return""}));return(0,r.useEffect)((()=>{e||!o.includes("payments")&&!a.includes("payments")||t(!0)}),[o,a,e,t]),e}},8631:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(69307);const r=({onEscape:e,onArrowRight:t,onArrowLeft:o})=>{const r=(0,n.useCallback)((n=>{let r=!1;switch(n.key){case"Escape":e&&(e(),r=!0);break;case"ArrowRight":t&&(t(),r=!0);break;case"ArrowLeft":o&&(o(),r=!0)}r&&(n.preventDefault(),n.stopPropagation())}),[e,t,o]);(0,n.useEffect)((()=>(document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r)})),[r])}},55658:(e,t,o)=>{"use strict";o.d(t,{Z:()=>c});var n=o(9818),r=o(69307),a=o(77130),s=o(14599),i=o(27578);const c=()=>{const[e,t]=(0,r.useState)(!1),{siteIntent:o}=(0,i.Z)(),c=(0,s.Z)(),{hasSeenSellerCelebrationModal:l}=(0,a.P)(),u=(0,n.useSelect)((e=>{if(!!e("core/edit-site")){const t=e("core/edit-site").getPage(),o=parseInt(t?.context?.postId),n=e("core").getEntityRecord("postType","page",o);let r=!1;if(!l){const t=e("core/block-editor").getGlobalBlockCount("jetpack/recurring-payments")>0,o=e("core/block-editor").getGlobalBlockCount("jetpack/simple-payments")>0;r=(n?.content?.raw?.includes("\x3c!-- wp:jetpack/recurring-payments --\x3e")||n?.content?.raw?.includes("\x3c!-- wp:jetpack/simple-payments --\x3e")||t||o)??!1}return r}let t=0;return l||(t+=e("core/block-editor").getGlobalBlockCount("jetpack/recurring-payments"),t+=e("core/block-editor").getGlobalBlockCount("jetpack/simple-payments")),t>0}));return(0,r.useEffect)((()=>{"sell"===o&&u&&c&&!l&&t(!0)}),[o,u,c,l]),e}},35313:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(69307),r=o(84196),a=o(48893),s=o(27578);const i=e=>{const{siteIntent:t}=(0,s.Z)(),[o,i]=(0,n.useState)(!1),{hasSeenVideoCelebrationModal:c}=(0,a.z)();return(0,n.useEffect)((()=>{"videopress"!==t||c?c&&i(!1):(async()=>{const e=await(0,r.ZP)({path:`/sites/${window._currentSiteId}?http_envelope=1`,apiVersion:"1.1"});e?.options?.launchpad_checklist_tasks_statuses?.video_uploaded&&i(!0)})()}),[e,t,c]),o}},27578:(e,t,o)=>{"use strict";o.d(t,{Z:()=>n});const n=()=>({siteIntent:window.Jetpack_LaunchpadSaveModal?.siteIntentOption,siteIntentFetched:!0})},8172:(e,t,o)=>{"use strict";o.d(t,{Z:()=>s});var n=o(69307),r=o(99196),a=o(84196);const s=e=>{const[t,o]=(0,n.useState)({}),s=(0,r.useCallback)((async()=>{const t=await(0,a.ZP)({path:`/sites/${e}?http_envelope=1`,apiVersion:"1.1"});t?.plan&&o(t.plan)}),[e]);return(0,n.useEffect)((()=>{s()}),[s]),t}},574:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(69307);const r=(e,t)=>{const[o,r]=(0,n.useState)([]);(0,n.useEffect)((()=>{o.includes(e)||(r((t=>[...t,e])),t?.(e))}),[e,t,o])}},42557:(e,t,o)=>{"use strict";o.d(t,{$v:()=>n.$,A_:()=>s.A_,BH:()=>s.BH,O9:()=>r.O,Og:()=>a.Og,P9:()=>a.P9,SQ:()=>a.SQ,_r:()=>a._r,cz:()=>a.cz,jw:()=>a.jw,nQ:()=>n.n,ny:()=>r.Z,u:()=>s.u,v9:()=>s.v9,zf:()=>a.zf});o(1975);var n=o(54781),r=o(16713),a=o(9752),s=o(46626)},7533:(e,t,o)=>{"use strict";o.d(t,{f:()=>a,s:()=>r});var n=o(951);function r(e){return e?.length?e.toString().split(","):null}const a=o.n(n)()("tour-kit")},60662:(e,t,o)=>{"use strict";o.d(t,{_:()=>r});var n=o(7533);const r=({rootElementSelector:e,mutation:t=!1,resize:o=!1}={mutation:!1,resize:!1})=>({name:"liveResizeModifier",enabled:!0,phase:"main",fn:()=>{},effect:r=>{try{const{state:a,instance:s}=r,i=Symbol(),{reference:c}=a.elements;if(c[i]={resizeObserver:new ResizeObserver((()=>{s.update()})),mutationObserver:new MutationObserver((()=>{s.update()}))},o&&(c instanceof Element?c[i].resizeObserver.observe(c):(0,n.f)("Error: ResizeObserver does not work with virtual elements, Tour Kit will not resize automatically if the size of the referenced element changes.")),t){const t=document.querySelector(e||"#wpwrap");t instanceof Element?c[i].mutationObserver.observe(t,{attributes:!0,characterData:!0,childList:!0,subtree:!0}):(0,n.f)(`Error: ${e} selector did not find a valid DOM element, Tour Kit will not update automatically if the DOM layout changes.`)}return()=>{c[i].resizeObserver.disconnect(),c[i].mutationObserver.disconnect(),delete c[i]}}catch(e){(0,n.f)("Error: Tour Kit live resize modifier failed unexpectedly:",e)}}})},49332:(e,t,o)=>{"use strict";o.d(t,{Z:()=>u});var n=o(55609),r=o(69307),a=o(65736),s=o(61074),i=o(39517),c=o(86656),l=o(58673);const u=({steps:e,onMaximize:t,onDismiss:o,currentStepIndex:u})=>{const{__:__}=(0,c.useI18n)(),d=u+1,p=e.length-1+1;return React.createElement(n.Flex,{gap:0,className:"wpcom-tour-kit-minimized"},React.createElement(n.Button,{onClick:t,"aria-label":__("Resume Tour","jetpack-mu-wpcom")},React.createElement(n.Flex,{gap:13},React.createElement("p",null,(0,r.createInterpolateElement)((0,a.sprintf)(/* translators: 1: current page number, 2: total number of pages */ +__("Resume tour (%1$d/%2$d)","jetpack-mu-wpcom"),d,p),{span:React.createElement("span",{className:"wpcom-tour-kit-minimized__tour-index"})})),React.createElement(s.Z,{icon:l.Z,size:24}))),React.createElement(n.Button,{onClick:o("close-btn-minimized"),"aria-label":__("Close Tour","jetpack-mu-wpcom")},React.createElement(s.Z,{icon:i.Z,size:24})))}},14786:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var n=o(65736),r=o(3228);const __=n.__,a=({activePageIndex:e,numberOfPages:t,onChange:o,classNames:a,children:s})=>{const i=(0,r.Z)("wpcom-tour-kit-pagination-control",a);return React.createElement("ul",{className:i,"aria-label":__("Pagination control","jetpack-mu-wpcom")},Array.from({length:t}).map(((a,s)=>React.createElement("li",{key:`${t}-${s}`,"aria-current":s===e?"page":void 0},React.createElement("button",{className:(0,r.Z)("pagination-control__page",{"is-current":s===e}),disabled:s===e,"aria-label":(0,n.sprintf)(/* translators: 1: current page number 2: total number of pages */ +__("Page %1$d of %2$d","jetpack-mu-wpcom"),s+1,t),onClick:()=>o(s)})))),s&&React.createElement("li",{className:"pagination-control__last-item"},s))}},37672:(e,t,o)=>{"use strict";o.d(t,{Z:()=>u});var n=o(55609),r=o(69307),a=o(86656),s=o(3228),i=o(42557),c=o(97304),l=o(27793);const u=()=>{const[e,t]=(0,r.useState)(),o=(0,i.SQ)().config,u=o.options?.tourRating?.useTourRating?.()??e,{__:__}=(0,a.useI18n)();let d=!1;if(!o.options?.tourRating?.enabled)return null;d||void 0===e||(d=!0);const p=e=>{if(d)return;const n=e?"thumbs-up":"thumbs-down";n!==u&&(d=!0,t(n),o.options?.tourRating?.onTourRate?.(n))};return React.createElement(React.Fragment,null,React.createElement("p",{className:"wpcom-tour-kit-rating__end-text"},__("Did you find this guide helpful?","jetpack-mu-wpcom")),React.createElement("div",null,React.createElement(n.Button,{"aria-label":__("Rate thumbs up","jetpack-mu-wpcom"),className:(0,s.Z)("wpcom-tour-kit-rating__end-icon",{active:"thumbs-up"===u}),disabled:d,icon:l.Z,onClick:()=>p(!0),iconSize:24}),React.createElement(n.Button,{"aria-label":__("Rate thumbs down","jetpack-mu-wpcom"),className:(0,s.Z)("wpcom-tour-kit-rating__end-icon",{active:"thumbs-down"===u}),disabled:d,icon:c.Z,onClick:()=>p(!1),iconSize:24})))}},53349:(e,t,o)=>{"use strict";o.d(t,{Z:()=>s});var n=o(55609),r=o(86656),a=o(14786);const s=({currentStepIndex:e,onDismiss:t,onGoToStep:o,onNextStep:s,onPreviousStep:i,setInitialFocusedElement:c,steps:l})=>{const{__:__}=(0,r.useI18n)(),u=0===e,d=l.length-1;return React.createElement(React.Fragment,null,React.createElement(a.Z,{activePageIndex:e,numberOfPages:d+1,onChange:o},u?React.createElement("div",null,React.createElement(n.Button,{variant:"tertiary",onClick:t("no-thanks-btn")},__("Skip","jetpack-mu-wpcom")),React.createElement(n.Button,{className:"wpcom-tour-kit-step-card-navigation__next-btn",variant:"primary",onClick:s,ref:c},__("Take the tour","jetpack-mu-wpcom"))):React.createElement("div",null,React.createElement(n.Button,{variant:"tertiary",onClick:i},__("Back","jetpack-mu-wpcom")),React.createElement(n.Button,{className:"wpcom-tour-kit-step-card-navigation__next-btn",variant:"primary",onClick:s,ref:c},__("Next","jetpack-mu-wpcom")))))}},24719:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(55609),r=o(39517),a=o(86656),s=o(87197);const i=({onMinimize:e,onDismiss:t})=>{const{__:__}=(0,a.useI18n)();return React.createElement("div",{className:"wpcom-tour-kit-step-card-overlay-controls"},React.createElement(n.Flex,null,React.createElement(n.Button,{label:__("Minimize Tour","jetpack-mu-wpcom"),variant:"primary",className:"wpcom-tour-kit-step-card-overlay-controls__minimize-icon",icon:s.Z,iconSize:24,onClick:e}),React.createElement(n.Button,{label:__("Close Tour","jetpack-mu-wpcom"),variant:"primary",icon:r.Z,iconSize:24,onClick:t("close-btn")})))}},20223:(e,t,o)=>{"use strict";o.d(t,{Z:()=>d});var n=o(55609),r=o(94333),a=o(61074),s=o(86656),i=o(3228),c=o(37672),l=o(53349),u=o(24719);const d=({steps:e,currentStepIndex:t,onMinimize:o,onDismiss:d,onGoToStep:p,onNextStep:m,onPreviousStep:f,setInitialFocusedElement:h})=>{const{__:__}=(0,s.useI18n)(),g=e.length-1,{descriptions:w,heading:v,imgSrc:b,imgLink:y}=e[t].meta,_=t===g,E=w[(0,r.useViewportMatch)("mobile","<")?"mobile":"desktop"]??w.desktop;return React.createElement(n.Card,{className:"wpcom-tour-kit-step-card",isElevated:!0},React.createElement(u.Z,{onDismiss:d,onMinimize:o}),b&&React.createElement(n.CardMedia,{className:"wpcom-tour-kit-step-card__media"},React.createElement("picture",null,b.mobile&&React.createElement("source",{srcSet:b.mobile.src,type:b.mobile.type,media:"(max-width: 480px)"}),React.createElement("img",{alt:__("Tour Media","jetpack-mu-wpcom"),src:b.desktop?.src})),y&&React.createElement("a",{className:(0,i.Z)("wpcom-tour-kit-step-card__media-link",{"wpcom-tour-kit-step-card__media-link--playable":y.playable}),href:y.href,target:"_blank",rel:"noreferrer noopener",onClick:y.onClick},React.createElement(a.Z,{icon:React.createElement("svg",{width:"27",height:"32",viewBox:"0 0 27 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M27 16L-1.4682e-06 31.5885L-1.05412e-07 0.411542L27 16Z",fill:"white"})),size:27}))),React.createElement(n.CardBody,null,React.createElement("h2",{className:"wpcom-tour-kit-step-card__heading"},v),React.createElement("p",{className:"wpcom-tour-kit-step-card__description"},E,_?React.createElement(n.Button,{className:"wpcom-tour-kit-step-card__description",variant:"tertiary",onClick:()=>p(0),ref:h},__("Restart tour","jetpack-mu-wpcom")):null)),React.createElement(n.CardFooter,null,_?React.createElement(c.Z,null):React.createElement(l.Z,{currentStepIndex:t,onDismiss:d,onGoToStep:p,onNextStep:m,onPreviousStep:f,setInitialFocusedElement:h,steps:e})))}},10419:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(20223);const r=({steps:e,currentStepIndex:t,onDismiss:o,onNextStep:r,onPreviousStep:a,onMinimize:s,setInitialFocusedElement:i,onGoToStep:c})=>React.createElement(n.Z,{steps:e,currentStepIndex:t,onDismiss:o,onMinimize:s,onGoToStep:c,onNextStep:r,onPreviousStep:a,setInitialFocusedElement:i})},81957:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(1975),r=o(98784),a=o(49332),s=o(10419);const i=({config:e})=>((0,r.Z)(e.steps),React.createElement(n.Z,{__temp__className:"wpcom-tour-kit",config:{...e,renderers:{tourStep:s.Z,tourMinimized:a.Z}}}))},98784:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(69307);function r(e){(0,n.useEffect)((()=>{e.forEach((e=>{e.meta.imgSrc?.mobile&&((new window.Image).src=e.meta.imgSrc.mobile.src),e.meta.imgSrc?.desktop&&((new window.Image).src=e.meta.imgSrc.desktop.src)}))}),[e])}},58673:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(70444);const r=React.createElement(n.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(n.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M14.086 5.412l3.476-.015c-.627.625-1.225 1.22-1.82 1.81l-.03.031c-.977.971-1.944 1.934-3.015 3.004l1.06 1.061c1.07-1.07 2.036-2.03 3.013-3.002l.03-.03 1.817-1.808-.03 3.448 1.5.013.046-5.28.007-.759-.76.003-5.301.024.007 1.5zM9.914 18.587l-3.476.016c.627-.625 1.225-1.22 1.82-1.81l.03-.031c.977-.971 1.944-1.934 3.015-3.004l-1.06-1.061c-1.07 1.069-2.036 2.03-3.012 3.001l-.001.001-.03.03-1.817 1.808.03-3.448-1.5-.013-.046 5.279-.007.76.76-.003 5.301-.024-.007-1.5z"}))},87197:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(70444);const r=React.createElement(n.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(n.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.514 9.988l-3.476.016c.627-.626 1.225-1.22 1.82-1.811l.03-.03v-.001c.977-.971 1.944-1.933 3.015-3.004l-1.06-1.06c-1.07 1.069-2.037 2.03-3.013 3.001l-.03.03-1.818 1.809.03-3.449-1.5-.013-.045 5.28-.007.76.76-.004 5.301-.024-.007-1.5zM5.486 14.012l3.477-.016-1.82 1.811-.03.03c-.977.972-1.945 1.934-3.015 3.005l1.06 1.06c1.07-1.068 2.035-2.03 3.012-3V16.9l.03-.03 1.818-1.809-.03 3.449 1.5.013.046-5.28.006-.76-.76.004-5.3.024.006 1.5z",fill:"#fff"}))},97304:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(70444);const r=React.createElement(n.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(n.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M13.131 19.12a.667.667 0 001.227-.417l-.436-4.989h3.88c.954 0 1.64-.916 1.37-1.831L17.42 5.919a.286.286 0 00-.274-.205H9.429v7.588l3.702 5.818zm-5.417-5.977V5.714h-2v7.429h2zm5.98 8a2.381 2.381 0 01-2.01-1.103l-3.297-5.183H4V4h13.145a2 2 0 011.919 1.436l1.753 5.963a3.143 3.143 0 01-3.015 4.03h-2.01l.274 3.125a2.381 2.381 0 01-2.372 2.589z",fill:"#000"}))},27793:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(70444);const r=React.createElement(n.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/SVG"},React.createElement(n.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M13.131 4.023a.667.667 0 011.227.416l-.436 4.99h3.88c.954 0 1.64.916 1.37 1.831l-1.753 5.963a.286.286 0 01-.274.206H9.429V9.84l3.702-5.818zM7.714 10v7.428h-2V10h2zm5.98-8c-.814 0-1.572.416-2.01 1.103L8.388 8.286H4v10.857h13.145a2 2 0 001.919-1.436l1.753-5.963a3.143 3.143 0 00-3.015-4.03h-2.01l.274-3.125A2.381 2.381 0 0013.694 2z",fill:"#000"}))},16713:(e,t,o)=>{"use strict";o.d(t,{O:()=>r.Z,Z:()=>n.Z});var n=o(81957),r=o(98784)},48902:(e,t,o)=>{"use strict";o.d(t,{K:()=>n});const n=(e,t={},o=null,n=null)=>{const r=JP_CONNECTION_INITIAL_STATE?.userConnectionData?.currentUser??{},a=o??r.id,s=n??r.username,i=t.blogId??r.blogId;window._tkq=window._tkq||[],s&&a&&window._tkq.push(["identifyUser",a,s]),window._tkq.push(["recordEvent",e,{...t,blog_id:i}])}},69569:(e,t,o)=>{"use strict";var n=o(73625),r=o(55609),a=o(9818),s=o(69307),i=o(92694),c=o(98817),l=o(74776),u=o(96483),d=o(42557),p=o(32787),m=o(66900),f=o(80248),h=o(86559),g=o(46655),w=o(23804),v=o(32694),b=o(20599),y=o(43384),_=o(4476);let E;try{E=(0,l.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/edit-site").unlock}catch(e){console.error("Error: Unable to get the unlock api. Reason: %s",e)}function k(){const[e]=(0,s.useState)((0,u.getQueryArg)(window.location.href,"showDraftPostModal")),{show:t,isLoaded:o,variant:c,isManuallyOpened:l,isNewPageLayoutModalOpen:d,siteEditorCanvasMode:p}=(0,a.useSelect)((e=>{const t=e("automattic/wpcom-welcome-guide"),o=e("automattic/starter-page-layouts");let n;return E&&e("core/edit-site")&&(n=e("core/edit-site")&&E(e("core/edit-site")).getCanvasMode()),{show:t.isWelcomeGuideShown(),isLoaded:t.isWelcomeGuideStatusLoaded(),variant:t.getWelcomeGuideVariant(),isManuallyOpened:t.isWelcomeGuideManuallyOpened(),isNewPageLayoutModalOpen:o?.isOpen(),siteEditorCanvasMode:n}}),[]),f=(0,a.useDispatch)("automattic/starter-page-layouts")?.setOpenState,{fetchWelcomeGuideStatus:h}=(0,a.useDispatch)("automattic/wpcom-welcome-guide");(0,s.useEffect)((()=>{o||h()}),[h,o]);return!(0,i.applyFilters)("a8c.WpcomBlockEditorWelcomeTour.show",t)||d||p&&"edit"!==p?null:c===v.yn&&!l&&f?(f("OPEN_FOR_BLANK_CANVAS"),null):c===v.Sz?React.createElement(n.Iw,null,e?React.createElement(m.Z,null):React.createElement(_.Z,null)):"modal"===c&&r.Guide&&r.GuidePage?React.createElement(y.Z,null):null}(0,c.registerPlugin)("wpcom-block-editor-nux",{render:()=>React.createElement(d.cz,null,React.createElement(d._r,null,React.createElement(d.Og,null,React.createElement(k,null),React.createElement(f.Z,null),React.createElement(w.Z,null),React.createElement(g.Z,null),React.createElement(h.Z,null),React.createElement(b.Z,null),React.createElement(p.$,null))))})},20565:(e,t,o)=>{"use strict";o.d(t,{L:()=>r,Y:()=>a});var n=o(55609);const r=()=>React.createElement(n.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24"},React.createElement(n.Path,{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"})),a=()=>React.createElement(n.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24"},React.createElement(n.Path,{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}))},32787:(e,t,o)=>{"use strict";o.d(t,{$:()=>g});var n=o(86989),r=o.n(n),a=o(4981),s=o(55609),i=o(9818),c=o(65736),l=o(96483),u=o(76292),d=o.n(u),p=o(99196),m=o(48902),f=o(20565);const __=c.__,h=()=>{const[e,t]=(0,p.useState)(!0),[o,n]=(0,p.useState)([]),[c,u]=(0,p.useState)(0);if((0,p.useEffect)((()=>{const e=(0,l.addQueryArgs)("/wpcom/v3/blogging-prompts",{per_page:10,after:d()().format("--MM-DD"),order:"desc",force_year:(new Date).getFullYear()});r()({path:e}).then((e=>((0,m.K)("calypso_editor_writing_prompts_modal_viewed"),n(e)))).catch((()=>console.error("Unable to fetch writing prompts")))}),[]),!e||!o.length)return null;return React.createElement(s.Modal,{onRequestClose:()=>{(0,m.K)("calypso_editor_writing_prompts_modal_closed"),t(!1)},className:"blogging-prompts-modal",title:__("Some ideas for writing topics","jetpack-mu-wpcom")},React.createElement("div",{className:"blogging-prompts-modal__prompt"},React.createElement("div",{className:"blogging-prompts-modal__prompt-navigation"},React.createElement(s.Button,{onClick:()=>u(c-1<0?o.length-1:c-1),"aria-label":__("Show previous prompt","jetpack-mu-wpcom"),variant:"secondary",className:"blogging-prompts-modal__prompt-navigation-button"},React.createElement(f.Y,null)),React.createElement("h2",{className:"blogging-prompts-modal__prompt-text"},o[c]?.text),React.createElement(s.Button,{onClick:()=>u((c+1)%o.length),"aria-label":__("Show next prompt","jetpack-mu-wpcom"),variant:"secondary",className:"blogging-prompts-modal__prompt-navigation-button"},React.createElement(f.L,null))),React.createElement(s.Button,{onClick:()=>{const e=o[c]?.id;(0,i.dispatch)("core/editor").resetEditorBlocks([(0,a.createBlock)("jetpack/blogging-prompt",{promptId:e})]),(0,m.K)("calypso_editor_writing_prompts_modal_prompt_selected",{prompt_id:e}),t(!1)},variant:"secondary"},__("Post Answer","jetpack-mu-wpcom"))))},g=()=>{const e=(0,l.getQueryArg)(window.location.href,"new_prompt"),t=(0,i.select)("core/editor").getCurrentPostType();return e&&"post"===t?React.createElement(h,null):null}},53862:(e,t,o)=>{"use strict";var n=o(9818);o(40462);const r=(0,n.subscribe)((()=>{(0,n.dispatch)("core/nux").disableTips(),(0,n.select)("core/edit-post")?.isFeatureActive("welcomeGuide")&&((0,n.dispatch)("core/edit-post").toggleFeature("welcomeGuide"),r()),(0,n.select)("core/edit-site")?.isFeatureActive("welcomeGuide")&&((0,n.dispatch)("core/edit-site").toggleFeature("welcomeGuide"),r())}));(0,n.subscribe)((()=>{(0,n.select)("core/nux").areTipsEnabled()&&((0,n.dispatch)("core/nux").disableTips(),(0,n.dispatch)("automattic/wpcom-welcome-guide").setShowWelcomeGuide(!0)),(0,n.select)("core/edit-post")?.isFeatureActive("welcomeGuide")&&((0,n.dispatch)("core/edit-post").toggleFeature("welcomeGuide"),(0,n.select)("automattic/wpcom-welcome-guide").isWelcomeGuideStatusLoaded()&&(0,n.dispatch)("automattic/wpcom-welcome-guide").setShowWelcomeGuide(!0,{openedManually:!0})),(0,n.select)("core/edit-site")?.isFeatureActive("welcomeGuide")&&((0,n.dispatch)("core/edit-site").toggleFeature("welcomeGuide"),(0,n.select)("automattic/wpcom-welcome-guide").isWelcomeGuideStatusLoaded()&&(0,n.dispatch)("automattic/wpcom-welcome-guide").setShowWelcomeGuide(!0,{openedManually:!0}))}))},66900:(e,t,o)=>{"use strict";o.d(t,{Z:()=>d});var n=o(55609),r=o(69307),a=o(92694),s=o(65736),i=o(48902),c=o(6432),l=o(49894);const __=s.__,u="a8c.wpcom-block-editor.closeEditor",d=()=>{const e=`/home/${window.location.hostname}`,[t,o]=(0,r.useState)(!0),s=()=>o(!1);return React.createElement(c.Z,{isOpen:t,className:"wpcom-block-editor-draft-post-modal",title:__("Write your first post","jetpack-mu-wpcom"),description:__("It’s time to flex those writing muscles and start drafting your first post!","jetpack-mu-wpcom"),imageSrc:l,actionButtons:React.createElement(React.Fragment,null,React.createElement(n.Button,{isPrimary:!0,onClick:s},__("Start writing","jetpack-mu-wpcom")),React.createElement(n.Button,{isSecondary:!0,onClick:()=>{(0,a.hasAction)(u)?(0,a.doAction)(u,e):window.location.href=`https://wordpress.com${e}`}},__("I'm not ready","jetpack-mu-wpcom"))),onRequestClose:s,onOpen:()=>(0,i.K)("calypso_editor_wpcom_draft_post_modal_show")})}},80248:(e,t,o)=>{"use strict";o.d(t,{Z:()=>h});var n=o(55609),r=o(9818),a=o(69307),s=o(65736),i=o(96483),c=o(99196),l=o.n(c),u=o(42557),d=o(48902),p=o(6432),m=o(25024);const __=s.__,f=()=>{const{link:e}=(0,r.useSelect)((e=>e("core/editor").getCurrentPost()),[]),t=(0,r.useSelect)((e=>e("core/editor").getCurrentPostType()),[]),o=(0,r.useSelect)((e=>e("core/editor").isCurrentPostPublished()),[]),s=(0,a.useRef)(o),c=(0,u.jw)(),[f,h]=(0,a.useState)(!1),{siteUrlOption:g,launchpadScreenOption:w,siteIntentOption:v}=window?.launchpadOptions||{};let b="";(0,i.isURL)(g)&&(b=new URL(g).hostname),(0,a.useEffect)((()=>{c&&!s.current&&o&&"post"===t&&(s.current=o,window.setTimeout((()=>{h(!0)})))}),[t,c,o]);return l().createElement(p.Z,{isOpen:f,className:"wpcom-block-editor-post-published-modal",title:__("Your first post is published!","jetpack-mu-wpcom"),description:__("Congratulations! You did it. View your post to see how it will look on your site.","jetpack-mu-wpcom"),imageSrc:m,actionButtons:l().createElement(l().Fragment,null,l().createElement(n.Button,{variant:"primary",onClick:t=>{t.preventDefault(),window.top.location.href=e}},__("View Post","jetpack-mu-wpcom")),"full"===w&&"write"===v&&l().createElement(n.Button,{variant:"secondary",onClick:e=>{e.preventDefault(),window.top.location.href=`https://wordpress.com/setup/write/launchpad?siteSlug=${b}`}},__("Next Steps","jetpack-mu-wpcom"))),onRequestClose:()=>h(!1),onOpen:()=>(0,d.K)("calypso_editor_wpcom_first_post_published_modal_show")})},h=()=>{const{siteIntent:e}=(0,u.BH)();return"write"===e?l().createElement(f,null):null}},6432:(e,t,o)=>{"use strict";o.d(t,{Z:()=>c});var n=o(55609),r=o(69307),a=o(3228),s=o(99196),i=o.n(s);const c=({isOpen:e,className:t,title:o,description:s,imageSrc:c,actionButtons:l,onRequestClose:u,onOpen:d})=>{const p=(0,r.useRef)(null);return(0,r.useEffect)((()=>{!p.current&&e&&d?.(),p.current=e}),[p,e,d]),e?i().createElement(n.Modal,{className:(0,a.Z)("wpcom-block-editor-nux-modal",t),title:"",onRequestClose:u},i().createElement("div",{className:"wpcom-block-editor-nux-modal__image-container"},i().createElement("img",{src:c,alt:o})),i().createElement("h1",{className:"wpcom-block-editor-nux-modal__title"},o),i().createElement("p",{className:"wpcom-block-editor-nux-modal__description"},s),i().createElement("div",{className:"wpcom-block-editor-nux-modal__buttons"},l)):null}},86559:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(9818),r=o(65736),a=o(53961),s=o(99196);const __=r.__;const i=function(){const e=(0,s.useRef)(!1),{createNotice:t}=(0,n.useDispatch)(a.store);return(0,s.useEffect)((()=>{const o=/[&?]notice=([\w_-]+)/.exec(document.location.search);"purchase-success"===(o&&o[1])&&!1===e.current&&(e.current=!0,t("info",__("Congrats! Premium blocks are now available to use.","jetpack-mu-wpcom"),{isDismissible:!0,type:"snackbar"}))}),[t]),null}},46655:(e,t,o)=>{"use strict";o.d(t,{Z:()=>p});var n=o(55609),r=o(9818),a=o(69307),s=o(65736),i=o(42557),c=o(48902),l=o(6432),u=o(43867);const __=s.__,d=()=>{const{addEntities:e}=(0,r.useDispatch)("core");(0,a.useEffect)((()=>{e([{baseURL:"/wp/v2/statuses",key:"slug",kind:"root",name:"status",plural:"statuses"}])}),[]);const[t,o]=(0,a.useState)(!1),[s,d]=(0,a.useState)(!1),p=(0,r.useSelect)((e=>!!e("core/edit-site"))),m=(0,a.useRef)(!1),{updateHasSeenSellerCelebrationModal:f}=(0,i.P9)(),h=(0,r.useSelect)((e=>{if(p){const t=e("core/edit-site").getPage(),o=parseInt(t?.context?.postId),n=e("core").getEntityRecord("postType","page",o);return n?.link}return e("core/editor").getCurrentPost().link})),g=(0,i.u)(),w=(0,r.useSelect)((e=>{if(p){const t=e("core/edit-site").getPage(),o=parseInt(t?.context?.postId),n=e("core").isSavingEntityRecord("root","site")&&!e("core").isAutosavingEntityRecord("root","site"),r=e("core").isSavingEntityRecord("postType","page",o)&&!e("core").isAutosavingEntityRecord("postType","page",o);return n||r}const t=e("core/editor").getCurrentPost();return e("core").isSavingEntityRecord("postType",t?.type,t?.id)&&!e("core").isAutosavingEntityRecord("postType",t?.type,t?.id)}));(0,a.useEffect)((()=>{!w&&m.current&&!s&&g&&(o(!0),d(!0),f(!0)),m.current=w}),[w,s,g,f]);const v=()=>o(!1);return React.createElement(l.Z,{isOpen:t,className:"wpcom-site-editor-seller-celebration-modal",title:__("You've added your first product!","jetpack-mu-wpcom"),description:__("Preview your product on your site before launching and sharing with others.","jetpack-mu-wpcom"),imageSrc:u,actionButtons:React.createElement(React.Fragment,null,React.createElement(n.Button,{onClick:v},__("Continue editing","jetpack-mu-wpcom")),React.createElement(n.Button,{isPrimary:!0,href:h,target:"_blank",rel:"noopener noreferrer"},__("View your product","jetpack-mu-wpcom"))),onRequestClose:v,onOpen:()=>(0,c.K)("calypso_editor_wpcom_seller_celebration_modal_show")})},p=()=>{const{siteIntent:e}=(0,i.BH)();return"sell"===e?React.createElement(d,null):null}},50095:(e,t,o)=>{"use strict";o.d(t,{Z:()=>l});var n=o(82674),r=o.n(n),a=o(55609),s=o(3228),i=o(99196);const c=()=>{},l=(0,i.forwardRef)((({className:e,text:t,onCopy:o=c,...n},i)=>React.createElement(a.Button,r()({},n,{onClick:function(){t&&(navigator.clipboard.writeText(t),o())},ref:i,className:(0,s.Z)("clipboard-button",e)}))))},88661:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(82674),r=o.n(n),a=o(3228),s=o(99196);const i=(0,s.forwardRef)((({className:e,...t},o)=>React.createElement("input",r()({ref:o},t,{type:"checkbox",className:(0,a.Z)(e,"form-checkbox")}))))},59734:(e,t,o)=>{"use strict";o.d(t,{Z:()=>c});var n=o(82674),r=o.n(n),a=o(65736),s=o(3228),i=o(99196);const __=a.__,c=({children:e,required:t,optional:o,className:n,...a})=>{const c=i.Children.count(e)>0;return React.createElement("label",r()({},a,{className:(0,s.Z)(n,"form-label")}),e,c&&t&&React.createElement("small",{className:"form-label__required"},__("Required","jetpack-mu-wpcom")),c&&o&&React.createElement("small",{className:"form-label__optional"},__("Optional","jetpack-mu-wpcom")))}},23804:(e,t,o)=>{"use strict";o.d(t,{Z:()=>S});var n=o(55609),r=o(9818),a=o(69307),s=o(61074),i=o(43618),c=o(31871),l=o(53961),u=o(86656),d=o(3228),p=o(99196),m=o.n(p),f=o(42557),h=o(48902),g=o(50095),w=o(88661),v=o(59734),b=o(18933),y=o(69084),_=o(30534),E=o(33119),k=o(77901);const R=()=>{const e=window?.sharingModalOptions?.isDismissed||!1,{launchpadScreenOption:t}=window?.launchpadOptions||{},{isDismissed:o,updateIsDismissed:p}=(0,k.Z)(e),{__:__}=(0,u.useI18n)(),R="-1"===window?.wpcomGutenberg?.blogPublic,{link:S,title:x,status:C,password:Z}=(0,r.useSelect)((e=>e("core/editor").getCurrentPost()),[]),z=(0,r.useSelect)((e=>e("core/editor").getCurrentPostType()),[]),M=(0,r.useSelect)((e=>e("core/editor").isCurrentPostPublished()),[]),O=(0,a.useRef)(M),P=(0,f.jw)(),j=(0,f.u)(),L=(0,f.A_)(M),[F,B]=(0,a.useState)(!1),{createNotice:N}=(0,r.useDispatch)(l.store),[T,I]=m().useState(!0);if((0,a.useEffect)((()=>{P||j||L||"full"===t||O.current||!M||"publish"!==C||Z||"post"!==z||(O.current=M,(0,h.K)("calypso_editor_sharing_dialog_show"),window.setTimeout((()=>{B(!0)})))}),[z,Z,C,P,j,L,M,t]),!F||e||R)return null;return m().createElement(n.Modal,{className:"wpcom-block-editor-post-published-sharing-modal",title:"",onRequestClose:()=>B(!1)},m().createElement(_.Z,null),m().createElement("div",{className:"wpcom-block-editor-post-published-sharing-modal__inner"},m().createElement("div",{className:"wpcom-block-editor-post-published-sharing-modal__left"},m().createElement("h1",null," ",__("Post published!","jetpack-mu-wpcom")," "),m().createElement("div",{className:"wpcom-block-editor-post-published-buttons"},m().createElement("a",{href:S,className:"link-button wpcom-block-editor-post-published-sharing-modal__view-post-link",rel:"external"}," ",m().createElement(s.Z,{icon:i.Z})," ",__("View Post","jetpack-mu-wpcom")),m().createElement(g.Z,{text:S,className:"components-button link-button",onCopy:()=>{(0,h.K)("calypso_editor_sharing_link_copy"),N("success",__("Link copied to clipboard.","jetpack-mu-wpcom"),{type:"snackbar"})}},m().createElement(s.Z,{icon:c.Z})," ",__("Copy Link","jetpack-mu-wpcom"))),m().createElement("hr",null),m().createElement("h2",null,__("Get more traffic to your post by sharing:","jetpack-mu-wpcom")),m().createElement(n.Button,{className:(0,d.Z)("wpcom-block-editor-post-published-sharing-modal__sharing-button","share-facebook"),onClick:()=>{const e=new URL("https://www.facebook.com/sharer.php"),t=new URLSearchParams({u:S,app_id:"249643311490"});e.search=t.toString();const o=e.href;(0,h.K)("calypso_editor_sharing_facebook"),window.open(o,"facebook","width=626,height=436,resizeable,scrollbars")}},m().createElement(y.Z,{icon:"facebook",size:18})),m().createElement(n.Button,{className:(0,d.Z)("wpcom-block-editor-post-published-sharing-modal__sharing-button","share-twitter"),onClick:()=>{const e=new URL("https://twitter.com/intent/tweet"),t=new URLSearchParams({text:x,url:S});e.search=t.toString();const o=e.href;(0,h.K)("calypso_editor_sharing_twitter"),window.open(o,"twitter","width=550,height=420,resizeable,scrollbars")}},m().createElement(y.Z,{icon:"twitter-alt",size:18})),m().createElement(n.Button,{className:(0,d.Z)("wpcom-block-editor-post-published-sharing-modal__sharing-button","share-linkedin"),onClick:()=>{const e=new URL("https://www.linkedin.com/shareArticle"),t=new URLSearchParams({title:x,url:S});e.search=t.toString();const o=e.href;(0,h.K)("calypso_editor_sharing_linkedin"),window.open(o,"linkedin","width=626,height=436,resizeable,scrollbars")}},m().createElement(y.Z,{icon:"linkedin",size:18})),m().createElement(n.Button,{className:(0,d.Z)("wpcom-block-editor-post-published-sharing-modal__sharing-button","share-tumblr"),onClick:()=>{const e=new URL("https://www.tumblr.com/widgets/share/tool"),t=new URLSearchParams({canonicalUrl:S,title:x});e.search=t.toString();const o=e.href;(0,h.K)("calypso_editor_sharing_tumblr"),window.open(o,"tumblr","width=626,height=436,resizeable,scrollbars")}},m().createElement(y.Z,{icon:"tumblr-alt",size:18})),m().createElement(n.Button,{className:(0,d.Z)("wpcom-block-editor-post-published-sharing-modal__sharing-button","share-pinterest"),onClick:()=>{const e=new URL("https://pinterest.com/pin/create/button/"),t=new URLSearchParams({url:S,description:x});e.search=t.toString();const o=e.href;(0,h.K)("calypso_editor_sharing_pinterest"),window.open(o,"pinterest","width=626,height=436,resizeable,scrollbars")}},m().createElement(y.Z,{icon:"pinterest-alt",size:18})),m().createElement("div",{className:"wpcom-block-editor-post-published-sharing-modal__checkbox-section"},m().createElement(v.Z,{htmlFor:"toggle",className:"is-checkbox"},m().createElement(w.Z,{id:"toggle",onChange:()=>{p(!o)}}),m().createElement("span",null,__("Don't show again","jetpack-mu-wpcom"))))),m().createElement("div",{className:"wpcom-block-editor-post-published-sharing-modal__right"},T?m().createElement(E.Z,{setShouldShowSuggestedTags:I}):m().createElement("img",{className:"wpcom-block-editor-post-published-sharing-modal__image",src:b,alt:__("Share Post","jetpack-mu-wpcom")}))))},S=()=>{const{siteIntent:e}=(0,f.BH)();return e===f.nQ||e===f.$v?null:m().createElement(R,null)}},69084:(e,t,o)=>{"use strict";o.d(t,{Z:()=>c});var n=o(82674),r=o.n(n),a=o(3228),s=o(99196);function i(e){const{size:t=24,icon:o,className:n,...i}=e,c=`social-logo-${o}`,l=(0,a.Z)("social-logo",c,o,n);return s.createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:l,height:t,width:t},i),s.createElement("use",{xlinkHref:`#${o}`}))}const c=s.memo(i)},30534:(e,t,o)=>{"use strict";o.d(t,{Z:()=>n});const n=()=>React.createElement("svg",{viewBox:"0 0 0 0",xmlns:"http://www.w3.org/2000/svg",style:{display:"none"}},React.createElement("symbol",{viewBox:"0 0 24 24",id:"amazon"},React.createElement("g",null,React.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.589.589 0 00.672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061v.369zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015zm7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55zm.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684-.301-.386-1.99-.183-2.749-.092-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"behance"},React.createElement("g",null,React.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156.482.102.894.273 1.241.507.344.235.612.546.804.938.188.387.281.871.281 1.443 0 .619-.141 1.137-.421 1.551-.284.413-.7.751-1.255 1.014.756.218 1.317.601 1.689 1.146.374.549.557 1.205.557 1.975 0 .623-.12 1.161-.359 1.612a3.144 3.144 0 01-.973 1.114c-.408.288-.876.5-1.399.637A6.144 6.144 0 017.963 18H2V5.698h5.799m-.35 4.97c.481 0 .878-.114 1.192-.345.311-.228.463-.603.463-1.119 0-.286-.051-.523-.152-.707a1.123 1.123 0 00-.416-.427 1.733 1.733 0 00-.596-.216 3.616 3.616 0 00-.697-.06H4.709v2.874h2.74zm.151 5.237c.267 0 .521-.024.759-.077.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491.11-.206.163-.474.163-.798 0-.633-.18-1.084-.533-1.357-.356-.27-.83-.404-1.413-.404H4.709v3.388H7.6zm8.562-.041c.367.358.897.538 1.583.538.493 0 .92-.125 1.277-.374.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693-.701 0-1.332-.113-1.899-.337a4.041 4.041 0 01-1.439-.958 4.364 4.364 0 01-.904-1.484 5.433 5.433 0 01-.32-1.899c0-.666.11-1.288.329-1.863a4.36 4.36 0 01.933-1.492c.406-.42.885-.751 1.444-.994a4.63 4.63 0 011.857-.363c.754 0 1.414.145 1.98.44a3.941 3.941 0 011.389 1.181 4.82 4.82 0 01.783 1.69c.16.632.217 1.292.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496-.39 0-.714.066-.973.2a1.972 1.972 0 00-.621.491 1.772 1.772 0 00-.328.628 2.695 2.695 0 00-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41zm-3.916-3.446h4.985V6.524h-4.985v1.214z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"blogger-alt"},React.createElement("g",null,React.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 01-1.16-1.079l-.001-.013A5.813 5.813 0 0011.803 3H8.871a5.813 5.813 0 00-5.813 5.813v6.375a5.813 5.813 0 005.813 5.813h6.257a5.814 5.814 0 005.813-5.813l.002-4.121a1.164 1.164 0 00-1.164-1.163zM8.726 7.713h3.291a1.117 1.117 0 110 2.234H8.726a1.117 1.117 0 110-2.234zm6.601 8.657H8.72a1.057 1.057 0 110-2.114h6.607a1.057 1.057 0 110 2.114z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"blogger"},React.createElement("g",null,React.createElement("path",{d:"M14.722 14.019a.654.654 0 01-.654.654H9.977a.654.654 0 010-1.308h4.091c.361 0 .654.293.654.654zm-4.741-3.321h2.038a.692.692 0 000-1.384H9.981a.692.692 0 000 1.384zM21 5v14a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h14a2 2 0 012 2zm-3.456 6.39a.72.72 0 00-.72-.72h-.607l-.013.001a.72.72 0 01-.718-.668l-.001-.008a3.599 3.599 0 00-3.599-3.599H10.07a3.599 3.599 0 00-3.599 3.599v3.947a3.6 3.6 0 003.599 3.599h3.874a3.599 3.599 0 003.599-3.599l.001-2.552z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"codepen"},React.createElement("g",null,React.createElement("path",{d:"M22.016 8.84l-.007-.037c-.005-.025-.008-.048-.015-.072-.003-.015-.01-.028-.013-.042l-.023-.062-.02-.042a.391.391 0 00-.03-.057.357.357 0 00-.025-.038l-.035-.052-.03-.037c-.015-.017-.028-.032-.043-.045-.01-.012-.022-.023-.035-.035a.442.442 0 00-.048-.04l-.037-.03-.015-.012-9.161-6.096a.864.864 0 00-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 00-.078.082c-.012.013-.022.023-.03.037-.011.017-.025.035-.035.052a.498.498 0 01-.025.038c-.011.022-.021.039-.03.059a.39.39 0 01-.02.041 1.184 1.184 0 00-.034.106c-.007.023-.011.046-.016.071-.001.014-.005.025-.006.037a.73.73 0 00-.009.114v6.093c0 .037.003.075.008.112l.007.038c.005.023.008.047.015.072a.209.209 0 00.013.04c.007.022.013.042.022.063l.02.04a.4.4 0 00.055.096l.035.052.03.037a.603.603 0 00.042.045l.035.035c.015.013.032.028.048.04l.038.03.013.01 9.163 6.095a.858.858 0 00.959.004l9.163-6.095.015-.01c.013-.01.027-.02.037-.03a.534.534 0 00.048-.04c.013-.012.025-.023.035-.035.017-.015.03-.032.043-.045l.03-.037a.678.678 0 00.035-.052l.025-.038a.4.4 0 00.03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04.007-.025.01-.048.015-.072l.007-.037c.003-.042.007-.079.007-.117V8.954a.625.625 0 00-.008-.114zm-9.154-4.376l6.751 4.49-3.016 2.013-3.735-2.492V4.464zm-1.724 0v4.009l-3.735 2.494-3.014-2.013 6.749-4.49zm-7.439 6.098L5.853 12l-2.155 1.438v-2.876zm7.439 8.974l-6.749-4.491 3.015-2.011 3.735 2.492v4.01zM12 14.035L8.953 12 12 9.966 15.047 12 12 14.035zm.862 5.501v-4.009l3.735-2.492 3.016 2.011-6.751 4.49zm7.441-6.098L18.147 12l2.156-1.438v2.876z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"dribbble"},React.createElement("g",null,React.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10zm8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 003.661-5.725zm-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0012 20.555a8.488 8.488 0 003.336-.679zm-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637.111-.036.224-.07.337-.102a29.017 29.017 0 00-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 002.19 5.973zm-2.015-7.46c.382.005 3.901.02 7.897-1.041a54.477 54.477 0 00-3.167-4.94 8.572 8.572 0 00-4.73 5.981zm6.359-6.555a45.7 45.7 0 013.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.508 8.508 0 00-7.664-1.915zm8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27.028 27.028 0 01.751 1.678c2.842-.357 5.666.215 5.948.275a8.503 8.503 0 00-1.929-5.32z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"dropbox"},React.createElement("g",null,React.createElement("path",{d:"M12 6.134L6.069 9.797 2 6.54l5.883-3.843L12 6.134zm-10 6.92l5.883 3.843L12 13.459 6.069 9.797 2 13.054zm10 .405l4.116 3.439L22 13.054l-4.069-3.257L12 13.459zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663L22 6.54zm-9.989 7.66l-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153-4.128-3.426z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"eventbrite"},React.createElement("g",null,React.createElement("path",{d:"M18.041 3.931L5.959 3A2.96 2.96 0 003 5.959v12.083A2.96 2.96 0 005.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959zM16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048-.152.708-.304 1.416-.451 2.128.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.17 2.17 0 01-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3542.51 3542.51 0 011.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 01.79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783z","fill-rule":"evenodd","clip-rule":"evenodd"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"facebook"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"feed"},React.createElement("g",null,React.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333zM2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2zm2.5 15a2.5 2.5 0 100 5 2.5 2.5 0 000-5z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"flickr"},React.createElement("g",null,React.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"foursquare"},React.createElement("g",null,React.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2zm-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715-.072.353-.407 2.102-.448 2.295-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683l-.446 2.333z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"ghost"},React.createElement("g",null,React.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198v3.599zm10.792-3.599h-7.193v3.599h7.193v-3.599zm.003-7.198H3v3.599h17.998V10.2zm-7.195-7.197H3.005v3.599h10.798V3.003zm7.197 0h-3.599v3.599H21V3.003z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"github"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.548 9.548 0 0112 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A9.997 9.997 0 0022 12c0-5.523-4.477-10-10-10z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"google-alt"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672 0 2.022 1.62 3.672 3.606 3.672 2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"google-plus-alt"},React.createElement("g",null,React.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8V11zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"google-plus"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-1.919 14.05a4.051 4.051 0 010-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.229 2.229 0 00-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956zM19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19v1.5z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"google"},React.createElement("g",null,React.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.8 3.85 1.48l2.84-2.76C16.99 2.99 14.73 2 12.03 2c-5.52 0-10 4.48-10 10s4.48 10 10 10c5.77 0 9.6-4.06 9.6-9.77 0-.83-.11-1.42-.25-2.05h-9.36z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"instagram"},React.createElement("g",null,React.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673.315.315.51.615.673 1.035.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035-.315.315-.615.51-1.035.673-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.786 2.786 0 01-1.035-.673 2.786 2.786 0 01-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.401 4.401 0 00-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.411 4.411 0 001.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.411 4.411 0 0019.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3zm0 4.378a4.622 4.622 0 100 9.244 4.622 4.622 0 000-9.244zM12 15a3 3 0 110-6 3 3 0 010 6zm4.804-8.884a1.08 1.08 0 10.001 2.161 1.08 1.08 0 00-.001-2.161z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"link"},React.createElement("g",null,React.createElement("path",{d:"M17 13H7v-2h10v2zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 004-4v-2a4 4 0 00-4-4zM2 11v2a4 4 0 004 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 00-4 4z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"linkedin"},React.createElement("g",null,React.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 003 4.3v15.4A1.3 1.3 0 004.3 21h15.4a1.3 1.3 0 001.3-1.3V4.3A1.3 1.3 0 0019.7 3zM8.339 18.338H5.667v-8.59h2.672v8.59zM7.004 8.574a1.548 1.548 0 11-.002-3.096 1.548 1.548 0 01.002 3.096zm11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"mail"},React.createElement("g",null,React.createElement("path",{d:"M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4.236l-8 4.882-8-4.882V6h16v2.236z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"mastodon"},React.createElement("g",null,React.createElement("path",{d:"M20.617 13.92c-.265 1.361-2.37 2.851-4.788 3.14-1.261.15-2.502.288-3.826.228-2.165-.1-3.873-.517-3.873-.517 0 .211.013.411.039.599.282 2.136 2.119 2.264 3.859 2.324 1.756.06 3.32-.433 3.32-.433l.072 1.588s-1.228.659-3.417.781c-1.207.066-2.705-.031-4.45-.493-3.785-1.001-4.436-5.036-4.536-9.13-.03-1.215-.011-2.361-.011-3.32 0-4.186 2.742-5.413 2.742-5.413 1.383-.635 3.756-.902 6.224-.923h.06c2.467.021 4.842.288 6.225.923 0 0 2.742 1.227 2.742 5.413 0 0 .035 3.089-.382 5.233zm-2.854-4.909v5.069h-2.008V9.16c0-1.037-.436-1.563-1.309-1.563-.965 0-1.448.624-1.448 1.859v2.693h-1.996V9.456c0-1.235-.484-1.859-1.449-1.859-.873 0-1.309.526-1.309 1.563v4.92H6.236V9.011c0-1.035.263-1.859.793-2.468.547-.609 1.262-.921 2.15-.921 1.028 0 1.806.395 2.32 1.185l.501.839.5-.839c.514-.79 1.292-1.185 2.32-1.185.888 0 1.604.312 2.15.921.53.609.793 1.433.793 2.468z","fill-rule":"evenodd"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"medium-alt"},React.createElement("g",null,React.createElement("path",{d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6zm9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648-1.636 0-2.962-2.53-2.962-5.649s1.325-5.649 2.96-5.649zm4.577.589c.576 0 1.042 2.265 1.042 5.06 0 2.794-.466 5.06-1.042 5.06-.575 0-1.04-2.265-1.04-5.06 0-2.794.465-5.06 1.04-5.06z","fill-rule":"nonzero"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"medium"},React.createElement("g",null,React.createElement("path",{d:"M3 3v18h18V3H3zm15 4.26l-1 .93a.28.28 0 00-.11.27v6.8a.27.27 0 00.11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 00.17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 00.17-.54V9a.5.5 0 00-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18v.2z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"patreon"},React.createElement("g",null,React.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.975 5a5.05 5.05 0 00-5.041 5.046c0 2.774 2.261 5.03 5.04 5.03A5.034 5.034 0 0019 10.047C19 7.264 16.746 5 13.975 5zM5 18.44h2.461V5H5v13.44z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"pinterest-alt"},React.createElement("g",null,React.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.365.365 0 00-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"pinterest"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.297.297 0 01.069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"pocket"},React.createElement("g",null,React.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0020.222 3H3.839a1.823 1.823 0 00-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.897 9.897 0 003.91 1.727 10.06 10.06 0 004.049-.014.261.261 0 00.064-.023 9.906 9.906 0 003.753-1.691l.025-.018c.04-.029.08-.058.119-.089 2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.792 1.792 0 00-.098-.62zm-4.235 6.287l-4.704 4.512a1.372 1.372 0 01-1.898 0l-4.705-4.512a1.371 1.371 0 111.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 011.898 1.979z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"polldaddy"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10zm.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.775 7.775 0 00-6.094-2.94 7.764 7.764 0 00-5.896 2.703c-.006.003-.01.01-.016.014l-.152.159-.031.032a6.122 6.122 0 00-1.633 4.165 6.15 6.15 0 006.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.386 7.386 0 016.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68zm3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.673 3.673 0 00.2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.362 2.362 0 00.753 1.879c.501.476 1.23.667 1.871.529a2.067 2.067 0 001.469-1.134 1.912 1.912 0 00-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.698 1.698 0 00-1.437.679 1.525 1.525 0 00-.18 1.489c.004.011.01.021.016.03.193.634.774 1.1 1.467 1.117a1.618 1.618 0 01-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 01.499-1.539 2.016 2.016 0 011.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.515 2.515 0 01-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.825 2.825 0 01-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.216 5.216 0 01-1.947-.376 5.01 5.01 0 002.613-.079 4.955 4.955 0 002.514-1.751c.618-.828.95-1.861.901-2.869zM12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a6.548 6.548 0 00-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"print"},React.createElement("g",null,React.createElement("path",{d:"M9 16h6v2H9v-2zm13 1h-3v3a2 2 0 01-2 2H7a2 2 0 01-2-2v-3H2V9a2 2 0 012-2h1V5a2 2 0 012-2h10a2 2 0 012 2v2h1a2 2 0 012 2v8zM7 7h10V5H7v2zm10 7H7v6h10v-6zm3-3.5a1.5 1.5 0 10-3.001.001A1.5 1.5 0 0020 10.5z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"reddit"},React.createElement("g",null,React.createElement("path",{d:"M22 11.816a2.279 2.279 0 00-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.878 1.878 0 001.876 1.862 1.88 1.88 0 001.877-1.878 1.88 1.88 0 00-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 00-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 00-1.492-.581A2.279 2.279 0 002 11.816c0 .814.433 1.523 1.078 1.925a4.056 4.056 0 00-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97c0-.214-.02-.424-.053-.632A2.259 2.259 0 0022 11.816zm-3.224-7.422a1.1 1.1 0 11-.001 2.199 1.1 1.1 0 01.001-2.199zM2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.482 1.482 0 01-.525-1.129zm9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193zm8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185zm-11.64 1.703c-.76 0-1.397-.616-1.397-1.376 0-.76.637-1.397 1.397-1.397s1.376.637 1.376 1.397-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.616 1.376-1.376 1.376-.76 0-1.399-.616-1.399-1.376 0-.76.639-1.397 1.399-1.397s1.376.637 1.376 1.397zm-1.172 3.38a.389.389 0 010 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 11.55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 01.549 0z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"share"},React.createElement("g",null,React.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A2.981 2.981 0 0015 19a3 3 0 103-3z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"skype"},React.createElement("g",null,React.createElement("path",{d:"M10.113 2.699l.1-.02c.033.017.066.033.098.051l-.198-.031zM2.72 10.223l-.017.103c.018.032.033.064.051.095l-.034-.198zm18.555 3.548c.007-.035.011-.071.018-.106-.018-.031-.033-.064-.052-.095l.034.201zm-7.712 7.428c.032.019.065.035.096.053l.105-.017-.201-.036zM22 16.386a5.55 5.55 0 01-1.637 3.953 5.548 5.548 0 01-3.953 1.637 5.575 5.575 0 01-2.75-.725l.105-.017-.202-.035c.032.019.065.035.096.053a9.524 9.524 0 01-1.654.147 9.375 9.375 0 01-3.676-.743 9.38 9.38 0 01-3.002-2.023 9.397 9.397 0 01-2.023-3.002 9.375 9.375 0 01-.743-3.676c0-.546.049-1.093.142-1.628.018.032.033.064.051.095l-.034-.199-.017.103A5.586 5.586 0 012 7.615c0-1.493.582-2.898 1.637-3.953A5.555 5.555 0 017.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031c-.032-.018-.066-.034-.098-.051l.004-.001a9.543 9.543 0 011.788-.169 9.41 9.41 0 016.678 2.766 9.4 9.4 0 012.024 3.002 9.375 9.375 0 01.743 3.676c0 .575-.054 1.15-.157 1.712-.018-.031-.033-.064-.052-.095l.034.201c.007-.035.011-.071.018-.106.461.829.707 1.767.707 2.721zm-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237 0-.794.679-1.348 1.903-1.348 2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"spotify"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.622.622 0 01-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 11-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 01.206.857M17.81 13.7a.78.78 0 01-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 116.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 01.256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 11-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 11-.955 1.608"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"squarespace"},React.createElement("g",null,React.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 00-5.458 0l-6.141 6.141a.964.964 0 101.365 1.364l6.14-6.14a1.929 1.929 0 112.729 2.729l-6.022 6.022a1.929 1.929 0 002.729 0l4.658-4.658a3.86 3.86 0 000-5.458zm-2.047 2.047a.965.965 0 00-1.365 0l-6.14 6.14a1.929 1.929 0 01-2.729 0 .964.964 0 10-1.364 1.364 3.86 3.86 0 005.458 0l6.14-6.14a.966.966 0 000-1.364zm-2.047-6.141a3.858 3.858 0 00-5.458 0l-6.14 6.14a.964.964 0 101.364 1.364l6.141-6.14a1.929 1.929 0 012.729 0 .965.965 0 101.364-1.364zm-2.047 2.047a.964.964 0 00-1.364 0l-6.14 6.141a1.929 1.929 0 11-2.729-2.729l6.022-6.022a1.929 1.929 0 00-2.729 0L3.13 9.271a3.86 3.86 0 005.458 5.458l6.14-6.141a.963.963 0 00.001-1.364z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"stumbleupon"},React.createElement("g",null,React.createElement("path",{d:"M12 4.294a4.471 4.471 0 00-4.471 4.471v6.353a1.059 1.059 0 11-2.118 0v-2.824H2v2.941a4.471 4.471 0 008.942 0v-6.47a1.059 1.059 0 112.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0012 4.294zm1.059 8.059v2.882a4.471 4.471 0 008.941 0v-2.824h-3.412v2.824a1.059 1.059 0 11-2.118 0v-2.882l-2 .647-1.411-.647z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"telegram"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486-.15-.475-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238l-1.786 9.004z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"tiktok-alt"},React.createElement("g",null,React.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5 3a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2H5zm9.584 3h-2.052l.019 8.128a1.73 1.73 0 11-1.215-1.65v-2.084h-.533a3.804 3.804 0 103.803 3.803l-.022-4.207c1.268.968 2.85.869 2.85.869V8.82C14.47 8.636 14.584 6 14.584 6z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"tiktok"},React.createElement("g",null,React.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.011a6.338 6.338 0 11-6.34-6.338h.89v3.472a2.882 2.882 0 102.024 2.752L12.22 2z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"tumblr-alt"},React.createElement("g",null,React.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126l-.924-2.743z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"tumblr"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"twitch"},React.createElement("g",null,React.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636v-4.91zm-4.499 0h-1.637v4.91H12v-4.91zM4.228 3.178L3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178H4.228zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501v9.002z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"twitter-alt"},React.createElement("g",null,React.createElement("path",{d:"M22.23 5.924a8.212 8.212 0 01-2.357.646 4.115 4.115 0 001.804-2.27 8.221 8.221 0 01-2.606.996 4.103 4.103 0 00-6.991 3.742 11.647 11.647 0 01-8.457-4.287 4.087 4.087 0 00-.556 2.063 4.1 4.1 0 001.825 3.415 4.09 4.09 0 01-1.859-.513v.052a4.104 4.104 0 003.292 4.023 4.099 4.099 0 01-1.853.07 4.11 4.11 0 003.833 2.85 8.236 8.236 0 01-5.096 1.756 8.33 8.33 0 01-.979-.057 11.617 11.617 0 006.29 1.843c7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.531a8.298 8.298 0 002.047-2.123z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"twitter"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-2.534 6.71c.004.099.007.198.007.298 0 3.045-2.318 6.556-6.556 6.556a6.52 6.52 0 01-3.532-1.035 4.626 4.626 0 003.412-.954 2.307 2.307 0 01-2.152-1.6 2.295 2.295 0 001.04-.04 2.306 2.306 0 01-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 01-.713-3.076 6.54 6.54 0 004.749 2.407 2.305 2.305 0 013.926-2.101 4.602 4.602 0 001.463-.559 2.31 2.31 0 01-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"vimeo"},React.createElement("g",null,React.createElement("path",{d:"M22.396 7.164c-.093 2.026-1.507 4.799-4.245 8.32C15.322 19.161 12.928 21 10.97 21c-1.214 0-2.24-1.119-3.079-3.359l-1.68-6.159c-.623-2.239-1.29-3.36-2.005-3.36-.156 0-.701.328-1.634.98l-.978-1.261c1.027-.902 2.04-1.805 3.037-2.708C6.001 3.95 7.03 3.327 7.715 3.264c1.619-.156 2.616.951 2.99 3.321.404 2.557.685 4.147.841 4.769.467 2.121.981 3.181 1.542 3.181.435 0 1.09-.688 1.963-2.065.871-1.376 1.338-2.422 1.401-3.142.125-1.187-.343-1.782-1.401-1.782-.498 0-1.012.115-1.541.341 1.023-3.35 2.977-4.977 5.862-4.884 2.139.063 3.148 1.45 3.024 4.161z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"whatsapp"},React.createElement("g",null,React.createElement("path",{d:"M2.048 22l1.406-5.136a9.894 9.894 0 01-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.848 9.848 0 017.011 2.906 9.85 9.85 0 012.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.913 9.913 0 01-4.736-1.206L2.048 22zm5.497-3.172l.301.179a8.214 8.214 0 004.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.189 8.189 0 00-2.41-5.828 8.182 8.182 0 00-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.222 8.222 0 001.259 4.384l.196.312-.832 3.04 3.118-.819zm9.49-4.554c-.062-.103-.227-.165-.475-.289-.248-.124-1.465-.723-1.692-.806-.227-.083-.392-.124-.557.124-.165.248-.64.806-.784.971-.144.165-.289.186-.536.062-.248-.124-1.046-.385-1.991-1.229-.736-.657-1.233-1.468-1.378-1.715-.144-.248-.015-.382.109-.505.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413.083-.165.041-.31-.021-.434s-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.91.91 0 00-.66.31c-.226.248-.866.847-.866 2.066 0 1.219.887 2.396 1.011 2.562.124.165 1.746 2.666 4.23 3.739.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"woocommerce"},React.createElement("g",null,React.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3zm-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6.5 0 .8.3.9.9.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2.2.2.3.4.3.6s0 .4-.1.5z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"wordpress"},React.createElement("g",null,React.createElement("path",{d:"M12.158 12.786L9.46 20.625a8.984 8.984 0 005.526-.144.852.852 0 01-.065-.124l-2.763-7.571zM3.009 12a8.993 8.993 0 005.067 8.092L3.788 8.341A8.952 8.952 0 003.009 12zm15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596.04 0 .078.005.116.007A8.963 8.963 0 0012 3.009a8.982 8.982 0 00-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996c.456-1.169.684-2.137.684-2.907zm1.82-3.86c.039.286.06.593.06.924 0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.984 8.984 0 004.47-7.771 8.922 8.922 0 00-1.1-4.313zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"xanga"},React.createElement("g",null,React.createElement("path",{d:"M9 9h6v6H9V9zM3 9h6V3H3v6zm12 0h6V3h-6v6zm0 12h6v-6h-6v6zM3 21h6v-6H3v6z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"youtube"},React.createElement("g",null,React.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237zM9.935 14.594l-.001-5.62 5.404 2.82-5.403 2.8z"}))))},33119:(e,t,o)=>{"use strict";o.d(t,{Z:()=>m});var n=o(73625),r=o(55609),a=o(9818),s=o(69307),i=o(53961),c=o(86656),l=o(99196),u=o(48902),d=o(13026);function p(e){const{__:__,_n:_n}=(0,c.useI18n)(),t=(0,n.bU)(),{id:o,meta:p}=(0,a.useSelect)((e=>e("core/editor").getCurrentPost()),[]),{createNotice:m}=(0,a.useDispatch)(i.store),f=p?.reader_suggested_tags?JSON.parse(p.reader_suggested_tags):[],[h,g]=l.useState(f),{saveTags:w}=(0,d.Z)(o,h,(t=>{const o={number_of_original_suggested_tags:f.length,number_of_selected_tags:h.length,number_of_suggested_tags_selected:f.filter((e=>h.includes(e))).length,number_of_added_tags:t};(0,u.K)("calypso_reader_post_publish_add_tags",o),t>0?m("success",_n("Tag Added.","Tags Added.",t,"jetpack-mu-wpcom"),{type:"snackbar"}):m("warning",__("No Tags Added.","jetpack-mu-wpcom"),{type:"snackbar"}),e.setShouldShowSuggestedTags(!1)}));(0,s.useEffect)((()=>{0===f?.length?(t&&t.startsWith("en")&&(0,u.K)("calypso_reader_post_publish_no_suggested_tags"),e.setShouldShowSuggestedTags(!1)):(0,u.K)("calypso_reader_post_publish_show_suggested_tags",{number_of_original_suggested_tags:f.length})}),[]);const v=l.createElement(r.FormTokenField,{value:h,onChange:e=>{g(e),(0,u.K)("calypso_reader_post_publish_update_suggested_tags")},label:__("Tags","jetpack-mu-wpcom")});return l.createElement("div",{className:"wpcom-block-editor-post-published-sharing-modal__suggest-tags"},l.createElement("h1",null,__("Recommended tags:","jetpack-mu-wpcom")),l.createElement("p",null,__("Based on the topics and themes in your post, here are some suggested tags to consider:","jetpack-mu-wpcom")),v,l.createElement("p",null,__("Adding tags can help drive more traffic to your post.","jetpack-mu-wpcom")),l.createElement(r.Button,{className:"wpcom-block-editor-post-published-sharing-modal__save-tags",onClick:w,variant:"primary"},__("Add these tags","jetpack-mu-wpcom")))}const m=l.memo(p)},13026:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var n=o(86989),r=o.n(n);const a=(e,t,o)=>({saveTags:async function(){let n=0;try{n=(await r()({method:"POST",path:`/wpcom/v2/read/posts/${e}/tags/add`,data:{tags:t}})).added_tags??0}catch(e){console.error("Error: Unable to add tags. Reason: %s",JSON.stringify(e))}o(n)}})},77901:(e,t,o)=>{"use strict";o.d(t,{Z:()=>s});var n=o(86989),r=o.n(n),a=o(69307);const s=e=>{const[t,o]=(0,a.useState)(e);return{isDismissed:t,updateIsDismissed:function(e){r()({method:"PUT",path:"/wpcom/v2/block-editor/sharing-modal-dismissed",data:{wpcom_sharing_modal_dismissed:e}}).finally((()=>{o(e)}))}}}},32694:(e,t,o)=>{"use strict";o.d(t,{Sz:()=>i,yn:()=>c,z2:()=>p});var n=o(86989),r=o.n(n),a=o(9818),s=o(23418);const i="tour",c="blank-canvas-tour",l=(0,a.combineReducers)({welcomeGuideManuallyOpened:(e=!1,t)=>{switch(t.type){case"WPCOM_WELCOME_GUIDE_SHOW_SET":return void 0!==t.openedManually?t.openedManually:e;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return!1;default:return e}},showWelcomeGuide:(e=void 0,t)=>{switch(t.type){case"WPCOM_WELCOME_GUIDE_FETCH_STATUS_SUCCESS":return t.response.show_welcome_guide;case"WPCOM_WELCOME_GUIDE_SHOW_SET":return t.show;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return;default:return e}},tourRating:(e=void 0,t)=>{switch(t.type){case"WPCOM_WELCOME_GUIDE_TOUR_RATING_SET":return t.tourRating;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return;default:return e}},welcomeGuideVariant:(e=i,t)=>{switch(t.type){case"WPCOM_WELCOME_GUIDE_FETCH_STATUS_SUCCESS":return t.response.variant;case"WPCOM_HAS_USED_PATTERNS_MODAL":return e===c?i:e;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return i;default:return e}},shouldShowFirstPostPublishedModal:(e=!1,t)=>{switch(t.type){case"WPCOM_SET_SHOULD_SHOW_FIRST_POST_PUBLISHED_MODAL":return t.value;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return!1;default:return e}}}),u={*fetchWelcomeGuideStatus(){return{type:"WPCOM_WELCOME_GUIDE_FETCH_STATUS_SUCCESS",response:yield(0,s.apiFetch)({path:"/wpcom/v2/block-editor/nux"})}},*fetchShouldShowFirstPostPublishedModal(){return{type:"WPCOM_SET_SHOULD_SHOW_FIRST_POST_PUBLISHED_MODAL",value:(yield(0,s.apiFetch)({path:"/wpcom/v2/block-editor/should-show-first-post-published-modal"})).should_show_first_post_published_modal}},setShowWelcomeGuide:(e,{openedManually:t,onlyLocal:o}={})=>(o||r()({path:"/wpcom/v2/block-editor/nux",method:"POST",data:{show_welcome_guide:e}}),{type:"WPCOM_WELCOME_GUIDE_SHOW_SET",show:e,openedManually:t}),setTourRating:e=>({type:"WPCOM_WELCOME_GUIDE_TOUR_RATING_SET",tourRating:e}),setUsedPageOrPatternsModal:()=>({type:"WPCOM_HAS_USED_PATTERNS_MODAL"}),resetStore:()=>({type:"WPCOM_WELCOME_GUIDE_RESET_STORE"})},d={isWelcomeGuideManuallyOpened:e=>e.welcomeGuideManuallyOpened,isWelcomeGuideShown:e=>!!e.showWelcomeGuide,isWelcomeGuideStatusLoaded:e=>void 0!==e.showWelcomeGuide,getTourRating:e=>e.tourRating,getWelcomeGuideVariant:e=>"modal"===e.welcomeGuideVariant?i:e.welcomeGuideVariant,getShouldShowFirstPostPublishedModal:e=>e.shouldShowFirstPostPublishedModal};function p(){return(0,a.registerStore)("automattic/wpcom-welcome-guide",{reducer:l,actions:u,selectors:d,controls:s.controls,persist:!0})}},20599:(e,t,o)=>{"use strict";o.d(t,{Z:()=>d});var n=o(55609),r=o(9818),a=o(69307),s=o(65736),i=o(42557),c=o(6432),l=o(15077);const __=s.__,u=()=>{const[e,t]=(0,a.useState)(!1),[o,s]=(0,a.useState)(!1),u=(0,r.useSelect)((e=>!!e("core/edit-site"))),d=(0,a.useRef)(!1),{updateHasSeenVideoCelebrationModal:p}=(0,i.zf)(),{isEditorSaving:m}=(0,r.useSelect)((e=>{if(u){const t=e("core").isSavingEntityRecord("root","site")&&!e("core").isAutosavingEntityRecord("root","site"),o=e("core/edit-site").getPage(),n=parseInt(o?.context?.postId),r=e("core").isSavingEntityRecord("postType","page",n)&&!e("core").isAutosavingEntityRecord("postType","page",n),a=e("core").getEntityRecord("postType","page",n);return{isEditorSaving:t||r,linkUrl:a?.link}}const t=e("core/editor").getCurrentPost();return{isEditorSaving:e("core").isSavingEntityRecord("postType",t?.type,t?.id)&&!e("core").isAutosavingEntityRecord("postType",t?.type,t?.id)}})),f=(0,i.A_)(m);(0,a.useEffect)((()=>{!m&&d.current&&!o&&f&&(t(!0),s(!0),p(!0)),d.current=m}),[m,o,f,p]);const h=()=>t(!1);return React.createElement(c.Z,{isOpen:e,className:"wpcom-site-editor-video-celebration-modal",title:__("You’ve added your first video!","jetpack-mu-wpcom"),description:__("Feel free to keep editing your homepage, or continue and launch your site.","jetpack-mu-wpcom"),imageSrc:l,actionButtons:React.createElement(React.Fragment,null,React.createElement(n.Button,{onClick:h},__("Keep editing","jetpack-mu-wpcom")),React.createElement(n.Button,{isPrimary:!0,href:`https://wordpress.com/setup/videopress/launchpad?siteSlug=${window.location.hostname}`,target:"_blank",rel:"noopener noreferrer"},__("Continue and launch","jetpack-mu-wpcom"))),onRequestClose:h})},d=()=>{const{siteIntent:e}=(0,i.BH)();return"videopress"===e?React.createElement(u,null):null}},43384:(e,t,o)=>{"use strict";o.d(t,{Z:()=>h});var n=o(82674),r=o.n(n),a=o(55609),s=o(9818),i=o(69307),c=o(65736),l=o(48902),u=o(32124),d=o(87405),p=o(74154),m=o(58196);const __=c.__;function f({pageNumber:e,isLastPage:t,alignBottom:o=!1,heading:n,description:r,imgSrc:s}){return(0,i.useEffect)((()=>{(0,l.K)("calypso_editor_wpcom_nux_slide_view",{slide_number:e,is_last_slide:t,is_gutenboarding:window.calypsoifyGutenberg?.isGutenboarding})}),[]),React.createElement(a.GuidePage,{className:"wpcom-block-editor-nux__page"},React.createElement("div",{className:"wpcom-block-editor-nux__text"},React.createElement("h1",{className:"wpcom-block-editor-nux__heading"},n),React.createElement("div",{className:"wpcom-block-editor-nux__description"},r)),React.createElement("div",{className:"wpcom-block-editor-nux__visual"},React.createElement("img",{key:s,src:s,alt:"","aria-hidden":"true",className:"wpcom-block-editor-nux__image"+(o?" align-bottom":"")})))}const h=function(){const{show:e,isNewPageLayoutModalOpen:t,isManuallyOpened:o}=(0,s.useSelect)((e=>({show:e("automattic/wpcom-welcome-guide").isWelcomeGuideShown(),isNewPageLayoutModalOpen:e("automattic/starter-page-layouts")&&e("automattic/starter-page-layouts").isOpen(),isManuallyOpened:e("automattic/wpcom-welcome-guide").isWelcomeGuideManuallyOpened()}))),{setShowWelcomeGuide:n}=(0,s.useDispatch)("automattic/wpcom-welcome-guide");if((0,i.useEffect)((()=>{e&&!t&&(0,l.K)("calypso_editor_wpcom_nux_open",{is_gutenboarding:window.calypsoifyGutenberg?.isGutenboarding,is_manually_opened:o})}),[o,t,e]),!e||t)return null;const c=[{heading:__("Welcome to your website","jetpack-mu-wpcom"),description:__("Edit your homepage, add the pages you need, and change your site’s look and feel.","jetpack-mu-wpcom"),imgSrc:d,alignBottom:!0},{heading:__("Add or edit your content","jetpack-mu-wpcom"),description:__("Edit the placeholder content we’ve started you off with, or click the plus sign to add more content.","jetpack-mu-wpcom"),imgSrc:u},{heading:__("Preview your site as you go","jetpack-mu-wpcom"),description:__("As you edit your site content, click “Preview” to see your site the way your visitors will.","jetpack-mu-wpcom"),imgSrc:p,alignBottom:!0},{heading:__("Hidden until you’re ready","jetpack-mu-wpcom"),description:__("Your site will remain hidden until launched. Click “Launch” in the toolbar to share it with the world.","jetpack-mu-wpcom"),imgSrc:m,alignBottom:!0}];return React.createElement(a.Guide,{className:"wpcom-block-editor-nux",contentLabel:__("Welcome to your website","jetpack-mu-wpcom"),finishButtonText:__("Get started","jetpack-mu-wpcom"),onFinish:()=>{(0,l.K)("calypso_editor_wpcom_nux_dismiss",{is_gutenboarding:window.calypsoifyGutenberg?.isGutenboarding}),n(!1,{openedManually:!1})}},c.map(((e,t)=>React.createElement(f,r()({key:e.heading,pageNumber:t+1,isLastPage:t===c.length-1},e)))))}},4894:(e,t,o)=>{"use strict";o.d(t,{j:()=>r});var n=o(9818);const r=()=>(0,n.select)("core/edit-site")?"site":(0,n.select)("core/editor")?(0,n.select)("core/editor").getCurrentPostType():void 0},4476:(e,t,o)=>{"use strict";o.d(t,{Z:()=>d});var n=o(73625),r=o(9818),a=o(69307),s=o(42557),i=o(48902),c=o(4894),l=o(52906);function u({siteIntent:e}){const t=(0,s.v9)(window._currentSiteId),o=(0,n.bU)(),{setShowWelcomeGuide:u}=(0,r.useDispatch)("automattic/wpcom-welcome-guide"),d=window.calypsoifyGutenberg?.isGutenboarding,p=()=>new URLSearchParams(document.location.search).has("welcome-tour-next"),m=(0,r.useSelect)((e=>!!e("core/edit-site")),[]),f=(0,r.useSelect)((e=>e("core").getCurrentTheme())),h=f?.name?.raw?.toLowerCase()??null,g=(0,l.Z)(o,p(),m,h,e);if("sell"!==e||!t||"ecommerce-bundle"===t.product_slug){const e=g.findIndex((e=>"payment-block"===e.slug));g.splice(e,1)}const{isInserterOpened:w,isSidebarOpened:v,isSettingsOpened:b}=(0,r.useSelect)((e=>({isInserterOpened:e("core/edit-post").isInserterOpened(),isSidebarOpened:e("automattic/block-editor-nav-sidebar")?.isSidebarOpened()??!1,isSettingsOpened:"edit-post/document"===e("core/interface").getActiveComplementaryArea("core/edit-post")})),[]),y=v||window.matchMedia("(max-width: 782px)").matches&&(w||b),_=(0,c.j)(),E={steps:g,closeHandler:(t,o,n)=>{(0,i.K)("calypso_editor_wpcom_tour_dismiss",{is_gutenboarding:d,slide_number:o+1,action:n,intent:e,editor_type:_}),u(!1,{openedManually:!1})},isMinimized:y,options:{tourRating:{enabled:!0,useTourRating:()=>(0,r.useSelect)((e=>e("automattic/wpcom-welcome-guide").getTourRating()),[]),onTourRate:t=>{(0,r.dispatch)("automattic/wpcom-welcome-guide").setTourRating(t),(0,i.K)("calypso_editor_wpcom_tour_rate",{thumbs_up:"thumbs-up"===t,is_gutenboarding:!1,intent:e,editor_type:_})}},callbacks:{onMinimize:t=>{(0,i.K)("calypso_editor_wpcom_tour_minimize",{is_gutenboarding:d,slide_number:t+1,intent:e,editor_type:_})},onMaximize:t=>{(0,i.K)("calypso_editor_wpcom_tour_maximize",{is_gutenboarding:d,slide_number:t+1,intent:e,editor_type:_})},onStepViewOnce:t=>{const o=g.length-1,{heading:n}=g[t].meta;(0,i.K)("calypso_editor_wpcom_tour_slide_view",{slide_number:t+1,is_last_slide:t===o,slide_heading:n,is_gutenboarding:d,intent:e,editor_type:_})}},effects:{spotlight:p()?{styles:{minWidth:"50px",minHeight:"50px",borderRadius:"2px"}}:void 0,arrowIndicator:!1},popperModifiers:[(0,a.useMemo)((()=>({name:"offset",options:{offset:({placement:e,reference:t})=>{if("bottom"===e){const e=document.querySelector(".edit-post-header");if(!e)return;const o=e.getBoundingClientRect();return[0,o.height+o.y-(t.height+t.y)+16]}return[0,0]}}})),[])],classNames:"wpcom-editor-welcome-tour",portalParentElement:document.getElementById("wpwrap")}};return null===h?null:React.createElement(s.ny,{config:E})}const d=function(){const{show:e,isNewPageLayoutModalOpen:t,isManuallyOpened:o}=(0,r.useSelect)((e=>({show:e("automattic/wpcom-welcome-guide").isWelcomeGuideShown(),isNewPageLayoutModalOpen:e("automattic/starter-page-layouts")&&e("automattic/starter-page-layouts").isOpen(),isManuallyOpened:e("automattic/wpcom-welcome-guide").isWelcomeGuideManuallyOpened()})),[]),{siteIntent:d,siteIntentFetched:p}=(0,s.BH)(),m=(0,n.bU)(),f=(0,c.j)(),{siteIntent:h}=(0,s.BH)(),g=h===s.nQ||h===s.$v,w=(0,l.Z)(m,!1,!1,null,d);return(0,s.O9)([w[0]]),(0,a.useEffect)((()=>{g||(e||t)&&p&&(0,i.K)("calypso_editor_wpcom_tour_open",{is_gutenboarding:window.calypsoifyGutenberg?.isGutenboarding,is_manually_opened:o,intent:d,editor_type:f})}),[t,o,e,d,p,f,g]),!e||t||g?null:React.createElement(u,{siteIntent:d})}},52906:(e,t,o)=>{"use strict";o.d(t,{Z:()=>p});var n=o(34369),r=o(55609),a=o(94333),s=o(69307),i=o(65736),c=o(96483),l=o(48902),u=o(4894);const __=i.__,_x=i._x;function d(e){const t="https://s0.wp.com/i/editor-welcome-tour";return{addBlock:{desktop:{src:`${t}/slide-add-block.gif`,type:"image/gif"},mobile:{src:`${t}/slide-add-block_mobile.gif`,type:"image/gif"}},allBlocks:{desktop:{src:`${t}/slide-all-blocks.gif`,type:"image/gif"}},finish:{desktop:{src:`${t}/slide-finish.png`,type:"image/gif"}},makeBold:{desktop:{src:`${t}/slide-make-bold.gif`,type:"image/gif"}},moreOptions:{desktop:{src:`${t}/slide-more-options.gif`,type:"image/gif"},mobile:{src:`${t}/slide-more-options_mobile.gif`,type:"image/gif"}},moveBlock:{desktop:{src:`${t}/slide-move-block.gif`,type:"image/gif"},mobile:{src:`${t}/slide-move-block_mobile.gif`,type:"image/gif"}},findYourWay:{desktop:{src:`${t}/slide-find-your-way.gif`,type:"image/gif"}},undo:{desktop:{src:`${t}/slide-undo.gif`,type:"image/gif"}},welcome:{desktop:{src:`${t}/slide-welcome.png`,type:"image/png"},mobile:{src:`${t}/slide-welcome_mobile.jpg`,type:"image/jpeg"}},editYourSite:{desktop:{src:"https://s.w.org/images/block-editor/edit-your-site.gif?1",type:"image/gif"},mobile:{src:"https://s.w.org/images/block-editor/edit-your-site.gif?1",type:"image/gif"}},videomakerWelcome:{desktop:{src:`${t}/slide-videomaker-welcome.png`,type:"image/png"}},videomakerEdit:{desktop:{src:`${t}/slide-videomaker-edit.png`,type:"image/png"}}}[e]}const p=function(e,t=!1,o=!1,i=null,p=void 0){const m="videomaker"===(i??""),f=!!(0,c.getQueryArg)(window.location.href,"assembler"),h=(0,a.useViewportMatch)("mobile","<"),g=`https://wordpress.com/home/${window.location.hostname}?courseSlug=site-editor-quick-start`,w=(0,u.j)(),v=()=>{(0,l.K)("calypso_editor_wpcom_tour_site_editor_course_link_click",{is_pattern_assembler:f,intent:p,editor_type:w})};return[{slug:"welcome",meta:{heading:f?__("Nice job! Your new page is set up.","jetpack-mu-wpcom"):_x("Welcome to WordPress!","jetpack-mu-wpcom","jetpack-mu-wpcom"),descriptions:{desktop:f?(0,s.createInterpolateElement)(__("This is the Site Editor, where you can change everything about your site, including adding content to your homepage. Watch these short videos and take this tour to get started.","jetpack-mu-wpcom"),{link_to_site_editor_course:React.createElement(r.ExternalLink,{href:g,onClick:v,children:null})}):o?__("Take this short, interactive tour to learn the fundamentals of the WordPress Site Editor.","jetpack-mu-wpcom"):_x("Take this short, interactive tour to learn the fundamentals of the WordPress editor.","jetpack-mu-wpcom","jetpack-mu-wpcom"),mobile:null},imgSrc:d(m?"videomakerWelcome":"welcome"),imgLink:f?{href:g,playable:!0,onClick:v}:void 0},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:["is-with-extra-padding","calypso_editor_wpcom_draft_post_modal_show"]}}},{slug:"everything-is-a-block",meta:{heading:__("Everything is a block","jetpack-mu-wpcom"),descriptions:{desktop:__("In the WordPress Editor, paragraphs, images, and videos are all blocks.","jetpack-mu-wpcom"),mobile:null},imgSrc:d("allBlocks")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:"wpcom-editor-welcome-tour__step"}}},{slug:"add-block",...t&&{referenceElements:{mobile:".edit-post-header .edit-post-header__toolbar .components-button.edit-post-header-toolbar__inserter-toggle",desktop:".edit-post-header .edit-post-header__toolbar .components-button.edit-post-header-toolbar__inserter-toggle"}},meta:{heading:__("Adding a new block","jetpack-mu-wpcom"),descriptions:{desktop:__("Click + to open the inserter. Then click the block you want to add.","jetpack-mu-wpcom"),mobile:__("Tap + to open the inserter. Then tap the block you want to add.","jetpack-mu-wpcom")},imgSrc:d("addBlock")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:["is-with-extra-padding","wpcom-editor-welcome-tour__step"]}}},{slug:"edit-block",meta:{heading:__("Click a block to change it","jetpack-mu-wpcom"),descriptions:{desktop:m?__("Use the toolbar to change the appearance of a selected block. Try replacing a video!","jetpack-mu-wpcom"):_x("Use the toolbar to change the appearance of a selected block. Try making it bold.","jetpack-mu-wpcom","jetpack-mu-wpcom"),mobile:null},imgSrc:d(m?"videomakerEdit":"makeBold")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:"wpcom-editor-welcome-tour__step"}}},{slug:"settings",...t&&{referenceElements:{mobile:".edit-post-header .edit-post-header__settings .interface-pinned-items > button:nth-child(1)",desktop:".edit-post-header .edit-post-header__settings .interface-pinned-items > button:nth-child(1)"}},meta:{heading:__("More Options","jetpack-mu-wpcom"),descriptions:{desktop:__("Click the settings icon to see even more options.","jetpack-mu-wpcom"),mobile:__("Tap the settings icon to see even more options.","jetpack-mu-wpcom")},imgSrc:d("moreOptions")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:["is-with-extra-padding","wpcom-editor-welcome-tour__step"]}}},...h?[]:[{slug:"find-your-way",meta:{heading:__("Find your way","jetpack-mu-wpcom"),descriptions:{desktop:__("Use List View to see all the blocks you've added. Click and drag any block to move it around.","jetpack-mu-wpcom"),mobile:null},imgSrc:d("findYourWay")},options:{classNames:{desktop:["is-with-extra-padding","wpcom-editor-welcome-tour__step"],mobile:"wpcom-editor-welcome-tour__step"}}}],...h?[]:[{slug:"undo",...t&&{referenceElements:{desktop:".edit-post-header .edit-post-header__toolbar .components-button.editor-history__undo"}},meta:{heading:__("Undo any mistake","jetpack-mu-wpcom"),descriptions:{desktop:__("Click the Undo button if you've made a mistake.","jetpack-mu-wpcom"),mobile:null},imgSrc:d("undo")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:"wpcom-editor-welcome-tour__step"}}}],{slug:"drag-drop",meta:{heading:__("Drag & drop","jetpack-mu-wpcom"),descriptions:{desktop:__("To move blocks around, click and drag the handle.","jetpack-mu-wpcom"),mobile:__("To move blocks around, tap the up and down arrows.","jetpack-mu-wpcom")},imgSrc:d("moveBlock")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:["is-with-extra-padding","wpcom-editor-welcome-tour__step"]}}},{slug:"payment-block",meta:{heading:__("The Payments block","jetpack-mu-wpcom"),descriptions:{desktop:React.createElement(React.Fragment,null,__("The Payments block allows you to accept payments for one-time, monthly recurring, or annual payments on your website","jetpack-mu-wpcom"),React.createElement("br",null),React.createElement(r.ExternalLink,{href:(0,n.aq)("https://wordpress.com/support/video-tutorials-add-payments-features-to-your-site-with-our-guides/#how-to-use-the-payments-block-video",e),rel:"noopener noreferrer"},__("Learn more","jetpack-mu-wpcom"))),mobile:null},imgSrc:d("welcome")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:"wpcom-editor-welcome-tour__step"}}},...o?[{slug:"edit-your-site",meta:{heading:__("Edit your site","jetpack-mu-wpcom"),descriptions:{desktop:(0,s.createInterpolateElement)(__("Design everything on your site - from the header right down to the footer - in the Site Editor. Learn more","jetpack-mu-wpcom"),{link_to_fse_docs:React.createElement(r.ExternalLink,{href:(0,n.aq)("https://wordpress.com/support/full-site-editing/",e),children:null})}),mobile:__("Design everything on your site - from the header right down to the footer - in the Site Editor.","jetpack-mu-wpcom")},imgSrc:d("editYourSite")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:["is-with-extra-padding","wpcom-editor-welcome-tour__step"]}}}]:[],{slug:"congratulations",meta:{heading:__("Congratulations!","jetpack-mu-wpcom"),descriptions:{desktop:(0,s.createInterpolateElement)(__("You've learned the basics. Remember, your site is private until you decide to launch. View the block editing docs to learn more.","jetpack-mu-wpcom"),{link_to_launch_site_docs:React.createElement(r.ExternalLink,{href:(0,n.aq)("https://wordpress.com/support/settings/privacy-settings/#launch-your-site",e),children:null}),link_to_editor_docs:React.createElement(r.ExternalLink,{href:(0,n.aq)("https://wordpress.com/support/wordpress-editor/",e),children:null})}),mobile:null},imgSrc:d("finish")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:"wpcom-editor-welcome-tour__step"}}}]}},40600:(e,t,o)=>{"use strict";var n=o(13643);e.exports=function(){var e=n.apply(n,arguments);return e.charAt(0).toUpperCase()+e.slice(1)}},39209:(e,t,o)=>{"use strict";o.d(t,{Z:()=>n});const n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},21434:(e,t,o)=>{"use strict";var n;o.d(t,{Z:()=>a});var r=new Uint8Array(16);function a(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(r)}},2509:(e,t,o)=>{"use strict";o.d(t,{Z:()=>s});for(var n=o(85634),r=[],a=0;a<256;++a)r.push((a+256).toString(16).substr(1));const s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(r[e[t+0]]+r[e[t+1]]+r[e[t+2]]+r[e[t+3]]+"-"+r[e[t+4]]+r[e[t+5]]+"-"+r[e[t+6]]+r[e[t+7]]+"-"+r[e[t+8]]+r[e[t+9]]+"-"+r[e[t+10]]+r[e[t+11]]+r[e[t+12]]+r[e[t+13]]+r[e[t+14]]+r[e[t+15]]).toLowerCase();if(!(0,n.Z)(o))throw TypeError("Stringified UUID is invalid");return o}},19746:(e,t,o)=>{"use strict";o.d(t,{Z:()=>a});var n=o(21434),r=o(2509);const a=function(e,t,o){var a=(e=e||{}).random||(e.rng||n.Z)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){o=o||0;for(var s=0;s<16;++s)t[o+s]=a[s];return t}return(0,r.Z)(a)}},85634:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var n=o(39209);const r=function(e){return"string"==typeof e&&n.Z.test(e)}},52317:(e,t,o)=>{var n=o(40600),r=o(65804);function a(e,t){if(t)if("number"==typeof t)s(e,t);else{t.status_code&&s(e,t.status_code),t.error&&(e.name=c(t.error)),t.error_description&&(e.message=t.error_description);var o=t.errors;if(o)a(e,o.length?o[0]:o);for(var n in t)e[n]=t[n];e.status&&(t.method||t.path)&&i(e)}}function s(e,t){e.name=c(r[t]),e.status=e.statusCode=t,i(e)}function i(e){var t=e.status,o=e.method,n=e.path,r=t+" status code",a=o||n;a&&(r+=' for "'),o&&(r+=o),a&&(r+=" "),n&&(r+=n),a&&(r+='"'),e.message=r}function c(e){return n(String(e).replace(/error$/i,""),"error")}e.exports=function e(){for(var t=new Error,o=0;o{"use strict";o.d(t,{ZP:()=>S});var n=o(951),r=o.n(n),a=o(19746),s=o(52317),i=o.n(s);const c=r()("wpcom-proxy-request"),l="https://public-api.wordpress.com";let u=null;const d=(()=>{let e=!1;try{window.postMessage({toString:function(){e=!0}},"*")}catch(e){}return e})(),p=(()=>{try{return new window.File(["a"],"test.jpg",{type:"image/jpeg"}),!0}catch(e){return!1}})();let m,f=null,h=!1;const g={},w=(e,t)=>{const o=Object.assign({},e);c("request(%o)",o),f||E();const n=(0,a.Z)();o.callback=n,o.supports_args=!0,o.supports_error_obj=!0,o.supports_progress=!0,o.method=String(o.method||"GET").toUpperCase(),c("params object: %o",o);const r=new window.XMLHttpRequest;if(r.params=o,g[n]=r,"function"==typeof t){let e=!1;const o=o=>{if(e)return;e=!0;const n=o.response??r.response;c("body: ",n),c("headers: ",o.headers),t(null,n,o.headers)},n=o=>{if(e)return;e=!0;const n=o.error??o.err??o;c("error: ",n),c("headers: ",o.headers),t(n,null,o.headers)};r.addEventListener("load",o),r.addEventListener("abort",n),r.addEventListener("error",n)}return"function"==typeof o.onStreamRecord&&(u=o.onStreamRecord,delete o.onStreamRecord),h?b(o):(c("buffering API request since proxying