File "boot.js.map"
Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-applepay/assets/js/boot.js.map
File size: 670.65 KB
MIME-type: application/json
Charset: utf-8
{"version":3,"file":"js/boot.js","mappings":";mCAEA,IAAIA,EAAoB,SAA2BC,GAClD,OAID,SAAyBA,GACxB,QAASA,GAA0B,iBAAVA,CAC1B,CANQC,CAAgBD,KAQxB,SAAmBA,GAClB,IAAIE,EAAcC,OAAOC,UAAUC,SAASC,KAAKN,GAEjD,MAAuB,oBAAhBE,GACa,kBAAhBA,GAQL,SAAwBF,GACvB,OAAOA,EAAMO,WAAaC,CAC3B,CATKC,CAAeT,EACpB,CAbMU,CAAUV,EAChB,EAgBIQ,EADiC,mBAAXG,QAAyBA,OAAOC,IAClBD,OAAOC,IAAI,iBAAmB,MAUtE,SAASC,EAA8Bb,EAAOc,GAC7C,OAA0B,IAAlBA,EAAQC,OAAmBD,EAAQf,kBAAkBC,GAC1DgB,GANiBC,EAMKjB,EALlBkB,MAAMC,QAAQF,GAAO,GAAK,CAAC,GAKDjB,EAAOc,GACrCd,EAPJ,IAAqBiB,CAQrB,CAEA,SAASG,EAAkBC,EAAQC,EAAQR,GAC1C,OAAOO,EAAOE,OAAOD,GAAQE,KAAI,SAASC,GACzC,OAAOZ,EAA8BY,EAASX,EAC/C,GACD,CAkBA,SAASY,EAAQL,GAChB,OAAOlB,OAAOwB,KAAKN,GAAQE,OAT5B,SAAyCF,GACxC,OAAOlB,OAAOyB,sBACXzB,OAAOyB,sBAAsBP,GAAQQ,QAAO,SAASC,GACtD,OAAO3B,OAAO4B,qBAAqBzB,KAAKe,EAAQS,EACjD,IACE,EACJ,CAGmCE,CAAgCX,GACnE,CAEA,SAASY,EAAmBC,EAAQC,GACnC,IACC,OAAOA,KAAYD,CACpB,CAAE,MAAME,GACP,OAAO,CACR,CACD,CA8BA,SAASpB,EAAUK,EAAQC,EAAQR,IAClCA,EAAUA,GAAW,CAAC,GACduB,WAA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,GAAK8xB,EAAeh8B,IAAKkK,GAIxB,OAHAe,QAAQmtB,IACP,6CAA8CluB,KAExC8xB,EAAel8B,IAAKoK,GAG5B,MAAM2sB,EAAgB,IAClB+D,EAAe9D,GAClB,iBAAkB5sB,GAGb4+C,OA1C6B3d,OAAQtU,EAAeC,IAEzDA,EAAO8pB,gBAAgBmI,eACK,MAA5BjyB,EAAOkyB,iBAEA,IAAI52C,SAAS,CAAES,EAASM,KAC9ByjB,EACCC,EACAC,EAAO8pB,gBACL/oB,IACDC,EAAcW,UAAWZ,GACzBhlB,EAASglB,EAAQ,GAElB1kB,EACA,IAGI,KAyB0B81C,CAChCpyB,EACAC,GAED,GAAKgyB,EACJ,OAAOA,EAGR,MAAMI,EAAgB,IAAI92C,SAAS,CAAES,EAASM,KAC7CykB,EAAYf,GACVnlB,MAAQy3C,IACRrxB,EAAcW,UAAW0wB,GACzBptB,EAAc78B,IAAKgL,EAAWi/C,GAC9Bl+C,QAAQmtB,IAAK,gCAAiCluB,KAC9C2I,EAASs2C,EAAQ,IAEjBv0B,OAAS34B,IACTgP,QAAQhP,MACP,wCAAyCiO,IACzCjO,GAEDkX,EAAQlX,EAAO,IAEfmtD,SAAS,KACTptB,EAAe7C,OAAQjvB,EAAW,GAChC,IAIL,OADA8xB,EAAe98B,IAAKgL,EAAWg/C,GACxBA,CAAa,EuCVnBG,CAAkBn/C,EAAW+4B,GAC3BvxB,MAAM,WACNg3C,GAAe,EACfE,GACD,IACCh0B,OAAO,SAAE34B,GACTgP,QAAQhP,MAAO,iCAAkCA,EAClD,GA3BD,CAVA,MAHCirD,GAyCF,GACA,CAzED,CAyEK,CACJlkB,aAAcv7B,OAAO6hD,iBACrBrmB,WAAYx7B,OAAOgpC","sources":["webpack://ppcp-applepay/../ppcp-button/node_modules/deepmerge/dist/cjs.js","webpack://ppcp-applepay/./node_modules/core-js/internals/a-callable.js","webpack://ppcp-applepay/./node_modules/core-js/internals/a-constructor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/a-possible-prototype.js","webpack://ppcp-applepay/./node_modules/core-js/internals/add-to-unscopables.js","webpack://ppcp-applepay/./node_modules/core-js/internals/an-instance.js","webpack://ppcp-applepay/./node_modules/core-js/internals/an-object.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-buffer-non-extensible.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-for-each.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-from.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-includes.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-iteration.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-method-is-strict.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-set-length.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-slice.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-sort.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-species-constructor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-species-create.js","webpack://ppcp-applepay/./node_modules/core-js/internals/call-with-safe-iteration-closing.js","webpack://ppcp-applepay/./node_modules/core-js/internals/check-correctness-of-iteration.js","webpack://ppcp-applepay/./node_modules/core-js/internals/classof-raw.js","webpack://ppcp-applepay/./node_modules/core-js/internals/classof.js","webpack://ppcp-applepay/./node_modules/core-js/internals/collection-weak.js","webpack://ppcp-applepay/./node_modules/core-js/internals/collection.js","webpack://ppcp-applepay/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://ppcp-applepay/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://ppcp-applepay/./node_modules/core-js/internals/create-iter-result-object.js","webpack://ppcp-applepay/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://ppcp-applepay/./node_modules/core-js/internals/create-property-descriptor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/create-property.js","webpack://ppcp-applepay/./node_modules/core-js/internals/date-to-primitive.js","webpack://ppcp-applepay/./node_modules/core-js/internals/define-built-in-accessor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/define-built-in.js","webpack://ppcp-applepay/./node_modules/core-js/internals/define-built-ins.js","webpack://ppcp-applepay/./node_modules/core-js/internals/define-global-property.js","webpack://ppcp-applepay/./node_modules/core-js/internals/delete-property-or-throw.js","webpack://ppcp-applepay/./node_modules/core-js/internals/descriptors.js","webpack://ppcp-applepay/./node_modules/core-js/internals/document-create-element.js","webpack://ppcp-applepay/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://ppcp-applepay/./node_modules/core-js/internals/dom-iterables.js","webpack://ppcp-applepay/./node_modules/core-js/internals/dom-token-list-prototype.js","webpack://ppcp-applepay/./node_modules/core-js/internals/enum-bug-keys.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-ff-version.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-is-ie-or-edge.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-is-ios-pebble.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-is-ios.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-is-node.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-is-webos-webkit.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-user-agent.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-v8-version.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-webkit-version.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment.js","webpack://ppcp-applepay/./node_modules/core-js/internals/error-stack-clear.js","webpack://ppcp-applepay/./node_modules/core-js/internals/error-stack-install.js","webpack://ppcp-applepay/./node_modules/core-js/internals/error-stack-installable.js","webpack://ppcp-applepay/./node_modules/core-js/internals/export.js","webpack://ppcp-applepay/./node_modules/core-js/internals/fails.js","webpack://ppcp-applepay/./node_modules/core-js/internals/freezing.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-apply.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-bind-context.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-bind-native.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-bind.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-call.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-name.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-uncurry-this-accessor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-uncurry-this.js","webpack://ppcp-applepay/./node_modules/core-js/internals/get-built-in.js","webpack://ppcp-applepay/./node_modules/core-js/internals/get-iterator-direct.js","webpack://ppcp-applepay/./node_modules/core-js/internals/get-iterator-method.js","webpack://ppcp-applepay/./node_modules/core-js/internals/get-iterator.js","webpack://ppcp-applepay/./node_modules/core-js/internals/get-json-replacer-function.js","webpack://ppcp-applepay/./node_modules/core-js/internals/get-method.js","webpack://ppcp-applepay/./node_modules/core-js/internals/global-this.js","webpack://ppcp-applepay/./node_modules/core-js/internals/has-own-property.js","webpack://ppcp-applepay/./node_modules/core-js/internals/hidden-keys.js","webpack://ppcp-applepay/./node_modules/core-js/internals/host-report-errors.js","webpack://ppcp-applepay/./node_modules/core-js/internals/html.js","webpack://ppcp-applepay/./node_modules/core-js/internals/ie8-dom-define.js","webpack://ppcp-applepay/./node_modules/core-js/internals/indexed-object.js","webpack://ppcp-applepay/./node_modules/core-js/internals/inherit-if-required.js","webpack://ppcp-applepay/./node_modules/core-js/internals/inspect-source.js","webpack://ppcp-applepay/./node_modules/core-js/internals/install-error-cause.js","webpack://ppcp-applepay/./node_modules/core-js/internals/internal-metadata.js","webpack://ppcp-applepay/./node_modules/core-js/internals/internal-state.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-array-iterator-method.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-array.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-callable.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-constructor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-data-descriptor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-forced.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-object.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-possible-prototype.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-pure.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-symbol.js","webpack://ppcp-applepay/./node_modules/core-js/internals/iterate.js","webpack://ppcp-applepay/./node_modules/core-js/internals/iterator-close.js","webpack://ppcp-applepay/./node_modules/core-js/internals/iterator-create-constructor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/iterator-define.js","webpack://ppcp-applepay/./node_modules/core-js/internals/iterators-core.js","webpack://ppcp-applepay/./node_modules/core-js/internals/iterators.js","webpack://ppcp-applepay/./node_modules/core-js/internals/length-of-array-like.js","webpack://ppcp-applepay/./node_modules/core-js/internals/make-built-in.js","webpack://ppcp-applepay/./node_modules/core-js/internals/math-trunc.js","webpack://ppcp-applepay/./node_modules/core-js/internals/microtask.js","webpack://ppcp-applepay/./node_modules/core-js/internals/new-promise-capability.js","webpack://ppcp-applepay/./node_modules/core-js/internals/normalize-string-argument.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-assign.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-create.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-define-properties.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-define-property.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-get-own-property-names-external.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-is-extensible.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-keys-internal.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-keys.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-to-string.js","webpack://ppcp-applepay/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://ppcp-applepay/./node_modules/core-js/internals/own-keys.js","webpack://ppcp-applepay/./node_modules/core-js/internals/path.js","webpack://ppcp-applepay/./node_modules/core-js/internals/perform.js","webpack://ppcp-applepay/./node_modules/core-js/internals/promise-constructor-detection.js","webpack://ppcp-applepay/./node_modules/core-js/internals/promise-native-constructor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/promise-resolve.js","webpack://ppcp-applepay/./node_modules/core-js/internals/promise-statics-incorrect-iteration.js","webpack://ppcp-applepay/./node_modules/core-js/internals/proxy-accessor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/queue.js","webpack://ppcp-applepay/./node_modules/core-js/internals/regexp-exec.js","webpack://ppcp-applepay/./node_modules/core-js/internals/regexp-flags.js","webpack://ppcp-applepay/./node_modules/core-js/internals/regexp-get-flags.js","webpack://ppcp-applepay/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://ppcp-applepay/./node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://ppcp-applepay/./node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://ppcp-applepay/./node_modules/core-js/internals/require-object-coercible.js","webpack://ppcp-applepay/./node_modules/core-js/internals/safe-get-built-in.js","webpack://ppcp-applepay/./node_modules/core-js/internals/set-species.js","webpack://ppcp-applepay/./node_modules/core-js/internals/set-to-string-tag.js","webpack://ppcp-applepay/./node_modules/core-js/internals/shared-key.js","webpack://ppcp-applepay/./node_modules/core-js/internals/shared-store.js","webpack://ppcp-applepay/./node_modules/core-js/internals/shared.js","webpack://ppcp-applepay/./node_modules/core-js/internals/species-constructor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/string-multibyte.js","webpack://ppcp-applepay/./node_modules/core-js/internals/string-trim.js","webpack://ppcp-applepay/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://ppcp-applepay/./node_modules/core-js/internals/symbol-define-to-primitive.js","webpack://ppcp-applepay/./node_modules/core-js/internals/symbol-registry-detection.js","webpack://ppcp-applepay/./node_modules/core-js/internals/task.js","webpack://ppcp-applepay/./node_modules/core-js/internals/this-number-value.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-absolute-index.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-indexed-object.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-length.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-object.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-primitive.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-property-key.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-string-tag-support.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-string.js","webpack://ppcp-applepay/./node_modules/core-js/internals/try-to-string.js","webpack://ppcp-applepay/./node_modules/core-js/internals/uid.js","webpack://ppcp-applepay/./node_modules/core-js/internals/url-constructor-detection.js","webpack://ppcp-applepay/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://ppcp-applepay/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://ppcp-applepay/./node_modules/core-js/internals/validate-arguments-length.js","webpack://ppcp-applepay/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://ppcp-applepay/./node_modules/core-js/internals/well-known-symbol-define.js","webpack://ppcp-applepay/./node_modules/core-js/internals/well-known-symbol-wrapped.js","webpack://ppcp-applepay/./node_modules/core-js/internals/well-known-symbol.js","webpack://ppcp-applepay/./node_modules/core-js/internals/whitespaces.js","webpack://ppcp-applepay/./node_modules/core-js/internals/wrap-error-constructor-with-cause.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.concat.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.from.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.index-of.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.iterator.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.push.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.reverse.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.slice.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.sort.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.date.to-json.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.date.to-primitive.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.error.cause.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.iterator.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.iterator.for-each.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.json.stringify.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.json.to-string-tag.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.math.to-string-tag.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.number.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.assign.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.from-entries.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.get-own-property-descriptor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.get-own-property-symbols.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.get-prototype-of.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.keys.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.set-prototype-of.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.to-string.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.promise.all.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.promise.catch.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.promise.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.promise.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.promise.race.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.promise.reject.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.promise.resolve.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.reflect.construct.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.reflect.get.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.reflect.to-string-tag.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.regexp.exec.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.regexp.test.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.regexp.to-string.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.string.from-code-point.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.string.iterator.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.async-iterator.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.description.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.for.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.iterator.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.key-for.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.to-primitive.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.to-string-tag.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.weak-map.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.weak-map.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.weak-set.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.weak-set.js","webpack://ppcp-applepay/./node_modules/core-js/modules/esnext.iterator.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/esnext.iterator.for-each.js","webpack://ppcp-applepay/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://ppcp-applepay/./node_modules/core-js/modules/web.dom-collections.iterator.js","webpack://ppcp-applepay/./node_modules/core-js/modules/web.url-search-params.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/web.url-search-params.js","webpack://ppcp-applepay/webpack/bootstrap","webpack://ppcp-applepay/./node_modules/@paypal/paypal-js/dist/esm/paypal-js.js","webpack://ppcp-applepay/../ppcp-button/node_modules/@paypal/paypal-js/dist/esm/paypal-js.js","webpack://ppcp-applepay/webpack/runtime/compat get default export","webpack://ppcp-applepay/webpack/runtime/define property getters","webpack://ppcp-applepay/webpack/runtime/global","webpack://ppcp-applepay/webpack/runtime/hasOwnProperty shorthand","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/DataClientIdAttributeHandler.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Renderer/WidgetBuilder.js","webpack://ppcp-applepay/../../node_modules/uuid/dist/esm-browser/native.js","webpack://ppcp-applepay/../../node_modules/uuid/dist/esm-browser/rng.js","webpack://ppcp-applepay/../../node_modules/uuid/dist/esm-browser/stringify.js","webpack://ppcp-applepay/../../node_modules/uuid/dist/esm-browser/v4.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/ConfigProcessor.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/Utils.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/PayPalScriptLoading.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/ButtonModuleWatcher.js","webpack://ppcp-applepay/./resources/js/Helper/applePayError.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/FormValidator.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/ErrorHandler.js","webpack://ppcp-applepay/../ppcp-wc-gateway/resources/js/helper/ConsoleLogger.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/ApmButtons.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/CheckoutMethodState.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/PaymentButtonHelpers.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/Hiding.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/ButtonDisabler.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Renderer/PaymentButton.js","webpack://ppcp-applepay/./resources/js/ApplepayButton.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Entity/Product.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Entity/BookingProduct.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/OnApproveHandler/onApproveForContinue.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/PayerData.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/CartHelper.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/FormHelper.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/ActionHandler/SingleProductActionHandler.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/SimulateCart.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/UpdateCart.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/ActionHandler/CartActionHandler.js","webpack://ppcp-applepay/./resources/js/Context/BaseHandler.js","webpack://ppcp-applepay/./resources/js/Context/SingleProductHandler.js","webpack://ppcp-applepay/./resources/js/Context/CartHandler.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/Spinner.js","webpack://ppcp-applepay/../ppcp-button/node_modules/formdata-polyfill/formdata.min.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/OnApproveHandler/onApproveForPayNow.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/ActionHandler/CheckoutActionHandler.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/CheckoutFormValidation.js","webpack://ppcp-applepay/./resources/js/Context/CheckoutHandler.js","webpack://ppcp-applepay/./resources/js/Context/CartBlockHandler.js","webpack://ppcp-applepay/./resources/js/Context/CheckoutBlockHandler.js","webpack://ppcp-applepay/./resources/js/Context/MiniCartHandler.js","webpack://ppcp-applepay/./resources/js/Context/PreviewHandler.js","webpack://ppcp-applepay/./resources/js/Context/PayNowHandler.js","webpack://ppcp-applepay/./resources/js/Context/ContextHandlerFactory.js","webpack://ppcp-applepay/./resources/js/ApplepayManager.js","webpack://ppcp-applepay/./resources/js/boot.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/ButtonRefreshHelper.js","webpack://ppcp-applepay/../ppcp-blocks/resources/js/Helper/debounce.js"],"sourcesContent":["'use strict';\n\nvar isMergeableObject = function isMergeableObject(value) {\n\treturn isNonNullObject(value)\n\t\t&& !isSpecial(value)\n};\n\nfunction isNonNullObject(value) {\n\treturn !!value && typeof value === 'object'\n}\n\nfunction isSpecial(value) {\n\tvar stringValue = Object.prototype.toString.call(value);\n\n\treturn stringValue === '[object RegExp]'\n\t\t|| stringValue === '[object Date]'\n\t\t|| isReactElement(value)\n}\n\n// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25\nvar canUseSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;\n\nfunction isReactElement(value) {\n\treturn value.$$typeof === REACT_ELEMENT_TYPE\n}\n\nfunction emptyTarget(val) {\n\treturn Array.isArray(val) ? [] : {}\n}\n\nfunction cloneUnlessOtherwiseSpecified(value, options) {\n\treturn (options.clone !== false && options.isMergeableObject(value))\n\t\t? deepmerge(emptyTarget(value), value, options)\n\t\t: value\n}\n\nfunction defaultArrayMerge(target, source, options) {\n\treturn target.concat(source).map(function(element) {\n\t\treturn cloneUnlessOtherwiseSpecified(element, options)\n\t})\n}\n\nfunction getMergeFunction(key, options) {\n\tif (!options.customMerge) {\n\t\treturn deepmerge\n\t}\n\tvar customMerge = options.customMerge(key);\n\treturn typeof customMerge === 'function' ? customMerge : deepmerge\n}\n\nfunction getEnumerableOwnPropertySymbols(target) {\n\treturn Object.getOwnPropertySymbols\n\t\t? Object.getOwnPropertySymbols(target).filter(function(symbol) {\n\t\t\treturn Object.propertyIsEnumerable.call(target, symbol)\n\t\t})\n\t\t: []\n}\n\nfunction getKeys(target) {\n\treturn Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))\n}\n\nfunction propertyIsOnObject(object, property) {\n\ttry {\n\t\treturn property in object\n\t} catch(_) {\n\t\treturn false\n\t}\n}\n\n// Protects from prototype poisoning and unexpected merging up the prototype chain.\nfunction propertyIsUnsafe(target, key) {\n\treturn propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,\n\t\t&& !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,\n\t\t\t&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.\n}\n\nfunction mergeObject(target, source, options) {\n\tvar destination = {};\n\tif (options.isMergeableObject(target)) {\n\t\tgetKeys(target).forEach(function(key) {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n\t\t});\n\t}\n\tgetKeys(source).forEach(function(key) {\n\t\tif (propertyIsUnsafe(target, key)) {\n\t\t\treturn\n\t\t}\n\n\t\tif (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {\n\t\t\tdestination[key] = getMergeFunction(key, options)(target[key], source[key], options);\n\t\t} else {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n\t\t}\n\t});\n\treturn destination\n}\n\nfunction deepmerge(target, source, options) {\n\toptions = options || {};\n\toptions.arrayMerge = options.arrayMerge || defaultArrayMerge;\n\toptions.isMergeableObject = options.isMergeableObject || isMergeableObject;\n\t// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()\n\t// implementations can use it. The caller may not replace it.\n\toptions.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;\n\n\tvar sourceIsArray = Array.isArray(source);\n\tvar targetIsArray = Array.isArray(target);\n\tvar sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n\n\tif (!sourceAndTargetTypesMatch) {\n\t\treturn cloneUnlessOtherwiseSpecified(source, options)\n\t} else if (sourceIsArray) {\n\t\treturn options.arrayMerge(target, source, options)\n\t} else {\n\t\treturn mergeObject(target, source, options)\n\t}\n}\n\ndeepmerge.all = function deepmergeAll(array, options) {\n\tif (!Array.isArray(array)) {\n\t\tthrow new Error('first argument should be an array')\n\t}\n\n\treturn array.reduce(function(prev, next) {\n\t\treturn deepmerge(prev, next, options)\n\t}, {})\n};\n\nvar deepmerge_1 = deepmerge;\n\nmodule.exports = deepmerge_1;\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nvar isConstructor = require('../internals/is-constructor');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n if (isConstructor(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a constructor');\n};\n","'use strict';\nvar isPossiblePrototype = require('../internals/is-possible-prototype');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (isPossiblePrototype(argument)) return argument;\n throw new $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] === undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw new $TypeError('Incorrect invocation');\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\n// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar isConstructor = require('../internals/is-constructor');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $Array = Array;\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var IS_CONSTRUCTOR = isConstructor(this);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {\n result = IS_CONSTRUCTOR ? new this() : [];\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n for (;!(step = call(next, iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = lengthOfArrayLike(O);\n result = IS_CONSTRUCTOR ? new this(length) : $Array(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n if (length === 0) return !IS_INCLUDES && -1;\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE === 1;\n var IS_FILTER = TYPE === 2;\n var IS_SOME = TYPE === 3;\n var IS_EVERY = TYPE === 4;\n var IS_FIND_INDEX = TYPE === 6;\n var IS_FILTER_REJECT = TYPE === 7;\n var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(self);\n var boundFunction = bind(callbackfn, that);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/environment-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw new $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","'use strict';\nvar arraySlice = require('../internals/array-slice');\n\nvar floor = Math.floor;\n\nvar sort = function (array, comparefn) {\n var length = array.length;\n\n if (length < 8) {\n // insertion sort\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n }\n } else {\n // merge sort\n var middle = floor(length / 2);\n var left = sort(arraySlice(array, 0, middle), comparefn);\n var right = sort(arraySlice(array, middle), comparefn);\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n }\n }\n\n return array;\n};\n\nmodule.exports = sort;\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? $Array : C;\n};\n","'use strict';\nvar arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n try {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n } catch (error) { return false; } // workaround of old WebKit + `eval` bug\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar getWeakData = require('../internals/internal-metadata').getWeakData;\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isObject = require('../internals/is-object');\nvar iterate = require('../internals/iterate');\nvar ArrayIterationModule = require('../internals/array-iteration');\nvar hasOwn = require('../internals/has-own-property');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\nvar find = ArrayIterationModule.find;\nvar findIndex = ArrayIterationModule.findIndex;\nvar splice = uncurryThis([].splice);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (state) {\n return state.frozen || (state.frozen = new UncaughtFrozenStore());\n};\n\nvar UncaughtFrozenStore = function () {\n this.entries = [];\n};\n\nvar findUncaughtFrozen = function (store, key) {\n return find(store.entries, function (it) {\n return it[0] === key;\n });\n};\n\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.entries.push([key, value]);\n },\n 'delete': function (key) {\n var index = findIndex(this.entries, function (it) {\n return it[0] === key;\n });\n if (~index) splice(this.entries, index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n id: id++,\n frozen: null\n });\n if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var data = getWeakData(anObject(key), true);\n if (data === true) uncaughtFrozenStore(state).set(key, value);\n else data[state.id] = value;\n return that;\n };\n\n defineBuiltIns(Prototype, {\n // `{ WeakMap, WeakSet }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-weakmap.prototype.delete\n // https://tc39.es/ecma262/#sec-weakset.prototype.delete\n 'delete': function (key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state)['delete'](key);\n return data && hasOwn(data, state.id) && delete data[state.id];\n },\n // `{ WeakMap, WeakSet }.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-weakmap.prototype.has\n // https://tc39.es/ecma262/#sec-weakset.prototype.has\n has: function has(key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).has(key);\n return data && hasOwn(data, state.id);\n }\n });\n\n defineBuiltIns(Prototype, IS_MAP ? {\n // `WeakMap.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-weakmap.prototype.get\n get: function get(key) {\n var state = getInternalState(this);\n if (isObject(key)) {\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).get(key);\n if (data) return data[state.id];\n }\n },\n // `WeakMap.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-weakmap.prototype.set\n set: function set(key, value) {\n return define(this, key, value);\n }\n } : {\n // `WeakSet.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-weakset.prototype.add\n add: function add(value) {\n return define(this, value, true);\n }\n });\n\n return Constructor;\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = globalThis[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n defineBuiltIn(NativePrototype, KEY,\n KEY === 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY === 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY === 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY === 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) !== instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, constructor: true, forced: Constructor !== NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","'use strict';\n// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));\n else object[key] = value;\n};\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\n\nvar $TypeError = TypeError;\n\n// `Date.prototype[@@toPrimitive](hint)` method implementation\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nmodule.exports = function (hint) {\n anObject(this);\n if (hint === 'string' || hint === 'default') hint = 'string';\n else if (hint !== 'number') throw new $TypeError('Incorrect hint');\n return ordinaryToPrimitive(this, hint);\n};\n","'use strict';\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(globalThis, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n globalThis[key] = value;\n } return value;\n};\n","'use strict';\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (O, P) {\n if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\n\nvar document = globalThis.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\nvar $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","'use strict';\n// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","'use strict';\n// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","'use strict';\nvar userAgent = require('../internals/environment-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","'use strict';\nvar UA = require('../internals/environment-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","'use strict';\nvar userAgent = require('../internals/environment-user-agent');\n\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';\n","'use strict';\nvar userAgent = require('../internals/environment-user-agent');\n\n// eslint-disable-next-line redos/no-vulnerable -- safe\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n","'use strict';\nvar ENVIRONMENT = require('../internals/environment');\n\nmodule.exports = ENVIRONMENT === 'NODE';\n","'use strict';\nvar userAgent = require('../internals/environment-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nvar navigator = globalThis.navigator;\nvar userAgent = navigator && navigator.userAgent;\n\nmodule.exports = userAgent ? String(userAgent) : '';\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar userAgent = require('../internals/environment-user-agent');\n\nvar process = globalThis.process;\nvar Deno = globalThis.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\nvar userAgent = require('../internals/environment-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","'use strict';\n/* global Bun, Deno -- detection */\nvar globalThis = require('../internals/global-this');\nvar userAgent = require('../internals/environment-user-agent');\nvar classof = require('../internals/classof-raw');\n\nvar userAgentStartsWith = function (string) {\n return userAgent.slice(0, string.length) === string;\n};\n\nmodule.exports = (function () {\n if (userAgentStartsWith('Bun/')) return 'BUN';\n if (userAgentStartsWith('Cloudflare-Workers')) return 'CLOUDFLARE';\n if (userAgentStartsWith('Deno/')) return 'DENO';\n if (userAgentStartsWith('Node.js/')) return 'NODE';\n if (globalThis.Bun && typeof Bun.version == 'string') return 'BUN';\n if (globalThis.Deno && typeof Deno.version == 'object') return 'DENO';\n if (classof(globalThis.process) === 'process') return 'NODE';\n if (globalThis.window && globalThis.document) return 'BROWSER';\n return 'REST';\n})();\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar $Error = Error;\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');\n// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {\n while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n } return stack;\n};\n","'use strict';\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar clearErrorStack = require('../internals/error-stack-clear');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\n// non-standard V8\nvar captureStackTrace = Error.captureStackTrace;\n\nmodule.exports = function (error, C, stack, dropEntries) {\n if (ERROR_STACK_INSTALLABLE) {\n if (captureStackTrace) captureStackTrace(error, C);\n else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = !fails(function () {\n var error = new Error('a');\n if (!('stack' in error)) return true;\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n return error.stack !== 7;\n});\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = globalThis;\n } else if (STATIC) {\n target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = globalThis[TARGET] && globalThis[TARGET].prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar arraySlice = require('../internals/array-slice');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar $Function = Function;\nvar concat = uncurryThis([].concat);\nvar join = uncurryThis([].join);\nvar factories = {};\n\nvar construct = function (C, argsLength, args) {\n if (!hasOwn(factories, argsLength)) {\n var list = [];\n var i = 0;\n for (; i < argsLength; i++) list[i] = 'a[' + i + ']';\n factories[argsLength] = $Function('C,a', 'return new C(' + join(list, ',') + ')');\n } return factories[argsLength](C, args);\n};\n\n// `Function.prototype.bind` method implementation\n// https://tc39.es/ecma262/#sec-function.prototype.bind\n// eslint-disable-next-line es/no-function-prototype-bind -- detection\nmodule.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args */) {\n var F = aCallable(this);\n var Prototype = F.prototype;\n var partArgs = arraySlice(arguments, 1);\n var boundFunction = function bound(/* args... */) {\n var args = concat(partArgs, arraySlice(arguments));\n return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args);\n };\n if (isObject(Prototype)) boundFunction.prototype = Prototype;\n return boundFunction;\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];\n};\n","'use strict';\n// `GetIteratorDirect(obj)` abstract operation\n// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect\nmodule.exports = function (obj) {\n return {\n iterator: obj,\n next: obj.next,\n done: false\n };\n};\n","'use strict';\nvar classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw new $TypeError(tryToString(argument) + ' is not iterable');\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar toString = require('../internals/to-string');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (replacer) {\n if (isCallable(replacer)) return replacer;\n if (!isArray(replacer)) return;\n var rawLength = replacer.length;\n var keys = [];\n for (var i = 0; i < rawLength; i++) {\n var element = replacer[i];\n if (typeof element == 'string') push(keys, element);\n else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));\n }\n var keysLength = keys.length;\n var root = true;\n return function (key, value) {\n if (root) {\n root = false;\n return value;\n }\n if (isArray(this)) return value;\n for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;\n };\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n check(typeof this == 'object' && this) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nmodule.exports = function (a, b) {\n try {\n // eslint-disable-next-line no-console -- safe\n arguments.length === 1 ? console.error(a) : console.error(a, b);\n } catch (error) { /* empty */ }\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `[email protected]`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n if (isObject(options) && 'cause' in options) {\n createNonEnumerableProperty(O, 'cause', options.cause);\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = globalThis.TypeError;\nvar WeakMap = globalThis.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","'use strict';\nvar classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) === 'Array';\n};\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.test(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, [], argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\n\nmodule.exports = function (descriptor) {\n return descriptor !== undefined && (hasOwn(descriptor, 'value') || hasOwn(descriptor, 'writable'));\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nmodule.exports = function (argument) {\n return isObject(argument) || argument === null;\n};\n","'use strict';\nmodule.exports = false;\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_RECORD = !!(options && options.IS_RECORD);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_RECORD) {\n iterator = iterable.iterator;\n } else if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = IS_RECORD ? iterable.next : iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];\n\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n }\n\n return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n defineBuiltIn(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\).*$/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar safeGetBuiltIn = require('../internals/safe-get-built-in');\nvar bind = require('../internals/function-bind-context');\nvar macrotask = require('../internals/task').set;\nvar Queue = require('../internals/queue');\nvar IS_IOS = require('../internals/environment-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/environment-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/environment-is-webos-webkit');\nvar IS_NODE = require('../internals/environment-is-node');\n\nvar MutationObserver = globalThis.MutationObserver || globalThis.WebKitMutationObserver;\nvar document = globalThis.document;\nvar process = globalThis.process;\nvar Promise = globalThis.Promise;\nvar microtask = safeGetBuiltIn('queueMicrotask');\nvar notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!microtask) {\n var queue = new Queue();\n\n var flush = function () {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (fn = queue.get()) try {\n fn();\n } catch (error) {\n if (queue.head) notify();\n throw error;\n }\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, { characterData: true });\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n // workaround of WebKit ~ iOS Safari 10.1 bug\n promise.constructor = Promise;\n then = bind(promise.then, promise);\n notify = function () {\n then(flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessage\n // - onreadystatechange\n // - setTimeout\n } else {\n // `webpack` dev server bug on IE global methods - use bind(fn, global)\n macrotask = bind(macrotask, globalThis);\n notify = function () {\n macrotask(flush);\n };\n }\n\n microtask = function (fn) {\n if (!queue.head) notify();\n queue.add(fn);\n };\n}\n\nmodule.exports = microtask;\n","'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar $TypeError = TypeError;\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","'use strict';\nvar toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol('assign detection');\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n // eslint-disable-next-line no-useless-assignment -- avoid memory leak\n activeXDocument = null;\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\n/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) === 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\n/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar isObject = require('../internals/is-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n requireObjectCoercible(O);\n aPossiblePrototype(proto);\n if (!isObject(O)) return O;\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nmodule.exports = globalThis;\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar isCallable = require('../internals/is-callable');\nvar isForced = require('../internals/is-forced');\nvar inspectSource = require('../internals/inspect-source');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar ENVIRONMENT = require('../internals/environment');\nvar IS_PURE = require('../internals/is-pure');\nvar V8_VERSION = require('../internals/environment-v8-version');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar SPECIES = wellKnownSymbol('species');\nvar SUBCLASSING = false;\nvar NATIVE_PROMISE_REJECTION_EVENT = isCallable(globalThis.PromiseRejectionEvent);\n\nvar FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution\n if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {\n // Detect correctness of subclassing with @@species support\n var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n } return !GLOBAL_CORE_JS_PROMISE && (ENVIRONMENT === 'BROWSER' || ENVIRONMENT === 'DENO') && !NATIVE_PROMISE_REJECTION_EVENT;\n});\n\nmodule.exports = {\n CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,\n REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,\n SUBCLASSING: SUBCLASSING\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nmodule.exports = globalThis.Promise;\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","'use strict';\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\nmodule.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {\n NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });\n});\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (Target, Source, key) {\n key in Target || defineProperty(Target, key, {\n configurable: true,\n get: function () { return Source[key]; },\n set: function (it) { Source[key] = it; }\n });\n};\n","'use strict';\nvar Queue = function () {\n this.head = null;\n this.tail = null;\n};\n\nQueue.prototype = {\n add: function (item) {\n var entry = { item: item, next: null };\n var tail = this.tail;\n if (tail) tail.next = entry;\n else this.head = entry;\n this.tail = entry;\n },\n get: function () {\n var entry = this.head;\n if (entry) {\n var next = this.head = entry.next;\n if (next === null) this.tail = null;\n return entry.item;\n }\n }\n};\n\nmodule.exports = Queue;\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar globalThis = require('../internals/global-this');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = globalThis.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') !== null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') !== null;\n});\n\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar globalThis = require('../internals/global-this');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = globalThis.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.test('\\n') && re.flags === 's');\n});\n","'use strict';\nvar fails = require('../internals/fails');\nvar globalThis = require('../internals/global-this');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError\nvar $RegExp = globalThis.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?<a>b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$<a>c') !== 'bc';\n});\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar DESCRIPTORS = require('../internals/descriptors');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Avoid NodeJS experimental warning\nmodule.exports = function (name) {\n if (!DESCRIPTORS) return globalThis[name];\n var descriptor = getOwnPropertyDescriptor(globalThis, name);\n return descriptor && descriptor.value;\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineBuiltInAccessor(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (target, TAG, STATIC) {\n if (target && !STATIC) target = target.prototype;\n if (target && !hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar globalThis = require('../internals/global-this');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n version: '3.39.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar store = require('../internals/shared-store');\n\nmodule.exports = function (key, value) {\n return store[key] || (store[key] = value || {});\n};\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '$1');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/environment-v8-version');\nvar fails = require('../internals/fails');\nvar globalThis = require('../internals/global-this');\n\nvar $String = globalThis.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar call = require('../internals/function-call');\nvar getBuiltIn = require('../internals/get-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function () {\n var Symbol = getBuiltIn('Symbol');\n var SymbolPrototype = Symbol && Symbol.prototype;\n var valueOf = SymbolPrototype && SymbolPrototype.valueOf;\n var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) {\n // `Symbol.prototype[@@toPrimitive]` method\n // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\n // eslint-disable-next-line no-unused-vars -- required for .length\n defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) {\n return call(valueOf, this);\n }, { arity: 1 });\n }\n};\n","'use strict';\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\n/* eslint-disable es/no-symbol -- safe */\nmodule.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_IOS = require('../internals/environment-is-ios');\nvar IS_NODE = require('../internals/environment-is-node');\n\nvar set = globalThis.setImmediate;\nvar clear = globalThis.clearImmediate;\nvar process = globalThis.process;\nvar Dispatch = globalThis.Dispatch;\nvar Function = globalThis.Function;\nvar MessageChannel = globalThis.MessageChannel;\nvar String = globalThis.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar $location, defer, channel, port;\n\nfails(function () {\n // Deno throws a ReferenceError on `location` access without `--location` flag\n $location = globalThis.location;\n});\n\nvar run = function (id) {\n if (hasOwn(queue, id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar eventListener = function (event) {\n run(event.data);\n};\n\nvar globalPostMessageDefer = function (id) {\n // old engines have not location.origin\n globalThis.postMessage(String(id), $location.protocol + '//' + $location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(handler) {\n validateArgumentsLength(arguments.length, 1);\n var fn = isCallable(handler) ? handler : Function(handler);\n var args = arraySlice(arguments, 1);\n queue[++counter] = function () {\n apply(fn, undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = eventListener;\n defer = bind(port.postMessage, port);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n globalThis.addEventListener &&\n isCallable(globalThis.postMessage) &&\n !globalThis.importScripts &&\n $location && $location.protocol !== 'file:' &&\n !fails(globalPostMessageDefer)\n ) {\n defer = globalPostMessageDefer;\n globalThis.addEventListener('message', eventListener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n var len = toIntegerOrInfinity(argument);\n return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw new $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line unicorn/relative-url-style -- required for testing\n var url = new URL('b?a=1&b=2&c=3', 'https://a');\n var params = url.searchParams;\n var params2 = new URLSearchParams('a=1&a=2&b=3');\n var result = '';\n url.pathname = 'c%20d';\n params.forEach(function (value, key) {\n params['delete']('b');\n result += key + value;\n });\n params2['delete']('a', 2);\n // `undefined` case is a Chromium 117 bug\n // https://bugs.chromium.org/p/v8/issues/detail?id=14222\n params2['delete']('b', undefined);\n return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b')))\n || (!params.size && (IS_PURE || !DESCRIPTORS))\n || !params.sort\n || url.href !== 'https://a/c%20d?a=1&c=3'\n || params.get('c') !== '3'\n || String(new URLSearchParams('?a=1')) !== 'a=1'\n || !params[ITERATOR]\n // throws in Edge\n || new URL('https://a@b').username !== 'a'\n || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'\n // not punycoded in Edge\n || new URL('https://тест').host !== 'xn--e1aybc'\n // not escaped in Chrome 62-\n || new URL('https://a#б').hash !== '#%D0%B1'\n // fails in Chrome 66-\n || result !== 'a1c3'\n // throws in Safari\n || new URL('https://x', undefined).host !== 'x';\n});\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL &&\n !Symbol.sham &&\n typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n","'use strict';\nvar $TypeError = TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw new $TypeError('Not enough arguments');\n return passed;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = globalThis.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = globalThis.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\n// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar proxyAccessor = require('../internals/proxy-accessor');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar installErrorCause = require('../internals/install-error-cause');\nvar installErrorStack = require('../internals/error-stack-install');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nmodule.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {\n var STACK_TRACE_LIMIT = 'stackTraceLimit';\n var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;\n var path = FULL_NAME.split('.');\n var ERROR_NAME = path[path.length - 1];\n var OriginalError = getBuiltIn.apply(null, path);\n\n if (!OriginalError) return;\n\n var OriginalErrorPrototype = OriginalError.prototype;\n\n // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006\n if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;\n\n if (!FORCED) return OriginalError;\n\n var BaseError = getBuiltIn('Error');\n\n var WrappedError = wrapper(function (a, b) {\n var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);\n var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();\n if (message !== undefined) createNonEnumerableProperty(result, 'message', message);\n installErrorStack(result, WrappedError, result.stack, 2);\n if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);\n if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);\n return result;\n });\n\n WrappedError.prototype = OriginalErrorPrototype;\n\n if (ERROR_NAME !== 'Error') {\n if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);\n else copyConstructorProperties(WrappedError, BaseError, { name: true });\n } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {\n proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);\n proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');\n }\n\n copyConstructorProperties(WrappedError, OriginalError);\n\n if (!IS_PURE) try {\n // Safari 13- bug: WebAssembly errors does not have a proper `.name`\n if (OriginalErrorPrototype.name !== ERROR_NAME) {\n createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);\n }\n OriginalErrorPrototype.constructor = WrappedError;\n } catch (error) { /* empty */ }\n\n return WrappedError;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/environment-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n doesNotExceedSafeInteger(n + len);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n doesNotExceedSafeInteger(n + 1);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n // eslint-disable-next-line es/no-array-from -- required for testing\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeIndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;\nvar FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: FORCED }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf(this, searchElement, fromIndex) || 0\n : $indexOf(this, searchElement, fromIndex);\n }\n});\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = null;\n return createIterResultObject(undefined, true);\n }\n switch (state.kind) {\n case 'keys': return createIterResultObject(index, false);\n case 'values': return createIterResultObject(target[index], false);\n } return createIterResultObject([index, target[index]], false);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\n\nvar nativeReverse = uncurryThis([].reverse);\nvar test = [1, 2];\n\n// `Array.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-array.prototype.reverse\n// fix for Safari 12.0 bug\n// https://bugs.webkit.org/show_bug.cgi?id=188794\n$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {\n reverse: function reverse() {\n // eslint-disable-next-line no-self-assign -- dirty hack\n if (isArray(this)) this.length = this.length;\n return nativeReverse(this);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar nativeSlice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === $Array || Constructor === undefined) {\n return nativeSlice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/environment-ff-version');\nvar IE_OR_EDGE = require('../internals/environment-is-ie-or-edge');\nvar V8 = require('../internals/environment-v8-version');\nvar WEBKIT = require('../internals/environment-webkit-version');\n\nvar test = [];\nvar nativeSort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = lengthOfArrayLike(items);\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) deletePropertyOrThrow(array, index++);\n\n return array;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar FORCED = fails(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n});\n\n// `Date.prototype.toJSON` method\n// https://tc39.es/ecma262/#sec-date.prototype.tojson\n$({ target: 'Date', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O, 'number');\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar dateToPrimitive = require('../internals/date-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\nvar DatePrototype = Date.prototype;\n\n// `Date.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nif (!hasOwn(DatePrototype, TO_PRIMITIVE)) {\n defineBuiltIn(DatePrototype, TO_PRIMITIVE, dateToPrimitive);\n}\n","'use strict';\n/* eslint-disable no-unused-vars -- required for functions `.length` */\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar apply = require('../internals/function-apply');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\n\nvar WEB_ASSEMBLY = 'WebAssembly';\nvar WebAssembly = globalThis[WEB_ASSEMBLY];\n\n// eslint-disable-next-line es/no-error-cause -- feature detection\nvar FORCED = new Error('e', { cause: 7 }).cause !== 7;\n\nvar exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);\n $({ global: true, constructor: true, arity: 1, forced: FORCED }, O);\n};\n\nvar exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n if (WebAssembly && WebAssembly[ERROR_NAME]) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);\n $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O);\n }\n};\n\n// https://tc39.es/ecma262/#sec-nativeerror\nexportGlobalErrorCauseWrapper('Error', function (init) {\n return function Error(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('EvalError', function (init) {\n return function EvalError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('RangeError', function (init) {\n return function RangeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('ReferenceError', function (init) {\n return function ReferenceError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('SyntaxError', function (init) {\n return function SyntaxError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('TypeError', function (init) {\n return function TypeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('URIError', function (init) {\n return function URIError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('CompileError', function (init) {\n return function CompileError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('LinkError', function (init) {\n return function LinkError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {\n return function RuntimeError(message) { return apply(init, this, arguments); };\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar createProperty = require('../internals/create-property');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar CONSTRUCTOR = 'constructor';\nvar ITERATOR = 'Iterator';\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nvar $TypeError = TypeError;\nvar NativeIterator = globalThis[ITERATOR];\n\n// FF56- have non-standard global helper `Iterator`\nvar FORCED = IS_PURE\n || !isCallable(NativeIterator)\n || NativeIterator.prototype !== IteratorPrototype\n // FF44- non-standard `Iterator` passes previous tests\n || !fails(function () { NativeIterator({}); });\n\nvar IteratorConstructor = function Iterator() {\n anInstance(this, IteratorPrototype);\n if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');\n};\n\nvar defineIteratorPrototypeAccessor = function (key, value) {\n if (DESCRIPTORS) {\n defineBuiltInAccessor(IteratorPrototype, key, {\n configurable: true,\n get: function () {\n return value;\n },\n set: function (replacement) {\n anObject(this);\n if (this === IteratorPrototype) throw new $TypeError(\"You can't redefine this property\");\n if (hasOwn(this, key)) this[key] = replacement;\n else createProperty(this, key, replacement);\n }\n });\n } else IteratorPrototype[key] = value;\n};\n\nif (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);\n\nif (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {\n defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);\n}\n\nIteratorConstructor.prototype = IteratorPrototype;\n\n// `Iterator` constructor\n// https://tc39.es/ecma262/#sec-iterator\n$({ global: true, constructor: true, forced: FORCED }, {\n Iterator: IteratorConstructor\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\n\n// `Iterator.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-iterator.prototype.foreach\n$({ target: 'Iterator', proto: true, real: true }, {\n forEach: function forEach(fn) {\n anObject(this);\n aCallable(fn);\n var record = getIteratorDirect(this);\n var counter = 0;\n iterate(record, function (value) {\n fn(value, counter++);\n }, { IS_RECORD: true });\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isSymbol = require('../internals/is-symbol');\nvar arraySlice = require('../internals/array-slice');\nvar getReplacerFunction = require('../internals/get-json-replacer-function');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nvar $String = String;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {\n var symbol = getBuiltIn('Symbol')('stringify detection');\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) !== '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) !== '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) !== '{}';\n});\n\n// https://github.com/tc39/proposal-well-formed-stringify\nvar ILL_FORMED_UNICODE = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nvar stringifyWithSymbolsFix = function (it, replacer) {\n var args = arraySlice(arguments);\n var $replacer = getReplacerFunction(replacer);\n if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined\n args[1] = function (key, value) {\n // some old implementations (like WebKit) could pass numbers as keys\n if (isCallable($replacer)) value = call($replacer, this, $String(key), value);\n if (!isSymbol(value)) return value;\n };\n return apply($stringify, null, args);\n};\n\nvar fixIllFormed = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);\n return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;\n }\n });\n}\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// JSON[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-json-@@tostringtag\nsetToStringTag(globalThis.JSON, 'JSON', true);\n","'use strict';\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// Math[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-math-@@tostringtag\nsetToStringTag(Math, 'Math', true);\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar globalThis = require('../internals/global-this');\nvar path = require('../internals/path');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar hasOwn = require('../internals/has-own-property');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar thisNumberValue = require('../internals/this-number-value');\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = globalThis[NUMBER];\nvar PureNumberNamespace = path[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\nvar TypeError = globalThis.TypeError;\nvar stringSlice = uncurryThis(''.slice);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\n// `ToNumeric` abstract operation\n// https://tc39.es/ecma262/#sec-tonumeric\nvar toNumeric = function (value) {\n var primValue = toPrimitive(value, 'number');\n return typeof primValue == 'bigint' ? primValue : toNumber(primValue);\n};\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, 'number');\n var first, third, radix, maxCode, digits, length, index, code;\n if (isSymbol(it)) throw new TypeError('Cannot convert a Symbol value to a number');\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = charCodeAt(it, 0);\n if (first === 43 || first === 45) {\n third = charCodeAt(it, 2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (charCodeAt(it, 1)) {\n // fast equal of /^0b[01]+$/i\n case 66:\n case 98:\n radix = 2;\n maxCode = 49;\n break;\n // fast equal of /^0o[0-7]+$/i\n case 79:\n case 111:\n radix = 8;\n maxCode = 55;\n break;\n default:\n return +it;\n }\n digits = stringSlice(it, 2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = charCodeAt(digits, index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nvar FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));\n\nvar calledWithNew = function (dummy) {\n // includes check on 1..constructor(foo) case\n return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); });\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nvar NumberWrapper = function Number(value) {\n var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));\n return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;\n};\n\nNumberWrapper.prototype = NumberPrototype;\nif (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper;\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED }, {\n Number: NumberWrapper\n});\n\n// Use `internal/copy-constructor-properties` helper in `core-js@4`\nvar copyConstructorProperties = function (target, source) {\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n\nif (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace);\nif (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);\n","'use strict';\nvar $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {\n assign: assign\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar createProperty = require('../internals/create-property');\n\n// `Object.fromEntries` method\n// https://tc39.es/ecma262/#sec-object.fromentries\n$({ target: 'Object', stat: true }, {\n fromEntries: function fromEntries(iterable) {\n var obj = {};\n iterate(iterable, function (k, v) {\n createProperty(obj, k, v);\n }, { AS_ENTRIES: true });\n return obj;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar nativeGetOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar FORCED = !DESCRIPTORS || fails(function () { nativeGetOwnPropertyDescriptor(1); });\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\n$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {\n return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar toObject = require('../internals/to-object');\n\n// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); });\n\n// `Object.getOwnPropertySymbols` method\n// https://tc39.es/ecma262/#sec-object.getownpropertysymbols\n$({ target: 'Object', stat: true, forced: FORCED }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n$({ target: 'Object', stat: true }, {\n setPrototypeOf: setPrototypeOf\n});\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.all` method\n// https://tc39.es/ecma262/#sec-promise.all\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call($promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// `Promise.prototype.catch` method\n// https://tc39.es/ecma262/#sec-promise.prototype.catch\n$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n});\n\n// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n var method = getBuiltIn('Promise').prototype['catch'];\n if (NativePromisePrototype['catch'] !== method) {\n defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar IS_NODE = require('../internals/environment-is-node');\nvar globalThis = require('../internals/global-this');\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar perform = require('../internals/perform');\nvar Queue = require('../internals/queue');\nvar InternalStateModule = require('../internals/internal-state');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar PromiseConstructorDetection = require('../internals/promise-constructor-detection');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\n\nvar PROMISE = 'Promise';\nvar FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;\nvar NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;\nvar NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar PromiseConstructor = NativePromiseConstructor;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = globalThis.TypeError;\nvar document = globalThis.document;\nvar process = globalThis.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\nvar DISPATCH_EVENT = !!(document && document.createEvent && globalThis.dispatchEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\n\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && isCallable(then = it.then) ? then : false;\n};\n\nvar callReaction = function (reaction, state) {\n var value = state.value;\n var ok = state.state === FULFILLED;\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(new TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n call(then, result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n};\n\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n microtask(function () {\n var reactions = state.reactions;\n var reaction;\n while (reaction = reactions.get()) {\n callReaction(reaction, state);\n }\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n globalThis.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = globalThis['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n call(task, globalThis, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n call(task, globalThis, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw new TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n call(then, value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED_PROMISE_CONSTRUCTOR) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromisePrototype);\n aCallable(executor);\n call(Internal, this);\n var state = getInternalPromiseState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n\n PromisePrototype = PromiseConstructor.prototype;\n\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: new Queue(),\n rejection: false,\n state: PENDING,\n value: null\n });\n };\n\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n state.parent = true;\n reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n reaction.fail = isCallable(onRejected) && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n if (state.state === PENDING) state.reactions.add(reaction);\n else microtask(function () {\n callReaction(reaction, state);\n });\n return reaction.promise;\n });\n\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalPromiseState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {\n nativeThen = NativePromisePrototype.then;\n\n if (!NATIVE_PROMISE_SUBCLASSING) {\n // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n call(nativeThen, that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n }\n\n // make `.constructor === Promise` work for native promise-based APIs\n try {\n delete NativePromisePrototype.constructor;\n } catch (error) { /* empty */ }\n\n // make `instanceof Promise` work for native promise-based APIs\n if (setPrototypeOf) {\n setPrototypeOf(NativePromisePrototype, PromisePrototype);\n }\n }\n}\n\n// `Promise` constructor\n// https://tc39.es/ecma262/#sec-promise-executor\n$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.promise.constructor');\nrequire('../modules/es.promise.all');\nrequire('../modules/es.promise.catch');\nrequire('../modules/es.promise.race');\nrequire('../modules/es.promise.reject');\nrequire('../modules/es.promise.resolve');\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.race` method\n// https://tc39.es/ecma262/#sec-promise.race\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n iterate(iterable, function (promise) {\n call($promiseResolve, C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\n// `Promise.reject` method\n// https://tc39.es/ecma262/#sec-promise.reject\n$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n reject: function reject(r) {\n var capability = newPromiseCapabilityModule.f(this);\n var capabilityReject = capability.reject;\n capabilityReject(r);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar promiseResolve = require('../internals/promise-resolve');\n\nvar PromiseConstructorWrapper = getBuiltIn('Promise');\nvar CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;\n\n// `Promise.resolve` method\n// https://tc39.es/ecma262/#sec-promise.resolve\n$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {\n resolve: function resolve(x) {\n return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind');\nvar aConstructor = require('../internals/a-constructor');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar fails = require('../internals/fails');\n\nvar nativeConstruct = getBuiltIn('Reflect', 'construct');\nvar ObjectPrototype = Object.prototype;\nvar push = [].push;\n\n// `Reflect.construct` method\n// https://tc39.es/ecma262/#sec-reflect.construct\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\n\nvar ARGS_BUG = !fails(function () {\n nativeConstruct(function () { /* empty */ });\n});\n\nvar FORCED = NEW_TARGET_BUG || ARGS_BUG;\n\n$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {\n construct: function construct(Target, args /* , newTarget */) {\n aConstructor(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);\n if (Target === newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n apply(push, $args, args);\n return new (apply(bind, Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : ObjectPrototype);\n var result = apply(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar anObject = require('../internals/an-object');\nvar isDataDescriptor = require('../internals/is-data-descriptor');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\n// `Reflect.get` method\n// https://tc39.es/ecma262/#sec-reflect.get\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var descriptor, prototype;\n if (anObject(target) === receiver) return target[propertyKey];\n descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey);\n if (descriptor) return isDataDescriptor(descriptor)\n ? descriptor.value\n : descriptor.get === undefined ? undefined : call(descriptor.get, receiver);\n if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver);\n}\n\n$({ target: 'Reflect', stat: true }, {\n get: get\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n$({ global: true }, { Reflect: {} });\n\n// Reflect[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-reflect-@@tostringtag\nsetToStringTag(globalThis.Reflect, 'Reflect', true);\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar anObject = require('../internals/an-object');\nvar toString = require('../internals/to-string');\n\nvar DELEGATES_TO_EXEC = function () {\n var execCalled = false;\n var re = /[ac]/;\n re.exec = function () {\n execCalled = true;\n return /./.exec.apply(this, arguments);\n };\n return re.test('abc') === true && execCalled;\n}();\n\nvar nativeTest = /./.test;\n\n// `RegExp.prototype.test` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.test\n$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {\n test: function (S) {\n var R = anObject(this);\n var string = toString(S);\n var exec = R.exec;\n if (!isCallable(exec)) return call(nativeTest, R, string);\n var result = call(exec, R, string);\n if (result === null) return false;\n anObject(result);\n return true;\n }\n});\n","'use strict';\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar defineBuiltIn = require('../internals/define-built-in');\nvar anObject = require('../internals/an-object');\nvar $toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {\n var R = anObject(this);\n var pattern = $toString(R.source);\n var flags = $toString(getRegExpFlags(R));\n return '/' + pattern + '/' + flags;\n }, { unsafe: true });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\nvar $RangeError = RangeError;\nvar fromCharCode = String.fromCharCode;\n// eslint-disable-next-line es/no-string-fromcodepoint -- required for testing\nvar $fromCodePoint = String.fromCodePoint;\nvar join = uncurryThis([].join);\n\n// length should be 1, old FF problem\nvar INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length !== 1;\n\n// `String.fromCodePoint` method\n// https://tc39.es/ecma262/#sec-string.fromcodepoint\n$({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n fromCodePoint: function fromCodePoint(x) {\n var elements = [];\n var length = arguments.length;\n var i = 0;\n var code;\n while (length > i) {\n code = +arguments[i++];\n if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw new $RangeError(code + ' is not a valid code point');\n elements[i] = code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00);\n } return join(elements, '');\n }\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return createIterResultObject(undefined, true);\n point = charAt(string, index);\n state.index += point.length;\n return createIterResultObject(point, false);\n});\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');\n","'use strict';\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar $toString = require('../internals/to-string');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\n\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = globalThis.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar RangeError = globalThis.RangeError;\nvar TypeError = globalThis.TypeError;\nvar QObject = globalThis.QObject;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar push = uncurryThis([].push);\n\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar WellKnownSymbolsStore = shared('wks');\n\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar fallbackDefineProperty = function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n};\n\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a !== 7;\n}) ? fallbackDefineProperty : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPropertyKey(P);\n anObject(Attributes);\n if (hasOwn(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, nativeObjectCreate(null)));\n O[HIDDEN][key] = true;\n } else {\n if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPropertyKey(V);\n var enumerable = call(nativePropertyIsEnumerable, this, P);\n if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]\n ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPropertyKey(P);\n if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function (O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {\n push(result, AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (isPrototypeOf(SymbolPrototype, this)) throw new TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n var $this = this === undefined ? globalThis : this;\n if ($this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n if (hasOwn($this, HIDDEN) && hasOwn($this[HIDDEN], tag)) $this[HIDDEN][tag] = false;\n var descriptor = createPropertyDescriptor(1, value);\n try {\n setSymbolDescriptor($this, tag, descriptor);\n } catch (error) {\n if (!(error instanceof RangeError)) throw error;\n fallbackDefineProperty($this, tag, descriptor);\n }\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n SymbolPrototype = $Symbol[PROTOTYPE];\n\n defineBuiltIn(SymbolPrototype, 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n defineBuiltIn($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n definePropertiesModule.f = $defineProperties;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n defineBuiltInAccessor(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames\n});\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","// `Symbol.prototype.description` getter\n// https://tc39.es/ecma262/#sec-symbol.prototype.description\n'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar globalThis = require('../internals/global-this');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar toString = require('../internals/to-string');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\n\nvar NativeSymbol = globalThis.Symbol;\nvar SymbolPrototype = NativeSymbol && NativeSymbol.prototype;\n\nif (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||\n // Safari 12 bug\n NativeSymbol().description !== undefined\n)) {\n var EmptyStringDescriptionStore = {};\n // wrap Symbol constructor for correct work with undefined description\n var SymbolWrapper = function Symbol() {\n var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);\n var result = isPrototypeOf(SymbolPrototype, this)\n // eslint-disable-next-line sonarjs/inconsistent-function-call -- ok\n ? new NativeSymbol(description)\n // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'\n : description === undefined ? NativeSymbol() : NativeSymbol(description);\n if (description === '') EmptyStringDescriptionStore[result] = true;\n return result;\n };\n\n copyConstructorProperties(SymbolWrapper, NativeSymbol);\n SymbolWrapper.prototype = SymbolPrototype;\n SymbolPrototype.constructor = SymbolWrapper;\n\n var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';\n var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);\n var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);\n var regexp = /^Symbol\\((.*)\\)[^)]+$/;\n var replace = uncurryThis(''.replace);\n var stringSlice = uncurryThis(''.slice);\n\n defineBuiltInAccessor(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n var symbol = thisSymbolValue(this);\n if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';\n var string = symbolDescriptiveString(symbol);\n var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');\n return desc === '' ? undefined : desc;\n }\n });\n\n $({ global: true, constructor: true, forced: true }, {\n Symbol: SymbolWrapper\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.for` method\n// https://tc39.es/ecma262/#sec-symbol.for\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n 'for': function (key) {\n var string = toString(key);\n if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = getBuiltIn('Symbol')(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n }\n});\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.symbol.constructor');\nrequire('../modules/es.symbol.for');\nrequire('../modules/es.symbol.key-for');\nrequire('../modules/es.json.stringify');\nrequire('../modules/es.object.get-own-property-symbols');\n","'use strict';\nvar $ = require('../internals/export');\nvar hasOwn = require('../internals/has-own-property');\nvar isSymbol = require('../internals/is-symbol');\nvar tryToString = require('../internals/try-to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.keyFor` method\n// https://tc39.es/ecma262/#sec-symbol.keyfor\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw new TypeError(tryToString(sym) + ' is not a symbol');\n if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n }\n});\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\n\n// `Symbol.toPrimitive` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.toprimitive\ndefineWellKnownSymbol('toPrimitive');\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// `Symbol.toStringTag` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.tostringtag\ndefineWellKnownSymbol('toStringTag');\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag(getBuiltIn('Symbol'), 'Symbol');\n","'use strict';\nvar FREEZING = require('../internals/freezing');\nvar globalThis = require('../internals/global-this');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\nvar isObject = require('../internals/is-object');\nvar enforceInternalState = require('../internals/internal-state').enforce;\nvar fails = require('../internals/fails');\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\n\nvar $Object = Object;\n// eslint-disable-next-line es/no-array-isarray -- safe\nvar isArray = Array.isArray;\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar isExtensible = $Object.isExtensible;\n// eslint-disable-next-line es/no-object-isfrozen -- safe\nvar isFrozen = $Object.isFrozen;\n// eslint-disable-next-line es/no-object-issealed -- safe\nvar isSealed = $Object.isSealed;\n// eslint-disable-next-line es/no-object-freeze -- safe\nvar freeze = $Object.freeze;\n// eslint-disable-next-line es/no-object-seal -- safe\nvar seal = $Object.seal;\n\nvar IS_IE11 = !globalThis.ActiveXObject && 'ActiveXObject' in globalThis;\nvar InternalWeakMap;\n\nvar wrapper = function (init) {\n return function WeakMap() {\n return init(this, arguments.length ? arguments[0] : undefined);\n };\n};\n\n// `WeakMap` constructor\n// https://tc39.es/ecma262/#sec-weakmap-constructor\nvar $WeakMap = collection('WeakMap', wrapper, collectionWeak);\nvar WeakMapPrototype = $WeakMap.prototype;\nvar nativeSet = uncurryThis(WeakMapPrototype.set);\n\n// Chakra Edge bug: adding frozen arrays to WeakMap unfreeze them\nvar hasMSEdgeFreezingBug = function () {\n return FREEZING && fails(function () {\n var frozenArray = freeze([]);\n nativeSet(new $WeakMap(), frozenArray, 1);\n return !isFrozen(frozenArray);\n });\n};\n\n// IE11 WeakMap frozen keys fix\n// We can't use feature detection because it crash some old IE builds\n// https://github.com/zloirock/core-js/issues/485\nif (NATIVE_WEAK_MAP) if (IS_IE11) {\n InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);\n InternalMetadataModule.enable();\n var nativeDelete = uncurryThis(WeakMapPrototype['delete']);\n var nativeHas = uncurryThis(WeakMapPrototype.has);\n var nativeGet = uncurryThis(WeakMapPrototype.get);\n defineBuiltIns(WeakMapPrototype, {\n 'delete': function (key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeDelete(this, key) || state.frozen['delete'](key);\n } return nativeDelete(this, key);\n },\n has: function has(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas(this, key) || state.frozen.has(key);\n } return nativeHas(this, key);\n },\n get: function get(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key);\n } return nativeGet(this, key);\n },\n set: function set(key, value) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value);\n } else nativeSet(this, key, value);\n return this;\n }\n });\n// Chakra Edge frozen keys fix\n} else if (hasMSEdgeFreezingBug()) {\n defineBuiltIns(WeakMapPrototype, {\n set: function set(key, value) {\n var arrayIntegrityLevel;\n if (isArray(key)) {\n if (isFrozen(key)) arrayIntegrityLevel = freeze;\n else if (isSealed(key)) arrayIntegrityLevel = seal;\n }\n nativeSet(this, key, value);\n if (arrayIntegrityLevel) arrayIntegrityLevel(key);\n return this;\n }\n });\n}\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.weak-map.constructor');\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\n\n// `WeakSet` constructor\n// https://tc39.es/ecma262/#sec-weakset-constructor\ncollection('WeakSet', function (init) {\n return function WeakSet() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionWeak);\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.weak-set.constructor');\n","'use strict';\n// TODO: Remove from `core-js@4`\nrequire('../modules/es.iterator.constructor');\n","'use strict';\n// TODO: Remove from `core-js@4`\nrequire('../modules/es.iterator.for-each');\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(globalThis[COLLECTION_NAME] && globalThis[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nvar handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n setToStringTag(CollectionPrototype, COLLECTION_NAME, true);\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n handlePrototype(globalThis[COLLECTION_NAME] && globalThis[COLLECTION_NAME].prototype, COLLECTION_NAME);\n}\n\nhandlePrototype(DOMTokenListPrototype, 'DOMTokenList');\n","'use strict';\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nrequire('../modules/es.array.iterator');\nrequire('../modules/es.string.from-code-point');\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar safeGetBuiltIn = require('../internals/safe-get-built-in');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar USE_NATIVE_URL = require('../internals/url-constructor-detection');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar InternalStateModule = require('../internals/internal-state');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar bind = require('../internals/function-bind-context');\nvar classof = require('../internals/classof');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar $toString = require('../internals/to-string');\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arraySort = require('../internals/array-sort');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar URL_SEARCH_PARAMS = 'URLSearchParams';\nvar URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS);\nvar getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR);\n\nvar nativeFetch = safeGetBuiltIn('fetch');\nvar NativeRequest = safeGetBuiltIn('Request');\nvar Headers = safeGetBuiltIn('Headers');\nvar RequestPrototype = NativeRequest && NativeRequest.prototype;\nvar HeadersPrototype = Headers && Headers.prototype;\nvar TypeError = globalThis.TypeError;\nvar encodeURIComponent = globalThis.encodeURIComponent;\nvar fromCharCode = String.fromCharCode;\nvar fromCodePoint = getBuiltIn('String', 'fromCodePoint');\nvar $parseInt = parseInt;\nvar charAt = uncurryThis(''.charAt);\nvar join = uncurryThis([].join);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar shift = uncurryThis([].shift);\nvar splice = uncurryThis([].splice);\nvar split = uncurryThis(''.split);\nvar stringSlice = uncurryThis(''.slice);\nvar exec = uncurryThis(/./.exec);\n\nvar plus = /\\+/g;\nvar FALLBACK_REPLACER = '\\uFFFD';\nvar VALID_HEX = /^[0-9a-f]+$/i;\n\nvar parseHexOctet = function (string, start) {\n var substr = stringSlice(string, start, start + 2);\n if (!exec(VALID_HEX, substr)) return NaN;\n\n return $parseInt(substr, 16);\n};\n\nvar getLeadingOnes = function (octet) {\n var count = 0;\n for (var mask = 0x80; mask > 0 && (octet & mask) !== 0; mask >>= 1) {\n count++;\n }\n return count;\n};\n\nvar utf8Decode = function (octets) {\n var codePoint = null;\n\n switch (octets.length) {\n case 1:\n codePoint = octets[0];\n break;\n case 2:\n codePoint = (octets[0] & 0x1F) << 6 | (octets[1] & 0x3F);\n break;\n case 3:\n codePoint = (octets[0] & 0x0F) << 12 | (octets[1] & 0x3F) << 6 | (octets[2] & 0x3F);\n break;\n case 4:\n codePoint = (octets[0] & 0x07) << 18 | (octets[1] & 0x3F) << 12 | (octets[2] & 0x3F) << 6 | (octets[3] & 0x3F);\n break;\n }\n\n return codePoint > 0x10FFFF ? null : codePoint;\n};\n\nvar decode = function (input) {\n input = replace(input, plus, ' ');\n var length = input.length;\n var result = '';\n var i = 0;\n\n while (i < length) {\n var decodedChar = charAt(input, i);\n\n if (decodedChar === '%') {\n if (charAt(input, i + 1) === '%' || i + 3 > length) {\n result += '%';\n i++;\n continue;\n }\n\n var octet = parseHexOctet(input, i + 1);\n\n // eslint-disable-next-line no-self-compare -- NaN check\n if (octet !== octet) {\n result += decodedChar;\n i++;\n continue;\n }\n\n i += 2;\n var byteSequenceLength = getLeadingOnes(octet);\n\n if (byteSequenceLength === 0) {\n decodedChar = fromCharCode(octet);\n } else {\n if (byteSequenceLength === 1 || byteSequenceLength > 4) {\n result += FALLBACK_REPLACER;\n i++;\n continue;\n }\n\n var octets = [octet];\n var sequenceIndex = 1;\n\n while (sequenceIndex < byteSequenceLength) {\n i++;\n if (i + 3 > length || charAt(input, i) !== '%') break;\n\n var nextByte = parseHexOctet(input, i + 1);\n\n // eslint-disable-next-line no-self-compare -- NaN check\n if (nextByte !== nextByte) {\n i += 3;\n break;\n }\n if (nextByte > 191 || nextByte < 128) break;\n\n push(octets, nextByte);\n i += 2;\n sequenceIndex++;\n }\n\n if (octets.length !== byteSequenceLength) {\n result += FALLBACK_REPLACER;\n continue;\n }\n\n var codePoint = utf8Decode(octets);\n if (codePoint === null) {\n result += FALLBACK_REPLACER;\n } else {\n decodedChar = fromCodePoint(codePoint);\n }\n }\n }\n\n result += decodedChar;\n i++;\n }\n\n return result;\n};\n\nvar find = /[!'()~]|%20/g;\n\nvar replacements = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+'\n};\n\nvar replacer = function (match) {\n return replacements[match];\n};\n\nvar serialize = function (it) {\n return replace(encodeURIComponent(it), find, replacer);\n};\n\nvar URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {\n setInternalState(this, {\n type: URL_SEARCH_PARAMS_ITERATOR,\n target: getInternalParamsState(params).entries,\n index: 0,\n kind: kind\n });\n}, URL_SEARCH_PARAMS, function next() {\n var state = getInternalIteratorState(this);\n var target = state.target;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = null;\n return createIterResultObject(undefined, true);\n }\n var entry = target[index];\n switch (state.kind) {\n case 'keys': return createIterResultObject(entry.key, false);\n case 'values': return createIterResultObject(entry.value, false);\n } return createIterResultObject([entry.key, entry.value], false);\n}, true);\n\nvar URLSearchParamsState = function (init) {\n this.entries = [];\n this.url = null;\n\n if (init !== undefined) {\n if (isObject(init)) this.parseObject(init);\n else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init));\n }\n};\n\nURLSearchParamsState.prototype = {\n type: URL_SEARCH_PARAMS,\n bindURL: function (url) {\n this.url = url;\n this.update();\n },\n parseObject: function (object) {\n var entries = this.entries;\n var iteratorMethod = getIteratorMethod(object);\n var iterator, next, step, entryIterator, entryNext, first, second;\n\n if (iteratorMethod) {\n iterator = getIterator(object, iteratorMethod);\n next = iterator.next;\n while (!(step = call(next, iterator)).done) {\n entryIterator = getIterator(anObject(step.value));\n entryNext = entryIterator.next;\n if (\n (first = call(entryNext, entryIterator)).done ||\n (second = call(entryNext, entryIterator)).done ||\n !call(entryNext, entryIterator).done\n ) throw new TypeError('Expected sequence with length 2');\n push(entries, { key: $toString(first.value), value: $toString(second.value) });\n }\n } else for (var key in object) if (hasOwn(object, key)) {\n push(entries, { key: key, value: $toString(object[key]) });\n }\n },\n parseQuery: function (query) {\n if (query) {\n var entries = this.entries;\n var attributes = split(query, '&');\n var index = 0;\n var attribute, entry;\n while (index < attributes.length) {\n attribute = attributes[index++];\n if (attribute.length) {\n entry = split(attribute, '=');\n push(entries, {\n key: decode(shift(entry)),\n value: decode(join(entry, '='))\n });\n }\n }\n }\n },\n serialize: function () {\n var entries = this.entries;\n var result = [];\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n push(result, serialize(entry.key) + '=' + serialize(entry.value));\n } return join(result, '&');\n },\n update: function () {\n this.entries.length = 0;\n this.parseQuery(this.url.query);\n },\n updateURL: function () {\n if (this.url) this.url.update();\n }\n};\n\n// `URLSearchParams` constructor\n// https://url.spec.whatwg.org/#interface-urlsearchparams\nvar URLSearchParamsConstructor = function URLSearchParams(/* init */) {\n anInstance(this, URLSearchParamsPrototype);\n var init = arguments.length > 0 ? arguments[0] : undefined;\n var state = setInternalState(this, new URLSearchParamsState(init));\n if (!DESCRIPTORS) this.size = state.entries.length;\n};\n\nvar URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;\n\ndefineBuiltIns(URLSearchParamsPrototype, {\n // `URLSearchParams.prototype.append` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-append\n append: function append(name, value) {\n var state = getInternalParamsState(this);\n validateArgumentsLength(arguments.length, 2);\n push(state.entries, { key: $toString(name), value: $toString(value) });\n if (!DESCRIPTORS) this.length++;\n state.updateURL();\n },\n // `URLSearchParams.prototype.delete` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-delete\n 'delete': function (name /* , value */) {\n var state = getInternalParamsState(this);\n var length = validateArgumentsLength(arguments.length, 1);\n var entries = state.entries;\n var key = $toString(name);\n var $value = length < 2 ? undefined : arguments[1];\n var value = $value === undefined ? $value : $toString($value);\n var index = 0;\n while (index < entries.length) {\n var entry = entries[index];\n if (entry.key === key && (value === undefined || entry.value === value)) {\n splice(entries, index, 1);\n if (value !== undefined) break;\n } else index++;\n }\n if (!DESCRIPTORS) this.size = entries.length;\n state.updateURL();\n },\n // `URLSearchParams.prototype.get` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-get\n get: function get(name) {\n var entries = getInternalParamsState(this).entries;\n validateArgumentsLength(arguments.length, 1);\n var key = $toString(name);\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) return entries[index].value;\n }\n return null;\n },\n // `URLSearchParams.prototype.getAll` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-getall\n getAll: function getAll(name) {\n var entries = getInternalParamsState(this).entries;\n validateArgumentsLength(arguments.length, 1);\n var key = $toString(name);\n var result = [];\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) push(result, entries[index].value);\n }\n return result;\n },\n // `URLSearchParams.prototype.has` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-has\n has: function has(name /* , value */) {\n var entries = getInternalParamsState(this).entries;\n var length = validateArgumentsLength(arguments.length, 1);\n var key = $toString(name);\n var $value = length < 2 ? undefined : arguments[1];\n var value = $value === undefined ? $value : $toString($value);\n var index = 0;\n while (index < entries.length) {\n var entry = entries[index++];\n if (entry.key === key && (value === undefined || entry.value === value)) return true;\n }\n return false;\n },\n // `URLSearchParams.prototype.set` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-set\n set: function set(name, value) {\n var state = getInternalParamsState(this);\n validateArgumentsLength(arguments.length, 1);\n var entries = state.entries;\n var found = false;\n var key = $toString(name);\n var val = $toString(value);\n var index = 0;\n var entry;\n for (; index < entries.length; index++) {\n entry = entries[index];\n if (entry.key === key) {\n if (found) splice(entries, index--, 1);\n else {\n found = true;\n entry.value = val;\n }\n }\n }\n if (!found) push(entries, { key: key, value: val });\n if (!DESCRIPTORS) this.size = entries.length;\n state.updateURL();\n },\n // `URLSearchParams.prototype.sort` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-sort\n sort: function sort() {\n var state = getInternalParamsState(this);\n arraySort(state.entries, function (a, b) {\n return a.key > b.key ? 1 : -1;\n });\n state.updateURL();\n },\n // `URLSearchParams.prototype.forEach` method\n forEach: function forEach(callback /* , thisArg */) {\n var entries = getInternalParamsState(this).entries;\n var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined);\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n boundFunction(entry.value, entry.key, this);\n }\n },\n // `URLSearchParams.prototype.keys` method\n keys: function keys() {\n return new URLSearchParamsIterator(this, 'keys');\n },\n // `URLSearchParams.prototype.values` method\n values: function values() {\n return new URLSearchParamsIterator(this, 'values');\n },\n // `URLSearchParams.prototype.entries` method\n entries: function entries() {\n return new URLSearchParamsIterator(this, 'entries');\n }\n}, { enumerable: true });\n\n// `URLSearchParams.prototype[@@iterator]` method\ndefineBuiltIn(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });\n\n// `URLSearchParams.prototype.toString` method\n// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior\ndefineBuiltIn(URLSearchParamsPrototype, 'toString', function toString() {\n return getInternalParamsState(this).serialize();\n}, { enumerable: true });\n\n// `URLSearchParams.prototype.size` getter\n// https://github.com/whatwg/url/pull/734\nif (DESCRIPTORS) defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {\n get: function size() {\n return getInternalParamsState(this).entries.length;\n },\n configurable: true,\n enumerable: true\n});\n\nsetToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);\n\n$({ global: true, constructor: true, forced: !USE_NATIVE_URL }, {\n URLSearchParams: URLSearchParamsConstructor\n});\n\n// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`\nif (!USE_NATIVE_URL && isCallable(Headers)) {\n var headersHas = uncurryThis(HeadersPrototype.has);\n var headersSet = uncurryThis(HeadersPrototype.set);\n\n var wrapRequestOptions = function (init) {\n if (isObject(init)) {\n var body = init.body;\n var headers;\n if (classof(body) === URL_SEARCH_PARAMS) {\n headers = init.headers ? new Headers(init.headers) : new Headers();\n if (!headersHas(headers, 'content-type')) {\n headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n return create(init, {\n body: createPropertyDescriptor(0, $toString(body)),\n headers: createPropertyDescriptor(0, headers)\n });\n }\n } return init;\n };\n\n if (isCallable(nativeFetch)) {\n $({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {\n fetch: function fetch(input /* , init */) {\n return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n }\n });\n }\n\n if (isCallable(NativeRequest)) {\n var RequestConstructor = function Request(input /* , init */) {\n anInstance(this, RequestPrototype);\n return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n };\n\n RequestPrototype.constructor = RequestConstructor;\n RequestConstructor.prototype = RequestPrototype;\n\n $({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {\n Request: RequestConstructor\n });\n }\n}\n\nmodule.exports = {\n URLSearchParams: URLSearchParamsConstructor,\n getState: getInternalParamsState\n};\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/web.url-search-params.constructor');\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","/*!\n * paypal-js v6.0.1 (2023-07-19T21:00:13.568Z)\n * Copyright 2020-present, PayPal, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nfunction findScript(url, attributes) {\n var currentScript = document.querySelector(\"script[src=\\\"\".concat(url, \"\\\"]\"));\n if (currentScript === null)\n return null;\n var nextScript = createScriptElement(url, attributes);\n // ignore the data-uid-auto attribute that gets auto-assigned to every script tag\n var currentScriptClone = currentScript.cloneNode();\n delete currentScriptClone.dataset.uidAuto;\n // check if the new script has the same number of data attributes\n if (Object.keys(currentScriptClone.dataset).length !==\n Object.keys(nextScript.dataset).length) {\n return null;\n }\n var isExactMatch = true;\n // check if the data attribute values are the same\n Object.keys(currentScriptClone.dataset).forEach(function (key) {\n if (currentScriptClone.dataset[key] !== nextScript.dataset[key]) {\n isExactMatch = false;\n }\n });\n return isExactMatch ? currentScript : null;\n}\nfunction insertScriptElement(_a) {\n var url = _a.url, attributes = _a.attributes, onSuccess = _a.onSuccess, onError = _a.onError;\n var newScript = createScriptElement(url, attributes);\n newScript.onerror = onError;\n newScript.onload = onSuccess;\n document.head.insertBefore(newScript, document.head.firstElementChild);\n}\nfunction processOptions(options) {\n var sdkBaseUrl = \"https://www.paypal.com/sdk/js\";\n if (options.sdkBaseUrl) {\n sdkBaseUrl = options.sdkBaseUrl;\n delete options.sdkBaseUrl;\n }\n var optionsWithStringIndex = options;\n var _a = Object.keys(optionsWithStringIndex)\n .filter(function (key) {\n return (typeof optionsWithStringIndex[key] !== \"undefined\" &&\n optionsWithStringIndex[key] !== null &&\n optionsWithStringIndex[key] !== \"\");\n })\n .reduce(function (accumulator, key) {\n var value = optionsWithStringIndex[key].toString();\n key = camelCaseToKebabCase(key);\n if (key.substring(0, 4) === \"data\") {\n accumulator.dataAttributes[key] = value;\n }\n else {\n accumulator.queryParams[key] = value;\n }\n return accumulator;\n }, {\n queryParams: {},\n dataAttributes: {},\n }), queryParams = _a.queryParams, dataAttributes = _a.dataAttributes;\n if (queryParams[\"merchant-id\"] &&\n queryParams[\"merchant-id\"].indexOf(\",\") !== -1) {\n dataAttributes[\"data-merchant-id\"] = queryParams[\"merchant-id\"];\n queryParams[\"merchant-id\"] = \"*\";\n }\n return {\n url: \"\".concat(sdkBaseUrl, \"?\").concat(objectToQueryString(queryParams)),\n dataAttributes: dataAttributes,\n };\n}\nfunction camelCaseToKebabCase(str) {\n var replacer = function (match, indexOfMatch) {\n return (indexOfMatch ? \"-\" : \"\") + match.toLowerCase();\n };\n return str.replace(/[A-Z]+(?![a-z])|[A-Z]/g, replacer);\n}\nfunction objectToQueryString(params) {\n var queryString = \"\";\n Object.keys(params).forEach(function (key) {\n if (queryString.length !== 0)\n queryString += \"&\";\n queryString += key + \"=\" + params[key];\n });\n return queryString;\n}\n/**\n * Parse the error message code received from the server during the script load.\n * This function search for the occurrence of this specific string \"/* Original Error:\".\n *\n * @param message the received error response from the server\n * @returns the content of the message if the string string was found.\n * The whole message otherwise\n */\nfunction parseErrorMessage(message) {\n var originalErrorText = message.split(\"/* Original Error:\")[1];\n return originalErrorText\n ? originalErrorText.replace(/\\n/g, \"\").replace(\"*/\", \"\").trim()\n : message;\n}\nfunction createScriptElement(url, attributes) {\n if (attributes === void 0) { attributes = {}; }\n var newScript = document.createElement(\"script\");\n newScript.src = url;\n Object.keys(attributes).forEach(function (key) {\n newScript.setAttribute(key, attributes[key]);\n if (key === \"data-csp-nonce\") {\n newScript.setAttribute(\"nonce\", attributes[\"data-csp-nonce\"]);\n }\n });\n return newScript;\n}\n\n/**\n * Load the Paypal JS SDK script asynchronously.\n *\n * @param {Object} options - used to configure query parameters and data attributes for the JS SDK.\n * @param {PromiseConstructor} [PromisePonyfill=window.Promise] - optional Promise Constructor ponyfill.\n * @return {Promise<Object>} paypalObject - reference to the global window PayPal object.\n */\nfunction loadScript(options, PromisePonyfill) {\n if (PromisePonyfill === void 0) { PromisePonyfill = Promise; }\n validateArguments(options, PromisePonyfill);\n // resolve with null when running in Node or Deno\n if (typeof document === \"undefined\")\n return PromisePonyfill.resolve(null);\n var _a = processOptions(options), url = _a.url, dataAttributes = _a.dataAttributes;\n var namespace = dataAttributes[\"data-namespace\"] || \"paypal\";\n var existingWindowNamespace = getPayPalWindowNamespace(namespace);\n // resolve with the existing global paypal namespace when a script with the same params already exists\n if (findScript(url, dataAttributes) && existingWindowNamespace) {\n return PromisePonyfill.resolve(existingWindowNamespace);\n }\n return loadCustomScript({\n url: url,\n attributes: dataAttributes,\n }, PromisePonyfill).then(function () {\n var newWindowNamespace = getPayPalWindowNamespace(namespace);\n if (newWindowNamespace) {\n return newWindowNamespace;\n }\n throw new Error(\"The window.\".concat(namespace, \" global variable is not available.\"));\n });\n}\n/**\n * Load a custom script asynchronously.\n *\n * @param {Object} options - used to set the script url and attributes.\n * @param {PromiseConstructor} [PromisePonyfill=window.Promise] - optional Promise Constructor ponyfill.\n * @return {Promise<void>} returns a promise to indicate if the script was successfully loaded.\n */\nfunction loadCustomScript(options, PromisePonyfill) {\n if (PromisePonyfill === void 0) { PromisePonyfill = Promise; }\n validateArguments(options, PromisePonyfill);\n var url = options.url, attributes = options.attributes;\n if (typeof url !== \"string\" || url.length === 0) {\n throw new Error(\"Invalid url.\");\n }\n if (typeof attributes !== \"undefined\" && typeof attributes !== \"object\") {\n throw new Error(\"Expected attributes to be an object.\");\n }\n return new PromisePonyfill(function (resolve, reject) {\n // resolve with undefined when running in Node or Deno\n if (typeof document === \"undefined\")\n return resolve();\n insertScriptElement({\n url: url,\n attributes: attributes,\n onSuccess: function () { return resolve(); },\n onError: function () {\n var defaultError = new Error(\"The script \\\"\".concat(url, \"\\\" failed to load.\"));\n if (!window.fetch) {\n return reject(defaultError);\n }\n // Fetch the error reason from the response body for validation errors\n return fetch(url)\n .then(function (response) {\n if (response.status === 200) {\n reject(defaultError);\n }\n return response.text();\n })\n .then(function (message) {\n var parseMessage = parseErrorMessage(message);\n reject(new Error(parseMessage));\n })\n .catch(function (err) {\n reject(err);\n });\n },\n });\n });\n}\nfunction getPayPalWindowNamespace(namespace) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return window[namespace];\n}\nfunction validateArguments(options, PromisePonyfill) {\n if (typeof options !== \"object\" || options === null) {\n throw new Error(\"Expected an options object.\");\n }\n if (typeof PromisePonyfill !== \"undefined\" &&\n typeof PromisePonyfill !== \"function\") {\n throw new Error(\"Expected PromisePonyfill to be a function.\");\n }\n}\n\n// replaced with the package.json version at build time\nvar version = \"6.0.1\";\n\nexport { loadCustomScript, loadScript, version };\n","/*!\n * paypal-js v6.0.1 (2023-07-19T21:00:13.568Z)\n * Copyright 2020-present, PayPal, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nfunction findScript(url, attributes) {\n var currentScript = document.querySelector(\"script[src=\\\"\".concat(url, \"\\\"]\"));\n if (currentScript === null)\n return null;\n var nextScript = createScriptElement(url, attributes);\n // ignore the data-uid-auto attribute that gets auto-assigned to every script tag\n var currentScriptClone = currentScript.cloneNode();\n delete currentScriptClone.dataset.uidAuto;\n // check if the new script has the same number of data attributes\n if (Object.keys(currentScriptClone.dataset).length !==\n Object.keys(nextScript.dataset).length) {\n return null;\n }\n var isExactMatch = true;\n // check if the data attribute values are the same\n Object.keys(currentScriptClone.dataset).forEach(function (key) {\n if (currentScriptClone.dataset[key] !== nextScript.dataset[key]) {\n isExactMatch = false;\n }\n });\n return isExactMatch ? currentScript : null;\n}\nfunction insertScriptElement(_a) {\n var url = _a.url, attributes = _a.attributes, onSuccess = _a.onSuccess, onError = _a.onError;\n var newScript = createScriptElement(url, attributes);\n newScript.onerror = onError;\n newScript.onload = onSuccess;\n document.head.insertBefore(newScript, document.head.firstElementChild);\n}\nfunction processOptions(options) {\n var sdkBaseUrl = \"https://www.paypal.com/sdk/js\";\n if (options.sdkBaseUrl) {\n sdkBaseUrl = options.sdkBaseUrl;\n delete options.sdkBaseUrl;\n }\n var optionsWithStringIndex = options;\n var _a = Object.keys(optionsWithStringIndex)\n .filter(function (key) {\n return (typeof optionsWithStringIndex[key] !== \"undefined\" &&\n optionsWithStringIndex[key] !== null &&\n optionsWithStringIndex[key] !== \"\");\n })\n .reduce(function (accumulator, key) {\n var value = optionsWithStringIndex[key].toString();\n key = camelCaseToKebabCase(key);\n if (key.substring(0, 4) === \"data\") {\n accumulator.dataAttributes[key] = value;\n }\n else {\n accumulator.queryParams[key] = value;\n }\n return accumulator;\n }, {\n queryParams: {},\n dataAttributes: {},\n }), queryParams = _a.queryParams, dataAttributes = _a.dataAttributes;\n if (queryParams[\"merchant-id\"] &&\n queryParams[\"merchant-id\"].indexOf(\",\") !== -1) {\n dataAttributes[\"data-merchant-id\"] = queryParams[\"merchant-id\"];\n queryParams[\"merchant-id\"] = \"*\";\n }\n return {\n url: \"\".concat(sdkBaseUrl, \"?\").concat(objectToQueryString(queryParams)),\n dataAttributes: dataAttributes,\n };\n}\nfunction camelCaseToKebabCase(str) {\n var replacer = function (match, indexOfMatch) {\n return (indexOfMatch ? \"-\" : \"\") + match.toLowerCase();\n };\n return str.replace(/[A-Z]+(?![a-z])|[A-Z]/g, replacer);\n}\nfunction objectToQueryString(params) {\n var queryString = \"\";\n Object.keys(params).forEach(function (key) {\n if (queryString.length !== 0)\n queryString += \"&\";\n queryString += key + \"=\" + params[key];\n });\n return queryString;\n}\n/**\n * Parse the error message code received from the server during the script load.\n * This function search for the occurrence of this specific string \"/* Original Error:\".\n *\n * @param message the received error response from the server\n * @returns the content of the message if the string string was found.\n * The whole message otherwise\n */\nfunction parseErrorMessage(message) {\n var originalErrorText = message.split(\"/* Original Error:\")[1];\n return originalErrorText\n ? originalErrorText.replace(/\\n/g, \"\").replace(\"*/\", \"\").trim()\n : message;\n}\nfunction createScriptElement(url, attributes) {\n if (attributes === void 0) { attributes = {}; }\n var newScript = document.createElement(\"script\");\n newScript.src = url;\n Object.keys(attributes).forEach(function (key) {\n newScript.setAttribute(key, attributes[key]);\n if (key === \"data-csp-nonce\") {\n newScript.setAttribute(\"nonce\", attributes[\"data-csp-nonce\"]);\n }\n });\n return newScript;\n}\n\n/**\n * Load the Paypal JS SDK script asynchronously.\n *\n * @param {Object} options - used to configure query parameters and data attributes for the JS SDK.\n * @param {PromiseConstructor} [PromisePonyfill=window.Promise] - optional Promise Constructor ponyfill.\n * @return {Promise<Object>} paypalObject - reference to the global window PayPal object.\n */\nfunction loadScript(options, PromisePonyfill) {\n if (PromisePonyfill === void 0) { PromisePonyfill = Promise; }\n validateArguments(options, PromisePonyfill);\n // resolve with null when running in Node or Deno\n if (typeof document === \"undefined\")\n return PromisePonyfill.resolve(null);\n var _a = processOptions(options), url = _a.url, dataAttributes = _a.dataAttributes;\n var namespace = dataAttributes[\"data-namespace\"] || \"paypal\";\n var existingWindowNamespace = getPayPalWindowNamespace(namespace);\n // resolve with the existing global paypal namespace when a script with the same params already exists\n if (findScript(url, dataAttributes) && existingWindowNamespace) {\n return PromisePonyfill.resolve(existingWindowNamespace);\n }\n return loadCustomScript({\n url: url,\n attributes: dataAttributes,\n }, PromisePonyfill).then(function () {\n var newWindowNamespace = getPayPalWindowNamespace(namespace);\n if (newWindowNamespace) {\n return newWindowNamespace;\n }\n throw new Error(\"The window.\".concat(namespace, \" global variable is not available.\"));\n });\n}\n/**\n * Load a custom script asynchronously.\n *\n * @param {Object} options - used to set the script url and attributes.\n * @param {PromiseConstructor} [PromisePonyfill=window.Promise] - optional Promise Constructor ponyfill.\n * @return {Promise<void>} returns a promise to indicate if the script was successfully loaded.\n */\nfunction loadCustomScript(options, PromisePonyfill) {\n if (PromisePonyfill === void 0) { PromisePonyfill = Promise; }\n validateArguments(options, PromisePonyfill);\n var url = options.url, attributes = options.attributes;\n if (typeof url !== \"string\" || url.length === 0) {\n throw new Error(\"Invalid url.\");\n }\n if (typeof attributes !== \"undefined\" && typeof attributes !== \"object\") {\n throw new Error(\"Expected attributes to be an object.\");\n }\n return new PromisePonyfill(function (resolve, reject) {\n // resolve with undefined when running in Node or Deno\n if (typeof document === \"undefined\")\n return resolve();\n insertScriptElement({\n url: url,\n attributes: attributes,\n onSuccess: function () { return resolve(); },\n onError: function () {\n var defaultError = new Error(\"The script \\\"\".concat(url, \"\\\" failed to load.\"));\n if (!window.fetch) {\n return reject(defaultError);\n }\n // Fetch the error reason from the response body for validation errors\n return fetch(url)\n .then(function (response) {\n if (response.status === 200) {\n reject(defaultError);\n }\n return response.text();\n })\n .then(function (message) {\n var parseMessage = parseErrorMessage(message);\n reject(new Error(parseMessage));\n })\n .catch(function (err) {\n reject(err);\n });\n },\n });\n });\n}\nfunction getPayPalWindowNamespace(namespace) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return window[namespace];\n}\nfunction validateArguments(options, PromisePonyfill) {\n if (typeof options !== \"object\" || options === null) {\n throw new Error(\"Expected an options object.\");\n }\n if (typeof PromisePonyfill !== \"undefined\" &&\n typeof PromisePonyfill !== \"function\") {\n throw new Error(\"Expected PromisePonyfill to be a function.\");\n }\n}\n\n// replaced with the package.json version at build time\nvar version = \"6.0.1\";\n\nexport { loadCustomScript, loadScript, version };\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","import { loadScript } from '@paypal/paypal-js';\n\nconst storageKey = 'ppcp-data-client-id';\n\nconst validateToken = ( token, user ) => {\n\tif ( ! token ) {\n\t\treturn false;\n\t}\n\tif ( token.user !== user ) {\n\t\treturn false;\n\t}\n\tconst currentTime = new Date().getTime();\n\tconst isExpired = currentTime >= token.expiration * 1000;\n\treturn ! isExpired;\n};\n\nconst storedTokenForUser = ( user ) => {\n\tconst token = JSON.parse( sessionStorage.getItem( storageKey ) );\n\tif ( validateToken( token, user ) ) {\n\t\treturn token.token;\n\t}\n\treturn null;\n};\n\nconst storeToken = ( token ) => {\n\tsessionStorage.setItem( storageKey, JSON.stringify( token ) );\n};\n\nconst dataClientIdAttributeHandler = (\n\tscriptOptions,\n\tconfig,\n\tcallback,\n\terrorCallback = null\n) => {\n\tfetch( config.endpoint, {\n\t\tmethod: 'POST',\n\t\theaders: {\n\t\t\t'Content-Type': 'application/json',\n\t\t},\n\t\tcredentials: 'same-origin',\n\t\tbody: JSON.stringify( {\n\t\t\tnonce: config.nonce,\n\t\t} ),\n\t} )\n\t\t.then( ( res ) => {\n\t\t\treturn res.json();\n\t\t} )\n\t\t.then( ( data ) => {\n\t\t\tconst isValid = validateToken( data, config.user );\n\t\t\tif ( ! isValid ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tstoreToken( data );\n\n\t\t\tscriptOptions[ 'data-client-token' ] = data.token;\n\n\t\t\tloadScript( scriptOptions )\n\t\t\t\t.then( ( paypal ) => {\n\t\t\t\t\tif ( typeof callback === 'function' ) {\n\t\t\t\t\t\tcallback( paypal );\n\t\t\t\t\t}\n\t\t\t\t} )\n\t\t\t\t.catch( ( err ) => {\n\t\t\t\t\tif ( typeof errorCallback === 'function' ) {\n\t\t\t\t\t\terrorCallback( err );\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t} );\n};\n\nexport default dataClientIdAttributeHandler;\n","/**\n * Handles the registration and rendering of PayPal widgets: Buttons and Messages.\n * To have several Buttons per wrapper, an array should be provided, ex: [wrapper, fundingSource].\n */\nclass WidgetBuilder {\n\tconstructor() {\n\t\tthis.paypal = null;\n\t\tthis.buttons = new Map();\n\t\tthis.messages = new Map();\n\n\t\tthis.renderEventName = 'ppcp-render';\n\n\t\tdocument.ppcpWidgetBuilderStatus = () => {\n\t\t\tconsole.log( {\n\t\t\t\tbuttons: this.buttons,\n\t\t\t\tmessages: this.messages,\n\t\t\t} );\n\t\t};\n\n\t\tjQuery( document )\n\t\t\t.off( this.renderEventName )\n\t\t\t.on( this.renderEventName, () => {\n\t\t\t\tthis.renderAll();\n\t\t\t} );\n\t}\n\n\tsetPaypal( paypal ) {\n\t\tthis.paypal = paypal;\n\t\tjQuery( document ).trigger( 'ppcp-paypal-loaded', paypal );\n\t}\n\n\tregisterButtons( wrapper, options ) {\n\t\twrapper = this.sanitizeWrapper( wrapper );\n\n\t\tthis.buttons.set( this.toKey( wrapper ), {\n\t\t\twrapper,\n\t\t\toptions,\n\t\t} );\n\t}\n\n\trenderButtons( wrapper ) {\n\t\twrapper = this.sanitizeWrapper( wrapper );\n\n\t\tif ( ! this.buttons.has( this.toKey( wrapper ) ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( this.hasRendered( wrapper ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst entry = this.buttons.get( this.toKey( wrapper ) );\n\t\tconst btn = this.paypal.Buttons( entry.options );\n\n\t\tif ( ! btn.isEligible() ) {\n\t\t\tthis.buttons.delete( this.toKey( wrapper ) );\n\t\t\treturn;\n\t\t}\n\n\t\tconst target = this.buildWrapperTarget( wrapper );\n\n\t\tif ( ! target ) {\n\t\t\treturn;\n\t\t}\n\n\t\tbtn.render( target );\n\t}\n\n\trenderAllButtons() {\n\t\tfor ( const [ wrapper, entry ] of this.buttons ) {\n\t\t\tthis.renderButtons( wrapper );\n\t\t}\n\t}\n\n\tregisterMessages( wrapper, options ) {\n\t\tthis.messages.set( wrapper, {\n\t\t\twrapper,\n\t\t\toptions,\n\t\t} );\n\t}\n\n\trenderMessages( wrapper ) {\n\t\tif ( ! this.messages.has( wrapper ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst entry = this.messages.get( wrapper );\n\n\t\tif ( this.hasRendered( wrapper ) ) {\n\t\t\tconst element = document.querySelector( wrapper );\n\t\t\telement.setAttribute( 'data-pp-amount', entry.options.amount );\n\t\t\treturn;\n\t\t}\n\n\t\tconst btn = this.paypal.Messages( entry.options );\n\n\t\tbtn.render( entry.wrapper );\n\n\t\t// watchdog to try to handle some strange cases where the wrapper may not be present\n\t\tsetTimeout( () => {\n\t\t\tif ( ! this.hasRendered( wrapper ) ) {\n\t\t\t\tbtn.render( entry.wrapper );\n\t\t\t}\n\t\t}, 100 );\n\t}\n\n\trenderAllMessages() {\n\t\tfor ( const [ wrapper, entry ] of this.messages ) {\n\t\t\tthis.renderMessages( wrapper );\n\t\t}\n\t}\n\n\trenderAll() {\n\t\tthis.renderAllButtons();\n\t\tthis.renderAllMessages();\n\t}\n\n\thasRendered( wrapper ) {\n\t\tlet selector = wrapper;\n\n\t\tif ( Array.isArray( wrapper ) ) {\n\t\t\tselector = wrapper[ 0 ];\n\t\t\tfor ( const item of wrapper.slice( 1 ) ) {\n\t\t\t\tselector += ' .item-' + item;\n\t\t\t}\n\t\t}\n\n\t\tconst element = document.querySelector( selector );\n\t\treturn element && element.hasChildNodes();\n\t}\n\n\tsanitizeWrapper( wrapper ) {\n\t\tif ( Array.isArray( wrapper ) ) {\n\t\t\twrapper = wrapper.filter( ( item ) => !! item );\n\t\t\tif ( wrapper.length === 1 ) {\n\t\t\t\twrapper = wrapper[ 0 ];\n\t\t\t}\n\t\t}\n\t\treturn wrapper;\n\t}\n\n\tbuildWrapperTarget( wrapper ) {\n\t\tlet target = wrapper;\n\n\t\tif ( Array.isArray( wrapper ) ) {\n\t\t\tconst $wrapper = jQuery( wrapper[ 0 ] );\n\n\t\t\tif ( ! $wrapper.length ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst itemClass = 'item-' + wrapper[ 1 ];\n\n\t\t\t// Check if the parent element exists and it doesn't already have the div with the class\n\t\t\tlet $item = $wrapper.find( '.' + itemClass );\n\n\t\t\tif ( ! $item.length ) {\n\t\t\t\t$item = jQuery( `<div class=\"${ itemClass }\"></div>` );\n\t\t\t\t$wrapper.append( $item );\n\t\t\t}\n\n\t\t\ttarget = $item.get( 0 );\n\t\t}\n\n\t\tif ( ! jQuery( target ).length ) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn target;\n\t}\n\n\ttoKey( wrapper ) {\n\t\tif ( Array.isArray( wrapper ) ) {\n\t\t\treturn JSON.stringify( wrapper );\n\t\t}\n\t\treturn wrapper;\n\t}\n}\n\nwindow.widgetBuilder = window.widgetBuilder || new WidgetBuilder();\nexport default window.widgetBuilder;\n","const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default { randomUUID };\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aXZlLWJyb3dzZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvbmF0aXZlLWJyb3dzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxVQUFVLEdBQ2QsT0FBTyxNQUFNLEtBQUssV0FBVyxJQUFJLE1BQU0sQ0FBQyxVQUFVLElBQUksTUFBTSxDQUFDLFVBQVUsQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUM7QUFFdkYsZUFBZSxFQUFFLFVBQVUsRUFBRSxDQUFDIn0=","let getRandomValues;\nconst rnds8 = new Uint8Array(16);\nexport default function rng() {\n if (!getRandomValues) {\n if (typeof crypto === 'undefined' || !crypto.getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n getRandomValues = crypto.getRandomValues.bind(crypto);\n }\n return getRandomValues(rnds8);\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm5nLWJyb3dzZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvcm5nLWJyb3dzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsSUFBSSxlQUEwRCxDQUFDO0FBRS9ELE1BQU0sS0FBSyxHQUFHLElBQUksVUFBVSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0FBRWpDLE1BQU0sQ0FBQyxPQUFPLFVBQVUsR0FBRztJQUV6QixJQUFJLENBQUMsZUFBZSxFQUFFLENBQUM7UUFDckIsSUFBSSxPQUFPLE1BQU0sS0FBSyxXQUFXLElBQUksQ0FBQyxNQUFNLENBQUMsZUFBZSxFQUFFLENBQUM7WUFDN0QsTUFBTSxJQUFJLEtBQUssQ0FDYiwwR0FBMEcsQ0FDM0csQ0FBQztRQUNKLENBQUM7UUFFRCxlQUFlLEdBQUcsTUFBTSxDQUFDLGVBQWUsQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUM7SUFDeEQsQ0FBQztJQUVELE9BQU8sZUFBZSxDQUFDLEtBQUssQ0FBQyxDQUFDO0FBQ2hDLENBQUMifQ==","import validate from './validate.js';\nconst byteToHex = [];\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\nexport function unsafeStringify(arr, offset = 0) {\n return (byteToHex[arr[offset + 0]] +\n byteToHex[arr[offset + 1]] +\n byteToHex[arr[offset + 2]] +\n byteToHex[arr[offset + 3]] +\n '-' +\n byteToHex[arr[offset + 4]] +\n byteToHex[arr[offset + 5]] +\n '-' +\n byteToHex[arr[offset + 6]] +\n byteToHex[arr[offset + 7]] +\n '-' +\n byteToHex[arr[offset + 8]] +\n byteToHex[arr[offset + 9]] +\n '-' +\n byteToHex[arr[offset + 10]] +\n byteToHex[arr[offset + 11]] +\n byteToHex[arr[offset + 12]] +\n byteToHex[arr[offset + 13]] +\n byteToHex[arr[offset + 14]] +\n byteToHex[arr[offset + 15]]).toLowerCase();\n}\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset);\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n return uuid;\n}\nexport default stringify;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RyaW5naWZ5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3N0cmluZ2lmeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjo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UFHLENBQUMsTUFBTSxHQUFHLENBQUMsQ0FBQyxDQUFDO1FBQzFCLFNBQVMsQ0FBQyxHQUFHLENBQUMsTUFBTSxHQUFHLENBQUMsQ0FBQyxDQUFDO1FBQzFCLEdBQUc7UUFDSCxTQUFTLENBQUMsR0FBRyxDQUFDLE1BQU0sR0FBRyxFQUFFLENBQUMsQ0FBQztRQUMzQixTQUFTLENBQUMsR0FBRyxDQUFDLE1BQU0sR0FBRyxFQUFFLENBQUMsQ0FBQztRQUMzQixTQUFTLENBQUMsR0FBRyxDQUFDLE1BQU0sR0FBRyxFQUFFLENBQUMsQ0FBQztRQUMzQixTQUFTLENBQUMsR0FBRyxDQUFDLE1BQU0sR0FBRyxFQUFFLENBQUMsQ0FBQztRQUMzQixTQUFTLENBQUMsR0FBRyxDQUFDLE1BQU0sR0FBRyxFQUFFLENBQUMsQ0FBQztRQUMzQixTQUFTLENBQUMsR0FBRyxDQUFDLE1BQU0sR0FBRyxFQUFFLENBQUMsQ0FBQyxDQUM1QixDQUFDLFdBQVcsRUFBRSxDQUFDO0FBQ2xCLENBQUM7QUFFRCxTQUFTLFNBQVMsQ0FBQyxHQUFlLEVBQUUsTUFBTSxHQUFHLENBQUM7SUFDNUMsTUFBTSxJQUFJLEdBQUcsZUFBZSxDQUFDLEdBQUcsRUFBRSxNQUFNLENBQUMsQ0FBQztJQU8xQyxJQUFJLENBQUMsUUFBUSxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUM7UUFDcEIsTUFBTSxTQUFTLENBQUMsNkJBQTZCLENBQUMsQ0FBQztJQUNqRCxDQUFDO0lBRUQsT0FBTyxJQUFJLENBQUM7QUFDZCxDQUFDO0FBRUQsZUFBZSxTQUFTLENBQUMifQ==","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n options = options || {};\n const rnds = options.random || (options.rng || rng)();\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n if (buf) {\n offset = offset || 0;\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n return buf;\n }\n return unsafeStringify(rnds);\n}\nexport default v4;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidjQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdjQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxNQUFNLE1BQU0sYUFBYSxDQUFDO0FBQ2pDLE9BQU8sR0FBRyxNQUFNLFVBQVUsQ0FBQztBQUMzQixPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFJakQsU0FBUyxFQUFFLENBQUMsT0FBeUIsRUFBRSxHQUFnQixFQUFFLE1BQWU7SUFDdEUsSUFBSSxNQUFNLENBQUMsVUFBVSxJQUFJLENBQUMsR0FBRyxJQUFJLENBQUMsT0FBTyxFQUFFLENBQUM7UUFDMUMsT0FBTyxNQUFNLENBQUMsVUFBVSxFQUFFLENBQUM7SUFDN0IsQ0FBQztJQUVELE9BQU8sR0FBRyxPQUFPLElBQUksRUFBRSxDQUFDO0lBRXhCLE1BQU0sSUFBSSxHQUFHLE9BQU8sQ0FBQyxNQUFNLElBQUksQ0FBQyxPQUFPLENBQUMsR0FBRyxJQUFJLEdBQUcsQ0FBQyxFQUFFLENBQUM7SUFHdEQsSUFBSSxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxHQUFHLElBQUksQ0FBQyxHQUFHLElBQUksQ0FBQztJQUNsQyxJQUFJLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLEdBQUcsSUFBSSxDQUFDLEdBQUcsSUFBSSxDQUFDO0lBR2xDLElBQUksR0FBRyxFQUFFLENBQUM7UUFDUixNQUFNLEdBQUcsTUFBTSxJQUFJLENBQUMsQ0FBQztRQUVyQixLQUFLLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsRUFBRSxFQUFFLEVBQUUsQ0FBQyxFQUFFLENBQUM7WUFDNUIsR0FBRyxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUMsR0FBRyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUM7UUFDNUIsQ0FBQztRQUVELE9BQU8sR0FBRyxDQUFDO0lBQ2IsQ0FBQztJQUVELE9BQU8sZUFBZSxDQUFDLElBQUksQ0FBQyxDQUFDO0FBQy9CLENBQUM7QUFFRCxlQUFlLEVBQUUsQ0FBQyJ9","import merge from 'deepmerge';\nimport { v4 as uuidv4 } from 'uuid';\nimport { keysToCamelCase } from './Utils';\n\nconst processAxoConfig = ( config ) => {\n\tconst scriptOptions = {};\n\tconst sdkClientToken = config?.axo?.sdk_client_token;\n\tconst uuid = uuidv4().replace( /-/g, '' );\n\tif ( sdkClientToken ) {\n\t\tscriptOptions[ 'data-sdk-client-token' ] = sdkClientToken;\n\t\tscriptOptions[ 'data-client-metadata-id' ] = uuid;\n\t}\n\treturn scriptOptions;\n};\n\nconst processUserIdToken = ( config, sdkClientToken ) => {\n\tconst userIdToken = config?.save_payment_methods?.id_token;\n\treturn userIdToken && ! sdkClientToken\n\t\t? { 'data-user-id-token': userIdToken }\n\t\t: {};\n};\n\nexport const processConfig = ( config ) => {\n\tlet scriptOptions = keysToCamelCase( config.url_params );\n\tif ( config.script_attributes ) {\n\t\tscriptOptions = merge( scriptOptions, config.script_attributes );\n\t}\n\tconst axoOptions = processAxoConfig( config );\n\tconst userIdTokenOptions = processUserIdToken(\n\t\tconfig,\n\t\taxoOptions[ 'data-sdk-client-token' ]\n\t);\n\treturn merge.all( [ scriptOptions, axoOptions, userIdTokenOptions ] );\n};\n","export const toCamelCase = ( str ) => {\n\treturn str.replace( /([-_]\\w)/g, function ( match ) {\n\t\treturn match[ 1 ].toUpperCase();\n\t} );\n};\n\nexport const keysToCamelCase = ( obj ) => {\n\tconst output = {};\n\tfor ( const key in obj ) {\n\t\tif ( Object.prototype.hasOwnProperty.call( obj, key ) ) {\n\t\t\toutput[ toCamelCase( key ) ] = obj[ key ];\n\t\t}\n\t}\n\treturn output;\n};\n\nexport const strAddWord = ( str, word, separator = ',' ) => {\n\tconst arr = str.split( separator );\n\tif ( ! arr.includes( word ) ) {\n\t\tarr.push( word );\n\t}\n\treturn arr.join( separator );\n};\n\nexport const strRemoveWord = ( str, word, separator = ',' ) => {\n\tconst arr = str.split( separator );\n\tconst index = arr.indexOf( word );\n\tif ( index !== -1 ) {\n\t\tarr.splice( index, 1 );\n\t}\n\treturn arr.join( separator );\n};\n\nexport const throttle = ( func, limit ) => {\n\tlet inThrottle, lastArgs, lastContext;\n\n\tfunction execute() {\n\t\tinThrottle = true;\n\t\tfunc.apply( this, arguments );\n\t\tsetTimeout( () => {\n\t\t\tinThrottle = false;\n\t\t\tif ( lastArgs ) {\n\t\t\t\tconst nextArgs = lastArgs;\n\t\t\t\tconst nextContext = lastContext;\n\t\t\t\tlastArgs = lastContext = null;\n\t\t\t\texecute.apply( nextContext, nextArgs );\n\t\t\t}\n\t\t}, limit );\n\t}\n\n\treturn function () {\n\t\tif ( ! inThrottle ) {\n\t\t\texecute.apply( this, arguments );\n\t\t} else {\n\t\t\tlastArgs = arguments;\n\t\t\tlastContext = this;\n\t\t}\n\t};\n};\n\nconst Utils = {\n\ttoCamelCase,\n\tkeysToCamelCase,\n\tstrAddWord,\n\tstrRemoveWord,\n\tthrottle,\n};\n\nexport default Utils;\n","import { loadScript } from '@paypal/paypal-js';\nimport dataClientIdAttributeHandler from '../DataClientIdAttributeHandler';\nimport widgetBuilder from '../Renderer/WidgetBuilder';\nimport { processConfig } from './ConfigProcessor';\n\nconst loadedScripts = new Map();\nconst scriptPromises = new Map();\n\nconst handleDataClientIdAttribute = async ( scriptOptions, config ) => {\n\tif (\n\t\tconfig.data_client_id?.set_attribute &&\n\t\tconfig.vault_v3_enabled !== '1'\n\t) {\n\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\tdataClientIdAttributeHandler(\n\t\t\t\tscriptOptions,\n\t\t\t\tconfig.data_client_id,\n\t\t\t\t( paypal ) => {\n\t\t\t\t\twidgetBuilder.setPaypal( paypal );\n\t\t\t\t\tresolve( paypal );\n\t\t\t\t},\n\t\t\t\treject\n\t\t\t);\n\t\t} );\n\t}\n\treturn null;\n};\n\nexport const loadPayPalScript = async ( namespace, config ) => {\n\tif ( ! namespace ) {\n\t\tthrow new Error( 'Namespace is required' );\n\t}\n\n\tif ( loadedScripts.has( namespace ) ) {\n\t\tconsole.log( `Script already loaded for namespace: ${ namespace }` );\n\t\treturn loadedScripts.get( namespace );\n\t}\n\n\tif ( scriptPromises.has( namespace ) ) {\n\t\tconsole.log(\n\t\t\t`Script loading in progress for namespace: ${ namespace }`\n\t\t);\n\t\treturn scriptPromises.get( namespace );\n\t}\n\n\tconst scriptOptions = {\n\t\t...processConfig( config ),\n\t\t'data-namespace': namespace,\n\t};\n\n\tconst dataClientIdResult = await handleDataClientIdAttribute(\n\t\tscriptOptions,\n\t\tconfig\n\t);\n\tif ( dataClientIdResult ) {\n\t\treturn dataClientIdResult;\n\t}\n\n\tconst scriptPromise = new Promise( ( resolve, reject ) => {\n\t\tloadScript( scriptOptions )\n\t\t\t.then( ( script ) => {\n\t\t\t\twidgetBuilder.setPaypal( script );\n\t\t\t\tloadedScripts.set( namespace, script );\n\t\t\t\tconsole.log( `Script loaded for namespace: ${ namespace }` );\n\t\t\t\tresolve( script );\n\t\t\t} )\n\t\t\t.catch( ( error ) => {\n\t\t\t\tconsole.error(\n\t\t\t\t\t`Failed to load script for namespace: ${ namespace }`,\n\t\t\t\t\terror\n\t\t\t\t);\n\t\t\t\treject( error );\n\t\t\t} )\n\t\t\t.finally( () => {\n\t\t\t\tscriptPromises.delete( namespace );\n\t\t\t} );\n\t} );\n\n\tscriptPromises.set( namespace, scriptPromise );\n\treturn scriptPromise;\n};\n\nexport const loadAndRenderPayPalScript = async (\n\tnamespace,\n\toptions,\n\trenderFunction,\n\trenderTarget\n) => {\n\tif ( ! namespace ) {\n\t\tthrow new Error( 'Namespace is required' );\n\t}\n\n\tconst scriptOptions = {\n\t\t...options,\n\t\t'data-namespace': namespace,\n\t};\n\n\tconst script = await loadScript( scriptOptions );\n\twidgetBuilder.setPaypal( script );\n\tawait renderFunction( script, renderTarget );\n};\n","class ButtonModuleWatcher {\n\tconstructor() {\n\t\tthis.contextBootstrapRegistry = {};\n\t\tthis.contextBootstrapWatchers = [];\n\t}\n\n\twatchContextBootstrap( callable ) {\n\t\tthis.contextBootstrapWatchers.push( callable );\n\t\tObject.values( this.contextBootstrapRegistry ).forEach( callable );\n\t}\n\n\tregisterContextBootstrap( context, handler ) {\n\t\tthis.contextBootstrapRegistry[ context ] = {\n\t\t\tcontext,\n\t\t\thandler,\n\t\t};\n\n\t\t// Call registered watchers\n\t\tfor ( const callable of this.contextBootstrapWatchers ) {\n\t\t\tcallable( this.contextBootstrapRegistry[ context ] );\n\t\t}\n\t}\n}\n\nwindow.ppcpResources = window.ppcpResources || {};\nconst buttonModuleWatcher = ( window.ppcpResources.ButtonModuleWatcher =\n\twindow.ppcpResources.ButtonModuleWatcher || new ButtonModuleWatcher() );\n\nexport default buttonModuleWatcher;\n","export function createAppleErrors( errors ) {\n\tconst errorList = [];\n\tfor ( const error of errors ) {\n\t\tconst { contactField = null, code = null, message = null } = error;\n\t\tconst appleError = contactField\n\t\t\t? new ApplePayError( code, contactField, message )\n\t\t\t: new ApplePayError( code );\n\t\terrorList.push( appleError );\n\t}\n\n\treturn errorList;\n}\n","export default class FormValidator {\n\tconstructor( url, nonce ) {\n\t\tthis.url = url;\n\t\tthis.nonce = nonce;\n\t}\n\n\tasync validate( form ) {\n\t\tconst formData = new FormData( form );\n\n\t\tconst res = await fetch( this.url, {\n\t\t\tmethod: 'POST',\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/json',\n\t\t\t},\n\t\t\tcredentials: 'same-origin',\n\t\t\tbody: JSON.stringify( {\n\t\t\t\tnonce: this.nonce,\n\t\t\t\tform_encoded: new URLSearchParams( formData ).toString(),\n\t\t\t} ),\n\t\t} );\n\n\t\tconst data = await res.json();\n\n\t\tif ( ! data.success ) {\n\t\t\tif ( data.data.refresh ) {\n\t\t\t\tjQuery( document.body ).trigger( 'update_checkout' );\n\t\t\t}\n\n\t\t\tif ( data.data.errors ) {\n\t\t\t\treturn data.data.errors;\n\t\t\t}\n\t\t\tthrow Error( data.data.message );\n\t\t}\n\n\t\treturn [];\n\t}\n}\n","class ErrorHandler {\n\t/**\n\t * @param {string} genericErrorText\n\t * @param {Element} wrapper\n\t */\n\tconstructor( genericErrorText, wrapper ) {\n\t\tthis.genericErrorText = genericErrorText;\n\t\tthis.wrapper = wrapper;\n\t}\n\n\tgenericError() {\n\t\tthis.clear();\n\t\tthis.message( this.genericErrorText );\n\t}\n\n\tappendPreparedErrorMessageElement( errorMessageElement ) {\n\t\tthis._getMessageContainer().replaceWith( errorMessageElement );\n\t}\n\n\t/**\n\t * @param {string} text\n\t */\n\tmessage( text ) {\n\t\tthis._addMessage( text );\n\n\t\tthis._scrollToMessages();\n\t}\n\n\t/**\n\t * @param {Array} texts\n\t */\n\tmessages( texts ) {\n\t\ttexts.forEach( ( t ) => this._addMessage( t ) );\n\n\t\tthis._scrollToMessages();\n\t}\n\n\t/**\n\t * @return {string}\n\t */\n\tcurrentHtml() {\n\t\tconst messageContainer = this._getMessageContainer();\n\t\treturn messageContainer.outerHTML;\n\t}\n\n\t/**\n\t * @private\n\t * @param {string} text\n\t */\n\t_addMessage( text ) {\n\t\tif ( ! typeof String || text.length === 0 ) {\n\t\t\tthrow new Error( 'A new message text must be a non-empty string.' );\n\t\t}\n\n\t\tconst messageContainer = this._getMessageContainer();\n\n\t\tconst messageNode = this._prepareMessageElement( text );\n\t\tmessageContainer.appendChild( messageNode );\n\t}\n\n\t/**\n\t * @private\n\t */\n\t_scrollToMessages() {\n\t\tjQuery.scroll_to_notices( jQuery( '.woocommerce-error' ) );\n\t}\n\n\t/**\n\t * @private\n\t */\n\t_getMessageContainer() {\n\t\tlet messageContainer = document.querySelector( 'ul.woocommerce-error' );\n\t\tif ( messageContainer === null ) {\n\t\t\tmessageContainer = document.createElement( 'ul' );\n\t\t\tmessageContainer.setAttribute( 'class', 'woocommerce-error' );\n\t\t\tmessageContainer.setAttribute( 'role', 'alert' );\n\t\t\tjQuery( this.wrapper ).prepend( messageContainer );\n\t\t}\n\t\treturn messageContainer;\n\t}\n\n\t/**\n\t * @param message\n\t * @private\n\t */\n\t_prepareMessageElement( message ) {\n\t\tconst li = document.createElement( 'li' );\n\t\tli.innerHTML = message;\n\n\t\treturn li;\n\t}\n\n\tclear() {\n\t\tjQuery( '.woocommerce-error, .woocommerce-message' ).remove();\n\t}\n}\n\nexport default ErrorHandler;\n","/**\n * Helper component to log debug details to the browser console.\n *\n * A utility class that is used by payment buttons on the front-end, like the GooglePayButton.\n */\nexport default class ConsoleLogger {\n\t/**\n\t * The prefix to display before every log output.\n\t *\n\t * @type {string}\n\t */\n\t#prefix = '';\n\n\t/**\n\t * Whether logging is enabled, disabled by default.\n\t *\n\t * @type {boolean}\n\t */\n\t#enabled = false;\n\n\t/**\n\t * Tracks the current log-group that was started using `this.group()`\n\t *\n\t * @type {?string}\n\t */\n\t#openGroup = null;\n\n\tconstructor( ...prefixes ) {\n\t\tif ( prefixes.length ) {\n\t\t\tthis.#prefix = `[${ prefixes.join( ' | ' ) }]`;\n\t\t}\n\t}\n\n\t/**\n\t * Enable or disable logging. Only impacts `log()` output.\n\t *\n\t * @param {boolean} state True to enable log output.\n\t */\n\tset enabled( state ) {\n\t\tthis.#enabled = state;\n\t}\n\n\t/**\n\t * Output log-level details to the browser console, if logging is enabled.\n\t *\n\t * @param {...any} args - All provided values are output to the browser console.\n\t */\n\tlog( ...args ) {\n\t\tif ( this.#enabled ) {\n\t\t\t// eslint-disable-next-line\n\t\t\tconsole.log( this.#prefix, ...args );\n\t\t}\n\t}\n\n\t/**\n\t * Generate an error message in the browser's console.\n\t *\n\t * Error messages are always output, even when logging is disabled.\n\t *\n\t * @param {...any} args - All provided values are output to the browser console.\n\t */\n\terror( ...args ) {\n\t\tconsole.error( this.#prefix, ...args );\n\t}\n\n\t/**\n\t * Starts or ends a group in the browser console.\n\t *\n\t * @param {string} [label=null] - The group label. Omit to end the current group.\n\t */\n\tgroup( label = null ) {\n\t\tif ( ! this.#enabled ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( ! label || this.#openGroup ) {\n\t\t\t// eslint-disable-next-line\n console.groupEnd();\n\t\t\tthis.#openGroup = null;\n\t\t}\n\n\t\tif ( label ) {\n\t\t\t// eslint-disable-next-line\n console.group( label );\n\n\t\t\tthis.#openGroup = label;\n\t\t}\n\t}\n}\n","export const apmButtonsInit = ( config, selector = '.ppcp-button-apm' ) => {\n\tlet selectorInContainer = selector;\n\n\tif ( window.ppcpApmButtons ) {\n\t\treturn;\n\t}\n\n\tif ( config && config.button ) {\n\t\t// If it's separate gateways, modify wrapper to account for the individual buttons as individual APMs.\n\t\tconst wrapper = config.button.wrapper;\n\t\tconst isSeparateGateways =\n\t\t\tjQuery( wrapper ).children( 'div[class^=\"item-\"]' ).length > 0;\n\n\t\tif ( isSeparateGateways ) {\n\t\t\tselector += `, ${ wrapper } div[class^=\"item-\"]`;\n\t\t\tselectorInContainer += `, div[class^=\"item-\"]`;\n\t\t}\n\t}\n\n\twindow.ppcpApmButtons = new ApmButtons( selector, selectorInContainer );\n};\n\nexport class ApmButtons {\n\tconstructor( selector, selectorInContainer ) {\n\t\tthis.selector = selector;\n\t\tthis.selectorInContainer = selectorInContainer;\n\t\tthis.containers = [];\n\n\t\t// Reloads button containers.\n\t\tthis.reloadContainers();\n\n\t\t// Refresh button layout.\n\t\tjQuery( window )\n\t\t\t.resize( () => {\n\t\t\t\tthis.refresh();\n\t\t\t} )\n\t\t\t.resize();\n\n\t\tjQuery( document ).on( 'ppcp-smart-buttons-init', () => {\n\t\t\tthis.refresh();\n\t\t} );\n\n\t\tjQuery( document ).on(\n\t\t\t'ppcp-shown ppcp-hidden ppcp-enabled ppcp-disabled',\n\t\t\t( ev, data ) => {\n\t\t\t\tthis.refresh();\n\t\t\t\tsetTimeout( this.refresh.bind( this ), 200 );\n\t\t\t}\n\t\t);\n\n\t\t// Observes for new buttons.\n\t\tnew MutationObserver(\n\t\t\tthis.observeElementsCallback.bind( this )\n\t\t).observe( document.body, { childList: true, subtree: true } );\n\t}\n\n\tobserveElementsCallback( mutationsList, observer ) {\n\t\tconst observeSelector =\n\t\t\tthis.selector +\n\t\t\t', .widget_shopping_cart, .widget_shopping_cart_content';\n\n\t\tlet shouldReload = false;\n\t\tfor ( const mutation of mutationsList ) {\n\t\t\tif ( mutation.type === 'childList' ) {\n\t\t\t\tmutation.addedNodes.forEach( ( node ) => {\n\t\t\t\t\tif ( node.matches && node.matches( observeSelector ) ) {\n\t\t\t\t\t\tshouldReload = true;\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t}\n\t\t}\n\n\t\tif ( shouldReload ) {\n\t\t\tthis.reloadContainers();\n\t\t\tthis.refresh();\n\t\t}\n\t}\n\n\treloadContainers() {\n\t\tjQuery( this.selector ).each( ( index, el ) => {\n\t\t\tconst parent = jQuery( el ).parent();\n\t\t\tif ( ! this.containers.some( ( $el ) => $el.is( parent ) ) ) {\n\t\t\t\tthis.containers.push( parent );\n\t\t\t}\n\t\t} );\n\t}\n\n\trefresh() {\n\t\tfor ( const container of this.containers ) {\n\t\t\tconst $container = jQuery( container );\n\n\t\t\t// Check width and add classes\n\t\t\tconst width = $container.width();\n\n\t\t\t$container.removeClass(\n\t\t\t\t'ppcp-width-500 ppcp-width-300 ppcp-width-min'\n\t\t\t);\n\n\t\t\tif ( width >= 500 ) {\n\t\t\t\t$container.addClass( 'ppcp-width-500' );\n\t\t\t} else if ( width >= 300 ) {\n\t\t\t\t$container.addClass( 'ppcp-width-300' );\n\t\t\t} else {\n\t\t\t\t$container.addClass( 'ppcp-width-min' );\n\t\t\t}\n\n\t\t\t// Check first apm button\n\t\t\tconst $firstElement = $container.children( ':visible' ).first();\n\n\t\t\t// Assign margins to buttons\n\t\t\t$container.find( this.selectorInContainer ).each( ( index, el ) => {\n\t\t\t\tconst $el = jQuery( el );\n\n\t\t\t\tif ( $el.is( $firstElement ) ) {\n\t\t\t\t\t$el.css( 'margin-top', `0px` );\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tconst minMargin = 11; // Minimum margin.\n\t\t\t\tconst height = $el.height();\n\t\t\t\tconst margin = Math.max(\n\t\t\t\t\tminMargin,\n\t\t\t\t\tMath.round( height * 0.3 )\n\t\t\t\t);\n\t\t\t\t$el.css( 'margin-top', `${ margin }px` );\n\t\t\t} );\n\t\t}\n\t}\n}\n","export const PaymentMethods = {\n\tPAYPAL: 'ppcp-gateway',\n\tCARDS: 'ppcp-credit-card-gateway',\n\tOXXO: 'ppcp-oxxo-gateway',\n\tCARD_BUTTON: 'ppcp-card-button-gateway',\n\tGOOGLEPAY: 'ppcp-googlepay',\n\tAPPLEPAY: 'ppcp-applepay',\n};\n\n/**\n * List of valid context values that the button can have.\n *\n * The \"context\" describes the placement or page where a payment button might be displayed.\n *\n * @type {Object}\n */\nexport const PaymentContext = {\n\tCart: 'cart', // Classic cart.\n\tCheckout: 'checkout', // Classic checkout.\n\tBlockCart: 'cart-block', // Block cart.\n\tBlockCheckout: 'checkout-block', // Block checkout.\n\tProduct: 'product', // Single product page.\n\tMiniCart: 'mini-cart', // Mini cart available on all pages except checkout & cart.\n\tPayNow: 'pay-now', // Pay for order, via admin generated link.\n\tPreview: 'preview', // Layout preview on settings page.\n\n\t// Contexts that use blocks to render payment methods.\n\tBlocks: [ 'cart-block', 'checkout-block' ],\n\n\t// Contexts that display \"classic\" payment gateways.\n\tGateways: [ 'checkout', 'pay-now' ],\n};\n\nexport const ORDER_BUTTON_SELECTOR = '#place_order';\n\nexport const getCurrentPaymentMethod = () => {\n\tconst el = document.querySelector( 'input[name=\"payment_method\"]:checked' );\n\tif ( ! el ) {\n\t\treturn null;\n\t}\n\n\treturn el.value;\n};\n\nexport const isSavedCardSelected = () => {\n\tconst savedCardList = document.querySelector( '#saved-credit-card' );\n\treturn savedCardList && savedCardList.value !== '';\n};\n","/**\n * Helper function used by PaymentButton instances.\n *\n * @file\n */\n\n/**\n * Collection of recognized event names for payment button events.\n *\n * @type {Object}\n */\nexport const ButtonEvents = Object.freeze( {\n\tINVALIDATE: 'ppcp_invalidate_methods',\n\tRENDER: 'ppcp_render_method',\n\tREDRAW: 'ppcp_redraw_method',\n} );\n\n/**\n *\n * @param {string} defaultId - Default wrapper ID.\n * @param {string} miniCartId - Wrapper inside the mini-cart.\n * @param {string} smartButtonId - ID of the smart button wrapper.\n * @param {string} blockId - Block wrapper ID (express checkout, block cart).\n * @param {string} gatewayId - Gateway wrapper ID (classic checkout).\n * @return {{MiniCart, Gateway, Block, SmartButton, Default}} List of all wrapper IDs, by context.\n */\nexport function combineWrapperIds(\n\tdefaultId = '',\n\tminiCartId = '',\n\tsmartButtonId = '',\n\tblockId = '',\n\tgatewayId = ''\n) {\n\tconst sanitize = ( id ) => id.replace( /^#/, '' );\n\n\treturn {\n\t\tDefault: sanitize( defaultId ),\n\t\tSmartButton: sanitize( smartButtonId ),\n\t\tBlock: sanitize( blockId ),\n\t\tGateway: sanitize( gatewayId ),\n\t\tMiniCart: sanitize( miniCartId ),\n\t};\n}\n\n/**\n * Returns full payment button styles by combining the global ppcpConfig with\n * payment-method-specific styling provided via buttonConfig.\n *\n * @param {Object} ppcpConfig - Global plugin configuration.\n * @param {Object} buttonConfig - Payment method specific configuration.\n * @return {{MiniCart: (*), Default: (*)}} Combined styles, separated by context.\n */\nexport function combineStyles( ppcpConfig, buttonConfig ) {\n\treturn {\n\t\tDefault: {\n\t\t\t...ppcpConfig.style,\n\t\t\t...buttonConfig.style,\n\t\t},\n\t\tMiniCart: {\n\t\t\t...ppcpConfig.mini_cart_style,\n\t\t\t...buttonConfig.mini_cart_style,\n\t\t},\n\t};\n}\n\n/**\n * Verifies if the given event name is a valid Payment Button event.\n *\n * @param {string} event - The event name to verify.\n * @return {boolean} True, if the event name is valid.\n */\nexport function isValidButtonEvent( event ) {\n\tconst buttonEventValues = Object.values( ButtonEvents );\n\n\treturn buttonEventValues.includes( event );\n}\n\n/**\n * Dispatches a payment button event.\n *\n * @param {Object} options - The options for dispatching the event.\n * @param {string} options.event - Event to dispatch.\n * @param {string} [options.paymentMethod] - Optional. Name of payment method, to target a specific button only.\n * @throws {Error} Throws an error if the event is invalid.\n */\nexport function dispatchButtonEvent( { event, paymentMethod = '' } ) {\n\tif ( ! isValidButtonEvent( event ) ) {\n\t\tthrow new Error( `Invalid event: ${ event }` );\n\t}\n\n\tconst fullEventName = paymentMethod\n\t\t? `${ event }-${ paymentMethod }`\n\t\t: event;\n\n\tdocument.body.dispatchEvent( new Event( fullEventName ) );\n}\n\n/**\n * Adds an event listener for the provided button event.\n *\n * @param {Object} options - The options for the event listener.\n * @param {string} options.event - Event to observe.\n * @param {string} [options.paymentMethod] - The payment method name (optional).\n * @param {Function} options.callback - The callback function to execute when the event is triggered.\n * @throws {Error} Throws an error if the event is invalid.\n */\nexport function observeButtonEvent( { event, paymentMethod = '', callback } ) {\n\tif ( ! isValidButtonEvent( event ) ) {\n\t\tthrow new Error( `Invalid event: ${ event }` );\n\t}\n\n\tconst fullEventName = paymentMethod\n\t\t? `${ event }-${ paymentMethod }`\n\t\t: event;\n\n\tdocument.body.addEventListener( fullEventName, callback );\n}\n","/**\n * @param selectorOrElement\n * @return {Element}\n */\nconst getElement = ( selectorOrElement ) => {\n\tif ( typeof selectorOrElement === 'string' ) {\n\t\treturn document.querySelector( selectorOrElement );\n\t}\n\treturn selectorOrElement;\n};\n\nconst triggerHidden = ( handler, selectorOrElement, element ) => {\n\tjQuery( document ).trigger( 'ppcp-hidden', {\n\t\thandler,\n\t\taction: 'hide',\n\t\tselector: selectorOrElement,\n\t\telement,\n\t} );\n};\n\nconst triggerShown = ( handler, selectorOrElement, element ) => {\n\tjQuery( document ).trigger( 'ppcp-shown', {\n\t\thandler,\n\t\taction: 'show',\n\t\tselector: selectorOrElement,\n\t\telement,\n\t} );\n};\n\nexport const isVisible = ( element ) => {\n\treturn !! (\n\t\telement.offsetWidth ||\n\t\telement.offsetHeight ||\n\t\telement.getClientRects().length\n\t);\n};\n\nexport const setVisible = ( selectorOrElement, show, important = false ) => {\n\tconst element = getElement( selectorOrElement );\n\tif ( ! element ) {\n\t\treturn;\n\t}\n\n\tconst currentValue = element.style.getPropertyValue( 'display' );\n\n\tif ( ! show ) {\n\t\tif ( currentValue === 'none' ) {\n\t\t\treturn;\n\t\t}\n\n\t\telement.style.setProperty(\n\t\t\t'display',\n\t\t\t'none',\n\t\t\timportant ? 'important' : ''\n\t\t);\n\t\ttriggerHidden( 'Hiding.setVisible', selectorOrElement, element );\n\t} else {\n\t\tif ( currentValue === 'none' ) {\n\t\t\telement.style.removeProperty( 'display' );\n\t\t\ttriggerShown( 'Hiding.setVisible', selectorOrElement, element );\n\t\t}\n\n\t\t// still not visible (if something else added display: none in CSS)\n\t\tif ( ! isVisible( element ) ) {\n\t\t\telement.style.setProperty( 'display', 'block' );\n\t\t\ttriggerShown( 'Hiding.setVisible', selectorOrElement, element );\n\t\t}\n\t}\n};\n\nexport const setVisibleByClass = ( selectorOrElement, show, hiddenClass ) => {\n\tconst element = getElement( selectorOrElement );\n\tif ( ! element ) {\n\t\treturn;\n\t}\n\n\tif ( show ) {\n\t\telement.classList.remove( hiddenClass );\n\t\ttriggerShown( 'Hiding.setVisibleByClass', selectorOrElement, element );\n\t} else {\n\t\telement.classList.add( hiddenClass );\n\t\ttriggerHidden( 'Hiding.setVisibleByClass', selectorOrElement, element );\n\t}\n};\n\nexport const hide = ( selectorOrElement, important = false ) => {\n\tsetVisible( selectorOrElement, false, important );\n};\n\nexport const show = ( selectorOrElement ) => {\n\tsetVisible( selectorOrElement, true );\n};\n","/**\n * @param selectorOrElement\n * @return {Element}\n */\nconst getElement = ( selectorOrElement ) => {\n\tif ( typeof selectorOrElement === 'string' ) {\n\t\treturn document.querySelector( selectorOrElement );\n\t}\n\treturn selectorOrElement;\n};\n\nconst triggerEnabled = ( selectorOrElement, element ) => {\n\tjQuery( document ).trigger( 'ppcp-enabled', {\n\t\thandler: 'ButtonsDisabler.setEnabled',\n\t\taction: 'enable',\n\t\tselector: selectorOrElement,\n\t\telement,\n\t} );\n};\n\nconst triggerDisabled = ( selectorOrElement, element ) => {\n\tjQuery( document ).trigger( 'ppcp-disabled', {\n\t\thandler: 'ButtonsDisabler.setEnabled',\n\t\taction: 'disable',\n\t\tselector: selectorOrElement,\n\t\telement,\n\t} );\n};\n\nexport const setEnabled = ( selectorOrElement, enable, form = null ) => {\n\tconst element = getElement( selectorOrElement );\n\n\tif ( ! element ) {\n\t\treturn;\n\t}\n\n\tif ( enable ) {\n\t\tjQuery( element )\n\t\t\t.removeClass( 'ppcp-disabled' )\n\t\t\t.off( 'mouseup' )\n\t\t\t.find( '> *' )\n\t\t\t.css( 'pointer-events', '' );\n\n\t\ttriggerEnabled( selectorOrElement, element );\n\t} else {\n\t\tjQuery( element )\n\t\t\t.addClass( 'ppcp-disabled' )\n\t\t\t.on( 'mouseup', function ( event ) {\n\t\t\t\tevent.stopImmediatePropagation();\n\n\t\t\t\tif ( form ) {\n\t\t\t\t\t// Trigger form submit to show the error message\n\t\t\t\t\tconst $form = jQuery( form );\n\t\t\t\t\tif (\n\t\t\t\t\t\t$form\n\t\t\t\t\t\t\t.find( '.single_add_to_cart_button' )\n\t\t\t\t\t\t\t.hasClass( 'disabled' )\n\t\t\t\t\t) {\n\t\t\t\t\t\t$form.find( ':submit' ).trigger( 'click' );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} )\n\t\t\t.find( '> *' )\n\t\t\t.css( 'pointer-events', 'none' );\n\n\t\ttriggerDisabled( selectorOrElement, element );\n\t}\n};\n\nexport const isDisabled = ( selectorOrElement ) => {\n\tconst element = getElement( selectorOrElement );\n\n\tif ( ! element ) {\n\t\treturn false;\n\t}\n\n\treturn jQuery( element ).hasClass( 'ppcp-disabled' );\n};\n\nexport const disable = ( selectorOrElement, form = null ) => {\n\tsetEnabled( selectorOrElement, false, form );\n};\n\nexport const enable = ( selectorOrElement ) => {\n\tsetEnabled( selectorOrElement, true );\n};\n","import ConsoleLogger from '../../../../../ppcp-wc-gateway/resources/js/helper/ConsoleLogger';\nimport { apmButtonsInit } from '../Helper/ApmButtons';\nimport {\n\tgetCurrentPaymentMethod,\n\tPaymentContext,\n\tPaymentMethods,\n} from '../Helper/CheckoutMethodState';\nimport {\n\tButtonEvents,\n\tdispatchButtonEvent,\n\tobserveButtonEvent,\n} from '../Helper/PaymentButtonHelpers';\nimport { isVisible } from '../Helper/Hiding';\nimport { isDisabled, setEnabled } from '../Helper/ButtonDisabler';\n\n/**\n * Collection of all available styling options for this button.\n *\n * @typedef {Object} StylesCollection\n * @property {string} Default - Default button styling.\n * @property {string} MiniCart - Styles for mini-cart button.\n */\n\n/**\n * Collection of all available wrapper IDs that are possible for the button.\n *\n * @typedef {Object} WrapperCollection\n * @property {string} Default - Default button wrapper.\n * @property {string} Gateway - Wrapper for separate gateway.\n * @property {string} Block - Wrapper for block checkout button.\n * @property {string} MiniCart - Wrapper for mini-cart button.\n * @property {string} SmartButton - Wrapper for smart button container.\n */\n\n/**\n * Adds the provided PaymentButton instance to a global payment-button collection.\n *\n * This is debugging logic that should not be used on a production site.\n *\n * @param {string} methodName - Used to group the buttons.\n * @param {PaymentButton} button - Appended to the button collection.\n */\nconst addToDebuggingCollection = ( methodName, button ) => {\n\twindow.ppcpPaymentButtonList = window.ppcpPaymentButtonList || {};\n\n\tconst collection = window.ppcpPaymentButtonList;\n\n\tcollection[ methodName ] = collection[ methodName ] || [];\n\tcollection[ methodName ].push( button );\n};\n\n/**\n * Provides a context-independent instance Map for `PaymentButton` components.\n *\n * This function addresses a potential issue in multi-context environments, such as pages using\n * Block-components. In these scenarios, multiple React execution contexts can lead to duplicate\n * `PaymentButton` instances. To prevent this, we store instances in a `Map` that is bound to the\n * document's `body` (the rendering context) rather than to individual React components\n * (execution contexts).\n *\n * The `Map` is created as a non-enumerable, non-writable, and non-configurable property of\n * `document.body` to ensure its integrity and prevent accidental modifications.\n *\n * @return {Map<any, any>} A Map containing all `PaymentButton` instances for the current page.\n */\nconst getInstances = () => {\n\tconst collectionKey = '__ppcpPBInstances';\n\n\tif ( ! document.body[ collectionKey ] ) {\n\t\tObject.defineProperty( document.body, collectionKey, {\n\t\t\tvalue: new Map(),\n\t\t\tenumerable: false,\n\t\t\twritable: false,\n\t\t\tconfigurable: false,\n\t\t} );\n\t}\n\n\treturn document.body[ collectionKey ];\n};\n\n/**\n * Base class for APM payment buttons, like GooglePay and ApplePay.\n *\n * This class is not intended for the PayPal button.\n */\nexport default class PaymentButton {\n\t/**\n\t * Defines the implemented payment method.\n\t *\n\t * Used to identify and address the button internally.\n\t * Overwrite this in the derived class.\n\t *\n\t * @type {string}\n\t */\n\tstatic methodId = 'generic';\n\n\t/**\n\t * CSS class that is added to the payment button wrapper.\n\t *\n\t * Overwrite this in the derived class.\n\t *\n\t * @type {string}\n\t */\n\tstatic cssClass = '';\n\n\t/**\n\t * @type {ConsoleLogger}\n\t */\n\t#logger;\n\n\t/**\n\t * Whether the payment button is initialized.\n\t *\n\t * @type {boolean}\n\t */\n\t#isInitialized = false;\n\n\t/**\n\t * Whether the one-time initialization of the payment gateway is complete.\n\t *\n\t * @type {boolean}\n\t */\n\t#gatewayInitialized = false;\n\n\t/**\n\t * The button's context.\n\t *\n\t * @type {string}\n\t */\n\t#context;\n\n\t/**\n\t * Object containing the IDs of all possible wrapper elements that might contain this\n\t * button; only one wrapper is relevant, depending on the value of the context.\n\t *\n\t * @type {Object}\n\t */\n\t#wrappers;\n\n\t/**\n\t * @type {StylesCollection}\n\t */\n\t#styles;\n\n\t/**\n\t * Keeps track of CSS classes that were added to the wrapper element.\n\t * We use this list to remove CSS classes that we've added, e.g. to change shape from\n\t * pill to rect in the preview.\n\t *\n\t * @type {string[]}\n\t */\n\t#appliedClasses = [];\n\n\t/**\n\t * APM relevant configuration; e.g., configuration of the GooglePay button.\n\t */\n\t#buttonConfig;\n\n\t/**\n\t * Plugin-wide configuration; i.e., PayPal client ID, shop currency, etc.\n\t */\n\t#ppcpConfig;\n\n\t/**\n\t * A variation of a context bootstrap handler.\n\t */\n\t#externalHandler;\n\n\t/**\n\t * A variation of a context handler object, like CheckoutHandler.\n\t * This handler provides a standardized interface for certain standardized checks and actions.\n\t */\n\t#contextHandler;\n\n\t/**\n\t * Whether the current browser/website support the payment method.\n\t *\n\t * @type {?boolean}\n\t */\n\t#isEligible = null;\n\n\t/**\n\t * Whether this button is visible. Modified by `show()` and `hide()`\n\t *\n\t * @type {boolean}\n\t */\n\t#isVisible = true;\n\n\t/**\n\t * Whether this button is enabled (can be clicked).\n\t *\n\t * @type {boolean}\n\t */\n\t#isEnabled = true;\n\n\t/**\n\t * The currently visible payment button.\n\t *\n\t * @see {PaymentButton.insertButton}\n\t * @type {HTMLElement|null}\n\t */\n\t#button = null;\n\n\t/**\n\t * List of checks to perform to verify the PaymentButton has is configured correctly.\n\t *\n\t * @type {{check, errorMessage, shouldPass}[]}\n\t */\n\t#validationChecks = [];\n\n\t/**\n\t * Factory method to create a new PaymentButton while limiting a single instance per context.\n\t *\n\t * @param {string} context - Button context name.\n\t * @param {unknown} externalHandler - Handler object.\n\t * @param {Object} buttonConfig - Payment button specific configuration.\n\t * @param {Object} ppcpConfig - Plugin wide configuration object.\n\t * @param {unknown} contextHandler - Handler object.\n\t * @return {PaymentButton} The button instance.\n\t */\n\tstatic createButton(\n\t\tcontext,\n\t\texternalHandler,\n\t\tbuttonConfig,\n\t\tppcpConfig,\n\t\tcontextHandler\n\t) {\n\t\tconst buttonInstances = getInstances();\n\t\tconst instanceKey = `${ this.methodId }.${ context }`;\n\n\t\tif ( ! buttonInstances.has( instanceKey ) ) {\n\t\t\tconst button = new this(\n\t\t\t\tcontext,\n\t\t\t\texternalHandler,\n\t\t\t\tbuttonConfig,\n\t\t\t\tppcpConfig,\n\t\t\t\tcontextHandler\n\t\t\t);\n\n\t\t\tbuttonInstances.set( instanceKey, button );\n\t\t}\n\n\t\treturn buttonInstances.get( instanceKey );\n\t}\n\n\t/**\n\t * Returns a list with all wrapper IDs for the implemented payment method, categorized by\n\t * context.\n\t *\n\t * @abstract\n\t * @param {Object} buttonConfig - Payment method specific configuration.\n\t * @param {Object} ppcpConfig - Global plugin configuration.\n\t * @return {{MiniCart, Gateway, Block, SmartButton, Default}} The wrapper ID collection.\n\t */\n\t// eslint-disable-next-line no-unused-vars\n\tstatic getWrappers( buttonConfig, ppcpConfig ) {\n\t\tthrow new Error( 'Must be implemented in the child class' );\n\t}\n\n\t/**\n\t * Returns a list of all button styles for the implemented payment method, categorized by\n\t * context.\n\t *\n\t * @abstract\n\t * @param {Object} buttonConfig - Payment method specific configuration.\n\t * @param {Object} ppcpConfig - Global plugin configuration.\n\t * @return {{MiniCart: (*), Default: (*)}} Combined styles, separated by context.\n\t */\n\t// eslint-disable-next-line no-unused-vars\n\tstatic getStyles( buttonConfig, ppcpConfig ) {\n\t\tthrow new Error( 'Must be implemented in the child class' );\n\t}\n\n\t/**\n\t * Initialize the payment button instance.\n\t *\n\t * Do not create new button instances directly; use the `createButton` method instead\n\t * to avoid multiple button instances handling the same context.\n\t *\n\t * @private\n\t * @param {string} context - Button context name.\n\t * @param {Object} externalHandler - Handler object.\n\t * @param {Object} buttonConfig - Payment button specific configuration.\n\t * @param {Object} ppcpConfig - Plugin wide configuration object.\n\t * @param {Object} contextHandler - Handler object.\n\t */\n\tconstructor(\n\t\tcontext,\n\t\texternalHandler = null,\n\t\tbuttonConfig = {},\n\t\tppcpConfig = {},\n\t\tcontextHandler = null\n\t) {\n\t\tif ( this.methodId === PaymentButton.methodId ) {\n\t\t\tthrow new Error( 'Cannot initialize the PaymentButton base class' );\n\t\t}\n\n\t\tif ( ! buttonConfig ) {\n\t\t\tbuttonConfig = {};\n\t\t}\n\n\t\tconst isDebugging = !! buttonConfig?.is_debug;\n\t\tconst methodName = this.methodId.replace( /^ppcp?-/, '' );\n\n\t\tthis.#context = context;\n\t\tthis.#buttonConfig = buttonConfig;\n\t\tthis.#ppcpConfig = ppcpConfig;\n\t\tthis.#externalHandler = externalHandler;\n\t\tthis.#contextHandler = contextHandler;\n\n\t\tthis.#logger = new ConsoleLogger( methodName, context );\n\n\t\tif ( isDebugging ) {\n\t\t\tthis.#logger.enabled = true;\n\t\t\taddToDebuggingCollection( methodName, this );\n\t\t}\n\n\t\tthis.#wrappers = this.constructor.getWrappers(\n\t\t\tthis.#buttonConfig,\n\t\t\tthis.#ppcpConfig\n\t\t);\n\t\tthis.applyButtonStyles( this.#buttonConfig );\n\n\t\tthis.registerValidationRules(\n\t\t\tthis.#assertIsInvalid.bind( this ),\n\t\t\tthis.#assertIsValid.bind( this )\n\t\t);\n\n\t\tapmButtonsInit( this.#ppcpConfig );\n\t\tthis.initEventListeners();\n\t}\n\n\t/**\n\t * Internal ID of the payment gateway.\n\t *\n\t * @readonly\n\t * @return {string} The internal gateway ID, defined in the derived class.\n\t */\n\tget methodId() {\n\t\treturn this.constructor.methodId;\n\t}\n\n\t/**\n\t * CSS class that is added to the button wrapper.\n\t *\n\t * @readonly\n\t * @return {string} CSS class, defined in the derived class.\n\t */\n\tget cssClass() {\n\t\treturn this.constructor.cssClass;\n\t}\n\n\t/**\n\t * Whether the payment button was fully initialized.\n\t *\n\t * @readonly\n\t * @return {boolean} True indicates, that the button was fully initialized.\n\t */\n\tget isInitialized() {\n\t\treturn this.#isInitialized;\n\t}\n\n\t/**\n\t * The button's context.\n\t *\n\t * TODO: Convert the string to a context-object (primitive obsession smell)\n\t *\n\t * @readonly\n\t * @return {string} The button context.\n\t */\n\tget context() {\n\t\treturn this.#context;\n\t}\n\n\t/**\n\t * Configuration, specific for the implemented payment button.\n\t *\n\t * @return {Object} Configuration object.\n\t */\n\tget buttonConfig() {\n\t\treturn this.#buttonConfig;\n\t}\n\n\t/**\n\t * Plugin-wide configuration; i.e., PayPal client ID, shop currency, etc.\n\t *\n\t * @return {Object} Configuration object.\n\t */\n\tget ppcpConfig() {\n\t\treturn this.#ppcpConfig;\n\t}\n\n\t/**\n\t * @return {Object} The bootstrap handler instance, or an empty object.\n\t */\n\tget externalHandler() {\n\t\treturn this.#externalHandler || {};\n\t}\n\n\t/**\n\t * Access the button's context handler.\n\t * When no context handler was provided (like for a preview button), an empty object is\n\t * returned.\n\t *\n\t * @return {Object} The context handler instance, or an empty object.\n\t */\n\tget contextHandler() {\n\t\treturn this.#contextHandler || {};\n\t}\n\n\t/**\n\t * Whether customers need to provide shipping details during payment.\n\t *\n\t * Can be extended by child classes to take method specific configuration into account.\n\t *\n\t * @return {boolean} True means, shipping fields are displayed and must be filled.\n\t */\n\tget requiresShipping() {\n\t\t// Default check: Is shipping enabled in WooCommerce?\n\t\treturn (\n\t\t\t'function' === typeof this.contextHandler.shippingAllowed &&\n\t\t\tthis.contextHandler.shippingAllowed()\n\t\t);\n\t}\n\n\t/**\n\t * Button wrapper details.\n\t *\n\t * @readonly\n\t * @return {WrapperCollection} Wrapper IDs.\n\t */\n\tget wrappers() {\n\t\treturn this.#wrappers;\n\t}\n\n\t/**\n\t * Returns the context-relevant button style object.\n\t *\n\t * @readonly\n\t * @return {string} Styling options.\n\t */\n\tget style() {\n\t\tif ( PaymentContext.MiniCart === this.context ) {\n\t\t\treturn this.#styles.MiniCart;\n\t\t}\n\n\t\treturn this.#styles.Default;\n\t}\n\n\t/**\n\t * Returns the context-relevant wrapper ID.\n\t *\n\t * @readonly\n\t * @return {string} The wrapper-element's ID (without the `#` prefix).\n\t */\n\tget wrapperId() {\n\t\tif ( PaymentContext.MiniCart === this.context ) {\n\t\t\treturn this.wrappers.MiniCart;\n\t\t} else if ( this.isSeparateGateway ) {\n\t\t\treturn this.wrappers.Gateway;\n\t\t} else if ( PaymentContext.Blocks.includes( this.context ) ) {\n\t\t\treturn this.wrappers.Block;\n\t\t}\n\n\t\treturn this.wrappers.Default;\n\t}\n\n\t/**\n\t * Whether the button is placed inside a classic gateway context.\n\t *\n\t * Classic gateway contexts are: Classic checkout, Pay for Order page.\n\t *\n\t * @return {boolean} True indicates, the button is located inside a classic gateway.\n\t */\n\tget isInsideClassicGateway() {\n\t\treturn PaymentContext.Gateways.includes( this.context );\n\t}\n\n\t/**\n\t * Determines if the current payment button should be rendered as a stand-alone gateway.\n\t * The return value `false` usually means, that the payment button is bundled with all available\n\t * payment buttons.\n\t *\n\t * The decision depends on the button context (placement) and the plugin settings.\n\t *\n\t * @return {boolean} True, if the current button represents a stand-alone gateway.\n\t */\n\tget isSeparateGateway() {\n\t\treturn (\n\t\t\tthis.#buttonConfig.is_wc_gateway_enabled &&\n\t\t\tthis.isInsideClassicGateway\n\t\t);\n\t}\n\n\t/**\n\t * Whether the currently selected payment gateway is set to the payment method.\n\t *\n\t * Only relevant on checkout pages where \"classic\" payment gateways are rendered.\n\t *\n\t * @return {boolean} True means that this payment method is selected as current gateway.\n\t */\n\tget isCurrentGateway() {\n\t\tif ( ! this.isInsideClassicGateway ) {\n\t\t\t// This means, the button's visibility is managed by another script.\n\t\t\treturn true;\n\t\t}\n\n\t\t/*\n\t\t * We need to rely on `getCurrentPaymentMethod()` here, as the `CheckoutBootstrap.js`\n\t\t * module fires the \"ButtonEvents.RENDER\" event before any PaymentButton instances are\n\t\t * created. I.e. we cannot observe the initial gateway selection event.\n\t\t */\n\t\tconst currentMethod = getCurrentPaymentMethod();\n\n\t\tif ( this.isSeparateGateway ) {\n\t\t\treturn this.methodId === currentMethod;\n\t\t}\n\n\t\t// Button is rendered inside the Smart Buttons block.\n\t\treturn PaymentMethods.PAYPAL === currentMethod;\n\t}\n\n\t/**\n\t * Flags a preview button without actual payment logic.\n\t *\n\t * @return {boolean} True indicates a preview instance that has no payment logic.\n\t */\n\tget isPreview() {\n\t\treturn PaymentContext.Preview === this.context;\n\t}\n\n\t/**\n\t * Whether the browser can accept this payment method.\n\t *\n\t * @return {boolean} True, if payments are technically possible.\n\t */\n\tget isEligible() {\n\t\treturn this.#isEligible;\n\t}\n\n\t/**\n\t * Changes the eligibility state of this button component.\n\t *\n\t * @param {boolean} newState Whether the browser can accept payments.\n\t */\n\tset isEligible( newState ) {\n\t\tif ( newState === this.#isEligible ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.#isEligible = newState;\n\t\tthis.triggerRedraw();\n\t}\n\n\t/**\n\t * The visibility state of the button.\n\t * This flag does not reflect actual visibility on the page, but rather, if the button\n\t * is intended/allowed to be displayed, in case all other checks pass.\n\t *\n\t * @return {boolean} True indicates, that the button can be displayed.\n\t */\n\tget isVisible() {\n\t\treturn this.#isVisible;\n\t}\n\n\t/**\n\t * Change the visibility of the button.\n\t *\n\t * A visible button does not always force the button to render on the page. It only means, that\n\t * the button is allowed or not allowed to render, if certain other conditions are met.\n\t *\n\t * @param {boolean} newState Whether rendering the button is allowed.\n\t */\n\tset isVisible( newState ) {\n\t\tif ( this.#isVisible === newState ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.#isVisible = newState;\n\t\tthis.triggerRedraw();\n\t}\n\n\t/**\n\t * The enabled/disabled state of the button (whether it can be clicked).\n\t *\n\t * @return {boolean} True indicates, that the button is enabled.\n\t */\n\tget isEnabled() {\n\t\treturn this.#isEnabled;\n\t}\n\n\t/**\n\t * Change the enabled/disabled state of the button.\n\t *\n\t * @param {boolean} newState Whether the button is enabled.\n\t */\n\tset isEnabled( newState ) {\n\t\tif ( this.#isEnabled === newState ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.#isEnabled = newState;\n\t\tthis.triggerRedraw();\n\t}\n\n\t/**\n\t * Returns the HTML element that wraps the current button\n\t *\n\t * @readonly\n\t * @return {HTMLElement|null} The wrapper element, or null.\n\t */\n\tget wrapperElement() {\n\t\treturn document.getElementById( this.wrapperId );\n\t}\n\n\t/**\n\t * Returns the standard PayPal smart button selector for the current context.\n\t *\n\t * @return {string | null} The selector, or null if not available.\n\t */\n\tget ppcpButtonWrapperSelector() {\n\t\tif ( PaymentContext.Blocks.includes( this.context ) ) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif ( this.context === PaymentContext.MiniCart ) {\n\t\t\treturn this.ppcpConfig?.button?.mini_cart_wrapper;\n\t\t}\n\n\t\treturn this.ppcpConfig?.button?.wrapper;\n\t}\n\n\t/**\n\t * Checks whether the main button-wrapper is present in the current DOM.\n\t *\n\t * @readonly\n\t * @return {boolean} True, if the button context (wrapper element) is found.\n\t */\n\tget isPresent() {\n\t\treturn this.wrapperElement instanceof HTMLElement;\n\t}\n\n\t/**\n\t * Checks, if the payment button is still attached to the DOM.\n\t *\n\t * WooCommerce performs some partial reloads in many cases, which can lead to our payment\n\t * button\n\t * to move into the browser's memory. In that case, we need to recreate the button in the\n\t * updated DOM.\n\t *\n\t * @return {boolean} True means, the button is still present (and typically visible) on the\n\t * page.\n\t */\n\tget isButtonAttached() {\n\t\tif ( ! this.#button ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tlet parent = this.#button.parentElement;\n\t\twhile ( parent?.parentElement ) {\n\t\t\tif ( 'BODY' === parent.tagName ) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tparent = parent.parentElement;\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t * Log a debug detail to the browser console.\n\t *\n\t * @param {any} args\n\t */\n\tlog( ...args ) {\n\t\tthis.#logger.log( ...args );\n\t}\n\n\t/**\n\t * Log an error message to the browser console.\n\t *\n\t * @param {any} args\n\t */\n\terror( ...args ) {\n\t\tthis.#logger.error( ...args );\n\t}\n\n\t/**\n\t * Open or close a log-group\n\t *\n\t * @param {?string} [label=null] Group label.\n\t */\n\tlogGroup( label = null ) {\n\t\tthis.#logger.group( label );\n\t}\n\n\t/**\n\t * Register a validation check that marks the configuration as invalid when passed.\n\t *\n\t * @param {Function} check - A function that returns a truthy value if the check passes.\n\t * @param {string} errorMessage - The error message to display if the check fails.\n\t */\n\t#assertIsInvalid( check, errorMessage ) {\n\t\tthis.#validationChecks.push( {\n\t\t\tcheck,\n\t\t\terrorMessage,\n\t\t\tshouldPass: false,\n\t\t} );\n\t}\n\n\t/**\n\t * Register a validation check that instantly marks the configuration as valid when passed.\n\t *\n\t * @param {Function} check - A function that returns a truthy value if the check passes.\n\t */\n\t#assertIsValid( check ) {\n\t\tthis.#validationChecks.push( { check, shouldPass: true } );\n\t}\n\n\t/**\n\t * Defines a series of validation steps to ensure the payment button is configured correctly.\n\t *\n\t * Each validation step is executed in the order they are defined within this method.\n\t *\n\t * If a validation step using `invalidIf` returns true, the configuration is immediately considered\n\t * invalid, and an error message is logged. Conversely, if a validation step using `validIf`\n\t * returns true, the configuration is immediately considered valid.\n\t *\n\t * If no validation step returns true, the configuration is assumed to be valid by default.\n\t *\n\t * @param {(condition: () => boolean, errorMessage: string) => void} invalidIf - Registers a validation step that fails if the condition returns true.\n\t * @param {(condition: () => boolean) => void} validIf - Registers a validation step that passes if the condition returns true.\n\t */\n\t// eslint-disable-next-line no-unused-vars\n\tregisterValidationRules( invalidIf, validIf ) {}\n\n\t/**\n\t * Determines if the current button instance has valid and complete configuration details.\n\t * Used during initialization to decide if the button can be initialized or should be skipped.\n\t *\n\t * All required validation steps must be registered in the constructor of the derived class\n\t * using `this.addValidationFailure()` or `this.addValidationSuccess()`.\n\t *\n\t * @param {boolean} [silent=false] - Set to true to suppress console errors.\n\t * @return {boolean} True indicates the config is valid and initialization can continue.\n\t */\n\tvalidateConfiguration( silent = false ) {\n\t\tfor ( const step of this.#validationChecks ) {\n\t\t\tconst result = step.check();\n\n\t\t\tif ( step.shouldPass && result ) {\n\t\t\t\t// If a success check passes, mark as valid immediately.\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tif ( ! step.shouldPass && result ) {\n\t\t\t\t// If a failure check passes, mark as invalid.\n\t\t\t\tif ( ! silent && step.errorMessage ) {\n\t\t\t\t\tthis.error( step.errorMessage );\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tapplyButtonStyles( buttonConfig, ppcpConfig = null ) {\n\t\tif ( ! ppcpConfig ) {\n\t\t\tppcpConfig = this.ppcpConfig;\n\t\t}\n\n\t\tthis.#styles = this.constructor.getStyles( buttonConfig, ppcpConfig );\n\n\t\tif ( this.isInitialized ) {\n\t\t\tthis.triggerRedraw();\n\t\t}\n\t}\n\n\t/**\n\t * Configures the button instance. Must be called before the initial `init()`.\n\t *\n\t * Parameters are defined by the derived class.\n\t *\n\t * @abstract\n\t */\n\tconfigure() {}\n\n\t/**\n\t * Must be named `init()` to simulate \"protected\" visibility:\n\t * Since the derived class also implements a method with the same name, this method can only\n\t * be called by the derived class, but not from any other code.\n\t */\n\tinit() {\n\t\tthis.#isInitialized = true;\n\t}\n\n\t/**\n\t * Must be named `reinit()` to simulate \"protected\" visibility:\n\t * Since the derived class also implements a method with the same name, this method can only\n\t * be called by the derived class, but not from any other code.\n\t */\n\treinit() {\n\t\tthis.#isInitialized = false;\n\t\tthis.#isEligible = false;\n\t}\n\n\ttriggerRedraw() {\n\t\tthis.showPaymentGateway();\n\n\t\tdispatchButtonEvent( {\n\t\t\tevent: ButtonEvents.REDRAW,\n\t\t\tpaymentMethod: this.methodId,\n\t\t} );\n\t}\n\n\t/**\n\t * Applies the visibility and enabled state from the PayPal button.\n\t * Intended for the product page, may not work correctly on the checkout page.\n\t */\n\tsyncProductButtonsState() {\n\t\tconst ppcpButton = document.querySelector(\n\t\t\tthis.ppcpButtonWrapperSelector\n\t\t);\n\t\tif ( ! ppcpButton ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.isVisible = isVisible( ppcpButton );\n\t\tthis.isEnabled = ! isDisabled( ppcpButton );\n\t}\n\n\t/**\n\t * Attaches event listeners to show/hide or enable/disable the payment button when needed.\n\t */\n\tinitEventListeners() {\n\t\t// Refresh the button - this might show, hide or re-create the payment button.\n\t\tobserveButtonEvent( {\n\t\t\tevent: ButtonEvents.REDRAW,\n\t\t\tpaymentMethod: this.methodId,\n\t\t\tcallback: () => this.refresh(),\n\t\t} );\n\n\t\t// Events relevant for buttons inside a payment gateway.\n\t\tif ( this.isInsideClassicGateway ) {\n\t\t\tconst parentMethod = this.isSeparateGateway\n\t\t\t\t? this.methodId\n\t\t\t\t: PaymentMethods.PAYPAL;\n\n\t\t\t// Hide the button right after the user selected _any_ gateway.\n\t\t\tobserveButtonEvent( {\n\t\t\t\tevent: ButtonEvents.INVALIDATE,\n\t\t\t\tcallback: () => ( this.isVisible = false ),\n\t\t\t} );\n\n\t\t\t// Show the button (again) when the user selected the current gateway.\n\t\t\tobserveButtonEvent( {\n\t\t\t\tevent: ButtonEvents.RENDER,\n\t\t\t\tpaymentMethod: parentMethod,\n\t\t\t\tcallback: () => ( this.isVisible = true ),\n\t\t\t} );\n\t\t}\n\n\t\t// On the product page, copy the visibility and enabled state from the PayPal button.\n\t\tif ( this.context === PaymentContext.Product ) {\n\t\t\tjQuery( document ).on(\n\t\t\t\t'ppcp-shown ppcp-hidden ppcp-enabled ppcp-disabled',\n\t\t\t\t( ev, data ) => {\n\t\t\t\t\tif (\n\t\t\t\t\t\t! jQuery( data.selector ).is(\n\t\t\t\t\t\t\tthis.ppcpButtonWrapperSelector\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.syncProductButtonsState();\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * Refreshes the payment button on the page.\n\t */\n\trefresh() {\n\t\tif ( ! this.isPresent ) {\n\t\t\treturn;\n\t\t}\n\t\tif ( ! this.isEligible ) {\n\t\t\tthis.wrapperElement.style.display = 'none';\n\t\t\treturn;\n\t\t}\n\n\t\tthis.applyWrapperStyles();\n\n\t\tif ( this.isEligible && this.isCurrentGateway && this.isVisible ) {\n\t\t\tif ( ! this.isButtonAttached ) {\n\t\t\t\tthis.log( 'refresh.addButton' );\n\t\t\t\tthis.addButton();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Makes the payment gateway visible by removing initial inline styles from the DOM.\n\t * Also, removes the button-placeholder container from the smart button block.\n\t *\n\t * Only relevant on the checkout page, i.e., when `this.isSeparateGateway` is `true`\n\t */\n\tshowPaymentGateway() {\n\t\tif (\n\t\t\tthis.#gatewayInitialized ||\n\t\t\t! this.isSeparateGateway ||\n\t\t\t! this.isEligible\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst styleSelector = `style[data-hide-gateway=\"${ this.methodId }\"]`;\n\t\tconst wrapperSelector = `#${ this.wrappers.Default }`;\n const paymentMethodLi = document.querySelector(`.wc_payment_method.payment_method_${ this.methodId }`);\n\n\t\tdocument\n\t\t\t.querySelectorAll( styleSelector )\n\t\t\t.forEach( ( el ) => el.remove() );\n\n if (paymentMethodLi.style.display === 'none' || paymentMethodLi.style.display === '') {\n paymentMethodLi.style.display = 'block';\n }\n\n\t\tdocument\n\t\t\t.querySelectorAll( wrapperSelector )\n\t\t\t.forEach( ( el ) => el.remove() );\n\n\t\tthis.log( 'Show gateway' );\n\t\tthis.#gatewayInitialized = true;\n\n\t\t// This code runs only once, during button initialization, and fixes the initial visibility.\n\t\tthis.isVisible = this.isCurrentGateway;\n\t}\n\n\t/**\n\t * Applies CSS classes and inline styling to the payment button wrapper.\n\t */\n\tapplyWrapperStyles() {\n\t\tconst wrapper = this.wrapperElement;\n\t\tconst { shape, height } = this.style;\n\n\t\tfor ( const classItem of this.#appliedClasses ) {\n\t\t\twrapper.classList.remove( classItem );\n\t\t}\n\n\t\tthis.#appliedClasses = [];\n\n\t\tconst newClasses = [\n\t\t\t`ppcp-button-${ shape }`,\n\t\t\t'ppcp-button-apm',\n\t\t\tthis.cssClass,\n\t\t];\n\n\t\twrapper.classList.add( ...newClasses );\n\t\tthis.#appliedClasses.push( ...newClasses );\n\n\t\tif ( height ) {\n\t\t\twrapper.style.height = `${ height }px`;\n\t\t}\n\n\t\t// Apply the wrapper visibility.\n\t\twrapper.style.display = this.isVisible ? 'block' : 'none';\n\n\t\t// Apply the enabled/disabled state.\n\t\t// On the product page, use the form to display error messages if clicked while disabled.\n\t\tconst form =\n\t\t\tthis.context === PaymentContext.Product ? 'form.cart' : null;\n\t\tsetEnabled( wrapper, this.isEnabled, form );\n\t}\n\n\t/**\n\t * Creates a new payment button (HTMLElement) and must call `this.insertButton()` to display\n\t * that button in the correct wrapper.\n\t *\n\t * @abstract\n\t */\n\taddButton() {\n\t\tthrow new Error( 'Must be implemented by the child class' );\n\t}\n\n\t/**\n\t * Prepares the button wrapper element and inserts the provided payment button into the DOM.\n\t *\n\t * If a payment button was previously inserted to the wrapper, calling this method again will\n\t * first remove the previous button.\n\t *\n\t * @param {HTMLElement} button - The button element to inject.\n\t */\n\tinsertButton( button ) {\n\t\tif ( ! this.isPresent ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst wrapper = this.wrapperElement;\n\n\t\tif ( this.#button ) {\n\t\t\tthis.removeButton();\n\t\t}\n\n\t\tthis.log( 'addButton', button );\n\n\t\tthis.#button = button;\n\t\twrapper.appendChild( this.#button );\n\t}\n\n\t/**\n\t * Removes the payment button from the DOM.\n\t */\n\tremoveButton() {\n\t\tif ( ! this.isPresent || ! this.#button ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.log( 'removeButton' );\n\n\t\ttry {\n\t\t\tthis.wrapperElement.removeChild( this.#button );\n\t\t} catch ( Exception ) {\n\t\t\t// Ignore this.\n\t\t}\n\n\t\tthis.#button = null;\n\t}\n}\n","/* global ApplePaySession */\n/* global PayPalCommerceGateway */\n\nimport { createAppleErrors } from './Helper/applePayError';\nimport FormValidator from '../../../ppcp-button/resources/js/modules/Helper/FormValidator';\nimport ErrorHandler from '../../../ppcp-button/resources/js/modules/ErrorHandler';\nimport widgetBuilder from '../../../ppcp-button/resources/js/modules/Renderer/WidgetBuilder';\nimport PaymentButton from '../../../ppcp-button/resources/js/modules/Renderer/PaymentButton';\nimport {\n\tPaymentContext,\n\tPaymentMethods,\n} from '../../../ppcp-button/resources/js/modules/Helper/CheckoutMethodState';\nimport {\n\tcombineStyles,\n\tcombineWrapperIds,\n} from '../../../ppcp-button/resources/js/modules/Helper/PaymentButtonHelpers';\n\n/**\n * Plugin-specific styling.\n *\n * Note that most properties of this object do not apply to the Apple Pay button.\n *\n * @typedef {Object} PPCPStyle\n * @property {string} shape - Outline shape.\n * @property {?number} height - Button height in pixel.\n */\n\n/**\n * Style options that are defined by the Apple Pay SDK and are required to render the button.\n *\n * @typedef {Object} ApplePayStyle\n * @property {string} type - Defines the button label.\n * @property {string} color - Button color\n * @property {string} lang - The locale; an empty string will apply the user-agent's language.\n */\n\n/**\n * This object describes the transaction details.\n *\n * @typedef {Object} TransactionInfo\n * @property {string} countryCode - The ISO country code\n * @property {string} currencyCode - The ISO currency code\n * @property {string} totalPriceStatus - Usually 'FINAL', can also be 'DRAFT'\n * @property {string} totalPrice - Total monetary value of the transaction.\n * @property {Array} chosenShippingMethods - Selected shipping method.\n * @property {string} shippingPackages - A list of available shipping methods, defined by WooCommerce.\n */\n\n/**\n * A payment button for Apple Pay.\n *\n * On a single page, multiple Apple Pay buttons can be displayed, which also means multiple\n * ApplePayButton instances exist. A typical case is on the product page, where one Apple Pay button\n * is located inside the minicart-popup, and another pay-now button is in the product context.\n */\nclass ApplePayButton extends PaymentButton {\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic methodId = PaymentMethods.APPLEPAY;\n\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic cssClass = 'ppcp-button-applepay';\n\n\t#formData = null;\n\t#updatedContactInfo = [];\n\t#selectedShippingMethod = [];\n\n\t/**\n\t * Initialization data sent to the button.\n\t */\n\t#initialPaymentRequest = null;\n\n\t/**\n\t * Details about the processed transaction, provided to the Apple SDK.\n\t *\n\t * @type {?TransactionInfo}\n\t */\n\t#transactionInfo = null;\n\n\t/**\n\t * Apple Pay specific API configuration.\n\t */\n\t#applePayConfig = null;\n\n\t/**\n\t * Details about the product (relevant on product page)\n\t *\n\t * @type {{quantity: ?number, items: []}}\n\t */\n\t#product = {};\n\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic getWrappers( buttonConfig, ppcpConfig ) {\n\t\treturn combineWrapperIds(\n\t\t\tbuttonConfig?.button?.wrapper || '',\n\t\t\tbuttonConfig?.button?.mini_cart_wrapper || '',\n\t\t\tppcpConfig?.button?.wrapper || '',\n\t\t\t'ppc-button-applepay-container',\n\t\t\t'ppc-button-ppcp-applepay'\n\t\t);\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic getStyles( buttonConfig, ppcpConfig ) {\n\t\tconst { color, lang, type } = buttonConfig?.button || {};\n\t\tconst buttonStyle = { color, lang, type };\n\n\t\tconst buttonStyles = {\n\t\t\tstyle: buttonStyle,\n\t\t\tmini_cart_style: buttonStyle,\n\t\t};\n\n\t\treturn combineStyles( ppcpConfig?.button || {}, buttonStyles );\n\t}\n\n\tconstructor(\n\t\tcontext,\n\t\texternalHandler,\n\t\tbuttonConfig,\n\t\tppcpConfig,\n\t\tcontextHandler\n\t) {\n\t\t// Disable debug output in the browser console:\n\t\t// buttonConfig.is_debug = false;\n\n\t\tsuper(\n\t\t\tcontext,\n\t\t\texternalHandler,\n\t\t\tbuttonConfig,\n\t\t\tppcpConfig,\n\t\t\tcontextHandler\n\t\t);\n\n\t\tthis.init = this.init.bind( this );\n\t\tthis.onPaymentAuthorized = this.onPaymentAuthorized.bind( this );\n\t\tthis.onButtonClick = this.onButtonClick.bind( this );\n\n\t\tthis.#product = {\n\t\t\tquantity: null,\n\t\t\titems: [],\n\t\t};\n\n\t\tthis.log( 'Create instance' );\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tget requiresShipping() {\n\t\tif ( ! super.requiresShipping ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif ( ! this.buttonConfig.product?.needShipping ) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn (\n\t\t\tPaymentContext.Checkout !== this.context ||\n\t\t\tthis.shouldUpdateButtonWithFormData\n\t\t);\n\t}\n\n\t/**\n\t * Details about the processed transaction.\n\t *\n\t * This object defines the price that is charged, and text that is displayed inside the\n\t * payment sheet.\n\t *\n\t * @return {?TransactionInfo} The TransactionInfo object.\n\t */\n\tget transactionInfo() {\n\t\treturn this.#transactionInfo;\n\t}\n\n\t/**\n\t * Assign the new transaction details to the payment button.\n\t *\n\t * @param {TransactionInfo} newTransactionInfo - Transaction details.\n\t */\n\tset transactionInfo( newTransactionInfo ) {\n\t\tthis.#transactionInfo = newTransactionInfo;\n\n\t\tthis.refresh();\n\t}\n\n\t/**\n\t * The nonce for ajax requests.\n\t *\n\t * @return {string} The nonce value\n\t */\n\tget nonce() {\n\t\tconst input = document.getElementById(\n\t\t\t'woocommerce-process-checkout-nonce'\n\t\t);\n\n\t\treturn input?.value || this.buttonConfig.nonce;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tregisterValidationRules( invalidIf, validIf ) {\n\t\tvalidIf( () => this.isPreview );\n\n\t\tinvalidIf(\n\t\t\t() => ! this.#applePayConfig,\n\t\t\t'No API configuration - missing configure() call?'\n\t\t);\n\n\t\tinvalidIf(\n\t\t\t() => ! this.#transactionInfo,\n\t\t\t'No transactionInfo - missing configure() call?'\n\t\t);\n\n\t\tinvalidIf(\n\t\t\t() => ! this.contextHandler?.validateContext(),\n\t\t\t`Invalid context handler.`\n\t\t);\n\t}\n\n\t/**\n\t * Configures the button instance. Must be called before the initial `init()`.\n\t *\n\t * @param {Object} apiConfig - API configuration.\n\t * @param {TransactionInfo} transactionInfo - Transaction details.\n\t */\n\tconfigure( apiConfig, transactionInfo ) {\n\t\tthis.#applePayConfig = apiConfig;\n\t\tthis.#transactionInfo = transactionInfo;\n\t}\n\n\tinit() {\n\t\t// Use `reinit()` to force a full refresh of an initialized button.\n\t\tif ( this.isInitialized ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Stop, if configuration is invalid.\n\t\tif ( ! this.validateConfiguration() ) {\n\t\t\treturn;\n\t\t}\n\n\t\tsuper.init();\n\t\tthis.checkEligibility();\n\t}\n\n\treinit() {\n\t\t// Missing (invalid) configuration indicates, that the first `init()` call did not happen yet.\n\t\tif ( ! this.validateConfiguration( true ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tsuper.reinit();\n\n\t\tthis.init();\n\t}\n\n\t/**\n\t * Re-check if the current session is eligible for Apple Pay.\n\t */\n\tcheckEligibility() {\n\t\tif ( this.isPreview ) {\n\t\t\tthis.isEligible = true;\n\t\t\treturn;\n\t\t}\n\n\t\ttry {\n\t\t\tif ( ! window.ApplePaySession?.canMakePayments() ) {\n\t\t\t\tthis.isEligible = false;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.isEligible = !! this.#applePayConfig.isEligible;\n\t\t} catch ( error ) {\n\t\t\tthis.isEligible = false;\n\t\t}\n\t}\n\n\t/**\n\t * Starts an Apple Pay session, which means that the user interacted with the Apple Pay button.\n\t *\n\t * @param {Object} paymentRequest The payment request object.\n\t */\n\tapplePaySession( paymentRequest ) {\n\t\tthis.log( 'applePaySession', paymentRequest );\n\t\tconst session = new ApplePaySession( 4, paymentRequest );\n\n\t\tif ( this.requiresShipping ) {\n\t\t\tsession.onshippingmethodselected =\n\t\t\t\tthis.onShippingMethodSelected( session );\n\t\t\tsession.onshippingcontactselected =\n\t\t\t\tthis.onShippingContactSelected( session );\n\t\t}\n\n\t\tsession.onvalidatemerchant = this.onValidateMerchant( session );\n\t\tsession.onpaymentauthorized = this.onPaymentAuthorized( session );\n\n\t\t/**\n\t\t * This starts the merchant validation process and displays the payment sheet\n\t\t * {@see https://developer.apple.com/documentation/apple_pay_on_the_web/applepaysession/1778001-begin}\n\t\t *\n\t\t * After calling the `begin` method, the browser invokes your `onvalidatemerchant` handler\n\t\t * {@see https://applepaydemo.apple.com/apple-pay-js-api}\n\t\t */\n\t\tsession.begin();\n\n\t\treturn session;\n\t}\n\n\t/**\n\t * Applies CSS classes and inline styling to the payment button wrapper.\n\t */\n\tapplyWrapperStyles() {\n\t\tsuper.applyWrapperStyles();\n\n\t\tconst { height } = this.style;\n\n\t\tif ( height ) {\n\t\t\tconst wrapper = this.wrapperElement;\n\n\t\t\twrapper.style.setProperty(\n\t\t\t\t'--apple-pay-button-height',\n\t\t\t\t`${ height }px`\n\t\t\t);\n\n\t\t\twrapper.style.height = `${ height }px`;\n\t\t}\n\t}\n\n\t/**\n\t * Creates the payment button and calls `this.insertButton()` to make the button visible in the\n\t * correct wrapper.\n\t */\n\taddButton() {\n\t\tconst { color, type, language } = this.style;\n\n\t\tconst button = document.createElement( 'apple-pay-button' );\n\t\tbutton.id = 'apple-' + this.wrapperId;\n\t\tbutton.setAttribute( 'buttonstyle', color );\n\t\tbutton.setAttribute( 'type', type );\n\t\tbutton.setAttribute( 'locale', language );\n\n\t\tbutton.addEventListener( 'click', ( evt ) => {\n\t\t\tevt.preventDefault();\n\t\t\tthis.onButtonClick();\n\t\t} );\n\n\t\tthis.insertButton( button );\n\t}\n\n\t//------------------------\n\t// Button click\n\t//------------------------\n\n\t/**\n\t * Show Apple Pay payment sheet when Apple Pay payment button is clicked\n\t */\n\tasync onButtonClick() {\n\t\tthis.log( 'onButtonClick' );\n\n\t\tconst paymentRequest = this.paymentRequest();\n\n\t\t// Do this on another place like on create order endpoint handler.\n\t\twindow.ppcpFundingSource = 'apple_pay';\n\n\t\t// Trigger woocommerce validation if we are in the checkout page.\n\t\tif ( PaymentContext.Checkout === this.context ) {\n\t\t\tconst checkoutFormSelector = 'form.woocommerce-checkout';\n\t\t\tconst errorHandler = new ErrorHandler(\n\t\t\t\tPayPalCommerceGateway.labels.error.generic,\n\t\t\t\tdocument.querySelector( '.woocommerce-notices-wrapper' )\n\t\t\t);\n\n\t\t\ttry {\n\t\t\t\tconst formData = new FormData(\n\t\t\t\t\tdocument.querySelector( checkoutFormSelector )\n\t\t\t\t);\n\t\t\t\tthis.#formData = Object.fromEntries( formData.entries() );\n\n\t\t\t\tthis.updateRequestDataWithForm( paymentRequest );\n\t\t\t} catch ( error ) {\n\t\t\t\tconsole.error( error );\n\t\t\t}\n\n\t\t\tthis.log( '=== paymentRequest', paymentRequest );\n\n\t\t\tconst session = this.applePaySession( paymentRequest );\n\t\t\tconst formValidator =\n\t\t\t\tPayPalCommerceGateway.early_checkout_validation_enabled\n\t\t\t\t\t? new FormValidator(\n\t\t\t\t\t\t\tPayPalCommerceGateway.ajax.validate_checkout.endpoint,\n\t\t\t\t\t\t\tPayPalCommerceGateway.ajax.validate_checkout.nonce\n\t\t\t\t\t )\n\t\t\t\t\t: null;\n\n\t\t\tif ( formValidator ) {\n\t\t\t\ttry {\n\t\t\t\t\tconst errors = await formValidator.validate(\n\t\t\t\t\t\tdocument.querySelector( checkoutFormSelector )\n\t\t\t\t\t);\n\t\t\t\t\tif ( errors.length > 0 ) {\n\t\t\t\t\t\terrorHandler.messages( errors );\n\t\t\t\t\t\tjQuery( document.body ).trigger( 'checkout_error', [\n\t\t\t\t\t\t\terrorHandler.currentHtml(),\n\t\t\t\t\t\t] );\n\t\t\t\t\t\tsession.abort();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} catch ( error ) {\n\t\t\t\t\tconsole.error( error );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\n\t\t// Default session initialization.\n\t\tthis.applePaySession( paymentRequest );\n\t}\n\n\t/**\n\t * If the button should be updated with the form addresses.\n\t *\n\t * @return {boolean} True, when Apple Pay data should be submitted to WooCommerce.\n\t */\n\tget shouldUpdateButtonWithFormData() {\n\t\tif ( PaymentContext.Checkout !== this.context ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn (\n\t\t\tthis.buttonConfig?.preferences?.checkout_data_mode ===\n\t\t\t'use_applepay'\n\t\t);\n\t}\n\n\t/**\n\t * Indicates how payment completion should be handled if with the context handler default\n\t * actions. Or with Apple Pay module specific completion.\n\t *\n\t * @return {boolean} True, when the Apple Pay data should be submitted to WooCommerce.\n\t */\n\tget shouldCompletePaymentWithContextHandler() {\n\t\t// Data already handled, ex: PayNow\n\t\tif ( ! this.contextHandler.shippingAllowed() ) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Use WC form data mode in Checkout.\n\t\treturn (\n\t\t\tPaymentContext.Checkout === this.context &&\n\t\t\t! this.shouldUpdateButtonWithFormData\n\t\t);\n\t}\n\n\t/**\n\t * Updates Apple Pay paymentRequest with form data.\n\t *\n\t * @param {Object} paymentRequest Object to extend with form data.\n\t */\n\tupdateRequestDataWithForm( paymentRequest ) {\n\t\tif ( ! this.shouldUpdateButtonWithFormData ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Add billing address.\n\t\tpaymentRequest.billingContact = this.fillBillingContact(\n\t\t\tthis.#formData\n\t\t);\n\n\t\tif ( ! this.requiresShipping ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Add shipping address.\n\t\tpaymentRequest.shippingContact = this.fillShippingContact(\n\t\t\tthis.#formData\n\t\t);\n\n\t\t// Get shipping methods.\n\t\tconst rate = this.transactionInfo.chosenShippingMethods[ 0 ];\n\t\tpaymentRequest.shippingMethods = [];\n\n\t\t// Add selected shipping method.\n\t\tfor ( const shippingPackage of this.transactionInfo.shippingPackages ) {\n\t\t\tif ( rate === shippingPackage.id ) {\n\t\t\t\tconst shippingMethod = {\n\t\t\t\t\tlabel: shippingPackage.label,\n\t\t\t\t\tdetail: '',\n\t\t\t\t\tamount: shippingPackage.cost_str,\n\t\t\t\t\tidentifier: shippingPackage.id,\n\t\t\t\t};\n\n\t\t\t\t// Remember this shipping method as the selected one.\n\t\t\t\tthis.#selectedShippingMethod = shippingMethod;\n\n\t\t\t\tpaymentRequest.shippingMethods.push( shippingMethod );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\t// Add other shipping methods.\n\t\tfor ( const shippingPackage of this.transactionInfo.shippingPackages ) {\n\t\t\tif ( rate !== shippingPackage.id ) {\n\t\t\t\tpaymentRequest.shippingMethods.push( {\n\t\t\t\t\tlabel: shippingPackage.label,\n\t\t\t\t\tdetail: '',\n\t\t\t\t\tamount: shippingPackage.cost_str,\n\t\t\t\t\tidentifier: shippingPackage.id,\n\t\t\t\t} );\n\t\t\t}\n\t\t}\n\n\t\t// Store for reuse in case this data is not provided by ApplePay on authorization.\n\t\tthis.#initialPaymentRequest = paymentRequest;\n\n\t\tthis.log(\n\t\t\t'=== paymentRequest.shippingMethods',\n\t\t\tpaymentRequest.shippingMethods\n\t\t);\n\t}\n\n\tpaymentRequest() {\n\t\tconst applepayConfig = this.#applePayConfig;\n\t\tconst buttonConfig = this.buttonConfig;\n\t\tconst baseRequest = {\n\t\t\tcountryCode: applepayConfig.countryCode,\n\t\t\tmerchantCapabilities: applepayConfig.merchantCapabilities,\n\t\t\tsupportedNetworks: applepayConfig.supportedNetworks,\n\t\t\trequiredShippingContactFields: [\n\t\t\t\t'postalAddress',\n\t\t\t\t'email',\n\t\t\t\t'phone',\n\t\t\t],\n\t\t\t// ApplePay does not implement billing email and phone fields.\n\t\t\trequiredBillingContactFields: [ 'postalAddress' ],\n\t\t};\n\n\t\tif ( ! this.requiresShipping ) {\n\t\t\tif ( this.shouldCompletePaymentWithContextHandler ) {\n\t\t\t\t// Data is handled externally.\n\t\t\t\tbaseRequest.requiredShippingContactFields = [];\n\t\t\t} else {\n\t\t\t\t// Minimum data required to create order.\n\t\t\t\tbaseRequest.requiredShippingContactFields = [\n\t\t\t\t\t'email',\n\t\t\t\t\t'phone',\n\t\t\t\t];\n\t\t\t}\n\t\t}\n\n\t\tconst paymentRequest = Object.assign( {}, baseRequest );\n\t\tpaymentRequest.currencyCode = buttonConfig.shop.currencyCode;\n\t\tpaymentRequest.total = {\n\t\t\tlabel: buttonConfig.shop.totalLabel,\n\t\t\ttype: 'final',\n\t\t\tamount: this.transactionInfo.totalPrice,\n\t\t};\n\n\t\treturn paymentRequest;\n\t}\n\n\trefreshProductContextData() {\n\t\tif ( PaymentContext.Product !== this.context ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Refresh product data that makes the price change.\n\t\tthis.#product.quantity = document.querySelector( 'input.qty' )?.value;\n\n\t\t// Always an array; grouped products can return multiple items.\n\t\tthis.#product.items = this.contextHandler.products();\n\n\t\tthis.log( 'Products updated', this.#product );\n\t}\n\n\t//------------------------\n\t// Payment process\n\t//------------------------\n\n\t/**\n\t * Make ajax call to change the verification-status of the current domain.\n\t *\n\t * @param {boolean} isValid\n\t */\n\tadminValidation( isValid ) {\n\t\t// eslint-disable-next-line no-unused-vars\n\t\tconst ignored = fetch( this.buttonConfig.ajax_url, {\n\t\t\tmethod: 'POST',\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/x-www-form-urlencoded',\n\t\t\t},\n\t\t\tbody: new URLSearchParams( {\n\t\t\t\taction: 'ppcp_validate',\n\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\tvalidation: isValid,\n\t\t\t} ).toString(),\n\t\t} );\n\t}\n\n\t/**\n\t * Returns an event handler that Apple Pay calls when displaying the payment sheet.\n\t *\n\t * @see https://developer.apple.com/documentation/apple_pay_on_the_web/applepaysession/1778021-onvalidatemerchant\n\t *\n\t * @param {Object} session The ApplePaySession object.\n\t *\n\t * @return {(function(*): void)|*} Callback that runs after the merchant validation\n\t */\n\tonValidateMerchant( session ) {\n\t\treturn ( applePayValidateMerchantEvent ) => {\n\t\t\tthis.log( 'onvalidatemerchant call' );\n\n\t\t\twidgetBuilder.paypal\n\t\t\t\t.Applepay()\n\t\t\t\t.validateMerchant( {\n\t\t\t\t\tvalidationUrl: applePayValidateMerchantEvent.validationURL,\n\t\t\t\t} )\n\t\t\t\t.then( ( validateResult ) => {\n\t\t\t\t\tsession.completeMerchantValidation(\n\t\t\t\t\t\tvalidateResult.merchantSession\n\t\t\t\t\t);\n\n\t\t\t\t\tthis.adminValidation( true );\n\t\t\t\t} )\n\t\t\t\t.catch( ( validateError ) => {\n\t\t\t\t\tconsole.error( validateError );\n\t\t\t\t\tthis.adminValidation( false );\n\t\t\t\t\tthis.log( 'onvalidatemerchant session abort' );\n\t\t\t\t\tsession.abort();\n\t\t\t\t} );\n\t\t};\n\t}\n\n\tonShippingMethodSelected( session ) {\n\t\tthis.log( 'onshippingmethodselected', this.buttonConfig.ajax_url );\n\t\tconst ajaxUrl = this.buttonConfig.ajax_url;\n\t\treturn ( event ) => {\n\t\t\tthis.log( 'onshippingmethodselected call' );\n\n\t\t\tconst data = this.getShippingMethodData( event );\n\n\t\t\tjQuery.ajax( {\n\t\t\t\turl: ajaxUrl,\n\t\t\t\tmethod: 'POST',\n\t\t\t\tdata,\n\t\t\t\tsuccess: ( applePayShippingMethodUpdate ) => {\n\t\t\t\t\tthis.log( 'onshippingmethodselected ok' );\n\t\t\t\t\tconst response = applePayShippingMethodUpdate.data;\n\t\t\t\t\tif ( applePayShippingMethodUpdate.success === false ) {\n\t\t\t\t\t\tresponse.errors = createAppleErrors( response.errors );\n\t\t\t\t\t}\n\t\t\t\t\tthis.#selectedShippingMethod = event.shippingMethod;\n\n\t\t\t\t\t// Sort the response shipping methods, so that the selected shipping method is\n\t\t\t\t\t// the first one.\n\t\t\t\t\tresponse.newShippingMethods =\n\t\t\t\t\t\tresponse.newShippingMethods.sort( ( a ) => {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\ta.label === this.#selectedShippingMethod.label\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t} );\n\n\t\t\t\t\tif ( applePayShippingMethodUpdate.success === false ) {\n\t\t\t\t\t\tresponse.errors = createAppleErrors( response.errors );\n\t\t\t\t\t}\n\t\t\t\t\tsession.completeShippingMethodSelection( response );\n\t\t\t\t},\n\t\t\t\terror: ( jqXHR, textStatus, errorThrown ) => {\n\t\t\t\t\tthis.log( 'onshippingmethodselected error', textStatus );\n\t\t\t\t\tconsole.warn( textStatus, errorThrown );\n\t\t\t\t\tsession.abort();\n\t\t\t\t},\n\t\t\t} );\n\t\t};\n\t}\n\n\tonShippingContactSelected( session ) {\n\t\tthis.log( 'onshippingcontactselected', this.buttonConfig.ajax_url );\n\n\t\tconst ajaxUrl = this.buttonConfig.ajax_url;\n\n\t\treturn ( event ) => {\n\t\t\tthis.log( 'onshippingcontactselected call' );\n\n\t\t\tconst data = this.getShippingContactData( event );\n\n\t\t\tjQuery.ajax( {\n\t\t\t\turl: ajaxUrl,\n\t\t\t\tmethod: 'POST',\n\t\t\t\tdata,\n\t\t\t\tsuccess: ( applePayShippingContactUpdate ) => {\n\t\t\t\t\tthis.log( 'onshippingcontactselected ok' );\n\t\t\t\t\tconst response = applePayShippingContactUpdate.data;\n\t\t\t\t\tthis.#updatedContactInfo = event.shippingContact;\n\t\t\t\t\tif ( applePayShippingContactUpdate.success === false ) {\n\t\t\t\t\t\tresponse.errors = createAppleErrors( response.errors );\n\t\t\t\t\t}\n\t\t\t\t\tif ( response.newShippingMethods ) {\n\t\t\t\t\t\tthis.#selectedShippingMethod =\n\t\t\t\t\t\t\tresponse.newShippingMethods[ 0 ];\n\t\t\t\t\t}\n\t\t\t\t\tsession.completeShippingContactSelection( response );\n\t\t\t\t},\n\t\t\t\terror: ( jqXHR, textStatus, errorThrown ) => {\n\t\t\t\t\tthis.log( 'onshippingcontactselected error', textStatus );\n\t\t\t\t\tconsole.warn( textStatus, errorThrown );\n\t\t\t\t\tsession.abort();\n\t\t\t\t},\n\t\t\t} );\n\t\t};\n\t}\n\n\tgetShippingContactData( event ) {\n\t\tconst productId = this.buttonConfig.product.id;\n\n\t\tthis.refreshProductContextData();\n\n\t\tswitch ( this.context ) {\n\t\t\tcase PaymentContext.Product:\n\t\t\t\treturn {\n\t\t\t\t\taction: 'ppcp_update_shipping_contact',\n\t\t\t\t\tproduct_id: productId,\n\t\t\t\t\tproducts: JSON.stringify( this.#product.items ),\n\t\t\t\t\tcaller_page: 'productDetail',\n\t\t\t\t\tproduct_quantity: this.#product.quantity,\n\t\t\t\t\tsimplified_contact: event.shippingContact,\n\t\t\t\t\tneed_shipping: this.requiresShipping,\n\t\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\t};\n\n\t\t\tcase PaymentContext.Cart:\n\t\t\tcase PaymentContext.Checkout:\n\t\t\tcase PaymentContext.BlockCart:\n\t\t\tcase PaymentContext.BlockCheckout:\n\t\t\tcase PaymentContext.MiniCart:\n\t\t\t\treturn {\n\t\t\t\t\taction: 'ppcp_update_shipping_contact',\n\t\t\t\t\tsimplified_contact: event.shippingContact,\n\t\t\t\t\tcaller_page: 'cart',\n\t\t\t\t\tneed_shipping: this.requiresShipping,\n\t\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\t};\n\t\t}\n\t}\n\n\tgetShippingMethodData( event ) {\n\t\tconst productId = this.buttonConfig.product.id;\n\n\t\tthis.refreshProductContextData();\n\n\t\tswitch ( this.context ) {\n\t\t\tcase PaymentContext.Product:\n\t\t\t\treturn {\n\t\t\t\t\taction: 'ppcp_update_shipping_method',\n\t\t\t\t\tshipping_method: event.shippingMethod,\n\t\t\t\t\tsimplified_contact: this.hasValidContactInfo(\n\t\t\t\t\t\tthis.#updatedContactInfo\n\t\t\t\t\t)\n\t\t\t\t\t\t? this.#updatedContactInfo\n\t\t\t\t\t\t: this.#initialPaymentRequest?.shippingContact ??\n\t\t\t\t\t\t this.#initialPaymentRequest?.billingContact,\n\t\t\t\t\tproduct_id: productId,\n\t\t\t\t\tproducts: JSON.stringify( this.#product.items ),\n\t\t\t\t\tcaller_page: 'productDetail',\n\t\t\t\t\tproduct_quantity: this.#product.quantity,\n\t\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\t};\n\n\t\t\tcase PaymentContext.Cart:\n\t\t\tcase PaymentContext.Checkout:\n\t\t\tcase PaymentContext.BlockCart:\n\t\t\tcase PaymentContext.BlockCheckout:\n\t\t\tcase PaymentContext.MiniCart:\n\t\t\t\treturn {\n\t\t\t\t\taction: 'ppcp_update_shipping_method',\n\t\t\t\t\tshipping_method: event.shippingMethod,\n\t\t\t\t\tsimplified_contact: this.hasValidContactInfo(\n\t\t\t\t\t\tthis.#updatedContactInfo\n\t\t\t\t\t)\n\t\t\t\t\t\t? this.#updatedContactInfo\n\t\t\t\t\t\t: this.#initialPaymentRequest?.shippingContact ??\n\t\t\t\t\t\t this.#initialPaymentRequest?.billingContact,\n\t\t\t\t\tcaller_page: 'cart',\n\t\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\t};\n\t\t}\n\t}\n\n\tonPaymentAuthorized( session ) {\n\t\tthis.log( 'onpaymentauthorized' );\n\t\treturn async ( event ) => {\n\t\t\tthis.log( 'onpaymentauthorized call' );\n\n\t\t\tconst processInWooAndCapture = async ( data ) => {\n\t\t\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tconst billingContact =\n\t\t\t\t\t\t\tdata.billing_contact ||\n\t\t\t\t\t\t\tthis.#initialPaymentRequest.billingContact;\n\t\t\t\t\t\tconst shippingContact =\n\t\t\t\t\t\t\tdata.shipping_contact ||\n\t\t\t\t\t\t\tthis.#initialPaymentRequest.shippingContact;\n\t\t\t\t\t\tconst shippingMethod =\n\t\t\t\t\t\t\tthis.#selectedShippingMethod ||\n\t\t\t\t\t\t\t( this.#initialPaymentRequest.shippingMethods ||\n\t\t\t\t\t\t\t\t[] )[ 0 ];\n\n\t\t\t\t\t\tconst requestData = {\n\t\t\t\t\t\t\taction: 'ppcp_create_order',\n\t\t\t\t\t\t\tcaller_page: this.context,\n\t\t\t\t\t\t\tproduct_id: this.buttonConfig.product.id ?? null,\n\t\t\t\t\t\t\tproducts: JSON.stringify( this.#product.items ),\n\t\t\t\t\t\t\tproduct_quantity: this.#product.quantity,\n\t\t\t\t\t\t\tshipping_contact: shippingContact,\n\t\t\t\t\t\t\tbilling_contact: billingContact,\n\t\t\t\t\t\t\ttoken: event.payment.token,\n\t\t\t\t\t\t\tshipping_method: shippingMethod,\n\t\t\t\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\t\t\t\tfunding_source: 'applepay',\n\t\t\t\t\t\t\t_wp_http_referer: '/?wc-ajax=update_order_review',\n\t\t\t\t\t\t\tpaypal_order_id: data.paypal_order_id,\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tthis.log(\n\t\t\t\t\t\t\t'onpaymentauthorized request',\n\t\t\t\t\t\t\tthis.buttonConfig.ajax_url,\n\t\t\t\t\t\t\tdata\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\tjQuery.ajax( {\n\t\t\t\t\t\t\turl: this.buttonConfig.ajax_url,\n\t\t\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\t\t\tdata: requestData,\n\t\t\t\t\t\t\tcomplete: () => {\n\t\t\t\t\t\t\t\tthis.log( 'onpaymentauthorized complete' );\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsuccess: ( authorizationResult ) => {\n\t\t\t\t\t\t\t\tthis.log( 'onpaymentauthorized ok' );\n\t\t\t\t\t\t\t\tresolve( authorizationResult );\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\terror: ( jqXHR, textStatus, errorThrown ) => {\n\t\t\t\t\t\t\t\tthis.log(\n\t\t\t\t\t\t\t\t\t'onpaymentauthorized error',\n\t\t\t\t\t\t\t\t\ttextStatus\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treject( new Error( errorThrown ) );\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t} );\n\t\t\t\t\t} catch ( error ) {\n\t\t\t\t\t\tthis.error( 'onpaymentauthorized catch', error );\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t};\n\n\t\t\tconst id = await this.contextHandler.createOrder();\n\n\t\t\tthis.log(\n\t\t\t\t'onpaymentauthorized paypal order ID',\n\t\t\t\tid,\n\t\t\t\tevent.payment.token,\n\t\t\t\tevent.payment.billingContact\n\t\t\t);\n\n\t\t\ttry {\n\t\t\t\tconst confirmOrderResponse = await widgetBuilder.paypal\n\t\t\t\t\t.Applepay()\n\t\t\t\t\t.confirmOrder( {\n\t\t\t\t\t\torderId: id,\n\t\t\t\t\t\ttoken: event.payment.token,\n\t\t\t\t\t\tbillingContact: event.payment.billingContact,\n\t\t\t\t\t} );\n\n\t\t\t\tthis.log(\n\t\t\t\t\t'onpaymentauthorized confirmOrderResponse',\n\t\t\t\t\tconfirmOrderResponse\n\t\t\t\t);\n\n\t\t\t\tif (\n\t\t\t\t\tconfirmOrderResponse &&\n\t\t\t\t\tconfirmOrderResponse.approveApplePayPayment\n\t\t\t\t) {\n\t\t\t\t\tif (\n\t\t\t\t\t\tconfirmOrderResponse.approveApplePayPayment.status ===\n\t\t\t\t\t\t'APPROVED'\n\t\t\t\t\t) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tthis.shouldCompletePaymentWithContextHandler\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t// No shipping, expect immediate capture, ex: PayNow, Checkout with\n\t\t\t\t\t\t\t\t// form data.\n\n\t\t\t\t\t\t\t\tlet approveFailed = false;\n\t\t\t\t\t\t\t\tawait this.contextHandler.approveOrder(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\torderID: id,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t// actions mock object.\n\t\t\t\t\t\t\t\t\t\trestart: () =>\n\t\t\t\t\t\t\t\t\t\t\tnew Promise( ( resolve ) => {\n\t\t\t\t\t\t\t\t\t\t\t\tapproveFailed = true;\n\t\t\t\t\t\t\t\t\t\t\t\tresolve();\n\t\t\t\t\t\t\t\t\t\t\t} ),\n\t\t\t\t\t\t\t\t\t\torder: {\n\t\t\t\t\t\t\t\t\t\t\tget: () =>\n\t\t\t\t\t\t\t\t\t\t\t\tnew Promise( ( resolve ) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\tresolve( null );\n\t\t\t\t\t\t\t\t\t\t\t\t} ),\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\tif ( ! approveFailed ) {\n\t\t\t\t\t\t\t\t\tthis.log(\n\t\t\t\t\t\t\t\t\t\t'onpaymentauthorized approveOrder OK'\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tsession.completePayment(\n\t\t\t\t\t\t\t\t\t\tApplePaySession.STATUS_SUCCESS\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tthis.error(\n\t\t\t\t\t\t\t\t\t\t'onpaymentauthorized approveOrder FAIL'\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tsession.completePayment(\n\t\t\t\t\t\t\t\t\t\tApplePaySession.STATUS_FAILURE\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tsession.abort();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// Default payment.\n\n\t\t\t\t\t\t\t\tconst data = {\n\t\t\t\t\t\t\t\t\tbilling_contact:\n\t\t\t\t\t\t\t\t\t\tevent.payment.billingContact,\n\t\t\t\t\t\t\t\t\tshipping_contact:\n\t\t\t\t\t\t\t\t\t\tevent.payment.shippingContact,\n\t\t\t\t\t\t\t\t\tpaypal_order_id: id,\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\tconst authorizationResult =\n\t\t\t\t\t\t\t\t\tawait processInWooAndCapture( data );\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\tauthorizationResult.result === 'success'\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tsession.completePayment(\n\t\t\t\t\t\t\t\t\t\tApplePaySession.STATUS_SUCCESS\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\twindow.location.href =\n\t\t\t\t\t\t\t\t\t\tauthorizationResult.redirect;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tsession.completePayment(\n\t\t\t\t\t\t\t\t\t\tApplePaySession.STATUS_FAILURE\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} catch ( error ) {\n\t\t\t\t\t\t\tsession.completePayment(\n\t\t\t\t\t\t\t\tApplePaySession.STATUS_FAILURE\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tsession.abort();\n\t\t\t\t\t\t\tconsole.error( error );\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.error( 'Error status is not APPROVED' );\n\t\t\t\t\t\tsession.completePayment(\n\t\t\t\t\t\t\tApplePaySession.STATUS_FAILURE\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error( 'Invalid confirmOrderResponse' );\n\t\t\t\t\tsession.completePayment( ApplePaySession.STATUS_FAILURE );\n\t\t\t\t}\n\t\t\t} catch ( error ) {\n\t\t\t\tconsole.error(\n\t\t\t\t\t'Error confirming order with applepay token',\n\t\t\t\t\terror\n\t\t\t\t);\n\t\t\t\tsession.completePayment( ApplePaySession.STATUS_FAILURE );\n\t\t\t\tsession.abort();\n\t\t\t}\n\t\t};\n\t}\n\n\t#extractContactInfo( data, primaryPrefix, fallbackPrefix ) {\n\t\tif ( ! data || typeof data !== 'object' ) {\n\t\t\tdata = {};\n\t\t}\n\n\t\tconst getValue = ( key ) =>\n\t\t\tdata[ `${ primaryPrefix }_${ key }` ] ||\n\t\t\tdata[ `${ fallbackPrefix }_${ key }` ] ||\n\t\t\t'';\n\n\t\treturn {\n\t\t\tgivenName: getValue( 'first_name' ),\n\t\t\tfamilyName: getValue( 'last_name' ),\n\t\t\temailAddress: getValue( 'email' ),\n\t\t\tphoneNumber: getValue( 'phone' ),\n\t\t\taddressLines: [ getValue( 'address_1' ), getValue( 'address_2' ) ],\n\t\t\tlocality: getValue( 'city' ),\n\t\t\tpostalCode: getValue( 'postcode' ),\n\t\t\tcountryCode: getValue( 'country' ),\n\t\t\tadministrativeArea: getValue( 'state' ),\n\t\t};\n\t}\n\n\tfillBillingContact( data ) {\n\t\treturn this.#extractContactInfo( data, 'billing', '' );\n\t}\n\n\tfillShippingContact( data ) {\n\t\tif ( ! data?.shipping_first_name ) {\n\t\t\treturn this.fillBillingContact( data );\n\t\t}\n\n\t\treturn this.#extractContactInfo( data, 'shipping', 'billing' );\n\t}\n\n\thasValidContactInfo( value ) {\n\t\treturn Array.isArray( value )\n\t\t\t? value.length > 0\n\t\t\t: Object.keys( value || {} ).length > 0;\n\t}\n}\n\nexport default ApplePayButton;\n","class Product {\n\tconstructor( id, quantity, variations, extra ) {\n\t\tthis.id = id;\n\t\tthis.quantity = quantity;\n\t\tthis.variations = variations;\n\t\tthis.extra = extra;\n\t}\n\tdata() {\n\t\treturn {\n\t\t\tid: this.id,\n\t\t\tquantity: this.quantity,\n\t\t\tvariations: this.variations,\n\t\t\textra: this.extra,\n\t\t};\n\t}\n}\n\nexport default Product;\n","import Product from './Product';\n\nclass BookingProduct extends Product {\n\tconstructor( id, quantity, booking, extra ) {\n\t\tsuper( id, quantity, null, extra );\n\t\tthis.booking = booking;\n\t}\n\n\tdata() {\n\t\treturn {\n\t\t\t...super.data(),\n\t\t\tbooking: this.booking,\n\t\t};\n\t}\n}\n\nexport default BookingProduct;\n","const onApprove = ( context, errorHandler ) => {\n\treturn ( data, actions ) => {\n\t\tconst canCreateOrder =\n\t\t\t! context.config.vaultingEnabled || data.paymentSource !== 'venmo';\n\n\t\tconst payload = {\n\t\t\tnonce: context.config.ajax.approve_order.nonce,\n\t\t\torder_id: data.orderID,\n\t\t\tfunding_source: window.ppcpFundingSource,\n\t\t\tshould_create_wc_order: canCreateOrder,\n\t\t};\n\n\t\tif ( canCreateOrder && data.payer ) {\n\t\t\tpayload.payer = data.payer;\n\t\t}\n\n\t\treturn fetch( context.config.ajax.approve_order.endpoint, {\n\t\t\tmethod: 'POST',\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/json',\n\t\t\t},\n\t\t\tcredentials: 'same-origin',\n\t\t\tbody: JSON.stringify( payload ),\n\t\t} )\n\t\t\t.then( ( res ) => {\n\t\t\t\treturn res.json();\n\t\t\t} )\n\t\t\t.then( ( approveData ) => {\n\t\t\t\tif ( ! approveData.success ) {\n\t\t\t\t\terrorHandler.genericError();\n\t\t\t\t\treturn actions.restart().catch( ( err ) => {\n\t\t\t\t\t\terrorHandler.genericError();\n\t\t\t\t\t} );\n\t\t\t\t}\n\n\t\t\t\tconst orderReceivedUrl = approveData.data?.order_received_url;\n\n\t\t\t\t/**\n\t\t\t\t * Notice how this step initiates a redirect to a new page using a plain\n\t\t\t\t * URL as new location. This process does not send any details about the\n\t\t\t\t * approved order or billed customer.\n\t\t\t\t * Also, due to the redirect starting _instantly_ there should be no other\n\t\t\t\t * logic scheduled after calling `await onApprove()`;\n\t\t\t\t */\n\n\t\t\t\twindow.location.href = orderReceivedUrl\n\t\t\t\t\t? orderReceivedUrl\n\t\t\t\t\t: context.config.redirect;\n\t\t\t} );\n\t};\n};\n\nexport default onApprove;\n","/**\n * Name details.\n *\n * @typedef {Object} NameDetails\n * @property {string} [given_name] - First name, e.g. \"John\".\n * @property {string} [surname] - Last name, e.g. \"Doe\".\n */\n\n/**\n * Postal address details.\n *\n * @typedef {Object} AddressDetails\n * @property {string} [country_code] - Country code (2-letter).\n * @property {string} [address_line_1] - Address details, line 1 (street, house number).\n * @property {string} [address_line_2] - Address details, line 2.\n * @property {string} [admin_area_1] - State or region.\n * @property {string} [admin_area_2] - State or region.\n * @property {string} [postal_code] - Zip code.\n */\n\n/**\n * Phone details.\n *\n * @typedef {Object} PhoneDetails\n * @property {string} [phone_type] - Type, usually 'HOME'\n * @property {{national_number: string}} [phone_number] - Phone number details.\n */\n\n/**\n * Payer details.\n *\n * @typedef {Object} PayerDetails\n * @property {string} [email_address] - Email address for billing communication.\n * @property {PhoneDetails} [phone] - Phone number for billing communication.\n * @property {NameDetails} [name] - Payer's name.\n * @property {AddressDetails} [address] - Postal billing address.\n */\n\n// Map checkout fields to PayerData object properties.\nconst FIELD_MAP = {\n\t'#billing_email': [ 'email_address' ],\n\t'#billing_last_name': [ 'name', 'surname' ],\n\t'#billing_first_name': [ 'name', 'given_name' ],\n\t'#billing_country': [ 'address', 'country_code' ],\n\t'#billing_address_1': [ 'address', 'address_line_1' ],\n\t'#billing_address_2': [ 'address', 'address_line_2' ],\n\t'#billing_state': [ 'address', 'admin_area_1' ],\n\t'#billing_city': [ 'address', 'admin_area_2' ],\n\t'#billing_postcode': [ 'address', 'postal_code' ],\n\t'#billing_phone': [ 'phone' ],\n};\n\nfunction normalizePayerDetails( details ) {\n\treturn {\n\t\temail_address: details.email_address,\n\t\tphone: details.phone,\n\t\tname: {\n\t\t\tsurname: details.name?.surname,\n\t\t\tgiven_name: details.name?.given_name,\n\t\t},\n\t\taddress: {\n\t\t\tcountry_code: details.address?.country_code,\n\t\t\taddress_line_1: details.address?.address_line_1,\n\t\t\taddress_line_2: details.address?.address_line_2,\n\t\t\tadmin_area_1: details.address?.admin_area_1,\n\t\t\tadmin_area_2: details.address?.admin_area_2,\n\t\t\tpostal_code: details.address?.postal_code,\n\t\t},\n\t};\n}\n\nfunction mergePayerDetails( firstPayer, secondPayer ) {\n\tconst mergeNestedObjects = ( target, source ) => {\n\t\tfor ( const [ key, value ] of Object.entries( source ) ) {\n\t\t\tif ( null !== value && undefined !== value ) {\n\t\t\t\tif ( 'object' === typeof value ) {\n\t\t\t\t\ttarget[ key ] = mergeNestedObjects(\n\t\t\t\t\t\ttarget[ key ] || {},\n\t\t\t\t\t\tvalue\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\ttarget[ key ] = value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn target;\n\t};\n\n\treturn mergeNestedObjects(\n\t\tnormalizePayerDetails( firstPayer ),\n\t\tnormalizePayerDetails( secondPayer )\n\t);\n}\n\nfunction getCheckoutBillingDetails() {\n\tconst getElementValue = ( selector ) =>\n\t\tdocument.querySelector( selector )?.value;\n\n\tconst setNestedValue = ( obj, path, value ) => {\n\t\tlet current = obj;\n\t\tfor ( let i = 0; i < path.length - 1; i++ ) {\n\t\t\tcurrent = current[ path[ i ] ] = current[ path[ i ] ] || {};\n\t\t}\n\t\tcurrent[ path[ path.length - 1 ] ] = value;\n\t};\n\n\tconst data = {};\n\n\tObject.entries( FIELD_MAP ).forEach( ( [ selector, path ] ) => {\n\t\tconst value = getElementValue( selector );\n\t\tif ( value ) {\n\t\t\tsetNestedValue( data, path, value );\n\t\t}\n\t} );\n\n\tif ( data.phone && 'string' === typeof data.phone ) {\n\t\tdata.phone = {\n\t\t\tphone_type: 'HOME',\n\t\t\tphone_number: { national_number: data.phone },\n\t\t};\n\t}\n\n\treturn data;\n}\n\nfunction setCheckoutBillingDetails( payer ) {\n\tconst setValue = ( path, field, value ) => {\n\t\tif ( null === value || undefined === value || ! field ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( 'phone' === path[ 0 ] && 'object' === typeof value ) {\n\t\t\tvalue = value.phone_number?.national_number;\n\t\t}\n\n\t\tfield.value = value;\n\t};\n\n\tconst getNestedValue = ( obj, path ) =>\n\t\tpath.reduce( ( current, key ) => current?.[ key ], obj );\n\n\tObject.entries( FIELD_MAP ).forEach( ( [ selector, path ] ) => {\n\t\tconst value = getNestedValue( payer, path );\n\t\tconst element = document.querySelector( selector );\n\n\t\tsetValue( path, element, value );\n\t} );\n}\n\nexport function getWooCommerceCustomerDetails() {\n\t// Populated on server-side with details about the current WooCommerce customer.\n\treturn window?.PayPalCommerceGateway?.payer;\n}\n\nexport function getSessionBillingDetails() {\n\t// Populated by JS via `setSessionBillingDetails()`\n\treturn window._PpcpPayerSessionDetails;\n}\n\n/**\n * Stores customer details in the current JS context for use in the same request.\n * Details that are set are not persisted during navigation.\n *\n * @param {unknown} details - New payer details\n */\nexport function setSessionBillingDetails( details ) {\n\tif ( ! details || 'object' !== typeof details ) {\n\t\treturn;\n\t}\n\n\twindow._PpcpPayerSessionDetails = normalizePayerDetails( details );\n}\n\nexport function payerData() {\n\tconst payer = getWooCommerceCustomerDetails() ?? getSessionBillingDetails();\n\n\tif ( ! payer ) {\n\t\treturn null;\n\t}\n\n\tconst formData = getCheckoutBillingDetails();\n\n\tif ( formData ) {\n\t\treturn mergePayerDetails( payer, formData );\n\t}\n\n\treturn normalizePayerDetails( payer );\n}\n\nexport function setPayerData( payerDetails, updateCheckoutForm = false ) {\n\tsetSessionBillingDetails( payerDetails );\n\n\tif ( updateCheckoutForm ) {\n\t\tsetCheckoutBillingDetails( payerDetails );\n\t}\n}\n","class CartHelper {\n\tconstructor( cartItemKeys = [] ) {\n\t\tthis.cartItemKeys = cartItemKeys;\n\t}\n\n\tgetEndpoint() {\n\t\tlet ajaxUrl = '/?wc-ajax=%%endpoint%%';\n\n\t\tif (\n\t\t\ttypeof wc_cart_fragments_params !== 'undefined' &&\n\t\t\twc_cart_fragments_params.wc_ajax_url\n\t\t) {\n\t\t\tajaxUrl = wc_cart_fragments_params.wc_ajax_url;\n\t\t}\n\n\t\treturn ajaxUrl.toString().replace( '%%endpoint%%', 'remove_from_cart' );\n\t}\n\n\taddFromPurchaseUnits( purchaseUnits ) {\n\t\tfor ( const purchaseUnit of purchaseUnits || [] ) {\n\t\t\tfor ( const item of purchaseUnit.items || [] ) {\n\t\t\t\tif ( ! item.cart_item_key ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tthis.cartItemKeys.push( item.cart_item_key );\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t}\n\n\tremoveFromCart() {\n\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\tif ( ! this.cartItemKeys || ! this.cartItemKeys.length ) {\n\t\t\t\tresolve();\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst numRequests = this.cartItemKeys.length;\n\t\t\tlet numResponses = 0;\n\n\t\t\tconst tryToResolve = () => {\n\t\t\t\tnumResponses++;\n\t\t\t\tif ( numResponses >= numRequests ) {\n\t\t\t\t\tresolve();\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tfor ( const cartItemKey of this.cartItemKeys ) {\n\t\t\t\tconst params = new URLSearchParams();\n\t\t\t\tparams.append( 'cart_item_key', cartItemKey );\n\n\t\t\t\tif ( ! cartItemKey ) {\n\t\t\t\t\ttryToResolve();\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfetch( this.getEndpoint(), {\n\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\tcredentials: 'same-origin',\n\t\t\t\t\tbody: params,\n\t\t\t\t} )\n\t\t\t\t\t.then( function ( res ) {\n\t\t\t\t\t\treturn res.json();\n\t\t\t\t\t} )\n\t\t\t\t\t.then( () => {\n\t\t\t\t\t\ttryToResolve();\n\t\t\t\t\t} )\n\t\t\t\t\t.catch( () => {\n\t\t\t\t\t\ttryToResolve();\n\t\t\t\t\t} );\n\t\t\t}\n\t\t} );\n\t}\n}\n\nexport default CartHelper;\n","/**\n * Common Form utility methods\n */\nexport default class FormHelper {\n\tstatic getPrefixedFields( formElement, prefix ) {\n\t\tconst formData = new FormData( formElement );\n\t\tconst fields = {};\n\n\t\tfor ( const [ name, value ] of formData.entries() ) {\n\t\t\tif ( ! prefix || name.startsWith( prefix ) ) {\n\t\t\t\tfields[ name ] = value;\n\t\t\t}\n\t\t}\n\n\t\treturn fields;\n\t}\n\n\tstatic getFilteredFields( formElement, exactFilters, prefixFilters ) {\n\t\tconst formData = new FormData( formElement );\n\t\tconst fields = {};\n\t\tconst counters = {};\n\n\t\tfor ( let [ name, value ] of formData.entries() ) {\n\t\t\t// Handle array format\n\t\t\tif ( name.indexOf( '[]' ) !== -1 ) {\n\t\t\t\tconst k = name;\n\t\t\t\tcounters[ k ] = counters[ k ] || 0;\n\t\t\t\tname = name.replace( '[]', `[${ counters[ k ] }]` );\n\t\t\t\tcounters[ k ]++;\n\t\t\t}\n\n\t\t\tif ( ! name ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif ( exactFilters && exactFilters.indexOf( name ) !== -1 ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (\n\t\t\t\tprefixFilters &&\n\t\t\t\tprefixFilters.some( ( prefixFilter ) =>\n\t\t\t\t\tname.startsWith( prefixFilter )\n\t\t\t\t)\n\t\t\t) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tfields[ name ] = value;\n\t\t}\n\n\t\treturn fields;\n\t}\n}\n","import Product from '../Entity/Product';\nimport BookingProduct from '../Entity/BookingProduct';\nimport onApprove from '../OnApproveHandler/onApproveForContinue';\nimport { payerData } from '../Helper/PayerData';\nimport { PaymentMethods } from '../Helper/CheckoutMethodState';\nimport CartHelper from '../Helper/CartHelper';\nimport FormHelper from '../Helper/FormHelper';\n\nclass SingleProductActionHandler {\n\tconstructor( config, updateCart, formElement, errorHandler ) {\n\t\tthis.config = config;\n\t\tthis.updateCart = updateCart;\n\t\tthis.formElement = formElement;\n\t\tthis.errorHandler = errorHandler;\n\t\tthis.cartHelper = null;\n\t}\n\n\tsubscriptionsConfiguration( subscription_plan ) {\n\t\treturn {\n\t\t\tcreateSubscription: ( data, actions ) => {\n\t\t\t\treturn actions.subscription.create( {\n\t\t\t\t\tplan_id: subscription_plan,\n\t\t\t\t} );\n\t\t\t},\n\t\t\tonApprove: ( data, actions ) => {\n\t\t\t\tfetch( this.config.ajax.approve_subscription.endpoint, {\n\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\tcredentials: 'same-origin',\n\t\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\t\tnonce: this.config.ajax.approve_subscription.nonce,\n\t\t\t\t\t\torder_id: data.orderID,\n\t\t\t\t\t\tsubscription_id: data.subscriptionID,\n\t\t\t\t\t} ),\n\t\t\t\t} )\n\t\t\t\t\t.then( ( res ) => {\n\t\t\t\t\t\treturn res.json();\n\t\t\t\t\t} )\n\t\t\t\t\t.then( () => {\n\t\t\t\t\t\tconst products = this.getSubscriptionProducts();\n\n\t\t\t\t\t\tfetch( this.config.ajax.change_cart.endpoint, {\n\t\t\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tcredentials: 'same-origin',\n\t\t\t\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\t\t\t\tnonce: this.config.ajax.change_cart.nonce,\n\t\t\t\t\t\t\t\tproducts,\n\t\t\t\t\t\t\t} ),\n\t\t\t\t\t\t} )\n\t\t\t\t\t\t\t.then( ( result ) => {\n\t\t\t\t\t\t\t\treturn result.json();\n\t\t\t\t\t\t\t} )\n\t\t\t\t\t\t\t.then( ( result ) => {\n\t\t\t\t\t\t\t\tif ( ! result.success ) {\n\t\t\t\t\t\t\t\t\tconsole.log( result );\n\t\t\t\t\t\t\t\t\tthrow Error( result.data.message );\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tlocation.href = this.config.redirect;\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t} );\n\t\t\t},\n\t\t\tonError: ( err ) => {\n\t\t\t\tconsole.error( err );\n\t\t\t},\n\t\t};\n\t}\n\n\tgetSubscriptionProducts() {\n\t\tconst id = document.querySelector( '[name=\"add-to-cart\"]' ).value;\n\t\treturn [ new Product( id, 1, this.variations(), this.extraFields() ) ];\n\t}\n\n\tconfiguration() {\n\t\treturn {\n\t\t\tcreateOrder: this.createOrder(),\n\t\t\tonApprove: onApprove( this, this.errorHandler ),\n\t\t\tonError: ( error ) => {\n\t\t\t\tthis.refreshMiniCart();\n\n\t\t\t\tif ( this.isBookingProduct() && error.message ) {\n\t\t\t\t\tthis.errorHandler.clear();\n\t\t\t\t\tthis.errorHandler.message( error.message );\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tthis.errorHandler.genericError();\n\t\t\t},\n\t\t\tonCancel: () => {\n\t\t\t\t// Could be used for every product type,\n\t\t\t\t// but only clean the cart for Booking products for now.\n\t\t\t\tif ( this.isBookingProduct() ) {\n\t\t\t\t\tthis.cleanCart();\n\t\t\t\t} else {\n\t\t\t\t\tthis.refreshMiniCart();\n\t\t\t\t}\n\t\t\t},\n\t\t};\n\t}\n\n\tgetProducts() {\n\t\tif ( this.isBookingProduct() ) {\n\t\t\tconst id = document.querySelector( '[name=\"add-to-cart\"]' ).value;\n\t\t\treturn [\n\t\t\t\tnew BookingProduct(\n\t\t\t\t\tid,\n\t\t\t\t\t1,\n\t\t\t\t\tFormHelper.getPrefixedFields(\n\t\t\t\t\t\tthis.formElement,\n\t\t\t\t\t\t'wc_bookings_field'\n\t\t\t\t\t),\n\t\t\t\t\tthis.extraFields()\n\t\t\t\t),\n\t\t\t];\n\t\t} else if ( this.isGroupedProduct() ) {\n\t\t\tconst products = [];\n\t\t\tthis.formElement\n\t\t\t\t.querySelectorAll( 'input[type=\"number\"]' )\n\t\t\t\t.forEach( ( element ) => {\n\t\t\t\t\tif ( ! element.value ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tconst elementName = element\n\t\t\t\t\t\t.getAttribute( 'name' )\n\t\t\t\t\t\t.match( /quantity\\[([\\d]*)\\]/ );\n\t\t\t\t\tif ( elementName.length !== 2 ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tconst id = parseInt( elementName[ 1 ] );\n\t\t\t\t\tconst quantity = parseInt( element.value );\n\t\t\t\t\tproducts.push(\n\t\t\t\t\t\tnew Product( id, quantity, null, this.extraFields() )\n\t\t\t\t\t);\n\t\t\t\t} );\n\t\t\treturn products;\n\t\t}\n\t\tconst id = document.querySelector( '[name=\"add-to-cart\"]' ).value;\n\t\tconst qty = document.querySelector( '[name=\"quantity\"]' ).value;\n\t\tconst variations = this.variations();\n\t\treturn [ new Product( id, qty, variations, this.extraFields() ) ];\n\t}\n\n\textraFields() {\n\t\treturn FormHelper.getFilteredFields(\n\t\t\tthis.formElement,\n\t\t\t[ 'add-to-cart', 'quantity', 'product_id', 'variation_id' ],\n\t\t\t[ 'attribute_', 'wc_bookings_field' ]\n\t\t);\n\t}\n\n\tcreateOrder() {\n\t\tthis.cartHelper = null;\n\n\t\treturn ( data, actions, options = {} ) => {\n\t\t\tthis.errorHandler.clear();\n\n\t\t\tconst onResolve = ( purchase_units ) => {\n\t\t\t\tthis.cartHelper = new CartHelper().addFromPurchaseUnits(\n\t\t\t\t\tpurchase_units\n\t\t\t\t);\n\n\t\t\t\tconst payer = payerData();\n\t\t\t\tconst bnCode =\n\t\t\t\t\ttypeof this.config.bn_codes[ this.config.context ] !==\n\t\t\t\t\t'undefined'\n\t\t\t\t\t\t? this.config.bn_codes[ this.config.context ]\n\t\t\t\t\t\t: '';\n\t\t\t\treturn fetch( this.config.ajax.create_order.endpoint, {\n\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\theaders: {\n\t\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\t},\n\t\t\t\t\tcredentials: 'same-origin',\n\t\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\t\tnonce: this.config.ajax.create_order.nonce,\n\t\t\t\t\t\tpurchase_units,\n\t\t\t\t\t\tpayer,\n\t\t\t\t\t\tbn_code: bnCode,\n\t\t\t\t\t\tpayment_method: PaymentMethods.PAYPAL,\n\t\t\t\t\t\tfunding_source: window.ppcpFundingSource,\n\t\t\t\t\t\tcontext: this.config.context,\n\t\t\t\t\t} ),\n\t\t\t\t} )\n\t\t\t\t\t.then( function ( res ) {\n\t\t\t\t\t\treturn res.json();\n\t\t\t\t\t} )\n\t\t\t\t\t.then( function ( data ) {\n\t\t\t\t\t\tif ( ! data.success ) {\n\t\t\t\t\t\t\tconsole.error( data );\n\t\t\t\t\t\t\tthrow Error( data.data.message );\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn data.data.id;\n\t\t\t\t\t} );\n\t\t\t};\n\n\t\t\treturn this.updateCart.update(\n\t\t\t\tonResolve,\n\t\t\t\tthis.getProducts(),\n\t\t\t\toptions.updateCartOptions || {}\n\t\t\t);\n\t\t};\n\t}\n\n\tvariations() {\n\t\tif ( ! this.hasVariations() ) {\n\t\t\treturn null;\n\t\t}\n\t\treturn [\n\t\t\t...this.formElement.querySelectorAll( \"[name^='attribute_']\" ),\n\t\t].map( ( element ) => {\n\t\t\treturn {\n\t\t\t\tvalue: element.value,\n\t\t\t\tname: element.name,\n\t\t\t};\n\t\t} );\n\t}\n\n\thasVariations() {\n\t\treturn this.formElement.classList.contains( 'variations_form' );\n\t}\n\n\tisGroupedProduct() {\n\t\treturn this.formElement.classList.contains( 'grouped_form' );\n\t}\n\n\tisBookingProduct() {\n\t\t// detection for \"woocommerce-bookings\" plugin\n\t\treturn !! this.formElement.querySelector( '.wc-booking-product-id' );\n\t}\n\n\tcleanCart() {\n\t\tthis.cartHelper\n\t\t\t.removeFromCart()\n\t\t\t.then( () => {\n\t\t\t\tthis.refreshMiniCart();\n\t\t\t} )\n\t\t\t.catch( ( error ) => {\n\t\t\t\tthis.refreshMiniCart();\n\t\t\t} );\n\t}\n\n\trefreshMiniCart() {\n\t\tjQuery( document.body ).trigger( 'wc_fragment_refresh' );\n\t}\n}\nexport default SingleProductActionHandler;\n","class SimulateCart {\n\tconstructor( endpoint, nonce ) {\n\t\tthis.endpoint = endpoint;\n\t\tthis.nonce = nonce;\n\t}\n\n\t/**\n\t *\n\t * @param onResolve\n\t * @param {Product[]} products\n\t * @return {Promise<unknown>}\n\t */\n\tsimulate( onResolve, products ) {\n\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\tfetch( this.endpoint, {\n\t\t\t\tmethod: 'POST',\n\t\t\t\theaders: {\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t},\n\t\t\t\tcredentials: 'same-origin',\n\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\tnonce: this.nonce,\n\t\t\t\t\tproducts,\n\t\t\t\t} ),\n\t\t\t} )\n\t\t\t\t.then( ( result ) => {\n\t\t\t\t\treturn result.json();\n\t\t\t\t} )\n\t\t\t\t.then( ( result ) => {\n\t\t\t\t\tif ( ! result.success ) {\n\t\t\t\t\t\treject( result.data );\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst resolved = onResolve( result.data );\n\t\t\t\t\tresolve( resolved );\n\t\t\t\t} );\n\t\t} );\n\t}\n}\n\nexport default SimulateCart;\n","import Product from '../Entity/Product';\nclass UpdateCart {\n\tconstructor( endpoint, nonce ) {\n\t\tthis.endpoint = endpoint;\n\t\tthis.nonce = nonce;\n\t}\n\n\t/**\n\t *\n\t * @param onResolve\n\t * @param {Product[]} products\n\t * @param {Object} options\n\t * @return {Promise<unknown>}\n\t */\n\tupdate( onResolve, products, options = {} ) {\n\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\tfetch( this.endpoint, {\n\t\t\t\tmethod: 'POST',\n\t\t\t\theaders: {\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t},\n\t\t\t\tcredentials: 'same-origin',\n\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\tnonce: this.nonce,\n\t\t\t\t\tproducts,\n\t\t\t\t\t...options,\n\t\t\t\t} ),\n\t\t\t} )\n\t\t\t\t.then( ( result ) => {\n\t\t\t\t\treturn result.json();\n\t\t\t\t} )\n\t\t\t\t.then( ( result ) => {\n\t\t\t\t\tif ( ! result.success ) {\n\t\t\t\t\t\treject( result.data );\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst resolved = onResolve( result.data );\n\t\t\t\t\tresolve( resolved );\n\t\t\t\t} );\n\t\t} );\n\t}\n}\n\nexport default UpdateCart;\n","import onApprove from '../OnApproveHandler/onApproveForContinue.js';\nimport { payerData } from '../Helper/PayerData';\nimport { PaymentMethods } from '../Helper/CheckoutMethodState';\n\nclass CartActionHandler {\n\tconstructor( config, errorHandler ) {\n\t\tthis.config = config;\n\t\tthis.errorHandler = errorHandler;\n\t}\n\n\tsubscriptionsConfiguration( subscription_plan_id ) {\n\t\treturn {\n\t\t\tcreateSubscription: ( data, actions ) => {\n\t\t\t\treturn actions.subscription.create( {\n\t\t\t\t\tplan_id: subscription_plan_id,\n\t\t\t\t} );\n\t\t\t},\n\t\t\tonApprove: ( data, actions ) => {\n\t\t\t\tfetch( this.config.ajax.approve_subscription.endpoint, {\n\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\tcredentials: 'same-origin',\n\t\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\t\tnonce: this.config.ajax.approve_subscription.nonce,\n\t\t\t\t\t\torder_id: data.orderID,\n\t\t\t\t\t\tsubscription_id: data.subscriptionID,\n\t\t\t\t\t\tshould_create_wc_order:\n\t\t\t\t\t\t\t! context.config.vaultingEnabled ||\n\t\t\t\t\t\t\tdata.paymentSource !== 'venmo',\n\t\t\t\t\t} ),\n\t\t\t\t} )\n\t\t\t\t\t.then( ( res ) => {\n\t\t\t\t\t\treturn res.json();\n\t\t\t\t\t} )\n\t\t\t\t\t.then( ( data ) => {\n\t\t\t\t\t\tif ( ! data.success ) {\n\t\t\t\t\t\t\tconsole.log( data );\n\t\t\t\t\t\t\tthrow Error( data.data.message );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst orderReceivedUrl = data.data?.order_received_url;\n\n\t\t\t\t\t\tlocation.href = orderReceivedUrl\n\t\t\t\t\t\t\t? orderReceivedUrl\n\t\t\t\t\t\t\t: context.config.redirect;\n\t\t\t\t\t} );\n\t\t\t},\n\t\t\tonError: ( err ) => {\n\t\t\t\tconsole.error( err );\n\t\t\t},\n\t\t};\n\t}\n\n\tconfiguration() {\n\t\tconst createOrder = ( data, actions ) => {\n\t\t\tconst payer = payerData();\n\t\t\tconst bnCode =\n\t\t\t\ttypeof this.config.bn_codes[ this.config.context ] !==\n\t\t\t\t'undefined'\n\t\t\t\t\t? this.config.bn_codes[ this.config.context ]\n\t\t\t\t\t: '';\n\t\t\treturn fetch( this.config.ajax.create_order.endpoint, {\n\t\t\t\tmethod: 'POST',\n\t\t\t\theaders: {\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t},\n\t\t\t\tcredentials: 'same-origin',\n\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\tnonce: this.config.ajax.create_order.nonce,\n\t\t\t\t\tpurchase_units: [],\n\t\t\t\t\tpayment_method: PaymentMethods.PAYPAL,\n\t\t\t\t\tfunding_source: window.ppcpFundingSource,\n\t\t\t\t\tbn_code: bnCode,\n\t\t\t\t\tpayer,\n\t\t\t\t\tcontext: this.config.context,\n\t\t\t\t} ),\n\t\t\t} )\n\t\t\t\t.then( function ( res ) {\n\t\t\t\t\treturn res.json();\n\t\t\t\t} )\n\t\t\t\t.then( function ( data ) {\n\t\t\t\t\tif ( ! data.success ) {\n\t\t\t\t\t\tconsole.error( data );\n\t\t\t\t\t\tthrow Error( data.data.message );\n\t\t\t\t\t}\n\t\t\t\t\treturn data.data.id;\n\t\t\t\t} );\n\t\t};\n\n\t\treturn {\n\t\t\tcreateOrder,\n\t\t\tonApprove: onApprove( this, this.errorHandler ),\n\t\t\tonError: ( error ) => {\n\t\t\t\tthis.errorHandler.genericError();\n\t\t\t},\n\t\t};\n\t}\n}\n\nexport default CartActionHandler;\n","import ErrorHandler from '../../../../ppcp-button/resources/js/modules/ErrorHandler';\nimport CartActionHandler from '../../../../ppcp-button/resources/js/modules/ActionHandler/CartActionHandler';\n\nclass BaseHandler {\n\tconstructor( buttonConfig, ppcpConfig ) {\n\t\tthis.buttonConfig = buttonConfig;\n\t\tthis.ppcpConfig = ppcpConfig;\n\t}\n\n\tisVaultV3Mode() {\n\t\treturn (\n\t\t\tthis.ppcpConfig?.save_payment_methods?.id_token && // vault v3\n\t\t\t! this.ppcpConfig?.data_client_id?.paypal_subscriptions_enabled && // not PayPal Subscriptions mode\n\t\t\tthis.ppcpConfig?.can_save_vault_token\n\t\t); // vault is enabled\n\t}\n\n\tvalidateContext() {\n\t\tif ( this.ppcpConfig?.locations_with_subscription_product?.cart ) {\n\t\t\treturn this.isVaultV3Mode();\n\t\t}\n\t\treturn true;\n\t}\n\n\tshippingAllowed() {\n\t\treturn this.buttonConfig.product.needShipping;\n\t}\n\n\ttransactionInfo() {\n\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\tconst endpoint = this.ppcpConfig.ajax.cart_script_params.endpoint;\n\t\t\tconst separator = endpoint.indexOf( '?' ) !== -1 ? '&' : '?';\n\n\t\t\tfetch( endpoint + separator + 'shipping=1', {\n\t\t\t\tmethod: 'GET',\n\t\t\t\tcredentials: 'same-origin',\n\t\t\t} )\n\t\t\t\t.then( ( result ) => result.json() )\n\t\t\t\t.then( ( result ) => {\n\t\t\t\t\tif ( ! result.success ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t// handle script reload\n\t\t\t\t\tconst data = result.data;\n\n\t\t\t\t\tresolve( {\n\t\t\t\t\t\tcountryCode: data.country_code,\n\t\t\t\t\t\tcurrencyCode: data.currency_code,\n\t\t\t\t\t\ttotalPriceStatus: 'FINAL',\n\t\t\t\t\t\ttotalPrice: data.total_str,\n\t\t\t\t\t\tchosenShippingMethods:\n\t\t\t\t\t\t\tdata.chosen_shipping_methods || null,\n\t\t\t\t\t\tshippingPackages: data.shipping_packages || null,\n\t\t\t\t\t} );\n\t\t\t\t} );\n\t\t} );\n\t}\n\n\tcreateOrder() {\n\t\treturn this.actionHandler().configuration().createOrder( null, null );\n\t}\n\n\tapproveOrder( data, actions ) {\n\t\treturn this.actionHandler().configuration().onApprove( data, actions );\n\t}\n\n\tactionHandler() {\n\t\treturn new CartActionHandler( this.ppcpConfig, this.errorHandler() );\n\t}\n\n\terrorHandler() {\n\t\treturn new ErrorHandler(\n\t\t\tthis.ppcpConfig.labels.error.generic,\n\t\t\tdocument.querySelector( '.woocommerce-notices-wrapper' )\n\t\t);\n\t}\n}\n\nexport default BaseHandler;\n","import SingleProductActionHandler from '../../../../ppcp-button/resources/js/modules/ActionHandler/SingleProductActionHandler';\nimport SimulateCart from '../../../../ppcp-button/resources/js/modules/Helper/SimulateCart';\nimport ErrorHandler from '../../../../ppcp-button/resources/js/modules/ErrorHandler';\nimport UpdateCart from '../../../../ppcp-button/resources/js/modules/Helper/UpdateCart';\nimport BaseHandler from './BaseHandler';\n\nclass SingleProductHandler extends BaseHandler {\n\tvalidateContext() {\n\t\tif ( this.ppcpConfig?.locations_with_subscription_product?.product ) {\n\t\t\treturn this.isVaultV3Mode();\n\t\t}\n\t\treturn true;\n\t}\n\n\ttransactionInfo() {\n\t\tconst errorHandler = new ErrorHandler(\n\t\t\tthis.ppcpConfig.labels.error.generic,\n\t\t\tdocument.querySelector( '.woocommerce-notices-wrapper' )\n\t\t);\n\n\t\tfunction form() {\n\t\t\treturn document.querySelector( 'form.cart' );\n\t\t}\n\n\t\tconst actionHandler = new SingleProductActionHandler(\n\t\t\tnull,\n\t\t\tnull,\n\t\t\tform(),\n\t\t\terrorHandler\n\t\t);\n\n\t\tconst hasSubscriptions =\n\t\t\tPayPalCommerceGateway.data_client_id.has_subscriptions &&\n\t\t\tPayPalCommerceGateway.data_client_id.paypal_subscriptions_enabled;\n\n\t\tconst products = hasSubscriptions\n\t\t\t? actionHandler.getSubscriptionProducts()\n\t\t\t: actionHandler.getProducts();\n\n\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\tnew SimulateCart(\n\t\t\t\tthis.ppcpConfig.ajax.simulate_cart.endpoint,\n\t\t\t\tthis.ppcpConfig.ajax.simulate_cart.nonce\n\t\t\t).simulate( ( data ) => {\n\t\t\t\tresolve( {\n\t\t\t\t\tcountryCode: data.country_code,\n\t\t\t\t\tcurrencyCode: data.currency_code,\n\t\t\t\t\ttotalPriceStatus: 'FINAL',\n\t\t\t\t\ttotalPrice: data.total,\n\t\t\t\t} );\n\t\t\t}, products );\n\t\t} );\n\t}\n\n\tcreateOrder() {\n\t\treturn this.actionHandler()\n\t\t\t.configuration()\n\t\t\t.createOrder( null, null, {\n\t\t\t\tupdateCartOptions: {\n\t\t\t\t\tkeepShipping: true,\n\t\t\t\t},\n\t\t\t} );\n\t}\n\n\tactionHandler() {\n\t\treturn new SingleProductActionHandler(\n\t\t\tthis.ppcpConfig,\n\t\t\tnew UpdateCart(\n\t\t\t\tthis.ppcpConfig.ajax.change_cart.endpoint,\n\t\t\t\tthis.ppcpConfig.ajax.change_cart.nonce\n\t\t\t),\n\t\t\tdocument.querySelector( 'form.cart' ),\n\t\t\tthis.errorHandler()\n\t\t);\n\t}\n\n\tproducts() {\n\t\treturn this.actionHandler().getProducts();\n\t}\n}\n\nexport default SingleProductHandler;\n","import BaseHandler from './BaseHandler';\n\nclass CartHandler extends BaseHandler {}\n\nexport default CartHandler;\n","class Spinner {\n\tconstructor( target = 'form.woocommerce-checkout' ) {\n\t\tthis.target = target;\n\t}\n\n\tsetTarget( target ) {\n\t\tthis.target = target;\n\t}\n\n\tblock() {\n\t\tjQuery( this.target ).block( {\n\t\t\tmessage: null,\n\t\t\toverlayCSS: {\n\t\t\t\tbackground: '#fff',\n\t\t\t\topacity: 0.6,\n\t\t\t},\n\t\t} );\n\t}\n\n\tunblock() {\n\t\tjQuery( this.target ).unblock();\n\t}\n}\n\nexport default Spinner;\n","/*! formdata-polyfill. MIT License. Jimmy W?rting <https://jimmy.warting.se/opensource> */\n;(function(){var h;function l(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var m=\"function\"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};\nfunction n(a){a=[\"object\"==typeof globalThis&&globalThis,a,\"object\"==typeof window&&window,\"object\"==typeof self&&self,\"object\"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error(\"Cannot find global object\");}var q=n(this);function r(a,b){if(b)a:{var c=q;a=a.split(\".\");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&m(c,a,{configurable:!0,writable:!0,value:b})}}\nr(\"Symbol\",function(a){function b(f){if(this instanceof b)throw new TypeError(\"Symbol is not a constructor\");return new c(d+(f||\"\")+\"_\"+e++,f)}function c(f,g){this.A=f;m(this,\"description\",{configurable:!0,writable:!0,value:g})}if(a)return a;c.prototype.toString=function(){return this.A};var d=\"jscomp_symbol_\"+(1E9*Math.random()>>>0)+\"_\",e=0;return b});\nr(\"Symbol.iterator\",function(a){if(a)return a;a=Symbol(\"Symbol.iterator\");for(var b=\"Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array\".split(\" \"),c=0;c<b.length;c++){var d=q[b[c]];\"function\"===typeof d&&\"function\"!=typeof d.prototype[a]&&m(d.prototype,a,{configurable:!0,writable:!0,value:function(){return u(l(this))}})}return a});function u(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}\nfunction v(a){var b=\"undefined\"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:l(a)}}var w;if(\"function\"==typeof Object.setPrototypeOf)w=Object.setPrototypeOf;else{var y;a:{var z={a:!0},A={};try{A.__proto__=z;y=A.a;break a}catch(a){}y=!1}w=y?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+\" is not extensible\");return a}:null}var B=w;function C(){this.m=!1;this.j=null;this.v=void 0;this.h=1;this.u=this.C=0;this.l=null}\nfunction D(a){if(a.m)throw new TypeError(\"Generator is already running\");a.m=!0}C.prototype.o=function(a){this.v=a};C.prototype.s=function(a){this.l={D:a,F:!0};this.h=this.C||this.u};C.prototype.return=function(a){this.l={return:a};this.h=this.u};function E(a,b){a.h=3;return{value:b}}function F(a){this.g=new C;this.G=a}F.prototype.o=function(a){D(this.g);if(this.g.j)return G(this,this.g.j.next,a,this.g.o);this.g.o(a);return H(this)};\nfunction I(a,b){D(a.g);var c=a.g.j;if(c)return G(a,\"return\"in c?c[\"return\"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return H(a)}F.prototype.s=function(a){D(this.g);if(this.g.j)return G(this,this.g.j[\"throw\"],a,this.g.o);this.g.s(a);return H(this)};\nfunction G(a,b,c,d){try{var e=b.call(a.g.j,c);if(!(e instanceof Object))throw new TypeError(\"Iterator result \"+e+\" is not an object\");if(!e.done)return a.g.m=!1,e;var f=e.value}catch(g){return a.g.j=null,a.g.s(g),H(a)}a.g.j=null;d.call(a.g,f);return H(a)}function H(a){for(;a.g.h;)try{var b=a.G(a.g);if(b)return a.g.m=!1,{value:b.value,done:!1}}catch(c){a.g.v=void 0,a.g.s(c)}a.g.m=!1;if(a.g.l){b=a.g.l;a.g.l=null;if(b.F)throw b.D;return{value:b.return,done:!0}}return{value:void 0,done:!0}}\nfunction J(a){this.next=function(b){return a.o(b)};this.throw=function(b){return a.s(b)};this.return=function(b){return I(a,b)};this[Symbol.iterator]=function(){return this}}function K(a,b){b=new J(new F(b));B&&a.prototype&&B(b,a.prototype);return b}function L(a,b){a instanceof String&&(a+=\"\");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e}\nr(\"Array.prototype.entries\",function(a){return a?a:function(){return L(this,function(b,c){return[b,c]})}});\nif(\"undefined\"!==typeof Blob&&(\"undefined\"===typeof FormData||!FormData.prototype.keys)){var M=function(a,b){for(var c=0;c<a.length;c++)b(a[c])},N=function(a){return a.replace(/\\r?\\n|\\r/g,\"\\r\\n\")},O=function(a,b,c){if(b instanceof Blob){c=void 0!==c?String(c+\"\"):\"string\"===typeof b.name?b.name:\"blob\";if(b.name!==c||\"[object Blob]\"===Object.prototype.toString.call(b))b=new File([b],c);return[String(a),b]}return[String(a),String(b)]},P=function(a,b){if(a.length<b)throw new TypeError(b+\" argument required, but only \"+\na.length+\" present.\");},Q=\"object\"===typeof globalThis?globalThis:\"object\"===typeof window?window:\"object\"===typeof self?self:this,R=Q.FormData,S=Q.XMLHttpRequest&&Q.XMLHttpRequest.prototype.send,T=Q.Request&&Q.fetch,U=Q.navigator&&Q.navigator.sendBeacon,V=Q.Element&&Q.Element.prototype,W=Q.Symbol&&Symbol.toStringTag;W&&(Blob.prototype[W]||(Blob.prototype[W]=\"Blob\"),\"File\"in Q&&!File.prototype[W]&&(File.prototype[W]=\"File\"));try{new File([],\"\")}catch(a){Q.File=function(b,c,d){b=new Blob(b,d||{});\nObject.defineProperties(b,{name:{value:c},lastModified:{value:+(d&&void 0!==d.lastModified?new Date(d.lastModified):new Date)},toString:{value:function(){return\"[object File]\"}}});W&&Object.defineProperty(b,W,{value:\"File\"});return b}}var escape=function(a){return a.replace(/\\n/g,\"%0A\").replace(/\\r/g,\"%0D\").replace(/\"/g,\"%22\")},X=function(a){this.i=[];var b=this;a&&M(a.elements,function(c){if(c.name&&!c.disabled&&\"submit\"!==c.type&&\"button\"!==c.type&&!c.matches(\"form fieldset[disabled] *\"))if(\"file\"===\nc.type){var d=c.files&&c.files.length?c.files:[new File([],\"\",{type:\"application/octet-stream\"})];M(d,function(e){b.append(c.name,e)})}else\"select-multiple\"===c.type||\"select-one\"===c.type?M(c.options,function(e){!e.disabled&&e.selected&&b.append(c.name,e.value)}):\"checkbox\"===c.type||\"radio\"===c.type?c.checked&&b.append(c.name,c.value):(d=\"textarea\"===c.type?N(c.value):c.value,b.append(c.name,d))})};h=X.prototype;h.append=function(a,b,c){P(arguments,2);this.i.push(O(a,b,c))};h.delete=function(a){P(arguments,\n1);var b=[];a=String(a);M(this.i,function(c){c[0]!==a&&b.push(c)});this.i=b};h.entries=function b(){var c,d=this;return K(b,function(e){1==e.h&&(c=0);if(3!=e.h)return c<d.i.length?e=E(e,d.i[c]):(e.h=0,e=void 0),e;c++;e.h=2})};h.forEach=function(b,c){P(arguments,1);for(var d=v(this),e=d.next();!e.done;e=d.next()){var f=v(e.value);e=f.next().value;f=f.next().value;b.call(c,f,e,this)}};h.get=function(b){P(arguments,1);var c=this.i;b=String(b);for(var d=0;d<c.length;d++)if(c[d][0]===b)return c[d][1];\nreturn null};h.getAll=function(b){P(arguments,1);var c=[];b=String(b);M(this.i,function(d){d[0]===b&&c.push(d[1])});return c};h.has=function(b){P(arguments,1);b=String(b);for(var c=0;c<this.i.length;c++)if(this.i[c][0]===b)return!0;return!1};h.keys=function c(){var d=this,e,f,g,k,p;return K(c,function(t){1==t.h&&(e=v(d),f=e.next());if(3!=t.h){if(f.done){t.h=0;return}g=f.value;k=v(g);p=k.next().value;return E(t,p)}f=e.next();t.h=2})};h.set=function(c,d,e){P(arguments,2);c=String(c);var f=[],g=O(c,\nd,e),k=!0;M(this.i,function(p){p[0]===c?k&&(k=!f.push(g)):f.push(p)});k&&f.push(g);this.i=f};h.values=function d(){var e=this,f,g,k,p,t;return K(d,function(x){1==x.h&&(f=v(e),g=f.next());if(3!=x.h){if(g.done){x.h=0;return}k=g.value;p=v(k);p.next();t=p.next().value;return E(x,t)}g=f.next();x.h=2})};X.prototype._asNative=function(){for(var d=new R,e=v(this),f=e.next();!f.done;f=e.next()){var g=v(f.value);f=g.next().value;g=g.next().value;d.append(f,g)}return d};X.prototype._blob=function(){var d=\"----formdata-polyfill-\"+\nMath.random(),e=[],f=\"--\"+d+'\\r\\nContent-Disposition: form-data; name=\"';this.forEach(function(g,k){return\"string\"==typeof g?e.push(f+escape(N(k))+('\"\\r\\n\\r\\n'+N(g)+\"\\r\\n\")):e.push(f+escape(N(k))+('\"; filename=\"'+escape(g.name)+'\"\\r\\nContent-Type: '+(g.type||\"application/octet-stream\")+\"\\r\\n\\r\\n\"),g,\"\\r\\n\")});e.push(\"--\"+d+\"--\");return new Blob(e,{type:\"multipart/form-data; boundary=\"+d})};X.prototype[Symbol.iterator]=function(){return this.entries()};X.prototype.toString=function(){return\"[object FormData]\"};\nV&&!V.matches&&(V.matches=V.matchesSelector||V.mozMatchesSelector||V.msMatchesSelector||V.oMatchesSelector||V.webkitMatchesSelector||function(d){d=(this.document||this.ownerDocument).querySelectorAll(d);for(var e=d.length;0<=--e&&d.item(e)!==this;);return-1<e});W&&(X.prototype[W]=\"FormData\");if(S){var Y=Q.XMLHttpRequest.prototype.setRequestHeader;Q.XMLHttpRequest.prototype.setRequestHeader=function(d,e){Y.call(this,d,e);\"content-type\"===d.toLowerCase()&&(this.B=!0)};Q.XMLHttpRequest.prototype.send=\nfunction(d){d instanceof X?(d=d._blob(),this.B||this.setRequestHeader(\"Content-Type\",d.type),S.call(this,d)):S.call(this,d)}}T&&(Q.fetch=function(d,e){e&&e.body&&e.body instanceof X&&(e.body=e.body._blob());return T.call(this,d,e)});U&&(Q.navigator.sendBeacon=function(d,e){e instanceof X&&(e=e._asNative());return U.call(this,d,e)});Q.FormData=X};})();\n","const onApprove = ( context, errorHandler, spinner ) => {\n\treturn ( data, actions ) => {\n\t\tspinner.block();\n\t\terrorHandler.clear();\n\n\t\treturn fetch( context.config.ajax.approve_order.endpoint, {\n\t\t\tmethod: 'POST',\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/json',\n\t\t\t},\n\t\t\tcredentials: 'same-origin',\n\t\t\tbody: JSON.stringify( {\n\t\t\t\tnonce: context.config.ajax.approve_order.nonce,\n\t\t\t\torder_id: data.orderID,\n\t\t\t\tfunding_source: window.ppcpFundingSource,\n\t\t\t} ),\n\t\t} )\n\t\t\t.then( ( res ) => {\n\t\t\t\treturn res.json();\n\t\t\t} )\n\t\t\t.then( ( data ) => {\n\t\t\t\tspinner.unblock();\n\t\t\t\tif ( ! data.success ) {\n\t\t\t\t\tif ( data.data.code === 100 ) {\n\t\t\t\t\t\terrorHandler.message( data.data.message );\n\t\t\t\t\t} else {\n\t\t\t\t\t\terrorHandler.genericError();\n\t\t\t\t\t}\n\t\t\t\t\tif (\n\t\t\t\t\t\ttypeof actions !== 'undefined' &&\n\t\t\t\t\t\ttypeof actions.restart !== 'undefined'\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn actions.restart();\n\t\t\t\t\t}\n\t\t\t\t\tthrow new Error( data.data.message );\n\t\t\t\t}\n\t\t\t\tdocument.querySelector( '#place_order' ).click();\n\t\t\t} );\n\t};\n};\n\nexport default onApprove;\n","import 'formdata-polyfill';\nimport onApprove from '../OnApproveHandler/onApproveForPayNow.js';\nimport { payerData } from '../Helper/PayerData';\nimport { getCurrentPaymentMethod } from '../Helper/CheckoutMethodState';\nimport validateCheckoutForm from '../Helper/CheckoutFormValidation';\n\nclass CheckoutActionHandler {\n\tconstructor( config, errorHandler, spinner ) {\n\t\tthis.config = config;\n\t\tthis.errorHandler = errorHandler;\n\t\tthis.spinner = spinner;\n\t}\n\n\tsubscriptionsConfiguration( subscription_plan_id ) {\n\t\treturn {\n\t\t\tcreateSubscription: async ( data, actions ) => {\n\t\t\t\ttry {\n\t\t\t\t\tawait validateCheckoutForm( this.config );\n\t\t\t\t} catch ( error ) {\n\t\t\t\t\tthrow { type: 'form-validation-error' };\n\t\t\t\t}\n\n\t\t\t\treturn actions.subscription.create( {\n\t\t\t\t\tplan_id: subscription_plan_id,\n\t\t\t\t} );\n\t\t\t},\n\t\t\tonApprove: ( data, actions ) => {\n\t\t\t\tfetch( this.config.ajax.approve_subscription.endpoint, {\n\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\tcredentials: 'same-origin',\n\t\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\t\tnonce: this.config.ajax.approve_subscription.nonce,\n\t\t\t\t\t\torder_id: data.orderID,\n\t\t\t\t\t\tsubscription_id: data.subscriptionID,\n\t\t\t\t\t} ),\n\t\t\t\t} )\n\t\t\t\t\t.then( ( res ) => {\n\t\t\t\t\t\treturn res.json();\n\t\t\t\t\t} )\n\t\t\t\t\t.then( ( data ) => {\n\t\t\t\t\t\tdocument.querySelector( '#place_order' ).click();\n\t\t\t\t\t} );\n\t\t\t},\n\t\t\tonError: ( err ) => {\n\t\t\t\tconsole.error( err );\n\t\t\t},\n\t\t};\n\t}\n\n\tconfiguration() {\n\t\tconst spinner = this.spinner;\n\t\tconst createOrder = ( data, actions ) => {\n\t\t\tconst payer = payerData();\n\t\t\tconst bnCode =\n\t\t\t\ttypeof this.config.bn_codes[ this.config.context ] !==\n\t\t\t\t'undefined'\n\t\t\t\t\t? this.config.bn_codes[ this.config.context ]\n\t\t\t\t\t: '';\n\n\t\t\tconst errorHandler = this.errorHandler;\n\n\t\t\tconst formSelector =\n\t\t\t\tthis.config.context === 'checkout'\n\t\t\t\t\t? 'form.checkout'\n\t\t\t\t\t: 'form#order_review';\n\t\t\tconst formData = new FormData(\n\t\t\t\tdocument.querySelector( formSelector )\n\t\t\t);\n\n\t\t\tconst createaccount = jQuery( '#createaccount' ).is( ':checked' )\n\t\t\t\t? true\n\t\t\t\t: false;\n\n\t\t\tconst paymentMethod = getCurrentPaymentMethod();\n\t\t\tconst fundingSource = window.ppcpFundingSource;\n\n\t\t\tconst savePaymentMethod = !! document.getElementById(\n\t\t\t\t'wc-ppcp-credit-card-gateway-new-payment-method'\n\t\t\t)?.checked;\n\n\t\t\treturn fetch( this.config.ajax.create_order.endpoint, {\n\t\t\t\tmethod: 'POST',\n\t\t\t\theaders: {\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t},\n\t\t\t\tcredentials: 'same-origin',\n\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\tnonce: this.config.ajax.create_order.nonce,\n\t\t\t\t\tpayer,\n\t\t\t\t\tbn_code: bnCode,\n\t\t\t\t\tcontext: this.config.context,\n\t\t\t\t\torder_id: this.config.order_id,\n\t\t\t\t\tpayment_method: paymentMethod,\n\t\t\t\t\tfunding_source: fundingSource,\n\t\t\t\t\t// send as urlencoded string to handle complex fields via PHP functions the same as normal form submit\n\t\t\t\t\tform_encoded: new URLSearchParams( formData ).toString(),\n\t\t\t\t\tcreateaccount,\n\t\t\t\t\tsave_payment_method: savePaymentMethod,\n\t\t\t\t} ),\n\t\t\t} )\n\t\t\t\t.then( function ( res ) {\n\t\t\t\t\treturn res.json();\n\t\t\t\t} )\n\t\t\t\t.then( function ( data ) {\n\t\t\t\t\tif ( ! data.success ) {\n\t\t\t\t\t\tspinner.unblock();\n\t\t\t\t\t\t//handle both messages sent from Woocommerce (data.messages) and this plugin (data.data.message)\n\t\t\t\t\t\tif ( typeof data.messages !== 'undefined' ) {\n\t\t\t\t\t\t\tconst domParser = new DOMParser();\n\t\t\t\t\t\t\terrorHandler.appendPreparedErrorMessageElement(\n\t\t\t\t\t\t\t\tdomParser\n\t\t\t\t\t\t\t\t\t.parseFromString(\n\t\t\t\t\t\t\t\t\t\tdata.messages,\n\t\t\t\t\t\t\t\t\t\t'text/html'\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t.querySelector( 'ul' )\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\terrorHandler.clear();\n\n\t\t\t\t\t\t\tif ( data.data.refresh ) {\n\t\t\t\t\t\t\t\tjQuery( document.body ).trigger(\n\t\t\t\t\t\t\t\t\t'update_checkout'\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif ( data.data.errors?.length > 0 ) {\n\t\t\t\t\t\t\t\terrorHandler.messages( data.data.errors );\n\t\t\t\t\t\t\t} else if ( data.data.details?.length > 0 ) {\n\t\t\t\t\t\t\t\terrorHandler.message(\n\t\t\t\t\t\t\t\t\tdata.data.details\n\t\t\t\t\t\t\t\t\t\t.map(\n\t\t\t\t\t\t\t\t\t\t\t( d ) =>\n\t\t\t\t\t\t\t\t\t\t\t\t`${ d.issue } ${ d.description }`\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t.join( '<br/>' )\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\terrorHandler.message( data.data.message );\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// fire WC event for other plugins\n\t\t\t\t\t\t\tjQuery( document.body ).trigger( 'checkout_error', [\n\t\t\t\t\t\t\t\terrorHandler.currentHtml(),\n\t\t\t\t\t\t\t] );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tthrow { type: 'create-order-error', data: data.data };\n\t\t\t\t\t}\n\t\t\t\t\tconst input = document.createElement( 'input' );\n\t\t\t\t\tinput.setAttribute( 'type', 'hidden' );\n\t\t\t\t\tinput.setAttribute( 'name', 'ppcp-resume-order' );\n\t\t\t\t\tinput.setAttribute( 'value', data.data.custom_id );\n\t\t\t\t\tdocument.querySelector( formSelector ).appendChild( input );\n\t\t\t\t\treturn data.data.id;\n\t\t\t\t} );\n\t\t};\n\t\treturn {\n\t\t\tcreateOrder,\n\t\t\tonApprove: onApprove( this, this.errorHandler, this.spinner ),\n\t\t\tonCancel: () => {\n\t\t\t\tspinner.unblock();\n\t\t\t},\n\t\t\tonError: ( err ) => {\n\t\t\t\tconsole.error( err );\n\t\t\t\tspinner.unblock();\n\n\t\t\t\tif ( err && err.type === 'create-order-error' ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tthis.errorHandler.genericError();\n\t\t\t},\n\t\t};\n\t}\n}\n\nexport default CheckoutActionHandler;\n","import Spinner from './Spinner';\nimport FormValidator from './FormValidator';\nimport ErrorHandler from '../ErrorHandler';\n\nconst validateCheckoutForm = function ( config ) {\n\treturn new Promise( async ( resolve, reject ) => {\n\t\ttry {\n\t\t\tconst spinner = new Spinner();\n\t\t\tconst errorHandler = new ErrorHandler(\n\t\t\t\tconfig.labels.error.generic,\n\t\t\t\tdocument.querySelector( '.woocommerce-notices-wrapper' )\n\t\t\t);\n\n\t\t\tconst formSelector =\n\t\t\t\tconfig.context === 'checkout'\n\t\t\t\t\t? 'form.checkout'\n\t\t\t\t\t: 'form#order_review';\n\t\t\tconst formValidator = config.early_checkout_validation_enabled\n\t\t\t\t? new FormValidator(\n\t\t\t\t\t\tconfig.ajax.validate_checkout.endpoint,\n\t\t\t\t\t\tconfig.ajax.validate_checkout.nonce\n\t\t\t\t )\n\t\t\t\t: null;\n\n\t\t\tif ( ! formValidator ) {\n\t\t\t\tresolve();\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tformValidator\n\t\t\t\t.validate( document.querySelector( formSelector ) )\n\t\t\t\t.then( ( errors ) => {\n\t\t\t\t\tif ( errors.length > 0 ) {\n\t\t\t\t\t\tspinner.unblock();\n\t\t\t\t\t\terrorHandler.clear();\n\t\t\t\t\t\terrorHandler.messages( errors );\n\n\t\t\t\t\t\t// fire WC event for other plugins\n\t\t\t\t\t\tjQuery( document.body ).trigger( 'checkout_error', [\n\t\t\t\t\t\t\terrorHandler.currentHtml(),\n\t\t\t\t\t\t] );\n\n\t\t\t\t\t\treject();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tresolve();\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t} catch ( error ) {\n\t\t\tconsole.error( error );\n\t\t\treject();\n\t\t}\n\t} );\n};\n\nexport default validateCheckoutForm;\n","import Spinner from '../../../../ppcp-button/resources/js/modules/Helper/Spinner';\nimport CheckoutActionHandler from '../../../../ppcp-button/resources/js/modules/ActionHandler/CheckoutActionHandler';\nimport BaseHandler from './BaseHandler';\n\nclass CheckoutHandler extends BaseHandler {\n\tactionHandler() {\n\t\treturn new CheckoutActionHandler(\n\t\t\tthis.ppcpConfig,\n\t\t\tthis.errorHandler(),\n\t\t\tnew Spinner()\n\t\t);\n\t}\n}\n\nexport default CheckoutHandler;\n","import BaseHandler from './BaseHandler';\n\nclass CartBlockHandler extends BaseHandler {}\n\nexport default CartBlockHandler;\n","import BaseHandler from './BaseHandler';\n\nclass CheckoutBlockHandler extends BaseHandler {}\n\nexport default CheckoutBlockHandler;\n","import BaseHandler from './BaseHandler';\n\nclass MiniCartHandler extends BaseHandler {}\n\nexport default MiniCartHandler;\n","import BaseHandler from './BaseHandler';\n\nclass PreviewHandler extends BaseHandler {\n\ttransactionInfo() {\n\t\t// We need to return something as ApplePay button initialization expects valid data.\n\t\treturn {\n\t\t\tcountryCode: 'US',\n\t\t\tcurrencyCode: 'USD',\n\t\t\ttotalPrice: '10.00',\n\t\t\ttotalPriceStatus: 'FINAL',\n\t\t};\n\t}\n\n\tcreateOrder() {\n\t\tthrow new Error( 'Create order fail. This is just a preview.' );\n\t}\n\n\tapproveOrder() {\n\t\tthrow new Error( 'Approve order fail. This is just a preview.' );\n\t}\n\n\tactionHandler() {\n\t\tthrow new Error( 'Action handler fail. This is just a preview.' );\n\t}\n\n\terrorHandler() {\n\t\tthrow new Error( 'Error handler fail. This is just a preview.' );\n\t}\n}\n\nexport default PreviewHandler;\n","import Spinner from '../../../../ppcp-button/resources/js/modules/Helper/Spinner';\nimport BaseHandler from './BaseHandler';\nimport CheckoutActionHandler from '../../../../ppcp-button/resources/js/modules/ActionHandler/CheckoutActionHandler';\n\nclass PayNowHandler extends BaseHandler {\n\tvalidateContext() {\n\t\tif ( this.ppcpConfig?.locations_with_subscription_product?.payorder ) {\n\t\t\treturn this.isVaultV3Mode();\n\t\t}\n\t\treturn true;\n\t}\n\n\ttransactionInfo() {\n\t\treturn new Promise( async ( resolve, reject ) => {\n\t\t\tconst data = this.ppcpConfig.pay_now;\n\n\t\t\tresolve( {\n\t\t\t\tcountryCode: data.country_code,\n\t\t\t\tcurrencyCode: data.currency_code,\n\t\t\t\ttotalPriceStatus: 'FINAL',\n\t\t\t\ttotalPrice: data.total_str,\n\t\t\t} );\n\t\t} );\n\t}\n\n\tactionHandler() {\n\t\treturn new CheckoutActionHandler(\n\t\t\tthis.ppcpConfig,\n\t\t\tthis.errorHandler(),\n\t\t\tnew Spinner()\n\t\t);\n\t}\n}\n\nexport default PayNowHandler;\n","import SingleProductHandler from './SingleProductHandler';\nimport CartHandler from './CartHandler';\nimport CheckoutHandler from './CheckoutHandler';\nimport CartBlockHandler from './CartBlockHandler';\nimport CheckoutBlockHandler from './CheckoutBlockHandler';\nimport MiniCartHandler from './MiniCartHandler';\nimport PreviewHandler from './PreviewHandler';\nimport PayNowHandler from './PayNowHandler';\n\nclass ContextHandlerFactory {\n\tstatic create( context, buttonConfig, ppcpConfig ) {\n\t\tswitch ( context ) {\n\t\t\tcase 'product':\n\t\t\t\treturn new SingleProductHandler( buttonConfig, ppcpConfig );\n\t\t\tcase 'cart':\n\t\t\t\treturn new CartHandler( buttonConfig, ppcpConfig );\n\t\t\tcase 'checkout':\n\t\t\t\treturn new CheckoutHandler( buttonConfig, ppcpConfig );\n\t\t\tcase 'pay-now':\n\t\t\t\treturn new PayNowHandler( buttonConfig, ppcpConfig );\n\t\t\tcase 'mini-cart':\n\t\t\t\treturn new MiniCartHandler( buttonConfig, ppcpConfig );\n\t\t\tcase 'cart-block':\n\t\t\t\treturn new CartBlockHandler( buttonConfig, ppcpConfig );\n\t\t\tcase 'checkout-block':\n\t\t\t\treturn new CheckoutBlockHandler( buttonConfig, ppcpConfig );\n\t\t\tcase 'preview':\n\t\t\t\treturn new PreviewHandler( buttonConfig, ppcpConfig );\n\t\t}\n\t}\n}\n\nexport default ContextHandlerFactory;\n","import buttonModuleWatcher from '../../../ppcp-button/resources/js/modules/ButtonModuleWatcher';\nimport ApplePayButton from './ApplepayButton';\nimport ContextHandlerFactory from './Context/ContextHandlerFactory';\n\nclass ApplePayManager {\n\t#namespace = '';\n\t#buttonConfig = null;\n\t#ppcpConfig = null;\n\t#applePayConfig = null;\n\t#contextHandler = null;\n\t#transactionInfo = null;\n\t#buttons = [];\n\n\tconstructor( namespace, buttonConfig, ppcpConfig ) {\n\t\tthis.#namespace = namespace;\n\t\tthis.#buttonConfig = buttonConfig;\n\t\tthis.#ppcpConfig = ppcpConfig;\n\n\t\tthis.onContextBootstrap = this.onContextBootstrap.bind( this );\n\t\tbuttonModuleWatcher.watchContextBootstrap( this.onContextBootstrap );\n\t}\n\n\tasync onContextBootstrap( bootstrap ) {\n\t\tthis.#contextHandler = ContextHandlerFactory.create(\n\t\t\tbootstrap.context,\n\t\t\tthis.#buttonConfig,\n\t\t\tthis.#ppcpConfig,\n\t\t\tbootstrap.handler\n\t\t);\n\n\t\tconst button = ApplePayButton.createButton(\n\t\t\tbootstrap.context,\n\t\t\tbootstrap.handler,\n\t\t\tthis.#buttonConfig,\n\t\t\tthis.#ppcpConfig,\n\t\t\tthis.#contextHandler\n\t\t);\n\n\t\tthis.#buttons.push( button );\n\n\t\t// Ensure ApplePayConfig is loaded before proceeding.\n\t\tawait this.init();\n\n\t\tbutton.configure( this.#applePayConfig, this.#transactionInfo );\n\t\tbutton.init();\n\t}\n\n\tasync init() {\n\t\ttry {\n\t\t\tif ( ! this.#applePayConfig ) {\n\t\t\t\tthis.#applePayConfig = await window[ this.#namespace ]\n\t\t\t\t\t.Applepay()\n\t\t\t\t\t.config();\n\n\t\t\t\tif ( ! this.#applePayConfig ) {\n\t\t\t\t\tconsole.error( 'No ApplePayConfig received during init' );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( ! this.#transactionInfo ) {\n\t\t\t\tthis.#transactionInfo = await this.fetchTransactionInfo();\n\n\t\t\t\tif ( ! this.#applePayConfig ) {\n\t\t\t\t\tconsole.error( 'No transactionInfo found during init' );\n\t\t\t\t}\n\t\t\t}\n\t\t} catch ( error ) {\n\t\t\tconsole.error( 'Error during initialization:', error );\n\t\t}\n\t}\n\n\tasync fetchTransactionInfo() {\n\t\ttry {\n\t\t\tif ( ! this.#contextHandler ) {\n\t\t\t\tthrow new Error( 'ContextHandler is not initialized' );\n\t\t\t}\n\t\t\treturn await this.#contextHandler.transactionInfo();\n\t\t} catch ( error ) {\n\t\t\tconsole.error( 'Error fetching transaction info:', error );\n\t\t\tthrow error;\n\t\t}\n\t}\n\n\treinit() {\n\t\tfor ( const button of this.#buttons ) {\n\t\t\tbutton.reinit();\n\t\t}\n\t}\n}\n\nexport default ApplePayManager;\n","import { loadCustomScript } from '@paypal/paypal-js';\nimport { loadPayPalScript } from '../../../ppcp-button/resources/js/modules/Helper/PayPalScriptLoading';\nimport ApplePayManager from './ApplepayManager';\nimport { setupButtonEvents } from '../../../ppcp-button/resources/js/modules/Helper/ButtonRefreshHelper';\n\n( function ( { buttonConfig, ppcpConfig } ) {\n\tconst namespace = 'ppcpPaypalApplepay';\n\n\tfunction bootstrapPayButton() {\n\t\tif ( ! buttonConfig || ! ppcpConfig ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst manager = new ApplePayManager(\n\t\t\tnamespace,\n\t\t\tbuttonConfig,\n\t\t\tppcpConfig\n\t\t);\n\n\t\tsetupButtonEvents( function () {\n\t\t\tmanager.reinit();\n\t\t} );\n\t}\n\n\tfunction bootstrap() {\n\t\tbootstrapPayButton();\n\t\t// Other Apple Pay bootstrapping could happen here.\n\t}\n\n\tdocument.addEventListener( 'DOMContentLoaded', () => {\n\t\tif ( ! buttonConfig || ! ppcpConfig ) {\n\t\t\t/*\n\t\t\t * No PayPal buttons present on this page, but maybe a bootstrap module needs to be\n\t\t\t * initialized. Skip loading the SDK or gateway configuration, and directly initialize\n\t\t\t * the module.\n\t\t\t */\n\t\t\tbootstrap();\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst usedInMiniCart = ppcpConfig.mini_cart_buttons_enabled;\n\t\tconst pageHasButton =\n\t\t\tnull !== document.getElementById( buttonConfig.button.wrapper );\n\n\t\t// If button wrapper is not present then there is no need to load the scripts.\n\t\t// minicart loads later?\n\t\tif ( ! usedInMiniCart && ! pageHasButton ) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet bootstrapped = false;\n\t\tlet paypalLoaded = false;\n\t\tlet applePayLoaded = false;\n\n\t\tconst tryToBoot = () => {\n\t\t\tif ( ! bootstrapped && paypalLoaded && applePayLoaded ) {\n\t\t\t\tbootstrapped = true;\n\t\t\t\tbootstrap();\n\t\t\t}\n\t\t};\n\n\t\t// Load ApplePay SDK\n\t\tloadCustomScript( { url: buttonConfig.sdk_url } ).then( () => {\n\t\t\tapplePayLoaded = true;\n\t\t\ttryToBoot();\n\t\t} );\n\n\t\t// Load PayPal\n\t\tloadPayPalScript( namespace, ppcpConfig )\n\t\t\t.then( () => {\n\t\t\t\tpaypalLoaded = true;\n\t\t\t\ttryToBoot();\n\t\t\t} )\n\t\t\t.catch( ( error ) => {\n\t\t\t\tconsole.error( 'Failed to load PayPal script: ', error );\n\t\t\t} );\n\t} );\n} )( {\n\tbuttonConfig: window.wc_ppcp_applepay,\n\tppcpConfig: window.PayPalCommerceGateway,\n} );\n","import { debounce } from '../../../../../ppcp-blocks/resources/js/Helper/debounce';\n\nconst REFRESH_BUTTON_EVENT = 'ppcp_refresh_payment_buttons';\n\n/**\n * Triggers a refresh of the payment buttons.\n * This function dispatches a custom event that the button components listen for.\n *\n * Use this function on the front-end to update payment buttons after the checkout form was updated.\n */\nexport function refreshButtons() {\n\tdocument.dispatchEvent( new Event( REFRESH_BUTTON_EVENT ) );\n}\n\n/**\n * Sets up event listeners for various cart and checkout update events.\n * When these events occur, it triggers a refresh of the payment buttons.\n *\n * @param {Function} refresh - Callback responsible to re-render the payment button.\n */\nexport function setupButtonEvents( refresh ) {\n\tconst miniCartInitDelay = 1000;\n\tconst debouncedRefresh = debounce( refresh, 50 );\n\n\t// Listen for our custom refresh event.\n\tdocument.addEventListener( REFRESH_BUTTON_EVENT, debouncedRefresh );\n\n\t// Listen for cart and checkout update events.\n\t// Note: we need jQuery here, because WooCommerce uses jQuery.trigger() to dispatch the events.\n\twindow\n\t\t.jQuery( 'body' )\n\t\t.on( 'updated_cart_totals', debouncedRefresh )\n\t\t.on( 'updated_checkout', debouncedRefresh );\n\n\t// Use setTimeout for fragment events to avoid unnecessary refresh on initial render.\n\tsetTimeout( () => {\n\t\tdocument.body.addEventListener(\n\t\t\t'wc_fragments_loaded',\n\t\t\tdebouncedRefresh\n\t\t);\n\t\tdocument.body.addEventListener(\n\t\t\t'wc_fragments_refreshed',\n\t\t\tdebouncedRefresh\n\t\t);\n\t}, miniCartInitDelay );\n}\n","export const debounce = ( callback, delayMs ) => {\n\tconst state = {\n\t\ttimeoutId: null,\n\t\targs: null,\n\t};\n\n\t/**\n\t * Cancels any pending debounced execution.\n\t */\n\tconst cancel = () => {\n\t\tif ( state.timeoutId ) {\n\t\t\twindow.clearTimeout( state.timeoutId );\n\t\t}\n\n\t\tstate.timeoutId = null;\n\t\tstate.args = null;\n\t};\n\n\t/**\n\t * Immediately executes the debounced function if there's a pending execution.\n\t * @return {void}\n\t */\n\tconst flush = () => {\n\t\t// If there's nothing pending, return early.\n\t\tif ( ! state.timeoutId ) {\n\t\t\treturn;\n\t\t}\n\n\t\tcallback.apply( null, state.args || [] );\n\t\tcancel();\n\t};\n\n\tconst debouncedFunc = ( ...args ) => {\n\t\tcancel();\n\t\tstate.args = args;\n\t\tstate.timeoutId = window.setTimeout( flush, delayMs );\n\t};\n\n\t// Attach utility methods\n\tdebouncedFunc.cancel = cancel;\n\tdebouncedFunc.flush = flush;\n\n\treturn debouncedFunc;\n};\n"],"names":["isMergeableObject","value","isNonNullObject","stringValue","Object","prototype","toString","call","$$typeof","REACT_ELEMENT_TYPE","isReactElement","isSpecial","Symbol","for","cloneUnlessOtherwiseSpecified","options","clone","deepmerge","val","Array","isArray","defaultArrayMerge","target","source","concat","map","element","getKeys","keys","getOwnPropertySymbols","filter","symbol","propertyIsEnumerable","getEnumerableOwnPropertySymbols","propertyIsOnObject","object","property","_","arrayMerge","sourceIsArray","destination","forEach","key","hasOwnProperty","propertyIsUnsafe","customMerge","getMergeFunction","mergeObject","all","array","Error","reduce","prev","next","deepmerge_1","module","exports","isCallable","tryToString","$TypeError","TypeError","argument","isConstructor","isPossiblePrototype","$String","String","wellKnownSymbol","create","defineProperty","UNSCOPABLES","ArrayPrototype","undefined","configurable","isPrototypeOf","it","Prototype","isObject","fails","ArrayBuffer","buffer","isExtensible","$forEach","STRICT_METHOD","arrayMethodIsStrict","callbackfn","this","arguments","length","bind","toObject","callWithSafeIterationClosing","isArrayIteratorMethod","lengthOfArrayLike","createProperty","getIterator","getIteratorMethod","$Array","arrayLike","O","IS_CONSTRUCTOR","argumentsLength","mapfn","mapping","result","step","iterator","iteratorMethod","index","done","toIndexedObject","toAbsoluteIndex","createMethod","IS_INCLUDES","$this","el","fromIndex","includes","indexOf","uncurryThis","IndexedObject","arraySpeciesCreate","push","TYPE","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","that","specificCreate","self","boundFunction","some","every","find","findIndex","filterReject","V8_VERSION","SPECIES","METHOD_NAME","constructor","foo","Boolean","method","DESCRIPTORS","getOwnPropertyDescriptor","SILENT_ON_NON_WRITABLE_LENGTH_SET","writable","error","slice","arraySlice","floor","Math","sort","comparefn","j","i","middle","left","right","llength","rlength","lindex","rindex","originalArray","C","arraySpeciesConstructor","anObject","iteratorClose","fn","ENTRIES","ITERATOR","SAFE_CLOSING","called","iteratorWithReturn","from","exec","SKIP_CLOSING","ITERATION_SUPPORT","stringSlice","TO_STRING_TAG_SUPPORT","classofRaw","TO_STRING_TAG","$Object","CORRECT_ARGUMENTS","tag","tryGet","callee","defineBuiltIns","getWeakData","anInstance","isNullOrUndefined","iterate","ArrayIterationModule","hasOwn","InternalStateModule","setInternalState","set","internalStateGetterFor","getterFor","splice","id","uncaughtFrozenStore","state","frozen","UncaughtFrozenStore","entries","findUncaughtFrozen","store","get","entry","has","getConstructor","wrapper","CONSTRUCTOR_NAME","ADDER","Constructor","iterable","type","AS_ENTRIES","getInternalState","define","data","add","$","globalThis","isForced","defineBuiltIn","InternalMetadataModule","checkCorrectnessOfIteration","setToStringTag","inheritIfRequired","common","IS_WEAK","NativeConstructor","NativePrototype","exported","fixMethod","KEY","uncurriedNativeMethod","enable","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","dummy","clear","global","forced","setStrong","ownKeys","getOwnPropertyDescriptorModule","definePropertyModule","exceptions","f","F","getPrototypeOf","createPropertyDescriptor","bitmap","enumerable","ordinaryToPrimitive","hint","makeBuiltIn","name","descriptor","getter","setter","defineGlobalProperty","simple","unsafe","nonConfigurable","nonWritable","src","P","document","EXISTS","createElement","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","classList","documentCreateElement","DOMTokenListPrototype","firefox","match","UA","test","userAgent","Pebble","ENVIRONMENT","navigator","version","process","Deno","versions","v8","split","webkit","classof","userAgentStartsWith","string","Bun","window","$Error","replace","TEST","stack","V8_OR_CHAKRA_STACK_ENTRY","IS_V8_OR_CHAKRA_STACK","dropEntries","prepareStackTrace","createNonEnumerableProperty","clearErrorStack","ERROR_STACK_INSTALLABLE","captureStackTrace","copyConstructorProperties","targetProperty","sourceProperty","TARGET","GLOBAL","STATIC","stat","dontCallGetSet","sham","preventExtensions","NATIVE_BIND","FunctionPrototype","Function","apply","Reflect","aCallable","$Function","join","factories","partArgs","args","argsLength","list","construct","getDescriptor","PROPER","CONFIGURABLE","uncurryThisWithBind","namespace","obj","getMethod","Iterators","usingIterator","replacer","rawLength","keysLength","root","V","func","check","g","a","b","console","getBuiltIn","setPrototypeOf","Wrapper","NewTarget","NewTargetPrototype","functionToString","inspectSource","cause","hiddenKeys","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","uid","FREEZING","REQUIRED","METADATA","setMetadata","objectID","weakData","meta","getOwnPropertyNames","fastKey","onFreeze","NATIVE_WEAK_MAP","shared","sharedKey","OBJECT_ALREADY_INITIALIZED","WeakMap","metadata","facade","STATE","enforce","documentAll","noop","constructorRegExp","INCORRECT_TO_STRING","isConstructorModern","isConstructorLegacy","replacement","feature","detection","normalize","POLYFILL","NATIVE","toLowerCase","USE_SYMBOL_AS_UID","$Symbol","Result","stopped","ResultPrototype","unboundFunction","iterFn","IS_RECORD","IS_ITERATOR","INTERRUPTED","stop","condition","callFn","kind","innerResult","innerError","IteratorPrototype","returnThis","IteratorConstructor","NAME","ENUMERABLE_NEXT","IS_PURE","FunctionName","createIteratorConstructor","IteratorsCore","PROPER_FUNCTION_NAME","CONFIGURABLE_FUNCTION_NAME","BUGGY_SAFARI_ITERATORS","KEYS","VALUES","Iterable","DEFAULT","IS_SET","FORCED","CurrentIteratorPrototype","methods","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","values","proto","PrototypeOfArrayIteratorPrototype","arrayIterator","toLength","enforceInternalState","CONFIGURABLE_LENGTH","TEMPLATE","arity","ceil","trunc","x","n","notify","toggle","node","promise","then","safeGetBuiltIn","macrotask","Queue","IS_IOS","IS_IOS_PEBBLE","IS_WEBOS_WEBKIT","IS_NODE","MutationObserver","WebKitMutationObserver","Promise","microtask","queue","flush","parent","domain","exit","head","enter","resolve","nextTick","createTextNode","observe","characterData","PromiseCapability","reject","$$resolve","$$reject","$default","objectKeys","getOwnPropertySymbolsModule","propertyIsEnumerableModule","$assign","assign","A","B","alphabet","chr","T","S","activeXDocument","definePropertiesModule","enumBugKeys","html","PROTOTYPE","SCRIPT","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObjectViaActiveX","write","close","temp","parentWindow","NullProtoObject","ActiveXObject","iframeDocument","iframe","JS","style","display","appendChild","contentWindow","open","Properties","V8_PROTOTYPE_DEFINE_BUG","defineProperties","props","IE8_DOM_DEFINE","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","current","$getOwnPropertyNames","windowNames","getWindowNames","internalObjectKeys","CORRECT_PROTOTYPE_GETTER","ObjectPrototype","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","names","$propertyIsEnumerable","NASHORN_BUG","uncurryThisAccessor","requireObjectCoercible","aPossiblePrototype","CORRECT_SETTER","__proto__","input","pref","valueOf","NativePromiseConstructor","NativePromisePrototype","SUBCLASSING","NATIVE_PROMISE_REJECTION_EVENT","PromiseRejectionEvent","FORCED_PROMISE_CONSTRUCTOR","PROMISE_CONSTRUCTOR_SOURCE","GLOBAL_CORE_JS_PROMISE","FakePromise","CONSTRUCTOR","REJECTION_EVENT","newPromiseCapability","promiseCapability","Target","Source","tail","item","re1","re2","regexpFlags","stickyHelpers","UNSUPPORTED_DOT_ALL","UNSUPPORTED_NCG","nativeReplace","nativeExec","RegExp","patchedExec","charAt","UPDATES_LAST_INDEX_WRONG","lastIndex","UNSUPPORTED_Y","BROKEN_CARET","NPCG_INCLUDED","reCopy","group","re","str","raw","groups","sticky","flags","charsAdded","strCopy","multiline","hasIndices","ignoreCase","dotAll","unicode","unicodeSets","regExpFlags","RegExpPrototype","R","$RegExp","MISSED_STICKY","defineBuiltInAccessor","TAG","SHARED","mode","copyright","license","aConstructor","defaultConstructor","toIntegerOrInfinity","charCodeAt","CONVERT_TO_STRING","pos","first","second","position","size","codeAt","whitespaces","ltrim","rtrim","start","end","trim","SymbolPrototype","TO_PRIMITIVE","NATIVE_SYMBOL","keyFor","$location","defer","channel","port","validateArgumentsLength","setImmediate","clearImmediate","Dispatch","MessageChannel","counter","ONREADYSTATECHANGE","location","run","runner","eventListener","event","globalPostMessageDefer","postMessage","protocol","host","handler","now","port2","port1","onmessage","addEventListener","importScripts","removeChild","setTimeout","max","min","integer","number","len","isSymbol","exoticToPrim","toPrimitive","postfix","random","url","URL","params","searchParams","params2","URLSearchParams","pathname","toJSON","href","username","hash","passed","required","path","wrappedWellKnownSymbolModule","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","proxyAccessor","normalizeStringArgument","installErrorCause","installErrorStack","FULL_NAME","IS_AGGREGATE_ERROR","STACK_TRACE_LIMIT","OPTIONS_POSITION","ERROR_NAME","OriginalError","OriginalErrorPrototype","BaseError","WrappedError","message","doesNotExceedSafeInteger","arrayMethodHasSpeciesSupport","IS_CONCAT_SPREADABLE","IS_CONCAT_SPREADABLE_SUPPORT","isConcatSpreadable","spreadable","arg","k","E","$indexOf","nativeIndexOf","NEGATIVE_ZERO","searchElement","addToUnscopables","defineIterator","createIterResultObject","ARRAY_ITERATOR","iterated","Arguments","setArrayLength","properErrorOnNonWritableLength","argCount","nativeReverse","reverse","nativeSlice","HAS_SPECIES_SUPPORT","fin","deletePropertyOrThrow","internalSort","FF","IE_OR_EDGE","V8","WEBKIT","nativeSort","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STABLE_SORT","code","fromCharCode","v","itemsLength","items","arrayLength","y","getSortCompare","Date","NaN","toISOString","pv","isFinite","dateToPrimitive","DatePrototype","wrapErrorConstructorWithCause","WEB_ASSEMBLY","WebAssembly","exportGlobalErrorCauseWrapper","exportWebAssemblyErrorCauseWrapper","init","NativeIterator","defineIteratorPrototypeAccessor","Iterator","getIteratorDirect","real","record","getReplacerFunction","$stringify","numberToString","tester","low","hi","WRONG_SYMBOLS_CONVERSION","ILL_FORMED_UNICODE","stringifyWithSymbolsFix","$replacer","fixIllFormed","offset","stringify","space","JSON","thisNumberValue","NUMBER","NativeNumber","PureNumberNamespace","NumberPrototype","NumberWrapper","primValue","third","radix","maxCode","digits","parseInt","toNumber","toNumeric","wrap","Number","fromEntries","nativeGetOwnPropertyDescriptor","$getOwnPropertySymbols","nativeGetPrototypeOf","nativeKeys","newPromiseCapabilityModule","perform","capability","$promiseResolve","remaining","alreadyCalled","onRejected","Internal","OwnPromiseCapability","nativeThen","setSpecies","speciesConstructor","task","hostReportErrors","PromiseConstructorDetection","PROMISE","NATIVE_PROMISE_SUBCLASSING","getInternalPromiseState","PromiseConstructor","PromisePrototype","newGenericPromiseCapability","DISPATCH_EVENT","createEvent","dispatchEvent","UNHANDLED_REJECTION","isThenable","callReaction","reaction","exited","ok","fail","rejection","onHandleUnhandled","isReject","notified","reactions","onUnhandled","reason","initEvent","isUnhandled","emit","unwrap","internalReject","internalResolve","executor","onFulfilled","PromiseWrapper","race","r","capabilityReject","promiseResolve","PromiseConstructorWrapper","CHECK_WRAPPER","nativeConstruct","NEW_TARGET_BUG","ARGS_BUG","newTarget","$args","isDataDescriptor","propertyKey","receiver","execCalled","DELEGATES_TO_EXEC","nativeTest","$toString","getRegExpFlags","TO_STRING","nativeToString","NOT_GENERIC","INCORRECT_NAME","$RangeError","RangeError","$fromCodePoint","fromCodePoint","elements","STRING_ITERATOR","point","defineWellKnownSymbol","nativeObjectCreate","getOwnPropertyNamesExternal","defineSymbolToPrimitive","HIDDEN","SYMBOL","QObject","nativeDefineProperty","nativeGetOwnPropertyNames","nativePropertyIsEnumerable","AllSymbols","ObjectPrototypeSymbols","USE_SETTER","findChild","fallbackDefineProperty","ObjectPrototypeDescriptor","setSymbolDescriptor","description","$defineProperties","properties","IS_OBJECT_PROTOTYPE","useSetter","useSimple","NativeSymbol","EmptyStringDescriptionStore","SymbolWrapper","thisSymbolValue","symbolDescriptiveString","regexp","desc","NATIVE_SYMBOL_REGISTRY","StringToSymbolRegistry","SymbolToStringRegistry","sym","InternalWeakMap","collection","collectionWeak","isFrozen","isSealed","freeze","seal","IS_IE11","$WeakMap","WeakMapPrototype","nativeSet","nativeDelete","nativeHas","nativeGet","frozenArray","arrayIntegrityLevel","DOMIterables","handlePrototype","CollectionPrototype","COLLECTION_NAME","ArrayIteratorMethods","ArrayValues","USE_NATIVE_URL","arraySort","URL_SEARCH_PARAMS","URL_SEARCH_PARAMS_ITERATOR","getInternalParamsState","getInternalIteratorState","nativeFetch","NativeRequest","Headers","RequestPrototype","HeadersPrototype","encodeURIComponent","$parseInt","shift","plus","VALID_HEX","parseHexOctet","substr","getLeadingOnes","octet","count","mask","utf8Decode","octets","codePoint","decode","decodedChar","byteSequenceLength","sequenceIndex","nextByte","replacements","serialize","URLSearchParamsIterator","URLSearchParamsState","parseObject","parseQuery","bindURL","update","entryIterator","entryNext","query","attribute","attributes","updateURL","URLSearchParamsConstructor","URLSearchParamsPrototype","append","$value","getAll","found","callback","headersHas","headersSet","wrapRequestOptions","headers","body","fetch","RequestConstructor","Request","getState","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","loadCustomScript","PromisePonyfill","validateArguments","_a","onSuccess","onError","newScript","defaultError","response","status","text","parseMessage","originalErrorText","parseErrorMessage","catch","err","setAttribute","createScriptElement","onerror","onload","insertBefore","firstElementChild","sdkBaseUrl","queryString","optionsWithStringIndex","accumulator","indexOfMatch","substring","dataAttributes","queryParams","existingWindowNamespace","currentScript","querySelector","nextScript","currentScriptClone","cloneNode","dataset","uidAuto","isExactMatch","newWindowNamespace","__esModule","d","definition","o","e","prop","dataClientIdAttributeHandler","scriptOptions","config","errorCallback","endpoint","credentials","nonce","res","json","token","validateToken","user","getTime","expiration","sessionStorage","setItem","loadScript","paypal","widgetBuilder","buttons","Map","messages","renderEventName","ppcpWidgetBuilderStatus","log","jQuery","off","on","renderAll","setPaypal","trigger","registerButtons","sanitizeWrapper","toKey","renderButtons","hasRendered","btn","Buttons","isEligible","delete","buildWrapperTarget","render","renderAllButtons","registerMessages","renderMessages","amount","Messages","renderAllMessages","selector","hasChildNodes","$wrapper","itemClass","$item","randomUUID","crypto","getRandomValues","rnds8","Uint8Array","rng","byteToHex","buf","rnds","arr","unsafeStringify","processConfig","output","toUpperCase","keysToCamelCase","url_params","script_attributes","merge","axoOptions","sdkClientToken","axo","sdk_client_token","uuid","uuidv4","processAxoConfig","userIdTokenOptions","processUserIdToken","userIdToken","save_payment_methods","id_token","loadedScripts","scriptPromises","ppcpResources","ButtonModuleWatcher","contextBootstrapRegistry","contextBootstrapWatchers","watchContextBootstrap","callable","registerContextBootstrap","context","createAppleErrors","errors","_step","errorList","_iterator","_createForOfIteratorHelper","s","_error$contactField","contactField","_error$code","_error$message","appleError","ApplePayError","FormValidator","validate","form","formData","FormData","form_encoded","success","refresh","genericErrorText","genericError","appendPreparedErrorMessageElement","errorMessageElement","_getMessageContainer","replaceWith","_addMessage","_scrollToMessages","texts","t","currentHtml","outerHTML","messageContainer","messageNode","_prepareMessageElement","scroll_to_notices","prepend","li","innerHTML","remove","ConsoleLogger","prefixes","enabled","label","groupEnd","ApmButtons","selectorInContainer","containers","reloadContainers","resize","ev","observeElementsCallback","childList","subtree","mutationsList","observer","observeSelector","shouldReload","mutation","addedNodes","matches","each","$el","is","container","$container","width","removeClass","addClass","$firstElement","children","css","height","margin","round","PaymentMethods","PaymentContext","Cart","Checkout","BlockCart","BlockCheckout","Product","MiniCart","PayNow","Preview","Blocks","Gateways","getCurrentPaymentMethod","ButtonEvents","INVALIDATE","RENDER","REDRAW","isValidButtonEvent","observeButtonEvent","paymentMethod","fullEventName","getElement","selectorOrElement","PaymentButton","static","createButton","externalHandler","buttonConfig","ppcpConfig","contextHandler","buttonInstances","getInstances","collectionKey","instanceKey","methodId","button","getWrappers","getStyles","isDebugging","is_debug","methodName","addToDebuggingCollection","ppcpPaymentButtonList","applyButtonStyles","registerValidationRules","apmButtonsInit","ppcpApmButtons","initEventListeners","cssClass","isInitialized","requiresShipping","shippingAllowed","wrappers","Default","wrapperId","isSeparateGateway","Gateway","Block","isInsideClassicGateway","is_wc_gateway_enabled","isCurrentGateway","currentMethod","isPreview","newState","triggerRedraw","isVisible","isEnabled","wrapperElement","getElementById","ppcpButtonWrapperSelector","mini_cart_wrapper","isPresent","HTMLElement","isButtonAttached","parentElement","tagName","logGroup","errorMessage","shouldPass","invalidIf","validIf","validateConfiguration","silent","configure","reinit","showPaymentGateway","Event","dispatchButtonEvent","syncProductButtonsState","ppcpButton","offsetWidth","offsetHeight","getClientRects","hasClass","isDisabled","parentMethod","applyWrapperStyles","addButton","styleSelector","wrapperSelector","paymentMethodLi","querySelectorAll","shape","classItem","newClasses","setEnabled","triggerEnabled","action","stopImmediatePropagation","$form","triggerDisabled","insertButton","removeButton","Exception","_regeneratorRuntime","c","asyncIterator","u","toStringTag","Generator","Context","makeInvokeMethod","tryCatch","h","l","GeneratorFunction","GeneratorFunctionPrototype","p","defineIteratorMethods","_invoke","AsyncIterator","invoke","_typeof","__await","callInvokeWithMethodAndArg","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","resultName","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","isNaN","displayName","isGeneratorFunction","mark","awrap","async","pop","rval","handle","complete","finish","delegateYield","asyncGeneratorStep","_asyncToGenerator","_next","_throw","_defineProperties","_toPropertyKey","_isNativeReflectConstruct","_superPropGet","_get","_getPrototypeOf","_superPropBase","_setPrototypeOf","_classPrivateFieldInitSpec","_checkPrivateRedeclaration","_defineProperty","_toPrimitive","_classPrivateFieldGet","_assertClassBrand","_classPrivateFieldSet","_formData","_updatedContactInfo","_selectedShippingMethod","_initialPaymentRequest","_transactionInfo","_applePayConfig","_product","_ApplePayButton_brand","WeakSet","ApplePayButton","_PaymentButton","_this","_classCallCheck","ReferenceError","_assertThisInitialized","_possibleConstructorReturn","_callSuper","onPaymentAuthorized","onButtonClick","quantity","_inherits","_this$buttonConfig$pr","product","needShipping","shouldUpdateButtonWithFormData","newTransactionInfo","_this2","_this2$contextHandler","validateContext","apiConfig","transactionInfo","checkEligibility","_window$ApplePaySessi","ApplePaySession","canMakePayments","paymentRequest","session","onshippingmethodselected","onShippingMethodSelected","onshippingcontactselected","onShippingContactSelected","onvalidatemerchant","onValidateMerchant","onpaymentauthorized","begin","setProperty","_this3","_this$style","color","language","evt","preventDefault","_onButtonClick","_callee","checkoutFormSelector","errorHandler","formValidator","_context","ppcpFundingSource","ErrorHandler","PayPalCommerceGateway","labels","generic","updateRequestDataWithForm","applePaySession","early_checkout_validation_enabled","ajax","validate_checkout","abort","t0","_this$buttonConfig","preferences","checkout_data_mode","billingContact","fillBillingContact","shippingContact","fillShippingContact","rate","chosenShippingMethods","shippingMethods","shippingPackages","shippingPackage","shippingMethod","detail","cost_str","identifier","_step2","_iterator2","applepayConfig","baseRequest","countryCode","merchantCapabilities","supportedNetworks","requiredShippingContactFields","requiredBillingContactFields","shouldCompletePaymentWithContextHandler","currencyCode","shop","total","totalLabel","totalPrice","_document$querySelect","products","isValid","ajax_url","validation","_this4","applePayValidateMerchantEvent","Applepay","validateMerchant","validationUrl","validationURL","validateResult","completeMerchantValidation","merchantSession","adminValidation","validateError","_this5","ajaxUrl","getShippingMethodData","applePayShippingMethodUpdate","newShippingMethods","completeShippingMethodSelection","jqXHR","textStatus","errorThrown","warn","_this6","getShippingContactData","applePayShippingContactUpdate","completeShippingContactSelection","productId","refreshProductContextData","product_id","caller_page","product_quantity","simplified_contact","need_shipping","_classPrivateFieldGet2","_classPrivateFieldGet3","_classPrivateFieldGet4","_classPrivateFieldGet5","_classPrivateFieldGet6","_classPrivateFieldGet7","shipping_method","hasValidContactInfo","_this7","_ref","_callee3","processInWooAndCapture","confirmOrderResponse","approveFailed","authorizationResult","_context3","_ref2","_callee2","_context2","_this7$buttonConfig$p","billing_contact","shipping_contact","requestData","payment","funding_source","_wp_http_referer","paypal_order_id","_x2","createOrder","confirmOrder","orderId","approveApplePayPayment","approveOrder","orderID","restart","order","completePayment","STATUS_FAILURE","STATUS_SUCCESS","redirect","t1","_x","_extractContactInfo","shipping_first_name","_buttonConfig$button","_buttonConfig$button2","_ppcpConfig$button","defaultId","miniCartId","smartButtonId","blockId","gatewayId","sanitize","SmartButton","combineWrapperIds","_ref3","buttonStyle","lang","buttonStyles","mini_cart_style","combineStyles","primaryPrefix","fallbackPrefix","getValue","givenName","familyName","emailAddress","phoneNumber","addressLines","locality","postalCode","administrativeArea","variations","extra","booking","super","onApprove","actions","canCreateOrder","vaultingEnabled","paymentSource","payload","approve_order","order_id","should_create_wc_order","payer","approveData","orderReceivedUrl","order_received_url","FIELD_MAP","normalizePayerDetails","details","email_address","phone","surname","given_name","address","country_code","address_line_1","address_line_2","admin_area_1","admin_area_2","postal_code","payerData","_PpcpPayerSessionDetails","getElementValue","setNestedValue","phone_type","phone_number","national_number","getCheckoutBillingDetails","firstPayer","secondPayer","mergeNestedObjects","mergePayerDetails","cartItemKeys","getEndpoint","wc_cart_fragments_params","wc_ajax_url","addFromPurchaseUnits","purchaseUnits","purchaseUnit","cart_item_key","removeFromCart","numRequests","numResponses","tryToResolve","cartItemKey","FormHelper","getPrefixedFields","formElement","prefix","fields","startsWith","getFilteredFields","exactFilters","prefixFilters","counters","prefixFilter","updateCart","cartHelper","subscriptionsConfiguration","subscription_plan","createSubscription","subscription","plan_id","approve_subscription","subscription_id","subscriptionID","getSubscriptionProducts","change_cart","extraFields","configuration","refreshMiniCart","isBookingProduct","onCancel","cleanCart","getProducts","BookingProduct","isGroupedProduct","elementName","getAttribute","qty","purchase_units","CartHelper","bnCode","bn_codes","create_order","bn_code","payment_method","updateCartOptions","hasVariations","contains","simulate","onResolve","resolved","subscription_plan_id","BaseHandler","_this$ppcpConfig","_this$ppcpConfig2","_this$ppcpConfig3","data_client_id","paypal_subscriptions_enabled","can_save_vault_token","_this$ppcpConfig4","locations_with_subscription_product","cart","isVaultV3Mode","cart_script_params","separator","currency_code","totalPriceStatus","total_str","chosen_shipping_methods","shipping_packages","actionHandler","CartActionHandler","_BaseHandler","SingleProductHandler","SingleProductActionHandler","has_subscriptions","SimulateCart","simulate_cart","keepShipping","UpdateCart","CartHandler","setTarget","block","overlayCSS","background","opacity","unblock","w","m","q","D","G","H","J","throw","I","K","L","Blob","M","N","File","Q","XMLHttpRequest","send","U","sendBeacon","Element","W","lastModified","escape","X","disabled","files","selected","checked","_asNative","_blob","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","ownerDocument","Y","setRequestHeader","spinner","click","Spinner","formSelector","createaccount","fundingSource","savePaymentMethod","save_payment_method","domParser","DOMParser","parseFromString","issue","custom_id","CheckoutHandler","CheckoutActionHandler","CartBlockHandler","CheckoutBlockHandler","MiniCartHandler","PreviewHandler","PayNowHandler","payorder","pay_now","ContextHandlerFactory","_namespace","_buttonConfig","_ppcpConfig","_contextHandler","_buttons","ApplePayManager","onContextBootstrap","buttonModuleWatcher","_onContextBootstrap","bootstrap","_init","t2","t3","t4","t5","t6","fetchTransactionInfo","t7","t8","_fetchTransactionInfo","manager","debouncedRefresh","debounce","timeoutId","cancel","clearTimeout","debouncedFunc","setupButtonEvents","bootstrapPayButton","usedInMiniCart","mini_cart_buttons_enabled","pageHasButton","bootstrapped","paypalLoaded","applePayLoaded","tryToBoot","sdk_url","dataClientIdResult","set_attribute","vault_v3_enabled","handleDataClientIdAttribute","scriptPromise","script","finally","loadPayPalScript","wc_ppcp_applepay"],"sourceRoot":""}