From 31be54a28fe1f2fdc4dcdfe0826ccffb7ca45161 Mon Sep 17 00:00:00 2001 From: Henrique Mouta Date: Mon, 2 Dec 2024 10:34:34 +0000 Subject: [PATCH] Rename `post-table-*` to `posts-table-*` --- build/content-helper/dashboard-page-rtl.css | 2 +- build/content-helper/dashboard-page.asset.php | 2 +- build/content-helper/dashboard-page.css | 2 +- build/content-helper/dashboard-page.js | 2 +- .../dashboard-page/components/posts-table/component.tsx | 4 ++-- .../dashboard-page/components/posts-table/style.scss | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/build/content-helper/dashboard-page-rtl.css b/build/content-helper/dashboard-page-rtl.css index e3e4559b5..c3b0ba96b 100644 --- a/build/content-helper/dashboard-page-rtl.css +++ b/build/content-helper/dashboard-page-rtl.css @@ -1,2 +1,2 @@ #wp-parsely-dashboard-widget,.components-button[aria-controls="wp-parsely-block-editor-sidebar:wp-parsely-content-helper"],.editor-post-excerpt,.parsely-dashboard-container,.settings_page_parsely,.wp-parsely-block-overlay,.wp-parsely-content-helper,.wp-parsely-excerpt-generator,.wp-parsely-panel,.wp-parsely-popover,.wp-parsely-preview-editor,.wp-parsely-smart-linking-close-dialog,.wp-parsely-smart-linking-review-modal,.wp-parsely-suggested-title-modal{--base-font:"source-sans-pro",arial,sans-serif;--numeric-font:"ff-din-round-web",sans-serif;--parsely-green-components:107,42%,46%;--parsely-green:hsl(var(--parsely-green-components));--parsely-green-10:#c7ecb1;--parsely-green-65:#2a691b;--gray-200:#f7f8f9;--gray-300:#edeeef;--gray-400:#d7dbdf;--gray-500:#959da5;--gray-600:#586069;--gray-700:#444d56;--gray-900:#24292e;--blue-500:#44a8e5;--blue-550:#2596db;--green-500:#7bc01b;--green-900:#3d6307;--ref-direct:205,13%,52%;--ref-internal:161,91%,41%;--ref-social:210,72%,41%;--ref-search:42,100%,50%;--ref-other:3,76%,58%;--base-text:var(--gray-900);--base-text-2:var(--gray-600);--base-3:var(--gray-400);--border:var(--gray-400);--data:var(--green-500);--control:var(--blue-500);--grid-unit-5:0.25rem;--grid-unit-10:0.5rem;--grid-unit-15:0.75rem;--grid-unit-20:1rem;--grid-unit-25:1.25rem;--grid-unit-30:1.5rem;--grid-unit-40:2rem;--grid-unit-50:2.5rem;--grid-unit-60:3rem;--font-size--smaller:0.688rem;--font-size--small:0.75rem;--font-size--medium:0.875rem;--font-size--large:1rem;--font-size--extra-large:1.2rem;--font-size--bigger:2rem;--black:#000;--sidebar-black:#1e1e1e;--sidebar-white:#f0f0f0;--dashboard-accent:#b9f16b;--dashboard-width:64rem}.parsely-dashboard-page-body,.parsely-dashboard-page-header{margin:0 auto;padding:var(--grid-unit-40) var(--grid-unit-40) var(--grid-unit-60) var(--grid-unit-40)}.dashboard-header-background{background:linear-gradient(-303deg,#000 30.51%,#487006 133.77%)}.dashboard-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:var(--grid-unit-25);justify-content:space-between}.dashboard-header .dashboard-header-summary{align-items:flex-start;color:var(--sidebar-white);display:flex;flex-direction:column;gap:var(--grid-unit-30);width:18.75rem}.dashboard-header .dashboard-header-summary .summary-info{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:var(--grid-unit-10)}.dashboard-header .dashboard-header-summary .summary-info .summary-title{align-self:stretch;font-size:var(--font-size--bigger);font-style:normal;font-weight:600;line-height:2.8125rem}.dashboard-header .dashboard-header-summary .summary-info .summary-text{align-self:stretch;font-size:var(--font-size--small);font-style:normal;font-weight:400;line-height:var(--font-size--large)}.dashboard-header .dashboard-header-summary .summary-button button{background:transparent;border:1px solid var(--sidebar-white);box-shadow:none;color:var(--sidebar-white);cursor:pointer;margin-top:var(--grid-unit-20);padding:var(--grid-unit-10) var(--grid-unit-20)}.dashboard-header .dashboard-header-summary .summary-button button:hover{background:var(--sidebar-white);box-shadow:none;color:var(--sidebar-black)}.dashboard-header .dashboard-header-stats{align-content:flex-start;align-items:flex-start;align-self:stretch;display:flex;flex-wrap:wrap;gap:var(--grid-unit-30);justify-content:flex-end;width:31.25rem}.dashboard-header .dashboard-header-stats .header-stat-card{align-items:flex-start;color:var(--sidebar-white);display:flex;flex-direction:column;gap:var(--grid-unit-05);height:var(--grid-unit-60);justify-content:center;width:9.375rem}.dashboard-header .dashboard-header-stats .header-stat-card .card-title{align-items:center;display:flex;font-size:var(--font-size--small);font-style:normal;font-weight:400;gap:var(--grid-unit-05);line-height:var(--font-size--large)}.dashboard-header .dashboard-header-stats .header-stat-card .card-title svg{fill:var(--sidebar-white)}.dashboard-header .dashboard-header-stats .header-stat-card .card-value{align-items:center;display:flex;font-size:1.5rem;font-style:normal;font-weight:600;gap:var(--grid-unit-05);letter-spacing:-.48px;line-height:2rem}.dashboard-header .dashboard-header-stats .header-stat-card .card-value .card-change{font-size:var(--font-size--medium);font-style:normal;font-weight:500;line-height:var(--font-size--large)}.dashboard-header .dashboard-header-stats .stats-top{align-items:flex-start;border-bottom:1px solid var(--sidebar-white);display:flex;gap:var(--grid-unit-30);padding-bottom:var(--grid-unit-30)}.dashboard-header .dashboard-header-stats .stats-top .card-title{color:var(--dashboard-accent)}.dashboard-header .dashboard-header-stats .stats-top .card-title svg{fill:var(--dashboard-accent)}.dashboard-header .dashboard-header-stats .stats-top .card-value{color:var(--dashboard-accent)}.dashboard-header .dashboard-header-stats .stats-top .stat-intro{justify-content:flex-start}.dashboard-header .dashboard-header-stats .stats-top .stat-intro .card-title{color:var(--sidebar-white);font-size:var(--font-size--medium);font-style:normal;font-weight:500;line-height:var(--font-size--extra-large)} -#wp-parsely-dashboard-widget,.components-button[aria-controls="wp-parsely-block-editor-sidebar:wp-parsely-content-helper"],.editor-post-excerpt,.parsely-dashboard-container,.settings_page_parsely,.wp-parsely-block-overlay,.wp-parsely-content-helper,.wp-parsely-excerpt-generator,.wp-parsely-panel,.wp-parsely-popover,.wp-parsely-preview-editor,.wp-parsely-smart-linking-close-dialog,.wp-parsely-smart-linking-review-modal,.wp-parsely-suggested-title-modal{--base-font:"source-sans-pro",arial,sans-serif;--numeric-font:"ff-din-round-web",sans-serif;--parsely-green-components:107,42%,46%;--parsely-green:hsl(var(--parsely-green-components));--parsely-green-10:#c7ecb1;--parsely-green-65:#2a691b;--gray-200:#f7f8f9;--gray-300:#edeeef;--gray-400:#d7dbdf;--gray-500:#959da5;--gray-600:#586069;--gray-700:#444d56;--gray-900:#24292e;--blue-500:#44a8e5;--blue-550:#2596db;--green-500:#7bc01b;--green-900:#3d6307;--ref-direct:205,13%,52%;--ref-internal:161,91%,41%;--ref-social:210,72%,41%;--ref-search:42,100%,50%;--ref-other:3,76%,58%;--base-text:var(--gray-900);--base-text-2:var(--gray-600);--base-3:var(--gray-400);--border:var(--gray-400);--data:var(--green-500);--control:var(--blue-500);--grid-unit-5:0.25rem;--grid-unit-10:0.5rem;--grid-unit-15:0.75rem;--grid-unit-20:1rem;--grid-unit-25:1.25rem;--grid-unit-30:1.5rem;--grid-unit-40:2rem;--grid-unit-50:2.5rem;--grid-unit-60:3rem;--font-size--smaller:0.688rem;--font-size--small:0.75rem;--font-size--medium:0.875rem;--font-size--large:1rem;--font-size--extra-large:1.2rem;--font-size--bigger:2rem;--black:#000;--sidebar-black:#1e1e1e;--sidebar-white:#f0f0f0;--dashboard-accent:#b9f16b;--dashboard-width:64rem}.parsely-table-container table{border-collapse:collapse;border-spacing:0;width:100%}.parsely-table-container table tr{display:flex;gap:var(--grid-unit-20);padding:var(--grid-unit-15) 0;position:relative}.parsely-table-container table tr:after{background-color:var(--border);bottom:0;content:"";height:1px;right:50%;position:absolute;transform:translateX(50%);width:100vw}.parsely-table-container table tr td,.parsely-table-container table tr th{align-self:center;text-align:right}.parsely-table-container table tr td.post-info,.parsely-table-container table tr th.post-info-header{width:70%}.parsely-table-container table tr th.boost-perf-header{overflow:visible;position:relative;white-space:nowrap;z-index:1}.parsely-table-container table tr td.actions{align-items:center;display:flex;flex:1;gap:var(--grid-unit-10);justify-content:flex-end;min-height:2.5rem;padding-left:var(--grid-unit-20);width:11.25rem}.parsely-table-container table tr td.actions a{text-decoration:none}.parsely-table-container table tr th{color:var(--sidebar-black);font-size:var(--font-size--small);font-style:normal;font-weight:600;line-height:var(--font-size--large);text-transform:uppercase}.parsely-table-container .post-table-post-info{align-items:flex-start;display:flex;flex:1 0 0;gap:var(--grid-unit-20);min-height:2.5rem}.parsely-table-container .post-table-post-info .thumbnail{align-self:center}.parsely-table-container .post-table-post-info .thumbnail img{border-radius:3px;height:2.8125rem;width:2.8125rem}.parsely-table-container .post-table-post-info .thumbnail .icon-container{align-items:center;background:var(--gray-500);border-radius:3px;display:flex;height:2.8125rem;justify-content:center;width:2.8125rem}.parsely-table-container .post-table-post-info .thumbnail .icon-container svg{fill:var(--sidebar-white)}.parsely-table-container .post-table-post-info .post-details{align-items:flex-start;display:flex;flex:1 0 0;flex-direction:column;gap:var(--grid-unit-05,4px);justify-content:center;min-height:var(--grid-unit-40)}.parsely-table-container .post-table-post-info .post-details .post-title{align-items:center;align-self:stretch;display:flex;font-size:var(--font-size--medium);font-style:normal;font-weight:600;gap:var(--grid-unit-5);line-height:1.25rem;overflow:hidden;text-overflow:ellipsis}.parsely-table-container .post-table-post-info .post-details .post-meta{align-content:center;align-items:center;align-self:stretch;color:var(--gray-500);display:flex;flex-wrap:wrap;gap:var(--grid-unit-5) var(--grid-unit-10)}.parsely-table-container .post-table-post-info .post-details .post-categories{display:flex;gap:var(--grid-unit-5)}.parsely-table-container .post-table-post-info .post-details .post-categories span{background:var(--gray-400);border-radius:.375rem;color:var(--sidebar-black);font-size:var(--font-size--smaller);font-weight:500;line-height:var(--font-size--large);padding:2px var(--grid-unit-10)}.parsely-table-container .post-table-pagination-controls{align-items:center;align-self:stretch;display:flex;font-size:var(--font-size--smaller);font-style:normal;font-weight:600;gap:var(--grid-unit-30);justify-content:flex-end;line-height:var(--font-size--large);padding:var(--grid-unit-15);text-transform:uppercase}.parsely-table-container .post-table-pagination-controls .page-selector{align-items:center;display:flex;gap:var(--grid-unit-10)}.parsely-table-container .post-table-pagination-controls .page-navigation{align-items:center;display:flex;gap:var(--grid-unit-5);justify-content:flex-end}body{background:#fff}.parsely-dashboard-container{margin-right:-1.25rem}.parsely-dashboard-page-body,.parsely-dashboard-page-header{max-width:var(--dashboard-width)} +#wp-parsely-dashboard-widget,.components-button[aria-controls="wp-parsely-block-editor-sidebar:wp-parsely-content-helper"],.editor-post-excerpt,.parsely-dashboard-container,.settings_page_parsely,.wp-parsely-block-overlay,.wp-parsely-content-helper,.wp-parsely-excerpt-generator,.wp-parsely-panel,.wp-parsely-popover,.wp-parsely-preview-editor,.wp-parsely-smart-linking-close-dialog,.wp-parsely-smart-linking-review-modal,.wp-parsely-suggested-title-modal{--base-font:"source-sans-pro",arial,sans-serif;--numeric-font:"ff-din-round-web",sans-serif;--parsely-green-components:107,42%,46%;--parsely-green:hsl(var(--parsely-green-components));--parsely-green-10:#c7ecb1;--parsely-green-65:#2a691b;--gray-200:#f7f8f9;--gray-300:#edeeef;--gray-400:#d7dbdf;--gray-500:#959da5;--gray-600:#586069;--gray-700:#444d56;--gray-900:#24292e;--blue-500:#44a8e5;--blue-550:#2596db;--green-500:#7bc01b;--green-900:#3d6307;--ref-direct:205,13%,52%;--ref-internal:161,91%,41%;--ref-social:210,72%,41%;--ref-search:42,100%,50%;--ref-other:3,76%,58%;--base-text:var(--gray-900);--base-text-2:var(--gray-600);--base-3:var(--gray-400);--border:var(--gray-400);--data:var(--green-500);--control:var(--blue-500);--grid-unit-5:0.25rem;--grid-unit-10:0.5rem;--grid-unit-15:0.75rem;--grid-unit-20:1rem;--grid-unit-25:1.25rem;--grid-unit-30:1.5rem;--grid-unit-40:2rem;--grid-unit-50:2.5rem;--grid-unit-60:3rem;--font-size--smaller:0.688rem;--font-size--small:0.75rem;--font-size--medium:0.875rem;--font-size--large:1rem;--font-size--extra-large:1.2rem;--font-size--bigger:2rem;--black:#000;--sidebar-black:#1e1e1e;--sidebar-white:#f0f0f0;--dashboard-accent:#b9f16b;--dashboard-width:64rem}.parsely-table-container table{border-collapse:collapse;border-spacing:0;width:100%}.parsely-table-container table tr{display:flex;gap:var(--grid-unit-20);padding:var(--grid-unit-15) 0;position:relative}.parsely-table-container table tr:after{background-color:var(--border);bottom:0;content:"";height:1px;right:50%;position:absolute;transform:translateX(50%);width:100vw}.parsely-table-container table tr td,.parsely-table-container table tr th{align-self:center;text-align:right}.parsely-table-container table tr td.post-info,.parsely-table-container table tr th.post-info-header{width:70%}.parsely-table-container table tr th.boost-perf-header{overflow:visible;position:relative;white-space:nowrap;z-index:1}.parsely-table-container table tr td.actions{align-items:center;display:flex;flex:1;gap:var(--grid-unit-10);justify-content:flex-end;min-height:2.5rem;padding-left:var(--grid-unit-20);width:11.25rem}.parsely-table-container table tr td.actions a{text-decoration:none}.parsely-table-container table tr th{color:var(--sidebar-black);font-size:var(--font-size--small);font-style:normal;font-weight:600;line-height:var(--font-size--large);text-transform:uppercase}.parsely-table-container .posts-table-post-info{align-items:flex-start;display:flex;flex:1 0 0;gap:var(--grid-unit-20);min-height:2.5rem}.parsely-table-container .posts-table-post-info .thumbnail{align-self:center}.parsely-table-container .posts-table-post-info .thumbnail img{border-radius:3px;height:2.8125rem;width:2.8125rem}.parsely-table-container .posts-table-post-info .thumbnail .icon-container{align-items:center;background:var(--gray-500);border-radius:3px;display:flex;height:2.8125rem;justify-content:center;width:2.8125rem}.parsely-table-container .posts-table-post-info .thumbnail .icon-container svg{fill:var(--sidebar-white)}.parsely-table-container .posts-table-post-info .post-details{align-items:flex-start;display:flex;flex:1 0 0;flex-direction:column;gap:var(--grid-unit-05,4px);justify-content:center;min-height:var(--grid-unit-40)}.parsely-table-container .posts-table-post-info .post-details .post-title{align-items:center;align-self:stretch;display:flex;font-size:var(--font-size--medium);font-style:normal;font-weight:600;gap:var(--grid-unit-5);line-height:1.25rem;overflow:hidden;text-overflow:ellipsis}.parsely-table-container .posts-table-post-info .post-details .post-meta{align-content:center;align-items:center;align-self:stretch;color:var(--gray-500);display:flex;flex-wrap:wrap;gap:var(--grid-unit-5) var(--grid-unit-10)}.parsely-table-container .posts-table-post-info .post-details .post-categories{display:flex;gap:var(--grid-unit-5)}.parsely-table-container .posts-table-post-info .post-details .post-categories span{background:var(--gray-400);border-radius:.375rem;color:var(--sidebar-black);font-size:var(--font-size--smaller);font-weight:500;line-height:var(--font-size--large);padding:2px var(--grid-unit-10)}.parsely-table-container .posts-table-pagination-controls{align-items:center;align-self:stretch;display:flex;font-size:var(--font-size--smaller);font-style:normal;font-weight:600;gap:var(--grid-unit-30);justify-content:flex-end;line-height:var(--font-size--large);padding:var(--grid-unit-15);text-transform:uppercase}.parsely-table-container .posts-table-pagination-controls .page-selector{align-items:center;display:flex;gap:var(--grid-unit-10)}.parsely-table-container .posts-table-pagination-controls .page-navigation{align-items:center;display:flex;gap:var(--grid-unit-5);justify-content:flex-end}body{background:#fff}.parsely-dashboard-container{margin-right:-1.25rem}.parsely-dashboard-page-body,.parsely-dashboard-page-header{max-width:var(--dashboard-width)} diff --git a/build/content-helper/dashboard-page.asset.php b/build/content-helper/dashboard-page.asset.php index fcf810447..ed217ba14 100644 --- a/build/content-helper/dashboard-page.asset.php +++ b/build/content-helper/dashboard-page.asset.php @@ -1 +1 @@ - array('react', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '67f6a494c68d3413cdfd'); + array('react', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '36b4bbd56eddce0ea333'); diff --git a/build/content-helper/dashboard-page.css b/build/content-helper/dashboard-page.css index efbf36658..77110cc75 100644 --- a/build/content-helper/dashboard-page.css +++ b/build/content-helper/dashboard-page.css @@ -1,2 +1,2 @@ #wp-parsely-dashboard-widget,.components-button[aria-controls="wp-parsely-block-editor-sidebar:wp-parsely-content-helper"],.editor-post-excerpt,.parsely-dashboard-container,.settings_page_parsely,.wp-parsely-block-overlay,.wp-parsely-content-helper,.wp-parsely-excerpt-generator,.wp-parsely-panel,.wp-parsely-popover,.wp-parsely-preview-editor,.wp-parsely-smart-linking-close-dialog,.wp-parsely-smart-linking-review-modal,.wp-parsely-suggested-title-modal{--base-font:"source-sans-pro",arial,sans-serif;--numeric-font:"ff-din-round-web",sans-serif;--parsely-green-components:107,42%,46%;--parsely-green:hsl(var(--parsely-green-components));--parsely-green-10:#c7ecb1;--parsely-green-65:#2a691b;--gray-200:#f7f8f9;--gray-300:#edeeef;--gray-400:#d7dbdf;--gray-500:#959da5;--gray-600:#586069;--gray-700:#444d56;--gray-900:#24292e;--blue-500:#44a8e5;--blue-550:#2596db;--green-500:#7bc01b;--green-900:#3d6307;--ref-direct:205,13%,52%;--ref-internal:161,91%,41%;--ref-social:210,72%,41%;--ref-search:42,100%,50%;--ref-other:3,76%,58%;--base-text:var(--gray-900);--base-text-2:var(--gray-600);--base-3:var(--gray-400);--border:var(--gray-400);--data:var(--green-500);--control:var(--blue-500);--grid-unit-5:0.25rem;--grid-unit-10:0.5rem;--grid-unit-15:0.75rem;--grid-unit-20:1rem;--grid-unit-25:1.25rem;--grid-unit-30:1.5rem;--grid-unit-40:2rem;--grid-unit-50:2.5rem;--grid-unit-60:3rem;--font-size--smaller:0.688rem;--font-size--small:0.75rem;--font-size--medium:0.875rem;--font-size--large:1rem;--font-size--extra-large:1.2rem;--font-size--bigger:2rem;--black:#000;--sidebar-black:#1e1e1e;--sidebar-white:#f0f0f0;--dashboard-accent:#b9f16b;--dashboard-width:64rem}.parsely-dashboard-page-body,.parsely-dashboard-page-header{margin:0 auto;padding:var(--grid-unit-40) var(--grid-unit-40) var(--grid-unit-60) var(--grid-unit-40)}.dashboard-header-background{background:linear-gradient(303deg,#000 30.51%,#487006 133.77%)}.dashboard-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:var(--grid-unit-25);justify-content:space-between}.dashboard-header .dashboard-header-summary{align-items:flex-start;color:var(--sidebar-white);display:flex;flex-direction:column;gap:var(--grid-unit-30);width:18.75rem}.dashboard-header .dashboard-header-summary .summary-info{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:var(--grid-unit-10)}.dashboard-header .dashboard-header-summary .summary-info .summary-title{align-self:stretch;font-size:var(--font-size--bigger);font-style:normal;font-weight:600;line-height:2.8125rem}.dashboard-header .dashboard-header-summary .summary-info .summary-text{align-self:stretch;font-size:var(--font-size--small);font-style:normal;font-weight:400;line-height:var(--font-size--large)}.dashboard-header .dashboard-header-summary .summary-button button{background:transparent;border:1px solid var(--sidebar-white);box-shadow:none;color:var(--sidebar-white);cursor:pointer;margin-top:var(--grid-unit-20);padding:var(--grid-unit-10) var(--grid-unit-20)}.dashboard-header .dashboard-header-summary .summary-button button:hover{background:var(--sidebar-white);box-shadow:none;color:var(--sidebar-black)}.dashboard-header .dashboard-header-stats{align-content:flex-start;align-items:flex-start;align-self:stretch;display:flex;flex-wrap:wrap;gap:var(--grid-unit-30);justify-content:flex-end;width:31.25rem}.dashboard-header .dashboard-header-stats .header-stat-card{align-items:flex-start;color:var(--sidebar-white);display:flex;flex-direction:column;gap:var(--grid-unit-05);height:var(--grid-unit-60);justify-content:center;width:9.375rem}.dashboard-header .dashboard-header-stats .header-stat-card .card-title{align-items:center;display:flex;font-size:var(--font-size--small);font-style:normal;font-weight:400;gap:var(--grid-unit-05);line-height:var(--font-size--large)}.dashboard-header .dashboard-header-stats .header-stat-card .card-title svg{fill:var(--sidebar-white)}.dashboard-header .dashboard-header-stats .header-stat-card .card-value{align-items:center;display:flex;font-size:1.5rem;font-style:normal;font-weight:600;gap:var(--grid-unit-05);letter-spacing:-.48px;line-height:2rem}.dashboard-header .dashboard-header-stats .header-stat-card .card-value .card-change{font-size:var(--font-size--medium);font-style:normal;font-weight:500;line-height:var(--font-size--large)}.dashboard-header .dashboard-header-stats .stats-top{align-items:flex-start;border-bottom:1px solid var(--sidebar-white);display:flex;gap:var(--grid-unit-30);padding-bottom:var(--grid-unit-30)}.dashboard-header .dashboard-header-stats .stats-top .card-title{color:var(--dashboard-accent)}.dashboard-header .dashboard-header-stats .stats-top .card-title svg{fill:var(--dashboard-accent)}.dashboard-header .dashboard-header-stats .stats-top .card-value{color:var(--dashboard-accent)}.dashboard-header .dashboard-header-stats .stats-top .stat-intro{justify-content:flex-start}.dashboard-header .dashboard-header-stats .stats-top .stat-intro .card-title{color:var(--sidebar-white);font-size:var(--font-size--medium);font-style:normal;font-weight:500;line-height:var(--font-size--extra-large)} -#wp-parsely-dashboard-widget,.components-button[aria-controls="wp-parsely-block-editor-sidebar:wp-parsely-content-helper"],.editor-post-excerpt,.parsely-dashboard-container,.settings_page_parsely,.wp-parsely-block-overlay,.wp-parsely-content-helper,.wp-parsely-excerpt-generator,.wp-parsely-panel,.wp-parsely-popover,.wp-parsely-preview-editor,.wp-parsely-smart-linking-close-dialog,.wp-parsely-smart-linking-review-modal,.wp-parsely-suggested-title-modal{--base-font:"source-sans-pro",arial,sans-serif;--numeric-font:"ff-din-round-web",sans-serif;--parsely-green-components:107,42%,46%;--parsely-green:hsl(var(--parsely-green-components));--parsely-green-10:#c7ecb1;--parsely-green-65:#2a691b;--gray-200:#f7f8f9;--gray-300:#edeeef;--gray-400:#d7dbdf;--gray-500:#959da5;--gray-600:#586069;--gray-700:#444d56;--gray-900:#24292e;--blue-500:#44a8e5;--blue-550:#2596db;--green-500:#7bc01b;--green-900:#3d6307;--ref-direct:205,13%,52%;--ref-internal:161,91%,41%;--ref-social:210,72%,41%;--ref-search:42,100%,50%;--ref-other:3,76%,58%;--base-text:var(--gray-900);--base-text-2:var(--gray-600);--base-3:var(--gray-400);--border:var(--gray-400);--data:var(--green-500);--control:var(--blue-500);--grid-unit-5:0.25rem;--grid-unit-10:0.5rem;--grid-unit-15:0.75rem;--grid-unit-20:1rem;--grid-unit-25:1.25rem;--grid-unit-30:1.5rem;--grid-unit-40:2rem;--grid-unit-50:2.5rem;--grid-unit-60:3rem;--font-size--smaller:0.688rem;--font-size--small:0.75rem;--font-size--medium:0.875rem;--font-size--large:1rem;--font-size--extra-large:1.2rem;--font-size--bigger:2rem;--black:#000;--sidebar-black:#1e1e1e;--sidebar-white:#f0f0f0;--dashboard-accent:#b9f16b;--dashboard-width:64rem}.parsely-table-container table{border-collapse:collapse;border-spacing:0;width:100%}.parsely-table-container table tr{display:flex;gap:var(--grid-unit-20);padding:var(--grid-unit-15) 0;position:relative}.parsely-table-container table tr:after{background-color:var(--border);bottom:0;content:"";height:1px;left:50%;position:absolute;transform:translateX(-50%);width:100vw}.parsely-table-container table tr td,.parsely-table-container table tr th{align-self:center;text-align:left}.parsely-table-container table tr td.post-info,.parsely-table-container table tr th.post-info-header{width:70%}.parsely-table-container table tr th.boost-perf-header{overflow:visible;position:relative;white-space:nowrap;z-index:1}.parsely-table-container table tr td.actions{align-items:center;display:flex;flex:1;gap:var(--grid-unit-10);justify-content:flex-end;min-height:2.5rem;padding-right:var(--grid-unit-20);width:11.25rem}.parsely-table-container table tr td.actions a{text-decoration:none}.parsely-table-container table tr th{color:var(--sidebar-black);font-size:var(--font-size--small);font-style:normal;font-weight:600;line-height:var(--font-size--large);text-transform:uppercase}.parsely-table-container .post-table-post-info{align-items:flex-start;display:flex;flex:1 0 0;gap:var(--grid-unit-20);min-height:2.5rem}.parsely-table-container .post-table-post-info .thumbnail{align-self:center}.parsely-table-container .post-table-post-info .thumbnail img{border-radius:3px;height:2.8125rem;width:2.8125rem}.parsely-table-container .post-table-post-info .thumbnail .icon-container{align-items:center;background:var(--gray-500);border-radius:3px;display:flex;height:2.8125rem;justify-content:center;width:2.8125rem}.parsely-table-container .post-table-post-info .thumbnail .icon-container svg{fill:var(--sidebar-white)}.parsely-table-container .post-table-post-info .post-details{align-items:flex-start;display:flex;flex:1 0 0;flex-direction:column;gap:var(--grid-unit-05,4px);justify-content:center;min-height:var(--grid-unit-40)}.parsely-table-container .post-table-post-info .post-details .post-title{align-items:center;align-self:stretch;display:flex;font-size:var(--font-size--medium);font-style:normal;font-weight:600;gap:var(--grid-unit-5);line-height:1.25rem;overflow:hidden;text-overflow:ellipsis}.parsely-table-container .post-table-post-info .post-details .post-meta{align-content:center;align-items:center;align-self:stretch;color:var(--gray-500);display:flex;flex-wrap:wrap;gap:var(--grid-unit-5) var(--grid-unit-10)}.parsely-table-container .post-table-post-info .post-details .post-categories{display:flex;gap:var(--grid-unit-5)}.parsely-table-container .post-table-post-info .post-details .post-categories span{background:var(--gray-400);border-radius:.375rem;color:var(--sidebar-black);font-size:var(--font-size--smaller);font-weight:500;line-height:var(--font-size--large);padding:2px var(--grid-unit-10)}.parsely-table-container .post-table-pagination-controls{align-items:center;align-self:stretch;display:flex;font-size:var(--font-size--smaller);font-style:normal;font-weight:600;gap:var(--grid-unit-30);justify-content:flex-end;line-height:var(--font-size--large);padding:var(--grid-unit-15);text-transform:uppercase}.parsely-table-container .post-table-pagination-controls .page-selector{align-items:center;display:flex;gap:var(--grid-unit-10)}.parsely-table-container .post-table-pagination-controls .page-navigation{align-items:center;display:flex;gap:var(--grid-unit-5);justify-content:flex-end}body{background:#fff}.parsely-dashboard-container{margin-left:-1.25rem}.parsely-dashboard-page-body,.parsely-dashboard-page-header{max-width:var(--dashboard-width)} +#wp-parsely-dashboard-widget,.components-button[aria-controls="wp-parsely-block-editor-sidebar:wp-parsely-content-helper"],.editor-post-excerpt,.parsely-dashboard-container,.settings_page_parsely,.wp-parsely-block-overlay,.wp-parsely-content-helper,.wp-parsely-excerpt-generator,.wp-parsely-panel,.wp-parsely-popover,.wp-parsely-preview-editor,.wp-parsely-smart-linking-close-dialog,.wp-parsely-smart-linking-review-modal,.wp-parsely-suggested-title-modal{--base-font:"source-sans-pro",arial,sans-serif;--numeric-font:"ff-din-round-web",sans-serif;--parsely-green-components:107,42%,46%;--parsely-green:hsl(var(--parsely-green-components));--parsely-green-10:#c7ecb1;--parsely-green-65:#2a691b;--gray-200:#f7f8f9;--gray-300:#edeeef;--gray-400:#d7dbdf;--gray-500:#959da5;--gray-600:#586069;--gray-700:#444d56;--gray-900:#24292e;--blue-500:#44a8e5;--blue-550:#2596db;--green-500:#7bc01b;--green-900:#3d6307;--ref-direct:205,13%,52%;--ref-internal:161,91%,41%;--ref-social:210,72%,41%;--ref-search:42,100%,50%;--ref-other:3,76%,58%;--base-text:var(--gray-900);--base-text-2:var(--gray-600);--base-3:var(--gray-400);--border:var(--gray-400);--data:var(--green-500);--control:var(--blue-500);--grid-unit-5:0.25rem;--grid-unit-10:0.5rem;--grid-unit-15:0.75rem;--grid-unit-20:1rem;--grid-unit-25:1.25rem;--grid-unit-30:1.5rem;--grid-unit-40:2rem;--grid-unit-50:2.5rem;--grid-unit-60:3rem;--font-size--smaller:0.688rem;--font-size--small:0.75rem;--font-size--medium:0.875rem;--font-size--large:1rem;--font-size--extra-large:1.2rem;--font-size--bigger:2rem;--black:#000;--sidebar-black:#1e1e1e;--sidebar-white:#f0f0f0;--dashboard-accent:#b9f16b;--dashboard-width:64rem}.parsely-table-container table{border-collapse:collapse;border-spacing:0;width:100%}.parsely-table-container table tr{display:flex;gap:var(--grid-unit-20);padding:var(--grid-unit-15) 0;position:relative}.parsely-table-container table tr:after{background-color:var(--border);bottom:0;content:"";height:1px;left:50%;position:absolute;transform:translateX(-50%);width:100vw}.parsely-table-container table tr td,.parsely-table-container table tr th{align-self:center;text-align:left}.parsely-table-container table tr td.post-info,.parsely-table-container table tr th.post-info-header{width:70%}.parsely-table-container table tr th.boost-perf-header{overflow:visible;position:relative;white-space:nowrap;z-index:1}.parsely-table-container table tr td.actions{align-items:center;display:flex;flex:1;gap:var(--grid-unit-10);justify-content:flex-end;min-height:2.5rem;padding-right:var(--grid-unit-20);width:11.25rem}.parsely-table-container table tr td.actions a{text-decoration:none}.parsely-table-container table tr th{color:var(--sidebar-black);font-size:var(--font-size--small);font-style:normal;font-weight:600;line-height:var(--font-size--large);text-transform:uppercase}.parsely-table-container .posts-table-post-info{align-items:flex-start;display:flex;flex:1 0 0;gap:var(--grid-unit-20);min-height:2.5rem}.parsely-table-container .posts-table-post-info .thumbnail{align-self:center}.parsely-table-container .posts-table-post-info .thumbnail img{border-radius:3px;height:2.8125rem;width:2.8125rem}.parsely-table-container .posts-table-post-info .thumbnail .icon-container{align-items:center;background:var(--gray-500);border-radius:3px;display:flex;height:2.8125rem;justify-content:center;width:2.8125rem}.parsely-table-container .posts-table-post-info .thumbnail .icon-container svg{fill:var(--sidebar-white)}.parsely-table-container .posts-table-post-info .post-details{align-items:flex-start;display:flex;flex:1 0 0;flex-direction:column;gap:var(--grid-unit-05,4px);justify-content:center;min-height:var(--grid-unit-40)}.parsely-table-container .posts-table-post-info .post-details .post-title{align-items:center;align-self:stretch;display:flex;font-size:var(--font-size--medium);font-style:normal;font-weight:600;gap:var(--grid-unit-5);line-height:1.25rem;overflow:hidden;text-overflow:ellipsis}.parsely-table-container .posts-table-post-info .post-details .post-meta{align-content:center;align-items:center;align-self:stretch;color:var(--gray-500);display:flex;flex-wrap:wrap;gap:var(--grid-unit-5) var(--grid-unit-10)}.parsely-table-container .posts-table-post-info .post-details .post-categories{display:flex;gap:var(--grid-unit-5)}.parsely-table-container .posts-table-post-info .post-details .post-categories span{background:var(--gray-400);border-radius:.375rem;color:var(--sidebar-black);font-size:var(--font-size--smaller);font-weight:500;line-height:var(--font-size--large);padding:2px var(--grid-unit-10)}.parsely-table-container .posts-table-pagination-controls{align-items:center;align-self:stretch;display:flex;font-size:var(--font-size--smaller);font-style:normal;font-weight:600;gap:var(--grid-unit-30);justify-content:flex-end;line-height:var(--font-size--large);padding:var(--grid-unit-15);text-transform:uppercase}.parsely-table-container .posts-table-pagination-controls .page-selector{align-items:center;display:flex;gap:var(--grid-unit-10)}.parsely-table-container .posts-table-pagination-controls .page-navigation{align-items:center;display:flex;gap:var(--grid-unit-5);justify-content:flex-end}body{background:#fff}.parsely-dashboard-container{margin-left:-1.25rem}.parsely-dashboard-page-body,.parsely-dashboard-page-header{max-width:var(--dashboard-width)} diff --git a/build/content-helper/dashboard-page.js b/build/content-helper/dashboard-page.js index 3fc5e5380..bb4b1ffbb 100644 --- a/build/content-helper/dashboard-page.js +++ b/build/content-helper/dashboard-page.js @@ -1 +1 @@ -!function(){"use strict";var e={69:function(e,t){Object.prototype.toString},20:function(e,t,r){var n=r(609),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,n)&&!l.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:a,type:e,key:u,ref:c,props:o,_owner:s.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},848:function(e,t,r){e.exports=r(20)},609:function(e){e.exports=window.React}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e=r(848),t=r(609),n=(r(69),"popstate");function a(e={}){return function(e,t,r,a={}){let{window:i=document.defaultView,v5Compat:c=!1}=a,p=i.history,h="POP",d=null,f=m();function m(){return(p.state||{idx:null}).idx}function y(){h="POP";let e=m(),t=null==e?null:e-f;f=e,d&&d({action:h,location:v.location,delta:t})}function g(e){let t="null"!==i.location.origin?i.location.origin:i.location.href,r="string"==typeof e?e:u(e);return r=r.replace(/ $/,"%20"),o(t,`No window.location.(origin|href) available to create URL for href: ${r}`),new URL(r,t)}null==f&&(f=0,p.replaceState({...p.state,idx:f},""));let v={get action(){return h},get location(){return e(i,p)},listen(e){if(d)throw new Error("A history only accepts one active listener");return i.addEventListener(n,y),d=e,()=>{i.removeEventListener(n,y),d=null}},createHref(e){return t(i,e)},createURL:g,encodeLocation(e){let t=g(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h="PUSH";let n=l(v.location,e,t);r&&r(n,e),f=m()+1;let a=s(n,f),o=v.createHref(n);try{p.pushState(a,"",o)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;i.location.assign(o)}c&&d&&d({action:h,location:v.location,delta:1})},replace:function(e,t){h="REPLACE";let n=l(v.location,e,t);r&&r(n,e),f=m();let a=s(n,f),o=v.createHref(n);p.replaceState(a,"",o),c&&d&&d({action:h,location:v.location,delta:0})},go(e){return p.go(e)}};return v}((function(e,t){let{pathname:r="/",search:n="",hash:a=""}=c(e.location.hash.substring(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),l("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:u(t))}),(function(e,t){i("/"===e.pathname.charAt(0),`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)}),e)}function o(e,t){if(!1===e||null==e)throw new Error(t)}function i(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function s(e,t){return{usr:e.state,key:e.key,idx:t}}function l(e,t,r=null,n){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?c(t):t,state:r,key:t&&t.key||n||Math.random().toString(36).substring(2,10)}}function u({pathname:e="/",search:t="",hash:r=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),r&&"#"!==r&&(e+="#"===r.charAt(0)?r:"#"+r),e}function c(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function p(e,t,r="/"){return function(e,t,r,n){let a=j(("string"==typeof t?c(t):t).pathname||"/",r);if(null==a)return null;let o=h(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let i=null;for(let e=0;null==i&&e{let s={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};s.relativePath.startsWith("/")&&(o(s.relativePath.startsWith(n),`Absolute route path "${s.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),s.relativePath=s.relativePath.slice(n.length));let l=N([n,s.relativePath]),u=r.concat(s);e.children&&e.children.length>0&&(o(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),h(e.children,t,u,l)),(null!=e.path||e.index)&&t.push({path:l,score:x(l,e.index),routesMeta:u})};return e.forEach(((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let r of d(e.path))a(e,t,r);else a(e,t)})),t}function d(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,a=r.endsWith("?"),o=r.replace(/\?$/,"");if(0===n.length)return a?[o,""]:[o];let i=d(n.join("/")),s=[];return s.push(...i.map((e=>""===e?o:[o,e].join("/")))),a&&s.push(...i),s.map((t=>e.startsWith("/")&&""===t?"/":t))}var f=/^:[\w-]+$/,m=3,y=2,g=1,v=10,w=-2,b=e=>"*"===e;function x(e,t){let r=e.split("/"),n=r.length;return r.some(b)&&(n+=w),t&&(n+=y),r.filter((e=>!b(e))).reduce(((e,t)=>e+(f.test(t)?m:""===t?g:v)),n)}function S(e,t,r=!1){let{routesMeta:n}=e,a={},o="/",i=[];for(let e=0;e(n.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")));return e.endsWith("*")?(n.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let o=a[0],s=o.replace(/(.)\/+$/,"$1"),l=a.slice(1);return{params:n.reduce(((e,{paramName:t,isOptional:r},n)=>{if("*"===t){let e=l[n]||"";s=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const a=l[n];return e[t]=r&&!a?void 0:(a||"").replace(/%2F/g,"/"),e}),{}),pathname:o,pathnameBase:s,pattern:e}}function _(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return i(!1,`The URL path "${e}" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function j(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function E(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function C(e){let t=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t.map(((e,r)=>r===t.length-1?e.pathname:e.pathnameBase))}function A(e,t,r,n=!1){let a;"string"==typeof e?a=c(e):(a={...e},o(!a.pathname||!a.pathname.includes("?"),E("?","pathname","search",a)),o(!a.pathname||!a.pathname.includes("#"),E("#","pathname","hash",a)),o(!a.search||!a.search.includes("#"),E("#","search","hash",a)));let i,s=""===e||""===a.pathname,l=s?"/":a.pathname;if(null==l)i=r;else{let e=t.length-1;if(!n&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}i=e>=0?t[e]:"/"}let u=function(e,t="/"){let{pathname:r,search:n="",hash:a=""}="string"==typeof e?c(e):e,o=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:o,search:O(n),hash:T(a)}}(a,i),p=l&&"/"!==l&&l.endsWith("/"),h=(s||"."===l)&&r.endsWith("/");return u.pathname.endsWith("/")||!p&&!h||(u.pathname+="/"),u}var N=e=>e.join("/").replace(/\/\/+/g,"/"),R=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),O=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",T=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function k(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}var I=["POST","PUT","PATCH","DELETE"],L=(new Set(I),["GET",...I]);new Set(L),Symbol("ResetLoaderData");var $=t.createContext(null);$.displayName="DataRouter";var F=t.createContext(null);F.displayName="DataRouterState";var M=t.createContext({isTransitioning:!1});M.displayName="ViewTransition",t.createContext(new Map).displayName="Fetchers",t.createContext(null).displayName="Await";var D=t.createContext(null);D.displayName="Navigation";var B=t.createContext(null);B.displayName="Location";var H=t.createContext({outlet:null,matches:[],isDataRoute:!1});H.displayName="Route";var U=t.createContext(null);function W(){return null!=t.useContext(B)}function V(){return o(W(),"useLocation() may be used only in the context of a component."),t.useContext(B).location}U.displayName="RouteError";var z="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function G(e){t.useContext(D).static||t.useLayoutEffect(e)}function q(){let{isDataRoute:e}=t.useContext(H);return e?function(){let{router:e}=function(e){let r=t.useContext($);return o(r,ee(e)),r}("useNavigate"),r=te("useNavigate"),n=t.useRef(!1);return G((()=>{n.current=!0})),t.useCallback((async(t,a={})=>{i(n.current,z),n.current&&("number"==typeof t?e.navigate(t):await e.navigate(t,{fromRouteId:r,...a}))}),[e,r])}():function(){o(W(),"useNavigate() may be used only in the context of a component.");let e=t.useContext($),{basename:r,navigator:n}=t.useContext(D),{matches:a}=t.useContext(H),{pathname:s}=V(),l=JSON.stringify(C(a)),u=t.useRef(!1);return G((()=>{u.current=!0})),t.useCallback(((t,a={})=>{if(i(u.current,z),!u.current)return;if("number"==typeof t)return void n.go(t);let o=A(t,JSON.parse(l),s,"path"===a.relative);null==e&&"/"!==r&&(o.pathname="/"===o.pathname?r:N([r,o.pathname])),(a.replace?n.replace:n.push)(o,a.state,a)}),[r,n,l,s,e])}()}function J(e,{relative:r}={}){let{matches:n}=t.useContext(H),{pathname:a}=V(),o=JSON.stringify(C(n));return t.useMemo((()=>A(e,JSON.parse(o),a,"path"===r)),[e,o,a,r])}function K(e,r,n,a){o(W(),"useRoutes() may be used only in the context of a component.");let{navigator:s}=t.useContext(D),{matches:l}=t.useContext(H),u=l[l.length-1],h=u?u.params:{},d=(u&&u.pathname,u?u.pathnameBase:"/");u&&u.route;let f,m=V();if(r){let e="string"==typeof r?c(r):r;o("/"===d||e.pathname?.startsWith(d),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${d}" but pathname "${e.pathname}" was given in the \`location\` prop.`),f=e}else f=m;let y=f.pathname||"/",g=y;if("/"!==d){let e=d.replace(/^\//,"").split("/");g="/"+y.replace(/^\//,"").split("/").slice(e.length).join("/")}let v=p(e,{pathname:g}),w=function(e,r=[],n=null){if(null==e){if(!n)return null;if(n.errors)e=n.matches;else{if(0!==r.length||n.initialized||!(n.matches.length>0))return null;e=n.matches}}let a=e,s=n?.errors;if(null!=s){let e=a.findIndex((e=>e.route.id&&void 0!==s?.[e.route.id]));o(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),a=a.slice(0,Math.min(a.length,e+1))}let l=!1,u=-1;if(n)for(let e=0;e=0?a.slice(0,u+1):[a[0]];break}}}return a.reduceRight(((e,o,c)=>{let p,h=!1,d=null,f=null;var m,y;n&&(p=s&&o.route.id?s[o.route.id]:void 0,d=o.route.errorElement||Z,l&&(u<0&&0===c?(m="route-fallback",y="No `HydrateFallback` element provided to render during initial hydration",!1||re[m]||(re[m]=!0,i(!1,y)),h=!0,f=null):u===c&&(h=!0,f=o.route.hydrateFallbackElement||null)));let g=r.concat(a.slice(0,c+1)),v=()=>{let r;return r=p?d:h?f:o.route.Component?t.createElement(o.route.Component,null):o.route.element?o.route.element:e,t.createElement(X,{match:o,routeContext:{outlet:e,matches:g,isDataRoute:null!=n},children:r})};return n&&(o.route.ErrorBoundary||o.route.errorElement||0===c)?t.createElement(Q,{location:n.location,revalidation:n.revalidation,component:d,error:p,children:v(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):v()}),null)}(v&&v.map((e=>Object.assign({},e,{params:Object.assign({},h,e.params),pathname:N([d,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:N([d,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),l,n,a);return r&&w?t.createElement(B.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...f},navigationType:"POP"}},w):w}function Y(){let e=function(){let e=t.useContext(U),r=function(e){let r=t.useContext(F);return o(r,ee(e)),r}("useRouteError"),n=te("useRouteError");return void 0!==e?e:r.errors?.[n]}(),r=k(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},r),n?t.createElement("pre",{style:a},n):null,null)}t.createContext(null);var Z=t.createElement(Y,null),Q=class extends t.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?t.createElement(H.Provider,{value:this.props.routeContext},t.createElement(U.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function X({routeContext:e,match:r,children:n}){let a=t.useContext($);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),t.createElement(H.Provider,{value:e},n)}function ee(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function te(e){let r=function(e){let r=t.useContext(H);return o(r,ee(e)),r}(e),n=r.matches[r.matches.length-1];return o(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}var re={};function ne(e){o(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function ae({basename:e="/",children:r=null,location:n,navigationType:a="POP",navigator:s,static:l=!1}){o(!W(),"You cannot render a inside another . You should never have more than one in your app.");let u=e.replace(/^\/*/,"/"),p=t.useMemo((()=>({basename:u,navigator:s,static:l,future:{}})),[u,s,l]);"string"==typeof n&&(n=c(n));let{pathname:h="/",search:d="",hash:f="",state:m=null,key:y="default"}=n,g=t.useMemo((()=>{let e=j(h,u);return null==e?null:{location:{pathname:e,search:d,hash:f,state:m,key:y},navigationType:a}}),[u,h,d,f,m,y,a]);return i(null!=g,` is not able to match the URL "${h}${d}${f}" because it does not start with the basename, so the won't render anything.`),null==g?null:t.createElement(D.Provider,{value:p},t.createElement(B.Provider,{children:r,value:g}))}function oe({children:e,location:t}){return K(ie(e),t)}function ie(e,r=[]){let n=[];return t.Children.forEach(e,((e,a)=>{if(!t.isValidElement(e))return;let i=[...r,a];if(e.type===t.Fragment)return void n.push.apply(n,ie(e.props.children,i));o(e.type===ne,`[${"string"==typeof e.type?e.type:e.type.name}] is not a component. All component children of must be a or `),o(!e.props.index||!e.props.children,"An index route cannot have child routes.");let s={id:e.props.id||i.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=ie(e.props.children,i)),n.push(s)})),n}t.memo((function({routes:e,future:t,state:r}){return K(e,void 0,r,t)})),t.Component;var se="get",le="application/x-www-form-urlencoded";function ue(e){return null!=e&&"string"==typeof e.tagName}var ce=null,pe=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function he(e){return null==e||pe.has(e)?e:(i(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${le}"`),null)}function de(e,t){if(!1===e||null==e)throw new Error(t)}function fe(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function me(e,t,r,n,a,o){let i=(e,t)=>!r[t]||e.route.id!==r[t].route.id,s=(e,t)=>r[t].pathname!==e.pathname||r[t].route.path?.endsWith("*")&&r[t].params["*"]!==e.params["*"];return"assets"===o?t.filter(((e,t)=>i(e,t)||s(e,t))):"data"===o?t.filter(((t,o)=>{let l=n.routes[t.route.id];if(!l||!l.hasLoader)return!1;if(i(t,o)||s(t,o))return!0;if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof n)return n}return!0})):[]}function ye(){let e=t.useContext($);return de(e,"You must render this element inside a element"),e}function ge(){let e=t.useContext(F);return de(e,"You must render this element inside a element"),e}Symbol("SingleFetchRedirect"),t.Component;var ve=t.createContext(void 0);function we(){let e=t.useContext(ve);return de(e,"You must render this element inside a element"),e}function be(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function xe({page:e,...r}){let{router:n}=ye(),a=t.useMemo((()=>p(n.routes,e,n.basename)),[n.routes,e,n.basename]);return a?t.createElement(Pe,{page:e,matches:a,...r}):(console.warn(`Tried to prefetch ${e} but no routes matched.`),null)}function Se(e){let{manifest:r,routeModules:n}=we(),[a,o]=t.useState([]);return t.useEffect((()=>{let t=!1;return async function(e,t,r){return function(e,t){let r=new Set,n=new Set(t);return e.reduce(((e,a)=>{if(t&&(null==(o=a)||"string"!=typeof o.page)&&"script"===a.as&&a.href&&n.has(a.href))return e;var o;let i=JSON.stringify(function(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}(a));return r.has(i)||(r.add(i),e.push({key:i,link:a})),e}),[])}((await Promise.all(e.map((async e=>{let n=t.routes[e.route.id];if(n){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise((()=>{}))}}(n,r);return e.links?e.links():[]}return[]})))).flat(1).filter(fe).filter((e=>"stylesheet"===e.rel||"preload"===e.rel)).map((e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"})))}(e,r,n).then((e=>{t||o(e)})),()=>{t=!0}}),[e,r,n]),a}function Pe({page:e,matches:r,...n}){let a=V(),{manifest:o,routeModules:i}=we(),{loaderData:s,matches:l}=ge(),u=t.useMemo((()=>me(e,r,l,o,a,"data")),[e,r,l,o,a]),c=t.useMemo((()=>me(e,r,l,o,a,"assets")),[e,r,l,o,a]),p=t.useMemo((()=>{if(e===a.pathname+a.search+a.hash)return[];let t=new Set,n=!1;if(r.forEach((e=>{let r=o.routes[e.route.id];r&&r.hasLoader&&(!u.some((t=>t.route.id===e.route.id))&&e.route.id in s&&i[e.route.id]?.shouldRevalidate||r.hasClientLoader?n=!0:t.add(e.route.id))})),0===t.size)return[];let l=function(e){let t="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return"/"===t.pathname?t.pathname="_root.data":t.pathname=`${t.pathname.replace(/\/$/,"")}.data`,t}(e);return n&&t.size>0&&l.searchParams.set("_routes",r.filter((e=>t.has(e.route.id))).map((e=>e.route.id)).join(",")),[l.pathname+l.search]}),[s,a,o,u,r,e,i]),h=t.useMemo((()=>function(e,t){return r=e.map((e=>{let r=t.routes[e.route.id];if(!r)return[];let n=[r.module];return r.imports&&(n=n.concat(r.imports)),n})).flat(1),[...new Set(r)];var r}(c,o)),[c,o]),d=Se(c);return t.createElement(t.Fragment,null,p.map((e=>t.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n}))),h.map((e=>t.createElement("link",{key:e,rel:"modulepreload",href:e,...n}))),d.map((({key:e,link:r})=>t.createElement("link",{key:e,...r}))))}ve.displayName="FrameworkContext";function _e(...e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}var je="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{je&&(window.__reactRouterVersion="7.0.1")}catch(e){}function Ee({basename:e,children:r,window:n}){let o=t.useRef();null==o.current&&(o.current=a({window:n,v5Compat:!0}));let i=o.current,[s,l]=t.useState({action:i.action,location:i.location}),u=t.useCallback((e=>{t.startTransition((()=>l(e)))}),[l]);return t.useLayoutEffect((()=>i.listen(u)),[i,u]),t.createElement(ae,{basename:e,children:r,location:s.location,navigationType:s.action,navigator:i})}var Ce=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ae=t.forwardRef((function({onClick:e,discover:r="render",prefetch:n="none",relative:a,reloadDocument:s,replace:l,state:c,target:p,to:h,preventScrollReset:d,viewTransition:f,...m},y){let g,{basename:v}=t.useContext(D),w="string"==typeof h&&Ce.test(h),b=!1;if("string"==typeof h&&w&&(g=h,je))try{let e=new URL(window.location.href),t=h.startsWith("//")?new URL(e.protocol+h):new URL(h),r=j(t.pathname,v);t.origin===e.origin&&null!=r?h=r+t.search+t.hash:b=!0}catch(e){i(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let x=function(e,{relative:r}={}){o(W(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:a}=t.useContext(D),{hash:i,pathname:s,search:l}=J(e,{relative:r}),u=s;return"/"!==n&&(u="/"===s?n:N([n,s])),a.createHref({pathname:u,search:l,hash:i})}(h,{relative:a}),[S,P,_]=function(e,r){let n=t.useContext(ve),[a,o]=t.useState(!1),[i,s]=t.useState(!1),{onFocus:l,onBlur:u,onMouseEnter:c,onMouseLeave:p,onTouchStart:h}=r,d=t.useRef(null);t.useEffect((()=>{if("render"===e&&s(!0),"viewport"===e){let e=new IntersectionObserver((e=>{e.forEach((e=>{s(e.isIntersecting)}))}),{threshold:.5});return d.current&&e.observe(d.current),()=>{e.disconnect()}}}),[e]),t.useEffect((()=>{if(a){let e=setTimeout((()=>{s(!0)}),100);return()=>{clearTimeout(e)}}}),[a]);let f=()=>{o(!0)},m=()=>{o(!1),s(!1)};return n?"intent"!==e?[i,d,{}]:[i,d,{onFocus:be(l,f),onBlur:be(u,m),onMouseEnter:be(c,f),onMouseLeave:be(p,m),onTouchStart:be(h,f)}]:[!1,d,{}]}(n,m),E=function(e,{target:r,replace:n,state:a,preventScrollReset:o,relative:i,viewTransition:s}={}){let l=q(),c=V(),p=J(e,{relative:i});return t.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,r)){t.preventDefault();let r=void 0!==n?n:u(c)===u(p);l(e,{replace:r,state:a,preventScrollReset:o,relative:i,viewTransition:s})}}),[c,l,p,n,a,r,e,o,i,s])}(h,{replace:l,state:c,target:p,preventScrollReset:d,relative:a,viewTransition:f}),C=t.createElement("a",{...m,..._,href:g||x,onClick:b||s?e:function(t){e&&e(t),t.defaultPrevented||E(t)},ref:_e(y,P),target:p,"data-discover":w||"render"!==r?void 0:"true"});return S&&!w?t.createElement(t.Fragment,null,C,t.createElement(xe,{page:x})):C}));function Ne(e){let r=t.useContext($);return o(r,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),r}Ae.displayName="Link",t.forwardRef((function({"aria-current":e="page",caseSensitive:r=!1,className:n="",end:a=!1,style:i,to:s,viewTransition:l,children:u,...c},p){let h=J(s,{relative:c.relative}),d=V(),f=t.useContext(F),{navigator:m,basename:y}=t.useContext(D),g=null!=f&&function(e,r={}){let n=t.useContext(M);o(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=Ne("useViewTransitionState"),i=J(e,{relative:r.relative});if(!n.isTransitioning)return!1;let s=j(n.currentLocation.pathname,a)||n.currentLocation.pathname,l=j(n.nextLocation.pathname,a)||n.nextLocation.pathname;return null!=P(i.pathname,l)||null!=P(i.pathname,s)}(h)&&!0===l,v=m.encodeLocation?m.encodeLocation(h).pathname:h.pathname,w=d.pathname,b=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;r||(w=w.toLowerCase(),b=b?b.toLowerCase():null,v=v.toLowerCase()),b&&y&&(b=j(b,y)||b);const x="/"!==v&&v.endsWith("/")?v.length-1:v.length;let S,_=w===v||!a&&w.startsWith(v)&&"/"===w.charAt(x),E=null!=b&&(b===v||!a&&b.startsWith(v)&&"/"===b.charAt(v.length)),C={isActive:_,isPending:E,isTransitioning:g},A=_?e:void 0;S="function"==typeof n?n(C):[n,_?"active":null,E?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let N="function"==typeof i?i(C):i;return t.createElement(Ae,{...c,"aria-current":A,className:S,ref:p,style:N,to:s,viewTransition:l},"function"==typeof u?u(C):u)})).displayName="NavLink",t.forwardRef((({discover:e="render",fetcherKey:r,navigate:n,reloadDocument:a,replace:i,state:s,method:l=se,action:c,onSubmit:p,relative:h,preventScrollReset:d,viewTransition:f,...m},y)=>{let g=function(){let{router:e}=Ne("useSubmit"),{basename:r}=t.useContext(D),n=te("useRouteId");return t.useCallback((async(t,a={})=>{let{action:o,method:i,encType:s,formData:l,body:u}=function(e,t){let r,n,a,o,i;if(ue(s=e)&&"form"===s.tagName.toLowerCase()){let i=e.getAttribute("action");n=i?j(i,t):null,r=e.getAttribute("method")||se,a=he(e.getAttribute("enctype"))||le,o=new FormData(e)}else if(function(e){return ue(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return ue(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a