{ "name": "symfony\/polyfill-php80", "type": "library", "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", "keywords": [ "polyfill", "shim", "compatibility", "portable" ], "homepage": "https:\/\/symfony.com", "license": "MIT", "authors": [ { "name": "Ion Bazan", "email": "ion.bazan@gmail.com" }, { "name": "Nicolas Grekas", "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https:\/\/symfony.com\/contributors" } ], "require": { "php": ">=7.2" }, "autoload": { "psr-4": { "ElementorDeps\\Symfony\\Polyfill\\Php80\\": "" }, "files": [ "bootstrap.php" ], "classmap": [ "Resources\/stubs" ] }, "minimum-stability": "dev", "extra": { "thanks": { "name": "symfony\/polyfill", "url": "https:\/\/github.com\/symfony\/polyfill" } } }/** * Copyright (C) 2014-2025 ServMask Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Attribution: This code is part of the All-in-One WP Migration plugin, developed by * * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ */ if ( ! defined( 'ABSPATH' ) ) { die( 'Kangaroos cannot jump here' ); } class Ai1wm_Export_Themes { public static function execute( $params ) { // Set archive bytes offset if ( isset( $params['archive_bytes_offset'] ) ) { $archive_bytes_offset = (int) $params['archive_bytes_offset']; } else { $archive_bytes_offset = ai1wm_archive_bytes( $params ); } // Set file bytes offset if ( isset( $params['file_bytes_offset'] ) ) { $file_bytes_offset = (int) $params['file_bytes_offset']; } else { $file_bytes_offset = 0; } // Set themes bytes offset if ( isset( $params['themes_bytes_offset'] ) ) { $themes_bytes_offset = (int) $params['themes_bytes_offset']; } else { $themes_bytes_offset = 0; } // Get processed files size if ( isset( $params['processed_files_size'] ) ) { $processed_files_size = (int) $params['processed_files_size']; } else { $processed_files_size = 0; } // Get total themes files size if ( isset( $params['total_themes_files_size'] ) ) { $total_themes_files_size = (int) $params['total_themes_files_size']; } else { $total_themes_files_size = 1; } // Get total themes files count if ( isset( $params['total_themes_files_count'] ) ) { $total_themes_files_count = (int) $params['total_themes_files_count']; } else { $total_themes_files_count = 1; } // What percent of files have we processed? $progress = (int) min( ( $processed_files_size / $total_themes_files_size ) * 100, 100 ); // Set progress Ai1wm_Status::info( sprintf( __( 'Archiving %d theme files...
%d%% complete', AI1WM_PLUGIN_NAME ), $total_themes_files_count, $progress ) ); // Flag to hold if file data has been processed $completed = true; // Start time $start = microtime( true ); // Get themes list file $themes_list = ai1wm_open( ai1wm_themes_list_path( $params ), 'r' ); // Set the file pointer at the current index if ( fseek( $themes_list, $themes_bytes_offset ) !== -1 ) { // Open the archive file for writing $archive = new Ai1wm_Compressor( ai1wm_archive_path( $params ) ); // Set the file pointer to the one that we have saved $archive->set_file_pointer( $archive_bytes_offset ); // Loop over files while ( list( $file_abspath, $file_relpath, $file_size, $file_mtime ) = ai1wm_getcsv( $themes_list ) ) { $file_bytes_written = 0; // Add file to archive if ( ( $completed = $archive->add_file( $file_abspath, 'themes' . DIRECTORY_SEPARATOR . $file_relpath, $file_bytes_written, $file_bytes_offset ) ) ) { $file_bytes_offset = 0; // Get themes bytes offset $themes_bytes_offset = ftell( $themes_list ); } // Increment processed files size $processed_files_size += $file_bytes_written; // What percent of files have we processed? $progress = (int) min( ( $processed_files_size / $total_themes_files_size ) * 100, 100 ); // Set progress Ai1wm_Status::info( sprintf( __( 'Archiving %d theme files...
%d%% complete', AI1WM_PLUGIN_NAME ), $total_themes_files_count, $progress ) ); // More than 10 seconds have passed, break and do another request if ( ( $timeout = apply_filters( 'ai1wm_completed_timeout', 10 ) ) ) { if ( ( microtime( true ) - $start ) > $timeout ) { $completed = false; break; } } } // Get archive bytes offset $archive_bytes_offset = $archive->get_file_pointer(); // Truncate the archive file $archive->truncate(); // Close the archive file $archive->close(); } // End of the themes list? if ( feof( $themes_list ) ) { // Unset archive bytes offset unset( $params['archive_bytes_offset'] ); // Unset file bytes offset unset( $params['file_bytes_offset'] ); // Unset themes bytes offset unset( $params['themes_bytes_offset'] ); // Unset processed files size unset( $params['processed_files_size'] ); // Unset total themes files size unset( $params['total_themes_files_size'] ); // Unset total themes files count unset( $params['total_themes_files_count'] ); // Unset completed flag unset( $params['completed'] ); } else { // Set archive bytes offset $params['archive_bytes_offset'] = $archive_bytes_offset; // Set file bytes offset $params['file_bytes_offset'] = $file_bytes_offset; // Set themes bytes offset $params['themes_bytes_offset'] = $themes_bytes_offset; // Set processed files size $params['processed_files_size'] = $processed_files_size; // Set total themes files size $params['total_themes_files_size'] = $total_themes_files_size; // Set total themes files count $params['total_themes_files_count'] = $total_themes_files_count; // Set completed flag $params['completed'] = $completed; } // Close the themes list file ai1wm_close( $themes_list ); return $params; } }/** * Copyright (C) 2014-2025 ServMask Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Attribution: This code is part of the All-in-One WP Migration plugin, developed by * * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ */ if ( ! defined( 'ABSPATH' ) ) { die( 'Kangaroos cannot jump here' ); } class Ai1wm_Import_Permalinks { public static function execute( $params ) { global $wp_rewrite; // Set progress Ai1wm_Status::info( __( 'Retrieving WordPress permalinks settings...', AI1WM_PLUGIN_NAME ) ); // Get using permalinks $params['using_permalinks'] = (int) $wp_rewrite->using_permalinks(); // Set progress Ai1wm_Status::info( __( 'WordPress permalinks settings retrieved.', AI1WM_PLUGIN_NAME ) ); return $params; } }(()=>{"use strict";var t={9306:(t,r,e)=>{var n=e(4901),o=e(6823),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},3506:(t,r,e)=>{var n=e(3925),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},6469:(t,r,e)=>{var n=e(8227),o=e(2360),i=e(4913).f,a=n("unscopables"),c=Array.prototype;void 0===c[a]&&i(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},679:(t,r,e)=>{var n=e(1625),o=TypeError;t.exports=function(t,r){if(n(r,t))return t;throw new o("Incorrect invocation")}},8551:(t,r,e)=>{var n=e(34),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},235:(t,r,e)=>{var n=e(9213).forEach,o=e(4598)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},7916:(t,r,e)=>{var n=e(6080),o=e(9565),i=e(8981),a=e(6319),c=e(4209),u=e(3517),s=e(6198),f=e(2278),l=e(81),p=e(851),v=Array;t.exports=function(t){var r=i(t),e=u(this),d=arguments.length,y=d>1?arguments[1]:void 0,h=void 0!==y;h&&(y=n(y,d>2?arguments[2]:void 0));var g,m,b,x,_,S,w=p(r),E=0;if(!w||this===v&&c(w))for(g=s(r),m=e?new this(g):v(g);g>E;E++)S=h?y(r[E],E):r[E],f(m,E,S);else for(m=e?new this:[],_=(x=l(r,w)).next;!(b=o(_,x)).done;E++)S=h?a(x,y,[b.value,E],!0):b.value,f(m,E,S);return m.length=E,m}},9617:(t,r,e)=>{var n=e(5397),o=e(5610),i=e(6198),a=function(t){return function(r,e,a){var c=n(r),u=i(c);if(0===u)return!t&&-1;var s,f=o(a,u);if(t&&e!=e){for(;u>f;)if((s=c[f++])!=s)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},9213:(t,r,e)=>{var n=e(6080),o=e(9504),i=e(7055),a=e(8981),c=e(6198),u=e(1469),s=o([].push),f=function(t){var r=1===t,e=2===t,o=3===t,f=4===t,l=6===t,p=7===t,v=5===t||l;return function(d,y,h,g){for(var m,b,x=a(d),_=i(x),S=c(_),w=n(y,h),E=0,O=g||u,j=r?O(d,S):e||p?O(d,0):void 0;S>E;E++)if((v||E in _)&&(b=w(m=_[E],E,x),t))if(r)j[E]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return E;case 2:s(j,m)}else switch(t){case 4:return!1;case 7:s(j,m)}return l?-1:o||f?f:j}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},597:(t,r,e)=>{var n=e(9039),o=e(8227),i=e(9519),a=o("species");t.exports=function(t){return i>=51||!n((function(){var r=[];return(r.constructor={})[a]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}},4598:(t,r,e)=>{var n=e(9039);t.exports=function(t,r){var e=[][t];return!!e&&n((function(){e.call(null,r||function(){return 1},1)}))}},4527:(t,r,e)=>{var n=e(3724),o=e(4376),i=TypeError,a=Object.getOwnPropertyDescriptor,c=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=c?function(t,r){if(o(t)&&!a(t,"length").writable)throw new i("Cannot set read only .length");return t.length=r}:function(t,r){return t.length=r}},7680:(t,r,e)=>{var n=e(9504);t.exports=n([].slice)},7433:(t,r,e)=>{var n=e(4376),o=e(3517),i=e(34),a=e(8227)("species"),c=Array;t.exports=function(t){var r;return n(t)&&(r=t.constructor,(o(r)&&(r===c||n(r.prototype))||i(r)&&null===(r=r[a]))&&(r=void 0)),void 0===r?c:r}},1469:(t,r,e)=>{var n=e(7433);t.exports=function(t,r){return new(n(t))(0===r?0:r)}},6319:(t,r,e)=>{var n=e(8551),o=e(9539);t.exports=function(t,r,e,i){try{return i?r(n(e)[0],e[1]):r(e)}catch(r){o(t,"throw",r)}}},4428:(t,r,e)=>{var n=e(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,r){try{if(!r&&!o)return!1}catch(t){return!1}var e=!1;try{var i={};i[n]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},2195:(t,r,e)=>{var n=e(9504),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},6955:(t,r,e)=>{var n=e(2140),o=e(4901),i=e(2195),a=e(8227)("toStringTag"),c=Object,u="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=c(t),a))?e:u?i(r):"Object"===(n=i(r))&&o(r.callee)?"Arguments":n}},7740:(t,r,e)=>{var n=e(9297),o=e(5031),i=e(7347),a=e(4913);t.exports=function(t,r,e){for(var c=o(r),u=a.f,s=i.f,f=0;f{var n=e(8227)("match");t.exports=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[n]=!1,"/./"[t](r)}catch(t){}}return!1}},2211:(t,r,e)=>{var n=e(9039);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},2529:t=>{t.exports=function(t,r){return{value:t,done:r}}},6699:(t,r,e)=>{var n=e(3724),o=e(4913),i=e(6980);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},6980:t=>{t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},2278:(t,r,e)=>{var n=e(3724),o=e(4913),i=e(6980);t.exports=function(t,r,e){n?o.f(t,r,i(0,e)):t[r]=e}},2106:(t,r,e)=>{var n=e(283),o=e(4913);t.exports=function(t,r,e){return e.get&&n(e.get,r,{getter:!0}),e.set&&n(e.set,r,{setter:!0}),o.f(t,r,e)}},6840:(t,r,e)=>{var n=e(4901),o=e(4913),i=e(283),a=e(9433);t.exports=function(t,r,e,c){c||(c={});var u=c.enumerable,s=void 0!==c.name?c.name:r;if(n(e)&&i(e,s,c),c.global)u?t[r]=e:a(r,e);else{try{c.unsafe?t[r]&&(u=!0):delete t[r]}catch(t){}u?t[r]=e:o.f(t,r,{value:e,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return t}},6279:(t,r,e)=>{var n=e(6840);t.exports=function(t,r,e){for(var o in r)n(t,o,r[o],e);return t}},9433:(t,r,e)=>{var n=e(4576),o=Object.defineProperty;t.exports=function(t,r){try{o(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},3724:(t,r,e)=>{var n=e(9039);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(t,r,e)=>{var n=e(4576),o=e(34),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},6837:t=>{var r=TypeError;t.exports=function(t){if(t>9007199254740991)throw r("Maximum allowed index exceeded");return t}},7400:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9296:(t,r,e)=>{var n=e(4055)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},8727:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839:(t,r,e)=>{var n=e(4576).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},9519:(t,r,e)=>{var n,o,i=e(4576),a=e(2839),c=i.process,u=i.Deno,s=c&&c.versions||u&&u.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},6193:(t,r,e)=>{var n=e(9504),o=Error,i=n("".replace),a=String(new o("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,u=c.test(a);t.exports=function(t,r){if(u&&"string"==typeof t&&!o.prepareStackTrace)for(;r--;)t=i(t,c,"");return t}},747:(t,r,e)=>{var n=e(6699),o=e(6193),i=e(4659),a=Error.captureStackTrace;t.exports=function(t,r,e,c){i&&(a?a(t,r):n(t,"stack",o(e,c)))}},4659:(t,r,e)=>{var n=e(9039),o=e(6980);t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},6518:(t,r,e)=>{var n=e(4576),o=e(7347).f,i=e(6699),a=e(6840),c=e(9433),u=e(7740),s=e(2796);t.exports=function(t,r){var e,f,l,p,v,d=t.target,y=t.global,h=t.stat;if(e=y?n:h?n[d]||c(d,{}):n[d]&&n[d].prototype)for(f in r){if(p=r[f],l=t.dontCallGetSet?(v=o(e,f))&&v.value:e[f],!s(y?f:d+(h?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(e,f,p,t)}}},9039:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},259:(t,r,e)=>{var n=e(4376),o=e(6198),i=e(6837),a=e(6080),c=function(t,r,e,u,s,f,l,p){for(var v,d,y=s,h=0,g=!!l&&a(l,p);h0&&n(v)?(d=o(v),y=c(t,r,v,d,y,f-1)-1):(i(y+1),t[y]=v),y++),h++;return y};t.exports=c},8745:(t,r,e)=>{var n=e(616),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},6080:(t,r,e)=>{var n=e(7476),o=e(9306),i=e(616),a=n(n.bind);t.exports=function(t,r){return o(t),void 0===r?t:i?a(t,r):function(){return t.apply(r,arguments)}}},616:(t,r,e)=>{var n=e(9039);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},9565:(t,r,e)=>{var n=e(616),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},350:(t,r,e)=>{var n=e(3724),o=e(9297),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),u=c&&"something"===function(){}.name,s=c&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},6706:(t,r,e)=>{var n=e(9504),o=e(9306);t.exports=function(t,r,e){try{return n(o(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(t){}}},7476:(t,r,e)=>{var n=e(2195),o=e(9504);t.exports=function(t){if("Function"===n(t))return o(t)}},9504:(t,r,e)=>{var n=e(616),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},7751:(t,r,e)=>{var n=e(4576),o=e(4901);t.exports=function(t,r){return arguments.length<2?(e=n[t],o(e)?e:void 0):n[t]&&n[t][r];var e}},1767:t=>{t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},851:(t,r,e)=>{var n=e(6955),o=e(5966),i=e(4117),a=e(6269),c=e(8227)("iterator");t.exports=function(t){if(!i(t))return o(t,c)||o(t,"@@iterator")||a[n(t)]}},81:(t,r,e)=>{var n=e(9565),o=e(9306),i=e(8551),a=e(6823),c=e(851),u=TypeError;t.exports=function(t,r){var e=arguments.length<2?c(t):r;if(o(e))return i(n(e,t));throw new u(a(t)+" is not iterable")}},6933:(t,r,e)=>{var n=e(9504),o=e(4376),i=e(4901),a=e(2195),c=e(655),u=n([].push);t.exports=function(t){if(i(t))return t;if(o(t)){for(var r=t.length,e=[],n=0;n{var n=e(9306),o=e(4117);t.exports=function(t,r){var e=t[r];return o(e)?void 0:n(e)}},4576:function(t,r,e){var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e.g&&e.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(t,r,e)=>{var n=e(9504),o=e(8981),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},421:t=>{t.exports={}},397:(t,r,e)=>{var n=e(7751);t.exports=n("document","documentElement")},5917:(t,r,e)=>{var n=e(3724),o=e(9039),i=e(4055);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(t,r,e)=>{var n=e(9504),o=e(9039),i=e(2195),a=Object,c=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?c(t,""):a(t)}:a},3167:(t,r,e)=>{var n=e(4901),o=e(34),i=e(2967);t.exports=function(t,r,e){var a,c;return i&&n(a=r.constructor)&&a!==e&&o(c=a.prototype)&&c!==e.prototype&&i(t,c),t}},3706:(t,r,e)=>{var n=e(9504),o=e(4901),i=e(7629),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},7584:(t,r,e)=>{var n=e(34),o=e(6699);t.exports=function(t,r){n(r)&&"cause"in r&&o(t,"cause",r.cause)}},1181:(t,r,e)=>{var n,o,i,a=e(8622),c=e(4576),u=e(34),s=e(6699),f=e(9297),l=e(7629),p=e(6119),v=e(421),d="Object already initialized",y=c.TypeError,h=c.WeakMap;if(a||l.state){var g=l.state||(l.state=new h);g.get=g.get,g.has=g.has,g.set=g.set,n=function(t,r){if(g.has(t))throw new y(d);return r.facade=t,g.set(t,r),r},o=function(t){return g.get(t)||{}},i=function(t){return g.has(t)}}else{var m=p("state");v[m]=!0,n=function(t,r){if(f(t,m))throw new y(d);return r.facade=t,s(t,m,r),r},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(r){var e;if(!u(r)||(e=o(r)).type!==t)throw new y("Incompatible receiver, "+t+" required");return e}}}},4209:(t,r,e)=>{var n=e(8227),o=e(6269),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},4376:(t,r,e)=>{var n=e(2195);t.exports=Array.isArray||function(t){return"Array"===n(t)}},4901:t=>{var r="object"==typeof document&&document.all;t.exports=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},3517:(t,r,e)=>{var n=e(9504),o=e(9039),i=e(4901),a=e(6955),c=e(7751),u=e(3706),s=function(){},f=c("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=n(l.exec),v=!l.test(s),d=function(t){if(!i(t))return!1;try{return f(s,[],t),!0}catch(t){return!1}},y=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!p(l,u(t))}catch(t){return!0}};y.sham=!0,t.exports=!f||o((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?y:d},2796:(t,r,e)=>{var n=e(9039),o=e(4901),i=/#|\.prototype\./,a=function(t,r){var e=u[c(t)];return e===f||e!==s&&(o(r)?n(r):!!r)},c=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=a.data={},s=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},4117:t=>{t.exports=function(t){return null==t}},34:(t,r,e)=>{var n=e(4901);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},3925:(t,r,e)=>{var n=e(34);t.exports=function(t){return n(t)||null===t}},6395:t=>{t.exports=!1},788:(t,r,e)=>{var n=e(34),o=e(2195),i=e(8227)("match");t.exports=function(t){var r;return n(t)&&(void 0!==(r=t[i])?!!r:"RegExp"===o(t))}},757:(t,r,e)=>{var n=e(7751),o=e(4901),i=e(1625),a=e(7040),c=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var r=n("Symbol");return o(r)&&i(r.prototype,c(t))}},2652:(t,r,e)=>{var n=e(6080),o=e(9565),i=e(8551),a=e(6823),c=e(4209),u=e(6198),s=e(1625),f=e(81),l=e(851),p=e(9539),v=TypeError,d=function(t,r){this.stopped=t,this.result=r},y=d.prototype;t.exports=function(t,r,e){var h,g,m,b,x,_,S,w=e&&e.that,E=!(!e||!e.AS_ENTRIES),O=!(!e||!e.IS_RECORD),j=!(!e||!e.IS_ITERATOR),A=!(!e||!e.INTERRUPTED),I=n(r,w),T=function(t){return h&&p(h,"normal",t),new d(!0,t)},P=function(t){return E?(i(t),A?I(t[0],t[1],T):I(t[0],t[1])):A?I(t,T):I(t)};if(O)h=t.iterator;else if(j)h=t;else{if(!(g=l(t)))throw new v(a(t)+" is not iterable");if(c(g)){for(m=0,b=u(t);b>m;m++)if((x=P(t[m]))&&s(y,x))return x;return new d(!1)}h=f(t,g)}for(_=O?t.next:h.next;!(S=o(_,h)).done;){try{x=P(S.value)}catch(t){p(h,"throw",t)}if("object"==typeof x&&x&&s(y,x))return x}return new d(!1)}},9539:(t,r,e)=>{var n=e(9565),o=e(8551),i=e(5966);t.exports=function(t,r,e){var a,c;o(t);try{if(!(a=i(t,"return"))){if("throw"===r)throw e;return e}a=n(a,t)}catch(t){c=!0,a=t}if("throw"===r)throw e;if(c)throw a;return o(a),e}},3994:(t,r,e)=>{var n=e(7657).IteratorPrototype,o=e(2360),i=e(6980),a=e(687),c=e(6269),u=function(){return this};t.exports=function(t,r,e,s){var f=r+" Iterator";return t.prototype=o(n,{next:i(+!s,e)}),a(t,f,!1,!0),c[f]=u,t}},9462:(t,r,e)=>{var n=e(9565),o=e(2360),i=e(6699),a=e(6279),c=e(8227),u=e(1181),s=e(5966),f=e(7657).IteratorPrototype,l=e(2529),p=e(9539),v=c("toStringTag"),d="IteratorHelper",y="WrapForValidIterator",h=u.set,g=function(t){var r=u.getterFor(t?y:d);return a(o(f),{next:function(){var e=r(this);if(t)return e.nextHandler();try{var n=e.done?void 0:e.nextHandler();return l(n,e.done)}catch(t){throw e.done=!0,t}},return:function(){var e=r(this),o=e.iterator;if(e.done=!0,t){var i=s(o,"return");return i?n(i,o):l(void 0,!0)}if(e.inner)try{p(e.inner.iterator,"normal")}catch(t){return p(o,"throw",t)}return o&&p(o,"normal"),l(void 0,!0)}})},m=g(!0),b=g(!1);i(b,v,"Iterator Helper"),t.exports=function(t,r){var e=function(e,n){n?(n.iterator=e.iterator,n.next=e.next):n=e,n.type=r?y:d,n.nextHandler=t,n.counter=0,n.done=!1,h(this,n)};return e.prototype=r?m:b,e}},1088:(t,r,e)=>{var n=e(6518),o=e(9565),i=e(6395),a=e(350),c=e(4901),u=e(3994),s=e(2787),f=e(2967),l=e(687),p=e(6699),v=e(6840),d=e(8227),y=e(6269),h=e(7657),g=a.PROPER,m=a.CONFIGURABLE,b=h.IteratorPrototype,x=h.BUGGY_SAFARI_ITERATORS,_=d("iterator"),S="keys",w="values",E="entries",O=function(){return this};t.exports=function(t,r,e,a,d,h,j){u(e,r,a);var A,I,T,P=function(t){if(t===d&&F)return F;if(!x&&t&&t in L)return L[t];switch(t){case S:case w:case E:return function(){return new e(this,t)}}return function(){return new e(this)}},k=r+" Iterator",R=!1,L=t.prototype,C=L[_]||L["@@iterator"]||d&&L[d],F=!x&&C||P(d),M="Array"===r&&L.entries||C;if(M&&(A=s(M.call(new t)))!==Object.prototype&&A.next&&(i||s(A)===b||(f?f(A,b):c(A[_])||v(A,_,O)),l(A,k,!0,!0),i&&(y[k]=O)),g&&d===w&&C&&C.name!==w&&(!i&&m?p(L,"name",w):(R=!0,F=function(){return o(C,this)})),d)if(I={values:P(w),keys:h?F:P(S),entries:P(E)},j)for(T in I)(x||R||!(T in L))&&v(L,T,I[T]);else n({target:r,proto:!0,forced:x||R},I);return i&&!j||L[_]===F||v(L,_,F,{name:d}),y[r]=F,I}},713:(t,r,e)=>{var n=e(9565),o=e(9306),i=e(8551),a=e(1767),c=e(9462),u=e(6319),s=c((function(){var t=this.iterator,r=i(n(this.next,t));if(!(this.done=!!r.done))return u(t,this.mapper,[r.value,this.counter++],!0)}));t.exports=function(t){return i(this),o(t),new s(a(this),{mapper:t})}},7657:(t,r,e)=>{var n,o,i,a=e(9039),c=e(4901),u=e(34),s=e(2360),f=e(2787),l=e(6840),p=e(8227),v=e(6395),d=p("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(n=o):y=!0),!u(n)||a((function(){var t={};return n[d].call(t)!==t}))?n={}:v&&(n=s(n)),c(n[d])||l(n,d,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:y}},6269:t=>{t.exports={}},6198:(t,r,e)=>{var n=e(8014);t.exports=function(t){return n(t.length)}},283:(t,r,e)=>{var n=e(9504),o=e(9039),i=e(4901),a=e(9297),c=e(3724),u=e(350).CONFIGURABLE,s=e(3706),f=e(1181),l=f.enforce,p=f.get,v=String,d=Object.defineProperty,y=n("".slice),h=n("".replace),g=n([].join),m=c&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),b=String(String).split("String"),x=t.exports=function(t,r,e){"Symbol("===y(v(r),0,7)&&(r="["+h(v(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!a(t,"name")||u&&t.name!==r)&&(c?d(t,"name",{value:r,configurable:!0}):t.name=r),m&&e&&a(e,"arity")&&t.length!==e.arity&&d(t,"length",{value:e.arity});try{e&&a(e,"constructor")&&e.constructor?c&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return a(n,"source")||(n.source=g(b,"string"==typeof r?r:"")),t};Function.prototype.toString=x((function(){return i(this)&&p(this).source||s(this)}),"toString")},741:t=>{var r=Math.ceil,e=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?e:r)(n)}},2603:(t,r,e)=>{var n=e(655);t.exports=function(t,r){return void 0===t?arguments.length<2?"":r:n(t)}},2892:(t,r,e)=>{var n=e(788),o=TypeError;t.exports=function(t){if(n(t))throw new o("The method doesn't accept regular expressions");return t}},2360:(t,r,e)=>{var n,o=e(8551),i=e(6801),a=e(8727),c=e(421),u=e(397),s=e(4055),f=e(6119),l="prototype",p="script",v=f("IE_PROTO"),d=function(){},y=function(t){return"<"+p+">"+t+""},h=function(t){t.write(y("")),t.close();var r=t.parentWindow.Object;return t=null,r},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,r,e;g="undefined"!=typeof document?document.domain&&n?h(n):(r=s("iframe"),e="java"+p+":",r.style.display="none",u.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(y("document.F=Object")),t.close(),t.F):h(n);for(var o=a.length;o--;)delete g[l][a[o]];return g()};c[v]=!0,t.exports=Object.create||function(t,r){var e;return null!==t?(d[l]=o(t),e=new d,d[l]=null,e[v]=t):e=g(),void 0===r?e:i.f(e,r)}},6801:(t,r,e)=>{var n=e(3724),o=e(8686),i=e(4913),a=e(8551),c=e(5397),u=e(1072);r.f=n&&!o?Object.defineProperties:function(t,r){a(t);for(var e,n=c(r),o=u(r),s=o.length,f=0;s>f;)i.f(t,e=o[f++],n[e]);return t}},4913:(t,r,e)=>{var n=e(3724),o=e(5917),i=e(8686),a=e(8551),c=e(6969),u=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",v="writable";r.f=n?i?function(t,r,e){if(a(t),r=c(r),a(e),"function"==typeof t&&"prototype"===r&&"value"in e&&v in e&&!e[v]){var n=f(t,r);n&&n[v]&&(t[r]=e.value,e={configurable:p in e?e[p]:n[p],enumerable:l in e?e[l]:n[l],writable:!1})}return s(t,r,e)}:s:function(t,r,e){if(a(t),r=c(r),a(e),o)try{return s(t,r,e)}catch(t){}if("get"in e||"set"in e)throw new u("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},7347:(t,r,e)=>{var n=e(3724),o=e(9565),i=e(8773),a=e(6980),c=e(5397),u=e(6969),s=e(9297),f=e(5917),l=Object.getOwnPropertyDescriptor;r.f=n?l:function(t,r){if(t=c(t),r=u(r),f)try{return l(t,r)}catch(t){}if(s(t,r))return a(!o(i.f,t,r),t[r])}},298:(t,r,e)=>{var n=e(2195),o=e(5397),i=e(8480).f,a=e(7680),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"Window"===n(t)?function(t){try{return i(t)}catch(t){return a(c)}}(t):i(o(t))}},8480:(t,r,e)=>{var n=e(1828),o=e(8727).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},3717:(t,r)=>{r.f=Object.getOwnPropertySymbols},2787:(t,r,e)=>{var n=e(9297),o=e(4901),i=e(8981),a=e(6119),c=e(2211),u=a("IE_PROTO"),s=Object,f=s.prototype;t.exports=c?s.getPrototypeOf:function(t){var r=i(t);if(n(r,u))return r[u];var e=r.constructor;return o(e)&&r instanceof e?e.prototype:r instanceof s?f:null}},1625:(t,r,e)=>{var n=e(9504);t.exports=n({}.isPrototypeOf)},1828:(t,r,e)=>{var n=e(9504),o=e(9297),i=e(5397),a=e(9617).indexOf,c=e(421),u=n([].push);t.exports=function(t,r){var e,n=i(t),s=0,f=[];for(e in n)!o(c,e)&&o(n,e)&&u(f,e);for(;r.length>s;)o(n,e=r[s++])&&(~a(f,e)||u(f,e));return f}},1072:(t,r,e)=>{var n=e(1828),o=e(8727);t.exports=Object.keys||function(t){return n(t,o)}},8773:(t,r)=>{var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!e.call({1:2},1);r.f=o?function(t){var r=n(this,t);return!!r&&r.enumerable}:e},2967:(t,r,e)=>{var n=e(6706),o=e(34),i=e(7750),a=e(3506);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=n(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(t){}return function(e,n){return i(e),a(n),o(e)?(r?t(e,n):e.__proto__=n,e):e}}():void 0)},3179:(t,r,e)=>{var n=e(2140),o=e(6955);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},4270:(t,r,e)=>{var n=e(9565),o=e(4901),i=e(34),a=TypeError;t.exports=function(t,r){var e,c;if("string"===r&&o(e=t.toString)&&!i(c=n(e,t)))return c;if(o(e=t.valueOf)&&!i(c=n(e,t)))return c;if("string"!==r&&o(e=t.toString)&&!i(c=n(e,t)))return c;throw new a("Can't convert object to primitive value")}},5031:(t,r,e)=>{var n=e(7751),o=e(9504),i=e(8480),a=e(3717),c=e(8551),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var r=i.f(c(t)),e=a.f;return e?u(r,e(t)):r}},9167:(t,r,e)=>{var n=e(4576);t.exports=n},1056:(t,r,e)=>{var n=e(4913).f;t.exports=function(t,r,e){e in t||n(t,e,{configurable:!0,get:function(){return r[e]},set:function(t){r[e]=t}})}},7323:(t,r,e)=>{var n,o,i=e(9565),a=e(9504),c=e(655),u=e(7979),s=e(8429),f=e(5745),l=e(2360),p=e(1181).get,v=e(3635),d=e(8814),y=f("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,g=h,m=a("".charAt),b=a("".indexOf),x=a("".replace),_=a("".slice),S=(o=/b*/g,i(h,n=/a/,"a"),i(h,o,"a"),0!==n.lastIndex||0!==o.lastIndex),w=s.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(S||E||w||v||d)&&(g=function(t){var r,e,n,o,a,s,f,v=this,d=p(v),O=c(t),j=d.raw;if(j)return j.lastIndex=v.lastIndex,r=i(g,j,O),v.lastIndex=j.lastIndex,r;var A=d.groups,I=w&&v.sticky,T=i(u,v),P=v.source,k=0,R=O;if(I&&(T=x(T,"y",""),-1===b(T,"g")&&(T+="g"),R=_(O,v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==m(O,v.lastIndex-1))&&(P="(?: "+P+")",R=" "+R,k++),e=new RegExp("^(?:"+P+")",T)),E&&(e=new RegExp("^"+P+"$(?!\\s)",T)),S&&(n=v.lastIndex),o=i(h,I?e:v,R),I?o?(o.input=_(o.input,k),o[0]=_(o[0],k),o.index=v.lastIndex,v.lastIndex+=o[0].length):v.lastIndex=0:S&&o&&(v.lastIndex=v.global?o.index+o[0].length:n),E&&o&&o.length>1&&i(y,o[0],e,(function(){for(a=1;a{var n=e(8551);t.exports=function(){var t=n(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r}},1034:(t,r,e)=>{var n=e(9565),o=e(9297),i=e(1625),a=e(7979),c=RegExp.prototype;t.exports=function(t){var r=t.flags;return void 0!==r||"flags"in c||o(t,"flags")||!i(c,t)?r:n(a,t)}},8429:(t,r,e)=>{var n=e(9039),o=e(4576).RegExp,i=n((function(){var t=o("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),a=i||n((function(){return!o("a","y").sticky})),c=i||n((function(){var t=o("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:c,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(t,r,e)=>{var n=e(9039),o=e(4576).RegExp;t.exports=n((function(){var t=o(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},8814:(t,r,e)=>{var n=e(9039),o=e(4576).RegExp;t.exports=n((function(){var t=o("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},7750:(t,r,e)=>{var n=e(4117),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},687:(t,r,e)=>{var n=e(4913).f,o=e(9297),i=e(8227)("toStringTag");t.exports=function(t,r,e){t&&!e&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:r})}},6119:(t,r,e)=>{var n=e(5745),o=e(3392),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},7629:(t,r,e)=>{var n=e(6395),o=e(4576),i=e(9433),a="__core-js_shared__",c=t.exports=o[a]||i(a,{});(c.versions||(c.versions=[])).push({version:"3.39.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(t,r,e)=>{var n=e(7629);t.exports=function(t,r){return n[t]||(n[t]=r||{})}},8183:(t,r,e)=>{var n=e(9504),o=e(1291),i=e(655),a=e(7750),c=n("".charAt),u=n("".charCodeAt),s=n("".slice),f=function(t){return function(r,e){var n,f,l=i(a(r)),p=o(e),v=l.length;return p<0||p>=v?t?"":void 0:(n=u(l,p))<55296||n>56319||p+1===v||(f=u(l,p+1))<56320||f>57343?t?c(l,p):n:t?s(l,p,p+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},4495:(t,r,e)=>{var n=e(9519),o=e(9039),i=e(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8242:(t,r,e)=>{var n=e(9565),o=e(7751),i=e(8227),a=e(6840);t.exports=function(){var t=o("Symbol"),r=t&&t.prototype,e=r&&r.valueOf,c=i("toPrimitive");r&&!r[c]&&a(r,c,(function(t){return n(e,this)}),{arity:1})}},1296:(t,r,e)=>{var n=e(4495);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},5610:(t,r,e)=>{var n=e(1291),o=Math.max,i=Math.min;t.exports=function(t,r){var e=n(t);return e<0?o(e+r,0):i(e,r)}},5397:(t,r,e)=>{var n=e(7055),o=e(7750);t.exports=function(t){return n(o(t))}},1291:(t,r,e)=>{var n=e(741);t.exports=function(t){var r=+t;return r!=r||0===r?0:n(r)}},8014:(t,r,e)=>{var n=e(1291),o=Math.min;t.exports=function(t){var r=n(t);return r>0?o(r,9007199254740991):0}},8981:(t,r,e)=>{var n=e(7750),o=Object;t.exports=function(t){return o(n(t))}},2777:(t,r,e)=>{var n=e(9565),o=e(34),i=e(757),a=e(5966),c=e(4270),u=e(8227),s=TypeError,f=u("toPrimitive");t.exports=function(t,r){if(!o(t)||i(t))return t;var e,u=a(t,f);if(u){if(void 0===r&&(r="default"),e=n(u,t,r),!o(e)||i(e))return e;throw new s("Can't convert object to primitive value")}return void 0===r&&(r="number"),c(t,r)}},6969:(t,r,e)=>{var n=e(2777),o=e(757);t.exports=function(t){var r=n(t,"string");return o(r)?r:r+""}},2140:(t,r,e)=>{var n={};n[e(8227)("toStringTag")]="z",t.exports="[object z]"===String(n)},655:(t,r,e)=>{var n=e(6955),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},6823:t=>{var r=String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},3392:(t,r,e)=>{var n=e(9504),o=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},7040:(t,r,e)=>{var n=e(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(t,r,e)=>{var n=e(3724),o=e(9039);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8622:(t,r,e)=>{var n=e(4576),o=e(4901),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},511:(t,r,e)=>{var n=e(9167),o=e(9297),i=e(1951),a=e(4913).f;t.exports=function(t){var r=n.Symbol||(n.Symbol={});o(r,t)||a(r,t,{value:i.f(t)})}},1951:(t,r,e)=>{var n=e(8227);r.f=n},8227:(t,r,e)=>{var n=e(4576),o=e(5745),i=e(9297),a=e(3392),c=e(4495),u=e(7040),s=n.Symbol,f=o("wks"),l=u?s.for||s:s&&s.withoutSetter||a;t.exports=function(t){return i(f,t)||(f[t]=c&&i(s,t)?s[t]:l("Symbol."+t)),f[t]}},4601:(t,r,e)=>{var n=e(7751),o=e(9297),i=e(6699),a=e(1625),c=e(2967),u=e(7740),s=e(1056),f=e(3167),l=e(2603),p=e(7584),v=e(747),d=e(3724),y=e(6395);t.exports=function(t,r,e,h){var g="stackTraceLimit",m=h?2:1,b=t.split("."),x=b[b.length-1],_=n.apply(null,b);if(_){var S=_.prototype;if(!y&&o(S,"cause")&&delete S.cause,!e)return _;var w=n("Error"),E=r((function(t,r){var e=l(h?r:t,void 0),n=h?new _(t):new _;return void 0!==e&&i(n,"message",e),v(n,E,n.stack,2),this&&a(S,this)&&f(n,this,E),arguments.length>m&&p(n,arguments[m]),n}));if(E.prototype=S,"Error"!==x?c?c(E,w):u(E,w,{name:!0}):d&&g in _&&(s(E,_,g),s(E,_,"prepareStackTrace")),u(E,_),!y)try{S.name!==x&&i(S,"name",x),S.constructor=E}catch(t){}return E}}},8706:(t,r,e)=>{var n=e(6518),o=e(9039),i=e(4376),a=e(34),c=e(8981),u=e(6198),s=e(6837),f=e(2278),l=e(1469),p=e(597),v=e(8227),d=e(9519),y=v("isConcatSpreadable"),h=d>=51||!o((function(){var t=[];return t[y]=!1,t.concat()[0]!==t})),g=function(t){if(!a(t))return!1;var r=t[y];return void 0!==r?!!r:i(t)};n({target:"Array",proto:!0,arity:1,forced:!h||!p("concat")},{concat:function(t){var r,e,n,o,i,a=c(this),p=l(a,0),v=0;for(r=-1,n=arguments.length;r{var n=e(6518),o=e(9213).filter;n({target:"Array",proto:!0,forced:!e(597)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},113:(t,r,e)=>{var n=e(6518),o=e(9213).find,i=e(6469),a="find",c=!0;a in[]&&Array(1)[a]((function(){c=!1})),n({target:"Array",proto:!0,forced:c},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(a)},6449:(t,r,e)=>{var n=e(6518),o=e(259),i=e(8981),a=e(6198),c=e(1291),u=e(1469);n({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,r=i(this),e=a(r),n=u(r,0);return n.length=o(n,r,r,e,0,void 0===t?1:c(t)),n}})},3418:(t,r,e)=>{var n=e(6518),o=e(7916);n({target:"Array",stat:!0,forced:!e(4428)((function(t){Array.from(t)}))},{from:o})},4423:(t,r,e)=>{var n=e(6518),o=e(9617).includes,i=e(9039),a=e(6469);n({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},3792:(t,r,e)=>{var n=e(5397),o=e(6469),i=e(6269),a=e(1181),c=e(4913).f,u=e(1088),s=e(2529),f=e(6395),l=e(3724),p="Array Iterator",v=a.set,d=a.getterFor(p);t.exports=u(Array,"Array",(function(t,r){v(this,{type:p,target:n(t),index:0,kind:r})}),(function(){var t=d(this),r=t.target,e=t.index++;if(!r||e>=r.length)return t.target=null,s(void 0,!0);switch(t.kind){case"keys":return s(e,!1);case"values":return s(r[e],!1)}return s([e,r[e]],!1)}),"values");var y=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!f&&l&&"values"!==y.name)try{c(y,"name",{value:"values"})}catch(t){}},2062:(t,r,e)=>{var n=e(6518),o=e(9213).map;n({target:"Array",proto:!0,forced:!e(597)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},4114:(t,r,e)=>{var n=e(6518),o=e(8981),i=e(6198),a=e(4527),c=e(6837);n({target:"Array",proto:!0,arity:1,forced:e(9039)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var r=o(this),e=i(r),n=arguments.length;c(e+n);for(var u=0;u{var n=e(6518),o=e(4376),i=e(3517),a=e(34),c=e(5610),u=e(6198),s=e(5397),f=e(2278),l=e(8227),p=e(597),v=e(7680),d=p("slice"),y=l("species"),h=Array,g=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(t,r){var e,n,l,p=s(this),d=u(p),m=c(t,d),b=c(void 0===r?d:r,d);if(o(p)&&(e=p.constructor,(i(e)&&(e===h||o(e.prototype))||a(e)&&null===(e=e[y]))&&(e=void 0),e===h||void 0===e))return v(p,m,b);for(n=new(void 0===e?h:e)(g(b-m,0)),l=0;m{e(6469)("flat")},6280:(t,r,e)=>{var n=e(6518),o=e(4576),i=e(8745),a=e(4601),c="WebAssembly",u=o[c],s=7!==new Error("e",{cause:7}).cause,f=function(t,r){var e={};e[t]=a(t,r,s),n({global:!0,constructor:!0,arity:1,forced:s},e)},l=function(t,r){if(u&&u[t]){var e={};e[t]=a(c+"."+t,r,s),n({target:c,stat:!0,constructor:!0,arity:1,forced:s},e)}};f("Error",(function(t){return function(r){return i(t,this,arguments)}})),f("EvalError",(function(t){return function(r){return i(t,this,arguments)}})),f("RangeError",(function(t){return function(r){return i(t,this,arguments)}})),f("ReferenceError",(function(t){return function(r){return i(t,this,arguments)}})),f("SyntaxError",(function(t){return function(r){return i(t,this,arguments)}})),f("TypeError",(function(t){return function(r){return i(t,this,arguments)}})),f("URIError",(function(t){return function(r){return i(t,this,arguments)}})),l("CompileError",(function(t){return function(r){return i(t,this,arguments)}})),l("LinkError",(function(t){return function(r){return i(t,this,arguments)}})),l("RuntimeError",(function(t){return function(r){return i(t,this,arguments)}}))},8111:(t,r,e)=>{var n=e(6518),o=e(4576),i=e(679),a=e(8551),c=e(4901),u=e(2787),s=e(2106),f=e(2278),l=e(9039),p=e(9297),v=e(8227),d=e(7657).IteratorPrototype,y=e(3724),h=e(6395),g="constructor",m="Iterator",b=v("toStringTag"),x=TypeError,_=o[m],S=h||!c(_)||_.prototype!==d||!l((function(){_({})})),w=function(){if(i(this,d),u(this)===d)throw new x("Abstract class Iterator not directly constructable")},E=function(t,r){y?s(d,t,{configurable:!0,get:function(){return r},set:function(r){if(a(this),this===d)throw new x("You can't redefine this property");p(this,t)?this[t]=r:f(this,t,r)}}):d[t]=r};p(d,b)||E(b,m),!S&&p(d,g)&&d[g]!==Object||E(g,w),w.prototype=d,n({global:!0,constructor:!0,forced:S},{Iterator:w})},2489:(t,r,e)=>{var n=e(6518),o=e(9565),i=e(9306),a=e(8551),c=e(1767),u=e(9462),s=e(6319),f=e(6395),l=u((function(){for(var t,r,e=this.iterator,n=this.predicate,i=this.next;;){if(t=a(o(i,e)),this.done=!!t.done)return;if(r=t.value,s(e,n,[r,this.counter++],!0))return r}}));n({target:"Iterator",proto:!0,real:!0,forced:f},{filter:function(t){return a(this),i(t),new l(c(this),{predicate:t})}})},116:(t,r,e)=>{var n=e(6518),o=e(2652),i=e(9306),a=e(8551),c=e(1767);n({target:"Iterator",proto:!0,real:!0},{find:function(t){a(this),i(t);var r=c(this),e=0;return o(r,(function(r,n){if(t(r,e++))return n(r)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},7588:(t,r,e)=>{var n=e(6518),o=e(2652),i=e(9306),a=e(8551),c=e(1767);n({target:"Iterator",proto:!0,real:!0},{forEach:function(t){a(this),i(t);var r=c(this),e=0;o(r,(function(r){t(r,e++)}),{IS_RECORD:!0})}})},1701:(t,r,e)=>{var n=e(6518),o=e(713);n({target:"Iterator",proto:!0,real:!0,forced:e(6395)},{map:o})},3110:(t,r,e)=>{var n=e(6518),o=e(7751),i=e(8745),a=e(9565),c=e(9504),u=e(9039),s=e(4901),f=e(757),l=e(7680),p=e(6933),v=e(4495),d=String,y=o("JSON","stringify"),h=c(/./.exec),g=c("".charAt),m=c("".charCodeAt),b=c("".replace),x=c(1..toString),_=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,E=!v||u((function(){var t=o("Symbol")("stringify detection");return"[null]"!==y([t])||"{}"!==y({a:t})||"{}"!==y(Object(t))})),O=u((function(){return'"\\udf06\\ud834"'!==y("\udf06\ud834")||'"\\udead"'!==y("\udead")})),j=function(t,r){var e=l(arguments),n=p(r);if(s(n)||void 0!==t&&!f(t))return e[1]=function(t,r){if(s(n)&&(r=a(n,this,d(t),r)),!f(r))return r},i(y,null,e)},A=function(t,r,e){var n=g(e,r-1),o=g(e,r+1);return h(S,t)&&!h(w,o)||h(w,t)&&!h(S,n)?"\\u"+x(m(t,0),16):t};y&&n({target:"JSON",stat:!0,arity:3,forced:E||O},{stringify:function(t,r,e){var n=l(arguments),o=i(E?j:y,null,n);return O&&"string"==typeof o?b(o,_,A):o}})},9773:(t,r,e)=>{var n=e(6518),o=e(4495),i=e(9039),a=e(3717),c=e(8981);n({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var r=a.f;return r?r(c(t)):[]}})},6099:(t,r,e)=>{var n=e(2140),o=e(6840),i=e(3179);n||o(Object.prototype,"toString",i,{unsafe:!0})},7495:(t,r,e)=>{var n=e(6518),o=e(7323);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},906:(t,r,e)=>{e(7495);var n,o,i=e(6518),a=e(9565),c=e(4901),u=e(8551),s=e(655),f=(n=!1,(o=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&n),l=/./.test;i({target:"RegExp",proto:!0,forced:!f},{test:function(t){var r=u(this),e=s(t),n=r.exec;if(!c(n))return a(l,r,e);var o=a(n,r,e);return null!==o&&(u(o),!0)}})},8781:(t,r,e)=>{var n=e(350).PROPER,o=e(6840),i=e(8551),a=e(655),c=e(9039),u=e(1034),s="toString",f=RegExp.prototype,l=f[s],p=c((function(){return"/a/b"!==l.call({source:"a",flags:"b"})})),v=n&&l.name!==s;(p||v)&&o(f,s,(function(){var t=i(this);return"/"+a(t.source)+"/"+a(u(t))}),{unsafe:!0})},1699:(t,r,e)=>{var n=e(6518),o=e(9504),i=e(2892),a=e(7750),c=e(655),u=e(1436),s=o("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~s(c(a(this)),c(i(t)),arguments.length>1?arguments[1]:void 0)}})},7764:(t,r,e)=>{var n=e(8183).charAt,o=e(655),i=e(1181),a=e(1088),c=e(2529),u="String Iterator",s=i.set,f=i.getterFor(u);a(String,"String",(function(t){s(this,{type:u,string:o(t),index:0})}),(function(){var t,r=f(this),e=r.string,o=r.index;return o>=e.length?c(void 0,!0):(t=n(e,o),r.index+=t.length,c(t,!1))}))},6761:(t,r,e)=>{var n=e(6518),o=e(4576),i=e(9565),a=e(9504),c=e(6395),u=e(3724),s=e(4495),f=e(9039),l=e(9297),p=e(1625),v=e(8551),d=e(5397),y=e(6969),h=e(655),g=e(6980),m=e(2360),b=e(1072),x=e(8480),_=e(298),S=e(3717),w=e(7347),E=e(4913),O=e(6801),j=e(8773),A=e(6840),I=e(2106),T=e(5745),P=e(6119),k=e(421),R=e(3392),L=e(8227),C=e(1951),F=e(511),M=e(8242),D=e(687),N=e(1181),q=e(9213).forEach,G=P("hidden"),B="Symbol",H="prototype",V=N.set,U=N.getterFor(B),z=Object[H],Q=o.Symbol,$=Q&&Q[H],W=o.RangeError,Y=o.TypeError,K=o.QObject,J=w.f,X=E.f,Z=_.f,tt=j.f,rt=a([].push),et=T("symbols"),nt=T("op-symbols"),ot=T("wks"),it=!K||!K[H]||!K[H].findChild,at=function(t,r,e){var n=J(z,r);n&&delete z[r],X(t,r,e),n&&t!==z&&X(z,r,n)},ct=u&&f((function(){return 7!==m(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?at:X,ut=function(t,r){var e=et[t]=m($);return V(e,{type:B,tag:t,description:r}),u||(e.description=r),e},st=function(t,r,e){t===z&&st(nt,r,e),v(t);var n=y(r);return v(e),l(et,n)?(e.enumerable?(l(t,G)&&t[G][n]&&(t[G][n]=!1),e=m(e,{enumerable:g(0,!1)})):(l(t,G)||X(t,G,g(1,m(null))),t[G][n]=!0),ct(t,n,e)):X(t,n,e)},ft=function(t,r){v(t);var e=d(r),n=b(e).concat(dt(e));return q(n,(function(r){u&&!i(lt,e,r)||st(t,r,e[r])})),t},lt=function(t){var r=y(t),e=i(tt,this,r);return!(this===z&&l(et,r)&&!l(nt,r))&&(!(e||!l(this,r)||!l(et,r)||l(this,G)&&this[G][r])||e)},pt=function(t,r){var e=d(t),n=y(r);if(e!==z||!l(et,n)||l(nt,n)){var o=J(e,n);return!o||!l(et,n)||l(e,G)&&e[G][n]||(o.enumerable=!0),o}},vt=function(t){var r=Z(d(t)),e=[];return q(r,(function(t){l(et,t)||l(k,t)||rt(e,t)})),e},dt=function(t){var r=t===z,e=Z(r?nt:d(t)),n=[];return q(e,(function(t){!l(et,t)||r&&!l(z,t)||rt(n,et[t])})),n};s||(A($=(Q=function(){if(p($,this))throw new Y("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?h(arguments[0]):void 0,r=R(t),e=function(t){var n=void 0===this?o:this;n===z&&i(e,nt,t),l(n,G)&&l(n[G],r)&&(n[G][r]=!1);var a=g(1,t);try{ct(n,r,a)}catch(t){if(!(t instanceof W))throw t;at(n,r,a)}};return u&&it&&ct(z,r,{configurable:!0,set:e}),ut(r,t)})[H],"toString",(function(){return U(this).tag})),A(Q,"withoutSetter",(function(t){return ut(R(t),t)})),j.f=lt,E.f=st,O.f=ft,w.f=pt,x.f=_.f=vt,S.f=dt,C.f=function(t){return ut(L(t),t)},u&&(I($,"description",{configurable:!0,get:function(){return U(this).description}}),c||A(z,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!s,sham:!s},{Symbol:Q}),q(b(ot),(function(t){F(t)})),n({target:B,stat:!0,forced:!s},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),n({target:"Object",stat:!0,forced:!s,sham:!u},{create:function(t,r){return void 0===r?m(t):ft(m(t),r)},defineProperty:st,defineProperties:ft,getOwnPropertyDescriptor:pt}),n({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:vt}),M(),D(Q,B),k[G]=!0},9463:(t,r,e)=>{var n=e(6518),o=e(3724),i=e(4576),a=e(9504),c=e(9297),u=e(4901),s=e(1625),f=e(655),l=e(2106),p=e(7740),v=i.Symbol,d=v&&v.prototype;if(o&&u(v)&&(!("description"in d)||void 0!==v().description)){var y={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),r=s(d,this)?new v(t):void 0===t?v():v(t);return""===t&&(y[r]=!0),r};p(h,v),h.prototype=d,d.constructor=h;var g="Symbol(description detection)"===String(v("description detection")),m=a(d.valueOf),b=a(d.toString),x=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),S=a("".slice);l(d,"description",{configurable:!0,get:function(){var t=m(this);if(c(y,t))return"";var r=b(t),e=g?S(r,7,-1):_(r,x,"$1");return""===e?void 0:e}}),n({global:!0,constructor:!0,forced:!0},{Symbol:h})}},1510:(t,r,e)=>{var n=e(6518),o=e(7751),i=e(9297),a=e(655),c=e(5745),u=e(1296),s=c("string-to-symbol-registry"),f=c("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var r=a(t);if(i(s,r))return s[r];var e=o("Symbol")(r);return s[r]=e,f[e]=r,e}})},2259:(t,r,e)=>{e(511)("iterator")},2675:(t,r,e)=>{e(6761),e(1510),e(7812),e(3110),e(9773)},7812:(t,r,e)=>{var n=e(6518),o=e(9297),i=e(757),a=e(6823),c=e(5745),u=e(1296),s=c("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!i(t))throw new TypeError(a(t)+" is not a symbol");if(o(s,t))return s[t]}})},8992:(t,r,e)=>{e(8111)},4520:(t,r,e)=>{e(2489)},2577:(t,r,e)=>{e(116)},3949:(t,r,e)=>{e(7588)},1454:(t,r,e)=>{e(1701)},3500:(t,r,e)=>{var n=e(4576),o=e(7400),i=e(9296),a=e(235),c=e(6699),u=function(t){if(t&&t.forEach!==a)try{c(t,"forEach",a)}catch(r){t.forEach=a}};for(var s in o)o[s]&&u(n[s]&&n[s].prototype);u(i)},2953:(t,r,e)=>{var n=e(4576),o=e(7400),i=e(9296),a=e(3792),c=e(6699),u=e(687),s=e(8227)("iterator"),f=a.values,l=function(t,r){if(t){if(t[s]!==f)try{c(t,s,f)}catch(r){t[s]=f}if(u(t,r,!0),o[r])for(var e in a)if(t[e]!==a[e])try{c(t,e,a[e])}catch(r){t[e]=a[e]}}};for(var p in o)l(n[p]&&n[p].prototype,p);l(i,"DOMTokenList")}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n].call(i.exports,i,i.exports,e),i.exports}e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e(2675),e(9463),e(2259),e(6280),e(8706),e(2008),e(113),e(6449),e(3418),e(4423),e(3792),e(2062),e(4114),e(4782),e(3514),e(6099),e(7495),e(906),e(8781),e(1699),e(7764),e(8992),e(4520),e(2577),e(3949),e(1454),e(3500),e(2953);const n=(t,r,e)=>{const n=(t=>"string"==typeof t?document.querySelector(t):t)(t);n&&(r?(n.classList.remove(e),((t,r,e)=>{jQuery(document).trigger("ppcp-shown",{handler:t,action:"show",selector:r,element:e})})("Hiding.setVisibleByClass",t,n)):(n.classList.add(e),((t,r,e)=>{jQuery(document).trigger("ppcp-hidden",{handler:t,action:"hide",selector:r,element:e})})("Hiding.setVisibleByClass",t,n)))};function o(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e0,"hide"),0===t.length&&(h(o),document.querySelector(".ppcp-empty-smart-button-location")||jQuery(PayPalCommerceSettings.empty_smart_button_location_message).insertAfter(jQuery(l).find(".description"))),c.checked&&("messages"!==i||a.checked)){var s=b(t,i);e.forEach((function(t){n(t,s.includes(t),"hide")})),"messages"===i&&y()}};v(t,e),s(),c.checked&&h(o),c.addEventListener("change",(function(t){s(),t.target.checked?h(o):(m(r).length>0&&o.forEach((function(t){return n(t,!0,"hide")})),"messages"===i&&y())})),jQuery(r).on("change",(function(){var t=jQuery(".ppcp-empty-smart-button-location");null==t||t.remove(),s(),c.dispatchEvent(new Event("change"))}))}},m=function(t){return(r=document.querySelectorAll(t+" :checked"),function(t){if(Array.isArray(t))return o(t)}(r)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(r)||function(t,r){if(t){if("string"==typeof t)return o(t,r);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?o(t,r):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(t){return t.value}));var r},b=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"messages",e=[];return t.forEach((function(t){e="messages"===r?e.concat(x(t)):e.concat(_(t))})),e},x=function(t){var r=["#field-pay_later_"+t+"_message_layout","#field-pay_later_"+t+"_message_logo","#field-pay_later_"+t+"_message_position","#field-pay_later_"+t+"_message_color","#field-pay_later_"+t+"_message_flex_color","#field-pay_later_"+t+"_message_flex_ratio","#field-pay_later_"+t+"_message_preview"];return"general"!==t&&r.push("#field-pay_later_"+t+"_messaging_heading"),r},_=function(t){var r="checkout"===t?"":"_"+t,e=["#field-button"+r+"_layout","#field-button"+r+"_tagline","#field-button"+r+"_label","#field-button"+r+"_color","#field-button"+r+"_shape","#field-button"+r+"_height","#field-button"+r+"_preview"];return"general"!==t&&e.push("#field-button_"+t+"_heading"),e.filter((function(t){return document.querySelector(t)}))};!function(t){var r=document.querySelector('select[name="ppcp[card_icons][]"]');if(r){var e=Array.from(document.querySelectorAll(t+" option")),n={visa:{light:{label:"Visa (light)"},dark:{label:"Visa (dark)",value:"visa-dark"}},mastercard:{light:{label:"Mastercard (light)"},dark:{label:"Mastercard (dark)",value:"mastercard-dark"}}},o=function(){var t=e.filter((function(t){return!t.selected})).map((function(t){var e=(t=t.cloneNode(!0)).value;if(t.selected=r.querySelector('option[value="'+e+'"]')&&r.querySelector('option[value="'+e+'"]').selected,"visa"===e||"mastercard"===e){var o=t.cloneNode(!0),i=n[e],a=n[e].dark.value;return t.text=i.light.label,o.text=i.dark.label,o.value=a,o.selected=r.querySelector('option[value="'+a+'"]')&&r.querySelector('option[value="'+a+'"]').selected,[t,o]}return t})).flat();r.innerHTML="",t.forEach((function(t){Array.isArray(t)&&t.forEach((function(t){r.appendChild(t)})),r.appendChild(t)}))};jQuery(t).on("change",o),o()}}('select[name="ppcp[disable_cards][]"]'),v("#ppcp-pay_later_button_enabled",["#field-pay_later_button_locations"]),g("#ppcp-pay_later_enable_styling_per_messaging_location",s,b(a),b(["general"]),"messages"),g("#ppcp-smart_button_enable_styling_per_location",p,b(["product","cart","checkout","mini-cart","cart-block","checkout-block-express"],"buttons"),b(["general"],"buttons"),"buttons"),e=document.querySelector(f),i=document.querySelector("#ppcp-pay_later_enable_styling_per_messaging_location"),v(f,b(c).concat(u,"#field-pay_later_enable_styling_per_messaging_location")),e&&e.addEventListener("change",(function(t){t.target.checked&&i.dispatchEvent(new Event("change"))})),t=["#field-paypal_saved_payments","#field-subscriptions_mode","#field-vault_enabled"],(r=function(){var r=m(p),e=r.includes("checkout")||r.includes("checkout-block-express");t.forEach((function(t){n(t,e,"hide")}))})(),jQuery(p).on("change",r),v("#ppcp-vault_enabled",["#field-subscription_behavior_when_vault_fails"]),d("#ppcp-intent",[{value:"authorize",selector:"#field-capture_for_virtual_only"},{value:"authorize",selector:"#field-capture_on_status_change"}]),y(),function(){if("undefined"!=typeof PayPalCommerceGatewaySettings&&"1"!==PayPalCommerceGatewaySettings.reference_transaction_enabled){var t,r;null===(t=document.getElementById("ppcp-vault_enabled"))||void 0===t||t.setAttribute("disabled","disabled");var e=null===(r=document.getElementById("field-vault_enabled"))||void 0===r?void 0:r.getElementsByClassName("description")[0];e&&(e.innerHTML=PayPalCommerceGatewaySettings.vaulting_must_enable_advanced_wallet_message)}}()}))})(); //# sourceMappingURL=settings.js.map/** * Copyright (C) 2014-2025 ServMask Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Attribution: This code is part of the All-in-One WP Migration plugin, developed by * * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ */ if ( ! defined( 'ABSPATH' ) ) { die( 'Kangaroos cannot jump here' ); } class Ai1wm_Log { public static function error( $nonce, $params ) { $data = array(); // Add date $data[] = date( 'M d Y H:i:s' ); // Add params $data[] = json_encode( $params ); // Add empty line $data[] = PHP_EOL; // Write log data if ( $handle = ai1wm_open( ai1wm_error_path( $nonce ), 'a' ) ) { ai1wm_write( $handle, implode( PHP_EOL, $data ) ); ai1wm_close( $handle ); } } }/** * Plugin Name: Hostinger * Plugin URI: https://hostinger.com * Description: Hostinger WordPress plugin. * Version: 1.9.9 * Requires at least: 5.6 * Requires PHP: 7.4 * Author: Hostinger * License: GPL v3 * License URI: https://www.gnu.org/licenses/gpl-3.0.html * Author URI: https://www.hostinger.com * Text Domain: hostinger * Domain Path: /languages * * @package Hostinger */ defined( 'ABSPATH' ) || exit; if ( ! defined( 'HOSTINGER_VERSION' ) ) { define( 'HOSTINGER_VERSION', '1.9.9' ); } if ( ! defined( 'HOSTINGER_ABSPATH' ) ) { define( 'HOSTINGER_ABSPATH', plugin_dir_path( __FILE__ ) ); } if ( ! defined( 'HOSTINGER_PLUGIN_FILE' ) ) { define( 'HOSTINGER_PLUGIN_FILE', __FILE__ ); } if ( ! defined( 'HOSTINGER_PLUGIN_URL' ) ) { define( 'HOSTINGER_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); } if ( ! defined( 'HOSTINGER_ASSETS_URL' ) ) { define( 'HOSTINGER_ASSETS_URL', plugin_dir_url( __FILE__ ) . 'assets' ); } if ( ! defined( 'HOSTINGER_WP_CONFIG_PATH' ) ) { define( 'HOSTINGER_WP_CONFIG_PATH', ABSPATH . '.private/config.json' ); } if ( ! defined( 'HOSTINGER_WP_TOKEN' ) ) { $hostinger_dir_parts = explode( '/', __DIR__ ); $hostinger_server_root_path = '/' . $hostinger_dir_parts[1] . '/' . $hostinger_dir_parts[2]; define( 'HOSTINGER_WP_TOKEN', $hostinger_server_root_path . '/.api_token' ); } if ( ! defined( 'HOSTINGER_REST_URI' ) ) { define( 'HOSTINGER_REST_URI', 'https://rest-hosting.hostinger.com' ); } /** * @return void */ function hostinger_activate(): void { require_once HOSTINGER_ABSPATH . 'includes/class-hostinger-activator.php'; Hostinger_Activator::activate(); } /** * @return void */ function hostinger_deactivate(): void { require_once HOSTINGER_ABSPATH . 'includes/class-hostinger-deactivator.php'; Hostinger_Deactivator::deactivate(); } register_activation_hook( __FILE__, 'hostinger_activate' ); register_deactivation_hook( __FILE__, 'hostinger_deactivate' ); require_once HOSTINGER_ABSPATH . 'includes/class-hostinger.php'; $hostinger = new Hostinger(); $hostinger->run();{"id":187,"date":"2023-08-12T07:21:38","date_gmt":"2023-08-12T07:21:38","guid":{"rendered":"https:\/\/mailssoftware.org\/blogs\/?p=187"},"modified":"2025-08-18T14:55:37","modified_gmt":"2025-08-18T14:55:37","slug":"how-to-grant-application-impersonation-rights-in-office-365-cloud","status":"publish","type":"post","link":"https:\/\/mailssoftware.org\/blogs\/how-to-grant-application-impersonation-rights-in-office-365-cloud\/","title":{"rendered":"How to Grant Application Impersonation Rights in Office 365 Cloud?"},"content":{"rendered":"

Here, in this blog, I am going to talk about Impersonation rights in Exchange Online and provide a step-by-step guide on how to grant Application Impersonation Rights in Office 365.<\/p>\n

Application Impersonation is a significant feature of the Office 365 Cloud environment that allows dealing with multiple Exchange Online mailboxes. The role permits to access several Office 365 mailboxes through a single account. It allows performing activities to impersonate user mailboxes on their behalf. This feature was created and handled by only Office 365 Administrator.<\/p>\n

Now, let’s see how to use the Exchange Online Portal and Windows PowerShell to configure and check the Impersonation rights in Exchange Online.<\/p>\n

Method 1: How to Assign Office 365 Impersonation Rights using the Exchange Admin Centre?<\/strong><\/h2>\n

Below are the steps to check Impersonation Rights in Office 365. An administrator can follow the below steps and assign permission.<\/p>\n

\"add-applicationimpersonalte\"<\/p>\n

Step 1:<\/strong> Go to the Exchange Admin Portal and click Roles >> Admin role<\/strong>.<\/p>\n

Step 2:<\/strong> Click on “Compliance Management<\/strong>” then press on Permissions<\/p>\n

Step 3:<\/strong> Search the Application Impersonation<\/strong> option, check, and click on the Save button.<\/p>\n

Step 4:<\/strong> You can also assign members as well and add multiple members for the role.<\/p>\n

\"assigned-user\"<\/p>\n

To Grant Full Access Permission to Office 365 Admin Mailbox<\/strong><\/h3>\n

Step 1:<\/strong> Exchange Admin Portal and hit\u00a0Recipients<\/strong>. Under the mailbox section, select the user to whom you want to give the Full Access Permission.<\/p>\n

Step 2:<\/strong> Click on\u00a0Mailbox Delegation<\/strong>. Then, in the Full Access option, add the user, Edit button > Add member and\u00a0Save<\/strong>.<\/p>\n

\"mailbox-deligation\"<\/p>\n

Method 2: How to Grant Impersonation Rights to Office 365 Mailbox using PowerShell?<\/strong><\/h2>\n

Step 1:\u00a0<\/strong>Run the Windows PowerShell as an Administrator and run the below command to set the execution policy as unrestricted to connect the PowerShell to Office 365.<\/p>\n

Set-ExecutionPolicy Unrestricted<\/strong><\/em><\/p>\n

Step 2:<\/strong> Execute the given command and log in to Exchange Online.<\/p>\n

$livecred = Get-Credential<\/strong><\/em><\/p>\n

Step 3:<\/strong> Create the new session in the Exchange Online account.<\/p>\n

$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https:\/\/ps.outlook.com\/powershell -Credential $cred -Authentication Basic -AllowRedirection<\/strong><\/em><\/p>\n

Step 4:<\/strong>\u00a0Import the new session.<\/p>\n

$importresults= Import-PSSession $s<\/strong><\/em><\/p>\n

Step 5:<\/strong>\u00a0Run the given command for organization management.<\/p>\n

Enable-OrganizationCustomization<\/strong><\/em><\/p>\n

Step 6:<\/strong>\u00a0Assign Impersonation Role to the mailbox.<\/p>\n

New-ManagementRoleAssignment -Role \u201cApplicationImpersonation\u201d -User UserName<\/strong><\/em><\/p>\n

Conclusion<\/strong><\/h3>\n

I hope from this blog, you have understood the process of how to Grant Application Impersonation Rights in Office 365 using both PowerShell and Exchange Online interface. With the help of the above two methods, the Exchange Online Administrator can easily perform the Office 365 impersonation rights.<\/p>\n

Related Topics: How to\u00a0<\/strong>Increase Mail Attachments Size in Office 365<\/strong><\/a>\u00a0Online<\/strong>