Changeset 3407206
- Timestamp:
- 12/01/2025 08:40:28 PM (4 months ago)
- Location:
- google-site-kit
- Files:
-
- 112 added
- 60 deleted
- 44 edited
- 1 copied
-
tags/1.167.0 (copied) (copied from google-site-kit/trunk)
-
tags/1.167.0/dist/assets/blocks/reader-revenue-manager/block-editor-plugin/index.js (modified) (1 diff)
-
tags/1.167.0/dist/assets/blocks/reader-revenue-manager/contribute-with-google/block.json (modified) (1 diff)
-
tags/1.167.0/dist/assets/blocks/reader-revenue-manager/subscribe-with-google/block.json (modified) (1 diff)
-
tags/1.167.0/dist/assets/blocks/sign-in-with-google/block.json (modified) (1 diff)
-
tags/1.167.0/dist/assets/css/googlesitekit-admin-css-2b8f1e2e5a22632a2b0b.min.css (deleted)
-
tags/1.167.0/dist/assets/css/googlesitekit-admin-css-b9cab0a20268cc660836.min.css (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-activation-2b581b3c77c6c3601892.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-activation-980e5f970eacd7cc279b.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-ad-blocking-recovery-4464ef45f8c34471ee3f.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-ad-blocking-recovery-52eaf653292521e6f9e2.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-adminbar-8d712dcb290a2efa6f0d.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-adminbar-ae973883a37707928671.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-api-15cac6500fd5d984fb95.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-api-901ee93f4f6962cf9046.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-block-tracking-1032e2e997b7685502b9.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-block-tracking-6efb8ed8e9e4db8da249.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-datastore-forms-1174d7377bfc9977ef9a.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-datastore-forms-cb944d60c71ac3389799.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-datastore-site-0ae207044ad015f1ab65.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-datastore-site-84807d9cf6ef5776b730.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-datastore-ui-4ef67fd31a88fbb5e6cc.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-datastore-ui-abca0d9c62793c5dec3e.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-datastore-user-6afcf4831575891d4620.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-datastore-user-a2641700005332059477.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-entity-dashboard-446e6cd4802f6bb746df.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-entity-dashboard-745c0621f6ed4e497e99.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-key-metrics-setup-7155d7d87c08d0f347db.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-key-metrics-setup-d0b301a68eb222f89e95.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-main-dashboard-7c111c025f4097ab330d.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-main-dashboard-e0be854ee45bd990b30d.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-metric-selection-8e20247f501e08c98934.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-metric-selection-eac03cd59f5737142e49.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-ads-666c5903affd119a99b5.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-ads-d4ea8e78888003ef9758.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-adsense-72c4bd492fde24006d31.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-adsense-e7757e9cf619f6e1adae.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-analytics-4-b0bf57e71006508ce237.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-analytics-4-ebb3b6f75580255a8bba.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-b6c11cde066467937047.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-dce334184f43e93590f0.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-pagespeed-insights-31bab748fa72671d2060.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-pagespeed-insights-ce16569db5c5c3700246.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-reader-revenue-manager-607d96f98f5402c25944.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-reader-revenue-manager-cd958aac94fcb996b9b7.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-search-console-27a4f67f2b1a12d2ac83.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-search-console-3ece11b31d58c3260ec3.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-sign-in-with-google-62652ee70455d9500620.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-sign-in-with-google-d63bc464c616028bcf25.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-tagmanager-46cb575a310506f4135b.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-modules-tagmanager-b4d14f8336e2d04a117d.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-notifications-2367a0e39a4641cf0a86.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-notifications-2b7ac78a18710fb06304.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-settings-2fb0ce30e5fd7136b115.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-settings-3a2e2212924935e84f6f.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-splash-3278b5454d81de8c01e6.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-splash-3f8ea39c312610f0b4af.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-user-input-341ed0eeb4c71c0cf383.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-user-input-52ccecb53d5ce5ff13d2.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-vendor-599848015879dcc843df.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-vendor-ea32d0ade8d976a846d4.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-widgets-1de0c76dabc56b27df59.js (added)
-
tags/1.167.0/dist/assets/js/googlesitekit-widgets-28d3c787b59d5e5e4c2a.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-wp-dashboard-063e75213f24c48f34aa.js (deleted)
-
tags/1.167.0/dist/assets/js/googlesitekit-wp-dashboard-a28ad41333bd838dc673.js (added)
-
tags/1.167.0/dist/manifest.php (modified) (1 diff)
-
tags/1.167.0/google-site-kit.php (modified) (2 diffs)
-
tags/1.167.0/includes/Core/Admin/Screens.php (modified) (7 diffs)
-
tags/1.167.0/includes/Core/Authentication/Google_Proxy.php (modified) (4 diffs)
-
tags/1.167.0/includes/Core/Authentication/Setup.php (modified) (4 diffs)
-
tags/1.167.0/includes/Core/Conversion_Tracking/Conversion_Event_Providers/WooCommerce.php (modified) (2 diffs)
-
tags/1.167.0/includes/Core/Email_Reporting/Email_Log.php (modified) (8 diffs)
-
tags/1.167.0/includes/Core/Email_Reporting/Email_Log_Batch_Query.php (added)
-
tags/1.167.0/includes/Core/Email_Reporting/Email_Log_Cleanup.php (added)
-
tags/1.167.0/includes/Core/Email_Reporting/Email_Report_Data_Section_Part.php (added)
-
tags/1.167.0/includes/Core/Email_Reporting/Email_Report_Payload_Processor.php (added)
-
tags/1.167.0/includes/Core/Email_Reporting/Email_Report_Section_Builder.php (added)
-
tags/1.167.0/includes/Core/Email_Reporting/Email_Reporting.php (modified) (4 diffs)
-
tags/1.167.0/includes/Core/Email_Reporting/Email_Reporting_Scheduler.php (added)
-
tags/1.167.0/includes/Core/Email_Reporting/Email_Reporting_Site_Health.php (modified) (1 diff)
-
tags/1.167.0/includes/Core/Email_Reporting/Frequency_Planner.php (added)
-
tags/1.167.0/includes/Core/Email_Reporting/Initiator_Task.php (added)
-
tags/1.167.0/includes/Core/Email_Reporting/Max_Execution_Limiter.php (added)
-
tags/1.167.0/includes/Core/Email_Reporting/Monitor_Task.php (added)
-
tags/1.167.0/includes/Core/Email_Reporting/Report_Options (added)
-
tags/1.167.0/includes/Core/Email_Reporting/Report_Options/Report_Options.php (added)
-
tags/1.167.0/includes/Core/Email_Reporting/Subscribed_Users_Query.php (added)
-
tags/1.167.0/includes/Core/Email_Reporting/Worker_Task.php (added)
-
tags/1.167.0/includes/Core/User/Email_Reporting_Settings.php (modified) (1 diff)
-
tags/1.167.0/includes/Core/Util/Reset.php (modified) (4 diffs)
-
tags/1.167.0/includes/Core/Util/Uninstallation.php (modified) (2 diffs)
-
tags/1.167.0/includes/Modules/AdSense/Email_Reporting (added)
-
tags/1.167.0/includes/Modules/AdSense/Email_Reporting/Report_Options.php (added)
-
tags/1.167.0/includes/Modules/Analytics_4.php (modified) (8 diffs)
-
tags/1.167.0/includes/Modules/Analytics_4/Datapoints (added)
-
tags/1.167.0/includes/Modules/Analytics_4/Datapoints/Create_Account_Ticket.php (added)
-
tags/1.167.0/includes/Modules/Analytics_4/Datapoints/Create_Property.php (added)
-
tags/1.167.0/includes/Modules/Analytics_4/Datapoints/Create_Webdatastream.php (added)
-
tags/1.167.0/includes/Modules/Analytics_4/Email_Reporting (added)
-
tags/1.167.0/includes/Modules/Analytics_4/Email_Reporting/Audience_Config.php (added)
-
tags/1.167.0/includes/Modules/Analytics_4/Email_Reporting/Report_Options.php (added)
-
tags/1.167.0/includes/Modules/Analytics_4/GoogleAnalyticsAdmin/Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest.php (modified) (2 diffs)
-
tags/1.167.0/includes/Modules/Analytics_4/Reset_Audiences.php (modified) (1 diff)
-
tags/1.167.0/includes/Modules/Search_Console/Email_Reporting (added)
-
tags/1.167.0/includes/Modules/Search_Console/Email_Reporting/Report_Data_Processor.php (added)
-
tags/1.167.0/includes/Modules/Search_Console/Email_Reporting/Report_Options.php (added)
-
tags/1.167.0/includes/Plugin.php (modified) (1 diff)
-
tags/1.167.0/includes/vendor/composer/autoload_classmap.php (modified) (4 diffs)
-
tags/1.167.0/readme.txt (modified) (2 diffs)
-
trunk/dist/assets/blocks/reader-revenue-manager/block-editor-plugin/index.js (modified) (1 diff)
-
trunk/dist/assets/blocks/reader-revenue-manager/contribute-with-google/block.json (modified) (1 diff)
-
trunk/dist/assets/blocks/reader-revenue-manager/subscribe-with-google/block.json (modified) (1 diff)
-
trunk/dist/assets/blocks/sign-in-with-google/block.json (modified) (1 diff)
-
trunk/dist/assets/css/googlesitekit-admin-css-2b8f1e2e5a22632a2b0b.min.css (deleted)
-
trunk/dist/assets/css/googlesitekit-admin-css-b9cab0a20268cc660836.min.css (added)
-
trunk/dist/assets/js/googlesitekit-activation-2b581b3c77c6c3601892.js (added)
-
trunk/dist/assets/js/googlesitekit-activation-980e5f970eacd7cc279b.js (deleted)
-
trunk/dist/assets/js/googlesitekit-ad-blocking-recovery-4464ef45f8c34471ee3f.js (added)
-
trunk/dist/assets/js/googlesitekit-ad-blocking-recovery-52eaf653292521e6f9e2.js (deleted)
-
trunk/dist/assets/js/googlesitekit-adminbar-8d712dcb290a2efa6f0d.js (added)
-
trunk/dist/assets/js/googlesitekit-adminbar-ae973883a37707928671.js (deleted)
-
trunk/dist/assets/js/googlesitekit-api-15cac6500fd5d984fb95.js (added)
-
trunk/dist/assets/js/googlesitekit-api-901ee93f4f6962cf9046.js (deleted)
-
trunk/dist/assets/js/googlesitekit-block-tracking-1032e2e997b7685502b9.js (deleted)
-
trunk/dist/assets/js/googlesitekit-block-tracking-6efb8ed8e9e4db8da249.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-forms-1174d7377bfc9977ef9a.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-forms-cb944d60c71ac3389799.js (deleted)
-
trunk/dist/assets/js/googlesitekit-datastore-site-0ae207044ad015f1ab65.js (deleted)
-
trunk/dist/assets/js/googlesitekit-datastore-site-84807d9cf6ef5776b730.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-ui-4ef67fd31a88fbb5e6cc.js (deleted)
-
trunk/dist/assets/js/googlesitekit-datastore-ui-abca0d9c62793c5dec3e.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-user-6afcf4831575891d4620.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-user-a2641700005332059477.js (deleted)
-
trunk/dist/assets/js/googlesitekit-entity-dashboard-446e6cd4802f6bb746df.js (added)
-
trunk/dist/assets/js/googlesitekit-entity-dashboard-745c0621f6ed4e497e99.js (deleted)
-
trunk/dist/assets/js/googlesitekit-key-metrics-setup-7155d7d87c08d0f347db.js (added)
-
trunk/dist/assets/js/googlesitekit-key-metrics-setup-d0b301a68eb222f89e95.js (deleted)
-
trunk/dist/assets/js/googlesitekit-main-dashboard-7c111c025f4097ab330d.js (deleted)
-
trunk/dist/assets/js/googlesitekit-main-dashboard-e0be854ee45bd990b30d.js (added)
-
trunk/dist/assets/js/googlesitekit-metric-selection-8e20247f501e08c98934.js (deleted)
-
trunk/dist/assets/js/googlesitekit-metric-selection-eac03cd59f5737142e49.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-ads-666c5903affd119a99b5.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-ads-d4ea8e78888003ef9758.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-adsense-72c4bd492fde24006d31.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-adsense-e7757e9cf619f6e1adae.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-analytics-4-b0bf57e71006508ce237.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-analytics-4-ebb3b6f75580255a8bba.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-b6c11cde066467937047.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-dce334184f43e93590f0.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-pagespeed-insights-31bab748fa72671d2060.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-pagespeed-insights-ce16569db5c5c3700246.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-reader-revenue-manager-607d96f98f5402c25944.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-reader-revenue-manager-cd958aac94fcb996b9b7.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-search-console-27a4f67f2b1a12d2ac83.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-search-console-3ece11b31d58c3260ec3.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-sign-in-with-google-62652ee70455d9500620.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-sign-in-with-google-d63bc464c616028bcf25.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-tagmanager-46cb575a310506f4135b.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-tagmanager-b4d14f8336e2d04a117d.js (added)
-
trunk/dist/assets/js/googlesitekit-notifications-2367a0e39a4641cf0a86.js (added)
-
trunk/dist/assets/js/googlesitekit-notifications-2b7ac78a18710fb06304.js (deleted)
-
trunk/dist/assets/js/googlesitekit-settings-2fb0ce30e5fd7136b115.js (deleted)
-
trunk/dist/assets/js/googlesitekit-settings-3a2e2212924935e84f6f.js (added)
-
trunk/dist/assets/js/googlesitekit-splash-3278b5454d81de8c01e6.js (deleted)
-
trunk/dist/assets/js/googlesitekit-splash-3f8ea39c312610f0b4af.js (added)
-
trunk/dist/assets/js/googlesitekit-user-input-341ed0eeb4c71c0cf383.js (deleted)
-
trunk/dist/assets/js/googlesitekit-user-input-52ccecb53d5ce5ff13d2.js (added)
-
trunk/dist/assets/js/googlesitekit-vendor-599848015879dcc843df.js (deleted)
-
trunk/dist/assets/js/googlesitekit-vendor-ea32d0ade8d976a846d4.js (added)
-
trunk/dist/assets/js/googlesitekit-widgets-1de0c76dabc56b27df59.js (added)
-
trunk/dist/assets/js/googlesitekit-widgets-28d3c787b59d5e5e4c2a.js (deleted)
-
trunk/dist/assets/js/googlesitekit-wp-dashboard-063e75213f24c48f34aa.js (deleted)
-
trunk/dist/assets/js/googlesitekit-wp-dashboard-a28ad41333bd838dc673.js (added)
-
trunk/dist/manifest.php (modified) (1 diff)
-
trunk/google-site-kit.php (modified) (2 diffs)
-
trunk/includes/Core/Admin/Screens.php (modified) (7 diffs)
-
trunk/includes/Core/Authentication/Google_Proxy.php (modified) (4 diffs)
-
trunk/includes/Core/Authentication/Setup.php (modified) (4 diffs)
-
trunk/includes/Core/Conversion_Tracking/Conversion_Event_Providers/WooCommerce.php (modified) (2 diffs)
-
trunk/includes/Core/Email_Reporting/Email_Log.php (modified) (8 diffs)
-
trunk/includes/Core/Email_Reporting/Email_Log_Batch_Query.php (added)
-
trunk/includes/Core/Email_Reporting/Email_Log_Cleanup.php (added)
-
trunk/includes/Core/Email_Reporting/Email_Report_Data_Section_Part.php (added)
-
trunk/includes/Core/Email_Reporting/Email_Report_Payload_Processor.php (added)
-
trunk/includes/Core/Email_Reporting/Email_Report_Section_Builder.php (added)
-
trunk/includes/Core/Email_Reporting/Email_Reporting.php (modified) (4 diffs)
-
trunk/includes/Core/Email_Reporting/Email_Reporting_Scheduler.php (added)
-
trunk/includes/Core/Email_Reporting/Email_Reporting_Site_Health.php (modified) (1 diff)
-
trunk/includes/Core/Email_Reporting/Frequency_Planner.php (added)
-
trunk/includes/Core/Email_Reporting/Initiator_Task.php (added)
-
trunk/includes/Core/Email_Reporting/Max_Execution_Limiter.php (added)
-
trunk/includes/Core/Email_Reporting/Monitor_Task.php (added)
-
trunk/includes/Core/Email_Reporting/Report_Options (added)
-
trunk/includes/Core/Email_Reporting/Report_Options/Report_Options.php (added)
-
trunk/includes/Core/Email_Reporting/Subscribed_Users_Query.php (added)
-
trunk/includes/Core/Email_Reporting/Worker_Task.php (added)
-
trunk/includes/Core/User/Email_Reporting_Settings.php (modified) (1 diff)
-
trunk/includes/Core/Util/Reset.php (modified) (4 diffs)
-
trunk/includes/Core/Util/Uninstallation.php (modified) (2 diffs)
-
trunk/includes/Modules/AdSense/Email_Reporting (added)
-
trunk/includes/Modules/AdSense/Email_Reporting/Report_Options.php (added)
-
trunk/includes/Modules/Analytics_4.php (modified) (8 diffs)
-
trunk/includes/Modules/Analytics_4/Datapoints (added)
-
trunk/includes/Modules/Analytics_4/Datapoints/Create_Account_Ticket.php (added)
-
trunk/includes/Modules/Analytics_4/Datapoints/Create_Property.php (added)
-
trunk/includes/Modules/Analytics_4/Datapoints/Create_Webdatastream.php (added)
-
trunk/includes/Modules/Analytics_4/Email_Reporting (added)
-
trunk/includes/Modules/Analytics_4/Email_Reporting/Audience_Config.php (added)
-
trunk/includes/Modules/Analytics_4/Email_Reporting/Report_Options.php (added)
-
trunk/includes/Modules/Analytics_4/GoogleAnalyticsAdmin/Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest.php (modified) (2 diffs)
-
trunk/includes/Modules/Analytics_4/Reset_Audiences.php (modified) (1 diff)
-
trunk/includes/Modules/Search_Console/Email_Reporting (added)
-
trunk/includes/Modules/Search_Console/Email_Reporting/Report_Data_Processor.php (added)
-
trunk/includes/Modules/Search_Console/Email_Reporting/Report_Options.php (added)
-
trunk/includes/Plugin.php (modified) (1 diff)
-
trunk/includes/vendor/composer/autoload_classmap.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
google-site-kit/tags/1.167.0/dist/assets/blocks/reader-revenue-manager/block-editor-plugin/index.js
r3373932 r3407206 1 1 (()=>{var t={91:t=>{"use strict";t.exports=function(t,e,n,r,o,i,u,a){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[n,r,o,i,u,a],l=0;(c=new Error(e.replace(/%s/g,function(){return f[l++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},192:(t,e,n)=>{"use strict";var r=n(696),o=60103;if("function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),i("react.fragment")}var u=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function f(t,e,n){var r,i={},f=null,l=null;for(r in void 0!==n&&(f=""+n),void 0!==e.key&&(f=""+e.key),void 0!==e.ref&&(l=e.ref),e)a.call(e,r)&&!c.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===i[r]&&(i[r]=e[r]);return{$$typeof:o,type:t,key:f,ref:l,props:i,_owner:u.current}}e.jsx=f,e.jsxs=f},234:function(t){t.exports=function(){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,n){return e=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},e(t,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function r(t,o,i){return r=n()?Reflect.construct:function(t,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(t,o));return r&&e(i,r.prototype),i},r.apply(null,arguments)}function o(t){return i(t)||u(t)||a(t)||_nonIterableSpread()}function i(t){if(Array.isArray(t))return c(t)}function u(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function a(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var f=Object.hasOwnProperty,l=Object.setPrototypeOf,s=Object.isFrozen,p=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,g=Object.freeze,_=Object.seal,v=Object.create,d="undefined"!=typeof Reflect&&Reflect,y=d.apply,m=d.construct;y||(y=function(t,e,n){return t.apply(e,n)}),g||(g=function(t){return t}),_||(_=function(t){return t}),m||(m=function(t,e){return r(t,o(e))});var b=R(Array.prototype.forEach),w=R(Array.prototype.pop),k=R(Array.prototype.push),S=R(String.prototype.toLowerCase),x=R(String.prototype.toString),A=R(String.prototype.match),E=R(String.prototype.replace),T=R(String.prototype.indexOf),L=R(String.prototype.trim),O=R(RegExp.prototype.test),C=j(TypeError);function R(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return y(t,e,r)}}function j(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return m(t,n)}}function N(t,e,n){var r;n=null!==(r=n)&&void 0!==r?r:S,l&&l(t,null);for(var o=e.length;o--;){var i=e[o];if("string"==typeof i){var u=n(i);u!==i&&(s(e)||(e[o]=u),i=u)}t[i]=!0}return t}function I(t){var e,n=v(null);for(e in t)!0===y(f,t,[e])&&(n[e]=t[e]);return n}function D(t,e){for(;null!==t;){var n=h(t,e);if(n){if(n.get)return R(n.get);if("function"==typeof n.value)return R(n.value)}t=p(t)}function r(t){return console.warn("fallback value for",t),null}return r}var z=g(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),M=g(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),W=g(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),P=g(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),U=g(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),B=g(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),F=g(["#text"]),$=g(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),H=g(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),q=g(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),G=g(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),V=_(/\{\{[\w\W]*|[\w\W]*\}\}/gm),K=_(/<%[\w\W]*|[\w\W]*%>/gm),Z=_(/\${[\w\W]*}/gm),Y=_(/^data-[\-\w.\u00B7-\uFFFF]+$/),J=_(/^aria-[\-\w]+$/),X=_(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Q=_(/^(?:\w+script|data):/i),tt=_(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),et=_(/^html$/i),nt=_(/^[a-z][.\w]*(-[.\w]+)+$/i),rt=function(){return"undefined"==typeof window?null:window},ot=function(e,n){if("object"!==t(e)||"function"!=typeof e.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML:function(t){return t},createScriptURL:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function it(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:rt(),n=function DOMPurify(t){return it(t)};if(n.version="2.5.8",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;var r=e.document,i=e.document,u=e.DocumentFragment,a=e.HTMLTemplateElement,c=e.Node,f=e.Element,l=e.NodeFilter,s=e.NamedNodeMap,p=void 0===s?e.NamedNodeMap||e.MozNamedAttrMap:s,h=e.HTMLFormElement,_=e.DOMParser,v=e.trustedTypes,d=f.prototype,y=D(d,"cloneNode"),m=D(d,"nextSibling"),R=D(d,"childNodes"),j=D(d,"parentNode");if("function"==typeof a){var ut=i.createElement("template");ut.content&&ut.content.ownerDocument&&(i=ut.content.ownerDocument)}var at=ot(v,r),ct=at?at.createHTML(""):"",ft=i,lt=ft.implementation,st=ft.createNodeIterator,pt=ft.createDocumentFragment,ht=ft.getElementsByTagName,gt=r.importNode,_t={};try{_t=I(i).documentMode?i.documentMode:{}}catch(t){}var vt={};n.isSupported="function"==typeof j&<&&void 0!==lt.createHTMLDocument&&9!==_t;var dt,yt,mt=V,bt=K,wt=Z,kt=Y,St=J,xt=Q,At=tt,Et=nt,Tt=X,Lt=null,Ot=N({},[].concat(o(z),o(M),o(W),o(U),o(F))),Ct=null,Rt=N({},[].concat(o($),o(H),o(q),o(G))),jt=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Nt=null,It=null,Dt=!0,zt=!0,Mt=!1,Wt=!0,Pt=!1,Ut=!0,Bt=!1,Ft=!1,$t=!1,Ht=!1,qt=!1,Gt=!1,Vt=!0,Kt=!1,Zt="user-content-",Yt=!0,Jt=!1,Xt={},Qt=null,te=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ee=null,ne=N({},["audio","video","img","source","image","track"]),re=null,oe=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",ue="http://www.w3.org/2000/svg",ae="http://www.w3.org/1999/xhtml",ce=ae,fe=!1,le=null,se=N({},[ie,ue,ae],x),pe=["application/xhtml+xml","text/html"],he="text/html",ge=null,_e=i.createElement("form"),ve=function(t){return t instanceof RegExp||t instanceof Function},de=function(e){ge&&ge===e||(e&&"object"===t(e)||(e={}),e=I(e),dt=dt=-1===pe.indexOf(e.PARSER_MEDIA_TYPE)?he:e.PARSER_MEDIA_TYPE,yt="application/xhtml+xml"===dt?x:S,Lt="ALLOWED_TAGS"in e?N({},e.ALLOWED_TAGS,yt):Ot,Ct="ALLOWED_ATTR"in e?N({},e.ALLOWED_ATTR,yt):Rt,le="ALLOWED_NAMESPACES"in e?N({},e.ALLOWED_NAMESPACES,x):se,re="ADD_URI_SAFE_ATTR"in e?N(I(oe),e.ADD_URI_SAFE_ATTR,yt):oe,ee="ADD_DATA_URI_TAGS"in e?N(I(ne),e.ADD_DATA_URI_TAGS,yt):ne,Qt="FORBID_CONTENTS"in e?N({},e.FORBID_CONTENTS,yt):te,Nt="FORBID_TAGS"in e?N({},e.FORBID_TAGS,yt):{},It="FORBID_ATTR"in e?N({},e.FORBID_ATTR,yt):{},Xt="USE_PROFILES"in e&&e.USE_PROFILES,Dt=!1!==e.ALLOW_ARIA_ATTR,zt=!1!==e.ALLOW_DATA_ATTR,Mt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Wt=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Pt=e.SAFE_FOR_TEMPLATES||!1,Ut=!1!==e.SAFE_FOR_XML,Bt=e.WHOLE_DOCUMENT||!1,Ht=e.RETURN_DOM||!1,qt=e.RETURN_DOM_FRAGMENT||!1,Gt=e.RETURN_TRUSTED_TYPE||!1,$t=e.FORCE_BODY||!1,Vt=!1!==e.SANITIZE_DOM,Kt=e.SANITIZE_NAMED_PROPS||!1,Yt=!1!==e.KEEP_CONTENT,Jt=e.IN_PLACE||!1,Tt=e.ALLOWED_URI_REGEXP||Tt,ce=e.NAMESPACE||ae,jt=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ve(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(jt.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ve(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(jt.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(jt.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Pt&&(zt=!1),qt&&(Ht=!0),Xt&&(Lt=N({},o(F)),Ct=[],!0===Xt.html&&(N(Lt,z),N(Ct,$)),!0===Xt.svg&&(N(Lt,M),N(Ct,H),N(Ct,G)),!0===Xt.svgFilters&&(N(Lt,W),N(Ct,H),N(Ct,G)),!0===Xt.mathMl&&(N(Lt,U),N(Ct,q),N(Ct,G))),e.ADD_TAGS&&(Lt===Ot&&(Lt=I(Lt)),N(Lt,e.ADD_TAGS,yt)),e.ADD_ATTR&&(Ct===Rt&&(Ct=I(Ct)),N(Ct,e.ADD_ATTR,yt)),e.ADD_URI_SAFE_ATTR&&N(re,e.ADD_URI_SAFE_ATTR,yt),e.FORBID_CONTENTS&&(Qt===te&&(Qt=I(Qt)),N(Qt,e.FORBID_CONTENTS,yt)),Yt&&(Lt["#text"]=!0),Bt&&N(Lt,["html","head","body"]),Lt.table&&(N(Lt,["tbody"]),delete Nt.tbody),g&&g(e),ge=e)},ye=N({},["mi","mo","mn","ms","mtext"]),me=N({},["annotation-xml"]),be=N({},["title","style","font","a","script"]),we=N({},M);N(we,W),N(we,P);var ke=N({},U);N(ke,B);var Se=function(t){var e=j(t);e&&e.tagName||(e={namespaceURI:ce,tagName:"template"});var n=S(t.tagName),r=S(e.tagName);return!!le[t.namespaceURI]&&(t.namespaceURI===ue?e.namespaceURI===ae?"svg"===n:e.namespaceURI===ie?"svg"===n&&("annotation-xml"===r||ye[r]):Boolean(we[n]):t.namespaceURI===ie?e.namespaceURI===ae?"math"===n:e.namespaceURI===ue?"math"===n&&me[r]:Boolean(ke[n]):t.namespaceURI===ae?!(e.namespaceURI===ue&&!me[r])&&!(e.namespaceURI===ie&&!ye[r])&&!ke[n]&&(be[n]||!we[n]):!("application/xhtml+xml"!==dt||!le[t.namespaceURI]))},xe=function(t){k(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=ct}catch(e){t.remove()}}},Ae=function(t,e){try{k(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){k(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!Ct[t])if(Ht||qt)try{xe(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},Ee=function(t){var e,n;if($t)t="<remove></remove>"+t;else{var r=A(t,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===dt&&ce===ae&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");var o=at?at.createHTML(t):t;if(ce===ae)try{e=(new _).parseFromString(o,dt)}catch(t){}if(!e||!e.documentElement){e=lt.createDocument(ce,"template",null);try{e.documentElement.innerHTML=fe?ct:o}catch(t){}}var u=e.body||e.documentElement;return t&&n&&u.insertBefore(i.createTextNode(n),u.childNodes[0]||null),ce===ae?ht.call(e,Bt?"html":"body")[0]:Bt?e.documentElement:u},Te=function(t){return st.call(t.ownerDocument||t,t,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null,!1)},Le=function(t){return t instanceof h&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof p)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},Oe=function(e){return"object"===t(c)?e instanceof c:e&&"object"===t(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Ce=function(t,e,r){vt[t]&&b(vt[t],function(t){t.call(n,e,r,ge)})},Re=function(t){var e;if(Ce("beforeSanitizeElements",t,null),Le(t))return xe(t),!0;if(O(/[\u0080-\uFFFF]/,t.nodeName))return xe(t),!0;var r=yt(t.nodeName);if(Ce("uponSanitizeElement",t,{tagName:r,allowedTags:Lt}),t.hasChildNodes()&&!Oe(t.firstElementChild)&&(!Oe(t.content)||!Oe(t.content.firstElementChild))&&O(/<[/\w]/g,t.innerHTML)&&O(/<[/\w]/g,t.textContent))return xe(t),!0;if("select"===r&&O(/<template/i,t.innerHTML))return xe(t),!0;if(7===t.nodeType)return xe(t),!0;if(Ut&&8===t.nodeType&&O(/<[/\w]/g,t.data))return xe(t),!0;if(!Lt[r]||Nt[r]){if(!Nt[r]&&Ne(r)){if(jt.tagNameCheck instanceof RegExp&&O(jt.tagNameCheck,r))return!1;if(jt.tagNameCheck instanceof Function&&jt.tagNameCheck(r))return!1}if(Yt&&!Qt[r]){var o=j(t)||t.parentNode,i=R(t)||t.childNodes;if(i&&o)for(var u=i.length-1;u>=0;--u){var a=y(i[u],!0);a.__removalCount=(t.__removalCount||0)+1,o.insertBefore(a,m(t))}}return xe(t),!0}return t instanceof f&&!Se(t)?(xe(t),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!O(/<\/no(script|embed|frames)/i,t.innerHTML)?(Pt&&3===t.nodeType&&(e=t.textContent,e=E(e,mt," "),e=E(e,bt," "),e=E(e,wt," "),t.textContent!==e&&(k(n.removed,{element:t.cloneNode()}),t.textContent=e)),Ce("afterSanitizeElements",t,null),!1):(xe(t),!0)},je=function(t,e,n){if(Vt&&("id"===e||"name"===e)&&(n in i||n in _e))return!1;if(zt&&!It[e]&&O(kt,e));else if(Dt&&O(St,e));else if(!Ct[e]||It[e]){if(!(Ne(t)&&(jt.tagNameCheck instanceof RegExp&&O(jt.tagNameCheck,t)||jt.tagNameCheck instanceof Function&&jt.tagNameCheck(t))&&(jt.attributeNameCheck instanceof RegExp&&O(jt.attributeNameCheck,e)||jt.attributeNameCheck instanceof Function&&jt.attributeNameCheck(e))||"is"===e&&jt.allowCustomizedBuiltInElements&&(jt.tagNameCheck instanceof RegExp&&O(jt.tagNameCheck,n)||jt.tagNameCheck instanceof Function&&jt.tagNameCheck(n))))return!1}else if(re[e]);else if(O(Tt,E(n,At,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==T(n,"data:")||!ee[t])if(Mt&&!O(xt,E(n,At,"")));else if(n)return!1;return!0},Ne=function(t){return"annotation-xml"!==t&&A(t,Et)},Ie=function(e){var r,o,i,u;Ce("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a&&!Le(e)){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ct};for(u=a.length;u--;){var f=r=a[u],l=f.name,s=f.namespaceURI;if(o="value"===l?r.value:L(r.value),i=yt(l),c.attrName=i,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,Ce("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr&&(Ae(l,e),c.keepAttr))if(Wt||!O(/\/>/i,o)){Pt&&(o=E(o,mt," "),o=E(o,bt," "),o=E(o,wt," "));var p=yt(e.nodeName);if(je(p,i,o))if(!Kt||"id"!==i&&"name"!==i||(Ae(l,e),o=Zt+o),Ut&&O(/((--!?|])>)|<\/(style|title)/i,o))Ae(l,e);else{if(at&&"object"===t(v)&&"function"==typeof v.getAttributeType)if(s);else switch(v.getAttributeType(p,i)){case"TrustedHTML":o=at.createHTML(o);break;case"TrustedScriptURL":o=at.createScriptURL(o)}try{s?e.setAttributeNS(s,l,o):e.setAttribute(l,o),Le(e)?xe(e):w(n.removed)}catch(t){}}}else Ae(l,e)}Ce("afterSanitizeAttributes",e,null)}},De=function t(e){var n,r=Te(e);for(Ce("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)Ce("uponSanitizeShadowNode",n,null),Re(n),Ie(n),n.content instanceof u&&t(n.content);Ce("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(o){var i,a,f,l,s,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((fe=!o)&&(o="\x3c!--\x3e"),"string"!=typeof o&&!Oe(o)){if("function"!=typeof o.toString)throw C("toString is not a function");if("string"!=typeof(o=o.toString()))throw C("dirty is not a string, aborting")}if(!n.isSupported){if("object"===t(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof o)return e.toStaticHTML(o);if(Oe(o))return e.toStaticHTML(o.outerHTML)}return o}if(Ft||de(p),n.removed=[],"string"==typeof o&&(Jt=!1),Jt){if(o.nodeName){var h=yt(o.nodeName);if(!Lt[h]||Nt[h])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof c)1===(a=(i=Ee("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?i=a:i.appendChild(a);else{if(!Ht&&!Pt&&!Bt&&-1===o.indexOf("<"))return at&&Gt?at.createHTML(o):o;if(!(i=Ee(o)))return Ht?null:Gt?ct:""}i&&$t&&xe(i.firstChild);for(var g=Te(Jt?o:i);f=g.nextNode();)3===f.nodeType&&f===l||(Re(f),Ie(f),f.content instanceof u&&De(f.content),l=f);if(l=null,Jt)return o;if(Ht){if(qt)for(s=pt.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(Ct.shadowroot||Ct.shadowrootmod)&&(s=gt.call(r,s,!0)),s}var _=Bt?i.outerHTML:i.innerHTML;return Bt&&Lt["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&O(et,i.ownerDocument.doctype.name)&&(_="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+_),Pt&&(_=E(_,mt," "),_=E(_,bt," "),_=E(_,wt," ")),at&&Gt?at.createHTML(_):_},n.setConfig=function(t){de(t),Ft=!0},n.clearConfig=function(){ge=null,Ft=!1},n.isValidAttribute=function(t,e,n){ge||de({});var r=yt(t),o=yt(e);return je(r,o,n)},n.addHook=function(t,e){"function"==typeof e&&(vt[t]=vt[t]||[],k(vt[t],e))},n.removeHook=function(t){if(vt[t])return w(vt[t])},n.removeHooks=function(t){vt[t]&&(vt[t]=[])},n.removeAllHooks=function(){vt={}},n}return it()}()},243:function(t,e,n){t=n.nmd(t),function(){var r,o="Expected a function",i="__lodash_hash_undefined__",u="__lodash_placeholder__",a=16,c=32,f=64,l=128,s=256,p=1/0,h=9007199254740991,g=NaN,_=4294967295,v=[["ary",l],["bind",1],["bindKey",2],["curry",8],["curryRight",a],["flip",512],["partial",c],["partialRight",f],["rearg",s]],d="[object Arguments]",y="[object Array]",m="[object Boolean]",b="[object Date]",w="[object Error]",k="[object Function]",S="[object GeneratorFunction]",x="[object Map]",A="[object Number]",E="[object Object]",T="[object Promise]",L="[object RegExp]",O="[object Set]",C="[object String]",R="[object Symbol]",j="[object WeakMap]",N="[object ArrayBuffer]",I="[object DataView]",D="[object Float32Array]",z="[object Float64Array]",M="[object Int8Array]",W="[object Int16Array]",P="[object Int32Array]",U="[object Uint8Array]",B="[object Uint8ClampedArray]",F="[object Uint16Array]",$="[object Uint32Array]",H=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,V=/&(?:amp|lt|gt|quot|#39);/g,K=/[&<>"']/g,Z=RegExp(V.source),Y=RegExp(K.source),J=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,tt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,et=/^\w*$/,nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rt=/[\\^$.*+?()[\]{}|]/g,ot=RegExp(rt.source),it=/^\s+/,ut=/\s/,at=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ct=/\{\n\/\* \[wrapped with (.+)\] \*/,ft=/,? & /,lt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,st=/[()=,{}\[\]\/\s]/,pt=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gt=/\w*$/,_t=/^[-+]0x[0-9a-f]+$/i,vt=/^0b[01]+$/i,dt=/^\[object .+?Constructor\]$/,yt=/^0o[0-7]+$/i,mt=/^(?:0|[1-9]\d*)$/,bt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,wt=/($^)/,kt=/['\n\r\u2028\u2029\\]/g,St="\\ud800-\\udfff",xt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",At="\\u2700-\\u27bf",Et="a-z\\xdf-\\xf6\\xf8-\\xff",Tt="A-Z\\xc0-\\xd6\\xd8-\\xde",Lt="\\ufe0e\\ufe0f",Ot="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ct="['’]",Rt="["+St+"]",jt="["+Ot+"]",Nt="["+xt+"]",It="\\d+",Dt="["+At+"]",zt="["+Et+"]",Mt="[^"+St+Ot+It+At+Et+Tt+"]",Wt="\\ud83c[\\udffb-\\udfff]",Pt="[^"+St+"]",Ut="(?:\\ud83c[\\udde6-\\uddff]){2}",Bt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ft="["+Tt+"]",$t="\\u200d",Ht="(?:"+zt+"|"+Mt+")",qt="(?:"+Ft+"|"+Mt+")",Gt="(?:['’](?:d|ll|m|re|s|t|ve))?",Vt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Kt="(?:"+Nt+"|"+Wt+")"+"?",Zt="["+Lt+"]?",Yt=Zt+Kt+("(?:"+$t+"(?:"+[Pt,Ut,Bt].join("|")+")"+Zt+Kt+")*"),Jt="(?:"+[Dt,Ut,Bt].join("|")+")"+Yt,Xt="(?:"+[Pt+Nt+"?",Nt,Ut,Bt,Rt].join("|")+")",Qt=RegExp(Ct,"g"),te=RegExp(Nt,"g"),ee=RegExp(Wt+"(?="+Wt+")|"+Xt+Yt,"g"),ne=RegExp([Ft+"?"+zt+"+"+Gt+"(?="+[jt,Ft,"$"].join("|")+")",qt+"+"+Vt+"(?="+[jt,Ft+Ht,"$"].join("|")+")",Ft+"?"+Ht+"+"+Gt,Ft+"+"+Vt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",It,Jt].join("|"),"g"),re=RegExp("["+$t+St+xt+Lt+"]"),oe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ie=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ue=-1,ae={};ae[D]=ae[z]=ae[M]=ae[W]=ae[P]=ae[U]=ae[B]=ae[F]=ae[$]=!0,ae[d]=ae[y]=ae[N]=ae[m]=ae[I]=ae[b]=ae[w]=ae[k]=ae[x]=ae[A]=ae[E]=ae[L]=ae[O]=ae[C]=ae[j]=!1;var ce={};ce[d]=ce[y]=ce[N]=ce[I]=ce[m]=ce[b]=ce[D]=ce[z]=ce[M]=ce[W]=ce[P]=ce[x]=ce[A]=ce[E]=ce[L]=ce[O]=ce[C]=ce[R]=ce[U]=ce[B]=ce[F]=ce[$]=!0,ce[w]=ce[k]=ce[j]=!1;var fe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},le=parseFloat,se=parseInt,pe="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,he="object"==typeof self&&self&&self.Object===Object&&self,ge=pe||he||Function("return this")(),_e=e&&!e.nodeType&&e,ve=_e&&t&&!t.nodeType&&t,de=ve&&ve.exports===_e,ye=de&&pe.process,me=function(){try{var t=ve&&ve.require&&ve.require("util").types;return t||ye&&ye.binding&&ye.binding("util")}catch(t){}}(),be=me&&me.isArrayBuffer,we=me&&me.isDate,ke=me&&me.isMap,Se=me&&me.isRegExp,xe=me&&me.isSet,Ae=me&&me.isTypedArray;function Ee(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Te(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];e(r,u,n(u),t)}return r}function Le(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Oe(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ce(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Re(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var u=t[n];e(u,n,t)&&(i[o++]=u)}return i}function je(t,e){return!!(null==t?0:t.length)&&Fe(t,e,0)>-1}function Ne(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}function Ie(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function De(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function ze(t,e,n,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}function Me(t,e,n,r){var o=null==t?0:t.length;for(r&&o&&(n=t[--o]);o--;)n=e(n,t[o],o,t);return n}function We(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var Pe=Ge("length");function Ue(t,e,n){var r;return n(t,function(t,n,o){if(e(t,n,o))return r=n,!1}),r}function Be(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}function Fe(t,e,n){return e==e?function(t,e,n){var r=n-1,o=t.length;for(;++r<o;)if(t[r]===e)return r;return-1}(t,e,n):Be(t,He,n)}function $e(t,e,n,r){for(var o=n-1,i=t.length;++o<i;)if(r(t[o],e))return o;return-1}function He(t){return t!=t}function qe(t,e){var n=null==t?0:t.length;return n?Ze(t,e)/n:g}function Ge(t){return function(e){return null==e?r:e[t]}}function Ve(t){return function(e){return null==t?r:t[e]}}function Ke(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function Ze(t,e){for(var n,o=-1,i=t.length;++o<i;){var u=e(t[o]);u!==r&&(n=n===r?u:n+u)}return n}function Ye(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Je(t){return t?t.slice(0,_n(t)+1).replace(it,""):t}function Xe(t){return function(e){return t(e)}}function Qe(t,e){return Ie(e,function(e){return t[e]})}function tn(t,e){return t.has(e)}function en(t,e){for(var n=-1,r=t.length;++n<r&&Fe(e,t[n],0)>-1;);return n}function nn(t,e){for(var n=t.length;n--&&Fe(e,t[n],0)>-1;);return n}var rn=Ve({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),on=Ve({"&":"&","<":"<",">":">",'"':""","'":"'"});function un(t){return"\\"+fe[t]}function an(t){return re.test(t)}function cn(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function fn(t,e){return function(n){return t(e(n))}}function ln(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var a=t[n];a!==e&&a!==u||(t[n]=u,i[o++]=n)}return i}function sn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function pn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function hn(t){return an(t)?function(t){var e=ee.lastIndex=0;for(;ee.test(t);)++e;return e}(t):Pe(t)}function gn(t){return an(t)?function(t){return t.match(ee)||[]}(t):function(t){return t.split("")}(t)}function _n(t){for(var e=t.length;e--&&ut.test(t.charAt(e)););return e}var vn=Ve({"&":"&","<":"<",">":">",""":'"',"'":"'"});var dn=function t(e){var n,ut=(e=null==e?ge:dn.defaults(ge.Object(),e,dn.pick(ge,ie))).Array,St=e.Date,xt=e.Error,At=e.Function,Et=e.Math,Tt=e.Object,Lt=e.RegExp,Ot=e.String,Ct=e.TypeError,Rt=ut.prototype,jt=At.prototype,Nt=Tt.prototype,It=e["__core-js_shared__"],Dt=jt.toString,zt=Nt.hasOwnProperty,Mt=0,Wt=(n=/[^.]+$/.exec(It&&It.keys&&It.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Pt=Nt.toString,Ut=Dt.call(Tt),Bt=ge._,Ft=Lt("^"+Dt.call(zt).replace(rt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$t=de?e.Buffer:r,Ht=e.Symbol,qt=e.Uint8Array,Gt=$t?$t.allocUnsafe:r,Vt=fn(Tt.getPrototypeOf,Tt),Kt=Tt.create,Zt=Nt.propertyIsEnumerable,Yt=Rt.splice,Jt=Ht?Ht.isConcatSpreadable:r,Xt=Ht?Ht.iterator:r,ee=Ht?Ht.toStringTag:r,re=function(){try{var t=ui(Tt,"defineProperty");return t({},"",{}),t}catch(t){}}(),fe=e.clearTimeout!==ge.clearTimeout&&e.clearTimeout,pe=St&&St.now!==ge.Date.now&&St.now,he=e.setTimeout!==ge.setTimeout&&e.setTimeout,_e=Et.ceil,ve=Et.floor,ye=Tt.getOwnPropertySymbols,me=$t?$t.isBuffer:r,Pe=e.isFinite,Ve=Rt.join,yn=fn(Tt.keys,Tt),mn=Et.max,bn=Et.min,wn=St.now,kn=e.parseInt,Sn=Et.random,xn=Rt.reverse,An=ui(e,"DataView"),En=ui(e,"Map"),Tn=ui(e,"Promise"),Ln=ui(e,"Set"),On=ui(e,"WeakMap"),Cn=ui(Tt,"create"),Rn=On&&new On,jn={},Nn=ji(An),In=ji(En),Dn=ji(Tn),zn=ji(Ln),Mn=ji(On),Wn=Ht?Ht.prototype:r,Pn=Wn?Wn.valueOf:r,Un=Wn?Wn.toString:r;function Bn(t){if(Zu(t)&&!Wu(t)&&!(t instanceof LazyWrapper)){if(t instanceof LodashWrapper)return t;if(zt.call(t,"__wrapped__"))return Ni(t)}return new LodashWrapper(t)}var Fn=function(){function t(){}return function(e){if(!Ku(e))return{};if(Kt)return Kt(e);t.prototype=e;var n=new t;return t.prototype=r,n}}();function $n(){}function LodashWrapper(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=r}function LazyWrapper(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=_,this.__views__=[]}function Hash(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ListCache(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function MapCache(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function SetCache(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new MapCache;++e<n;)this.add(t[e])}function Stack(t){var e=this.__data__=new ListCache(t);this.size=e.size}function Hn(t,e){var n=Wu(t),r=!n&&Mu(t),o=!n&&!r&&Fu(t),i=!n&&!r&&!o&&ra(t),u=n||r||o||i,a=u?Ye(t.length,Ot):[],c=a.length;for(var f in t)!e&&!zt.call(t,f)||u&&("length"==f||o&&("offset"==f||"parent"==f)||i&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||hi(f,c))||a.push(f);return a}function qn(t){var e=t.length;return e?t[Fr(0,e-1)]:r}function Gn(t,e){return Oi(xo(t),er(e,0,t.length))}function Vn(t){return Oi(xo(t))}function Kn(t,e,n){(n!==r&&!Iu(t[e],n)||n===r&&!(e in t))&&Qn(t,e,n)}function Zn(t,e,n){var o=t[e];zt.call(t,e)&&Iu(o,n)&&(n!==r||e in t)||Qn(t,e,n)}function Yn(t,e){for(var n=t.length;n--;)if(Iu(t[n][0],e))return n;return-1}function Jn(t,e,n,r){return ur(t,function(t,o,i){e(r,t,n(t),i)}),r}function Xn(t,e){return t&&Ao(e,Aa(e),t)}function Qn(t,e,n){"__proto__"==e&&re?re(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function tr(t,e){for(var n=-1,o=e.length,i=ut(o),u=null==t;++n<o;)i[n]=u?r:ba(t,e[n]);return i}function er(t,e,n){return t==t&&(n!==r&&(t=t<=n?t:n),e!==r&&(t=t>=e?t:e)),t}function nr(t,e,n,o,i,u){var a,c=1&e,f=2&e,l=4&e;if(n&&(a=i?n(t,o,i,u):n(t)),a!==r)return a;if(!Ku(t))return t;var s=Wu(t);if(s){if(a=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&zt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!c)return xo(t,a)}else{var p=fi(t),h=p==k||p==S;if(Fu(t))return yo(t,c);if(p==E||p==d||h&&!i){if(a=f||h?{}:si(t),!c)return f?function(t,e){return Ao(t,ci(t),e)}(t,function(t,e){return t&&Ao(e,Ea(e),t)}(a,t)):function(t,e){return Ao(t,ai(t),e)}(t,Xn(a,t))}else{if(!ce[p])return i?t:{};a=function(t,e,n){var r=t.constructor;switch(e){case N:return mo(t);case m:case b:return new r(+t);case I:return function(t,e){var n=e?mo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case D:case z:case M:case W:case P:case U:case B:case F:case $:return bo(t,n);case x:return new r;case A:case C:return new r(t);case L:return function(t){var e=new t.constructor(t.source,gt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case O:return new r;case R:return o=t,Pn?Tt(Pn.call(o)):{}}var o}(t,p,c)}}u||(u=new Stack);var g=u.get(t);if(g)return g;u.set(t,a),ta(t)?t.forEach(function(r){a.add(nr(r,e,n,r,t,u))}):Yu(t)&&t.forEach(function(r,o){a.set(o,nr(r,e,n,o,t,u))});var _=s?r:(l?f?Qo:Xo:f?Ea:Aa)(t);return Le(_||t,function(r,o){_&&(r=t[o=r]),Zn(a,o,nr(r,e,n,o,t,u))}),a}function rr(t,e,n){var o=n.length;if(null==t)return!o;for(t=Tt(t);o--;){var i=n[o],u=e[i],a=t[i];if(a===r&&!(i in t)||!u(a))return!1}return!0}function or(t,e,n){if("function"!=typeof t)throw new Ct(o);return Ai(function(){t.apply(r,n)},e)}function ir(t,e,n,r){var o=-1,i=je,u=!0,a=t.length,c=[],f=e.length;if(!a)return c;n&&(e=Ie(e,Xe(n))),r?(i=Ne,u=!1):e.length>=200&&(i=tn,u=!1,e=new SetCache(e));t:for(;++o<a;){var l=t[o],s=null==n?l:n(l);if(l=r||0!==l?l:0,u&&s==s){for(var p=f;p--;)if(e[p]===s)continue t;c.push(l)}else i(e,s,r)||c.push(l)}return c}Bn.templateSettings={escape:J,evaluate:X,interpolate:Q,variable:"",imports:{_:Bn}},Bn.prototype=$n.prototype,Bn.prototype.constructor=Bn,LodashWrapper.prototype=Fn($n.prototype),LodashWrapper.prototype.constructor=LodashWrapper,LazyWrapper.prototype=Fn($n.prototype),LazyWrapper.prototype.constructor=LazyWrapper,Hash.prototype.clear=function(){this.__data__=Cn?Cn(null):{},this.size=0},Hash.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Hash.prototype.get=function(t){var e=this.__data__;if(Cn){var n=e[t];return n===i?r:n}return zt.call(e,t)?e[t]:r},Hash.prototype.has=function(t){var e=this.__data__;return Cn?e[t]!==r:zt.call(e,t)},Hash.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Cn&&e===r?i:e,this},ListCache.prototype.clear=function(){this.__data__=[],this.size=0},ListCache.prototype.delete=function(t){var e=this.__data__,n=Yn(e,t);return!(n<0)&&(n==e.length-1?e.pop():Yt.call(e,n,1),--this.size,!0)},ListCache.prototype.get=function(t){var e=this.__data__,n=Yn(e,t);return n<0?r:e[n][1]},ListCache.prototype.has=function(t){return Yn(this.__data__,t)>-1},ListCache.prototype.set=function(t,e){var n=this.__data__,r=Yn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},MapCache.prototype.clear=function(){this.size=0,this.__data__={hash:new Hash,map:new(En||ListCache),string:new Hash}},MapCache.prototype.delete=function(t){var e=oi(this,t).delete(t);return this.size-=e?1:0,e},MapCache.prototype.get=function(t){return oi(this,t).get(t)},MapCache.prototype.has=function(t){return oi(this,t).has(t)},MapCache.prototype.set=function(t,e){var n=oi(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},SetCache.prototype.add=SetCache.prototype.push=function(t){return this.__data__.set(t,i),this},SetCache.prototype.has=function(t){return this.__data__.has(t)},Stack.prototype.clear=function(){this.__data__=new ListCache,this.size=0},Stack.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Stack.prototype.get=function(t){return this.__data__.get(t)},Stack.prototype.has=function(t){return this.__data__.has(t)},Stack.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ListCache){var r=n.__data__;if(!En||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new MapCache(r)}return n.set(t,e),this.size=n.size,this};var ur=Lo(gr),ar=Lo(_r,!0);function cr(t,e){var n=!0;return ur(t,function(t,r,o){return n=!!e(t,r,o)}),n}function fr(t,e,n){for(var o=-1,i=t.length;++o<i;){var u=t[o],a=e(u);if(null!=a&&(c===r?a==a&&!na(a):n(a,c)))var c=a,f=u}return f}function lr(t,e){var n=[];return ur(t,function(t,r,o){e(t,r,o)&&n.push(t)}),n}function sr(t,e,n,r,o){var i=-1,u=t.length;for(n||(n=pi),o||(o=[]);++i<u;){var a=t[i];e>0&&n(a)?e>1?sr(a,e-1,n,r,o):De(o,a):r||(o[o.length]=a)}return o}var pr=Oo(),hr=Oo(!0);function gr(t,e){return t&&pr(t,e,Aa)}function _r(t,e){return t&&hr(t,e,Aa)}function vr(t,e){return Re(e,function(e){return qu(t[e])})}function dr(t,e){for(var n=0,o=(e=ho(e,t)).length;null!=t&&n<o;)t=t[Ri(e[n++])];return n&&n==o?t:r}function yr(t,e,n){var r=e(t);return Wu(t)?r:De(r,n(t))}function mr(t){return null==t?t===r?"[object Undefined]":"[object Null]":ee&&ee in Tt(t)?function(t){var e=zt.call(t,ee),n=t[ee];try{t[ee]=r;var o=!0}catch(t){}var i=Pt.call(t);o&&(e?t[ee]=n:delete t[ee]);return i}(t):function(t){return Pt.call(t)}(t)}function br(t,e){return t>e}function wr(t,e){return null!=t&&zt.call(t,e)}function kr(t,e){return null!=t&&e in Tt(t)}function Sr(t,e,n){for(var o=n?Ne:je,i=t[0].length,u=t.length,a=u,c=ut(u),f=1/0,l=[];a--;){var s=t[a];a&&e&&(s=Ie(s,Xe(e))),f=bn(s.length,f),c[a]=!n&&(e||i>=120&&s.length>=120)?new SetCache(a&&s):r}s=t[0];var p=-1,h=c[0];t:for(;++p<i&&l.length<f;){var g=s[p],_=e?e(g):g;if(g=n||0!==g?g:0,!(h?tn(h,_):o(l,_,n))){for(a=u;--a;){var v=c[a];if(!(v?tn(v,_):o(t[a],_,n)))continue t}h&&h.push(_),l.push(g)}}return l}function xr(t,e,n){var o=null==(t=ki(t,e=ho(e,t)))?t:t[Ri(Hi(e))];return null==o?r:Ee(o,t,n)}function Ar(t){return Zu(t)&&mr(t)==d}function Er(t,e,n,o,i){return t===e||(null==t||null==e||!Zu(t)&&!Zu(e)?t!=t&&e!=e:function(t,e,n,o,i,u){var a=Wu(t),c=Wu(e),f=a?y:fi(t),l=c?y:fi(e),s=(f=f==d?E:f)==E,p=(l=l==d?E:l)==E,h=f==l;if(h&&Fu(t)){if(!Fu(e))return!1;a=!0,s=!1}if(h&&!s)return u||(u=new Stack),a||ra(t)?Yo(t,e,n,o,i,u):function(t,e,n,r,o,i,u){switch(n){case I:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case N:return!(t.byteLength!=e.byteLength||!i(new qt(t),new qt(e)));case m:case b:case A:return Iu(+t,+e);case w:return t.name==e.name&&t.message==e.message;case L:case C:return t==e+"";case x:var a=cn;case O:var c=1&r;if(a||(a=sn),t.size!=e.size&&!c)return!1;var f=u.get(t);if(f)return f==e;r|=2,u.set(t,e);var l=Yo(a(t),a(e),r,o,i,u);return u.delete(t),l;case R:if(Pn)return Pn.call(t)==Pn.call(e)}return!1}(t,e,f,n,o,i,u);if(!(1&n)){var g=s&&zt.call(t,"__wrapped__"),_=p&&zt.call(e,"__wrapped__");if(g||_){var v=g?t.value():t,k=_?e.value():e;return u||(u=new Stack),i(v,k,n,o,u)}}if(!h)return!1;return u||(u=new Stack),function(t,e,n,o,i,u){var a=1&n,c=Xo(t),f=c.length,l=Xo(e),s=l.length;if(f!=s&&!a)return!1;var p=f;for(;p--;){var h=c[p];if(!(a?h in e:zt.call(e,h)))return!1}var g=u.get(t),_=u.get(e);if(g&&_)return g==e&&_==t;var v=!0;u.set(t,e),u.set(e,t);var d=a;for(;++p<f;){var y=t[h=c[p]],m=e[h];if(o)var b=a?o(m,y,h,e,t,u):o(y,m,h,t,e,u);if(!(b===r?y===m||i(y,m,n,o,u):b)){v=!1;break}d||(d="constructor"==h)}if(v&&!d){var w=t.constructor,k=e.constructor;w==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof k&&k instanceof k||(v=!1)}return u.delete(t),u.delete(e),v}(t,e,n,o,i,u)}(t,e,n,o,Er,i))}function Tr(t,e,n,o){var i=n.length,u=i,a=!o;if(null==t)return!u;for(t=Tt(t);i--;){var c=n[i];if(a&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++i<u;){var f=(c=n[i])[0],l=t[f],s=c[1];if(a&&c[2]){if(l===r&&!(f in t))return!1}else{var p=new Stack;if(o)var h=o(l,s,f,t,e,p);if(!(h===r?Er(s,l,3,o,p):h))return!1}}return!0}function Lr(t){return!(!Ku(t)||(e=t,Wt&&Wt in e))&&(qu(t)?Ft:dt).test(ji(t));var e}function Or(t){return"function"==typeof t?t:null==t?Ja:"object"==typeof t?Wu(t)?Dr(t[0],t[1]):Ir(t):uc(t)}function Cr(t){if(!yi(t))return yn(t);var e=[];for(var n in Tt(t))zt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Rr(t){if(!Ku(t))return function(t){var e=[];if(null!=t)for(var n in Tt(t))e.push(n);return e}(t);var e=yi(t),n=[];for(var r in t)("constructor"!=r||!e&&zt.call(t,r))&&n.push(r);return n}function jr(t,e){return t<e}function Nr(t,e){var n=-1,r=Uu(t)?ut(t.length):[];return ur(t,function(t,o,i){r[++n]=e(t,o,i)}),r}function Ir(t){var e=ii(t);return 1==e.length&&e[0][2]?bi(e[0][0],e[0][1]):function(n){return n===t||Tr(n,t,e)}}function Dr(t,e){return _i(t)&&mi(e)?bi(Ri(t),e):function(n){var o=ba(n,t);return o===r&&o===e?wa(n,t):Er(e,o,3)}}function zr(t,e,n,o,i){t!==e&&pr(e,function(u,a){if(i||(i=new Stack),Ku(u))!function(t,e,n,o,i,u,a){var c=Si(t,n),f=Si(e,n),l=a.get(f);if(l)return void Kn(t,n,l);var s=u?u(c,f,n+"",t,e,a):r,p=s===r;if(p){var h=Wu(f),g=!h&&Fu(f),_=!h&&!g&&ra(f);s=f,h||g||_?Wu(c)?s=c:Bu(c)?s=xo(c):g?(p=!1,s=yo(f,!0)):_?(p=!1,s=bo(f,!0)):s=[]:Xu(f)||Mu(f)?(s=c,Mu(c)?s=sa(c):Ku(c)&&!qu(c)||(s=si(f))):p=!1}p&&(a.set(f,s),i(s,f,o,u,a),a.delete(f));Kn(t,n,s)}(t,e,a,n,zr,o,i);else{var c=o?o(Si(t,a),u,a+"",t,e,i):r;c===r&&(c=u),Kn(t,a,c)}},Ea)}function Mr(t,e){var n=t.length;if(n)return hi(e+=e<0?n:0,n)?t[e]:r}function Wr(t,e,n){e=e.length?Ie(e,function(t){return Wu(t)?function(e){return dr(e,1===t.length?t[0]:t)}:t}):[Ja];var r=-1;e=Ie(e,Xe(ri()));var o=Nr(t,function(t,n,o){var i=Ie(e,function(e){return e(t)});return{criteria:i,index:++r,value:t}});return function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(o,function(t,e){return function(t,e,n){var r=-1,o=t.criteria,i=e.criteria,u=o.length,a=n.length;for(;++r<u;){var c=wo(o[r],i[r]);if(c)return r>=a?c:c*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)})}function Pr(t,e,n){for(var r=-1,o=e.length,i={};++r<o;){var u=e[r],a=dr(t,u);n(a,u)&&Vr(i,ho(u,t),a)}return i}function Ur(t,e,n,r){var o=r?$e:Fe,i=-1,u=e.length,a=t;for(t===e&&(e=xo(e)),n&&(a=Ie(t,Xe(n)));++i<u;)for(var c=0,f=e[i],l=n?n(f):f;(c=o(a,l,c,r))>-1;)a!==t&&Yt.call(a,c,1),Yt.call(t,c,1);return t}function Br(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==i){var i=o;hi(o)?Yt.call(t,o,1):io(t,o)}}return t}function Fr(t,e){return t+ve(Sn()*(e-t+1))}function $r(t,e){var n="";if(!t||e<1||e>h)return n;do{e%2&&(n+=t),(e=ve(e/2))&&(t+=t)}while(e);return n}function Hr(t,e){return Ei(wi(t,e,Ja),t+"")}function qr(t){return qn(Ia(t))}function Gr(t,e){var n=Ia(t);return Oi(n,er(e,0,n.length))}function Vr(t,e,n,o){if(!Ku(t))return t;for(var i=-1,u=(e=ho(e,t)).length,a=u-1,c=t;null!=c&&++i<u;){var f=Ri(e[i]),l=n;if("__proto__"===f||"constructor"===f||"prototype"===f)return t;if(i!=a){var s=c[f];(l=o?o(s,f,c):r)===r&&(l=Ku(s)?s:hi(e[i+1])?[]:{})}Zn(c,f,l),c=c[f]}return t}var Kr=Rn?function(t,e){return Rn.set(t,e),t}:Ja,Zr=re?function(t,e){return re(t,"toString",{configurable:!0,enumerable:!1,value:Ka(e),writable:!0})}:Ja;function Yr(t){return Oi(Ia(t))}function Jr(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=ut(o);++r<o;)i[r]=t[r+e];return i}function Xr(t,e){var n;return ur(t,function(t,r,o){return!(n=e(t,r,o))}),!!n}function Qr(t,e,n){var r=0,o=null==t?r:t.length;if("number"==typeof e&&e==e&&o<=2147483647){for(;r<o;){var i=r+o>>>1,u=t[i];null!==u&&!na(u)&&(n?u<=e:u<e)?r=i+1:o=i}return o}return to(t,e,Ja,n)}function to(t,e,n,o){var i=0,u=null==t?0:t.length;if(0===u)return 0;for(var a=(e=n(e))!=e,c=null===e,f=na(e),l=e===r;i<u;){var s=ve((i+u)/2),p=n(t[s]),h=p!==r,g=null===p,_=p==p,v=na(p);if(a)var d=o||_;else d=l?_&&(o||h):c?_&&h&&(o||!g):f?_&&h&&!g&&(o||!v):!g&&!v&&(o?p<=e:p<e);d?i=s+1:u=s}return bn(u,4294967294)}function eo(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var u=t[n],a=e?e(u):u;if(!n||!Iu(a,c)){var c=a;i[o++]=0===u?0:u}}return i}function no(t){return"number"==typeof t?t:na(t)?g:+t}function ro(t){if("string"==typeof t)return t;if(Wu(t))return Ie(t,ro)+"";if(na(t))return Un?Un.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function oo(t,e,n){var r=-1,o=je,i=t.length,u=!0,a=[],c=a;if(n)u=!1,o=Ne;else if(i>=200){var f=e?null:Ho(t);if(f)return sn(f);u=!1,o=tn,c=new SetCache}else c=e?[]:a;t:for(;++r<i;){var l=t[r],s=e?e(l):l;if(l=n||0!==l?l:0,u&&s==s){for(var p=c.length;p--;)if(c[p]===s)continue t;e&&c.push(s),a.push(l)}else o(c,s,n)||(c!==a&&c.push(s),a.push(l))}return a}function io(t,e){return null==(t=ki(t,e=ho(e,t)))||delete t[Ri(Hi(e))]}function uo(t,e,n,r){return Vr(t,e,n(dr(t,e)),r)}function ao(t,e,n,r){for(var o=t.length,i=r?o:-1;(r?i--:++i<o)&&e(t[i],i,t););return n?Jr(t,r?0:i,r?i+1:o):Jr(t,r?i+1:0,r?o:i)}function co(t,e){var n=t;return n instanceof LazyWrapper&&(n=n.value()),ze(e,function(t,e){return e.func.apply(e.thisArg,De([t],e.args))},n)}function fo(t,e,n){var r=t.length;if(r<2)return r?oo(t[0]):[];for(var o=-1,i=ut(r);++o<r;)for(var u=t[o],a=-1;++a<r;)a!=o&&(i[o]=ir(i[o]||u,t[a],e,n));return oo(sr(i,1),e,n)}function lo(t,e,n){for(var o=-1,i=t.length,u=e.length,a={};++o<i;){var c=o<u?e[o]:r;n(a,t[o],c)}return a}function so(t){return Bu(t)?t:[]}function po(t){return"function"==typeof t?t:Ja}function ho(t,e){return Wu(t)?t:_i(t,e)?[t]:Ci(pa(t))}var go=Hr;function _o(t,e,n){var o=t.length;return n=n===r?o:n,!e&&n>=o?t:Jr(t,e,n)}var vo=fe||function(t){return ge.clearTimeout(t)};function yo(t,e){if(e)return t.slice();var n=t.length,r=Gt?Gt(n):new t.constructor(n);return t.copy(r),r}function mo(t){var e=new t.constructor(t.byteLength);return new qt(e).set(new qt(t)),e}function bo(t,e){var n=e?mo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function wo(t,e){if(t!==e){var n=t!==r,o=null===t,i=t==t,u=na(t),a=e!==r,c=null===e,f=e==e,l=na(e);if(!c&&!l&&!u&&t>e||u&&a&&f&&!c&&!l||o&&a&&f||!n&&f||!i)return 1;if(!o&&!u&&!l&&t<e||l&&n&&i&&!o&&!u||c&&n&&i||!a&&i||!f)return-1}return 0}function ko(t,e,n,r){for(var o=-1,i=t.length,u=n.length,a=-1,c=e.length,f=mn(i-u,0),l=ut(c+f),s=!r;++a<c;)l[a]=e[a];for(;++o<u;)(s||o<i)&&(l[n[o]]=t[o]);for(;f--;)l[a++]=t[o++];return l}function So(t,e,n,r){for(var o=-1,i=t.length,u=-1,a=n.length,c=-1,f=e.length,l=mn(i-a,0),s=ut(l+f),p=!r;++o<l;)s[o]=t[o];for(var h=o;++c<f;)s[h+c]=e[c];for(;++u<a;)(p||o<i)&&(s[h+n[u]]=t[o++]);return s}function xo(t,e){var n=-1,r=t.length;for(e||(e=ut(r));++n<r;)e[n]=t[n];return e}function Ao(t,e,n,o){var i=!n;n||(n={});for(var u=-1,a=e.length;++u<a;){var c=e[u],f=o?o(n[c],t[c],c,n,t):r;f===r&&(f=t[c]),i?Qn(n,c,f):Zn(n,c,f)}return n}function Eo(t,e){return function(n,r){var o=Wu(n)?Te:Jn,i=e?e():{};return o(n,t,ri(r,2),i)}}function To(t){return Hr(function(e,n){var o=-1,i=n.length,u=i>1?n[i-1]:r,a=i>2?n[2]:r;for(u=t.length>3&&"function"==typeof u?(i--,u):r,a&&gi(n[0],n[1],a)&&(u=i<3?r:u,i=1),e=Tt(e);++o<i;){var c=n[o];c&&t(e,c,o,u)}return e})}function Lo(t,e){return function(n,r){if(null==n)return n;if(!Uu(n))return t(n,r);for(var o=n.length,i=e?o:-1,u=Tt(n);(e?i--:++i<o)&&!1!==r(u[i],i,u););return n}}function Oo(t){return function(e,n,r){for(var o=-1,i=Tt(e),u=r(e),a=u.length;a--;){var c=u[t?a:++o];if(!1===n(i[c],c,i))break}return e}}function Co(t){return function(e){var n=an(e=pa(e))?gn(e):r,o=n?n[0]:e.charAt(0),i=n?_o(n,1).join(""):e.slice(1);return o[t]()+i}}function Ro(t){return function(e){return ze(qa(Ma(e).replace(Qt,"")),t,"")}}function jo(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Fn(t.prototype),r=t.apply(n,e);return Ku(r)?r:n}}function No(t){return function(e,n,o){var i=Tt(e);if(!Uu(e)){var u=ri(n,3);e=Aa(e),n=function(t){return u(i[t],t,i)}}var a=t(e,n,o);return a>-1?i[u?e[a]:a]:r}}function Io(t){return Jo(function(e){var n=e.length,i=n,u=LodashWrapper.prototype.thru;for(t&&e.reverse();i--;){var a=e[i];if("function"!=typeof a)throw new Ct(o);if(u&&!c&&"wrapper"==ei(a))var c=new LodashWrapper([],!0)}for(i=c?i:n;++i<n;){var f=ei(a=e[i]),l="wrapper"==f?ti(a):r;c=l&&vi(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?c[ei(l[0])].apply(c,l[3]):1==a.length&&vi(a)?c[f]():c.thru(a)}return function(){var t=arguments,r=t[0];if(c&&1==t.length&&Wu(r))return c.plant(r).value();for(var o=0,i=n?e[o].apply(this,t):r;++o<n;)i=e[o].call(this,i);return i}})}function Do(t,e,n,o,i,u,a,c,f,s){var p=e&l,h=1&e,g=2&e,_=24&e,v=512&e,d=g?r:jo(t);return function l(){for(var y=arguments.length,m=ut(y),b=y;b--;)m[b]=arguments[b];if(_)var w=ni(l),k=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(m,w);if(o&&(m=ko(m,o,i,_)),u&&(m=So(m,u,a,_)),y-=k,_&&y<s){var S=ln(m,w);return Fo(t,e,Do,l.placeholder,n,m,S,c,f,s-y)}var x=h?n:this,A=g?x[t]:t;return y=m.length,c?m=function(t,e){var n=t.length,o=bn(e.length,n),i=xo(t);for(;o--;){var u=e[o];t[o]=hi(u,n)?i[u]:r}return t}(m,c):v&&y>1&&m.reverse(),p&&f<y&&(m.length=f),this&&this!==ge&&this instanceof l&&(A=d||jo(A)),A.apply(x,m)}}function zo(t,e){return function(n,r){return function(t,e,n,r){return gr(t,function(t,o,i){e(r,n(t),o,i)}),r}(n,t,e(r),{})}}function Mo(t,e){return function(n,o){var i;if(n===r&&o===r)return e;if(n!==r&&(i=n),o!==r){if(i===r)return o;"string"==typeof n||"string"==typeof o?(n=ro(n),o=ro(o)):(n=no(n),o=no(o)),i=t(n,o)}return i}}function Wo(t){return Jo(function(e){return e=Ie(e,Xe(ri())),Hr(function(n){var r=this;return t(e,function(t){return Ee(t,r,n)})})})}function Po(t,e){var n=(e=e===r?" ":ro(e)).length;if(n<2)return n?$r(e,t):e;var o=$r(e,_e(t/hn(e)));return an(e)?_o(gn(o),0,t).join(""):o.slice(0,t)}function Uo(t){return function(e,n,o){return o&&"number"!=typeof o&&gi(e,n,o)&&(n=o=r),e=aa(e),n===r?(n=e,e=0):n=aa(n),function(t,e,n,r){for(var o=-1,i=mn(_e((e-t)/(n||1)),0),u=ut(i);i--;)u[r?i:++o]=t,t+=n;return u}(e,n,o=o===r?e<n?1:-1:aa(o),t)}}function Bo(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=la(e),n=la(n)),t(e,n)}}function Fo(t,e,n,o,i,u,a,l,s,p){var h=8&e;e|=h?c:f,4&(e&=~(h?f:c))||(e&=-4);var g=[t,e,i,h?u:r,h?a:r,h?r:u,h?r:a,l,s,p],_=n.apply(r,g);return vi(t)&&xi(_,g),_.placeholder=o,Ti(_,t,e)}function $o(t){var e=Et[t];return function(t,n){if(t=la(t),(n=null==n?0:bn(ca(n),292))&&Pe(t)){var r=(pa(t)+"e").split("e");return+((r=(pa(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Ho=Ln&&1/sn(new Ln([,-0]))[1]==p?function(t){return new Ln(t)}:nc;function qo(t){return function(e){var n=fi(e);return n==x?cn(e):n==O?pn(e):function(t,e){return Ie(e,function(e){return[e,t[e]]})}(e,t(e))}}function Go(t,e,n,i,p,h,g,_){var v=2&e;if(!v&&"function"!=typeof t)throw new Ct(o);var d=i?i.length:0;if(d||(e&=-97,i=p=r),g=g===r?g:mn(ca(g),0),_=_===r?_:ca(_),d-=p?p.length:0,e&f){var y=i,m=p;i=p=r}var b=v?r:ti(t),w=[t,e,n,i,p,y,m,h,g,_];if(b&&function(t,e){var n=t[1],r=e[1],o=n|r,i=o<131,a=r==l&&8==n||r==l&&n==s&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!i&&!a)return t;1&r&&(t[2]=e[2],o|=1&n?0:4);var c=e[3];if(c){var f=t[3];t[3]=f?ko(f,c,e[4]):c,t[4]=f?ln(t[3],u):e[4]}(c=e[5])&&(f=t[5],t[5]=f?So(f,c,e[6]):c,t[6]=f?ln(t[5],u):e[6]);(c=e[7])&&(t[7]=c);r&l&&(t[8]=null==t[8]?e[8]:bn(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=o}(w,b),t=w[0],e=w[1],n=w[2],i=w[3],p=w[4],!(_=w[9]=w[9]===r?v?0:t.length:mn(w[9]-d,0))&&24&e&&(e&=-25),e&&1!=e)k=8==e||e==a?function(t,e,n){var o=jo(t);return function i(){for(var u=arguments.length,a=ut(u),c=u,f=ni(i);c--;)a[c]=arguments[c];var l=u<3&&a[0]!==f&&a[u-1]!==f?[]:ln(a,f);return(u-=l.length)<n?Fo(t,e,Do,i.placeholder,r,a,l,r,r,n-u):Ee(this&&this!==ge&&this instanceof i?o:t,this,a)}}(t,e,_):e!=c&&33!=e||p.length?Do.apply(r,w):function(t,e,n,r){var o=1&e,i=jo(t);return function e(){for(var u=-1,a=arguments.length,c=-1,f=r.length,l=ut(f+a),s=this&&this!==ge&&this instanceof e?i:t;++c<f;)l[c]=r[c];for(;a--;)l[c++]=arguments[++u];return Ee(s,o?n:this,l)}}(t,e,n,i);else var k=function(t,e,n){var r=1&e,o=jo(t);return function e(){return(this&&this!==ge&&this instanceof e?o:t).apply(r?n:this,arguments)}}(t,e,n);return Ti((b?Kr:xi)(k,w),t,e)}function Vo(t,e,n,o){return t===r||Iu(t,Nt[n])&&!zt.call(o,n)?e:t}function Ko(t,e,n,o,i,u){return Ku(t)&&Ku(e)&&(u.set(e,t),zr(t,e,r,Ko,u),u.delete(e)),t}function Zo(t){return Xu(t)?r:t}function Yo(t,e,n,o,i,u){var a=1&n,c=t.length,f=e.length;if(c!=f&&!(a&&f>c))return!1;var l=u.get(t),s=u.get(e);if(l&&s)return l==e&&s==t;var p=-1,h=!0,g=2&n?new SetCache:r;for(u.set(t,e),u.set(e,t);++p<c;){var _=t[p],v=e[p];if(o)var d=a?o(v,_,p,e,t,u):o(_,v,p,t,e,u);if(d!==r){if(d)continue;h=!1;break}if(g){if(!We(e,function(t,e){if(!tn(g,e)&&(_===t||i(_,t,n,o,u)))return g.push(e)})){h=!1;break}}else if(_!==v&&!i(_,v,n,o,u)){h=!1;break}}return u.delete(t),u.delete(e),h}function Jo(t){return Ei(wi(t,r,Pi),t+"")}function Xo(t){return yr(t,Aa,ai)}function Qo(t){return yr(t,Ea,ci)}var ti=Rn?function(t){return Rn.get(t)}:nc;function ei(t){for(var e=t.name+"",n=jn[e],r=zt.call(jn,e)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==t)return o.name}return e}function ni(t){return(zt.call(Bn,"placeholder")?Bn:t).placeholder}function ri(){var t=Bn.iteratee||Xa;return t=t===Xa?Or:t,arguments.length?t(arguments[0],arguments[1]):t}function oi(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function ii(t){for(var e=Aa(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,mi(o)]}return e}function ui(t,e){var n=function(t,e){return null==t?r:t[e]}(t,e);return Lr(n)?n:r}var ai=ye?function(t){return null==t?[]:(t=Tt(t),Re(ye(t),function(e){return Zt.call(t,e)}))}:fc,ci=ye?function(t){for(var e=[];t;)De(e,ai(t)),t=Vt(t);return e}:fc,fi=mr;function li(t,e,n){for(var r=-1,o=(e=ho(e,t)).length,i=!1;++r<o;){var u=Ri(e[r]);if(!(i=null!=t&&n(t,u)))break;t=t[u]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&Vu(o)&&hi(u,o)&&(Wu(t)||Mu(t))}function si(t){return"function"!=typeof t.constructor||yi(t)?{}:Fn(Vt(t))}function pi(t){return Wu(t)||Mu(t)||!!(Jt&&t&&t[Jt])}function hi(t,e){var n=typeof t;return!!(e=null==e?h:e)&&("number"==n||"symbol"!=n&&mt.test(t))&&t>-1&&t%1==0&&t<e}function gi(t,e,n){if(!Ku(n))return!1;var r=typeof e;return!!("number"==r?Uu(n)&&hi(e,n.length):"string"==r&&e in n)&&Iu(n[e],t)}function _i(t,e){if(Wu(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!na(t))||(et.test(t)||!tt.test(t)||null!=e&&t in Tt(e))}function vi(t){var e=ei(t),n=Bn[e];if("function"!=typeof n||!(e in LazyWrapper.prototype))return!1;if(t===n)return!0;var r=ti(n);return!!r&&t===r[0]}(An&&fi(new An(new ArrayBuffer(1)))!=I||En&&fi(new En)!=x||Tn&&fi(Tn.resolve())!=T||Ln&&fi(new Ln)!=O||On&&fi(new On)!=j)&&(fi=function(t){var e=mr(t),n=e==E?t.constructor:r,o=n?ji(n):"";if(o)switch(o){case Nn:return I;case In:return x;case Dn:return T;case zn:return O;case Mn:return j}return e});var di=It?qu:lc;function yi(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Nt)}function mi(t){return t==t&&!Ku(t)}function bi(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==r||t in Tt(n)))}}function wi(t,e,n){return e=mn(e===r?t.length-1:e,0),function(){for(var r=arguments,o=-1,i=mn(r.length-e,0),u=ut(i);++o<i;)u[o]=r[e+o];o=-1;for(var a=ut(e+1);++o<e;)a[o]=r[o];return a[e]=n(u),Ee(t,this,a)}}function ki(t,e){return e.length<2?t:dr(t,Jr(e,0,-1))}function Si(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var xi=Li(Kr),Ai=he||function(t,e){return ge.setTimeout(t,e)},Ei=Li(Zr);function Ti(t,e,n){var r=e+"";return Ei(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(at,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Le(v,function(n){var r="_."+n[0];e&n[1]&&!je(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(ct);return e?e[1].split(ft):[]}(r),n)))}function Li(t){var e=0,n=0;return function(){var o=wn(),i=16-(o-n);if(n=o,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(r,arguments)}}function Oi(t,e){var n=-1,o=t.length,i=o-1;for(e=e===r?o:e;++n<e;){var u=Fr(n,i),a=t[u];t[u]=t[n],t[n]=a}return t.length=e,t}var Ci=function(t){var e=Lu(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(nt,function(t,n,r,o){e.push(r?o.replace(pt,"$1"):n||t)}),e});function Ri(t){if("string"==typeof t||na(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function ji(t){if(null!=t){try{return Dt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ni(t){if(t instanceof LazyWrapper)return t.clone();var e=new LodashWrapper(t.__wrapped__,t.__chain__);return e.__actions__=xo(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Ii=Hr(function(t,e){return Bu(t)?ir(t,sr(e,1,Bu,!0)):[]}),Di=Hr(function(t,e){var n=Hi(e);return Bu(n)&&(n=r),Bu(t)?ir(t,sr(e,1,Bu,!0),ri(n,2)):[]}),zi=Hr(function(t,e){var n=Hi(e);return Bu(n)&&(n=r),Bu(t)?ir(t,sr(e,1,Bu,!0),r,n):[]});function Mi(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:ca(n);return o<0&&(o=mn(r+o,0)),Be(t,ri(e,3),o)}function Wi(t,e,n){var o=null==t?0:t.length;if(!o)return-1;var i=o-1;return n!==r&&(i=ca(n),i=n<0?mn(o+i,0):bn(i,o-1)),Be(t,ri(e,3),i,!0)}function Pi(t){return(null==t?0:t.length)?sr(t,1):[]}function Ui(t){return t&&t.length?t[0]:r}var Bi=Hr(function(t){var e=Ie(t,so);return e.length&&e[0]===t[0]?Sr(e):[]}),Fi=Hr(function(t){var e=Hi(t),n=Ie(t,so);return e===Hi(n)?e=r:n.pop(),n.length&&n[0]===t[0]?Sr(n,ri(e,2)):[]}),$i=Hr(function(t){var e=Hi(t),n=Ie(t,so);return(e="function"==typeof e?e:r)&&n.pop(),n.length&&n[0]===t[0]?Sr(n,r,e):[]});function Hi(t){var e=null==t?0:t.length;return e?t[e-1]:r}var qi=Hr(Gi);function Gi(t,e){return t&&t.length&&e&&e.length?Ur(t,e):t}var Vi=Jo(function(t,e){var n=null==t?0:t.length,r=tr(t,e);return Br(t,Ie(e,function(t){return hi(t,n)?+t:t}).sort(wo)),r});function Ki(t){return null==t?t:xn.call(t)}var Zi=Hr(function(t){return oo(sr(t,1,Bu,!0))}),Yi=Hr(function(t){var e=Hi(t);return Bu(e)&&(e=r),oo(sr(t,1,Bu,!0),ri(e,2))}),Ji=Hr(function(t){var e=Hi(t);return e="function"==typeof e?e:r,oo(sr(t,1,Bu,!0),r,e)});function Xi(t){if(!t||!t.length)return[];var e=0;return t=Re(t,function(t){if(Bu(t))return e=mn(t.length,e),!0}),Ye(e,function(e){return Ie(t,Ge(e))})}function Qi(t,e){if(!t||!t.length)return[];var n=Xi(t);return null==e?n:Ie(n,function(t){return Ee(e,r,t)})}var tu=Hr(function(t,e){return Bu(t)?ir(t,e):[]}),eu=Hr(function(t){return fo(Re(t,Bu))}),nu=Hr(function(t){var e=Hi(t);return Bu(e)&&(e=r),fo(Re(t,Bu),ri(e,2))}),ru=Hr(function(t){var e=Hi(t);return e="function"==typeof e?e:r,fo(Re(t,Bu),r,e)}),ou=Hr(Xi);var iu=Hr(function(t){var e=t.length,n=e>1?t[e-1]:r;return n="function"==typeof n?(t.pop(),n):r,Qi(t,n)});function uu(t){var e=Bn(t);return e.__chain__=!0,e}function au(t,e){return e(t)}var cu=Jo(function(t){var e=t.length,n=e?t[0]:0,o=this.__wrapped__,i=function(e){return tr(e,t)};return!(e>1||this.__actions__.length)&&o instanceof LazyWrapper&&hi(n)?((o=o.slice(n,+n+(e?1:0))).__actions__.push({func:au,args:[i],thisArg:r}),new LodashWrapper(o,this.__chain__).thru(function(t){return e&&!t.length&&t.push(r),t})):this.thru(i)});var fu=Eo(function(t,e,n){zt.call(t,n)?++t[n]:Qn(t,n,1)});var lu=No(Mi),su=No(Wi);function pu(t,e){return(Wu(t)?Le:ur)(t,ri(e,3))}function hu(t,e){return(Wu(t)?Oe:ar)(t,ri(e,3))}var gu=Eo(function(t,e,n){zt.call(t,n)?t[n].push(e):Qn(t,n,[e])});var _u=Hr(function(t,e,n){var r=-1,o="function"==typeof e,i=Uu(t)?ut(t.length):[];return ur(t,function(t){i[++r]=o?Ee(e,t,n):xr(t,e,n)}),i}),vu=Eo(function(t,e,n){Qn(t,n,e)});function du(t,e){return(Wu(t)?Ie:Nr)(t,ri(e,3))}var yu=Eo(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var mu=Hr(function(t,e){if(null==t)return[];var n=e.length;return n>1&&gi(t,e[0],e[1])?e=[]:n>2&&gi(e[0],e[1],e[2])&&(e=[e[0]]),Wr(t,sr(e,1),[])}),bu=pe||function(){return ge.Date.now()};function wu(t,e,n){return e=n?r:e,e=t&&null==e?t.length:e,Go(t,l,r,r,r,r,e)}function ku(t,e){var n;if("function"!=typeof e)throw new Ct(o);return t=ca(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=r),n}}var Su=Hr(function(t,e,n){var r=1;if(n.length){var o=ln(n,ni(Su));r|=c}return Go(t,r,e,n,o)}),xu=Hr(function(t,e,n){var r=3;if(n.length){var o=ln(n,ni(xu));r|=c}return Go(e,r,t,n,o)});function Au(t,e,n){var i,u,a,c,f,l,s=0,p=!1,h=!1,g=!0;if("function"!=typeof t)throw new Ct(o);function _(e){var n=i,o=u;return i=u=r,s=e,c=t.apply(o,n)}function v(t){var n=t-l;return l===r||n>=e||n<0||h&&t-s>=a}function d(){var t=bu();if(v(t))return y(t);f=Ai(d,function(t){var n=e-(t-l);return h?bn(n,a-(t-s)):n}(t))}function y(t){return f=r,g&&i?_(t):(i=u=r,c)}function m(){var t=bu(),n=v(t);if(i=arguments,u=this,l=t,n){if(f===r)return function(t){return s=t,f=Ai(d,e),p?_(t):c}(l);if(h)return vo(f),f=Ai(d,e),_(l)}return f===r&&(f=Ai(d,e)),c}return e=la(e)||0,Ku(n)&&(p=!!n.leading,a=(h="maxWait"in n)?mn(la(n.maxWait)||0,e):a,g="trailing"in n?!!n.trailing:g),m.cancel=function(){f!==r&&vo(f),s=0,i=l=u=f=r},m.flush=function(){return f===r?c:y(bu())},m}var Eu=Hr(function(t,e){return or(t,1,e)}),Tu=Hr(function(t,e,n){return or(t,la(e)||0,n)});function Lu(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Ct(o);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var u=t.apply(this,r);return n.cache=i.set(o,u)||i,u};return n.cache=new(Lu.Cache||MapCache),n}function Ou(t){if("function"!=typeof t)throw new Ct(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Lu.Cache=MapCache;var Cu=go(function(t,e){var n=(e=1==e.length&&Wu(e[0])?Ie(e[0],Xe(ri())):Ie(sr(e,1),Xe(ri()))).length;return Hr(function(r){for(var o=-1,i=bn(r.length,n);++o<i;)r[o]=e[o].call(this,r[o]);return Ee(t,this,r)})}),Ru=Hr(function(t,e){var n=ln(e,ni(Ru));return Go(t,c,r,e,n)}),ju=Hr(function(t,e){var n=ln(e,ni(ju));return Go(t,f,r,e,n)}),Nu=Jo(function(t,e){return Go(t,s,r,r,r,e)});function Iu(t,e){return t===e||t!=t&&e!=e}var Du=Bo(br),zu=Bo(function(t,e){return t>=e}),Mu=Ar(function(){return arguments}())?Ar:function(t){return Zu(t)&&zt.call(t,"callee")&&!Zt.call(t,"callee")},Wu=ut.isArray,Pu=be?Xe(be):function(t){return Zu(t)&&mr(t)==N};function Uu(t){return null!=t&&Vu(t.length)&&!qu(t)}function Bu(t){return Zu(t)&&Uu(t)}var Fu=me||lc,$u=we?Xe(we):function(t){return Zu(t)&&mr(t)==b};function Hu(t){if(!Zu(t))return!1;var e=mr(t);return e==w||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Xu(t)}function qu(t){if(!Ku(t))return!1;var e=mr(t);return e==k||e==S||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Gu(t){return"number"==typeof t&&t==ca(t)}function Vu(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=h}function Ku(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Zu(t){return null!=t&&"object"==typeof t}var Yu=ke?Xe(ke):function(t){return Zu(t)&&fi(t)==x};function Ju(t){return"number"==typeof t||Zu(t)&&mr(t)==A}function Xu(t){if(!Zu(t)||mr(t)!=E)return!1;var e=Vt(t);if(null===e)return!0;var n=zt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Dt.call(n)==Ut}var Qu=Se?Xe(Se):function(t){return Zu(t)&&mr(t)==L};var ta=xe?Xe(xe):function(t){return Zu(t)&&fi(t)==O};function ea(t){return"string"==typeof t||!Wu(t)&&Zu(t)&&mr(t)==C}function na(t){return"symbol"==typeof t||Zu(t)&&mr(t)==R}var ra=Ae?Xe(Ae):function(t){return Zu(t)&&Vu(t.length)&&!!ae[mr(t)]};var oa=Bo(jr),ia=Bo(function(t,e){return t<=e});function ua(t){if(!t)return[];if(Uu(t))return ea(t)?gn(t):xo(t);if(Xt&&t[Xt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Xt]());var e=fi(t);return(e==x?cn:e==O?sn:Ia)(t)}function aa(t){return t?(t=la(t))===p||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ca(t){var e=aa(t),n=e%1;return e==e?n?e-n:e:0}function fa(t){return t?er(ca(t),0,_):0}function la(t){if("number"==typeof t)return t;if(na(t))return g;if(Ku(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ku(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Je(t);var n=vt.test(t);return n||yt.test(t)?se(t.slice(2),n?2:8):_t.test(t)?g:+t}function sa(t){return Ao(t,Ea(t))}function pa(t){return null==t?"":ro(t)}var ha=To(function(t,e){if(yi(e)||Uu(e))Ao(e,Aa(e),t);else for(var n in e)zt.call(e,n)&&Zn(t,n,e[n])}),ga=To(function(t,e){Ao(e,Ea(e),t)}),_a=To(function(t,e,n,r){Ao(e,Ea(e),t,r)}),va=To(function(t,e,n,r){Ao(e,Aa(e),t,r)}),da=Jo(tr);var ya=Hr(function(t,e){t=Tt(t);var n=-1,o=e.length,i=o>2?e[2]:r;for(i&&gi(e[0],e[1],i)&&(o=1);++n<o;)for(var u=e[n],a=Ea(u),c=-1,f=a.length;++c<f;){var l=a[c],s=t[l];(s===r||Iu(s,Nt[l])&&!zt.call(t,l))&&(t[l]=u[l])}return t}),ma=Hr(function(t){return t.push(r,Ko),Ee(La,r,t)});function ba(t,e,n){var o=null==t?r:dr(t,e);return o===r?n:o}function wa(t,e){return null!=t&&li(t,e,kr)}var ka=zo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Pt.call(e)),t[e]=n},Ka(Ja)),Sa=zo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Pt.call(e)),zt.call(t,e)?t[e].push(n):t[e]=[n]},ri),xa=Hr(xr);function Aa(t){return Uu(t)?Hn(t):Cr(t)}function Ea(t){return Uu(t)?Hn(t,!0):Rr(t)}var Ta=To(function(t,e,n){zr(t,e,n)}),La=To(function(t,e,n,r){zr(t,e,n,r)}),Oa=Jo(function(t,e){var n={};if(null==t)return n;var r=!1;e=Ie(e,function(e){return e=ho(e,t),r||(r=e.length>1),e}),Ao(t,Qo(t),n),r&&(n=nr(n,7,Zo));for(var o=e.length;o--;)io(n,e[o]);return n});var Ca=Jo(function(t,e){return null==t?{}:function(t,e){return Pr(t,e,function(e,n){return wa(t,n)})}(t,e)});function Ra(t,e){if(null==t)return{};var n=Ie(Qo(t),function(t){return[t]});return e=ri(e),Pr(t,n,function(t,n){return e(t,n[0])})}var ja=qo(Aa),Na=qo(Ea);function Ia(t){return null==t?[]:Qe(t,Aa(t))}var Da=Ro(function(t,e,n){return e=e.toLowerCase(),t+(n?za(e):e)});function za(t){return Ha(pa(t).toLowerCase())}function Ma(t){return(t=pa(t))&&t.replace(bt,rn).replace(te,"")}var Wa=Ro(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Pa=Ro(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Ua=Co("toLowerCase");var Ba=Ro(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var Fa=Ro(function(t,e,n){return t+(n?" ":"")+Ha(e)});var $a=Ro(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Ha=Co("toUpperCase");function qa(t,e,n){return t=pa(t),(e=n?r:e)===r?function(t){return oe.test(t)}(t)?function(t){return t.match(ne)||[]}(t):function(t){return t.match(lt)||[]}(t):t.match(e)||[]}var Ga=Hr(function(t,e){try{return Ee(t,r,e)}catch(t){return Hu(t)?t:new xt(t)}}),Va=Jo(function(t,e){return Le(e,function(e){e=Ri(e),Qn(t,e,Su(t[e],t))}),t});function Ka(t){return function(){return t}}var Za=Io(),Ya=Io(!0);function Ja(t){return t}function Xa(t){return Or("function"==typeof t?t:nr(t,1))}var Qa=Hr(function(t,e){return function(n){return xr(n,t,e)}}),tc=Hr(function(t,e){return function(n){return xr(t,n,e)}});function ec(t,e,n){var r=Aa(e),o=vr(e,r);null!=n||Ku(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=vr(e,Aa(e)));var i=!(Ku(n)&&"chain"in n&&!n.chain),u=qu(t);return Le(o,function(n){var r=e[n];t[n]=r,u&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__);return(n.__actions__=xo(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,De([this.value()],arguments))})}),t}function nc(){}var rc=Wo(Ie),oc=Wo(Ce),ic=Wo(We);function uc(t){return _i(t)?Ge(Ri(t)):function(t){return function(e){return dr(e,t)}}(t)}var ac=Uo(),cc=Uo(!0);function fc(){return[]}function lc(){return!1}var sc=Mo(function(t,e){return t+e},0),pc=$o("ceil"),hc=Mo(function(t,e){return t/e},1),gc=$o("floor");var _c,vc=Mo(function(t,e){return t*e},1),dc=$o("round"),yc=Mo(function(t,e){return t-e},0);return Bn.after=function(t,e){if("function"!=typeof e)throw new Ct(o);return t=ca(t),function(){if(--t<1)return e.apply(this,arguments)}},Bn.ary=wu,Bn.assign=ha,Bn.assignIn=ga,Bn.assignInWith=_a,Bn.assignWith=va,Bn.at=da,Bn.before=ku,Bn.bind=Su,Bn.bindAll=Va,Bn.bindKey=xu,Bn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Wu(t)?t:[t]},Bn.chain=uu,Bn.chunk=function(t,e,n){e=(n?gi(t,e,n):e===r)?1:mn(ca(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var i=0,u=0,a=ut(_e(o/e));i<o;)a[u++]=Jr(t,i,i+=e);return a},Bn.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,o=[];++e<n;){var i=t[e];i&&(o[r++]=i)}return o},Bn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=ut(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return De(Wu(n)?xo(n):[n],sr(e,1))},Bn.cond=function(t){var e=null==t?0:t.length,n=ri();return t=e?Ie(t,function(t){if("function"!=typeof t[1])throw new Ct(o);return[n(t[0]),t[1]]}):[],Hr(function(n){for(var r=-1;++r<e;){var o=t[r];if(Ee(o[0],this,n))return Ee(o[1],this,n)}})},Bn.conforms=function(t){return function(t){var e=Aa(t);return function(n){return rr(n,t,e)}}(nr(t,1))},Bn.constant=Ka,Bn.countBy=fu,Bn.create=function(t,e){var n=Fn(t);return null==e?n:Xn(n,e)},Bn.curry=function t(e,n,o){var i=Go(e,8,r,r,r,r,r,n=o?r:n);return i.placeholder=t.placeholder,i},Bn.curryRight=function t(e,n,o){var i=Go(e,a,r,r,r,r,r,n=o?r:n);return i.placeholder=t.placeholder,i},Bn.debounce=Au,Bn.defaults=ya,Bn.defaultsDeep=ma,Bn.defer=Eu,Bn.delay=Tu,Bn.difference=Ii,Bn.differenceBy=Di,Bn.differenceWith=zi,Bn.drop=function(t,e,n){var o=null==t?0:t.length;return o?Jr(t,(e=n||e===r?1:ca(e))<0?0:e,o):[]},Bn.dropRight=function(t,e,n){var o=null==t?0:t.length;return o?Jr(t,0,(e=o-(e=n||e===r?1:ca(e)))<0?0:e):[]},Bn.dropRightWhile=function(t,e){return t&&t.length?ao(t,ri(e,3),!0,!0):[]},Bn.dropWhile=function(t,e){return t&&t.length?ao(t,ri(e,3),!0):[]},Bn.fill=function(t,e,n,o){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&gi(t,e,n)&&(n=0,o=i),function(t,e,n,o){var i=t.length;for((n=ca(n))<0&&(n=-n>i?0:i+n),(o=o===r||o>i?i:ca(o))<0&&(o+=i),o=n>o?0:fa(o);n<o;)t[n++]=e;return t}(t,e,n,o)):[]},Bn.filter=function(t,e){return(Wu(t)?Re:lr)(t,ri(e,3))},Bn.flatMap=function(t,e){return sr(du(t,e),1)},Bn.flatMapDeep=function(t,e){return sr(du(t,e),p)},Bn.flatMapDepth=function(t,e,n){return n=n===r?1:ca(n),sr(du(t,e),n)},Bn.flatten=Pi,Bn.flattenDeep=function(t){return(null==t?0:t.length)?sr(t,p):[]},Bn.flattenDepth=function(t,e){return(null==t?0:t.length)?sr(t,e=e===r?1:ca(e)):[]},Bn.flip=function(t){return Go(t,512)},Bn.flow=Za,Bn.flowRight=Ya,Bn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var o=t[e];r[o[0]]=o[1]}return r},Bn.functions=function(t){return null==t?[]:vr(t,Aa(t))},Bn.functionsIn=function(t){return null==t?[]:vr(t,Ea(t))},Bn.groupBy=gu,Bn.initial=function(t){return(null==t?0:t.length)?Jr(t,0,-1):[]},Bn.intersection=Bi,Bn.intersectionBy=Fi,Bn.intersectionWith=$i,Bn.invert=ka,Bn.invertBy=Sa,Bn.invokeMap=_u,Bn.iteratee=Xa,Bn.keyBy=vu,Bn.keys=Aa,Bn.keysIn=Ea,Bn.map=du,Bn.mapKeys=function(t,e){var n={};return e=ri(e,3),gr(t,function(t,r,o){Qn(n,e(t,r,o),t)}),n},Bn.mapValues=function(t,e){var n={};return e=ri(e,3),gr(t,function(t,r,o){Qn(n,r,e(t,r,o))}),n},Bn.matches=function(t){return Ir(nr(t,1))},Bn.matchesProperty=function(t,e){return Dr(t,nr(e,1))},Bn.memoize=Lu,Bn.merge=Ta,Bn.mergeWith=La,Bn.method=Qa,Bn.methodOf=tc,Bn.mixin=ec,Bn.negate=Ou,Bn.nthArg=function(t){return t=ca(t),Hr(function(e){return Mr(e,t)})},Bn.omit=Oa,Bn.omitBy=function(t,e){return Ra(t,Ou(ri(e)))},Bn.once=function(t){return ku(2,t)},Bn.orderBy=function(t,e,n,o){return null==t?[]:(Wu(e)||(e=null==e?[]:[e]),Wu(n=o?r:n)||(n=null==n?[]:[n]),Wr(t,e,n))},Bn.over=rc,Bn.overArgs=Cu,Bn.overEvery=oc,Bn.overSome=ic,Bn.partial=Ru,Bn.partialRight=ju,Bn.partition=yu,Bn.pick=Ca,Bn.pickBy=Ra,Bn.property=uc,Bn.propertyOf=function(t){return function(e){return null==t?r:dr(t,e)}},Bn.pull=qi,Bn.pullAll=Gi,Bn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Ur(t,e,ri(n,2)):t},Bn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Ur(t,e,r,n):t},Bn.pullAt=Vi,Bn.range=ac,Bn.rangeRight=cc,Bn.rearg=Nu,Bn.reject=function(t,e){return(Wu(t)?Re:lr)(t,Ou(ri(e,3)))},Bn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,o=[],i=t.length;for(e=ri(e,3);++r<i;){var u=t[r];e(u,r,t)&&(n.push(u),o.push(r))}return Br(t,o),n},Bn.rest=function(t,e){if("function"!=typeof t)throw new Ct(o);return Hr(t,e=e===r?e:ca(e))},Bn.reverse=Ki,Bn.sampleSize=function(t,e,n){return e=(n?gi(t,e,n):e===r)?1:ca(e),(Wu(t)?Gn:Gr)(t,e)},Bn.set=function(t,e,n){return null==t?t:Vr(t,e,n)},Bn.setWith=function(t,e,n,o){return o="function"==typeof o?o:r,null==t?t:Vr(t,e,n,o)},Bn.shuffle=function(t){return(Wu(t)?Vn:Yr)(t)},Bn.slice=function(t,e,n){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&gi(t,e,n)?(e=0,n=o):(e=null==e?0:ca(e),n=n===r?o:ca(n)),Jr(t,e,n)):[]},Bn.sortBy=mu,Bn.sortedUniq=function(t){return t&&t.length?eo(t):[]},Bn.sortedUniqBy=function(t,e){return t&&t.length?eo(t,ri(e,2)):[]},Bn.split=function(t,e,n){return n&&"number"!=typeof n&&gi(t,e,n)&&(e=n=r),(n=n===r?_:n>>>0)?(t=pa(t))&&("string"==typeof e||null!=e&&!Qu(e))&&!(e=ro(e))&&an(t)?_o(gn(t),0,n):t.split(e,n):[]},Bn.spread=function(t,e){if("function"!=typeof t)throw new Ct(o);return e=null==e?0:mn(ca(e),0),Hr(function(n){var r=n[e],o=_o(n,0,e);return r&&De(o,r),Ee(t,this,o)})},Bn.tail=function(t){var e=null==t?0:t.length;return e?Jr(t,1,e):[]},Bn.take=function(t,e,n){return t&&t.length?Jr(t,0,(e=n||e===r?1:ca(e))<0?0:e):[]},Bn.takeRight=function(t,e,n){var o=null==t?0:t.length;return o?Jr(t,(e=o-(e=n||e===r?1:ca(e)))<0?0:e,o):[]},Bn.takeRightWhile=function(t,e){return t&&t.length?ao(t,ri(e,3),!1,!0):[]},Bn.takeWhile=function(t,e){return t&&t.length?ao(t,ri(e,3)):[]},Bn.tap=function(t,e){return e(t),t},Bn.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new Ct(o);return Ku(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Au(t,e,{leading:r,maxWait:e,trailing:i})},Bn.thru=au,Bn.toArray=ua,Bn.toPairs=ja,Bn.toPairsIn=Na,Bn.toPath=function(t){return Wu(t)?Ie(t,Ri):na(t)?[t]:xo(Ci(pa(t)))},Bn.toPlainObject=sa,Bn.transform=function(t,e,n){var r=Wu(t),o=r||Fu(t)||ra(t);if(e=ri(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:Ku(t)&&qu(i)?Fn(Vt(t)):{}}return(o?Le:gr)(t,function(t,r,o){return e(n,t,r,o)}),n},Bn.unary=function(t){return wu(t,1)},Bn.union=Zi,Bn.unionBy=Yi,Bn.unionWith=Ji,Bn.uniq=function(t){return t&&t.length?oo(t):[]},Bn.uniqBy=function(t,e){return t&&t.length?oo(t,ri(e,2)):[]},Bn.uniqWith=function(t,e){return e="function"==typeof e?e:r,t&&t.length?oo(t,r,e):[]},Bn.unset=function(t,e){return null==t||io(t,e)},Bn.unzip=Xi,Bn.unzipWith=Qi,Bn.update=function(t,e,n){return null==t?t:uo(t,e,po(n))},Bn.updateWith=function(t,e,n,o){return o="function"==typeof o?o:r,null==t?t:uo(t,e,po(n),o)},Bn.values=Ia,Bn.valuesIn=function(t){return null==t?[]:Qe(t,Ea(t))},Bn.without=tu,Bn.words=qa,Bn.wrap=function(t,e){return Ru(po(e),t)},Bn.xor=eu,Bn.xorBy=nu,Bn.xorWith=ru,Bn.zip=ou,Bn.zipObject=function(t,e){return lo(t||[],e||[],Zn)},Bn.zipObjectDeep=function(t,e){return lo(t||[],e||[],Vr)},Bn.zipWith=iu,Bn.entries=ja,Bn.entriesIn=Na,Bn.extend=ga,Bn.extendWith=_a,ec(Bn,Bn),Bn.add=sc,Bn.attempt=Ga,Bn.camelCase=Da,Bn.capitalize=za,Bn.ceil=pc,Bn.clamp=function(t,e,n){return n===r&&(n=e,e=r),n!==r&&(n=(n=la(n))==n?n:0),e!==r&&(e=(e=la(e))==e?e:0),er(la(t),e,n)},Bn.clone=function(t){return nr(t,4)},Bn.cloneDeep=function(t){return nr(t,5)},Bn.cloneDeepWith=function(t,e){return nr(t,5,e="function"==typeof e?e:r)},Bn.cloneWith=function(t,e){return nr(t,4,e="function"==typeof e?e:r)},Bn.conformsTo=function(t,e){return null==e||rr(t,e,Aa(e))},Bn.deburr=Ma,Bn.defaultTo=function(t,e){return null==t||t!=t?e:t},Bn.divide=hc,Bn.endsWith=function(t,e,n){t=pa(t),e=ro(e);var o=t.length,i=n=n===r?o:er(ca(n),0,o);return(n-=e.length)>=0&&t.slice(n,i)==e},Bn.eq=Iu,Bn.escape=function(t){return(t=pa(t))&&Y.test(t)?t.replace(K,on):t},Bn.escapeRegExp=function(t){return(t=pa(t))&&ot.test(t)?t.replace(rt,"\\$&"):t},Bn.every=function(t,e,n){var o=Wu(t)?Ce:cr;return n&&gi(t,e,n)&&(e=r),o(t,ri(e,3))},Bn.find=lu,Bn.findIndex=Mi,Bn.findKey=function(t,e){return Ue(t,ri(e,3),gr)},Bn.findLast=su,Bn.findLastIndex=Wi,Bn.findLastKey=function(t,e){return Ue(t,ri(e,3),_r)},Bn.floor=gc,Bn.forEach=pu,Bn.forEachRight=hu,Bn.forIn=function(t,e){return null==t?t:pr(t,ri(e,3),Ea)},Bn.forInRight=function(t,e){return null==t?t:hr(t,ri(e,3),Ea)},Bn.forOwn=function(t,e){return t&&gr(t,ri(e,3))},Bn.forOwnRight=function(t,e){return t&&_r(t,ri(e,3))},Bn.get=ba,Bn.gt=Du,Bn.gte=zu,Bn.has=function(t,e){return null!=t&&li(t,e,wr)},Bn.hasIn=wa,Bn.head=Ui,Bn.identity=Ja,Bn.includes=function(t,e,n,r){t=Uu(t)?t:Ia(t),n=n&&!r?ca(n):0;var o=t.length;return n<0&&(n=mn(o+n,0)),ea(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&Fe(t,e,n)>-1},Bn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:ca(n);return o<0&&(o=mn(r+o,0)),Fe(t,e,o)},Bn.inRange=function(t,e,n){return e=aa(e),n===r?(n=e,e=0):n=aa(n),function(t,e,n){return t>=bn(e,n)&&t<mn(e,n)}(t=la(t),e,n)},Bn.invoke=xa,Bn.isArguments=Mu,Bn.isArray=Wu,Bn.isArrayBuffer=Pu,Bn.isArrayLike=Uu,Bn.isArrayLikeObject=Bu,Bn.isBoolean=function(t){return!0===t||!1===t||Zu(t)&&mr(t)==m},Bn.isBuffer=Fu,Bn.isDate=$u,Bn.isElement=function(t){return Zu(t)&&1===t.nodeType&&!Xu(t)},Bn.isEmpty=function(t){if(null==t)return!0;if(Uu(t)&&(Wu(t)||"string"==typeof t||"function"==typeof t.splice||Fu(t)||ra(t)||Mu(t)))return!t.length;var e=fi(t);if(e==x||e==O)return!t.size;if(yi(t))return!Cr(t).length;for(var n in t)if(zt.call(t,n))return!1;return!0},Bn.isEqual=function(t,e){return Er(t,e)},Bn.isEqualWith=function(t,e,n){var o=(n="function"==typeof n?n:r)?n(t,e):r;return o===r?Er(t,e,r,n):!!o},Bn.isError=Hu,Bn.isFinite=function(t){return"number"==typeof t&&Pe(t)},Bn.isFunction=qu,Bn.isInteger=Gu,Bn.isLength=Vu,Bn.isMap=Yu,Bn.isMatch=function(t,e){return t===e||Tr(t,e,ii(e))},Bn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:r,Tr(t,e,ii(e),n)},Bn.isNaN=function(t){return Ju(t)&&t!=+t},Bn.isNative=function(t){if(di(t))throw new xt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Lr(t)},Bn.isNil=function(t){return null==t},Bn.isNull=function(t){return null===t},Bn.isNumber=Ju,Bn.isObject=Ku,Bn.isObjectLike=Zu,Bn.isPlainObject=Xu,Bn.isRegExp=Qu,Bn.isSafeInteger=function(t){return Gu(t)&&t>=-9007199254740991&&t<=h},Bn.isSet=ta,Bn.isString=ea,Bn.isSymbol=na,Bn.isTypedArray=ra,Bn.isUndefined=function(t){return t===r},Bn.isWeakMap=function(t){return Zu(t)&&fi(t)==j},Bn.isWeakSet=function(t){return Zu(t)&&"[object WeakSet]"==mr(t)},Bn.join=function(t,e){return null==t?"":Ve.call(t,e)},Bn.kebabCase=Wa,Bn.last=Hi,Bn.lastIndexOf=function(t,e,n){var o=null==t?0:t.length;if(!o)return-1;var i=o;return n!==r&&(i=(i=ca(n))<0?mn(o+i,0):bn(i,o-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):Be(t,He,i,!0)},Bn.lowerCase=Pa,Bn.lowerFirst=Ua,Bn.lt=oa,Bn.lte=ia,Bn.max=function(t){return t&&t.length?fr(t,Ja,br):r},Bn.maxBy=function(t,e){return t&&t.length?fr(t,ri(e,2),br):r},Bn.mean=function(t){return qe(t,Ja)},Bn.meanBy=function(t,e){return qe(t,ri(e,2))},Bn.min=function(t){return t&&t.length?fr(t,Ja,jr):r},Bn.minBy=function(t,e){return t&&t.length?fr(t,ri(e,2),jr):r},Bn.stubArray=fc,Bn.stubFalse=lc,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=vc,Bn.nth=function(t,e){return t&&t.length?Mr(t,ca(e)):r},Bn.noConflict=function(){return ge._===this&&(ge._=Bt),this},Bn.noop=nc,Bn.now=bu,Bn.pad=function(t,e,n){t=pa(t);var r=(e=ca(e))?hn(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return Po(ve(o),n)+t+Po(_e(o),n)},Bn.padEnd=function(t,e,n){t=pa(t);var r=(e=ca(e))?hn(t):0;return e&&r<e?t+Po(e-r,n):t},Bn.padStart=function(t,e,n){t=pa(t);var r=(e=ca(e))?hn(t):0;return e&&r<e?Po(e-r,n)+t:t},Bn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),kn(pa(t).replace(it,""),e||0)},Bn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&gi(t,e,n)&&(e=n=r),n===r&&("boolean"==typeof e?(n=e,e=r):"boolean"==typeof t&&(n=t,t=r)),t===r&&e===r?(t=0,e=1):(t=aa(t),e===r?(e=t,t=0):e=aa(e)),t>e){var o=t;t=e,e=o}if(n||t%1||e%1){var i=Sn();return bn(t+i*(e-t+le("1e-"+((i+"").length-1))),e)}return Fr(t,e)},Bn.reduce=function(t,e,n){var r=Wu(t)?ze:Ke,o=arguments.length<3;return r(t,ri(e,4),n,o,ur)},Bn.reduceRight=function(t,e,n){var r=Wu(t)?Me:Ke,o=arguments.length<3;return r(t,ri(e,4),n,o,ar)},Bn.repeat=function(t,e,n){return e=(n?gi(t,e,n):e===r)?1:ca(e),$r(pa(t),e)},Bn.replace=function(){var t=arguments,e=pa(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Bn.result=function(t,e,n){var o=-1,i=(e=ho(e,t)).length;for(i||(i=1,t=r);++o<i;){var u=null==t?r:t[Ri(e[o])];u===r&&(o=i,u=n),t=qu(u)?u.call(t):u}return t},Bn.round=dc,Bn.runInContext=t,Bn.sample=function(t){return(Wu(t)?qn:qr)(t)},Bn.size=function(t){if(null==t)return 0;if(Uu(t))return ea(t)?hn(t):t.length;var e=fi(t);return e==x||e==O?t.size:Cr(t).length},Bn.snakeCase=Ba,Bn.some=function(t,e,n){var o=Wu(t)?We:Xr;return n&&gi(t,e,n)&&(e=r),o(t,ri(e,3))},Bn.sortedIndex=function(t,e){return Qr(t,e)},Bn.sortedIndexBy=function(t,e,n){return to(t,e,ri(n,2))},Bn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=Qr(t,e);if(r<n&&Iu(t[r],e))return r}return-1},Bn.sortedLastIndex=function(t,e){return Qr(t,e,!0)},Bn.sortedLastIndexBy=function(t,e,n){return to(t,e,ri(n,2),!0)},Bn.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=Qr(t,e,!0)-1;if(Iu(t[n],e))return n}return-1},Bn.startCase=Fa,Bn.startsWith=function(t,e,n){return t=pa(t),n=null==n?0:er(ca(n),0,t.length),e=ro(e),t.slice(n,n+e.length)==e},Bn.subtract=yc,Bn.sum=function(t){return t&&t.length?Ze(t,Ja):0},Bn.sumBy=function(t,e){return t&&t.length?Ze(t,ri(e,2)):0},Bn.template=function(t,e,n){var o=Bn.templateSettings;n&&gi(t,e,n)&&(e=r),t=pa(t),e=_a({},e,o,Vo);var i,u,a=_a({},e.imports,o.imports,Vo),c=Aa(a),f=Qe(a,c),l=0,s=e.interpolate||wt,p="__p += '",h=Lt((e.escape||wt).source+"|"+s.source+"|"+(s===Q?ht:wt).source+"|"+(e.evaluate||wt).source+"|$","g"),g="//# sourceURL="+(zt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ue+"]")+"\n";t.replace(h,function(e,n,r,o,a,c){return r||(r=o),p+=t.slice(l,c).replace(kt,un),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),a&&(u=!0,p+="';\n"+a+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=c+e.length,e}),p+="';\n";var _=zt.call(e,"variable")&&e.variable;if(_){if(st.test(_))throw new xt("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(u?p.replace(H,""):p).replace(q,"$1").replace(G,"$1;"),p="function("+(_||"obj")+") {\n"+(_?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var v=Ga(function(){return At(c,g+"return "+p).apply(r,f)});if(v.source=p,Hu(v))throw v;return v},Bn.times=function(t,e){if((t=ca(t))<1||t>h)return[];var n=_,r=bn(t,_);e=ri(e),t-=_;for(var o=Ye(r,e);++n<t;)e(n);return o},Bn.toFinite=aa,Bn.toInteger=ca,Bn.toLength=fa,Bn.toLower=function(t){return pa(t).toLowerCase()},Bn.toNumber=la,Bn.toSafeInteger=function(t){return t?er(ca(t),-9007199254740991,h):0===t?t:0},Bn.toString=pa,Bn.toUpper=function(t){return pa(t).toUpperCase()},Bn.trim=function(t,e,n){if((t=pa(t))&&(n||e===r))return Je(t);if(!t||!(e=ro(e)))return t;var o=gn(t),i=gn(e);return _o(o,en(o,i),nn(o,i)+1).join("")},Bn.trimEnd=function(t,e,n){if((t=pa(t))&&(n||e===r))return t.slice(0,_n(t)+1);if(!t||!(e=ro(e)))return t;var o=gn(t);return _o(o,0,nn(o,gn(e))+1).join("")},Bn.trimStart=function(t,e,n){if((t=pa(t))&&(n||e===r))return t.replace(it,"");if(!t||!(e=ro(e)))return t;var o=gn(t);return _o(o,en(o,gn(e))).join("")},Bn.truncate=function(t,e){var n=30,o="...";if(Ku(e)){var i="separator"in e?e.separator:i;n="length"in e?ca(e.length):n,o="omission"in e?ro(e.omission):o}var u=(t=pa(t)).length;if(an(t)){var a=gn(t);u=a.length}if(n>=u)return t;var c=n-hn(o);if(c<1)return o;var f=a?_o(a,0,c).join(""):t.slice(0,c);if(i===r)return f+o;if(a&&(c+=f.length-c),Qu(i)){if(t.slice(c).search(i)){var l,s=f;for(i.global||(i=Lt(i.source,pa(gt.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var p=l.index;f=f.slice(0,p===r?c:p)}}else if(t.indexOf(ro(i),c)!=c){var h=f.lastIndexOf(i);h>-1&&(f=f.slice(0,h))}return f+o},Bn.unescape=function(t){return(t=pa(t))&&Z.test(t)?t.replace(V,vn):t},Bn.uniqueId=function(t){var e=++Mt;return pa(t)+e},Bn.upperCase=$a,Bn.upperFirst=Ha,Bn.each=pu,Bn.eachRight=hu,Bn.first=Ui,ec(Bn,(_c={},gr(Bn,function(t,e){zt.call(Bn.prototype,e)||(_c[e]=t)}),_c),{chain:!1}),Bn.VERSION="4.17.21",Le(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){Bn[t].placeholder=Bn}),Le(["drop","take"],function(t,e){LazyWrapper.prototype[t]=function(n){n=n===r?1:mn(ca(n),0);var o=this.__filtered__&&!e?new LazyWrapper(this):this.clone();return o.__filtered__?o.__takeCount__=bn(n,o.__takeCount__):o.__views__.push({size:bn(n,_),type:t+(o.__dir__<0?"Right":"")}),o},LazyWrapper.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Le(["filter","map","takeWhile"],function(t,e){var n=e+1,r=1==n||3==n;LazyWrapper.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:ri(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),Le(["head","last"],function(t,e){var n="take"+(e?"Right":"");LazyWrapper.prototype[t]=function(){return this[n](1).value()[0]}}),Le(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");LazyWrapper.prototype[t]=function(){return this.__filtered__?new LazyWrapper(this):this[n](1)}}),LazyWrapper.prototype.compact=function(){return this.filter(Ja)},LazyWrapper.prototype.find=function(t){return this.filter(t).head()},LazyWrapper.prototype.findLast=function(t){return this.reverse().find(t)},LazyWrapper.prototype.invokeMap=Hr(function(t,e){return"function"==typeof t?new LazyWrapper(this):this.map(function(n){return xr(n,t,e)})}),LazyWrapper.prototype.reject=function(t){return this.filter(Ou(ri(t)))},LazyWrapper.prototype.slice=function(t,e){t=ca(t);var n=this;return n.__filtered__&&(t>0||e<0)?new LazyWrapper(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==r&&(n=(e=ca(e))<0?n.dropRight(-e):n.take(e-t)),n)},LazyWrapper.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},LazyWrapper.prototype.toArray=function(){return this.take(_)},gr(LazyWrapper.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),i=Bn[o?"take"+("last"==e?"Right":""):e],u=o||/^find/.test(e);i&&(Bn.prototype[e]=function(){var e=this.__wrapped__,a=o?[1]:arguments,c=e instanceof LazyWrapper,f=a[0],l=c||Wu(e),s=function(t){var e=i.apply(Bn,De([t],a));return o&&p?e[0]:e};l&&n&&"function"==typeof f&&1!=f.length&&(c=l=!1);var p=this.__chain__,h=!!this.__actions__.length,g=u&&!p,_=c&&!h;if(!u&&l){e=_?e:new LazyWrapper(this);var v=t.apply(e,a);return v.__actions__.push({func:au,args:[s],thisArg:r}),new LodashWrapper(v,p)}return g&&_?t.apply(this,a):(v=this.thru(s),g?o?v.value()[0]:v.value():v)})}),Le(["pop","push","shift","sort","splice","unshift"],function(t){var e=Rt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Bn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var o=this.value();return e.apply(Wu(o)?o:[],t)}return this[n](function(n){return e.apply(Wu(n)?n:[],t)})}}),gr(LazyWrapper.prototype,function(t,e){var n=Bn[e];if(n){var r=n.name+"";zt.call(jn,r)||(jn[r]=[]),jn[r].push({name:e,func:n})}}),jn[Do(r,2).name]=[{name:"wrapper",func:r}],LazyWrapper.prototype.clone=function(){var t=new LazyWrapper(this.__wrapped__);return t.__actions__=xo(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=xo(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=xo(this.__views__),t},LazyWrapper.prototype.reverse=function(){if(this.__filtered__){var t=new LazyWrapper(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},LazyWrapper.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Wu(t),r=e<0,o=n?t.length:0,i=function(t,e,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],u=i.size;switch(i.type){case"drop":t+=u;break;case"dropRight":e-=u;break;case"take":e=bn(e,t+u);break;case"takeRight":t=mn(t,e-u)}}return{start:t,end:e}}(0,o,this.__views__),u=i.start,a=i.end,c=a-u,f=r?a:u-1,l=this.__iteratees__,s=l.length,p=0,h=bn(c,this.__takeCount__);if(!n||!r&&o==c&&h==c)return co(t,this.__actions__);var g=[];t:for(;c--&&p<h;){for(var _=-1,v=t[f+=e];++_<s;){var d=l[_],y=d.iteratee,m=d.type,b=y(v);if(2==m)v=b;else if(!b){if(1==m)continue t;break t}}g[p++]=v}return g},Bn.prototype.at=cu,Bn.prototype.chain=function(){return uu(this)},Bn.prototype.commit=function(){return new LodashWrapper(this.value(),this.__chain__)},Bn.prototype.next=function(){this.__values__===r&&(this.__values__=ua(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?r:this.__values__[this.__index__++]}},Bn.prototype.plant=function(t){for(var e,n=this;n instanceof $n;){var o=Ni(n);o.__index__=0,o.__values__=r,e?i.__wrapped__=o:e=o;var i=o;n=n.__wrapped__}return i.__wrapped__=t,e},Bn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof LazyWrapper){var e=t;return this.__actions__.length&&(e=new LazyWrapper(this)),(e=e.reverse()).__actions__.push({func:au,args:[Ki],thisArg:r}),new LodashWrapper(e,this.__chain__)}return this.thru(Ki)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return co(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,Xt&&(Bn.prototype[Xt]=function(){return this}),Bn}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(ge._=dn,define(function(){return dn})):ve?((ve.exports=dn)._=dn,_e._=dn):ge._=dn}.call(this)},362:(t,e,n)=>{"use strict";var r=n(441);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,u){if(u!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},403:(t,e,n)=>{"use strict";var r=n(664),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,u=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,f=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,s=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,g=o?Symbol.for("react.memo"):60115,_=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function d(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function b(t,e,n){this.props=t,this.context=e,this.refs=m,this.updater=n||y}function w(){}function k(t,e,n){this.props=t,this.context=e,this.refs=m,this.updater=n||y}b.prototype.isReactComponent={},b.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error(d(85));this.updater.enqueueSetState(this,t,e,"setState")},b.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},w.prototype=b.prototype;var S=k.prototype=new w;S.constructor=k,r(S,b.prototype),S.isPureReactComponent=!0;var x={current:null},A=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function T(t,e,n){var r,o={},u=null,a=null;if(null!=e)for(r in void 0!==e.ref&&(a=e.ref),void 0!==e.key&&(u=""+e.key),e)A.call(e,r)&&!E.hasOwnProperty(r)&&(o[r]=e[r]);var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){for(var f=Array(c),l=0;l<c;l++)f[l]=arguments[l+2];o.children=f}if(t&&t.defaultProps)for(r in c=t.defaultProps)void 0===o[r]&&(o[r]=c[r]);return{$$typeof:i,type:t,key:u,ref:a,props:o,_owner:x.current}}function L(t){return"object"==typeof t&&null!==t&&t.$$typeof===i}var O=/\/+/g,C=[];function R(t,e,n,r){if(C.length){var o=C.pop();return o.result=t,o.keyPrefix=e,o.func=n,o.context=r,o.count=0,o}return{result:t,keyPrefix:e,func:n,context:r,count:0}}function j(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>C.length&&C.push(t)}function N(t,e,n,r){var o=typeof t;"undefined"!==o&&"boolean"!==o||(t=null);var a=!1;if(null===t)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case i:case u:a=!0}}if(a)return n(r,t,""===e?"."+D(t,0):e),1;if(a=0,e=""===e?".":e+":",Array.isArray(t))for(var c=0;c<t.length;c++){var f=e+D(o=t[c],c);a+=N(o,f,n,r)}else if(null===t||"object"!=typeof t?f=null:f="function"==typeof(f=v&&t[v]||t["@@iterator"])?f:null,"function"==typeof f)for(t=f.call(t),c=0;!(o=t.next()).done;)a+=N(o=o.value,f=e+D(o,c++),n,r);else if("object"===o)throw n=""+t,Error(d(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return a}function I(t,e,n){return null==t?0:N(t,"",e,n)}function D(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(t){return e[t]})}(t.key):e.toString(36)}function z(t,e){t.func.call(t.context,e,t.count++)}function M(t,e,n){var r=t.result,o=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?W(t,r,n,function(t){return t}):null!=t&&(L(t)&&(t=function(t,e){return{$$typeof:i,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(t,o+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(O,"$&/")+"/")+n)),r.push(t))}function W(t,e,n,r,o){var i="";null!=n&&(i=(""+n).replace(O,"$&/")+"/"),I(t,M,e=R(e,i,r,o)),j(e)}var P={current:null};function U(){var t=P.current;if(null===t)throw Error(d(321));return t}var B={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:r};e.Children={map:function(t,e,n){if(null==t)return t;var r=[];return W(t,r,null,e,n),r},forEach:function(t,e,n){if(null==t)return t;I(t,z,e=R(null,null,e,n)),j(e)},count:function(t){return I(t,function(){return null},null)},toArray:function(t){var e=[];return W(t,e,null,function(t){return t}),e},only:function(t){if(!L(t))throw Error(d(143));return t}},e.Component=b,e.Fragment=a,e.Profiler=f,e.PureComponent=k,e.StrictMode=c,e.Suspense=h,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,e.cloneElement=function(t,e,n){if(null==t)throw Error(d(267,t));var o=r({},t.props),u=t.key,a=t.ref,c=t._owner;if(null!=e){if(void 0!==e.ref&&(a=e.ref,c=x.current),void 0!==e.key&&(u=""+e.key),t.type&&t.type.defaultProps)var f=t.type.defaultProps;for(l in e)A.call(e,l)&&!E.hasOwnProperty(l)&&(o[l]=void 0===e[l]&&void 0!==f?f[l]:e[l])}var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){f=Array(l);for(var s=0;s<l;s++)f[s]=arguments[s+2];o.children=f}return{$$typeof:i,type:t.type,key:u,ref:a,props:o,_owner:c}},e.createContext=function(t,e){return void 0===e&&(e=null),(t={$$typeof:s,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:t},t.Consumer=t},e.createElement=T,e.createFactory=function(t){var e=T.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:p,render:t}},e.isValidElement=L,e.lazy=function(t){return{$$typeof:_,_ctor:t,_status:-1,_result:null}},e.memo=function(t,e){return{$$typeof:g,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return U().useCallback(t,e)},e.useContext=function(t,e){return U().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return U().useEffect(t,e)},e.useImperativeHandle=function(t,e,n){return U().useImperativeHandle(t,e,n)},e.useLayoutEffect=function(t,e){return U().useLayoutEffect(t,e)},e.useMemo=function(t,e){return U().useMemo(t,e)},e.useReducer=function(t,e,n){return U().useReducer(t,e,n)},e.useRef=function(t){return U().useRef(t)},e.useState=function(t){return U().useState(t)},e.version="16.14.0"},441:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},452:t=>{!function(){"use strict";var e={}.hasOwnProperty;function n(){for(var t="",e=0;e<arguments.length;e++){var n=arguments[e];n&&(t=o(t,r(n)))}return t}function r(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var r="";for(var i in t)e.call(t,i)&&t[i]&&(r=o(r,i));return r}function o(t,e){return e?t?t+" "+e:t+e:t}t.exports?(n.default=n,t.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return n}):window.classNames=n}()},523:(t,e,n)=>{!function(){var e=n(919),r=n(987).utf8,o=n(634),i=n(987).bin,u=function(t,n){t.constructor==String?t=n&&"binary"===n.encoding?i.stringToBytes(t):r.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var a=e.bytesToWords(t),c=8*t.length,f=1732584193,l=-271733879,s=-1732584194,p=271733878,h=0;h<a.length;h++)a[h]=16711935&(a[h]<<8|a[h]>>>24)|4278255360&(a[h]<<24|a[h]>>>8);a[c>>>5]|=128<<c%32,a[14+(c+64>>>9<<4)]=c;var g=u._ff,_=u._gg,v=u._hh,d=u._ii;for(h=0;h<a.length;h+=16){var y=f,m=l,b=s,w=p;f=g(f,l,s,p,a[h+0],7,-680876936),p=g(p,f,l,s,a[h+1],12,-389564586),s=g(s,p,f,l,a[h+2],17,606105819),l=g(l,s,p,f,a[h+3],22,-1044525330),f=g(f,l,s,p,a[h+4],7,-176418897),p=g(p,f,l,s,a[h+5],12,1200080426),s=g(s,p,f,l,a[h+6],17,-1473231341),l=g(l,s,p,f,a[h+7],22,-45705983),f=g(f,l,s,p,a[h+8],7,1770035416),p=g(p,f,l,s,a[h+9],12,-1958414417),s=g(s,p,f,l,a[h+10],17,-42063),l=g(l,s,p,f,a[h+11],22,-1990404162),f=g(f,l,s,p,a[h+12],7,1804603682),p=g(p,f,l,s,a[h+13],12,-40341101),s=g(s,p,f,l,a[h+14],17,-1502002290),f=_(f,l=g(l,s,p,f,a[h+15],22,1236535329),s,p,a[h+1],5,-165796510),p=_(p,f,l,s,a[h+6],9,-1069501632),s=_(s,p,f,l,a[h+11],14,643717713),l=_(l,s,p,f,a[h+0],20,-373897302),f=_(f,l,s,p,a[h+5],5,-701558691),p=_(p,f,l,s,a[h+10],9,38016083),s=_(s,p,f,l,a[h+15],14,-660478335),l=_(l,s,p,f,a[h+4],20,-405537848),f=_(f,l,s,p,a[h+9],5,568446438),p=_(p,f,l,s,a[h+14],9,-1019803690),s=_(s,p,f,l,a[h+3],14,-187363961),l=_(l,s,p,f,a[h+8],20,1163531501),f=_(f,l,s,p,a[h+13],5,-1444681467),p=_(p,f,l,s,a[h+2],9,-51403784),s=_(s,p,f,l,a[h+7],14,1735328473),f=v(f,l=_(l,s,p,f,a[h+12],20,-1926607734),s,p,a[h+5],4,-378558),p=v(p,f,l,s,a[h+8],11,-2022574463),s=v(s,p,f,l,a[h+11],16,1839030562),l=v(l,s,p,f,a[h+14],23,-35309556),f=v(f,l,s,p,a[h+1],4,-1530992060),p=v(p,f,l,s,a[h+4],11,1272893353),s=v(s,p,f,l,a[h+7],16,-155497632),l=v(l,s,p,f,a[h+10],23,-1094730640),f=v(f,l,s,p,a[h+13],4,681279174),p=v(p,f,l,s,a[h+0],11,-358537222),s=v(s,p,f,l,a[h+3],16,-722521979),l=v(l,s,p,f,a[h+6],23,76029189),f=v(f,l,s,p,a[h+9],4,-640364487),p=v(p,f,l,s,a[h+12],11,-421815835),s=v(s,p,f,l,a[h+15],16,530742520),f=d(f,l=v(l,s,p,f,a[h+2],23,-995338651),s,p,a[h+0],6,-198630844),p=d(p,f,l,s,a[h+7],10,1126891415),s=d(s,p,f,l,a[h+14],15,-1416354905),l=d(l,s,p,f,a[h+5],21,-57434055),f=d(f,l,s,p,a[h+12],6,1700485571),p=d(p,f,l,s,a[h+3],10,-1894986606),s=d(s,p,f,l,a[h+10],15,-1051523),l=d(l,s,p,f,a[h+1],21,-2054922799),f=d(f,l,s,p,a[h+8],6,1873313359),p=d(p,f,l,s,a[h+15],10,-30611744),s=d(s,p,f,l,a[h+6],15,-1560198380),l=d(l,s,p,f,a[h+13],21,1309151649),f=d(f,l,s,p,a[h+4],6,-145523070),p=d(p,f,l,s,a[h+11],10,-1120210379),s=d(s,p,f,l,a[h+2],15,718787259),l=d(l,s,p,f,a[h+9],21,-343485551),f=f+y>>>0,l=l+m>>>0,s=s+b>>>0,p=p+w>>>0}return e.endian([f,l,s,p])};u._ff=function(t,e,n,r,o,i,u){var a=t+(e&n|~e&r)+(o>>>0)+u;return(a<<i|a>>>32-i)+e},u._gg=function(t,e,n,r,o,i,u){var a=t+(e&r|n&~r)+(o>>>0)+u;return(a<<i|a>>>32-i)+e},u._hh=function(t,e,n,r,o,i,u){var a=t+(e^n^r)+(o>>>0)+u;return(a<<i|a>>>32-i)+e},u._ii=function(t,e,n,r,o,i,u){var a=t+(n^(e|~r))+(o>>>0)+u;return(a<<i|a>>>32-i)+e},u._blocksize=16,u._digestsize=16,t.exports=function(t,n){if(null==t)throw new Error("Illegal argument "+t);var r=e.wordsToBytes(u(t,n));return n&&n.asBytes?r:n&&n.asString?i.bytesToString(r):e.bytesToHex(r)}}()},532:t=>{t.exports=function(t,e){var n,r,o=0;function i(){var i,u,a=n,c=arguments.length;t:for(;a;){if(a.args.length===arguments.length){for(u=0;u<c;u++)if(a.args[u]!==arguments[u]){a=a.next;continue t}return a!==n&&(a===r&&(r=a.prev),a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.next=n,a.prev=null,n.prev=a,n=a),a.val}a=a.next}for(i=new Array(c),u=0;u<c;u++)i[u]=arguments[u];return a={args:i,val:t.apply(null,i)},n?(n.prev=a,a.next=n):r=a,o===e.maxSize?(r=r.prev).next=null:o++,n=a,a.val}return e=e||{},i.clear=function(){n=null,r=null,o=0},i}},540:(t,e,n)=>{"use strict";t.exports=n(192)},634:t=>{function e(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}t.exports=function(t){return null!=t&&(e(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}(t)||!!t._isBuffer)}},664:t=>{"use strict";var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,o){for(var i,u,a=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),c=1;c<arguments.length;c++){for(var f in i=Object(arguments[c]))n.call(i,f)&&(a[f]=i[f]);if(e){u=e(i);for(var l=0;l<u.length;l++)r.call(i,u[l])&&(a[u[l]]=i[u[l]])}}return a}},688:(t,e,n)=>{t.exports=n(362)()},696:(t,e,n)=>{"use strict";t.exports=n(403)},919:t=>{var e,n;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&n.rotl(t,8)|4278255360&n.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=n.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],n=0,r=0;n<t.length;n++,r+=8)e[r>>>5]|=t[n]<<24-r%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n<t.length;n++)e.push((t[n]>>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n<t.length;n+=2)e.push(parseInt(t.substr(n,2),16));return e},bytesToBase64:function(t){for(var n=[],r=0;r<t.length;r+=3)for(var o=t[r]<<16|t[r+1]<<8|t[r+2],i=0;i<4;i++)8*r+6*i<=8*t.length?n.push(e.charAt(o>>>6*(3-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,o=0;r<t.length;o=++r%4)0!=o&&n.push((e.indexOf(t.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|e.indexOf(t.charAt(r))>>>6-2*o);return n}},t.exports=n},987:t=>{var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}};t.exports=e}},e={};function __webpack_require__(n){var r=e[n];if(void 0!==r)return r.exports;var o=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(o.exports,o,o.exports,__webpack_require__),o.loaded=!0,o.exports}__webpack_require__.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=(t,e)=>{for(var n in e)__webpack_require__.o(e,n)&&!__webpack_require__.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),__webpack_require__.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{"use strict";const t=wp.plugins,e=googlesitekit.data;var n=__webpack_require__.n(e);const r="core/modules",o="kmAnalyticsTopCategories",i="core/editor",u="modules/reader-revenue-manager",a=googlesitekit.i18n,c=((0,a.__)("Specific content types","google-site-kit"),(0,a.__)("Specified pages","google-site-kit"),(0,a.__)("Site wide","google-site-kit"),"reader-revenue-manager"),f=wp.editPost,l=wp.editor;var s,p=__webpack_require__(696);function h(){return h=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},h.apply(null,arguments)}const g=t=>p.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 44"},t),s||(s=p.createElement("g",{fill:"none",fillRule:"evenodd"},p.createElement("path",{fill:"#FBBC05",d:"m2.253 12.252 7.399 5.658A13 13 0 0 0 9 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22 22 0 0 1 0 22c0-3.506.81-6.814 2.253-9.748"}),p.createElement("path",{fill:"#EA4335",d:"m9.652 17.91-7.4-5.658A21.94 21.94 0 0 1 22 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91"}),p.createElement("path",{fill:"#34A853",d:"m2.25 31.742 7.396-5.67A12.975 12.975 0 0 0 22 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.94 21.94 0 0 1 2.25 31.742"}),p.createElement("path",{fill:"#4285F4",d:"m36.34 38.52-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52"})))),_=wp.components,v=wp.element;var d=__webpack_require__(540);const{select:y,dispatch:m}=n();function SettingsForm(){const t=y(u).getProductIDs()||[],e=`googlesitekit_rrm_${y(u).getPublicationID()}:productID`,n=y(i).getEditedPostAttribute("meta")?.[e]||"",[r,o]=(0,v.useState)(n),c=""===r?null:(0,a.__)("This will override any other settings you might have applied in Site Kit.","google-site-kit");return(0,d.jsx)(_.SelectControl,{className:"googlesitekit-rrm-panel__select-control",label:(0,a.__)("Decide how site visitors should access this post (if they will see CTAs by Reader Revenue Manager, which you activated via Site Kit):","google-site-kit"),onChange:function(t){o(t),m(i).editPost({meta:{[e]:t}})},value:r,options:[{label:(0,a.__)("Keep the default selection","google-site-kit"),value:""},{label:(0,a.__)("Exclude from Reader Revenue Manager","google-site-kit"),value:"none"},{label:(0,a.__)('Use "open access"',"google-site-kit"),value:"openaccess"},...t.map(t=>{const e=t.split(":"),n=e.length>1?e[1]:t;return{label:(0,a.sprintf)(/* translators: %s: Product ID */ /* translators: %s: Product ID */ 2 (0,a.__)('Use "%s"',"google-site-kit"),n),value:t}})],help:c,__nextHasNoMarginBottom:!0})}var b=__webpack_require__(688),w=__webpack_require__.n(b),k=__webpack_require__(452),S=__webpack_require__.n(k);const x=["body","display","headline","label","title"],A=["small","medium","large"];function Typography({className:t,type:e,size:n,as:r="span",children:o,...i}){return(0,d.jsx)(r,{className:S()("googlesitekit-typography",t,{[`googlesitekit-typography--${e}`]:e&&x.includes(e),[`googlesitekit-typography--${n}`]:n&&A.includes(n)}),...i,children:o})}function SettingPanel(){const t=l.PluginDocumentSettingPanel||f.PluginDocumentSettingPanel;return(0,d.jsx)(t,{className:"googlesitekit-rrm-settings-panel",name:"googlesitekit-rrm-panel",title:(0,a.__)("Google Site Kit","google-site-kit"),icon:(0,d.jsx)(g,{height:"16",width:"16"}),children:(0,d.jsxs)("section",{children:[(0,d.jsx)(Typography,{as:"h3",size:"small",type:"headline",children:(0,a.__)("Reader Revenue Manager","google-site-kit")}),(0,d.jsx)(SettingsForm,{})]})})}Typography.propTypes={className:w().string,type:w().oneOf(x),size:w().oneOf(A),as:w().oneOfType([w().string,w().elementType])};var E=__webpack_require__(243);const T="_googlesitekitDataLayer",L="data-googlesitekit-gtag";function O(t){return function(){t[T]=t[T]||[],t[T].push(arguments)}}const C=new Set(__webpack_require__.g?._googlesitekitBaseData?.enabledFeatures||[]);const R={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};const{activeModules:j=[],isSiteKitScreen:N,trackingEnabled:I,trackingID:D,referenceSiteURL:z,userIDHash:M,isAuthenticated:W,userRoles:P}=__webpack_require__.g._googlesitekitTrackingData||{}, {GOOGLESITEKIT_VERSION:U}=__webpack_require__.g,B={activeModules:j,trackingEnabled:I,trackingID:D,referenceSiteURL:z,userIDHash:M,isSiteKitScreen:N,userRoles:P,isAuthenticated:W,pluginVersion:U},{enableTracking:F,disableTracking:$,isTrackingEnabled:H,initializeSnippet:q,trackEvent:G,trackEventOnce:V}=function(t,e=__webpack_require__.g,n=__webpack_require__.g){const r={...R,...t};r.referenceSiteURL&&(r.referenceSiteURL=r.referenceSiteURL.toString().replace(/\/+$/,""));const o=function(t,e){const n=O(e);let r;const{activeModules:o,referenceSiteURL:i,userIDHash:u,userRoles:a=[],isAuthenticated:c,pluginVersion:f}=t;return function(){const{document:e}=__webpack_require__.g;if(void 0===r&&(r=!!e.querySelector(`script[${L}]`)),r)return!1;r=!0;const l=a?.length?a.join(","):"";n("js",new Date),n("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:i,plugin_version:f||"",enabled_features:Array.from(C).join(","),active_modules:o.join(","),authenticated:c?"1":"0",user_properties:{user_roles:l,user_identifier:u}});const s=e.createElement("script");return s.setAttribute(L,""),s.async=!0,s.src=`https://www.googletagmanager.com/gtag/js?id=${t.trackingID}&l=${T}`,e.head.appendChild(s),{scriptTagSrc:`https://www.googletagmanager.com/gtag/js?id=${t.trackingID}&l=${T}`}}}(r,e),i=function(t,e,n,r){const o=O(e);return async function(e,i,u,a){const{trackingEnabled:c}=t;if(!c)return null;n();const f={send_to:"site_kit",event_category:e,event_label:u,value:a};return new Promise(t=>{const n=setTimeout(function(){r.console.warn(`Tracking event "${i}" (category "${e}") took too long to fire.`),t()},1e3);function u(){clearTimeout(n),t()}o("event",i,{...f,event_callback:u}),r._gaUserPrefs?.ioo?.()&&u()})}}(r,e,o,n),u={};return{enableTracking:function(){r.trackingEnabled=!0},disableTracking:function(){r.trackingEnabled=!1},initializeSnippet:o,isTrackingEnabled:function(){return!!r.trackingEnabled},trackEvent:i,trackEventOnce:function(...t){const e=JSON.stringify(t);u[e]||(u[e]=(0,E.once)(i)),u[e](...t)}}}(B);N&&I&&q();var K=__webpack_require__(234);__webpack_require__.n(K)()(__webpack_require__.g);__webpack_require__(523);var Z=__webpack_require__(532);__webpack_require__.n(Z)()(console.warn);__webpack_require__(91);function ChangeArrow_ChangeArrow({direction:t,invertColor:e,width:n,height:r}){return(0,d.jsx)("svg",{className:S()("googlesitekit-change-arrow",`googlesitekit-change-arrow--${t}`,{"googlesitekit-change-arrow--inverted-color":e}),width:n,height:r,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,d.jsx)("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"})})}ChangeArrow_ChangeArrow.propTypes={direction:w().string,invertColor:w().bool,width:w().number,height:w().number},ChangeArrow_ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9};function Y(){let t=!1,n=null;(0,e.subscribe)(()=>{if(void 0===(0,e.select)(u).getPublicationID())return;if(null===n)return void(n=X());const r=(0,e.select)(i).isSavingPost(),o=(0,e.select)(i).isAutosavingPost();if(t&&!r&&!o){const t=X();if(function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!0;return n.some(n=>t[n]!==e[n])}(n,t)){const e=J();G("wpBlockEditor_rrm","change_product_id",function(t){switch(t){case"":return(0,a.__)("Default","google-site-kit");case"none":return(0,a.__)("None","google-site-kit");case"openaccess":return(0,a.__)("Open access","google-site-kit");default:return(0,a.__)("Custom product ID","google-site-kit")}}(t[e])),n={...t}}}t=r})}function J(){return`googlesitekit_rrm_${(0,e.select)(u).getPublicationID()}:productID`}function X(){const t=(0,e.select)(i).getCurrentPost();if(!t)return{};const n=J();return{[n]:t.meta?.[n]||""}}const{select:Q,resolveSelect:tt}=n();!async function(){if(!!Q("core/edit-site"))return;await Promise.all([tt(r).getModules(),tt("core/user").getUser(),tt(u).getSettings()]);let e=Q(r).hasModuleOwnership(c);!1===e&&(e=await tt(r).hasModuleAccess(c)),e&&((0,t.registerPlugin)("googlesitekit-rrm-plugin",{render:SettingPanel}),Y())}()})()})();2 (0,a.__)('Use "%s"',"google-site-kit"),n),value:t}})],help:c,__nextHasNoMarginBottom:!0})}var b=__webpack_require__(688),w=__webpack_require__.n(b),k=__webpack_require__(452),S=__webpack_require__.n(k);const x=["body","display","headline","label","title"],A=["small","medium","large"];function Typography({className:t,type:e,size:n,as:r="span",children:o,...i}){return(0,d.jsx)(r,{className:S()("googlesitekit-typography",t,{[`googlesitekit-typography--${e}`]:e&&x.includes(e),[`googlesitekit-typography--${n}`]:n&&A.includes(n)}),...i,children:o})}function SettingPanel(){const t=l.PluginDocumentSettingPanel||f.PluginDocumentSettingPanel;return(0,d.jsx)(t,{className:"googlesitekit-rrm-settings-panel",name:"googlesitekit-rrm-panel",title:(0,a.__)("Google Site Kit","google-site-kit"),icon:(0,d.jsx)(g,{height:"16",width:"16"}),children:(0,d.jsxs)("section",{children:[(0,d.jsx)(Typography,{as:"h3",size:"small",type:"headline",children:(0,a.__)("Reader Revenue Manager","google-site-kit")}),(0,d.jsx)(SettingsForm,{})]})})}Typography.propTypes={className:w().string,type:w().oneOf(x),size:w().oneOf(A),as:w().oneOfType([w().string,w().elementType])};var E=__webpack_require__(243);const T="_googlesitekitDataLayer",L="data-googlesitekit-gtag";function O(t){return function(){t[T]=t[T]||[],t[T].push(arguments)}}const C=new Set(__webpack_require__.g?._googlesitekitBaseData?.enabledFeatures||[]);const R={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};const{activeModules:j=[],isSiteKitScreen:N,trackingEnabled:I,trackingID:D,referenceSiteURL:z,userIDHash:M,isAuthenticated:W,userRoles:P}=__webpack_require__.g._googlesitekitTrackingData||{},U={activeModules:j,trackingEnabled:I,trackingID:D,referenceSiteURL:z,userIDHash:M,isSiteKitScreen:N,userRoles:P,isAuthenticated:W,pluginVersion:__webpack_require__.g.GOOGLESITEKIT_VERSION},{enableTracking:B,disableTracking:F,isTrackingEnabled:$,initializeSnippet:H,trackEvent:q,trackEventOnce:G}=function(t,e=__webpack_require__.g,n=__webpack_require__.g){const r={...R,...t};r.referenceSiteURL&&(r.referenceSiteURL=r.referenceSiteURL.toString().replace(/\/+$/,""));const o=function(t,e){const n=O(e);let r;const{activeModules:o,referenceSiteURL:i,userIDHash:u,userRoles:a=[],isAuthenticated:c,pluginVersion:f}=t;return function(){const{document:e}=__webpack_require__.g;if(void 0===r&&(r=!!e.querySelector(`script[${L}]`)),r)return!1;r=!0;const l=a?.length?a.join(","):"";n("js",new Date),n("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:i,plugin_version:f||"",enabled_features:Array.from(C).join(","),active_modules:o.join(","),authenticated:c?"1":"0",user_properties:{user_roles:l,user_identifier:u}});const s=e.createElement("script");return s.setAttribute(L,""),s.async=!0,s.src=`https://www.googletagmanager.com/gtag/js?id=${t.trackingID}&l=${T}`,e.head.appendChild(s),{scriptTagSrc:`https://www.googletagmanager.com/gtag/js?id=${t.trackingID}&l=${T}`}}}(r,e),i=function(t,e,n,r){const o=O(e);return async function(e,i,u,a){const{trackingEnabled:c}=t;if(!c)return null;n();const f={send_to:"site_kit",event_category:e,event_label:u,value:a};return new Promise(t=>{const n=setTimeout(function(){r.console.warn(`Tracking event "${i}" (category "${e}") took too long to fire.`),t()},1e3);function u(){clearTimeout(n),t()}o("event",i,{...f,event_callback:u}),r._gaUserPrefs?.ioo?.()&&u()})}}(r,e,o,n),u={};return{enableTracking:function(){r.trackingEnabled=!0},disableTracking:function(){r.trackingEnabled=!1},initializeSnippet:o,isTrackingEnabled:function(){return!!r.trackingEnabled},trackEvent:i,trackEventOnce:function(...t){const e=JSON.stringify(t);u[e]||(u[e]=(0,E.once)(i)),u[e](...t)}}}(U);N&&I&&H();var V=__webpack_require__(234);__webpack_require__.n(V)()(__webpack_require__.g);__webpack_require__(523);var K=__webpack_require__(532);__webpack_require__.n(K)()(console.warn);__webpack_require__(91);function ChangeArrow_ChangeArrow({direction:t,invertColor:e,width:n,height:r}){return(0,d.jsx)("svg",{className:S()("googlesitekit-change-arrow",`googlesitekit-change-arrow--${t}`,{"googlesitekit-change-arrow--inverted-color":e}),width:n,height:r,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,d.jsx)("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"})})}ChangeArrow_ChangeArrow.propTypes={direction:w().string,invertColor:w().bool,width:w().number,height:w().number},ChangeArrow_ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9};function Z(){let t=!1,n=null;(0,e.subscribe)(()=>{if(void 0===(0,e.select)(u).getPublicationID())return;if(null===n)return void(n=J());const r=(0,e.select)(i).isSavingPost(),o=(0,e.select)(i).isAutosavingPost();if(t&&!r&&!o){const t=J();if(function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!0;return n.some(n=>t[n]!==e[n])}(n,t)){const e=Y();q("wpBlockEditor_rrm","change_product_id",function(t){switch(t){case"":return(0,a.__)("Default","google-site-kit");case"none":return(0,a.__)("None","google-site-kit");case"openaccess":return(0,a.__)("Open access","google-site-kit");default:return(0,a.__)("Custom product ID","google-site-kit")}}(t[e])),n={...t}}}t=r})}function Y(){return`googlesitekit_rrm_${(0,e.select)(u).getPublicationID()}:productID`}function J(){const t=(0,e.select)(i).getCurrentPost();if(!t)return{};const n=Y();return{[n]:t.meta?.[n]||""}}const{select:X,resolveSelect:Q}=n();!async function(){if(!!X("core/edit-site"))return;await Promise.all([Q(r).getModules(),Q("core/user").getUser(),Q(u).getSettings()]);let e=X(r).hasModuleOwnership(c);!1===e&&(e=await Q(r).hasModuleAccess(c)),e&&((0,t.registerPlugin)("googlesitekit-rrm-plugin",{render:SettingPanel}),Z())}()})()})(); -
google-site-kit/tags/1.167.0/dist/assets/blocks/reader-revenue-manager/contribute-with-google/block.json
r3397601 r3407206 3 3 "apiVersion": 2, 4 4 "name": "google-site-kit/rrm-contribute-with-google", 5 "version": "1.16 6.0",5 "version": "1.167.0", 6 6 "title": "Contribute with Google", 7 7 "category": "widgets", -
google-site-kit/tags/1.167.0/dist/assets/blocks/reader-revenue-manager/subscribe-with-google/block.json
r3397601 r3407206 3 3 "apiVersion": 2, 4 4 "name": "google-site-kit/rrm-subscribe-with-google", 5 "version": "1.16 6.0",5 "version": "1.167.0", 6 6 "title": "Subscribe with Google", 7 7 "category": "widgets", -
google-site-kit/tags/1.167.0/dist/assets/blocks/sign-in-with-google/block.json
r3397601 r3407206 3 3 "apiVersion": 2, 4 4 "name": "google-site-kit/sign-in-with-google", 5 "version": "1.16 6.0",5 "version": "1.167.0", 6 6 "title": "Sign in with Google", 7 7 "category": "widgets", -
google-site-kit/tags/1.167.0/dist/manifest.php
r3397601 r3407206 28 28 'sign-in-with-google/index' => array( "sign-in-with-google/index.js", null ), 29 29 'sign-in-with-google/editor-styles' => array( "sign-in-with-google/editor-styles.js", null ), 30 'googlesitekit-admin-css' => array( "googlesitekit-admin-css- 2b8f1e2e5a22632a2b0b.min.css", null ),30 'googlesitekit-admin-css' => array( "googlesitekit-admin-css-b9cab0a20268cc660836.min.css", null ), 31 31 'googlesitekit-adminbar-css' => array( "googlesitekit-adminbar-css-d193e67e2cbecf306061.min.css", null ), 32 32 'googlesitekit-wp-dashboard-css' => array( "googlesitekit-wp-dashboard-css-c4ef81393773b78c53aa.min.css", null ), 33 33 'googlesitekit-authorize-application-css' => array( "googlesitekit-authorize-application-css-5b98b536e7f34c6411c1.min.css", null ), 34 'googlesitekit-api' => array( "googlesitekit-api- 901ee93f4f6962cf9046.js", null ),34 'googlesitekit-api' => array( "googlesitekit-api-15cac6500fd5d984fb95.js", null ), 35 35 'googlesitekit-data' => array( "googlesitekit-data-2868d5c75a96f60bd472.js", null ), 36 'googlesitekit-datastore-site' => array( "googlesitekit-datastore-site- 0ae207044ad015f1ab65.js", null ),37 'googlesitekit-datastore-user' => array( "googlesitekit-datastore-user- a2641700005332059477.js", null ),38 'googlesitekit-datastore-forms' => array( "googlesitekit-datastore-forms- cb944d60c71ac3389799.js", null ),36 'googlesitekit-datastore-site' => array( "googlesitekit-datastore-site-84807d9cf6ef5776b730.js", null ), 37 'googlesitekit-datastore-user' => array( "googlesitekit-datastore-user-6afcf4831575891d4620.js", null ), 38 'googlesitekit-datastore-forms' => array( "googlesitekit-datastore-forms-1174d7377bfc9977ef9a.js", null ), 39 39 'googlesitekit-datastore-location' => array( "googlesitekit-datastore-location-a7fd5d1461e0562c934a.js", null ), 40 'googlesitekit-datastore-ui' => array( "googlesitekit-datastore-ui- 4ef67fd31a88fbb5e6cc.js", null ),41 'googlesitekit-modules' => array( "googlesitekit-modules- b6c11cde066467937047.js", null ),42 'googlesitekit-notifications' => array( "googlesitekit-notifications-2 b7ac78a18710fb06304.js", null ),43 'googlesitekit-widgets' => array( "googlesitekit-widgets- 28d3c787b59d5e5e4c2a.js", null ),44 'googlesitekit-modules-ads' => array( "googlesitekit-modules-ads- d4ea8e78888003ef9758.js", null ),45 'googlesitekit-modules-adsense' => array( "googlesitekit-modules-adsense- 72c4bd492fde24006d31.js", null ),46 'googlesitekit-modules-analytics-4' => array( "googlesitekit-modules-analytics-4- b0bf57e71006508ce237.js", null ),47 'googlesitekit-modules-pagespeed-insights' => array( "googlesitekit-modules-pagespeed-insights- ce16569db5c5c3700246.js", null ),48 'googlesitekit-modules-reader-revenue-manager' => array( "googlesitekit-modules-reader-revenue-manager- cd958aac94fcb996b9b7.js", null ),49 'googlesitekit-modules-search-console' => array( "googlesitekit-modules-search-console- 3ece11b31d58c3260ec3.js", null ),50 'googlesitekit-modules-sign-in-with-google' => array( "googlesitekit-modules-sign-in-with-google- d63bc464c616028bcf25.js", null ),51 'googlesitekit-modules-tagmanager' => array( "googlesitekit-modules-tagmanager- 46cb575a310506f4135b.js", null ),52 'googlesitekit-user-input' => array( "googlesitekit-user-input- 341ed0eeb4c71c0cf383.js", null ),53 'googlesitekit-ad-blocking-recovery' => array( "googlesitekit-ad-blocking-recovery- 52eaf653292521e6f9e2.js", null ),54 'googlesitekit-block-tracking' => array( "googlesitekit-block-tracking- 1032e2e997b7685502b9.js", null ),40 'googlesitekit-datastore-ui' => array( "googlesitekit-datastore-ui-abca0d9c62793c5dec3e.js", null ), 41 'googlesitekit-modules' => array( "googlesitekit-modules-dce334184f43e93590f0.js", null ), 42 'googlesitekit-notifications' => array( "googlesitekit-notifications-2367a0e39a4641cf0a86.js", null ), 43 'googlesitekit-widgets' => array( "googlesitekit-widgets-1de0c76dabc56b27df59.js", null ), 44 'googlesitekit-modules-ads' => array( "googlesitekit-modules-ads-666c5903affd119a99b5.js", null ), 45 'googlesitekit-modules-adsense' => array( "googlesitekit-modules-adsense-e7757e9cf619f6e1adae.js", null ), 46 'googlesitekit-modules-analytics-4' => array( "googlesitekit-modules-analytics-4-ebb3b6f75580255a8bba.js", null ), 47 'googlesitekit-modules-pagespeed-insights' => array( "googlesitekit-modules-pagespeed-insights-31bab748fa72671d2060.js", null ), 48 'googlesitekit-modules-reader-revenue-manager' => array( "googlesitekit-modules-reader-revenue-manager-607d96f98f5402c25944.js", null ), 49 'googlesitekit-modules-search-console' => array( "googlesitekit-modules-search-console-27a4f67f2b1a12d2ac83.js", null ), 50 'googlesitekit-modules-sign-in-with-google' => array( "googlesitekit-modules-sign-in-with-google-62652ee70455d9500620.js", null ), 51 'googlesitekit-modules-tagmanager' => array( "googlesitekit-modules-tagmanager-b4d14f8336e2d04a117d.js", null ), 52 'googlesitekit-user-input' => array( "googlesitekit-user-input-52ccecb53d5ce5ff13d2.js", null ), 53 'googlesitekit-ad-blocking-recovery' => array( "googlesitekit-ad-blocking-recovery-4464ef45f8c34471ee3f.js", null ), 54 'googlesitekit-block-tracking' => array( "googlesitekit-block-tracking-6efb8ed8e9e4db8da249.js", null ), 55 55 'googlesitekit-polyfills' => array( "googlesitekit-polyfills-8b59b9627a8949df6deb.js", null ), 56 56 'googlesitekit-components' => array( "googlesitekit-components-75585de31a179a264558.js", null ), 57 'googlesitekit-metric-selection' => array( "googlesitekit-metric-selection- 8e20247f501e08c98934.js", null ),58 'googlesitekit-key-metrics-setup' => array( "googlesitekit-key-metrics-setup- d0b301a68eb222f89e95.js", null ),59 'googlesitekit-activation' => array( "googlesitekit-activation- 980e5f970eacd7cc279b.js", null ),60 'googlesitekit-adminbar' => array( "googlesitekit-adminbar- ae973883a37707928671.js", null ),61 'googlesitekit-settings' => array( "googlesitekit-settings- 2fb0ce30e5fd7136b115.js", null ),62 'googlesitekit-main-dashboard' => array( "googlesitekit-main-dashboard- 7c111c025f4097ab330d.js", null ),63 'googlesitekit-entity-dashboard' => array( "googlesitekit-entity-dashboard- 745c0621f6ed4e497e99.js", null ),64 'googlesitekit-splash' => array( "googlesitekit-splash-3 278b5454d81de8c01e6.js", null ),65 'googlesitekit-wp-dashboard' => array( "googlesitekit-wp-dashboard- 063e75213f24c48f34aa.js", null ),57 'googlesitekit-metric-selection' => array( "googlesitekit-metric-selection-eac03cd59f5737142e49.js", null ), 58 'googlesitekit-key-metrics-setup' => array( "googlesitekit-key-metrics-setup-7155d7d87c08d0f347db.js", null ), 59 'googlesitekit-activation' => array( "googlesitekit-activation-2b581b3c77c6c3601892.js", null ), 60 'googlesitekit-adminbar' => array( "googlesitekit-adminbar-8d712dcb290a2efa6f0d.js", null ), 61 'googlesitekit-settings' => array( "googlesitekit-settings-3a2e2212924935e84f6f.js", null ), 62 'googlesitekit-main-dashboard' => array( "googlesitekit-main-dashboard-e0be854ee45bd990b30d.js", null ), 63 'googlesitekit-entity-dashboard' => array( "googlesitekit-entity-dashboard-446e6cd4802f6bb746df.js", null ), 64 'googlesitekit-splash' => array( "googlesitekit-splash-3f8ea39c312610f0b4af.js", null ), 65 'googlesitekit-wp-dashboard' => array( "googlesitekit-wp-dashboard-a28ad41333bd838dc673.js", null ), 66 66 'googlesitekit-runtime' => array( "runtime-4300400569c01237fc9a.js", null ), 67 'googlesitekit-vendor' => array( "googlesitekit-vendor- 599848015879dcc843df.js", null ),67 'googlesitekit-vendor' => array( "googlesitekit-vendor-ea32d0ade8d976a846d4.js", null ), 68 68 ); -
google-site-kit/tags/1.167.0/google-site-kit.php
r3397601 r3407206 12 12 * Plugin URI: https://sitekit.withgoogle.com 13 13 * Description: Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web. 14 * Version: 1.16 6.014 * Version: 1.167.0 15 15 * Requires at least: 5.2 16 16 * Requires PHP: 7.4 … … 27 27 28 28 // Define most essential constants. 29 define( 'GOOGLESITEKIT_VERSION', '1.16 6.0' );29 define( 'GOOGLESITEKIT_VERSION', '1.167.0' ); 30 30 define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ ); 31 31 define( 'GOOGLESITEKIT_PHP_MINIMUM', '7.4.0' ); -
google-site-kit/tags/1.167.0/includes/Core/Admin/Screens.php
r3373932 r3407206 20 20 use Google\Site_Kit\Core\Storage\Options; 21 21 use Google\Site_Kit\Core\Storage\User_Options; 22 use Google\Site_Kit\Core\User\Initial_Setup_Settings; 23 use Google\Site_Kit\Core\Util\Feature_Flags; 22 24 23 25 /** … … 66 68 67 69 /** 70 * User_Options instance. 71 * 72 * @since 1.167.0 73 * @var User_Options 74 */ 75 private $user_options; 76 77 /** 68 78 * Associative array of $hook_suffix => $screen pairs. 69 79 * … … 82 92 * @param Modules $modules Optional. Modules instance. Default is a new instance. 83 93 * @param Authentication $authentication Optional. Authentication instance. Default is a new instance. 94 * @param User_Options $user_options Optional. User_Options instance. Default is a new instance. 84 95 */ 85 96 public function __construct( … … 87 98 ?Assets $assets = null, 88 99 ?Modules $modules = null, 89 ?Authentication $authentication = null 100 ?Authentication $authentication = null, 101 ?User_Options $user_options = null 90 102 ) { 91 103 $this->context = $context; … … 93 105 $this->modules = $modules ?: new Modules( $this->context ); 94 106 $this->authentication = $authentication ?: new Authentication( $this->context ); 107 $this->user_options = $user_options ?: new User_Options( $this->context ); 95 108 } 96 109 … … 360 373 self::PREFIX . 'dashboard', 361 374 array( 362 'title' => __( 'Dashboard', 'google-site-kit' ),363 'capability' => Permissions::VIEW_DASHBOARD,364 'enqueue_callback' => function ( Assets $assets ) {375 'title' => __( 'Dashboard', 'google-site-kit' ), 376 'capability' => Permissions::VIEW_DASHBOARD, 377 'enqueue_callback' => function ( Assets $assets ) { 365 378 if ( $this->context->input()->filter( INPUT_GET, 'permaLink' ) ) { 366 379 $assets->enqueue_asset( 'googlesitekit-entity-dashboard' ); … … 369 382 } 370 383 }, 371 'render_callback' => function ( Context $context ) { 384 'initialize_callback' => function ( Context $context ) { 385 if ( ! Feature_Flags::enabled( 'setupFlowRefresh' ) ) { 386 return; 387 } 388 389 $is_view_only = ! $this->authentication->is_authenticated(); 390 391 if ( ! $is_view_only ) { 392 $initial_setup_settings = ( new Initial_Setup_Settings( $this->user_options ) )->get(); 393 $is_analytics_setup_complete = $initial_setup_settings['isAnalyticsSetupComplete']; 394 395 if ( false === $is_analytics_setup_complete ) { 396 $is_analytics_connected = $this->modules->is_module_connected( 'analytics-4' ); 397 398 if ( $is_analytics_connected ) { 399 wp_safe_redirect( 400 $context->admin_url( 401 'key-metrics-setup', 402 array( 403 'showProgress' => 'true', 404 ) 405 ) 406 ); 407 408 exit; 409 } else { 410 $slug = $context->input()->filter( INPUT_GET, 'slug' ); 411 $show_progress = $context->input()->filter( INPUT_GET, 'showProgress', FILTER_VALIDATE_BOOLEAN ); 412 $re_auth = $context->input()->filter( INPUT_GET, 'reAuth', FILTER_VALIDATE_BOOLEAN ); 413 414 if ( 'analytics-4' === $slug && $re_auth && $show_progress ) { 415 return; 416 } 417 418 wp_safe_redirect( 419 $context->admin_url( 420 'dashboard', 421 array( 422 'slug' => 'analytics-4', 423 'showProgress' => 'true', 424 'reAuth' => 'true', 425 ) 426 ) 427 ); 428 429 exit; 430 } 431 } 432 } 433 }, 434 'render_callback' => function ( Context $context ) { 372 435 $is_view_only = ! $this->authentication->is_authenticated(); 373 436 -
google-site-kit/tags/1.167.0/includes/Core/Authentication/Google_Proxy.php
r3373932 r3407206 301 301 $body = json_decode( $body, true ); 302 302 if ( $code < 200 || 299 < $code ) { 303 $message = is_array( $body ) && ! empty( $body['error'] ) ? $body['error'] : ''; 304 return new WP_Error( 'request_failed', $message, array( 'status' => $code ) ); 303 $message = ''; 304 $error_code = 'request_failed'; 305 306 if ( is_array( $body ) ) { 307 if ( ! empty( $body['error'] ) ) { 308 $message = $body['error']; 309 } 310 311 if ( ! empty( $body['error_code'] ) ) { 312 $error_code = $body['error_code']; 313 } 314 } 315 316 return new WP_Error( $error_code, $message, array( 'status' => $code ) ); 305 317 } 306 318 … … 513 525 * @since 1.27.0 514 526 * @since 1.104.0 Added `php_version` to request. 527 * @since 1.167.0 Added `amp_mode` to request. 515 528 * 516 529 * @param Credentials $credentials Credentials instance. … … 523 536 $user_count = count_users(); 524 537 $connectable_user_count = isset( $user_count['avail_roles']['administrator'] ) ? $user_count['avail_roles']['administrator'] : 0; 538 $amp_mode = $this->context->get_amp_mode(); 525 539 526 540 $body = array( … … 532 546 'connectable_user_count' => $connectable_user_count, 533 547 'connected_user_count' => $this->count_connected_users(), 548 'amp_mode' => $amp_mode ? $amp_mode : '', 534 549 ); 535 550 -
google-site-kit/tags/1.167.0/includes/Core/Authentication/Setup.php
r3148853 r3407206 119 119 * 120 120 * @since 1.81.0 121 * 121 * @since 1.167.0 Added support for custom error codes. 122 * 123 * @param string|null $error_code The error code. Optional. Defaults to null. 122 124 * @return string The get help link. 123 125 */ 124 private function get_oauth_proxy_failed_help_link() { 126 private function get_oauth_proxy_failed_help_link( $error_code = null ) { 127 // Map `request_failed` to the error ID `request_to_auth_proxy_failed` for backwards compatibility. 128 if ( null === $error_code || 'request_failed' === $error_code ) { 129 $error_id = 'request_to_auth_proxy_failed'; 130 } else { 131 $error_id = $error_code; 132 } 133 125 134 return sprintf( 126 135 /* translators: 1: Support link URL. 2: Get help string. */ 127 136 __( '<a href="%1$s" target="_blank">%2$s</a>', 'google-site-kit' ), 128 esc_url( add_query_arg( 'error_id', 'request_to_auth_proxy_failed', $this->proxy_support_link_url ) ),137 esc_url( add_query_arg( 'error_id', $error_id, $this->proxy_support_link_url ) ), 129 138 esc_html__( 'Get help', 'google-site-kit' ) 130 139 ); … … 156 165 ? $this->google_proxy->sync_site_fields( $this->credentials, 'sync' ) 157 166 : $this->google_proxy->register_site( 'sync' ); 158 159 $oauth_proxy_failed_help_link = $this->get_oauth_proxy_failed_help_link();160 167 161 168 if ( is_wp_error( $oauth_setup_redirect ) ) { … … 171 178 esc_html( $error_message ), 172 179 wp_kses( 173 $ oauth_proxy_failed_help_link,180 $this->get_oauth_proxy_failed_help_link( $oauth_setup_redirect->get_error_code() ), 174 181 array( 175 182 'a' => array( … … 189 196 esc_html__( 'The request to the authentication proxy has failed. Please, try again later. %s.', 'google-site-kit' ), 190 197 wp_kses( 191 $ oauth_proxy_failed_help_link,198 $this->get_oauth_proxy_failed_help_link(), 192 199 array( 193 200 'a' => array( -
google-site-kit/tags/1.167.0/includes/Core/Conversion_Tracking/Conversion_Event_Providers/WooCommerce.php
r3389193 r3407206 456 456 } 457 457 458 // Check if the original input started with + (user explicitly provided country code). 459 $original_started_with_plus = strpos( trim( $phone ), '+' ) === 0; 460 461 // Remove any non-digit characters. 462 $phone_digits = preg_replace( '/[^0-9]/', '', $phone ); 463 464 // Skip if phone is empty after cleaning. 465 if ( empty( $phone_digits ) ) { 466 return ''; 467 } 468 458 469 // Try to use WooCommerce's country calling codes for proper E.164 formatting. 459 470 if ( class_exists( 'WC_Countries' ) && ! empty( $country ) ) { … … 463 474 // If we have a valid calling code, format to E.164. 464 475 if ( ! empty( $calling_code ) ) { 465 // Remove any non-digit characters and leading zeros. 466 $phone = ltrim( preg_replace( '/[^0-9]/', '', $phone ), '0' ); 467 468 // Skip if phone is empty after cleaning. 469 if ( empty( $phone ) ) { 470 return ''; 476 // Extract country code digits (without the + sign). 477 $country_code_digits = ltrim( $calling_code, '+' ); 478 479 // Check if the phone number starts with 00 (international dialing format). 480 // This is commonly used instead of + in many countries. 481 // To distinguish from national numbers with leading zeros, ensure that after 482 // stripping 00, there are at least 10 digits remaining (country code + number). 483 $starts_with_00_international = false; 484 if ( strpos( $phone_digits, '00' ) === 0 && strlen( $phone_digits ) > 2 ) { 485 $digits_after_00 = substr( $phone_digits, 2 ); 486 $starts_with_00_international = strlen( $digits_after_00 ) >= 10; 471 487 } 472 488 473 // Prepend the calling code (which already includes the + sign). 474 $phone = $calling_code . $phone; 489 // Check if the phone number already starts with the billing country code. 490 if ( strpos( $phone_digits, $country_code_digits ) === 0 ) { 491 // Phone already has the correct country code, just add + and validate. 492 $phone = '+' . $phone_digits; 493 } elseif ( $starts_with_00_international ) { 494 // Phone starts with 00 (international dialing format). 495 // Strip the 00 prefix and format as E.164. 496 // This handles any country code, not just the billing country. 497 $phone = '+' . substr( $phone_digits, 2 ); 498 } elseif ( $original_started_with_plus ) { 499 // User explicitly entered a +, indicating they provided their own country code. 500 // Trust their input and use their number as-is. 501 $phone = '+' . $phone_digits; 502 } else { 503 // No country code detected, treat as national number. 504 // Remove leading zeros from the national number. 505 $phone_digits = ltrim( $phone_digits, '0' ); 506 507 // Skip if phone is empty after removing leading zeros. 508 if ( empty( $phone_digits ) ) { 509 return ''; 510 } 511 512 // Prepend the calling code (which already includes the + sign). 513 $phone = $calling_code . $phone_digits; 514 } 475 515 476 516 // Validate the number is the correct length (11-15 digits including +). -
google-site-kit/tags/1.167.0/includes/Core/Email_Reporting/Email_Log.php
r3397601 r3407206 27 27 /** 28 28 * Post type slug. 29 * 30 * @since 1.166.0 29 31 */ 30 32 const POST_TYPE = 'gsk_email_log'; … … 32 34 /** 33 35 * Report frequency meta key. 36 * 37 * @since 1.166.0 34 38 */ 35 39 const META_REPORT_FREQUENCY = '_report_frequency'; … … 37 41 /** 38 42 * Batch ID meta key. 43 * 44 * @since 1.166.0 39 45 */ 40 46 const META_BATCH_ID = '_batch_id'; … … 42 48 /** 43 49 * Maximum length for stored log strings (MySQL utf8mb4 index safety). 50 * 51 * @since 1.166.0 44 52 */ 45 53 const META_STRING_MAX_LENGTH = 191; … … 47 55 /** 48 56 * Send attempts meta key. 57 * 58 * @since 1.166.0 49 59 */ 50 60 const META_SEND_ATTEMPTS = '_send_attempts'; … … 52 62 /** 53 63 * Error details meta key. 64 * 65 * @since 1.166.0 54 66 */ 55 67 const META_ERROR_DETAILS = '_error_details'; … … 57 69 /** 58 70 * Report reference dates meta key. 71 * 72 * @since 1.166.0 59 73 */ 60 74 const META_REPORT_REFERENCE_DATES = '_report_reference_dates'; … … 64 78 * 65 79 * Slugs must stay within the posts table varchar(20) limit. 80 * 81 * @since 1.166.0 66 82 */ 67 83 const STATUS_SENT = 'gsk_email_sent'; 68 84 const STATUS_FAILED = 'gsk_email_failed'; 69 85 const STATUS_SCHEDULED = 'gsk_email_scheduled'; 86 87 /** 88 * Extracts a normalized date range array from an email log post. 89 * 90 * @since 1.167.0 91 * 92 * @param mixed $email_log Potential email log post. 93 * @return array|null 94 */ 95 public static function get_date_range_from_log( $email_log ) { 96 $decoded = self::validate_and_decode_email_log( $email_log ); 97 if ( null === $decoded ) { 98 return null; 99 } 100 101 $normalized = array(); 102 $keys = array( 103 'startDate' => 'startDate', 104 'sendDate' => 'endDate', 105 'compareStartDate' => 'compareStartDate', 106 'compareEndDate' => 'compareEndDate', 107 ); 108 109 foreach ( $keys as $key => $alias ) { 110 if ( ! isset( $decoded[ $key ] ) ) { 111 continue; 112 } 113 114 $formatted = self::format_reference_date( $decoded[ $key ] ); 115 if ( null !== $formatted ) { 116 $normalized[ $alias ] = $formatted; 117 } 118 } 119 120 if ( empty( $normalized['startDate'] ) || empty( $normalized['endDate'] ) ) { 121 return null; 122 } 123 124 return $normalized; 125 } 126 127 /** 128 * Validates an email log and returns decoded reference date metadata. 129 * 130 * @since 1.167.0 131 * 132 * @param mixed $email_log Potential email log post. 133 * @return array|null Decoded reference date metadata, or null on failure. 134 */ 135 protected static function validate_and_decode_email_log( $email_log ) { 136 if ( ! ( $email_log instanceof \WP_Post ) ) { 137 return null; 138 } 139 140 if ( self::POST_TYPE !== $email_log->post_type ) { 141 return null; 142 } 143 144 $raw = get_post_meta( $email_log->ID, self::META_REPORT_REFERENCE_DATES, true ); 145 if ( empty( $raw ) ) { 146 return null; 147 } 148 149 if ( is_string( $raw ) ) { 150 $decoded = json_decode( $raw, true ); 151 if ( JSON_ERROR_NONE !== json_last_error() ) { 152 return null; 153 } 154 } elseif ( is_array( $raw ) ) { 155 $decoded = $raw; 156 } else { 157 return null; 158 } 159 160 return $decoded; 161 } 162 163 /** 164 * Validates and normalizes a reference date value into a UNIX timestamp. 165 * 166 * @since 1.167.0 167 * 168 * @param mixed $value Date value. 169 * @return int|null UNIX timestamp or null on failure. 170 */ 171 protected static function validate_reference_date( $value ) { 172 if ( '' === $value || null === $value ) { 173 return null; 174 } 175 176 $timestamp = is_numeric( $value ) ? (int) $value : strtotime( $value ); 177 if ( empty( $timestamp ) || $timestamp < 0 ) { 178 return null; 179 } 180 181 return $timestamp; 182 } 183 184 /** 185 * Formats a timestamp or date string stored in reference date meta. 186 * 187 * @since 1.167.0 188 * 189 * @param mixed $value Date value. 190 * @return string|null 191 */ 192 protected static function format_reference_date( $value ) { 193 $timestamp = self::validate_reference_date( $value ); 194 if ( null === $timestamp ) { 195 return null; 196 } 197 198 if ( function_exists( 'wp_timezone' ) && function_exists( 'wp_date' ) ) { 199 $timezone = wp_timezone(); 200 if ( $timezone ) { 201 return wp_date( 'Y-m-d', $timestamp, $timezone ); 202 } 203 } 204 205 return gmdate( 'Y-m-d', $timestamp ); 206 } 70 207 71 208 /** -
google-site-kit/tags/1.167.0/includes/Core/Email_Reporting/Email_Reporting.php
r3397601 r3407206 12 12 13 13 use Google\Site_Kit\Context; 14 use Google\Site_Kit\Core\Modules\Modules; 14 15 use Google\Site_Kit\Core\Storage\Options; 15 16 use Google\Site_Kit\Core\Storage\User_Options; … … 34 35 35 36 /** 37 * Options instance. 38 * 39 * @since 1.167.0 40 * @var Options 41 */ 42 protected $options; 43 44 /** 45 * Modules instance. 46 * 47 * @since 1.167.0 48 * @var Modules 49 */ 50 protected $modules; 51 52 /** 36 53 * Email_Reporting_Settings instance. 37 54 * … … 74 91 75 92 /** 93 * Email_Log_Cleanup instance. 94 * 95 * @since 1.167.0 96 * @var Email_Log_Cleanup 97 */ 98 protected $email_log_cleanup; 99 100 /** 101 * Scheduler instance. 102 * 103 * @since 1.167.0 104 * @var Email_Reporting_Scheduler 105 */ 106 protected $scheduler; 107 108 /** 109 * Initiator task instance. 110 * 111 * @since 1.167.0 112 * @var Initiator_Task 113 */ 114 protected $initiator_task; 115 116 /** 117 * Monitor task instance. 118 * 119 * @since 1.167.0 120 * @var Monitor_Task 121 */ 122 protected $monitor_task; 123 124 /** 125 * Worker task instance. 126 * 127 * @since 1.167.0 128 * @var Worker_Task 129 */ 130 protected $worker_task; 131 132 /** 76 133 * Constructor. 77 134 * 78 135 * @since 1.162.0 79 136 * 80 * @param Context $context Plugin context. 81 * @param Options|null $options Optional. Options instance. Default is a new instance. 82 */ 83 public function __construct( Context $context, ?Options $options = null ) { 84 $this->context = $context; 85 $options = $options ?: new Options( $this->context ); 86 $this->settings = new Email_Reporting_Settings( $options ); 87 $this->user_options = new User_Options( $context ); 88 $this->user_settings = new User_Email_Reporting_Settings( $this->user_options ); 89 $this->rest_controller = new REST_Email_Reporting_Controller( $this->settings ); 90 $this->email_log = new Email_Log( $this->context ); 137 * @param Context $context Plugin context. 138 * @param Modules $modules Modules instance. 139 * @param Options|null $options Optional. Options instance. Default is a new instance. 140 * @param User_Options|null $user_options Optional. User options instance. Default is a new instance. 141 */ 142 public function __construct( 143 Context $context, 144 Modules $modules, 145 ?Options $options = null, 146 ?User_Options $user_options = null 147 ) { 148 $this->context = $context; 149 $this->modules = $modules; 150 $this->options = $options ?: new Options( $this->context ); 151 $this->user_options = $user_options ?: new User_Options( $this->context ); 152 $this->settings = new Email_Reporting_Settings( $this->options ); 153 $this->user_settings = new User_Email_Reporting_Settings( $this->user_options ); 154 155 $frequency_planner = new Frequency_Planner(); 156 $subscribed_users_query = new Subscribed_Users_Query( $this->user_settings, $this->modules ); 157 $max_execution_limiter = new Max_Execution_Limiter( (int) ini_get( 'max_execution_time' ) ); 158 $batch_query = new Email_Log_Batch_Query(); 159 160 $this->rest_controller = new REST_Email_Reporting_Controller( $this->settings ); 161 $this->email_log = new Email_Log( $this->context ); 162 $this->scheduler = new Email_Reporting_Scheduler( $frequency_planner ); 163 $this->initiator_task = new Initiator_Task( $this->scheduler, $subscribed_users_query ); 164 $this->worker_task = new Worker_Task( $max_execution_limiter, $batch_query, $this->scheduler ); 165 $this->monitor_task = new Monitor_Task( $this->scheduler, $this->settings ); 166 $this->email_log_cleanup = new Email_Log_Cleanup( $this->settings ); 91 167 } 92 168 … … 103 179 ( new Email_Reporting_Pointer( $this->context, $this->user_options, $this->user_settings ) )->register(); 104 180 $this->email_log->register(); 181 $this->scheduler->register(); 182 183 if ( $this->settings->is_email_reporting_enabled() ) { 184 $this->scheduler->schedule_initiator_events(); 185 $this->scheduler->schedule_monitor(); 186 $this->scheduler->schedule_cleanup(); 187 188 add_action( Email_Reporting_Scheduler::ACTION_INITIATOR, array( $this->initiator_task, 'handle_callback_action' ), 10, 1 ); 189 add_action( Email_Reporting_Scheduler::ACTION_MONITOR, array( $this->monitor_task, 'handle_monitor_action' ) ); 190 add_action( Email_Reporting_Scheduler::ACTION_WORKER, array( $this->worker_task, 'handle_callback_action' ), 10, 3 ); 191 add_action( Email_Reporting_Scheduler::ACTION_CLEANUP, array( $this->email_log_cleanup, 'handle_cleanup_action' ) ); 192 193 } else { 194 $this->scheduler->unschedule_all(); 195 } 196 197 $this->settings->on_change( 198 function ( $old_value, $new_value ) { 199 $was_enabled = (bool) $old_value['enabled']; 200 $is_enabled = (bool) $new_value['enabled']; 201 202 if ( $is_enabled && ! $was_enabled ) { 203 $this->scheduler->schedule_initiator_events(); 204 $this->scheduler->schedule_monitor(); 205 $this->scheduler->schedule_cleanup(); 206 return; 207 } 208 209 if ( ! $is_enabled && $was_enabled ) { 210 $this->scheduler->unschedule_all(); 211 } 212 } 213 ); 105 214 } 106 215 } -
google-site-kit/tags/1.167.0/includes/Core/Email_Reporting/Email_Reporting_Site_Health.php
r3397601 r3407206 179 179 'post_type' => Email_Log::POST_TYPE, 180 180 'post_status' => $this->get_relevant_log_statuses(), 181 'posts_per_page' => -1, 181 // phpcs:ignore WordPress.WP.PostsPerPage.posts_per_page_posts_per_page 182 'posts_per_page' => 10000, 182 183 'fields' => 'ids', 183 184 'orderby' => 'date', -
google-site-kit/tags/1.167.0/includes/Core/User/Email_Reporting_Settings.php
r3397601 r3407206 84 84 85 85 /** 86 * Gets the meta key used to store the setting. 87 * 88 * @since 1.167.0 89 * 90 * @return string Meta key for the user option. 91 */ 92 public function get_meta_key() { 93 return $this->user_options->get_meta_key( static::OPTION ); 94 } 95 96 /** 86 97 * Gets the callback for sanitizing the setting's value before saving. 87 98 * -
google-site-kit/tags/1.167.0/includes/Core/Util/Reset.php
r3238118 r3407206 12 12 13 13 use Google\Site_Kit\Context; 14 use Google\Site_Kit\Core\Email_Reporting\Email_Log; 14 15 use Google\Site_Kit\Core\Authentication\Authentication; 15 16 use Google\Site_Kit\Core\Permissions\Permissions; … … 114 115 $this->delete_post_meta( 'site' ); 115 116 $this->delete_term_meta( 'site' ); 117 $this->delete_posts( 'site' ); 116 118 117 119 if ( $this->context->is_network_mode() ) { … … 120 122 $this->delete_post_meta( 'network' ); 121 123 $this->delete_term_meta( 'network' ); 124 $this->delete_posts( 'network' ); 122 125 } 123 126 … … 258 261 259 262 /** 263 * Deletes all Site Kit custom post type posts. 264 * 265 * @since 1.167.0 266 * 267 * @param string $scope Scope of the deletion ('site' or 'network'). 268 */ 269 private function delete_posts( $scope ) { 270 $sites = array(); 271 if ( 'network' === $scope ) { 272 $sites = get_sites( 273 array( 274 'fields' => 'ids', 275 'number' => 9999999, 276 ) 277 ); 278 } elseif ( 'site' === $scope ) { 279 $sites[] = get_current_blog_id(); 280 } else { 281 return; 282 } 283 284 foreach ( $sites as $site_id ) { 285 $switched = false; 286 287 if ( get_current_blog_id() !== (int) $site_id ) { 288 // phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.switch_to_blog_switch_to_blog 289 switch_to_blog( $site_id ); 290 $switched = true; 291 } 292 293 $posts_per_batch = 100; 294 do { 295 // phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.get_posts_get_posts 296 $post_ids = get_posts( 297 array( 298 'post_type' => Email_Log::POST_TYPE, 299 'post_status' => array( 300 Email_Log::STATUS_SENT, 301 Email_Log::STATUS_FAILED, 302 Email_Log::STATUS_SCHEDULED, 303 ), 304 'fields' => 'ids', 305 'posts_per_page' => $posts_per_batch, 306 'no_found_rows' => true, 307 'orderby' => 'ID', 308 'order' => 'ASC', 309 ) 310 ); 311 312 foreach ( $post_ids as $post_id ) { 313 wp_delete_post( $post_id, true ); 314 } 315 } while ( ! empty( $post_ids ) ); 316 317 if ( $switched ) { 318 restore_current_blog(); 319 } 320 } 321 } 322 323 /** 260 324 * Gets related REST routes. 261 325 * -
google-site-kit/tags/1.167.0/includes/Core/Util/Uninstallation.php
r3349867 r3407206 17 17 use Google\Site_Kit\Core\Authentication\Google_Proxy; 18 18 use Google\Site_Kit\Core\Authentication\Clients\OAuth_Client; 19 use Google\Site_Kit\Core\Email_Reporting\Email_Reporting_Scheduler; 19 20 use Google\Site_Kit\Core\Remote_Features\Remote_Features_Cron; 20 21 use Google\Site_Kit\Core\Tags\Google_Tag_Gateway\Google_Tag_Gateway_Cron; … … 57 58 const SCHEDULED_EVENTS = array( 58 59 Conversion_Reporting_Cron::CRON_ACTION, 60 Email_Reporting_Scheduler::ACTION_INITIATOR, 61 Email_Reporting_Scheduler::ACTION_WORKER, 62 Email_Reporting_Scheduler::ACTION_FALLBACK, 63 Email_Reporting_Scheduler::ACTION_MONITOR, 64 Email_Reporting_Scheduler::ACTION_CLEANUP, 59 65 OAuth_Client::CRON_REFRESH_PROFILE_DATA, 60 66 Remote_Features_Cron::CRON_ACTION, -
google-site-kit/tags/1.167.0/includes/Modules/Analytics_4.php
r3397601 r3407206 62 62 use Google\Site_Kit\Modules\Analytics_4\AMP_Tag; 63 63 use Google\Site_Kit\Modules\Analytics_4\Custom_Dimensions_Data_Available; 64 use Google\Site_Kit\Modules\Analytics_4\Datapoints\Create_Account_Ticket; 65 use Google\Site_Kit\Modules\Analytics_4\Datapoints\Create_Property; 66 use Google\Site_Kit\Modules\Analytics_4\Datapoints\Create_Webdatastream; 64 67 use Google\Site_Kit\Modules\Analytics_4\Synchronize_Property; 65 68 use Google\Site_Kit\Modules\Analytics_4\Synchronize_AdSenseLinked; … … 69 72 use Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin\PropertiesAudiencesService; 70 73 use Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin\PropertiesEnhancedMeasurementService; 71 use Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin\Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest;72 74 use Google\Site_Kit\Modules\Analytics_4\Report\Request as Analytics_4_Report_Request; 73 75 use Google\Site_Kit\Modules\Analytics_4\Report\Response as Analytics_4_Report_Response; … … 86 88 use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin as Google_Service_GoogleAnalyticsAdmin; 87 89 use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1alphaAudience; 88 use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1betaAccount;89 90 use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1betaCustomDimension; 90 91 use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1betaDataStream; … … 581 582 ), 582 583 'analytics_4_web_data_stream_id' => array( 583 'label' => __( 'Analytics: Web Data Stream ID', 'google-site-kit' ),584 'label' => __( 'Analytics: Web data stream ID', 'google-site-kit' ), 584 585 'value' => $settings['webDataStreamID'], 585 586 'debug' => Debug_Data::redact_debug_value( $settings['webDataStreamID'] ), … … 701 702 'shareable' => true, 702 703 ), 703 'POST:create-account-ticket' => array( 704 'service' => 'analyticsprovisioning', 705 'scopes' => array( self::EDIT_SCOPE ), 706 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics account on your behalf.', 'google-site-kit' ), 704 'POST:create-account-ticket' => new Create_Account_Ticket( 705 array( 706 'credentials' => $this->authentication->credentials()->get(), 707 'provisioning_redirect_uri' => $this->get_provisioning_redirect_uri(), 708 'service' => function () { 709 return $this->get_service( 'analyticsprovisioning' ); 710 }, 711 'scopes' => array( self::EDIT_SCOPE ), 712 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics account on your behalf.', 'google-site-kit' ), 713 ), 707 714 ), 708 715 'GET:google-tag-settings' => array( … … 712 719 ), 713 720 ), 714 'POST:create-property' => array( 715 'service' => 'analyticsadmin', 716 'scopes' => array( self::EDIT_SCOPE ), 717 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics property on your behalf.', 'google-site-kit' ), 721 'POST:create-property' => new Create_Property( 722 array( 723 'reference_site_url' => $this->context->get_reference_site_url(), 724 'service' => function () { 725 return $this->get_service( 'analyticsadmin' ); 726 }, 727 'scopes' => array( self::EDIT_SCOPE ), 728 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics property on your behalf.', 'google-site-kit' ), 729 ) 718 730 ), 719 'POST:create-webdatastream' => array( 720 'service' => 'analyticsadmin', 721 'scopes' => array( self::EDIT_SCOPE ), 722 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics web data stream for this site on your behalf.', 'google-site-kit' ), 731 'POST:create-webdatastream' => new Create_Webdatastream( 732 array( 733 'reference_site_url' => $this->context->get_reference_site_url(), 734 'service' => function () { 735 return $this->get_service( 'analyticsadmin' ); 736 }, 737 'scopes' => array( self::EDIT_SCOPE ), 738 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics web data stream for this site on your behalf.', 'google-site-kit' ), 739 ) 723 740 ), 724 741 'GET:properties' => array( 'service' => 'analyticsadmin' ), … … 1223 1240 $post_body 1224 1241 ); 1225 case 'POST:create-account-ticket':1226 if ( empty( $data['displayName'] ) ) {1227 throw new Missing_Required_Param_Exception( 'displayName' );1228 }1229 if ( empty( $data['regionCode'] ) ) {1230 throw new Missing_Required_Param_Exception( 'regionCode' );1231 }1232 if ( empty( $data['propertyName'] ) ) {1233 throw new Missing_Required_Param_Exception( 'propertyName' );1234 }1235 if ( empty( $data['dataStreamName'] ) ) {1236 throw new Missing_Required_Param_Exception( 'dataStreamName' );1237 }1238 if ( empty( $data['timezone'] ) ) {1239 throw new Missing_Required_Param_Exception( 'timezone' );1240 }1241 1242 $account = new GoogleAnalyticsAdminV1betaAccount();1243 $account->setDisplayName( $data['displayName'] );1244 $account->setRegionCode( $data['regionCode'] );1245 1246 $credentials = $this->authentication->credentials()->get();1247 $account_ticket_request = new Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest();1248 $account_ticket_request->setSiteId( $credentials['oauth2_client_id'] );1249 $account_ticket_request->setSiteSecret( $credentials['oauth2_client_secret'] );1250 $account_ticket_request->setRedirectUri( $this->get_provisioning_redirect_uri() );1251 $account_ticket_request->setAccount( $account );1252 1253 if ( Feature_Flags::enabled( 'setupFlowRefresh' ) ) {1254 $account_ticket_request->setShowProgress( isset( $data['showProgress'] ) ? (bool) $data['showProgress'] : false );1255 }1256 1257 return $this->get_service( 'analyticsprovisioning' )1258 ->accounts->provisionAccountTicket( $account_ticket_request );1259 case 'POST:create-property':1260 if ( ! isset( $data['accountID'] ) ) {1261 return new WP_Error(1262 'missing_required_param',1263 /* translators: %s: Missing parameter name */1264 sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'accountID' ),1265 array( 'status' => 400 )1266 );1267 }1268 1269 $options = array(1270 'displayName' => $data['displayName'],1271 'timezone' => $data['timezone'],1272 );1273 1274 return $this->create_property( $data['accountID'], $options );1275 case 'POST:create-webdatastream':1276 if ( ! isset( $data['propertyID'] ) ) {1277 return new WP_Error(1278 'missing_required_param',1279 /* translators: %s: Missing parameter name */1280 sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'propertyID' ),1281 array( 'status' => 400 )1282 );1283 }1284 1285 $options = array(1286 'displayName' => $data['displayName'],1287 );1288 1289 return $this->create_webdatastream( $data['propertyID'], $options );1290 1242 case 'GET:properties': 1291 1243 if ( ! isset( $data['accountID'] ) ) { … … 1893 1845 case 'GET:adsense-links': 1894 1846 return (array) $response->getAdsenseLinks(); 1895 case 'POST:create-account-ticket':1896 $account_ticket = new Account_Ticket();1897 $account_ticket->set_id( $response->getAccountTicketId() );1898 // Required in create_data_request.1899 $account_ticket->set_property_name( $data['propertyName'] );1900 $account_ticket->set_data_stream_name( $data['dataStreamName'] );1901 $account_ticket->set_timezone( $data['timezone'] );1902 $account_ticket->set_enhanced_measurement_stream_enabled( ! empty( $data['enhancedMeasurementStreamEnabled'] ) );1903 // Cache the create ticket id long enough to verify it upon completion of the terms of service.1904 set_transient(1905 self::PROVISION_ACCOUNT_TICKET_ID . '::' . get_current_user_id(),1906 $account_ticket->to_array(),1907 15 * MINUTE_IN_SECONDS1908 );1909 1910 return $response;1911 case 'POST:create-property':1912 return self::filter_property_with_ids( $response );1913 case 'POST:create-webdatastream':1914 return self::filter_webdatastream_with_ids( $response );1915 1847 case 'GET:properties': 1916 1848 return Sort::case_insensitive_list_sort( -
google-site-kit/tags/1.167.0/includes/Modules/Analytics_4/GoogleAnalyticsAdmin/Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest.php
r3389193 r3407206 36 36 */ 37 37 public $site_secret = ''; 38 39 /**40 * The state of the show progress flag.41 *42 * @since 1.165.043 * @var bool44 */45 public $show_progress = false;46 38 47 39 /** … … 84 76 $this->site_secret = $secret; 85 77 } 86 87 /**88 * Sets the show progress flag.89 *90 * @since 1.165.091 *92 * @param bool $show_progress The show progress flag.93 */94 public function setShowProgress( $show_progress ) {95 $this->show_progress = $show_progress;96 }97 98 /**99 * Gets the show progress flag.100 *101 * @since 1.165.0102 */103 public function getShowProgress() {104 return $this->show_progress;105 }106 78 } -
google-site-kit/tags/1.167.0/includes/Modules/Analytics_4/Reset_Audiences.php
r3349867 r3407206 136 136 'configuredAudiences' => null, 137 137 'didSetAudiences' => false, 138 'isAudienceSegmentationWidgetHidden' => false, 138 139 ), 139 140 ); -
google-site-kit/tags/1.167.0/includes/Plugin.php
r3397601 r3407206 230 230 ( new Core\Conversion_Tracking\Conversion_Tracking( $this->context, $options ) )->register(); 231 231 if ( Feature_Flags::enabled( 'proactiveUserEngagement' ) ) { 232 ( new Core\Email_Reporting\Email_Reporting( $this->context, $ options ) )->register();232 ( new Core\Email_Reporting\Email_Reporting( $this->context, $modules, $options, $user_options ) )->register(); 233 233 } 234 234 if ( Feature_Flags::enabled( 'googleTagGateway' ) ) { -
google-site-kit/tags/1.167.0/includes/vendor/composer/autoload_classmap.php
r3397601 r3407206 85 85 'Google\\Site_Kit\\Core\\Dismissals\\REST_Dismissals_Controller' => $baseDir . '/Core/Dismissals/REST_Dismissals_Controller.php', 86 86 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Log' => $baseDir . '/Core/Email_Reporting/Email_Log.php', 87 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Log_Batch_Query' => $baseDir . '/Core/Email_Reporting/Email_Log_Batch_Query.php', 88 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Log_Cleanup' => $baseDir . '/Core/Email_Reporting/Email_Log_Cleanup.php', 89 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Report_Data_Section_Part' => $baseDir . '/Core/Email_Reporting/Email_Report_Data_Section_Part.php', 90 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Report_Payload_Processor' => $baseDir . '/Core/Email_Reporting/Email_Report_Payload_Processor.php', 91 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Report_Section_Builder' => $baseDir . '/Core/Email_Reporting/Email_Report_Section_Builder.php', 87 92 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting' => $baseDir . '/Core/Email_Reporting/Email_Reporting.php', 88 93 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Pointer' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Pointer.php', 94 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Scheduler' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Scheduler.php', 89 95 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Settings' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Settings.php', 90 96 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Site_Health' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Site_Health.php', 97 'Google\\Site_Kit\\Core\\Email_Reporting\\Frequency_Planner' => $baseDir . '/Core/Email_Reporting/Frequency_Planner.php', 98 'Google\\Site_Kit\\Core\\Email_Reporting\\Initiator_Task' => $baseDir . '/Core/Email_Reporting/Initiator_Task.php', 99 'Google\\Site_Kit\\Core\\Email_Reporting\\Max_Execution_Limiter' => $baseDir . '/Core/Email_Reporting/Max_Execution_Limiter.php', 100 'Google\\Site_Kit\\Core\\Email_Reporting\\Monitor_Task' => $baseDir . '/Core/Email_Reporting/Monitor_Task.php', 91 101 'Google\\Site_Kit\\Core\\Email_Reporting\\REST_Email_Reporting_Controller' => $baseDir . '/Core/Email_Reporting/REST_Email_Reporting_Controller.php', 102 'Google\\Site_Kit\\Core\\Email_Reporting\\Report_Options\\Report_Options' => $baseDir . '/Core/Email_Reporting/Report_Options/Report_Options.php', 103 'Google\\Site_Kit\\Core\\Email_Reporting\\Subscribed_Users_Query' => $baseDir . '/Core/Email_Reporting/Subscribed_Users_Query.php', 104 'Google\\Site_Kit\\Core\\Email_Reporting\\Worker_Task' => $baseDir . '/Core/Email_Reporting/Worker_Task.php', 92 105 'Google\\Site_Kit\\Core\\Expirables\\Expirable_Items' => $baseDir . '/Core/Expirables/Expirable_Items.php', 93 106 'Google\\Site_Kit\\Core\\Expirables\\Expirables' => $baseDir . '/Core/Expirables/Expirables.php', … … 275 288 'Google\\Site_Kit\\Modules\\AdSense\\Ad_Blocking_Recovery_Web_Tag' => $baseDir . '/Modules/AdSense/Ad_Blocking_Recovery_Web_Tag.php', 276 289 'Google\\Site_Kit\\Modules\\AdSense\\Auto_Ad_Guard' => $baseDir . '/Modules/AdSense/Auto_Ad_Guard.php', 290 'Google\\Site_Kit\\Modules\\AdSense\\Email_Reporting\\Report_Options' => $baseDir . '/Modules/AdSense/Email_Reporting/Report_Options.php', 277 291 'Google\\Site_Kit\\Modules\\AdSense\\Settings' => $baseDir . '/Modules/AdSense/Settings.php', 278 292 'Google\\Site_Kit\\Modules\\AdSense\\Tag_Guard' => $baseDir . '/Modules/AdSense/Tag_Guard.php', … … 300 314 'Google\\Site_Kit\\Modules\\Analytics_4\\Conversion_Reporting\\Conversion_Reporting_Provider' => $baseDir . '/Modules/Analytics_4/Conversion_Reporting/Conversion_Reporting_Provider.php', 301 315 'Google\\Site_Kit\\Modules\\Analytics_4\\Custom_Dimensions_Data_Available' => $baseDir . '/Modules/Analytics_4/Custom_Dimensions_Data_Available.php', 316 'Google\\Site_Kit\\Modules\\Analytics_4\\Datapoints\\Create_Account_Ticket' => $baseDir . '/Modules/Analytics_4/Datapoints/Create_Account_Ticket.php', 317 'Google\\Site_Kit\\Modules\\Analytics_4\\Datapoints\\Create_Property' => $baseDir . '/Modules/Analytics_4/Datapoints/Create_Property.php', 318 'Google\\Site_Kit\\Modules\\Analytics_4\\Datapoints\\Create_Webdatastream' => $baseDir . '/Modules/Analytics_4/Datapoints/Create_Webdatastream.php', 319 'Google\\Site_Kit\\Modules\\Analytics_4\\Email_Reporting\\Audience_Config' => $baseDir . '/Modules/Analytics_4/Email_Reporting/Audience_Config.php', 320 'Google\\Site_Kit\\Modules\\Analytics_4\\Email_Reporting\\Report_Options' => $baseDir . '/Modules/Analytics_4/Email_Reporting/Report_Options.php', 302 321 'Google\\Site_Kit\\Modules\\Analytics_4\\GoogleAnalyticsAdmin\\AccountProvisioningService' => $baseDir . '/Modules/Analytics_4/GoogleAnalyticsAdmin/AccountProvisioningService.php', 303 322 'Google\\Site_Kit\\Modules\\Analytics_4\\GoogleAnalyticsAdmin\\AccountsResource' => $baseDir . '/Modules/Analytics_4/GoogleAnalyticsAdmin/AccountsResource.php', … … 342 361 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Web_Tag' => $baseDir . '/Modules/Reader_Revenue_Manager/Web_Tag.php', 343 362 'Google\\Site_Kit\\Modules\\Search_Console' => $baseDir . '/Modules/Search_Console.php', 363 'Google\\Site_Kit\\Modules\\Search_Console\\Email_Reporting\\Report_Data_Processor' => $baseDir . '/Modules/Search_Console/Email_Reporting/Report_Data_Processor.php', 364 'Google\\Site_Kit\\Modules\\Search_Console\\Email_Reporting\\Report_Options' => $baseDir . '/Modules/Search_Console/Email_Reporting/Report_Options.php', 344 365 'Google\\Site_Kit\\Modules\\Search_Console\\Settings' => $baseDir . '/Modules/Search_Console/Settings.php', 345 366 'Google\\Site_Kit\\Modules\\Sign_In_With_Google' => $baseDir . '/Modules/Sign_In_With_Google.php', -
google-site-kit/tags/1.167.0/readme.txt
r3397601 r3407206 3 3 Contributors: google 4 4 Requires at least: 5.2 5 Tested up to: 6. 85 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 1.16 6.07 Stable tag: 1.167.0 8 8 License: Apache License 2.0 9 9 License URI: https://www.apache.org/licenses/LICENSE-2.0 … … 110 110 == Changelog == 111 111 112 = 1.16 6.0 =112 = 1.167.0 = 113 113 114 114 **Enhanced** 115 115 116 * Fix the font family for the "Sign in with Google" button on the new splash screen. See [#11690](https://github.com/google/site-kit-wp/issues/11690). 117 * Update blocks to use API version 3 for WordPress 6.3 and above to ensure compatibility with the block editor's iframe mode. See [#11674](https://github.com/google/site-kit-wp/issues/11674). 118 * Add "Learn more" link destinations in the new setup flow. See [#11657](https://github.com/google/site-kit-wp/issues/11657). 119 * Horizontally center the `ToastNotice` component in mobile viewports, and update its border radius. See [#11645](https://github.com/google/site-kit-wp/issues/11645). 120 * Ensure the Analytics setup success notification is shown when Analytics is set up after the new initial setup flow. See [#11617](https://github.com/google/site-kit-wp/issues/11617). 121 * Add Email Reporting information to Site Health data. See [#11434](https://github.com/google/site-kit-wp/issues/11434). 122 * Add WP dashboard pointer to inform users about the availability of email reporting. See [#11433](https://github.com/google/site-kit-wp/issues/11433). 123 * Update the Analytics account creation screen for the new setup flow. See [#11383](https://github.com/google/site-kit-wp/issues/11383). 124 * Update Analytics setup screen as part of the new setup flow. See [#11382](https://github.com/google/site-kit-wp/issues/11382). 125 * Update the Key Metrics screen's styling to match the Figma design and include the **Exit setup** button in the header. See [#11376](https://github.com/google/site-kit-wp/issues/11376). 126 * Improve user experience in the audience selection panel by making a close action more prominent to avoid unintentional dismissal. See [#9980](https://github.com/google/site-kit-wp/issues/9980). 116 * Update casing of web data stream labels for consistency. See [#11763](https://github.com/google/site-kit-wp/issues/11763). 117 * Add missing external icon to "Learn more" links in enhanced conversions notifications. See [#11744](https://github.com/google/site-kit-wp/issues/11744). 118 * Update Enhanced Conversions dashboard notification priority to use `SETUP_CTA_HIGH` for consistency. See [#11741](https://github.com/google/site-kit-wp/issues/11741). 119 * Add opt-in GA tracking as part of the new setup flow in the splash, Analytics, and Key Metrics setup screens. See [#11721](https://github.com/google/site-kit-wp/issues/11721). 120 * Pass `show_progress` as a query parameter to the redirect URI rather than as a separate property when creating an Analytics account in the new setup flow. See [#11715](https://github.com/google/site-kit-wp/issues/11715). 121 * Create email reporting data and section classes. See [#11680](https://github.com/google/site-kit-wp/issues/11680). 122 * Include the current AMP mode in the request to get enabled features. See [#11643](https://github.com/google/site-kit-wp/issues/11643). 123 * Implement monitor scheduler for Email Reporting events. See [#11599](https://github.com/google/site-kit-wp/issues/11599). 124 * Implement email reporting log clear schedulers. See [#11582](https://github.com/google/site-kit-wp/issues/11582). 125 * AdSense alert links now open in a new tab. See [#11578](https://github.com/google/site-kit-wp/issues/11578). 126 * Add report options builder classes for Analytics, AdSense, and SC modules. See [#11552](https://github.com/google/site-kit-wp/issues/11552). 127 * Implement “Worker” scheduled events for Email Reporting. See [#11547](https://github.com/google/site-kit-wp/issues/11547). 128 * Add infrastructure for scheduled events at various intervals. See [#11546](https://github.com/google/site-kit-wp/issues/11546). 129 * Extend the Reset utility class to delete remaining error reporting logs. See [#11545](https://github.com/google/site-kit-wp/issues/11545). 130 * Improve the help link destination in the authentication error screen. See [#11529](https://github.com/google/site-kit-wp/issues/11529). 131 * Ensure the user is returned to the Analytics or Key Metrics setup screen if the new setup flow is interrupted on one of those screens. See [#11388](https://github.com/google/site-kit-wp/issues/11388). 132 * Improve error reporting in Site Kit widgets to not report duplicate errors. See [#8970](https://github.com/google/site-kit-wp/issues/8970). 133 * Improve legend color consistency in the Analytics all traffic widget. See [#7199](https://github.com/google/site-kit-wp/issues/7199). 127 134 128 135 **Fixed** 129 136 130 * Fix bug that caused a 404 browser console warning when editing a post. See [#11754](https://github.com/google/site-kit-wp/issues/11754). 131 * Improve performance on sites with thousands of users when checking for multiple admin users. See [#11717](https://github.com/google/site-kit-wp/issues/11717). 132 * Fix incorrect progress indicator step at Analytics setup in the new setup flow. See [#11669](https://github.com/google/site-kit-wp/issues/11669). 133 * Keep the WooCommerce Redirect Modal open and show a loading indicator when the primary CTA is clicked. See [#11343](https://github.com/google/site-kit-wp/issues/11343). 137 * Fix internal event tracking to include plugin version information. See [#11802](https://github.com/google/site-kit-wp/issues/11802). 138 * Prevent an unnecessary request to the `enhanced-measurement-settings` endpoint when loading the dashboard. See [#11766](https://github.com/google/site-kit-wp/issues/11766). 139 * Fix incorrect formatting of WooCommerce enhanced conversions phone numbers. See [#11737](https://github.com/google/site-kit-wp/issues/11737). 140 * Ensure the "Google Analytics was successfully set up" toast should appears on the Key Metrics setup screen in the new setup flow. See [#11731](https://github.com/google/site-kit-wp/issues/11731). 141 * Amend styles for Sign in with Google settings editing screen. See [#11314](https://github.com/google/site-kit-wp/issues/11314). 142 * Fix Audience segmentation toggling issue. See [#9700](https://github.com/google/site-kit-wp/issues/9700). 134 143 135 144 [See changelog for all versions](https://raw.githubusercontent.com/google/site-kit-wp/main/changelog.txt). -
google-site-kit/trunk/dist/assets/blocks/reader-revenue-manager/block-editor-plugin/index.js
r3373932 r3407206 1 1 (()=>{var t={91:t=>{"use strict";t.exports=function(t,e,n,r,o,i,u,a){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[n,r,o,i,u,a],l=0;(c=new Error(e.replace(/%s/g,function(){return f[l++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},192:(t,e,n)=>{"use strict";var r=n(696),o=60103;if("function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),i("react.fragment")}var u=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function f(t,e,n){var r,i={},f=null,l=null;for(r in void 0!==n&&(f=""+n),void 0!==e.key&&(f=""+e.key),void 0!==e.ref&&(l=e.ref),e)a.call(e,r)&&!c.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===i[r]&&(i[r]=e[r]);return{$$typeof:o,type:t,key:f,ref:l,props:i,_owner:u.current}}e.jsx=f,e.jsxs=f},234:function(t){t.exports=function(){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,n){return e=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},e(t,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function r(t,o,i){return r=n()?Reflect.construct:function(t,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(t,o));return r&&e(i,r.prototype),i},r.apply(null,arguments)}function o(t){return i(t)||u(t)||a(t)||_nonIterableSpread()}function i(t){if(Array.isArray(t))return c(t)}function u(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function a(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var f=Object.hasOwnProperty,l=Object.setPrototypeOf,s=Object.isFrozen,p=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,g=Object.freeze,_=Object.seal,v=Object.create,d="undefined"!=typeof Reflect&&Reflect,y=d.apply,m=d.construct;y||(y=function(t,e,n){return t.apply(e,n)}),g||(g=function(t){return t}),_||(_=function(t){return t}),m||(m=function(t,e){return r(t,o(e))});var b=R(Array.prototype.forEach),w=R(Array.prototype.pop),k=R(Array.prototype.push),S=R(String.prototype.toLowerCase),x=R(String.prototype.toString),A=R(String.prototype.match),E=R(String.prototype.replace),T=R(String.prototype.indexOf),L=R(String.prototype.trim),O=R(RegExp.prototype.test),C=j(TypeError);function R(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return y(t,e,r)}}function j(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return m(t,n)}}function N(t,e,n){var r;n=null!==(r=n)&&void 0!==r?r:S,l&&l(t,null);for(var o=e.length;o--;){var i=e[o];if("string"==typeof i){var u=n(i);u!==i&&(s(e)||(e[o]=u),i=u)}t[i]=!0}return t}function I(t){var e,n=v(null);for(e in t)!0===y(f,t,[e])&&(n[e]=t[e]);return n}function D(t,e){for(;null!==t;){var n=h(t,e);if(n){if(n.get)return R(n.get);if("function"==typeof n.value)return R(n.value)}t=p(t)}function r(t){return console.warn("fallback value for",t),null}return r}var z=g(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),M=g(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),W=g(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),P=g(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),U=g(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),B=g(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),F=g(["#text"]),$=g(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),H=g(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),q=g(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),G=g(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),V=_(/\{\{[\w\W]*|[\w\W]*\}\}/gm),K=_(/<%[\w\W]*|[\w\W]*%>/gm),Z=_(/\${[\w\W]*}/gm),Y=_(/^data-[\-\w.\u00B7-\uFFFF]+$/),J=_(/^aria-[\-\w]+$/),X=_(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Q=_(/^(?:\w+script|data):/i),tt=_(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),et=_(/^html$/i),nt=_(/^[a-z][.\w]*(-[.\w]+)+$/i),rt=function(){return"undefined"==typeof window?null:window},ot=function(e,n){if("object"!==t(e)||"function"!=typeof e.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML:function(t){return t},createScriptURL:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function it(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:rt(),n=function DOMPurify(t){return it(t)};if(n.version="2.5.8",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;var r=e.document,i=e.document,u=e.DocumentFragment,a=e.HTMLTemplateElement,c=e.Node,f=e.Element,l=e.NodeFilter,s=e.NamedNodeMap,p=void 0===s?e.NamedNodeMap||e.MozNamedAttrMap:s,h=e.HTMLFormElement,_=e.DOMParser,v=e.trustedTypes,d=f.prototype,y=D(d,"cloneNode"),m=D(d,"nextSibling"),R=D(d,"childNodes"),j=D(d,"parentNode");if("function"==typeof a){var ut=i.createElement("template");ut.content&&ut.content.ownerDocument&&(i=ut.content.ownerDocument)}var at=ot(v,r),ct=at?at.createHTML(""):"",ft=i,lt=ft.implementation,st=ft.createNodeIterator,pt=ft.createDocumentFragment,ht=ft.getElementsByTagName,gt=r.importNode,_t={};try{_t=I(i).documentMode?i.documentMode:{}}catch(t){}var vt={};n.isSupported="function"==typeof j&<&&void 0!==lt.createHTMLDocument&&9!==_t;var dt,yt,mt=V,bt=K,wt=Z,kt=Y,St=J,xt=Q,At=tt,Et=nt,Tt=X,Lt=null,Ot=N({},[].concat(o(z),o(M),o(W),o(U),o(F))),Ct=null,Rt=N({},[].concat(o($),o(H),o(q),o(G))),jt=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Nt=null,It=null,Dt=!0,zt=!0,Mt=!1,Wt=!0,Pt=!1,Ut=!0,Bt=!1,Ft=!1,$t=!1,Ht=!1,qt=!1,Gt=!1,Vt=!0,Kt=!1,Zt="user-content-",Yt=!0,Jt=!1,Xt={},Qt=null,te=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ee=null,ne=N({},["audio","video","img","source","image","track"]),re=null,oe=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",ue="http://www.w3.org/2000/svg",ae="http://www.w3.org/1999/xhtml",ce=ae,fe=!1,le=null,se=N({},[ie,ue,ae],x),pe=["application/xhtml+xml","text/html"],he="text/html",ge=null,_e=i.createElement("form"),ve=function(t){return t instanceof RegExp||t instanceof Function},de=function(e){ge&&ge===e||(e&&"object"===t(e)||(e={}),e=I(e),dt=dt=-1===pe.indexOf(e.PARSER_MEDIA_TYPE)?he:e.PARSER_MEDIA_TYPE,yt="application/xhtml+xml"===dt?x:S,Lt="ALLOWED_TAGS"in e?N({},e.ALLOWED_TAGS,yt):Ot,Ct="ALLOWED_ATTR"in e?N({},e.ALLOWED_ATTR,yt):Rt,le="ALLOWED_NAMESPACES"in e?N({},e.ALLOWED_NAMESPACES,x):se,re="ADD_URI_SAFE_ATTR"in e?N(I(oe),e.ADD_URI_SAFE_ATTR,yt):oe,ee="ADD_DATA_URI_TAGS"in e?N(I(ne),e.ADD_DATA_URI_TAGS,yt):ne,Qt="FORBID_CONTENTS"in e?N({},e.FORBID_CONTENTS,yt):te,Nt="FORBID_TAGS"in e?N({},e.FORBID_TAGS,yt):{},It="FORBID_ATTR"in e?N({},e.FORBID_ATTR,yt):{},Xt="USE_PROFILES"in e&&e.USE_PROFILES,Dt=!1!==e.ALLOW_ARIA_ATTR,zt=!1!==e.ALLOW_DATA_ATTR,Mt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Wt=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Pt=e.SAFE_FOR_TEMPLATES||!1,Ut=!1!==e.SAFE_FOR_XML,Bt=e.WHOLE_DOCUMENT||!1,Ht=e.RETURN_DOM||!1,qt=e.RETURN_DOM_FRAGMENT||!1,Gt=e.RETURN_TRUSTED_TYPE||!1,$t=e.FORCE_BODY||!1,Vt=!1!==e.SANITIZE_DOM,Kt=e.SANITIZE_NAMED_PROPS||!1,Yt=!1!==e.KEEP_CONTENT,Jt=e.IN_PLACE||!1,Tt=e.ALLOWED_URI_REGEXP||Tt,ce=e.NAMESPACE||ae,jt=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ve(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(jt.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ve(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(jt.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(jt.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Pt&&(zt=!1),qt&&(Ht=!0),Xt&&(Lt=N({},o(F)),Ct=[],!0===Xt.html&&(N(Lt,z),N(Ct,$)),!0===Xt.svg&&(N(Lt,M),N(Ct,H),N(Ct,G)),!0===Xt.svgFilters&&(N(Lt,W),N(Ct,H),N(Ct,G)),!0===Xt.mathMl&&(N(Lt,U),N(Ct,q),N(Ct,G))),e.ADD_TAGS&&(Lt===Ot&&(Lt=I(Lt)),N(Lt,e.ADD_TAGS,yt)),e.ADD_ATTR&&(Ct===Rt&&(Ct=I(Ct)),N(Ct,e.ADD_ATTR,yt)),e.ADD_URI_SAFE_ATTR&&N(re,e.ADD_URI_SAFE_ATTR,yt),e.FORBID_CONTENTS&&(Qt===te&&(Qt=I(Qt)),N(Qt,e.FORBID_CONTENTS,yt)),Yt&&(Lt["#text"]=!0),Bt&&N(Lt,["html","head","body"]),Lt.table&&(N(Lt,["tbody"]),delete Nt.tbody),g&&g(e),ge=e)},ye=N({},["mi","mo","mn","ms","mtext"]),me=N({},["annotation-xml"]),be=N({},["title","style","font","a","script"]),we=N({},M);N(we,W),N(we,P);var ke=N({},U);N(ke,B);var Se=function(t){var e=j(t);e&&e.tagName||(e={namespaceURI:ce,tagName:"template"});var n=S(t.tagName),r=S(e.tagName);return!!le[t.namespaceURI]&&(t.namespaceURI===ue?e.namespaceURI===ae?"svg"===n:e.namespaceURI===ie?"svg"===n&&("annotation-xml"===r||ye[r]):Boolean(we[n]):t.namespaceURI===ie?e.namespaceURI===ae?"math"===n:e.namespaceURI===ue?"math"===n&&me[r]:Boolean(ke[n]):t.namespaceURI===ae?!(e.namespaceURI===ue&&!me[r])&&!(e.namespaceURI===ie&&!ye[r])&&!ke[n]&&(be[n]||!we[n]):!("application/xhtml+xml"!==dt||!le[t.namespaceURI]))},xe=function(t){k(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=ct}catch(e){t.remove()}}},Ae=function(t,e){try{k(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){k(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!Ct[t])if(Ht||qt)try{xe(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},Ee=function(t){var e,n;if($t)t="<remove></remove>"+t;else{var r=A(t,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===dt&&ce===ae&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");var o=at?at.createHTML(t):t;if(ce===ae)try{e=(new _).parseFromString(o,dt)}catch(t){}if(!e||!e.documentElement){e=lt.createDocument(ce,"template",null);try{e.documentElement.innerHTML=fe?ct:o}catch(t){}}var u=e.body||e.documentElement;return t&&n&&u.insertBefore(i.createTextNode(n),u.childNodes[0]||null),ce===ae?ht.call(e,Bt?"html":"body")[0]:Bt?e.documentElement:u},Te=function(t){return st.call(t.ownerDocument||t,t,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null,!1)},Le=function(t){return t instanceof h&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof p)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},Oe=function(e){return"object"===t(c)?e instanceof c:e&&"object"===t(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Ce=function(t,e,r){vt[t]&&b(vt[t],function(t){t.call(n,e,r,ge)})},Re=function(t){var e;if(Ce("beforeSanitizeElements",t,null),Le(t))return xe(t),!0;if(O(/[\u0080-\uFFFF]/,t.nodeName))return xe(t),!0;var r=yt(t.nodeName);if(Ce("uponSanitizeElement",t,{tagName:r,allowedTags:Lt}),t.hasChildNodes()&&!Oe(t.firstElementChild)&&(!Oe(t.content)||!Oe(t.content.firstElementChild))&&O(/<[/\w]/g,t.innerHTML)&&O(/<[/\w]/g,t.textContent))return xe(t),!0;if("select"===r&&O(/<template/i,t.innerHTML))return xe(t),!0;if(7===t.nodeType)return xe(t),!0;if(Ut&&8===t.nodeType&&O(/<[/\w]/g,t.data))return xe(t),!0;if(!Lt[r]||Nt[r]){if(!Nt[r]&&Ne(r)){if(jt.tagNameCheck instanceof RegExp&&O(jt.tagNameCheck,r))return!1;if(jt.tagNameCheck instanceof Function&&jt.tagNameCheck(r))return!1}if(Yt&&!Qt[r]){var o=j(t)||t.parentNode,i=R(t)||t.childNodes;if(i&&o)for(var u=i.length-1;u>=0;--u){var a=y(i[u],!0);a.__removalCount=(t.__removalCount||0)+1,o.insertBefore(a,m(t))}}return xe(t),!0}return t instanceof f&&!Se(t)?(xe(t),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!O(/<\/no(script|embed|frames)/i,t.innerHTML)?(Pt&&3===t.nodeType&&(e=t.textContent,e=E(e,mt," "),e=E(e,bt," "),e=E(e,wt," "),t.textContent!==e&&(k(n.removed,{element:t.cloneNode()}),t.textContent=e)),Ce("afterSanitizeElements",t,null),!1):(xe(t),!0)},je=function(t,e,n){if(Vt&&("id"===e||"name"===e)&&(n in i||n in _e))return!1;if(zt&&!It[e]&&O(kt,e));else if(Dt&&O(St,e));else if(!Ct[e]||It[e]){if(!(Ne(t)&&(jt.tagNameCheck instanceof RegExp&&O(jt.tagNameCheck,t)||jt.tagNameCheck instanceof Function&&jt.tagNameCheck(t))&&(jt.attributeNameCheck instanceof RegExp&&O(jt.attributeNameCheck,e)||jt.attributeNameCheck instanceof Function&&jt.attributeNameCheck(e))||"is"===e&&jt.allowCustomizedBuiltInElements&&(jt.tagNameCheck instanceof RegExp&&O(jt.tagNameCheck,n)||jt.tagNameCheck instanceof Function&&jt.tagNameCheck(n))))return!1}else if(re[e]);else if(O(Tt,E(n,At,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==T(n,"data:")||!ee[t])if(Mt&&!O(xt,E(n,At,"")));else if(n)return!1;return!0},Ne=function(t){return"annotation-xml"!==t&&A(t,Et)},Ie=function(e){var r,o,i,u;Ce("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a&&!Le(e)){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ct};for(u=a.length;u--;){var f=r=a[u],l=f.name,s=f.namespaceURI;if(o="value"===l?r.value:L(r.value),i=yt(l),c.attrName=i,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,Ce("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr&&(Ae(l,e),c.keepAttr))if(Wt||!O(/\/>/i,o)){Pt&&(o=E(o,mt," "),o=E(o,bt," "),o=E(o,wt," "));var p=yt(e.nodeName);if(je(p,i,o))if(!Kt||"id"!==i&&"name"!==i||(Ae(l,e),o=Zt+o),Ut&&O(/((--!?|])>)|<\/(style|title)/i,o))Ae(l,e);else{if(at&&"object"===t(v)&&"function"==typeof v.getAttributeType)if(s);else switch(v.getAttributeType(p,i)){case"TrustedHTML":o=at.createHTML(o);break;case"TrustedScriptURL":o=at.createScriptURL(o)}try{s?e.setAttributeNS(s,l,o):e.setAttribute(l,o),Le(e)?xe(e):w(n.removed)}catch(t){}}}else Ae(l,e)}Ce("afterSanitizeAttributes",e,null)}},De=function t(e){var n,r=Te(e);for(Ce("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)Ce("uponSanitizeShadowNode",n,null),Re(n),Ie(n),n.content instanceof u&&t(n.content);Ce("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(o){var i,a,f,l,s,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((fe=!o)&&(o="\x3c!--\x3e"),"string"!=typeof o&&!Oe(o)){if("function"!=typeof o.toString)throw C("toString is not a function");if("string"!=typeof(o=o.toString()))throw C("dirty is not a string, aborting")}if(!n.isSupported){if("object"===t(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof o)return e.toStaticHTML(o);if(Oe(o))return e.toStaticHTML(o.outerHTML)}return o}if(Ft||de(p),n.removed=[],"string"==typeof o&&(Jt=!1),Jt){if(o.nodeName){var h=yt(o.nodeName);if(!Lt[h]||Nt[h])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof c)1===(a=(i=Ee("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?i=a:i.appendChild(a);else{if(!Ht&&!Pt&&!Bt&&-1===o.indexOf("<"))return at&&Gt?at.createHTML(o):o;if(!(i=Ee(o)))return Ht?null:Gt?ct:""}i&&$t&&xe(i.firstChild);for(var g=Te(Jt?o:i);f=g.nextNode();)3===f.nodeType&&f===l||(Re(f),Ie(f),f.content instanceof u&&De(f.content),l=f);if(l=null,Jt)return o;if(Ht){if(qt)for(s=pt.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(Ct.shadowroot||Ct.shadowrootmod)&&(s=gt.call(r,s,!0)),s}var _=Bt?i.outerHTML:i.innerHTML;return Bt&&Lt["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&O(et,i.ownerDocument.doctype.name)&&(_="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+_),Pt&&(_=E(_,mt," "),_=E(_,bt," "),_=E(_,wt," ")),at&&Gt?at.createHTML(_):_},n.setConfig=function(t){de(t),Ft=!0},n.clearConfig=function(){ge=null,Ft=!1},n.isValidAttribute=function(t,e,n){ge||de({});var r=yt(t),o=yt(e);return je(r,o,n)},n.addHook=function(t,e){"function"==typeof e&&(vt[t]=vt[t]||[],k(vt[t],e))},n.removeHook=function(t){if(vt[t])return w(vt[t])},n.removeHooks=function(t){vt[t]&&(vt[t]=[])},n.removeAllHooks=function(){vt={}},n}return it()}()},243:function(t,e,n){t=n.nmd(t),function(){var r,o="Expected a function",i="__lodash_hash_undefined__",u="__lodash_placeholder__",a=16,c=32,f=64,l=128,s=256,p=1/0,h=9007199254740991,g=NaN,_=4294967295,v=[["ary",l],["bind",1],["bindKey",2],["curry",8],["curryRight",a],["flip",512],["partial",c],["partialRight",f],["rearg",s]],d="[object Arguments]",y="[object Array]",m="[object Boolean]",b="[object Date]",w="[object Error]",k="[object Function]",S="[object GeneratorFunction]",x="[object Map]",A="[object Number]",E="[object Object]",T="[object Promise]",L="[object RegExp]",O="[object Set]",C="[object String]",R="[object Symbol]",j="[object WeakMap]",N="[object ArrayBuffer]",I="[object DataView]",D="[object Float32Array]",z="[object Float64Array]",M="[object Int8Array]",W="[object Int16Array]",P="[object Int32Array]",U="[object Uint8Array]",B="[object Uint8ClampedArray]",F="[object Uint16Array]",$="[object Uint32Array]",H=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,V=/&(?:amp|lt|gt|quot|#39);/g,K=/[&<>"']/g,Z=RegExp(V.source),Y=RegExp(K.source),J=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,tt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,et=/^\w*$/,nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rt=/[\\^$.*+?()[\]{}|]/g,ot=RegExp(rt.source),it=/^\s+/,ut=/\s/,at=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ct=/\{\n\/\* \[wrapped with (.+)\] \*/,ft=/,? & /,lt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,st=/[()=,{}\[\]\/\s]/,pt=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gt=/\w*$/,_t=/^[-+]0x[0-9a-f]+$/i,vt=/^0b[01]+$/i,dt=/^\[object .+?Constructor\]$/,yt=/^0o[0-7]+$/i,mt=/^(?:0|[1-9]\d*)$/,bt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,wt=/($^)/,kt=/['\n\r\u2028\u2029\\]/g,St="\\ud800-\\udfff",xt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",At="\\u2700-\\u27bf",Et="a-z\\xdf-\\xf6\\xf8-\\xff",Tt="A-Z\\xc0-\\xd6\\xd8-\\xde",Lt="\\ufe0e\\ufe0f",Ot="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ct="['’]",Rt="["+St+"]",jt="["+Ot+"]",Nt="["+xt+"]",It="\\d+",Dt="["+At+"]",zt="["+Et+"]",Mt="[^"+St+Ot+It+At+Et+Tt+"]",Wt="\\ud83c[\\udffb-\\udfff]",Pt="[^"+St+"]",Ut="(?:\\ud83c[\\udde6-\\uddff]){2}",Bt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ft="["+Tt+"]",$t="\\u200d",Ht="(?:"+zt+"|"+Mt+")",qt="(?:"+Ft+"|"+Mt+")",Gt="(?:['’](?:d|ll|m|re|s|t|ve))?",Vt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Kt="(?:"+Nt+"|"+Wt+")"+"?",Zt="["+Lt+"]?",Yt=Zt+Kt+("(?:"+$t+"(?:"+[Pt,Ut,Bt].join("|")+")"+Zt+Kt+")*"),Jt="(?:"+[Dt,Ut,Bt].join("|")+")"+Yt,Xt="(?:"+[Pt+Nt+"?",Nt,Ut,Bt,Rt].join("|")+")",Qt=RegExp(Ct,"g"),te=RegExp(Nt,"g"),ee=RegExp(Wt+"(?="+Wt+")|"+Xt+Yt,"g"),ne=RegExp([Ft+"?"+zt+"+"+Gt+"(?="+[jt,Ft,"$"].join("|")+")",qt+"+"+Vt+"(?="+[jt,Ft+Ht,"$"].join("|")+")",Ft+"?"+Ht+"+"+Gt,Ft+"+"+Vt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",It,Jt].join("|"),"g"),re=RegExp("["+$t+St+xt+Lt+"]"),oe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ie=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ue=-1,ae={};ae[D]=ae[z]=ae[M]=ae[W]=ae[P]=ae[U]=ae[B]=ae[F]=ae[$]=!0,ae[d]=ae[y]=ae[N]=ae[m]=ae[I]=ae[b]=ae[w]=ae[k]=ae[x]=ae[A]=ae[E]=ae[L]=ae[O]=ae[C]=ae[j]=!1;var ce={};ce[d]=ce[y]=ce[N]=ce[I]=ce[m]=ce[b]=ce[D]=ce[z]=ce[M]=ce[W]=ce[P]=ce[x]=ce[A]=ce[E]=ce[L]=ce[O]=ce[C]=ce[R]=ce[U]=ce[B]=ce[F]=ce[$]=!0,ce[w]=ce[k]=ce[j]=!1;var fe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},le=parseFloat,se=parseInt,pe="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,he="object"==typeof self&&self&&self.Object===Object&&self,ge=pe||he||Function("return this")(),_e=e&&!e.nodeType&&e,ve=_e&&t&&!t.nodeType&&t,de=ve&&ve.exports===_e,ye=de&&pe.process,me=function(){try{var t=ve&&ve.require&&ve.require("util").types;return t||ye&&ye.binding&&ye.binding("util")}catch(t){}}(),be=me&&me.isArrayBuffer,we=me&&me.isDate,ke=me&&me.isMap,Se=me&&me.isRegExp,xe=me&&me.isSet,Ae=me&&me.isTypedArray;function Ee(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Te(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];e(r,u,n(u),t)}return r}function Le(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Oe(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ce(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Re(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var u=t[n];e(u,n,t)&&(i[o++]=u)}return i}function je(t,e){return!!(null==t?0:t.length)&&Fe(t,e,0)>-1}function Ne(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}function Ie(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function De(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function ze(t,e,n,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}function Me(t,e,n,r){var o=null==t?0:t.length;for(r&&o&&(n=t[--o]);o--;)n=e(n,t[o],o,t);return n}function We(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var Pe=Ge("length");function Ue(t,e,n){var r;return n(t,function(t,n,o){if(e(t,n,o))return r=n,!1}),r}function Be(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}function Fe(t,e,n){return e==e?function(t,e,n){var r=n-1,o=t.length;for(;++r<o;)if(t[r]===e)return r;return-1}(t,e,n):Be(t,He,n)}function $e(t,e,n,r){for(var o=n-1,i=t.length;++o<i;)if(r(t[o],e))return o;return-1}function He(t){return t!=t}function qe(t,e){var n=null==t?0:t.length;return n?Ze(t,e)/n:g}function Ge(t){return function(e){return null==e?r:e[t]}}function Ve(t){return function(e){return null==t?r:t[e]}}function Ke(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function Ze(t,e){for(var n,o=-1,i=t.length;++o<i;){var u=e(t[o]);u!==r&&(n=n===r?u:n+u)}return n}function Ye(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Je(t){return t?t.slice(0,_n(t)+1).replace(it,""):t}function Xe(t){return function(e){return t(e)}}function Qe(t,e){return Ie(e,function(e){return t[e]})}function tn(t,e){return t.has(e)}function en(t,e){for(var n=-1,r=t.length;++n<r&&Fe(e,t[n],0)>-1;);return n}function nn(t,e){for(var n=t.length;n--&&Fe(e,t[n],0)>-1;);return n}var rn=Ve({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),on=Ve({"&":"&","<":"<",">":">",'"':""","'":"'"});function un(t){return"\\"+fe[t]}function an(t){return re.test(t)}function cn(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function fn(t,e){return function(n){return t(e(n))}}function ln(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var a=t[n];a!==e&&a!==u||(t[n]=u,i[o++]=n)}return i}function sn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function pn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function hn(t){return an(t)?function(t){var e=ee.lastIndex=0;for(;ee.test(t);)++e;return e}(t):Pe(t)}function gn(t){return an(t)?function(t){return t.match(ee)||[]}(t):function(t){return t.split("")}(t)}function _n(t){for(var e=t.length;e--&&ut.test(t.charAt(e)););return e}var vn=Ve({"&":"&","<":"<",">":">",""":'"',"'":"'"});var dn=function t(e){var n,ut=(e=null==e?ge:dn.defaults(ge.Object(),e,dn.pick(ge,ie))).Array,St=e.Date,xt=e.Error,At=e.Function,Et=e.Math,Tt=e.Object,Lt=e.RegExp,Ot=e.String,Ct=e.TypeError,Rt=ut.prototype,jt=At.prototype,Nt=Tt.prototype,It=e["__core-js_shared__"],Dt=jt.toString,zt=Nt.hasOwnProperty,Mt=0,Wt=(n=/[^.]+$/.exec(It&&It.keys&&It.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Pt=Nt.toString,Ut=Dt.call(Tt),Bt=ge._,Ft=Lt("^"+Dt.call(zt).replace(rt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$t=de?e.Buffer:r,Ht=e.Symbol,qt=e.Uint8Array,Gt=$t?$t.allocUnsafe:r,Vt=fn(Tt.getPrototypeOf,Tt),Kt=Tt.create,Zt=Nt.propertyIsEnumerable,Yt=Rt.splice,Jt=Ht?Ht.isConcatSpreadable:r,Xt=Ht?Ht.iterator:r,ee=Ht?Ht.toStringTag:r,re=function(){try{var t=ui(Tt,"defineProperty");return t({},"",{}),t}catch(t){}}(),fe=e.clearTimeout!==ge.clearTimeout&&e.clearTimeout,pe=St&&St.now!==ge.Date.now&&St.now,he=e.setTimeout!==ge.setTimeout&&e.setTimeout,_e=Et.ceil,ve=Et.floor,ye=Tt.getOwnPropertySymbols,me=$t?$t.isBuffer:r,Pe=e.isFinite,Ve=Rt.join,yn=fn(Tt.keys,Tt),mn=Et.max,bn=Et.min,wn=St.now,kn=e.parseInt,Sn=Et.random,xn=Rt.reverse,An=ui(e,"DataView"),En=ui(e,"Map"),Tn=ui(e,"Promise"),Ln=ui(e,"Set"),On=ui(e,"WeakMap"),Cn=ui(Tt,"create"),Rn=On&&new On,jn={},Nn=ji(An),In=ji(En),Dn=ji(Tn),zn=ji(Ln),Mn=ji(On),Wn=Ht?Ht.prototype:r,Pn=Wn?Wn.valueOf:r,Un=Wn?Wn.toString:r;function Bn(t){if(Zu(t)&&!Wu(t)&&!(t instanceof LazyWrapper)){if(t instanceof LodashWrapper)return t;if(zt.call(t,"__wrapped__"))return Ni(t)}return new LodashWrapper(t)}var Fn=function(){function t(){}return function(e){if(!Ku(e))return{};if(Kt)return Kt(e);t.prototype=e;var n=new t;return t.prototype=r,n}}();function $n(){}function LodashWrapper(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=r}function LazyWrapper(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=_,this.__views__=[]}function Hash(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ListCache(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function MapCache(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function SetCache(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new MapCache;++e<n;)this.add(t[e])}function Stack(t){var e=this.__data__=new ListCache(t);this.size=e.size}function Hn(t,e){var n=Wu(t),r=!n&&Mu(t),o=!n&&!r&&Fu(t),i=!n&&!r&&!o&&ra(t),u=n||r||o||i,a=u?Ye(t.length,Ot):[],c=a.length;for(var f in t)!e&&!zt.call(t,f)||u&&("length"==f||o&&("offset"==f||"parent"==f)||i&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||hi(f,c))||a.push(f);return a}function qn(t){var e=t.length;return e?t[Fr(0,e-1)]:r}function Gn(t,e){return Oi(xo(t),er(e,0,t.length))}function Vn(t){return Oi(xo(t))}function Kn(t,e,n){(n!==r&&!Iu(t[e],n)||n===r&&!(e in t))&&Qn(t,e,n)}function Zn(t,e,n){var o=t[e];zt.call(t,e)&&Iu(o,n)&&(n!==r||e in t)||Qn(t,e,n)}function Yn(t,e){for(var n=t.length;n--;)if(Iu(t[n][0],e))return n;return-1}function Jn(t,e,n,r){return ur(t,function(t,o,i){e(r,t,n(t),i)}),r}function Xn(t,e){return t&&Ao(e,Aa(e),t)}function Qn(t,e,n){"__proto__"==e&&re?re(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function tr(t,e){for(var n=-1,o=e.length,i=ut(o),u=null==t;++n<o;)i[n]=u?r:ba(t,e[n]);return i}function er(t,e,n){return t==t&&(n!==r&&(t=t<=n?t:n),e!==r&&(t=t>=e?t:e)),t}function nr(t,e,n,o,i,u){var a,c=1&e,f=2&e,l=4&e;if(n&&(a=i?n(t,o,i,u):n(t)),a!==r)return a;if(!Ku(t))return t;var s=Wu(t);if(s){if(a=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&zt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!c)return xo(t,a)}else{var p=fi(t),h=p==k||p==S;if(Fu(t))return yo(t,c);if(p==E||p==d||h&&!i){if(a=f||h?{}:si(t),!c)return f?function(t,e){return Ao(t,ci(t),e)}(t,function(t,e){return t&&Ao(e,Ea(e),t)}(a,t)):function(t,e){return Ao(t,ai(t),e)}(t,Xn(a,t))}else{if(!ce[p])return i?t:{};a=function(t,e,n){var r=t.constructor;switch(e){case N:return mo(t);case m:case b:return new r(+t);case I:return function(t,e){var n=e?mo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case D:case z:case M:case W:case P:case U:case B:case F:case $:return bo(t,n);case x:return new r;case A:case C:return new r(t);case L:return function(t){var e=new t.constructor(t.source,gt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case O:return new r;case R:return o=t,Pn?Tt(Pn.call(o)):{}}var o}(t,p,c)}}u||(u=new Stack);var g=u.get(t);if(g)return g;u.set(t,a),ta(t)?t.forEach(function(r){a.add(nr(r,e,n,r,t,u))}):Yu(t)&&t.forEach(function(r,o){a.set(o,nr(r,e,n,o,t,u))});var _=s?r:(l?f?Qo:Xo:f?Ea:Aa)(t);return Le(_||t,function(r,o){_&&(r=t[o=r]),Zn(a,o,nr(r,e,n,o,t,u))}),a}function rr(t,e,n){var o=n.length;if(null==t)return!o;for(t=Tt(t);o--;){var i=n[o],u=e[i],a=t[i];if(a===r&&!(i in t)||!u(a))return!1}return!0}function or(t,e,n){if("function"!=typeof t)throw new Ct(o);return Ai(function(){t.apply(r,n)},e)}function ir(t,e,n,r){var o=-1,i=je,u=!0,a=t.length,c=[],f=e.length;if(!a)return c;n&&(e=Ie(e,Xe(n))),r?(i=Ne,u=!1):e.length>=200&&(i=tn,u=!1,e=new SetCache(e));t:for(;++o<a;){var l=t[o],s=null==n?l:n(l);if(l=r||0!==l?l:0,u&&s==s){for(var p=f;p--;)if(e[p]===s)continue t;c.push(l)}else i(e,s,r)||c.push(l)}return c}Bn.templateSettings={escape:J,evaluate:X,interpolate:Q,variable:"",imports:{_:Bn}},Bn.prototype=$n.prototype,Bn.prototype.constructor=Bn,LodashWrapper.prototype=Fn($n.prototype),LodashWrapper.prototype.constructor=LodashWrapper,LazyWrapper.prototype=Fn($n.prototype),LazyWrapper.prototype.constructor=LazyWrapper,Hash.prototype.clear=function(){this.__data__=Cn?Cn(null):{},this.size=0},Hash.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Hash.prototype.get=function(t){var e=this.__data__;if(Cn){var n=e[t];return n===i?r:n}return zt.call(e,t)?e[t]:r},Hash.prototype.has=function(t){var e=this.__data__;return Cn?e[t]!==r:zt.call(e,t)},Hash.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Cn&&e===r?i:e,this},ListCache.prototype.clear=function(){this.__data__=[],this.size=0},ListCache.prototype.delete=function(t){var e=this.__data__,n=Yn(e,t);return!(n<0)&&(n==e.length-1?e.pop():Yt.call(e,n,1),--this.size,!0)},ListCache.prototype.get=function(t){var e=this.__data__,n=Yn(e,t);return n<0?r:e[n][1]},ListCache.prototype.has=function(t){return Yn(this.__data__,t)>-1},ListCache.prototype.set=function(t,e){var n=this.__data__,r=Yn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},MapCache.prototype.clear=function(){this.size=0,this.__data__={hash:new Hash,map:new(En||ListCache),string:new Hash}},MapCache.prototype.delete=function(t){var e=oi(this,t).delete(t);return this.size-=e?1:0,e},MapCache.prototype.get=function(t){return oi(this,t).get(t)},MapCache.prototype.has=function(t){return oi(this,t).has(t)},MapCache.prototype.set=function(t,e){var n=oi(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},SetCache.prototype.add=SetCache.prototype.push=function(t){return this.__data__.set(t,i),this},SetCache.prototype.has=function(t){return this.__data__.has(t)},Stack.prototype.clear=function(){this.__data__=new ListCache,this.size=0},Stack.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Stack.prototype.get=function(t){return this.__data__.get(t)},Stack.prototype.has=function(t){return this.__data__.has(t)},Stack.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ListCache){var r=n.__data__;if(!En||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new MapCache(r)}return n.set(t,e),this.size=n.size,this};var ur=Lo(gr),ar=Lo(_r,!0);function cr(t,e){var n=!0;return ur(t,function(t,r,o){return n=!!e(t,r,o)}),n}function fr(t,e,n){for(var o=-1,i=t.length;++o<i;){var u=t[o],a=e(u);if(null!=a&&(c===r?a==a&&!na(a):n(a,c)))var c=a,f=u}return f}function lr(t,e){var n=[];return ur(t,function(t,r,o){e(t,r,o)&&n.push(t)}),n}function sr(t,e,n,r,o){var i=-1,u=t.length;for(n||(n=pi),o||(o=[]);++i<u;){var a=t[i];e>0&&n(a)?e>1?sr(a,e-1,n,r,o):De(o,a):r||(o[o.length]=a)}return o}var pr=Oo(),hr=Oo(!0);function gr(t,e){return t&&pr(t,e,Aa)}function _r(t,e){return t&&hr(t,e,Aa)}function vr(t,e){return Re(e,function(e){return qu(t[e])})}function dr(t,e){for(var n=0,o=(e=ho(e,t)).length;null!=t&&n<o;)t=t[Ri(e[n++])];return n&&n==o?t:r}function yr(t,e,n){var r=e(t);return Wu(t)?r:De(r,n(t))}function mr(t){return null==t?t===r?"[object Undefined]":"[object Null]":ee&&ee in Tt(t)?function(t){var e=zt.call(t,ee),n=t[ee];try{t[ee]=r;var o=!0}catch(t){}var i=Pt.call(t);o&&(e?t[ee]=n:delete t[ee]);return i}(t):function(t){return Pt.call(t)}(t)}function br(t,e){return t>e}function wr(t,e){return null!=t&&zt.call(t,e)}function kr(t,e){return null!=t&&e in Tt(t)}function Sr(t,e,n){for(var o=n?Ne:je,i=t[0].length,u=t.length,a=u,c=ut(u),f=1/0,l=[];a--;){var s=t[a];a&&e&&(s=Ie(s,Xe(e))),f=bn(s.length,f),c[a]=!n&&(e||i>=120&&s.length>=120)?new SetCache(a&&s):r}s=t[0];var p=-1,h=c[0];t:for(;++p<i&&l.length<f;){var g=s[p],_=e?e(g):g;if(g=n||0!==g?g:0,!(h?tn(h,_):o(l,_,n))){for(a=u;--a;){var v=c[a];if(!(v?tn(v,_):o(t[a],_,n)))continue t}h&&h.push(_),l.push(g)}}return l}function xr(t,e,n){var o=null==(t=ki(t,e=ho(e,t)))?t:t[Ri(Hi(e))];return null==o?r:Ee(o,t,n)}function Ar(t){return Zu(t)&&mr(t)==d}function Er(t,e,n,o,i){return t===e||(null==t||null==e||!Zu(t)&&!Zu(e)?t!=t&&e!=e:function(t,e,n,o,i,u){var a=Wu(t),c=Wu(e),f=a?y:fi(t),l=c?y:fi(e),s=(f=f==d?E:f)==E,p=(l=l==d?E:l)==E,h=f==l;if(h&&Fu(t)){if(!Fu(e))return!1;a=!0,s=!1}if(h&&!s)return u||(u=new Stack),a||ra(t)?Yo(t,e,n,o,i,u):function(t,e,n,r,o,i,u){switch(n){case I:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case N:return!(t.byteLength!=e.byteLength||!i(new qt(t),new qt(e)));case m:case b:case A:return Iu(+t,+e);case w:return t.name==e.name&&t.message==e.message;case L:case C:return t==e+"";case x:var a=cn;case O:var c=1&r;if(a||(a=sn),t.size!=e.size&&!c)return!1;var f=u.get(t);if(f)return f==e;r|=2,u.set(t,e);var l=Yo(a(t),a(e),r,o,i,u);return u.delete(t),l;case R:if(Pn)return Pn.call(t)==Pn.call(e)}return!1}(t,e,f,n,o,i,u);if(!(1&n)){var g=s&&zt.call(t,"__wrapped__"),_=p&&zt.call(e,"__wrapped__");if(g||_){var v=g?t.value():t,k=_?e.value():e;return u||(u=new Stack),i(v,k,n,o,u)}}if(!h)return!1;return u||(u=new Stack),function(t,e,n,o,i,u){var a=1&n,c=Xo(t),f=c.length,l=Xo(e),s=l.length;if(f!=s&&!a)return!1;var p=f;for(;p--;){var h=c[p];if(!(a?h in e:zt.call(e,h)))return!1}var g=u.get(t),_=u.get(e);if(g&&_)return g==e&&_==t;var v=!0;u.set(t,e),u.set(e,t);var d=a;for(;++p<f;){var y=t[h=c[p]],m=e[h];if(o)var b=a?o(m,y,h,e,t,u):o(y,m,h,t,e,u);if(!(b===r?y===m||i(y,m,n,o,u):b)){v=!1;break}d||(d="constructor"==h)}if(v&&!d){var w=t.constructor,k=e.constructor;w==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof k&&k instanceof k||(v=!1)}return u.delete(t),u.delete(e),v}(t,e,n,o,i,u)}(t,e,n,o,Er,i))}function Tr(t,e,n,o){var i=n.length,u=i,a=!o;if(null==t)return!u;for(t=Tt(t);i--;){var c=n[i];if(a&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++i<u;){var f=(c=n[i])[0],l=t[f],s=c[1];if(a&&c[2]){if(l===r&&!(f in t))return!1}else{var p=new Stack;if(o)var h=o(l,s,f,t,e,p);if(!(h===r?Er(s,l,3,o,p):h))return!1}}return!0}function Lr(t){return!(!Ku(t)||(e=t,Wt&&Wt in e))&&(qu(t)?Ft:dt).test(ji(t));var e}function Or(t){return"function"==typeof t?t:null==t?Ja:"object"==typeof t?Wu(t)?Dr(t[0],t[1]):Ir(t):uc(t)}function Cr(t){if(!yi(t))return yn(t);var e=[];for(var n in Tt(t))zt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Rr(t){if(!Ku(t))return function(t){var e=[];if(null!=t)for(var n in Tt(t))e.push(n);return e}(t);var e=yi(t),n=[];for(var r in t)("constructor"!=r||!e&&zt.call(t,r))&&n.push(r);return n}function jr(t,e){return t<e}function Nr(t,e){var n=-1,r=Uu(t)?ut(t.length):[];return ur(t,function(t,o,i){r[++n]=e(t,o,i)}),r}function Ir(t){var e=ii(t);return 1==e.length&&e[0][2]?bi(e[0][0],e[0][1]):function(n){return n===t||Tr(n,t,e)}}function Dr(t,e){return _i(t)&&mi(e)?bi(Ri(t),e):function(n){var o=ba(n,t);return o===r&&o===e?wa(n,t):Er(e,o,3)}}function zr(t,e,n,o,i){t!==e&&pr(e,function(u,a){if(i||(i=new Stack),Ku(u))!function(t,e,n,o,i,u,a){var c=Si(t,n),f=Si(e,n),l=a.get(f);if(l)return void Kn(t,n,l);var s=u?u(c,f,n+"",t,e,a):r,p=s===r;if(p){var h=Wu(f),g=!h&&Fu(f),_=!h&&!g&&ra(f);s=f,h||g||_?Wu(c)?s=c:Bu(c)?s=xo(c):g?(p=!1,s=yo(f,!0)):_?(p=!1,s=bo(f,!0)):s=[]:Xu(f)||Mu(f)?(s=c,Mu(c)?s=sa(c):Ku(c)&&!qu(c)||(s=si(f))):p=!1}p&&(a.set(f,s),i(s,f,o,u,a),a.delete(f));Kn(t,n,s)}(t,e,a,n,zr,o,i);else{var c=o?o(Si(t,a),u,a+"",t,e,i):r;c===r&&(c=u),Kn(t,a,c)}},Ea)}function Mr(t,e){var n=t.length;if(n)return hi(e+=e<0?n:0,n)?t[e]:r}function Wr(t,e,n){e=e.length?Ie(e,function(t){return Wu(t)?function(e){return dr(e,1===t.length?t[0]:t)}:t}):[Ja];var r=-1;e=Ie(e,Xe(ri()));var o=Nr(t,function(t,n,o){var i=Ie(e,function(e){return e(t)});return{criteria:i,index:++r,value:t}});return function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(o,function(t,e){return function(t,e,n){var r=-1,o=t.criteria,i=e.criteria,u=o.length,a=n.length;for(;++r<u;){var c=wo(o[r],i[r]);if(c)return r>=a?c:c*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)})}function Pr(t,e,n){for(var r=-1,o=e.length,i={};++r<o;){var u=e[r],a=dr(t,u);n(a,u)&&Vr(i,ho(u,t),a)}return i}function Ur(t,e,n,r){var o=r?$e:Fe,i=-1,u=e.length,a=t;for(t===e&&(e=xo(e)),n&&(a=Ie(t,Xe(n)));++i<u;)for(var c=0,f=e[i],l=n?n(f):f;(c=o(a,l,c,r))>-1;)a!==t&&Yt.call(a,c,1),Yt.call(t,c,1);return t}function Br(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==i){var i=o;hi(o)?Yt.call(t,o,1):io(t,o)}}return t}function Fr(t,e){return t+ve(Sn()*(e-t+1))}function $r(t,e){var n="";if(!t||e<1||e>h)return n;do{e%2&&(n+=t),(e=ve(e/2))&&(t+=t)}while(e);return n}function Hr(t,e){return Ei(wi(t,e,Ja),t+"")}function qr(t){return qn(Ia(t))}function Gr(t,e){var n=Ia(t);return Oi(n,er(e,0,n.length))}function Vr(t,e,n,o){if(!Ku(t))return t;for(var i=-1,u=(e=ho(e,t)).length,a=u-1,c=t;null!=c&&++i<u;){var f=Ri(e[i]),l=n;if("__proto__"===f||"constructor"===f||"prototype"===f)return t;if(i!=a){var s=c[f];(l=o?o(s,f,c):r)===r&&(l=Ku(s)?s:hi(e[i+1])?[]:{})}Zn(c,f,l),c=c[f]}return t}var Kr=Rn?function(t,e){return Rn.set(t,e),t}:Ja,Zr=re?function(t,e){return re(t,"toString",{configurable:!0,enumerable:!1,value:Ka(e),writable:!0})}:Ja;function Yr(t){return Oi(Ia(t))}function Jr(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=ut(o);++r<o;)i[r]=t[r+e];return i}function Xr(t,e){var n;return ur(t,function(t,r,o){return!(n=e(t,r,o))}),!!n}function Qr(t,e,n){var r=0,o=null==t?r:t.length;if("number"==typeof e&&e==e&&o<=2147483647){for(;r<o;){var i=r+o>>>1,u=t[i];null!==u&&!na(u)&&(n?u<=e:u<e)?r=i+1:o=i}return o}return to(t,e,Ja,n)}function to(t,e,n,o){var i=0,u=null==t?0:t.length;if(0===u)return 0;for(var a=(e=n(e))!=e,c=null===e,f=na(e),l=e===r;i<u;){var s=ve((i+u)/2),p=n(t[s]),h=p!==r,g=null===p,_=p==p,v=na(p);if(a)var d=o||_;else d=l?_&&(o||h):c?_&&h&&(o||!g):f?_&&h&&!g&&(o||!v):!g&&!v&&(o?p<=e:p<e);d?i=s+1:u=s}return bn(u,4294967294)}function eo(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var u=t[n],a=e?e(u):u;if(!n||!Iu(a,c)){var c=a;i[o++]=0===u?0:u}}return i}function no(t){return"number"==typeof t?t:na(t)?g:+t}function ro(t){if("string"==typeof t)return t;if(Wu(t))return Ie(t,ro)+"";if(na(t))return Un?Un.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function oo(t,e,n){var r=-1,o=je,i=t.length,u=!0,a=[],c=a;if(n)u=!1,o=Ne;else if(i>=200){var f=e?null:Ho(t);if(f)return sn(f);u=!1,o=tn,c=new SetCache}else c=e?[]:a;t:for(;++r<i;){var l=t[r],s=e?e(l):l;if(l=n||0!==l?l:0,u&&s==s){for(var p=c.length;p--;)if(c[p]===s)continue t;e&&c.push(s),a.push(l)}else o(c,s,n)||(c!==a&&c.push(s),a.push(l))}return a}function io(t,e){return null==(t=ki(t,e=ho(e,t)))||delete t[Ri(Hi(e))]}function uo(t,e,n,r){return Vr(t,e,n(dr(t,e)),r)}function ao(t,e,n,r){for(var o=t.length,i=r?o:-1;(r?i--:++i<o)&&e(t[i],i,t););return n?Jr(t,r?0:i,r?i+1:o):Jr(t,r?i+1:0,r?o:i)}function co(t,e){var n=t;return n instanceof LazyWrapper&&(n=n.value()),ze(e,function(t,e){return e.func.apply(e.thisArg,De([t],e.args))},n)}function fo(t,e,n){var r=t.length;if(r<2)return r?oo(t[0]):[];for(var o=-1,i=ut(r);++o<r;)for(var u=t[o],a=-1;++a<r;)a!=o&&(i[o]=ir(i[o]||u,t[a],e,n));return oo(sr(i,1),e,n)}function lo(t,e,n){for(var o=-1,i=t.length,u=e.length,a={};++o<i;){var c=o<u?e[o]:r;n(a,t[o],c)}return a}function so(t){return Bu(t)?t:[]}function po(t){return"function"==typeof t?t:Ja}function ho(t,e){return Wu(t)?t:_i(t,e)?[t]:Ci(pa(t))}var go=Hr;function _o(t,e,n){var o=t.length;return n=n===r?o:n,!e&&n>=o?t:Jr(t,e,n)}var vo=fe||function(t){return ge.clearTimeout(t)};function yo(t,e){if(e)return t.slice();var n=t.length,r=Gt?Gt(n):new t.constructor(n);return t.copy(r),r}function mo(t){var e=new t.constructor(t.byteLength);return new qt(e).set(new qt(t)),e}function bo(t,e){var n=e?mo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function wo(t,e){if(t!==e){var n=t!==r,o=null===t,i=t==t,u=na(t),a=e!==r,c=null===e,f=e==e,l=na(e);if(!c&&!l&&!u&&t>e||u&&a&&f&&!c&&!l||o&&a&&f||!n&&f||!i)return 1;if(!o&&!u&&!l&&t<e||l&&n&&i&&!o&&!u||c&&n&&i||!a&&i||!f)return-1}return 0}function ko(t,e,n,r){for(var o=-1,i=t.length,u=n.length,a=-1,c=e.length,f=mn(i-u,0),l=ut(c+f),s=!r;++a<c;)l[a]=e[a];for(;++o<u;)(s||o<i)&&(l[n[o]]=t[o]);for(;f--;)l[a++]=t[o++];return l}function So(t,e,n,r){for(var o=-1,i=t.length,u=-1,a=n.length,c=-1,f=e.length,l=mn(i-a,0),s=ut(l+f),p=!r;++o<l;)s[o]=t[o];for(var h=o;++c<f;)s[h+c]=e[c];for(;++u<a;)(p||o<i)&&(s[h+n[u]]=t[o++]);return s}function xo(t,e){var n=-1,r=t.length;for(e||(e=ut(r));++n<r;)e[n]=t[n];return e}function Ao(t,e,n,o){var i=!n;n||(n={});for(var u=-1,a=e.length;++u<a;){var c=e[u],f=o?o(n[c],t[c],c,n,t):r;f===r&&(f=t[c]),i?Qn(n,c,f):Zn(n,c,f)}return n}function Eo(t,e){return function(n,r){var o=Wu(n)?Te:Jn,i=e?e():{};return o(n,t,ri(r,2),i)}}function To(t){return Hr(function(e,n){var o=-1,i=n.length,u=i>1?n[i-1]:r,a=i>2?n[2]:r;for(u=t.length>3&&"function"==typeof u?(i--,u):r,a&&gi(n[0],n[1],a)&&(u=i<3?r:u,i=1),e=Tt(e);++o<i;){var c=n[o];c&&t(e,c,o,u)}return e})}function Lo(t,e){return function(n,r){if(null==n)return n;if(!Uu(n))return t(n,r);for(var o=n.length,i=e?o:-1,u=Tt(n);(e?i--:++i<o)&&!1!==r(u[i],i,u););return n}}function Oo(t){return function(e,n,r){for(var o=-1,i=Tt(e),u=r(e),a=u.length;a--;){var c=u[t?a:++o];if(!1===n(i[c],c,i))break}return e}}function Co(t){return function(e){var n=an(e=pa(e))?gn(e):r,o=n?n[0]:e.charAt(0),i=n?_o(n,1).join(""):e.slice(1);return o[t]()+i}}function Ro(t){return function(e){return ze(qa(Ma(e).replace(Qt,"")),t,"")}}function jo(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Fn(t.prototype),r=t.apply(n,e);return Ku(r)?r:n}}function No(t){return function(e,n,o){var i=Tt(e);if(!Uu(e)){var u=ri(n,3);e=Aa(e),n=function(t){return u(i[t],t,i)}}var a=t(e,n,o);return a>-1?i[u?e[a]:a]:r}}function Io(t){return Jo(function(e){var n=e.length,i=n,u=LodashWrapper.prototype.thru;for(t&&e.reverse();i--;){var a=e[i];if("function"!=typeof a)throw new Ct(o);if(u&&!c&&"wrapper"==ei(a))var c=new LodashWrapper([],!0)}for(i=c?i:n;++i<n;){var f=ei(a=e[i]),l="wrapper"==f?ti(a):r;c=l&&vi(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?c[ei(l[0])].apply(c,l[3]):1==a.length&&vi(a)?c[f]():c.thru(a)}return function(){var t=arguments,r=t[0];if(c&&1==t.length&&Wu(r))return c.plant(r).value();for(var o=0,i=n?e[o].apply(this,t):r;++o<n;)i=e[o].call(this,i);return i}})}function Do(t,e,n,o,i,u,a,c,f,s){var p=e&l,h=1&e,g=2&e,_=24&e,v=512&e,d=g?r:jo(t);return function l(){for(var y=arguments.length,m=ut(y),b=y;b--;)m[b]=arguments[b];if(_)var w=ni(l),k=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(m,w);if(o&&(m=ko(m,o,i,_)),u&&(m=So(m,u,a,_)),y-=k,_&&y<s){var S=ln(m,w);return Fo(t,e,Do,l.placeholder,n,m,S,c,f,s-y)}var x=h?n:this,A=g?x[t]:t;return y=m.length,c?m=function(t,e){var n=t.length,o=bn(e.length,n),i=xo(t);for(;o--;){var u=e[o];t[o]=hi(u,n)?i[u]:r}return t}(m,c):v&&y>1&&m.reverse(),p&&f<y&&(m.length=f),this&&this!==ge&&this instanceof l&&(A=d||jo(A)),A.apply(x,m)}}function zo(t,e){return function(n,r){return function(t,e,n,r){return gr(t,function(t,o,i){e(r,n(t),o,i)}),r}(n,t,e(r),{})}}function Mo(t,e){return function(n,o){var i;if(n===r&&o===r)return e;if(n!==r&&(i=n),o!==r){if(i===r)return o;"string"==typeof n||"string"==typeof o?(n=ro(n),o=ro(o)):(n=no(n),o=no(o)),i=t(n,o)}return i}}function Wo(t){return Jo(function(e){return e=Ie(e,Xe(ri())),Hr(function(n){var r=this;return t(e,function(t){return Ee(t,r,n)})})})}function Po(t,e){var n=(e=e===r?" ":ro(e)).length;if(n<2)return n?$r(e,t):e;var o=$r(e,_e(t/hn(e)));return an(e)?_o(gn(o),0,t).join(""):o.slice(0,t)}function Uo(t){return function(e,n,o){return o&&"number"!=typeof o&&gi(e,n,o)&&(n=o=r),e=aa(e),n===r?(n=e,e=0):n=aa(n),function(t,e,n,r){for(var o=-1,i=mn(_e((e-t)/(n||1)),0),u=ut(i);i--;)u[r?i:++o]=t,t+=n;return u}(e,n,o=o===r?e<n?1:-1:aa(o),t)}}function Bo(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=la(e),n=la(n)),t(e,n)}}function Fo(t,e,n,o,i,u,a,l,s,p){var h=8&e;e|=h?c:f,4&(e&=~(h?f:c))||(e&=-4);var g=[t,e,i,h?u:r,h?a:r,h?r:u,h?r:a,l,s,p],_=n.apply(r,g);return vi(t)&&xi(_,g),_.placeholder=o,Ti(_,t,e)}function $o(t){var e=Et[t];return function(t,n){if(t=la(t),(n=null==n?0:bn(ca(n),292))&&Pe(t)){var r=(pa(t)+"e").split("e");return+((r=(pa(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Ho=Ln&&1/sn(new Ln([,-0]))[1]==p?function(t){return new Ln(t)}:nc;function qo(t){return function(e){var n=fi(e);return n==x?cn(e):n==O?pn(e):function(t,e){return Ie(e,function(e){return[e,t[e]]})}(e,t(e))}}function Go(t,e,n,i,p,h,g,_){var v=2&e;if(!v&&"function"!=typeof t)throw new Ct(o);var d=i?i.length:0;if(d||(e&=-97,i=p=r),g=g===r?g:mn(ca(g),0),_=_===r?_:ca(_),d-=p?p.length:0,e&f){var y=i,m=p;i=p=r}var b=v?r:ti(t),w=[t,e,n,i,p,y,m,h,g,_];if(b&&function(t,e){var n=t[1],r=e[1],o=n|r,i=o<131,a=r==l&&8==n||r==l&&n==s&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!i&&!a)return t;1&r&&(t[2]=e[2],o|=1&n?0:4);var c=e[3];if(c){var f=t[3];t[3]=f?ko(f,c,e[4]):c,t[4]=f?ln(t[3],u):e[4]}(c=e[5])&&(f=t[5],t[5]=f?So(f,c,e[6]):c,t[6]=f?ln(t[5],u):e[6]);(c=e[7])&&(t[7]=c);r&l&&(t[8]=null==t[8]?e[8]:bn(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=o}(w,b),t=w[0],e=w[1],n=w[2],i=w[3],p=w[4],!(_=w[9]=w[9]===r?v?0:t.length:mn(w[9]-d,0))&&24&e&&(e&=-25),e&&1!=e)k=8==e||e==a?function(t,e,n){var o=jo(t);return function i(){for(var u=arguments.length,a=ut(u),c=u,f=ni(i);c--;)a[c]=arguments[c];var l=u<3&&a[0]!==f&&a[u-1]!==f?[]:ln(a,f);return(u-=l.length)<n?Fo(t,e,Do,i.placeholder,r,a,l,r,r,n-u):Ee(this&&this!==ge&&this instanceof i?o:t,this,a)}}(t,e,_):e!=c&&33!=e||p.length?Do.apply(r,w):function(t,e,n,r){var o=1&e,i=jo(t);return function e(){for(var u=-1,a=arguments.length,c=-1,f=r.length,l=ut(f+a),s=this&&this!==ge&&this instanceof e?i:t;++c<f;)l[c]=r[c];for(;a--;)l[c++]=arguments[++u];return Ee(s,o?n:this,l)}}(t,e,n,i);else var k=function(t,e,n){var r=1&e,o=jo(t);return function e(){return(this&&this!==ge&&this instanceof e?o:t).apply(r?n:this,arguments)}}(t,e,n);return Ti((b?Kr:xi)(k,w),t,e)}function Vo(t,e,n,o){return t===r||Iu(t,Nt[n])&&!zt.call(o,n)?e:t}function Ko(t,e,n,o,i,u){return Ku(t)&&Ku(e)&&(u.set(e,t),zr(t,e,r,Ko,u),u.delete(e)),t}function Zo(t){return Xu(t)?r:t}function Yo(t,e,n,o,i,u){var a=1&n,c=t.length,f=e.length;if(c!=f&&!(a&&f>c))return!1;var l=u.get(t),s=u.get(e);if(l&&s)return l==e&&s==t;var p=-1,h=!0,g=2&n?new SetCache:r;for(u.set(t,e),u.set(e,t);++p<c;){var _=t[p],v=e[p];if(o)var d=a?o(v,_,p,e,t,u):o(_,v,p,t,e,u);if(d!==r){if(d)continue;h=!1;break}if(g){if(!We(e,function(t,e){if(!tn(g,e)&&(_===t||i(_,t,n,o,u)))return g.push(e)})){h=!1;break}}else if(_!==v&&!i(_,v,n,o,u)){h=!1;break}}return u.delete(t),u.delete(e),h}function Jo(t){return Ei(wi(t,r,Pi),t+"")}function Xo(t){return yr(t,Aa,ai)}function Qo(t){return yr(t,Ea,ci)}var ti=Rn?function(t){return Rn.get(t)}:nc;function ei(t){for(var e=t.name+"",n=jn[e],r=zt.call(jn,e)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==t)return o.name}return e}function ni(t){return(zt.call(Bn,"placeholder")?Bn:t).placeholder}function ri(){var t=Bn.iteratee||Xa;return t=t===Xa?Or:t,arguments.length?t(arguments[0],arguments[1]):t}function oi(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function ii(t){for(var e=Aa(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,mi(o)]}return e}function ui(t,e){var n=function(t,e){return null==t?r:t[e]}(t,e);return Lr(n)?n:r}var ai=ye?function(t){return null==t?[]:(t=Tt(t),Re(ye(t),function(e){return Zt.call(t,e)}))}:fc,ci=ye?function(t){for(var e=[];t;)De(e,ai(t)),t=Vt(t);return e}:fc,fi=mr;function li(t,e,n){for(var r=-1,o=(e=ho(e,t)).length,i=!1;++r<o;){var u=Ri(e[r]);if(!(i=null!=t&&n(t,u)))break;t=t[u]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&Vu(o)&&hi(u,o)&&(Wu(t)||Mu(t))}function si(t){return"function"!=typeof t.constructor||yi(t)?{}:Fn(Vt(t))}function pi(t){return Wu(t)||Mu(t)||!!(Jt&&t&&t[Jt])}function hi(t,e){var n=typeof t;return!!(e=null==e?h:e)&&("number"==n||"symbol"!=n&&mt.test(t))&&t>-1&&t%1==0&&t<e}function gi(t,e,n){if(!Ku(n))return!1;var r=typeof e;return!!("number"==r?Uu(n)&&hi(e,n.length):"string"==r&&e in n)&&Iu(n[e],t)}function _i(t,e){if(Wu(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!na(t))||(et.test(t)||!tt.test(t)||null!=e&&t in Tt(e))}function vi(t){var e=ei(t),n=Bn[e];if("function"!=typeof n||!(e in LazyWrapper.prototype))return!1;if(t===n)return!0;var r=ti(n);return!!r&&t===r[0]}(An&&fi(new An(new ArrayBuffer(1)))!=I||En&&fi(new En)!=x||Tn&&fi(Tn.resolve())!=T||Ln&&fi(new Ln)!=O||On&&fi(new On)!=j)&&(fi=function(t){var e=mr(t),n=e==E?t.constructor:r,o=n?ji(n):"";if(o)switch(o){case Nn:return I;case In:return x;case Dn:return T;case zn:return O;case Mn:return j}return e});var di=It?qu:lc;function yi(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Nt)}function mi(t){return t==t&&!Ku(t)}function bi(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==r||t in Tt(n)))}}function wi(t,e,n){return e=mn(e===r?t.length-1:e,0),function(){for(var r=arguments,o=-1,i=mn(r.length-e,0),u=ut(i);++o<i;)u[o]=r[e+o];o=-1;for(var a=ut(e+1);++o<e;)a[o]=r[o];return a[e]=n(u),Ee(t,this,a)}}function ki(t,e){return e.length<2?t:dr(t,Jr(e,0,-1))}function Si(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var xi=Li(Kr),Ai=he||function(t,e){return ge.setTimeout(t,e)},Ei=Li(Zr);function Ti(t,e,n){var r=e+"";return Ei(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(at,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Le(v,function(n){var r="_."+n[0];e&n[1]&&!je(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(ct);return e?e[1].split(ft):[]}(r),n)))}function Li(t){var e=0,n=0;return function(){var o=wn(),i=16-(o-n);if(n=o,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(r,arguments)}}function Oi(t,e){var n=-1,o=t.length,i=o-1;for(e=e===r?o:e;++n<e;){var u=Fr(n,i),a=t[u];t[u]=t[n],t[n]=a}return t.length=e,t}var Ci=function(t){var e=Lu(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(nt,function(t,n,r,o){e.push(r?o.replace(pt,"$1"):n||t)}),e});function Ri(t){if("string"==typeof t||na(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function ji(t){if(null!=t){try{return Dt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ni(t){if(t instanceof LazyWrapper)return t.clone();var e=new LodashWrapper(t.__wrapped__,t.__chain__);return e.__actions__=xo(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Ii=Hr(function(t,e){return Bu(t)?ir(t,sr(e,1,Bu,!0)):[]}),Di=Hr(function(t,e){var n=Hi(e);return Bu(n)&&(n=r),Bu(t)?ir(t,sr(e,1,Bu,!0),ri(n,2)):[]}),zi=Hr(function(t,e){var n=Hi(e);return Bu(n)&&(n=r),Bu(t)?ir(t,sr(e,1,Bu,!0),r,n):[]});function Mi(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:ca(n);return o<0&&(o=mn(r+o,0)),Be(t,ri(e,3),o)}function Wi(t,e,n){var o=null==t?0:t.length;if(!o)return-1;var i=o-1;return n!==r&&(i=ca(n),i=n<0?mn(o+i,0):bn(i,o-1)),Be(t,ri(e,3),i,!0)}function Pi(t){return(null==t?0:t.length)?sr(t,1):[]}function Ui(t){return t&&t.length?t[0]:r}var Bi=Hr(function(t){var e=Ie(t,so);return e.length&&e[0]===t[0]?Sr(e):[]}),Fi=Hr(function(t){var e=Hi(t),n=Ie(t,so);return e===Hi(n)?e=r:n.pop(),n.length&&n[0]===t[0]?Sr(n,ri(e,2)):[]}),$i=Hr(function(t){var e=Hi(t),n=Ie(t,so);return(e="function"==typeof e?e:r)&&n.pop(),n.length&&n[0]===t[0]?Sr(n,r,e):[]});function Hi(t){var e=null==t?0:t.length;return e?t[e-1]:r}var qi=Hr(Gi);function Gi(t,e){return t&&t.length&&e&&e.length?Ur(t,e):t}var Vi=Jo(function(t,e){var n=null==t?0:t.length,r=tr(t,e);return Br(t,Ie(e,function(t){return hi(t,n)?+t:t}).sort(wo)),r});function Ki(t){return null==t?t:xn.call(t)}var Zi=Hr(function(t){return oo(sr(t,1,Bu,!0))}),Yi=Hr(function(t){var e=Hi(t);return Bu(e)&&(e=r),oo(sr(t,1,Bu,!0),ri(e,2))}),Ji=Hr(function(t){var e=Hi(t);return e="function"==typeof e?e:r,oo(sr(t,1,Bu,!0),r,e)});function Xi(t){if(!t||!t.length)return[];var e=0;return t=Re(t,function(t){if(Bu(t))return e=mn(t.length,e),!0}),Ye(e,function(e){return Ie(t,Ge(e))})}function Qi(t,e){if(!t||!t.length)return[];var n=Xi(t);return null==e?n:Ie(n,function(t){return Ee(e,r,t)})}var tu=Hr(function(t,e){return Bu(t)?ir(t,e):[]}),eu=Hr(function(t){return fo(Re(t,Bu))}),nu=Hr(function(t){var e=Hi(t);return Bu(e)&&(e=r),fo(Re(t,Bu),ri(e,2))}),ru=Hr(function(t){var e=Hi(t);return e="function"==typeof e?e:r,fo(Re(t,Bu),r,e)}),ou=Hr(Xi);var iu=Hr(function(t){var e=t.length,n=e>1?t[e-1]:r;return n="function"==typeof n?(t.pop(),n):r,Qi(t,n)});function uu(t){var e=Bn(t);return e.__chain__=!0,e}function au(t,e){return e(t)}var cu=Jo(function(t){var e=t.length,n=e?t[0]:0,o=this.__wrapped__,i=function(e){return tr(e,t)};return!(e>1||this.__actions__.length)&&o instanceof LazyWrapper&&hi(n)?((o=o.slice(n,+n+(e?1:0))).__actions__.push({func:au,args:[i],thisArg:r}),new LodashWrapper(o,this.__chain__).thru(function(t){return e&&!t.length&&t.push(r),t})):this.thru(i)});var fu=Eo(function(t,e,n){zt.call(t,n)?++t[n]:Qn(t,n,1)});var lu=No(Mi),su=No(Wi);function pu(t,e){return(Wu(t)?Le:ur)(t,ri(e,3))}function hu(t,e){return(Wu(t)?Oe:ar)(t,ri(e,3))}var gu=Eo(function(t,e,n){zt.call(t,n)?t[n].push(e):Qn(t,n,[e])});var _u=Hr(function(t,e,n){var r=-1,o="function"==typeof e,i=Uu(t)?ut(t.length):[];return ur(t,function(t){i[++r]=o?Ee(e,t,n):xr(t,e,n)}),i}),vu=Eo(function(t,e,n){Qn(t,n,e)});function du(t,e){return(Wu(t)?Ie:Nr)(t,ri(e,3))}var yu=Eo(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var mu=Hr(function(t,e){if(null==t)return[];var n=e.length;return n>1&&gi(t,e[0],e[1])?e=[]:n>2&&gi(e[0],e[1],e[2])&&(e=[e[0]]),Wr(t,sr(e,1),[])}),bu=pe||function(){return ge.Date.now()};function wu(t,e,n){return e=n?r:e,e=t&&null==e?t.length:e,Go(t,l,r,r,r,r,e)}function ku(t,e){var n;if("function"!=typeof e)throw new Ct(o);return t=ca(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=r),n}}var Su=Hr(function(t,e,n){var r=1;if(n.length){var o=ln(n,ni(Su));r|=c}return Go(t,r,e,n,o)}),xu=Hr(function(t,e,n){var r=3;if(n.length){var o=ln(n,ni(xu));r|=c}return Go(e,r,t,n,o)});function Au(t,e,n){var i,u,a,c,f,l,s=0,p=!1,h=!1,g=!0;if("function"!=typeof t)throw new Ct(o);function _(e){var n=i,o=u;return i=u=r,s=e,c=t.apply(o,n)}function v(t){var n=t-l;return l===r||n>=e||n<0||h&&t-s>=a}function d(){var t=bu();if(v(t))return y(t);f=Ai(d,function(t){var n=e-(t-l);return h?bn(n,a-(t-s)):n}(t))}function y(t){return f=r,g&&i?_(t):(i=u=r,c)}function m(){var t=bu(),n=v(t);if(i=arguments,u=this,l=t,n){if(f===r)return function(t){return s=t,f=Ai(d,e),p?_(t):c}(l);if(h)return vo(f),f=Ai(d,e),_(l)}return f===r&&(f=Ai(d,e)),c}return e=la(e)||0,Ku(n)&&(p=!!n.leading,a=(h="maxWait"in n)?mn(la(n.maxWait)||0,e):a,g="trailing"in n?!!n.trailing:g),m.cancel=function(){f!==r&&vo(f),s=0,i=l=u=f=r},m.flush=function(){return f===r?c:y(bu())},m}var Eu=Hr(function(t,e){return or(t,1,e)}),Tu=Hr(function(t,e,n){return or(t,la(e)||0,n)});function Lu(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Ct(o);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var u=t.apply(this,r);return n.cache=i.set(o,u)||i,u};return n.cache=new(Lu.Cache||MapCache),n}function Ou(t){if("function"!=typeof t)throw new Ct(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Lu.Cache=MapCache;var Cu=go(function(t,e){var n=(e=1==e.length&&Wu(e[0])?Ie(e[0],Xe(ri())):Ie(sr(e,1),Xe(ri()))).length;return Hr(function(r){for(var o=-1,i=bn(r.length,n);++o<i;)r[o]=e[o].call(this,r[o]);return Ee(t,this,r)})}),Ru=Hr(function(t,e){var n=ln(e,ni(Ru));return Go(t,c,r,e,n)}),ju=Hr(function(t,e){var n=ln(e,ni(ju));return Go(t,f,r,e,n)}),Nu=Jo(function(t,e){return Go(t,s,r,r,r,e)});function Iu(t,e){return t===e||t!=t&&e!=e}var Du=Bo(br),zu=Bo(function(t,e){return t>=e}),Mu=Ar(function(){return arguments}())?Ar:function(t){return Zu(t)&&zt.call(t,"callee")&&!Zt.call(t,"callee")},Wu=ut.isArray,Pu=be?Xe(be):function(t){return Zu(t)&&mr(t)==N};function Uu(t){return null!=t&&Vu(t.length)&&!qu(t)}function Bu(t){return Zu(t)&&Uu(t)}var Fu=me||lc,$u=we?Xe(we):function(t){return Zu(t)&&mr(t)==b};function Hu(t){if(!Zu(t))return!1;var e=mr(t);return e==w||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Xu(t)}function qu(t){if(!Ku(t))return!1;var e=mr(t);return e==k||e==S||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Gu(t){return"number"==typeof t&&t==ca(t)}function Vu(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=h}function Ku(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Zu(t){return null!=t&&"object"==typeof t}var Yu=ke?Xe(ke):function(t){return Zu(t)&&fi(t)==x};function Ju(t){return"number"==typeof t||Zu(t)&&mr(t)==A}function Xu(t){if(!Zu(t)||mr(t)!=E)return!1;var e=Vt(t);if(null===e)return!0;var n=zt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Dt.call(n)==Ut}var Qu=Se?Xe(Se):function(t){return Zu(t)&&mr(t)==L};var ta=xe?Xe(xe):function(t){return Zu(t)&&fi(t)==O};function ea(t){return"string"==typeof t||!Wu(t)&&Zu(t)&&mr(t)==C}function na(t){return"symbol"==typeof t||Zu(t)&&mr(t)==R}var ra=Ae?Xe(Ae):function(t){return Zu(t)&&Vu(t.length)&&!!ae[mr(t)]};var oa=Bo(jr),ia=Bo(function(t,e){return t<=e});function ua(t){if(!t)return[];if(Uu(t))return ea(t)?gn(t):xo(t);if(Xt&&t[Xt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Xt]());var e=fi(t);return(e==x?cn:e==O?sn:Ia)(t)}function aa(t){return t?(t=la(t))===p||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ca(t){var e=aa(t),n=e%1;return e==e?n?e-n:e:0}function fa(t){return t?er(ca(t),0,_):0}function la(t){if("number"==typeof t)return t;if(na(t))return g;if(Ku(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ku(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Je(t);var n=vt.test(t);return n||yt.test(t)?se(t.slice(2),n?2:8):_t.test(t)?g:+t}function sa(t){return Ao(t,Ea(t))}function pa(t){return null==t?"":ro(t)}var ha=To(function(t,e){if(yi(e)||Uu(e))Ao(e,Aa(e),t);else for(var n in e)zt.call(e,n)&&Zn(t,n,e[n])}),ga=To(function(t,e){Ao(e,Ea(e),t)}),_a=To(function(t,e,n,r){Ao(e,Ea(e),t,r)}),va=To(function(t,e,n,r){Ao(e,Aa(e),t,r)}),da=Jo(tr);var ya=Hr(function(t,e){t=Tt(t);var n=-1,o=e.length,i=o>2?e[2]:r;for(i&&gi(e[0],e[1],i)&&(o=1);++n<o;)for(var u=e[n],a=Ea(u),c=-1,f=a.length;++c<f;){var l=a[c],s=t[l];(s===r||Iu(s,Nt[l])&&!zt.call(t,l))&&(t[l]=u[l])}return t}),ma=Hr(function(t){return t.push(r,Ko),Ee(La,r,t)});function ba(t,e,n){var o=null==t?r:dr(t,e);return o===r?n:o}function wa(t,e){return null!=t&&li(t,e,kr)}var ka=zo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Pt.call(e)),t[e]=n},Ka(Ja)),Sa=zo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Pt.call(e)),zt.call(t,e)?t[e].push(n):t[e]=[n]},ri),xa=Hr(xr);function Aa(t){return Uu(t)?Hn(t):Cr(t)}function Ea(t){return Uu(t)?Hn(t,!0):Rr(t)}var Ta=To(function(t,e,n){zr(t,e,n)}),La=To(function(t,e,n,r){zr(t,e,n,r)}),Oa=Jo(function(t,e){var n={};if(null==t)return n;var r=!1;e=Ie(e,function(e){return e=ho(e,t),r||(r=e.length>1),e}),Ao(t,Qo(t),n),r&&(n=nr(n,7,Zo));for(var o=e.length;o--;)io(n,e[o]);return n});var Ca=Jo(function(t,e){return null==t?{}:function(t,e){return Pr(t,e,function(e,n){return wa(t,n)})}(t,e)});function Ra(t,e){if(null==t)return{};var n=Ie(Qo(t),function(t){return[t]});return e=ri(e),Pr(t,n,function(t,n){return e(t,n[0])})}var ja=qo(Aa),Na=qo(Ea);function Ia(t){return null==t?[]:Qe(t,Aa(t))}var Da=Ro(function(t,e,n){return e=e.toLowerCase(),t+(n?za(e):e)});function za(t){return Ha(pa(t).toLowerCase())}function Ma(t){return(t=pa(t))&&t.replace(bt,rn).replace(te,"")}var Wa=Ro(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Pa=Ro(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Ua=Co("toLowerCase");var Ba=Ro(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var Fa=Ro(function(t,e,n){return t+(n?" ":"")+Ha(e)});var $a=Ro(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Ha=Co("toUpperCase");function qa(t,e,n){return t=pa(t),(e=n?r:e)===r?function(t){return oe.test(t)}(t)?function(t){return t.match(ne)||[]}(t):function(t){return t.match(lt)||[]}(t):t.match(e)||[]}var Ga=Hr(function(t,e){try{return Ee(t,r,e)}catch(t){return Hu(t)?t:new xt(t)}}),Va=Jo(function(t,e){return Le(e,function(e){e=Ri(e),Qn(t,e,Su(t[e],t))}),t});function Ka(t){return function(){return t}}var Za=Io(),Ya=Io(!0);function Ja(t){return t}function Xa(t){return Or("function"==typeof t?t:nr(t,1))}var Qa=Hr(function(t,e){return function(n){return xr(n,t,e)}}),tc=Hr(function(t,e){return function(n){return xr(t,n,e)}});function ec(t,e,n){var r=Aa(e),o=vr(e,r);null!=n||Ku(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=vr(e,Aa(e)));var i=!(Ku(n)&&"chain"in n&&!n.chain),u=qu(t);return Le(o,function(n){var r=e[n];t[n]=r,u&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__);return(n.__actions__=xo(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,De([this.value()],arguments))})}),t}function nc(){}var rc=Wo(Ie),oc=Wo(Ce),ic=Wo(We);function uc(t){return _i(t)?Ge(Ri(t)):function(t){return function(e){return dr(e,t)}}(t)}var ac=Uo(),cc=Uo(!0);function fc(){return[]}function lc(){return!1}var sc=Mo(function(t,e){return t+e},0),pc=$o("ceil"),hc=Mo(function(t,e){return t/e},1),gc=$o("floor");var _c,vc=Mo(function(t,e){return t*e},1),dc=$o("round"),yc=Mo(function(t,e){return t-e},0);return Bn.after=function(t,e){if("function"!=typeof e)throw new Ct(o);return t=ca(t),function(){if(--t<1)return e.apply(this,arguments)}},Bn.ary=wu,Bn.assign=ha,Bn.assignIn=ga,Bn.assignInWith=_a,Bn.assignWith=va,Bn.at=da,Bn.before=ku,Bn.bind=Su,Bn.bindAll=Va,Bn.bindKey=xu,Bn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Wu(t)?t:[t]},Bn.chain=uu,Bn.chunk=function(t,e,n){e=(n?gi(t,e,n):e===r)?1:mn(ca(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var i=0,u=0,a=ut(_e(o/e));i<o;)a[u++]=Jr(t,i,i+=e);return a},Bn.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,o=[];++e<n;){var i=t[e];i&&(o[r++]=i)}return o},Bn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=ut(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return De(Wu(n)?xo(n):[n],sr(e,1))},Bn.cond=function(t){var e=null==t?0:t.length,n=ri();return t=e?Ie(t,function(t){if("function"!=typeof t[1])throw new Ct(o);return[n(t[0]),t[1]]}):[],Hr(function(n){for(var r=-1;++r<e;){var o=t[r];if(Ee(o[0],this,n))return Ee(o[1],this,n)}})},Bn.conforms=function(t){return function(t){var e=Aa(t);return function(n){return rr(n,t,e)}}(nr(t,1))},Bn.constant=Ka,Bn.countBy=fu,Bn.create=function(t,e){var n=Fn(t);return null==e?n:Xn(n,e)},Bn.curry=function t(e,n,o){var i=Go(e,8,r,r,r,r,r,n=o?r:n);return i.placeholder=t.placeholder,i},Bn.curryRight=function t(e,n,o){var i=Go(e,a,r,r,r,r,r,n=o?r:n);return i.placeholder=t.placeholder,i},Bn.debounce=Au,Bn.defaults=ya,Bn.defaultsDeep=ma,Bn.defer=Eu,Bn.delay=Tu,Bn.difference=Ii,Bn.differenceBy=Di,Bn.differenceWith=zi,Bn.drop=function(t,e,n){var o=null==t?0:t.length;return o?Jr(t,(e=n||e===r?1:ca(e))<0?0:e,o):[]},Bn.dropRight=function(t,e,n){var o=null==t?0:t.length;return o?Jr(t,0,(e=o-(e=n||e===r?1:ca(e)))<0?0:e):[]},Bn.dropRightWhile=function(t,e){return t&&t.length?ao(t,ri(e,3),!0,!0):[]},Bn.dropWhile=function(t,e){return t&&t.length?ao(t,ri(e,3),!0):[]},Bn.fill=function(t,e,n,o){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&gi(t,e,n)&&(n=0,o=i),function(t,e,n,o){var i=t.length;for((n=ca(n))<0&&(n=-n>i?0:i+n),(o=o===r||o>i?i:ca(o))<0&&(o+=i),o=n>o?0:fa(o);n<o;)t[n++]=e;return t}(t,e,n,o)):[]},Bn.filter=function(t,e){return(Wu(t)?Re:lr)(t,ri(e,3))},Bn.flatMap=function(t,e){return sr(du(t,e),1)},Bn.flatMapDeep=function(t,e){return sr(du(t,e),p)},Bn.flatMapDepth=function(t,e,n){return n=n===r?1:ca(n),sr(du(t,e),n)},Bn.flatten=Pi,Bn.flattenDeep=function(t){return(null==t?0:t.length)?sr(t,p):[]},Bn.flattenDepth=function(t,e){return(null==t?0:t.length)?sr(t,e=e===r?1:ca(e)):[]},Bn.flip=function(t){return Go(t,512)},Bn.flow=Za,Bn.flowRight=Ya,Bn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var o=t[e];r[o[0]]=o[1]}return r},Bn.functions=function(t){return null==t?[]:vr(t,Aa(t))},Bn.functionsIn=function(t){return null==t?[]:vr(t,Ea(t))},Bn.groupBy=gu,Bn.initial=function(t){return(null==t?0:t.length)?Jr(t,0,-1):[]},Bn.intersection=Bi,Bn.intersectionBy=Fi,Bn.intersectionWith=$i,Bn.invert=ka,Bn.invertBy=Sa,Bn.invokeMap=_u,Bn.iteratee=Xa,Bn.keyBy=vu,Bn.keys=Aa,Bn.keysIn=Ea,Bn.map=du,Bn.mapKeys=function(t,e){var n={};return e=ri(e,3),gr(t,function(t,r,o){Qn(n,e(t,r,o),t)}),n},Bn.mapValues=function(t,e){var n={};return e=ri(e,3),gr(t,function(t,r,o){Qn(n,r,e(t,r,o))}),n},Bn.matches=function(t){return Ir(nr(t,1))},Bn.matchesProperty=function(t,e){return Dr(t,nr(e,1))},Bn.memoize=Lu,Bn.merge=Ta,Bn.mergeWith=La,Bn.method=Qa,Bn.methodOf=tc,Bn.mixin=ec,Bn.negate=Ou,Bn.nthArg=function(t){return t=ca(t),Hr(function(e){return Mr(e,t)})},Bn.omit=Oa,Bn.omitBy=function(t,e){return Ra(t,Ou(ri(e)))},Bn.once=function(t){return ku(2,t)},Bn.orderBy=function(t,e,n,o){return null==t?[]:(Wu(e)||(e=null==e?[]:[e]),Wu(n=o?r:n)||(n=null==n?[]:[n]),Wr(t,e,n))},Bn.over=rc,Bn.overArgs=Cu,Bn.overEvery=oc,Bn.overSome=ic,Bn.partial=Ru,Bn.partialRight=ju,Bn.partition=yu,Bn.pick=Ca,Bn.pickBy=Ra,Bn.property=uc,Bn.propertyOf=function(t){return function(e){return null==t?r:dr(t,e)}},Bn.pull=qi,Bn.pullAll=Gi,Bn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Ur(t,e,ri(n,2)):t},Bn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Ur(t,e,r,n):t},Bn.pullAt=Vi,Bn.range=ac,Bn.rangeRight=cc,Bn.rearg=Nu,Bn.reject=function(t,e){return(Wu(t)?Re:lr)(t,Ou(ri(e,3)))},Bn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,o=[],i=t.length;for(e=ri(e,3);++r<i;){var u=t[r];e(u,r,t)&&(n.push(u),o.push(r))}return Br(t,o),n},Bn.rest=function(t,e){if("function"!=typeof t)throw new Ct(o);return Hr(t,e=e===r?e:ca(e))},Bn.reverse=Ki,Bn.sampleSize=function(t,e,n){return e=(n?gi(t,e,n):e===r)?1:ca(e),(Wu(t)?Gn:Gr)(t,e)},Bn.set=function(t,e,n){return null==t?t:Vr(t,e,n)},Bn.setWith=function(t,e,n,o){return o="function"==typeof o?o:r,null==t?t:Vr(t,e,n,o)},Bn.shuffle=function(t){return(Wu(t)?Vn:Yr)(t)},Bn.slice=function(t,e,n){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&gi(t,e,n)?(e=0,n=o):(e=null==e?0:ca(e),n=n===r?o:ca(n)),Jr(t,e,n)):[]},Bn.sortBy=mu,Bn.sortedUniq=function(t){return t&&t.length?eo(t):[]},Bn.sortedUniqBy=function(t,e){return t&&t.length?eo(t,ri(e,2)):[]},Bn.split=function(t,e,n){return n&&"number"!=typeof n&&gi(t,e,n)&&(e=n=r),(n=n===r?_:n>>>0)?(t=pa(t))&&("string"==typeof e||null!=e&&!Qu(e))&&!(e=ro(e))&&an(t)?_o(gn(t),0,n):t.split(e,n):[]},Bn.spread=function(t,e){if("function"!=typeof t)throw new Ct(o);return e=null==e?0:mn(ca(e),0),Hr(function(n){var r=n[e],o=_o(n,0,e);return r&&De(o,r),Ee(t,this,o)})},Bn.tail=function(t){var e=null==t?0:t.length;return e?Jr(t,1,e):[]},Bn.take=function(t,e,n){return t&&t.length?Jr(t,0,(e=n||e===r?1:ca(e))<0?0:e):[]},Bn.takeRight=function(t,e,n){var o=null==t?0:t.length;return o?Jr(t,(e=o-(e=n||e===r?1:ca(e)))<0?0:e,o):[]},Bn.takeRightWhile=function(t,e){return t&&t.length?ao(t,ri(e,3),!1,!0):[]},Bn.takeWhile=function(t,e){return t&&t.length?ao(t,ri(e,3)):[]},Bn.tap=function(t,e){return e(t),t},Bn.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new Ct(o);return Ku(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Au(t,e,{leading:r,maxWait:e,trailing:i})},Bn.thru=au,Bn.toArray=ua,Bn.toPairs=ja,Bn.toPairsIn=Na,Bn.toPath=function(t){return Wu(t)?Ie(t,Ri):na(t)?[t]:xo(Ci(pa(t)))},Bn.toPlainObject=sa,Bn.transform=function(t,e,n){var r=Wu(t),o=r||Fu(t)||ra(t);if(e=ri(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:Ku(t)&&qu(i)?Fn(Vt(t)):{}}return(o?Le:gr)(t,function(t,r,o){return e(n,t,r,o)}),n},Bn.unary=function(t){return wu(t,1)},Bn.union=Zi,Bn.unionBy=Yi,Bn.unionWith=Ji,Bn.uniq=function(t){return t&&t.length?oo(t):[]},Bn.uniqBy=function(t,e){return t&&t.length?oo(t,ri(e,2)):[]},Bn.uniqWith=function(t,e){return e="function"==typeof e?e:r,t&&t.length?oo(t,r,e):[]},Bn.unset=function(t,e){return null==t||io(t,e)},Bn.unzip=Xi,Bn.unzipWith=Qi,Bn.update=function(t,e,n){return null==t?t:uo(t,e,po(n))},Bn.updateWith=function(t,e,n,o){return o="function"==typeof o?o:r,null==t?t:uo(t,e,po(n),o)},Bn.values=Ia,Bn.valuesIn=function(t){return null==t?[]:Qe(t,Ea(t))},Bn.without=tu,Bn.words=qa,Bn.wrap=function(t,e){return Ru(po(e),t)},Bn.xor=eu,Bn.xorBy=nu,Bn.xorWith=ru,Bn.zip=ou,Bn.zipObject=function(t,e){return lo(t||[],e||[],Zn)},Bn.zipObjectDeep=function(t,e){return lo(t||[],e||[],Vr)},Bn.zipWith=iu,Bn.entries=ja,Bn.entriesIn=Na,Bn.extend=ga,Bn.extendWith=_a,ec(Bn,Bn),Bn.add=sc,Bn.attempt=Ga,Bn.camelCase=Da,Bn.capitalize=za,Bn.ceil=pc,Bn.clamp=function(t,e,n){return n===r&&(n=e,e=r),n!==r&&(n=(n=la(n))==n?n:0),e!==r&&(e=(e=la(e))==e?e:0),er(la(t),e,n)},Bn.clone=function(t){return nr(t,4)},Bn.cloneDeep=function(t){return nr(t,5)},Bn.cloneDeepWith=function(t,e){return nr(t,5,e="function"==typeof e?e:r)},Bn.cloneWith=function(t,e){return nr(t,4,e="function"==typeof e?e:r)},Bn.conformsTo=function(t,e){return null==e||rr(t,e,Aa(e))},Bn.deburr=Ma,Bn.defaultTo=function(t,e){return null==t||t!=t?e:t},Bn.divide=hc,Bn.endsWith=function(t,e,n){t=pa(t),e=ro(e);var o=t.length,i=n=n===r?o:er(ca(n),0,o);return(n-=e.length)>=0&&t.slice(n,i)==e},Bn.eq=Iu,Bn.escape=function(t){return(t=pa(t))&&Y.test(t)?t.replace(K,on):t},Bn.escapeRegExp=function(t){return(t=pa(t))&&ot.test(t)?t.replace(rt,"\\$&"):t},Bn.every=function(t,e,n){var o=Wu(t)?Ce:cr;return n&&gi(t,e,n)&&(e=r),o(t,ri(e,3))},Bn.find=lu,Bn.findIndex=Mi,Bn.findKey=function(t,e){return Ue(t,ri(e,3),gr)},Bn.findLast=su,Bn.findLastIndex=Wi,Bn.findLastKey=function(t,e){return Ue(t,ri(e,3),_r)},Bn.floor=gc,Bn.forEach=pu,Bn.forEachRight=hu,Bn.forIn=function(t,e){return null==t?t:pr(t,ri(e,3),Ea)},Bn.forInRight=function(t,e){return null==t?t:hr(t,ri(e,3),Ea)},Bn.forOwn=function(t,e){return t&&gr(t,ri(e,3))},Bn.forOwnRight=function(t,e){return t&&_r(t,ri(e,3))},Bn.get=ba,Bn.gt=Du,Bn.gte=zu,Bn.has=function(t,e){return null!=t&&li(t,e,wr)},Bn.hasIn=wa,Bn.head=Ui,Bn.identity=Ja,Bn.includes=function(t,e,n,r){t=Uu(t)?t:Ia(t),n=n&&!r?ca(n):0;var o=t.length;return n<0&&(n=mn(o+n,0)),ea(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&Fe(t,e,n)>-1},Bn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:ca(n);return o<0&&(o=mn(r+o,0)),Fe(t,e,o)},Bn.inRange=function(t,e,n){return e=aa(e),n===r?(n=e,e=0):n=aa(n),function(t,e,n){return t>=bn(e,n)&&t<mn(e,n)}(t=la(t),e,n)},Bn.invoke=xa,Bn.isArguments=Mu,Bn.isArray=Wu,Bn.isArrayBuffer=Pu,Bn.isArrayLike=Uu,Bn.isArrayLikeObject=Bu,Bn.isBoolean=function(t){return!0===t||!1===t||Zu(t)&&mr(t)==m},Bn.isBuffer=Fu,Bn.isDate=$u,Bn.isElement=function(t){return Zu(t)&&1===t.nodeType&&!Xu(t)},Bn.isEmpty=function(t){if(null==t)return!0;if(Uu(t)&&(Wu(t)||"string"==typeof t||"function"==typeof t.splice||Fu(t)||ra(t)||Mu(t)))return!t.length;var e=fi(t);if(e==x||e==O)return!t.size;if(yi(t))return!Cr(t).length;for(var n in t)if(zt.call(t,n))return!1;return!0},Bn.isEqual=function(t,e){return Er(t,e)},Bn.isEqualWith=function(t,e,n){var o=(n="function"==typeof n?n:r)?n(t,e):r;return o===r?Er(t,e,r,n):!!o},Bn.isError=Hu,Bn.isFinite=function(t){return"number"==typeof t&&Pe(t)},Bn.isFunction=qu,Bn.isInteger=Gu,Bn.isLength=Vu,Bn.isMap=Yu,Bn.isMatch=function(t,e){return t===e||Tr(t,e,ii(e))},Bn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:r,Tr(t,e,ii(e),n)},Bn.isNaN=function(t){return Ju(t)&&t!=+t},Bn.isNative=function(t){if(di(t))throw new xt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Lr(t)},Bn.isNil=function(t){return null==t},Bn.isNull=function(t){return null===t},Bn.isNumber=Ju,Bn.isObject=Ku,Bn.isObjectLike=Zu,Bn.isPlainObject=Xu,Bn.isRegExp=Qu,Bn.isSafeInteger=function(t){return Gu(t)&&t>=-9007199254740991&&t<=h},Bn.isSet=ta,Bn.isString=ea,Bn.isSymbol=na,Bn.isTypedArray=ra,Bn.isUndefined=function(t){return t===r},Bn.isWeakMap=function(t){return Zu(t)&&fi(t)==j},Bn.isWeakSet=function(t){return Zu(t)&&"[object WeakSet]"==mr(t)},Bn.join=function(t,e){return null==t?"":Ve.call(t,e)},Bn.kebabCase=Wa,Bn.last=Hi,Bn.lastIndexOf=function(t,e,n){var o=null==t?0:t.length;if(!o)return-1;var i=o;return n!==r&&(i=(i=ca(n))<0?mn(o+i,0):bn(i,o-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):Be(t,He,i,!0)},Bn.lowerCase=Pa,Bn.lowerFirst=Ua,Bn.lt=oa,Bn.lte=ia,Bn.max=function(t){return t&&t.length?fr(t,Ja,br):r},Bn.maxBy=function(t,e){return t&&t.length?fr(t,ri(e,2),br):r},Bn.mean=function(t){return qe(t,Ja)},Bn.meanBy=function(t,e){return qe(t,ri(e,2))},Bn.min=function(t){return t&&t.length?fr(t,Ja,jr):r},Bn.minBy=function(t,e){return t&&t.length?fr(t,ri(e,2),jr):r},Bn.stubArray=fc,Bn.stubFalse=lc,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=vc,Bn.nth=function(t,e){return t&&t.length?Mr(t,ca(e)):r},Bn.noConflict=function(){return ge._===this&&(ge._=Bt),this},Bn.noop=nc,Bn.now=bu,Bn.pad=function(t,e,n){t=pa(t);var r=(e=ca(e))?hn(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return Po(ve(o),n)+t+Po(_e(o),n)},Bn.padEnd=function(t,e,n){t=pa(t);var r=(e=ca(e))?hn(t):0;return e&&r<e?t+Po(e-r,n):t},Bn.padStart=function(t,e,n){t=pa(t);var r=(e=ca(e))?hn(t):0;return e&&r<e?Po(e-r,n)+t:t},Bn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),kn(pa(t).replace(it,""),e||0)},Bn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&gi(t,e,n)&&(e=n=r),n===r&&("boolean"==typeof e?(n=e,e=r):"boolean"==typeof t&&(n=t,t=r)),t===r&&e===r?(t=0,e=1):(t=aa(t),e===r?(e=t,t=0):e=aa(e)),t>e){var o=t;t=e,e=o}if(n||t%1||e%1){var i=Sn();return bn(t+i*(e-t+le("1e-"+((i+"").length-1))),e)}return Fr(t,e)},Bn.reduce=function(t,e,n){var r=Wu(t)?ze:Ke,o=arguments.length<3;return r(t,ri(e,4),n,o,ur)},Bn.reduceRight=function(t,e,n){var r=Wu(t)?Me:Ke,o=arguments.length<3;return r(t,ri(e,4),n,o,ar)},Bn.repeat=function(t,e,n){return e=(n?gi(t,e,n):e===r)?1:ca(e),$r(pa(t),e)},Bn.replace=function(){var t=arguments,e=pa(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Bn.result=function(t,e,n){var o=-1,i=(e=ho(e,t)).length;for(i||(i=1,t=r);++o<i;){var u=null==t?r:t[Ri(e[o])];u===r&&(o=i,u=n),t=qu(u)?u.call(t):u}return t},Bn.round=dc,Bn.runInContext=t,Bn.sample=function(t){return(Wu(t)?qn:qr)(t)},Bn.size=function(t){if(null==t)return 0;if(Uu(t))return ea(t)?hn(t):t.length;var e=fi(t);return e==x||e==O?t.size:Cr(t).length},Bn.snakeCase=Ba,Bn.some=function(t,e,n){var o=Wu(t)?We:Xr;return n&&gi(t,e,n)&&(e=r),o(t,ri(e,3))},Bn.sortedIndex=function(t,e){return Qr(t,e)},Bn.sortedIndexBy=function(t,e,n){return to(t,e,ri(n,2))},Bn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=Qr(t,e);if(r<n&&Iu(t[r],e))return r}return-1},Bn.sortedLastIndex=function(t,e){return Qr(t,e,!0)},Bn.sortedLastIndexBy=function(t,e,n){return to(t,e,ri(n,2),!0)},Bn.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=Qr(t,e,!0)-1;if(Iu(t[n],e))return n}return-1},Bn.startCase=Fa,Bn.startsWith=function(t,e,n){return t=pa(t),n=null==n?0:er(ca(n),0,t.length),e=ro(e),t.slice(n,n+e.length)==e},Bn.subtract=yc,Bn.sum=function(t){return t&&t.length?Ze(t,Ja):0},Bn.sumBy=function(t,e){return t&&t.length?Ze(t,ri(e,2)):0},Bn.template=function(t,e,n){var o=Bn.templateSettings;n&&gi(t,e,n)&&(e=r),t=pa(t),e=_a({},e,o,Vo);var i,u,a=_a({},e.imports,o.imports,Vo),c=Aa(a),f=Qe(a,c),l=0,s=e.interpolate||wt,p="__p += '",h=Lt((e.escape||wt).source+"|"+s.source+"|"+(s===Q?ht:wt).source+"|"+(e.evaluate||wt).source+"|$","g"),g="//# sourceURL="+(zt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ue+"]")+"\n";t.replace(h,function(e,n,r,o,a,c){return r||(r=o),p+=t.slice(l,c).replace(kt,un),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),a&&(u=!0,p+="';\n"+a+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=c+e.length,e}),p+="';\n";var _=zt.call(e,"variable")&&e.variable;if(_){if(st.test(_))throw new xt("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(u?p.replace(H,""):p).replace(q,"$1").replace(G,"$1;"),p="function("+(_||"obj")+") {\n"+(_?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var v=Ga(function(){return At(c,g+"return "+p).apply(r,f)});if(v.source=p,Hu(v))throw v;return v},Bn.times=function(t,e){if((t=ca(t))<1||t>h)return[];var n=_,r=bn(t,_);e=ri(e),t-=_;for(var o=Ye(r,e);++n<t;)e(n);return o},Bn.toFinite=aa,Bn.toInteger=ca,Bn.toLength=fa,Bn.toLower=function(t){return pa(t).toLowerCase()},Bn.toNumber=la,Bn.toSafeInteger=function(t){return t?er(ca(t),-9007199254740991,h):0===t?t:0},Bn.toString=pa,Bn.toUpper=function(t){return pa(t).toUpperCase()},Bn.trim=function(t,e,n){if((t=pa(t))&&(n||e===r))return Je(t);if(!t||!(e=ro(e)))return t;var o=gn(t),i=gn(e);return _o(o,en(o,i),nn(o,i)+1).join("")},Bn.trimEnd=function(t,e,n){if((t=pa(t))&&(n||e===r))return t.slice(0,_n(t)+1);if(!t||!(e=ro(e)))return t;var o=gn(t);return _o(o,0,nn(o,gn(e))+1).join("")},Bn.trimStart=function(t,e,n){if((t=pa(t))&&(n||e===r))return t.replace(it,"");if(!t||!(e=ro(e)))return t;var o=gn(t);return _o(o,en(o,gn(e))).join("")},Bn.truncate=function(t,e){var n=30,o="...";if(Ku(e)){var i="separator"in e?e.separator:i;n="length"in e?ca(e.length):n,o="omission"in e?ro(e.omission):o}var u=(t=pa(t)).length;if(an(t)){var a=gn(t);u=a.length}if(n>=u)return t;var c=n-hn(o);if(c<1)return o;var f=a?_o(a,0,c).join(""):t.slice(0,c);if(i===r)return f+o;if(a&&(c+=f.length-c),Qu(i)){if(t.slice(c).search(i)){var l,s=f;for(i.global||(i=Lt(i.source,pa(gt.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var p=l.index;f=f.slice(0,p===r?c:p)}}else if(t.indexOf(ro(i),c)!=c){var h=f.lastIndexOf(i);h>-1&&(f=f.slice(0,h))}return f+o},Bn.unescape=function(t){return(t=pa(t))&&Z.test(t)?t.replace(V,vn):t},Bn.uniqueId=function(t){var e=++Mt;return pa(t)+e},Bn.upperCase=$a,Bn.upperFirst=Ha,Bn.each=pu,Bn.eachRight=hu,Bn.first=Ui,ec(Bn,(_c={},gr(Bn,function(t,e){zt.call(Bn.prototype,e)||(_c[e]=t)}),_c),{chain:!1}),Bn.VERSION="4.17.21",Le(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){Bn[t].placeholder=Bn}),Le(["drop","take"],function(t,e){LazyWrapper.prototype[t]=function(n){n=n===r?1:mn(ca(n),0);var o=this.__filtered__&&!e?new LazyWrapper(this):this.clone();return o.__filtered__?o.__takeCount__=bn(n,o.__takeCount__):o.__views__.push({size:bn(n,_),type:t+(o.__dir__<0?"Right":"")}),o},LazyWrapper.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Le(["filter","map","takeWhile"],function(t,e){var n=e+1,r=1==n||3==n;LazyWrapper.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:ri(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),Le(["head","last"],function(t,e){var n="take"+(e?"Right":"");LazyWrapper.prototype[t]=function(){return this[n](1).value()[0]}}),Le(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");LazyWrapper.prototype[t]=function(){return this.__filtered__?new LazyWrapper(this):this[n](1)}}),LazyWrapper.prototype.compact=function(){return this.filter(Ja)},LazyWrapper.prototype.find=function(t){return this.filter(t).head()},LazyWrapper.prototype.findLast=function(t){return this.reverse().find(t)},LazyWrapper.prototype.invokeMap=Hr(function(t,e){return"function"==typeof t?new LazyWrapper(this):this.map(function(n){return xr(n,t,e)})}),LazyWrapper.prototype.reject=function(t){return this.filter(Ou(ri(t)))},LazyWrapper.prototype.slice=function(t,e){t=ca(t);var n=this;return n.__filtered__&&(t>0||e<0)?new LazyWrapper(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==r&&(n=(e=ca(e))<0?n.dropRight(-e):n.take(e-t)),n)},LazyWrapper.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},LazyWrapper.prototype.toArray=function(){return this.take(_)},gr(LazyWrapper.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),i=Bn[o?"take"+("last"==e?"Right":""):e],u=o||/^find/.test(e);i&&(Bn.prototype[e]=function(){var e=this.__wrapped__,a=o?[1]:arguments,c=e instanceof LazyWrapper,f=a[0],l=c||Wu(e),s=function(t){var e=i.apply(Bn,De([t],a));return o&&p?e[0]:e};l&&n&&"function"==typeof f&&1!=f.length&&(c=l=!1);var p=this.__chain__,h=!!this.__actions__.length,g=u&&!p,_=c&&!h;if(!u&&l){e=_?e:new LazyWrapper(this);var v=t.apply(e,a);return v.__actions__.push({func:au,args:[s],thisArg:r}),new LodashWrapper(v,p)}return g&&_?t.apply(this,a):(v=this.thru(s),g?o?v.value()[0]:v.value():v)})}),Le(["pop","push","shift","sort","splice","unshift"],function(t){var e=Rt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Bn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var o=this.value();return e.apply(Wu(o)?o:[],t)}return this[n](function(n){return e.apply(Wu(n)?n:[],t)})}}),gr(LazyWrapper.prototype,function(t,e){var n=Bn[e];if(n){var r=n.name+"";zt.call(jn,r)||(jn[r]=[]),jn[r].push({name:e,func:n})}}),jn[Do(r,2).name]=[{name:"wrapper",func:r}],LazyWrapper.prototype.clone=function(){var t=new LazyWrapper(this.__wrapped__);return t.__actions__=xo(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=xo(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=xo(this.__views__),t},LazyWrapper.prototype.reverse=function(){if(this.__filtered__){var t=new LazyWrapper(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},LazyWrapper.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Wu(t),r=e<0,o=n?t.length:0,i=function(t,e,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],u=i.size;switch(i.type){case"drop":t+=u;break;case"dropRight":e-=u;break;case"take":e=bn(e,t+u);break;case"takeRight":t=mn(t,e-u)}}return{start:t,end:e}}(0,o,this.__views__),u=i.start,a=i.end,c=a-u,f=r?a:u-1,l=this.__iteratees__,s=l.length,p=0,h=bn(c,this.__takeCount__);if(!n||!r&&o==c&&h==c)return co(t,this.__actions__);var g=[];t:for(;c--&&p<h;){for(var _=-1,v=t[f+=e];++_<s;){var d=l[_],y=d.iteratee,m=d.type,b=y(v);if(2==m)v=b;else if(!b){if(1==m)continue t;break t}}g[p++]=v}return g},Bn.prototype.at=cu,Bn.prototype.chain=function(){return uu(this)},Bn.prototype.commit=function(){return new LodashWrapper(this.value(),this.__chain__)},Bn.prototype.next=function(){this.__values__===r&&(this.__values__=ua(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?r:this.__values__[this.__index__++]}},Bn.prototype.plant=function(t){for(var e,n=this;n instanceof $n;){var o=Ni(n);o.__index__=0,o.__values__=r,e?i.__wrapped__=o:e=o;var i=o;n=n.__wrapped__}return i.__wrapped__=t,e},Bn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof LazyWrapper){var e=t;return this.__actions__.length&&(e=new LazyWrapper(this)),(e=e.reverse()).__actions__.push({func:au,args:[Ki],thisArg:r}),new LodashWrapper(e,this.__chain__)}return this.thru(Ki)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return co(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,Xt&&(Bn.prototype[Xt]=function(){return this}),Bn}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(ge._=dn,define(function(){return dn})):ve?((ve.exports=dn)._=dn,_e._=dn):ge._=dn}.call(this)},362:(t,e,n)=>{"use strict";var r=n(441);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,u){if(u!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},403:(t,e,n)=>{"use strict";var r=n(664),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,u=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,f=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,s=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,g=o?Symbol.for("react.memo"):60115,_=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function d(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function b(t,e,n){this.props=t,this.context=e,this.refs=m,this.updater=n||y}function w(){}function k(t,e,n){this.props=t,this.context=e,this.refs=m,this.updater=n||y}b.prototype.isReactComponent={},b.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error(d(85));this.updater.enqueueSetState(this,t,e,"setState")},b.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},w.prototype=b.prototype;var S=k.prototype=new w;S.constructor=k,r(S,b.prototype),S.isPureReactComponent=!0;var x={current:null},A=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function T(t,e,n){var r,o={},u=null,a=null;if(null!=e)for(r in void 0!==e.ref&&(a=e.ref),void 0!==e.key&&(u=""+e.key),e)A.call(e,r)&&!E.hasOwnProperty(r)&&(o[r]=e[r]);var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){for(var f=Array(c),l=0;l<c;l++)f[l]=arguments[l+2];o.children=f}if(t&&t.defaultProps)for(r in c=t.defaultProps)void 0===o[r]&&(o[r]=c[r]);return{$$typeof:i,type:t,key:u,ref:a,props:o,_owner:x.current}}function L(t){return"object"==typeof t&&null!==t&&t.$$typeof===i}var O=/\/+/g,C=[];function R(t,e,n,r){if(C.length){var o=C.pop();return o.result=t,o.keyPrefix=e,o.func=n,o.context=r,o.count=0,o}return{result:t,keyPrefix:e,func:n,context:r,count:0}}function j(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>C.length&&C.push(t)}function N(t,e,n,r){var o=typeof t;"undefined"!==o&&"boolean"!==o||(t=null);var a=!1;if(null===t)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case i:case u:a=!0}}if(a)return n(r,t,""===e?"."+D(t,0):e),1;if(a=0,e=""===e?".":e+":",Array.isArray(t))for(var c=0;c<t.length;c++){var f=e+D(o=t[c],c);a+=N(o,f,n,r)}else if(null===t||"object"!=typeof t?f=null:f="function"==typeof(f=v&&t[v]||t["@@iterator"])?f:null,"function"==typeof f)for(t=f.call(t),c=0;!(o=t.next()).done;)a+=N(o=o.value,f=e+D(o,c++),n,r);else if("object"===o)throw n=""+t,Error(d(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return a}function I(t,e,n){return null==t?0:N(t,"",e,n)}function D(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(t){return e[t]})}(t.key):e.toString(36)}function z(t,e){t.func.call(t.context,e,t.count++)}function M(t,e,n){var r=t.result,o=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?W(t,r,n,function(t){return t}):null!=t&&(L(t)&&(t=function(t,e){return{$$typeof:i,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(t,o+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(O,"$&/")+"/")+n)),r.push(t))}function W(t,e,n,r,o){var i="";null!=n&&(i=(""+n).replace(O,"$&/")+"/"),I(t,M,e=R(e,i,r,o)),j(e)}var P={current:null};function U(){var t=P.current;if(null===t)throw Error(d(321));return t}var B={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:r};e.Children={map:function(t,e,n){if(null==t)return t;var r=[];return W(t,r,null,e,n),r},forEach:function(t,e,n){if(null==t)return t;I(t,z,e=R(null,null,e,n)),j(e)},count:function(t){return I(t,function(){return null},null)},toArray:function(t){var e=[];return W(t,e,null,function(t){return t}),e},only:function(t){if(!L(t))throw Error(d(143));return t}},e.Component=b,e.Fragment=a,e.Profiler=f,e.PureComponent=k,e.StrictMode=c,e.Suspense=h,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,e.cloneElement=function(t,e,n){if(null==t)throw Error(d(267,t));var o=r({},t.props),u=t.key,a=t.ref,c=t._owner;if(null!=e){if(void 0!==e.ref&&(a=e.ref,c=x.current),void 0!==e.key&&(u=""+e.key),t.type&&t.type.defaultProps)var f=t.type.defaultProps;for(l in e)A.call(e,l)&&!E.hasOwnProperty(l)&&(o[l]=void 0===e[l]&&void 0!==f?f[l]:e[l])}var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){f=Array(l);for(var s=0;s<l;s++)f[s]=arguments[s+2];o.children=f}return{$$typeof:i,type:t.type,key:u,ref:a,props:o,_owner:c}},e.createContext=function(t,e){return void 0===e&&(e=null),(t={$$typeof:s,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:t},t.Consumer=t},e.createElement=T,e.createFactory=function(t){var e=T.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:p,render:t}},e.isValidElement=L,e.lazy=function(t){return{$$typeof:_,_ctor:t,_status:-1,_result:null}},e.memo=function(t,e){return{$$typeof:g,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return U().useCallback(t,e)},e.useContext=function(t,e){return U().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return U().useEffect(t,e)},e.useImperativeHandle=function(t,e,n){return U().useImperativeHandle(t,e,n)},e.useLayoutEffect=function(t,e){return U().useLayoutEffect(t,e)},e.useMemo=function(t,e){return U().useMemo(t,e)},e.useReducer=function(t,e,n){return U().useReducer(t,e,n)},e.useRef=function(t){return U().useRef(t)},e.useState=function(t){return U().useState(t)},e.version="16.14.0"},441:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},452:t=>{!function(){"use strict";var e={}.hasOwnProperty;function n(){for(var t="",e=0;e<arguments.length;e++){var n=arguments[e];n&&(t=o(t,r(n)))}return t}function r(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var r="";for(var i in t)e.call(t,i)&&t[i]&&(r=o(r,i));return r}function o(t,e){return e?t?t+" "+e:t+e:t}t.exports?(n.default=n,t.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return n}):window.classNames=n}()},523:(t,e,n)=>{!function(){var e=n(919),r=n(987).utf8,o=n(634),i=n(987).bin,u=function(t,n){t.constructor==String?t=n&&"binary"===n.encoding?i.stringToBytes(t):r.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var a=e.bytesToWords(t),c=8*t.length,f=1732584193,l=-271733879,s=-1732584194,p=271733878,h=0;h<a.length;h++)a[h]=16711935&(a[h]<<8|a[h]>>>24)|4278255360&(a[h]<<24|a[h]>>>8);a[c>>>5]|=128<<c%32,a[14+(c+64>>>9<<4)]=c;var g=u._ff,_=u._gg,v=u._hh,d=u._ii;for(h=0;h<a.length;h+=16){var y=f,m=l,b=s,w=p;f=g(f,l,s,p,a[h+0],7,-680876936),p=g(p,f,l,s,a[h+1],12,-389564586),s=g(s,p,f,l,a[h+2],17,606105819),l=g(l,s,p,f,a[h+3],22,-1044525330),f=g(f,l,s,p,a[h+4],7,-176418897),p=g(p,f,l,s,a[h+5],12,1200080426),s=g(s,p,f,l,a[h+6],17,-1473231341),l=g(l,s,p,f,a[h+7],22,-45705983),f=g(f,l,s,p,a[h+8],7,1770035416),p=g(p,f,l,s,a[h+9],12,-1958414417),s=g(s,p,f,l,a[h+10],17,-42063),l=g(l,s,p,f,a[h+11],22,-1990404162),f=g(f,l,s,p,a[h+12],7,1804603682),p=g(p,f,l,s,a[h+13],12,-40341101),s=g(s,p,f,l,a[h+14],17,-1502002290),f=_(f,l=g(l,s,p,f,a[h+15],22,1236535329),s,p,a[h+1],5,-165796510),p=_(p,f,l,s,a[h+6],9,-1069501632),s=_(s,p,f,l,a[h+11],14,643717713),l=_(l,s,p,f,a[h+0],20,-373897302),f=_(f,l,s,p,a[h+5],5,-701558691),p=_(p,f,l,s,a[h+10],9,38016083),s=_(s,p,f,l,a[h+15],14,-660478335),l=_(l,s,p,f,a[h+4],20,-405537848),f=_(f,l,s,p,a[h+9],5,568446438),p=_(p,f,l,s,a[h+14],9,-1019803690),s=_(s,p,f,l,a[h+3],14,-187363961),l=_(l,s,p,f,a[h+8],20,1163531501),f=_(f,l,s,p,a[h+13],5,-1444681467),p=_(p,f,l,s,a[h+2],9,-51403784),s=_(s,p,f,l,a[h+7],14,1735328473),f=v(f,l=_(l,s,p,f,a[h+12],20,-1926607734),s,p,a[h+5],4,-378558),p=v(p,f,l,s,a[h+8],11,-2022574463),s=v(s,p,f,l,a[h+11],16,1839030562),l=v(l,s,p,f,a[h+14],23,-35309556),f=v(f,l,s,p,a[h+1],4,-1530992060),p=v(p,f,l,s,a[h+4],11,1272893353),s=v(s,p,f,l,a[h+7],16,-155497632),l=v(l,s,p,f,a[h+10],23,-1094730640),f=v(f,l,s,p,a[h+13],4,681279174),p=v(p,f,l,s,a[h+0],11,-358537222),s=v(s,p,f,l,a[h+3],16,-722521979),l=v(l,s,p,f,a[h+6],23,76029189),f=v(f,l,s,p,a[h+9],4,-640364487),p=v(p,f,l,s,a[h+12],11,-421815835),s=v(s,p,f,l,a[h+15],16,530742520),f=d(f,l=v(l,s,p,f,a[h+2],23,-995338651),s,p,a[h+0],6,-198630844),p=d(p,f,l,s,a[h+7],10,1126891415),s=d(s,p,f,l,a[h+14],15,-1416354905),l=d(l,s,p,f,a[h+5],21,-57434055),f=d(f,l,s,p,a[h+12],6,1700485571),p=d(p,f,l,s,a[h+3],10,-1894986606),s=d(s,p,f,l,a[h+10],15,-1051523),l=d(l,s,p,f,a[h+1],21,-2054922799),f=d(f,l,s,p,a[h+8],6,1873313359),p=d(p,f,l,s,a[h+15],10,-30611744),s=d(s,p,f,l,a[h+6],15,-1560198380),l=d(l,s,p,f,a[h+13],21,1309151649),f=d(f,l,s,p,a[h+4],6,-145523070),p=d(p,f,l,s,a[h+11],10,-1120210379),s=d(s,p,f,l,a[h+2],15,718787259),l=d(l,s,p,f,a[h+9],21,-343485551),f=f+y>>>0,l=l+m>>>0,s=s+b>>>0,p=p+w>>>0}return e.endian([f,l,s,p])};u._ff=function(t,e,n,r,o,i,u){var a=t+(e&n|~e&r)+(o>>>0)+u;return(a<<i|a>>>32-i)+e},u._gg=function(t,e,n,r,o,i,u){var a=t+(e&r|n&~r)+(o>>>0)+u;return(a<<i|a>>>32-i)+e},u._hh=function(t,e,n,r,o,i,u){var a=t+(e^n^r)+(o>>>0)+u;return(a<<i|a>>>32-i)+e},u._ii=function(t,e,n,r,o,i,u){var a=t+(n^(e|~r))+(o>>>0)+u;return(a<<i|a>>>32-i)+e},u._blocksize=16,u._digestsize=16,t.exports=function(t,n){if(null==t)throw new Error("Illegal argument "+t);var r=e.wordsToBytes(u(t,n));return n&&n.asBytes?r:n&&n.asString?i.bytesToString(r):e.bytesToHex(r)}}()},532:t=>{t.exports=function(t,e){var n,r,o=0;function i(){var i,u,a=n,c=arguments.length;t:for(;a;){if(a.args.length===arguments.length){for(u=0;u<c;u++)if(a.args[u]!==arguments[u]){a=a.next;continue t}return a!==n&&(a===r&&(r=a.prev),a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.next=n,a.prev=null,n.prev=a,n=a),a.val}a=a.next}for(i=new Array(c),u=0;u<c;u++)i[u]=arguments[u];return a={args:i,val:t.apply(null,i)},n?(n.prev=a,a.next=n):r=a,o===e.maxSize?(r=r.prev).next=null:o++,n=a,a.val}return e=e||{},i.clear=function(){n=null,r=null,o=0},i}},540:(t,e,n)=>{"use strict";t.exports=n(192)},634:t=>{function e(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}t.exports=function(t){return null!=t&&(e(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}(t)||!!t._isBuffer)}},664:t=>{"use strict";var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,o){for(var i,u,a=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),c=1;c<arguments.length;c++){for(var f in i=Object(arguments[c]))n.call(i,f)&&(a[f]=i[f]);if(e){u=e(i);for(var l=0;l<u.length;l++)r.call(i,u[l])&&(a[u[l]]=i[u[l]])}}return a}},688:(t,e,n)=>{t.exports=n(362)()},696:(t,e,n)=>{"use strict";t.exports=n(403)},919:t=>{var e,n;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&n.rotl(t,8)|4278255360&n.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=n.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],n=0,r=0;n<t.length;n++,r+=8)e[r>>>5]|=t[n]<<24-r%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n<t.length;n++)e.push((t[n]>>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n<t.length;n+=2)e.push(parseInt(t.substr(n,2),16));return e},bytesToBase64:function(t){for(var n=[],r=0;r<t.length;r+=3)for(var o=t[r]<<16|t[r+1]<<8|t[r+2],i=0;i<4;i++)8*r+6*i<=8*t.length?n.push(e.charAt(o>>>6*(3-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,o=0;r<t.length;o=++r%4)0!=o&&n.push((e.indexOf(t.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|e.indexOf(t.charAt(r))>>>6-2*o);return n}},t.exports=n},987:t=>{var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}};t.exports=e}},e={};function __webpack_require__(n){var r=e[n];if(void 0!==r)return r.exports;var o=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(o.exports,o,o.exports,__webpack_require__),o.loaded=!0,o.exports}__webpack_require__.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=(t,e)=>{for(var n in e)__webpack_require__.o(e,n)&&!__webpack_require__.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),__webpack_require__.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{"use strict";const t=wp.plugins,e=googlesitekit.data;var n=__webpack_require__.n(e);const r="core/modules",o="kmAnalyticsTopCategories",i="core/editor",u="modules/reader-revenue-manager",a=googlesitekit.i18n,c=((0,a.__)("Specific content types","google-site-kit"),(0,a.__)("Specified pages","google-site-kit"),(0,a.__)("Site wide","google-site-kit"),"reader-revenue-manager"),f=wp.editPost,l=wp.editor;var s,p=__webpack_require__(696);function h(){return h=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},h.apply(null,arguments)}const g=t=>p.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 44"},t),s||(s=p.createElement("g",{fill:"none",fillRule:"evenodd"},p.createElement("path",{fill:"#FBBC05",d:"m2.253 12.252 7.399 5.658A13 13 0 0 0 9 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22 22 0 0 1 0 22c0-3.506.81-6.814 2.253-9.748"}),p.createElement("path",{fill:"#EA4335",d:"m9.652 17.91-7.4-5.658A21.94 21.94 0 0 1 22 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91"}),p.createElement("path",{fill:"#34A853",d:"m2.25 31.742 7.396-5.67A12.975 12.975 0 0 0 22 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.94 21.94 0 0 1 2.25 31.742"}),p.createElement("path",{fill:"#4285F4",d:"m36.34 38.52-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52"})))),_=wp.components,v=wp.element;var d=__webpack_require__(540);const{select:y,dispatch:m}=n();function SettingsForm(){const t=y(u).getProductIDs()||[],e=`googlesitekit_rrm_${y(u).getPublicationID()}:productID`,n=y(i).getEditedPostAttribute("meta")?.[e]||"",[r,o]=(0,v.useState)(n),c=""===r?null:(0,a.__)("This will override any other settings you might have applied in Site Kit.","google-site-kit");return(0,d.jsx)(_.SelectControl,{className:"googlesitekit-rrm-panel__select-control",label:(0,a.__)("Decide how site visitors should access this post (if they will see CTAs by Reader Revenue Manager, which you activated via Site Kit):","google-site-kit"),onChange:function(t){o(t),m(i).editPost({meta:{[e]:t}})},value:r,options:[{label:(0,a.__)("Keep the default selection","google-site-kit"),value:""},{label:(0,a.__)("Exclude from Reader Revenue Manager","google-site-kit"),value:"none"},{label:(0,a.__)('Use "open access"',"google-site-kit"),value:"openaccess"},...t.map(t=>{const e=t.split(":"),n=e.length>1?e[1]:t;return{label:(0,a.sprintf)(/* translators: %s: Product ID */ /* translators: %s: Product ID */ 2 (0,a.__)('Use "%s"',"google-site-kit"),n),value:t}})],help:c,__nextHasNoMarginBottom:!0})}var b=__webpack_require__(688),w=__webpack_require__.n(b),k=__webpack_require__(452),S=__webpack_require__.n(k);const x=["body","display","headline","label","title"],A=["small","medium","large"];function Typography({className:t,type:e,size:n,as:r="span",children:o,...i}){return(0,d.jsx)(r,{className:S()("googlesitekit-typography",t,{[`googlesitekit-typography--${e}`]:e&&x.includes(e),[`googlesitekit-typography--${n}`]:n&&A.includes(n)}),...i,children:o})}function SettingPanel(){const t=l.PluginDocumentSettingPanel||f.PluginDocumentSettingPanel;return(0,d.jsx)(t,{className:"googlesitekit-rrm-settings-panel",name:"googlesitekit-rrm-panel",title:(0,a.__)("Google Site Kit","google-site-kit"),icon:(0,d.jsx)(g,{height:"16",width:"16"}),children:(0,d.jsxs)("section",{children:[(0,d.jsx)(Typography,{as:"h3",size:"small",type:"headline",children:(0,a.__)("Reader Revenue Manager","google-site-kit")}),(0,d.jsx)(SettingsForm,{})]})})}Typography.propTypes={className:w().string,type:w().oneOf(x),size:w().oneOf(A),as:w().oneOfType([w().string,w().elementType])};var E=__webpack_require__(243);const T="_googlesitekitDataLayer",L="data-googlesitekit-gtag";function O(t){return function(){t[T]=t[T]||[],t[T].push(arguments)}}const C=new Set(__webpack_require__.g?._googlesitekitBaseData?.enabledFeatures||[]);const R={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};const{activeModules:j=[],isSiteKitScreen:N,trackingEnabled:I,trackingID:D,referenceSiteURL:z,userIDHash:M,isAuthenticated:W,userRoles:P}=__webpack_require__.g._googlesitekitTrackingData||{}, {GOOGLESITEKIT_VERSION:U}=__webpack_require__.g,B={activeModules:j,trackingEnabled:I,trackingID:D,referenceSiteURL:z,userIDHash:M,isSiteKitScreen:N,userRoles:P,isAuthenticated:W,pluginVersion:U},{enableTracking:F,disableTracking:$,isTrackingEnabled:H,initializeSnippet:q,trackEvent:G,trackEventOnce:V}=function(t,e=__webpack_require__.g,n=__webpack_require__.g){const r={...R,...t};r.referenceSiteURL&&(r.referenceSiteURL=r.referenceSiteURL.toString().replace(/\/+$/,""));const o=function(t,e){const n=O(e);let r;const{activeModules:o,referenceSiteURL:i,userIDHash:u,userRoles:a=[],isAuthenticated:c,pluginVersion:f}=t;return function(){const{document:e}=__webpack_require__.g;if(void 0===r&&(r=!!e.querySelector(`script[${L}]`)),r)return!1;r=!0;const l=a?.length?a.join(","):"";n("js",new Date),n("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:i,plugin_version:f||"",enabled_features:Array.from(C).join(","),active_modules:o.join(","),authenticated:c?"1":"0",user_properties:{user_roles:l,user_identifier:u}});const s=e.createElement("script");return s.setAttribute(L,""),s.async=!0,s.src=`https://www.googletagmanager.com/gtag/js?id=${t.trackingID}&l=${T}`,e.head.appendChild(s),{scriptTagSrc:`https://www.googletagmanager.com/gtag/js?id=${t.trackingID}&l=${T}`}}}(r,e),i=function(t,e,n,r){const o=O(e);return async function(e,i,u,a){const{trackingEnabled:c}=t;if(!c)return null;n();const f={send_to:"site_kit",event_category:e,event_label:u,value:a};return new Promise(t=>{const n=setTimeout(function(){r.console.warn(`Tracking event "${i}" (category "${e}") took too long to fire.`),t()},1e3);function u(){clearTimeout(n),t()}o("event",i,{...f,event_callback:u}),r._gaUserPrefs?.ioo?.()&&u()})}}(r,e,o,n),u={};return{enableTracking:function(){r.trackingEnabled=!0},disableTracking:function(){r.trackingEnabled=!1},initializeSnippet:o,isTrackingEnabled:function(){return!!r.trackingEnabled},trackEvent:i,trackEventOnce:function(...t){const e=JSON.stringify(t);u[e]||(u[e]=(0,E.once)(i)),u[e](...t)}}}(B);N&&I&&q();var K=__webpack_require__(234);__webpack_require__.n(K)()(__webpack_require__.g);__webpack_require__(523);var Z=__webpack_require__(532);__webpack_require__.n(Z)()(console.warn);__webpack_require__(91);function ChangeArrow_ChangeArrow({direction:t,invertColor:e,width:n,height:r}){return(0,d.jsx)("svg",{className:S()("googlesitekit-change-arrow",`googlesitekit-change-arrow--${t}`,{"googlesitekit-change-arrow--inverted-color":e}),width:n,height:r,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,d.jsx)("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"})})}ChangeArrow_ChangeArrow.propTypes={direction:w().string,invertColor:w().bool,width:w().number,height:w().number},ChangeArrow_ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9};function Y(){let t=!1,n=null;(0,e.subscribe)(()=>{if(void 0===(0,e.select)(u).getPublicationID())return;if(null===n)return void(n=X());const r=(0,e.select)(i).isSavingPost(),o=(0,e.select)(i).isAutosavingPost();if(t&&!r&&!o){const t=X();if(function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!0;return n.some(n=>t[n]!==e[n])}(n,t)){const e=J();G("wpBlockEditor_rrm","change_product_id",function(t){switch(t){case"":return(0,a.__)("Default","google-site-kit");case"none":return(0,a.__)("None","google-site-kit");case"openaccess":return(0,a.__)("Open access","google-site-kit");default:return(0,a.__)("Custom product ID","google-site-kit")}}(t[e])),n={...t}}}t=r})}function J(){return`googlesitekit_rrm_${(0,e.select)(u).getPublicationID()}:productID`}function X(){const t=(0,e.select)(i).getCurrentPost();if(!t)return{};const n=J();return{[n]:t.meta?.[n]||""}}const{select:Q,resolveSelect:tt}=n();!async function(){if(!!Q("core/edit-site"))return;await Promise.all([tt(r).getModules(),tt("core/user").getUser(),tt(u).getSettings()]);let e=Q(r).hasModuleOwnership(c);!1===e&&(e=await tt(r).hasModuleAccess(c)),e&&((0,t.registerPlugin)("googlesitekit-rrm-plugin",{render:SettingPanel}),Y())}()})()})();2 (0,a.__)('Use "%s"',"google-site-kit"),n),value:t}})],help:c,__nextHasNoMarginBottom:!0})}var b=__webpack_require__(688),w=__webpack_require__.n(b),k=__webpack_require__(452),S=__webpack_require__.n(k);const x=["body","display","headline","label","title"],A=["small","medium","large"];function Typography({className:t,type:e,size:n,as:r="span",children:o,...i}){return(0,d.jsx)(r,{className:S()("googlesitekit-typography",t,{[`googlesitekit-typography--${e}`]:e&&x.includes(e),[`googlesitekit-typography--${n}`]:n&&A.includes(n)}),...i,children:o})}function SettingPanel(){const t=l.PluginDocumentSettingPanel||f.PluginDocumentSettingPanel;return(0,d.jsx)(t,{className:"googlesitekit-rrm-settings-panel",name:"googlesitekit-rrm-panel",title:(0,a.__)("Google Site Kit","google-site-kit"),icon:(0,d.jsx)(g,{height:"16",width:"16"}),children:(0,d.jsxs)("section",{children:[(0,d.jsx)(Typography,{as:"h3",size:"small",type:"headline",children:(0,a.__)("Reader Revenue Manager","google-site-kit")}),(0,d.jsx)(SettingsForm,{})]})})}Typography.propTypes={className:w().string,type:w().oneOf(x),size:w().oneOf(A),as:w().oneOfType([w().string,w().elementType])};var E=__webpack_require__(243);const T="_googlesitekitDataLayer",L="data-googlesitekit-gtag";function O(t){return function(){t[T]=t[T]||[],t[T].push(arguments)}}const C=new Set(__webpack_require__.g?._googlesitekitBaseData?.enabledFeatures||[]);const R={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};const{activeModules:j=[],isSiteKitScreen:N,trackingEnabled:I,trackingID:D,referenceSiteURL:z,userIDHash:M,isAuthenticated:W,userRoles:P}=__webpack_require__.g._googlesitekitTrackingData||{},U={activeModules:j,trackingEnabled:I,trackingID:D,referenceSiteURL:z,userIDHash:M,isSiteKitScreen:N,userRoles:P,isAuthenticated:W,pluginVersion:__webpack_require__.g.GOOGLESITEKIT_VERSION},{enableTracking:B,disableTracking:F,isTrackingEnabled:$,initializeSnippet:H,trackEvent:q,trackEventOnce:G}=function(t,e=__webpack_require__.g,n=__webpack_require__.g){const r={...R,...t};r.referenceSiteURL&&(r.referenceSiteURL=r.referenceSiteURL.toString().replace(/\/+$/,""));const o=function(t,e){const n=O(e);let r;const{activeModules:o,referenceSiteURL:i,userIDHash:u,userRoles:a=[],isAuthenticated:c,pluginVersion:f}=t;return function(){const{document:e}=__webpack_require__.g;if(void 0===r&&(r=!!e.querySelector(`script[${L}]`)),r)return!1;r=!0;const l=a?.length?a.join(","):"";n("js",new Date),n("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:i,plugin_version:f||"",enabled_features:Array.from(C).join(","),active_modules:o.join(","),authenticated:c?"1":"0",user_properties:{user_roles:l,user_identifier:u}});const s=e.createElement("script");return s.setAttribute(L,""),s.async=!0,s.src=`https://www.googletagmanager.com/gtag/js?id=${t.trackingID}&l=${T}`,e.head.appendChild(s),{scriptTagSrc:`https://www.googletagmanager.com/gtag/js?id=${t.trackingID}&l=${T}`}}}(r,e),i=function(t,e,n,r){const o=O(e);return async function(e,i,u,a){const{trackingEnabled:c}=t;if(!c)return null;n();const f={send_to:"site_kit",event_category:e,event_label:u,value:a};return new Promise(t=>{const n=setTimeout(function(){r.console.warn(`Tracking event "${i}" (category "${e}") took too long to fire.`),t()},1e3);function u(){clearTimeout(n),t()}o("event",i,{...f,event_callback:u}),r._gaUserPrefs?.ioo?.()&&u()})}}(r,e,o,n),u={};return{enableTracking:function(){r.trackingEnabled=!0},disableTracking:function(){r.trackingEnabled=!1},initializeSnippet:o,isTrackingEnabled:function(){return!!r.trackingEnabled},trackEvent:i,trackEventOnce:function(...t){const e=JSON.stringify(t);u[e]||(u[e]=(0,E.once)(i)),u[e](...t)}}}(U);N&&I&&H();var V=__webpack_require__(234);__webpack_require__.n(V)()(__webpack_require__.g);__webpack_require__(523);var K=__webpack_require__(532);__webpack_require__.n(K)()(console.warn);__webpack_require__(91);function ChangeArrow_ChangeArrow({direction:t,invertColor:e,width:n,height:r}){return(0,d.jsx)("svg",{className:S()("googlesitekit-change-arrow",`googlesitekit-change-arrow--${t}`,{"googlesitekit-change-arrow--inverted-color":e}),width:n,height:r,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,d.jsx)("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"})})}ChangeArrow_ChangeArrow.propTypes={direction:w().string,invertColor:w().bool,width:w().number,height:w().number},ChangeArrow_ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9};function Z(){let t=!1,n=null;(0,e.subscribe)(()=>{if(void 0===(0,e.select)(u).getPublicationID())return;if(null===n)return void(n=J());const r=(0,e.select)(i).isSavingPost(),o=(0,e.select)(i).isAutosavingPost();if(t&&!r&&!o){const t=J();if(function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!0;return n.some(n=>t[n]!==e[n])}(n,t)){const e=Y();q("wpBlockEditor_rrm","change_product_id",function(t){switch(t){case"":return(0,a.__)("Default","google-site-kit");case"none":return(0,a.__)("None","google-site-kit");case"openaccess":return(0,a.__)("Open access","google-site-kit");default:return(0,a.__)("Custom product ID","google-site-kit")}}(t[e])),n={...t}}}t=r})}function Y(){return`googlesitekit_rrm_${(0,e.select)(u).getPublicationID()}:productID`}function J(){const t=(0,e.select)(i).getCurrentPost();if(!t)return{};const n=Y();return{[n]:t.meta?.[n]||""}}const{select:X,resolveSelect:Q}=n();!async function(){if(!!X("core/edit-site"))return;await Promise.all([Q(r).getModules(),Q("core/user").getUser(),Q(u).getSettings()]);let e=X(r).hasModuleOwnership(c);!1===e&&(e=await Q(r).hasModuleAccess(c)),e&&((0,t.registerPlugin)("googlesitekit-rrm-plugin",{render:SettingPanel}),Z())}()})()})(); -
google-site-kit/trunk/dist/assets/blocks/reader-revenue-manager/contribute-with-google/block.json
r3397601 r3407206 3 3 "apiVersion": 2, 4 4 "name": "google-site-kit/rrm-contribute-with-google", 5 "version": "1.16 6.0",5 "version": "1.167.0", 6 6 "title": "Contribute with Google", 7 7 "category": "widgets", -
google-site-kit/trunk/dist/assets/blocks/reader-revenue-manager/subscribe-with-google/block.json
r3397601 r3407206 3 3 "apiVersion": 2, 4 4 "name": "google-site-kit/rrm-subscribe-with-google", 5 "version": "1.16 6.0",5 "version": "1.167.0", 6 6 "title": "Subscribe with Google", 7 7 "category": "widgets", -
google-site-kit/trunk/dist/assets/blocks/sign-in-with-google/block.json
r3397601 r3407206 3 3 "apiVersion": 2, 4 4 "name": "google-site-kit/sign-in-with-google", 5 "version": "1.16 6.0",5 "version": "1.167.0", 6 6 "title": "Sign in with Google", 7 7 "category": "widgets", -
google-site-kit/trunk/dist/manifest.php
r3397601 r3407206 28 28 'sign-in-with-google/index' => array( "sign-in-with-google/index.js", null ), 29 29 'sign-in-with-google/editor-styles' => array( "sign-in-with-google/editor-styles.js", null ), 30 'googlesitekit-admin-css' => array( "googlesitekit-admin-css- 2b8f1e2e5a22632a2b0b.min.css", null ),30 'googlesitekit-admin-css' => array( "googlesitekit-admin-css-b9cab0a20268cc660836.min.css", null ), 31 31 'googlesitekit-adminbar-css' => array( "googlesitekit-adminbar-css-d193e67e2cbecf306061.min.css", null ), 32 32 'googlesitekit-wp-dashboard-css' => array( "googlesitekit-wp-dashboard-css-c4ef81393773b78c53aa.min.css", null ), 33 33 'googlesitekit-authorize-application-css' => array( "googlesitekit-authorize-application-css-5b98b536e7f34c6411c1.min.css", null ), 34 'googlesitekit-api' => array( "googlesitekit-api- 901ee93f4f6962cf9046.js", null ),34 'googlesitekit-api' => array( "googlesitekit-api-15cac6500fd5d984fb95.js", null ), 35 35 'googlesitekit-data' => array( "googlesitekit-data-2868d5c75a96f60bd472.js", null ), 36 'googlesitekit-datastore-site' => array( "googlesitekit-datastore-site- 0ae207044ad015f1ab65.js", null ),37 'googlesitekit-datastore-user' => array( "googlesitekit-datastore-user- a2641700005332059477.js", null ),38 'googlesitekit-datastore-forms' => array( "googlesitekit-datastore-forms- cb944d60c71ac3389799.js", null ),36 'googlesitekit-datastore-site' => array( "googlesitekit-datastore-site-84807d9cf6ef5776b730.js", null ), 37 'googlesitekit-datastore-user' => array( "googlesitekit-datastore-user-6afcf4831575891d4620.js", null ), 38 'googlesitekit-datastore-forms' => array( "googlesitekit-datastore-forms-1174d7377bfc9977ef9a.js", null ), 39 39 'googlesitekit-datastore-location' => array( "googlesitekit-datastore-location-a7fd5d1461e0562c934a.js", null ), 40 'googlesitekit-datastore-ui' => array( "googlesitekit-datastore-ui- 4ef67fd31a88fbb5e6cc.js", null ),41 'googlesitekit-modules' => array( "googlesitekit-modules- b6c11cde066467937047.js", null ),42 'googlesitekit-notifications' => array( "googlesitekit-notifications-2 b7ac78a18710fb06304.js", null ),43 'googlesitekit-widgets' => array( "googlesitekit-widgets- 28d3c787b59d5e5e4c2a.js", null ),44 'googlesitekit-modules-ads' => array( "googlesitekit-modules-ads- d4ea8e78888003ef9758.js", null ),45 'googlesitekit-modules-adsense' => array( "googlesitekit-modules-adsense- 72c4bd492fde24006d31.js", null ),46 'googlesitekit-modules-analytics-4' => array( "googlesitekit-modules-analytics-4- b0bf57e71006508ce237.js", null ),47 'googlesitekit-modules-pagespeed-insights' => array( "googlesitekit-modules-pagespeed-insights- ce16569db5c5c3700246.js", null ),48 'googlesitekit-modules-reader-revenue-manager' => array( "googlesitekit-modules-reader-revenue-manager- cd958aac94fcb996b9b7.js", null ),49 'googlesitekit-modules-search-console' => array( "googlesitekit-modules-search-console- 3ece11b31d58c3260ec3.js", null ),50 'googlesitekit-modules-sign-in-with-google' => array( "googlesitekit-modules-sign-in-with-google- d63bc464c616028bcf25.js", null ),51 'googlesitekit-modules-tagmanager' => array( "googlesitekit-modules-tagmanager- 46cb575a310506f4135b.js", null ),52 'googlesitekit-user-input' => array( "googlesitekit-user-input- 341ed0eeb4c71c0cf383.js", null ),53 'googlesitekit-ad-blocking-recovery' => array( "googlesitekit-ad-blocking-recovery- 52eaf653292521e6f9e2.js", null ),54 'googlesitekit-block-tracking' => array( "googlesitekit-block-tracking- 1032e2e997b7685502b9.js", null ),40 'googlesitekit-datastore-ui' => array( "googlesitekit-datastore-ui-abca0d9c62793c5dec3e.js", null ), 41 'googlesitekit-modules' => array( "googlesitekit-modules-dce334184f43e93590f0.js", null ), 42 'googlesitekit-notifications' => array( "googlesitekit-notifications-2367a0e39a4641cf0a86.js", null ), 43 'googlesitekit-widgets' => array( "googlesitekit-widgets-1de0c76dabc56b27df59.js", null ), 44 'googlesitekit-modules-ads' => array( "googlesitekit-modules-ads-666c5903affd119a99b5.js", null ), 45 'googlesitekit-modules-adsense' => array( "googlesitekit-modules-adsense-e7757e9cf619f6e1adae.js", null ), 46 'googlesitekit-modules-analytics-4' => array( "googlesitekit-modules-analytics-4-ebb3b6f75580255a8bba.js", null ), 47 'googlesitekit-modules-pagespeed-insights' => array( "googlesitekit-modules-pagespeed-insights-31bab748fa72671d2060.js", null ), 48 'googlesitekit-modules-reader-revenue-manager' => array( "googlesitekit-modules-reader-revenue-manager-607d96f98f5402c25944.js", null ), 49 'googlesitekit-modules-search-console' => array( "googlesitekit-modules-search-console-27a4f67f2b1a12d2ac83.js", null ), 50 'googlesitekit-modules-sign-in-with-google' => array( "googlesitekit-modules-sign-in-with-google-62652ee70455d9500620.js", null ), 51 'googlesitekit-modules-tagmanager' => array( "googlesitekit-modules-tagmanager-b4d14f8336e2d04a117d.js", null ), 52 'googlesitekit-user-input' => array( "googlesitekit-user-input-52ccecb53d5ce5ff13d2.js", null ), 53 'googlesitekit-ad-blocking-recovery' => array( "googlesitekit-ad-blocking-recovery-4464ef45f8c34471ee3f.js", null ), 54 'googlesitekit-block-tracking' => array( "googlesitekit-block-tracking-6efb8ed8e9e4db8da249.js", null ), 55 55 'googlesitekit-polyfills' => array( "googlesitekit-polyfills-8b59b9627a8949df6deb.js", null ), 56 56 'googlesitekit-components' => array( "googlesitekit-components-75585de31a179a264558.js", null ), 57 'googlesitekit-metric-selection' => array( "googlesitekit-metric-selection- 8e20247f501e08c98934.js", null ),58 'googlesitekit-key-metrics-setup' => array( "googlesitekit-key-metrics-setup- d0b301a68eb222f89e95.js", null ),59 'googlesitekit-activation' => array( "googlesitekit-activation- 980e5f970eacd7cc279b.js", null ),60 'googlesitekit-adminbar' => array( "googlesitekit-adminbar- ae973883a37707928671.js", null ),61 'googlesitekit-settings' => array( "googlesitekit-settings- 2fb0ce30e5fd7136b115.js", null ),62 'googlesitekit-main-dashboard' => array( "googlesitekit-main-dashboard- 7c111c025f4097ab330d.js", null ),63 'googlesitekit-entity-dashboard' => array( "googlesitekit-entity-dashboard- 745c0621f6ed4e497e99.js", null ),64 'googlesitekit-splash' => array( "googlesitekit-splash-3 278b5454d81de8c01e6.js", null ),65 'googlesitekit-wp-dashboard' => array( "googlesitekit-wp-dashboard- 063e75213f24c48f34aa.js", null ),57 'googlesitekit-metric-selection' => array( "googlesitekit-metric-selection-eac03cd59f5737142e49.js", null ), 58 'googlesitekit-key-metrics-setup' => array( "googlesitekit-key-metrics-setup-7155d7d87c08d0f347db.js", null ), 59 'googlesitekit-activation' => array( "googlesitekit-activation-2b581b3c77c6c3601892.js", null ), 60 'googlesitekit-adminbar' => array( "googlesitekit-adminbar-8d712dcb290a2efa6f0d.js", null ), 61 'googlesitekit-settings' => array( "googlesitekit-settings-3a2e2212924935e84f6f.js", null ), 62 'googlesitekit-main-dashboard' => array( "googlesitekit-main-dashboard-e0be854ee45bd990b30d.js", null ), 63 'googlesitekit-entity-dashboard' => array( "googlesitekit-entity-dashboard-446e6cd4802f6bb746df.js", null ), 64 'googlesitekit-splash' => array( "googlesitekit-splash-3f8ea39c312610f0b4af.js", null ), 65 'googlesitekit-wp-dashboard' => array( "googlesitekit-wp-dashboard-a28ad41333bd838dc673.js", null ), 66 66 'googlesitekit-runtime' => array( "runtime-4300400569c01237fc9a.js", null ), 67 'googlesitekit-vendor' => array( "googlesitekit-vendor- 599848015879dcc843df.js", null ),67 'googlesitekit-vendor' => array( "googlesitekit-vendor-ea32d0ade8d976a846d4.js", null ), 68 68 ); -
google-site-kit/trunk/google-site-kit.php
r3397601 r3407206 12 12 * Plugin URI: https://sitekit.withgoogle.com 13 13 * Description: Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web. 14 * Version: 1.16 6.014 * Version: 1.167.0 15 15 * Requires at least: 5.2 16 16 * Requires PHP: 7.4 … … 27 27 28 28 // Define most essential constants. 29 define( 'GOOGLESITEKIT_VERSION', '1.16 6.0' );29 define( 'GOOGLESITEKIT_VERSION', '1.167.0' ); 30 30 define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ ); 31 31 define( 'GOOGLESITEKIT_PHP_MINIMUM', '7.4.0' ); -
google-site-kit/trunk/includes/Core/Admin/Screens.php
r3373932 r3407206 20 20 use Google\Site_Kit\Core\Storage\Options; 21 21 use Google\Site_Kit\Core\Storage\User_Options; 22 use Google\Site_Kit\Core\User\Initial_Setup_Settings; 23 use Google\Site_Kit\Core\Util\Feature_Flags; 22 24 23 25 /** … … 66 68 67 69 /** 70 * User_Options instance. 71 * 72 * @since 1.167.0 73 * @var User_Options 74 */ 75 private $user_options; 76 77 /** 68 78 * Associative array of $hook_suffix => $screen pairs. 69 79 * … … 82 92 * @param Modules $modules Optional. Modules instance. Default is a new instance. 83 93 * @param Authentication $authentication Optional. Authentication instance. Default is a new instance. 94 * @param User_Options $user_options Optional. User_Options instance. Default is a new instance. 84 95 */ 85 96 public function __construct( … … 87 98 ?Assets $assets = null, 88 99 ?Modules $modules = null, 89 ?Authentication $authentication = null 100 ?Authentication $authentication = null, 101 ?User_Options $user_options = null 90 102 ) { 91 103 $this->context = $context; … … 93 105 $this->modules = $modules ?: new Modules( $this->context ); 94 106 $this->authentication = $authentication ?: new Authentication( $this->context ); 107 $this->user_options = $user_options ?: new User_Options( $this->context ); 95 108 } 96 109 … … 360 373 self::PREFIX . 'dashboard', 361 374 array( 362 'title' => __( 'Dashboard', 'google-site-kit' ),363 'capability' => Permissions::VIEW_DASHBOARD,364 'enqueue_callback' => function ( Assets $assets ) {375 'title' => __( 'Dashboard', 'google-site-kit' ), 376 'capability' => Permissions::VIEW_DASHBOARD, 377 'enqueue_callback' => function ( Assets $assets ) { 365 378 if ( $this->context->input()->filter( INPUT_GET, 'permaLink' ) ) { 366 379 $assets->enqueue_asset( 'googlesitekit-entity-dashboard' ); … … 369 382 } 370 383 }, 371 'render_callback' => function ( Context $context ) { 384 'initialize_callback' => function ( Context $context ) { 385 if ( ! Feature_Flags::enabled( 'setupFlowRefresh' ) ) { 386 return; 387 } 388 389 $is_view_only = ! $this->authentication->is_authenticated(); 390 391 if ( ! $is_view_only ) { 392 $initial_setup_settings = ( new Initial_Setup_Settings( $this->user_options ) )->get(); 393 $is_analytics_setup_complete = $initial_setup_settings['isAnalyticsSetupComplete']; 394 395 if ( false === $is_analytics_setup_complete ) { 396 $is_analytics_connected = $this->modules->is_module_connected( 'analytics-4' ); 397 398 if ( $is_analytics_connected ) { 399 wp_safe_redirect( 400 $context->admin_url( 401 'key-metrics-setup', 402 array( 403 'showProgress' => 'true', 404 ) 405 ) 406 ); 407 408 exit; 409 } else { 410 $slug = $context->input()->filter( INPUT_GET, 'slug' ); 411 $show_progress = $context->input()->filter( INPUT_GET, 'showProgress', FILTER_VALIDATE_BOOLEAN ); 412 $re_auth = $context->input()->filter( INPUT_GET, 'reAuth', FILTER_VALIDATE_BOOLEAN ); 413 414 if ( 'analytics-4' === $slug && $re_auth && $show_progress ) { 415 return; 416 } 417 418 wp_safe_redirect( 419 $context->admin_url( 420 'dashboard', 421 array( 422 'slug' => 'analytics-4', 423 'showProgress' => 'true', 424 'reAuth' => 'true', 425 ) 426 ) 427 ); 428 429 exit; 430 } 431 } 432 } 433 }, 434 'render_callback' => function ( Context $context ) { 372 435 $is_view_only = ! $this->authentication->is_authenticated(); 373 436 -
google-site-kit/trunk/includes/Core/Authentication/Google_Proxy.php
r3373932 r3407206 301 301 $body = json_decode( $body, true ); 302 302 if ( $code < 200 || 299 < $code ) { 303 $message = is_array( $body ) && ! empty( $body['error'] ) ? $body['error'] : ''; 304 return new WP_Error( 'request_failed', $message, array( 'status' => $code ) ); 303 $message = ''; 304 $error_code = 'request_failed'; 305 306 if ( is_array( $body ) ) { 307 if ( ! empty( $body['error'] ) ) { 308 $message = $body['error']; 309 } 310 311 if ( ! empty( $body['error_code'] ) ) { 312 $error_code = $body['error_code']; 313 } 314 } 315 316 return new WP_Error( $error_code, $message, array( 'status' => $code ) ); 305 317 } 306 318 … … 513 525 * @since 1.27.0 514 526 * @since 1.104.0 Added `php_version` to request. 527 * @since 1.167.0 Added `amp_mode` to request. 515 528 * 516 529 * @param Credentials $credentials Credentials instance. … … 523 536 $user_count = count_users(); 524 537 $connectable_user_count = isset( $user_count['avail_roles']['administrator'] ) ? $user_count['avail_roles']['administrator'] : 0; 538 $amp_mode = $this->context->get_amp_mode(); 525 539 526 540 $body = array( … … 532 546 'connectable_user_count' => $connectable_user_count, 533 547 'connected_user_count' => $this->count_connected_users(), 548 'amp_mode' => $amp_mode ? $amp_mode : '', 534 549 ); 535 550 -
google-site-kit/trunk/includes/Core/Authentication/Setup.php
r3148853 r3407206 119 119 * 120 120 * @since 1.81.0 121 * 121 * @since 1.167.0 Added support for custom error codes. 122 * 123 * @param string|null $error_code The error code. Optional. Defaults to null. 122 124 * @return string The get help link. 123 125 */ 124 private function get_oauth_proxy_failed_help_link() { 126 private function get_oauth_proxy_failed_help_link( $error_code = null ) { 127 // Map `request_failed` to the error ID `request_to_auth_proxy_failed` for backwards compatibility. 128 if ( null === $error_code || 'request_failed' === $error_code ) { 129 $error_id = 'request_to_auth_proxy_failed'; 130 } else { 131 $error_id = $error_code; 132 } 133 125 134 return sprintf( 126 135 /* translators: 1: Support link URL. 2: Get help string. */ 127 136 __( '<a href="%1$s" target="_blank">%2$s</a>', 'google-site-kit' ), 128 esc_url( add_query_arg( 'error_id', 'request_to_auth_proxy_failed', $this->proxy_support_link_url ) ),137 esc_url( add_query_arg( 'error_id', $error_id, $this->proxy_support_link_url ) ), 129 138 esc_html__( 'Get help', 'google-site-kit' ) 130 139 ); … … 156 165 ? $this->google_proxy->sync_site_fields( $this->credentials, 'sync' ) 157 166 : $this->google_proxy->register_site( 'sync' ); 158 159 $oauth_proxy_failed_help_link = $this->get_oauth_proxy_failed_help_link();160 167 161 168 if ( is_wp_error( $oauth_setup_redirect ) ) { … … 171 178 esc_html( $error_message ), 172 179 wp_kses( 173 $ oauth_proxy_failed_help_link,180 $this->get_oauth_proxy_failed_help_link( $oauth_setup_redirect->get_error_code() ), 174 181 array( 175 182 'a' => array( … … 189 196 esc_html__( 'The request to the authentication proxy has failed. Please, try again later. %s.', 'google-site-kit' ), 190 197 wp_kses( 191 $ oauth_proxy_failed_help_link,198 $this->get_oauth_proxy_failed_help_link(), 192 199 array( 193 200 'a' => array( -
google-site-kit/trunk/includes/Core/Conversion_Tracking/Conversion_Event_Providers/WooCommerce.php
r3389193 r3407206 456 456 } 457 457 458 // Check if the original input started with + (user explicitly provided country code). 459 $original_started_with_plus = strpos( trim( $phone ), '+' ) === 0; 460 461 // Remove any non-digit characters. 462 $phone_digits = preg_replace( '/[^0-9]/', '', $phone ); 463 464 // Skip if phone is empty after cleaning. 465 if ( empty( $phone_digits ) ) { 466 return ''; 467 } 468 458 469 // Try to use WooCommerce's country calling codes for proper E.164 formatting. 459 470 if ( class_exists( 'WC_Countries' ) && ! empty( $country ) ) { … … 463 474 // If we have a valid calling code, format to E.164. 464 475 if ( ! empty( $calling_code ) ) { 465 // Remove any non-digit characters and leading zeros. 466 $phone = ltrim( preg_replace( '/[^0-9]/', '', $phone ), '0' ); 467 468 // Skip if phone is empty after cleaning. 469 if ( empty( $phone ) ) { 470 return ''; 476 // Extract country code digits (without the + sign). 477 $country_code_digits = ltrim( $calling_code, '+' ); 478 479 // Check if the phone number starts with 00 (international dialing format). 480 // This is commonly used instead of + in many countries. 481 // To distinguish from national numbers with leading zeros, ensure that after 482 // stripping 00, there are at least 10 digits remaining (country code + number). 483 $starts_with_00_international = false; 484 if ( strpos( $phone_digits, '00' ) === 0 && strlen( $phone_digits ) > 2 ) { 485 $digits_after_00 = substr( $phone_digits, 2 ); 486 $starts_with_00_international = strlen( $digits_after_00 ) >= 10; 471 487 } 472 488 473 // Prepend the calling code (which already includes the + sign). 474 $phone = $calling_code . $phone; 489 // Check if the phone number already starts with the billing country code. 490 if ( strpos( $phone_digits, $country_code_digits ) === 0 ) { 491 // Phone already has the correct country code, just add + and validate. 492 $phone = '+' . $phone_digits; 493 } elseif ( $starts_with_00_international ) { 494 // Phone starts with 00 (international dialing format). 495 // Strip the 00 prefix and format as E.164. 496 // This handles any country code, not just the billing country. 497 $phone = '+' . substr( $phone_digits, 2 ); 498 } elseif ( $original_started_with_plus ) { 499 // User explicitly entered a +, indicating they provided their own country code. 500 // Trust their input and use their number as-is. 501 $phone = '+' . $phone_digits; 502 } else { 503 // No country code detected, treat as national number. 504 // Remove leading zeros from the national number. 505 $phone_digits = ltrim( $phone_digits, '0' ); 506 507 // Skip if phone is empty after removing leading zeros. 508 if ( empty( $phone_digits ) ) { 509 return ''; 510 } 511 512 // Prepend the calling code (which already includes the + sign). 513 $phone = $calling_code . $phone_digits; 514 } 475 515 476 516 // Validate the number is the correct length (11-15 digits including +). -
google-site-kit/trunk/includes/Core/Email_Reporting/Email_Log.php
r3397601 r3407206 27 27 /** 28 28 * Post type slug. 29 * 30 * @since 1.166.0 29 31 */ 30 32 const POST_TYPE = 'gsk_email_log'; … … 32 34 /** 33 35 * Report frequency meta key. 36 * 37 * @since 1.166.0 34 38 */ 35 39 const META_REPORT_FREQUENCY = '_report_frequency'; … … 37 41 /** 38 42 * Batch ID meta key. 43 * 44 * @since 1.166.0 39 45 */ 40 46 const META_BATCH_ID = '_batch_id'; … … 42 48 /** 43 49 * Maximum length for stored log strings (MySQL utf8mb4 index safety). 50 * 51 * @since 1.166.0 44 52 */ 45 53 const META_STRING_MAX_LENGTH = 191; … … 47 55 /** 48 56 * Send attempts meta key. 57 * 58 * @since 1.166.0 49 59 */ 50 60 const META_SEND_ATTEMPTS = '_send_attempts'; … … 52 62 /** 53 63 * Error details meta key. 64 * 65 * @since 1.166.0 54 66 */ 55 67 const META_ERROR_DETAILS = '_error_details'; … … 57 69 /** 58 70 * Report reference dates meta key. 71 * 72 * @since 1.166.0 59 73 */ 60 74 const META_REPORT_REFERENCE_DATES = '_report_reference_dates'; … … 64 78 * 65 79 * Slugs must stay within the posts table varchar(20) limit. 80 * 81 * @since 1.166.0 66 82 */ 67 83 const STATUS_SENT = 'gsk_email_sent'; 68 84 const STATUS_FAILED = 'gsk_email_failed'; 69 85 const STATUS_SCHEDULED = 'gsk_email_scheduled'; 86 87 /** 88 * Extracts a normalized date range array from an email log post. 89 * 90 * @since 1.167.0 91 * 92 * @param mixed $email_log Potential email log post. 93 * @return array|null 94 */ 95 public static function get_date_range_from_log( $email_log ) { 96 $decoded = self::validate_and_decode_email_log( $email_log ); 97 if ( null === $decoded ) { 98 return null; 99 } 100 101 $normalized = array(); 102 $keys = array( 103 'startDate' => 'startDate', 104 'sendDate' => 'endDate', 105 'compareStartDate' => 'compareStartDate', 106 'compareEndDate' => 'compareEndDate', 107 ); 108 109 foreach ( $keys as $key => $alias ) { 110 if ( ! isset( $decoded[ $key ] ) ) { 111 continue; 112 } 113 114 $formatted = self::format_reference_date( $decoded[ $key ] ); 115 if ( null !== $formatted ) { 116 $normalized[ $alias ] = $formatted; 117 } 118 } 119 120 if ( empty( $normalized['startDate'] ) || empty( $normalized['endDate'] ) ) { 121 return null; 122 } 123 124 return $normalized; 125 } 126 127 /** 128 * Validates an email log and returns decoded reference date metadata. 129 * 130 * @since 1.167.0 131 * 132 * @param mixed $email_log Potential email log post. 133 * @return array|null Decoded reference date metadata, or null on failure. 134 */ 135 protected static function validate_and_decode_email_log( $email_log ) { 136 if ( ! ( $email_log instanceof \WP_Post ) ) { 137 return null; 138 } 139 140 if ( self::POST_TYPE !== $email_log->post_type ) { 141 return null; 142 } 143 144 $raw = get_post_meta( $email_log->ID, self::META_REPORT_REFERENCE_DATES, true ); 145 if ( empty( $raw ) ) { 146 return null; 147 } 148 149 if ( is_string( $raw ) ) { 150 $decoded = json_decode( $raw, true ); 151 if ( JSON_ERROR_NONE !== json_last_error() ) { 152 return null; 153 } 154 } elseif ( is_array( $raw ) ) { 155 $decoded = $raw; 156 } else { 157 return null; 158 } 159 160 return $decoded; 161 } 162 163 /** 164 * Validates and normalizes a reference date value into a UNIX timestamp. 165 * 166 * @since 1.167.0 167 * 168 * @param mixed $value Date value. 169 * @return int|null UNIX timestamp or null on failure. 170 */ 171 protected static function validate_reference_date( $value ) { 172 if ( '' === $value || null === $value ) { 173 return null; 174 } 175 176 $timestamp = is_numeric( $value ) ? (int) $value : strtotime( $value ); 177 if ( empty( $timestamp ) || $timestamp < 0 ) { 178 return null; 179 } 180 181 return $timestamp; 182 } 183 184 /** 185 * Formats a timestamp or date string stored in reference date meta. 186 * 187 * @since 1.167.0 188 * 189 * @param mixed $value Date value. 190 * @return string|null 191 */ 192 protected static function format_reference_date( $value ) { 193 $timestamp = self::validate_reference_date( $value ); 194 if ( null === $timestamp ) { 195 return null; 196 } 197 198 if ( function_exists( 'wp_timezone' ) && function_exists( 'wp_date' ) ) { 199 $timezone = wp_timezone(); 200 if ( $timezone ) { 201 return wp_date( 'Y-m-d', $timestamp, $timezone ); 202 } 203 } 204 205 return gmdate( 'Y-m-d', $timestamp ); 206 } 70 207 71 208 /** -
google-site-kit/trunk/includes/Core/Email_Reporting/Email_Reporting.php
r3397601 r3407206 12 12 13 13 use Google\Site_Kit\Context; 14 use Google\Site_Kit\Core\Modules\Modules; 14 15 use Google\Site_Kit\Core\Storage\Options; 15 16 use Google\Site_Kit\Core\Storage\User_Options; … … 34 35 35 36 /** 37 * Options instance. 38 * 39 * @since 1.167.0 40 * @var Options 41 */ 42 protected $options; 43 44 /** 45 * Modules instance. 46 * 47 * @since 1.167.0 48 * @var Modules 49 */ 50 protected $modules; 51 52 /** 36 53 * Email_Reporting_Settings instance. 37 54 * … … 74 91 75 92 /** 93 * Email_Log_Cleanup instance. 94 * 95 * @since 1.167.0 96 * @var Email_Log_Cleanup 97 */ 98 protected $email_log_cleanup; 99 100 /** 101 * Scheduler instance. 102 * 103 * @since 1.167.0 104 * @var Email_Reporting_Scheduler 105 */ 106 protected $scheduler; 107 108 /** 109 * Initiator task instance. 110 * 111 * @since 1.167.0 112 * @var Initiator_Task 113 */ 114 protected $initiator_task; 115 116 /** 117 * Monitor task instance. 118 * 119 * @since 1.167.0 120 * @var Monitor_Task 121 */ 122 protected $monitor_task; 123 124 /** 125 * Worker task instance. 126 * 127 * @since 1.167.0 128 * @var Worker_Task 129 */ 130 protected $worker_task; 131 132 /** 76 133 * Constructor. 77 134 * 78 135 * @since 1.162.0 79 136 * 80 * @param Context $context Plugin context. 81 * @param Options|null $options Optional. Options instance. Default is a new instance. 82 */ 83 public function __construct( Context $context, ?Options $options = null ) { 84 $this->context = $context; 85 $options = $options ?: new Options( $this->context ); 86 $this->settings = new Email_Reporting_Settings( $options ); 87 $this->user_options = new User_Options( $context ); 88 $this->user_settings = new User_Email_Reporting_Settings( $this->user_options ); 89 $this->rest_controller = new REST_Email_Reporting_Controller( $this->settings ); 90 $this->email_log = new Email_Log( $this->context ); 137 * @param Context $context Plugin context. 138 * @param Modules $modules Modules instance. 139 * @param Options|null $options Optional. Options instance. Default is a new instance. 140 * @param User_Options|null $user_options Optional. User options instance. Default is a new instance. 141 */ 142 public function __construct( 143 Context $context, 144 Modules $modules, 145 ?Options $options = null, 146 ?User_Options $user_options = null 147 ) { 148 $this->context = $context; 149 $this->modules = $modules; 150 $this->options = $options ?: new Options( $this->context ); 151 $this->user_options = $user_options ?: new User_Options( $this->context ); 152 $this->settings = new Email_Reporting_Settings( $this->options ); 153 $this->user_settings = new User_Email_Reporting_Settings( $this->user_options ); 154 155 $frequency_planner = new Frequency_Planner(); 156 $subscribed_users_query = new Subscribed_Users_Query( $this->user_settings, $this->modules ); 157 $max_execution_limiter = new Max_Execution_Limiter( (int) ini_get( 'max_execution_time' ) ); 158 $batch_query = new Email_Log_Batch_Query(); 159 160 $this->rest_controller = new REST_Email_Reporting_Controller( $this->settings ); 161 $this->email_log = new Email_Log( $this->context ); 162 $this->scheduler = new Email_Reporting_Scheduler( $frequency_planner ); 163 $this->initiator_task = new Initiator_Task( $this->scheduler, $subscribed_users_query ); 164 $this->worker_task = new Worker_Task( $max_execution_limiter, $batch_query, $this->scheduler ); 165 $this->monitor_task = new Monitor_Task( $this->scheduler, $this->settings ); 166 $this->email_log_cleanup = new Email_Log_Cleanup( $this->settings ); 91 167 } 92 168 … … 103 179 ( new Email_Reporting_Pointer( $this->context, $this->user_options, $this->user_settings ) )->register(); 104 180 $this->email_log->register(); 181 $this->scheduler->register(); 182 183 if ( $this->settings->is_email_reporting_enabled() ) { 184 $this->scheduler->schedule_initiator_events(); 185 $this->scheduler->schedule_monitor(); 186 $this->scheduler->schedule_cleanup(); 187 188 add_action( Email_Reporting_Scheduler::ACTION_INITIATOR, array( $this->initiator_task, 'handle_callback_action' ), 10, 1 ); 189 add_action( Email_Reporting_Scheduler::ACTION_MONITOR, array( $this->monitor_task, 'handle_monitor_action' ) ); 190 add_action( Email_Reporting_Scheduler::ACTION_WORKER, array( $this->worker_task, 'handle_callback_action' ), 10, 3 ); 191 add_action( Email_Reporting_Scheduler::ACTION_CLEANUP, array( $this->email_log_cleanup, 'handle_cleanup_action' ) ); 192 193 } else { 194 $this->scheduler->unschedule_all(); 195 } 196 197 $this->settings->on_change( 198 function ( $old_value, $new_value ) { 199 $was_enabled = (bool) $old_value['enabled']; 200 $is_enabled = (bool) $new_value['enabled']; 201 202 if ( $is_enabled && ! $was_enabled ) { 203 $this->scheduler->schedule_initiator_events(); 204 $this->scheduler->schedule_monitor(); 205 $this->scheduler->schedule_cleanup(); 206 return; 207 } 208 209 if ( ! $is_enabled && $was_enabled ) { 210 $this->scheduler->unschedule_all(); 211 } 212 } 213 ); 105 214 } 106 215 } -
google-site-kit/trunk/includes/Core/Email_Reporting/Email_Reporting_Site_Health.php
r3397601 r3407206 179 179 'post_type' => Email_Log::POST_TYPE, 180 180 'post_status' => $this->get_relevant_log_statuses(), 181 'posts_per_page' => -1, 181 // phpcs:ignore WordPress.WP.PostsPerPage.posts_per_page_posts_per_page 182 'posts_per_page' => 10000, 182 183 'fields' => 'ids', 183 184 'orderby' => 'date', -
google-site-kit/trunk/includes/Core/User/Email_Reporting_Settings.php
r3397601 r3407206 84 84 85 85 /** 86 * Gets the meta key used to store the setting. 87 * 88 * @since 1.167.0 89 * 90 * @return string Meta key for the user option. 91 */ 92 public function get_meta_key() { 93 return $this->user_options->get_meta_key( static::OPTION ); 94 } 95 96 /** 86 97 * Gets the callback for sanitizing the setting's value before saving. 87 98 * -
google-site-kit/trunk/includes/Core/Util/Reset.php
r3238118 r3407206 12 12 13 13 use Google\Site_Kit\Context; 14 use Google\Site_Kit\Core\Email_Reporting\Email_Log; 14 15 use Google\Site_Kit\Core\Authentication\Authentication; 15 16 use Google\Site_Kit\Core\Permissions\Permissions; … … 114 115 $this->delete_post_meta( 'site' ); 115 116 $this->delete_term_meta( 'site' ); 117 $this->delete_posts( 'site' ); 116 118 117 119 if ( $this->context->is_network_mode() ) { … … 120 122 $this->delete_post_meta( 'network' ); 121 123 $this->delete_term_meta( 'network' ); 124 $this->delete_posts( 'network' ); 122 125 } 123 126 … … 258 261 259 262 /** 263 * Deletes all Site Kit custom post type posts. 264 * 265 * @since 1.167.0 266 * 267 * @param string $scope Scope of the deletion ('site' or 'network'). 268 */ 269 private function delete_posts( $scope ) { 270 $sites = array(); 271 if ( 'network' === $scope ) { 272 $sites = get_sites( 273 array( 274 'fields' => 'ids', 275 'number' => 9999999, 276 ) 277 ); 278 } elseif ( 'site' === $scope ) { 279 $sites[] = get_current_blog_id(); 280 } else { 281 return; 282 } 283 284 foreach ( $sites as $site_id ) { 285 $switched = false; 286 287 if ( get_current_blog_id() !== (int) $site_id ) { 288 // phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.switch_to_blog_switch_to_blog 289 switch_to_blog( $site_id ); 290 $switched = true; 291 } 292 293 $posts_per_batch = 100; 294 do { 295 // phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.get_posts_get_posts 296 $post_ids = get_posts( 297 array( 298 'post_type' => Email_Log::POST_TYPE, 299 'post_status' => array( 300 Email_Log::STATUS_SENT, 301 Email_Log::STATUS_FAILED, 302 Email_Log::STATUS_SCHEDULED, 303 ), 304 'fields' => 'ids', 305 'posts_per_page' => $posts_per_batch, 306 'no_found_rows' => true, 307 'orderby' => 'ID', 308 'order' => 'ASC', 309 ) 310 ); 311 312 foreach ( $post_ids as $post_id ) { 313 wp_delete_post( $post_id, true ); 314 } 315 } while ( ! empty( $post_ids ) ); 316 317 if ( $switched ) { 318 restore_current_blog(); 319 } 320 } 321 } 322 323 /** 260 324 * Gets related REST routes. 261 325 * -
google-site-kit/trunk/includes/Core/Util/Uninstallation.php
r3349867 r3407206 17 17 use Google\Site_Kit\Core\Authentication\Google_Proxy; 18 18 use Google\Site_Kit\Core\Authentication\Clients\OAuth_Client; 19 use Google\Site_Kit\Core\Email_Reporting\Email_Reporting_Scheduler; 19 20 use Google\Site_Kit\Core\Remote_Features\Remote_Features_Cron; 20 21 use Google\Site_Kit\Core\Tags\Google_Tag_Gateway\Google_Tag_Gateway_Cron; … … 57 58 const SCHEDULED_EVENTS = array( 58 59 Conversion_Reporting_Cron::CRON_ACTION, 60 Email_Reporting_Scheduler::ACTION_INITIATOR, 61 Email_Reporting_Scheduler::ACTION_WORKER, 62 Email_Reporting_Scheduler::ACTION_FALLBACK, 63 Email_Reporting_Scheduler::ACTION_MONITOR, 64 Email_Reporting_Scheduler::ACTION_CLEANUP, 59 65 OAuth_Client::CRON_REFRESH_PROFILE_DATA, 60 66 Remote_Features_Cron::CRON_ACTION, -
google-site-kit/trunk/includes/Modules/Analytics_4.php
r3397601 r3407206 62 62 use Google\Site_Kit\Modules\Analytics_4\AMP_Tag; 63 63 use Google\Site_Kit\Modules\Analytics_4\Custom_Dimensions_Data_Available; 64 use Google\Site_Kit\Modules\Analytics_4\Datapoints\Create_Account_Ticket; 65 use Google\Site_Kit\Modules\Analytics_4\Datapoints\Create_Property; 66 use Google\Site_Kit\Modules\Analytics_4\Datapoints\Create_Webdatastream; 64 67 use Google\Site_Kit\Modules\Analytics_4\Synchronize_Property; 65 68 use Google\Site_Kit\Modules\Analytics_4\Synchronize_AdSenseLinked; … … 69 72 use Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin\PropertiesAudiencesService; 70 73 use Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin\PropertiesEnhancedMeasurementService; 71 use Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin\Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest;72 74 use Google\Site_Kit\Modules\Analytics_4\Report\Request as Analytics_4_Report_Request; 73 75 use Google\Site_Kit\Modules\Analytics_4\Report\Response as Analytics_4_Report_Response; … … 86 88 use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin as Google_Service_GoogleAnalyticsAdmin; 87 89 use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1alphaAudience; 88 use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1betaAccount;89 90 use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1betaCustomDimension; 90 91 use Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdmin\GoogleAnalyticsAdminV1betaDataStream; … … 581 582 ), 582 583 'analytics_4_web_data_stream_id' => array( 583 'label' => __( 'Analytics: Web Data Stream ID', 'google-site-kit' ),584 'label' => __( 'Analytics: Web data stream ID', 'google-site-kit' ), 584 585 'value' => $settings['webDataStreamID'], 585 586 'debug' => Debug_Data::redact_debug_value( $settings['webDataStreamID'] ), … … 701 702 'shareable' => true, 702 703 ), 703 'POST:create-account-ticket' => array( 704 'service' => 'analyticsprovisioning', 705 'scopes' => array( self::EDIT_SCOPE ), 706 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics account on your behalf.', 'google-site-kit' ), 704 'POST:create-account-ticket' => new Create_Account_Ticket( 705 array( 706 'credentials' => $this->authentication->credentials()->get(), 707 'provisioning_redirect_uri' => $this->get_provisioning_redirect_uri(), 708 'service' => function () { 709 return $this->get_service( 'analyticsprovisioning' ); 710 }, 711 'scopes' => array( self::EDIT_SCOPE ), 712 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics account on your behalf.', 'google-site-kit' ), 713 ), 707 714 ), 708 715 'GET:google-tag-settings' => array( … … 712 719 ), 713 720 ), 714 'POST:create-property' => array( 715 'service' => 'analyticsadmin', 716 'scopes' => array( self::EDIT_SCOPE ), 717 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics property on your behalf.', 'google-site-kit' ), 721 'POST:create-property' => new Create_Property( 722 array( 723 'reference_site_url' => $this->context->get_reference_site_url(), 724 'service' => function () { 725 return $this->get_service( 'analyticsadmin' ); 726 }, 727 'scopes' => array( self::EDIT_SCOPE ), 728 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics property on your behalf.', 'google-site-kit' ), 729 ) 718 730 ), 719 'POST:create-webdatastream' => array( 720 'service' => 'analyticsadmin', 721 'scopes' => array( self::EDIT_SCOPE ), 722 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics web data stream for this site on your behalf.', 'google-site-kit' ), 731 'POST:create-webdatastream' => new Create_Webdatastream( 732 array( 733 'reference_site_url' => $this->context->get_reference_site_url(), 734 'service' => function () { 735 return $this->get_service( 'analyticsadmin' ); 736 }, 737 'scopes' => array( self::EDIT_SCOPE ), 738 'request_scopes_message' => __( 'You’ll need to grant Site Kit permission to create a new Analytics web data stream for this site on your behalf.', 'google-site-kit' ), 739 ) 723 740 ), 724 741 'GET:properties' => array( 'service' => 'analyticsadmin' ), … … 1223 1240 $post_body 1224 1241 ); 1225 case 'POST:create-account-ticket':1226 if ( empty( $data['displayName'] ) ) {1227 throw new Missing_Required_Param_Exception( 'displayName' );1228 }1229 if ( empty( $data['regionCode'] ) ) {1230 throw new Missing_Required_Param_Exception( 'regionCode' );1231 }1232 if ( empty( $data['propertyName'] ) ) {1233 throw new Missing_Required_Param_Exception( 'propertyName' );1234 }1235 if ( empty( $data['dataStreamName'] ) ) {1236 throw new Missing_Required_Param_Exception( 'dataStreamName' );1237 }1238 if ( empty( $data['timezone'] ) ) {1239 throw new Missing_Required_Param_Exception( 'timezone' );1240 }1241 1242 $account = new GoogleAnalyticsAdminV1betaAccount();1243 $account->setDisplayName( $data['displayName'] );1244 $account->setRegionCode( $data['regionCode'] );1245 1246 $credentials = $this->authentication->credentials()->get();1247 $account_ticket_request = new Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest();1248 $account_ticket_request->setSiteId( $credentials['oauth2_client_id'] );1249 $account_ticket_request->setSiteSecret( $credentials['oauth2_client_secret'] );1250 $account_ticket_request->setRedirectUri( $this->get_provisioning_redirect_uri() );1251 $account_ticket_request->setAccount( $account );1252 1253 if ( Feature_Flags::enabled( 'setupFlowRefresh' ) ) {1254 $account_ticket_request->setShowProgress( isset( $data['showProgress'] ) ? (bool) $data['showProgress'] : false );1255 }1256 1257 return $this->get_service( 'analyticsprovisioning' )1258 ->accounts->provisionAccountTicket( $account_ticket_request );1259 case 'POST:create-property':1260 if ( ! isset( $data['accountID'] ) ) {1261 return new WP_Error(1262 'missing_required_param',1263 /* translators: %s: Missing parameter name */1264 sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'accountID' ),1265 array( 'status' => 400 )1266 );1267 }1268 1269 $options = array(1270 'displayName' => $data['displayName'],1271 'timezone' => $data['timezone'],1272 );1273 1274 return $this->create_property( $data['accountID'], $options );1275 case 'POST:create-webdatastream':1276 if ( ! isset( $data['propertyID'] ) ) {1277 return new WP_Error(1278 'missing_required_param',1279 /* translators: %s: Missing parameter name */1280 sprintf( __( 'Request parameter is empty: %s.', 'google-site-kit' ), 'propertyID' ),1281 array( 'status' => 400 )1282 );1283 }1284 1285 $options = array(1286 'displayName' => $data['displayName'],1287 );1288 1289 return $this->create_webdatastream( $data['propertyID'], $options );1290 1242 case 'GET:properties': 1291 1243 if ( ! isset( $data['accountID'] ) ) { … … 1893 1845 case 'GET:adsense-links': 1894 1846 return (array) $response->getAdsenseLinks(); 1895 case 'POST:create-account-ticket':1896 $account_ticket = new Account_Ticket();1897 $account_ticket->set_id( $response->getAccountTicketId() );1898 // Required in create_data_request.1899 $account_ticket->set_property_name( $data['propertyName'] );1900 $account_ticket->set_data_stream_name( $data['dataStreamName'] );1901 $account_ticket->set_timezone( $data['timezone'] );1902 $account_ticket->set_enhanced_measurement_stream_enabled( ! empty( $data['enhancedMeasurementStreamEnabled'] ) );1903 // Cache the create ticket id long enough to verify it upon completion of the terms of service.1904 set_transient(1905 self::PROVISION_ACCOUNT_TICKET_ID . '::' . get_current_user_id(),1906 $account_ticket->to_array(),1907 15 * MINUTE_IN_SECONDS1908 );1909 1910 return $response;1911 case 'POST:create-property':1912 return self::filter_property_with_ids( $response );1913 case 'POST:create-webdatastream':1914 return self::filter_webdatastream_with_ids( $response );1915 1847 case 'GET:properties': 1916 1848 return Sort::case_insensitive_list_sort( -
google-site-kit/trunk/includes/Modules/Analytics_4/GoogleAnalyticsAdmin/Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest.php
r3389193 r3407206 36 36 */ 37 37 public $site_secret = ''; 38 39 /**40 * The state of the show progress flag.41 *42 * @since 1.165.043 * @var bool44 */45 public $show_progress = false;46 38 47 39 /** … … 84 76 $this->site_secret = $secret; 85 77 } 86 87 /**88 * Sets the show progress flag.89 *90 * @since 1.165.091 *92 * @param bool $show_progress The show progress flag.93 */94 public function setShowProgress( $show_progress ) {95 $this->show_progress = $show_progress;96 }97 98 /**99 * Gets the show progress flag.100 *101 * @since 1.165.0102 */103 public function getShowProgress() {104 return $this->show_progress;105 }106 78 } -
google-site-kit/trunk/includes/Modules/Analytics_4/Reset_Audiences.php
r3349867 r3407206 136 136 'configuredAudiences' => null, 137 137 'didSetAudiences' => false, 138 'isAudienceSegmentationWidgetHidden' => false, 138 139 ), 139 140 ); -
google-site-kit/trunk/includes/Plugin.php
r3397601 r3407206 230 230 ( new Core\Conversion_Tracking\Conversion_Tracking( $this->context, $options ) )->register(); 231 231 if ( Feature_Flags::enabled( 'proactiveUserEngagement' ) ) { 232 ( new Core\Email_Reporting\Email_Reporting( $this->context, $ options ) )->register();232 ( new Core\Email_Reporting\Email_Reporting( $this->context, $modules, $options, $user_options ) )->register(); 233 233 } 234 234 if ( Feature_Flags::enabled( 'googleTagGateway' ) ) { -
google-site-kit/trunk/includes/vendor/composer/autoload_classmap.php
r3397601 r3407206 85 85 'Google\\Site_Kit\\Core\\Dismissals\\REST_Dismissals_Controller' => $baseDir . '/Core/Dismissals/REST_Dismissals_Controller.php', 86 86 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Log' => $baseDir . '/Core/Email_Reporting/Email_Log.php', 87 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Log_Batch_Query' => $baseDir . '/Core/Email_Reporting/Email_Log_Batch_Query.php', 88 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Log_Cleanup' => $baseDir . '/Core/Email_Reporting/Email_Log_Cleanup.php', 89 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Report_Data_Section_Part' => $baseDir . '/Core/Email_Reporting/Email_Report_Data_Section_Part.php', 90 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Report_Payload_Processor' => $baseDir . '/Core/Email_Reporting/Email_Report_Payload_Processor.php', 91 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Report_Section_Builder' => $baseDir . '/Core/Email_Reporting/Email_Report_Section_Builder.php', 87 92 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting' => $baseDir . '/Core/Email_Reporting/Email_Reporting.php', 88 93 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Pointer' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Pointer.php', 94 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Scheduler' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Scheduler.php', 89 95 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Settings' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Settings.php', 90 96 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Site_Health' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Site_Health.php', 97 'Google\\Site_Kit\\Core\\Email_Reporting\\Frequency_Planner' => $baseDir . '/Core/Email_Reporting/Frequency_Planner.php', 98 'Google\\Site_Kit\\Core\\Email_Reporting\\Initiator_Task' => $baseDir . '/Core/Email_Reporting/Initiator_Task.php', 99 'Google\\Site_Kit\\Core\\Email_Reporting\\Max_Execution_Limiter' => $baseDir . '/Core/Email_Reporting/Max_Execution_Limiter.php', 100 'Google\\Site_Kit\\Core\\Email_Reporting\\Monitor_Task' => $baseDir . '/Core/Email_Reporting/Monitor_Task.php', 91 101 'Google\\Site_Kit\\Core\\Email_Reporting\\REST_Email_Reporting_Controller' => $baseDir . '/Core/Email_Reporting/REST_Email_Reporting_Controller.php', 102 'Google\\Site_Kit\\Core\\Email_Reporting\\Report_Options\\Report_Options' => $baseDir . '/Core/Email_Reporting/Report_Options/Report_Options.php', 103 'Google\\Site_Kit\\Core\\Email_Reporting\\Subscribed_Users_Query' => $baseDir . '/Core/Email_Reporting/Subscribed_Users_Query.php', 104 'Google\\Site_Kit\\Core\\Email_Reporting\\Worker_Task' => $baseDir . '/Core/Email_Reporting/Worker_Task.php', 92 105 'Google\\Site_Kit\\Core\\Expirables\\Expirable_Items' => $baseDir . '/Core/Expirables/Expirable_Items.php', 93 106 'Google\\Site_Kit\\Core\\Expirables\\Expirables' => $baseDir . '/Core/Expirables/Expirables.php', … … 275 288 'Google\\Site_Kit\\Modules\\AdSense\\Ad_Blocking_Recovery_Web_Tag' => $baseDir . '/Modules/AdSense/Ad_Blocking_Recovery_Web_Tag.php', 276 289 'Google\\Site_Kit\\Modules\\AdSense\\Auto_Ad_Guard' => $baseDir . '/Modules/AdSense/Auto_Ad_Guard.php', 290 'Google\\Site_Kit\\Modules\\AdSense\\Email_Reporting\\Report_Options' => $baseDir . '/Modules/AdSense/Email_Reporting/Report_Options.php', 277 291 'Google\\Site_Kit\\Modules\\AdSense\\Settings' => $baseDir . '/Modules/AdSense/Settings.php', 278 292 'Google\\Site_Kit\\Modules\\AdSense\\Tag_Guard' => $baseDir . '/Modules/AdSense/Tag_Guard.php', … … 300 314 'Google\\Site_Kit\\Modules\\Analytics_4\\Conversion_Reporting\\Conversion_Reporting_Provider' => $baseDir . '/Modules/Analytics_4/Conversion_Reporting/Conversion_Reporting_Provider.php', 301 315 'Google\\Site_Kit\\Modules\\Analytics_4\\Custom_Dimensions_Data_Available' => $baseDir . '/Modules/Analytics_4/Custom_Dimensions_Data_Available.php', 316 'Google\\Site_Kit\\Modules\\Analytics_4\\Datapoints\\Create_Account_Ticket' => $baseDir . '/Modules/Analytics_4/Datapoints/Create_Account_Ticket.php', 317 'Google\\Site_Kit\\Modules\\Analytics_4\\Datapoints\\Create_Property' => $baseDir . '/Modules/Analytics_4/Datapoints/Create_Property.php', 318 'Google\\Site_Kit\\Modules\\Analytics_4\\Datapoints\\Create_Webdatastream' => $baseDir . '/Modules/Analytics_4/Datapoints/Create_Webdatastream.php', 319 'Google\\Site_Kit\\Modules\\Analytics_4\\Email_Reporting\\Audience_Config' => $baseDir . '/Modules/Analytics_4/Email_Reporting/Audience_Config.php', 320 'Google\\Site_Kit\\Modules\\Analytics_4\\Email_Reporting\\Report_Options' => $baseDir . '/Modules/Analytics_4/Email_Reporting/Report_Options.php', 302 321 'Google\\Site_Kit\\Modules\\Analytics_4\\GoogleAnalyticsAdmin\\AccountProvisioningService' => $baseDir . '/Modules/Analytics_4/GoogleAnalyticsAdmin/AccountProvisioningService.php', 303 322 'Google\\Site_Kit\\Modules\\Analytics_4\\GoogleAnalyticsAdmin\\AccountsResource' => $baseDir . '/Modules/Analytics_4/GoogleAnalyticsAdmin/AccountsResource.php', … … 342 361 'Google\\Site_Kit\\Modules\\Reader_Revenue_Manager\\Web_Tag' => $baseDir . '/Modules/Reader_Revenue_Manager/Web_Tag.php', 343 362 'Google\\Site_Kit\\Modules\\Search_Console' => $baseDir . '/Modules/Search_Console.php', 363 'Google\\Site_Kit\\Modules\\Search_Console\\Email_Reporting\\Report_Data_Processor' => $baseDir . '/Modules/Search_Console/Email_Reporting/Report_Data_Processor.php', 364 'Google\\Site_Kit\\Modules\\Search_Console\\Email_Reporting\\Report_Options' => $baseDir . '/Modules/Search_Console/Email_Reporting/Report_Options.php', 344 365 'Google\\Site_Kit\\Modules\\Search_Console\\Settings' => $baseDir . '/Modules/Search_Console/Settings.php', 345 366 'Google\\Site_Kit\\Modules\\Sign_In_With_Google' => $baseDir . '/Modules/Sign_In_With_Google.php', -
google-site-kit/trunk/readme.txt
r3397601 r3407206 3 3 Contributors: google 4 4 Requires at least: 5.2 5 Tested up to: 6. 85 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 1.16 6.07 Stable tag: 1.167.0 8 8 License: Apache License 2.0 9 9 License URI: https://www.apache.org/licenses/LICENSE-2.0 … … 110 110 == Changelog == 111 111 112 = 1.16 6.0 =112 = 1.167.0 = 113 113 114 114 **Enhanced** 115 115 116 * Fix the font family for the "Sign in with Google" button on the new splash screen. See [#11690](https://github.com/google/site-kit-wp/issues/11690). 117 * Update blocks to use API version 3 for WordPress 6.3 and above to ensure compatibility with the block editor's iframe mode. See [#11674](https://github.com/google/site-kit-wp/issues/11674). 118 * Add "Learn more" link destinations in the new setup flow. See [#11657](https://github.com/google/site-kit-wp/issues/11657). 119 * Horizontally center the `ToastNotice` component in mobile viewports, and update its border radius. See [#11645](https://github.com/google/site-kit-wp/issues/11645). 120 * Ensure the Analytics setup success notification is shown when Analytics is set up after the new initial setup flow. See [#11617](https://github.com/google/site-kit-wp/issues/11617). 121 * Add Email Reporting information to Site Health data. See [#11434](https://github.com/google/site-kit-wp/issues/11434). 122 * Add WP dashboard pointer to inform users about the availability of email reporting. See [#11433](https://github.com/google/site-kit-wp/issues/11433). 123 * Update the Analytics account creation screen for the new setup flow. See [#11383](https://github.com/google/site-kit-wp/issues/11383). 124 * Update Analytics setup screen as part of the new setup flow. See [#11382](https://github.com/google/site-kit-wp/issues/11382). 125 * Update the Key Metrics screen's styling to match the Figma design and include the **Exit setup** button in the header. See [#11376](https://github.com/google/site-kit-wp/issues/11376). 126 * Improve user experience in the audience selection panel by making a close action more prominent to avoid unintentional dismissal. See [#9980](https://github.com/google/site-kit-wp/issues/9980). 116 * Update casing of web data stream labels for consistency. See [#11763](https://github.com/google/site-kit-wp/issues/11763). 117 * Add missing external icon to "Learn more" links in enhanced conversions notifications. See [#11744](https://github.com/google/site-kit-wp/issues/11744). 118 * Update Enhanced Conversions dashboard notification priority to use `SETUP_CTA_HIGH` for consistency. See [#11741](https://github.com/google/site-kit-wp/issues/11741). 119 * Add opt-in GA tracking as part of the new setup flow in the splash, Analytics, and Key Metrics setup screens. See [#11721](https://github.com/google/site-kit-wp/issues/11721). 120 * Pass `show_progress` as a query parameter to the redirect URI rather than as a separate property when creating an Analytics account in the new setup flow. See [#11715](https://github.com/google/site-kit-wp/issues/11715). 121 * Create email reporting data and section classes. See [#11680](https://github.com/google/site-kit-wp/issues/11680). 122 * Include the current AMP mode in the request to get enabled features. See [#11643](https://github.com/google/site-kit-wp/issues/11643). 123 * Implement monitor scheduler for Email Reporting events. See [#11599](https://github.com/google/site-kit-wp/issues/11599). 124 * Implement email reporting log clear schedulers. See [#11582](https://github.com/google/site-kit-wp/issues/11582). 125 * AdSense alert links now open in a new tab. See [#11578](https://github.com/google/site-kit-wp/issues/11578). 126 * Add report options builder classes for Analytics, AdSense, and SC modules. See [#11552](https://github.com/google/site-kit-wp/issues/11552). 127 * Implement “Worker” scheduled events for Email Reporting. See [#11547](https://github.com/google/site-kit-wp/issues/11547). 128 * Add infrastructure for scheduled events at various intervals. See [#11546](https://github.com/google/site-kit-wp/issues/11546). 129 * Extend the Reset utility class to delete remaining error reporting logs. See [#11545](https://github.com/google/site-kit-wp/issues/11545). 130 * Improve the help link destination in the authentication error screen. See [#11529](https://github.com/google/site-kit-wp/issues/11529). 131 * Ensure the user is returned to the Analytics or Key Metrics setup screen if the new setup flow is interrupted on one of those screens. See [#11388](https://github.com/google/site-kit-wp/issues/11388). 132 * Improve error reporting in Site Kit widgets to not report duplicate errors. See [#8970](https://github.com/google/site-kit-wp/issues/8970). 133 * Improve legend color consistency in the Analytics all traffic widget. See [#7199](https://github.com/google/site-kit-wp/issues/7199). 127 134 128 135 **Fixed** 129 136 130 * Fix bug that caused a 404 browser console warning when editing a post. See [#11754](https://github.com/google/site-kit-wp/issues/11754). 131 * Improve performance on sites with thousands of users when checking for multiple admin users. See [#11717](https://github.com/google/site-kit-wp/issues/11717). 132 * Fix incorrect progress indicator step at Analytics setup in the new setup flow. See [#11669](https://github.com/google/site-kit-wp/issues/11669). 133 * Keep the WooCommerce Redirect Modal open and show a loading indicator when the primary CTA is clicked. See [#11343](https://github.com/google/site-kit-wp/issues/11343). 137 * Fix internal event tracking to include plugin version information. See [#11802](https://github.com/google/site-kit-wp/issues/11802). 138 * Prevent an unnecessary request to the `enhanced-measurement-settings` endpoint when loading the dashboard. See [#11766](https://github.com/google/site-kit-wp/issues/11766). 139 * Fix incorrect formatting of WooCommerce enhanced conversions phone numbers. See [#11737](https://github.com/google/site-kit-wp/issues/11737). 140 * Ensure the "Google Analytics was successfully set up" toast should appears on the Key Metrics setup screen in the new setup flow. See [#11731](https://github.com/google/site-kit-wp/issues/11731). 141 * Amend styles for Sign in with Google settings editing screen. See [#11314](https://github.com/google/site-kit-wp/issues/11314). 142 * Fix Audience segmentation toggling issue. See [#9700](https://github.com/google/site-kit-wp/issues/9700). 134 143 135 144 [See changelog for all versions](https://raw.githubusercontent.com/google/site-kit-wp/main/changelog.txt).
Note: See TracChangeset
for help on using the changeset viewer.